ReactOS  0.4.15-dev-489-g75a0787
sql.tab.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 3.0. */
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_SQL_E_REACTOSSYNC_GCC_DLL_WIN32_MSI_SQL_TAB_H_INCLUDED
34 # define YY_SQL_E_REACTOSSYNC_GCC_DLL_WIN32_MSI_SQL_TAB_H_INCLUDED
35 /* Debug traces. */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int sql_debug;
41 #endif
42 
43 /* Token type. */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
47  {
48  TK_ALTER = 258,
49  TK_AND = 259,
50  TK_BY = 260,
51  TK_CHAR = 261,
52  TK_COMMA = 262,
53  TK_CREATE = 263,
54  TK_DELETE = 264,
55  TK_DROP = 265,
56  TK_DISTINCT = 266,
57  TK_DOT = 267,
58  TK_EQ = 268,
59  TK_FREE = 269,
60  TK_FROM = 270,
61  TK_GE = 271,
62  TK_GT = 272,
63  TK_HOLD = 273,
64  TK_ADD = 274,
65  TK_ID = 275,
66  TK_ILLEGAL = 276,
67  TK_INSERT = 277,
68  TK_INT = 278,
69  TK_INTEGER = 279,
70  TK_INTO = 280,
71  TK_IS = 281,
72  TK_KEY = 282,
73  TK_LE = 283,
74  TK_LONG = 284,
75  TK_LONGCHAR = 285,
76  TK_LP = 286,
77  TK_LT = 287,
79  TK_MINUS = 289,
80  TK_NE = 290,
81  TK_NOT = 291,
82  TK_NULL = 292,
83  TK_OBJECT = 293,
84  TK_OR = 294,
85  TK_ORDER = 295,
86  TK_PRIMARY = 296,
87  TK_RP = 297,
88  TK_SELECT = 298,
89  TK_SET = 299,
90  TK_SHORT = 300,
91  TK_SPACE = 301,
92  TK_STAR = 302,
93  TK_STRING = 303,
94  TK_TABLE = 304,
95  TK_TEMPORARY = 305,
96  TK_UPDATE = 306,
97  TK_VALUES = 307,
98  TK_WHERE = 308,
99  TK_WILDCARD = 309,
100  END_OF_FILE = 310,
101  ILLEGAL = 311,
102  SPACE = 312,
104  COMMENT = 314,
105  FUNCTION = 315,
106  COLUMN = 316,
107  TK_LIKE = 318,
109  };
110 #endif
111 
112 /* Value type. */
113 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
114 typedef union YYSTYPE YYSTYPE;
115 union YYSTYPE
116 {
117 #line 68 "sql.y" /* yacc.c:1909 */
118 
119  struct sql_str str;
120  LPWSTR string;
122  MSIVIEW *query;
123  struct expr *expr;
125  int integer;
126 
127 #line 128 "sql.tab.h" /* yacc.c:1909 */
128 };
129 # define YYSTYPE_IS_TRIVIAL 1
130 # define YYSTYPE_IS_DECLARED 1
131 #endif
132 
133 
134 
135 int sql_parse (SQL_input *info);
136 
137 #endif /* !YY_SQL_E_REACTOSSYNC_GCC_DLL_WIN32_MSI_SQL_TAB_H_INCLUDED */
Definition: sql.tab.h:73
Definition: sql.tab.h:58
MSIVIEW * query
Definition: sql.tab.c:242
LPWSTR string
Definition: sql.tab.c:240
Definition: query.h:59
Definition: sql.tab.h:77
Definition: sql.tab.h:50
Definition: query.h:86
BOOL integer
Definition: sql.tab.h:89
Definition: sql.tab.h:76
Definition: sql.tab.h:49
jsstr_t * str
Definition: parser.tab.c:295
Definition: sql.tab.h:72
Definition: sql.tab.h:81
Definition: sql.tab.h:65
Definition: sql.tab.h:102
Definition: sql.tab.h:87
Definition: sql.tab.h:62
yytokentype
Definition: sql.tab.h:68
column_info * column_list
Definition: sql.tab.c:241
Definition: sql.tab.h:80
Definition: sql.tab.h:64
unsigned short USHORT
Definition: pedump.c:61
Definition: sql.tab.h:84
expression_t * expr
Definition: parser.tab.c:302
USHORT column_type
Definition: sql.tab.c:244
int sql_parse(SQL_input *info)
Definition: sql.tab.h:71
WCHAR * LPWSTR
Definition: xmlstorage.h:184
Definition: sql.tab.h:57
Definition: sql.tab.h:61