00001 /* A Bison parser, made by GNU Bison 1.875d. */ 00002 00003 /* Skeleton parser for Yacc-like parsing with Bison, 00004 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2, or (at your option) 00009 any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 59 Temple Place - Suite 330, 00019 Boston, MA 02111-1307, USA. */ 00020 00021 /* As a special exception, when this file is copied by Bison into a 00022 Bison output file, you may use that output file without restriction. 00023 This special exception was added by the Free Software Foundation 00024 in version 1.24 of Bison. */ 00025 00026 /* Tokens. */ 00027 #ifndef YYTOKENTYPE 00028 # define YYTOKENTYPE 00029 /* Put the tokens into the symbol table, so that GDB and other debuggers 00030 know about them. */ 00031 enum yytokentype { 00032 PARS_INT_LIT = 258, 00033 PARS_FLOAT_LIT = 259, 00034 PARS_STR_LIT = 260, 00035 PARS_FIXBINARY_LIT = 261, 00036 PARS_BLOB_LIT = 262, 00037 PARS_NULL_LIT = 263, 00038 PARS_ID_TOKEN = 264, 00039 PARS_AND_TOKEN = 265, 00040 PARS_OR_TOKEN = 266, 00041 PARS_NOT_TOKEN = 267, 00042 PARS_GE_TOKEN = 268, 00043 PARS_LE_TOKEN = 269, 00044 PARS_NE_TOKEN = 270, 00045 PARS_PROCEDURE_TOKEN = 271, 00046 PARS_IN_TOKEN = 272, 00047 PARS_OUT_TOKEN = 273, 00048 PARS_BINARY_TOKEN = 274, 00049 PARS_BLOB_TOKEN = 275, 00050 PARS_INT_TOKEN = 276, 00051 PARS_INTEGER_TOKEN = 277, 00052 PARS_FLOAT_TOKEN = 278, 00053 PARS_CHAR_TOKEN = 279, 00054 PARS_IS_TOKEN = 280, 00055 PARS_BEGIN_TOKEN = 281, 00056 PARS_END_TOKEN = 282, 00057 PARS_IF_TOKEN = 283, 00058 PARS_THEN_TOKEN = 284, 00059 PARS_ELSE_TOKEN = 285, 00060 PARS_ELSIF_TOKEN = 286, 00061 PARS_LOOP_TOKEN = 287, 00062 PARS_WHILE_TOKEN = 288, 00063 PARS_RETURN_TOKEN = 289, 00064 PARS_SELECT_TOKEN = 290, 00065 PARS_SUM_TOKEN = 291, 00066 PARS_COUNT_TOKEN = 292, 00067 PARS_DISTINCT_TOKEN = 293, 00068 PARS_FROM_TOKEN = 294, 00069 PARS_WHERE_TOKEN = 295, 00070 PARS_FOR_TOKEN = 296, 00071 PARS_DDOT_TOKEN = 297, 00072 PARS_READ_TOKEN = 298, 00073 PARS_ORDER_TOKEN = 299, 00074 PARS_BY_TOKEN = 300, 00075 PARS_ASC_TOKEN = 301, 00076 PARS_DESC_TOKEN = 302, 00077 PARS_INSERT_TOKEN = 303, 00078 PARS_INTO_TOKEN = 304, 00079 PARS_VALUES_TOKEN = 305, 00080 PARS_UPDATE_TOKEN = 306, 00081 PARS_SET_TOKEN = 307, 00082 PARS_DELETE_TOKEN = 308, 00083 PARS_CURRENT_TOKEN = 309, 00084 PARS_OF_TOKEN = 310, 00085 PARS_CREATE_TOKEN = 311, 00086 PARS_TABLE_TOKEN = 312, 00087 PARS_INDEX_TOKEN = 313, 00088 PARS_UNIQUE_TOKEN = 314, 00089 PARS_CLUSTERED_TOKEN = 315, 00090 PARS_DOES_NOT_FIT_IN_MEM_TOKEN = 316, 00091 PARS_ON_TOKEN = 317, 00092 PARS_ASSIGN_TOKEN = 318, 00093 PARS_DECLARE_TOKEN = 319, 00094 PARS_CURSOR_TOKEN = 320, 00095 PARS_SQL_TOKEN = 321, 00096 PARS_OPEN_TOKEN = 322, 00097 PARS_FETCH_TOKEN = 323, 00098 PARS_CLOSE_TOKEN = 324, 00099 PARS_NOTFOUND_TOKEN = 325, 00100 PARS_TO_CHAR_TOKEN = 326, 00101 PARS_TO_NUMBER_TOKEN = 327, 00102 PARS_TO_BINARY_TOKEN = 328, 00103 PARS_BINARY_TO_NUMBER_TOKEN = 329, 00104 PARS_SUBSTR_TOKEN = 330, 00105 PARS_REPLSTR_TOKEN = 331, 00106 PARS_CONCAT_TOKEN = 332, 00107 PARS_INSTR_TOKEN = 333, 00108 PARS_LENGTH_TOKEN = 334, 00109 PARS_SYSDATE_TOKEN = 335, 00110 PARS_PRINTF_TOKEN = 336, 00111 PARS_ASSERT_TOKEN = 337, 00112 PARS_RND_TOKEN = 338, 00113 PARS_RND_STR_TOKEN = 339, 00114 PARS_ROW_PRINTF_TOKEN = 340, 00115 PARS_COMMIT_TOKEN = 341, 00116 PARS_ROLLBACK_TOKEN = 342, 00117 PARS_WORK_TOKEN = 343, 00118 PARS_UNSIGNED_TOKEN = 344, 00119 PARS_EXIT_TOKEN = 345, 00120 PARS_FUNCTION_TOKEN = 346, 00121 PARS_LOCK_TOKEN = 347, 00122 PARS_SHARE_TOKEN = 348, 00123 PARS_MODE_TOKEN = 349, 00124 NEG = 350 00125 }; 00126 #endif 00127 #define PARS_INT_LIT 258 00128 #define PARS_FLOAT_LIT 259 00129 #define PARS_STR_LIT 260 00130 #define PARS_FIXBINARY_LIT 261 00131 #define PARS_BLOB_LIT 262 00132 #define PARS_NULL_LIT 263 00133 #define PARS_ID_TOKEN 264 00134 #define PARS_AND_TOKEN 265 00135 #define PARS_OR_TOKEN 266 00136 #define PARS_NOT_TOKEN 267 00137 #define PARS_GE_TOKEN 268 00138 #define PARS_LE_TOKEN 269 00139 #define PARS_NE_TOKEN 270 00140 #define PARS_PROCEDURE_TOKEN 271 00141 #define PARS_IN_TOKEN 272 00142 #define PARS_OUT_TOKEN 273 00143 #define PARS_BINARY_TOKEN 274 00144 #define PARS_BLOB_TOKEN 275 00145 #define PARS_INT_TOKEN 276 00146 #define PARS_INTEGER_TOKEN 277 00147 #define PARS_FLOAT_TOKEN 278 00148 #define PARS_CHAR_TOKEN 279 00149 #define PARS_IS_TOKEN 280 00150 #define PARS_BEGIN_TOKEN 281 00151 #define PARS_END_TOKEN 282 00152 #define PARS_IF_TOKEN 283 00153 #define PARS_THEN_TOKEN 284 00154 #define PARS_ELSE_TOKEN 285 00155 #define PARS_ELSIF_TOKEN 286 00156 #define PARS_LOOP_TOKEN 287 00157 #define PARS_WHILE_TOKEN 288 00158 #define PARS_RETURN_TOKEN 289 00159 #define PARS_SELECT_TOKEN 290 00160 #define PARS_SUM_TOKEN 291 00161 #define PARS_COUNT_TOKEN 292 00162 #define PARS_DISTINCT_TOKEN 293 00163 #define PARS_FROM_TOKEN 294 00164 #define PARS_WHERE_TOKEN 295 00165 #define PARS_FOR_TOKEN 296 00166 #define PARS_DDOT_TOKEN 297 00167 #define PARS_READ_TOKEN 298 00168 #define PARS_ORDER_TOKEN 299 00169 #define PARS_BY_TOKEN 300 00170 #define PARS_ASC_TOKEN 301 00171 #define PARS_DESC_TOKEN 302 00172 #define PARS_INSERT_TOKEN 303 00173 #define PARS_INTO_TOKEN 304 00174 #define PARS_VALUES_TOKEN 305 00175 #define PARS_UPDATE_TOKEN 306 00176 #define PARS_SET_TOKEN 307 00177 #define PARS_DELETE_TOKEN 308 00178 #define PARS_CURRENT_TOKEN 309 00179 #define PARS_OF_TOKEN 310 00180 #define PARS_CREATE_TOKEN 311 00181 #define PARS_TABLE_TOKEN 312 00182 #define PARS_INDEX_TOKEN 313 00183 #define PARS_UNIQUE_TOKEN 314 00184 #define PARS_CLUSTERED_TOKEN 315 00185 #define PARS_DOES_NOT_FIT_IN_MEM_TOKEN 316 00186 #define PARS_ON_TOKEN 317 00187 #define PARS_ASSIGN_TOKEN 318 00188 #define PARS_DECLARE_TOKEN 319 00189 #define PARS_CURSOR_TOKEN 320 00190 #define PARS_SQL_TOKEN 321 00191 #define PARS_OPEN_TOKEN 322 00192 #define PARS_FETCH_TOKEN 323 00193 #define PARS_CLOSE_TOKEN 324 00194 #define PARS_NOTFOUND_TOKEN 325 00195 #define PARS_TO_CHAR_TOKEN 326 00196 #define PARS_TO_NUMBER_TOKEN 327 00197 #define PARS_TO_BINARY_TOKEN 328 00198 #define PARS_BINARY_TO_NUMBER_TOKEN 329 00199 #define PARS_SUBSTR_TOKEN 330 00200 #define PARS_REPLSTR_TOKEN 331 00201 #define PARS_CONCAT_TOKEN 332 00202 #define PARS_INSTR_TOKEN 333 00203 #define PARS_LENGTH_TOKEN 334 00204 #define PARS_SYSDATE_TOKEN 335 00205 #define PARS_PRINTF_TOKEN 336 00206 #define PARS_ASSERT_TOKEN 337 00207 #define PARS_RND_TOKEN 338 00208 #define PARS_RND_STR_TOKEN 339 00209 #define PARS_ROW_PRINTF_TOKEN 340 00210 #define PARS_COMMIT_TOKEN 341 00211 #define PARS_ROLLBACK_TOKEN 342 00212 #define PARS_WORK_TOKEN 343 00213 #define PARS_UNSIGNED_TOKEN 344 00214 #define PARS_EXIT_TOKEN 345 00215 #define PARS_FUNCTION_TOKEN 346 00216 #define PARS_LOCK_TOKEN 347 00217 #define PARS_SHARE_TOKEN 348 00218 #define PARS_MODE_TOKEN 349 00219 #define NEG 350 00220 00221 00222 00223 00224 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) 00225 typedef int YYSTYPE; 00226 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 00227 # define YYSTYPE_IS_DECLARED 1 00228 # define YYSTYPE_IS_TRIVIAL 1 00229 #endif 00230 00231 extern YYSTYPE yylval; 00232 00233 00234
1.4.7

