tsc newline fix

This commit is contained in:
Alula 2022-02-12 09:18:32 +01:00
parent c82c65c39f
commit e109db81e6
No known key found for this signature in database
GPG Key ID: 3E00485503A1D8BA
1 changed files with 0 additions and 7 deletions

View File

@ -90,13 +90,6 @@ impl TextScript {
}
b'<' => {
allow_next_event = false;
if char_buf.len() > 2 {
if let Some(&c) = char_buf.last() {
if c == b'\n' {
let _ = char_buf.pop();
}
}
}
if !char_buf.is_empty() {
put_varint(TSCOpCode::_STR as i32, &mut bytecode);