fix parsing bug
This commit is contained in:
parent
4665705c3d
commit
e7252e856a
|
|
@ -427,7 +427,8 @@ namespace usql {
|
||||||
|
|
||||||
// parenthised expression
|
// parenthised expression
|
||||||
if (token_type == TokenType::open_paren) {
|
if (token_type == TokenType::open_paren) {
|
||||||
// open paren already consumed
|
m_lexer.skipToken(TokenType::open_paren);
|
||||||
|
|
||||||
auto left = parse_expression();
|
auto left = parse_expression();
|
||||||
do {
|
do {
|
||||||
left = parse_expression(std::move(left));
|
left = parse_expression(std::move(left));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue