Do not expand empty strings

Fixes #813
This commit is contained in:
Rangi
2021-03-31 10:21:04 -04:00
parent 49aac2961d
commit c7ed9a275e
5 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
test: MACRO
v equs "X"
X equs "" ; should not be expanded
\1
ENDM
test v 0

View File

@@ -0,0 +1,3 @@
ERROR: expand-empty-string.asm(6) -> expand-empty-string.asm::test(4):
syntax error, unexpected number
error: Assembly aborted (1 error)!

View File

View File

@@ -0,0 +1,3 @@
ERROR: expand-empty-string.asm(6) -> expand-empty-string.asm::test(4):
syntax error
error: Assembly aborted (1 error)!