blob: 9c80c878ad4d9965c51b73a3af7110c95c746686 [file] [log] [blame]
/* A Bison parser, made from objc-parse.y with Bison version GNU Bison version 1.24
*/
#define YYBISON 1 /* Identify Bison output. */
#define IDENTIFIER 258
#define TYPENAME 259
#define SCSPEC 260
#define TYPESPEC 261
#define TYPE_QUAL 262
#define CONSTANT 263
#define STRING 264
#define ELLIPSIS 265
#define SIZEOF 266
#define ENUM 267
#define STRUCT 268
#define UNION 269
#define IF 270
#define ELSE 271
#define WHILE 272
#define DO 273
#define FOR 274
#define SWITCH 275
#define CASE 276
#define DEFAULT 277
#define BREAK 278
#define CONTINUE 279
#define RETURN 280
#define GOTO 281
#define ASM_KEYWORD 282
#define TYPEOF 283
#define ALIGNOF 284
#define ATTRIBUTE 285
#define EXTENSION 286
#define LABEL 287
#define REALPART 288
#define IMAGPART 289
#define ASSIGN 290
#define OROR 291
#define ANDAND 292
#define EQCOMPARE 293
#define ARITHCOMPARE 294
#define LSHIFT 295
#define RSHIFT 296
#define UNARY 297
#define PLUSPLUS 298
#define MINUSMINUS 299
#define HYPERUNARY 300
#define POINTSAT 301
#define INTERFACE 302
#define IMPLEMENTATION 303
#define END 304
#define SELECTOR 305
#define DEFS 306
#define ENCODE 307
#define CLASSNAME 308
#define PUBLIC 309
#define PRIVATE 310
#define PROTECTED 311
#define PROTOCOL 312
#define OBJECTNAME 313
#define CLASS 314
#define ALIAS 315
#define OBJC_STRING 316
#line 33 "objc-parse.y"
#include "config.h"
#include <stdio.h>
#include <errno.h>
#include <setjmp.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 72 "objc-parse.y"
typedef union {long itype; tree ttype; enum tree_code code;
char *filename; int lineno; int ends_in_label; } YYSTYPE;
#line 199 "objc-parse.y"
/* Number of statements (loosely speaking) and compound statements
seen so far. */
static int stmt_count;
static int compstmt_count;
/* Input file and line number of the end of the body of last simple_if;
used by the stmt-rule immediately after simple_if returns. */
static char *if_stmt_file;
static int if_stmt_line;
/* List of types and structure classes of the current declaration. */
static tree current_declspecs = NULL_TREE;
static tree prefix_attributes = NULL_TREE;
/* Stack of saved values of current_declspecs and prefix_attributes. */
static tree declspec_stack;
/* 1 if we explained undeclared var errors. */
static int undeclared_variable_notice;
/* Objective-C specific information */
tree objc_interface_context;
tree objc_implementation_context;
tree objc_method_context;
tree objc_ivar_chain;
tree objc_ivar_context;
enum tree_code objc_inherit_code;
int objc_receiver_context;
int objc_public_flag;
/* Tell yyparse how to print a token's value, if yydebug is set. */
#define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL)
extern void yyprint ();
#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 941
#define YYFLAG -32768
#define YYNTBASE 84
#define YYTRANSLATE(x) ((unsigned)(x) <= 316 ? yytranslate[x] : 306)
static const char yytranslate[] = { 0,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 80, 2, 2, 2, 52, 43, 2, 59,
76, 50, 48, 81, 49, 58, 51, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 38, 77, 2,
36, 2, 37, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
60, 2, 83, 42, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 82, 41, 78, 79, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 1, 2, 3, 4, 5,
6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
39, 40, 44, 45, 46, 47, 53, 54, 55, 56,
57, 61, 62, 63, 64, 65, 66, 67, 68, 69,
70, 71, 72, 73, 74, 75
};
#if YYDEBUG != 0
static const short yyprhs[] = { 0,
0, 1, 3, 4, 7, 8, 12, 14, 16, 18,
24, 27, 31, 36, 41, 44, 47, 50, 53, 55,
56, 57, 65, 70, 71, 72, 80, 85, 86, 87,
94, 98, 100, 102, 104, 106, 108, 110, 112, 114,
116, 118, 120, 122, 123, 125, 127, 131, 133, 136,
139, 142, 145, 148, 153, 156, 161, 164, 167, 169,
171, 173, 178, 179, 187, 189, 193, 197, 201, 205,
209, 213, 217, 221, 225, 229, 233, 237, 238, 243,
244, 249, 250, 251, 259, 260, 266, 270, 274, 276,
278, 280, 284, 288, 289, 294, 299, 304, 308, 312,
315, 318, 320, 322, 324, 326, 328, 330, 333, 335,
338, 339, 341, 344, 348, 350, 352, 355, 358, 363,
368, 371, 374, 378, 380, 382, 385, 388, 389, 390,
395, 400, 404, 408, 411, 414, 417, 420, 424, 425,
428, 431, 434, 437, 441, 442, 445, 448, 450, 452,
455, 458, 460, 462, 465, 468, 471, 475, 476, 479,
481, 483, 485, 488, 491, 493, 498, 503, 505, 507,
509, 511, 515, 517, 521, 522, 527, 528, 535, 539,
540, 547, 551, 552, 554, 556, 559, 566, 568, 572,
573, 575, 580, 587, 592, 594, 596, 598, 600, 602,
603, 608, 610, 611, 614, 616, 620, 622, 623, 628,
630, 631, 636, 637, 643, 644, 645, 651, 652, 653,
659, 661, 663, 667, 671, 676, 680, 684, 688, 690,
692, 696, 701, 705, 709, 713, 715, 719, 723, 727,
732, 736, 740, 742, 743, 751, 757, 760, 761, 769,
775, 778, 779, 788, 789, 797, 800, 801, 803, 804,
806, 808, 811, 812, 816, 819, 824, 828, 830, 834,
836, 838, 841, 843, 847, 852, 859, 865, 867, 871,
873, 875, 879, 882, 885, 886, 888, 890, 893, 894,
897, 901, 905, 908, 912, 917, 921, 924, 928, 931,
933, 935, 938, 941, 942, 944, 947, 948, 949, 951,
953, 956, 960, 962, 965, 967, 970, 977, 983, 989,
992, 995, 1000, 1001, 1006, 1007, 1008, 1012, 1017, 1021,
1023, 1025, 1027, 1029, 1032, 1033, 1038, 1040, 1044, 1045,
1046, 1054, 1060, 1063, 1064, 1065, 1066, 1079, 1080, 1087,
1090, 1093, 1096, 1100, 1107, 1116, 1127, 1140, 1144, 1149,
1151, 1153, 1154, 1161, 1165, 1171, 1174, 1177, 1178, 1180,
1181, 1183, 1184, 1186, 1188, 1192, 1197, 1199, 1203, 1204,
1207, 1210, 1211, 1216, 1219, 1220, 1222, 1224, 1228, 1230,
1234, 1239, 1244, 1249, 1254, 1259, 1260, 1263, 1265, 1268,
1270, 1274, 1276, 1280, 1282, 1284, 1286, 1288, 1290, 1292,
1294, 1296, 1300, 1304, 1309, 1310, 1311, 1322, 1323, 1330,
1331, 1332, 1345, 1346, 1355, 1356, 1363, 1366, 1367, 1376,
1381, 1382, 1392, 1398, 1399, 1406, 1407, 1409, 1413, 1417,
1419, 1421, 1423, 1425, 1426, 1430, 1433, 1437, 1441, 1443,
1444, 1446, 1450, 1452, 1456, 1459, 1460, 1461, 1462, 1470,
1471, 1472, 1473, 1481, 1482, 1483, 1486, 1488, 1490, 1493,
1494, 1498, 1500, 1502, 1503, 1504, 1510, 1511, 1512, 1518,
1523, 1525, 1531, 1534, 1535, 1538, 1539, 1541, 1543, 1545,
1548, 1551, 1556, 1559, 1562, 1564, 1568, 1571, 1574, 1577,
1578, 1581, 1582, 1586, 1588, 1590, 1593, 1595, 1597, 1599,
1601, 1603, 1605, 1607, 1609, 1611, 1613, 1615, 1617, 1619,
1621, 1623, 1625, 1627, 1629, 1631, 1633, 1635, 1637, 1639,
1641, 1643, 1650, 1654, 1660, 1663, 1665, 1667, 1669, 1672,
1674, 1678, 1681, 1683, 1685, 1686, 1687, 1694, 1696, 1698,
1700, 1703, 1706, 1708, 1713, 1718
};
static const short yyrhs[] = { -1,
85, 0, 0, 86, 88, 0, 0, 85, 87, 88,
0, 90, 0, 89, 0, 237, 0, 27, 59, 99,
76, 77, 0, 236, 88, 0, 123, 137, 77, 0,
130, 123, 137, 77, 0, 126, 123, 136, 77, 0,
130, 77, 0, 126, 77, 0, 1, 77, 0, 1,
78, 0, 77, 0, 0, 0, 126, 123, 163, 91,
117, 92, 194, 0, 126, 123, 163, 1, 0, 0,
0, 130, 123, 166, 93, 117, 94, 194, 0, 130,
123, 166, 1, 0, 0, 0, 123, 166, 95, 117,
96, 194, 0, 123, 166, 1, 0, 3, 0, 4,
0, 72, 0, 67, 0, 43, 0, 49, 0, 48,
0, 54, 0, 55, 0, 79, 0, 80, 0, 101,
0, 0, 101, 0, 107, 0, 101, 81, 107, 0,
113, 0, 50, 105, 0, 236, 105, 0, 98, 105,
0, 40, 97, 0, 103, 102, 0, 103, 59, 181,
76, 0, 104, 102, 0, 104, 59, 181, 76, 0,
33, 105, 0, 34, 105, 0, 11, 0, 29, 0,
102, 0, 59, 181, 76, 105, 0, 0, 59, 181,
76, 82, 106, 151, 78, 0, 105, 0, 107, 48,
107, 0, 107, 49, 107, 0, 107, 50, 107, 0,
107, 51, 107, 0, 107, 52, 107, 0, 107, 46,
107, 0, 107, 47, 107, 0, 107, 45, 107, 0,
107, 44, 107, 0, 107, 43, 107, 0, 107, 41,
107, 0, 107, 42, 107, 0, 0, 107, 40, 108,
107, 0, 0, 107, 39, 109, 107, 0, 0, 0,
107, 37, 110, 99, 38, 111, 107, 0, 0, 107,
37, 112, 38, 107, 0, 107, 36, 107, 0, 107,
35, 107, 0, 3, 0, 8, 0, 115, 0, 59,
99, 76, 0, 59, 1, 76, 0, 0, 59, 114,
196, 76, 0, 113, 59, 100, 76, 0, 113, 60,
99, 83, 0, 113, 58, 97, 0, 113, 57, 97,
0, 113, 54, 0, 113, 55, 0, 297, 0, 303,
0, 304, 0, 305, 0, 116, 0, 9, 0, 115,
9, 0, 75, 0, 116, 75, 0, 0, 119, 0,
119, 10, 0, 201, 202, 120, 0, 118, 0, 189,
0, 119, 118, 0, 118, 189, 0, 128, 123, 136,
77, 0, 131, 123, 137, 77, 0, 128, 77, 0,
131, 77, 0, 201, 202, 125, 0, 121, 0, 189,
0, 122, 121, 0, 121, 189, 0, 0, 0, 126,
123, 136, 77, 0, 130, 123, 137, 77, 0, 126,
123, 157, 0, 130, 123, 160, 0, 126, 77, 0,
130, 77, 0, 236, 125, 0, 134, 127, 0, 130,
134, 127, 0, 0, 127, 135, 0, 127, 5, 0,
127, 144, 0, 134, 129, 0, 131, 134, 129, 0,
0, 129, 135, 0, 129, 5, 0, 131, 0, 144,
0, 130, 131, 0, 130, 144, 0, 7, 0, 5,
0, 131, 7, 0, 131, 5, 0, 134, 133, 0,
183, 134, 133, 0, 0, 133, 135, 0, 6, 0,
167, 0, 4, 0, 67, 253, 0, 72, 253, 0,
254, 0, 28, 59, 99, 76, 0, 28, 59, 181,
76, 0, 6, 0, 7, 0, 167, 0, 139, 0,
136, 81, 139, 0, 141, 0, 137, 81, 139, 0,
0, 27, 59, 115, 76, 0, 0, 163, 138, 143,
36, 140, 149, 0, 163, 138, 143, 0, 0, 166,
138, 143, 36, 142, 149, 0, 166, 138, 143, 0,
0, 144, 0, 145, 0, 144, 145, 0, 30, 59,
59, 146, 76, 76, 0, 147, 0, 146, 81, 147,
0, 0, 148, 0, 148, 59, 3, 76, 0, 148,
59, 3, 81, 101, 76, 0, 148, 59, 100, 76,
0, 97, 0, 5, 0, 6, 0, 7, 0, 107,
0, 0, 82, 150, 151, 78, 0, 1, 0, 0,
152, 172, 0, 153, 0, 152, 81, 153, 0, 107,
0, 0, 82, 154, 151, 78, 0, 1, 0, 0,
97, 38, 155, 153, 0, 0, 58, 97, 36, 156,
153, 0, 0, 0, 163, 158, 117, 159, 196, 0,
0, 0, 166, 161, 117, 162, 196, 0, 164, 0,
166, 0, 59, 164, 76, 0, 164, 59, 231, 0,
164, 60, 99, 83, 0, 164, 60, 83, 0, 50,
184, 164, 0, 144, 124, 164, 0, 4, 0, 72,
0, 165, 59, 231, 0, 165, 60, 99, 83, 0,
165, 60, 83, 0, 50, 184, 165, 0, 144, 124,
165, 0, 4, 0, 166, 59, 231, 0, 59, 166,
76, 0, 50, 184, 166, 0, 166, 60, 99, 83,
0, 166, 60, 83, 0, 144, 124, 166, 0, 3,
0, 0, 13, 97, 82, 168, 174, 78, 143, 0,
13, 82, 174, 78, 143, 0, 13, 97, 0, 0,
14, 97, 82, 169, 174, 78, 143, 0, 14, 82,
174, 78, 143, 0, 14, 97, 0, 0, 12, 97,
82, 170, 179, 173, 78, 143, 0, 0, 12, 82,
171, 179, 173, 78, 143, 0, 12, 97, 0, 0,
81, 0, 0, 81, 0, 175, 0, 175, 176, 0,
0, 175, 176, 77, 0, 175, 77, 0, 65, 59,
67, 76, 0, 132, 123, 177, 0, 132, 0, 183,
123, 177, 0, 183, 0, 1, 0, 236, 176, 0,
178, 0, 177, 81, 178, 0, 201, 202, 163, 143,
0, 201, 202, 163, 38, 107, 143, 0, 201, 202,
38, 107, 143, 0, 180, 0, 179, 81, 180, 0,
1, 0, 97, 0, 97, 36, 107, 0, 132, 182,
0, 183, 182, 0, 0, 185, 0, 7, 0, 183,
7, 0, 0, 184, 7, 0, 59, 185, 76, 0,
50, 184, 185, 0, 50, 184, 0, 185, 59, 224,
0, 185, 60, 99, 83, 0, 185, 60, 83, 0,
59, 224, 0, 60, 99, 83, 0, 60, 83, 0,
187, 0, 204, 0, 187, 204, 0, 187, 189, 0,
0, 186, 0, 1, 77, 0, 0, 0, 192, 0,
193, 0, 192, 193, 0, 32, 235, 77, 0, 196,
0, 1, 196, 0, 82, 0, 195, 78, 0, 195,
190, 191, 122, 188, 78, 0, 195, 190, 191, 1,
78, 0, 195, 190, 191, 186, 78, 0, 198, 203,
0, 198, 1, 0, 15, 59, 99, 76, 0, 0,
18, 200, 203, 17, 0, 0, 0, 201, 202, 206,
0, 201, 202, 217, 203, 0, 201, 202, 205, 0,
206, 0, 217, 0, 196, 0, 214, 0, 99, 77,
0, 0, 197, 16, 207, 203, 0, 197, 0, 197,
16, 1, 0, 0, 0, 17, 208, 59, 99, 76,
209, 203, 0, 199, 59, 99, 76, 77, 0, 199,
1, 0, 0, 0, 0, 19, 59, 219, 77, 210,
219, 77, 211, 219, 76, 212, 203, 0, 0, 20,
59, 99, 76, 213, 203, 0, 23, 77, 0, 24,
77, 0, 25, 77, 0, 25, 99, 77, 0, 27,
218, 59, 99, 76, 77, 0, 27, 218, 59, 99,
38, 220, 76, 77, 0, 27, 218, 59, 99, 38,
220, 38, 220, 76, 77, 0, 27, 218, 59, 99,
38, 220, 38, 220, 38, 223, 76, 77, 0, 26,
97, 77, 0, 26, 50, 99, 77, 0, 77, 0,
215, 0, 0, 19, 59, 113, 76, 216, 203, 0,
21, 107, 38, 0, 21, 107, 10, 107, 38, 0,
22, 38, 0, 97, 38, 0, 0, 7, 0, 0,
99, 0, 0, 221, 0, 222, 0, 221, 81, 222,
0, 9, 59, 99, 76, 0, 115, 0, 223, 81,
115, 0, 0, 225, 226, 0, 228, 76, 0, 0,
229, 77, 227, 226, 0, 1, 76, 0, 0, 10,
0, 229, 0, 229, 81, 10, 0, 230, 0, 229,
81, 230, 0, 126, 123, 165, 143, 0, 126, 123,
166, 143, 0, 126, 123, 182, 143, 0, 130, 123,
166, 143, 0, 130, 123, 182, 143, 0, 0, 232,
233, 0, 226, 0, 234, 76, 0, 3, 0, 234,
81, 3, 0, 97, 0, 235, 81, 97, 0, 31,
0, 241, 0, 239, 0, 240, 0, 251, 0, 261,
0, 63, 0, 97, 0, 238, 81, 97, 0, 73,
238, 77, 0, 74, 97, 97, 77, 0, 0, 0,
61, 97, 253, 82, 242, 255, 78, 243, 268, 63,
0, 0, 61, 97, 253, 244, 268, 63, 0, 0,
0, 61, 97, 38, 97, 253, 82, 245, 255, 78,
246, 268, 63, 0, 0, 61, 97, 38, 97, 253,
247, 268, 63, 0, 0, 62, 97, 82, 248, 255,
78, 0, 62, 97, 0, 0, 62, 97, 38, 97,
82, 249, 255, 78, 0, 62, 97, 38, 97, 0,
0, 61, 97, 59, 97, 76, 253, 250, 268, 63,
0, 62, 97, 59, 97, 76, 0, 0, 71, 97,
253, 252, 268, 63, 0, 0, 254, 0, 45, 238,
45, 0, 255, 256, 257, 0, 257, 0, 69, 0,
70, 0, 68, 0, 0, 257, 258, 77, 0, 257,
77, 0, 132, 123, 259, 0, 183, 123, 259, 0,
1, 0, 0, 260, 0, 259, 81, 260, 0, 163,
0, 163, 38, 107, 0, 38, 107, 0, 0, 0,
0, 48, 262, 278, 263, 279, 264, 194, 0, 0,
0, 0, 49, 265, 278, 266, 279, 267, 194, 0,
0, 0, 269, 270, 0, 273, 0, 89, 0, 270,
273, 0, 0, 270, 271, 89, 0, 77, 0, 1,
0, 0, 0, 48, 274, 278, 275, 272, 0, 0,
0, 49, 276, 278, 277, 272, 0, 59, 181, 76,
287, 0, 287, 0, 59, 181, 76, 288, 285, 0,
288, 285, 0, 0, 77, 280, 0, 0, 281, 0,
282, 0, 189, 0, 281, 282, 0, 282, 189, 0,
126, 123, 283, 77, 0, 126, 77, 0, 130, 77,
0, 284, 0, 283, 81, 284, 0, 165, 143, 0,
166, 143, 0, 182, 143, 0, 0, 81, 10, 0,
0, 81, 286, 228, 0, 289, 0, 291, 0, 288,
291, 0, 3, 0, 4, 0, 72, 0, 290, 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, 289, 38, 59, 181, 76, 97, 0, 289,
38, 97, 0, 38, 59, 181, 76, 97, 0, 38,
97, 0, 289, 0, 293, 0, 295, 0, 293, 295,
0, 101, 0, 289, 38, 294, 0, 38, 294, 0,
99, 0, 67, 0, 0, 0, 60, 298, 296, 299,
292, 83, 0, 289, 0, 301, 0, 302, 0, 301,
302, 0, 289, 38, 0, 38, 0, 64, 59, 300,
76, 0, 71, 59, 97, 76, 0, 66, 59, 181,
76, 0
};
#endif
#if YYDEBUG != 0
static const short yyrline[] = { 0,
239, 244, 258, 260, 260, 261, 263, 265, 266, 267,
275, 279, 290, 295, 300, 302, 304, 305, 306, 311,
318, 320, 325, 330, 336, 338, 343, 348, 354, 356,
361, 368, 370, 371, 372, 375, 377, 379, 381, 383,
385, 387, 391, 395, 398, 401, 404, 408, 410, 413,
416, 420, 448, 454, 457, 460, 463, 465, 469, 473,
477, 479, 482, 486, 513, 515, 517, 519, 521, 523,
525, 527, 529, 531, 533, 535, 537, 539, 543, 545,
549, 551, 554, 558, 560, 567, 570, 573, 579, 739,
740, 742, 748, 750, 764, 787, 789, 791, 803, 817,
819, 821, 823, 825, 827, 829, 834, 836, 842, 844,
848, 850, 851, 861, 866, 868, 869, 870, 877, 883,
888, 891, 899, 904, 906, 907, 908, 915, 926, 930,
936, 941, 946, 951, 953, 955, 964, 967, 971, 973,
975, 980, 984, 987, 991, 994, 996, 1008, 1011, 1013,
1015, 1019, 1023, 1025, 1028, 1041, 1044, 1048, 1050, 1058,
1059, 1060, 1064, 1066, 1071, 1073, 1075, 1081, 1082, 1083,
1086, 1088, 1091, 1093, 1096, 1099, 1105, 1112, 1114, 1121,
1128, 1131, 1138, 1141, 1145, 1148, 1152, 1157, 1160, 1164,
1167, 1169, 1171, 1173, 1180, 1182, 1183, 1184, 1189, 1191,
1196, 1204, 1209, 1213, 1216, 1218, 1223, 1226, 1228, 1230,
1234, 1237, 1237, 1240, 1242, 1253, 1261, 1265, 1276, 1284,
1291, 1293, 1298, 1301, 1306, 1308, 1310, 1317, 1319, 1320,
1328, 1334, 1336, 1338, 1345, 1347, 1353, 1359, 1361, 1363,
1365, 1372, 1374, 1377, 1382, 1384, 1388, 1390, 1392, 1394,
1398, 1400, 1403, 1406, 1409, 1412, 1416, 1418, 1421, 1423,
1427, 1430, 1435, 1437, 1439, 1443, 1467, 1474, 1479, 1485,
1490, 1492, 1497, 1499, 1503, 1507, 1511, 1521, 1523, 1528,
1533, 1536, 1540, 1543, 1547, 1550, 1553, 1556, 1560, 1563,
1567, 1571, 1573, 1575, 1577, 1579, 1581, 1583, 1585, 1595,
1603, 1605, 1607, 1611, 1613, 1616, 1619, 1632, 1634, 1639,
1641, 1644, 1658, 1661, 1664, 1666, 1668, 1676, 1684, 1695,
1700, 1703, 1717, 1726, 1730, 1734, 1738, 1744, 1748, 1753,
1756, 1761, 1764, 1765, 1782, 1787, 1790, 1802, 1804, 1814,
1824, 1825, 1833, 1836, 1848, 1852, 1869, 1879, 1888, 1893,
1898, 1903, 1907, 1911, 1922, 1929, 1936, 1943, 1954, 1960,
1963, 1968, 1991, 2025, 2050, 2081, 2096, 2107, 2111, 2115,
2118, 2123, 2125, 2128, 2130, 2134, 2139, 2142, 2148, 2153,
2158, 2160, 2169, 2170, 2176, 2178, 2188, 2190, 2194, 2197,
2203, 2213, 2222, 2231, 2241, 2255, 2260, 2265, 2267, 2276,
2279, 2284, 2287, 2291, 2299, 2301, 2302, 2303, 2304, 2305,
2319, 2322, 2326, 2332, 2338, 2345, 2350, 2356, 2363, 2369,
2375, 2380, 2386, 2393, 2399, 2405, 2411, 2419, 2425, 2431,
2439, 2446, 2452, 2461, 2468, 2476, 2481, 2484, 2494, 2496,
2499, 2501, 2502, 2505, 2510, 2511, 2528, 2535, 2541, 2545,
2548, 2549, 2552, 2560, 2566, 2575, 2585, 2592, 2596, 2601,
2610, 2617, 2621, 2631, 2633, 2634, 2636, 2638, 2639, 2640,
2641, 2643, 2645, 2648, 2654, 2659, 2659, 2664, 2668, 2670,
2676, 2681, 2686, 2695, 2697, 2703, 2705, 2708, 2710, 2711,
2712, 2715, 2721, 2723, 2727, 2730, 2737, 2743, 2748, 2755,
2760, 2765, 2770, 2777, 2781, 2784, 2790, 2792, 2793, 2794,
2797, 2799, 2800, 2801, 2802, 2803, 2804, 2805, 2806, 2807,
2808, 2809, 2810, 2811, 2812, 2813, 2814, 2815, 2816, 2817,
2817, 2820, 2826, 2831, 2836, 2842, 2844, 2847, 2849, 2856,
2868, 2873, 2879, 2881, 2887, 2891, 2892, 2898, 2900, 2903,
2905, 2911, 2916, 2922, 2929, 2938
};
static const char * const yytname[] = { "$","error","$undefined.","IDENTIFIER",
"TYPENAME","SCSPEC","TYPESPEC","TYPE_QUAL","CONSTANT","STRING","ELLIPSIS","SIZEOF",
"ENUM","STRUCT","UNION","IF","ELSE","WHILE","DO","FOR","SWITCH","CASE","DEFAULT",
"BREAK","CONTINUE","RETURN","GOTO","ASM_KEYWORD","TYPEOF","ALIGNOF","ATTRIBUTE",
"EXTENSION","LABEL","REALPART","IMAGPART","ASSIGN","'='","'?'","':'","OROR",
"ANDAND","'|'","'^'","'&'","EQCOMPARE","ARITHCOMPARE","LSHIFT","RSHIFT","'+'",
"'-'","'*'","'/'","'%'","UNARY","PLUSPLUS","MINUSMINUS","HYPERUNARY","POINTSAT",
"'.'","'('","'['","INTERFACE","IMPLEMENTATION","END","SELECTOR","DEFS","ENCODE",
"CLASSNAME","PUBLIC","PRIVATE","PROTECTED","PROTOCOL","OBJECTNAME","CLASS","ALIAS",
"OBJC_STRING","')'","';'","'}'","'~'","'!'","','","'{'","']'","program","extdefs",
"@1","@2","extdef","datadef","fndef","@3","@4","@5","@6","@7","@8","identifier",
"unop","expr","exprlist","nonnull_exprlist","unary_expr","sizeof","alignof",
"cast_expr","@9","expr_no_commas","@10","@11","@12","@13","@14","primary","@15",
"string","objc_string","old_style_parm_decls","lineno_datadecl","datadecls",
"datadecl","lineno_decl","decls","setspecs","setattrs","decl","typed_declspecs",
"reserved_declspecs","typed_declspecs_no_prefix_attr","reserved_declspecs_no_prefix_attr",
"declmods","declmods_no_prefix_attr","typed_typespecs","reserved_typespecquals",
"typespec","typespecqual_reserved","initdecls","notype_initdecls","maybeasm",
"initdcl","@16","notype_initdcl","@17","maybe_attribute","attributes","attribute",
"attribute_list","attrib","any_word","init","@18","initlist_maybe_comma","initlist1",
"initelt","@19","@20","@21","nested_function","@22","@23","notype_nested_function",
"@24","@25","declarator","after_type_declarator","parm_declarator","notype_declarator",
"structsp","@26","@27","@28","@29","maybecomma","maybecomma_warn","component_decl_list",
"component_decl_list2","component_decl","components","component_declarator",
"enumlist","enumerator","typename","absdcl","nonempty_type_quals","type_quals",
"absdcl1","stmts","lineno_stmt_or_labels","xstmts","errstmt","pushlevel","maybe_label_decls",
"label_decls","label_decl","compstmt_or_error","compstmt_start","compstmt","simple_if",
"if_prefix","do_stmt_start","@30","save_filename","save_lineno","lineno_labeled_stmt",
"lineno_stmt_or_label","stmt_or_label","stmt","@31","@32","@33","@34","@35",
"@36","@37","all_iter_stmt","all_iter_stmt_simple","@38","label","maybe_type_qual",
"xexpr","asm_operands","nonnull_asm_operands","asm_operand","asm_clobbers","parmlist",
"@39","parmlist_1","@40","parmlist_2","parms","parm","parmlist_or_identifiers",
"@41","parmlist_or_identifiers_1","identifiers","identifiers_or_typenames","extension",
"objcdef","identifier_list","classdecl","aliasdecl","classdef","@42","@43","@44",
"@45","@46","@47","@48","@49","@50","protocoldef","@51","protocolrefs","non_empty_protocolrefs",
"ivar_decl_list","visibility_spec","ivar_decls","ivar_decl","ivars","ivar_declarator",
"methoddef","@52","@53","@54","@55","@56","@57","methodprotolist","@58","methodprotolist2",
"@59","semi_or_error","methodproto","@60","@61","@62","@63","methoddecl","optarglist",
"myxdecls","mydecls","mydecl","myparms","myparm","optparmlist","@64","unaryselector",
"keywordselector","selector","reservedwords","keyworddecl","messageargs","keywordarglist",
"keywordexpr","keywordarg","receiver","objcmessageexpr","@65","@66","selectorarg",
"keywordnamelist","keywordname","objcselectorexpr","objcprotocolexpr","objcencodeexpr",
""
};
#endif
static const short yyr1[] = { 0,
84, 84, 86, 85, 87, 85, 88, 88, 88, 88,
88, 89, 89, 89, 89, 89, 89, 89, 89, 91,
92, 90, 90, 93, 94, 90, 90, 95, 96, 90,
90, 97, 97, 97, 97, 98, 98, 98, 98, 98,
98, 98, 99, 100, 100, 101, 101, 102, 102, 102,
102, 102, 102, 102, 102, 102, 102, 102, 103, 104,
105, 105, 106, 105, 107, 107, 107, 107, 107, 107,
107, 107, 107, 107, 107, 107, 107, 108, 107, 109,
107, 110, 111, 107, 112, 107, 107, 107, 113, 113,
113, 113, 113, 114, 113, 113, 113, 113, 113, 113,
113, 113, 113, 113, 113, 113, 115, 115, 116, 116,
117, 117, 117, 118, 119, 119, 119, 119, 120, 120,
120, 120, 121, 122, 122, 122, 122, 123, 124, 125,
125, 125, 125, 125, 125, 125, 126, 126, 127, 127,
127, 127, 128, 128, 129, 129, 129, 130, 130, 130,
130, 131, 131, 131, 131, 132, 132, 133, 133, 134,
134, 134, 134, 134, 134, 134, 134, 135, 135, 135,
136, 136, 137, 137, 138, 138, 140, 139, 139, 142,
141, 141, 143, 143, 144, 144, 145, 146, 146, 147,
147, 147, 147, 147, 148, 148, 148, 148, 149, 150,
149, 149, 151, 151, 152, 152, 153, 154, 153, 153,
155, 153, 156, 153, 158, 159, 157, 161, 162, 160,
163, 163, 164, 164, 164, 164, 164, 164, 164, 164,
165, 165, 165, 165, 165, 165, 166, 166, 166, 166,
166, 166, 166, 168, 167, 167, 167, 169, 167, 167,
167, 170, 167, 171, 167, 167, 172, 172, 173, 173,
174, 174, 175, 175, 175, 175, 176, 176, 176, 176,
176, 176, 177, 177, 178, 178, 178, 179, 179, 179,
180, 180, 181, 181, 182, 182, 183, 183, 184, 184,
185, 185, 185, 185, 185, 185, 185, 185, 185, 186,
187, 187, 187, 188, 188, 189, 190, 191, 191, 192,
192, 193, 194, 194, 195, 196, 196, 196, 196, 197,
197, 198, 200, 199, 201, 202, 203, 203, 204, 205,
205, 206, 206, 206, 207, 206, 206, 206, 208, 209,
206, 206, 206, 210, 211, 212, 206, 213, 206, 206,
206, 206, 206, 206, 206, 206, 206, 206, 206, 206,
214, 216, 215, 217, 217, 217, 217, 218, 218, 219,
219, 220, 220, 221, 221, 222, 223, 223, 225, 224,
226, 227, 226, 226, 228, 228, 228, 228, 229, 229,
230, 230, 230, 230, 230, 232, 231, 233, 233, 234,
234, 235, 235, 236, 237, 237, 237, 237, 237, 237,
238, 238, 239, 240, 242, 243, 241, 244, 241, 245,
246, 241, 247, 241, 248, 241, 241, 249, 241, 241,
250, 241, 241, 252, 251, 253, 253, 254, 255, 255,
256, 256, 256, 257, 257, 257, 258, 258, 258, 259,
259, 259, 260, 260, 260, 262, 263, 264, 261, 265,
266, 267, 261, 268, 269, 268, 270, 270, 270, 271,
270, 272, 272, 274, 275, 273, 276, 277, 273, 278,
278, 278, 278, 279, 279, 280, 280, 281, 281, 281,
281, 282, 282, 282, 283, 283, 284, 284, 284, 285,
285, 286, 285, 287, 288, 288, 289, 289, 289, 289,
290, 290, 290, 290, 290, 290, 290, 290, 290, 290,
290, 290, 290, 290, 290, 290, 290, 290, 290, 290,
290, 291, 291, 291, 291, 292, 292, 293, 293, 294,
295, 295, 296, 296, 298, 299, 297, 300, 300, 301,
301, 302, 302, 303, 304, 305
};
static const short yyr2[] = { 0,
0, 1, 0, 2, 0, 3, 1, 1, 1, 5,
2, 3, 4, 4, 2, 2, 2, 2, 1, 0,
0, 7, 4, 0, 0, 7, 4, 0, 0, 6,
3, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 0, 1, 1, 3, 1, 2, 2,
2, 2, 2, 4, 2, 4, 2, 2, 1, 1,
1, 4, 0, 7, 1, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 0, 4, 0,
4, 0, 0, 7, 0, 5, 3, 3, 1, 1,
1, 3, 3, 0, 4, 4, 4, 3, 3, 2,
2, 1, 1, 1, 1, 1, 1, 2, 1, 2,
0, 1, 2, 3, 1, 1, 2, 2, 4, 4,
2, 2, 3, 1, 1, 2, 2, 0, 0, 4,
4, 3, 3, 2, 2, 2, 2, 3, 0, 2,
2, 2, 2, 3, 0, 2, 2, 1, 1, 2,
2, 1, 1, 2, 2, 2, 3, 0, 2, 1,
1, 1, 2, 2, 1, 4, 4, 1, 1, 1,
1, 3, 1, 3, 0, 4, 0, 6, 3, 0,
6, 3, 0, 1, 1, 2, 6, 1, 3, 0,
1, 4, 6, 4, 1, 1, 1, 1, 1, 0,
4, 1, 0, 2, 1, 3, 1, 0, 4, 1,
0, 4, 0, 5, 0, 0, 5, 0, 0, 5,
1, 1, 3, 3, 4, 3, 3, 3, 1, 1,
3, 4, 3, 3, 3, 1, 3, 3, 3, 4,
3, 3, 1, 0, 7, 5, 2, 0, 7, 5,
2, 0, 8, 0, 7, 2, 0, 1, 0, 1,
1, 2, 0, 3, 2, 4, 3, 1, 3, 1,
1, 2, 1, 3, 4, 6, 5, 1, 3, 1,
1, 3, 2, 2, 0, 1, 1, 2, 0, 2,
3, 3, 2, 3, 4, 3, 2, 3, 2, 1,
1, 2, 2, 0, 1, 2, 0, 0, 1, 1,
2, 3, 1, 2, 1, 2, 6, 5, 5, 2,
2, 4, 0, 4, 0, 0, 3, 4, 3, 1,
1, 1, 1, 2, 0, 4, 1, 3, 0, 0,
7, 5, 2, 0, 0, 0, 12, 0, 6, 2,
2, 2, 3, 6, 8, 10, 12, 3, 4, 1,
1, 0, 6, 3, 5, 2, 2, 0, 1, 0,
1, 0, 1, 1, 3, 4, 1, 3, 0, 2,
2, 0, 4, 2, 0, 1, 1, 3, 1, 3,
4, 4, 4, 4, 4, 0, 2, 1, 2, 1,
3, 1, 3, 1, 1, 1, 1, 1, 1, 1,
1, 3, 3, 4, 0, 0, 10, 0, 6, 0,
0, 12, 0, 8, 0, 6, 2, 0, 8, 4,
0, 9, 5, 0, 6, 0, 1, 3, 3, 1,
1, 1, 1, 0, 3, 2, 3, 3, 1, 0,
1, 3, 1, 3, 2, 0, 0, 0, 7, 0,
0, 0, 7, 0, 0, 2, 1, 1, 2, 0,
3, 1, 1, 0, 0, 5, 0, 0, 5, 4,
1, 5, 2, 0, 2, 0, 1, 1, 1, 2,
2, 4, 2, 2, 1, 3, 2, 2, 2, 0,
2, 0, 3, 1, 1, 2, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 6, 3, 5, 2, 1, 1, 1, 2, 1,
3, 2, 1, 1, 0, 0, 6, 1, 1, 1,
2, 2, 1, 4, 4, 4
};
static const short yydefact[] = { 3,
5, 0, 0, 0, 162, 153, 160, 152, 0, 0,
0, 0, 0, 0, 404, 0, 456, 460, 0, 0,
410, 436, 0, 436, 0, 0, 19, 4, 8, 7,
0, 128, 128, 148, 139, 149, 185, 161, 0, 9,
406, 407, 405, 408, 165, 409, 6, 17, 18, 32,
33, 35, 34, 254, 256, 263, 247, 263, 251, 0,
0, 0, 411, 0, 0, 0, 436, 427, 163, 437,
436, 164, 0, 0, 243, 289, 0, 0, 173, 129,
0, 16, 0, 15, 0, 150, 139, 151, 155, 154,
137, 186, 11, 0, 252, 0, 0, 0, 244, 0,
248, 89, 90, 107, 59, 60, 0, 0, 0, 36,
38, 37, 0, 39, 40, 0, 545, 0, 0, 0,
109, 41, 42, 0, 0, 43, 61, 0, 0, 65,
46, 48, 91, 106, 0, 102, 103, 104, 105, 287,
0, 285, 158, 0, 285, 190, 438, 0, 507, 508,
530, 531, 527, 511, 512, 513, 514, 515, 516, 517,
518, 519, 520, 521, 522, 523, 524, 525, 526, 528,
529, 0, 0, 509, 457, 481, 500, 504, 510, 505,
461, 0, 0, 418, 0, 0, 425, 434, 413, 0,
0, 0, 12, 0, 0, 31, 0, 396, 0, 0,
183, 229, 289, 0, 230, 0, 171, 129, 0, 221,
222, 0, 0, 138, 141, 168, 169, 140, 142, 170,
280, 281, 259, 278, 0, 0, 183, 271, 265, 128,
262, 128, 0, 263, 183, 263, 57, 58, 52, 49,
0, 0, 0, 0, 0, 0, 0, 0, 51, 0,
0, 0, 53, 0, 55, 0, 0, 82, 80, 78,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 100, 101, 0, 0, 44, 0, 108, 110,
50, 166, 289, 379, 0, 283, 286, 156, 167, 288,
158, 284, 196, 197, 198, 195, 0, 188, 191, 412,
0, 535, 0, 484, 502, 483, 0, 506, 0, 484,
436, 0, 415, 465, 430, 0, 444, 465, 414, 290,
239, 238, 174, 175, 242, 0, 237, 0, 241, 0,
0, 29, 0, 325, 116, 326, 182, 184, 0, 0,
14, 0, 0, 23, 0, 183, 396, 0, 13, 27,
0, 0, 260, 0, 259, 0, 246, 325, 264, 325,
272, 0, 250, 0, 93, 92, 315, 307, 0, 0,
544, 543, 546, 553, 548, 0, 549, 550, 0, 0,
10, 47, 0, 0, 88, 87, 0, 0, 0, 0,
76, 77, 75, 74, 73, 71, 72, 66, 67, 68,
69, 70, 99, 98, 0, 45, 0, 293, 0, 297,
0, 299, 0, 379, 0, 159, 157, 0, 190, 44,
0, 0, 0, 458, 501, 385, 0, 533, 462, 423,
436, 444, 0, 0, 428, 433, 0, 0, 0, 0,
0, 400, 386, 128, 128, 398, 0, 387, 389, 397,
0, 240, 306, 0, 118, 113, 117, 0, 180, 227,
223, 172, 228, 21, 179, 224, 226, 0, 25, 282,
279, 183, 0, 266, 267, 273, 326, 269, 183, 183,
316, 308, 95, 63, 62, 0, 552, 554, 0, 551,
556, 555, 54, 56, 0, 0, 81, 79, 96, 97,
292, 291, 380, 298, 294, 296, 0, 187, 189, 89,
0, 0, 480, 500, 128, 0, 489, 485, 487, 0,
0, 503, 387, 0, 0, 420, 465, 431, 0, 419,
474, 477, 468, 0, 128, 128, 470, 467, 444, 443,
441, 442, 426, 444, 449, 446, 128, 128, 0, 435,
176, 384, 285, 285, 381, 382, 0, 399, 0, 0,
30, 313, 114, 128, 128, 145, 0, 0, 177, 225,
0, 255, 183, 325, 0, 245, 249, 0, 0, 309,
310, 0, 0, 536, 0, 537, 538, 83, 86, 295,
192, 0, 194, 534, 482, 493, 285, 494, 490, 491,
459, 0, 463, 444, 0, 465, 416, 0, 0, 175,
0, 0, 0, 469, 0, 0, 450, 450, 445, 236,
289, 379, 129, 183, 183, 183, 289, 183, 183, 0,
388, 390, 401, 314, 121, 0, 122, 0, 145, 143,
202, 200, 199, 181, 22, 0, 26, 253, 274, 0,
183, 402, 0, 0, 0, 325, 0, 0, 125, 326,
301, 311, 210, 89, 0, 208, 0, 207, 0, 257,
205, 540, 542, 0, 547, 0, 539, 0, 0, 183,
183, 183, 0, 495, 532, 0, 424, 0, 465, 475,
478, 471, 429, 0, 453, 447, 451, 448, 293, 0,
396, 0, 391, 392, 393, 293, 394, 395, 383, 0,
0, 144, 147, 146, 0, 178, 183, 0, 275, 312,
0, 318, 127, 126, 305, 0, 319, 303, 326, 302,
0, 0, 0, 211, 64, 0, 204, 541, 84, 193,
497, 498, 499, 492, 285, 421, 432, 0, 0, 0,
455, 0, 0, 234, 289, 235, 231, 233, 0, 119,
120, 0, 277, 183, 403, 317, 0, 162, 0, 339,
323, 0, 0, 0, 0, 0, 0, 0, 0, 368,
436, 436, 360, 0, 0, 123, 128, 128, 332, 337,
0, 0, 329, 330, 333, 361, 331, 0, 213, 0,
0, 206, 496, 465, 417, 473, 472, 476, 479, 454,
452, 0, 232, 201, 276, 0, 0, 325, 370, 0,
0, 366, 350, 351, 352, 0, 0, 0, 369, 0,
367, 334, 134, 0, 135, 0, 0, 321, 326, 320,
343, 0, 136, 0, 209, 212, 0, 0, 0, 0,
371, 48, 0, 0, 0, 364, 353, 0, 358, 0,
0, 132, 215, 0, 133, 218, 338, 325, 0, 0,
214, 422, 322, 0, 324, 362, 344, 348, 0, 359,
0, 130, 0, 131, 0, 336, 327, 325, 0, 340,
325, 370, 325, 365, 372, 0, 216, 219, 328, 342,
325, 363, 0, 349, 0, 0, 373, 374, 354, 0,
0, 341, 345, 0, 372, 0, 0, 217, 220, 370,
0, 0, 355, 375, 0, 376, 0, 0, 346, 377,
0, 356, 325, 0, 0, 347, 357, 378, 0, 0,
0
};
static const short yydefgoto[] = { 939,
1, 2, 3, 28, 29, 30, 345, 568, 351, 571,
200, 454, 667, 124, 242, 405, 126, 127, 128, 129,
130, 582, 131, 390, 389, 387, 678, 388, 132, 243,
133, 134, 332, 333, 334, 563, 655, 656, 31, 195,
786, 444, 91, 564, 640, 445, 34, 142, 288, 35,
218, 206, 78, 201, 207, 646, 79, 567, 337, 338,
37, 297, 298, 299, 644, 715, 669, 670, 671, 733,
801, 844, 862, 883, 910, 865, 885, 911, 324, 210,
680, 211, 38, 234, 236, 225, 94, 737, 354, 97,
98, 231, 475, 476, 223, 224, 144, 682, 145, 191,
287, 657, 658, 726, 335, 482, 579, 580, 581, 561,
368, 562, 790, 791, 792, 818, 839, 458, 840, 661,
793, 794, 868, 817, 901, 892, 920, 933, 893, 795,
796, 891, 797, 830, 853, 906, 907, 908, 931, 410,
411, 446, 630, 447, 448, 449, 327, 328, 450, 451,
653, 135, 40, 64, 41, 42, 43, 432, 689, 314,
604, 804, 527, 317, 539, 606, 44, 318, 69, 45,
437, 544, 438, 549, 696, 697, 46, 65, 304, 521,
66, 310, 525, 433, 434, 537, 613, 808, 538, 608,
749, 609, 750, 175, 424, 518, 519, 520, 683, 684,
306, 426, 176, 177, 178, 179, 180, 585, 586, 673,
587, 373, 136, 245, 486, 376, 377, 378, 137, 138,
139
};
static const short yypact[] = { 120,
131, 2895, 2895, 468,-32768,-32768,-32768,-32768, 98, 118,
257, 110, 122, 132,-32768, 266,-32768,-32768, 266, 266,
-32768, 158, 266, 158, 266, 266,-32768,-32768,-32768,-32768,
234, 153, 2375, 497,-32768, 218,-32768,-32768, 2895,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768, 172, 210, 203, 210, 221, 2604,
2442, 254,-32768, 61, 3182, 3182, 81, 133,-32768,-32768,
158,-32768, 151, 266,-32768,-32768, 234, 253,-32768, 218,
1662,-32768, 540,-32768, 234, 497,-32768, 218,-32768,-32768,
879,-32768,-32768, 94,-32768, 263, 289, 1593,-32768, 298,
-32768,-32768,-32768,-32768,-32768,-32768, 2604, 2604, 266,-32768,
-32768,-32768, 2604,-32768,-32768, 933,-32768, 278, 323, 326,
-32768,-32768,-32768, 2604, 331, 361,-32768, 2658, 2712,-32768,
3553, 1169, 403, 370, 2604,-32768,-32768,-32768,-32768,-32768,
396, 267,-32768, 402, 3336, 302,-32768, 266,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768, 129, 3459,-32768,-32768,-32768, 2336, 457,-32768,-32768,
-32768, 266, 266, 449, 266, 266,-32768,-32768,-32768, 461,
642, 54,-32768, 540, 234,-32768, 474,-32768, 1805, 683,
218,-32768,-32768, 540,-32768, 259,-32768, 218, 1760, 526,
529, 318, 1681, 879,-32768,-32768,-32768,-32768, 218,-32768,
-32768, 505, 470,-32768, 94, 491, 218,-32768,-32768, 525,
486, 3078, 374, 210, 218, 210,-32768,-32768,-32768,-32768,
490, 499, 495, 503, 2496, 3244, 3459, 266,-32768, 517,
2604, 933,-32768, 933,-32768, 2604, 2604, 558,-32768,-32768,
2604, 2604, 2604, 2604, 2604, 2604, 2604, 2604, 2604, 2604,
2604, 2604,-32768,-32768, 266, 266, 2604, 2604,-32768,-32768,
-32768,-32768,-32768, 267, 1864,-32768, 547, 711,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768, 29,-32768, 539,-32768,
3459,-32768, 537, 542, 618,-32768, 457,-32768, 147, 542,
158, 559,-32768, 574, 573, 585,-32768, 574,-32768,-32768,
529,-32768,-32768, 635, 529, 654,-32768, 3048,-32768, 582,
589,-32768, 276, 82,-32768,-32768, 631, 218, 269, 219,
-32768, 540, 540,-32768, 683, 218,-32768, 1923,-32768,-32768,
683, 2604, 266, 591, 470, 595,-32768,-32768,-32768,-32768,
-32768, 592,-32768, 596,-32768,-32768,-32768, 599, 597, 2256,
-32768,-32768,-32768,-32768, 640, 606, 3244,-32768, 607, 610,
-32768, 3553, 615, 617, 3553, 3553, 2604, 656, 2604, 2604,
2834, 2942, 880, 784, 1653, 900, 900, 478, 478,-32768,
-32768,-32768,-32768,-32768, 622, 361, 616, 456, 242,-32768,
3067,-32768, 621,-32768, 1982,-32768, 711, 624, 302, 2766,
632, 3272, 851,-32768,-32768, 3347, 3459,-32768,-32768, 628,
158,-32768, 658, 2970,-32768,-32768, 347, 2843, 666, 84,
643,-32768,-32768,-32768, 3422,-32768, 659, 327,-32768,-32768,
176,-32768,-32768, 86,-32768,-32768,-32768, 3441,-32768, 526,
-32768,-32768, 526,-32768, 701,-32768,-32768, 660,-32768, 3553,
-32768, 218, 663,-32768, 661,-32768,-32768, 661, 218, 218,
-32768, 713,-32768,-32768,-32768, 3308,-32768,-32768, 640,-32768,
-32768,-32768,-32768,-32768, 708, 2604, 2417, 1396,-32768,-32768,
547,-32768,-32768,-32768,-32768,-32768, 668,-32768,-32768, 211,
681, 266,-32768, 2336, 676, 3097,-32768,-32768, 3422, 1779,
86,-32768, 679, 700, 86,-32768, 574,-32768, 352,-32768,
-32768,-32768,-32768, 234, 153, 2375, 262,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768, 3478, 705,-32768,
-32768,-32768, 464, 93,-32768,-32768, 3411,-32768, 780, 495,
-32768,-32768,-32768, 707, 726,-32768, 840, 86,-32768,-32768,
86,-32768, 218,-32768, 368,-32768,-32768, 266, 1102, 713,
-32768, 1422, 2604, 750, 706, 3308,-32768,-32768, 1475,-32768,
-32768, 2604,-32768,-32768,-32768,-32768, 464,-32768,-32768,-32768,
-32768, 266,-32768,-32768, 729, 574,-32768, 3182, 3182, 76,
540, 234, 2998,-32768, 430, 2861, 1377, 1377,-32768,-32768,
-32768, 93, 218, 238, 330, 218,-32768, 330, 218, 3067,
-32768,-32768,-32768,-32768,-32768, 540,-32768, 234,-32768, 767,
-32768,-32768, 3553,-32768,-32768, 840,-32768,-32768,-32768, 2604,
212,-32768, 377, 545, 1022, 716, 717, 1182,-32768,-32768,
-32768,-32768,-32768, 758, 266,-32768, 762, 3553, 735, 737,
-32768, 361,-32768, 2604,-32768, 750,-32768, 2604, 273, 238,
330, 218, 383,-32768,-32768, 442,-32768, 760, 574,-32768,
-32768,-32768,-32768, 2604, 789, 757,-32768, 757, 588, 677,
-32768, 2041,-32768,-32768,-32768, 594,-32768,-32768,-32768, 389,
416, 767,-32768,-32768, 1422,-32768, 3186, 2604,-32768,-32768,
266,-32768,-32768,-32768,-32768, 764,-32768,-32768,-32768,-32768,
2122, 808, 1422,-32768,-32768, 1502,-32768,-32768, 1475,-32768,
-32768,-32768,-32768,-32768, 464,-32768,-32768, 782, 72, 72,
3553, 2604, 1377, 583,-32768, 583,-32768,-32768, 763,-32768,
-32768, 775,-32768, 3186,-32768,-32768, 2202, 816, 800,-32768,
-32768, 802, 813, 2604, 829, 798, 805, 2550, 429, 890,
79, 141,-32768, 849, 824,-32768, 825, 3147,-32768, 887,
1262, 103,-32768,-32768,-32768,-32768,-32768, 2364,-32768, 827,
1582,-32768,-32768, 574,-32768,-32768,-32768,-32768,-32768, 3553,
-32768, 601,-32768,-32768,-32768, 2604, 848,-32768, 2604, 2604,
3517,-32768,-32768,-32768,-32768, 831, 2604, 833,-32768, 853,
-32768,-32768,-32768, 540,-32768, 234, 1342,-32768,-32768,-32768,
-32768, 2604,-32768, 1582,-32768,-32768, 854, 845, 2604, 899,
-32768, 752, 866, 878, 2604,-32768,-32768, 881,-32768, 2604,
432,-32768, 320, 440,-32768, 332,-32768,-32768, 2202, 883,
-32768,-32768,-32768, 889,-32768,-32768,-32768,-32768, 3535,-32768,
52,-32768, 683,-32768, 683,-32768,-32768,-32768, 886,-32768,
-32768, 2604,-32768,-32768, 946, 891,-32768,-32768,-32768,-32768,
-32768,-32768, 892,-32768, 898, 69, 893,-32768,-32768, 495,
495,-32768,-32768, 2604, 946, 894, 946,-32768,-32768, 2604,
901, 145,-32768,-32768, 903,-32768, 654, 907,-32768, 403,
303,-32768,-32768, 908, 654,-32768,-32768, 403, 970, 975,
-32768
};
static const short yypgoto[] = {-32768,
-32768,-32768,-32768, 192, -367,-32768,-32768,-32768,-32768,-32768,
-32768,-32768, -9,-32768, -52, 560, -231, 530,-32768,-32768,
-54,-32768, 220,-32768,-32768,-32768,-32768,-32768, 167,-32768,
-295,-32768, -312, 655,-32768,-32768, 334,-32768, 17, -195,
193, 16, 909,-32768, 356, 21, -11, -61, 710, 11,
-276, -575, -58, -206, -118,-32768,-32768,-32768, 196, 3,
-6,-32768, 579,-32768, 357,-32768, -604,-32768, -657,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -68, -135,
-489, 14, -66,-32768,-32768,-32768,-32768,-32768, 647, 19,
-32768, 773, 649, 433, 785, 664, -27, -79, -55, -168,
-226, 355,-32768,-32768, -285,-32768,-32768,-32768, 434, -413,
-32768, -205,-32768,-32768,-32768,-32768, -122, -415, -734, 358,
-32768, 149,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,-32768, 150,-32768, -658, 105,-32768, 107,-32768, 608,
-32768, -359,-32768, 612, 633, 475, -307,-32768,-32768,-32768,
-32768, 18,-32768, 1029,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -20, 4,
-364,-32768, 513,-32768, 443, 305,-32768,-32768,-32768,-32768,
-32768,-32768,-32768, -286,-32768,-32768,-32768, 310, 531,-32768,
-32768,-32768,-32768, -25, 753,-32768,-32768, 550,-32768, 321,
564,-32768, 651, 652, -121,-32768, -148,-32768,-32768, 405,
494,-32768,-32768,-32768,-32768,-32768,-32768, 714,-32768,-32768,
-32768
};
#define YYLAST 3605
static const short yytable[] = { 55,
57, 59, 346, 72, 36, 36, 63, 125, 141, 67,
68, 416, 343, 71, 209, 63, 74, 32, 32, 39,
39, 86, 33, 33, 220, 70, 212, 70, 308, 92,
440, 439, 464, 80, 339, 88, 230, 369, 469, 466,
181, 36, 232, 87, 81, 406, 184, 455, 83, 85,
188, 503, 237, 238, 32, 307, 39, 409, 240, 33,
710, 575, 286, 624, 190, 292, 533, 529, 340, 249,
70, 143, 806, 92, 70, 323, 100, 336, 802, 80,
281, 92, -112, 850, 222, 208, 560, 80, 244, 895,
192, 456, 279, 219, 221, 75, 50, 51, 213, 239,
50, 51, 197, 841, 418, 147, 915, 601, 143, 419,
762, 603, 198, 199, 408, 233, -35, 346, 182, -1,
50, 51, 14, 16, 375, 16, 143, 896, 800, 322,
-2, 50, 51, 886, 198, 199, 296, 517, 300, 183,
416, 148, 627, 846, 916, 303, 330, 220, 807, 50,
51, 622, 285, 899, 645, 291, 902, 647, 904, 551,
52, 842, 302, -112, 52, 53, 912, 367, 60, 53,
185, 230, 311, 312, 615, 315, 316, 232, -34, 54,
61, 501, 927, 143, 52, 16, 871, 301, 406, 53,
62, 186, 372, 80, 47, 52, 208, 80, 936, 56,
53, 92, 16, 460, 321, 427, 208, 463, 325, 754,
756, 336, 92, 52, 187, 222, 219, 192, 53, 379,
928, 220, 336, 462, 383, 407, 384, 189, 336, 82,
93, 148, 413, 903, 600, 477, 75, 477, 380, 686,
605, 14, 291, 143, 731, 692, 358, 14, 360, 718,
233, 558, 362, 95, 364, 489, 559, 143, 861, 50,
51, 925, 143, 14, 143, 403, 404, 14, 50, 51,
709, 75, 202, 421, 96, 320, 331, 347, 348, -115,
-115, -115, -115, 76, 99, -115, 591, -115, -115, -115,
430, 592, 77, 659, 461, 468, 701, 702, 14, 428,
414, 415, 101, -115, 50, 51, 293, 294, 295, 531,
532, 143, 146, 767, 70, 485, 283, 502, 203, 688,
-115, 226, 754, 52, -466, 284, 285, 204, 53, 193,
36, 92, 52, 194, 495, 341, 246, 53, 58, 342,
205, 208, -115, 222, 208, 208, 197, -115, 740, -175,
220, 672, 321, 251, 634, -175, 325, -115, 197, 14,
679, -175, 507, 714, 584, 308, 227, -175, 52, 723,
75, 202, 728, 53, 228, 235, 547, 5, 934, 7,
140, 247, 548, 935, 248, 9, 10, 11, 198, 199,
198, 199, 307, 757, 349, 409, -175, 14, 194, 524,
-175, 13, 748, 556, 15, 650, 250, 557, -175, 296,
528, 279, -175, 36, 540, 541, 542, 203, 16, 540,
541, 542, 357, 869, 543, 36, 204, 700, 36, 607,
363, 50, 51, 86, 70, 714, 36, 143, 515, 205,
22, 251, 672, 516, 280, 24, 565, 88, 143, 535,
534, 477, 699, 720, 536, 87, 660, 721, 706, 744,
553, 554, 320, 745, 676, 760, 75, 620, 566, 342,
382, 282, 501, 626, 629, 385, 386, 289, 827, 501,
391, 392, 393, 394, 395, 396, 397, 398, 399, 400,
401, 402, 761, 14, 309, 52, 194, 540, 541, 542,
53, 89, 594, 90, 86, 283, 651, 693, 882, 540,
541, 542, 342, 621, 284, 285, 884, 847, 88, 746,
194, 36, 622, 285, 86, 789, 87, 270, 271, 272,
313, 597, 326, 660, 515, 729, 80, 319, 88, 516,
352, 465, 75, 202, 48, 49, 87, 610, 695, 695,
353, 611, 612, 212, 547, 623, 80, 356, 291, 36,
548, 789, 359, 617, 618, 365, 625, 628, 652, 14,
897, 470, 898, 220, 366, 639, 367, 208, 370, 711,
636, 638, 690, 691, 347, 348, 812, 198, 199, 203,
75, 620, 685, 381, 320, -85, 75, 420, 204, 623,
320, -268, -268, 75, 620, 414, 415, 320, 497, 498,
681, 205, 422, 208, 80, 36, 92, 14, 423, 208,
208, 453, 722, 14, 80, 610, 143, 425, 535, 534,
14, 930, 36, 536, 431, 192, -464, 621, 208, 938,
80, 701, 702, 627, 75, 220, 622, 285, 320, 759,
755, 610, 622, 285, 435, 732, 346, 253, 255, 77,
436, 197, 104, 789, 452, 453, 459, 572, 472, 479,
474, 14, 483, 480, 576, 577, 481, 487, 785, 75,
620, 488, 491, 331, 695, 492, -325, -325, -325, -325,
493, 76, 494, 496, -325, -325, -325, 499, 500, 508,
77, 623, 623, 504, 918, 919, 14, 512, 80, 526,
-325, 765, 321, 325, 785, 589, 216, 217, 552, 321,
530, 784, 9, 10, 11, 826, 755, -325, 550, 5,
89, 7, 90, 36, 555, 77, 569, 9, 10, 11,
573, 574, 570, 281, 578, 588, 787, 623, 798, -325,
590, 788, 596, 13, -325, 208, 593, 784, 681, 557,
336, 72, 336, 848, -111, 863, 851, 854, 648, 828,
16, 713, 216, 217, 858, 602, 86, 864, 9, 10,
11, 619, 633, 635, 70, 70, 643, 674, 675, 870,
88, 687, 22, -304, 727, -32, 874, 24, 87, 734,
36, 668, 637, 834, 836, 273, 274, 881, 275, 276,
277, 278, 735, 787, 623, 798, 785, 736, 788, 703,
704, 705, 747, 707, 708, 321, 752, 876, 265, 266,
267, 268, 269, 270, 271, 272, 208, 753, 80, 851,
641, 766, 102, 799, 805, 813, 719, 103, 104, 866,
105, 331, 814, -33, 5, 6, 7, 8, 816, 784,
819, 921, 9, 10, 11, 643, 822, 851, 106, 717,
15, 820, 107, 108, 823, 741, 742, 743, 13, 109,
14, 824, 110, 215, 216, 217, 831, 111, 112, 113,
9, 10, 11, 114, 115, 16, 829, 739, 116, 117,
832, 833, 837, 118, 845, 119, 849, 857, 14, 859,
120, 860, 763, 751, 121, 875, 872, 22, 122, 123,
873, 642, 24, 264, 265, 266, 267, 268, 269, 270,
271, 272, -486, 241, 668, 102, 5, 764, 7, 140,
103, 104, 877, 105, 9, 10, 11, 268, 269, 270,
271, 272, 668, 878, 905, 668, 914, 880, 889, 815,
13, 106, 900, 15, 890, 107, 108, 909, 913, 940,
923, 810, 109, 917, 941, 110, 926, 16, 929, 511,
111, 112, 113, 932, 937, 852, 114, 115, 457, 724,
843, 116, 117, 821, 712, 214, 118, 509, 119, 22,
417, 473, 716, 120, 24, 361, 649, 121, 478, 355,
725, 122, 123, 662, -94, 730, 471, 887, 888, 922,
668, 505, 331, 924, -124, -124, -124, -124, -124, -124,
-124, 632, -124, -124, -124, -124, -124, 522, -124, -124,
-124, -124, -124, -124, -124, -124, -124, -124, -124, -124,
-124, -124, -124, 73, -124, -124, 616, 811, 523, 809,
698, -124, 429, 668, -124, 803, -124, 614, 599, -124,
-124, -124, 513, 514, 879, -124, -124, 595, 738, 677,
-124, -124, 0, 0, 0, -124, 0, -124, -124, 0,
490, 0, -124, -124, 0, 0, -124, 0, -124, -124,
-124, -124, 654, -124, -325, -325, -325, -325, -325, -325,
-325, 0, -325, -325, -325, -325, -325, 0, -325, -325,
-325, -325, -325, -325, -325, -325, -325, -325, -325, -325,
-325, -325, -325, 0, -325, -325, 0, 0, 0, 0,
0, -325, 0, 0, -325, 0, -325, 0, 0, -325,
-325, -325, 0, 0, 0, -325, -325, 0, 0, 0,
-325, -325, 0, 0, 0, -325, 0, -325, -325, 0,
0, 0, -325, -325, 0, 0, -325, 0, -325, 0,
-325, -325, 331, -325, -325, -325, 0, 0, 0, -325,
-325, 0, -325, 0, 0, 0, -325, 0, -325, -325,
-325, -325, -325, -325, -325, -325, -325, -325, -325, 0,
-325, 0, -325, 0, -325, -325, 0, 0, 0, 0,
0, -325, 273, 274, -325, 275, 276, 277, 278, -325,
-325, -325, 0, 0, 0, -325, -325, 0, 0, 0,
-325, -325, 0, 0, 0, -325, 0, -325, -325, 0,
0, 0, -325, -325, 0, 0, -325, 0, -325, -300,
-325, -325, 838, -325, -325, -325, 0, 0, 0, -325,
-325, 0, -325, 0, 0, 0, -325, 0, -325, -325,
-325, -325, -325, -325, -325, -325, -325, -325, -325, 0,
-325, 0, -325, 0, -325, -325, 0, 0, 0, 0,
0, -325, 0, 0, -325, 0, 0, 0, 0, -325,
-325, -325, 0, 0, 0, -325, -325, 0, 0, 0,
-325, -325, 0, 0, 0, -325, 0, -325, -325, 0,
0, 0, -325, -325, 0, 0, -325, 0, -325, 0,
-325, -325, 867, -325, -335, -335, 0, 0, 0, -335,
-335, 0, -335, 0, 0, 0, -335, 0, -335, -335,
-335, -335, -335, -335, -335, -335, -335, -335, -335, 0,
-335, 0, -335, 0, -335, -335, 0, 0, 0, 75,
202, -335, 0, 0, -335, 0, 0, 0, 0, -335,
-335, -335, 0, 0, 0, -335, -335, 0, 0, 0,
-335, -335, 0, 0, 0, -335, 14, -335, -335, 0,
0, 0, -335, -335, 694, 0, -335, 0, -335, 0,
-335, -335, 663, -335, 664, 51, 203, 0, 0, 103,
104, 0, 105, 0, 0, 204, 261, 262, 263, 264,
265, 266, 267, 268, 269, 270, 271, 272, 205, 0,
106, 0, 15, 0, 107, 108, 0, 0, 0, 0,
0, 109, 0, 0, 110, 0, 0, 0, 0, 111,
112, 113, 0, 0, 0, 114, 115, 0, 0, 665,
116, 117, 0, 0, 0, 118, 0, 119, 52, 0,
0, 0, 120, 53, 0, 0, 121, 0, 0, -203,
122, 123, 663, 666, 664, 51, 0, 0, 0, 103,
104, 258, 105, 259, 260, 261, 262, 263, 264, 265,
266, 267, 268, 269, 270, 271, 272, 0, 0, 0,
106, 0, 15, 0, 107, 108, 0, 0, 0, 0,
0, 109, 0, 0, 110, 0, 0, 0, 0, 111,
112, 113, 0, 0, 0, 114, 115, 0, 0, 665,
116, 117, 0, 0, 0, 118, 0, 119, 52, 0,
0, 0, 120, 53, 0, 0, 121, 0, 0, -258,
122, 123, 663, 666, 664, 51, 0, 0, 0, 103,
104, 0, 105, 228, 0, 0, 5, 0, 7, 140,
0, 0, 0, 0, 9, 10, 11, 0, 0, 0,
106, 0, 15, 0, 107, 108, 0, 0, 0, 0,
13, 109, 0, 15, 110, 0, 0, 0, 0, 111,
112, 113, 0, 0, 0, 114, 115, 16, 0, 665,
116, 117, 0, 0, 0, 118, 0, 119, 52, 0,
0, 0, 120, 53, 0, 0, 121, 0, 0, 22,
122, 123, 196, 666, 24, -28, -28, -28, -28, 229,
-261, 0, 0, -28, -28, -28, 0, 0, 0, 0,
0, 350, 0, 0, -24, -24, -24, -24, 197, -28,
0, -175, -24, -24, -24, 0, 0, -175, 266, 267,
268, 269, 270, 271, 272, 0, -28, 197, -24, 0,
-175, 0, 0, 0, 0, 0, -175, 0, 0, 0,
198, 199, 0, 0, 0, -24, 0, 0, -28, 0,
0, 0, 0, -28, 0, 0, 0, 0, -175, 198,
199, 0, -175, -28, 0, 0, 0, -24, 0, 0,
0, 0, -24, 0, 0, 0, 0, -175, 0, 0,
344, -175, -24, -20, -20, -20, -20, 0, 0, 0,
0, -20, -20, -20, 0, 0, 0, 0, 0, 331,
0, 0, -488, -488, -488, -488, 197, -20, 0, -175,
-488, -488, -488, 0, 0, -175, 0, 0, 0, 0,
0, 0, 0, 0, -20, 0, -488, 102, -488, 0,
0, 0, 103, 104, 0, 105, 0, 0, 0, 0,
0, 0, 0, -488, 0, 0, -20, 0, 0, 0,
0, -20, 0, 106, 0, 15, -175, 107, 108, 0,
-175, -20, 0, 0, 109, -488, 0, 110, 0, 0,
-488, 0, 111, 112, 113, 0, 0, 0, 114, 115,
-488, 0, 0, 116, 117, 0, 102, 0, 118, 0,
119, 103, 104, 0, 105, 120, 0, 0, 0, 121,
0, 0, 0, 122, 123, 0, 0, 329, 0, 0,
0, 0, 106, 0, 15, 0, 107, 108, 0, 0,
0, 0, 0, 109, 0, 0, 110, 0, 0, 0,
0, 111, 112, 113, 0, 0, 0, 114, 115, 0,
0, 0, 116, 117, 0, 102, 0, 118, 0, 119,
103, 104, 0, 105, 120, 0, 0, 0, 121, 0,
0, 0, 122, 123, 0, 0, 412, 0, 0, 0,
0, 106, 0, 15, 0, 107, 108, 0, 0, 0,
0, 0, 109, 0, 0, 110, 0, 0, 0, 0,
111, 112, 113, 0, 0, 0, 114, 115, 0, 0,
0, 116, 117, 0, 102, 0, 118, 0, 119, 103,
104, 0, 105, 120, 0, 0, 0, 121, 0, 0,
0, 122, 123, 0, 0, 467, 0, 0, 0, 0,
106, 0, 15, 0, 107, 108, 0, 0, 0, 0,
0, 109, 0, 0, 110, 0, 0, 0, 0, 111,
112, 113, 0, 0, 0, 114, 115, 0, 0, 0,
116, 117, 0, 102, 0, 118, 0, 119, 103, 104,
0, 105, 120, 0, 0, 0, 121, 0, 0, 0,
122, 123, 0, 0, 506, 0, 0, 0, 0, 106,
0, 15, 0, 107, 108, 0, 0, 0, 0, 0,
109, 0, 0, 110, 0, 0, 0, 0, 111, 112,
113, 0, 0, 0, 114, 115, 0, 0, 0, 116,
117, 0, 0, 0, 118, 0, 119, 0, 0, 0,
0, 120, 0, 0, 0, 121, 0, 0, 0, 122,
123, 0, 0, 758, 664, 768, 6, 7, 8, 103,
104, 0, 105, 9, 10, 11, 769, 0, 770, 771,
772, 773, 774, 775, 776, 777, 778, 779, 780, 13,
106, 14, 15, 0, 107, 108, 0, 0, 0, 0,
0, 109, 0, 0, 110, 0, 16, 0, 0, 111,
112, 113, 0, 0, 0, 114, 115, 0, 0, 0,
116, 117, 0, 0, 0, 118, 0, 119, 781, 0,
0, 0, 120, 782, 0, 0, 121, 0, 783, 0,
122, 123, 0, 367, 664, 51, 0, 0, 0, 103,
104, 0, 105, 0, 0, 0, 769, 0, 770, 771,
772, 773, 774, 775, 776, 777, 778, 779, 780, 0,
106, 0, 15, 0, 107, 108, 0, 0, 0, 0,
0, 109, 0, 0, 110, 0, 0, 0, 0, 111,
112, 113, 0, 0, 0, 114, 115, 0, 102, 0,
116, 117, 0, 103, 104, 118, 105, 119, 52, 0,
0, 0, 120, 53, 0, 0, 121, 0, 783, 0,
122, 123, 0, 367, 106, 0, 15, 0, 107, 108,
0, 0, 0, 0, 0, 109, 0, 0, 110, 0,
0, 0, 0, 111, 112, 113, 0, 0, 0, 114,
115, 0, 0, 0, 116, 117, 0, 0, 0, 118,
0, 119, 0, 0, 0, 0, 120, 0, 0, 0,
121, 0, 0, 0, 122, 123, 0, 484, 149, 150,
0, 151, 152, 0, 0, 0, 153, 154, 155, 156,
157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
167, 168, 169, 170, 171, 0, 102, 5, 6, 7,
8, 103, 104, 172, 105, 9, 10, 11, 5, 6,
7, 8, 0, 0, 0, 0, 9, 10, 11, 0,
0, 13, 106, 14, 15, 0, 107, 108, 0, 0,
0, 0, 13, 109, 14, 0, 110, 174, 16, 0,
0, 111, 112, 113, 0, 0, 305, 114, 115, 16,
0, 0, 116, 117, 0, 0, 0, 118, 0, 119,
22, 0, 0, 0, 120, 24, 0, 0, 121, 0,
0, 22, 122, 123, 102, 5, 24, 7, 140, 103,
104, 84, 105, 9, 10, 11, 260, 261, 262, 263,
264, 265, 266, 267, 268, 269, 270, 271, 272, 13,
106, 0, 15, 0, 107, 108, 0, 0, 0, 0,
0, 109, 0, 0, 110, 0, 16, 0, 0, 111,
112, 113, 0, 0, 0, 114, 115, 0, 102, 0,
116, 117, 0, 103, 104, 118, 105, 119, 22, 0,
0, 0, 120, 24, 0, 0, 121, 0, 0, 0,
122, 123, 0, 0, 106, 0, 15, 0, 107, 108,
0, 0, 0, 0, 0, 109, 0, 0, 110, 0,
0, 0, 0, 111, 112, 113, 0, 0, 0, 114,
115, 0, 102, 0, 116, 117, 0, 103, 104, 118,
105, 119, 371, 0, 0, 0, 120, 0, 0, 0,
121, 0, 0, 0, 122, 123, 0, 0, 106, 0,
15, 0, 107, 108, 0, 0, 0, 0, 0, 109,
0, 0, 110, 0, 0, 0, 0, 111, 112, 113,
0, 0, 0, 114, 115, 0, 102, 0, 116, 117,
0, 103, 104, 118, 105, 119, 0, 0, 0, 0,
120, 0, 0, 0, 121, 0, 825, 0, 122, 123,
0, 0, 106, 0, 15, 0, 107, 108, 0, 0,
0, 0, 0, 109, 0, 0, 110, 0, 0, 0,
0, 111, 112, 113, 0, 0, 0, 114, 115, 0,
102, 0, 116, 117, 0, 103, 104, 118, 105, 119,
0, 0, 0, 0, 120, 0, 0, 0, 121, 0,
0, 0, 122, 123, 0, 0, 106, 0, 15, 0,
107, 108, 0, 0, 0, 0, 0, 109, 0, 0,
110, 0, 0, 0, 0, 111, 112, 113, 0, 0,
0, 114, 115, 0, 102, 0, 252, 117, 0, 103,
104, 118, 105, 119, 0, 0, 0, 0, 120, 0,
0, 0, 121, 0, 0, 0, 122, 123, 0, 0,
106, 0, 15, 0, 107, 108, 0, 0, 0, 0,
0, 109, 0, 0, 110, 0, 0, 0, 0, 111,
112, 113, 0, 0, 0, 114, 115, 0, 510, 0,
254, 117, 0, 103, 104, 118, 105, 119, 0, 0,
0, 0, 120, 0, 0, 0, 121, 0, 0, 0,
122, 123, 0, 0, 106, 0, 15, 0, 107, 108,
0, 0, 0, 0, 0, 109, 0, 0, 110, 0,
0, 0, 0, 111, 112, 113, 0, 0, 0, 114,
115, 0, 0, 0, 116, 117, 0, 0, 0, 118,
0, 119, 0, 0, 0, 0, 120, 0, 0, 0,
121, 0, 0, 545, 122, 123, 5, 0, 7, 140,
0, 0, 0, 0, 9, 10, 11, 0, 0, 0,
0, 545, 0, 0, 5, 0, 7, 140, 0, 0,
13, 0, 9, 10, 11, 262, 263, 264, 265, 266,
267, 268, 269, 270, 271, 272, 0, 16, 13, 0,
0, 0, 0, 0, 0, 4, 0, -128, 5, 6,
7, 8, 0, 0, 0, 16, 9, 10, 11, 22,
-440, -440, -440, 0, 24, 0, 0, 0, 0, 546,
-440, 12, 13, 0, 14, 15, 0, 22, -439, -439,
-439, 0, 24, 0, 0, 0, 0, 546, -439, 16,
0, 0, 17, 18, -128, 0, 0, 0, 0, 0,
0, 0, 0, -128, 0, 19, 20, 21, 0, 0,
0, 22, 0, 0, 0, 23, 24, 25, 26, 0,
4, 27, -128, 5, 6, 7, 8, 0, 0, 0,
0, 9, 10, 11, 263, 264, 265, 266, 267, 268,
269, 270, 271, 272, 0, 0, 0, 13, 4, 14,
-128, 5, 6, 7, 8, 0, 0, 0, 0, 9,
10, 11, 0, 0, 16, 0, 0, 531, 532, -128,
0, 0, 0, 0, 0, 13, 0, 14, -128, 0,
0, 0, 0, 0, 0, 0, 22, 0, 0, 0,
0, 24, 16, 0, 0, 0, 27, -128, 441, 0,
442, 5, 6, 7, 8, 0, -128, 443, 0, 9,
10, 11, 0, 0, 22, 0, 0, 441, 0, 24,
5, 6, 7, 8, 27, 13, 443, 14, 9, 10,
11, 5, 0, 7, 290, 0, 0, 0, 0, 9,
10, 11, 16, 0, 13, 0, 14, 0, 0, 0,
5, 6, 7, 8, 0, 13, 0, 0, 9, 10,
11, 16, 0, 0, 22, 0, 0, 0, 0, 24,
0, 0, 16, -385, 13, 0, 14, 0, 0, 0,
0, 0, 0, 22, 0, 0, 0, 0, 24, 0,
0, 16, -385, 0, 22, 0, 0, 0, 0, 24,
5, 6, 7, 8, -270, -270, 0, 0, 9, 10,
11, 0, 0, 22, 0, 0, 0, 0, 24, 0,
0, 0, 0, 598, 13, 0, 14, 0, 0, 0,
0, 0, 0, 0, 149, 150, 0, 151, 152, 0,
0, 16, 153, 154, 155, 156, 157, 158, 159, 160,
161, 162, 163, 164, 165, 166, 167, 168, 169, 170,
171, 0, 0, 22, 0, 14, 0, 0, 24, 172,
256, 257, 258, 835, 259, 260, 261, 262, 263, 264,
265, 266, 267, 268, 269, 270, 271, 272, 0, 0,
173, 0, 0, 0, 0, 0, 149, 150, 0, 151,
152, 0, 0, 174, 153, 154, 155, 156, 157, 158,
159, 160, 161, 162, 163, 164, 165, 166, 167, 168,
169, 170, 171, 0, 149, 150, 0, 151, 152, 0,
0, 374, 153, 154, 155, 156, 157, 158, 159, 160,
161, 162, 163, 164, 165, 166, 167, 168, 169, 170,
171, 0, 0, 0, 0, 0, 0, 0, 0, 172,
149, 150, 0, 151, 152, 174, 0, 0, 153, 154,
155, 156, 157, 158, 159, 160, 161, 162, 163, 164,
165, 166, 167, 168, 169, 170, 171, 0, 0, 5,
0, 7, 290, 174, 0, 583, 0, 9, 10, 11,
5, 6, 7, 8, 0, 0, 443, 0, 9, 10,
11, 0, 0, 13, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 13, 0, 14, 0, 0, 174,
16, 0, 0, 0, 0, 283, 0, 0, 0, 0,
0, 16, 0, 0, 284, 285, 0, 0, 0, 0,
0, 0, 22, 0, 0, 0, 0, 24, 0, 0,
0, 0, 0, 22, 5, 6, 7, 8, 24, 0,
631, 0, 9, 10, 11, 5, 6, 7, 8, 0,
0, 0, 0, 9, 10, 11, 0, 0, 13, 0,
14, 0, 0, 0, 5, 6, 7, 8, 0, 13,
0, 14, 9, 10, 11, 16, 0, 0, 0, 0,
0, 0, 5, 0, 7, 140, 16, 0, 13, 0,
9, 10, 11, 0, 0, 0, 0, 22, 0, 0,
0, 5, 24, 7, 290, 16, 13, 0, 22, 9,
10, 11, 0, 24, 0, 0, 0, 0, 0, 0,
0, 0, 0, 16, 0, 13, 0, 22, 0, 0,
0, 0, 24, 0, 0, 0, 0, 0, 0, 0,
0, 0, 16, 0, 0, 22, 855, 0, 0, 0,
24, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 22, 0, 0, 0, 0, 24,
0, 256, 257, 258, 856, 259, 260, 261, 262, 263,
264, 265, 266, 267, 268, 269, 270, 271, 272, 256,
257, 258, 894, 259, 260, 261, 262, 263, 264, 265,
266, 267, 268, 269, 270, 271, 272, 256, 257, 258,
0, 259, 260, 261, 262, 263, 264, 265, 266, 267,
268, 269, 270, 271, 272
};
static const short yycheck[] = { 9,
10, 11, 209, 24, 2, 3, 16, 60, 61, 19,
20, 288, 208, 23, 83, 25, 26, 2, 3, 2,
3, 33, 2, 3, 91, 22, 85, 24, 177, 36,
326, 318, 345, 31, 203, 33, 98, 243, 351, 347,
66, 39, 98, 33, 31, 277, 67, 333, 32, 33,
71, 411, 107, 108, 39, 177, 39, 284, 113, 39,
636, 477, 142, 553, 74, 145, 434, 432, 204, 124,
67, 61, 1, 80, 71, 194, 58, 200, 736, 77,
135, 88, 1, 818, 94, 83, 1, 85, 116, 38,
77, 10, 9, 91, 1, 3, 3, 4, 85, 109,
3, 4, 27, 1, 76, 45, 38, 521, 98, 81,
715, 525, 59, 60, 283, 98, 38, 324, 38, 0,
3, 4, 30, 45, 246, 45, 116, 76, 733, 76,
0, 3, 4, 868, 59, 60, 146, 423, 148, 59,
417, 81, 50, 801, 76, 173, 199, 214, 77, 3,
4, 59, 60, 888, 568, 145, 891, 571, 893, 76,
67, 59, 172, 82, 67, 72, 901, 82, 59, 72,
38, 233, 182, 183, 539, 185, 186, 233, 38, 82,
59, 408, 38, 173, 67, 45, 844, 59, 420, 72,
59, 59, 245, 191, 3, 67, 194, 195, 933, 82,
72, 208, 45, 339, 191, 59, 204, 343, 195, 699,
700, 334, 219, 67, 82, 225, 214, 204, 72, 247,
76, 288, 345, 342, 252, 278, 254, 77, 351, 77,
39, 81, 285, 892, 520, 358, 3, 360, 248, 604,
527, 30, 232, 233, 660, 613, 230, 30, 232, 38,
233, 76, 234, 82, 236, 377, 81, 247, 834, 3,
4, 920, 252, 30, 254, 275, 276, 30, 3, 4,
630, 3, 4, 301, 65, 7, 1, 59, 60, 4,
5, 6, 7, 50, 82, 10, 76, 12, 13, 14,
311, 81, 59, 579, 76, 348, 59, 60, 30, 309,
59, 60, 82, 28, 3, 4, 5, 6, 7, 48,
49, 301, 59, 729, 311, 370, 50, 76, 50, 606,
45, 59, 812, 67, 63, 59, 60, 59, 72, 77,
328, 338, 67, 81, 387, 77, 59, 72, 82, 81,
72, 339, 67, 353, 342, 343, 27, 72, 76, 30,
417, 583, 339, 81, 560, 36, 343, 82, 27, 30,
592, 30, 415, 640, 486, 514, 78, 36, 67, 655,
3, 4, 658, 72, 1, 78, 438, 4, 76, 6,
7, 59, 438, 81, 59, 12, 13, 14, 59, 60,
59, 60, 514, 701, 77, 622, 77, 30, 81, 427,
81, 28, 689, 77, 31, 38, 76, 81, 77, 419,
431, 9, 81, 411, 68, 69, 70, 50, 45, 68,
69, 70, 227, 839, 78, 423, 59, 623, 426, 78,
235, 3, 4, 445, 431, 712, 434, 427, 423, 72,
67, 81, 674, 423, 75, 72, 458, 445, 438, 434,
434, 574, 621, 77, 434, 445, 579, 81, 627, 77,
444, 445, 7, 81, 586, 77, 3, 4, 458, 81,
251, 76, 699, 553, 554, 256, 257, 76, 50, 706,
261, 262, 263, 264, 265, 266, 267, 268, 269, 270,
271, 272, 77, 30, 38, 67, 81, 68, 69, 70,
72, 5, 512, 7, 516, 50, 575, 78, 77, 68,
69, 70, 81, 50, 59, 60, 77, 804, 516, 78,
81, 519, 59, 60, 536, 731, 516, 50, 51, 52,
82, 515, 59, 656, 519, 658, 534, 77, 536, 519,
36, 346, 3, 4, 77, 78, 536, 534, 617, 618,
81, 535, 536, 612, 616, 553, 554, 67, 548, 557,
616, 767, 77, 547, 548, 76, 553, 554, 578, 30,
883, 352, 885, 640, 76, 565, 82, 575, 76, 638,
564, 565, 608, 609, 59, 60, 755, 59, 60, 50,
3, 4, 602, 77, 7, 38, 3, 59, 59, 597,
7, 77, 78, 3, 4, 59, 60, 7, 389, 390,
597, 72, 76, 611, 612, 613, 623, 30, 77, 617,
618, 77, 78, 30, 622, 612, 616, 10, 613, 613,
30, 927, 630, 613, 76, 622, 63, 50, 636, 935,
638, 59, 60, 50, 3, 712, 59, 60, 7, 702,
50, 638, 59, 60, 82, 665, 863, 128, 129, 59,
76, 27, 9, 869, 83, 77, 36, 472, 78, 78,
76, 30, 76, 78, 479, 480, 78, 38, 731, 3,
4, 76, 76, 1, 753, 76, 4, 5, 6, 7,
76, 50, 76, 38, 12, 13, 14, 76, 83, 76,
59, 699, 700, 83, 910, 911, 30, 76, 706, 82,
28, 721, 699, 700, 767, 496, 6, 7, 76, 706,
63, 731, 12, 13, 14, 778, 50, 45, 63, 4,
5, 6, 7, 731, 76, 59, 36, 12, 13, 14,
78, 81, 83, 798, 32, 38, 731, 745, 731, 67,
83, 731, 77, 28, 72, 753, 76, 767, 745, 81,
883, 782, 885, 816, 82, 834, 819, 820, 573, 779,
45, 5, 6, 7, 827, 76, 788, 836, 12, 13,
14, 77, 3, 77, 781, 782, 567, 38, 83, 842,
788, 63, 67, 78, 78, 38, 849, 72, 788, 38,
798, 582, 77, 787, 788, 54, 55, 860, 57, 58,
59, 60, 78, 798, 812, 798, 869, 81, 798, 624,
625, 626, 63, 628, 629, 812, 38, 76, 45, 46,
47, 48, 49, 50, 51, 52, 834, 81, 836, 892,
1, 78, 3, 36, 63, 83, 651, 8, 9, 836,
11, 1, 78, 38, 4, 5, 6, 7, 59, 869,
59, 914, 12, 13, 14, 646, 38, 920, 29, 650,
31, 59, 33, 34, 77, 680, 681, 682, 28, 40,
30, 77, 43, 5, 6, 7, 38, 48, 49, 50,
12, 13, 14, 54, 55, 45, 7, 678, 59, 60,
77, 77, 16, 64, 78, 66, 59, 77, 30, 77,
71, 59, 717, 694, 75, 17, 63, 67, 79, 80,
76, 82, 72, 44, 45, 46, 47, 48, 49, 50,
51, 52, 82, 1, 715, 3, 4, 718, 6, 7,
8, 9, 77, 11, 12, 13, 14, 48, 49, 50,
51, 52, 733, 76, 9, 736, 59, 77, 76, 764,
28, 29, 77, 31, 76, 33, 34, 77, 77, 0,
77, 752, 40, 81, 0, 43, 76, 45, 76, 420,
48, 49, 50, 77, 77, 819, 54, 55, 334, 656,
798, 59, 60, 774, 639, 87, 64, 419, 66, 67,
291, 355, 646, 71, 72, 233, 574, 75, 360, 225,
656, 79, 80, 580, 82, 658, 353, 869, 869, 915,
801, 414, 1, 917, 3, 4, 5, 6, 7, 8,
9, 557, 11, 12, 13, 14, 15, 426, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
29, 30, 31, 25, 33, 34, 544, 753, 426, 750,
618, 40, 310, 844, 43, 745, 45, 537, 519, 48,
49, 50, 422, 422, 855, 54, 55, 514, 674, 586,
59, 60, -1, -1, -1, 64, -1, 66, 67, -1,
377, -1, 71, 72, -1, -1, 75, -1, 77, 78,
79, 80, 1, 82, 3, 4, 5, 6, 7, 8,
9, -1, 11, 12, 13, 14, 15, -1, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
29, 30, 31, -1, 33, 34, -1, -1, -1, -1,
-1, 40, -1, -1, 43, -1, 45, -1, -1, 48,
49, 50, -1, -1, -1, 54, 55, -1, -1, -1,
59, 60, -1, -1, -1, 64, -1, 66, 67, -1,
-1, -1, 71, 72, -1, -1, 75, -1, 77, -1,
79, 80, 1, 82, 3, 4, -1, -1, -1, 8,
9, -1, 11, -1, -1, -1, 15, -1, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 27, -1,
29, -1, 31, -1, 33, 34, -1, -1, -1, -1,
-1, 40, 54, 55, 43, 57, 58, 59, 60, 48,
49, 50, -1, -1, -1, 54, 55, -1, -1, -1,
59, 60, -1, -1, -1, 64, -1, 66, 67, -1,
-1, -1, 71, 72, -1, -1, 75, -1, 77, 78,
79, 80, 1, 82, 3, 4, -1, -1, -1, 8,
9, -1, 11, -1, -1, -1, 15, -1, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 27, -1,
29, -1, 31, -1, 33, 34, -1, -1, -1, -1,
-1, 40, -1, -1, 43, -1, -1, -1, -1, 48,
49, 50, -1, -1, -1, 54, 55, -1, -1, -1,
59, 60, -1, -1, -1, 64, -1, 66, 67, -1,
-1, -1, 71, 72, -1, -1, 75, -1, 77, -1,
79, 80, 1, 82, 3, 4, -1, -1, -1, 8,
9, -1, 11, -1, -1, -1, 15, -1, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 27, -1,
29, -1, 31, -1, 33, 34, -1, -1, -1, 3,
4, 40, -1, -1, 43, -1, -1, -1, -1, 48,
49, 50, -1, -1, -1, 54, 55, -1, -1, -1,
59, 60, -1, -1, -1, 64, 30, 66, 67, -1,
-1, -1, 71, 72, 38, -1, 75, -1, 77, -1,
79, 80, 1, 82, 3, 4, 50, -1, -1, 8,
9, -1, 11, -1, -1, 59, 41, 42, 43, 44,
45, 46, 47, 48, 49, 50, 51, 52, 72, -1,
29, -1, 31, -1, 33, 34, -1, -1, -1, -1,
-1, 40, -1, -1, 43, -1, -1, -1, -1, 48,
49, 50, -1, -1, -1, 54, 55, -1, -1, 58,
59, 60, -1, -1, -1, 64, -1, 66, 67, -1,
-1, -1, 71, 72, -1, -1, 75, -1, -1, 78,
79, 80, 1, 82, 3, 4, -1, -1, -1, 8,
9, 37, 11, 39, 40, 41, 42, 43, 44, 45,
46, 47, 48, 49, 50, 51, 52, -1, -1, -1,
29, -1, 31, -1, 33, 34, -1, -1, -1, -1,
-1, 40, -1, -1, 43, -1, -1, -1, -1, 48,
49, 50, -1, -1, -1, 54, 55, -1, -1, 58,
59, 60, -1, -1, -1, 64, -1, 66, 67, -1,
-1, -1, 71, 72, -1, -1, 75, -1, -1, 78,
79, 80, 1, 82, 3, 4, -1, -1, -1, 8,
9, -1, 11, 1, -1, -1, 4, -1, 6, 7,
-1, -1, -1, -1, 12, 13, 14, -1, -1, -1,
29, -1, 31, -1, 33, 34, -1, -1, -1, -1,
28, 40, -1, 31, 43, -1, -1, -1, -1, 48,
49, 50, -1, -1, -1, 54, 55, 45, -1, 58,
59, 60, -1, -1, -1, 64, -1, 66, 67, -1,
-1, -1, 71, 72, -1, -1, 75, -1, -1, 67,
79, 80, 1, 82, 72, 4, 5, 6, 7, 77,
78, -1, -1, 12, 13, 14, -1, -1, -1, -1,
-1, 1, -1, -1, 4, 5, 6, 7, 27, 28,
-1, 30, 12, 13, 14, -1, -1, 36, 46, 47,
48, 49, 50, 51, 52, -1, 45, 27, 28, -1,
30, -1, -1, -1, -1, -1, 36, -1, -1, -1,
59, 60, -1, -1, -1, 45, -1, -1, 67, -1,
-1, -1, -1, 72, -1, -1, -1, -1, 77, 59,
60, -1, 81, 82, -1, -1, -1, 67, -1, -1,
-1, -1, 72, -1, -1, -1, -1, 77, -1, -1,
1, 81, 82, 4, 5, 6, 7, -1, -1, -1,
-1, 12, 13, 14, -1, -1, -1, -1, -1, 1,
-1, -1, 4, 5, 6, 7, 27, 28, -1, 30,
12, 13, 14, -1, -1, 36, -1, -1, -1, -1,
-1, -1, -1, -1, 45, -1, 28, 3, 30, -1,
-1, -1, 8, 9, -1, 11, -1, -1, -1, -1,
-1, -1, -1, 45, -1, -1, 67, -1, -1, -1,
-1, 72, -1, 29, -1, 31, 77, 33, 34, -1,
81, 82, -1, -1, 40, 67, -1, 43, -1, -1,
72, -1, 48, 49, 50, -1, -1, -1, 54, 55,
82, -1, -1, 59, 60, -1, 3, -1, 64, -1,
66, 8, 9, -1, 11, 71, -1, -1, -1, 75,
-1, -1, -1, 79, 80, -1, -1, 83, -1, -1,
-1, -1, 29, -1, 31, -1, 33, 34, -1, -1,
-1, -1, -1, 40, -1, -1, 43, -1, -1, -1,
-1, 48, 49, 50, -1, -1, -1, 54, 55, -1,
-1, -1, 59, 60, -1, 3, -1, 64, -1, 66,
8, 9, -1, 11, 71, -1, -1, -1, 75, -1,
-1, -1, 79, 80, -1, -1, 83, -1, -1, -1,
-1, 29, -1, 31, -1, 33, 34, -1, -1, -1,
-1, -1, 40, -1, -1, 43, -1, -1, -1, -1,
48, 49, 50, -1, -1, -1, 54, 55, -1, -1,
-1, 59, 60, -1, 3, -1, 64, -1, 66, 8,
9, -1, 11, 71, -1, -1, -1, 75, -1, -1,
-1, 79, 80, -1, -1, 83, -1, -1, -1, -1,
29, -1, 31, -1, 33, 34, -1, -1, -1, -1,
-1, 40, -1, -1, 43, -1, -1, -1, -1, 48,
49, 50, -1, -1, -1, 54, 55, -1, -1, -1,
59, 60, -1, 3, -1, 64, -1, 66, 8, 9,
-1, 11, 71, -1, -1, -1, 75, -1, -1, -1,
79, 80, -1, -1, 83, -1, -1, -1, -1, 29,
-1, 31, -1, 33, 34, -1, -1, -1, -1, -1,
40, -1, -1, 43, -1, -1, -1, -1, 48, 49,
50, -1, -1, -1, 54, 55, -1, -1, -1, 59,
60, -1, -1, -1, 64, -1, 66, -1, -1, -1,
-1, 71, -1, -1, -1, 75, -1, -1, -1, 79,
80, -1, -1, 83, 3, 4, 5, 6, 7, 8,
9, -1, 11, 12, 13, 14, 15, -1, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
29, 30, 31, -1, 33, 34, -1, -1, -1, -1,
-1, 40, -1, -1, 43, -1, 45, -1, -1, 48,
49, 50, -1, -1, -1, 54, 55, -1, -1, -1,
59, 60, -1, -1, -1, 64, -1, 66, 67, -1,
-1, -1, 71, 72, -1, -1, 75, -1, 77, -1,
79, 80, -1, 82, 3, 4, -1, -1, -1, 8,
9, -1, 11, -1, -1, -1, 15, -1, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 27, -1,
29, -1, 31, -1, 33, 34, -1, -1, -1, -1,
-1, 40, -1, -1, 43, -1, -1, -1, -1, 48,
49, 50, -1, -1, -1, 54, 55, -1, 3, -1,
59, 60, -1, 8, 9, 64, 11, 66, 67, -1,
-1, -1, 71, 72, -1, -1, 75, -1, 77, -1,
79, 80, -1, 82, 29, -1, 31, -1, 33, 34,
-1, -1, -1, -1, -1, 40, -1, -1, 43, -1,
-1, -1, -1, 48, 49, 50, -1, -1, -1, 54,
55, -1, -1, -1, 59, 60, -1, -1, -1, 64,
-1, 66, -1, -1, -1, -1, 71, -1, -1, -1,
75, -1, -1, -1, 79, 80, -1, 82, 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, 3, 4, 5, 6,
7, 8, 9, 38, 11, 12, 13, 14, 4, 5,
6, 7, -1, -1, -1, -1, 12, 13, 14, -1,
-1, 28, 29, 30, 31, -1, 33, 34, -1, -1,
-1, -1, 28, 40, 30, -1, 43, 72, 45, -1,
-1, 48, 49, 50, -1, -1, 81, 54, 55, 45,
-1, -1, 59, 60, -1, -1, -1, 64, -1, 66,
67, -1, -1, -1, 71, 72, -1, -1, 75, -1,
-1, 67, 79, 80, 3, 4, 72, 6, 7, 8,
9, 77, 11, 12, 13, 14, 40, 41, 42, 43,
44, 45, 46, 47, 48, 49, 50, 51, 52, 28,
29, -1, 31, -1, 33, 34, -1, -1, -1, -1,
-1, 40, -1, -1, 43, -1, 45, -1, -1, 48,
49, 50, -1, -1, -1, 54, 55, -1, 3, -1,
59, 60, -1, 8, 9, 64, 11, 66, 67, -1,
-1, -1, 71, 72, -1, -1, 75, -1, -1, -1,
79, 80, -1, -1, 29, -1, 31, -1, 33, 34,
-1, -1, -1, -1, -1, 40, -1, -1, 43, -1,
-1, -1, -1, 48, 49, 50, -1, -1, -1, 54,
55, -1, 3, -1, 59, 60, -1, 8, 9, 64,
11, 66, 67, -1, -1, -1, 71, -1, -1, -1,
75, -1, -1, -1, 79, 80, -1, -1, 29, -1,
31, -1, 33, 34, -1, -1, -1, -1, -1, 40,
-1, -1, 43, -1, -1, -1, -1, 48, 49, 50,
-1, -1, -1, 54, 55, -1, 3, -1, 59, 60,
-1, 8, 9, 64, 11, 66, -1, -1, -1, -1,
71, -1, -1, -1, 75, -1, 77, -1, 79, 80,
-1, -1, 29, -1, 31, -1, 33, 34, -1, -1,
-1, -1, -1, 40, -1, -1, 43, -1, -1, -1,
-1, 48, 49, 50, -1, -1, -1, 54, 55, -1,
3, -1, 59, 60, -1, 8, 9, 64, 11, 66,
-1, -1, -1, -1, 71, -1, -1, -1, 75, -1,
-1, -1, 79, 80, -1, -1, 29, -1, 31, -1,
33, 34, -1, -1, -1, -1, -1, 40, -1, -1,
43, -1, -1, -1, -1, 48, 49, 50, -1, -1,
-1, 54, 55, -1, 3, -1, 59, 60, -1, 8,
9, 64, 11, 66, -1, -1, -1, -1, 71, -1,
-1, -1, 75, -1, -1, -1, 79, 80, -1, -1,
29, -1, 31, -1, 33, 34, -1, -1, -1, -1,
-1, 40, -1, -1, 43, -1, -1, -1, -1, 48,
49, 50, -1, -1, -1, 54, 55, -1, 3, -1,
59, 60, -1, 8, 9, 64, 11, 66, -1, -1,
-1, -1, 71, -1, -1, -1, 75, -1, -1, -1,
79, 80, -1, -1, 29, -1, 31, -1, 33, 34,
-1, -1, -1, -1, -1, 40, -1, -1, 43, -1,
-1, -1, -1, 48, 49, 50, -1, -1, -1, 54,
55, -1, -1, -1, 59, 60, -1, -1, -1, 64,
-1, 66, -1, -1, -1, -1, 71, -1, -1, -1,
75, -1, -1, 1, 79, 80, 4, -1, 6, 7,
-1, -1, -1, -1, 12, 13, 14, -1, -1, -1,
-1, 1, -1, -1, 4, -1, 6, 7, -1, -1,
28, -1, 12, 13, 14, 42, 43, 44, 45, 46,
47, 48, 49, 50, 51, 52, -1, 45, 28, -1,
-1, -1, -1, -1, -1, 1, -1, 3, 4, 5,
6, 7, -1, -1, -1, 45, 12, 13, 14, 67,
68, 69, 70, -1, 72, -1, -1, -1, -1, 77,
78, 27, 28, -1, 30, 31, -1, 67, 68, 69,
70, -1, 72, -1, -1, -1, -1, 77, 78, 45,
-1, -1, 48, 49, 50, -1, -1, -1, -1, -1,
-1, -1, -1, 59, -1, 61, 62, 63, -1, -1,
-1, 67, -1, -1, -1, 71, 72, 73, 74, -1,
1, 77, 3, 4, 5, 6, 7, -1, -1, -1,
-1, 12, 13, 14, 43, 44, 45, 46, 47, 48,
49, 50, 51, 52, -1, -1, -1, 28, 1, 30,
3, 4, 5, 6, 7, -1, -1, -1, -1, 12,
13, 14, -1, -1, 45, -1, -1, 48, 49, 50,
-1, -1, -1, -1, -1, 28, -1, 30, 59, -1,
-1, -1, -1, -1, -1, -1, 67, -1, -1, -1,
-1, 72, 45, -1, -1, -1, 77, 50, 1, -1,
3, 4, 5, 6, 7, -1, 59, 10, -1, 12,
13, 14, -1, -1, 67, -1, -1, 1, -1, 72,
4, 5, 6, 7, 77, 28, 10, 30, 12, 13,
14, 4, -1, 6, 7, -1, -1, -1, -1, 12,
13, 14, 45, -1, 28, -1, 30, -1, -1, -1,
4, 5, 6, 7, -1, 28, -1, -1, 12, 13,
14, 45, -1, -1, 67, -1, -1, -1, -1, 72,
-1, -1, 45, 76, 28, -1, 30, -1, -1, -1,
-1, -1, -1, 67, -1, -1, -1, -1, 72, -1,
-1, 45, 76, -1, 67, -1, -1, -1, -1, 72,
4, 5, 6, 7, 77, 78, -1, -1, 12, 13,
14, -1, -1, 67, -1, -1, -1, -1, 72, -1,
-1, -1, -1, 77, 28, -1, 30, -1, -1, -1,
-1, -1, -1, -1, 3, 4, -1, 6, 7, -1,
-1, 45, 11, 12, 13, 14, 15, 16, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
29, -1, -1, 67, -1, 30, -1, -1, 72, 38,
35, 36, 37, 77, 39, 40, 41, 42, 43, 44,
45, 46, 47, 48, 49, 50, 51, 52, -1, -1,
59, -1, -1, -1, -1, -1, 3, 4, -1, 6,
7, -1, -1, 72, 11, 12, 13, 14, 15, 16,
17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
27, 28, 29, -1, 3, 4, -1, 6, 7, -1,
-1, 38, 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, -1, 38,
3, 4, -1, 6, 7, 72, -1, -1, 11, 12,
13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
23, 24, 25, 26, 27, 28, 29, -1, -1, 4,
-1, 6, 7, 72, -1, 38, -1, 12, 13, 14,
4, 5, 6, 7, -1, -1, 10, -1, 12, 13,
14, -1, -1, 28, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 28, -1, 30, -1, -1, 72,
45, -1, -1, -1, -1, 50, -1, -1, -1, -1,
-1, 45, -1, -1, 59, 60, -1, -1, -1, -1,
-1, -1, 67, -1, -1, -1, -1, 72, -1, -1,
-1, -1, -1, 67, 4, 5, 6, 7, 72, -1,
10, -1, 12, 13, 14, 4, 5, 6, 7, -1,
-1, -1, -1, 12, 13, 14, -1, -1, 28, -1,
30, -1, -1, -1, 4, 5, 6, 7, -1, 28,
-1, 30, 12, 13, 14, 45, -1, -1, -1, -1,
-1, -1, 4, -1, 6, 7, 45, -1, 28, -1,
12, 13, 14, -1, -1, -1, -1, 67, -1, -1,
-1, 4, 72, 6, 7, 45, 28, -1, 67, 12,
13, 14, -1, 72, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 45, -1, 28, -1, 67, -1, -1,
-1, -1, 72, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 45, -1, -1, 67, 10, -1, -1, -1,
72, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 67, -1, -1, -1, -1, 72,
-1, 35, 36, 37, 38, 39, 40, 41, 42, 43,
44, 45, 46, 47, 48, 49, 50, 51, 52, 35,
36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
46, 47, 48, 49, 50, 51, 52, 35, 36, 37,
-1, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52
};
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
#line 3 "/usr/local/share/bison.simple"
/* Skeleton output parser for bison,
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction.
This special exception was added by the Free Software Foundation
in version 1.24 of Bison. */
#ifndef alloca
#ifdef __GNUC__
#define alloca __builtin_alloca
#else /* not GNU C. */
#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi)
#include <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
#ifdef YYLEX_PARAM
#define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM)
#else
#define YYLEX yylex(&yylval, &yylloc)
#endif
#else /* not YYLSP_NEEDED */
#ifdef YYLEX_PARAM
#define YYLEX yylex(&yylval, YYLEX_PARAM)
#else
#define YYLEX yylex(&yylval)
#endif
#endif /* not YYLSP_NEEDED */
#endif
/* If nonreentrant, generate the variables here */
#ifndef YYPURE
int yychar; /* the lookahead symbol */
YYSTYPE yylval; /* the semantic value of the */
/* lookahead symbol */
#ifdef YYLSP_NEEDED
YYLTYPE yylloc; /* location data for the lookahead */
/* symbol */
#endif
int yynerrs; /* number of parse errors so far */
#endif /* not YYPURE */
#if YYDEBUG != 0
int yydebug; /* nonzero means print parse trace */
/* Since this is uninitialized, it does not stop multiple parsers
from coexisting. */
#endif
/* YYINITDEPTH indicates the initial size of the parser's stacks */
#ifndef YYINITDEPTH
#define YYINITDEPTH 200
#endif
/* YYMAXDEPTH is the maximum size the stacks can grow to
(effective only if the built-in stack extension method is used). */
#if YYMAXDEPTH == 0
#undef YYMAXDEPTH
#endif
#ifndef YYMAXDEPTH
#define YYMAXDEPTH 10000
#endif
/* Prevent warning if -Wstrict-prototypes. */
#ifdef __GNUC__
int yyparse (void);
#endif
#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
#define __yy_memcpy(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_memcpy (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_memcpy (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 192 "/usr/local/share/bison.simple"
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
into yyparse. The argument should have type void *.
It should actually point to an object.
Grammar actions can access the variable by casting it
to the proper pointer type. */
#ifdef YYPARSE_PARAM
#define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
#else
#define YYPARSE_PARAM
#define YYPARSE_PARAM_DECL
#endif
int
yyparse(YYPARSE_PARAM)
YYPARSE_PARAM_DECL
{
register int yystate;
register int yyn;
register short *yyssp;
register YYSTYPE *yyvsp;
int yyerrstatus; /* number of tokens to shift before error messages enabled */
int yychar1 = 0; /* lookahead token as an internal (translated) token number */
short yyssa[YYINITDEPTH]; /* the state stack */
YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */
short *yyss = yyssa; /* refer to the stacks thru separate pointers */
YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */
#ifdef YYLSP_NEEDED
YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */
YYLTYPE *yyls = yylsa;
YYLTYPE *yylsp;
#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
#else
#define YYPOPSTACK (yyvsp--, yyssp--)
#endif
int yystacksize = YYINITDEPTH;
#ifdef YYPURE
int yychar;
YYSTYPE yylval;
int yynerrs;
#ifdef YYLSP_NEEDED
YYLTYPE yylloc;
#endif
#endif
YYSTYPE yyval; /* the variable used to return */
/* semantic values from the action */
/* routines */
int yylen;
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Starting parse\n");
#endif
yystate = 0;
yyerrstatus = 0;
yynerrs = 0;
yychar = YYEMPTY; /* Cause a token to be read. */
/* Initialize stack pointers.
Waste one element of value and location stack
so that they stay on the same level as the state stack.
The wasted elements are never initialized. */
yyssp = yyss - 1;
yyvsp = yyvs;
#ifdef YYLSP_NEEDED
yylsp = yyls;
#endif
/* Push a new state, which is found in yystate . */
/* In all cases, when you get here, the value and location stacks
have just been pushed. so pushing a state here evens the stacks. */
yynewstate:
*++yyssp = yystate;
if (yyssp >= yyss + yystacksize - 1)
{
/* Give user a chance to reallocate the stack */
/* Use copies of these so that the &'s don't force the real ones into memory. */
YYSTYPE *yyvs1 = yyvs;
short *yyss1 = yyss;
#ifdef YYLSP_NEEDED
YYLTYPE *yyls1 = yyls;
#endif
/* Get the current used size of the three stacks, in elements. */
int size = yyssp - yyss + 1;
#ifdef yyoverflow
/* Each stack pointer address is followed by the size of
the data in use in that stack, in bytes. */
#ifdef YYLSP_NEEDED
/* This used to be a conditional around just the two extra args,
but that might be undefined if yyoverflow is a macro. */
yyoverflow("parser stack overflow",
&yyss1, size * sizeof (*yyssp),
&yyvs1, size * sizeof (*yyvsp),
&yyls1, size * sizeof (*yylsp),
&yystacksize);
#else
yyoverflow("parser stack overflow",
&yyss1, size * sizeof (*yyssp),
&yyvs1, size * sizeof (*yyvsp),
&yystacksize);
#endif
yyss = yyss1; yyvs = yyvs1;
#ifdef YYLSP_NEEDED
yyls = yyls1;
#endif
#else /* no yyoverflow */
/* Extend the stack our own way. */
if (yystacksize >= YYMAXDEPTH)
{
yyerror("parser stack overflow");
return 2;
}
yystacksize *= 2;
if (yystacksize > YYMAXDEPTH)
yystacksize = YYMAXDEPTH;
yyss = (short *) alloca (yystacksize * sizeof (*yyssp));
__yy_memcpy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp));
yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp));
__yy_memcpy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp));
#ifdef YYLSP_NEEDED
yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp));
__yy_memcpy ((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 240 "objc-parse.y"
{ if (pedantic)
pedwarn ("ANSI C forbids an empty source file");
finish_file ();
;
break;}
case 2:
#line 245 "objc-parse.y"
{
/* In case there were missing closebraces,
get us back to the global binding level. */
while (! global_bindings_p ())
poplevel (0, 0, 0);
finish_file ();
;
break;}
case 3:
#line 259 "objc-parse.y"
{yyval.ttype = NULL_TREE; ;
break;}
case 5:
#line 260 "objc-parse.y"
{yyval.ttype = NULL_TREE; ;
break;}
case 10:
#line 268 "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 276 "objc-parse.y"
{ pedantic = yyvsp[-1].itype; ;
break;}
case 12:
#line 281 "objc-parse.y"
{ if (pedantic)
error ("ANSI C forbids data definition with no type or storage class");
else if (!flag_traditional)
warning ("data definition has no type or storage class");
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 13:
#line 291 "objc-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 14:
#line 296 "objc-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 15:
#line 301 "objc-parse.y"
{ pedwarn ("empty declaration"); ;
break;}
case 16:
#line 303 "objc-parse.y"
{ shadow_tag (yyvsp[-1].ttype); ;
break;}
case 19:
#line 307 "objc-parse.y"
{ if (pedantic)
pedwarn ("ANSI C does not allow extra `;' outside of a function"); ;
break;}
case 20:
#line 313 "objc-parse.y"
{ if (! start_function (current_declspecs, yyvsp[0].ttype,
prefix_attributes, NULL_TREE, 0))
YYERROR1;
reinit_parse_for_function (); ;
break;}
case 21:
#line 318 "objc-parse.y"
{ store_parm_decls (); ;
break;}
case 22:
#line 320 "objc-parse.y"
{ finish_function (0);
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-5].itype); ;
break;}
case 23:
#line 326 "objc-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 24:
#line 331 "objc-parse.y"
{ if (! start_function (current_declspecs, yyvsp[0].ttype,
prefix_attributes, NULL_TREE, 0))
YYERROR1;
reinit_parse_for_function (); ;
break;}
case 25:
#line 336 "objc-parse.y"
{ store_parm_decls (); ;
break;}
case 26:
#line 338 "objc-parse.y"
{ finish_function (0);
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-5].itype); ;
break;}
case 27:
#line 344 "objc-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 28:
#line 349 "objc-parse.y"
{ if (! start_function (NULL_TREE, yyvsp[0].ttype,
prefix_attributes, NULL_TREE, 0))
YYERROR1;
reinit_parse_for_function (); ;
break;}
case 29:
#line 354 "objc-parse.y"
{ store_parm_decls (); ;
break;}
case 30:
#line 356 "objc-parse.y"
{ finish_function (0);
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-5].itype); ;
break;}
case 31:
#line 362 "objc-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 36:
#line 376 "objc-parse.y"
{ yyval.code = ADDR_EXPR; ;
break;}
case 37:
#line 378 "objc-parse.y"
{ yyval.code = NEGATE_EXPR; ;
break;}
case 38:
#line 380 "objc-parse.y"
{ yyval.code = CONVERT_EXPR; ;
break;}
case 39:
#line 382 "objc-parse.y"
{ yyval.code = PREINCREMENT_EXPR; ;
break;}
case 40:
#line 384 "objc-parse.y"
{ yyval.code = PREDECREMENT_EXPR; ;
break;}
case 41:
#line 386 "objc-parse.y"
{ yyval.code = BIT_NOT_EXPR; ;
break;}
case 42:
#line 388 "objc-parse.y"
{ yyval.code = TRUTH_NOT_EXPR; ;
break;}
case 43:
#line 392 "objc-parse.y"
{ yyval.ttype = build_compound_expr (yyvsp[0].ttype); ;
break;}
case 44:
#line 397 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 46:
#line 403 "objc-parse.y"
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
break;}
case 47:
#line 405 "objc-parse.y"
{ chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
break;}
case 49:
#line 411 "objc-parse.y"
{ yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ;
break;}
case 50:
#line 414 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
pedantic = yyvsp[-1].itype; ;
break;}
case 51:
#line 417 "objc-parse.y"
{ yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0);
overflow_warning (yyval.ttype); ;
break;}
case 52:
#line 421 "objc-parse.y"
{ tree label = lookup_label (yyvsp[0].ttype);
if (pedantic)
pedwarn ("ANSI C forbids `&&'");
if (label == 0)
yyval.ttype = null_pointer_node;
else
{
TREE_USED (label) = 1;
yyval.ttype = build1 (ADDR_EXPR, ptr_type_node, label);
TREE_CONSTANT (yyval.ttype) = 1;
}
;
break;}
case 53:
#line 449 "objc-parse.y"
{ skip_evaluation--;
if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF
&& DECL_C_BIT_FIELD (TREE_OPERAND (yyvsp[0].ttype, 1)))
error ("`sizeof' applied to a bit-field");
yyval.ttype = c_sizeof (TREE_TYPE (yyvsp[0].ttype)); ;
break;}
case 54:
#line 455 "objc-parse.y"
{ skip_evaluation--;
yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ;
break;}
case 55:
#line 458 "objc-parse.y"
{ skip_evaluation--;
yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ;
break;}
case 56:
#line 461 "objc-parse.y"
{ skip_evaluation--;
yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ;
break;}
case 57:
#line 464 "objc-parse.y"
{ yyval.ttype = build_unary_op (REALPART_EXPR, yyvsp[0].ttype, 0); ;
break;}
case 58:
#line 466 "objc-parse.y"
{ yyval.ttype = build_unary_op (IMAGPART_EXPR, yyvsp[0].ttype, 0); ;
break;}
case 59:
#line 470 "objc-parse.y"
{ skip_evaluation++; ;
break;}
case 60:
#line 474 "objc-parse.y"
{ skip_evaluation++; ;
break;}
case 62:
#line 480 "objc-parse.y"
{ tree type = groktypename (yyvsp[-2].ttype);
yyval.ttype = build_c_cast (type, yyvsp[0].ttype); ;
break;}
case 63:
#line 483 "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 64:
#line 487 "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 66:
#line 516 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 67:
#line 518 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 68:
#line 520 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 69:
#line 522 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 70:
#line 524 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 71:
#line 526 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 72:
#line 528 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 73:
#line 530 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 74:
#line 532 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 75:
#line 534 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 76:
#line 536 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 77:
#line 538 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 78:
#line 540 "objc-parse.y"
{ yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype));
skip_evaluation += yyvsp[-1].ttype == boolean_false_node; ;
break;}
case 79:
#line 543 "objc-parse.y"
{ skip_evaluation -= yyvsp[-3].ttype == boolean_false_node;
yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-3].ttype, yyvsp[0].ttype); ;
break;}
case 80:
#line 546 "objc-parse.y"
{ yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype));
skip_evaluation += yyvsp[-1].ttype == boolean_true_node; ;
break;}
case 81:
#line 549 "objc-parse.y"
{ skip_evaluation -= yyvsp[-3].ttype == boolean_true_node;
yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-3].ttype, yyvsp[0].ttype); ;
break;}
case 82:
#line 552 "objc-parse.y"
{ yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype));
skip_evaluation += yyvsp[-1].ttype == boolean_false_node; ;
break;}
case 83:
#line 555 "objc-parse.y"
{ skip_evaluation += ((yyvsp[-4].ttype == boolean_true_node)
- (yyvsp[-4].ttype == boolean_false_node)); ;
break;}
case 84:
#line 558 "objc-parse.y"
{ skip_evaluation -= yyvsp[-6].ttype == boolean_true_node;
yyval.ttype = build_conditional_expr (yyvsp[-6].ttype, yyvsp[-3].ttype, yyvsp[0].ttype); ;
break;}
case 85:
#line 561 "objc-parse.y"
{ if (pedantic)
pedwarn ("ANSI C forbids omitting the middle term of a ?: expression");
/* Make sure first operand is calculated only once. */
yyvsp[0].ttype = save_expr (yyvsp[-1].ttype);
yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[0].ttype));
skip_evaluation += yyvsp[-1].ttype == boolean_true_node; ;
break;}
case 86:
#line 568 "objc-parse.y"
{ skip_evaluation -= yyvsp[-4].ttype == boolean_true_node;
yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[0].ttype); ;
break;}
case 87:
#line 571 "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 88:
#line 574 "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 89:
#line 581 "objc-parse.y"
{
yyval.ttype = lastiddecl;
if (!yyval.ttype || yyval.ttype == error_mark_node)
{
if (yychar == YYEMPTY)
yychar = YYLEX;
if (yychar == '(')
{
tree decl;
if (objc_receiver_context
&& ! (objc_receiver_context
&& strcmp (IDENTIFIER_POINTER (yyvsp[0].ttype), "super")))
/* we have a message to super */
yyval.ttype = get_super_receiver ();
else if (objc_method_context
&& (decl = is_ivar (objc_ivar_chain, yyvsp[0].ttype)))
{
if (is_private (decl))
yyval.ttype = error_mark_node;
else
yyval.ttype = build_ivar_reference (yyvsp[0].ttype);
}
else
{
/* Ordinary implicit function declaration. */
yyval.ttype = implicitly_declare (yyvsp[0].ttype);
assemble_external (yyval.ttype);
TREE_USED (yyval.ttype) = 1;
}
}
else if (current_function_decl == 0)
{
error ("`%s' undeclared here (not in a function)",
IDENTIFIER_POINTER (yyvsp[0].ttype));
yyval.ttype = error_mark_node;
}
else
{
tree decl;
if (objc_receiver_context
&& ! strcmp (IDENTIFIER_POINTER (yyvsp[0].ttype), "super"))
/* we have a message to super */
yyval.ttype = get_super_receiver ();
else if (objc_method_context
&& (decl = is_ivar (objc_ivar_chain, yyvsp[0].ttype)))
{
if (is_private (decl))
yyval.ttype = error_mark_node;
else
yyval.ttype = build_ivar_reference (yyvsp[0].ttype);
}
else
{
if (IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) != error_mark_node
|| IDENTIFIER_ERROR_LOCUS (yyvsp[0].ttype) != current_function_decl)
{
error ("`%s' undeclared (first use 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 91:
#line 741 "objc-parse.y"
{ yyval.ttype = combine_strings (yyvsp[0].ttype); ;
break;}
case 92:
#line 743 "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 93:
#line 749 "objc-parse.y"
{ yyval.ttype = error_mark_node; ;
break;}
case 94:
#line 751 "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 95:
#line 765 "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 96:
#line 788 "objc-parse.y"
{ yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 97:
#line 790 "objc-parse.y"
{ yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 98:
#line 792 "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 99:
#line 804 "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 100:
#line 818 "objc-parse.y"
{ yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ;
break;}
case 101:
#line 820 "objc-parse.y"
{ yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ;
break;}
case 102:
#line 822 "objc-parse.y"
{ yyval.ttype = build_message_expr (yyvsp[0].ttype); ;
break;}
case 103:
#line 824 "objc-parse.y"
{ yyval.ttype = build_selector_expr (yyvsp[0].ttype); ;
break;}
case 104:
#line 826 "objc-parse.y"
{ yyval.ttype = build_protocol_expr (yyvsp[0].ttype); ;
break;}
case 105:
#line 828 "objc-parse.y"
{ yyval.ttype = build_encode_expr (yyvsp[0].ttype); ;
break;}
case 106:
#line 830 "objc-parse.y"
{ yyval.ttype = build_objc_string_object (yyvsp[0].ttype); ;
break;}
case 108:
#line 837 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 110:
#line 845 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 113:
#line 853 "objc-parse.y"
{ c_mark_varargs ();
if (pedantic)
pedwarn ("ANSI C does not permit use of `varargs.h'"); ;
break;}
case 114:
#line 863 "objc-parse.y"
{ ;
break;}
case 119:
#line 879 "objc-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 120:
#line 884 "objc-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 121:
#line 889 "objc-parse.y"
{ shadow_tag_warned (yyvsp[-1].ttype, 1);
pedwarn ("empty declaration"); ;
break;}
case 122:
#line 892 "objc-parse.y"
{ pedwarn ("empty declaration"); ;
break;}
case 123:
#line 901 "objc-parse.y"
{ ;
break;}
case 128:
#line 916 "objc-parse.y"
{ yyval.itype = suspend_momentary ();
pending_xref_error ();
declspec_stack = tree_cons (prefix_attributes,
current_declspecs,
declspec_stack);
split_specs_attrs (yyvsp[0].ttype,
&current_declspecs, &prefix_attributes); ;
break;}
case 129:
#line 927 "objc-parse.y"
{ prefix_attributes = chainon (prefix_attributes, yyvsp[0].ttype); ;
break;}
case 130:
#line 932 "objc-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 131:
#line 937 "objc-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 132:
#line 942 "objc-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-1].itype); ;
break;}
case 133:
#line 947 "objc-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-1].itype); ;
break;}
case 134:
#line 952 "objc-parse.y"
{ shadow_tag (yyvsp[-1].ttype); ;
break;}
case 135:
#line 954 "objc-parse.y"
{ pedwarn ("empty declaration"); ;
break;}
case 136:
#line 956 "objc-parse.y"
{ pedantic = yyvsp[-1].itype; ;
break;}
case 137:
#line 966 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 138:
#line 968 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
break;}
case 139:
#line 972 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 140:
#line 974 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 141:
#line 976 "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 142:
#line 981 "objc-parse.y"
{ yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); ;
break;}
case 143:
#line 986 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 144:
#line 988 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
break;}
case 145:
#line 993 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 146:
#line 995 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 147:
#line 997 "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 148:
#line 1010 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 149:
#line 1012 "objc-parse.y"
{ yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, NULL_TREE); ;
break;}
case 150:
#line 1014 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 151:
#line 1016 "objc-parse.y"
{ yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); ;
break;}
case 152:
#line 1021 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE);
TREE_STATIC (yyval.ttype) = 1; ;
break;}
case 153:
#line 1024 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 154:
#line 1026 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype);
TREE_STATIC (yyval.ttype) = 1; ;
break;}
case 155:
#line 1029 "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 156:
#line 1043 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 157:
#line 1045 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
break;}
case 158:
#line 1049 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 159:
#line 1051 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 162:
#line 1061 "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 163:
#line 1065 "objc-parse.y"
{ yyval.ttype = get_static_reference (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 164:
#line 1067 "objc-parse.y"
{ yyval.ttype = get_object_reference (yyvsp[0].ttype); ;
break;}
case 165:
#line 1072 "objc-parse.y"
{ yyval.ttype = get_object_reference (yyvsp[0].ttype); ;
break;}
case 166:
#line 1074 "objc-parse.y"
{ yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); ;
break;}
case 167:
#line 1076 "objc-parse.y"
{ yyval.ttype = groktypename (yyvsp[-1].ttype); ;
break;}
case 175:
#line 1098 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 176:
#line 1100 "objc-parse.y"
{ if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype);
yyval.ttype = yyvsp[-1].ttype;
;
break;}
case 177:
#line 1107 "objc-parse.y"
{ yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1,
yyvsp[-1].ttype, prefix_attributes);
start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ;
break;}
case 178:
#line 1112 "objc-parse.y"
{ finish_init ();
finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
break;}
case 179:
#line 1115 "objc-parse.y"
{ tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0,
yyvsp[0].ttype, prefix_attributes);
finish_decl (d, NULL_TREE, yyvsp[-1].ttype);
;
break;}
case 180:
#line 1123 "objc-parse.y"
{ yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1,
yyvsp[-1].ttype, prefix_attributes);
start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ;
break;}
case 181:
#line 1128 "objc-parse.y"
{ finish_init ();
decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype, prefix_attributes);
finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
break;}
case 182:
#line 1132 "objc-parse.y"
{ tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0,
yyvsp[0].ttype, prefix_attributes);
finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ;
break;}
case 183:
#line 1140 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 184:
#line 1142 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 185:
#line 1147 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 186:
#line 1149 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 187:
#line 1154 "objc-parse.y"
{ yyval.ttype = yyvsp[-2].ttype; ;
break;}
case 188:
#line 1159 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 189:
#line 1161 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 190:
#line 1166 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 191:
#line 1168 "objc-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[0].ttype, NULL_TREE); ;
break;}
case 192:
#line 1170 "objc-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, build_tree_list (NULL_TREE, yyvsp[-1].ttype)); ;
break;}
case 193:
#line 1172 "objc-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-5].ttype, tree_cons (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype)); ;
break;}
case 194:
#line 1174 "objc-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 200:
#line 1192 "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 201:
#line 1197 "objc-parse.y"
{ yyval.ttype = pop_init_level (0);
if (yyval.ttype == error_mark_node
&& ! (yychar == STRING || yychar == CONSTANT))
pop_momentary ();
else
pop_momentary_nofree (); ;
break;}
case 202:
#line 1205 "objc-parse.y"
{ yyval.ttype = error_mark_node; ;
break;}
case 203:
#line 1211 "objc-parse.y"
{ if (pedantic)
pedwarn ("ANSI C forbids empty initializer braces"); ;
break;}
case 207:
#line 1225 "objc-parse.y"
{ process_init_element (yyvsp[0].ttype); ;
break;}
case 208:
#line 1227 "objc-parse.y"
{ push_init_level (0); ;
break;}
case 209:
#line 1229 "objc-parse.y"
{ process_init_element (pop_init_level (0)); ;
break;}
case 211:
#line 1235 "objc-parse.y"
{ set_init_label (yyvsp[-1].ttype); ;
break;}
case 213:
#line 1238 "objc-parse.y"
{ set_init_label (yyvsp[-1].ttype); ;
break;}
case 215:
#line 1244 "objc-parse.y"
{ push_c_function_context ();
if (! start_function (current_declspecs, yyvsp[0].ttype,
prefix_attributes, NULL_TREE, 1))
{
pop_c_function_context ();
YYERROR1;
}
reinit_parse_for_function (); ;
break;}
case 216:
#line 1253 "objc-parse.y"
{ store_parm_decls (); ;
break;}
case 217:
#line 1261 "objc-parse.y"
{ finish_function (1);
pop_c_function_context (); ;
break;}
case 218:
#line 1267 "objc-parse.y"
{ push_c_function_context ();
if (! start_function (current_declspecs, yyvsp[0].ttype,
prefix_attributes, NULL_TREE, 1))
{
pop_c_function_context ();
YYERROR1;
}
reinit_parse_for_function (); ;
break;}
case 219:
#line 1276 "objc-parse.y"
{ store_parm_decls (); ;
break;}
case 220:
#line 1284 "objc-parse.y"
{ finish_function (1);
pop_c_function_context (); ;
break;}
case 223:
#line 1300 "objc-parse.y"
{ yyval.ttype = yyvsp[-1].ttype; ;
break;}
case 224:
#line 1302 "objc-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 225:
#line 1307 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 226:
#line 1309 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
break;}
case 227:
#line 1311 "objc-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 228:
#line 1318 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 231:
#line 1330 "objc-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 232:
#line 1335 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 233:
#line 1337 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
break;}
case 234:
#line 1339 "objc-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 235:
#line 1346 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 237:
#line 1355 "objc-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 238:
#line 1360 "objc-parse.y"
{ yyval.ttype = yyvsp[-1].ttype; ;
break;}
case 239:
#line 1362 "objc-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 240:
#line 1364 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 241:
#line 1366 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
break;}
case 242:
#line 1373 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 244:
#line 1379 "objc-parse.y"
{ yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype);
/* Start scope of tag before parsing components. */
;
break;}
case 245:
#line 1383 "objc-parse.y"
{ yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 246:
#line 1385 "objc-parse.y"
{ yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE),
yyvsp[-2].ttype, yyvsp[0].ttype);
;
break;}
case 247:
#line 1389 "objc-parse.y"
{ yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ;
break;}
case 248:
#line 1391 "objc-parse.y"
{ yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ;
break;}
case 249:
#line 1393 "objc-parse.y"
{ yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 250:
#line 1395 "objc-parse.y"
{ yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE),
yyvsp[-2].ttype, yyvsp[0].ttype);
;
break;}
case 251:
#line 1399 "objc-parse.y"
{ yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ;
break;}
case 252:
#line 1401 "objc-parse.y"
{ yyvsp[0].itype = suspend_momentary ();
yyval.ttype = start_enum (yyvsp[-1].ttype); ;
break;}
case 253:
#line 1404 "objc-parse.y"
{ yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), yyvsp[0].ttype);
resume_momentary (yyvsp[-5].itype); ;
break;}
case 254:
#line 1407 "objc-parse.y"
{ yyvsp[0].itype = suspend_momentary ();
yyval.ttype = start_enum (NULL_TREE); ;
break;}
case 255:
#line 1410 "objc-parse.y"
{ yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), yyvsp[0].ttype);
resume_momentary (yyvsp[-5].itype); ;
break;}
case 256:
#line 1413 "objc-parse.y"
{ yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); ;
break;}
case 260:
#line 1424 "objc-parse.y"
{ if (pedantic) pedwarn ("comma at end of enumerator list"); ;
break;}
case 261:
#line 1429 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 262:
#line 1431 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
pedwarn ("no semicolon at end of struct or union"); ;
break;}
case 263:
#line 1436 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 264:
#line 1438 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ;
break;}
case 265:
#line 1440 "objc-parse.y"
{ if (pedantic)
pedwarn ("extra semicolon in struct or union specified"); ;
break;}
case 266:
#line 1444 "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 267:
#line 1469 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-1].itype); ;
break;}
case 268:
#line 1475 "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 269:
#line 1480 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-1].itype); ;
break;}
case 270:
#line 1486 "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 271:
#line 1491 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 272:
#line 1493 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
pedantic = yyvsp[-1].itype; ;
break;}
case 274:
#line 1500 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 275:
#line 1505 "objc-parse.y"
{ yyval.ttype = grokfield (yyvsp[-3].filename, yyvsp[-2].lineno, yyvsp[-1].ttype, current_declspecs, NULL_TREE);
decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
break;}
case 276:
#line 1509 "objc-parse.y"
{ yyval.ttype = grokfield (yyvsp[-5].filename, yyvsp[-4].lineno, yyvsp[-3].ttype, current_declspecs, yyvsp[-1].ttype);
decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
break;}
case 277:
#line 1512 "objc-parse.y"
{ yyval.ttype = grokfield (yyvsp[-4].filename, yyvsp[-3].lineno, NULL_TREE, current_declspecs, yyvsp[-1].ttype);
decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
break;}
case 279:
#line 1524 "objc-parse.y"
{ if (yyvsp[-2].ttype == error_mark_node)
yyval.ttype = yyvsp[-2].ttype;
else
yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-2].ttype); ;
break;}
case 280:
#line 1529 "objc-parse.y"
{ yyval.ttype = error_mark_node; ;
break;}
case 281:
#line 1535 "objc-parse.y"
{ yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ;
break;}
case 282:
#line 1537 "objc-parse.y"
{ yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 283:
#line 1542 "objc-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 284:
#line 1544 "objc-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 285:
#line 1549 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 287:
#line 1555 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 288:
#line 1557 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 289:
#line 1562 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 290:
#line 1564 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 291:
#line 1569 "objc-parse.y"
{ yyval.ttype = yyvsp[-1].ttype; ;
break;}
case 292:
#line 1572 "objc-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 293:
#line 1574 "objc-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ;
break;}
case 294:
#line 1576 "objc-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 295:
#line 1578 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 296:
#line 1580 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
break;}
case 297:
#line 1582 "objc-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 298:
#line 1584 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ;
break;}
case 299:
#line 1586 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ;
break;}
case 300:
#line 1597 "objc-parse.y"
{
if (pedantic && yyvsp[0].ends_in_label)
pedwarn ("ANSI C forbids label at end of compound statement");
;
break;}
case 302:
#line 1606 "objc-parse.y"
{ yyval.ends_in_label = yyvsp[0].ends_in_label; ;
break;}
case 303:
#line 1608 "objc-parse.y"
{ yyval.ends_in_label = 0; ;
break;}
case 307:
#line 1620 "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 309:
#line 1635 "objc-parse.y"
{ if (pedantic)
pedwarn ("ANSI C forbids label declarations"); ;
break;}
case 312:
#line 1646 "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 313:
#line 1660 "objc-parse.y"
{;
break;}
case 315:
#line 1664 "objc-parse.y"
{ compstmt_count++; ;
break;}
case 316:
#line 1667 "objc-parse.y"
{ yyval.ttype = convert (void_type_node, integer_zero_node); ;
break;}
case 317:
#line 1669 "objc-parse.y"
{ emit_line_note (input_filename, lineno);
expand_end_bindings (getdecls (), 1, 0);
yyval.ttype = poplevel (1, 1, 0);
if (yychar == CONSTANT || yychar == STRING)
pop_momentary_nofree ();
else
pop_momentary (); ;
break;}
case 318:
#line 1677 "objc-parse.y"
{ emit_line_note (input_filename, lineno);
expand_end_bindings (getdecls (), kept_level_p (), 0);
yyval.ttype = poplevel (kept_level_p (), 0, 0);
if (yychar == CONSTANT || yychar == STRING)
pop_momentary_nofree ();
else
pop_momentary (); ;
break;}
case 319:
#line 1685 "objc-parse.y"
{ emit_line_note (input_filename, lineno);
expand_end_bindings (getdecls (), kept_level_p (), 0);
yyval.ttype = poplevel (kept_level_p (), 0, 0);
if (yychar == CONSTANT || yychar == STRING)
pop_momentary_nofree ();
else
pop_momentary (); ;
break;}
case 322:
#line 1705 "objc-parse.y"
{ emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
c_expand_start_cond (truthvalue_conversion (yyvsp[-1].ttype), 0,
compstmt_count);
yyval.itype = stmt_count;
if_stmt_file = yyvsp[-5].filename;
if_stmt_line = yyvsp[-4].lineno;
position_after_white_space (); ;
break;}
case 323:
#line 1719 "objc-parse.y"
{ stmt_count++;
compstmt_count++;
emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno);
/* See comment in `while' alternative, above. */
emit_nop ();
expand_start_loop_continue_elsewhere (1);
position_after_white_space (); ;
break;}
case 324:
#line 1727 "objc-parse.y"
{ expand_loop_continue_here (); ;
break;}
case 325:
#line 1731 "objc-parse.y"
{ yyval.filename = input_filename; ;
break;}
case 326:
#line 1735 "objc-parse.y"
{ yyval.lineno = lineno; ;
break;}
case 327:
#line 1740 "objc-parse.y"
{ ;
break;}
case 328:
#line 1745 "objc-parse.y"
{ ;
break;}
case 329:
#line 1750 "objc-parse.y"
{ yyval.ends_in_label = yyvsp[0].ends_in_label; ;
break;}
case 330:
#line 1755 "objc-parse.y"
{ yyval.ends_in_label = 0; ;
break;}
case 331:
#line 1757 "objc-parse.y"
{ yyval.ends_in_label = 1; ;
break;}
case 332:
#line 1763 "objc-parse.y"
{ stmt_count++; ;
break;}
case 334:
#line 1766 "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 335:
#line 1783 "objc-parse.y"
{ c_expand_start_else ();
yyvsp[-1].itype = stmt_count;
position_after_white_space (); ;
break;}
case 336:
#line 1787 "objc-parse.y"
{ c_expand_end_cond ();
if (extra_warnings && stmt_count == yyvsp[-3].itype)
warning ("empty body in an else-statement"); ;
break;}
case 337:
#line 1791 "objc-parse.y"
{ c_expand_end_cond ();
/* This warning is here instead of in simple_if, because we
do not want a warning if an empty if is followed by an
else statement. Increment stmt_count so we don't
give a second error if this is a nested `if'. */
if (extra_warnings && stmt_count++ == yyvsp[0].itype)
warning_with_file_and_line (if_stmt_file, if_stmt_line,
"empty body in an if-statement"); ;
break;}
case 338:
#line 1803 "objc-parse.y"
{ c_expand_end_cond (); ;
break;}
case 339:
#line 1805 "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 340:
#line 1815 "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 341:
#line 1824 "objc-parse.y"
{ expand_end_loop (); ;
break;}
case 342:
#line 1827 "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 343:
#line 1834 "objc-parse.y"
{ expand_end_loop ();
clear_momentary (); ;
break;}
case 344:
#line 1838 "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 345:
#line 1850 "objc-parse.y"
{ yyvsp[0].lineno = lineno;
yyval.filename = input_filename; ;
break;}
case 346:
#line 1853 "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 347:
#line 1869 "objc-parse.y"
{ /* Emit the increment expression, with a line number. */
emit_line_note (yyvsp[-4].filename, yyvsp[-5].lineno);
expand_loop_continue_here ();
if (yyvsp[-3].ttype)
c_expand_expr_stmt (yyvsp[-3].ttype);
if (yychar == CONSTANT || yychar == STRING)
pop_momentary_nofree ();
else
pop_momentary ();
expand_end_loop (); ;
break;}
case 348:
#line 1880 "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 349:
#line 1888 "objc-parse.y"
{ expand_end_case (yyvsp[-3].ttype);
if (yychar == CONSTANT || yychar == STRING)
pop_momentary_nofree ();
else
pop_momentary (); ;
break;}
case 350:
#line 1894 "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 351:
#line 1899 "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 352:
#line 1904 "objc-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
c_expand_return (NULL_TREE); ;
break;}
case 353:
#line 1908 "objc-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno);
c_expand_return (yyvsp[-1].ttype); ;
break;}
case 354:
#line 1912 "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 355:
#line 1923 "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 356:
#line 1930 "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 357:
#line 1938 "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 358:
#line 1944 "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 359:
#line 1955 "objc-parse.y"
{ if (pedantic)
pedwarn ("ANSI C forbids `goto *expr;'");
stmt_count++;
emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
expand_computed_goto (convert (ptr_type_node, yyvsp[-1].ttype)); ;
break;}
case 362:
#line 1970 "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 363:
#line 1991 "objc-parse.y"
{
if (yyvsp[-1].itype)
iterator_for_loop_end (yyvsp[-3].ttype);
;
break;}
case 364:
#line 2026 "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 365:
#line 2051 "objc-parse.y"
{ register tree value1 = check_case_value (yyvsp[-3].ttype);
register tree value2 = check_case_value (yyvsp[-1].ttype);
register tree label
= build_decl (LABEL_DECL, NULL_TREE, NULL_TREE);
if (pedantic)
pedwarn ("ANSI C forbids case ranges");
stmt_count++;
if (value1 != error_mark_node && value2 != error_mark_node)
{
tree duplicate;
int success = pushcase_range (value1, value2,
convert_and_check, label,
&duplicate);
if (success == 1)
error ("case label not within a switch statement");
else if (success == 2)
{
error ("duplicate case value");
error_with_decl (duplicate, "this is the first entry for that value");
}
else if (success == 3)
warning ("case value out of range");
else if (success == 4)
warning ("empty case range");
else if (success == 5)
error ("case label within scope of cleanup or variable array");
}
position_after_white_space (); ;
break;}
case 366:
#line 2082 "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 367:
#line 2097 "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 368:
#line 2109 "objc-parse.y"
{ emit_line_note (input_filename, lineno);
yyval.ttype = NULL_TREE; ;
break;}
case 369:
#line 2112 "objc-parse.y"
{ emit_line_note (input_filename, lineno); ;
break;}
case 370:
#line 2117 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 372:
#line 2124 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 375:
#line 2131 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 376:
#line 2136 "objc-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 377:
#line 2141 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), NULL_TREE); ;
break;}
case 378:
#line 2143 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), yyvsp[-2].ttype); ;
break;}
case 379:
#line 2149 "objc-parse.y"
{ pushlevel (0);
clear_parm_order ();
declare_parm_level (0); ;
break;}
case 380:
#line 2153 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
parmlist_tags_warning ();
poplevel (0, 0, 0); ;
break;}
case 382:
#line 2161 "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 383:
#line 2169 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 384:
#line 2171 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ;
break;}
case 385:
#line 2177 "objc-parse.y"
{ yyval.ttype = get_parm_info (0); ;
break;}
case 386:
#line 2179 "objc-parse.y"
{ yyval.ttype = get_parm_info (0);
/* Gcc used to allow this as an extension. However, it does
not work for all targets, and thus has been disabled.
Also, since func (...) and func () are indistinguishable,
it caused problems with the code in expand_builtin which
tries to verify that BUILT_IN_NEXT_ARG is being used
correctly. */
error ("ANSI C requires a named argument before `...'");
;
break;}
case 387:
#line 2189 "objc-parse.y"
{ yyval.ttype = get_parm_info (1); ;
break;}
case 388:
#line 2191 "objc-parse.y"
{ yyval.ttype = get_parm_info (0); ;
break;}
case 389:
#line 2196 "objc-parse.y"
{ push_parm_decl (yyvsp[0].ttype); ;
break;}
case 390:
#line 2198 "objc-parse.y"
{ push_parm_decl (yyvsp[0].ttype); ;
break;}
case 391:
#line 2205 "objc-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype),
build_tree_list (prefix_attributes,
yyvsp[0].ttype));
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 392:
#line 2214 "objc-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype),
build_tree_list (prefix_attributes,
yyvsp[0].ttype));
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 393:
#line 2223 "objc-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype),
build_tree_list (prefix_attributes,
yyvsp[0].ttype));
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 394:
#line 2232 "objc-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype),
build_tree_list (prefix_attributes,
yyvsp[0].ttype));
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 395:
#line 2242 "objc-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype),
build_tree_list (prefix_attributes,
yyvsp[0].ttype));
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 396:
#line 2256 "objc-parse.y"
{ pushlevel (0);
clear_parm_order ();
declare_parm_level (1); ;
break;}
case 397:
#line 2260 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
parmlist_tags_warning ();
poplevel (0, 0, 0); ;
break;}
case 399:
#line 2268 "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 400:
#line 2278 "objc-parse.y"
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
break;}
case 401:
#line 2280 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
break;}
case 402:
#line 2286 "objc-parse.y"
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
break;}
case 403:
#line 2288 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
break;}
case 404:
#line 2293 "objc-parse.y"
{ yyval.itype = pedantic;
pedantic = 0; ;
break;}
case 410:
#line 2306 "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 411:
#line 2321 "objc-parse.y"
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
break;}
case 412:
#line 2323 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
break;}
case 413:
#line 2328 "objc-parse.y"
{
objc_declare_class (yyvsp[-1].ttype);
;
break;}
case 414:
#line 2334 "objc-parse.y"
{
objc_declare_alias (yyvsp[-2].ttype, yyvsp[-1].ttype);
;
break;}
case 415:
#line 2340 "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 416:
#line 2346 "objc-parse.y"
{
continue_class (objc_interface_context);
;
break;}
case 417:
#line 2351 "objc-parse.y"
{
finish_class (objc_interface_context);
objc_interface_context = NULL_TREE;
;
break;}
case 418:
#line 2357 "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 419:
#line 2364 "objc-parse.y"
{
finish_class (objc_interface_context);
objc_interface_context = NULL_TREE;
;
break;}
case 420:
#line 2370 "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 421:
#line 2376 "objc-parse.y"
{
continue_class (objc_interface_context);
;
break;}
case 422:
#line 2381 "objc-parse.y"
{
finish_class (objc_interface_context);
objc_interface_context = NULL_TREE;
;
break;}
case 423:
#line 2387 "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 424:
#line 2394 "objc-parse.y"
{
finish_class (objc_interface_context);
objc_interface_context = NULL_TREE;
;
break;}
case 425:
#line 2400 "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 426:
#line 2406 "objc-parse.y"
{
objc_ivar_chain
= continue_class (objc_implementation_context);
;
break;}
case 427:
#line 2412 "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 428:
#line 2420 "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 429:
#line 2426 "objc-parse.y"
{
objc_ivar_chain
= continue_class (objc_implementation_context);
;
break;}
case 430:
#line 2432 "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 431:
#line 2440 "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 432:
#line 2447 "objc-parse.y"
{
finish_class (objc_interface_context);
objc_interface_context = NULL_TREE;
;
break;}
case 433:
#line 2453 "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 434:
#line 2463 "objc-parse.y"
{
remember_protocol_qualifiers ();
objc_interface_context
= start_protocol(PROTOCOL_INTERFACE_TYPE, yyvsp[-1].ttype, yyvsp[0].ttype);
;
break;}
case 435:
#line 2469 "objc-parse.y"
{
forget_protocol_qualifiers();
finish_protocol(objc_interface_context);
objc_interface_context = NULL_TREE;
;
break;}
case 436:
#line 2478 "objc-parse.y"
{
yyval.ttype = NULL_TREE;
;
break;}
case 438:
#line 2486 "objc-parse.y"
{
if (yyvsp[-2].code == LT_EXPR && yyvsp[0].code == GT_EXPR)
yyval.ttype = yyvsp[-1].ttype;
else
YYERROR1;
;
break;}
case 441:
#line 2500 "objc-parse.y"
{ objc_public_flag = 2; ;
break;}
case 442:
#line 2501 "objc-parse.y"
{ objc_public_flag = 0; ;
break;}
case 443:
#line 2502 "objc-parse.y"
{ objc_public_flag = 1; ;
break;}
case 444:
#line 2507 "objc-parse.y"
{
yyval.ttype = NULL_TREE;
;
break;}
case 446:
#line 2512 "objc-parse.y"
{
if (pedantic)
pedwarn ("extra semicolon in struct or union specified");
;
break;}
case 447:
#line 2530 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-1].itype); ;
break;}
case 448:
#line 2536 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-1].itype); ;
break;}
case 449:
#line 2542 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 450:
#line 2547 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 453:
#line 2554 "objc-parse.y"
{
yyval.ttype = add_instance_variable (objc_ivar_context,
objc_public_flag,
yyvsp[0].ttype, current_declspecs,
NULL_TREE);
;
break;}
case 454:
#line 2561 "objc-parse.y"
{
yyval.ttype = add_instance_variable (objc_ivar_context,
objc_public_flag,
yyvsp[-2].ttype, current_declspecs, yyvsp[0].ttype);
;
break;}
case 455:
#line 2567 "objc-parse.y"
{
yyval.ttype = add_instance_variable (objc_ivar_context,
objc_public_flag,
NULL_TREE,
current_declspecs, yyvsp[0].ttype);
;
break;}
case 456:
#line 2577 "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 457:
#line 2585 "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 458:
#line 2592 "objc-parse.y"
{
continue_method_def ();
;
break;}
case 459:
#line 2596 "objc-parse.y"
{
finish_method_def ();
objc_method_context = NULL_TREE;
;
break;}
case 460:
#line 2602 "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 461:
#line 2610 "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 462:
#line 2617 "objc-parse.y"
{
continue_method_def ();
;
break;}
case 463:
#line 2621 "objc-parse.y"
{
finish_method_def ();
objc_method_context = NULL_TREE;
;
break;}
case 465:
#line 2633 "objc-parse.y"
{yyval.ttype = NULL_TREE; ;
break;}
case 470:
#line 2640 "objc-parse.y"
{yyval.ttype = NULL_TREE; ;
break;}
case 474:
#line 2650 "objc-parse.y"
{
objc_inherit_code = CLASS_METHOD_DECL;
;
break;}
case 475:
#line 2654 "objc-parse.y"
{
add_class_method (objc_interface_context, yyvsp[0].ttype);
;
break;}
case 477:
#line 2660 "objc-parse.y"
{
objc_inherit_code = INSTANCE_METHOD_DECL;
;
break;}
case 478:
#line 2664 "objc-parse.y"
{
add_instance_method (objc_interface_context, yyvsp[0].ttype);
;
break;}
case 480:
#line 2672 "objc-parse.y"
{
yyval.ttype = build_method_decl (objc_inherit_code, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE);
;
break;}
case 481:
#line 2677 "objc-parse.y"
{
yyval.ttype = build_method_decl (objc_inherit_code, NULL_TREE, yyvsp[0].ttype, NULL_TREE);
;
break;}
case 482:
#line 2682 "objc-parse.y"
{
yyval.ttype = build_method_decl (objc_inherit_code, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype);
;
break;}
case 483:
#line 2687 "objc-parse.y"
{
yyval.ttype = build_method_decl (objc_inherit_code, NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype);
;
break;}
case 492:
#line 2717 "objc-parse.y"
{ current_declspecs = TREE_VALUE (declspec_stack);
prefix_attributes = TREE_PURPOSE (declspec_stack);
declspec_stack = TREE_CHAIN (declspec_stack);
resume_momentary (yyvsp[-2].itype); ;
break;}
case 493:
#line 2722 "objc-parse.y"
{ shadow_tag (yyvsp[-1].ttype); ;
break;}
case 494:
#line 2724 "objc-parse.y"
{ pedwarn ("empty declaration"); ;
break;}
case 495:
#line 2729 "objc-parse.y"
{ push_parm_decl (yyvsp[0].ttype); ;
break;}
case 496:
#line 2731 "objc-parse.y"
{ push_parm_decl (yyvsp[0].ttype); ;
break;}
case 497:
#line 2739 "objc-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype),
build_tree_list (prefix_attributes,
yyvsp[0].ttype)); ;
break;}
case 498:
#line 2744 "objc-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype),
build_tree_list (prefix_attributes,
yyvsp[0].ttype)); ;
break;}
case 499:
#line 2749 "objc-parse.y"
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
yyvsp[-1].ttype),
build_tree_list (prefix_attributes,
yyvsp[0].ttype)); ;
break;}
case 500:
#line 2757 "objc-parse.y"
{
yyval.ttype = NULL_TREE;
;
break;}
case 501:
#line 2761 "objc-parse.y"
{
/* oh what a kludge! */
yyval.ttype = (tree)1;
;
break;}
case 502:
#line 2766 "objc-parse.y"
{
pushlevel (0);
;
break;}
case 503:
#line 2770 "objc-parse.y"
{
/* returns a tree list node generated by get_parm_info */
yyval.ttype = yyvsp[0].ttype;
poplevel (0, 0, 0);
;
break;}
case 506:
#line 2785 "objc-parse.y"
{
yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
;
break;}
case 511:
#line 2798 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 512:
#line 2799 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 513:
#line 2800 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 514:
#line 2801 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 515:
#line 2802 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 516:
#line 2803 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 517:
#line 2804 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 518:
#line 2805 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 519:
#line 2806 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 520:
#line 2807 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 521:
#line 2808 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 522:
#line 2809 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 523:
#line 2810 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 524:
#line 2811 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 525:
#line 2812 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 526:
#line 2813 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 527:
#line 2814 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 528:
#line 2815 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 529:
#line 2816 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 532:
#line 2822 "objc-parse.y"
{
yyval.ttype = build_keyword_decl (yyvsp[-5].ttype, yyvsp[-2].ttype, yyvsp[0].ttype);
;
break;}
case 533:
#line 2827 "objc-parse.y"
{
yyval.ttype = build_keyword_decl (yyvsp[-2].ttype, NULL_TREE, yyvsp[0].ttype);
;
break;}
case 534:
#line 2832 "objc-parse.y"
{
yyval.ttype = build_keyword_decl (NULL_TREE, yyvsp[-2].ttype, yyvsp[0].ttype);
;
break;}
case 535:
#line 2837 "objc-parse.y"
{
yyval.ttype = build_keyword_decl (NULL_TREE, NULL_TREE, yyvsp[0].ttype);
;
break;}
case 539:
#line 2850 "objc-parse.y"
{
yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
;
break;}
case 540:
#line 2858 "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 541:
#line 2870 "objc-parse.y"
{
yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype);
;
break;}
case 542:
#line 2874 "objc-parse.y"
{
yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype);
;
break;}
case 544:
#line 2882 "objc-parse.y"
{
yyval.ttype = get_class_reference (yyvsp[0].ttype);
;
break;}
case 545:
#line 2889 "objc-parse.y"
{ objc_receiver_context = 1; ;
break;}
case 546:
#line 2891 "objc-parse.y"
{ objc_receiver_context = 0; ;
break;}
case 547:
#line 2893 "objc-parse.y"
{
yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype);
;
break;}
case 551:
#line 2906 "objc-parse.y"
{
yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
;
break;}
case 552:
#line 2913 "objc-parse.y"
{
yyval.ttype = build_tree_list (yyvsp[-1].ttype, NULL_TREE);
;
break;}
case 553:
#line 2917 "objc-parse.y"
{
yyval.ttype = build_tree_list (NULL_TREE, NULL_TREE);
;
break;}
case 554:
#line 2924 "objc-parse.y"
{
yyval.ttype = yyvsp[-1].ttype;
;
break;}
case 555:
#line 2931 "objc-parse.y"
{
yyval.ttype = yyvsp[-1].ttype;
;
break;}
case 556:
#line 2940 "objc-parse.y"
{
yyval.ttype = groktypename (yyvsp[-1].ttype);
;
break;}
}
/* the action file gets copied in in place of this dollarsign */
#line 487 "/usr/local/share/bison.simple"
yyvsp -= yylen;
yyssp -= yylen;
#ifdef YYLSP_NEEDED
yylsp -= yylen;
#endif
#if YYDEBUG != 0
if (yydebug)
{
short *ssp1 = yyss - 1;
fprintf (stderr, "state stack now");
while (ssp1 != yyssp)
fprintf (stderr, " %d", *++ssp1);
fprintf (stderr, "\n");
}
#endif
*++yyvsp = yyval;
#ifdef YYLSP_NEEDED
yylsp++;
if (yylen == 0)
{
yylsp->first_line = yylloc.first_line;
yylsp->first_column = yylloc.first_column;
yylsp->last_line = (yylsp-1)->last_line;
yylsp->last_column = (yylsp-1)->last_column;
yylsp->text = 0;
}
else
{
yylsp->last_line = (yylsp+yylen-1)->last_line;
yylsp->last_column = (yylsp+yylen-1)->last_column;
}
#endif
/* Now "shift" the result of the reduction.
Determine what state that goes to,
based on the state we popped back to
and the rule number reduced by. */
yyn = yyr1[yyn];
yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
yystate = yytable[yystate];
else
yystate = yydefgoto[yyn - YYNTBASE];
goto yynewstate;
yyerrlab: /* here on detecting error */
if (! yyerrstatus)
/* If not already recovering from an error, report this error. */
{
++yynerrs;
#ifdef YYERROR_VERBOSE
yyn = yypact[yystate];
if (yyn > YYFLAG && yyn < YYLAST)
{
int size = 0;
char *msg;
int x, count;
count = 0;
/* Start X at -yyn if nec to avoid negative indexes in yycheck. */
for (x = (yyn < 0 ? -yyn : 0);
x < (sizeof(yytname) / sizeof(char *)); x++)
if (yycheck[x + yyn] == x)
size += strlen(yytname[x]) + 15, count++;
msg = (char *) malloc(size + 15);
if (msg != 0)
{
strcpy(msg, "parse error");
if (count < 5)
{
count = 0;
for (x = (yyn < 0 ? -yyn : 0);
x < (sizeof(yytname) / sizeof(char *)); x++)
if (yycheck[x + yyn] == x)
{
strcat(msg, count == 0 ? ", expecting `" : " or `");
strcat(msg, yytname[x]);
strcat(msg, "'");
count++;
}
}
yyerror(msg);
free(msg);
}
else
yyerror ("parse error; also virtual memory exceeded");
}
else
#endif /* YYERROR_VERBOSE */
yyerror("parse error");
}
goto yyerrlab1;
yyerrlab1: /* here on error raised explicitly by an action */
if (yyerrstatus == 3)
{
/* if just tried and failed to reuse lookahead token after an error, discard it. */
/* return failure if at end of input */
if (yychar == YYEOF)
YYABORT;
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
#endif
yychar = YYEMPTY;
}
/* Else will try to reuse lookahead token
after shifting the error token. */
yyerrstatus = 3; /* Each real token shifted decrements this */
goto yyerrhandle;
yyerrdefault: /* current state does not do anything special for the error token. */
#if 0
/* This is wrong; only states that explicitly want error tokens
should shift them. */
yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/
if (yyn) goto yydefault;
#endif
yyerrpop: /* pop the current state because it cannot handle the error token */
if (yyssp == yyss) YYABORT;
yyvsp--;
yystate = *--yyssp;
#ifdef YYLSP_NEEDED
yylsp--;
#endif
#if YYDEBUG != 0
if (yydebug)
{
short *ssp1 = yyss - 1;
fprintf (stderr, "Error: state stack now");
while (ssp1 != yyssp)
fprintf (stderr, " %d", *++ssp1);
fprintf (stderr, "\n");
}
#endif
yyerrhandle:
yyn = yypact[yystate];
if (yyn == YYFLAG)
goto yyerrdefault;
yyn += YYTERROR;
if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
goto yyerrdefault;
yyn = yytable[yyn];
if (yyn < 0)
{
if (yyn == YYFLAG)
goto yyerrpop;
yyn = -yyn;
goto yyreduce;
}
else if (yyn == 0)
goto yyerrpop;
if (yyn == YYFINAL)
YYACCEPT;
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Shifting error token, ");
#endif
*++yyvsp = yylval;
#ifdef YYLSP_NEEDED
*++yylsp = yylloc;
#endif
yystate = yyn;
goto yynewstate;
}
#line 2945 "objc-parse.y"