mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-19996 Bison grammar: turn singe-character operators into <kwd>
This commit is contained in:
@ -1510,6 +1510,7 @@ int Lex_input_stream::lex_one_token(YYSTYPE *yylval, THD *thd)
|
||||
case MY_LEX_SKIP: // This should not happen
|
||||
if (c != ')')
|
||||
next_state= MY_LEX_START; // Allow signed numbers
|
||||
yylval->kwd.set_keyword(m_tok_start, 1);
|
||||
return((int) c);
|
||||
|
||||
case MY_LEX_MINUS_OR_COMMENT:
|
||||
|
Reference in New Issue
Block a user