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