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,11 +1,11 @@
SECTION "Fixed bank", ROMX,BANK[42]
ldh a, [BANK(@) * 256] ; This should be complained about at assembly time
X = BANK(@)
DEF X = BANK(@)
SECTION "Something else", ROMX
Y = BANK("Fixed bank")
DEF Y = BANK("Fixed bank")
PRINTLN "@: {X}\nStr: {Y}"
PRINTLN "@: {X}\nStr: {Y}"
ERR = BANK(@)
DEF ERR = BANK(@)