mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Syntax error message hints to indent macro invocations
This message is only printed for identifiers parsed as `T_LABEL` (since they're at the start of a line) but already defined as macros. Otherwise it may not be relevant, e.g. for `MyLabel;:` or `My Label::`.
This commit is contained in:
@@ -2,8 +2,10 @@ ERROR: syntax-error-after-syntax-error.asm(6):
|
||||
syntax error
|
||||
ERROR: syntax-error-after-syntax-error.asm(7):
|
||||
syntax error
|
||||
To invoke `mac` as a macro it must be indented
|
||||
ERROR: syntax-error-after-syntax-error.asm(8):
|
||||
syntax error
|
||||
To invoke `mac` as a macro it must be indented
|
||||
ERROR: syntax-error-after-syntax-error.asm(9):
|
||||
'mac' already defined at syntax-error-after-syntax-error.asm(1)
|
||||
ERROR: syntax-error-after-syntax-error.asm(10):
|
||||
|
||||
Reference in New Issue
Block a user