GRASS Programmer's Manual
6.5.svn(2014)-r66266
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
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 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_Y_TAB_H_INCLUDED
34
# define YY_YY_Y_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
46
enum
yytokentype
47
{
48
COMPARISON_OPERATOR
= 258,
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 "yac.y"
/* yacc.c:1909 */
132
133
int
intval
;
134
double
floatval
;
135
char
*
strval
;
136
int
subtok
;
137
SQLPNODE *
node
;
138
139
#line 140 "y.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_Y_TAB_H_INCLUDED */
yytokentype
yytokentype
Definition:
y.tab.c:109
NOT
#define NOT
Definition:
y.tab.c:171
YYSTYPE::floatval
double floatval
Definition:
y.tab.c:197
DELETE
#define DELETE
Definition:
y.tab.c:163
ORDER
#define ORDER
Definition:
y.tab.c:183
DESC
#define DESC
Definition:
y.tab.c:187
PRECISION
#define PRECISION
Definition:
y.tab.c:180
YYSTYPE::subtok
int subtok
Definition:
y.tab.c:199
INTO
#define INTO
Definition:
y.tab.c:165
TIME
#define TIME
Definition:
y.tab.c:182
YYSTYPE::intval
int intval
Definition:
y.tab.c:196
yydebug
int yydebug
Definition:
y.tab.c:892
TABLE
#define TABLE
Definition:
y.tab.c:173
STRING
#define STRING
Definition:
y.tab.c:153
EQUAL
#define EQUAL
Definition:
y.tab.c:159
YYSTYPE::strval
char * strval
Definition:
y.tab.c:198
INT
#define INT
Definition:
y.tab.c:177
INSERT
#define INSERT
Definition:
y.tab.c:164
COLUMN
Definition:
form.c:18
UPDATE
#define UPDATE
Definition:
y.tab.c:167
VALUES
#define VALUES
Definition:
y.tab.c:166
CREATE
#define CREATE
Definition:
y.tab.c:174
yylval
YYSTYPE yylval
Definition:
y.tab.c:1164
DOUBLE
#define DOUBLE
Definition:
y.tab.c:179
WHERE
#define WHERE
Definition:
y.tab.c:162
FLOATNUM
#define FLOATNUM
Definition:
y.tab.c:155
yyparse
int yyparse(void)
Definition:
y.tab.c:1174
BY
#define BY
Definition:
y.tab.c:184
ASC
#define ASC
Definition:
y.tab.c:186
INTEGER
#define INTEGER
Definition:
y.tab.c:178
NAME
#define NAME
Definition:
y.tab.c:152
INTNUM
#define INTNUM
Definition:
y.tab.c:154
ALTER
#define ALTER
Definition:
y.tab.c:172
YYSTYPE::node
SQLPNODE * node
Definition:
y.tab.c:200
SET
#define SET
Definition:
y.tab.c:168
SELECT
#define SELECT
Definition:
y.tab.c:160
YYSTYPE
Definition:
y.tab.c:192
NULL_VALUE
#define NULL_VALUE
Definition:
y.tab.c:175
OR
#define OR
Definition:
y.tab.c:170
AND
#define AND
Definition:
y.tab.c:169
FROM
#define FROM
Definition:
y.tab.c:161
COMPARISON_OPERATOR
#define COMPARISON_OPERATOR
Definition:
y.tab.c:151
ADD
#define ADD
Definition:
y.tab.c:156
VARCHAR
#define VARCHAR
Definition:
y.tab.c:176
IS
#define IS
Definition:
y.tab.c:185
DROP
#define DROP
Definition:
y.tab.c:157
DATE
#define DATE
Definition:
y.tab.c:181
lib
db
sqlp
y.tab.h
Generated on Sat Jan 2 2016 01:46:50 for GRASS Programmer's Manual by
1.8.5