diff options
author | Ben Bridle <ben@derelict.engineering> | 2025-10-13 19:22:36 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2025-10-14 16:54:44 +1300 |
commit | d95f62157bc17ee8aad12aa8887315766207c326 (patch) | |
tree | 6f496de46b0e42be984dc12c9f80a65c32e87554 /src/stages/bytecode.rs | |
parent | 0f32d50293ffb1a990acf9eec128415ba54a9561 (diff) | |
download | torque-asm-d95f62157bc17ee8aad12aa8887315766207c326.zip |
Track more information with SymbolParser
To be able to re-use the symbol parser code in the intermediate stage
in order to quickly find all symbol definitions and invocations in the
program (in particular now that macro definitions are indistinguishable
from label definitions, since they can both follow references), the
symbol parser now tracks additional information about each symbol
(argument count, torque-specific role, and parent macro definition).
Diffstat (limited to 'src/stages/bytecode.rs')
0 files changed, 0 insertions, 0 deletions