GRASS Programmer's Manual  6.4.3(2013)-r
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
y.tab.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 2.7.12-4996. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2013 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 #ifndef YY_YY_Y_TAB_H_INCLUDED
34 # define YY_YY_Y_TAB_H_INCLUDED
35 /* Enabling traces. */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int yydebug;
41 #endif
42 
43 /* Tokens. */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
46  /* Put the tokens into the symbol table, so that GDB and other debuggers
47  know about them. */
48  enum yytokentype {
50  NAME = 259,
51  STRING = 260,
52  INTNUM = 261,
53  FLOATNUM = 262,
54  ADD = 263,
55  DROP = 264,
56  COLUMN = 265,
57  EQUAL = 266,
58  SELECT = 267,
59  FROM = 268,
60  WHERE = 269,
61  DELETE = 270,
62  INSERT = 271,
63  INTO = 272,
64  VALUES = 273,
65  UPDATE = 274,
66  SET = 275,
67  AND = 276,
68  OR = 277,
69  NOT = 278,
70  ALTER = 279,
71  TABLE = 280,
72  CREATE = 281,
73  NULL_VALUE = 282,
74  VARCHAR = 283,
75  INT = 284,
76  INTEGER = 285,
77  DOUBLE = 286,
78  PRECISION = 287,
79  DATE = 288,
80  TIME = 289,
81  ORDER = 290,
82  BY = 291,
83  IS = 292,
84  ASC = 293,
85  DESC = 294
86  };
87 #endif
88 /* Tokens. */
89 #define COMPARISON_OPERATOR 258
90 #define NAME 259
91 #define STRING 260
92 #define INTNUM 261
93 #define FLOATNUM 262
94 #define ADD 263
95 #define DROP 264
96 #define COLUMN 265
97 #define EQUAL 266
98 #define SELECT 267
99 #define FROM 268
100 #define WHERE 269
101 #define DELETE 270
102 #define INSERT 271
103 #define INTO 272
104 #define VALUES 273
105 #define UPDATE 274
106 #define SET 275
107 #define AND 276
108 #define OR 277
109 #define NOT 278
110 #define ALTER 279
111 #define TABLE 280
112 #define CREATE 281
113 #define NULL_VALUE 282
114 #define VARCHAR 283
115 #define INT 284
116 #define INTEGER 285
117 #define DOUBLE 286
118 #define PRECISION 287
119 #define DATE 288
120 #define TIME 289
121 #define ORDER 290
122 #define BY 291
123 #define IS 292
124 #define ASC 293
125 #define DESC 294
126 
127 
128 
129 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
130 typedef union YYSTYPE
131 {
132 /* Line 2053 of yacc.c */
133 #line 34 "yac.y"
134 
135  int intval;
136  double floatval;
137  char *strval;
138  int subtok;
139  SQLPNODE *node;
140 
141 
142 /* Line 2053 of yacc.c */
143 #line 144 "y.tab.h"
144 } YYSTYPE;
145 # define YYSTYPE_IS_TRIVIAL 1
146 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
147 # define YYSTYPE_IS_DECLARED 1
148 #endif
149 
150 extern YYSTYPE yylval;
151 
152 #ifdef YYPARSE_PARAM
153 #if defined __STDC__ || defined __cplusplus
154 int yyparse (void *YYPARSE_PARAM);
155 #else
156 int yyparse ();
157 #endif
158 #else /* ! YYPARSE_PARAM */
159 #if defined __STDC__ || defined __cplusplus
160 int yyparse (void);
161 #else
162 int yyparse ();
163 #endif
164 #endif /* ! YYPARSE_PARAM */
165 
166 #endif /* !YY_YY_Y_TAB_H_INCLUDED */
yytokentype
Definition: y.tab.c:113
#define NOT
Definition: y.tab.c:174
double floatval
Definition: y.tab.c:201
#define DELETE
Definition: y.tab.c:166
#define ORDER
Definition: y.tab.c:186
#define DESC
Definition: y.tab.c:190
#define PRECISION
Definition: y.tab.c:183
int subtok
Definition: y.tab.c:203
#define INTO
Definition: y.tab.c:168
#define TIME
Definition: y.tab.c:185
int intval
Definition: y.tab.c:200
int yydebug
Definition: y.tab.c:1004
#define TABLE
Definition: y.tab.c:176
#define STRING
Definition: y.tab.c:156
#define EQUAL
Definition: y.tab.c:162
char * strval
Definition: y.tab.c:202
#define INT
Definition: y.tab.c:180
#define INSERT
Definition: y.tab.c:167
Definition: form.c:18
#define UPDATE
Definition: y.tab.c:170
#define VALUES
Definition: y.tab.c:169
#define CREATE
Definition: y.tab.c:177
int yyparse()
YYSTYPE yylval
#define DOUBLE
Definition: y.tab.c:182
#define WHERE
Definition: y.tab.c:165
#define FLOATNUM
Definition: y.tab.c:158
#define BY
Definition: y.tab.c:187
#define ASC
Definition: y.tab.c:189
#define INTEGER
Definition: y.tab.c:181
#define NAME
Definition: y.tab.c:155
union YYSTYPE YYSTYPE
#define INTNUM
Definition: y.tab.c:157
#define ALTER
Definition: y.tab.c:175
SQLPNODE * node
Definition: y.tab.c:204
#define SET
Definition: y.tab.c:171
#define SELECT
Definition: y.tab.c:163
Definition: y.tab.c:195
#define NULL_VALUE
Definition: y.tab.c:178
#define OR
Definition: y.tab.c:173
#define AND
Definition: y.tab.c:172
#define FROM
Definition: y.tab.c:164
#define COMPARISON_OPERATOR
Definition: y.tab.c:154
#define ADD
Definition: y.tab.c:159
#define VARCHAR
Definition: y.tab.c:179
#define IS
Definition: y.tab.c:188
#define DROP
Definition: y.tab.c:160
#define DATE
Definition: y.tab.c:184