mirror of
https://github.com/gbdev/rgbds.git
synced 2026-12-06 15:58:39 +00:00
Test macro args \0 and \<0>
This commit is contained in:
1 parent
96a0481cba
commit
ee3a93a442
3 files changed
+10
-3
No files matched your search
@@ -0,0 +1,5 @@
|
||||
MACRO m
|
||||
def x = \0
|
||||
def y = \<0> + 42
|
||||
ENDM
|
||||
m hello, world
|
||||
@@ -0,0 +1,5 @@
|
||||
error: macro-arg-0.asm(5) -> macro-arg-0.asm::m(2):
|
||||
Begun line continuation, but encountered character '0'
|
||||
error: macro-arg-0.asm(5) -> macro-arg-0.asm::m(3):
|
||||
Invalid bracketed macro argument '\<0>'
|
||||
error: Assembly aborted (2 errors)!
|
||||
Reference in new issue
Block a user