pp function

This commit is contained in:
2021-08-16 13:55:51 +02:00
parent b03462da6a
commit a344f5b62f
6 changed files with 88 additions and 29 deletions

View File

@@ -321,7 +321,7 @@ namespace usql {
}
std::vector<ColOrderNode> Parser::parse_order_by_clause() {
std::vector<ColOrderNode> Parser::parse_order_by_clause() {
std::vector<ColOrderNode> order_cols;
if (m_lexer.tokenType() == TokenType::keyword_order) {
@@ -329,7 +329,7 @@ namespace usql {
m_lexer.skipToken(TokenType::keyword_by);
do {
int col_index = -1;
int col_index = FUNCTION_CALL;
bool asc = true;
auto token_type = m_lexer.tokenType();