diff --git a/src/core/chuck.y b/src/core/chuck.y index bbaf9066f..92fdf64ce 100644 --- a/src/core/chuck.y +++ b/src/core/chuck.y @@ -274,6 +274,10 @@ function_definition { $$ = new_op_overload( $1, $2, $3, $5, $7, $9, TRUE, FALSE, @1.first_line, @1.first_column, @5.first_column ); } | function_decl static_decl type_decl2 AT_OP LPAREN arg_list RPAREN overloadable_operator code_segment { $$ = new_op_overload( $1, $2, $3, $8, $6, $9, TRUE, TRUE, @1.first_line, @1.first_column, @8.first_column ); } + | function_decl static_decl type_decl2 AT_OP LPAREN overloadable_operator RPAREN LPAREN arg_list RPAREN code_segment + { $$ = new_op_overload( $1, $2, $3, $6, $9, $11, TRUE, FALSE, @1.first_line, @1.first_column, @5.first_column ); } + | function_decl static_decl type_decl2 AT_OP LPAREN arg_list RPAREN LPAREN overloadable_operator RPAREN code_segment + { $$ = new_op_overload( $1, $2, $3, $9, $6, $11, TRUE, TRUE, @1.first_line, @1.first_column, @8.first_column ); } ; class_decl diff --git a/src/core/chuck_yacc.c b/src/core/chuck_yacc.c index cc79415cf..6a7ef5b8d 100644 --- a/src/core/chuck_yacc.c +++ b/src/core/chuck_yacc.c @@ -649,16 +649,16 @@ union yyalloc /* YYFINAL -- State number of the termination state. */ #define YYFINAL 122 /* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 1584 +#define YYLAST 1757 /* YYNTOKENS -- Number of terminals. */ #define YYNTOKENS 117 /* YYNNTS -- Number of nonterminals. */ #define YYNNTS 59 /* YYNRULES -- Number of rules. */ -#define YYNRULES 239 +#define YYNRULES 241 /* YYNRULES -- Number of states. */ -#define YYNSTATES 388 +#define YYNSTATES 399 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 @@ -718,27 +718,28 @@ static const yytype_uint16 yyprhs[] = 0, 0, 3, 5, 8, 10, 12, 14, 21, 29, 36, 44, 47, 52, 55, 60, 62, 63, 65, 68, 70, 72, 74, 77, 79, 83, 85, 89, 98, 106, - 115, 123, 133, 143, 145, 147, 148, 150, 152, 154, - 156, 158, 160, 161, 163, 166, 170, 175, 177, 179, - 181, 184, 187, 192, 194, 197, 199, 201, 203, 205, - 207, 210, 214, 217, 220, 226, 234, 240, 248, 255, - 263, 271, 277, 285, 291, 294, 298, 300, 303, 305, - 309, 311, 315, 317, 321, 325, 330, 335, 341, 344, - 348, 350, 353, 357, 361, 365, 368, 372, 374, 378, - 380, 383, 386, 390, 394, 398, 400, 402, 404, 406, - 408, 410, 412, 414, 416, 418, 420, 422, 424, 426, - 428, 430, 432, 434, 436, 438, 440, 446, 448, 452, - 454, 458, 460, 464, 466, 470, 472, 476, 478, 482, - 486, 488, 492, 496, 500, 504, 506, 510, 514, 516, - 520, 524, 526, 530, 534, 538, 540, 544, 546, 550, - 552, 555, 558, 561, 564, 567, 570, 574, 576, 578, - 580, 582, 584, 587, 589, 591, 593, 595, 597, 599, - 601, 603, 605, 607, 609, 611, 613, 615, 617, 619, + 115, 123, 133, 143, 155, 167, 169, 171, 172, 174, + 176, 178, 180, 182, 184, 185, 187, 190, 194, 199, + 201, 203, 205, 208, 211, 216, 218, 221, 223, 225, + 227, 229, 231, 234, 238, 241, 244, 250, 258, 264, + 272, 279, 287, 295, 301, 309, 315, 318, 322, 324, + 327, 329, 333, 335, 339, 341, 345, 349, 354, 359, + 365, 368, 372, 374, 377, 381, 385, 389, 392, 396, + 398, 402, 404, 407, 410, 414, 418, 422, 424, 426, + 428, 430, 432, 434, 436, 438, 440, 442, 444, 446, + 448, 450, 452, 454, 456, 458, 460, 462, 464, 470, + 472, 476, 478, 482, 484, 488, 490, 494, 496, 500, + 502, 506, 510, 512, 516, 520, 524, 528, 530, 534, + 538, 540, 544, 548, 550, 554, 558, 562, 564, 568, + 570, 574, 576, 579, 582, 585, 588, 591, 594, 598, + 600, 602, 604, 606, 608, 611, 613, 615, 617, 619, 621, 623, 625, 627, 629, 631, 633, 635, 637, 639, 641, 643, 645, 647, 649, 651, 653, 655, 657, 659, 661, 663, 665, 667, 669, 671, 673, 675, 677, 679, - 681, 685, 687, 690, 694, 699, 703, 706, 709, 711, - 713, 715, 717, 719, 721, 723, 725, 727, 731, 735 + 681, 683, 685, 687, 689, 691, 693, 695, 697, 699, + 701, 703, 705, 709, 711, 714, 718, 723, 727, 730, + 733, 735, 737, 739, 741, 743, 745, 747, 749, 751, + 755, 759 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ @@ -758,66 +759,69 @@ static const yytype_int16 yyrhs[] = 12, 136, 13, 11, -1, 130, 131, 135, 3, 12, 13, 11, -1, 130, 131, 135, 116, 172, 12, 136, 13, 142, -1, 130, 131, 135, 116, 12, 136, 13, - 172, 142, -1, 101, -1, 103, -1, -1, 43, -1, - 101, -1, 102, -1, 103, -1, 104, -1, 105, -1, - -1, 3, -1, 3, 71, -1, 26, 127, 28, -1, - 26, 127, 28, 71, -1, 132, -1, 133, -1, 134, - -1, 134, 148, -1, 134, 151, -1, 134, 151, 9, - 136, -1, 138, -1, 137, 138, -1, 143, -1, 141, - -1, 140, -1, 139, -1, 142, -1, 44, 11, -1, - 44, 144, 11, -1, 40, 11, -1, 41, 11, -1, - 33, 12, 144, 13, 138, -1, 33, 12, 144, 13, - 138, 35, 138, -1, 36, 12, 144, 13, 138, -1, - 38, 138, 36, 12, 144, 13, 11, -1, 37, 12, - 143, 143, 13, 138, -1, 37, 12, 143, 143, 144, - 13, 138, -1, 37, 12, 144, 10, 144, 13, 138, - -1, 64, 12, 144, 13, 138, -1, 38, 138, 64, - 12, 144, 13, 11, -1, 39, 12, 144, 13, 138, - -1, 16, 17, -1, 16, 137, 17, -1, 11, -1, - 144, 11, -1, 145, -1, 144, 9, 145, -1, 146, - -1, 145, 155, 146, -1, 149, -1, 146, 156, 149, - -1, 14, 144, 15, -1, 14, 144, 9, 15, -1, - 14, 144, 15, 147, -1, 14, 144, 9, 15, 147, - -1, 14, 15, -1, 148, 14, 15, -1, 157, -1, - 134, 150, -1, 65, 134, 150, -1, 66, 134, 150, - -1, 104, 134, 150, -1, 76, 150, -1, 104, 76, - 150, -1, 151, -1, 151, 9, 150, -1, 3, -1, - 3, 147, -1, 3, 148, -1, 53, 144, 13, -1, - 54, 144, 13, -1, 55, 144, 13, -1, 90, -1, - 93, -1, 77, -1, 78, -1, 79, -1, 80, -1, - 84, -1, 85, -1, 86, -1, 95, -1, 96, -1, - 81, -1, 82, -1, 83, -1, 109, -1, 108, -1, - 113, -1, 112, -1, 115, -1, 114, -1, 158, -1, - 158, 45, 144, 10, 157, -1, 159, -1, 158, 31, - 159, -1, 160, -1, 159, 30, 160, -1, 161, -1, - 160, 47, 161, -1, 162, -1, 161, 49, 162, -1, - 163, -1, 162, 48, 163, -1, 164, -1, 163, 24, - 164, -1, 163, 25, 164, -1, 165, -1, 164, 26, - 165, -1, 164, 28, 165, -1, 164, 27, 165, -1, - 164, 29, 165, -1, 166, -1, 165, 88, 166, -1, - 165, 87, 166, -1, 167, -1, 166, 19, 167, -1, - 166, 20, 167, -1, 168, -1, 167, 21, 168, -1, - 167, 22, 168, -1, 167, 23, 168, -1, 169, -1, - 168, 89, 169, -1, 170, -1, 169, 52, 134, -1, - 173, -1, 50, 170, -1, 51, 170, -1, 171, 170, - -1, 75, 170, -1, 74, 170, -1, 73, 134, -1, - 73, 134, 147, -1, 19, -1, 20, -1, 89, -1, - 46, -1, 21, -1, 107, 89, -1, 90, -1, 19, - -1, 20, -1, 21, -1, 22, -1, 23, -1, 24, - -1, 25, -1, 26, -1, 27, -1, 28, -1, 29, - -1, 30, -1, 31, -1, 32, -1, 46, -1, 47, - -1, 48, -1, 49, -1, 50, -1, 51, -1, 52, - -1, 72, -1, 77, -1, 78, -1, 79, -1, 80, - -1, 81, -1, 82, -1, 83, -1, 84, -1, 85, - -1, 86, -1, 87, -1, 88, -1, 89, -1, 91, - -1, 93, -1, 95, -1, 96, -1, 108, -1, 109, - -1, 112, -1, 113, -1, 114, -1, 115, -1, 174, - -1, 173, 91, 174, -1, 175, -1, 174, 147, -1, - 174, 12, 13, -1, 174, 12, 144, 13, -1, 174, - 18, 3, -1, 174, 50, -1, 174, 51, -1, 3, - -1, 6, -1, 7, -1, 4, -1, 5, -1, 147, - -1, 152, -1, 153, -1, 154, -1, 110, 144, 111, - -1, 12, 144, 13, -1, 12, 13, -1 + 172, 142, -1, 130, 131, 135, 116, 12, 172, 13, + 12, 136, 13, 142, -1, 130, 131, 135, 116, 12, + 136, 13, 12, 172, 13, 142, -1, 101, -1, 103, + -1, -1, 43, -1, 101, -1, 102, -1, 103, -1, + 104, -1, 105, -1, -1, 3, -1, 3, 71, -1, + 26, 127, 28, -1, 26, 127, 28, 71, -1, 132, + -1, 133, -1, 134, -1, 134, 148, -1, 134, 151, + -1, 134, 151, 9, 136, -1, 138, -1, 137, 138, + -1, 143, -1, 141, -1, 140, -1, 139, -1, 142, + -1, 44, 11, -1, 44, 144, 11, -1, 40, 11, + -1, 41, 11, -1, 33, 12, 144, 13, 138, -1, + 33, 12, 144, 13, 138, 35, 138, -1, 36, 12, + 144, 13, 138, -1, 38, 138, 36, 12, 144, 13, + 11, -1, 37, 12, 143, 143, 13, 138, -1, 37, + 12, 143, 143, 144, 13, 138, -1, 37, 12, 144, + 10, 144, 13, 138, -1, 64, 12, 144, 13, 138, + -1, 38, 138, 64, 12, 144, 13, 11, -1, 39, + 12, 144, 13, 138, -1, 16, 17, -1, 16, 137, + 17, -1, 11, -1, 144, 11, -1, 145, -1, 144, + 9, 145, -1, 146, -1, 145, 155, 146, -1, 149, + -1, 146, 156, 149, -1, 14, 144, 15, -1, 14, + 144, 9, 15, -1, 14, 144, 15, 147, -1, 14, + 144, 9, 15, 147, -1, 14, 15, -1, 148, 14, + 15, -1, 157, -1, 134, 150, -1, 65, 134, 150, + -1, 66, 134, 150, -1, 104, 134, 150, -1, 76, + 150, -1, 104, 76, 150, -1, 151, -1, 151, 9, + 150, -1, 3, -1, 3, 147, -1, 3, 148, -1, + 53, 144, 13, -1, 54, 144, 13, -1, 55, 144, + 13, -1, 90, -1, 93, -1, 77, -1, 78, -1, + 79, -1, 80, -1, 84, -1, 85, -1, 86, -1, + 95, -1, 96, -1, 81, -1, 82, -1, 83, -1, + 109, -1, 108, -1, 113, -1, 112, -1, 115, -1, + 114, -1, 158, -1, 158, 45, 144, 10, 157, -1, + 159, -1, 158, 31, 159, -1, 160, -1, 159, 30, + 160, -1, 161, -1, 160, 47, 161, -1, 162, -1, + 161, 49, 162, -1, 163, -1, 162, 48, 163, -1, + 164, -1, 163, 24, 164, -1, 163, 25, 164, -1, + 165, -1, 164, 26, 165, -1, 164, 28, 165, -1, + 164, 27, 165, -1, 164, 29, 165, -1, 166, -1, + 165, 88, 166, -1, 165, 87, 166, -1, 167, -1, + 166, 19, 167, -1, 166, 20, 167, -1, 168, -1, + 167, 21, 168, -1, 167, 22, 168, -1, 167, 23, + 168, -1, 169, -1, 168, 89, 169, -1, 170, -1, + 169, 52, 134, -1, 173, -1, 50, 170, -1, 51, + 170, -1, 171, 170, -1, 75, 170, -1, 74, 170, + -1, 73, 134, -1, 73, 134, 147, -1, 19, -1, + 20, -1, 89, -1, 46, -1, 21, -1, 107, 89, + -1, 90, -1, 19, -1, 20, -1, 21, -1, 22, + -1, 23, -1, 24, -1, 25, -1, 26, -1, 27, + -1, 28, -1, 29, -1, 30, -1, 31, -1, 32, + -1, 46, -1, 47, -1, 48, -1, 49, -1, 50, + -1, 51, -1, 52, -1, 72, -1, 77, -1, 78, + -1, 79, -1, 80, -1, 81, -1, 82, -1, 83, + -1, 84, -1, 85, -1, 86, -1, 87, -1, 88, + -1, 89, -1, 91, -1, 93, -1, 95, -1, 96, + -1, 108, -1, 109, -1, 112, -1, 113, -1, 114, + -1, 115, -1, 174, -1, 173, 91, 174, -1, 175, + -1, 174, 147, -1, 174, 12, 13, -1, 174, 12, + 144, 13, -1, 174, 18, 3, -1, 174, 50, -1, + 174, 51, -1, 3, -1, 6, -1, 7, -1, 4, + -1, 5, -1, 147, -1, 152, -1, 153, -1, 154, + -1, 110, 144, 111, -1, 12, 144, 13, -1, 12, + 13, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ @@ -826,27 +830,28 @@ static const yytype_uint16 yyrline[] = 0, 205, 205, 206, 210, 211, 212, 216, 218, 220, 222, 227, 228, 229, 230, 234, 235, 239, 240, 245, 246, 247, 251, 255, 256, 260, 261, 265, 267, 269, - 271, 273, 275, 280, 281, 282, 286, 287, 288, 289, - 293, 294, 295, 299, 300, 304, 305, 314, 315, 320, - 321, 325, 326, 330, 331, 335, 336, 337, 338, 340, - 344, 345, 346, 347, 351, 353, 358, 360, 362, 364, - 366, 368, 370, 372, 377, 378, 382, 383, 387, 388, - 392, 393, 398, 399, 404, 405, 406, 408, 413, 414, - 418, 419, 420, 421, 422, 423, 424, 428, 429, 433, - 434, 435, 439, 444, 449, 454, 455, 456, 457, 458, - 459, 460, 461, 462, 463, 464, 465, 466, 467, 471, - 472, 473, 474, 475, 476, 480, 481, 486, 487, 492, - 493, 498, 499, 504, 505, 510, 511, 516, 517, 519, - 524, 525, 527, 529, 531, 536, 537, 539, 544, 545, - 547, 552, 553, 555, 557, 562, 563, 568, 569, 574, - 575, 577, 579, 581, 583, 585, 587, 594, 595, 596, - 597, 598, 599, 605, 606, 607, 608, 609, 610, 611, - 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, - 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, - 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, - 642, 643, 644, 645, 646, 647, 648, 649, 650, 654, - 655, 660, 661, 663, 665, 667, 669, 671, 677, 678, - 679, 680, 681, 682, 683, 684, 685, 686, 687, 688 + 271, 273, 275, 277, 279, 284, 285, 286, 290, 291, + 292, 293, 297, 298, 299, 303, 304, 308, 309, 318, + 319, 324, 325, 329, 330, 334, 335, 339, 340, 341, + 342, 344, 348, 349, 350, 351, 355, 357, 362, 364, + 366, 368, 370, 372, 374, 376, 381, 382, 386, 387, + 391, 392, 396, 397, 402, 403, 408, 409, 410, 412, + 417, 418, 422, 423, 424, 425, 426, 427, 428, 432, + 433, 437, 438, 439, 443, 448, 453, 458, 459, 460, + 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, + 471, 475, 476, 477, 478, 479, 480, 484, 485, 490, + 491, 496, 497, 502, 503, 508, 509, 514, 515, 520, + 521, 523, 528, 529, 531, 533, 535, 540, 541, 543, + 548, 549, 551, 556, 557, 559, 561, 566, 567, 572, + 573, 578, 579, 581, 583, 585, 587, 589, 591, 598, + 599, 600, 601, 602, 603, 609, 610, 611, 612, 613, + 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, + 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, + 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, + 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, + 654, 658, 659, 664, 665, 667, 669, 671, 673, 675, + 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, + 691, 692 }; #endif @@ -920,27 +925,28 @@ static const yytype_uint8 yyr1[] = 0, 117, 118, 118, 119, 119, 119, 120, 120, 120, 120, 121, 121, 121, 121, 122, 122, 123, 123, 124, 124, 124, 125, 126, 126, 127, 127, 128, 128, 128, - 128, 128, 128, 129, 129, 129, 130, 130, 130, 130, - 131, 131, 131, 132, 132, 133, 133, 134, 134, 135, - 135, 136, 136, 137, 137, 138, 138, 138, 138, 138, - 139, 139, 139, 139, 140, 140, 141, 141, 141, 141, - 141, 141, 141, 141, 142, 142, 143, 143, 144, 144, - 145, 145, 146, 146, 147, 147, 147, 147, 148, 148, - 149, 149, 149, 149, 149, 149, 149, 150, 150, 151, - 151, 151, 152, 153, 154, 155, 155, 155, 155, 155, - 155, 155, 155, 155, 155, 155, 155, 155, 155, 156, - 156, 156, 156, 156, 156, 157, 157, 158, 158, 159, - 159, 160, 160, 161, 161, 162, 162, 163, 163, 163, - 164, 164, 164, 164, 164, 165, 165, 165, 166, 166, - 166, 167, 167, 167, 167, 168, 168, 169, 169, 170, - 170, 170, 170, 170, 170, 170, 170, 171, 171, 171, - 171, 171, 171, 172, 172, 172, 172, 172, 172, 172, + 128, 128, 128, 128, 128, 129, 129, 129, 130, 130, + 130, 130, 131, 131, 131, 132, 132, 133, 133, 134, + 134, 135, 135, 136, 136, 137, 137, 138, 138, 138, + 138, 138, 139, 139, 139, 139, 140, 140, 141, 141, + 141, 141, 141, 141, 141, 141, 142, 142, 143, 143, + 144, 144, 145, 145, 146, 146, 147, 147, 147, 147, + 148, 148, 149, 149, 149, 149, 149, 149, 149, 150, + 150, 151, 151, 151, 152, 153, 154, 155, 155, 155, + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + 155, 156, 156, 156, 156, 156, 156, 157, 157, 158, + 158, 159, 159, 160, 160, 161, 161, 162, 162, 163, + 163, 163, 164, 164, 164, 164, 164, 165, 165, 165, + 166, 166, 166, 167, 167, 167, 167, 168, 168, 169, + 169, 170, 170, 170, 170, 170, 170, 170, 170, 171, + 171, 171, 171, 171, 171, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, - 172, 172, 172, 172, 172, 172, 172, 172, 172, 173, - 173, 174, 174, 174, 174, 174, 174, 174, 175, 175, - 175, 175, 175, 175, 175, 175, 175, 175, 175, 175 + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 173, 173, 174, 174, 174, 174, 174, 174, 174, + 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, + 175, 175 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ @@ -949,27 +955,28 @@ static const yytype_uint8 yyr2[] = 0, 2, 1, 2, 1, 1, 1, 6, 7, 6, 7, 2, 4, 2, 4, 1, 0, 1, 2, 1, 1, 1, 2, 1, 3, 1, 3, 8, 7, 8, - 7, 9, 9, 1, 1, 0, 1, 1, 1, 1, - 1, 1, 0, 1, 2, 3, 4, 1, 1, 1, - 2, 2, 4, 1, 2, 1, 1, 1, 1, 1, - 2, 3, 2, 2, 5, 7, 5, 7, 6, 7, - 7, 5, 7, 5, 2, 3, 1, 2, 1, 3, - 1, 3, 1, 3, 3, 4, 4, 5, 2, 3, - 1, 2, 3, 3, 3, 2, 3, 1, 3, 1, - 2, 2, 3, 3, 3, 1, 1, 1, 1, 1, + 7, 9, 9, 11, 11, 1, 1, 0, 1, 1, + 1, 1, 1, 1, 0, 1, 2, 3, 4, 1, + 1, 1, 2, 2, 4, 1, 2, 1, 1, 1, + 1, 1, 2, 3, 2, 2, 5, 7, 5, 7, + 6, 7, 7, 5, 7, 5, 2, 3, 1, 2, + 1, 3, 1, 3, 1, 3, 3, 4, 4, 5, + 2, 3, 1, 2, 3, 3, 3, 2, 3, 1, + 3, 1, 2, 2, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 5, 1, 3, 1, - 3, 1, 3, 1, 3, 1, 3, 1, 3, 3, - 1, 3, 3, 3, 3, 1, 3, 3, 1, 3, - 3, 1, 3, 3, 3, 1, 3, 1, 3, 1, - 2, 2, 2, 2, 2, 2, 3, 1, 1, 1, - 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, + 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, + 3, 3, 1, 3, 3, 3, 3, 1, 3, 3, + 1, 3, 3, 1, 3, 3, 3, 1, 3, 1, + 3, 1, 2, 2, 2, 2, 2, 2, 3, 1, + 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 3, 1, 2, 3, 4, 3, 2, 2, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 3, 3, 2 + 1, 1, 3, 1, 2, 3, 4, 3, 2, 2, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, + 3, 2 }; /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state @@ -977,45 +984,46 @@ static const yytype_uint8 yyr2[] = means the default is an error. */ static const yytype_uint8 yydefact[] = { - 35, 228, 231, 232, 229, 230, 76, 0, 0, 0, - 167, 168, 171, 0, 0, 0, 0, 0, 0, 0, - 0, 36, 0, 170, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 169, 37, 38, 39, - 0, 0, 0, 35, 2, 6, 5, 0, 42, 47, - 48, 0, 4, 53, 58, 57, 56, 59, 55, 0, - 78, 80, 233, 82, 234, 235, 236, 90, 125, 127, - 129, 131, 133, 135, 137, 140, 145, 148, 151, 155, - 157, 0, 159, 219, 221, 44, 239, 0, 0, 74, - 0, 25, 0, 0, 0, 0, 0, 0, 62, 63, - 60, 0, 228, 160, 161, 0, 0, 0, 0, 43, - 0, 0, 165, 164, 163, 99, 95, 97, 0, 0, - 172, 0, 1, 3, 0, 0, 40, 41, 0, 91, - 54, 0, 77, 107, 108, 109, 110, 116, 117, 118, - 111, 112, 113, 105, 106, 114, 115, 0, 120, 119, - 122, 121, 124, 123, 0, 0, 0, 0, 0, 0, + 37, 230, 233, 234, 231, 232, 78, 0, 0, 0, + 169, 170, 173, 0, 0, 0, 0, 0, 0, 0, + 0, 38, 0, 172, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 171, 39, 40, 41, + 0, 0, 0, 37, 2, 6, 5, 0, 44, 49, + 50, 0, 4, 55, 60, 59, 58, 61, 57, 0, + 80, 82, 235, 84, 236, 237, 238, 92, 127, 129, + 131, 133, 135, 137, 139, 142, 147, 150, 153, 157, + 159, 0, 161, 221, 223, 46, 241, 0, 0, 76, + 0, 25, 0, 0, 0, 0, 0, 0, 64, 65, + 62, 0, 230, 162, 163, 0, 0, 0, 0, 45, + 0, 0, 167, 166, 165, 101, 97, 99, 0, 0, + 174, 0, 1, 3, 0, 0, 42, 43, 0, 93, + 56, 0, 79, 109, 110, 111, 112, 118, 119, 120, + 113, 114, 115, 107, 108, 116, 117, 0, 122, 121, + 124, 123, 126, 125, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 162, 0, 0, 0, - 226, 227, 222, 238, 0, 84, 75, 0, 45, 0, - 0, 0, 0, 0, 0, 0, 61, 102, 103, 104, - 0, 92, 93, 166, 0, 100, 101, 0, 96, 94, - 237, 23, 0, 0, 49, 0, 79, 81, 83, 128, - 0, 130, 132, 134, 136, 138, 139, 141, 143, 142, - 144, 147, 146, 149, 150, 152, 153, 154, 156, 158, - 220, 223, 0, 225, 85, 86, 26, 46, 0, 0, - 0, 0, 0, 0, 0, 0, 88, 0, 98, 0, - 35, 0, 0, 0, 35, 0, 0, 0, 50, 0, - 0, 0, 224, 87, 64, 66, 0, 0, 0, 0, - 0, 73, 71, 89, 24, 21, 0, 15, 35, 20, - 19, 13, 11, 35, 0, 22, 35, 0, 0, 174, - 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, - 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, - 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, - 205, 206, 207, 208, 173, 209, 210, 211, 212, 213, - 214, 215, 216, 217, 218, 0, 126, 0, 68, 0, + 0, 0, 0, 0, 0, 0, 164, 0, 0, 0, + 228, 229, 224, 240, 0, 86, 77, 0, 47, 0, + 0, 0, 0, 0, 0, 0, 63, 104, 105, 106, + 0, 94, 95, 168, 0, 102, 103, 0, 98, 96, + 239, 23, 0, 0, 51, 0, 81, 83, 85, 130, + 0, 132, 134, 136, 138, 140, 141, 143, 145, 144, + 146, 149, 148, 151, 152, 154, 155, 156, 158, 160, + 222, 225, 0, 227, 87, 88, 26, 48, 0, 0, + 0, 0, 0, 0, 0, 0, 90, 0, 100, 0, + 37, 0, 0, 0, 37, 0, 0, 0, 52, 0, + 0, 0, 226, 89, 66, 68, 0, 0, 0, 0, + 0, 75, 73, 91, 24, 21, 0, 15, 37, 20, + 19, 13, 11, 37, 0, 22, 37, 0, 0, 176, + 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, + 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, + 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, + 207, 208, 209, 210, 175, 211, 212, 213, 214, 215, + 216, 217, 218, 219, 220, 0, 128, 0, 70, 0, 0, 0, 0, 7, 18, 0, 0, 0, 9, 0, - 0, 0, 0, 0, 0, 65, 69, 70, 67, 72, - 14, 12, 8, 10, 30, 28, 51, 0, 0, 0, - 0, 29, 27, 0, 0, 52, 32, 31 + 0, 0, 0, 183, 0, 0, 0, 67, 71, 72, + 69, 74, 14, 12, 8, 10, 30, 28, 53, 0, + 0, 0, 0, 0, 29, 27, 0, 0, 0, 0, + 54, 0, 32, 0, 31, 0, 0, 34, 33 }; /* YYDEFGOTO[NTERM-NUM]. */ @@ -1031,106 +1039,108 @@ static const yytype_int16 yydefgoto[] = /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ -#define YYPACT_NINF -332 +#define YYPACT_NINF -284 static const yytype_int16 yypact[] = { - 532, 18, -332, -332, -332, -332, -332, 828, 1301, 611, - -332, -332, -332, 28, 36, 76, 84, 763, 105, 51, - 121, -332, 902, -332, 53, 53, 1301, 1301, 1301, 144, - 90, 90, 90, 53, 53, 135, -332, -70, -332, 122, - 19, 108, 1301, 266, -332, -332, -332, 124, 119, -332, - -332, 135, 763, -332, -332, -332, -332, -332, -332, 114, - 100, 21, -332, -332, -332, -332, -332, -332, -15, 159, - 158, 153, 166, 202, 145, 142, 212, 126, 136, 176, - -332, 53, 162, 101, -332, -332, -332, 111, 103, -332, - 687, 215, 211, 1301, 1301, 976, 13, 1301, -332, -332, - -332, 204, -332, -332, -332, 128, 141, 146, 1301, 175, - 135, 135, 240, -332, -332, 241, -332, 247, 135, 135, - -332, 3, -332, -332, 254, 254, -332, -332, 90, -332, - -332, 1301, -332, -332, -332, -332, -332, -332, -332, -332, - -332, -332, -332, -332, -332, -332, -332, 1301, -332, -332, - -332, -332, -332, -332, 1301, 53, 1301, 53, 53, 53, - 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, - 53, 53, 53, 53, 53, 90, -332, 29, 1041, 255, - -332, -332, -332, -332, 1106, 240, -332, 28, 188, 148, - 149, 976, 201, 248, 249, 155, -332, -332, -332, -332, - 157, -332, -332, -332, 1171, -332, 250, 135, -332, -332, - -332, 256, 1, -2, 260, 6, 100, 21, -332, 159, - 228, 158, 153, 166, 202, 145, 145, 142, 142, 142, - 142, 212, 212, 126, 126, 136, 136, 136, 176, -332, - 101, -332, 178, -332, 240, -332, -332, -332, 763, 763, - 1236, 1301, 1301, 1301, 763, 763, -332, 264, -332, 254, - 374, 28, 254, 259, 374, 254, 265, 268, 250, 251, - 1372, 53, -332, -332, 253, -332, 763, 179, 185, 190, - 191, -332, -332, -332, -332, -332, 267, -332, 453, -332, - 763, 189, 192, 374, 273, -332, 374, 118, 90, -332, - -332, -332, -332, -332, -332, -332, -332, -332, -332, -332, - -332, -332, -332, -332, -332, -332, -332, -332, -332, -332, - -332, -332, -332, -332, -332, -332, -332, -332, -332, -332, - -332, -332, -332, -332, -332, -332, -332, -332, -332, -332, - -332, -332, -332, -332, -332, 281, -332, 763, -332, 763, - 763, 283, 284, -332, -332, 254, 28, 279, -332, 280, - 50, 135, 285, 287, 90, -332, -332, -332, -332, -332, - -332, -332, -332, -332, -332, -332, 292, 64, 1469, 295, - 90, -332, -332, 297, 297, -332, -332, -332 + 542, 14, -284, -284, -284, -284, -284, 838, 1311, 621, + -284, -284, -284, 48, 53, 65, 75, 773, 85, 92, + 99, -284, 912, -284, 1376, 1376, 1311, 1311, 1311, 114, + 34, 34, 34, 1376, 1376, 144, -284, -29, -284, 129, + 26, 52, 1311, 276, -284, -284, -284, 137, 103, -284, + -284, 144, 773, -284, -284, -284, -284, -284, -284, 173, + 176, 97, -284, -284, -284, -284, -284, -284, 31, 120, + 106, 116, 125, 220, 204, 186, 265, 12, 113, 161, + -284, 1376, 90, 74, -284, -284, -284, 66, 17, -284, + 697, 223, 235, 1311, 1311, 986, -8, 1311, -284, -284, + -284, 229, -284, -284, -284, 107, 109, 110, 1311, 194, + 144, 144, 256, -284, -284, 261, -284, 268, 144, 144, + -284, 2, -284, -284, 283, 283, -284, -284, 34, -284, + -284, 1311, -284, -284, -284, -284, -284, -284, -284, -284, + -284, -284, -284, -284, -284, -284, -284, 1311, -284, -284, + -284, -284, -284, -284, 1311, 1376, 1311, 1376, 1376, 1376, + 1376, 1376, 1376, 1376, 1376, 1376, 1376, 1376, 1376, 1376, + 1376, 1376, 1376, 1376, 1376, 34, -284, 41, 1051, 286, + -284, -284, -284, -284, 1116, 256, -284, 48, 227, 135, + 153, 986, 32, 279, 289, 154, -284, -284, -284, -284, + 163, -284, -284, -284, 1181, -284, 293, 144, -284, -284, + -284, 299, 15, 0, 304, 5, 176, 97, -284, 120, + 284, 106, 116, 125, 220, 204, 204, 186, 186, 186, + 186, 265, 265, 12, 12, 113, 113, 113, 161, -284, + 74, -284, 170, -284, 256, -284, -284, -284, 773, 773, + 1246, 1311, 1311, 1311, 773, 773, -284, 306, -284, 283, + 384, 48, 283, 307, 384, 283, 312, 317, 293, 321, + 1447, 1376, -284, -284, 308, -284, 773, 205, 206, 215, + 216, -284, -284, -284, -284, -284, 322, -284, 463, -284, + 773, 234, 245, 384, 328, -284, 384, 58, 108, -284, + -284, -284, -284, -284, -284, -284, -284, -284, -284, -284, + -284, -284, -284, -284, -284, -284, -284, -284, -284, -284, + -284, -284, -284, -284, -284, -284, -284, -284, -284, -284, + -284, -284, -284, -284, -284, -284, -284, -284, -284, -284, + -284, -284, -284, -284, -284, 334, -284, 773, -284, 773, + 773, 336, 337, -284, -284, 283, 48, 338, -284, 339, + 56, 144, 341, 48, 344, 346, 34, -284, -284, -284, + -284, -284, -284, -284, -284, -284, -284, -284, 351, 101, + 1545, 349, 350, 34, -284, -284, 1642, 348, 34, 348, + -284, 353, -284, 354, -284, 348, 348, -284, -284 }; /* YYPGOTO[NTERM-NUM]. */ static const yytype_int16 yypgoto[] = { - -332, -332, 271, 26, -332, -246, 23, -332, -332, -119, - -180, 44, -332, -332, -332, -332, -332, -30, -332, -278, - 42, -14, -332, -332, -332, -331, -82, -3, -116, 168, - -75, 104, 169, -40, -39, -332, -332, -332, -332, -332, - 54, -332, 171, 167, 170, 184, 177, 81, 43, 77, - 82, 45, 164, 30, -332, -51, -332, 152, -332 + -284, -284, 319, 20, -284, -239, 80, -284, -284, -116, + -181, 27, -284, -284, -284, -284, -284, -30, -284, -283, + 21, -12, -284, -284, -284, -218, -83, -4, -118, 222, + -76, 156, 217, -37, 11, -284, -284, -284, -284, -284, + 102, -284, 219, 218, 224, 225, 221, 138, 140, 143, + 155, 79, 202, 25, -284, -279, -284, 208, -284 }; /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule which number is the opposite. If zero, do what YYDEFACT says. If YYTABLE_NINF, syntax error. */ -#define YYTABLE_NINF -44 +#define YYTABLE_NINF -46 static const yytype_int16 yytable[] = { - 110, 111, 112, 96, 87, 88, 213, 246, 182, 269, - 119, 129, 131, 191, 264, 216, 155, 260, 294, 101, - 363, -43, 109, 105, 106, 107, 45, -33, -33, 375, - 156, 91, 102, 2, 3, 4, 5, 203, 130, 121, - 205, 7, 52, 8, 46, 13, 382, 357, 93, 193, - 359, 90, 386, 387, 103, 104, 102, 2, 3, 4, - 5, 374, 98, 113, 114, 7, 9, 8, 216, 45, - 201, 202, 10, 11, 12, 381, 130, 194, 208, 209, - 9, 291, 26, 27, 28, 52, 379, 46, 94, 85, - 189, 190, 192, 109, 195, 118, 95, 265, 214, 23, - 261, 262, 385, 24, 25, 200, 26, 27, 28, 250, - 245, 176, 184, 178, 210, 8, 13, 97, 185, 179, - 131, 109, 270, 131, 183, 132, 32, 33, 34, 148, - 149, 360, 99, 150, 151, 152, 153, 131, 115, 42, - 284, 197, 36, 292, 13, 239, 295, 171, 172, 173, - 131, 180, 181, 220, 198, 131, 108, 131, 131, 199, - 41, 248, 249, 42, 131, 182, 131, 258, 254, 273, - 255, 163, 164, 165, 166, 242, 371, 133, 134, 135, - 136, 137, 138, 139, 140, 141, 142, 131, 131, 157, - 143, 272, 349, 144, 131, 145, 146, 120, 350, 131, - 131, 88, 159, 351, 352, 158, 227, 228, 229, 230, - 131, 251, 132, 131, 160, 196, 235, 236, 237, -34, - -34, 124, 125, 126, 127, 174, 161, 162, 175, 167, - 168, 169, 170, 187, 274, 275, 370, 131, 271, 188, - 281, 282, 225, 226, 231, 232, 85, 277, 278, 279, - 280, 233, 234, 177, 8, 204, 207, 211, 243, 247, - 252, 253, 348, 297, 257, 259, 122, 361, 361, 1, - 2, 3, 4, 5, 267, 293, 130, 6, 7, 283, - 8, 296, 9, 256, 353, 10, 11, 12, 347, 355, - 358, 356, 13, 364, 368, 369, 372, 373, 377, 14, - 378, 380, 15, 16, 17, 18, 19, 20, 384, 21, - 22, 354, 23, 9, 123, 217, 24, 25, 268, 26, - 27, 28, 376, 218, 221, 346, 219, 383, 222, 240, - 29, 30, 31, 365, 361, 366, 367, 224, 238, 32, - 33, 34, 35, 223, 0, 0, 0, 0, 0, 0, - 361, 0, 0, 0, 0, 36, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 37, 38, 39, - 40, 0, 0, 41, 0, 0, 42, 1, 2, 3, + 110, 111, 112, 87, 88, 96, 246, 182, 269, 213, + 119, 131, 191, 216, 129, 364, 264, -45, 101, 365, + 45, 52, 105, 106, 107, 294, 184, 46, 193, 109, + 90, 260, 185, 171, 172, 173, 203, 109, 121, 205, + 130, 131, 251, 132, 102, 2, 3, 4, 5, 103, + 104, 91, 13, 7, 357, 8, 194, 359, 113, 114, + 13, 109, 155, 45, 52, 93, 216, 376, -35, -35, + 46, 360, 9, 201, 202, 131, 156, 94, 130, 183, + 291, 208, 209, 382, 13, 85, 178, 95, 8, 189, + 190, 192, 179, 195, 26, 27, 28, 97, 214, 265, + 390, 387, 118, 98, 200, 393, 176, 391, 250, 245, + 99, 109, 384, 210, 261, 262, 131, 9, 131, 131, + 197, 270, 198, 199, 180, 181, 108, 299, 300, 301, + 302, 303, 304, 305, 363, 307, 308, 309, 310, 311, + 312, 120, 377, 284, 131, 239, 292, 115, 248, 295, + 157, 42, 220, 158, 313, 314, 315, 316, 317, 318, + 319, 385, 131, 131, 182, 159, 249, 254, 273, 392, + 258, 394, 131, 160, 242, 373, 255, 397, 398, 131, + 320, 177, 131, 272, 132, 321, 322, 323, 324, 325, + 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, + 88, 336, 174, 337, 338, 148, 149, 126, 127, 150, + 151, 152, 153, 175, 131, 131, 339, 340, 349, 350, + 341, 342, 343, 344, 131, 131, -36, -36, 351, 352, + 163, 164, 165, 166, 124, 125, 274, 275, 131, 372, + 196, 187, 281, 282, 161, 162, 277, 278, 279, 280, + 235, 236, 237, 133, 134, 135, 136, 137, 138, 139, + 140, 141, 142, 188, 348, 85, 143, 361, 361, 144, + 8, 145, 146, 167, 168, 204, 122, 207, 130, 1, + 2, 3, 4, 5, 169, 170, 211, 6, 7, 243, + 8, 252, 9, 131, 271, 10, 11, 12, 247, 225, + 226, 253, 13, 227, 228, 229, 230, 257, 259, 14, + 231, 232, 15, 16, 17, 18, 19, 20, 267, 21, + 22, 283, 23, 293, 233, 234, 24, 25, 296, 26, + 27, 28, 256, 297, 355, 367, 361, 368, 369, 353, + 29, 30, 31, 347, 356, 358, 366, 370, 371, 32, + 33, 34, 35, 361, 379, 374, 375, 380, 361, 381, + 383, 388, 123, 389, 9, 36, 395, 396, 354, 217, + 268, 218, 378, 346, 219, 221, 238, 37, 38, 39, + 40, 224, 222, 41, 223, 240, 42, 1, 2, 3, 4, 5, 0, 0, 0, 6, 7, 0, 8, 0, 9, -16, 0, 10, 11, 12, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 14, 0, 0, @@ -1229,71 +1239,88 @@ static const yytype_int16 yytable[] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 0, 0, 41, 0, 0, 42, 23, 0, 0, 0, 24, 25, 0, 26, 27, 28, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 30, 31, 0, 0, - 0, 0, 0, 0, 32, 33, 34, 35, 0, 0, - 0, 0, 0, 0, 298, 0, 0, 0, 0, 0, - 36, 299, 300, 301, 302, 303, 304, 305, 306, 307, - 308, 309, 310, 311, 312, 40, 0, 0, 41, 0, - 0, 42, 0, 0, 0, 0, 0, 0, 313, 314, + 0, 0, 0, 0, 0, 0, 30, 31, 0, 102, + 2, 3, 4, 5, 32, 33, 34, 35, 7, 0, + 8, 0, 0, 0, 0, 10, 11, 12, 0, 0, + 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 40, 0, 0, 41, 0, + 0, 42, 23, 0, 0, 0, 24, 25, 0, 26, + 27, 28, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, + 33, 34, 0, 0, 0, 0, 0, 0, 0, 298, + 0, 0, 0, 0, 0, 36, 299, 300, 301, 302, + 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, + 0, 0, 0, 41, 0, 0, 42, 0, 0, 0, + 0, 0, 0, 313, 314, 315, 316, 317, 318, 319, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 320, + 0, 0, 0, 0, 321, 322, 323, 324, 325, 326, + 327, 328, 329, 330, 331, 332, 333, 334, 335, 0, + 336, 0, 337, 338, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 339, 340, 386, 0, 341, + 342, 343, 344, 0, 299, 300, 301, 302, 303, 304, + 305, 306, 307, 308, 309, 310, 311, 312, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 313, 314, 315, 316, 317, 318, 319, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 320, 0, 0, + 0, 0, 321, 322, 323, 324, 325, 326, 327, 328, + 329, 330, 331, 332, 333, 334, 335, 0, 336, 0, + 337, 338, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 339, 340, 0, 0, 341, 342, 343, + 344, 299, 300, 301, 302, 303, 304, 305, 306, 307, + 308, 309, 310, 311, 312, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 313, 314, 315, 316, 317, 318, 319, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 320, 0, 0, 0, 0, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 0, 336, 0, 337, 338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 339, 340, 0, 0, 341, 342, 343, 344, 299, 300, - 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, - 311, 312, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 313, 314, 315, 316, 317, - 318, 319, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 320, 0, 0, 0, 0, 321, 322, 323, 324, - 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, - 335, 0, 336, 0, 337, 338, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 339, 340, 0, - 0, 341, 342, 343, 344 + 339, 340, 0, 0, 341, 342, 343, 344 }; static const yytype_int16 yycheck[] = { - 30, 31, 32, 17, 7, 8, 125, 187, 83, 3, - 40, 51, 9, 95, 16, 131, 31, 16, 264, 22, - 298, 3, 3, 26, 27, 28, 0, 97, 98, 360, - 45, 3, 3, 4, 5, 6, 7, 112, 52, 42, - 115, 12, 0, 14, 0, 26, 377, 293, 12, 36, - 296, 9, 383, 384, 24, 25, 3, 4, 5, 6, - 7, 11, 11, 33, 34, 12, 16, 14, 184, 43, - 110, 111, 19, 20, 21, 11, 90, 64, 118, 119, - 16, 261, 53, 54, 55, 43, 364, 43, 12, 71, - 93, 94, 95, 3, 97, 76, 12, 99, 128, 46, - 99, 100, 380, 50, 51, 108, 53, 54, 55, 191, - 185, 81, 9, 12, 111, 14, 26, 12, 15, 18, - 9, 3, 116, 9, 13, 11, 73, 74, 75, 108, - 109, 13, 11, 112, 113, 114, 115, 9, 3, 110, - 259, 13, 89, 262, 26, 175, 265, 21, 22, 23, - 9, 50, 51, 156, 13, 9, 12, 9, 9, 13, - 107, 13, 13, 110, 9, 240, 9, 207, 13, 244, - 13, 26, 27, 28, 29, 178, 356, 77, 78, 79, - 80, 81, 82, 83, 84, 85, 86, 9, 9, 30, - 90, 13, 13, 93, 9, 95, 96, 89, 13, 9, - 9, 204, 49, 13, 13, 47, 163, 164, 165, 166, - 9, 10, 11, 9, 48, 11, 171, 172, 173, 97, - 98, 97, 98, 104, 105, 89, 24, 25, 52, 87, - 88, 19, 20, 18, 248, 249, 355, 9, 10, 28, - 254, 255, 161, 162, 167, 168, 71, 250, 251, 252, - 253, 169, 170, 91, 14, 14, 9, 3, 3, 71, - 12, 12, 276, 12, 14, 9, 0, 297, 298, 3, - 4, 5, 6, 7, 14, 16, 290, 11, 12, 15, - 14, 16, 16, 15, 17, 19, 20, 21, 35, 100, - 17, 99, 26, 12, 11, 11, 17, 17, 13, 33, - 13, 9, 36, 37, 38, 39, 40, 41, 13, 43, - 44, 288, 46, 16, 43, 147, 50, 51, 214, 53, - 54, 55, 361, 154, 157, 271, 155, 378, 158, 177, - 64, 65, 66, 347, 364, 349, 350, 160, 174, 73, - 74, 75, 76, 159, -1, -1, -1, -1, -1, -1, - 380, -1, -1, -1, -1, 89, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 101, 102, 103, - 104, -1, -1, 107, -1, -1, 110, 3, 4, 5, + 30, 31, 32, 7, 8, 17, 187, 83, 3, 125, + 40, 9, 95, 131, 51, 298, 16, 3, 22, 298, + 0, 0, 26, 27, 28, 264, 9, 0, 36, 3, + 9, 16, 15, 21, 22, 23, 112, 3, 42, 115, + 52, 9, 10, 11, 3, 4, 5, 6, 7, 24, + 25, 3, 26, 12, 293, 14, 64, 296, 33, 34, + 26, 3, 31, 43, 43, 12, 184, 11, 97, 98, + 43, 13, 16, 110, 111, 9, 45, 12, 90, 13, + 261, 118, 119, 366, 26, 71, 12, 12, 14, 93, + 94, 95, 18, 97, 53, 54, 55, 12, 128, 99, + 383, 380, 76, 11, 108, 388, 81, 386, 191, 185, + 11, 3, 11, 111, 99, 100, 9, 16, 9, 9, + 13, 116, 13, 13, 50, 51, 12, 19, 20, 21, + 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, + 32, 89, 360, 259, 9, 175, 262, 3, 13, 265, + 30, 110, 156, 47, 46, 47, 48, 49, 50, 51, + 52, 379, 9, 9, 240, 49, 13, 13, 244, 387, + 207, 389, 9, 48, 178, 356, 13, 395, 396, 9, + 72, 91, 9, 13, 11, 77, 78, 79, 80, 81, + 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 204, 93, 89, 95, 96, 108, 109, 104, 105, 112, + 113, 114, 115, 52, 9, 9, 108, 109, 13, 13, + 112, 113, 114, 115, 9, 9, 97, 98, 13, 13, + 26, 27, 28, 29, 97, 98, 248, 249, 9, 355, + 11, 18, 254, 255, 24, 25, 250, 251, 252, 253, + 171, 172, 173, 77, 78, 79, 80, 81, 82, 83, + 84, 85, 86, 28, 276, 71, 90, 297, 298, 93, + 14, 95, 96, 87, 88, 14, 0, 9, 290, 3, + 4, 5, 6, 7, 19, 20, 3, 11, 12, 3, + 14, 12, 16, 9, 10, 19, 20, 21, 71, 161, + 162, 12, 26, 163, 164, 165, 166, 14, 9, 33, + 167, 168, 36, 37, 38, 39, 40, 41, 14, 43, + 44, 15, 46, 16, 169, 170, 50, 51, 16, 53, + 54, 55, 15, 12, 100, 347, 366, 349, 350, 17, + 64, 65, 66, 35, 99, 17, 12, 11, 11, 73, + 74, 75, 76, 383, 13, 17, 17, 13, 388, 13, + 9, 12, 43, 13, 16, 89, 13, 13, 288, 147, + 214, 154, 361, 271, 155, 157, 174, 101, 102, 103, + 104, 160, 158, 107, 159, 177, 110, 3, 4, 5, 6, 7, -1, -1, -1, 11, 12, -1, 14, -1, 16, 17, -1, 19, 20, 21, -1, -1, -1, -1, 26, -1, -1, -1, -1, -1, -1, 33, -1, -1, @@ -1392,29 +1419,45 @@ static const yytype_int16 yycheck[] = -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 104, -1, -1, 107, -1, -1, 110, 46, -1, -1, -1, 50, 51, -1, 53, 54, 55, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 65, 66, -1, -1, - -1, -1, -1, -1, 73, 74, 75, 76, -1, -1, - -1, -1, -1, -1, 12, -1, -1, -1, -1, -1, - 89, 19, 20, 21, 22, 23, 24, 25, 26, 27, - 28, 29, 30, 31, 32, 104, -1, -1, 107, -1, - -1, 110, -1, -1, -1, -1, -1, -1, 46, 47, + -1, -1, -1, -1, -1, -1, 65, 66, -1, 3, + 4, 5, 6, 7, 73, 74, 75, 76, 12, -1, + 14, -1, -1, -1, -1, 19, 20, 21, -1, -1, + 89, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 104, -1, -1, 107, -1, + -1, 110, 46, -1, -1, -1, 50, 51, -1, 53, + 54, 55, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 73, + 74, 75, -1, -1, -1, -1, -1, -1, -1, 12, + -1, -1, -1, -1, -1, 89, 19, 20, 21, 22, + 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, + -1, -1, -1, 107, -1, -1, 110, -1, -1, -1, + -1, -1, -1, 46, 47, 48, 49, 50, 51, 52, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 72, + -1, -1, -1, -1, 77, 78, 79, 80, 81, 82, + 83, 84, 85, 86, 87, 88, 89, 90, 91, -1, + 93, -1, 95, 96, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 108, 109, 12, -1, 112, + 113, 114, 115, -1, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 46, 47, 48, 49, 50, 51, 52, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 72, -1, -1, + -1, -1, 77, 78, 79, 80, 81, 82, 83, 84, + 85, 86, 87, 88, 89, 90, 91, -1, 93, -1, + 95, 96, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 108, 109, -1, -1, 112, 113, 114, + 115, 19, 20, 21, 22, 23, 24, 25, 26, 27, + 28, 29, 30, 31, 32, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 46, 47, 48, 49, 50, 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 72, -1, -1, -1, -1, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, -1, 93, -1, 95, 96, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 108, 109, -1, -1, 112, 113, 114, 115, 19, 20, - 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, - 31, 32, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 46, 47, 48, 49, 50, - 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 72, -1, -1, -1, -1, 77, 78, 79, 80, - 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, - 91, -1, 93, -1, 95, 96, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 108, 109, -1, - -1, 112, 113, 114, 115 + 108, 109, -1, -1, 112, 113, 114, 115 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing @@ -1457,9 +1500,10 @@ static const yytype_uint8 yystos[] = 86, 87, 88, 89, 90, 91, 93, 95, 96, 108, 109, 112, 113, 114, 115, 172, 157, 35, 138, 13, 13, 13, 13, 17, 123, 100, 99, 122, 17, 122, - 13, 134, 136, 136, 12, 138, 138, 138, 11, 11, - 126, 127, 17, 17, 11, 142, 151, 13, 13, 136, - 9, 11, 142, 172, 13, 136, 142, 142 + 13, 134, 136, 26, 136, 172, 12, 138, 138, 138, + 11, 11, 126, 127, 17, 17, 11, 142, 151, 13, + 13, 13, 136, 9, 11, 142, 12, 172, 12, 13, + 136, 172, 142, 136, 142, 13, 13, 142, 142 }; #define yyerrok (yyerrstatus = 0) @@ -2451,1038 +2495,1048 @@ yyparse () break; case 33: -#line 280 "chuck.y" - { (yyval.ival) = ae_key_public; ;} +#line 278 "chuck.y" + { (yyval.func_def) = new_op_overload( (yyvsp[(1) - (11)].ival), (yyvsp[(2) - (11)].ival), (yyvsp[(3) - (11)].type_decl), (yyvsp[(6) - (11)].ival), (yyvsp[(9) - (11)].arg_list), (yyvsp[(11) - (11)].stmt), TRUE, FALSE, (yylsp[(1) - (11)]).first_line, (yylsp[(1) - (11)]).first_column, (yylsp[(5) - (11)]).first_column ); ;} break; case 34: -#line 281 "chuck.y" - { (yyval.ival) = ae_key_private; ;} +#line 280 "chuck.y" + { (yyval.func_def) = new_op_overload( (yyvsp[(1) - (11)].ival), (yyvsp[(2) - (11)].ival), (yyvsp[(3) - (11)].type_decl), (yyvsp[(9) - (11)].ival), (yyvsp[(6) - (11)].arg_list), (yyvsp[(11) - (11)].stmt), TRUE, TRUE, (yylsp[(1) - (11)]).first_line, (yylsp[(1) - (11)]).first_column, (yylsp[(8) - (11)]).first_column ); ;} break; case 35: -#line 282 "chuck.y" - { (yyval.ival) = ae_key_private; ;} +#line 284 "chuck.y" + { (yyval.ival) = ae_key_public; ;} break; case 36: -#line 286 "chuck.y" - { (yyval.ival) = ae_key_func; ;} +#line 285 "chuck.y" + { (yyval.ival) = ae_key_private; ;} break; case 37: -#line 287 "chuck.y" - { (yyval.ival) = ae_key_public; ;} +#line 286 "chuck.y" + { (yyval.ival) = ae_key_private; ;} break; case 38: -#line 288 "chuck.y" - { (yyval.ival) = ae_key_protected; ;} +#line 290 "chuck.y" + { (yyval.ival) = ae_key_func; ;} break; case 39: -#line 289 "chuck.y" - { (yyval.ival) = ae_key_private; ;} +#line 291 "chuck.y" + { (yyval.ival) = ae_key_public; ;} break; case 40: -#line 293 "chuck.y" - { (yyval.ival) = ae_key_static; ;} +#line 292 "chuck.y" + { (yyval.ival) = ae_key_protected; ;} break; case 41: -#line 294 "chuck.y" - { (yyval.ival) = ae_key_abstract; ;} +#line 293 "chuck.y" + { (yyval.ival) = ae_key_private; ;} break; case 42: -#line 295 "chuck.y" - { (yyval.ival) = ae_key_instance; ;} +#line 297 "chuck.y" + { (yyval.ival) = ae_key_static; ;} break; case 43: -#line 299 "chuck.y" - { (yyval.type_decl) = new_type_decl( new_id_list( (yyvsp[(1) - (1)].sval), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column /*, &@1*/ ), 0, (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} +#line 298 "chuck.y" + { (yyval.ival) = ae_key_abstract; ;} break; case 44: -#line 300 "chuck.y" - { (yyval.type_decl) = new_type_decl( new_id_list( (yyvsp[(1) - (2)].sval), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column /*, &@1*/ ), 1, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} +#line 299 "chuck.y" + { (yyval.ival) = ae_key_instance; ;} break; case 45: -#line 304 "chuck.y" - { (yyval.type_decl) = new_type_decl( (yyvsp[(2) - (3)].id_list), 0, (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} +#line 303 "chuck.y" + { (yyval.type_decl) = new_type_decl( new_id_list( (yyvsp[(1) - (1)].sval), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column /*, &@1*/ ), 0, (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} break; case 46: -#line 305 "chuck.y" - { (yyval.type_decl) = new_type_decl( (yyvsp[(2) - (4)].id_list), 1, (yylsp[(1) - (4)]).first_line, (yylsp[(1) - (4)]).first_column ); ;} +#line 304 "chuck.y" + { (yyval.type_decl) = new_type_decl( new_id_list( (yyvsp[(1) - (2)].sval), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column /*, &@1*/ ), 1, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 47: -#line 314 "chuck.y" - { (yyval.type_decl) = (yyvsp[(1) - (1)].type_decl); ;} +#line 308 "chuck.y" + { (yyval.type_decl) = new_type_decl( (yyvsp[(2) - (3)].id_list), 0, (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 48: -#line 315 "chuck.y" - { (yyval.type_decl) = (yyvsp[(1) - (1)].type_decl); ;} +#line 309 "chuck.y" + { (yyval.type_decl) = new_type_decl( (yyvsp[(2) - (4)].id_list), 1, (yylsp[(1) - (4)]).first_line, (yylsp[(1) - (4)]).first_column ); ;} break; case 49: -#line 320 "chuck.y" +#line 318 "chuck.y" { (yyval.type_decl) = (yyvsp[(1) - (1)].type_decl); ;} break; case 50: -#line 321 "chuck.y" - { (yyval.type_decl) = add_type_decl_array( (yyvsp[(1) - (2)].type_decl), (yyvsp[(2) - (2)].array_sub), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} +#line 319 "chuck.y" + { (yyval.type_decl) = (yyvsp[(1) - (1)].type_decl); ;} break; case 51: -#line 325 "chuck.y" - { (yyval.arg_list) = new_arg_list( (yyvsp[(1) - (2)].type_decl), (yyvsp[(2) - (2)].var_decl), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} +#line 324 "chuck.y" + { (yyval.type_decl) = (yyvsp[(1) - (1)].type_decl); ;} break; case 52: -#line 326 "chuck.y" - { (yyval.arg_list) = prepend_arg_list( (yyvsp[(1) - (4)].type_decl), (yyvsp[(2) - (4)].var_decl), (yyvsp[(4) - (4)].arg_list), (yylsp[(1) - (4)]).first_line, (yylsp[(1) - (4)]).first_column ); ;} +#line 325 "chuck.y" + { (yyval.type_decl) = add_type_decl_array( (yyvsp[(1) - (2)].type_decl), (yyvsp[(2) - (2)].array_sub), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 53: -#line 330 "chuck.y" - { (yyval.stmt_list) = new_stmt_list( (yyvsp[(1) - (1)].stmt), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} +#line 329 "chuck.y" + { (yyval.arg_list) = new_arg_list( (yyvsp[(1) - (2)].type_decl), (yyvsp[(2) - (2)].var_decl), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 54: -#line 331 "chuck.y" - { (yyval.stmt_list) = append_stmt_list( (yyvsp[(1) - (2)].stmt_list), (yyvsp[(2) - (2)].stmt), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} +#line 330 "chuck.y" + { (yyval.arg_list) = prepend_arg_list( (yyvsp[(1) - (4)].type_decl), (yyvsp[(2) - (4)].var_decl), (yyvsp[(4) - (4)].arg_list), (yylsp[(1) - (4)]).first_line, (yylsp[(1) - (4)]).first_column ); ;} break; case 55: -#line 335 "chuck.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} +#line 334 "chuck.y" + { (yyval.stmt_list) = new_stmt_list( (yyvsp[(1) - (1)].stmt), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} break; case 56: -#line 336 "chuck.y" - { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} +#line 335 "chuck.y" + { (yyval.stmt_list) = append_stmt_list( (yyvsp[(1) - (2)].stmt_list), (yyvsp[(2) - (2)].stmt), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 57: -#line 337 "chuck.y" +#line 339 "chuck.y" { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} break; case 58: -#line 338 "chuck.y" +#line 340 "chuck.y" { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} break; case 59: -#line 340 "chuck.y" +#line 341 "chuck.y" { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} break; case 60: -#line 344 "chuck.y" - { (yyval.stmt) = new_stmt_from_return( NULL, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} +#line 342 "chuck.y" + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} break; case 61: -#line 345 "chuck.y" - { (yyval.stmt) = new_stmt_from_return( (yyvsp[(2) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} +#line 344 "chuck.y" + { (yyval.stmt) = (yyvsp[(1) - (1)].stmt); ;} break; case 62: -#line 346 "chuck.y" - { (yyval.stmt) = new_stmt_from_break( (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} +#line 348 "chuck.y" + { (yyval.stmt) = new_stmt_from_return( NULL, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 63: -#line 347 "chuck.y" - { (yyval.stmt) = new_stmt_from_continue( (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} +#line 349 "chuck.y" + { (yyval.stmt) = new_stmt_from_return( (yyvsp[(2) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 64: -#line 352 "chuck.y" - { (yyval.stmt) = new_stmt_from_if( (yyvsp[(3) - (5)].exp), (yyvsp[(5) - (5)].stmt), NULL, (yylsp[(1) - (5)]).first_line, (yylsp[(1) - (5)]).first_column ); ;} +#line 350 "chuck.y" + { (yyval.stmt) = new_stmt_from_break( (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 65: -#line 354 "chuck.y" - { (yyval.stmt) = new_stmt_from_if( (yyvsp[(3) - (7)].exp), (yyvsp[(5) - (7)].stmt), (yyvsp[(7) - (7)].stmt), (yylsp[(1) - (7)]).first_line, (yylsp[(1) - (7)]).first_column ); ;} +#line 351 "chuck.y" + { (yyval.stmt) = new_stmt_from_continue( (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 66: -#line 359 "chuck.y" - { (yyval.stmt) = new_stmt_from_while( (yyvsp[(3) - (5)].exp), (yyvsp[(5) - (5)].stmt), (yylsp[(1) - (5)]).first_line, (yylsp[(1) - (5)]).first_column ); ;} +#line 356 "chuck.y" + { (yyval.stmt) = new_stmt_from_if( (yyvsp[(3) - (5)].exp), (yyvsp[(5) - (5)].stmt), NULL, (yylsp[(1) - (5)]).first_line, (yylsp[(1) - (5)]).first_column ); ;} break; case 67: -#line 361 "chuck.y" - { (yyval.stmt) = new_stmt_from_do_while( (yyvsp[(5) - (7)].exp), (yyvsp[(2) - (7)].stmt), (yylsp[(1) - (7)]).first_line, (yylsp[(1) - (7)]).first_column ); ;} +#line 358 "chuck.y" + { (yyval.stmt) = new_stmt_from_if( (yyvsp[(3) - (7)].exp), (yyvsp[(5) - (7)].stmt), (yyvsp[(7) - (7)].stmt), (yylsp[(1) - (7)]).first_line, (yylsp[(1) - (7)]).first_column ); ;} break; case 68: #line 363 "chuck.y" - { (yyval.stmt) = new_stmt_from_for( (yyvsp[(3) - (6)].stmt), (yyvsp[(4) - (6)].stmt), NULL, (yyvsp[(6) - (6)].stmt), (yylsp[(1) - (6)]).first_line, (yylsp[(1) - (6)]).first_column ); ;} + { (yyval.stmt) = new_stmt_from_while( (yyvsp[(3) - (5)].exp), (yyvsp[(5) - (5)].stmt), (yylsp[(1) - (5)]).first_line, (yylsp[(1) - (5)]).first_column ); ;} break; case 69: #line 365 "chuck.y" - { (yyval.stmt) = new_stmt_from_for( (yyvsp[(3) - (7)].stmt), (yyvsp[(4) - (7)].stmt), (yyvsp[(5) - (7)].exp), (yyvsp[(7) - (7)].stmt), (yylsp[(1) - (7)]).first_line, (yylsp[(1) - (7)]).first_column ); ;} + { (yyval.stmt) = new_stmt_from_do_while( (yyvsp[(5) - (7)].exp), (yyvsp[(2) - (7)].stmt), (yylsp[(1) - (7)]).first_line, (yylsp[(1) - (7)]).first_column ); ;} break; case 70: #line 367 "chuck.y" - { (yyval.stmt) = new_stmt_from_foreach( (yyvsp[(3) - (7)].exp), (yyvsp[(5) - (7)].exp), (yyvsp[(7) - (7)].stmt), (yylsp[(1) - (7)]).first_line, (yylsp[(1) - (7)]).first_column ); ;} + { (yyval.stmt) = new_stmt_from_for( (yyvsp[(3) - (6)].stmt), (yyvsp[(4) - (6)].stmt), NULL, (yyvsp[(6) - (6)].stmt), (yylsp[(1) - (6)]).first_line, (yylsp[(1) - (6)]).first_column ); ;} break; case 71: #line 369 "chuck.y" - { (yyval.stmt) = new_stmt_from_until( (yyvsp[(3) - (5)].exp), (yyvsp[(5) - (5)].stmt), (yylsp[(1) - (5)]).first_line, (yylsp[(1) - (5)]).first_column ); ;} + { (yyval.stmt) = new_stmt_from_for( (yyvsp[(3) - (7)].stmt), (yyvsp[(4) - (7)].stmt), (yyvsp[(5) - (7)].exp), (yyvsp[(7) - (7)].stmt), (yylsp[(1) - (7)]).first_line, (yylsp[(1) - (7)]).first_column ); ;} break; case 72: #line 371 "chuck.y" - { (yyval.stmt) = new_stmt_from_do_until( (yyvsp[(5) - (7)].exp), (yyvsp[(2) - (7)].stmt), (yylsp[(1) - (7)]).first_line, (yylsp[(1) - (7)]).first_column ); ;} + { (yyval.stmt) = new_stmt_from_foreach( (yyvsp[(3) - (7)].exp), (yyvsp[(5) - (7)].exp), (yyvsp[(7) - (7)].stmt), (yylsp[(1) - (7)]).first_line, (yylsp[(1) - (7)]).first_column ); ;} break; case 73: #line 373 "chuck.y" - { (yyval.stmt) = new_stmt_from_loop( (yyvsp[(3) - (5)].exp), (yyvsp[(5) - (5)].stmt), (yylsp[(1) - (5)]).first_line, (yylsp[(1) - (5)]).first_column ); ;} + { (yyval.stmt) = new_stmt_from_until( (yyvsp[(3) - (5)].exp), (yyvsp[(5) - (5)].stmt), (yylsp[(1) - (5)]).first_line, (yylsp[(1) - (5)]).first_column ); ;} break; case 74: -#line 377 "chuck.y" - { (yyval.stmt) = new_stmt_from_code( NULL, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} +#line 375 "chuck.y" + { (yyval.stmt) = new_stmt_from_do_until( (yyvsp[(5) - (7)].exp), (yyvsp[(2) - (7)].stmt), (yylsp[(1) - (7)]).first_line, (yylsp[(1) - (7)]).first_column ); ;} break; case 75: -#line 378 "chuck.y" - { (yyval.stmt) = new_stmt_from_code( (yyvsp[(2) - (3)].stmt_list), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} +#line 377 "chuck.y" + { (yyval.stmt) = new_stmt_from_loop( (yyvsp[(3) - (5)].exp), (yyvsp[(5) - (5)].stmt), (yylsp[(1) - (5)]).first_line, (yylsp[(1) - (5)]).first_column ); ;} break; case 76: -#line 382 "chuck.y" - { (yyval.stmt) = NULL; ;} +#line 381 "chuck.y" + { (yyval.stmt) = new_stmt_from_code( NULL, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 77: -#line 383 "chuck.y" - { (yyval.stmt) = new_stmt_from_expression( (yyvsp[(1) - (2)].exp), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} +#line 382 "chuck.y" + { (yyval.stmt) = new_stmt_from_code( (yyvsp[(2) - (3)].stmt_list), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 78: -#line 387 "chuck.y" - { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} +#line 386 "chuck.y" + { (yyval.stmt) = NULL; ;} break; case 79: -#line 388 "chuck.y" - { (yyval.exp) = append_expression( (yyvsp[(1) - (3)].exp), (yyvsp[(3) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} +#line 387 "chuck.y" + { (yyval.stmt) = new_stmt_from_expression( (yyvsp[(1) - (2)].exp), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 80: -#line 392 "chuck.y" +#line 391 "chuck.y" { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 81: -#line 394 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), (yyvsp[(2) - (3)].ival), (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} +#line 392 "chuck.y" + { (yyval.exp) = append_expression( (yyvsp[(1) - (3)].exp), (yyvsp[(3) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 82: -#line 398 "chuck.y" +#line 396 "chuck.y" { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 83: -#line 400 "chuck.y" +#line 398 "chuck.y" { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), (yyvsp[(2) - (3)].ival), (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 84: -#line 404 "chuck.y" - { (yyval.array_sub) = new_array_sub( (yyvsp[(2) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} +#line 402 "chuck.y" + { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 85: -#line 405 "chuck.y" - { (yyval.array_sub) = new_array_sub( (yyvsp[(2) - (4)].exp), (yylsp[(1) - (4)]).first_line, (yylsp[(1) - (4)]).first_column ); ;} +#line 404 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), (yyvsp[(2) - (3)].ival), (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 86: -#line 407 "chuck.y" - { (yyval.array_sub) = prepend_array_sub( (yyvsp[(4) - (4)].array_sub), (yyvsp[(2) - (4)].exp), (yylsp[(1) - (4)]).first_line, (yylsp[(1) - (4)]).first_column ); ;} +#line 408 "chuck.y" + { (yyval.array_sub) = new_array_sub( (yyvsp[(2) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 87: #line 409 "chuck.y" - { (yyval.array_sub) = prepend_array_sub( (yyvsp[(5) - (5)].array_sub), (yyvsp[(2) - (5)].exp), (yylsp[(1) - (5)]).first_line, (yylsp[(1) - (5)]).first_column ); ;} + { (yyval.array_sub) = new_array_sub( (yyvsp[(2) - (4)].exp), (yylsp[(1) - (4)]).first_line, (yylsp[(1) - (4)]).first_column ); ;} break; case 88: -#line 413 "chuck.y" - { (yyval.array_sub) = new_array_sub( NULL, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} +#line 411 "chuck.y" + { (yyval.array_sub) = prepend_array_sub( (yyvsp[(4) - (4)].array_sub), (yyvsp[(2) - (4)].exp), (yylsp[(1) - (4)]).first_line, (yylsp[(1) - (4)]).first_column ); ;} break; case 89: -#line 414 "chuck.y" - { (yyval.array_sub) = prepend_array_sub( (yyvsp[(1) - (3)].array_sub), NULL, (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} +#line 413 "chuck.y" + { (yyval.array_sub) = prepend_array_sub( (yyvsp[(5) - (5)].array_sub), (yyvsp[(2) - (5)].exp), (yylsp[(1) - (5)]).first_line, (yylsp[(1) - (5)]).first_column ); ;} break; case 90: -#line 418 "chuck.y" - { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} +#line 417 "chuck.y" + { (yyval.array_sub) = new_array_sub( NULL, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 91: -#line 419 "chuck.y" - { (yyval.exp) = new_exp_decl( (yyvsp[(1) - (2)].type_decl), (yyvsp[(2) - (2)].var_decl_list), 0, 0, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} +#line 418 "chuck.y" + { (yyval.array_sub) = prepend_array_sub( (yyvsp[(1) - (3)].array_sub), NULL, (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 92: -#line 420 "chuck.y" - { (yyval.exp) = new_exp_decl_external( (yyvsp[(2) - (3)].type_decl), (yyvsp[(3) - (3)].var_decl_list), 0, 0, (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} +#line 422 "chuck.y" + { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 93: -#line 421 "chuck.y" - { (yyval.exp) = new_exp_decl_global( (yyvsp[(2) - (3)].type_decl), (yyvsp[(3) - (3)].var_decl_list), 0, 0, (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} +#line 423 "chuck.y" + { (yyval.exp) = new_exp_decl( (yyvsp[(1) - (2)].type_decl), (yyvsp[(2) - (2)].var_decl_list), 0, 0, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 94: -#line 422 "chuck.y" - { (yyval.exp) = new_exp_decl( (yyvsp[(2) - (3)].type_decl), (yyvsp[(3) - (3)].var_decl_list), 1, 0, (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} +#line 424 "chuck.y" + { (yyval.exp) = new_exp_decl_external( (yyvsp[(2) - (3)].type_decl), (yyvsp[(3) - (3)].var_decl_list), 0, 0, (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 95: -#line 423 "chuck.y" - { (yyval.exp) = new_exp_decl( NULL, (yyvsp[(2) - (2)].var_decl_list), 0, 0, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} +#line 425 "chuck.y" + { (yyval.exp) = new_exp_decl_global( (yyvsp[(2) - (3)].type_decl), (yyvsp[(3) - (3)].var_decl_list), 0, 0, (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 96: -#line 424 "chuck.y" - { (yyval.exp) = new_exp_decl( NULL, (yyvsp[(3) - (3)].var_decl_list), 1, 0, (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} +#line 426 "chuck.y" + { (yyval.exp) = new_exp_decl( (yyvsp[(2) - (3)].type_decl), (yyvsp[(3) - (3)].var_decl_list), 1, 0, (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 97: -#line 428 "chuck.y" - { (yyval.var_decl_list) = new_var_decl_list( (yyvsp[(1) - (1)].var_decl), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} +#line 427 "chuck.y" + { (yyval.exp) = new_exp_decl( NULL, (yyvsp[(2) - (2)].var_decl_list), 0, 0, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 98: -#line 429 "chuck.y" - { (yyval.var_decl_list) = prepend_var_decl_list( (yyvsp[(1) - (3)].var_decl), (yyvsp[(3) - (3)].var_decl_list), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} +#line 428 "chuck.y" + { (yyval.exp) = new_exp_decl( NULL, (yyvsp[(3) - (3)].var_decl_list), 1, 0, (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 99: -#line 433 "chuck.y" - { (yyval.var_decl) = new_var_decl( (yyvsp[(1) - (1)].sval), NULL, (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} +#line 432 "chuck.y" + { (yyval.var_decl_list) = new_var_decl_list( (yyvsp[(1) - (1)].var_decl), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} break; case 100: -#line 434 "chuck.y" - { (yyval.var_decl) = new_var_decl( (yyvsp[(1) - (2)].sval), (yyvsp[(2) - (2)].array_sub), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} +#line 433 "chuck.y" + { (yyval.var_decl_list) = prepend_var_decl_list( (yyvsp[(1) - (3)].var_decl), (yyvsp[(3) - (3)].var_decl_list), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 101: -#line 435 "chuck.y" - { (yyval.var_decl) = new_var_decl( (yyvsp[(1) - (2)].sval), (yyvsp[(2) - (2)].array_sub), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} +#line 437 "chuck.y" + { (yyval.var_decl) = new_var_decl( (yyvsp[(1) - (1)].sval), NULL, (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} break; case 102: -#line 440 "chuck.y" - { (yyval.complex_exp) = new_complex( (yyvsp[(2) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} +#line 438 "chuck.y" + { (yyval.var_decl) = new_var_decl( (yyvsp[(1) - (2)].sval), (yyvsp[(2) - (2)].array_sub), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 103: -#line 445 "chuck.y" - { (yyval.polar_exp) = new_polar( (yyvsp[(2) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} +#line 439 "chuck.y" + { (yyval.var_decl) = new_var_decl( (yyvsp[(1) - (2)].sval), (yyvsp[(2) - (2)].array_sub), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 104: -#line 450 "chuck.y" - { (yyval.vec_exp) = new_vec( (yyvsp[(2) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} +#line 444 "chuck.y" + { (yyval.complex_exp) = new_complex( (yyvsp[(2) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 105: -#line 454 "chuck.y" - { (yyval.ival) = ae_op_chuck; ;} +#line 449 "chuck.y" + { (yyval.polar_exp) = new_polar( (yyvsp[(2) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 106: -#line 455 "chuck.y" - { (yyval.ival) = ae_op_at_chuck; ;} +#line 454 "chuck.y" + { (yyval.vec_exp) = new_vec( (yyvsp[(2) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 107: -#line 456 "chuck.y" - { (yyval.ival) = ae_op_plus_chuck; ;} +#line 458 "chuck.y" + { (yyval.ival) = ae_op_chuck; ;} break; case 108: -#line 457 "chuck.y" - { (yyval.ival) = ae_op_minus_chuck; ;} +#line 459 "chuck.y" + { (yyval.ival) = ae_op_at_chuck; ;} break; case 109: -#line 458 "chuck.y" - { (yyval.ival) = ae_op_times_chuck; ;} +#line 460 "chuck.y" + { (yyval.ival) = ae_op_plus_chuck; ;} break; case 110: -#line 459 "chuck.y" - { (yyval.ival) = ae_op_divide_chuck; ;} +#line 461 "chuck.y" + { (yyval.ival) = ae_op_minus_chuck; ;} break; case 111: -#line 460 "chuck.y" - { (yyval.ival) = ae_op_shift_right_chuck; ;} +#line 462 "chuck.y" + { (yyval.ival) = ae_op_times_chuck; ;} break; case 112: -#line 461 "chuck.y" - { (yyval.ival) = ae_op_shift_left_chuck; ;} +#line 463 "chuck.y" + { (yyval.ival) = ae_op_divide_chuck; ;} break; case 113: -#line 462 "chuck.y" - { (yyval.ival) = ae_op_percent_chuck; ;} +#line 464 "chuck.y" + { (yyval.ival) = ae_op_shift_right_chuck; ;} break; case 114: -#line 463 "chuck.y" - { (yyval.ival) = ae_op_unchuck; ;} +#line 465 "chuck.y" + { (yyval.ival) = ae_op_shift_left_chuck; ;} break; case 115: -#line 464 "chuck.y" - { (yyval.ival) = ae_op_upchuck; ;} +#line 466 "chuck.y" + { (yyval.ival) = ae_op_percent_chuck; ;} break; case 116: -#line 465 "chuck.y" - { (yyval.ival) = ae_op_s_and_chuck; ;} +#line 467 "chuck.y" + { (yyval.ival) = ae_op_unchuck; ;} break; case 117: -#line 466 "chuck.y" - { (yyval.ival) = ae_op_s_or_chuck; ;} +#line 468 "chuck.y" + { (yyval.ival) = ae_op_upchuck; ;} break; case 118: -#line 467 "chuck.y" - { (yyval.ival) = ae_op_s_xor_chuck; ;} +#line 469 "chuck.y" + { (yyval.ival) = ae_op_s_and_chuck; ;} break; case 119: -#line 471 "chuck.y" - { (yyval.ival) = ae_op_arrow_left; ;} +#line 470 "chuck.y" + { (yyval.ival) = ae_op_s_or_chuck; ;} break; case 120: -#line 472 "chuck.y" - { (yyval.ival) = ae_op_arrow_right; ;} +#line 471 "chuck.y" + { (yyval.ival) = ae_op_s_xor_chuck; ;} break; case 121: -#line 473 "chuck.y" - { (yyval.ival) = ae_op_gruck_left; ;} +#line 475 "chuck.y" + { (yyval.ival) = ae_op_arrow_left; ;} break; case 122: -#line 474 "chuck.y" - { (yyval.ival) = ae_op_gruck_right; ;} +#line 476 "chuck.y" + { (yyval.ival) = ae_op_arrow_right; ;} break; case 123: -#line 475 "chuck.y" - { (yyval.ival) = ae_op_ungruck_left; ;} +#line 477 "chuck.y" + { (yyval.ival) = ae_op_gruck_left; ;} break; case 124: -#line 476 "chuck.y" - { (yyval.ival) = ae_op_ungruck_right; ;} +#line 478 "chuck.y" + { (yyval.ival) = ae_op_gruck_right; ;} break; case 125: -#line 480 "chuck.y" - { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} +#line 479 "chuck.y" + { (yyval.ival) = ae_op_ungruck_left; ;} break; case 126: -#line 482 "chuck.y" - { (yyval.exp) = new_exp_from_if( (yyvsp[(1) - (5)].exp), (yyvsp[(3) - (5)].exp), (yyvsp[(5) - (5)].exp), (yylsp[(1) - (5)]).first_line, (yylsp[(1) - (5)]).first_column ); ;} +#line 480 "chuck.y" + { (yyval.ival) = ae_op_ungruck_right; ;} break; case 127: -#line 486 "chuck.y" +#line 484 "chuck.y" { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 128: -#line 488 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_or, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} +#line 486 "chuck.y" + { (yyval.exp) = new_exp_from_if( (yyvsp[(1) - (5)].exp), (yyvsp[(3) - (5)].exp), (yyvsp[(5) - (5)].exp), (yylsp[(1) - (5)]).first_line, (yylsp[(1) - (5)]).first_column ); ;} break; case 129: -#line 492 "chuck.y" +#line 490 "chuck.y" { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 130: -#line 494 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_and, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} +#line 492 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_or, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 131: -#line 498 "chuck.y" +#line 496 "chuck.y" { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 132: -#line 500 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_s_or, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} +#line 498 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_and, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 133: -#line 504 "chuck.y" +#line 502 "chuck.y" { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 134: -#line 506 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_s_xor, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} +#line 504 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_s_or, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 135: -#line 510 "chuck.y" +#line 508 "chuck.y" { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 136: -#line 512 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_s_and, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} +#line 510 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_s_xor, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 137: -#line 516 "chuck.y" +#line 514 "chuck.y" { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 138: -#line 518 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_eq, (yyvsp[(3) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} +#line 516 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_s_and, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 139: #line 520 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_neq, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} + { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 140: -#line 524 "chuck.y" - { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} +#line 522 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_eq, (yyvsp[(3) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 141: -#line 526 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_lt, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} +#line 524 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_neq, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 142: #line 528 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_gt, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} + { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 143: #line 530 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_le, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_lt, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 144: #line 532 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_ge, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_gt, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 145: -#line 536 "chuck.y" - { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} +#line 534 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_le, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 146: -#line 538 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_shift_left, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} +#line 536 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_ge, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 147: #line 540 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_shift_right, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} + { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 148: -#line 544 "chuck.y" - { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} +#line 542 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_shift_left, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 149: -#line 546 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_plus, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} +#line 544 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_shift_right, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 150: #line 548 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_minus, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} + { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 151: -#line 552 "chuck.y" - { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} +#line 550 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_plus, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 152: -#line 554 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_times, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} +#line 552 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_minus, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 153: #line 556 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_divide, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} + { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 154: #line 558 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_percent, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_times, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 155: -#line 562 "chuck.y" - { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} +#line 560 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_divide, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 156: -#line 564 "chuck.y" - { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_tilda, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} +#line 562 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_percent, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 157: -#line 568 "chuck.y" +#line 566 "chuck.y" { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 158: -#line 570 "chuck.y" - { (yyval.exp) = new_exp_from_cast( (yyvsp[(3) - (3)].type_decl), (yyvsp[(1) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column, (yylsp[(2) - (3)]).first_column ); ;} +#line 568 "chuck.y" + { (yyval.exp) = new_exp_from_binary( (yyvsp[(1) - (3)].exp), ae_op_tilda, (yyvsp[(3) - (3)].exp), (yylsp[(2) - (3)]).first_line, (yylsp[(2) - (3)]).first_column ); ;} break; case 159: -#line 574 "chuck.y" +#line 572 "chuck.y" { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 160: -#line 576 "chuck.y" - { (yyval.exp) = new_exp_from_unary( ae_op_plusplus, (yyvsp[(2) - (2)].exp), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} +#line 574 "chuck.y" + { (yyval.exp) = new_exp_from_cast( (yyvsp[(3) - (3)].type_decl), (yyvsp[(1) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column, (yylsp[(2) - (3)]).first_column ); ;} break; case 161: #line 578 "chuck.y" - { (yyval.exp) = new_exp_from_unary( ae_op_minusminus, (yyvsp[(2) - (2)].exp), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} + { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 162: #line 580 "chuck.y" - { (yyval.exp) = new_exp_from_unary( (yyvsp[(1) - (2)].ival), (yyvsp[(2) - (2)].exp), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} + { (yyval.exp) = new_exp_from_unary( ae_op_plusplus, (yyvsp[(2) - (2)].exp), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 163: #line 582 "chuck.y" - { (yyval.exp) = new_exp_from_unary( ae_op_typeof, (yyvsp[(2) - (2)].exp), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} + { (yyval.exp) = new_exp_from_unary( ae_op_minusminus, (yyvsp[(2) - (2)].exp), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 164: #line 584 "chuck.y" - { (yyval.exp) = new_exp_from_unary( ae_op_sizeof, (yyvsp[(2) - (2)].exp), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} + { (yyval.exp) = new_exp_from_unary( (yyvsp[(1) - (2)].ival), (yyvsp[(2) - (2)].exp), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 165: #line 586 "chuck.y" - { (yyval.exp) = new_exp_from_unary2( ae_op_new, (yyvsp[(2) - (2)].type_decl), NULL, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} + { (yyval.exp) = new_exp_from_unary( ae_op_typeof, (yyvsp[(2) - (2)].exp), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 166: #line 588 "chuck.y" - { (yyval.exp) = new_exp_from_unary2( ae_op_new, (yyvsp[(2) - (3)].type_decl), (yyvsp[(3) - (3)].array_sub), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} + { (yyval.exp) = new_exp_from_unary( ae_op_sizeof, (yyvsp[(2) - (2)].exp), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 167: -#line 594 "chuck.y" - { (yyval.ival) = ae_op_plus; ;} +#line 590 "chuck.y" + { (yyval.exp) = new_exp_from_unary2( ae_op_new, (yyvsp[(2) - (2)].type_decl), NULL, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 168: -#line 595 "chuck.y" - { (yyval.ival) = ae_op_minus; ;} +#line 592 "chuck.y" + { (yyval.exp) = new_exp_from_unary2( ae_op_new, (yyvsp[(2) - (3)].type_decl), (yyvsp[(3) - (3)].array_sub), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 169: -#line 596 "chuck.y" - { (yyval.ival) = ae_op_tilda; ;} +#line 598 "chuck.y" + { (yyval.ival) = ae_op_plus; ;} break; case 170: -#line 597 "chuck.y" - { (yyval.ival) = ae_op_exclamation; ;} +#line 599 "chuck.y" + { (yyval.ival) = ae_op_minus; ;} break; case 171: -#line 598 "chuck.y" - { (yyval.ival) = ae_op_times; ;} +#line 600 "chuck.y" + { (yyval.ival) = ae_op_tilda; ;} break; case 172: -#line 599 "chuck.y" - { (yyval.ival) = ae_op_spork; ;} +#line 601 "chuck.y" + { (yyval.ival) = ae_op_exclamation; ;} break; case 173: -#line 605 "chuck.y" - { (yyval.ival) = ae_op_chuck; ;} +#line 602 "chuck.y" + { (yyval.ival) = ae_op_times; ;} break; case 174: -#line 606 "chuck.y" - { (yyval.ival) = ae_op_plus; ;} +#line 603 "chuck.y" + { (yyval.ival) = ae_op_spork; ;} break; case 175: -#line 607 "chuck.y" - { (yyval.ival) = ae_op_minus; ;} +#line 609 "chuck.y" + { (yyval.ival) = ae_op_chuck; ;} break; case 176: -#line 608 "chuck.y" - { (yyval.ival) = ae_op_times; ;} +#line 610 "chuck.y" + { (yyval.ival) = ae_op_plus; ;} break; case 177: -#line 609 "chuck.y" - { (yyval.ival) = ae_op_divide; ;} +#line 611 "chuck.y" + { (yyval.ival) = ae_op_minus; ;} break; case 178: -#line 610 "chuck.y" - { (yyval.ival) = ae_op_percent; ;} +#line 612 "chuck.y" + { (yyval.ival) = ae_op_times; ;} break; case 179: -#line 611 "chuck.y" - { (yyval.ival) = ae_op_eq; ;} +#line 613 "chuck.y" + { (yyval.ival) = ae_op_divide; ;} break; case 180: -#line 612 "chuck.y" - { (yyval.ival) = ae_op_neq; ;} +#line 614 "chuck.y" + { (yyval.ival) = ae_op_percent; ;} break; case 181: -#line 613 "chuck.y" - { (yyval.ival) = ae_op_lt; ;} +#line 615 "chuck.y" + { (yyval.ival) = ae_op_eq; ;} break; case 182: -#line 614 "chuck.y" - { (yyval.ival) = ae_op_le; ;} +#line 616 "chuck.y" + { (yyval.ival) = ae_op_neq; ;} break; case 183: -#line 615 "chuck.y" - { (yyval.ival) = ae_op_gt; ;} +#line 617 "chuck.y" + { (yyval.ival) = ae_op_lt; ;} break; case 184: -#line 616 "chuck.y" - { (yyval.ival) = ae_op_ge; ;} +#line 618 "chuck.y" + { (yyval.ival) = ae_op_le; ;} break; case 185: -#line 617 "chuck.y" - { (yyval.ival) = ae_op_and; ;} +#line 619 "chuck.y" + { (yyval.ival) = ae_op_gt; ;} break; case 186: -#line 618 "chuck.y" - { (yyval.ival) = ae_op_or; ;} +#line 620 "chuck.y" + { (yyval.ival) = ae_op_ge; ;} break; case 187: -#line 619 "chuck.y" - { (yyval.ival) = ae_op_assign; ;} +#line 621 "chuck.y" + { (yyval.ival) = ae_op_and; ;} break; case 188: -#line 620 "chuck.y" - { (yyval.ival) = ae_op_exclamation; ;} +#line 622 "chuck.y" + { (yyval.ival) = ae_op_or; ;} break; case 189: -#line 621 "chuck.y" - { (yyval.ival) = ae_op_s_or; ;} +#line 623 "chuck.y" + { (yyval.ival) = ae_op_assign; ;} break; case 190: -#line 622 "chuck.y" - { (yyval.ival) = ae_op_s_and; ;} +#line 624 "chuck.y" + { (yyval.ival) = ae_op_exclamation; ;} break; case 191: -#line 623 "chuck.y" - { (yyval.ival) = ae_op_s_xor; ;} +#line 625 "chuck.y" + { (yyval.ival) = ae_op_s_or; ;} break; case 192: -#line 624 "chuck.y" - { (yyval.ival) = ae_op_plusplus; ;} +#line 626 "chuck.y" + { (yyval.ival) = ae_op_s_and; ;} break; case 193: -#line 625 "chuck.y" - { (yyval.ival) = ae_op_minusminus; ;} +#line 627 "chuck.y" + { (yyval.ival) = ae_op_s_xor; ;} break; case 194: -#line 626 "chuck.y" - { (yyval.ival) = ae_op_dollar; ;} +#line 628 "chuck.y" + { (yyval.ival) = ae_op_plusplus; ;} break; case 195: -#line 627 "chuck.y" - { (yyval.ival) = ae_op_at_at; ;} +#line 629 "chuck.y" + { (yyval.ival) = ae_op_minusminus; ;} break; case 196: -#line 628 "chuck.y" - { (yyval.ival) = ae_op_plus_chuck; ;} +#line 630 "chuck.y" + { (yyval.ival) = ae_op_dollar; ;} break; case 197: -#line 629 "chuck.y" - { (yyval.ival) = ae_op_minus_chuck; ;} +#line 631 "chuck.y" + { (yyval.ival) = ae_op_at_at; ;} break; case 198: -#line 630 "chuck.y" - { (yyval.ival) = ae_op_times_chuck; ;} +#line 632 "chuck.y" + { (yyval.ival) = ae_op_plus_chuck; ;} break; case 199: -#line 631 "chuck.y" - { (yyval.ival) = ae_op_divide_chuck; ;} +#line 633 "chuck.y" + { (yyval.ival) = ae_op_minus_chuck; ;} break; case 200: -#line 632 "chuck.y" - { (yyval.ival) = ae_op_s_and_chuck; ;} +#line 634 "chuck.y" + { (yyval.ival) = ae_op_times_chuck; ;} break; case 201: -#line 633 "chuck.y" - { (yyval.ival) = ae_op_s_or_chuck; ;} +#line 635 "chuck.y" + { (yyval.ival) = ae_op_divide_chuck; ;} break; case 202: -#line 634 "chuck.y" - { (yyval.ival) = ae_op_s_xor_chuck; ;} +#line 636 "chuck.y" + { (yyval.ival) = ae_op_s_and_chuck; ;} break; case 203: -#line 635 "chuck.y" - { (yyval.ival) = ae_op_shift_right_chuck; ;} +#line 637 "chuck.y" + { (yyval.ival) = ae_op_s_or_chuck; ;} break; case 204: -#line 636 "chuck.y" - { (yyval.ival) = ae_op_shift_left_chuck; ;} +#line 638 "chuck.y" + { (yyval.ival) = ae_op_s_xor_chuck; ;} break; case 205: -#line 637 "chuck.y" - { (yyval.ival) = ae_op_percent_chuck; ;} +#line 639 "chuck.y" + { (yyval.ival) = ae_op_shift_right_chuck; ;} break; case 206: -#line 638 "chuck.y" - { (yyval.ival) = ae_op_shift_right; ;} +#line 640 "chuck.y" + { (yyval.ival) = ae_op_shift_left_chuck; ;} break; case 207: -#line 639 "chuck.y" - { (yyval.ival) = ae_op_shift_left; ;} +#line 641 "chuck.y" + { (yyval.ival) = ae_op_percent_chuck; ;} break; case 208: -#line 640 "chuck.y" - { (yyval.ival) = ae_op_tilda; ;} +#line 642 "chuck.y" + { (yyval.ival) = ae_op_shift_right; ;} break; case 209: -#line 641 "chuck.y" - { (yyval.ival) = ae_op_coloncolon; ;} +#line 643 "chuck.y" + { (yyval.ival) = ae_op_shift_left; ;} break; case 210: -#line 642 "chuck.y" - { (yyval.ival) = ae_op_at_chuck; ;} +#line 644 "chuck.y" + { (yyval.ival) = ae_op_tilda; ;} break; case 211: -#line 643 "chuck.y" - { (yyval.ival) = ae_op_unchuck; ;} +#line 645 "chuck.y" + { (yyval.ival) = ae_op_coloncolon; ;} break; case 212: -#line 644 "chuck.y" - { (yyval.ival) = ae_op_upchuck; ;} +#line 646 "chuck.y" + { (yyval.ival) = ae_op_at_chuck; ;} break; case 213: -#line 645 "chuck.y" - { (yyval.ival) = ae_op_arrow_right; ;} +#line 647 "chuck.y" + { (yyval.ival) = ae_op_unchuck; ;} break; case 214: -#line 646 "chuck.y" - { (yyval.ival) = ae_op_arrow_left; ;} +#line 648 "chuck.y" + { (yyval.ival) = ae_op_upchuck; ;} break; case 215: -#line 647 "chuck.y" - { (yyval.ival) = ae_op_gruck_right; ;} +#line 649 "chuck.y" + { (yyval.ival) = ae_op_arrow_right; ;} break; case 216: -#line 648 "chuck.y" - { (yyval.ival) = ae_op_gruck_left; ;} +#line 650 "chuck.y" + { (yyval.ival) = ae_op_arrow_left; ;} break; case 217: -#line 649 "chuck.y" - { (yyval.ival) = ae_op_ungruck_right; ;} +#line 651 "chuck.y" + { (yyval.ival) = ae_op_gruck_right; ;} break; case 218: -#line 650 "chuck.y" - { (yyval.ival) = ae_op_ungruck_left; ;} +#line 652 "chuck.y" + { (yyval.ival) = ae_op_gruck_left; ;} break; - case 220: -#line 656 "chuck.y" - { (yyval.exp) = new_exp_from_dur( (yyvsp[(1) - (3)].exp), (yyvsp[(3) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} + case 219: +#line 653 "chuck.y" + { (yyval.ival) = ae_op_ungruck_right; ;} break; - case 221: -#line 660 "chuck.y" - { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} + case 220: +#line 654 "chuck.y" + { (yyval.ival) = ae_op_ungruck_left; ;} break; case 222: -#line 662 "chuck.y" - { (yyval.exp) = new_exp_from_array( (yyvsp[(1) - (2)].exp), (yyvsp[(2) - (2)].array_sub), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} +#line 660 "chuck.y" + { (yyval.exp) = new_exp_from_dur( (yyvsp[(1) - (3)].exp), (yyvsp[(3) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 223: #line 664 "chuck.y" - { (yyval.exp) = new_exp_from_func_call( (yyvsp[(1) - (3)].exp), NULL, (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} + { (yyval.exp) = (yyvsp[(1) - (1)].exp); ;} break; case 224: #line 666 "chuck.y" - { (yyval.exp) = new_exp_from_func_call( (yyvsp[(1) - (4)].exp), (yyvsp[(3) - (4)].exp), (yylsp[(1) - (4)]).first_line, (yylsp[(1) - (4)]).first_column ); ;} + { (yyval.exp) = new_exp_from_array( (yyvsp[(1) - (2)].exp), (yyvsp[(2) - (2)].array_sub), (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 225: #line 668 "chuck.y" - { (yyval.exp) = new_exp_from_member_dot( (yyvsp[(1) - (3)].exp), (yyvsp[(3) - (3)].sval), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column, (yylsp[(3) - (3)]).first_column ); ;} + { (yyval.exp) = new_exp_from_func_call( (yyvsp[(1) - (3)].exp), NULL, (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} break; case 226: #line 670 "chuck.y" - { (yyval.exp) = new_exp_from_postfix( (yyvsp[(1) - (2)].exp), ae_op_plusplus, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} + { (yyval.exp) = new_exp_from_func_call( (yyvsp[(1) - (4)].exp), (yyvsp[(3) - (4)].exp), (yylsp[(1) - (4)]).first_line, (yylsp[(1) - (4)]).first_column ); ;} break; case 227: #line 672 "chuck.y" - { (yyval.exp) = new_exp_from_postfix( (yyvsp[(1) - (2)].exp), ae_op_minusminus, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} + { (yyval.exp) = new_exp_from_member_dot( (yyvsp[(1) - (3)].exp), (yyvsp[(3) - (3)].sval), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column, (yylsp[(3) - (3)]).first_column ); ;} break; case 228: -#line 677 "chuck.y" - { (yyval.exp) = new_exp_from_id( (yyvsp[(1) - (1)].sval), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} +#line 674 "chuck.y" + { (yyval.exp) = new_exp_from_postfix( (yyvsp[(1) - (2)].exp), ae_op_plusplus, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 229: -#line 678 "chuck.y" - { (yyval.exp) = new_exp_from_int( (yyvsp[(1) - (1)].ival), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} +#line 676 "chuck.y" + { (yyval.exp) = new_exp_from_postfix( (yyvsp[(1) - (2)].exp), ae_op_minusminus, (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; case 230: -#line 679 "chuck.y" - { (yyval.exp) = new_exp_from_float( (yyvsp[(1) - (1)].fval), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} +#line 681 "chuck.y" + { (yyval.exp) = new_exp_from_id( (yyvsp[(1) - (1)].sval), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} break; case 231: -#line 680 "chuck.y" - { (yyval.exp) = new_exp_from_str( (yyvsp[(1) - (1)].sval), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} +#line 682 "chuck.y" + { (yyval.exp) = new_exp_from_int( (yyvsp[(1) - (1)].ival), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} break; case 232: -#line 681 "chuck.y" - { (yyval.exp) = new_exp_from_char( (yyvsp[(1) - (1)].sval), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} +#line 683 "chuck.y" + { (yyval.exp) = new_exp_from_float( (yyvsp[(1) - (1)].fval), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} break; case 233: -#line 682 "chuck.y" - { (yyval.exp) = new_exp_from_array_lit( (yyvsp[(1) - (1)].array_sub), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} +#line 684 "chuck.y" + { (yyval.exp) = new_exp_from_str( (yyvsp[(1) - (1)].sval), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} break; case 234: -#line 683 "chuck.y" - { (yyval.exp) = new_exp_from_complex( (yyvsp[(1) - (1)].complex_exp), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} +#line 685 "chuck.y" + { (yyval.exp) = new_exp_from_char( (yyvsp[(1) - (1)].sval), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} break; case 235: -#line 684 "chuck.y" - { (yyval.exp) = new_exp_from_polar( (yyvsp[(1) - (1)].polar_exp), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} +#line 686 "chuck.y" + { (yyval.exp) = new_exp_from_array_lit( (yyvsp[(1) - (1)].array_sub), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} break; case 236: -#line 685 "chuck.y" - { (yyval.exp) = new_exp_from_vec( (yyvsp[(1) - (1)].vec_exp), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} +#line 687 "chuck.y" + { (yyval.exp) = new_exp_from_complex( (yyvsp[(1) - (1)].complex_exp), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} break; case 237: -#line 686 "chuck.y" - { (yyval.exp) = new_exp_from_hack( (yyvsp[(2) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} +#line 688 "chuck.y" + { (yyval.exp) = new_exp_from_polar( (yyvsp[(1) - (1)].polar_exp), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} break; case 238: -#line 687 "chuck.y" - { (yyval.exp) = (yyvsp[(2) - (3)].exp); ;} +#line 689 "chuck.y" + { (yyval.exp) = new_exp_from_vec( (yyvsp[(1) - (1)].vec_exp), (yylsp[(1) - (1)]).first_line, (yylsp[(1) - (1)]).first_column ); ;} break; case 239: -#line 688 "chuck.y" +#line 690 "chuck.y" + { (yyval.exp) = new_exp_from_hack( (yyvsp[(2) - (3)].exp), (yylsp[(1) - (3)]).first_line, (yylsp[(1) - (3)]).first_column ); ;} + break; + + case 240: +#line 691 "chuck.y" + { (yyval.exp) = (yyvsp[(2) - (3)].exp); ;} + break; + + case 241: +#line 692 "chuck.y" { (yyval.exp) = new_exp_from_nil( (yylsp[(1) - (2)]).first_line, (yylsp[(1) - (2)]).first_column ); ;} break; /* Line 1267 of yacc.c. */ -#line 3486 "chuck.tab.c" +#line 3540 "chuck.tab.c" default: break; } YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);