mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Using lexer (incomplete) [#CLICKHOUSE-2].
This commit is contained in:
parent
83c8043193
commit
2073fef375
@ -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))
|
||||
{
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user