Correctly recover from syntax errors at the first token of a line (#1549)

This commit is contained in:
Sylvie
2024-10-22 15:01:44 -04:00
committed by GitHub
parent f048cbbb11
commit 7fcf4ba60f
5 changed files with 16 additions and 11 deletions

View File

@@ -6,4 +6,6 @@ error: macro-syntax.asm(8):
'\1' cannot be used outside of a macro
error: macro-syntax.asm(9):
syntax error, unexpected ENDM
error: Assembly aborted (4 errors)!
error: macro-syntax.asm(11):
"old" is not a macro
error: Assembly aborted (5 errors)!