diff options
Diffstat (limited to 'src/parser')
-rw-r--r-- | src/parser/grammar/expressions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/grammar/expressions.rs b/src/parser/grammar/expressions.rs index 4861536f8..a6456c8d5 100644 --- a/src/parser/grammar/expressions.rs +++ b/src/parser/grammar/expressions.rs | |||
@@ -69,7 +69,7 @@ fn atom_expr(p: &mut Parser) -> Option<CompletedMarker> { | |||
69 | match p.current() { | 69 | match p.current() { |
70 | L_PAREN => Some(tuple_expr(p)), | 70 | L_PAREN => Some(tuple_expr(p)), |
71 | _ => { | 71 | _ => { |
72 | p.error("expected expression"); | 72 | p.err_and_bump("expected expression"); |
73 | None | 73 | None |
74 | } | 74 | } |
75 | } | 75 | } |