Commit ca95cdb
fix(tokenizer): fix parsing of long strings with incomplete end sequences
When a long string or comment contained an incomplete end sequence immediately followed by the actual end sequence (e.g. `]=]==]`), the tokenizer would incorrectly consume part of the valid delimiter. This commit should fixed this.
Closes #4
Co-authored-by: XmiliaH <[email protected]>1 parent fc059a8 commit ca95cdb
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
373 | 376 | | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| |||
0 commit comments