mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Syntax errors resets the lexer right away
`DEF`, `REDEF`, etc disable EQUS expansion, and reading macro or OPT arguments sets the lexer to raw mode. Syntax errors resume normal parsing at the line's end, but should resume normal tokenization even before that.
This commit is contained in:
3
test/asm/syntax-error-lexer-mode.out
Normal file
3
test/asm/syntax-error-lexer-mode.out
Normal file
@@ -0,0 +1,3 @@
|
||||
x=1, y=2
|
||||
n=2
|
||||
q=2
|
||||
Reference in New Issue
Block a user