1
/* A Bison parser, made by GNU Bison 1.875. */
3
/* Skeleton parser for Yacc-like parsing with Bison,
4
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
6
This program is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2, or (at your option)
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
16
You should have received a copy of the GNU General Public License
17
along with this program; if not, write to the Free Software
18
Foundation, Inc., 59 Temple Place - Suite 330,
19
Boston, MA 02111-1307, USA. */
21
/* As a special exception, when this file is copied by Bison into a
22
Bison output file, you may use that output file without restriction.
23
This special exception was added by the Free Software Foundation
24
in version 1.24 of Bison. */
29
/* Put the tokens into the symbol table, so that GDB and other debuggers
37
SQL_CARDINALITY = 263,
40
SQL_DATETIME_INTERVAL_CODE = 266,
41
SQL_DATETIME_INTERVAL_PRECISION = 267,
56
SQL_OCTET_LENGTH = 282,
60
SQL_RETURNED_LENGTH = 286,
61
SQL_RETURNED_OCTET_LENGTH = 287,
154
CHARACTERISTICS = 380,
183
CURRENT_CATALOG = 409,
186
CURRENT_SCHEMA = 412,
188
CURRENT_TIMESTAMP = 414,
304
LOCALTIMESTAMP = 530,
517
#define SQL_ALLOCATE 258
518
#define SQL_AUTOCOMMIT 259
520
#define SQL_BREAK 261
522
#define SQL_CARDINALITY 263
523
#define SQL_CONNECT 264
524
#define SQL_COUNT 265
525
#define SQL_DATETIME_INTERVAL_CODE 266
526
#define SQL_DATETIME_INTERVAL_PRECISION 267
527
#define SQL_DESCRIBE 268
528
#define SQL_DESCRIPTOR 269
529
#define SQL_DISCONNECT 270
530
#define SQL_FOUND 271
535
#define SQL_IDENTIFIED 276
536
#define SQL_INDICATOR 277
537
#define SQL_KEY_MEMBER 278
538
#define SQL_LENGTH 279
540
#define SQL_NULLABLE 281
541
#define SQL_OCTET_LENGTH 282
543
#define SQL_OUTPUT 284
544
#define SQL_REFERENCE 285
545
#define SQL_RETURNED_LENGTH 286
546
#define SQL_RETURNED_OCTET_LENGTH 287
547
#define SQL_SCALE 288
548
#define SQL_SECTION 289
549
#define SQL_SHORT 290
550
#define SQL_SIGNED 291
552
#define SQL_SQLERROR 293
553
#define SQL_SQLPRINT 294
554
#define SQL_SQLWARNING 295
555
#define SQL_START 296
557
#define SQL_STRUCT 298
558
#define SQL_UNSIGNED 299
560
#define SQL_WHENEVER 301
563
#define S_ANYTHING 304
568
#define S_DOTPOINT 309
573
#define S_MEMPOINT 314
579
#define S_REGISTER 320
583
#define S_VOLATILE 324
584
#define S_TYPEDEF 325
587
#define CVARIABLE 328
596
#define ABSOLUTE_P 337
602
#define AGGREGATE 343
614
#define ASSERTION 355
615
#define ASSIGNMENT 356
616
#define ASYMMETRIC 357
618
#define AUTHORIZATION 359
626
#define BOOLEAN_P 367
635
#define CATALOG_P 376
638
#define CHARACTER 379
639
#define CHARACTERISTICS 380
641
#define CHECKPOINT 382
650
#define COMMITTED 391
651
#define CONCURRENTLY 392
652
#define CONFIGURATION 393
653
#define CONNECTION 394
654
#define CONSTRAINT 395
655
#define CONSTRAINTS 396
656
#define CONTENT_P 397
657
#define CONTINUE_P 398
658
#define CONVERSION_P 399
663
#define CREATEROLE 404
664
#define CREATEUSER 405
667
#define CURRENT_P 408
668
#define CURRENT_CATALOG 409
669
#define CURRENT_DATE 410
670
#define CURRENT_ROLE 411
671
#define CURRENT_SCHEMA 412
672
#define CURRENT_TIME 413
673
#define CURRENT_TIMESTAMP 414
674
#define CURRENT_USER 415
680
#define DEALLOCATE 421
682
#define DECIMAL_P 423
686
#define DEFERRABLE 427
690
#define DELIMITER 431
691
#define DELIMITERS 432
693
#define DICTIONARY 434
694
#define DISABLE_P 435
698
#define DOCUMENT_P 439
706
#define ENCRYPTED 447
711
#define EXCLUDING 452
712
#define EXCLUSIVE 453
723
#define FOLLOWING 464
742
#define IDENTITY_P 483
745
#define IMMEDIATE 486
746
#define IMMUTABLE 487
747
#define IMPLICIT_P 488
749
#define INCLUDING 490
750
#define INCREMENT 491
755
#define INITIALLY 496
759
#define INSENSITIVE 500
764
#define INTERSECT 505
770
#define ISOLATION 511
773
#define LANCOMPILER 514
777
#define LC_COLLATE_P 518
778
#define LC_CTYPE_P 519
788
#define LOCALTIME 529
789
#define LOCALTIMESTAMP 530
809
#define NOCREATEDB 550
810
#define NOCREATEROLE 551
811
#define NOCREATEUSER 552
812
#define NOINHERIT 553
813
#define NOLOGIN_P 554
815
#define NOSUPERUSER 556
847
#define PARTITION 588
852
#define PRECEDING 593
853
#define PRECISION 594
859
#define PRIVILEGES 600
860
#define PROCEDURAL 601
861
#define PROCEDURE 602
868
#define RECURSIVE 609
869
#define REFERENCES 610
871
#define RELATIVE_P 612
874
#define REPEATABLE 615
880
#define RETURNING 621
889
#define SAVEPOINT 630
897
#define SERIALIZABLE 638
900
#define SESSION_USER 641
910
#define STANDALONE_P 651
912
#define STATEMENT 653
913
#define STATISTICS 654
919
#define SUBSTRING 660
920
#define SUPERUSER_P 661
921
#define SYMMETRIC 662
925
#define TABLESPACE 666
928
#define TEMPORARY 669
932
#define TIMESTAMP 673
935
#define TRANSACTION 676
943
#define UNBOUNDED 684
944
#define UNCOMMITTED 685
945
#define UNENCRYPTED 686
956
#define VALIDATOR 697
963
#define VERSION_P 704
968
#define WHITESPACE_P 709
976
#define XMLATTRIBUTES 717
977
#define XMLCONCAT 718
978
#define XMLELEMENT 719
979
#define XMLFOREST 720
983
#define XMLSERIALIZE 724
987
#define NULLS_FIRST 728
988
#define NULLS_LAST 729
989
#define WITH_TIME 730
998
#define POSTFIXOP 739
1004
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
1005
#line 381 "preproc.y"
1006
typedef union YYSTYPE {
1013
struct this_type type;
1014
enum ECPGttype type_enum;
1015
enum ECPGdtype dtype_enum;
1016
struct fetch_desc descriptor;
1017
struct su_symbol struct_union;
1020
/* Line 1204 of yacc.c. */
1021
#line 1021 "preproc.h"
1022
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
1023
# define YYSTYPE_IS_DECLARED 1
1024
# define YYSTYPE_IS_TRIVIAL 1
1027
extern YYSTYPE base_yylval;
1029
#if ! defined (YYLTYPE) && ! defined (YYLTYPE_IS_DECLARED)
1030
typedef struct YYLTYPE
1037
# define yyltype YYLTYPE /* obsolescent; will be withdrawn */
1038
# define YYLTYPE_IS_DECLARED 1
1039
# define YYLTYPE_IS_TRIVIAL 1
1042
extern YYLTYPE base_yylloc;