fix style errors

This commit is contained in:
Ivan Blinkov 2018-12-13 19:41:56 +03:00
parent 180311b42b
commit 69f2667d63

View File

@ -488,7 +488,8 @@ bool ParserTrimExpression::parseImpl(Pos & pos, ASTPtr & node, Expected & expect
};
func_name = "replaceRegexpAll";
}
else {
else
{
if (trim_left)
{
pattern_list_args->children = {
@ -521,7 +522,8 @@ bool ParserTrimExpression::parseImpl(Pos & pos, ASTPtr & node, Expected & expect
pattern_node = std::make_shared<ASTLiteral>("^ *\\| *$");
func_name = "replaceRegexpAll";
}
else {
else
{
if (trim_left)
{
pattern_node = std::make_shared<ASTLiteral>("^ *");