Only define @ and _NARG when they have values (#1073)

Fixes #1069

Co-authored-by: Eldred Habert <[email protected]>
This commit is contained in:
Rangi
2022-10-01 01:04:03 +02:00
committed by GitHub
co-authored by Eldred Habert
parent 140c6b169e
commit 08545643cf
16 changed files with 62 additions and 26 deletions
+9
View 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)!