/* A Bison parser, made by GNU Bison 1.875a. */ /* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison. */ /* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum yytokentype { L_SELECT = 258, L_FROM = 259, L_WHERE = 260, L_AS = 261, L_ON = 262, L_ORDER = 263, L_BY = 264, L_ORDER_ASC = 265, L_ORDER_DSC = 266, L_DISTINCT = 267, L_BETWEEN = 268, L_IN = 269, L_GROUP = 270, L_INSERT = 271, L_INTO = 272, L_VALUES = 273, L_UPDATE = 274, L_SET = 275, L_DOT = 276, L_COMMA = 277, L_NULL = 278, L_LBRACKET = 279, L_RBRACKET = 280, L_IDENT = 281, L_EQ = 282, L_IS = 283, L_LIKE = 284, L_GT = 285, L_LT = 286, L_GEQ = 287, L_LEQ = 288, L_DIFF = 289, L_NOT = 290, L_AND = 291, L_OR = 292, L_MINUS = 293, L_PLUS = 294, L_TIMES = 295, L_DIV = 296, L_STRING = 297, L_TEXTUAL = 298, L_DELETE = 299, L_JOIN = 300, L_INNER = 301, L_LEFT = 302, L_RIGHT = 303, L_FULL = 304, L_OUTER = 305, L_LSBRACKET = 306, L_RSBRACKET = 307, L_PNAME = 308, L_PTYPE = 309, L_PISPARAM = 310, L_PDESCR = 311, L_PNULLOK = 312 }; #endif #define L_SELECT 258 #define L_FROM 259 #define L_WHERE 260 #define L_AS 261 #define L_ON 262 #define L_ORDER 263 #define L_BY 264 #define L_ORDER_ASC 265 #define L_ORDER_DSC 266 #define L_DISTINCT 267 #define L_BETWEEN 268 #define L_IN 269 #define L_GROUP 270 #define L_INSERT 271 #define L_INTO 272 #define L_VALUES 273 #define L_UPDATE 274 #define L_SET 275 #define L_DOT 276 #define L_COMMA 277 #define L_NULL 278 #define L_LBRACKET 279 #define L_RBRACKET 280 #define L_IDENT 281 #define L_EQ 282 #define L_IS 283 #define L_LIKE 284 #define L_GT 285 #define L_LT 286 #define L_GEQ 287 #define L_LEQ 288 #define L_DIFF 289 #define L_NOT 290 #define L_AND 291 #define L_OR 292 #define L_MINUS 293 #define L_PLUS 294 #define L_TIMES 295 #define L_DIV 296 #define L_STRING 297 #define L_TEXTUAL 298 #define L_DELETE 299 #define L_JOIN 300 #define L_INNER 301 #define L_LEFT 302 #define L_RIGHT 303 #define L_FULL 304 #define L_OUTER 305 #define L_LSBRACKET 306 #define L_RSBRACKET 307 #define L_PNAME 308 #define L_PTYPE 309 #define L_PISPARAM 310 #define L_PDESCR 311 #define L_PNULLOK 312 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) #line 17 "parser.y" typedef union YYSTYPE { void *v; char *str; int i; GList *list; sql_field *f; sql_field_item *fi; sql_table *t; sql_condition *c; sql_where *w; param_spec *ps; sql_order_field *of; } YYSTYPE; /* Line 1240 of yacc.c. */ #line 165 "parser.h" # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 #endif extern YYSTYPE sqllval;