GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71915
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sqlp.tab.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 3.0.2. */
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_SQLP_TAB_H_INCLUDED
34 # define YY_YY_SQLP_TAB_H_INCLUDED
35 /* Debug traces. */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int yydebug;
41 #endif
42 
43 /* Token type. */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
47  {
49  NAME = 259,
50  STRING = 260,
51  INTNUM = 261,
52  FLOATNUM = 262,
53  ADD = 263,
54  DROP = 264,
55  COLUMN = 265,
56  EQUAL = 266,
57  SELECT = 267,
58  FROM = 268,
59  WHERE = 269,
60  DELETE = 270,
61  INSERT = 271,
62  INTO = 272,
63  VALUES = 273,
64  UPDATE = 274,
65  SET = 275,
66  AND = 276,
67  OR = 277,
68  NOT = 278,
69  ALTER = 279,
70  TABLE = 280,
71  CREATE = 281,
72  NULL_VALUE = 282,
73  VARCHAR = 283,
74  INT = 284,
75  INTEGER = 285,
76  DOUBLE = 286,
77  PRECISION = 287,
78  DATE = 288,
79  TIME = 289,
80  ORDER = 290,
81  BY = 291,
82  IS = 292,
83  ASC = 293,
84  DESC = 294
85  };
86 #endif
87 /* Tokens. */
88 #define COMPARISON_OPERATOR 258
89 #define NAME 259
90 #define STRING 260
91 #define INTNUM 261
92 #define FLOATNUM 262
93 #define ADD 263
94 #define DROP 264
95 #define COLUMN 265
96 #define EQUAL 266
97 #define SELECT 267
98 #define FROM 268
99 #define WHERE 269
100 #define DELETE 270
101 #define INSERT 271
102 #define INTO 272
103 #define VALUES 273
104 #define UPDATE 274
105 #define SET 275
106 #define AND 276
107 #define OR 277
108 #define NOT 278
109 #define ALTER 279
110 #define TABLE 280
111 #define CREATE 281
112 #define NULL_VALUE 282
113 #define VARCHAR 283
114 #define INT 284
115 #define INTEGER 285
116 #define DOUBLE 286
117 #define PRECISION 287
118 #define DATE 288
119 #define TIME 289
120 #define ORDER 290
121 #define BY 291
122 #define IS 292
123 #define ASC 293
124 #define DESC 294
125 
126 /* Value type. */
127 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
128 typedef union YYSTYPE YYSTYPE;
129 union YYSTYPE
130 {
131 #line 34 "sqlp.y" /* yacc.c:1909 */
132 
133  int intval;
134  double floatval;
135  char *strval;
136  int subtok;
137  SQLPNODE *node;
138 
139 #line 140 "sqlp.tab.h" /* yacc.c:1909 */
140 };
141 # define YYSTYPE_IS_TRIVIAL 1
142 # define YYSTYPE_IS_DECLARED 1
143 #endif
144 
145 
146 extern YYSTYPE yylval;
147 
148 int yyparse (void);
149 
150 #endif /* !YY_YY_SQLP_TAB_H_INCLUDED */
#define TABLE
Definition: sqlp.tab.c:173
#define SET
Definition: sqlp.tab.c:168
#define BY
Definition: sqlp.tab.c:184
#define OR
Definition: sqlp.tab.c:170
#define VALUES
Definition: sqlp.tab.c:166
#define SELECT
Definition: sqlp.tab.c:160
#define WHERE
Definition: sqlp.tab.c:162
int yydebug
Definition: sqlp.tab.c:892
#define ASC
Definition: sqlp.tab.c:186
#define AND
Definition: sqlp.tab.c:169
#define NOT
Definition: sqlp.tab.c:171
#define NAME
Definition: sqlp.tab.c:152
#define INSERT
Definition: sqlp.tab.c:164
#define IS
Definition: sqlp.tab.c:185
#define DOUBLE
Definition: sqlp.tab.c:179
#define CREATE
Definition: sqlp.tab.c:174
#define FLOATNUM
Definition: sqlp.tab.c:155
#define DATE
Definition: sqlp.tab.c:181
#define DELETE
Definition: sqlp.tab.c:163
#define INTEGER
Definition: sqlp.tab.c:178
#define NULL_VALUE
Definition: sqlp.tab.c:175
Definition: sqlp.h:79
#define VARCHAR
Definition: sqlp.tab.c:176
#define INTO
Definition: sqlp.tab.c:165
union YYSTYPE YYSTYPE
Definition: sqlp.tab.c:191
#define ALTER
Definition: sqlp.tab.c:172
#define FROM
Definition: ogsf.h:141
#define ADD
Definition: sqlp.tab.c:156
yytokentype
Definition: sqlp.tab.c:109
int yyparse(void)
Definition: sqlp.tab.c:1174
#define DESC
Definition: sqlp.tab.c:187
#define STRING
Definition: sqlp.tab.c:153
#define DROP
Definition: sqlp.tab.c:157
#define INT
Definition: sqlp.tab.c:177
#define TIME
Definition: sqlp.tab.c:182
#define UPDATE
Definition: sqlp.tab.c:167
#define ORDER
Definition: sqlp.tab.c:183
#define COMPARISON_OPERATOR
Definition: sqlp.tab.c:151
#define PRECISION
Definition: sqlp.tab.c:180
#define INTNUM
Definition: sqlp.tab.c:154
YYSTYPE yylval
Definition: sqlp.tab.c:1164
#define COLUMN
Definition: sqlp.tab.c:158
#define EQUAL
Definition: sqlp.tab.c:159