Files
rgbds/test/asm/unique-id.asm
Rangi e596dbfc80 Make failed macro arg expansions non-fatal
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.
2021-04-22 09:59:02 +02:00

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