Skip to content

Commit 63c2d17

Browse files
committed
fix
1 parent 044ebb9 commit 63c2d17

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

crates/squawk_parser/src/grammar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4519,7 +4519,7 @@ fn opt_group_by_list(p: &mut Parser<'_>) {
45194519

45204520
let m = p.start();
45214521
let mut found_item = false;
4522-
while !p.at(EOF) && !p.at(SEMICOLON) {
4522+
while !p.at(EOF) {
45234523
if opt_group_by_item(p).is_none() {
45244524
break;
45254525
}

crates/squawk_parser/tests/tests.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ fn parser_ok(fixture: Fixture<&str>) {
3434
errors.is_none(),
3535
"tests defined in the `ok` can't have parser errors."
3636
);
37-
// skipping pg17/pg18 specific stuff since our parser isn't using the latest parser
38-
if !test_name.ends_with("pg17") && !test_name.ends_with("pg18") {
37+
// skipping pg17/pg18/pg19 specific stuff since our parser isn't using the latest parser
38+
if !test_name.ends_with("pg17") && !test_name.ends_with("pg18") && !test_name.ends_with("pg19")
39+
{
3940
let pg_result = pg_query::parse(content);
4041
if let Err(e) = &pg_result {
4142
assert!(

0 commit comments

Comments
 (0)