Files
rgbds/test/asm/local-purge.asm
ISSOtm c135e2c6a0 Fix local sym names not being expanded by PURGE
And an additional bug that broke the attached test
2020-05-03 19:06:48 +02:00

9 lines
259 B
NASM

; 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