mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Implement ? suffix to "quiet" a context and exclude it from backtraces (#1800)
This commit is contained in:
20
test/asm/quiet-backtrace.asm
Normal file
20
test/asm/quiet-backtrace.asm
Normal file
@@ -0,0 +1,20 @@
|
||||
macro mac
|
||||
warn "from macro"
|
||||
endm
|
||||
mac ; normal
|
||||
|
||||
macro? quiet
|
||||
warn "from quiet macro"
|
||||
endm
|
||||
quiet
|
||||
rept? 1
|
||||
warn "from quiet rept"
|
||||
endr
|
||||
for? x, 1
|
||||
warn "from quiet for (x={d:x})"
|
||||
endr
|
||||
include? "quiet-backtrace.inc"
|
||||
macro loud
|
||||
warn "from loud macro"
|
||||
endm
|
||||
mac?
|
||||
Reference in New Issue
Block a user