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:
Rangi
2021-04-16 09:54:13 -04:00
committed by GitHub
parent 6be3584467
commit 5c852c7651
4 changed files with 64 additions and 156 deletions

View File

@@ -0,0 +1,6 @@
def foo equs "bar"
def bar equs "qux"
MACRO test
\1
ENDM
test foo 0