mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Trim macro arg whitespace after line continuations
This commit is contained in:
19
test/asm/trimmed-macro-args.asm
Normal file
19
test/asm/trimmed-macro-args.asm
Normal file
@@ -0,0 +1,19 @@
|
||||
MACRO print_all
|
||||
REPT _NARG
|
||||
PRINTLN "{d:_NARG}: \"\1\""
|
||||
SHIFT
|
||||
ENDR
|
||||
ENDM
|
||||
|
||||
print_all a, \
|
||||
b \
|
||||
, c
|
||||
|
||||
DEF EMPTY equs ""
|
||||
print_all a, \
|
||||
{EMPTY} b \
|
||||
{EMPTY}, c
|
||||
|
||||
print_all a, \
|
||||
/* . */ b \
|
||||
/* . */, c
|
||||
Reference in New Issue
Block a user