mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Since the "skip ELSE blocks" variable is global, it used to get carried over from the macro's `if` to the outer's.
14 lines
84 B
NASM
14 lines
84 B
NASM
m: macro
|
|
if 0
|
|
WARN "3"
|
|
else
|
|
WARN "5"
|
|
endc
|
|
endm
|
|
|
|
if 1
|
|
m
|
|
else
|
|
WARN "12"
|
|
endc
|