dbms: better [#METR-2944].

This commit is contained in:
Alexey Milovidov 2015-02-01 10:27:56 +03:00
parent 24cc25e809
commit a65acf8a03

View File

@ -41,7 +41,7 @@ public:
ASTPtr ignore_node;
return parse(pos, end, ignore_node, expected);
}
bool ignore(Pos & pos, Pos end)
{
Expected expected;
@ -100,10 +100,10 @@ inline std::string getSyntaxErrorMessage(
{
std::stringstream message;
message << "Syntax error ";
message << "Syntax error";
if (!description.empty())
message << "(" << description << ")";
message << " (" << description << ")";
message << ": failed at position " << (pos - begin + 1);