diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-02-02 19:56:21 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-02-02 19:56:21 +0100 |
| commit | 930ad1cc4422f19251ea77a625816e3aebcc6eea (patch) | |
| tree | 6223b56dfc21a7b4278364e953e2457267518b7f /.gitmodules | |
| parent | e6f6f514cd11e9a512abb00d16b93e800e861c58 (diff) | |
| download | tools.nes-930ad1cc4422f19251ea77a625816e3aebcc6eea.tar.gz tools.nes-930ad1cc4422f19251ea77a625816e3aebcc6eea.zip | |
xixanta: add context from macro expansions
The way macro expansions work is that the evaluated bundles replace the
current node, but this throws away the context of the line, the source,
etc. from the original line of code.
Add a stack that is pushed/popped when expanding macros, and are then
cloned for each pending node and error. This way, errors have full
context of the original code and can display backtraces for macro
expansion.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions
