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 authored and GitHub committed 2019-08-17 16:08:27 +01:00
commit 88b66f2941
5 files changed
+121 -39

No files matched your search

+27
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"
+4
View File
@@ -0,0 +1,4 @@
$5
$6
$7
$8
+4
View File
@@ -0,0 +1,4 @@
$5
$6
$7
$8