summaryrefslogtreecommitdiff
path: root/src/stages/semantic.rs
diff options
context:
space:
mode:
authorBen Bridle <ben@derelict.engineering>2025-10-13 19:22:36 +1300
committerBen Bridle <ben@derelict.engineering>2025-10-14 16:54:44 +1300
commitd95f62157bc17ee8aad12aa8887315766207c326 (patch)
tree6f496de46b0e42be984dc12c9f80a65c32e87554 /src/stages/semantic.rs
parent0f32d50293ffb1a990acf9eec128415ba54a9561 (diff)
downloadtorque-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/semantic.rs')
0 files changed, 0 insertions, 0 deletions