InnoDB Plugin  1.0
pars0grm.h
1 /* A Bison parser, made by GNU Bison 2.3. */
2 
3 /* Skeleton interface for Bison's Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6  Free Software Foundation, Inc.
7 
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)
11  any later version.
12 
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.
17 
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. */
22 
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.
32 
33  This special exception was added by the Free Software Foundation in
34  version 2.2 of Bison. */
35 
36 /* Tokens. */
37 #ifndef YYTOKENTYPE
38 # define YYTOKENTYPE
39  /* Put the tokens into the symbol table, so that GDB and other debuggers
40  know about them. */
41  enum yytokentype {
42  PARS_INT_LIT = 258,
43  PARS_FLOAT_LIT = 259,
44  PARS_STR_LIT = 260,
45  PARS_FIXBINARY_LIT = 261,
46  PARS_BLOB_LIT = 262,
47  PARS_NULL_LIT = 263,
48  PARS_ID_TOKEN = 264,
49  PARS_AND_TOKEN = 265,
50  PARS_OR_TOKEN = 266,
51  PARS_NOT_TOKEN = 267,
52  PARS_GE_TOKEN = 268,
53  PARS_LE_TOKEN = 269,
54  PARS_NE_TOKEN = 270,
55  PARS_PROCEDURE_TOKEN = 271,
56  PARS_IN_TOKEN = 272,
57  PARS_OUT_TOKEN = 273,
58  PARS_BINARY_TOKEN = 274,
59  PARS_BLOB_TOKEN = 275,
60  PARS_INT_TOKEN = 276,
61  PARS_INTEGER_TOKEN = 277,
62  PARS_FLOAT_TOKEN = 278,
63  PARS_CHAR_TOKEN = 279,
64  PARS_IS_TOKEN = 280,
65  PARS_BEGIN_TOKEN = 281,
66  PARS_END_TOKEN = 282,
67  PARS_IF_TOKEN = 283,
68  PARS_THEN_TOKEN = 284,
69  PARS_ELSE_TOKEN = 285,
70  PARS_ELSIF_TOKEN = 286,
71  PARS_LOOP_TOKEN = 287,
72  PARS_WHILE_TOKEN = 288,
73  PARS_RETURN_TOKEN = 289,
74  PARS_SELECT_TOKEN = 290,
75  PARS_SUM_TOKEN = 291,
76  PARS_COUNT_TOKEN = 292,
77  PARS_DISTINCT_TOKEN = 293,
78  PARS_FROM_TOKEN = 294,
79  PARS_WHERE_TOKEN = 295,
80  PARS_FOR_TOKEN = 296,
81  PARS_DDOT_TOKEN = 297,
82  PARS_READ_TOKEN = 298,
83  PARS_ORDER_TOKEN = 299,
84  PARS_BY_TOKEN = 300,
85  PARS_ASC_TOKEN = 301,
86  PARS_DESC_TOKEN = 302,
87  PARS_INSERT_TOKEN = 303,
88  PARS_INTO_TOKEN = 304,
89  PARS_VALUES_TOKEN = 305,
90  PARS_UPDATE_TOKEN = 306,
91  PARS_SET_TOKEN = 307,
92  PARS_DELETE_TOKEN = 308,
93  PARS_CURRENT_TOKEN = 309,
94  PARS_OF_TOKEN = 310,
95  PARS_CREATE_TOKEN = 311,
96  PARS_TABLE_TOKEN = 312,
97  PARS_INDEX_TOKEN = 313,
98  PARS_UNIQUE_TOKEN = 314,
99  PARS_CLUSTERED_TOKEN = 315,
100  PARS_DOES_NOT_FIT_IN_MEM_TOKEN = 316,
101  PARS_ON_TOKEN = 317,
102  PARS_ASSIGN_TOKEN = 318,
103  PARS_DECLARE_TOKEN = 319,
104  PARS_CURSOR_TOKEN = 320,
105  PARS_SQL_TOKEN = 321,
106  PARS_OPEN_TOKEN = 322,
107  PARS_FETCH_TOKEN = 323,
108  PARS_CLOSE_TOKEN = 324,
109  PARS_NOTFOUND_TOKEN = 325,
110  PARS_TO_CHAR_TOKEN = 326,
111  PARS_TO_NUMBER_TOKEN = 327,
112  PARS_TO_BINARY_TOKEN = 328,
113  PARS_BINARY_TO_NUMBER_TOKEN = 329,
114  PARS_SUBSTR_TOKEN = 330,
115  PARS_REPLSTR_TOKEN = 331,
116  PARS_CONCAT_TOKEN = 332,
117  PARS_INSTR_TOKEN = 333,
118  PARS_LENGTH_TOKEN = 334,
119  PARS_SYSDATE_TOKEN = 335,
120  PARS_PRINTF_TOKEN = 336,
121  PARS_ASSERT_TOKEN = 337,
122  PARS_RND_TOKEN = 338,
123  PARS_RND_STR_TOKEN = 339,
124  PARS_ROW_PRINTF_TOKEN = 340,
125  PARS_COMMIT_TOKEN = 341,
126  PARS_ROLLBACK_TOKEN = 342,
127  PARS_WORK_TOKEN = 343,
128  PARS_UNSIGNED_TOKEN = 344,
129  PARS_EXIT_TOKEN = 345,
130  PARS_FUNCTION_TOKEN = 346,
131  PARS_LOCK_TOKEN = 347,
132  PARS_SHARE_TOKEN = 348,
133  PARS_MODE_TOKEN = 349,
134  PARS_LIKE_TOKEN = 350,
135  PARS_LIKE_TOKEN_EXACT = 351,
136  PARS_LIKE_TOKEN_PREFIX = 352,
137  PARS_LIKE_TOKEN_SUFFIX = 353,
138  PARS_LIKE_TOKEN_SUBSTR = 354,
139  PARS_TABLE_NAME_TOKEN = 355,
140  PARS_COMPACT_TOKEN = 356,
141  PARS_BLOCK_SIZE_TOKEN = 357,
142  PARS_BIGINT_TOKEN = 358,
143  NEG = 359
144  };
145 #endif
146 /* Tokens. */
147 #define PARS_INT_LIT 258
148 #define PARS_FLOAT_LIT 259
149 #define PARS_STR_LIT 260
150 #define PARS_FIXBINARY_LIT 261
151 #define PARS_BLOB_LIT 262
152 #define PARS_NULL_LIT 263
153 #define PARS_ID_TOKEN 264
154 #define PARS_AND_TOKEN 265
155 #define PARS_OR_TOKEN 266
156 #define PARS_NOT_TOKEN 267
157 #define PARS_GE_TOKEN 268
158 #define PARS_LE_TOKEN 269
159 #define PARS_NE_TOKEN 270
160 #define PARS_PROCEDURE_TOKEN 271
161 #define PARS_IN_TOKEN 272
162 #define PARS_OUT_TOKEN 273
163 #define PARS_BINARY_TOKEN 274
164 #define PARS_BLOB_TOKEN 275
165 #define PARS_INT_TOKEN 276
166 #define PARS_INTEGER_TOKEN 277
167 #define PARS_FLOAT_TOKEN 278
168 #define PARS_CHAR_TOKEN 279
169 #define PARS_IS_TOKEN 280
170 #define PARS_BEGIN_TOKEN 281
171 #define PARS_END_TOKEN 282
172 #define PARS_IF_TOKEN 283
173 #define PARS_THEN_TOKEN 284
174 #define PARS_ELSE_TOKEN 285
175 #define PARS_ELSIF_TOKEN 286
176 #define PARS_LOOP_TOKEN 287
177 #define PARS_WHILE_TOKEN 288
178 #define PARS_RETURN_TOKEN 289
179 #define PARS_SELECT_TOKEN 290
180 #define PARS_SUM_TOKEN 291
181 #define PARS_COUNT_TOKEN 292
182 #define PARS_DISTINCT_TOKEN 293
183 #define PARS_FROM_TOKEN 294
184 #define PARS_WHERE_TOKEN 295
185 #define PARS_FOR_TOKEN 296
186 #define PARS_DDOT_TOKEN 297
187 #define PARS_READ_TOKEN 298
188 #define PARS_ORDER_TOKEN 299
189 #define PARS_BY_TOKEN 300
190 #define PARS_ASC_TOKEN 301
191 #define PARS_DESC_TOKEN 302
192 #define PARS_INSERT_TOKEN 303
193 #define PARS_INTO_TOKEN 304
194 #define PARS_VALUES_TOKEN 305
195 #define PARS_UPDATE_TOKEN 306
196 #define PARS_SET_TOKEN 307
197 #define PARS_DELETE_TOKEN 308
198 #define PARS_CURRENT_TOKEN 309
199 #define PARS_OF_TOKEN 310
200 #define PARS_CREATE_TOKEN 311
201 #define PARS_TABLE_TOKEN 312
202 #define PARS_INDEX_TOKEN 313
203 #define PARS_UNIQUE_TOKEN 314
204 #define PARS_CLUSTERED_TOKEN 315
205 #define PARS_DOES_NOT_FIT_IN_MEM_TOKEN 316
206 #define PARS_ON_TOKEN 317
207 #define PARS_ASSIGN_TOKEN 318
208 #define PARS_DECLARE_TOKEN 319
209 #define PARS_CURSOR_TOKEN 320
210 #define PARS_SQL_TOKEN 321
211 #define PARS_OPEN_TOKEN 322
212 #define PARS_FETCH_TOKEN 323
213 #define PARS_CLOSE_TOKEN 324
214 #define PARS_NOTFOUND_TOKEN 325
215 #define PARS_TO_CHAR_TOKEN 326
216 #define PARS_TO_NUMBER_TOKEN 327
217 #define PARS_TO_BINARY_TOKEN 328
218 #define PARS_BINARY_TO_NUMBER_TOKEN 329
219 #define PARS_SUBSTR_TOKEN 330
220 #define PARS_REPLSTR_TOKEN 331
221 #define PARS_CONCAT_TOKEN 332
222 #define PARS_INSTR_TOKEN 333
223 #define PARS_LENGTH_TOKEN 334
224 #define PARS_SYSDATE_TOKEN 335
225 #define PARS_PRINTF_TOKEN 336
226 #define PARS_ASSERT_TOKEN 337
227 #define PARS_RND_TOKEN 338
228 #define PARS_RND_STR_TOKEN 339
229 #define PARS_ROW_PRINTF_TOKEN 340
230 #define PARS_COMMIT_TOKEN 341
231 #define PARS_ROLLBACK_TOKEN 342
232 #define PARS_WORK_TOKEN 343
233 #define PARS_UNSIGNED_TOKEN 344
234 #define PARS_EXIT_TOKEN 345
235 #define PARS_FUNCTION_TOKEN 346
236 #define PARS_LOCK_TOKEN 347
237 #define PARS_SHARE_TOKEN 348
238 #define PARS_MODE_TOKEN 349
239 #define PARS_LIKE_TOKEN 350
240 #define PARS_LIKE_TOKEN_EXACT 351
241 #define PARS_LIKE_TOKEN_PREFIX 352
242 #define PARS_LIKE_TOKEN_SUFFIX 353
243 #define PARS_LIKE_TOKEN_SUBSTR 354
244 #define PARS_TABLE_NAME_TOKEN 355
245 #define PARS_COMPACT_TOKEN 356
246 #define PARS_BLOCK_SIZE_TOKEN 357
247 #define PARS_BIGINT_TOKEN 358
248 #define NEG 359
249 
250 
251 
252 
253 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
254 typedef int YYSTYPE;
255 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
256 # define YYSTYPE_IS_DECLARED 1
257 # define YYSTYPE_IS_TRIVIAL 1
258 #endif
259 
260 extern YYSTYPE yylval;
261