/* A Bison parser, made from c-parse.y with Bison version GNU Bison version 1.22 */ #define YYBISON 1 /* Identify Bison output. */ #define IDENTIFIER 258 #define TYPENAME 259 #define SCSPEC 260 #define TYPESPEC 261 #define TYPE_QUAL 262 #define CONSTANT 263 #define STRING 264 #define ELLIPSIS 265 #define SIZEOF 266 #define ENUM 267 #define STRUCT 268 #define UNION 269 #define IF 270 #define ELSE 271 #define WHILE 272 #define DO 273 #define FOR 274 #define SWITCH 275 #define CASE 276 #define DEFAULT 277 #define BREAK 278 #define CONTINUE 279 #define RETURN 280 #define GOTO 281 #define ASM_KEYWORD 282 #define TYPEOF 283 #define ALIGNOF 284 #define ATTRIBUTE 285 #define EXTENSION 286 #define LABEL 287 #define REALPART 288 #define IMAGPART 289 #define ASSIGN 290 #define OROR 291 #define ANDAND 292 #define EQCOMPARE 293 #define ARITHCOMPARE 294 #define LSHIFT 295 #define RSHIFT 296 #define UNARY 297 #define PLUSPLUS 298 #define MINUSMINUS 299 #define HYPERUNARY 300 #define POINTSAT 301 #define INTERFACE 302 #define IMPLEMENTATION 303 #define END 304 #define SELECTOR 305 #define DEFS 306 #define ENCODE 307 #define CLASSNAME 308 #define PUBLIC 309 #define PRIVATE 310 #define PROTECTED 311 #define PROTOCOL 312 #define OBJECTNAME 313 #define CLASS 314 #define ALIAS 315 #define OBJC_STRING 316 #line 55 "c-parse.y" #include #include #include #include "config.h" #include "tree.h" #include "input.h" #include "c-lex.h" #include "c-tree.h" #include "flags.h" #ifdef MULTIBYTE_CHARS #include #include #endif /* Since parsers are distinct for each language, put the language string definition here. */ char *language_string = "GNU C"; #ifndef errno extern int errno; #endif void yyerror (); /* Like YYERROR but do call yyerror. */ #define YYERROR1 { yyerror ("syntax error"); YYERROR; } /* Cause the `yydebug' variable to be defined. */ #define YYDEBUG 1 #line 92 "c-parse.y" typedef union {long itype; tree ttype; enum tree_code code; char *filename; int lineno; int ends_in_label; } YYSTYPE; #line 206 "c-parse.y" /* Number of statements (loosely speaking) seen so far. */ static int stmt_count; /* Input file and line number of the end of the body of last simple_if; used by the stmt-rule immediately after simple_if returns. */ static char *if_stmt_file; static int if_stmt_line; /* List of types and structure classes of the current declaration. */ static tree current_declspecs; static tree prefix_attributes = NULL_TREE; /* Stack of saved values of current_declspecs and prefix_attributes. */ static tree declspec_stack; /* 1 if we explained undeclared var errors. */ static int undeclared_variable_notice; /* Tell yyparse how to print a token's value, if yydebug is set. */ #define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL) extern void yyprint (); #ifndef YYLTYPE typedef struct yyltype { int timestamp; int first_line; int first_column; int last_line; int last_column; char *text; } yyltype; #define YYLTYPE yyltype #endif #include #ifndef __cplusplus #ifndef __STDC__ #define const #endif #endif #define YYFINAL 658 #define YYFLAG -32768 #define YYNTBASE 84 #define YYTRANSLATE(x) ((unsigned)(x) <= 316 ? yytranslate[x] : 228) static const char yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 80, 2, 2, 2, 52, 43, 2, 59, 76, 50, 48, 81, 49, 58, 51, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 38, 77, 2, 36, 2, 37, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 60, 2, 83, 42, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 82, 41, 78, 79, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 39, 40, 44, 45, 46, 47, 53, 54, 55, 56, 57, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75 }; #if YYDEBUG != 0 static const short yyprhs[] = { 0, 0, 1, 3, 4, 7, 8, 12, 14, 16, 22, 26, 31, 36, 39, 42, 45, 48, 50, 51, 52, 60, 65, 66, 67, 75, 80, 81, 82, 89, 93, 95, 97, 99, 101, 103, 105, 107, 109, 111, 113, 114, 116, 118, 122, 124, 127, 128, 132, 135, 138, 141, 146, 149, 154, 157, 160, 162, 167, 168, 176, 178, 182, 186, 190, 194, 198, 202, 206, 210, 214, 218, 222, 226, 230, 234, 240, 244, 248, 250, 252, 254, 258, 262, 263, 268, 273, 278, 282, 286, 289, 292, 294, 297, 298, 300, 303, 307, 309, 311, 314, 317, 322, 327, 330, 333, 337, 339, 341, 344, 347, 348, 349, 354, 359, 363, 367, 370, 373, 376, 380, 381, 384, 387, 389, 391, 394, 397, 400, 404, 405, 408, 410, 412, 414, 419, 424, 426, 428, 430, 432, 436, 438, 442, 443, 448, 449, 456, 460, 461, 468, 472, 473, 475, 477, 480, 487, 489, 493, 494, 496, 501, 508, 513, 515, 517, 519, 521, 523, 524, 529, 531, 532, 535, 537, 541, 543, 544, 549, 551, 552, 561, 562, 569, 570, 576, 577, 582, 583, 589, 590, 591, 597, 598, 599, 605, 607, 609, 613, 617, 622, 626, 630, 634, 636, 640, 645, 649, 653, 657, 659, 663, 667, 671, 676, 680, 684, 686, 687, 695, 701, 704, 705, 713, 719, 722, 723, 732, 733, 741, 744, 745, 747, 748, 750, 752, 755, 756, 760, 763, 767, 769, 773, 775, 777, 779, 783, 788, 795, 801, 803, 807, 809, 811, 815, 818, 821, 822, 824, 826, 829, 830, 833, 837, 841, 844, 848, 853, 857, 860, 864, 867, 871, 873, 875, 878, 881, 882, 884, 887, 888, 889, 891, 893, 896, 900, 902, 905, 908, 915, 921, 927, 930, 933, 938, 939, 944, 945, 946, 950, 955, 959, 961, 963, 965, 967, 970, 971, 976, 978, 982, 983, 984, 992, 998, 1001, 1002, 1003, 1004, 1017, 1018, 1025, 1028, 1031, 1034, 1038, 1045, 1054, 1065, 1078, 1082, 1087, 1089, 1091, 1092, 1099, 1103, 1109, 1112, 1115, 1116, 1118, 1119, 1121, 1122, 1124, 1126, 1130, 1135, 1137, 1141, 1142, 1145, 1148, 1149, 1154, 1157, 1158, 1160, 1162, 1166, 1168, 1172, 1177, 1182, 1187, 1192, 1197, 1198, 1201, 1203, 1206, 1208, 1212, 1214 }; static const short yyrhs[] = { -1, 85, 0, 0, 86, 88, 0, 0, 85, 87, 88, 0, 90, 0, 89, 0, 27, 59, 99, 76, 77, 0, 116, 127, 77, 0, 121, 116, 127, 77, 0, 119, 116, 126, 77, 0, 121, 77, 0, 119, 77, 0, 1, 77, 0, 1, 78, 0, 77, 0, 0, 0, 119, 116, 156, 91, 110, 92, 187, 0, 119, 116, 156, 1, 0, 0, 0, 121, 116, 159, 93, 110, 94, 187, 0, 121, 116, 159, 1, 0, 0, 0, 116, 159, 95, 110, 96, 187, 0, 116, 159, 1, 0, 3, 0, 4, 0, 43, 0, 49, 0, 48, 0, 54, 0, 55, 0, 79, 0, 80, 0, 101, 0, 0, 101, 0, 106, 0, 101, 81, 106, 0, 107, 0, 50, 104, 0, 0, 31, 103, 104, 0, 98, 104, 0, 40, 97, 0, 11, 102, 0, 11, 59, 174, 76, 0, 29, 102, 0, 29, 59, 174, 76, 0, 33, 104, 0, 34, 104, 0, 102, 0, 59, 174, 76, 104, 0, 0, 59, 174, 76, 82, 105, 141, 78, 0, 104, 0, 106, 48, 106, 0, 106, 49, 106, 0, 106, 50, 106, 0, 106, 51, 106, 0, 106, 52, 106, 0, 106, 46, 106, 0, 106, 47, 106, 0, 106, 45, 106, 0, 106, 44, 106, 0, 106, 43, 106, 0, 106, 41, 106, 0, 106, 42, 106, 0, 106, 40, 106, 0, 106, 39, 106, 0, 106, 37, 211, 38, 106, 0, 106, 36, 106, 0, 106, 35, 106, 0, 3, 0, 8, 0, 109, 0, 59, 99, 76, 0, 59, 1, 76, 0, 0, 59, 108, 188, 76, 0, 107, 59, 100, 76, 0, 107, 60, 99, 83, 0, 107, 58, 97, 0, 107, 57, 97, 0, 107, 54, 0, 107, 55, 0, 9, 0, 109, 9, 0, 0, 112, 0, 112, 10, 0, 193, 194, 113, 0, 111, 0, 182, 0, 112, 111, 0, 111, 182, 0, 119, 116, 126, 77, 0, 121, 116, 127, 77, 0, 119, 77, 0, 121, 77, 0, 193, 194, 118, 0, 114, 0, 182, 0, 115, 114, 0, 114, 182, 0, 0, 0, 119, 116, 126, 77, 0, 121, 116, 127, 77, 0, 119, 116, 150, 0, 121, 116, 153, 0, 119, 77, 0, 121, 77, 0, 124, 120, 0, 121, 124, 120, 0, 0, 120, 125, 0, 120, 5, 0, 7, 0, 5, 0, 121, 7, 0, 121, 5, 0, 124, 123, 0, 176, 124, 123, 0, 0, 123, 125, 0, 6, 0, 160, 0, 4, 0, 28, 59, 99, 76, 0, 28, 59, 174, 76, 0, 6, 0, 7, 0, 160, 0, 129, 0, 126, 81, 129, 0, 131, 0, 127, 81, 129, 0, 0, 27, 59, 109, 76, 0, 0, 156, 128, 133, 36, 130, 139, 0, 156, 128, 133, 0, 0, 159, 128, 133, 36, 132, 139, 0, 159, 128, 133, 0, 0, 134, 0, 135, 0, 134, 135, 0, 30, 59, 59, 136, 76, 76, 0, 137, 0, 136, 81, 137, 0, 0, 138, 0, 138, 59, 3, 76, 0, 138, 59, 3, 81, 101, 76, 0, 138, 59, 100, 76, 0, 97, 0, 5, 0, 6, 0, 7, 0, 106, 0, 0, 82, 140, 141, 78, 0, 1, 0, 0, 142, 165, 0, 143, 0, 142, 81, 143, 0, 106, 0, 0, 82, 144, 141, 78, 0, 1, 0, 0, 60, 106, 10, 106, 83, 36, 145, 143, 0, 0, 60, 106, 83, 36, 146, 143, 0, 0, 60, 106, 83, 147, 143, 0, 0, 97, 38, 148, 143, 0, 0, 58, 97, 36, 149, 143, 0, 0, 0, 156, 151, 110, 152, 188, 0, 0, 0, 159, 154, 110, 155, 188, 0, 157, 0, 159, 0, 59, 157, 76, 0, 157, 59, 223, 0, 157, 60, 99, 83, 0, 157, 60, 83, 0, 50, 177, 157, 0, 134, 117, 157, 0, 4, 0, 158, 59, 223, 0, 158, 60, 99, 83, 0, 158, 60, 83, 0, 50, 177, 158, 0, 134, 117, 158, 0, 4, 0, 159, 59, 223, 0, 59, 159, 76, 0, 50, 177, 159, 0, 159, 60, 99, 83, 0, 159, 60, 83, 0, 134, 117, 159, 0, 3, 0, 0, 13, 97, 82, 161, 167, 78, 133, 0, 13, 82, 167, 78, 133, 0, 13, 97, 0, 0, 14, 97, 82, 162, 167, 78, 133, 0, 14, 82, 167, 78, 133, 0, 14, 97, 0, 0, 12, 97, 82, 163, 172, 166, 78, 133, 0, 0, 12, 82, 164, 172, 166, 78, 133, 0, 12, 97, 0, 0, 81, 0, 0, 81, 0, 168, 0, 168, 169, 0, 0, 168, 169, 77, 0, 168, 77, 0, 122, 116, 170, 0, 122, 0, 176, 116, 170, 0, 176, 0, 1, 0, 171, 0, 170, 81, 171, 0, 193, 194, 156, 133, 0, 193, 194, 156, 38, 106, 133, 0, 193, 194, 38, 106, 133, 0, 173, 0, 172, 81, 173, 0, 1, 0, 97, 0, 97, 36, 106, 0, 122, 175, 0, 176, 175, 0, 0, 178, 0, 7, 0, 176, 7, 0, 0, 177, 7, 0, 59, 178, 76, 0, 50, 177, 178, 0, 50, 177, 0, 178, 59, 216, 0, 178, 60, 99, 83, 0, 178, 60, 83, 0, 59, 216, 0, 60, 99, 83, 0, 60, 83, 0, 134, 117, 178, 0, 180, 0, 196, 0, 180, 196, 0, 180, 182, 0, 0, 179, 0, 1, 77, 0, 0, 0, 185, 0, 186, 0, 185, 186, 0, 32, 227, 77, 0, 188, 0, 1, 188, 0, 82, 78, 0, 82, 183, 184, 115, 181, 78, 0, 82, 183, 184, 1, 78, 0, 82, 183, 184, 179, 78, 0, 190, 195, 0, 190, 1, 0, 15, 59, 99, 76, 0, 0, 18, 192, 195, 17, 0, 0, 0, 193, 194, 198, 0, 193, 194, 209, 195, 0, 193, 194, 197, 0, 198, 0, 209, 0, 188, 0, 206, 0, 99, 77, 0, 0, 189, 16, 199, 195, 0, 189, 0, 189, 16, 1, 0, 0, 0, 17, 200, 59, 99, 76, 201, 195, 0, 191, 59, 99, 76, 77, 0, 191, 1, 0, 0, 0, 0, 19, 59, 211, 77, 202, 211, 77, 203, 211, 76, 204, 195, 0, 0, 20, 59, 99, 76, 205, 195, 0, 23, 77, 0, 24, 77, 0, 25, 77, 0, 25, 99, 77, 0, 27, 210, 59, 99, 76, 77, 0, 27, 210, 59, 99, 38, 212, 76, 77, 0, 27, 210, 59, 99, 38, 212, 38, 212, 76, 77, 0, 27, 210, 59, 99, 38, 212, 38, 212, 38, 215, 76, 77, 0, 26, 97, 77, 0, 26, 50, 99, 77, 0, 77, 0, 207, 0, 0, 19, 59, 107, 76, 208, 195, 0, 21, 106, 38, 0, 21, 106, 10, 106, 38, 0, 22, 38, 0, 97, 38, 0, 0, 7, 0, 0, 99, 0, 0, 213, 0, 214, 0, 213, 81, 214, 0, 9, 59, 99, 76, 0, 109, 0, 215, 81, 109, 0, 0, 217, 218, 0, 220, 76, 0, 0, 221, 77, 219, 218, 0, 1, 76, 0, 0, 10, 0, 221, 0, 221, 81, 10, 0, 222, 0, 221, 81, 222, 0, 119, 116, 158, 133, 0, 119, 116, 159, 133, 0, 119, 116, 175, 133, 0, 121, 116, 159, 133, 0, 121, 116, 175, 133, 0, 0, 224, 225, 0, 218, 0, 226, 76, 0, 3, 0, 226, 81, 3, 0, 97, 0, 227, 81, 97, 0 }; #endif #if YYDEBUG != 0 static const short yyrline[] = { 0, 233, 238, 252, 254, 254, 255, 257, 259, 260, 270, 281, 286, 291, 293, 295, 296, 297, 302, 309, 311, 316, 321, 327, 329, 334, 339, 345, 347, 352, 359, 361, 364, 366, 368, 370, 372, 374, 376, 380, 384, 387, 390, 393, 397, 399, 402, 405, 408, 412, 440, 445, 447, 449, 451, 453, 457, 459, 462, 466, 493, 495, 497, 499, 501, 503, 505, 507, 509, 511, 513, 515, 517, 519, 521, 523, 525, 528, 534, 633, 634, 636, 642, 644, 658, 681, 683, 685, 689, 695, 697, 702, 704, 709, 711, 712, 722, 727, 729, 730, 731, 734, 740, 745, 748, 756, 761, 763, 764, 765, 772, 782, 786, 792, 797, 802, 807, 809, 817, 820, 824, 826, 828, 839, 843, 845, 848, 861, 864, 868, 870, 878, 879, 880, 884, 886, 892, 893, 894, 897, 899, 902, 904, 907, 910, 916, 923, 925, 932, 939, 942, 949, 952, 956, 959, 963, 968, 971, 975, 978, 980, 982, 984, 991, 993, 994, 995, 1000, 1002, 1007, 1015, 1020, 1024, 1027, 1029, 1034, 1037, 1039, 1041, 1045, 1048, 1048, 1051, 1051, 1054, 1054, 1057, 1057, 1060, 1062, 1073, 1081, 1085, 1096, 1104, 1111, 1113, 1118, 1121, 1126, 1128, 1130, 1132, 1134, 1142, 1148, 1150, 1152, 1154, 1156, 1162, 1168, 1170, 1172, 1174, 1176, 1178, 1181, 1186, 1188, 1192, 1194, 1196, 1198, 1202, 1204, 1207, 1210, 1213, 1216, 1220, 1222, 1225, 1227, 1231, 1234, 1239, 1241, 1243, 1257, 1264, 1269, 1275, 1280, 1284, 1286, 1290, 1294, 1298, 1308, 1310, 1315, 1320, 1323, 1327, 1330, 1334, 1337, 1340, 1343, 1347, 1350, 1354, 1358, 1360, 1362, 1364, 1366, 1368, 1370, 1372, 1374, 1382, 1390, 1392, 1394, 1398, 1400, 1403, 1406, 1417, 1419, 1424, 1426, 1429, 1443, 1446, 1449, 1451, 1459, 1467, 1478, 1483, 1486, 1499, 1507, 1511, 1515, 1519, 1525, 1529, 1534, 1537, 1542, 1545, 1546, 1563, 1568, 1571, 1583, 1585, 1595, 1605, 1606, 1614, 1617, 1629, 1633, 1650, 1660, 1669, 1674, 1679, 1684, 1688, 1692, 1703, 1710, 1717, 1724, 1735, 1739, 1742, 1747, 1770, 1804, 1829, 1858, 1873, 1884, 1888, 1892, 1895, 1900, 1902, 1905, 1907, 1911, 1916, 1919, 1925, 1930, 1935, 1937, 1946, 1947, 1953, 1955, 1965, 1967, 1971, 1974, 1980, 1990, 1999, 2008, 2018, 2032, 2037, 2042, 2044, 2053, 2056, 2061, 2064 }; static const char * const yytname[] = { "$","error","$illegal.","IDENTIFIER", "TYPENAME","SCSPEC","TYPESPEC","TYPE_QUAL","CONSTANT","STRING","ELLIPSIS","SIZEOF", "ENUM","STRUCT","UNION","IF","ELSE","WHILE","DO","FOR","SWITCH","CASE","DEFAULT", "BREAK","CONTINUE","RETURN","GOTO","ASM_KEYWORD","TYPEOF","ALIGNOF","ATTRIBUTE", "EXTENSION","LABEL","REALPART","IMAGPART","ASSIGN","'='","'?'","':'","OROR", "ANDAND","'|'","'^'","'&'","EQCOMPARE","ARITHCOMPARE","LSHIFT","RSHIFT","'+'", "'-'","'*'","'/'","'%'","UNARY","PLUSPLUS","MINUSMINUS","HYPERUNARY","POINTSAT", "'.'","'('","'['","INTERFACE","IMPLEMENTATION","END","SELECTOR","DEFS","ENCODE", "CLASSNAME","PUBLIC","PRIVATE","PROTECTED","PROTOCOL","OBJECTNAME","CLASS","ALIAS", "OBJC_STRING","')'","';'","'}'","'~'","'!'","','","'{'","']'","program","extdefs", "@1","@2","extdef","datadef","fndef","@3","@4","@5","@6","@7","@8","identifier", "unop","expr","exprlist","nonnull_exprlist","unary_expr","@9","cast_expr","@10", "expr_no_commas","primary","@11","string","xdecls","lineno_datadecl","datadecls", "datadecl","lineno_decl","decls","setspecs","setattrs","decl","typed_declspecs", "reserved_declspecs","declmods","typed_typespecs","reserved_typespecquals","typespec", "typespecqual_reserved","initdecls","notype_initdecls","maybeasm","initdcl", "@12","notype_initdcl","@13","maybe_attribute","attributes","attribute","attribute_list", "attrib","any_word","init","@14","initlist_maybe_comma","initlist1","initelt", "@15","@16","@17","@18","@19","@20","nested_function","@21","@22","notype_nested_function", "@23","@24","declarator","after_type_declarator","parm_declarator","notype_declarator", "structsp","@25","@26","@27","@28","maybecomma","maybecomma_warn","component_decl_list", "component_decl_list2","component_decl","components","component_declarator", "enumlist","enumerator","typename","absdcl","nonempty_type_quals","type_quals", "absdcl1","stmts","lineno_stmt_or_labels","xstmts","errstmt","pushlevel","maybe_label_decls", "label_decls","label_decl","compstmt_or_error","compstmt","simple_if","if_prefix", "do_stmt_start","@29","save_filename","save_lineno","lineno_labeled_stmt","lineno_stmt_or_label", "stmt_or_label","stmt","@30","@31","@32","@33","@34","@35","@36","all_iter_stmt", "all_iter_stmt_simple","@37","label","maybe_type_qual","xexpr","asm_operands", "nonnull_asm_operands","asm_operand","asm_clobbers","parmlist","@38","parmlist_1", "@39","parmlist_2","parms","parm","parmlist_or_identifiers","@40","parmlist_or_identifiers_1", "identifiers","identifiers_or_typenames","" }; #endif static const short yyr1[] = { 0, 84, 84, 86, 85, 87, 85, 88, 88, 88, 89, 89, 89, 89, 89, 89, 89, 89, 91, 92, 90, 90, 93, 94, 90, 90, 95, 96, 90, 90, 97, 97, 98, 98, 98, 98, 98, 98, 98, 99, 100, 100, 101, 101, 102, 102, 103, 102, 102, 102, 102, 102, 102, 102, 102, 102, 104, 104, 105, 104, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 107, 107, 107, 107, 107, 108, 107, 107, 107, 107, 107, 107, 107, 109, 109, 110, 110, 110, 111, 112, 112, 112, 112, 113, 113, 113, 113, 114, 115, 115, 115, 115, 116, 117, 118, 118, 118, 118, 118, 118, 119, 119, 120, 120, 120, 121, 121, 121, 121, 122, 122, 123, 123, 124, 124, 124, 124, 124, 125, 125, 125, 126, 126, 127, 127, 128, 128, 130, 129, 129, 132, 131, 131, 133, 133, 134, 134, 135, 136, 136, 137, 137, 137, 137, 137, 138, 138, 138, 138, 139, 140, 139, 139, 141, 141, 142, 142, 143, 144, 143, 143, 145, 143, 146, 143, 147, 143, 148, 143, 149, 143, 151, 152, 150, 154, 155, 153, 156, 156, 157, 157, 157, 157, 157, 157, 157, 158, 158, 158, 158, 158, 158, 159, 159, 159, 159, 159, 159, 159, 161, 160, 160, 160, 162, 160, 160, 160, 163, 160, 164, 160, 160, 165, 165, 166, 166, 167, 167, 168, 168, 168, 169, 169, 169, 169, 169, 170, 170, 171, 171, 171, 172, 172, 172, 173, 173, 174, 174, 175, 175, 176, 176, 177, 177, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 179, 180, 180, 180, 181, 181, 182, 183, 184, 184, 185, 185, 186, 187, 187, 188, 188, 188, 188, 189, 189, 190, 192, 191, 193, 194, 195, 195, 196, 197, 197, 198, 198, 198, 199, 198, 198, 198, 200, 201, 198, 198, 198, 202, 203, 204, 198, 205, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 206, 208, 207, 209, 209, 209, 209, 210, 210, 211, 211, 212, 212, 213, 213, 214, 215, 215, 217, 216, 218, 219, 218, 218, 220, 220, 220, 220, 221, 221, 222, 222, 222, 222, 222, 224, 223, 225, 225, 226, 226, 227, 227 }; static const short yyr2[] = { 0, 0, 1, 0, 2, 0, 3, 1, 1, 5, 3, 4, 4, 2, 2, 2, 2, 1, 0, 0, 7, 4, 0, 0, 7, 4, 0, 0, 6, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 3, 1, 2, 0, 3, 2, 2, 2, 4, 2, 4, 2, 2, 1, 4, 0, 7, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 3, 3, 1, 1, 1, 3, 3, 0, 4, 4, 4, 3, 3, 2, 2, 1, 2, 0, 1, 2, 3, 1, 1, 2, 2, 4, 4, 2, 2, 3, 1, 1, 2, 2, 0, 0, 4, 4, 3, 3, 2, 2, 2, 3, 0, 2, 2, 1, 1, 2, 2, 2, 3, 0, 2, 1, 1, 1, 4, 4, 1, 1, 1, 1, 3, 1, 3, 0, 4, 0, 6, 3, 0, 6, 3, 0, 1, 1, 2, 6, 1, 3, 0, 1, 4, 6, 4, 1, 1, 1, 1, 1, 0, 4, 1, 0, 2, 1, 3, 1, 0, 4, 1, 0, 8, 0, 6, 0, 5, 0, 4, 0, 5, 0, 0, 5, 0, 0, 5, 1, 1, 3, 3, 4, 3, 3, 3, 1, 3, 4, 3, 3, 3, 1, 3, 3, 3, 4, 3, 3, 1, 0, 7, 5, 2, 0, 7, 5, 2, 0, 8, 0, 7, 2, 0, 1, 0, 1, 1, 2, 0, 3, 2, 3, 1, 3, 1, 1, 1, 3, 4, 6, 5, 1, 3, 1, 1, 3, 2, 2, 0, 1, 1, 2, 0, 2, 3, 3, 2, 3, 4, 3, 2, 3, 2, 3, 1, 1, 2, 2, 0, 1, 2, 0, 0, 1, 1, 2, 3, 1, 2, 2, 6, 5, 5, 2, 2, 4, 0, 4, 0, 0, 3, 4, 3, 1, 1, 1, 1, 2, 0, 4, 1, 3, 0, 0, 7, 5, 2, 0, 0, 0, 12, 0, 6, 2, 2, 2, 3, 6, 8, 10, 12, 3, 4, 1, 1, 0, 6, 3, 5, 2, 2, 0, 1, 0, 1, 0, 1, 1, 3, 4, 1, 3, 0, 2, 2, 0, 4, 2, 0, 1, 1, 3, 1, 3, 4, 4, 4, 4, 4, 0, 2, 1, 2, 1, 3, 1, 3 }; static const short yydefact[] = { 3, 5, 0, 0, 0, 133, 124, 131, 123, 0, 0, 0, 0, 0, 17, 4, 8, 7, 0, 110, 110, 120, 132, 6, 15, 16, 30, 31, 227, 229, 236, 220, 236, 224, 0, 0, 216, 0, 260, 0, 0, 141, 111, 153, 0, 14, 0, 126, 125, 13, 0, 120, 118, 0, 225, 0, 0, 217, 0, 221, 78, 79, 91, 0, 0, 46, 0, 0, 0, 32, 34, 33, 0, 35, 36, 0, 37, 38, 0, 0, 39, 56, 60, 42, 44, 80, 258, 0, 256, 129, 0, 256, 0, 0, 0, 10, 0, 0, 154, 29, 0, 367, 0, 0, 151, 203, 260, 0, 0, 139, 111, 0, 195, 196, 0, 0, 119, 122, 136, 137, 121, 138, 251, 252, 232, 249, 0, 151, 243, 238, 110, 235, 110, 236, 151, 236, 0, 50, 0, 52, 0, 54, 55, 49, 45, 0, 0, 0, 0, 48, 0, 0, 0, 0, 341, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 89, 90, 0, 0, 40, 0, 92, 134, 260, 350, 0, 111, 254, 257, 127, 135, 259, 129, 255, 158, 261, 212, 211, 142, 143, 215, 0, 210, 0, 214, 0, 0, 27, 0, 296, 98, 297, 150, 152, 0, 0, 12, 0, 0, 21, 0, 151, 367, 0, 11, 25, 0, 0, 233, 0, 232, 219, 296, 237, 296, 0, 223, 0, 0, 0, 47, 82, 81, 279, 0, 0, 9, 43, 77, 76, 342, 0, 74, 73, 71, 72, 70, 69, 68, 66, 67, 61, 62, 63, 64, 65, 88, 87, 0, 41, 0, 264, 0, 268, 0, 270, 0, 0, 350, 0, 130, 128, 164, 165, 166, 163, 0, 156, 159, 0, 0, 371, 357, 110, 110, 369, 0, 358, 360, 368, 0, 213, 278, 0, 100, 95, 99, 0, 148, 201, 197, 140, 202, 19, 147, 198, 200, 0, 23, 253, 250, 151, 0, 239, 244, 297, 241, 151, 151, 51, 53, 287, 280, 84, 58, 57, 0, 85, 86, 263, 262, 351, 269, 271, 265, 267, 0, 0, 158, 40, 144, 355, 256, 256, 352, 353, 0, 370, 0, 0, 28, 285, 96, 110, 110, 0, 0, 145, 199, 0, 228, 151, 296, 0, 218, 222, 0, 0, 281, 282, 0, 75, 266, 155, 157, 78, 0, 209, 260, 350, 111, 151, 151, 151, 260, 111, 151, 151, 0, 359, 361, 372, 286, 103, 0, 104, 0, 170, 168, 167, 149, 20, 0, 24, 226, 245, 0, 151, 373, 0, 0, 0, 296, 0, 0, 107, 297, 273, 283, 178, 78, 0, 0, 176, 0, 175, 0, 230, 173, 160, 0, 162, 264, 0, 367, 0, 362, 363, 364, 264, 0, 365, 366, 354, 0, 0, 143, 0, 146, 151, 0, 246, 284, 0, 289, 109, 108, 277, 0, 290, 275, 297, 274, 0, 0, 0, 0, 185, 59, 0, 172, 0, 207, 208, 204, 206, 0, 101, 102, 0, 248, 151, 374, 288, 0, 133, 0, 310, 294, 0, 0, 0, 0, 0, 0, 0, 0, 339, 331, 0, 0, 105, 110, 110, 303, 308, 0, 0, 300, 301, 304, 332, 302, 187, 0, 183, 0, 0, 174, 161, 205, 169, 247, 0, 0, 296, 341, 0, 0, 337, 321, 322, 323, 0, 0, 0, 340, 0, 338, 305, 116, 0, 117, 0, 0, 292, 297, 291, 314, 0, 0, 0, 181, 0, 177, 186, 0, 0, 0, 44, 0, 0, 0, 335, 324, 0, 329, 0, 0, 114, 189, 0, 115, 192, 309, 296, 0, 0, 188, 0, 0, 184, 293, 0, 295, 333, 315, 319, 0, 330, 0, 112, 0, 113, 0, 307, 298, 296, 0, 179, 182, 311, 296, 341, 296, 336, 343, 0, 190, 193, 299, 313, 0, 296, 334, 0, 320, 0, 0, 344, 345, 325, 0, 0, 180, 312, 316, 0, 343, 0, 0, 191, 194, 341, 0, 0, 326, 346, 0, 347, 0, 0, 317, 348, 0, 327, 296, 0, 0, 318, 328, 349, 0, 0, 0 }; static const short yydefgoto[] = { 656, 1, 2, 3, 15, 16, 17, 214, 360, 220, 363, 103, 297, 428, 78, 244, 262, 80, 81, 140, 82, 374, 83, 84, 147, 85, 201, 202, 203, 356, 415, 416, 18, 97, 505, 287, 52, 288, 88, 183, 21, 120, 108, 40, 104, 109, 406, 41, 359, 206, 207, 43, 280, 281, 282, 404, 451, 430, 431, 432, 470, 616, 584, 557, 521, 554, 573, 596, 626, 576, 598, 627, 193, 112, 385, 113, 22, 133, 135, 126, 53, 474, 223, 55, 56, 131, 317, 318, 124, 125, 90, 181, 91, 93, 182, 417, 418, 462, 204, 326, 371, 372, 373, 354, 355, 509, 510, 511, 529, 550, 301, 551, 421, 512, 513, 579, 528, 617, 607, 637, 650, 608, 514, 515, 606, 516, 541, 245, 622, 623, 624, 648, 267, 268, 289, 392, 290, 291, 292, 196, 197, 293, 294, 413 }; static const short yypact[] = { 67, 76, 1898, 1898, 232,-32768,-32768,-32768,-32768, 62, 91, 106, 23, 37,-32768,-32768,-32768,-32768, 347, 26, 939, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 85,-32768, 118,-32768, 166, 1760, 1700,-32768, 89,-32768, 347, 83, -32768, 128,-32768, 1205,-32768, 315,-32768,-32768,-32768, 347, -32768, 862, 454,-32768, 180, 340,-32768, 185,-32768,-32768, -32768,-32768, 1787, 1814,-32768, 1760, 1760, 119,-32768,-32768, -32768, 1760,-32768,-32768, 1017,-32768,-32768, 1760, 110, 190, -32768,-32768, 2063, 576, 257,-32768, 208, 214,-32768, 210, 1970, 267, 466, 11,-32768, 315, 347,-32768,-32768, 289, -32768, 559, 284, 128,-32768,-32768, 315, 113,-32768, 128, 1284, 178, 264, 170, 1265, 862,-32768,-32768,-32768,-32768, -32768,-32768, 263, 235,-32768, 454, 128,-32768,-32768, 265, 278, 859,-32768, 128,-32768, 1017,-32768, 1017,-32768, 1760, -32768,-32768,-32768,-32768, 282, 294, 307, 319,-32768, 283, 1760, 1760, 1760, 1760, 1760, 1760, 1760, 1760, 1760, 1760, 1760, 1760, 1760, 1760, 1760, 1760, 1760, 1760,-32768,-32768, 119, 119, 1760, 1760,-32768,-32768,-32768, 214, 1319, 128, -32768, 273, 552,-32768,-32768,-32768,-32768, 912,-32768, 264, -32768,-32768, 374, 264, 395,-32768, 702,-32768, 343, 358, -32768, 255, 47,-32768,-32768, 403, 128, 459, 111,-32768, 315, 315,-32768, 284, 128,-32768, 1346,-32768,-32768, 284, 1760, 119, 378, 235,-32768,-32768,-32768,-32768, 382,-32768, 386, 376, 394,-32768,-32768,-32768, 393, 398, 1643,-32768, 2063, 2063, 2063,-32768, 412, 1945, 1372, 1289, 1043, 1210, 1257, 1609, 947, 947, 252, 252,-32768,-32768,-32768,-32768, -32768, 399, 190, 400, 364, 219,-32768, 782,-32768, 401, 214,-32768, 1401,-32768, 552,-32768,-32768,-32768,-32768, -12, -32768, 419, 35, 405,-32768,-32768,-32768, 672,-32768, 409, 240,-32768,-32768, 104,-32768,-32768, 59,-32768,-32768,-32768, 832,-32768, 178,-32768,-32768, 178,-32768, 450,-32768,-32768, 407,-32768, 2063,-32768, 128, 413, 414,-32768,-32768, 414, 128, 128,-32768,-32768,-32768, 467,-32768,-32768,-32768, 1760, -32768,-32768, 273,-32768,-32768,-32768, 273,-32768,-32768, 420, 432, 912, 1841,-32768,-32768, 353, 149,-32768,-32768, 752, -32768, 510, 307,-32768,-32768,-32768, 437, 1568, 1194, 59, -32768,-32768, 59,-32768, 128,-32768, 55,-32768,-32768, 119, 720, 467,-32768, 546, 1894,-32768,-32768,-32768, 139, 439, -32768,-32768, 149, 128, 151, 222, 128,-32768, 128, 222, 128, 782,-32768,-32768,-32768,-32768,-32768, 315,-32768, 347, -32768,-32768, 2063,-32768,-32768, 1194,-32768,-32768,-32768, 1760, 108,-32768, 248, 309, 640, 443, 444, 800,-32768,-32768, -32768,-32768,-32768, 485, 119, 1760,-32768, 488, 2063, 452, 447,-32768,-32768, 1760,-32768, 331, 353,-32768, 1428,-32768, -32768,-32768, 109, 149,-32768,-32768,-32768, 292, 311, 19, 546,-32768, 2019, 1760,-32768,-32768, 119,-32768,-32768,-32768, -32768, 455,-32768,-32768,-32768,-32768, 1509, 496, 1919, 546, -32768,-32768, 1074,-32768, 159, 350, 350,-32768,-32768, 451, -32768,-32768, 457,-32768, 2019,-32768,-32768, 1589, 500, 482, -32768,-32768, 484, 486, 1760, 506, 474, 476, 1727, 203, 549,-32768, 522, 492,-32768, 494, 1902,-32768, 547, 880, 60,-32768,-32768,-32768,-32768,-32768,-32768, 1760, 536, 495, 1134,-32768,-32768,-32768,-32768,-32768, 1760, 517,-32768, 1760, 1760, 1453,-32768,-32768,-32768,-32768, 501, 1760, 504,-32768, 523,-32768,-32768,-32768, 315,-32768, 347, 960,-32768,-32768, -32768,-32768, 1760, 1134, 1996,-32768, 1134,-32768,-32768, 507, 1760, 568, 1004, 514, 527, 1760,-32768,-32768, 521,-32768, 1760, 330,-32768, 471, 357,-32768, 372,-32768,-32768, 1589, 534,-32768, 575, 1134,-32768,-32768, 539,-32768,-32768,-32768, -32768, 2045,-32768, 25,-32768, 284,-32768, 284,-32768,-32768, -32768, 535,-32768,-32768,-32768,-32768, 1760,-32768,-32768, 607, 540,-32768,-32768,-32768,-32768, 1134,-32768,-32768, 542,-32768, 562, 45, 541,-32768,-32768, 307, 307,-32768,-32768,-32768, 1760, 607, 550, 607,-32768,-32768, 1760, 553, 50,-32768, -32768, 561,-32768, 395, 563,-32768, 257, 160,-32768,-32768, 579, 395,-32768,-32768, 257, 670, 675,-32768 }; static const short yypgoto[] = {-32768, -32768,-32768,-32768, 669,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768, -6,-32768, -34, 338, -154, 352,-32768, -27, -32768, 66, 157,-32768, -185, -198, 489,-32768,-32768, 275, -32768, 5, -83,-32768, 10, 642, 12, 641, 512, 17, -147, -367, -41, -94, -61,-32768,-32768,-32768, 57, -16, -4,-32768, 354,-32768, 295,-32768, -396,-32768, -423,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768, -40, -65, 9, -7, -32,-32768,-32768,-32768,-32768, -32768, 478, 21,-32768,-32768, 483, 344, 578, 491, -21, -70, 680, -88, -129, 334,-32768,-32768, -173,-32768,-32768, -32768, 380, -186, -139,-32768,-32768,-32768,-32768, -96, -293, -404, 337,-32768, 181,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768, 187,-32768, -474, 140,-32768, 137, -32768, 505,-32768, -235,-32768,-32768,-32768, 423, -188,-32768, -32768,-32768,-32768 }; #define YYLAST 2115 static const short yytable[] = { 79, 87, 42, 29, 31, 33, 111, 205, 238, 114, 283, 44, 19, 19, 20, 20, 307, 215, 208, 263, 121, 187, 312, 42, 46, 50, 367, 212, 309, 298, 110, 448, 94, 335, 42, 192, 274, 51, 98, 141, 142, 146, 209, 115, 175, 144, 100, 123, -94, 266, 522, 149, 89, 58, 148, 483, 564, 299, 36, 105, 353, 552, 143, 610, 341, 26, 27, -1, 199, 342, 101, 102, 180, 89, 520, 180, -2, 42, 101, 102, 110, 42, 34, 632, 121, 37, 190, 191, 644, 265, 194, 110, 89, 410, 26, 27, 35, 271, 559, 215, 94, 611, 146, 45, 146, 106, 98, 205, 186, 26, 27, 344, 36, 234, 107, 232, 189, 233, 205, 553, 123, 633, 26, 27, 205, 562, 645, 467, 274, -94, 319, 582, 319, 619, 585, 226, 333, 228, 37, 37, 264, 237, 337, 303, 28, 270, 454, 306, 92, 186, 305, 121, 36, 89, 229, 89, 231, 447, 37, 388, 95, 604, 180, 642, 96, 260, 261, 54, 383, 179, 216, 217, 488, 30, 405, 599, 98, 407, 572, 37, 351, 37, 279, 311, 225, 352, 150, 304, 32, 263, 210, 230, 110, 628, 211, 110, 110, 614, 419, 388, 57, 190, 618, 98, 620, 194, 26, 27, 383, 179, 438, 439, 329, 629, 396, 433, 123, 241, 242, 243, 434, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 523, 651, 216, 217, 340, 151, 652, 459, 121, 37, 464, 653, 218, 59, 180, 478, 96, 37, 538, 266, 180, 200, 580, 127, -97, -97, -97, -97, 134, 177, -97, 175, -97, -97, -97, 319, 151, 308, 178, 179, 420, 387, 391, 272, 273, 475, 101, 102, -97, 176, 200, 184, 313, -296, -296, -296, -296, 346, 347, 436, 334, -296, -296, -296, 221, 443, 437, 166, 167, 168, 51, 444, 333, 337, 24, 25, 357, -296, 358, 333, 337, 222, 349, 36, 105, 420, 350, 465, 101, 102, 456, 188, 411, 508, 457, 384, 389, 272, 273, 36, 381, 279, -97, 189, 386, 390, 128, -240, -240, 5, 37, 7, 86, 195, 508, 36, 110, 9, 10, 11, 227, 36, 381, 235, 449, 240, 37, 398, 400, 412, 106, -93, 389, 13, 481, 236, 189, 364, 211, 107, 51, 94, 37, 368, 369, 98, 382, 110, 37, 42, 98, 296, 458, 482, 237, 383, 179, 96, 450, 37, 239, 375, 38, 612, 100, 613, 100, -143, 382, 62, 480, 39, 595, -143, 438, 439, 211, 383, 179, 177, 137, 139, 129, -234, 468, 384, 384, 408, 178, 179, 403, 295, 389, 389, 190, 194, 101, 102, 504, 597, 296, 190, 194, 96, 302, 429, 508, 440, 441, 442, 476, 477, 445, 446, -143, 330, 486, 323, -143, 504, 122, 315, 26, 27, 647, 321, 503, 36, 105, 322, 537, 189, 655, 455, 36, 324, 325, 403, 189, 327, 331, 453, 506, 343, 507, 215, 345, 503, 332, 336, 348, 361, 635, 636, 37, 362, 365, 469, 560, 539, 366, 37, 565, 100, 370, 205, -143, 205, 376, 569, 574, 575, -143, 377, 106, 484, 545, 547, 395, 397, 435, 38, 429, 107, 581, 485, -276, 463, -30, 51, 39, 471, 587, 473, 110, 472, 42, 517, 487, 524, 525, 429, 594, -31, 429, 577, 527, 526, 530, 533, 531, 504, 423, -143, 424, 27, 534, -143, 535, 61, 62, 540, 63, 118, 119, 542, 532, 60, 548, 9, 10, 11, 61, 62, 543, 63, 544, 556, 558, 503, 64, 561, 65, 568, 66, 67, 570, 571, 586, 555, 588, 68, 429, 64, 69, 65, 590, 66, 67, 70, 71, 72, 638, 593, 68, 73, 74, 69, 591, 425, 75, 426, 70, 71, 72, 602, 603, 615, 73, 74, 605, 621, 625, 75, 630, 429, 631, 634, 429, -171, 76, 77, 640, 427, 643, 169, 170, 592, 171, 172, 173, 174, 646, 76, 77, 649, 200, 198, -106, -106, -106, -106, -106, -106, -106, 429, -106, -106, -106, -106, -106, 654, -106, -106, -106, -106, -106, -106, -106, -106, -106, -106, -106, -106, -106, 657, -106, 23, -106, -106, 658, 5, 47, 7, 48, -106, 380, 429, -106, 9, 10, 11, 563, -106, -106, -106, 460, 300, 116, -106, -106, 378, 130, 275, -106, 13, 452, 316, 284, 224, 285, 5, 6, 7, 8, 409, 320, 286, 314, 9, 10, 11, -106, -106, -106, -106, 414, -106, -296, -296, -296, -296, -296, -296, -296, 13, -296, -296, -296, -296, -296, 132, -296, -296, -296, -296, -296, -296, -296, -296, -296, -296, -296, -296, -296, 461, -296, 422, -296, -296, 466, 5, 6, 7, 8, -296, 600, 393, -296, 9, 10, 11, 601, -296, -296, -296, 641, 639, 394, -296, -296, 0, 338, -356, -296, 13, 0, 0, 284, 0, 0, 5, 6, 7, 8, 0, 0, 286, 0, 9, 10, 11, -296, 0, -296, -296, 200, -296, -296, -296, 0, 0, 0, -296, -296, 13, -296, 0, 0, 0, -296, 0, -296, -296, -296, -296, -296, -296, -296, -296, -296, -296, -296, 0, -296, 0, -296, 0, -296, -296, 0, 5, 6, 7, 8, -296, 0, 0, -296, 9, 10, 11, 0, -296, -296, -296, 0, 0, 0, -296, -296, 0, 0, -356, -296, 13, 0, 0, 5, 0, 7, 185, 117, 118, 119, 0, 9, 10, 11, 9, 10, 11, -296, -272, -296, -296, 549, -296, -296, -296, 0, 0, 13, -296, -296, 0, -296, 0, 0, 0, -296, 0, -296, -296, -296, -296, -296, -296, -296, -296, -296, -296, -296, 0, -296, 0, -296, 0, -296, -296, 26, 27, 276, 277, 278, -296, 0, 0, -296, 0, 0, 0, 0, -296, -296, -296, 0, 0, 0, -296, -296, -242, -242, 0, -296, 0, 0, 0, 5, 47, 7, 48, 0, 0, 0, 0, 9, 10, 11, 0, 0, 0, -296, 0, -296, -296, 578, -296, -306, -306, 0, 0, 13, -306, -306, 0, -306, 0, 0, 0, -306, 0, -306, -306, -306, -306, -306, -306, -306, -306, -306, -306, -306, 0, -306, 0, -306, 0, -306, -306, 164, 165, 166, 167, 168, -306, 0, 0, -306, 0, 0, 0, 0, -306, -306, -306, 0, 0, 0, -306, -306, 49, 0, 145, -306, 60, 5, 0, 7, 86, 61, 62, 0, 63, 9, 10, 11, 0, 0, 0, 0, 0, -306, 0, -306, -306, 0, -306, 0, 0, 13, 64, 0, 65, 0, 66, 67, 0, 0, 0, 0, 0, 68, 169, 170, 69, 171, 172, 173, 174, 70, 71, 72, 0, 0, 0, 73, 74, 0, 0, 423, 75, 424, 27, 0, 589, 0, 61, 62, 0, 63, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 76, 77, 0, -83, 0, 0, 0, 64, 0, 65, 0, 66, 67, 0, 0, 0, 0, 0, 68, 0, 0, 69, 0, 0, 0, 0, 70, 71, 72, 0, 0, 0, 73, 74, 0, 0, 425, 75, 426, 423, 0, 424, 27, 0, 0, 0, 61, 62, 0, 63, 0, 0, 0, 0, 0, 0, -231, 76, 77, 0, 427, 0, 0, 0, 0, 0, 0, 64, 0, 65, 0, 66, 67, 0, 0, 0, 0, 0, 68, 0, 0, 69, 0, 0, 0, 0, 70, 71, 72, 0, 0, 0, 73, 74, 0, 0, 425, 75, 426, 401, 0, 60, 0, 0, 0, 0, 61, 62, 0, 63, 99, 0, 0, -26, -26, -26, -26, 76, 77, 0, 427, -26, -26, -26, 0, 0, 0, 64, 0, 65, 0, 66, 67, 0, 0, 0, 100, -26, 68, -143, 0, 69, 0, 0, 0, -143, 70, 71, 72, 0, 0, 0, 73, 74, 0, 0, 0, 75, 160, 161, 162, 163, 164, 165, 166, 167, 168, 0, 101, 102, 219, 0, 0, -22, -22, -22, -22, 76, 77, 0, 402, -22, -22, -22, 0, 0, -143, 0, 0, 213, -143, -26, -18, -18, -18, -18, 100, -22, 0, -143, -18, -18, -18, 0, 0, -143, 161, 162, 163, 164, 165, 166, 167, 168, 0, 100, -18, 0, -143, 0, 0, 0, 0, 0, -143, 0, 60, 0, 101, 102, 0, 61, 62, 0, 63, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, -143, 0, 0, 0, -143, -22, 64, 60, 65, 0, 66, 67, 61, 62, 0, 63, 0, 68, 0, -143, 69, 0, 0, -143, -18, 70, 71, 72, 0, 0, 0, 73, 74, 64, 0, 65, 75, 66, 67, 0, 0, 0, 0, 0, 68, 0, 0, 69, 0, 0, 0, 0, 70, 71, 72, 0, 76, 77, 73, 74, 269, 0, 60, 75, 0, 0, 0, 61, 62, 0, 63, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 76, 77, 0, 0, 310, 64, 60, 65, 0, 66, 67, 61, 62, 0, 63, 0, 68, 0, 0, 69, 0, 0, 0, 0, 70, 71, 72, 0, 0, 0, 73, 74, 64, 0, 65, 75, 66, 67, 566, 0, 0, 0, 0, 68, 0, 0, 69, 0, 0, 0, 0, 70, 71, 72, 0, 76, 77, 73, 74, 339, 0, 0, 75, 152, 153, 154, 567, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 0, 76, 77, 0, 0, 479, 424, 489, 6, 7, 8, 61, 62, 0, 63, 9, 10, 11, 490, 0, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 13, 64, 0, 65, 0, 66, 67, 0, 0, 0, 0, 0, 68, 0, 0, 69, 0, 0, 0, 0, 70, 71, 72, 0, 0, 0, 73, 74, 0, 0, 0, 75, 0, 0, 0, 5, 47, 7, 48, 0, 0, 0, 0, 9, 10, 11, 0, 0, 0, 502, 0, 76, 77, 0, 237, 424, 27, 0, 0, 13, 61, 62, 0, 63, 0, 0, 0, 490, 0, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 0, 64, 0, 65, 0, 66, 67, 0, 0, 0, 0, 0, 68, 0, 0, 69, 0, 0, 0, 0, 70, 71, 72, 0, 0, 0, 73, 74, 399, 60, 0, 75, 0, 0, 61, 62, 0, 63, 162, 163, 164, 165, 166, 167, 168, 0, 0, 0, 0, 502, 0, 76, 77, 0, 237, 64, 0, 65, 0, 66, 67, 0, 0, 0, 0, 0, 68, 0, 0, 69, 0, 0, 0, 0, 70, 71, 72, 0, 0, 0, 73, 74, 0, 0, 0, 75, 60, 5, 0, 7, 86, 61, 62, 0, 63, 9, 10, 11, 0, 0, 0, 0, 0, 0, 0, 76, 77, 0, 328, 0, 0, 13, 64, 60, 65, 0, 66, 67, 61, 62, 0, 63, 0, 68, 0, 0, 69, 0, 0, 0, 0, 70, 71, 72, 0, 0, 0, 73, 74, 64, 0, 65, 75, 66, 67, 0, 60, 0, 0, 0, 68, 61, 62, 69, 63, 0, 0, 0, 70, 71, 72, 0, 76, 77, 73, 74, 0, 0, 0, 75, 0, 0, 64, 60, 65, 0, 66, 67, 61, 62, 0, 63, 0, 68, 0, 0, 69, 536, 0, 76, 77, 70, 71, 72, 0, 0, 0, 73, 74, 64, 60, 65, 75, 66, 67, 61, 62, 0, 63, 0, 68, 0, 0, 69, 0, 0, 0, 0, 70, 71, 72, 0, 76, 77, 73, 74, 64, 379, 65, 136, 66, 67, 61, 62, 0, 63, 0, 68, 0, 0, 69, 0, 0, 0, 0, 70, 71, 72, 0, 76, 77, 73, 74, 64, 0, 65, 138, 66, 67, 0, 0, 0, 0, 0, 68, 0, 0, 69, 0, 0, 0, 0, 70, 71, 72, 0, 76, 77, 73, 74, 0, 0, 4, 75, -110, 5, 6, 7, 8, 5, 47, 7, 48, 9, 10, 11, 0, 9, 10, 11, 0, 0, 0, 76, 77, 0, 0, 0, 12, 13, 0, -110, 518, 13, 154, 0, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 0, -110, 0, 0, 0, 0, 0, 152, 153, 154, -110, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 0, 0, 5, 14, 7, 185, 0, 546, 0, 0, 9, 10, 11, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 13, 0, 37, 0, 519, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 0, 0, 0, 0, 0, 0, 0, 0, 178, 179, 152, 153, 154, 0, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 37, 0, 0, 0, 0, 152, 153, 154, 0, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 0, 0, 0, 0, 0, 0, 0, 583, 152, 153, 154, 609, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 152, 153, 154, 0, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168 }; static const short yycheck[] = { 34, 35, 18, 9, 10, 11, 46, 103, 147, 50, 195, 18, 2, 3, 2, 3, 214, 111, 106, 173, 52, 91, 220, 39, 19, 20, 319, 110, 216, 202, 46, 398, 39, 268, 50, 96, 183, 20, 42, 66, 67, 75, 107, 50, 9, 72, 27, 53, 1, 178, 473, 78, 35, 32, 75, 451, 530, 10, 3, 4, 1, 1, 68, 38, 76, 3, 4, 0, 102, 81, 59, 60, 88, 56, 470, 91, 0, 93, 59, 60, 96, 97, 59, 38, 116, 30, 93, 76, 38, 177, 97, 107, 75, 38, 3, 4, 59, 180, 521, 193, 107, 76, 136, 77, 138, 50, 110, 203, 91, 3, 4, 76, 3, 140, 59, 136, 7, 138, 214, 59, 126, 76, 3, 4, 220, 529, 76, 420, 275, 82, 226, 554, 228, 607, 557, 130, 265, 132, 30, 30, 174, 82, 271, 208, 82, 179, 38, 212, 59, 132, 211, 183, 3, 136, 133, 138, 135, 392, 30, 50, 77, 584, 178, 637, 81, 171, 172, 82, 59, 60, 59, 60, 465, 82, 360, 579, 180, 363, 545, 30, 76, 30, 188, 217, 127, 81, 76, 76, 82, 343, 77, 134, 208, 616, 81, 211, 212, 601, 371, 50, 82, 208, 606, 207, 608, 212, 3, 4, 59, 60, 59, 60, 239, 617, 353, 76, 222, 151, 152, 153, 81, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 76, 76, 59, 60, 273, 81, 81, 415, 275, 30, 418, 650, 77, 82, 265, 438, 81, 30, 50, 383, 271, 1, 550, 78, 4, 5, 6, 7, 78, 50, 10, 9, 12, 13, 14, 366, 81, 215, 59, 60, 371, 346, 347, 59, 60, 434, 59, 60, 28, 76, 1, 76, 221, 4, 5, 6, 7, 287, 288, 382, 76, 12, 13, 14, 36, 388, 384, 50, 51, 52, 288, 389, 436, 437, 77, 78, 301, 28, 301, 443, 444, 81, 77, 3, 4, 416, 81, 418, 59, 60, 77, 59, 367, 467, 81, 346, 347, 59, 60, 3, 4, 342, 82, 7, 346, 347, 1, 77, 78, 4, 30, 6, 7, 59, 488, 3, 367, 12, 13, 14, 77, 3, 4, 76, 400, 77, 30, 357, 358, 370, 50, 82, 383, 28, 77, 76, 7, 315, 81, 59, 358, 383, 30, 321, 322, 384, 50, 398, 30, 400, 389, 77, 78, 77, 82, 59, 60, 81, 400, 30, 76, 330, 50, 596, 27, 598, 27, 30, 50, 9, 439, 59, 77, 36, 59, 60, 81, 59, 60, 50, 63, 64, 77, 78, 425, 436, 437, 365, 59, 60, 359, 83, 443, 444, 436, 437, 59, 60, 467, 77, 77, 443, 444, 81, 36, 374, 580, 385, 386, 387, 436, 437, 390, 391, 77, 38, 457, 76, 81, 488, 1, 78, 3, 4, 644, 78, 467, 3, 4, 78, 499, 7, 652, 411, 3, 76, 78, 406, 7, 76, 76, 410, 467, 59, 467, 574, 76, 488, 83, 83, 76, 36, 626, 627, 30, 83, 78, 426, 527, 500, 81, 30, 531, 27, 32, 596, 30, 598, 83, 538, 545, 547, 36, 76, 50, 453, 506, 507, 3, 77, 76, 50, 451, 59, 553, 454, 78, 78, 38, 507, 59, 38, 561, 81, 545, 78, 547, 36, 78, 83, 78, 470, 571, 38, 473, 547, 59, 485, 59, 38, 59, 580, 1, 77, 3, 4, 77, 81, 77, 8, 9, 7, 11, 6, 7, 38, 495, 3, 16, 12, 13, 14, 8, 9, 77, 11, 77, 36, 78, 580, 29, 59, 31, 77, 33, 34, 77, 59, 76, 518, 17, 40, 521, 29, 43, 31, 77, 33, 34, 48, 49, 50, 631, 77, 40, 54, 55, 43, 76, 58, 59, 60, 48, 49, 50, 76, 36, 77, 54, 55, 76, 9, 77, 59, 77, 554, 59, 81, 557, 78, 79, 80, 77, 82, 76, 54, 55, 566, 57, 58, 59, 60, 76, 79, 80, 77, 1, 83, 3, 4, 5, 6, 7, 8, 9, 584, 11, 12, 13, 14, 15, 77, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 0, 31, 3, 33, 34, 0, 4, 5, 6, 7, 40, 343, 616, 43, 12, 13, 14, 530, 48, 49, 50, 416, 203, 51, 54, 55, 342, 56, 186, 59, 28, 406, 224, 1, 126, 3, 4, 5, 6, 7, 366, 228, 10, 222, 12, 13, 14, 77, 78, 79, 80, 1, 82, 3, 4, 5, 6, 7, 8, 9, 28, 11, 12, 13, 14, 15, 56, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 416, 31, 372, 33, 34, 418, 4, 5, 6, 7, 40, 580, 10, 43, 12, 13, 14, 580, 48, 49, 50, 634, 632, 350, 54, 55, -1, 272, 76, 59, 28, -1, -1, 1, -1, -1, 4, 5, 6, 7, -1, -1, 10, -1, 12, 13, 14, 77, -1, 79, 80, 1, 82, 3, 4, -1, -1, -1, 8, 9, 28, 11, -1, -1, -1, 15, -1, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, -1, 29, -1, 31, -1, 33, 34, -1, 4, 5, 6, 7, 40, -1, -1, 43, 12, 13, 14, -1, 48, 49, 50, -1, -1, -1, 54, 55, -1, -1, 76, 59, 28, -1, -1, 4, -1, 6, 7, 5, 6, 7, -1, 12, 13, 14, 12, 13, 14, 77, 78, 79, 80, 1, 82, 3, 4, -1, -1, 28, 8, 9, -1, 11, -1, -1, -1, 15, -1, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, -1, 29, -1, 31, -1, 33, 34, 3, 4, 5, 6, 7, 40, -1, -1, 43, -1, -1, -1, -1, 48, 49, 50, -1, -1, -1, 54, 55, 77, 78, -1, 59, -1, -1, -1, 4, 5, 6, 7, -1, -1, -1, -1, 12, 13, 14, -1, -1, -1, 77, -1, 79, 80, 1, 82, 3, 4, -1, -1, 28, 8, 9, -1, 11, -1, -1, -1, 15, -1, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, -1, 29, -1, 31, -1, 33, 34, 48, 49, 50, 51, 52, 40, -1, -1, 43, -1, -1, -1, -1, 48, 49, 50, -1, -1, -1, 54, 55, 77, -1, 1, 59, 3, 4, -1, 6, 7, 8, 9, -1, 11, 12, 13, 14, -1, -1, -1, -1, -1, 77, -1, 79, 80, -1, 82, -1, -1, 28, 29, -1, 31, -1, 33, 34, -1, -1, -1, -1, -1, 40, 54, 55, 43, 57, 58, 59, 60, 48, 49, 50, -1, -1, -1, 54, 55, -1, -1, 1, 59, 3, 4, -1, 76, -1, 8, 9, -1, 11, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 79, 80, -1, 82, -1, -1, -1, 29, -1, 31, -1, 33, 34, -1, -1, -1, -1, -1, 40, -1, -1, 43, -1, -1, -1, -1, 48, 49, 50, -1, -1, -1, 54, 55, -1, -1, 58, 59, 60, 1, -1, 3, 4, -1, -1, -1, 8, 9, -1, 11, -1, -1, -1, -1, -1, -1, 78, 79, 80, -1, 82, -1, -1, -1, -1, -1, -1, 29, -1, 31, -1, 33, 34, -1, -1, -1, -1, -1, 40, -1, -1, 43, -1, -1, -1, -1, 48, 49, 50, -1, -1, -1, 54, 55, -1, -1, 58, 59, 60, 1, -1, 3, -1, -1, -1, -1, 8, 9, -1, 11, 1, -1, -1, 4, 5, 6, 7, 79, 80, -1, 82, 12, 13, 14, -1, -1, -1, 29, -1, 31, -1, 33, 34, -1, -1, -1, 27, 28, 40, 30, -1, 43, -1, -1, -1, 36, 48, 49, 50, -1, -1, -1, 54, 55, -1, -1, -1, 59, 44, 45, 46, 47, 48, 49, 50, 51, 52, -1, 59, 60, 1, -1, -1, 4, 5, 6, 7, 79, 80, -1, 82, 12, 13, 14, -1, -1, 77, -1, -1, 1, 81, 82, 4, 5, 6, 7, 27, 28, -1, 30, 12, 13, 14, -1, -1, 36, 45, 46, 47, 48, 49, 50, 51, 52, -1, 27, 28, -1, 30, -1, -1, -1, -1, -1, 36, -1, 3, -1, 59, 60, -1, 8, 9, -1, 11, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 77, -1, -1, -1, 81, 82, 29, 3, 31, -1, 33, 34, 8, 9, -1, 11, -1, 40, -1, 77, 43, -1, -1, 81, 82, 48, 49, 50, -1, -1, -1, 54, 55, 29, -1, 31, 59, 33, 34, -1, -1, -1, -1, -1, 40, -1, -1, 43, -1, -1, -1, -1, 48, 49, 50, -1, 79, 80, 54, 55, 83, -1, 3, 59, -1, -1, -1, 8, 9, -1, 11, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 79, 80, -1, -1, 83, 29, 3, 31, -1, 33, 34, 8, 9, -1, 11, -1, 40, -1, -1, 43, -1, -1, -1, -1, 48, 49, 50, -1, -1, -1, 54, 55, 29, -1, 31, 59, 33, 34, 10, -1, -1, -1, -1, 40, -1, -1, 43, -1, -1, -1, -1, 48, 49, 50, -1, 79, 80, 54, 55, 83, -1, -1, 59, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, -1, 79, 80, -1, -1, 83, 3, 4, 5, 6, 7, 8, 9, -1, 11, 12, 13, 14, 15, -1, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, -1, 31, -1, 33, 34, -1, -1, -1, -1, -1, 40, -1, -1, 43, -1, -1, -1, -1, 48, 49, 50, -1, -1, -1, 54, 55, -1, -1, -1, 59, -1, -1, -1, 4, 5, 6, 7, -1, -1, -1, -1, 12, 13, 14, -1, -1, -1, 77, -1, 79, 80, -1, 82, 3, 4, -1, -1, 28, 8, 9, -1, 11, -1, -1, -1, 15, -1, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, -1, 29, -1, 31, -1, 33, 34, -1, -1, -1, -1, -1, 40, -1, -1, 43, -1, -1, -1, -1, 48, 49, 50, -1, -1, -1, 54, 55, 77, 3, -1, 59, -1, -1, 8, 9, -1, 11, 46, 47, 48, 49, 50, 51, 52, -1, -1, -1, -1, 77, -1, 79, 80, -1, 82, 29, -1, 31, -1, 33, 34, -1, -1, -1, -1, -1, 40, -1, -1, 43, -1, -1, -1, -1, 48, 49, 50, -1, -1, -1, 54, 55, -1, -1, -1, 59, 3, 4, -1, 6, 7, 8, 9, -1, 11, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, 79, 80, -1, 82, -1, -1, 28, 29, 3, 31, -1, 33, 34, 8, 9, -1, 11, -1, 40, -1, -1, 43, -1, -1, -1, -1, 48, 49, 50, -1, -1, -1, 54, 55, 29, -1, 31, 59, 33, 34, -1, 3, -1, -1, -1, 40, 8, 9, 43, 11, -1, -1, -1, 48, 49, 50, -1, 79, 80, 54, 55, -1, -1, -1, 59, -1, -1, 29, 3, 31, -1, 33, 34, 8, 9, -1, 11, -1, 40, -1, -1, 43, 77, -1, 79, 80, 48, 49, 50, -1, -1, -1, 54, 55, 29, 3, 31, 59, 33, 34, 8, 9, -1, 11, -1, 40, -1, -1, 43, -1, -1, -1, -1, 48, 49, 50, -1, 79, 80, 54, 55, 29, 3, 31, 59, 33, 34, 8, 9, -1, 11, -1, 40, -1, -1, 43, -1, -1, -1, -1, 48, 49, 50, -1, 79, 80, 54, 55, 29, -1, 31, 59, 33, 34, -1, -1, -1, -1, -1, 40, -1, -1, 43, -1, -1, -1, -1, 48, 49, 50, -1, 79, 80, 54, 55, -1, -1, 1, 59, 3, 4, 5, 6, 7, 4, 5, 6, 7, 12, 13, 14, -1, 12, 13, 14, -1, -1, -1, 79, 80, -1, -1, -1, 27, 28, -1, 30, 10, 28, 37, -1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, -1, 50, -1, -1, -1, -1, -1, 35, 36, 37, 59, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, -1, -1, 4, 77, 6, 7, -1, 77, -1, -1, 12, 13, 14, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 28, -1, 30, -1, 83, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 50, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 35, 36, 37, -1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 30, -1, -1, -1, -1, 35, 36, 37, -1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, -1, -1, -1, -1, -1, -1, -1, 83, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 35, 36, 37, -1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52 }; /* -*-C-*- Note some compilers choke on comments on `#line' lines. */ #line 3 "/usr/local/lib/bison.simple" /* Skeleton output parser for bison, Copyright (C) 1984, 1989, 1990 Bob Corbett and Richard Stallman This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef alloca #ifdef __GNUC__ #define alloca __builtin_alloca #else /* not GNU C. */ #if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) #include #else /* not sparc */ #if defined (MSDOS) && !defined (__TURBOC__) #include #else /* not MSDOS, or __TURBOC__ */ #if defined(_AIX) #include #pragma alloca #else /* not MSDOS, __TURBOC__, or _AIX */ #ifdef __hpux #ifdef __cplusplus extern "C" { void *alloca (unsigned int); }; #else /* not __cplusplus */ void *alloca (); #endif /* not __cplusplus */ #endif /* __hpux */ #endif /* not _AIX */ #endif /* not MSDOS, or __TURBOC__ */ #endif /* not sparc. */ #endif /* not GNU C. */ #endif /* alloca not defined. */ /* This is the parser code that is written into each bison parser when the %semantic_parser declaration is not specified in the grammar. It was written by Richard Stallman by simplifying the hairy parser used when %semantic_parser is specified. */ /* Note: there must be only one dollar sign in this file. It is replaced by the list of actions, each action as one case of the switch. */ #define yyerrok (yyerrstatus = 0) #define yyclearin (yychar = YYEMPTY) #define YYEMPTY -2 #define YYEOF 0 #define YYACCEPT return(0) #define YYABORT return(1) #define YYERROR goto yyerrlab1 /* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. Once GCC version 2 has supplanted version 1, this can go. */ #define YYFAIL goto yyerrlab #define YYRECOVERING() (!!yyerrstatus) #define YYBACKUP(token, value) \ do \ if (yychar == YYEMPTY && yylen == 1) \ { yychar = (token), yylval = (value); \ yychar1 = YYTRANSLATE (yychar); \ YYPOPSTACK; \ goto yybackup; \ } \ else \ { yyerror ("syntax error: cannot back up"); YYERROR; } \ while (0) #define YYTERROR 1 #define YYERRCODE 256 #ifndef YYPURE #define YYLEX yylex() #endif #ifdef YYPURE #ifdef YYLSP_NEEDED #define YYLEX yylex(&yylval, &yylloc) #else #define YYLEX yylex(&yylval) #endif #endif /* If nonreentrant, generate the variables here */ #ifndef YYPURE int yychar; /* the lookahead symbol */ YYSTYPE yylval; /* the semantic value of the */ /* lookahead symbol */ #ifdef YYLSP_NEEDED YYLTYPE yylloc; /* location data for the lookahead */ /* symbol */ #endif int yynerrs; /* number of parse errors so far */ #endif /* not YYPURE */ #if YYDEBUG != 0 int yydebug; /* nonzero means print parse trace */ /* Since this is uninitialized, it does not stop multiple parsers from coexisting. */ #endif /* YYINITDEPTH indicates the initial size of the parser's stacks */ #ifndef YYINITDEPTH #define YYINITDEPTH 200 #endif /* YYMAXDEPTH is the maximum size the stacks can grow to (effective only if the built-in stack extension method is used). */ #if YYMAXDEPTH == 0 #undef YYMAXDEPTH #endif #ifndef YYMAXDEPTH #define YYMAXDEPTH 10000 #endif /* Prevent warning if -Wstrict-prototypes. */ #ifdef __GNUC__ int yyparse (void); #endif #if __GNUC__ > 1 /* GNU C and GNU C++ define this. */ #define __yy_bcopy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT) #else /* not GNU C or C++ */ #ifndef __cplusplus /* This is the most reliable way to avoid incompatibilities in available built-in functions on various systems. */ static void __yy_bcopy (from, to, count) char *from; char *to; int count; { register char *f = from; register char *t = to; register int i = count; while (i-- > 0) *t++ = *f++; } #else /* __cplusplus */ /* This is the most reliable way to avoid incompatibilities in available built-in functions on various systems. */ static void __yy_bcopy (char *from, char *to, int count) { register char *f = from; register char *t = to; register int i = count; while (i-- > 0) *t++ = *f++; } #endif #endif #line 184 "/usr/local/lib/bison.simple" /* The user can define YYPARSE_PARAM as the name of an argument to be passed into yyparse. The argument should have type void *. It should actually point to an object. Grammar actions can access the variable by casting it to the proper pointer type. */ #ifdef YYPARSE_PARAM #define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; #else #define YYPARSE_PARAM #define YYPARSE_PARAM_DECL #endif int yyparse(YYPARSE_PARAM) YYPARSE_PARAM_DECL { register int yystate; register int yyn; register short *yyssp; register YYSTYPE *yyvsp; int yyerrstatus; /* number of tokens to shift before error messages enabled */ int yychar1 = 0; /* lookahead token as an internal (translated) token number */ short yyssa[YYINITDEPTH]; /* the state stack */ YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */ short *yyss = yyssa; /* refer to the stacks thru separate pointers */ YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */ #ifdef YYLSP_NEEDED YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */ YYLTYPE *yyls = yylsa; YYLTYPE *yylsp; #define YYPOPSTACK (yyvsp--, yyssp--, yylsp--) #else #define YYPOPSTACK (yyvsp--, yyssp--) #endif int yystacksize = YYINITDEPTH; #ifdef YYPURE int yychar; YYSTYPE yylval; int yynerrs; #ifdef YYLSP_NEEDED YYLTYPE yylloc; #endif #endif YYSTYPE yyval; /* the variable used to return */ /* semantic values from the action */ /* routines */ int yylen; #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Starting parse\n"); #endif yystate = 0; yyerrstatus = 0; yynerrs = 0; yychar = YYEMPTY; /* Cause a token to be read. */ /* Initialize stack pointers. Waste one element of value and location stack so that they stay on the same level as the state stack. The wasted elements are never initialized. */ yyssp = yyss - 1; yyvsp = yyvs; #ifdef YYLSP_NEEDED yylsp = yyls; #endif /* Push a new state, which is found in yystate . */ /* In all cases, when you get here, the value and location stacks have just been pushed. so pushing a state here evens the stacks. */ yynewstate: *++yyssp = yystate; if (yyssp >= yyss + yystacksize - 1) { /* Give user a chance to reallocate the stack */ /* Use copies of these so that the &'s don't force the real ones into memory. */ YYSTYPE *yyvs1 = yyvs; short *yyss1 = yyss; #ifdef YYLSP_NEEDED YYLTYPE *yyls1 = yyls; #endif /* Get the current used size of the three stacks, in elements. */ int size = yyssp - yyss + 1; #ifdef yyoverflow /* Each stack pointer address is followed by the size of the data in use in that stack, in bytes. */ #ifdef YYLSP_NEEDED /* This used to be a conditional around just the two extra args, but that might be undefined if yyoverflow is a macro. */ yyoverflow("parser stack overflow", &yyss1, size * sizeof (*yyssp), &yyvs1, size * sizeof (*yyvsp), &yyls1, size * sizeof (*yylsp), &yystacksize); #else yyoverflow("parser stack overflow", &yyss1, size * sizeof (*yyssp), &yyvs1, size * sizeof (*yyvsp), &yystacksize); #endif yyss = yyss1; yyvs = yyvs1; #ifdef YYLSP_NEEDED yyls = yyls1; #endif #else /* no yyoverflow */ /* Extend the stack our own way. */ if (yystacksize >= YYMAXDEPTH) { yyerror("parser stack overflow"); return 2; } yystacksize *= 2; if (yystacksize > YYMAXDEPTH) yystacksize = YYMAXDEPTH; yyss = (short *) alloca (yystacksize * sizeof (*yyssp)); __yy_bcopy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp)); yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp)); __yy_bcopy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp)); #ifdef YYLSP_NEEDED yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp)); __yy_bcopy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp)); #endif #endif /* no yyoverflow */ yyssp = yyss + size - 1; yyvsp = yyvs + size - 1; #ifdef YYLSP_NEEDED yylsp = yyls + size - 1; #endif #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Stack size increased to %d\n", yystacksize); #endif if (yyssp >= yyss + yystacksize - 1) YYABORT; } #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Entering state %d\n", yystate); #endif goto yybackup; yybackup: /* Do appropriate processing given the current state. */ /* Read a lookahead token if we need one and don't already have one. */ /* yyresume: */ /* First try to decide what to do without reference to lookahead token. */ yyn = yypact[yystate]; if (yyn == YYFLAG) goto yydefault; /* Not known => get a lookahead token if don't already have one. */ /* yychar is either YYEMPTY or YYEOF or a valid token in external form. */ if (yychar == YYEMPTY) { #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Reading a token: "); #endif yychar = YYLEX; } /* Convert token to internal form (in yychar1) for indexing tables with */ if (yychar <= 0) /* This means end of input. */ { yychar1 = 0; yychar = YYEOF; /* Don't call YYLEX any more */ #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Now at end of input.\n"); #endif } else { yychar1 = YYTRANSLATE(yychar); #if YYDEBUG != 0 if (yydebug) { fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]); /* Give the individual parser a way to print the precise meaning of a token, for further debugging info. */ #ifdef YYPRINT YYPRINT (stderr, yychar, yylval); #endif fprintf (stderr, ")\n"); } #endif } yyn += yychar1; if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1) goto yydefault; yyn = yytable[yyn]; /* yyn is what to do for this token type in this state. Negative => reduce, -yyn is rule number. Positive => shift, yyn is new state. New state is final state => don't bother to shift, just return success. 0, or most negative number => error. */ if (yyn < 0) { if (yyn == YYFLAG) goto yyerrlab; yyn = -yyn; goto yyreduce; } else if (yyn == 0) goto yyerrlab; if (yyn == YYFINAL) YYACCEPT; /* Shift the lookahead token. */ #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]); #endif /* Discard the token being shifted unless it is eof. */ if (yychar != YYEOF) yychar = YYEMPTY; *++yyvsp = yylval; #ifdef YYLSP_NEEDED *++yylsp = yylloc; #endif /* count tokens shifted since error; after three, turn off error status. */ if (yyerrstatus) yyerrstatus--; yystate = yyn; goto yynewstate; /* Do the default action for the current state. */ yydefault: yyn = yydefact[yystate]; if (yyn == 0) goto yyerrlab; /* Do a reduction. yyn is the number of a rule to reduce with. */ yyreduce: yylen = yyr2[yyn]; if (yylen > 0) yyval = yyvsp[1-yylen]; /* implement default value of the action */ #if YYDEBUG != 0 if (yydebug) { int i; fprintf (stderr, "Reducing via rule %d (line %d), ", yyn, yyrline[yyn]); /* Print the symbols being reduced, and their result. */ for (i = yyprhs[yyn]; yyrhs[i] > 0; i++) fprintf (stderr, "%s ", yytname[yyrhs[i]]); fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]); } #endif switch (yyn) { case 1: #line 234 "c-parse.y" { if (pedantic) pedwarn ("ANSI C forbids an empty source file"); finish_file (); ; break;} case 2: #line 239 "c-parse.y" { /* In case there were missing closebraces, get us back to the global binding level. */ while (! global_bindings_p ()) poplevel (0, 0, 0); finish_file (); ; break;} case 3: #line 253 "c-parse.y" {yyval.ttype = NULL_TREE; ; break;} case 5: #line 254 "c-parse.y" {yyval.ttype = NULL_TREE; ; break;} case 9: #line 261 "c-parse.y" { STRIP_NOPS (yyvsp[-2].ttype); if ((TREE_CODE (yyvsp[-2].ttype) == ADDR_EXPR && TREE_CODE (TREE_OPERAND (yyvsp[-2].ttype, 0)) == STRING_CST) || TREE_CODE (yyvsp[-2].ttype) == STRING_CST) assemble_asm (yyvsp[-2].ttype); else error ("argument of `asm' is not a constant string"); ; break;} case 10: #line 272 "c-parse.y" { if (pedantic) error ("ANSI C forbids data definition with no type or storage class"); else if (!flag_traditional) warning ("data definition has no type or storage class"); current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 11: #line 282 "c-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 12: #line 287 "c-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 13: #line 292 "c-parse.y" { pedwarn ("empty declaration"); ; break;} case 14: #line 294 "c-parse.y" { shadow_tag (yyvsp[-1].ttype); ; break;} case 17: #line 298 "c-parse.y" { if (pedantic) pedwarn ("ANSI C does not allow extra `;' outside of a function"); ; break;} case 18: #line 304 "c-parse.y" { if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, prefix_attributes, NULL_TREE, 0)) YYERROR1; reinit_parse_for_function (); ; break;} case 19: #line 309 "c-parse.y" { store_parm_decls (); ; break;} case 20: #line 311 "c-parse.y" { finish_function (0); current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-5].itype); ; break;} case 21: #line 317 "c-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 22: #line 322 "c-parse.y" { if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, prefix_attributes, NULL_TREE, 0)) YYERROR1; reinit_parse_for_function (); ; break;} case 23: #line 327 "c-parse.y" { store_parm_decls (); ; break;} case 24: #line 329 "c-parse.y" { finish_function (0); current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-5].itype); ; break;} case 25: #line 335 "c-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 26: #line 340 "c-parse.y" { if (! start_function (NULL_TREE, yyvsp[0].ttype, prefix_attributes, NULL_TREE, 0)) YYERROR1; reinit_parse_for_function (); ; break;} case 27: #line 345 "c-parse.y" { store_parm_decls (); ; break;} case 28: #line 347 "c-parse.y" { finish_function (0); current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-5].itype); ; break;} case 29: #line 353 "c-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 32: #line 365 "c-parse.y" { yyval.code = ADDR_EXPR; ; break;} case 33: #line 367 "c-parse.y" { yyval.code = NEGATE_EXPR; ; break;} case 34: #line 369 "c-parse.y" { yyval.code = CONVERT_EXPR; ; break;} case 35: #line 371 "c-parse.y" { yyval.code = PREINCREMENT_EXPR; ; break;} case 36: #line 373 "c-parse.y" { yyval.code = PREDECREMENT_EXPR; ; break;} case 37: #line 375 "c-parse.y" { yyval.code = BIT_NOT_EXPR; ; break;} case 38: #line 377 "c-parse.y" { yyval.code = TRUTH_NOT_EXPR; ; break;} case 39: #line 381 "c-parse.y" { yyval.ttype = build_compound_expr (yyvsp[0].ttype); ; break;} case 40: #line 386 "c-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 42: #line 392 "c-parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 43: #line 394 "c-parse.y" { chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; break;} case 45: #line 400 "c-parse.y" { yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ; break;} case 46: #line 403 "c-parse.y" { yyvsp[0].itype = pedantic; pedantic = 0; ; break;} case 47: #line 406 "c-parse.y" { yyval.ttype = yyvsp[0].ttype; pedantic = yyvsp[-2].itype; ; break;} case 48: #line 409 "c-parse.y" { yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0); overflow_warning (yyval.ttype); ; break;} case 49: #line 413 "c-parse.y" { tree label = lookup_label (yyvsp[0].ttype); if (pedantic) pedwarn ("ANSI C forbids `&&'"); if (label == 0) yyval.ttype = null_pointer_node; else { TREE_USED (label) = 1; yyval.ttype = build1 (ADDR_EXPR, ptr_type_node, label); TREE_CONSTANT (yyval.ttype) = 1; } ; break;} case 50: #line 441 "c-parse.y" { if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF && DECL_BIT_FIELD (TREE_OPERAND (yyvsp[0].ttype, 1))) error ("`sizeof' applied to a bit-field"); yyval.ttype = c_sizeof (TREE_TYPE (yyvsp[0].ttype)); ; break;} case 51: #line 446 "c-parse.y" { yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ; break;} case 52: #line 448 "c-parse.y" { yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ; break;} case 53: #line 450 "c-parse.y" { yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ; break;} case 54: #line 452 "c-parse.y" { yyval.ttype = build_unary_op (REALPART_EXPR, yyvsp[0].ttype, 0); ; break;} case 55: #line 454 "c-parse.y" { yyval.ttype = build_unary_op (IMAGPART_EXPR, yyvsp[0].ttype, 0); ; break;} case 57: #line 460 "c-parse.y" { tree type = groktypename (yyvsp[-2].ttype); yyval.ttype = build_c_cast (type, yyvsp[0].ttype); ; break;} case 58: #line 463 "c-parse.y" { start_init (NULL_TREE, NULL, 0); yyvsp[-2].ttype = groktypename (yyvsp[-2].ttype); really_start_incremental_init (yyvsp[-2].ttype); ; break;} case 59: #line 467 "c-parse.y" { char *name; tree result = pop_init_level (0); tree type = yyvsp[-5].ttype; finish_init (); if (pedantic) pedwarn ("ANSI C forbids constructor expressions"); if (TYPE_NAME (type) != 0) { if (TREE_CODE (TYPE_NAME (type)) == IDENTIFIER_NODE) name = IDENTIFIER_POINTER (TYPE_NAME (type)); else name = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (type))); } else name = ""; yyval.ttype = result; if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == 0) { int failure = complete_array_type (type, yyval.ttype, 1); if (failure) abort (); } ; break;} case 61: #line 496 "c-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 62: #line 498 "c-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 63: #line 500 "c-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 64: #line 502 "c-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 65: #line 504 "c-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 66: #line 506 "c-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 67: #line 508 "c-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 68: #line 510 "c-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 69: #line 512 "c-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 70: #line 514 "c-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 71: #line 516 "c-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 72: #line 518 "c-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 73: #line 520 "c-parse.y" { yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 74: #line 522 "c-parse.y" { yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 75: #line 524 "c-parse.y" { yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 76: #line 526 "c-parse.y" { yyval.ttype = build_modify_expr (yyvsp[-2].ttype, NOP_EXPR, yyvsp[0].ttype); C_SET_EXP_ORIGINAL_CODE (yyval.ttype, MODIFY_EXPR); ; break;} case 77: #line 529 "c-parse.y" { yyval.ttype = build_modify_expr (yyvsp[-2].ttype, yyvsp[-1].code, yyvsp[0].ttype); /* This inhibits warnings in truthvalue_conversion. */ C_SET_EXP_ORIGINAL_CODE (yyval.ttype, ERROR_MARK); ; break;} case 78: #line 536 "c-parse.y" { yyval.ttype = lastiddecl; if (!yyval.ttype || yyval.ttype == error_mark_node) { if (yychar == YYEMPTY) yychar = YYLEX; if (yychar == '(') { { /* Ordinary implicit function declaration. */ yyval.ttype = implicitly_declare (yyvsp[0].ttype); assemble_external (yyval.ttype); TREE_USED (yyval.ttype) = 1; } } else if (current_function_decl == 0) { error ("`%s' undeclared here (not in a function)", IDENTIFIER_POINTER (yyvsp[0].ttype)); yyval.ttype = error_mark_node; } else { { if (IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) != error_mark_node || IDENTIFIER_ERROR_LOCUS (yyvsp[0].ttype) != current_function_decl) { error ("`%s' undeclared (first use this function)", IDENTIFIER_POINTER (yyvsp[0].ttype)); if (! undeclared_variable_notice) { error ("(Each undeclared identifier is reported only once"); error ("for each function it appears in.)"); undeclared_variable_notice = 1; } } yyval.ttype = error_mark_node; /* Prevent repeated error messages. */ IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) = error_mark_node; IDENTIFIER_ERROR_LOCUS (yyvsp[0].ttype) = current_function_decl; } } } else if (TREE_TYPE (yyval.ttype) == error_mark_node) yyval.ttype = error_mark_node; else if (C_DECL_ANTICIPATED (yyval.ttype)) { /* The first time we see a build-in function used, if it has not been declared. */ C_DECL_ANTICIPATED (yyval.ttype) = 0; if (yychar == YYEMPTY) yychar = YYLEX; if (yychar == '(') { /* Omit the implicit declaration we would ordinarily do, so we don't lose the actual built in type. But print a diagnostic for the mismatch. */ if (TREE_CODE (yyval.ttype) != FUNCTION_DECL) error ("`%s' implicitly declared as function", IDENTIFIER_POINTER (DECL_NAME (yyval.ttype))); else if ((TYPE_MODE (TREE_TYPE (TREE_TYPE (yyval.ttype))) != TYPE_MODE (integer_type_node)) && (TREE_TYPE (TREE_TYPE (yyval.ttype)) != void_type_node)) pedwarn ("type mismatch in implicit declaration for built-in function `%s'", IDENTIFIER_POINTER (DECL_NAME (yyval.ttype))); /* If it really returns void, change that to int. */ if (TREE_TYPE (TREE_TYPE (yyval.ttype)) == void_type_node) TREE_TYPE (yyval.ttype) = build_function_type (integer_type_node, TYPE_ARG_TYPES (TREE_TYPE (yyval.ttype))); } else pedwarn ("built-in function `%s' used without declaration", IDENTIFIER_POINTER (DECL_NAME (yyval.ttype))); /* Do what we would ordinarily do when a fn is used. */ assemble_external (yyval.ttype); TREE_USED (yyval.ttype) = 1; } else { assemble_external (yyval.ttype); TREE_USED (yyval.ttype) = 1; } if (TREE_CODE (yyval.ttype) == CONST_DECL) { yyval.ttype = DECL_INITIAL (yyval.ttype); /* This is to prevent an enum whose value is 0 from being considered a null pointer constant. */ yyval.ttype = build1 (NOP_EXPR, TREE_TYPE (yyval.ttype), yyval.ttype); TREE_CONSTANT (yyval.ttype) = 1; } ; break;} case 80: #line 635 "c-parse.y" { yyval.ttype = combine_strings (yyvsp[0].ttype); ; break;} case 81: #line 637 "c-parse.y" { char class = TREE_CODE_CLASS (TREE_CODE (yyvsp[-1].ttype)); if (class == 'e' || class == '1' || class == '2' || class == '<') C_SET_EXP_ORIGINAL_CODE (yyvsp[-1].ttype, ERROR_MARK); yyval.ttype = yyvsp[-1].ttype; ; break;} case 82: #line 643 "c-parse.y" { yyval.ttype = error_mark_node; ; break;} case 83: #line 645 "c-parse.y" { if (current_function_decl == 0) { error ("braced-group within expression allowed only inside a function"); YYERROR; } /* We must force a BLOCK for this level so that, if it is not expanded later, there is a way to turn off the entire subtree of blocks that are contained in it. */ keep_next_level (); push_iterator_stack (); push_label_level (); yyval.ttype = expand_start_stmt_expr (); ; break;} case 84: #line 659 "c-parse.y" { tree rtl_exp; if (pedantic) pedwarn ("ANSI C forbids braced-groups within expressions"); pop_iterator_stack (); pop_label_level (); rtl_exp = expand_end_stmt_expr (yyvsp[-2].ttype); /* The statements have side effects, so the group does. */ TREE_SIDE_EFFECTS (rtl_exp) = 1; if (TREE_CODE (yyvsp[-1].ttype) == BLOCK) { /* Make a BIND_EXPR for the BLOCK already made. */ yyval.ttype = build (BIND_EXPR, TREE_TYPE (rtl_exp), NULL_TREE, rtl_exp, yyvsp[-1].ttype); /* Remove the block from the tree at this point. It gets put back at the proper place when the BIND_EXPR is expanded. */ delete_block (yyvsp[-1].ttype); } else yyval.ttype = yyvsp[-1].ttype; ; break;} case 85: #line 682 "c-parse.y" { yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 86: #line 684 "c-parse.y" { yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 87: #line 686 "c-parse.y" { yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 88: #line 690 "c-parse.y" { tree expr = build_indirect_ref (yyvsp[-2].ttype, "->"); yyval.ttype = build_component_ref (expr, yyvsp[0].ttype); ; break;} case 89: #line 696 "c-parse.y" { yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ; break;} case 90: #line 698 "c-parse.y" { yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ; break;} case 92: #line 705 "c-parse.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 95: #line 714 "c-parse.y" { c_mark_varargs (); if (pedantic) pedwarn ("ANSI C does not permit use of `varargs.h'"); ; break;} case 96: #line 724 "c-parse.y" { ; break;} case 101: #line 736 "c-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 102: #line 741 "c-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 103: #line 746 "c-parse.y" { shadow_tag_warned (yyvsp[-1].ttype, 1); pedwarn ("empty declaration"); ; break;} case 104: #line 749 "c-parse.y" { pedwarn ("empty declaration"); ; break;} case 105: #line 758 "c-parse.y" { ; break;} case 110: #line 773 "c-parse.y" { yyval.itype = suspend_momentary (); pending_xref_error (); declspec_stack = tree_cons (prefix_attributes, current_declspecs, declspec_stack); current_declspecs = yyvsp[0].ttype; prefix_attributes = NULL_TREE; ; break;} case 111: #line 783 "c-parse.y" { prefix_attributes = chainon (prefix_attributes, yyvsp[0].ttype); ; break;} case 112: #line 788 "c-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 113: #line 793 "c-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 114: #line 798 "c-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-1].itype); ; break;} case 115: #line 803 "c-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-1].itype); ; break;} case 116: #line 808 "c-parse.y" { shadow_tag (yyvsp[-1].ttype); ; break;} case 117: #line 810 "c-parse.y" { pedwarn ("empty declaration"); ; break;} case 118: #line 819 "c-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 119: #line 821 "c-parse.y" { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ; break;} case 120: #line 825 "c-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 121: #line 827 "c-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 122: #line 829 "c-parse.y" { if (extra_warnings) warning ("`%s' is not at beginning of declaration", IDENTIFIER_POINTER (yyvsp[0].ttype)); yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 123: #line 841 "c-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); TREE_STATIC (yyval.ttype) = 1; ; break;} case 124: #line 844 "c-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; break;} case 125: #line 846 "c-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); TREE_STATIC (yyval.ttype) = 1; ; break;} case 126: #line 849 "c-parse.y" { if (extra_warnings && TREE_STATIC (yyvsp[-1].ttype)) warning ("`%s' is not at beginning of declaration", IDENTIFIER_POINTER (yyvsp[0].ttype)); yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ; break;} case 127: #line 863 "c-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 128: #line 865 "c-parse.y" { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ; break;} case 129: #line 869 "c-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 130: #line 871 "c-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 133: #line 881 "c-parse.y" { /* For a typedef name, record the meaning, not the name. In case of `foo foo, bar;'. */ yyval.ttype = lookup_name (yyvsp[0].ttype); ; break;} case 134: #line 885 "c-parse.y" { yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); ; break;} case 135: #line 887 "c-parse.y" { yyval.ttype = groktypename (yyvsp[-1].ttype); ; break;} case 143: #line 909 "c-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 144: #line 911 "c-parse.y" { if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype); yyval.ttype = yyvsp[-1].ttype; ; break;} case 145: #line 918 "c-parse.y" { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1, yyvsp[-1].ttype, prefix_attributes); start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ; break;} case 146: #line 923 "c-parse.y" { finish_init (); finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ; break;} case 147: #line 926 "c-parse.y" { tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0, yyvsp[0].ttype, prefix_attributes); finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ; break;} case 148: #line 934 "c-parse.y" { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1, yyvsp[-1].ttype, prefix_attributes); start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ; break;} case 149: #line 939 "c-parse.y" { finish_init (); decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype, prefix_attributes); finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ; break;} case 150: #line 943 "c-parse.y" { tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0, yyvsp[0].ttype, prefix_attributes); finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ; break;} case 151: #line 951 "c-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 152: #line 953 "c-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 153: #line 958 "c-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 154: #line 960 "c-parse.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 155: #line 965 "c-parse.y" { yyval.ttype = yyvsp[-2].ttype; ; break;} case 156: #line 970 "c-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 157: #line 972 "c-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 158: #line 977 "c-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 159: #line 979 "c-parse.y" { yyval.ttype = build_tree_list (yyvsp[0].ttype, NULL_TREE); ; break;} case 160: #line 981 "c-parse.y" { yyval.ttype = build_tree_list (yyvsp[-3].ttype, build_tree_list (NULL_TREE, yyvsp[-1].ttype)); ; break;} case 161: #line 983 "c-parse.y" { yyval.ttype = build_tree_list (yyvsp[-5].ttype, tree_cons (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype)); ; break;} case 162: #line 985 "c-parse.y" { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 168: #line 1003 "c-parse.y" { really_start_incremental_init (NULL_TREE); /* Note that the call to clear_momentary is in process_init_element. */ push_momentary (); ; break;} case 169: #line 1008 "c-parse.y" { yyval.ttype = pop_init_level (0); if (yyval.ttype == error_mark_node && ! (yychar == STRING || yychar == CONSTANT)) pop_momentary (); else pop_momentary_nofree (); ; break;} case 170: #line 1016 "c-parse.y" { yyval.ttype = error_mark_node; ; break;} case 171: #line 1022 "c-parse.y" { if (pedantic) pedwarn ("ANSI C forbids empty initializer braces"); ; break;} case 175: #line 1036 "c-parse.y" { process_init_element (yyvsp[0].ttype); ; break;} case 176: #line 1038 "c-parse.y" { push_init_level (0); ; break;} case 177: #line 1040 "c-parse.y" { process_init_element (pop_init_level (0)); ; break;} case 179: #line 1046 "c-parse.y" { set_init_index (yyvsp[-4].ttype, yyvsp[-2].ttype); ; break;} case 181: #line 1049 "c-parse.y" { set_init_index (yyvsp[-2].ttype, NULL_TREE); ; break;} case 183: #line 1052 "c-parse.y" { set_init_index (yyvsp[-1].ttype, NULL_TREE); ; break;} case 185: #line 1055 "c-parse.y" { set_init_label (yyvsp[-1].ttype); ; break;} case 187: #line 1058 "c-parse.y" { set_init_label (yyvsp[-1].ttype); ; break;} case 189: #line 1064 "c-parse.y" { push_c_function_context (); if (! start_function (current_declspecs, yyvsp[0].ttype, prefix_attributes, NULL_TREE, 1)) { pop_c_function_context (); YYERROR1; } reinit_parse_for_function (); ; break;} case 190: #line 1073 "c-parse.y" { store_parm_decls (); ; break;} case 191: #line 1081 "c-parse.y" { finish_function (1); pop_c_function_context (); ; break;} case 192: #line 1087 "c-parse.y" { push_c_function_context (); if (! start_function (current_declspecs, yyvsp[0].ttype, prefix_attributes, NULL_TREE, 1)) { pop_c_function_context (); YYERROR1; } reinit_parse_for_function (); ; break;} case 193: #line 1096 "c-parse.y" { store_parm_decls (); ; break;} case 194: #line 1104 "c-parse.y" { finish_function (1); pop_c_function_context (); ; break;} case 197: #line 1120 "c-parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 198: #line 1122 "c-parse.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; break;} case 199: #line 1127 "c-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 200: #line 1129 "c-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; break;} case 201: #line 1131 "c-parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 202: #line 1133 "c-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 204: #line 1144 "c-parse.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; break;} case 205: #line 1149 "c-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 206: #line 1151 "c-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; break;} case 207: #line 1153 "c-parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 208: #line 1155 "c-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 210: #line 1164 "c-parse.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; break;} case 211: #line 1169 "c-parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 212: #line 1171 "c-parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 213: #line 1173 "c-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 214: #line 1175 "c-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; break;} case 215: #line 1177 "c-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 217: #line 1183 "c-parse.y" { yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype); /* Start scope of tag before parsing components. */ ; break;} case 218: #line 1187 "c-parse.y" { yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 219: #line 1189 "c-parse.y" { yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE), yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 220: #line 1193 "c-parse.y" { yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ; break;} case 221: #line 1195 "c-parse.y" { yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ; break;} case 222: #line 1197 "c-parse.y" { yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 223: #line 1199 "c-parse.y" { yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE), yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 224: #line 1203 "c-parse.y" { yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ; break;} case 225: #line 1205 "c-parse.y" { yyvsp[0].itype = suspend_momentary (); yyval.ttype = start_enum (yyvsp[-1].ttype); ; break;} case 226: #line 1208 "c-parse.y" { yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), yyvsp[0].ttype); resume_momentary (yyvsp[-5].itype); ; break;} case 227: #line 1211 "c-parse.y" { yyvsp[0].itype = suspend_momentary (); yyval.ttype = start_enum (NULL_TREE); ; break;} case 228: #line 1214 "c-parse.y" { yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), yyvsp[0].ttype); resume_momentary (yyvsp[-5].itype); ; break;} case 229: #line 1217 "c-parse.y" { yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); ; break;} case 233: #line 1228 "c-parse.y" { if (pedantic) pedwarn ("comma at end of enumerator list"); ; break;} case 234: #line 1233 "c-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 235: #line 1235 "c-parse.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); pedwarn ("no semicolon at end of struct or union"); ; break;} case 236: #line 1240 "c-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 237: #line 1242 "c-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ; break;} case 238: #line 1244 "c-parse.y" { if (pedantic) pedwarn ("extra semicolon in struct or union specified"); ; break;} case 239: #line 1259 "c-parse.y" { yyval.ttype = yyvsp[0].ttype; current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-1].itype); ; break;} case 240: #line 1265 "c-parse.y" { if (pedantic) pedwarn ("ANSI C forbids member declarations with no members"); shadow_tag(yyvsp[0].ttype); yyval.ttype = NULL_TREE; ; break;} case 241: #line 1270 "c-parse.y" { yyval.ttype = yyvsp[0].ttype; current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-1].itype); ; break;} case 242: #line 1276 "c-parse.y" { if (pedantic) pedwarn ("ANSI C forbids member declarations with no members"); shadow_tag(yyvsp[0].ttype); yyval.ttype = NULL_TREE; ; break;} case 243: #line 1281 "c-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 245: #line 1287 "c-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 246: #line 1292 "c-parse.y" { yyval.ttype = grokfield (yyvsp[-3].filename, yyvsp[-2].lineno, yyvsp[-1].ttype, current_declspecs, NULL_TREE); decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ; break;} case 247: #line 1296 "c-parse.y" { yyval.ttype = grokfield (yyvsp[-5].filename, yyvsp[-4].lineno, yyvsp[-3].ttype, current_declspecs, yyvsp[-1].ttype); decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ; break;} case 248: #line 1299 "c-parse.y" { yyval.ttype = grokfield (yyvsp[-4].filename, yyvsp[-3].lineno, NULL_TREE, current_declspecs, yyvsp[-1].ttype); decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ; break;} case 250: #line 1311 "c-parse.y" { if (yyvsp[-2].ttype == error_mark_node) yyval.ttype = yyvsp[-2].ttype; else yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-2].ttype); ; break;} case 251: #line 1316 "c-parse.y" { yyval.ttype = error_mark_node; ; break;} case 252: #line 1322 "c-parse.y" { yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ; break;} case 253: #line 1324 "c-parse.y" { yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 254: #line 1329 "c-parse.y" { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 255: #line 1331 "c-parse.y" { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 256: #line 1336 "c-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 258: #line 1342 "c-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; break;} case 259: #line 1344 "c-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 260: #line 1349 "c-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 261: #line 1351 "c-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 262: #line 1356 "c-parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 263: #line 1359 "c-parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 264: #line 1361 "c-parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ; break;} case 265: #line 1363 "c-parse.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; break;} case 266: #line 1365 "c-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 267: #line 1367 "c-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; break;} case 268: #line 1369 "c-parse.y" { yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; break;} case 269: #line 1371 "c-parse.y" { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ; break;} case 270: #line 1373 "c-parse.y" { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ; break;} case 271: #line 1375 "c-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 272: #line 1384 "c-parse.y" { if (pedantic && yyvsp[0].ends_in_label) pedwarn ("ANSI C forbids label at end of compound statement"); ; break;} case 274: #line 1393 "c-parse.y" { yyval.ends_in_label = yyvsp[0].ends_in_label; ; break;} case 275: #line 1395 "c-parse.y" { yyval.ends_in_label = 0; ; break;} case 279: #line 1407 "c-parse.y" { emit_line_note (input_filename, lineno); pushlevel (0); clear_last_expr (); push_momentary (); expand_start_bindings (0); ; break;} case 281: #line 1420 "c-parse.y" { if (pedantic) pedwarn ("ANSI C forbids label declarations"); ; break;} case 284: #line 1431 "c-parse.y" { tree link; for (link = yyvsp[-1].ttype; link; link = TREE_CHAIN (link)) { tree label = shadow_label (TREE_VALUE (link)); C_DECLARED_LABEL_FLAG (label) = 1; declare_nonlocal_label (label); } ; break;} case 285: #line 1445 "c-parse.y" {; break;} case 287: #line 1450 "c-parse.y" { yyval.ttype = convert (void_type_node, integer_zero_node); ; break;} case 288: #line 1452 "c-parse.y" { emit_line_note (input_filename, lineno); expand_end_bindings (getdecls (), 1, 0); yyval.ttype = poplevel (1, 1, 0); if (yychar == CONSTANT || yychar == STRING) pop_momentary_nofree (); else pop_momentary (); ; break;} case 289: #line 1460 "c-parse.y" { emit_line_note (input_filename, lineno); expand_end_bindings (getdecls (), kept_level_p (), 0); yyval.ttype = poplevel (kept_level_p (), 0, 0); if (yychar == CONSTANT || yychar == STRING) pop_momentary_nofree (); else pop_momentary (); ; break;} case 290: #line 1468 "c-parse.y" { emit_line_note (input_filename, lineno); expand_end_bindings (getdecls (), kept_level_p (), 0); yyval.ttype = poplevel (kept_level_p (), 0, 0); if (yychar == CONSTANT || yychar == STRING) pop_momentary_nofree (); else pop_momentary (); ; break;} case 293: #line 1488 "c-parse.y" { emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno); expand_start_cond (truthvalue_conversion (yyvsp[-1].ttype), 0); yyval.itype = stmt_count; if_stmt_file = yyvsp[-5].filename; if_stmt_line = yyvsp[-4].lineno; position_after_white_space (); ; break;} case 294: #line 1501 "c-parse.y" { stmt_count++; emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno); /* See comment in `while' alternative, above. */ emit_nop (); expand_start_loop_continue_elsewhere (1); position_after_white_space (); ; break;} case 295: #line 1508 "c-parse.y" { expand_loop_continue_here (); ; break;} case 296: #line 1512 "c-parse.y" { yyval.filename = input_filename; ; break;} case 297: #line 1516 "c-parse.y" { yyval.lineno = lineno; ; break;} case 298: #line 1521 "c-parse.y" { ; break;} case 299: #line 1526 "c-parse.y" { ; break;} case 300: #line 1531 "c-parse.y" { yyval.ends_in_label = yyvsp[0].ends_in_label; ; break;} case 301: #line 1536 "c-parse.y" { yyval.ends_in_label = 0; ; break;} case 302: #line 1538 "c-parse.y" { yyval.ends_in_label = 1; ; break;} case 303: #line 1544 "c-parse.y" { stmt_count++; ; break;} case 305: #line 1547 "c-parse.y" { stmt_count++; emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno); /* It appears that this should not be done--that a non-lvalue array shouldn't get an error if the value isn't used. Section 3.2.2.1 says that an array lvalue gets converted to a pointer if it appears as a top-level expression, but says nothing about non-lvalue arrays. */ #if 0 /* Call default_conversion to get an error on referring to a register array if pedantic. */ if (TREE_CODE (TREE_TYPE (yyvsp[-1].ttype)) == ARRAY_TYPE || TREE_CODE (TREE_TYPE (yyvsp[-1].ttype)) == FUNCTION_TYPE) yyvsp[-1].ttype = default_conversion (yyvsp[-1].ttype); #endif iterator_expand (yyvsp[-1].ttype); clear_momentary (); ; break;} case 306: #line 1564 "c-parse.y" { expand_start_else (); yyvsp[-1].itype = stmt_count; position_after_white_space (); ; break;} case 307: #line 1568 "c-parse.y" { expand_end_cond (); if (extra_warnings && stmt_count == yyvsp[-3].itype) warning ("empty body in an else-statement"); ; break;} case 308: #line 1572 "c-parse.y" { expand_end_cond (); /* This warning is here instead of in simple_if, because we do not want a warning if an empty if is followed by an else statement. Increment stmt_count so we don't give a second error if this is a nested `if'. */ if (extra_warnings && stmt_count++ == yyvsp[0].itype) warning_with_file_and_line (if_stmt_file, if_stmt_line, "empty body in an if-statement"); ; break;} case 309: #line 1584 "c-parse.y" { expand_end_cond (); ; break;} case 310: #line 1586 "c-parse.y" { stmt_count++; emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno); /* The emit_nop used to come before emit_line_note, but that made the nop seem like part of the preceding line. And that was confusing when the preceding line was inside of an if statement and was not really executed. I think it ought to work to put the nop after the line number. We will see. --rms, July 15, 1991. */ emit_nop (); ; break;} case 311: #line 1596 "c-parse.y" { /* Don't start the loop till we have succeeded in parsing the end test. This is to make sure that we end every loop we start. */ expand_start_loop (1); emit_line_note (input_filename, lineno); expand_exit_loop_if_false (NULL_PTR, truthvalue_conversion (yyvsp[-1].ttype)); position_after_white_space (); ; break;} case 312: #line 1605 "c-parse.y" { expand_end_loop (); ; break;} case 313: #line 1608 "c-parse.y" { emit_line_note (input_filename, lineno); expand_exit_loop_if_false (NULL_PTR, truthvalue_conversion (yyvsp[-2].ttype)); expand_end_loop (); clear_momentary (); ; break;} case 314: #line 1615 "c-parse.y" { expand_end_loop (); clear_momentary (); ; break;} case 315: #line 1619 "c-parse.y" { stmt_count++; emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno); /* See comment in `while' alternative, above. */ emit_nop (); if (yyvsp[-1].ttype) c_expand_expr_stmt (yyvsp[-1].ttype); /* Next step is to call expand_start_loop_continue_elsewhere, but wait till after we parse the entire for (...). Otherwise, invalid input might cause us to call that fn without calling expand_end_loop. */ ; break;} case 316: #line 1631 "c-parse.y" { yyvsp[0].lineno = lineno; yyval.filename = input_filename; ; break;} case 317: #line 1634 "c-parse.y" { /* Start the loop. Doing this after parsing all the expressions ensures we will end the loop. */ expand_start_loop_continue_elsewhere (1); /* Emit the end-test, with a line number. */ emit_line_note (yyvsp[-2].filename, yyvsp[-3].lineno); if (yyvsp[-4].ttype) expand_exit_loop_if_false (NULL_PTR, truthvalue_conversion (yyvsp[-4].ttype)); /* Don't let the tree nodes for $9 be discarded by clear_momentary during the parsing of the next stmt. */ push_momentary (); yyvsp[-3].lineno = lineno; yyvsp[-2].filename = input_filename; position_after_white_space (); ; break;} case 318: #line 1650 "c-parse.y" { /* Emit the increment expression, with a line number. */ emit_line_note (yyvsp[-4].filename, yyvsp[-5].lineno); expand_loop_continue_here (); if (yyvsp[-3].ttype) c_expand_expr_stmt (yyvsp[-3].ttype); if (yychar == CONSTANT || yychar == STRING) pop_momentary_nofree (); else pop_momentary (); expand_end_loop (); ; break;} case 319: #line 1661 "c-parse.y" { stmt_count++; emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno); c_expand_start_case (yyvsp[-1].ttype); /* Don't let the tree nodes for $3 be discarded by clear_momentary during the parsing of the next stmt. */ push_momentary (); position_after_white_space (); ; break;} case 320: #line 1669 "c-parse.y" { expand_end_case (yyvsp[-3].ttype); if (yychar == CONSTANT || yychar == STRING) pop_momentary_nofree (); else pop_momentary (); ; break;} case 321: #line 1675 "c-parse.y" { stmt_count++; emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno); if ( ! expand_exit_something ()) error ("break statement not within loop or switch"); ; break;} case 322: #line 1680 "c-parse.y" { stmt_count++; emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno); if (! expand_continue_loop (NULL_PTR)) error ("continue statement not within a loop"); ; break;} case 323: #line 1685 "c-parse.y" { stmt_count++; emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno); c_expand_return (NULL_TREE); ; break;} case 324: #line 1689 "c-parse.y" { stmt_count++; emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno); c_expand_return (yyvsp[-1].ttype); ; break;} case 325: #line 1693 "c-parse.y" { stmt_count++; emit_line_note (yyvsp[-7].filename, yyvsp[-6].lineno); STRIP_NOPS (yyvsp[-2].ttype); if ((TREE_CODE (yyvsp[-2].ttype) == ADDR_EXPR && TREE_CODE (TREE_OPERAND (yyvsp[-2].ttype, 0)) == STRING_CST) || TREE_CODE (yyvsp[-2].ttype) == STRING_CST) expand_asm (yyvsp[-2].ttype); else error ("argument of `asm' is not a constant string"); ; break;} case 326: #line 1704 "c-parse.y" { stmt_count++; emit_line_note (yyvsp[-9].filename, yyvsp[-8].lineno); c_expand_asm_operands (yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, NULL_TREE, yyvsp[-6].ttype == ridpointers[(int)RID_VOLATILE], input_filename, lineno); ; break;} case 327: #line 1711 "c-parse.y" { stmt_count++; emit_line_note (yyvsp[-11].filename, yyvsp[-10].lineno); c_expand_asm_operands (yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, yyvsp[-8].ttype == ridpointers[(int)RID_VOLATILE], input_filename, lineno); ; break;} case 328: #line 1719 "c-parse.y" { stmt_count++; emit_line_note (yyvsp[-13].filename, yyvsp[-12].lineno); c_expand_asm_operands (yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[-10].ttype == ridpointers[(int)RID_VOLATILE], input_filename, lineno); ; break;} case 329: #line 1725 "c-parse.y" { tree decl; stmt_count++; emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno); decl = lookup_label (yyvsp[-1].ttype); if (decl != 0) { TREE_USED (decl) = 1; expand_goto (decl); } ; break;} case 330: #line 1736 "c-parse.y" { stmt_count++; emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno); expand_computed_goto (convert (ptr_type_node, yyvsp[-1].ttype)); ; break;} case 333: #line 1749 "c-parse.y" { /* The value returned by this action is */ /* 1 if everything is OK */ /* 0 in case of error or already bound iterator */ yyval.itype = 0; if (TREE_CODE (yyvsp[-1].ttype) != VAR_DECL) error ("invalid `for (ITERATOR)' syntax"); else if (! ITERATOR_P (yyvsp[-1].ttype)) error ("`%s' is not an iterator", IDENTIFIER_POINTER (DECL_NAME (yyvsp[-1].ttype))); else if (ITERATOR_BOUND_P (yyvsp[-1].ttype)) error ("`for (%s)' inside expansion of same iterator", IDENTIFIER_POINTER (DECL_NAME (yyvsp[-1].ttype))); else { yyval.itype = 1; iterator_for_loop_start (yyvsp[-1].ttype); } ; break;} case 334: #line 1770 "c-parse.y" { if (yyvsp[-1].itype) iterator_for_loop_end (yyvsp[-3].ttype); ; break;} case 335: #line 1805 "c-parse.y" { register tree value = check_case_value (yyvsp[-1].ttype); register tree label = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE); stmt_count++; if (value != error_mark_node) { tree duplicate; int success = pushcase (value, convert_and_check, label, &duplicate); if (success == 1) error ("case label not within a switch statement"); else if (success == 2) { error ("duplicate case value"); error_with_decl (duplicate, "this is the first entry for that value"); } else if (success == 3) warning ("case value out of range"); else if (success == 5) error ("case label within scope of cleanup or variable array"); } position_after_white_space (); ; break;} case 336: #line 1830 "c-parse.y" { register tree value1 = check_case_value (yyvsp[-3].ttype); register tree value2 = check_case_value (yyvsp[-1].ttype); register tree label = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE); stmt_count++; if (value1 != error_mark_node && value2 != error_mark_node) { tree duplicate; int success = pushcase_range (value1, value2, convert_and_check, label, &duplicate); if (success == 1) error ("case label not within a switch statement"); else if (success == 2) { error ("duplicate case value"); error_with_decl (duplicate, "this is the first entry for that value"); } else if (success == 3) warning ("case value out of range"); else if (success == 4) warning ("empty case range"); else if (success == 5) error ("case label within scope of cleanup or variable array"); } position_after_white_space (); ; break;} case 337: #line 1859 "c-parse.y" { tree duplicate; register tree label = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE); int success = pushcase (NULL_TREE, 0, label, &duplicate); stmt_count++; if (success == 1) error ("default label not within a switch statement"); else if (success == 2) { error ("multiple default labels in one switch"); error_with_decl (duplicate, "this is the first default label"); } position_after_white_space (); ; break;} case 338: #line 1874 "c-parse.y" { tree label = define_label (input_filename, lineno, yyvsp[-1].ttype); stmt_count++; emit_nop (); if (label) expand_label (label); position_after_white_space (); ; break;} case 339: #line 1886 "c-parse.y" { emit_line_note (input_filename, lineno); yyval.ttype = NULL_TREE; ; break;} case 340: #line 1889 "c-parse.y" { emit_line_note (input_filename, lineno); ; break;} case 341: #line 1894 "c-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 343: #line 1901 "c-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 346: #line 1908 "c-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 347: #line 1913 "c-parse.y" { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 348: #line 1918 "c-parse.y" { yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), NULL_TREE); ; break;} case 349: #line 1920 "c-parse.y" { yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), yyvsp[-2].ttype); ; break;} case 350: #line 1926 "c-parse.y" { pushlevel (0); clear_parm_order (); declare_parm_level (0); ; break;} case 351: #line 1930 "c-parse.y" { yyval.ttype = yyvsp[0].ttype; parmlist_tags_warning (); poplevel (0, 0, 0); ; break;} case 353: #line 1938 "c-parse.y" { tree parm; if (pedantic) pedwarn ("ANSI C forbids forward parameter declarations"); /* Mark the forward decls as such. */ for (parm = getdecls (); parm; parm = TREE_CHAIN (parm)) TREE_ASM_WRITTEN (parm) = 1; clear_parm_order (); ; break;} case 354: #line 1946 "c-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 355: #line 1948 "c-parse.y" { yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ; break;} case 356: #line 1954 "c-parse.y" { yyval.ttype = get_parm_info (0); ; break;} case 357: #line 1956 "c-parse.y" { yyval.ttype = get_parm_info (0); /* Gcc used to allow this as an extension. However, it does not work for all targets, and thus has been disabled. Also, since func (...) and func () are indistinguishable, it caused problems with the code in expand_builtin which tries to verify that BUILT_IN_NEXT_ARG is being used correctly. */ error ("ANSI C requires a named argument before `...'"); ; break;} case 358: #line 1966 "c-parse.y" { yyval.ttype = get_parm_info (1); ; break;} case 359: #line 1968 "c-parse.y" { yyval.ttype = get_parm_info (0); ; break;} case 360: #line 1973 "c-parse.y" { push_parm_decl (yyvsp[0].ttype); ; break;} case 361: #line 1975 "c-parse.y" { push_parm_decl (yyvsp[0].ttype); ; break;} case 362: #line 1982 "c-parse.y" { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, yyvsp[-1].ttype), build_tree_list (prefix_attributes, yyvsp[0].ttype)); current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 363: #line 1991 "c-parse.y" { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, yyvsp[-1].ttype), build_tree_list (prefix_attributes, yyvsp[0].ttype)); current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 364: #line 2000 "c-parse.y" { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, yyvsp[-1].ttype), build_tree_list (prefix_attributes, yyvsp[0].ttype)); current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 365: #line 2009 "c-parse.y" { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, yyvsp[-1].ttype), build_tree_list (prefix_attributes, yyvsp[0].ttype)); current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 366: #line 2019 "c-parse.y" { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, yyvsp[-1].ttype), build_tree_list (prefix_attributes, yyvsp[0].ttype)); current_declspecs = TREE_VALUE (declspec_stack); prefix_attributes = TREE_PURPOSE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 367: #line 2033 "c-parse.y" { pushlevel (0); clear_parm_order (); declare_parm_level (1); ; break;} case 368: #line 2037 "c-parse.y" { yyval.ttype = yyvsp[0].ttype; parmlist_tags_warning (); poplevel (0, 0, 0); ; break;} case 370: #line 2045 "c-parse.y" { tree t; for (t = yyvsp[-1].ttype; t; t = TREE_CHAIN (t)) if (TREE_VALUE (t) == NULL_TREE) error ("`...' in old-style identifier list"); yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, yyvsp[-1].ttype); ; break;} case 371: #line 2055 "c-parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 372: #line 2057 "c-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; break;} case 373: #line 2063 "c-parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 374: #line 2065 "c-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; break;} } /* the action file gets copied in in place of this dollarsign */ #line 480 "/usr/local/lib/bison.simple" yyvsp -= yylen; yyssp -= yylen; #ifdef YYLSP_NEEDED yylsp -= yylen; #endif #if YYDEBUG != 0 if (yydebug) { short *ssp1 = yyss - 1; fprintf (stderr, "state stack now"); while (ssp1 != yyssp) fprintf (stderr, " %d", *++ssp1); fprintf (stderr, "\n"); } #endif *++yyvsp = yyval; #ifdef YYLSP_NEEDED yylsp++; if (yylen == 0) { yylsp->first_line = yylloc.first_line; yylsp->first_column = yylloc.first_column; yylsp->last_line = (yylsp-1)->last_line; yylsp->last_column = (yylsp-1)->last_column; yylsp->text = 0; } else { yylsp->last_line = (yylsp+yylen-1)->last_line; yylsp->last_column = (yylsp+yylen-1)->last_column; } #endif /* Now "shift" the result of the reduction. Determine what state that goes to, based on the state we popped back to and the rule number reduced by. */ yyn = yyr1[yyn]; yystate = yypgoto[yyn - YYNTBASE] + *yyssp; if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp) yystate = yytable[yystate]; else yystate = yydefgoto[yyn - YYNTBASE]; goto yynewstate; yyerrlab: /* here on detecting error */ if (! yyerrstatus) /* If not already recovering from an error, report this error. */ { ++yynerrs; #ifdef YYERROR_VERBOSE yyn = yypact[yystate]; if (yyn > YYFLAG && yyn < YYLAST) { int size = 0; char *msg; int x, count; count = 0; /* Start X at -yyn if nec to avoid negative indexes in yycheck. */ for (x = (yyn < 0 ? -yyn : 0); x < (sizeof(yytname) / sizeof(char *)); x++) if (yycheck[x + yyn] == x) size += strlen(yytname[x]) + 15, count++; msg = (char *) malloc(size + 15); if (msg != 0) { strcpy(msg, "parse error"); if (count < 5) { count = 0; for (x = (yyn < 0 ? -yyn : 0); x < (sizeof(yytname) / sizeof(char *)); x++) if (yycheck[x + yyn] == x) { strcat(msg, count == 0 ? ", expecting `" : " or `"); strcat(msg, yytname[x]); strcat(msg, "'"); count++; } } yyerror(msg); free(msg); } else yyerror ("parse error; also virtual memory exceeded"); } else #endif /* YYERROR_VERBOSE */ yyerror("parse error"); } goto yyerrlab1; yyerrlab1: /* here on error raised explicitly by an action */ if (yyerrstatus == 3) { /* if just tried and failed to reuse lookahead token after an error, discard it. */ /* return failure if at end of input */ if (yychar == YYEOF) YYABORT; #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]); #endif yychar = YYEMPTY; } /* Else will try to reuse lookahead token after shifting the error token. */ yyerrstatus = 3; /* Each real token shifted decrements this */ goto yyerrhandle; yyerrdefault: /* current state does not do anything special for the error token. */ #if 0 /* This is wrong; only states that explicitly want error tokens should shift them. */ yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/ if (yyn) goto yydefault; #endif yyerrpop: /* pop the current state because it cannot handle the error token */ if (yyssp == yyss) YYABORT; yyvsp--; yystate = *--yyssp; #ifdef YYLSP_NEEDED yylsp--; #endif #if YYDEBUG != 0 if (yydebug) { short *ssp1 = yyss - 1; fprintf (stderr, "Error: state stack now"); while (ssp1 != yyssp) fprintf (stderr, " %d", *++ssp1); fprintf (stderr, "\n"); } #endif yyerrhandle: yyn = yypact[yystate]; if (yyn == YYFLAG) goto yyerrdefault; yyn += YYTERROR; if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR) goto yyerrdefault; yyn = yytable[yyn]; if (yyn < 0) { if (yyn == YYFLAG) goto yyerrpop; yyn = -yyn; goto yyreduce; } else if (yyn == 0) goto yyerrpop; if (yyn == YYFINAL) YYACCEPT; #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Shifting error token, "); #endif *++yyvsp = yylval; #ifdef YYLSP_NEEDED *++yylsp = yylloc; #endif yystate = yyn; goto yynewstate; } #line 2068 "c-parse.y"