GRASS Programmer's Manual 6.4.1(2011)
|
00001 00002 /* A Bison parser, made by GNU Bison 2.4.1. */ 00003 00004 /* Skeleton interface for Bison's Yacc-like parsers in C 00005 00006 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 00007 Free Software Foundation, Inc. 00008 00009 This program is free software: you can redistribute it and/or modify 00010 it under the terms of the GNU General Public License as published by 00011 the Free Software Foundation, either version 3 of the License, or 00012 (at your option) any later version. 00013 00014 This program is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00021 00022 /* As a special exception, you may create a larger work that contains 00023 part or all of the Bison parser skeleton and distribute that work 00024 under terms of your choice, so long as that work isn't itself a 00025 parser generator using the skeleton or a modified version thereof 00026 as a parser skeleton. Alternatively, if you modify or redistribute 00027 the parser skeleton itself, you may (at your option) remove this 00028 special exception, which will cause the skeleton and the resulting 00029 Bison output files to be licensed under the GNU General Public 00030 License without this special exception. 00031 00032 This special exception was added by the Free Software Foundation in 00033 version 2.2 of Bison. */ 00034 00035 00036 /* Tokens. */ 00037 #ifndef YYTOKENTYPE 00038 # define YYTOKENTYPE 00039 /* Put the tokens into the symbol table, so that GDB and other debuggers 00040 know about them. */ 00041 enum yytokentype { 00042 COMPARISON_OPERATOR = 258, 00043 NAME = 259, 00044 STRING = 260, 00045 INTNUM = 261, 00046 FLOATNUM = 262, 00047 ADD = 263, 00048 DROP = 264, 00049 COLUMN = 265, 00050 EQUAL = 266, 00051 SELECT = 267, 00052 FROM = 268, 00053 WHERE = 269, 00054 DELETE = 270, 00055 INSERT = 271, 00056 INTO = 272, 00057 VALUES = 273, 00058 UPDATE = 274, 00059 SET = 275, 00060 AND = 276, 00061 OR = 277, 00062 NOT = 278, 00063 ALTER = 279, 00064 TABLE = 280, 00065 CREATE = 281, 00066 NULL_VALUE = 282, 00067 VARCHAR = 283, 00068 INT = 284, 00069 INTEGER = 285, 00070 DOUBLE = 286, 00071 PRECISION = 287, 00072 DATE = 288, 00073 TIME = 289, 00074 ORDER = 290, 00075 BY = 291, 00076 IS = 292, 00077 ASC = 293, 00078 DESC = 294 00079 }; 00080 #endif 00081 /* Tokens. */ 00082 #define COMPARISON_OPERATOR 258 00083 #define NAME 259 00084 #define STRING 260 00085 #define INTNUM 261 00086 #define FLOATNUM 262 00087 #define ADD 263 00088 #define DROP 264 00089 #define COLUMN 265 00090 #define EQUAL 266 00091 #define SELECT 267 00092 #define FROM 268 00093 #define WHERE 269 00094 #define DELETE 270 00095 #define INSERT 271 00096 #define INTO 272 00097 #define VALUES 273 00098 #define UPDATE 274 00099 #define SET 275 00100 #define AND 276 00101 #define OR 277 00102 #define NOT 278 00103 #define ALTER 279 00104 #define TABLE 280 00105 #define CREATE 281 00106 #define NULL_VALUE 282 00107 #define VARCHAR 283 00108 #define INT 284 00109 #define INTEGER 285 00110 #define DOUBLE 286 00111 #define PRECISION 287 00112 #define DATE 288 00113 #define TIME 289 00114 #define ORDER 290 00115 #define BY 291 00116 #define IS 292 00117 #define ASC 293 00118 #define DESC 294 00119 00120 00121 00122 00123 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 00124 typedef union YYSTYPE 00125 { 00126 00127 /* Line 1676 of yacc.c */ 00128 #line 34 "yac.y" 00129 00130 int intval; 00131 double floatval; 00132 char *strval; 00133 int subtok; 00134 SQLPNODE *node; 00135 00136 00137 00138 /* Line 1676 of yacc.c */ 00139 #line 140 "y.tab.h" 00140 } YYSTYPE; 00141 # define YYSTYPE_IS_TRIVIAL 1 00142 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 00143 # define YYSTYPE_IS_DECLARED 1 00144 #endif 00145 00146 extern YYSTYPE yylval; 00147 00148