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

@@ -28,4 +28,4 @@ ENDM
mac2 elif, 6 * 7 ; this prints "it's $2A" because it skips the `\1` line and takes the `else`
mac2 elif, 6 * 9
mac2 elif
mac2
mac2 ; this prints "args:" *and* "forty-two!" since it doesn't create an `elif`