mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-15 06:11:41 +00:00
Add test case for local labels after block-ending keywords
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
section "test", ROM0
|
||||
Global:
|
||||
|
||||
if 0
|
||||
println "no"
|
||||
endc.local_no
|
||||
if 1
|
||||
println "yes"
|
||||
endc.local_yes
|
||||
|
||||
rept 0
|
||||
println "nope"
|
||||
endr.local_nope
|
||||
rept 1
|
||||
println "yep"
|
||||
endr.local_yep
|
||||
|
||||
macro mac
|
||||
println "mac"
|
||||
endm.local_mac
|
||||
mac
|
||||
Reference in New Issue
Block a user