mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
When trying to skip over nested if statements, if there was no whitespace
after an "if", then that "if" would not be recognized. That's a problem since
"if(" and "if{" are also valid ways to start an if statement. This change
will make it so that they are recognized correctly.
19 lines
102 B
NASM
19 lines
102 B
NASM
if 0
|
|
if(1)
|
|
endc
|
|
if 1
|
|
endc
|
|
if{x}
|
|
endc
|
|
endc
|
|
|
|
if 1
|
|
else
|
|
if(1)
|
|
endc
|
|
if 1
|
|
endc
|
|
if{x}
|
|
endc
|
|
endc
|