mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +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
233 B
NASM
16 lines
233 B
NASM
warn_unique EQUS "WARN \"\\@!\""
|
|
|
|
m: macro
|
|
warn_unique
|
|
REPT 2
|
|
warn_unique
|
|
ENDR
|
|
warn_unique
|
|
endm
|
|
; TODO: Ideally we'd test now as well, but it'd cause a fatal error
|
|
;warn_unique
|
|
m
|
|
;warn_unique
|
|
m
|
|
warn_unique
|