mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
This should significantly improve performance: on pokecrystal builds, perf reported as much CPU time spent on `yyparse` as on `sym_UseNewMacroArgs` Measurements show ~6 seconds of improvement on that codebase. This also fixes #321, as a bonus, due to saner management!
16 lines
190 B
NASM
16 lines
190 B
NASM
print EQUS "WARN \"\\@\""
|
|
|
|
m: macro
|
|
print
|
|
REPT 2
|
|
print
|
|
ENDR
|
|
print
|
|
endm
|
|
; TODO: Ideally we'd test now as well, but it'd cause a fatal error
|
|
;print
|
|
m
|
|
;print
|
|
m
|
|
print
|