GRASS Programmer's Manual
6.4.3(2013)-r
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
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
{
49
COMPARISON_OPERATOR
= 258,
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
yytokentype
Definition:
y.tab.c:113
NOT
#define NOT
Definition:
y.tab.c:174
YYSTYPE::floatval
double floatval
Definition:
y.tab.c:201
DELETE
#define DELETE
Definition:
y.tab.c:166
ORDER
#define ORDER
Definition:
y.tab.c:186
DESC
#define DESC
Definition:
y.tab.c:190
PRECISION
#define PRECISION
Definition:
y.tab.c:183
YYSTYPE::subtok
int subtok
Definition:
y.tab.c:203
INTO
#define INTO
Definition:
y.tab.c:168
TIME
#define TIME
Definition:
y.tab.c:185
YYSTYPE::intval
int intval
Definition:
y.tab.c:200
yydebug
int yydebug
Definition:
y.tab.c:1004
TABLE
#define TABLE
Definition:
y.tab.c:176
STRING
#define STRING
Definition:
y.tab.c:156
EQUAL
#define EQUAL
Definition:
y.tab.c:162
YYSTYPE::strval
char * strval
Definition:
y.tab.c:202
INT
#define INT
Definition:
y.tab.c:180
INSERT
#define INSERT
Definition:
y.tab.c:167
COLUMN
Definition:
form.c:18
UPDATE
#define UPDATE
Definition:
y.tab.c:170
VALUES
#define VALUES
Definition:
y.tab.c:169
CREATE
#define CREATE
Definition:
y.tab.c:177
yyparse
int yyparse()
yylval
YYSTYPE yylval
DOUBLE
#define DOUBLE
Definition:
y.tab.c:182
WHERE
#define WHERE
Definition:
y.tab.c:165
FLOATNUM
#define FLOATNUM
Definition:
y.tab.c:158
BY
#define BY
Definition:
y.tab.c:187
ASC
#define ASC
Definition:
y.tab.c:189
INTEGER
#define INTEGER
Definition:
y.tab.c:181
NAME
#define NAME
Definition:
y.tab.c:155
YYSTYPE
union YYSTYPE YYSTYPE
INTNUM
#define INTNUM
Definition:
y.tab.c:157
ALTER
#define ALTER
Definition:
y.tab.c:175
YYSTYPE::node
SQLPNODE * node
Definition:
y.tab.c:204
SET
#define SET
Definition:
y.tab.c:171
SELECT
#define SELECT
Definition:
y.tab.c:163
YYSTYPE
Definition:
y.tab.c:195
NULL_VALUE
#define NULL_VALUE
Definition:
y.tab.c:178
OR
#define OR
Definition:
y.tab.c:173
AND
#define AND
Definition:
y.tab.c:172
FROM
#define FROM
Definition:
y.tab.c:164
COMPARISON_OPERATOR
#define COMPARISON_OPERATOR
Definition:
y.tab.c:154
ADD
#define ADD
Definition:
y.tab.c:159
VARCHAR
#define VARCHAR
Definition:
y.tab.c:179
IS
#define IS
Definition:
y.tab.c:188
DROP
#define DROP
Definition:
y.tab.c:160
DATE
#define DATE
Definition:
y.tab.c:184
lib
db
sqlp
y.tab.h
Generated on Mon Dec 16 2013 12:20:06 for GRASS Programmer's Manual by
1.8.5