diff options
Diffstat (limited to 'gnu/gcc2/cc1obj/objc-parse.c')
| -rw-r--r-- | gnu/gcc2/cc1obj/objc-parse.c | 4626 |
1 files changed, 4626 insertions, 0 deletions
diff --git a/gnu/gcc2/cc1obj/objc-parse.c b/gnu/gcc2/cc1obj/objc-parse.c new file mode 100644 index 000000000000..46676c062df9 --- /dev/null +++ b/gnu/gcc2/cc1obj/objc-parse.c @@ -0,0 +1,4626 @@ + +/* 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 REALPART 289 +#define IMAGPART 290 +#define ASSIGN 291 +#define OROR 292 +#define ANDAND 293 +#define EQCOMPARE 294 +#define ARITHCOMPARE 295 +#define LSHIFT 296 +#define RSHIFT 297 +#define UNARY 298 +#define PLUSPLUS 299 +#define MINUSMINUS 300 +#define HYPERUNARY 301 +#define POINTSAT 302 +#define INTERFACE 303 +#define IMPLEMENTATION 304 +#define END 305 +#define SELECTOR 306 +#define DEFS 307 +#define ENCODE 308 +#define CLASSNAME 309 +#define PUBLIC 310 +#define PRIVATE 311 +#define PROTECTED 312 +#define PROTOCOL 313 +#define OBJECTNAME 314 +#define CLASS 315 +#define ALIAS 316 +#define OBJC_STRING 317 + +#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-act.h" + +/* Since parsers are distinct for each language, put the language string + definition here. */ +char *language_string = "GNU Obj-C"; + +#ifndef errno +extern int errno; +#endif + +void yyerror (); + +/* Like YYERROR but do call yyerror. */ +#define YYERROR1 { yyerror ("syntax error"); YYERROR; } + +/* Cause the `yydebug' variable to be defined. */ +#define YYDEBUG 1 + +#line 69 "objc-parse.y" +typedef union {long itype; tree ttype; enum tree_code code; + char *filename; int lineno; } YYSTYPE; +#line 190 "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 865 +#define YYFLAG -32768 +#define YYNTBASE 85 + +#define YYTRANSLATE(x) ((unsigned)(x) <= 317 ? yytranslate[x] : 281) + +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, 81, 2, 2, 2, 53, 44, 2, 60, + 77, 51, 49, 82, 50, 59, 52, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 39, 78, 2, + 37, 2, 38, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 61, 2, 84, 43, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 83, 42, 79, 80, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 1, 2, 3, 4, 5, + 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, + 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, + 36, 40, 41, 45, 46, 47, 48, 54, 55, 56, + 57, 58, 62, 63, 64, 65, 66, 67, 68, 69, + 70, 71, 72, 73, 74, 75, 76 +}; + +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, 119, 120, 122, 124, 128, 130, 133, 134, + 138, 141, 144, 147, 152, 155, 160, 163, 166, 168, + 173, 181, 183, 187, 191, 195, 199, 203, 207, 211, + 215, 219, 223, 227, 231, 235, 239, 245, 249, 253, + 255, 257, 259, 263, 267, 268, 273, 278, 283, 287, + 291, 294, 297, 299, 301, 303, 305, 307, 309, 312, + 314, 317, 318, 320, 323, 327, 329, 331, 334, 337, + 342, 347, 350, 353, 357, 359, 361, 364, 367, 368, + 373, 378, 382, 386, 389, 392, 395, 399, 400, 403, + 406, 408, 410, 413, 416, 419, 423, 424, 427, 429, + 431, 433, 436, 439, 444, 449, 451, 453, 455, 457, + 461, 463, 467, 468, 473, 474, 481, 485, 486, 493, + 497, 498, 505, 507, 511, 513, 518, 523, 532, 534, + 537, 541, 546, 548, 550, 554, 558, 564, 565, 569, + 570, 574, 576, 578, 582, 586, 591, 595, 599, 601, + 603, 607, 612, 616, 620, 622, 626, 630, 634, 639, + 643, 645, 646, 653, 658, 661, 662, 669, 674, 677, + 678, 686, 687, 694, 697, 698, 700, 701, 703, 705, + 708, 709, 713, 716, 721, 725, 727, 731, 733, 735, + 737, 741, 746, 753, 759, 761, 765, 767, 771, 774, + 777, 778, 780, 782, 785, 786, 789, 793, 797, 800, + 804, 809, 813, 816, 820, 823, 825, 828, 831, 832, + 834, 837, 838, 839, 841, 843, 846, 850, 852, 855, + 858, 865, 871, 877, 880, 883, 888, 889, 894, 895, + 896, 900, 905, 909, 911, 913, 915, 917, 920, 921, + 926, 928, 932, 933, 934, 942, 948, 951, 952, 953, + 954, 967, 968, 975, 978, 981, 984, 988, 995, 1004, + 1015, 1028, 1032, 1037, 1039, 1041, 1042, 1049, 1053, 1059, + 1062, 1065, 1066, 1068, 1069, 1071, 1072, 1074, 1076, 1080, + 1085, 1087, 1091, 1092, 1095, 1098, 1099, 1104, 1107, 1108, + 1110, 1112, 1116, 1118, 1122, 1125, 1128, 1131, 1134, 1137, + 1138, 1141, 1143, 1146, 1148, 1152, 1154, 1158, 1160, 1162, + 1164, 1166, 1168, 1170, 1172, 1176, 1180, 1185, 1186, 1187, + 1198, 1199, 1206, 1207, 1208, 1221, 1222, 1231, 1232, 1239, + 1242, 1243, 1252, 1257, 1258, 1268, 1274, 1275, 1282, 1283, + 1287, 1291, 1293, 1295, 1297, 1299, 1300, 1304, 1307, 1311, + 1315, 1317, 1318, 1320, 1324, 1326, 1330, 1333, 1334, 1335, + 1336, 1344, 1345, 1346, 1347, 1355, 1356, 1357, 1360, 1362, + 1364, 1367, 1368, 1372, 1374, 1376, 1377, 1378, 1384, 1385, + 1386, 1392, 1397, 1399, 1405, 1408, 1409, 1412, 1413, 1415, + 1417, 1419, 1422, 1425, 1430, 1433, 1436, 1438, 1442, 1444, + 1446, 1448, 1449, 1452, 1453, 1457, 1459, 1461, 1464, 1466, + 1468, 1470, 1472, 1474, 1476, 1478, 1480, 1482, 1484, 1486, + 1488, 1490, 1492, 1494, 1496, 1498, 1500, 1502, 1504, 1506, + 1508, 1510, 1512, 1514, 1521, 1525, 1531, 1534, 1536, 1538, + 1540, 1543, 1545, 1549, 1552, 1554, 1556, 1557, 1558, 1565, + 1567, 1569, 1571, 1574, 1577, 1579, 1584, 1589 +}; + +static const short yyrhs[] = { -1, + 86, 0, 0, 87, 89, 0, 0, 86, 88, 89, + 0, 91, 0, 90, 0, 213, 0, 27, 60, 100, + 77, 78, 0, 117, 127, 78, 0, 121, 117, 127, + 78, 0, 119, 117, 126, 78, 0, 121, 78, 0, + 119, 78, 0, 1, 78, 0, 1, 79, 0, 78, + 0, 0, 0, 119, 117, 142, 92, 111, 93, 172, + 0, 119, 117, 142, 1, 0, 0, 0, 121, 117, + 145, 94, 111, 95, 172, 0, 121, 117, 145, 1, + 0, 0, 0, 117, 145, 96, 111, 97, 172, 0, + 117, 145, 1, 0, 3, 0, 4, 0, 73, 0, + 68, 0, 44, 0, 50, 0, 49, 0, 55, 0, + 56, 0, 80, 0, 81, 0, 102, 0, 0, 102, + 0, 106, 0, 102, 82, 106, 0, 107, 0, 51, + 105, 0, 0, 32, 104, 105, 0, 99, 105, 0, + 41, 98, 0, 11, 103, 0, 11, 60, 160, 77, + 0, 29, 103, 0, 29, 60, 160, 77, 0, 34, + 105, 0, 35, 105, 0, 103, 0, 60, 160, 77, + 105, 0, 60, 160, 77, 83, 137, 151, 79, 0, + 105, 0, 106, 49, 106, 0, 106, 50, 106, 0, + 106, 51, 106, 0, 106, 52, 106, 0, 106, 53, + 106, 0, 106, 47, 106, 0, 106, 48, 106, 0, + 106, 46, 106, 0, 106, 45, 106, 0, 106, 44, + 106, 0, 106, 42, 106, 0, 106, 43, 106, 0, + 106, 41, 106, 0, 106, 40, 106, 0, 106, 38, + 196, 39, 106, 0, 106, 37, 106, 0, 106, 36, + 106, 0, 3, 0, 8, 0, 109, 0, 60, 100, + 77, 0, 60, 1, 77, 0, 0, 60, 108, 173, + 77, 0, 107, 60, 101, 77, 0, 107, 61, 100, + 84, 0, 107, 59, 98, 0, 107, 58, 98, 0, + 107, 55, 0, 107, 56, 0, 272, 0, 278, 0, + 279, 0, 280, 0, 110, 0, 9, 0, 109, 9, + 0, 76, 0, 110, 76, 0, 0, 113, 0, 113, + 10, 0, 178, 179, 114, 0, 112, 0, 167, 0, + 113, 112, 0, 112, 167, 0, 119, 117, 126, 78, + 0, 121, 117, 127, 78, 0, 119, 78, 0, 121, + 78, 0, 178, 179, 118, 0, 115, 0, 167, 0, + 116, 115, 0, 115, 167, 0, 0, 119, 117, 126, + 78, 0, 121, 117, 127, 78, 0, 119, 117, 138, + 0, 121, 117, 140, 0, 119, 78, 0, 121, 78, + 0, 124, 120, 0, 121, 124, 120, 0, 0, 120, + 125, 0, 120, 5, 0, 7, 0, 5, 0, 121, + 7, 0, 121, 5, 0, 124, 123, 0, 162, 124, + 123, 0, 0, 123, 125, 0, 6, 0, 146, 0, + 4, 0, 68, 229, 0, 73, 229, 0, 28, 60, + 100, 77, 0, 28, 60, 160, 77, 0, 6, 0, + 7, 0, 146, 0, 129, 0, 126, 82, 129, 0, + 131, 0, 127, 82, 129, 0, 0, 27, 60, 109, + 77, 0, 0, 142, 128, 133, 37, 130, 136, 0, + 142, 128, 133, 0, 0, 145, 128, 133, 37, 132, + 136, 0, 145, 128, 133, 0, 0, 31, 60, 60, + 134, 77, 77, 0, 135, 0, 134, 82, 135, 0, + 3, 0, 3, 60, 3, 77, 0, 3, 60, 8, + 77, 0, 3, 60, 3, 82, 8, 82, 8, 77, + 0, 106, 0, 83, 79, 0, 83, 137, 79, 0, + 83, 137, 82, 79, 0, 1, 0, 136, 0, 137, + 82, 136, 0, 98, 39, 136, 0, 137, 82, 98, + 39, 136, 0, 0, 142, 139, 173, 0, 0, 145, + 141, 173, 0, 143, 0, 145, 0, 60, 143, 77, + 0, 143, 60, 208, 0, 143, 61, 100, 84, 0, + 143, 61, 84, 0, 51, 163, 143, 0, 4, 0, + 73, 0, 144, 60, 208, 0, 144, 61, 100, 84, + 0, 144, 61, 84, 0, 51, 163, 144, 0, 4, + 0, 145, 60, 208, 0, 60, 145, 77, 0, 51, + 163, 145, 0, 145, 61, 100, 84, 0, 145, 61, + 84, 0, 3, 0, 0, 13, 98, 83, 147, 153, + 79, 0, 13, 83, 153, 79, 0, 13, 98, 0, + 0, 14, 98, 83, 148, 153, 79, 0, 14, 83, + 153, 79, 0, 14, 98, 0, 0, 12, 98, 83, + 149, 158, 152, 79, 0, 0, 12, 83, 150, 158, + 152, 79, 0, 12, 98, 0, 0, 82, 0, 0, + 82, 0, 154, 0, 154, 155, 0, 0, 154, 155, + 78, 0, 154, 78, 0, 66, 60, 68, 77, 0, + 122, 117, 156, 0, 122, 0, 162, 117, 156, 0, + 162, 0, 1, 0, 157, 0, 156, 82, 157, 0, + 178, 179, 142, 133, 0, 178, 179, 142, 39, 106, + 133, 0, 178, 179, 39, 106, 133, 0, 159, 0, + 158, 82, 159, 0, 98, 0, 98, 37, 106, 0, + 122, 161, 0, 162, 161, 0, 0, 164, 0, 7, + 0, 162, 7, 0, 0, 163, 7, 0, 60, 164, + 77, 0, 51, 163, 164, 0, 51, 163, 0, 164, + 60, 201, 0, 164, 61, 100, 84, 0, 164, 61, + 84, 0, 60, 201, 0, 61, 100, 84, 0, 61, + 84, 0, 181, 0, 165, 181, 0, 165, 167, 0, + 0, 165, 0, 1, 78, 0, 0, 0, 170, 0, + 171, 0, 170, 171, 0, 33, 212, 78, 0, 173, + 0, 1, 173, 0, 83, 79, 0, 83, 168, 169, + 116, 166, 79, 0, 83, 168, 169, 1, 79, 0, + 83, 168, 169, 165, 79, 0, 175, 180, 0, 175, + 1, 0, 15, 60, 100, 77, 0, 0, 18, 177, + 180, 17, 0, 0, 0, 178, 179, 183, 0, 178, + 179, 194, 180, 0, 178, 179, 182, 0, 183, 0, + 194, 0, 173, 0, 191, 0, 100, 78, 0, 0, + 174, 16, 184, 180, 0, 174, 0, 174, 16, 1, + 0, 0, 0, 17, 185, 60, 100, 77, 186, 180, + 0, 176, 60, 100, 77, 78, 0, 176, 1, 0, + 0, 0, 0, 19, 60, 196, 78, 187, 196, 78, + 188, 196, 77, 189, 180, 0, 0, 20, 60, 100, + 77, 190, 180, 0, 23, 78, 0, 24, 78, 0, + 25, 78, 0, 25, 100, 78, 0, 27, 195, 60, + 100, 77, 78, 0, 27, 195, 60, 100, 39, 197, + 77, 78, 0, 27, 195, 60, 100, 39, 197, 39, + 197, 77, 78, 0, 27, 195, 60, 100, 39, 197, + 39, 197, 39, 200, 77, 78, 0, 26, 98, 78, + 0, 26, 51, 100, 78, 0, 78, 0, 192, 0, + 0, 19, 60, 107, 77, 193, 180, 0, 21, 106, + 39, 0, 21, 106, 10, 106, 39, 0, 22, 39, + 0, 98, 39, 0, 0, 7, 0, 0, 100, 0, + 0, 198, 0, 199, 0, 198, 82, 199, 0, 9, + 60, 100, 77, 0, 109, 0, 200, 82, 109, 0, + 0, 202, 203, 0, 205, 77, 0, 0, 206, 78, + 204, 203, 0, 1, 77, 0, 0, 10, 0, 206, + 0, 206, 82, 10, 0, 207, 0, 206, 82, 207, + 0, 119, 144, 0, 119, 145, 0, 119, 161, 0, + 121, 145, 0, 121, 161, 0, 0, 209, 210, 0, + 203, 0, 211, 77, 0, 3, 0, 211, 82, 3, + 0, 98, 0, 212, 82, 98, 0, 217, 0, 215, + 0, 216, 0, 227, 0, 236, 0, 64, 0, 98, + 0, 214, 82, 98, 0, 74, 214, 78, 0, 75, + 98, 98, 78, 0, 0, 0, 62, 98, 229, 83, + 218, 230, 79, 219, 243, 64, 0, 0, 62, 98, + 229, 220, 243, 64, 0, 0, 0, 62, 98, 39, + 98, 229, 83, 221, 230, 79, 222, 243, 64, 0, + 0, 62, 98, 39, 98, 229, 223, 243, 64, 0, + 0, 63, 98, 83, 224, 230, 79, 0, 63, 98, + 0, 0, 63, 98, 39, 98, 83, 225, 230, 79, + 0, 63, 98, 39, 98, 0, 0, 62, 98, 60, + 98, 77, 229, 226, 243, 64, 0, 63, 98, 60, + 98, 77, 0, 0, 72, 98, 229, 228, 243, 64, + 0, 0, 46, 214, 46, 0, 230, 231, 232, 0, + 232, 0, 70, 0, 71, 0, 69, 0, 0, 232, + 233, 78, 0, 232, 78, 0, 122, 117, 234, 0, + 162, 117, 234, 0, 1, 0, 0, 235, 0, 234, + 82, 235, 0, 142, 0, 142, 39, 106, 0, 39, + 106, 0, 0, 0, 0, 49, 237, 253, 238, 254, + 239, 172, 0, 0, 0, 0, 50, 240, 253, 241, + 254, 242, 172, 0, 0, 0, 244, 245, 0, 248, + 0, 90, 0, 245, 248, 0, 0, 245, 246, 90, + 0, 78, 0, 1, 0, 0, 0, 49, 249, 253, + 250, 247, 0, 0, 0, 50, 251, 253, 252, 247, + 0, 60, 160, 77, 262, 0, 262, 0, 60, 160, + 77, 263, 260, 0, 263, 260, 0, 0, 78, 255, + 0, 0, 256, 0, 257, 0, 167, 0, 256, 257, + 0, 257, 167, 0, 119, 117, 258, 78, 0, 119, + 78, 0, 121, 78, 0, 259, 0, 258, 82, 259, + 0, 144, 0, 145, 0, 161, 0, 0, 82, 10, + 0, 0, 82, 261, 205, 0, 264, 0, 266, 0, + 263, 266, 0, 3, 0, 4, 0, 73, 0, 265, + 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, 264, 39, 60, 160, 77, 98, 0, + 264, 39, 98, 0, 39, 60, 160, 77, 98, 0, + 39, 98, 0, 264, 0, 268, 0, 270, 0, 268, + 270, 0, 102, 0, 264, 39, 269, 0, 39, 269, + 0, 100, 0, 68, 0, 0, 0, 61, 273, 271, + 274, 267, 84, 0, 264, 0, 276, 0, 277, 0, + 276, 277, 0, 264, 39, 0, 39, 0, 65, 60, + 275, 77, 0, 72, 60, 98, 77, 0, 67, 60, + 160, 77, 0 +}; + +#if YYDEBUG != 0 +static const short yyrline[] = { 0, + 227, 232, 246, 248, 248, 249, 251, 253, 254, 255, + 265, 271, 273, 275, 277, 279, 280, 281, 286, 292, + 294, 295, 297, 302, 304, 305, 307, 312, 314, 315, + 319, 321, 322, 323, 326, 328, 330, 332, 334, 336, + 338, 342, 346, 349, 352, 355, 359, 361, 364, 367, + 370, 374, 400, 405, 407, 409, 411, 413, 417, 419, + 422, 447, 449, 451, 453, 455, 457, 459, 461, 463, + 465, 467, 469, 471, 473, 475, 477, 479, 482, 488, + 650, 651, 653, 659, 661, 675, 693, 695, 697, 709, + 723, 725, 727, 729, 731, 733, 735, 740, 742, 748, + 750, 754, 756, 757, 767, 772, 774, 775, 776, 779, + 784, 788, 791, 799, 804, 806, 807, 808, 815, 823, + 828, 832, 836, 840, 842, 850, 853, 857, 859, 861, + 872, 876, 878, 881, 894, 897, 901, 903, 911, 912, + 913, 917, 919, 921, 923, 929, 930, 931, 934, 936, + 939, 941, 944, 947, 953, 958, 960, 966, 971, 973, + 980, 983, 988, 990, 995, 1000, 1010, 1021, 1039, 1041, + 1045, 1047, 1049, 1055, 1058, 1063, 1065, 1069, 1086, 1090, + 1107, 1114, 1116, 1121, 1124, 1129, 1131, 1133, 1135, 1136, + 1144, 1150, 1152, 1154, 1156, 1162, 1168, 1170, 1172, 1174, + 1176, 1179, 1184, 1188, 1191, 1193, 1195, 1197, 1200, 1202, + 1205, 1208, 1211, 1214, 1218, 1220, 1223, 1225, 1229, 1232, + 1237, 1239, 1241, 1245, 1269, 1275, 1280, 1285, 1290, 1294, + 1296, 1300, 1304, 1308, 1318, 1320, 1325, 1328, 1332, 1335, + 1339, 1342, 1345, 1348, 1352, 1355, 1359, 1363, 1365, 1367, + 1369, 1371, 1373, 1375, 1377, 1385, 1387, 1388, 1391, 1393, + 1396, 1399, 1412, 1414, 1419, 1421, 1424, 1438, 1441, 1444, + 1446, 1451, 1456, 1464, 1469, 1472, 1485, 1493, 1497, 1501, + 1505, 1511, 1515, 1520, 1522, 1533, 1536, 1537, 1542, 1547, + 1550, 1558, 1560, 1570, 1580, 1581, 1589, 1592, 1604, 1608, + 1625, 1632, 1641, 1643, 1648, 1653, 1657, 1661, 1672, 1679, + 1686, 1693, 1704, 1708, 1711, 1716, 1739, 1770, 1794, 1822, + 1837, 1848, 1851, 1855, 1858, 1863, 1865, 1868, 1870, 1874, + 1879, 1882, 1888, 1893, 1898, 1900, 1909, 1910, 1916, 1918, + 1923, 1925, 1929, 1932, 1938, 1941, 1943, 1945, 1947, 1954, + 1959, 1964, 1966, 1975, 1978, 1983, 1986, 1992, 1994, 1995, + 1996, 1997, 1998, 2012, 2015, 2019, 2025, 2031, 2038, 2043, + 2049, 2056, 2062, 2068, 2073, 2079, 2086, 2092, 2098, 2104, + 2112, 2118, 2124, 2132, 2139, 2145, 2154, 2161, 2169, 2174, + 2183, 2185, 2188, 2190, 2191, 2194, 2199, 2200, 2217, 2223, + 2228, 2232, 2235, 2236, 2239, 2247, 2253, 2262, 2272, 2279, + 2283, 2288, 2297, 2304, 2308, 2318, 2320, 2321, 2323, 2325, + 2326, 2327, 2328, 2330, 2332, 2335, 2341, 2346, 2346, 2351, + 2355, 2357, 2363, 2368, 2373, 2382, 2384, 2390, 2392, 2395, + 2397, 2398, 2399, 2402, 2405, 2407, 2411, 2414, 2421, 2424, + 2426, 2430, 2435, 2440, 2445, 2452, 2456, 2459, 2465, 2467, + 2468, 2469, 2472, 2474, 2475, 2476, 2477, 2478, 2479, 2480, + 2481, 2482, 2483, 2484, 2485, 2486, 2487, 2488, 2489, 2490, + 2491, 2492, 2492, 2495, 2501, 2506, 2511, 2517, 2519, 2522, + 2524, 2531, 2543, 2548, 2554, 2556, 2562, 2566, 2567, 2573, + 2575, 2578, 2580, 2586, 2591, 2597, 2604, 2613 +}; + +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","REALPART","IMAGPART","ASSIGN","'='","'?'","':'", +"OROR","ANDAND","'|'","'^'","'&'","EQCOMPARE","ARITHCOMPARE","LSHIFT","RSHIFT", +"'+'","'-'","'*'","'/'","'%'","UNARY","PLUSPLUS","MINUSMINUS","HYPERUNARY","POINTSAT", +"'.'","'('","'['","INTERFACE","IMPLEMENTATION","END","SELECTOR","DEFS","ENCODE", +"CLASSNAME","PUBLIC","PRIVATE","PROTECTED","PROTOCOL","OBJECTNAME","CLASS","ALIAS", +"OBJC_STRING","')'","';'","'}'","'~'","'!'","','","'{'","']'","program","extdefs", +"@1","@2","extdef","datadef","fndef","@3","@4","@5","@6","@7","@8","identifier", +"unop","expr","exprlist","nonnull_exprlist","unary_expr","@9","cast_expr","expr_no_commas", +"primary","@10","string","objc_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","all_iter_stmt", +"all_iter_stmt_simple","@27","label","maybe_type_qual","xexpr","asm_operands", +"nonnull_asm_operands","asm_operand","asm_clobbers","parmlist","@28","parmlist_1", +"@29","parmlist_2","parms","parm","parmlist_or_identifiers","@30","parmlist_or_identifiers_1", +"identifiers","identifiers_or_typenames","objcdef","identifier_list","classdecl", +"aliasdecl","classdef","@31","@32","@33","@34","@35","@36","@37","@38","@39", +"protocoldef","@40","protocolrefs","ivar_decl_list","visibility_spec","ivar_decls", +"ivar_decl","ivars","ivar_declarator","methoddef","@41","@42","@43","@44","@45", +"@46","methodprotolist","@47","methodprotolist2","@48","semi_or_error","methodproto", +"@49","@50","@51","@52","methoddecl","optarglist","myxdecls","mydecls","mydecl", +"myparms","myparm","optparmlist","@53","unaryselector","keywordselector","selector", +"reservedwords","keyworddecl","messageargs","keywordarglist","keywordexpr","keywordarg", +"receiver","objcmessageexpr","@54","@55","selectorarg","keywordnamelist","keywordname", +"objcselectorexpr","objcprotocolexpr","objcencodeexpr","" +}; +#endif + +static const short yyr1[] = { 0, + 85, 85, 87, 86, 88, 86, 89, 89, 89, 89, + 90, 90, 90, 90, 90, 90, 90, 90, 92, 93, + 91, 91, 94, 95, 91, 91, 96, 97, 91, 91, + 98, 98, 98, 98, 99, 99, 99, 99, 99, 99, + 99, 100, 101, 101, 102, 102, 103, 103, 104, 103, + 103, 103, 103, 103, 103, 103, 103, 103, 105, 105, + 105, 106, 106, 106, 106, 106, 106, 106, 106, 106, + 106, 106, 106, 106, 106, 106, 106, 106, 106, 107, + 107, 107, 107, 107, 108, 107, 107, 107, 107, 107, + 107, 107, 107, 107, 107, 107, 107, 109, 109, 110, + 110, 111, 111, 111, 112, 113, 113, 113, 113, 114, + 114, 114, 114, 115, 116, 116, 116, 116, 117, 118, + 118, 118, 118, 118, 118, 119, 119, 120, 120, 120, + 121, 121, 121, 121, 122, 122, 123, 123, 124, 124, + 124, 124, 124, 124, 124, 125, 125, 125, 126, 126, + 127, 127, 128, 128, 130, 129, 129, 132, 131, 131, + 133, 133, 134, 134, 135, 135, 135, 135, 136, 136, + 136, 136, 136, 137, 137, 137, 137, 139, 138, 141, + 140, 142, 142, 143, 143, 143, 143, 143, 143, 143, + 144, 144, 144, 144, 144, 145, 145, 145, 145, 145, + 145, 147, 146, 146, 146, 148, 146, 146, 146, 149, + 146, 150, 146, 146, 151, 151, 152, 152, 153, 153, + 154, 154, 154, 154, 155, 155, 155, 155, 155, 156, + 156, 157, 157, 157, 158, 158, 159, 159, 160, 160, + 161, 161, 162, 162, 163, 163, 164, 164, 164, 164, + 164, 164, 164, 164, 164, 165, 165, 165, 166, 166, + 167, 168, 169, 169, 170, 170, 171, 172, 172, 173, + 173, 173, 173, 174, 174, 175, 177, 176, 178, 179, + 180, 180, 181, 182, 182, 183, 183, 183, 184, 183, + 183, 183, 185, 186, 183, 183, 183, 187, 188, 189, + 183, 190, 183, 183, 183, 183, 183, 183, 183, 183, + 183, 183, 183, 183, 191, 193, 192, 194, 194, 194, + 194, 195, 195, 196, 196, 197, 197, 198, 198, 199, + 200, 200, 202, 201, 203, 204, 203, 203, 205, 205, + 205, 205, 206, 206, 207, 207, 207, 207, 207, 209, + 208, 210, 210, 211, 211, 212, 212, 213, 213, 213, + 213, 213, 213, 214, 214, 215, 216, 218, 219, 217, + 220, 217, 221, 222, 217, 223, 217, 224, 217, 217, + 225, 217, 217, 226, 217, 217, 228, 227, 229, 229, + 230, 230, 231, 231, 231, 232, 232, 232, 233, 233, + 233, 234, 234, 234, 235, 235, 235, 237, 238, 239, + 236, 240, 241, 242, 236, 243, 244, 243, 245, 245, + 245, 246, 245, 247, 247, 249, 250, 248, 251, 252, + 248, 253, 253, 253, 253, 254, 254, 255, 255, 256, + 256, 256, 256, 257, 257, 257, 258, 258, 259, 259, + 259, 260, 260, 261, 260, 262, 263, 263, 264, 264, + 264, 264, 265, 265, 265, 265, 265, 265, 265, 265, + 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, + 265, 265, 265, 266, 266, 266, 266, 267, 267, 268, + 268, 269, 270, 270, 271, 271, 273, 274, 272, 275, + 275, 276, 276, 277, 277, 278, 279, 280 +}; + +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, 1, 0, 1, 1, 3, 1, 2, 0, 3, + 2, 2, 2, 4, 2, 4, 2, 2, 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, 1, 1, 2, 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, 2, 2, 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, 3, 5, 0, 3, 0, + 3, 1, 1, 3, 3, 4, 3, 3, 1, 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, 5, 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, 1, 2, 0, 4, + 1, 3, 0, 0, 7, 5, 2, 0, 0, 0, + 12, 0, 6, 2, 2, 2, 3, 6, 8, 10, + 12, 3, 4, 1, 1, 0, 6, 3, 5, 2, + 2, 0, 1, 0, 1, 0, 1, 1, 3, 4, + 1, 3, 0, 2, 2, 0, 4, 2, 0, 1, + 1, 3, 1, 3, 2, 2, 2, 2, 2, 0, + 2, 1, 2, 1, 3, 1, 3, 1, 1, 1, + 1, 1, 1, 1, 3, 3, 4, 0, 0, 10, + 0, 6, 0, 0, 12, 0, 8, 0, 6, 2, + 0, 8, 4, 0, 9, 5, 0, 6, 0, 3, + 3, 1, 1, 1, 1, 0, 3, 2, 3, 3, + 1, 0, 1, 3, 1, 3, 2, 0, 0, 0, + 7, 0, 0, 0, 7, 0, 0, 2, 1, 1, + 2, 0, 3, 1, 1, 0, 0, 5, 0, 0, + 5, 4, 1, 5, 2, 0, 2, 0, 1, 1, + 1, 2, 2, 4, 2, 2, 1, 3, 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, 1, 6, 3, 5, 2, 1, 1, 1, + 2, 1, 3, 2, 1, 1, 0, 0, 6, 1, + 1, 1, 2, 2, 1, 4, 4, 4 +}; + +static const short yydefact[] = { 3, + 5, 0, 0, 0, 141, 132, 139, 131, 0, 0, + 0, 0, 0, 408, 412, 0, 0, 363, 389, 0, + 389, 0, 0, 18, 4, 8, 7, 0, 119, 119, + 128, 140, 9, 359, 360, 358, 361, 362, 6, 16, + 17, 31, 32, 34, 33, 212, 214, 221, 205, 221, + 209, 0, 0, 0, 0, 389, 380, 0, 142, 389, + 143, 364, 0, 0, 201, 245, 0, 0, 151, 0, + 15, 0, 134, 133, 14, 0, 128, 126, 0, 210, + 0, 0, 0, 202, 0, 206, 80, 81, 98, 0, + 0, 49, 0, 0, 0, 35, 37, 36, 0, 38, + 39, 0, 497, 0, 0, 0, 100, 40, 41, 0, + 0, 42, 59, 62, 45, 47, 82, 97, 93, 94, + 95, 96, 243, 0, 241, 137, 0, 241, 459, 460, + 482, 483, 479, 463, 464, 465, 466, 467, 468, 469, + 470, 471, 472, 473, 474, 475, 476, 477, 478, 480, + 481, 0, 0, 461, 409, 433, 452, 456, 462, 457, + 413, 0, 0, 371, 0, 0, 378, 0, 387, 366, + 0, 0, 0, 0, 11, 0, 30, 0, 350, 0, + 0, 161, 189, 245, 0, 190, 0, 149, 0, 182, + 183, 0, 0, 127, 130, 146, 147, 129, 148, 237, + 217, 235, 0, 0, 204, 229, 223, 119, 220, 119, + 221, 208, 221, 0, 53, 0, 55, 0, 57, 58, + 52, 48, 0, 0, 0, 0, 0, 0, 0, 0, + 51, 0, 0, 0, 0, 324, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 91, 92, 0, 0, 43, 0, 99, 101, 144, 245, + 333, 0, 239, 242, 135, 145, 244, 137, 240, 0, + 487, 0, 436, 454, 435, 0, 458, 0, 436, 389, + 0, 368, 417, 383, 0, 396, 390, 417, 365, 367, + 246, 198, 197, 152, 153, 0, 196, 0, 200, 0, + 0, 28, 0, 279, 107, 280, 0, 160, 0, 0, + 13, 0, 22, 0, 161, 350, 0, 12, 26, 0, + 0, 218, 0, 217, 0, 279, 222, 279, 0, 0, + 0, 0, 50, 84, 83, 262, 0, 0, 496, 495, + 498, 505, 500, 0, 501, 502, 0, 0, 10, 46, + 79, 78, 325, 0, 76, 75, 73, 74, 72, 71, + 70, 68, 69, 63, 64, 65, 66, 67, 90, 89, + 0, 44, 0, 249, 0, 253, 0, 255, 0, 333, + 0, 138, 136, 0, 0, 0, 410, 453, 339, 0, + 485, 414, 376, 389, 396, 0, 0, 381, 386, 0, + 0, 0, 0, 0, 354, 340, 241, 241, 352, 0, + 341, 343, 351, 0, 199, 261, 0, 109, 104, 108, + 0, 0, 158, 188, 184, 150, 20, 157, 185, 187, + 0, 24, 238, 236, 213, 0, 224, 225, 230, 280, + 227, 203, 207, 54, 56, 270, 263, 86, 0, 60, + 0, 504, 506, 0, 503, 508, 507, 0, 87, 88, + 248, 247, 334, 254, 250, 252, 0, 0, 432, 452, + 119, 0, 441, 437, 439, 0, 0, 455, 341, 0, + 0, 373, 417, 384, 0, 372, 426, 429, 420, 0, + 119, 119, 422, 419, 396, 395, 393, 394, 379, 396, + 401, 398, 119, 119, 0, 388, 154, 338, 195, 245, + 333, 345, 346, 347, 245, 348, 349, 335, 336, 0, + 353, 0, 0, 29, 268, 105, 119, 119, 0, 0, + 0, 155, 186, 0, 211, 279, 0, 0, 0, 264, + 265, 173, 80, 0, 0, 169, 174, 215, 0, 488, + 0, 489, 490, 77, 251, 486, 434, 445, 241, 446, + 442, 443, 411, 0, 415, 396, 0, 417, 369, 0, + 0, 153, 0, 0, 0, 421, 0, 0, 402, 402, + 397, 249, 350, 0, 249, 0, 342, 344, 355, 269, + 112, 0, 113, 0, 165, 0, 163, 159, 21, 0, + 25, 231, 0, 161, 356, 0, 0, 0, 279, 0, + 116, 280, 256, 266, 170, 0, 0, 0, 0, 492, + 494, 0, 499, 0, 491, 449, 450, 451, 0, 447, + 484, 0, 377, 0, 417, 427, 430, 423, 382, 0, + 405, 399, 403, 400, 194, 191, 193, 0, 337, 0, + 0, 0, 0, 0, 156, 161, 0, 232, 267, 0, + 272, 118, 117, 0, 0, 273, 258, 280, 257, 0, + 171, 0, 176, 0, 175, 61, 493, 444, 241, 374, + 385, 0, 0, 0, 407, 0, 0, 192, 110, 111, + 0, 0, 162, 164, 234, 161, 357, 271, 0, 141, + 0, 293, 277, 0, 0, 0, 0, 0, 0, 0, + 0, 322, 389, 389, 314, 0, 0, 114, 119, 119, + 286, 291, 0, 0, 283, 284, 287, 315, 285, 172, + 0, 448, 417, 370, 425, 424, 428, 431, 406, 404, + 166, 0, 167, 233, 0, 0, 279, 324, 0, 0, + 320, 304, 305, 306, 0, 0, 0, 323, 0, 321, + 288, 124, 0, 125, 0, 0, 275, 280, 274, 297, + 0, 177, 0, 0, 0, 0, 0, 47, 0, 0, + 0, 318, 307, 0, 312, 0, 0, 122, 153, 0, + 123, 153, 292, 279, 0, 0, 375, 0, 276, 0, + 278, 316, 298, 302, 0, 313, 0, 120, 0, 121, + 0, 290, 281, 279, 0, 0, 294, 279, 324, 279, + 319, 326, 0, 179, 181, 282, 296, 168, 279, 317, + 0, 303, 0, 0, 327, 328, 308, 295, 299, 0, + 326, 0, 0, 324, 0, 0, 309, 329, 0, 330, + 0, 0, 300, 331, 0, 310, 279, 0, 0, 301, + 311, 332, 0, 0, 0 +}; + +static const short yydefgoto[] = { 863, + 1, 2, 3, 25, 26, 27, 314, 531, 320, 534, + 181, 417, 200, 110, 353, 371, 112, 113, 218, 114, + 115, 116, 225, 117, 118, 302, 303, 304, 526, 608, + 609, 28, 718, 407, 78, 408, 125, 265, 31, 198, + 187, 68, 182, 188, 600, 69, 530, 308, 596, 597, + 547, 548, 788, 809, 791, 811, 295, 190, 626, 191, + 32, 211, 213, 203, 79, 619, 323, 82, 83, 209, + 438, 439, 201, 202, 127, 628, 128, 173, 264, 610, + 665, 305, 447, 539, 540, 541, 524, 525, 722, 723, + 724, 747, 768, 421, 769, 613, 725, 726, 794, 746, + 829, 819, 844, 857, 820, 727, 728, 818, 729, 759, + 354, 834, 835, 836, 855, 376, 377, 409, 586, 410, + 411, 412, 297, 298, 413, 414, 606, 33, 63, 34, + 35, 36, 395, 635, 283, 566, 733, 483, 286, 495, + 568, 37, 288, 59, 400, 500, 401, 505, 642, 643, + 38, 54, 273, 477, 55, 279, 481, 396, 397, 493, + 575, 737, 494, 570, 683, 571, 684, 155, 387, 474, + 475, 476, 629, 630, 275, 389, 156, 157, 158, 159, + 160, 551, 552, 621, 553, 341, 119, 227, 451, 344, + 345, 346, 120, 121, 122 +}; + +static const short yypact[] = { 95, + 112, 2755, 2755, 203,-32768,-32768,-32768,-32768, 169, 177, + 191, 33, 73,-32768,-32768, 199, 199,-32768, 89, 199, + 89, 199, 199,-32768,-32768,-32768,-32768, 181, 65, 767, +-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, +-32768,-32768,-32768,-32768,-32768,-32768, 40, 97, 107, 97, + 115, 2540, 2375, 2999, 2999, 194, 39, 199,-32768, 89, +-32768,-32768, 26, 199,-32768,-32768, 181, 104,-32768, 1688, +-32768, 59,-32768,-32768,-32768, 181,-32768, 626, 199,-32768, + 148, 121, 373,-32768, 137,-32768,-32768,-32768,-32768, 2574, + 2629,-32768, 2540, 2540, 199,-32768,-32768,-32768, 2540,-32768, +-32768, 1279,-32768, 176, 186, 215,-32768,-32768,-32768, 2540, + 207, 208,-32768,-32768, 3291, 613, 321, 256,-32768,-32768, +-32768,-32768,-32768, 257, 178,-32768, 264, 3135,-32768,-32768, +-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, +-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, +-32768, 252, 2229,-32768,-32768,-32768, 2341, 253,-32768,-32768, +-32768, 199, 199, 268, 199, 199,-32768, 45,-32768,-32768, + 199, 304, 114, 219,-32768, 59,-32768, 357,-32768, 1782, + 709, 364,-32768,-32768, 59,-32768, 246,-32768, 568, 393, + 428, 320, 1768, 626,-32768,-32768,-32768,-32768,-32768, 387, + 337,-32768, 199, 362,-32768,-32768,-32768, 434, 367, 602, + 97,-32768, 97, 1279,-32768, 1279,-32768, 2540,-32768,-32768, +-32768,-32768, 385, 403, 408, 418, 2430, 3028, 2229, 199, +-32768, 381, 2540, 2540, 2540, 2540, 2540, 2540, 2540, 2540, + 2540, 2540, 2540, 2540, 2540, 2540, 2540, 2540, 2540, 2540, +-32768,-32768, 199, 199, 2540, 2540,-32768,-32768,-32768,-32768, + 178, 1862,-32768, 454, 571,-32768,-32768,-32768,-32768, 2229, +-32768, 423, 430, 500,-32768, 253,-32768, 267, 430, 89, + 442,-32768, 467, 455, 460,-32768,-32768, 467,-32768,-32768, +-32768, 428,-32768,-32768, 513, 535,-32768, 1871,-32768, 464, + 471,-32768, 69, 88,-32768,-32768, 490, 515, 282, 289, +-32768, 59,-32768, 709, 364,-32768, 1922,-32768,-32768, 709, + 2540, 199, 474, 337, 480,-32768,-32768,-32768, 479, 481, + 485, 486,-32768,-32768,-32768, 487, 488, 2260,-32768,-32768, +-32768,-32768, 529, 493, 3028,-32768, 494, 511,-32768, 3291, + 3291, 3291,-32768, 550, 1253, 1411, 1491, 575, 703, 1569, + 678, 319, 319, 433, 433,-32768,-32768,-32768,-32768,-32768, + 514, 208, 509, 376, 336,-32768, 2883,-32768, 517,-32768, + 1982,-32768, 571, 520, 3067, 756,-32768,-32768, 3152, 2229, +-32768,-32768, 524, 89,-32768, 534, 2831,-32768,-32768, 363, + 2707, 546, 52, 540,-32768,-32768, 360, 3124,-32768, 557, + 347,-32768,-32768, 241,-32768,-32768, 56,-32768,-32768,-32768, + 3217, 551,-32768, 393,-32768,-32768,-32768, 598,-32768,-32768, + 528,-32768, 3291,-32768,-32768, 558,-32768, 560,-32768,-32768, + 560,-32768,-32768,-32768,-32768,-32768, 610,-32768, 1603,-32768, + 3096,-32768,-32768, 529,-32768,-32768,-32768, 2540,-32768,-32768, + 454,-32768,-32768,-32768,-32768,-32768, 561, 199,-32768, 2341, + 566, 2901,-32768,-32768, 3217, 1796, 56,-32768, 567, 576, + 56,-32768, 467,-32768, 378,-32768,-32768,-32768,-32768, 181, + 65, 767, 37,-32768,-32768,-32768,-32768,-32768,-32768,-32768, +-32768,-32768,-32768, 2454, 570,-32768,-32768,-32768,-32768,-32768, + 407, 456, 428,-32768,-32768, 428,-32768,-32768,-32768, 3200, +-32768, 649, 408,-32768,-32768,-32768, 578, 2920, 651, 1679, + 56,-32768,-32768, 56,-32768,-32768, 349, 199, 874, 610, +-32768,-32768, 618, 1360, 620, 3291,-32768, 580, 2540, 625, + 582, 3096,-32768, 1332,-32768,-32768,-32768,-32768, 360,-32768, +-32768,-32768,-32768, 199,-32768,-32768, 612, 467,-32768, 2999, + 2999, 216, 59, 181, 2850,-32768, 457, 2724, 355, 355, +-32768, 227,-32768, 2042, 405, 2883,-32768,-32768,-32768,-32768, +-32768, 59,-32768, 181, 619, 249,-32768,-32768,-32768, 1679, +-32768,-32768, 2540, 53,-32768, 353, 451, 793, 603, 955, +-32768,-32768,-32768,-32768,-32768, 187, 1679, 1441, 604, 208, +-32768, 2540,-32768, 625,-32768, 456, 428,-32768, 361,-32768, +-32768, 476,-32768, 621, 467,-32768,-32768,-32768,-32768, 2540, + 645, 606,-32768, 606, 456,-32768,-32768, 607,-32768, 382, + 391, 335, 609, 651,-32768, 3206, 2540,-32768,-32768, 199, +-32768,-32768,-32768, 1036, 611,-32768,-32768,-32768,-32768, 2124, +-32768, 1522,-32768, 653,-32768,-32768,-32768,-32768, 360,-32768, +-32768, 637, 63, 63, 3291, 2540, 355,-32768,-32768,-32768, + 283, 630,-32768,-32768,-32768, 3206,-32768,-32768, 2205, 663, + 648,-32768,-32768, 652, 658, 2540, 670, 633, 642, 2485, + 141, 726, 189, 212,-32768, 696, 660,-32768, 661, 2931, +-32768, 720, 1117, 64,-32768,-32768,-32768,-32768,-32768,-32768, + 1679,-32768, 467,-32768,-32768,-32768,-32768,-32768, 3291,-32768, +-32768, 732,-32768,-32768, 2540, 681,-32768, 2540, 2540, 3255, +-32768,-32768,-32768,-32768, 664, 2540, 666,-32768, 685,-32768, +-32768,-32768, 59,-32768, 181, 1198,-32768,-32768,-32768,-32768, + 2540,-32768, 694, 677, 687, 2540, 748, 443, 689, 698, + 2540,-32768,-32768, 700,-32768, 2540, 396,-32768, 93, 399, +-32768, 42,-32768,-32768, 2205, 699,-32768, 775,-32768, 708, +-32768,-32768,-32768,-32768, 3273,-32768, 41,-32768, 408,-32768, + 408,-32768,-32768,-32768, 711, 710,-32768,-32768, 2540,-32768, +-32768, 777, 715,-32768,-32768,-32768,-32768,-32768,-32768,-32768, + 725,-32768, 749, 77, 741,-32768,-32768,-32768,-32768, 2540, + 777, 752, 777, 2540, 754, 140,-32768,-32768, 755,-32768, + 535, 758,-32768, 321, 322,-32768,-32768, 760, 535,-32768, +-32768, 321, 826, 833,-32768 +}; + +static const short yypgoto[] = {-32768, +-32768,-32768,-32768, 843, -353,-32768,-32768,-32768,-32768,-32768, +-32768,-32768, -5,-32768, -52,-32768, -230, 444,-32768, -22, + 60, 99,-32768, -272,-32768, -57, 547,-32768,-32768, 243, +-32768, -21,-32768, 17, 773, 19, -55, 587, -17, -214, + -545, -69, -186, -124,-32768,-32768,-32768, -289,-32768, 202, + -487, 313,-32768,-32768,-32768,-32768, -58, -131, -362, -18, + -38,-32768,-32768,-32768,-32768,-32768, 538, 10,-32768,-32768, + 531, 327, 665, 542, -46, -86, -54, -154, -228, 258, +-32768, -271,-32768,-32768,-32768, 330, -381, -209,-32768,-32768, +-32768,-32768, -113, -406, -680, -505,-32768, 109,-32768,-32768, +-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 110,-32768, + -693, 43,-32768, 47,-32768, 527,-32768, -339,-32768, 521, + 522, 392, -270,-32768,-32768,-32768,-32768,-32768, 855,-32768, +-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, +-32768,-32768,-32768, -19, -347,-32768, 414,-32768, 339, 229, +-32768,-32768,-32768,-32768,-32768,-32768,-32768, -257,-32768,-32768, +-32768, 233, 427,-32768,-32768,-32768,-32768, -28, 643,-32768, +-32768, 446,-32768, 247, 458,-32768, 548, 552, -134,-32768, + -122,-32768,-32768, 305, 379,-32768,-32768,-32768,-32768,-32768, +-32768, 591,-32768,-32768,-32768 +}; + + +#define YYLAST 3344 + + +static const short yytable[] = { 111, + 124, 61, 315, 47, 49, 51, 192, 72, 76, 70, + 56, 57, 77, 189, 60, 337, 62, 64, 29, 29, + 30, 30, 276, 403, 372, 428, 161, 208, 210, 309, + 402, 418, 375, 537, 277, 126, 164, 463, 263, 199, + 169, 269, 598, 489, 512, 429, 650, 485, 174, 224, + 382, 294, 62, 310, 779, 226, 523, 193, 172, 85, + 257, 65, 183, 735, 770, 126, 777, 306, 178, 301, + 219, 220, -106, -106, -106, -106, 222, 165, -106, 822, + -106, -106, -106, 307, 126, 487, 488, 231, -103, 221, + 287, 657, 52, 343, -1, 563, -106, 419, 166, 565, + -418, 179, 180, 170, 669, 374, 272, 171, 315, 184, + 268, -2, 655, 812, 473, 841, 65, 823, 185, 178, + 291, 167, 80, 771, -180, 831, 171, 300, 507, 673, + 675, 186, 53, 826, 58, 126, -106, 830, 336, 832, + 736, -106, 71, 42, 43, 461, 271, 577, 838, 599, + 849, -106, 601, 842, 292, 199, 280, 281, 669, 284, + 285, 224, 81, 224, 66, 289, 174, 331, 382, 332, + -103, 42, 43, 67, 340, -178, 860, 424, 851, 42, + 43, 175, 347, 65, 675, 176, 326, 426, 328, 84, + 306, 756, 268, 42, 43, 333, 126, 86, 126, 205, + 306, 42, 43, 373, 562, 670, 306, 204, 44, 379, + 454, 126, 440, 45, 440, 212, 852, 787, 632, 645, + 329, 638, 330, 384, 348, 567, 199, -34, 260, 65, + 509, 66, 162, 291, 58, 228, 44, 261, 262, 58, + 67, 45, 178, 772, 44, 229, 649, 369, 370, 45, + -33, 46, 126, 163, 42, 43, 427, 58, 44, 48, + 393, 699, 432, 45, 431, 671, 44, 611, 672, 42, + 43, 45, 391, 50, 230, 179, 180, 510, 179, 180, + 40, 41, 375, 232, 65, 183, 511, 262, 291, 233, + 292, 278, 350, 351, 352, 293, 355, 356, 357, 358, + 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, + 634, 270, 646, 590, 658, 450, 550, 521, 620, 44, + 514, 517, 522, 311, 45, 653, 390, 312, 467, 257, + 654, 258, 184, 259, 44, 276, 662, 691, 667, 45, + 266, 185, 692, 480, 199, 503, 504, 277, 316, 317, + 282, 65, 183, 461, 186, 582, 461, 65, 183, 741, + 585, 795, 65, 509, 742, 425, 695, 246, 247, 248, + 249, 250, 126, 206, 484, 490, 5, 682, 7, 123, + 433, 290, 291, 126, 9, 10, 11, 603, 513, 516, + 77, 620, 667, 640, 307, 380, 381, 318, 858, 184, + 13, 176, 471, 859, 472, 184, 744, 65, 185, 65, + 510, 291, 462, 491, 185, 492, 296, 624, 322, 511, + 262, 186, 440, 321, 519, 612, 260, 186, 520, 325, + 659, 496, 497, 498, 660, 261, 262, 527, 678, 528, + 19, 499, 679, 545, 327, 21, 496, 497, 498, 559, + 207, -219, 316, 317, 77, 515, 569, 515, 349, 689, + 721, 334, 556, 312, 511, 262, 511, 262, 690, 573, + 574, 572, 176, 808, 77, 773, 810, 312, 604, 335, + 176, 579, 580, 248, 249, 250, 268, 179, 180, 721, + 336, 471, 174, 472, 338, 612, 668, 251, 252, 385, + 253, 254, 255, 256, 192, 592, 594, 386, 546, 388, + 77, -226, -226, 380, 381, 583, 584, 554, 394, 802, + 641, 641, 503, 504, 651, 496, 497, 498, 416, 661, + -416, 648, 605, 215, 217, 639, 399, 398, 545, 178, + 627, 636, 637, 89, 496, 497, 498, 415, 416, 422, + 668, 423, 435, 490, 680, 572, 437, 442, 631, 443, + 126, 444, 445, 292, 448, 446, 292, 452, 313, 453, + 456, -19, -19, -19, -19, 572, 196, 197, 854, -19, + -19, -19, 9, 10, 11, 721, 862, 457, 458, 546, + 459, 491, 460, 492, 178, -19, 468, 486, -153, 824, + 464, 825, 315, 546, -153, 5, 482, 7, 267, 506, + 529, 533, 674, 9, 10, 11, 508, 717, 241, 242, + 243, 244, 245, 246, 247, 248, 249, 250, 641, 13, + 195, 196, 197, 518, 532, -19, 535, 9, 10, 11, + -19, 536, 538, 558, 555, -153, 717, 581, 520, -153, + -19, 589, 564, 595, 697, 591, -31, 755, 617, 546, + 627, 618, 656, 622, 716, 623, 674, 251, 252, 19, + 253, 254, 255, 256, 21, 633, 546, 546, 652, -228, + -228, -259, 676, 686, 681, 693, 719, 687, 720, 698, + 688, 731, 775, 716, 61, 790, 780, 763, 765, 685, + 734, -32, 77, 784, 789, 757, 743, 745, 751, 301, + 752, 748, -279, -279, -279, -279, 696, 749, 796, 753, + -279, -279, -279, 800, 244, 245, 246, 247, 248, 249, + 250, 546, 758, 807, 760, 766, -279, 761, 762, 774, + 776, 783, 717, 785, 786, 739, 792, 242, 243, 244, + 245, 246, 247, 248, 249, 250, 301, 797, 798, 5, + 6, 7, 8, 799, 801, 750, 803, 9, 10, 11, + 5, 73, 7, 74, 804, 815, -279, 806, 9, 10, + 11, -279, 816, 13, 817, 833, 828, 845, 827, 716, + 546, -102, 837, 301, 13, -115, -115, -115, -115, -115, + -115, -115, 839, -115, -115, -115, -115, -115, 840, -115, + -115, -115, -115, -115, -115, -115, -115, -115, -115, -115, + -115, -115, 843, 19, -115, 864, -115, -115, 21, 847, + 850, 853, 865, -115, 19, 856, -115, 861, -438, 21, + 805, -115, -115, -115, 75, 39, 778, -115, -115, 194, + 420, 663, -115, -115, 383, 694, 616, -115, 441, -115, + -115, 436, 602, 434, -115, -115, 664, 324, -115, 614, + -115, -115, -115, -115, 607, -115, -279, -279, -279, -279, + -279, -279, -279, 846, -279, -279, -279, -279, -279, 848, + -279, -279, -279, -279, -279, -279, -279, -279, -279, -279, + -279, -279, -279, 813, 814, -279, 465, -279, -279, 478, + 479, 588, 168, 578, -279, 740, 738, -279, 644, 576, + 561, 392, -279, -279, -279, 732, 677, 557, -279, -279, + 625, 0, 469, -279, -279, 455, 470, 0, -279, 0, + -279, -279, 0, 0, 0, -279, -279, 0, 0, -279, + 0, -279, 0, -279, -279, 301, -279, -279, -279, 0, + 0, 0, -279, -279, 0, -279, 0, 0, 0, -279, + 0, -279, -279, -279, -279, -279, -279, -279, -279, -279, + -279, -279, 0, -279, 0, 0, -279, 0, -279, -279, + 0, 0, 0, 0, 0, -279, 0, 0, -279, 0, + 0, 0, 0, -279, -279, -279, 0, 0, 0, -279, + -279, 0, 0, 0, -279, -279, 0, 0, 0, -279, + 0, -279, -279, 0, 0, 0, -279, -279, 0, 0, + -279, 0, -279, 666, -279, -279, 301, -279, -279, -279, + 0, 0, 0, -279, -279, 0, -279, 0, 0, 0, + -279, 0, -279, -279, -279, -279, -279, -279, -279, -279, + -279, -279, -279, 0, -279, 0, 0, -279, 0, -279, + -279, 0, 0, 0, 0, 0, -279, 0, 0, -279, + 0, 0, 0, 0, -279, -279, -279, 0, 0, 0, + -279, -279, 0, 0, 0, -279, -279, 0, 0, 0, + -279, 0, -279, -279, 0, 0, 0, -279, -279, 0, + 0, -279, 0, -279, -260, -279, -279, 767, -279, -279, + -279, 0, 0, 0, -279, -279, 0, -279, 0, 0, + 0, -279, 0, -279, -279, -279, -279, -279, -279, -279, + -279, -279, -279, -279, 0, -279, 0, 0, -279, 0, + -279, -279, 0, 0, 0, 0, 0, -279, 0, 0, + -279, 0, 0, 0, 0, -279, -279, -279, 0, 0, + 0, -279, -279, 0, 0, 0, -279, -279, 0, 0, + 0, -279, 0, -279, -279, 0, 0, 0, -279, -279, + 0, 0, -279, 0, -279, 0, -279, -279, 793, -279, + -289, -289, 0, 0, 0, -289, -289, 0, -289, 0, + 0, 0, -289, 0, -289, -289, -289, -289, -289, -289, + -289, -289, -289, -289, -289, 0, -289, 0, 0, -289, + 0, -289, -289, 0, 0, 0, 0, 0, -289, 0, + 0, -289, 0, 0, 0, 0, -289, -289, -289, 0, + 0, 0, -289, -289, 0, 0, 0, -289, -289, 0, + 0, 0, -289, 0, -289, -289, 0, 0, 0, -289, + -289, 0, 0, -289, 0, -289, 0, -289, -289, 223, + -289, 87, 5, 0, 7, 123, 88, 89, 0, 90, + 9, 10, 11, 238, 239, 240, 241, 242, 243, 244, + 245, 246, 247, 248, 249, 250, 13, 91, 0, 0, + 92, 0, 93, 94, 0, 0, 0, 0, 0, 95, + 0, 0, 96, 0, 0, 0, 0, 97, 98, 99, + 0, 0, 0, 100, 101, 0, 0, 0, 102, 103, + 0, 0, 0, 104, 0, 105, 19, 0, 0, 0, + 106, 21, 0, 0, 107, 0, 0, 0, 108, 109, + 542, -85, 543, 43, 0, 0, 0, 88, 89, 236, + 90, 237, 238, 239, 240, 241, 242, 243, 244, 245, + 246, 247, 248, 249, 250, 0, 0, 0, 91, 0, + 0, 92, 0, 93, 94, 0, 0, 0, 0, 0, + 95, 0, 0, 96, 0, 0, 0, 0, 97, 98, + 99, 0, 0, 0, 100, 101, 0, 0, 0, 102, + 103, 0, 0, 0, 104, 0, 105, 44, 0, 0, + 0, 106, 45, 0, 0, 107, 0, 0, 615, 108, + 109, 542, 544, 543, 43, 0, 0, 0, 88, 89, + 0, 90, 239, 240, 241, 242, 243, 244, 245, 246, + 247, 248, 249, 250, 0, 0, 0, 0, 0, 91, + 0, 0, 92, 0, 93, 94, 0, 0, 0, 0, + 0, 95, 0, 0, 96, 0, 0, 0, 0, 97, + 98, 99, 0, 0, 0, 100, 101, 0, 0, 0, + 102, 103, 0, 0, 0, 104, 0, 105, 44, 0, + 0, 0, 106, 45, 0, 0, 107, 0, 0, -216, + 108, 109, 542, 544, 543, 43, 0, 0, 0, 88, + 89, 0, 90, 240, 241, 242, 243, 244, 245, 246, + 247, 248, 249, 250, 0, 0, 0, 0, 0, 0, + 91, 0, 0, 92, 0, 93, 94, 0, 0, 0, + 0, 0, 95, 0, 0, 96, 0, 0, 0, 0, + 97, 98, 99, 0, 0, 0, 100, 101, 0, 0, + 0, 102, 103, 0, 0, 0, 104, 0, 105, 44, + 0, 0, 0, 106, 45, 0, 0, 107, 0, 0, + 730, 108, 109, 542, 544, 543, 43, 0, 0, 0, + 88, 89, 0, 90, 243, 244, 245, 246, 247, 248, + 249, 250, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 91, 0, 0, 92, 0, 93, 94, 0, 0, + 0, 0, 0, 95, 0, 0, 96, 0, 0, 0, + 0, 97, 98, 99, 0, 0, 0, 100, 101, 0, + 0, 0, 102, 103, 0, 0, 0, 104, 0, 105, + 44, 0, 0, 0, 106, 45, 0, 0, 107, 542, + 0, 87, 108, 109, 0, 544, 88, 89, 177, 90, + 0, -27, -27, -27, -27, 0, 0, 0, 0, -27, + -27, -27, 0, 0, 0, 0, 0, 91, 0, 0, + 92, 0, 93, 94, 178, -27, 0, 0, -153, 95, + 0, 0, 96, 0, -153, 0, 0, 97, 98, 99, + 0, 0, 0, 100, 101, 0, 0, 0, 102, 103, + 0, 0, 0, 104, 0, 105, 0, 179, 180, 0, + 106, 0, 0, 0, 107, -27, 0, 0, 108, 109, + -27, 544, 0, 0, 0, -153, 0, 0, 319, -153, + -27, -23, -23, -23, -23, 0, 0, 0, 0, -23, + -23, -23, 0, 0, 87, 0, 0, 0, 0, 88, + 89, 0, 90, 0, 178, -23, 301, 0, -153, -440, + -440, -440, -440, 0, -153, 0, 0, -440, -440, -440, + 91, 0, 0, 92, 0, 93, 94, 0, 0, 0, + 0, 0, 95, -440, 0, 96, 0, 179, 180, 0, + 97, 98, 99, 0, 0, -23, 100, 101, 0, 0, + -23, 102, 103, 0, 0, -153, 104, 0, 105, -153, + -23, 0, 0, 106, 0, 0, 0, 107, 0, 0, + 0, 108, 109, -440, 87, 299, 0, 0, -440, 88, + 89, 404, 90, 405, 5, 6, 7, 8, -440, 0, + 406, 0, 9, 10, 11, 0, 0, 0, 0, 0, + 91, 0, 0, 92, 0, 93, 94, 0, 13, 0, + 0, 0, 95, 0, 0, 96, 0, 0, 0, 0, + 97, 98, 99, 0, 0, 0, 100, 101, 0, 0, + 0, 102, 103, 0, 87, 0, 104, 0, 105, 88, + 89, 0, 90, 106, 0, 0, 0, 107, 19, 0, + 0, 108, 109, 21, 0, 378, 0, -339, 0, 0, + 91, 0, 0, 92, 0, 93, 94, 0, 0, 0, + 0, 0, 95, 0, 0, 96, 0, 0, 0, 0, + 97, 98, 99, 0, 0, 0, 100, 101, 0, 0, + 0, 102, 103, 0, 87, 0, 104, 0, 105, 88, + 89, 0, 90, 106, 0, 0, 0, 107, 0, 0, + 0, 108, 109, 0, 0, 430, 0, 0, 0, 0, + 91, 0, 0, 92, 0, 93, 94, 0, 0, 0, + 0, 0, 95, 0, 0, 96, 0, 0, 0, 0, + 97, 98, 99, 0, 0, 0, 100, 101, 0, 0, + 0, 102, 103, 0, 87, 0, 104, 0, 105, 88, + 89, 0, 90, 106, 0, 0, 0, 107, 0, 0, + 0, 108, 109, 0, 0, 466, 0, 0, 0, 0, + 91, 0, 0, 92, 0, 93, 94, 0, 0, 0, + 0, 0, 95, 0, 0, 96, 0, 0, 0, 0, + 97, 98, 99, 0, 0, 0, 100, 101, 0, 0, + 0, 102, 103, 0, 0, 0, 104, 0, 105, 0, + 0, 0, 0, 106, 0, 0, 0, 107, 0, 0, + 0, 108, 109, 0, 0, 647, 543, 700, 6, 7, + 8, 88, 89, 0, 90, 9, 10, 11, 701, 0, + 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, + 712, 13, 91, 0, 0, 92, 0, 93, 94, 0, + 0, 0, 0, 0, 95, 0, 0, 96, 0, 0, + 0, 0, 97, 98, 99, 0, 0, 0, 100, 101, + 0, 0, 0, 102, 103, 0, 0, 0, 104, 0, + 105, 713, 0, 0, 0, 106, 714, 0, 0, 107, + 0, 715, 0, 108, 109, 0, 336, 543, 43, 0, + 0, 0, 88, 89, 0, 90, 0, 0, 0, 701, + 0, 702, 703, 704, 705, 706, 707, 708, 709, 710, + 711, 712, 5, 91, 7, 123, 92, 0, 93, 94, + 9, 10, 11, 0, 0, 95, 0, 0, 96, 0, + 0, 0, 0, 97, 98, 99, 13, 0, 0, 100, + 101, 0, 87, 0, 102, 103, 0, 88, 89, 104, + 90, 105, 44, 0, 0, 0, 106, 45, 0, 0, + 107, 0, 715, 0, 108, 109, 0, 336, 91, 0, + 0, 92, 0, 93, 94, 0, 19, 0, 0, 0, + 95, 21, 0, 96, 0, 0, 0, 0, 97, 98, + 99, 0, 0, 0, 100, 101, 0, 0, 0, 102, + 103, 0, 0, 0, 104, 0, 105, 0, 0, 0, + 0, 106, 0, 0, 0, 107, 0, 0, 0, 108, + 109, 0, 449, 129, 130, 0, 131, 132, 0, 0, + 0, 133, 134, 135, 136, 137, 138, 139, 140, 141, + 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, + 0, 0, 0, 0, 0, 0, 0, 87, 5, 152, + 7, 123, 88, 89, 0, 90, 9, 10, 11, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 13, 91, 0, 0, 92, 0, 93, 94, + 0, 0, 0, 154, 0, 95, 0, 0, 96, 0, + 0, 0, 274, 97, 98, 99, 0, 0, 0, 100, + 101, 0, 87, 0, 102, 103, 0, 88, 89, 104, + 90, 105, 19, 0, 0, 0, 106, 21, 0, 0, + 107, 0, 0, 0, 108, 109, 0, 5, 91, 7, + 267, 92, 0, 93, 94, 9, 10, 11, 0, 0, + 95, 0, 0, 96, 0, 0, 0, 0, 97, 98, + 99, 13, 0, 0, 100, 101, 0, 87, 0, 102, + 103, 0, 88, 89, 104, 90, 105, 339, 0, 0, + 0, 106, 0, 0, 0, 107, 0, 0, 0, 108, + 109, 0, 0, 91, 0, 0, 92, 0, 93, 94, + 0, 19, 0, 0, 0, 95, 21, 0, 96, 0, + 0, 0, 0, 97, 98, 99, 0, 0, 0, 100, + 101, 0, 87, 0, 102, 103, 0, 88, 89, 104, + 90, 105, 0, 0, 0, 0, 106, 0, 0, 0, + 107, 0, 754, 0, 108, 109, 0, 0, 91, 0, + 0, 92, 0, 93, 94, 0, 87, 0, 0, 0, + 95, 88, 89, 96, 90, 0, 0, 0, 97, 98, + 99, 0, 0, 0, 100, 101, 0, 0, 0, 102, + 103, 0, 91, 0, 104, 92, 105, 93, 94, 0, + 0, 106, 0, 0, 95, 107, 0, 96, 0, 108, + 109, 0, 97, 98, 99, 0, 0, 0, 100, 101, + 0, 87, 0, 214, 103, 0, 88, 89, 104, 90, + 105, 0, 0, 0, 0, 106, 0, 0, 0, 107, + 0, 0, 0, 108, 109, 0, 0, 91, 0, 0, + 92, 0, 93, 94, 0, 0, 0, 0, 0, 95, + 0, 0, 96, 0, 0, 0, 0, 97, 98, 99, + 0, 0, 0, 100, 101, 0, 0, 0, 216, 103, + 0, 0, 0, 104, 0, 105, 0, 0, 0, 0, + 106, 0, 0, 0, 107, 0, 0, 501, 108, 109, + 5, 0, 7, 123, 0, 0, 0, 0, 9, 10, + 11, 0, 0, 0, 501, 0, 0, 5, 0, 7, + 123, 0, 0, 0, 13, 9, 10, 11, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 13, 0, 0, 0, 4, 0, -119, 5, 6, + 7, 8, 0, 0, 0, 0, 9, 10, 11, 0, + 0, 0, 0, 0, 19, -392, -392, -392, 0, 21, + 0, 12, 13, 0, 502, -392, 0, 0, 0, 0, + 0, 19, -391, -391, -391, 0, 21, 0, 0, 0, + 0, 502, -391, 14, 15, -119, 0, 0, 0, 0, + 0, 0, 0, 0, -119, 0, 16, 17, 18, 0, + 0, 0, 19, 0, 0, 0, 20, 21, 22, 23, + 0, 4, 24, -119, 5, 6, 7, 8, 0, 0, + 0, 0, 9, 10, 11, 0, 0, 0, 0, 0, + 4, 0, -119, 5, 6, 7, 8, 0, 13, 0, + 0, 9, 10, 11, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 13, 0, 487, + 488, -119, 0, 404, 0, 0, 5, 6, 7, 8, + -119, 0, 406, 0, 9, 10, 11, 0, 19, 0, + -119, 0, 0, 21, 5, 73, 7, 74, 24, -119, + 13, 0, 9, 10, 11, 0, 0, 19, 0, 0, + 0, 0, 21, 5, 73, 7, 74, 24, 13, 0, + 0, 9, 10, 11, 5, 73, 7, 74, 0, 0, + 0, 0, 9, 10, 11, 0, 0, 13, 0, 0, + 19, 0, 0, 0, 0, 21, 0, 0, 13, -339, + 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, + 0, 0, 0, 21, 0, 0, 0, 0, 560, 0, + 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, + 0, 0, 21, 0, 0, 0, 0, 593, 19, 0, + 0, 129, 130, 21, 131, 132, 0, 0, 764, 133, + 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, + 144, 145, 146, 147, 148, 149, 150, 151, 0, 0, + 129, 130, 0, 131, 132, 0, 0, 152, 133, 134, + 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, + 145, 146, 147, 148, 149, 150, 151, 0, 153, 0, + 0, 0, 0, 0, 0, 0, 342, 0, 0, 129, + 130, 154, 131, 132, 0, 0, 0, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, + 146, 147, 148, 149, 150, 151, 0, 0, 129, 130, + 154, 131, 132, 0, 0, 152, 133, 134, 135, 136, + 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, + 147, 148, 149, 150, 151, 0, 65, 5, 73, 7, + 74, 0, 0, 0, 549, 9, 10, 11, 5, 154, + 7, 267, 0, 0, 0, 0, 9, 10, 11, 0, + 0, 13, 0, 0, 0, 5, 6, 7, 8, 0, + 0, 406, 13, 9, 10, 11, 0, 0, 154, 0, + 0, 0, 0, 0, 515, 0, 0, 0, 0, 13, + 0, 0, 0, 511, 262, 260, 0, 0, 0, 0, + 0, 19, 0, 0, 261, 262, 21, 0, 0, 0, + 0, 0, 19, 5, 6, 7, 8, 21, 0, 587, + 0, 9, 10, 11, 0, 0, 0, 0, 0, 19, + 5, 6, 7, 8, 21, 0, 0, 13, 9, 10, + 11, 0, 0, 0, 0, 0, 307, 0, 0, 0, + 0, 234, 235, 236, 13, 237, 238, 239, 240, 241, + 242, 243, 244, 245, 246, 247, 248, 249, 250, 0, + 0, 0, 0, 0, 781, 0, 0, 19, 0, 0, + 0, 0, 21, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 19, 0, 0, 0, 0, 21, + 234, 235, 236, 782, 237, 238, 239, 240, 241, 242, + 243, 244, 245, 246, 247, 248, 249, 250, 234, 235, + 236, 821, 237, 238, 239, 240, 241, 242, 243, 244, + 245, 246, 247, 248, 249, 250, 234, 235, 236, 0, + 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, + 247, 248, 249, 250 +}; + +static const short yycheck[] = { 52, + 53, 21, 189, 9, 10, 11, 76, 29, 30, 28, + 16, 17, 30, 72, 20, 225, 22, 23, 2, 3, + 2, 3, 157, 296, 255, 315, 55, 83, 83, 184, + 288, 303, 261, 440, 157, 53, 56, 377, 125, 78, + 60, 128, 530, 397, 407, 316, 592, 395, 67, 102, + 265, 176, 58, 185, 748, 102, 1, 76, 64, 50, + 9, 3, 4, 1, 1, 83, 747, 181, 27, 1, + 93, 94, 4, 5, 6, 7, 99, 39, 10, 39, + 12, 13, 14, 31, 102, 49, 50, 110, 1, 95, + 46, 39, 60, 228, 0, 477, 28, 10, 60, 481, + 64, 60, 61, 78, 610, 260, 153, 82, 295, 51, + 128, 0, 600, 794, 386, 39, 3, 77, 60, 27, + 7, 83, 83, 60, 83, 819, 82, 180, 77, 617, + 618, 73, 60, 814, 46, 153, 68, 818, 83, 820, + 78, 73, 78, 3, 4, 374, 152, 495, 829, 531, + 844, 83, 534, 77, 173, 194, 162, 163, 664, 165, + 166, 214, 66, 216, 51, 171, 185, 214, 383, 216, + 83, 3, 4, 60, 227, 83, 857, 309, 39, 3, + 4, 78, 229, 3, 672, 82, 208, 312, 210, 83, + 304, 51, 210, 3, 4, 218, 214, 83, 216, 79, + 314, 3, 4, 256, 476, 612, 320, 60, 68, 262, + 345, 229, 326, 73, 328, 79, 77, 763, 566, 582, + 211, 575, 213, 270, 230, 483, 265, 39, 51, 3, + 4, 51, 39, 7, 46, 60, 68, 60, 61, 46, + 60, 73, 27, 731, 68, 60, 586, 253, 254, 73, + 39, 83, 270, 60, 3, 4, 314, 46, 68, 83, + 280, 668, 320, 73, 317, 79, 68, 539, 82, 3, + 4, 73, 278, 83, 60, 60, 61, 51, 60, 61, + 78, 79, 511, 77, 3, 4, 60, 61, 7, 82, + 309, 39, 233, 234, 235, 77, 237, 238, 239, 240, + 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, + 568, 60, 583, 523, 604, 338, 451, 77, 549, 68, + 407, 408, 82, 78, 73, 77, 60, 82, 381, 9, + 82, 76, 51, 77, 68, 470, 608, 3, 610, 73, + 77, 60, 8, 390, 383, 401, 401, 470, 60, 61, + 83, 3, 4, 582, 73, 510, 585, 3, 4, 77, + 515, 768, 3, 4, 82, 77, 656, 49, 50, 51, + 52, 53, 390, 1, 394, 397, 4, 635, 6, 7, + 321, 78, 7, 401, 12, 13, 14, 39, 407, 408, + 408, 622, 664, 39, 31, 60, 61, 78, 77, 51, + 28, 82, 386, 82, 386, 51, 696, 3, 60, 3, + 51, 7, 77, 397, 60, 397, 60, 552, 82, 60, + 61, 73, 536, 37, 78, 539, 51, 73, 82, 68, + 78, 69, 70, 71, 82, 60, 61, 421, 78, 421, + 68, 79, 82, 449, 78, 73, 69, 70, 71, 471, + 78, 79, 60, 61, 472, 51, 79, 51, 78, 78, + 670, 77, 468, 82, 60, 61, 60, 61, 78, 491, + 492, 490, 82, 78, 492, 733, 78, 82, 537, 77, + 82, 503, 504, 51, 52, 53, 504, 60, 61, 699, + 83, 475, 511, 475, 77, 609, 610, 55, 56, 77, + 58, 59, 60, 61, 574, 527, 528, 78, 449, 10, + 528, 78, 79, 60, 61, 60, 61, 458, 77, 77, + 579, 580, 578, 578, 594, 69, 70, 71, 78, 79, + 64, 584, 538, 90, 91, 79, 77, 83, 544, 27, + 559, 570, 571, 9, 69, 70, 71, 84, 78, 60, + 664, 37, 79, 575, 79, 574, 77, 79, 564, 79, + 578, 77, 77, 582, 77, 79, 585, 39, 1, 77, + 77, 4, 5, 6, 7, 594, 6, 7, 851, 12, + 13, 14, 12, 13, 14, 795, 859, 77, 39, 530, + 77, 575, 84, 575, 27, 28, 77, 64, 31, 809, + 84, 811, 789, 544, 37, 4, 83, 6, 7, 64, + 60, 84, 618, 12, 13, 14, 77, 670, 44, 45, + 46, 47, 48, 49, 50, 51, 52, 53, 687, 28, + 5, 6, 7, 77, 37, 68, 79, 12, 13, 14, + 73, 82, 33, 78, 84, 78, 699, 78, 82, 82, + 83, 3, 77, 3, 660, 78, 39, 710, 39, 600, + 679, 82, 603, 39, 670, 84, 672, 55, 56, 68, + 58, 59, 60, 61, 73, 64, 617, 618, 60, 78, + 79, 79, 79, 39, 64, 77, 670, 82, 670, 79, + 84, 39, 745, 699, 714, 765, 749, 719, 720, 640, + 64, 39, 720, 756, 763, 711, 77, 60, 39, 1, + 78, 60, 4, 5, 6, 7, 657, 60, 771, 78, + 12, 13, 14, 776, 47, 48, 49, 50, 51, 52, + 53, 672, 7, 786, 39, 16, 28, 78, 78, 8, + 60, 78, 795, 78, 60, 686, 765, 45, 46, 47, + 48, 49, 50, 51, 52, 53, 1, 64, 82, 4, + 5, 6, 7, 77, 17, 706, 78, 12, 13, 14, + 4, 5, 6, 7, 77, 77, 68, 78, 12, 13, + 14, 73, 8, 28, 77, 9, 77, 840, 78, 795, + 731, 83, 78, 1, 28, 3, 4, 5, 6, 7, + 8, 9, 78, 11, 12, 13, 14, 15, 60, 17, + 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, + 28, 29, 82, 68, 32, 0, 34, 35, 73, 78, + 77, 77, 0, 41, 68, 78, 44, 78, 83, 73, + 781, 49, 50, 51, 78, 3, 748, 55, 56, 77, + 304, 609, 60, 61, 268, 654, 544, 65, 328, 67, + 68, 324, 536, 322, 72, 73, 609, 203, 76, 540, + 78, 79, 80, 81, 1, 83, 3, 4, 5, 6, + 7, 8, 9, 841, 11, 12, 13, 14, 15, 843, + 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, + 27, 28, 29, 795, 795, 32, 380, 34, 35, 389, + 389, 520, 58, 500, 41, 687, 684, 44, 580, 493, + 475, 279, 49, 50, 51, 679, 622, 470, 55, 56, + 552, -1, 385, 60, 61, 345, 385, -1, 65, -1, + 67, 68, -1, -1, -1, 72, 73, -1, -1, 76, + -1, 78, -1, 80, 81, 1, 83, 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, 34, 35, + -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, + -1, -1, -1, 49, 50, 51, -1, -1, -1, 55, + 56, -1, -1, -1, 60, 61, -1, -1, -1, 65, + -1, 67, 68, -1, -1, -1, 72, 73, -1, -1, + 76, -1, 78, 79, 80, 81, 1, 83, 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, 34, + 35, -1, -1, -1, -1, -1, 41, -1, -1, 44, + -1, -1, -1, -1, 49, 50, 51, -1, -1, -1, + 55, 56, -1, -1, -1, 60, 61, -1, -1, -1, + 65, -1, 67, 68, -1, -1, -1, 72, 73, -1, + -1, 76, -1, 78, 79, 80, 81, 1, 83, 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, + 34, 35, -1, -1, -1, -1, -1, 41, -1, -1, + 44, -1, -1, -1, -1, 49, 50, 51, -1, -1, + -1, 55, 56, -1, -1, -1, 60, 61, -1, -1, + -1, 65, -1, 67, 68, -1, -1, -1, 72, 73, + -1, -1, 76, -1, 78, -1, 80, 81, 1, 83, + 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, 34, 35, -1, -1, -1, -1, -1, 41, -1, + -1, 44, -1, -1, -1, -1, 49, 50, 51, -1, + -1, -1, 55, 56, -1, -1, -1, 60, 61, -1, + -1, -1, 65, -1, 67, 68, -1, -1, -1, 72, + 73, -1, -1, 76, -1, 78, -1, 80, 81, 1, + 83, 3, 4, -1, 6, 7, 8, 9, -1, 11, + 12, 13, 14, 41, 42, 43, 44, 45, 46, 47, + 48, 49, 50, 51, 52, 53, 28, 29, -1, -1, + 32, -1, 34, 35, -1, -1, -1, -1, -1, 41, + -1, -1, 44, -1, -1, -1, -1, 49, 50, 51, + -1, -1, -1, 55, 56, -1, -1, -1, 60, 61, + -1, -1, -1, 65, -1, 67, 68, -1, -1, -1, + 72, 73, -1, -1, 76, -1, -1, -1, 80, 81, + 1, 83, 3, 4, -1, -1, -1, 8, 9, 38, + 11, 40, 41, 42, 43, 44, 45, 46, 47, 48, + 49, 50, 51, 52, 53, -1, -1, -1, 29, -1, + -1, 32, -1, 34, 35, -1, -1, -1, -1, -1, + 41, -1, -1, 44, -1, -1, -1, -1, 49, 50, + 51, -1, -1, -1, 55, 56, -1, -1, -1, 60, + 61, -1, -1, -1, 65, -1, 67, 68, -1, -1, + -1, 72, 73, -1, -1, 76, -1, -1, 79, 80, + 81, 1, 83, 3, 4, -1, -1, -1, 8, 9, + -1, 11, 42, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, 53, -1, -1, -1, -1, -1, 29, + -1, -1, 32, -1, 34, 35, -1, -1, -1, -1, + -1, 41, -1, -1, 44, -1, -1, -1, -1, 49, + 50, 51, -1, -1, -1, 55, 56, -1, -1, -1, + 60, 61, -1, -1, -1, 65, -1, 67, 68, -1, + -1, -1, 72, 73, -1, -1, 76, -1, -1, 79, + 80, 81, 1, 83, 3, 4, -1, -1, -1, 8, + 9, -1, 11, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, 53, -1, -1, -1, -1, -1, -1, + 29, -1, -1, 32, -1, 34, 35, -1, -1, -1, + -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, + 49, 50, 51, -1, -1, -1, 55, 56, -1, -1, + -1, 60, 61, -1, -1, -1, 65, -1, 67, 68, + -1, -1, -1, 72, 73, -1, -1, 76, -1, -1, + 79, 80, 81, 1, 83, 3, 4, -1, -1, -1, + 8, 9, -1, 11, 46, 47, 48, 49, 50, 51, + 52, 53, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 29, -1, -1, 32, -1, 34, 35, -1, -1, + -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, + -1, 49, 50, 51, -1, -1, -1, 55, 56, -1, + -1, -1, 60, 61, -1, -1, -1, 65, -1, 67, + 68, -1, -1, -1, 72, 73, -1, -1, 76, 1, + -1, 3, 80, 81, -1, 83, 8, 9, 1, 11, + -1, 4, 5, 6, 7, -1, -1, -1, -1, 12, + 13, 14, -1, -1, -1, -1, -1, 29, -1, -1, + 32, -1, 34, 35, 27, 28, -1, -1, 31, 41, + -1, -1, 44, -1, 37, -1, -1, 49, 50, 51, + -1, -1, -1, 55, 56, -1, -1, -1, 60, 61, + -1, -1, -1, 65, -1, 67, -1, 60, 61, -1, + 72, -1, -1, -1, 76, 68, -1, -1, 80, 81, + 73, 83, -1, -1, -1, 78, -1, -1, 1, 82, + 83, 4, 5, 6, 7, -1, -1, -1, -1, 12, + 13, 14, -1, -1, 3, -1, -1, -1, -1, 8, + 9, -1, 11, -1, 27, 28, 1, -1, 31, 4, + 5, 6, 7, -1, 37, -1, -1, 12, 13, 14, + 29, -1, -1, 32, -1, 34, 35, -1, -1, -1, + -1, -1, 41, 28, -1, 44, -1, 60, 61, -1, + 49, 50, 51, -1, -1, 68, 55, 56, -1, -1, + 73, 60, 61, -1, -1, 78, 65, -1, 67, 82, + 83, -1, -1, 72, -1, -1, -1, 76, -1, -1, + -1, 80, 81, 68, 3, 84, -1, -1, 73, 8, + 9, 1, 11, 3, 4, 5, 6, 7, 83, -1, + 10, -1, 12, 13, 14, -1, -1, -1, -1, -1, + 29, -1, -1, 32, -1, 34, 35, -1, 28, -1, + -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, + 49, 50, 51, -1, -1, -1, 55, 56, -1, -1, + -1, 60, 61, -1, 3, -1, 65, -1, 67, 8, + 9, -1, 11, 72, -1, -1, -1, 76, 68, -1, + -1, 80, 81, 73, -1, 84, -1, 77, -1, -1, + 29, -1, -1, 32, -1, 34, 35, -1, -1, -1, + -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, + 49, 50, 51, -1, -1, -1, 55, 56, -1, -1, + -1, 60, 61, -1, 3, -1, 65, -1, 67, 8, + 9, -1, 11, 72, -1, -1, -1, 76, -1, -1, + -1, 80, 81, -1, -1, 84, -1, -1, -1, -1, + 29, -1, -1, 32, -1, 34, 35, -1, -1, -1, + -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, + 49, 50, 51, -1, -1, -1, 55, 56, -1, -1, + -1, 60, 61, -1, 3, -1, 65, -1, 67, 8, + 9, -1, 11, 72, -1, -1, -1, 76, -1, -1, + -1, 80, 81, -1, -1, 84, -1, -1, -1, -1, + 29, -1, -1, 32, -1, 34, 35, -1, -1, -1, + -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, + 49, 50, 51, -1, -1, -1, 55, 56, -1, -1, + -1, 60, 61, -1, -1, -1, 65, -1, 67, -1, + -1, -1, -1, 72, -1, -1, -1, 76, -1, -1, + -1, 80, 81, -1, -1, 84, 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, 34, 35, -1, + -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, + -1, -1, 49, 50, 51, -1, -1, -1, 55, 56, + -1, -1, -1, 60, 61, -1, -1, -1, 65, -1, + 67, 68, -1, -1, -1, 72, 73, -1, -1, 76, + -1, 78, -1, 80, 81, -1, 83, 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, 4, 29, 6, 7, 32, -1, 34, 35, + 12, 13, 14, -1, -1, 41, -1, -1, 44, -1, + -1, -1, -1, 49, 50, 51, 28, -1, -1, 55, + 56, -1, 3, -1, 60, 61, -1, 8, 9, 65, + 11, 67, 68, -1, -1, -1, 72, 73, -1, -1, + 76, -1, 78, -1, 80, 81, -1, 83, 29, -1, + -1, 32, -1, 34, 35, -1, 68, -1, -1, -1, + 41, 73, -1, 44, -1, -1, -1, -1, 49, 50, + 51, -1, -1, -1, 55, 56, -1, -1, -1, 60, + 61, -1, -1, -1, 65, -1, 67, -1, -1, -1, + -1, 72, -1, -1, -1, 76, -1, -1, -1, 80, + 81, -1, 83, 3, 4, -1, 6, 7, -1, -1, + -1, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + -1, -1, -1, -1, -1, -1, -1, 3, 4, 39, + 6, 7, 8, 9, -1, 11, 12, 13, 14, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 28, 29, -1, -1, 32, -1, 34, 35, + -1, -1, -1, 73, -1, 41, -1, -1, 44, -1, + -1, -1, 82, 49, 50, 51, -1, -1, -1, 55, + 56, -1, 3, -1, 60, 61, -1, 8, 9, 65, + 11, 67, 68, -1, -1, -1, 72, 73, -1, -1, + 76, -1, -1, -1, 80, 81, -1, 4, 29, 6, + 7, 32, -1, 34, 35, 12, 13, 14, -1, -1, + 41, -1, -1, 44, -1, -1, -1, -1, 49, 50, + 51, 28, -1, -1, 55, 56, -1, 3, -1, 60, + 61, -1, 8, 9, 65, 11, 67, 68, -1, -1, + -1, 72, -1, -1, -1, 76, -1, -1, -1, 80, + 81, -1, -1, 29, -1, -1, 32, -1, 34, 35, + -1, 68, -1, -1, -1, 41, 73, -1, 44, -1, + -1, -1, -1, 49, 50, 51, -1, -1, -1, 55, + 56, -1, 3, -1, 60, 61, -1, 8, 9, 65, + 11, 67, -1, -1, -1, -1, 72, -1, -1, -1, + 76, -1, 78, -1, 80, 81, -1, -1, 29, -1, + -1, 32, -1, 34, 35, -1, 3, -1, -1, -1, + 41, 8, 9, 44, 11, -1, -1, -1, 49, 50, + 51, -1, -1, -1, 55, 56, -1, -1, -1, 60, + 61, -1, 29, -1, 65, 32, 67, 34, 35, -1, + -1, 72, -1, -1, 41, 76, -1, 44, -1, 80, + 81, -1, 49, 50, 51, -1, -1, -1, 55, 56, + -1, 3, -1, 60, 61, -1, 8, 9, 65, 11, + 67, -1, -1, -1, -1, 72, -1, -1, -1, 76, + -1, -1, -1, 80, 81, -1, -1, 29, -1, -1, + 32, -1, 34, 35, -1, -1, -1, -1, -1, 41, + -1, -1, 44, -1, -1, -1, -1, 49, 50, 51, + -1, -1, -1, 55, 56, -1, -1, -1, 60, 61, + -1, -1, -1, 65, -1, 67, -1, -1, -1, -1, + 72, -1, -1, -1, 76, -1, -1, 1, 80, 81, + 4, -1, 6, 7, -1, -1, -1, -1, 12, 13, + 14, -1, -1, -1, 1, -1, -1, 4, -1, 6, + 7, -1, -1, -1, 28, 12, 13, 14, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 28, -1, -1, -1, 1, -1, 3, 4, 5, + 6, 7, -1, -1, -1, -1, 12, 13, 14, -1, + -1, -1, -1, -1, 68, 69, 70, 71, -1, 73, + -1, 27, 28, -1, 78, 79, -1, -1, -1, -1, + -1, 68, 69, 70, 71, -1, 73, -1, -1, -1, + -1, 78, 79, 49, 50, 51, -1, -1, -1, -1, + -1, -1, -1, -1, 60, -1, 62, 63, 64, -1, + -1, -1, 68, -1, -1, -1, 72, 73, 74, 75, + -1, 1, 78, 3, 4, 5, 6, 7, -1, -1, + -1, -1, 12, 13, 14, -1, -1, -1, -1, -1, + 1, -1, 3, 4, 5, 6, 7, -1, 28, -1, + -1, 12, 13, 14, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 28, -1, 49, + 50, 51, -1, 1, -1, -1, 4, 5, 6, 7, + 60, -1, 10, -1, 12, 13, 14, -1, 68, -1, + 51, -1, -1, 73, 4, 5, 6, 7, 78, 60, + 28, -1, 12, 13, 14, -1, -1, 68, -1, -1, + -1, -1, 73, 4, 5, 6, 7, 78, 28, -1, + -1, 12, 13, 14, 4, 5, 6, 7, -1, -1, + -1, -1, 12, 13, 14, -1, -1, 28, -1, -1, + 68, -1, -1, -1, -1, 73, -1, -1, 28, 77, + -1, -1, -1, -1, -1, -1, -1, -1, 68, -1, + -1, -1, -1, 73, -1, -1, -1, -1, 78, -1, + -1, -1, -1, -1, -1, -1, -1, 68, -1, -1, + -1, -1, 73, -1, -1, -1, -1, 78, 68, -1, + -1, 3, 4, 73, 6, 7, -1, -1, 78, 11, + 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, + 22, 23, 24, 25, 26, 27, 28, 29, -1, -1, + 3, 4, -1, 6, 7, -1, -1, 39, 11, 12, + 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, + 23, 24, 25, 26, 27, 28, 29, -1, 60, -1, + -1, -1, -1, -1, -1, -1, 39, -1, -1, 3, + 4, 73, 6, 7, -1, -1, -1, 11, 12, 13, + 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, + 24, 25, 26, 27, 28, 29, -1, -1, 3, 4, + 73, 6, 7, -1, -1, 39, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, -1, 3, 4, 5, 6, + 7, -1, -1, -1, 39, 12, 13, 14, 4, 73, + 6, 7, -1, -1, -1, -1, 12, 13, 14, -1, + -1, 28, -1, -1, -1, 4, 5, 6, 7, -1, + -1, 10, 28, 12, 13, 14, -1, -1, 73, -1, + -1, -1, -1, -1, 51, -1, -1, -1, -1, 28, + -1, -1, -1, 60, 61, 51, -1, -1, -1, -1, + -1, 68, -1, -1, 60, 61, 73, -1, -1, -1, + -1, -1, 68, 4, 5, 6, 7, 73, -1, 10, + -1, 12, 13, 14, -1, -1, -1, -1, -1, 68, + 4, 5, 6, 7, 73, -1, -1, 28, 12, 13, + 14, -1, -1, -1, -1, -1, 31, -1, -1, -1, + -1, 36, 37, 38, 28, 40, 41, 42, 43, 44, + 45, 46, 47, 48, 49, 50, 51, 52, 53, -1, + -1, -1, -1, -1, 10, -1, -1, 68, -1, -1, + -1, -1, 73, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 68, -1, -1, -1, -1, 73, + 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 51, 52, 53, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, + 48, 49, 50, 51, 52, 53, 36, 37, 38, -1, + 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, 53 +}; +/* -*-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 228 "objc-parse.y" +{ if (pedantic) + pedwarn ("ANSI C forbids an empty source file"); + objc_finish (); + ; + break;} +case 2: +#line 233 "objc-parse.y" +{ + /* In case there were missing closebraces, + get us back to the global binding level. */ + while (! global_bindings_p ()) + poplevel (0, 0, 0); + objc_finish (); + ; + break;} +case 3: +#line 247 "objc-parse.y" +{yyval.ttype = NULL_TREE; ; + break;} +case 5: +#line 248 "objc-parse.y" +{yyval.ttype = NULL_TREE; ; + break;} +case 10: +#line 256 "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 267 "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 272 "objc-parse.y" +{; + break;} +case 13: +#line 274 "objc-parse.y" +{; + break;} +case 14: +#line 276 "objc-parse.y" +{ pedwarn ("empty declaration"); ; + break;} +case 15: +#line 278 "objc-parse.y" +{ shadow_tag (yyvsp[-1].ttype); ; + break;} +case 18: +#line 282 "objc-parse.y" +{ if (pedantic) + pedwarn ("ANSI C does not allow extra `;' outside of a function"); ; + break;} +case 19: +#line 288 "objc-parse.y" +{ if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, 0)) + YYERROR1; + reinit_parse_for_function (); ; + break;} +case 20: +#line 292 "objc-parse.y" +{ store_parm_decls (); ; + break;} +case 21: +#line 294 "objc-parse.y" +{ finish_function (0); ; + break;} +case 22: +#line 296 "objc-parse.y" +{ ; + break;} +case 23: +#line 298 "objc-parse.y" +{ if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, 0)) + YYERROR1; + reinit_parse_for_function (); ; + break;} +case 24: +#line 302 "objc-parse.y" +{ store_parm_decls (); ; + break;} +case 25: +#line 304 "objc-parse.y" +{ finish_function (0); ; + break;} +case 26: +#line 306 "objc-parse.y" +{ ; + break;} +case 27: +#line 308 "objc-parse.y" +{ if (! start_function (NULL_TREE, yyvsp[0].ttype, 0)) + YYERROR1; + reinit_parse_for_function (); ; + break;} +case 28: +#line 312 "objc-parse.y" +{ store_parm_decls (); ; + break;} +case 29: +#line 314 "objc-parse.y" +{ finish_function (0); ; + break;} +case 30: +#line 316 "objc-parse.y" +{ ; + break;} +case 35: +#line 327 "objc-parse.y" +{ yyval.code = ADDR_EXPR; ; + break;} +case 36: +#line 329 "objc-parse.y" +{ yyval.code = NEGATE_EXPR; ; + break;} +case 37: +#line 331 "objc-parse.y" +{ yyval.code = CONVERT_EXPR; ; + break;} +case 38: +#line 333 "objc-parse.y" +{ yyval.code = PREINCREMENT_EXPR; ; + break;} +case 39: +#line 335 "objc-parse.y" +{ yyval.code = PREDECREMENT_EXPR; ; + break;} +case 40: +#line 337 "objc-parse.y" +{ yyval.code = BIT_NOT_EXPR; ; + break;} +case 41: +#line 339 "objc-parse.y" +{ yyval.code = TRUTH_NOT_EXPR; ; + break;} +case 42: +#line 343 "objc-parse.y" +{ yyval.ttype = build_compound_expr (yyvsp[0].ttype); ; + break;} +case 43: +#line 348 "objc-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 45: +#line 354 "objc-parse.y" +{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; + break;} +case 46: +#line 356 "objc-parse.y" +{ chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; + break;} +case 48: +#line 362 "objc-parse.y" +{ yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ; + break;} +case 49: +#line 365 "objc-parse.y" +{ yyvsp[0].itype = pedantic; + pedantic = 0; ; + break;} +case 50: +#line 368 "objc-parse.y" +{ yyval.ttype = yyvsp[0].ttype; + pedantic = yyvsp[-2].itype; ; + break;} +case 51: +#line 371 "objc-parse.y" +{ yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0); + overflow_warning (yyval.ttype); ; + break;} +case 52: +#line 375 "objc-parse.y" +{ tree label = lookup_label (yyvsp[0].ttype); + if (label == 0) + yyval.ttype = null_pointer_node; + else + { + TREE_USED (label) = 1; + yyval.ttype = build1 (ADDR_EXPR, ptr_type_node, label); + TREE_CONSTANT (yyval.ttype) = 1; + } + ; + break;} +case 53: +#line 401 "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 54: +#line 406 "objc-parse.y" +{ yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ; + break;} +case 55: +#line 408 "objc-parse.y" +{ yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ; + break;} +case 56: +#line 410 "objc-parse.y" +{ yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ; + break;} +case 57: +#line 412 "objc-parse.y" +{ yyval.ttype = build_unary_op (REALPART_EXPR, yyvsp[0].ttype, 0); ; + break;} +case 58: +#line 414 "objc-parse.y" +{ yyval.ttype = build_unary_op (IMAGPART_EXPR, yyvsp[0].ttype, 0); ; + break;} +case 60: +#line 420 "objc-parse.y" +{ tree type = groktypename (yyvsp[-2].ttype); + yyval.ttype = build_c_cast (type, yyvsp[0].ttype); ; + break;} +case 61: +#line 423 "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 63: +#line 450 "objc-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 64: +#line 452 "objc-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 65: +#line 454 "objc-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 66: +#line 456 "objc-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 67: +#line 458 "objc-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 68: +#line 460 "objc-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 69: +#line 462 "objc-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 70: +#line 464 "objc-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 71: +#line 466 "objc-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 72: +#line 468 "objc-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 73: +#line 470 "objc-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 74: +#line 472 "objc-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 75: +#line 474 "objc-parse.y" +{ yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 76: +#line 476 "objc-parse.y" +{ yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 77: +#line 478 "objc-parse.y" +{ yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 78: +#line 480 "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 79: +#line 483 "objc-parse.y" +{ yyval.ttype = build_modify_expr (yyvsp[-2].ttype, yyvsp[-1].code, yyvsp[0].ttype); + /* This inhibits warnings in truthvalue_conversion. */ + C_SET_EXP_ORIGINAL_CODE (yyval.ttype, ERROR_MARK); ; + break;} +case 80: +#line 490 "objc-parse.y" +{ + tree context; + + yyval.ttype = lastiddecl; + if (!yyval.ttype || yyval.ttype == error_mark_node) + { + if (yychar == YYEMPTY) + yychar = YYLEX; + if (yychar == '(') + { + tree decl; + + if (objc_receiver_context + && ! (objc_receiver_context + && strcmp (IDENTIFIER_POINTER (yyvsp[0].ttype), "super"))) + /* we have a message to super */ + yyval.ttype = get_super_receiver (); + else if (objc_method_context + && (decl = is_ivar (objc_ivar_chain, yyvsp[0].ttype))) + { + if (is_private (decl)) + yyval.ttype = error_mark_node; + else + yyval.ttype = build_ivar_reference (yyvsp[0].ttype); + } + else + { + /* Ordinary implicit function declaration. */ + yyval.ttype = implicitly_declare (yyvsp[0].ttype); + assemble_external (yyval.ttype); + TREE_USED (yyval.ttype) = 1; + } + } + else if (current_function_decl == 0) + { + error ("`%s' undeclared here (not in a function)", + IDENTIFIER_POINTER (yyvsp[0].ttype)); + yyval.ttype = error_mark_node; + } + else + { + tree decl; + + if (objc_receiver_context + && ! strcmp (IDENTIFIER_POINTER (yyvsp[0].ttype), "super")) + /* we have a message to super */ + yyval.ttype = get_super_receiver (); + else if (objc_method_context + && (decl = is_ivar (objc_ivar_chain, yyvsp[0].ttype))) + { + if (is_private (decl)) + yyval.ttype = error_mark_node; + else + yyval.ttype = build_ivar_reference (yyvsp[0].ttype); + } + else + { + if (IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) != error_mark_node + || IDENTIFIER_ERROR_LOCUS (yyvsp[0].ttype) != current_function_decl) + { + error ("`%s' undeclared (first use this function)", + IDENTIFIER_POINTER (yyvsp[0].ttype)); + + if (! undeclared_variable_notice) + { + error ("(Each undeclared identifier is reported only once"); + error ("for each function it appears in.)"); + undeclared_variable_notice = 1; + } + } + yyval.ttype = error_mark_node; + /* Prevent repeated error messages. */ + IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) = error_mark_node; + IDENTIFIER_ERROR_LOCUS (yyvsp[0].ttype) = current_function_decl; + } + } + } + else if (TREE_TYPE (yyval.ttype) == error_mark_node) + yyval.ttype = error_mark_node; + else if (C_DECL_ANTICIPATED (yyval.ttype)) + { + /* The first time we see a build-in function used, + if it has not been declared. */ + C_DECL_ANTICIPATED (yyval.ttype) = 0; + if (yychar == YYEMPTY) + yychar = YYLEX; + if (yychar == '(') + { + /* Omit the implicit declaration we + would ordinarily do, so we don't lose + the actual built in type. + But print a diagnostic for the mismatch. */ + if (objc_method_context + && is_ivar (objc_ivar_chain, yyvsp[0].ttype)) + error ("Instance variable `%s' implicitly declared as function", + IDENTIFIER_POINTER (DECL_NAME (yyval.ttype))); + else + if (TREE_CODE (yyval.ttype) != FUNCTION_DECL) + error ("`%s' implicitly declared as function", + IDENTIFIER_POINTER (DECL_NAME (yyval.ttype))); + else if ((TYPE_MODE (TREE_TYPE (TREE_TYPE (yyval.ttype))) + != TYPE_MODE (integer_type_node)) + && (TREE_TYPE (TREE_TYPE (yyval.ttype)) + != void_type_node)) + pedwarn ("type mismatch in implicit declaration for built-in function `%s'", + IDENTIFIER_POINTER (DECL_NAME (yyval.ttype))); + /* If it really returns void, change that to int. */ + if (TREE_TYPE (TREE_TYPE (yyval.ttype)) == void_type_node) + TREE_TYPE (yyval.ttype) + = build_function_type (integer_type_node, + TYPE_ARG_TYPES (TREE_TYPE (yyval.ttype))); + } + else + pedwarn ("built-in function `%s' used without declaration", + IDENTIFIER_POINTER (DECL_NAME (yyval.ttype))); + + /* Do what we would ordinarily do when a fn is used. */ + assemble_external (yyval.ttype); + TREE_USED (yyval.ttype) = 1; + } + else + { + assemble_external (yyval.ttype); + TREE_USED (yyval.ttype) = 1; + /* we have a definition - still check if iVariable */ + + if (!objc_receiver_context + || (objc_receiver_context + && strcmp (IDENTIFIER_POINTER (yyvsp[0].ttype), "super"))) + { + tree decl; + + if (objc_method_context + && (decl = is_ivar (objc_ivar_chain, yyvsp[0].ttype))) + { + if (IDENTIFIER_LOCAL_VALUE (yyvsp[0].ttype)) + warning ("local declaration of `%s' hides instance variable", + IDENTIFIER_POINTER (yyvsp[0].ttype)); + else + { + if (is_private (decl)) + yyval.ttype = error_mark_node; + else + yyval.ttype = build_ivar_reference (yyvsp[0].ttype); + } + } + } + else /* we have a message to super */ + yyval.ttype = get_super_receiver (); + } + + if (TREE_CODE (yyval.ttype) == CONST_DECL) + { + yyval.ttype = DECL_INITIAL (yyval.ttype); + /* This is to prevent an enum whose value is 0 + from being considered a null pointer constant. */ + yyval.ttype = build1 (NOP_EXPR, TREE_TYPE (yyval.ttype), yyval.ttype); + TREE_CONSTANT (yyval.ttype) = 1; + } + ; + break;} +case 82: +#line 652 "objc-parse.y" +{ yyval.ttype = combine_strings (yyvsp[0].ttype); ; + break;} +case 83: +#line 654 "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 84: +#line 660 "objc-parse.y" +{ yyval.ttype = error_mark_node; ; + break;} +case 85: +#line 662 "objc-parse.y" +{ if (current_function_decl == 0) + { + error ("braced-group within expression allowed only inside a function"); + YYERROR; + } + /* We must force a BLOCK for this level + so that, if it is not expanded later, + there is a way to turn off the entire subtree of blocks + that are contained in it. */ + keep_next_level (); + push_iterator_stack (); + push_label_level (); + yyval.ttype = expand_start_stmt_expr (); ; + break;} +case 86: +#line 676 "objc-parse.y" +{ tree rtl_exp; + if (pedantic) + pedwarn ("ANSI C forbids braced-groups within expressions"); + pop_iterator_stack (); + pop_label_level (); + rtl_exp = expand_end_stmt_expr (yyvsp[-2].ttype); + /* The statements have side effects, so the group does. */ + TREE_SIDE_EFFECTS (rtl_exp) = 1; + + /* 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 87: +#line 694 "objc-parse.y" +{ yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ; + break;} +case 88: +#line 696 "objc-parse.y" +{ yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ; + break;} +case 89: +#line 698 "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 90: +#line 710 "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 91: +#line 724 "objc-parse.y" +{ yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ; + break;} +case 92: +#line 726 "objc-parse.y" +{ yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ; + break;} +case 93: +#line 728 "objc-parse.y" +{ yyval.ttype = build_message_expr (yyvsp[0].ttype); ; + break;} +case 94: +#line 730 "objc-parse.y" +{ yyval.ttype = build_selector_expr (yyvsp[0].ttype); ; + break;} +case 95: +#line 732 "objc-parse.y" +{ yyval.ttype = build_protocol_expr (yyvsp[0].ttype); ; + break;} +case 96: +#line 734 "objc-parse.y" +{ yyval.ttype = build_encode_expr (yyvsp[0].ttype); ; + break;} +case 97: +#line 736 "objc-parse.y" +{ yyval.ttype = build_objc_string_object (yyvsp[0].ttype); ; + break;} +case 99: +#line 743 "objc-parse.y" +{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 101: +#line 751 "objc-parse.y" +{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 104: +#line 759 "objc-parse.y" +{ c_mark_varargs (); + if (pedantic) + pedwarn ("ANSI C does not permit use of `varargs.h'"); ; + break;} +case 105: +#line 769 "objc-parse.y" +{ ; + break;} +case 110: +#line 781 "objc-parse.y" +{ current_declspecs = TREE_VALUE (declspec_stack); + declspec_stack = TREE_CHAIN (declspec_stack); + resume_momentary (yyvsp[-2].itype); ; + break;} +case 111: +#line 785 "objc-parse.y" +{ current_declspecs = TREE_VALUE (declspec_stack); + declspec_stack = TREE_CHAIN (declspec_stack); + resume_momentary (yyvsp[-2].itype); ; + break;} +case 112: +#line 789 "objc-parse.y" +{ shadow_tag_warned (yyvsp[-1].ttype, 1); + pedwarn ("empty declaration"); ; + break;} +case 113: +#line 792 "objc-parse.y" +{ pedwarn ("empty declaration"); ; + break;} +case 114: +#line 801 "objc-parse.y" +{ ; + break;} +case 119: +#line 816 "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 120: +#line 825 "objc-parse.y" +{ current_declspecs = TREE_VALUE (declspec_stack); + declspec_stack = TREE_CHAIN (declspec_stack); + resume_momentary (yyvsp[-2].itype); ; + break;} +case 121: +#line 829 "objc-parse.y" +{ current_declspecs = TREE_VALUE (declspec_stack); + declspec_stack = TREE_CHAIN (declspec_stack); + resume_momentary (yyvsp[-2].itype); ; + break;} +case 122: +#line 833 "objc-parse.y" +{ current_declspecs = TREE_VALUE (declspec_stack); + declspec_stack = TREE_CHAIN (declspec_stack); + resume_momentary (yyvsp[-1].itype); ; + break;} +case 123: +#line 837 "objc-parse.y" +{ current_declspecs = TREE_VALUE (declspec_stack); + declspec_stack = TREE_CHAIN (declspec_stack); + resume_momentary (yyvsp[-1].itype); ; + break;} +case 124: +#line 841 "objc-parse.y" +{ shadow_tag (yyvsp[-1].ttype); ; + break;} +case 125: +#line 843 "objc-parse.y" +{ pedwarn ("empty declaration"); ; + break;} +case 126: +#line 852 "objc-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 127: +#line 854 "objc-parse.y" +{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ; + break;} +case 128: +#line 858 "objc-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 129: +#line 860 "objc-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; + break;} +case 130: +#line 862 "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 131: +#line 874 "objc-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); + TREE_STATIC (yyval.ttype) = 1; ; + break;} +case 132: +#line 877 "objc-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; + break;} +case 133: +#line 879 "objc-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ; + break;} +case 134: +#line 882 "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 135: +#line 896 "objc-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 136: +#line 898 "objc-parse.y" +{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ; + break;} +case 137: +#line 902 "objc-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 138: +#line 904 "objc-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; + break;} +case 141: +#line 914 "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 142: +#line 918 "objc-parse.y" +{ yyval.ttype = get_static_reference (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 143: +#line 920 "objc-parse.y" +{ yyval.ttype = get_object_reference (yyvsp[0].ttype); ; + break;} +case 144: +#line 922 "objc-parse.y" +{ yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); ; + break;} +case 145: +#line 924 "objc-parse.y" +{ yyval.ttype = groktypename (yyvsp[-1].ttype); ; + break;} +case 153: +#line 946 "objc-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 154: +#line 948 "objc-parse.y" +{ if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype); + yyval.ttype = yyvsp[-1].ttype; + ; + break;} +case 155: +#line 955 "objc-parse.y" +{ yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1); ; + break;} +case 156: +#line 958 "objc-parse.y" +{ decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype); + finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ; + break;} +case 157: +#line 961 "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 158: +#line 968 "objc-parse.y" +{ yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1); ; + break;} +case 159: +#line 971 "objc-parse.y" +{ decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype); + finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ; + break;} +case 160: +#line 974 "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 161: +#line 982 "objc-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 162: +#line 984 "objc-parse.y" +{ yyval.ttype = yyvsp[-2].ttype; ; + break;} +case 163: +#line 989 "objc-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; + break;} +case 164: +#line 991 "objc-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype); ; + break;} +case 165: +#line 996 "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 166: +#line 1001 "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 167: +#line 1011 "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 168: +#line 1022 "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 170: +#line 1042 "objc-parse.y" +{ yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, NULL_TREE); + if (pedantic) + pedwarn ("ANSI C forbids empty initializer braces"); ; + break;} +case 171: +#line 1046 "objc-parse.y" +{ yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-1].ttype)); ; + break;} +case 172: +#line 1048 "objc-parse.y" +{ yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-2].ttype)); ; + break;} +case 173: +#line 1050 "objc-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 174: +#line 1057 "objc-parse.y" +{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; + break;} +case 175: +#line 1059 "objc-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype); ; + break;} +case 176: +#line 1064 "objc-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 177: +#line 1066 "objc-parse.y" +{ yyval.ttype = tree_cons (yyvsp[-2].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ; + break;} +case 178: +#line 1071 "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 179: +#line 1086 "objc-parse.y" +{ finish_function (1); + pop_c_function_context (); ; + break;} +case 180: +#line 1092 "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 181: +#line 1107 "objc-parse.y" +{ finish_function (1); + pop_c_function_context (); ; + break;} +case 184: +#line 1123 "objc-parse.y" +{ yyval.ttype = yyvsp[-1].ttype; ; + break;} +case 185: +#line 1125 "objc-parse.y" +{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; + break;} +case 186: +#line 1130 "objc-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; + break;} +case 187: +#line 1132 "objc-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; + break;} +case 188: +#line 1134 "objc-parse.y" +{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 191: +#line 1146 "objc-parse.y" +{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; + break;} +case 192: +#line 1151 "objc-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; + break;} +case 193: +#line 1153 "objc-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; + break;} +case 194: +#line 1155 "objc-parse.y" +{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 196: +#line 1164 "objc-parse.y" +{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; + break;} +case 197: +#line 1169 "objc-parse.y" +{ yyval.ttype = yyvsp[-1].ttype; ; + break;} +case 198: +#line 1171 "objc-parse.y" +{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 199: +#line 1173 "objc-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; + break;} +case 200: +#line 1175 "objc-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; + break;} +case 202: +#line 1181 "objc-parse.y" +{ yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype); + /* Start scope of tag before parsing components. */ + ; + break;} +case 203: +#line 1185 "objc-parse.y" +{ yyval.ttype = finish_struct (yyvsp[-2].ttype, yyvsp[-1].ttype); + /* Really define the structure. */ + ; + break;} +case 204: +#line 1189 "objc-parse.y" +{ yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE), + yyvsp[-1].ttype); ; + break;} +case 205: +#line 1192 "objc-parse.y" +{ yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ; + break;} +case 206: +#line 1194 "objc-parse.y" +{ yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ; + break;} +case 207: +#line 1196 "objc-parse.y" +{ yyval.ttype = finish_struct (yyvsp[-2].ttype, yyvsp[-1].ttype); ; + break;} +case 208: +#line 1198 "objc-parse.y" +{ yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE), + yyvsp[-1].ttype); ; + break;} +case 209: +#line 1201 "objc-parse.y" +{ yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ; + break;} +case 210: +#line 1203 "objc-parse.y" +{ yyvsp[0].itype = suspend_momentary (); + yyval.ttype = start_enum (yyvsp[-1].ttype); ; + break;} +case 211: +#line 1206 "objc-parse.y" +{ yyval.ttype = finish_enum (yyvsp[-3].ttype, nreverse (yyvsp[-2].ttype)); + resume_momentary (yyvsp[-4].itype); ; + break;} +case 212: +#line 1209 "objc-parse.y" +{ yyvsp[0].itype = suspend_momentary (); + yyval.ttype = start_enum (NULL_TREE); ; + break;} +case 213: +#line 1212 "objc-parse.y" +{ yyval.ttype = finish_enum (yyvsp[-3].ttype, nreverse (yyvsp[-2].ttype)); + resume_momentary (yyvsp[-4].itype); ; + break;} +case 214: +#line 1215 "objc-parse.y" +{ yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); ; + break;} +case 218: +#line 1226 "objc-parse.y" +{ if (pedantic) pedwarn ("comma at end of enumerator list"); ; + break;} +case 219: +#line 1231 "objc-parse.y" +{ yyval.ttype = yyvsp[0].ttype; ; + break;} +case 220: +#line 1233 "objc-parse.y" +{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); + pedwarn ("no semicolon at end of struct or union"); ; + break;} +case 221: +#line 1238 "objc-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 222: +#line 1240 "objc-parse.y" +{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ; + break;} +case 223: +#line 1242 "objc-parse.y" +{ if (pedantic) + pedwarn ("extra semicolon in struct or union specified"); ; + break;} +case 224: +#line 1246 "objc-parse.y" +{ + tree interface = lookup_interface (yyvsp[-1].ttype); + + if (interface) + yyval.ttype = get_class_ivars (interface); + else + { + error ("Cannot find interface declaration for `%s'", + IDENTIFIER_POINTER (yyvsp[-1].ttype)); + yyval.ttype = NULL_TREE; + } + ; + break;} +case 225: +#line 1271 "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 226: +#line 1276 "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 227: +#line 1281 "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 228: +#line 1286 "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 229: +#line 1291 "objc-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 231: +#line 1297 "objc-parse.y" +{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 232: +#line 1302 "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 233: +#line 1306 "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 234: +#line 1309 "objc-parse.y" +{ yyval.ttype = grokfield (yyvsp[-4].filename, yyvsp[-3].lineno, NULL_TREE, current_declspecs, yyvsp[-1].ttype); + decl_attributes (yyval.ttype, yyvsp[0].ttype); ; + break;} +case 236: +#line 1321 "objc-parse.y" +{ yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-2].ttype); ; + break;} +case 237: +#line 1327 "objc-parse.y" +{ yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ; + break;} +case 238: +#line 1329 "objc-parse.y" +{ yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 239: +#line 1334 "objc-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 240: +#line 1336 "objc-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 241: +#line 1341 "objc-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 243: +#line 1347 "objc-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; + break;} +case 244: +#line 1349 "objc-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; + break;} +case 245: +#line 1354 "objc-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 246: +#line 1356 "objc-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; + break;} +case 247: +#line 1361 "objc-parse.y" +{ yyval.ttype = yyvsp[-1].ttype; ; + break;} +case 248: +#line 1364 "objc-parse.y" +{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 249: +#line 1366 "objc-parse.y" +{ yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ; + break;} +case 250: +#line 1368 "objc-parse.y" +{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; + break;} +case 251: +#line 1370 "objc-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; + break;} +case 252: +#line 1372 "objc-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; + break;} +case 253: +#line 1374 "objc-parse.y" +{ yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; + break;} +case 254: +#line 1376 "objc-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ; + break;} +case 255: +#line 1378 "objc-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ; + break;} +case 262: +#line 1400 "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 264: +#line 1415 "objc-parse.y" +{ if (pedantic) + pedwarn ("ANSI C forbids label declarations"); ; + break;} +case 267: +#line 1426 "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 268: +#line 1440 "objc-parse.y" +{; + break;} +case 270: +#line 1445 "objc-parse.y" +{ yyval.ttype = convert (void_type_node, integer_zero_node); ; + break;} +case 271: +#line 1447 "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 272: +#line 1452 "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 273: +#line 1457 "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 276: +#line 1474 "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 277: +#line 1487 "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 278: +#line 1494 "objc-parse.y" +{ expand_loop_continue_here (); ; + break;} +case 279: +#line 1498 "objc-parse.y" +{ yyval.filename = input_filename; ; + break;} +case 280: +#line 1502 "objc-parse.y" +{ yyval.lineno = lineno; ; + break;} +case 281: +#line 1507 "objc-parse.y" +{ ; + break;} +case 282: +#line 1512 "objc-parse.y" +{ ; + break;} +case 283: +#line 1517 "objc-parse.y" +{ ; + break;} +case 285: +#line 1523 "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 286: +#line 1535 "objc-parse.y" +{ stmt_count++; ; + break;} +case 288: +#line 1538 "objc-parse.y" +{ stmt_count++; + emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno); + iterator_expand (yyvsp[-1].ttype); + clear_momentary (); ; + break;} +case 289: +#line 1543 "objc-parse.y" +{ expand_start_else (); + yyvsp[-1].itype = stmt_count; + position_after_white_space (); ; + break;} +case 290: +#line 1547 "objc-parse.y" +{ expand_end_cond (); + if (extra_warnings && stmt_count == yyvsp[-3].itype) + warning ("empty body in an else-statement"); ; + break;} +case 291: +#line 1551 "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 292: +#line 1559 "objc-parse.y" +{ expand_end_cond (); ; + break;} +case 293: +#line 1561 "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 294: +#line 1571 "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 295: +#line 1580 "objc-parse.y" +{ expand_end_loop (); ; + break;} +case 296: +#line 1583 "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 297: +#line 1590 "objc-parse.y" +{ expand_end_loop (); + clear_momentary (); ; + break;} +case 298: +#line 1594 "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 299: +#line 1606 "objc-parse.y" +{ yyvsp[0].lineno = lineno; + yyval.filename = input_filename; ; + break;} +case 300: +#line 1609 "objc-parse.y" +{ + /* Start the loop. Doing this after parsing + all the expressions ensures we will end the loop. */ + expand_start_loop_continue_elsewhere (1); + /* Emit the end-test, with a line number. */ + emit_line_note (yyvsp[-2].filename, yyvsp[-3].lineno); + if (yyvsp[-4].ttype) + expand_exit_loop_if_false (NULL_PTR, + truthvalue_conversion (yyvsp[-4].ttype)); + /* Don't let the tree nodes for $9 be discarded by + clear_momentary during the parsing of the next stmt. */ + push_momentary (); + yyvsp[-3].lineno = lineno; + yyvsp[-2].filename = input_filename; + position_after_white_space (); ; + break;} +case 301: +#line 1625 "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 302: +#line 1633 "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 303: +#line 1641 "objc-parse.y" +{ expand_end_case (yyvsp[-3].ttype); + pop_momentary (); ; + break;} +case 304: +#line 1644 "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 305: +#line 1649 "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 306: +#line 1654 "objc-parse.y" +{ stmt_count++; + emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno); + c_expand_return (NULL_TREE); ; + break;} +case 307: +#line 1658 "objc-parse.y" +{ stmt_count++; + emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno); + c_expand_return (yyvsp[-1].ttype); ; + break;} +case 308: +#line 1662 "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 309: +#line 1673 "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 310: +#line 1680 "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 311: +#line 1688 "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 312: +#line 1694 "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 313: +#line 1705 "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 316: +#line 1718 "objc-parse.y" +{ + /* The value returned by this action is */ + /* 1 if everything is OK */ + /* 0 in case of error or already bound iterator */ + + yyval.itype = 0; + if (TREE_CODE (yyvsp[-1].ttype) != VAR_DECL) + error ("invalid `for (ITERATOR)' syntax"); + if (! ITERATOR_P (yyvsp[-1].ttype)) + error ("`%s' is not an iterator", + IDENTIFIER_POINTER (DECL_NAME (yyvsp[-1].ttype))); + else if (ITERATOR_BOUND_P (yyvsp[-1].ttype)) + error ("`for (%s)' inside expansion of same iterator", + IDENTIFIER_POINTER (DECL_NAME (yyvsp[-1].ttype))); + else + { + yyval.itype = 1; + iterator_for_loop_start (yyvsp[-1].ttype); + } + ; + break;} +case 317: +#line 1739 "objc-parse.y" +{ + if (yyvsp[-1].itype) + iterator_for_loop_end (yyvsp[-3].ttype); + ; + break;} +case 318: +#line 1771 "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 319: +#line 1795 "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 320: +#line 1823 "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 321: +#line 1838 "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 322: +#line 1850 "objc-parse.y" +{ emit_line_note (input_filename, lineno); ; + break;} +case 323: +#line 1852 "objc-parse.y" +{ emit_line_note (input_filename, lineno); ; + break;} +case 324: +#line 1857 "objc-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 326: +#line 1864 "objc-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 329: +#line 1871 "objc-parse.y" +{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 330: +#line 1876 "objc-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ; + break;} +case 331: +#line 1881 "objc-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), NULL_TREE); ; + break;} +case 332: +#line 1883 "objc-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), yyvsp[-2].ttype); ; + break;} +case 333: +#line 1889 "objc-parse.y" +{ pushlevel (0); + clear_parm_order (); + declare_parm_level (0); ; + break;} +case 334: +#line 1893 "objc-parse.y" +{ yyval.ttype = yyvsp[0].ttype; + parmlist_tags_warning (); + poplevel (0, 0, 0); ; + break;} +case 336: +#line 1901 "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 337: +#line 1909 "objc-parse.y" +{ yyval.ttype = yyvsp[0].ttype; ; + break;} +case 338: +#line 1911 "objc-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ; + break;} +case 339: +#line 1917 "objc-parse.y" +{ yyval.ttype = get_parm_info (0); ; + break;} +case 340: +#line 1919 "objc-parse.y" +{ yyval.ttype = get_parm_info (0); + if (pedantic) + pedwarn ("ANSI C requires a named argument before `...'"); + ; + break;} +case 341: +#line 1924 "objc-parse.y" +{ yyval.ttype = get_parm_info (1); ; + break;} +case 342: +#line 1926 "objc-parse.y" +{ yyval.ttype = get_parm_info (0); ; + break;} +case 343: +#line 1931 "objc-parse.y" +{ push_parm_decl (yyvsp[0].ttype); ; + break;} +case 344: +#line 1933 "objc-parse.y" +{ push_parm_decl (yyvsp[0].ttype); ; + break;} +case 345: +#line 1940 "objc-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ; + break;} +case 346: +#line 1942 "objc-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ; + break;} +case 347: +#line 1944 "objc-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 348: +#line 1946 "objc-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ; + break;} +case 349: +#line 1948 "objc-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 350: +#line 1955 "objc-parse.y" +{ pushlevel (0); + clear_parm_order (); + declare_parm_level (1); ; + break;} +case 351: +#line 1959 "objc-parse.y" +{ yyval.ttype = yyvsp[0].ttype; + parmlist_tags_warning (); + poplevel (0, 0, 0); ; + break;} +case 353: +#line 1967 "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 354: +#line 1977 "objc-parse.y" +{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; + break;} +case 355: +#line 1979 "objc-parse.y" +{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; + break;} +case 356: +#line 1985 "objc-parse.y" +{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; + break;} +case 357: +#line 1987 "objc-parse.y" +{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; + break;} +case 363: +#line 1999 "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 364: +#line 2014 "objc-parse.y" +{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; + break;} +case 365: +#line 2016 "objc-parse.y" +{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; + break;} +case 366: +#line 2021 "objc-parse.y" +{ + objc_declare_class (yyvsp[-1].ttype); + ; + break;} +case 367: +#line 2027 "objc-parse.y" +{ + objc_declare_alias (yyvsp[-2].ttype, yyvsp[-1].ttype); + ; + break;} +case 368: +#line 2033 "objc-parse.y" +{ + objc_interface_context = objc_ivar_context + = start_class (CLASS_INTERFACE_TYPE, yyvsp[-2].ttype, NULL_TREE, yyvsp[-1].ttype); + objc_public_flag = 0; + ; + break;} +case 369: +#line 2039 "objc-parse.y" +{ + continue_class (objc_interface_context); + ; + break;} +case 370: +#line 2044 "objc-parse.y" +{ + finish_class (objc_interface_context); + objc_interface_context = NULL_TREE; + ; + break;} +case 371: +#line 2050 "objc-parse.y" +{ + objc_interface_context + = start_class (CLASS_INTERFACE_TYPE, yyvsp[-1].ttype, NULL_TREE, yyvsp[0].ttype); + continue_class (objc_interface_context); + ; + break;} +case 372: +#line 2057 "objc-parse.y" +{ + finish_class (objc_interface_context); + objc_interface_context = NULL_TREE; + ; + break;} +case 373: +#line 2063 "objc-parse.y" +{ + objc_interface_context = objc_ivar_context + = start_class (CLASS_INTERFACE_TYPE, yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[-1].ttype); + objc_public_flag = 0; + ; + break;} +case 374: +#line 2069 "objc-parse.y" +{ + continue_class (objc_interface_context); + ; + break;} +case 375: +#line 2074 "objc-parse.y" +{ + finish_class (objc_interface_context); + objc_interface_context = NULL_TREE; + ; + break;} +case 376: +#line 2080 "objc-parse.y" +{ + objc_interface_context + = start_class (CLASS_INTERFACE_TYPE, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); + continue_class (objc_interface_context); + ; + break;} +case 377: +#line 2087 "objc-parse.y" +{ + finish_class (objc_interface_context); + objc_interface_context = NULL_TREE; + ; + break;} +case 378: +#line 2093 "objc-parse.y" +{ + objc_implementation_context = objc_ivar_context + = start_class (CLASS_IMPLEMENTATION_TYPE, yyvsp[-1].ttype, NULL_TREE, NULL_TREE); + objc_public_flag = 0; + ; + break;} +case 379: +#line 2099 "objc-parse.y" +{ + objc_ivar_chain + = continue_class (objc_implementation_context); + ; + break;} +case 380: +#line 2105 "objc-parse.y" +{ + objc_implementation_context + = start_class (CLASS_IMPLEMENTATION_TYPE, yyvsp[0].ttype, NULL_TREE, NULL_TREE); + objc_ivar_chain + = continue_class (objc_implementation_context); + ; + break;} +case 381: +#line 2113 "objc-parse.y" +{ + objc_implementation_context = objc_ivar_context + = start_class (CLASS_IMPLEMENTATION_TYPE, yyvsp[-3].ttype, yyvsp[-1].ttype, NULL_TREE); + objc_public_flag = 0; + ; + break;} +case 382: +#line 2119 "objc-parse.y" +{ + objc_ivar_chain + = continue_class (objc_implementation_context); + ; + break;} +case 383: +#line 2125 "objc-parse.y" +{ + objc_implementation_context + = start_class (CLASS_IMPLEMENTATION_TYPE, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); + objc_ivar_chain + = continue_class (objc_implementation_context); + ; + break;} +case 384: +#line 2133 "objc-parse.y" +{ + objc_interface_context + = start_class (CATEGORY_INTERFACE_TYPE, yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); + continue_class (objc_interface_context); + ; + break;} +case 385: +#line 2140 "objc-parse.y" +{ + finish_class (objc_interface_context); + objc_interface_context = NULL_TREE; + ; + break;} +case 386: +#line 2146 "objc-parse.y" +{ + objc_implementation_context + = start_class (CATEGORY_IMPLEMENTATION_TYPE, yyvsp[-3].ttype, yyvsp[-1].ttype, NULL_TREE); + objc_ivar_chain + = continue_class (objc_implementation_context); + ; + break;} +case 387: +#line 2156 "objc-parse.y" +{ + remember_protocol_qualifiers (); + objc_interface_context + = start_protocol(PROTOCOL_INTERFACE_TYPE, yyvsp[-1].ttype, yyvsp[0].ttype); + ; + break;} +case 388: +#line 2162 "objc-parse.y" +{ + forget_protocol_qualifiers(); + finish_protocol(objc_interface_context); + objc_interface_context = NULL_TREE; + ; + break;} +case 389: +#line 2171 "objc-parse.y" +{ + yyval.ttype = NULL_TREE; + ; + break;} +case 390: +#line 2175 "objc-parse.y" +{ + if (yyvsp[-2].code == LT_EXPR && yyvsp[0].code == GT_EXPR) + yyval.ttype = yyvsp[-1].ttype; + else + YYERROR1; + ; + break;} +case 393: +#line 2189 "objc-parse.y" +{ objc_public_flag = 2; ; + break;} +case 394: +#line 2190 "objc-parse.y" +{ objc_public_flag = 0; ; + break;} +case 395: +#line 2191 "objc-parse.y" +{ objc_public_flag = 1; ; + break;} +case 396: +#line 2196 "objc-parse.y" +{ + yyval.ttype = NULL_TREE; + ; + break;} +case 398: +#line 2201 "objc-parse.y" +{ + if (pedantic) + pedwarn ("extra semicolon in struct or union specified"); + ; + break;} +case 399: +#line 2219 "objc-parse.y" +{ + yyval.ttype = yyvsp[0].ttype; + resume_momentary (yyvsp[-1].itype); + ; + break;} +case 400: +#line 2224 "objc-parse.y" +{ + yyval.ttype = yyvsp[0].ttype; + resume_momentary (yyvsp[-1].itype); + ; + break;} +case 401: +#line 2229 "objc-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 402: +#line 2234 "objc-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 405: +#line 2241 "objc-parse.y" +{ + yyval.ttype = add_instance_variable (objc_ivar_context, + objc_public_flag, + yyvsp[0].ttype, current_declspecs, + NULL_TREE); + ; + break;} +case 406: +#line 2248 "objc-parse.y" +{ + yyval.ttype = add_instance_variable (objc_ivar_context, + objc_public_flag, + yyvsp[-2].ttype, current_declspecs, yyvsp[0].ttype); + ; + break;} +case 407: +#line 2254 "objc-parse.y" +{ + yyval.ttype = add_instance_variable (objc_ivar_context, + objc_public_flag, + NULL_TREE, + current_declspecs, yyvsp[0].ttype); + ; + break;} +case 408: +#line 2264 "objc-parse.y" +{ + remember_protocol_qualifiers (); + if (objc_implementation_context) + objc_inherit_code = CLASS_METHOD_DECL; + else + fatal ("method definition not in class context"); + ; + break;} +case 409: +#line 2272 "objc-parse.y" +{ + forget_protocol_qualifiers (); + add_class_method (objc_implementation_context, yyvsp[0].ttype); + start_method_def (yyvsp[0].ttype); + objc_method_context = yyvsp[0].ttype; + ; + break;} +case 410: +#line 2279 "objc-parse.y" +{ + continue_method_def (); + ; + break;} +case 411: +#line 2283 "objc-parse.y" +{ + finish_method_def (); + objc_method_context = NULL_TREE; + ; + break;} +case 412: +#line 2289 "objc-parse.y" +{ + remember_protocol_qualifiers (); + if (objc_implementation_context) + objc_inherit_code = INSTANCE_METHOD_DECL; + else + fatal ("method definition not in class context"); + ; + break;} +case 413: +#line 2297 "objc-parse.y" +{ + forget_protocol_qualifiers (); + add_instance_method (objc_implementation_context, yyvsp[0].ttype); + start_method_def (yyvsp[0].ttype); + objc_method_context = yyvsp[0].ttype; + ; + break;} +case 414: +#line 2304 "objc-parse.y" +{ + continue_method_def (); + ; + break;} +case 415: +#line 2308 "objc-parse.y" +{ + finish_method_def (); + objc_method_context = NULL_TREE; + ; + break;} +case 417: +#line 2320 "objc-parse.y" +{yyval.ttype = NULL_TREE; ; + break;} +case 422: +#line 2327 "objc-parse.y" +{yyval.ttype = NULL_TREE; ; + break;} +case 426: +#line 2337 "objc-parse.y" +{ + objc_inherit_code = CLASS_METHOD_DECL; + ; + break;} +case 427: +#line 2341 "objc-parse.y" +{ + add_class_method (objc_interface_context, yyvsp[0].ttype); + ; + break;} +case 429: +#line 2347 "objc-parse.y" +{ + objc_inherit_code = INSTANCE_METHOD_DECL; + ; + break;} +case 430: +#line 2351 "objc-parse.y" +{ + add_instance_method (objc_interface_context, yyvsp[0].ttype); + ; + break;} +case 432: +#line 2359 "objc-parse.y" +{ + yyval.ttype = build_method_decl (objc_inherit_code, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); + ; + break;} +case 433: +#line 2364 "objc-parse.y" +{ + yyval.ttype = build_method_decl (objc_inherit_code, NULL_TREE, yyvsp[0].ttype, NULL_TREE); + ; + break;} +case 434: +#line 2369 "objc-parse.y" +{ + yyval.ttype = build_method_decl (objc_inherit_code, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); + ; + break;} +case 435: +#line 2374 "objc-parse.y" +{ + yyval.ttype = build_method_decl (objc_inherit_code, NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); + ; + break;} +case 444: +#line 2404 "objc-parse.y" +{ resume_momentary (yyvsp[-2].itype); ; + break;} +case 445: +#line 2406 "objc-parse.y" +{ shadow_tag (yyvsp[-1].ttype); ; + break;} +case 446: +#line 2408 "objc-parse.y" +{ pedwarn ("empty declaration"); ; + break;} +case 447: +#line 2413 "objc-parse.y" +{ push_parm_decl (yyvsp[0].ttype); ; + break;} +case 448: +#line 2415 "objc-parse.y" +{ push_parm_decl (yyvsp[0].ttype); ; + break;} +case 449: +#line 2423 "objc-parse.y" +{ yyval.ttype = build_tree_list (current_declspecs, yyvsp[0].ttype) ; ; + break;} +case 450: +#line 2425 "objc-parse.y" +{ yyval.ttype = build_tree_list (current_declspecs, yyvsp[0].ttype) ; ; + break;} +case 451: +#line 2427 "objc-parse.y" +{ yyval.ttype = build_tree_list (current_declspecs, yyvsp[0].ttype) ; ; + break;} +case 452: +#line 2432 "objc-parse.y" +{ + yyval.ttype = NULL_TREE; + ; + break;} +case 453: +#line 2436 "objc-parse.y" +{ + /* oh what a kludge! */ + yyval.ttype = (tree)1; + ; + break;} +case 454: +#line 2441 "objc-parse.y" +{ + pushlevel (0); + ; + break;} +case 455: +#line 2445 "objc-parse.y" +{ + /* returns a tree list node generated by get_parm_info */ + yyval.ttype = yyvsp[0].ttype; + poplevel (0, 0, 0); + ; + break;} +case 458: +#line 2460 "objc-parse.y" +{ + yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); + ; + break;} +case 463: +#line 2473 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 464: +#line 2474 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 465: +#line 2475 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 466: +#line 2476 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 467: +#line 2477 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 468: +#line 2478 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 469: +#line 2479 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 470: +#line 2480 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 471: +#line 2481 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 472: +#line 2482 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 473: +#line 2483 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 474: +#line 2484 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 475: +#line 2485 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 476: +#line 2486 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 477: +#line 2487 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 478: +#line 2488 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 479: +#line 2489 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 480: +#line 2490 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 481: +#line 2491 "objc-parse.y" +{ yyval.ttype = get_identifier (token_buffer); ; + break;} +case 484: +#line 2497 "objc-parse.y" +{ + yyval.ttype = build_keyword_decl (yyvsp[-5].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); + ; + break;} +case 485: +#line 2502 "objc-parse.y" +{ + yyval.ttype = build_keyword_decl (yyvsp[-2].ttype, NULL_TREE, yyvsp[0].ttype); + ; + break;} +case 486: +#line 2507 "objc-parse.y" +{ + yyval.ttype = build_keyword_decl (NULL_TREE, yyvsp[-2].ttype, yyvsp[0].ttype); + ; + break;} +case 487: +#line 2512 "objc-parse.y" +{ + yyval.ttype = build_keyword_decl (NULL_TREE, NULL_TREE, yyvsp[0].ttype); + ; + break;} +case 491: +#line 2525 "objc-parse.y" +{ + yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); + ; + break;} +case 492: +#line 2533 "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 493: +#line 2545 "objc-parse.y" +{ + yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); + ; + break;} +case 494: +#line 2549 "objc-parse.y" +{ + yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); + ; + break;} +case 496: +#line 2557 "objc-parse.y" +{ + yyval.ttype = get_class_reference (yyvsp[0].ttype); + ; + break;} +case 497: +#line 2564 "objc-parse.y" +{ objc_receiver_context = 1; ; + break;} +case 498: +#line 2566 "objc-parse.y" +{ objc_receiver_context = 0; ; + break;} +case 499: +#line 2568 "objc-parse.y" +{ + yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); + ; + break;} +case 503: +#line 2581 "objc-parse.y" +{ + yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); + ; + break;} +case 504: +#line 2588 "objc-parse.y" +{ + yyval.ttype = build_tree_list (yyvsp[-1].ttype, NULL_TREE); + ; + break;} +case 505: +#line 2592 "objc-parse.y" +{ + yyval.ttype = build_tree_list (NULL_TREE, NULL_TREE); + ; + break;} +case 506: +#line 2599 "objc-parse.y" +{ + yyval.ttype = yyvsp[-1].ttype; + ; + break;} +case 507: +#line 2606 "objc-parse.y" +{ + yyval.ttype = yyvsp[-1].ttype; + ; + break;} +case 508: +#line 2615 "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 2620 "objc-parse.y" + |
