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,3 @@
ERROR: nested-expansions.asm(6) -> nested-expansions.asm::test(4):
Macro "qux" not defined
error: Assembly aborted (1 error)!