Remove dubious workaround in parse_unary().

The comment "eat first char of illegal label, else endless loop on
implied .WORD" was no longer true. It did reveal some other small
gotchas, which are corrected now as well.
This commit is contained in:
Olaf Seibert
2021-01-23 21:01:37 +01:00
parent c587587f49
commit e3042c9175
10 changed files with 105 additions and 38 deletions

View File

@@ -17,6 +17,7 @@ SOH = 1
.asciz &###& ; another weird delimiter
.asciz =DEF= ; syntax error: assignment
.asciz =###= ; syntax error: assignment
.even
.asciz :SOH: ; syntax error: colon not allowed
.asciz :###: ; syntax error: colon not allowed
.asciz ^###^ ; previous versions of this macro11