mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Expanding empty strings is valid but pointless;
macro args already skipped doing so, now other
`beginExpansion` calls do too.
This also fixes failed interpolations (which were
already non-fatal) to continue reading characters,
not evaluate to their initial '{' character.
16 lines
204 B
NASM
16 lines
204 B
NASM
m: macro
|
|
PRINT "\1 "
|
|
REPT 4
|
|
SHIFT
|
|
ENDR
|
|
PRINTLN "\1s!"
|
|
|
|
; Shifting a little more to check that over-shifting doesn't crash
|
|
SHIFT
|
|
SHIFT
|
|
SHIFT 256
|
|
PRINTLN "\1?"
|
|
endm
|
|
|
|
m This, used, not, to, work
|