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

This commit is contained in:
Alexey Milovidov 2017-07-13 05:48:34 +03:00 committed by alexey-milovidov
parent d4974b0724
commit be1710ecef

View File

@ -277,7 +277,7 @@ private:
ErrorCodes::SYNTAX_ERROR};
};
auto match = [&pos](const char * str) mutable
auto match = [&pos, end](const char * str) mutable
{
size_t length = strlen(str);
if (pos + length <= end && 0 == memcmp(pos, str, length))