mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-25 20:42:07 +00:00
Fix bug where macro names can be treated as numeric symbols (#1653)
This commit is contained in:
11
test/asm/non-numeric-symbol.asm
Normal file
11
test/asm/non-numeric-symbol.asm
Normal file
@@ -0,0 +1,11 @@
|
||||
MACRO mac
|
||||
ENDM
|
||||
|
||||
DEF n EQU mac
|
||||
DEF v = 2 + mac
|
||||
DEF k RB mac * 2
|
||||
|
||||
SECTION "test", ROM0
|
||||
db mac
|
||||
dw 2 + mac
|
||||
dl mac * 2
|
||||
Reference in New Issue
Block a user