mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Only define @ and _NARG when they have values (#1073)
Fixes #1069 Co-authored-by: Eldred Habert <eldredhabert0@gmail.com>
This commit is contained in:
9
test/asm/undefined-builtins.err
Normal file
9
test/asm/undefined-builtins.err
Normal file
@@ -0,0 +1,9 @@
|
||||
error: undefined-builtins.asm(3):
|
||||
PC has no value outside a section
|
||||
error: undefined-builtins.asm(4):
|
||||
Interpolated symbol "@" does not exist
|
||||
error: undefined-builtins.asm(8):
|
||||
_NARG does not make sense outside of a macro
|
||||
error: undefined-builtins.asm(9):
|
||||
Interpolated symbol "_NARG" does not exist
|
||||
error: Assembly aborted (4 errors)!
|
||||
Reference in New Issue
Block a user