Merge pull request #364 from dbrotz/fix-362

Don't append invalid characters to symbol name
This commit is contained in:
Antonio Niño Díaz
2019-08-17 16:08:27 +01:00
committed by GitHub
5 changed files with 121 additions and 39 deletions

View File

@@ -0,0 +1,27 @@
m1: MACRO
x\1
ENDM
S EQUS "y"
S2 EQUS "yy"
m2: MACRO
S\1
ENDM
m1 = 5
m2 = 6
m1 x = 7
m2 2 = 8
printv x
printt "\n"
printv y
printt "\n"
printv xx
printt "\n"
printv yy
printt "\n"

View File

@@ -0,0 +1,4 @@
$5
$6
$7
$8

View File

@@ -0,0 +1,4 @@
$5
$6
$7
$8