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:
Rangi
2021-04-20 11:51:01 -04:00
committed by Eldred Habert
parent 1aeaca2af6
commit e596dbfc80
13 changed files with 84 additions and 50 deletions

View File

@@ -9,7 +9,7 @@ m: macro
SHIFT
SHIFT
SHIFT 256
PRINTLN "\1"
PRINTLN "\1?"
endm
m This, used, not, to, work