mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Add more test coverage for RGBASM (#1256)
This also fixes two bugs: `-1 >>> 32` was -1 not 0, and `macro_FreeArgs` should have been called but wasn't.
This commit is contained in:
9
test/asm/purge-multiple.asm
Normal file
9
test/asm/purge-multiple.asm
Normal file
@@ -0,0 +1,9 @@
|
||||
SECTION "s", ROM0
|
||||
u::
|
||||
def v = 0
|
||||
def w equ 1
|
||||
def x equs "2"
|
||||
MACRO y
|
||||
ENDM
|
||||
; purge many symbols at once to test parser reallocation
|
||||
PURGE u, v, w, x, y
|
||||
Reference in New Issue
Block a user