Skip to content

Commit 8b9d45f

Browse files
committed
1 parent e5a4f26 commit 8b9d45f

File tree

1 file changed

+1
-1
lines changed
  • prqlc/prqlc-parser/src/parser

1 file changed

+1
-1
lines changed

prqlc/prqlc-parser/src/parser/stmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fn module_contents() -> impl Parser<TokenKind, Vec<Stmt>, Error = PError> {
2828

2929
let annotation = just(TokenKind::Annotate)
3030
.ignore_then(expr())
31-
.then_ignore(new_line().repeated())
31+
.then_ignore(new_line().repeated().at_least(1))
3232
.map(|expr| Annotation {
3333
expr: Box::new(expr),
3434
});

0 commit comments

Comments
 (0)