Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty committed Jul 8, 2024
1 parent e5a4f26 commit 8b9d45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prqlc/prqlc-parser/src/parser/stmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn module_contents() -> impl Parser<TokenKind, Vec<Stmt>, Error = PError> {

let annotation = just(TokenKind::Annotate)
.ignore_then(expr())
.then_ignore(new_line().repeated())
.then_ignore(new_line().repeated().at_least(1))
.map(|expr| Annotation {
expr: Box::new(expr),
});
Expand Down

0 comments on commit 8b9d45f

Please sign in to comment.