mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-10 11:51:42 +00:00
Test that OPT r fails immediately if the recursion depth is already exceeded
Fixes #1034
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
MACRO m
|
||||
DEF depth += 1
|
||||
IF depth == 10
|
||||
OPT r9
|
||||
ENDC
|
||||
println "at depth {d:depth}"
|
||||
m
|
||||
ENDM
|
||||
|
||||
DEF depth = 0
|
||||
m
|
||||
Reference in New Issue
Block a user