mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Using lexer: better error messages [#CLICKHOUSE-2].
This commit is contained in:
parent
cedf9b34c9
commit
00486d0de4
@ -315,6 +315,8 @@ const char * getTokenName(TokenType type)
|
||||
case TokenType::TOKEN: return #TOKEN;
|
||||
APPLY_FOR_TOKENS(M)
|
||||
#undef M
|
||||
default:
|
||||
__builtin_unreachable();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user