mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Fix local sym names not being expanded by PURGE
And an additional bug that broke the attached test
This commit is contained in:
8
test/asm/local-purge.asm
Normal file
8
test/asm/local-purge.asm
Normal file
@@ -0,0 +1,8 @@
|
||||
; At some point, the name of the local label was passed *unexpanded* to the
|
||||
; function doing the removal. Ensure that this is fixed.
|
||||
|
||||
SECTION "Test", ROM0[0]
|
||||
Glob:
|
||||
.loc
|
||||
PURGE .loc
|
||||
PRINTT "{.loc}\n" ; This should fail because the label doesn't exist anymore
|
||||
Reference in New Issue
Block a user