diff --git a/pom-parser/src/parser.rs b/pom-parser/src/parser.rs index 91342a5..6aece44 100644 --- a/pom-parser/src/parser.rs +++ b/pom-parser/src/parser.rs @@ -47,7 +47,7 @@ impl<'src> Parser<'src> { } fn parse_stmt(&mut self) -> Id { - let checkpoint = self.checkpoint(); + let checkpoint = self.checkpoint() + 1; match self.grab(LBrace) { Ok(_) => {