1 /* A Bison parser, made by GNU Bison 2.3. */
3 /* Skeleton interface for Bison's Yacc-like parsers in C
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6 Free Software Foundation, Inc.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA. */
23 /* As a special exception, you may create a larger work that contains
24 part or all of the Bison parser skeleton and distribute that work
25 under terms of your choice, so long as that work isn't itself a
26 parser generator using the skeleton or a modified version thereof
27 as a parser skeleton. Alternatively, if you modify or redistribute
28 the parser skeleton itself, you may (at your option) remove this
29 special exception, which will cause the skeleton and the resulting
30 Bison output files to be licensed under the GNU General Public
31 License without this special exception.
33 This special exception was added by the Free Software Foundation in
34 version 2.2 of Bison. */
39 /* Put the tokens into the symbol table, so that GDB and other debuggers
63 LEFT_OUTER_JOIN = 279,
64 RIGHT_OUTER_JOIN = 280,
99 SELECTION_PUSHDOWN = 315
104 #define STRING_TOKEN 259
106 #define LONGINTNUM 261
107 #define APPROXNUM 262
111 #define COMPARISON 266
114 #define SEMICOLON 269
115 #define LEFTBRACE 270
116 #define RIGHTBRACE 271
121 #define INNER_JOIN 276
122 #define FILTER_JOIN 277
123 #define OUTER_JOIN 278
124 #define LEFT_OUTER_JOIN 279
125 #define RIGHT_OUTER_JOIN 280
131 #define SUPERGROUP 286
132 #define CLEANING_WHEN 287
133 #define CLEANING_BY 288
134 #define CLOSING_WHEN 289
139 #define GROUPING_SETS 294
142 #define TIMEVAL_L 297
149 #define DEFINE_SEC 304
150 #define PARAM_SEC 305
155 #define UNPACK_FCNS 310
157 #define OPERATOR_VIEW 312
159 #define SUBQUERIES 314
160 #define SELECTION_PUSHDOWN 315
165 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
166 typedef union YYSTYPE
176 /* for FTA definition. */
178 scalarexp_t *scalarval;
179 se_list_t *se_listval;
180 select_list_t *select_listval;
183 literal_list_t *lit_l;
185 tablevar_list_t *tbl_list;
188 colref_list_t *clist;
189 var_defs_t *var_defs;
190 var_pair_t *var_pair;
193 list_of_gb_list_t *list_of_gb_list;
194 extended_gb_t *extended_gb;
195 extended_gb_list_t *extended_gb_list;
197 query_list_t *q_list;
199 /* For table definition */
200 field_entry *field_t;
201 field_entry_list *field_list_t;
202 table_def *table_def_t;
203 table_list *table_list_schema;
206 subquery_spec *subq_spec_t;
207 subqueryspec_list *subqueryspec_list_t;
209 unpack_fcn_list *ufcnl;
212 /* Line 1529 of yacc.c. */
213 #line 214 "fta.tab.cc.h"
215 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
216 # define YYSTYPE_IS_DECLARED 1
217 # define YYSTYPE_IS_TRIVIAL 1
220 extern YYSTYPE FtaParserlval;