Fixed error [#CLICKHOUSE-2]

This commit is contained in:
Alexey Milovidov 2018-02-26 06:47:32 +03:00
parent 89c0dc2eea
commit a4544ac498

View File

@ -22,7 +22,7 @@ bool IParserBase::parse(Pos & pos, ASTPtr & node, Expected & expected)
node = nullptr;
pos = begin;
}
else
else if (node)
node->range = StringRange(begin, pos);
return res;