Using lexer (incomplete) [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-07-12 05:42:34 +03:00 committed by alexey-milovidov
parent 83c8043193
commit 2073fef375
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ bool ParserCase::parseImpl(Pos & pos, ASTPtr & node, Expected & expected)
ParserKeyword s_then{"THEN"};
ParserKeyword s_else{"ELSE"};
ParserKeyword s_end{ "END"};
ParserExpression p_expr{false};
ParserExpressionWithOptionalAlias p_expr{false};
if (!s_case.parse(pos, node, expected))
{

View File

@ -27,7 +27,7 @@ bool ParserKillQueryQuery::parseImpl(Pos & pos, ASTPtr & node, Expected & expect
if (!ParserKeyword{"WHERE"}.ignore(pos, expected))
return false;
ParserExpression p_where_expression(false);
ParserExpression p_where_expression;
if (!p_where_expression.parse(pos, query->where_expression, expected))
return false;

View File

@ -44,7 +44,7 @@ bool ParserSelectQuery::parseImpl(Pos & pos, ASTPtr & node, Expected & expected)
ParserNotEmptyExpressionList exp_list(false);
ParserNotEmptyExpressionList exp_list_for_select_clause(true); /// Allows aliases without AS keyword.
ParserExpression exp_elem(false);
ParserExpression exp_elem;
ParserOrderByExpressionList order_list;
/// SELECT [DISTINCT] expr list