home *** CD-ROM | disk | FTP | other *** search
-
- /* A Bison parser, made from objc-parse.y with Bison version GNU Bison version 1.22
- */
-
- #define YYBISON 1 /* Identify Bison output. */
-
- #define IDENTIFIER 258
- #define TYPENAME 259
- #define SCSPEC 260
- #define TYPESPEC 261
- #define TYPE_QUAL 262
- #define CONSTANT 263
- #define STRING 264
- #define ELLIPSIS 265
- #define SIZEOF 266
- #define ENUM 267
- #define STRUCT 268
- #define UNION 269
- #define IF 270
- #define ELSE 271
- #define WHILE 272
- #define DO 273
- #define FOR 274
- #define SWITCH 275
- #define CASE 276
- #define DEFAULT 277
- #define BREAK 278
- #define CONTINUE 279
- #define RETURN 280
- #define GOTO 281
- #define ASM_KEYWORD 282
- #define TYPEOF 283
- #define ALIGNOF 284
- #define 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 __cplusplus
- #ifndef __STDC__
- #define const
- #endif
- #endif
-
-
-
- #define YYFINAL 875
- #define YYFLAG -32768
- #define YYNTBASE 85
-
- #define YYTRANSLATE(x) ((unsigned)(x) <= 317 ? yytranslate[x] : 288)
-
- 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
- };
-
- #if YYDEBUG != 0
- 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, 174, 182, 184, 188, 192, 196, 200, 204, 208,
- 212, 216, 220, 224, 228, 232, 236, 240, 246, 250,
- 254, 256, 258, 260, 264, 268, 269, 274, 279, 284,
- 288, 292, 295, 298, 300, 302, 304, 306, 308, 310,
- 313, 315, 318, 319, 321, 324, 328, 330, 332, 335,
- 338, 343, 348, 351, 354, 358, 360, 362, 365, 368,
- 369, 374, 379, 383, 387, 390, 393, 396, 400, 401,
- 404, 407, 409, 411, 414, 417, 420, 424, 425, 428,
- 430, 432, 434, 437, 440, 445, 450, 452, 454, 456,
- 458, 462, 464, 468, 469, 474, 475, 482, 486, 487,
- 494, 498, 499, 506, 508, 512, 514, 516, 521, 526,
- 535, 537, 538, 543, 545, 546, 549, 551, 555, 557,
- 558, 563, 565, 566, 571, 572, 578, 579, 583, 584,
- 588, 590, 592, 596, 600, 605, 609, 613, 615, 617,
- 621, 626, 630, 634, 636, 640, 644, 648, 653, 657,
- 659, 660, 667, 672, 675, 676, 683, 688, 691, 692,
- 700, 701, 708, 711, 712, 714, 715, 717, 719, 722,
- 723, 727, 730, 735, 739, 741, 745, 747, 749, 751,
- 755, 760, 767, 773, 775, 779, 781, 785, 788, 791,
- 792, 794, 796, 799, 800, 803, 807, 811, 814, 818,
- 823, 827, 830, 834, 837, 839, 842, 845, 846, 848,
- 851, 852, 853, 855, 857, 860, 864, 866, 869, 872,
- 879, 885, 891, 894, 897, 902, 903, 908, 909, 910,
- 914, 919, 923, 925, 927, 929, 931, 934, 935, 940,
- 942, 946, 947, 948, 956, 962, 965, 966, 967, 968,
- 981, 982, 989, 992, 995, 998, 1002, 1009, 1018, 1029,
- 1042, 1046, 1051, 1053, 1055, 1056, 1063, 1067, 1073, 1076,
- 1079, 1080, 1082, 1083, 1085, 1086, 1088, 1090, 1094, 1099,
- 1101, 1105, 1106, 1109, 1112, 1113, 1118, 1121, 1122, 1124,
- 1126, 1130, 1132, 1136, 1139, 1142, 1145, 1148, 1151, 1152,
- 1155, 1157, 1160, 1162, 1166, 1168, 1172, 1174, 1176, 1178,
- 1180, 1182, 1184, 1186, 1190, 1194, 1199, 1200, 1201, 1212,
- 1213, 1220, 1221, 1222, 1235, 1236, 1245, 1246, 1253, 1256,
- 1257, 1266, 1271, 1272, 1282, 1288, 1289, 1296, 1297, 1301,
- 1305, 1307, 1309, 1311, 1313, 1314, 1318, 1321, 1325, 1329,
- 1331, 1332, 1334, 1338, 1340, 1344, 1347, 1348, 1349, 1350,
- 1358, 1359, 1360, 1361, 1369, 1370, 1371, 1374, 1376, 1378,
- 1381, 1382, 1386, 1388, 1390, 1391, 1392, 1398, 1399, 1400,
- 1406, 1411, 1413, 1419, 1422, 1423, 1426, 1427, 1429, 1431,
- 1433, 1436, 1439, 1444, 1447, 1450, 1452, 1456, 1458, 1460,
- 1462, 1463, 1466, 1467, 1471, 1473, 1475, 1478, 1480, 1482,
- 1484, 1486, 1488, 1490, 1492, 1494, 1496, 1498, 1500, 1502,
- 1504, 1506, 1508, 1510, 1512, 1514, 1516, 1518, 1520, 1522,
- 1524, 1526, 1528, 1535, 1539, 1545, 1548, 1550, 1552, 1554,
- 1557, 1559, 1563, 1566, 1568, 1570, 1571, 1572, 1579, 1581,
- 1583, 1585, 1588, 1591, 1593, 1598, 1603
- };
-
- static const short yyrhs[] = { -1,
- 86, 0, 0, 87, 89, 0, 0, 86, 88, 89,
- 0, 91, 0, 90, 0, 220, 0, 27, 60, 100,
- 77, 78, 0, 118, 128, 78, 0, 122, 118, 128,
- 78, 0, 120, 118, 127, 78, 0, 122, 78, 0,
- 120, 78, 0, 1, 78, 0, 1, 79, 0, 78,
- 0, 0, 0, 120, 118, 149, 92, 112, 93, 179,
- 0, 120, 118, 149, 1, 0, 0, 0, 122, 118,
- 152, 94, 112, 95, 179, 0, 122, 118, 152, 1,
- 0, 0, 0, 118, 152, 96, 112, 97, 179, 0,
- 118, 152, 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, 107, 0, 102, 82, 107, 0, 108, 0, 51,
- 105, 0, 0, 32, 104, 105, 0, 99, 105, 0,
- 41, 98, 0, 11, 103, 0, 11, 60, 167, 77,
- 0, 29, 103, 0, 29, 60, 167, 77, 0, 34,
- 105, 0, 35, 105, 0, 103, 0, 60, 167, 77,
- 105, 0, 0, 60, 167, 77, 83, 106, 139, 79,
- 0, 105, 0, 107, 49, 107, 0, 107, 50, 107,
- 0, 107, 51, 107, 0, 107, 52, 107, 0, 107,
- 53, 107, 0, 107, 47, 107, 0, 107, 48, 107,
- 0, 107, 46, 107, 0, 107, 45, 107, 0, 107,
- 44, 107, 0, 107, 42, 107, 0, 107, 43, 107,
- 0, 107, 41, 107, 0, 107, 40, 107, 0, 107,
- 38, 203, 39, 107, 0, 107, 37, 107, 0, 107,
- 36, 107, 0, 3, 0, 8, 0, 110, 0, 60,
- 100, 77, 0, 60, 1, 77, 0, 0, 60, 109,
- 180, 77, 0, 108, 60, 101, 77, 0, 108, 61,
- 100, 84, 0, 108, 59, 98, 0, 108, 58, 98,
- 0, 108, 55, 0, 108, 56, 0, 279, 0, 285,
- 0, 286, 0, 287, 0, 111, 0, 9, 0, 110,
- 9, 0, 76, 0, 111, 76, 0, 0, 114, 0,
- 114, 10, 0, 185, 186, 115, 0, 113, 0, 174,
- 0, 114, 113, 0, 113, 174, 0, 120, 118, 127,
- 78, 0, 122, 118, 128, 78, 0, 120, 78, 0,
- 122, 78, 0, 185, 186, 119, 0, 116, 0, 174,
- 0, 117, 116, 0, 116, 174, 0, 0, 120, 118,
- 127, 78, 0, 122, 118, 128, 78, 0, 120, 118,
- 145, 0, 122, 118, 147, 0, 120, 78, 0, 122,
- 78, 0, 125, 121, 0, 122, 125, 121, 0, 0,
- 121, 126, 0, 121, 5, 0, 7, 0, 5, 0,
- 122, 7, 0, 122, 5, 0, 125, 124, 0, 169,
- 125, 124, 0, 0, 124, 126, 0, 6, 0, 153,
- 0, 4, 0, 68, 236, 0, 73, 236, 0, 28,
- 60, 100, 77, 0, 28, 60, 167, 77, 0, 6,
- 0, 7, 0, 153, 0, 130, 0, 127, 82, 130,
- 0, 132, 0, 128, 82, 130, 0, 0, 27, 60,
- 110, 77, 0, 0, 149, 129, 134, 37, 131, 137,
- 0, 149, 129, 134, 0, 0, 152, 129, 134, 37,
- 133, 137, 0, 152, 129, 134, 0, 0, 31, 60,
- 60, 135, 77, 77, 0, 136, 0, 135, 82, 136,
- 0, 3, 0, 7, 0, 3, 60, 3, 77, 0,
- 3, 60, 8, 77, 0, 3, 60, 3, 82, 8,
- 82, 8, 77, 0, 107, 0, 0, 83, 138, 139,
- 79, 0, 1, 0, 0, 140, 158, 0, 141, 0,
- 140, 82, 141, 0, 107, 0, 0, 83, 142, 139,
- 79, 0, 1, 0, 0, 98, 39, 143, 141, 0,
- 0, 59, 98, 37, 144, 141, 0, 0, 149, 146,
- 180, 0, 0, 152, 148, 180, 0, 150, 0, 152,
- 0, 60, 150, 77, 0, 150, 60, 215, 0, 150,
- 61, 100, 84, 0, 150, 61, 84, 0, 51, 170,
- 150, 0, 4, 0, 73, 0, 151, 60, 215, 0,
- 151, 61, 100, 84, 0, 151, 61, 84, 0, 51,
- 170, 151, 0, 4, 0, 152, 60, 215, 0, 60,
- 152, 77, 0, 51, 170, 152, 0, 152, 61, 100,
- 84, 0, 152, 61, 84, 0, 3, 0, 0, 13,
- 98, 83, 154, 160, 79, 0, 13, 83, 160, 79,
- 0, 13, 98, 0, 0, 14, 98, 83, 155, 160,
- 79, 0, 14, 83, 160, 79, 0, 14, 98, 0,
- 0, 12, 98, 83, 156, 165, 159, 79, 0, 0,
- 12, 83, 157, 165, 159, 79, 0, 12, 98, 0,
- 0, 82, 0, 0, 82, 0, 161, 0, 161, 162,
- 0, 0, 161, 162, 78, 0, 161, 78, 0, 66,
- 60, 68, 77, 0, 123, 118, 163, 0, 123, 0,
- 169, 118, 163, 0, 169, 0, 1, 0, 164, 0,
- 163, 82, 164, 0, 185, 186, 149, 134, 0, 185,
- 186, 149, 39, 107, 134, 0, 185, 186, 39, 107,
- 134, 0, 166, 0, 165, 82, 166, 0, 98, 0,
- 98, 37, 107, 0, 123, 168, 0, 169, 168, 0,
- 0, 171, 0, 7, 0, 169, 7, 0, 0, 170,
- 7, 0, 60, 171, 77, 0, 51, 170, 171, 0,
- 51, 170, 0, 171, 60, 208, 0, 171, 61, 100,
- 84, 0, 171, 61, 84, 0, 60, 208, 0, 61,
- 100, 84, 0, 61, 84, 0, 188, 0, 172, 188,
- 0, 172, 174, 0, 0, 172, 0, 1, 78, 0,
- 0, 0, 177, 0, 178, 0, 177, 178, 0, 33,
- 219, 78, 0, 180, 0, 1, 180, 0, 83, 79,
- 0, 83, 175, 176, 117, 173, 79, 0, 83, 175,
- 176, 1, 79, 0, 83, 175, 176, 172, 79, 0,
- 182, 187, 0, 182, 1, 0, 15, 60, 100, 77,
- 0, 0, 18, 184, 187, 17, 0, 0, 0, 185,
- 186, 190, 0, 185, 186, 201, 187, 0, 185, 186,
- 189, 0, 190, 0, 201, 0, 180, 0, 198, 0,
- 100, 78, 0, 0, 181, 16, 191, 187, 0, 181,
- 0, 181, 16, 1, 0, 0, 0, 17, 192, 60,
- 100, 77, 193, 187, 0, 183, 60, 100, 77, 78,
- 0, 183, 1, 0, 0, 0, 0, 19, 60, 203,
- 78, 194, 203, 78, 195, 203, 77, 196, 187, 0,
- 0, 20, 60, 100, 77, 197, 187, 0, 23, 78,
- 0, 24, 78, 0, 25, 78, 0, 25, 100, 78,
- 0, 27, 202, 60, 100, 77, 78, 0, 27, 202,
- 60, 100, 39, 204, 77, 78, 0, 27, 202, 60,
- 100, 39, 204, 39, 204, 77, 78, 0, 27, 202,
- 60, 100, 39, 204, 39, 204, 39, 207, 77, 78,
- 0, 26, 98, 78, 0, 26, 51, 100, 78, 0,
- 78, 0, 199, 0, 0, 19, 60, 108, 77, 200,
- 187, 0, 21, 107, 39, 0, 21, 107, 10, 107,
- 39, 0, 22, 39, 0, 98, 39, 0, 0, 7,
- 0, 0, 100, 0, 0, 205, 0, 206, 0, 205,
- 82, 206, 0, 9, 60, 100, 77, 0, 110, 0,
- 207, 82, 110, 0, 0, 209, 210, 0, 212, 77,
- 0, 0, 213, 78, 211, 210, 0, 1, 77, 0,
- 0, 10, 0, 213, 0, 213, 82, 10, 0, 214,
- 0, 213, 82, 214, 0, 120, 151, 0, 120, 152,
- 0, 120, 168, 0, 122, 152, 0, 122, 168, 0,
- 0, 216, 217, 0, 210, 0, 218, 77, 0, 3,
- 0, 218, 82, 3, 0, 98, 0, 219, 82, 98,
- 0, 224, 0, 222, 0, 223, 0, 234, 0, 243,
- 0, 64, 0, 98, 0, 221, 82, 98, 0, 74,
- 221, 78, 0, 75, 98, 98, 78, 0, 0, 0,
- 62, 98, 236, 83, 225, 237, 79, 226, 250, 64,
- 0, 0, 62, 98, 236, 227, 250, 64, 0, 0,
- 0, 62, 98, 39, 98, 236, 83, 228, 237, 79,
- 229, 250, 64, 0, 0, 62, 98, 39, 98, 236,
- 230, 250, 64, 0, 0, 63, 98, 83, 231, 237,
- 79, 0, 63, 98, 0, 0, 63, 98, 39, 98,
- 83, 232, 237, 79, 0, 63, 98, 39, 98, 0,
- 0, 62, 98, 60, 98, 77, 236, 233, 250, 64,
- 0, 63, 98, 60, 98, 77, 0, 0, 72, 98,
- 236, 235, 250, 64, 0, 0, 46, 221, 46, 0,
- 237, 238, 239, 0, 239, 0, 70, 0, 71, 0,
- 69, 0, 0, 239, 240, 78, 0, 239, 78, 0,
- 123, 118, 241, 0, 169, 118, 241, 0, 1, 0,
- 0, 242, 0, 241, 82, 242, 0, 149, 0, 149,
- 39, 107, 0, 39, 107, 0, 0, 0, 0, 49,
- 244, 260, 245, 261, 246, 179, 0, 0, 0, 0,
- 50, 247, 260, 248, 261, 249, 179, 0, 0, 0,
- 251, 252, 0, 255, 0, 90, 0, 252, 255, 0,
- 0, 252, 253, 90, 0, 78, 0, 1, 0, 0,
- 0, 49, 256, 260, 257, 254, 0, 0, 0, 50,
- 258, 260, 259, 254, 0, 60, 167, 77, 269, 0,
- 269, 0, 60, 167, 77, 270, 267, 0, 270, 267,
- 0, 0, 78, 262, 0, 0, 263, 0, 264, 0,
- 174, 0, 263, 264, 0, 264, 174, 0, 120, 118,
- 265, 78, 0, 120, 78, 0, 122, 78, 0, 266,
- 0, 265, 82, 266, 0, 151, 0, 152, 0, 168,
- 0, 0, 82, 10, 0, 0, 82, 268, 212, 0,
- 271, 0, 273, 0, 270, 273, 0, 3, 0, 4,
- 0, 73, 0, 272, 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, 271, 39, 60,
- 167, 77, 98, 0, 271, 39, 98, 0, 39, 60,
- 167, 77, 98, 0, 39, 98, 0, 271, 0, 275,
- 0, 277, 0, 275, 277, 0, 102, 0, 271, 39,
- 276, 0, 39, 276, 0, 100, 0, 68, 0, 0,
- 0, 61, 280, 278, 281, 274, 84, 0, 271, 0,
- 283, 0, 284, 0, 283, 284, 0, 271, 39, 0,
- 39, 0, 65, 60, 282, 77, 0, 72, 60, 98,
- 77, 0, 67, 60, 167, 77, 0
- };
-
- #endif
-
- #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, 426, 453, 455, 457, 459, 461, 463, 465, 467,
- 469, 471, 473, 475, 477, 479, 481, 483, 485, 488,
- 494, 656, 657, 659, 665, 667, 681, 704, 706, 708,
- 720, 734, 736, 738, 740, 742, 744, 746, 751, 753,
- 759, 761, 765, 767, 768, 778, 783, 785, 786, 787,
- 790, 795, 799, 802, 810, 815, 817, 818, 819, 826,
- 834, 839, 843, 847, 851, 853, 861, 864, 868, 870,
- 872, 883, 887, 889, 892, 905, 908, 912, 914, 922,
- 923, 924, 928, 930, 932, 934, 940, 941, 942, 945,
- 947, 950, 952, 955, 958, 964, 971, 974, 980, 987,
- 990, 997, 1000, 1005, 1007, 1012, 1018, 1019, 1029, 1040,
- 1060, 1062, 1067, 1074, 1079, 1083, 1086, 1088, 1093, 1096,
- 1098, 1100, 1104, 1107, 1107, 1110, 1112, 1129, 1133, 1150,
- 1157, 1159, 1164, 1167, 1172, 1174, 1176, 1178, 1179, 1187,
- 1193, 1195, 1197, 1199, 1205, 1211, 1213, 1215, 1217, 1219,
- 1222, 1227, 1231, 1234, 1236, 1238, 1240, 1243, 1245, 1248,
- 1251, 1254, 1257, 1261, 1263, 1266, 1268, 1272, 1275, 1280,
- 1282, 1284, 1288, 1312, 1318, 1323, 1328, 1333, 1337, 1339,
- 1343, 1347, 1351, 1361, 1363, 1368, 1371, 1375, 1378, 1382,
- 1385, 1388, 1391, 1395, 1398, 1402, 1406, 1408, 1410, 1412,
- 1414, 1416, 1418, 1420, 1428, 1430, 1431, 1434, 1436, 1439,
- 1442, 1455, 1457, 1462, 1464, 1467, 1481, 1484, 1487, 1489,
- 1494, 1499, 1507, 1512, 1515, 1528, 1536, 1540, 1544, 1548,
- 1554, 1558, 1563, 1565, 1576, 1579, 1580, 1597, 1602, 1605,
- 1616, 1618, 1628, 1638, 1639, 1647, 1650, 1662, 1666, 1683,
- 1690, 1699, 1701, 1706, 1711, 1715, 1719, 1730, 1737, 1744,
- 1751, 1762, 1766, 1769, 1774, 1797, 1828, 1853, 1882, 1897,
- 1908, 1912, 1916, 1919, 1924, 1926, 1929, 1931, 1935, 1940,
- 1943, 1949, 1954, 1959, 1961, 1970, 1971, 1977, 1979, 1984,
- 1986, 1990, 1993, 1999, 2002, 2004, 2006, 2008, 2015, 2020,
- 2025, 2027, 2036, 2039, 2044, 2047, 2053, 2055, 2056, 2057,
- 2058, 2059, 2073, 2076, 2080, 2086, 2092, 2099, 2104, 2110,
- 2117, 2123, 2129, 2134, 2140, 2147, 2153, 2159, 2165, 2173,
- 2179, 2185, 2193, 2200, 2206, 2215, 2222, 2230, 2235, 2244,
- 2246, 2249, 2251, 2252, 2255, 2260, 2261, 2278, 2284, 2289,
- 2293, 2296, 2297, 2300, 2308, 2314, 2323, 2333, 2340, 2344,
- 2349, 2358, 2365, 2369, 2379, 2381, 2382, 2384, 2386, 2387,
- 2388, 2389, 2391, 2393, 2396, 2402, 2407, 2407, 2412, 2416,
- 2418, 2424, 2429, 2434, 2443, 2445, 2451, 2453, 2456, 2458,
- 2459, 2460, 2463, 2466, 2468, 2472, 2475, 2482, 2485, 2487,
- 2491, 2496, 2501, 2506, 2513, 2517, 2520, 2526, 2528, 2529,
- 2530, 2533, 2535, 2536, 2537, 2538, 2539, 2540, 2541, 2542,
- 2543, 2544, 2545, 2546, 2547, 2548, 2549, 2550, 2551, 2552,
- 2553, 2553, 2556, 2562, 2567, 2572, 2578, 2580, 2583, 2585,
- 2592, 2604, 2609, 2615, 2617, 2623, 2627, 2628, 2634, 2636,
- 2639, 2641, 2647, 2652, 2658, 2665, 2674
- };
-
- 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","@10",
- "expr_no_commas","primary","@11","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",
- "@12","notype_initdcl","@13","maybe_attribute","attribute_list","attrib","init",
- "@14","initlist_maybe_comma","initlist1","initelt","@15","@16","@17","nested_function",
- "@18","notype_nested_function","@19","declarator","after_type_declarator","parm_declarator",
- "notype_declarator","structsp","@20","@21","@22","@23","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",
- "@24","save_filename","save_lineno","lineno_labeled_stmt","lineno_stmt_or_label",
- "stmt_or_label","stmt","@25","@26","@27","@28","@29","@30","@31","all_iter_stmt",
- "all_iter_stmt_simple","@32","label","maybe_type_qual","xexpr","asm_operands",
- "nonnull_asm_operands","asm_operand","asm_clobbers","parmlist","@33","parmlist_1",
- "@34","parmlist_2","parms","parm","parmlist_or_identifiers","@35","parmlist_or_identifiers_1",
- "identifiers","identifiers_or_typenames","objcdef","identifier_list","classdecl",
- "aliasdecl","classdef","@36","@37","@38","@39","@40","@41","@42","@43","@44",
- "protocoldef","@45","protocolrefs","ivar_decl_list","visibility_spec","ivar_decls",
- "ivar_decl","ivars","ivar_declarator","methoddef","@46","@47","@48","@49","@50",
- "@51","methodprotolist","@52","methodprotolist2","@53","semi_or_error","methodproto",
- "@54","@55","@56","@57","methoddecl","optarglist","myxdecls","mydecls","mydecl",
- "myparms","myparm","optparmlist","@58","unaryselector","keywordselector","selector",
- "reservedwords","keyworddecl","messageargs","keywordarglist","keywordexpr","keywordarg",
- "receiver","objcmessageexpr","@59","@60","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,
- 106, 105, 107, 107, 107, 107, 107, 107, 107, 107,
- 107, 107, 107, 107, 107, 107, 107, 107, 107, 107,
- 108, 108, 108, 108, 108, 109, 108, 108, 108, 108,
- 108, 108, 108, 108, 108, 108, 108, 108, 110, 110,
- 111, 111, 112, 112, 112, 113, 114, 114, 114, 114,
- 115, 115, 115, 115, 116, 117, 117, 117, 117, 118,
- 119, 119, 119, 119, 119, 119, 120, 120, 121, 121,
- 121, 122, 122, 122, 122, 123, 123, 124, 124, 125,
- 125, 125, 125, 125, 125, 125, 126, 126, 126, 127,
- 127, 128, 128, 129, 129, 131, 130, 130, 133, 132,
- 132, 134, 134, 135, 135, 136, 136, 136, 136, 136,
- 137, 138, 137, 137, 139, 139, 140, 140, 141, 142,
- 141, 141, 143, 141, 144, 141, 146, 145, 148, 147,
- 149, 149, 150, 150, 150, 150, 150, 150, 150, 151,
- 151, 151, 151, 151, 152, 152, 152, 152, 152, 152,
- 154, 153, 153, 153, 155, 153, 153, 153, 156, 153,
- 157, 153, 153, 158, 158, 159, 159, 160, 160, 161,
- 161, 161, 161, 162, 162, 162, 162, 162, 163, 163,
- 164, 164, 164, 165, 165, 166, 166, 167, 167, 168,
- 168, 169, 169, 170, 170, 171, 171, 171, 171, 171,
- 171, 171, 171, 171, 172, 172, 172, 173, 173, 174,
- 175, 176, 176, 177, 177, 178, 179, 179, 180, 180,
- 180, 180, 181, 181, 182, 184, 183, 185, 186, 187,
- 187, 188, 189, 189, 190, 190, 190, 191, 190, 190,
- 190, 192, 193, 190, 190, 190, 194, 195, 196, 190,
- 197, 190, 190, 190, 190, 190, 190, 190, 190, 190,
- 190, 190, 190, 198, 200, 199, 201, 201, 201, 201,
- 202, 202, 203, 203, 204, 204, 205, 205, 206, 207,
- 207, 209, 208, 210, 211, 210, 210, 212, 212, 212,
- 212, 213, 213, 214, 214, 214, 214, 214, 216, 215,
- 217, 217, 218, 218, 219, 219, 220, 220, 220, 220,
- 220, 220, 221, 221, 222, 223, 225, 226, 224, 227,
- 224, 228, 229, 224, 230, 224, 231, 224, 224, 232,
- 224, 224, 233, 224, 224, 235, 234, 236, 236, 237,
- 237, 238, 238, 238, 239, 239, 239, 240, 240, 240,
- 241, 241, 241, 242, 242, 242, 244, 245, 246, 243,
- 247, 248, 249, 243, 250, 251, 250, 252, 252, 252,
- 253, 252, 254, 254, 256, 257, 255, 258, 259, 255,
- 260, 260, 260, 260, 261, 261, 262, 262, 263, 263,
- 263, 263, 264, 264, 264, 265, 265, 266, 266, 266,
- 267, 267, 268, 267, 269, 270, 270, 271, 271, 271,
- 271, 272, 272, 272, 272, 272, 272, 272, 272, 272,
- 272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
- 272, 272, 273, 273, 273, 273, 274, 274, 275, 275,
- 276, 277, 277, 278, 278, 280, 281, 279, 282, 282,
- 283, 283, 284, 284, 285, 286, 287
- };
-
- 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,
- 0, 7, 1, 3, 3, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 5, 3, 3,
- 1, 1, 1, 3, 3, 0, 4, 4, 4, 3,
- 3, 2, 2, 1, 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, 1, 4, 4, 8,
- 1, 0, 4, 1, 0, 2, 1, 3, 1, 0,
- 4, 1, 0, 4, 0, 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, 142, 133, 140, 132, 0, 0,
- 0, 0, 0, 417, 421, 0, 0, 372, 398, 0,
- 398, 0, 0, 18, 4, 8, 7, 0, 120, 120,
- 129, 141, 9, 368, 369, 367, 370, 371, 6, 16,
- 17, 31, 32, 34, 33, 221, 223, 230, 214, 230,
- 218, 0, 0, 0, 0, 398, 389, 0, 143, 398,
- 144, 373, 0, 0, 210, 254, 0, 0, 152, 0,
- 15, 0, 135, 134, 14, 0, 129, 127, 0, 219,
- 0, 0, 0, 211, 0, 215, 81, 82, 99, 0,
- 0, 49, 0, 0, 0, 35, 37, 36, 0, 38,
- 39, 0, 506, 0, 0, 0, 101, 40, 41, 0,
- 0, 42, 59, 63, 45, 47, 83, 98, 94, 95,
- 96, 97, 252, 0, 250, 138, 0, 250, 468, 469,
- 491, 492, 488, 472, 473, 474, 475, 476, 477, 478,
- 479, 480, 481, 482, 483, 484, 485, 486, 487, 489,
- 490, 0, 0, 470, 418, 442, 461, 465, 471, 466,
- 422, 0, 0, 380, 0, 0, 387, 0, 396, 375,
- 0, 0, 0, 0, 11, 0, 30, 0, 359, 0,
- 0, 162, 198, 254, 0, 199, 0, 150, 0, 191,
- 192, 0, 0, 128, 131, 147, 148, 130, 149, 246,
- 226, 244, 0, 0, 213, 238, 232, 120, 229, 120,
- 230, 217, 230, 0, 53, 0, 55, 0, 57, 58,
- 52, 48, 0, 0, 0, 0, 0, 0, 0, 0,
- 51, 0, 0, 0, 0, 333, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 92, 93, 0, 0, 43, 0, 100, 102, 145, 254,
- 342, 0, 248, 251, 136, 146, 253, 138, 249, 0,
- 496, 0, 445, 463, 444, 0, 467, 0, 445, 398,
- 0, 377, 426, 392, 0, 405, 399, 426, 374, 376,
- 255, 207, 206, 153, 154, 0, 205, 0, 209, 0,
- 0, 28, 0, 288, 108, 289, 0, 161, 0, 0,
- 13, 0, 22, 0, 162, 359, 0, 12, 26, 0,
- 0, 227, 0, 226, 0, 288, 231, 288, 0, 0,
- 0, 0, 50, 85, 84, 271, 0, 0, 505, 504,
- 507, 514, 509, 0, 510, 511, 0, 0, 10, 46,
- 80, 79, 334, 0, 77, 76, 74, 75, 73, 72,
- 71, 69, 70, 64, 65, 66, 67, 68, 91, 90,
- 0, 44, 0, 258, 0, 262, 0, 264, 0, 342,
- 0, 139, 137, 0, 0, 0, 419, 462, 348, 0,
- 494, 423, 385, 398, 405, 0, 0, 390, 395, 0,
- 0, 0, 0, 0, 363, 349, 250, 250, 361, 0,
- 350, 352, 360, 0, 208, 270, 0, 110, 105, 109,
- 0, 0, 159, 197, 193, 151, 20, 158, 194, 196,
- 0, 24, 247, 245, 222, 0, 233, 234, 239, 289,
- 236, 212, 216, 54, 56, 279, 272, 87, 61, 60,
- 0, 513, 515, 0, 512, 517, 516, 0, 88, 89,
- 257, 256, 343, 263, 259, 261, 0, 0, 441, 461,
- 120, 0, 450, 446, 448, 0, 0, 464, 350, 0,
- 0, 382, 426, 393, 0, 381, 435, 438, 429, 0,
- 120, 120, 431, 428, 405, 404, 402, 403, 388, 405,
- 410, 407, 120, 120, 0, 397, 155, 347, 204, 254,
- 342, 354, 355, 356, 254, 357, 358, 344, 345, 0,
- 362, 0, 0, 29, 277, 106, 120, 120, 0, 0,
- 0, 156, 195, 0, 220, 288, 0, 0, 0, 273,
- 274, 0, 0, 497, 0, 498, 499, 78, 260, 495,
- 443, 454, 250, 455, 451, 452, 420, 0, 424, 405,
- 0, 426, 378, 0, 0, 154, 0, 0, 0, 430,
- 0, 0, 411, 411, 406, 258, 359, 0, 258, 0,
- 351, 353, 364, 278, 113, 0, 114, 0, 166, 167,
- 0, 164, 174, 172, 171, 160, 21, 0, 25, 240,
- 0, 162, 365, 0, 0, 0, 288, 0, 117, 289,
- 265, 275, 182, 81, 0, 180, 0, 179, 0, 224,
- 177, 501, 503, 0, 508, 0, 500, 458, 459, 460,
- 0, 456, 493, 0, 386, 0, 426, 436, 439, 432,
- 391, 0, 414, 408, 412, 409, 203, 200, 202, 0,
- 346, 0, 0, 0, 0, 0, 0, 157, 162, 0,
- 241, 276, 0, 281, 119, 118, 0, 0, 282, 267,
- 289, 266, 0, 0, 0, 183, 62, 0, 176, 502,
- 453, 250, 383, 394, 0, 0, 0, 416, 0, 0,
- 201, 111, 112, 0, 0, 163, 165, 0, 243, 162,
- 366, 280, 0, 142, 0, 302, 286, 0, 0, 0,
- 0, 0, 0, 0, 0, 331, 398, 398, 323, 0,
- 0, 115, 120, 120, 295, 300, 0, 0, 292, 293,
- 296, 324, 294, 185, 0, 0, 178, 457, 426, 379,
- 434, 433, 437, 440, 415, 413, 168, 0, 169, 173,
- 242, 0, 0, 288, 333, 0, 0, 329, 313, 314,
- 315, 0, 0, 0, 332, 0, 330, 297, 125, 0,
- 126, 0, 0, 284, 289, 283, 306, 0, 0, 181,
- 184, 0, 0, 0, 0, 0, 47, 0, 0, 0,
- 327, 316, 0, 321, 0, 0, 123, 154, 0, 124,
- 154, 301, 288, 0, 0, 186, 384, 0, 285, 0,
- 287, 325, 307, 311, 0, 322, 0, 121, 0, 122,
- 0, 299, 290, 288, 0, 0, 303, 288, 333, 288,
- 328, 335, 0, 188, 190, 291, 305, 170, 288, 326,
- 0, 312, 0, 0, 336, 337, 317, 304, 308, 0,
- 335, 0, 0, 333, 0, 0, 318, 338, 0, 339,
- 0, 0, 309, 340, 0, 319, 288, 0, 0, 310,
- 320, 341, 0, 0, 0
- };
-
- static const short yydefgoto[] = { 873,
- 1, 2, 3, 25, 26, 27, 314, 531, 320, 534,
- 181, 417, 617, 110, 353, 371, 112, 113, 218, 114,
- 542, 115, 116, 225, 117, 118, 302, 303, 304, 526,
- 606, 607, 28, 722, 407, 78, 408, 125, 265, 31,
- 198, 187, 68, 182, 188, 598, 69, 530, 308, 591,
- 592, 596, 657, 619, 620, 621, 675, 736, 779, 797,
- 819, 800, 821, 295, 190, 628, 191, 32, 211, 213,
- 203, 79, 679, 323, 82, 83, 209, 438, 439, 201,
- 202, 127, 630, 128, 173, 264, 608, 668, 305, 447,
- 539, 540, 541, 524, 525, 726, 727, 728, 754, 775,
- 421, 776, 611, 729, 730, 803, 753, 839, 829, 854,
- 867, 830, 731, 732, 828, 733, 766, 354, 844, 845,
- 846, 865, 376, 377, 409, 580, 410, 411, 412, 297,
- 298, 413, 414, 604, 33, 63, 34, 35, 36, 395,
- 637, 283, 560, 739, 483, 286, 495, 562, 37, 288,
- 59, 400, 500, 401, 505, 644, 645, 38, 54, 273,
- 477, 55, 279, 481, 396, 397, 493, 569, 743, 494,
- 564, 686, 565, 687, 155, 387, 474, 475, 476, 631,
- 632, 275, 389, 156, 157, 158, 159, 160, 545, 546,
- 623, 547, 341, 119, 227, 451, 344, 345, 346, 120,
- 121, 122
- };
-
- static const short yypact[] = { 108,
- 110, 2683, 2683, 307,-32768,-32768,-32768,-32768, 69, 80,
- 219, 105, 111,-32768,-32768, 231, 231,-32768, 74, 231,
- 74, 231, 231,-32768,-32768,-32768,-32768, 151, 122, 641,
- -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- -32768,-32768,-32768,-32768,-32768,-32768, 123, 163, 148, 163,
- 162, 2468, 2303, 2927, 2927, 61, 32, 231,-32768, 74,
- -32768,-32768, 114, 231,-32768,-32768, 151, 292,-32768, 1566,
- -32768, 255,-32768,-32768,-32768, 151,-32768, 710, 231,-32768,
- 195, 187, 1739,-32768, 214,-32768,-32768,-32768,-32768, 2502,
- 2557,-32768, 2468, 2468, 231,-32768,-32768,-32768, 2468,-32768,
- -32768, 1238,-32768, 249, 256, 265,-32768,-32768,-32768, 2468,
- 250, 248,-32768,-32768, 3198, 820, 340, 285,-32768,-32768,
- -32768,-32768,-32768, 299, 294,-32768, 316, 3063,-32768,-32768,
- -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- -32768, 237, 411,-32768,-32768,-32768, 2269, 365,-32768,-32768,
- -32768, 231, 231, 371, 231, 231,-32768, 40,-32768,-32768,
- 231, 355, 328, 35,-32768, 255,-32768, 396,-32768, 1730,
- 430, 428,-32768,-32768, 255,-32768, 300,-32768, 588, 366,
- 387, 314, 1646, 710,-32768,-32768,-32768,-32768,-32768, 424,
- 382,-32768, 231, 434,-32768,-32768,-32768, 399, 402, 1657,
- 163,-32768, 163, 1238,-32768, 1238,-32768, 2468,-32768,-32768,
- -32768,-32768, 427, 437, 432, 439, 2358, 2956, 411, 231,
- -32768, 445, 2468, 2468, 2468, 2468, 2468, 2468, 2468, 2468,
- 2468, 2468, 2468, 2468, 2468, 2468, 2468, 2468, 2468, 2468,
- -32768,-32768, 231, 231, 2468, 2468,-32768,-32768,-32768,-32768,
- 294, 1790,-32768, 422, 591,-32768,-32768,-32768,-32768, 411,
- -32768, 450, 453, 518,-32768, 365,-32768, 240, 453, 74,
- 452,-32768, 468, 469, 457,-32768,-32768, 468,-32768,-32768,
- -32768, 387,-32768,-32768, 509, 542,-32768, 673,-32768, 475,
- 482,-32768, 629, 60,-32768,-32768, 505, 530, 247, 42,
- -32768, 255,-32768, 430, 428,-32768, 1850,-32768,-32768, 430,
- 2468, 231, 489, 382, 492,-32768,-32768,-32768, 493, 494,
- 498, 499,-32768,-32768,-32768, 500, 503, 2188,-32768,-32768,
- -32768,-32768, 532, 506, 2956,-32768, 507, 508,-32768, 3198,
- 3198, 3198,-32768, 548, 1212, 1370, 1450, 2274, 496, 2621,
- 687, 739, 739, 444, 444,-32768,-32768,-32768,-32768,-32768,
- 513, 248, 522, 305, 276,-32768, 2811,-32768, 524,-32768,
- 1910,-32768, 591, 514, 2995, 1674,-32768,-32768, 1687, 411,
- -32768,-32768, 526, 74,-32768, 547, 2759,-32768,-32768, 288,
- 2635, 549, 54, 543,-32768,-32768, 291, 3052,-32768, 552,
- 324,-32768,-32768, 22,-32768,-32768, 56,-32768,-32768,-32768,
- 3128, 567,-32768, 366,-32768,-32768,-32768, 594,-32768,-32768,
- 553,-32768, 3198,-32768,-32768, 559,-32768, 558,-32768,-32768,
- 558,-32768,-32768,-32768,-32768,-32768, 599,-32768,-32768,-32768,
- 3024,-32768,-32768, 532,-32768,-32768,-32768, 2468,-32768,-32768,
- 422,-32768,-32768,-32768,-32768,-32768, 560, 231,-32768, 2269,
- 572, 2829,-32768,-32768, 3128, 1704, 56,-32768, 570, 582,
- 56,-32768, 468,-32768, 351,-32768,-32768,-32768,-32768, 151,
- 122, 641, 331,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- -32768,-32768,-32768, 550, 585,-32768,-32768,-32768,-32768,-32768,
- 217, 425, 387,-32768,-32768, 387,-32768,-32768,-32768, 3080,
- -32768, 657, 432,-32768,-32768,-32768, 587, 2848, 380, 1557,
- 56,-32768,-32768, 56,-32768,-32768, 78, 231, 833, 599,
- -32768, 1319, 2468, 628, 589, 3024,-32768, 1291,-32768,-32768,
- -32768,-32768, 291,-32768,-32768,-32768,-32768, 231,-32768,-32768,
- 608, 468,-32768, 2927, 2927, 225, 255, 151, 2778,-32768,
- 381, 2652, 223, 223,-32768, 272,-32768, 1970, 311, 2811,
- -32768,-32768,-32768,-32768,-32768, 255,-32768, 151, 621,-32768,
- 160,-32768,-32768,-32768, 3198,-32768,-32768, 1557,-32768,-32768,
- 2468, 67,-32768, 350, 412, 752, 603, 914,-32768,-32768,
- -32768,-32768,-32768, 645, 231,-32768, 649, 3198, 610, 609,
- -32768, 248,-32768, 2468,-32768, 628,-32768, 425, 387,-32768,
- 363,-32768,-32768, 451,-32768, 630, 468,-32768,-32768,-32768,
- -32768, 2468, 654, 613,-32768, 613, 425,-32768,-32768, 612,
- -32768, 375, 384, 261, 631, 380, 1319,-32768, 3162, 2468,
- -32768,-32768, 231,-32768,-32768,-32768, 995, 626,-32768,-32768,
- -32768,-32768, 2052, 676, 1319,-32768,-32768, 1400,-32768,-32768,
- -32768, 291,-32768,-32768, 661, 68, 68, 3198, 2468, 223,
- -32768,-32768,-32768, 190, 650,-32768,-32768, 651,-32768, 3162,
- -32768,-32768, 2133, 689, 671,-32768,-32768, 672, 682, 2468,
- 705, 667, 669, 2413, 76, 741, 193, 224,-32768, 712,
- 684,-32768, 690, 2859,-32768, 733, 1076, 63,-32768,-32768,
- -32768,-32768,-32768,-32768, 703, 1481,-32768,-32768, 468,-32768,
- -32768,-32768,-32768,-32768, 3198,-32768,-32768, 775,-32768,-32768,
- -32768, 2468, 725,-32768, 2468, 2468, 3127,-32768,-32768,-32768,
- -32768, 716, 2468, 717,-32768, 737,-32768,-32768,-32768, 255,
- -32768, 151, 1157,-32768,-32768,-32768,-32768, 2468, 1481,-32768,
- -32768, 736, 722, 728, 2468, 789, 352, 731, 734, 2468,
- -32768,-32768, 732,-32768, 2468, 389,-32768, 50, 392,-32768,
- 220,-32768,-32768, 2133, 738,-32768,-32768, 806,-32768, 744,
- -32768,-32768,-32768,-32768, 3180,-32768, 39,-32768, 432,-32768,
- 432,-32768,-32768,-32768, 740, 745,-32768,-32768, 2468,-32768,
- -32768, 807, 748,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- 749,-32768, 763, 48, 747,-32768,-32768,-32768,-32768, 2468,
- 807, 765, 807, 2468, 772, 58,-32768,-32768, 786,-32768,
- 542, 788,-32768, 340, 207,-32768,-32768, 791, 542,-32768,
- -32768, 340, 864, 870,-32768
- };
-
- static const short yypgoto[] = {-32768,
- -32768,-32768,-32768, 868, -350,-32768,-32768,-32768,-32768,-32768,
- -32768,-32768, -5,-32768, -52,-32768, -224, 417,-32768, -48,
- -32768, -61, 117,-32768, -287,-32768, -226, 569,-32768,-32768,
- 278,-32768, -3,-32768, 17, 809, 19, -67, 619, -17,
- -189, -542, -69, -186, -122,-32768,-32768,-32768, -291,-32768,
- 234, 293,-32768, -582,-32768, -623,-32768,-32768,-32768,-32768,
- -32768,-32768,-32768, -64, -118, -359, -18, -44,-32768,-32768,
- -32768,-32768,-32768, 568, 2,-32768,-32768, 571, 359, 693,
- 575, -13, -86, -60, -146, -229, 295,-32768, -268,-32768,
- -32768,-32768, 364, -133, -197,-32768,-32768,-32768,-32768, -90,
- -415, -698, -543,-32768, 99,-32768,-32768,-32768,-32768,-32768,
- -32768,-32768,-32768,-32768,-32768, 103,-32768, -695, 57,-32768,
- 59,-32768, 539,-32768, -334,-32768, 521, 531, 401, -276,
- -32768,-32768,-32768,-32768,-32768, 866,-32768,-32768,-32768,-32768,
- -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- -19, -327,-32768, 426,-32768, 353, 238,-32768,-32768,-32768,
- -32768,-32768,-32768,-32768, -274,-32768,-32768,-32768, 243, 449,
- -32768,-32768,-32768,-32768, -26, 665,-32768,-32768, 470,-32768,
- 268, 477,-32768, 566, 574, -127,-32768, -124,-32768,-32768,
- 329, 406,-32768,-32768,-32768,-32768,-32768,-32768, 611,-32768,
- -32768,-32768
- };
-
-
- #define YYLAST 3251
-
-
- static const short yytable[] = { 111,
- 124, 61, 315, 47, 49, 51, 192, 189, 403, 70,
- 56, 57, 77, 402, 60, 208, 62, 64, 29, 29,
- 30, 30, 210, 428, 537, 72, 76, 337, 161, 276,
- 372, 375, 277, 199, 418, 126, 164, 309, 263, 429,
- 169, 269, 463, 652, 219, 220, 489, 512, 174, 224,
- 222, 85, 62, 294, 737, 786, 523, 193, 172, 788,
- -104, 231, 257, 777, 672, 126, 310, 485, 741, 419,
- 165, 42, 43, 200, 698, 382, 178, 832, 42, 43,
- 65, 183, 42, 43, 126, 287, 851, 427, 226, 221,
- 306, 166, 735, 432, 179, 180, 861, 307, 521, 162,
- 343, 316, 317, 522, 822, 660, 58, -1, 315, -2,
- 268, 293, 781, 374, 167, 833, 601, 473, 425, 58,
- 163, 171, 778, 672, 852, 836, 763, 300, 184, 840,
- 507, 842, -187, 841, 862, 126, 44, 185, 336, 272,
- 848, 45, -104, 44, 461, 742, 271, 44, 45, 199,
- 186, 46, 45, 65, 292, 806, 280, 281, 859, 284,
- 285, 224, 48, 224, 52, 289, 174, 571, 870, 333,
- 53, 350, 351, 352, 340, 355, 356, 357, 358, 359,
- 360, 361, 362, 363, 364, 365, 366, 367, 368, 426,
- 424, 170, 268, 382, 673, 171, 126, 200, 126, 71,
- 331, 66, 332, 373, 326, 80, 328, 556, 561, 379,
- 67, 126, 329, 306, 330, 347, 647, 454, 640, 65,
- 199, 42, 43, 306, 348, 65, 183, 796, 81, 306,
- 84, -34, 634, 42, 43, 440, 655, 440, 58, 42,
- 43, 656, 42, 43, 86, 651, 178, 369, 370, 65,
- 183, 178, 126, 291, 204, 703, 384, 65, 183, 433,
- 393, 642, -33, 694, 431, 205, 747, 515, 695, 58,
- 609, 748, 391, 184, 65, 509, 511, 262, 291, 179,
- 180, 375, 185, 868, 179, 180, 44, 636, 869, 450,
- 292, 45, 212, 65, 509, 186, 270, 184, 44, 390,
- 648, 50, -189, 45, 44, 184, 185, 44, 228, 45,
- 661, 291, 45, 65, 185, 229, 200, 291, 622, 186,
- 514, 517, 510, 544, 230, 584, 232, 186, 467, 233,
- 65, 511, 262, 503, 291, 380, 381, 665, 199, 670,
- 504, 510, 276, 557, 260, 277, 461, 559, 257, 461,
- 511, 262, 462, 261, 262, 260, 496, 497, 498, 804,
- 258, 515, 685, 576, 261, 262, 499, 699, 579, 175,
- 511, 262, 126, 176, 484, 259, 480, 311, 66, 487,
- 488, 312, 589, 126, 40, 41, 590, 67, 513, 516,
- 77, 318, 266, 490, -427, 176, 548, 597, 670, 622,
- 599, 519, 471, 278, 472, 520, 251, 252, 751, 253,
- 254, 255, 256, 491, 5, 492, 7, 123, 626, 496,
- 497, 498, 9, 10, 11, 316, 317, 662, 812, 563,
- 301, 663, 290, -288, -288, -288, -288, 527, 13, 528,
- 681, -288, -288, -288, 682, 440, 179, 180, 610, 496,
- 497, 498, 692, 282, 77, 296, 312, -288, 307, 641,
- 321, 693, 550, 322, 782, 176, 818, 553, 595, 820,
- 312, 566, 602, 176, 77, 725, -235, -235, 19, 327,
- 618, 380, 381, 21, 577, 578, 268, 567, 568, 416,
- 664, 471, 174, 472, 248, 249, 250, -288, 192, 573,
- 574, 325, -288, 334, 503, 725, 215, 217, 643, 643,
- 77, 504, -103, 335, 336, 338, 610, 671, 653, 496,
- 497, 498, 349, 586, 588, 650, 385, 388, 394, 683,
- 386, -425, 603, 399, 629, 178, 595, 638, 639, 659,
- 242, 243, 244, 245, 246, 247, 248, 249, 250, 566,
- 89, 398, 633, 5, 126, 7, 267, 292, 415, 416,
- 292, 9, 10, 11, 422, 490, 423, 435, 437, 566,
- 452, 442, 443, 864, 444, 445, 671, 13, 446, 448,
- 688, 872, 453, 456, 457, 491, 458, 492, 313, 459,
- 468, -19, -19, -19, -19, 618, 196, 197, 700, -19,
- -19, -19, 9, 10, 11, 460, 725, 464, 482, 674,
- 486, 315, 506, 618, 178, -19, 618, 19, -154, 508,
- 721, 834, 21, 835, -154, 643, 529, 745, 518, 301,
- 532, 538, -107, -107, -107, -107, 533, 535, -107, 536,
- -107, -107, -107, 549, 5, 73, 7, 74, 757, 552,
- 721, 520, 9, 10, 11, -19, -107, 701, 558, 583,
- -19, 762, 575, 629, 585, -154, 624, 720, 13, -154,
- -19, 635, 625, 404, 618, 405, 5, 6, 7, 8,
- 654, -268, 406, -31, 9, 10, 11, 676, 677, 723,
- 678, 724, 689, 684, 690, 691, -107, 720, 61, 784,
- 13, -107, 799, 789, 702, 798, 77, 696, 19, 764,
- 793, -107, 734, 21, 195, 196, 197, 618, 75, 770,
- 772, 9, 10, 11, 740, 805, 749, -32, 815, 750,
- 752, 755, 810, 244, 245, 246, 247, 248, 249, 250,
- 19, 756, 817, 758, 759, 21, 760, 765, 773, -348,
- 767, 721, 301, 801, -116, -116, -116, -116, -116, -116,
- -116, 768, -116, -116, -116, -116, -116, 769, -116, -116,
- -116, -116, -116, -116, -116, -116, -116, -116, -116, -116,
- -116, 780, 783, -116, 785, -116, -116, 246, 247, 248,
- 249, 250, -116, 792, 794, -116, 795, 855, 720, 807,
- -116, -116, -116, 808, 809, 811, -116, -116, 813, 816,
- 814, -116, -116, 826, 825, 843, -116, 837, -116, -116,
- 827, 838, 850, -116, -116, 847, 849, -116, 853, -116,
- -116, -116, -116, 605, -116, -288, -288, -288, -288, -288,
- -288, -288, 857, -288, -288, -288, -288, -288, 860, -288,
- -288, -288, -288, -288, -288, -288, -288, -288, -288, -288,
- -288, -288, 863, 874, -288, 866, -288, -288, 871, 875,
- 39, 787, 420, -288, 251, 252, -288, 253, 254, 255,
- 256, -288, -288, -288, 666, 194, 383, -288, -288, 697,
- 658, 436, -288, -288, 600, 324, 434, -288, 441, -288,
- -288, 667, 823, 612, -288, -288, 824, 856, -288, 478,
- -288, 858, -288, -288, 301, -288, -288, -288, 465, 479,
- 582, -288, -288, 168, -288, 572, 646, 746, -288, 744,
- -288, -288, -288, -288, -288, -288, -288, -288, -288, -288,
- -288, 570, -288, 392, 555, -288, 551, -288, -288, 738,
- 469, 627, 680, 0, -288, 455, 0, -288, 470, 0,
- 0, 0, -288, -288, -288, 0, 0, 0, -288, -288,
- 0, 0, 0, -288, -288, 0, 0, 0, -288, 0,
- -288, -288, 0, 0, 0, -288, -288, 0, 0, -288,
- 0, -288, 669, -288, -288, 301, -288, -288, -288, 0,
- 0, 0, -288, -288, 0, -288, 0, 0, 0, -288,
- 0, -288, -288, -288, -288, -288, -288, -288, -288, -288,
- -288, -288, 0, -288, 0, 0, -288, 0, -288, -288,
- 0, 0, 0, 0, 0, -288, 0, 0, -288, 0,
- 0, 0, 0, -288, -288, -288, 0, 0, 0, -288,
- -288, 0, 0, 0, -288, -288, 0, 0, 0, -288,
- 0, -288, -288, 0, 0, 0, -288, -288, 0, 0,
- -288, 0, -288, -269, -288, -288, 774, -288, -288, -288,
- 0, 0, 0, -288, -288, 0, -288, 0, 0, 0,
- -288, 0, -288, -288, -288, -288, -288, -288, -288, -288,
- -288, -288, -288, 0, -288, 0, 0, -288, 0, -288,
- -288, 0, 0, 0, 0, 0, -288, 0, 0, -288,
- 0, 0, 0, 0, -288, -288, -288, 0, 0, 0,
- -288, -288, 0, 0, 0, -288, -288, 0, 0, 0,
- -288, 0, -288, -288, 0, 0, 0, -288, -288, 0,
- 0, -288, 0, -288, 0, -288, -288, 802, -288, -298,
- -298, 0, 0, 0, -298, -298, 0, -298, 0, 0,
- 0, -298, 0, -298, -298, -298, -298, -298, -298, -298,
- -298, -298, -298, -298, 0, -298, 0, 0, -298, 0,
- -298, -298, 0, 0, 0, 0, 0, -298, 0, 0,
- -298, 0, 0, 0, 0, -298, -298, -298, 0, 0,
- 0, -298, -298, 0, 0, 0, -298, -298, 0, 0,
- 0, -298, 0, -298, -298, 0, 0, 0, -298, -298,
- 0, 0, -298, 0, -298, 0, -298, -298, 223, -298,
- 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, 613,
- -86, 614, 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, 615, 102, 103,
- 0, 0, 0, 104, 0, 105, 44, 0, 0, 0,
- 106, 45, 0, 0, 107, 0, 0, -175, 108, 109,
- 613, 616, 614, 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, 615, 102,
- 103, 0, 0, 0, 104, 0, 105, 44, 0, 0,
- 0, 106, 45, 0, 0, 107, 0, 0, -225, 108,
- 109, 613, 616, 614, 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, 615,
- 102, 103, 0, 0, 0, 104, 0, 105, 44, 0,
- 0, 0, 106, 45, 0, 0, 107, 593, 0, 87,
- 108, 109, 0, 616, 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, -154, 95, 0, 0,
- 96, 0, -154, 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, 594,
- 0, 0, 0, -154, 0, 0, 319, -154, -27, -23,
- -23, -23, -23, 0, 0, 0, 0, -23, -23, -23,
- 5, 0, 7, 267, 0, 0, 0, 0, 9, 10,
- 11, 0, 178, -23, 301, 0, -154, 5, 6, 7,
- 8, 0, -154, 0, 13, 9, 10, 11, 0, 0,
- 5, 6, 7, 8, 0, 0, 406, 0, 9, 10,
- 11, 13, 0, 0, 301, 179, 180, -449, -449, -449,
- -449, 0, 0, -23, 13, -449, -449, -449, -23, 0,
- 0, 0, 0, -154, 19, 0, 0, -154, -23, 21,
- 0, -449, 87, 0, -237, -237, 0, 88, 89, 206,
- 90, 19, 5, 0, 7, 123, 21, 0, 0, 0,
- 9, 10, 11, 0, 19, 0, -447, 0, 91, 21,
- 0, 92, 0, 93, 94, 0, 13, 0, 0, 0,
- 95, -449, 0, 96, 0, 0, -449, 0, 97, 98,
- 99, 0, 0, 0, 100, 101, -449, 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, 299, 0, 0, 207, -228, 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, 378, 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, 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, 649, 614, 704, 6, 7, 8, 88,
- 89, 0, 90, 9, 10, 11, 705, 0, 706, 707,
- 708, 709, 710, 711, 712, 713, 714, 715, 716, 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, 717,
- 0, 0, 0, 106, 718, 0, 0, 107, 0, 719,
- 0, 108, 109, 0, 336, 614, 43, 0, 0, 0,
- 88, 89, 0, 90, 0, 0, 0, 705, 0, 706,
- 707, 708, 709, 710, 711, 712, 713, 714, 715, 716,
- 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,
- 87, 0, 102, 103, 0, 88, 89, 104, 90, 105,
- 44, 0, 0, 0, 106, 45, 0, 0, 107, 0,
- 719, 0, 108, 109, 0, 336, 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,
- 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, 241, 242, 243,
- 244, 245, 246, 247, 248, 249, 250, 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, 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, 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, 0,
- 0, 0, 0, 95, 0, 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,
- 761, 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, 243, 244, 245, 246,
- 247, 248, 249, 250, 0, 0, 0, 0, 0, 13,
- 0, 0, 0, 4, 0, -120, 5, 6, 7, 8,
- 0, 0, 0, 0, 9, 10, 11, 0, 0, 0,
- 0, 0, 19, -401, -401, -401, 0, 21, 0, 12,
- 13, 0, 502, -401, 0, 0, 0, 0, 0, 19,
- -400, -400, -400, 0, 21, 0, 0, 0, 0, 502,
- -400, 14, 15, -120, 0, 0, 0, 0, 0, 0,
- 0, 0, -120, 0, 16, 17, 18, 0, 0, 0,
- 19, 0, 0, 0, 20, 21, 22, 23, 0, 4,
- 24, -120, 5, 6, 7, 8, 0, 0, 0, 0,
- 9, 10, 11, 0, 0, 0, 0, 0, 4, 0,
- -120, 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, -120,
- 0, 404, 0, 0, 5, 6, 7, 8, -120, 0,
- 406, 0, 9, 10, 11, 0, 19, 0, -120, 0,
- 0, 21, 5, 73, 7, 74, 24, -120, 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, -348, 0, 0,
- 0, 0, 0, 0, 0, 0, 19, 0, 0, 0,
- 0, 21, 0, 0, 0, 0, 554, 0, 0, 0,
- 0, 0, 0, 0, 0, 19, 0, 0, 0, 0,
- 21, 0, 0, 0, 0, 587, 19, 0, 0, 129,
- 130, 21, 131, 132, 0, 0, 771, 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, 543, 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, 581,
- 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, 790, 0, 0, 9,
- 10, 11, 0, 0, 0, 0, 0, 19, 0, 0,
- 0, 0, 21, 0, 0, 13, 0, 0, 0, 0,
- 0, 0, 234, 235, 236, 791, 237, 238, 239, 240,
- 241, 242, 243, 244, 245, 246, 247, 248, 249, 250,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 307, 0, 0, 19, 0, 234, 235, 236,
- 21, 237, 238, 239, 240, 241, 242, 243, 244, 245,
- 246, 247, 248, 249, 250, 234, 235, 236, 831, 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, 72, 296, 28,
- 16, 17, 30, 288, 20, 83, 22, 23, 2, 3,
- 2, 3, 83, 315, 440, 29, 30, 225, 55, 157,
- 255, 261, 157, 78, 303, 53, 56, 184, 125, 316,
- 60, 128, 377, 586, 93, 94, 397, 407, 67, 102,
- 99, 50, 58, 176, 678, 754, 1, 76, 64, 755,
- 1, 110, 9, 1, 608, 83, 185, 395, 1, 10,
- 39, 3, 4, 79, 657, 265, 27, 39, 3, 4,
- 3, 4, 3, 4, 102, 46, 39, 314, 102, 95,
- 181, 60, 675, 320, 60, 61, 39, 31, 77, 39,
- 228, 60, 61, 82, 803, 39, 46, 0, 295, 0,
- 128, 77, 736, 260, 83, 77, 39, 386, 77, 46,
- 60, 82, 60, 667, 77, 824, 51, 180, 51, 828,
- 77, 830, 83, 829, 77, 153, 68, 60, 83, 153,
- 839, 73, 83, 68, 374, 78, 152, 68, 73, 194,
- 73, 83, 73, 3, 173, 779, 162, 163, 854, 165,
- 166, 214, 83, 216, 60, 171, 185, 495, 867, 218,
- 60, 233, 234, 235, 227, 237, 238, 239, 240, 241,
- 242, 243, 244, 245, 246, 247, 248, 249, 250, 312,
- 309, 78, 210, 383, 610, 82, 214, 203, 216, 78,
- 214, 51, 216, 256, 208, 83, 210, 476, 483, 262,
- 60, 229, 211, 304, 213, 229, 576, 345, 569, 3,
- 265, 3, 4, 314, 230, 3, 4, 770, 66, 320,
- 83, 39, 560, 3, 4, 326, 77, 328, 46, 3,
- 4, 82, 3, 4, 83, 580, 27, 253, 254, 3,
- 4, 27, 270, 7, 60, 671, 270, 3, 4, 321,
- 280, 39, 39, 3, 317, 79, 77, 51, 8, 46,
- 539, 82, 278, 51, 3, 4, 60, 61, 7, 60,
- 61, 511, 60, 77, 60, 61, 68, 562, 82, 338,
- 309, 73, 79, 3, 4, 73, 60, 51, 68, 60,
- 577, 83, 83, 73, 68, 51, 60, 68, 60, 73,
- 602, 7, 73, 3, 60, 60, 322, 7, 543, 73,
- 407, 408, 51, 451, 60, 523, 77, 73, 381, 82,
- 3, 60, 61, 401, 7, 60, 61, 606, 383, 608,
- 401, 51, 470, 477, 51, 470, 576, 481, 9, 579,
- 60, 61, 77, 60, 61, 51, 69, 70, 71, 775,
- 76, 51, 637, 510, 60, 61, 79, 659, 515, 78,
- 60, 61, 390, 82, 394, 77, 390, 78, 51, 49,
- 50, 82, 3, 401, 78, 79, 7, 60, 407, 408,
- 408, 78, 77, 397, 64, 82, 458, 531, 667, 624,
- 534, 78, 386, 39, 386, 82, 55, 56, 700, 58,
- 59, 60, 61, 397, 4, 397, 6, 7, 546, 69,
- 70, 71, 12, 13, 14, 60, 61, 78, 77, 79,
- 1, 82, 78, 4, 5, 6, 7, 421, 28, 421,
- 78, 12, 13, 14, 82, 536, 60, 61, 539, 69,
- 70, 71, 78, 83, 472, 60, 82, 28, 31, 79,
- 37, 78, 468, 82, 739, 82, 78, 471, 530, 78,
- 82, 490, 537, 82, 492, 673, 78, 79, 68, 78,
- 542, 60, 61, 73, 60, 61, 504, 491, 492, 78,
- 79, 475, 511, 475, 51, 52, 53, 68, 568, 503,
- 504, 68, 73, 77, 572, 703, 90, 91, 573, 574,
- 528, 572, 83, 77, 83, 77, 607, 608, 588, 69,
- 70, 71, 78, 527, 528, 578, 77, 10, 77, 79,
- 78, 64, 538, 77, 553, 27, 598, 564, 565, 601,
- 45, 46, 47, 48, 49, 50, 51, 52, 53, 568,
- 9, 83, 558, 4, 572, 6, 7, 576, 84, 78,
- 579, 12, 13, 14, 60, 569, 37, 79, 77, 588,
- 39, 79, 79, 861, 77, 77, 667, 28, 79, 77,
- 642, 869, 77, 77, 77, 569, 39, 569, 1, 77,
- 77, 4, 5, 6, 7, 657, 6, 7, 660, 12,
- 13, 14, 12, 13, 14, 84, 804, 84, 83, 615,
- 64, 798, 64, 675, 27, 28, 678, 68, 31, 77,
- 673, 819, 73, 821, 37, 690, 60, 689, 77, 1,
- 37, 33, 4, 5, 6, 7, 84, 79, 10, 82,
- 12, 13, 14, 84, 4, 5, 6, 7, 710, 78,
- 703, 82, 12, 13, 14, 68, 28, 663, 77, 3,
- 73, 714, 78, 682, 78, 78, 39, 673, 28, 82,
- 83, 64, 84, 1, 736, 3, 4, 5, 6, 7,
- 60, 79, 10, 39, 12, 13, 14, 39, 79, 673,
- 82, 673, 39, 64, 82, 84, 68, 703, 718, 752,
- 28, 73, 772, 756, 79, 770, 724, 77, 68, 715,
- 763, 83, 37, 73, 5, 6, 7, 779, 78, 723,
- 724, 12, 13, 14, 64, 778, 77, 39, 790, 79,
- 60, 60, 785, 47, 48, 49, 50, 51, 52, 53,
- 68, 60, 795, 39, 78, 73, 78, 7, 16, 77,
- 39, 804, 1, 772, 3, 4, 5, 6, 7, 8,
- 9, 78, 11, 12, 13, 14, 15, 78, 17, 18,
- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
- 29, 79, 8, 32, 60, 34, 35, 49, 50, 51,
- 52, 53, 41, 78, 78, 44, 60, 850, 804, 64,
- 49, 50, 51, 82, 77, 17, 55, 56, 78, 78,
- 77, 60, 61, 8, 77, 9, 65, 78, 67, 68,
- 77, 77, 60, 72, 73, 78, 78, 76, 82, 78,
- 79, 80, 81, 1, 83, 3, 4, 5, 6, 7,
- 8, 9, 78, 11, 12, 13, 14, 15, 77, 17,
- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
- 28, 29, 77, 0, 32, 78, 34, 35, 78, 0,
- 3, 755, 304, 41, 55, 56, 44, 58, 59, 60,
- 61, 49, 50, 51, 607, 77, 268, 55, 56, 656,
- 598, 324, 60, 61, 536, 203, 322, 65, 328, 67,
- 68, 607, 804, 540, 72, 73, 804, 851, 76, 389,
- 78, 853, 80, 81, 1, 83, 3, 4, 380, 389,
- 520, 8, 9, 58, 11, 500, 574, 690, 15, 687,
- 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
- 27, 493, 29, 279, 475, 32, 470, 34, 35, 682,
- 385, 546, 624, -1, 41, 345, -1, 44, 385, -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, 59, 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, 59, 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, 59,
- 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,
- 4, -1, 6, 7, -1, -1, -1, -1, 12, 13,
- 14, -1, 27, 28, 1, -1, 31, 4, 5, 6,
- 7, -1, 37, -1, 28, 12, 13, 14, -1, -1,
- 4, 5, 6, 7, -1, -1, 10, -1, 12, 13,
- 14, 28, -1, -1, 1, 60, 61, 4, 5, 6,
- 7, -1, -1, 68, 28, 12, 13, 14, 73, -1,
- -1, -1, -1, 78, 68, -1, -1, 82, 83, 73,
- -1, 28, 3, -1, 78, 79, -1, 8, 9, 1,
- 11, 68, 4, -1, 6, 7, 73, -1, -1, -1,
- 12, 13, 14, -1, 68, -1, 83, -1, 29, 73,
- -1, 32, -1, 34, 35, -1, 28, -1, -1, -1,
- 41, 68, -1, 44, -1, -1, 73, -1, 49, 50,
- 51, -1, -1, -1, 55, 56, 83, -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, -1, 78, 79, 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, 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,
- -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,
- 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, -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,
- 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, 44, 45, 46,
- 47, 48, 49, 50, 51, 52, 53, -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, -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, 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, -1,
- -1, -1, -1, 41, -1, -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, 46, 47, 48, 49,
- 50, 51, 52, 53, -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, 10, -1, -1, 12,
- 13, 14, -1, -1, -1, -1, -1, 68, -1, -1,
- -1, -1, 73, -1, -1, 28, -1, -1, -1, -1,
- -1, -1, 36, 37, 38, 39, 40, 41, 42, 43,
- 44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 31, -1, -1, 68, -1, 36, 37, 38,
- 73, 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 "/usr/lib/bison.simple"
-
- /* Skeleton output parser for bison,
- Copyright (C) 1984, 1989, 1990 Bob Corbett and Richard Stallman
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 1, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-
- #ifndef alloca
- #ifdef __GNUC__
- #define alloca __builtin_alloca
- #else /* not GNU C. */
- #if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi)
- #include <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
- #else /* not MSDOS, __TURBOC__, or _AIX */
- #ifdef __hpux
- #ifdef __cplusplus
- extern "C" {
- void *alloca (unsigned int);
- };
- #else /* not __cplusplus */
- void *alloca ();
- #endif /* not __cplusplus */
- #endif /* __hpux */
- #endif /* not _AIX */
- #endif /* not MSDOS, or __TURBOC__ */
- #endif /* not sparc. */
- #endif /* not GNU C. */
- #endif /* alloca not defined. */
-
- /* This is the parser code that is written into each bison parser
- when the %semantic_parser declaration is not specified in the grammar.
- It was written by Richard Stallman by simplifying the hairy parser
- used when %semantic_parser is specified. */
-
- /* Note: there must be only one dollar sign in this file.
- It is replaced by the list of actions, each action
- as one case of the switch. */
-
- #define yyerrok (yyerrstatus = 0)
- #define yyclearin (yychar = YYEMPTY)
- #define YYEMPTY -2
- #define YYEOF 0
- #define YYACCEPT return(0)
- #define YYABORT return(1)
- #define YYERROR goto yyerrlab1
- /* Like YYERROR except do call yyerror.
- This remains here temporarily to ease the
- transition to the new meaning of YYERROR, for GCC.
- Once GCC version 2 has supplanted version 1, this can go. */
- #define YYFAIL goto yyerrlab
- #define YYRECOVERING() (!!yyerrstatus)
- #define YYBACKUP(token, value) \
- do \
- if (yychar == YYEMPTY && yylen == 1) \
- { yychar = (token), yylval = (value); \
- yychar1 = YYTRANSLATE (yychar); \
- YYPOPSTACK; \
- goto yybackup; \
- } \
- else \
- { yyerror ("syntax error: cannot back up"); YYERROR; } \
- while (0)
-
- #define YYTERROR 1
- #define YYERRCODE 256
-
- #ifndef YYPURE
- #define YYLEX yylex()
- #endif
-
- #ifdef YYPURE
- #ifdef YYLSP_NEEDED
- #define YYLEX yylex(&yylval, &yylloc)
- #else
- #define YYLEX yylex(&yylval)
- #endif
- #endif
-
- /* If nonreentrant, generate the variables here */
-
- #ifndef YYPURE
-
- int yychar; /* the lookahead symbol */
- YYSTYPE yylval; /* the semantic value of the */
- /* lookahead symbol */
-
- #ifdef YYLSP_NEEDED
- YYLTYPE yylloc; /* location data for the lookahead */
- /* symbol */
- #endif
-
- int yynerrs; /* number of parse errors so far */
- #endif /* not YYPURE */
-
- #if YYDEBUG != 0
- int yydebug; /* nonzero means print parse trace */
- /* Since this is uninitialized, it does not stop multiple parsers
- from coexisting. */
- #endif
-
- /* YYINITDEPTH indicates the initial size of the parser's stacks */
-
- #ifndef YYINITDEPTH
- #define YYINITDEPTH 200
- #endif
-
- /* YYMAXDEPTH is the maximum size the stacks can grow to
- (effective only if the built-in stack extension method is used). */
-
- #if YYMAXDEPTH == 0
- #undef YYMAXDEPTH
- #endif
-
- #ifndef YYMAXDEPTH
- #define YYMAXDEPTH 10000
- #endif
-
- /* Prevent warning if -Wstrict-prototypes. */
- #ifdef __GNUC__
- int yyparse (void);
- #endif
-
- #if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
- #define __yy_bcopy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT)
- #else /* not GNU C or C++ */
- #ifndef __cplusplus
-
- /* This is the most reliable way to avoid incompatibilities
- in available built-in functions on various systems. */
- static void
- __yy_bcopy (from, to, count)
- char *from;
- char *to;
- int count;
- {
- register char *f = from;
- register char *t = to;
- register int i = count;
-
- while (i-- > 0)
- *t++ = *f++;
- }
-
- #else /* __cplusplus */
-
- /* This is the most reliable way to avoid incompatibilities
- in available built-in functions on various systems. */
- static void
- __yy_bcopy (char *from, char *to, int count)
- {
- register char *f = from;
- register char *t = to;
- register int i = count;
-
- while (i-- > 0)
- *t++ = *f++;
- }
-
- #endif
- #endif
-
- #line 184 "/usr/lib/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 = 0; /* lookahead token as an internal (translated) token number */
-
- short yyssa[YYINITDEPTH]; /* the state stack */
- YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */
-
- short *yyss = yyssa; /* refer to the stacks thru separate pointers */
- YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */
-
- #ifdef YYLSP_NEEDED
- YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */
- YYLTYPE *yyls = yylsa;
- YYLTYPE *yylsp;
-
- #define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
- #else
- #define YYPOPSTACK (yyvsp--, yyssp--)
- #endif
-
- int yystacksize = YYINITDEPTH;
-
- #ifdef YYPURE
- int yychar;
- YYSTYPE yylval;
- int yynerrs;
- #ifdef YYLSP_NEEDED
- YYLTYPE yylloc;
- #endif
- #endif
-
- YYSTYPE yyval; /* the variable used to return */
- /* semantic values from the action */
- /* routines */
-
- int yylen;
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Starting parse\n");
- #endif
-
- yystate = 0;
- yyerrstatus = 0;
- yynerrs = 0;
- yychar = YYEMPTY; /* Cause a token to be read. */
-
- /* Initialize stack pointers.
- Waste one element of value and location stack
- so that they stay on the same level as the state stack.
- The wasted elements are never initialized. */
-
- yyssp = yyss - 1;
- yyvsp = yyvs;
- #ifdef YYLSP_NEEDED
- yylsp = yyls;
- #endif
-
- /* Push a new state, which is found in yystate . */
- /* In all cases, when you get here, the value and location stacks
- have just been pushed. so pushing a state here evens the stacks. */
- yynewstate:
-
- *++yyssp = yystate;
-
- if (yyssp >= yyss + yystacksize - 1)
- {
- /* Give user a chance to reallocate the stack */
- /* Use copies of these so that the &'s don't force the real ones into memory. */
- YYSTYPE *yyvs1 = yyvs;
- short *yyss1 = yyss;
- #ifdef YYLSP_NEEDED
- YYLTYPE *yyls1 = yyls;
- #endif
-
- /* Get the current used size of the three stacks, in elements. */
- int size = yyssp - yyss + 1;
-
- #ifdef yyoverflow
- /* Each stack pointer address is followed by the size of
- the data in use in that stack, in bytes. */
- #ifdef YYLSP_NEEDED
- /* This used to be a conditional around just the two extra args,
- but that might be undefined if yyoverflow is a macro. */
- yyoverflow("parser stack overflow",
- &yyss1, size * sizeof (*yyssp),
- &yyvs1, size * sizeof (*yyvsp),
- &yyls1, size * sizeof (*yylsp),
- &yystacksize);
- #else
- yyoverflow("parser stack overflow",
- &yyss1, size * sizeof (*yyssp),
- &yyvs1, size * sizeof (*yyvsp),
- &yystacksize);
- #endif
-
- yyss = yyss1; yyvs = yyvs1;
- #ifdef YYLSP_NEEDED
- yyls = yyls1;
- #endif
- #else /* no yyoverflow */
- /* Extend the stack our own way. */
- if (yystacksize >= YYMAXDEPTH)
- {
- yyerror("parser stack overflow");
- return 2;
- }
- yystacksize *= 2;
- if (yystacksize > YYMAXDEPTH)
- yystacksize = YYMAXDEPTH;
- yyss = (short *) alloca (yystacksize * sizeof (*yyssp));
- __yy_bcopy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp));
- yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp));
- __yy_bcopy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp));
- #ifdef YYLSP_NEEDED
- yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp));
- __yy_bcopy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp));
- #endif
- #endif /* no yyoverflow */
-
- yyssp = yyss + size - 1;
- yyvsp = yyvs + size - 1;
- #ifdef YYLSP_NEEDED
- yylsp = yyls + size - 1;
- #endif
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Stack size increased to %d\n", yystacksize);
- #endif
-
- if (yyssp >= yyss + yystacksize - 1)
- YYABORT;
- }
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Entering state %d\n", yystate);
- #endif
-
- goto yybackup;
- yybackup:
-
- /* Do appropriate processing given the current state. */
- /* Read a lookahead token if we need one and don't already have one. */
- /* yyresume: */
-
- /* First try to decide what to do without reference to lookahead token. */
-
- yyn = yypact[yystate];
- if (yyn == YYFLAG)
- goto yydefault;
-
- /* Not known => get a lookahead token if don't already have one. */
-
- /* yychar is either YYEMPTY or YYEOF
- or a valid token in external form. */
-
- if (yychar == YYEMPTY)
- {
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Reading a token: ");
- #endif
- yychar = YYLEX;
- }
-
- /* Convert token to internal form (in yychar1) for indexing tables with */
-
- if (yychar <= 0) /* This means end of input. */
- {
- yychar1 = 0;
- yychar = YYEOF; /* Don't call YYLEX any more */
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Now at end of input.\n");
- #endif
- }
- else
- {
- yychar1 = YYTRANSLATE(yychar);
-
- #if YYDEBUG != 0
- if (yydebug)
- {
- fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
- /* Give the individual parser a way to print the precise meaning
- of a token, for further debugging info. */
- #ifdef YYPRINT
- YYPRINT (stderr, yychar, yylval);
- #endif
- fprintf (stderr, ")\n");
- }
- #endif
- }
-
- yyn += yychar1;
- if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
- goto yydefault;
-
- yyn = yytable[yyn];
-
- /* yyn is what to do for this token type in this state.
- Negative => reduce, -yyn is rule number.
- Positive => shift, yyn is new state.
- New state is final state => don't bother to shift,
- just return success.
- 0, or most negative number => error. */
-
- if (yyn < 0)
- {
- if (yyn == YYFLAG)
- goto yyerrlab;
- yyn = -yyn;
- goto yyreduce;
- }
- else if (yyn == 0)
- goto yyerrlab;
-
- if (yyn == YYFINAL)
- YYACCEPT;
-
- /* Shift the lookahead token. */
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
- #endif
-
- /* Discard the token being shifted unless it is eof. */
- if (yychar != YYEOF)
- yychar = YYEMPTY;
-
- *++yyvsp = yylval;
- #ifdef YYLSP_NEEDED
- *++yylsp = yylloc;
- #endif
-
- /* count tokens shifted since error; after three, turn off error status. */
- if (yyerrstatus) yyerrstatus--;
-
- yystate = yyn;
- goto yynewstate;
-
- /* Do the default action for the current state. */
- yydefault:
-
- yyn = yydefact[yystate];
- if (yyn == 0)
- goto yyerrlab;
-
- /* Do a reduction. yyn is the number of a rule to reduce with. */
- yyreduce:
- yylen = yyr2[yyn];
- if (yylen > 0)
- yyval = yyvsp[1-yylen]; /* implement default value of the action */
-
- #if YYDEBUG != 0
- if (yydebug)
- {
- int i;
-
- fprintf (stderr, "Reducing via rule %d (line %d), ",
- yyn, yyrline[yyn]);
-
- /* Print the symbols being reduced, and their result. */
- for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
- fprintf (stderr, "%s ", yytname[yyrhs[i]]);
- fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
- }
- #endif
-
-
- switch (yyn) {
-
- case 1:
- #line 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"
- { start_init (NULL_TREE, NULL, 0);
- yyvsp[-2].ttype = groktypename (yyvsp[-2].ttype);
- really_start_incremental_init (yyvsp[-2].ttype); ;
- break;}
- case 62:
- #line 427 "objc-parse.y"
- { char *name;
- tree result = pop_init_level (0);
- tree type = yyvsp[-5].ttype;
- finish_init ();
-
- if (pedantic)
- pedwarn ("ANSI C forbids constructor expressions");
- if (TYPE_NAME (type) != 0)
- {
- if (TREE_CODE (TYPE_NAME (type)) == IDENTIFIER_NODE)
- name = IDENTIFIER_POINTER (TYPE_NAME (type));
- else
- name = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (type)));
- }
- else
- name = "";
- yyval.ttype = result;
- if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == 0)
- {
- int failure = complete_array_type (type, yyval.ttype, 1);
- if (failure)
- abort ();
- }
- ;
- break;}
- case 64:
- #line 456 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 65:
- #line 458 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 66:
- #line 460 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 67:
- #line 462 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 68:
- #line 464 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 69:
- #line 466 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 70:
- #line 468 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 71:
- #line 470 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 72:
- #line 472 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 73:
- #line 474 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 74:
- #line 476 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 75:
- #line 478 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 76:
- #line 480 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 77:
- #line 482 "objc-parse.y"
- { yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 78:
- #line 484 "objc-parse.y"
- { yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 79:
- #line 486 "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 80:
- #line 489 "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 81:
- #line 496 "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 83:
- #line 658 "objc-parse.y"
- { yyval.ttype = combine_strings (yyvsp[0].ttype); ;
- break;}
- case 84:
- #line 660 "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 85:
- #line 666 "objc-parse.y"
- { yyval.ttype = error_mark_node; ;
- break;}
- case 86:
- #line 668 "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 87:
- #line 682 "objc-parse.y"
- { tree rtl_exp;
- if (pedantic)
- pedwarn ("ANSI C forbids braced-groups within expressions");
- pop_iterator_stack ();
- pop_label_level ();
- rtl_exp = expand_end_stmt_expr (yyvsp[-2].ttype);
- /* The statements have side effects, so the group does. */
- TREE_SIDE_EFFECTS (rtl_exp) = 1;
-
- if (TREE_CODE (yyvsp[-1].ttype) == BLOCK)
- {
- /* Make a BIND_EXPR for the BLOCK already made. */
- yyval.ttype = build (BIND_EXPR, TREE_TYPE (rtl_exp),
- NULL_TREE, rtl_exp, yyvsp[-1].ttype);
- /* Remove the block from the tree at this point.
- It gets put back at the proper place
- when the BIND_EXPR is expanded. */
- delete_block (yyvsp[-1].ttype);
- }
- else
- yyval.ttype = yyvsp[-1].ttype;
- ;
- break;}
- case 88:
- #line 705 "objc-parse.y"
- { yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 89:
- #line 707 "objc-parse.y"
- { yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 90:
- #line 709 "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 91:
- #line 721 "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 92:
- #line 735 "objc-parse.y"
- { yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ;
- break;}
- case 93:
- #line 737 "objc-parse.y"
- { yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ;
- break;}
- case 94:
- #line 739 "objc-parse.y"
- { yyval.ttype = build_message_expr (yyvsp[0].ttype); ;
- break;}
- case 95:
- #line 741 "objc-parse.y"
- { yyval.ttype = build_selector_expr (yyvsp[0].ttype); ;
- break;}
- case 96:
- #line 743 "objc-parse.y"
- { yyval.ttype = build_protocol_expr (yyvsp[0].ttype); ;
- break;}
- case 97:
- #line 745 "objc-parse.y"
- { yyval.ttype = build_encode_expr (yyvsp[0].ttype); ;
- break;}
- case 98:
- #line 747 "objc-parse.y"
- { yyval.ttype = build_objc_string_object (yyvsp[0].ttype); ;
- break;}
- case 100:
- #line 754 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 102:
- #line 762 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 105:
- #line 770 "objc-parse.y"
- { c_mark_varargs ();
- if (pedantic)
- pedwarn ("ANSI C does not permit use of `varargs.h'"); ;
- break;}
- case 106:
- #line 780 "objc-parse.y"
- { ;
- break;}
- case 111:
- #line 792 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 112:
- #line 796 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 113:
- #line 800 "objc-parse.y"
- { shadow_tag_warned (yyvsp[-1].ttype, 1);
- pedwarn ("empty declaration"); ;
- break;}
- case 114:
- #line 803 "objc-parse.y"
- { pedwarn ("empty declaration"); ;
- break;}
- case 115:
- #line 812 "objc-parse.y"
- { ;
- break;}
- case 120:
- #line 827 "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 121:
- #line 836 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 122:
- #line 840 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 123:
- #line 844 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-1].itype); ;
- break;}
- case 124:
- #line 848 "objc-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-1].itype); ;
- break;}
- case 125:
- #line 852 "objc-parse.y"
- { shadow_tag (yyvsp[-1].ttype); ;
- break;}
- case 126:
- #line 854 "objc-parse.y"
- { pedwarn ("empty declaration"); ;
- break;}
- case 127:
- #line 863 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 128:
- #line 865 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
- break;}
- case 129:
- #line 869 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 130:
- #line 871 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
- break;}
- case 131:
- #line 873 "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 132:
- #line 885 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE);
- TREE_STATIC (yyval.ttype) = 1; ;
- break;}
- case 133:
- #line 888 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 134:
- #line 890 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype);
- TREE_STATIC (yyval.ttype) = 1; ;
- break;}
- case 135:
- #line 893 "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 136:
- #line 907 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 137:
- #line 909 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
- break;}
- case 138:
- #line 913 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 139:
- #line 915 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
- break;}
- case 142:
- #line 925 "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 143:
- #line 929 "objc-parse.y"
- { yyval.ttype = get_static_reference (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 144:
- #line 931 "objc-parse.y"
- { yyval.ttype = get_object_reference (yyvsp[0].ttype); ;
- break;}
- case 145:
- #line 933 "objc-parse.y"
- { yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); ;
- break;}
- case 146:
- #line 935 "objc-parse.y"
- { yyval.ttype = groktypename (yyvsp[-1].ttype); ;
- break;}
- case 154:
- #line 957 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 155:
- #line 959 "objc-parse.y"
- { if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype);
- yyval.ttype = yyvsp[-1].ttype;
- ;
- break;}
- case 156:
- #line 966 "objc-parse.y"
- { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1);
- decl_attributes (yyval.ttype, yyvsp[-1].ttype);
- start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ;
- break;}
- case 157:
- #line 971 "objc-parse.y"
- { finish_init ();
- decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype);
- finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
- break;}
- case 158:
- #line 975 "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 159:
- #line 982 "objc-parse.y"
- { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1);
- decl_attributes (yyval.ttype, yyvsp[-1].ttype);
- start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ;
- break;}
- case 160:
- #line 987 "objc-parse.y"
- { finish_init ();
- decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype);
- finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
- break;}
- case 161:
- #line 991 "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 162:
- #line 999 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 163:
- #line 1001 "objc-parse.y"
- { yyval.ttype = yyvsp[-2].ttype; ;
- break;}
- case 164:
- #line 1006 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 165:
- #line 1008 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype); ;
- break;}
- case 166:
- #line 1013 "objc-parse.y"
- { if (strcmp (IDENTIFIER_POINTER (yyvsp[0].ttype), "packed")
- && strcmp (IDENTIFIER_POINTER (yyvsp[0].ttype), "noreturn"))
- warning ("`%s' attribute directive ignored",
- IDENTIFIER_POINTER (yyvsp[0].ttype));
- yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 168:
- #line 1020 "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 169:
- #line 1030 "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 170:
- #line 1041 "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 172:
- #line 1063 "objc-parse.y"
- { really_start_incremental_init (NULL_TREE);
- /* Note that the call to clear_momentary
- is in process_init_element. */
- push_momentary (); ;
- break;}
- case 173:
- #line 1068 "objc-parse.y"
- { yyval.ttype = pop_init_level (0);
- if (yyval.ttype == error_mark_node)
- pop_momentary ();
- else
- pop_momentary_nofree (); ;
- break;}
- case 174:
- #line 1075 "objc-parse.y"
- { yyval.ttype = error_mark_node; ;
- break;}
- case 175:
- #line 1081 "objc-parse.y"
- { if (pedantic)
- pedwarn ("ANSI C forbids empty initializer braces"); ;
- break;}
- case 179:
- #line 1095 "objc-parse.y"
- { process_init_element (yyvsp[0].ttype); ;
- break;}
- case 180:
- #line 1097 "objc-parse.y"
- { push_init_level (0); ;
- break;}
- case 181:
- #line 1099 "objc-parse.y"
- { process_init_element (pop_init_level (0)); ;
- break;}
- case 183:
- #line 1105 "objc-parse.y"
- { set_init_label (yyvsp[-1].ttype); ;
- break;}
- case 185:
- #line 1108 "objc-parse.y"
- { set_init_label (yyvsp[-1].ttype); ;
- break;}
- case 187:
- #line 1114 "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 188:
- #line 1129 "objc-parse.y"
- { finish_function (1);
- pop_c_function_context (); ;
- break;}
- case 189:
- #line 1135 "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 190:
- #line 1150 "objc-parse.y"
- { finish_function (1);
- pop_c_function_context (); ;
- break;}
- case 193:
- #line 1166 "objc-parse.y"
- { yyval.ttype = yyvsp[-1].ttype; ;
- break;}
- case 194:
- #line 1168 "objc-parse.y"
- { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 195:
- #line 1173 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 196:
- #line 1175 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
- break;}
- case 197:
- #line 1177 "objc-parse.y"
- { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 200:
- #line 1189 "objc-parse.y"
- { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 201:
- #line 1194 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 202:
- #line 1196 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
- break;}
- case 203:
- #line 1198 "objc-parse.y"
- { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 205:
- #line 1207 "objc-parse.y"
- { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 206:
- #line 1212 "objc-parse.y"
- { yyval.ttype = yyvsp[-1].ttype; ;
- break;}
- case 207:
- #line 1214 "objc-parse.y"
- { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 208:
- #line 1216 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 209:
- #line 1218 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
- break;}
- case 211:
- #line 1224 "objc-parse.y"
- { yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype);
- /* Start scope of tag before parsing components. */
- ;
- break;}
- case 212:
- #line 1228 "objc-parse.y"
- { yyval.ttype = finish_struct (yyvsp[-2].ttype, yyvsp[-1].ttype);
- /* Really define the structure. */
- ;
- break;}
- case 213:
- #line 1232 "objc-parse.y"
- { yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE),
- yyvsp[-1].ttype); ;
- break;}
- case 214:
- #line 1235 "objc-parse.y"
- { yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ;
- break;}
- case 215:
- #line 1237 "objc-parse.y"
- { yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ;
- break;}
- case 216:
- #line 1239 "objc-parse.y"
- { yyval.ttype = finish_struct (yyvsp[-2].ttype, yyvsp[-1].ttype); ;
- break;}
- case 217:
- #line 1241 "objc-parse.y"
- { yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE),
- yyvsp[-1].ttype); ;
- break;}
- case 218:
- #line 1244 "objc-parse.y"
- { yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ;
- break;}
- case 219:
- #line 1246 "objc-parse.y"
- { yyvsp[0].itype = suspend_momentary ();
- yyval.ttype = start_enum (yyvsp[-1].ttype); ;
- break;}
- case 220:
- #line 1249 "objc-parse.y"
- { yyval.ttype = finish_enum (yyvsp[-3].ttype, nreverse (yyvsp[-2].ttype));
- resume_momentary (yyvsp[-4].itype); ;
- break;}
- case 221:
- #line 1252 "objc-parse.y"
- { yyvsp[0].itype = suspend_momentary ();
- yyval.ttype = start_enum (NULL_TREE); ;
- break;}
- case 222:
- #line 1255 "objc-parse.y"
- { yyval.ttype = finish_enum (yyvsp[-3].ttype, nreverse (yyvsp[-2].ttype));
- resume_momentary (yyvsp[-4].itype); ;
- break;}
- case 223:
- #line 1258 "objc-parse.y"
- { yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); ;
- break;}
- case 227:
- #line 1269 "objc-parse.y"
- { if (pedantic) pedwarn ("comma at end of enumerator list"); ;
- break;}
- case 228:
- #line 1274 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 229:
- #line 1276 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
- pedwarn ("no semicolon at end of struct or union"); ;
- break;}
- case 230:
- #line 1281 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 231:
- #line 1283 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ;
- break;}
- case 232:
- #line 1285 "objc-parse.y"
- { if (pedantic)
- pedwarn ("extra semicolon in struct or union specified"); ;
- break;}
- case 233:
- #line 1289 "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 234:
- #line 1314 "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 235:
- #line 1319 "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 236:
- #line 1324 "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 237:
- #line 1329 "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 238:
- #line 1334 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 240:
- #line 1340 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 241:
- #line 1345 "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 242:
- #line 1349 "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 243:
- #line 1352 "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 245:
- #line 1364 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-2].ttype); ;
- break;}
- case 246:
- #line 1370 "objc-parse.y"
- { yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 247:
- #line 1372 "objc-parse.y"
- { yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 248:
- #line 1377 "objc-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 249:
- #line 1379 "objc-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 250:
- #line 1384 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 252:
- #line 1390 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 253:
- #line 1392 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
- break;}
- case 254:
- #line 1397 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 255:
- #line 1399 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
- break;}
- case 256:
- #line 1404 "objc-parse.y"
- { yyval.ttype = yyvsp[-1].ttype; ;
- break;}
- case 257:
- #line 1407 "objc-parse.y"
- { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 258:
- #line 1409 "objc-parse.y"
- { yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 259:
- #line 1411 "objc-parse.y"
- { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 260:
- #line 1413 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 261:
- #line 1415 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
- break;}
- case 262:
- #line 1417 "objc-parse.y"
- { yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 263:
- #line 1419 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ;
- break;}
- case 264:
- #line 1421 "objc-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ;
- break;}
- case 271:
- #line 1443 "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 273:
- #line 1458 "objc-parse.y"
- { if (pedantic)
- pedwarn ("ANSI C forbids label declarations"); ;
- break;}
- case 276:
- #line 1469 "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 277:
- #line 1483 "objc-parse.y"
- {;
- break;}
- case 279:
- #line 1488 "objc-parse.y"
- { yyval.ttype = convert (void_type_node, integer_zero_node); ;
- break;}
- case 280:
- #line 1490 "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 281:
- #line 1495 "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 282:
- #line 1500 "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 285:
- #line 1517 "objc-parse.y"
- { emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
- expand_start_cond (truthvalue_conversion (yyvsp[-1].ttype), 0);
- yyval.itype = stmt_count;
- if_stmt_file = yyvsp[-5].filename;
- if_stmt_line = yyvsp[-4].lineno;
- position_after_white_space (); ;
- break;}
- case 286:
- #line 1530 "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 287:
- #line 1537 "objc-parse.y"
- { expand_loop_continue_here (); ;
- break;}
- case 288:
- #line 1541 "objc-parse.y"
- { yyval.filename = input_filename; ;
- break;}
- case 289:
- #line 1545 "objc-parse.y"
- { yyval.lineno = lineno; ;
- break;}
- case 290:
- #line 1550 "objc-parse.y"
- { ;
- break;}
- case 291:
- #line 1555 "objc-parse.y"
- { ;
- break;}
- case 292:
- #line 1560 "objc-parse.y"
- { ;
- break;}
- case 294:
- #line 1566 "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 295:
- #line 1578 "objc-parse.y"
- { stmt_count++; ;
- break;}
- case 297:
- #line 1581 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
- /* It appears that this should not be done--that a non-lvalue array
- shouldn't get an error if the value isn't used.
- Section 3.2.2.1 says that an array lvalue gets converted to a pointer
- if it appears as a top-level expression,
- but says nothing about non-lvalue arrays. */
- #if 0
- /* Call default_conversion to get an error
- on referring to a register array if pedantic. */
- if (TREE_CODE (TREE_TYPE (yyvsp[-1].ttype)) == ARRAY_TYPE
- || TREE_CODE (TREE_TYPE (yyvsp[-1].ttype)) == FUNCTION_TYPE)
- yyvsp[-1].ttype = default_conversion (yyvsp[-1].ttype);
- #endif
- iterator_expand (yyvsp[-1].ttype);
- clear_momentary (); ;
- break;}
- case 298:
- #line 1598 "objc-parse.y"
- { expand_start_else ();
- yyvsp[-1].itype = stmt_count;
- position_after_white_space (); ;
- break;}
- case 299:
- #line 1602 "objc-parse.y"
- { expand_end_cond ();
- if (extra_warnings && stmt_count == yyvsp[-3].itype)
- warning ("empty body in an else-statement"); ;
- break;}
- case 300:
- #line 1606 "objc-parse.y"
- { expand_end_cond ();
- /* This warning is here instead of in simple_if, because we
- do not want a warning if an empty if is followed by an
- else statement. */
- 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 301:
- #line 1617 "objc-parse.y"
- { expand_end_cond (); ;
- break;}
- case 302:
- #line 1619 "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 303:
- #line 1629 "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 304:
- #line 1638 "objc-parse.y"
- { expand_end_loop (); ;
- break;}
- case 305:
- #line 1641 "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 306:
- #line 1648 "objc-parse.y"
- { expand_end_loop ();
- clear_momentary (); ;
- break;}
- case 307:
- #line 1652 "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 308:
- #line 1664 "objc-parse.y"
- { yyvsp[0].lineno = lineno;
- yyval.filename = input_filename; ;
- break;}
- case 309:
- #line 1667 "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 310:
- #line 1683 "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 311:
- #line 1691 "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 312:
- #line 1699 "objc-parse.y"
- { expand_end_case (yyvsp[-3].ttype);
- pop_momentary (); ;
- break;}
- case 313:
- #line 1702 "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 314:
- #line 1707 "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 315:
- #line 1712 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
- c_expand_return (NULL_TREE); ;
- break;}
- case 316:
- #line 1716 "objc-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno);
- c_expand_return (yyvsp[-1].ttype); ;
- break;}
- case 317:
- #line 1720 "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 318:
- #line 1731 "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 319:
- #line 1738 "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 320:
- #line 1746 "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 321:
- #line 1752 "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 322:
- #line 1763 "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 325:
- #line 1776 "objc-parse.y"
- {
- /* The value returned by this action is */
- /* 1 if everything is OK */
- /* 0 in case of error or already bound iterator */
-
- yyval.itype = 0;
- if (TREE_CODE (yyvsp[-1].ttype) != VAR_DECL)
- error ("invalid `for (ITERATOR)' syntax");
- else if (! ITERATOR_P (yyvsp[-1].ttype))
- error ("`%s' is not an iterator",
- IDENTIFIER_POINTER (DECL_NAME (yyvsp[-1].ttype)));
- else if (ITERATOR_BOUND_P (yyvsp[-1].ttype))
- error ("`for (%s)' inside expansion of same iterator",
- IDENTIFIER_POINTER (DECL_NAME (yyvsp[-1].ttype)));
- else
- {
- yyval.itype = 1;
- iterator_for_loop_start (yyvsp[-1].ttype);
- }
- ;
- break;}
- case 326:
- #line 1797 "objc-parse.y"
- {
- if (yyvsp[-1].itype)
- iterator_for_loop_end (yyvsp[-3].ttype);
- ;
- break;}
- case 327:
- #line 1829 "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, convert_and_check,
- label, &duplicate);
- if (success == 1)
- error ("case label not within a switch statement");
- else if (success == 2)
- {
- error ("duplicate case value");
- error_with_decl (duplicate, "this is the first entry for that value");
- }
- else if (success == 3)
- warning ("case value out of range");
- else if (success == 5)
- error ("case label within scope of cleanup or variable array");
- }
- position_after_white_space (); ;
- break;}
- case 328:
- #line 1854 "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,
- convert_and_check, label,
- &duplicate);
- if (success == 1)
- error ("case label not within a switch statement");
- else if (success == 2)
- {
- error ("duplicate case value");
- error_with_decl (duplicate, "this is the first entry for that value");
- }
- else if (success == 3)
- warning ("case value out of range");
- else if (success == 4)
- warning ("empty case range");
- else if (success == 5)
- error ("case label within scope of cleanup or variable array");
- }
- position_after_white_space (); ;
- break;}
- case 329:
- #line 1883 "objc-parse.y"
- {
- tree duplicate;
- register tree label
- = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE);
- int success = pushcase (NULL_TREE, 0, label, &duplicate);
- stmt_count++;
- if (success == 1)
- error ("default label not within a switch statement");
- else if (success == 2)
- {
- error ("multiple default labels in one switch");
- error_with_decl (duplicate, "this is the first default label");
- }
- position_after_white_space (); ;
- break;}
- case 330:
- #line 1898 "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 331:
- #line 1910 "objc-parse.y"
- { emit_line_note (input_filename, lineno);
- yyval.ttype = NULL_TREE; ;
- break;}
- case 332:
- #line 1913 "objc-parse.y"
- { emit_line_note (input_filename, lineno); ;
- break;}
- case 333:
- #line 1918 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 335:
- #line 1925 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 338:
- #line 1932 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 339:
- #line 1937 "objc-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 340:
- #line 1942 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), NULL_TREE); ;
- break;}
- case 341:
- #line 1944 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), yyvsp[-2].ttype); ;
- break;}
- case 342:
- #line 1950 "objc-parse.y"
- { pushlevel (0);
- clear_parm_order ();
- declare_parm_level (0); ;
- break;}
- case 343:
- #line 1954 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype;
- parmlist_tags_warning ();
- poplevel (0, 0, 0); ;
- break;}
- case 345:
- #line 1962 "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 346:
- #line 1970 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 347:
- #line 1972 "objc-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ;
- break;}
- case 348:
- #line 1978 "objc-parse.y"
- { yyval.ttype = get_parm_info (0); ;
- break;}
- case 349:
- #line 1980 "objc-parse.y"
- { yyval.ttype = get_parm_info (0);
- if (pedantic)
- pedwarn ("ANSI C requires a named argument before `...'");
- ;
- break;}
- case 350:
- #line 1985 "objc-parse.y"
- { yyval.ttype = get_parm_info (1); ;
- break;}
- case 351:
- #line 1987 "objc-parse.y"
- { yyval.ttype = get_parm_info (0); ;
- break;}
- case 352:
- #line 1992 "objc-parse.y"
- { push_parm_decl (yyvsp[0].ttype); ;
- break;}
- case 353:
- #line 1994 "objc-parse.y"
- { push_parm_decl (yyvsp[0].ttype); ;
- break;}
- case 354:
- #line 2001 "objc-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ;
- break;}
- case 355:
- #line 2003 "objc-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ;
- break;}
- case 356:
- #line 2005 "objc-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 357:
- #line 2007 "objc-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ;
- break;}
- case 358:
- #line 2009 "objc-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 359:
- #line 2016 "objc-parse.y"
- { pushlevel (0);
- clear_parm_order ();
- declare_parm_level (1); ;
- break;}
- case 360:
- #line 2020 "objc-parse.y"
- { yyval.ttype = yyvsp[0].ttype;
- parmlist_tags_warning ();
- poplevel (0, 0, 0); ;
- break;}
- case 362:
- #line 2028 "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 363:
- #line 2038 "objc-parse.y"
- { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
- break;}
- case 364:
- #line 2040 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
- break;}
- case 365:
- #line 2046 "objc-parse.y"
- { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
- break;}
- case 366:
- #line 2048 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
- break;}
- case 372:
- #line 2060 "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 373:
- #line 2075 "objc-parse.y"
- { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
- break;}
- case 374:
- #line 2077 "objc-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
- break;}
- case 375:
- #line 2082 "objc-parse.y"
- {
- objc_declare_class (yyvsp[-1].ttype);
- ;
- break;}
- case 376:
- #line 2088 "objc-parse.y"
- {
- objc_declare_alias (yyvsp[-2].ttype, yyvsp[-1].ttype);
- ;
- break;}
- case 377:
- #line 2094 "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 378:
- #line 2100 "objc-parse.y"
- {
- continue_class (objc_interface_context);
- ;
- break;}
- case 379:
- #line 2105 "objc-parse.y"
- {
- finish_class (objc_interface_context);
- objc_interface_context = NULL_TREE;
- ;
- break;}
- case 380:
- #line 2111 "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 381:
- #line 2118 "objc-parse.y"
- {
- finish_class (objc_interface_context);
- objc_interface_context = NULL_TREE;
- ;
- break;}
- case 382:
- #line 2124 "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 383:
- #line 2130 "objc-parse.y"
- {
- continue_class (objc_interface_context);
- ;
- break;}
- case 384:
- #line 2135 "objc-parse.y"
- {
- finish_class (objc_interface_context);
- objc_interface_context = NULL_TREE;
- ;
- break;}
- case 385:
- #line 2141 "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 386:
- #line 2148 "objc-parse.y"
- {
- finish_class (objc_interface_context);
- objc_interface_context = NULL_TREE;
- ;
- break;}
- case 387:
- #line 2154 "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 388:
- #line 2160 "objc-parse.y"
- {
- objc_ivar_chain
- = continue_class (objc_implementation_context);
- ;
- break;}
- case 389:
- #line 2166 "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 390:
- #line 2174 "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 391:
- #line 2180 "objc-parse.y"
- {
- objc_ivar_chain
- = continue_class (objc_implementation_context);
- ;
- break;}
- case 392:
- #line 2186 "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 393:
- #line 2194 "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 394:
- #line 2201 "objc-parse.y"
- {
- finish_class (objc_interface_context);
- objc_interface_context = NULL_TREE;
- ;
- break;}
- case 395:
- #line 2207 "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 396:
- #line 2217 "objc-parse.y"
- {
- remember_protocol_qualifiers ();
- objc_interface_context
- = start_protocol(PROTOCOL_INTERFACE_TYPE, yyvsp[-1].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 397:
- #line 2223 "objc-parse.y"
- {
- forget_protocol_qualifiers();
- finish_protocol(objc_interface_context);
- objc_interface_context = NULL_TREE;
- ;
- break;}
- case 398:
- #line 2232 "objc-parse.y"
- {
- yyval.ttype = NULL_TREE;
- ;
- break;}
- case 399:
- #line 2236 "objc-parse.y"
- {
- if (yyvsp[-2].code == LT_EXPR && yyvsp[0].code == GT_EXPR)
- yyval.ttype = yyvsp[-1].ttype;
- else
- YYERROR1;
- ;
- break;}
- case 402:
- #line 2250 "objc-parse.y"
- { objc_public_flag = 2; ;
- break;}
- case 403:
- #line 2251 "objc-parse.y"
- { objc_public_flag = 0; ;
- break;}
- case 404:
- #line 2252 "objc-parse.y"
- { objc_public_flag = 1; ;
- break;}
- case 405:
- #line 2257 "objc-parse.y"
- {
- yyval.ttype = NULL_TREE;
- ;
- break;}
- case 407:
- #line 2262 "objc-parse.y"
- {
- if (pedantic)
- pedwarn ("extra semicolon in struct or union specified");
- ;
- break;}
- case 408:
- #line 2280 "objc-parse.y"
- {
- yyval.ttype = yyvsp[0].ttype;
- resume_momentary (yyvsp[-1].itype);
- ;
- break;}
- case 409:
- #line 2285 "objc-parse.y"
- {
- yyval.ttype = yyvsp[0].ttype;
- resume_momentary (yyvsp[-1].itype);
- ;
- break;}
- case 410:
- #line 2290 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 411:
- #line 2295 "objc-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 414:
- #line 2302 "objc-parse.y"
- {
- yyval.ttype = add_instance_variable (objc_ivar_context,
- objc_public_flag,
- yyvsp[0].ttype, current_declspecs,
- NULL_TREE);
- ;
- break;}
- case 415:
- #line 2309 "objc-parse.y"
- {
- yyval.ttype = add_instance_variable (objc_ivar_context,
- objc_public_flag,
- yyvsp[-2].ttype, current_declspecs, yyvsp[0].ttype);
- ;
- break;}
- case 416:
- #line 2315 "objc-parse.y"
- {
- yyval.ttype = add_instance_variable (objc_ivar_context,
- objc_public_flag,
- NULL_TREE,
- current_declspecs, yyvsp[0].ttype);
- ;
- break;}
- case 417:
- #line 2325 "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 418:
- #line 2333 "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 419:
- #line 2340 "objc-parse.y"
- {
- continue_method_def ();
- ;
- break;}
- case 420:
- #line 2344 "objc-parse.y"
- {
- finish_method_def ();
- objc_method_context = NULL_TREE;
- ;
- break;}
- case 421:
- #line 2350 "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 422:
- #line 2358 "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 423:
- #line 2365 "objc-parse.y"
- {
- continue_method_def ();
- ;
- break;}
- case 424:
- #line 2369 "objc-parse.y"
- {
- finish_method_def ();
- objc_method_context = NULL_TREE;
- ;
- break;}
- case 426:
- #line 2381 "objc-parse.y"
- {yyval.ttype = NULL_TREE; ;
- break;}
- case 431:
- #line 2388 "objc-parse.y"
- {yyval.ttype = NULL_TREE; ;
- break;}
- case 435:
- #line 2398 "objc-parse.y"
- {
- objc_inherit_code = CLASS_METHOD_DECL;
- ;
- break;}
- case 436:
- #line 2402 "objc-parse.y"
- {
- add_class_method (objc_interface_context, yyvsp[0].ttype);
- ;
- break;}
- case 438:
- #line 2408 "objc-parse.y"
- {
- objc_inherit_code = INSTANCE_METHOD_DECL;
- ;
- break;}
- case 439:
- #line 2412 "objc-parse.y"
- {
- add_instance_method (objc_interface_context, yyvsp[0].ttype);
- ;
- break;}
- case 441:
- #line 2420 "objc-parse.y"
- {
- yyval.ttype = build_method_decl (objc_inherit_code, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE);
- ;
- break;}
- case 442:
- #line 2425 "objc-parse.y"
- {
- yyval.ttype = build_method_decl (objc_inherit_code, NULL_TREE, yyvsp[0].ttype, NULL_TREE);
- ;
- break;}
- case 443:
- #line 2430 "objc-parse.y"
- {
- yyval.ttype = build_method_decl (objc_inherit_code, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 444:
- #line 2435 "objc-parse.y"
- {
- yyval.ttype = build_method_decl (objc_inherit_code, NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 453:
- #line 2465 "objc-parse.y"
- { resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 454:
- #line 2467 "objc-parse.y"
- { shadow_tag (yyvsp[-1].ttype); ;
- break;}
- case 455:
- #line 2469 "objc-parse.y"
- { pedwarn ("empty declaration"); ;
- break;}
- case 456:
- #line 2474 "objc-parse.y"
- { push_parm_decl (yyvsp[0].ttype); ;
- break;}
- case 457:
- #line 2476 "objc-parse.y"
- { push_parm_decl (yyvsp[0].ttype); ;
- break;}
- case 458:
- #line 2484 "objc-parse.y"
- { yyval.ttype = build_tree_list (current_declspecs, yyvsp[0].ttype) ; ;
- break;}
- case 459:
- #line 2486 "objc-parse.y"
- { yyval.ttype = build_tree_list (current_declspecs, yyvsp[0].ttype) ; ;
- break;}
- case 460:
- #line 2488 "objc-parse.y"
- { yyval.ttype = build_tree_list (current_declspecs, yyvsp[0].ttype) ; ;
- break;}
- case 461:
- #line 2493 "objc-parse.y"
- {
- yyval.ttype = NULL_TREE;
- ;
- break;}
- case 462:
- #line 2497 "objc-parse.y"
- {
- /* oh what a kludge! */
- yyval.ttype = (tree)1;
- ;
- break;}
- case 463:
- #line 2502 "objc-parse.y"
- {
- pushlevel (0);
- ;
- break;}
- case 464:
- #line 2506 "objc-parse.y"
- {
- /* returns a tree list node generated by get_parm_info */
- yyval.ttype = yyvsp[0].ttype;
- poplevel (0, 0, 0);
- ;
- break;}
- case 467:
- #line 2521 "objc-parse.y"
- {
- yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 472:
- #line 2534 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 473:
- #line 2535 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 474:
- #line 2536 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 475:
- #line 2537 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 476:
- #line 2538 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 477:
- #line 2539 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 478:
- #line 2540 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 479:
- #line 2541 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 480:
- #line 2542 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 481:
- #line 2543 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 482:
- #line 2544 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 483:
- #line 2545 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 484:
- #line 2546 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 485:
- #line 2547 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 486:
- #line 2548 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 487:
- #line 2549 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 488:
- #line 2550 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 489:
- #line 2551 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 490:
- #line 2552 "objc-parse.y"
- { yyval.ttype = get_identifier (token_buffer); ;
- break;}
- case 493:
- #line 2558 "objc-parse.y"
- {
- yyval.ttype = build_keyword_decl (yyvsp[-5].ttype, yyvsp[-2].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 494:
- #line 2563 "objc-parse.y"
- {
- yyval.ttype = build_keyword_decl (yyvsp[-2].ttype, NULL_TREE, yyvsp[0].ttype);
- ;
- break;}
- case 495:
- #line 2568 "objc-parse.y"
- {
- yyval.ttype = build_keyword_decl (NULL_TREE, yyvsp[-2].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 496:
- #line 2573 "objc-parse.y"
- {
- yyval.ttype = build_keyword_decl (NULL_TREE, NULL_TREE, yyvsp[0].ttype);
- ;
- break;}
- case 500:
- #line 2586 "objc-parse.y"
- {
- yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 501:
- #line 2594 "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 502:
- #line 2606 "objc-parse.y"
- {
- yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 503:
- #line 2610 "objc-parse.y"
- {
- yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype);
- ;
- break;}
- case 505:
- #line 2618 "objc-parse.y"
- {
- yyval.ttype = get_class_reference (yyvsp[0].ttype);
- ;
- break;}
- case 506:
- #line 2625 "objc-parse.y"
- { objc_receiver_context = 1; ;
- break;}
- case 507:
- #line 2627 "objc-parse.y"
- { objc_receiver_context = 0; ;
- break;}
- case 508:
- #line 2629 "objc-parse.y"
- {
- yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype);
- ;
- break;}
- case 512:
- #line 2642 "objc-parse.y"
- {
- yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 513:
- #line 2649 "objc-parse.y"
- {
- yyval.ttype = build_tree_list (yyvsp[-1].ttype, NULL_TREE);
- ;
- break;}
- case 514:
- #line 2653 "objc-parse.y"
- {
- yyval.ttype = build_tree_list (NULL_TREE, NULL_TREE);
- ;
- break;}
- case 515:
- #line 2660 "objc-parse.y"
- {
- yyval.ttype = yyvsp[-1].ttype;
- ;
- break;}
- case 516:
- #line 2667 "objc-parse.y"
- {
- yyval.ttype = yyvsp[-1].ttype;
- ;
- break;}
- case 517:
- #line 2676 "objc-parse.y"
- {
- yyval.ttype = groktypename (yyvsp[-1].ttype);
- ;
- break;}
- }
- /* the action file gets copied in in place of this dollarsign */
- #line 465 "/usr/lib/bison.simple"
-
- yyvsp -= yylen;
- yyssp -= yylen;
- #ifdef YYLSP_NEEDED
- yylsp -= yylen;
- #endif
-
- #if YYDEBUG != 0
- if (yydebug)
- {
- short *ssp1 = yyss - 1;
- fprintf (stderr, "state stack now");
- while (ssp1 != yyssp)
- fprintf (stderr, " %d", *++ssp1);
- fprintf (stderr, "\n");
- }
- #endif
-
- *++yyvsp = yyval;
-
- #ifdef YYLSP_NEEDED
- yylsp++;
- if (yylen == 0)
- {
- yylsp->first_line = yylloc.first_line;
- yylsp->first_column = yylloc.first_column;
- yylsp->last_line = (yylsp-1)->last_line;
- yylsp->last_column = (yylsp-1)->last_column;
- yylsp->text = 0;
- }
- else
- {
- yylsp->last_line = (yylsp+yylen-1)->last_line;
- yylsp->last_column = (yylsp+yylen-1)->last_column;
- }
- #endif
-
- /* Now "shift" the result of the reduction.
- Determine what state that goes to,
- based on the state we popped back to
- and the rule number reduced by. */
-
- yyn = yyr1[yyn];
-
- yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
- if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
- yystate = yytable[yystate];
- else
- yystate = yydefgoto[yyn - YYNTBASE];
-
- goto yynewstate;
-
- yyerrlab: /* here on detecting error */
-
- if (! yyerrstatus)
- /* If not already recovering from an error, report this error. */
- {
- ++yynerrs;
-
- #ifdef YYERROR_VERBOSE
- yyn = yypact[yystate];
-
- if (yyn > YYFLAG && yyn < YYLAST)
- {
- int size = 0;
- char *msg;
- int x, count;
-
- count = 0;
- /* Start X at -yyn if nec to avoid negative indexes in yycheck. */
- for (x = (yyn < 0 ? -yyn : 0);
- x < (sizeof(yytname) / sizeof(char *)); x++)
- if (yycheck[x + yyn] == x)
- size += strlen(yytname[x]) + 15, count++;
- msg = (char *) malloc(size + 15);
- if (msg != 0)
- {
- strcpy(msg, "parse error");
-
- if (count < 5)
- {
- count = 0;
- for (x = (yyn < 0 ? -yyn : 0);
- x < (sizeof(yytname) / sizeof(char *)); x++)
- if (yycheck[x + yyn] == x)
- {
- strcat(msg, count == 0 ? ", expecting `" : " or `");
- strcat(msg, yytname[x]);
- strcat(msg, "'");
- count++;
- }
- }
- yyerror(msg);
- free(msg);
- }
- else
- yyerror ("parse error; also virtual memory exceeded");
- }
- else
- #endif /* YYERROR_VERBOSE */
- yyerror("parse error");
- }
-
- goto yyerrlab1;
- yyerrlab1: /* here on error raised explicitly by an action */
-
- if (yyerrstatus == 3)
- {
- /* if just tried and failed to reuse lookahead token after an error, discard it. */
-
- /* return failure if at end of input */
- if (yychar == YYEOF)
- YYABORT;
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
- #endif
-
- yychar = YYEMPTY;
- }
-
- /* Else will try to reuse lookahead token
- after shifting the error token. */
-
- yyerrstatus = 3; /* Each real token shifted decrements this */
-
- goto yyerrhandle;
-
- yyerrdefault: /* current state does not do anything special for the error token. */
-
- #if 0
- /* This is wrong; only states that explicitly want error tokens
- should shift them. */
- yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/
- if (yyn) goto yydefault;
- #endif
-
- yyerrpop: /* pop the current state because it cannot handle the error token */
-
- if (yyssp == yyss) YYABORT;
- yyvsp--;
- yystate = *--yyssp;
- #ifdef YYLSP_NEEDED
- yylsp--;
- #endif
-
- #if YYDEBUG != 0
- if (yydebug)
- {
- short *ssp1 = yyss - 1;
- fprintf (stderr, "Error: state stack now");
- while (ssp1 != yyssp)
- fprintf (stderr, " %d", *++ssp1);
- fprintf (stderr, "\n");
- }
- #endif
-
- yyerrhandle:
-
- yyn = yypact[yystate];
- if (yyn == YYFLAG)
- goto yyerrdefault;
-
- yyn += YYTERROR;
- if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
- goto yyerrdefault;
-
- yyn = yytable[yyn];
- if (yyn < 0)
- {
- if (yyn == YYFLAG)
- goto yyerrpop;
- yyn = -yyn;
- goto yyreduce;
- }
- else if (yyn == 0)
- goto yyerrpop;
-
- if (yyn == YYFINAL)
- YYACCEPT;
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Shifting error token, ");
- #endif
-
- *++yyvsp = yylval;
- #ifdef YYLSP_NEEDED
- *++yylsp = yylloc;
- #endif
-
- yystate = yyn;
- goto yynewstate;
- }
- #line 2681 "objc-parse.y"
-
-