mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Store the nested expansions starting from the deepest one (#829)
This shortens the lexer by 100 lines and simplifies access to expansion contents, since it usually needs the deepest one, not the top-level one. Fixes #813
This commit is contained in:
6
test/asm/nested-expansions.asm
Normal file
6
test/asm/nested-expansions.asm
Normal file
@@ -0,0 +1,6 @@
|
||||
def foo equs "bar"
|
||||
def bar equs "qux"
|
||||
MACRO test
|
||||
\1
|
||||
ENDM
|
||||
test foo 0
|
||||
Reference in New Issue
Block a user