1 /* A Bison parser, made by GNU Bison 3.3.2.  */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5    Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation,
6    Inc.
7 
8    This program is free software: you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation, either version 3 of the License, or
11    (at your option) any later version.
12 
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17 
18    You should have received a copy of the GNU General Public License
19    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
20 
21 /* As a special exception, you may create a larger work that contains
22    part or all of the Bison parser skeleton and distribute that work
23    under terms of your choice, so long as that work isn't itself a
24    parser generator using the skeleton or a modified version thereof
25    as a parser skeleton.  Alternatively, if you modify or redistribute
26    the parser skeleton itself, you may (at your option) remove this
27    special exception, which will cause the skeleton and the resulting
28    Bison output files to be licensed under the GNU General Public
29    License without this special exception.
30 
31    This special exception was added by the Free Software Foundation in
32    version 2.2 of Bison.  */
33 
34 /* Undocumented macros, especially those whose name start with YY_,
35    are private implementation details.  Do not rely on them.  */
36 
37 #ifndef YY_YY_Y_TAB_H_INCLUDED
38 # define YY_YY_Y_TAB_H_INCLUDED
39 /* Debug traces.  */
40 #ifndef YYDEBUG
41 # define YYDEBUG 0
42 #endif
43 #if YYDEBUG
44 extern int yydebug;
45 #endif
46 
47 /* Token type.  */
48 #ifndef YYTOKENTYPE
49 # define YYTOKENTYPE
50   enum yytokentype
51   {
52     K_ADD = 258,
53     K_ADMIN = 259,
54     K_ALL = 260,
55     K_BACKUP = 261,
56     K_CLIENT = 262,
57     K_CLONE = 263,
58     K_CLUSTER = 264,
59     K_CLUSTERNAME = 265,
60     K_COMMENT = 266,
61     K_CONFIG = 267,
62     K_CONFIRMED = 268,
63     K_CONNINFO = 269,
64     K_CONNRETRY = 270,
65     K_COPY = 271,
66     K_CREATE = 272,
67     K_DATE = 273,
68     K_DFORMAT = 274,
69     K_DROP = 275,
70     K_ECHO = 276,
71     K_ERROR = 277,
72     K_EVENT = 278,
73     K_EXECUTE = 279,
74     K_EXIT = 280,
75     K_FAILOVER = 281,
76     K_FALSE = 282,
77     K_FILENAME = 283,
78     K_FINISH = 284,
79     K_FOR = 285,
80     K_FORWARD = 286,
81     K_FULL = 287,
82     K_FUNCTIONS = 288,
83     K_ID = 289,
84     K_INIT = 290,
85     K_KEY = 291,
86     K_LISTEN = 292,
87     K_LOCK = 293,
88     K_LOG = 294,
89     K_MERGE = 295,
90     K_MOVE = 296,
91     K_NAME = 297,
92     K_NEW = 298,
93     K_NO = 299,
94     K_NODE = 300,
95     K_OFF = 301,
96     K_OLD = 302,
97     K_ON = 303,
98     K_ONLY = 304,
99     K_ORIGIN = 305,
100     K_PATH = 306,
101     K_PREPARE = 307,
102     K_PROVIDER = 308,
103     K_QUALIFIED = 309,
104     K_RECEIVER = 310,
105     K_RESTART = 311,
106     K_SCRIPT = 312,
107     K_SEQUENCE = 313,
108     K_SERVER = 314,
109     K_SET = 315,
110     K_SLEEP = 316,
111     K_SQL = 317,
112     K_STORE = 318,
113     K_SUBSCRIBE = 319,
114     K_SUCCESS = 320,
115     K_SWITCH = 321,
116     K_SYNC = 322,
117     K_TABLE = 323,
118     K_TIMEOUT = 324,
119     K_TRUE = 325,
120     K_TRY = 326,
121     K_UNINSTALL = 327,
122     K_UNLOCK = 328,
123     K_UNSUBSCRIBE = 329,
124     K_UPDATE = 330,
125     K_WAIT = 331,
126     K_YES = 332,
127     K_OMIT = 333,
128     K_REPAIR = 334,
129     K_RESUBSCRIBE = 335,
130     K_SECONDS = 336,
131     K_SEQUENCES = 337,
132     K_TABLES = 338,
133     T_IDENT = 339,
134     T_LITERAL = 340,
135     T_NUMBER = 341
136   };
137 #endif
138 /* Tokens.  */
139 #define K_ADD 258
140 #define K_ADMIN 259
141 #define K_ALL 260
142 #define K_BACKUP 261
143 #define K_CLIENT 262
144 #define K_CLONE 263
145 #define K_CLUSTER 264
146 #define K_CLUSTERNAME 265
147 #define K_COMMENT 266
148 #define K_CONFIG 267
149 #define K_CONFIRMED 268
150 #define K_CONNINFO 269
151 #define K_CONNRETRY 270
152 #define K_COPY 271
153 #define K_CREATE 272
154 #define K_DATE 273
155 #define K_DFORMAT 274
156 #define K_DROP 275
157 #define K_ECHO 276
158 #define K_ERROR 277
159 #define K_EVENT 278
160 #define K_EXECUTE 279
161 #define K_EXIT 280
162 #define K_FAILOVER 281
163 #define K_FALSE 282
164 #define K_FILENAME 283
165 #define K_FINISH 284
166 #define K_FOR 285
167 #define K_FORWARD 286
168 #define K_FULL 287
169 #define K_FUNCTIONS 288
170 #define K_ID 289
171 #define K_INIT 290
172 #define K_KEY 291
173 #define K_LISTEN 292
174 #define K_LOCK 293
175 #define K_LOG 294
176 #define K_MERGE 295
177 #define K_MOVE 296
178 #define K_NAME 297
179 #define K_NEW 298
180 #define K_NO 299
181 #define K_NODE 300
182 #define K_OFF 301
183 #define K_OLD 302
184 #define K_ON 303
185 #define K_ONLY 304
186 #define K_ORIGIN 305
187 #define K_PATH 306
188 #define K_PREPARE 307
189 #define K_PROVIDER 308
190 #define K_QUALIFIED 309
191 #define K_RECEIVER 310
192 #define K_RESTART 311
193 #define K_SCRIPT 312
194 #define K_SEQUENCE 313
195 #define K_SERVER 314
196 #define K_SET 315
197 #define K_SLEEP 316
198 #define K_SQL 317
199 #define K_STORE 318
200 #define K_SUBSCRIBE 319
201 #define K_SUCCESS 320
202 #define K_SWITCH 321
203 #define K_SYNC 322
204 #define K_TABLE 323
205 #define K_TIMEOUT 324
206 #define K_TRUE 325
207 #define K_TRY 326
208 #define K_UNINSTALL 327
209 #define K_UNLOCK 328
210 #define K_UNSUBSCRIBE 329
211 #define K_UPDATE 330
212 #define K_WAIT 331
213 #define K_YES 332
214 #define K_OMIT 333
215 #define K_REPAIR 334
216 #define K_RESUBSCRIBE 335
217 #define K_SECONDS 336
218 #define K_SEQUENCES 337
219 #define K_TABLES 338
220 #define T_IDENT 339
221 #define T_LITERAL 340
222 #define T_NUMBER 341
223 
224 /* Value type.  */
225 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
226 
227 union YYSTYPE
228 {
229 #line 54 "parser.y" /* yacc.c:1921  */
230 
231 	int32		ival;
232 	char		*str;
233 	option_list	*opt_list;
234 	SlonikAdmInfo	*adm_info;
235 	SlonikStmt	*statement;
236 	failed_node_entry * failed_node_entry;
237 
238 #line 239 "y.tab.h" /* yacc.c:1921  */
239 };
240 
241 typedef union YYSTYPE YYSTYPE;
242 # define YYSTYPE_IS_TRIVIAL 1
243 # define YYSTYPE_IS_DECLARED 1
244 #endif
245 
246 
247 extern YYSTYPE yylval;
248 
249 int yyparse (void);
250 
251 #endif /* !YY_YY_Y_TAB_H_INCLUDED  */
252