aboutsummaryrefslogtreecommitdiff
path: root/src/parser/grammar
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-07-31 11:41:30 +0100
committerAleksey Kladov <[email protected]>2018-07-31 11:41:30 +0100
commit87b5e14c75dbc02b5bc610dfa33d5789570df5db (patch)
tree649b7fea9df7c8aa747a8e33618cce261e53a11c /src/parser/grammar
parent9e02e432b570e33b703032f24a4fbb90cb7eb4eb (diff)
Fix indexing errors
Diffstat (limited to 'src/parser/grammar')
-rw-r--r--src/parser/grammar/expressions.rs2
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 }