home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
gcc-2.7.2.1-base.tgz
/
gcc-2.7.2.1-base.tar
/
fsf
/
gcc
/
objc-parse.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-09-23
|
192KB
|
4,919 lines
/* A Bison parser, made from objc-parse.y with Bison version GNU Bison version 1.22
*/
#define YYBISON 1 /* Identify Bison output. */
#define IDENTIFIER 258
#define TYPENAME 259
#define SCSPEC 260
#define TYPESPEC 261
#define TYPE_QUAL 262
#define CONSTANT 263
#define STRING 264
#define ELLIPSIS 265
#define SIZEOF 266
#define ENUM 267
#define STRUCT 268
#define UNION 269
#define IF 270
#define ELSE 271
#define WHILE 272
#define DO 273
#define FOR 274
#define SWITCH 275
#define CASE 276
#define DEFAULT 277
#define BREAK 278
#define CONTINUE 279
#define RETURN 280
#define GOTO 281
#define ASM_KEYWORD 282
#define TYPEOF 283
#define ALIGNOF 284
#define 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 32 "objc-parse.y"
#include <stdio.h>
#include <errno.h>
#include <setjmp.h>
#include "config.h"
#include "tree.h"
#include "input.h"
#include "c-lex.h"
#include "c-tree.h"
#include "flags.h"
#ifdef MULTIBYTE_CHARS
#include <stdlib.h>
#include <locale.h>
#endif
#include "objc-act.h"
/* Since parsers are distinct for each language, put the language string
definition here. */
char *language_string = "GNU Obj-C";
#ifndef errno
extern int errno;
#endif
void yyerror ();
/* Like YYERROR but do call yyerror. */
#define YYERROR1 { yyerror ("syntax error"); YYERROR; }
/* Cause the `yydebug' variable to be defined. */
#define YYDEBUG 1
#line 70 "objc-parse.y"
typedef union {long itype; tree ttype; enum tree_code code;
char *filename; int lineno; int ends_in_label; } YYSTYPE;
#line 194 "objc-parse.y"
/* Number of statements (loosely speaking) seen so far. */
static int stmt_count;
/* Input file and line number of the end of the body of last simple_if;
used by the stmt-rule immediately after simple_if returns. */
static char *if_stmt_file;
static int if_stmt_line;
/* List of types and structure classes of the current declaration. */
static tree current_declspecs;
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 915
#define YYFLAG -32768
#define YYNTBASE 84
#define YYTRANSLATE(x) ((unsigned)(x) <= 316 ? yytranslate[x] : 294)
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, 28, 33, 38, 41, 44, 47, 50, 52, 53,
54, 62, 67, 68, 69, 77, 82, 83, 84, 91,
95, 97, 99, 101, 103, 105, 107, 109, 111, 113,
115, 117, 119, 120, 122, 124, 128, 130, 133, 134,
138, 141, 144, 147, 152, 155, 160, 163, 166, 168,
173, 174, 182, 184, 188, 192, 196, 200, 204, 208,
212, 216, 220, 224, 228, 232, 236, 240, 246, 250,
254, 256, 258, 260, 264, 268, 269, 274, 279, 284,
288, 292, 295, 298, 300, 302, 304, 306, 308, 310,
313, 315, 318, 319, 321, 324, 328, 330, 332, 335,
338, 343, 348, 351, 354, 358, 360, 362, 365, 368,
369, 370, 375, 380, 384, 388, 391, 394, 397, 401,
402, 405, 408, 410, 412, 415, 418, 421, 425, 426,
429, 431, 433, 435, 438, 441, 446, 451, 453, 455,
457, 459, 463, 465, 469, 470, 475, 476, 483, 487,
488, 495, 499, 500, 502, 504, 507, 514, 516, 520,
521, 523, 528, 535, 540, 542, 544, 546, 548, 550,
551, 556, 558, 559, 562, 564, 568, 570, 571, 576,
578, 579, 584, 585, 591, 592, 593, 599, 600, 601,
607, 609, 611, 615, 619, 624, 628, 632, 636, 638,
640, 644, 649, 653, 657, 661, 663, 667, 671, 675,
680, 684, 688, 690, 691, 699, 705, 708, 709, 717,
723, 726, 727, 736, 737, 745, 748, 749, 751, 752,
754, 756, 759, 760, 764, 767, 772, 776, 778, 782,
784, 786, 788, 792, 797, 804, 810, 812, 816, 818,
820, 824, 827, 830, 831, 833, 835, 838, 839, 842,
846, 850, 853, 857, 862, 866, 869, 873, 876, 880,
882, 884, 887, 890, 891, 893, 896, 897, 898, 900,
902, 905, 909, 911, 914, 917, 924, 930, 936, 939,
942, 947, 948, 953, 954, 955, 959, 964, 968, 970,
972, 974, 976, 979, 980, 985, 987, 991, 992, 993,
1001, 1007, 1010, 1011, 1012, 1013, 1026, 1027, 1034, 1037,
1040, 1043, 1047, 1054, 1063, 1074, 1087, 1091, 1096, 1098,
1100, 1101, 1108, 1112, 1118, 1121, 1124, 1125, 1127, 1128,
1130, 1131, 1133, 1135, 1139, 1144, 1146, 1150, 1151, 1154,
1157, 1158, 1163, 1166, 1167, 1169, 1171, 1175, 1177, 1181,
1186, 1191, 1196, 1201, 1206, 1207, 1210, 1212, 1215, 1217,
1221, 1223, 1227, 1229, 1231, 1233, 1235, 1237, 1239, 1241,
1245, 1249, 1254, 1255, 1256, 1267, 1268, 1275, 1276, 1277,
1290, 1291, 1300, 1301, 1308, 1311, 1312, 1321, 1326, 1327,
1337, 1343, 1344, 1351, 1352, 1356, 1360, 1362, 1364, 1366,
1368, 1369, 1373, 1376, 1380, 1384, 1386, 1387, 1389, 1393,
1395, 1399, 1402, 1403, 1404, 1405, 1413, 1414, 1415, 1416,
1424, 1425, 1426, 1429, 1431, 1433, 1436, 1437, 1441, 1443,
1445, 1446, 1447, 1453, 1454, 1455, 1461, 1466, 1468, 1474,
1477, 1478, 1481, 1482, 1484, 1486, 1488, 1491, 1494, 1499,
1502, 1505, 1507, 1511, 1514, 1517, 1520, 1521, 1524, 1525,
1529, 1531, 1533, 1536, 1538, 1540, 1542, 1544, 1546, 1548,
1550, 1552, 1554, 1556, 1558, 1560, 1562, 1564, 1566, 1568,
1570, 1572, 1574, 1576, 1578, 1580, 1582, 1584, 1586, 1593,
1597, 1603, 1606, 1608, 1610, 1612, 1615, 1617, 1621, 1624,
1626, 1628, 1629, 1630, 1637, 1639, 1641, 1643, 1646, 1649,
1651, 1656, 1661
};
static const short yyrhs[] = { -1,
85, 0, 0, 86, 88, 0, 0, 85, 87, 88,
0, 90, 0, 89, 0, 226, 0, 27, 59, 99,
76, 77, 0, 117, 128, 77, 0, 122, 117, 128,
77, 0, 120, 117, 127, 77, 0, 122, 77, 0,
120, 77, 0, 1, 77, 0, 1, 78, 0, 77,
0, 0, 0, 120, 117, 154, 91, 111, 92, 185,
0, 120, 117, 154, 1, 0, 0, 0, 122, 117,
157, 93, 111, 94, 185, 0, 122, 117, 157, 1,
0, 0, 0, 117, 157, 95, 111, 96, 185, 0,
117, 157, 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, 106, 0, 101, 81, 106, 0, 107, 0, 50,
104, 0, 0, 31, 103, 104, 0, 98, 104, 0,
40, 97, 0, 11, 102, 0, 11, 59, 172, 76,
0, 29, 102, 0, 29, 59, 172, 76, 0, 33,
104, 0, 34, 104, 0, 102, 0, 59, 172, 76,
104, 0, 0, 59, 172, 76, 82, 105, 142, 78,
0, 104, 0, 106, 48, 106, 0, 106, 49, 106,
0, 106, 50, 106, 0, 106, 51, 106, 0, 106,
52, 106, 0, 106, 46, 106, 0, 106, 47, 106,
0, 106, 45, 106, 0, 106, 44, 106, 0, 106,
43, 106, 0, 106, 41, 106, 0, 106, 42, 106,
0, 106, 40, 106, 0, 106, 39, 106, 0, 106,
37, 209, 38, 106, 0, 106, 36, 106, 0, 106,
35, 106, 0, 3, 0, 8, 0, 109, 0, 59,
99, 76, 0, 59, 1, 76, 0, 0, 59, 108,
186, 76, 0, 107, 59, 100, 76, 0, 107, 60,
99, 83, 0, 107, 58, 97, 0, 107, 57, 97,
0, 107, 54, 0, 107, 55, 0, 285, 0, 291,
0, 292, 0, 293, 0, 110, 0, 9, 0, 109,
9, 0, 75, 0, 110, 75, 0, 0, 113, 0,
113, 10, 0, 191, 192, 114, 0, 112, 0, 180,
0, 113, 112, 0, 112, 180, 0, 120, 117, 127,
77, 0, 122, 117, 128, 77, 0, 120, 77, 0,
122, 77, 0, 191, 192, 119, 0, 115, 0, 180,
0, 116, 115, 0, 115, 180, 0, 0, 0, 120,
117, 127, 77, 0, 122, 117, 128, 77, 0, 120,
117, 148, 0, 122, 117, 151, 0, 120, 77, 0,
122, 77, 0, 125, 121, 0, 122, 125, 121, 0,
0, 121, 126, 0, 121, 5, 0, 7, 0, 5,
0, 122, 7, 0, 122, 5, 0, 125, 124, 0,
174, 125, 124, 0, 0, 124, 126, 0, 6, 0,
158, 0, 4, 0, 67, 242, 0, 72, 242, 0,
28, 59, 99, 76, 0, 28, 59, 172, 76, 0,
6, 0, 7, 0, 158, 0, 130, 0, 127, 81,
130, 0, 132, 0, 128, 81, 130, 0, 0, 27,
59, 109, 76, 0, 0, 154, 129, 134, 36, 131,
140, 0, 154, 129, 134, 0, 0, 157, 129, 134,
36, 133, 140, 0, 157, 129, 134, 0, 0, 135,
0, 136, 0, 135, 136, 0, 30, 59, 59, 137,
76, 76, 0, 138, 0, 137, 81, 138, 0, 0,
139, 0, 139, 59, 3, 76, 0, 139, 59, 3,
81, 101, 76, 0, 139, 59, 100, 76, 0, 97,
0, 5, 0, 6, 0, 7, 0, 106, 0, 0,
82, 141, 142, 78, 0, 1, 0, 0, 143, 163,
0, 144, 0, 143, 81, 144, 0, 106, 0, 0,
82, 145, 142, 78, 0, 1, 0, 0, 97, 38,
146, 144, 0, 0, 58, 97, 36, 147, 144, 0,
0, 0, 154, 149, 111, 150, 186, 0, 0, 0,
157, 152, 111, 153, 186, 0, 155, 0, 157, 0,
59, 155, 76, 0, 155, 59, 221, 0, 155, 60,
99, 83, 0, 155, 60, 83, 0, 50, 175, 155,
0, 135, 118, 155, 0, 4, 0, 72, 0, 156,
59, 221, 0, 156, 60, 99, 83, 0, 156, 60,
83, 0, 50, 175, 156, 0, 135, 118, 156, 0,
4, 0, 157, 59, 221, 0, 59, 157, 76, 0,
50, 175, 157, 0, 157, 60, 99, 83, 0, 157,
60, 83, 0, 135, 118, 157, 0, 3, 0, 0,
13, 97, 82, 159, 165, 78, 134, 0, 13, 82,
165, 78, 134, 0, 13, 97, 0, 0, 14, 97,
82, 160, 165, 78, 134, 0, 14, 82, 165, 78,
134, 0, 14, 97, 0, 0, 12, 97, 82, 161,
170, 164, 78, 134, 0, 0, 12, 82, 162, 170,
164, 78, 134, 0, 12, 97, 0, 0, 81, 0,
0, 81, 0, 166, 0, 166, 167, 0, 0, 166,
167, 77, 0, 166, 77, 0, 65, 59, 67, 76,
0, 123, 117, 168, 0, 123, 0, 174, 117, 168,
0, 174, 0, 1, 0, 169, 0, 168, 81, 169,
0, 191, 192, 154, 134, 0, 191, 192, 154, 38,
106, 134, 0, 191, 192, 38, 106, 134, 0, 171,
0, 170, 81, 171, 0, 1, 0, 97, 0, 97,
36, 106, 0, 123, 173, 0, 174, 173, 0, 0,
176, 0, 7, 0, 174, 7, 0, 0, 175, 7,
0, 59, 176, 76, 0, 50, 175, 176, 0, 50,
175, 0, 176, 59, 214, 0, 176, 60, 99, 83,
0, 176, 60, 83, 0, 59, 214, 0, 60, 99,
83, 0, 60, 83, 0, 135, 118, 176, 0, 178,
0, 194, 0, 178, 194, 0, 178, 180, 0, 0,
177, 0, 1, 77, 0, 0, 0, 183, 0, 184,
0, 183, 184, 0, 32, 225, 77, 0, 186, 0,
1, 186, 0, 82, 78, 0, 82, 181, 182, 116,
179, 78, 0, 82, 181, 182, 1, 78, 0, 82,
181, 182, 177, 78, 0, 188, 193, 0, 188, 1,
0, 15, 59, 99, 76, 0, 0, 18, 190, 193,
17, 0, 0, 0, 191, 192, 196, 0, 191, 192,
207, 193, 0, 191, 192, 195, 0, 196, 0, 207,
0, 186, 0, 204, 0, 99, 77, 0, 0, 187,
16, 197, 193, 0, 187, 0, 187, 16, 1, 0,
0, 0, 17, 198, 59, 99, 76, 199, 193, 0,
189, 59, 99, 76, 77, 0, 189, 1, 0, 0,
0, 0, 19, 59, 209, 77, 200, 209, 77, 201,
209, 76, 202, 193, 0, 0, 20, 59, 99, 76,
203, 193, 0, 23, 77, 0, 24, 77, 0, 25,
77, 0, 25, 99, 77, 0, 27, 208, 59, 99,
76, 77, 0, 27, 208, 59, 99, 38, 210, 76,
77, 0, 27, 208, 59, 99, 38, 210, 38, 210,
76, 77, 0, 27, 208, 59, 99, 38, 210, 38,
210, 38, 213, 76, 77, 0, 26, 97, 77, 0,
26, 50, 99, 77, 0, 77, 0, 205, 0, 0,
19, 59, 107, 76, 206, 193, 0, 21, 106, 38,
0, 21, 106, 10, 106, 38, 0, 22, 38, 0,
97, 38, 0, 0, 7, 0, 0, 99, 0, 0,
211, 0, 212, 0, 211, 81, 212, 0, 9, 59,
99, 76, 0, 109, 0, 213, 81, 109, 0, 0,
215, 216, 0, 218, 76, 0, 0, 219, 77, 217,
216, 0, 1, 76, 0, 0, 10, 0, 219, 0,
219, 81, 10, 0, 220, 0, 219, 81, 220, 0,
120, 117, 156, 134, 0, 120, 117, 157, 134, 0,
120, 117, 173, 134, 0, 122, 117, 157, 134, 0,
122, 117, 173, 134, 0, 0, 222, 223, 0, 216,
0, 224, 76, 0, 3, 0, 224, 81, 3, 0,
97, 0, 225, 81, 97, 0, 230, 0, 228, 0,
229, 0, 240, 0, 249, 0, 63, 0, 97, 0,
227, 81, 97, 0, 73, 227, 77, 0, 74, 97,
97, 77, 0, 0, 0, 61, 97, 242, 82, 231,
243, 78, 232, 256, 63, 0, 0, 61, 97, 242,
233, 256, 63, 0, 0, 0, 61, 97, 38, 97,
242, 82, 234, 243, 78, 235, 256, 63, 0, 0,
61, 97, 38, 97, 242, 236, 256, 63, 0, 0,
62, 97, 82, 237, 243, 78, 0, 62, 97, 0,
0, 62, 97, 38, 97, 82, 238, 243, 78, 0,
62, 97, 38, 97, 0, 0, 61, 97, 59, 97,
76, 242, 239, 256, 63, 0, 62, 97, 59, 97,
76, 0, 0, 71, 97, 242, 241, 256, 63, 0,
0, 45, 227, 45, 0, 243, 244, 245, 0, 245,
0, 69, 0, 70, 0, 68, 0, 0, 245, 246,
77, 0, 245, 77, 0, 123, 117, 247, 0, 174,
117, 247, 0, 1, 0, 0, 248, 0, 247, 81,
248, 0, 154, 0, 154, 38, 106, 0, 38, 106,
0, 0, 0, 0, 48, 250, 266, 251, 267, 252,
185, 0, 0, 0, 0, 49, 253, 266, 254, 267,
255, 185, 0, 0, 0, 257, 258, 0, 261, 0,
89, 0, 258, 261, 0, 0, 258, 259, 89, 0,
77, 0, 1, 0, 0, 0, 48, 262, 266, 263,
260, 0, 0, 0, 49, 264, 266, 265, 260, 0,
59, 172, 76, 275, 0, 275, 0, 59, 172, 76,
276, 273, 0, 276, 273, 0, 0, 77, 268, 0,
0, 269, 0, 270, 0, 180, 0, 269, 270, 0,
270, 180, 0, 120, 117, 271, 77, 0, 120, 77,
0, 122, 77, 0, 272, 0, 271, 81, 272, 0,
156, 134, 0, 157, 134, 0, 173, 134, 0, 0,
81, 10, 0, 0, 81, 274, 218, 0, 277, 0,
279, 0, 276, 279, 0, 3, 0, 4, 0, 72,
0, 278, 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, 277, 38, 59, 172, 76,
97, 0, 277, 38, 97, 0, 38, 59, 172, 76,
97, 0, 38, 97, 0, 277, 0, 281, 0, 283,
0, 281, 283, 0, 101, 0, 277, 38, 282, 0,
38, 282, 0, 99, 0, 67, 0, 0, 0, 60,
286, 284, 287, 280, 83, 0, 277, 0, 289, 0,
290, 0, 289, 290, 0, 277, 38, 0, 38, 0,
64, 59, 288, 76, 0, 71, 59, 97, 76, 0,
66, 59, 172, 76, 0
};
#endif
#if YYDEBUG != 0
static const short yyrline[] = { 0,
232, 237, 251, 253, 253, 254, 256, 258, 259, 260,
270, 281, 286, 291, 293, 295, 296, 297, 302, 309,
311, 316, 321, 327, 329, 334, 339, 345, 347, 352,
359, 361, 362, 363, 366, 368, 370, 372, 374, 376,
378, 382, 386, 389, 392, 395, 399, 401, 404, 407,
410, 414, 442, 447, 449, 451, 453, 455, 459, 461,
464, 468, 495, 497, 499, 501, 503, 505, 507, 509,
511, 513, 515, 517, 519, 521, 523, 525, 527, 530,
536, 696, 697, 699, 705, 707, 721, 744, 746, 748,
760, 774, 776, 778, 780, 782, 784, 786, 791, 793,
799, 801, 805, 807, 808, 818, 823, 825, 826, 827,
830, 836, 841, 844, 852, 857, 859, 860, 861, 868,
878, 882, 888, 893, 898, 903, 905, 913, 916, 920,
922, 924, 935, 939, 941, 944, 957, 960, 964, 966,
974, 975, 976, 980, 982, 984, 986, 992, 993, 994,
997, 999, 1002, 1004, 1007, 1010, 1016, 1023, 1025, 1032,
1039, 1042, 1049, 1052, 1056, 1059, 1063, 1068, 1071, 1075,
1078, 1080, 1082, 1084, 1091, 1093, 1094, 1095, 1100, 1102,
1107, 1115, 1120, 1124, 1127, 1129, 1134, 1137, 1139, 1141,
1145, 1148, 1148, 1151, 1153, 1164, 1172, 1176, 1187, 1195,
1202, 1204, 1209, 1212, 1217, 1219, 1221, 1223, 1225, 1226,
1234, 1240, 1242, 1244, 1246, 1248, 1254, 1260, 1262, 1264,
1266, 1268, 1270, 1273, 1278, 1280, 1284, 1286, 1288, 1290,
1294, 1296, 1299, 1302, 1305, 1308, 1312, 1314, 1317, 1319,
1323, 1326, 1331, 1333, 1335, 1339, 1363, 1370, 1375, 1381,
1386, 1390, 1392, 1396, 1400, 1404, 1414, 1416, 1421, 1426,
1429, 1433, 1436, 1440, 1443, 1446, 1449, 1453, 1456, 1460,
1464, 1466, 1468, 1470, 1472, 1474, 1476, 1478, 1480, 1488,
1496, 1498, 1500, 1504, 1506, 1509, 1512, 1525, 1527, 1532,
1534, 1537, 1551, 1554, 1557, 1559, 1567, 1575, 1586, 1591,
1594, 1607, 1615, 1619, 1623, 1627, 1633, 1637, 1642, 1645,
1650, 1653, 1654, 1671, 1676, 1679, 1691, 1693, 1703, 1713,
1714, 1722, 1725, 1737, 1741, 1758, 1768, 1777, 1782, 1787,
1792, 1796, 1800, 1811, 1818, 1825, 1832, 1843, 1847, 1850,
1855, 1878, 1912, 1937, 1966, 1981, 1992, 1996, 2000, 2003,
2008, 2010, 2013, 2015, 2019, 2024, 2027, 2033, 2038, 2043,
2045, 2054, 2055, 2061, 2063, 2073, 2075, 2079, 2082, 2088,
2098, 2107, 2116, 2126, 2140, 2145, 2150, 2152, 2161, 2164,
2169, 2172, 2178, 2180, 2181, 2182, 2183, 2184, 2198, 2201,
2205, 2211, 2217, 2224, 2229, 2235, 2242, 2248, 2254, 2259,
2265, 2272, 2278, 2284, 2290, 2298, 2304, 2310, 2318, 2325,
2331, 2340, 2347, 2355, 2360, 2369, 2371, 2374, 2376, 2377,
2380, 2385, 2386, 2403, 2410, 2416, 2420, 2423, 2424, 2427,
2435, 2441, 2450, 2460, 2467, 2471, 2476, 2485, 2492, 2496,
2506, 2508, 2509, 2511, 2513, 2514, 2515, 2516, 2518, 2520,
2523, 2529, 2534, 2534, 2539, 2543, 2545, 2551, 2556, 2561,
2570, 2572, 2578, 2580, 2583, 2585, 2586, 2587, 2590, 2596,
2598, 2602, 2605, 2612, 2618, 2623, 2630, 2635, 2640, 2645,
2652, 2656, 2659, 2665, 2667, 2668, 2669, 2672, 2674, 2675,
2676, 2677, 2678, 2679, 2680, 2681, 2682, 2683, 2684, 2685,
2686, 2687, 2688, 2689, 2690, 2691, 2692, 2692, 2695, 2701,
2706, 2711, 2717, 2719, 2722, 2724, 2731, 2743, 2748, 2754,
2756, 2762, 2766, 2767, 2773, 2775, 2778, 2780, 2786, 2791,
2797, 2804, 2813
};
static const char * const yytname[] = { "$","error","$illegal.","IDENTIFIER",
"TYPENAME","SCSPEC","TYPESPEC","TYPE_QUAL","CONSTANT","STRING","ELLIPSIS","SIZEOF",
"ENUM","STRUCT","UNION","IF","ELSE","WHILE","DO","FOR","SWITCH","CASE","DEFAULT",
"BREAK","CONTINUE","RETURN","GOTO","ASM_KEYWORD","TYPEOF","ALIGNOF","ATTRIBUTE",
"EXTENSION","LABEL","REALPART","IMAGPART","ASSIGN","'='","'?'","':'","OROR",
"ANDAND","'|'","'^'","'&'","EQCOMPARE","ARITHCOMPARE","LSHIFT","RSHIFT","'+'",
"'-'","'*'","'/'","'%'","UNARY","PLUSPLUS","MINUSMINUS","HYPERUNARY","POINTSAT",
"'.'","'('","'['","INTERFACE","IMPLEMENTATION","END","SELECTOR","DEFS","ENCODE",
"CLASSNAME","PUBLIC","PRIVATE","PROTECTED","PROTOCOL","OBJECTNAME","CLASS","ALIAS",
"OBJC_STRING","')'","';'","'}'","'~'","'!'","','","'{'","']'","program","extdefs",
"@1","@2","extdef","datadef","fndef","@3","@4","@5","@6","@7","@8","identifier",
"unop","expr","exprlist","nonnull_exprlist","unary_expr","@9","cast_expr","@10",
"expr_no_commas","primary","@11","string","objc_string","xdecls","lineno_datadecl",
"datadecls","datadecl","lineno_decl","decls","setspecs","setattrs","decl","typed_declspecs",
"reserved_declspecs","declmods","typed_typespecs","reserved_typespecquals","typespec",
"typespecqual_reserved","initdecls","notype_initdecls","maybeasm","initdcl",
"@12","notype_initdcl","@13","maybe_attribute","attributes","attribute","attribute_list",
"attrib","any_word","init","@14","initlist_maybe_comma","initlist1","initelt",
"@15","@16","@17","nested_function","@18","@19","notype_nested_function","@20",
"@21","declarator","after_type_declarator","parm_declarator","notype_declarator",
"structsp","@22","@23","@24","@25","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","simple_if","if_prefix",
"do_stmt_start","@26","save_filename","save_lineno","lineno_labeled_stmt","lineno_stmt_or_label",
"stmt_or_label","stmt","@27","@28","@29","@30","@31","@32","@33","all_iter_stmt",
"all_iter_stmt_simple","@34","label","maybe_type_qual","xexpr","asm_operands",
"nonnull_asm_operands","asm_operand","asm_clobbers","parmlist","@35","parmlist_1",
"@36","parmlist_2","parms","parm","parmlist_or_identifiers","@37","parmlist_or_identifiers_1",
"identifiers","identifiers_or_typenames","objcdef","identifier_list","classdecl",
"aliasdecl","classdef","@38","@39","@40","@41","@42","@43","@44","@45","@46",
"protocoldef","@47","protocolrefs","ivar_decl_list","visibility_spec","ivar_decls",
"ivar_decl","ivars","ivar_declarator","methoddef","@48","@49","@50","@51","@52",
"@53","methodprotolist","@54","methodprotolist2","@55","semi_or_error","methodproto",
"@56","@57","@58","@59","methoddecl","optarglist","myxdecls","mydecls","mydecl",
"myparms","myparm","optparmlist","@60","unaryselector","keywordselector","selector",
"reservedwords","keyworddecl","messageargs","keywordarglist","keywordexpr","keywordarg",
"receiver","objcmessageexpr","@61","@62","selectorarg","keywordnamelist","keywordname",
"objcselectorexpr","objcprotocolexpr","objcencodeexpr",""
};
#endif
static const short yyr1[] = { 0,
84, 84, 86, 85, 87, 85, 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, 103, 102,
102, 102, 102, 102, 102, 102, 102, 102, 104, 104,
105, 104, 106, 106, 106, 106, 106, 106, 106, 106,
106, 106, 106, 106, 106, 106, 106, 106, 106, 106,
107, 107, 107, 107, 107, 108, 107, 107, 107, 107,
107, 107, 107, 107, 107, 107, 107, 107, 109, 109,
110, 110, 111, 111, 111, 112, 113, 113, 113, 113,
114, 114, 114, 114, 115, 116, 116, 116, 116, 117,
118, 119, 119, 119, 119, 119, 119, 120, 120, 121,
121, 121, 122, 122, 122, 122, 123, 123, 124, 124,
125, 125, 125, 125, 125, 125, 125, 126, 126, 126,
127, 127, 128, 128, 129, 129, 131, 130, 130, 133,
132, 132, 134, 134, 135, 135, 136, 137, 137, 138,
138, 138, 138, 138, 139, 139, 139, 139, 140, 141,
140, 140, 142, 142, 143, 143, 144, 145, 144, 144,
146, 144, 147, 144, 149, 150, 148, 152, 153, 151,
154, 154, 155, 155, 155, 155, 155, 155, 155, 155,
156, 156, 156, 156, 156, 156, 157, 157, 157, 157,
157, 157, 157, 159, 158, 158, 158, 160, 158, 158,
158, 161, 158, 162, 158, 158, 163, 163, 164, 164,
165, 165, 166, 166, 166, 166, 167, 167, 167, 167,
167, 168, 168, 169, 169, 169, 170, 170, 170, 171,
171, 172, 172, 173, 173, 174, 174, 175, 175, 176,
176, 176, 176, 176, 176, 176, 176, 176, 176, 177,
178, 178, 178, 179, 179, 180, 181, 182, 182, 183,
183, 184, 185, 185, 186, 186, 186, 186, 187, 187,
188, 190, 189, 191, 192, 193, 193, 194, 195, 195,
196, 196, 196, 197, 196, 196, 196, 198, 199, 196,
196, 196, 200, 201, 202, 196, 203, 196, 196, 196,
196, 196, 196, 196, 196, 196, 196, 196, 196, 204,
206, 205, 207, 207, 207, 207, 208, 208, 209, 209,
210, 210, 211, 211, 212, 213, 213, 215, 214, 216,
217, 216, 216, 218, 218, 218, 218, 219, 219, 220,
220, 220, 220, 220, 222, 221, 223, 223, 224, 224,
225, 225, 226, 226, 226, 226, 226, 226, 227, 227,
228, 229, 231, 232, 230, 233, 230, 234, 235, 230,
236, 230, 237, 230, 230, 238, 230, 230, 239, 230,
230, 241, 240, 242, 242, 243, 243, 244, 244, 244,
245, 245, 245, 246, 246, 246, 247, 247, 247, 248,
248, 248, 250, 251, 252, 249, 253, 254, 255, 249,
256, 257, 256, 258, 258, 258, 259, 258, 260, 260,
262, 263, 261, 264, 265, 261, 266, 266, 266, 266,
267, 267, 268, 268, 269, 269, 269, 269, 270, 270,
270, 271, 271, 272, 272, 272, 273, 273, 274, 273,
275, 276, 276, 277, 277, 277, 277, 278, 278, 278,
278, 278, 278, 278, 278, 278, 278, 278, 278, 278,
278, 278, 278, 278, 278, 278, 278, 278, 279, 279,
279, 279, 280, 280, 281, 281, 282, 283, 283, 284,
284, 286, 287, 285, 288, 288, 289, 289, 290, 290,
291, 292, 293
};
static const short yyr2[] = { 0,
0, 1, 0, 2, 0, 3, 1, 1, 1, 5,
3, 4, 4, 2, 2, 2, 2, 1, 0, 0,
7, 4, 0, 0, 7, 4, 0, 0, 6, 3,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 0, 1, 1, 3, 1, 2, 0, 3,
2, 2, 2, 4, 2, 4, 2, 2, 1, 4,
0, 7, 1, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 5, 3, 3,
1, 1, 1, 3, 3, 0, 4, 4, 4, 3,
3, 2, 2, 1, 1, 1, 1, 1, 1, 2,
1, 2, 0, 1, 2, 3, 1, 1, 2, 2,
4, 4, 2, 2, 3, 1, 1, 2, 2, 0,
0, 4, 4, 3, 3, 2, 2, 2, 3, 0,
2, 2, 1, 1, 2, 2, 2, 3, 0, 2,
1, 1, 1, 2, 2, 4, 4, 1, 1, 1,
1, 3, 1, 3, 0, 4, 0, 6, 3, 0,
6, 3, 0, 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, 1, 3, 4, 6, 5, 1, 3, 1, 1,
3, 2, 2, 0, 1, 1, 2, 0, 2, 3,
3, 2, 3, 4, 3, 2, 3, 2, 3, 1,
1, 2, 2, 0, 1, 2, 0, 0, 1, 1,
2, 3, 1, 2, 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, 3,
3, 4, 0, 0, 10, 0, 6, 0, 0, 12,
0, 8, 0, 6, 2, 0, 8, 4, 0, 9,
5, 0, 6, 0, 3, 3, 1, 1, 1, 1,
0, 3, 2, 3, 3, 1, 0, 1, 3, 1,
3, 2, 0, 0, 0, 7, 0, 0, 0, 7,
0, 0, 2, 1, 1, 2, 0, 3, 1, 1,
0, 0, 5, 0, 0, 5, 4, 1, 5, 2,
0, 2, 0, 1, 1, 1, 2, 2, 4, 2,
2, 1, 3, 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, 143, 134, 141, 133, 0, 0,
0, 0, 0, 433, 437, 0, 0, 388, 414, 0,
414, 0, 0, 18, 4, 8, 7, 0, 120, 120,
130, 142, 9, 384, 385, 383, 386, 387, 6, 16,
17, 31, 32, 34, 33, 234, 236, 243, 227, 243,
231, 0, 0, 0, 0, 414, 405, 0, 144, 414,
145, 389, 0, 0, 223, 0, 268, 0, 0, 153,
121, 165, 0, 15, 0, 136, 135, 14, 0, 130,
128, 0, 232, 0, 0, 0, 224, 0, 228, 81,
82, 99, 0, 0, 49, 0, 0, 0, 35, 37,
36, 0, 38, 39, 0, 522, 0, 0, 0, 101,
40, 41, 0, 0, 42, 59, 63, 45, 47, 83,
98, 94, 95, 96, 97, 266, 0, 264, 139, 0,
264, 484, 485, 507, 508, 504, 488, 489, 490, 491,
492, 493, 494, 495, 496, 497, 498, 499, 500, 501,
502, 503, 505, 506, 0, 0, 486, 434, 458, 477,
481, 487, 482, 438, 0, 0, 396, 0, 0, 403,
0, 412, 391, 0, 0, 0, 0, 0, 11, 0,
0, 166, 30, 0, 375, 0, 0, 163, 209, 268,
0, 210, 0, 151, 121, 0, 201, 202, 0, 0,
129, 132, 148, 149, 131, 150, 259, 260, 239, 257,
0, 0, 163, 251, 245, 120, 242, 120, 243, 163,
243, 0, 53, 0, 55, 0, 57, 58, 52, 48,
0, 0, 0, 0, 0, 0, 0, 0, 51, 0,
0, 0, 0, 349, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 92, 93,
0, 0, 43, 0, 100, 102, 146, 268, 358, 0,
121, 262, 265, 137, 147, 267, 139, 263, 0, 512,
0, 461, 479, 460, 0, 483, 0, 461, 414, 0,
393, 442, 408, 0, 421, 415, 442, 390, 392, 170,
269, 219, 218, 154, 155, 222, 0, 217, 0, 221,
0, 0, 28, 0, 304, 108, 305, 162, 164, 0,
0, 13, 0, 0, 22, 0, 163, 375, 0, 12,
26, 0, 0, 240, 0, 239, 0, 226, 304, 244,
304, 0, 230, 0, 0, 0, 50, 85, 84, 287,
0, 0, 521, 520, 523, 530, 525, 0, 526, 527,
0, 0, 10, 46, 80, 79, 350, 0, 77, 76,
74, 75, 73, 72, 71, 69, 70, 64, 65, 66,
67, 68, 91, 90, 0, 44, 0, 272, 0, 276,
0, 278, 0, 0, 358, 0, 140, 138, 0, 0,
0, 435, 478, 364, 0, 510, 439, 401, 414, 421,
0, 0, 406, 411, 0, 0, 0, 176, 177, 178,
175, 0, 168, 171, 0, 0, 379, 365, 120, 120,
377, 0, 366, 368, 376, 0, 220, 286, 0, 110,
105, 109, 0, 160, 207, 203, 152, 208, 20, 159,
204, 206, 0, 24, 261, 258, 163, 0, 246, 247,
252, 305, 249, 163, 163, 54, 56, 295, 288, 87,
61, 60, 0, 529, 531, 0, 528, 533, 532, 0,
88, 89, 271, 270, 359, 277, 279, 273, 275, 0,
0, 457, 477, 120, 0, 466, 462, 464, 0, 0,
480, 366, 0, 0, 398, 442, 409, 0, 397, 451,
454, 445, 0, 120, 120, 447, 444, 421, 420, 418,
419, 404, 421, 426, 423, 120, 120, 0, 413, 0,
170, 43, 156, 363, 264, 264, 360, 361, 0, 378,
0, 0, 29, 293, 106, 120, 120, 0, 0, 157,
205, 0, 235, 163, 304, 0, 225, 229, 0, 0,
289, 290, 0, 0, 513, 0, 514, 515, 78, 274,
511, 459, 470, 264, 471, 467, 468, 436, 0, 440,
421, 0, 442, 394, 0, 0, 155, 0, 0, 0,
446, 0, 0, 427, 427, 422, 167, 169, 81, 0,
216, 268, 358, 121, 163, 163, 163, 268, 121, 163,
163, 0, 367, 369, 380, 294, 113, 0, 114, 0,
182, 180, 179, 161, 21, 0, 25, 233, 253, 0,
163, 381, 0, 0, 0, 304, 0, 0, 117, 305,
281, 291, 190, 81, 0, 188, 0, 187, 0, 237,
185, 517, 519, 0, 524, 0, 516, 163, 163, 163,
0, 472, 509, 0, 402, 0, 442, 452, 455, 448,
407, 0, 430, 424, 428, 425, 172, 0, 174, 272,
0, 375, 0, 370, 371, 372, 272, 0, 373, 374,
362, 0, 0, 0, 158, 163, 0, 254, 292, 0,
297, 119, 118, 285, 0, 298, 283, 305, 282, 0,
0, 0, 191, 62, 0, 184, 518, 474, 475, 476,
469, 264, 399, 410, 0, 0, 0, 432, 0, 0,
0, 214, 215, 211, 213, 0, 111, 112, 0, 256,
163, 382, 296, 0, 143, 0, 318, 302, 0, 0,
0, 0, 0, 0, 0, 0, 347, 414, 414, 339,
0, 0, 115, 120, 120, 311, 316, 0, 0, 308,
309, 312, 340, 310, 193, 0, 0, 186, 473, 442,
395, 450, 449, 453, 456, 431, 429, 173, 212, 181,
255, 0, 0, 304, 349, 0, 0, 345, 329, 330,
331, 0, 0, 0, 348, 0, 346, 313, 126, 0,
127, 0, 0, 300, 305, 299, 322, 0, 0, 189,
192, 0, 0, 0, 0, 47, 0, 0, 0, 343,
332, 0, 337, 0, 0, 124, 195, 0, 125, 198,
317, 304, 0, 0, 194, 400, 301, 0, 303, 341,
323, 327, 0, 338, 0, 122, 0, 123, 0, 315,
306, 304, 0, 319, 304, 349, 304, 344, 351, 0,
196, 199, 307, 321, 304, 342, 0, 328, 0, 0,
352, 353, 333, 0, 0, 320, 324, 0, 351, 0,
0, 197, 200, 349, 0, 0, 334, 354, 0, 355,
0, 0, 325, 356, 0, 335, 304, 0, 0, 326,
336, 357, 0, 0, 0
};
static const short yydefgoto[] = { 913,
1, 2, 3, 25, 26, 27, 326, 549, 332, 552,
187, 439, 647, 113, 367, 385, 115, 116, 226, 117,
563, 118, 119, 233, 120, 121, 313, 314, 315, 545,
635, 636, 28, 181, 763, 429, 81, 430, 128, 274,
31, 205, 193, 69, 188, 194, 626, 70, 548, 318,
319, 72, 422, 423, 424, 624, 694, 649, 650, 651,
712, 777, 819, 836, 857, 884, 839, 859, 885, 305,
197, 658, 198, 32, 219, 221, 211, 82, 716, 335,
85, 86, 217, 460, 461, 209, 210, 130, 660, 131,
177, 273, 637, 638, 705, 316, 469, 560, 561, 562,
543, 544, 767, 768, 769, 794, 815, 443, 816, 641,
770, 771, 842, 793, 875, 866, 894, 907, 867, 772,
773, 865, 774, 806, 368, 880, 881, 882, 905, 390,
391, 431, 612, 432, 433, 434, 308, 309, 435, 436,
633, 33, 63, 34, 35, 36, 410, 667, 292, 581,
780, 506, 295, 518, 583, 37, 297, 59, 415, 523,
416, 528, 674, 675, 38, 54, 282, 500, 55, 288,
504, 411, 412, 516, 590, 784, 517, 585, 726, 586,
727, 158, 402, 497, 498, 499, 661, 662, 284, 404,
159, 160, 161, 162, 163, 566, 567, 653, 568, 355,
122, 235, 473, 358, 359, 360, 123, 124, 125
};
static const short yypact[] = { 94,
97, 2746, 2746, 129,-32768,-32768,-32768,-32768, 76, 213,
226, 57, 86,-32768,-32768, 327, 327,-32768, 102, 327,
102, 327, 327,-32768,-32768,-32768,-32768, 71, 27, 2946,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768, 70, 104, 115, 104,
118, 2455, 2293, 3046, 3046, 61, 186, 327,-32768, 102,
-32768,-32768, 173, 327,-32768, 156,-32768, 71, 222,-32768,
195,-32768, 757,-32768, 351,-32768,-32768,-32768, 71,-32768,
813, 107,-32768, 176, 165, 235,-32768, 179,-32768,-32768,
-32768,-32768, 2509, 2563,-32768, 2455, 2455, 327,-32768,-32768,
-32768, 2455,-32768,-32768, 1255,-32768, 192, 201, 211,-32768,
-32768,-32768, 2455, 203, 224,-32768,-32768, 3369, 789, 318,
240,-32768,-32768,-32768,-32768,-32768, 270, 214,-32768, 277,
1720,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768, 199, 3255,-32768,-32768,-32768, 2265,
340,-32768,-32768,-32768, 327, 327, 303, 327, 327,-32768,
45,-32768,-32768, 327, 311, 334, 421, 280,-32768, 351,
71,-32768,-32768, 337,-32768, 1734, 623, 195,-32768,-32768,
351,-32768, 268,-32768, 195, 1658, 316, 395, 331, 1579,
813,-32768,-32768,-32768,-32768,-32768,-32768, 362, 325,-32768,
107, 342, 195,-32768,-32768, 401, 339, 2929, 104, 195,
104, 1255,-32768, 1255,-32768, 2455,-32768,-32768,-32768,-32768,
343, 353, 370, 391, 2347, 3108, 3255, 327,-32768, 399,
2455, 2455, 2455, 2455, 2455, 2455, 2455, 2455, 2455, 2455,
2455, 2455, 2455, 2455, 2455, 2455, 2455, 2455,-32768,-32768,
327, 327, 2455, 2455,-32768,-32768,-32768,-32768, 214, 1793,
195,-32768, 443, 718,-32768,-32768,-32768,-32768, 3255,-32768,
416, 412, 485,-32768, 340,-32768, 333, 412, 102, 423,
-32768, 442, 428, 438,-32768,-32768, 442,-32768,-32768, 319,
-32768, 395,-32768,-32768, 493, 395, 519,-32768, 2899,-32768,
450, 463,-32768, 1677, 68,-32768,-32768, 508, 195, 458,
358,-32768, 351, 351,-32768, 623, 195,-32768, 1852,-32768,
-32768, 623, 2455, 327, 457, 325, 474,-32768,-32768,-32768,
-32768, 489,-32768, 494, 495, 498,-32768,-32768,-32768, 497,
501, 2185,-32768,-32768,-32768,-32768, 549, 510, 3108,-32768,
517, 525,-32768, 3369, 3369, 3369,-32768, 557, 1230, 1386,
1465, 1666, 2264, 1706, 753, 838, 838, 554, 554,-32768,
-32768,-32768,-32768,-32768, 533, 224, 530, 548, 372,-32768,
2918,-32768, 534, 214,-32768, 1911,-32768, 718, 542, 3136,
708,-32768,-32768, 3199, 3255,-32768,-32768, 541, 102,-32768,
563, 2821,-32768,-32768, 273, 2694, 569,-32768,-32768,-32768,
-32768, 22,-32768, 561, 59, 558,-32768,-32768,-32768, 3227,
-32768, 566, 359,-32768,-32768, 128,-32768,-32768, 85,-32768,
-32768,-32768, 3244,-32768, 316,-32768,-32768, 316,-32768, 589,
-32768,-32768, 555,-32768, 3369,-32768, 195, 570,-32768, 568,
-32768,-32768, 568, 195, 195,-32768,-32768,-32768, 620,-32768,
-32768,-32768, 3172,-32768,-32768, 549,-32768,-32768,-32768, 2455,
-32768,-32768, 443,-32768,-32768,-32768, 443,-32768,-32768, 567,
327,-32768, 2265, 576, 2974,-32768,-32768, 3244, 1694, 85,
-32768, 575, 583, 85,-32768, 442,-32768, 511,-32768,-32768,
-32768,-32768, 71, 27, 2946, 285,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768, 3272, 588,-32768, 587,
319, 2617,-32768,-32768, 562, 237,-32768,-32768, 3210,-32768,
663, 370,-32768,-32768,-32768, 592, 3015, 1570, 85,-32768,
-32768, 85,-32768, 195,-32768, 538,-32768,-32768, 327, 935,
620,-32768, 1335, 2455, 635, 595, 3172,-32768, 1308,-32768,
-32768,-32768,-32768, 562,-32768,-32768,-32768,-32768, 327,-32768,
-32768, 619, 442,-32768, 3046, 3046, 69, 351, 71, 2849,
-32768, 602, 2711, 651, 651,-32768,-32768,-32768, 202, 609,
-32768,-32768, 237, 195, 58, 232, 195,-32768, 195, 232,
195, 2918,-32768,-32768,-32768,-32768,-32768, 351,-32768, 71,
-32768,-32768, 3369,-32768,-32768, 1570,-32768,-32768,-32768, 2455,
106,-32768, 365, 470, 851, 613, 615, 1015,-32768,-32768,
-32768,-32768,-32768, 659, 327,-32768, 660, 3369, 621, 625,
-32768, 224,-32768, 2455,-32768, 635,-32768, 58, 232, 195,
376,-32768,-32768, 618,-32768, 637, 442,-32768,-32768,-32768,
-32768, 2455, 669, 627,-32768, 627,-32768, 2455,-32768, 791,
562,-32768, 1970,-32768,-32768,-32768, 82, 237,-32768,-32768,
-32768, 389, 392, 1335,-32768, 3333, 2455,-32768,-32768, 327,
-32768,-32768,-32768,-32768, 633,-32768,-32768,-32768,-32768, 2051,
680, 1335,-32768,-32768, 1415,-32768,-32768,-32768,-32768,-32768,
-32768, 562,-32768,-32768, 664, 56, 56, 3369, 2455, 651,
233, 499, 499,-32768,-32768, 645,-32768,-32768, 655,-32768,
3333,-32768,-32768, 2131, 691, 675,-32768,-32768, 682, 684,
2455, 709, 671, 672, 2401, 234, 746, 62, 153,-32768,
716, 678,-32768, 683, 3026,-32768, 743, 1095, 64,-32768,
-32768,-32768,-32768,-32768,-32768, 687, 1495,-32768,-32768, 442,
-32768,-32768,-32768,-32768,-32768, 3369,-32768,-32768,-32768,-32768,
-32768, 2455, 714,-32768, 2455, 2455, 3310,-32768,-32768,-32768,
-32768, 690, 2455, 699,-32768, 719,-32768,-32768,-32768, 351,
-32768, 71, 1175,-32768,-32768,-32768,-32768, 2455, 1495,-32768,
-32768, 705, 701, 2455, 762, 586, 704, 707, 2455,-32768,
-32768, 712,-32768, 2455, 410,-32768, 420, 413,-32768, 944,
-32768,-32768, 2131, 710,-32768,-32768,-32768, 720,-32768,-32768,
-32768,-32768, 3351,-32768, 43,-32768, 623,-32768, 623,-32768,
-32768,-32768, 730,-32768,-32768, 2455,-32768,-32768, 788, 732,
-32768,-32768,-32768,-32768,-32768,-32768, 734,-32768, 755, 46,
731,-32768,-32768, 370, 370,-32768,-32768, 2455, 788, 738,
788,-32768,-32768, 2455, 747, 49,-32768,-32768, 754,-32768,
519, 745,-32768, 318, 306,-32768,-32768, 756, 519,-32768,
-32768, 318, 832, 835,-32768
};
static const short yypgoto[] = {-32768,
-32768,-32768,-32768, 837, -367,-32768,-32768,-32768,-32768,-32768,
-32768,-32768, -6,-32768, -52, 310, -243, 468,-32768, -41,
-32768, 116, 66,-32768, -298,-32768, -314, 577,-32768,-32768,
217,-32768, -8, -166,-32768, 25, 801, 29, -56, 606,
9, -220, -584, -60, -190, -139,-32768,-32768,-32768, -147,
-4, -58,-32768, 364,-32768, 271,-32768, -603,-32768, -638,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -73,
-131, -486, -20, -46,-32768,-32768,-32768,-32768,-32768, 560,
1,-32768,-32768, 571, 347, 692, 564, -3, -91, -36,
-175, -206, 272,-32768,-32768, -288,-32768,-32768,-32768, 346,
-214, -210,-32768,-32768,-32768,-32768, -140, -426, -711, 266,
-32768, 73,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,-32768, 77,-32768, -728, 20,-32768, 23,-32768, 518,
-32768, -353,-32768, 515, 520, 382, -303,-32768,-32768,-32768,
-32768,-32768, 867,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768, -14, -328,-32768,
404,-32768, 356, 204,-32768,-32768,-32768,-32768,-32768,-32768,
-32768, -254,-32768,-32768,-32768, 205, 449,-32768,-32768,-32768,
-32768, -22, 649,-32768,-32768, 469,-32768, 248, 479,-32768,
573, 579, -90,-32768, -116,-32768,-32768, 322, 414,-32768,
-32768,-32768,-32768,-32768,-32768, 628,-32768,-32768,-32768
};
#define YYLAST 3421
static const short yytable[] = { 114,
127, 196, 47, 49, 51, 327, 61, 73, 425, 56,
57, 449, 182, 60, 320, 62, 64, 454, 199, 386,
75, 79, 351, 71, 451, 440, 29, 29, 324, 216,
30, 30, 164, 692, 206, 556, 272, 485, 80, 278,
304, 167, 417, 286, 512, 172, 317, 178, 605, 218,
88, 62, 232, 397, 227, 228, 782, 175, 200, 321,
230, 129, 389, 71, 817, 338, 827, 265, -104, 285,
195, 239, 343, 65, 71, 208, 778, 441, 42, 43,
869, 508, 825, 889, 65, 542, 901, 66, 301, 296,
739, 229, 388, -1, 129, 184, -2, 530, 165, -34,
66, 234, 531, 74, 394, 58, 58, 207, 776, 42,
43, 66, 496, 129, 327, 52, 682, 683, 870, 166,
67, 890, 818, 271, 902, 174, 271, 185, 186, 68,
860, 608, 783, 311, 533, 66, 182, 877, 821, 277,
603, 270, 44, 697, 53, 357, 58, 45, 280, -104,
873, 83, 281, 876, 206, 878, 302, 46, 289, 290,
306, 293, 294, 886, 129, 899, 350, 298, 84, 232,
178, 232, 71, 44, 317, 195, 71, 397, 45, 450,
845, 483, 354, 447, 347, 317, 195, 487, 445, 592,
-33, 317, 448, 732, 733, 910, 87, 58, 462, 89,
462, 42, 43, 540, 208, 40, 41, 339, 541, 341,
577, 387, 182, 710, 176, 42, 43, 393, 345, 342,
346, 344, 670, 168, 66, 835, 277, 206, 42, 43,
129, 362, 129, 361, 212, 214, 42, 43, 5, 65,
7, 126, 213, 66, 169, 129, 9, 10, 11, 173,
236, 582, 664, 174, 383, 384, 220, 279, 691, 237,
182, 66, 13, 268, 271, 44, 66, 170, 476, 238,
45, 639, 269, 270, 408, 399, 453, 677, 240, 44,
406, 744, 678, 803, 45, 578, 608, 129, 386, 580,
185, 186, 44, 421, 48, 603, 270, 45, 179, 302,
44, 19, 180, 306, 241, 45, 21, 50, 788, 553,
472, 215, -241, 241, 266, 195, 557, 558, 195, 195,
652, 42, 43, 418, 419, 420, 265, 208, 666, 42,
43, 616, 510, 511, 625, 42, 43, 627, 185, 186,
519, 520, 521, 490, 322, 267, 702, -443, 323, 707,
522, 206, 275, 65, 189, 303, 364, 365, 366, 526,
369, 370, 371, 372, 373, 374, 375, 376, 377, 378,
379, 380, 381, 382, 328, 329, 286, 287, 734, 527,
66, 908, 565, 271, 291, 44, 909, 299, 843, 271,
45, 405, 300, 44, 507, 307, 389, 333, 45, 44,
190, 503, 285, 513, 45, 334, 628, 330, 337, 191,
652, 180, 725, 129, 462, 340, 328, 329, 348, 640,
535, 536, 192, 65, 129, 494, 680, 301, 349, 495,
395, 396, 687, 446, 731, 538, 514, 681, 80, 539,
515, 699, 688, 607, 611, 700, 184, 484, 455, -155,
66, 350, 721, 185, 186, -155, 722, 684, 685, 686,
65, 189, 689, 690, 301, 737, 352, 546, 738, 323,
67, 547, 180, 483, 487, 363, 656, -248, -248, 68,
483, 487, 631, 698, 571, 574, 856, 66, 401, 858,
323, 400, 587, 180, 403, 640, -155, 708, 409, 766,
-155, 395, 396, 80, -441, 588, 589, 190, 71, 413,
718, 719, 720, 414, 606, 610, 191, 594, 595, 184,
673, 673, 494, 80, 421, 822, 495, 92, 199, 192,
604, 609, 437, 766, 457, 277, 526, 618, 620, 438,
65, 189, 871, 444, 872, 182, 438, 701, 740, 459,
182, 195, 632, 659, 301, 80, 527, 682, 683, 693,
223, 225, 668, 669, 65, 601, 464, 66, 587, 604,
466, 465, 663, 467, 468, 630, 470, 66, 519, 520,
521, 513, 178, 195, 71, 475, 474, 190, 584, 195,
195, 66, 478, 791, 480, 569, 191, 268, 609, 587,
479, 129, 904, 256, 257, 258, 269, 270, 481, 192,
912, 602, 482, 195, 514, 71, 486, 491, 515, 532,
603, 270, 505, 312, 550, 509, -304, -304, -304, -304,
736, 529, 766, 534, -304, -304, -304, 551, 711, 259,
260, 537, 261, 262, 263, 264, 327, 554, 555, 570,
-304, 559, 573, 65, 189, 539, 673, 762, 579, 302,
306, 850, 597, 623, 596, 615, 302, 306, 617, 519,
520, 521, 654, 892, 893, 604, 604, 655, 648, 671,
66, 665, 609, 609, 679, 519, 520, 521, 672, -304,
-284, 762, 706, 742, -304, 723, -31, 713, 714, 724,
190, 659, 802, 761, -103, 715, 729, 730, 312, 191,
743, 5, 6, 7, 8, 775, 317, 604, 317, 9,
10, 11, 192, 203, 204, 195, 781, 789, -32, 9,
10, 11, 790, 792, 764, 13, 837, 761, 765, 823,
795, 623, 796, 828, 61, 696, 798, 799, 800, 804,
832, 838, 805, 807, 808, 810, 812, 183, 813, 809,
-27, -27, -27, -27, 820, 844, 831, 846, -27, -27,
-27, 848, 824, 80, 19, 833, 847, 834, 849, 21,
851, 855, 852, 184, -27, 863, -155, 728, 854, -463,
762, 840, -155, 65, 601, 864, 879, 301, 252, 253,
254, 255, 256, 257, 258, 195, 874, 71, 883, 648,
887, 891, 741, 888, 897, 185, 186, 202, 203, 204,
66, 906, 900, -27, 9, 10, 11, 648, -27, 903,
648, 914, 911, -155, 915, 895, 761, -155, -27, 39,
602, 600, 259, 260, 786, 261, 262, 263, 264, 603,
270, 312, 703, -116, -116, -116, -116, -116, -116, -116,
826, -116, -116, -116, -116, -116, 797, -116, -116, -116,
-116, -116, -116, -116, -116, -116, -116, -116, -116, -116,
201, -116, 398, -116, -116, 254, 255, 256, 257, 258,
-116, 442, 648, -116, 598, 458, 695, 456, -116, -116,
-116, 629, 336, 709, -116, -116, 642, 704, 896, -116,
-116, 463, 488, 898, -116, 861, -116, -116, 501, 862,
614, -116, -116, 502, 171, -116, 593, -116, -116, -116,
-116, 785, -116, 787, 648, 634, 407, -304, -304, -304,
-304, -304, -304, -304, 853, -304, -304, -304, -304, -304,
676, -304, -304, -304, -304, -304, -304, -304, -304, -304,
-304, -304, -304, -304, 591, -304, 576, -304, -304, 779,
184, 572, 492, -155, -304, 717, 0, -304, 493, -155,
657, 0, -304, -304, -304, 0, 477, 0, -304, -304,
0, 0, 0, -304, -304, 0, 0, 0, -304, 0,
-304, -304, 185, 186, 0, -304, -304, 0, 0, -304,
0, -304, 0, -304, -304, 312, -304, -304, -304, 0,
-155, 0, -304, -304, -155, -304, 0, 0, 0, -304,
0, -304, -304, -304, -304, -304, -304, -304, -304, -304,
-304, -304, 0, -304, 0, -304, 0, -304, -304, 0,
0, 0, 0, 0, -304, 0, 0, -304, 0, 0,
0, 0, -304, -304, -304, 0, 0, 0, -304, -304,
0, 0, 0, -304, -304, 0, 0, 0, -304, 0,
-304, -304, 0, 0, 0, -304, -304, 0, 0, -304,
0, -304, -280, -304, -304, 814, -304, -304, -304, 0,
0, 0, -304, -304, 0, -304, 0, 0, 0, -304,
0, -304, -304, -304, -304, -304, -304, -304, -304, -304,
-304, -304, 0, -304, 0, -304, 0, -304, -304, 0,
0, 0, 0, 0, -304, 0, 0, -304, 0, 0,
0, 0, -304, -304, -304, 0, 0, 0, -304, -304,
0, 0, 0, -304, -304, 0, 0, 0, -304, 0,
-304, -304, 0, 0, 0, -304, -304, 0, 0, -304,
0, -304, 0, -304, -304, 841, -304, -314, -314, 0,
0, 0, -314, -314, 0, -314, 0, 0, 0, -314,
0, -314, -314, -314, -314, -314, -314, -314, -314, -314,
-314, -314, 0, -314, 0, -314, 0, -314, -314, 0,
0, 0, 0, 0, -314, 0, 0, -314, 0, 0,
0, 0, -314, -314, -314, 0, 0, 0, -314, -314,
0, 0, 0, -314, -314, 0, 0, 0, -314, 0,
-314, -314, 0, 0, 0, -314, -314, 0, 0, -314,
0, -314, 0, -314, -314, 231, -314, 90, 5, 0,
7, 126, 91, 92, 0, 93, 9, 10, 11, 246,
247, 248, 249, 250, 251, 252, 253, 254, 255, 256,
257, 258, 13, 94, 0, 95, 0, 96, 97, 0,
0, 0, 0, 0, 98, 0, 0, 99, 0, 0,
0, 0, 100, 101, 102, 0, 0, 0, 103, 104,
0, 0, 0, 105, 106, 0, 0, 0, 107, 0,
108, 19, 0, 0, 0, 109, 21, 0, 0, 110,
0, 0, 0, 111, 112, 643, -86, 644, 43, 0,
0, 0, 91, 92, 244, 93, 245, 246, 247, 248,
249, 250, 251, 252, 253, 254, 255, 256, 257, 258,
0, 0, 0, 94, 0, 95, 0, 96, 97, 0,
0, 0, 0, 0, 98, 0, 0, 99, 0, 0,
0, 0, 100, 101, 102, 0, 0, 0, 103, 104,
0, 0, 645, 105, 106, 0, 0, 0, 107, 0,
108, 44, 0, 0, 0, 109, 45, 0, 0, 110,
0, 0, -183, 111, 112, 643, 646, 644, 43, 0,
0, 0, 91, 92, 0, 93, 247, 248, 249, 250,
251, 252, 253, 254, 255, 256, 257, 258, 0, 0,
0, 0, 0, 94, 0, 95, 0, 96, 97, 0,
0, 0, 0, 0, 98, 0, 0, 99, 0, 0,
0, 0, 100, 101, 102, 0, 0, 0, 103, 104,
0, 0, 645, 105, 106, 0, 0, 0, 107, 0,
108, 44, 0, 0, 0, 109, 45, 0, 0, 110,
0, 0, -238, 111, 112, 643, 646, 644, 43, 0,
0, 0, 91, 92, 0, 93, 248, 249, 250, 251,
252, 253, 254, 255, 256, 257, 258, 0, 0, 0,
0, 0, 0, 94, 0, 95, 0, 96, 97, 0,
0, 0, 0, 0, 98, 0, 0, 99, 0, 0,
0, 0, 100, 101, 102, 0, 0, 0, 103, 104,
0, 0, 645, 105, 106, 0, 0, 0, 107, 0,
108, 44, 0, 0, 0, 109, 45, 0, 0, 110,
621, 0, 90, 111, 112, 0, 646, 91, 92, 331,
93, 0, -23, -23, -23, -23, 0, 0, 0, 0,
-23, -23, -23, 0, 0, 0, 0, 0, 94, 0,
95, 0, 96, 97, 0, 184, -23, 0, -155, 98,
0, 0, 99, 0, -155, 0, 0, 100, 101, 102,
0, 0, 0, 103, 104, 0, 0, 0, 105, 106,
0, 0, 0, 107, 0, 108, 0, 185, 186, 0,
109, 0, 0, 0, 110, -23, 0, 0, 111, 112,
-23, 622, 0, 0, 0, -155, 0, 0, 325, -155,
-23, -19, -19, -19, -19, 0, 0, 0, 0, -19,
-19, -19, 0, 0, 0, 0, 0, 312, 0, 0,
-107, -107, -107, -107, 184, -19, -107, -155, -107, -107,
-107, 0, 0, -155, 312, 0, 0, -465, -465, -465,
-465, 0, 0, 0, -107, -465, -465, -465, 249, 250,
251, 252, 253, 254, 255, 256, 257, 258, 0, 0,
0, -465, 0, 5, -19, 7, 276, 0, 0, -19,
0, 9, 10, 11, -155, 0, 90, 0, -155, -19,
0, 91, 92, -107, 93, 0, 0, 13, -107, 66,
251, 252, 253, 254, 255, 256, 257, 258, -107, 0,
-465, 0, 94, 0, 95, -465, 96, 97, 0, 268,
0, 0, 0, 98, 0, -465, 99, 0, 269, 270,
0, 100, 101, 102, 0, 0, 19, 103, 104, 0,
0, 21, 105, 106, 0, 90, 0, 107, 0, 108,
91, 92, 0, 93, 109, 0, 0, 0, 110, 0,
0, 0, 111, 112, 0, 0, 310, 0, 0, 0,
0, 94, 0, 95, 0, 96, 97, 0, 0, 0,
0, 0, 98, 0, 0, 99, 0, 0, 0, 0,
100, 101, 102, 0, 0, 0, 103, 104, 0, 0,
0, 105, 106, 0, 90, 0, 107, 0, 108, 91,
92, 0, 93, 109, 0, 0, 0, 110, 0, 0,
0, 111, 112, 0, 0, 392, 0, 0, 0, 0,
94, 0, 95, 0, 96, 97, 0, 0, 0, 0,
0, 98, 0, 0, 99, 0, 0, 0, 0, 100,
101, 102, 0, 0, 0, 103, 104, 0, 0, 0,
105, 106, 0, 90, 0, 107, 0, 108, 91, 92,
0, 93, 109, 0, 0, 0, 110, 0, 0, 0,
111, 112, 0, 0, 452, 0, 0, 0, 0, 94,
0, 95, 0, 96, 97, 0, 0, 0, 0, 0,
98, 0, 0, 99, 0, 0, 0, 0, 100, 101,
102, 0, 0, 0, 103, 104, 0, 0, 0, 105,
106, 0, 90, 0, 107, 0, 108, 91, 92, 0,
93, 109, 0, 0, 0, 110, 0, 0, 0, 111,
112, 0, 0, 489, 0, 0, 0, 0, 94, 0,
95, 0, 96, 97, 0, 0, 0, 0, 0, 98,
0, 0, 99, 0, 0, 0, 0, 100, 101, 102,
0, 0, 0, 103, 104, 0, 0, 0, 105, 106,
0, 0, 0, 107, 0, 108, 0, 0, 0, 0,
109, 0, 0, 0, 110, 0, 0, 0, 111, 112,
0, 0, 735, 644, 745, 6, 7, 8, 91, 92,
0, 93, 9, 10, 11, 746, 0, 747, 748, 749,
750, 751, 752, 753, 754, 755, 756, 757, 13, 94,
0, 95, 0, 96, 97, 0, 0, 0, 0, 0,
98, 0, 0, 99, 0, 0, 0, 0, 100, 101,
102, 0, 0, 0, 103, 104, 0, 0, 0, 105,
106, 0, 0, 0, 107, 0, 108, 758, 0, 0,
0, 109, 759, 0, 0, 110, 0, 760, 0, 111,
112, 0, 350, 644, 43, 0, 0, 0, 91, 92,
0, 93, 0, 0, 0, 746, 0, 747, 748, 749,
750, 751, 752, 753, 754, 755, 756, 757, 0, 94,
0, 95, 0, 96, 97, 0, 0, 0, 0, 0,
98, 0, 0, 99, 0, 0, 0, 0, 100, 101,
102, 0, 0, 0, 103, 104, 0, 90, 0, 105,
106, 0, 91, 92, 107, 93, 108, 44, 0, 0,
0, 109, 45, 0, 0, 110, 0, 760, 0, 111,
112, 0, 350, 94, 0, 95, 0, 96, 97, 0,
0, 0, 0, 0, 98, 0, 0, 99, 0, 0,
0, 0, 100, 101, 102, 0, 0, 0, 103, 104,
0, 0, 0, 105, 106, 0, 0, 0, 107, 0,
108, 0, 0, 0, 0, 109, 0, 0, 0, 110,
0, 0, 0, 111, 112, 0, 471, 132, 133, 0,
134, 135, 0, 0, 0, 136, 137, 138, 139, 140,
141, 142, 143, 144, 145, 146, 147, 148, 149, 150,
151, 152, 153, 154, 0, 90, 5, 0, 7, 126,
91, 92, 155, 93, 9, 10, 11, 250, 251, 252,
253, 254, 255, 256, 257, 258, 0, 0, 0, 0,
13, 94, 0, 95, 0, 96, 97, 0, 0, 0,
0, 0, 98, 0, 0, 99, 157, 0, 0, 0,
100, 101, 102, 0, 0, 283, 103, 104, 0, 90,
0, 105, 106, 0, 91, 92, 107, 93, 108, 19,
0, 0, 0, 109, 21, 0, 0, 110, 0, 0,
0, 111, 112, 0, 0, 94, 0, 95, 0, 96,
97, 0, 0, 0, 0, 0, 98, 0, 0, 99,
0, 0, 0, 0, 100, 101, 102, 0, 0, 0,
103, 104, 0, 90, 0, 105, 106, 0, 91, 92,
107, 93, 108, 353, 0, 0, 0, 109, 0, 0,
0, 110, 0, 0, 0, 111, 112, 0, 0, 94,
0, 95, 0, 96, 97, 0, 0, 0, 0, 0,
98, 0, 0, 99, 0, 0, 0, 0, 100, 101,
102, 0, 0, 0, 103, 104, 0, 90, 0, 105,
106, 0, 91, 92, 107, 93, 108, 0, 0, 0,
0, 109, 0, 0, 0, 110, 0, 801, 0, 111,
112, 0, 0, 94, 0, 95, 0, 96, 97, 0,
0, 0, 0, 0, 98, 0, 0, 99, 0, 0,
0, 0, 100, 101, 102, 0, 0, 0, 103, 104,
0, 90, 0, 105, 106, 0, 91, 92, 107, 93,
108, 0, 0, 0, 0, 109, 0, 0, 0, 110,
0, 0, 0, 111, 112, 0, 0, 94, 0, 95,
0, 96, 97, 0, 0, 0, 0, 0, 98, 0,
0, 99, 0, 0, 0, 0, 100, 101, 102, 0,
0, 0, 103, 104, 0, 90, 0, 222, 106, 0,
91, 92, 107, 93, 108, 0, 0, 0, 0, 109,
0, 0, 0, 110, 0, 0, 0, 111, 112, 0,
0, 94, 0, 95, 0, 96, 97, 0, 0, 0,
0, 0, 98, 0, 0, 99, 0, 0, 0, 0,
100, 101, 102, 0, 0, 0, 103, 104, 0, 599,
0, 224, 106, 0, 91, 92, 107, 93, 108, 0,
0, 0, 0, 109, 0, 0, 0, 110, 0, 0,
0, 111, 112, 0, 0, 94, 0, 95, 0, 96,
97, 0, 0, 0, 0, 0, 98, 0, 0, 99,
0, 0, 0, 0, 100, 101, 102, 0, 0, 0,
103, 104, 0, 0, 0, 105, 106, 0, 0, 0,
107, 0, 108, 0, 0, 0, 0, 109, 0, 0,
0, 110, 0, 0, 524, 111, 112, 5, 0, 7,
126, 0, 0, 0, 0, 9, 10, 11, 0, 0,
0, 524, 0, 0, 5, 0, 7, 126, 0, 0,
0, 13, 9, 10, 11, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 13, 0,
0, 0, 0, 0, 0, 0, 4, 0, -120, 5,
6, 7, 8, 0, 0, 0, 0, 9, 10, 11,
19, -417, -417, -417, 0, 21, 0, 0, 0, 0,
525, -417, 12, 13, 0, -120, 0, 19, -416, -416,
-416, 0, 21, 0, 0, 0, 0, 525, -416, 0,
0, 0, 0, 14, 15, -120, 0, 0, 0, 0,
0, 0, 0, 0, -120, 0, 16, 17, 18, 0,
0, 0, 19, 0, 0, 0, 20, 21, 22, 23,
0, 4, 24, -120, 5, 6, 7, 8, 0, 0,
0, 0, 9, 10, 11, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 13, 4,
-120, -120, 5, 6, 7, 8, 0, 0, 0, 0,
9, 10, 11, 0, 0, 0, 0, 0, 510, 511,
-120, 0, 0, 0, 0, 0, 13, 0, -120, -120,
0, 0, 0, 0, 0, 0, 0, 19, 0, 0,
0, 0, 21, 0, 0, 0, 0, 24, -120, 426,
0, 427, 5, 6, 7, 8, 0, -120, 428, 0,
9, 10, 11, 0, 0, 19, 0, 0, 426, 0,
21, 5, 6, 7, 8, 24, 13, 428, 0, 9,
10, 11, 5, 0, 7, 276, 0, 0, 0, 0,
9, 10, 11, 0, 0, 13, 0, 0, 0, 5,
76, 7, 77, 0, 0, 0, 13, 9, 10, 11,
0, 0, 0, 0, 0, 19, 0, 0, 0, 0,
21, 0, 0, 13, -364, 0, 0, 5, 76, 7,
77, 0, 0, 0, 19, 9, 10, 11, 0, 21,
0, 0, 0, -364, 0, 19, 0, 0, 0, 0,
21, 13, 0, 0, 0, -250, -250, 0, 0, 0,
0, 0, 19, 0, 0, 0, 0, 21, 5, 76,
7, 77, 78, 0, 0, 0, 9, 10, 11, 5,
76, 7, 77, 0, 0, 0, 0, 9, 10, 11,
19, 0, 13, 0, 0, 21, 0, 0, 132, 133,
575, 134, 135, 13, 0, 0, 136, 137, 138, 139,
140, 141, 142, 143, 144, 145, 146, 147, 148, 149,
150, 151, 152, 153, 154, 0, 0, 0, 0, 0,
0, 19, 0, 155, 0, 0, 21, 0, 0, 0,
0, 619, 19, 0, 0, 0, 0, 21, 0, 0,
0, 0, 811, 0, 156, 0, 0, 0, 0, 0,
132, 133, 0, 134, 135, 0, 0, 157, 136, 137,
138, 139, 140, 141, 142, 143, 144, 145, 146, 147,
148, 149, 150, 151, 152, 153, 154, 0, 132, 133,
0, 134, 135, 0, 0, 356, 136, 137, 138, 139,
140, 141, 142, 143, 144, 145, 146, 147, 148, 149,
150, 151, 152, 153, 154, 0, 0, 0, 0, 0,
0, 0, 0, 155, 132, 133, 0, 134, 135, 157,
0, 0, 136, 137, 138, 139, 140, 141, 142, 143,
144, 145, 146, 147, 148, 149, 150, 151, 152, 153,
154, 0, 5, 6, 7, 8, 0, 157, 428, 564,
9, 10, 11, 5, 6, 7, 8, 0, 0, 613,
0, 9, 10, 11, 0, 0, 13, 0, 0, 0,
5, 76, 7, 77, 0, 0, 0, 13, 9, 10,
11, 0, 0, 157, 0, 0, 0, 5, 6, 7,
8, 0, 0, 0, 13, 9, 10, 11, 5, 0,
7, 126, 0, 0, 0, 19, 9, 10, 11, 0,
21, 13, 0, 0, 0, 5, 19, 7, 276, 0,
0, 21, 13, 9, 10, 11, 0, 0, 0, 0,
0, 0, 0, 19, 0, 0, 0, 0, 21, 13,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
19, 0, 0, 0, 0, 21, 0, 0, 0, 829,
0, 19, 0, 0, 0, 0, 21, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 19, 0,
0, 0, 0, 21, 242, 243, 244, 830, 245, 246,
247, 248, 249, 250, 251, 252, 253, 254, 255, 256,
257, 258, 66, 0, 0, 0, 0, 242, 243, 244,
0, 245, 246, 247, 248, 249, 250, 251, 252, 253,
254, 255, 256, 257, 258, 242, 243, 244, 868, 245,
246, 247, 248, 249, 250, 251, 252, 253, 254, 255,
256, 257, 258, 242, 243, 244, 0, 245, 246, 247,
248, 249, 250, 251, 252, 253, 254, 255, 256, 257,
258
};
static const short yycheck[] = { 52,
53, 75, 9, 10, 11, 196, 21, 28, 307, 16,
17, 326, 71, 20, 190, 22, 23, 332, 79, 263,
29, 30, 233, 28, 328, 314, 2, 3, 195, 86,
2, 3, 55, 618, 81, 462, 128, 391, 30, 131,
180, 56, 297, 160, 412, 60, 187, 68, 535, 86,
50, 58, 105, 274, 96, 97, 1, 64, 79, 191,
102, 53, 269, 68, 1, 213, 795, 9, 1, 160,
75, 113, 220, 3, 79, 82, 715, 10, 3, 4,
38, 410, 794, 38, 3, 1, 38, 30, 7, 45,
694, 98, 268, 0, 86, 27, 0, 76, 38, 38,
30, 105, 81, 77, 271, 45, 45, 1, 712, 3,
4, 30, 401, 105, 305, 59, 59, 60, 76, 59,
50, 76, 59, 128, 76, 81, 131, 59, 60, 59,
842, 50, 77, 186, 76, 30, 195, 866, 777, 131,
59, 60, 67, 38, 59, 236, 45, 72, 155, 82,
862, 82, 156, 865, 201, 867, 177, 82, 165, 166,
181, 168, 169, 875, 156, 894, 82, 174, 65, 222,
191, 224, 177, 67, 315, 180, 181, 398, 72, 327,
819, 388, 235, 323, 226, 326, 191, 394, 320, 518,
38, 332, 324, 680, 681, 907, 82, 45, 339, 82,
341, 3, 4, 76, 211, 77, 78, 216, 81, 218,
499, 264, 271, 640, 59, 3, 4, 270, 222, 219,
224, 221, 590, 38, 30, 810, 218, 274, 3, 4,
222, 238, 224, 237, 59, 1, 3, 4, 4, 3,
6, 7, 78, 30, 59, 237, 12, 13, 14, 77,
59, 506, 581, 81, 261, 262, 78, 59, 612, 59,
319, 30, 28, 50, 269, 67, 30, 82, 359, 59,
72, 560, 59, 60, 289, 279, 329, 76, 76, 67,
287, 708, 81, 50, 72, 500, 50, 279, 532, 504,
59, 60, 67, 300, 82, 59, 60, 72, 77, 320,
67, 67, 81, 324, 81, 72, 72, 82, 76, 457,
352, 77, 78, 81, 75, 320, 464, 465, 323, 324,
564, 3, 4, 5, 6, 7, 9, 334, 583, 3,
4, 542, 48, 49, 549, 3, 4, 552, 59, 60,
68, 69, 70, 396, 77, 76, 635, 63, 81, 638,
78, 398, 76, 3, 4, 76, 241, 242, 243, 416,
245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
255, 256, 257, 258, 59, 60, 493, 38, 682, 416,
30, 76, 473, 388, 82, 67, 81, 77, 815, 394,
72, 59, 59, 67, 409, 59, 603, 36, 72, 67,
50, 405, 493, 412, 72, 81, 554, 77, 67, 59,
654, 81, 667, 405, 555, 77, 59, 60, 76, 560,
429, 430, 72, 3, 416, 401, 602, 7, 76, 401,
59, 60, 608, 76, 678, 77, 412, 604, 430, 81,
412, 77, 609, 535, 536, 81, 27, 76, 333, 30,
30, 82, 77, 59, 60, 36, 81, 605, 606, 607,
3, 4, 610, 611, 7, 77, 76, 443, 77, 81,
50, 443, 81, 680, 681, 77, 567, 77, 78, 59,
687, 688, 556, 631, 491, 494, 77, 30, 77, 77,
81, 76, 513, 81, 10, 636, 77, 638, 76, 710,
81, 59, 60, 495, 63, 514, 515, 50, 513, 82,
658, 659, 660, 76, 535, 536, 59, 526, 527, 27,
594, 595, 498, 515, 531, 780, 498, 9, 589, 72,
535, 536, 83, 744, 78, 527, 593, 546, 547, 77,
3, 4, 857, 36, 859, 604, 77, 78, 696, 76,
609, 556, 559, 574, 7, 547, 593, 59, 60, 620,
93, 94, 585, 586, 3, 4, 78, 30, 589, 574,
76, 78, 579, 76, 78, 38, 76, 30, 68, 69,
70, 590, 603, 588, 589, 76, 38, 50, 78, 594,
595, 30, 76, 741, 38, 480, 59, 50, 603, 620,
76, 593, 901, 50, 51, 52, 59, 60, 76, 72,
909, 50, 83, 618, 590, 620, 83, 76, 590, 59,
59, 60, 82, 1, 36, 63, 4, 5, 6, 7,
683, 63, 843, 76, 12, 13, 14, 83, 645, 54,
55, 76, 57, 58, 59, 60, 837, 78, 81, 83,
28, 32, 77, 3, 4, 81, 730, 710, 76, 680,
681, 76, 76, 548, 77, 3, 687, 688, 77, 68,
69, 70, 38, 884, 885, 680, 681, 83, 563, 78,
30, 63, 687, 688, 76, 68, 69, 70, 38, 67,
78, 744, 78, 700, 72, 78, 38, 38, 78, 63,
50, 722, 755, 710, 82, 81, 38, 81, 1, 59,
78, 4, 5, 6, 7, 36, 857, 722, 859, 12,
13, 14, 72, 6, 7, 730, 63, 83, 38, 12,
13, 14, 78, 59, 710, 28, 810, 744, 710, 792,
59, 626, 59, 796, 759, 630, 38, 77, 77, 756,
803, 812, 7, 38, 77, 764, 765, 1, 16, 77,
4, 5, 6, 7, 78, 818, 77, 63, 12, 13,
14, 824, 59, 765, 67, 77, 76, 59, 17, 72,
77, 834, 76, 27, 28, 76, 30, 672, 77, 82,
843, 812, 36, 3, 4, 76, 9, 7, 46, 47,
48, 49, 50, 51, 52, 810, 77, 812, 77, 694,
77, 81, 697, 59, 77, 59, 60, 5, 6, 7,
30, 77, 76, 67, 12, 13, 14, 712, 72, 76,
715, 0, 77, 77, 0, 888, 843, 81, 82, 3,
50, 532, 54, 55, 729, 57, 58, 59, 60, 59,
60, 1, 636, 3, 4, 5, 6, 7, 8, 9,
795, 11, 12, 13, 14, 15, 751, 17, 18, 19,
20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
80, 31, 277, 33, 34, 48, 49, 50, 51, 52,
40, 315, 777, 43, 531, 336, 626, 334, 48, 49,
50, 555, 211, 638, 54, 55, 561, 636, 889, 59,
60, 341, 395, 891, 64, 843, 66, 67, 404, 843,
539, 71, 72, 404, 58, 75, 523, 77, 78, 79,
80, 727, 82, 730, 819, 1, 288, 3, 4, 5,
6, 7, 8, 9, 829, 11, 12, 13, 14, 15,
595, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 516, 31, 498, 33, 34, 722,
27, 493, 400, 30, 40, 654, -1, 43, 400, 36,
567, -1, 48, 49, 50, -1, 359, -1, 54, 55,
-1, -1, -1, 59, 60, -1, -1, -1, 64, -1,
66, 67, 59, 60, -1, 71, 72, -1, -1, 75,
-1, 77, -1, 79, 80, 1, 82, 3, 4, -1,
77, -1, 8, 9, 81, 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, 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, -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,
6, 7, 8, 9, -1, 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, -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, -1, -1, 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, 41, 42, 43, 44,
45, 46, 47, 48, 49, 50, 51, 52, -1, -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, 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, 42, 43, 44, 45,
46, 47, 48, 49, 50, 51, 52, -1, -1, -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, 58, 59, 60, -1, -1, -1, 64, -1,
66, 67, -1, -1, -1, 71, 72, -1, -1, 75,
1, -1, 3, 79, 80, -1, 82, 8, 9, 1,
11, -1, 4, 5, 6, 7, -1, -1, -1, -1,
12, 13, 14, -1, -1, -1, -1, -1, 29, -1,
31, -1, 33, 34, -1, 27, 28, -1, 30, 40,
-1, -1, 43, -1, 36, -1, -1, 48, 49, 50,
-1, -1, -1, 54, 55, -1, -1, -1, 59, 60,
-1, -1, -1, 64, -1, 66, -1, 59, 60, -1,
71, -1, -1, -1, 75, 67, -1, -1, 79, 80,
72, 82, -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, 10, 30, 12, 13,
14, -1, -1, 36, 1, -1, -1, 4, 5, 6,
7, -1, -1, -1, 28, 12, 13, 14, 43, 44,
45, 46, 47, 48, 49, 50, 51, 52, -1, -1,
-1, 28, -1, 4, 67, 6, 7, -1, -1, 72,
-1, 12, 13, 14, 77, -1, 3, -1, 81, 82,
-1, 8, 9, 67, 11, -1, -1, 28, 72, 30,
45, 46, 47, 48, 49, 50, 51, 52, 82, -1,
67, -1, 29, -1, 31, 72, 33, 34, -1, 50,
-1, -1, -1, 40, -1, 82, 43, -1, 59, 60,
-1, 48, 49, 50, -1, -1, 67, 54, 55, -1,
-1, 72, 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,
-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, -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, -1, 6, 7,
8, 9, 38, 11, 12, 13, 14, 44, 45, 46,
47, 48, 49, 50, 51, 52, -1, -1, -1, -1,
28, 29, -1, 31, -1, 33, 34, -1, -1, -1,
-1, -1, 40, -1, -1, 43, 72, -1, -1, -1,
48, 49, 50, -1, -1, 81, 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, 4, -1, 6, 7, -1, -1,
-1, 28, 12, 13, 14, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 28, -1,
-1, -1, -1, -1, -1, -1, 1, -1, 3, 4,
5, 6, 7, -1, -1, -1, -1, 12, 13, 14,
67, 68, 69, 70, -1, 72, -1, -1, -1, -1,
77, 78, 27, 28, -1, 30, -1, 67, 68, 69,
70, -1, 72, -1, -1, -1, -1, 77, 78, -1,
-1, -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, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 28, 1,
30, 3, 4, 5, 6, 7, -1, -1, -1, -1,
12, 13, 14, -1, -1, -1, -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, -1, -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, -1, 12,
13, 14, 4, -1, 6, 7, -1, -1, -1, -1,
12, 13, 14, -1, -1, 28, -1, -1, -1, 4,
5, 6, 7, -1, -1, -1, 28, 12, 13, 14,
-1, -1, -1, -1, -1, 67, -1, -1, -1, -1,
72, -1, -1, 28, 76, -1, -1, 4, 5, 6,
7, -1, -1, -1, 67, 12, 13, 14, -1, 72,
-1, -1, -1, 76, -1, 67, -1, -1, -1, -1,
72, 28, -1, -1, -1, 77, 78, -1, -1, -1,
-1, -1, 67, -1, -1, -1, -1, 72, 4, 5,
6, 7, 77, -1, -1, -1, 12, 13, 14, 4,
5, 6, 7, -1, -1, -1, -1, 12, 13, 14,
67, -1, 28, -1, -1, 72, -1, -1, 3, 4,
77, 6, 7, 28, -1, -1, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 27, 28, 29, -1, -1, -1, -1, -1,
-1, 67, -1, 38, -1, -1, 72, -1, -1, -1,
-1, 77, 67, -1, -1, -1, -1, 72, -1, -1,
-1, -1, 77, -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, 4, 5, 6, 7, -1, 72, 10, 38,
12, 13, 14, 4, 5, 6, 7, -1, -1, 10,
-1, 12, 13, 14, -1, -1, 28, -1, -1, -1,
4, 5, 6, 7, -1, -1, -1, 28, 12, 13,
14, -1, -1, 72, -1, -1, -1, 4, 5, 6,
7, -1, -1, -1, 28, 12, 13, 14, 4, -1,
6, 7, -1, -1, -1, 67, 12, 13, 14, -1,
72, 28, -1, -1, -1, 4, 67, 6, 7, -1,
-1, 72, 28, 12, 13, 14, -1, -1, -1, -1,
-1, -1, -1, 67, -1, -1, -1, -1, 72, 28,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
67, -1, -1, -1, -1, 72, -1, -1, -1, 10,
-1, 67, -1, -1, -1, -1, 72, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 67, -1,
-1, -1, -1, 72, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 30, -1, -1, -1, -1, 35, 36, 37,
-1, 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/lib/bison.simple"
/* Skeleton output parser for bison,
Copyright (C) 1984, 1989, 1990 Bob Corbett and Richard Stallman
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef alloca
#ifdef __GNUC__
#define alloca __builtin_alloca
#else /* not GNU C. */
#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi)
#include <alloca.h>
#else /* not sparc */
#if defined (MSDOS) && !defined (__TURBOC__)
#include <malloc.h>
#else /* not MSDOS, or __TURBOC__ */
#if defined(_AIX)
#include <malloc.h>
#pragma alloca
#else /* not MSDOS, __TURBOC__, or _AIX */
#ifdef __hpux
#ifdef __cplusplus
extern "C" {
void *alloca (unsigned int);
};
#else /* not __cplusplus */
void *alloca ();
#endif /* not __cplusplus */
#endif /* __hpux */
#endif /* not _AIX */
#endif /* not MSDOS, or __TURBOC__ */
#endif /* not sparc. */
#endif /* not GNU C. */
#endif /* alloca not defined. */
/* This is the parser code that is written into each bison parser
when the %semantic_parser declaration is not specified in the grammar.
It was written by Richard Stallman by simplifying the hairy parser
used when %semantic_parser is specified. */
/* Note: there must be only one dollar sign in this file.
It is replaced by the list of actions, each action
as one case of the switch. */
#define yyerrok (yyerrstatus = 0)
#define yyclearin (yychar = YYEMPTY)
#define YYEMPTY -2
#define YYEOF 0
#define YYACCEPT return(0)
#define YYABORT return(1)
#define YYERROR goto yyerrlab1
/* Like YYERROR except do call yyerror.
This remains here temporarily to ease the
transition to the new meaning of YYERROR, for GCC.
Once GCC version 2 has supplanted version 1, this can go. */
#define YYFAIL goto yyerrlab
#define YYRECOVERING() (!!yyerrstatus)
#define YYBACKUP(token, value) \
do \
if (yychar == YYEMPTY && yylen == 1) \
{ yychar = (token), yylval = (value); \
yychar1 = YYTRANSLATE (yychar); \
YYPOPSTACK; \
goto yybackup; \
} \
else \
{ yyerror ("syntax error: cannot back up"); YYERROR; } \
while (0)
#define YYTERROR 1
#define YYERRCODE 256
#ifndef YYPURE
#define YYLEX yylex()
#endif
#ifdef YYPURE
#ifdef YYLSP_NEEDED
#define YYLEX yylex(&yylval, &yylloc)
#else
#define YYLEX yylex(&yylval)
#endif
#endif
/* If nonreentrant, generate the variables here */
#ifndef YYPURE
int yychar; /* the lookahead symbol */
YYSTYPE yylval; /* the semantic value of the */
/* lookahead symbol */
#ifdef YYLSP_NEEDED
YYLTYPE yylloc; /* location data for the lookahead */
/* symbol */
#endif
int yynerrs; /* number of parse errors so far */
#endif /* not YYPURE */
#if YYDEBUG != 0
int yydebug; /* nonzero means print parse trace */
/* Since this is uninitialized, it does not stop multiple parsers
from coexisting. */
#endif
/* YYINITDEPTH indicates the initial size of the parser's stacks */
#ifndef YYINITDEPTH
#define YYINITDEPTH 200
#endif
/* YYMAXDEPTH is the maximum size the stacks can grow to
(effective only if the built-in stack extension method is used). */
#if YYMAXDEPTH == 0
#undef YYMAXDEPTH
#endif
#ifndef YYMAXDEPTH
#define YYMAXDEPTH 10000
#endif
/* Prevent warning if -Wstrict-prototypes. */
#ifdef __GNUC__
int yyparse (void);
#endif
#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
#define __yy_bcopy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT)
#else /* not GNU C or C++ */
#ifndef __cplusplus
/* This is the most reliable way to avoid incompatibilities
in available built-in functions on various systems. */
static void
__yy_bcopy (from, to, count)
char *from;
char *to;
int count;
{
register char *f = from;
register char *t = to;
register int i = count;
while (i-- > 0)
*t++ = *f++;
}
#else /* __cplusplus */
/* This is the most reliable way to avoid incompatibilities
in available built-in functions on various systems. */
static void
__yy_bcopy (char *from, char *to, int count)
{
register char *f = from;
register char *t = to;
register int i = count;
while (i-- > 0)
*t++ = *f++;
}
#endif
#endif
#line 184 "/usr/local/lib/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_bcopy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp));
yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp));
__yy_bcopy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp));
#ifdef YYLSP_NEEDED
yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp));
__yy_bcopy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp));
#endif
#endif /* no yyoverflow */
yyssp = yyss + size - 1;
yyvsp = yyvs + size - 1;
#ifdef YYLSP_NEEDED
yylsp = yyls + size - 1;
#endif
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Stack size increased to %d\n", yystacksize);
#endif
if (yyssp >= yyss + yystacksize - 1)
YYABORT;
}
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Entering state %d\n", yystate);
#endif
goto yybackup;
yybackup:
/* Do appropriate processing given the current state. */
/* Read a lookahead token if we need one and don't already have one. */
/* yyresume: */
/* First try to decide what to do without reference to lookahead token. */
yyn = yypact[yystate];
if (yyn == YYFLAG)
goto yydefault;
/* Not known => get a lookahead token if don't already have one. */
/* yychar is either YYEMPTY or YYEOF
or a valid token in external form. */
if (yychar == YYEMPTY)
{
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Reading a token: ");
#endif
yychar = YYLEX;
}
/* Convert token to internal form (in yychar1) for indexing tables with */
if (yychar <= 0) /* This means end of input. */
{
yychar1 = 0;
yychar = YYEOF; /* Don't call YYLEX any more */
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Now at end of input.\n");
#endif
}
else
{
yychar1 = YYTRANSLATE(yychar);
#if YYDEBUG != 0
if (yydebug)
{
fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
/* Give the individual parser a way to print the precise meaning
of a token, for further debugging info. */
#ifdef YYPRINT
YYPRINT (stderr, yychar, yylval);
#endif
fprintf (stderr, ")\n");
}
#endif
}
yyn += yychar1;
if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
goto yydefault;
yyn = yytable[yyn];
/* yyn is what to do for this token type in this state.
Negative => reduce, -yyn is rule number.
Positive => shift, yyn is new state.
New state is final state => don't bother to shift,
just return success.
0, or most negative number => error. */
if (yyn < 0)
{
if (yyn == YYFLAG)
goto yyerrlab;
yyn = -yyn;
goto yyreduce;
}
else if (yyn == 0)
goto yyerrlab;
if (yyn == YYFINAL)
YYACCEPT;
/* Shift the lookahead token. */
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
#endif
/* Discard the token being shifted unless it is eof. */
if (yychar != YYEOF)
yychar = YYEMPTY;
*++yyvsp = yylval;
#ifdef YYLSP_NEEDED
*++yylsp = yylloc;
#endif
/* count tokens shifted since error; after three, turn off error status. */
if (yyerrstatus) yyerrstatus--;
yystate = yyn;
goto yynewstate;
/* Do the default action for the current state. */
yydefault:
yyn = yydefact[yystate];
if (yyn == 0)
goto yyerrlab;
/* Do a reduction. yyn is the number of a rule to reduce with. */
yyreduce:
yylen = yyr2[yyn];
if (yylen > 0)
yyval = yyvsp[1-yylen]; /* implement default value of the action */
#if YYDEBUG != 0
if (yydebug)
{
int i;
fprintf (stderr, "Reducing via rule %d (line %d), ",
yyn, yyrline[yyn]);
/* Print the symbols being reduced, and their result. */
for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
fprintf (stderr, "%s ", yytname[yyrhs[i]]);
fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
}
#endif
switch (yyn) {
case 1:
#line 233 "objc-parse.y"
{ if (pedantic)
pedwarn ("ANSI C forbids an empty source file");
finish_file ();
;
break;}
case 2:
#line 238 "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 252 "objc-parse.y"
{yyval.ttype = NULL_TREE; ;
break;}
case 5:
#line 253 "objc-parse.y"
{yyval.ttype = NULL_TREE; ;
break;}
case 10:
#line 261 "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 272 "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 12:
#line 282 "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 13:
#line 287 "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 292 "objc-parse.y"
{ pedwarn ("empty declaration"); ;
break;}
case 15:
#line 294 "objc-parse.y"
{ shadow_tag (yyvsp[-1].ttype); ;
break;}
case 18:
#line 298 "objc-parse.y"
{ if (pedantic)
pedwarn ("ANSI C does not allow extra `;' outside of a function"); ;
break;}
case 19:
#line 304 "objc-parse.y"
{ if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, prefix_attributes,
NULL_TREE, 0))
YYERROR1;
reinit_parse_for_function (); ;
break;}
case 20:
#line 309 "objc-parse.y"
{ store_parm_decls (); ;
break;}
case 21:
#line 311 "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 22:
#line 317 "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 23:
#line 322 "objc-parse.y"
{ if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, prefix_attributes,
NULL_TREE, 0))
YYERROR1;
reinit_parse_for_function (); ;
break;}
case 24:
#line 327 "objc-parse.y"
{ store_parm_decls (); ;
break;}
case 25:
#line 329 "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 26:
#line 335 "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 27:
#line 340 "objc-parse.y"
{ if (! start_function (NULL_TREE, yyvsp[0].ttype,
prefix_attributes, NULL_TREE, 0))
YYERROR1;
reinit_parse_for_function (); ;
break;}
case 28:
#line 345 "objc-parse.y"
{ store_parm_decls (); ;
break;}
case 29:
#line 347 "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 30:
#line 353 "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 35:
#line 367 "objc-parse.y"
{ yyval.code = ADDR_EXPR; ;
break;}
case 36:
#line 369 "objc-parse.y"
{ yyval.code = NEGATE_EXPR; ;
break;}
case 37:
#line 371 "objc-parse.y"
{ yyval.code = CONVERT_EXPR; ;
break;}
case 38:
#line 373 "objc-parse.y"
{ yyval.code = PREINCREMENT_EXPR; ;
break;}
case 39:
#line 375 "objc-parse.y"
{ yyval.code = PREDECREMENT_EXPR; ;
break;}
case 40:
#line 377 "objc-parse.y"
{ yyval.code = BIT_NOT_EXPR; ;
break;}
case 41:
#line 379 "objc-parse.y"
{ yyval.code = TRUTH_NOT_EXPR; ;
break;}
case 42:
#line 383 "objc-parse.y"
{ yyval.ttype = build_compound_expr (yyvsp[0].ttype); ;
break;}
case 43:
#line 388 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 45:
#line 394 "objc-parse.y"
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
break;}
case 46:
#line 396 "objc-parse.y"
{ chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
break;}
case 48:
#line 402 "objc-parse.y"
{ yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ;
break;}
case 49:
#line 405 "objc-parse.y"
{ yyvsp[0].itype = pedantic;
pedantic = 0; ;
break;}
case 50:
#line 408 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
pedantic = yyvsp[-2].itype; ;
break;}
case 51:
#line 411 "objc-parse.y"
{ yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0);
overflow_warning (yyval.ttype); ;
break;}
case 52:
#line 415 "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 443 "objc-parse.y"
{ if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF
&& DECL_BIT_FIELD (TREE_OPERAND (yyvsp[0].ttype, 1)))
error ("`sizeof' applied to a bit-field");
yyval.ttype = c_sizeof (TREE_TYPE (yyvsp[0].ttype)); ;
break;}
case 54:
#line 448 "objc-parse.y"
{ yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ;
break;}
case 55:
#line 450 "objc-parse.y"
{ yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ;
break;}
case 56:
#line 452 "objc-parse.y"
{ yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ;
break;}
case 57:
#line 454 "objc-parse.y"
{ yyval.ttype = build_unary_op (REALPART_EXPR, yyvsp[0].ttype, 0); ;
break;}
case 58:
#line 456 "objc-parse.y"
{ yyval.ttype = build_unary_op (IMAGPART_EXPR, yyvsp[0].ttype, 0); ;
break;}
case 60:
#line 462 "objc-parse.y"
{ tree type = groktypename (yyvsp[-2].ttype);
yyval.ttype = build_c_cast (type, yyvsp[0].ttype); ;
break;}
case 61:
#line 465 "objc-parse.y"
{ start_init (NULL_TREE, NULL, 0);
yyvsp[-2].ttype = groktypename (yyvsp[-2].ttype);
really_start_incremental_init (yyvsp[-2].ttype); ;
break;}
case 62:
#line 469 "objc-parse.y"
{ char *name;
tree result = pop_init_level (0);
tree type = yyvsp[-5].ttype;
finish_init ();
if (pedantic)
pedwarn ("ANSI C forbids constructor expressions");
if (TYPE_NAME (type) != 0)
{
if (TREE_CODE (TYPE_NAME (type)) == IDENTIFIER_NODE)
name = IDENTIFIER_POINTER (TYPE_NAME (type));
else
name = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (type)));
}
else
name = "";
yyval.ttype = result;
if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == 0)
{
int failure = complete_array_type (type, yyval.ttype, 1);
if (failure)
abort ();
}
;
break;}
case 64:
#line 498 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 65:
#line 500 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 66:
#line 502 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 67:
#line 504 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 68:
#line 506 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 69:
#line 508 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 70:
#line 510 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 71:
#line 512 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 72:
#line 514 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 73:
#line 516 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 74:
#line 518 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 75:
#line 520 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 76:
#line 522 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 77:
#line 524 "objc-parse.y"
{ yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 78:
#line 526 "objc-parse.y"
{ yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 79:
#line 528 "objc-parse.y"
{ yyval.ttype = build_modify_expr (yyvsp[-2].ttype, NOP_EXPR, yyvsp[0].ttype);
C_SET_EXP_ORIGINAL_CODE (yyval.ttype, MODIFY_EXPR); ;
break;}
case 80:
#line 531 "objc-parse.y"
{ yyval.ttype = build_modify_expr (yyvsp[-2].ttype, yyvsp[-1].code, yyvsp[0].ttype);
/* This inhibits warnings in truthvalue_conversion. */
C_SET_EXP_ORIGINAL_CODE (yyval.ttype, ERROR_MARK); ;
break;}
case 81:
#line 538 "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 83:
#line 698 "objc-parse.y"
{ yyval.ttype = combine_strings (yyvsp[0].ttype); ;
break;}
case 84:
#line 700 "objc-parse.y"
{ char class = TREE_CODE_CLASS (TREE_CODE (yyvsp[-1].ttype));
if (class == 'e' || class == '1'
|| class == '2' || class == '<')
C_SET_EXP_ORIGINAL_CODE (yyvsp[-1].ttype, ERROR_MARK);
yyval.ttype = yyvsp[-1].ttype; ;
break;}
case 85:
#line 706 "objc-parse.y"
{ yyval.ttype = error_mark_node; ;
break;}
case 86:
#line 708 "objc-parse.y"
{ if (current_function_decl == 0)
{
error ("braced-group within expression allowed only inside a function");
YYERROR;
}
/* We must force a BLOCK for this level
so that, if it is not expanded later,
there is a way to turn off the entire subtree of blocks
that are contained in it. */
keep_next_level ();
push_iterator_stack ();
push_label_level ();
yyval.ttype = expand_start_stmt_expr (); ;
break;}
case 87:
#line 722 "objc-parse.y"
{ tree rtl_exp;
if (pedantic)
pedwarn ("ANSI C forbids braced-groups within expressions");
pop_iterator_stack ();
pop_label_level ();
rtl_exp = expand_end_stmt_expr (yyvsp[-2].ttype);
/* The statements have side effects, so the group does. */
TREE_SIDE_EFFECTS (rtl_exp) = 1;
if (TREE_CODE (yyvsp[-1].ttype) == BLOCK)
{
/* Make a BIND_EXPR for the BLOCK already made. */
yyval.ttype = build (BIND_EXPR, TREE_TYPE (rtl_exp),
NULL_TREE, rtl_exp, yyvsp[-1].ttype);
/* Remove the block from the tree at this point.
It gets put back at the proper place
when the BIND_EXPR is expanded. */
delete_block (yyvsp[-1].ttype);
}
else
yyval.ttype = yyvsp[-1].ttype;
;
break;}
case 88:
#line 745 "objc-parse.y"
{ yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 89:
#line 747 "objc-parse.y"
{ yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 90:
#line 749 "objc-parse.y"
{
if (doing_objc_thang)
{
if (is_public (yyvsp[-2].ttype, yyvsp[0].ttype))
yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype);
else
yyval.ttype = error_mark_node;
}
else
yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype);
;
break;}
case 91:
#line 761 "objc-parse.y"
{
tree expr = build_indirect_ref (yyvsp[-2].ttype, "->");
if (doing_objc_thang)
{
if (is_public (expr, yyvsp[0].ttype))
yyval.ttype = build_component_ref (expr, yyvsp[0].ttype);
else
yyval.ttype = error_mark_node;
}
else
yyval.ttype = build_component_ref (expr, yyvsp[0].ttype);
;
break;}
case 92:
#line 775 "objc-parse.y"
{ yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ;
break;}
case 93:
#line 777 "objc-parse.y"
{ yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ;
break;}
case 94:
#line 779 "objc-parse.y"
{ yyval.ttype = build_message_expr (yyvsp[0].ttype); ;
break;}
case 95:
#line 781 "objc-parse.y"
{ yyval.ttype = build_selector_expr (yyvsp[0].ttype); ;
break;}
case 96:
#line 783 "objc-parse.y"
{ yyval.ttype = build_protocol_expr (yyvsp[0].ttype); ;
break;}
case 97:
#line 785 "objc-parse.y"
{ yyval.ttype = build_encode_expr (yyvsp[0].ttype); ;
break;}
case 98:
#line 787 "objc-parse.y"
{ yyval.ttype = build_objc_string_object (yyvsp[0].ttype); ;
break;}
case 100:
#line 794 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 102:
#line 802 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 105:
#line 810 "objc-parse.y"
{ c_mark_varargs ();
if (pedantic)
pedwarn ("ANSI C does not permit use of `varargs.h'"); ;
break;}
case 106:
#line 820 "objc-parse.y"
{ ;
break;}
case 111:
#line 832 "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 112:
#line 837 "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 113:
#line 842 "objc-parse.y"
{ shadow_tag_warned (yyvsp[-1].ttype, 1);
pedwarn ("empty declaration"); ;
break;}
case 114:
#line 845 "objc-parse.y"
{ pedwarn ("empty declaration"); ;
break;}
case 115:
#line 854 "objc-parse.y"
{ ;
break;}
case 120:
#line 869 "objc-parse.y"
{ yyval.itype = suspend_momentary ();
pending_xref_error ();
declspec_stack = tree_cons (prefix_attributes,
current_declspecs,
declspec_stack);
current_declspecs = yyvsp[0].ttype;
prefix_attributes = NULL_TREE; ;
break;}
case 121:
#line 879 "objc-parse.y"
{ prefix_attributes = chainon (prefix_attributes, yyvsp[0].ttype); ;
break;}
case 122:
#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 123:
#line 889 "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 124:
#line 894 "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 125:
#line 899 "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 126:
#line 904 "objc-parse.y"
{ shadow_tag (yyvsp[-1].ttype); ;
break;}
case 127:
#line 906 "objc-parse.y"
{ pedwarn ("empty declaration"); ;
break;}
case 128:
#line 915 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 129:
#line 917 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
break;}
case 130:
#line 921 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 131:
#line 923 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 132:
#line 925 "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 133:
#line 937 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE);
TREE_STATIC (yyval.ttype) = 1; ;
break;}
case 134:
#line 940 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 135:
#line 942 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype);
TREE_STATIC (yyval.ttype) = 1; ;
break;}
case 136:
#line 945 "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 137:
#line 959 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 138:
#line 961 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
break;}
case 139:
#line 965 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 140:
#line 967 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 143:
#line 977 "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 144:
#line 981 "objc-parse.y"
{ yyval.ttype = get_static_reference (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 145:
#line 983 "objc-parse.y"
{ yyval.ttype = get_object_reference (yyvsp[0].ttype); ;
break;}
case 146:
#line 985 "objc-parse.y"
{ yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); ;
break;}
case 147:
#line 987 "objc-parse.y"
{ yyval.ttype = groktypename (yyvsp[-1].ttype); ;
break;}
case 155:
#line 1009 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 156:
#line 1011 "objc-parse.y"
{ if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype);
yyval.ttype = yyvsp[-1].ttype;
;
break;}
case 157:
#line 1018 "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 158:
#line 1023 "objc-parse.y"
{ finish_init ();
finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
break;}
case 159:
#line 1026 "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 160:
#line 1034 "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 161:
#line 1039 "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 162:
#line 1043 "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 163:
#line 1051 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 164:
#line 1053 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 165:
#line 1058 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 166:
#line 1060 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 167:
#line 1065 "objc-parse.y"
{ yyval.ttype = yyvsp[-2].ttype; ;
break;}
case 168:
#line 1070 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 169:
#line 1072 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 170:
#line 1077 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 171:
#line 1079 "objc-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[0].ttype, NULL_TREE); ;
break;}
case 172:
#line 1081 "objc-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, build_tree_list (NULL_TREE, yyvsp[-1].ttype)); ;
break;}
case 173:
#line 1083 "objc-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-5].ttype, tree_cons (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype)); ;
break;}
case 174:
#line 1085 "objc-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 180:
#line 1103 "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 181:
#line 1108 "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 182:
#line 1116 "objc-parse.y"
{ yyval.ttype = error_mark_node; ;
break;}
case 183:
#line 1122 "objc-parse.y"
{ if (pedantic)
pedwarn ("ANSI C forbids empty initializer braces"); ;
break;}
case 187:
#line 1136 "objc-parse.y"
{ process_init_element (yyvsp[0].ttype); ;
break;}
case 188:
#line 1138 "objc-parse.y"
{ push_init_level (0); ;
break;}
case 189:
#line 1140 "objc-parse.y"
{ process_init_element (pop_init_level (0)); ;
break;}
case 191:
#line 1146 "objc-parse.y"
{ set_init_label (yyvsp[-1].ttype); ;
break;}
case 193:
#line 1149 "objc-parse.y"
{ set_init_label (yyvsp[-1].ttype); ;
break;}
case 195:
#line 1155 "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 196:
#line 1164 "objc-parse.y"
{ store_parm_decls (); ;
break;}
case 197:
#line 1172 "objc-parse.y"
{ finish_function (1);
pop_c_function_context (); ;
break;}
case 198:
#line 1178 "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 199:
#line 1187 "objc-parse.y"
{ store_parm_decls (); ;
break;}
case 200:
#line 1195 "objc-parse.y"
{ finish_function (1);
pop_c_function_context (); ;
break;}
case 203:
#line 1211 "objc-parse.y"
{ yyval.ttype = yyvsp[-1].ttype; ;
break;}
case 204:
#line 1213 "objc-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 205:
#line 1218 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 206:
#line 1220 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
break;}
case 207:
#line 1222 "objc-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 208:
#line 1224 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 211:
#line 1236 "objc-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 212:
#line 1241 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 213:
#line 1243 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
break;}
case 214:
#line 1245 "objc-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 215:
#line 1247 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 217:
#line 1256 "objc-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 218:
#line 1261 "objc-parse.y"
{ yyval.ttype = yyvsp[-1].ttype; ;
break;}
case 219:
#line 1263 "objc-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 220:
#line 1265 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 221:
#line 1267 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
break;}
case 222:
#line 1269 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 224:
#line 1275 "objc-parse.y"
{ yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype);
/* Start scope of tag before parsing components. */
;
break;}
case 225:
#line 1279 "objc-parse.y"
{ yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 226:
#line 1281 "objc-parse.y"
{ yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE),
yyvsp[-2].ttype, yyvsp[0].ttype);
;
break;}
case 227:
#line 1285 "objc-parse.y"
{ yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ;
break;}
case 228:
#line 1287 "objc-parse.y"
{ yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ;
break;}
case 229:
#line 1289 "objc-parse.y"
{ yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 230:
#line 1291 "objc-parse.y"
{ yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE),
yyvsp[-2].ttype, yyvsp[0].ttype);
;
break;}
case 231:
#line 1295 "objc-parse.y"
{ yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ;
break;}
case 232:
#line 1297 "objc-parse.y"
{ yyvsp[0].itype = suspend_momentary ();
yyval.ttype = start_enum (yyvsp[-1].ttype); ;
break;}
case 233:
#line 1300 "objc-parse.y"
{ yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), yyvsp[0].ttype);
resume_momentary (yyvsp[-5].itype); ;
break;}
case 234:
#line 1303 "objc-parse.y"
{ yyvsp[0].itype = suspend_momentary ();
yyval.ttype = start_enum (NULL_TREE); ;
break;}
case 235:
#line 1306 "objc-parse.y"
{ yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), yyvsp[0].ttype);
resume_momentary (yyvsp[-5].itype); ;
break;}
case 236:
#line 1309 "objc-parse.y"
{ yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); ;
break;}
case 240:
#line 1320 "objc-parse.y"
{ if (pedantic) pedwarn ("comma at end of enumerator list"); ;
break;}
case 241:
#line 1325 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 242:
#line 1327 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
pedwarn ("no semicolon at end of struct or union"); ;
break;}
case 243:
#line 1332 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 244:
#line 1334 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ;
break;}
case 245:
#line 1336 "objc-parse.y"
{ if (pedantic)
pedwarn ("extra semicolon in struct or union specified"); ;
break;}
case 246:
#line 1340 "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 247:
#line 1365 "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 248:
#line 1371 "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 249:
#line 1376 "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 250:
#line 1382 "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 251:
#line 1387 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 253:
#line 1393 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 254:
#line 1398 "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 255:
#line 1402 "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 256:
#line 1405 "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 258:
#line 1417 "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 259:
#line 1422 "objc-parse.y"
{ yyval.ttype = error_mark_node; ;
break;}
case 260:
#line 1428 "objc-parse.y"
{ yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ;
break;}
case 261:
#line 1430 "objc-parse.y"
{ yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 262:
#line 1435 "objc-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 263:
#line 1437 "objc-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 264:
#line 1442 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 266:
#line 1448 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 267:
#line 1450 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 268:
#line 1455 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 269:
#line 1457 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
break;}
case 270:
#line 1462 "objc-parse.y"
{ yyval.ttype = yyvsp[-1].ttype; ;
break;}
case 271:
#line 1465 "objc-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
break;}
case 272:
#line 1467 "objc-parse.y"
{ yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ;
break;}
case 273:
#line 1469 "objc-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 274:
#line 1471 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 275:
#line 1473 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
break;}
case 276:
#line 1475 "objc-parse.y"
{ yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
break;}
case 277:
#line 1477 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ;
break;}
case 278:
#line 1479 "objc-parse.y"
{ yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ;
break;}
case 279:
#line 1481 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 280:
#line 1490 "objc-parse.y"
{
if (pedantic && yyvsp[0].ends_in_label)
pedwarn ("ANSI C forbids label at end of compound statement");
;
break;}
case 282:
#line 1499 "objc-parse.y"
{ yyval.ends_in_label = yyvsp[0].ends_in_label; ;
break;}
case 283:
#line 1501 "objc-parse.y"
{ yyval.ends_in_label = 0; ;
break;}
case 287:
#line 1513 "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 289:
#line 1528 "objc-parse.y"
{ if (pedantic)
pedwarn ("ANSI C forbids label declarations"); ;
break;}
case 292:
#line 1539 "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 293:
#line 1553 "objc-parse.y"
{;
break;}
case 295:
#line 1558 "objc-parse.y"
{ yyval.ttype = convert (void_type_node, integer_zero_node); ;
break;}
case 296:
#line 1560 "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 297:
#line 1568 "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 298:
#line 1576 "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 301:
#line 1596 "objc-parse.y"
{ emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
expand_start_cond (truthvalue_conversion (yyvsp[-1].ttype), 0);
yyval.itype = stmt_count;
if_stmt_file = yyvsp[-5].filename;
if_stmt_line = yyvsp[-4].lineno;
position_after_white_space (); ;
break;}
case 302:
#line 1609 "objc-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno);
/* See comment in `while' alternative, above. */
emit_nop ();
expand_start_loop_continue_elsewhere (1);
position_after_white_space (); ;
break;}
case 303:
#line 1616 "objc-parse.y"
{ expand_loop_continue_here (); ;
break;}
case 304:
#line 1620 "objc-parse.y"
{ yyval.filename = input_filename; ;
break;}
case 305:
#line 1624 "objc-parse.y"
{ yyval.lineno = lineno; ;
break;}
case 306:
#line 1629 "objc-parse.y"
{ ;
break;}
case 307:
#line 1634 "objc-parse.y"
{ ;
break;}
case 308:
#line 1639 "objc-parse.y"
{ yyval.ends_in_label = yyvsp[0].ends_in_label; ;
break;}
case 309:
#line 1644 "objc-parse.y"
{ yyval.ends_in_label = 0; ;
break;}
case 310:
#line 1646 "objc-parse.y"
{ yyval.ends_in_label = 1; ;
break;}
case 311:
#line 1652 "objc-parse.y"
{ stmt_count++; ;
break;}
case 313:
#line 1655 "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 314:
#line 1672 "objc-parse.y"
{ expand_start_else ();
yyvsp[-1].itype = stmt_count;
position_after_white_space (); ;
break;}
case 315:
#line 1676 "objc-parse.y"
{ expand_end_cond ();
if (extra_warnings && stmt_count == yyvsp[-3].itype)
warning ("empty body in an else-statement"); ;
break;}
case 316:
#line 1680 "objc-parse.y"
{ expand_end_cond ();
/* This warning is here instead of in simple_if, because we
do not want a warning if an empty if is followed by an
else statement. 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 317:
#line 1692 "objc-parse.y"
{ expand_end_cond (); ;
break;}
case 318:
#line 1694 "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 319:
#line 1704 "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 320:
#line 1713 "objc-parse.y"
{ expand_end_loop (); ;
break;}
case 321:
#line 1716 "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 322:
#line 1723 "objc-parse.y"
{ expand_end_loop ();
clear_momentary (); ;
break;}
case 323:
#line 1727 "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 324:
#line 1739 "objc-parse.y"
{ yyvsp[0].lineno = lineno;
yyval.filename = input_filename; ;
break;}
case 325:
#line 1742 "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 326:
#line 1758 "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 327:
#line 1769 "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 328:
#line 1777 "objc-parse.y"
{ expand_end_case (yyvsp[-3].ttype);
if (yychar == CONSTANT || yychar == STRING)
pop_momentary_nofree ();
else
pop_momentary (); ;
break;}
case 329:
#line 1783 "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 330:
#line 1788 "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 331:
#line 1793 "objc-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
c_expand_return (NULL_TREE); ;
break;}
case 332:
#line 1797 "objc-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno);
c_expand_return (yyvsp[-1].ttype); ;
break;}
case 333:
#line 1801 "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 334:
#line 1812 "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 335:
#line 1819 "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 336:
#line 1827 "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 337:
#line 1833 "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 338:
#line 1844 "objc-parse.y"
{ stmt_count++;
emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
expand_computed_goto (convert (ptr_type_node, yyvsp[-1].ttype)); ;
break;}
case 341:
#line 1857 "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 342:
#line 1878 "objc-parse.y"
{
if (yyvsp[-1].itype)
iterator_for_loop_end (yyvsp[-3].ttype);
;
break;}
case 343:
#line 1913 "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 344:
#line 1938 "objc-parse.y"
{ register tree value1 = check_case_value (yyvsp[-3].ttype);
register tree value2 = check_case_value (yyvsp[-1].ttype);
register tree label
= build_decl (LABEL_DECL, NULL_TREE, NULL_TREE);
stmt_count++;
if (value1 != error_mark_node && value2 != error_mark_node)
{
tree duplicate;
int success = pushcase_range (value1, value2,
convert_and_check, label,
&duplicate);
if (success == 1)
error ("case label not within a switch statement");
else if (success == 2)
{
error ("duplicate case value");
error_with_decl (duplicate, "this is the first entry for that value");
}
else if (success == 3)
warning ("case value out of range");
else if (success == 4)
warning ("empty case range");
else if (success == 5)
error ("case label within scope of cleanup or variable array");
}
position_after_white_space (); ;
break;}
case 345:
#line 1967 "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 346:
#line 1982 "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 347:
#line 1994 "objc-parse.y"
{ emit_line_note (input_filename, lineno);
yyval.ttype = NULL_TREE; ;
break;}
case 348:
#line 1997 "objc-parse.y"
{ emit_line_note (input_filename, lineno); ;
break;}
case 349:
#line 2002 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 351:
#line 2009 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 354:
#line 2016 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
break;}
case 355:
#line 2021 "objc-parse.y"
{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
break;}
case 356:
#line 2026 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), NULL_TREE); ;
break;}
case 357:
#line 2028 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), yyvsp[-2].ttype); ;
break;}
case 358:
#line 2034 "objc-parse.y"
{ pushlevel (0);
clear_parm_order ();
declare_parm_level (0); ;
break;}
case 359:
#line 2038 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
parmlist_tags_warning ();
poplevel (0, 0, 0); ;
break;}
case 361:
#line 2046 "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 362:
#line 2054 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype; ;
break;}
case 363:
#line 2056 "objc-parse.y"
{ yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ;
break;}
case 364:
#line 2062 "objc-parse.y"
{ yyval.ttype = get_parm_info (0); ;
break;}
case 365:
#line 2064 "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 366:
#line 2074 "objc-parse.y"
{ yyval.ttype = get_parm_info (1); ;
break;}
case 367:
#line 2076 "objc-parse.y"
{ yyval.ttype = get_parm_info (0); ;
break;}
case 368:
#line 2081 "objc-parse.y"
{ push_parm_decl (yyvsp[0].ttype); ;
break;}
case 369:
#line 2083 "objc-parse.y"
{ push_parm_decl (yyvsp[0].ttype); ;
break;}
case 370:
#line 2090 "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 371:
#line 2099 "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 372:
#line 2108 "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 373:
#line 2117 "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 374:
#line 2127 "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 375:
#line 2141 "objc-parse.y"
{ pushlevel (0);
clear_parm_order ();
declare_parm_level (1); ;
break;}
case 376:
#line 2145 "objc-parse.y"
{ yyval.ttype = yyvsp[0].ttype;
parmlist_tags_warning ();
poplevel (0, 0, 0); ;
break;}
case 378:
#line 2153 "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 379:
#line 2163 "objc-parse.y"
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
break;}
case 380:
#line 2165 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
break;}
case 381:
#line 2171 "objc-parse.y"
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
break;}
case 382:
#line 2173 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
break;}
case 388:
#line 2185 "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 389:
#line 2200 "objc-parse.y"
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
break;}
case 390:
#line 2202 "objc-parse.y"
{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
break;}
case 391:
#line 2207 "objc-parse.y"
{
objc_declare_class (yyvsp[-1].ttype);
;
break;}
case 392:
#line 2213 "objc-parse.y"
{
objc_declare_alias (yyvsp[-2].ttype, yyvsp[-1].ttype);
;
break;}
case 393:
#line 2219 "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 394:
#line 2225 "objc-parse.y"
{
continue_class (objc_interface_context);
;
break;}
case 395:
#line 2230 "objc-parse.y"
{
finish_class (objc_interface_context);
objc_interface_context = NULL_TREE;
;
break;}
case 396:
#line 2236 "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 397:
#line 2243 "objc-parse.y"
{
finish_class (objc_interface_context);
objc_interface_context = NULL_TREE;
;
break;}
case 398:
#line 2249 "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 399:
#line 2255 "objc-parse.y"
{
continue_class (objc_interface_context);
;
break;}
case 400:
#line 2260 "objc-parse.y"
{
finish_class (objc_interface_context);
objc_interface_context = NULL_TREE;
;
break;}
case 401:
#line 2266 "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 402:
#line 2273 "objc-parse.y"
{
finish_class (objc_interface_context);
objc_interface_context = NULL_TREE;
;
break;}
case 403:
#line 2279 "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 404:
#line 2285 "objc-parse.y"
{
objc_ivar_chain
= continue_class (objc_implementation_context);
;
break;}
case 405:
#line 2291 "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 406:
#line 2299 "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 407:
#line 2305 "objc-parse.y"
{
objc_ivar_chain
= continue_class (objc_implementation_context);
;
break;}
case 408:
#line 2311 "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 409:
#line 2319 "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 410:
#line 2326 "objc-parse.y"
{
finish_class (objc_interface_context);
objc_interface_context = NULL_TREE;
;
break;}
case 411:
#line 2332 "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 412:
#line 2342 "objc-parse.y"
{
remember_protocol_qualifiers ();
objc_interface_context
= start_protocol(PROTOCOL_INTERFACE_TYPE, yyvsp[-1].ttype, yyvsp[0].ttype);
;
break;}
case 413:
#line 2348 "objc-parse.y"
{
forget_protocol_qualifiers();
finish_protocol(objc_interface_context);
objc_interface_context = NULL_TREE;
;
break;}
case 414:
#line 2357 "objc-parse.y"
{
yyval.ttype = NULL_TREE;
;
break;}
case 415:
#line 2361 "objc-parse.y"
{
if (yyvsp[-2].code == LT_EXPR && yyvsp[0].code == GT_EXPR)
yyval.ttype = yyvsp[-1].ttype;
else
YYERROR1;
;
break;}
case 418:
#line 2375 "objc-parse.y"
{ objc_public_flag = 2; ;
break;}
case 419:
#line 2376 "objc-parse.y"
{ objc_public_flag = 0; ;
break;}
case 420:
#line 2377 "objc-parse.y"
{ objc_public_flag = 1; ;
break;}
case 421:
#line 2382 "objc-parse.y"
{
yyval.ttype = NULL_TREE;
;
break;}
case 423:
#line 2387 "objc-parse.y"
{
if (pedantic)
pedwarn ("extra semicolon in struct or union specified");
;
break;}
case 424:
#line 2405 "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 425:
#line 2411 "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 426:
#line 2417 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 427:
#line 2422 "objc-parse.y"
{ yyval.ttype = NULL_TREE; ;
break;}
case 430:
#line 2429 "objc-parse.y"
{
yyval.ttype = add_instance_variable (objc_ivar_context,
objc_public_flag,
yyvsp[0].ttype, current_declspecs,
NULL_TREE);
;
break;}
case 431:
#line 2436 "objc-parse.y"
{
yyval.ttype = add_instance_variable (objc_ivar_context,
objc_public_flag,
yyvsp[-2].ttype, current_declspecs, yyvsp[0].ttype);
;
break;}
case 432:
#line 2442 "objc-parse.y"
{
yyval.ttype = add_instance_variable (objc_ivar_context,
objc_public_flag,
NULL_TREE,
current_declspecs, yyvsp[0].ttype);
;
break;}
case 433:
#line 2452 "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 434:
#line 2460 "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 435:
#line 2467 "objc-parse.y"
{
continue_method_def ();
;
break;}
case 436:
#line 2471 "objc-parse.y"
{
finish_method_def ();
objc_method_context = NULL_TREE;
;
break;}
case 437:
#line 2477 "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 438:
#line 2485 "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 439:
#line 2492 "objc-parse.y"
{
continue_method_def ();
;
break;}
case 440:
#line 2496 "objc-parse.y"
{
finish_method_def ();
objc_method_context = NULL_TREE;
;
break;}
case 442:
#line 2508 "objc-parse.y"
{yyval.ttype = NULL_TREE; ;
break;}
case 447:
#line 2515 "objc-parse.y"
{yyval.ttype = NULL_TREE; ;
break;}
case 451:
#line 2525 "objc-parse.y"
{
objc_inherit_code = CLASS_METHOD_DECL;
;
break;}
case 452:
#line 2529 "objc-parse.y"
{
add_class_method (objc_interface_context, yyvsp[0].ttype);
;
break;}
case 454:
#line 2535 "objc-parse.y"
{
objc_inherit_code = INSTANCE_METHOD_DECL;
;
break;}
case 455:
#line 2539 "objc-parse.y"
{
add_instance_method (objc_interface_context, yyvsp[0].ttype);
;
break;}
case 457:
#line 2547 "objc-parse.y"
{
yyval.ttype = build_method_decl (objc_inherit_code, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE);
;
break;}
case 458:
#line 2552 "objc-parse.y"
{
yyval.ttype = build_method_decl (objc_inherit_code, NULL_TREE, yyvsp[0].ttype, NULL_TREE);
;
break;}
case 459:
#line 2557 "objc-parse.y"
{
yyval.ttype = build_method_decl (objc_inherit_code, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype);
;
break;}
case 460:
#line 2562 "objc-parse.y"
{
yyval.ttype = build_method_decl (objc_inherit_code, NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype);
;
break;}
case 469:
#line 2592 "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 470:
#line 2597 "objc-parse.y"
{ shadow_tag (yyvsp[-1].ttype); ;
break;}
case 471:
#line 2599 "objc-parse.y"
{ pedwarn ("empty declaration"); ;
break;}
case 472:
#line 2604 "objc-parse.y"
{ push_parm_decl (yyvsp[0].ttype); ;
break;}
case 473:
#line 2606 "objc-parse.y"
{ push_parm_decl (yyvsp[0].ttype); ;
break;}
case 474:
#line 2614 "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 475:
#line 2619 "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 476:
#line 2624 "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 477:
#line 2632 "objc-parse.y"
{
yyval.ttype = NULL_TREE;
;
break;}
case 478:
#line 2636 "objc-parse.y"
{
/* oh what a kludge! */
yyval.ttype = (tree)1;
;
break;}
case 479:
#line 2641 "objc-parse.y"
{
pushlevel (0);
;
break;}
case 480:
#line 2645 "objc-parse.y"
{
/* returns a tree list node generated by get_parm_info */
yyval.ttype = yyvsp[0].ttype;
poplevel (0, 0, 0);
;
break;}
case 483:
#line 2660 "objc-parse.y"
{
yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
;
break;}
case 488:
#line 2673 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 489:
#line 2674 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 490:
#line 2675 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 491:
#line 2676 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 492:
#line 2677 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 493:
#line 2678 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 494:
#line 2679 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 495:
#line 2680 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 496:
#line 2681 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 497:
#line 2682 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 498:
#line 2683 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 499:
#line 2684 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 500:
#line 2685 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 501:
#line 2686 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 502:
#line 2687 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 503:
#line 2688 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 504:
#line 2689 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 505:
#line 2690 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 506:
#line 2691 "objc-parse.y"
{ yyval.ttype = get_identifier (token_buffer); ;
break;}
case 509:
#line 2697 "objc-parse.y"
{
yyval.ttype = build_keyword_decl (yyvsp[-5].ttype, yyvsp[-2].ttype, yyvsp[0].ttype);
;
break;}
case 510:
#line 2702 "objc-parse.y"
{
yyval.ttype = build_keyword_decl (yyvsp[-2].ttype, NULL_TREE, yyvsp[0].ttype);
;
break;}
case 511:
#line 2707 "objc-parse.y"
{
yyval.ttype = build_keyword_decl (NULL_TREE, yyvsp[-2].ttype, yyvsp[0].ttype);
;
break;}
case 512:
#line 2712 "objc-parse.y"
{
yyval.ttype = build_keyword_decl (NULL_TREE, NULL_TREE, yyvsp[0].ttype);
;
break;}
case 516:
#line 2725 "objc-parse.y"
{
yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
;
break;}
case 517:
#line 2733 "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 518:
#line 2745 "objc-parse.y"
{
yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype);
;
break;}
case 519:
#line 2749 "objc-parse.y"
{
yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype);
;
break;}
case 521:
#line 2757 "objc-parse.y"
{
yyval.ttype = get_class_reference (yyvsp[0].ttype);
;
break;}
case 522:
#line 2764 "objc-parse.y"
{ objc_receiver_context = 1; ;
break;}
case 523:
#line 2766 "objc-parse.y"
{ objc_receiver_context = 0; ;
break;}
case 524:
#line 2768 "objc-parse.y"
{
yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype);
;
break;}
case 528:
#line 2781 "objc-parse.y"
{
yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
;
break;}
case 529:
#line 2788 "objc-parse.y"
{
yyval.ttype = build_tree_list (yyvsp[-1].ttype, NULL_TREE);
;
break;}
case 530:
#line 2792 "objc-parse.y"
{
yyval.ttype = build_tree_list (NULL_TREE, NULL_TREE);
;
break;}
case 531:
#line 2799 "objc-parse.y"
{
yyval.ttype = yyvsp[-1].ttype;
;
break;}
case 532:
#line 2806 "objc-parse.y"
{
yyval.ttype = yyvsp[-1].ttype;
;
break;}
case 533:
#line 2815 "objc-parse.y"
{
yyval.ttype = groktypename (yyvsp[-1].ttype);
;
break;}
}
/* the action file gets copied in in place of this dollarsign */
#line 480 "/usr/local/lib/bison.simple"
yyvsp -= yylen;
yyssp -= yylen;
#ifdef YYLSP_NEEDED
yylsp -= yylen;
#endif
#if YYDEBUG != 0
if (yydebug)
{
short *ssp1 = yyss - 1;
fprintf (stderr, "state stack now");
while (ssp1 != yyssp)
fprintf (stderr, " %d", *++ssp1);
fprintf (stderr, "\n");
}
#endif
*++yyvsp = yyval;
#ifdef YYLSP_NEEDED
yylsp++;
if (yylen == 0)
{
yylsp->first_line = yylloc.first_line;
yylsp->first_column = yylloc.first_column;
yylsp->last_line = (yylsp-1)->last_line;
yylsp->last_column = (yylsp-1)->last_column;
yylsp->text = 0;
}
else
{
yylsp->last_line = (yylsp+yylen-1)->last_line;
yylsp->last_column = (yylsp+yylen-1)->last_column;
}
#endif
/* Now "shift" the result of the reduction.
Determine what state that goes to,
based on the state we popped back to
and the rule number reduced by. */
yyn = yyr1[yyn];
yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
yystate = yytable[yystate];
else
yystate = yydefgoto[yyn - YYNTBASE];
goto yynewstate;
yyerrlab: /* here on detecting error */
if (! yyerrstatus)
/* If not already recovering from an error, report this error. */
{
++yynerrs;
#ifdef YYERROR_VERBOSE
yyn = yypact[yystate];
if (yyn > YYFLAG && yyn < YYLAST)
{
int size = 0;
char *msg;
int x, count;
count = 0;
/* Start X at -yyn if nec to avoid negative indexes in yycheck. */
for (x = (yyn < 0 ? -yyn : 0);
x < (sizeof(yytname) / sizeof(char *)); x++)
if (yycheck[x + yyn] == x)
size += strlen(yytname[x]) + 15, count++;
msg = (char *) malloc(size + 15);
if (msg != 0)
{
strcpy(msg, "parse error");
if (count < 5)
{
count = 0;
for (x = (yyn < 0 ? -yyn : 0);
x < (sizeof(yytname) / sizeof(char *)); x++)
if (yycheck[x + yyn] == x)
{
strcat(msg, count == 0 ? ", expecting `" : " or `");
strcat(msg, yytname[x]);
strcat(msg, "'");
count++;
}
}
yyerror(msg);
free(msg);
}
else
yyerror ("parse error; also virtual memory exceeded");
}
else
#endif /* YYERROR_VERBOSE */
yyerror("parse error");
}
goto yyerrlab1;
yyerrlab1: /* here on error raised explicitly by an action */
if (yyerrstatus == 3)
{
/* if just tried and failed to reuse lookahead token after an error, discard it. */
/* return failure if at end of input */
if (yychar == YYEOF)
YYABORT;
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
#endif
yychar = YYEMPTY;
}
/* Else will try to reuse lookahead token
after shifting the error token. */
yyerrstatus = 3; /* Each real token shifted decrements this */
goto yyerrhandle;
yyerrdefault: /* current state does not do anything special for the error token. */
#if 0
/* This is wrong; only states that explicitly want error tokens
should shift them. */
yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/
if (yyn) goto yydefault;
#endif
yyerrpop: /* pop the current state because it cannot handle the error token */
if (yyssp == yyss) YYABORT;
yyvsp--;
yystate = *--yyssp;
#ifdef YYLSP_NEEDED
yylsp--;
#endif
#if YYDEBUG != 0
if (yydebug)
{
short *ssp1 = yyss - 1;
fprintf (stderr, "Error: state stack now");
while (ssp1 != yyssp)
fprintf (stderr, " %d", *++ssp1);
fprintf (stderr, "\n");
}
#endif
yyerrhandle:
yyn = yypact[yystate];
if (yyn == YYFLAG)
goto yyerrdefault;
yyn += YYTERROR;
if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
goto yyerrdefault;
yyn = yytable[yyn];
if (yyn < 0)
{
if (yyn == YYFLAG)
goto yyerrpop;
yyn = -yyn;
goto yyreduce;
}
else if (yyn == 0)
goto yyerrpop;
if (yyn == YYFINAL)
YYACCEPT;
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Shifting error token, ");
#endif
*++yyvsp = yylval;
#ifdef YYLSP_NEEDED
*++yylsp = yylloc;
#endif
yystate = yyn;
goto yynewstate;
}
#line 2820 "objc-parse.y"