1
0
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:
Alexander Barkov
2019-07-09 15:10:45 +04:00
parent 6974962945
commit 70c2bde931
5 changed files with 35 additions and 32 deletions

View File

@ -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: