summaryrefslogtreecommitdiff
path: root/ext/sqlite/libsqlite/src/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sqlite/libsqlite/src/parse.c')
-rw-r--r--ext/sqlite/libsqlite/src/parse.c2843
1 files changed, 1445 insertions, 1398 deletions
diff --git a/ext/sqlite/libsqlite/src/parse.c b/ext/sqlite/libsqlite/src/parse.c
index 64ec3457df..ed00220eda 100644
--- a/ext/sqlite/libsqlite/src/parse.c
+++ b/ext/sqlite/libsqlite/src/parse.c
@@ -1,10 +1,10 @@
/* Driver template for the LEMON parser generator.
** The author disclaims copyright to this source code.
*/
-/* First off, code is include which follows the "include" declaration
-** in the input file. */
+/* First off, code is included that follows the "include" declaration
+** in the input grammar file. */
#include <stdio.h>
-#line 33 "ext/sqlite/libsqlite/src/parse.y"
+#line 33 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
#include "sqliteInt.h"
#include "parse.h"
@@ -29,7 +29,7 @@ struct LimitVal {
*/
struct TrigEvent { int a; IdList * b; };
-#line 34 "ext/sqlite/libsqlite/src/parse.c"
+#line 33 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
/* Next is all token values, in a form suitable for use by makeheaders.
** This section will be null unless lemon is run with the -m switch.
*/
@@ -68,7 +68,8 @@ struct TrigEvent { int a; IdList * b; };
** This is typically a union of many types, one of
** which is sqliteParserTOKENTYPE. The entry in the union
** for base tokens is called "yy0".
-** YYSTACKDEPTH is the maximum depth of the parser's stack.
+** YYSTACKDEPTH is the maximum depth of the parser's stack. If
+** zero the stack is dynamically sized using realloc()
** sqliteParserARG_SDECL A static variable declaration for the %extra_argument
** sqliteParserARG_PDECL A parameter declaration for the %extra_argument
** sqliteParserARG_STORE Code to store %extra_argument into yypParser
@@ -83,6 +84,7 @@ struct TrigEvent { int a; IdList * b; };
#define YYACTIONTYPE unsigned short int
#define sqliteParserTOKENTYPE Token
typedef union {
+ int yyinit;
sqliteParserTOKENTYPE yy0;
TriggerStep * yy19;
struct LimitVal yy124;
@@ -90,29 +92,44 @@ typedef union {
Expr * yy182;
Expr* yy242;
struct TrigEvent yy290;
- Token yy298;
SrcList* yy307;
IdList* yy320;
ExprList* yy322;
int yy372;
struct {int value; int mask;} yy407;
- int yy441;
} YYMINORTYPE;
+#ifndef YYSTACKDEPTH
#define YYSTACKDEPTH 100
+#endif
#define sqliteParserARG_SDECL Parse *pParse;
#define sqliteParserARG_PDECL ,Parse *pParse
#define sqliteParserARG_FETCH Parse *pParse = yypParser->pParse
#define sqliteParserARG_STORE yypParser->pParse = pParse
#define YYNSTATE 563
#define YYNRULE 293
-#define YYERRORSYMBOL 131
-#define YYERRSYMDT yy441
#define YYFALLBACK 1
#define YY_NO_ACTION (YYNSTATE+YYNRULE+2)
#define YY_ACCEPT_ACTION (YYNSTATE+YYNRULE+1)
#define YY_ERROR_ACTION (YYNSTATE+YYNRULE)
-/* Next are that tables used to determine what action to take based on the
+/* The yyzerominor constant is used to initialize instances of
+** YYMINORTYPE objects to zero. */
+static const YYMINORTYPE yyzerominor = { 0 };
+
+/* Define the yytestcase() macro to be a no-op if is not already defined
+** otherwise.
+**
+** Applications can choose to define yytestcase() in the %include section
+** to a macro that can assist in verifying code coverage. For production
+** code the yytestcase() macro should be turned off. But it is useful
+** for testing.
+*/
+#ifndef yytestcase
+# define yytestcase(X)
+#endif
+
+
+/* Next are the tables used to determine what action to take based on the
** current state and lookahead token. These tables are used to implement
** functions that take a state number and lookahead value and return an
** action integer.
@@ -159,455 +176,386 @@ typedef union {
** shifting non-terminals after a reduce.
** yy_default[] Default action for each state.
*/
+#define YY_ACTTAB_COUNT (1143)
static const YYACTIONTYPE yy_action[] = {
- /* 0 */ 264, 5, 262, 119, 123, 117, 121, 129, 131, 133,
- /* 10 */ 135, 144, 146, 148, 150, 152, 154, 568, 106, 106,
- /* 20 */ 143, 857, 1, 562, 3, 142, 129, 131, 133, 135,
- /* 30 */ 144, 146, 148, 150, 152, 154, 174, 103, 8, 115,
- /* 40 */ 104, 139, 127, 125, 156, 161, 157, 162, 166, 119,
- /* 50 */ 123, 117, 121, 129, 131, 133, 135, 144, 146, 148,
- /* 60 */ 150, 152, 154, 31, 361, 392, 263, 143, 363, 369,
- /* 70 */ 374, 97, 142, 148, 150, 152, 154, 68, 75, 377,
- /* 80 */ 167, 64, 218, 46, 20, 289, 115, 104, 139, 127,
- /* 90 */ 125, 156, 161, 157, 162, 166, 119, 123, 117, 121,
- /* 100 */ 129, 131, 133, 135, 144, 146, 148, 150, 152, 154,
- /* 110 */ 193, 41, 336, 563, 44, 54, 60, 62, 308, 331,
- /* 120 */ 175, 20, 560, 561, 572, 333, 640, 18, 359, 144,
- /* 130 */ 146, 148, 150, 152, 154, 143, 181, 179, 303, 18,
- /* 140 */ 142, 84, 86, 20, 177, 66, 67, 111, 21, 22,
- /* 150 */ 112, 105, 83, 792, 115, 104, 139, 127, 125, 156,
- /* 160 */ 161, 157, 162, 166, 119, 123, 117, 121, 129, 131,
- /* 170 */ 133, 135, 144, 146, 148, 150, 152, 154, 790, 560,
- /* 180 */ 561, 46, 13, 113, 183, 21, 22, 534, 361, 2,
- /* 190 */ 3, 14, 363, 369, 374, 338, 361, 690, 544, 542,
- /* 200 */ 363, 369, 374, 377, 836, 143, 15, 21, 22, 16,
- /* 210 */ 142, 377, 44, 54, 60, 62, 308, 331, 396, 535,
- /* 220 */ 17, 9, 191, 333, 115, 104, 139, 127, 125, 156,
- /* 230 */ 161, 157, 162, 166, 119, 123, 117, 121, 129, 131,
- /* 240 */ 133, 135, 144, 146, 148, 150, 152, 154, 571, 230,
- /* 250 */ 340, 343, 143, 20, 536, 537, 538, 142, 402, 337,
- /* 260 */ 398, 339, 357, 68, 346, 347, 32, 64, 266, 391,
- /* 270 */ 37, 115, 104, 139, 127, 125, 156, 161, 157, 162,
- /* 280 */ 166, 119, 123, 117, 121, 129, 131, 133, 135, 144,
- /* 290 */ 146, 148, 150, 152, 154, 839, 193, 651, 291, 298,
- /* 300 */ 300, 221, 357, 43, 173, 689, 175, 251, 330, 36,
- /* 310 */ 37, 106, 232, 40, 335, 58, 137, 21, 22, 330,
- /* 320 */ 411, 143, 181, 179, 47, 59, 142, 358, 390, 174,
- /* 330 */ 177, 66, 67, 111, 448, 49, 112, 105, 583, 213,
- /* 340 */ 115, 104, 139, 127, 125, 156, 161, 157, 162, 166,
- /* 350 */ 119, 123, 117, 121, 129, 131, 133, 135, 144, 146,
- /* 360 */ 148, 150, 152, 154, 306, 301, 106, 249, 259, 113,
- /* 370 */ 183, 793, 70, 253, 281, 219, 20, 106, 20, 11,
- /* 380 */ 106, 482, 454, 444, 299, 143, 169, 10, 171, 172,
- /* 390 */ 142, 169, 73, 171, 172, 103, 688, 69, 174, 169,
- /* 400 */ 252, 171, 172, 12, 115, 104, 139, 127, 125, 156,
- /* 410 */ 161, 157, 162, 166, 119, 123, 117, 121, 129, 131,
- /* 420 */ 133, 135, 144, 146, 148, 150, 152, 154, 95, 237,
- /* 430 */ 313, 20, 143, 295, 244, 424, 169, 142, 171, 172,
- /* 440 */ 21, 22, 21, 22, 219, 386, 316, 323, 325, 837,
- /* 450 */ 19, 115, 104, 139, 127, 125, 156, 161, 157, 162,
- /* 460 */ 166, 119, 123, 117, 121, 129, 131, 133, 135, 144,
- /* 470 */ 146, 148, 150, 152, 154, 106, 661, 20, 264, 143,
- /* 480 */ 262, 844, 315, 169, 142, 171, 172, 333, 38, 842,
- /* 490 */ 10, 356, 348, 184, 421, 21, 22, 282, 115, 104,
- /* 500 */ 139, 127, 125, 156, 161, 157, 162, 166, 119, 123,
- /* 510 */ 117, 121, 129, 131, 133, 135, 144, 146, 148, 150,
- /* 520 */ 152, 154, 69, 254, 262, 251, 143, 639, 663, 35,
- /* 530 */ 65, 142, 726, 313, 283, 259, 185, 417, 419, 418,
- /* 540 */ 284, 21, 22, 690, 263, 115, 104, 139, 127, 125,
- /* 550 */ 156, 161, 157, 162, 166, 119, 123, 117, 121, 129,
- /* 560 */ 131, 133, 135, 144, 146, 148, 150, 152, 154, 256,
- /* 570 */ 20, 791, 424, 143, 169, 52, 171, 172, 142, 169,
- /* 580 */ 24, 171, 172, 247, 53, 315, 26, 169, 263, 171,
- /* 590 */ 172, 253, 115, 164, 139, 127, 125, 156, 161, 157,
- /* 600 */ 162, 166, 119, 123, 117, 121, 129, 131, 133, 135,
- /* 610 */ 144, 146, 148, 150, 152, 154, 426, 349, 252, 425,
- /* 620 */ 143, 262, 575, 297, 591, 142, 169, 296, 171, 172,
- /* 630 */ 169, 471, 171, 172, 21, 22, 427, 221, 91, 115,
- /* 640 */ 227, 139, 127, 125, 156, 161, 157, 162, 166, 119,
- /* 650 */ 123, 117, 121, 129, 131, 133, 135, 144, 146, 148,
- /* 660 */ 150, 152, 154, 388, 312, 106, 89, 143, 720, 376,
- /* 670 */ 387, 170, 142, 487, 666, 248, 320, 216, 319, 217,
- /* 680 */ 28, 459, 30, 305, 189, 263, 209, 104, 139, 127,
- /* 690 */ 125, 156, 161, 157, 162, 166, 119, 123, 117, 121,
- /* 700 */ 129, 131, 133, 135, 144, 146, 148, 150, 152, 154,
- /* 710 */ 106, 106, 809, 494, 143, 489, 106, 816, 33, 142,
- /* 720 */ 395, 234, 273, 217, 274, 420, 20, 545, 114, 481,
- /* 730 */ 137, 429, 576, 321, 116, 139, 127, 125, 156, 161,
- /* 740 */ 157, 162, 166, 119, 123, 117, 121, 129, 131, 133,
- /* 750 */ 135, 144, 146, 148, 150, 152, 154, 7, 322, 23,
- /* 760 */ 25, 27, 394, 68, 415, 416, 10, 64, 197, 477,
- /* 770 */ 577, 533, 266, 548, 578, 831, 276, 201, 520, 4,
- /* 780 */ 6, 245, 430, 557, 29, 266, 491, 106, 441, 497,
- /* 790 */ 21, 22, 205, 168, 443, 195, 193, 531, 276, 448,
- /* 800 */ 276, 808, 267, 272, 529, 174, 175, 318, 440, 341,
- /* 810 */ 344, 106, 342, 345, 69, 286, 68, 582, 69, 69,
- /* 820 */ 64, 540, 181, 179, 541, 328, 302, 366, 217, 118,
- /* 830 */ 177, 66, 67, 111, 34, 143, 112, 105, 445, 510,
- /* 840 */ 142, 215, 278, 800, 467, 276, 498, 503, 444, 193,
- /* 850 */ 106, 219, 486, 443, 42, 73, 231, 73, 45, 175,
- /* 860 */ 449, 39, 225, 229, 278, 451, 278, 68, 174, 113,
- /* 870 */ 183, 64, 371, 55, 106, 181, 179, 292, 69, 276,
- /* 880 */ 276, 69, 48, 177, 66, 67, 111, 224, 276, 112,
- /* 890 */ 105, 106, 481, 393, 106, 106, 63, 106, 106, 106,
- /* 900 */ 193, 653, 106, 467, 233, 51, 380, 437, 526, 120,
- /* 910 */ 175, 278, 122, 124, 219, 126, 128, 130, 69, 453,
- /* 920 */ 132, 106, 113, 183, 451, 106, 181, 179, 159, 106,
- /* 930 */ 106, 106, 518, 106, 177, 66, 67, 111, 106, 134,
- /* 940 */ 112, 105, 422, 136, 106, 278, 278, 138, 141, 145,
- /* 950 */ 720, 147, 106, 329, 275, 274, 149, 106, 852, 158,
- /* 960 */ 106, 106, 151, 106, 106, 351, 106, 352, 106, 464,
- /* 970 */ 153, 106, 106, 113, 183, 155, 106, 106, 163, 165,
- /* 980 */ 106, 176, 178, 106, 180, 106, 182, 106, 401, 190,
- /* 990 */ 192, 106, 106, 293, 210, 212, 106, 367, 214, 274,
- /* 1000 */ 372, 226, 274, 228, 381, 241, 274, 106, 106, 246,
- /* 1010 */ 280, 290, 106, 69, 375, 438, 472, 274, 422, 832,
- /* 1020 */ 106, 73, 474, 73, 458, 412, 462, 480, 464, 478,
- /* 1030 */ 466, 690, 515, 519, 475, 478, 516, 50, 479, 221,
- /* 1040 */ 690, 221, 56, 57, 61, 592, 71, 69, 593, 73,
- /* 1050 */ 72, 74, 245, 242, 93, 81, 76, 69, 77, 240,
- /* 1060 */ 78, 82, 79, 245, 85, 554, 80, 88, 87, 90,
- /* 1070 */ 92, 94, 96, 102, 100, 99, 101, 107, 109, 160,
- /* 1080 */ 154, 667, 98, 508, 108, 668, 110, 220, 211, 669,
- /* 1090 */ 137, 140, 188, 194, 186, 196, 187, 199, 198, 200,
- /* 1100 */ 203, 204, 202, 207, 206, 208, 221, 223, 222, 235,
- /* 1110 */ 236, 239, 238, 217, 250, 258, 243, 261, 279, 270,
- /* 1120 */ 271, 255, 257, 260, 269, 265, 285, 294, 277, 268,
- /* 1130 */ 287, 304, 309, 307, 327, 312, 288, 354, 389, 314,
- /* 1140 */ 364, 365, 370, 378, 379, 382, 310, 49, 311, 362,
- /* 1150 */ 368, 373, 317, 324, 326, 332, 350, 355, 383, 400,
- /* 1160 */ 353, 397, 399, 403, 404, 334, 405, 406, 407, 384,
- /* 1170 */ 413, 409, 824, 414, 360, 385, 829, 423, 410, 431,
- /* 1180 */ 428, 432, 830, 433, 434, 436, 439, 798, 799, 447,
- /* 1190 */ 442, 450, 727, 728, 446, 823, 452, 838, 455, 445,
- /* 1200 */ 456, 457, 408, 435, 460, 461, 463, 840, 465, 468,
- /* 1210 */ 470, 469, 476, 841, 483, 485, 843, 660, 662, 493,
- /* 1220 */ 806, 496, 473, 849, 499, 719, 501, 484, 488, 490,
- /* 1230 */ 492, 502, 504, 495, 500, 507, 505, 506, 509, 722,
- /* 1240 */ 513, 511, 512, 514, 517, 725, 528, 522, 524, 525,
- /* 1250 */ 527, 523, 807, 530, 810, 532, 811, 812, 813, 814,
- /* 1260 */ 817, 819, 539, 820, 818, 815, 521, 543, 546, 552,
- /* 1270 */ 556, 550, 850, 547, 549, 851, 555, 558, 551, 855,
- /* 1280 */ 553, 559,
+ /* 0 */ 186, 561, 483, 69, 67, 70, 68, 64, 63, 62,
+ /* 10 */ 61, 58, 57, 56, 55, 54, 53, 181, 180, 179,
+ /* 20 */ 514, 421, 334, 420, 468, 515, 64, 63, 62, 61,
+ /* 30 */ 58, 57, 56, 55, 54, 53, 9, 423, 422, 71,
+ /* 40 */ 72, 129, 65, 66, 513, 510, 305, 52, 138, 69,
+ /* 50 */ 67, 70, 68, 64, 63, 62, 61, 58, 57, 56,
+ /* 60 */ 55, 54, 53, 448, 469, 175, 482, 514, 470, 344,
+ /* 70 */ 342, 36, 515, 58, 57, 56, 55, 54, 53, 8,
+ /* 80 */ 341, 281, 285, 307, 437, 178, 71, 72, 129, 65,
+ /* 90 */ 66, 513, 510, 305, 52, 138, 69, 67, 70, 68,
+ /* 100 */ 64, 63, 62, 61, 58, 57, 56, 55, 54, 53,
+ /* 110 */ 130, 362, 360, 508, 507, 267, 551, 436, 298, 297,
+ /* 120 */ 369, 368, 50, 128, 543, 29, 266, 449, 537, 447,
+ /* 130 */ 591, 528, 442, 441, 187, 132, 514, 536, 47, 48,
+ /* 140 */ 472, 515, 122, 427, 331, 409, 49, 371, 370, 518,
+ /* 150 */ 328, 363, 517, 520, 45, 71, 72, 129, 65, 66,
+ /* 160 */ 513, 510, 305, 52, 138, 69, 67, 70, 68, 64,
+ /* 170 */ 63, 62, 61, 58, 57, 56, 55, 54, 53, 185,
+ /* 180 */ 550, 549, 512, 175, 467, 516, 18, 344, 342, 36,
+ /* 190 */ 194, 175, 320, 230, 231, 344, 342, 36, 341, 56,
+ /* 200 */ 55, 54, 53, 212, 531, 514, 341, 544, 551, 3,
+ /* 210 */ 515, 551, 362, 551, 508, 507, 184, 132, 195, 213,
+ /* 220 */ 551, 309, 348, 42, 71, 72, 129, 65, 66, 513,
+ /* 230 */ 510, 305, 52, 138, 69, 67, 70, 68, 64, 63,
+ /* 240 */ 62, 61, 58, 57, 56, 55, 54, 53, 243, 197,
+ /* 250 */ 282, 73, 268, 373, 264, 372, 183, 241, 2, 358,
+ /* 260 */ 7, 563, 551, 240, 551, 471, 385, 201, 356, 514,
+ /* 270 */ 379, 378, 550, 549, 515, 550, 549, 550, 549, 500,
+ /* 280 */ 506, 17, 172, 354, 550, 549, 359, 392, 71, 72,
+ /* 290 */ 129, 65, 66, 513, 510, 305, 52, 138, 69, 67,
+ /* 300 */ 70, 68, 64, 63, 62, 61, 58, 57, 56, 55,
+ /* 310 */ 54, 53, 486, 365, 416, 551, 514, 417, 493, 494,
+ /* 320 */ 17, 515, 169, 478, 171, 80, 550, 549, 550, 549,
+ /* 330 */ 466, 108, 17, 144, 332, 71, 72, 129, 65, 66,
+ /* 340 */ 513, 510, 305, 52, 138, 69, 67, 70, 68, 64,
+ /* 350 */ 63, 62, 61, 58, 57, 56, 55, 54, 53, 446,
+ /* 360 */ 182, 488, 445, 514, 366, 249, 490, 362, 515, 508,
+ /* 370 */ 507, 429, 463, 444, 375, 338, 443, 12, 430, 550,
+ /* 380 */ 549, 592, 71, 72, 129, 65, 66, 513, 510, 305,
+ /* 390 */ 52, 138, 69, 67, 70, 68, 64, 63, 62, 61,
+ /* 400 */ 58, 57, 56, 55, 54, 53, 362, 485, 508, 507,
+ /* 410 */ 514, 459, 286, 460, 436, 515, 388, 240, 269, 387,
+ /* 420 */ 182, 426, 29, 857, 82, 377, 1, 134, 593, 71,
+ /* 430 */ 51, 129, 65, 66, 513, 510, 305, 52, 138, 69,
+ /* 440 */ 67, 70, 68, 64, 63, 62, 61, 58, 57, 56,
+ /* 450 */ 55, 54, 53, 551, 487, 177, 365, 514, 87, 483,
+ /* 460 */ 542, 450, 515, 454, 160, 80, 453, 440, 239, 176,
+ /* 470 */ 80, 238, 286, 80, 106, 458, 71, 40, 129, 65,
+ /* 480 */ 66, 513, 510, 305, 52, 138, 69, 67, 70, 68,
+ /* 490 */ 64, 63, 62, 61, 58, 57, 56, 55, 54, 53,
+ /* 500 */ 457, 393, 534, 418, 514, 186, 527, 483, 156, 515,
+ /* 510 */ 351, 323, 533, 339, 232, 80, 80, 550, 549, 46,
+ /* 520 */ 498, 44, 526, 482, 72, 129, 65, 66, 513, 510,
+ /* 530 */ 305, 52, 138, 69, 67, 70, 68, 64, 63, 62,
+ /* 540 */ 61, 58, 57, 56, 55, 54, 53, 365, 153, 300,
+ /* 550 */ 155, 514, 405, 431, 165, 404, 515, 32, 396, 13,
+ /* 560 */ 32, 86, 333, 323, 38, 106, 205, 414, 391, 390,
+ /* 570 */ 202, 482, 129, 65, 66, 513, 510, 305, 52, 138,
+ /* 580 */ 69, 67, 70, 68, 64, 63, 62, 61, 58, 57,
+ /* 590 */ 56, 55, 54, 53, 274, 309, 272, 271, 270, 23,
+ /* 600 */ 8, 301, 211, 11, 307, 418, 212, 365, 483, 31,
+ /* 610 */ 217, 498, 562, 1, 60, 219, 480, 365, 204, 321,
+ /* 620 */ 215, 154, 207, 137, 480, 93, 268, 373, 264, 372,
+ /* 630 */ 183, 241, 365, 360, 203, 106, 409, 240, 365, 207,
+ /* 640 */ 365, 145, 541, 50, 412, 365, 247, 453, 531, 302,
+ /* 650 */ 105, 135, 173, 8, 245, 170, 106, 307, 108, 47,
+ /* 660 */ 48, 346, 19, 106, 290, 289, 299, 49, 371, 370,
+ /* 670 */ 518, 304, 482, 517, 520, 158, 531, 531, 193, 800,
+ /* 680 */ 531, 498, 207, 319, 223, 231, 360, 207, 475, 283,
+ /* 690 */ 514, 162, 257, 252, 212, 515, 50, 365, 511, 303,
+ /* 700 */ 531, 557, 499, 192, 8, 475, 516, 18, 307, 498,
+ /* 710 */ 556, 365, 47, 48, 295, 93, 531, 41, 136, 207,
+ /* 720 */ 49, 371, 370, 518, 148, 555, 517, 520, 554, 89,
+ /* 730 */ 376, 560, 365, 162, 509, 214, 480, 360, 365, 553,
+ /* 740 */ 152, 322, 495, 505, 141, 212, 294, 50, 477, 531,
+ /* 750 */ 112, 284, 207, 475, 504, 288, 90, 327, 531, 516,
+ /* 760 */ 18, 207, 326, 47, 48, 531, 473, 212, 365, 531,
+ /* 770 */ 191, 49, 371, 370, 518, 365, 365, 517, 520, 293,
+ /* 780 */ 316, 503, 365, 322, 60, 475, 109, 365, 291, 190,
+ /* 790 */ 317, 365, 502, 121, 120, 365, 189, 365, 365, 407,
+ /* 800 */ 119, 365, 365, 501, 326, 118, 365, 365, 365, 117,
+ /* 810 */ 516, 18, 365, 116, 365, 126, 125, 365, 475, 124,
+ /* 820 */ 123, 365, 365, 365, 115, 114, 140, 475, 365, 365,
+ /* 830 */ 139, 365, 255, 365, 365, 254, 365, 365, 365, 253,
+ /* 840 */ 280, 107, 365, 365, 10, 365, 113, 111, 365, 279,
+ /* 850 */ 365, 278, 277, 365, 92, 104, 103, 365, 365, 365,
+ /* 860 */ 91, 102, 365, 101, 365, 365, 110, 347, 100, 379,
+ /* 870 */ 378, 99, 17, 484, 28, 98, 30, 97, 79, 131,
+ /* 880 */ 96, 465, 95, 94, 439, 14, 343, 26, 25, 340,
+ /* 890 */ 24, 174, 266, 85, 166, 292, 78, 165, 415, 164,
+ /* 900 */ 163, 22, 6, 408, 5, 77, 34, 33, 159, 16,
+ /* 910 */ 157, 151, 75, 149, 146, 15, 312, 395, 384, 313,
+ /* 920 */ 143, 20, 206, 60, 21, 273, 198, 375, 559, 548,
+ /* 930 */ 547, 546, 4, 212, 538, 261, 308, 38, 540, 530,
+ /* 940 */ 260, 39, 352, 374, 539, 535, 532, 196, 367, 210,
+ /* 950 */ 256, 259, 522, 53, 258, 521, 529, 209, 188, 43,
+ /* 960 */ 27, 37, 349, 496, 492, 452, 81, 276, 246, 275,
+ /* 970 */ 479, 244, 208, 464, 474, 451, 433, 335, 432, 413,
+ /* 980 */ 234, 35, 127, 76, 381, 858, 410, 161, 858, 199,
+ /* 990 */ 858, 858, 858, 858, 858, 858, 403, 858, 235, 858,
+ /* 1000 */ 858, 858, 329, 858, 150, 398, 858, 545, 858, 858,
+ /* 1010 */ 400, 399, 858, 224, 858, 858, 84, 147, 858, 318,
+ /* 1020 */ 265, 858, 220, 858, 858, 858, 858, 552, 74, 424,
+ /* 1030 */ 858, 523, 858, 858, 491, 476, 287, 315, 858, 83,
+ /* 1040 */ 88, 262, 463, 364, 519, 310, 382, 357, 355, 353,
+ /* 1050 */ 858, 306, 497, 481, 525, 406, 524, 242, 462, 397,
+ /* 1060 */ 434, 237, 858, 425, 337, 168, 858, 438, 461, 858,
+ /* 1070 */ 296, 200, 236, 419, 456, 383, 330, 142, 263, 361,
+ /* 1080 */ 345, 858, 455, 233, 325, 324, 489, 229, 228, 402,
+ /* 1090 */ 401, 858, 227, 226, 225, 389, 386, 222, 221, 218,
+ /* 1100 */ 314, 394, 311, 216, 558, 380, 251, 250, 133, 350,
+ /* 1110 */ 248, 858, 435, 858, 858, 858, 858, 858, 858, 858,
+ /* 1120 */ 858, 858, 428, 858, 858, 411, 858, 858, 858, 858,
+ /* 1130 */ 59, 858, 858, 858, 858, 858, 858, 858, 858, 858,
+ /* 1140 */ 167, 858, 336,
};
static const YYCODETYPE yy_lookahead[] = {
/* 0 */ 21, 9, 23, 70, 71, 72, 73, 74, 75, 76,
- /* 10 */ 77, 78, 79, 80, 81, 82, 83, 9, 140, 140,
- /* 20 */ 41, 132, 133, 134, 135, 46, 74, 75, 76, 77,
- /* 30 */ 78, 79, 80, 81, 82, 83, 158, 158, 138, 60,
+ /* 10 */ 77, 78, 79, 80, 81, 82, 83, 100, 101, 102,
+ /* 20 */ 41, 100, 101, 102, 20, 46, 74, 75, 76, 77,
+ /* 30 */ 78, 79, 80, 81, 82, 83, 19, 55, 56, 60,
/* 40 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
/* 50 */ 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
- /* 60 */ 81, 82, 83, 19, 90, 21, 87, 41, 94, 95,
- /* 70 */ 96, 192, 46, 80, 81, 82, 83, 19, 174, 105,
- /* 80 */ 19, 23, 204, 62, 23, 181, 60, 61, 62, 63,
+ /* 60 */ 81, 82, 83, 23, 108, 90, 87, 41, 112, 94,
+ /* 70 */ 95, 96, 46, 78, 79, 80, 81, 82, 83, 19,
+ /* 80 */ 105, 149, 143, 23, 152, 153, 60, 61, 62, 63,
/* 90 */ 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
/* 100 */ 74, 75, 76, 77, 78, 79, 80, 81, 82, 83,
- /* 110 */ 52, 90, 91, 0, 93, 94, 95, 96, 97, 98,
- /* 120 */ 62, 23, 9, 10, 9, 104, 20, 12, 22, 78,
- /* 130 */ 79, 80, 81, 82, 83, 41, 78, 79, 80, 12,
- /* 140 */ 46, 78, 79, 23, 86, 87, 88, 89, 87, 88,
- /* 150 */ 92, 93, 89, 127, 60, 61, 62, 63, 64, 65,
- /* 160 */ 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
- /* 170 */ 76, 77, 78, 79, 80, 81, 82, 83, 14, 9,
- /* 180 */ 10, 62, 15, 125, 126, 87, 88, 140, 90, 134,
- /* 190 */ 135, 24, 94, 95, 96, 23, 90, 9, 78, 79,
- /* 200 */ 94, 95, 96, 105, 11, 41, 39, 87, 88, 42,
- /* 210 */ 46, 105, 93, 94, 95, 96, 97, 98, 17, 99,
- /* 220 */ 53, 139, 128, 104, 60, 61, 62, 63, 64, 65,
+ /* 110 */ 31, 107, 52, 109, 110, 93, 23, 140, 78, 79,
+ /* 120 */ 78, 79, 62, 22, 147, 148, 104, 87, 34, 89,
+ /* 130 */ 113, 89, 92, 93, 183, 184, 41, 43, 78, 79,
+ /* 140 */ 80, 46, 165, 166, 205, 53, 86, 87, 88, 89,
+ /* 150 */ 211, 62, 92, 93, 128, 60, 61, 62, 63, 64,
+ /* 160 */ 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
+ /* 170 */ 75, 76, 77, 78, 79, 80, 81, 82, 83, 146,
+ /* 180 */ 87, 88, 93, 90, 20, 125, 126, 94, 95, 96,
+ /* 190 */ 22, 90, 100, 101, 102, 94, 95, 96, 105, 80,
+ /* 200 */ 81, 82, 83, 111, 171, 41, 105, 20, 23, 19,
+ /* 210 */ 46, 23, 107, 23, 109, 110, 183, 184, 50, 48,
+ /* 220 */ 23, 62, 189, 128, 60, 61, 62, 63, 64, 65,
/* 230 */ 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
- /* 240 */ 76, 77, 78, 79, 80, 81, 82, 83, 9, 19,
- /* 250 */ 78, 79, 41, 23, 207, 208, 209, 46, 57, 87,
- /* 260 */ 59, 89, 140, 19, 92, 93, 144, 23, 152, 147,
- /* 270 */ 148, 60, 61, 62, 63, 64, 65, 66, 67, 68,
- /* 280 */ 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
- /* 290 */ 79, 80, 81, 82, 83, 14, 52, 9, 182, 20,
- /* 300 */ 20, 113, 140, 156, 20, 20, 62, 22, 161, 147,
- /* 310 */ 148, 140, 20, 155, 156, 26, 200, 87, 88, 161,
- /* 320 */ 127, 41, 78, 79, 93, 36, 46, 165, 166, 158,
- /* 330 */ 86, 87, 88, 89, 53, 104, 92, 93, 9, 128,
- /* 340 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
- /* 350 */ 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
- /* 360 */ 80, 81, 82, 83, 20, 194, 140, 183, 184, 125,
- /* 370 */ 126, 127, 146, 88, 19, 204, 23, 140, 23, 31,
- /* 380 */ 140, 100, 101, 102, 158, 41, 107, 99, 109, 110,
- /* 390 */ 46, 107, 111, 109, 110, 158, 20, 171, 158, 107,
- /* 400 */ 115, 109, 110, 170, 60, 61, 62, 63, 64, 65,
- /* 410 */ 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
- /* 420 */ 76, 77, 78, 79, 80, 81, 82, 83, 191, 192,
- /* 430 */ 47, 23, 41, 80, 194, 140, 107, 46, 109, 110,
- /* 440 */ 87, 88, 87, 88, 204, 62, 100, 101, 102, 11,
- /* 450 */ 140, 60, 61, 62, 63, 64, 65, 66, 67, 68,
- /* 460 */ 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
- /* 470 */ 79, 80, 81, 82, 83, 140, 9, 23, 21, 41,
- /* 480 */ 23, 9, 99, 107, 46, 109, 110, 104, 149, 9,
- /* 490 */ 99, 152, 153, 158, 199, 87, 88, 146, 60, 61,
- /* 500 */ 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
- /* 510 */ 72, 73, 74, 75, 76, 77, 78, 79, 80, 81,
- /* 520 */ 82, 83, 171, 115, 23, 22, 41, 20, 9, 22,
- /* 530 */ 19, 46, 9, 47, 183, 184, 201, 100, 101, 102,
- /* 540 */ 189, 87, 88, 19, 87, 60, 61, 62, 63, 64,
- /* 550 */ 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
- /* 560 */ 75, 76, 77, 78, 79, 80, 81, 82, 83, 115,
- /* 570 */ 23, 14, 140, 41, 107, 34, 109, 110, 46, 107,
- /* 580 */ 138, 109, 110, 22, 43, 99, 138, 107, 87, 109,
- /* 590 */ 110, 88, 60, 61, 62, 63, 64, 65, 66, 67,
- /* 600 */ 68, 69, 70, 71, 72, 73, 74, 75, 76, 77,
- /* 610 */ 78, 79, 80, 81, 82, 83, 25, 19, 115, 28,
- /* 620 */ 41, 23, 9, 108, 113, 46, 107, 112, 109, 110,
- /* 630 */ 107, 199, 109, 110, 87, 88, 45, 113, 22, 60,
- /* 640 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
- /* 650 */ 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
- /* 660 */ 81, 82, 83, 161, 162, 140, 50, 41, 9, 139,
- /* 670 */ 168, 108, 46, 17, 111, 114, 91, 20, 93, 22,
- /* 680 */ 138, 22, 142, 158, 127, 87, 129, 61, 62, 63,
- /* 690 */ 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
- /* 700 */ 74, 75, 76, 77, 78, 79, 80, 81, 82, 83,
- /* 710 */ 140, 140, 9, 57, 41, 59, 140, 9, 145, 46,
- /* 720 */ 143, 20, 20, 22, 22, 49, 23, 19, 158, 158,
- /* 730 */ 200, 18, 9, 29, 158, 62, 63, 64, 65, 66,
- /* 740 */ 67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
- /* 750 */ 77, 78, 79, 80, 81, 82, 83, 11, 54, 13,
- /* 760 */ 14, 15, 16, 19, 55, 56, 99, 23, 15, 198,
- /* 770 */ 9, 63, 152, 27, 9, 99, 140, 24, 32, 136,
- /* 780 */ 137, 122, 205, 37, 141, 152, 130, 140, 211, 146,
- /* 790 */ 87, 88, 39, 146, 146, 42, 52, 51, 140, 53,
- /* 800 */ 140, 9, 182, 167, 58, 158, 62, 103, 95, 89,
- /* 810 */ 89, 140, 92, 92, 171, 182, 19, 9, 171, 171,
- /* 820 */ 23, 89, 78, 79, 92, 167, 20, 167, 22, 158,
- /* 830 */ 86, 87, 88, 89, 20, 41, 92, 93, 60, 196,
- /* 840 */ 46, 194, 206, 130, 196, 140, 100, 101, 102, 52,
- /* 850 */ 140, 204, 106, 146, 140, 111, 146, 111, 139, 62,
- /* 860 */ 212, 150, 68, 69, 206, 217, 206, 19, 158, 125,
- /* 870 */ 126, 23, 167, 48, 140, 78, 79, 80, 171, 140,
- /* 880 */ 140, 171, 139, 86, 87, 88, 89, 93, 140, 92,
- /* 890 */ 93, 140, 158, 146, 140, 140, 19, 140, 140, 140,
- /* 900 */ 52, 123, 140, 196, 194, 44, 167, 167, 116, 158,
- /* 910 */ 62, 206, 158, 158, 204, 158, 158, 158, 171, 212,
- /* 920 */ 158, 140, 125, 126, 217, 140, 78, 79, 62, 140,
- /* 930 */ 140, 140, 198, 140, 86, 87, 88, 89, 140, 158,
- /* 940 */ 92, 93, 22, 158, 140, 206, 206, 158, 158, 158,
- /* 950 */ 9, 158, 140, 20, 206, 22, 158, 140, 9, 93,
- /* 960 */ 140, 140, 158, 140, 140, 20, 140, 22, 140, 140,
- /* 970 */ 158, 140, 140, 125, 126, 158, 140, 140, 158, 158,
- /* 980 */ 140, 158, 158, 140, 158, 140, 158, 140, 146, 158,
- /* 990 */ 158, 140, 140, 140, 158, 158, 140, 20, 158, 22,
- /* 1000 */ 20, 158, 22, 158, 20, 158, 22, 140, 140, 158,
- /* 1010 */ 158, 158, 140, 171, 158, 20, 20, 22, 22, 99,
- /* 1020 */ 140, 111, 146, 111, 195, 158, 158, 20, 140, 22,
- /* 1030 */ 158, 103, 146, 20, 124, 22, 124, 164, 158, 113,
- /* 1040 */ 114, 113, 157, 139, 139, 113, 172, 171, 113, 111,
- /* 1050 */ 171, 173, 122, 119, 117, 180, 175, 171, 176, 120,
- /* 1060 */ 177, 121, 178, 122, 89, 116, 179, 154, 89, 154,
- /* 1070 */ 154, 118, 22, 151, 98, 157, 23, 113, 113, 93,
- /* 1080 */ 83, 111, 193, 195, 140, 111, 140, 140, 127, 111,
- /* 1090 */ 200, 200, 14, 19, 202, 20, 203, 140, 22, 20,
- /* 1100 */ 140, 20, 22, 140, 22, 20, 113, 186, 140, 140,
- /* 1110 */ 186, 157, 193, 22, 185, 115, 118, 186, 99, 116,
- /* 1120 */ 19, 140, 140, 140, 188, 140, 20, 113, 157, 187,
- /* 1130 */ 187, 20, 140, 139, 19, 162, 188, 20, 166, 140,
- /* 1140 */ 48, 19, 19, 48, 19, 97, 159, 104, 160, 140,
- /* 1150 */ 139, 139, 163, 163, 163, 151, 154, 152, 140, 21,
- /* 1160 */ 154, 140, 140, 140, 213, 164, 214, 99, 140, 159,
- /* 1170 */ 40, 215, 11, 38, 166, 160, 99, 140, 216, 130,
- /* 1180 */ 49, 140, 99, 99, 140, 19, 139, 9, 130, 169,
- /* 1190 */ 11, 14, 123, 123, 170, 9, 9, 14, 169, 60,
- /* 1200 */ 140, 103, 186, 186, 140, 63, 176, 9, 63, 123,
- /* 1210 */ 19, 140, 19, 9, 114, 176, 9, 9, 9, 186,
- /* 1220 */ 9, 186, 197, 9, 114, 9, 186, 140, 140, 140,
- /* 1230 */ 140, 176, 169, 140, 140, 103, 140, 186, 176, 9,
- /* 1240 */ 186, 123, 140, 197, 19, 9, 87, 140, 114, 140,
- /* 1250 */ 35, 186, 9, 140, 9, 152, 9, 9, 9, 9,
- /* 1260 */ 9, 9, 210, 9, 9, 9, 169, 210, 140, 140,
- /* 1270 */ 33, 152, 9, 20, 218, 9, 152, 218, 21, 9,
- /* 1280 */ 219, 140,
+ /* 240 */ 76, 77, 78, 79, 80, 81, 82, 83, 20, 90,
+ /* 250 */ 91, 19, 93, 94, 95, 96, 97, 98, 19, 15,
+ /* 260 */ 19, 0, 23, 104, 23, 80, 78, 79, 24, 41,
+ /* 270 */ 9, 10, 87, 88, 46, 87, 88, 87, 88, 20,
+ /* 280 */ 20, 22, 17, 39, 87, 88, 42, 99, 60, 61,
+ /* 290 */ 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
+ /* 300 */ 72, 73, 74, 75, 76, 77, 78, 79, 80, 81,
+ /* 310 */ 82, 83, 115, 140, 25, 23, 41, 28, 20, 20,
+ /* 320 */ 22, 46, 57, 20, 59, 22, 87, 88, 87, 88,
+ /* 330 */ 20, 158, 22, 19, 45, 60, 61, 62, 63, 64,
+ /* 340 */ 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
+ /* 350 */ 75, 76, 77, 78, 79, 80, 81, 82, 83, 89,
+ /* 360 */ 47, 22, 92, 41, 191, 192, 22, 107, 46, 109,
+ /* 370 */ 110, 161, 162, 89, 99, 62, 92, 63, 168, 87,
+ /* 380 */ 88, 113, 60, 61, 62, 63, 64, 65, 66, 67,
+ /* 390 */ 68, 69, 70, 71, 72, 73, 74, 75, 76, 77,
+ /* 400 */ 78, 79, 80, 81, 82, 83, 107, 115, 109, 110,
+ /* 410 */ 41, 91, 99, 93, 140, 46, 89, 104, 144, 92,
+ /* 420 */ 47, 147, 148, 132, 133, 134, 135, 88, 113, 60,
+ /* 430 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
+ /* 440 */ 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
+ /* 450 */ 81, 82, 83, 23, 115, 19, 140, 41, 114, 23,
+ /* 460 */ 155, 156, 46, 20, 22, 22, 161, 20, 20, 22,
+ /* 470 */ 22, 20, 99, 22, 158, 29, 60, 61, 62, 63,
+ /* 480 */ 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
+ /* 490 */ 74, 75, 76, 77, 78, 79, 80, 81, 82, 83,
+ /* 500 */ 54, 140, 26, 140, 41, 21, 89, 23, 17, 46,
+ /* 510 */ 194, 140, 36, 20, 20, 22, 22, 87, 88, 127,
+ /* 520 */ 204, 129, 89, 87, 61, 62, 63, 64, 65, 66,
+ /* 530 */ 67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
+ /* 540 */ 77, 78, 79, 80, 81, 82, 83, 140, 57, 103,
+ /* 550 */ 59, 41, 20, 139, 22, 20, 46, 22, 20, 19,
+ /* 560 */ 22, 21, 199, 140, 122, 158, 195, 18, 207, 208,
+ /* 570 */ 209, 87, 62, 63, 64, 65, 66, 67, 68, 69,
+ /* 580 */ 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
+ /* 590 */ 80, 81, 82, 83, 11, 62, 13, 14, 15, 16,
+ /* 600 */ 19, 194, 174, 118, 23, 140, 111, 140, 23, 181,
+ /* 610 */ 27, 204, 134, 135, 200, 32, 152, 140, 195, 124,
+ /* 620 */ 37, 130, 140, 146, 152, 158, 93, 94, 95, 96,
+ /* 630 */ 97, 98, 140, 52, 51, 158, 53, 104, 140, 140,
+ /* 640 */ 140, 58, 156, 62, 95, 140, 182, 161, 171, 167,
+ /* 650 */ 158, 146, 146, 19, 182, 146, 158, 23, 158, 78,
+ /* 660 */ 79, 80, 22, 158, 199, 198, 167, 86, 87, 88,
+ /* 670 */ 89, 194, 87, 92, 93, 146, 171, 171, 113, 130,
+ /* 680 */ 171, 204, 140, 100, 101, 102, 52, 140, 206, 106,
+ /* 690 */ 41, 146, 192, 201, 111, 46, 62, 140, 93, 194,
+ /* 700 */ 171, 15, 204, 113, 19, 206, 125, 126, 23, 204,
+ /* 710 */ 24, 140, 78, 79, 167, 158, 171, 68, 69, 140,
+ /* 720 */ 86, 87, 88, 89, 146, 39, 92, 93, 42, 158,
+ /* 730 */ 136, 137, 140, 146, 108, 141, 152, 52, 140, 53,
+ /* 740 */ 146, 196, 93, 14, 146, 111, 167, 62, 206, 171,
+ /* 750 */ 158, 19, 140, 206, 20, 198, 158, 212, 171, 125,
+ /* 760 */ 126, 140, 217, 78, 79, 171, 182, 111, 140, 171,
+ /* 770 */ 22, 86, 87, 88, 89, 140, 140, 92, 93, 167,
+ /* 780 */ 124, 20, 140, 196, 200, 206, 158, 140, 167, 22,
+ /* 790 */ 196, 140, 20, 158, 158, 140, 22, 140, 140, 212,
+ /* 800 */ 158, 140, 140, 20, 217, 158, 140, 140, 140, 158,
+ /* 810 */ 125, 126, 140, 158, 140, 158, 158, 140, 206, 158,
+ /* 820 */ 158, 140, 140, 140, 158, 158, 158, 206, 140, 140,
+ /* 830 */ 158, 140, 158, 140, 140, 158, 140, 140, 140, 158,
+ /* 840 */ 158, 158, 140, 140, 118, 140, 158, 158, 140, 158,
+ /* 850 */ 140, 158, 158, 140, 158, 158, 158, 140, 140, 140,
+ /* 860 */ 158, 158, 140, 158, 140, 140, 158, 140, 158, 9,
+ /* 870 */ 10, 158, 22, 115, 19, 158, 158, 158, 20, 113,
+ /* 880 */ 158, 20, 158, 158, 20, 158, 48, 19, 19, 48,
+ /* 890 */ 19, 97, 104, 21, 99, 38, 49, 22, 49, 130,
+ /* 900 */ 99, 19, 11, 14, 9, 103, 63, 63, 123, 19,
+ /* 910 */ 114, 114, 103, 123, 114, 19, 35, 87, 20, 116,
+ /* 920 */ 21, 150, 160, 200, 160, 138, 12, 99, 139, 138,
+ /* 930 */ 138, 138, 22, 111, 164, 176, 44, 122, 139, 171,
+ /* 940 */ 177, 120, 119, 145, 139, 139, 139, 121, 117, 193,
+ /* 950 */ 98, 178, 23, 83, 179, 151, 180, 202, 113, 127,
+ /* 960 */ 19, 99, 116, 186, 186, 151, 186, 159, 187, 159,
+ /* 970 */ 188, 187, 193, 139, 188, 164, 139, 40, 139, 139,
+ /* 980 */ 215, 127, 60, 19, 33, 220, 169, 169, 220, 116,
+ /* 990 */ 220, 220, 220, 220, 220, 220, 176, 220, 186, 220,
+ /* 1000 */ 220, 220, 186, 220, 169, 176, 220, 142, 220, 220,
+ /* 1010 */ 186, 186, 220, 186, 220, 220, 197, 169, 220, 186,
+ /* 1020 */ 157, 220, 186, 220, 220, 220, 220, 140, 140, 216,
+ /* 1030 */ 220, 157, 220, 220, 157, 157, 152, 186, 220, 197,
+ /* 1040 */ 173, 175, 162, 140, 140, 152, 152, 140, 140, 140,
+ /* 1050 */ 220, 154, 140, 140, 154, 176, 154, 140, 140, 176,
+ /* 1060 */ 140, 140, 220, 140, 140, 140, 220, 152, 163, 220,
+ /* 1070 */ 154, 218, 140, 140, 163, 219, 140, 218, 172, 203,
+ /* 1080 */ 154, 220, 163, 140, 140, 140, 185, 140, 140, 140,
+ /* 1090 */ 140, 220, 140, 140, 140, 210, 210, 140, 140, 140,
+ /* 1100 */ 140, 140, 140, 140, 170, 140, 140, 140, 140, 140,
+ /* 1110 */ 140, 220, 166, 220, 220, 220, 220, 220, 220, 220,
+ /* 1120 */ 220, 220, 166, 220, 220, 170, 220, 220, 220, 220,
+ /* 1130 */ 200, 220, 220, 220, 220, 220, 220, 220, 220, 220,
+ /* 1140 */ 213, 220, 214,
};
-#define YY_SHIFT_USE_DFLT (-68)
+#define YY_SHIFT_USE_DFLT (-84)
+#define YY_SHIFT_COUNT (376)
+#define YY_SHIFT_MIN (-83)
+#define YY_SHIFT_MAX (964)
static const short yy_shift_ofst[] = {
- /* 0 */ 170, 113, -68, 746, -8, -68, 8, 127, 288, 239,
- /* 10 */ 348, 167, -68, -68, -68, -68, -68, -68, 547, -68,
- /* 20 */ -68, -68, -68, 115, 613, 115, 723, 115, 761, 44,
- /* 30 */ 765, 547, 507, 814, 808, 98, -68, 501, -68, 21,
- /* 40 */ -68, 547, 119, -68, 667, -68, 231, 667, -68, 861,
- /* 50 */ -68, 541, -68, -68, 825, 289, 667, -68, -68, -68,
- /* 60 */ 667, -68, 877, 848, 511, 58, 932, 935, 744, -68,
- /* 70 */ 279, 938, -68, 515, -68, 561, 930, 934, 939, 937,
- /* 80 */ 940, -68, 63, -68, 975, -68, 979, -68, 616, 63,
- /* 90 */ -68, 63, -68, 953, 848, 1050, 848, 976, 289, -68,
- /* 100 */ 1053, -68, -68, 485, 848, -68, 964, 547, 965, 547,
- /* 110 */ -68, -68, -68, -68, 673, 848, 626, 848, -48, 848,
- /* 120 */ -48, 848, -48, 848, -48, 848, -67, 848, -67, 848,
- /* 130 */ 51, 848, 51, 848, 51, 848, 51, 848, -67, 794,
- /* 140 */ 848, -67, -68, -68, 848, -7, 848, -7, 848, 997,
- /* 150 */ 848, 997, 848, 997, 848, -68, -68, 866, -68, 986,
- /* 160 */ -68, -68, 848, 532, 848, -67, 61, 744, 284, 563,
- /* 170 */ 970, 974, 978, -68, 485, 848, 673, 848, -68, 848,
- /* 180 */ -68, 848, -68, 244, 26, 961, 557, 1078, -68, 848,
- /* 190 */ 94, 848, 485, 1074, 753, 1075, -68, 1076, 547, 1079,
- /* 200 */ -68, 1080, 547, 1081, -68, 1082, 547, 1085, -68, 848,
- /* 210 */ 164, 848, 211, 848, 485, 657, -68, 848, -68, -68,
- /* 220 */ 993, 547, -68, -68, -68, 848, 579, 848, 673, 230,
- /* 230 */ 744, 292, -68, 701, -68, 993, -68, 976, 289, -68,
- /* 240 */ 848, 485, 998, 848, 1091, 848, 485, -68, -68, 503,
- /* 250 */ -68, -68, -68, 408, -68, 454, -68, 1000, -68, 355,
- /* 260 */ 993, 457, -68, -68, 547, -68, -68, 1019, 1003, -68,
- /* 270 */ 1101, 547, 702, -68, 547, -68, 289, -68, -68, 848,
- /* 280 */ 485, 938, 376, 285, 1106, 457, 1019, 1003, -68, 797,
- /* 290 */ -21, -68, -68, 1014, 353, -68, -68, -68, -68, 280,
- /* 300 */ -68, 806, -68, 1111, -68, 344, 667, -68, 547, 1115,
- /* 310 */ -68, 486, -68, 547, -68, 346, 704, -68, 585, -68,
- /* 320 */ -68, -68, -68, 704, -68, 704, -68, 547, 933, -68,
- /* 330 */ -68, 1053, -68, 861, -68, -68, 172, -68, -68, -68,
- /* 340 */ 720, -68, -68, 721, -68, -68, -68, -68, 598, 63,
- /* 350 */ 945, -68, 63, 1117, -68, -68, -68, -68, 106, -26,
- /* 360 */ -68, 547, -68, 1092, 1122, 547, 977, 667, -68, 1123,
- /* 370 */ 547, 980, 667, -68, 848, 391, -68, 1095, 1125, 547,
- /* 380 */ 984, 1048, 547, 1115, -68, 383, 1043, -68, -68, -68,
- /* 390 */ -68, -68, 938, 329, 713, 201, 547, -68, 547, 1138,
- /* 400 */ 938, 467, 547, 591, 437, 1068, 547, 993, 1130, 193,
- /* 410 */ 1161, 848, 438, 1135, 709, -68, -68, 1077, 1083, 676,
- /* 420 */ 547, 920, 547, -68, -68, -68, -68, 1131, -68, -68,
- /* 430 */ 1049, 547, 1084, 547, 524, 1166, 547, 995, 288, 1178,
- /* 440 */ 1058, 1179, 281, 472, 778, 167, -68, 1069, 1070, 1177,
- /* 450 */ 1186, 1187, 281, 1183, 1139, 547, 1098, 547, 659, 547,
- /* 460 */ 1142, 848, 485, 1198, 1145, 848, 485, 1086, 547, 1191,
- /* 470 */ 547, 996, -68, 910, 480, 1193, 848, 1007, 848, 485,
- /* 480 */ 1204, 485, 1100, 547, 941, 1207, 656, 547, 1208, 547,
- /* 490 */ 1209, 547, 188, 1211, 547, 188, 1214, 519, 1110, 547,
- /* 500 */ 993, 941, 1216, 1139, 547, 928, 1132, 547, 659, 1230,
- /* 510 */ 1118, 547, 993, 1191, 912, 523, 1225, 848, 1013, 1236,
- /* 520 */ 1139, 547, 926, 1134, 547, 792, 1215, 1159, 1243, 703,
- /* 530 */ 1245, 501, 708, 120, 1247, 1248, 1249, 1250, 732, 1251,
- /* 540 */ 1252, 1254, 732, 1255, -68, 547, 1253, 1256, 1237, 501,
- /* 550 */ 1257, 547, 949, 1263, 501, 1266, -68, 1237, 547, 1270,
- /* 560 */ -68, -68, -68,
+ /* 0 */ 860, 583, 634, 634, 93, 92, 92, 822, 634, 581,
+ /* 10 */ 685, 685, 188, 430, -21, 685, 685, 685, 685, 685,
+ /* 20 */ 159, 313, 430, 549, 430, 430, 430, 430, 430, 585,
+ /* 30 */ 275, 60, 685, 685, 685, 685, 685, 685, 685, 685,
+ /* 40 */ 685, 685, 685, 685, 685, 685, 685, 685, 685, 685,
+ /* 50 */ 685, 685, 685, 685, 685, 685, 685, 685, 685, 685,
+ /* 60 */ 685, 685, 685, 685, 685, 685, 685, 685, 685, 685,
+ /* 70 */ 685, 685, 685, 685, 533, 430, 430, 430, 430, 484,
+ /* 80 */ 430, 484, 261, 656, 495, 822, 822, -84, -84, 228,
+ /* 90 */ 164, 95, 26, 322, 322, 322, 322, 322, 322, 322,
+ /* 100 */ 322, 416, 322, 322, 322, 322, 322, 369, 322, 463,
+ /* 110 */ 510, 510, 510, -67, -67, -67, -67, -67, -48, -48,
+ /* 120 */ -48, -48, 101, -5, -5, -5, -5, 686, -25, 649,
+ /* 130 */ 686, 185, 241, 292, 197, 299, 239, 260, 190, 119,
+ /* 140 */ 119, 4, 430, 430, 430, 430, 430, 430, 105, 430,
+ /* 150 */ 430, 430, 105, 430, 430, 430, 430, 430, 105, 430,
+ /* 160 */ 430, 430, 105, 430, 430, 430, 430, -79, 289, 430,
+ /* 170 */ 105, 430, 430, 105, 430, 430, 42, 42, 436, 446,
+ /* 180 */ 446, 446, 430, 430, 339, 105, 430, 339, 430, 430,
+ /* 190 */ 430, 430, 430, 430, 42, 42, 42, 430, 430, 585,
+ /* 200 */ 585, 327, 327, 585, 442, 442, 373, 476, 476, 392,
+ /* 210 */ 476, 344, -44, 476, 540, 951, 873, 951, 845, 922,
+ /* 220 */ 964, 845, 845, 922, 815, 845, 845, 845, 815, 964,
+ /* 230 */ 922, 922, 828, 845, 854, 937, 845, 941, 828, 828,
+ /* 240 */ 892, 929, 941, 828, 846, 862, 846, 862, 845, 852,
+ /* 250 */ 845, 845, 832, 870, 870, 870, 929, 852, 826, 831,
+ /* 260 */ 821, 823, 815, 822, 828, 828, 892, 828, 828, 910,
+ /* 270 */ 914, 914, 914, 828, 914, -84, -84, -84, -84, -84,
+ /* 280 */ -84, -84, 40, 491, 244, 265, -83, 314, 538, 535,
+ /* 290 */ 532, 494, -18, 493, 451, 448, 447, 284, 270, 443,
+ /* 300 */ 320, 310, 303, 298, 259, 89, 168, 17, 94, 22,
+ /* 310 */ 899, 898, 830, 881, 803, 800, 896, 790, 809, 797,
+ /* 320 */ 796, 890, 785, 844, 843, 802, 895, 889, 891, 882,
+ /* 330 */ 801, 769, 849, 875, 847, 857, 795, 872, 788, 794,
+ /* 340 */ 871, 841, 869, 868, 838, 864, 861, 766, 858, 855,
+ /* 350 */ 758, 850, 726, 783, 774, 772, 767, 761, 748, 734,
+ /* 360 */ 732, 729, 626, 605, 590, 565, 640, 485, 433, 417,
+ /* 370 */ 315, 268, 232, 171, 187, 79, -8,
};
-#define YY_REDUCE_USE_DFLT (-123)
+#define YY_REDUCE_USE_DFLT (-69)
+#define YY_REDUCE_COUNT (281)
+#define YY_REDUCE_MIN (-68)
+#define YY_REDUCE_MAX (970)
static const short yy_reduce_ofst[] = {
- /* 0 */ -111, 55, -123, 643, -123, -123, -123, -100, 82, -123,
- /* 10 */ -123, 233, -123, -123, -123, -123, -123, -123, 310, -123,
- /* 20 */ -123, -123, -123, 442, -123, 448, -123, 542, -123, 540,
- /* 30 */ -123, 122, 573, -123, -123, 162, -123, 339, 711, 158,
- /* 40 */ -123, 714, 147, -123, 719, -123, -123, 743, -123, 873,
- /* 50 */ -123, -123, -123, -123, -123, 885, 904, -123, -123, -123,
- /* 60 */ 905, -123, -123, 525, -123, 171, -123, -123, 226, -123,
- /* 70 */ 874, 879, -123, 878, -96, 881, 882, 883, 884, 887,
- /* 80 */ 875, -123, 913, -123, -123, -123, -123, -123, -123, 915,
- /* 90 */ -123, 916, -123, -123, 237, -123, -121, 889, 918, -123,
- /* 100 */ 922, -123, -123, 890, 570, -123, -123, 944, -123, 946,
- /* 110 */ -123, -123, -123, -123, 890, 576, 890, 671, 890, 751,
- /* 120 */ 890, 754, 890, 755, 890, 757, 890, 758, 890, 759,
- /* 130 */ 890, 762, 890, 781, 890, 785, 890, 789, 890, 891,
- /* 140 */ 790, 890, -123, -123, 791, 890, 793, 890, 798, 890,
- /* 150 */ 804, 890, 812, 890, 817, 890, -123, -123, -123, -123,
- /* 160 */ -123, -123, 820, 890, 821, 890, 947, 647, 874, -123,
- /* 170 */ -123, -123, -123, -123, 890, 823, 890, 824, 890, 826,
- /* 180 */ 890, 828, 890, 335, 890, 892, 893, -123, -123, 831,
- /* 190 */ 890, 832, 890, -123, -123, -123, -123, -123, 957, -123,
- /* 200 */ -123, -123, 960, -123, -123, -123, 963, -123, -123, 836,
- /* 210 */ 890, 837, 890, 840, 890, -123, -123, -122, -123, -123,
- /* 220 */ 921, 968, -123, -123, -123, 843, 890, 845, 890, 969,
- /* 230 */ 710, 874, -123, -123, -123, 924, -123, 919, 954, -123,
- /* 240 */ 847, 890, -123, 240, -123, 851, 890, -123, 184, 929,
- /* 250 */ -123, -123, -123, 981, -123, 982, -123, -123, -123, 983,
- /* 260 */ 931, 620, -123, -123, 985, -123, -123, 942, 936, -123,
- /* 270 */ -123, 636, -123, -123, 748, -123, 971, -123, -123, 852,
- /* 280 */ 890, 351, 874, 929, -123, 633, 943, 948, -123, 853,
- /* 290 */ 116, -123, -123, -123, 944, -123, -123, -123, -123, 890,
- /* 300 */ -123, -123, -123, -123, -123, 890, 994, -123, 992, 987,
- /* 310 */ 988, 973, -123, 999, -123, -123, 989, -123, -123, -123,
- /* 320 */ -123, -123, -123, 990, -123, 991, -123, 658, -123, -123,
- /* 330 */ -123, 1004, -123, 1001, -123, -123, -123, -123, -123, -123,
- /* 340 */ -123, -123, -123, -123, -123, -123, -123, -123, 1005, 1002,
- /* 350 */ -123, -123, 1006, -123, -123, -123, -123, -123, 972, 1008,
- /* 360 */ -123, 1009, -123, -123, -123, 660, -123, 1011, -123, -123,
- /* 370 */ 705, -123, 1012, -123, 856, 530, -123, -123, -123, 739,
- /* 380 */ -123, -123, 1018, 1010, 1015, 502, -123, -123, -123, -123,
- /* 390 */ -123, -123, 747, 874, 577, -123, 1021, -123, 1022, -123,
- /* 400 */ 842, 874, 1023, 951, 952, -123, 1028, 1016, 956, 962,
- /* 410 */ -123, 867, 890, -123, -123, -123, -123, -123, -123, -123,
- /* 420 */ 295, -123, 1037, -123, -123, -123, -123, -123, -123, -123,
- /* 430 */ -123, 1041, -123, 1044, 1017, -123, 740, -123, 1047, -123,
- /* 440 */ -123, -123, 648, 874, 1020, 1024, -123, -123, -123, -123,
- /* 450 */ -123, -123, 707, -123, 1029, 1060, -123, 829, 1030, 1064,
- /* 460 */ -123, 868, 890, -123, -123, 872, 890, -123, 1071, 1025,
- /* 470 */ 432, -123, -123, 876, 874, -123, 571, -123, 880, 890,
- /* 480 */ -123, 890, -123, 1087, 1039, -123, -123, 1088, -123, 1089,
- /* 490 */ -123, 1090, 1033, -123, 1093, 1035, -123, 874, -123, 1094,
- /* 500 */ 1040, 1055, -123, 1063, 1096, 1051, -123, 888, 1062, -123,
- /* 510 */ -123, 1102, 1054, 1046, 886, 874, -123, 734, -123, -123,
- /* 520 */ 1097, 1107, 1065, -123, 1109, -123, -123, -123, -123, 1113,
- /* 530 */ -123, 1103, -123, 47, -123, -123, -123, -123, 1052, -123,
- /* 540 */ -123, -123, 1057, -123, -123, 1128, -123, -123, 1056, 1119,
- /* 550 */ -123, 1129, 1061, -123, 1124, -123, -123, 1059, 1141, -123,
- /* 560 */ -123, -123, -123,
+ /* 0 */ 291, 594, 505, 477, -23, 587, 545, 33, 598, 407,
+ /* 10 */ 316, 173, 361, 274, 584, 557, 467, 498, 492, 500,
+ /* 20 */ 305, 210, 621, -61, 612, 579, 547, 499, 482, -68,
+ /* 30 */ 414, 727, 725, 724, 722, 719, 718, 717, 713, 710,
+ /* 40 */ 708, 705, 703, 702, 698, 697, 696, 694, 693, 691,
+ /* 50 */ 689, 688, 683, 682, 681, 677, 674, 672, 668, 667,
+ /* 60 */ 666, 662, 661, 658, 657, 655, 651, 647, 642, 636,
+ /* 70 */ 635, 628, 592, 571, 486, 423, 465, 371, 363, 472,
+ /* 80 */ 542, 464, 478, 578, 529, 509, 506, -49, 428, 723,
+ /* 90 */ 723, 723, 723, 723, 723, 723, 723, 723, 723, 723,
+ /* 100 */ 723, 723, 723, 723, 723, 723, 723, 723, 723, 723,
+ /* 110 */ 723, 723, 723, 723, 723, 723, 723, 723, 723, 723,
+ /* 120 */ 723, 723, 956, 723, 723, 723, 723, 955, 946, 930,
+ /* 130 */ 934, 903, 970, 969, 968, 906, 967, 906, 966, 723,
+ /* 140 */ 723, 906, 965, 963, 962, 961, 960, 959, 906, 958,
+ /* 150 */ 957, 954, 906, 953, 952, 950, 949, 948, 906, 947,
+ /* 160 */ 945, 944, 906, 943, 936, 933, 932, 928, 927, 925,
+ /* 170 */ 906, 924, 923, 906, 921, 920, 926, 916, 915, 919,
+ /* 180 */ 911, 905, 918, 917, 901, 906, 913, 901, 912, 909,
+ /* 190 */ 908, 907, 904, 903, 902, 900, 897, 888, 887, 894,
+ /* 200 */ 893, 886, 885, 884, 883, 879, 880, 878, 877, 876,
+ /* 210 */ 874, 866, 867, 863, 865, 859, 856, 853, 851, 848,
+ /* 220 */ 842, 836, 833, 835, 829, 827, 825, 824, 820, 819,
+ /* 230 */ 818, 817, 840, 816, 813, 765, 812, 810, 839, 837,
+ /* 240 */ 811, 814, 808, 834, 786, 784, 782, 781, 780, 779,
+ /* 250 */ 778, 777, 755, 723, 723, 723, 804, 756, 776, 775,
+ /* 260 */ 773, 763, 759, 768, 807, 806, 770, 805, 799, 798,
+ /* 270 */ 793, 792, 791, 789, 787, 764, 762, 723, 723, 723,
+ /* 280 */ 723, 771,
};
static const YYACTIONTYPE yy_default[] = {
- /* 0 */ 570, 570, 564, 856, 856, 566, 856, 572, 856, 856,
- /* 10 */ 856, 856, 652, 655, 656, 657, 658, 659, 573, 574,
- /* 20 */ 591, 592, 593, 856, 856, 856, 856, 856, 856, 856,
- /* 30 */ 856, 856, 856, 856, 856, 856, 584, 594, 604, 586,
- /* 40 */ 603, 856, 856, 605, 651, 616, 856, 651, 617, 636,
- /* 50 */ 634, 856, 637, 638, 856, 708, 651, 618, 706, 707,
- /* 60 */ 651, 619, 856, 856, 737, 797, 743, 738, 856, 664,
- /* 70 */ 856, 856, 665, 673, 675, 682, 720, 711, 713, 701,
- /* 80 */ 715, 670, 856, 600, 856, 601, 856, 602, 716, 856,
- /* 90 */ 717, 856, 718, 856, 856, 702, 856, 709, 708, 703,
- /* 100 */ 856, 588, 710, 705, 856, 736, 856, 856, 739, 856,
- /* 110 */ 740, 741, 742, 744, 747, 856, 748, 856, 749, 856,
- /* 120 */ 750, 856, 751, 856, 752, 856, 753, 856, 754, 856,
- /* 130 */ 755, 856, 756, 856, 757, 856, 758, 856, 759, 856,
- /* 140 */ 856, 760, 761, 762, 856, 763, 856, 764, 856, 765,
- /* 150 */ 856, 766, 856, 767, 856, 768, 769, 856, 770, 856,
- /* 160 */ 773, 771, 856, 856, 856, 779, 856, 797, 856, 856,
- /* 170 */ 856, 856, 856, 782, 796, 856, 774, 856, 775, 856,
- /* 180 */ 776, 856, 777, 856, 856, 856, 856, 856, 787, 856,
- /* 190 */ 856, 856, 788, 856, 856, 856, 845, 856, 856, 856,
- /* 200 */ 846, 856, 856, 856, 847, 856, 856, 856, 848, 856,
- /* 210 */ 856, 856, 856, 856, 789, 856, 781, 797, 794, 795,
- /* 220 */ 690, 856, 691, 785, 772, 856, 856, 856, 780, 856,
- /* 230 */ 797, 856, 784, 856, 783, 690, 786, 709, 708, 704,
- /* 240 */ 856, 714, 856, 797, 712, 856, 721, 674, 685, 683,
- /* 250 */ 684, 692, 693, 856, 694, 856, 695, 856, 696, 856,
- /* 260 */ 690, 681, 589, 590, 856, 679, 680, 698, 700, 686,
- /* 270 */ 856, 856, 856, 699, 856, 803, 708, 805, 804, 856,
- /* 280 */ 697, 685, 856, 856, 856, 681, 698, 700, 687, 856,
- /* 290 */ 681, 676, 677, 856, 856, 678, 671, 672, 778, 856,
- /* 300 */ 735, 856, 745, 856, 746, 856, 651, 620, 856, 801,
- /* 310 */ 624, 621, 625, 856, 626, 856, 856, 627, 856, 630,
- /* 320 */ 631, 632, 633, 856, 628, 856, 629, 856, 856, 802,
- /* 330 */ 622, 856, 623, 636, 635, 606, 856, 607, 608, 609,
- /* 340 */ 856, 610, 613, 856, 611, 614, 612, 615, 595, 856,
- /* 350 */ 856, 596, 856, 856, 597, 599, 598, 587, 856, 856,
- /* 360 */ 641, 856, 644, 856, 856, 856, 856, 651, 645, 856,
- /* 370 */ 856, 856, 651, 646, 856, 651, 647, 856, 856, 856,
- /* 380 */ 856, 856, 856, 801, 624, 649, 856, 648, 650, 642,
- /* 390 */ 643, 585, 856, 856, 581, 856, 856, 579, 856, 856,
- /* 400 */ 856, 856, 856, 828, 856, 856, 856, 690, 833, 856,
- /* 410 */ 856, 856, 856, 856, 856, 834, 835, 856, 856, 856,
- /* 420 */ 856, 856, 856, 733, 734, 825, 826, 856, 827, 580,
- /* 430 */ 856, 856, 856, 856, 856, 856, 856, 856, 856, 856,
- /* 440 */ 856, 856, 856, 856, 856, 856, 654, 856, 856, 856,
- /* 450 */ 856, 856, 856, 856, 653, 856, 856, 856, 856, 856,
- /* 460 */ 856, 856, 723, 856, 856, 856, 724, 856, 856, 731,
- /* 470 */ 856, 856, 732, 856, 856, 856, 856, 856, 856, 729,
- /* 480 */ 856, 730, 856, 856, 856, 856, 856, 856, 856, 856,
- /* 490 */ 856, 856, 856, 856, 856, 856, 856, 856, 856, 856,
- /* 500 */ 690, 856, 856, 653, 856, 856, 856, 856, 856, 856,
- /* 510 */ 856, 856, 690, 731, 856, 856, 856, 856, 856, 856,
- /* 520 */ 653, 856, 856, 856, 856, 856, 856, 856, 856, 856,
- /* 530 */ 856, 856, 856, 822, 856, 856, 856, 856, 856, 856,
- /* 540 */ 856, 856, 856, 856, 821, 856, 856, 856, 854, 856,
- /* 550 */ 856, 856, 856, 856, 856, 856, 853, 854, 856, 856,
- /* 560 */ 567, 569, 565,
+ /* 0 */ 570, 856, 797, 797, 856, 839, 839, 685, 856, 797,
+ /* 10 */ 797, 856, 822, 856, 681, 856, 856, 797, 793, 856,
+ /* 20 */ 586, 649, 856, 581, 856, 856, 856, 856, 856, 594,
+ /* 30 */ 651, 856, 856, 856, 856, 856, 856, 856, 856, 856,
+ /* 40 */ 856, 856, 856, 856, 856, 856, 856, 856, 856, 856,
+ /* 50 */ 856, 856, 856, 856, 856, 856, 856, 856, 856, 856,
+ /* 60 */ 856, 856, 856, 856, 856, 856, 856, 856, 856, 856,
+ /* 70 */ 856, 856, 856, 856, 856, 856, 856, 856, 856, 681,
+ /* 80 */ 856, 681, 570, 856, 856, 856, 856, 685, 675, 856,
+ /* 90 */ 856, 856, 856, 730, 729, 724, 723, 837, 697, 721,
+ /* 100 */ 714, 856, 789, 790, 788, 792, 796, 856, 705, 748,
+ /* 110 */ 780, 774, 747, 779, 760, 759, 754, 753, 752, 751,
+ /* 120 */ 750, 749, 640, 758, 757, 756, 755, 856, 856, 856,
+ /* 130 */ 856, 856, 856, 856, 856, 856, 856, 856, 856, 764,
+ /* 140 */ 763, 856, 856, 856, 856, 809, 856, 856, 726, 856,
+ /* 150 */ 856, 856, 663, 856, 856, 856, 856, 856, 842, 856,
+ /* 160 */ 856, 856, 844, 856, 856, 856, 856, 856, 828, 856,
+ /* 170 */ 661, 856, 856, 583, 856, 856, 856, 856, 595, 856,
+ /* 180 */ 856, 856, 856, 856, 689, 688, 856, 683, 856, 856,
+ /* 190 */ 856, 856, 856, 856, 856, 856, 856, 856, 573, 856,
+ /* 200 */ 856, 856, 856, 856, 720, 720, 621, 708, 708, 791,
+ /* 210 */ 708, 682, 673, 708, 856, 854, 852, 854, 690, 653,
+ /* 220 */ 731, 690, 690, 653, 720, 690, 690, 690, 720, 731,
+ /* 230 */ 653, 653, 651, 690, 836, 833, 690, 801, 651, 651,
+ /* 240 */ 636, 856, 801, 651, 700, 698, 700, 698, 690, 709,
+ /* 250 */ 690, 690, 856, 767, 766, 765, 856, 709, 715, 701,
+ /* 260 */ 713, 711, 720, 856, 651, 651, 636, 651, 651, 639,
+ /* 270 */ 572, 572, 572, 651, 572, 624, 624, 777, 776, 775,
+ /* 280 */ 768, 604, 856, 856, 856, 856, 856, 816, 856, 856,
+ /* 290 */ 856, 856, 856, 856, 856, 856, 856, 856, 856, 856,
+ /* 300 */ 856, 856, 856, 856, 856, 856, 716, 737, 856, 856,
+ /* 310 */ 856, 856, 856, 856, 808, 856, 856, 856, 856, 856,
+ /* 320 */ 856, 856, 856, 856, 856, 856, 856, 856, 856, 856,
+ /* 330 */ 856, 856, 856, 832, 831, 856, 856, 856, 856, 856,
+ /* 340 */ 856, 856, 856, 856, 856, 856, 856, 856, 856, 856,
+ /* 350 */ 856, 712, 856, 856, 856, 856, 856, 856, 856, 856,
+ /* 360 */ 856, 856, 666, 856, 739, 856, 702, 856, 856, 856,
+ /* 370 */ 738, 743, 856, 856, 856, 856, 856, 565, 569, 567,
+ /* 380 */ 855, 853, 851, 850, 815, 821, 818, 820, 819, 817,
+ /* 390 */ 814, 813, 812, 811, 810, 807, 725, 722, 719, 849,
+ /* 400 */ 806, 662, 660, 843, 841, 732, 840, 838, 823, 728,
+ /* 410 */ 727, 654, 799, 798, 580, 827, 826, 825, 734, 733,
+ /* 420 */ 830, 829, 835, 834, 824, 579, 585, 643, 642, 650,
+ /* 430 */ 648, 647, 646, 645, 644, 641, 587, 598, 599, 597,
+ /* 440 */ 596, 615, 612, 614, 611, 613, 610, 609, 608, 607,
+ /* 450 */ 606, 635, 623, 622, 802, 629, 628, 633, 632, 631,
+ /* 460 */ 630, 627, 626, 625, 620, 746, 745, 735, 778, 672,
+ /* 470 */ 671, 678, 677, 676, 687, 804, 805, 803, 699, 686,
+ /* 480 */ 680, 679, 590, 589, 696, 695, 694, 693, 692, 684,
+ /* 490 */ 674, 704, 786, 783, 784, 772, 785, 691, 795, 794,
+ /* 500 */ 781, 848, 847, 846, 845, 787, 782, 669, 668, 667,
+ /* 510 */ 771, 773, 770, 769, 762, 761, 744, 742, 741, 740,
+ /* 520 */ 736, 710, 588, 703, 718, 717, 602, 601, 600, 670,
+ /* 530 */ 665, 664, 619, 707, 706, 618, 638, 637, 634, 617,
+ /* 540 */ 616, 605, 603, 584, 582, 578, 577, 576, 575, 593,
+ /* 550 */ 592, 591, 574, 659, 658, 657, 656, 655, 652, 571,
+ /* 560 */ 568, 566, 564,
};
-#define YY_SZ_ACTTAB (sizeof(yy_action)/sizeof(yy_action[0]))
/* The next table maps tokens into fallback tokens. If a construct
** like the following:
**
** %fallback ID X Y Z.
**
-** appears in the grammer, then ID becomes a fallback token for X, Y,
+** appears in the grammar, then ID becomes a fallback token for X, Y,
** and Z. Whenever one of the tokens X, Y, or Z is input to the parser
** but it does not parse, the type of the token is changed to ID and
** the parse is retried before an error is thrown.
@@ -674,77 +622,6 @@ static const YYCODETYPE yyFallback[] = {
23, /* TRIGGER => ID */
23, /* VACUUM => ID */
23, /* VIEW => ID */
- 0, /* OR => nothing */
- 0, /* AND => nothing */
- 0, /* NOT => nothing */
- 0, /* EQ => nothing */
- 0, /* NE => nothing */
- 0, /* ISNULL => nothing */
- 0, /* NOTNULL => nothing */
- 0, /* IS => nothing */
- 0, /* BETWEEN => nothing */
- 0, /* IN => nothing */
- 0, /* GT => nothing */
- 0, /* GE => nothing */
- 0, /* LT => nothing */
- 0, /* LE => nothing */
- 0, /* BITAND => nothing */
- 0, /* BITOR => nothing */
- 0, /* LSHIFT => nothing */
- 0, /* RSHIFT => nothing */
- 0, /* PLUS => nothing */
- 0, /* MINUS => nothing */
- 0, /* STAR => nothing */
- 0, /* SLASH => nothing */
- 0, /* REM => nothing */
- 0, /* CONCAT => nothing */
- 0, /* UMINUS => nothing */
- 0, /* UPLUS => nothing */
- 0, /* BITNOT => nothing */
- 0, /* STRING => nothing */
- 0, /* JOIN_KW => nothing */
- 0, /* INTEGER => nothing */
- 0, /* CONSTRAINT => nothing */
- 0, /* DEFAULT => nothing */
- 0, /* FLOAT => nothing */
- 0, /* NULL => nothing */
- 0, /* PRIMARY => nothing */
- 0, /* UNIQUE => nothing */
- 0, /* CHECK => nothing */
- 0, /* REFERENCES => nothing */
- 0, /* COLLATE => nothing */
- 0, /* ON => nothing */
- 0, /* DELETE => nothing */
- 0, /* UPDATE => nothing */
- 0, /* INSERT => nothing */
- 0, /* SET => nothing */
- 0, /* DEFERRABLE => nothing */
- 0, /* FOREIGN => nothing */
- 0, /* DROP => nothing */
- 0, /* UNION => nothing */
- 0, /* ALL => nothing */
- 0, /* INTERSECT => nothing */
- 0, /* EXCEPT => nothing */
- 0, /* SELECT => nothing */
- 0, /* DISTINCT => nothing */
- 0, /* DOT => nothing */
- 0, /* FROM => nothing */
- 0, /* JOIN => nothing */
- 0, /* USING => nothing */
- 0, /* ORDER => nothing */
- 0, /* BY => nothing */
- 0, /* GROUP => nothing */
- 0, /* HAVING => nothing */
- 0, /* LIMIT => nothing */
- 0, /* WHERE => nothing */
- 0, /* INTO => nothing */
- 0, /* VALUES => nothing */
- 0, /* VARIABLE => nothing */
- 0, /* CASE => nothing */
- 0, /* WHEN => nothing */
- 0, /* THEN => nothing */
- 0, /* ELSE => nothing */
- 0, /* INDEX => nothing */
};
#endif /* YYFALLBACK */
@@ -761,11 +638,11 @@ static const YYCODETYPE yyFallback[] = {
** It is sometimes called the "minor" token.
*/
struct yyStackEntry {
- int stateno; /* The state-number */
- int major; /* The major token value. This is the code
- ** number for the token at this stack level */
- YYMINORTYPE minor; /* The user-supplied minor token value. This
- ** is the value of the token */
+ YYACTIONTYPE stateno; /* The state-number */
+ YYCODETYPE major; /* The major token value. This is the code
+ ** number for the token at this stack level */
+ YYMINORTYPE minor; /* The user-supplied minor token value. This
+ ** is the value of the token */
};
typedef struct yyStackEntry yyStackEntry;
@@ -773,9 +650,17 @@ typedef struct yyStackEntry yyStackEntry;
** the following structure */
struct yyParser {
int yyidx; /* Index of top element in stack */
+#ifdef YYTRACKMAXSTACKDEPTH
+ int yyidxMax; /* Maximum value of yyidx */
+#endif
int yyerrcnt; /* Shifts left before out of the error */
sqliteParserARG_SDECL /* A place to hold %extra_argument */
+#if YYSTACKDEPTH<=0
+ int yystksz; /* Current side of the stack */
+ yyStackEntry *yystack; /* The parser's stack */
+#else
yyStackEntry yystack[YYSTACKDEPTH]; /* The parser's stack */
+#endif
};
typedef struct yyParser yyParser;
@@ -1173,21 +1058,29 @@ static const char *const yyRuleName[] = {
};
#endif /* NDEBUG */
+
+#if YYSTACKDEPTH<=0
/*
-** This function returns the symbolic name associated with a token
-** value.
+** Try to increase the size of the parser stack.
*/
-const char *sqliteParserTokenName(int tokenType){
+static void yyGrowStack(yyParser *p){
+ int newSize;
+ yyStackEntry *pNew;
+
+ newSize = p->yystksz*2 + 100;
+ pNew = realloc(p->yystack, newSize*sizeof(pNew[0]));
+ if( pNew ){
+ p->yystack = pNew;
+ p->yystksz = newSize;
#ifndef NDEBUG
- if( tokenType>0 && tokenType<(sizeof(yyTokenName)/sizeof(yyTokenName[0])) ){
- return yyTokenName[tokenType];
- }else{
- return "Unknown";
- }
-#else
- return "";
+ if( yyTraceFILE ){
+ fprintf(yyTraceFILE,"%sStack grows to %d entries!\n",
+ yyTracePrompt, p->yystksz);
+ }
#endif
+ }
}
+#endif
/*
** This function allocates a new parser.
@@ -1206,6 +1099,14 @@ void *sqliteParserAlloc(void *(*mallocProc)(size_t)){
pParser = (yyParser*)(*mallocProc)( (size_t)sizeof(yyParser) );
if( pParser ){
pParser->yyidx = -1;
+#ifdef YYTRACKMAXSTACKDEPTH
+ pParser->yyidxMax = 0;
+#endif
+#if YYSTACKDEPTH<=0
+ pParser->yystack = NULL;
+ pParser->yystksz = 0;
+ yyGrowStack(pParser);
+#endif
}
return pParser;
}
@@ -1215,7 +1116,12 @@ void *sqliteParserAlloc(void *(*mallocProc)(size_t)){
** "yymajor" is the symbol code, and "yypminor" is a pointer to
** the value.
*/
-static void yy_destructor(YYCODETYPE yymajor, YYMINORTYPE *yypminor){
+static void yy_destructor(
+ yyParser *yypParser, /* The parser */
+ YYCODETYPE yymajor, /* Type code for object to destroy */
+ YYMINORTYPE *yypminor /* The object to be destroyed */
+){
+ sqliteParserARG_FETCH;
switch( yymajor ){
/* Here is inserted the actions which take place when a
** terminal or non-terminal is destroyed. This can happen
@@ -1227,62 +1133,76 @@ static void yy_destructor(YYCODETYPE yymajor, YYMINORTYPE *yypminor){
** which appear on the RHS of the rule, but which are not used
** inside the C code.
*/
- case 146:
- case 171:
- case 189:
-#line 286 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteSelectDelete((yypminor->yy179));}
-#line 1237 "ext/sqlite/libsqlite/src/parse.c"
+ case 146: /* select */
+ case 171: /* oneselect */
+ case 189: /* seltablist_paren */
+{
+#line 286 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+sqliteSelectDelete((yypminor->yy179));
+#line 1143 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+}
break;
- case 158:
- case 176:
- case 178:
- case 187:
- case 192:
- case 204:
-#line 533 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteExprDelete((yypminor->yy242));}
-#line 1247 "ext/sqlite/libsqlite/src/parse.c"
+ case 158: /* expr */
+ case 176: /* where_opt */
+ case 178: /* having_opt */
+ case 187: /* on_opt */
+ case 192: /* sortitem */
+ case 204: /* expritem */
+{
+#line 533 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+sqliteExprDelete((yypminor->yy242));
+#line 1155 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+}
break;
- case 159:
- case 167:
- case 188:
- case 197:
- case 199:
-#line 746 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteIdListDelete((yypminor->yy320));}
-#line 1256 "ext/sqlite/libsqlite/src/parse.c"
+ case 159: /* idxlist_opt */
+ case 167: /* idxlist */
+ case 188: /* using_opt */
+ case 197: /* inscollist_opt */
+ case 199: /* inscollist */
+{
+#line 746 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+sqliteIdListDelete((yypminor->yy320));
+#line 1166 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+}
break;
- case 174:
- case 177:
- case 179:
- case 181:
- case 191:
- case 194:
- case 195:
- case 198:
- case 202:
-#line 322 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteExprListDelete((yypminor->yy322));}
-#line 1269 "ext/sqlite/libsqlite/src/parse.c"
+ case 174: /* selcollist */
+ case 177: /* groupby_opt */
+ case 179: /* orderby_opt */
+ case 181: /* sclp */
+ case 191: /* sortlist */
+ case 194: /* exprlist */
+ case 195: /* setlist */
+ case 198: /* itemlist */
+ case 202: /* case_exprlist */
+{
+#line 322 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+sqliteExprListDelete((yypminor->yy322));
+#line 1181 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+}
break;
- case 175:
- case 183:
- case 184:
-#line 353 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteSrcListDelete((yypminor->yy307));}
-#line 1276 "ext/sqlite/libsqlite/src/parse.c"
+ case 175: /* from */
+ case 183: /* seltablist */
+ case 184: /* stl_prefix */
+{
+#line 353 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+sqliteSrcListDelete((yypminor->yy307));
+#line 1190 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+}
break;
- case 212:
- case 217:
-#line 828 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteDeleteTriggerStep((yypminor->yy19));}
-#line 1282 "ext/sqlite/libsqlite/src/parse.c"
+ case 212: /* trigger_cmd_list */
+ case 217: /* trigger_cmd */
+{
+#line 828 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+sqliteDeleteTriggerStep((yypminor->yy19));
+#line 1198 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+}
break;
- case 214:
-#line 812 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteIdListDelete((yypminor->yy290).b);}
-#line 1287 "ext/sqlite/libsqlite/src/parse.c"
+ case 214: /* trigger_event */
+{
+#line 812 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+sqliteIdListDelete((yypminor->yy290).b);
+#line 1205 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+}
break;
default: break; /* If no destructor action specified: do nothing */
}
@@ -1309,7 +1229,7 @@ static int yy_pop_parser_stack(yyParser *pParser){
}
#endif
yymajor = yytos->major;
- yy_destructor( yymajor, &yytos->minor);
+ yy_destructor(pParser, yymajor, &yytos->minor);
pParser->yyidx--;
return yymajor;
}
@@ -1333,10 +1253,23 @@ void sqliteParserFree(
yyParser *pParser = (yyParser*)p;
if( pParser==0 ) return;
while( pParser->yyidx>=0 ) yy_pop_parser_stack(pParser);
+#if YYSTACKDEPTH<=0
+ free(pParser->yystack);
+#endif
(*freeProc)((void*)pParser);
}
/*
+** Return the peak depth of the stack for a parser.
+*/
+#ifdef YYTRACKMAXSTACKDEPTH
+int sqliteParserStackPeak(void *p){
+ yyParser *pParser = (yyParser*)p;
+ return pParser->yyidxMax;
+}
+#endif
+
+/*
** Find the appropriate action for a parser given the terminal
** look-ahead token iLookAhead.
**
@@ -1346,34 +1279,55 @@ void sqliteParserFree(
*/
static int yy_find_shift_action(
yyParser *pParser, /* The parser */
- int iLookAhead /* The look-ahead token */
+ YYCODETYPE iLookAhead /* The look-ahead token */
){
int i;
int stateno = pParser->yystack[pParser->yyidx].stateno;
- /* if( pParser->yyidx<0 ) return YY_NO_ACTION; */
- i = yy_shift_ofst[stateno];
- if( i==YY_SHIFT_USE_DFLT ){
+ if( stateno>YY_SHIFT_COUNT
+ || (i = yy_shift_ofst[stateno])==YY_SHIFT_USE_DFLT ){
return yy_default[stateno];
}
- if( iLookAhead==YYNOCODE ){
- return YY_NO_ACTION;
- }
+ assert( iLookAhead!=YYNOCODE );
i += iLookAhead;
- if( i<0 || i>=YY_SZ_ACTTAB || yy_lookahead[i]!=iLookAhead ){
+ if( i<0 || i>=YY_ACTTAB_COUNT || yy_lookahead[i]!=iLookAhead ){
+ if( iLookAhead>0 ){
#ifdef YYFALLBACK
- int iFallback; /* Fallback token */
- if( iLookAhead<sizeof(yyFallback)/sizeof(yyFallback[0])
- && (iFallback = yyFallback[iLookAhead])!=0 ){
+ YYCODETYPE iFallback; /* Fallback token */
+ if( iLookAhead<sizeof(yyFallback)/sizeof(yyFallback[0])
+ && (iFallback = yyFallback[iLookAhead])!=0 ){
#ifndef NDEBUG
- if( yyTraceFILE ){
- fprintf(yyTraceFILE, "%sFALLBACK %s => %s\n",
- yyTracePrompt, yyTokenName[iLookAhead], yyTokenName[iFallback]);
+ if( yyTraceFILE ){
+ fprintf(yyTraceFILE, "%sFALLBACK %s => %s\n",
+ yyTracePrompt, yyTokenName[iLookAhead], yyTokenName[iFallback]);
+ }
+#endif
+ return yy_find_shift_action(pParser, iFallback);
}
#endif
- return yy_find_shift_action(pParser, iFallback);
- }
+#ifdef YYWILDCARD
+ {
+ int j = i - iLookAhead + YYWILDCARD;
+ if(
+#if YY_SHIFT_MIN+YYWILDCARD<0
+ j>=0 &&
#endif
+#if YY_SHIFT_MAX+YYWILDCARD>=YY_ACTTAB_COUNT
+ j<YY_ACTTAB_COUNT &&
+#endif
+ yy_lookahead[j]==YYWILDCARD
+ ){
+#ifndef NDEBUG
+ if( yyTraceFILE ){
+ fprintf(yyTraceFILE, "%sWILDCARD %s => %s\n",
+ yyTracePrompt, yyTokenName[iLookAhead], yyTokenName[YYWILDCARD]);
+ }
+#endif /* NDEBUG */
+ return yy_action[j];
+ }
+ }
+#endif /* YYWILDCARD */
+ }
return yy_default[stateno];
}else{
return yy_action[i];
@@ -1390,24 +1344,46 @@ static int yy_find_shift_action(
*/
static int yy_find_reduce_action(
int stateno, /* Current state number */
- int iLookAhead /* The look-ahead token */
+ YYCODETYPE iLookAhead /* The look-ahead token */
){
int i;
- /* int stateno = pParser->yystack[pParser->yyidx].stateno; */
-
- i = yy_reduce_ofst[stateno];
- if( i==YY_REDUCE_USE_DFLT ){
+#ifdef YYERRORSYMBOL
+ if( stateno>YY_REDUCE_COUNT ){
return yy_default[stateno];
}
- if( iLookAhead==YYNOCODE ){
- return YY_NO_ACTION;
- }
+#else
+ assert( stateno<=YY_REDUCE_COUNT );
+#endif
+ i = yy_reduce_ofst[stateno];
+ assert( i!=YY_REDUCE_USE_DFLT );
+ assert( iLookAhead!=YYNOCODE );
i += iLookAhead;
- if( i<0 || i>=YY_SZ_ACTTAB || yy_lookahead[i]!=iLookAhead ){
+#ifdef YYERRORSYMBOL
+ if( i<0 || i>=YY_ACTTAB_COUNT || yy_lookahead[i]!=iLookAhead ){
return yy_default[stateno];
- }else{
- return yy_action[i];
}
+#else
+ assert( i>=0 && i<YY_ACTTAB_COUNT );
+ assert( yy_lookahead[i]==iLookAhead );
+#endif
+ return yy_action[i];
+}
+
+/*
+** The following routine is called if the stack overflows.
+*/
+static void yyStackOverflow(yyParser *yypParser, YYMINORTYPE *yypMinor){
+ sqliteParserARG_FETCH;
+ yypParser->yyidx--;
+#ifndef NDEBUG
+ if( yyTraceFILE ){
+ fprintf(yyTraceFILE,"%sStack Overflow!\n",yyTracePrompt);
+ }
+#endif
+ while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser);
+ /* Here code is inserted which will execute if the parser
+ ** stack every overflows */
+ sqliteParserARG_STORE; /* Suppress warning about unused %extra_argument var */
}
/*
@@ -1417,27 +1393,32 @@ static void yy_shift(
yyParser *yypParser, /* The parser to be shifted */
int yyNewState, /* The new state to shift in */
int yyMajor, /* The major token to shift in */
- YYMINORTYPE *yypMinor /* Pointer ot the minor token to shift in */
+ YYMINORTYPE *yypMinor /* Pointer to the minor token to shift in */
){
yyStackEntry *yytos;
yypParser->yyidx++;
- if( yypParser->yyidx>=YYSTACKDEPTH ){
- sqliteParserARG_FETCH;
- yypParser->yyidx--;
-#ifndef NDEBUG
- if( yyTraceFILE ){
- fprintf(yyTraceFILE,"%sStack Overflow!\n",yyTracePrompt);
- }
+#ifdef YYTRACKMAXSTACKDEPTH
+ if( yypParser->yyidx>yypParser->yyidxMax ){
+ yypParser->yyidxMax = yypParser->yyidx;
+ }
#endif
- while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser);
- /* Here code is inserted which will execute if the parser
- ** stack every overflows */
- sqliteParserARG_STORE; /* Suppress warning about unused %extra_argument var */
- return;
+#if YYSTACKDEPTH>0
+ if( yypParser->yyidx>=YYSTACKDEPTH ){
+ yyStackOverflow(yypParser, yypMinor);
+ return;
+ }
+#else
+ if( yypParser->yyidx>=yypParser->yystksz ){
+ yyGrowStack(yypParser);
+ if( yypParser->yyidx>=yypParser->yystksz ){
+ yyStackOverflow(yypParser, yypMinor);
+ return;
+ }
}
+#endif
yytos = &yypParser->yystack[yypParser->yyidx];
- yytos->stateno = yyNewState;
- yytos->major = yyMajor;
+ yytos->stateno = (YYACTIONTYPE)yyNewState;
+ yytos->major = (YYCODETYPE)yyMajor;
yytos->minor = *yypMinor;
#ifndef NDEBUG
if( yyTraceFILE && yypParser->yyidx>0 ){
@@ -1772,13 +1753,12 @@ static void yy_reduce(
yymsp = &yypParser->yystack[yypParser->yyidx];
#ifndef NDEBUG
if( yyTraceFILE && yyruleno>=0
- && yyruleno<sizeof(yyRuleName)/sizeof(yyRuleName[0]) ){
+ && yyruleno<(int)(sizeof(yyRuleName)/sizeof(yyRuleName[0])) ){
fprintf(yyTraceFILE, "%sReduce [%s].\n", yyTracePrompt,
yyRuleName[yyruleno]);
}
#endif /* NDEBUG */
-#ifndef NDEBUG
/* Silence complaints from purify about yygotominor being uninitialized
** in some cases when it is copied into the stack after the following
** switch. yygotominor is uninitialized when a rule reduces that does
@@ -1786,9 +1766,16 @@ static void yy_reduce(
** value of the nonterminal uninitialized is utterly harmless as long
** as the value is never used. So really the only thing this code
** accomplishes is to quieten purify.
+ **
+ ** 2007-01-16: The wireshark project (www.wireshark.org) reports that
+ ** without this code, their parser segfaults. I'm not sure what there
+ ** parser is doing to make this happen. This is the second bug report
+ ** from wireshark this week. Clearly they are stressing Lemon in ways
+ ** that it has not been previously stressed... (SQLite ticket #2172)
*/
- memset(&yygotominor, 0, sizeof(yygotominor));
-#endif
+ /*memset(&yygotominor, 0, sizeof(yygotominor));*/
+ yygotominor = yyzerominor;
+
switch( yyruleno ){
/* Beginning here are the reduction cases. A typical example
@@ -1799,330 +1786,340 @@ static void yy_reduce(
** #line <lineno> <thisfile>
** break;
*/
- case 5:
-#line 72 "ext/sqlite/libsqlite/src/parse.y"
+ case 5: /* cmdx ::= cmd */
+#line 72 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ sqliteExec(pParse); }
-#line 1807 "ext/sqlite/libsqlite/src/parse.c"
+#line 1793 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 6:
-#line 73 "ext/sqlite/libsqlite/src/parse.y"
+ case 6: /* explain ::= EXPLAIN */
+#line 73 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ sqliteBeginParse(pParse, 1); }
-#line 1812 "ext/sqlite/libsqlite/src/parse.c"
+#line 1798 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 7:
-#line 74 "ext/sqlite/libsqlite/src/parse.y"
+ case 7: /* explain ::= */
+#line 74 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ sqliteBeginParse(pParse, 0); }
-#line 1817 "ext/sqlite/libsqlite/src/parse.c"
+#line 1803 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 8:
-#line 79 "ext/sqlite/libsqlite/src/parse.y"
+ case 8: /* cmd ::= BEGIN trans_opt onconf */
+#line 79 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{sqliteBeginTransaction(pParse,yymsp[0].minor.yy372);}
-#line 1822 "ext/sqlite/libsqlite/src/parse.c"
+#line 1808 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 12:
- case 13:
-#line 83 "ext/sqlite/libsqlite/src/parse.y"
+ case 12: /* cmd ::= COMMIT trans_opt */
+ case 13: /* cmd ::= END trans_opt */ yytestcase(yyruleno==13);
+#line 83 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{sqliteCommitTransaction(pParse);}
-#line 1828 "ext/sqlite/libsqlite/src/parse.c"
+#line 1814 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 14:
-#line 85 "ext/sqlite/libsqlite/src/parse.y"
+ case 14: /* cmd ::= ROLLBACK trans_opt */
+#line 85 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{sqliteRollbackTransaction(pParse);}
-#line 1833 "ext/sqlite/libsqlite/src/parse.c"
+#line 1819 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 16:
-#line 90 "ext/sqlite/libsqlite/src/parse.y"
+ case 16: /* create_table ::= CREATE temp TABLE nm */
+#line 90 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- sqliteStartTable(pParse,&yymsp[-3].minor.yy0,&yymsp[0].minor.yy298,yymsp[-2].minor.yy372,0);
+ sqliteStartTable(pParse,&yymsp[-3].minor.yy0,&yymsp[0].minor.yy0,yymsp[-2].minor.yy372,0);
}
-#line 1840 "ext/sqlite/libsqlite/src/parse.c"
+#line 1826 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 17:
- case 74:
- case 108:
-#line 94 "ext/sqlite/libsqlite/src/parse.y"
+ case 17: /* temp ::= TEMP */
+ case 74: /* init_deferred_pred_opt ::= INITIALLY DEFERRED */ yytestcase(yyruleno==74);
+ case 108: /* distinct ::= DISTINCT */ yytestcase(yyruleno==108);
+#line 94 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy372 = 1;}
-#line 1847 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 18:
- case 73:
- case 75:
- case 86:
- case 109:
- case 110:
-#line 95 "ext/sqlite/libsqlite/src/parse.y"
+#line 1833 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 18: /* temp ::= */
+ case 73: /* init_deferred_pred_opt ::= */ yytestcase(yyruleno==73);
+ case 75: /* init_deferred_pred_opt ::= INITIALLY IMMEDIATE */ yytestcase(yyruleno==75);
+ case 86: /* defer_subclause_opt ::= */ yytestcase(yyruleno==86);
+ case 109: /* distinct ::= ALL */ yytestcase(yyruleno==109);
+ case 110: /* distinct ::= */ yytestcase(yyruleno==110);
+#line 95 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy372 = 0;}
-#line 1857 "ext/sqlite/libsqlite/src/parse.c"
+#line 1843 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 19:
-#line 96 "ext/sqlite/libsqlite/src/parse.y"
+ case 19: /* create_table_args ::= LP columnlist conslist_opt RP */
+#line 96 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
sqliteEndTable(pParse,&yymsp[0].minor.yy0,0);
}
-#line 1864 "ext/sqlite/libsqlite/src/parse.c"
+#line 1850 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 20:
-#line 99 "ext/sqlite/libsqlite/src/parse.y"
+ case 20: /* create_table_args ::= AS select */
+#line 99 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
sqliteEndTable(pParse,0,yymsp[0].minor.yy179);
sqliteSelectDelete(yymsp[0].minor.yy179);
}
-#line 1872 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 24:
-#line 111 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteAddColumn(pParse,&yymsp[0].minor.yy298);}
-#line 1877 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 25:
- case 26:
- case 27:
- case 28:
- case 29:
- case 30:
- case 256:
- case 257:
-#line 117 "ext/sqlite/libsqlite/src/parse.y"
-{yygotominor.yy298 = yymsp[0].minor.yy0;}
-#line 1889 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 32:
-#line 160 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteAddColumnType(pParse,&yymsp[0].minor.yy298,&yymsp[0].minor.yy298);}
-#line 1894 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 33:
-#line 161 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteAddColumnType(pParse,&yymsp[-3].minor.yy298,&yymsp[0].minor.yy0);}
-#line 1899 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 34:
-#line 163 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteAddColumnType(pParse,&yymsp[-5].minor.yy298,&yymsp[0].minor.yy0);}
-#line 1904 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 35:
- case 128:
- case 254:
- case 255:
-#line 165 "ext/sqlite/libsqlite/src/parse.y"
-{yygotominor.yy298 = yymsp[0].minor.yy298;}
-#line 1912 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 36:
- case 242:
-#line 166 "ext/sqlite/libsqlite/src/parse.y"
-{yygotominor.yy298 = yymsp[-1].minor.yy298;}
-#line 1918 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 37:
- case 38:
-#line 168 "ext/sqlite/libsqlite/src/parse.y"
+#line 1858 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 24: /* columnid ::= nm */
+#line 111 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{sqliteAddColumn(pParse,&yymsp[0].minor.yy0);}
+#line 1863 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 25: /* id ::= ID */
+ case 26: /* ids ::= ID */ yytestcase(yyruleno==26);
+ case 27: /* ids ::= STRING */ yytestcase(yyruleno==27);
+ case 28: /* nm ::= ID */ yytestcase(yyruleno==28);
+ case 29: /* nm ::= STRING */ yytestcase(yyruleno==29);
+ case 30: /* nm ::= JOIN_KW */ yytestcase(yyruleno==30);
+ case 35: /* typename ::= ids */ yytestcase(yyruleno==35);
+ case 128: /* dbnm ::= DOT nm */ yytestcase(yyruleno==128);
+ case 254: /* plus_num ::= plus_opt number */ yytestcase(yyruleno==254);
+ case 255: /* minus_num ::= MINUS number */ yytestcase(yyruleno==255);
+ case 256: /* number ::= INTEGER */ yytestcase(yyruleno==256);
+ case 257: /* number ::= FLOAT */ yytestcase(yyruleno==257);
+#line 117 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{yygotominor.yy0 = yymsp[0].minor.yy0;}
+#line 1879 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 32: /* type ::= typename */
+#line 160 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{sqliteAddColumnType(pParse,&yymsp[0].minor.yy0,&yymsp[0].minor.yy0);}
+#line 1884 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 33: /* type ::= typename LP signed RP */
+#line 161 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{sqliteAddColumnType(pParse,&yymsp[-3].minor.yy0,&yymsp[0].minor.yy0);}
+#line 1889 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 34: /* type ::= typename LP signed COMMA signed RP */
+#line 163 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{sqliteAddColumnType(pParse,&yymsp[-5].minor.yy0,&yymsp[0].minor.yy0);}
+#line 1894 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 36: /* typename ::= typename ids */
+ case 242: /* idxitem ::= nm sortorder */ yytestcase(yyruleno==242);
+#line 166 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{yygotominor.yy0 = yymsp[-1].minor.yy0;}
+#line 1900 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 37: /* signed ::= INTEGER */
+ case 38: /* signed ::= PLUS INTEGER */ yytestcase(yyruleno==38);
+#line 168 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = atoi(yymsp[0].minor.yy0.z); }
-#line 1924 "ext/sqlite/libsqlite/src/parse.c"
+#line 1906 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 39:
-#line 170 "ext/sqlite/libsqlite/src/parse.y"
+ case 39: /* signed ::= MINUS INTEGER */
+#line 170 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = -atoi(yymsp[0].minor.yy0.z); }
-#line 1929 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 44:
- case 45:
- case 46:
- case 47:
- case 49:
- case 50:
-#line 175 "ext/sqlite/libsqlite/src/parse.y"
+#line 1911 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 44: /* carg ::= DEFAULT STRING */
+ case 45: /* carg ::= DEFAULT ID */ yytestcase(yyruleno==45);
+ case 46: /* carg ::= DEFAULT INTEGER */ yytestcase(yyruleno==46);
+ case 47: /* carg ::= DEFAULT PLUS INTEGER */ yytestcase(yyruleno==47);
+ case 49: /* carg ::= DEFAULT FLOAT */ yytestcase(yyruleno==49);
+ case 50: /* carg ::= DEFAULT PLUS FLOAT */ yytestcase(yyruleno==50);
+#line 175 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{sqliteAddDefaultValue(pParse,&yymsp[0].minor.yy0,0);}
-#line 1939 "ext/sqlite/libsqlite/src/parse.c"
+#line 1921 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 48:
- case 51:
-#line 179 "ext/sqlite/libsqlite/src/parse.y"
+ case 48: /* carg ::= DEFAULT MINUS INTEGER */
+ case 51: /* carg ::= DEFAULT MINUS FLOAT */ yytestcase(yyruleno==51);
+#line 179 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{sqliteAddDefaultValue(pParse,&yymsp[0].minor.yy0,1);}
-#line 1945 "ext/sqlite/libsqlite/src/parse.c"
+#line 1927 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 54:
-#line 189 "ext/sqlite/libsqlite/src/parse.y"
+ case 54: /* ccons ::= NOT NULL onconf */
+#line 189 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{sqliteAddNotNull(pParse, yymsp[0].minor.yy372);}
-#line 1950 "ext/sqlite/libsqlite/src/parse.c"
+#line 1932 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 55:
-#line 190 "ext/sqlite/libsqlite/src/parse.y"
+ case 55: /* ccons ::= PRIMARY KEY sortorder onconf */
+#line 190 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{sqliteAddPrimaryKey(pParse,0,yymsp[0].minor.yy372);}
-#line 1955 "ext/sqlite/libsqlite/src/parse.c"
+#line 1937 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 56:
-#line 191 "ext/sqlite/libsqlite/src/parse.y"
+ case 56: /* ccons ::= UNIQUE onconf */
+#line 191 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{sqliteCreateIndex(pParse,0,0,0,yymsp[0].minor.yy372,0,0);}
-#line 1960 "ext/sqlite/libsqlite/src/parse.c"
+#line 1942 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 58:
-#line 194 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteCreateForeignKey(pParse,0,&yymsp[-2].minor.yy298,yymsp[-1].minor.yy320,yymsp[0].minor.yy372);}
-#line 1965 "ext/sqlite/libsqlite/src/parse.c"
+ case 57: /* ccons ::= CHECK LP expr RP onconf */
+#line 192 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{
+ yy_destructor(yypParser,158,&yymsp[-2].minor);
+}
+#line 1949 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 58: /* ccons ::= REFERENCES nm idxlist_opt refargs */
+#line 194 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{sqliteCreateForeignKey(pParse,0,&yymsp[-2].minor.yy0,yymsp[-1].minor.yy320,yymsp[0].minor.yy372);}
+#line 1954 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 59:
-#line 195 "ext/sqlite/libsqlite/src/parse.y"
+ case 59: /* ccons ::= defer_subclause */
+#line 195 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{sqliteDeferForeignKey(pParse,yymsp[0].minor.yy372);}
-#line 1970 "ext/sqlite/libsqlite/src/parse.c"
+#line 1959 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 60:
-#line 196 "ext/sqlite/libsqlite/src/parse.y"
+ case 60: /* ccons ::= COLLATE id */
+#line 196 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- sqliteAddCollateType(pParse, sqliteCollateType(yymsp[0].minor.yy298.z, yymsp[0].minor.yy298.n));
+ sqliteAddCollateType(pParse, sqliteCollateType(yymsp[0].minor.yy0.z, yymsp[0].minor.yy0.n));
}
-#line 1977 "ext/sqlite/libsqlite/src/parse.c"
+#line 1966 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 61:
-#line 206 "ext/sqlite/libsqlite/src/parse.y"
+ case 61: /* refargs ::= */
+#line 206 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = OE_Restrict * 0x010101; }
-#line 1982 "ext/sqlite/libsqlite/src/parse.c"
+#line 1971 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 62:
-#line 207 "ext/sqlite/libsqlite/src/parse.y"
+ case 62: /* refargs ::= refargs refarg */
+#line 207 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = (yymsp[-1].minor.yy372 & yymsp[0].minor.yy407.mask) | yymsp[0].minor.yy407.value; }
-#line 1987 "ext/sqlite/libsqlite/src/parse.c"
+#line 1976 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 63:
-#line 209 "ext/sqlite/libsqlite/src/parse.y"
+ case 63: /* refarg ::= MATCH nm */
+#line 209 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy407.value = 0; yygotominor.yy407.mask = 0x000000; }
-#line 1992 "ext/sqlite/libsqlite/src/parse.c"
+#line 1981 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 64:
-#line 210 "ext/sqlite/libsqlite/src/parse.y"
+ case 64: /* refarg ::= ON DELETE refact */
+#line 210 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy407.value = yymsp[0].minor.yy372; yygotominor.yy407.mask = 0x0000ff; }
-#line 1997 "ext/sqlite/libsqlite/src/parse.c"
+#line 1986 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 65:
-#line 211 "ext/sqlite/libsqlite/src/parse.y"
+ case 65: /* refarg ::= ON UPDATE refact */
+#line 211 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy407.value = yymsp[0].minor.yy372<<8; yygotominor.yy407.mask = 0x00ff00; }
-#line 2002 "ext/sqlite/libsqlite/src/parse.c"
+#line 1991 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 66:
-#line 212 "ext/sqlite/libsqlite/src/parse.y"
+ case 66: /* refarg ::= ON INSERT refact */
+#line 212 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy407.value = yymsp[0].minor.yy372<<16; yygotominor.yy407.mask = 0xff0000; }
-#line 2007 "ext/sqlite/libsqlite/src/parse.c"
+#line 1996 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 67:
-#line 214 "ext/sqlite/libsqlite/src/parse.y"
+ case 67: /* refact ::= SET NULL */
+#line 214 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = OE_SetNull; }
-#line 2012 "ext/sqlite/libsqlite/src/parse.c"
+#line 2001 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 68:
-#line 215 "ext/sqlite/libsqlite/src/parse.y"
+ case 68: /* refact ::= SET DEFAULT */
+#line 215 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = OE_SetDflt; }
-#line 2017 "ext/sqlite/libsqlite/src/parse.c"
+#line 2006 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 69:
-#line 216 "ext/sqlite/libsqlite/src/parse.y"
+ case 69: /* refact ::= CASCADE */
+#line 216 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = OE_Cascade; }
-#line 2022 "ext/sqlite/libsqlite/src/parse.c"
+#line 2011 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 70:
-#line 217 "ext/sqlite/libsqlite/src/parse.y"
+ case 70: /* refact ::= RESTRICT */
+#line 217 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = OE_Restrict; }
-#line 2027 "ext/sqlite/libsqlite/src/parse.c"
+#line 2016 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 71:
- case 72:
- case 87:
- case 164:
-#line 219 "ext/sqlite/libsqlite/src/parse.y"
+ case 71: /* defer_subclause ::= NOT DEFERRABLE init_deferred_pred_opt */
+ case 72: /* defer_subclause ::= DEFERRABLE init_deferred_pred_opt */ yytestcase(yyruleno==72);
+ case 87: /* defer_subclause_opt ::= defer_subclause */ yytestcase(yyruleno==87);
+ case 164: /* insert_cmd ::= INSERT orconf */ yytestcase(yyruleno==164);
+#line 219 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy372 = yymsp[0].minor.yy372;}
-#line 2035 "ext/sqlite/libsqlite/src/parse.c"
+#line 2024 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 82:
-#line 236 "ext/sqlite/libsqlite/src/parse.y"
+ case 82: /* tcons ::= PRIMARY KEY LP idxlist RP onconf */
+#line 236 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{sqliteAddPrimaryKey(pParse,yymsp[-2].minor.yy320,yymsp[0].minor.yy372);}
-#line 2040 "ext/sqlite/libsqlite/src/parse.c"
+#line 2029 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 83:
-#line 238 "ext/sqlite/libsqlite/src/parse.y"
+ case 83: /* tcons ::= UNIQUE LP idxlist RP onconf */
+#line 238 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{sqliteCreateIndex(pParse,0,0,yymsp[-2].minor.yy320,yymsp[0].minor.yy372,0,0);}
-#line 2045 "ext/sqlite/libsqlite/src/parse.c"
+#line 2034 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 84: /* tcons ::= CHECK expr onconf */
+#line 239 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{
+ yy_destructor(yypParser,158,&yymsp[-1].minor);
+}
+#line 2041 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 85:
-#line 241 "ext/sqlite/libsqlite/src/parse.y"
+ case 85: /* tcons ::= FOREIGN KEY LP idxlist RP REFERENCES nm idxlist_opt refargs defer_subclause_opt */
+#line 241 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- sqliteCreateForeignKey(pParse, yymsp[-6].minor.yy320, &yymsp[-3].minor.yy298, yymsp[-2].minor.yy320, yymsp[-1].minor.yy372);
+ sqliteCreateForeignKey(pParse, yymsp[-6].minor.yy320, &yymsp[-3].minor.yy0, yymsp[-2].minor.yy320, yymsp[-1].minor.yy372);
sqliteDeferForeignKey(pParse, yymsp[0].minor.yy372);
}
-#line 2053 "ext/sqlite/libsqlite/src/parse.c"
+#line 2049 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 88:
- case 90:
-#line 255 "ext/sqlite/libsqlite/src/parse.y"
+ case 88: /* onconf ::= */
+ case 90: /* orconf ::= */ yytestcase(yyruleno==90);
+#line 255 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = OE_Default; }
-#line 2059 "ext/sqlite/libsqlite/src/parse.c"
+#line 2055 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 89:
- case 91:
-#line 256 "ext/sqlite/libsqlite/src/parse.y"
+ case 89: /* onconf ::= ON CONFLICT resolvetype */
+ case 91: /* orconf ::= OR resolvetype */ yytestcase(yyruleno==91);
+#line 256 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = yymsp[0].minor.yy372; }
-#line 2065 "ext/sqlite/libsqlite/src/parse.c"
+#line 2061 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 92:
-#line 259 "ext/sqlite/libsqlite/src/parse.y"
+ case 92: /* resolvetype ::= ROLLBACK */
+#line 259 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = OE_Rollback; }
-#line 2070 "ext/sqlite/libsqlite/src/parse.c"
+#line 2066 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 93:
- case 236:
-#line 260 "ext/sqlite/libsqlite/src/parse.y"
+ case 93: /* resolvetype ::= ABORT */
+ case 236: /* uniqueflag ::= UNIQUE */ yytestcase(yyruleno==236);
+#line 260 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = OE_Abort; }
-#line 2076 "ext/sqlite/libsqlite/src/parse.c"
+#line 2072 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 94:
-#line 261 "ext/sqlite/libsqlite/src/parse.y"
+ case 94: /* resolvetype ::= FAIL */
+#line 261 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = OE_Fail; }
-#line 2081 "ext/sqlite/libsqlite/src/parse.c"
+#line 2077 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 95:
-#line 262 "ext/sqlite/libsqlite/src/parse.y"
+ case 95: /* resolvetype ::= IGNORE */
+#line 262 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = OE_Ignore; }
-#line 2086 "ext/sqlite/libsqlite/src/parse.c"
+#line 2082 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 96:
-#line 263 "ext/sqlite/libsqlite/src/parse.y"
+ case 96: /* resolvetype ::= REPLACE */
+#line 263 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = OE_Replace; }
-#line 2091 "ext/sqlite/libsqlite/src/parse.c"
+#line 2087 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 97:
-#line 267 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteDropTable(pParse,&yymsp[0].minor.yy298,0);}
-#line 2096 "ext/sqlite/libsqlite/src/parse.c"
+ case 97: /* cmd ::= DROP TABLE nm */
+#line 267 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{sqliteDropTable(pParse,&yymsp[0].minor.yy0,0);}
+#line 2092 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 98:
-#line 271 "ext/sqlite/libsqlite/src/parse.y"
+ case 98: /* cmd ::= CREATE temp VIEW nm AS select */
+#line 271 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- sqliteCreateView(pParse, &yymsp[-5].minor.yy0, &yymsp[-2].minor.yy298, yymsp[0].minor.yy179, yymsp[-4].minor.yy372);
+ sqliteCreateView(pParse, &yymsp[-5].minor.yy0, &yymsp[-2].minor.yy0, yymsp[0].minor.yy179, yymsp[-4].minor.yy372);
}
-#line 2103 "ext/sqlite/libsqlite/src/parse.c"
+#line 2099 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 99:
-#line 274 "ext/sqlite/libsqlite/src/parse.y"
+ case 99: /* cmd ::= DROP VIEW nm */
+#line 274 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- sqliteDropTable(pParse, &yymsp[0].minor.yy298, 1);
+ sqliteDropTable(pParse, &yymsp[0].minor.yy0, 1);
}
-#line 2110 "ext/sqlite/libsqlite/src/parse.c"
+#line 2106 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 100:
-#line 280 "ext/sqlite/libsqlite/src/parse.y"
+ case 100: /* cmd ::= select */
+#line 280 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
sqliteSelect(pParse, yymsp[0].minor.yy179, SRT_Callback, 0, 0, 0, 0);
sqliteSelectDelete(yymsp[0].minor.yy179);
}
-#line 2118 "ext/sqlite/libsqlite/src/parse.c"
+#line 2114 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 101:
- case 125:
-#line 290 "ext/sqlite/libsqlite/src/parse.y"
+ case 101: /* select ::= oneselect */
+ case 125: /* seltablist_paren ::= select */ yytestcase(yyruleno==125);
+#line 290 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy179 = yymsp[0].minor.yy179;}
-#line 2124 "ext/sqlite/libsqlite/src/parse.c"
+#line 2120 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 102:
-#line 291 "ext/sqlite/libsqlite/src/parse.y"
+ case 102: /* select ::= select multiselect_op oneselect */
+#line 291 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
if( yymsp[0].minor.yy179 ){
yymsp[0].minor.yy179->op = yymsp[-1].minor.yy372;
@@ -2130,110 +2127,110 @@ static void yy_reduce(
}
yygotominor.yy179 = yymsp[0].minor.yy179;
}
-#line 2135 "ext/sqlite/libsqlite/src/parse.c"
+#line 2131 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 103:
-#line 299 "ext/sqlite/libsqlite/src/parse.y"
+ case 103: /* multiselect_op ::= UNION */
+#line 299 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy372 = TK_UNION;}
-#line 2140 "ext/sqlite/libsqlite/src/parse.c"
+#line 2136 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 104:
-#line 300 "ext/sqlite/libsqlite/src/parse.y"
+ case 104: /* multiselect_op ::= UNION ALL */
+#line 300 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy372 = TK_ALL;}
-#line 2145 "ext/sqlite/libsqlite/src/parse.c"
+#line 2141 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 105:
-#line 301 "ext/sqlite/libsqlite/src/parse.y"
+ case 105: /* multiselect_op ::= INTERSECT */
+#line 301 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy372 = TK_INTERSECT;}
-#line 2150 "ext/sqlite/libsqlite/src/parse.c"
+#line 2146 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 106:
-#line 302 "ext/sqlite/libsqlite/src/parse.y"
+ case 106: /* multiselect_op ::= EXCEPT */
+#line 302 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy372 = TK_EXCEPT;}
-#line 2155 "ext/sqlite/libsqlite/src/parse.c"
+#line 2151 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 107:
-#line 304 "ext/sqlite/libsqlite/src/parse.y"
+ case 107: /* oneselect ::= SELECT distinct selcollist from where_opt groupby_opt having_opt orderby_opt limit_opt */
+#line 304 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy179 = sqliteSelectNew(yymsp[-6].minor.yy322,yymsp[-5].minor.yy307,yymsp[-4].minor.yy242,yymsp[-3].minor.yy322,yymsp[-2].minor.yy242,yymsp[-1].minor.yy322,yymsp[-7].minor.yy372,yymsp[0].minor.yy124.limit,yymsp[0].minor.yy124.offset);
}
-#line 2162 "ext/sqlite/libsqlite/src/parse.c"
+#line 2158 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 111:
-#line 325 "ext/sqlite/libsqlite/src/parse.y"
+ case 111: /* sclp ::= selcollist COMMA */
+#line 325 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy322 = yymsp[-1].minor.yy322;}
-#line 2167 "ext/sqlite/libsqlite/src/parse.c"
+#line 2163 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 112:
- case 138:
- case 148:
-#line 326 "ext/sqlite/libsqlite/src/parse.y"
+ case 112: /* sclp ::= */
+ case 138: /* orderby_opt ::= */ yytestcase(yyruleno==138);
+ case 148: /* groupby_opt ::= */ yytestcase(yyruleno==148);
+#line 326 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy322 = 0;}
-#line 2174 "ext/sqlite/libsqlite/src/parse.c"
+#line 2170 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 113:
-#line 327 "ext/sqlite/libsqlite/src/parse.y"
+ case 113: /* selcollist ::= sclp expr as */
+#line 327 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- yygotominor.yy322 = sqliteExprListAppend(yymsp[-2].minor.yy322,yymsp[-1].minor.yy242,yymsp[0].minor.yy298.n?&yymsp[0].minor.yy298:0);
+ yygotominor.yy322 = sqliteExprListAppend(yymsp[-2].minor.yy322,yymsp[-1].minor.yy242,yymsp[0].minor.yy0.n?&yymsp[0].minor.yy0:0);
}
-#line 2181 "ext/sqlite/libsqlite/src/parse.c"
+#line 2177 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 114:
-#line 330 "ext/sqlite/libsqlite/src/parse.y"
+ case 114: /* selcollist ::= sclp STAR */
+#line 330 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy322 = sqliteExprListAppend(yymsp[-1].minor.yy322, sqliteExpr(TK_ALL, 0, 0, 0), 0);
}
-#line 2188 "ext/sqlite/libsqlite/src/parse.c"
+#line 2184 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 115:
-#line 333 "ext/sqlite/libsqlite/src/parse.y"
+ case 115: /* selcollist ::= sclp nm DOT STAR */
+#line 333 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
Expr *pRight = sqliteExpr(TK_ALL, 0, 0, 0);
- Expr *pLeft = sqliteExpr(TK_ID, 0, 0, &yymsp[-2].minor.yy298);
+ Expr *pLeft = sqliteExpr(TK_ID, 0, 0, &yymsp[-2].minor.yy0);
yygotominor.yy322 = sqliteExprListAppend(yymsp[-3].minor.yy322, sqliteExpr(TK_DOT, pLeft, pRight, 0), 0);
}
-#line 2197 "ext/sqlite/libsqlite/src/parse.c"
+#line 2193 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 116:
- case 117:
- case 288:
-#line 343 "ext/sqlite/libsqlite/src/parse.y"
-{ yygotominor.yy298 = yymsp[0].minor.yy298; }
-#line 2204 "ext/sqlite/libsqlite/src/parse.c"
+ case 116: /* as ::= AS nm */
+ case 117: /* as ::= ids */ yytestcase(yyruleno==117);
+ case 288: /* key_opt ::= USING ids */ yytestcase(yyruleno==288);
+#line 343 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{ yygotominor.yy0 = yymsp[0].minor.yy0; }
+#line 2200 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 118:
-#line 345 "ext/sqlite/libsqlite/src/parse.y"
-{ yygotominor.yy298.n = 0; }
-#line 2209 "ext/sqlite/libsqlite/src/parse.c"
+ case 118: /* as ::= */
+#line 345 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{ yygotominor.yy0.n = 0; }
+#line 2205 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 119:
-#line 357 "ext/sqlite/libsqlite/src/parse.y"
+ case 119: /* from ::= */
+#line 357 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy307 = sqliteMalloc(sizeof(*yygotominor.yy307));}
-#line 2214 "ext/sqlite/libsqlite/src/parse.c"
+#line 2210 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 120:
-#line 358 "ext/sqlite/libsqlite/src/parse.y"
+ case 120: /* from ::= FROM seltablist */
+#line 358 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy307 = yymsp[0].minor.yy307;}
-#line 2219 "ext/sqlite/libsqlite/src/parse.c"
+#line 2215 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 121:
-#line 363 "ext/sqlite/libsqlite/src/parse.y"
+ case 121: /* stl_prefix ::= seltablist joinop */
+#line 363 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy307 = yymsp[-1].minor.yy307;
if( yygotominor.yy307 && yygotominor.yy307->nSrc>0 ) yygotominor.yy307->a[yygotominor.yy307->nSrc-1].jointype = yymsp[0].minor.yy372;
}
-#line 2227 "ext/sqlite/libsqlite/src/parse.c"
+#line 2223 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 122:
-#line 367 "ext/sqlite/libsqlite/src/parse.y"
+ case 122: /* stl_prefix ::= */
+#line 367 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy307 = 0;}
-#line 2232 "ext/sqlite/libsqlite/src/parse.c"
+#line 2228 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 123:
-#line 368 "ext/sqlite/libsqlite/src/parse.y"
+ case 123: /* seltablist ::= stl_prefix nm dbnm as on_opt using_opt */
+#line 368 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- yygotominor.yy307 = sqliteSrcListAppend(yymsp[-5].minor.yy307,&yymsp[-4].minor.yy298,&yymsp[-3].minor.yy298);
- if( yymsp[-2].minor.yy298.n ) sqliteSrcListAddAlias(yygotominor.yy307,&yymsp[-2].minor.yy298);
+ yygotominor.yy307 = sqliteSrcListAppend(yymsp[-5].minor.yy307,&yymsp[-4].minor.yy0,&yymsp[-3].minor.yy0);
+ if( yymsp[-2].minor.yy0.n ) sqliteSrcListAddAlias(yygotominor.yy307,&yymsp[-2].minor.yy0);
if( yymsp[-1].minor.yy242 ){
if( yygotominor.yy307 && yygotominor.yy307->nSrc>1 ){ yygotominor.yy307->a[yygotominor.yy307->nSrc-2].pOn = yymsp[-1].minor.yy242; }
else { sqliteExprDelete(yymsp[-1].minor.yy242); }
@@ -2243,14 +2240,14 @@ static void yy_reduce(
else { sqliteIdListDelete(yymsp[0].minor.yy320); }
}
}
-#line 2248 "ext/sqlite/libsqlite/src/parse.c"
+#line 2244 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 124:
-#line 381 "ext/sqlite/libsqlite/src/parse.y"
+ case 124: /* seltablist ::= stl_prefix LP seltablist_paren RP as on_opt using_opt */
+#line 381 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy307 = sqliteSrcListAppend(yymsp[-6].minor.yy307,0,0);
yygotominor.yy307->a[yygotominor.yy307->nSrc-1].pSelect = yymsp[-4].minor.yy179;
- if( yymsp[-2].minor.yy298.n ) sqliteSrcListAddAlias(yygotominor.yy307,&yymsp[-2].minor.yy298);
+ if( yymsp[-2].minor.yy0.n ) sqliteSrcListAddAlias(yygotominor.yy307,&yymsp[-2].minor.yy0);
if( yymsp[-1].minor.yy242 ){
if( yygotominor.yy307 && yygotominor.yy307->nSrc>1 ){ yygotominor.yy307->a[yygotominor.yy307->nSrc-2].pOn = yymsp[-1].minor.yy242; }
else { sqliteExprDelete(yymsp[-1].minor.yy242); }
@@ -2260,337 +2257,337 @@ static void yy_reduce(
else { sqliteIdListDelete(yymsp[0].minor.yy320); }
}
}
-#line 2265 "ext/sqlite/libsqlite/src/parse.c"
+#line 2261 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 126:
-#line 402 "ext/sqlite/libsqlite/src/parse.y"
+ case 126: /* seltablist_paren ::= seltablist */
+#line 402 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy179 = sqliteSelectNew(0,yymsp[0].minor.yy307,0,0,0,0,0,-1,0);
}
-#line 2272 "ext/sqlite/libsqlite/src/parse.c"
+#line 2268 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 127:
-#line 407 "ext/sqlite/libsqlite/src/parse.y"
-{yygotominor.yy298.z=0; yygotominor.yy298.n=0;}
-#line 2277 "ext/sqlite/libsqlite/src/parse.c"
+ case 127: /* dbnm ::= */
+#line 407 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{yygotominor.yy0.z=0; yygotominor.yy0.n=0;}
+#line 2273 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 129:
- case 130:
-#line 412 "ext/sqlite/libsqlite/src/parse.y"
+ case 129: /* joinop ::= COMMA */
+ case 130: /* joinop ::= JOIN */ yytestcase(yyruleno==130);
+#line 412 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = JT_INNER; }
-#line 2283 "ext/sqlite/libsqlite/src/parse.c"
+#line 2279 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 131:
-#line 414 "ext/sqlite/libsqlite/src/parse.y"
+ case 131: /* joinop ::= JOIN_KW JOIN */
+#line 414 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = sqliteJoinType(pParse,&yymsp[-1].minor.yy0,0,0); }
-#line 2288 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 132:
-#line 415 "ext/sqlite/libsqlite/src/parse.y"
-{ yygotominor.yy372 = sqliteJoinType(pParse,&yymsp[-2].minor.yy0,&yymsp[-1].minor.yy298,0); }
-#line 2293 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 133:
-#line 417 "ext/sqlite/libsqlite/src/parse.y"
-{ yygotominor.yy372 = sqliteJoinType(pParse,&yymsp[-3].minor.yy0,&yymsp[-2].minor.yy298,&yymsp[-1].minor.yy298); }
-#line 2298 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 134:
- case 142:
- case 151:
- case 158:
- case 227:
- case 229:
- case 233:
-#line 421 "ext/sqlite/libsqlite/src/parse.y"
+#line 2284 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 132: /* joinop ::= JOIN_KW nm JOIN */
+#line 415 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{ yygotominor.yy372 = sqliteJoinType(pParse,&yymsp[-2].minor.yy0,&yymsp[-1].minor.yy0,0); }
+#line 2289 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 133: /* joinop ::= JOIN_KW nm nm JOIN */
+#line 417 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{ yygotominor.yy372 = sqliteJoinType(pParse,&yymsp[-3].minor.yy0,&yymsp[-2].minor.yy0,&yymsp[-1].minor.yy0); }
+#line 2294 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 134: /* on_opt ::= ON expr */
+ case 142: /* sortitem ::= expr */ yytestcase(yyruleno==142);
+ case 151: /* having_opt ::= HAVING expr */ yytestcase(yyruleno==151);
+ case 158: /* where_opt ::= WHERE expr */ yytestcase(yyruleno==158);
+ case 227: /* case_else ::= ELSE expr */ yytestcase(yyruleno==227);
+ case 229: /* case_operand ::= expr */ yytestcase(yyruleno==229);
+ case 233: /* expritem ::= expr */ yytestcase(yyruleno==233);
+#line 421 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = yymsp[0].minor.yy242;}
-#line 2309 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 135:
- case 150:
- case 157:
- case 228:
- case 230:
- case 234:
-#line 422 "ext/sqlite/libsqlite/src/parse.y"
+#line 2305 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 135: /* on_opt ::= */
+ case 150: /* having_opt ::= */ yytestcase(yyruleno==150);
+ case 157: /* where_opt ::= */ yytestcase(yyruleno==157);
+ case 228: /* case_else ::= */ yytestcase(yyruleno==228);
+ case 230: /* case_operand ::= */ yytestcase(yyruleno==230);
+ case 234: /* expritem ::= */ yytestcase(yyruleno==234);
+#line 422 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = 0;}
-#line 2319 "ext/sqlite/libsqlite/src/parse.c"
+#line 2315 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 136:
- case 169:
- case 239:
-#line 426 "ext/sqlite/libsqlite/src/parse.y"
+ case 136: /* using_opt ::= USING LP idxlist RP */
+ case 169: /* inscollist_opt ::= LP inscollist RP */ yytestcase(yyruleno==169);
+ case 239: /* idxlist_opt ::= LP idxlist RP */ yytestcase(yyruleno==239);
+#line 426 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy320 = yymsp[-1].minor.yy320;}
-#line 2326 "ext/sqlite/libsqlite/src/parse.c"
+#line 2322 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 137:
- case 168:
- case 238:
-#line 427 "ext/sqlite/libsqlite/src/parse.y"
+ case 137: /* using_opt ::= */
+ case 168: /* inscollist_opt ::= */ yytestcase(yyruleno==168);
+ case 238: /* idxlist_opt ::= */ yytestcase(yyruleno==238);
+#line 427 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy320 = 0;}
-#line 2333 "ext/sqlite/libsqlite/src/parse.c"
+#line 2329 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 139:
- case 149:
-#line 438 "ext/sqlite/libsqlite/src/parse.y"
+ case 139: /* orderby_opt ::= ORDER BY sortlist */
+ case 149: /* groupby_opt ::= GROUP BY exprlist */ yytestcase(yyruleno==149);
+#line 438 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy322 = yymsp[0].minor.yy322;}
-#line 2339 "ext/sqlite/libsqlite/src/parse.c"
+#line 2335 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 140:
-#line 439 "ext/sqlite/libsqlite/src/parse.y"
+ case 140: /* sortlist ::= sortlist COMMA sortitem collate sortorder */
+#line 439 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy322 = sqliteExprListAppend(yymsp[-4].minor.yy322,yymsp[-2].minor.yy242,0);
if( yygotominor.yy322 ) yygotominor.yy322->a[yygotominor.yy322->nExpr-1].sortOrder = yymsp[-1].minor.yy372+yymsp[0].minor.yy372;
}
-#line 2347 "ext/sqlite/libsqlite/src/parse.c"
+#line 2343 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 141:
-#line 443 "ext/sqlite/libsqlite/src/parse.y"
+ case 141: /* sortlist ::= sortitem collate sortorder */
+#line 443 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy322 = sqliteExprListAppend(0,yymsp[-2].minor.yy242,0);
if( yygotominor.yy322 ) yygotominor.yy322->a[0].sortOrder = yymsp[-1].minor.yy372+yymsp[0].minor.yy372;
}
-#line 2355 "ext/sqlite/libsqlite/src/parse.c"
+#line 2351 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 143:
- case 145:
-#line 452 "ext/sqlite/libsqlite/src/parse.y"
+ case 143: /* sortorder ::= ASC */
+ case 145: /* sortorder ::= */ yytestcase(yyruleno==145);
+#line 452 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy372 = SQLITE_SO_ASC;}
-#line 2361 "ext/sqlite/libsqlite/src/parse.c"
+#line 2357 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 144:
-#line 453 "ext/sqlite/libsqlite/src/parse.y"
+ case 144: /* sortorder ::= DESC */
+#line 453 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy372 = SQLITE_SO_DESC;}
-#line 2366 "ext/sqlite/libsqlite/src/parse.c"
+#line 2362 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 146:
-#line 455 "ext/sqlite/libsqlite/src/parse.y"
+ case 146: /* collate ::= */
+#line 455 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy372 = SQLITE_SO_UNK;}
-#line 2371 "ext/sqlite/libsqlite/src/parse.c"
+#line 2367 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 147:
-#line 456 "ext/sqlite/libsqlite/src/parse.y"
-{yygotominor.yy372 = sqliteCollateType(yymsp[0].minor.yy298.z, yymsp[0].minor.yy298.n);}
-#line 2376 "ext/sqlite/libsqlite/src/parse.c"
+ case 147: /* collate ::= COLLATE id */
+#line 456 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{yygotominor.yy372 = sqliteCollateType(yymsp[0].minor.yy0.z, yymsp[0].minor.yy0.n);}
+#line 2372 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 152:
-#line 469 "ext/sqlite/libsqlite/src/parse.y"
+ case 152: /* limit_opt ::= */
+#line 469 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy124.limit = -1; yygotominor.yy124.offset = 0;}
-#line 2381 "ext/sqlite/libsqlite/src/parse.c"
+#line 2377 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 153:
-#line 470 "ext/sqlite/libsqlite/src/parse.y"
+ case 153: /* limit_opt ::= LIMIT signed */
+#line 470 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy124.limit = yymsp[0].minor.yy372; yygotominor.yy124.offset = 0;}
-#line 2386 "ext/sqlite/libsqlite/src/parse.c"
+#line 2382 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 154:
-#line 472 "ext/sqlite/libsqlite/src/parse.y"
+ case 154: /* limit_opt ::= LIMIT signed OFFSET signed */
+#line 472 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy124.limit = yymsp[-2].minor.yy372; yygotominor.yy124.offset = yymsp[0].minor.yy372;}
-#line 2391 "ext/sqlite/libsqlite/src/parse.c"
+#line 2387 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 155:
-#line 474 "ext/sqlite/libsqlite/src/parse.y"
+ case 155: /* limit_opt ::= LIMIT signed COMMA signed */
+#line 474 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy124.limit = yymsp[0].minor.yy372; yygotominor.yy124.offset = yymsp[-2].minor.yy372;}
-#line 2396 "ext/sqlite/libsqlite/src/parse.c"
+#line 2392 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 156:
-#line 478 "ext/sqlite/libsqlite/src/parse.y"
+ case 156: /* cmd ::= DELETE FROM nm dbnm where_opt */
+#line 478 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- sqliteDeleteFrom(pParse, sqliteSrcListAppend(0,&yymsp[-2].minor.yy298,&yymsp[-1].minor.yy298), yymsp[0].minor.yy242);
+ sqliteDeleteFrom(pParse, sqliteSrcListAppend(0,&yymsp[-2].minor.yy0,&yymsp[-1].minor.yy0), yymsp[0].minor.yy242);
}
-#line 2403 "ext/sqlite/libsqlite/src/parse.c"
+#line 2399 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 159:
-#line 494 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteUpdate(pParse,sqliteSrcListAppend(0,&yymsp[-4].minor.yy298,&yymsp[-3].minor.yy298),yymsp[-1].minor.yy322,yymsp[0].minor.yy242,yymsp[-5].minor.yy372);}
-#line 2408 "ext/sqlite/libsqlite/src/parse.c"
+ case 159: /* cmd ::= UPDATE orconf nm dbnm SET setlist where_opt */
+#line 494 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{sqliteUpdate(pParse,sqliteSrcListAppend(0,&yymsp[-4].minor.yy0,&yymsp[-3].minor.yy0),yymsp[-1].minor.yy322,yymsp[0].minor.yy242,yymsp[-5].minor.yy372);}
+#line 2404 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 160:
-#line 497 "ext/sqlite/libsqlite/src/parse.y"
-{yygotominor.yy322 = sqliteExprListAppend(yymsp[-4].minor.yy322,yymsp[0].minor.yy242,&yymsp[-2].minor.yy298);}
-#line 2413 "ext/sqlite/libsqlite/src/parse.c"
+ case 160: /* setlist ::= setlist COMMA nm EQ expr */
+#line 497 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{yygotominor.yy322 = sqliteExprListAppend(yymsp[-4].minor.yy322,yymsp[0].minor.yy242,&yymsp[-2].minor.yy0);}
+#line 2409 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 161:
-#line 498 "ext/sqlite/libsqlite/src/parse.y"
-{yygotominor.yy322 = sqliteExprListAppend(0,yymsp[0].minor.yy242,&yymsp[-2].minor.yy298);}
-#line 2418 "ext/sqlite/libsqlite/src/parse.c"
+ case 161: /* setlist ::= nm EQ expr */
+#line 498 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{yygotominor.yy322 = sqliteExprListAppend(0,yymsp[0].minor.yy242,&yymsp[-2].minor.yy0);}
+#line 2414 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 162:
-#line 504 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteInsert(pParse, sqliteSrcListAppend(0,&yymsp[-6].minor.yy298,&yymsp[-5].minor.yy298), yymsp[-1].minor.yy322, 0, yymsp[-4].minor.yy320, yymsp[-8].minor.yy372);}
-#line 2423 "ext/sqlite/libsqlite/src/parse.c"
+ case 162: /* cmd ::= insert_cmd INTO nm dbnm inscollist_opt VALUES LP itemlist RP */
+#line 504 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{sqliteInsert(pParse, sqliteSrcListAppend(0,&yymsp[-6].minor.yy0,&yymsp[-5].minor.yy0), yymsp[-1].minor.yy322, 0, yymsp[-4].minor.yy320, yymsp[-8].minor.yy372);}
+#line 2419 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 163:
-#line 506 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteInsert(pParse, sqliteSrcListAppend(0,&yymsp[-3].minor.yy298,&yymsp[-2].minor.yy298), 0, yymsp[0].minor.yy179, yymsp[-1].minor.yy320, yymsp[-5].minor.yy372);}
-#line 2428 "ext/sqlite/libsqlite/src/parse.c"
+ case 163: /* cmd ::= insert_cmd INTO nm dbnm inscollist_opt select */
+#line 506 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{sqliteInsert(pParse, sqliteSrcListAppend(0,&yymsp[-3].minor.yy0,&yymsp[-2].minor.yy0), 0, yymsp[0].minor.yy179, yymsp[-1].minor.yy320, yymsp[-5].minor.yy372);}
+#line 2424 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 165:
-#line 510 "ext/sqlite/libsqlite/src/parse.y"
+ case 165: /* insert_cmd ::= REPLACE */
+#line 510 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy372 = OE_Replace;}
-#line 2433 "ext/sqlite/libsqlite/src/parse.c"
+#line 2429 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 166:
- case 231:
-#line 516 "ext/sqlite/libsqlite/src/parse.y"
+ case 166: /* itemlist ::= itemlist COMMA expr */
+ case 231: /* exprlist ::= exprlist COMMA expritem */ yytestcase(yyruleno==231);
+#line 516 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy322 = sqliteExprListAppend(yymsp[-2].minor.yy322,yymsp[0].minor.yy242,0);}
-#line 2439 "ext/sqlite/libsqlite/src/parse.c"
+#line 2435 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 167:
- case 232:
-#line 517 "ext/sqlite/libsqlite/src/parse.y"
+ case 167: /* itemlist ::= expr */
+ case 232: /* exprlist ::= expritem */ yytestcase(yyruleno==232);
+#line 517 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy322 = sqliteExprListAppend(0,yymsp[0].minor.yy242,0);}
-#line 2445 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 170:
- case 240:
-#line 526 "ext/sqlite/libsqlite/src/parse.y"
-{yygotominor.yy320 = sqliteIdListAppend(yymsp[-2].minor.yy320,&yymsp[0].minor.yy298);}
-#line 2451 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 171:
- case 241:
-#line 527 "ext/sqlite/libsqlite/src/parse.y"
-{yygotominor.yy320 = sqliteIdListAppend(0,&yymsp[0].minor.yy298);}
-#line 2457 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 172:
-#line 535 "ext/sqlite/libsqlite/src/parse.y"
+#line 2441 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 170: /* inscollist ::= inscollist COMMA nm */
+ case 240: /* idxlist ::= idxlist COMMA idxitem */ yytestcase(yyruleno==240);
+#line 526 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{yygotominor.yy320 = sqliteIdListAppend(yymsp[-2].minor.yy320,&yymsp[0].minor.yy0);}
+#line 2447 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 171: /* inscollist ::= nm */
+ case 241: /* idxlist ::= idxitem */ yytestcase(yyruleno==241);
+#line 527 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{yygotominor.yy320 = sqliteIdListAppend(0,&yymsp[0].minor.yy0);}
+#line 2453 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 172: /* expr ::= LP expr RP */
+#line 535 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = yymsp[-1].minor.yy242; sqliteExprSpan(yygotominor.yy242,&yymsp[-2].minor.yy0,&yymsp[0].minor.yy0); }
-#line 2462 "ext/sqlite/libsqlite/src/parse.c"
+#line 2458 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 173:
-#line 536 "ext/sqlite/libsqlite/src/parse.y"
+ case 173: /* expr ::= NULL */
+#line 536 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_NULL, 0, 0, &yymsp[0].minor.yy0);}
-#line 2467 "ext/sqlite/libsqlite/src/parse.c"
+#line 2463 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 174:
- case 175:
-#line 537 "ext/sqlite/libsqlite/src/parse.y"
+ case 174: /* expr ::= ID */
+ case 175: /* expr ::= JOIN_KW */ yytestcase(yyruleno==175);
+#line 537 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_ID, 0, 0, &yymsp[0].minor.yy0);}
-#line 2473 "ext/sqlite/libsqlite/src/parse.c"
+#line 2469 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 176:
-#line 539 "ext/sqlite/libsqlite/src/parse.y"
+ case 176: /* expr ::= nm DOT nm */
+#line 539 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- Expr *temp1 = sqliteExpr(TK_ID, 0, 0, &yymsp[-2].minor.yy298);
- Expr *temp2 = sqliteExpr(TK_ID, 0, 0, &yymsp[0].minor.yy298);
+ Expr *temp1 = sqliteExpr(TK_ID, 0, 0, &yymsp[-2].minor.yy0);
+ Expr *temp2 = sqliteExpr(TK_ID, 0, 0, &yymsp[0].minor.yy0);
yygotominor.yy242 = sqliteExpr(TK_DOT, temp1, temp2, 0);
}
-#line 2482 "ext/sqlite/libsqlite/src/parse.c"
+#line 2478 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 177:
-#line 544 "ext/sqlite/libsqlite/src/parse.y"
+ case 177: /* expr ::= nm DOT nm DOT nm */
+#line 544 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- Expr *temp1 = sqliteExpr(TK_ID, 0, 0, &yymsp[-4].minor.yy298);
- Expr *temp2 = sqliteExpr(TK_ID, 0, 0, &yymsp[-2].minor.yy298);
- Expr *temp3 = sqliteExpr(TK_ID, 0, 0, &yymsp[0].minor.yy298);
+ Expr *temp1 = sqliteExpr(TK_ID, 0, 0, &yymsp[-4].minor.yy0);
+ Expr *temp2 = sqliteExpr(TK_ID, 0, 0, &yymsp[-2].minor.yy0);
+ Expr *temp3 = sqliteExpr(TK_ID, 0, 0, &yymsp[0].minor.yy0);
Expr *temp4 = sqliteExpr(TK_DOT, temp2, temp3, 0);
yygotominor.yy242 = sqliteExpr(TK_DOT, temp1, temp4, 0);
}
-#line 2493 "ext/sqlite/libsqlite/src/parse.c"
+#line 2489 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 178:
-#line 551 "ext/sqlite/libsqlite/src/parse.y"
+ case 178: /* expr ::= INTEGER */
+#line 551 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_INTEGER, 0, 0, &yymsp[0].minor.yy0);}
-#line 2498 "ext/sqlite/libsqlite/src/parse.c"
+#line 2494 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 179:
-#line 552 "ext/sqlite/libsqlite/src/parse.y"
+ case 179: /* expr ::= FLOAT */
+#line 552 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_FLOAT, 0, 0, &yymsp[0].minor.yy0);}
-#line 2503 "ext/sqlite/libsqlite/src/parse.c"
+#line 2499 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 180:
-#line 553 "ext/sqlite/libsqlite/src/parse.y"
+ case 180: /* expr ::= STRING */
+#line 553 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_STRING, 0, 0, &yymsp[0].minor.yy0);}
-#line 2508 "ext/sqlite/libsqlite/src/parse.c"
+#line 2504 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 181:
-#line 554 "ext/sqlite/libsqlite/src/parse.y"
+ case 181: /* expr ::= VARIABLE */
+#line 554 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_VARIABLE, 0, 0, &yymsp[0].minor.yy0);
if( yygotominor.yy242 ) yygotominor.yy242->iTable = ++pParse->nVar;
}
-#line 2516 "ext/sqlite/libsqlite/src/parse.c"
+#line 2512 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 182:
-#line 558 "ext/sqlite/libsqlite/src/parse.y"
+ case 182: /* expr ::= ID LP exprlist RP */
+#line 558 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExprFunction(yymsp[-1].minor.yy322, &yymsp[-3].minor.yy0);
sqliteExprSpan(yygotominor.yy242,&yymsp[-3].minor.yy0,&yymsp[0].minor.yy0);
}
-#line 2524 "ext/sqlite/libsqlite/src/parse.c"
+#line 2520 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 183:
-#line 562 "ext/sqlite/libsqlite/src/parse.y"
+ case 183: /* expr ::= ID LP STAR RP */
+#line 562 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExprFunction(0, &yymsp[-3].minor.yy0);
sqliteExprSpan(yygotominor.yy242,&yymsp[-3].minor.yy0,&yymsp[0].minor.yy0);
}
-#line 2532 "ext/sqlite/libsqlite/src/parse.c"
+#line 2528 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 184:
-#line 566 "ext/sqlite/libsqlite/src/parse.y"
+ case 184: /* expr ::= expr AND expr */
+#line 566 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_AND, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2537 "ext/sqlite/libsqlite/src/parse.c"
+#line 2533 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 185:
-#line 567 "ext/sqlite/libsqlite/src/parse.y"
+ case 185: /* expr ::= expr OR expr */
+#line 567 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_OR, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2542 "ext/sqlite/libsqlite/src/parse.c"
+#line 2538 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 186:
-#line 568 "ext/sqlite/libsqlite/src/parse.y"
+ case 186: /* expr ::= expr LT expr */
+#line 568 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_LT, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2547 "ext/sqlite/libsqlite/src/parse.c"
+#line 2543 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 187:
-#line 569 "ext/sqlite/libsqlite/src/parse.y"
+ case 187: /* expr ::= expr GT expr */
+#line 569 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_GT, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2552 "ext/sqlite/libsqlite/src/parse.c"
+#line 2548 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 188:
-#line 570 "ext/sqlite/libsqlite/src/parse.y"
+ case 188: /* expr ::= expr LE expr */
+#line 570 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_LE, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2557 "ext/sqlite/libsqlite/src/parse.c"
+#line 2553 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 189:
-#line 571 "ext/sqlite/libsqlite/src/parse.y"
+ case 189: /* expr ::= expr GE expr */
+#line 571 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_GE, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2562 "ext/sqlite/libsqlite/src/parse.c"
+#line 2558 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 190:
-#line 572 "ext/sqlite/libsqlite/src/parse.y"
+ case 190: /* expr ::= expr NE expr */
+#line 572 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_NE, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2567 "ext/sqlite/libsqlite/src/parse.c"
+#line 2563 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 191:
-#line 573 "ext/sqlite/libsqlite/src/parse.y"
+ case 191: /* expr ::= expr EQ expr */
+#line 573 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_EQ, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2572 "ext/sqlite/libsqlite/src/parse.c"
+#line 2568 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 192:
-#line 574 "ext/sqlite/libsqlite/src/parse.y"
+ case 192: /* expr ::= expr BITAND expr */
+#line 574 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_BITAND, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2577 "ext/sqlite/libsqlite/src/parse.c"
+#line 2573 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 193:
-#line 575 "ext/sqlite/libsqlite/src/parse.y"
+ case 193: /* expr ::= expr BITOR expr */
+#line 575 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_BITOR, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2582 "ext/sqlite/libsqlite/src/parse.c"
+#line 2578 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 194:
-#line 576 "ext/sqlite/libsqlite/src/parse.y"
+ case 194: /* expr ::= expr LSHIFT expr */
+#line 576 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_LSHIFT, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2587 "ext/sqlite/libsqlite/src/parse.c"
+#line 2583 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 195:
-#line 577 "ext/sqlite/libsqlite/src/parse.y"
+ case 195: /* expr ::= expr RSHIFT expr */
+#line 577 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_RSHIFT, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2592 "ext/sqlite/libsqlite/src/parse.c"
+#line 2588 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 196:
-#line 578 "ext/sqlite/libsqlite/src/parse.y"
+ case 196: /* expr ::= expr likeop expr */
+#line 578 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
ExprList *pList = sqliteExprListAppend(0, yymsp[0].minor.yy242, 0);
pList = sqliteExprListAppend(pList, yymsp[-2].minor.yy242, 0);
@@ -2598,10 +2595,10 @@ static void yy_reduce(
if( yygotominor.yy242 ) yygotominor.yy242->op = yymsp[-1].minor.yy372;
sqliteExprSpan(yygotominor.yy242, &yymsp[-2].minor.yy242->span, &yymsp[0].minor.yy242->span);
}
-#line 2603 "ext/sqlite/libsqlite/src/parse.c"
+#line 2599 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 197:
-#line 585 "ext/sqlite/libsqlite/src/parse.y"
+ case 197: /* expr ::= expr NOT likeop expr */
+#line 585 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
ExprList *pList = sqliteExprListAppend(0, yymsp[0].minor.yy242, 0);
pList = sqliteExprListAppend(pList, yymsp[-3].minor.yy242, 0);
@@ -2610,131 +2607,131 @@ static void yy_reduce(
yygotominor.yy242 = sqliteExpr(TK_NOT, yygotominor.yy242, 0, 0);
sqliteExprSpan(yygotominor.yy242,&yymsp[-3].minor.yy242->span,&yymsp[0].minor.yy242->span);
}
-#line 2615 "ext/sqlite/libsqlite/src/parse.c"
+#line 2611 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 198:
-#line 594 "ext/sqlite/libsqlite/src/parse.y"
+ case 198: /* likeop ::= LIKE */
+#line 594 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy372 = TK_LIKE;}
-#line 2620 "ext/sqlite/libsqlite/src/parse.c"
+#line 2616 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 199:
-#line 595 "ext/sqlite/libsqlite/src/parse.y"
+ case 199: /* likeop ::= GLOB */
+#line 595 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy372 = TK_GLOB;}
-#line 2625 "ext/sqlite/libsqlite/src/parse.c"
+#line 2621 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 200:
-#line 596 "ext/sqlite/libsqlite/src/parse.y"
+ case 200: /* expr ::= expr PLUS expr */
+#line 596 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_PLUS, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2630 "ext/sqlite/libsqlite/src/parse.c"
+#line 2626 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 201:
-#line 597 "ext/sqlite/libsqlite/src/parse.y"
+ case 201: /* expr ::= expr MINUS expr */
+#line 597 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_MINUS, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2635 "ext/sqlite/libsqlite/src/parse.c"
+#line 2631 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 202:
-#line 598 "ext/sqlite/libsqlite/src/parse.y"
+ case 202: /* expr ::= expr STAR expr */
+#line 598 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_STAR, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2640 "ext/sqlite/libsqlite/src/parse.c"
+#line 2636 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 203:
-#line 599 "ext/sqlite/libsqlite/src/parse.y"
+ case 203: /* expr ::= expr SLASH expr */
+#line 599 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_SLASH, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2645 "ext/sqlite/libsqlite/src/parse.c"
+#line 2641 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 204:
-#line 600 "ext/sqlite/libsqlite/src/parse.y"
+ case 204: /* expr ::= expr REM expr */
+#line 600 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_REM, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2650 "ext/sqlite/libsqlite/src/parse.c"
+#line 2646 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 205:
-#line 601 "ext/sqlite/libsqlite/src/parse.y"
+ case 205: /* expr ::= expr CONCAT expr */
+#line 601 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy242 = sqliteExpr(TK_CONCAT, yymsp[-2].minor.yy242, yymsp[0].minor.yy242, 0);}
-#line 2655 "ext/sqlite/libsqlite/src/parse.c"
+#line 2651 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 206:
-#line 602 "ext/sqlite/libsqlite/src/parse.y"
+ case 206: /* expr ::= expr ISNULL */
+#line 602 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_ISNULL, yymsp[-1].minor.yy242, 0, 0);
sqliteExprSpan(yygotominor.yy242,&yymsp[-1].minor.yy242->span,&yymsp[0].minor.yy0);
}
-#line 2663 "ext/sqlite/libsqlite/src/parse.c"
+#line 2659 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 207:
-#line 606 "ext/sqlite/libsqlite/src/parse.y"
+ case 207: /* expr ::= expr IS NULL */
+#line 606 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_ISNULL, yymsp[-2].minor.yy242, 0, 0);
sqliteExprSpan(yygotominor.yy242,&yymsp[-2].minor.yy242->span,&yymsp[0].minor.yy0);
}
-#line 2671 "ext/sqlite/libsqlite/src/parse.c"
+#line 2667 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 208:
-#line 610 "ext/sqlite/libsqlite/src/parse.y"
+ case 208: /* expr ::= expr NOTNULL */
+#line 610 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_NOTNULL, yymsp[-1].minor.yy242, 0, 0);
sqliteExprSpan(yygotominor.yy242,&yymsp[-1].minor.yy242->span,&yymsp[0].minor.yy0);
}
-#line 2679 "ext/sqlite/libsqlite/src/parse.c"
+#line 2675 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 209:
-#line 614 "ext/sqlite/libsqlite/src/parse.y"
+ case 209: /* expr ::= expr NOT NULL */
+#line 614 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_NOTNULL, yymsp[-2].minor.yy242, 0, 0);
sqliteExprSpan(yygotominor.yy242,&yymsp[-2].minor.yy242->span,&yymsp[0].minor.yy0);
}
-#line 2687 "ext/sqlite/libsqlite/src/parse.c"
+#line 2683 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 210:
-#line 618 "ext/sqlite/libsqlite/src/parse.y"
+ case 210: /* expr ::= expr IS NOT NULL */
+#line 618 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_NOTNULL, yymsp[-3].minor.yy242, 0, 0);
sqliteExprSpan(yygotominor.yy242,&yymsp[-3].minor.yy242->span,&yymsp[0].minor.yy0);
}
-#line 2695 "ext/sqlite/libsqlite/src/parse.c"
+#line 2691 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 211:
-#line 622 "ext/sqlite/libsqlite/src/parse.y"
+ case 211: /* expr ::= NOT expr */
+#line 622 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_NOT, yymsp[0].minor.yy242, 0, 0);
sqliteExprSpan(yygotominor.yy242,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy242->span);
}
-#line 2703 "ext/sqlite/libsqlite/src/parse.c"
+#line 2699 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 212:
-#line 626 "ext/sqlite/libsqlite/src/parse.y"
+ case 212: /* expr ::= BITNOT expr */
+#line 626 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_BITNOT, yymsp[0].minor.yy242, 0, 0);
sqliteExprSpan(yygotominor.yy242,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy242->span);
}
-#line 2711 "ext/sqlite/libsqlite/src/parse.c"
+#line 2707 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 213:
-#line 630 "ext/sqlite/libsqlite/src/parse.y"
+ case 213: /* expr ::= MINUS expr */
+#line 630 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_UMINUS, yymsp[0].minor.yy242, 0, 0);
sqliteExprSpan(yygotominor.yy242,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy242->span);
}
-#line 2719 "ext/sqlite/libsqlite/src/parse.c"
+#line 2715 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 214:
-#line 634 "ext/sqlite/libsqlite/src/parse.y"
+ case 214: /* expr ::= PLUS expr */
+#line 634 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_UPLUS, yymsp[0].minor.yy242, 0, 0);
sqliteExprSpan(yygotominor.yy242,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy242->span);
}
-#line 2727 "ext/sqlite/libsqlite/src/parse.c"
+#line 2723 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 215:
-#line 638 "ext/sqlite/libsqlite/src/parse.y"
+ case 215: /* expr ::= LP select RP */
+#line 638 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_SELECT, 0, 0, 0);
if( yygotominor.yy242 ) yygotominor.yy242->pSelect = yymsp[-1].minor.yy179;
sqliteExprSpan(yygotominor.yy242,&yymsp[-2].minor.yy0,&yymsp[0].minor.yy0);
}
-#line 2736 "ext/sqlite/libsqlite/src/parse.c"
+#line 2732 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 216:
-#line 643 "ext/sqlite/libsqlite/src/parse.y"
+ case 216: /* expr ::= expr BETWEEN expr AND expr */
+#line 643 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
ExprList *pList = sqliteExprListAppend(0, yymsp[-2].minor.yy242, 0);
pList = sqliteExprListAppend(pList, yymsp[0].minor.yy242, 0);
@@ -2742,10 +2739,10 @@ static void yy_reduce(
if( yygotominor.yy242 ) yygotominor.yy242->pList = pList;
sqliteExprSpan(yygotominor.yy242,&yymsp[-4].minor.yy242->span,&yymsp[0].minor.yy242->span);
}
-#line 2747 "ext/sqlite/libsqlite/src/parse.c"
+#line 2743 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 217:
-#line 650 "ext/sqlite/libsqlite/src/parse.y"
+ case 217: /* expr ::= expr NOT BETWEEN expr AND expr */
+#line 650 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
ExprList *pList = sqliteExprListAppend(0, yymsp[-2].minor.yy242, 0);
pList = sqliteExprListAppend(pList, yymsp[0].minor.yy242, 0);
@@ -2754,340 +2751,367 @@ static void yy_reduce(
yygotominor.yy242 = sqliteExpr(TK_NOT, yygotominor.yy242, 0, 0);
sqliteExprSpan(yygotominor.yy242,&yymsp[-5].minor.yy242->span,&yymsp[0].minor.yy242->span);
}
-#line 2759 "ext/sqlite/libsqlite/src/parse.c"
+#line 2755 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 218:
-#line 658 "ext/sqlite/libsqlite/src/parse.y"
+ case 218: /* expr ::= expr IN LP exprlist RP */
+#line 658 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_IN, yymsp[-4].minor.yy242, 0, 0);
if( yygotominor.yy242 ) yygotominor.yy242->pList = yymsp[-1].minor.yy322;
sqliteExprSpan(yygotominor.yy242,&yymsp[-4].minor.yy242->span,&yymsp[0].minor.yy0);
}
-#line 2768 "ext/sqlite/libsqlite/src/parse.c"
+#line 2764 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 219:
-#line 663 "ext/sqlite/libsqlite/src/parse.y"
+ case 219: /* expr ::= expr IN LP select RP */
+#line 663 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_IN, yymsp[-4].minor.yy242, 0, 0);
if( yygotominor.yy242 ) yygotominor.yy242->pSelect = yymsp[-1].minor.yy179;
sqliteExprSpan(yygotominor.yy242,&yymsp[-4].minor.yy242->span,&yymsp[0].minor.yy0);
}
-#line 2777 "ext/sqlite/libsqlite/src/parse.c"
+#line 2773 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 220:
-#line 668 "ext/sqlite/libsqlite/src/parse.y"
+ case 220: /* expr ::= expr NOT IN LP exprlist RP */
+#line 668 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_IN, yymsp[-5].minor.yy242, 0, 0);
if( yygotominor.yy242 ) yygotominor.yy242->pList = yymsp[-1].minor.yy322;
yygotominor.yy242 = sqliteExpr(TK_NOT, yygotominor.yy242, 0, 0);
sqliteExprSpan(yygotominor.yy242,&yymsp[-5].minor.yy242->span,&yymsp[0].minor.yy0);
}
-#line 2787 "ext/sqlite/libsqlite/src/parse.c"
+#line 2783 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 221:
-#line 674 "ext/sqlite/libsqlite/src/parse.y"
+ case 221: /* expr ::= expr NOT IN LP select RP */
+#line 674 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_IN, yymsp[-5].minor.yy242, 0, 0);
if( yygotominor.yy242 ) yygotominor.yy242->pSelect = yymsp[-1].minor.yy179;
yygotominor.yy242 = sqliteExpr(TK_NOT, yygotominor.yy242, 0, 0);
sqliteExprSpan(yygotominor.yy242,&yymsp[-5].minor.yy242->span,&yymsp[0].minor.yy0);
}
-#line 2797 "ext/sqlite/libsqlite/src/parse.c"
+#line 2793 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 222:
-#line 680 "ext/sqlite/libsqlite/src/parse.y"
+ case 222: /* expr ::= expr IN nm dbnm */
+#line 680 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- SrcList *pSrc = sqliteSrcListAppend(0, &yymsp[-1].minor.yy298, &yymsp[0].minor.yy298);
+ SrcList *pSrc = sqliteSrcListAppend(0, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0);
yygotominor.yy242 = sqliteExpr(TK_IN, yymsp[-3].minor.yy242, 0, 0);
if( yygotominor.yy242 ) yygotominor.yy242->pSelect = sqliteSelectNew(0,pSrc,0,0,0,0,0,-1,0);
- sqliteExprSpan(yygotominor.yy242,&yymsp[-3].minor.yy242->span,yymsp[0].minor.yy298.z?&yymsp[0].minor.yy298:&yymsp[-1].minor.yy298);
+ sqliteExprSpan(yygotominor.yy242,&yymsp[-3].minor.yy242->span,yymsp[0].minor.yy0.z?&yymsp[0].minor.yy0:&yymsp[-1].minor.yy0);
}
-#line 2807 "ext/sqlite/libsqlite/src/parse.c"
+#line 2803 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 223:
-#line 686 "ext/sqlite/libsqlite/src/parse.y"
+ case 223: /* expr ::= expr NOT IN nm dbnm */
+#line 686 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- SrcList *pSrc = sqliteSrcListAppend(0, &yymsp[-1].minor.yy298, &yymsp[0].minor.yy298);
+ SrcList *pSrc = sqliteSrcListAppend(0, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0);
yygotominor.yy242 = sqliteExpr(TK_IN, yymsp[-4].minor.yy242, 0, 0);
if( yygotominor.yy242 ) yygotominor.yy242->pSelect = sqliteSelectNew(0,pSrc,0,0,0,0,0,-1,0);
yygotominor.yy242 = sqliteExpr(TK_NOT, yygotominor.yy242, 0, 0);
- sqliteExprSpan(yygotominor.yy242,&yymsp[-4].minor.yy242->span,yymsp[0].minor.yy298.z?&yymsp[0].minor.yy298:&yymsp[-1].minor.yy298);
+ sqliteExprSpan(yygotominor.yy242,&yymsp[-4].minor.yy242->span,yymsp[0].minor.yy0.z?&yymsp[0].minor.yy0:&yymsp[-1].minor.yy0);
}
-#line 2818 "ext/sqlite/libsqlite/src/parse.c"
+#line 2814 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 224:
-#line 696 "ext/sqlite/libsqlite/src/parse.y"
+ case 224: /* expr ::= CASE case_operand case_exprlist case_else END */
+#line 696 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_CASE, yymsp[-3].minor.yy242, yymsp[-1].minor.yy242, 0);
if( yygotominor.yy242 ) yygotominor.yy242->pList = yymsp[-2].minor.yy322;
sqliteExprSpan(yygotominor.yy242, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0);
}
-#line 2827 "ext/sqlite/libsqlite/src/parse.c"
+#line 2823 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 225:
-#line 703 "ext/sqlite/libsqlite/src/parse.y"
+ case 225: /* case_exprlist ::= case_exprlist WHEN expr THEN expr */
+#line 703 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy322 = sqliteExprListAppend(yymsp[-4].minor.yy322, yymsp[-2].minor.yy242, 0);
yygotominor.yy322 = sqliteExprListAppend(yygotominor.yy322, yymsp[0].minor.yy242, 0);
}
-#line 2835 "ext/sqlite/libsqlite/src/parse.c"
+#line 2831 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 226:
-#line 707 "ext/sqlite/libsqlite/src/parse.y"
+ case 226: /* case_exprlist ::= WHEN expr THEN expr */
+#line 707 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy322 = sqliteExprListAppend(0, yymsp[-2].minor.yy242, 0);
yygotominor.yy322 = sqliteExprListAppend(yygotominor.yy322, yymsp[0].minor.yy242, 0);
}
-#line 2843 "ext/sqlite/libsqlite/src/parse.c"
+#line 2839 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 235:
-#line 732 "ext/sqlite/libsqlite/src/parse.y"
+ case 235: /* cmd ::= CREATE uniqueflag INDEX nm ON nm dbnm LP idxlist RP onconf */
+#line 732 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- SrcList *pSrc = sqliteSrcListAppend(0, &yymsp[-5].minor.yy298, &yymsp[-4].minor.yy298);
+ SrcList *pSrc = sqliteSrcListAppend(0, &yymsp[-5].minor.yy0, &yymsp[-4].minor.yy0);
if( yymsp[-9].minor.yy372!=OE_None ) yymsp[-9].minor.yy372 = yymsp[0].minor.yy372;
if( yymsp[-9].minor.yy372==OE_Default) yymsp[-9].minor.yy372 = OE_Abort;
- sqliteCreateIndex(pParse, &yymsp[-7].minor.yy298, pSrc, yymsp[-2].minor.yy320, yymsp[-9].minor.yy372, &yymsp[-10].minor.yy0, &yymsp[-1].minor.yy0);
+ sqliteCreateIndex(pParse, &yymsp[-7].minor.yy0, pSrc, yymsp[-2].minor.yy320, yymsp[-9].minor.yy372, &yymsp[-10].minor.yy0, &yymsp[-1].minor.yy0);
}
-#line 2853 "ext/sqlite/libsqlite/src/parse.c"
+#line 2849 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 237:
-#line 741 "ext/sqlite/libsqlite/src/parse.y"
+ case 237: /* uniqueflag ::= */
+#line 741 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = OE_None; }
-#line 2858 "ext/sqlite/libsqlite/src/parse.c"
+#line 2854 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 243:
-#line 758 "ext/sqlite/libsqlite/src/parse.y"
+ case 243: /* cmd ::= DROP INDEX nm dbnm */
+#line 758 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- sqliteDropIndex(pParse, sqliteSrcListAppend(0,&yymsp[-1].minor.yy298,&yymsp[0].minor.yy298));
+ sqliteDropIndex(pParse, sqliteSrcListAppend(0,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy0));
}
-#line 2865 "ext/sqlite/libsqlite/src/parse.c"
+#line 2861 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 244:
-#line 766 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteCopy(pParse,sqliteSrcListAppend(0,&yymsp[-6].minor.yy298,&yymsp[-5].minor.yy298),&yymsp[-3].minor.yy298,&yymsp[0].minor.yy0,yymsp[-7].minor.yy372);}
-#line 2870 "ext/sqlite/libsqlite/src/parse.c"
+ case 244: /* cmd ::= COPY orconf nm dbnm FROM nm USING DELIMITERS STRING */
+#line 766 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{sqliteCopy(pParse,sqliteSrcListAppend(0,&yymsp[-6].minor.yy0,&yymsp[-5].minor.yy0),&yymsp[-3].minor.yy0,&yymsp[0].minor.yy0,yymsp[-7].minor.yy372);}
+#line 2866 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 245:
-#line 768 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteCopy(pParse,sqliteSrcListAppend(0,&yymsp[-3].minor.yy298,&yymsp[-2].minor.yy298),&yymsp[0].minor.yy298,0,yymsp[-4].minor.yy372);}
-#line 2875 "ext/sqlite/libsqlite/src/parse.c"
+ case 245: /* cmd ::= COPY orconf nm dbnm FROM nm */
+#line 768 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{sqliteCopy(pParse,sqliteSrcListAppend(0,&yymsp[-3].minor.yy0,&yymsp[-2].minor.yy0),&yymsp[0].minor.yy0,0,yymsp[-4].minor.yy372);}
+#line 2871 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 246:
-#line 772 "ext/sqlite/libsqlite/src/parse.y"
+ case 246: /* cmd ::= VACUUM */
+#line 772 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{sqliteVacuum(pParse,0);}
-#line 2880 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 247:
-#line 773 "ext/sqlite/libsqlite/src/parse.y"
-{sqliteVacuum(pParse,&yymsp[0].minor.yy298);}
-#line 2885 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 248:
- case 250:
-#line 777 "ext/sqlite/libsqlite/src/parse.y"
-{sqlitePragma(pParse,&yymsp[-2].minor.yy298,&yymsp[0].minor.yy298,0);}
-#line 2891 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 249:
-#line 778 "ext/sqlite/libsqlite/src/parse.y"
-{sqlitePragma(pParse,&yymsp[-2].minor.yy298,&yymsp[0].minor.yy0,0);}
-#line 2896 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 251:
-#line 780 "ext/sqlite/libsqlite/src/parse.y"
-{sqlitePragma(pParse,&yymsp[-2].minor.yy298,&yymsp[0].minor.yy298,1);}
-#line 2901 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 252:
-#line 781 "ext/sqlite/libsqlite/src/parse.y"
-{sqlitePragma(pParse,&yymsp[-3].minor.yy298,&yymsp[-1].minor.yy298,0);}
-#line 2906 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 253:
-#line 782 "ext/sqlite/libsqlite/src/parse.y"
-{sqlitePragma(pParse,&yymsp[0].minor.yy298,&yymsp[0].minor.yy298,0);}
-#line 2911 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 260:
-#line 792 "ext/sqlite/libsqlite/src/parse.y"
+#line 2876 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 247: /* cmd ::= VACUUM nm */
+#line 773 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{sqliteVacuum(pParse,&yymsp[0].minor.yy0);}
+#line 2881 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 248: /* cmd ::= PRAGMA ids EQ nm */
+ case 249: /* cmd ::= PRAGMA ids EQ ON */ yytestcase(yyruleno==249);
+ case 250: /* cmd ::= PRAGMA ids EQ plus_num */ yytestcase(yyruleno==250);
+#line 777 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{sqlitePragma(pParse,&yymsp[-2].minor.yy0,&yymsp[0].minor.yy0,0);}
+#line 2888 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 251: /* cmd ::= PRAGMA ids EQ minus_num */
+#line 780 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{sqlitePragma(pParse,&yymsp[-2].minor.yy0,&yymsp[0].minor.yy0,1);}
+#line 2893 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 252: /* cmd ::= PRAGMA ids LP nm RP */
+#line 781 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{sqlitePragma(pParse,&yymsp[-3].minor.yy0,&yymsp[-1].minor.yy0,0);}
+#line 2898 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 253: /* cmd ::= PRAGMA ids */
+#line 782 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{sqlitePragma(pParse,&yymsp[0].minor.yy0,&yymsp[0].minor.yy0,0);}
+#line 2903 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 260: /* cmd ::= CREATE trigger_decl BEGIN trigger_cmd_list END */
+#line 792 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
Token all;
all.z = yymsp[-4].minor.yy0.z;
all.n = (yymsp[0].minor.yy0.z - yymsp[-4].minor.yy0.z) + yymsp[0].minor.yy0.n;
sqliteFinishTrigger(pParse, yymsp[-1].minor.yy19, &all);
}
-#line 2921 "ext/sqlite/libsqlite/src/parse.c"
+#line 2913 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 261:
-#line 800 "ext/sqlite/libsqlite/src/parse.y"
+ case 261: /* trigger_decl ::= temp TRIGGER nm trigger_time trigger_event ON nm dbnm foreach_clause when_clause */
+#line 800 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- SrcList *pTab = sqliteSrcListAppend(0, &yymsp[-3].minor.yy298, &yymsp[-2].minor.yy298);
- sqliteBeginTrigger(pParse, &yymsp[-7].minor.yy298, yymsp[-6].minor.yy372, yymsp[-5].minor.yy290.a, yymsp[-5].minor.yy290.b, pTab, yymsp[-1].minor.yy372, yymsp[0].minor.yy182, yymsp[-9].minor.yy372);
+ SrcList *pTab = sqliteSrcListAppend(0, &yymsp[-3].minor.yy0, &yymsp[-2].minor.yy0);
+ sqliteBeginTrigger(pParse, &yymsp[-7].minor.yy0, yymsp[-6].minor.yy372, yymsp[-5].minor.yy290.a, yymsp[-5].minor.yy290.b, pTab, yymsp[-1].minor.yy372, yymsp[0].minor.yy182, yymsp[-9].minor.yy372);
}
-#line 2929 "ext/sqlite/libsqlite/src/parse.c"
+#line 2921 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 262:
- case 265:
-#line 806 "ext/sqlite/libsqlite/src/parse.y"
+ case 262: /* trigger_time ::= BEFORE */
+ case 265: /* trigger_time ::= */ yytestcase(yyruleno==265);
+#line 806 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = TK_BEFORE; }
-#line 2935 "ext/sqlite/libsqlite/src/parse.c"
+#line 2927 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 263:
-#line 807 "ext/sqlite/libsqlite/src/parse.y"
+ case 263: /* trigger_time ::= AFTER */
+#line 807 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = TK_AFTER; }
-#line 2940 "ext/sqlite/libsqlite/src/parse.c"
+#line 2932 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 264:
-#line 808 "ext/sqlite/libsqlite/src/parse.y"
+ case 264: /* trigger_time ::= INSTEAD OF */
+#line 808 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = TK_INSTEAD;}
-#line 2945 "ext/sqlite/libsqlite/src/parse.c"
+#line 2937 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 266:
-#line 813 "ext/sqlite/libsqlite/src/parse.y"
+ case 266: /* trigger_event ::= DELETE */
+#line 813 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy290.a = TK_DELETE; yygotominor.yy290.b = 0; }
-#line 2950 "ext/sqlite/libsqlite/src/parse.c"
+#line 2942 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 267:
-#line 814 "ext/sqlite/libsqlite/src/parse.y"
+ case 267: /* trigger_event ::= INSERT */
+#line 814 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy290.a = TK_INSERT; yygotominor.yy290.b = 0; }
-#line 2955 "ext/sqlite/libsqlite/src/parse.c"
+#line 2947 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 268:
-#line 815 "ext/sqlite/libsqlite/src/parse.y"
+ case 268: /* trigger_event ::= UPDATE */
+#line 815 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy290.a = TK_UPDATE; yygotominor.yy290.b = 0;}
-#line 2960 "ext/sqlite/libsqlite/src/parse.c"
+#line 2952 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 269:
-#line 816 "ext/sqlite/libsqlite/src/parse.y"
+ case 269: /* trigger_event ::= UPDATE OF inscollist */
+#line 816 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy290.a = TK_UPDATE; yygotominor.yy290.b = yymsp[0].minor.yy320; }
-#line 2965 "ext/sqlite/libsqlite/src/parse.c"
+#line 2957 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 270:
- case 271:
-#line 819 "ext/sqlite/libsqlite/src/parse.y"
+ case 270: /* foreach_clause ::= */
+ case 271: /* foreach_clause ::= FOR EACH ROW */ yytestcase(yyruleno==271);
+#line 819 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = TK_ROW; }
-#line 2971 "ext/sqlite/libsqlite/src/parse.c"
+#line 2963 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 272:
-#line 821 "ext/sqlite/libsqlite/src/parse.y"
+ case 272: /* foreach_clause ::= FOR EACH STATEMENT */
+#line 821 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy372 = TK_STATEMENT; }
-#line 2976 "ext/sqlite/libsqlite/src/parse.c"
+#line 2968 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 273:
-#line 824 "ext/sqlite/libsqlite/src/parse.y"
+ case 273: /* when_clause ::= */
+#line 824 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy182 = 0; }
-#line 2981 "ext/sqlite/libsqlite/src/parse.c"
+#line 2973 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 274:
-#line 825 "ext/sqlite/libsqlite/src/parse.y"
+ case 274: /* when_clause ::= WHEN expr */
+#line 825 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy182 = yymsp[0].minor.yy242; }
-#line 2986 "ext/sqlite/libsqlite/src/parse.c"
+#line 2978 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 275:
-#line 829 "ext/sqlite/libsqlite/src/parse.y"
+ case 275: /* trigger_cmd_list ::= trigger_cmd SEMI trigger_cmd_list */
+#line 829 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yymsp[-2].minor.yy19->pNext = yymsp[0].minor.yy19;
yygotominor.yy19 = yymsp[-2].minor.yy19;
}
-#line 2994 "ext/sqlite/libsqlite/src/parse.c"
+#line 2986 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 276:
-#line 833 "ext/sqlite/libsqlite/src/parse.y"
+ case 276: /* trigger_cmd_list ::= */
+#line 833 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{ yygotominor.yy19 = 0; }
-#line 2999 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 277:
-#line 839 "ext/sqlite/libsqlite/src/parse.y"
-{ yygotominor.yy19 = sqliteTriggerUpdateStep(&yymsp[-3].minor.yy298, yymsp[-1].minor.yy322, yymsp[0].minor.yy242, yymsp[-4].minor.yy372); }
-#line 3004 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 278:
-#line 844 "ext/sqlite/libsqlite/src/parse.y"
-{yygotominor.yy19 = sqliteTriggerInsertStep(&yymsp[-5].minor.yy298, yymsp[-4].minor.yy320, yymsp[-1].minor.yy322, 0, yymsp[-7].minor.yy372);}
-#line 3009 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 279:
-#line 847 "ext/sqlite/libsqlite/src/parse.y"
-{yygotominor.yy19 = sqliteTriggerInsertStep(&yymsp[-2].minor.yy298, yymsp[-1].minor.yy320, 0, yymsp[0].minor.yy179, yymsp[-4].minor.yy372);}
-#line 3014 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 280:
-#line 851 "ext/sqlite/libsqlite/src/parse.y"
-{yygotominor.yy19 = sqliteTriggerDeleteStep(&yymsp[-1].minor.yy298, yymsp[0].minor.yy242);}
-#line 3019 "ext/sqlite/libsqlite/src/parse.c"
- break;
- case 281:
-#line 854 "ext/sqlite/libsqlite/src/parse.y"
+#line 2991 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 277: /* trigger_cmd ::= UPDATE orconf nm SET setlist where_opt */
+#line 839 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{ yygotominor.yy19 = sqliteTriggerUpdateStep(&yymsp[-3].minor.yy0, yymsp[-1].minor.yy322, yymsp[0].minor.yy242, yymsp[-4].minor.yy372); }
+#line 2996 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 278: /* trigger_cmd ::= insert_cmd INTO nm inscollist_opt VALUES LP itemlist RP */
+#line 844 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{yygotominor.yy19 = sqliteTriggerInsertStep(&yymsp[-5].minor.yy0, yymsp[-4].minor.yy320, yymsp[-1].minor.yy322, 0, yymsp[-7].minor.yy372);}
+#line 3001 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 279: /* trigger_cmd ::= insert_cmd INTO nm inscollist_opt select */
+#line 847 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{yygotominor.yy19 = sqliteTriggerInsertStep(&yymsp[-2].minor.yy0, yymsp[-1].minor.yy320, 0, yymsp[0].minor.yy179, yymsp[-4].minor.yy372);}
+#line 3006 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 280: /* trigger_cmd ::= DELETE FROM nm where_opt */
+#line 851 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{yygotominor.yy19 = sqliteTriggerDeleteStep(&yymsp[-1].minor.yy0, yymsp[0].minor.yy242);}
+#line 3011 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ case 281: /* trigger_cmd ::= select */
+#line 854 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{yygotominor.yy19 = sqliteTriggerSelectStep(yymsp[0].minor.yy179); }
-#line 3024 "ext/sqlite/libsqlite/src/parse.c"
+#line 3016 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 282:
-#line 857 "ext/sqlite/libsqlite/src/parse.y"
+ case 282: /* expr ::= RAISE LP IGNORE RP */
+#line 857 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
yygotominor.yy242 = sqliteExpr(TK_RAISE, 0, 0, 0);
yygotominor.yy242->iColumn = OE_Ignore;
sqliteExprSpan(yygotominor.yy242, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0);
}
-#line 3033 "ext/sqlite/libsqlite/src/parse.c"
+#line 3025 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 283:
-#line 862 "ext/sqlite/libsqlite/src/parse.y"
+ case 283: /* expr ::= RAISE LP ROLLBACK COMMA nm RP */
+#line 862 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- yygotominor.yy242 = sqliteExpr(TK_RAISE, 0, 0, &yymsp[-1].minor.yy298);
+ yygotominor.yy242 = sqliteExpr(TK_RAISE, 0, 0, &yymsp[-1].minor.yy0);
yygotominor.yy242->iColumn = OE_Rollback;
sqliteExprSpan(yygotominor.yy242, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0);
}
-#line 3042 "ext/sqlite/libsqlite/src/parse.c"
+#line 3034 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 284:
-#line 867 "ext/sqlite/libsqlite/src/parse.y"
+ case 284: /* expr ::= RAISE LP ABORT COMMA nm RP */
+#line 867 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- yygotominor.yy242 = sqliteExpr(TK_RAISE, 0, 0, &yymsp[-1].minor.yy298);
+ yygotominor.yy242 = sqliteExpr(TK_RAISE, 0, 0, &yymsp[-1].minor.yy0);
yygotominor.yy242->iColumn = OE_Abort;
sqliteExprSpan(yygotominor.yy242, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0);
}
-#line 3051 "ext/sqlite/libsqlite/src/parse.c"
+#line 3043 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 285:
-#line 872 "ext/sqlite/libsqlite/src/parse.y"
+ case 285: /* expr ::= RAISE LP FAIL COMMA nm RP */
+#line 872 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- yygotominor.yy242 = sqliteExpr(TK_RAISE, 0, 0, &yymsp[-1].minor.yy298);
+ yygotominor.yy242 = sqliteExpr(TK_RAISE, 0, 0, &yymsp[-1].minor.yy0);
yygotominor.yy242->iColumn = OE_Fail;
sqliteExprSpan(yygotominor.yy242, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0);
}
-#line 3060 "ext/sqlite/libsqlite/src/parse.c"
+#line 3052 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 286:
-#line 879 "ext/sqlite/libsqlite/src/parse.y"
+ case 286: /* cmd ::= DROP TRIGGER nm dbnm */
+#line 879 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- sqliteDropTrigger(pParse,sqliteSrcListAppend(0,&yymsp[-1].minor.yy298,&yymsp[0].minor.yy298));
+ sqliteDropTrigger(pParse,sqliteSrcListAppend(0,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy0));
}
-#line 3067 "ext/sqlite/libsqlite/src/parse.c"
+#line 3059 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 287:
-#line 884 "ext/sqlite/libsqlite/src/parse.y"
+ case 287: /* cmd ::= ATTACH database_kw_opt ids AS nm key_opt */
+#line 884 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- sqliteAttach(pParse, &yymsp[-3].minor.yy298, &yymsp[-1].minor.yy298, &yymsp[0].minor.yy298);
+ sqliteAttach(pParse, &yymsp[-3].minor.yy0, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0);
}
-#line 3074 "ext/sqlite/libsqlite/src/parse.c"
+#line 3066 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 289:
-#line 889 "ext/sqlite/libsqlite/src/parse.y"
-{ yygotominor.yy298.z = 0; yygotominor.yy298.n = 0; }
-#line 3079 "ext/sqlite/libsqlite/src/parse.c"
+ case 289: /* key_opt ::= */
+#line 889 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
+{ yygotominor.yy0.z = 0; yygotominor.yy0.n = 0; }
+#line 3071 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
break;
- case 292:
-#line 895 "ext/sqlite/libsqlite/src/parse.y"
+ case 292: /* cmd ::= DETACH database_kw_opt nm */
+#line 895 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
{
- sqliteDetach(pParse, &yymsp[0].minor.yy298);
-}
-#line 3086 "ext/sqlite/libsqlite/src/parse.c"
+ sqliteDetach(pParse, &yymsp[0].minor.yy0);
+}
+#line 3078 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
+ break;
+ default:
+ /* (0) input ::= cmdlist */ yytestcase(yyruleno==0);
+ /* (1) cmdlist ::= cmdlist ecmd */ yytestcase(yyruleno==1);
+ /* (2) cmdlist ::= ecmd */ yytestcase(yyruleno==2);
+ /* (3) ecmd ::= explain cmdx SEMI */ yytestcase(yyruleno==3);
+ /* (4) ecmd ::= SEMI */ yytestcase(yyruleno==4);
+ /* (9) trans_opt ::= */ yytestcase(yyruleno==9);
+ /* (10) trans_opt ::= TRANSACTION */ yytestcase(yyruleno==10);
+ /* (11) trans_opt ::= TRANSACTION nm */ yytestcase(yyruleno==11);
+ /* (15) cmd ::= create_table create_table_args */ yytestcase(yyruleno==15);
+ /* (21) columnlist ::= columnlist COMMA column */ yytestcase(yyruleno==21);
+ /* (22) columnlist ::= column */ yytestcase(yyruleno==22);
+ /* (23) column ::= columnid type carglist */ yytestcase(yyruleno==23);
+ /* (31) type ::= */ yytestcase(yyruleno==31);
+ /* (40) carglist ::= carglist carg */ yytestcase(yyruleno==40);
+ /* (41) carglist ::= */ yytestcase(yyruleno==41);
+ /* (42) carg ::= CONSTRAINT nm ccons */ yytestcase(yyruleno==42);
+ /* (43) carg ::= ccons */ yytestcase(yyruleno==43);
+ /* (52) carg ::= DEFAULT NULL */ yytestcase(yyruleno==52);
+ /* (53) ccons ::= NULL onconf */ yytestcase(yyruleno==53);
+ /* (76) conslist_opt ::= */ yytestcase(yyruleno==76);
+ /* (77) conslist_opt ::= COMMA conslist */ yytestcase(yyruleno==77);
+ /* (78) conslist ::= conslist COMMA tcons */ yytestcase(yyruleno==78);
+ /* (79) conslist ::= conslist tcons */ yytestcase(yyruleno==79);
+ /* (80) conslist ::= tcons */ yytestcase(yyruleno==80);
+ /* (81) tcons ::= CONSTRAINT nm */ yytestcase(yyruleno==81);
+ /* (258) plus_opt ::= PLUS */ yytestcase(yyruleno==258);
+ /* (259) plus_opt ::= */ yytestcase(yyruleno==259);
+ /* (290) database_kw_opt ::= DATABASE */ yytestcase(yyruleno==290);
+ /* (291) database_kw_opt ::= */ yytestcase(yyruleno==291);
break;
};
yygoto = yyRuleInfo[yyruleno].lhs;
yysize = yyRuleInfo[yyruleno].nrhs;
yypParser->yyidx -= yysize;
- yyact = yy_find_reduce_action(yymsp[-yysize].stateno,yygoto);
+ yyact = yy_find_reduce_action(yymsp[-yysize].stateno,(YYCODETYPE)yygoto);
if( yyact < YYNSTATE ){
#ifdef NDEBUG
/* If we are not debugging and the reduce action popped at least
@@ -3097,15 +3121,16 @@ static void yy_reduce(
if( yysize ){
yypParser->yyidx++;
yymsp -= yysize-1;
- yymsp->stateno = yyact;
- yymsp->major = yygoto;
+ yymsp->stateno = (YYACTIONTYPE)yyact;
+ yymsp->major = (YYCODETYPE)yygoto;
yymsp->minor = yygotominor;
}else
#endif
{
yy_shift(yypParser,yyact,yygoto,&yygotominor);
}
- }else if( yyact == YYNSTATE + YYNRULE + 1 ){
+ }else{
+ assert( yyact == YYNSTATE + YYNRULE + 1 );
yy_accept(yypParser);
}
}
@@ -3113,6 +3138,7 @@ static void yy_reduce(
/*
** The following code executes when the parse fails
*/
+#ifndef YYNOERRORRECOVERY
static void yy_parse_failed(
yyParser *yypParser /* The parser */
){
@@ -3127,6 +3153,7 @@ static void yy_parse_failed(
** parser fails */
sqliteParserARG_STORE; /* Suppress warning about unused %extra_argument variable */
}
+#endif /* YYNOERRORRECOVERY */
/*
** The following code executes when a syntax error first occurs.
@@ -3138,7 +3165,7 @@ static void yy_syntax_error(
){
sqliteParserARG_FETCH;
#define TOKEN (yyminor.yy0)
-#line 23 "ext/sqlite/libsqlite/src/parse.y"
+#line 23 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.y"
if( pParse->zErrMsg==0 ){
if( TOKEN.z[0] ){
@@ -3147,7 +3174,7 @@ static void yy_syntax_error(
sqliteErrorMsg(pParse, "incomplete SQL statement");
}
}
-#line 3153 "ext/sqlite/libsqlite/src/parse.c"
+#line 3178 "/home/felipe/dev/php5/ext/sqlite/libsqlite/src/parse.c"
sqliteParserARG_STORE; /* Suppress warning about unused %extra_argument variable */
}
@@ -3197,13 +3224,22 @@ void sqliteParser(
YYMINORTYPE yyminorunion;
int yyact; /* The parser action. */
int yyendofinput; /* True if we are at the end of input */
+#ifdef YYERRORSYMBOL
int yyerrorhit = 0; /* True if yymajor has invoked an error */
+#endif
yyParser *yypParser; /* The parser */
/* (re)initialize the parser, if necessary */
yypParser = (yyParser*)yyp;
if( yypParser->yyidx<0 ){
- /* if( yymajor==0 ) return; // not sure why this was here... */
+#if YYSTACKDEPTH<=0
+ if( yypParser->yystksz <=0 ){
+ /*memset(&yyminorunion, 0, sizeof(yyminorunion));*/
+ yyminorunion = yyzerominor;
+ yyStackOverflow(yypParser, &yyminorunion);
+ return;
+ }
+#endif
yypParser->yyidx = 0;
yypParser->yyerrcnt = -1;
yypParser->yystack[0].stateno = 0;
@@ -3220,19 +3256,19 @@ void sqliteParser(
#endif
do{
- yyact = yy_find_shift_action(yypParser,yymajor);
+ yyact = yy_find_shift_action(yypParser,(YYCODETYPE)yymajor);
if( yyact<YYNSTATE ){
+ assert( !yyendofinput ); /* Impossible to shift the $ token */
yy_shift(yypParser,yyact,yymajor,&yyminorunion);
yypParser->yyerrcnt--;
- if( yyendofinput && yypParser->yyidx>=0 ){
- yymajor = 0;
- }else{
- yymajor = YYNOCODE;
- }
+ yymajor = YYNOCODE;
}else if( yyact < YYNSTATE + YYNRULE ){
yy_reduce(yypParser,yyact-YYNSTATE);
- }else if( yyact == YY_ERROR_ACTION ){
+ }else{
+ assert( yyact == YY_ERROR_ACTION );
+#ifdef YYERRORSYMBOL
int yymx;
+#endif
#ifndef NDEBUG
if( yyTraceFILE ){
fprintf(yyTraceFILE,"%sSyntax Error!\n",yyTracePrompt);
@@ -3269,18 +3305,20 @@ void sqliteParser(
yyTracePrompt,yyTokenName[yymajor]);
}
#endif
- yy_destructor(yymajor,&yyminorunion);
+ yy_destructor(yypParser, (YYCODETYPE)yymajor,&yyminorunion);
yymajor = YYNOCODE;
}else{
while(
yypParser->yyidx >= 0 &&
yymx != YYERRORSYMBOL &&
- (yyact = yy_find_shift_action(yypParser,YYERRORSYMBOL)) >= YYNSTATE
+ (yyact = yy_find_reduce_action(
+ yypParser->yystack[yypParser->yyidx].stateno,
+ YYERRORSYMBOL)) >= YYNSTATE
){
yy_pop_parser_stack(yypParser);
}
if( yypParser->yyidx < 0 || yymajor==0 ){
- yy_destructor(yymajor,&yyminorunion);
+ yy_destructor(yypParser,(YYCODETYPE)yymajor,&yyminorunion);
yy_parse_failed(yypParser);
yymajor = YYNOCODE;
}else if( yymx!=YYERRORSYMBOL ){
@@ -3291,6 +3329,18 @@ void sqliteParser(
}
yypParser->yyerrcnt = 3;
yyerrorhit = 1;
+#elif defined(YYNOERRORRECOVERY)
+ /* If the YYNOERRORRECOVERY macro is defined, then do not attempt to
+ ** do any kind of error recovery. Instead, simply invoke the syntax
+ ** error routine and continue going as if nothing had happened.
+ **
+ ** Applications can set this macro (for example inside %include) if
+ ** they intend to abandon the parse upon the first syntax error seen.
+ */
+ yy_syntax_error(yypParser,yymajor,yyminorunion);
+ yy_destructor(yypParser,(YYCODETYPE)yymajor,&yyminorunion);
+ yymajor = YYNOCODE;
+
#else /* YYERRORSYMBOL is not defined */
/* This is what we do if the grammar does not define ERROR:
**
@@ -3305,15 +3355,12 @@ void sqliteParser(
yy_syntax_error(yypParser,yymajor,yyminorunion);
}
yypParser->yyerrcnt = 3;
- yy_destructor(yymajor,&yyminorunion);
+ yy_destructor(yypParser,(YYCODETYPE)yymajor,&yyminorunion);
if( yyendofinput ){
yy_parse_failed(yypParser);
}
yymajor = YYNOCODE;
#endif
- }else{
- yy_accept(yypParser);
- yymajor = YYNOCODE;
}
}while( yymajor!=YYNOCODE && yypParser->yyidx>=0 );
return;