mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 06:03:02 +01:00
Make Windows happier. DIFFERENCE defined as a macro there
This commit is contained in:
parent
be3dbfeb05
commit
64c12e15c4
@ -265,7 +265,7 @@
|
||||
# define KW_UPDATING 514
|
||||
# define KW_DELETING 515
|
||||
# define BACKUP 516
|
||||
# define DIFFERENCE 517
|
||||
# define KW_DIFFERENCE 517
|
||||
|
||||
|
||||
extern YYSTYPE yylval;
|
||||
|
@ -28,7 +28,7 @@
|
||||
* Contributor(s):
|
||||
*
|
||||
*
|
||||
* $Id: keywords.cpp,v 1.19 2003-08-06 16:30:38 skidder Exp $
|
||||
* $Id: keywords.cpp,v 1.20 2003-08-06 20:21:38 skidder Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -121,7 +121,7 @@ static const TOK tokens [] = {
|
||||
{DESC, "DESC", 1}, /* Alias of DESCENDING */
|
||||
{DESC, "DESCENDING", 1},
|
||||
{KW_DESCRIPTOR, "DESCRIPTOR", 2},
|
||||
{DIFFERENCE, "DIFFERENCE", 2},
|
||||
{KW_DIFFERENCE, "DIFFERENCE", 2},
|
||||
{DISTINCT, "DISTINCT", 1},
|
||||
{DO, "DO", 1},
|
||||
{DOMAIN, "DOMAIN", 1},
|
||||
|
@ -263,7 +263,7 @@
|
||||
# define KW_UPDATING 514
|
||||
# define KW_DELETING 515
|
||||
# define BACKUP 516
|
||||
# define DIFFERENCE 517
|
||||
# define KW_DIFFERENCE 517
|
||||
|
||||
|
||||
/*
|
||||
@ -1137,7 +1137,7 @@ static const char *const yytname[] =
|
||||
"CURRENT_TRANSACTION", "BIGINT", "CASE", "NULLIF", "COALESCE", "USING",
|
||||
"NULLS", "LAST", "ROW_COUNT", "LOCK", "SAVEPOINT", "RELEASE",
|
||||
"STATEMENT", "LEAVE", "INSERTING", "UPDATING", "DELETING",
|
||||
"KW_INSERTING", "KW_UPDATING", "KW_DELETING", "BACKUP", "DIFFERENCE",
|
||||
"KW_INSERTING", "KW_UPDATING", "KW_DELETING", "BACKUP", "KW_DIFFERENCE",
|
||||
"'='", "'<'", "'>'", "'+'", "'-'", "'*'", "'/'", "';'", "','", "'('",
|
||||
"')'", "':'", "'['", "']'", "'.'", "'?'", "top", "statement", "grant",
|
||||
"prot_table_name", "privileges", "privilege_list", "proc_privileges",
|
||||
|
@ -496,7 +496,7 @@ static struct LexerState lex;
|
||||
|
||||
/* tokens added for Firebird 2.0 */
|
||||
%token BACKUP
|
||||
%token DIFFERENCE
|
||||
%token KW_DIFFERENCE
|
||||
|
||||
/* precedence declarations for expression evaluation */
|
||||
|
||||
@ -1062,7 +1062,7 @@ db_rem_option : db_file
|
||||
| db_log_option
|
||||
| DEFAULT CHARACTER SET symbol_character_set_name
|
||||
{ $$ = make_node (nod_dfl_charset, 1, $4);}
|
||||
| DIFFERENCE KW_FILE sql_string
|
||||
| KW_DIFFERENCE KW_FILE sql_string
|
||||
{ $$ = make_node (nod_difference_file, 1, $3); }
|
||||
;
|
||||
|
||||
@ -2099,9 +2099,9 @@ db_alter_clause : ADD db_file_list
|
||||
{ $$ = $2; }
|
||||
| ADD db_log
|
||||
{ $$ = $2; }
|
||||
| ADD DIFFERENCE KW_FILE sql_string
|
||||
| ADD KW_DIFFERENCE KW_FILE sql_string
|
||||
{ $$ = make_node (nod_difference_file, (int) 1, $4); }
|
||||
| DROP DIFFERENCE KW_FILE
|
||||
| DROP KW_DIFFERENCE KW_FILE
|
||||
{ $$ = make_node (nod_drop_difference, (int) 0, NULL); }
|
||||
| BEGIN BACKUP
|
||||
{ $$ = make_node (nod_begin_backup, (int) 0, NULL); }
|
||||
@ -4033,7 +4033,7 @@ non_reserved_word :
|
||||
| DELETING
|
||||
/* | FIRST | SKIP -- this is handled by the lexer. */
|
||||
| BACKUP /* added in FB 2.0 */
|
||||
| DIFFERENCE
|
||||
| KW_DIFFERENCE
|
||||
;
|
||||
|
||||
%%
|
||||
|
Loading…
Reference in New Issue
Block a user