/* A Bison parser, made from objc-parse.y by GNU Bison version 1.25 */ #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 VA_ARG 290 #define END_OF_LINE 291 #define ASSIGN 292 #define OROR 293 #define ANDAND 294 #define EQCOMPARE 295 #define ARITHCOMPARE 296 #define LSHIFT 297 #define RSHIFT 298 #define UNARY 299 #define PLUSPLUS 300 #define MINUSMINUS 301 #define HYPERUNARY 302 #define POINTSAT 303 #define INTERFACE 304 #define IMPLEMENTATION 305 #define END 306 #define SELECTOR 307 #define DEFS 308 #define ENCODE 309 #define CLASSNAME 310 #define PUBLIC 311 #define PRIVATE 312 #define PROTECTED 313 #define PROTOCOL 314 #define OBJECTNAME 315 #define CLASS 316 #define ALIAS 317 #define OBJC_STRING 318 #line 33 "objc-parse.y" #include "config.h" #include "system.h" #include #include "tree.h" #include "input.h" #include "c-lex.h" #include "c-tree.h" #include "flags.h" #include "output.h" #include "toplev.h" #ifdef MULTIBYTE_CHARS #include #endif #include "objc-act.h" /* Since parsers are distinct for each language, put the language string definition here. */ const char * const language_string = "GNU Obj-C"; /* Like YYERROR but do call yyerror. */ #define YYERROR1 { yyerror ("syntax error"); YYERROR; } /* Cause the `yydebug' variable to be defined. */ #define YYDEBUG 1 #line 65 "objc-parse.y" typedef union {long itype; tree ttype; enum tree_code code; char *filename; int lineno; int ends_in_label; } YYSTYPE; #line 196 "objc-parse.y" /* Number of statements (loosely speaking) and compound statements seen so far. */ static int stmt_count; static int compstmt_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 = NULL_TREE; 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; /* Objective-C specific information */ tree objc_interface_context; tree objc_implementation_context; tree objc_method_context; tree objc_ivar_chain; tree objc_ivar_context; enum tree_code objc_inherit_code; int objc_receiver_context; int objc_public_flag; /* 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 PROTO ((FILE *, int, YYSTYPE)); #include #ifndef __cplusplus #ifndef __STDC__ #define const #endif #endif #define YYFINAL 961 #define YYFLAG -32768 #define YYNTBASE 86 #define YYTRANSLATE(x) ((unsigned)(x) <= 318 ? yytranslate[x] : 313) 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, 82, 2, 2, 2, 54, 45, 2, 61, 78, 52, 50, 83, 51, 60, 53, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 40, 79, 2, 38, 2, 39, 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, 62, 2, 85, 44, 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, 84, 43, 80, 81, 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, 36, 37, 41, 42, 46, 47, 48, 49, 55, 56, 57, 58, 59, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77 }; #if YYDEBUG != 0 static const short yyprhs[] = { 0, 0, 1, 3, 4, 7, 8, 12, 14, 16, 18, 24, 27, 31, 36, 41, 44, 47, 50, 53, 55, 56, 57, 65, 70, 71, 72, 80, 85, 86, 87, 94, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 123, 125, 127, 131, 133, 136, 139, 142, 145, 148, 153, 156, 161, 164, 167, 174, 176, 178, 180, 185, 186, 194, 196, 200, 204, 208, 212, 216, 220, 224, 228, 232, 236, 240, 244, 245, 250, 251, 256, 257, 258, 266, 267, 273, 277, 281, 283, 285, 287, 291, 295, 296, 301, 306, 311, 315, 319, 322, 325, 327, 329, 331, 333, 335, 337, 340, 342, 345, 346, 348, 351, 355, 357, 359, 362, 365, 370, 375, 378, 381, 385, 387, 389, 392, 395, 396, 397, 402, 407, 411, 415, 418, 421, 424, 427, 431, 432, 435, 438, 441, 444, 448, 449, 452, 455, 457, 459, 462, 465, 467, 469, 472, 475, 478, 482, 483, 486, 488, 490, 492, 495, 498, 500, 505, 510, 512, 514, 516, 518, 522, 524, 528, 529, 534, 535, 542, 546, 547, 554, 558, 559, 561, 563, 566, 573, 575, 579, 580, 582, 587, 594, 599, 601, 603, 605, 607, 609, 610, 615, 617, 618, 621, 623, 627, 631, 634, 635, 640, 642, 643, 648, 650, 652, 654, 657, 660, 661, 662, 668, 669, 670, 676, 678, 680, 684, 688, 693, 697, 701, 705, 707, 709, 713, 718, 722, 726, 730, 732, 736, 740, 744, 749, 753, 757, 759, 761, 764, 766, 769, 771, 774, 775, 783, 789, 792, 793, 801, 807, 810, 811, 820, 821, 829, 832, 833, 835, 836, 838, 840, 843, 844, 848, 851, 856, 860, 862, 866, 868, 870, 873, 875, 879, 884, 891, 897, 899, 903, 905, 907, 911, 914, 917, 918, 920, 922, 925, 926, 929, 933, 937, 940, 944, 949, 953, 956, 960, 963, 967, 969, 971, 974, 977, 978, 980, 983, 984, 985, 987, 989, 992, 996, 998, 1001, 1003, 1006, 1013, 1019, 1025, 1028, 1031, 1036, 1037, 1042, 1043, 1044, 1048, 1053, 1057, 1059, 1061, 1063, 1065, 1068, 1069, 1074, 1076, 1080, 1081, 1082, 1090, 1096, 1099, 1100, 1101, 1102, 1115, 1116, 1123, 1126, 1129, 1132, 1136, 1143, 1152, 1163, 1176, 1180, 1185, 1187, 1189, 1190, 1197, 1201, 1207, 1210, 1214, 1215, 1217, 1218, 1220, 1221, 1223, 1225, 1229, 1234, 1236, 1240, 1241, 1244, 1247, 1248, 1253, 1256, 1257, 1259, 1261, 1265, 1267, 1271, 1276, 1281, 1286, 1291, 1296, 1297, 1300, 1302, 1305, 1307, 1311, 1313, 1317, 1319, 1321, 1323, 1325, 1327, 1329, 1331, 1333, 1337, 1341, 1346, 1347, 1348, 1359, 1360, 1367, 1368, 1369, 1382, 1383, 1392, 1393, 1400, 1403, 1404, 1413, 1418, 1419, 1429, 1435, 1436, 1443, 1444, 1446, 1450, 1454, 1456, 1458, 1460, 1462, 1463, 1467, 1470, 1474, 1478, 1480, 1481, 1483, 1487, 1489, 1493, 1496, 1497, 1498, 1499, 1507, 1508, 1509, 1510, 1518, 1519, 1520, 1523, 1525, 1527, 1530, 1531, 1535, 1537, 1539, 1540, 1541, 1547, 1548, 1549, 1555, 1560, 1562, 1568, 1571, 1572, 1575, 1576, 1578, 1580, 1582, 1585, 1588, 1593, 1596, 1599, 1601, 1605, 1608, 1611, 1614, 1615, 1618, 1619, 1623, 1625, 1627, 1630, 1632, 1634, 1636, 1638, 1640, 1642, 1644, 1646, 1648, 1650, 1652, 1654, 1656, 1658, 1660, 1662, 1664, 1666, 1668, 1670, 1672, 1674, 1676, 1678, 1680, 1687, 1691, 1697, 1700, 1702, 1704, 1706, 1709, 1711, 1715, 1718, 1720, 1722, 1723, 1724, 1731, 1733, 1735, 1737, 1740, 1743, 1745, 1750, 1755 }; static const short yyrhs[] = { -1, 87, 0, 0, 88, 90, 0, 0, 87, 89, 90, 0, 92, 0, 91, 0, 244, 0, 27, 61, 101, 78, 79, 0, 243, 90, 0, 125, 139, 79, 0, 132, 125, 139, 79, 0, 128, 125, 138, 79, 0, 132, 79, 0, 128, 79, 0, 1, 79, 0, 1, 80, 0, 79, 0, 0, 0, 128, 125, 167, 93, 119, 94, 201, 0, 128, 125, 167, 1, 0, 0, 0, 132, 125, 170, 95, 119, 96, 201, 0, 132, 125, 170, 1, 0, 0, 0, 125, 170, 97, 119, 98, 201, 0, 125, 170, 1, 0, 3, 0, 4, 0, 74, 0, 69, 0, 45, 0, 51, 0, 50, 0, 56, 0, 57, 0, 81, 0, 82, 0, 103, 0, 0, 103, 0, 109, 0, 103, 83, 109, 0, 115, 0, 52, 107, 0, 243, 107, 0, 100, 107, 0, 42, 99, 0, 105, 104, 0, 105, 61, 188, 78, 0, 106, 104, 0, 106, 61, 188, 78, 0, 33, 107, 0, 34, 107, 0, 35, 61, 109, 83, 188, 78, 0, 11, 0, 29, 0, 104, 0, 61, 188, 78, 107, 0, 0, 61, 188, 78, 84, 108, 153, 80, 0, 107, 0, 109, 50, 109, 0, 109, 51, 109, 0, 109, 52, 109, 0, 109, 53, 109, 0, 109, 54, 109, 0, 109, 48, 109, 0, 109, 49, 109, 0, 109, 47, 109, 0, 109, 46, 109, 0, 109, 45, 109, 0, 109, 43, 109, 0, 109, 44, 109, 0, 0, 109, 42, 110, 109, 0, 0, 109, 41, 111, 109, 0, 0, 0, 109, 39, 112, 101, 40, 113, 109, 0, 0, 109, 39, 114, 40, 109, 0, 109, 38, 109, 0, 109, 37, 109, 0, 3, 0, 8, 0, 117, 0, 61, 101, 78, 0, 61, 1, 78, 0, 0, 61, 116, 203, 78, 0, 115, 61, 102, 78, 0, 115, 62, 101, 85, 0, 115, 60, 99, 0, 115, 59, 99, 0, 115, 56, 0, 115, 57, 0, 304, 0, 310, 0, 311, 0, 312, 0, 118, 0, 9, 0, 117, 9, 0, 77, 0, 118, 77, 0, 0, 121, 0, 121, 10, 0, 208, 209, 122, 0, 120, 0, 196, 0, 121, 120, 0, 120, 196, 0, 130, 125, 138, 79, 0, 133, 125, 139, 79, 0, 130, 79, 0, 133, 79, 0, 208, 209, 127, 0, 123, 0, 196, 0, 124, 123, 0, 123, 196, 0, 0, 0, 128, 125, 138, 79, 0, 132, 125, 139, 79, 0, 128, 125, 161, 0, 132, 125, 164, 0, 128, 79, 0, 132, 79, 0, 243, 127, 0, 136, 129, 0, 132, 136, 129, 0, 0, 129, 137, 0, 129, 5, 0, 129, 146, 0, 136, 131, 0, 133, 136, 131, 0, 0, 131, 137, 0, 131, 5, 0, 133, 0, 146, 0, 132, 133, 0, 132, 146, 0, 7, 0, 5, 0, 133, 7, 0, 133, 5, 0, 136, 135, 0, 190, 136, 135, 0, 0, 135, 137, 0, 6, 0, 174, 0, 4, 0, 69, 260, 0, 74, 260, 0, 261, 0, 28, 61, 101, 78, 0, 28, 61, 188, 78, 0, 6, 0, 7, 0, 174, 0, 141, 0, 138, 83, 141, 0, 143, 0, 139, 83, 141, 0, 0, 27, 61, 117, 78, 0, 0, 167, 140, 145, 38, 142, 151, 0, 167, 140, 145, 0, 0, 170, 140, 145, 38, 144, 151, 0, 170, 140, 145, 0, 0, 146, 0, 147, 0, 146, 147, 0, 30, 61, 61, 148, 78, 78, 0, 149, 0, 148, 83, 149, 0, 0, 150, 0, 150, 61, 3, 78, 0, 150, 61, 3, 83, 103, 78, 0, 150, 61, 102, 78, 0, 99, 0, 5, 0, 6, 0, 7, 0, 109, 0, 0, 84, 152, 153, 80, 0, 1, 0, 0, 154, 179, 0, 155, 0, 154, 83, 155, 0, 159, 38, 157, 0, 160, 157, 0, 0, 99, 40, 156, 157, 0, 157, 0, 0, 84, 158, 153, 80, 0, 109, 0, 1, 0, 160, 0, 159, 160, 0, 60, 99, 0, 0, 0, 167, 162, 119, 163, 203, 0, 0, 0, 170, 165, 119, 166, 203, 0, 168, 0, 170, 0, 61, 168, 78, 0, 168, 61, 238, 0, 168, 62, 101, 85, 0, 168, 62, 85, 0, 52, 191, 168, 0, 146, 126, 168, 0, 4, 0, 74, 0, 169, 61, 238, 0, 169, 62, 101, 85, 0, 169, 62, 85, 0, 52, 191, 169, 0, 146, 126, 169, 0, 4, 0, 170, 61, 238, 0, 61, 170, 78, 0, 52, 191, 170, 0, 170, 62, 101, 85, 0, 170, 62, 85, 0, 146, 126, 170, 0, 3, 0, 13, 0, 13, 146, 0, 14, 0, 14, 146, 0, 12, 0, 12, 146, 0, 0, 171, 99, 84, 175, 181, 80, 145, 0, 171, 84, 181, 80, 145, 0, 171, 99, 0, 0, 172, 99, 84, 176, 181, 80, 145, 0, 172, 84, 181, 80, 145, 0, 172, 99, 0, 0, 173, 99, 84, 177, 186, 180, 80, 145, 0, 0, 173, 84, 178, 186, 180, 80, 145, 0, 173, 99, 0, 0, 83, 0, 0, 83, 0, 182, 0, 182, 183, 0, 0, 182, 183, 79, 0, 182, 79, 0, 67, 61, 69, 78, 0, 134, 125, 184, 0, 134, 0, 190, 125, 184, 0, 190, 0, 1, 0, 243, 183, 0, 185, 0, 184, 83, 185, 0, 208, 209, 167, 145, 0, 208, 209, 167, 40, 109, 145, 0, 208, 209, 40, 109, 145, 0, 187, 0, 186, 83, 187, 0, 1, 0, 99, 0, 99, 38, 109, 0, 134, 189, 0, 190, 189, 0, 0, 192, 0, 7, 0, 190, 7, 0, 0, 191, 7, 0, 61, 192, 78, 0, 52, 191, 192, 0, 52, 191, 0, 192, 61, 231, 0, 192, 62, 101, 85, 0, 192, 62, 85, 0, 61, 231, 0, 62, 101, 85, 0, 62, 85, 0, 146, 126, 192, 0, 194, 0, 211, 0, 194, 211, 0, 194, 196, 0, 0, 193, 0, 1, 79, 0, 0, 0, 199, 0, 200, 0, 199, 200, 0, 32, 242, 79, 0, 203, 0, 1, 203, 0, 84, 0, 202, 80, 0, 202, 197, 198, 124, 195, 80, 0, 202, 197, 198, 1, 80, 0, 202, 197, 198, 193, 80, 0, 205, 210, 0, 205, 1, 0, 15, 61, 101, 78, 0, 0, 18, 207, 210, 17, 0, 0, 0, 208, 209, 213, 0, 208, 209, 224, 210, 0, 208, 209, 212, 0, 213, 0, 224, 0, 203, 0, 221, 0, 101, 79, 0, 0, 204, 16, 214, 210, 0, 204, 0, 204, 16, 1, 0, 0, 0, 17, 215, 61, 101, 78, 216, 210, 0, 206, 61, 101, 78, 79, 0, 206, 1, 0, 0, 0, 0, 19, 61, 226, 79, 217, 226, 79, 218, 226, 78, 219, 210, 0, 0, 20, 61, 101, 78, 220, 210, 0, 23, 79, 0, 24, 79, 0, 25, 79, 0, 25, 101, 79, 0, 27, 225, 61, 101, 78, 79, 0, 27, 225, 61, 101, 40, 227, 78, 79, 0, 27, 225, 61, 101, 40, 227, 40, 227, 78, 79, 0, 27, 225, 61, 101, 40, 227, 40, 227, 40, 230, 78, 79, 0, 26, 99, 79, 0, 26, 52, 101, 79, 0, 79, 0, 222, 0, 0, 19, 61, 115, 78, 223, 210, 0, 21, 109, 40, 0, 21, 109, 10, 109, 40, 0, 22, 40, 0, 99, 40, 145, 0, 0, 7, 0, 0, 101, 0, 0, 228, 0, 229, 0, 228, 83, 229, 0, 9, 61, 101, 78, 0, 117, 0, 230, 83, 117, 0, 0, 232, 233, 0, 235, 78, 0, 0, 236, 79, 234, 233, 0, 1, 78, 0, 0, 10, 0, 236, 0, 236, 83, 10, 0, 237, 0, 236, 83, 237, 0, 128, 125, 169, 145, 0, 128, 125, 170, 145, 0, 128, 125, 189, 145, 0, 132, 125, 170, 145, 0, 132, 125, 189, 145, 0, 0, 239, 240, 0, 233, 0, 241, 78, 0, 3, 0, 241, 83, 3, 0, 99, 0, 242, 83, 99, 0, 31, 0, 248, 0, 246, 0, 247, 0, 258, 0, 268, 0, 65, 0, 99, 0, 245, 83, 99, 0, 75, 245, 79, 0, 76, 99, 99, 79, 0, 0, 0, 63, 99, 260, 84, 249, 262, 80, 250, 275, 65, 0, 0, 63, 99, 260, 251, 275, 65, 0, 0, 0, 63, 99, 40, 99, 260, 84, 252, 262, 80, 253, 275, 65, 0, 0, 63, 99, 40, 99, 260, 254, 275, 65, 0, 0, 64, 99, 84, 255, 262, 80, 0, 64, 99, 0, 0, 64, 99, 40, 99, 84, 256, 262, 80, 0, 64, 99, 40, 99, 0, 0, 63, 99, 61, 99, 78, 260, 257, 275, 65, 0, 64, 99, 61, 99, 78, 0, 0, 73, 99, 260, 259, 275, 65, 0, 0, 261, 0, 47, 245, 47, 0, 262, 263, 264, 0, 264, 0, 71, 0, 72, 0, 70, 0, 0, 264, 265, 79, 0, 264, 79, 0, 134, 125, 266, 0, 190, 125, 266, 0, 1, 0, 0, 267, 0, 266, 83, 267, 0, 167, 0, 167, 40, 109, 0, 40, 109, 0, 0, 0, 0, 50, 269, 285, 270, 286, 271, 201, 0, 0, 0, 0, 51, 272, 285, 273, 286, 274, 201, 0, 0, 0, 276, 277, 0, 280, 0, 91, 0, 277, 280, 0, 0, 277, 278, 91, 0, 79, 0, 1, 0, 0, 0, 50, 281, 285, 282, 279, 0, 0, 0, 51, 283, 285, 284, 279, 0, 61, 188, 78, 294, 0, 294, 0, 61, 188, 78, 295, 292, 0, 295, 292, 0, 0, 79, 287, 0, 0, 288, 0, 289, 0, 196, 0, 288, 289, 0, 289, 196, 0, 128, 125, 290, 79, 0, 128, 79, 0, 132, 79, 0, 291, 0, 290, 83, 291, 0, 169, 145, 0, 170, 145, 0, 189, 145, 0, 0, 83, 10, 0, 0, 83, 293, 235, 0, 296, 0, 298, 0, 295, 298, 0, 3, 0, 4, 0, 74, 0, 297, 0, 12, 0, 13, 0, 14, 0, 15, 0, 16, 0, 17, 0, 18, 0, 19, 0, 20, 0, 21, 0, 22, 0, 23, 0, 24, 0, 25, 0, 26, 0, 27, 0, 11, 0, 28, 0, 29, 0, 6, 0, 7, 0, 296, 40, 61, 188, 78, 99, 0, 296, 40, 99, 0, 40, 61, 188, 78, 99, 0, 40, 99, 0, 296, 0, 300, 0, 302, 0, 300, 302, 0, 103, 0, 296, 40, 301, 0, 40, 301, 0, 101, 0, 69, 0, 0, 0, 62, 305, 303, 306, 299, 85, 0, 296, 0, 308, 0, 309, 0, 308, 309, 0, 296, 40, 0, 40, 0, 66, 61, 307, 78, 0, 73, 61, 99, 78, 0, 68, 61, 188, 78, 0 }; #endif #if YYDEBUG != 0 static const short yyrline[] = { 0, 236, 241, 255, 257, 257, 258, 260, 262, 263, 264, 272, 276, 287, 292, 297, 299, 301, 302, 303, 308, 315, 317, 322, 327, 333, 335, 340, 345, 351, 353, 358, 365, 367, 368, 369, 372, 374, 376, 378, 380, 382, 384, 388, 392, 395, 398, 401, 405, 407, 410, 413, 417, 445, 451, 454, 457, 460, 462, 464, 468, 472, 476, 478, 481, 485, 512, 514, 516, 518, 520, 522, 524, 526, 528, 530, 532, 534, 536, 538, 542, 544, 548, 550, 553, 557, 559, 566, 569, 577, 588, 748, 749, 751, 757, 759, 773, 796, 798, 800, 812, 826, 828, 830, 832, 834, 836, 838, 843, 845, 851, 853, 857, 859, 860, 870, 875, 877, 878, 879, 886, 892, 897, 900, 908, 913, 915, 916, 917, 924, 935, 939, 945, 950, 955, 960, 962, 964, 973, 976, 980, 982, 984, 989, 993, 996, 1000, 1003, 1005, 1017, 1020, 1022, 1024, 1028, 1032, 1034, 1037, 1050, 1053, 1057, 1059, 1067, 1068, 1069, 1073, 1075, 1080, 1082, 1084, 1090, 1091, 1092, 1095, 1097, 1100, 1102, 1105, 1108, 1114, 1121, 1123, 1130, 1137, 1140, 1147, 1150, 1154, 1157, 1161, 1166, 1169, 1173, 1176, 1178, 1180, 1182, 1189, 1191, 1192, 1193, 1198, 1200, 1205, 1213, 1218, 1222, 1225, 1227, 1232, 1234, 1235, 1238, 1238, 1241, 1244, 1246, 1248, 1251, 1253, 1256, 1264, 1275, 1283, 1287, 1298, 1306, 1313, 1315, 1320, 1323, 1328, 1330, 1332, 1339, 1341, 1342, 1350, 1356, 1358, 1360, 1367, 1369, 1375, 1381, 1383, 1385, 1387, 1394, 1396, 1399, 1402, 1406, 1409, 1413, 1416, 1420, 1425, 1427, 1431, 1433, 1435, 1437, 1441, 1443, 1446, 1449, 1452, 1455, 1459, 1461, 1464, 1466, 1471, 1474, 1479, 1481, 1483, 1487, 1511, 1518, 1523, 1529, 1534, 1536, 1541, 1543, 1547, 1551, 1555, 1565, 1567, 1572, 1577, 1580, 1584, 1587, 1591, 1594, 1597, 1600, 1604, 1607, 1611, 1615, 1617, 1619, 1621, 1623, 1625, 1627, 1629, 1633, 1641, 1649, 1651, 1653, 1657, 1659, 1662, 1665, 1678, 1680, 1685, 1687, 1690, 1704, 1707, 1710, 1712, 1714, 1722, 1730, 1741, 1746, 1749, 1763, 1772, 1776, 1780, 1784, 1790, 1794, 1799, 1802, 1807, 1810, 1811, 1828, 1833, 1836, 1848, 1850, 1860, 1870, 1871, 1879, 1882, 1894, 1898, 1915, 1925, 1934, 1939, 1944, 1949, 1953, 1957, 1968, 1975, 1982, 1989, 2000, 2006, 2009, 2014, 2037, 2071, 2102, 2133, 2148, 2162, 2166, 2170, 2173, 2178, 2180, 2183, 2185, 2189, 2194, 2197, 2203, 2208, 2213, 2215, 2224, 2225, 2231, 2233, 2243, 2245, 2249, 2252, 2258, 2268, 2277, 2286, 2296, 2310, 2315, 2320, 2322, 2331, 2334, 2339, 2342, 2346, 2354, 2356, 2357, 2358, 2359, 2360, 2374, 2377, 2381, 2387, 2393, 2400, 2405, 2411, 2418, 2424, 2430, 2435, 2441, 2448, 2454, 2460, 2466, 2474, 2480, 2486, 2494, 2501, 2507, 2516, 2523, 2531, 2536, 2539, 2549, 2551, 2554, 2556, 2557, 2560, 2565, 2566, 2583, 2590, 2596, 2600, 2603, 2604, 2607, 2615, 2621, 2630, 2640, 2647, 2651, 2656, 2665, 2672, 2676, 2686, 2688, 2689, 2691, 2693, 2694, 2695, 2696, 2698, 2700, 2703, 2711, 2718, 2718, 2725, 2731, 2733, 2739, 2744, 2749, 2758, 2760, 2766, 2768, 2771, 2773, 2774, 2775, 2778, 2784, 2786, 2790, 2793, 2800, 2806, 2811, 2818, 2823, 2828, 2833, 2840, 2844, 2847, 2853, 2855, 2856, 2857, 2860, 2862, 2863, 2864, 2865, 2866, 2867, 2868, 2869, 2870, 2871, 2872, 2873, 2874, 2875, 2876, 2877, 2878, 2879, 2880, 2880, 2883, 2889, 2894, 2899, 2905, 2907, 2910, 2912, 2919, 2931, 2936, 2942, 2944, 2950, 2954, 2955, 2961, 2963, 2966, 2968, 2974, 2979, 2985, 2992, 3001 }; #endif #if YYDEBUG != 0 || defined (YYERROR_VERBOSE) static const char * const yytname[] = { "$","error","$undefined.","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","VA_ARG","END_OF_LINE","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", "sizeof","alignof","cast_expr","@9","expr_no_commas","@10","@11","@12","@13", "@14","primary","@15","string","objc_string","old_style_parm_decls","lineno_datadecl", "datadecls","datadecl","lineno_decl","decls","setspecs","setattrs","decl","typed_declspecs", "reserved_declspecs","typed_declspecs_no_prefix_attr","reserved_declspecs_no_prefix_attr", "declmods","declmods_no_prefix_attr","typed_typespecs","reserved_typespecquals", "typespec","typespecqual_reserved","initdecls","notype_initdecls","maybeasm", "initdcl","@16","notype_initdcl","@17","maybe_attribute","attributes","attribute", "attribute_list","attrib","any_word","init","@18","initlist_maybe_comma","initlist1", "initelt","@19","initval","@20","designator_list","designator","nested_function", "@21","@22","notype_nested_function","@23","@24","declarator","after_type_declarator", "parm_declarator","notype_declarator","struct_head","union_head","enum_head", "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_start","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","extension", "objcdef","identifier_list","classdecl","aliasdecl","classdef","@41","@42","@43", "@44","@45","@46","@47","@48","@49","protocoldef","@50","protocolrefs","non_empty_protocolrefs", "ivar_decl_list","visibility_spec","ivar_decls","ivar_decl","ivars","ivar_declarator", "methoddef","@51","@52","@53","@54","@55","@56","methodprotolist","@57","methodprotolist2", "@58","semi_or_error","methodproto","@59","@60","@61","@62","methoddecl","optarglist", "myxdecls","mydecls","mydecl","myparms","myparm","optparmlist","@63","unaryselector", "keywordselector","selector","reservedwords","keyworddecl","messageargs","keywordarglist", "keywordexpr","keywordarg","receiver","objcmessageexpr","@64","@65","selectorarg", "keywordnamelist","keywordname","objcselectorexpr","objcprotocolexpr","objcencodeexpr", NULL }; #endif static const short yyr1[] = { 0, 86, 86, 88, 87, 89, 87, 90, 90, 90, 90, 90, 91, 91, 91, 91, 91, 91, 91, 91, 93, 94, 92, 92, 95, 96, 92, 92, 97, 98, 92, 92, 99, 99, 99, 99, 100, 100, 100, 100, 100, 100, 100, 101, 102, 102, 103, 103, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 105, 106, 107, 107, 108, 107, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 110, 109, 111, 109, 112, 113, 109, 114, 109, 109, 109, 115, 115, 115, 115, 115, 116, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 117, 117, 118, 118, 119, 119, 119, 120, 121, 121, 121, 121, 122, 122, 122, 122, 123, 124, 124, 124, 124, 125, 126, 127, 127, 127, 127, 127, 127, 127, 128, 128, 129, 129, 129, 129, 130, 130, 131, 131, 131, 132, 132, 132, 132, 133, 133, 133, 133, 134, 134, 135, 135, 136, 136, 136, 136, 136, 136, 136, 136, 137, 137, 137, 138, 138, 139, 139, 140, 140, 142, 141, 141, 144, 143, 143, 145, 145, 146, 146, 147, 148, 148, 149, 149, 149, 149, 149, 150, 150, 150, 150, 151, 152, 151, 151, 153, 153, 154, 154, 155, 155, 156, 155, 155, 158, 157, 157, 157, 159, 159, 160, 162, 163, 161, 165, 166, 164, 167, 167, 168, 168, 168, 168, 168, 168, 168, 168, 169, 169, 169, 169, 169, 169, 170, 170, 170, 170, 170, 170, 170, 171, 171, 172, 172, 173, 173, 175, 174, 174, 174, 176, 174, 174, 174, 177, 174, 178, 174, 174, 179, 179, 180, 180, 181, 181, 182, 182, 182, 182, 183, 183, 183, 183, 183, 183, 184, 184, 185, 185, 185, 186, 186, 186, 187, 187, 188, 188, 189, 189, 190, 190, 191, 191, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 193, 194, 194, 194, 195, 195, 196, 197, 198, 198, 199, 199, 200, 201, 201, 202, 203, 203, 203, 203, 204, 204, 205, 207, 206, 208, 209, 210, 210, 211, 212, 212, 213, 213, 213, 214, 213, 213, 213, 215, 216, 213, 213, 213, 217, 218, 219, 213, 220, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 221, 223, 222, 224, 224, 224, 224, 225, 225, 226, 226, 227, 227, 228, 228, 229, 230, 230, 232, 231, 233, 234, 233, 233, 235, 235, 235, 235, 236, 236, 237, 237, 237, 237, 237, 239, 238, 240, 240, 241, 241, 242, 242, 243, 244, 244, 244, 244, 244, 244, 245, 245, 246, 247, 249, 250, 248, 251, 248, 252, 253, 248, 254, 248, 255, 248, 248, 256, 248, 248, 257, 248, 248, 259, 258, 260, 260, 261, 262, 262, 263, 263, 263, 264, 264, 264, 265, 265, 265, 266, 266, 266, 267, 267, 267, 269, 270, 271, 268, 272, 273, 274, 268, 275, 276, 275, 277, 277, 277, 278, 277, 279, 279, 281, 282, 280, 283, 284, 280, 285, 285, 285, 285, 286, 286, 287, 287, 288, 288, 288, 288, 289, 289, 289, 290, 290, 291, 291, 291, 292, 292, 293, 292, 294, 295, 295, 296, 296, 296, 296, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, 298, 298, 298, 298, 299, 299, 300, 300, 301, 302, 302, 303, 303, 305, 306, 304, 307, 307, 308, 308, 309, 309, 310, 311, 312 }; static const short yyr2[] = { 0, 0, 1, 0, 2, 0, 3, 1, 1, 1, 5, 2, 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, 1, 1, 0, 1, 1, 3, 1, 2, 2, 2, 2, 2, 4, 2, 4, 2, 2, 6, 1, 1, 1, 4, 0, 7, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 4, 0, 4, 0, 0, 7, 0, 5, 3, 3, 1, 1, 1, 3, 3, 0, 4, 4, 4, 3, 3, 2, 2, 1, 1, 1, 1, 1, 1, 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, 2, 3, 0, 2, 2, 2, 2, 3, 0, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 2, 3, 0, 2, 1, 1, 1, 2, 2, 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, 3, 2, 0, 4, 1, 0, 4, 1, 1, 1, 2, 2, 0, 0, 5, 0, 0, 5, 1, 1, 3, 3, 4, 3, 3, 3, 1, 1, 3, 4, 3, 3, 3, 1, 3, 3, 3, 4, 3, 3, 1, 1, 2, 1, 2, 1, 2, 0, 7, 5, 2, 0, 7, 5, 2, 0, 8, 0, 7, 2, 0, 1, 0, 1, 1, 2, 0, 3, 2, 4, 3, 1, 3, 1, 1, 2, 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, 1, 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, 3, 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, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 4, 0, 0, 10, 0, 6, 0, 0, 12, 0, 8, 0, 6, 2, 0, 8, 4, 0, 9, 5, 0, 6, 0, 1, 3, 3, 1, 1, 1, 1, 0, 3, 2, 3, 3, 1, 0, 1, 3, 1, 3, 2, 0, 0, 0, 7, 0, 0, 0, 7, 0, 0, 2, 1, 1, 2, 0, 3, 1, 1, 0, 0, 5, 0, 0, 5, 4, 1, 5, 2, 0, 2, 0, 1, 1, 1, 2, 2, 4, 2, 2, 1, 3, 2, 2, 2, 0, 2, 0, 3, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 3, 5, 2, 1, 1, 1, 2, 1, 3, 2, 1, 1, 0, 0, 6, 1, 1, 1, 2, 2, 1, 4, 4, 4 }; static const short yydefact[] = { 3, 5, 0, 0, 0, 163, 154, 161, 153, 253, 249, 251, 0, 0, 0, 416, 0, 468, 472, 0, 0, 422, 448, 0, 448, 0, 0, 19, 4, 8, 7, 0, 129, 129, 149, 140, 150, 186, 0, 0, 0, 162, 0, 9, 418, 419, 417, 420, 166, 421, 6, 17, 18, 254, 250, 252, 0, 0, 0, 32, 33, 35, 34, 423, 0, 0, 0, 448, 439, 164, 449, 448, 165, 0, 0, 248, 300, 0, 0, 174, 130, 0, 16, 0, 15, 0, 151, 140, 152, 156, 155, 138, 187, 274, 258, 274, 262, 265, 267, 11, 90, 91, 108, 60, 61, 0, 0, 0, 0, 36, 38, 37, 0, 39, 40, 0, 557, 0, 0, 0, 110, 41, 42, 0, 0, 43, 62, 0, 0, 66, 46, 48, 92, 107, 0, 103, 104, 105, 106, 298, 0, 296, 159, 0, 296, 191, 450, 0, 519, 520, 542, 543, 539, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 540, 541, 0, 0, 521, 469, 493, 512, 516, 522, 517, 473, 0, 0, 430, 0, 0, 437, 446, 425, 0, 0, 0, 12, 0, 0, 31, 0, 408, 0, 0, 184, 234, 300, 0, 235, 0, 172, 130, 0, 226, 227, 0, 0, 139, 142, 169, 170, 141, 143, 171, 0, 0, 0, 255, 0, 259, 0, 263, 57, 58, 0, 52, 49, 0, 0, 0, 0, 0, 0, 0, 0, 51, 0, 0, 0, 53, 0, 55, 0, 0, 83, 81, 79, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 102, 0, 0, 44, 0, 109, 111, 50, 167, 300, 391, 0, 130, 294, 297, 157, 168, 299, 159, 295, 197, 198, 199, 196, 0, 189, 192, 424, 0, 547, 0, 496, 514, 495, 0, 518, 0, 496, 448, 0, 427, 477, 442, 0, 456, 477, 426, 301, 244, 243, 175, 176, 247, 0, 242, 0, 246, 0, 0, 29, 0, 337, 117, 338, 183, 185, 0, 0, 14, 0, 0, 23, 0, 184, 408, 0, 13, 27, 0, 0, 184, 282, 276, 129, 273, 129, 0, 274, 184, 274, 291, 292, 270, 289, 0, 0, 94, 93, 327, 319, 0, 0, 556, 555, 558, 565, 560, 0, 561, 562, 0, 0, 10, 47, 0, 0, 89, 88, 0, 0, 0, 0, 77, 78, 76, 75, 74, 72, 73, 67, 68, 69, 70, 71, 100, 99, 0, 45, 0, 304, 0, 308, 0, 310, 0, 0, 391, 0, 160, 158, 0, 191, 44, 0, 0, 0, 470, 513, 397, 0, 545, 474, 435, 448, 456, 0, 0, 440, 445, 0, 0, 0, 0, 0, 412, 398, 129, 129, 410, 0, 399, 401, 409, 0, 245, 318, 0, 119, 114, 118, 0, 181, 232, 228, 173, 233, 21, 180, 229, 231, 0, 25, 0, 257, 337, 275, 337, 283, 0, 261, 0, 0, 271, 0, 270, 0, 328, 320, 96, 64, 63, 0, 564, 566, 0, 563, 568, 567, 54, 56, 0, 0, 82, 80, 97, 98, 303, 302, 392, 309, 311, 305, 307, 0, 188, 190, 90, 0, 0, 492, 512, 129, 0, 501, 497, 499, 0, 0, 515, 399, 0, 0, 432, 477, 443, 0, 431, 486, 489, 480, 0, 129, 129, 482, 479, 456, 455, 453, 454, 438, 456, 461, 458, 129, 129, 0, 447, 177, 396, 296, 296, 393, 394, 0, 411, 0, 0, 30, 325, 115, 129, 129, 146, 0, 0, 178, 230, 0, 277, 278, 284, 338, 280, 184, 184, 293, 290, 184, 0, 0, 0, 0, 321, 322, 0, 0, 548, 0, 549, 550, 84, 87, 306, 193, 0, 195, 546, 494, 505, 296, 506, 502, 503, 471, 0, 475, 456, 0, 477, 428, 0, 0, 176, 0, 0, 0, 481, 0, 0, 462, 462, 457, 241, 300, 391, 130, 184, 184, 184, 300, 130, 184, 184, 0, 400, 402, 413, 326, 122, 0, 123, 0, 146, 144, 203, 201, 200, 182, 22, 0, 26, 337, 0, 256, 260, 266, 184, 59, 414, 0, 0, 0, 337, 0, 0, 126, 338, 313, 323, 216, 90, 0, 213, 0, 215, 0, 268, 206, 212, 0, 0, 552, 554, 0, 559, 0, 551, 0, 0, 184, 184, 184, 0, 507, 544, 0, 436, 0, 477, 487, 490, 483, 441, 0, 465, 459, 463, 460, 304, 0, 408, 0, 403, 404, 405, 304, 0, 406, 407, 395, 0, 0, 145, 148, 147, 0, 179, 285, 0, 184, 264, 324, 0, 330, 128, 127, 317, 0, 331, 315, 338, 314, 0, 219, 0, 210, 65, 0, 205, 0, 218, 209, 553, 85, 194, 509, 510, 511, 504, 296, 433, 444, 0, 0, 0, 467, 0, 0, 239, 240, 236, 238, 0, 120, 121, 0, 184, 0, 286, 415, 329, 0, 163, 0, 351, 335, 0, 0, 0, 0, 0, 0, 0, 0, 380, 448, 448, 372, 0, 0, 124, 129, 129, 344, 349, 0, 0, 341, 342, 345, 373, 343, 0, 0, 0, 207, 208, 508, 477, 429, 485, 484, 488, 491, 466, 464, 237, 202, 288, 184, 0, 0, 337, 382, 0, 0, 378, 362, 363, 364, 0, 0, 0, 381, 0, 184, 346, 135, 0, 136, 0, 0, 333, 338, 332, 355, 0, 137, 214, 211, 0, 287, 0, 0, 0, 383, 48, 0, 0, 0, 376, 365, 0, 370, 0, 379, 0, 133, 220, 0, 134, 223, 350, 337, 0, 0, 434, 334, 0, 336, 374, 356, 360, 0, 371, 0, 131, 0, 132, 0, 348, 339, 337, 0, 352, 337, 382, 337, 377, 384, 0, 221, 224, 340, 354, 337, 375, 0, 361, 0, 0, 385, 386, 366, 0, 0, 353, 357, 0, 384, 0, 0, 222, 225, 382, 0, 0, 367, 387, 0, 388, 0, 0, 358, 389, 0, 368, 337, 0, 0, 359, 369, 390, 0, 0, 0 }; static const short yydefgoto[] = { 959, 1, 2, 3, 28, 29, 30, 338, 570, 344, 573, 199, 452, 679, 123, 234, 402, 125, 126, 127, 128, 129, 590, 130, 387, 386, 384, 693, 385, 131, 235, 132, 133, 325, 326, 327, 565, 667, 668, 31, 194, 806, 442, 91, 566, 649, 443, 34, 141, 281, 35, 217, 205, 78, 200, 206, 655, 79, 569, 330, 331, 37, 290, 291, 292, 653, 731, 681, 682, 683, 820, 684, 750, 685, 686, 883, 903, 930, 886, 905, 931, 317, 209, 695, 210, 38, 39, 40, 41, 353, 355, 360, 226, 754, 479, 221, 222, 350, 575, 576, 358, 359, 143, 697, 144, 190, 280, 669, 670, 743, 328, 483, 587, 588, 589, 563, 365, 564, 810, 811, 812, 838, 859, 456, 860, 673, 813, 814, 889, 837, 921, 912, 940, 953, 913, 815, 816, 911, 817, 850, 873, 926, 927, 928, 951, 407, 408, 444, 639, 445, 446, 447, 320, 321, 448, 449, 665, 134, 43, 64, 44, 45, 46, 430, 704, 307, 612, 824, 529, 310, 541, 614, 47, 311, 69, 48, 435, 546, 436, 551, 711, 712, 49, 65, 297, 523, 66, 303, 527, 431, 432, 539, 621, 828, 540, 616, 769, 617, 770, 174, 422, 520, 521, 522, 698, 699, 299, 424, 175, 176, 177, 178, 179, 593, 594, 688, 595, 370, 135, 237, 487, 373, 374, 375, 136, 137, 138 }; static const short yypact[] = { 98, 121, 3222, 3222, 106,-32768,-32768,-32768,-32768, 102, 102, 102, 88, 94, 134,-32768, 273,-32768,-32768, 273, 273, -32768, 63, 273, 63, 273, 273,-32768,-32768,-32768,-32768, 321, 149, 325, 191,-32768, 102,-32768, 108, 115, 233, -32768, 3222,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768, 102, 102, 102, 2921, 2753, 187,-32768,-32768, -32768,-32768,-32768, 58, 3507, 3507, 218, 52,-32768,-32768, 63,-32768, 262, 273,-32768,-32768, 321, 317,-32768, 102, 1267,-32768, 387,-32768, 321, 191,-32768, 102,-32768,-32768, 596,-32768, 190, 56, 190, 198,-32768, 213,-32768,-32768, -32768,-32768,-32768,-32768, 2921, 2921, 208, 273,-32768,-32768, -32768, 2921,-32768,-32768, 1471,-32768, 245, 247, 258,-32768, -32768,-32768, 2921, 265, 282,-32768, 2977, 3033,-32768, 3858, 766, 347, 291, 2921,-32768,-32768,-32768,-32768,-32768, 299, 442,-32768, 311, 3631, 415,-32768, 273,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 201, 2081,-32768,-32768,-32768, 2643, 367,-32768,-32768,-32768, 273, 273, 339, 273, 273,-32768,-32768,-32768, 308, 381, 145,-32768, 387, 321,-32768, 388,-32768, 2096, 2070, 102, -32768,-32768, 387,-32768, 331,-32768, 102, 1297, 272, 369, 404, 1953, 596,-32768,-32768,-32768,-32768, 102,-32768, 390, 374, 1356,-32768, 393,-32768, 92,-32768,-32768,-32768, 2921, -32768,-32768, 414, 423, 437, 463, 2809, 3537, 2081, 273, -32768, 465, 2921, 1471,-32768, 1471,-32768, 2921, 2921, 509, -32768,-32768, 2921, 2921, 2921, 2921, 2921, 2921, 2921, 2921, 2921, 2921, 2921, 2921,-32768,-32768, 273, 273, 2921, 2921, -32768,-32768,-32768,-32768,-32768, 442, 2157, 102,-32768, 379, 675,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 162, -32768, 497,-32768, 2081,-32768, 477, 480, 551,-32768, 367, -32768, 240, 480, 63, 491,-32768, 506, 492, 500,-32768, 506,-32768,-32768, 369,-32768,-32768, 554, 369, 575,-32768, 3327,-32768, 526, 520,-32768, 1983, 79,-32768,-32768, 580, 102, 231, 212,-32768, 387, 387,-32768, 2070, 102,-32768, 2218,-32768,-32768, 2070, 544, 102,-32768,-32768, 419, 542, 3385, 3468, 190, 102, 190,-32768, 585, 545,-32768, 92, 3775,-32768,-32768,-32768, 547, 552, 2561,-32768,-32768,-32768, -32768, 593, 567, 3537,-32768, 569, 572,-32768, 3858, 577, 579, 3858, 3858, 2921, 622, 2921, 2921, 936, 1237, 749, 589, 1128, 676, 676, 269, 269,-32768,-32768,-32768,-32768, -32768, 588, 282, 540, 288, 274,-32768, 3357,-32768, 587, 442,-32768, 2279,-32768, 675, 595, 415, 3089, 601, 3572, 2012,-32768,-32768, 3643, 2081,-32768,-32768, 599, 63,-32768, 564, 3299,-32768,-32768, 457, 3168, 626, 73, 615,-32768, -32768,-32768, 3709,-32768, 617, 430,-32768,-32768, 185,-32768, -32768, 76,-32768,-32768,-32768, 3729,-32768, 272,-32768,-32768, 272,-32768, 658,-32768,-32768, 619,-32768, 629,-32768,-32768, -32768,-32768,-32768, 634,-32768, 640, 2921, 273, 641, 545, 2081,-32768, 693,-32768,-32768,-32768, 3602,-32768,-32768, 593, -32768,-32768,-32768,-32768,-32768, 692, 2921, 1444, 1604,-32768, -32768, 379,-32768,-32768,-32768, 379,-32768,-32768, 648,-32768, -32768, 276, 659, 273,-32768, 2643, 661, 2684,-32768,-32768, 3709, 2042, 76,-32768, 655, 663, 76,-32768, 506,-32768, 476,-32768,-32768,-32768,-32768, 321, 149, 325, 440,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 3741, 664,-32768,-32768,-32768, 455, 376,-32768,-32768, 3697,-32768, 741, 437,-32768,-32768,-32768, 669, 3438,-32768, 1794, 76, -32768,-32768, 76,-32768, 668,-32768,-32768, 668, 102, 102, 3858,-32768, 102, 672, 677, 273, 997, 693,-32768, 1553, 2921, 716, 673, 3602,-32768,-32768, 1524,-32768,-32768, 2921, -32768,-32768,-32768,-32768, 455,-32768,-32768,-32768,-32768, 273, -32768,-32768, 698, 506,-32768, 3507, 3507, 111, 387, 321, 1882,-32768, 494, 3185, 493, 493,-32768,-32768,-32768, 376, 102, 139, 225, 102,-32768, 102, 225, 102, 3357,-32768, -32768,-32768,-32768,-32768, 387,-32768, 321,-32768, 696,-32768, -32768, 3858,-32768,-32768, 1794,-32768,-32768, 616,-32768,-32768, -32768, 102,-32768,-32768, 443, 435, 895, 686, 689, 1087, -32768,-32768,-32768,-32768,-32768, 717, 273,-32768, 730, 3858, 691, 703,-32768,-32768, 68, 1717, 282,-32768, 2921,-32768, 716,-32768, 2921, 303, 139, 225, 102, 459,-32768,-32768, 535,-32768, 707, 506,-32768,-32768,-32768,-32768, 2921, 734, 709,-32768, 709, 715, 455,-32768, 2340,-32768,-32768,-32768, 363, 376,-32768,-32768,-32768, 507, 508, 696,-32768,-32768, 1553,-32768,-32768, 2921, 61,-32768,-32768, 273,-32768,-32768, -32768,-32768, 695,-32768,-32768,-32768,-32768, 2423,-32768, 1553, -32768,-32768, 1635,-32768, 1871,-32768,-32768,-32768, 1524,-32768, -32768,-32768,-32768,-32768, 455,-32768,-32768, 740, 83, 83, 3858, 2921, 493, 405, 405,-32768,-32768, 722,-32768,-32768, 731, 3822, 2921,-32768,-32768,-32768, 2505, 770, 753,-32768, -32768, 754, 755, 2921, 777, 751, 752, 2865, 309, 812, 173, 263,-32768, 793, 758,-32768, 759, 3410,-32768, 823, 1183, 87,-32768,-32768,-32768,-32768,-32768, 2673, 761, 1871, -32768,-32768,-32768, 506,-32768,-32768,-32768,-32768,-32768, 3858, -32768,-32768,-32768,-32768, 3822, 2921, 781,-32768, 2921, 2921, 3794,-32768,-32768,-32768,-32768, 764, 2921, 765,-32768, 784, 102,-32768,-32768, 387,-32768, 321, 1387,-32768,-32768,-32768, -32768, 2921,-32768,-32768,-32768, 783,-32768, 768, 2921, 833, -32768, 592, 792, 794, 2921,-32768,-32768, 795,-32768, 2921, -32768, 514,-32768, 96, 533,-32768, 685,-32768,-32768, 2505, 797,-32768,-32768, 799,-32768,-32768,-32768,-32768, 3840,-32768, 75,-32768, 2070,-32768, 2070,-32768,-32768,-32768, 800,-32768, -32768, 2921,-32768,-32768, 864, 801,-32768,-32768,-32768,-32768, -32768,-32768, 802,-32768, 821, 80, 803,-32768,-32768, 437, 437,-32768,-32768, 2921, 864, 804, 864,-32768,-32768, 2921, 807, 110,-32768,-32768, 809,-32768, 575, 810,-32768, 347, 351,-32768,-32768, 811, 575,-32768,-32768, 347, 888, 892, -32768 }; static const short yypgoto[] = {-32768, -32768,-32768,-32768, 97, -374,-32768,-32768,-32768,-32768,-32768, -32768,-32768, -14,-32768, -56, 479, -215, 397,-32768,-32768, -68,-32768, 606,-32768,-32768,-32768,-32768,-32768, 55,-32768, -280,-32768, -281, 578,-32768,-32768, 243,-32768, 13, -179, 109, 11, 844,-32768, 284, 14, -30, -155, 649, 50, -251, -583, -77, -190, -118,-32768,-32768,-32768, 156, 39, 49,-32768, 517,-32768, 280,-32768, -641,-32768, 183,-32768, -610,-32768,-32768, 254,-32768,-32768,-32768,-32768,-32768,-32768, -73, -117, -484, -16,-32768,-32768,-32768, -57,-32768,-32768, -32768,-32768,-32768, 461, -55,-32768, 591, 472, 292, 590, 470, -28, -76, -143, -167, -203, 285,-32768,-32768, -262, -32768,-32768,-32768, 366, -380,-32768, -214,-32768,-32768,-32768, -32768, -192, -555, -662, 289,-32768, 65,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768, 70,-32768, -815, 23,-32768, 25,-32768, 553,-32768, -375,-32768, 543, 546, 407, -304,-32768,-32768,-32768,-32768, 17,-32768, 946,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768, -20, 7, -387,-32768, 427,-32768, 352, 221,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -288,-32768, -32768,-32768, 226, 456,-32768,-32768,-32768,-32768, -34, 694, -32768,-32768, 478,-32768, 248, 513,-32768, 613, 614, -124, -32768, -149,-32768,-32768, 346, 444,-32768,-32768,-32768,-32768, -32768,-32768, 662,-32768,-32768,-32768 }; #define YYLAST 3912 static const short yytable[] = { 124, 140, 63, 86, 72, 67, 68, 329, 211, 71, 208, 63, 74, 32, 32, 81, 33, 33, 339, 42, 42, 366, 658, 437, 94, 96, 98, 301, 336, 70, 414, 70, 180, 504, 219, 332, 464, 228, 229, 438, 224, 36, 36, 531, 232, 83, 85, 183, 53, 54, 55, 187, 300, 32, 403, 241, 33, 462, 535, 42, 189, 191, 726, 467, 453, 279, 273, 349, 285, 212, 80, 632, 88, 406, 70, 316, 757, 562, 70, 351, -113, 36, 271, 87, 826, 92, 333, 236, 861, 454, 781, 14, 184, 356, 231, 59, 60, 923, -1, 411, 50, 783, 92, 92, 92, 146, 755, 142, 405, 819, 16, 59, 60, 185, 372, 915, 80, 748, 59, 60, 935, -2, 207, 196, 80, 945, -176, 339, 677, 92, 218, 289, 14, 293, -176, 329, 186, 92, 196, 99, 223, 147, 323, 609, 296, 822, 329, 611, 862, 56, 947, 553, 329, 916, 623, 57, 219, 295, 936, 519, 364, 61, 827, -113, 414, 142, 62, 304, 305, 14, 308, 309, 197, 198, 314, -176, 870, 61, 318, -176, 278, 369, 62, 278, 61, 51, 52, 191, 948, 62, 654, 787, 93, 656, 284, 58, 89, 349, 90, 95, 716, 717, 502, 403, 59, 60, 197, 198, 506, 351, 865, 376, 357, -35, 404, 458, 380, 460, 381, 461, 16, 410, 142, 315, 219, 701, 377, 906, 82, 80, 774, 775, 207, 80, 75, 201, 59, 60, 313, 352, 416, 613, 207, 59, 60, 417, 919, 707, 145, 922, 490, 924, 218, 400, 401, 14, 92, 220, 181, 932, 608, 14, 294, 560, 725, 16, 419, 92, 561, 230, 61, 882, 142, 340, 341, 62, 59, 60, 577, 182, 577, 549, 225, 202, 428, 466, 197, 198, 426, 142, 459, 956, 203, 550, 142, 313, 142, 227, 474, 486, 476, 425, 61, -34, 890, 204, 238, 62, 239, 61, 16, 70, 59, 60, 62, 278, 314, 97, 14, 240, 318, 262, 263, 264, 75, 671, 703, 92, 496, 5, 6, 7, 8, 340, 341, 412, 413, 9, 10, 11, 275, 188, 61, 242, 142, 147, 357, 62, 643, 276, 277, 14, 503, 13, 599, 14, 271, 509, 219, 600, 36, 847, 470, 592, 472, 243, 75, 301, 272, 352, 313, 207, 16, 76, 207, 207, 687, 274, 61, 75, 92, 760, 77, 62, 75, 694, 243, 312, 313, 282, 75, 201, 300, 14, 22, 672, 192, 526, 730, 24, 193, 284, 142, 289, 84, 740, 14, 302, 745, 530, 334, 14, 776, 86, 335, 635, 768, 14, 59, 60, 286, 287, 288, 306, 630, 277, 567, 406, 635, 954, 197, 198, 517, 76, 955, 518, 70, 630, 277, 202, 412, 413, 77, 537, 278, 536, 538, 36, 203, 319, 278, 345, 715, 585, 346, 555, 556, 722, 75, 628, 36, 204, 714, 36, 357, 577, 716, 717, 721, 549, 691, 36, 14, 354, 687, 142, 672, 730, 746, 634, 638, 550, 88, 342, 61, 14, 142, 193, 86, 62, 533, 534, 362, 87, 275, 463, 75, 201, -279, -279, 602, 363, 469, 276, 277, -478, 568, 629, 86, 558, 475, 502, 506, 559, 451, 739, 630, 277, 502, 506, 618, 364, 737, 14, 245, 247, 738, 542, 543, 544, 605, 142, 517, 709, 809, 518, 866, 545, 764, 633, 637, 367, 765, 211, 378, 202, 542, 543, 544, -86, 619, 620, 710, 710, 203, 420, 615, 88, 418, 421, 36, 423, 625, 626, 542, 543, 544, 204, 87, 429, 727, -476, 664, 809, 708, 80, 433, 88, 434, 645, 647, 196, 705, 706, 102, 735, 779, 780, 87, 696, 335, 193, 219, 902, 631, 636, 700, 335, 36, 451, 284, 214, 215, 216, 618, 542, 543, 544, 9, 10, 11, 450, 904, 468, 191, 766, 193, 648, 457, 75, 201, 471, 917, 477, 918, 501, 14, 482, 478, 532, 484, 618, 537, 488, 536, 538, 257, 258, 259, 260, 261, 262, 263, 264, 631, 489, 14, 492, 265, 266, 493, 267, 268, 269, 270, 494, 734, 495, 207, 80, 36, 778, 497, 749, 207, 207, 500, 950, 202, 636, 896, 219, 505, 510, 142, 958, 809, 203, 36, 514, 92, 215, 216, 528, 207, 92, 80, 9, 10, 11, 204, 552, 805, 554, 339, 557, 571, 207, 314, 318, 710, 729, 215, 216, 572, 314, 318, 574, 9, 10, 11, 329, 196, 329, 579, -176, 938, 939, 75, 628, 580, 583, 313, -176, 785, 586, 260, 261, 262, 263, 264, 805, 596, 598, 804, 659, 660, 601, 559, 661, 604, 610, 846, 627, 642, 14, 197, 198, 644, 696, 273, 657, 662, 631, 631, 663, 689, -32, 690, 807, 636, 636, 808, 702, -176, 818, -316, 629, -176, 744, 751, 752, 767, 804, 772, 786, 630, 277, 86, 885, 868, 884, 72, 871, 874, 848, 753, 36, 718, 719, 720, 878, 773, 723, 724, 256, 257, 258, 259, 260, 261, 262, 263, 264, 631, 825, 891, 832, 70, 70, -33, 833, 207, 894, 836, 839, 840, 842, 736, 849, 854, 856, 265, 266, 901, 267, 268, 269, 270, 807, 843, 844, 808, 851, 805, 818, 361, 852, 853, 857, 887, 864, 869, 877, 879, 880, 893, 88, 892, 379, 895, 761, 762, 763, 382, 383, 871, 36, 87, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 897, 898, 925, 900, 909, 804, 910, 941, 920, 929, 933, 934, 943, 871, 946, 937, 949, 960, 952, 957, 784, 961, 207, 872, 80, 324, 513, -125, -125, -125, -125, -125, -125, -125, 455, -125, -125, -125, -125, -125, 741, -125, -125, -125, -125, -125, -125, -125, -125, -125, -125, -125, -125, -125, -125, -125, 863, -125, -125, -125, 213, 728, 415, 511, 732, 821, -125, 834, 756, -125, 584, -125, 473, 578, -125, -125, -125, 582, 733, 480, -125, -125, 742, 674, 907, -125, -125, 942, 747, 908, -125, 944, -125, -125, 507, 641, 524, -125, -125, 525, 73, -125, 624, -125, -125, -125, -125, 713, -125, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 867, 498, 499, 831, 622, 829, 427, 666, 607, -337, -337, -337, -337, -337, -337, -337, 881, -337, -337, -337, -337, -337, 823, -337, -337, -337, -337, -337, -337, -337, -337, -337, -337, -337, -337, -337, -337, -337, 603, -337, -337, -337, 515, 516, 758, 491, 0, 692, -337, 0, 0, -337, 0, -337, 0, 0, -337, -337, -337, 0, 0, 0, -337, -337, 0, 0, 0, -337, -337, 0, 0, 0, -337, 0, -337, -337, 0, 0, 0, -337, -337, 0, 0, -337, 0, -337, 0, -337, -337, 0, -337, 0, 581, 0, 0, 0, 0, 324, 0, -337, -337, 0, 0, 0, -337, -337, 0, -337, 0, 0, 0, -337, 597, -337, -337, -337, -337, -337, -337, -337, -337, -337, -337, -337, 0, -337, 0, -337, 0, -337, -337, -337, 0, 0, 0, 0, 0, 0, -337, 0, 0, -337, 0, 0, 0, 0, -337, -337, -337, 0, 0, 0, -337, -337, 0, 0, 0, -337, -337, 0, 0, 0, -337, 0, -337, -337, 0, 0, 0, -337, -337, 0, 0, -337, 0, -337, -312, -337, -337, 0, -337, 0, 0, 0, 652, 258, 259, 260, 261, 262, 263, 264, 0, 858, 0, -337, -337, 0, 0, 0, -337, -337, 0, -337, 0, 680, 0, -337, 0, -337, -337, -337, -337, -337, -337, -337, -337, -337, -337, -337, 0, -337, 0, -337, 0, -337, -337, -337, 0, 0, 0, 0, 0, 0, -337, 0, 0, -337, 0, 0, 0, 0, -337, -337, -337, 0, 0, 0, -337, -337, 0, 0, 0, -337, -337, 0, 0, 0, -337, 0, -337, -337, 0, 0, 0, -337, -337, 0, 0, -337, 652, -337, 0, -337, -337, 0, -337, 195, 0, 0, -28, -28, -28, -28, 0, 0, 0, 0, -28, -28, -28, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 680, 0, 196, -28, 0, -176, 337, 759, 0, -20, -20, -20, -20, -176, 0, 0, 0, -20, -20, -20, 0, 0, -28, 771, 0, 0, 0, 0, 0, 0, 0, 0, 196, -20, 0, -176, 197, 198, 0, 0, 0, 0, 0, -176, -28, 680, 0, 0, 782, -28, 0, 0, -20, 0, -176, 0, 0, 0, -176, -28, 0, 0, 0, 0, 680, 347, 0, 680, 5, 680, 7, 139, 0, 0, -20, 0, 9, 10, 11, -20, 0, 0, 0, 0, -176, 0, 830, 0, -176, -20, 0, 0, 13, 0, 0, 15, 888, 835, -347, -347, 0, 0, 0, -347, -347, 0, -347, 0, 841, 0, -347, 16, -347, -347, -347, -347, -347, -347, -347, -347, -347, -347, -347, 0, -347, 0, -347, 0, -347, -347, -347, 0, 0, 22, 680, 0, 0, -347, 24, 0, -347, 0, 0, 348, -272, -347, -347, -347, 0, 0, 0, -347, -347, 0, 0, 0, -347, -347, 0, 0, 0, -347, 0, -347, -347, 0, 0, 0, -347, -347, 0, 0, -347, 0, -347, 0, -347, -347, 0, -347, 233, 0, 100, 5, 0, 7, 139, 101, 102, 899, 103, 9, 10, 11, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 13, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 16, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 0, 0, 115, 116, 0, 0, 0, 117, 0, 118, 22, 0, 0, 0, 119, 24, 0, 0, 120, 0, 0, 0, 121, 122, 675, -95, 676, 60, 0, 0, 0, 101, 102, 250, 103, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 0, 0, 0, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 0, 677, 115, 116, 0, 0, 0, 117, 0, 118, 61, 0, 0, 0, 119, 62, 0, 0, 120, 0, 0, -204, 121, 122, 675, 678, 676, 60, 0, 0, 0, 101, 102, 0, 103, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 0, 0, 0, 0, 0, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 0, 677, 115, 116, 0, 0, 0, 117, 0, 118, 61, 0, 0, 0, 119, 62, 0, 0, 120, 0, 0, -269, 121, 122, 675, 678, 100, 0, 0, 0, 0, 101, 102, 0, 103, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 104, 0, 15, 0, 105, 106, 107, 0, 0, -217, 0, 0, 0, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 0, -217, 115, 116, 0, 0, 0, 117, 0, 118, 0, 0, 0, 0, 119, 0, 0, 0, 120, 650, 0, 100, 121, 122, 0, 678, 101, 102, 0, 103, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 0, 0, 115, 116, 0, 0, 0, 117, 0, 118, 0, 0, 0, 0, 119, 0, 0, 0, 120, 675, 0, 100, 121, 122, 0, 651, 101, 102, 0, 103, 4, 0, -129, 5, 6, 7, 8, 0, 0, 0, 0, 9, 10, 11, 0, 0, 0, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 13, 0, 14, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 16, 0, 0, 115, 116, -129, 0, 0, 117, 0, 118, 0, 0, 0, -129, 119, 0, 0, 0, 120, 0, 0, 22, 121, 122, 343, 678, 24, -24, -24, -24, -24, 27, 0, 0, 0, -24, -24, -24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 196, -24, 0, -176, 324, 0, 0, -116, -116, -116, -116, -176, 0, -116, 0, -116, -116, -116, 0, 0, -24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -116, 0, 324, 197, 198, 5, 6, 7, 8, 0, 0, -24, 0, 9, 10, 11, -24, 0, 0, -116, 0, -176, 0, 0, 0, -176, -24, 0, 0, 13, 0, 14, 324, 0, 0, -500, -500, -500, -500, 0, 0, -116, 0, -500, -500, -500, -116, 0, 16, 0, 0, 0, 0, 0, 0, 0, -116, 0, 0, -500, 324, -500, 0, -337, -337, -337, -337, 0, 0, 0, 22, -337, -337, -337, 5, 24, 7, 139, -500, 0, 0, 0, 9, 10, 11, -498, 0, -337, 100, 0, 0, 0, 0, 101, 102, 0, 103, 0, 13, 0, -500, 0, 0, 0, 0, -500, -337, 0, 0, 0, 0, 0, 0, 0, 104, -500, 15, 16, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, -337, 0, 109, 0, 0, -337, 0, 110, 111, 112, 0, 22, 0, 113, 114, -112, 24, 0, 115, 116, 0, 100, 0, 117, 0, 118, 101, 102, 0, 103, 119, 0, 0, 0, 120, 0, 0, 0, 121, 122, 0, 0, 322, 0, 0, 0, 0, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 0, 0, 115, 116, 0, 100, 0, 117, 0, 118, 101, 102, 0, 103, 119, 0, 0, 0, 120, 0, 0, 0, 121, 122, 0, 0, 409, 0, 0, 0, 0, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 0, 0, 115, 116, 0, 100, 0, 117, 0, 118, 101, 102, 0, 103, 119, 0, 0, 0, 120, 0, 0, 0, 121, 122, 0, 0, 465, 0, 0, 0, 0, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 0, 0, 115, 116, 0, 100, 0, 117, 0, 118, 101, 102, 0, 103, 119, 0, 0, 0, 120, 0, 0, 0, 121, 122, 0, 0, 508, 0, 0, 0, 0, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 0, 0, 115, 116, 0, 0, 0, 117, 0, 118, 0, 0, 0, 0, 119, 0, 0, 0, 120, 0, 0, 0, 121, 122, 0, 0, 777, 676, 788, 6, 7, 8, 101, 102, 0, 103, 9, 10, 11, 789, 0, 790, 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, 13, 104, 14, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 16, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 0, 0, 115, 116, 0, 0, 0, 117, 0, 118, 801, 0, 0, 0, 119, 802, 0, 0, 120, 0, 803, 0, 121, 122, 0, 364, 676, 60, 0, 0, 0, 101, 102, 0, 103, 0, 0, 0, 789, 0, 790, 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, 0, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 100, 0, 115, 116, 0, 101, 102, 117, 103, 118, 61, 0, 0, 0, 119, 62, 0, 0, 120, 0, 803, 0, 121, 122, 0, 364, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 0, 0, 115, 116, 0, 0, 0, 117, 0, 118, 0, 0, 0, 0, 119, 0, 0, 0, 120, 0, 0, 0, 121, 122, 0, 485, 148, 149, 0, 150, 151, 0, 0, 0, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 0, 0, 0, 100, 5, 6, 7, 8, 101, 102, 171, 103, 9, 10, 11, 5, 6, 7, 8, 0, 0, 0, 0, 9, 10, 11, 0, 0, 13, 104, 14, 15, 0, 105, 106, 107, 0, 0, 0, 13, 0, 14, 108, 0, 173, 109, 0, 16, 0, 0, 110, 111, 112, 298, 0, 0, 113, 114, 16, 0, 0, 115, 116, 0, 0, 0, 117, 0, 118, 22, 0, 0, 0, 119, 24, 0, 0, 120, 0, 0, 22, 121, 122, 100, 5, 24, 7, 139, 101, 102, 606, 103, 9, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 16, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 100, 0, 115, 116, 0, 101, 102, 117, 103, 118, 22, 0, 0, 0, 119, 24, 0, 0, 120, 0, 0, 0, 121, 122, 0, 0, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 100, 0, 115, 116, 0, 101, 102, 117, 103, 118, 368, 0, 0, 0, 119, 0, 0, 0, 120, 0, 0, 0, 121, 122, 0, 0, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 100, 0, 115, 116, 0, 101, 102, 117, 103, 118, 0, 0, 0, 0, 119, 0, 0, 0, 120, 0, 845, 0, 121, 122, 0, 0, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 100, 0, 115, 116, 0, 101, 102, 117, 103, 118, 0, 0, 0, 0, 119, 0, 0, 0, 120, 0, 0, 0, 121, 122, 0, 0, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 100, 0, 244, 116, 0, 101, 102, 117, 103, 118, 0, 0, 0, 0, 119, 0, 0, 0, 120, 0, 0, 0, 121, 122, 0, 0, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 512, 0, 246, 116, 0, 101, 102, 117, 103, 118, 0, 0, 0, 0, 119, 0, 0, 0, 120, 0, 0, 0, 121, 122, 0, 0, 104, 0, 15, 0, 105, 106, 107, 0, 0, 0, 0, 0, 0, 108, 0, 0, 109, 0, 0, 0, 0, 110, 111, 112, 0, 0, 0, 113, 114, 0, 0, 0, 115, 116, 0, 0, 0, 117, 0, 118, 0, 0, 0, 0, 119, 0, 0, 0, 120, 0, 0, 547, 121, 122, 5, 0, 7, 139, 0, 0, 0, 0, 9, 10, 11, 0, 0, 0, 547, 0, 0, 5, 0, 7, 139, 0, 0, 0, 13, 9, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 16, 0, 0, 0, 0, 0, 0, 0, 4, 0, -129, 5, 6, 7, 8, 0, 0, 16, 0, 9, 10, 11, 22, -452, -452, -452, 0, 24, 0, 0, 0, 0, 548, -452, 12, 13, 0, 14, 15, 22, -451, -451, -451, 0, 24, 0, 0, 0, 0, 548, -451, 0, 0, 0, 16, 0, 0, 17, 18, -129, 0, 0, 0, 0, 0, 0, 0, 0, -129, 0, 19, 20, 21, 0, 0, 0, 22, 0, 0, 0, 23, 24, 25, 26, 0, 4, 27, -129, 5, 6, 7, 8, 0, 0, 0, 0, 9, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 439, 14, 440, 5, 6, 7, 8, 0, 0, 441, 0, 9, 10, 11, 0, 0, 0, 0, 16, 0, 0, 533, 534, -129, 0, 0, 0, 13, 0, 14, 439, 0, -129, 5, 6, 7, 8, 0, 0, 441, 22, 9, 10, 11, 0, 24, 16, 0, 0, 0, 27, 0, 0, 0, 0, 0, 0, 13, 0, 14, 0, 5, 0, 7, 283, 0, 0, 0, 22, 9, 10, 11, 0, 24, 0, 0, 16, -397, 0, 0, 0, 0, 0, 0, 0, 13, 5, 6, 7, 8, 0, 0, 0, 0, 9, 10, 11, 0, 22, 0, 0, 0, 0, 24, 16, 0, 0, -397, 0, 0, 13, 0, 14, 0, 5, 89, 7, 90, 0, 0, 0, 0, 9, 10, 11, 0, 22, 0, 0, 16, 0, 24, 0, 0, 0, 0, -281, -281, 13, 0, 0, 347, 0, 0, 5, 0, 7, 139, 0, 0, 0, 22, 9, 10, 11, 0, 24, 16, 0, 0, 0, 855, 0, 0, 0, 0, 0, 0, 13, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 22, 0, 0, 148, 149, 24, 150, 151, 16, 0, 646, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 22, 0, 0, 148, 149, 24, 150, 151, 0, 0, 171, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 0, 172, 0, 0, 0, 0, 0, 0, 148, 149, 371, 150, 151, 0, 173, 0, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 0, 0, 0, 148, 149, 0, 150, 151, 0, 173, 171, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 0, 0, 0, 5, 0, 7, 283, 0, 0, 0, 591, 9, 10, 11, 173, 5, 6, 7, 8, 0, 0, 441, 0, 9, 10, 11, 0, 13, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 14, 0, 0, 173, 0, 16, 0, 0, 0, 0, 275, 0, 0, 0, 0, 0, 0, 16, 0, 276, 277, 0, 0, 0, 0, 0, 0, 22, 5, 6, 7, 8, 24, 0, 640, 0, 9, 10, 11, 22, 5, 6, 7, 8, 24, 0, 0, 0, 9, 10, 11, 0, 13, 0, 14, 0, 0, 0, 0, 0, 5, 6, 7, 8, 13, 0, 14, 0, 9, 10, 11, 16, 5, 0, 7, 283, 0, 0, 0, 0, 9, 10, 11, 16, 13, 0, 0, 0, 0, 0, 0, 0, 0, 22, 0, 0, 13, 0, 24, 0, 0, 0, 0, 16, 0, 22, 0, 0, 0, 0, 24, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 24, 875, 0, 0, 0, 0, 0, 22, 0, 248, 249, 250, 24, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 0, 248, 249, 250, 876, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 0, 0, 0, 14, 0, 0, 0, 0, 0, 481, 248, 249, 250, 0, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 248, 249, 250, 914, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 248, 249, 250, 0, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264 }; static const short yycheck[] = { 56, 57, 16, 33, 24, 19, 20, 199, 85, 23, 83, 25, 26, 2, 3, 31, 2, 3, 208, 2, 3, 235, 577, 311, 38, 39, 40, 176, 207, 22, 281, 24, 66, 408, 91, 202, 340, 105, 106, 319, 95, 2, 3, 430, 112, 32, 33, 67, 9, 10, 11, 71, 176, 42, 269, 123, 42, 338, 432, 42, 74, 77, 645, 344, 326, 141, 134, 222, 144, 85, 31, 555, 33, 276, 67, 193, 686, 1, 71, 222, 1, 42, 9, 33, 1, 36, 203, 115, 1, 10, 731, 30, 40, 1, 108, 3, 4, 912, 0, 278, 3, 40, 53, 54, 55, 47, 38, 57, 275, 750, 47, 3, 4, 61, 238, 40, 77, 672, 3, 4, 40, 0, 83, 27, 85, 940, 30, 317, 60, 80, 91, 145, 30, 147, 38, 327, 84, 88, 27, 42, 84, 83, 198, 523, 172, 755, 338, 527, 61, 61, 40, 78, 344, 78, 541, 61, 213, 171, 78, 421, 84, 69, 79, 84, 415, 115, 74, 181, 182, 30, 184, 185, 61, 62, 190, 79, 838, 69, 194, 83, 141, 237, 74, 144, 69, 79, 80, 203, 78, 74, 570, 746, 84, 573, 144, 61, 5, 352, 7, 84, 61, 62, 405, 418, 3, 4, 61, 62, 411, 352, 820, 239, 226, 40, 270, 332, 244, 335, 246, 336, 47, 277, 172, 78, 281, 612, 240, 889, 79, 190, 714, 715, 193, 194, 3, 4, 3, 4, 7, 222, 78, 529, 203, 3, 4, 83, 908, 621, 61, 911, 374, 913, 213, 267, 268, 30, 207, 67, 40, 921, 522, 30, 61, 78, 639, 47, 294, 218, 83, 61, 69, 854, 222, 61, 62, 74, 3, 4, 470, 61, 472, 436, 84, 52, 304, 341, 61, 62, 302, 239, 78, 953, 61, 436, 244, 7, 246, 84, 353, 367, 355, 61, 69, 40, 859, 74, 61, 74, 61, 69, 47, 304, 3, 4, 74, 276, 332, 84, 30, 61, 336, 52, 53, 54, 3, 587, 614, 278, 384, 4, 5, 6, 7, 61, 62, 61, 62, 12, 13, 14, 52, 79, 69, 78, 294, 83, 360, 74, 562, 61, 62, 30, 78, 28, 78, 30, 9, 413, 415, 83, 321, 52, 349, 487, 351, 83, 3, 516, 77, 352, 7, 332, 47, 52, 335, 336, 591, 78, 69, 3, 331, 78, 61, 74, 3, 600, 83, 79, 7, 78, 3, 4, 516, 30, 69, 587, 79, 425, 649, 74, 83, 351, 352, 417, 79, 667, 30, 40, 670, 429, 79, 30, 716, 443, 83, 52, 704, 30, 3, 4, 5, 6, 7, 84, 61, 62, 456, 630, 52, 78, 61, 62, 421, 52, 83, 421, 429, 61, 62, 52, 61, 62, 61, 432, 405, 432, 432, 408, 61, 61, 411, 61, 631, 481, 80, 442, 443, 636, 3, 4, 421, 74, 629, 424, 478, 657, 61, 62, 635, 624, 594, 432, 30, 80, 689, 425, 668, 728, 670, 555, 556, 624, 443, 79, 69, 30, 436, 83, 518, 74, 50, 51, 78, 443, 52, 339, 3, 4, 79, 80, 514, 78, 346, 61, 62, 65, 456, 52, 538, 79, 354, 714, 715, 83, 79, 80, 61, 62, 721, 722, 536, 84, 79, 30, 127, 128, 83, 70, 71, 72, 517, 481, 521, 40, 748, 521, 824, 80, 79, 555, 556, 78, 83, 620, 79, 52, 70, 71, 72, 40, 537, 538, 625, 626, 61, 78, 80, 518, 61, 79, 521, 10, 549, 550, 70, 71, 72, 74, 518, 78, 647, 65, 586, 787, 80, 536, 84, 538, 78, 566, 567, 27, 616, 617, 9, 658, 79, 79, 538, 605, 83, 83, 649, 79, 555, 556, 610, 83, 559, 79, 550, 5, 6, 7, 620, 70, 71, 72, 12, 13, 14, 85, 79, 69, 630, 80, 83, 567, 38, 3, 4, 79, 903, 38, 905, 85, 30, 80, 83, 65, 78, 647, 621, 40, 621, 621, 47, 48, 49, 50, 51, 52, 53, 54, 605, 78, 30, 78, 56, 57, 78, 59, 60, 61, 62, 78, 40, 78, 619, 620, 621, 717, 40, 677, 625, 626, 78, 947, 52, 630, 78, 728, 85, 78, 624, 955, 890, 61, 639, 78, 631, 6, 7, 84, 645, 636, 647, 12, 13, 14, 74, 65, 748, 78, 884, 78, 38, 658, 714, 715, 773, 5, 6, 7, 85, 721, 722, 78, 12, 13, 14, 903, 27, 905, 80, 30, 930, 931, 3, 4, 80, 80, 7, 38, 738, 32, 50, 51, 52, 53, 54, 787, 40, 85, 748, 579, 580, 78, 83, 583, 79, 78, 798, 79, 3, 30, 61, 62, 79, 765, 818, 83, 80, 714, 715, 78, 40, 40, 85, 748, 721, 722, 748, 65, 79, 748, 80, 52, 83, 80, 40, 80, 65, 787, 40, 80, 61, 62, 808, 856, 836, 854, 802, 839, 840, 799, 83, 748, 632, 633, 634, 847, 83, 637, 638, 46, 47, 48, 49, 50, 51, 52, 53, 54, 765, 65, 862, 85, 801, 802, 40, 80, 773, 869, 61, 61, 61, 40, 662, 7, 807, 808, 56, 57, 880, 59, 60, 61, 62, 818, 79, 79, 818, 40, 890, 818, 230, 79, 79, 16, 856, 80, 61, 79, 79, 61, 78, 808, 65, 243, 17, 695, 696, 697, 248, 249, 912, 818, 808, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 79, 78, 9, 79, 78, 890, 78, 934, 79, 79, 79, 61, 79, 940, 78, 83, 78, 0, 79, 79, 735, 0, 854, 839, 856, 1, 418, 3, 4, 5, 6, 7, 8, 9, 327, 11, 12, 13, 14, 15, 668, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 818, 33, 34, 35, 87, 648, 284, 417, 655, 753, 42, 782, 685, 45, 480, 47, 352, 472, 50, 51, 52, 478, 657, 360, 56, 57, 668, 588, 890, 61, 62, 935, 670, 890, 66, 937, 68, 69, 412, 559, 424, 73, 74, 424, 25, 77, 546, 79, 80, 81, 82, 626, 84, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 835, 386, 387, 773, 539, 770, 303, 1, 521, 3, 4, 5, 6, 7, 8, 9, 851, 11, 12, 13, 14, 15, 765, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 516, 33, 34, 35, 420, 420, 689, 374, -1, 594, 42, -1, -1, 45, -1, 47, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, -1, -1, 61, 62, -1, -1, -1, 66, -1, 68, 69, -1, -1, -1, 73, 74, -1, -1, 77, -1, 79, -1, 81, 82, -1, 84, -1, 477, -1, -1, -1, -1, 1, -1, 3, 4, -1, -1, -1, 8, 9, -1, 11, -1, -1, -1, 15, 497, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, -1, -1, 61, 62, -1, -1, -1, 66, -1, 68, 69, -1, -1, -1, 73, 74, -1, -1, 77, -1, 79, 80, 81, 82, -1, 84, -1, -1, -1, 569, 48, 49, 50, 51, 52, 53, 54, -1, 1, -1, 3, 4, -1, -1, -1, 8, 9, -1, 11, -1, 590, -1, 15, -1, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, -1, -1, 61, 62, -1, -1, -1, 66, -1, 68, 69, -1, -1, -1, 73, 74, -1, -1, 77, 655, 79, -1, 81, 82, -1, 84, 1, -1, -1, 4, 5, 6, 7, -1, -1, -1, -1, 12, 13, 14, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 686, -1, 27, 28, -1, 30, 1, 693, -1, 4, 5, 6, 7, 38, -1, -1, -1, 12, 13, 14, -1, -1, 47, 709, -1, -1, -1, -1, -1, -1, -1, -1, 27, 28, -1, 30, 61, 62, -1, -1, -1, -1, -1, 38, 69, 731, -1, -1, 734, 74, -1, -1, 47, -1, 79, -1, -1, -1, 83, 84, -1, -1, -1, -1, 750, 1, -1, 753, 4, 755, 6, 7, -1, -1, 69, -1, 12, 13, 14, 74, -1, -1, -1, -1, 79, -1, 772, -1, 83, 84, -1, -1, 28, -1, -1, 31, 1, 783, 3, 4, -1, -1, -1, 8, 9, -1, 11, -1, 794, -1, 15, 47, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, 69, 820, -1, -1, 42, 74, -1, 45, -1, -1, 79, 80, 50, 51, 52, -1, -1, -1, 56, 57, -1, -1, -1, 61, 62, -1, -1, -1, 66, -1, 68, 69, -1, -1, -1, 73, 74, -1, -1, 77, -1, 79, -1, 81, 82, -1, 84, 1, -1, 3, 4, -1, 6, 7, 8, 9, 875, 11, 12, 13, 14, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 28, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, 47, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, -1, -1, 61, 62, -1, -1, -1, 66, -1, 68, 69, -1, -1, -1, 73, 74, -1, -1, 77, -1, -1, -1, 81, 82, 1, 84, 3, 4, -1, -1, -1, 8, 9, 39, 11, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, -1, -1, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, -1, 60, 61, 62, -1, -1, -1, 66, -1, 68, 69, -1, -1, -1, 73, 74, -1, -1, 77, -1, -1, 80, 81, 82, 1, 84, 3, 4, -1, -1, -1, 8, 9, -1, 11, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, -1, -1, -1, -1, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, -1, 60, 61, 62, -1, -1, -1, 66, -1, 68, 69, -1, -1, -1, 73, 74, -1, -1, 77, -1, -1, 80, 81, 82, 1, 84, 3, -1, -1, -1, -1, 8, 9, -1, 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, 38, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, -1, 60, 61, 62, -1, -1, -1, 66, -1, 68, -1, -1, -1, -1, 73, -1, -1, -1, 77, 1, -1, 3, 81, 82, -1, 84, 8, 9, -1, 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, -1, -1, 61, 62, -1, -1, -1, 66, -1, 68, -1, -1, -1, -1, 73, -1, -1, -1, 77, 1, -1, 3, 81, 82, -1, 84, 8, 9, -1, 11, 1, -1, 3, 4, 5, 6, 7, -1, -1, -1, -1, 12, 13, 14, -1, -1, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, 28, -1, 30, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, 47, -1, -1, 61, 62, 52, -1, -1, 66, -1, 68, -1, -1, -1, 61, 73, -1, -1, -1, 77, -1, -1, 69, 81, 82, 1, 84, 74, 4, 5, 6, 7, 79, -1, -1, -1, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 27, 28, -1, 30, 1, -1, -1, 4, 5, 6, 7, 38, -1, 10, -1, 12, 13, 14, -1, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 28, -1, 1, 61, 62, 4, 5, 6, 7, -1, -1, 69, -1, 12, 13, 14, 74, -1, -1, 47, -1, 79, -1, -1, -1, 83, 84, -1, -1, 28, -1, 30, 1, -1, -1, 4, 5, 6, 7, -1, -1, 69, -1, 12, 13, 14, 74, -1, 47, -1, -1, -1, -1, -1, -1, -1, 84, -1, -1, 28, 1, 30, -1, 4, 5, 6, 7, -1, -1, -1, 69, 12, 13, 14, 4, 74, 6, 7, 47, -1, -1, -1, 12, 13, 14, 84, -1, 28, 3, -1, -1, -1, -1, 8, 9, -1, 11, -1, 28, -1, 69, -1, -1, -1, -1, 74, 47, -1, -1, -1, -1, -1, -1, -1, 29, 84, 31, 47, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, 69, -1, 45, -1, -1, 74, -1, 50, 51, 52, -1, 69, -1, 56, 57, 84, 74, -1, 61, 62, -1, 3, -1, 66, -1, 68, 8, 9, -1, 11, 73, -1, -1, -1, 77, -1, -1, -1, 81, 82, -1, -1, 85, -1, -1, -1, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, -1, -1, 61, 62, -1, 3, -1, 66, -1, 68, 8, 9, -1, 11, 73, -1, -1, -1, 77, -1, -1, -1, 81, 82, -1, -1, 85, -1, -1, -1, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, -1, -1, 61, 62, -1, 3, -1, 66, -1, 68, 8, 9, -1, 11, 73, -1, -1, -1, 77, -1, -1, -1, 81, 82, -1, -1, 85, -1, -1, -1, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, -1, -1, 61, 62, -1, 3, -1, 66, -1, 68, 8, 9, -1, 11, 73, -1, -1, -1, 77, -1, -1, -1, 81, 82, -1, -1, 85, -1, -1, -1, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, -1, -1, 61, 62, -1, -1, -1, 66, -1, 68, -1, -1, -1, -1, 73, -1, -1, -1, 77, -1, -1, -1, 81, 82, -1, -1, 85, 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, 30, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, 47, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, -1, -1, 61, 62, -1, -1, -1, 66, -1, 68, 69, -1, -1, -1, 73, 74, -1, -1, 77, -1, 79, -1, 81, 82, -1, 84, 3, 4, -1, -1, -1, 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, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, 3, -1, 61, 62, -1, 8, 9, 66, 11, 68, 69, -1, -1, -1, 73, 74, -1, -1, 77, -1, 79, -1, 81, 82, -1, 84, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, -1, -1, 61, 62, -1, -1, -1, 66, -1, 68, -1, -1, -1, -1, 73, -1, -1, -1, 77, -1, -1, -1, 81, 82, -1, 84, 3, 4, -1, 6, 7, -1, -1, -1, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, -1, -1, -1, 3, 4, 5, 6, 7, 8, 9, 40, 11, 12, 13, 14, 4, 5, 6, 7, -1, -1, -1, -1, 12, 13, 14, -1, -1, 28, 29, 30, 31, -1, 33, 34, 35, -1, -1, -1, 28, -1, 30, 42, -1, 74, 45, -1, 47, -1, -1, 50, 51, 52, 83, -1, -1, 56, 57, 47, -1, -1, 61, 62, -1, -1, -1, 66, -1, 68, 69, -1, -1, -1, 73, 74, -1, -1, 77, -1, -1, 69, 81, 82, 3, 4, 74, 6, 7, 8, 9, 79, 11, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 28, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, 47, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, 3, -1, 61, 62, -1, 8, 9, 66, 11, 68, 69, -1, -1, -1, 73, 74, -1, -1, 77, -1, -1, -1, 81, 82, -1, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, 3, -1, 61, 62, -1, 8, 9, 66, 11, 68, 69, -1, -1, -1, 73, -1, -1, -1, 77, -1, -1, -1, 81, 82, -1, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, 3, -1, 61, 62, -1, 8, 9, 66, 11, 68, -1, -1, -1, -1, 73, -1, -1, -1, 77, -1, 79, -1, 81, 82, -1, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, 3, -1, 61, 62, -1, 8, 9, 66, 11, 68, -1, -1, -1, -1, 73, -1, -1, -1, 77, -1, -1, -1, 81, 82, -1, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, 3, -1, 61, 62, -1, 8, 9, 66, 11, 68, -1, -1, -1, -1, 73, -1, -1, -1, 77, -1, -1, -1, 81, 82, -1, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, 3, -1, 61, 62, -1, 8, 9, 66, 11, 68, -1, -1, -1, -1, 73, -1, -1, -1, 77, -1, -1, -1, 81, 82, -1, -1, 29, -1, 31, -1, 33, 34, 35, -1, -1, -1, -1, -1, -1, 42, -1, -1, 45, -1, -1, -1, -1, 50, 51, 52, -1, -1, -1, 56, 57, -1, -1, -1, 61, 62, -1, -1, -1, 66, -1, 68, -1, -1, -1, -1, 73, -1, -1, -1, 77, -1, -1, 1, 81, 82, 4, -1, 6, 7, -1, -1, -1, -1, 12, 13, 14, -1, -1, -1, 1, -1, -1, 4, -1, 6, 7, -1, -1, -1, 28, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 28, -1, 47, -1, -1, -1, -1, -1, -1, -1, 1, -1, 3, 4, 5, 6, 7, -1, -1, 47, -1, 12, 13, 14, 69, 70, 71, 72, -1, 74, -1, -1, -1, -1, 79, 80, 27, 28, -1, 30, 31, 69, 70, 71, 72, -1, 74, -1, -1, -1, -1, 79, 80, -1, -1, -1, 47, -1, -1, 50, 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, 61, -1, 63, 64, 65, -1, -1, -1, 69, -1, -1, -1, 73, 74, 75, 76, -1, 1, 79, 3, 4, 5, 6, 7, -1, -1, -1, -1, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 28, 1, 30, 3, 4, 5, 6, 7, -1, -1, 10, -1, 12, 13, 14, -1, -1, -1, -1, 47, -1, -1, 50, 51, 52, -1, -1, -1, 28, -1, 30, 1, -1, 61, 4, 5, 6, 7, -1, -1, 10, 69, 12, 13, 14, -1, 74, 47, -1, -1, -1, 79, -1, -1, -1, -1, -1, -1, 28, -1, 30, -1, 4, -1, 6, 7, -1, -1, -1, 69, 12, 13, 14, -1, 74, -1, -1, 47, 78, -1, -1, -1, -1, -1, -1, -1, 28, 4, 5, 6, 7, -1, -1, -1, -1, 12, 13, 14, -1, 69, -1, -1, -1, -1, 74, 47, -1, -1, 78, -1, -1, 28, -1, 30, -1, 4, 5, 6, 7, -1, -1, -1, -1, 12, 13, 14, -1, 69, -1, -1, 47, -1, 74, -1, -1, -1, -1, 79, 80, 28, -1, -1, 1, -1, -1, 4, -1, 6, 7, -1, -1, -1, 69, 12, 13, 14, -1, 74, 47, -1, -1, -1, 79, -1, -1, -1, -1, -1, -1, 28, -1, -1, 31, -1, -1, -1, -1, -1, -1, -1, 69, -1, -1, 3, 4, 74, 6, 7, 47, -1, 79, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 69, -1, -1, 3, 4, 74, 6, 7, -1, -1, 40, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, -1, 61, -1, -1, -1, -1, -1, -1, 3, 4, 40, 6, 7, -1, 74, -1, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, -1, -1, -1, 3, 4, -1, 6, 7, -1, 74, 40, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, -1, -1, -1, 4, -1, 6, 7, -1, -1, -1, 40, 12, 13, 14, 74, 4, 5, 6, 7, -1, -1, 10, -1, 12, 13, 14, -1, 28, -1, 30, -1, -1, -1, -1, -1, -1, -1, -1, -1, 28, -1, 30, -1, -1, 74, -1, 47, -1, -1, -1, -1, 52, -1, -1, -1, -1, -1, -1, 47, -1, 61, 62, -1, -1, -1, -1, -1, -1, 69, 4, 5, 6, 7, 74, -1, 10, -1, 12, 13, 14, 69, 4, 5, 6, 7, 74, -1, -1, -1, 12, 13, 14, -1, 28, -1, 30, -1, -1, -1, -1, -1, 4, 5, 6, 7, 28, -1, 30, -1, 12, 13, 14, 47, 4, -1, 6, 7, -1, -1, -1, -1, 12, 13, 14, 47, 28, -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, -1, 28, -1, 74, -1, -1, -1, -1, 47, -1, 69, -1, -1, -1, -1, 74, -1, -1, -1, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, -1, -1, -1, 74, 10, -1, -1, -1, -1, -1, 69, -1, 37, 38, 39, 74, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, -1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, -1, -1, -1, 30, -1, -1, -1, -1, -1, 83, 37, 38, 39, -1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 37, 38, 39, -1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54 }; /* -*-C-*- Note some compilers choke on comments on `#line' lines. */ #line 3 "/usr/cygnus/gnupro-98r2/share/bison.simple" /* Skeleton output parser for bison, Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc. 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 2, 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. */ /* As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison. */ #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 #ifdef YYLEX_PARAM #define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM) #else #define YYLEX yylex(&yylval, &yylloc) #endif #else /* not YYLSP_NEEDED */ #ifdef YYLEX_PARAM #define YYLEX yylex(&yylval, YYLEX_PARAM) #else #define YYLEX yylex(&yylval) #endif #endif /* not YYLSP_NEEDED */ #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_memcpy(TO,FROM,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_memcpy (to, from, count) char *to; char *from; 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_memcpy (char *to, char *from, int count) { register char *f = from; register char *t = to; register int i = count; while (i-- > 0) *t++ = *f++; } #endif #endif #line 196 "/usr/cygnus/gnupro-98r2/share/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 #ifdef __cplusplus #define YYPARSE_PARAM_ARG void *YYPARSE_PARAM #define YYPARSE_PARAM_DECL #else /* not __cplusplus */ #define YYPARSE_PARAM_ARG YYPARSE_PARAM #define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; #endif /* not __cplusplus */ #else /* not YYPARSE_PARAM */ #define YYPARSE_PARAM_ARG #define YYPARSE_PARAM_DECL #endif /* not YYPARSE_PARAM */ int yyparse(YYPARSE_PARAM_ARG) 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_memcpy ((char *)yyss, (char *)yyss1, size * sizeof (*yyssp)); yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp)); __yy_memcpy ((char *)yyvs, (char *)yyvs1, size * sizeof (*yyvsp)); #ifdef YYLSP_NEEDED yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp)); __yy_memcpy ((char *)yyls, (char *)yyls1, 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 237 "objc-parse.y" { if (pedantic) pedwarn ("ANSI C forbids an empty source file"); finish_file (); ; break;} case 2: #line 242 "objc-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 256 "objc-parse.y" {yyval.ttype = NULL_TREE; ; break;} case 5: #line 257 "objc-parse.y" {yyval.ttype = NULL_TREE; ; break;} case 10: #line 265 "objc-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 11: #line 273 "objc-parse.y" { pedantic = yyvsp[-1].itype; ; break;} case 12: #line 278 "objc-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 13: #line 288 "objc-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 14: #line 293 "objc-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 15: #line 298 "objc-parse.y" { pedwarn ("empty declaration"); ; break;} case 16: #line 300 "objc-parse.y" { shadow_tag (yyvsp[-1].ttype); ; break;} case 19: #line 304 "objc-parse.y" { if (pedantic) pedwarn ("ANSI C does not allow extra `;' outside of a function"); ; break;} case 20: #line 310 "objc-parse.y" { if (! start_function (current_declspecs, yyvsp[0].ttype, prefix_attributes, NULL_TREE, 0)) YYERROR1; reinit_parse_for_function (); ; break;} case 21: #line 315 "objc-parse.y" { store_parm_decls (); ; break;} case 22: #line 317 "objc-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 23: #line 323 "objc-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 24: #line 328 "objc-parse.y" { if (! start_function (current_declspecs, yyvsp[0].ttype, prefix_attributes, NULL_TREE, 0)) YYERROR1; reinit_parse_for_function (); ; break;} case 25: #line 333 "objc-parse.y" { store_parm_decls (); ; break;} case 26: #line 335 "objc-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 27: #line 341 "objc-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 28: #line 346 "objc-parse.y" { if (! start_function (NULL_TREE, yyvsp[0].ttype, prefix_attributes, NULL_TREE, 0)) YYERROR1; reinit_parse_for_function (); ; break;} case 29: #line 351 "objc-parse.y" { store_parm_decls (); ; break;} case 30: #line 353 "objc-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 31: #line 359 "objc-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 36: #line 373 "objc-parse.y" { yyval.code = ADDR_EXPR; ; break;} case 37: #line 375 "objc-parse.y" { yyval.code = NEGATE_EXPR; ; break;} case 38: #line 377 "objc-parse.y" { yyval.code = CONVERT_EXPR; ; break;} case 39: #line 379 "objc-parse.y" { yyval.code = PREINCREMENT_EXPR; ; break;} case 40: #line 381 "objc-parse.y" { yyval.code = PREDECREMENT_EXPR; ; break;} case 41: #line 383 "objc-parse.y" { yyval.code = BIT_NOT_EXPR; ; break;} case 42: #line 385 "objc-parse.y" { yyval.code = TRUTH_NOT_EXPR; ; break;} case 43: #line 389 "objc-parse.y" { yyval.ttype = build_compound_expr (yyvsp[0].ttype); ; break;} case 44: #line 394 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 46: #line 400 "objc-parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 47: #line 402 "objc-parse.y" { chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; break;} case 49: #line 408 "objc-parse.y" { yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ; break;} case 50: #line 411 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; pedantic = yyvsp[-1].itype; ; break;} case 51: #line 414 "objc-parse.y" { yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0); overflow_warning (yyval.ttype); ; break;} case 52: #line 418 "objc-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 53: #line 446 "objc-parse.y" { skip_evaluation--; if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF && DECL_C_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 54: #line 452 "objc-parse.y" { skip_evaluation--; yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ; break;} case 55: #line 455 "objc-parse.y" { skip_evaluation--; yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ; break;} case 56: #line 458 "objc-parse.y" { skip_evaluation--; yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ; break;} case 57: #line 461 "objc-parse.y" { yyval.ttype = build_unary_op (REALPART_EXPR, yyvsp[0].ttype, 0); ; break;} case 58: #line 463 "objc-parse.y" { yyval.ttype = build_unary_op (IMAGPART_EXPR, yyvsp[0].ttype, 0); ; break;} case 59: #line 465 "objc-parse.y" { yyval.ttype = build_va_arg (yyvsp[-3].ttype, groktypename (yyvsp[-1].ttype)); ; break;} case 60: #line 469 "objc-parse.y" { skip_evaluation++; ; break;} case 61: #line 473 "objc-parse.y" { skip_evaluation++; ; break;} case 63: #line 479 "objc-parse.y" { tree type = groktypename (yyvsp[-2].ttype); yyval.ttype = build_c_cast (type, yyvsp[0].ttype); ; break;} case 64: #line 482 "objc-parse.y" { start_init (NULL_TREE, NULL, 0); yyvsp[-2].ttype = groktypename (yyvsp[-2].ttype); really_start_incremental_init (yyvsp[-2].ttype); ; break;} case 65: #line 486 "objc-parse.y" { char *name; tree result = pop_init_level (0); tree type = yyvsp[-5].ttype; finish_init (); if (pedantic && ! flag_isoc9x) 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 67: #line 515 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 68: #line 517 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 69: #line 519 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 70: #line 521 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 71: #line 523 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 72: #line 525 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 73: #line 527 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 74: #line 529 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 75: #line 531 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 76: #line 533 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 77: #line 535 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 78: #line 537 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 79: #line 539 "objc-parse.y" { yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype)); skip_evaluation += yyvsp[-1].ttype == boolean_false_node; ; break;} case 80: #line 542 "objc-parse.y" { skip_evaluation -= yyvsp[-3].ttype == boolean_false_node; yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-3].ttype, yyvsp[0].ttype); ; break;} case 81: #line 545 "objc-parse.y" { yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype)); skip_evaluation += yyvsp[-1].ttype == boolean_true_node; ; break;} case 82: #line 548 "objc-parse.y" { skip_evaluation -= yyvsp[-3].ttype == boolean_true_node; yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-3].ttype, yyvsp[0].ttype); ; break;} case 83: #line 551 "objc-parse.y" { yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype)); skip_evaluation += yyvsp[-1].ttype == boolean_false_node; ; break;} case 84: #line 554 "objc-parse.y" { skip_evaluation += ((yyvsp[-4].ttype == boolean_true_node) - (yyvsp[-4].ttype == boolean_false_node)); ; break;} case 85: #line 557 "objc-parse.y" { skip_evaluation -= yyvsp[-6].ttype == boolean_true_node; yyval.ttype = build_conditional_expr (yyvsp[-6].ttype, yyvsp[-3].ttype, yyvsp[0].ttype); ; break;} case 86: #line 560 "objc-parse.y" { if (pedantic) pedwarn ("ANSI C forbids omitting the middle term of a ?: expression"); /* Make sure first operand is calculated only once. */ yyvsp[0].ttype = save_expr (yyvsp[-1].ttype); yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[0].ttype)); skip_evaluation += yyvsp[-1].ttype == boolean_true_node; ; break;} case 87: #line 567 "objc-parse.y" { skip_evaluation -= yyvsp[-4].ttype == boolean_true_node; yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[0].ttype); ; break;} case 88: #line 570 "objc-parse.y" { char class; yyval.ttype = build_modify_expr (yyvsp[-2].ttype, NOP_EXPR, yyvsp[0].ttype); class = TREE_CODE_CLASS (TREE_CODE (yyval.ttype)); if (class == 'e' || class == '1' || class == '2' || class == '<') C_SET_EXP_ORIGINAL_CODE (yyval.ttype, MODIFY_EXPR); ; break;} case 89: #line 578 "objc-parse.y" { char class; yyval.ttype = build_modify_expr (yyvsp[-2].ttype, yyvsp[-1].code, yyvsp[0].ttype); /* This inhibits warnings in truthvalue_conversion. */ class = TREE_CODE_CLASS (TREE_CODE (yyval.ttype)); if (class == 'e' || class == '1' || class == '2' || class == '<') C_SET_EXP_ORIGINAL_CODE (yyval.ttype, ERROR_MARK); ; break;} case 90: #line 590 "objc-parse.y" { yyval.ttype = lastiddecl; if (!yyval.ttype || yyval.ttype == error_mark_node) { if (yychar == YYEMPTY) yychar = YYLEX; if (yychar == '(') { tree decl; if (objc_receiver_context && ! (objc_receiver_context && strcmp (IDENTIFIER_POINTER (yyvsp[0].ttype), "super"))) /* we have a message to super */ yyval.ttype = get_super_receiver (); else if (objc_method_context && (decl = is_ivar (objc_ivar_chain, yyvsp[0].ttype))) { if (is_private (decl)) yyval.ttype = error_mark_node; else yyval.ttype = build_ivar_reference (yyvsp[0].ttype); } else { /* 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 { tree decl; if (objc_receiver_context && ! strcmp (IDENTIFIER_POINTER (yyvsp[0].ttype), "super")) /* we have a message to super */ yyval.ttype = get_super_receiver (); else if (objc_method_context && (decl = is_ivar (objc_ivar_chain, yyvsp[0].ttype))) { if (is_private (decl)) yyval.ttype = error_mark_node; else yyval.ttype = build_ivar_reference (yyvsp[0].ttype); } 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 in 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 (objc_method_context && is_ivar (objc_ivar_chain, yyvsp[0].ttype)) error ("Instance variable `%s' implicitly declared as function", IDENTIFIER_POINTER (DECL_NAME (yyval.ttype))); else 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; /* we have a definition - still check if iVariable */ if (!objc_receiver_context || (objc_receiver_context && strcmp (IDENTIFIER_POINTER (yyvsp[0].ttype), "super"))) { tree decl; if (objc_method_context && (decl = is_ivar (objc_ivar_chain, yyvsp[0].ttype))) { if (IDENTIFIER_LOCAL_VALUE (yyvsp[0].ttype)) warning ("local declaration of `%s' hides instance variable", IDENTIFIER_POINTER (yyvsp[0].ttype)); else { if (is_private (decl)) yyval.ttype = error_mark_node; else yyval.ttype = build_ivar_reference (yyvsp[0].ttype); } } } else /* we have a message to super */ yyval.ttype = get_super_receiver (); } 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 92: #line 750 "objc-parse.y" { yyval.ttype = combine_strings (yyvsp[0].ttype); ; break;} case 93: #line 752 "objc-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 94: #line 758 "objc-parse.y" { yyval.ttype = error_mark_node; ; break;} case 95: #line 760 "objc-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 96: #line 774 "objc-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 97: #line 797 "objc-parse.y" { yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 98: #line 799 "objc-parse.y" { yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 99: #line 801 "objc-parse.y" { if (doing_objc_thang) { if (is_public (yyvsp[-2].ttype, yyvsp[0].ttype)) yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype); else yyval.ttype = error_mark_node; } else yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 100: #line 813 "objc-parse.y" { tree expr = build_indirect_ref (yyvsp[-2].ttype, "->"); if (doing_objc_thang) { if (is_public (expr, yyvsp[0].ttype)) yyval.ttype = build_component_ref (expr, yyvsp[0].ttype); else yyval.ttype = error_mark_node; } else yyval.ttype = build_component_ref (expr, yyvsp[0].ttype); ; break;} case 101: #line 827 "objc-parse.y" { yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ; break;} case 102: #line 829 "objc-parse.y" { yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ; break;} case 103: #line 831 "objc-parse.y" { yyval.ttype = build_message_expr (yyvsp[0].ttype); ; break;} case 104: #line 833 "objc-parse.y" { yyval.ttype = build_selector_expr (yyvsp[0].ttype); ; break;} case 105: #line 835 "objc-parse.y" { yyval.ttype = build_protocol_expr (yyvsp[0].ttype); ; break;} case 106: #line 837 "objc-parse.y" { yyval.ttype = build_encode_expr (yyvsp[0].ttype); ; break;} case 107: #line 839 "objc-parse.y" { yyval.ttype = build_objc_string_object (yyvsp[0].ttype); ; break;} case 109: #line 846 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 111: #line 854 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 114: #line 862 "objc-parse.y" { c_mark_varargs (); if (pedantic) pedwarn ("ANSI C does not permit use of `varargs.h'"); ; break;} case 115: #line 872 "objc-parse.y" { ; break;} case 120: #line 888 "objc-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 121: #line 893 "objc-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 122: #line 898 "objc-parse.y" { shadow_tag_warned (yyvsp[-1].ttype, 1); pedwarn ("empty declaration"); ; break;} case 123: #line 901 "objc-parse.y" { pedwarn ("empty declaration"); ; break;} case 124: #line 910 "objc-parse.y" { ; break;} case 129: #line 925 "objc-parse.y" { yyval.itype = suspend_momentary (); pending_xref_error (); declspec_stack = tree_cons (prefix_attributes, current_declspecs, declspec_stack); split_specs_attrs (yyvsp[0].ttype, ¤t_declspecs, &prefix_attributes); ; break;} case 130: #line 936 "objc-parse.y" { prefix_attributes = chainon (prefix_attributes, yyvsp[0].ttype); ; break;} case 131: #line 941 "objc-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 132: #line 946 "objc-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 133: #line 951 "objc-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 134: #line 956 "objc-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 135: #line 961 "objc-parse.y" { shadow_tag (yyvsp[-1].ttype); ; break;} case 136: #line 963 "objc-parse.y" { pedwarn ("empty declaration"); ; break;} case 137: #line 965 "objc-parse.y" { pedantic = yyvsp[-1].itype; ; break;} case 138: #line 975 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 139: #line 977 "objc-parse.y" { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ; break;} case 140: #line 981 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 141: #line 983 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 142: #line 985 "objc-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 143: #line 990 "objc-parse.y" { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); ; break;} case 144: #line 995 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 145: #line 997 "objc-parse.y" { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ; break;} case 146: #line 1002 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 147: #line 1004 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 148: #line 1006 "objc-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 149: #line 1019 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 150: #line 1021 "objc-parse.y" { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, NULL_TREE); ; break;} case 151: #line 1023 "objc-parse.y" { yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 152: #line 1025 "objc-parse.y" { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); ; break;} case 153: #line 1030 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); TREE_STATIC (yyval.ttype) = 1; ; break;} case 154: #line 1033 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; break;} case 155: #line 1035 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); TREE_STATIC (yyval.ttype) = 1; ; break;} case 156: #line 1038 "objc-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 157: #line 1052 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 158: #line 1054 "objc-parse.y" { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ; break;} case 159: #line 1058 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 160: #line 1060 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 163: #line 1070 "objc-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 164: #line 1074 "objc-parse.y" { yyval.ttype = get_static_reference (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 165: #line 1076 "objc-parse.y" { yyval.ttype = get_object_reference (yyvsp[0].ttype); ; break;} case 166: #line 1081 "objc-parse.y" { yyval.ttype = get_object_reference (yyvsp[0].ttype); ; break;} case 167: #line 1083 "objc-parse.y" { yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); ; break;} case 168: #line 1085 "objc-parse.y" { yyval.ttype = groktypename (yyvsp[-1].ttype); ; break;} case 176: #line 1107 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 177: #line 1109 "objc-parse.y" { if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype); yyval.ttype = yyvsp[-1].ttype; ; break;} case 178: #line 1116 "objc-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 179: #line 1121 "objc-parse.y" { finish_init (); finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ; break;} case 180: #line 1124 "objc-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 181: #line 1132 "objc-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 182: #line 1137 "objc-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 183: #line 1141 "objc-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 184: #line 1149 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 185: #line 1151 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 186: #line 1156 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 187: #line 1158 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 188: #line 1163 "objc-parse.y" { yyval.ttype = yyvsp[-2].ttype; ; break;} case 189: #line 1168 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 190: #line 1170 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 191: #line 1175 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 192: #line 1177 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[0].ttype, NULL_TREE); ; break;} case 193: #line 1179 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-3].ttype, build_tree_list (NULL_TREE, yyvsp[-1].ttype)); ; break;} case 194: #line 1181 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-5].ttype, tree_cons (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype)); ; break;} case 195: #line 1183 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 201: #line 1201 "objc-parse.y" { really_start_incremental_init (NULL_TREE); /* Note that the call to clear_momentary is in process_init_element. */ push_momentary (); ; break;} case 202: #line 1206 "objc-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 203: #line 1214 "objc-parse.y" { yyval.ttype = error_mark_node; ; break;} case 204: #line 1220 "objc-parse.y" { if (pedantic) pedwarn ("ANSI C forbids empty initializer braces"); ; break;} case 210: #line 1236 "objc-parse.y" { set_init_label (yyvsp[-1].ttype); ; break;} case 213: #line 1243 "objc-parse.y" { push_init_level (0); ; break;} case 214: #line 1245 "objc-parse.y" { process_init_element (pop_init_level (0)); ; break;} case 215: #line 1247 "objc-parse.y" { process_init_element (yyvsp[0].ttype); ; break;} case 219: #line 1258 "objc-parse.y" { set_init_label (yyvsp[0].ttype); ; break;} case 220: #line 1266 "objc-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 221: #line 1275 "objc-parse.y" { store_parm_decls (); ; break;} case 222: #line 1283 "objc-parse.y" { finish_function (1); pop_c_function_context (); ; break;} case 223: #line 1289 "objc-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 224: #line 1298 "objc-parse.y" { store_parm_decls (); ; break;} case 225: #line 1306 "objc-parse.y" { finish_function (1); pop_c_function_context (); ; break;} case 228: #line 1322 "objc-parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 229: #line 1324 "objc-parse.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; break;} case 230: #line 1329 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 231: #line 1331 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; break;} case 232: #line 1333 "objc-parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 233: #line 1340 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 236: #line 1352 "objc-parse.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; break;} case 237: #line 1357 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 238: #line 1359 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; break;} case 239: #line 1361 "objc-parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 240: #line 1368 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 242: #line 1377 "objc-parse.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; break;} case 243: #line 1382 "objc-parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 244: #line 1384 "objc-parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 245: #line 1386 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 246: #line 1388 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; break;} case 247: #line 1395 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 249: #line 1401 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 250: #line 1403 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 251: #line 1408 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 252: #line 1410 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 253: #line 1415 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 254: #line 1417 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 255: #line 1422 "objc-parse.y" { yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype); /* Start scope of tag before parsing components. */ ; break;} case 256: #line 1426 "objc-parse.y" { yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, chainon (yyvsp[-6].ttype, yyvsp[0].ttype)); ; break;} case 257: #line 1428 "objc-parse.y" { yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE), yyvsp[-2].ttype, chainon (yyvsp[-4].ttype, yyvsp[0].ttype)); ; break;} case 258: #line 1432 "objc-parse.y" { yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ; break;} case 259: #line 1434 "objc-parse.y" { yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ; break;} case 260: #line 1436 "objc-parse.y" { yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, chainon (yyvsp[-6].ttype, yyvsp[0].ttype)); ; break;} case 261: #line 1438 "objc-parse.y" { yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE), yyvsp[-2].ttype, chainon (yyvsp[-4].ttype, yyvsp[0].ttype)); ; break;} case 262: #line 1442 "objc-parse.y" { yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ; break;} case 263: #line 1444 "objc-parse.y" { yyvsp[0].itype = suspend_momentary (); yyval.ttype = start_enum (yyvsp[-1].ttype); ; break;} case 264: #line 1447 "objc-parse.y" { yyval.ttype= finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), chainon (yyvsp[-7].ttype, yyvsp[0].ttype)); resume_momentary (yyvsp[-5].itype); ; break;} case 265: #line 1450 "objc-parse.y" { yyvsp[0].itype = suspend_momentary (); yyval.ttype = start_enum (NULL_TREE); ; break;} case 266: #line 1453 "objc-parse.y" { yyval.ttype= finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), chainon (yyvsp[-6].ttype, yyvsp[0].ttype)); resume_momentary (yyvsp[-5].itype); ; break;} case 267: #line 1456 "objc-parse.y" { yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); ; break;} case 271: #line 1467 "objc-parse.y" { if (pedantic && ! flag_isoc9x) pedwarn ("comma at end of enumerator list"); ; break;} case 272: #line 1473 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 273: #line 1475 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); pedwarn ("no semicolon at end of struct or union"); ; break;} case 274: #line 1480 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 275: #line 1482 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ; break;} case 276: #line 1484 "objc-parse.y" { if (pedantic) pedwarn ("extra semicolon in struct or union specified"); ; break;} case 277: #line 1488 "objc-parse.y" { tree interface = lookup_interface (yyvsp[-1].ttype); if (interface) yyval.ttype = get_class_ivars (interface); else { error ("Cannot find interface declaration for `%s'", IDENTIFIER_POINTER (yyvsp[-1].ttype)); yyval.ttype = NULL_TREE; } ; break;} case 278: #line 1513 "objc-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 279: #line 1519 "objc-parse.y" { if (pedantic) pedwarn ("ANSI C forbids member declarations with no members"); shadow_tag(yyvsp[0].ttype); yyval.ttype = NULL_TREE; ; break;} case 280: #line 1524 "objc-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 281: #line 1530 "objc-parse.y" { if (pedantic) pedwarn ("ANSI C forbids member declarations with no members"); shadow_tag(yyvsp[0].ttype); yyval.ttype = NULL_TREE; ; break;} case 282: #line 1535 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 283: #line 1537 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; pedantic = yyvsp[-1].itype; ; break;} case 285: #line 1544 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 286: #line 1549 "objc-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 287: #line 1553 "objc-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 288: #line 1556 "objc-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 290: #line 1568 "objc-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 291: #line 1573 "objc-parse.y" { yyval.ttype = error_mark_node; ; break;} case 292: #line 1579 "objc-parse.y" { yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ; break;} case 293: #line 1581 "objc-parse.y" { yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 294: #line 1586 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 295: #line 1588 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 296: #line 1593 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 298: #line 1599 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; break;} case 299: #line 1601 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 300: #line 1606 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 301: #line 1608 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 302: #line 1613 "objc-parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 303: #line 1616 "objc-parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 304: #line 1618 "objc-parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ; break;} case 305: #line 1620 "objc-parse.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; break;} case 306: #line 1622 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 307: #line 1624 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; break;} case 308: #line 1626 "objc-parse.y" { yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; break;} case 309: #line 1628 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ; break;} case 310: #line 1630 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ; break;} case 311: #line 1634 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 312: #line 1643 "objc-parse.y" { if (pedantic && yyvsp[0].ends_in_label) pedwarn ("ANSI C forbids label at end of compound statement"); ; break;} case 314: #line 1652 "objc-parse.y" { yyval.ends_in_label = yyvsp[0].ends_in_label; ; break;} case 315: #line 1654 "objc-parse.y" { yyval.ends_in_label = 0; ; break;} case 319: #line 1666 "objc-parse.y" { emit_line_note (input_filename, lineno); pushlevel (0); clear_last_expr (); push_momentary (); expand_start_bindings (0); if (objc_method_context) add_objc_decls (); ; break;} case 321: #line 1681 "objc-parse.y" { if (pedantic) pedwarn ("ANSI C forbids label declarations"); ; break;} case 324: #line 1692 "objc-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 325: #line 1706 "objc-parse.y" {; break;} case 327: #line 1710 "objc-parse.y" { compstmt_count++; ; break;} case 328: #line 1713 "objc-parse.y" { yyval.ttype = convert (void_type_node, integer_zero_node); ; break;} case 329: #line 1715 "objc-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 330: #line 1723 "objc-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 331: #line 1731 "objc-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 334: #line 1751 "objc-parse.y" { emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno); c_expand_start_cond (truthvalue_conversion (yyvsp[-1].ttype), 0, compstmt_count); yyval.itype = stmt_count; if_stmt_file = yyvsp[-5].filename; if_stmt_line = yyvsp[-4].lineno; position_after_white_space (); ; break;} case 335: #line 1765 "objc-parse.y" { stmt_count++; compstmt_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 336: #line 1773 "objc-parse.y" { expand_loop_continue_here (); ; break;} case 337: #line 1777 "objc-parse.y" { yyval.filename = input_filename; ; break;} case 338: #line 1781 "objc-parse.y" { yyval.lineno = lineno; ; break;} case 339: #line 1786 "objc-parse.y" { ; break;} case 340: #line 1791 "objc-parse.y" { ; break;} case 341: #line 1796 "objc-parse.y" { yyval.ends_in_label = yyvsp[0].ends_in_label; ; break;} case 342: #line 1801 "objc-parse.y" { yyval.ends_in_label = 0; ; break;} case 343: #line 1803 "objc-parse.y" { yyval.ends_in_label = 1; ; break;} case 344: #line 1809 "objc-parse.y" { stmt_count++; ; break;} case 346: #line 1812 "objc-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 347: #line 1829 "objc-parse.y" { c_expand_start_else (); yyvsp[-1].itype = stmt_count; position_after_white_space (); ; break;} case 348: #line 1833 "objc-parse.y" { c_expand_end_cond (); if (extra_warnings && stmt_count == yyvsp[-3].itype) warning ("empty body in an else-statement"); ; break;} case 349: #line 1837 "objc-parse.y" { c_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 350: #line 1849 "objc-parse.y" { c_expand_end_cond (); ; break;} case 351: #line 1851 "objc-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 352: #line 1861 "objc-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 353: #line 1870 "objc-parse.y" { expand_end_loop (); ; break;} case 354: #line 1873 "objc-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 355: #line 1880 "objc-parse.y" { expand_end_loop (); clear_momentary (); ; break;} case 356: #line 1884 "objc-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 357: #line 1896 "objc-parse.y" { yyvsp[0].lineno = lineno; yyval.filename = input_filename; ; break;} case 358: #line 1899 "objc-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 359: #line 1915 "objc-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 360: #line 1926 "objc-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 361: #line 1934 "objc-parse.y" { expand_end_case (yyvsp[-3].ttype); if (yychar == CONSTANT || yychar == STRING) pop_momentary_nofree (); else pop_momentary (); ; break;} case 362: #line 1940 "objc-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 363: #line 1945 "objc-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 364: #line 1950 "objc-parse.y" { stmt_count++; emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno); c_expand_return (NULL_TREE); ; break;} case 365: #line 1954 "objc-parse.y" { stmt_count++; emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno); c_expand_return (yyvsp[-1].ttype); ; break;} case 366: #line 1958 "objc-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 367: #line 1969 "objc-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 368: #line 1976 "objc-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 369: #line 1984 "objc-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 370: #line 1990 "objc-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 371: #line 2001 "objc-parse.y" { if (pedantic) pedwarn ("ANSI C forbids `goto *expr;'"); stmt_count++; emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno); expand_computed_goto (convert (ptr_type_node, yyvsp[-1].ttype)); ; break;} case 374: #line 2016 "objc-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 375: #line 2037 "objc-parse.y" { if (yyvsp[-1].itype) iterator_for_loop_end (yyvsp[-3].ttype); ; break;} case 376: #line 2072 "objc-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; if (pedantic && ! INTEGRAL_TYPE_P (TREE_TYPE (value))) pedwarn ("label must have integral type in ANSI C"); 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 377: #line 2103 "objc-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); if (pedantic) pedwarn ("ANSI C forbids case ranges"); 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 378: #line 2134 "objc-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 379: #line 2149 "objc-parse.y" { tree label = define_label (input_filename, lineno, yyvsp[-2].ttype); stmt_count++; emit_nop (); if (label) { expand_label (label); decl_attributes (label, yyvsp[0].ttype, NULL_TREE); } position_after_white_space (); ; break;} case 380: #line 2164 "objc-parse.y" { emit_line_note (input_filename, lineno); yyval.ttype = NULL_TREE; ; break;} case 381: #line 2167 "objc-parse.y" { emit_line_note (input_filename, lineno); ; break;} case 382: #line 2172 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 384: #line 2179 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 387: #line 2186 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 388: #line 2191 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 389: #line 2196 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), NULL_TREE); ; break;} case 390: #line 2198 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), yyvsp[-2].ttype); ; break;} case 391: #line 2204 "objc-parse.y" { pushlevel (0); clear_parm_order (); declare_parm_level (0); ; break;} case 392: #line 2208 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; parmlist_tags_warning (); poplevel (0, 0, 0); ; break;} case 394: #line 2216 "objc-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 395: #line 2224 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 396: #line 2226 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ; break;} case 397: #line 2232 "objc-parse.y" { yyval.ttype = get_parm_info (0); ; break;} case 398: #line 2234 "objc-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 399: #line 2244 "objc-parse.y" { yyval.ttype = get_parm_info (1); ; break;} case 400: #line 2246 "objc-parse.y" { yyval.ttype = get_parm_info (0); ; break;} case 401: #line 2251 "objc-parse.y" { push_parm_decl (yyvsp[0].ttype); ; break;} case 402: #line 2253 "objc-parse.y" { push_parm_decl (yyvsp[0].ttype); ; break;} case 403: #line 2260 "objc-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 404: #line 2269 "objc-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 405: #line 2278 "objc-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 406: #line 2287 "objc-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 407: #line 2297 "objc-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 408: #line 2311 "objc-parse.y" { pushlevel (0); clear_parm_order (); declare_parm_level (1); ; break;} case 409: #line 2315 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; parmlist_tags_warning (); poplevel (0, 0, 0); ; break;} case 411: #line 2323 "objc-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 412: #line 2333 "objc-parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 413: #line 2335 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; break;} case 414: #line 2341 "objc-parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 415: #line 2343 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; break;} case 416: #line 2348 "objc-parse.y" { yyval.itype = pedantic; pedantic = 0; ; break;} case 422: #line 2361 "objc-parse.y" { if (objc_implementation_context) { finish_class (objc_implementation_context); objc_ivar_chain = NULL_TREE; objc_implementation_context = NULL_TREE; } else warning ("`@end' must appear in an implementation context"); ; break;} case 423: #line 2376 "objc-parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 424: #line 2378 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; break;} case 425: #line 2383 "objc-parse.y" { objc_declare_class (yyvsp[-1].ttype); ; break;} case 426: #line 2389 "objc-parse.y" { objc_declare_alias (yyvsp[-2].ttype, yyvsp[-1].ttype); ; break;} case 427: #line 2395 "objc-parse.y" { objc_interface_context = objc_ivar_context = start_class (CLASS_INTERFACE_TYPE, yyvsp[-2].ttype, NULL_TREE, yyvsp[-1].ttype); objc_public_flag = 0; ; break;} case 428: #line 2401 "objc-parse.y" { continue_class (objc_interface_context); ; break;} case 429: #line 2406 "objc-parse.y" { finish_class (objc_interface_context); objc_interface_context = NULL_TREE; ; break;} case 430: #line 2412 "objc-parse.y" { objc_interface_context = start_class (CLASS_INTERFACE_TYPE, yyvsp[-1].ttype, NULL_TREE, yyvsp[0].ttype); continue_class (objc_interface_context); ; break;} case 431: #line 2419 "objc-parse.y" { finish_class (objc_interface_context); objc_interface_context = NULL_TREE; ; break;} case 432: #line 2425 "objc-parse.y" { objc_interface_context = objc_ivar_context = start_class (CLASS_INTERFACE_TYPE, yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[-1].ttype); objc_public_flag = 0; ; break;} case 433: #line 2431 "objc-parse.y" { continue_class (objc_interface_context); ; break;} case 434: #line 2436 "objc-parse.y" { finish_class (objc_interface_context); objc_interface_context = NULL_TREE; ; break;} case 435: #line 2442 "objc-parse.y" { objc_interface_context = start_class (CLASS_INTERFACE_TYPE, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); continue_class (objc_interface_context); ; break;} case 436: #line 2449 "objc-parse.y" { finish_class (objc_interface_context); objc_interface_context = NULL_TREE; ; break;} case 437: #line 2455 "objc-parse.y" { objc_implementation_context = objc_ivar_context = start_class (CLASS_IMPLEMENTATION_TYPE, yyvsp[-1].ttype, NULL_TREE, NULL_TREE); objc_public_flag = 0; ; break;} case 438: #line 2461 "objc-parse.y" { objc_ivar_chain = continue_class (objc_implementation_context); ; break;} case 439: #line 2467 "objc-parse.y" { objc_implementation_context = start_class (CLASS_IMPLEMENTATION_TYPE, yyvsp[0].ttype, NULL_TREE, NULL_TREE); objc_ivar_chain = continue_class (objc_implementation_context); ; break;} case 440: #line 2475 "objc-parse.y" { objc_implementation_context = objc_ivar_context = start_class (CLASS_IMPLEMENTATION_TYPE, yyvsp[-3].ttype, yyvsp[-1].ttype, NULL_TREE); objc_public_flag = 0; ; break;} case 441: #line 2481 "objc-parse.y" { objc_ivar_chain = continue_class (objc_implementation_context); ; break;} case 442: #line 2487 "objc-parse.y" { objc_implementation_context = start_class (CLASS_IMPLEMENTATION_TYPE, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); objc_ivar_chain = continue_class (objc_implementation_context); ; break;} case 443: #line 2495 "objc-parse.y" { objc_interface_context = start_class (CATEGORY_INTERFACE_TYPE, yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); continue_class (objc_interface_context); ; break;} case 444: #line 2502 "objc-parse.y" { finish_class (objc_interface_context); objc_interface_context = NULL_TREE; ; break;} case 445: #line 2508 "objc-parse.y" { objc_implementation_context = start_class (CATEGORY_IMPLEMENTATION_TYPE, yyvsp[-3].ttype, yyvsp[-1].ttype, NULL_TREE); objc_ivar_chain = continue_class (objc_implementation_context); ; break;} case 446: #line 2518 "objc-parse.y" { remember_protocol_qualifiers (); objc_interface_context = start_protocol(PROTOCOL_INTERFACE_TYPE, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 447: #line 2524 "objc-parse.y" { forget_protocol_qualifiers(); finish_protocol(objc_interface_context); objc_interface_context = NULL_TREE; ; break;} case 448: #line 2533 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 450: #line 2541 "objc-parse.y" { if (yyvsp[-2].code == LT_EXPR && yyvsp[0].code == GT_EXPR) yyval.ttype = yyvsp[-1].ttype; else YYERROR1; ; break;} case 453: #line 2555 "objc-parse.y" { objc_public_flag = 2; ; break;} case 454: #line 2556 "objc-parse.y" { objc_public_flag = 0; ; break;} case 455: #line 2557 "objc-parse.y" { objc_public_flag = 1; ; break;} case 456: #line 2562 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 458: #line 2567 "objc-parse.y" { if (pedantic) pedwarn ("extra semicolon in struct or union specified"); ; break;} case 459: #line 2585 "objc-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 460: #line 2591 "objc-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 461: #line 2597 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 462: #line 2602 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 465: #line 2609 "objc-parse.y" { yyval.ttype = add_instance_variable (objc_ivar_context, objc_public_flag, yyvsp[0].ttype, current_declspecs, NULL_TREE); ; break;} case 466: #line 2616 "objc-parse.y" { yyval.ttype = add_instance_variable (objc_ivar_context, objc_public_flag, yyvsp[-2].ttype, current_declspecs, yyvsp[0].ttype); ; break;} case 467: #line 2622 "objc-parse.y" { yyval.ttype = add_instance_variable (objc_ivar_context, objc_public_flag, NULL_TREE, current_declspecs, yyvsp[0].ttype); ; break;} case 468: #line 2632 "objc-parse.y" { remember_protocol_qualifiers (); if (objc_implementation_context) objc_inherit_code = CLASS_METHOD_DECL; else fatal ("method definition not in class context"); ; break;} case 469: #line 2640 "objc-parse.y" { forget_protocol_qualifiers (); add_class_method (objc_implementation_context, yyvsp[0].ttype); start_method_def (yyvsp[0].ttype); objc_method_context = yyvsp[0].ttype; ; break;} case 470: #line 2647 "objc-parse.y" { continue_method_def (); ; break;} case 471: #line 2651 "objc-parse.y" { finish_method_def (); objc_method_context = NULL_TREE; ; break;} case 472: #line 2657 "objc-parse.y" { remember_protocol_qualifiers (); if (objc_implementation_context) objc_inherit_code = INSTANCE_METHOD_DECL; else fatal ("method definition not in class context"); ; break;} case 473: #line 2665 "objc-parse.y" { forget_protocol_qualifiers (); add_instance_method (objc_implementation_context, yyvsp[0].ttype); start_method_def (yyvsp[0].ttype); objc_method_context = yyvsp[0].ttype; ; break;} case 474: #line 2672 "objc-parse.y" { continue_method_def (); ; break;} case 475: #line 2676 "objc-parse.y" { finish_method_def (); objc_method_context = NULL_TREE; ; break;} case 477: #line 2688 "objc-parse.y" {yyval.ttype = NULL_TREE; ; break;} case 482: #line 2695 "objc-parse.y" {yyval.ttype = NULL_TREE; ; break;} case 486: #line 2705 "objc-parse.y" { /* Remember protocol qualifiers in prototypes. */ remember_protocol_qualifiers (); objc_inherit_code = CLASS_METHOD_DECL; ; break;} case 487: #line 2711 "objc-parse.y" { /* Forget protocol qualifiers here. */ forget_protocol_qualifiers (); add_class_method (objc_interface_context, yyvsp[0].ttype); ; break;} case 489: #line 2719 "objc-parse.y" { /* Remember protocol qualifiers in prototypes. */ remember_protocol_qualifiers (); objc_inherit_code = INSTANCE_METHOD_DECL; ; break;} case 490: #line 2725 "objc-parse.y" { /* Forget protocol qualifiers here. */ forget_protocol_qualifiers (); add_instance_method (objc_interface_context, yyvsp[0].ttype); ; break;} case 492: #line 2735 "objc-parse.y" { yyval.ttype = build_method_decl (objc_inherit_code, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; break;} case 493: #line 2740 "objc-parse.y" { yyval.ttype = build_method_decl (objc_inherit_code, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; break;} case 494: #line 2745 "objc-parse.y" { yyval.ttype = build_method_decl (objc_inherit_code, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 495: #line 2750 "objc-parse.y" { yyval.ttype = build_method_decl (objc_inherit_code, NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 504: #line 2780 "objc-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 505: #line 2785 "objc-parse.y" { shadow_tag (yyvsp[-1].ttype); ; break;} case 506: #line 2787 "objc-parse.y" { pedwarn ("empty declaration"); ; break;} case 507: #line 2792 "objc-parse.y" { push_parm_decl (yyvsp[0].ttype); ; break;} case 508: #line 2794 "objc-parse.y" { push_parm_decl (yyvsp[0].ttype); ; break;} case 509: #line 2802 "objc-parse.y" { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, yyvsp[-1].ttype), build_tree_list (prefix_attributes, yyvsp[0].ttype)); ; break;} case 510: #line 2807 "objc-parse.y" { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, yyvsp[-1].ttype), build_tree_list (prefix_attributes, yyvsp[0].ttype)); ; break;} case 511: #line 2812 "objc-parse.y" { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, yyvsp[-1].ttype), build_tree_list (prefix_attributes, yyvsp[0].ttype)); ; break;} case 512: #line 2820 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 513: #line 2824 "objc-parse.y" { /* oh what a kludge! */ yyval.ttype = (tree)1; ; break;} case 514: #line 2829 "objc-parse.y" { pushlevel (0); ; break;} case 515: #line 2833 "objc-parse.y" { /* returns a tree list node generated by get_parm_info */ yyval.ttype = yyvsp[0].ttype; poplevel (0, 0, 0); ; break;} case 518: #line 2848 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 523: #line 2861 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 524: #line 2862 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 525: #line 2863 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 526: #line 2864 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 527: #line 2865 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 528: #line 2866 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 529: #line 2867 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 530: #line 2868 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 531: #line 2869 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 532: #line 2870 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 533: #line 2871 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 534: #line 2872 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 535: #line 2873 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 536: #line 2874 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 537: #line 2875 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 538: #line 2876 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 539: #line 2877 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 540: #line 2878 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 541: #line 2879 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 544: #line 2885 "objc-parse.y" { yyval.ttype = build_keyword_decl (yyvsp[-5].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 545: #line 2890 "objc-parse.y" { yyval.ttype = build_keyword_decl (yyvsp[-2].ttype, NULL_TREE, yyvsp[0].ttype); ; break;} case 546: #line 2895 "objc-parse.y" { yyval.ttype = build_keyword_decl (NULL_TREE, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 547: #line 2900 "objc-parse.y" { yyval.ttype = build_keyword_decl (NULL_TREE, NULL_TREE, yyvsp[0].ttype); ; break;} case 551: #line 2913 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 552: #line 2921 "objc-parse.y" { if (TREE_CHAIN (yyvsp[0].ttype) == NULL_TREE) /* just return the expr., remove a level of indirection */ yyval.ttype = TREE_VALUE (yyvsp[0].ttype); else /* we have a comma expr., we will collapse later */ yyval.ttype = yyvsp[0].ttype; ; break;} case 553: #line 2933 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 554: #line 2937 "objc-parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 556: #line 2945 "objc-parse.y" { yyval.ttype = get_class_reference (yyvsp[0].ttype); ; break;} case 557: #line 2952 "objc-parse.y" { objc_receiver_context = 1; ; break;} case 558: #line 2954 "objc-parse.y" { objc_receiver_context = 0; ; break;} case 559: #line 2956 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 563: #line 2969 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 564: #line 2976 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-1].ttype, NULL_TREE); ; break;} case 565: #line 2980 "objc-parse.y" { yyval.ttype = build_tree_list (NULL_TREE, NULL_TREE); ; break;} case 566: #line 2987 "objc-parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 567: #line 2994 "objc-parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 568: #line 3003 "objc-parse.y" { yyval.ttype = groktypename (yyvsp[-1].ttype); ; break;} } /* the action file gets copied in in place of this dollarsign */ #line 498 "/usr/cygnus/gnupro-98r2/share/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 3008 "objc-parse.y"