summaryrefslogtreecommitdiff
path: root/src/stages/semantic_tokens.rs
diff options
context:
space:
mode:
authorBen Bridle <bridle.benjamin@gmail.com>2025-11-26 19:13:45 +1300
committerBen Bridle <bridle.benjamin@gmail.com>2025-11-26 19:22:13 +1300
commit80ea0d650e3d8f56e43df21f1293b4ddccb89203 (patch)
tree1dcd5a485dee43eb6844f6c3c1799f06690af992 /src/stages/semantic_tokens.rs
parent20a029a3215d1e9816812c3484f65164b8faa613 (diff)
downloadtorque-asm-80ea0d650e3d8f56e43df21f1293b4ddccb89203.zip
Remove semantic::ListLiteral::Invocation
This variant was never needed or constructed, I would have added it to match the invocation variants of the block and integer tokens (which do have a use).
Diffstat (limited to 'src/stages/semantic_tokens.rs')
-rw-r--r--src/stages/semantic_tokens.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/stages/semantic_tokens.rs b/src/stages/semantic_tokens.rs
index 69c6c98..89a5b37 100644
--- a/src/stages/semantic_tokens.rs
+++ b/src/stages/semantic_tokens.rs
@@ -84,7 +84,6 @@ pub enum BlockToken {
pub enum ListToken {
StringLiteral(StringLiteral),
ListLiteral(Vec<Tracked<IntegerToken>>),
- Invocation(Invocation),
}
#[derive(Clone)]
@@ -353,9 +352,6 @@ fn print_list_token(i: usize, string: &ListToken) {
print_integer_token(i+1, integer);
}
}
- ListToken::Invocation(invocation) => {
- print_invocation(i, invocation)
- }
}
}