summaryrefslogtreecommitdiff
path: root/src/stages/intermediate.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/stages/intermediate.rs')
-rw-r--r--src/stages/intermediate.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/stages/intermediate.rs b/src/stages/intermediate.rs
index 8cabe26..3dfa0fd 100644
--- a/src/stages/intermediate.rs
+++ b/src/stages/intermediate.rs
@@ -314,9 +314,6 @@ impl IntermediateParser {
}
Some(Tracked::from(integers, source.clone()))
}
- ListToken::Invocation(invocation) => {
- self.parse_list_invocation(&invocation, source)
- }
}
}
@@ -348,19 +345,6 @@ impl IntermediateParser {
}
}
- fn parse_list_invocation(&mut self, invocation: &Invocation, source: &SourceSpan) -> Option<Tracked<IntermediateList>> {
- let result = self.parse_invocation(invocation, source)?;
- let source = result.source;
- match result.value {
- IntermediateValue::List(literal) => Some(Tracked::from(literal, source)),
- IntermediateValue::Integer(_) | IntermediateValue::Block(_) => {
- let error = IntermediateError::ExpectedList;
- self.errors.push(Tracked::from(error, source));
- None
- }
- }
- }
-
fn parse_invocation(&mut self, invocation: &Invocation, source: &SourceSpan) -> Option<Tracked<IntermediateValue>> {
let received_count = invocation.arguments.len();
let signature = SymbolSignature {