1 | /* A Bison parser, made by GNU Bison 3.0.4. */ |
2 | |
3 | /* Bison interface for Yacc-like parsers in C |
4 | |
5 | Copyright (C) 1984, 1989-1990, 2000-2015 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_BASE_YY_PREPROC_H_INCLUDED |
34 | # define YY_BASE_YY_PREPROC_H_INCLUDED |
35 | /* Debug traces. */ |
36 | #ifndef YYDEBUG |
37 | # define YYDEBUG 0 |
38 | #endif |
39 | #if YYDEBUG |
40 | extern int base_yydebug; |
41 | #endif |
42 | |
43 | /* Token type. */ |
44 | #ifndef YYTOKENTYPE |
45 | # define YYTOKENTYPE |
46 | enum yytokentype |
47 | { |
48 | SQL_ALLOCATE = 258, |
49 | SQL_AUTOCOMMIT = 259, |
50 | SQL_BOOL = 260, |
51 | SQL_BREAK = 261, |
52 | SQL_CARDINALITY = 262, |
53 | SQL_CONNECT = 263, |
54 | SQL_COUNT = 264, |
55 | SQL_DATETIME_INTERVAL_CODE = 265, |
56 | SQL_DATETIME_INTERVAL_PRECISION = 266, |
57 | SQL_DESCRIBE = 267, |
58 | SQL_DESCRIPTOR = 268, |
59 | SQL_DISCONNECT = 269, |
60 | SQL_FOUND = 270, |
61 | SQL_FREE = 271, |
62 | SQL_GET = 272, |
63 | SQL_GO = 273, |
64 | SQL_GOTO = 274, |
65 | SQL_IDENTIFIED = 275, |
66 | SQL_INDICATOR = 276, |
67 | SQL_KEY_MEMBER = 277, |
68 | SQL_LENGTH = 278, |
69 | SQL_LONG = 279, |
70 | SQL_NULLABLE = 280, |
71 | SQL_OCTET_LENGTH = 281, |
72 | SQL_OPEN = 282, |
73 | SQL_OUTPUT = 283, |
74 | SQL_REFERENCE = 284, |
75 | SQL_RETURNED_LENGTH = 285, |
76 | SQL_RETURNED_OCTET_LENGTH = 286, |
77 | SQL_SCALE = 287, |
78 | SQL_SECTION = 288, |
79 | SQL_SHORT = 289, |
80 | SQL_SIGNED = 290, |
81 | SQL_SQLERROR = 291, |
82 | SQL_SQLPRINT = 292, |
83 | SQL_SQLWARNING = 293, |
84 | SQL_START = 294, |
85 | SQL_STOP = 295, |
86 | SQL_STRUCT = 296, |
87 | SQL_UNSIGNED = 297, |
88 | SQL_VAR = 298, |
89 | SQL_WHENEVER = 299, |
90 | S_ADD = 300, |
91 | S_AND = 301, |
92 | S_ANYTHING = 302, |
93 | S_AUTO = 303, |
94 | S_CONST = 304, |
95 | S_DEC = 305, |
96 | S_DIV = 306, |
97 | S_DOTPOINT = 307, |
98 | S_EQUAL = 308, |
99 | S_EXTERN = 309, |
100 | S_INC = 310, |
101 | S_LSHIFT = 311, |
102 | S_MEMPOINT = 312, |
103 | S_MEMBER = 313, |
104 | S_MOD = 314, |
105 | S_MUL = 315, |
106 | S_NEQUAL = 316, |
107 | S_OR = 317, |
108 | S_REGISTER = 318, |
109 | S_RSHIFT = 319, |
110 | S_STATIC = 320, |
111 | S_SUB = 321, |
112 | S_VOLATILE = 322, |
113 | S_TYPEDEF = 323, |
114 | CSTRING = 324, |
115 | CVARIABLE = 325, |
116 | CPP_LINE = 326, |
117 | IP = 327, |
118 | DOLCONST = 328, |
119 | ECONST = 329, |
120 | NCONST = 330, |
121 | UCONST = 331, |
122 | UIDENT = 332, |
123 | IDENT = 333, |
124 | FCONST = 334, |
125 | SCONST = 335, |
126 | BCONST = 336, |
127 | XCONST = 337, |
128 | Op = 338, |
129 | ICONST = 339, |
130 | PARAM = 340, |
131 | TYPECAST = 341, |
132 | DOT_DOT = 342, |
133 | COLON_EQUALS = 343, |
134 | EQUALS_GREATER = 344, |
135 | LESS_EQUALS = 345, |
136 | GREATER_EQUALS = 346, |
137 | NOT_EQUALS = 347, |
138 | ABORT_P = 348, |
139 | ABSOLUTE_P = 349, |
140 | ACCESS = 350, |
141 | ACTION = 351, |
142 | ADD_P = 352, |
143 | ADMIN = 353, |
144 | AFTER = 354, |
145 | AGGREGATE = 355, |
146 | ALL = 356, |
147 | ALSO = 357, |
148 | ALTER = 358, |
149 | ALWAYS = 359, |
150 | ANALYSE = 360, |
151 | ANALYZE = 361, |
152 | AND = 362, |
153 | ANY = 363, |
154 | ARRAY = 364, |
155 | AS = 365, |
156 | ASC = 366, |
157 | ASSERTION = 367, |
158 | ASSIGNMENT = 368, |
159 | ASYMMETRIC = 369, |
160 | AT = 370, |
161 | ATTACH = 371, |
162 | ATTRIBUTE = 372, |
163 | AUTHORIZATION = 373, |
164 | BACKWARD = 374, |
165 | BEFORE = 375, |
166 | BEGIN_P = 376, |
167 | BETWEEN = 377, |
168 | BIGINT = 378, |
169 | BINARY = 379, |
170 | BIT = 380, |
171 | BOOLEAN_P = 381, |
172 | BOTH = 382, |
173 | BY = 383, |
174 | CACHE = 384, |
175 | CALL = 385, |
176 | CALLED = 386, |
177 | CASCADE = 387, |
178 | CASCADED = 388, |
179 | CASE = 389, |
180 | CAST = 390, |
181 | CATALOG_P = 391, |
182 | CHAIN = 392, |
183 | CHAR_P = 393, |
184 | CHARACTER = 394, |
185 | CHARACTERISTICS = 395, |
186 | CHECK = 396, |
187 | CHECKPOINT = 397, |
188 | CLASS = 398, |
189 | CLOSE = 399, |
190 | CLUSTER = 400, |
191 | COALESCE = 401, |
192 | COLLATE = 402, |
193 | COLLATION = 403, |
194 | COLUMN = 404, |
195 | COLUMNS = 405, |
196 | = 406, |
197 | = 407, |
198 | COMMIT = 408, |
199 | COMMITTED = 409, |
200 | CONCURRENTLY = 410, |
201 | CONFIGURATION = 411, |
202 | CONFLICT = 412, |
203 | CONNECTION = 413, |
204 | CONSTRAINT = 414, |
205 | CONSTRAINTS = 415, |
206 | CONTENT_P = 416, |
207 | CONTINUE_P = 417, |
208 | CONVERSION_P = 418, |
209 | COPY = 419, |
210 | COST = 420, |
211 | CREATE = 421, |
212 | CROSS = 422, |
213 | CSV = 423, |
214 | CUBE = 424, |
215 | CURRENT_P = 425, |
216 | CURRENT_CATALOG = 426, |
217 | CURRENT_DATE = 427, |
218 | CURRENT_ROLE = 428, |
219 | CURRENT_SCHEMA = 429, |
220 | CURRENT_TIME = 430, |
221 | CURRENT_TIMESTAMP = 431, |
222 | CURRENT_USER = 432, |
223 | CURSOR = 433, |
224 | CYCLE = 434, |
225 | DATA_P = 435, |
226 | DATABASE = 436, |
227 | DAY_P = 437, |
228 | DEALLOCATE = 438, |
229 | DEC = 439, |
230 | DECIMAL_P = 440, |
231 | DECLARE = 441, |
232 | DEFAULT = 442, |
233 | DEFAULTS = 443, |
234 | DEFERRABLE = 444, |
235 | DEFERRED = 445, |
236 | DEFINER = 446, |
237 | DELETE_P = 447, |
238 | DELIMITER = 448, |
239 | DELIMITERS = 449, |
240 | DEPENDS = 450, |
241 | DESC = 451, |
242 | DETACH = 452, |
243 | DICTIONARY = 453, |
244 | DISABLE_P = 454, |
245 | DISCARD = 455, |
246 | DISTINCT = 456, |
247 | DO = 457, |
248 | DOCUMENT_P = 458, |
249 | DOMAIN_P = 459, |
250 | DOUBLE_P = 460, |
251 | DROP = 461, |
252 | EACH = 462, |
253 | ELSE = 463, |
254 | ENABLE_P = 464, |
255 | ENCODING = 465, |
256 | ENCRYPTED = 466, |
257 | END_P = 467, |
258 | ENUM_P = 468, |
259 | ESCAPE = 469, |
260 | EVENT = 470, |
261 | EXCEPT = 471, |
262 | EXCLUDE = 472, |
263 | EXCLUDING = 473, |
264 | EXCLUSIVE = 474, |
265 | EXECUTE = 475, |
266 | EXISTS = 476, |
267 | EXPLAIN = 477, |
268 | EXTENSION = 478, |
269 | EXTERNAL = 479, |
270 | = 480, |
271 | FALSE_P = 481, |
272 | FAMILY = 482, |
273 | FETCH = 483, |
274 | FILTER = 484, |
275 | FIRST_P = 485, |
276 | FLOAT_P = 486, |
277 | FOLLOWING = 487, |
278 | FOR = 488, |
279 | FORCE = 489, |
280 | FOREIGN = 490, |
281 | FORWARD = 491, |
282 | FREEZE = 492, |
283 | FROM = 493, |
284 | FULL = 494, |
285 | FUNCTION = 495, |
286 | FUNCTIONS = 496, |
287 | GENERATED = 497, |
288 | GLOBAL = 498, |
289 | GRANT = 499, |
290 | GRANTED = 500, |
291 | GREATEST = 501, |
292 | GROUP_P = 502, |
293 | GROUPING = 503, |
294 | GROUPS = 504, |
295 | HANDLER = 505, |
296 | HAVING = 506, |
297 | = 507, |
298 | HOLD = 508, |
299 | HOUR_P = 509, |
300 | IDENTITY_P = 510, |
301 | IF_P = 511, |
302 | ILIKE = 512, |
303 | IMMEDIATE = 513, |
304 | IMMUTABLE = 514, |
305 | IMPLICIT_P = 515, |
306 | IMPORT_P = 516, |
307 | IN_P = 517, |
308 | INCLUDE = 518, |
309 | INCLUDING = 519, |
310 | INCREMENT = 520, |
311 | INDEX = 521, |
312 | INDEXES = 522, |
313 | INHERIT = 523, |
314 | INHERITS = 524, |
315 | INITIALLY = 525, |
316 | INLINE_P = 526, |
317 | INNER_P = 527, |
318 | INOUT = 528, |
319 | INPUT_P = 529, |
320 | INSENSITIVE = 530, |
321 | INSERT = 531, |
322 | INSTEAD = 532, |
323 | INT_P = 533, |
324 | INTEGER = 534, |
325 | INTERSECT = 535, |
326 | INTERVAL = 536, |
327 | INTO = 537, |
328 | INVOKER = 538, |
329 | IS = 539, |
330 | ISNULL = 540, |
331 | ISOLATION = 541, |
332 | JOIN = 542, |
333 | KEY = 543, |
334 | LABEL = 544, |
335 | LANGUAGE = 545, |
336 | LARGE_P = 546, |
337 | LAST_P = 547, |
338 | LATERAL_P = 548, |
339 | LEADING = 549, |
340 | LEAKPROOF = 550, |
341 | LEAST = 551, |
342 | LEFT = 552, |
343 | LEVEL = 553, |
344 | LIKE = 554, |
345 | LIMIT = 555, |
346 | LISTEN = 556, |
347 | LOAD = 557, |
348 | LOCAL = 558, |
349 | LOCALTIME = 559, |
350 | LOCALTIMESTAMP = 560, |
351 | LOCATION = 561, |
352 | LOCK_P = 562, |
353 | LOCKED = 563, |
354 | LOGGED = 564, |
355 | MAPPING = 565, |
356 | MATCH = 566, |
357 | MATERIALIZED = 567, |
358 | MAXVALUE = 568, |
359 | METHOD = 569, |
360 | MINUTE_P = 570, |
361 | MINVALUE = 571, |
362 | MODE = 572, |
363 | MONTH_P = 573, |
364 | MOVE = 574, |
365 | NAME_P = 575, |
366 | NAMES = 576, |
367 | NATIONAL = 577, |
368 | NATURAL = 578, |
369 | NCHAR = 579, |
370 | NEW = 580, |
371 | NEXT = 581, |
372 | NO = 582, |
373 | NONE = 583, |
374 | NOT = 584, |
375 | NOTHING = 585, |
376 | NOTIFY = 586, |
377 | NOTNULL = 587, |
378 | NOWAIT = 588, |
379 | NULL_P = 589, |
380 | NULLIF = 590, |
381 | NULLS_P = 591, |
382 | NUMERIC = 592, |
383 | OBJECT_P = 593, |
384 | OF = 594, |
385 | OFF = 595, |
386 | OFFSET = 596, |
387 | OIDS = 597, |
388 | OLD = 598, |
389 | ON = 599, |
390 | ONLY = 600, |
391 | OPERATOR = 601, |
392 | OPTION = 602, |
393 | OPTIONS = 603, |
394 | OR = 604, |
395 | ORDER = 605, |
396 | ORDINALITY = 606, |
397 | OTHERS = 607, |
398 | OUT_P = 608, |
399 | OUTER_P = 609, |
400 | OVER = 610, |
401 | OVERLAPS = 611, |
402 | OVERLAY = 612, |
403 | OVERRIDING = 613, |
404 | OWNED = 614, |
405 | OWNER = 615, |
406 | PARALLEL = 616, |
407 | PARSER = 617, |
408 | PARTIAL = 618, |
409 | PARTITION = 619, |
410 | PASSING = 620, |
411 | PASSWORD = 621, |
412 | PLACING = 622, |
413 | PLANS = 623, |
414 | POLICY = 624, |
415 | POSITION = 625, |
416 | PRECEDING = 626, |
417 | PRECISION = 627, |
418 | PRESERVE = 628, |
419 | PREPARE = 629, |
420 | PREPARED = 630, |
421 | PRIMARY = 631, |
422 | PRIOR = 632, |
423 | PRIVILEGES = 633, |
424 | PROCEDURAL = 634, |
425 | PROCEDURE = 635, |
426 | PROCEDURES = 636, |
427 | PROGRAM = 637, |
428 | PUBLICATION = 638, |
429 | QUOTE = 639, |
430 | RANGE = 640, |
431 | READ = 641, |
432 | REAL = 642, |
433 | REASSIGN = 643, |
434 | RECHECK = 644, |
435 | RECURSIVE = 645, |
436 | REF = 646, |
437 | REFERENCES = 647, |
438 | REFERENCING = 648, |
439 | REFRESH = 649, |
440 | REINDEX = 650, |
441 | RELATIVE_P = 651, |
442 | RELEASE = 652, |
443 | RENAME = 653, |
444 | REPEATABLE = 654, |
445 | REPLACE = 655, |
446 | REPLICA = 656, |
447 | RESET = 657, |
448 | RESTART = 658, |
449 | RESTRICT = 659, |
450 | RETURNING = 660, |
451 | RETURNS = 661, |
452 | REVOKE = 662, |
453 | RIGHT = 663, |
454 | ROLE = 664, |
455 | ROLLBACK = 665, |
456 | ROLLUP = 666, |
457 | ROUTINE = 667, |
458 | ROUTINES = 668, |
459 | ROW = 669, |
460 | ROWS = 670, |
461 | RULE = 671, |
462 | SAVEPOINT = 672, |
463 | SCHEMA = 673, |
464 | SCHEMAS = 674, |
465 | SCROLL = 675, |
466 | SEARCH = 676, |
467 | SECOND_P = 677, |
468 | SECURITY = 678, |
469 | SELECT = 679, |
470 | SEQUENCE = 680, |
471 | SEQUENCES = 681, |
472 | SERIALIZABLE = 682, |
473 | SERVER = 683, |
474 | SESSION = 684, |
475 | SESSION_USER = 685, |
476 | SET = 686, |
477 | SETS = 687, |
478 | SETOF = 688, |
479 | SHARE = 689, |
480 | SHOW = 690, |
481 | SIMILAR = 691, |
482 | SIMPLE = 692, |
483 | SKIP = 693, |
484 | SMALLINT = 694, |
485 | SNAPSHOT = 695, |
486 | SOME = 696, |
487 | SQL_P = 697, |
488 | STABLE = 698, |
489 | STANDALONE_P = 699, |
490 | START = 700, |
491 | STATEMENT = 701, |
492 | STATISTICS = 702, |
493 | STDIN = 703, |
494 | STDOUT = 704, |
495 | STORAGE = 705, |
496 | STORED = 706, |
497 | STRICT_P = 707, |
498 | STRIP_P = 708, |
499 | SUBSCRIPTION = 709, |
500 | SUBSTRING = 710, |
501 | SUPPORT = 711, |
502 | SYMMETRIC = 712, |
503 | SYSID = 713, |
504 | SYSTEM_P = 714, |
505 | TABLE = 715, |
506 | TABLES = 716, |
507 | TABLESAMPLE = 717, |
508 | TABLESPACE = 718, |
509 | TEMP = 719, |
510 | TEMPLATE = 720, |
511 | TEMPORARY = 721, |
512 | TEXT_P = 722, |
513 | THEN = 723, |
514 | TIES = 724, |
515 | TIME = 725, |
516 | TIMESTAMP = 726, |
517 | TO = 727, |
518 | TRAILING = 728, |
519 | TRANSACTION = 729, |
520 | TRANSFORM = 730, |
521 | TREAT = 731, |
522 | TRIGGER = 732, |
523 | TRIM = 733, |
524 | TRUE_P = 734, |
525 | TRUNCATE = 735, |
526 | TRUSTED = 736, |
527 | TYPE_P = 737, |
528 | TYPES_P = 738, |
529 | UNBOUNDED = 739, |
530 | UNCOMMITTED = 740, |
531 | UNENCRYPTED = 741, |
532 | UNION = 742, |
533 | UNIQUE = 743, |
534 | UNKNOWN = 744, |
535 | UNLISTEN = 745, |
536 | UNLOGGED = 746, |
537 | UNTIL = 747, |
538 | UPDATE = 748, |
539 | USER = 749, |
540 | USING = 750, |
541 | VACUUM = 751, |
542 | VALID = 752, |
543 | VALIDATE = 753, |
544 | VALIDATOR = 754, |
545 | VALUE_P = 755, |
546 | VALUES = 756, |
547 | VARCHAR = 757, |
548 | VARIADIC = 758, |
549 | VARYING = 759, |
550 | VERBOSE = 760, |
551 | VERSION_P = 761, |
552 | VIEW = 762, |
553 | VIEWS = 763, |
554 | VOLATILE = 764, |
555 | WHEN = 765, |
556 | WHERE = 766, |
557 | WHITESPACE_P = 767, |
558 | WINDOW = 768, |
559 | WITH = 769, |
560 | WITHIN = 770, |
561 | WITHOUT = 771, |
562 | WORK = 772, |
563 | WRAPPER = 773, |
564 | WRITE = 774, |
565 | XML_P = 775, |
566 | XMLATTRIBUTES = 776, |
567 | XMLCONCAT = 777, |
568 | XMLELEMENT = 778, |
569 | XMLEXISTS = 779, |
570 | XMLFOREST = 780, |
571 | XMLNAMESPACES = 781, |
572 | XMLPARSE = 782, |
573 | XMLPI = 783, |
574 | XMLROOT = 784, |
575 | XMLSERIALIZE = 785, |
576 | XMLTABLE = 786, |
577 | YEAR_P = 787, |
578 | YES_P = 788, |
579 | ZONE = 789, |
580 | NOT_LA = 790, |
581 | NULLS_LA = 791, |
582 | WITH_LA = 792, |
583 | POSTFIXOP = 793, |
584 | UMINUS = 794 |
585 | }; |
586 | #endif |
587 | |
588 | /* Value type. */ |
589 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
590 | |
591 | union YYSTYPE |
592 | { |
593 | #line 583 "preproc.y" /* yacc.c:1909 */ |
594 | |
595 | double dval; |
596 | char *str; |
597 | int ival; |
598 | struct when action; |
599 | struct index index; |
600 | int tagname; |
601 | struct this_type type; |
602 | enum ECPGttype type_enum; |
603 | enum ECPGdtype dtype_enum; |
604 | struct fetch_desc descriptor; |
605 | struct su_symbol struct_union; |
606 | struct prep prep; |
607 | struct exec exec; |
608 | |
609 | #line 610 "preproc.h" /* yacc.c:1909 */ |
610 | }; |
611 | |
612 | typedef union YYSTYPE YYSTYPE; |
613 | # define YYSTYPE_IS_TRIVIAL 1 |
614 | # define YYSTYPE_IS_DECLARED 1 |
615 | #endif |
616 | |
617 | /* Location type. */ |
618 | #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED |
619 | typedef struct YYLTYPE YYLTYPE; |
620 | struct YYLTYPE |
621 | { |
622 | int first_line; |
623 | int first_column; |
624 | int last_line; |
625 | int last_column; |
626 | }; |
627 | # define YYLTYPE_IS_DECLARED 1 |
628 | # define YYLTYPE_IS_TRIVIAL 1 |
629 | #endif |
630 | |
631 | |
632 | extern YYSTYPE base_yylval; |
633 | extern YYLTYPE base_yylloc; |
634 | int base_yyparse (void); |
635 | |
636 | #endif /* !YY_BASE_YY_PREPROC_H_INCLUDED */ |
637 | |