mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-27 13:32:08 +00:00
Don't comment "; Next fragment/union" in .map files for empty section pieces
Fixes #1821
This commit is contained in:
18
test/link/fragment-literals/a.asm
Normal file
18
test/link/fragment-literals/a.asm
Normal file
@@ -0,0 +1,18 @@
|
||||
section "PrintHL", rom0
|
||||
PrintHL::
|
||||
; ...
|
||||
ret
|
||||
|
||||
section "PrintNth", rom0
|
||||
PrintNth::
|
||||
ld hl, [[
|
||||
dw [[ db "one\0" ]]
|
||||
dw [[ db "two\0" ]]
|
||||
dw [[ db "three\0" ]]
|
||||
dw [[ db "four\0" ]]
|
||||
]]
|
||||
ld d, 0
|
||||
ld e, a
|
||||
add hl, de
|
||||
add hl, de
|
||||
call PrintHL
|
||||
Reference in New Issue
Block a user