Don't require a command before EQ in a where clause
This commit is contained in:
@@ -108,7 +108,7 @@ pub(super) fn opt_where_clause(p: &mut Parser) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
where_predicate(p);
|
where_predicate(p);
|
||||||
if p.current() != L_CURLY && p.current() != SEMI {
|
if p.current() != L_CURLY && p.current() != SEMI && p.current() != EQ {
|
||||||
p.expect(COMMA);
|
p.expect(COMMA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user