~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

Viewing changes to storage/innobase/pars/pars0grm.h

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* A Bison parser, made by GNU Bison 1.875d.  */
 
2
 
 
3
/* Skeleton parser for Yacc-like parsing with Bison,
 
4
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
5
 
 
6
   This program is free software; you can redistribute it and/or modify
 
7
   it under the terms of the GNU General Public License as published by
 
8
   the Free Software Foundation; either version 2, or (at your option)
 
9
   any later version.
 
10
 
 
11
   This program is distributed in the hope that it will be useful,
 
12
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
   GNU General Public License for more details.
 
15
 
 
16
   You should have received a copy of the GNU General Public License
 
17
   along with this program; if not, write to the Free Software
 
18
   Foundation, Inc., 59 Temple Place - Suite 330,
 
19
   Boston, MA 02111-1307, USA.  */
 
20
 
 
21
/* As a special exception, when this file is copied by Bison into a
 
22
   Bison output file, you may use that output file without restriction.
 
23
   This special exception was added by the Free Software Foundation
 
24
   in version 1.24 of Bison.  */
 
25
 
 
26
/* Tokens.  */
 
27
#ifndef YYTOKENTYPE
 
28
# define YYTOKENTYPE
 
29
   /* Put the tokens into the symbol table, so that GDB and other debuggers
 
30
      know about them.  */
 
31
   enum yytokentype {
 
32
     PARS_INT_LIT = 258,
 
33
     PARS_FLOAT_LIT = 259,
 
34
     PARS_STR_LIT = 260,
 
35
     PARS_FIXBINARY_LIT = 261,
 
36
     PARS_BLOB_LIT = 262,
 
37
     PARS_NULL_LIT = 263,
 
38
     PARS_ID_TOKEN = 264,
 
39
     PARS_AND_TOKEN = 265,
 
40
     PARS_OR_TOKEN = 266,
 
41
     PARS_NOT_TOKEN = 267,
 
42
     PARS_GE_TOKEN = 268,
 
43
     PARS_LE_TOKEN = 269,
 
44
     PARS_NE_TOKEN = 270,
 
45
     PARS_PROCEDURE_TOKEN = 271,
 
46
     PARS_IN_TOKEN = 272,
 
47
     PARS_OUT_TOKEN = 273,
 
48
     PARS_BINARY_TOKEN = 274,
 
49
     PARS_BLOB_TOKEN = 275,
 
50
     PARS_INT_TOKEN = 276,
 
51
     PARS_INTEGER_TOKEN = 277,
 
52
     PARS_FLOAT_TOKEN = 278,
 
53
     PARS_CHAR_TOKEN = 279,
 
54
     PARS_IS_TOKEN = 280,
 
55
     PARS_BEGIN_TOKEN = 281,
 
56
     PARS_END_TOKEN = 282,
 
57
     PARS_IF_TOKEN = 283,
 
58
     PARS_THEN_TOKEN = 284,
 
59
     PARS_ELSE_TOKEN = 285,
 
60
     PARS_ELSIF_TOKEN = 286,
 
61
     PARS_LOOP_TOKEN = 287,
 
62
     PARS_WHILE_TOKEN = 288,
 
63
     PARS_RETURN_TOKEN = 289,
 
64
     PARS_SELECT_TOKEN = 290,
 
65
     PARS_SUM_TOKEN = 291,
 
66
     PARS_COUNT_TOKEN = 292,
 
67
     PARS_DISTINCT_TOKEN = 293,
 
68
     PARS_FROM_TOKEN = 294,
 
69
     PARS_WHERE_TOKEN = 295,
 
70
     PARS_FOR_TOKEN = 296,
 
71
     PARS_DDOT_TOKEN = 297,
 
72
     PARS_READ_TOKEN = 298,
 
73
     PARS_ORDER_TOKEN = 299,
 
74
     PARS_BY_TOKEN = 300,
 
75
     PARS_ASC_TOKEN = 301,
 
76
     PARS_DESC_TOKEN = 302,
 
77
     PARS_INSERT_TOKEN = 303,
 
78
     PARS_INTO_TOKEN = 304,
 
79
     PARS_VALUES_TOKEN = 305,
 
80
     PARS_UPDATE_TOKEN = 306,
 
81
     PARS_SET_TOKEN = 307,
 
82
     PARS_DELETE_TOKEN = 308,
 
83
     PARS_CURRENT_TOKEN = 309,
 
84
     PARS_OF_TOKEN = 310,
 
85
     PARS_CREATE_TOKEN = 311,
 
86
     PARS_TABLE_TOKEN = 312,
 
87
     PARS_INDEX_TOKEN = 313,
 
88
     PARS_UNIQUE_TOKEN = 314,
 
89
     PARS_CLUSTERED_TOKEN = 315,
 
90
     PARS_DOES_NOT_FIT_IN_MEM_TOKEN = 316,
 
91
     PARS_ON_TOKEN = 317,
 
92
     PARS_ASSIGN_TOKEN = 318,
 
93
     PARS_DECLARE_TOKEN = 319,
 
94
     PARS_CURSOR_TOKEN = 320,
 
95
     PARS_SQL_TOKEN = 321,
 
96
     PARS_OPEN_TOKEN = 322,
 
97
     PARS_FETCH_TOKEN = 323,
 
98
     PARS_CLOSE_TOKEN = 324,
 
99
     PARS_NOTFOUND_TOKEN = 325,
 
100
     PARS_TO_CHAR_TOKEN = 326,
 
101
     PARS_TO_NUMBER_TOKEN = 327,
 
102
     PARS_TO_BINARY_TOKEN = 328,
 
103
     PARS_BINARY_TO_NUMBER_TOKEN = 329,
 
104
     PARS_SUBSTR_TOKEN = 330,
 
105
     PARS_REPLSTR_TOKEN = 331,
 
106
     PARS_CONCAT_TOKEN = 332,
 
107
     PARS_INSTR_TOKEN = 333,
 
108
     PARS_LENGTH_TOKEN = 334,
 
109
     PARS_SYSDATE_TOKEN = 335,
 
110
     PARS_PRINTF_TOKEN = 336,
 
111
     PARS_ASSERT_TOKEN = 337,
 
112
     PARS_RND_TOKEN = 338,
 
113
     PARS_RND_STR_TOKEN = 339,
 
114
     PARS_ROW_PRINTF_TOKEN = 340,
 
115
     PARS_COMMIT_TOKEN = 341,
 
116
     PARS_ROLLBACK_TOKEN = 342,
 
117
     PARS_WORK_TOKEN = 343,
 
118
     PARS_UNSIGNED_TOKEN = 344,
 
119
     PARS_EXIT_TOKEN = 345,
 
120
     PARS_FUNCTION_TOKEN = 346,
 
121
     PARS_LOCK_TOKEN = 347,
 
122
     PARS_SHARE_TOKEN = 348,
 
123
     PARS_MODE_TOKEN = 349,
 
124
     NEG = 350
 
125
   };
 
126
#endif
 
127
#define PARS_INT_LIT 258
 
128
#define PARS_FLOAT_LIT 259
 
129
#define PARS_STR_LIT 260
 
130
#define PARS_FIXBINARY_LIT 261
 
131
#define PARS_BLOB_LIT 262
 
132
#define PARS_NULL_LIT 263
 
133
#define PARS_ID_TOKEN 264
 
134
#define PARS_AND_TOKEN 265
 
135
#define PARS_OR_TOKEN 266
 
136
#define PARS_NOT_TOKEN 267
 
137
#define PARS_GE_TOKEN 268
 
138
#define PARS_LE_TOKEN 269
 
139
#define PARS_NE_TOKEN 270
 
140
#define PARS_PROCEDURE_TOKEN 271
 
141
#define PARS_IN_TOKEN 272
 
142
#define PARS_OUT_TOKEN 273
 
143
#define PARS_BINARY_TOKEN 274
 
144
#define PARS_BLOB_TOKEN 275
 
145
#define PARS_INT_TOKEN 276
 
146
#define PARS_INTEGER_TOKEN 277
 
147
#define PARS_FLOAT_TOKEN 278
 
148
#define PARS_CHAR_TOKEN 279
 
149
#define PARS_IS_TOKEN 280
 
150
#define PARS_BEGIN_TOKEN 281
 
151
#define PARS_END_TOKEN 282
 
152
#define PARS_IF_TOKEN 283
 
153
#define PARS_THEN_TOKEN 284
 
154
#define PARS_ELSE_TOKEN 285
 
155
#define PARS_ELSIF_TOKEN 286
 
156
#define PARS_LOOP_TOKEN 287
 
157
#define PARS_WHILE_TOKEN 288
 
158
#define PARS_RETURN_TOKEN 289
 
159
#define PARS_SELECT_TOKEN 290
 
160
#define PARS_SUM_TOKEN 291
 
161
#define PARS_COUNT_TOKEN 292
 
162
#define PARS_DISTINCT_TOKEN 293
 
163
#define PARS_FROM_TOKEN 294
 
164
#define PARS_WHERE_TOKEN 295
 
165
#define PARS_FOR_TOKEN 296
 
166
#define PARS_DDOT_TOKEN 297
 
167
#define PARS_READ_TOKEN 298
 
168
#define PARS_ORDER_TOKEN 299
 
169
#define PARS_BY_TOKEN 300
 
170
#define PARS_ASC_TOKEN 301
 
171
#define PARS_DESC_TOKEN 302
 
172
#define PARS_INSERT_TOKEN 303
 
173
#define PARS_INTO_TOKEN 304
 
174
#define PARS_VALUES_TOKEN 305
 
175
#define PARS_UPDATE_TOKEN 306
 
176
#define PARS_SET_TOKEN 307
 
177
#define PARS_DELETE_TOKEN 308
 
178
#define PARS_CURRENT_TOKEN 309
 
179
#define PARS_OF_TOKEN 310
 
180
#define PARS_CREATE_TOKEN 311
 
181
#define PARS_TABLE_TOKEN 312
 
182
#define PARS_INDEX_TOKEN 313
 
183
#define PARS_UNIQUE_TOKEN 314
 
184
#define PARS_CLUSTERED_TOKEN 315
 
185
#define PARS_DOES_NOT_FIT_IN_MEM_TOKEN 316
 
186
#define PARS_ON_TOKEN 317
 
187
#define PARS_ASSIGN_TOKEN 318
 
188
#define PARS_DECLARE_TOKEN 319
 
189
#define PARS_CURSOR_TOKEN 320
 
190
#define PARS_SQL_TOKEN 321
 
191
#define PARS_OPEN_TOKEN 322
 
192
#define PARS_FETCH_TOKEN 323
 
193
#define PARS_CLOSE_TOKEN 324
 
194
#define PARS_NOTFOUND_TOKEN 325
 
195
#define PARS_TO_CHAR_TOKEN 326
 
196
#define PARS_TO_NUMBER_TOKEN 327
 
197
#define PARS_TO_BINARY_TOKEN 328
 
198
#define PARS_BINARY_TO_NUMBER_TOKEN 329
 
199
#define PARS_SUBSTR_TOKEN 330
 
200
#define PARS_REPLSTR_TOKEN 331
 
201
#define PARS_CONCAT_TOKEN 332
 
202
#define PARS_INSTR_TOKEN 333
 
203
#define PARS_LENGTH_TOKEN 334
 
204
#define PARS_SYSDATE_TOKEN 335
 
205
#define PARS_PRINTF_TOKEN 336
 
206
#define PARS_ASSERT_TOKEN 337
 
207
#define PARS_RND_TOKEN 338
 
208
#define PARS_RND_STR_TOKEN 339
 
209
#define PARS_ROW_PRINTF_TOKEN 340
 
210
#define PARS_COMMIT_TOKEN 341
 
211
#define PARS_ROLLBACK_TOKEN 342
 
212
#define PARS_WORK_TOKEN 343
 
213
#define PARS_UNSIGNED_TOKEN 344
 
214
#define PARS_EXIT_TOKEN 345
 
215
#define PARS_FUNCTION_TOKEN 346
 
216
#define PARS_LOCK_TOKEN 347
 
217
#define PARS_SHARE_TOKEN 348
 
218
#define PARS_MODE_TOKEN 349
 
219
#define NEG 350
 
220
 
 
221
 
 
222
 
 
223
 
 
224
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
 
225
typedef int YYSTYPE;
 
226
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
 
227
# define YYSTYPE_IS_DECLARED 1
 
228
# define YYSTYPE_IS_TRIVIAL 1
 
229
#endif
 
230
 
 
231
extern YYSTYPE yylval;
 
232
 
 
233
 
 
234