diff options
Diffstat (limited to 'src/stages')
-rw-r--r-- | src/stages/syntactic.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stages/syntactic.rs b/src/stages/syntactic.rs index 960a4ed..ff3a65a 100644 --- a/src/stages/syntactic.rs +++ b/src/stages/syntactic.rs @@ -117,6 +117,9 @@ fn parse_syntactic_from_tokeniser(mut t: Tokeniser) -> Result<Vec<Tracked<Syntac Err(_) => err!(SyntacticError::InvalidPaddingValue), } }, + ':' => { + SyntacticToken::Invocation(String::from(':')) + } c => { let token = format!("{c}{}", t.eat_token()); if let Ok(value) = token.parse::<Value>() { |