mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Store IF depth relative to each fstack context
This disallows starting/ending an IF inside an INCLUDEd file or a macro expansion
This commit is contained in:
@@ -2,4 +2,5 @@ warning: break.asm(9): [-Wuser]
|
||||
done 5
|
||||
warning: break.asm(17): [-Wuser]
|
||||
OK
|
||||
error: Unterminated IF construct (1 levels)!
|
||||
FATAL: break.asm(18) -> break.asm::REPT~1(23):
|
||||
Ended block with 1 unterminated IF construct
|
||||
|
||||
Reference in New Issue
Block a user