Using lexer: better error messages [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-07-13 08:40:24 +03:00 committed by alexey-milovidov
parent cedf9b34c9
commit 00486d0de4

View File

@ -315,6 +315,8 @@ const char * getTokenName(TokenType type)
case TokenType::TOKEN: return #TOKEN; case TokenType::TOKEN: return #TOKEN;
APPLY_FOR_TOKENS(M) APPLY_FOR_TOKENS(M)
#undef M #undef M
default:
__builtin_unreachable();
} }
} }