mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-11 04:11:42 +00:00
Allow changing recursion depth limit at runtime
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
OPT r34 ; :3
|
||||
OPT r 360
|
||||
|
||||
; Invalid
|
||||
OPT r ; Missing arg
|
||||
OPT r 2a ; Bad decimal
|
||||
|
||||
; Check that it has an effect
|
||||
OPT r 1
|
||||
MACRO m
|
||||
m
|
||||
ENDM
|
||||
m
|
||||
@@ -0,0 +1,6 @@
|
||||
error: opt-r.asm(5):
|
||||
Missing argument to option 'r'
|
||||
error: opt-r.asm(6):
|
||||
Invalid argument to option 'r' ("2a")
|
||||
FATAL: opt-r.asm(13):
|
||||
Recursion limit (1) exceeded
|
||||
Reference in New Issue
Block a user