diff --git a/src/frontend/lexer.rs b/src/frontend/lexer.rs index 6e52729..0c8fcdc 100644 --- a/src/frontend/lexer.rs +++ b/src/frontend/lexer.rs @@ -235,6 +235,7 @@ fn tokenize_operator_or_symbol(c: char, chars: &mut Peekable, tokens: &mu '!' | '=' | '-' | '>' | '<' | '&' | '|' => { chars.next(); handle_complex_operators(c, chars, tokens); + return; } _ => unreachable!(), }