Deprecate the old macro syntax (#1025)

Fixes #1011
This commit is contained in:
Rangi
2022-08-28 15:22:21 -04:00
committed by GitHub
parent 7a2ee26792
commit 14e6a79adc
55 changed files with 94 additions and 87 deletions

View File

@@ -1,4 +1,4 @@
print1: MACRO
MACRO print1
if _NARG == 2
assert !STRCMP("\1", \2)
endc
@@ -12,14 +12,14 @@ D
print1 E\!F ; illegal character escape
iprint: MACRO
MACRO iprint
PRINTLN "{\1}"
ENDM
s EQUS "hello"
iprint s
symprint: MACRO
MACRO symprint
PRINTLN {\1}
ENDM