Skip to content

Commit

Permalink
fix(parser): parse closing brace of error_block (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatcln authored Feb 10, 2022
1 parent 6fa4e7b commit cc967b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/mun_syntax/src/parsing/grammar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ fn error_block(p: &mut Parser, message: &str) {
p.error(message);
p.bump(T!['{']);
expressions::expr_block_contents(p);
p.eat(T!['{']);
p.eat(T!['}']);
m.complete(p, ERROR);
}

0 comments on commit cc967b4

Please sign in to comment.