mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
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.
This commit is contained in:
@@ -9,7 +9,7 @@ m: macro
|
||||
SHIFT
|
||||
SHIFT
|
||||
SHIFT 256
|
||||
PRINTLN "\1"
|
||||
PRINTLN "\1?"
|
||||
endm
|
||||
|
||||
m This, used, not, to, work
|
||||
|
||||
Reference in New Issue
Block a user