Deprecate DEF-less definitions (#1193)

This commit is contained in:
Rangi
2023-11-02 05:18:59 -04:00
committed by GitHub
parent 02f06407b1
commit bb7c34db65
79 changed files with 351 additions and 264 deletions

View File

@@ -1,18 +1,18 @@
SECTION "sec", ROM0
X0 EQUS "0"
DEF X0 EQUS "0"
MACRO m
\1 EQUS STRCAT("{X\2}", "+1")
DEF \1 EQUS STRCAT("{X\2}", "+1")
ENDM
FOR n, $7E
n1 = n + 1
DEF n1 = n + 1
m X{X:n1}, {X:n}
ENDR
; string of 127 zeros separated by plus signs
X EQUS "{X7E}"
DEF X EQUS "{X7E}"
db x+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+\
X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+\