/* A Bison parser, made from objc-parse.y */ #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 ALIGN 285 #define ATTRIBUTE 286 #define EXTENSION 287 #define LABEL 288 #define ASSIGN 289 #define OROR 290 #define ANDAND 291 #define EQCOMPARE 292 #define ARITHCOMPARE 293 #define LSHIFT 294 #define RSHIFT 295 #define UNARY 296 #define PLUSPLUS 297 #define MINUSMINUS 298 #define HYPERUNARY 299 #define POINTSAT 300 #define INTERFACE 301 #define IMPLEMENTATION 302 #define END 303 #define SELECTOR 304 #define DEFS 305 #define ENCODE 306 #define CLASSNAME 307 #define PUBLIC 308 #line 31 "objc-parse.y" #include <stdio.h> #include <errno.h> #include <setjmp.h> #include "config.h" #include "tree.h" #include "input.h" #include "c-lex.h" #include "c-tree.h" #include "flags.h" #ifdef MULTIBYTE_CHARS #include <stdlib.h> #include <locale.h> #endif #include "objc-actions.h" #ifndef errno extern int errno; #endif void yyerror (); /* Like YYERROR but do call yyerror. */ #define YYERROR1 { yyerror ("syntax error"); YYERROR; } /* Cause the `yydebug' variable to be defined. */ #define YYDEBUG 1 #line 65 "objc-parse.y" typedef union {long itype; tree ttype; enum tree_code code; char *filename; int lineno; } YYSTYPE; #line 180 "objc-parse.y" /* Number of statements (loosely speaking) seen so far. */ static int stmt_count; /* Input file and line number of the end of the body of last simple_if; used by the stmt-rule immediately after simple_if returns. */ static char *if_stmt_file; static int if_stmt_line; /* List of types and structure classes of the current declaration. */ static tree current_declspecs; /* Stack of saved values of current_declspecs. */ 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 (); #ifndef YYLTYPE typedef struct yyltype { int timestamp; int first_line; int first_column; int last_line; int last_column; char *text; } yyltype; #define YYLTYPE yyltype #endif #include <stdio.h> #ifndef __STDC__ #define const #endif #define YYFINAL 828 #define YYFLAG -32768 #define YYNTBASE 76 #define YYTRANSLATE(x) ((unsigned)(x) <= 308 ? yytranslate[x] : 261) 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, 72, 2, 2, 2, 51, 42, 2, 58, 68, 49, 47, 73, 48, 57, 50, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 37, 69, 2, 35, 2, 36, 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, 59, 2, 75, 41, 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, 74, 40, 70, 71, 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, 38, 39, 43, 44, 45, 46, 52, 53, 54, 55, 56, 60, 61, 62, 63, 64, 65, 66, 67 }; static const short yyprhs[] = { 0, 0, 1, 3, 4, 7, 8, 12, 14, 16, 18, 24, 28, 33, 38, 41, 44, 47, 50, 52, 53, 54, 62, 67, 68, 69, 77, 82, 83, 84, 91, 95, 97, 99, 101, 103, 105, 107, 109, 111, 113, 115, 117, 118, 120, 122, 126, 128, 131, 132, 136, 139, 142, 145, 150, 153, 158, 160, 165, 173, 175, 179, 183, 187, 191, 195, 199, 203, 207, 211, 215, 219, 223, 227, 231, 237, 241, 245, 247, 249, 251, 255, 259, 260, 265, 270, 275, 279, 283, 286, 289, 291, 293, 295, 297, 300, 301, 303, 306, 310, 312, 314, 317, 320, 325, 330, 333, 336, 340, 342, 344, 347, 350, 351, 356, 361, 365, 369, 372, 375, 378, 382, 383, 386, 389, 391, 393, 396, 399, 402, 406, 407, 410, 412, 414, 416, 418, 423, 428, 430, 432, 434, 436, 440, 442, 446, 447, 452, 453, 460, 464, 465, 472, 476, 477, 484, 486, 490, 492, 497, 502, 511, 513, 516, 520, 525, 527, 529, 533, 540, 549, 554, 561, 565, 571, 572, 576, 577, 581, 583, 585, 589, 593, 598, 602, 606, 608, 612, 617, 621, 625, 627, 631, 635, 639, 644, 648, 650, 651, 658, 663, 666, 667, 674, 679, 682, 683, 691, 692, 699, 702, 703, 705, 706, 708, 710, 713, 714, 718, 721, 726, 730, 732, 736, 738, 740, 742, 746, 751, 758, 763, 765, 769, 771, 775, 778, 781, 782, 784, 786, 789, 790, 793, 797, 801, 804, 808, 813, 817, 820, 824, 827, 829, 832, 835, 836, 838, 841, 842, 843, 845, 847, 850, 854, 856, 859, 862, 869, 875, 881, 884, 887, 892, 893, 898, 899, 900, 904, 909, 913, 915, 917, 919, 922, 923, 928, 930, 934, 935, 936, 944, 950, 953, 954, 955, 956, 969, 970, 977, 980, 983, 986, 990, 997, 1006, 1017, 1030, 1034, 1039, 1041, 1045, 1051, 1054, 1057, 1058, 1060, 1061, 1063, 1064, 1066, 1068, 1072, 1077, 1079, 1083, 1084, 1087, 1090, 1091, 1096, 1099, 1100, 1102, 1104, 1108, 1110, 1114, 1117, 1120, 1123, 1126, 1129, 1130, 1133, 1135, 1138, 1140, 1144, 1146, 1150, 1152, 1154, 1156, 1157, 1158, 1168, 1169, 1175, 1176, 1177, 1189, 1190, 1198, 1199, 1206, 1209, 1210, 1219, 1224, 1225, 1234, 1240, 1241, 1246, 1248, 1249, 1253, 1256, 1260, 1264, 1266, 1267, 1269, 1273, 1275, 1279, 1282, 1283, 1284, 1285, 1293, 1294, 1295, 1296, 1304, 1305, 1306, 1309, 1311, 1313, 1316, 1317, 1321, 1323, 1325, 1326, 1327, 1333, 1334, 1335, 1341, 1346, 1348, 1354, 1357, 1358, 1361, 1362, 1364, 1366, 1368, 1371, 1374, 1379, 1382, 1385, 1387, 1391, 1393, 1395, 1397, 1398, 1401, 1402, 1406, 1408, 1410, 1413, 1415, 1417, 1419, 1421, 1423, 1425, 1427, 1429, 1431, 1433, 1435, 1437, 1439, 1441, 1443, 1445, 1447, 1449, 1451, 1453, 1455, 1457, 1459, 1461, 1468, 1472, 1478, 1481, 1483, 1485, 1487, 1490, 1492, 1496, 1499, 1501, 1503, 1504, 1505, 1512, 1514, 1516, 1518, 1521, 1524, 1526, 1531 }; static const short yyrhs[] = { -1, 77, 0, 0, 78, 80, 0, 0, 77, 79, 80, 0, 82, 0, 81, 0, 200, 0, 27, 58, 91, 68, 69, 0, 107, 117, 69, 0, 111, 107, 117, 69, 0, 109, 107, 116, 69, 0, 111, 69, 0, 109, 69, 0, 1, 69, 0, 1, 70, 0, 69, 0, 0, 0, 109, 107, 132, 83, 101, 84, 162, 0, 109, 107, 132, 1, 0, 0, 0, 111, 107, 135, 85, 101, 86, 162, 0, 111, 107, 135, 1, 0, 0, 0, 107, 135, 87, 101, 88, 162, 0, 107, 135, 1, 0, 3, 0, 4, 0, 66, 0, 42, 0, 48, 0, 47, 0, 53, 0, 54, 0, 71, 0, 72, 0, 93, 0, 0, 93, 0, 97, 0, 93, 73, 97, 0, 98, 0, 49, 96, 0, 0, 32, 95, 96, 0, 90, 96, 0, 39, 89, 0, 11, 94, 0, 11, 58, 150, 68, 0, 29, 94, 0, 29, 58, 150, 68, 0, 94, 0, 58, 150, 68, 96, 0, 58, 150, 68, 74, 127, 141, 70, 0, 96, 0, 97, 47, 97, 0, 97, 48, 97, 0, 97, 49, 97, 0, 97, 50, 97, 0, 97, 51, 97, 0, 97, 45, 97, 0, 97, 46, 97, 0, 97, 44, 97, 0, 97, 43, 97, 0, 97, 42, 97, 0, 97, 40, 97, 0, 97, 41, 97, 0, 97, 39, 97, 0, 97, 38, 97, 0, 97, 36, 183, 37, 97, 0, 97, 35, 97, 0, 97, 34, 97, 0, 3, 0, 8, 0, 100, 0, 58, 91, 68, 0, 58, 1, 68, 0, 0, 58, 99, 163, 68, 0, 98, 58, 92, 68, 0, 98, 59, 91, 75, 0, 98, 57, 89, 0, 98, 56, 89, 0, 98, 53, 0, 98, 54, 0, 253, 0, 259, 0, 260, 0, 9, 0, 100, 9, 0, 0, 103, 0, 103, 10, 0, 168, 169, 104, 0, 102, 0, 157, 0, 103, 102, 0, 102, 157, 0, 109, 107, 116, 69, 0, 111, 107, 117, 69, 0, 109, 69, 0, 111, 69, 0, 168, 169, 108, 0, 105, 0, 157, 0, 106, 105, 0, 105, 157, 0, 0, 109, 107, 116, 69, 0, 111, 107, 117, 69, 0, 109, 107, 128, 0, 111, 107, 130, 0, 109, 69, 0, 111, 69, 0, 114, 110, 0, 111, 114, 110, 0, 0, 110, 115, 0, 110, 5, 0, 7, 0, 5, 0, 111, 7, 0, 111, 5, 0, 114, 113, 0, 152, 114, 113, 0, 0, 113, 115, 0, 6, 0, 136, 0, 4, 0, 66, 0, 28, 58, 91, 68, 0, 28, 58, 150, 68, 0, 6, 0, 7, 0, 136, 0, 119, 0, 116, 73, 119, 0, 121, 0, 117, 73, 119, 0, 0, 27, 58, 100, 68, 0, 0, 132, 118, 123, 35, 120, 126, 0, 132, 118, 123, 0, 0, 135, 118, 123, 35, 122, 126, 0, 135, 118, 123, 0, 0, 31, 58, 58, 124, 68, 68, 0, 125, 0, 124, 73, 125, 0, 3, 0, 3, 58, 3, 68, 0, 3, 58, 8, 68, 0, 3, 58, 3, 73, 8, 73, 8, 68, 0, 97, 0, 74, 70, 0, 74, 127, 70, 0, 74, 127, 73, 70, 0, 1, 0, 126, 0, 127, 73, 126, 0, 59, 97, 10, 97, 75, 126, 0, 127, 73, 59, 97, 10, 97, 75, 126, 0, 59, 97, 75, 126, 0, 127, 73, 59, 97, 75, 126, 0, 89, 37, 126, 0, 127, 73, 89, 37, 126, 0, 0, 132, 129, 163, 0, 0, 135, 131, 163, 0, 133, 0, 135, 0, 58, 133, 68, 0, 133, 58, 195, 0, 133, 59, 91, 75, 0, 133, 59, 75, 0, 49, 153, 133, 0, 4, 0, 134, 58, 195, 0, 134, 59, 91, 75, 0, 134, 59, 75, 0, 49, 153, 134, 0, 4, 0, 135, 58, 195, 0, 58, 135, 68, 0, 49, 153, 135, 0, 135, 59, 91, 75, 0, 135, 59, 75, 0, 3, 0, 0, 13, 89, 74, 137, 143, 70, 0, 13, 74, 143, 70, 0, 13, 89, 0, 0, 14, 89, 74, 138, 143, 70, 0, 14, 74, 143, 70, 0, 14, 89, 0, 0, 12, 89, 74, 139, 148, 142, 70, 0, 0, 12, 74, 140, 148, 142, 70, 0, 12, 89, 0, 0, 73, 0, 0, 73, 0, 144, 0, 144, 145, 0, 0, 144, 145, 69, 0, 144, 69, 0, 64, 58, 66, 68, 0, 112, 107, 146, 0, 112, 0, 152, 107, 146, 0, 152, 0, 1, 0, 147, 0, 146, 73, 147, 0, 168, 169, 132, 123, 0, 168, 169, 132, 37, 97, 123, 0, 168, 169, 37, 97, 0, 149, 0, 148, 73, 149, 0, 89, 0, 89, 35, 97, 0, 112, 151, 0, 152, 151, 0, 0, 154, 0, 7, 0, 152, 7, 0, 0, 153, 7, 0, 58, 154, 68, 0, 49, 153, 154, 0, 49, 153, 0, 154, 58, 188, 0, 154, 59, 91, 75, 0, 154, 59, 75, 0, 58, 188, 0, 59, 91, 75, 0, 59, 75, 0, 171, 0, 155, 171, 0, 155, 157, 0, 0, 155, 0, 1, 69, 0, 0, 0, 160, 0, 161, 0, 160, 161, 0, 33, 199, 69, 0, 163, 0, 1, 163, 0, 74, 70, 0, 74, 158, 159, 106, 156, 70, 0, 74, 158, 159, 1, 70, 0, 74, 158, 159, 155, 70, 0, 165, 170, 0, 165, 1, 0, 15, 58, 91, 68, 0, 0, 18, 167, 170, 17, 0, 0, 0, 168, 169, 173, 0, 168, 169, 181, 170, 0, 168, 169, 172, 0, 173, 0, 181, 0, 163, 0, 91, 69, 0, 0, 164, 16, 174, 170, 0, 164, 0, 164, 16, 1, 0, 0, 0, 17, 175, 58, 91, 68, 176, 170, 0, 166, 58, 91, 68, 69, 0, 166, 1, 0, 0, 0, 0, 19, 58, 183, 69, 177, 183, 69, 178, 183, 68, 179, 170, 0, 0, 20, 58, 91, 68, 180, 170, 0, 23, 69, 0, 24, 69, 0, 25, 69, 0, 25, 91, 69, 0, 27, 182, 58, 91, 68, 69, 0, 27, 182, 58, 91, 37, 184, 68, 69, 0, 27, 182, 58, 91, 37, 184, 37, 184, 68, 69, 0, 27, 182, 58, 91, 37, 184, 37, 184, 37, 187, 68, 69, 0, 26, 89, 69, 0, 26, 49, 91, 69, 0, 69, 0, 21, 91, 37, 0, 21, 91, 10, 91, 37, 0, 22, 37, 0, 89, 37, 0, 0, 7, 0, 0, 91, 0, 0, 185, 0, 186, 0, 185, 73, 186, 0, 9, 58, 91, 68, 0, 100, 0, 187, 73, 100, 0, 0, 189, 190, 0, 192, 68, 0, 0, 193, 69, 191, 190, 0, 1, 68, 0, 0, 10, 0, 193, 0, 193, 73, 10, 0, 194, 0, 193, 73, 194, 0, 109, 134, 0, 109, 135, 0, 109, 151, 0, 111, 135, 0, 111, 151, 0, 0, 196, 197, 0, 190, 0, 198, 68, 0, 3, 0, 198, 73, 3, 0, 89, 0, 199, 73, 89, 0, 201, 0, 217, 0, 62, 0, 0, 0, 60, 89, 74, 202, 211, 70, 203, 224, 62, 0, 0, 60, 89, 204, 224, 62, 0, 0, 0, 60, 89, 37, 89, 74, 205, 211, 70, 206, 224, 62, 0, 0, 60, 89, 37, 89, 207, 224, 62, 0, 0, 61, 89, 74, 208, 211, 70, 0, 61, 89, 0, 0, 61, 89, 37, 89, 74, 209, 211, 70, 0, 61, 89, 37, 89, 0, 0, 60, 89, 58, 89, 68, 210, 224, 62, 0, 61, 89, 58, 89, 68, 0, 0, 213, 67, 212, 213, 0, 213, 0, 0, 213, 214, 69, 0, 213, 69, 0, 112, 107, 215, 0, 152, 107, 215, 0, 1, 0, 0, 216, 0, 215, 73, 216, 0, 132, 0, 132, 37, 97, 0, 37, 97, 0, 0, 0, 0, 47, 218, 234, 219, 235, 220, 162, 0, 0, 0, 0, 48, 221, 234, 222, 235, 223, 162, 0, 0, 0, 225, 226, 0, 229, 0, 81, 0, 226, 229, 0, 0, 226, 227, 81, 0, 69, 0, 1, 0, 0, 0, 47, 230, 234, 231, 228, 0, 0, 0, 48, 232, 234, 233, 228, 0, 58, 150, 68, 243, 0, 243, 0, 58, 150, 68, 244, 241, 0, 244, 241, 0, 0, 69, 236, 0, 0, 237, 0, 238, 0, 157, 0, 237, 238, 0, 238, 157, 0, 109, 107, 239, 69, 0, 109, 69, 0, 111, 69, 0, 240, 0, 239, 73, 240, 0, 134, 0, 135, 0, 151, 0, 0, 73, 10, 0, 0, 73, 242, 192, 0, 245, 0, 247, 0, 244, 247, 0, 3, 0, 4, 0, 246, 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, 245, 37, 58, 150, 68, 89, 0, 245, 37, 89, 0, 37, 58, 150, 68, 89, 0, 37, 89, 0, 245, 0, 249, 0, 251, 0, 249, 251, 0, 93, 0, 245, 37, 250, 0, 37, 250, 0, 91, 0, 66, 0, 0, 0, 59, 254, 252, 255, 248, 75, 0, 245, 0, 257, 0, 258, 0, 257, 258, 0, 245, 37, 0, 37, 0, 63, 58, 256, 68, 0, 65, 58, 150, 68, 0 }; #if YYDEBUG != 0 static const short yyrline[] = { 0, 217, 222, 232, 234, 234, 235, 237, 239, 240, 241, 251, 257, 259, 261, 263, 265, 266, 267, 272, 278, 280, 281, 283, 288, 290, 291, 293, 298, 300, 301, 305, 307, 308, 312, 314, 316, 318, 320, 322, 324, 328, 332, 335, 338, 341, 345, 347, 350, 353, 356, 359, 379, 384, 386, 388, 392, 394, 397, 422, 424, 426, 428, 430, 432, 434, 436, 438, 440, 442, 444, 446, 448, 450, 452, 454, 457, 462, 603, 604, 606, 612, 614, 627, 644, 646, 648, 660, 674, 676, 678, 680, 682, 687, 689, 693, 695, 696, 706, 711, 713, 714, 715, 718, 723, 727, 730, 738, 743, 745, 746, 747, 754, 762, 767, 771, 775, 779, 781, 789, 792, 796, 798, 800, 811, 815, 817, 820, 833, 836, 840, 842, 850, 851, 852, 856, 858, 860, 866, 867, 868, 871, 873, 876, 878, 881, 884, 890, 895, 897, 903, 908, 910, 917, 920, 925, 927, 932, 937, 947, 958, 976, 978, 982, 984, 986, 992, 995, 998, 1002, 1007, 1009, 1011, 1013, 1017, 1034, 1038, 1055, 1062, 1064, 1069, 1072, 1077, 1079, 1081, 1083, 1091, 1097, 1099, 1101, 1103, 1109, 1115, 1117, 1119, 1121, 1123, 1126, 1131, 1135, 1138, 1140, 1142, 1144, 1147, 1149, 1152, 1155, 1158, 1161, 1165, 1167, 1170, 1172, 1176, 1179, 1184, 1186, 1188, 1192, 1205, 1211, 1216, 1221, 1226, 1230, 1232, 1236, 1240, 1244, 1253, 1255, 1260, 1263, 1267, 1270, 1274, 1277, 1280, 1283, 1287, 1290, 1294, 1298, 1300, 1302, 1304, 1306, 1308, 1310, 1312, 1320, 1322, 1323, 1326, 1328, 1331, 1334, 1347, 1349, 1354, 1356, 1359, 1373, 1376, 1379, 1381, 1386, 1391, 1399, 1404, 1407, 1420, 1428, 1432, 1436, 1440, 1446, 1450, 1455, 1457, 1468, 1471, 1476, 1481, 1484, 1492, 1494, 1504, 1514, 1515, 1523, 1526, 1538, 1542, 1558, 1565, 1574, 1576, 1581, 1586, 1590, 1594, 1605, 1612, 1619, 1626, 1637, 1641, 1648, 1672, 1700, 1715, 1726, 1729, 1733, 1736, 1741, 1743, 1746, 1748, 1752, 1757, 1760, 1766, 1771, 1776, 1778, 1787, 1788, 1794, 1796, 1801, 1803, 1807, 1810, 1816, 1819, 1821, 1823, 1825, 1832, 1837, 1842, 1844, 1853, 1856, 1861, 1864, 1870, 1872, 1873, 1886, 1893, 1898, 1904, 1911, 1917, 1923, 1928, 1934, 1941, 1947, 1953, 1959, 1967, 1973, 1979, 1987, 1994, 2000, 2009, 2011, 2011, 2014, 2019, 2020, 2037, 2043, 2048, 2052, 2055, 2056, 2059, 2067, 2073, 2082, 2091, 2097, 2101, 2106, 2114, 2120, 2124, 2134, 2136, 2137, 2139, 2141, 2142, 2143, 2144, 2146, 2148, 2151, 2157, 2162, 2162, 2167, 2171, 2173, 2179, 2184, 2189, 2198, 2200, 2206, 2208, 2211, 2213, 2214, 2215, 2218, 2221, 2223, 2227, 2230, 2237, 2240, 2242, 2246, 2251, 2256, 2261, 2268, 2272, 2275, 2281, 2283, 2284, 2287, 2289, 2290, 2291, 2292, 2293, 2294, 2295, 2296, 2297, 2298, 2299, 2300, 2301, 2302, 2303, 2304, 2305, 2306, 2307, 2307, 2310, 2316, 2321, 2326, 2332, 2334, 2337, 2339, 2346, 2358, 2363, 2369, 2371, 2377, 2381, 2382, 2388, 2390, 2393, 2395, 2401, 2406, 2412, 2421 }; static const char * const yytname[] = { "$","error","$illegal.","IDENTIFIER", "TYPENAME","SCSPEC","TYPESPEC","TYPE_QUAL","CONSTANT","STRING","ELLIPSIS","SIZEOF", "ENUM","STRUCT","UNION","IF","ELSE","WHILE","DO","FOR","SWITCH","CASE","DEFAULT", "BREAK","CONTINUE","RETURN","GOTO","ASM_KEYWORD","TYPEOF","ALIGNOF","ALIGN", "ATTRIBUTE","EXTENSION","LABEL","ASSIGN","'='","'?'","':'","OROR","ANDAND","'|'", "'^'","'&'","EQCOMPARE","ARITHCOMPARE","LSHIFT","RSHIFT","'+'","'-'","'*'","'/'", "'%'","UNARY","PLUSPLUS","MINUSMINUS","HYPERUNARY","POINTSAT","'.'","'('","'['", "INTERFACE","IMPLEMENTATION","END","SELECTOR","DEFS","ENCODE","CLASSNAME","PUBLIC", "')'","';'","'}'","'~'","'!'","','","'{'","']'","program","extdefs","@1","@2", "extdef","datadef","fndef","@3","@4","@5","@6","@7","@8","identifier","unop", "expr","exprlist","nonnull_exprlist","unary_expr","@9","cast_expr","expr_no_commas", "primary","@10","string","xdecls","lineno_datadecl","datadecls","datadecl","lineno_decl", "decls","setspecs","decl","typed_declspecs","reserved_declspecs","declmods", "typed_typespecs","reserved_typespecquals","typespec","typespecqual_reserved", "initdecls","notype_initdecls","maybeasm","initdcl","@11","notype_initdcl","@12", "maybe_attribute","attribute_list","attrib","init","initlist","nested_function", "@13","notype_nested_function","@14","declarator","after_type_declarator","parm_declarator", "notype_declarator","structsp","@15","@16","@17","@18","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","xstmts","errstmt","pushlevel","maybe_label_decls","label_decls", "label_decl","compstmt_or_error","compstmt","simple_if","if_prefix","do_stmt_start", "@19","save_filename","save_lineno","lineno_labeled_stmt","lineno_stmt_or_label", "stmt_or_label","stmt","@20","@21","@22","@23","@24","@25","@26","label","maybe_type_qual", "xexpr","asm_operands","nonnull_asm_operands","asm_operand","asm_clobbers","parmlist", "@27","parmlist_1","@28","parmlist_2","parms","parm","parmlist_or_identifiers", "@29","parmlist_or_identifiers_1","identifiers","identifiers_or_typenames","objcdef", "classdef","@30","@31","@32","@33","@34","@35","@36","@37","@38","ivar_decl_list", "@39","ivar_decls","ivar_decl","ivars","ivar_declarator","methoddef","@40","@41", "@42","@43","@44","@45","methodprotolist","@46","methodprotolist2","@47","semi_or_error", "methodproto","@48","@49","@50","@51","methoddecl","optarglist","myxdecls","mydecls", "mydecl","myparms","myparm","optparmlist","@52","unaryselector","keywordselector", "selector","reservedwords","keyworddecl","messageargs","keywordarglist","keywordexpr", "keywordarg","receiver","objcmessageexpr","@53","@54","selectorarg","keywordnamelist", "keywordname","objcselectorexpr","objcencodeexpr","" }; #endif static const short yyr1[] = { 0, 76, 76, 78, 77, 79, 77, 80, 80, 80, 80, 81, 81, 81, 81, 81, 81, 81, 81, 83, 84, 82, 82, 85, 86, 82, 82, 87, 88, 82, 82, 89, 89, 89, 90, 90, 90, 90, 90, 90, 90, 91, 92, 92, 93, 93, 94, 94, 95, 94, 94, 94, 94, 94, 94, 94, 96, 96, 96, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 98, 98, 98, 98, 98, 99, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 100, 100, 101, 101, 101, 102, 103, 103, 103, 103, 104, 104, 104, 104, 105, 106, 106, 106, 106, 107, 108, 108, 108, 108, 108, 108, 109, 109, 110, 110, 110, 111, 111, 111, 111, 112, 112, 113, 113, 114, 114, 114, 114, 114, 114, 115, 115, 115, 116, 116, 117, 117, 118, 118, 120, 119, 119, 122, 121, 121, 123, 123, 124, 124, 125, 125, 125, 125, 126, 126, 126, 126, 126, 127, 127, 127, 127, 127, 127, 127, 127, 129, 128, 131, 130, 132, 132, 133, 133, 133, 133, 133, 133, 134, 134, 134, 134, 134, 135, 135, 135, 135, 135, 135, 137, 136, 136, 136, 138, 136, 136, 136, 139, 136, 140, 136, 136, 141, 141, 142, 142, 143, 143, 144, 144, 144, 144, 145, 145, 145, 145, 145, 146, 146, 147, 147, 147, 148, 148, 149, 149, 150, 150, 151, 151, 152, 152, 153, 153, 154, 154, 154, 154, 154, 154, 154, 154, 154, 155, 155, 155, 156, 156, 157, 158, 159, 159, 160, 160, 161, 162, 162, 163, 163, 163, 163, 164, 164, 165, 167, 166, 168, 169, 170, 170, 171, 172, 172, 173, 173, 174, 173, 173, 173, 175, 176, 173, 173, 173, 177, 178, 179, 173, 180, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 181, 181, 181, 181, 182, 182, 183, 183, 184, 184, 185, 185, 186, 187, 187, 189, 188, 190, 191, 190, 190, 192, 192, 192, 192, 193, 193, 194, 194, 194, 194, 194, 196, 195, 197, 197, 198, 198, 199, 199, 200, 200, 200, 202, 203, 201, 204, 201, 205, 206, 201, 207, 201, 208, 201, 201, 209, 201, 201, 210, 201, 201, 212, 211, 211, 213, 213, 213, 214, 214, 214, 215, 215, 215, 216, 216, 216, 218, 219, 220, 217, 221, 222, 223, 217, 224, 225, 224, 226, 226, 226, 227, 226, 228, 228, 230, 231, 229, 232, 233, 229, 234, 234, 234, 234, 235, 235, 236, 236, 237, 237, 237, 237, 238, 238, 238, 239, 239, 240, 240, 240, 241, 241, 242, 241, 243, 244, 244, 245, 245, 245, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 247, 247, 247, 247, 248, 248, 249, 249, 250, 251, 251, 252, 252, 254, 255, 253, 256, 256, 257, 257, 258, 258, 259, 260 }; static const short yyr2[] = { 0, 0, 1, 0, 2, 0, 3, 1, 1, 1, 5, 3, 4, 4, 2, 2, 2, 2, 1, 0, 0, 7, 4, 0, 0, 7, 4, 0, 0, 6, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 3, 1, 2, 0, 3, 2, 2, 2, 4, 2, 4, 1, 4, 7, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 3, 3, 1, 1, 1, 3, 3, 0, 4, 4, 4, 3, 3, 2, 2, 1, 1, 1, 1, 2, 0, 1, 2, 3, 1, 1, 2, 2, 4, 4, 2, 2, 3, 1, 1, 2, 2, 0, 4, 4, 3, 3, 2, 2, 2, 3, 0, 2, 2, 1, 1, 2, 2, 2, 3, 0, 2, 1, 1, 1, 1, 4, 4, 1, 1, 1, 1, 3, 1, 3, 0, 4, 0, 6, 3, 0, 6, 3, 0, 6, 1, 3, 1, 4, 4, 8, 1, 2, 3, 4, 1, 1, 3, 6, 8, 4, 6, 3, 5, 0, 3, 0, 3, 1, 1, 3, 3, 4, 3, 3, 1, 3, 4, 3, 3, 1, 3, 3, 3, 4, 3, 1, 0, 6, 4, 2, 0, 6, 4, 2, 0, 7, 0, 6, 2, 0, 1, 0, 1, 1, 2, 0, 3, 2, 4, 3, 1, 3, 1, 1, 1, 3, 4, 6, 4, 1, 3, 1, 3, 2, 2, 0, 1, 1, 2, 0, 2, 3, 3, 2, 3, 4, 3, 2, 3, 2, 1, 2, 2, 0, 1, 2, 0, 0, 1, 1, 2, 3, 1, 2, 2, 6, 5, 5, 2, 2, 4, 0, 4, 0, 0, 3, 4, 3, 1, 1, 1, 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, 3, 5, 2, 2, 0, 1, 0, 1, 0, 1, 1, 3, 4, 1, 3, 0, 2, 2, 0, 4, 2, 0, 1, 1, 3, 1, 3, 2, 2, 2, 2, 2, 0, 2, 1, 2, 1, 3, 1, 3, 1, 1, 1, 0, 0, 9, 0, 5, 0, 0, 11, 0, 7, 0, 6, 2, 0, 8, 4, 0, 8, 5, 0, 4, 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, 1, 1, 1, 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, 6, 3, 5, 2, 1, 1, 1, 2, 1, 3, 2, 1, 1, 0, 0, 6, 1, 1, 1, 2, 2, 1, 4, 4 }; static const short yydefact[] = { 3, 5, 0, 0, 0, 134, 125, 132, 124, 0, 0, 0, 0, 0, 386, 390, 0, 0, 351, 135, 18, 4, 8, 7, 0, 112, 112, 121, 133, 9, 349, 350, 6, 16, 17, 31, 32, 33, 207, 209, 216, 200, 216, 204, 0, 0, 0, 0, 355, 364, 196, 240, 0, 0, 143, 0, 15, 0, 127, 126, 14, 0, 121, 119, 0, 205, 0, 0, 0, 197, 0, 201, 77, 78, 93, 0, 0, 48, 0, 34, 36, 35, 0, 37, 38, 0, 474, 0, 0, 39, 40, 0, 0, 41, 56, 59, 44, 46, 79, 90, 91, 92, 238, 0, 236, 130, 0, 236, 437, 438, 459, 460, 456, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 457, 458, 0, 0, 387, 411, 430, 434, 439, 435, 391, 0, 0, 352, 395, 0, 0, 362, 0, 0, 11, 0, 30, 0, 341, 0, 0, 153, 185, 240, 0, 0, 141, 0, 178, 179, 0, 0, 120, 123, 138, 139, 122, 140, 232, 212, 230, 0, 0, 199, 224, 218, 112, 215, 112, 216, 203, 216, 0, 52, 0, 54, 0, 51, 47, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 315, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 88, 89, 0, 0, 42, 0, 94, 136, 240, 324, 0, 234, 237, 128, 137, 239, 130, 235, 0, 464, 0, 414, 432, 413, 0, 436, 0, 414, 360, 0, 374, 0, 0, 367, 0, 374, 241, 193, 192, 144, 145, 0, 191, 0, 195, 0, 0, 28, 0, 274, 100, 275, 0, 152, 0, 0, 13, 0, 22, 0, 153, 341, 0, 12, 26, 0, 0, 213, 0, 212, 0, 274, 217, 274, 0, 0, 0, 0, 49, 81, 80, 257, 0, 0, 473, 472, 475, 482, 477, 0, 478, 479, 0, 10, 45, 76, 75, 316, 0, 73, 72, 70, 71, 69, 68, 67, 65, 66, 60, 61, 62, 63, 64, 87, 86, 0, 43, 0, 244, 0, 248, 0, 250, 0, 324, 0, 131, 129, 0, 0, 0, 388, 431, 330, 0, 462, 392, 357, 395, 368, 0, 0, 356, 404, 407, 398, 0, 112, 112, 400, 397, 365, 370, 0, 0, 0, 345, 331, 236, 236, 343, 0, 332, 334, 342, 0, 194, 256, 0, 102, 97, 101, 0, 0, 150, 184, 180, 142, 20, 149, 181, 183, 0, 24, 233, 231, 208, 0, 219, 220, 225, 275, 222, 198, 202, 53, 55, 265, 258, 83, 0, 57, 0, 481, 483, 0, 480, 484, 0, 84, 85, 243, 242, 325, 249, 245, 247, 0, 0, 410, 430, 112, 0, 419, 415, 417, 0, 0, 433, 332, 0, 0, 374, 0, 395, 353, 379, 371, 376, 112, 112, 0, 0, 0, 145, 0, 0, 0, 399, 374, 363, 146, 329, 190, 240, 324, 336, 337, 338, 240, 339, 340, 326, 327, 0, 344, 0, 0, 29, 263, 98, 112, 112, 0, 0, 0, 147, 182, 0, 206, 274, 0, 0, 0, 259, 260, 165, 77, 474, 0, 0, 161, 166, 210, 0, 465, 0, 466, 467, 74, 246, 463, 412, 423, 236, 424, 420, 421, 389, 0, 393, 0, 361, 0, 395, 374, 380, 380, 375, 405, 408, 401, 0, 244, 341, 0, 244, 0, 333, 335, 346, 264, 105, 0, 106, 0, 157, 0, 155, 151, 21, 0, 25, 226, 0, 153, 347, 0, 0, 0, 274, 0, 109, 275, 251, 261, 0, 162, 0, 0, 0, 0, 469, 471, 0, 476, 0, 468, 427, 428, 429, 0, 425, 461, 358, 369, 0, 0, 0, 383, 377, 381, 378, 0, 0, 366, 189, 186, 188, 0, 328, 0, 0, 0, 0, 0, 148, 229, 0, 227, 262, 0, 267, 111, 110, 0, 0, 268, 253, 275, 252, 0, 0, 0, 163, 0, 172, 474, 0, 167, 58, 470, 422, 236, 395, 354, 385, 0, 0, 403, 402, 406, 409, 187, 103, 104, 0, 0, 154, 156, 153, 348, 266, 0, 134, 0, 287, 272, 0, 0, 0, 0, 0, 0, 0, 0, 313, 135, 308, 0, 0, 107, 112, 112, 281, 285, 0, 0, 278, 279, 280, 0, 170, 164, 0, 0, 426, 0, 384, 382, 158, 0, 159, 228, 0, 0, 274, 315, 0, 0, 311, 298, 299, 300, 0, 0, 0, 314, 0, 312, 282, 117, 0, 118, 0, 0, 270, 275, 269, 291, 0, 0, 0, 0, 173, 359, 0, 0, 0, 0, 0, 0, 0, 309, 301, 0, 306, 0, 0, 115, 145, 0, 116, 145, 286, 274, 0, 0, 168, 0, 171, 0, 271, 0, 273, 292, 296, 0, 307, 0, 113, 0, 114, 0, 284, 276, 274, 0, 0, 0, 288, 315, 274, 310, 317, 0, 175, 177, 277, 290, 169, 160, 274, 0, 297, 0, 0, 318, 319, 302, 289, 293, 0, 317, 0, 0, 315, 0, 0, 303, 320, 0, 321, 0, 0, 294, 322, 0, 304, 274, 0, 0, 295, 305, 323, 0, 0, 0 }; static const short yydefgoto[] = { 826, 1, 2, 3, 21, 22, 23, 280, 496, 286, 499, 155, 389, 173, 91, 318, 336, 93, 94, 191, 95, 96, 97, 196, 98, 268, 269, 270, 491, 570, 571, 24, 682, 379, 63, 380, 104, 234, 27, 171, 160, 53, 156, 161, 562, 54, 495, 274, 558, 559, 513, 514, 750, 772, 753, 774, 261, 163, 589, 164, 28, 184, 186, 176, 64, 582, 289, 67, 68, 182, 410, 411, 174, 175, 106, 591, 107, 147, 233, 572, 627, 271, 419, 504, 505, 506, 489, 490, 686, 687, 688, 707, 728, 393, 729, 575, 689, 690, 756, 706, 793, 782, 807, 820, 783, 691, 719, 319, 797, 798, 799, 818, 341, 342, 381, 548, 382, 383, 384, 263, 264, 385, 386, 568, 29, 30, 251, 535, 143, 453, 645, 359, 256, 470, 455, 361, 536, 362, 462, 601, 602, 31, 46, 242, 448, 47, 248, 452, 252, 253, 370, 468, 652, 371, 463, 604, 464, 605, 133, 352, 445, 446, 447, 592, 593, 244, 354, 134, 135, 136, 137, 138, 517, 518, 584, 519, 307, 99, 198, 423, 310, 311, 312, 100, 101 }; static const short yypact[] = { 67, 91, 2297, 2297, 173,-32768,-32768,-32768,-32768, 82, 93, 97, 37, 45,-32768,-32768, 65, 65,-32768,-32768,-32768, -32768,-32768,-32768, 258, 89, 398,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 94, 120, 144, 120, 156, 551, 2076, 2582, 2582, 25, 339,-32768, -32768, 258, 8,-32768, 365,-32768, 310,-32768,-32768,-32768, 258,-32768, 635, 65,-32768, 215, 256, 1335,-32768, 263, -32768,-32768,-32768,-32768, 2199, 2234,-32768, 65,-32768,-32768, -32768, 551,-32768,-32768, 1239,-32768, 245, 290,-32768,-32768, 551, 338, 335,-32768,-32768, 2748, 652, 413,-32768,-32768, -32768,-32768, 372, 16,-32768, 391, 2513,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 146, 66,-32768,-32768, 2049, 436,-32768,-32768,-32768, 65, 65,-32768, 419, 65, 65,-32768, 207, 34,-32768, 310, -32768, 425,-32768, 1639, 107, 453,-32768,-32768, 310, 254, -32768, 1536, 233, 298, 285, 868, 635,-32768,-32768,-32768, -32768,-32768, 454, 418,-32768, 65, 426,-32768,-32768,-32768, 320, 444, 429, 120,-32768, 120, 1239,-32768, 1239,-32768, 551,-32768,-32768, 456, 462, 420, 487, 2129, 2672, 66, -32768, 445, 551, 551, 551, 551, 551, 551, 551, 551, 551, 551, 551, 551, 551, 551, 551, 551, 551, 551, -32768,-32768, 65, 65, 551, 551,-32768,-32768,-32768, 16, 1674,-32768, 369, 670,-32768,-32768,-32768,-32768, 66,-32768, 495, 464, 555,-32768, 436,-32768, 157, 464, 492, 500, -32768, 509, 2325, 501, 511,-32768,-32768, 298,-32768,-32768, 558, 572,-32768, 2383,-32768, 512, 520,-32768, 221, 51, -32768,-32768, 534, 559, 294, 201,-32768, 310,-32768, 107, 453,-32768, 1709,-32768,-32768, 107, 551, 65, 525, 418, 533,-32768,-32768,-32768, 532, 536, 539, 540,-32768,-32768, -32768, 541, 545, 1977,-32768,-32768,-32768,-32768, 581, 553, 2672,-32768, 556,-32768, 2748, 2748, 2748,-32768, 591, 1284, 874, 2271, 2356, 2397, 2436, 643, 963, 963, 204, 204, -32768,-32768,-32768,-32768,-32768, 562, 335, 561, 360, 393, -32768, 2411,-32768, 564,-32768, 1744,-32768, 670, 565, 2699, 276,-32768,-32768, 2088, 66,-32768,-32768,-32768, 419,-32768, 580, 631,-32768,-32768,-32768,-32768, 258, 89, 398, 224, -32768,-32768,-32768, 582, 79, 566,-32768,-32768, 260, 2509, -32768, 583, 313,-32768,-32768, -10,-32768,-32768, 53,-32768, -32768,-32768, 1540, 595,-32768, 233,-32768,-32768,-32768, 620, -32768,-32768, 585,-32768, 2748,-32768,-32768, 586,-32768, 589, -32768,-32768, 589,-32768,-32768,-32768,-32768,-32768, 625,-32768, 1527,-32768, 2726,-32768,-32768, 581,-32768,-32768, 551,-32768, -32768, 369,-32768,-32768,-32768,-32768,-32768, 588, 65,-32768, 2049, 597, 465,-32768,-32768, 1540, 504, 53,-32768, 594, 596, 53,-32768, 606, 419,-32768,-32768,-32768,-32768,-32768, 325, 601, 2582, 2582, 142, 310, 258, 2364,-32768,-32768, -32768,-32768,-32768,-32768,-32768, 235, 388, 298,-32768,-32768, 298,-32768,-32768,-32768, 2526,-32768, 671, 420,-32768,-32768, -32768, 604, 879, 677, 1586, 53,-32768,-32768, 53,-32768, -32768, 524, 65, 790, 625,-32768,-32768, 644, 551, 1311, 648, 2748,-32768, 613, 551, 659, 627, 2726,-32768, 2764, -32768,-32768,-32768,-32768, 260,-32768,-32768,-32768,-32768, 65, -32768, 642,-32768, 653, 419,-32768, 554, 554,-32768,-32768, -32768,-32768, 647, 518,-32768, 1779, 192, 2411,-32768,-32768, -32768,-32768,-32768, 310,-32768, 258, 656, 267,-32768,-32768, -32768, 1586,-32768,-32768, 551, 166,-32768, 314, 384, 715, 655, 935,-32768,-32768,-32768,-32768, 2418,-32768, 375, 1586, 1383, 661, 335,-32768, 551,-32768, 659,-32768, 388, 298, -32768, 347,-32768,-32768,-32768,-32768, 683, 1407, 551, 709, 675,-32768, 675, 54, 54,-32768, 388,-32768,-32768, 674, -32768, 352, 428, 343, 684, 677,-32768, 2748, 551,-32768, -32768, 65,-32768,-32768,-32768, 1014, 681,-32768,-32768,-32768, -32768, 1852, 551, 1586,-32768, 1455,-32768, 551, 718,-32768, -32768,-32768,-32768, 260, 419,-32768, 2748, 551, 554,-32768, -32768,-32768,-32768,-32768,-32768,-32768, 287, 688,-32768,-32768, 2730,-32768,-32768, 1924, 721, 702,-32768,-32768, 707, 708, 551, 730, 701, 703, 2164, 56, 764, 738,-32768, 739, 710,-32768, 713, 1252,-32768, 761, 1095, 127,-32768,-32768, -32768, 2586,-32768,-32768, 2460, 1586,-32768, 726, 2748,-32768, -32768, 775,-32768,-32768, 551, 732,-32768, 551, 551, 47, -32768,-32768,-32768,-32768, 723, 551, 731,-32768, 748,-32768, -32768,-32768, 310,-32768, 258, 1167,-32768,-32768,-32768,-32768, 551, 1586, 551, 1586,-32768,-32768, 747, 753, 551, 806, 755, 757, 551,-32768,-32768, 759,-32768, 551, 431,-32768, 150, 446,-32768, 162,-32768,-32768, 1924, 758,-32768, 2607, -32768, 822,-32768, 763,-32768,-32768,-32768, 796,-32768, 39, -32768, 420,-32768, 420,-32768,-32768,-32768, 765, 1586, 767, -32768, 551,-32768,-32768, 827, 771,-32768,-32768,-32768,-32768, -32768,-32768,-32768, 776,-32768, 788, 125, 774,-32768,-32768, -32768,-32768, 551, 827, 781, 827, 551, 783, 176,-32768, -32768, 784,-32768, 572, 785,-32768, 413, 312,-32768,-32768, 789, 572,-32768,-32768, 413, 857, 860,-32768 }; static const short yypgoto[] = {-32768, -32768,-32768,-32768, 862, -216,-32768,-32768,-32768,-32768,-32768, -32768,-32768, -7,-32768, -44,-32768, -210, 399,-32768, -38, 332,-32768,-32768, -250, -1, 593,-32768,-32768, 295,-32768, -5,-32768, 14, 805, 22, -45, 633, 19, -183, -514, -50, -155, -103,-32768,-32768,-32768, -267,-32768, 252, -464, 361,-32768,-32768,-32768,-32768, -52, -109, -333, -18, -27, -32768,-32768,-32768,-32768,-32768, 587, 6,-32768,-32768, 584, 378, 700, 599, -43, -69, -42, -139, -200, 317,-32768, -242,-32768,-32768,-32768, 385, -174, -188,-32768,-32768,-32768, -32768, -106, -383, -641, -389,-32768, 132,-32768,-32768,-32768, -32768,-32768,-32768,-32768, 141,-32768, -652, 96,-32768, 95, -32768, 557,-32768, -303,-32768, 550, 552, 423, -249,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768, -224,-32768, 373,-32768, 367, 261, -32768,-32768,-32768,-32768,-32768,-32768,-32768, -337,-32768,-32768, -32768, 306, 560,-32768,-32768,-32768,-32768, -34, 680,-32768, -32768, 483,-32768, 288, 494,-32768, 590, 619, -117,-32768, -107,-32768,-32768, 348, 455,-32768,-32768,-32768,-32768,-32768, -32768, 636,-32768,-32768 }; #define YYLAST 2815 static const short yytable[] = { 92, 103, 39, 41, 43, 162, 55, 281, 303, 48, 49, 165, 375, 139, 400, 337, 25, 25, 245, 275, 57, 61, 454, 181, 26, 26, 183, 390, 246, 502, 340, 560, 374, 401, 148, 232, 172, 366, 238, 434, 612, 195, 197, 166, 193, 62, 477, 260, 70, 272, 276, 347, -96, 201, 488, 650, 741, 743, 486, 35, 36, 391, 140, 487, 105, 229, 740, -1, 35, 36, 5, 192, 7, 102, 230, 231, 785, 149, 9, 10, 11, 150, 309, 141, 744, 35, 36, 105, 227, 241, 339, -2, 153, 154, 13, 44, 35, 36, 617, 142, 35, 36, 259, 45, 105, 716, 281, 786, 267, 444, 266, -274, -274, -274, -274, 775, 637, 640, 534, -274, -274, -274, 37, 651, 240, -96, 237, 302, 730, 258, 794, 37, 19, 249, 250, -274, 789, 254, 255, 432, 172, 148, 795, 195, 297, 195, 298, 472, 37, 35, 36, 105, 801, 299, 306, 812, 38, 313, 56, 37, 35, 36, 804, 37, 272, 347, 396, 40, 65, 152, 693, 42, 640, -274, 272, 398, 292, 152, 294, 823, 272, -95, 338, 631, 66, 731, 412, 344, 412, 152, 295, 632, 296, 805, 426, 50, 349, 273, 597, 257, 153, 154, 237, 619, 239, 528, 105, 172, 105, 749, 50, 607, 37, 814, 257, 355, 334, 335, 69, 105, 153, 154, 267, 37, -174, -99, -99, -99, -99, 532, 71, -99, 735, -99, -99, -99, -176, 631, 50, 403, 356, 480, 33, 34, 815, 611, 543, 664, 367, -99, 476, 231, 542, 218, 219, 220, 51, 258, 105, 282, 283, 50, 573, 50, 474, 52, 422, 368, 759, 397, 761, 364, 365, 177, 529, 369, 340, 267, 531, 399, 5, 6, 7, 8, 480, 404, -396, -99, 9, 10, 11, 282, 283, 476, 231, -99, 608, 50, 157, 620, 552, 257, 438, 199, 13, 583, 516, 51, 698, 475, 479, 482, 451, 50, 157, 791, 52, 460, 476, 231, 461, 172, 561, 277, 245, 563, 178, 278, 624, 5, 629, 7, 236, 185, 246, 615, 544, 9, 10, 11, 616, 547, 19, 158, 432, 757, 657, 432, 200, 465, -416, 658, 159, 13, 284, 701, 153, 154, 150, 158, 702, 478, 481, 466, 467, 442, 151, 257, 159, -27, -27, -27, -27, 443, 105, 583, 144, -27, -27, -27, 821, 105, 484, 621, 629, 822, 485, 622, 62, -221, -221, 19, 152, -27, 704, 412, -145, 145, 574, 62, -145, 587, 5, 58, 7, 59, 202, 492, 203, 229, 9, 10, 11, 146, 511, 493, 643, 165, 230, 231, 644, 655, 227, 153, 154, 278, 13, 345, 346, 540, 541, -27, 522, 5, -145, 7, 236, 525, -145, -27, 228, 9, 10, 11, 685, 635, 545, 546, 636, 465, 566, 345, 346, 388, 623, 537, 538, 13, 148, 235, 442, 433, 62, 367, 19, 574, 630, 60, 443, 5, 58, 7, 59, 247, 188, 190, 685, 9, 10, 11, 237, -394, 368, 262, 273, 600, 600, 554, 556, 287, 369, 288, 291, 13, 302, 19, 567, 656, -223, -223, 771, 150, 610, 511, 278, 267, 613, 590, -418, -418, -418, -418, 62, 293, 314, 773, -418, -418, -418, 150, 630, 50, 474, 594, 300, 257, 258, 50, 157, 258, 301, 19, -418, 351, 526, 315, 316, 317, 465, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 460, 72, 304, 461, 50, 157, 73, 74, 565, 75, 350, 817, 353, 358, 475, 360, 685, -418, 363, 825, 158, 639, 372, 476, 231, -418, 373, 76, 74, 159, 77, 787, 152, 788, 387, 681, 388, 78, 599, 394, 79, 395, 407, 281, 600, 80, 81, 82, 409, 414, 158, 83, 84, 415, 416, 417, 85, 86, 418, 159, 420, 87, 662, 88, 105, 424, 405, 681, 425, 89, 90, 428, 680, 590, 710, 429, 639, 430, 715, 457, 439, 473, 5, 431, 7, 102, 435, 168, 169, 170, 9, 10, 11, 683, 9, 10, 11, 456, 483, 471, 494, 684, 497, 500, 680, 503, 13, 498, 738, 501, 521, 530, 742, 524, 485, 533, 717, 539, 751, 746, 553, 551, 752, 169, 170, 723, 725, 557, -31, 9, 10, 11, 580, 581, 758, 214, 215, 216, 217, 218, 219, 220, 764, 585, 19, 458, 768, 459, -373, 586, 62, 770, 221, 222, 754, 223, 224, 225, 226, 595, 681, 614, 596, 267, 606, -108, -108, -108, -108, -108, -108, -108, -254, -108, -108, -108, -108, -108, 641, -108, -108, -108, -108, -108, -108, -108, -108, -108, -108, -108, -108, -108, 646, 648, -108, 649, 654, 680, 663, 659, 512, -108, 696, 703, -108, -32, 808, 705, 520, -108, -108, -108, 708, 709, 711, -108, -108, 712, 718, 713, -108, -108, -33, 720, 726, -108, 721, -108, -108, 722, 737, -108, -108, -108, -108, 736, -108, 739, 569, 745, -274, -274, -274, -274, -274, -274, -274, 747, -274, -274, -274, -274, -274, 748, -274, -274, -274, -274, -274, -274, -274, -274, -274, -274, -274, -274, -274, 762, 763, -274, 765, 766, 767, 778, 512, 769, -274, 780, 781, -274, 784, 790, 792, 796, -274, -274, -274, 800, 577, 512, -274, -274, 802, 803, 806, -274, -274, 810, 813, 816, -274, 819, -274, -274, 827, 824, -274, 828, -274, -274, 392, -274, 32, 625, 167, 660, 285, 348, 579, -23, -23, -23, -23, 290, 408, 413, 564, -23, -23, -23, 5, 58, 7, 59, 406, 626, 776, 576, 9, 10, 11, 512, 152, -23, 618, 777, -145, 809, 811, 436, -145, 449, 603, 450, 13, 550, 598, 700, 653, 512, 512, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 153, 154, 357, 527, 469, 647, 697, 642, -23, 523, 267, -145, -274, -274, 440, -145, -23, -274, -274, 19, -274, 427, 555, 0, -274, 661, -274, -274, -274, -274, -274, -274, -274, -274, -274, -274, -274, 0, -274, 692, 512, -274, 512, 441, 695, 0, 0, 588, -274, 0, 0, -274, 0, 0, 699, 0, -274, -274, -274, 0, 0, 0, -274, -274, 0, 0, 0, -274, -274, 0, 0, 0, -274, 0, -274, -274, 0, 0, -274, 628, -274, -274, 0, -274, 216, 217, 218, 219, 220, 267, 0, -274, -274, 0, 0, 0, -274, -274, 0, -274, 0, 0, 512, -274, 0, -274, -274, -274, -274, -274, -274, -274, -274, -274, -274, -274, 0, -274, 0, 0, -274, 0, 0, 0, 0, 0, 0, -274, 0, 0, -274, 0, 0, 0, 0, -274, -274, -274, 512, 760, 512, -274, -274, 0, 0, 0, -274, -274, 0, 0, 0, -274, 0, -274, -274, 0, 0, -274, -255, -274, -274, 0, -274, 0, 0, 0, 0, 0, 0, 0, 727, 0, -274, -274, 0, 0, 0, -274, -274, 0, -274, 0, 0, 0, -274, 512, -274, -274, -274, -274, -274, -274, -274, -274, -274, -274, -274, 0, -274, 0, 0, -274, 0, 0, 0, 0, 0, 0, -274, 0, 0, -274, 0, 0, 0, 0, -274, -274, -274, 0, 0, 0, -274, -274, 0, 0, 0, -274, -274, 0, 0, 0, -274, 0, -274, -274, 0, 0, -274, 0, -274, -274, 755, -274, -283, -283, 0, 0, 0, -283, -283, 0, -283, 0, 0, 0, -283, 0, -283, -283, -283, -283, -283, -283, -283, -283, -283, -283, -283, 0, -283, 0, 0, -283, 0, 0, 0, 0, 0, 0, -283, 0, 0, -283, 0, 0, 0, 0, -283, -283, -283, 0, 0, 0, -283, -283, 0, 0, 0, -283, -283, 0, 0, 0, -283, 0, -283, -283, 0, 0, -283, 0, -283, -283, 194, -283, 72, 5, 0, 7, 102, 73, 74, 0, 75, 9, 10, 11, 0, 0, 5, 58, 7, 59, 0, 0, 0, 0, 9, 10, 11, 13, 76, 0, 0, 77, 0, 0, 0, 0, 0, 0, 78, 0, 13, 79, 0, 0, 0, 0, 80, 81, 82, 0, 0, 0, 83, 84, 0, 0, 0, 85, 86, 0, 0, 0, 87, 0, 88, 19, 0, 0, 0, 0, 89, 90, 507, -82, 508, 36, 0, 0, 19, 73, 74, 724, 75, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 179, 0, 0, 5, 76, 7, 102, 77, 0, 0, 0, 9, 10, 11, 78, 0, 0, 79, 0, 0, 0, 0, 80, 81, 82, 0, 0, 13, 83, 84, 0, 0, 0, 85, 509, 0, 0, 0, 87, 0, 88, 37, 0, 0, 0, 578, 89, 90, 507, 510, 508, 36, 0, 0, 0, 73, 74, 0, 75, 0, 0, 0, 0, 0, 0, 19, 0, 0, 180, -214, 0, 0, 457, 0, 0, 5, 76, 7, 102, 77, 0, 0, 0, 9, 10, 11, 78, 0, 0, 79, 0, 0, 0, 0, 80, 81, 82, 0, 0, 13, 83, 84, 0, 0, 0, 85, 638, 0, 0, 0, 87, 0, 88, 37, 0, 0, 0, -211, 89, 90, 507, 510, 508, 36, 0, 0, 0, 73, 74, 0, 75, 0, 0, 0, 0, 0, 0, 19, 0, 0, 459, -372, 0, 0, 0, 0, 0, 0, 76, 0, 0, 77, 0, 0, 0, 0, 0, 0, 78, 0, 0, 79, 0, 0, 0, 0, 80, 81, 82, 0, 0, 0, 83, 84, 0, 0, 0, 85, 638, 0, 0, 0, 87, 0, 88, 37, 0, 0, 0, 694, 89, 90, 507, 510, 508, 36, 0, 0, 0, 73, 74, 279, 75, 0, -19, -19, -19, -19, 5, 6, 7, 8, -19, -19, -19, 0, 9, 10, 11, 0, 76, 0, 0, 77, 0, 0, 0, 152, -19, 0, 78, -145, 13, 79, 0, -145, 0, 0, 80, 81, 82, 0, 0, 0, 83, 84, 0, 0, 0, 85, 509, 507, 0, 72, 87, 0, 88, 37, 73, 74, 0, 75, 89, 90, 0, 510, -19, 0, 0, -145, 19, 0, 0, -145, -19, 0, 0, 0, 0, 76, 0, 0, 77, 0, 0, 0, 0, 0, 0, 78, 0, 0, 79, 0, 0, 0, 0, 80, 81, 82, 0, 0, 0, 83, 84, 0, 72, 0, 85, 86, 0, 73, 74, 87, 75, 88, 0, 0, 0, 0, 0, 89, 90, 0, 510, 0, 0, 0, 0, 0, 0, 0, 76, 0, 0, 77, 0, 0, 0, 0, 0, 72, 78, 0, 0, 79, 73, 74, 0, 75, 80, 81, 82, 0, 0, 0, 83, 84, 0, 0, 0, 85, 86, 0, 0, 0, 87, 76, 88, 0, 77, 0, 0, 0, 89, 90, 72, 78, 265, 0, 79, 73, 74, 0, 75, 80, 81, 82, 0, 0, 0, 83, 84, 0, 0, 0, 85, 86, 0, 0, 0, 87, 76, 88, 0, 77, 0, 0, 0, 89, 90, 72, 78, 343, 0, 79, 73, 74, 0, 75, 80, 81, 82, 0, 0, 0, 83, 84, 0, 0, 0, 85, 86, 0, 0, 0, 87, 76, 88, 0, 77, 0, 0, 0, 89, 90, 72, 78, 402, 0, 79, 73, 74, 0, 75, 80, 81, 82, 0, 0, 0, 83, 84, 0, 0, 0, 85, 86, 0, 0, 0, 87, 76, 88, 0, 77, 0, 0, 0, 89, 90, 0, 78, 437, 0, 79, 0, 0, 0, 0, 80, 81, 82, 0, 0, 0, 83, 84, 0, 0, 0, 85, 86, 0, 0, 0, 87, 0, 88, 0, 0, 0, 0, 0, 89, 90, 0, 0, 609, 508, 665, 6, 7, 8, 73, 74, 0, 75, 9, 10, 11, 666, 0, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 13, 76, 0, 0, 77, 0, 0, 0, 0, 0, 0, 78, 0, 0, 79, 0, 0, 0, 0, 80, 81, 82, 0, 0, 0, 83, 84, 0, 0, 0, 85, 86, 0, 0, 0, 87, 0, 88, 678, 0, 0, 679, 0, 89, 90, 0, 302, 508, 36, 0, 0, 0, 73, 74, 0, 75, 0, 0, 0, 666, 0, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 0, 76, 0, 0, 77, 0, 0, 0, 0, 0, 0, 78, 0, 0, 79, 0, 0, 0, 0, 80, 81, 82, 0, 0, 0, 83, 84, 0, 72, 0, 85, 86, 0, 73, 74, 87, 75, 88, 37, 0, 0, 679, 0, 89, 90, 0, 302, 0, 0, 0, 0, 0, 0, 0, 76, 0, 0, 77, 0, 0, 0, 0, 0, 0, 78, 0, 0, 79, 0, 0, 0, 0, 80, 81, 82, 0, 0, 0, 83, 84, 0, 0, 0, 85, 86, 0, 0, 0, 87, 0, 88, 0, 0, 0, 0, 0, 89, 90, 0, 421, 108, 109, 0, 110, 111, 0, 0, 0, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 72, 5, 0, 7, 102, 73, 74, 131, 75, 9, 10, 11, 0, 5, 6, 7, 8, 0, 0, 378, 0, 9, 10, 11, 0, 13, 76, 0, 0, 77, 0, 0, 0, 0, 0, 0, 78, 13, 0, 79, 0, 0, 0, 243, 80, 81, 82, 0, 0, 0, 83, 84, 0, 72, 0, 85, 86, 0, 73, 74, 87, 75, 88, 19, 0, 0, 0, 0, 89, 90, 0, 0, 0, 0, 0, 19, 0, 0, 0, 76, 0, 0, 77, 0, 0, 0, 0, 0, 72, 78, 0, 0, 79, 73, 74, 0, 75, 80, 81, 82, 0, 0, 0, 83, 84, 0, 0, 0, 85, 86, 0, 0, 0, 87, 76, 88, 305, 77, 0, 0, 0, 89, 90, 72, 78, 0, 0, 79, 73, 74, 0, 75, 80, 81, 82, 0, 0, 0, 83, 84, 0, 0, 0, 85, 86, 0, 0, 0, 87, 76, 88, 0, 77, 0, 714, 0, 89, 90, 72, 78, 0, 0, 79, 73, 74, 0, 75, 80, 81, 82, 0, 0, 0, 83, 84, 0, 0, 0, 187, 86, 0, 0, 0, 87, 76, 88, 0, 77, 0, 0, 0, 89, 90, 0, 78, 0, 0, 79, 0, 0, 0, 0, 80, 81, 82, 0, 0, 0, 83, 84, 0, 0, 0, 189, 86, 0, 0, 0, 87, 4, 88, -112, 5, 6, 7, 8, 89, 90, 0, 0, 9, 10, 11, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 0, 12, 13, 4, 0, -112, 5, 6, 7, 8, 0, 0, 0, 0, 9, 10, 11, 0, 0, 0, 0, 14, 15, -112, 0, 0, 0, 0, 0, 0, 13, 0, -112, 0, 16, 17, 18, 0, 0, 0, 19, 0, 4, 20, -112, 5, 6, 7, 8, 364, 365, -112, 0, 9, 10, 11, 0, 0, 0, 0, -112, 376, 0, 377, 5, 6, 7, 8, 19, 13, 378, 20, 9, 10, 11, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 0, 0, 0, 13, 376, -112, 0, 5, 6, 7, 8, 0, 0, 378, -112, 9, 10, 11, 0, 0, 633, 0, 19, 0, 0, 20, 0, 0, 0, 0, 0, 13, 212, 213, 214, 215, 216, 217, 218, 219, 220, 19, 0, -330, 204, 205, 206, 0, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 733, 0, 0, 0, 0, 0, 0, 19, 0, -330, 213, 214, 215, 216, 217, 218, 219, 220, 0, 0, 0, 0, 0, 634, 204, 205, 206, 0, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 50, 5, 58, 7, 59, 5, 0, 7, 236, 9, 10, 11, 0, 9, 10, 11, 0, 0, 5, 6, 7, 8, 0, 734, 549, 13, 9, 10, 11, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 480, 0, 0, 0, 229, 0, 0, 0, 0, 476, 231, 0, 0, 230, 231, 0, 0, 19, 0, 0, 0, 19, 0, 0, 0, 0, 0, 108, 109, 0, 110, 111, 0, 0, 19, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 0, 0, 0, 0, 0, 0, 0, 131, 204, 205, 206, 0, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 0, 0, 132, 204, 205, 206, 0, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 0, 0, 732, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 108, 109, 0, 110, 111, 0, 0, 779, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 108, 109, 0, 110, 111, 0, 0, 308, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 108, 109, 0, 110, 111, 0, 0, 131, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 0, 0, 0, 0, 0, 273, 0, 515, 204, 205, 206, 0, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 204, 205, 206, 0, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 206, 0, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220 }; static const short yycheck[] = { 44, 45, 9, 10, 11, 57, 24, 162, 196, 16, 17, 61, 262, 47, 281, 225, 2, 3, 135, 158, 25, 26, 359, 68, 2, 3, 68, 269, 135, 412, 230, 495, 256, 282, 52, 104, 63, 253, 107, 342, 554, 85, 85, 61, 82, 26, 379, 150, 42, 155, 159, 234, 1, 91, 1, 1, 708, 10, 68, 3, 4, 10, 37, 73, 45, 49, 707, 0, 3, 4, 4, 78, 6, 7, 58, 59, 37, 69, 12, 13, 14, 73, 199, 58, 37, 3, 4, 68, 9, 132, 229, 0, 58, 59, 28, 58, 3, 4, 562, 74, 3, 4, 68, 58, 85, 49, 261, 68, 1, 351, 154, 4, 5, 6, 7, 756, 580, 581, 455, 12, 13, 14, 66, 69, 131, 74, 107, 74, 1, 147, 782, 66, 66, 140, 141, 28, 777, 144, 145, 339, 167, 159, 783, 187, 187, 189, 189, 68, 66, 3, 4, 132, 793, 191, 198, 807, 74, 200, 69, 66, 3, 4, 37, 66, 270, 348, 275, 74, 74, 27, 634, 74, 636, 66, 280, 278, 181, 27, 183, 820, 286, 74, 226, 572, 64, 58, 292, 231, 294, 27, 184, 574, 186, 68, 311, 3, 239, 31, 535, 7, 58, 59, 183, 37, 58, 447, 187, 234, 189, 723, 3, 544, 66, 37, 7, 58, 223, 224, 74, 200, 58, 59, 1, 66, 74, 4, 5, 6, 7, 453, 74, 10, 696, 12, 13, 14, 74, 626, 3, 283, 247, 49, 69, 70, 68, 548, 470, 630, 253, 28, 58, 59, 468, 49, 50, 51, 49, 275, 239, 58, 59, 3, 504, 3, 4, 58, 304, 253, 732, 68, 734, 47, 48, 58, 448, 253, 476, 1, 452, 280, 4, 5, 6, 7, 49, 286, 62, 66, 12, 13, 14, 58, 59, 58, 59, 74, 545, 3, 4, 566, 488, 7, 346, 58, 28, 515, 423, 49, 645, 49, 379, 380, 355, 3, 4, 779, 58, 362, 58, 59, 362, 348, 496, 69, 441, 499, 70, 73, 570, 4, 572, 6, 7, 70, 441, 68, 475, 12, 13, 14, 73, 480, 66, 49, 544, 728, 3, 547, 58, 367, 74, 8, 58, 28, 69, 68, 58, 59, 73, 49, 73, 379, 380, 368, 369, 351, 1, 7, 58, 4, 5, 6, 7, 351, 355, 585, 37, 12, 13, 14, 68, 362, 69, 69, 626, 73, 73, 73, 369, 69, 70, 66, 27, 28, 661, 501, 31, 58, 504, 380, 35, 518, 4, 5, 6, 7, 68, 393, 73, 49, 12, 13, 14, 74, 421, 393, 69, 467, 58, 59, 73, 69, 9, 58, 59, 73, 28, 58, 59, 463, 464, 66, 439, 4, 69, 6, 7, 442, 73, 74, 68, 12, 13, 14, 632, 70, 58, 59, 73, 467, 502, 58, 59, 69, 70, 460, 461, 28, 476, 68, 446, 68, 443, 468, 66, 571, 572, 69, 446, 4, 5, 6, 7, 37, 75, 76, 664, 12, 13, 14, 461, 62, 468, 58, 31, 537, 538, 492, 493, 35, 468, 73, 66, 28, 74, 66, 503, 69, 69, 70, 69, 73, 546, 510, 73, 1, 556, 525, 4, 5, 6, 7, 493, 69, 69, 69, 12, 13, 14, 73, 626, 3, 4, 530, 68, 7, 544, 3, 4, 547, 68, 66, 28, 69, 69, 203, 204, 205, 556, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 598, 3, 68, 598, 3, 4, 8, 9, 37, 11, 68, 814, 10, 74, 49, 68, 757, 66, 62, 822, 49, 581, 74, 58, 59, 74, 68, 29, 9, 58, 32, 772, 27, 774, 75, 632, 69, 39, 37, 58, 42, 35, 70, 751, 649, 47, 48, 49, 68, 70, 49, 53, 54, 70, 68, 68, 58, 59, 70, 58, 68, 63, 622, 65, 598, 37, 287, 664, 68, 71, 72, 68, 632, 644, 671, 37, 636, 68, 675, 1, 68, 68, 4, 75, 6, 7, 75, 5, 6, 7, 12, 13, 14, 632, 12, 13, 14, 70, 68, 70, 58, 632, 35, 70, 664, 33, 28, 75, 705, 73, 75, 68, 709, 69, 73, 62, 676, 69, 723, 716, 69, 3, 725, 6, 7, 683, 684, 3, 37, 12, 13, 14, 37, 73, 731, 45, 46, 47, 48, 49, 50, 51, 739, 37, 66, 67, 743, 69, 70, 75, 684, 748, 53, 54, 725, 56, 57, 58, 59, 70, 757, 58, 62, 1, 70, 3, 4, 5, 6, 7, 8, 9, 70, 11, 12, 13, 14, 15, 70, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 62, 37, 32, 73, 75, 757, 70, 68, 421, 39, 37, 68, 42, 37, 803, 58, 429, 47, 48, 49, 58, 58, 37, 53, 54, 69, 7, 69, 58, 59, 37, 37, 16, 63, 69, 65, 66, 69, 8, 69, 70, 71, 72, 62, 74, 58, 1, 69, 3, 4, 5, 6, 7, 8, 9, 69, 11, 12, 13, 14, 15, 58, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 73, 68, 32, 17, 69, 68, 68, 495, 69, 39, 8, 68, 42, 37, 69, 68, 9, 47, 48, 49, 69, 509, 510, 53, 54, 69, 58, 73, 58, 59, 69, 68, 68, 63, 69, 65, 66, 0, 69, 69, 0, 71, 72, 270, 74, 3, 571, 62, 616, 1, 237, 510, 4, 5, 6, 7, 176, 290, 294, 501, 12, 13, 14, 4, 5, 6, 7, 288, 571, 757, 505, 12, 13, 14, 562, 27, 28, 565, 757, 31, 804, 806, 345, 35, 354, 538, 354, 28, 485, 536, 649, 605, 580, 581, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 58, 59, 248, 446, 370, 599, 644, 585, 66, 441, 1, 69, 3, 4, 350, 73, 74, 8, 9, 66, 11, 311, 69, -1, 15, 619, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, -1, 29, 633, 634, 32, 636, 350, 638, -1, -1, 518, 39, -1, -1, 42, -1, -1, 648, -1, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, 65, 66, -1, -1, 69, 70, 71, 72, -1, 74, 47, 48, 49, 50, 51, 1, -1, 3, 4, -1, -1, -1, 8, 9, -1, 11, -1, -1, 696, 15, -1, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, -1, 29, -1, -1, 32, -1, -1, -1, -1, -1, -1, 39, -1, -1, 42, -1, -1, -1, -1, 47, 48, 49, 732, 733, 734, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, 65, 66, -1, -1, 69, 70, 71, 72, -1, 74, -1, -1, -1, -1, -1, -1, -1, 1, -1, 3, 4, -1, -1, -1, 8, 9, -1, 11, -1, -1, -1, 15, 779, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, -1, 29, -1, -1, 32, -1, -1, -1, -1, -1, -1, 39, -1, -1, 42, -1, -1, -1, -1, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, 65, 66, -1, -1, 69, -1, 71, 72, 1, 74, 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, -1, 32, -1, -1, -1, -1, -1, -1, 39, -1, -1, 42, -1, -1, -1, -1, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, 65, 66, -1, -1, 69, -1, 71, 72, 1, 74, 3, 4, -1, 6, 7, 8, 9, -1, 11, 12, 13, 14, -1, -1, 4, 5, 6, 7, -1, -1, -1, -1, 12, 13, 14, 28, 29, -1, -1, 32, -1, -1, -1, -1, -1, -1, 39, -1, 28, 42, -1, -1, -1, -1, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, 65, 66, -1, -1, -1, -1, 71, 72, 1, 74, 3, 4, -1, -1, 66, 8, 9, 69, 11, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 1, -1, -1, 4, 29, 6, 7, 32, -1, -1, -1, 12, 13, 14, 39, -1, -1, 42, -1, -1, -1, -1, 47, 48, 49, -1, -1, 28, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, 65, 66, -1, -1, -1, 70, 71, 72, 1, 74, 3, 4, -1, -1, -1, 8, 9, -1, 11, -1, -1, -1, -1, -1, -1, 66, -1, -1, 69, 70, -1, -1, 1, -1, -1, 4, 29, 6, 7, 32, -1, -1, -1, 12, 13, 14, 39, -1, -1, 42, -1, -1, -1, -1, 47, 48, 49, -1, -1, 28, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, 65, 66, -1, -1, -1, 70, 71, 72, 1, 74, 3, 4, -1, -1, -1, 8, 9, -1, 11, -1, -1, -1, -1, -1, -1, 66, -1, -1, 69, 70, -1, -1, -1, -1, -1, -1, 29, -1, -1, 32, -1, -1, -1, -1, -1, -1, 39, -1, -1, 42, -1, -1, -1, -1, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, 65, 66, -1, -1, -1, 70, 71, 72, 1, 74, 3, 4, -1, -1, -1, 8, 9, 1, 11, -1, 4, 5, 6, 7, 4, 5, 6, 7, 12, 13, 14, -1, 12, 13, 14, -1, 29, -1, -1, 32, -1, -1, -1, 27, 28, -1, 39, 31, 28, 42, -1, 35, -1, -1, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, 1, -1, 3, 63, -1, 65, 66, 8, 9, -1, 11, 71, 72, -1, 74, 66, -1, -1, 69, 66, -1, -1, 73, 74, -1, -1, -1, -1, 29, -1, -1, 32, -1, -1, -1, -1, -1, -1, 39, -1, -1, 42, -1, -1, -1, -1, 47, 48, 49, -1, -1, -1, 53, 54, -1, 3, -1, 58, 59, -1, 8, 9, 63, 11, 65, -1, -1, -1, -1, -1, 71, 72, -1, 74, -1, -1, -1, -1, -1, -1, -1, 29, -1, -1, 32, -1, -1, -1, -1, -1, 3, 39, -1, -1, 42, 8, 9, -1, 11, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, 29, 65, -1, 32, -1, -1, -1, 71, 72, 3, 39, 75, -1, 42, 8, 9, -1, 11, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, 29, 65, -1, 32, -1, -1, -1, 71, 72, 3, 39, 75, -1, 42, 8, 9, -1, 11, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, 29, 65, -1, 32, -1, -1, -1, 71, 72, 3, 39, 75, -1, 42, 8, 9, -1, 11, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, 29, 65, -1, 32, -1, -1, -1, 71, 72, -1, 39, 75, -1, 42, -1, -1, -1, -1, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, 65, -1, -1, -1, -1, -1, 71, 72, -1, -1, 75, 3, 4, 5, 6, 7, 8, 9, -1, 11, 12, 13, 14, 15, -1, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, -1, -1, 32, -1, -1, -1, -1, -1, -1, 39, -1, -1, 42, -1, -1, -1, -1, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, 65, 66, -1, -1, 69, -1, 71, 72, -1, 74, 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, -1, 32, -1, -1, -1, -1, -1, -1, 39, -1, -1, 42, -1, -1, -1, -1, 47, 48, 49, -1, -1, -1, 53, 54, -1, 3, -1, 58, 59, -1, 8, 9, 63, 11, 65, 66, -1, -1, 69, -1, 71, 72, -1, 74, -1, -1, -1, -1, -1, -1, -1, 29, -1, -1, 32, -1, -1, -1, -1, -1, -1, 39, -1, -1, 42, -1, -1, -1, -1, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, 65, -1, -1, -1, -1, -1, 71, 72, -1, 74, 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, 3, 4, -1, 6, 7, 8, 9, 37, 11, 12, 13, 14, -1, 4, 5, 6, 7, -1, -1, 10, -1, 12, 13, 14, -1, 28, 29, -1, -1, 32, -1, -1, -1, -1, -1, -1, 39, 28, -1, 42, -1, -1, -1, 73, 47, 48, 49, -1, -1, -1, 53, 54, -1, 3, -1, 58, 59, -1, 8, 9, 63, 11, 65, 66, -1, -1, -1, -1, 71, 72, -1, -1, -1, -1, -1, 66, -1, -1, -1, 29, -1, -1, 32, -1, -1, -1, -1, -1, 3, 39, -1, -1, 42, 8, 9, -1, 11, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, 29, 65, 66, 32, -1, -1, -1, 71, 72, 3, 39, -1, -1, 42, 8, 9, -1, 11, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, 29, 65, -1, 32, -1, 69, -1, 71, 72, 3, 39, -1, -1, 42, 8, 9, -1, 11, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, 29, 65, -1, 32, -1, -1, -1, 71, 72, -1, 39, -1, -1, 42, -1, -1, -1, -1, 47, 48, 49, -1, -1, -1, 53, 54, -1, -1, -1, 58, 59, -1, -1, -1, 63, 1, 65, 3, 4, 5, 6, 7, 71, 72, -1, -1, 12, 13, 14, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, 27, 28, 1, -1, 3, 4, 5, 6, 7, -1, -1, -1, -1, 12, 13, 14, -1, -1, -1, -1, 47, 48, 49, -1, -1, -1, -1, -1, -1, 28, -1, 58, -1, 60, 61, 62, -1, -1, -1, 66, -1, 1, 69, 3, 4, 5, 6, 7, 47, 48, 49, -1, 12, 13, 14, -1, -1, -1, -1, 58, 1, -1, 3, 4, 5, 6, 7, 66, 28, 10, 69, 12, 13, 14, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, 28, 1, 49, -1, 4, 5, 6, 7, -1, -1, 10, 58, 12, 13, 14, -1, -1, 10, -1, 66, -1, -1, 69, -1, -1, -1, -1, -1, 28, 43, 44, 45, 46, 47, 48, 49, 50, 51, 66, -1, 68, 34, 35, 36, -1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 10, -1, -1, -1, -1, -1, -1, 66, -1, 68, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, -1, -1, 75, 34, 35, 36, -1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 3, 4, 5, 6, 7, 4, -1, 6, 7, 12, 13, 14, -1, 12, 13, 14, -1, -1, 4, 5, 6, 7, -1, 75, 10, 28, 12, 13, 14, 28, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 28, -1, -1, -1, 49, -1, -1, -1, 49, -1, -1, -1, -1, 58, 59, -1, -1, 58, 59, -1, -1, 66, -1, -1, -1, 66, -1, -1, -1, -1, -1, 3, 4, -1, 6, 7, -1, -1, 66, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, -1, -1, -1, -1, -1, -1, -1, 37, 34, 35, 36, -1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, 58, 34, 35, 36, -1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, 75, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3, 4, -1, 6, 7, -1, -1, 75, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 3, 4, -1, 6, 7, -1, -1, 37, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 3, 4, -1, 6, 7, -1, -1, 37, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, -1, -1, -1, -1, -1, 31, -1, 37, 34, 35, 36, -1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 34, 35, 36, -1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 36, -1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51 }; /* -*-C-*- Note some compilers choke on comments on `#line' lines. */ #line 3 "bison.simple" /* Skeleton output parser for bison, Copyright (C) 1984, 1989, 1990 Bob Corbett and Richard Stallman This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef alloca #ifdef __GNUC__ #define alloca __builtin_alloca #else /* not GNU C. */ #if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) #include <alloca.h> #else /* not sparc */ #if defined (MSDOS) && !defined (__TURBOC__) #include <malloc.h> #else /* not MSDOS, or __TURBOC__ */ #if defined(_AIX) #include <malloc.h> #pragma alloca #endif /* not _AIX */ #endif /* not MSDOS, or __TURBOC__ */ #endif /* not sparc. */ #endif /* not GNU C. */ #endif /* alloca not defined. */ /* This is the parser code that is written into each bison parser when the %semantic_parser declaration is not specified in the grammar. It was written by Richard Stallman by simplifying the hairy parser used when %semantic_parser is specified. */ /* Note: there must be only one dollar sign in this file. It is replaced by the list of actions, each action as one case of the switch. */ #define yyerrok (yyerrstatus = 0) #define yyclearin (yychar = YYEMPTY) #define YYEMPTY -2 #define YYEOF 0 #define YYACCEPT return(0) #define YYABORT return(1) #define YYERROR goto yyerrlab1 /* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. Once GCC version 2 has supplanted version 1, this can go. */ #define YYFAIL goto yyerrlab #define YYRECOVERING() (!!yyerrstatus) #define YYBACKUP(token, value) \ do \ if (yychar == YYEMPTY && yylen == 1) \ { yychar = (token), yylval = (value); \ yychar1 = YYTRANSLATE (yychar); \ YYPOPSTACK; \ goto yybackup; \ } \ else \ { yyerror ("syntax error: cannot back up"); YYERROR; } \ while (0) #define YYTERROR 1 #define YYERRCODE 256 #ifndef YYPURE #define YYLEX yylex() #endif #ifdef YYPURE #ifdef YYLSP_NEEDED #define YYLEX yylex(&yylval, &yylloc) #else #define YYLEX yylex(&yylval) #endif #endif /* If nonreentrant, generate the variables here */ #ifndef YYPURE int yychar; /* the lookahead symbol */ YYSTYPE yylval; /* the semantic value of the */ /* lookahead symbol */ #ifdef YYLSP_NEEDED YYLTYPE yylloc; /* location data for the lookahead */ /* symbol */ #endif int yynerrs; /* number of parse errors so far */ #endif /* not YYPURE */ #if YYDEBUG != 0 int yydebug; /* nonzero means print parse trace */ /* Since this is uninitialized, it does not stop multiple parsers from coexisting. */ #endif /* YYINITDEPTH indicates the initial size of the parser's stacks */ #ifndef YYINITDEPTH #define YYINITDEPTH 200 #endif /* YYMAXDEPTH is the maximum size the stacks can grow to (effective only if the built-in stack extension method is used). */ #if YYMAXDEPTH == 0 #undef YYMAXDEPTH #endif #ifndef YYMAXDEPTH #define YYMAXDEPTH 10000 #endif #if __GNUC__ > 1 /* GNU C and GNU C++ define this. */ #define __yy_bcopy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT) #else /* not GNU C or C++ */ #ifndef __cplusplus /* This is the most reliable way to avoid incompatibilities in available built-in functions on various systems. */ static void __yy_bcopy (from, to, count) char *from; char *to; int count; { register char *f = from; register char *t = to; register int i = count; while (i-- > 0) *t++ = *f++; } #else /* __cplusplus */ /* This is the most reliable way to avoid incompatibilities in available built-in functions on various systems. */ static void __yy_bcopy (char *from, char *to, int count) { register char *f = from; register char *t = to; register int i = count; while (i-- > 0) *t++ = *f++; } #endif #endif #line 169 "bison.simple" int yyparse() { 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; /* 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. */ 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. */ yyoverflow("parser stack overflow", &yyss1, size * sizeof (*yyssp), &yyvs1, size * sizeof (*yyvsp), #ifdef YYLSP_NEEDED &yyls1, size * sizeof (*yylsp), #endif &yystacksize); yyss = yyss1; yyvs = yyvs1; #ifdef YYLSP_NEEDED yyls = yyls1; #endif #else /* no yyoverflow */ /* Extend the stack our own way. */ if (yystacksize >= YYMAXDEPTH) { yyerror("parser stack overflow"); return 2; } yystacksize *= 2; if (yystacksize > YYMAXDEPTH) yystacksize = YYMAXDEPTH; yyss = (short *) alloca (yystacksize * sizeof (*yyssp)); __yy_bcopy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp)); yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp)); __yy_bcopy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp)); #ifdef YYLSP_NEEDED yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp)); __yy_bcopy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp)); #endif #endif /* no yyoverflow */ yyssp = yyss + size - 1; yyvsp = yyvs + size - 1; #ifdef YYLSP_NEEDED yylsp = yyls + size - 1; #endif #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Stack size increased to %d\n", yystacksize); #endif if (yyssp >= yyss + yystacksize - 1) YYABORT; } #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Entering state %d\n", yystate); #endif 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]; 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 symboles 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 218 "objc-parse.y" { if (pedantic) pedwarn ("ANSI C forbids an empty source file"); objc_finish (); ; break;} case 2: #line 223 "objc-parse.y" { objc_finish (); ; break;} case 3: #line 233 "objc-parse.y" {yyval.ttype = NULL_TREE; ; break;} case 5: #line 234 "objc-parse.y" {yyval.ttype = NULL_TREE; ; break;} case 10: #line 242 "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 253 "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"); ; break;} case 12: #line 258 "objc-parse.y" {; break;} case 13: #line 260 "objc-parse.y" {; break;} case 14: #line 262 "objc-parse.y" { pedwarn ("empty declaration"); ; break;} case 15: #line 264 "objc-parse.y" { shadow_tag (yyvsp[-1].ttype); ; break;} case 18: #line 268 "objc-parse.y" { if (pedantic) pedwarn ("ANSI C does not allow extra `;' outside of a function"); ; break;} case 19: #line 274 "objc-parse.y" { if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, 0)) YYERROR1; reinit_parse_for_function (); ; break;} case 20: #line 278 "objc-parse.y" { store_parm_decls (); ; break;} case 21: #line 280 "objc-parse.y" { finish_function (0); ; break;} case 22: #line 282 "objc-parse.y" { ; break;} case 23: #line 284 "objc-parse.y" { if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, 0)) YYERROR1; reinit_parse_for_function (); ; break;} case 24: #line 288 "objc-parse.y" { store_parm_decls (); ; break;} case 25: #line 290 "objc-parse.y" { finish_function (0); ; break;} case 26: #line 292 "objc-parse.y" { ; break;} case 27: #line 294 "objc-parse.y" { if (! start_function (NULL_TREE, yyvsp[0].ttype, 0)) YYERROR1; reinit_parse_for_function (); ; break;} case 28: #line 298 "objc-parse.y" { store_parm_decls (); ; break;} case 29: #line 300 "objc-parse.y" { finish_function (0); ; break;} case 30: #line 302 "objc-parse.y" { ; break;} case 33: #line 309 "objc-parse.y" { yyval.ttype = CLASS_NAME (yyvsp[0].ttype); ; break;} case 34: #line 313 "objc-parse.y" { yyval.code = ADDR_EXPR; ; break;} case 35: #line 315 "objc-parse.y" { yyval.code = NEGATE_EXPR; ; break;} case 36: #line 317 "objc-parse.y" { yyval.code = CONVERT_EXPR; ; break;} case 37: #line 319 "objc-parse.y" { yyval.code = PREINCREMENT_EXPR; ; break;} case 38: #line 321 "objc-parse.y" { yyval.code = PREDECREMENT_EXPR; ; break;} case 39: #line 323 "objc-parse.y" { yyval.code = BIT_NOT_EXPR; ; break;} case 40: #line 325 "objc-parse.y" { yyval.code = TRUTH_NOT_EXPR; ; break;} case 41: #line 329 "objc-parse.y" { yyval.ttype = build_compound_expr (yyvsp[0].ttype); ; break;} case 42: #line 334 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 44: #line 340 "objc-parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 45: #line 342 "objc-parse.y" { chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; break;} case 47: #line 348 "objc-parse.y" { yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ; break;} case 48: #line 351 "objc-parse.y" { yyvsp[0].itype = pedantic; pedantic = 0; ; break;} case 49: #line 354 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; pedantic = yyvsp[-2].itype; ; break;} case 50: #line 357 "objc-parse.y" { yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0); ; break;} case 51: #line 360 "objc-parse.y" { tree label = lookup_label (yyvsp[0].ttype); TREE_USED (label) = 1; yyval.ttype = build1 (ADDR_EXPR, ptr_type_node, label); TREE_CONSTANT (yyval.ttype) = 1; ; break;} case 52: #line 380 "objc-parse.y" { if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF && DECL_BIT_FIELD (TREE_OPERAND (yyvsp[0].ttype, 1))) error ("`sizeof' applied to a bit-field"); yyval.ttype = c_sizeof (TREE_TYPE (yyvsp[0].ttype)); ; break;} case 53: #line 385 "objc-parse.y" { yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ; break;} case 54: #line 387 "objc-parse.y" { yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ; break;} case 55: #line 389 "objc-parse.y" { yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ; break;} case 57: #line 395 "objc-parse.y" { tree type = groktypename (yyvsp[-2].ttype); yyval.ttype = build_c_cast (type, yyvsp[0].ttype); ; break;} case 58: #line 398 "objc-parse.y" { tree type = groktypename (yyvsp[-5].ttype); char *name; if (pedantic) pedwarn ("ANSI C forbids constructor expressions"); if (TYPE_NAME (type) != 0) { if (TREE_CODE (TYPE_NAME (type)) == IDENTIFIER_NODE) name = IDENTIFIER_POINTER (TYPE_NAME (type)); else name = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (type))); } else name = ""; yyval.ttype = digest_init (type, build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-2].ttype)), NULL_PTR, 0, 0, name); if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == 0) { int failure = complete_array_type (type, yyval.ttype, 1); if (failure) abort (); } ; break;} case 60: #line 425 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 61: #line 427 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 62: #line 429 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 63: #line 431 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 64: #line 433 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 65: #line 435 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 66: #line 437 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 67: #line 439 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 68: #line 441 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 69: #line 443 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 70: #line 445 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 71: #line 447 "objc-parse.y" { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 72: #line 449 "objc-parse.y" { yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 73: #line 451 "objc-parse.y" { yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 74: #line 453 "objc-parse.y" { yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 75: #line 455 "objc-parse.y" { yyval.ttype = build_modify_expr (yyvsp[-2].ttype, NOP_EXPR, yyvsp[0].ttype); C_SET_EXP_ORIGINAL_CODE (yyval.ttype, MODIFY_EXPR); ; break;} case 76: #line 458 "objc-parse.y" { yyval.ttype = build_modify_expr (yyvsp[-2].ttype, yyvsp[-1].code, yyvsp[0].ttype); C_SET_EXP_ORIGINAL_CODE (yyval.ttype, MODIFY_EXPR); ; break;} case 77: #line 464 "objc-parse.y" { tree context; yyval.ttype = lastiddecl; if (!yyval.ttype || yyval.ttype == error_mark_node) { if (yychar == YYEMPTY) yychar = YYLEX; if (yychar == '(') { 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 && is_ivar (objc_ivar_chain, yyvsp[0].ttype)) 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, outside of functions", IDENTIFIER_POINTER (yyvsp[0].ttype)); yyval.ttype = error_mark_node; } else { 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 && is_ivar (objc_ivar_chain, yyvsp[0].ttype)) 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 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"))) { if (objc_method_context && 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 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 79: #line 605 "objc-parse.y" { yyval.ttype = combine_strings (yyvsp[0].ttype); ; break;} case 80: #line 607 "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 81: #line 613 "objc-parse.y" { yyval.ttype = error_mark_node; ; break;} case 82: #line 615 "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_label_level (); yyval.ttype = expand_start_stmt_expr (); ; break;} case 83: #line 628 "objc-parse.y" { tree rtl_exp; if (pedantic) pedwarn ("ANSI C forbids braced-groups within expressions"); 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; /* 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); ; break;} case 84: #line 645 "objc-parse.y" { yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 85: #line 647 "objc-parse.y" { yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 86: #line 649 "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 87: #line 661 "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 88: #line 675 "objc-parse.y" { yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ; break;} case 89: #line 677 "objc-parse.y" { yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ; break;} case 90: #line 679 "objc-parse.y" { yyval.ttype = build_message_expr (yyvsp[0].ttype); ; break;} case 91: #line 681 "objc-parse.y" { yyval.ttype = build_selector_expr (yyvsp[0].ttype); ; break;} case 92: #line 683 "objc-parse.y" { yyval.ttype = build_encode_expr (yyvsp[0].ttype); ; break;} case 94: #line 690 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 97: #line 698 "objc-parse.y" { c_mark_varargs (); if (pedantic) pedwarn ("ANSI C does not permit use of `varargs.h'"); ; break;} case 98: #line 708 "objc-parse.y" { ; break;} case 103: #line 720 "objc-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 104: #line 724 "objc-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 105: #line 728 "objc-parse.y" { shadow_tag_warned (yyvsp[-1].ttype, 1); pedwarn ("empty declaration"); ; break;} case 106: #line 731 "objc-parse.y" { pedwarn ("empty declaration"); ; break;} case 107: #line 740 "objc-parse.y" { ; break;} case 112: #line 755 "objc-parse.y" { yyval.itype = suspend_momentary (); pending_xref_error (); declspec_stack = tree_cons (NULL_TREE, current_declspecs, declspec_stack); current_declspecs = yyvsp[0].ttype; ; break;} case 113: #line 764 "objc-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 114: #line 768 "objc-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-2].itype); ; break;} case 115: #line 772 "objc-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-1].itype); ; break;} case 116: #line 776 "objc-parse.y" { current_declspecs = TREE_VALUE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-1].itype); ; break;} case 117: #line 780 "objc-parse.y" { shadow_tag (yyvsp[-1].ttype); ; break;} case 118: #line 782 "objc-parse.y" { pedwarn ("empty declaration"); ; break;} case 119: #line 791 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 120: #line 793 "objc-parse.y" { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ; break;} case 121: #line 797 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 122: #line 799 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 123: #line 801 "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 124: #line 813 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); TREE_STATIC (yyval.ttype) = 1; ; break;} case 125: #line 816 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; break;} case 126: #line 818 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); TREE_STATIC (yyval.ttype) = 1; ; break;} case 127: #line 821 "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 128: #line 835 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 129: #line 837 "objc-parse.y" { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ; break;} case 130: #line 841 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 131: #line 843 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 134: #line 853 "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 135: #line 857 "objc-parse.y" { yyval.ttype = get_static_reference (yyvsp[0].ttype); ; break;} case 136: #line 859 "objc-parse.y" { yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); ; break;} case 137: #line 861 "objc-parse.y" { yyval.ttype = groktypename (yyvsp[-1].ttype); ; break;} case 145: #line 883 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 146: #line 885 "objc-parse.y" { if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype); yyval.ttype = yyvsp[-1].ttype; ; break;} case 147: #line 892 "objc-parse.y" { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1); ; break;} case 148: #line 895 "objc-parse.y" { decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype); finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ; break;} case 149: #line 898 "objc-parse.y" { tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0); decl_attributes (d, yyvsp[0].ttype); finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ; break;} case 150: #line 905 "objc-parse.y" { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1); ; break;} case 151: #line 908 "objc-parse.y" { decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype); finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ; break;} case 152: #line 911 "objc-parse.y" { tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0); decl_attributes (d, yyvsp[0].ttype); finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ; break;} case 153: #line 919 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 154: #line 921 "objc-parse.y" { yyval.ttype = yyvsp[-2].ttype; ; break;} case 155: #line 926 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; break;} case 156: #line 928 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype); ; break;} case 157: #line 933 "objc-parse.y" { if (strcmp (IDENTIFIER_POINTER (yyvsp[0].ttype), "packed")) warning ("`%s' attribute directive ignored", IDENTIFIER_POINTER (yyvsp[0].ttype)); yyval.ttype = yyvsp[0].ttype; ; break;} case 158: #line 938 "objc-parse.y" { /* If not "mode (m)", then issue warning. */ if (strcmp (IDENTIFIER_POINTER (yyvsp[-3].ttype), "mode") != 0) { warning ("`%s' attribute directive ignored", IDENTIFIER_POINTER (yyvsp[-3].ttype)); yyval.ttype = yyvsp[-3].ttype; } else yyval.ttype = tree_cons (yyvsp[-3].ttype, yyvsp[-1].ttype, NULL_TREE); ; break;} case 159: #line 948 "objc-parse.y" { /* if not "aligned(n)", then issue warning */ if (strcmp (IDENTIFIER_POINTER (yyvsp[-3].ttype), "aligned") != 0 || TREE_CODE (yyvsp[-1].ttype) != INTEGER_CST) { warning ("`%s' attribute directive ignored", IDENTIFIER_POINTER (yyvsp[-3].ttype)); yyval.ttype = yyvsp[-3].ttype; } else yyval.ttype = tree_cons (yyvsp[-3].ttype, yyvsp[-1].ttype, NULL_TREE); ; break;} case 160: #line 959 "objc-parse.y" { /* if not "format(...)", then issue warning */ if (strcmp (IDENTIFIER_POINTER (yyvsp[-7].ttype), "format") != 0 || TREE_CODE (yyvsp[-3].ttype) != INTEGER_CST || TREE_CODE (yyvsp[-1].ttype) != INTEGER_CST) { warning ("`%s' attribute directive ignored", IDENTIFIER_POINTER (yyvsp[-7].ttype)); yyval.ttype = yyvsp[-7].ttype; } else yyval.ttype = tree_cons (yyvsp[-7].ttype, tree_cons (yyvsp[-5].ttype, tree_cons (yyvsp[-3].ttype, yyvsp[-1].ttype, NULL_TREE), NULL_TREE), NULL_TREE); ; break;} case 162: #line 979 "objc-parse.y" { yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, NULL_TREE); if (pedantic) pedwarn ("ANSI C forbids empty initializer braces"); ; break;} case 163: #line 983 "objc-parse.y" { yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-1].ttype)); ; break;} case 164: #line 985 "objc-parse.y" { yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-2].ttype)); ; break;} case 165: #line 987 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 166: #line 994 "objc-parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 167: #line 996 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype); ; break;} case 168: #line 999 "objc-parse.y" { yyval.ttype = build_tree_list (tree_cons (yyvsp[-4].ttype, NULL_TREE, build_tree_list (yyvsp[-2].ttype, NULL_TREE)), yyvsp[0].ttype); ; break;} case 169: #line 1003 "objc-parse.y" { yyval.ttype = tree_cons (tree_cons (yyvsp[-4].ttype, NULL_TREE, build_tree_list (yyvsp[-2].ttype, NULL_TREE)), yyvsp[0].ttype, yyvsp[-7].ttype); ; break;} case 170: #line 1008 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 171: #line 1010 "objc-parse.y" { yyval.ttype = tree_cons (yyvsp[-2].ttype, yyvsp[0].ttype, yyvsp[-5].ttype); ; break;} case 172: #line 1012 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 173: #line 1014 "objc-parse.y" { yyval.ttype = tree_cons (yyvsp[-2].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ; break;} case 174: #line 1019 "objc-parse.y" { push_c_function_context (); if (! start_function (current_declspecs, yyvsp[0].ttype, 1)) { pop_c_function_context (); YYERROR1; } reinit_parse_for_function (); store_parm_decls (); ; break;} case 175: #line 1034 "objc-parse.y" { finish_function (1); pop_c_function_context (); ; break;} case 176: #line 1040 "objc-parse.y" { push_c_function_context (); if (! start_function (current_declspecs, yyvsp[0].ttype, 1)) { pop_c_function_context (); YYERROR1; } reinit_parse_for_function (); store_parm_decls (); ; break;} case 177: #line 1055 "objc-parse.y" { finish_function (1); pop_c_function_context (); ; break;} case 180: #line 1071 "objc-parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 181: #line 1073 "objc-parse.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; break;} case 182: #line 1078 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 183: #line 1080 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; break;} case 184: #line 1082 "objc-parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 186: #line 1093 "objc-parse.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; break;} case 187: #line 1098 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 188: #line 1100 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; break;} case 189: #line 1102 "objc-parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 191: #line 1111 "objc-parse.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; break;} case 192: #line 1116 "objc-parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 193: #line 1118 "objc-parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 194: #line 1120 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 195: #line 1122 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; break;} case 197: #line 1128 "objc-parse.y" { yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype); /* Start scope of tag before parsing components. */ ; break;} case 198: #line 1132 "objc-parse.y" { yyval.ttype = finish_struct (yyvsp[-2].ttype, yyvsp[-1].ttype); /* Really define the structure. */ ; break;} case 199: #line 1136 "objc-parse.y" { yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE), yyvsp[-1].ttype); ; break;} case 200: #line 1139 "objc-parse.y" { yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ; break;} case 201: #line 1141 "objc-parse.y" { yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ; break;} case 202: #line 1143 "objc-parse.y" { yyval.ttype = finish_struct (yyvsp[-2].ttype, yyvsp[-1].ttype); ; break;} case 203: #line 1145 "objc-parse.y" { yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE), yyvsp[-1].ttype); ; break;} case 204: #line 1148 "objc-parse.y" { yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ; break;} case 205: #line 1150 "objc-parse.y" { yyvsp[0].itype = suspend_momentary (); yyval.ttype = start_enum (yyvsp[-1].ttype); ; break;} case 206: #line 1153 "objc-parse.y" { yyval.ttype = finish_enum (yyvsp[-3].ttype, nreverse (yyvsp[-2].ttype)); resume_momentary (yyvsp[-4].itype); ; break;} case 207: #line 1156 "objc-parse.y" { yyvsp[0].itype = suspend_momentary (); yyval.ttype = start_enum (NULL_TREE); ; break;} case 208: #line 1159 "objc-parse.y" { yyval.ttype = finish_enum (yyvsp[-3].ttype, nreverse (yyvsp[-2].ttype)); resume_momentary (yyvsp[-4].itype); ; break;} case 209: #line 1162 "objc-parse.y" { yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); ; break;} case 213: #line 1173 "objc-parse.y" { if (pedantic) pedwarn ("comma at end of enumerator list"); ; break;} case 214: #line 1178 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 215: #line 1180 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); pedwarn ("no semicolon at end of struct or union"); ; break;} case 216: #line 1185 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 217: #line 1187 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ; break;} case 218: #line 1189 "objc-parse.y" { if (pedantic) pedwarn ("extra semicolon in struct or union specified"); ; break;} case 219: #line 1193 "objc-parse.y" { yyval.ttype = get_class_ivars (yyvsp[-1].ttype); ; break;} case 220: #line 1207 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; current_declspecs = TREE_VALUE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-1].itype); ; break;} case 221: #line 1212 "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 222: #line 1217 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; current_declspecs = TREE_VALUE (declspec_stack); declspec_stack = TREE_CHAIN (declspec_stack); resume_momentary (yyvsp[-1].itype); ; break;} case 223: #line 1222 "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 224: #line 1227 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 226: #line 1233 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 227: #line 1238 "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); ; break;} case 228: #line 1242 "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); ; break;} case 229: #line 1245 "objc-parse.y" { yyval.ttype = grokfield (yyvsp[-3].filename, yyvsp[-2].lineno, NULL_TREE, current_declspecs, yyvsp[0].ttype); ; break;} case 231: #line 1256 "objc-parse.y" { yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-2].ttype); ; break;} case 232: #line 1262 "objc-parse.y" { yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ; break;} case 233: #line 1264 "objc-parse.y" { yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 234: #line 1269 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 235: #line 1271 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 236: #line 1276 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 238: #line 1282 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; break;} case 239: #line 1284 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 240: #line 1289 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 241: #line 1291 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 242: #line 1296 "objc-parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 243: #line 1299 "objc-parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 244: #line 1301 "objc-parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ; break;} case 245: #line 1303 "objc-parse.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; break;} case 246: #line 1305 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 247: #line 1307 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; break;} case 248: #line 1309 "objc-parse.y" { yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; break;} case 249: #line 1311 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ; break;} case 250: #line 1313 "objc-parse.y" { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ; break;} case 257: #line 1335 "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 259: #line 1350 "objc-parse.y" { if (pedantic) pedwarn ("ANSI C forbids label declarations"); ; break;} case 262: #line 1361 "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 263: #line 1375 "objc-parse.y" {; break;} case 265: #line 1380 "objc-parse.y" { yyval.ttype = convert (void_type_node, integer_zero_node); ; break;} case 266: #line 1382 "objc-parse.y" { emit_line_note (input_filename, lineno); expand_end_bindings (getdecls (), 1, 0); yyval.ttype = poplevel (1, 1, 0); pop_momentary (); ; break;} case 267: #line 1387 "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); pop_momentary (); ; break;} case 268: #line 1392 "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); pop_momentary (); ; break;} case 271: #line 1409 "objc-parse.y" { emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno); expand_start_cond (truthvalue_conversion (yyvsp[-1].ttype), 0); yyvsp[-3].itype = stmt_count; if_stmt_file = yyvsp[-5].filename; if_stmt_line = yyvsp[-4].lineno; position_after_white_space (); ; break;} case 272: #line 1422 "objc-parse.y" { stmt_count++; emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno); /* See comment in `while' alternative, above. */ emit_nop (); expand_start_loop_continue_elsewhere (1); position_after_white_space (); ; break;} case 273: #line 1429 "objc-parse.y" { expand_loop_continue_here (); ; break;} case 274: #line 1433 "objc-parse.y" { yyval.filename = input_filename; ; break;} case 275: #line 1437 "objc-parse.y" { yyval.lineno = lineno; ; break;} case 276: #line 1442 "objc-parse.y" { ; break;} case 277: #line 1447 "objc-parse.y" { ; break;} case 278: #line 1452 "objc-parse.y" { ; break;} case 280: #line 1458 "objc-parse.y" { int next; position_after_white_space (); next = getc (finput); ungetc (next, finput); if (pedantic && next == '}') pedwarn ("ANSI C forbids label at end of compound statement"); ; break;} case 281: #line 1470 "objc-parse.y" { stmt_count++; ; break;} case 282: #line 1472 "objc-parse.y" { stmt_count++; emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno); c_expand_expr_stmt (yyvsp[-1].ttype); clear_momentary (); ; break;} case 283: #line 1477 "objc-parse.y" { expand_start_else (); yyvsp[-1].itype = stmt_count; position_after_white_space (); ; break;} case 284: #line 1481 "objc-parse.y" { expand_end_cond (); if (extra_warnings && stmt_count == yyvsp[-3].itype) warning ("empty body in an else-statement"); ; break;} case 285: #line 1485 "objc-parse.y" { expand_end_cond (); 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 286: #line 1493 "objc-parse.y" { expand_end_cond (); ; break;} case 287: #line 1495 "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 288: #line 1505 "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 289: #line 1514 "objc-parse.y" { expand_end_loop (); ; break;} case 290: #line 1517 "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 291: #line 1524 "objc-parse.y" { expand_end_loop (); clear_momentary (); ; break;} case 292: #line 1528 "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 293: #line 1540 "objc-parse.y" { yyvsp[0].lineno = lineno; yyval.filename = input_filename; ; break;} case 294: #line 1543 "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; ; break;} case 295: #line 1558 "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); pop_momentary (); expand_end_loop (); ; break;} case 296: #line 1566 "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 297: #line 1574 "objc-parse.y" { expand_end_case (yyvsp[-3].ttype); pop_momentary (); ; break;} case 298: #line 1577 "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 299: #line 1582 "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 300: #line 1587 "objc-parse.y" { stmt_count++; emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno); c_expand_return (NULL_TREE); ; break;} case 301: #line 1591 "objc-parse.y" { stmt_count++; emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno); c_expand_return (yyvsp[-1].ttype); ; break;} case 302: #line 1595 "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 303: #line 1606 "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 304: #line 1613 "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 305: #line 1621 "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 306: #line 1627 "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 307: #line 1638 "objc-parse.y" { stmt_count++; emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno); expand_computed_goto (convert (ptr_type_node, yyvsp[-1].ttype)); ; break;} case 309: #line 1649 "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 = pushcase (value, 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 310: #line 1673 "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); stmt_count++; if (value1 != error_mark_node && value2 != error_mark_node) { tree duplicate; int success = pushcase_range (value1, value2, 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 311: #line 1701 "objc-parse.y" { tree duplicate; register tree label = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE); int success = pushcase (NULL_TREE, 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 312: #line 1716 "objc-parse.y" { tree label = define_label (input_filename, lineno, yyvsp[-1].ttype); stmt_count++; emit_nop (); if (label) expand_label (label); position_after_white_space (); ; break;} case 313: #line 1728 "objc-parse.y" { emit_line_note (input_filename, lineno); ; break;} case 314: #line 1730 "objc-parse.y" { emit_line_note (input_filename, lineno); ; break;} case 315: #line 1735 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 317: #line 1742 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 320: #line 1749 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 321: #line 1754 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 322: #line 1759 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), NULL_TREE); ; break;} case 323: #line 1761 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), yyvsp[-2].ttype); ; break;} case 324: #line 1767 "objc-parse.y" { pushlevel (0); clear_parm_order (); declare_parm_level (0); ; break;} case 325: #line 1771 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; parmlist_tags_warning (); poplevel (0, 0, 0); ; break;} case 327: #line 1779 "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 328: #line 1787 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 329: #line 1789 "objc-parse.y" { yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ; break;} case 330: #line 1795 "objc-parse.y" { yyval.ttype = get_parm_info (0); ; break;} case 331: #line 1797 "objc-parse.y" { yyval.ttype = get_parm_info (0); if (pedantic) pedwarn ("ANSI C requires a named argument before `...'"); ; break;} case 332: #line 1802 "objc-parse.y" { yyval.ttype = get_parm_info (1); ; break;} case 333: #line 1804 "objc-parse.y" { yyval.ttype = get_parm_info (0); ; break;} case 334: #line 1809 "objc-parse.y" { push_parm_decl (yyvsp[0].ttype); ; break;} case 335: #line 1811 "objc-parse.y" { push_parm_decl (yyvsp[0].ttype); ; break;} case 336: #line 1818 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ; break;} case 337: #line 1820 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ; break;} case 338: #line 1822 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 339: #line 1824 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ; break;} case 340: #line 1826 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 341: #line 1833 "objc-parse.y" { pushlevel (0); clear_parm_order (); declare_parm_level (1); ; break;} case 342: #line 1837 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; parmlist_tags_warning (); poplevel (0, 0, 0); ; break;} case 344: #line 1845 "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 345: #line 1855 "objc-parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 346: #line 1857 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; break;} case 347: #line 1863 "objc-parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 348: #line 1865 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; break;} case 351: #line 1874 "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 352: #line 1888 "objc-parse.y" { objc_interface_context = objc_ivar_context = start_class (INTERFACE_TYPE, yyvsp[-1].ttype, NULL_TREE); objc_public_flag = 0; ; break;} case 353: #line 1894 "objc-parse.y" { continue_class (objc_interface_context); ; break;} case 354: #line 1899 "objc-parse.y" { finish_class (objc_interface_context); objc_interface_context = NULL_TREE; ; break;} case 355: #line 1905 "objc-parse.y" { objc_interface_context = start_class (INTERFACE_TYPE, yyvsp[0].ttype, NULL_TREE); continue_class (objc_interface_context); ; break;} case 356: #line 1912 "objc-parse.y" { finish_class (objc_interface_context); objc_interface_context = NULL_TREE; ; break;} case 357: #line 1918 "objc-parse.y" { objc_interface_context = objc_ivar_context = start_class (INTERFACE_TYPE, yyvsp[-3].ttype, yyvsp[-1].ttype); objc_public_flag = 0; ; break;} case 358: #line 1924 "objc-parse.y" { continue_class (objc_interface_context); ; break;} case 359: #line 1929 "objc-parse.y" { finish_class (objc_interface_context); objc_interface_context = NULL_TREE; ; break;} case 360: #line 1935 "objc-parse.y" { objc_interface_context = start_class (INTERFACE_TYPE, yyvsp[-2].ttype, yyvsp[0].ttype); continue_class (objc_interface_context); ; break;} case 361: #line 1942 "objc-parse.y" { finish_class (objc_interface_context); objc_interface_context = NULL_TREE; ; break;} case 362: #line 1948 "objc-parse.y" { objc_implementation_context = objc_ivar_context = start_class (IMPLEMENTATION_TYPE, yyvsp[-1].ttype, NULL_TREE); objc_public_flag = 0; ; break;} case 363: #line 1954 "objc-parse.y" { objc_ivar_chain = continue_class (objc_implementation_context); ; break;} case 364: #line 1960 "objc-parse.y" { objc_implementation_context = start_class (IMPLEMENTATION_TYPE, yyvsp[0].ttype, NULL_TREE); objc_ivar_chain = continue_class (objc_implementation_context); ; break;} case 365: #line 1968 "objc-parse.y" { objc_implementation_context = objc_ivar_context = start_class (IMPLEMENTATION_TYPE, yyvsp[-3].ttype, yyvsp[-1].ttype); objc_public_flag = 0; ; break;} case 366: #line 1974 "objc-parse.y" { objc_ivar_chain = continue_class (objc_implementation_context); ; break;} case 367: #line 1980 "objc-parse.y" { objc_implementation_context = start_class (IMPLEMENTATION_TYPE, yyvsp[-2].ttype, yyvsp[0].ttype); objc_ivar_chain = continue_class (objc_implementation_context); ; break;} case 368: #line 1988 "objc-parse.y" { objc_interface_context = start_class (PROTOCOL_TYPE, yyvsp[-3].ttype, yyvsp[-1].ttype); continue_class (objc_interface_context); ; break;} case 369: #line 1995 "objc-parse.y" { finish_class (objc_interface_context); objc_interface_context = NULL_TREE; ; break;} case 370: #line 2001 "objc-parse.y" { objc_implementation_context = start_class (CATEGORY_TYPE, yyvsp[-3].ttype, yyvsp[-1].ttype); objc_ivar_chain = continue_class (objc_implementation_context); ; break;} case 371: #line 2010 "objc-parse.y" { objc_public_flag = 1; ; break;} case 374: #line 2016 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 376: #line 2021 "objc-parse.y" { if (pedantic) warning ("extra semicolon in struct or union specified"); ; break;} case 377: #line 2039 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; resume_momentary (yyvsp[-1].itype); ; break;} case 378: #line 2044 "objc-parse.y" { yyval.ttype = yyvsp[0].ttype; resume_momentary (yyvsp[-1].itype); ; break;} case 379: #line 2049 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 380: #line 2054 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 383: #line 2061 "objc-parse.y" { yyval.ttype = add_instance_variable (objc_ivar_context, objc_public_flag, yyvsp[0].ttype, current_declspecs, NULL_TREE); ; break;} case 384: #line 2068 "objc-parse.y" { yyval.ttype = add_instance_variable (objc_ivar_context, objc_public_flag, yyvsp[-2].ttype, current_declspecs, yyvsp[0].ttype); ; break;} case 385: #line 2074 "objc-parse.y" { yyval.ttype = add_instance_variable (objc_ivar_context, objc_public_flag, NULL_TREE, current_declspecs, yyvsp[0].ttype); ; break;} case 386: #line 2084 "objc-parse.y" { if (objc_implementation_context) objc_inherit_code = CLASS_METHOD_DECL; else fatal ("method definition not in class context"); ; break;} case 387: #line 2091 "objc-parse.y" { add_class_method (objc_implementation_context, yyvsp[0].ttype); start_method_def (yyvsp[0].ttype); objc_method_context = yyvsp[0].ttype; ; break;} case 388: #line 2097 "objc-parse.y" { continue_method_def (); ; break;} case 389: #line 2101 "objc-parse.y" { finish_method_def (); objc_method_context = NULL_TREE; ; break;} case 390: #line 2107 "objc-parse.y" { if (objc_implementation_context) objc_inherit_code = INSTANCE_METHOD_DECL; else fatal ("method definition not in class context"); ; break;} case 391: #line 2114 "objc-parse.y" { add_instance_method (objc_implementation_context, yyvsp[0].ttype); start_method_def (yyvsp[0].ttype); objc_method_context = yyvsp[0].ttype; ; break;} case 392: #line 2120 "objc-parse.y" { continue_method_def (); ; break;} case 393: #line 2124 "objc-parse.y" { finish_method_def (); objc_method_context = NULL_TREE; ; break;} case 395: #line 2136 "objc-parse.y" {yyval.ttype = NULL_TREE; ; break;} case 400: #line 2143 "objc-parse.y" {yyval.ttype = NULL_TREE; ; break;} case 404: #line 2153 "objc-parse.y" { objc_inherit_code = CLASS_METHOD_DECL; ; break;} case 405: #line 2157 "objc-parse.y" { add_class_method (objc_interface_context, yyvsp[0].ttype); ; break;} case 407: #line 2163 "objc-parse.y" { objc_inherit_code = INSTANCE_METHOD_DECL; ; break;} case 408: #line 2167 "objc-parse.y" { add_instance_method (objc_interface_context, yyvsp[0].ttype); ; break;} case 410: #line 2175 "objc-parse.y" { yyval.ttype = build_method_decl (objc_inherit_code, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; break;} case 411: #line 2180 "objc-parse.y" { yyval.ttype = build_method_decl (objc_inherit_code, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; break;} case 412: #line 2185 "objc-parse.y" { yyval.ttype = build_method_decl (objc_inherit_code, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 413: #line 2190 "objc-parse.y" { yyval.ttype = build_method_decl (objc_inherit_code, NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 422: #line 2220 "objc-parse.y" { resume_momentary (yyvsp[-2].itype); ; break;} case 423: #line 2222 "objc-parse.y" { shadow_tag (yyvsp[-1].ttype); ; break;} case 424: #line 2224 "objc-parse.y" { pedwarn ("empty declaration"); ; break;} case 425: #line 2229 "objc-parse.y" { push_parm_decl (yyvsp[0].ttype); ; break;} case 426: #line 2231 "objc-parse.y" { push_parm_decl (yyvsp[0].ttype); ; break;} case 427: #line 2239 "objc-parse.y" { yyval.ttype = build_tree_list (current_declspecs, yyvsp[0].ttype) ; ; break;} case 428: #line 2241 "objc-parse.y" { yyval.ttype = build_tree_list (current_declspecs, yyvsp[0].ttype) ; ; break;} case 429: #line 2243 "objc-parse.y" { yyval.ttype = build_tree_list (current_declspecs, yyvsp[0].ttype) ; ; break;} case 430: #line 2248 "objc-parse.y" { yyval.ttype = NULL_TREE; ; break;} case 431: #line 2252 "objc-parse.y" { /* oh what a kludge! */ yyval.ttype = (tree)1; ; break;} case 432: #line 2257 "objc-parse.y" { pushlevel (0); ; break;} case 433: #line 2261 "objc-parse.y" { /* returns a tree list node generated by get_parm_info */ yyval.ttype = yyvsp[0].ttype; poplevel (0, 0, 0); ; break;} case 436: #line 2276 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 440: #line 2288 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 441: #line 2289 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 442: #line 2290 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 443: #line 2291 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 444: #line 2292 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 445: #line 2293 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 446: #line 2294 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 447: #line 2295 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 448: #line 2296 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 449: #line 2297 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 450: #line 2298 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 451: #line 2299 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 452: #line 2300 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 453: #line 2301 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 454: #line 2302 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 455: #line 2303 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 456: #line 2304 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 457: #line 2305 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 458: #line 2306 "objc-parse.y" { yyval.ttype = get_identifier (token_buffer); ; break;} case 461: #line 2312 "objc-parse.y" { yyval.ttype = build_keyword_decl (yyvsp[-5].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 462: #line 2317 "objc-parse.y" { yyval.ttype = build_keyword_decl (yyvsp[-2].ttype, NULL_TREE, yyvsp[0].ttype); ; break;} case 463: #line 2322 "objc-parse.y" { yyval.ttype = build_keyword_decl (NULL_TREE, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 464: #line 2327 "objc-parse.y" { yyval.ttype = build_keyword_decl (NULL_TREE, NULL_TREE, yyvsp[0].ttype); ; break;} case 468: #line 2340 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 469: #line 2348 "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 470: #line 2360 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 471: #line 2364 "objc-parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 473: #line 2372 "objc-parse.y" { yyval.ttype = get_class_reference (yyvsp[0].ttype); ; break;} case 474: #line 2379 "objc-parse.y" { objc_receiver_context = 1; ; break;} case 475: #line 2381 "objc-parse.y" { objc_receiver_context = 0; ; break;} case 476: #line 2383 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 480: #line 2396 "objc-parse.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 481: #line 2403 "objc-parse.y" { yyval.ttype = build_tree_list (yyvsp[-1].ttype, NULL_TREE); ; break;} case 482: #line 2407 "objc-parse.y" { yyval.ttype = build_tree_list (NULL_TREE, NULL_TREE); ; break;} case 483: #line 2414 "objc-parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 484: #line 2423 "objc-parse.y" { yyval.ttype = groktypename (yyvsp[-1].ttype); ; break;} } /* the action file gets copied in in place of this dollarsign */ #line 440 "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; for (x = 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 = 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"); } 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 2428 "objc-parse.y" /* If STRING is the name of an Objective C @-keyword (not including the @), return the token type for that keyword. Otherwise return 0. */ int recognize_objc_keyword (string) char *string; { switch (string[0]) { case 'd': if (!strcmp (string, "defs")) return DEFS; break; case 'e': if (!strcmp (string, "end")) return END; if (!strcmp (string, "encode")) return ENCODE; break; case 'i': if (!strcmp (string, "interface")) return INTERFACE; if (!strcmp (string, "implementation")) return IMPLEMENTATION; break; case 'p': if (!strcmp (string, "public")) return PUBLIC; break; case 's': if (!strcmp (string, "selector")) return SELECTOR; break; } return 0; }