mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Deprecate DEF-less definitions (#1193)
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
X = 42
|
||||
DEF X = 42
|
||||
PRINTLN "{X}"
|
||||
PRINTLN "{x:X}"
|
||||
PRINTLN "{X:X}"
|
||||
PRINTLN "{d:X}"
|
||||
PRINTLN "{b:X}"
|
||||
|
||||
Y equ 1337
|
||||
DEF Y EQU 1337
|
||||
PRINTLN "{b:Y}"
|
||||
|
||||
rsreset
|
||||
R rb 0
|
||||
DEF R RB 0
|
||||
PRINTLN "{d:R}"
|
||||
|
||||
S equs "You can't format me!"
|
||||
DEF S EQUS "You can't format me!"
|
||||
PRINTLN "{X:S}"
|
||||
|
||||
SECTION "Test", ROM0
|
||||
|
||||
Reference in New Issue
Block a user