mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-30 23:07:48 +00:00
Make error messages for "undefined" built-ins more accurate (#1501)
This commit is contained in:
15
test/asm/builtin-reserved.asm
Normal file
15
test/asm/builtin-reserved.asm
Normal file
@@ -0,0 +1,15 @@
|
||||
ASSERT !DEF(_NARG)
|
||||
|
||||
PURGE _NARG
|
||||
|
||||
DEF _NARG EQU 12
|
||||
REDEF _NARG EQU 34
|
||||
|
||||
DEF _NARG = 56
|
||||
REDEF _NARG = 78
|
||||
|
||||
DEF _NARG EQUS "hello"
|
||||
REDEF _NARG EQUS "world"
|
||||
|
||||
SECTION "test", ROM0
|
||||
_NARG:
|
||||
Reference in New Issue
Block a user