mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
This was removed in b3c0db218d
(along with two unrelated changes).
Removing this hack introduced issue #742, whereby INCLUDing
a file without a trailing newline can cause a syntax error.
A more proper fix would involve Bison's tracking locations,
but for now the EOF-newline hack fixes the issue while only
affecting some reported errors (expecting "newline"
instead of "end of file").
Fixes #742
16 lines
692 B
Plaintext
16 lines
692 B
Plaintext
ERROR: code-after-endm-endr-endc.asm(6):
|
|
syntax error, unexpected PRINTLN, expecting newline
|
|
ERROR: code-after-endm-endr-endc.asm(7):
|
|
Macro "mac" not defined
|
|
ERROR: code-after-endm-endr-endc.asm(12):
|
|
syntax error, unexpected PRINTLN, expecting newline
|
|
ERROR: code-after-endm-endr-endc.asm(17):
|
|
syntax error, unexpected PRINTLN, expecting newline
|
|
ERROR: code-after-endm-endr-endc.asm(19):
|
|
syntax error, unexpected PRINTLN, expecting newline
|
|
ERROR: code-after-endm-endr-endc.asm(23):
|
|
syntax error, unexpected PRINTLN, expecting newline
|
|
ERROR: code-after-endm-endr-endc.asm(25):
|
|
syntax error, unexpected PRINTLN, expecting newline
|
|
error: Assembly aborted (7 errors)!
|