Don't require a command before EQ in a where clause

This commit is contained in:
DJMcNab
2018-12-20 15:50:42 +00:00
parent 84ff52390d
commit f35151afed

View File

@@ -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);
} }
} }