#endif
/************* Begin control #defines *****************************************/
#define YYCODETYPE unsigned char
-#define YYNOCODE 159
+#define YYNOCODE 167
#define YYACTIONTYPE unsigned short int
#define ParseTOKENTYPE struct psi_token *
typedef union {
int yyinit;
ParseTOKENTYPE yy0;
- struct psi_let_calloc* yy9;
- struct psi_decl_var* yy11;
- struct psi_let_exp* yy20;
- struct psi_set_func* yy26;
- struct psi_let_func* yy27;
- struct psi_impl_var* yy37;
- struct psi_plist * yy43;
- struct psi_decl_enum * yy63;
- struct psi_token** yy78;
- struct psi_return_stmt* yy90;
- struct psi_layout yy91;
- struct psi_impl_def_val* yy93;
- struct psi_free_exp* yy94;
- struct psi_impl* yy97;
- struct psi_set_stmt* yy98;
- struct psi_decl* yy103;
- bool yy121;
- struct psi_decl_type* yy132;
- struct psi_impl_type* yy138;
- struct psi_layout* yy141;
- struct psi_set_exp* yy147;
- struct psi_const* yy154;
- struct psi_plist* yy163;
- struct psi_impl_func* yy168;
- struct psi_const_type* yy171;
- struct psi_decl_arg* yy184;
- struct psi_number* yy188;
- struct psi_free_stmt* yy192;
- unsigned yy202;
- struct psi_impl_arg* yy210;
- struct psi_decl_enum_item* yy217;
- struct psi_decl_abi* yy218;
- struct psi_let_callback* yy220;
- struct psi_num_exp* yy259;
- struct psi_decl_union* yy271;
- struct psi_decl_struct* yy275;
- struct psi_let_stmt* yy311;
+ 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;
} YYMINORTYPE;
#ifndef YYSTACKDEPTH
#define YYSTACKDEPTH 100
** yy_default[] Default action for each state.
**
*********** Begin parsing tables **********************************************/
-#define YY_ACTTAB_COUNT (960)
+#define YY_ACTTAB_COUNT (1024)
static const YYACTIONTYPE yy_action[] = {
/* 0 */ 394, 409, 93, 409, 409, 409, 409, 409, 409, 409,
- /* 10 */ 409, 409, 409, 93, 436, 430, 478, 164, 116, 430,
- /* 20 */ 350, 423, 15, 475, 431, 27, 27, 478, 2, 133,
- /* 30 */ 27, 27, 148, 148, 148, 148, 148, 148, 148, 148,
- /* 40 */ 148, 148, 432, 100, 48, 440, 442, 83, 29, 29,
- /* 50 */ 29, 29, 29, 29, 29, 29, 29, 29, 149, 56,
- /* 60 */ 478, 422, 107, 122, 28, 155, 90, 89, 88, 365,
- /* 70 */ 348, 397, 35, 470, 410, 43, 70, 390, 81, 67,
- /* 80 */ 65, 64, 394, 409, 47, 409, 409, 409, 409, 409,
- /* 90 */ 409, 409, 409, 409, 409, 39, 49, 11, 10, 60,
- /* 100 */ 93, 437, 430, 349, 352, 411, 430, 417, 417, 417,
- /* 110 */ 417, 417, 27, 27, 478, 405, 146, 27, 27, 148,
- /* 120 */ 148, 148, 148, 148, 148, 148, 148, 148, 148, 83,
- /* 130 */ 374, 108, 394, 409, 376, 409, 409, 409, 409, 409,
- /* 140 */ 409, 409, 409, 409, 409, 149, 405, 80, 179, 181,
- /* 150 */ 180, 28, 193, 182, 35, 425, 153, 376, 427, 390,
- /* 160 */ 81, 67, 65, 64, 359, 166, 428, 494, 77, 122,
- /* 170 */ 426, 429, 165, 122, 494, 382, 114, 410, 33, 41,
- /* 180 */ 410, 43, 394, 409, 431, 409, 409, 409, 409, 409,
- /* 190 */ 409, 409, 409, 409, 409, 158, 115, 416, 90, 89,
- /* 200 */ 88, 415, 432, 96, 34, 414, 182, 375, 134, 390,
- /* 210 */ 81, 67, 65, 64, 194, 87, 85, 178, 405, 136,
- /* 220 */ 421, 405, 167, 122, 169, 79, 137, 4, 384, 83,
- /* 230 */ 410, 43, 394, 409, 112, 409, 409, 409, 409, 409,
- /* 240 */ 409, 409, 409, 409, 409, 357, 122, 394, 90, 89,
- /* 250 */ 88, 382, 117, 182, 35, 119, 410, 43, 122, 390,
- /* 260 */ 81, 67, 65, 64, 178, 122, 379, 194, 87, 85,
- /* 270 */ 94, 405, 79, 122, 395, 385, 343, 410, 43, 76,
- /* 280 */ 479, 366, 394, 409, 122, 409, 409, 409, 409, 409,
- /* 290 */ 409, 409, 409, 409, 409, 478, 402, 405, 179, 181,
- /* 300 */ 180, 383, 349, 351, 35, 124, 410, 43, 401, 390,
- /* 310 */ 81, 67, 65, 64, 194, 87, 85, 53, 405, 131,
- /* 320 */ 419, 419, 419, 419, 390, 81, 67, 431, 68, 66,
- /* 330 */ 147, 132, 394, 409, 431, 409, 409, 409, 409, 409,
- /* 340 */ 409, 409, 409, 409, 409, 432, 97, 405, 179, 181,
- /* 350 */ 180, 38, 432, 102, 35, 124, 431, 127, 431, 390,
- /* 360 */ 81, 67, 65, 64, 36, 128, 122, 418, 419, 419,
- /* 370 */ 419, 419, 419, 122, 432, 98, 432, 104, 20, 83,
- /* 380 */ 106, 472, 394, 409, 431, 409, 409, 409, 409, 409,
- /* 390 */ 409, 409, 409, 409, 409, 122, 377, 122, 179, 181,
- /* 400 */ 180, 368, 432, 103, 35, 353, 353, 353, 353, 390,
- /* 410 */ 81, 67, 65, 64, 29, 29, 29, 29, 29, 29,
- /* 420 */ 29, 29, 29, 122, 109, 471, 356, 145, 113, 74,
- /* 430 */ 157, 161, 394, 409, 105, 409, 409, 409, 409, 409,
- /* 440 */ 409, 409, 409, 409, 409, 160, 161, 367, 179, 181,
- /* 450 */ 180, 361, 147, 147, 189, 163, 161, 42, 176, 390,
- /* 460 */ 81, 67, 65, 64, 92, 122, 177, 458, 458, 458,
- /* 470 */ 458, 458, 458, 458, 458, 458, 458, 335, 479, 82,
- /* 480 */ 123, 344, 333, 459, 334, 400, 332, 331, 37, 473,
- /* 490 */ 398, 329, 393, 19, 8, 451, 391, 118, 179, 181,
- /* 500 */ 180, 378, 2, 330, 151, 13, 461, 7, 460, 390,
- /* 510 */ 81, 67, 65, 64, 93, 479, 430, 6, 450, 84,
- /* 520 */ 430, 86, 120, 475, 44, 342, 27, 27, 478, 23,
- /* 530 */ 154, 27, 27, 141, 643, 3, 3, 45, 194, 24,
- /* 540 */ 360, 379, 121, 141, 141, 141, 141, 141, 141, 141,
- /* 550 */ 341, 183, 46, 340, 192, 479, 345, 337, 93, 373,
- /* 560 */ 430, 372, 61, 57, 430, 28, 126, 475, 125, 58,
- /* 570 */ 27, 27, 478, 59, 130, 27, 27, 141, 419, 419,
- /* 580 */ 419, 419, 31, 16, 32, 469, 631, 141, 141, 141,
- /* 590 */ 141, 141, 141, 141, 29, 29, 29, 29, 29, 29,
- /* 600 */ 29, 29, 29, 29, 93, 637, 430, 71, 468, 28,
- /* 610 */ 430, 447, 446, 475, 462, 12, 27, 27, 478, 369,
- /* 620 */ 139, 27, 27, 141, 40, 448, 419, 419, 419, 419,
- /* 630 */ 419, 14, 5, 141, 141, 141, 141, 141, 141, 141,
- /* 640 */ 449, 143, 418, 50, 129, 51, 26, 364, 369, 9,
- /* 650 */ 17, 363, 152, 72, 18, 28, 29, 29, 29, 29,
- /* 660 */ 29, 29, 29, 29, 29, 29, 196, 483, 484, 156,
- /* 670 */ 93, 52, 430, 95, 190, 170, 430, 73, 159, 63,
- /* 680 */ 1, 479, 27, 27, 478, 162, 75, 27, 27, 69,
- /* 690 */ 68, 54, 522, 355, 354, 196, 483, 484, 62, 168,
- /* 700 */ 78, 25, 95, 190, 170, 389, 335, 171, 63, 1,
- /* 710 */ 172, 333, 173, 334, 141, 332, 331, 174, 69, 68,
- /* 720 */ 329, 28, 19, 175, 141, 141, 141, 141, 141, 141,
- /* 730 */ 141, 387, 330, 151, 150, 29, 29, 29, 29, 29,
- /* 740 */ 29, 29, 29, 29, 29, 431, 386, 494, 408, 407,
- /* 750 */ 185, 406, 432, 101, 358, 439, 441, 140, 184, 438,
- /* 760 */ 452, 110, 339, 432, 99, 482, 186, 194, 144, 142,
- /* 770 */ 187, 431, 188, 122, 456, 91, 463, 371, 191, 30,
- /* 780 */ 55, 433, 147, 140, 122, 328, 195, 487, 487, 432,
- /* 790 */ 99, 487, 487, 150, 487, 39, 49, 11, 10, 60,
- /* 800 */ 465, 111, 463, 150, 487, 487, 487, 487, 147, 487,
- /* 810 */ 122, 432, 101, 413, 439, 441, 487, 487, 438, 453,
- /* 820 */ 487, 432, 101, 487, 439, 441, 150, 487, 438, 445,
- /* 830 */ 487, 487, 122, 487, 487, 487, 487, 487, 431, 487,
- /* 840 */ 487, 431, 122, 487, 432, 101, 487, 439, 441, 487,
- /* 850 */ 140, 438, 138, 140, 487, 487, 432, 99, 487, 432,
- /* 860 */ 99, 487, 487, 487, 487, 122, 487, 135, 487, 463,
- /* 870 */ 467, 431, 463, 487, 431, 147, 487, 122, 147, 487,
- /* 880 */ 122, 487, 487, 140, 487, 487, 140, 487, 487, 432,
- /* 890 */ 99, 487, 432, 99, 487, 487, 487, 487, 487, 487,
- /* 900 */ 466, 487, 463, 457, 487, 463, 487, 487, 147, 487,
- /* 910 */ 122, 147, 487, 122, 487, 21, 424, 487, 487, 427,
- /* 920 */ 487, 487, 22, 424, 487, 487, 427, 428, 487, 487,
- /* 930 */ 487, 426, 429, 487, 428, 487, 487, 487, 426, 429,
- /* 940 */ 487, 39, 49, 11, 10, 60, 487, 487, 487, 487,
- /* 950 */ 487, 487, 487, 487, 487, 487, 487, 487, 487, 412,
+ /* 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,
};
static const YYCODETYPE yy_lookahead[] = {
/* 0 */ 2, 3, 14, 5, 6, 7, 8, 9, 10, 11,
- /* 10 */ 12, 13, 14, 14, 15, 16, 28, 143, 144, 20,
- /* 20 */ 63, 118, 23, 23, 105, 26, 27, 28, 71, 14,
- /* 30 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
- /* 40 */ 41, 42, 123, 124, 141, 126, 127, 49, 21, 22,
- /* 50 */ 23, 24, 25, 26, 27, 28, 29, 30, 59, 60,
- /* 60 */ 28, 118, 119, 144, 65, 103, 68, 69, 70, 107,
- /* 70 */ 72, 5, 74, 63, 112, 113, 66, 79, 80, 81,
- /* 80 */ 82, 83, 2, 3, 141, 5, 6, 7, 8, 9,
- /* 90 */ 10, 11, 12, 13, 14, 54, 55, 56, 57, 58,
- /* 100 */ 14, 15, 16, 91, 92, 112, 20, 15, 16, 17,
- /* 110 */ 18, 19, 26, 27, 28, 153, 157, 31, 32, 33,
- /* 120 */ 34, 35, 36, 37, 38, 39, 40, 41, 42, 49,
- /* 130 */ 105, 106, 2, 3, 105, 5, 6, 7, 8, 9,
- /* 140 */ 10, 11, 12, 13, 14, 59, 153, 81, 68, 69,
- /* 150 */ 70, 65, 14, 88, 74, 122, 76, 105, 125, 79,
- /* 160 */ 80, 81, 82, 83, 99, 100, 133, 64, 103, 144,
- /* 170 */ 137, 138, 107, 144, 71, 107, 108, 112, 113, 49,
- /* 180 */ 112, 113, 2, 3, 105, 5, 6, 7, 8, 9,
- /* 190 */ 10, 11, 12, 13, 14, 143, 144, 141, 68, 69,
- /* 200 */ 70, 141, 123, 124, 74, 141, 88, 105, 136, 79,
- /* 210 */ 80, 81, 82, 83, 149, 150, 151, 99, 153, 105,
- /* 220 */ 116, 153, 116, 144, 96, 107, 105, 109, 110, 49,
- /* 230 */ 112, 113, 2, 3, 105, 5, 6, 7, 8, 9,
- /* 240 */ 10, 11, 12, 13, 14, 105, 144, 2, 68, 69,
- /* 250 */ 70, 107, 108, 88, 74, 144, 112, 113, 144, 79,
- /* 260 */ 80, 81, 82, 83, 99, 144, 14, 149, 150, 151,
- /* 270 */ 66, 153, 107, 144, 155, 110, 72, 112, 113, 49,
- /* 280 */ 28, 14, 2, 3, 144, 5, 6, 7, 8, 9,
- /* 290 */ 10, 11, 12, 13, 14, 28, 153, 153, 68, 69,
- /* 300 */ 70, 107, 91, 92, 74, 117, 112, 113, 153, 79,
- /* 310 */ 80, 81, 82, 83, 149, 150, 151, 65, 153, 142,
- /* 320 */ 1, 2, 3, 4, 79, 80, 81, 105, 85, 49,
- /* 330 */ 142, 115, 2, 3, 105, 5, 6, 7, 8, 9,
- /* 340 */ 10, 11, 12, 13, 14, 123, 124, 153, 68, 69,
- /* 350 */ 70, 142, 123, 124, 74, 117, 105, 76, 105, 79,
- /* 360 */ 80, 81, 82, 83, 66, 67, 144, 86, 49, 50,
- /* 370 */ 51, 52, 53, 144, 123, 124, 123, 124, 65, 49,
- /* 380 */ 142, 140, 2, 3, 105, 5, 6, 7, 8, 9,
- /* 390 */ 10, 11, 12, 13, 14, 144, 101, 144, 68, 69,
- /* 400 */ 70, 101, 123, 124, 74, 1, 2, 3, 4, 79,
- /* 410 */ 80, 81, 82, 83, 22, 23, 24, 25, 26, 27,
- /* 420 */ 28, 29, 30, 144, 139, 140, 105, 117, 117, 49,
- /* 430 */ 143, 144, 2, 3, 144, 5, 6, 7, 8, 9,
- /* 440 */ 10, 11, 12, 13, 14, 143, 144, 101, 68, 69,
- /* 450 */ 70, 101, 142, 142, 64, 143, 144, 94, 64, 79,
- /* 460 */ 80, 81, 82, 83, 14, 144, 111, 33, 34, 35,
- /* 470 */ 36, 37, 38, 39, 40, 41, 42, 88, 28, 49,
- /* 480 */ 89, 90, 93, 49, 95, 2, 97, 98, 66, 67,
- /* 490 */ 156, 102, 2, 104, 66, 67, 154, 144, 68, 69,
- /* 500 */ 70, 14, 71, 114, 115, 66, 67, 66, 67, 79,
- /* 510 */ 80, 81, 82, 83, 14, 28, 16, 66, 67, 94,
- /* 520 */ 20, 94, 14, 23, 91, 148, 26, 27, 28, 66,
- /* 530 */ 67, 31, 32, 33, 145, 146, 147, 91, 149, 66,
- /* 540 */ 67, 14, 14, 43, 44, 45, 46, 47, 48, 49,
- /* 550 */ 148, 14, 94, 148, 77, 28, 90, 14, 14, 152,
- /* 560 */ 16, 152, 73, 64, 20, 65, 86, 23, 67, 64,
- /* 570 */ 26, 27, 28, 64, 20, 31, 32, 33, 1, 2,
- /* 580 */ 3, 4, 65, 71, 65, 63, 86, 43, 44, 45,
- /* 590 */ 46, 47, 48, 49, 21, 22, 23, 24, 25, 26,
- /* 600 */ 27, 28, 29, 30, 14, 0, 16, 73, 63, 65,
- /* 610 */ 20, 63, 63, 23, 67, 73, 26, 27, 28, 14,
- /* 620 */ 76, 31, 32, 33, 65, 67, 49, 50, 51, 52,
- /* 630 */ 53, 66, 65, 43, 44, 45, 46, 47, 48, 49,
- /* 640 */ 67, 67, 86, 65, 67, 65, 65, 63, 14, 73,
- /* 650 */ 71, 63, 67, 67, 65, 65, 21, 22, 23, 24,
- /* 660 */ 25, 26, 27, 28, 29, 30, 61, 62, 63, 14,
- /* 670 */ 14, 65, 16, 68, 69, 70, 20, 67, 14, 74,
- /* 680 */ 75, 28, 26, 27, 28, 14, 67, 31, 32, 84,
- /* 690 */ 85, 65, 65, 63, 63, 61, 62, 63, 73, 20,
- /* 700 */ 14, 66, 68, 69, 70, 67, 88, 16, 74, 75,
- /* 710 */ 66, 93, 16, 95, 33, 97, 98, 65, 84, 85,
- /* 720 */ 102, 65, 104, 64, 43, 44, 45, 46, 47, 48,
- /* 730 */ 49, 63, 114, 115, 105, 21, 22, 23, 24, 25,
- /* 740 */ 26, 27, 28, 29, 30, 105, 63, 71, 14, 14,
- /* 750 */ 66, 14, 123, 124, 14, 126, 127, 117, 16, 130,
- /* 760 */ 131, 132, 67, 123, 124, 147, 16, 149, 128, 129,
- /* 770 */ 65, 105, 64, 144, 134, 14, 136, 78, 16, 73,
- /* 780 */ 71, 67, 142, 117, 144, 63, 19, 158, 158, 123,
- /* 790 */ 124, 158, 158, 105, 158, 54, 55, 56, 57, 58,
- /* 800 */ 134, 135, 136, 105, 158, 158, 158, 158, 142, 158,
- /* 810 */ 144, 123, 124, 72, 126, 127, 158, 158, 130, 131,
- /* 820 */ 158, 123, 124, 158, 126, 127, 105, 158, 130, 131,
- /* 830 */ 158, 158, 144, 158, 158, 158, 158, 158, 105, 158,
- /* 840 */ 158, 105, 144, 158, 123, 124, 158, 126, 127, 158,
- /* 850 */ 117, 130, 131, 117, 158, 158, 123, 124, 158, 123,
- /* 860 */ 124, 158, 158, 158, 158, 144, 158, 134, 158, 136,
- /* 870 */ 134, 105, 136, 158, 105, 142, 158, 144, 142, 158,
- /* 880 */ 144, 158, 158, 117, 158, 158, 117, 158, 158, 123,
- /* 890 */ 124, 158, 123, 124, 158, 158, 158, 158, 158, 158,
- /* 900 */ 134, 158, 136, 134, 158, 136, 158, 158, 142, 158,
- /* 910 */ 144, 142, 158, 144, 158, 121, 122, 158, 158, 125,
- /* 920 */ 158, 158, 121, 122, 158, 158, 125, 133, 158, 158,
- /* 930 */ 158, 137, 138, 158, 133, 158, 158, 158, 137, 138,
- /* 940 */ 158, 54, 55, 56, 57, 58, 158, 158, 158, 158,
- /* 950 */ 158, 158, 158, 158, 158, 158, 158, 158, 158, 72,
+ /* 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,
+ /* 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,
};
-#define YY_SHIFT_USE_DFLT (960)
+#define YY_SHIFT_USE_DFLT (1024)
#define YY_SHIFT_COUNT (196)
-#define YY_SHIFT_MIN (-43)
-#define YY_SHIFT_MAX (887)
+#define YY_SHIFT_MIN (-42)
+#define YY_SHIFT_MAX (831)
static const short yy_shift_ofst[] = {
- /* 0 */ 634, 130, 180, 605, -2, 500, -1, 544, -1, -1,
- /* 10 */ -1, 590, 590, 590, 590, 86, 41, 41, 230, 280,
- /* 20 */ 230, 741, 887, 80, 330, 656, 656, 656, 656, 656,
- /* 30 */ 656, 577, -12, -12, 380, 430, 319, -12, -12, -12,
- /* 40 */ -12, 267, -43, -12, -12, -12, -43, 0, 0, 15,
- /* 50 */ 0, 0, 32, 32, 32, 138, 434, 319, 319, 319,
- /* 60 */ 681, 92, 92, 404, 245, 245, 267, 66, 0, 243,
- /* 70 */ 15, 0, 313, 313, 32, 313, 32, 313, 390, 394,
- /* 80 */ 483, 490, 32, 32, 431, 390, 431, 390, 508, 528,
- /* 90 */ 537, 390, 477, 477, 138, 543, 573, 635, 714, 27,
- /* 100 */ 27, 27, 27, 27, 392, 252, 281, 298, 422, 10,
- /* 110 */ 428, 439, 441, 451, 463, 450, 487, 473, 527, 487,
- /* 120 */ 103, 103, 450, 204, 489, 499, 501, 480, 505, 509,
- /* 130 */ 517, 554, 512, 519, 522, 545, 548, 534, 549, 547,
- /* 140 */ 542, 559, 565, 558, 574, 567, 578, 556, 580, 581,
- /* 150 */ 576, 579, 584, 585, 588, 589, 586, 655, 606, 610,
- /* 160 */ 664, 653, 619, 671, 626, 627, 630, 631, 625, 679,
- /* 170 */ 686, 638, 691, 644, 696, 652, 659, 668, 683, 734,
- /* 180 */ 735, 737, 740, 676, 695, 742, 684, 750, 705, 708,
- /* 190 */ 761, 699, 762, 706, 709, 722, 767,
+ /* 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,
};
-#define YY_REDUCE_USE_DFLT (-127)
+#define YY_REDUCE_USE_DFLT (-113)
#define YY_REDUCE_COUNT (95)
-#define YY_REDUCE_MIN (-126)
-#define YY_REDUCE_MAX (801)
+#define YY_REDUCE_MIN (-112)
+#define YY_REDUCE_MAX (871)
static const short yy_reduce_ofst[] = {
- /* 0 */ 389, 65, 118, 618, 165, 640, 629, 666, 688, 698,
- /* 10 */ 721, 733, 736, 766, 769, -81, 794, 801, 68, -38,
- /* 20 */ 144, 33, 33, 194, 194, 79, 222, 229, 251, 253,
- /* 30 */ 279, -57, 25, 52, -7, -7, -97, 102, 114, 121,
- /* 40 */ 129, -126, 12, 29, 140, 321, 211, 188, 238, 285,
- /* 50 */ 310, 311, 287, 302, 312, 391, -41, 56, 60, 64,
- /* 60 */ 72, 104, 106, 128, 143, 155, 111, 119, 177, 216,
- /* 70 */ 241, 209, 295, 300, 290, 346, 111, 350, 363, 355,
- /* 80 */ 334, 342, 353, 111, 433, 425, 446, 427, 377, 402,
- /* 90 */ 405, 458, 407, 409, 466, 405,
+ /* 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,
};
static const YYACTIONTYPE yy_default[] = {
/* 0 */ 642, 642, 642, 642, 642, 611, 642, 631, 642, 642,
0, /* ASTERISK => nothing */
0, /* SLASH => nothing */
0, /* MODULO => nothing */
+ 0, /* RCHEVR => nothing */
+ 0, /* LCHEVR => nothing */
+ 0, /* CMP_GE => nothing */
+ 0, /* CMP_LE => nothing */
+ 0, /* OR => nothing */
+ 0, /* AND => nothing */
+ 0, /* CMP_EQ => nothing */
+ 0, /* CMP_NE => nothing */
0, /* TILDE => nothing */
0, /* NOT => nothing */
14, /* ZVAL => NAME */
"NUMBER", "TRUE", "FALSE", "QUOTED_STRING",
"NSNAME", "PIPE", "CARET", "AMPERSAND",
"LSHIFT", "RSHIFT", "PLUS", "MINUS",
- "ASTERISK", "SLASH", "MODULO", "TILDE",
+ "ASTERISK", "SLASH", "MODULO", "RCHEVR",
+ "LCHEVR", "CMP_GE", "CMP_LE", "OR",
+ "AND", "CMP_EQ", "CMP_NE", "TILDE",
"NOT", "ZVAL", "OBJVAL", "ARRVAL",
"PATHVAL", "STRLEN", "STRVAL", "FLOATVAL",
"INTVAL", "BOOLVAL", "COUNT", "TO_OBJECT",
/* 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 num_exp",
+ /* 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",
case 28: /* ASTERISK */
case 29: /* SLASH */
case 30: /* MODULO */
- case 31: /* TILDE */
- case 32: /* NOT */
- case 33: /* ZVAL */
- case 34: /* OBJVAL */
- case 35: /* ARRVAL */
- case 36: /* PATHVAL */
- case 37: /* STRLEN */
- case 38: /* STRVAL */
- case 39: /* FLOATVAL */
- case 40: /* INTVAL */
- case 41: /* BOOLVAL */
- case 42: /* COUNT */
- case 43: /* TO_OBJECT */
- case 44: /* TO_ARRAY */
- case 45: /* TO_STRING */
- case 46: /* TO_INT */
- case 47: /* TO_FLOAT */
- case 48: /* TO_BOOL */
- case 49: /* VOID */
- case 50: /* MIXED */
- case 51: /* ARRAY */
- case 52: /* OBJECT */
- case 53: /* CALLABLE */
- case 54: /* TEMP */
- case 55: /* FREE */
- case 56: /* SET */
- case 57: /* LET */
- case 58: /* RETURN */
- case 59: /* CALLOC */
- case 60: /* CALLBACK */
- case 61: /* LIB */
- case 62: /* EOF */
- case 63: /* EOS */
- case 64: /* COLON */
- case 65: /* LPAREN */
- case 66: /* COMMA */
- case 67: /* RPAREN */
- case 68: /* ENUM */
- case 69: /* STRUCT */
- case 70: /* UNION */
- case 71: /* LBRACE */
- case 72: /* RBRACE */
- case 73: /* EQUALS */
- case 74: /* CONST */
- case 75: /* TYPEDEF */
- case 76: /* ELLIPSIS */
- case 77: /* LBRACKET */
- case 78: /* RBRACKET */
- case 79: /* CHAR */
- case 80: /* SHORT */
- case 81: /* LONG */
- case 82: /* UNSIGNED */
- case 83: /* SIGNED */
- case 84: /* STATIC */
- case 85: /* FUNCTION */
- case 86: /* DOLLAR_NAME */
+ case 31: /* RCHEVR */
+ case 32: /* LCHEVR */
+ case 33: /* CMP_GE */
+ case 34: /* CMP_LE */
+ case 35: /* OR */
+ case 36: /* AND */
+ case 37: /* CMP_EQ */
+ case 38: /* CMP_NE */
+ case 39: /* TILDE */
+ case 40: /* NOT */
+ case 41: /* ZVAL */
+ case 42: /* OBJVAL */
+ case 43: /* ARRVAL */
+ case 44: /* PATHVAL */
+ case 45: /* STRLEN */
+ case 46: /* STRVAL */
+ case 47: /* FLOATVAL */
+ case 48: /* INTVAL */
+ case 49: /* BOOLVAL */
+ case 50: /* COUNT */
+ case 51: /* TO_OBJECT */
+ case 52: /* TO_ARRAY */
+ case 53: /* TO_STRING */
+ case 54: /* TO_INT */
+ case 55: /* TO_FLOAT */
+ case 56: /* TO_BOOL */
+ case 57: /* VOID */
+ case 58: /* MIXED */
+ 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 */
{
#line 37 "src/parser_proc.y"
free((yypminor->yy0));
-#line 1092 "src/parser_proc.c"
+#line 1124 "src/parser_proc.c"
}
break;
/* Default NON-TERMINAL Destructor */
- case 87: /* error */
- case 94: /* align_and_size */
- case 142: /* reference */
- case 143: /* indirection */
- case 144: /* pointers */
- case 145: /* file */
- case 146: /* blocks */
- case 147: /* block */
- case 148: /* optional_name */
- case 149: /* enum_name */
- case 150: /* struct_name */
- case 151: /* union_name */
- case 152: /* decl_var_array_size */
- case 153: /* decl_scalar_type */
- case 154: /* decl_scalar_type_short */
- case 155: /* decl_scalar_type_long */
- case 156: /* decl_scalar_type_long_long */
- case 157: /* callback_rval */
+ 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 */
{
#line 38 "src/parser_proc.y"
(void)P;
-#line 1117 "src/parser_proc.c"
+#line 1149 "src/parser_proc.c"
}
break;
- case 88: /* decl_enum */
+ case 96: /* decl_enum */
{
-#line 60 "src/parser_proc.y"
-psi_decl_enum_free(&(yypminor->yy63));
-#line 1124 "src/parser_proc.c"
+#line 63 "src/parser_proc.y"
+psi_decl_enum_free(&(yypminor->yy279));
+#line 1156 "src/parser_proc.c"
}
break;
- case 89: /* decl_enum_items */
- case 91: /* decl_struct_args_block */
- case 92: /* decl_struct_args */
- case 101: /* decl_typedef_body_fn_args */
- case 106: /* decl_vars */
- case 108: /* decl_args */
- case 109: /* struct_args */
- case 119: /* impl_args */
- case 121: /* impl_stmts */
- case 132: /* let_exps */
- case 135: /* set_exps */
- case 139: /* free_exps */
-{
-#line 62 "src/parser_proc.y"
-psi_plist_free((yypminor->yy163));
-#line 1142 "src/parser_proc.c"
+ 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"
}
break;
- case 90: /* decl_enum_item */
+ case 98: /* decl_enum_item */
{
-#line 64 "src/parser_proc.y"
-psi_decl_enum_item_free(&(yypminor->yy217));
-#line 1149 "src/parser_proc.c"
+#line 67 "src/parser_proc.y"
+psi_decl_enum_item_free(&(yypminor->yy69));
+#line 1181 "src/parser_proc.c"
}
break;
- case 93: /* decl_struct */
+ case 101: /* decl_struct */
{
-#line 70 "src/parser_proc.y"
-psi_decl_struct_free(&(yypminor->yy275));
-#line 1156 "src/parser_proc.c"
+#line 73 "src/parser_proc.y"
+psi_decl_struct_free(&(yypminor->yy271));
+#line 1188 "src/parser_proc.c"
}
break;
- case 95: /* decl_union */
+ case 103: /* decl_union */
{
-#line 73 "src/parser_proc.y"
-psi_decl_union_free(&(yypminor->yy271));
-#line 1163 "src/parser_proc.c"
+#line 76 "src/parser_proc.y"
+psi_decl_union_free(&(yypminor->yy19));
+#line 1195 "src/parser_proc.c"
}
break;
- case 96: /* const_type */
+ case 104: /* const_type */
{
-#line 75 "src/parser_proc.y"
-psi_const_type_free(&(yypminor->yy171));
-#line 1170 "src/parser_proc.c"
+#line 78 "src/parser_proc.y"
+psi_const_type_free(&(yypminor->yy7));
+#line 1202 "src/parser_proc.c"
}
break;
- case 97: /* constant */
+ case 105: /* constant */
{
-#line 77 "src/parser_proc.y"
-psi_const_free(&(yypminor->yy154));
-#line 1177 "src/parser_proc.c"
+#line 80 "src/parser_proc.y"
+psi_const_free(&(yypminor->yy106));
+#line 1209 "src/parser_proc.c"
}
break;
- case 98: /* decl_typedef */
- case 99: /* decl_typedef_body_ex */
- case 100: /* decl_typedef_body */
- case 103: /* decl_func */
- case 107: /* decl_arg */
- case 110: /* struct_arg */
+ 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 */
{
-#line 79 "src/parser_proc.y"
-psi_decl_arg_free(&(yypminor->yy184));
-#line 1189 "src/parser_proc.c"
+#line 82 "src/parser_proc.y"
+psi_decl_arg_free(&(yypminor->yy260));
+#line 1221 "src/parser_proc.c"
}
break;
- case 102: /* decl */
+ case 110: /* decl */
{
-#line 87 "src/parser_proc.y"
-psi_decl_free(&(yypminor->yy103));
-#line 1196 "src/parser_proc.c"
+#line 90 "src/parser_proc.y"
+psi_decl_free(&(yypminor->yy71));
+#line 1228 "src/parser_proc.c"
}
break;
- case 104: /* decl_abi */
+ case 112: /* decl_abi */
{
-#line 91 "src/parser_proc.y"
-psi_decl_abi_free(&(yypminor->yy218));
-#line 1203 "src/parser_proc.c"
+#line 94 "src/parser_proc.y"
+psi_decl_abi_free(&(yypminor->yy242));
+#line 1235 "src/parser_proc.c"
}
break;
- case 105: /* decl_var */
+ case 113: /* decl_var */
{
-#line 93 "src/parser_proc.y"
-psi_decl_var_free(&(yypminor->yy11));
-#line 1210 "src/parser_proc.c"
+#line 96 "src/parser_proc.y"
+psi_decl_var_free(&(yypminor->yy207));
+#line 1242 "src/parser_proc.c"
}
break;
- case 111: /* decl_layout */
+ case 119: /* decl_layout */
{
-#line 105 "src/parser_proc.y"
-psi_layout_free(&(yypminor->yy141));
-#line 1217 "src/parser_proc.c"
+#line 108 "src/parser_proc.y"
+psi_layout_free(&(yypminor->yy81));
+#line 1249 "src/parser_proc.c"
}
break;
- case 112: /* decl_type */
- case 113: /* const_decl_type */
+ case 120: /* decl_type */
+ case 121: /* const_decl_type */
{
-#line 107 "src/parser_proc.y"
-psi_decl_type_free(&(yypminor->yy132));
-#line 1225 "src/parser_proc.c"
+#line 110 "src/parser_proc.y"
+psi_decl_type_free(&(yypminor->yy152));
+#line 1257 "src/parser_proc.c"
}
break;
- case 114: /* impl */
+ case 122: /* impl */
{
-#line 111 "src/parser_proc.y"
-psi_impl_free(&(yypminor->yy97));
-#line 1232 "src/parser_proc.c"
+#line 114 "src/parser_proc.y"
+psi_impl_free(&(yypminor->yy49));
+#line 1264 "src/parser_proc.c"
}
break;
- case 115: /* impl_func */
+ case 123: /* impl_func */
{
-#line 113 "src/parser_proc.y"
-psi_impl_func_free(&(yypminor->yy168));
-#line 1239 "src/parser_proc.c"
+#line 116 "src/parser_proc.y"
+psi_impl_func_free(&(yypminor->yy120));
+#line 1271 "src/parser_proc.c"
}
break;
- case 116: /* impl_def_val */
+ case 124: /* impl_def_val */
{
-#line 115 "src/parser_proc.y"
-psi_impl_def_val_free(&(yypminor->yy93));
-#line 1246 "src/parser_proc.c"
+#line 118 "src/parser_proc.y"
+psi_impl_def_val_free(&(yypminor->yy21));
+#line 1278 "src/parser_proc.c"
}
break;
- case 117: /* impl_var */
+ case 125: /* impl_var */
{
-#line 117 "src/parser_proc.y"
-psi_impl_var_free(&(yypminor->yy37));
-#line 1253 "src/parser_proc.c"
+#line 120 "src/parser_proc.y"
+psi_impl_var_free(&(yypminor->yy185));
+#line 1285 "src/parser_proc.c"
}
break;
- case 118: /* impl_arg */
- case 120: /* impl_vararg */
+ case 126: /* impl_arg */
+ case 128: /* impl_vararg */
{
-#line 119 "src/parser_proc.y"
-psi_impl_arg_free(&(yypminor->yy210));
-#line 1261 "src/parser_proc.c"
+#line 122 "src/parser_proc.y"
+psi_impl_arg_free(&(yypminor->yy238));
+#line 1293 "src/parser_proc.c"
}
break;
- case 122: /* impl_stmt */
+ case 130: /* impl_stmt */
{
-#line 127 "src/parser_proc.y"
-psi_impl_stmt_free(&(yypminor->yy78));
-#line 1268 "src/parser_proc.c"
+#line 130 "src/parser_proc.y"
+psi_impl_stmt_free(&(yypminor->yy38));
+#line 1300 "src/parser_proc.c"
}
break;
- case 123: /* number */
+ case 131: /* number */
{
-#line 129 "src/parser_proc.y"
-psi_number_free(&(yypminor->yy188));
-#line 1275 "src/parser_proc.c"
+#line 132 "src/parser_proc.y"
+psi_number_free(&(yypminor->yy160));
+#line 1307 "src/parser_proc.c"
}
break;
- case 124: /* num_exp */
+ case 132: /* num_exp */
{
-#line 131 "src/parser_proc.y"
-psi_num_exp_free(&(yypminor->yy259));
-#line 1282 "src/parser_proc.c"
+#line 134 "src/parser_proc.y"
+psi_num_exp_free(&(yypminor->yy39));
+#line 1314 "src/parser_proc.c"
}
break;
- case 125: /* let_stmt */
+ case 133: /* let_stmt */
{
-#line 133 "src/parser_proc.y"
-psi_let_stmt_free(&(yypminor->yy311));
-#line 1289 "src/parser_proc.c"
+#line 136 "src/parser_proc.y"
+psi_let_stmt_free(&(yypminor->yy139));
+#line 1321 "src/parser_proc.c"
}
break;
- case 126: /* let_calloc */
+ case 134: /* let_calloc */
{
-#line 135 "src/parser_proc.y"
-psi_let_calloc_free(&(yypminor->yy9));
-#line 1296 "src/parser_proc.c"
+#line 138 "src/parser_proc.y"
+psi_let_calloc_free(&(yypminor->yy17));
+#line 1328 "src/parser_proc.c"
}
break;
- case 127: /* let_func */
+ case 135: /* let_func */
{
-#line 137 "src/parser_proc.y"
-psi_let_func_free(&(yypminor->yy27));
-#line 1303 "src/parser_proc.c"
+#line 140 "src/parser_proc.y"
+psi_let_func_free(&(yypminor->yy72));
+#line 1335 "src/parser_proc.c"
}
break;
- case 128: /* callback_arg_list */
- case 129: /* callback_args */
+ case 136: /* callback_arg_list */
+ case 137: /* callback_args */
{
-#line 139 "src/parser_proc.y"
-psi_plist_free((yypminor->yy43));
-#line 1311 "src/parser_proc.c"
+#line 142 "src/parser_proc.y"
+psi_plist_free((yypminor->yy287));
+#line 1343 "src/parser_proc.c"
}
break;
- case 130: /* let_callback */
+ case 138: /* let_callback */
{
-#line 143 "src/parser_proc.y"
-psi_let_callback_free(&(yypminor->yy220));
-#line 1318 "src/parser_proc.c"
+#line 146 "src/parser_proc.y"
+psi_let_callback_free(&(yypminor->yy164));
+#line 1350 "src/parser_proc.c"
}
break;
- case 131: /* let_exp */
+ case 139: /* let_exp */
{
-#line 145 "src/parser_proc.y"
-psi_let_exp_free(&(yypminor->yy20));
-#line 1325 "src/parser_proc.c"
+#line 148 "src/parser_proc.y"
+psi_let_exp_free(&(yypminor->yy144));
+#line 1357 "src/parser_proc.c"
}
break;
- case 133: /* set_stmt */
+ case 141: /* set_stmt */
{
-#line 149 "src/parser_proc.y"
-psi_set_stmt_free(&(yypminor->yy98));
-#line 1332 "src/parser_proc.c"
+#line 152 "src/parser_proc.y"
+psi_set_stmt_free(&(yypminor->yy226));
+#line 1364 "src/parser_proc.c"
}
break;
- case 134: /* set_exp */
+ case 142: /* set_exp */
{
-#line 151 "src/parser_proc.y"
-psi_set_exp_free(&(yypminor->yy147));
-#line 1339 "src/parser_proc.c"
+#line 154 "src/parser_proc.y"
+psi_set_exp_free(&(yypminor->yy67));
+#line 1371 "src/parser_proc.c"
}
break;
- case 136: /* set_func */
+ case 144: /* set_func */
{
-#line 155 "src/parser_proc.y"
-psi_set_func_free(&(yypminor->yy26));
-#line 1346 "src/parser_proc.c"
+#line 158 "src/parser_proc.y"
+psi_set_func_free(&(yypminor->yy78));
+#line 1378 "src/parser_proc.c"
}
break;
- case 137: /* return_stmt */
+ case 145: /* return_stmt */
{
-#line 157 "src/parser_proc.y"
-psi_return_stmt_free(&(yypminor->yy90));
-#line 1353 "src/parser_proc.c"
+#line 160 "src/parser_proc.y"
+psi_return_stmt_free(&(yypminor->yy130));
+#line 1385 "src/parser_proc.c"
}
break;
- case 138: /* free_stmt */
+ case 146: /* free_stmt */
{
-#line 159 "src/parser_proc.y"
-psi_free_stmt_free(&(yypminor->yy192));
-#line 1360 "src/parser_proc.c"
+#line 162 "src/parser_proc.y"
+psi_free_stmt_free(&(yypminor->yy76));
+#line 1392 "src/parser_proc.c"
}
break;
- case 140: /* free_exp */
+ case 148: /* free_exp */
{
-#line 163 "src/parser_proc.y"
-psi_free_exp_free(&(yypminor->yy94));
-#line 1367 "src/parser_proc.c"
+#line 166 "src/parser_proc.y"
+psi_free_exp_free(&(yypminor->yy197));
+#line 1399 "src/parser_proc.c"
}
break;
- case 141: /* impl_type */
+ case 149: /* impl_type */
{
-#line 165 "src/parser_proc.y"
-psi_impl_type_free(&(yypminor->yy138));
-#line 1374 "src/parser_proc.c"
+#line 168 "src/parser_proc.y"
+psi_impl_type_free(&(yypminor->yy142));
+#line 1406 "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[] = {
- { 147, 3 },
- { 147, 1 },
- { 147, 1 },
- { 147, 1 },
- { 147, 1 },
- { 147, 1 },
- { 147, 1 },
- { 147, 1 },
- { 148, 0 },
- { 148, 1 },
- { 94, 0 },
- { 94, 7 },
- { 149, 2 },
- { 150, 2 },
- { 151, 2 },
- { 88, 4 },
- { 89, 1 },
- { 89, 3 },
- { 90, 3 },
- { 90, 1 },
- { 91, 3 },
- { 92, 1 },
- { 92, 1 },
- { 93, 4 },
- { 95, 4 },
- { 96, 1 },
- { 97, 6 },
+ { 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 },
- { 99, 4 },
- { 99, 4 },
- { 99, 2 },
+ { 98, 1 },
+ { 99, 3 },
{ 100, 1 },
- { 101, 3 },
- { 100, 2 },
{ 100, 1 },
- { 102, 6 },
- { 102, 8 },
- { 103, 1 },
- { 103, 2 },
- { 100, 7 },
- { 100, 8 },
+ { 101, 4 },
+ { 103, 4 },
{ 104, 1 },
- { 152, 0 },
- { 152, 3 },
- { 105, 2 },
- { 105, 3 },
- { 106, 1 },
+ { 105, 6 },
{ 106, 3 },
- { 107, 2 },
- { 100, 7 },
- { 107, 3 },
{ 107, 4 },
- { 108, 0 },
+ { 107, 4 },
+ { 107, 2 },
{ 108, 1 },
+ { 109, 3 },
+ { 108, 2 },
{ 108, 1 },
- { 108, 3 },
- { 109, 1 },
- { 109, 2 },
- { 110, 2 },
- { 110, 3 },
- { 111, 0 },
- { 111, 7 },
- { 153, 1 },
- { 153, 2 },
- { 154, 0 },
- { 154, 1 },
- { 153, 1 },
- { 153, 2 },
- { 155, 0 },
- { 155, 1 },
- { 155, 2 },
- { 156, 0 },
- { 156, 1 },
- { 112, 2 },
- { 112, 2 },
+ { 110, 6 },
+ { 110, 8 },
+ { 111, 1 },
+ { 111, 2 },
+ { 108, 7 },
+ { 108, 8 },
{ 112, 1 },
- { 112, 1 },
- { 112, 1 },
- { 112, 2 },
- { 112, 2 },
- { 112, 2 },
- { 112, 1 },
- { 113, 1 },
+ { 160, 0 },
+ { 160, 3 },
{ 113, 2 },
- { 114, 4 },
- { 114, 5 },
- { 115, 7 },
- { 115, 8 },
- { 115, 13 },
+ { 113, 3 },
+ { 114, 1 },
+ { 114, 3 },
+ { 115, 2 },
+ { 108, 7 },
+ { 115, 3 },
+ { 115, 4 },
+ { 116, 0 },
{ 116, 1 },
+ { 116, 1 },
+ { 116, 3 },
+ { 117, 1 },
{ 117, 2 },
- { 141, 1 },
{ 118, 2 },
- { 118, 4 },
- { 119, 1 },
- { 119, 3 },
+ { 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 },
+ { 120, 2 },
+ { 120, 2 },
+ { 120, 1 },
{ 121, 1 },
{ 121, 2 },
- { 122, 1 },
- { 122, 1 },
- { 122, 1 },
- { 122, 1 },
- { 123, 1 },
- { 123, 1 },
+ { 122, 4 },
+ { 122, 5 },
+ { 123, 7 },
+ { 123, 8 },
+ { 123, 13 },
{ 124, 1 },
- { 124, 3 },
- { 124, 3 },
- { 124, 2 },
- { 131, 1 },
- { 131, 2 },
- { 131, 1 },
- { 131, 1 },
- { 131, 2 },
+ { 125, 2 },
+ { 149, 1 },
+ { 126, 2 },
+ { 126, 4 },
+ { 127, 1 },
+ { 127, 3 },
+ { 129, 1 },
+ { 129, 2 },
+ { 130, 1 },
+ { 130, 1 },
+ { 130, 1 },
+ { 130, 1 },
{ 131, 1 },
- { 131, 2 },
{ 131, 1 },
- { 131, 2 },
- { 131, 3 },
- { 125, 3 },
- { 125, 6 },
- { 130, 8 },
- { 126, 6 },
- { 127, 4 },
- { 127, 6 },
{ 132, 1 },
{ 132, 3 },
- { 128, 0 },
- { 128, 1 },
- { 129, 1 },
- { 129, 3 },
- { 157, 1 },
- { 157, 1 },
- { 136, 4 },
- { 136, 6 },
- { 136, 6 },
- { 134, 1 },
- { 134, 1 },
- { 135, 1 },
- { 135, 3 },
- { 134, 3 },
- { 133, 3 },
- { 137, 3 },
- { 138, 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 },
- { 140, 4 },
- { 142, 0 },
+ { 133, 3 },
+ { 133, 6 },
+ { 138, 8 },
+ { 134, 6 },
+ { 135, 4 },
+ { 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 },
{ 142, 1 },
- { 143, 0 },
{ 143, 1 },
- { 144, 1 },
- { 144, 2 },
- { 145, 1 },
- { 146, 1 },
- { 146, 2 },
- { 147, 1 },
+ { 143, 3 },
+ { 142, 3 },
+ { 141, 3 },
+ { 145, 3 },
+ { 146, 3 },
{ 147, 1 },
+ { 147, 3 },
+ { 148, 4 },
+ { 150, 0 },
+ { 150, 1 },
+ { 151, 0 },
+ { 151, 1 },
+ { 152, 1 },
+ { 152, 2 },
+ { 153, 1 },
+ { 154, 1 },
+ { 154, 2 },
+ { 155, 1 },
+ { 155, 1 },
};
static void yy_accept(yyParser*); /* Forward Declaration */
/********** Begin reduce actions **********************************************/
YYMINORTYPE yylhsminor;
case 0: /* block ::= LIB QUOTED_STRING EOS */
-#line 174 "src/parser_proc.y"
+#line 177 "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 1857 "src/parser_proc.c"
- yy_destructor(yypParser,63,&yymsp[0].minor);
+#line 1889 "src/parser_proc.c"
+ yy_destructor(yypParser,71,&yymsp[0].minor);
break;
case 1: /* block ::= decl */
-#line 183 "src/parser_proc.y"
+#line 186 "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.yy103);
+ P->decls = psi_plist_add(P->decls, &yymsp[0].minor.yy71);
}
-#line 1868 "src/parser_proc.c"
+#line 1900 "src/parser_proc.c"
break;
case 2: /* block ::= impl */
-#line 189 "src/parser_proc.y"
+#line 192 "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.yy97);
+ P->impls = psi_plist_add(P->impls, &yymsp[0].minor.yy49);
}
-#line 1878 "src/parser_proc.c"
+#line 1910 "src/parser_proc.c"
break;
case 3: /* block ::= decl_typedef */
-#line 195 "src/parser_proc.y"
+#line 198 "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.yy184);
- switch (yymsp[0].minor.yy184->type->type) {
+ P->types = psi_plist_add(P->types, &yymsp[0].minor.yy260);
+ switch (yymsp[0].minor.yy260->type->type) {
case PSI_T_STRUCT:
- if (yymsp[0].minor.yy184->type->real.strct) {
+ if (yymsp[0].minor.yy260->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.yy184->type->real.strct);
+ P->structs = psi_plist_add(P->structs, &yymsp[0].minor.yy260->type->real.strct);
}
break;
case PSI_T_UNION:
- if (yymsp[0].minor.yy184->type->real.unn) {
+ if (yymsp[0].minor.yy260->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.yy184->type->real.unn);
+ P->unions = psi_plist_add(P->unions, &yymsp[0].minor.yy260->type->real.unn);
}
break;
case PSI_T_ENUM:
- if (yymsp[0].minor.yy184->type->real.enm) {
+ if (yymsp[0].minor.yy260->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.yy184->type->real.enm);
+ P->enums = psi_plist_add(P->enums, &yymsp[0].minor.yy260->type->real.enm);
}
break;
}
}
-#line 1914 "src/parser_proc.c"
+#line 1946 "src/parser_proc.c"
break;
case 4: /* block ::= constant */
-#line 227 "src/parser_proc.y"
+#line 230 "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.yy154);
+ P->consts = psi_plist_add(P->consts, &yymsp[0].minor.yy106);
}
-#line 1924 "src/parser_proc.c"
+#line 1956 "src/parser_proc.c"
break;
case 5: /* block ::= decl_struct */
-#line 233 "src/parser_proc.y"
+#line 236 "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.yy275);
+ P->structs = psi_plist_add(P->structs, &yymsp[0].minor.yy271);
}
-#line 1934 "src/parser_proc.c"
+#line 1966 "src/parser_proc.c"
break;
case 6: /* block ::= decl_union */
-#line 239 "src/parser_proc.y"
+#line 242 "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.yy271);
+ P->unions = psi_plist_add(P->unions, &yymsp[0].minor.yy19);
}
-#line 1944 "src/parser_proc.c"
+#line 1976 "src/parser_proc.c"
break;
case 7: /* block ::= decl_enum */
-#line 245 "src/parser_proc.y"
+#line 248 "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.yy63);
+ P->enums = psi_plist_add(P->enums, &yymsp[0].minor.yy279);
}
-#line 1954 "src/parser_proc.c"
+#line 1986 "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 251 "src/parser_proc.y"
+#line 254 "src/parser_proc.y"
{
yymsp[1].minor.yy0 = NULL;
}
-#line 1965 "src/parser_proc.c"
+#line 1997 "src/parser_proc.c"
break;
case 9: /* optional_name ::= NAME */
case 62: /* decl_scalar_type ::= CHAR */ yytestcase(yyruleno==62);
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 254 "src/parser_proc.y"
+#line 257 "src/parser_proc.y"
{
yylhsminor.yy0 = yymsp[0].minor.yy0;
}
-#line 1979 "src/parser_proc.c"
+#line 2011 "src/parser_proc.c"
yymsp[0].minor.yy0 = yylhsminor.yy0;
break;
case 10: /* align_and_size ::= */
-#line 257 "src/parser_proc.y"
+#line 260 "src/parser_proc.y"
{
- yymsp[1].minor.yy91.pos = 0;
- yymsp[1].minor.yy91.len = 0;
+ yymsp[1].minor.yy323.pos = 0;
+ yymsp[1].minor.yy323.len = 0;
}
-#line 1988 "src/parser_proc.c"
+#line 2020 "src/parser_proc.c"
break;
case 11: /* align_and_size ::= COLON COLON LPAREN NUMBER COMMA NUMBER RPAREN */
-{ yy_destructor(yypParser,64,&yymsp[-6].minor);
-#line 261 "src/parser_proc.y"
+{ yy_destructor(yypParser,72,&yymsp[-6].minor);
+#line 264 "src/parser_proc.y"
{
- yymsp[-6].minor.yy91.pos = atol(yymsp[-3].minor.yy0->text);
- yymsp[-6].minor.yy91.len = atol(yymsp[-1].minor.yy0->text);
+ yymsp[-6].minor.yy323.pos = atol(yymsp[-3].minor.yy0->text);
+ yymsp[-6].minor.yy323.len = atol(yymsp[-1].minor.yy0->text);
free(yymsp[-3].minor.yy0);
free(yymsp[-1].minor.yy0);
}
-#line 1999 "src/parser_proc.c"
- yy_destructor(yypParser,64,&yymsp[-5].minor);
- yy_destructor(yypParser,65,&yymsp[-4].minor);
- yy_destructor(yypParser,66,&yymsp[-2].minor);
- yy_destructor(yypParser,67,&yymsp[0].minor);
+#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);
}
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 267 "src/parser_proc.y"
+#line 270 "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 2020 "src/parser_proc.c"
+#line 2052 "src/parser_proc.c"
yymsp[-1].minor.yy0 = yylhsminor.yy0;
break;
case 15: /* decl_enum ::= enum_name LBRACE decl_enum_items RBRACE */
-#line 297 "src/parser_proc.y"
+#line 300 "src/parser_proc.y"
{
- yylhsminor.yy63 = psi_decl_enum_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy163);
- yylhsminor.yy63->token = yymsp[-3].minor.yy0;
+ yylhsminor.yy279 = psi_decl_enum_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy303);
+ yylhsminor.yy279->token = yymsp[-3].minor.yy0;
}
-#line 2029 "src/parser_proc.c"
- yy_destructor(yypParser,71,&yymsp[-2].minor);
- yy_destructor(yypParser,72,&yymsp[0].minor);
- yymsp[-3].minor.yy63 = yylhsminor.yy63;
+#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;
break;
case 16: /* decl_enum_items ::= decl_enum_item */
-#line 301 "src/parser_proc.y"
+#line 304 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_enum_item_free),
- &yymsp[0].minor.yy217);
+ yylhsminor.yy303 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_enum_item_free),
+ &yymsp[0].minor.yy69);
}
-#line 2040 "src/parser_proc.c"
- yymsp[0].minor.yy163 = yylhsminor.yy163;
+#line 2072 "src/parser_proc.c"
+ yymsp[0].minor.yy303 = yylhsminor.yy303;
break;
case 17: /* decl_enum_items ::= decl_enum_items COMMA decl_enum_item */
-#line 305 "src/parser_proc.y"
+#line 308 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(yymsp[-2].minor.yy163, &yymsp[0].minor.yy217);
+ yylhsminor.yy303 = psi_plist_add(yymsp[-2].minor.yy303, &yymsp[0].minor.yy69);
}
-#line 2048 "src/parser_proc.c"
- yy_destructor(yypParser,66,&yymsp[-1].minor);
- yymsp[-2].minor.yy163 = yylhsminor.yy163;
+#line 2080 "src/parser_proc.c"
+ yy_destructor(yypParser,74,&yymsp[-1].minor);
+ yymsp[-2].minor.yy303 = yylhsminor.yy303;
break;
case 18: /* decl_enum_item ::= NAME EQUALS num_exp */
-#line 308 "src/parser_proc.y"
+#line 311 "src/parser_proc.y"
{
- yylhsminor.yy217 = psi_decl_enum_item_init(yymsp[-2].minor.yy0->text, yymsp[0].minor.yy259);
- yylhsminor.yy217->token = yymsp[-2].minor.yy0;
+ yylhsminor.yy69 = psi_decl_enum_item_init(yymsp[-2].minor.yy0->text, yymsp[0].minor.yy39);
+ yylhsminor.yy69->token = yymsp[-2].minor.yy0;
}
-#line 2058 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-1].minor);
- yymsp[-2].minor.yy217 = yylhsminor.yy217;
+#line 2090 "src/parser_proc.c"
+ yy_destructor(yypParser,81,&yymsp[-1].minor);
+ yymsp[-2].minor.yy69 = yylhsminor.yy69;
break;
case 19: /* decl_enum_item ::= NAME */
-#line 312 "src/parser_proc.y"
+#line 315 "src/parser_proc.y"
{
- yylhsminor.yy217 = psi_decl_enum_item_init(yymsp[0].minor.yy0->text, NULL);
- yylhsminor.yy217->token = yymsp[0].minor.yy0;
+ yylhsminor.yy69 = psi_decl_enum_item_init(yymsp[0].minor.yy0->text, NULL);
+ yylhsminor.yy69->token = yymsp[0].minor.yy0;
}
-#line 2068 "src/parser_proc.c"
- yymsp[0].minor.yy217 = yylhsminor.yy217;
+#line 2100 "src/parser_proc.c"
+ yymsp[0].minor.yy69 = yylhsminor.yy69;
break;
case 20: /* decl_struct_args_block ::= LBRACE struct_args RBRACE */
-{ yy_destructor(yypParser,71,&yymsp[-2].minor);
-#line 316 "src/parser_proc.y"
+{ yy_destructor(yypParser,79,&yymsp[-2].minor);
+#line 319 "src/parser_proc.y"
{
- yymsp[-2].minor.yy163 = yymsp[-1].minor.yy163;
+ yymsp[-2].minor.yy303 = yymsp[-1].minor.yy303;
}
-#line 2077 "src/parser_proc.c"
- yy_destructor(yypParser,72,&yymsp[0].minor);
+#line 2109 "src/parser_proc.c"
+ yy_destructor(yypParser,80,&yymsp[0].minor);
}
break;
case 21: /* decl_struct_args ::= decl_struct_args_block */
-#line 319 "src/parser_proc.y"
+#line 322 "src/parser_proc.y"
{
- yylhsminor.yy163 = yymsp[0].minor.yy163;
+ yylhsminor.yy303 = yymsp[0].minor.yy303;
}
-#line 2086 "src/parser_proc.c"
- yymsp[0].minor.yy163 = yylhsminor.yy163;
+#line 2118 "src/parser_proc.c"
+ yymsp[0].minor.yy303 = yylhsminor.yy303;
break;
case 22: /* decl_struct_args ::= EOS */
-{ yy_destructor(yypParser,63,&yymsp[0].minor);
-#line 322 "src/parser_proc.y"
+{ yy_destructor(yypParser,71,&yymsp[0].minor);
+#line 325 "src/parser_proc.y"
{
- yymsp[0].minor.yy163 = psi_plist_init((psi_plist_dtor) psi_decl_arg_free);
+ yymsp[0].minor.yy303 = psi_plist_init((psi_plist_dtor) psi_decl_arg_free);
}
-#line 2095 "src/parser_proc.c"
+#line 2127 "src/parser_proc.c"
}
break;
case 23: /* decl_struct ::= STRUCT NAME align_and_size decl_struct_args */
-{ yy_destructor(yypParser,69,&yymsp[-3].minor);
-#line 325 "src/parser_proc.y"
+{ yy_destructor(yypParser,77,&yymsp[-3].minor);
+#line 328 "src/parser_proc.y"
{
- yymsp[-3].minor.yy275 = psi_decl_struct_init(yymsp[-2].minor.yy0->text, yymsp[0].minor.yy163);
- yymsp[-3].minor.yy275->align = yymsp[-1].minor.yy91.pos;
- yymsp[-3].minor.yy275->size = yymsp[-1].minor.yy91.len;
- yymsp[-3].minor.yy275->token = yymsp[-2].minor.yy0;
+ 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;
}
-#line 2107 "src/parser_proc.c"
+#line 2139 "src/parser_proc.c"
}
break;
case 24: /* decl_union ::= UNION NAME align_and_size decl_struct_args */
-{ yy_destructor(yypParser,70,&yymsp[-3].minor);
-#line 331 "src/parser_proc.y"
+{ yy_destructor(yypParser,78,&yymsp[-3].minor);
+#line 334 "src/parser_proc.y"
{
- yymsp[-3].minor.yy271 = psi_decl_union_init(yymsp[-2].minor.yy0->text, yymsp[0].minor.yy163);
- yymsp[-3].minor.yy271->align = yymsp[-1].minor.yy91.pos;
- yymsp[-3].minor.yy271->size = yymsp[-1].minor.yy91.len;
- yymsp[-3].minor.yy271->token = yymsp[-2].minor.yy0;
+ 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;
}
-#line 2119 "src/parser_proc.c"
+#line 2151 "src/parser_proc.c"
}
break;
case 25: /* const_type ::= BOOL|INT|FLOAT|STRING */
-#line 337 "src/parser_proc.y"
+#line 340 "src/parser_proc.y"
{
- yylhsminor.yy171 = psi_const_type_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
+ yylhsminor.yy7 = psi_const_type_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
free(yymsp[0].minor.yy0);
}
-#line 2128 "src/parser_proc.c"
- yymsp[0].minor.yy171 = yylhsminor.yy171;
+#line 2160 "src/parser_proc.c"
+ yymsp[0].minor.yy7 = yylhsminor.yy7;
break;
case 26: /* constant ::= CONST const_type NSNAME EQUALS impl_def_val EOS */
-{ yy_destructor(yypParser,74,&yymsp[-5].minor);
-#line 341 "src/parser_proc.y"
+{ yy_destructor(yypParser,82,&yymsp[-5].minor);
+#line 344 "src/parser_proc.y"
{
- yymsp[-5].minor.yy154 = psi_const_init(yymsp[-4].minor.yy171, yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy93);
- yymsp[-5].minor.yy154->token = yymsp[-3].minor.yy0;
+ 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;
}
-#line 2138 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-2].minor);
- yy_destructor(yypParser,63,&yymsp[0].minor);
+#line 2170 "src/parser_proc.c"
+ yy_destructor(yypParser,81,&yymsp[-2].minor);
+ yy_destructor(yypParser,71,&yymsp[0].minor);
}
break;
case 27: /* decl_typedef ::= TYPEDEF decl_typedef_body EOS */
-#line 345 "src/parser_proc.y"
+#line 348 "src/parser_proc.y"
{
- yylhsminor.yy184 = yymsp[-1].minor.yy184;
- yylhsminor.yy184->token = yymsp[-2].minor.yy0;
+ yylhsminor.yy260 = yymsp[-1].minor.yy260;
+ yylhsminor.yy260->token = yymsp[-2].minor.yy0;
}
-#line 2149 "src/parser_proc.c"
- yy_destructor(yypParser,63,&yymsp[0].minor);
- yymsp[-2].minor.yy184 = yylhsminor.yy184;
+#line 2181 "src/parser_proc.c"
+ yy_destructor(yypParser,71,&yymsp[0].minor);
+ yymsp[-2].minor.yy260 = yylhsminor.yy260;
break;
case 28: /* decl_typedef_body_ex ::= struct_name align_and_size decl_struct_args_block decl_var */
-#line 349 "src/parser_proc.y"
+#line 352 "src/parser_proc.y"
{
- yylhsminor.yy184 = psi_decl_arg_init(psi_decl_type_init(PSI_T_STRUCT, yymsp[-3].minor.yy0->text), yymsp[0].minor.yy11);
- yylhsminor.yy184->type->token = psi_token_copy(yymsp[-3].minor.yy0);
- yylhsminor.yy184->type->real.strct = psi_decl_struct_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy163);
- yylhsminor.yy184->type->real.strct->token = yymsp[-3].minor.yy0;
- yylhsminor.yy184->type->real.strct->align = yymsp[-2].minor.yy91.pos;
- yylhsminor.yy184->type->real.strct->size = yymsp[-2].minor.yy91.len;
+ 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;
}
-#line 2163 "src/parser_proc.c"
- yymsp[-3].minor.yy184 = yylhsminor.yy184;
+#line 2195 "src/parser_proc.c"
+ yymsp[-3].minor.yy260 = yylhsminor.yy260;
break;
case 29: /* decl_typedef_body_ex ::= union_name align_and_size decl_struct_args_block decl_var */
-#line 357 "src/parser_proc.y"
+#line 360 "src/parser_proc.y"
{
- yylhsminor.yy184 = psi_decl_arg_init(psi_decl_type_init(PSI_T_UNION, yymsp[-3].minor.yy0->text), yymsp[0].minor.yy11);
- yylhsminor.yy184->type->token = psi_token_copy(yymsp[-3].minor.yy0);
- yylhsminor.yy184->type->real.unn = psi_decl_union_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy163);
- yylhsminor.yy184->type->real.unn->token = yymsp[-3].minor.yy0;
- yylhsminor.yy184->type->real.unn->align = yymsp[-2].minor.yy91.pos;
- yylhsminor.yy184->type->real.unn->size = yymsp[-2].minor.yy91.len;
+ 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;
}
-#line 2176 "src/parser_proc.c"
- yymsp[-3].minor.yy184 = yylhsminor.yy184;
+#line 2208 "src/parser_proc.c"
+ yymsp[-3].minor.yy260 = yylhsminor.yy260;
break;
case 30: /* decl_typedef_body_ex ::= decl_enum NAME */
-#line 365 "src/parser_proc.y"
+#line 368 "src/parser_proc.y"
{
- yylhsminor.yy184 = psi_decl_arg_init(psi_decl_type_init(PSI_T_ENUM, yymsp[-1].minor.yy63->name), psi_decl_var_init(yymsp[0].minor.yy0->text, 0, 0));
- yylhsminor.yy184->var->token = yymsp[0].minor.yy0;
- yylhsminor.yy184->type->token = psi_token_copy(yymsp[-1].minor.yy63->token);
- yylhsminor.yy184->type->real.enm = yymsp[-1].minor.yy63;
+ 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;
}
-#line 2187 "src/parser_proc.c"
- yymsp[-1].minor.yy184 = yylhsminor.yy184;
+#line 2219 "src/parser_proc.c"
+ yymsp[-1].minor.yy260 = yylhsminor.yy260;
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 371 "src/parser_proc.y"
+#line 374 "src/parser_proc.y"
{
- yylhsminor.yy184 = yymsp[0].minor.yy184;
+ yylhsminor.yy260 = yymsp[0].minor.yy260;
}
-#line 2197 "src/parser_proc.c"
- yymsp[0].minor.yy184 = yylhsminor.yy184;
+#line 2229 "src/parser_proc.c"
+ yymsp[0].minor.yy260 = yylhsminor.yy260;
break;
case 32: /* decl_typedef_body_fn_args ::= LPAREN decl_args RPAREN */
-{ yy_destructor(yypParser,65,&yymsp[-2].minor);
-#line 374 "src/parser_proc.y"
+{ yy_destructor(yypParser,73,&yymsp[-2].minor);
+#line 377 "src/parser_proc.y"
{
- yymsp[-2].minor.yy163 = yymsp[-1].minor.yy163;
+ yymsp[-2].minor.yy303 = yymsp[-1].minor.yy303;
}
-#line 2206 "src/parser_proc.c"
- yy_destructor(yypParser,67,&yymsp[0].minor);
+#line 2238 "src/parser_proc.c"
+ yy_destructor(yypParser,75,&yymsp[0].minor);
}
break;
case 33: /* decl_typedef_body ::= decl_func decl_typedef_body_fn_args */
-#line 377 "src/parser_proc.y"
+#line 380 "src/parser_proc.y"
{
- yylhsminor.yy184 = psi_decl_arg_init(psi_decl_type_init(PSI_T_FUNCTION, yymsp[-1].minor.yy184->var->name), psi_decl_var_copy(yymsp[-1].minor.yy184->var));
- yylhsminor.yy184->type->token = psi_token_copy(yymsp[-1].minor.yy184->token);
- yylhsminor.yy184->type->real.func = psi_decl_init(psi_decl_abi_init("default"), yymsp[-1].minor.yy184, yymsp[0].minor.yy163);
+ 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);
}
-#line 2217 "src/parser_proc.c"
- yymsp[-1].minor.yy184 = yylhsminor.yy184;
+#line 2249 "src/parser_proc.c"
+ yymsp[-1].minor.yy260 = yylhsminor.yy260;
break;
case 35: /* decl ::= decl_abi decl_func LPAREN decl_args RPAREN EOS */
-#line 385 "src/parser_proc.y"
+#line 388 "src/parser_proc.y"
{
- yylhsminor.yy103 = psi_decl_init(yymsp[-5].minor.yy218, yymsp[-4].minor.yy184, yymsp[-2].minor.yy163);
+ yylhsminor.yy71 = psi_decl_init(yymsp[-5].minor.yy242, yymsp[-4].minor.yy260, yymsp[-2].minor.yy303);
}
-#line 2225 "src/parser_proc.c"
- yy_destructor(yypParser,65,&yymsp[-3].minor);
- yy_destructor(yypParser,67,&yymsp[-1].minor);
- yy_destructor(yypParser,63,&yymsp[0].minor);
- yymsp[-5].minor.yy103 = yylhsminor.yy103;
+#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;
break;
case 36: /* decl ::= decl_abi decl_func LPAREN decl_args COMMA ELLIPSIS RPAREN EOS */
-#line 388 "src/parser_proc.y"
+#line 391 "src/parser_proc.y"
{
- yylhsminor.yy103 = psi_decl_init(yymsp[-7].minor.yy218, yymsp[-6].minor.yy184, yymsp[-4].minor.yy163);
- yylhsminor.yy103->varargs = 1;
+ yylhsminor.yy71 = psi_decl_init(yymsp[-7].minor.yy242, yymsp[-6].minor.yy260, yymsp[-4].minor.yy303);
+ yylhsminor.yy71->varargs = 1;
}
-#line 2237 "src/parser_proc.c"
- yy_destructor(yypParser,65,&yymsp[-5].minor);
- yy_destructor(yypParser,66,&yymsp[-3].minor);
- yy_destructor(yypParser,76,&yymsp[-2].minor);
- yy_destructor(yypParser,67,&yymsp[-1].minor);
- yy_destructor(yypParser,63,&yymsp[0].minor);
- yymsp[-7].minor.yy103 = yylhsminor.yy103;
+#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;
break;
case 38: /* decl_func ::= VOID NAME */
-#line 395 "src/parser_proc.y"
+#line 398 "src/parser_proc.y"
{
- yylhsminor.yy184 = psi_decl_arg_init(
+ yylhsminor.yy260 = 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.yy184->type->token = yymsp[-1].minor.yy0;
- yylhsminor.yy184->var->token = yymsp[0].minor.yy0;
- yylhsminor.yy184->token = yymsp[0].minor.yy0;
+ yylhsminor.yy260->type->token = yymsp[-1].minor.yy0;
+ yylhsminor.yy260->var->token = yymsp[0].minor.yy0;
+ yylhsminor.yy260->token = yymsp[0].minor.yy0;
}
-#line 2256 "src/parser_proc.c"
- yymsp[-1].minor.yy184 = yylhsminor.yy184;
+#line 2288 "src/parser_proc.c"
+ yymsp[-1].minor.yy260 = yylhsminor.yy260;
break;
case 39: /* decl_typedef_body ::= VOID indirection LPAREN indirection NAME RPAREN decl_typedef_body_fn_args */
-#line 404 "src/parser_proc.y"
+#line 407 "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.yy202, 0)
+ psi_decl_var_init(yymsp[-2].minor.yy0->text, yymsp[-5].minor.yy190, 0)
);
func_->type->token = yymsp[-6].minor.yy0;
func_->var->token = yymsp[-2].minor.yy0;
func_->token = yymsp[-2].minor.yy0;
- yylhsminor.yy184 = psi_decl_arg_init(
+ yylhsminor.yy260 = psi_decl_arg_init(
psi_decl_type_init(PSI_T_FUNCTION, func_->var->name),
psi_decl_var_copy(func_->var)
);
- yylhsminor.yy184->var->pointer_level = yymsp[-3].minor.yy202;
- yylhsminor.yy184->type->token = psi_token_copy(func_->token);
- yylhsminor.yy184->type->real.func = psi_decl_init(psi_decl_abi_init("default"), func_, yymsp[0].minor.yy163);
+ 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);
}
-#line 2277 "src/parser_proc.c"
- yy_destructor(yypParser,65,&yymsp[-4].minor);
- yy_destructor(yypParser,67,&yymsp[-1].minor);
- yymsp[-6].minor.yy184 = yylhsminor.yy184;
+#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;
break;
case 40: /* decl_typedef_body ::= CONST VOID pointers LPAREN indirection NAME RPAREN decl_typedef_body_fn_args */
-{ yy_destructor(yypParser,74,&yymsp[-7].minor);
-#line 420 "src/parser_proc.y"
+{ yy_destructor(yypParser,82,&yymsp[-7].minor);
+#line 423 "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.yy202, 0)
+ psi_decl_var_init(yymsp[-2].minor.yy0->text, yymsp[-5].minor.yy190, 0)
);
func_->type->token = yymsp[-6].minor.yy0;
func_->var->token = yymsp[-2].minor.yy0;
func_->token = yymsp[-2].minor.yy0;
- yymsp[-7].minor.yy184 = psi_decl_arg_init(
+ yymsp[-7].minor.yy260 = psi_decl_arg_init(
psi_decl_type_init(PSI_T_FUNCTION, func_->var->name),
psi_decl_var_copy(func_->var)
);
- yymsp[-7].minor.yy184->var->pointer_level = yymsp[-3].minor.yy202;
- yymsp[-7].minor.yy184->type->token = psi_token_copy(func_->token);
- yymsp[-7].minor.yy184->type->real.func = psi_decl_init(psi_decl_abi_init("default"), func_, yymsp[0].minor.yy163);
+ 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);
}
-#line 2301 "src/parser_proc.c"
- yy_destructor(yypParser,65,&yymsp[-4].minor);
- yy_destructor(yypParser,67,&yymsp[-1].minor);
+#line 2333 "src/parser_proc.c"
+ yy_destructor(yypParser,73,&yymsp[-4].minor);
+ yy_destructor(yypParser,75,&yymsp[-1].minor);
}
break;
case 41: /* decl_abi ::= NAME */
-#line 436 "src/parser_proc.y"
+#line 439 "src/parser_proc.y"
{
- yylhsminor.yy218 = psi_decl_abi_init(yymsp[0].minor.yy0->text);
- yylhsminor.yy218->token = yymsp[0].minor.yy0;
+ yylhsminor.yy242 = psi_decl_abi_init(yymsp[0].minor.yy0->text);
+ yylhsminor.yy242->token = yymsp[0].minor.yy0;
}
-#line 2312 "src/parser_proc.c"
- yymsp[0].minor.yy218 = yylhsminor.yy218;
+#line 2344 "src/parser_proc.c"
+ yymsp[0].minor.yy242 = yylhsminor.yy242;
break;
case 43: /* decl_var_array_size ::= LBRACKET NUMBER RBRACKET */
-{ yy_destructor(yypParser,77,&yymsp[-2].minor);
-#line 443 "src/parser_proc.y"
+{ yy_destructor(yypParser,85,&yymsp[-2].minor);
+#line 446 "src/parser_proc.y"
{
yymsp[-2].minor.yy0 = yymsp[-1].minor.yy0;
}
-#line 2321 "src/parser_proc.c"
- yy_destructor(yypParser,78,&yymsp[0].minor);
+#line 2353 "src/parser_proc.c"
+ yy_destructor(yypParser,86,&yymsp[0].minor);
}
break;
case 44: /* decl_var ::= NAME decl_var_array_size */
-#line 446 "src/parser_proc.y"
+#line 449 "src/parser_proc.y"
{
- yylhsminor.yy11 = psi_decl_var_init(yymsp[-1].minor.yy0->text, 0, yymsp[0].minor.yy0?atol(yymsp[0].minor.yy0->text):0);
- yylhsminor.yy11->token = yymsp[-1].minor.yy0;
+ 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;
if (yymsp[0].minor.yy0) {
free(yymsp[0].minor.yy0);
}
}
-#line 2334 "src/parser_proc.c"
- yymsp[-1].minor.yy11 = yylhsminor.yy11;
+#line 2366 "src/parser_proc.c"
+ yymsp[-1].minor.yy207 = yylhsminor.yy207;
break;
case 45: /* decl_var ::= pointers NAME decl_var_array_size */
-#line 453 "src/parser_proc.y"
+#line 456 "src/parser_proc.y"
{
- yylhsminor.yy11 = psi_decl_var_init(yymsp[-1].minor.yy0->text, yymsp[-2].minor.yy202+!!yymsp[0].minor.yy0, yymsp[0].minor.yy0?atol(yymsp[0].minor.yy0->text):0);
- yylhsminor.yy11->token = yymsp[-1].minor.yy0;
+ 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;
if (yymsp[0].minor.yy0) {
free(yymsp[0].minor.yy0);
}
}
-#line 2346 "src/parser_proc.c"
- yymsp[-2].minor.yy11 = yylhsminor.yy11;
+#line 2378 "src/parser_proc.c"
+ yymsp[-2].minor.yy207 = yylhsminor.yy207;
break;
case 46: /* decl_vars ::= decl_var */
-#line 460 "src/parser_proc.y"
+#line 463 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_var_free),
- &yymsp[0].minor.yy11);
+ yylhsminor.yy303 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_var_free),
+ &yymsp[0].minor.yy207);
}
-#line 2355 "src/parser_proc.c"
- yymsp[0].minor.yy163 = yylhsminor.yy163;
+#line 2387 "src/parser_proc.c"
+ yymsp[0].minor.yy303 = yylhsminor.yy303;
break;
case 47: /* decl_vars ::= decl_vars COMMA decl_var */
-#line 464 "src/parser_proc.y"
+#line 467 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(yymsp[-2].minor.yy163, &yymsp[0].minor.yy11);
+ yylhsminor.yy303 = psi_plist_add(yymsp[-2].minor.yy303, &yymsp[0].minor.yy207);
}
-#line 2363 "src/parser_proc.c"
- yy_destructor(yypParser,66,&yymsp[-1].minor);
- yymsp[-2].minor.yy163 = yylhsminor.yy163;
+#line 2395 "src/parser_proc.c"
+ yy_destructor(yypParser,74,&yymsp[-1].minor);
+ yymsp[-2].minor.yy303 = yylhsminor.yy303;
break;
case 48: /* decl_arg ::= const_decl_type decl_var */
-#line 467 "src/parser_proc.y"
+#line 470 "src/parser_proc.y"
{
- yylhsminor.yy184 = psi_decl_arg_init(yymsp[-1].minor.yy132, yymsp[0].minor.yy11);
+ yylhsminor.yy260 = psi_decl_arg_init(yymsp[-1].minor.yy152, yymsp[0].minor.yy207);
}
-#line 2372 "src/parser_proc.c"
- yymsp[-1].minor.yy184 = yylhsminor.yy184;
+#line 2404 "src/parser_proc.c"
+ yymsp[-1].minor.yy260 = yylhsminor.yy260;
break;
case 49: /* decl_typedef_body ::= const_decl_type indirection LPAREN indirection NAME RPAREN decl_typedef_body_fn_args */
-#line 470 "src/parser_proc.y"
+#line 473 "src/parser_proc.y"
{
struct psi_decl_arg *func_ = psi_decl_arg_init(
- yymsp[-6].minor.yy132,
- psi_decl_var_init(yymsp[-2].minor.yy0->text, yymsp[-5].minor.yy202, 0)
+ yymsp[-6].minor.yy152,
+ psi_decl_var_init(yymsp[-2].minor.yy0->text, yymsp[-5].minor.yy190, 0)
);
func_->var->token = yymsp[-2].minor.yy0;
func_->token = yymsp[-2].minor.yy0;
- yylhsminor.yy184 = psi_decl_arg_init(
+ yylhsminor.yy260 = psi_decl_arg_init(
psi_decl_type_init(PSI_T_FUNCTION, func_->var->name),
psi_decl_var_copy(func_->var)
);
- yylhsminor.yy184->var->pointer_level = yymsp[-3].minor.yy202;
- yylhsminor.yy184->type->token = psi_token_copy(func_->token);
- yylhsminor.yy184->type->real.func = psi_decl_init(psi_decl_abi_init("default"), func_, yymsp[0].minor.yy163);
+ 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);
}
-#line 2392 "src/parser_proc.c"
- yy_destructor(yypParser,65,&yymsp[-4].minor);
- yy_destructor(yypParser,67,&yymsp[-1].minor);
- yymsp[-6].minor.yy184 = yylhsminor.yy184;
+#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;
break;
case 50: /* decl_arg ::= VOID pointers NAME */
-#line 485 "src/parser_proc.y"
+#line 488 "src/parser_proc.y"
{
- yylhsminor.yy184 = psi_decl_arg_init(
+ yylhsminor.yy260 = 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.yy202, 0)
+ psi_decl_var_init(yymsp[0].minor.yy0->text, yymsp[-1].minor.yy190, 0)
);
- yylhsminor.yy184->type->token = yymsp[-2].minor.yy0;
- yylhsminor.yy184->var->token = yymsp[0].minor.yy0;
- yylhsminor.yy184->token = yymsp[0].minor.yy0;
+ yylhsminor.yy260->type->token = yymsp[-2].minor.yy0;
+ yylhsminor.yy260->var->token = yymsp[0].minor.yy0;
+ yylhsminor.yy260->token = yymsp[0].minor.yy0;
}
-#line 2408 "src/parser_proc.c"
- yymsp[-2].minor.yy184 = yylhsminor.yy184;
+#line 2440 "src/parser_proc.c"
+ yymsp[-2].minor.yy260 = yylhsminor.yy260;
break;
case 51: /* decl_arg ::= CONST VOID pointers NAME */
-{ yy_destructor(yypParser,74,&yymsp[-3].minor);
-#line 494 "src/parser_proc.y"
+{ yy_destructor(yypParser,82,&yymsp[-3].minor);
+#line 497 "src/parser_proc.y"
{
- yymsp[-3].minor.yy184 = psi_decl_arg_init(
+ yymsp[-3].minor.yy260 = 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.yy202, 0)
+ psi_decl_var_init(yymsp[0].minor.yy0->text, yymsp[-1].minor.yy190, 0)
);
- yymsp[-3].minor.yy184->type->token = yymsp[-2].minor.yy0;
- yymsp[-3].minor.yy184->var->token = yymsp[0].minor.yy0;
- yymsp[-3].minor.yy184->token = yymsp[0].minor.yy0;
+ 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;
}
-#line 2423 "src/parser_proc.c"
+#line 2455 "src/parser_proc.c"
}
break;
case 52: /* decl_args ::= */
-#line 503 "src/parser_proc.y"
+#line 506 "src/parser_proc.y"
{
- yymsp[1].minor.yy163 = NULL;
+ yymsp[1].minor.yy303 = NULL;
}
-#line 2431 "src/parser_proc.c"
+#line 2463 "src/parser_proc.c"
break;
case 53: /* decl_args ::= VOID */
-{ yy_destructor(yypParser,49,&yymsp[0].minor);
-#line 506 "src/parser_proc.y"
+{ yy_destructor(yypParser,57,&yymsp[0].minor);
+#line 509 "src/parser_proc.y"
{
- yymsp[0].minor.yy163 = NULL;
+ yymsp[0].minor.yy303 = NULL;
}
-#line 2439 "src/parser_proc.c"
+#line 2471 "src/parser_proc.c"
}
break;
case 54: /* decl_args ::= decl_arg */
case 56: /* struct_args ::= struct_arg */ yytestcase(yyruleno==56);
-#line 509 "src/parser_proc.y"
+#line 512 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_arg_free),
- &yymsp[0].minor.yy184);
+ yylhsminor.yy303 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_arg_free),
+ &yymsp[0].minor.yy260);
}
-#line 2449 "src/parser_proc.c"
- yymsp[0].minor.yy163 = yylhsminor.yy163;
+#line 2481 "src/parser_proc.c"
+ yymsp[0].minor.yy303 = yylhsminor.yy303;
break;
case 55: /* decl_args ::= decl_args COMMA decl_arg */
-#line 513 "src/parser_proc.y"
+#line 516 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(yymsp[-2].minor.yy163, &yymsp[0].minor.yy184);
+ yylhsminor.yy303 = psi_plist_add(yymsp[-2].minor.yy303, &yymsp[0].minor.yy260);
}
-#line 2457 "src/parser_proc.c"
- yy_destructor(yypParser,66,&yymsp[-1].minor);
- yymsp[-2].minor.yy163 = yylhsminor.yy163;
+#line 2489 "src/parser_proc.c"
+ yy_destructor(yypParser,74,&yymsp[-1].minor);
+ yymsp[-2].minor.yy303 = yylhsminor.yy303;
break;
case 57: /* struct_args ::= struct_args struct_arg */
-#line 520 "src/parser_proc.y"
+#line 523 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(yymsp[-1].minor.yy163, &yymsp[0].minor.yy184);
+ yylhsminor.yy303 = psi_plist_add(yymsp[-1].minor.yy303, &yymsp[0].minor.yy260);
}
-#line 2466 "src/parser_proc.c"
- yymsp[-1].minor.yy163 = yylhsminor.yy163;
+#line 2498 "src/parser_proc.c"
+ yymsp[-1].minor.yy303 = yylhsminor.yy303;
break;
case 58: /* struct_arg ::= decl_typedef_body_ex EOS */
-#line 523 "src/parser_proc.y"
+#line 526 "src/parser_proc.y"
{
- yylhsminor.yy184 = yymsp[-1].minor.yy184;
- switch (yymsp[-1].minor.yy184->type->type) {
+ yylhsminor.yy260 = yymsp[-1].minor.yy260;
+ switch (yymsp[-1].minor.yy260->type->type) {
case PSI_T_STRUCT:
- if (yymsp[-1].minor.yy184->type->real.strct) {
+ if (yymsp[-1].minor.yy260->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.yy184->type->real.strct);
+ P->structs = psi_plist_add(P->structs, &yymsp[-1].minor.yy260->type->real.strct);
}
break;
case PSI_T_UNION:
- if (yymsp[-1].minor.yy184->type->real.unn) {
+ if (yymsp[-1].minor.yy260->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.yy184->type->real.unn);
+ P->unions = psi_plist_add(P->unions, &yymsp[-1].minor.yy260->type->real.unn);
}
break;
case PSI_T_ENUM:
- if (yymsp[-1].minor.yy184->type->real.enm) {
+ if (yymsp[-1].minor.yy260->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.yy184->type->real.enm);
+ P->enums = psi_plist_add(P->enums, &yymsp[-1].minor.yy260->type->real.enm);
}
break;
}
}
-#line 2500 "src/parser_proc.c"
- yy_destructor(yypParser,63,&yymsp[0].minor);
- yymsp[-1].minor.yy184 = yylhsminor.yy184;
+#line 2532 "src/parser_proc.c"
+ yy_destructor(yypParser,71,&yymsp[0].minor);
+ yymsp[-1].minor.yy260 = yylhsminor.yy260;
break;
case 59: /* struct_arg ::= decl_arg decl_layout EOS */
-#line 552 "src/parser_proc.y"
+#line 555 "src/parser_proc.y"
{
- yymsp[-2].minor.yy184->layout = yymsp[-1].minor.yy141;
- yylhsminor.yy184 = yymsp[-2].minor.yy184;
+ yymsp[-2].minor.yy260->layout = yymsp[-1].minor.yy81;
+ yylhsminor.yy260 = yymsp[-2].minor.yy260;
}
-#line 2510 "src/parser_proc.c"
- yy_destructor(yypParser,63,&yymsp[0].minor);
- yymsp[-2].minor.yy184 = yylhsminor.yy184;
+#line 2542 "src/parser_proc.c"
+ yy_destructor(yypParser,71,&yymsp[0].minor);
+ yymsp[-2].minor.yy260 = yylhsminor.yy260;
break;
case 60: /* decl_layout ::= */
-#line 556 "src/parser_proc.y"
+#line 559 "src/parser_proc.y"
{
- yymsp[1].minor.yy141 = NULL;
+ yymsp[1].minor.yy81 = NULL;
}
-#line 2519 "src/parser_proc.c"
+#line 2551 "src/parser_proc.c"
break;
case 61: /* decl_layout ::= COLON COLON LPAREN NUMBER COMMA NUMBER RPAREN */
-{ yy_destructor(yypParser,64,&yymsp[-6].minor);
-#line 559 "src/parser_proc.y"
+{ yy_destructor(yypParser,72,&yymsp[-6].minor);
+#line 562 "src/parser_proc.y"
{
- yymsp[-6].minor.yy141 = psi_layout_init(atol(yymsp[-3].minor.yy0->text), atol(yymsp[-1].minor.yy0->text));
+ yymsp[-6].minor.yy81 = 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 2529 "src/parser_proc.c"
- yy_destructor(yypParser,64,&yymsp[-5].minor);
- yy_destructor(yypParser,65,&yymsp[-4].minor);
- yy_destructor(yypParser,66,&yymsp[-2].minor);
- yy_destructor(yypParser,67,&yymsp[0].minor);
+#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);
}
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 567 "src/parser_proc.y"
+#line 570 "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 2549 "src/parser_proc.c"
+#line 2581 "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 615 "src/parser_proc.y"
+#line 618 "src/parser_proc.y"
{
struct psi_token *T = psi_token_cat(2, yymsp[-1].minor.yy0, yymsp[0].minor.yy0);
- yylhsminor.yy132 = psi_decl_type_init(T->type, T->text);
- yylhsminor.yy132->token = T;
+ yylhsminor.yy152 = psi_decl_type_init(T->type, T->text);
+ yylhsminor.yy152->token = T;
free(yymsp[-1].minor.yy0);
free(yymsp[0].minor.yy0);
}
-#line 2562 "src/parser_proc.c"
- yymsp[-1].minor.yy132 = yylhsminor.yy132;
+#line 2594 "src/parser_proc.c"
+ yymsp[-1].minor.yy152 = yylhsminor.yy152;
break;
case 75: /* decl_type ::= UNSIGNED */
case 76: /* decl_type ::= SIGNED */ yytestcase(yyruleno==76);
-#line 629 "src/parser_proc.y"
+#line 632 "src/parser_proc.y"
{
- yylhsminor.yy132 = psi_decl_type_init(PSI_T_NAME, yymsp[0].minor.yy0->text);
- yylhsminor.yy132->token = yymsp[0].minor.yy0;
+ yylhsminor.yy152 = psi_decl_type_init(PSI_T_NAME, yymsp[0].minor.yy0->text);
+ yylhsminor.yy152->token = yymsp[0].minor.yy0;
}
-#line 2572 "src/parser_proc.c"
- yymsp[0].minor.yy132 = yylhsminor.yy132;
+#line 2604 "src/parser_proc.c"
+ yymsp[0].minor.yy152 = yylhsminor.yy152;
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 637 "src/parser_proc.y"
+#line 640 "src/parser_proc.y"
{
- yylhsminor.yy132 = psi_decl_type_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
- yylhsminor.yy132->token = yymsp[0].minor.yy0;
+ yylhsminor.yy152 = psi_decl_type_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
+ yylhsminor.yy152->token = yymsp[0].minor.yy0;
}
-#line 2582 "src/parser_proc.c"
- yymsp[0].minor.yy132 = yylhsminor.yy132;
+#line 2614 "src/parser_proc.c"
+ yymsp[0].minor.yy152 = yylhsminor.yy152;
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 641 "src/parser_proc.y"
+#line 644 "src/parser_proc.y"
{
- yylhsminor.yy132 = psi_decl_type_init(yymsp[-1].minor.yy0->type, yymsp[0].minor.yy0->text);
- yylhsminor.yy132->token = yymsp[0].minor.yy0;
+ yylhsminor.yy152 = psi_decl_type_init(yymsp[-1].minor.yy0->type, yymsp[0].minor.yy0->text);
+ yylhsminor.yy152->token = yymsp[0].minor.yy0;
free(yymsp[-1].minor.yy0);
}
-#line 2594 "src/parser_proc.c"
- yymsp[-1].minor.yy132 = yylhsminor.yy132;
+#line 2626 "src/parser_proc.c"
+ yymsp[-1].minor.yy152 = yylhsminor.yy152;
break;
case 82: /* const_decl_type ::= decl_type */
-#line 660 "src/parser_proc.y"
+#line 663 "src/parser_proc.y"
{
- yylhsminor.yy132 = yymsp[0].minor.yy132;
+ yylhsminor.yy152 = yymsp[0].minor.yy152;
}
-#line 2602 "src/parser_proc.c"
- yymsp[0].minor.yy132 = yylhsminor.yy132;
+#line 2634 "src/parser_proc.c"
+ yymsp[0].minor.yy152 = yylhsminor.yy152;
break;
case 83: /* const_decl_type ::= CONST decl_type */
-{ yy_destructor(yypParser,74,&yymsp[-1].minor);
-#line 663 "src/parser_proc.y"
+{ yy_destructor(yypParser,82,&yymsp[-1].minor);
+#line 666 "src/parser_proc.y"
{
- yymsp[-1].minor.yy132 = yymsp[0].minor.yy132;
+ yymsp[-1].minor.yy152 = yymsp[0].minor.yy152;
}
-#line 2611 "src/parser_proc.c"
+#line 2643 "src/parser_proc.c"
}
break;
case 84: /* impl ::= impl_func LBRACE impl_stmts RBRACE */
-#line 666 "src/parser_proc.y"
+#line 669 "src/parser_proc.y"
{
- yylhsminor.yy97 = psi_impl_init(yymsp[-3].minor.yy168, yymsp[-1].minor.yy163);
+ yylhsminor.yy49 = psi_impl_init(yymsp[-3].minor.yy120, yymsp[-1].minor.yy303);
}
-#line 2619 "src/parser_proc.c"
- yy_destructor(yypParser,71,&yymsp[-2].minor);
- yy_destructor(yypParser,72,&yymsp[0].minor);
- yymsp[-3].minor.yy97 = yylhsminor.yy97;
+#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;
break;
case 85: /* impl ::= STATIC impl_func LBRACE impl_stmts RBRACE */
-{ yy_destructor(yypParser,84,&yymsp[-4].minor);
-#line 669 "src/parser_proc.y"
+{ yy_destructor(yypParser,92,&yymsp[-4].minor);
+#line 672 "src/parser_proc.y"
{
- yymsp[-3].minor.yy168->static_memory = 1;
- yymsp[-4].minor.yy97 = psi_impl_init(yymsp[-3].minor.yy168, yymsp[-1].minor.yy163);
+ yymsp[-3].minor.yy120->static_memory = 1;
+ yymsp[-4].minor.yy49 = psi_impl_init(yymsp[-3].minor.yy120, yymsp[-1].minor.yy303);
}
-#line 2631 "src/parser_proc.c"
- yy_destructor(yypParser,71,&yymsp[-2].minor);
- yy_destructor(yypParser,72,&yymsp[0].minor);
+#line 2663 "src/parser_proc.c"
+ yy_destructor(yypParser,79,&yymsp[-2].minor);
+ yy_destructor(yypParser,80,&yymsp[0].minor);
}
break;
case 86: /* impl_func ::= FUNCTION reference NSNAME LPAREN RPAREN COLON impl_type */
-{ yy_destructor(yypParser,85,&yymsp[-6].minor);
-#line 673 "src/parser_proc.y"
+{ yy_destructor(yypParser,93,&yymsp[-6].minor);
+#line 676 "src/parser_proc.y"
{
- yymsp[-6].minor.yy168 = psi_impl_func_init(yymsp[-4].minor.yy0->text, NULL, yymsp[0].minor.yy138);
- yymsp[-6].minor.yy168->token = yymsp[-4].minor.yy0;
- yymsp[-6].minor.yy168->return_reference = yymsp[-5].minor.yy121;
+ 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;
}
-#line 2644 "src/parser_proc.c"
- yy_destructor(yypParser,65,&yymsp[-3].minor);
- yy_destructor(yypParser,67,&yymsp[-2].minor);
- yy_destructor(yypParser,64,&yymsp[-1].minor);
+#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);
}
break;
case 87: /* impl_func ::= FUNCTION reference NSNAME LPAREN impl_args RPAREN COLON impl_type */
-{ yy_destructor(yypParser,85,&yymsp[-7].minor);
-#line 678 "src/parser_proc.y"
+{ yy_destructor(yypParser,93,&yymsp[-7].minor);
+#line 681 "src/parser_proc.y"
{
- yymsp[-7].minor.yy168 = psi_impl_func_init(yymsp[-5].minor.yy0->text, yymsp[-3].minor.yy163, yymsp[0].minor.yy138);
- yymsp[-7].minor.yy168->token = yymsp[-5].minor.yy0;
- yymsp[-7].minor.yy168->return_reference = yymsp[-6].minor.yy121;
+ 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;
}
-#line 2658 "src/parser_proc.c"
- yy_destructor(yypParser,65,&yymsp[-4].minor);
- yy_destructor(yypParser,67,&yymsp[-2].minor);
- yy_destructor(yypParser,64,&yymsp[-1].minor);
+#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);
}
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,85,&yymsp[-12].minor);
-#line 683 "src/parser_proc.y"
+{ yy_destructor(yypParser,93,&yymsp[-12].minor);
+#line 686 "src/parser_proc.y"
{
- yymsp[-12].minor.yy168 = psi_impl_func_init(yymsp[-10].minor.yy0->text, yymsp[-8].minor.yy163, yymsp[0].minor.yy138);
- yymsp[-12].minor.yy168->token = yymsp[-10].minor.yy0;
- yymsp[-12].minor.yy168->return_reference = yymsp[-11].minor.yy121;
- yymsp[-12].minor.yy168->vararg = psi_impl_arg_init(yymsp[-6].minor.yy138, psi_impl_var_init(yymsp[-3].minor.yy0->text, yymsp[-5].minor.yy121), NULL);
+ 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);
free(yymsp[-3].minor.yy0);
}
-#line 2674 "src/parser_proc.c"
- yy_destructor(yypParser,65,&yymsp[-9].minor);
- yy_destructor(yypParser,66,&yymsp[-7].minor);
- yy_destructor(yypParser,76,&yymsp[-4].minor);
- yy_destructor(yypParser,67,&yymsp[-2].minor);
- yy_destructor(yypParser,64,&yymsp[-1].minor);
+#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);
}
break;
case 89: /* impl_def_val ::= NULL|NUMBER|TRUE|FALSE|QUOTED_STRING */
-#line 690 "src/parser_proc.y"
+#line 693 "src/parser_proc.y"
{
- yylhsminor.yy93 = psi_impl_def_val_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
- yylhsminor.yy93->token = yymsp[0].minor.yy0;
+ yylhsminor.yy21 = psi_impl_def_val_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
+ yylhsminor.yy21->token = yymsp[0].minor.yy0;
}
-#line 2688 "src/parser_proc.c"
- yymsp[0].minor.yy93 = yylhsminor.yy93;
+#line 2720 "src/parser_proc.c"
+ yymsp[0].minor.yy21 = yylhsminor.yy21;
break;
case 90: /* impl_var ::= reference DOLLAR_NAME */
-#line 694 "src/parser_proc.y"
+#line 697 "src/parser_proc.y"
{
- yylhsminor.yy37 = psi_impl_var_init(yymsp[0].minor.yy0->text, yymsp[-1].minor.yy121);
- yylhsminor.yy37->token = yymsp[0].minor.yy0;
+ yylhsminor.yy185 = psi_impl_var_init(yymsp[0].minor.yy0->text, yymsp[-1].minor.yy273);
+ yylhsminor.yy185->token = yymsp[0].minor.yy0;
}
-#line 2697 "src/parser_proc.c"
- yymsp[-1].minor.yy37 = yylhsminor.yy37;
+#line 2729 "src/parser_proc.c"
+ yymsp[-1].minor.yy185 = yylhsminor.yy185;
break;
case 91: /* impl_type ::= VOID|MIXED|BOOL|INT|FLOAT|STRING|ARRAY|OBJECT|CALLABLE */
-#line 698 "src/parser_proc.y"
+#line 701 "src/parser_proc.y"
{
- yylhsminor.yy138 = psi_impl_type_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
+ yylhsminor.yy142 = psi_impl_type_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
free(yymsp[0].minor.yy0);
}
-#line 2706 "src/parser_proc.c"
- yymsp[0].minor.yy138 = yylhsminor.yy138;
+#line 2738 "src/parser_proc.c"
+ yymsp[0].minor.yy142 = yylhsminor.yy142;
break;
case 92: /* impl_arg ::= impl_type impl_var */
-#line 702 "src/parser_proc.y"
+#line 705 "src/parser_proc.y"
{
- yylhsminor.yy210 = psi_impl_arg_init(yymsp[-1].minor.yy138, yymsp[0].minor.yy37, NULL);
+ yylhsminor.yy238 = psi_impl_arg_init(yymsp[-1].minor.yy142, yymsp[0].minor.yy185, NULL);
}
-#line 2714 "src/parser_proc.c"
- yymsp[-1].minor.yy210 = yylhsminor.yy210;
+#line 2746 "src/parser_proc.c"
+ yymsp[-1].minor.yy238 = yylhsminor.yy238;
break;
case 93: /* impl_arg ::= impl_type impl_var EQUALS impl_def_val */
-#line 705 "src/parser_proc.y"
+#line 708 "src/parser_proc.y"
{
- yylhsminor.yy210 = psi_impl_arg_init(yymsp[-3].minor.yy138, yymsp[-2].minor.yy37, yymsp[0].minor.yy93);
+ yylhsminor.yy238 = psi_impl_arg_init(yymsp[-3].minor.yy142, yymsp[-2].minor.yy185, yymsp[0].minor.yy21);
}
-#line 2722 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-1].minor);
- yymsp[-3].minor.yy210 = yylhsminor.yy210;
+#line 2754 "src/parser_proc.c"
+ yy_destructor(yypParser,81,&yymsp[-1].minor);
+ yymsp[-3].minor.yy238 = yylhsminor.yy238;
break;
case 94: /* impl_args ::= impl_arg */
-#line 708 "src/parser_proc.y"
+#line 711 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_impl_arg_free),
- &yymsp[0].minor.yy210);
+ yylhsminor.yy303 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_impl_arg_free),
+ &yymsp[0].minor.yy238);
}
-#line 2732 "src/parser_proc.c"
- yymsp[0].minor.yy163 = yylhsminor.yy163;
+#line 2764 "src/parser_proc.c"
+ yymsp[0].minor.yy303 = yylhsminor.yy303;
break;
case 95: /* impl_args ::= impl_args COMMA impl_arg */
-#line 712 "src/parser_proc.y"
+#line 715 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(yymsp[-2].minor.yy163, &yymsp[0].minor.yy210);
+ yylhsminor.yy303 = psi_plist_add(yymsp[-2].minor.yy303, &yymsp[0].minor.yy238);
}
-#line 2740 "src/parser_proc.c"
- yy_destructor(yypParser,66,&yymsp[-1].minor);
- yymsp[-2].minor.yy163 = yylhsminor.yy163;
+#line 2772 "src/parser_proc.c"
+ yy_destructor(yypParser,74,&yymsp[-1].minor);
+ yymsp[-2].minor.yy303 = yylhsminor.yy303;
break;
case 96: /* impl_stmts ::= impl_stmt */
-#line 715 "src/parser_proc.y"
+#line 718 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_impl_stmt_free),
- &yymsp[0].minor.yy78);
+ yylhsminor.yy303 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_impl_stmt_free),
+ &yymsp[0].minor.yy38);
}
-#line 2750 "src/parser_proc.c"
- yymsp[0].minor.yy163 = yylhsminor.yy163;
+#line 2782 "src/parser_proc.c"
+ yymsp[0].minor.yy303 = yylhsminor.yy303;
break;
case 97: /* impl_stmts ::= impl_stmts impl_stmt */
-#line 719 "src/parser_proc.y"
+#line 722 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(yymsp[-1].minor.yy163, &yymsp[0].minor.yy78);
+ yylhsminor.yy303 = psi_plist_add(yymsp[-1].minor.yy303, &yymsp[0].minor.yy38);
}
-#line 2758 "src/parser_proc.c"
- yymsp[-1].minor.yy163 = yylhsminor.yy163;
+#line 2790 "src/parser_proc.c"
+ yymsp[-1].minor.yy303 = yylhsminor.yy303;
break;
case 98: /* impl_stmt ::= return_stmt */
-#line 722 "src/parser_proc.y"
+#line 725 "src/parser_proc.y"
{
- yylhsminor.yy78 = (struct psi_token**) yymsp[0].minor.yy90;
+ yylhsminor.yy38 = (struct psi_token**) yymsp[0].minor.yy130;
}
-#line 2766 "src/parser_proc.c"
- yymsp[0].minor.yy78 = yylhsminor.yy78;
+#line 2798 "src/parser_proc.c"
+ yymsp[0].minor.yy38 = yylhsminor.yy38;
break;
case 99: /* impl_stmt ::= let_stmt */
-#line 725 "src/parser_proc.y"
+#line 728 "src/parser_proc.y"
{
- yylhsminor.yy78 = (struct psi_token**) yymsp[0].minor.yy311;
+ yylhsminor.yy38 = (struct psi_token**) yymsp[0].minor.yy139;
}
-#line 2774 "src/parser_proc.c"
- yymsp[0].minor.yy78 = yylhsminor.yy78;
+#line 2806 "src/parser_proc.c"
+ yymsp[0].minor.yy38 = yylhsminor.yy38;
break;
case 100: /* impl_stmt ::= set_stmt */
-#line 728 "src/parser_proc.y"
+#line 731 "src/parser_proc.y"
{
- yylhsminor.yy78 = (struct psi_token**) yymsp[0].minor.yy98;
+ yylhsminor.yy38 = (struct psi_token**) yymsp[0].minor.yy226;
}
-#line 2782 "src/parser_proc.c"
- yymsp[0].minor.yy78 = yylhsminor.yy78;
+#line 2814 "src/parser_proc.c"
+ yymsp[0].minor.yy38 = yylhsminor.yy38;
break;
case 101: /* impl_stmt ::= free_stmt */
-#line 731 "src/parser_proc.y"
+#line 734 "src/parser_proc.y"
{
- yylhsminor.yy78 = (struct psi_token**) yymsp[0].minor.yy192;
+ yylhsminor.yy38 = (struct psi_token**) yymsp[0].minor.yy76;
}
-#line 2790 "src/parser_proc.c"
- yymsp[0].minor.yy78 = yylhsminor.yy78;
+#line 2822 "src/parser_proc.c"
+ yymsp[0].minor.yy38 = yylhsminor.yy38;
break;
case 102: /* number ::= NUMBER|NSNAME */
-#line 734 "src/parser_proc.y"
+#line 737 "src/parser_proc.y"
{
- yylhsminor.yy188 = psi_number_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
- yylhsminor.yy188->token = yymsp[0].minor.yy0;
+ yylhsminor.yy160 = psi_number_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
+ yylhsminor.yy160->token = yymsp[0].minor.yy0;
}
-#line 2799 "src/parser_proc.c"
- yymsp[0].minor.yy188 = yylhsminor.yy188;
+#line 2831 "src/parser_proc.c"
+ yymsp[0].minor.yy160 = yylhsminor.yy160;
break;
case 103: /* number ::= decl_var */
-#line 738 "src/parser_proc.y"
+#line 741 "src/parser_proc.y"
{
- yylhsminor.yy188 = psi_number_init(PSI_T_NAME, yymsp[0].minor.yy11);
- yylhsminor.yy188->token = psi_token_copy(yymsp[0].minor.yy11->token);
+ yylhsminor.yy160 = psi_number_init(PSI_T_NAME, yymsp[0].minor.yy207);
+ yylhsminor.yy160->token = psi_token_copy(yymsp[0].minor.yy207->token);
}
-#line 2808 "src/parser_proc.c"
- yymsp[0].minor.yy188 = yylhsminor.yy188;
+#line 2840 "src/parser_proc.c"
+ yymsp[0].minor.yy160 = yylhsminor.yy160;
break;
case 104: /* num_exp ::= number */
-#line 742 "src/parser_proc.y"
+#line 745 "src/parser_proc.y"
{
- yylhsminor.yy259 = psi_num_exp_init_num(yymsp[0].minor.yy188);
- yylhsminor.yy259->token = psi_token_copy(yymsp[0].minor.yy188->token);
+ yylhsminor.yy39 = psi_num_exp_init_num(yymsp[0].minor.yy160);
+ yylhsminor.yy39->token = psi_token_copy(yymsp[0].minor.yy160->token);
}
-#line 2817 "src/parser_proc.c"
- yymsp[0].minor.yy259 = yylhsminor.yy259;
+#line 2849 "src/parser_proc.c"
+ yymsp[0].minor.yy39 = yylhsminor.yy39;
break;
case 105: /* num_exp ::= LPAREN num_exp RPAREN */
-#line 746 "src/parser_proc.y"
+#line 749 "src/parser_proc.y"
{
- yylhsminor.yy259 = psi_num_exp_init_unary(PSI_T_LPAREN, yymsp[-1].minor.yy259);
- yylhsminor.yy259->token = yymsp[-2].minor.yy0;
+ yylhsminor.yy39 = psi_num_exp_init_unary(PSI_T_LPAREN, yymsp[-1].minor.yy39);
+ yylhsminor.yy39->token = yymsp[-2].minor.yy0;
}
-#line 2826 "src/parser_proc.c"
- yy_destructor(yypParser,67,&yymsp[0].minor);
- yymsp[-2].minor.yy259 = yylhsminor.yy259;
+#line 2858 "src/parser_proc.c"
+ yy_destructor(yypParser,75,&yymsp[0].minor);
+ yymsp[-2].minor.yy39 = yylhsminor.yy39;
break;
- case 106: /* num_exp ::= num_exp PIPE|CARET|AMPERSAND|LSHIFT|RSHIFT|PLUS|MINUS|ASTERISK|SLASH|MODULO num_exp */
-#line 750 "src/parser_proc.y"
+ 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"
{
- yylhsminor.yy259 = psi_num_exp_init_binary(yymsp[-1].minor.yy0->type, yymsp[-2].minor.yy259, yymsp[0].minor.yy259);
- yylhsminor.yy259->token = yymsp[-1].minor.yy0;
+ 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;
}
-#line 2836 "src/parser_proc.c"
- yymsp[-2].minor.yy259 = yylhsminor.yy259;
+#line 2868 "src/parser_proc.c"
+ yymsp[-2].minor.yy39 = yylhsminor.yy39;
break;
case 107: /* num_exp ::= TILDE|NOT|PLUS|MINUS num_exp */
-#line 754 "src/parser_proc.y"
+#line 757 "src/parser_proc.y"
{
- yylhsminor.yy259 = psi_num_exp_init_unary(yymsp[-1].minor.yy0->type, yymsp[0].minor.yy259);
- yylhsminor.yy259->token = yymsp[-1].minor.yy0;
+ yylhsminor.yy39 = psi_num_exp_init_unary(yymsp[-1].minor.yy0->type, yymsp[0].minor.yy39);
+ yylhsminor.yy39->token = yymsp[-1].minor.yy0;
}
-#line 2845 "src/parser_proc.c"
- yymsp[-1].minor.yy259 = yylhsminor.yy259;
+#line 2877 "src/parser_proc.c"
+ yymsp[-1].minor.yy39 = yylhsminor.yy39;
break;
case 108: /* let_exp ::= NULL */
{ yy_destructor(yypParser,15,&yymsp[0].minor);
-#line 758 "src/parser_proc.y"
+#line 761 "src/parser_proc.y"
{
- yymsp[0].minor.yy20 = psi_let_exp_init(PSI_LET_NULL, NULL);
+ yymsp[0].minor.yy144 = psi_let_exp_init(PSI_LET_NULL, NULL);
}
-#line 2854 "src/parser_proc.c"
+#line 2886 "src/parser_proc.c"
}
break;
case 109: /* let_exp ::= AMPERSAND NULL */
{ yy_destructor(yypParser,23,&yymsp[-1].minor);
-#line 761 "src/parser_proc.y"
+#line 764 "src/parser_proc.y"
{
- yymsp[-1].minor.yy20 = psi_let_exp_init(PSI_LET_NULL, NULL);
- yymsp[-1].minor.yy20->is_reference = 1;
+ yymsp[-1].minor.yy144 = psi_let_exp_init(PSI_LET_NULL, NULL);
+ yymsp[-1].minor.yy144->is_reference = 1;
}
-#line 2864 "src/parser_proc.c"
+#line 2896 "src/parser_proc.c"
yy_destructor(yypParser,15,&yymsp[0].minor);
}
break;
case 110: /* let_exp ::= let_callback */
-#line 765 "src/parser_proc.y"
+#line 768 "src/parser_proc.y"
{
- yylhsminor.yy20 = psi_let_exp_init(PSI_LET_CALLBACK, yymsp[0].minor.yy220);
+ yylhsminor.yy144 = psi_let_exp_init(PSI_LET_CALLBACK, yymsp[0].minor.yy164);
}
-#line 2873 "src/parser_proc.c"
- yymsp[0].minor.yy20 = yylhsminor.yy20;
+#line 2905 "src/parser_proc.c"
+ yymsp[0].minor.yy144 = yylhsminor.yy144;
break;
case 111: /* let_exp ::= let_calloc */
-#line 768 "src/parser_proc.y"
+#line 771 "src/parser_proc.y"
{
- yylhsminor.yy20 = psi_let_exp_init(PSI_LET_CALLOC, yymsp[0].minor.yy9);
+ yylhsminor.yy144 = psi_let_exp_init(PSI_LET_CALLOC, yymsp[0].minor.yy17);
}
-#line 2881 "src/parser_proc.c"
- yymsp[0].minor.yy20 = yylhsminor.yy20;
+#line 2913 "src/parser_proc.c"
+ yymsp[0].minor.yy144 = yylhsminor.yy144;
break;
case 112: /* let_exp ::= AMPERSAND let_calloc */
{ yy_destructor(yypParser,23,&yymsp[-1].minor);
-#line 771 "src/parser_proc.y"
+#line 774 "src/parser_proc.y"
{
- yymsp[-1].minor.yy20 = psi_let_exp_init(PSI_LET_CALLOC, yymsp[0].minor.yy9);
- yymsp[-1].minor.yy20->is_reference = 1;
+ yymsp[-1].minor.yy144 = psi_let_exp_init(PSI_LET_CALLOC, yymsp[0].minor.yy17);
+ yymsp[-1].minor.yy144->is_reference = 1;
}
-#line 2891 "src/parser_proc.c"
+#line 2923 "src/parser_proc.c"
}
break;
case 113: /* let_exp ::= let_func */
-#line 775 "src/parser_proc.y"
+#line 778 "src/parser_proc.y"
{
- yylhsminor.yy20 = psi_let_exp_init_ex(NULL, PSI_LET_FUNC, yymsp[0].minor.yy27);
+ yylhsminor.yy144 = psi_let_exp_init_ex(NULL, PSI_LET_FUNC, yymsp[0].minor.yy72);
}
-#line 2899 "src/parser_proc.c"
- yymsp[0].minor.yy20 = yylhsminor.yy20;
+#line 2931 "src/parser_proc.c"
+ yymsp[0].minor.yy144 = yylhsminor.yy144;
break;
case 114: /* let_exp ::= AMPERSAND let_func */
{ yy_destructor(yypParser,23,&yymsp[-1].minor);
-#line 778 "src/parser_proc.y"
+#line 781 "src/parser_proc.y"
{
- yymsp[-1].minor.yy20 = psi_let_exp_init_ex(NULL, PSI_LET_FUNC, yymsp[0].minor.yy27);
- yymsp[-1].minor.yy20->is_reference = 1;
+ yymsp[-1].minor.yy144 = psi_let_exp_init_ex(NULL, PSI_LET_FUNC, yymsp[0].minor.yy72);
+ yymsp[-1].minor.yy144->is_reference = 1;
}
-#line 2909 "src/parser_proc.c"
+#line 2941 "src/parser_proc.c"
}
break;
case 115: /* let_exp ::= num_exp */
-#line 782 "src/parser_proc.y"
+#line 785 "src/parser_proc.y"
{
- yylhsminor.yy20 = psi_let_exp_init_ex(NULL, PSI_LET_NUMEXP, yymsp[0].minor.yy259);
+ yylhsminor.yy144 = psi_let_exp_init_ex(NULL, PSI_LET_NUMEXP, yymsp[0].minor.yy39);
}
-#line 2917 "src/parser_proc.c"
- yymsp[0].minor.yy20 = yylhsminor.yy20;
+#line 2949 "src/parser_proc.c"
+ yymsp[0].minor.yy144 = yylhsminor.yy144;
break;
case 116: /* let_exp ::= AMPERSAND num_exp */
{ yy_destructor(yypParser,23,&yymsp[-1].minor);
-#line 785 "src/parser_proc.y"
+#line 788 "src/parser_proc.y"
{
- yymsp[-1].minor.yy20 = psi_let_exp_init_ex(NULL, PSI_LET_NUMEXP, yymsp[0].minor.yy259);
- yymsp[-1].minor.yy20->is_reference = 1;
+ 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 2927 "src/parser_proc.c"
+#line 2959 "src/parser_proc.c"
}
break;
case 117: /* let_exp ::= decl_var EQUALS let_exp */
-#line 789 "src/parser_proc.y"
+#line 792 "src/parser_proc.y"
{
- yylhsminor.yy20 = yymsp[0].minor.yy20;
- yylhsminor.yy20->var = yymsp[-2].minor.yy11;
+ yylhsminor.yy144 = yymsp[0].minor.yy144;
+ yylhsminor.yy144->var = yymsp[-2].minor.yy207;
}
-#line 2936 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-1].minor);
- yymsp[-2].minor.yy20 = yylhsminor.yy20;
+#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 793 "src/parser_proc.y"
+#line 796 "src/parser_proc.y"
{
- yylhsminor.yy311 = psi_let_stmt_init(yymsp[-1].minor.yy20);
- yylhsminor.yy311->token = yymsp[-2].minor.yy0;
+ yylhsminor.yy139 = psi_let_stmt_init(yymsp[-1].minor.yy144);
+ yylhsminor.yy139->token = yymsp[-2].minor.yy0;
}
-#line 2946 "src/parser_proc.c"
- yy_destructor(yypParser,63,&yymsp[0].minor);
- yymsp[-2].minor.yy311 = yylhsminor.yy311;
+#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 797 "src/parser_proc.y"
+#line 800 "src/parser_proc.y"
{
- yylhsminor.yy311 = psi_let_stmt_init(psi_let_exp_init_ex(yymsp[-4].minor.yy11, PSI_LET_TMP, yymsp[-1].minor.yy11));
- yylhsminor.yy311->token = yymsp[-5].minor.yy0;
- yylhsminor.yy311->exp->is_reference = yymsp[-2].minor.yy121 ? 1 : 0;
+ 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;
}
-#line 2957 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-3].minor);
- yy_destructor(yypParser,63,&yymsp[0].minor);
- yymsp[-5].minor.yy311 = yylhsminor.yy311;
+#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;
break;
case 120: /* let_callback ::= CALLBACK callback_rval LPAREN impl_var LPAREN callback_arg_list RPAREN RPAREN */
-#line 802 "src/parser_proc.y"
+#line 805 "src/parser_proc.y"
{
- yylhsminor.yy220 = psi_let_callback_init(psi_let_func_init(yymsp[-6].minor.yy0->type, yymsp[-6].minor.yy0->text, yymsp[-4].minor.yy37), yymsp[-2].minor.yy43);
- yylhsminor.yy220->token = yymsp[-7].minor.yy0;
+ 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);
}
-#line 2969 "src/parser_proc.c"
- yy_destructor(yypParser,65,&yymsp[-5].minor);
- yy_destructor(yypParser,65,&yymsp[-3].minor);
- yy_destructor(yypParser,67,&yymsp[-1].minor);
- yy_destructor(yypParser,67,&yymsp[0].minor);
- yymsp[-7].minor.yy220 = yylhsminor.yy220;
+#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;
break;
case 121: /* let_calloc ::= CALLOC LPAREN num_exp COMMA num_exp RPAREN */
-#line 807 "src/parser_proc.y"
+#line 810 "src/parser_proc.y"
{
- yylhsminor.yy9 = psi_let_calloc_init(yymsp[-3].minor.yy259, yymsp[-1].minor.yy259);
- yylhsminor.yy9->token = yymsp[-5].minor.yy0;
+ yylhsminor.yy17 = psi_let_calloc_init(yymsp[-3].minor.yy39, yymsp[-1].minor.yy39);
+ yylhsminor.yy17->token = yymsp[-5].minor.yy0;
}
-#line 2982 "src/parser_proc.c"
- yy_destructor(yypParser,65,&yymsp[-4].minor);
- yy_destructor(yypParser,66,&yymsp[-2].minor);
- yy_destructor(yypParser,67,&yymsp[0].minor);
- yymsp[-5].minor.yy9 = yylhsminor.yy9;
+#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;
break;
case 122: /* let_func ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT LPAREN impl_var RPAREN */
-#line 811 "src/parser_proc.y"
+#line 814 "src/parser_proc.y"
{
- yylhsminor.yy27 = psi_let_func_init(yymsp[-3].minor.yy0->type, yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy37);
- yylhsminor.yy27->token = yymsp[-3].minor.yy0;
+ 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;
}
-#line 2994 "src/parser_proc.c"
- yy_destructor(yypParser,65,&yymsp[-2].minor);
- yy_destructor(yypParser,67,&yymsp[0].minor);
- yymsp[-3].minor.yy27 = yylhsminor.yy27;
+#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;
break;
case 123: /* let_func ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT LPAREN impl_var COMMA let_exps RPAREN */
-#line 815 "src/parser_proc.y"
+#line 818 "src/parser_proc.y"
{
- yylhsminor.yy27 = psi_let_func_init(yymsp[-5].minor.yy0->type, yymsp[-5].minor.yy0->text, yymsp[-3].minor.yy37);
- yylhsminor.yy27->token = yymsp[-5].minor.yy0;
- yylhsminor.yy27->inner = yymsp[-1].minor.yy163;
+ 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;
}
-#line 3006 "src/parser_proc.c"
- yy_destructor(yypParser,65,&yymsp[-4].minor);
- yy_destructor(yypParser,66,&yymsp[-2].minor);
- yy_destructor(yypParser,67,&yymsp[0].minor);
- yymsp[-5].minor.yy27 = yylhsminor.yy27;
+#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;
break;
case 124: /* let_exps ::= let_exp */
-#line 820 "src/parser_proc.y"
+#line 823 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_let_exp_free),
- &yymsp[0].minor.yy20);
+ yylhsminor.yy303 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_let_exp_free),
+ &yymsp[0].minor.yy144);
}
-#line 3018 "src/parser_proc.c"
- yymsp[0].minor.yy163 = yylhsminor.yy163;
+#line 3050 "src/parser_proc.c"
+ yymsp[0].minor.yy303 = yylhsminor.yy303;
break;
case 125: /* let_exps ::= let_exps COMMA let_exp */
-#line 824 "src/parser_proc.y"
+#line 827 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(yymsp[-2].minor.yy163, &yymsp[0].minor.yy20);
+ yylhsminor.yy303 = psi_plist_add(yymsp[-2].minor.yy303, &yymsp[0].minor.yy144);
}
-#line 3026 "src/parser_proc.c"
- yy_destructor(yypParser,66,&yymsp[-1].minor);
- yymsp[-2].minor.yy163 = yylhsminor.yy163;
+#line 3058 "src/parser_proc.c"
+ yy_destructor(yypParser,74,&yymsp[-1].minor);
+ yymsp[-2].minor.yy303 = yylhsminor.yy303;
break;
case 126: /* callback_arg_list ::= */
-#line 827 "src/parser_proc.y"
+#line 830 "src/parser_proc.y"
{
- yymsp[1].minor.yy43 = NULL;
+ yymsp[1].minor.yy287 = NULL;
}
-#line 3035 "src/parser_proc.c"
+#line 3067 "src/parser_proc.c"
break;
case 127: /* callback_arg_list ::= callback_args */
-#line 830 "src/parser_proc.y"
+#line 833 "src/parser_proc.y"
{
- yylhsminor.yy43 = yymsp[0].minor.yy43;
+ yylhsminor.yy287 = yymsp[0].minor.yy287;
}
-#line 3042 "src/parser_proc.c"
- yymsp[0].minor.yy43 = yylhsminor.yy43;
+#line 3074 "src/parser_proc.c"
+ yymsp[0].minor.yy287 = yylhsminor.yy287;
break;
case 128: /* callback_args ::= set_exp */
-#line 833 "src/parser_proc.y"
+#line 836 "src/parser_proc.y"
{
- yylhsminor.yy43 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_set_exp_free),
- &yymsp[0].minor.yy147);
+ yylhsminor.yy287 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_set_exp_free),
+ &yymsp[0].minor.yy67);
}
-#line 3051 "src/parser_proc.c"
- yymsp[0].minor.yy43 = yylhsminor.yy43;
+#line 3083 "src/parser_proc.c"
+ yymsp[0].minor.yy287 = yylhsminor.yy287;
break;
case 129: /* callback_args ::= callback_args COMMA set_exp */
-#line 837 "src/parser_proc.y"
+#line 840 "src/parser_proc.y"
{
- yylhsminor.yy43 = psi_plist_add(yymsp[-2].minor.yy43, &yymsp[0].minor.yy147);
+ yylhsminor.yy287 = psi_plist_add(yymsp[-2].minor.yy287, &yymsp[0].minor.yy67);
}
-#line 3059 "src/parser_proc.c"
- yy_destructor(yypParser,66,&yymsp[-1].minor);
- yymsp[-2].minor.yy43 = yylhsminor.yy43;
+#line 3091 "src/parser_proc.c"
+ yy_destructor(yypParser,74,&yymsp[-1].minor);
+ yymsp[-2].minor.yy287 = yylhsminor.yy287;
break;
case 132: /* set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var RPAREN */
-#line 846 "src/parser_proc.y"
+#line 849 "src/parser_proc.y"
{
- yylhsminor.yy26 = psi_set_func_init(yymsp[-3].minor.yy0->type, yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy11);
- yylhsminor.yy26->token = yymsp[-3].minor.yy0;
+ 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;
}
-#line 3069 "src/parser_proc.c"
- yy_destructor(yypParser,65,&yymsp[-2].minor);
- yy_destructor(yypParser,67,&yymsp[0].minor);
- yymsp[-3].minor.yy26 = yylhsminor.yy26;
+#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;
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 850 "src/parser_proc.y"
+#line 853 "src/parser_proc.y"
{
- yylhsminor.yy26 = psi_set_func_init(yymsp[-5].minor.yy0->type, yymsp[-5].minor.yy0->text, yymsp[-3].minor.yy11);
- yylhsminor.yy26->token = yymsp[-5].minor.yy0;
- yylhsminor.yy26->inner = yymsp[-1].minor.yy163;
+ 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;
}
-#line 3081 "src/parser_proc.c"
- yy_destructor(yypParser,65,&yymsp[-4].minor);
- yy_destructor(yypParser,66,&yymsp[-2].minor);
- yy_destructor(yypParser,67,&yymsp[0].minor);
- yymsp[-5].minor.yy26 = yylhsminor.yy26;
+#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;
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 855 "src/parser_proc.y"
+#line 858 "src/parser_proc.y"
{
- yylhsminor.yy26 = psi_set_func_init(yymsp[-5].minor.yy0->type, yymsp[-5].minor.yy0->text, yymsp[-3].minor.yy11);
- yylhsminor.yy26->token = yymsp[-5].minor.yy0;
- yylhsminor.yy26->recursive = 1;
+ 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;
}
-#line 3094 "src/parser_proc.c"
- yy_destructor(yypParser,65,&yymsp[-4].minor);
- yy_destructor(yypParser,66,&yymsp[-2].minor);
- yy_destructor(yypParser,76,&yymsp[-1].minor);
- yy_destructor(yypParser,67,&yymsp[0].minor);
- yymsp[-5].minor.yy26 = yylhsminor.yy26;
+#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;
break;
case 135: /* set_exp ::= set_func */
-#line 860 "src/parser_proc.y"
+#line 863 "src/parser_proc.y"
{
- yylhsminor.yy147 = psi_set_exp_init(PSI_SET_FUNC, yymsp[0].minor.yy26);
+ yylhsminor.yy67 = psi_set_exp_init(PSI_SET_FUNC, yymsp[0].minor.yy78);
}
-#line 3106 "src/parser_proc.c"
- yymsp[0].minor.yy147 = yylhsminor.yy147;
+#line 3138 "src/parser_proc.c"
+ yymsp[0].minor.yy67 = yylhsminor.yy67;
break;
case 136: /* set_exp ::= num_exp */
-#line 863 "src/parser_proc.y"
+#line 866 "src/parser_proc.y"
{
- yylhsminor.yy147 = psi_set_exp_init(PSI_SET_NUMEXP, yymsp[0].minor.yy259);
+ yylhsminor.yy67 = psi_set_exp_init(PSI_SET_NUMEXP, yymsp[0].minor.yy39);
}
-#line 3114 "src/parser_proc.c"
- yymsp[0].minor.yy147 = yylhsminor.yy147;
+#line 3146 "src/parser_proc.c"
+ yymsp[0].minor.yy67 = yylhsminor.yy67;
break;
case 137: /* set_exps ::= set_exp */
-#line 866 "src/parser_proc.y"
+#line 869 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_set_exp_free),
- &yymsp[0].minor.yy147);
+ yylhsminor.yy303 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_set_exp_free),
+ &yymsp[0].minor.yy67);
}
-#line 3123 "src/parser_proc.c"
- yymsp[0].minor.yy163 = yylhsminor.yy163;
+#line 3155 "src/parser_proc.c"
+ yymsp[0].minor.yy303 = yylhsminor.yy303;
break;
case 138: /* set_exps ::= set_exps COMMA set_exp */
-#line 870 "src/parser_proc.y"
+#line 873 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(yymsp[-2].minor.yy163, &yymsp[0].minor.yy147);
+ yylhsminor.yy303 = psi_plist_add(yymsp[-2].minor.yy303, &yymsp[0].minor.yy67);
}
-#line 3131 "src/parser_proc.c"
- yy_destructor(yypParser,66,&yymsp[-1].minor);
- yymsp[-2].minor.yy163 = yylhsminor.yy163;
+#line 3163 "src/parser_proc.c"
+ yy_destructor(yypParser,74,&yymsp[-1].minor);
+ yymsp[-2].minor.yy303 = yylhsminor.yy303;
break;
case 139: /* set_exp ::= impl_var EQUALS set_exp */
-#line 873 "src/parser_proc.y"
+#line 876 "src/parser_proc.y"
{
- yylhsminor.yy147 = yymsp[0].minor.yy147;
- yylhsminor.yy147->var = yymsp[-2].minor.yy37;
+ yylhsminor.yy67 = yymsp[0].minor.yy67;
+ yylhsminor.yy67->var = yymsp[-2].minor.yy185;
}
-#line 3141 "src/parser_proc.c"
- yy_destructor(yypParser,73,&yymsp[-1].minor);
- yymsp[-2].minor.yy147 = yylhsminor.yy147;
+#line 3173 "src/parser_proc.c"
+ yy_destructor(yypParser,81,&yymsp[-1].minor);
+ yymsp[-2].minor.yy67 = yylhsminor.yy67;
break;
case 140: /* set_stmt ::= SET set_exp EOS */
-#line 877 "src/parser_proc.y"
+#line 880 "src/parser_proc.y"
{
- yylhsminor.yy98 = psi_set_stmt_init(yymsp[-1].minor.yy147);
- yylhsminor.yy98->token = yymsp[-2].minor.yy0;
+ yylhsminor.yy226 = psi_set_stmt_init(yymsp[-1].minor.yy67);
+ yylhsminor.yy226->token = yymsp[-2].minor.yy0;
}
-#line 3151 "src/parser_proc.c"
- yy_destructor(yypParser,63,&yymsp[0].minor);
- yymsp[-2].minor.yy98 = yylhsminor.yy98;
+#line 3183 "src/parser_proc.c"
+ yy_destructor(yypParser,71,&yymsp[0].minor);
+ yymsp[-2].minor.yy226 = yylhsminor.yy226;
break;
case 141: /* return_stmt ::= RETURN set_func EOS */
-#line 881 "src/parser_proc.y"
+#line 884 "src/parser_proc.y"
{
- yylhsminor.yy90 = psi_return_stmt_init(psi_set_exp_init(PSI_SET_FUNC, yymsp[-1].minor.yy26));
- yylhsminor.yy90->token = yymsp[-2].minor.yy0;
+ yylhsminor.yy130 = psi_return_stmt_init(psi_set_exp_init(PSI_SET_FUNC, yymsp[-1].minor.yy78));
+ yylhsminor.yy130->token = yymsp[-2].minor.yy0;
}
-#line 3161 "src/parser_proc.c"
- yy_destructor(yypParser,63,&yymsp[0].minor);
- yymsp[-2].minor.yy90 = yylhsminor.yy90;
+#line 3193 "src/parser_proc.c"
+ yy_destructor(yypParser,71,&yymsp[0].minor);
+ yymsp[-2].minor.yy130 = yylhsminor.yy130;
break;
case 142: /* free_stmt ::= FREE free_exps EOS */
-#line 885 "src/parser_proc.y"
+#line 888 "src/parser_proc.y"
{
- yylhsminor.yy192 = psi_free_stmt_init(yymsp[-1].minor.yy163);
- yylhsminor.yy192->token = yymsp[-2].minor.yy0;
+ yylhsminor.yy76 = psi_free_stmt_init(yymsp[-1].minor.yy303);
+ yylhsminor.yy76->token = yymsp[-2].minor.yy0;
}
-#line 3171 "src/parser_proc.c"
- yy_destructor(yypParser,63,&yymsp[0].minor);
- yymsp[-2].minor.yy192 = yylhsminor.yy192;
+#line 3203 "src/parser_proc.c"
+ yy_destructor(yypParser,71,&yymsp[0].minor);
+ yymsp[-2].minor.yy76 = yylhsminor.yy76;
break;
case 143: /* free_exps ::= free_exp */
-#line 889 "src/parser_proc.y"
+#line 892 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_free_exp_free),
- &yymsp[0].minor.yy94);
+ yylhsminor.yy303 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_free_exp_free),
+ &yymsp[0].minor.yy197);
}
-#line 3181 "src/parser_proc.c"
- yymsp[0].minor.yy163 = yylhsminor.yy163;
+#line 3213 "src/parser_proc.c"
+ yymsp[0].minor.yy303 = yylhsminor.yy303;
break;
case 144: /* free_exps ::= free_exps COMMA free_exp */
-#line 893 "src/parser_proc.y"
+#line 896 "src/parser_proc.y"
{
- yylhsminor.yy163 = psi_plist_add(yymsp[-2].minor.yy163, &yymsp[0].minor.yy94);
+ yylhsminor.yy303 = psi_plist_add(yymsp[-2].minor.yy303, &yymsp[0].minor.yy197);
}
-#line 3189 "src/parser_proc.c"
- yy_destructor(yypParser,66,&yymsp[-1].minor);
- yymsp[-2].minor.yy163 = yylhsminor.yy163;
+#line 3221 "src/parser_proc.c"
+ yy_destructor(yypParser,74,&yymsp[-1].minor);
+ yymsp[-2].minor.yy303 = yylhsminor.yy303;
break;
case 145: /* free_exp ::= NAME LPAREN decl_vars RPAREN */
-#line 896 "src/parser_proc.y"
+#line 899 "src/parser_proc.y"
{
- yylhsminor.yy94 = psi_free_exp_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy163);
- yylhsminor.yy94->token = yymsp[-3].minor.yy0;
+ yylhsminor.yy197 = psi_free_exp_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy303);
+ yylhsminor.yy197->token = yymsp[-3].minor.yy0;
}
-#line 3199 "src/parser_proc.c"
- yy_destructor(yypParser,65,&yymsp[-2].minor);
- yy_destructor(yypParser,67,&yymsp[0].minor);
- yymsp[-3].minor.yy94 = yylhsminor.yy94;
+#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;
break;
case 146: /* reference ::= */
-#line 900 "src/parser_proc.y"
+#line 903 "src/parser_proc.y"
{
- yymsp[1].minor.yy121 = false;
+ yymsp[1].minor.yy273 = false;
}
-#line 3209 "src/parser_proc.c"
+#line 3241 "src/parser_proc.c"
break;
case 147: /* reference ::= AMPERSAND */
{ yy_destructor(yypParser,23,&yymsp[0].minor);
-#line 903 "src/parser_proc.y"
+#line 906 "src/parser_proc.y"
{
- yymsp[0].minor.yy121 = true;
+ yymsp[0].minor.yy273 = true;
}
-#line 3217 "src/parser_proc.c"
+#line 3249 "src/parser_proc.c"
}
break;
case 148: /* indirection ::= */
-#line 906 "src/parser_proc.y"
+#line 909 "src/parser_proc.y"
{
- yymsp[1].minor.yy202 = 0;
+ yymsp[1].minor.yy190 = 0;
}
-#line 3225 "src/parser_proc.c"
+#line 3257 "src/parser_proc.c"
break;
case 149: /* indirection ::= pointers */
-#line 909 "src/parser_proc.y"
+#line 912 "src/parser_proc.y"
{
- yylhsminor.yy202 = yymsp[0].minor.yy202;
+ yylhsminor.yy190 = yymsp[0].minor.yy190;
}
-#line 3232 "src/parser_proc.c"
- yymsp[0].minor.yy202 = yylhsminor.yy202;
+#line 3264 "src/parser_proc.c"
+ yymsp[0].minor.yy190 = yylhsminor.yy190;
break;
case 150: /* pointers ::= ASTERISK */
{ yy_destructor(yypParser,28,&yymsp[0].minor);
-#line 912 "src/parser_proc.y"
+#line 915 "src/parser_proc.y"
{
- yymsp[0].minor.yy202 = 1;
+ yymsp[0].minor.yy190 = 1;
}
-#line 3241 "src/parser_proc.c"
+#line 3273 "src/parser_proc.c"
}
break;
case 151: /* pointers ::= pointers ASTERISK */
-#line 915 "src/parser_proc.y"
+#line 918 "src/parser_proc.y"
{
- yylhsminor.yy202 = yymsp[-1].minor.yy202+1;
+ yylhsminor.yy190 = yymsp[-1].minor.yy190+1;
}
-#line 3249 "src/parser_proc.c"
+#line 3281 "src/parser_proc.c"
yy_destructor(yypParser,28,&yymsp[0].minor);
- yymsp[-1].minor.yy202 = yylhsminor.yy202;
+ yymsp[-1].minor.yy190 = yylhsminor.yy190;
break;
case 152: /* file ::= blocks */
-{ yy_destructor(yypParser,146,&yymsp[0].minor);
-#line 169 "src/parser_proc.y"
+{ yy_destructor(yypParser,154,&yymsp[0].minor);
+#line 172 "src/parser_proc.y"
{
}
-#line 3258 "src/parser_proc.c"
+#line 3290 "src/parser_proc.c"
}
break;
case 153: /* blocks ::= block */
-{ yy_destructor(yypParser,147,&yymsp[0].minor);
-#line 170 "src/parser_proc.y"
+{ yy_destructor(yypParser,155,&yymsp[0].minor);
+#line 173 "src/parser_proc.y"
{
}
-#line 3266 "src/parser_proc.c"
+#line 3298 "src/parser_proc.c"
}
break;
case 154: /* blocks ::= blocks block */
-{ yy_destructor(yypParser,146,&yymsp[-1].minor);
-#line 171 "src/parser_proc.y"
+{ yy_destructor(yypParser,154,&yymsp[-1].minor);
+#line 174 "src/parser_proc.y"
{
}
-#line 3274 "src/parser_proc.c"
- yy_destructor(yypParser,147,&yymsp[0].minor);
+#line 3306 "src/parser_proc.c"
+ yy_destructor(yypParser,155,&yymsp[0].minor);
}
break;
case 155: /* block ::= EOF */
-{ yy_destructor(yypParser,62,&yymsp[0].minor);
-#line 172 "src/parser_proc.y"
+{ yy_destructor(yypParser,70,&yymsp[0].minor);
+#line 175 "src/parser_proc.y"
{
}
-#line 3283 "src/parser_proc.c"
+#line 3315 "src/parser_proc.c"
}
break;
case 156: /* block ::= EOS */
-{ yy_destructor(yypParser,63,&yymsp[0].minor);
-#line 173 "src/parser_proc.y"
+{ yy_destructor(yypParser,71,&yymsp[0].minor);
+#line 176 "src/parser_proc.y"
{
}
-#line 3291 "src/parser_proc.c"
+#line 3323 "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 3353 "src/parser_proc.c"
+#line 3385 "src/parser_proc.c"
/************ End %syntax_error code ******************************************/
ParseARG_STORE; /* Suppress warning about unused %extra_argument variable */
}