fix parsing bug

This commit is contained in:
VaclavT 2021-08-14 13:00:46 +02:00
parent 4665705c3d
commit e7252e856a
1 changed files with 2 additions and 1 deletions

View File

@ -427,7 +427,8 @@ namespace usql {
// parenthised expression
if (token_type == TokenType::open_paren) {
// open paren already consumed
m_lexer.skipToken(TokenType::open_paren);
auto left = parse_expression();
do {
left = parse_expression(std::move(left));