mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +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;
|
case TokenType::TOKEN: return #TOKEN;
|
||||||
APPLY_FOR_TOKENS(M)
|
APPLY_FOR_TOKENS(M)
|
||||||
#undef M
|
#undef M
|
||||||
|
default:
|
||||||
|
__builtin_unreachable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user