#endif
/************* Begin control #defines *****************************************/
#define YYCODETYPE unsigned char
-#define YYNOCODE 167
+#define YYNOCODE 170
#define YYACTIONTYPE unsigned short int
#define ParseTOKENTYPE struct psi_token *
typedef union {
int yyinit;
ParseTOKENTYPE yy0;
- struct psi_const_type* yy7;
- struct psi_let_calloc* yy17;
- struct psi_decl_union* yy19;
- struct psi_impl_def_val* yy21;
- struct psi_token** yy38;
- struct psi_num_exp* yy39;
- struct psi_impl* yy49;
- struct psi_set_exp* yy67;
- struct psi_decl_enum_item* yy69;
- struct psi_decl* yy71;
- struct psi_let_func* yy72;
- struct psi_free_stmt* yy76;
- struct psi_set_func* yy78;
- struct psi_layout* yy81;
- struct psi_const* yy106;
- struct psi_impl_func* yy120;
- struct psi_return_stmt* yy130;
- struct psi_let_stmt* yy139;
- struct psi_impl_type* yy142;
- struct psi_let_exp* yy144;
- struct psi_decl_type* yy152;
- struct psi_number* yy160;
- struct psi_let_callback* yy164;
- struct psi_impl_var* yy185;
- unsigned yy190;
- struct psi_free_exp* yy197;
- struct psi_decl_var* yy207;
- struct psi_set_stmt* yy226;
- struct psi_impl_arg* yy238;
- struct psi_decl_abi* yy242;
- struct psi_decl_arg* yy260;
- struct psi_decl_struct* yy271;
- bool yy273;
- struct psi_decl_enum * yy279;
- struct psi_plist * yy287;
- struct psi_plist* yy303;
- struct psi_layout yy323;
+ struct psi_plist* yy7;
+ struct psi_decl* yy17;
+ struct psi_impl_type* yy40;
+ struct psi_decl_union* yy47;
+ struct psi_impl_arg* yy56;
+ struct psi_decl_arg* yy64;
+ struct psi_number* yy66;
+ struct psi_let_callback* yy76;
+ struct psi_decl_enum * yy87;
+ struct psi_free_stmt* yy102;
+ struct psi_decl_enum_item* yy109;
+ struct psi_set_exp* yy113;
+ struct psi_free_exp* yy114;
+ struct psi_impl_var* yy123;
+ struct psi_num_exp* yy124;
+ struct psi_decl_var* yy131;
+ struct psi_let_func* yy133;
+ struct psi_decl_struct* yy137;
+ struct psi_let_stmt* yy138;
+ struct psi_assert_stmt* yy146;
+ struct psi_decl_abi* yy180;
+ struct psi_const_type* yy181;
+ struct psi_decl_type* yy182;
+ struct psi_let_exp* yy196;
+ struct psi_layout yy207;
+ struct psi_layout* yy221;
+ struct psi_impl_func* yy226;
+ struct psi_let_calloc* yy227;
+ bool yy247;
+ struct psi_return_stmt* yy258;
+ struct psi_token** yy282;
+ unsigned yy296;
+ struct psi_set_stmt* yy300;
+ struct psi_impl* yy303;
+ struct psi_plist * yy304;
+ struct psi_impl_def_val* yy319;
+ struct psi_set_func* yy324;
+ struct psi_const* yy336;
} YYMINORTYPE;
#ifndef YYSTACKDEPTH
#define YYSTACKDEPTH 100
#define ParseARG_FETCH struct psi_parser *P = yypParser->P
#define ParseARG_STORE yypParser->P = P
#define YYFALLBACK 1
-#define YYNSTATE 197
-#define YYNRULE 157
-#define YY_MAX_SHIFT 196
-#define YY_MIN_SHIFTREDUCE 328
-#define YY_MAX_SHIFTREDUCE 484
-#define YY_MIN_REDUCE 485
-#define YY_MAX_REDUCE 641
-#define YY_ERROR_ACTION 642
-#define YY_ACCEPT_ACTION 643
-#define YY_NO_ACTION 644
+#define YYNSTATE 199
+#define YYNRULE 159
+#define YY_MAX_SHIFT 198
+#define YY_MIN_SHIFTREDUCE 332
+#define YY_MAX_SHIFTREDUCE 490
+#define YY_MIN_REDUCE 491
+#define YY_MAX_REDUCE 649
+#define YY_ERROR_ACTION 650
+#define YY_ACCEPT_ACTION 651
+#define YY_NO_ACTION 652
/************* End control #defines *******************************************/
/* Define the yytestcase() macro to be a no-op if is not already defined
** yy_default[] Default action for each state.
**
*********** Begin parsing tables **********************************************/
-#define YY_ACTTAB_COUNT (1024)
+#define YY_ACTTAB_COUNT (1029)
static const YYACTIONTYPE yy_action[] = {
- /* 0 */ 394, 409, 93, 409, 409, 409, 409, 409, 409, 409,
- /* 10 */ 409, 409, 409, 93, 436, 430, 478, 21, 424, 430,
- /* 20 */ 425, 427, 15, 427, 411, 27, 27, 478, 475, 428,
- /* 30 */ 494, 428, 150, 426, 429, 426, 429, 494, 27, 27,
- /* 40 */ 148, 148, 148, 148, 148, 148, 148, 148, 148, 148,
- /* 50 */ 432, 101, 124, 439, 441, 83, 423, 438, 452, 110,
- /* 60 */ 417, 417, 417, 417, 417, 405, 149, 56, 366, 422,
- /* 70 */ 107, 122, 28, 376, 90, 89, 88, 147, 348, 48,
- /* 80 */ 35, 133, 478, 164, 116, 390, 81, 67, 65, 64,
- /* 90 */ 394, 409, 47, 409, 409, 409, 409, 409, 409, 409,
- /* 100 */ 409, 409, 409, 39, 49, 11, 10, 60, 93, 437,
- /* 110 */ 430, 158, 115, 141, 430, 353, 353, 353, 353, 478,
- /* 120 */ 27, 27, 478, 141, 141, 141, 141, 141, 141, 141,
- /* 130 */ 375, 193, 136, 27, 27, 148, 148, 148, 148, 148,
- /* 140 */ 148, 148, 148, 148, 148, 83, 349, 352, 394, 409,
- /* 150 */ 146, 409, 409, 409, 409, 409, 409, 409, 409, 409,
- /* 160 */ 409, 149, 349, 351, 179, 181, 180, 28, 134, 122,
- /* 170 */ 35, 122, 153, 109, 471, 390, 81, 67, 65, 64,
- /* 180 */ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
- /* 190 */ 29, 29, 29, 29, 29, 29, 29, 29, 394, 419,
- /* 200 */ 419, 419, 419, 41, 124, 145, 394, 409, 416, 409,
- /* 210 */ 409, 409, 409, 409, 409, 409, 409, 409, 409, 415,
- /* 220 */ 382, 114, 90, 89, 88, 410, 43, 414, 34, 106,
- /* 230 */ 147, 123, 344, 390, 81, 67, 65, 64, 29, 29,
- /* 240 */ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
- /* 250 */ 29, 374, 108, 29, 29, 419, 419, 419, 419, 419,
- /* 260 */ 421, 83, 113, 397, 394, 409, 405, 409, 409, 409,
- /* 270 */ 409, 409, 409, 409, 409, 409, 409, 167, 137, 112,
- /* 280 */ 90, 89, 88, 390, 81, 67, 35, 147, 36, 128,
- /* 290 */ 122, 390, 81, 67, 65, 64, 458, 458, 458, 458,
- /* 300 */ 458, 458, 458, 458, 458, 458, 155, 379, 157, 161,
- /* 310 */ 365, 169, 459, 160, 161, 410, 43, 122, 122, 76,
- /* 320 */ 119, 479, 394, 409, 431, 409, 409, 409, 409, 409,
- /* 330 */ 409, 409, 409, 409, 409, 376, 431, 357, 179, 181,
- /* 340 */ 180, 402, 432, 100, 35, 440, 442, 80, 140, 390,
- /* 350 */ 81, 67, 65, 64, 432, 99, 405, 163, 161, 144,
- /* 360 */ 142, 127, 350, 122, 356, 456, 53, 463, 37, 473,
- /* 370 */ 2, 418, 395, 147, 122, 122, 122, 66, 8, 451,
- /* 380 */ 394, 409, 431, 409, 409, 409, 409, 409, 409, 409,
- /* 390 */ 409, 409, 409, 94, 431, 401, 179, 181, 180, 343,
- /* 400 */ 432, 96, 35, 122, 13, 461, 140, 390, 81, 67,
- /* 410 */ 65, 64, 432, 99, 39, 49, 11, 10, 60, 470,
- /* 420 */ 92, 122, 70, 465, 111, 463, 131, 7, 460, 6,
- /* 430 */ 450, 147, 413, 122, 479, 83, 23, 154, 394, 409,
- /* 440 */ 431, 409, 409, 409, 409, 409, 409, 409, 409, 409,
- /* 450 */ 409, 68, 150, 472, 179, 181, 180, 132, 432, 97,
- /* 460 */ 35, 378, 24, 360, 38, 390, 81, 67, 65, 64,
- /* 470 */ 432, 101, 20, 439, 441, 479, 383, 438, 453, 122,
- /* 480 */ 369, 410, 43, 382, 117, 377, 368, 105, 410, 43,
- /* 490 */ 367, 122, 361, 74, 189, 379, 394, 409, 42, 409,
- /* 500 */ 409, 409, 409, 409, 409, 409, 409, 409, 409, 479,
- /* 510 */ 176, 177, 179, 181, 180, 398, 22, 424, 393, 400,
- /* 520 */ 427, 431, 405, 390, 81, 67, 65, 64, 428, 405,
- /* 530 */ 44, 391, 426, 429, 118, 196, 483, 484, 2, 432,
- /* 540 */ 102, 84, 95, 190, 170, 45, 86, 335, 63, 1,
- /* 550 */ 120, 82, 333, 342, 334, 121, 332, 331, 69, 68,
- /* 560 */ 122, 329, 183, 19, 46, 341, 340, 192, 345, 337,
- /* 570 */ 179, 181, 180, 330, 151, 39, 49, 11, 10, 60,
- /* 580 */ 373, 390, 81, 67, 65, 64, 93, 372, 430, 61,
- /* 590 */ 57, 126, 430, 412, 125, 475, 182, 58, 27, 27,
- /* 600 */ 478, 59, 130, 31, 643, 3, 3, 178, 194, 469,
- /* 610 */ 16, 27, 27, 141, 468, 79, 431, 4, 384, 32,
- /* 620 */ 410, 43, 447, 141, 141, 141, 141, 141, 141, 141,
- /* 630 */ 419, 419, 419, 419, 432, 98, 446, 71, 93, 462,
- /* 640 */ 430, 12, 40, 448, 430, 28, 143, 475, 14, 182,
- /* 650 */ 27, 27, 478, 5, 50, 122, 418, 194, 87, 85,
- /* 660 */ 178, 405, 51, 27, 27, 141, 631, 26, 79, 9,
- /* 670 */ 17, 385, 364, 410, 43, 141, 141, 141, 141, 141,
- /* 680 */ 141, 141, 152, 363, 18, 72, 419, 419, 419, 419,
- /* 690 */ 419, 156, 52, 73, 159, 479, 75, 28, 431, 162,
- /* 700 */ 54, 522, 355, 354, 129, 78, 62, 168, 139, 389,
- /* 710 */ 194, 87, 85, 171, 405, 172, 432, 104, 173, 29,
- /* 720 */ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
- /* 730 */ 29, 29, 29, 29, 29, 29, 29, 122, 174, 408,
- /* 740 */ 175, 29, 29, 29, 29, 29, 29, 29, 29, 29,
- /* 750 */ 29, 29, 29, 29, 29, 29, 29, 29, 29, 387,
- /* 760 */ 386, 407, 406, 358, 371, 494, 184, 339, 185, 187,
- /* 770 */ 186, 188, 91, 449, 29, 29, 29, 29, 29, 29,
- /* 780 */ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
- /* 790 */ 29, 29, 191, 93, 25, 430, 637, 30, 55, 430,
- /* 800 */ 328, 195, 475, 431, 487, 27, 27, 478, 487, 487,
- /* 810 */ 369, 487, 487, 487, 487, 487, 487, 487, 27, 27,
- /* 820 */ 141, 432, 103, 487, 487, 487, 487, 487, 433, 182,
- /* 830 */ 141, 141, 141, 141, 141, 141, 141, 487, 487, 487,
- /* 840 */ 359, 166, 122, 487, 77, 93, 487, 430, 165, 487,
- /* 850 */ 487, 430, 28, 410, 33, 487, 487, 27, 27, 478,
- /* 860 */ 487, 487, 487, 487, 487, 196, 483, 484, 487, 487,
- /* 870 */ 27, 27, 95, 190, 170, 487, 487, 487, 63, 1,
- /* 880 */ 487, 487, 487, 487, 487, 487, 487, 487, 69, 68,
- /* 890 */ 194, 87, 85, 335, 405, 487, 150, 487, 333, 487,
- /* 900 */ 334, 487, 332, 331, 28, 150, 487, 329, 487, 19,
- /* 910 */ 487, 487, 487, 487, 432, 101, 487, 439, 441, 330,
- /* 920 */ 151, 438, 445, 432, 101, 487, 439, 441, 487, 487,
- /* 930 */ 438, 138, 487, 487, 487, 122, 487, 487, 487, 487,
- /* 940 */ 487, 487, 487, 431, 122, 487, 431, 487, 487, 487,
- /* 950 */ 487, 487, 482, 487, 194, 140, 487, 487, 140, 487,
- /* 960 */ 487, 432, 99, 487, 432, 99, 487, 487, 487, 487,
- /* 970 */ 487, 487, 135, 487, 463, 467, 487, 463, 487, 431,
- /* 980 */ 147, 487, 122, 147, 431, 122, 487, 487, 487, 487,
- /* 990 */ 487, 140, 487, 487, 487, 487, 140, 432, 99, 487,
- /* 1000 */ 487, 487, 432, 99, 487, 487, 487, 487, 466, 487,
- /* 1010 */ 463, 487, 487, 457, 487, 463, 147, 487, 122, 487,
- /* 1020 */ 487, 147, 487, 122,
+ /* 0 */ 398, 413, 481, 413, 413, 413, 413, 413, 413, 413,
+ /* 10 */ 413, 413, 413, 94, 441, 435, 378, 110, 398, 435,
+ /* 20 */ 380, 415, 17, 386, 116, 28, 28, 484, 414, 44,
+ /* 30 */ 25, 25, 40, 50, 11, 10, 61, 427, 28, 28,
+ /* 40 */ 150, 150, 150, 150, 150, 150, 150, 150, 150, 150,
+ /* 50 */ 417, 357, 357, 357, 357, 84, 124, 339, 94, 160,
+ /* 60 */ 117, 49, 337, 409, 338, 370, 336, 335, 151, 57,
+ /* 70 */ 409, 333, 484, 21, 29, 379, 91, 90, 89, 484,
+ /* 80 */ 352, 138, 36, 334, 153, 426, 109, 394, 82, 68,
+ /* 90 */ 66, 65, 398, 413, 126, 413, 413, 413, 413, 413,
+ /* 100 */ 413, 413, 413, 413, 413, 394, 82, 68, 152, 48,
+ /* 110 */ 94, 442, 435, 135, 383, 124, 435, 488, 195, 196,
+ /* 120 */ 149, 124, 28, 28, 484, 484, 437, 103, 485, 444,
+ /* 130 */ 446, 148, 139, 443, 458, 28, 28, 150, 150, 150,
+ /* 140 */ 150, 150, 150, 150, 150, 150, 150, 84, 124, 401,
+ /* 150 */ 398, 413, 420, 413, 413, 413, 413, 413, 413, 413,
+ /* 160 */ 413, 413, 413, 114, 380, 151, 166, 118, 181, 183,
+ /* 170 */ 182, 29, 124, 419, 36, 54, 155, 353, 356, 394,
+ /* 180 */ 82, 68, 66, 65, 30, 30, 30, 30, 30, 30,
+ /* 190 */ 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
+ /* 200 */ 30, 30, 354, 124, 124, 42, 353, 355, 398, 413,
+ /* 210 */ 2, 413, 413, 413, 413, 413, 413, 413, 413, 413,
+ /* 220 */ 413, 361, 360, 111, 476, 95, 91, 90, 89, 159,
+ /* 230 */ 163, 347, 35, 162, 163, 81, 479, 394, 82, 68,
+ /* 240 */ 66, 65, 30, 30, 30, 30, 30, 30, 30, 30,
+ /* 250 */ 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
+ /* 260 */ 418, 124, 124, 84, 136, 126, 398, 413, 147, 413,
+ /* 270 */ 413, 413, 413, 413, 413, 413, 413, 413, 413, 165,
+ /* 280 */ 163, 373, 125, 348, 91, 90, 89, 115, 37, 130,
+ /* 290 */ 36, 108, 38, 478, 149, 394, 82, 68, 66, 65,
+ /* 300 */ 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
+ /* 310 */ 30, 30, 30, 149, 425, 30, 30, 423, 423, 423,
+ /* 320 */ 423, 77, 169, 475, 398, 413, 71, 413, 413, 413,
+ /* 330 */ 413, 413, 413, 413, 413, 413, 413, 171, 198, 489,
+ /* 340 */ 490, 406, 181, 183, 182, 96, 192, 172, 36, 129,
+ /* 350 */ 405, 64, 1, 394, 82, 68, 66, 65, 121, 422,
+ /* 360 */ 399, 70, 69, 133, 25, 25, 40, 50, 11, 10,
+ /* 370 */ 61, 8, 456, 423, 423, 423, 423, 423, 69, 67,
+ /* 380 */ 13, 466, 398, 413, 416, 413, 413, 413, 413, 413,
+ /* 390 */ 413, 413, 413, 413, 413, 7, 465, 134, 477, 184,
+ /* 400 */ 181, 183, 182, 6, 455, 93, 36, 23, 156, 39,
+ /* 410 */ 180, 394, 82, 68, 66, 65, 143, 22, 80, 485,
+ /* 420 */ 4, 388, 381, 414, 44, 382, 143, 143, 143, 143,
+ /* 430 */ 143, 143, 143, 24, 364, 372, 436, 84, 191, 485,
+ /* 440 */ 398, 413, 107, 413, 413, 413, 413, 413, 413, 413,
+ /* 450 */ 413, 413, 413, 43, 437, 97, 436, 371, 181, 183,
+ /* 460 */ 182, 196, 88, 86, 36, 409, 365, 178, 142, 394,
+ /* 470 */ 82, 68, 66, 65, 437, 101, 124, 383, 404, 146,
+ /* 480 */ 144, 421, 421, 421, 421, 421, 461, 179, 468, 397,
+ /* 490 */ 500, 485, 402, 395, 149, 75, 124, 500, 398, 413,
+ /* 500 */ 184, 413, 413, 413, 413, 413, 413, 413, 413, 413,
+ /* 510 */ 413, 363, 168, 120, 2, 78, 181, 183, 182, 167,
+ /* 520 */ 45, 85, 46, 122, 414, 34, 87, 394, 82, 68,
+ /* 530 */ 66, 65, 25, 25, 40, 50, 11, 10, 61, 123,
+ /* 540 */ 346, 463, 463, 463, 463, 463, 463, 463, 463, 463,
+ /* 550 */ 463, 339, 185, 83, 345, 344, 337, 464, 338, 47,
+ /* 560 */ 336, 335, 196, 88, 86, 333, 409, 21, 194, 377,
+ /* 570 */ 376, 349, 341, 62, 181, 183, 182, 334, 153, 436,
+ /* 580 */ 58, 127, 128, 32, 59, 394, 82, 68, 66, 65,
+ /* 590 */ 94, 60, 435, 132, 15, 33, 435, 437, 98, 481,
+ /* 600 */ 387, 184, 28, 28, 484, 414, 44, 474, 473, 651,
+ /* 610 */ 3, 3, 180, 196, 452, 28, 28, 143, 451, 124,
+ /* 620 */ 80, 467, 72, 389, 41, 414, 44, 143, 143, 143,
+ /* 630 */ 143, 143, 143, 143, 423, 423, 423, 423, 12, 14,
+ /* 640 */ 16, 453, 145, 94, 5, 435, 51, 409, 94, 435,
+ /* 650 */ 435, 29, 481, 422, 435, 28, 28, 484, 52, 27,
+ /* 660 */ 28, 28, 484, 196, 88, 86, 368, 409, 28, 28,
+ /* 670 */ 143, 9, 639, 28, 28, 154, 367, 152, 73, 20,
+ /* 680 */ 143, 143, 143, 143, 143, 143, 143, 158, 53, 74,
+ /* 690 */ 423, 423, 423, 423, 423, 437, 103, 161, 444, 446,
+ /* 700 */ 485, 76, 443, 450, 29, 164, 55, 528, 359, 29,
+ /* 710 */ 131, 358, 170, 63, 79, 141, 393, 124, 173, 386,
+ /* 720 */ 119, 174, 175, 176, 414, 44, 30, 30, 30, 30,
+ /* 730 */ 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
+ /* 740 */ 30, 30, 30, 30, 177, 412, 411, 391, 30, 30,
+ /* 750 */ 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
+ /* 760 */ 30, 30, 30, 30, 30, 30, 409, 390, 157, 410,
+ /* 770 */ 362, 500, 369, 343, 186, 188, 189, 414, 44, 187,
+ /* 780 */ 92, 190, 454, 30, 30, 30, 30, 30, 30, 30,
+ /* 790 */ 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
+ /* 800 */ 30, 645, 375, 26, 94, 193, 435, 31, 436, 56,
+ /* 810 */ 435, 332, 493, 481, 436, 373, 28, 28, 484, 409,
+ /* 820 */ 493, 197, 493, 493, 493, 493, 437, 99, 493, 28,
+ /* 830 */ 28, 143, 437, 102, 493, 445, 447, 493, 493, 438,
+ /* 840 */ 493, 143, 143, 143, 143, 143, 143, 143, 124, 18,
+ /* 850 */ 428, 493, 436, 431, 124, 493, 493, 493, 493, 436,
+ /* 860 */ 493, 433, 432, 493, 142, 29, 430, 434, 493, 493,
+ /* 870 */ 437, 101, 198, 489, 490, 436, 493, 437, 104, 96,
+ /* 880 */ 192, 172, 470, 113, 468, 64, 1, 142, 493, 493,
+ /* 890 */ 149, 493, 124, 437, 101, 70, 69, 493, 152, 124,
+ /* 900 */ 493, 493, 493, 493, 493, 137, 493, 468, 152, 493,
+ /* 910 */ 493, 493, 493, 149, 493, 124, 437, 103, 493, 444,
+ /* 920 */ 446, 493, 436, 443, 457, 112, 437, 103, 493, 444,
+ /* 930 */ 446, 436, 493, 443, 140, 436, 493, 493, 124, 493,
+ /* 940 */ 437, 100, 493, 142, 493, 493, 436, 493, 124, 437,
+ /* 950 */ 101, 493, 493, 437, 106, 436, 493, 493, 142, 493,
+ /* 960 */ 493, 472, 124, 468, 437, 101, 493, 142, 493, 149,
+ /* 970 */ 493, 124, 493, 437, 101, 124, 471, 493, 468, 19,
+ /* 980 */ 428, 493, 493, 431, 149, 462, 124, 468, 436, 493,
+ /* 990 */ 493, 433, 432, 149, 493, 124, 430, 434, 429, 493,
+ /* 1000 */ 493, 431, 493, 493, 493, 493, 437, 105, 493, 433,
+ /* 1010 */ 432, 493, 493, 493, 430, 434, 493, 493, 493, 493,
+ /* 1020 */ 493, 493, 493, 493, 493, 493, 493, 493, 124,
};
static const YYCODETYPE yy_lookahead[] = {
- /* 0 */ 2, 3, 14, 5, 6, 7, 8, 9, 10, 11,
- /* 10 */ 12, 13, 14, 14, 15, 16, 28, 129, 130, 20,
- /* 20 */ 130, 133, 23, 133, 120, 26, 27, 28, 23, 141,
- /* 30 */ 72, 141, 113, 145, 146, 145, 146, 79, 39, 40,
+ /* 0 */ 2, 3, 23, 5, 6, 7, 8, 9, 10, 11,
+ /* 10 */ 12, 13, 14, 14, 15, 16, 115, 116, 2, 20,
+ /* 20 */ 115, 122, 23, 117, 118, 26, 27, 28, 122, 123,
+ /* 30 */ 62, 63, 64, 65, 66, 67, 68, 128, 39, 40,
/* 40 */ 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
- /* 50 */ 131, 132, 125, 134, 135, 57, 126, 138, 139, 140,
- /* 60 */ 15, 16, 17, 18, 19, 161, 67, 68, 14, 126,
- /* 70 */ 127, 152, 73, 113, 76, 77, 78, 150, 80, 149,
- /* 80 */ 82, 14, 28, 151, 152, 87, 88, 89, 90, 91,
- /* 90 */ 2, 3, 149, 5, 6, 7, 8, 9, 10, 11,
- /* 100 */ 12, 13, 14, 62, 63, 64, 65, 66, 14, 15,
- /* 110 */ 16, 151, 152, 41, 20, 1, 2, 3, 4, 28,
- /* 120 */ 26, 27, 28, 51, 52, 53, 54, 55, 56, 57,
- /* 130 */ 113, 14, 113, 39, 40, 41, 42, 43, 44, 45,
- /* 140 */ 46, 47, 48, 49, 50, 57, 99, 100, 2, 3,
- /* 150 */ 165, 5, 6, 7, 8, 9, 10, 11, 12, 13,
- /* 160 */ 14, 67, 99, 100, 76, 77, 78, 73, 144, 152,
- /* 170 */ 82, 152, 84, 147, 148, 87, 88, 89, 90, 91,
- /* 180 */ 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
- /* 190 */ 31, 32, 33, 34, 35, 36, 37, 38, 2, 1,
- /* 200 */ 2, 3, 4, 57, 125, 125, 2, 3, 149, 5,
- /* 210 */ 6, 7, 8, 9, 10, 11, 12, 13, 14, 149,
- /* 220 */ 115, 116, 76, 77, 78, 120, 121, 149, 82, 150,
- /* 230 */ 150, 97, 98, 87, 88, 89, 90, 91, 22, 23,
- /* 240 */ 24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
- /* 250 */ 34, 113, 114, 37, 38, 57, 58, 59, 60, 61,
- /* 260 */ 124, 57, 125, 5, 2, 3, 161, 5, 6, 7,
- /* 270 */ 8, 9, 10, 11, 12, 13, 14, 124, 113, 113,
- /* 280 */ 76, 77, 78, 87, 88, 89, 82, 150, 74, 75,
- /* 290 */ 152, 87, 88, 89, 90, 91, 41, 42, 43, 44,
- /* 300 */ 45, 46, 47, 48, 49, 50, 111, 14, 151, 152,
- /* 310 */ 115, 104, 57, 151, 152, 120, 121, 152, 152, 57,
- /* 320 */ 152, 28, 2, 3, 113, 5, 6, 7, 8, 9,
- /* 330 */ 10, 11, 12, 13, 14, 113, 113, 113, 76, 77,
- /* 340 */ 78, 161, 131, 132, 82, 134, 135, 89, 125, 87,
- /* 350 */ 88, 89, 90, 91, 131, 132, 161, 151, 152, 136,
- /* 360 */ 137, 84, 71, 152, 113, 142, 73, 144, 74, 75,
- /* 370 */ 79, 94, 163, 150, 152, 152, 152, 57, 74, 75,
- /* 380 */ 2, 3, 113, 5, 6, 7, 8, 9, 10, 11,
- /* 390 */ 12, 13, 14, 74, 113, 161, 76, 77, 78, 80,
- /* 400 */ 131, 132, 82, 152, 74, 75, 125, 87, 88, 89,
- /* 410 */ 90, 91, 131, 132, 62, 63, 64, 65, 66, 71,
- /* 420 */ 14, 152, 74, 142, 143, 144, 150, 74, 75, 74,
- /* 430 */ 75, 150, 80, 152, 28, 57, 74, 75, 2, 3,
- /* 440 */ 113, 5, 6, 7, 8, 9, 10, 11, 12, 13,
- /* 450 */ 14, 93, 113, 148, 76, 77, 78, 123, 131, 132,
- /* 460 */ 82, 14, 74, 75, 150, 87, 88, 89, 90, 91,
- /* 470 */ 131, 132, 73, 134, 135, 28, 115, 138, 139, 152,
- /* 480 */ 14, 120, 121, 115, 116, 109, 109, 152, 120, 121,
- /* 490 */ 109, 152, 109, 57, 72, 14, 2, 3, 102, 5,
- /* 500 */ 6, 7, 8, 9, 10, 11, 12, 13, 14, 28,
- /* 510 */ 72, 119, 76, 77, 78, 164, 129, 130, 2, 2,
- /* 520 */ 133, 113, 161, 87, 88, 89, 90, 91, 141, 161,
- /* 530 */ 99, 162, 145, 146, 152, 69, 70, 71, 79, 131,
- /* 540 */ 132, 102, 76, 77, 78, 99, 102, 96, 82, 83,
- /* 550 */ 14, 57, 101, 156, 103, 14, 105, 106, 92, 93,
- /* 560 */ 152, 110, 14, 112, 102, 156, 156, 85, 98, 14,
- /* 570 */ 76, 77, 78, 122, 123, 62, 63, 64, 65, 66,
- /* 580 */ 160, 87, 88, 89, 90, 91, 14, 160, 16, 81,
- /* 590 */ 72, 94, 20, 80, 75, 23, 96, 72, 26, 27,
- /* 600 */ 28, 72, 20, 73, 153, 154, 155, 107, 157, 71,
- /* 610 */ 79, 39, 40, 41, 71, 115, 113, 117, 118, 73,
- /* 620 */ 120, 121, 71, 51, 52, 53, 54, 55, 56, 57,
- /* 630 */ 1, 2, 3, 4, 131, 132, 71, 81, 14, 75,
- /* 640 */ 16, 81, 73, 75, 20, 73, 75, 23, 74, 96,
- /* 650 */ 26, 27, 28, 73, 73, 152, 94, 157, 158, 159,
- /* 660 */ 107, 161, 73, 39, 40, 41, 94, 73, 115, 81,
- /* 670 */ 79, 118, 71, 120, 121, 51, 52, 53, 54, 55,
- /* 680 */ 56, 57, 75, 71, 73, 75, 57, 58, 59, 60,
- /* 690 */ 61, 14, 73, 75, 14, 28, 75, 73, 113, 14,
- /* 700 */ 73, 73, 71, 71, 75, 14, 81, 20, 84, 75,
- /* 710 */ 157, 158, 159, 16, 161, 74, 131, 132, 16, 21,
- /* 720 */ 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
- /* 730 */ 32, 33, 34, 35, 36, 37, 38, 152, 73, 14,
- /* 740 */ 72, 21, 22, 23, 24, 25, 26, 27, 28, 29,
- /* 750 */ 30, 31, 32, 33, 34, 35, 36, 37, 38, 71,
- /* 760 */ 71, 14, 14, 14, 86, 79, 16, 75, 74, 73,
- /* 770 */ 16, 72, 14, 75, 21, 22, 23, 24, 25, 26,
- /* 780 */ 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
- /* 790 */ 37, 38, 16, 14, 74, 16, 0, 81, 79, 20,
- /* 800 */ 71, 19, 23, 113, 166, 26, 27, 28, 166, 166,
- /* 810 */ 14, 166, 166, 166, 166, 166, 166, 166, 39, 40,
- /* 820 */ 41, 131, 132, 166, 166, 166, 166, 166, 75, 96,
- /* 830 */ 51, 52, 53, 54, 55, 56, 57, 166, 166, 166,
- /* 840 */ 107, 108, 152, 166, 111, 14, 166, 16, 115, 166,
- /* 850 */ 166, 20, 73, 120, 121, 166, 166, 26, 27, 28,
- /* 860 */ 166, 166, 166, 166, 166, 69, 70, 71, 166, 166,
- /* 870 */ 39, 40, 76, 77, 78, 166, 166, 166, 82, 83,
- /* 880 */ 166, 166, 166, 166, 166, 166, 166, 166, 92, 93,
- /* 890 */ 157, 158, 159, 96, 161, 166, 113, 166, 101, 166,
- /* 900 */ 103, 166, 105, 106, 73, 113, 166, 110, 166, 112,
- /* 910 */ 166, 166, 166, 166, 131, 132, 166, 134, 135, 122,
- /* 920 */ 123, 138, 139, 131, 132, 166, 134, 135, 166, 166,
- /* 930 */ 138, 139, 166, 166, 166, 152, 166, 166, 166, 166,
- /* 940 */ 166, 166, 166, 113, 152, 166, 113, 166, 166, 166,
- /* 950 */ 166, 166, 155, 166, 157, 125, 166, 166, 125, 166,
- /* 960 */ 166, 131, 132, 166, 131, 132, 166, 166, 166, 166,
- /* 970 */ 166, 166, 142, 166, 144, 142, 166, 144, 166, 113,
- /* 980 */ 150, 166, 152, 150, 113, 152, 166, 166, 166, 166,
- /* 990 */ 166, 125, 166, 166, 166, 166, 125, 131, 132, 166,
- /* 1000 */ 166, 166, 131, 132, 166, 166, 166, 166, 142, 166,
- /* 1010 */ 144, 166, 166, 142, 166, 144, 150, 166, 152, 166,
- /* 1020 */ 166, 150, 166, 152,
+ /* 50 */ 82, 1, 2, 3, 4, 57, 155, 98, 14, 154,
+ /* 60 */ 155, 152, 103, 164, 105, 14, 107, 108, 69, 70,
+ /* 70 */ 164, 112, 28, 114, 75, 115, 78, 79, 80, 28,
+ /* 80 */ 82, 115, 84, 124, 125, 128, 129, 89, 90, 91,
+ /* 90 */ 92, 93, 2, 3, 127, 5, 6, 7, 8, 9,
+ /* 100 */ 10, 11, 12, 13, 14, 89, 90, 91, 115, 152,
+ /* 110 */ 14, 15, 16, 14, 14, 155, 20, 158, 14, 160,
+ /* 120 */ 153, 155, 26, 27, 28, 28, 133, 134, 28, 136,
+ /* 130 */ 137, 168, 115, 140, 141, 39, 40, 41, 42, 43,
+ /* 140 */ 44, 45, 46, 47, 48, 49, 50, 57, 155, 5,
+ /* 150 */ 2, 3, 152, 5, 6, 7, 8, 9, 10, 11,
+ /* 160 */ 12, 13, 14, 115, 115, 69, 154, 155, 78, 79,
+ /* 170 */ 80, 75, 155, 152, 84, 75, 86, 101, 102, 89,
+ /* 180 */ 90, 91, 92, 93, 21, 22, 23, 24, 25, 26,
+ /* 190 */ 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
+ /* 200 */ 37, 38, 73, 155, 155, 57, 101, 102, 2, 3,
+ /* 210 */ 81, 5, 6, 7, 8, 9, 10, 11, 12, 13,
+ /* 220 */ 14, 115, 115, 150, 151, 76, 78, 79, 80, 154,
+ /* 230 */ 155, 82, 84, 154, 155, 91, 73, 89, 90, 91,
+ /* 240 */ 92, 93, 21, 22, 23, 24, 25, 26, 27, 28,
+ /* 250 */ 29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
+ /* 260 */ 152, 155, 155, 57, 147, 127, 2, 3, 127, 5,
+ /* 270 */ 6, 7, 8, 9, 10, 11, 12, 13, 14, 154,
+ /* 280 */ 155, 14, 99, 100, 78, 79, 80, 127, 76, 77,
+ /* 290 */ 84, 153, 76, 77, 153, 89, 90, 91, 92, 93,
+ /* 300 */ 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
+ /* 310 */ 32, 33, 34, 153, 126, 37, 38, 1, 2, 3,
+ /* 320 */ 4, 57, 126, 73, 2, 3, 76, 5, 6, 7,
+ /* 330 */ 8, 9, 10, 11, 12, 13, 14, 106, 71, 72,
+ /* 340 */ 73, 164, 78, 79, 80, 78, 79, 80, 84, 86,
+ /* 350 */ 164, 84, 85, 89, 90, 91, 92, 93, 155, 96,
+ /* 360 */ 166, 94, 95, 153, 62, 63, 64, 65, 66, 67,
+ /* 370 */ 68, 76, 77, 57, 58, 59, 60, 61, 95, 57,
+ /* 380 */ 76, 77, 2, 3, 82, 5, 6, 7, 8, 9,
+ /* 390 */ 10, 11, 12, 13, 14, 76, 77, 125, 151, 98,
+ /* 400 */ 78, 79, 80, 76, 77, 14, 84, 76, 77, 153,
+ /* 410 */ 109, 89, 90, 91, 92, 93, 41, 75, 117, 28,
+ /* 420 */ 119, 120, 111, 122, 123, 14, 51, 52, 53, 54,
+ /* 430 */ 55, 56, 57, 76, 77, 111, 115, 57, 74, 28,
+ /* 440 */ 2, 3, 155, 5, 6, 7, 8, 9, 10, 11,
+ /* 450 */ 12, 13, 14, 104, 133, 134, 115, 111, 78, 79,
+ /* 460 */ 80, 160, 161, 162, 84, 164, 111, 74, 127, 89,
+ /* 470 */ 90, 91, 92, 93, 133, 134, 155, 14, 2, 138,
+ /* 480 */ 139, 15, 16, 17, 18, 19, 145, 121, 147, 2,
+ /* 490 */ 74, 28, 167, 165, 153, 57, 155, 81, 2, 3,
+ /* 500 */ 98, 5, 6, 7, 8, 9, 10, 11, 12, 13,
+ /* 510 */ 14, 109, 110, 155, 81, 113, 78, 79, 80, 117,
+ /* 520 */ 101, 104, 101, 14, 122, 123, 104, 89, 90, 91,
+ /* 530 */ 92, 93, 62, 63, 64, 65, 66, 67, 68, 14,
+ /* 540 */ 159, 41, 42, 43, 44, 45, 46, 47, 48, 49,
+ /* 550 */ 50, 98, 14, 57, 159, 159, 103, 57, 105, 104,
+ /* 560 */ 107, 108, 160, 161, 162, 112, 164, 114, 87, 163,
+ /* 570 */ 163, 100, 14, 83, 78, 79, 80, 124, 125, 115,
+ /* 580 */ 74, 77, 96, 75, 74, 89, 90, 91, 92, 93,
+ /* 590 */ 14, 74, 16, 20, 81, 75, 20, 133, 134, 23,
+ /* 600 */ 117, 98, 26, 27, 28, 122, 123, 73, 73, 156,
+ /* 610 */ 157, 158, 109, 160, 73, 39, 40, 41, 73, 155,
+ /* 620 */ 117, 77, 83, 120, 75, 122, 123, 51, 52, 53,
+ /* 630 */ 54, 55, 56, 57, 1, 2, 3, 4, 83, 76,
+ /* 640 */ 81, 77, 77, 14, 75, 16, 75, 164, 14, 20,
+ /* 650 */ 16, 75, 23, 96, 20, 26, 27, 28, 75, 75,
+ /* 660 */ 26, 27, 28, 160, 161, 162, 73, 164, 39, 40,
+ /* 670 */ 41, 83, 96, 39, 40, 77, 73, 115, 77, 75,
+ /* 680 */ 51, 52, 53, 54, 55, 56, 57, 14, 75, 77,
+ /* 690 */ 57, 58, 59, 60, 61, 133, 134, 14, 136, 137,
+ /* 700 */ 28, 77, 140, 141, 75, 14, 75, 75, 73, 75,
+ /* 710 */ 77, 73, 20, 83, 14, 86, 77, 155, 16, 117,
+ /* 720 */ 118, 76, 16, 75, 122, 123, 21, 22, 23, 24,
+ /* 730 */ 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
+ /* 740 */ 35, 36, 37, 38, 74, 14, 14, 73, 21, 22,
+ /* 750 */ 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
+ /* 760 */ 33, 34, 35, 36, 37, 38, 164, 73, 113, 14,
+ /* 770 */ 14, 81, 117, 77, 16, 16, 75, 122, 123, 76,
+ /* 780 */ 14, 74, 77, 21, 22, 23, 24, 25, 26, 27,
+ /* 790 */ 28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
+ /* 800 */ 38, 0, 88, 76, 14, 16, 16, 83, 115, 81,
+ /* 810 */ 20, 73, 169, 23, 115, 14, 26, 27, 28, 164,
+ /* 820 */ 169, 19, 169, 169, 169, 169, 133, 134, 169, 39,
+ /* 830 */ 40, 41, 133, 134, 169, 136, 137, 169, 169, 77,
+ /* 840 */ 169, 51, 52, 53, 54, 55, 56, 57, 155, 131,
+ /* 850 */ 132, 169, 115, 135, 155, 169, 169, 169, 169, 115,
+ /* 860 */ 169, 143, 144, 169, 127, 75, 148, 149, 169, 169,
+ /* 870 */ 133, 134, 71, 72, 73, 115, 169, 133, 134, 78,
+ /* 880 */ 79, 80, 145, 146, 147, 84, 85, 127, 169, 169,
+ /* 890 */ 153, 169, 155, 133, 134, 94, 95, 169, 115, 155,
+ /* 900 */ 169, 169, 169, 169, 169, 145, 169, 147, 115, 169,
+ /* 910 */ 169, 169, 169, 153, 169, 155, 133, 134, 169, 136,
+ /* 920 */ 137, 169, 115, 140, 141, 142, 133, 134, 169, 136,
+ /* 930 */ 137, 115, 169, 140, 141, 115, 169, 169, 155, 169,
+ /* 940 */ 133, 134, 169, 127, 169, 169, 115, 169, 155, 133,
+ /* 950 */ 134, 169, 169, 133, 134, 115, 169, 169, 127, 169,
+ /* 960 */ 169, 145, 155, 147, 133, 134, 169, 127, 169, 153,
+ /* 970 */ 169, 155, 169, 133, 134, 155, 145, 169, 147, 131,
+ /* 980 */ 132, 169, 169, 135, 153, 145, 155, 147, 115, 169,
+ /* 990 */ 169, 143, 144, 153, 169, 155, 148, 149, 132, 169,
+ /* 1000 */ 169, 135, 169, 169, 169, 169, 133, 134, 169, 143,
+ /* 1010 */ 144, 169, 169, 169, 148, 149, 169, 169, 169, 169,
+ /* 1020 */ 169, 169, 169, 169, 169, 169, 169, 169, 155,
};
-#define YY_SHIFT_USE_DFLT (1024)
-#define YY_SHIFT_COUNT (196)
-#define YY_SHIFT_MIN (-42)
-#define YY_SHIFT_MAX (831)
+#define YY_SHIFT_USE_DFLT (1029)
+#define YY_SHIFT_COUNT (198)
+#define YY_SHIFT_MIN (-32)
+#define YY_SHIFT_MAX (802)
static const short yy_shift_ofst[] = {
- /* 0 */ 466, 146, 204, 796, -2, 572, -1, 624, -1, -1,
- /* 10 */ -1, 779, 779, 779, 779, 94, 41, 41, 262, 320,
- /* 20 */ 262, 352, 513, 88, 378, 831, 831, 831, 831, 831,
- /* 30 */ 831, 629, -12, -12, 436, 494, 198, -12, -12, -12,
- /* 40 */ -12, 54, 291, -12, -12, -12, 291, 5, 5, 67,
- /* 50 */ 5, 5, 91, 91, 91, 117, 255, 198, 198, 198,
- /* 60 */ 72, 45, 45, 114, 196, 196, 54, 258, 5, 358,
- /* 70 */ 67, 5, 399, 399, 91, 399, 91, 399, 422, 438,
- /* 80 */ 517, 516, 91, 91, 459, 422, 459, 422, 536, 541,
- /* 90 */ 548, 422, 482, 482, 117, 555, 698, 720, 753, 159,
- /* 100 */ 159, 159, 159, 159, 216, 293, 277, 214, 294, 348,
- /* 110 */ 304, 330, 353, 355, 362, 406, 447, 388, 481, 447,
- /* 120 */ -42, -42, 406, 319, 508, 518, 519, 497, 525, 529,
- /* 130 */ 530, 582, 531, 546, 538, 543, 551, 556, 565, 564,
- /* 140 */ 560, 569, 574, 568, 571, 580, 581, 562, 589, 594,
- /* 150 */ 588, 591, 601, 607, 612, 611, 610, 677, 619, 618,
- /* 160 */ 680, 667, 621, 685, 627, 628, 631, 632, 625, 687,
- /* 170 */ 691, 634, 697, 641, 702, 665, 668, 688, 689, 725,
- /* 180 */ 747, 748, 749, 686, 692, 750, 694, 754, 696, 699,
- /* 190 */ 758, 678, 776, 716, 719, 729, 782,
+ /* 0 */ 267, 148, 206, 801, -2, 576, -1, 629, -1, -1,
+ /* 10 */ -1, 790, 790, 790, 790, 470, 470, 96, -32, 302,
+ /* 20 */ 264, 322, 264, 90, 380, 634, 634, 634, 634, 634,
+ /* 30 */ 634, 634, 633, 44, 44, 438, 496, 316, 44, 44,
+ /* 40 */ 44, 44, 51, 129, 44, 44, 44, 129, -21, -21,
+ /* 50 */ 99, -21, -21, 97, 97, 97, 104, 500, 316, 316,
+ /* 60 */ 316, 375, 466, 466, 50, 16, 16, 51, 144, -21,
+ /* 70 */ 283, 99, -21, 342, 342, 97, 342, 97, 342, 364,
+ /* 80 */ 393, 476, 487, 97, 97, 433, 364, 433, 364, 509,
+ /* 90 */ 525, 538, 364, 481, 481, 104, 558, 163, 705, 727,
+ /* 100 */ 762, 221, 221, 221, 221, 221, 278, 100, 263, 212,
+ /* 110 */ 216, 250, 295, 304, 319, 327, 331, 391, 411, 357,
+ /* 120 */ 463, 411, 416, 416, 391, 149, 490, 506, 504, 486,
+ /* 130 */ 510, 517, 508, 573, 513, 520, 534, 535, 541, 539,
+ /* 140 */ 545, 544, 555, 549, 563, 564, 565, 569, 571, 557,
+ /* 150 */ 583, 584, 588, 559, 593, 598, 603, 604, 601, 673,
+ /* 160 */ 613, 612, 683, 672, 624, 691, 631, 632, 635, 638,
+ /* 170 */ 630, 692, 700, 639, 702, 645, 706, 648, 670, 674,
+ /* 180 */ 694, 731, 732, 755, 756, 690, 696, 758, 703, 759,
+ /* 190 */ 701, 707, 766, 714, 789, 724, 728, 738, 802,
};
-#define YY_REDUCE_USE_DFLT (-113)
-#define YY_REDUCE_COUNT (95)
-#define YY_REDUCE_MIN (-112)
-#define YY_REDUCE_MAX (871)
+#define YY_REDUCE_USE_DFLT (-102)
+#define YY_REDUCE_COUNT (96)
+#define YY_REDUCE_MIN (-101)
+#define YY_REDUCE_MAX (873)
static const short yy_reduce_ofst[] = {
- /* 0 */ 451, 733, 500, 797, 553, 223, -81, 281, 339, 783,
- /* 10 */ 792, 830, 833, 866, 871, 211, -112, 387, 105, 195,
- /* 20 */ 368, -110, -110, 361, 361, 269, 327, 408, 503, 585,
- /* 30 */ 690, -57, 138, -40, -96, -96, -70, 17, 19, 165,
- /* 40 */ 166, -68, 47, 222, 224, 251, 63, -73, 79, 26,
- /* 50 */ 80, 137, 157, 162, 206, 134, -15, 59, 70, 78,
- /* 60 */ 24, 136, 153, 207, 180, 234, 168, 209, 276, 334,
- /* 70 */ 305, 314, 376, 377, 335, 381, 168, 383, 396, 392,
- /* 80 */ 351, 369, 382, 168, 431, 439, 446, 444, 397, 409,
- /* 90 */ 410, 462, 420, 427, 470, 410,
+ /* 0 */ 453, 402, 301, -41, 503, 341, 783, 737, -7, 562,
+ /* 10 */ 793, 760, 816, 831, 840, 718, 848, 699, 866, 866,
+ /* 20 */ -94, 655, 602, 483, 483, 321, 464, 693, 744, 807,
+ /* 30 */ 820, 873, -43, -99, -95, -101, -101, -91, -40, -34,
+ /* 40 */ 17, 48, 12, 76, 49, 106, 107, 105, -33, 138,
+ /* 50 */ 73, 141, 160, 75, 79, 125, 183, -37, 0, 21,
+ /* 60 */ 108, 117, 188, 196, 231, 177, 186, 203, 194, 210,
+ /* 70 */ 272, 247, 256, 311, 324, 287, 346, 203, 355, 349,
+ /* 80 */ 366, 325, 328, 358, 203, 419, 417, 421, 422, 381,
+ /* 90 */ 395, 396, 455, 406, 407, 471, 396,
};
static const YYACTIONTYPE yy_default[] = {
- /* 0 */ 642, 642, 642, 642, 642, 611, 642, 631, 642, 642,
- /* 10 */ 642, 631, 631, 631, 631, 642, 642, 642, 537, 642,
- /* 20 */ 537, 642, 642, 642, 642, 642, 642, 642, 642, 642,
- /* 30 */ 642, 642, 642, 633, 642, 642, 642, 642, 642, 642,
- /* 40 */ 642, 633, 642, 642, 642, 642, 642, 631, 631, 642,
- /* 50 */ 631, 631, 633, 633, 633, 642, 642, 642, 642, 642,
- /* 60 */ 642, 642, 642, 642, 561, 560, 642, 553, 631, 642,
- /* 70 */ 642, 631, 642, 642, 642, 642, 538, 642, 495, 545,
- /* 80 */ 556, 549, 642, 642, 642, 495, 642, 495, 493, 493,
- /* 90 */ 493, 495, 527, 527, 642, 493, 642, 642, 642, 621,
- /* 100 */ 601, 600, 592, 503, 591, 642, 642, 642, 642, 642,
- /* 110 */ 642, 642, 642, 642, 642, 634, 634, 642, 642, 642,
- /* 120 */ 564, 563, 642, 642, 577, 642, 642, 642, 642, 642,
- /* 130 */ 642, 642, 642, 642, 642, 642, 642, 642, 642, 642,
- /* 140 */ 642, 642, 612, 642, 642, 642, 642, 642, 642, 642,
- /* 150 */ 588, 642, 642, 642, 642, 642, 642, 642, 642, 642,
- /* 160 */ 642, 634, 642, 642, 642, 519, 642, 642, 642, 642,
- /* 170 */ 642, 642, 642, 642, 642, 642, 642, 642, 642, 642,
- /* 180 */ 642, 642, 642, 565, 642, 642, 642, 642, 642, 642,
- /* 190 */ 642, 642, 642, 504, 642, 642, 642,
+ /* 0 */ 650, 650, 650, 650, 650, 618, 650, 639, 650, 650,
+ /* 10 */ 650, 639, 639, 639, 639, 650, 650, 650, 650, 650,
+ /* 20 */ 543, 650, 543, 650, 650, 650, 650, 650, 650, 650,
+ /* 30 */ 650, 650, 650, 650, 641, 650, 650, 650, 650, 650,
+ /* 40 */ 650, 650, 641, 650, 650, 650, 650, 650, 639, 639,
+ /* 50 */ 650, 639, 639, 641, 641, 641, 650, 650, 650, 650,
+ /* 60 */ 650, 650, 650, 650, 650, 567, 566, 650, 559, 639,
+ /* 70 */ 650, 650, 639, 650, 650, 650, 650, 544, 650, 501,
+ /* 80 */ 551, 562, 555, 650, 650, 650, 501, 650, 501, 499,
+ /* 90 */ 499, 499, 501, 533, 533, 650, 499, 650, 650, 650,
+ /* 100 */ 650, 628, 608, 607, 599, 509, 598, 650, 650, 650,
+ /* 110 */ 650, 650, 650, 650, 650, 650, 650, 642, 642, 650,
+ /* 120 */ 650, 650, 570, 569, 650, 650, 583, 650, 650, 650,
+ /* 130 */ 650, 650, 650, 650, 650, 650, 650, 650, 650, 650,
+ /* 140 */ 650, 650, 650, 650, 619, 650, 650, 650, 650, 650,
+ /* 150 */ 650, 650, 595, 650, 650, 650, 650, 650, 650, 650,
+ /* 160 */ 650, 650, 650, 642, 650, 650, 650, 525, 650, 650,
+ /* 170 */ 650, 650, 650, 650, 650, 650, 650, 650, 650, 650,
+ /* 180 */ 650, 650, 650, 650, 650, 571, 650, 650, 650, 650,
+ /* 190 */ 650, 650, 650, 650, 650, 510, 650, 650, 650,
};
/********** End of lemon-generated parsing tables *****************************/
0, /* ARRAY => nothing */
0, /* OBJECT => nothing */
0, /* CALLABLE => nothing */
+ 0, /* PRE_ASSERT => nothing */
+ 0, /* POST_ASSERT => nothing */
14, /* TEMP => NAME */
14, /* FREE => NAME */
14, /* SET => NAME */
"INTVAL", "BOOLVAL", "COUNT", "TO_OBJECT",
"TO_ARRAY", "TO_STRING", "TO_INT", "TO_FLOAT",
"TO_BOOL", "VOID", "MIXED", "ARRAY",
- "OBJECT", "CALLABLE", "TEMP", "FREE",
- "SET", "LET", "RETURN", "CALLOC",
- "CALLBACK", "LIB", "EOF", "EOS",
- "COLON", "LPAREN", "COMMA", "RPAREN",
- "ENUM", "STRUCT", "UNION", "LBRACE",
- "RBRACE", "EQUALS", "CONST", "TYPEDEF",
- "ELLIPSIS", "LBRACKET", "RBRACKET", "CHAR",
- "SHORT", "LONG", "UNSIGNED", "SIGNED",
- "STATIC", "FUNCTION", "DOLLAR_NAME", "error",
- "decl_enum", "decl_enum_items", "decl_enum_item", "decl_struct_args_block",
- "decl_struct_args", "decl_struct", "align_and_size", "decl_union",
- "const_type", "constant", "decl_typedef", "decl_typedef_body_ex",
- "decl_typedef_body", "decl_typedef_body_fn_args", "decl", "decl_func",
- "decl_abi", "decl_var", "decl_vars", "decl_arg",
- "decl_args", "struct_args", "struct_arg", "decl_layout",
- "decl_type", "const_decl_type", "impl", "impl_func",
- "impl_def_val", "impl_var", "impl_arg", "impl_args",
- "impl_vararg", "impl_stmts", "impl_stmt", "number",
- "num_exp", "let_stmt", "let_calloc", "let_func",
- "callback_arg_list", "callback_args", "let_callback", "let_exp",
- "let_exps", "set_stmt", "set_exp", "set_exps",
- "set_func", "return_stmt", "free_stmt", "free_exps",
- "free_exp", "impl_type", "reference", "indirection",
- "pointers", "file", "blocks", "block",
- "optional_name", "enum_name", "struct_name", "union_name",
- "decl_var_array_size", "decl_scalar_type", "decl_scalar_type_short", "decl_scalar_type_long",
- "decl_scalar_type_long_long", "callback_rval",
+ "OBJECT", "CALLABLE", "PRE_ASSERT", "POST_ASSERT",
+ "TEMP", "FREE", "SET", "LET",
+ "RETURN", "CALLOC", "CALLBACK", "LIB",
+ "EOF", "EOS", "COLON", "LPAREN",
+ "COMMA", "RPAREN", "ENUM", "STRUCT",
+ "UNION", "LBRACE", "RBRACE", "EQUALS",
+ "CONST", "TYPEDEF", "ELLIPSIS", "LBRACKET",
+ "RBRACKET", "CHAR", "SHORT", "LONG",
+ "UNSIGNED", "SIGNED", "STATIC", "FUNCTION",
+ "DOLLAR_NAME", "error", "decl_enum", "decl_enum_items",
+ "decl_enum_item", "decl_struct_args_block", "decl_struct_args", "decl_struct",
+ "align_and_size", "decl_union", "const_type", "constant",
+ "decl_typedef", "decl_typedef_body_ex", "decl_typedef_body", "decl_typedef_body_fn_args",
+ "decl", "decl_func", "decl_abi", "decl_var",
+ "decl_vars", "decl_arg", "decl_args", "struct_args",
+ "struct_arg", "decl_layout", "decl_type", "const_decl_type",
+ "impl", "impl_func", "impl_def_val", "impl_var",
+ "impl_arg", "impl_args", "impl_vararg", "impl_stmts",
+ "impl_stmt", "number", "num_exp", "let_stmt",
+ "let_calloc", "let_func", "callback_arg_list", "callback_args",
+ "let_callback", "let_exp", "let_exps", "assert_stmt",
+ "set_stmt", "set_exp", "set_exps", "set_func",
+ "return_stmt", "free_stmt", "free_exps", "free_exp",
+ "impl_type", "reference", "indirection", "pointers",
+ "file", "blocks", "block", "optional_name",
+ "enum_name", "struct_name", "union_name", "decl_var_array_size",
+ "decl_scalar_type", "decl_scalar_type_short", "decl_scalar_type_long", "decl_scalar_type_long_long",
+ "callback_rval",
};
#endif /* NDEBUG */
/* 98 */ "impl_stmt ::= return_stmt",
/* 99 */ "impl_stmt ::= let_stmt",
/* 100 */ "impl_stmt ::= set_stmt",
- /* 101 */ "impl_stmt ::= free_stmt",
- /* 102 */ "number ::= NUMBER|NSNAME",
- /* 103 */ "number ::= decl_var",
- /* 104 */ "num_exp ::= number",
- /* 105 */ "num_exp ::= LPAREN num_exp RPAREN",
- /* 106 */ "num_exp ::= num_exp PIPE|CARET|AMPERSAND|LSHIFT|RSHIFT|PLUS|MINUS|ASTERISK|SLASH|MODULO|RCHEVR|LCHEVR|CMP_GE|CMP_LE|OR|AND|CMP_EQ|CMP_NE num_exp",
- /* 107 */ "num_exp ::= TILDE|NOT|PLUS|MINUS num_exp",
- /* 108 */ "let_exp ::= NULL",
- /* 109 */ "let_exp ::= AMPERSAND NULL",
- /* 110 */ "let_exp ::= let_callback",
- /* 111 */ "let_exp ::= let_calloc",
- /* 112 */ "let_exp ::= AMPERSAND let_calloc",
- /* 113 */ "let_exp ::= let_func",
- /* 114 */ "let_exp ::= AMPERSAND let_func",
- /* 115 */ "let_exp ::= num_exp",
- /* 116 */ "let_exp ::= AMPERSAND num_exp",
- /* 117 */ "let_exp ::= decl_var EQUALS let_exp",
- /* 118 */ "let_stmt ::= LET let_exp EOS",
- /* 119 */ "let_stmt ::= TEMP decl_var EQUALS reference decl_var EOS",
- /* 120 */ "let_callback ::= CALLBACK callback_rval LPAREN impl_var LPAREN callback_arg_list RPAREN RPAREN",
- /* 121 */ "let_calloc ::= CALLOC LPAREN num_exp COMMA num_exp RPAREN",
- /* 122 */ "let_func ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT LPAREN impl_var RPAREN",
- /* 123 */ "let_func ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT LPAREN impl_var COMMA let_exps RPAREN",
- /* 124 */ "let_exps ::= let_exp",
- /* 125 */ "let_exps ::= let_exps COMMA let_exp",
- /* 126 */ "callback_arg_list ::=",
- /* 127 */ "callback_arg_list ::= callback_args",
- /* 128 */ "callback_args ::= set_exp",
- /* 129 */ "callback_args ::= callback_args COMMA set_exp",
- /* 130 */ "callback_rval ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT",
- /* 131 */ "callback_rval ::= VOID",
- /* 132 */ "set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var RPAREN",
- /* 133 */ "set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var COMMA set_exps RPAREN",
- /* 134 */ "set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var COMMA ELLIPSIS RPAREN",
- /* 135 */ "set_exp ::= set_func",
- /* 136 */ "set_exp ::= num_exp",
- /* 137 */ "set_exps ::= set_exp",
- /* 138 */ "set_exps ::= set_exps COMMA set_exp",
- /* 139 */ "set_exp ::= impl_var EQUALS set_exp",
- /* 140 */ "set_stmt ::= SET set_exp EOS",
- /* 141 */ "return_stmt ::= RETURN set_func EOS",
- /* 142 */ "free_stmt ::= FREE free_exps EOS",
- /* 143 */ "free_exps ::= free_exp",
- /* 144 */ "free_exps ::= free_exps COMMA free_exp",
- /* 145 */ "free_exp ::= NAME LPAREN decl_vars RPAREN",
- /* 146 */ "reference ::=",
- /* 147 */ "reference ::= AMPERSAND",
- /* 148 */ "indirection ::=",
- /* 149 */ "indirection ::= pointers",
- /* 150 */ "pointers ::= ASTERISK",
- /* 151 */ "pointers ::= pointers ASTERISK",
- /* 152 */ "file ::= blocks",
- /* 153 */ "blocks ::= block",
- /* 154 */ "blocks ::= blocks block",
- /* 155 */ "block ::= EOF",
- /* 156 */ "block ::= EOS",
+ /* 101 */ "impl_stmt ::= assert_stmt",
+ /* 102 */ "impl_stmt ::= free_stmt",
+ /* 103 */ "number ::= NUMBER|NSNAME",
+ /* 104 */ "number ::= decl_var",
+ /* 105 */ "num_exp ::= number",
+ /* 106 */ "num_exp ::= LPAREN num_exp RPAREN",
+ /* 107 */ "num_exp ::= num_exp PIPE|CARET|AMPERSAND|LSHIFT|RSHIFT|PLUS|MINUS|ASTERISK|SLASH|MODULO|RCHEVR|LCHEVR|CMP_GE|CMP_LE|OR|AND|CMP_EQ|CMP_NE num_exp",
+ /* 108 */ "num_exp ::= TILDE|NOT|PLUS|MINUS num_exp",
+ /* 109 */ "let_exp ::= NULL",
+ /* 110 */ "let_exp ::= AMPERSAND NULL",
+ /* 111 */ "let_exp ::= let_callback",
+ /* 112 */ "let_exp ::= let_calloc",
+ /* 113 */ "let_exp ::= AMPERSAND let_calloc",
+ /* 114 */ "let_exp ::= let_func",
+ /* 115 */ "let_exp ::= AMPERSAND let_func",
+ /* 116 */ "let_exp ::= num_exp",
+ /* 117 */ "let_exp ::= AMPERSAND num_exp",
+ /* 118 */ "let_exp ::= decl_var EQUALS let_exp",
+ /* 119 */ "let_stmt ::= LET let_exp EOS",
+ /* 120 */ "let_stmt ::= TEMP decl_var EQUALS reference decl_var EOS",
+ /* 121 */ "let_callback ::= CALLBACK callback_rval LPAREN impl_var LPAREN callback_arg_list RPAREN RPAREN",
+ /* 122 */ "let_calloc ::= CALLOC LPAREN num_exp COMMA num_exp RPAREN",
+ /* 123 */ "let_func ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT LPAREN impl_var RPAREN",
+ /* 124 */ "let_func ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT LPAREN impl_var COMMA let_exps RPAREN",
+ /* 125 */ "let_exps ::= let_exp",
+ /* 126 */ "let_exps ::= let_exps COMMA let_exp",
+ /* 127 */ "callback_arg_list ::=",
+ /* 128 */ "callback_arg_list ::= callback_args",
+ /* 129 */ "callback_args ::= set_exp",
+ /* 130 */ "callback_args ::= callback_args COMMA set_exp",
+ /* 131 */ "callback_rval ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT",
+ /* 132 */ "callback_rval ::= VOID",
+ /* 133 */ "set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var RPAREN",
+ /* 134 */ "set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var COMMA set_exps RPAREN",
+ /* 135 */ "set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var COMMA ELLIPSIS RPAREN",
+ /* 136 */ "set_exp ::= set_func",
+ /* 137 */ "set_exp ::= num_exp",
+ /* 138 */ "set_exps ::= set_exp",
+ /* 139 */ "set_exps ::= set_exps COMMA set_exp",
+ /* 140 */ "set_exp ::= impl_var EQUALS set_exp",
+ /* 141 */ "set_stmt ::= SET set_exp EOS",
+ /* 142 */ "return_stmt ::= RETURN set_func EOS",
+ /* 143 */ "free_stmt ::= FREE free_exps EOS",
+ /* 144 */ "free_exps ::= free_exp",
+ /* 145 */ "free_exps ::= free_exps COMMA free_exp",
+ /* 146 */ "free_exp ::= NAME LPAREN decl_vars RPAREN",
+ /* 147 */ "assert_stmt ::= PRE_ASSERT|POST_ASSERT num_exp EOS",
+ /* 148 */ "reference ::=",
+ /* 149 */ "reference ::= AMPERSAND",
+ /* 150 */ "indirection ::=",
+ /* 151 */ "indirection ::= pointers",
+ /* 152 */ "pointers ::= ASTERISK",
+ /* 153 */ "pointers ::= pointers ASTERISK",
+ /* 154 */ "file ::= blocks",
+ /* 155 */ "blocks ::= block",
+ /* 156 */ "blocks ::= blocks block",
+ /* 157 */ "block ::= EOF",
+ /* 158 */ "block ::= EOS",
};
#endif /* NDEBUG */
case 59: /* ARRAY */
case 60: /* OBJECT */
case 61: /* CALLABLE */
- case 62: /* TEMP */
- case 63: /* FREE */
- case 64: /* SET */
- case 65: /* LET */
- case 66: /* RETURN */
- case 67: /* CALLOC */
- case 68: /* CALLBACK */
- case 69: /* LIB */
- case 70: /* EOF */
- case 71: /* EOS */
- case 72: /* COLON */
- case 73: /* LPAREN */
- case 74: /* COMMA */
- case 75: /* RPAREN */
- case 76: /* ENUM */
- case 77: /* STRUCT */
- case 78: /* UNION */
- case 79: /* LBRACE */
- case 80: /* RBRACE */
- case 81: /* EQUALS */
- case 82: /* CONST */
- case 83: /* TYPEDEF */
- case 84: /* ELLIPSIS */
- case 85: /* LBRACKET */
- case 86: /* RBRACKET */
- case 87: /* CHAR */
- case 88: /* SHORT */
- case 89: /* LONG */
- case 90: /* UNSIGNED */
- case 91: /* SIGNED */
- case 92: /* STATIC */
- case 93: /* FUNCTION */
- case 94: /* DOLLAR_NAME */
+ case 62: /* PRE_ASSERT */
+ case 63: /* POST_ASSERT */
+ case 64: /* TEMP */
+ case 65: /* FREE */
+ case 66: /* SET */
+ case 67: /* LET */
+ case 68: /* RETURN */
+ case 69: /* CALLOC */
+ case 70: /* CALLBACK */
+ case 71: /* LIB */
+ case 72: /* EOF */
+ case 73: /* EOS */
+ case 74: /* COLON */
+ case 75: /* LPAREN */
+ case 76: /* COMMA */
+ case 77: /* RPAREN */
+ case 78: /* ENUM */
+ case 79: /* STRUCT */
+ case 80: /* UNION */
+ case 81: /* LBRACE */
+ case 82: /* RBRACE */
+ case 83: /* EQUALS */
+ case 84: /* CONST */
+ case 85: /* TYPEDEF */
+ case 86: /* ELLIPSIS */
+ case 87: /* LBRACKET */
+ case 88: /* RBRACKET */
+ case 89: /* CHAR */
+ case 90: /* SHORT */
+ case 91: /* LONG */
+ case 92: /* UNSIGNED */
+ case 93: /* SIGNED */
+ case 94: /* STATIC */
+ case 95: /* FUNCTION */
+ case 96: /* DOLLAR_NAME */
{
#line 37 "src/parser_proc.y"
free((yypminor->yy0));
-#line 1124 "src/parser_proc.c"
+#line 1132 "src/parser_proc.c"
}
break;
/* Default NON-TERMINAL Destructor */
- case 95: /* error */
- case 102: /* align_and_size */
- case 150: /* reference */
- case 151: /* indirection */
- case 152: /* pointers */
- case 153: /* file */
- case 154: /* blocks */
- case 155: /* block */
- case 156: /* optional_name */
- case 157: /* enum_name */
- case 158: /* struct_name */
- case 159: /* union_name */
- case 160: /* decl_var_array_size */
- case 161: /* decl_scalar_type */
- case 162: /* decl_scalar_type_short */
- case 163: /* decl_scalar_type_long */
- case 164: /* decl_scalar_type_long_long */
- case 165: /* callback_rval */
+ case 97: /* error */
+ case 104: /* align_and_size */
+ case 153: /* reference */
+ case 154: /* indirection */
+ case 155: /* pointers */
+ case 156: /* file */
+ case 157: /* blocks */
+ case 158: /* block */
+ case 159: /* optional_name */
+ case 160: /* enum_name */
+ case 161: /* struct_name */
+ case 162: /* union_name */
+ case 163: /* decl_var_array_size */
+ case 164: /* decl_scalar_type */
+ case 165: /* decl_scalar_type_short */
+ case 166: /* decl_scalar_type_long */
+ case 167: /* decl_scalar_type_long_long */
+ case 168: /* callback_rval */
{
#line 38 "src/parser_proc.y"
(void)P;
-#line 1149 "src/parser_proc.c"
+#line 1157 "src/parser_proc.c"
}
break;
- case 96: /* decl_enum */
+ case 98: /* decl_enum */
{
-#line 63 "src/parser_proc.y"
-psi_decl_enum_free(&(yypminor->yy279));
-#line 1156 "src/parser_proc.c"
+#line 64 "src/parser_proc.y"
+psi_decl_enum_free(&(yypminor->yy87));
+#line 1164 "src/parser_proc.c"
}
break;
- case 97: /* decl_enum_items */
- case 99: /* decl_struct_args_block */
- case 100: /* decl_struct_args */
- case 109: /* decl_typedef_body_fn_args */
- case 114: /* decl_vars */
- case 116: /* decl_args */
- case 117: /* struct_args */
- case 127: /* impl_args */
- case 129: /* impl_stmts */
- case 140: /* let_exps */
- case 143: /* set_exps */
- case 147: /* free_exps */
-{
-#line 65 "src/parser_proc.y"
-psi_plist_free((yypminor->yy303));
-#line 1174 "src/parser_proc.c"
+ case 99: /* decl_enum_items */
+ case 101: /* decl_struct_args_block */
+ case 102: /* decl_struct_args */
+ case 111: /* decl_typedef_body_fn_args */
+ case 116: /* decl_vars */
+ case 118: /* decl_args */
+ case 119: /* struct_args */
+ case 129: /* impl_args */
+ case 131: /* impl_stmts */
+ case 142: /* let_exps */
+ case 146: /* set_exps */
+ case 150: /* free_exps */
+{
+#line 66 "src/parser_proc.y"
+psi_plist_free((yypminor->yy7));
+#line 1182 "src/parser_proc.c"
}
break;
- case 98: /* decl_enum_item */
+ case 100: /* decl_enum_item */
{
-#line 67 "src/parser_proc.y"
-psi_decl_enum_item_free(&(yypminor->yy69));
-#line 1181 "src/parser_proc.c"
+#line 68 "src/parser_proc.y"
+psi_decl_enum_item_free(&(yypminor->yy109));
+#line 1189 "src/parser_proc.c"
}
break;
- case 101: /* decl_struct */
+ case 103: /* decl_struct */
{
-#line 73 "src/parser_proc.y"
-psi_decl_struct_free(&(yypminor->yy271));
-#line 1188 "src/parser_proc.c"
+#line 74 "src/parser_proc.y"
+psi_decl_struct_free(&(yypminor->yy137));
+#line 1196 "src/parser_proc.c"
}
break;
- case 103: /* decl_union */
+ case 105: /* decl_union */
{
-#line 76 "src/parser_proc.y"
-psi_decl_union_free(&(yypminor->yy19));
-#line 1195 "src/parser_proc.c"
+#line 77 "src/parser_proc.y"
+psi_decl_union_free(&(yypminor->yy47));
+#line 1203 "src/parser_proc.c"
}
break;
- case 104: /* const_type */
+ case 106: /* const_type */
{
-#line 78 "src/parser_proc.y"
-psi_const_type_free(&(yypminor->yy7));
-#line 1202 "src/parser_proc.c"
+#line 79 "src/parser_proc.y"
+psi_const_type_free(&(yypminor->yy181));
+#line 1210 "src/parser_proc.c"
}
break;
- case 105: /* constant */
+ case 107: /* constant */
{
-#line 80 "src/parser_proc.y"
-psi_const_free(&(yypminor->yy106));
-#line 1209 "src/parser_proc.c"
+#line 81 "src/parser_proc.y"
+psi_const_free(&(yypminor->yy336));
+#line 1217 "src/parser_proc.c"
}
break;
- case 106: /* decl_typedef */
- case 107: /* decl_typedef_body_ex */
- case 108: /* decl_typedef_body */
- case 111: /* decl_func */
- case 115: /* decl_arg */
- case 118: /* struct_arg */
+ case 108: /* decl_typedef */
+ case 109: /* decl_typedef_body_ex */
+ case 110: /* decl_typedef_body */
+ case 113: /* decl_func */
+ case 117: /* decl_arg */
+ case 120: /* struct_arg */
{
-#line 82 "src/parser_proc.y"
-psi_decl_arg_free(&(yypminor->yy260));
-#line 1221 "src/parser_proc.c"
+#line 83 "src/parser_proc.y"
+psi_decl_arg_free(&(yypminor->yy64));
+#line 1229 "src/parser_proc.c"
}
break;
- case 110: /* decl */
+ case 112: /* decl */
{
-#line 90 "src/parser_proc.y"
-psi_decl_free(&(yypminor->yy71));
-#line 1228 "src/parser_proc.c"
+#line 91 "src/parser_proc.y"
+psi_decl_free(&(yypminor->yy17));
+#line 1236 "src/parser_proc.c"
}
break;
- case 112: /* decl_abi */
+ case 114: /* decl_abi */
{
-#line 94 "src/parser_proc.y"
-psi_decl_abi_free(&(yypminor->yy242));
-#line 1235 "src/parser_proc.c"
+#line 95 "src/parser_proc.y"
+psi_decl_abi_free(&(yypminor->yy180));
+#line 1243 "src/parser_proc.c"
}
break;
- case 113: /* decl_var */
+ case 115: /* decl_var */
{
-#line 96 "src/parser_proc.y"
-psi_decl_var_free(&(yypminor->yy207));
-#line 1242 "src/parser_proc.c"
+#line 97 "src/parser_proc.y"
+psi_decl_var_free(&(yypminor->yy131));
+#line 1250 "src/parser_proc.c"
}
break;
- case 119: /* decl_layout */
+ case 121: /* decl_layout */
{
-#line 108 "src/parser_proc.y"
-psi_layout_free(&(yypminor->yy81));
-#line 1249 "src/parser_proc.c"
-}
- break;
- case 120: /* decl_type */
- case 121: /* const_decl_type */
-{
-#line 110 "src/parser_proc.y"
-psi_decl_type_free(&(yypminor->yy152));
+#line 109 "src/parser_proc.y"
+psi_layout_free(&(yypminor->yy221));
#line 1257 "src/parser_proc.c"
}
break;
- case 122: /* impl */
+ case 122: /* decl_type */
+ case 123: /* const_decl_type */
{
-#line 114 "src/parser_proc.y"
-psi_impl_free(&(yypminor->yy49));
-#line 1264 "src/parser_proc.c"
+#line 111 "src/parser_proc.y"
+psi_decl_type_free(&(yypminor->yy182));
+#line 1265 "src/parser_proc.c"
}
break;
- case 123: /* impl_func */
+ case 124: /* impl */
{
-#line 116 "src/parser_proc.y"
-psi_impl_func_free(&(yypminor->yy120));
-#line 1271 "src/parser_proc.c"
+#line 115 "src/parser_proc.y"
+psi_impl_free(&(yypminor->yy303));
+#line 1272 "src/parser_proc.c"
}
break;
- case 124: /* impl_def_val */
+ case 125: /* impl_func */
{
-#line 118 "src/parser_proc.y"
-psi_impl_def_val_free(&(yypminor->yy21));
-#line 1278 "src/parser_proc.c"
+#line 117 "src/parser_proc.y"
+psi_impl_func_free(&(yypminor->yy226));
+#line 1279 "src/parser_proc.c"
}
break;
- case 125: /* impl_var */
+ case 126: /* impl_def_val */
{
-#line 120 "src/parser_proc.y"
-psi_impl_var_free(&(yypminor->yy185));
-#line 1285 "src/parser_proc.c"
+#line 119 "src/parser_proc.y"
+psi_impl_def_val_free(&(yypminor->yy319));
+#line 1286 "src/parser_proc.c"
}
break;
- case 126: /* impl_arg */
- case 128: /* impl_vararg */
+ case 127: /* impl_var */
{
-#line 122 "src/parser_proc.y"
-psi_impl_arg_free(&(yypminor->yy238));
+#line 121 "src/parser_proc.y"
+psi_impl_var_free(&(yypminor->yy123));
#line 1293 "src/parser_proc.c"
}
break;
- case 130: /* impl_stmt */
+ case 128: /* impl_arg */
+ case 130: /* impl_vararg */
{
-#line 130 "src/parser_proc.y"
-psi_impl_stmt_free(&(yypminor->yy38));
-#line 1300 "src/parser_proc.c"
+#line 123 "src/parser_proc.y"
+psi_impl_arg_free(&(yypminor->yy56));
+#line 1301 "src/parser_proc.c"
}
break;
- case 131: /* number */
+ case 132: /* impl_stmt */
{
-#line 132 "src/parser_proc.y"
-psi_number_free(&(yypminor->yy160));
-#line 1307 "src/parser_proc.c"
+#line 131 "src/parser_proc.y"
+psi_impl_stmt_free(&(yypminor->yy282));
+#line 1308 "src/parser_proc.c"
}
break;
- case 132: /* num_exp */
+ case 133: /* number */
{
-#line 134 "src/parser_proc.y"
-psi_num_exp_free(&(yypminor->yy39));
-#line 1314 "src/parser_proc.c"
+#line 133 "src/parser_proc.y"
+psi_number_free(&(yypminor->yy66));
+#line 1315 "src/parser_proc.c"
}
break;
- case 133: /* let_stmt */
+ case 134: /* num_exp */
{
-#line 136 "src/parser_proc.y"
-psi_let_stmt_free(&(yypminor->yy139));
-#line 1321 "src/parser_proc.c"
+#line 135 "src/parser_proc.y"
+psi_num_exp_free(&(yypminor->yy124));
+#line 1322 "src/parser_proc.c"
}
break;
- case 134: /* let_calloc */
+ case 135: /* let_stmt */
{
-#line 138 "src/parser_proc.y"
-psi_let_calloc_free(&(yypminor->yy17));
-#line 1328 "src/parser_proc.c"
+#line 137 "src/parser_proc.y"
+psi_let_stmt_free(&(yypminor->yy138));
+#line 1329 "src/parser_proc.c"
}
break;
- case 135: /* let_func */
+ case 136: /* let_calloc */
{
-#line 140 "src/parser_proc.y"
-psi_let_func_free(&(yypminor->yy72));
-#line 1335 "src/parser_proc.c"
+#line 139 "src/parser_proc.y"
+psi_let_calloc_free(&(yypminor->yy227));
+#line 1336 "src/parser_proc.c"
}
break;
- case 136: /* callback_arg_list */
- case 137: /* callback_args */
+ case 137: /* let_func */
{
-#line 142 "src/parser_proc.y"
-psi_plist_free((yypminor->yy287));
+#line 141 "src/parser_proc.y"
+psi_let_func_free(&(yypminor->yy133));
#line 1343 "src/parser_proc.c"
}
break;
- case 138: /* let_callback */
+ case 138: /* callback_arg_list */
+ case 139: /* callback_args */
{
-#line 146 "src/parser_proc.y"
-psi_let_callback_free(&(yypminor->yy164));
-#line 1350 "src/parser_proc.c"
+#line 143 "src/parser_proc.y"
+psi_plist_free((yypminor->yy304));
+#line 1351 "src/parser_proc.c"
}
break;
- case 139: /* let_exp */
+ case 140: /* let_callback */
{
-#line 148 "src/parser_proc.y"
-psi_let_exp_free(&(yypminor->yy144));
-#line 1357 "src/parser_proc.c"
+#line 147 "src/parser_proc.y"
+psi_let_callback_free(&(yypminor->yy76));
+#line 1358 "src/parser_proc.c"
}
break;
- case 141: /* set_stmt */
+ case 141: /* let_exp */
{
-#line 152 "src/parser_proc.y"
-psi_set_stmt_free(&(yypminor->yy226));
-#line 1364 "src/parser_proc.c"
+#line 149 "src/parser_proc.y"
+psi_let_exp_free(&(yypminor->yy196));
+#line 1365 "src/parser_proc.c"
}
break;
- case 142: /* set_exp */
+ case 143: /* assert_stmt */
{
-#line 154 "src/parser_proc.y"
-psi_set_exp_free(&(yypminor->yy67));
-#line 1371 "src/parser_proc.c"
+#line 153 "src/parser_proc.y"
+psi_assert_stmt_free(&(yypminor->yy146));
+#line 1372 "src/parser_proc.c"
}
break;
- case 144: /* set_func */
+ case 144: /* set_stmt */
{
-#line 158 "src/parser_proc.y"
-psi_set_func_free(&(yypminor->yy78));
-#line 1378 "src/parser_proc.c"
+#line 155 "src/parser_proc.y"
+psi_set_stmt_free(&(yypminor->yy300));
+#line 1379 "src/parser_proc.c"
}
break;
- case 145: /* return_stmt */
+ case 145: /* set_exp */
{
-#line 160 "src/parser_proc.y"
-psi_return_stmt_free(&(yypminor->yy130));
-#line 1385 "src/parser_proc.c"
+#line 157 "src/parser_proc.y"
+psi_set_exp_free(&(yypminor->yy113));
+#line 1386 "src/parser_proc.c"
}
break;
- case 146: /* free_stmt */
+ case 147: /* set_func */
{
-#line 162 "src/parser_proc.y"
-psi_free_stmt_free(&(yypminor->yy76));
-#line 1392 "src/parser_proc.c"
+#line 161 "src/parser_proc.y"
+psi_set_func_free(&(yypminor->yy324));
+#line 1393 "src/parser_proc.c"
}
break;
- case 148: /* free_exp */
+ case 148: /* return_stmt */
{
-#line 166 "src/parser_proc.y"
-psi_free_exp_free(&(yypminor->yy197));
-#line 1399 "src/parser_proc.c"
+#line 163 "src/parser_proc.y"
+psi_return_stmt_free(&(yypminor->yy258));
+#line 1400 "src/parser_proc.c"
}
break;
- case 149: /* impl_type */
+ case 149: /* free_stmt */
{
-#line 168 "src/parser_proc.y"
-psi_impl_type_free(&(yypminor->yy142));
-#line 1406 "src/parser_proc.c"
+#line 165 "src/parser_proc.y"
+psi_free_stmt_free(&(yypminor->yy102));
+#line 1407 "src/parser_proc.c"
+}
+ break;
+ case 151: /* free_exp */
+{
+#line 169 "src/parser_proc.y"
+psi_free_exp_free(&(yypminor->yy114));
+#line 1414 "src/parser_proc.c"
+}
+ break;
+ case 152: /* impl_type */
+{
+#line 171 "src/parser_proc.y"
+psi_impl_type_free(&(yypminor->yy40));
+#line 1421 "src/parser_proc.c"
}
break;
/********* End destructor definitions *****************************************/
YYCODETYPE lhs; /* Symbol on the left-hand side of the rule */
unsigned char nrhs; /* Number of right-hand side symbols in the rule */
} yyRuleInfo[] = {
- { 155, 3 },
- { 155, 1 },
- { 155, 1 },
- { 155, 1 },
- { 155, 1 },
- { 155, 1 },
- { 155, 1 },
- { 155, 1 },
- { 156, 0 },
- { 156, 1 },
- { 102, 0 },
- { 102, 7 },
- { 157, 2 },
- { 158, 2 },
- { 159, 2 },
- { 96, 4 },
- { 97, 1 },
- { 97, 3 },
- { 98, 3 },
- { 98, 1 },
+ { 158, 3 },
+ { 158, 1 },
+ { 158, 1 },
+ { 158, 1 },
+ { 158, 1 },
+ { 158, 1 },
+ { 158, 1 },
+ { 158, 1 },
+ { 159, 0 },
+ { 159, 1 },
+ { 104, 0 },
+ { 104, 7 },
+ { 160, 2 },
+ { 161, 2 },
+ { 162, 2 },
+ { 98, 4 },
+ { 99, 1 },
{ 99, 3 },
+ { 100, 3 },
{ 100, 1 },
- { 100, 1 },
- { 101, 4 },
+ { 101, 3 },
+ { 102, 1 },
+ { 102, 1 },
{ 103, 4 },
- { 104, 1 },
- { 105, 6 },
- { 106, 3 },
- { 107, 4 },
- { 107, 4 },
- { 107, 2 },
- { 108, 1 },
- { 109, 3 },
- { 108, 2 },
- { 108, 1 },
- { 110, 6 },
- { 110, 8 },
- { 111, 1 },
- { 111, 2 },
- { 108, 7 },
- { 108, 8 },
- { 112, 1 },
- { 160, 0 },
- { 160, 3 },
+ { 105, 4 },
+ { 106, 1 },
+ { 107, 6 },
+ { 108, 3 },
+ { 109, 4 },
+ { 109, 4 },
+ { 109, 2 },
+ { 110, 1 },
+ { 111, 3 },
+ { 110, 2 },
+ { 110, 1 },
+ { 112, 6 },
+ { 112, 8 },
+ { 113, 1 },
{ 113, 2 },
- { 113, 3 },
+ { 110, 7 },
+ { 110, 8 },
{ 114, 1 },
- { 114, 3 },
+ { 163, 0 },
+ { 163, 3 },
{ 115, 2 },
- { 108, 7 },
{ 115, 3 },
- { 115, 4 },
- { 116, 0 },
- { 116, 1 },
{ 116, 1 },
{ 116, 3 },
- { 117, 1 },
{ 117, 2 },
- { 118, 2 },
+ { 110, 7 },
+ { 117, 3 },
+ { 117, 4 },
+ { 118, 0 },
+ { 118, 1 },
+ { 118, 1 },
{ 118, 3 },
- { 119, 0 },
- { 119, 7 },
- { 161, 1 },
- { 161, 2 },
- { 162, 0 },
- { 162, 1 },
- { 161, 1 },
- { 161, 2 },
- { 163, 0 },
- { 163, 1 },
- { 163, 2 },
- { 164, 0 },
- { 164, 1 },
- { 120, 2 },
- { 120, 2 },
- { 120, 1 },
- { 120, 1 },
- { 120, 1 },
- { 120, 2 },
+ { 119, 1 },
+ { 119, 2 },
{ 120, 2 },
- { 120, 2 },
- { 120, 1 },
- { 121, 1 },
- { 121, 2 },
- { 122, 4 },
- { 122, 5 },
- { 123, 7 },
- { 123, 8 },
- { 123, 13 },
- { 124, 1 },
- { 125, 2 },
- { 149, 1 },
- { 126, 2 },
- { 126, 4 },
- { 127, 1 },
- { 127, 3 },
+ { 120, 3 },
+ { 121, 0 },
+ { 121, 7 },
+ { 164, 1 },
+ { 164, 2 },
+ { 165, 0 },
+ { 165, 1 },
+ { 164, 1 },
+ { 164, 2 },
+ { 166, 0 },
+ { 166, 1 },
+ { 166, 2 },
+ { 167, 0 },
+ { 167, 1 },
+ { 122, 2 },
+ { 122, 2 },
+ { 122, 1 },
+ { 122, 1 },
+ { 122, 1 },
+ { 122, 2 },
+ { 122, 2 },
+ { 122, 2 },
+ { 122, 1 },
+ { 123, 1 },
+ { 123, 2 },
+ { 124, 4 },
+ { 124, 5 },
+ { 125, 7 },
+ { 125, 8 },
+ { 125, 13 },
+ { 126, 1 },
+ { 127, 2 },
+ { 152, 1 },
+ { 128, 2 },
+ { 128, 4 },
{ 129, 1 },
- { 129, 2 },
- { 130, 1 },
- { 130, 1 },
- { 130, 1 },
- { 130, 1 },
- { 131, 1 },
+ { 129, 3 },
{ 131, 1 },
+ { 131, 2 },
{ 132, 1 },
- { 132, 3 },
- { 132, 3 },
- { 132, 2 },
- { 139, 1 },
- { 139, 2 },
- { 139, 1 },
- { 139, 1 },
- { 139, 2 },
- { 139, 1 },
- { 139, 2 },
- { 139, 1 },
- { 139, 2 },
- { 139, 3 },
- { 133, 3 },
- { 133, 6 },
- { 138, 8 },
- { 134, 6 },
- { 135, 4 },
+ { 132, 1 },
+ { 132, 1 },
+ { 132, 1 },
+ { 132, 1 },
+ { 133, 1 },
+ { 133, 1 },
+ { 134, 1 },
+ { 134, 3 },
+ { 134, 3 },
+ { 134, 2 },
+ { 141, 1 },
+ { 141, 2 },
+ { 141, 1 },
+ { 141, 1 },
+ { 141, 2 },
+ { 141, 1 },
+ { 141, 2 },
+ { 141, 1 },
+ { 141, 2 },
+ { 141, 3 },
+ { 135, 3 },
{ 135, 6 },
- { 140, 1 },
- { 140, 3 },
- { 136, 0 },
- { 136, 1 },
- { 137, 1 },
- { 137, 3 },
- { 165, 1 },
- { 165, 1 },
- { 144, 4 },
- { 144, 6 },
- { 144, 6 },
- { 142, 1 },
+ { 140, 8 },
+ { 136, 6 },
+ { 137, 4 },
+ { 137, 6 },
{ 142, 1 },
- { 143, 1 },
- { 143, 3 },
{ 142, 3 },
- { 141, 3 },
- { 145, 3 },
+ { 138, 0 },
+ { 138, 1 },
+ { 139, 1 },
+ { 139, 3 },
+ { 168, 1 },
+ { 168, 1 },
+ { 147, 4 },
+ { 147, 6 },
+ { 147, 6 },
+ { 145, 1 },
+ { 145, 1 },
+ { 146, 1 },
{ 146, 3 },
- { 147, 1 },
- { 147, 3 },
- { 148, 4 },
- { 150, 0 },
+ { 145, 3 },
+ { 144, 3 },
+ { 148, 3 },
+ { 149, 3 },
{ 150, 1 },
- { 151, 0 },
- { 151, 1 },
- { 152, 1 },
- { 152, 2 },
+ { 150, 3 },
+ { 151, 4 },
+ { 143, 3 },
+ { 153, 0 },
{ 153, 1 },
+ { 154, 0 },
{ 154, 1 },
- { 154, 2 },
- { 155, 1 },
{ 155, 1 },
+ { 155, 2 },
+ { 156, 1 },
+ { 157, 1 },
+ { 157, 2 },
+ { 158, 1 },
+ { 158, 1 },
};
static void yy_accept(yyParser*); /* Forward Declaration */
/********** Begin reduce actions **********************************************/
YYMINORTYPE yylhsminor;
case 0: /* block ::= LIB QUOTED_STRING EOS */
-#line 177 "src/parser_proc.y"
+#line 180 "src/parser_proc.y"
{
if (P->file.ln) {
P->error(PSI_DATA(P), yymsp[-2].minor.yy0, PSI_WARNING, "Extra 'lib %s' statement has no effect", yymsp[-1].minor.yy0->text);
free(yymsp[-1].minor.yy0);
free(yymsp[-2].minor.yy0);
}
-#line 1889 "src/parser_proc.c"
- yy_destructor(yypParser,71,&yymsp[0].minor);
+#line 1906 "src/parser_proc.c"
+ yy_destructor(yypParser,73,&yymsp[0].minor);
break;
case 1: /* block ::= decl */
-#line 186 "src/parser_proc.y"
+#line 189 "src/parser_proc.y"
{
if (!P->decls) {
P->decls = psi_plist_init((psi_plist_dtor) psi_decl_free);
}
- P->decls = psi_plist_add(P->decls, &yymsp[0].minor.yy71);
+ P->decls = psi_plist_add(P->decls, &yymsp[0].minor.yy17);
}
-#line 1900 "src/parser_proc.c"
+#line 1917 "src/parser_proc.c"
break;
case 2: /* block ::= impl */
-#line 192 "src/parser_proc.y"
+#line 195 "src/parser_proc.y"
{
if (!P->impls) {
P->impls = psi_plist_init((psi_plist_dtor) psi_impl_free);
}
- P->impls = psi_plist_add(P->impls, &yymsp[0].minor.yy49);
+ P->impls = psi_plist_add(P->impls, &yymsp[0].minor.yy303);
}
-#line 1910 "src/parser_proc.c"
+#line 1927 "src/parser_proc.c"
break;
case 3: /* block ::= decl_typedef */
-#line 198 "src/parser_proc.y"
+#line 201 "src/parser_proc.y"
{
if (!P->types) {
P->types = psi_plist_init((psi_plist_dtor) psi_decl_arg_free);
}
- P->types = psi_plist_add(P->types, &yymsp[0].minor.yy260);
- switch (yymsp[0].minor.yy260->type->type) {
+ P->types = psi_plist_add(P->types, &yymsp[0].minor.yy64);
+ switch (yymsp[0].minor.yy64->type->type) {
case PSI_T_STRUCT:
- if (yymsp[0].minor.yy260->type->real.strct) {
+ if (yymsp[0].minor.yy64->type->real.strct) {
if (!P->structs) {
P->structs = psi_plist_init((psi_plist_dtor) psi_decl_struct_free);
}
- P->structs = psi_plist_add(P->structs, &yymsp[0].minor.yy260->type->real.strct);
+ P->structs = psi_plist_add(P->structs, &yymsp[0].minor.yy64->type->real.strct);
}
break;
case PSI_T_UNION:
- if (yymsp[0].minor.yy260->type->real.unn) {
+ if (yymsp[0].minor.yy64->type->real.unn) {
if (!P->unions) {
P->unions = psi_plist_init((psi_plist_dtor) psi_decl_union_free);
}
- P->unions = psi_plist_add(P->unions, &yymsp[0].minor.yy260->type->real.unn);
+ P->unions = psi_plist_add(P->unions, &yymsp[0].minor.yy64->type->real.unn);
}
break;
case PSI_T_ENUM:
- if (yymsp[0].minor.yy260->type->real.enm) {
+ if (yymsp[0].minor.yy64->type->real.enm) {
if (!P->enums) {
P->enums = psi_plist_init((psi_plist_dtor) psi_decl_enum_free);
}
- P->enums = psi_plist_add(P->enums, &yymsp[0].minor.yy260->type->real.enm);
+ P->enums = psi_plist_add(P->enums, &yymsp[0].minor.yy64->type->real.enm);
}
break;
}
}
-#line 1946 "src/parser_proc.c"
+#line 1963 "src/parser_proc.c"
break;
case 4: /* block ::= constant */
-#line 230 "src/parser_proc.y"
+#line 233 "src/parser_proc.y"
{
if (!P->consts) {
P->consts = psi_plist_init((psi_plist_dtor) psi_const_free);
}
- P->consts = psi_plist_add(P->consts, &yymsp[0].minor.yy106);
+ P->consts = psi_plist_add(P->consts, &yymsp[0].minor.yy336);
}
-#line 1956 "src/parser_proc.c"
+#line 1973 "src/parser_proc.c"
break;
case 5: /* block ::= decl_struct */
-#line 236 "src/parser_proc.y"
+#line 239 "src/parser_proc.y"
{
if (!P->structs) {
P->structs = psi_plist_init((psi_plist_dtor) psi_decl_struct_free);
}
- P->structs = psi_plist_add(P->structs, &yymsp[0].minor.yy271);
+ P->structs = psi_plist_add(P->structs, &yymsp[0].minor.yy137);
}
-#line 1966 "src/parser_proc.c"
+#line 1983 "src/parser_proc.c"
break;
case 6: /* block ::= decl_union */
-#line 242 "src/parser_proc.y"
+#line 245 "src/parser_proc.y"
{
if (!P->unions) {
P->unions = psi_plist_init((psi_plist_dtor) psi_decl_union_free);
}
- P->unions = psi_plist_add(P->unions, &yymsp[0].minor.yy19);
+ P->unions = psi_plist_add(P->unions, &yymsp[0].minor.yy47);
}
-#line 1976 "src/parser_proc.c"
+#line 1993 "src/parser_proc.c"
break;
case 7: /* block ::= decl_enum */
-#line 248 "src/parser_proc.y"
+#line 251 "src/parser_proc.y"
{
if (!P->enums) {
P->enums = psi_plist_init((psi_plist_dtor) psi_decl_enum_free);
}
- P->enums = psi_plist_add(P->enums, &yymsp[0].minor.yy279);
+ P->enums = psi_plist_add(P->enums, &yymsp[0].minor.yy87);
}
-#line 1986 "src/parser_proc.c"
+#line 2003 "src/parser_proc.c"
break;
case 8: /* optional_name ::= */
case 42: /* decl_var_array_size ::= */ yytestcase(yyruleno==42);
case 64: /* decl_scalar_type_short ::= */ yytestcase(yyruleno==64);
case 68: /* decl_scalar_type_long ::= */ yytestcase(yyruleno==68);
case 71: /* decl_scalar_type_long_long ::= */ yytestcase(yyruleno==71);
-#line 254 "src/parser_proc.y"
+#line 257 "src/parser_proc.y"
{
yymsp[1].minor.yy0 = NULL;
}
-#line 1997 "src/parser_proc.c"
+#line 2014 "src/parser_proc.c"
break;
case 9: /* optional_name ::= NAME */
case 62: /* decl_scalar_type ::= CHAR */ yytestcase(yyruleno==62);
case 66: /* decl_scalar_type ::= INT */ yytestcase(yyruleno==66);
case 69: /* decl_scalar_type_long ::= DOUBLE */ yytestcase(yyruleno==69);
case 72: /* decl_scalar_type_long_long ::= INT */ yytestcase(yyruleno==72);
- case 130: /* callback_rval ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT */ yytestcase(yyruleno==130);
- case 131: /* callback_rval ::= VOID */ yytestcase(yyruleno==131);
-#line 257 "src/parser_proc.y"
+ case 131: /* callback_rval ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT */ yytestcase(yyruleno==131);
+ case 132: /* callback_rval ::= VOID */ yytestcase(yyruleno==132);
+#line 260 "src/parser_proc.y"
{
yylhsminor.yy0 = yymsp[0].minor.yy0;
}
-#line 2011 "src/parser_proc.c"
+#line 2028 "src/parser_proc.c"
yymsp[0].minor.yy0 = yylhsminor.yy0;
break;
case 10: /* align_and_size ::= */
-#line 260 "src/parser_proc.y"
+#line 263 "src/parser_proc.y"
{
- yymsp[1].minor.yy323.pos = 0;
- yymsp[1].minor.yy323.len = 0;
+ yymsp[1].minor.yy207.pos = 0;
+ yymsp[1].minor.yy207.len = 0;
}
-#line 2020 "src/parser_proc.c"
+#line 2037 "src/parser_proc.c"
break;
case 11: /* align_and_size ::= COLON COLON LPAREN NUMBER COMMA NUMBER RPAREN */
-{ yy_destructor(yypParser,72,&yymsp[-6].minor);
-#line 264 "src/parser_proc.y"
+{ yy_destructor(yypParser,74,&yymsp[-6].minor);
+#line 267 "src/parser_proc.y"
{
- yymsp[-6].minor.yy323.pos = atol(yymsp[-3].minor.yy0->text);
- yymsp[-6].minor.yy323.len = atol(yymsp[-1].minor.yy0->text);
+ yymsp[-6].minor.yy207.pos = atol(yymsp[-3].minor.yy0->text);
+ yymsp[-6].minor.yy207.len = atol(yymsp[-1].minor.yy0->text);
free(yymsp[-3].minor.yy0);
free(yymsp[-1].minor.yy0);
}
-#line 2031 "src/parser_proc.c"
- yy_destructor(yypParser,72,&yymsp[-5].minor);
- yy_destructor(yypParser,73,&yymsp[-4].minor);
- yy_destructor(yypParser,74,&yymsp[-2].minor);
- yy_destructor(yypParser,75,&yymsp[0].minor);
+#line 2048 "src/parser_proc.c"
+ yy_destructor(yypParser,74,&yymsp[-5].minor);
+ yy_destructor(yypParser,75,&yymsp[-4].minor);
+ yy_destructor(yypParser,76,&yymsp[-2].minor);
+ yy_destructor(yypParser,77,&yymsp[0].minor);
}
break;
case 12: /* enum_name ::= ENUM optional_name */
case 13: /* struct_name ::= STRUCT optional_name */ yytestcase(yyruleno==13);
case 14: /* union_name ::= UNION optional_name */ yytestcase(yyruleno==14);
-#line 270 "src/parser_proc.y"
+#line 273 "src/parser_proc.y"
{
if (yymsp[0].minor.yy0) {
yylhsminor.yy0 = yymsp[0].minor.yy0;
yylhsminor.yy0 = psi_token_translit(psi_token_append(yymsp[-1].minor.yy0, 1, digest), " ", "@");
}
}
-#line 2052 "src/parser_proc.c"
+#line 2069 "src/parser_proc.c"
yymsp[-1].minor.yy0 = yylhsminor.yy0;
break;
case 15: /* decl_enum ::= enum_name LBRACE decl_enum_items RBRACE */
-#line 300 "src/parser_proc.y"
+#line 303 "src/parser_proc.y"
{
- yylhsminor.yy279 = psi_decl_enum_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy303);
- yylhsminor.yy279->token = yymsp[-3].minor.yy0;
+ yylhsminor.yy87 = psi_decl_enum_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy7);
+ yylhsminor.yy87->token = yymsp[-3].minor.yy0;
}
-#line 2061 "src/parser_proc.c"
- yy_destructor(yypParser,79,&yymsp[-2].minor);
- yy_destructor(yypParser,80,&yymsp[0].minor);
- yymsp[-3].minor.yy279 = yylhsminor.yy279;
+#line 2078 "src/parser_proc.c"
+ yy_destructor(yypParser,81,&yymsp[-2].minor);
+ yy_destructor(yypParser,82,&yymsp[0].minor);
+ yymsp[-3].minor.yy87 = yylhsminor.yy87;
break;
case 16: /* decl_enum_items ::= decl_enum_item */
-#line 304 "src/parser_proc.y"
+#line 307 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_enum_item_free),
- &yymsp[0].minor.yy69);
+ yylhsminor.yy7 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_enum_item_free),
+ &yymsp[0].minor.yy109);
}
-#line 2072 "src/parser_proc.c"
- yymsp[0].minor.yy303 = yylhsminor.yy303;
+#line 2089 "src/parser_proc.c"
+ yymsp[0].minor.yy7 = yylhsminor.yy7;
break;
case 17: /* decl_enum_items ::= decl_enum_items COMMA decl_enum_item */
-#line 308 "src/parser_proc.y"
+#line 311 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(yymsp[-2].minor.yy303, &yymsp[0].minor.yy69);
+ yylhsminor.yy7 = psi_plist_add(yymsp[-2].minor.yy7, &yymsp[0].minor.yy109);
}
-#line 2080 "src/parser_proc.c"
- yy_destructor(yypParser,74,&yymsp[-1].minor);
- yymsp[-2].minor.yy303 = yylhsminor.yy303;
+#line 2097 "src/parser_proc.c"
+ yy_destructor(yypParser,76,&yymsp[-1].minor);
+ yymsp[-2].minor.yy7 = yylhsminor.yy7;
break;
case 18: /* decl_enum_item ::= NAME EQUALS num_exp */
-#line 311 "src/parser_proc.y"
+#line 314 "src/parser_proc.y"
{
- yylhsminor.yy69 = psi_decl_enum_item_init(yymsp[-2].minor.yy0->text, yymsp[0].minor.yy39);
- yylhsminor.yy69->token = yymsp[-2].minor.yy0;
+ yylhsminor.yy109 = psi_decl_enum_item_init(yymsp[-2].minor.yy0->text, yymsp[0].minor.yy124);
+ yylhsminor.yy109->token = yymsp[-2].minor.yy0;
}
-#line 2090 "src/parser_proc.c"
- yy_destructor(yypParser,81,&yymsp[-1].minor);
- yymsp[-2].minor.yy69 = yylhsminor.yy69;
+#line 2107 "src/parser_proc.c"
+ yy_destructor(yypParser,83,&yymsp[-1].minor);
+ yymsp[-2].minor.yy109 = yylhsminor.yy109;
break;
case 19: /* decl_enum_item ::= NAME */
-#line 315 "src/parser_proc.y"
+#line 318 "src/parser_proc.y"
{
- yylhsminor.yy69 = psi_decl_enum_item_init(yymsp[0].minor.yy0->text, NULL);
- yylhsminor.yy69->token = yymsp[0].minor.yy0;
+ yylhsminor.yy109 = psi_decl_enum_item_init(yymsp[0].minor.yy0->text, NULL);
+ yylhsminor.yy109->token = yymsp[0].minor.yy0;
}
-#line 2100 "src/parser_proc.c"
- yymsp[0].minor.yy69 = yylhsminor.yy69;
+#line 2117 "src/parser_proc.c"
+ yymsp[0].minor.yy109 = yylhsminor.yy109;
break;
case 20: /* decl_struct_args_block ::= LBRACE struct_args RBRACE */
-{ yy_destructor(yypParser,79,&yymsp[-2].minor);
-#line 319 "src/parser_proc.y"
+{ yy_destructor(yypParser,81,&yymsp[-2].minor);
+#line 322 "src/parser_proc.y"
{
- yymsp[-2].minor.yy303 = yymsp[-1].minor.yy303;
+ yymsp[-2].minor.yy7 = yymsp[-1].minor.yy7;
}
-#line 2109 "src/parser_proc.c"
- yy_destructor(yypParser,80,&yymsp[0].minor);
+#line 2126 "src/parser_proc.c"
+ yy_destructor(yypParser,82,&yymsp[0].minor);
}
break;
case 21: /* decl_struct_args ::= decl_struct_args_block */
-#line 322 "src/parser_proc.y"
+#line 325 "src/parser_proc.y"
{
- yylhsminor.yy303 = yymsp[0].minor.yy303;
+ yylhsminor.yy7 = yymsp[0].minor.yy7;
}
-#line 2118 "src/parser_proc.c"
- yymsp[0].minor.yy303 = yylhsminor.yy303;
+#line 2135 "src/parser_proc.c"
+ yymsp[0].minor.yy7 = yylhsminor.yy7;
break;
case 22: /* decl_struct_args ::= EOS */
-{ yy_destructor(yypParser,71,&yymsp[0].minor);
-#line 325 "src/parser_proc.y"
+{ yy_destructor(yypParser,73,&yymsp[0].minor);
+#line 328 "src/parser_proc.y"
{
- yymsp[0].minor.yy303 = psi_plist_init((psi_plist_dtor) psi_decl_arg_free);
+ yymsp[0].minor.yy7 = psi_plist_init((psi_plist_dtor) psi_decl_arg_free);
}
-#line 2127 "src/parser_proc.c"
+#line 2144 "src/parser_proc.c"
}
break;
case 23: /* decl_struct ::= STRUCT NAME align_and_size decl_struct_args */
-{ yy_destructor(yypParser,77,&yymsp[-3].minor);
-#line 328 "src/parser_proc.y"
+{ yy_destructor(yypParser,79,&yymsp[-3].minor);
+#line 331 "src/parser_proc.y"
{
- yymsp[-3].minor.yy271 = psi_decl_struct_init(yymsp[-2].minor.yy0->text, yymsp[0].minor.yy303);
- yymsp[-3].minor.yy271->align = yymsp[-1].minor.yy323.pos;
- yymsp[-3].minor.yy271->size = yymsp[-1].minor.yy323.len;
- yymsp[-3].minor.yy271->token = yymsp[-2].minor.yy0;
+ yymsp[-3].minor.yy137 = psi_decl_struct_init(yymsp[-2].minor.yy0->text, yymsp[0].minor.yy7);
+ yymsp[-3].minor.yy137->align = yymsp[-1].minor.yy207.pos;
+ yymsp[-3].minor.yy137->size = yymsp[-1].minor.yy207.len;
+ yymsp[-3].minor.yy137->token = yymsp[-2].minor.yy0;
}
-#line 2139 "src/parser_proc.c"
+#line 2156 "src/parser_proc.c"
}
break;
case 24: /* decl_union ::= UNION NAME align_and_size decl_struct_args */
-{ yy_destructor(yypParser,78,&yymsp[-3].minor);
-#line 334 "src/parser_proc.y"
+{ yy_destructor(yypParser,80,&yymsp[-3].minor);
+#line 337 "src/parser_proc.y"
{
- yymsp[-3].minor.yy19 = psi_decl_union_init(yymsp[-2].minor.yy0->text, yymsp[0].minor.yy303);
- yymsp[-3].minor.yy19->align = yymsp[-1].minor.yy323.pos;
- yymsp[-3].minor.yy19->size = yymsp[-1].minor.yy323.len;
- yymsp[-3].minor.yy19->token = yymsp[-2].minor.yy0;
+ yymsp[-3].minor.yy47 = psi_decl_union_init(yymsp[-2].minor.yy0->text, yymsp[0].minor.yy7);
+ yymsp[-3].minor.yy47->align = yymsp[-1].minor.yy207.pos;
+ yymsp[-3].minor.yy47->size = yymsp[-1].minor.yy207.len;
+ yymsp[-3].minor.yy47->token = yymsp[-2].minor.yy0;
}
-#line 2151 "src/parser_proc.c"
+#line 2168 "src/parser_proc.c"
}
break;
case 25: /* const_type ::= BOOL|INT|FLOAT|STRING */
-#line 340 "src/parser_proc.y"
+#line 343 "src/parser_proc.y"
{
- yylhsminor.yy7 = psi_const_type_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
+ yylhsminor.yy181 = psi_const_type_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
free(yymsp[0].minor.yy0);
}
-#line 2160 "src/parser_proc.c"
- yymsp[0].minor.yy7 = yylhsminor.yy7;
+#line 2177 "src/parser_proc.c"
+ yymsp[0].minor.yy181 = yylhsminor.yy181;
break;
case 26: /* constant ::= CONST const_type NSNAME EQUALS impl_def_val EOS */
-{ yy_destructor(yypParser,82,&yymsp[-5].minor);
-#line 344 "src/parser_proc.y"
+{ yy_destructor(yypParser,84,&yymsp[-5].minor);
+#line 347 "src/parser_proc.y"
{
- yymsp[-5].minor.yy106 = psi_const_init(yymsp[-4].minor.yy7, yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy21);
- yymsp[-5].minor.yy106->token = yymsp[-3].minor.yy0;
+ yymsp[-5].minor.yy336 = psi_const_init(yymsp[-4].minor.yy181, yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy319);
+ yymsp[-5].minor.yy336->token = yymsp[-3].minor.yy0;
}
-#line 2170 "src/parser_proc.c"
- yy_destructor(yypParser,81,&yymsp[-2].minor);
- yy_destructor(yypParser,71,&yymsp[0].minor);
+#line 2187 "src/parser_proc.c"
+ yy_destructor(yypParser,83,&yymsp[-2].minor);
+ yy_destructor(yypParser,73,&yymsp[0].minor);
}
break;
case 27: /* decl_typedef ::= TYPEDEF decl_typedef_body EOS */
-#line 348 "src/parser_proc.y"
+#line 351 "src/parser_proc.y"
{
- yylhsminor.yy260 = yymsp[-1].minor.yy260;
- yylhsminor.yy260->token = yymsp[-2].minor.yy0;
+ yylhsminor.yy64 = yymsp[-1].minor.yy64;
+ yylhsminor.yy64->token = yymsp[-2].minor.yy0;
}
-#line 2181 "src/parser_proc.c"
- yy_destructor(yypParser,71,&yymsp[0].minor);
- yymsp[-2].minor.yy260 = yylhsminor.yy260;
+#line 2198 "src/parser_proc.c"
+ yy_destructor(yypParser,73,&yymsp[0].minor);
+ yymsp[-2].minor.yy64 = yylhsminor.yy64;
break;
case 28: /* decl_typedef_body_ex ::= struct_name align_and_size decl_struct_args_block decl_var */
-#line 352 "src/parser_proc.y"
+#line 355 "src/parser_proc.y"
{
- yylhsminor.yy260 = psi_decl_arg_init(psi_decl_type_init(PSI_T_STRUCT, yymsp[-3].minor.yy0->text), yymsp[0].minor.yy207);
- yylhsminor.yy260->type->token = psi_token_copy(yymsp[-3].minor.yy0);
- yylhsminor.yy260->type->real.strct = psi_decl_struct_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy303);
- yylhsminor.yy260->type->real.strct->token = yymsp[-3].minor.yy0;
- yylhsminor.yy260->type->real.strct->align = yymsp[-2].minor.yy323.pos;
- yylhsminor.yy260->type->real.strct->size = yymsp[-2].minor.yy323.len;
+ yylhsminor.yy64 = psi_decl_arg_init(psi_decl_type_init(PSI_T_STRUCT, yymsp[-3].minor.yy0->text), yymsp[0].minor.yy131);
+ yylhsminor.yy64->type->token = psi_token_copy(yymsp[-3].minor.yy0);
+ yylhsminor.yy64->type->real.strct = psi_decl_struct_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy7);
+ yylhsminor.yy64->type->real.strct->token = yymsp[-3].minor.yy0;
+ yylhsminor.yy64->type->real.strct->align = yymsp[-2].minor.yy207.pos;
+ yylhsminor.yy64->type->real.strct->size = yymsp[-2].minor.yy207.len;
}
-#line 2195 "src/parser_proc.c"
- yymsp[-3].minor.yy260 = yylhsminor.yy260;
+#line 2212 "src/parser_proc.c"
+ yymsp[-3].minor.yy64 = yylhsminor.yy64;
break;
case 29: /* decl_typedef_body_ex ::= union_name align_and_size decl_struct_args_block decl_var */
-#line 360 "src/parser_proc.y"
+#line 363 "src/parser_proc.y"
{
- yylhsminor.yy260 = psi_decl_arg_init(psi_decl_type_init(PSI_T_UNION, yymsp[-3].minor.yy0->text), yymsp[0].minor.yy207);
- yylhsminor.yy260->type->token = psi_token_copy(yymsp[-3].minor.yy0);
- yylhsminor.yy260->type->real.unn = psi_decl_union_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy303);
- yylhsminor.yy260->type->real.unn->token = yymsp[-3].minor.yy0;
- yylhsminor.yy260->type->real.unn->align = yymsp[-2].minor.yy323.pos;
- yylhsminor.yy260->type->real.unn->size = yymsp[-2].minor.yy323.len;
+ yylhsminor.yy64 = psi_decl_arg_init(psi_decl_type_init(PSI_T_UNION, yymsp[-3].minor.yy0->text), yymsp[0].minor.yy131);
+ yylhsminor.yy64->type->token = psi_token_copy(yymsp[-3].minor.yy0);
+ yylhsminor.yy64->type->real.unn = psi_decl_union_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy7);
+ yylhsminor.yy64->type->real.unn->token = yymsp[-3].minor.yy0;
+ yylhsminor.yy64->type->real.unn->align = yymsp[-2].minor.yy207.pos;
+ yylhsminor.yy64->type->real.unn->size = yymsp[-2].minor.yy207.len;
}
-#line 2208 "src/parser_proc.c"
- yymsp[-3].minor.yy260 = yylhsminor.yy260;
+#line 2225 "src/parser_proc.c"
+ yymsp[-3].minor.yy64 = yylhsminor.yy64;
break;
case 30: /* decl_typedef_body_ex ::= decl_enum NAME */
-#line 368 "src/parser_proc.y"
+#line 371 "src/parser_proc.y"
{
- yylhsminor.yy260 = psi_decl_arg_init(psi_decl_type_init(PSI_T_ENUM, yymsp[-1].minor.yy279->name), psi_decl_var_init(yymsp[0].minor.yy0->text, 0, 0));
- yylhsminor.yy260->var->token = yymsp[0].minor.yy0;
- yylhsminor.yy260->type->token = psi_token_copy(yymsp[-1].minor.yy279->token);
- yylhsminor.yy260->type->real.enm = yymsp[-1].minor.yy279;
+ yylhsminor.yy64 = psi_decl_arg_init(psi_decl_type_init(PSI_T_ENUM, yymsp[-1].minor.yy87->name), psi_decl_var_init(yymsp[0].minor.yy0->text, 0, 0));
+ yylhsminor.yy64->var->token = yymsp[0].minor.yy0;
+ yylhsminor.yy64->type->token = psi_token_copy(yymsp[-1].minor.yy87->token);
+ yylhsminor.yy64->type->real.enm = yymsp[-1].minor.yy87;
}
-#line 2219 "src/parser_proc.c"
- yymsp[-1].minor.yy260 = yylhsminor.yy260;
+#line 2236 "src/parser_proc.c"
+ yymsp[-1].minor.yy64 = yylhsminor.yy64;
break;
case 31: /* decl_typedef_body ::= decl_typedef_body_ex */
case 34: /* decl_typedef_body ::= decl_arg */ yytestcase(yyruleno==34);
case 37: /* decl_func ::= decl_arg */ yytestcase(yyruleno==37);
-#line 374 "src/parser_proc.y"
+#line 377 "src/parser_proc.y"
{
- yylhsminor.yy260 = yymsp[0].minor.yy260;
+ yylhsminor.yy64 = yymsp[0].minor.yy64;
}
-#line 2229 "src/parser_proc.c"
- yymsp[0].minor.yy260 = yylhsminor.yy260;
+#line 2246 "src/parser_proc.c"
+ yymsp[0].minor.yy64 = yylhsminor.yy64;
break;
case 32: /* decl_typedef_body_fn_args ::= LPAREN decl_args RPAREN */
-{ yy_destructor(yypParser,73,&yymsp[-2].minor);
-#line 377 "src/parser_proc.y"
+{ yy_destructor(yypParser,75,&yymsp[-2].minor);
+#line 380 "src/parser_proc.y"
{
- yymsp[-2].minor.yy303 = yymsp[-1].minor.yy303;
+ yymsp[-2].minor.yy7 = yymsp[-1].minor.yy7;
}
-#line 2238 "src/parser_proc.c"
- yy_destructor(yypParser,75,&yymsp[0].minor);
+#line 2255 "src/parser_proc.c"
+ yy_destructor(yypParser,77,&yymsp[0].minor);
}
break;
case 33: /* decl_typedef_body ::= decl_func decl_typedef_body_fn_args */
-#line 380 "src/parser_proc.y"
+#line 383 "src/parser_proc.y"
{
- yylhsminor.yy260 = psi_decl_arg_init(psi_decl_type_init(PSI_T_FUNCTION, yymsp[-1].minor.yy260->var->name), psi_decl_var_copy(yymsp[-1].minor.yy260->var));
- yylhsminor.yy260->type->token = psi_token_copy(yymsp[-1].minor.yy260->token);
- yylhsminor.yy260->type->real.func = psi_decl_init(psi_decl_abi_init("default"), yymsp[-1].minor.yy260, yymsp[0].minor.yy303);
+ yylhsminor.yy64 = psi_decl_arg_init(psi_decl_type_init(PSI_T_FUNCTION, yymsp[-1].minor.yy64->var->name), psi_decl_var_copy(yymsp[-1].minor.yy64->var));
+ yylhsminor.yy64->type->token = psi_token_copy(yymsp[-1].minor.yy64->token);
+ yylhsminor.yy64->type->real.func = psi_decl_init(psi_decl_abi_init("default"), yymsp[-1].minor.yy64, yymsp[0].minor.yy7);
}
-#line 2249 "src/parser_proc.c"
- yymsp[-1].minor.yy260 = yylhsminor.yy260;
+#line 2266 "src/parser_proc.c"
+ yymsp[-1].minor.yy64 = yylhsminor.yy64;
break;
case 35: /* decl ::= decl_abi decl_func LPAREN decl_args RPAREN EOS */
-#line 388 "src/parser_proc.y"
+#line 391 "src/parser_proc.y"
{
- yylhsminor.yy71 = psi_decl_init(yymsp[-5].minor.yy242, yymsp[-4].minor.yy260, yymsp[-2].minor.yy303);
+ yylhsminor.yy17 = psi_decl_init(yymsp[-5].minor.yy180, yymsp[-4].minor.yy64, yymsp[-2].minor.yy7);
}
-#line 2257 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-3].minor);
- yy_destructor(yypParser,75,&yymsp[-1].minor);
- yy_destructor(yypParser,71,&yymsp[0].minor);
- yymsp[-5].minor.yy71 = yylhsminor.yy71;
+#line 2274 "src/parser_proc.c"
+ yy_destructor(yypParser,75,&yymsp[-3].minor);
+ yy_destructor(yypParser,77,&yymsp[-1].minor);
+ yy_destructor(yypParser,73,&yymsp[0].minor);
+ yymsp[-5].minor.yy17 = yylhsminor.yy17;
break;
case 36: /* decl ::= decl_abi decl_func LPAREN decl_args COMMA ELLIPSIS RPAREN EOS */
-#line 391 "src/parser_proc.y"
+#line 394 "src/parser_proc.y"
{
- yylhsminor.yy71 = psi_decl_init(yymsp[-7].minor.yy242, yymsp[-6].minor.yy260, yymsp[-4].minor.yy303);
- yylhsminor.yy71->varargs = 1;
+ yylhsminor.yy17 = psi_decl_init(yymsp[-7].minor.yy180, yymsp[-6].minor.yy64, yymsp[-4].minor.yy7);
+ yylhsminor.yy17->varargs = 1;
}
-#line 2269 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-5].minor);
- yy_destructor(yypParser,74,&yymsp[-3].minor);
- yy_destructor(yypParser,84,&yymsp[-2].minor);
- yy_destructor(yypParser,75,&yymsp[-1].minor);
- yy_destructor(yypParser,71,&yymsp[0].minor);
- yymsp[-7].minor.yy71 = yylhsminor.yy71;
+#line 2286 "src/parser_proc.c"
+ yy_destructor(yypParser,75,&yymsp[-5].minor);
+ yy_destructor(yypParser,76,&yymsp[-3].minor);
+ yy_destructor(yypParser,86,&yymsp[-2].minor);
+ yy_destructor(yypParser,77,&yymsp[-1].minor);
+ yy_destructor(yypParser,73,&yymsp[0].minor);
+ yymsp[-7].minor.yy17 = yylhsminor.yy17;
break;
case 38: /* decl_func ::= VOID NAME */
-#line 398 "src/parser_proc.y"
+#line 401 "src/parser_proc.y"
{
- yylhsminor.yy260 = psi_decl_arg_init(
+ yylhsminor.yy64 = psi_decl_arg_init(
psi_decl_type_init(yymsp[-1].minor.yy0->type, yymsp[-1].minor.yy0->text),
psi_decl_var_init(yymsp[0].minor.yy0->text, 0, 0)
);
- yylhsminor.yy260->type->token = yymsp[-1].minor.yy0;
- yylhsminor.yy260->var->token = yymsp[0].minor.yy0;
- yylhsminor.yy260->token = yymsp[0].minor.yy0;
+ yylhsminor.yy64->type->token = yymsp[-1].minor.yy0;
+ yylhsminor.yy64->var->token = yymsp[0].minor.yy0;
+ yylhsminor.yy64->token = yymsp[0].minor.yy0;
}
-#line 2288 "src/parser_proc.c"
- yymsp[-1].minor.yy260 = yylhsminor.yy260;
+#line 2305 "src/parser_proc.c"
+ yymsp[-1].minor.yy64 = yylhsminor.yy64;
break;
case 39: /* decl_typedef_body ::= VOID indirection LPAREN indirection NAME RPAREN decl_typedef_body_fn_args */
-#line 407 "src/parser_proc.y"
+#line 410 "src/parser_proc.y"
{
struct psi_decl_arg *func_ = psi_decl_arg_init(
psi_decl_type_init(yymsp[-6].minor.yy0->type, yymsp[-6].minor.yy0->text),
- psi_decl_var_init(yymsp[-2].minor.yy0->text, yymsp[-5].minor.yy190, 0)
+ psi_decl_var_init(yymsp[-2].minor.yy0->text, yymsp[-5].minor.yy296, 0)
);
func_->type->token = yymsp[-6].minor.yy0;
func_->var->token = yymsp[-2].minor.yy0;
func_->token = yymsp[-2].minor.yy0;
- yylhsminor.yy260 = psi_decl_arg_init(
+ yylhsminor.yy64 = psi_decl_arg_init(
psi_decl_type_init(PSI_T_FUNCTION, func_->var->name),
psi_decl_var_copy(func_->var)
);
- yylhsminor.yy260->var->pointer_level = yymsp[-3].minor.yy190;
- yylhsminor.yy260->type->token = psi_token_copy(func_->token);
- yylhsminor.yy260->type->real.func = psi_decl_init(psi_decl_abi_init("default"), func_, yymsp[0].minor.yy303);
+ yylhsminor.yy64->var->pointer_level = yymsp[-3].minor.yy296;
+ yylhsminor.yy64->type->token = psi_token_copy(func_->token);
+ yylhsminor.yy64->type->real.func = psi_decl_init(psi_decl_abi_init("default"), func_, yymsp[0].minor.yy7);
}
-#line 2309 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-4].minor);
- yy_destructor(yypParser,75,&yymsp[-1].minor);
- yymsp[-6].minor.yy260 = yylhsminor.yy260;
+#line 2326 "src/parser_proc.c"
+ yy_destructor(yypParser,75,&yymsp[-4].minor);
+ yy_destructor(yypParser,77,&yymsp[-1].minor);
+ yymsp[-6].minor.yy64 = yylhsminor.yy64;
break;
case 40: /* decl_typedef_body ::= CONST VOID pointers LPAREN indirection NAME RPAREN decl_typedef_body_fn_args */
-{ yy_destructor(yypParser,82,&yymsp[-7].minor);
-#line 423 "src/parser_proc.y"
+{ yy_destructor(yypParser,84,&yymsp[-7].minor);
+#line 426 "src/parser_proc.y"
{
struct psi_decl_arg *func_ = psi_decl_arg_init(
psi_decl_type_init(yymsp[-6].minor.yy0->type, yymsp[-6].minor.yy0->text),
- psi_decl_var_init(yymsp[-2].minor.yy0->text, yymsp[-5].minor.yy190, 0)
+ psi_decl_var_init(yymsp[-2].minor.yy0->text, yymsp[-5].minor.yy296, 0)
);
func_->type->token = yymsp[-6].minor.yy0;
func_->var->token = yymsp[-2].minor.yy0;
func_->token = yymsp[-2].minor.yy0;
- yymsp[-7].minor.yy260 = psi_decl_arg_init(
+ yymsp[-7].minor.yy64 = psi_decl_arg_init(
psi_decl_type_init(PSI_T_FUNCTION, func_->var->name),
psi_decl_var_copy(func_->var)
);
- yymsp[-7].minor.yy260->var->pointer_level = yymsp[-3].minor.yy190;
- yymsp[-7].minor.yy260->type->token = psi_token_copy(func_->token);
- yymsp[-7].minor.yy260->type->real.func = psi_decl_init(psi_decl_abi_init("default"), func_, yymsp[0].minor.yy303);
+ yymsp[-7].minor.yy64->var->pointer_level = yymsp[-3].minor.yy296;
+ yymsp[-7].minor.yy64->type->token = psi_token_copy(func_->token);
+ yymsp[-7].minor.yy64->type->real.func = psi_decl_init(psi_decl_abi_init("default"), func_, yymsp[0].minor.yy7);
}
-#line 2333 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-4].minor);
- yy_destructor(yypParser,75,&yymsp[-1].minor);
+#line 2350 "src/parser_proc.c"
+ yy_destructor(yypParser,75,&yymsp[-4].minor);
+ yy_destructor(yypParser,77,&yymsp[-1].minor);
}
break;
case 41: /* decl_abi ::= NAME */
-#line 439 "src/parser_proc.y"
+#line 442 "src/parser_proc.y"
{
- yylhsminor.yy242 = psi_decl_abi_init(yymsp[0].minor.yy0->text);
- yylhsminor.yy242->token = yymsp[0].minor.yy0;
+ yylhsminor.yy180 = psi_decl_abi_init(yymsp[0].minor.yy0->text);
+ yylhsminor.yy180->token = yymsp[0].minor.yy0;
}
-#line 2344 "src/parser_proc.c"
- yymsp[0].minor.yy242 = yylhsminor.yy242;
+#line 2361 "src/parser_proc.c"
+ yymsp[0].minor.yy180 = yylhsminor.yy180;
break;
case 43: /* decl_var_array_size ::= LBRACKET NUMBER RBRACKET */
-{ yy_destructor(yypParser,85,&yymsp[-2].minor);
-#line 446 "src/parser_proc.y"
+{ yy_destructor(yypParser,87,&yymsp[-2].minor);
+#line 449 "src/parser_proc.y"
{
yymsp[-2].minor.yy0 = yymsp[-1].minor.yy0;
}
-#line 2353 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[0].minor);
+#line 2370 "src/parser_proc.c"
+ yy_destructor(yypParser,88,&yymsp[0].minor);
}
break;
case 44: /* decl_var ::= NAME decl_var_array_size */
-#line 449 "src/parser_proc.y"
+#line 452 "src/parser_proc.y"
{
- yylhsminor.yy207 = psi_decl_var_init(yymsp[-1].minor.yy0->text, 0, yymsp[0].minor.yy0?atol(yymsp[0].minor.yy0->text):0);
- yylhsminor.yy207->token = yymsp[-1].minor.yy0;
+ yylhsminor.yy131 = psi_decl_var_init(yymsp[-1].minor.yy0->text, 0, yymsp[0].minor.yy0?atol(yymsp[0].minor.yy0->text):0);
+ yylhsminor.yy131->token = yymsp[-1].minor.yy0;
if (yymsp[0].minor.yy0) {
free(yymsp[0].minor.yy0);
}
}
-#line 2366 "src/parser_proc.c"
- yymsp[-1].minor.yy207 = yylhsminor.yy207;
+#line 2383 "src/parser_proc.c"
+ yymsp[-1].minor.yy131 = yylhsminor.yy131;
break;
case 45: /* decl_var ::= pointers NAME decl_var_array_size */
-#line 456 "src/parser_proc.y"
+#line 459 "src/parser_proc.y"
{
- yylhsminor.yy207 = psi_decl_var_init(yymsp[-1].minor.yy0->text, yymsp[-2].minor.yy190+!!yymsp[0].minor.yy0, yymsp[0].minor.yy0?atol(yymsp[0].minor.yy0->text):0);
- yylhsminor.yy207->token = yymsp[-1].minor.yy0;
+ yylhsminor.yy131 = psi_decl_var_init(yymsp[-1].minor.yy0->text, yymsp[-2].minor.yy296+!!yymsp[0].minor.yy0, yymsp[0].minor.yy0?atol(yymsp[0].minor.yy0->text):0);
+ yylhsminor.yy131->token = yymsp[-1].minor.yy0;
if (yymsp[0].minor.yy0) {
free(yymsp[0].minor.yy0);
}
}
-#line 2378 "src/parser_proc.c"
- yymsp[-2].minor.yy207 = yylhsminor.yy207;
+#line 2395 "src/parser_proc.c"
+ yymsp[-2].minor.yy131 = yylhsminor.yy131;
break;
case 46: /* decl_vars ::= decl_var */
-#line 463 "src/parser_proc.y"
+#line 466 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_var_free),
- &yymsp[0].minor.yy207);
+ yylhsminor.yy7 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_var_free),
+ &yymsp[0].minor.yy131);
}
-#line 2387 "src/parser_proc.c"
- yymsp[0].minor.yy303 = yylhsminor.yy303;
+#line 2404 "src/parser_proc.c"
+ yymsp[0].minor.yy7 = yylhsminor.yy7;
break;
case 47: /* decl_vars ::= decl_vars COMMA decl_var */
-#line 467 "src/parser_proc.y"
+#line 470 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(yymsp[-2].minor.yy303, &yymsp[0].minor.yy207);
+ yylhsminor.yy7 = psi_plist_add(yymsp[-2].minor.yy7, &yymsp[0].minor.yy131);
}
-#line 2395 "src/parser_proc.c"
- yy_destructor(yypParser,74,&yymsp[-1].minor);
- yymsp[-2].minor.yy303 = yylhsminor.yy303;
+#line 2412 "src/parser_proc.c"
+ yy_destructor(yypParser,76,&yymsp[-1].minor);
+ yymsp[-2].minor.yy7 = yylhsminor.yy7;
break;
case 48: /* decl_arg ::= const_decl_type decl_var */
-#line 470 "src/parser_proc.y"
+#line 473 "src/parser_proc.y"
{
- yylhsminor.yy260 = psi_decl_arg_init(yymsp[-1].minor.yy152, yymsp[0].minor.yy207);
+ yylhsminor.yy64 = psi_decl_arg_init(yymsp[-1].minor.yy182, yymsp[0].minor.yy131);
}
-#line 2404 "src/parser_proc.c"
- yymsp[-1].minor.yy260 = yylhsminor.yy260;
+#line 2421 "src/parser_proc.c"
+ yymsp[-1].minor.yy64 = yylhsminor.yy64;
break;
case 49: /* decl_typedef_body ::= const_decl_type indirection LPAREN indirection NAME RPAREN decl_typedef_body_fn_args */
-#line 473 "src/parser_proc.y"
+#line 476 "src/parser_proc.y"
{
struct psi_decl_arg *func_ = psi_decl_arg_init(
- yymsp[-6].minor.yy152,
- psi_decl_var_init(yymsp[-2].minor.yy0->text, yymsp[-5].minor.yy190, 0)
+ yymsp[-6].minor.yy182,
+ psi_decl_var_init(yymsp[-2].minor.yy0->text, yymsp[-5].minor.yy296, 0)
);
func_->var->token = yymsp[-2].minor.yy0;
func_->token = yymsp[-2].minor.yy0;
- yylhsminor.yy260 = psi_decl_arg_init(
+ yylhsminor.yy64 = psi_decl_arg_init(
psi_decl_type_init(PSI_T_FUNCTION, func_->var->name),
psi_decl_var_copy(func_->var)
);
- yylhsminor.yy260->var->pointer_level = yymsp[-3].minor.yy190;
- yylhsminor.yy260->type->token = psi_token_copy(func_->token);
- yylhsminor.yy260->type->real.func = psi_decl_init(psi_decl_abi_init("default"), func_, yymsp[0].minor.yy303);
+ yylhsminor.yy64->var->pointer_level = yymsp[-3].minor.yy296;
+ yylhsminor.yy64->type->token = psi_token_copy(func_->token);
+ yylhsminor.yy64->type->real.func = psi_decl_init(psi_decl_abi_init("default"), func_, yymsp[0].minor.yy7);
}
-#line 2424 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-4].minor);
- yy_destructor(yypParser,75,&yymsp[-1].minor);
- yymsp[-6].minor.yy260 = yylhsminor.yy260;
+#line 2441 "src/parser_proc.c"
+ yy_destructor(yypParser,75,&yymsp[-4].minor);
+ yy_destructor(yypParser,77,&yymsp[-1].minor);
+ yymsp[-6].minor.yy64 = yylhsminor.yy64;
break;
case 50: /* decl_arg ::= VOID pointers NAME */
-#line 488 "src/parser_proc.y"
+#line 491 "src/parser_proc.y"
{
- yylhsminor.yy260 = psi_decl_arg_init(
+ yylhsminor.yy64 = psi_decl_arg_init(
psi_decl_type_init(yymsp[-2].minor.yy0->type, yymsp[-2].minor.yy0->text),
- psi_decl_var_init(yymsp[0].minor.yy0->text, yymsp[-1].minor.yy190, 0)
+ psi_decl_var_init(yymsp[0].minor.yy0->text, yymsp[-1].minor.yy296, 0)
);
- yylhsminor.yy260->type->token = yymsp[-2].minor.yy0;
- yylhsminor.yy260->var->token = yymsp[0].minor.yy0;
- yylhsminor.yy260->token = yymsp[0].minor.yy0;
+ yylhsminor.yy64->type->token = yymsp[-2].minor.yy0;
+ yylhsminor.yy64->var->token = yymsp[0].minor.yy0;
+ yylhsminor.yy64->token = yymsp[0].minor.yy0;
}
-#line 2440 "src/parser_proc.c"
- yymsp[-2].minor.yy260 = yylhsminor.yy260;
+#line 2457 "src/parser_proc.c"
+ yymsp[-2].minor.yy64 = yylhsminor.yy64;
break;
case 51: /* decl_arg ::= CONST VOID pointers NAME */
-{ yy_destructor(yypParser,82,&yymsp[-3].minor);
-#line 497 "src/parser_proc.y"
+{ yy_destructor(yypParser,84,&yymsp[-3].minor);
+#line 500 "src/parser_proc.y"
{
- yymsp[-3].minor.yy260 = psi_decl_arg_init(
+ yymsp[-3].minor.yy64 = psi_decl_arg_init(
psi_decl_type_init(yymsp[-2].minor.yy0->type, yymsp[-2].minor.yy0->text),
- psi_decl_var_init(yymsp[0].minor.yy0->text, yymsp[-1].minor.yy190, 0)
+ psi_decl_var_init(yymsp[0].minor.yy0->text, yymsp[-1].minor.yy296, 0)
);
- yymsp[-3].minor.yy260->type->token = yymsp[-2].minor.yy0;
- yymsp[-3].minor.yy260->var->token = yymsp[0].minor.yy0;
- yymsp[-3].minor.yy260->token = yymsp[0].minor.yy0;
+ yymsp[-3].minor.yy64->type->token = yymsp[-2].minor.yy0;
+ yymsp[-3].minor.yy64->var->token = yymsp[0].minor.yy0;
+ yymsp[-3].minor.yy64->token = yymsp[0].minor.yy0;
}
-#line 2455 "src/parser_proc.c"
+#line 2472 "src/parser_proc.c"
}
break;
case 52: /* decl_args ::= */
-#line 506 "src/parser_proc.y"
+#line 509 "src/parser_proc.y"
{
- yymsp[1].minor.yy303 = NULL;
+ yymsp[1].minor.yy7 = NULL;
}
-#line 2463 "src/parser_proc.c"
+#line 2480 "src/parser_proc.c"
break;
case 53: /* decl_args ::= VOID */
{ yy_destructor(yypParser,57,&yymsp[0].minor);
-#line 509 "src/parser_proc.y"
+#line 512 "src/parser_proc.y"
{
- yymsp[0].minor.yy303 = NULL;
+ yymsp[0].minor.yy7 = NULL;
}
-#line 2471 "src/parser_proc.c"
+#line 2488 "src/parser_proc.c"
}
break;
case 54: /* decl_args ::= decl_arg */
case 56: /* struct_args ::= struct_arg */ yytestcase(yyruleno==56);
-#line 512 "src/parser_proc.y"
+#line 515 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_arg_free),
- &yymsp[0].minor.yy260);
+ yylhsminor.yy7 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_arg_free),
+ &yymsp[0].minor.yy64);
}
-#line 2481 "src/parser_proc.c"
- yymsp[0].minor.yy303 = yylhsminor.yy303;
+#line 2498 "src/parser_proc.c"
+ yymsp[0].minor.yy7 = yylhsminor.yy7;
break;
case 55: /* decl_args ::= decl_args COMMA decl_arg */
-#line 516 "src/parser_proc.y"
+#line 519 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(yymsp[-2].minor.yy303, &yymsp[0].minor.yy260);
+ yylhsminor.yy7 = psi_plist_add(yymsp[-2].minor.yy7, &yymsp[0].minor.yy64);
}
-#line 2489 "src/parser_proc.c"
- yy_destructor(yypParser,74,&yymsp[-1].minor);
- yymsp[-2].minor.yy303 = yylhsminor.yy303;
+#line 2506 "src/parser_proc.c"
+ yy_destructor(yypParser,76,&yymsp[-1].minor);
+ yymsp[-2].minor.yy7 = yylhsminor.yy7;
break;
case 57: /* struct_args ::= struct_args struct_arg */
-#line 523 "src/parser_proc.y"
+#line 526 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(yymsp[-1].minor.yy303, &yymsp[0].minor.yy260);
+ yylhsminor.yy7 = psi_plist_add(yymsp[-1].minor.yy7, &yymsp[0].minor.yy64);
}
-#line 2498 "src/parser_proc.c"
- yymsp[-1].minor.yy303 = yylhsminor.yy303;
+#line 2515 "src/parser_proc.c"
+ yymsp[-1].minor.yy7 = yylhsminor.yy7;
break;
case 58: /* struct_arg ::= decl_typedef_body_ex EOS */
-#line 526 "src/parser_proc.y"
+#line 529 "src/parser_proc.y"
{
- yylhsminor.yy260 = yymsp[-1].minor.yy260;
- switch (yymsp[-1].minor.yy260->type->type) {
+ yylhsminor.yy64 = yymsp[-1].minor.yy64;
+ switch (yymsp[-1].minor.yy64->type->type) {
case PSI_T_STRUCT:
- if (yymsp[-1].minor.yy260->type->real.strct) {
+ if (yymsp[-1].minor.yy64->type->real.strct) {
if (!P->structs) {
P->structs = psi_plist_init((psi_plist_dtor) psi_decl_struct_free);
}
- P->structs = psi_plist_add(P->structs, &yymsp[-1].minor.yy260->type->real.strct);
+ P->structs = psi_plist_add(P->structs, &yymsp[-1].minor.yy64->type->real.strct);
}
break;
case PSI_T_UNION:
- if (yymsp[-1].minor.yy260->type->real.unn) {
+ if (yymsp[-1].minor.yy64->type->real.unn) {
if (!P->unions) {
P->unions = psi_plist_init((psi_plist_dtor) psi_decl_union_free);
}
- P->unions = psi_plist_add(P->unions, &yymsp[-1].minor.yy260->type->real.unn);
+ P->unions = psi_plist_add(P->unions, &yymsp[-1].minor.yy64->type->real.unn);
}
break;
case PSI_T_ENUM:
- if (yymsp[-1].minor.yy260->type->real.enm) {
+ if (yymsp[-1].minor.yy64->type->real.enm) {
if (!P->enums) {
P->enums = psi_plist_init((psi_plist_dtor) psi_decl_enum_free);
}
- P->enums = psi_plist_add(P->enums, &yymsp[-1].minor.yy260->type->real.enm);
+ P->enums = psi_plist_add(P->enums, &yymsp[-1].minor.yy64->type->real.enm);
}
break;
}
}
-#line 2532 "src/parser_proc.c"
- yy_destructor(yypParser,71,&yymsp[0].minor);
- yymsp[-1].minor.yy260 = yylhsminor.yy260;
+#line 2549 "src/parser_proc.c"
+ yy_destructor(yypParser,73,&yymsp[0].minor);
+ yymsp[-1].minor.yy64 = yylhsminor.yy64;
break;
case 59: /* struct_arg ::= decl_arg decl_layout EOS */
-#line 555 "src/parser_proc.y"
+#line 558 "src/parser_proc.y"
{
- yymsp[-2].minor.yy260->layout = yymsp[-1].minor.yy81;
- yylhsminor.yy260 = yymsp[-2].minor.yy260;
+ yymsp[-2].minor.yy64->layout = yymsp[-1].minor.yy221;
+ yylhsminor.yy64 = yymsp[-2].minor.yy64;
}
-#line 2542 "src/parser_proc.c"
- yy_destructor(yypParser,71,&yymsp[0].minor);
- yymsp[-2].minor.yy260 = yylhsminor.yy260;
+#line 2559 "src/parser_proc.c"
+ yy_destructor(yypParser,73,&yymsp[0].minor);
+ yymsp[-2].minor.yy64 = yylhsminor.yy64;
break;
case 60: /* decl_layout ::= */
-#line 559 "src/parser_proc.y"
+#line 562 "src/parser_proc.y"
{
- yymsp[1].minor.yy81 = NULL;
+ yymsp[1].minor.yy221 = NULL;
}
-#line 2551 "src/parser_proc.c"
+#line 2568 "src/parser_proc.c"
break;
case 61: /* decl_layout ::= COLON COLON LPAREN NUMBER COMMA NUMBER RPAREN */
-{ yy_destructor(yypParser,72,&yymsp[-6].minor);
-#line 562 "src/parser_proc.y"
+{ yy_destructor(yypParser,74,&yymsp[-6].minor);
+#line 565 "src/parser_proc.y"
{
- yymsp[-6].minor.yy81 = psi_layout_init(atol(yymsp[-3].minor.yy0->text), atol(yymsp[-1].minor.yy0->text));
+ yymsp[-6].minor.yy221 = psi_layout_init(atol(yymsp[-3].minor.yy0->text), atol(yymsp[-1].minor.yy0->text));
free(yymsp[-3].minor.yy0);
free(yymsp[-1].minor.yy0);
}
-#line 2561 "src/parser_proc.c"
- yy_destructor(yypParser,72,&yymsp[-5].minor);
- yy_destructor(yypParser,73,&yymsp[-4].minor);
- yy_destructor(yypParser,74,&yymsp[-2].minor);
- yy_destructor(yypParser,75,&yymsp[0].minor);
+#line 2578 "src/parser_proc.c"
+ yy_destructor(yypParser,74,&yymsp[-5].minor);
+ yy_destructor(yypParser,75,&yymsp[-4].minor);
+ yy_destructor(yypParser,76,&yymsp[-2].minor);
+ yy_destructor(yypParser,77,&yymsp[0].minor);
}
break;
case 63: /* decl_scalar_type ::= SHORT decl_scalar_type_short */
case 67: /* decl_scalar_type ::= LONG decl_scalar_type_long */ yytestcase(yyruleno==67);
case 70: /* decl_scalar_type_long ::= LONG decl_scalar_type_long_long */ yytestcase(yyruleno==70);
-#line 570 "src/parser_proc.y"
+#line 573 "src/parser_proc.y"
{
if (yymsp[0].minor.yy0) {
yylhsminor.yy0 = psi_token_cat(2, yymsp[-1].minor.yy0, yymsp[0].minor.yy0);
yylhsminor.yy0 = yymsp[-1].minor.yy0;
}
}
-#line 2581 "src/parser_proc.c"
+#line 2598 "src/parser_proc.c"
yymsp[-1].minor.yy0 = yylhsminor.yy0;
break;
case 73: /* decl_type ::= UNSIGNED decl_scalar_type */
case 74: /* decl_type ::= SIGNED decl_scalar_type */ yytestcase(yyruleno==74);
-#line 618 "src/parser_proc.y"
+#line 621 "src/parser_proc.y"
{
struct psi_token *T = psi_token_cat(2, yymsp[-1].minor.yy0, yymsp[0].minor.yy0);
- yylhsminor.yy152 = psi_decl_type_init(T->type, T->text);
- yylhsminor.yy152->token = T;
+ yylhsminor.yy182 = psi_decl_type_init(T->type, T->text);
+ yylhsminor.yy182->token = T;
free(yymsp[-1].minor.yy0);
free(yymsp[0].minor.yy0);
}
-#line 2594 "src/parser_proc.c"
- yymsp[-1].minor.yy152 = yylhsminor.yy152;
+#line 2611 "src/parser_proc.c"
+ yymsp[-1].minor.yy182 = yylhsminor.yy182;
break;
case 75: /* decl_type ::= UNSIGNED */
case 76: /* decl_type ::= SIGNED */ yytestcase(yyruleno==76);
-#line 632 "src/parser_proc.y"
+#line 635 "src/parser_proc.y"
{
- yylhsminor.yy152 = psi_decl_type_init(PSI_T_NAME, yymsp[0].minor.yy0->text);
- yylhsminor.yy152->token = yymsp[0].minor.yy0;
+ yylhsminor.yy182 = psi_decl_type_init(PSI_T_NAME, yymsp[0].minor.yy0->text);
+ yylhsminor.yy182->token = yymsp[0].minor.yy0;
}
-#line 2604 "src/parser_proc.c"
- yymsp[0].minor.yy152 = yylhsminor.yy152;
+#line 2621 "src/parser_proc.c"
+ yymsp[0].minor.yy182 = yylhsminor.yy182;
break;
case 77: /* decl_type ::= decl_scalar_type */
case 81: /* decl_type ::= FLOAT|DOUBLE|INT8|UINT8|INT16|UINT16|INT32|UINT32|INT64|UINT64|NAME */ yytestcase(yyruleno==81);
-#line 640 "src/parser_proc.y"
+#line 643 "src/parser_proc.y"
{
- yylhsminor.yy152 = psi_decl_type_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
- yylhsminor.yy152->token = yymsp[0].minor.yy0;
+ yylhsminor.yy182 = psi_decl_type_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
+ yylhsminor.yy182->token = yymsp[0].minor.yy0;
}
-#line 2614 "src/parser_proc.c"
- yymsp[0].minor.yy152 = yylhsminor.yy152;
+#line 2631 "src/parser_proc.c"
+ yymsp[0].minor.yy182 = yylhsminor.yy182;
break;
case 78: /* decl_type ::= STRUCT NAME */
case 79: /* decl_type ::= UNION NAME */ yytestcase(yyruleno==79);
case 80: /* decl_type ::= ENUM NAME */ yytestcase(yyruleno==80);
-#line 644 "src/parser_proc.y"
+#line 647 "src/parser_proc.y"
{
- yylhsminor.yy152 = psi_decl_type_init(yymsp[-1].minor.yy0->type, yymsp[0].minor.yy0->text);
- yylhsminor.yy152->token = yymsp[0].minor.yy0;
+ yylhsminor.yy182 = psi_decl_type_init(yymsp[-1].minor.yy0->type, yymsp[0].minor.yy0->text);
+ yylhsminor.yy182->token = yymsp[0].minor.yy0;
free(yymsp[-1].minor.yy0);
}
-#line 2626 "src/parser_proc.c"
- yymsp[-1].minor.yy152 = yylhsminor.yy152;
+#line 2643 "src/parser_proc.c"
+ yymsp[-1].minor.yy182 = yylhsminor.yy182;
break;
case 82: /* const_decl_type ::= decl_type */
-#line 663 "src/parser_proc.y"
+#line 666 "src/parser_proc.y"
{
- yylhsminor.yy152 = yymsp[0].minor.yy152;
+ yylhsminor.yy182 = yymsp[0].minor.yy182;
}
-#line 2634 "src/parser_proc.c"
- yymsp[0].minor.yy152 = yylhsminor.yy152;
+#line 2651 "src/parser_proc.c"
+ yymsp[0].minor.yy182 = yylhsminor.yy182;
break;
case 83: /* const_decl_type ::= CONST decl_type */
-{ yy_destructor(yypParser,82,&yymsp[-1].minor);
-#line 666 "src/parser_proc.y"
+{ yy_destructor(yypParser,84,&yymsp[-1].minor);
+#line 669 "src/parser_proc.y"
{
- yymsp[-1].minor.yy152 = yymsp[0].minor.yy152;
+ yymsp[-1].minor.yy182 = yymsp[0].minor.yy182;
}
-#line 2643 "src/parser_proc.c"
+#line 2660 "src/parser_proc.c"
}
break;
case 84: /* impl ::= impl_func LBRACE impl_stmts RBRACE */
-#line 669 "src/parser_proc.y"
+#line 672 "src/parser_proc.y"
{
- yylhsminor.yy49 = psi_impl_init(yymsp[-3].minor.yy120, yymsp[-1].minor.yy303);
+ yylhsminor.yy303 = psi_impl_init(yymsp[-3].minor.yy226, yymsp[-1].minor.yy7);
}
-#line 2651 "src/parser_proc.c"
- yy_destructor(yypParser,79,&yymsp[-2].minor);
- yy_destructor(yypParser,80,&yymsp[0].minor);
- yymsp[-3].minor.yy49 = yylhsminor.yy49;
+#line 2668 "src/parser_proc.c"
+ yy_destructor(yypParser,81,&yymsp[-2].minor);
+ yy_destructor(yypParser,82,&yymsp[0].minor);
+ yymsp[-3].minor.yy303 = yylhsminor.yy303;
break;
case 85: /* impl ::= STATIC impl_func LBRACE impl_stmts RBRACE */
-{ yy_destructor(yypParser,92,&yymsp[-4].minor);
-#line 672 "src/parser_proc.y"
+{ yy_destructor(yypParser,94,&yymsp[-4].minor);
+#line 675 "src/parser_proc.y"
{
- yymsp[-3].minor.yy120->static_memory = 1;
- yymsp[-4].minor.yy49 = psi_impl_init(yymsp[-3].minor.yy120, yymsp[-1].minor.yy303);
+ yymsp[-3].minor.yy226->static_memory = 1;
+ yymsp[-4].minor.yy303 = psi_impl_init(yymsp[-3].minor.yy226, yymsp[-1].minor.yy7);
}
-#line 2663 "src/parser_proc.c"
- yy_destructor(yypParser,79,&yymsp[-2].minor);
- yy_destructor(yypParser,80,&yymsp[0].minor);
+#line 2680 "src/parser_proc.c"
+ yy_destructor(yypParser,81,&yymsp[-2].minor);
+ yy_destructor(yypParser,82,&yymsp[0].minor);
}
break;
case 86: /* impl_func ::= FUNCTION reference NSNAME LPAREN RPAREN COLON impl_type */
-{ yy_destructor(yypParser,93,&yymsp[-6].minor);
-#line 676 "src/parser_proc.y"
+{ yy_destructor(yypParser,95,&yymsp[-6].minor);
+#line 679 "src/parser_proc.y"
{
- yymsp[-6].minor.yy120 = psi_impl_func_init(yymsp[-4].minor.yy0->text, NULL, yymsp[0].minor.yy142);
- yymsp[-6].minor.yy120->token = yymsp[-4].minor.yy0;
- yymsp[-6].minor.yy120->return_reference = yymsp[-5].minor.yy273;
+ yymsp[-6].minor.yy226 = psi_impl_func_init(yymsp[-4].minor.yy0->text, NULL, yymsp[0].minor.yy40);
+ yymsp[-6].minor.yy226->token = yymsp[-4].minor.yy0;
+ yymsp[-6].minor.yy226->return_reference = yymsp[-5].minor.yy247;
}
-#line 2676 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-3].minor);
- yy_destructor(yypParser,75,&yymsp[-2].minor);
- yy_destructor(yypParser,72,&yymsp[-1].minor);
+#line 2693 "src/parser_proc.c"
+ yy_destructor(yypParser,75,&yymsp[-3].minor);
+ yy_destructor(yypParser,77,&yymsp[-2].minor);
+ yy_destructor(yypParser,74,&yymsp[-1].minor);
}
break;
case 87: /* impl_func ::= FUNCTION reference NSNAME LPAREN impl_args RPAREN COLON impl_type */
-{ yy_destructor(yypParser,93,&yymsp[-7].minor);
-#line 681 "src/parser_proc.y"
+{ yy_destructor(yypParser,95,&yymsp[-7].minor);
+#line 684 "src/parser_proc.y"
{
- yymsp[-7].minor.yy120 = psi_impl_func_init(yymsp[-5].minor.yy0->text, yymsp[-3].minor.yy303, yymsp[0].minor.yy142);
- yymsp[-7].minor.yy120->token = yymsp[-5].minor.yy0;
- yymsp[-7].minor.yy120->return_reference = yymsp[-6].minor.yy273;
+ yymsp[-7].minor.yy226 = psi_impl_func_init(yymsp[-5].minor.yy0->text, yymsp[-3].minor.yy7, yymsp[0].minor.yy40);
+ yymsp[-7].minor.yy226->token = yymsp[-5].minor.yy0;
+ yymsp[-7].minor.yy226->return_reference = yymsp[-6].minor.yy247;
}
-#line 2690 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-4].minor);
- yy_destructor(yypParser,75,&yymsp[-2].minor);
- yy_destructor(yypParser,72,&yymsp[-1].minor);
+#line 2707 "src/parser_proc.c"
+ yy_destructor(yypParser,75,&yymsp[-4].minor);
+ yy_destructor(yypParser,77,&yymsp[-2].minor);
+ yy_destructor(yypParser,74,&yymsp[-1].minor);
}
break;
case 88: /* impl_func ::= FUNCTION reference NSNAME LPAREN impl_args COMMA impl_type reference ELLIPSIS DOLLAR_NAME RPAREN COLON impl_type */
-{ yy_destructor(yypParser,93,&yymsp[-12].minor);
-#line 686 "src/parser_proc.y"
+{ yy_destructor(yypParser,95,&yymsp[-12].minor);
+#line 689 "src/parser_proc.y"
{
- yymsp[-12].minor.yy120 = psi_impl_func_init(yymsp[-10].minor.yy0->text, yymsp[-8].minor.yy303, yymsp[0].minor.yy142);
- yymsp[-12].minor.yy120->token = yymsp[-10].minor.yy0;
- yymsp[-12].minor.yy120->return_reference = yymsp[-11].minor.yy273;
- yymsp[-12].minor.yy120->vararg = psi_impl_arg_init(yymsp[-6].minor.yy142, psi_impl_var_init(yymsp[-3].minor.yy0->text, yymsp[-5].minor.yy273), NULL);
+ yymsp[-12].minor.yy226 = psi_impl_func_init(yymsp[-10].minor.yy0->text, yymsp[-8].minor.yy7, yymsp[0].minor.yy40);
+ yymsp[-12].minor.yy226->token = yymsp[-10].minor.yy0;
+ yymsp[-12].minor.yy226->return_reference = yymsp[-11].minor.yy247;
+ yymsp[-12].minor.yy226->vararg = psi_impl_arg_init(yymsp[-6].minor.yy40, psi_impl_var_init(yymsp[-3].minor.yy0->text, yymsp[-5].minor.yy247), NULL);
free(yymsp[-3].minor.yy0);
}
-#line 2706 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-9].minor);
- yy_destructor(yypParser,74,&yymsp[-7].minor);
- yy_destructor(yypParser,84,&yymsp[-4].minor);
- yy_destructor(yypParser,75,&yymsp[-2].minor);
- yy_destructor(yypParser,72,&yymsp[-1].minor);
+#line 2723 "src/parser_proc.c"
+ yy_destructor(yypParser,75,&yymsp[-9].minor);
+ yy_destructor(yypParser,76,&yymsp[-7].minor);
+ yy_destructor(yypParser,86,&yymsp[-4].minor);
+ yy_destructor(yypParser,77,&yymsp[-2].minor);
+ yy_destructor(yypParser,74,&yymsp[-1].minor);
}
break;
case 89: /* impl_def_val ::= NULL|NUMBER|TRUE|FALSE|QUOTED_STRING */
-#line 693 "src/parser_proc.y"
+#line 696 "src/parser_proc.y"
{
- yylhsminor.yy21 = psi_impl_def_val_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
- yylhsminor.yy21->token = yymsp[0].minor.yy0;
+ yylhsminor.yy319 = psi_impl_def_val_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
+ yylhsminor.yy319->token = yymsp[0].minor.yy0;
}
-#line 2720 "src/parser_proc.c"
- yymsp[0].minor.yy21 = yylhsminor.yy21;
+#line 2737 "src/parser_proc.c"
+ yymsp[0].minor.yy319 = yylhsminor.yy319;
break;
case 90: /* impl_var ::= reference DOLLAR_NAME */
-#line 697 "src/parser_proc.y"
+#line 700 "src/parser_proc.y"
{
- yylhsminor.yy185 = psi_impl_var_init(yymsp[0].minor.yy0->text, yymsp[-1].minor.yy273);
- yylhsminor.yy185->token = yymsp[0].minor.yy0;
+ yylhsminor.yy123 = psi_impl_var_init(yymsp[0].minor.yy0->text, yymsp[-1].minor.yy247);
+ yylhsminor.yy123->token = yymsp[0].minor.yy0;
}
-#line 2729 "src/parser_proc.c"
- yymsp[-1].minor.yy185 = yylhsminor.yy185;
+#line 2746 "src/parser_proc.c"
+ yymsp[-1].minor.yy123 = yylhsminor.yy123;
break;
case 91: /* impl_type ::= VOID|MIXED|BOOL|INT|FLOAT|STRING|ARRAY|OBJECT|CALLABLE */
-#line 701 "src/parser_proc.y"
+#line 704 "src/parser_proc.y"
{
- yylhsminor.yy142 = psi_impl_type_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
+ yylhsminor.yy40 = psi_impl_type_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
free(yymsp[0].minor.yy0);
}
-#line 2738 "src/parser_proc.c"
- yymsp[0].minor.yy142 = yylhsminor.yy142;
+#line 2755 "src/parser_proc.c"
+ yymsp[0].minor.yy40 = yylhsminor.yy40;
break;
case 92: /* impl_arg ::= impl_type impl_var */
-#line 705 "src/parser_proc.y"
+#line 708 "src/parser_proc.y"
{
- yylhsminor.yy238 = psi_impl_arg_init(yymsp[-1].minor.yy142, yymsp[0].minor.yy185, NULL);
+ yylhsminor.yy56 = psi_impl_arg_init(yymsp[-1].minor.yy40, yymsp[0].minor.yy123, NULL);
}
-#line 2746 "src/parser_proc.c"
- yymsp[-1].minor.yy238 = yylhsminor.yy238;
+#line 2763 "src/parser_proc.c"
+ yymsp[-1].minor.yy56 = yylhsminor.yy56;
break;
case 93: /* impl_arg ::= impl_type impl_var EQUALS impl_def_val */
-#line 708 "src/parser_proc.y"
+#line 711 "src/parser_proc.y"
{
- yylhsminor.yy238 = psi_impl_arg_init(yymsp[-3].minor.yy142, yymsp[-2].minor.yy185, yymsp[0].minor.yy21);
+ yylhsminor.yy56 = psi_impl_arg_init(yymsp[-3].minor.yy40, yymsp[-2].minor.yy123, yymsp[0].minor.yy319);
}
-#line 2754 "src/parser_proc.c"
- yy_destructor(yypParser,81,&yymsp[-1].minor);
- yymsp[-3].minor.yy238 = yylhsminor.yy238;
+#line 2771 "src/parser_proc.c"
+ yy_destructor(yypParser,83,&yymsp[-1].minor);
+ yymsp[-3].minor.yy56 = yylhsminor.yy56;
break;
case 94: /* impl_args ::= impl_arg */
-#line 711 "src/parser_proc.y"
+#line 714 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_impl_arg_free),
- &yymsp[0].minor.yy238);
+ yylhsminor.yy7 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_impl_arg_free),
+ &yymsp[0].minor.yy56);
}
-#line 2764 "src/parser_proc.c"
- yymsp[0].minor.yy303 = yylhsminor.yy303;
+#line 2781 "src/parser_proc.c"
+ yymsp[0].minor.yy7 = yylhsminor.yy7;
break;
case 95: /* impl_args ::= impl_args COMMA impl_arg */
-#line 715 "src/parser_proc.y"
+#line 718 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(yymsp[-2].minor.yy303, &yymsp[0].minor.yy238);
+ yylhsminor.yy7 = psi_plist_add(yymsp[-2].minor.yy7, &yymsp[0].minor.yy56);
}
-#line 2772 "src/parser_proc.c"
- yy_destructor(yypParser,74,&yymsp[-1].minor);
- yymsp[-2].minor.yy303 = yylhsminor.yy303;
+#line 2789 "src/parser_proc.c"
+ yy_destructor(yypParser,76,&yymsp[-1].minor);
+ yymsp[-2].minor.yy7 = yylhsminor.yy7;
break;
case 96: /* impl_stmts ::= impl_stmt */
-#line 718 "src/parser_proc.y"
+#line 721 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_impl_stmt_free),
- &yymsp[0].minor.yy38);
+ yylhsminor.yy7 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_impl_stmt_free),
+ &yymsp[0].minor.yy282);
}
-#line 2782 "src/parser_proc.c"
- yymsp[0].minor.yy303 = yylhsminor.yy303;
+#line 2799 "src/parser_proc.c"
+ yymsp[0].minor.yy7 = yylhsminor.yy7;
break;
case 97: /* impl_stmts ::= impl_stmts impl_stmt */
-#line 722 "src/parser_proc.y"
+#line 725 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(yymsp[-1].minor.yy303, &yymsp[0].minor.yy38);
+ yylhsminor.yy7 = psi_plist_add(yymsp[-1].minor.yy7, &yymsp[0].minor.yy282);
}
-#line 2790 "src/parser_proc.c"
- yymsp[-1].minor.yy303 = yylhsminor.yy303;
+#line 2807 "src/parser_proc.c"
+ yymsp[-1].minor.yy7 = yylhsminor.yy7;
break;
case 98: /* impl_stmt ::= return_stmt */
-#line 725 "src/parser_proc.y"
+#line 728 "src/parser_proc.y"
{
- yylhsminor.yy38 = (struct psi_token**) yymsp[0].minor.yy130;
+ yylhsminor.yy282 = (struct psi_token**) yymsp[0].minor.yy258;
}
-#line 2798 "src/parser_proc.c"
- yymsp[0].minor.yy38 = yylhsminor.yy38;
+#line 2815 "src/parser_proc.c"
+ yymsp[0].minor.yy282 = yylhsminor.yy282;
break;
case 99: /* impl_stmt ::= let_stmt */
-#line 728 "src/parser_proc.y"
+#line 731 "src/parser_proc.y"
{
- yylhsminor.yy38 = (struct psi_token**) yymsp[0].minor.yy139;
+ yylhsminor.yy282 = (struct psi_token**) yymsp[0].minor.yy138;
}
-#line 2806 "src/parser_proc.c"
- yymsp[0].minor.yy38 = yylhsminor.yy38;
+#line 2823 "src/parser_proc.c"
+ yymsp[0].minor.yy282 = yylhsminor.yy282;
break;
case 100: /* impl_stmt ::= set_stmt */
-#line 731 "src/parser_proc.y"
+#line 734 "src/parser_proc.y"
{
- yylhsminor.yy38 = (struct psi_token**) yymsp[0].minor.yy226;
+ yylhsminor.yy282 = (struct psi_token**) yymsp[0].minor.yy300;
}
-#line 2814 "src/parser_proc.c"
- yymsp[0].minor.yy38 = yylhsminor.yy38;
+#line 2831 "src/parser_proc.c"
+ yymsp[0].minor.yy282 = yylhsminor.yy282;
break;
- case 101: /* impl_stmt ::= free_stmt */
-#line 734 "src/parser_proc.y"
+ case 101: /* impl_stmt ::= assert_stmt */
+#line 737 "src/parser_proc.y"
{
- yylhsminor.yy38 = (struct psi_token**) yymsp[0].minor.yy76;
+ yylhsminor.yy282 = (struct psi_token **) yymsp[0].minor.yy146;
}
-#line 2822 "src/parser_proc.c"
- yymsp[0].minor.yy38 = yylhsminor.yy38;
+#line 2839 "src/parser_proc.c"
+ yymsp[0].minor.yy282 = yylhsminor.yy282;
break;
- case 102: /* number ::= NUMBER|NSNAME */
-#line 737 "src/parser_proc.y"
+ case 102: /* impl_stmt ::= free_stmt */
+#line 740 "src/parser_proc.y"
{
- yylhsminor.yy160 = psi_number_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
- yylhsminor.yy160->token = yymsp[0].minor.yy0;
+ yylhsminor.yy282 = (struct psi_token**) yymsp[0].minor.yy102;
}
-#line 2831 "src/parser_proc.c"
- yymsp[0].minor.yy160 = yylhsminor.yy160;
+#line 2847 "src/parser_proc.c"
+ yymsp[0].minor.yy282 = yylhsminor.yy282;
break;
- case 103: /* number ::= decl_var */
-#line 741 "src/parser_proc.y"
+ case 103: /* number ::= NUMBER|NSNAME */
+#line 743 "src/parser_proc.y"
{
- yylhsminor.yy160 = psi_number_init(PSI_T_NAME, yymsp[0].minor.yy207);
- yylhsminor.yy160->token = psi_token_copy(yymsp[0].minor.yy207->token);
+ yylhsminor.yy66 = psi_number_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
+ yylhsminor.yy66->token = yymsp[0].minor.yy0;
}
-#line 2840 "src/parser_proc.c"
- yymsp[0].minor.yy160 = yylhsminor.yy160;
+#line 2856 "src/parser_proc.c"
+ yymsp[0].minor.yy66 = yylhsminor.yy66;
break;
- case 104: /* num_exp ::= number */
-#line 745 "src/parser_proc.y"
+ case 104: /* number ::= decl_var */
+#line 747 "src/parser_proc.y"
{
- yylhsminor.yy39 = psi_num_exp_init_num(yymsp[0].minor.yy160);
- yylhsminor.yy39->token = psi_token_copy(yymsp[0].minor.yy160->token);
+ yylhsminor.yy66 = psi_number_init(PSI_T_NAME, yymsp[0].minor.yy131);
+ yylhsminor.yy66->token = psi_token_copy(yymsp[0].minor.yy131->token);
}
-#line 2849 "src/parser_proc.c"
- yymsp[0].minor.yy39 = yylhsminor.yy39;
+#line 2865 "src/parser_proc.c"
+ yymsp[0].minor.yy66 = yylhsminor.yy66;
break;
- case 105: /* num_exp ::= LPAREN num_exp RPAREN */
-#line 749 "src/parser_proc.y"
+ case 105: /* num_exp ::= number */
+#line 751 "src/parser_proc.y"
{
- yylhsminor.yy39 = psi_num_exp_init_unary(PSI_T_LPAREN, yymsp[-1].minor.yy39);
- yylhsminor.yy39->token = yymsp[-2].minor.yy0;
+ yylhsminor.yy124 = psi_num_exp_init_num(yymsp[0].minor.yy66);
+ yylhsminor.yy124->token = psi_token_copy(yymsp[0].minor.yy66->token);
}
-#line 2858 "src/parser_proc.c"
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-2].minor.yy39 = yylhsminor.yy39;
+#line 2874 "src/parser_proc.c"
+ yymsp[0].minor.yy124 = yylhsminor.yy124;
break;
- case 106: /* num_exp ::= num_exp PIPE|CARET|AMPERSAND|LSHIFT|RSHIFT|PLUS|MINUS|ASTERISK|SLASH|MODULO|RCHEVR|LCHEVR|CMP_GE|CMP_LE|OR|AND|CMP_EQ|CMP_NE num_exp */
-#line 753 "src/parser_proc.y"
+ case 106: /* num_exp ::= LPAREN num_exp RPAREN */
+#line 755 "src/parser_proc.y"
{
- yylhsminor.yy39 = psi_num_exp_init_binary(yymsp[-1].minor.yy0->type, yymsp[-2].minor.yy39, yymsp[0].minor.yy39);
- yylhsminor.yy39->token = yymsp[-1].minor.yy0;
+ yylhsminor.yy124 = psi_num_exp_init_unary(PSI_T_LPAREN, yymsp[-1].minor.yy124);
+ yylhsminor.yy124->token = yymsp[-2].minor.yy0;
}
-#line 2868 "src/parser_proc.c"
- yymsp[-2].minor.yy39 = yylhsminor.yy39;
+#line 2883 "src/parser_proc.c"
+ yy_destructor(yypParser,77,&yymsp[0].minor);
+ yymsp[-2].minor.yy124 = yylhsminor.yy124;
break;
- case 107: /* num_exp ::= TILDE|NOT|PLUS|MINUS num_exp */
-#line 757 "src/parser_proc.y"
+ case 107: /* num_exp ::= num_exp PIPE|CARET|AMPERSAND|LSHIFT|RSHIFT|PLUS|MINUS|ASTERISK|SLASH|MODULO|RCHEVR|LCHEVR|CMP_GE|CMP_LE|OR|AND|CMP_EQ|CMP_NE num_exp */
+#line 759 "src/parser_proc.y"
{
- yylhsminor.yy39 = psi_num_exp_init_unary(yymsp[-1].minor.yy0->type, yymsp[0].minor.yy39);
- yylhsminor.yy39->token = yymsp[-1].minor.yy0;
+ yylhsminor.yy124 = psi_num_exp_init_binary(yymsp[-1].minor.yy0->type, yymsp[-2].minor.yy124, yymsp[0].minor.yy124);
+ yylhsminor.yy124->token = yymsp[-1].minor.yy0;
}
-#line 2877 "src/parser_proc.c"
- yymsp[-1].minor.yy39 = yylhsminor.yy39;
+#line 2893 "src/parser_proc.c"
+ yymsp[-2].minor.yy124 = yylhsminor.yy124;
break;
- case 108: /* let_exp ::= NULL */
+ case 108: /* num_exp ::= TILDE|NOT|PLUS|MINUS num_exp */
+#line 763 "src/parser_proc.y"
+{
+ yylhsminor.yy124 = psi_num_exp_init_unary(yymsp[-1].minor.yy0->type, yymsp[0].minor.yy124);
+ yylhsminor.yy124->token = yymsp[-1].minor.yy0;
+}
+#line 2902 "src/parser_proc.c"
+ yymsp[-1].minor.yy124 = yylhsminor.yy124;
+ break;
+ case 109: /* let_exp ::= NULL */
{ yy_destructor(yypParser,15,&yymsp[0].minor);
-#line 761 "src/parser_proc.y"
+#line 767 "src/parser_proc.y"
{
- yymsp[0].minor.yy144 = psi_let_exp_init(PSI_LET_NULL, NULL);
+ yymsp[0].minor.yy196 = psi_let_exp_init(PSI_LET_NULL, NULL);
}
-#line 2886 "src/parser_proc.c"
+#line 2911 "src/parser_proc.c"
}
break;
- case 109: /* let_exp ::= AMPERSAND NULL */
+ case 110: /* let_exp ::= AMPERSAND NULL */
{ yy_destructor(yypParser,23,&yymsp[-1].minor);
-#line 764 "src/parser_proc.y"
+#line 770 "src/parser_proc.y"
{
- yymsp[-1].minor.yy144 = psi_let_exp_init(PSI_LET_NULL, NULL);
- yymsp[-1].minor.yy144->is_reference = 1;
+ yymsp[-1].minor.yy196 = psi_let_exp_init(PSI_LET_NULL, NULL);
+ yymsp[-1].minor.yy196->is_reference = 1;
}
-#line 2896 "src/parser_proc.c"
+#line 2921 "src/parser_proc.c"
yy_destructor(yypParser,15,&yymsp[0].minor);
}
break;
- case 110: /* let_exp ::= let_callback */
-#line 768 "src/parser_proc.y"
+ case 111: /* let_exp ::= let_callback */
+#line 774 "src/parser_proc.y"
{
- yylhsminor.yy144 = psi_let_exp_init(PSI_LET_CALLBACK, yymsp[0].minor.yy164);
+ yylhsminor.yy196 = psi_let_exp_init(PSI_LET_CALLBACK, yymsp[0].minor.yy76);
}
-#line 2905 "src/parser_proc.c"
- yymsp[0].minor.yy144 = yylhsminor.yy144;
+#line 2930 "src/parser_proc.c"
+ yymsp[0].minor.yy196 = yylhsminor.yy196;
break;
- case 111: /* let_exp ::= let_calloc */
-#line 771 "src/parser_proc.y"
+ case 112: /* let_exp ::= let_calloc */
+#line 777 "src/parser_proc.y"
{
- yylhsminor.yy144 = psi_let_exp_init(PSI_LET_CALLOC, yymsp[0].minor.yy17);
+ yylhsminor.yy196 = psi_let_exp_init(PSI_LET_CALLOC, yymsp[0].minor.yy227);
}
-#line 2913 "src/parser_proc.c"
- yymsp[0].minor.yy144 = yylhsminor.yy144;
+#line 2938 "src/parser_proc.c"
+ yymsp[0].minor.yy196 = yylhsminor.yy196;
break;
- case 112: /* let_exp ::= AMPERSAND let_calloc */
+ case 113: /* let_exp ::= AMPERSAND let_calloc */
{ yy_destructor(yypParser,23,&yymsp[-1].minor);
-#line 774 "src/parser_proc.y"
+#line 780 "src/parser_proc.y"
{
- yymsp[-1].minor.yy144 = psi_let_exp_init(PSI_LET_CALLOC, yymsp[0].minor.yy17);
- yymsp[-1].minor.yy144->is_reference = 1;
+ yymsp[-1].minor.yy196 = psi_let_exp_init(PSI_LET_CALLOC, yymsp[0].minor.yy227);
+ yymsp[-1].minor.yy196->is_reference = 1;
}
-#line 2923 "src/parser_proc.c"
+#line 2948 "src/parser_proc.c"
}
break;
- case 113: /* let_exp ::= let_func */
-#line 778 "src/parser_proc.y"
+ case 114: /* let_exp ::= let_func */
+#line 784 "src/parser_proc.y"
{
- yylhsminor.yy144 = psi_let_exp_init_ex(NULL, PSI_LET_FUNC, yymsp[0].minor.yy72);
+ yylhsminor.yy196 = psi_let_exp_init_ex(NULL, PSI_LET_FUNC, yymsp[0].minor.yy133);
}
-#line 2931 "src/parser_proc.c"
- yymsp[0].minor.yy144 = yylhsminor.yy144;
+#line 2956 "src/parser_proc.c"
+ yymsp[0].minor.yy196 = yylhsminor.yy196;
break;
- case 114: /* let_exp ::= AMPERSAND let_func */
+ case 115: /* let_exp ::= AMPERSAND let_func */
{ yy_destructor(yypParser,23,&yymsp[-1].minor);
-#line 781 "src/parser_proc.y"
+#line 787 "src/parser_proc.y"
{
- yymsp[-1].minor.yy144 = psi_let_exp_init_ex(NULL, PSI_LET_FUNC, yymsp[0].minor.yy72);
- yymsp[-1].minor.yy144->is_reference = 1;
+ yymsp[-1].minor.yy196 = psi_let_exp_init_ex(NULL, PSI_LET_FUNC, yymsp[0].minor.yy133);
+ yymsp[-1].minor.yy196->is_reference = 1;
}
-#line 2941 "src/parser_proc.c"
+#line 2966 "src/parser_proc.c"
}
break;
- case 115: /* let_exp ::= num_exp */
-#line 785 "src/parser_proc.y"
+ case 116: /* let_exp ::= num_exp */
+#line 791 "src/parser_proc.y"
{
- yylhsminor.yy144 = psi_let_exp_init_ex(NULL, PSI_LET_NUMEXP, yymsp[0].minor.yy39);
+ yylhsminor.yy196 = psi_let_exp_init_ex(NULL, PSI_LET_NUMEXP, yymsp[0].minor.yy124);
}
-#line 2949 "src/parser_proc.c"
- yymsp[0].minor.yy144 = yylhsminor.yy144;
+#line 2974 "src/parser_proc.c"
+ yymsp[0].minor.yy196 = yylhsminor.yy196;
break;
- case 116: /* let_exp ::= AMPERSAND num_exp */
+ case 117: /* let_exp ::= AMPERSAND num_exp */
{ yy_destructor(yypParser,23,&yymsp[-1].minor);
-#line 788 "src/parser_proc.y"
-{
- yymsp[-1].minor.yy144 = psi_let_exp_init_ex(NULL, PSI_LET_NUMEXP, yymsp[0].minor.yy39);
- yymsp[-1].minor.yy144->is_reference = 1;
-}
-#line 2959 "src/parser_proc.c"
-}
- break;
- case 117: /* let_exp ::= decl_var EQUALS let_exp */
-#line 792 "src/parser_proc.y"
+#line 794 "src/parser_proc.y"
{
- yylhsminor.yy144 = yymsp[0].minor.yy144;
- yylhsminor.yy144->var = yymsp[-2].minor.yy207;
+ yymsp[-1].minor.yy196 = psi_let_exp_init_ex(NULL, PSI_LET_NUMEXP, yymsp[0].minor.yy124);
+ yymsp[-1].minor.yy196->is_reference = 1;
}
-#line 2968 "src/parser_proc.c"
- yy_destructor(yypParser,81,&yymsp[-1].minor);
- yymsp[-2].minor.yy144 = yylhsminor.yy144;
- break;
- case 118: /* let_stmt ::= LET let_exp EOS */
-#line 796 "src/parser_proc.y"
-{
- yylhsminor.yy139 = psi_let_stmt_init(yymsp[-1].minor.yy144);
- yylhsminor.yy139->token = yymsp[-2].minor.yy0;
+#line 2984 "src/parser_proc.c"
}
-#line 2978 "src/parser_proc.c"
- yy_destructor(yypParser,71,&yymsp[0].minor);
- yymsp[-2].minor.yy139 = yylhsminor.yy139;
break;
- case 119: /* let_stmt ::= TEMP decl_var EQUALS reference decl_var EOS */
-#line 800 "src/parser_proc.y"
+ case 118: /* let_exp ::= decl_var EQUALS let_exp */
+#line 798 "src/parser_proc.y"
{
- yylhsminor.yy139 = psi_let_stmt_init(psi_let_exp_init_ex(yymsp[-4].minor.yy207, PSI_LET_TMP, yymsp[-1].minor.yy207));
- yylhsminor.yy139->token = yymsp[-5].minor.yy0;
- yylhsminor.yy139->exp->is_reference = yymsp[-2].minor.yy273 ? 1 : 0;
+ yylhsminor.yy196 = yymsp[0].minor.yy196;
+ yylhsminor.yy196->var = yymsp[-2].minor.yy131;
}
-#line 2989 "src/parser_proc.c"
- yy_destructor(yypParser,81,&yymsp[-3].minor);
- yy_destructor(yypParser,71,&yymsp[0].minor);
- yymsp[-5].minor.yy139 = yylhsminor.yy139;
+#line 2993 "src/parser_proc.c"
+ yy_destructor(yypParser,83,&yymsp[-1].minor);
+ yymsp[-2].minor.yy196 = yylhsminor.yy196;
break;
- case 120: /* let_callback ::= CALLBACK callback_rval LPAREN impl_var LPAREN callback_arg_list RPAREN RPAREN */
-#line 805 "src/parser_proc.y"
+ case 119: /* let_stmt ::= LET let_exp EOS */
+#line 802 "src/parser_proc.y"
{
- yylhsminor.yy164 = psi_let_callback_init(psi_let_func_init(yymsp[-6].minor.yy0->type, yymsp[-6].minor.yy0->text, yymsp[-4].minor.yy185), yymsp[-2].minor.yy287);
- yylhsminor.yy164->token = yymsp[-7].minor.yy0;
- free(yymsp[-6].minor.yy0);
+ yylhsminor.yy138 = psi_let_stmt_init(yymsp[-1].minor.yy196);
+ yylhsminor.yy138->token = yymsp[-2].minor.yy0;
}
-#line 3001 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-5].minor);
- yy_destructor(yypParser,73,&yymsp[-3].minor);
- yy_destructor(yypParser,75,&yymsp[-1].minor);
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-7].minor.yy164 = yylhsminor.yy164;
+#line 3003 "src/parser_proc.c"
+ yy_destructor(yypParser,73,&yymsp[0].minor);
+ yymsp[-2].minor.yy138 = yylhsminor.yy138;
break;
- case 121: /* let_calloc ::= CALLOC LPAREN num_exp COMMA num_exp RPAREN */
-#line 810 "src/parser_proc.y"
+ case 120: /* let_stmt ::= TEMP decl_var EQUALS reference decl_var EOS */
+#line 806 "src/parser_proc.y"
{
- yylhsminor.yy17 = psi_let_calloc_init(yymsp[-3].minor.yy39, yymsp[-1].minor.yy39);
- yylhsminor.yy17->token = yymsp[-5].minor.yy0;
+ yylhsminor.yy138 = psi_let_stmt_init(psi_let_exp_init_ex(yymsp[-4].minor.yy131, PSI_LET_TMP, yymsp[-1].minor.yy131));
+ yylhsminor.yy138->token = yymsp[-5].minor.yy0;
+ yylhsminor.yy138->exp->is_reference = yymsp[-2].minor.yy247 ? 1 : 0;
}
#line 3014 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-4].minor);
- yy_destructor(yypParser,74,&yymsp[-2].minor);
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-5].minor.yy17 = yylhsminor.yy17;
+ yy_destructor(yypParser,83,&yymsp[-3].minor);
+ yy_destructor(yypParser,73,&yymsp[0].minor);
+ yymsp[-5].minor.yy138 = yylhsminor.yy138;
break;
- case 122: /* let_func ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT LPAREN impl_var RPAREN */
-#line 814 "src/parser_proc.y"
+ case 121: /* let_callback ::= CALLBACK callback_rval LPAREN impl_var LPAREN callback_arg_list RPAREN RPAREN */
+#line 811 "src/parser_proc.y"
{
- yylhsminor.yy72 = psi_let_func_init(yymsp[-3].minor.yy0->type, yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy185);
- yylhsminor.yy72->token = yymsp[-3].minor.yy0;
+ yylhsminor.yy76 = psi_let_callback_init(psi_let_func_init(yymsp[-6].minor.yy0->type, yymsp[-6].minor.yy0->text, yymsp[-4].minor.yy123), yymsp[-2].minor.yy304);
+ yylhsminor.yy76->token = yymsp[-7].minor.yy0;
+ free(yymsp[-6].minor.yy0);
}
#line 3026 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-2].minor);
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-3].minor.yy72 = yylhsminor.yy72;
+ yy_destructor(yypParser,75,&yymsp[-5].minor);
+ yy_destructor(yypParser,75,&yymsp[-3].minor);
+ yy_destructor(yypParser,77,&yymsp[-1].minor);
+ yy_destructor(yypParser,77,&yymsp[0].minor);
+ yymsp[-7].minor.yy76 = yylhsminor.yy76;
break;
- case 123: /* let_func ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT LPAREN impl_var COMMA let_exps RPAREN */
-#line 818 "src/parser_proc.y"
+ case 122: /* let_calloc ::= CALLOC LPAREN num_exp COMMA num_exp RPAREN */
+#line 816 "src/parser_proc.y"
{
- yylhsminor.yy72 = psi_let_func_init(yymsp[-5].minor.yy0->type, yymsp[-5].minor.yy0->text, yymsp[-3].minor.yy185);
- yylhsminor.yy72->token = yymsp[-5].minor.yy0;
- yylhsminor.yy72->inner = yymsp[-1].minor.yy303;
+ yylhsminor.yy227 = psi_let_calloc_init(yymsp[-3].minor.yy124, yymsp[-1].minor.yy124);
+ yylhsminor.yy227->token = yymsp[-5].minor.yy0;
}
-#line 3038 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-4].minor);
- yy_destructor(yypParser,74,&yymsp[-2].minor);
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-5].minor.yy72 = yylhsminor.yy72;
+#line 3039 "src/parser_proc.c"
+ yy_destructor(yypParser,75,&yymsp[-4].minor);
+ yy_destructor(yypParser,76,&yymsp[-2].minor);
+ yy_destructor(yypParser,77,&yymsp[0].minor);
+ yymsp[-5].minor.yy227 = yylhsminor.yy227;
break;
- case 124: /* let_exps ::= let_exp */
-#line 823 "src/parser_proc.y"
+ case 123: /* let_func ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT LPAREN impl_var RPAREN */
+#line 820 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_let_exp_free),
- &yymsp[0].minor.yy144);
+ yylhsminor.yy133 = psi_let_func_init(yymsp[-3].minor.yy0->type, yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy123);
+ yylhsminor.yy133->token = yymsp[-3].minor.yy0;
}
-#line 3050 "src/parser_proc.c"
- yymsp[0].minor.yy303 = yylhsminor.yy303;
+#line 3051 "src/parser_proc.c"
+ yy_destructor(yypParser,75,&yymsp[-2].minor);
+ yy_destructor(yypParser,77,&yymsp[0].minor);
+ yymsp[-3].minor.yy133 = yylhsminor.yy133;
break;
- case 125: /* let_exps ::= let_exps COMMA let_exp */
-#line 827 "src/parser_proc.y"
+ case 124: /* let_func ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT LPAREN impl_var COMMA let_exps RPAREN */
+#line 824 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(yymsp[-2].minor.yy303, &yymsp[0].minor.yy144);
+ yylhsminor.yy133 = psi_let_func_init(yymsp[-5].minor.yy0->type, yymsp[-5].minor.yy0->text, yymsp[-3].minor.yy123);
+ yylhsminor.yy133->token = yymsp[-5].minor.yy0;
+ yylhsminor.yy133->inner = yymsp[-1].minor.yy7;
}
-#line 3058 "src/parser_proc.c"
- yy_destructor(yypParser,74,&yymsp[-1].minor);
- yymsp[-2].minor.yy303 = yylhsminor.yy303;
+#line 3063 "src/parser_proc.c"
+ yy_destructor(yypParser,75,&yymsp[-4].minor);
+ yy_destructor(yypParser,76,&yymsp[-2].minor);
+ yy_destructor(yypParser,77,&yymsp[0].minor);
+ yymsp[-5].minor.yy133 = yylhsminor.yy133;
break;
- case 126: /* callback_arg_list ::= */
-#line 830 "src/parser_proc.y"
+ case 125: /* let_exps ::= let_exp */
+#line 829 "src/parser_proc.y"
{
- yymsp[1].minor.yy287 = NULL;
+ yylhsminor.yy7 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_let_exp_free),
+ &yymsp[0].minor.yy196);
}
-#line 3067 "src/parser_proc.c"
+#line 3075 "src/parser_proc.c"
+ yymsp[0].minor.yy7 = yylhsminor.yy7;
break;
- case 127: /* callback_arg_list ::= callback_args */
+ case 126: /* let_exps ::= let_exps COMMA let_exp */
#line 833 "src/parser_proc.y"
{
- yylhsminor.yy287 = yymsp[0].minor.yy287;
+ yylhsminor.yy7 = psi_plist_add(yymsp[-2].minor.yy7, &yymsp[0].minor.yy196);
}
-#line 3074 "src/parser_proc.c"
- yymsp[0].minor.yy287 = yylhsminor.yy287;
+#line 3083 "src/parser_proc.c"
+ yy_destructor(yypParser,76,&yymsp[-1].minor);
+ yymsp[-2].minor.yy7 = yylhsminor.yy7;
break;
- case 128: /* callback_args ::= set_exp */
+ case 127: /* callback_arg_list ::= */
#line 836 "src/parser_proc.y"
{
- yylhsminor.yy287 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_set_exp_free),
- &yymsp[0].minor.yy67);
+ yymsp[1].minor.yy304 = NULL;
}
-#line 3083 "src/parser_proc.c"
- yymsp[0].minor.yy287 = yylhsminor.yy287;
+#line 3092 "src/parser_proc.c"
break;
- case 129: /* callback_args ::= callback_args COMMA set_exp */
-#line 840 "src/parser_proc.y"
+ case 128: /* callback_arg_list ::= callback_args */
+#line 839 "src/parser_proc.y"
{
- yylhsminor.yy287 = psi_plist_add(yymsp[-2].minor.yy287, &yymsp[0].minor.yy67);
+ yylhsminor.yy304 = yymsp[0].minor.yy304;
}
-#line 3091 "src/parser_proc.c"
- yy_destructor(yypParser,74,&yymsp[-1].minor);
- yymsp[-2].minor.yy287 = yylhsminor.yy287;
+#line 3099 "src/parser_proc.c"
+ yymsp[0].minor.yy304 = yylhsminor.yy304;
break;
- case 132: /* set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var RPAREN */
-#line 849 "src/parser_proc.y"
+ case 129: /* callback_args ::= set_exp */
+#line 842 "src/parser_proc.y"
{
- yylhsminor.yy78 = psi_set_func_init(yymsp[-3].minor.yy0->type, yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy207);
- yylhsminor.yy78->token = yymsp[-3].minor.yy0;
+ yylhsminor.yy304 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_set_exp_free),
+ &yymsp[0].minor.yy113);
}
-#line 3101 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-2].minor);
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-3].minor.yy78 = yylhsminor.yy78;
+#line 3108 "src/parser_proc.c"
+ yymsp[0].minor.yy304 = yylhsminor.yy304;
break;
- case 133: /* set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var COMMA set_exps RPAREN */
-#line 853 "src/parser_proc.y"
+ case 130: /* callback_args ::= callback_args COMMA set_exp */
+#line 846 "src/parser_proc.y"
{
- yylhsminor.yy78 = psi_set_func_init(yymsp[-5].minor.yy0->type, yymsp[-5].minor.yy0->text, yymsp[-3].minor.yy207);
- yylhsminor.yy78->token = yymsp[-5].minor.yy0;
- yylhsminor.yy78->inner = yymsp[-1].minor.yy303;
+ yylhsminor.yy304 = psi_plist_add(yymsp[-2].minor.yy304, &yymsp[0].minor.yy113);
}
-#line 3113 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-4].minor);
- yy_destructor(yypParser,74,&yymsp[-2].minor);
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-5].minor.yy78 = yylhsminor.yy78;
+#line 3116 "src/parser_proc.c"
+ yy_destructor(yypParser,76,&yymsp[-1].minor);
+ yymsp[-2].minor.yy304 = yylhsminor.yy304;
break;
- case 134: /* set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var COMMA ELLIPSIS RPAREN */
-#line 858 "src/parser_proc.y"
+ case 133: /* set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var RPAREN */
+#line 855 "src/parser_proc.y"
{
- yylhsminor.yy78 = psi_set_func_init(yymsp[-5].minor.yy0->type, yymsp[-5].minor.yy0->text, yymsp[-3].minor.yy207);
- yylhsminor.yy78->token = yymsp[-5].minor.yy0;
- yylhsminor.yy78->recursive = 1;
+ yylhsminor.yy324 = psi_set_func_init(yymsp[-3].minor.yy0->type, yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy131);
+ yylhsminor.yy324->token = yymsp[-3].minor.yy0;
}
#line 3126 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-4].minor);
- yy_destructor(yypParser,74,&yymsp[-2].minor);
- yy_destructor(yypParser,84,&yymsp[-1].minor);
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-5].minor.yy78 = yylhsminor.yy78;
+ yy_destructor(yypParser,75,&yymsp[-2].minor);
+ yy_destructor(yypParser,77,&yymsp[0].minor);
+ yymsp[-3].minor.yy324 = yylhsminor.yy324;
break;
- case 135: /* set_exp ::= set_func */
-#line 863 "src/parser_proc.y"
+ case 134: /* set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var COMMA set_exps RPAREN */
+#line 859 "src/parser_proc.y"
{
- yylhsminor.yy67 = psi_set_exp_init(PSI_SET_FUNC, yymsp[0].minor.yy78);
+ yylhsminor.yy324 = psi_set_func_init(yymsp[-5].minor.yy0->type, yymsp[-5].minor.yy0->text, yymsp[-3].minor.yy131);
+ yylhsminor.yy324->token = yymsp[-5].minor.yy0;
+ yylhsminor.yy324->inner = yymsp[-1].minor.yy7;
}
#line 3138 "src/parser_proc.c"
- yymsp[0].minor.yy67 = yylhsminor.yy67;
+ yy_destructor(yypParser,75,&yymsp[-4].minor);
+ yy_destructor(yypParser,76,&yymsp[-2].minor);
+ yy_destructor(yypParser,77,&yymsp[0].minor);
+ yymsp[-5].minor.yy324 = yylhsminor.yy324;
+ break;
+ case 135: /* set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var COMMA ELLIPSIS RPAREN */
+#line 864 "src/parser_proc.y"
+{
+ yylhsminor.yy324 = psi_set_func_init(yymsp[-5].minor.yy0->type, yymsp[-5].minor.yy0->text, yymsp[-3].minor.yy131);
+ yylhsminor.yy324->token = yymsp[-5].minor.yy0;
+ yylhsminor.yy324->recursive = 1;
+}
+#line 3151 "src/parser_proc.c"
+ yy_destructor(yypParser,75,&yymsp[-4].minor);
+ yy_destructor(yypParser,76,&yymsp[-2].minor);
+ yy_destructor(yypParser,86,&yymsp[-1].minor);
+ yy_destructor(yypParser,77,&yymsp[0].minor);
+ yymsp[-5].minor.yy324 = yylhsminor.yy324;
+ break;
+ case 136: /* set_exp ::= set_func */
+#line 869 "src/parser_proc.y"
+{
+ yylhsminor.yy113 = psi_set_exp_init(PSI_SET_FUNC, yymsp[0].minor.yy324);
+}
+#line 3163 "src/parser_proc.c"
+ yymsp[0].minor.yy113 = yylhsminor.yy113;
break;
- case 136: /* set_exp ::= num_exp */
-#line 866 "src/parser_proc.y"
+ case 137: /* set_exp ::= num_exp */
+#line 872 "src/parser_proc.y"
{
- yylhsminor.yy67 = psi_set_exp_init(PSI_SET_NUMEXP, yymsp[0].minor.yy39);
+ yylhsminor.yy113 = psi_set_exp_init(PSI_SET_NUMEXP, yymsp[0].minor.yy124);
}
-#line 3146 "src/parser_proc.c"
- yymsp[0].minor.yy67 = yylhsminor.yy67;
+#line 3171 "src/parser_proc.c"
+ yymsp[0].minor.yy113 = yylhsminor.yy113;
break;
- case 137: /* set_exps ::= set_exp */
-#line 869 "src/parser_proc.y"
+ case 138: /* set_exps ::= set_exp */
+#line 875 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_set_exp_free),
- &yymsp[0].minor.yy67);
+ yylhsminor.yy7 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_set_exp_free),
+ &yymsp[0].minor.yy113);
}
-#line 3155 "src/parser_proc.c"
- yymsp[0].minor.yy303 = yylhsminor.yy303;
+#line 3180 "src/parser_proc.c"
+ yymsp[0].minor.yy7 = yylhsminor.yy7;
break;
- case 138: /* set_exps ::= set_exps COMMA set_exp */
-#line 873 "src/parser_proc.y"
+ case 139: /* set_exps ::= set_exps COMMA set_exp */
+#line 879 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(yymsp[-2].minor.yy303, &yymsp[0].minor.yy67);
+ yylhsminor.yy7 = psi_plist_add(yymsp[-2].minor.yy7, &yymsp[0].minor.yy113);
}
-#line 3163 "src/parser_proc.c"
- yy_destructor(yypParser,74,&yymsp[-1].minor);
- yymsp[-2].minor.yy303 = yylhsminor.yy303;
+#line 3188 "src/parser_proc.c"
+ yy_destructor(yypParser,76,&yymsp[-1].minor);
+ yymsp[-2].minor.yy7 = yylhsminor.yy7;
+ break;
+ case 140: /* set_exp ::= impl_var EQUALS set_exp */
+#line 882 "src/parser_proc.y"
+{
+ yylhsminor.yy113 = yymsp[0].minor.yy113;
+ yylhsminor.yy113->var = yymsp[-2].minor.yy123;
+}
+#line 3198 "src/parser_proc.c"
+ yy_destructor(yypParser,83,&yymsp[-1].minor);
+ yymsp[-2].minor.yy113 = yylhsminor.yy113;
break;
- case 139: /* set_exp ::= impl_var EQUALS set_exp */
-#line 876 "src/parser_proc.y"
+ case 141: /* set_stmt ::= SET set_exp EOS */
+#line 886 "src/parser_proc.y"
{
- yylhsminor.yy67 = yymsp[0].minor.yy67;
- yylhsminor.yy67->var = yymsp[-2].minor.yy185;
+ yylhsminor.yy300 = psi_set_stmt_init(yymsp[-1].minor.yy113);
+ yylhsminor.yy300->token = yymsp[-2].minor.yy0;
}
-#line 3173 "src/parser_proc.c"
- yy_destructor(yypParser,81,&yymsp[-1].minor);
- yymsp[-2].minor.yy67 = yylhsminor.yy67;
+#line 3208 "src/parser_proc.c"
+ yy_destructor(yypParser,73,&yymsp[0].minor);
+ yymsp[-2].minor.yy300 = yylhsminor.yy300;
break;
- case 140: /* set_stmt ::= SET set_exp EOS */
-#line 880 "src/parser_proc.y"
+ case 142: /* return_stmt ::= RETURN set_func EOS */
+#line 890 "src/parser_proc.y"
{
- yylhsminor.yy226 = psi_set_stmt_init(yymsp[-1].minor.yy67);
- yylhsminor.yy226->token = yymsp[-2].minor.yy0;
+ yylhsminor.yy258 = psi_return_stmt_init(psi_set_exp_init(PSI_SET_FUNC, yymsp[-1].minor.yy324));
+ yylhsminor.yy258->token = yymsp[-2].minor.yy0;
}
-#line 3183 "src/parser_proc.c"
- yy_destructor(yypParser,71,&yymsp[0].minor);
- yymsp[-2].minor.yy226 = yylhsminor.yy226;
+#line 3218 "src/parser_proc.c"
+ yy_destructor(yypParser,73,&yymsp[0].minor);
+ yymsp[-2].minor.yy258 = yylhsminor.yy258;
break;
- case 141: /* return_stmt ::= RETURN set_func EOS */
-#line 884 "src/parser_proc.y"
+ case 143: /* free_stmt ::= FREE free_exps EOS */
+#line 894 "src/parser_proc.y"
{
- yylhsminor.yy130 = psi_return_stmt_init(psi_set_exp_init(PSI_SET_FUNC, yymsp[-1].minor.yy78));
- yylhsminor.yy130->token = yymsp[-2].minor.yy0;
+ yylhsminor.yy102 = psi_free_stmt_init(yymsp[-1].minor.yy7);
+ yylhsminor.yy102->token = yymsp[-2].minor.yy0;
}
-#line 3193 "src/parser_proc.c"
- yy_destructor(yypParser,71,&yymsp[0].minor);
- yymsp[-2].minor.yy130 = yylhsminor.yy130;
+#line 3228 "src/parser_proc.c"
+ yy_destructor(yypParser,73,&yymsp[0].minor);
+ yymsp[-2].minor.yy102 = yylhsminor.yy102;
break;
- case 142: /* free_stmt ::= FREE free_exps EOS */
-#line 888 "src/parser_proc.y"
+ case 144: /* free_exps ::= free_exp */
+#line 898 "src/parser_proc.y"
{
- yylhsminor.yy76 = psi_free_stmt_init(yymsp[-1].minor.yy303);
- yylhsminor.yy76->token = yymsp[-2].minor.yy0;
+ yylhsminor.yy7 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_free_exp_free),
+ &yymsp[0].minor.yy114);
}
-#line 3203 "src/parser_proc.c"
- yy_destructor(yypParser,71,&yymsp[0].minor);
- yymsp[-2].minor.yy76 = yylhsminor.yy76;
+#line 3238 "src/parser_proc.c"
+ yymsp[0].minor.yy7 = yylhsminor.yy7;
break;
- case 143: /* free_exps ::= free_exp */
-#line 892 "src/parser_proc.y"
+ case 145: /* free_exps ::= free_exps COMMA free_exp */
+#line 902 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_free_exp_free),
- &yymsp[0].minor.yy197);
+ yylhsminor.yy7 = psi_plist_add(yymsp[-2].minor.yy7, &yymsp[0].minor.yy114);
}
-#line 3213 "src/parser_proc.c"
- yymsp[0].minor.yy303 = yylhsminor.yy303;
+#line 3246 "src/parser_proc.c"
+ yy_destructor(yypParser,76,&yymsp[-1].minor);
+ yymsp[-2].minor.yy7 = yylhsminor.yy7;
break;
- case 144: /* free_exps ::= free_exps COMMA free_exp */
-#line 896 "src/parser_proc.y"
+ case 146: /* free_exp ::= NAME LPAREN decl_vars RPAREN */
+#line 905 "src/parser_proc.y"
{
- yylhsminor.yy303 = psi_plist_add(yymsp[-2].minor.yy303, &yymsp[0].minor.yy197);
+ yylhsminor.yy114 = psi_free_exp_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy7);
+ yylhsminor.yy114->token = yymsp[-3].minor.yy0;
}
-#line 3221 "src/parser_proc.c"
- yy_destructor(yypParser,74,&yymsp[-1].minor);
- yymsp[-2].minor.yy303 = yylhsminor.yy303;
+#line 3256 "src/parser_proc.c"
+ yy_destructor(yypParser,75,&yymsp[-2].minor);
+ yy_destructor(yypParser,77,&yymsp[0].minor);
+ yymsp[-3].minor.yy114 = yylhsminor.yy114;
break;
- case 145: /* free_exp ::= NAME LPAREN decl_vars RPAREN */
-#line 899 "src/parser_proc.y"
+ case 147: /* assert_stmt ::= PRE_ASSERT|POST_ASSERT num_exp EOS */
+#line 909 "src/parser_proc.y"
{
- yylhsminor.yy197 = psi_free_exp_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy303);
- yylhsminor.yy197->token = yymsp[-3].minor.yy0;
+ yylhsminor.yy146 = psi_assert_stmt_init(yymsp[-2].minor.yy0->type, yymsp[-1].minor.yy124);
+ yylhsminor.yy146->token = yymsp[-2].minor.yy0;
}
-#line 3231 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-2].minor);
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-3].minor.yy197 = yylhsminor.yy197;
+#line 3267 "src/parser_proc.c"
+ yy_destructor(yypParser,73,&yymsp[0].minor);
+ yymsp[-2].minor.yy146 = yylhsminor.yy146;
break;
- case 146: /* reference ::= */
-#line 903 "src/parser_proc.y"
+ case 148: /* reference ::= */
+#line 913 "src/parser_proc.y"
{
- yymsp[1].minor.yy273 = false;
+ yymsp[1].minor.yy247 = false;
}
-#line 3241 "src/parser_proc.c"
+#line 3276 "src/parser_proc.c"
break;
- case 147: /* reference ::= AMPERSAND */
+ case 149: /* reference ::= AMPERSAND */
{ yy_destructor(yypParser,23,&yymsp[0].minor);
-#line 906 "src/parser_proc.y"
+#line 916 "src/parser_proc.y"
{
- yymsp[0].minor.yy273 = true;
+ yymsp[0].minor.yy247 = true;
}
-#line 3249 "src/parser_proc.c"
+#line 3284 "src/parser_proc.c"
}
break;
- case 148: /* indirection ::= */
-#line 909 "src/parser_proc.y"
+ case 150: /* indirection ::= */
+#line 919 "src/parser_proc.y"
{
- yymsp[1].minor.yy190 = 0;
+ yymsp[1].minor.yy296 = 0;
}
-#line 3257 "src/parser_proc.c"
+#line 3292 "src/parser_proc.c"
break;
- case 149: /* indirection ::= pointers */
-#line 912 "src/parser_proc.y"
+ case 151: /* indirection ::= pointers */
+#line 922 "src/parser_proc.y"
{
- yylhsminor.yy190 = yymsp[0].minor.yy190;
+ yylhsminor.yy296 = yymsp[0].minor.yy296;
}
-#line 3264 "src/parser_proc.c"
- yymsp[0].minor.yy190 = yylhsminor.yy190;
+#line 3299 "src/parser_proc.c"
+ yymsp[0].minor.yy296 = yylhsminor.yy296;
break;
- case 150: /* pointers ::= ASTERISK */
+ case 152: /* pointers ::= ASTERISK */
{ yy_destructor(yypParser,28,&yymsp[0].minor);
-#line 915 "src/parser_proc.y"
+#line 925 "src/parser_proc.y"
{
- yymsp[0].minor.yy190 = 1;
+ yymsp[0].minor.yy296 = 1;
}
-#line 3273 "src/parser_proc.c"
+#line 3308 "src/parser_proc.c"
}
break;
- case 151: /* pointers ::= pointers ASTERISK */
-#line 918 "src/parser_proc.y"
+ case 153: /* pointers ::= pointers ASTERISK */
+#line 928 "src/parser_proc.y"
{
- yylhsminor.yy190 = yymsp[-1].minor.yy190+1;
+ yylhsminor.yy296 = yymsp[-1].minor.yy296+1;
}
-#line 3281 "src/parser_proc.c"
+#line 3316 "src/parser_proc.c"
yy_destructor(yypParser,28,&yymsp[0].minor);
- yymsp[-1].minor.yy190 = yylhsminor.yy190;
+ yymsp[-1].minor.yy296 = yylhsminor.yy296;
break;
- case 152: /* file ::= blocks */
-{ yy_destructor(yypParser,154,&yymsp[0].minor);
-#line 172 "src/parser_proc.y"
+ case 154: /* file ::= blocks */
+{ yy_destructor(yypParser,157,&yymsp[0].minor);
+#line 175 "src/parser_proc.y"
{
}
-#line 3290 "src/parser_proc.c"
+#line 3325 "src/parser_proc.c"
}
break;
- case 153: /* blocks ::= block */
-{ yy_destructor(yypParser,155,&yymsp[0].minor);
-#line 173 "src/parser_proc.y"
+ case 155: /* blocks ::= block */
+{ yy_destructor(yypParser,158,&yymsp[0].minor);
+#line 176 "src/parser_proc.y"
{
}
-#line 3298 "src/parser_proc.c"
+#line 3333 "src/parser_proc.c"
}
break;
- case 154: /* blocks ::= blocks block */
-{ yy_destructor(yypParser,154,&yymsp[-1].minor);
-#line 174 "src/parser_proc.y"
+ case 156: /* blocks ::= blocks block */
+{ yy_destructor(yypParser,157,&yymsp[-1].minor);
+#line 177 "src/parser_proc.y"
{
}
-#line 3306 "src/parser_proc.c"
- yy_destructor(yypParser,155,&yymsp[0].minor);
+#line 3341 "src/parser_proc.c"
+ yy_destructor(yypParser,158,&yymsp[0].minor);
}
break;
- case 155: /* block ::= EOF */
-{ yy_destructor(yypParser,70,&yymsp[0].minor);
-#line 175 "src/parser_proc.y"
+ case 157: /* block ::= EOF */
+{ yy_destructor(yypParser,72,&yymsp[0].minor);
+#line 178 "src/parser_proc.y"
{
}
-#line 3315 "src/parser_proc.c"
+#line 3350 "src/parser_proc.c"
}
break;
- case 156: /* block ::= EOS */
-{ yy_destructor(yypParser,71,&yymsp[0].minor);
-#line 176 "src/parser_proc.y"
+ case 158: /* block ::= EOS */
+{ yy_destructor(yypParser,73,&yymsp[0].minor);
+#line 179 "src/parser_proc.y"
{
}
-#line 3323 "src/parser_proc.c"
+#line 3358 "src/parser_proc.c"
}
break;
default:
/************ Begin %syntax_error code ****************************************/
#line 40 "src/parser_proc.y"
++P->errors; if (TOKEN && TOKEN->type != PSI_T_EOF) { psi_error(PSI_WARNING, TOKEN->file, TOKEN->line, "PSI syntax error: Unexpected token '%s' at pos %u", TOKEN->text, TOKEN->col); } else { psi_error(PSI_WARNING, P->file.fn, P->line, "PSI syntax error: Unexpected end of input"); }
-#line 3385 "src/parser_proc.c"
+#line 3420 "src/parser_proc.c"
/************ End %syntax_error code ******************************************/
ParseARG_STORE; /* Suppress warning about unused %extra_argument variable */
}