-
Notifications
You must be signed in to change notification settings - Fork 0
/
yysphinxql.c
4681 lines (3976 loc) · 179 KB
/
yysphinxql.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* A Bison parser, made by GNU Bison 1.875. */
/* Skeleton parser for Yacc-like parsing with Bison,
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction.
This special exception was added by the Free Software Foundation
in version 1.24 of Bison. */
/* Written by Richard Stallman by simplifying the original so called
``semantic'' parser. */
/* All symbols defined below should begin with yy or YY, to avoid
infringing on user name space. This should be done even for local
variables, as they might otherwise be expanded by user macros.
There are some unavoidable exceptions within include files to
define necessary library symbols; they are noted "INFRINGES ON
USER NAME SPACE" below. */
/* Identify Bison output. */
#define YYBISON 1
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
/* Pure parsers. */
#define YYPURE 1
/* Using locations. */
#define YYLSP_NEEDED 0
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
TOK_IDENT = 258,
TOK_ATIDENT = 259,
TOK_CONST_INT = 260,
TOK_CONST_FLOAT = 261,
TOK_CONST_MVA = 262,
TOK_QUOTED_STRING = 263,
TOK_USERVAR = 264,
TOK_SYSVAR = 265,
TOK_CONST_STRINGS = 266,
TOK_BAD_NUMERIC = 267,
TOK_SUBKEY = 268,
TOK_DOT_NUMBER = 269,
TOK_ADD = 270,
TOK_AGENT = 271,
TOK_ALTER = 272,
TOK_AS = 273,
TOK_ASC = 274,
TOK_ATTACH = 275,
TOK_ATTRIBUTES = 276,
TOK_AVG = 277,
TOK_BEGIN = 278,
TOK_BETWEEN = 279,
TOK_BIGINT = 280,
TOK_BOOL = 281,
TOK_BY = 282,
TOK_CALL = 283,
TOK_CHARACTER = 284,
TOK_CHUNK = 285,
TOK_COLLATION = 286,
TOK_COLUMN = 287,
TOK_COMMIT = 288,
TOK_COMMITTED = 289,
TOK_COUNT = 290,
TOK_CREATE = 291,
TOK_DATABASES = 292,
TOK_DELETE = 293,
TOK_DESC = 294,
TOK_DESCRIBE = 295,
TOK_DISTINCT = 296,
TOK_DIV = 297,
TOK_DOUBLE = 298,
TOK_DROP = 299,
TOK_FACET = 300,
TOK_FALSE = 301,
TOK_FLOAT = 302,
TOK_FLUSH = 303,
TOK_FOR = 304,
TOK_FROM = 305,
TOK_FUNCTION = 306,
TOK_GLOBAL = 307,
TOK_GROUP = 308,
TOK_GROUPBY = 309,
TOK_GROUP_CONCAT = 310,
TOK_HAVING = 311,
TOK_ID = 312,
TOK_IN = 313,
TOK_INDEX = 314,
TOK_INSERT = 315,
TOK_INT = 316,
TOK_INTEGER = 317,
TOK_INTO = 318,
TOK_IS = 319,
TOK_ISOLATION = 320,
TOK_JSON = 321,
TOK_LEVEL = 322,
TOK_LIKE = 323,
TOK_LIMIT = 324,
TOK_MATCH = 325,
TOK_MAX = 326,
TOK_META = 327,
TOK_MIN = 328,
TOK_MOD = 329,
TOK_MULTI = 330,
TOK_MULTI64 = 331,
TOK_NAMES = 332,
TOK_NULL = 333,
TOK_OPTION = 334,
TOK_ORDER = 335,
TOK_OPTIMIZE = 336,
TOK_PLAN = 337,
TOK_PLUGIN = 338,
TOK_PLUGINS = 339,
TOK_PROFILE = 340,
TOK_RAND = 341,
TOK_RAMCHUNK = 342,
TOK_READ = 343,
TOK_RECONFIGURE = 344,
TOK_REPEATABLE = 345,
TOK_REPLACE = 346,
TOK_REMAP = 347,
TOK_RETURNS = 348,
TOK_ROLLBACK = 349,
TOK_RTINDEX = 350,
TOK_SELECT = 351,
TOK_SERIALIZABLE = 352,
TOK_SET = 353,
TOK_SETTINGS = 354,
TOK_SESSION = 355,
TOK_SHOW = 356,
TOK_SONAME = 357,
TOK_START = 358,
TOK_STATUS = 359,
TOK_STRING = 360,
TOK_SUM = 361,
TOK_TABLE = 362,
TOK_TABLES = 363,
TOK_THREADS = 364,
TOK_TO = 365,
TOK_TRANSACTION = 366,
TOK_TRUE = 367,
TOK_TRUNCATE = 368,
TOK_TYPE = 369,
TOK_UNCOMMITTED = 370,
TOK_UPDATE = 371,
TOK_VALUES = 372,
TOK_VARIABLES = 373,
TOK_WARNINGS = 374,
TOK_WEIGHT = 375,
TOK_WHERE = 376,
TOK_WITHIN = 377,
TOK_OR = 378,
TOK_AND = 379,
TOK_NE = 380,
TOK_GTE = 381,
TOK_LTE = 382,
TOK_NOT = 383,
TOK_NEG = 384
};
#endif
#define TOK_IDENT 258
#define TOK_ATIDENT 259
#define TOK_CONST_INT 260
#define TOK_CONST_FLOAT 261
#define TOK_CONST_MVA 262
#define TOK_QUOTED_STRING 263
#define TOK_USERVAR 264
#define TOK_SYSVAR 265
#define TOK_CONST_STRINGS 266
#define TOK_BAD_NUMERIC 267
#define TOK_SUBKEY 268
#define TOK_DOT_NUMBER 269
#define TOK_ADD 270
#define TOK_AGENT 271
#define TOK_ALTER 272
#define TOK_AS 273
#define TOK_ASC 274
#define TOK_ATTACH 275
#define TOK_ATTRIBUTES 276
#define TOK_AVG 277
#define TOK_BEGIN 278
#define TOK_BETWEEN 279
#define TOK_BIGINT 280
#define TOK_BOOL 281
#define TOK_BY 282
#define TOK_CALL 283
#define TOK_CHARACTER 284
#define TOK_CHUNK 285
#define TOK_COLLATION 286
#define TOK_COLUMN 287
#define TOK_COMMIT 288
#define TOK_COMMITTED 289
#define TOK_COUNT 290
#define TOK_CREATE 291
#define TOK_DATABASES 292
#define TOK_DELETE 293
#define TOK_DESC 294
#define TOK_DESCRIBE 295
#define TOK_DISTINCT 296
#define TOK_DIV 297
#define TOK_DOUBLE 298
#define TOK_DROP 299
#define TOK_FACET 300
#define TOK_FALSE 301
#define TOK_FLOAT 302
#define TOK_FLUSH 303
#define TOK_FOR 304
#define TOK_FROM 305
#define TOK_FUNCTION 306
#define TOK_GLOBAL 307
#define TOK_GROUP 308
#define TOK_GROUPBY 309
#define TOK_GROUP_CONCAT 310
#define TOK_HAVING 311
#define TOK_ID 312
#define TOK_IN 313
#define TOK_INDEX 314
#define TOK_INSERT 315
#define TOK_INT 316
#define TOK_INTEGER 317
#define TOK_INTO 318
#define TOK_IS 319
#define TOK_ISOLATION 320
#define TOK_JSON 321
#define TOK_LEVEL 322
#define TOK_LIKE 323
#define TOK_LIMIT 324
#define TOK_MATCH 325
#define TOK_MAX 326
#define TOK_META 327
#define TOK_MIN 328
#define TOK_MOD 329
#define TOK_MULTI 330
#define TOK_MULTI64 331
#define TOK_NAMES 332
#define TOK_NULL 333
#define TOK_OPTION 334
#define TOK_ORDER 335
#define TOK_OPTIMIZE 336
#define TOK_PLAN 337
#define TOK_PLUGIN 338
#define TOK_PLUGINS 339
#define TOK_PROFILE 340
#define TOK_RAND 341
#define TOK_RAMCHUNK 342
#define TOK_READ 343
#define TOK_RECONFIGURE 344
#define TOK_REPEATABLE 345
#define TOK_REPLACE 346
#define TOK_REMAP 347
#define TOK_RETURNS 348
#define TOK_ROLLBACK 349
#define TOK_RTINDEX 350
#define TOK_SELECT 351
#define TOK_SERIALIZABLE 352
#define TOK_SET 353
#define TOK_SETTINGS 354
#define TOK_SESSION 355
#define TOK_SHOW 356
#define TOK_SONAME 357
#define TOK_START 358
#define TOK_STATUS 359
#define TOK_STRING 360
#define TOK_SUM 361
#define TOK_TABLE 362
#define TOK_TABLES 363
#define TOK_THREADS 364
#define TOK_TO 365
#define TOK_TRANSACTION 366
#define TOK_TRUE 367
#define TOK_TRUNCATE 368
#define TOK_TYPE 369
#define TOK_UNCOMMITTED 370
#define TOK_UPDATE 371
#define TOK_VALUES 372
#define TOK_VARIABLES 373
#define TOK_WARNINGS 374
#define TOK_WEIGHT 375
#define TOK_WHERE 376
#define TOK_WITHIN 377
#define TOK_OR 378
#define TOK_AND 379
#define TOK_NE 380
#define TOK_GTE 381
#define TOK_LTE 382
#define TOK_NOT 383
#define TOK_NEG 384
/* Copy the first part of user declarations. */
#if USE_WINDOWS
#pragma warning(push,1)
#pragma warning(disable:4702) // unreachable code
#endif
// some helpers
#include <float.h> // for FLT_MAX
static void AddInsval ( SqlParser_c * pParser, CSphVector<SqlInsert_t> & dVec, const SqlNode_t & tNode )
{
SqlInsert_t & tIns = dVec.Add();
tIns.m_iType = tNode.m_iType;
tIns.m_iVal = tNode.m_iValue; // OPTIMIZE? copy conditionally based on type?
tIns.m_fVal = tNode.m_fValue;
if ( tIns.m_iType==TOK_QUOTED_STRING )
pParser->ToStringUnescape ( tIns.m_sVal, tNode );
tIns.m_pVals = tNode.m_pValues;
}
#define TRACK_BOUNDS(_res,_left,_right) \
_res = _left; \
if ( _res.m_iStart>0 && pParser->m_pBuf[_res.m_iStart-1]=='`' ) \
_res.m_iStart--; \
_res.m_iEnd = _right.m_iEnd; \
_res.m_iType = 0;
/* Enabling traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
/* Enabling verbose error messages. */
#ifdef YYERROR_VERBOSE
# undef YYERROR_VERBOSE
# define YYERROR_VERBOSE 1
#else
# define YYERROR_VERBOSE 1
#endif
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
typedef int YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif
/* Copy the second part of user declarations. */
/* Line 214 of yacc.c. */
#if ! defined (yyoverflow) || YYERROR_VERBOSE
/* The parser invokes alloca or malloc; define the necessary symbols. */
# if YYSTACK_USE_ALLOCA
# define YYSTACK_ALLOC alloca
# else
# ifndef YYSTACK_USE_ALLOCA
# if defined (alloca) || defined (_ALLOCA_H)
# define YYSTACK_ALLOC alloca
# else
# ifdef __GNUC__
# define YYSTACK_ALLOC __builtin_alloca
# endif
# endif
# endif
# endif
# ifdef YYSTACK_ALLOC
/* Pacify GCC's `empty if-body' warning. */
# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
# else
# if defined (__STDC__) || defined (__cplusplus)
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
# define YYSIZE_T size_t
# endif
# define YYSTACK_ALLOC malloc
# define YYSTACK_FREE free
# endif
#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
#if (! defined (yyoverflow) \
&& (! defined (__cplusplus) \
|| (YYSTYPE_IS_TRIVIAL)))
/* A type that is properly aligned for any stack member. */
union yyalloc
{
short yyss;
YYSTYPE yyvs;
};
/* The size of the maximum gap between one aligned stack and the next. */
# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
/* The size of an array large to enough to hold all stacks, each with
N elements. */
# define YYSTACK_BYTES(N) \
((N) * (sizeof (short) + sizeof (YYSTYPE)) \
+ YYSTACK_GAP_MAXIMUM)
/* Copy COUNT objects from FROM to TO. The source and destination do
not overlap. */
# ifndef YYCOPY
# if 1 < __GNUC__
# define YYCOPY(To, From, Count) \
__builtin_memcpy (To, From, (Count) * sizeof (*(From)))
# else
# define YYCOPY(To, From, Count) \
do \
{ \
register YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(To)[yyi] = (From)[yyi]; \
} \
while (0)
# endif
# endif
/* Relocate STACK from its old location to the new one. The
local variables YYSIZE and YYSTACKSIZE give the old and new number of
elements in the stack, and YYPTR gives the new location of the
stack. Advance YYPTR to a properly aligned location for the next
stack. */
# define YYSTACK_RELOCATE(Stack) \
do \
{ \
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack, Stack, yysize); \
Stack = &yyptr->Stack; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
while (0)
#endif
#if defined (__STDC__) || defined (__cplusplus)
typedef signed char yysigned_char;
#else
typedef short yysigned_char;
#endif
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 238
/* YYLAST -- Last index in YYTABLE. */
#define YYLAST 4664
/* YYNTOKENS -- Number of terminals. */
#define YYNTOKENS 149
/* YYNNTS -- Number of nonterminals. */
#define YYNNTS 137
/* YYNRULES -- Number of rules. */
#define YYNRULES 483
/* YYNRULES -- Number of states. */
#define YYNSTATES 839
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
#define YYMAXUTOK 384
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
static const unsigned char yytranslate[] =
{
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 137, 126, 2,
141, 142, 135, 133, 143, 134, 146, 136, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 140,
129, 127, 130, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 147, 2, 148, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 144, 125, 145, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
128, 131, 132, 138, 139
};
#if YYDEBUG
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
YYRHS. */
static const unsigned short yyprhs[] =
{
0, 0, 3, 5, 7, 10, 12, 14, 16, 18,
20, 22, 24, 26, 28, 30, 32, 34, 36, 38,
40, 42, 44, 46, 48, 50, 52, 54, 56, 58,
60, 62, 64, 66, 68, 70, 72, 74, 76, 78,
80, 82, 84, 86, 88, 90, 92, 94, 96, 98,
100, 102, 104, 106, 108, 110, 112, 114, 116, 118,
120, 122, 124, 126, 128, 130, 132, 134, 136, 138,
140, 142, 144, 146, 148, 150, 152, 154, 156, 158,
160, 162, 164, 166, 168, 170, 172, 174, 176, 178,
180, 182, 184, 186, 188, 190, 192, 194, 196, 198,
200, 202, 204, 206, 208, 210, 212, 214, 216, 218,
220, 222, 224, 226, 228, 230, 232, 234, 236, 238,
240, 242, 244, 246, 248, 250, 252, 254, 256, 260,
263, 265, 267, 269, 278, 280, 290, 291, 294, 296,
300, 302, 304, 306, 307, 311, 312, 315, 320, 332,
334, 338, 340, 343, 344, 346, 349, 351, 356, 361,
366, 371, 376, 381, 385, 391, 393, 397, 398, 400,
403, 405, 409, 413, 418, 420, 424, 428, 434, 441,
445, 450, 456, 460, 464, 468, 472, 476, 480, 486,
492, 498, 502, 506, 510, 514, 518, 522, 526, 531,
533, 535, 540, 544, 548, 550, 552, 557, 562, 567,
571, 573, 576, 578, 581, 583, 585, 589, 591, 595,
597, 599, 600, 605, 606, 608, 610, 614, 615, 618,
619, 621, 627, 628, 630, 634, 640, 642, 646, 648,
651, 654, 655, 657, 660, 665, 666, 668, 671, 673,
677, 681, 685, 691, 698, 702, 704, 708, 712, 714,
716, 718, 720, 722, 724, 726, 729, 732, 736, 740,
744, 748, 752, 756, 760, 764, 768, 772, 776, 780,
784, 788, 792, 796, 800, 804, 808, 810, 812, 814,
818, 823, 828, 833, 838, 843, 848, 853, 857, 864,
871, 875, 884, 899, 901, 905, 907, 909, 913, 919,
921, 923, 925, 927, 930, 931, 934, 936, 939, 942,
946, 948, 950, 952, 955, 960, 965, 969, 974, 979,
981, 983, 984, 987, 992, 997, 1002, 1006, 1011, 1016,
1024, 1030, 1036, 1046, 1048, 1050, 1052, 1054, 1056, 1058,
1062, 1064, 1066, 1068, 1070, 1072, 1074, 1076, 1078, 1080,
1083, 1091, 1093, 1095, 1096, 1100, 1102, 1104, 1106, 1110,
1112, 1116, 1120, 1122, 1126, 1128, 1130, 1132, 1136, 1139,
1140, 1143, 1145, 1149, 1153, 1158, 1165, 1167, 1171, 1173,
1177, 1179, 1183, 1184, 1187, 1189, 1193, 1197, 1198, 1200,
1202, 1204, 1208, 1210, 1212, 1216, 1220, 1227, 1229, 1233,
1237, 1241, 1247, 1252, 1256, 1260, 1262, 1264, 1266, 1268,
1270, 1272, 1274, 1276, 1278, 1286, 1293, 1298, 1303, 1309,
1310, 1312, 1315, 1317, 1321, 1325, 1328, 1332, 1339, 1340,
1342, 1344, 1347, 1350, 1353, 1355, 1363, 1365, 1367, 1369,
1371, 1373, 1377, 1384, 1388, 1392, 1395, 1399, 1401, 1405,
1408, 1412, 1416, 1424, 1430, 1432, 1434, 1437, 1439, 1442,
1444, 1446, 1450, 1454, 1458, 1462, 1464, 1465, 1468, 1470,
1473, 1475, 1477, 1481
};
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const short yyrhs[] =
{
150, 0, -1, 151, -1, 154, -1, 154, 140, -1,
219, -1, 231, -1, 211, -1, 212, -1, 217, -1,
232, -1, 241, -1, 243, -1, 244, -1, 245, -1,
250, -1, 255, -1, 256, -1, 260, -1, 262, -1,
263, -1, 264, -1, 265, -1, 266, -1, 257, -1,
267, -1, 269, -1, 270, -1, 271, -1, 249, -1,
272, -1, 273, -1, 3, -1, 15, -1, 16, -1,
17, -1, 19, -1, 20, -1, 21, -1, 22, -1,
23, -1, 24, -1, 25, -1, 26, -1, 28, -1,
29, -1, 30, -1, 31, -1, 32, -1, 33, -1,
34, -1, 35, -1, 36, -1, 37, -1, 38, -1,
39, -1, 40, -1, 41, -1, 43, -1, 44, -1,
47, -1, 48, -1, 49, -1, 51, -1, 52, -1,
53, -1, 55, -1, 54, -1, 56, -1, 59, -1,
60, -1, 61, -1, 62, -1, 63, -1, 65, -1,
66, -1, 67, -1, 68, -1, 70, -1, 71, -1,
72, -1, 73, -1, 75, -1, 76, -1, 81, -1,
79, -1, 82, -1, 83, -1, 84, -1, 85, -1,
87, -1, 86, -1, 88, -1, 89, -1, 92, -1,
90, -1, 91, -1, 93, -1, 94, -1, 95, -1,
97, -1, 100, -1, 98, -1, 99, -1, 101, -1,
102, -1, 103, -1, 104, -1, 105, -1, 106, -1,
107, -1, 108, -1, 109, -1, 110, -1, 113, -1,
114, -1, 115, -1, 116, -1, 117, -1, 118, -1,
119, -1, 120, -1, 121, -1, 122, -1, 152, -1,
77, -1, 111, -1, 155, -1, 154, 140, 155, -1,
154, 285, -1, 156, -1, 206, -1, 157, -1, 96,
3, 141, 141, 157, 142, 158, 142, -1, 164, -1,
96, 165, 50, 141, 161, 164, 142, 162, 163, -1,
-1, 143, 159, -1, 160, -1, 159, 143, 160, -1,
153, -1, 5, -1, 57, -1, -1, 80, 27, 189,
-1, -1, 69, 5, -1, 69, 5, 143, 5, -1,
96, 165, 50, 169, 170, 181, 185, 184, 187, 191,
193, -1, 166, -1, 165, 143, 166, -1, 135, -1,
168, 167, -1, -1, 153, -1, 18, 153, -1, 199,
-1, 22, 141, 199, 142, -1, 71, 141, 199, 142,
-1, 73, 141, 199, 142, -1, 106, 141, 199, 142,
-1, 55, 141, 199, 142, -1, 35, 141, 135, 142,
-1, 54, 141, 142, -1, 35, 141, 41, 153, 142,
-1, 153, -1, 169, 143, 153, -1, -1, 171, -1,
121, 172, -1, 173, -1, 172, 124, 172, -1, 141,
172, 142, -1, 70, 141, 8, 142, -1, 174, -1,
175, 127, 176, -1, 175, 128, 176, -1, 175, 58,
141, 180, 142, -1, 175, 138, 58, 141, 180, 142,
-1, 175, 58, 9, -1, 175, 138, 58, 9, -1,
175, 24, 176, 124, 176, -1, 175, 130, 176, -1,
175, 129, 176, -1, 175, 131, 176, -1, 175, 132,
176, -1, 175, 127, 177, -1, 175, 128, 177, -1,
175, 24, 177, 124, 177, -1, 175, 24, 176, 124,
177, -1, 175, 24, 177, 124, 176, -1, 175, 130,
177, -1, 175, 129, 177, -1, 175, 131, 177, -1,
175, 132, 177, -1, 175, 127, 8, -1, 175, 128,
8, -1, 175, 64, 78, -1, 175, 64, 138, 78,
-1, 153, -1, 4, -1, 35, 141, 135, 142, -1,
54, 141, 142, -1, 120, 141, 142, -1, 57, -1,
275, -1, 62, 141, 275, 142, -1, 43, 141, 275,
142, -1, 25, 141, 275, 142, -1, 45, 141, 142,
-1, 5, -1, 134, 5, -1, 6, -1, 134, 6,
-1, 14, -1, 176, -1, 178, 143, 176, -1, 8,
-1, 179, 143, 8, -1, 178, -1, 179, -1, -1,
53, 182, 27, 183, -1, -1, 5, -1, 175, -1,
183, 143, 175, -1, -1, 56, 174, -1, -1, 186,
-1, 122, 53, 80, 27, 189, -1, -1, 188, -1,
80, 27, 189, -1, 80, 27, 86, 141, 142, -1,
190, -1, 189, 143, 190, -1, 175, -1, 175, 19,
-1, 175, 39, -1, -1, 192, -1, 69, 5, -1,
69, 5, 143, 5, -1, -1, 194, -1, 79, 195,
-1, 196, -1, 195, 143, 196, -1, 153, 127, 153,
-1, 153, 127, 5, -1, 153, 127, 141, 197, 142,
-1, 153, 127, 153, 141, 8, 142, -1, 153, 127,
8, -1, 198, -1, 197, 143, 198, -1, 153, 127,
176, -1, 153, -1, 4, -1, 57, -1, 5, -1,
6, -1, 14, -1, 9, -1, 134, 199, -1, 138,
199, -1, 199, 133, 199, -1, 199, 134, 199, -1,
199, 135, 199, -1, 199, 136, 199, -1, 199, 129,
199, -1, 199, 130, 199, -1, 199, 126, 199, -1,
199, 125, 199, -1, 199, 137, 199, -1, 199, 42,
199, -1, 199, 74, 199, -1, 199, 132, 199, -1,
199, 131, 199, -1, 199, 127, 199, -1, 199, 128,
199, -1, 199, 124, 199, -1, 199, 123, 199, -1,
141, 199, 142, -1, 144, 203, 145, -1, 200, -1,
275, -1, 278, -1, 274, 64, 78, -1, 274, 64,
138, 78, -1, 3, 141, 201, 142, -1, 58, 141,
201, 142, -1, 62, 141, 201, 142, -1, 25, 141,
201, 142, -1, 47, 141, 201, 142, -1, 43, 141,
201, 142, -1, 3, 141, 142, -1, 73, 141, 199,
143, 199, 142, -1, 71, 141, 199, 143, 199, 142,
-1, 120, 141, 142, -1, 3, 141, 199, 49, 153,
58, 274, 142, -1, 92, 141, 199, 143, 199, 143,
141, 201, 142, 143, 141, 201, 142, 142, -1, 202,
-1, 201, 143, 202, -1, 199, -1, 8, -1, 204,
127, 205, -1, 203, 143, 204, 127, 205, -1, 153,
-1, 58, -1, 176, -1, 153, -1, 101, 208, -1,
-1, 68, 8, -1, 119, -1, 104, 207, -1, 72,
207, -1, 16, 104, 207, -1, 85, -1, 82, -1,
84, -1, 109, 193, -1, 16, 8, 104, 207, -1,
16, 153, 104, 207, -1, 209, 153, 104, -1, 209,
153, 210, 99, -1, 209, 153, 14, 99, -1, 59,
-1, 107, -1, -1, 30, 5, -1, 98, 152, 127,
214, -1, 98, 152, 127, 213, -1, 98, 152, 127,
78, -1, 98, 77, 215, -1, 98, 10, 127, 215,
-1, 98, 29, 98, 215, -1, 98, 52, 9, 127,
141, 178, 142, -1, 98, 52, 152, 127, 213, -1,
98, 52, 152, 127, 5, -1, 98, 59, 153, 52,
9, 127, 141, 178, 142, -1, 153, -1, 8, -1,
112, -1, 46, -1, 176, -1, 216, -1, 215, 134,
216, -1, 153, -1, 78, -1, 8, -1, 5, -1,
6, -1, 33, -1, 94, -1, 218, -1, 23, -1,
103, 111, -1, 220, 63, 153, 221, 117, 224, 228,
-1, 60, -1, 91, -1, -1, 141, 223, 142, -1,
153, -1, 57, -1, 222, -1, 223, 143, 222, -1,
225, -1, 224, 143, 225, -1, 141, 226, 142, -1,
227, -1, 226, 143, 227, -1, 176, -1, 177, -1,
8, -1, 141, 178, 142, -1, 141, 142, -1, -1,
79, 229, -1, 230, -1, 229, 143, 230, -1, 3,
127, 8, -1, 38, 50, 169, 171, -1, 28, 153,
141, 233, 236, 142, -1, 234, -1, 233, 143, 234,
-1, 227, -1, 141, 235, 142, -1, 8, -1, 235,
143, 8, -1, -1, 143, 237, -1, 238, -1, 237,
143, 238, -1, 227, 239, 240, -1, -1, 18, -1,
153, -1, 69, -1, 242, 153, 207, -1, 40, -1,
39, -1, 101, 108, 207, -1, 101, 37, 207, -1,
116, 169, 98, 246, 171, 193, -1, 247, -1, 246,
143, 247, -1, 153, 127, 176, -1, 153, 127, 177,
-1, 153, 127, 141, 178, 142, -1, 153, 127, 141,
142, -1, 275, 127, 176, -1, 275, 127, 177, -1,
62, -1, 25, -1, 47, -1, 26, -1, 75, -1,
76, -1, 66, -1, 105, -1, 61, -1, 17, 107,
153, 15, 32, 153, 248, -1, 17, 107, 153, 44,
32, 153, -1, 17, 95, 153, 89, -1, 101, 258,
118, 251, -1, 101, 258, 118, 68, 8, -1, -1,
252, -1, 121, 253, -1, 254, -1, 253, 123, 254,
-1, 153, 127, 8, -1, 101, 31, -1, 101, 29,
98, -1, 98, 258, 111, 65, 67, 259, -1, -1,
52, -1, 100, -1, 88, 115, -1, 88, 34, -1,
90, 88, -1, 97, -1, 36, 51, 153, 93, 261,
102, 8, -1, 61, -1, 25, -1, 47, -1, 105,
-1, 62, -1, 44, 51, 153, -1, 20, 59, 153,
110, 95, 153, -1, 48, 95, 153, -1, 48, 87,
153, -1, 48, 21, -1, 96, 268, 191, -1, 10,
-1, 10, 146, 153, -1, 96, 199, -1, 113, 95,
153, -1, 81, 59, 153, -1, 36, 83, 153, 114,
8, 102, 8, -1, 44, 83, 153, 114, 8, -1,
275, -1, 153, -1, 153, 276, -1, 277, -1, 276,
277, -1, 13, -1, 14, -1, 147, 199, 148, -1,
147, 8, 148, -1, 199, 127, 279, -1, 279, 127,
199, -1, 8, -1, -1, 281, 284, -1, 27, -1,
283, 167, -1, 199, -1, 282, -1, 284, 143, 282,
-1, 45, 284, 280, 187, 191, -1
};
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const unsigned short yyrline[] =
{
0, 177, 177, 178, 179, 183, 184, 185, 186, 187,
188, 189, 190, 191, 192, 193, 194, 195, 196, 197,
198, 199, 200, 201, 202, 203, 204, 205, 206, 207,
208, 209, 224, 225, 225, 225, 225, 225, 225, 226,
226, 226, 226, 226, 226, 227, 227, 227, 227, 227,
228, 228, 228, 228, 228, 229, 229, 229, 229, 229,
230, 230, 230, 230, 230, 230, 231, 231, 231, 231,
231, 232, 232, 232, 232, 232, 232, 233, 233, 233,
233, 233, 233, 234, 234, 234, 234, 234, 235, 235,
235, 235, 235, 236, 236, 236, 236, 236, 237, 237,
237, 237, 237, 238, 238, 238, 238, 238, 238, 239,
239, 239, 239, 239, 239, 240, 240, 240, 240, 240,
241, 241, 241, 241, 245, 245, 245, 251, 252, 253,
257, 258, 262, 263, 271, 272, 279, 281, 285, 289,
296, 297, 298, 302, 315, 322, 324, 329, 338, 354,
355, 359, 360, 363, 365, 366, 370, 371, 372, 373,
374, 375, 376, 377, 378, 382, 383, 386, 388, 392,
396, 397, 398, 402, 407, 411, 418, 426, 435, 445,
450, 455, 460, 465, 470, 475, 480, 485, 490, 495,
500, 505, 510, 515, 520, 525, 530, 535, 540, 548,
549, 554, 560, 566, 572, 578, 579, 580, 581, 582,
586, 587, 598, 599, 600, 604, 610, 617, 623, 630,
631, 634, 636, 639, 641, 648, 652, 658, 660, 666,
668, 672, 683, 685, 689, 693, 700, 701, 705, 706,
707, 710, 712, 716, 721, 728, 730, 734, 738, 739,
743, 748, 753, 759, 764, 772, 777, 784, 794, 795,
796, 797, 798, 799, 800, 801, 802, 804, 805, 806,
807, 808, 809, 810, 811, 812, 813, 814, 815, 816,
817, 818, 819, 820, 821, 822, 823, 824, 825, 826,
827, 831, 832, 833, 834, 835, 836, 837, 838, 839,
840, 841, 842, 846, 847, 851, 852, 856, 857, 861,
862, 866, 867, 873, 876, 878, 882, 883, 884, 885,
886, 887, 888, 889, 890, 895, 900, 905, 910, 919,
920, 923, 925, 933, 938, 943, 948, 949, 950, 954,
959, 964, 969, 978, 979, 983, 984, 985, 997, 998,
1002, 1003, 1004, 1005, 1006, 1013, 1014, 1015, 1019, 1020,
1026, 1034, 1035, 1038, 1040, 1044, 1045, 1049, 1050, 1054,
1055, 1059, 1063, 1064, 1068, 1069, 1070, 1071, 1072, 1075,
1076, 1080, 1081, 1085, 1091, 1101, 1109, 1113, 1120, 1121,
1128, 1138, 1144, 1146, 1150, 1155, 1159, 1166, 1168, 1172,
1173, 1179, 1187, 1188, 1194, 1198, 1204, 1212, 1213, 1217,
1231, 1237, 1241, 1246, 1260, 1271, 1272, 1273, 1274, 1275,
1276, 1277, 1278, 1279, 1283, 1291, 1298, 1309, 1313, 1320,
1321, 1325, 1329, 1330, 1334, 1338, 1345, 1352, 1358, 1359,
1360, 1364, 1365, 1366, 1367, 1373, 1384, 1385, 1386, 1387,
1388, 1393, 1404, 1416, 1425, 1434, 1444, 1452, 1453, 1457,
1467, 1478, 1489, 1500, 1511, 1512, 1516, 1519, 1520, 1524,
1525, 1526, 1527, 1531, 1532, 1536, 1541, 1543, 1547, 1556,
1560, 1568, 1569, 1573
};
#endif
#if YYDEBUG || YYERROR_VERBOSE
/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
First, the terminals, then, starting at YYNTOKENS, nonterminals. */
static const char *const yytname[] =
{
"$end", "error", "$undefined", "TOK_IDENT", "TOK_ATIDENT",
"TOK_CONST_INT", "TOK_CONST_FLOAT", "TOK_CONST_MVA",
"TOK_QUOTED_STRING", "TOK_USERVAR", "TOK_SYSVAR", "TOK_CONST_STRINGS",
"TOK_BAD_NUMERIC", "TOK_SUBKEY", "TOK_DOT_NUMBER", "TOK_ADD",
"TOK_AGENT", "TOK_ALTER", "TOK_AS", "TOK_ASC", "TOK_ATTACH",
"TOK_ATTRIBUTES", "TOK_AVG", "TOK_BEGIN", "TOK_BETWEEN", "TOK_BIGINT",
"TOK_BOOL", "TOK_BY", "TOK_CALL", "TOK_CHARACTER", "TOK_CHUNK",
"TOK_COLLATION", "TOK_COLUMN", "TOK_COMMIT", "TOK_COMMITTED",
"TOK_COUNT", "TOK_CREATE", "TOK_DATABASES", "TOK_DELETE", "TOK_DESC",
"TOK_DESCRIBE", "TOK_DISTINCT", "TOK_DIV", "TOK_DOUBLE", "TOK_DROP",
"TOK_FACET", "TOK_FALSE", "TOK_FLOAT", "TOK_FLUSH", "TOK_FOR",
"TOK_FROM", "TOK_FUNCTION", "TOK_GLOBAL", "TOK_GROUP", "TOK_GROUPBY",
"TOK_GROUP_CONCAT", "TOK_HAVING", "TOK_ID", "TOK_IN", "TOK_INDEX",
"TOK_INSERT", "TOK_INT", "TOK_INTEGER", "TOK_INTO", "TOK_IS",
"TOK_ISOLATION", "TOK_JSON", "TOK_LEVEL", "TOK_LIKE", "TOK_LIMIT",
"TOK_MATCH", "TOK_MAX", "TOK_META", "TOK_MIN", "TOK_MOD", "TOK_MULTI",
"TOK_MULTI64", "TOK_NAMES", "TOK_NULL", "TOK_OPTION", "TOK_ORDER",
"TOK_OPTIMIZE", "TOK_PLAN", "TOK_PLUGIN", "TOK_PLUGINS", "TOK_PROFILE",
"TOK_RAND", "TOK_RAMCHUNK", "TOK_READ", "TOK_RECONFIGURE",
"TOK_REPEATABLE", "TOK_REPLACE", "TOK_REMAP", "TOK_RETURNS",
"TOK_ROLLBACK", "TOK_RTINDEX", "TOK_SELECT", "TOK_SERIALIZABLE",
"TOK_SET", "TOK_SETTINGS", "TOK_SESSION", "TOK_SHOW", "TOK_SONAME",
"TOK_START", "TOK_STATUS", "TOK_STRING", "TOK_SUM", "TOK_TABLE",
"TOK_TABLES", "TOK_THREADS", "TOK_TO", "TOK_TRANSACTION", "TOK_TRUE",
"TOK_TRUNCATE", "TOK_TYPE", "TOK_UNCOMMITTED", "TOK_UPDATE",
"TOK_VALUES", "TOK_VARIABLES", "TOK_WARNINGS", "TOK_WEIGHT",
"TOK_WHERE", "TOK_WITHIN", "TOK_OR", "TOK_AND", "'|'", "'&'", "'='",
"TOK_NE", "'<'", "'>'", "TOK_GTE", "TOK_LTE", "'+'", "'-'", "'*'",
"'/'", "'%'", "TOK_NOT", "TOK_NEG", "';'", "'('", "')'", "','", "'{'",
"'}'", "'.'", "'['", "']'", "$accept", "request", "statement",
"ident_set", "ident", "multi_stmt_list", "multi_stmt", "select",
"select1", "opt_tablefunc_args", "tablefunc_args_list", "tablefunc_arg",
"subselect_start", "opt_outer_order", "opt_outer_limit", "select_from",
"select_items_list", "select_item", "opt_alias", "select_expr",
"ident_list", "opt_where_clause", "where_clause", "where_expr",
"where_item", "filter_item", "expr_ident", "const_int", "const_float",
"const_list", "string_list", "const_list_or_string_list",
"opt_group_clause", "opt_int", "group_items_list", "opt_having_clause",
"opt_group_order_clause", "group_order_clause", "opt_order_clause",
"order_clause", "order_items_list", "order_item", "opt_limit_clause",
"limit_clause", "opt_option_clause", "option_clause", "option_list",
"option_item", "named_const_list", "named_const", "expr", "function",
"arglist", "arg", "consthash", "hash_key", "hash_val", "show_stmt",
"like_filter", "show_what", "index_or_table", "opt_chunk", "set_stmt",
"set_global_stmt", "set_string_value", "boolean_value", "set_value",
"simple_set_value", "transact_op", "start_transaction", "insert_into",
"insert_or_replace", "opt_column_list", "column_ident", "column_list",
"insert_rows_list", "insert_row", "insert_vals_list", "insert_val",
"opt_insert_options", "insert_options_list", "insert_option",
"delete_from", "call_proc", "call_args_list", "call_arg",
"const_string_list", "opt_call_opts_list", "call_opts_list", "call_opt",
"opt_as", "call_opt_name", "describe", "describe_tok", "show_tables",
"show_databases", "update", "update_items_list", "update_item",
"alter_col_type", "alter", "show_variables", "opt_show_variables_where",
"show_variables_where", "show_variables_where_list",
"show_variables_where_entry", "show_collation", "show_character_set",
"set_transaction", "opt_scope", "isolation_level", "create_function",
"udf_type", "drop_function", "attach_index", "flush_rtindex",
"flush_ramchunk", "flush_index", "select_sysvar", "sysvar_name",
"select_dual", "truncate", "optimize_index", "create_plugin",
"drop_plugin", "json_field", "json_expr", "subscript", "subkey",
"streq", "strval", "opt_facet_by_items_list", "facet_by", "facet_item",
"facet_expr", "facet_items_list", "facet_stmt", 0
};
#endif
# ifdef YYPRINT
/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
token YYLEX-NUM. */
static const unsigned short yytoknum[] =
{
0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
335, 336, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 348, 349, 350, 351, 352, 353, 354,
355, 356, 357, 358, 359, 360, 361, 362, 363, 364,
365, 366, 367, 368, 369, 370, 371, 372, 373, 374,
375, 376, 377, 378, 379, 124, 38, 61, 380, 60,
62, 381, 382, 43, 45, 42, 47, 37, 383, 384,
59, 40, 41, 44, 123, 125, 46, 91, 93
};
# endif
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
static const unsigned short yyr1[] =
{
0, 149, 150, 150, 150, 151, 151, 151, 151, 151,
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
151, 151, 152, 152, 152, 152, 152, 152, 152, 152,
152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
152, 152, 152, 152, 153, 153, 153, 154, 154, 154,
155, 155, 156, 156, 157, 157, 158, 158, 159, 159,
160, 160, 160, 161, 162, 163, 163, 163, 164, 165,
165, 166, 166, 167, 167, 167, 168, 168, 168, 168,
168, 168, 168, 168, 168, 169, 169, 170, 170, 171,
172, 172, 172, 173, 173, 174, 174, 174, 174, 174,
174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
174, 174, 174, 174, 174, 174, 174, 174, 174, 175,
175, 175, 175, 175, 175, 175, 175, 175, 175, 175,
176, 176, 177, 177, 177, 178, 178, 179, 179, 180,
180, 181, 181, 182, 182, 183, 183, 184, 184, 185,
185, 186, 187, 187, 188, 188, 189, 189, 190, 190,
190, 191, 191, 192, 192, 193, 193, 194, 195, 195,
196, 196, 196, 196, 196, 197, 197, 198, 199, 199,
199, 199, 199, 199, 199, 199, 199, 199, 199, 199,
199, 199, 199, 199, 199, 199, 199, 199, 199, 199,
199, 199, 199, 199, 199, 199, 199, 199, 199, 199,
199, 200, 200, 200, 200, 200, 200, 200, 200, 200,
200, 200, 200, 201, 201, 202, 202, 203, 203, 204,
204, 205, 205, 206, 207, 207, 208, 208, 208, 208,
208, 208, 208, 208, 208, 208, 208, 208, 208, 209,
209, 210, 210, 211, 211, 211, 211, 211, 211, 212,
212, 212, 212, 213, 213, 214, 214, 214, 215, 215,
216, 216, 216, 216, 216, 217, 217, 217, 218, 218,
219, 220, 220, 221, 221, 222, 222, 223, 223, 224,
224, 225, 226, 226, 227, 227, 227, 227, 227, 228,
228, 229, 229, 230, 231, 232, 233, 233, 234, 234,
235, 235, 236, 236, 237, 237, 238, 239, 239, 240,
240, 241, 242, 242, 243, 244, 245, 246, 246, 247,
247, 247, 247, 247, 247, 248, 248, 248, 248, 248,
248, 248, 248, 248, 249, 249, 249, 250, 250, 251,
251, 252, 253, 253, 254, 255, 256, 257, 258, 258,
258, 259, 259, 259, 259, 260, 261, 261, 261, 261,
261, 262, 263, 264, 265, 266, 267, 268, 268, 269,
270, 271, 272, 273, 274, 274, 275, 276, 276, 277,
277, 277, 277, 278, 278, 279, 280, 280, 281, 282,
283, 284, 284, 285
};
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
static const unsigned char yyr2[] =
{
0, 2, 1, 1, 2, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 3, 2,
1, 1, 1, 8, 1, 9, 0, 2, 1, 3,
1, 1, 1, 0, 3, 0, 2, 4, 11, 1,
3, 1, 2, 0, 1, 2, 1, 4, 4, 4,
4, 4, 4, 3, 5, 1, 3, 0, 1, 2,
1, 3, 3, 4, 1, 3, 3, 5, 6, 3,
4, 5, 3, 3, 3, 3, 3, 3, 5, 5,
5, 3, 3, 3, 3, 3, 3, 3, 4, 1,
1, 4, 3, 3, 1, 1, 4, 4, 4, 3,
1, 2, 1, 2, 1, 1, 3, 1, 3, 1,
1, 0, 4, 0, 1, 1, 3, 0, 2, 0,
1, 5, 0, 1, 3, 5, 1, 3, 1, 2,
2, 0, 1, 2, 4, 0, 1, 2, 1, 3,
3, 3, 5, 6, 3, 1, 3, 3, 1, 1,
1, 1, 1, 1, 1, 2, 2, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 1, 1, 1, 3,
4, 4, 4, 4, 4, 4, 4, 3, 6, 6,
3, 8, 14, 1, 3, 1, 1, 3, 5, 1,
1, 1, 1, 2, 0, 2, 1, 2, 2, 3,
1, 1, 1, 2, 4, 4, 3, 4, 4, 1,
1, 0, 2, 4, 4, 4, 3, 4, 4, 7,
5, 5, 9, 1, 1, 1, 1, 1, 1, 3,
1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
7, 1, 1, 0, 3, 1, 1, 1, 3, 1,
3, 3, 1, 3, 1, 1, 1, 3, 2, 0,
2, 1, 3, 3, 4, 6, 1, 3, 1, 3,
1, 3, 0, 2, 1, 3, 3, 0, 1, 1,
1, 3, 1, 1, 3, 3, 6, 1, 3, 3,
3, 5, 4, 3, 3, 1, 1, 1, 1, 1,
1, 1, 1, 1, 7, 6, 4, 4, 5, 0,
1, 2, 1, 3, 3, 2, 3, 6, 0, 1,
1, 2, 2, 2, 1, 7, 1, 1, 1, 1,
1, 3, 6, 3, 3, 2, 3, 1, 3, 2,
3, 3, 7, 5, 1, 1, 2, 1, 2, 1,
1, 3, 3, 3, 3, 1, 0, 2, 1, 2,
1, 1, 3, 5