mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-08 10:59:36 +00:00
cfec017fed
- Do not error about local labels following keywords in skips or captures (fixes #1955) - Do not incompletely attempt to handle line continuations in skips (fixes #1956) - Rename `skipToLeadingIdentifier` to `skipToLeadingKeyword`, refactor to merge `skipToEOL` into it, and use it for both skips and captures
21 lines
194 B
NASM
21 lines
194 B
NASM
section "test", rom0
|
|
|
|
if 0
|
|
section.local "oops"
|
|
else
|
|
println "*sips coffee*"
|
|
endc
|
|
|
|
rept 0
|
|
assert.local "lol"
|
|
endr
|
|
rept 1
|
|
println "this is fine"
|
|
endr
|
|
|
|
macro m
|
|
db.local 42
|
|
endm
|
|
|
|
db.local 123
|