mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-28 13:57:48 +00:00
Deprecate DEF-less definitions (#1193)
This commit is contained in:
@@ -4,7 +4,7 @@ REDEF n EQU 1
|
||||
PRINTLN n
|
||||
|
||||
MACRO list
|
||||
LIST_NAME EQUS "\1"
|
||||
DEF LIST_NAME EQUS "\1"
|
||||
DEF LENGTH_{LIST_NAME} EQU 0
|
||||
ENDM
|
||||
|
||||
@@ -19,5 +19,5 @@ ENDM
|
||||
item 9
|
||||
println LENGTH_SQUARES, SQUARES_1, SQUARES_2, SQUARES_3
|
||||
|
||||
N EQUS "X"
|
||||
DEF N EQUS "X"
|
||||
REDEF N EQU 42
|
||||
|
||||
Reference in New Issue
Block a user