GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
y.tab.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 2.5. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
6 
7  This program is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 
20 /* As a special exception, you may create a larger work that contains
21  part or all of the Bison parser skeleton and distribute that work
22  under terms of your choice, so long as that work isn't itself a
23  parser generator using the skeleton or a modified version thereof
24  as a parser skeleton. Alternatively, if you modify or redistribute
25  the parser skeleton itself, you may (at your option) remove this
26  special exception, which will cause the skeleton and the resulting
27  Bison output files to be licensed under the GNU General Public
28  License without this special exception.
29 
30  This special exception was added by the Free Software Foundation in
31  version 2.2 of Bison. */
32 
33 
34 /* Tokens. */
35 #ifndef YYTOKENTYPE
36 # define YYTOKENTYPE
37  /* Put the tokens into the symbol table, so that GDB and other debuggers
38  know about them. */
39  enum yytokentype {
41  NAME = 259,
42  STRING = 260,
43  INTNUM = 261,
44  FLOATNUM = 262,
45  ADD = 263,
46  DROP = 264,
47  COLUMN = 265,
48  EQUAL = 266,
49  SELECT = 267,
50  FROM = 268,
51  WHERE = 269,
52  DELETE = 270,
53  INSERT = 271,
54  INTO = 272,
55  VALUES = 273,
56  UPDATE = 274,
57  SET = 275,
58  AND = 276,
59  OR = 277,
60  NOT = 278,
61  ALTER = 279,
62  TABLE = 280,
63  CREATE = 281,
64  NULL_VALUE = 282,
65  VARCHAR = 283,
66  INT = 284,
67  INTEGER = 285,
68  DOUBLE = 286,
69  PRECISION = 287,
70  DATE = 288,
71  TIME = 289,
72  ORDER = 290,
73  BY = 291,
74  IS = 292,
75  ASC = 293,
76  DESC = 294
77  };
78 #endif
79 /* Tokens. */
80 #define COMPARISON_OPERATOR 258
81 #define NAME 259
82 #define STRING 260
83 #define INTNUM 261
84 #define FLOATNUM 262
85 #define ADD 263
86 #define DROP 264
87 #define COLUMN 265
88 #define EQUAL 266
89 #define SELECT 267
90 #define FROM 268
91 #define WHERE 269
92 #define DELETE 270
93 #define INSERT 271
94 #define INTO 272
95 #define VALUES 273
96 #define UPDATE 274
97 #define SET 275
98 #define AND 276
99 #define OR 277
100 #define NOT 278
101 #define ALTER 279
102 #define TABLE 280
103 #define CREATE 281
104 #define NULL_VALUE 282
105 #define VARCHAR 283
106 #define INT 284
107 #define INTEGER 285
108 #define DOUBLE 286
109 #define PRECISION 287
110 #define DATE 288
111 #define TIME 289
112 #define ORDER 290
113 #define BY 291
114 #define IS 292
115 #define ASC 293
116 #define DESC 294
117 
118 
119 
120 
121 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
122 typedef union YYSTYPE
123 {
124 
125 /* Line 2068 of yacc.c */
126 #line 34 "yac.y"
127 
128  int intval;
129  double floatval;
130  char *strval;
131  int subtok;
132  SQLPNODE *node;
133 
134 
135 
136 /* Line 2068 of yacc.c */
137 #line 138 "y.tab.h"
138 } YYSTYPE;
139 # define YYSTYPE_IS_TRIVIAL 1
140 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
141 # define YYSTYPE_IS_DECLARED 1
142 #endif
143 
144 extern YYSTYPE yylval;
145 
146