* c-parse.in (language_string): Constify. * dwarf2out.c (language_string): Remove declaration. * dwarfout.c (language_string): Likewise. * toplev.c (language_string, init_parse, finish_parse): Likewise. * tree.h (language_string, init_parse, finish_parse): Declare. * i386/sun386.h (language_string): Remove declaration. * mips.h (language_string): Likewise. * nextstep.h (language_string): Likewise. * nextstep21.h (language_string): Likewise. * rs6000.c (language_string): Likewise. In ch: * parse.c (language_string): Constify. In cp: * parse.y (language_string): Constify. In f: * com.c (language_string): Constify. In java: * lang.c (language_string): Constify. From-SVN: r29000
3977 lines
151 KiB
C
3977 lines
151 KiB
C
|
||
/* A Bison parser, made from c-parse.y
|
||
by GNU Bison version 1.25
|
||
*/
|
||
|
||
#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 VA_ARG 290
|
||
#define END_OF_LINE 291
|
||
#define ASSIGN 292
|
||
#define OROR 293
|
||
#define ANDAND 294
|
||
#define EQCOMPARE 295
|
||
#define ARITHCOMPARE 296
|
||
#define LSHIFT 297
|
||
#define RSHIFT 298
|
||
#define UNARY 299
|
||
#define PLUSPLUS 300
|
||
#define MINUSMINUS 301
|
||
#define HYPERUNARY 302
|
||
#define POINTSAT 303
|
||
#define INTERFACE 304
|
||
#define IMPLEMENTATION 305
|
||
#define END 306
|
||
#define SELECTOR 307
|
||
#define DEFS 308
|
||
#define ENCODE 309
|
||
#define CLASSNAME 310
|
||
#define PUBLIC 311
|
||
#define PRIVATE 312
|
||
#define PROTECTED 313
|
||
#define PROTOCOL 314
|
||
#define OBJECTNAME 315
|
||
#define CLASS 316
|
||
#define ALIAS 317
|
||
#define OBJC_STRING 318
|
||
|
||
#line 56 "c-parse.y"
|
||
|
||
#include "config.h"
|
||
#include "system.h"
|
||
#include <setjmp.h>
|
||
|
||
#include "tree.h"
|
||
#include "input.h"
|
||
#include "c-lex.h"
|
||
#include "c-tree.h"
|
||
#include "flags.h"
|
||
#include "output.h"
|
||
#include "toplev.h"
|
||
|
||
#ifdef MULTIBYTE_CHARS
|
||
#include <locale.h>
|
||
#endif
|
||
|
||
|
||
/* Since parsers are distinct for each language, put the language string
|
||
definition here. */
|
||
const char * const language_string = "GNU C";
|
||
|
||
/* Like YYERROR but do call yyerror. */
|
||
#define YYERROR1 { yyerror ("syntax error"); YYERROR; }
|
||
|
||
/* Cause the `yydebug' variable to be defined. */
|
||
#define YYDEBUG 1
|
||
|
||
#line 87 "c-parse.y"
|
||
typedef union {long itype; tree ttype; enum tree_code code;
|
||
char *filename; int lineno; int ends_in_label; } YYSTYPE;
|
||
#line 207 "c-parse.y"
|
||
|
||
/* Number of statements (loosely speaking) and compound statements
|
||
seen so far. */
|
||
static int stmt_count;
|
||
static int compstmt_count;
|
||
|
||
/* Input file and line number of the end of the body of last simple_if;
|
||
used by the stmt-rule immediately after simple_if returns. */
|
||
static char *if_stmt_file;
|
||
static int if_stmt_line;
|
||
|
||
/* List of types and structure classes of the current declaration. */
|
||
static tree current_declspecs = NULL_TREE;
|
||
static tree prefix_attributes = NULL_TREE;
|
||
|
||
/* Stack of saved values of current_declspecs and prefix_attributes. */
|
||
static tree declspec_stack;
|
||
|
||
/* 1 if we explained undeclared var errors. */
|
||
static int undeclared_variable_notice;
|
||
|
||
|
||
/* 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 PROTO ((FILE *, int, YYSTYPE));
|
||
#include <stdio.h>
|
||
|
||
#ifndef __cplusplus
|
||
#ifndef __STDC__
|
||
#define const
|
||
#endif
|
||
#endif
|
||
|
||
|
||
|
||
#define YYFINAL 698
|
||
#define YYFLAG -32768
|
||
#define YYNTBASE 86
|
||
|
||
#define YYTRANSLATE(x) ((unsigned)(x) <= 318 ? yytranslate[x] : 243)
|
||
|
||
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, 82, 2, 2, 2, 54, 45, 2, 61,
|
||
78, 52, 50, 83, 51, 60, 53, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 40, 79, 2,
|
||
38, 2, 39, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
62, 2, 85, 44, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 84, 43, 80, 81, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 1, 2, 3, 4, 5,
|
||
6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
|
||
16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
|
||
26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
|
||
36, 37, 41, 42, 46, 47, 48, 49, 55, 56,
|
||
57, 58, 59, 63, 64, 65, 66, 67, 68, 69,
|
||
70, 71, 72, 73, 74, 75, 76, 77
|
||
};
|
||
|
||
#if YYDEBUG != 0
|
||
static const short yyprhs[] = { 0,
|
||
0, 1, 3, 4, 7, 8, 12, 14, 16, 22,
|
||
25, 29, 34, 39, 42, 45, 48, 51, 53, 54,
|
||
55, 63, 68, 69, 70, 78, 83, 84, 85, 92,
|
||
96, 98, 100, 102, 104, 106, 108, 110, 112, 114,
|
||
116, 117, 119, 121, 125, 127, 130, 133, 136, 139,
|
||
142, 147, 150, 155, 158, 161, 168, 170, 172, 174,
|
||
179, 180, 188, 190, 194, 198, 202, 206, 210, 214,
|
||
218, 222, 226, 230, 234, 238, 239, 244, 245, 250,
|
||
251, 252, 260, 261, 267, 271, 275, 277, 279, 281,
|
||
285, 289, 290, 295, 300, 305, 309, 313, 316, 319,
|
||
321, 324, 325, 327, 330, 334, 336, 338, 341, 344,
|
||
349, 354, 357, 360, 364, 366, 368, 371, 374, 375,
|
||
376, 381, 386, 390, 394, 397, 400, 403, 406, 410,
|
||
411, 414, 417, 420, 423, 427, 428, 431, 434, 436,
|
||
438, 441, 444, 446, 448, 451, 454, 457, 461, 462,
|
||
465, 467, 469, 471, 476, 481, 483, 485, 487, 489,
|
||
493, 495, 499, 500, 505, 506, 513, 517, 518, 525,
|
||
529, 530, 532, 534, 537, 544, 546, 550, 551, 553,
|
||
558, 565, 570, 572, 574, 576, 578, 580, 581, 586,
|
||
588, 589, 592, 594, 598, 602, 605, 606, 611, 613,
|
||
614, 619, 621, 623, 625, 628, 631, 637, 641, 642,
|
||
643, 649, 650, 651, 657, 659, 661, 665, 669, 674,
|
||
678, 682, 686, 688, 692, 697, 702, 706, 710, 714,
|
||
716, 720, 724, 728, 733, 738, 742, 746, 748, 750,
|
||
753, 755, 758, 760, 763, 764, 772, 778, 781, 782,
|
||
790, 796, 799, 800, 809, 810, 818, 821, 822, 824,
|
||
825, 827, 829, 832, 833, 837, 840, 844, 846, 850,
|
||
852, 854, 857, 859, 863, 868, 875, 881, 883, 887,
|
||
889, 891, 895, 898, 901, 902, 904, 906, 909, 910,
|
||
913, 917, 921, 924, 928, 933, 937, 940, 944, 947,
|
||
951, 953, 955, 958, 961, 962, 964, 967, 968, 969,
|
||
971, 973, 976, 980, 982, 985, 987, 990, 997, 1003,
|
||
1009, 1012, 1015, 1020, 1021, 1026, 1027, 1028, 1032, 1037,
|
||
1041, 1043, 1045, 1047, 1049, 1052, 1053, 1058, 1060, 1064,
|
||
1065, 1066, 1074, 1080, 1083, 1084, 1085, 1086, 1099, 1100,
|
||
1107, 1110, 1113, 1116, 1120, 1127, 1136, 1147, 1160, 1164,
|
||
1169, 1171, 1173, 1174, 1181, 1185, 1191, 1194, 1198, 1199,
|
||
1201, 1202, 1204, 1205, 1207, 1209, 1213, 1218, 1220, 1224,
|
||
1225, 1228, 1231, 1232, 1237, 1240, 1241, 1243, 1245, 1249,
|
||
1251, 1255, 1260, 1265, 1270, 1275, 1280, 1281, 1284, 1286,
|
||
1289, 1291, 1295, 1297, 1301
|
||
};
|
||
|
||
static const short yyrhs[] = { -1,
|
||
87, 0, 0, 88, 90, 0, 0, 87, 89, 90,
|
||
0, 92, 0, 91, 0, 27, 61, 101, 78, 79,
|
||
0, 242, 90, 0, 124, 138, 79, 0, 131, 124,
|
||
138, 79, 0, 127, 124, 137, 79, 0, 131, 79,
|
||
0, 127, 79, 0, 1, 79, 0, 1, 80, 0,
|
||
79, 0, 0, 0, 127, 124, 166, 93, 118, 94,
|
||
200, 0, 127, 124, 166, 1, 0, 0, 0, 131,
|
||
124, 169, 95, 118, 96, 200, 0, 131, 124, 169,
|
||
1, 0, 0, 0, 124, 169, 97, 118, 98, 200,
|
||
0, 124, 169, 1, 0, 3, 0, 4, 0, 45,
|
||
0, 51, 0, 50, 0, 56, 0, 57, 0, 81,
|
||
0, 82, 0, 103, 0, 0, 103, 0, 109, 0,
|
||
103, 83, 109, 0, 115, 0, 52, 107, 0, 242,
|
||
107, 0, 100, 107, 0, 42, 99, 0, 105, 104,
|
||
0, 105, 61, 187, 78, 0, 106, 104, 0, 106,
|
||
61, 187, 78, 0, 33, 107, 0, 34, 107, 0,
|
||
35, 61, 109, 83, 187, 78, 0, 11, 0, 29,
|
||
0, 104, 0, 61, 187, 78, 107, 0, 0, 61,
|
||
187, 78, 84, 108, 152, 80, 0, 107, 0, 109,
|
||
50, 109, 0, 109, 51, 109, 0, 109, 52, 109,
|
||
0, 109, 53, 109, 0, 109, 54, 109, 0, 109,
|
||
48, 109, 0, 109, 49, 109, 0, 109, 47, 109,
|
||
0, 109, 46, 109, 0, 109, 45, 109, 0, 109,
|
||
43, 109, 0, 109, 44, 109, 0, 0, 109, 42,
|
||
110, 109, 0, 0, 109, 41, 111, 109, 0, 0,
|
||
0, 109, 39, 112, 101, 40, 113, 109, 0, 0,
|
||
109, 39, 114, 40, 109, 0, 109, 38, 109, 0,
|
||
109, 37, 109, 0, 3, 0, 8, 0, 117, 0,
|
||
61, 101, 78, 0, 61, 1, 78, 0, 0, 61,
|
||
116, 202, 78, 0, 115, 61, 102, 78, 0, 115,
|
||
62, 101, 85, 0, 115, 60, 99, 0, 115, 59,
|
||
99, 0, 115, 56, 0, 115, 57, 0, 9, 0,
|
||
117, 9, 0, 0, 120, 0, 120, 10, 0, 207,
|
||
208, 121, 0, 119, 0, 195, 0, 120, 119, 0,
|
||
119, 195, 0, 129, 124, 137, 79, 0, 132, 124,
|
||
138, 79, 0, 129, 79, 0, 132, 79, 0, 207,
|
||
208, 126, 0, 122, 0, 195, 0, 123, 122, 0,
|
||
122, 195, 0, 0, 0, 127, 124, 137, 79, 0,
|
||
131, 124, 138, 79, 0, 127, 124, 160, 0, 131,
|
||
124, 163, 0, 127, 79, 0, 131, 79, 0, 242,
|
||
126, 0, 135, 128, 0, 131, 135, 128, 0, 0,
|
||
128, 136, 0, 128, 5, 0, 128, 145, 0, 135,
|
||
130, 0, 132, 135, 130, 0, 0, 130, 136, 0,
|
||
130, 5, 0, 132, 0, 145, 0, 131, 132, 0,
|
||
131, 145, 0, 7, 0, 5, 0, 132, 7, 0,
|
||
132, 5, 0, 135, 134, 0, 189, 135, 134, 0,
|
||
0, 134, 136, 0, 6, 0, 173, 0, 4, 0,
|
||
28, 61, 101, 78, 0, 28, 61, 187, 78, 0,
|
||
6, 0, 7, 0, 173, 0, 140, 0, 137, 83,
|
||
140, 0, 142, 0, 138, 83, 140, 0, 0, 27,
|
||
61, 117, 78, 0, 0, 166, 139, 144, 38, 141,
|
||
150, 0, 166, 139, 144, 0, 0, 169, 139, 144,
|
||
38, 143, 150, 0, 169, 139, 144, 0, 0, 145,
|
||
0, 146, 0, 145, 146, 0, 30, 61, 61, 147,
|
||
78, 78, 0, 148, 0, 147, 83, 148, 0, 0,
|
||
149, 0, 149, 61, 3, 78, 0, 149, 61, 3,
|
||
83, 103, 78, 0, 149, 61, 102, 78, 0, 99,
|
||
0, 5, 0, 6, 0, 7, 0, 109, 0, 0,
|
||
84, 151, 152, 80, 0, 1, 0, 0, 153, 178,
|
||
0, 154, 0, 153, 83, 154, 0, 158, 38, 156,
|
||
0, 159, 156, 0, 0, 99, 40, 155, 156, 0,
|
||
156, 0, 0, 84, 157, 152, 80, 0, 109, 0,
|
||
1, 0, 159, 0, 158, 159, 0, 60, 99, 0,
|
||
62, 109, 10, 109, 85, 0, 62, 109, 85, 0,
|
||
0, 0, 166, 161, 118, 162, 202, 0, 0, 0,
|
||
169, 164, 118, 165, 202, 0, 167, 0, 169, 0,
|
||
61, 167, 78, 0, 167, 61, 237, 0, 167, 62,
|
||
101, 85, 0, 167, 62, 85, 0, 52, 190, 167,
|
||
0, 145, 125, 167, 0, 4, 0, 168, 61, 237,
|
||
0, 168, 62, 52, 85, 0, 168, 62, 101, 85,
|
||
0, 168, 62, 85, 0, 52, 190, 168, 0, 145,
|
||
125, 168, 0, 4, 0, 169, 61, 237, 0, 61,
|
||
169, 78, 0, 52, 190, 169, 0, 169, 62, 52,
|
||
85, 0, 169, 62, 101, 85, 0, 169, 62, 85,
|
||
0, 145, 125, 169, 0, 3, 0, 13, 0, 13,
|
||
145, 0, 14, 0, 14, 145, 0, 12, 0, 12,
|
||
145, 0, 0, 170, 99, 84, 174, 180, 80, 144,
|
||
0, 170, 84, 180, 80, 144, 0, 170, 99, 0,
|
||
0, 171, 99, 84, 175, 180, 80, 144, 0, 171,
|
||
84, 180, 80, 144, 0, 171, 99, 0, 0, 172,
|
||
99, 84, 176, 185, 179, 80, 144, 0, 0, 172,
|
||
84, 177, 185, 179, 80, 144, 0, 172, 99, 0,
|
||
0, 83, 0, 0, 83, 0, 181, 0, 181, 182,
|
||
0, 0, 181, 182, 79, 0, 181, 79, 0, 133,
|
||
124, 183, 0, 133, 0, 189, 124, 183, 0, 189,
|
||
0, 1, 0, 242, 182, 0, 184, 0, 183, 83,
|
||
184, 0, 207, 208, 166, 144, 0, 207, 208, 166,
|
||
40, 109, 144, 0, 207, 208, 40, 109, 144, 0,
|
||
186, 0, 185, 83, 186, 0, 1, 0, 99, 0,
|
||
99, 38, 109, 0, 133, 188, 0, 189, 188, 0,
|
||
0, 191, 0, 7, 0, 189, 7, 0, 0, 190,
|
||
7, 0, 61, 191, 78, 0, 52, 190, 191, 0,
|
||
52, 190, 0, 191, 61, 230, 0, 191, 62, 101,
|
||
85, 0, 191, 62, 85, 0, 61, 230, 0, 62,
|
||
101, 85, 0, 62, 85, 0, 145, 125, 191, 0,
|
||
193, 0, 210, 0, 193, 210, 0, 193, 195, 0,
|
||
0, 192, 0, 1, 79, 0, 0, 0, 198, 0,
|
||
199, 0, 198, 199, 0, 32, 241, 79, 0, 202,
|
||
0, 1, 202, 0, 84, 0, 201, 80, 0, 201,
|
||
196, 197, 123, 194, 80, 0, 201, 196, 197, 1,
|
||
80, 0, 201, 196, 197, 192, 80, 0, 204, 209,
|
||
0, 204, 1, 0, 15, 61, 101, 78, 0, 0,
|
||
18, 206, 209, 17, 0, 0, 0, 207, 208, 212,
|
||
0, 207, 208, 223, 209, 0, 207, 208, 211, 0,
|
||
212, 0, 223, 0, 202, 0, 220, 0, 101, 79,
|
||
0, 0, 203, 16, 213, 209, 0, 203, 0, 203,
|
||
16, 1, 0, 0, 0, 17, 214, 61, 101, 78,
|
||
215, 209, 0, 205, 61, 101, 78, 79, 0, 205,
|
||
1, 0, 0, 0, 0, 19, 61, 225, 79, 216,
|
||
225, 79, 217, 225, 78, 218, 209, 0, 0, 20,
|
||
61, 101, 78, 219, 209, 0, 23, 79, 0, 24,
|
||
79, 0, 25, 79, 0, 25, 101, 79, 0, 27,
|
||
224, 61, 101, 78, 79, 0, 27, 224, 61, 101,
|
||
40, 226, 78, 79, 0, 27, 224, 61, 101, 40,
|
||
226, 40, 226, 78, 79, 0, 27, 224, 61, 101,
|
||
40, 226, 40, 226, 40, 229, 78, 79, 0, 26,
|
||
99, 79, 0, 26, 52, 101, 79, 0, 79, 0,
|
||
221, 0, 0, 19, 61, 115, 78, 222, 209, 0,
|
||
21, 109, 40, 0, 21, 109, 10, 109, 40, 0,
|
||
22, 40, 0, 99, 40, 144, 0, 0, 7, 0,
|
||
0, 101, 0, 0, 227, 0, 228, 0, 227, 83,
|
||
228, 0, 9, 61, 101, 78, 0, 117, 0, 229,
|
||
83, 117, 0, 0, 231, 232, 0, 234, 78, 0,
|
||
0, 235, 79, 233, 232, 0, 1, 78, 0, 0,
|
||
10, 0, 235, 0, 235, 83, 10, 0, 236, 0,
|
||
235, 83, 236, 0, 127, 124, 168, 144, 0, 127,
|
||
124, 169, 144, 0, 127, 124, 188, 144, 0, 131,
|
||
124, 169, 144, 0, 131, 124, 188, 144, 0, 0,
|
||
238, 239, 0, 232, 0, 240, 78, 0, 3, 0,
|
||
240, 83, 3, 0, 99, 0, 241, 83, 99, 0,
|
||
31, 0
|
||
};
|
||
|
||
#endif
|
||
|
||
#if YYDEBUG != 0
|
||
static const short yyrline[] = { 0,
|
||
236, 241, 255, 257, 257, 258, 260, 262, 263, 271,
|
||
275, 286, 291, 296, 298, 300, 301, 302, 307, 314,
|
||
316, 321, 326, 332, 334, 339, 344, 350, 352, 357,
|
||
364, 366, 369, 371, 373, 375, 377, 379, 381, 385,
|
||
389, 392, 395, 398, 402, 404, 407, 410, 414, 442,
|
||
448, 451, 454, 457, 459, 461, 465, 469, 473, 475,
|
||
478, 482, 509, 511, 513, 515, 517, 519, 521, 523,
|
||
525, 527, 529, 531, 533, 535, 539, 541, 545, 547,
|
||
550, 554, 556, 563, 566, 574, 585, 684, 685, 687,
|
||
693, 695, 709, 732, 734, 736, 740, 746, 748, 753,
|
||
755, 760, 762, 763, 773, 778, 780, 781, 782, 789,
|
||
795, 800, 803, 811, 816, 818, 819, 820, 827, 838,
|
||
842, 848, 853, 858, 863, 865, 867, 876, 879, 883,
|
||
885, 887, 892, 896, 899, 903, 906, 908, 920, 923,
|
||
925, 927, 931, 935, 937, 940, 953, 956, 960, 962,
|
||
970, 971, 972, 976, 978, 984, 985, 986, 989, 991,
|
||
994, 996, 999, 1002, 1008, 1015, 1017, 1024, 1031, 1034,
|
||
1041, 1044, 1048, 1051, 1055, 1060, 1063, 1067, 1070, 1072,
|
||
1074, 1076, 1083, 1085, 1086, 1087, 1092, 1094, 1099, 1107,
|
||
1112, 1116, 1119, 1121, 1126, 1128, 1129, 1132, 1132, 1135,
|
||
1138, 1140, 1142, 1145, 1147, 1150, 1156, 1158, 1162, 1173,
|
||
1181, 1185, 1196, 1204, 1211, 1213, 1218, 1221, 1226, 1228,
|
||
1230, 1237, 1239, 1247, 1253, 1258, 1260, 1262, 1269, 1271,
|
||
1277, 1283, 1285, 1287, 1292, 1294, 1301, 1303, 1306, 1309,
|
||
1313, 1316, 1320, 1323, 1327, 1332, 1334, 1338, 1340, 1342,
|
||
1344, 1348, 1350, 1353, 1356, 1359, 1362, 1366, 1368, 1371,
|
||
1373, 1378, 1381, 1386, 1388, 1390, 1404, 1411, 1416, 1422,
|
||
1427, 1429, 1434, 1436, 1440, 1444, 1448, 1458, 1460, 1465,
|
||
1470, 1473, 1477, 1480, 1484, 1487, 1490, 1493, 1497, 1500,
|
||
1504, 1508, 1510, 1512, 1514, 1516, 1518, 1520, 1522, 1526,
|
||
1534, 1542, 1544, 1546, 1550, 1552, 1555, 1558, 1569, 1571,
|
||
1576, 1578, 1581, 1595, 1598, 1601, 1603, 1605, 1613, 1621,
|
||
1632, 1637, 1640, 1654, 1663, 1667, 1671, 1675, 1681, 1685,
|
||
1690, 1693, 1698, 1701, 1702, 1719, 1724, 1727, 1739, 1741,
|
||
1751, 1761, 1762, 1770, 1773, 1785, 1789, 1806, 1816, 1825,
|
||
1830, 1835, 1840, 1844, 1848, 1859, 1866, 1873, 1880, 1891,
|
||
1897, 1900, 1905, 1928, 1962, 1993, 2024, 2039, 2053, 2057,
|
||
2061, 2064, 2069, 2071, 2074, 2076, 2080, 2085, 2088, 2094,
|
||
2099, 2104, 2106, 2115, 2116, 2122, 2124, 2134, 2136, 2140,
|
||
2143, 2149, 2159, 2168, 2177, 2187, 2201, 2206, 2211, 2213,
|
||
2222, 2225, 2230, 2233, 2237
|
||
};
|
||
#endif
|
||
|
||
|
||
#if YYDEBUG != 0 || defined (YYERROR_VERBOSE)
|
||
|
||
static const char * const yytname[] = { "$","error","$undefined.","IDENTIFIER",
|
||
"TYPENAME","SCSPEC","TYPESPEC","TYPE_QUAL","CONSTANT","STRING","ELLIPSIS","SIZEOF",
|
||
"ENUM","STRUCT","UNION","IF","ELSE","WHILE","DO","FOR","SWITCH","CASE","DEFAULT",
|
||
"BREAK","CONTINUE","RETURN","GOTO","ASM_KEYWORD","TYPEOF","ALIGNOF","ATTRIBUTE",
|
||
"EXTENSION","LABEL","REALPART","IMAGPART","VA_ARG","END_OF_LINE","ASSIGN","'='",
|
||
"'?'","':'","OROR","ANDAND","'|'","'^'","'&'","EQCOMPARE","ARITHCOMPARE","LSHIFT",
|
||
"RSHIFT","'+'","'-'","'*'","'/'","'%'","UNARY","PLUSPLUS","MINUSMINUS","HYPERUNARY",
|
||
"POINTSAT","'.'","'('","'['","INTERFACE","IMPLEMENTATION","END","SELECTOR","DEFS",
|
||
"ENCODE","CLASSNAME","PUBLIC","PRIVATE","PROTECTED","PROTOCOL","OBJECTNAME",
|
||
"CLASS","ALIAS","OBJC_STRING","')'","';'","'}'","'~'","'!'","','","'{'","']'",
|
||
"program","extdefs","@1","@2","extdef","datadef","fndef","@3","@4","@5","@6",
|
||
"@7","@8","identifier","unop","expr","exprlist","nonnull_exprlist","unary_expr",
|
||
"sizeof","alignof","cast_expr","@9","expr_no_commas","@10","@11","@12","@13",
|
||
"@14","primary","@15","string","old_style_parm_decls","lineno_datadecl","datadecls",
|
||
"datadecl","lineno_decl","decls","setspecs","setattrs","decl","typed_declspecs",
|
||
"reserved_declspecs","typed_declspecs_no_prefix_attr","reserved_declspecs_no_prefix_attr",
|
||
"declmods","declmods_no_prefix_attr","typed_typespecs","reserved_typespecquals",
|
||
"typespec","typespecqual_reserved","initdecls","notype_initdecls","maybeasm",
|
||
"initdcl","@16","notype_initdcl","@17","maybe_attribute","attributes","attribute",
|
||
"attribute_list","attrib","any_word","init","@18","initlist_maybe_comma","initlist1",
|
||
"initelt","@19","initval","@20","designator_list","designator","nested_function",
|
||
"@21","@22","notype_nested_function","@23","@24","declarator","after_type_declarator",
|
||
"parm_declarator","notype_declarator","struct_head","union_head","enum_head",
|
||
"structsp","@25","@26","@27","@28","maybecomma","maybecomma_warn","component_decl_list",
|
||
"component_decl_list2","component_decl","components","component_declarator",
|
||
"enumlist","enumerator","typename","absdcl","nonempty_type_quals","type_quals",
|
||
"absdcl1","stmts","lineno_stmt_or_labels","xstmts","errstmt","pushlevel","maybe_label_decls",
|
||
"label_decls","label_decl","compstmt_or_error","compstmt_start","compstmt","simple_if",
|
||
"if_prefix","do_stmt_start","@29","save_filename","save_lineno","lineno_labeled_stmt",
|
||
"lineno_stmt_or_label","stmt_or_label","stmt","@30","@31","@32","@33","@34",
|
||
"@35","@36","all_iter_stmt","all_iter_stmt_simple","@37","label","maybe_type_qual",
|
||
"xexpr","asm_operands","nonnull_asm_operands","asm_operand","asm_clobbers","parmlist",
|
||
"@38","parmlist_1","@39","parmlist_2","parms","parm","parmlist_or_identifiers",
|
||
"@40","parmlist_or_identifiers_1","identifiers","identifiers_or_typenames","extension", NULL
|
||
};
|
||
#endif
|
||
|
||
static const short yyr1[] = { 0,
|
||
86, 86, 88, 87, 89, 87, 90, 90, 90, 90,
|
||
91, 91, 91, 91, 91, 91, 91, 91, 93, 94,
|
||
92, 92, 95, 96, 92, 92, 97, 98, 92, 92,
|
||
99, 99, 100, 100, 100, 100, 100, 100, 100, 101,
|
||
102, 102, 103, 103, 104, 104, 104, 104, 104, 104,
|
||
104, 104, 104, 104, 104, 104, 105, 106, 107, 107,
|
||
108, 107, 109, 109, 109, 109, 109, 109, 109, 109,
|
||
109, 109, 109, 109, 109, 110, 109, 111, 109, 112,
|
||
113, 109, 114, 109, 109, 109, 115, 115, 115, 115,
|
||
115, 116, 115, 115, 115, 115, 115, 115, 115, 117,
|
||
117, 118, 118, 118, 119, 120, 120, 120, 120, 121,
|
||
121, 121, 121, 122, 123, 123, 123, 123, 124, 125,
|
||
126, 126, 126, 126, 126, 126, 126, 127, 127, 128,
|
||
128, 128, 128, 129, 129, 130, 130, 130, 131, 131,
|
||
131, 131, 132, 132, 132, 132, 133, 133, 134, 134,
|
||
135, 135, 135, 135, 135, 136, 136, 136, 137, 137,
|
||
138, 138, 139, 139, 141, 140, 140, 143, 142, 142,
|
||
144, 144, 145, 145, 146, 147, 147, 148, 148, 148,
|
||
148, 148, 149, 149, 149, 149, 150, 151, 150, 150,
|
||
152, 152, 153, 153, 154, 154, 155, 154, 154, 157,
|
||
156, 156, 156, 158, 158, 159, 159, 159, 161, 162,
|
||
160, 164, 165, 163, 166, 166, 167, 167, 167, 167,
|
||
167, 167, 167, 168, 168, 168, 168, 168, 168, 168,
|
||
169, 169, 169, 169, 169, 169, 169, 169, 170, 170,
|
||
171, 171, 172, 172, 174, 173, 173, 173, 175, 173,
|
||
173, 173, 176, 173, 177, 173, 173, 178, 178, 179,
|
||
179, 180, 180, 181, 181, 181, 182, 182, 182, 182,
|
||
182, 182, 183, 183, 184, 184, 184, 185, 185, 185,
|
||
186, 186, 187, 187, 188, 188, 189, 189, 190, 190,
|
||
191, 191, 191, 191, 191, 191, 191, 191, 191, 191,
|
||
192, 193, 193, 193, 194, 194, 195, 196, 197, 197,
|
||
198, 198, 199, 200, 200, 201, 202, 202, 202, 202,
|
||
203, 203, 204, 206, 205, 207, 208, 209, 209, 210,
|
||
211, 211, 212, 212, 212, 213, 212, 212, 212, 214,
|
||
215, 212, 212, 212, 216, 217, 218, 212, 219, 212,
|
||
212, 212, 212, 212, 212, 212, 212, 212, 212, 212,
|
||
212, 220, 222, 221, 223, 223, 223, 223, 224, 224,
|
||
225, 225, 226, 226, 227, 227, 228, 229, 229, 231,
|
||
230, 232, 233, 232, 232, 234, 234, 234, 234, 235,
|
||
235, 236, 236, 236, 236, 236, 238, 237, 239, 239,
|
||
240, 240, 241, 241, 242
|
||
};
|
||
|
||
static const short yyr2[] = { 0,
|
||
0, 1, 0, 2, 0, 3, 1, 1, 5, 2,
|
||
3, 4, 4, 2, 2, 2, 2, 1, 0, 0,
|
||
7, 4, 0, 0, 7, 4, 0, 0, 6, 3,
|
||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||
0, 1, 1, 3, 1, 2, 2, 2, 2, 2,
|
||
4, 2, 4, 2, 2, 6, 1, 1, 1, 4,
|
||
0, 7, 1, 3, 3, 3, 3, 3, 3, 3,
|
||
3, 3, 3, 3, 3, 0, 4, 0, 4, 0,
|
||
0, 7, 0, 5, 3, 3, 1, 1, 1, 3,
|
||
3, 0, 4, 4, 4, 3, 3, 2, 2, 1,
|
||
2, 0, 1, 2, 3, 1, 1, 2, 2, 4,
|
||
4, 2, 2, 3, 1, 1, 2, 2, 0, 0,
|
||
4, 4, 3, 3, 2, 2, 2, 2, 3, 0,
|
||
2, 2, 2, 2, 3, 0, 2, 2, 1, 1,
|
||
2, 2, 1, 1, 2, 2, 2, 3, 0, 2,
|
||
1, 1, 1, 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, 3, 2, 0, 4, 1, 0,
|
||
4, 1, 1, 1, 2, 2, 5, 3, 0, 0,
|
||
5, 0, 0, 5, 1, 1, 3, 3, 4, 3,
|
||
3, 3, 1, 3, 4, 4, 3, 3, 3, 1,
|
||
3, 3, 3, 4, 4, 3, 3, 1, 1, 2,
|
||
1, 2, 1, 2, 0, 7, 5, 2, 0, 7,
|
||
5, 2, 0, 8, 0, 7, 2, 0, 1, 0,
|
||
1, 1, 2, 0, 3, 2, 3, 1, 3, 1,
|
||
1, 2, 1, 3, 4, 6, 5, 1, 3, 1,
|
||
1, 3, 2, 2, 0, 1, 1, 2, 0, 2,
|
||
3, 3, 2, 3, 4, 3, 2, 3, 2, 3,
|
||
1, 1, 2, 2, 0, 1, 2, 0, 0, 1,
|
||
1, 2, 3, 1, 2, 1, 2, 6, 5, 5,
|
||
2, 2, 4, 0, 4, 0, 0, 3, 4, 3,
|
||
1, 1, 1, 1, 2, 0, 4, 1, 3, 0,
|
||
0, 7, 5, 2, 0, 0, 0, 12, 0, 6,
|
||
2, 2, 2, 3, 6, 8, 10, 12, 3, 4,
|
||
1, 1, 0, 6, 3, 5, 2, 3, 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
|
||
};
|
||
|
||
static const short yydefact[] = { 3,
|
||
5, 0, 0, 0, 153, 144, 151, 143, 243, 239,
|
||
241, 0, 0, 0, 405, 18, 4, 8, 7, 0,
|
||
119, 119, 139, 130, 140, 173, 0, 0, 0, 152,
|
||
0, 6, 16, 17, 244, 240, 242, 0, 0, 0,
|
||
238, 289, 0, 0, 161, 120, 0, 15, 0, 14,
|
||
0, 141, 130, 142, 146, 145, 128, 174, 31, 32,
|
||
264, 248, 264, 252, 255, 257, 10, 87, 88, 100,
|
||
57, 58, 0, 0, 0, 0, 33, 35, 34, 0,
|
||
36, 37, 0, 38, 39, 0, 0, 40, 59, 0,
|
||
0, 63, 43, 45, 89, 0, 287, 0, 285, 149,
|
||
0, 285, 178, 0, 0, 11, 0, 0, 30, 0,
|
||
397, 0, 0, 171, 223, 289, 0, 0, 159, 120,
|
||
0, 215, 216, 0, 0, 129, 132, 156, 157, 131,
|
||
133, 158, 0, 0, 245, 0, 249, 0, 253, 54,
|
||
55, 0, 49, 46, 0, 0, 0, 0, 48, 0,
|
||
0, 0, 50, 0, 52, 0, 0, 80, 78, 76,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 98, 99, 0, 0, 41, 0, 101, 47,
|
||
154, 289, 380, 0, 120, 283, 286, 147, 155, 288,
|
||
149, 284, 184, 185, 186, 183, 0, 176, 179, 290,
|
||
233, 232, 162, 163, 237, 0, 231, 0, 0, 236,
|
||
0, 0, 28, 0, 326, 107, 327, 170, 172, 0,
|
||
0, 13, 0, 0, 22, 0, 171, 397, 0, 12,
|
||
26, 0, 171, 271, 266, 119, 263, 119, 0, 264,
|
||
171, 264, 280, 281, 260, 278, 0, 0, 91, 90,
|
||
316, 308, 0, 0, 9, 44, 0, 0, 86, 85,
|
||
0, 0, 0, 0, 74, 75, 73, 72, 71, 69,
|
||
70, 64, 65, 66, 67, 68, 97, 96, 0, 42,
|
||
0, 293, 0, 297, 0, 299, 0, 0, 380, 0,
|
||
150, 148, 0, 178, 41, 0, 0, 401, 387, 119,
|
||
119, 399, 0, 388, 390, 398, 0, 234, 235, 307,
|
||
0, 109, 104, 108, 0, 168, 221, 217, 160, 222,
|
||
20, 167, 218, 220, 0, 24, 247, 326, 265, 326,
|
||
272, 0, 251, 0, 0, 261, 0, 260, 0, 317,
|
||
309, 93, 61, 60, 51, 53, 0, 0, 79, 77,
|
||
94, 95, 292, 291, 381, 298, 300, 294, 296, 0,
|
||
175, 177, 87, 0, 164, 385, 285, 285, 382, 383,
|
||
0, 400, 0, 0, 29, 314, 105, 119, 119, 136,
|
||
0, 0, 165, 219, 0, 267, 273, 327, 269, 171,
|
||
171, 282, 279, 171, 0, 0, 0, 0, 310, 311,
|
||
0, 81, 84, 295, 180, 0, 182, 230, 289, 380,
|
||
120, 171, 171, 171, 289, 120, 171, 171, 0, 389,
|
||
391, 402, 315, 112, 0, 113, 0, 136, 134, 190,
|
||
188, 187, 169, 21, 0, 25, 326, 0, 246, 250,
|
||
256, 171, 56, 403, 0, 0, 0, 326, 0, 0,
|
||
116, 327, 302, 312, 203, 87, 0, 0, 200, 0,
|
||
202, 0, 258, 193, 199, 0, 0, 0, 0, 293,
|
||
0, 397, 0, 392, 393, 394, 293, 0, 395, 396,
|
||
384, 0, 0, 163, 135, 138, 137, 0, 166, 274,
|
||
0, 171, 254, 313, 0, 319, 118, 117, 306, 0,
|
||
320, 304, 327, 303, 0, 206, 0, 0, 197, 62,
|
||
0, 192, 0, 205, 196, 82, 181, 228, 229, 224,
|
||
0, 227, 0, 110, 111, 0, 171, 0, 275, 404,
|
||
318, 0, 153, 0, 340, 324, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 369, 361, 0, 0, 114, 119,
|
||
119, 333, 338, 0, 0, 330, 331, 334, 362, 332,
|
||
0, 0, 208, 0, 0, 194, 195, 225, 226, 189,
|
||
277, 171, 0, 0, 326, 371, 0, 0, 367, 351,
|
||
352, 353, 0, 0, 0, 370, 0, 171, 335, 125,
|
||
0, 126, 0, 0, 322, 327, 321, 344, 0, 127,
|
||
0, 201, 198, 276, 0, 0, 0, 372, 45, 0,
|
||
0, 0, 365, 354, 0, 359, 0, 368, 0, 123,
|
||
209, 0, 124, 212, 339, 326, 0, 0, 207, 323,
|
||
0, 325, 363, 345, 349, 0, 360, 0, 121, 0,
|
||
122, 0, 337, 328, 326, 0, 341, 326, 371, 326,
|
||
366, 373, 0, 210, 213, 329, 343, 326, 364, 0,
|
||
350, 0, 0, 374, 375, 355, 0, 0, 342, 346,
|
||
0, 373, 0, 0, 211, 214, 371, 0, 0, 356,
|
||
376, 0, 377, 0, 0, 347, 378, 0, 357, 326,
|
||
0, 0, 348, 358, 379, 0, 0, 0
|
||
};
|
||
|
||
static const short yydefgoto[] = { 696,
|
||
1, 2, 3, 17, 18, 19, 226, 382, 232, 385,
|
||
113, 311, 460, 86, 146, 279, 88, 89, 90, 91,
|
||
92, 401, 93, 264, 263, 261, 468, 262, 94, 147,
|
||
95, 213, 214, 215, 377, 447, 448, 20, 108, 549,
|
||
300, 57, 378, 429, 301, 23, 99, 188, 24, 130,
|
||
118, 44, 114, 119, 435, 45, 381, 218, 219, 26,
|
||
197, 198, 199, 433, 488, 462, 463, 464, 565, 465,
|
||
508, 466, 467, 620, 640, 667, 623, 642, 668, 204,
|
||
122, 412, 123, 27, 28, 29, 30, 240, 242, 247,
|
||
138, 512, 337, 133, 134, 237, 386, 387, 245, 246,
|
||
101, 186, 102, 104, 187, 449, 450, 500, 216, 341,
|
||
398, 399, 400, 375, 252, 376, 553, 554, 555, 575,
|
||
596, 315, 597, 453, 556, 557, 626, 574, 658, 649,
|
||
677, 690, 650, 558, 559, 648, 560, 587, 610, 663,
|
||
664, 665, 688, 284, 285, 302, 419, 303, 304, 305,
|
||
207, 208, 306, 307, 445, 96
|
||
};
|
||
|
||
static const short yypact[] = { 85,
|
||
122, 2341, 2341, 19,-32768,-32768,-32768,-32768, 138, 138,
|
||
138, 91, 94, 126,-32768,-32768,-32768,-32768,-32768, 210,
|
||
132, 570, 214,-32768, 138,-32768, 64, 73, 80,-32768,
|
||
2341,-32768,-32768,-32768, 138, 138, 138, 2157, 2067, 129,
|
||
-32768,-32768, 210, 125,-32768, 138, 1373,-32768, 821,-32768,
|
||
210, 214,-32768, 138,-32768,-32768, 831,-32768,-32768,-32768,
|
||
-32768, 143,-32768, 150,-32768, 158,-32768,-32768,-32768,-32768,
|
||
-32768,-32768, 2157, 2157, 190, 88,-32768,-32768,-32768, 2157,
|
||
-32768,-32768, 1110,-32768,-32768, 2157, 183, 181,-32768, 2192,
|
||
2247,-32768, 2472, 669, 270, 2157,-32768, 203, 332,-32768,
|
||
215, 871, 603, 196, 192,-32768, 821, 210,-32768, 235,
|
||
-32768, 1473, 402, 138,-32768,-32768, 821, 180,-32768, 138,
|
||
1465, 113, 225, 193, 1437, 831,-32768,-32768,-32768,-32768,
|
||
138,-32768, 234, 735,-32768, 237,-32768, 298,-32768,-32768,
|
||
-32768, 2157,-32768,-32768, 229, 241, 249, 261,-32768, 246,
|
||
2157, 1110,-32768, 1110,-32768, 2157, 2157, 314,-32768,-32768,
|
||
2157, 2157, 2157, 2157, 2157, 2157, 2157, 2157, 2157, 2157,
|
||
2157, 2157,-32768,-32768, 88, 88, 2157, 2157,-32768,-32768,
|
||
-32768,-32768, 332, 1528, 138,-32768, 328, 331,-32768,-32768,
|
||
-32768,-32768,-32768,-32768,-32768,-32768, 111,-32768, 281,-32768,
|
||
225,-32768,-32768, 333, 225, 354,-32768, 946, 1566,-32768,
|
||
286, 287,-32768, 363, 69,-32768,-32768, 340, 138, 416,
|
||
227,-32768, 821, 821,-32768, 402, 138,-32768, 1621,-32768,
|
||
-32768, 402, 138,-32768,-32768, 346, 308, 278, 1630,-32768,
|
||
138,-32768,-32768, 367, 355,-32768, 298, 2407,-32768,-32768,
|
||
-32768, 360, 351, 1952,-32768, 2472, 370, 376, 2472, 2472,
|
||
2157, 405, 2157, 2157, 2329, 2037, 2389, 1379, 1978, 593,
|
||
593, 439, 439,-32768,-32768,-32768,-32768,-32768, 391, 181,
|
||
386, 288, 254,-32768, 1028,-32768, 387, 332,-32768, 1659,
|
||
-32768, 331, 396, 603, 2282, 49, 400,-32768,-32768,-32768,
|
||
1869,-32768, 401, 195,-32768,-32768, 118,-32768,-32768,-32768,
|
||
65,-32768,-32768,-32768, 1003,-32768, 113,-32768,-32768, 113,
|
||
-32768, 443,-32768,-32768, 399,-32768,-32768,-32768,-32768,-32768,
|
||
-32768, 407,-32768, 408, 2157, 88, 417, 355, 445,-32768,
|
||
453,-32768,-32768,-32768,-32768,-32768, 458, 2157, 2217, 2126,
|
||
-32768,-32768, 328,-32768,-32768,-32768, 328,-32768,-32768, 419,
|
||
-32768,-32768, 119, 421,-32768,-32768, 176, 155,-32768,-32768,
|
||
1722,-32768, 499, 249,-32768,-32768,-32768, 427, 739,-32768,
|
||
1307, 65,-32768,-32768, 65, 425,-32768,-32768, 425, 138,
|
||
138, 2472,-32768, 138, 432, 436, 88, 778, 453,-32768,
|
||
1145,-32768, 1859,-32768,-32768, 2157,-32768,-32768,-32768, 155,
|
||
138, 26, 168, 138,-32768, 138, 168, 138, 1028,-32768,
|
||
-32768,-32768,-32768,-32768, 821,-32768, 210,-32768, 763,-32768,
|
||
-32768, 2472,-32768,-32768, 1307,-32768,-32768, 352,-32768,-32768,
|
||
-32768, 138,-32768,-32768, 247, 381, 653, 452, 454, 885,
|
||
-32768,-32768,-32768,-32768,-32768, 493, 88, 2157,-32768, 502,
|
||
2472, 463, 462,-32768,-32768, 74, 1269, 2157, 166, 414,
|
||
176,-32768, 1714,-32768,-32768,-32768, 163, 155,-32768,-32768,
|
||
-32768, 268, 302, 44, 763,-32768,-32768, 1145,-32768,-32768,
|
||
2157, 77,-32768,-32768, 88,-32768,-32768,-32768,-32768, 467,
|
||
-32768,-32768,-32768,-32768, 1835,-32768, 2380, 1145,-32768,-32768,
|
||
1207,-32768, 1364,-32768,-32768, 1859,-32768, 349, 349,-32768,
|
||
1752,-32768, 464,-32768,-32768, 470, 2432, 2157,-32768,-32768,
|
||
-32768, 1917, 516, 498,-32768,-32768, 503, 505, 2157, 520,
|
||
501, 507, 2102, 78, 565,-32768, 541, 508,-32768, 513,
|
||
622,-32768, 579, 969, 72,-32768,-32768,-32768,-32768,-32768,
|
||
2011, 2157,-32768, 519, 1364,-32768,-32768,-32768,-32768,-32768,
|
||
-32768, 2432, 2157, 540,-32768, 2157, 2157, 1778,-32768,-32768,
|
||
-32768,-32768, 525, 2157, 536,-32768, 555, 138,-32768,-32768,
|
||
821,-32768, 210, 1051,-32768,-32768,-32768,-32768, 2157,-32768,
|
||
2362,-32768,-32768,-32768, 543, 2157, 607,-32768, 660, 546,
|
||
552, 2157,-32768,-32768, 553,-32768, 2157,-32768, 317,-32768,
|
||
514, 345,-32768, 558,-32768,-32768, 1917, 560,-32768,-32768,
|
||
562,-32768,-32768,-32768,-32768, 2454,-32768, 40,-32768, 402,
|
||
-32768, 402,-32768,-32768,-32768, 569,-32768,-32768, 2157,-32768,
|
||
-32768, 642, 574,-32768,-32768,-32768,-32768,-32768,-32768, 576,
|
||
-32768, 602, 46, 548,-32768,-32768, 249, 249,-32768,-32768,
|
||
2157, 642, 590, 642,-32768,-32768, 2157, 611, 57,-32768,
|
||
-32768, 612,-32768, 354, 606,-32768, 270, 172,-32768,-32768,
|
||
614, 354,-32768,-32768, 270, 691, 696,-32768
|
||
};
|
||
|
||
static const short yypgoto[] = {-32768,
|
||
-32768,-32768,-32768, 97,-32768,-32768,-32768,-32768,-32768,-32768,
|
||
-32768,-32768, -25,-32768, -38, 404, -133, 374,-32768,-32768,
|
||
-21,-32768, 359,-32768,-32768,-32768,-32768,-32768, 121,-32768,
|
||
-189, -206, 485,-32768,-32768, 258,-32768, 20, -75, 141,
|
||
4, 655,-32768, 283, 6, -3, -70, 521, 7, -161,
|
||
-377, -39, -103, -58,-32768,-32768,-32768, 200, 12, 146,
|
||
-32768, 424,-32768, 280,-32768, -393,-32768, 202,-32768, -405,
|
||
-32768,-32768, 257,-32768,-32768,-32768,-32768,-32768,-32768, -36,
|
||
-57, -28, -15,-32768,-32768,-32768, -32,-32768,-32768,-32768,
|
||
-32768,-32768, 412, -30,-32768, 515, 394, 318, 509, 422,
|
||
-29, -64, -62, -86, -143, 309,-32768,-32768, -167,-32768,
|
||
-32768,-32768, 362, -238,-32768, -131,-32768,-32768,-32768,-32768,
|
||
-89, -331, -472, 312,-32768, 137,-32768,-32768,-32768,-32768,
|
||
-32768,-32768,-32768,-32768,-32768,-32768, 144,-32768, -545, 87,
|
||
-32768, 99,-32768, 476,-32768, -235,-32768,-32768,-32768, 403,
|
||
-197,-32768,-32768,-32768,-32768, 8
|
||
};
|
||
|
||
|
||
#define YYLAST 2526
|
||
|
||
|
||
static const short yytable[] = { 87,
|
||
98, 62, 64, 66, 47, 21, 21, 22, 22, 31,
|
||
31, 124, 121, 25, 25, 253, 296, 227, 52, 321,
|
||
35, 36, 37, 217, 132, 326, 291, 105, 53, 220,
|
||
323, 46, 136, 54, 21, 125, 22, 192, 31, 283,
|
||
49, 51, 25, 280, 224, 100, 312, 482, 203, 355,
|
||
143, 140, 141, 148, 46, 14, 438, 179, 144, 221,
|
||
120, 515, 46, 236, 149, 374, 59, 60, 131, -103,
|
||
110, 238, 598, 211, 180, 59, 60, 196, 313, 652,
|
||
59, 60, 59, 60, -1, 672, 472, 473, 201, 100,
|
||
59, 60, 205, 132, 526, 282, 684, 33, 34, 32,
|
||
227, 105, 607, 660, 111, 112, 14, 567, 191, 288,
|
||
185, 513, 244, 185, 564, 46, 528, 653, 120, 46,
|
||
505, -2, 257, 673, 258, 217, 365, 67, 120, 584,
|
||
291, 682, 599, 457, 685, 458, 217, 131, 353, 281,
|
||
100, 239, 217, 434, 357, 287, 436, 61, 251, 277,
|
||
278, 38, -103, 643, 39, 132, 63, 41, 100, 603,
|
||
100, 280, 317, 65, 319, 41, 320, 14, 236, 200,
|
||
58, 532, 656, 228, 229, 659, 238, 661, 41, 408,
|
||
58, 58, 58, 481, 14, 669, 40, 144, 293, 103,
|
||
325, 58, 14, 294, 185, 372, 405, 14, 41, 58,
|
||
373, 406, 200, 106, 201, 14, 415, 107, 205, 332,
|
||
48, 334, 41, 619, 415, 410, 184, 693, 55, 25,
|
||
56, 244, 347, 410, 184, 14, 135, 409, 111, 112,
|
||
451, 120, 344, 137, 120, 120, 410, 184, 388, 14,
|
||
388, 139, 423, 517, 191, 100, 239, 42, 151, 691,
|
||
142, 360, 111, 112, 692, 328, 43, 330, 222, 132,
|
||
150, 42, 223, 151, 627, 58, 283, 487, 196, 202,
|
||
43, 230, 469, 370, 520, 107, 58, 371, 179, 497,
|
||
181, 5, 502, 7, 190, 111, 112, 228, 229, 9,
|
||
10, 11, 189, 185, 200, 206, 25, 52, 243, 185,
|
||
59, 60, 414, 418, 318, 13, 249, 53, 452, 396,
|
||
244, 379, 54, 233, 289, 290, 241, 14, 250, 367,
|
||
368, 380, 470, 487, 255, 494, 353, 357, 477, 495,
|
||
58, 354, 251, 353, 357, 471, 128, 129, 254, 182,
|
||
478, 295, 9, 10, 11, 100, 524, 388, 183, 184,
|
||
223, 413, 417, -83, 41, 115, -270, -270, 452, 110,
|
||
503, 14, 70, 212, 58, 310, -106, -106, -106, -106,
|
||
309, 444, -106, 552, -106, -106, -106, 316, 411, 416,
|
||
525, 14, 25, 182, 107, 428, 329, 483, 289, 290,
|
||
-106, 491, 183, 184, 105, 639, 132, 425, 427, 223,
|
||
552, 492, 212, 116, 335, -326, -326, -326, -326, 472,
|
||
473, 484, 117, -326, -326, -326, 41, 408, 41, 115,
|
||
200, 416, 200, 641, -268, -268, 322, 107, 342, -326,
|
||
25, 506, 327, 654, 523, 655, 120, 336, 46, 340,
|
||
333, 518, 519, 14, 348, 14, -106, 345, 5, 120,
|
||
7, 97, 132, 346, 201, 205, 9, 10, 11, 310,
|
||
496, 201, 205, 153, 155, 409, 548, 116, 351, 530,
|
||
352, 356, 13, 361, 410, 184, 117, 366, 369, 547,
|
||
383, 411, 411, 384, 397, -102, 390, 391, 416, 416,
|
||
170, 171, 172, 548, 687, 552, 394, 402, 407, 144,
|
||
248, 422, 695, 404, 583, 424, 547, 437, 550, 256,
|
||
551, 442, 561, 443, 259, 260, 25, 227, 585, 265,
|
||
266, 267, 268, 269, 270, 271, 272, 273, 274, 275,
|
||
276, -305, -31, 501, 605, 675, 676, 608, 611, 180,
|
||
110, 509, 510, -163, 511, 615, 531, 52, 569, 570,
|
||
217, -163, 217, 622, 621, -32, 58, 53, 573, 579,
|
||
628, 58, 54, 576, 550, 577, 551, 631, 561, 591,
|
||
593, 586, 25, 5, 6, 7, 8, 624, 638, 580,
|
||
588, 9, 10, 11, 110, 581, 589, -163, 548, 439,
|
||
440, 590, -163, 441, 594, -163, -163, 13, 602, 14,
|
||
606, 547, 120, 614, 46, 59, 60, 193, 194, 195,
|
||
608, 474, 475, 476, 616, 617, 479, 480, 111, 112,
|
||
630, 349, 350, 632, 634, 5, 6, 7, 8, 635,
|
||
674, 637, 678, 9, 10, 11, -163, 646, 608, 647,
|
||
-163, 493, 168, 169, 170, 171, 172, 657, 50, 13,
|
||
662, 14, 666, 212, 670, -115, -115, -115, -115, -115,
|
||
-115, -115, 671, -115, -115, -115, -115, -115, 680, -115,
|
||
-115, -115, -115, -115, -115, -115, -115, -115, -115, -115,
|
||
-115, -115, -115, -115, 689, -115, -115, -115, 683, 686,
|
||
697, 529, 694, 392, -115, 698, 609, -115, 364, 314,
|
||
592, 600, -115, -115, -115, 498, 403, 126, -115, -115,
|
||
485, 292, 566, -115, 489, 173, 174, 362, 175, 176,
|
||
177, 178, 514, 389, 173, 174, 571, 175, 176, 177,
|
||
178, -115, -115, -115, -115, 234, -115, 633, 5, 432,
|
||
7, 97, 5, 55, 7, 56, 9, 10, 11, 395,
|
||
9, 10, 11, 331, 490, 338, 499, 393, 679, 461,
|
||
454, 504, 13, 644, 358, 15, 13, 486, 128, 129,
|
||
645, 604, 681, 421, 9, 10, 11, 0, 446, 0,
|
||
-326, -326, -326, -326, -326, -326, -326, 618, -326, -326,
|
||
-326, -326, -326, 432, -326, -326, -326, -326, -326, -326,
|
||
-326, -326, -326, -326, -326, -326, -326, -326, -326, 0,
|
||
-326, -326, -326, 235, -262, 0, 507, 426, 0, -326,
|
||
0, 0, -326, 41, 115, 461, 516, -326, -326, -326,
|
||
0, 0, 0, -326, -326, 127, 128, 129, -326, 0,
|
||
0, 0, 9, 10, 11, 0, 461, 0, 0, 527,
|
||
14, 0, 0, 0, 0, 0, -326, 0, -326, -326,
|
||
14, -326, 0, 0, 0, 0, 461, 0, 0, 461,
|
||
0, 461, 116, 0, 5, 0, 7, 190, 0, 0,
|
||
0, 117, 9, 10, 11, 212, 572, -326, -326, 0,
|
||
0, 0, -326, -326, 0, -326, 0, 578, 13, -326,
|
||
14, -326, -326, -326, -326, -326, -326, -326, -326, -326,
|
||
-326, -326, 0, -326, 0, -326, 0, -326, -326, -326,
|
||
601, 0, 182, 461, 0, 0, -326, 0, 0, -326,
|
||
0, 183, 184, 0, -326, -326, -326, 0, 0, 0,
|
||
-326, -326, 0, 0, 0, -326, 297, 0, 298, 5,
|
||
6, 7, 8, 0, 0, 299, 0, 9, 10, 11,
|
||
0, 0, 0, -326, -301, -326, -326, 0, -326, 595,
|
||
636, -326, -326, 13, 0, 14, -326, -326, 0, -326,
|
||
0, 0, 0, -326, 0, -326, -326, -326, -326, -326,
|
||
-326, -326, -326, -326, -326, -326, 0, -326, 0, -326,
|
||
0, -326, -326, -326, 0, 0, 5, 6, 7, 8,
|
||
-326, 0, 0, -326, 9, 10, 11, 0, -326, -326,
|
||
-326, 0, 0, -386, -326, -326, 0, 0, 297, -326,
|
||
13, 5, 6, 7, 8, 0, 0, 299, 0, 9,
|
||
10, 11, 0, 0, 0, 0, 0, -326, 0, -326,
|
||
-326, 625, -326, -336, -336, 13, 0, 14, -336, -336,
|
||
0, -336, 0, 0, 0, -336, 0, -336, -336, -336,
|
||
-336, -336, -336, -336, -336, -336, -336, -336, 0, -336,
|
||
0, -336, 0, -336, -336, -336, 0, 0, 0, 0,
|
||
0, 0, -336, 0, 0, -336, 0, 0, 0, 0,
|
||
-336, -336, -336, 0, 0, -386, -336, -336, 0, 0,
|
||
145, -336, 68, 5, 0, 7, 97, 69, 70, 0,
|
||
71, 9, 10, 11, 0, 0, 0, 0, 0, -336,
|
||
0, -336, -336, 0, -336, 0, 0, 13, 72, 0,
|
||
15, 0, 73, 74, 75, 455, 0, 456, 60, 0,
|
||
0, 76, 69, 70, 77, 71, 0, 0, 0, 78,
|
||
79, 80, 0, 0, 0, 81, 82, 0, 0, 0,
|
||
83, 0, 0, 72, 0, 15, 0, 73, 74, 75,
|
||
0, 0, 0, 0, 0, 0, 76, 0, 0, 77,
|
||
84, 85, 0, -92, 78, 79, 80, 0, 0, 0,
|
||
81, 82, 0, 0, 457, 83, 458, 455, 0, 456,
|
||
60, 0, 0, 0, 69, 70, 0, 71, 0, 0,
|
||
0, 0, 0, 0, -191, 84, 85, 0, 459, 0,
|
||
0, 0, 0, 0, 0, 72, 0, 15, 0, 73,
|
||
74, 75, 0, 0, 0, 0, 0, 0, 76, 0,
|
||
0, 77, 0, 0, 0, 0, 78, 79, 80, 0,
|
||
0, 0, 81, 82, 0, 0, 457, 83, 458, 455,
|
||
0, 68, 0, 0, 0, 0, 69, 70, 0, 71,
|
||
0, 0, 0, 0, 0, 0, -259, 84, 85, 0,
|
||
459, 0, 0, 0, 0, 0, 0, 72, 0, 15,
|
||
0, 73, 74, 75, 0, 0, -204, 430, 0, 68,
|
||
76, 0, 0, 77, 69, 70, 0, 71, 78, 79,
|
||
80, 0, 0, 0, 81, 82, 0, 0, -204, 83,
|
||
-204, 0, 0, 0, 0, 72, 0, 15, 0, 73,
|
||
74, 75, 0, 0, 0, 0, 0, 0, 76, 84,
|
||
85, 77, 459, 0, 0, 0, 78, 79, 80, 0,
|
||
0, 0, 81, 82, 455, 0, 68, 83, 0, 0,
|
||
0, 69, 70, 109, 71, 0, -27, -27, -27, -27,
|
||
0, 0, 0, 0, -27, -27, -27, 84, 85, 0,
|
||
431, 0, 72, 0, 15, 0, 73, 74, 75, 110,
|
||
-27, 0, -163, 0, 0, 76, 0, 0, 77, 0,
|
||
-163, 0, 0, 78, 79, 80, 0, 0, 0, 81,
|
||
82, 0, 0, 0, 83, 165, 166, 167, 168, 169,
|
||
170, 171, 172, 111, 112, 0, 0, 231, 0, 0,
|
||
-23, -23, -23, -23, 84, 85, 0, 459, -23, -23,
|
||
-23, -163, 0, 0, 0, -163, -27, 0, 0, 0,
|
||
0, 0, 0, 110, -23, 225, -163, 0, -19, -19,
|
||
-19, -19, 0, 0, -163, 68, -19, -19, -19, 0,
|
||
69, 70, 0, 71, 0, 0, 0, 0, 0, 0,
|
||
0, 110, -19, 0, -163, 0, 0, 111, 112, 0,
|
||
0, 72, -163, 15, 0, 73, 74, 75, 0, 0,
|
||
0, 0, 0, 0, 76, -163, 0, 77, 0, -163,
|
||
-23, 0, 78, 79, 209, 0, 0, 0, 81, 82,
|
||
68, 0, 0, 83, 0, 69, 70, 0, 71, 0,
|
||
0, 0, 0, -163, 0, 0, 0, -163, -19, 0,
|
||
0, 0, 0, 84, 85, 0, 72, 210, 15, 0,
|
||
73, 74, 75, 0, 0, 0, 0, 0, 68, 76,
|
||
0, 0, 77, 69, 70, 0, 71, 78, 79, 80,
|
||
0, 0, 0, 81, 82, 0, 0, 0, 83, 0,
|
||
0, 0, 0, 0, 72, 0, 15, 0, 73, 74,
|
||
75, 0, 0, 0, 0, 0, 0, 76, 84, 85,
|
||
77, 0, 286, 0, 0, 78, 79, 80, 0, 0,
|
||
0, 81, 82, 68, 0, 0, 83, 0, 69, 70,
|
||
234, 71, 0, 5, 0, 7, 97, 0, 0, 0,
|
||
0, 9, 10, 11, 0, 0, 84, 85, 0, 72,
|
||
308, 15, 0, 73, 74, 75, 0, 13, 0, 0,
|
||
15, 68, 76, 0, 0, 77, 69, 70, 0, 71,
|
||
78, 79, 80, 0, 0, 0, 81, 82, 0, 0,
|
||
0, 83, 0, 0, 0, 0, 0, 72, 0, 15,
|
||
0, 73, 74, 75, 0, 0, 0, 0, 0, 0,
|
||
76, 84, 85, 77, 0, 324, 0, 0, 78, 79,
|
||
80, 0, 0, 0, 81, 82, 68, 0, 0, 83,
|
||
0, 69, 70, 0, 71, 5, 6, 7, 8, 0,
|
||
0, 420, 0, 9, 10, 11, 0, 0, 0, 84,
|
||
85, 0, 72, 359, 15, 0, 73, 74, 75, 13,
|
||
0, 14, 0, 0, 68, 76, 0, 0, 77, 69,
|
||
70, 0, 71, 78, 79, 521, 0, 0, 0, 81,
|
||
82, 0, 0, 0, 83, 0, 0, 0, 0, 0,
|
||
72, 0, 15, 0, 73, 74, 75, 612, 0, 0,
|
||
0, 0, 0, 76, 84, 85, 77, 0, 522, 0,
|
||
0, 78, 79, 80, 0, 0, 0, 81, 82, 0,
|
||
0, 0, 83, 0, 156, 157, 158, 613, 159, 160,
|
||
161, 162, 163, 164, 165, 166, 167, 168, 169, 170,
|
||
171, 172, 84, 85, 0, 0, 568, 456, 533, 6,
|
||
7, 8, 69, 70, 0, 71, 9, 10, 11, 534,
|
||
0, 535, 536, 537, 538, 539, 540, 541, 542, 543,
|
||
544, 545, 13, 72, 14, 15, 0, 73, 74, 75,
|
||
0, 0, 5, 6, 7, 8, 76, 0, 0, 77,
|
||
9, 10, 11, 0, 78, 79, 80, 0, 0, 0,
|
||
81, 82, 0, 0, 0, 83, 13, 158, 14, 159,
|
||
160, 161, 162, 163, 164, 165, 166, 167, 168, 169,
|
||
170, 171, 172, 546, 0, 84, 85, 0, 251, 456,
|
||
60, 0, 0, 0, 69, 70, 0, 71, 0, 0,
|
||
0, 534, 0, 535, 536, 537, 538, 539, 540, 541,
|
||
542, 543, 544, 545, 0, 72, 0, 15, 0, 73,
|
||
74, 75, 0, 0, 68, 0, 0, 0, 76, 69,
|
||
70, 77, 71, 0, 0, 0, 78, 79, 80, 0,
|
||
0, 0, 81, 82, 0, 0, 0, 83, 0, 0,
|
||
72, 0, 15, 0, 73, 74, 75, 0, 0, 0,
|
||
0, 0, 0, 76, 0, 546, 77, 84, 85, 0,
|
||
251, 78, 79, 80, 0, 0, 0, 81, 82, 0,
|
||
0, 0, 83, 68, 5, 6, 7, 8, 69, 70,
|
||
0, 71, 9, 10, 11, 166, 167, 168, 169, 170,
|
||
171, 172, 84, 85, 0, 343, 0, 0, 13, 72,
|
||
14, 15, 0, 73, 74, 75, 0, 0, 0, 0,
|
||
0, 0, 76, 0, 0, 77, 0, 0, 0, 0,
|
||
78, 79, 80, 0, 0, 0, 81, 82, 0, 68,
|
||
5, 83, 7, 97, 69, 70, 0, 71, 9, 10,
|
||
11, 163, 164, 165, 166, 167, 168, 169, 170, 171,
|
||
172, 84, 85, 0, 13, 72, 0, 15, 0, 73,
|
||
74, 75, 0, 0, 68, 0, 0, 0, 76, 69,
|
||
70, 77, 71, 0, 0, 0, 78, 79, 80, 0,
|
||
0, 0, 81, 82, 0, 0, 0, 83, 0, 0,
|
||
72, 0, 15, 0, 73, 74, 75, 0, 0, 0,
|
||
0, 0, 0, 76, 0, 0, 77, 84, 85, 0,
|
||
0, 78, 79, 80, 0, 0, 0, 81, 82, 68,
|
||
0, 0, 83, 0, 69, 70, 0, 71, 161, 162,
|
||
163, 164, 165, 166, 167, 168, 169, 170, 171, 172,
|
||
582, 0, 84, 85, 0, 72, 0, 15, 0, 73,
|
||
74, 75, 0, 0, 68, 0, 0, 0, 76, 69,
|
||
70, 77, 71, 0, 0, 0, 78, 79, 80, 0,
|
||
0, 0, 81, 82, 0, 0, 0, 83, 0, 0,
|
||
72, 0, 15, 0, 73, 74, 75, 0, 0, 0,
|
||
0, 0, 0, 76, 0, 0, 77, 84, 85, 0,
|
||
0, 78, 79, 80, 0, 0, 0, 81, 82, 68,
|
||
0, 0, 152, 0, 69, 70, 0, 71, 160, 161,
|
||
162, 163, 164, 165, 166, 167, 168, 169, 170, 171,
|
||
172, 0, 84, 85, 0, 72, 0, 15, 0, 73,
|
||
74, 75, 0, 0, 363, 0, 0, 0, 76, 69,
|
||
70, 77, 71, 0, 0, 0, 78, 79, 80, 0,
|
||
0, 0, 81, 82, 0, 0, 0, 154, 0, 0,
|
||
72, 0, 15, 0, 73, 74, 75, 0, 0, 0,
|
||
0, 0, 0, 76, 0, 0, 77, 84, 85, 0,
|
||
0, 78, 79, 80, 0, 0, 0, 81, 82, 0,
|
||
0, 4, 83, -119, 5, 6, 7, 8, 0, 0,
|
||
0, 0, 9, 10, 11, 0, 0, 0, 0, 0,
|
||
0, 0, 84, 85, 0, 0, 0, 12, 13, 0,
|
||
14, 15, 162, 163, 164, 165, 166, 167, 168, 169,
|
||
170, 171, 172, 0, 0, 0, 0, 0, 0, 562,
|
||
0, 0, -119, 0, 0, 0, 0, 0, 156, 157,
|
||
158, -119, 159, 160, 161, 162, 163, 164, 165, 166,
|
||
167, 168, 169, 170, 171, 172, 156, 157, 158, 16,
|
||
159, 160, 161, 162, 163, 164, 165, 166, 167, 168,
|
||
169, 170, 171, 172, 164, 165, 166, 167, 168, 169,
|
||
170, 171, 172, 156, 157, 158, 629, 159, 160, 161,
|
||
162, 163, 164, 165, 166, 167, 168, 169, 170, 171,
|
||
172, 14, 0, 0, 563, 0, 0, 0, 156, 157,
|
||
158, 0, 159, 160, 161, 162, 163, 164, 165, 166,
|
||
167, 168, 169, 170, 171, 172, 0, 0, 0, 339,
|
||
156, 157, 158, 651, 159, 160, 161, 162, 163, 164,
|
||
165, 166, 167, 168, 169, 170, 171, 172, 156, 157,
|
||
158, 0, 159, 160, 161, 162, 163, 164, 165, 166,
|
||
167, 168, 169, 170, 171, 172
|
||
};
|
||
|
||
static const short yycheck[] = { 38,
|
||
39, 27, 28, 29, 20, 2, 3, 2, 3, 2,
|
||
3, 51, 49, 2, 3, 147, 206, 121, 22, 226,
|
||
9, 10, 11, 113, 57, 232, 188, 43, 22, 116,
|
||
228, 20, 63, 22, 31, 51, 31, 102, 31, 183,
|
||
21, 22, 31, 177, 120, 39, 214, 425, 107, 285,
|
||
76, 73, 74, 83, 43, 30, 388, 9, 80, 117,
|
||
49, 467, 51, 134, 86, 1, 3, 4, 57, 1,
|
||
27, 134, 1, 112, 96, 3, 4, 103, 10, 40,
|
||
3, 4, 3, 4, 0, 40, 61, 62, 104, 83,
|
||
3, 4, 108, 126, 488, 182, 40, 79, 80, 3,
|
||
204, 117, 575, 649, 61, 62, 30, 513, 102, 185,
|
||
99, 38, 138, 102, 508, 104, 40, 78, 107, 108,
|
||
452, 0, 152, 78, 154, 215, 78, 31, 117, 52,
|
||
292, 677, 61, 60, 78, 62, 226, 126, 282, 178,
|
||
134, 134, 232, 382, 288, 184, 385, 84, 84, 175,
|
||
176, 61, 84, 626, 61, 188, 84, 3, 152, 565,
|
||
154, 295, 220, 84, 223, 3, 224, 30, 239, 7,
|
||
25, 503, 645, 61, 62, 648, 239, 650, 3, 4,
|
||
35, 36, 37, 419, 30, 658, 61, 209, 78, 61,
|
||
229, 46, 30, 83, 183, 78, 78, 30, 3, 54,
|
||
83, 83, 7, 79, 220, 30, 52, 83, 224, 240,
|
||
79, 242, 3, 591, 52, 61, 62, 690, 5, 208,
|
||
7, 247, 261, 61, 62, 30, 84, 52, 61, 62,
|
||
398, 220, 254, 84, 223, 224, 61, 62, 328, 30,
|
||
330, 84, 374, 78, 238, 239, 239, 52, 83, 78,
|
||
61, 290, 61, 62, 83, 236, 61, 238, 79, 292,
|
||
78, 52, 83, 83, 596, 120, 410, 429, 294, 78,
|
||
61, 79, 406, 79, 472, 83, 131, 83, 9, 447,
|
||
78, 4, 450, 6, 7, 61, 62, 61, 62, 12,
|
||
13, 14, 78, 282, 7, 61, 285, 301, 1, 288,
|
||
3, 4, 367, 368, 78, 28, 78, 301, 398, 339,
|
||
336, 315, 301, 80, 61, 62, 80, 30, 78, 300,
|
||
301, 315, 409, 485, 79, 79, 470, 471, 415, 83,
|
||
185, 78, 84, 477, 478, 411, 6, 7, 78, 52,
|
||
416, 61, 12, 13, 14, 339, 79, 437, 61, 62,
|
||
83, 367, 368, 40, 3, 4, 79, 80, 448, 27,
|
||
450, 30, 9, 1, 219, 79, 4, 5, 6, 7,
|
||
85, 397, 10, 505, 12, 13, 14, 38, 367, 368,
|
||
79, 30, 371, 52, 83, 379, 79, 427, 61, 62,
|
||
28, 40, 61, 62, 410, 79, 429, 378, 379, 83,
|
||
532, 438, 1, 52, 38, 4, 5, 6, 7, 61,
|
||
62, 427, 61, 12, 13, 14, 3, 4, 3, 4,
|
||
7, 410, 7, 79, 79, 80, 227, 83, 78, 28,
|
||
419, 457, 233, 640, 473, 642, 425, 83, 427, 80,
|
||
241, 470, 471, 30, 40, 30, 84, 78, 4, 438,
|
||
6, 7, 485, 78, 470, 471, 12, 13, 14, 79,
|
||
80, 477, 478, 90, 91, 52, 505, 52, 78, 495,
|
||
85, 85, 28, 78, 61, 62, 61, 78, 78, 505,
|
||
38, 470, 471, 85, 32, 84, 80, 80, 477, 478,
|
||
52, 53, 54, 532, 684, 627, 80, 40, 78, 521,
|
||
142, 3, 692, 85, 543, 79, 532, 83, 505, 151,
|
||
505, 80, 505, 78, 156, 157, 505, 621, 544, 161,
|
||
162, 163, 164, 165, 166, 167, 168, 169, 170, 171,
|
||
172, 80, 40, 80, 573, 667, 668, 576, 577, 561,
|
||
27, 40, 80, 30, 83, 584, 80, 551, 85, 80,
|
||
640, 38, 642, 593, 591, 40, 411, 551, 61, 40,
|
||
599, 416, 551, 61, 561, 61, 561, 606, 561, 550,
|
||
551, 7, 561, 4, 5, 6, 7, 593, 617, 79,
|
||
40, 12, 13, 14, 27, 79, 79, 30, 627, 390,
|
||
391, 79, 79, 394, 16, 38, 83, 28, 80, 30,
|
||
61, 627, 591, 79, 593, 3, 4, 5, 6, 7,
|
||
649, 412, 413, 414, 79, 61, 417, 418, 61, 62,
|
||
78, 263, 264, 17, 79, 4, 5, 6, 7, 78,
|
||
83, 79, 671, 12, 13, 14, 79, 78, 677, 78,
|
||
83, 442, 50, 51, 52, 53, 54, 79, 79, 28,
|
||
9, 30, 79, 1, 79, 3, 4, 5, 6, 7,
|
||
8, 9, 61, 11, 12, 13, 14, 15, 79, 17,
|
||
18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
|
||
28, 29, 30, 31, 79, 33, 34, 35, 78, 78,
|
||
0, 492, 79, 335, 42, 0, 576, 45, 295, 215,
|
||
79, 561, 50, 51, 52, 448, 348, 53, 56, 57,
|
||
428, 191, 511, 61, 435, 56, 57, 294, 59, 60,
|
||
61, 62, 466, 330, 56, 57, 527, 59, 60, 61,
|
||
62, 79, 80, 81, 82, 1, 84, 78, 4, 381,
|
||
6, 7, 4, 5, 6, 7, 12, 13, 14, 338,
|
||
12, 13, 14, 239, 437, 247, 448, 336, 672, 401,
|
||
399, 450, 28, 627, 289, 31, 28, 5, 6, 7,
|
||
627, 572, 674, 371, 12, 13, 14, -1, 1, -1,
|
||
3, 4, 5, 6, 7, 8, 9, 588, 11, 12,
|
||
13, 14, 15, 435, 17, 18, 19, 20, 21, 22,
|
||
23, 24, 25, 26, 27, 28, 29, 30, 31, -1,
|
||
33, 34, 35, 79, 80, -1, 458, 79, -1, 42,
|
||
-1, -1, 45, 3, 4, 467, 468, 50, 51, 52,
|
||
-1, -1, -1, 56, 57, 5, 6, 7, 61, -1,
|
||
-1, -1, 12, 13, 14, -1, 488, -1, -1, 491,
|
||
30, -1, -1, -1, -1, -1, 79, -1, 81, 82,
|
||
30, 84, -1, -1, -1, -1, 508, -1, -1, 511,
|
||
-1, 513, 52, -1, 4, -1, 6, 7, -1, -1,
|
||
-1, 61, 12, 13, 14, 1, 528, 3, 4, -1,
|
||
-1, -1, 8, 9, -1, 11, -1, 539, 28, 15,
|
||
30, 17, 18, 19, 20, 21, 22, 23, 24, 25,
|
||
26, 27, -1, 29, -1, 31, -1, 33, 34, 35,
|
||
562, -1, 52, 565, -1, -1, 42, -1, -1, 45,
|
||
-1, 61, 62, -1, 50, 51, 52, -1, -1, -1,
|
||
56, 57, -1, -1, -1, 61, 1, -1, 3, 4,
|
||
5, 6, 7, -1, -1, 10, -1, 12, 13, 14,
|
||
-1, -1, -1, 79, 80, 81, 82, -1, 84, 1,
|
||
612, 3, 4, 28, -1, 30, 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, 35, -1, -1, 4, 5, 6, 7,
|
||
42, -1, -1, 45, 12, 13, 14, -1, 50, 51,
|
||
52, -1, -1, 78, 56, 57, -1, -1, 1, 61,
|
||
28, 4, 5, 6, 7, -1, -1, 10, -1, 12,
|
||
13, 14, -1, -1, -1, -1, -1, 79, -1, 81,
|
||
82, 1, 84, 3, 4, 28, -1, 30, 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, 35, -1, -1, -1, -1,
|
||
-1, -1, 42, -1, -1, 45, -1, -1, -1, -1,
|
||
50, 51, 52, -1, -1, 78, 56, 57, -1, -1,
|
||
1, 61, 3, 4, -1, 6, 7, 8, 9, -1,
|
||
11, 12, 13, 14, -1, -1, -1, -1, -1, 79,
|
||
-1, 81, 82, -1, 84, -1, -1, 28, 29, -1,
|
||
31, -1, 33, 34, 35, 1, -1, 3, 4, -1,
|
||
-1, 42, 8, 9, 45, 11, -1, -1, -1, 50,
|
||
51, 52, -1, -1, -1, 56, 57, -1, -1, -1,
|
||
61, -1, -1, 29, -1, 31, -1, 33, 34, 35,
|
||
-1, -1, -1, -1, -1, -1, 42, -1, -1, 45,
|
||
81, 82, -1, 84, 50, 51, 52, -1, -1, -1,
|
||
56, 57, -1, -1, 60, 61, 62, 1, -1, 3,
|
||
4, -1, -1, -1, 8, 9, -1, 11, -1, -1,
|
||
-1, -1, -1, -1, 80, 81, 82, -1, 84, -1,
|
||
-1, -1, -1, -1, -1, 29, -1, 31, -1, 33,
|
||
34, 35, -1, -1, -1, -1, -1, -1, 42, -1,
|
||
-1, 45, -1, -1, -1, -1, 50, 51, 52, -1,
|
||
-1, -1, 56, 57, -1, -1, 60, 61, 62, 1,
|
||
-1, 3, -1, -1, -1, -1, 8, 9, -1, 11,
|
||
-1, -1, -1, -1, -1, -1, 80, 81, 82, -1,
|
||
84, -1, -1, -1, -1, -1, -1, 29, -1, 31,
|
||
-1, 33, 34, 35, -1, -1, 38, 1, -1, 3,
|
||
42, -1, -1, 45, 8, 9, -1, 11, 50, 51,
|
||
52, -1, -1, -1, 56, 57, -1, -1, 60, 61,
|
||
62, -1, -1, -1, -1, 29, -1, 31, -1, 33,
|
||
34, 35, -1, -1, -1, -1, -1, -1, 42, 81,
|
||
82, 45, 84, -1, -1, -1, 50, 51, 52, -1,
|
||
-1, -1, 56, 57, 1, -1, 3, 61, -1, -1,
|
||
-1, 8, 9, 1, 11, -1, 4, 5, 6, 7,
|
||
-1, -1, -1, -1, 12, 13, 14, 81, 82, -1,
|
||
84, -1, 29, -1, 31, -1, 33, 34, 35, 27,
|
||
28, -1, 30, -1, -1, 42, -1, -1, 45, -1,
|
||
38, -1, -1, 50, 51, 52, -1, -1, -1, 56,
|
||
57, -1, -1, -1, 61, 47, 48, 49, 50, 51,
|
||
52, 53, 54, 61, 62, -1, -1, 1, -1, -1,
|
||
4, 5, 6, 7, 81, 82, -1, 84, 12, 13,
|
||
14, 79, -1, -1, -1, 83, 84, -1, -1, -1,
|
||
-1, -1, -1, 27, 28, 1, 30, -1, 4, 5,
|
||
6, 7, -1, -1, 38, 3, 12, 13, 14, -1,
|
||
8, 9, -1, 11, -1, -1, -1, -1, -1, -1,
|
||
-1, 27, 28, -1, 30, -1, -1, 61, 62, -1,
|
||
-1, 29, 38, 31, -1, 33, 34, 35, -1, -1,
|
||
-1, -1, -1, -1, 42, 79, -1, 45, -1, 83,
|
||
84, -1, 50, 51, 52, -1, -1, -1, 56, 57,
|
||
3, -1, -1, 61, -1, 8, 9, -1, 11, -1,
|
||
-1, -1, -1, 79, -1, -1, -1, 83, 84, -1,
|
||
-1, -1, -1, 81, 82, -1, 29, 85, 31, -1,
|
||
33, 34, 35, -1, -1, -1, -1, -1, 3, 42,
|
||
-1, -1, 45, 8, 9, -1, 11, 50, 51, 52,
|
||
-1, -1, -1, 56, 57, -1, -1, -1, 61, -1,
|
||
-1, -1, -1, -1, 29, -1, 31, -1, 33, 34,
|
||
35, -1, -1, -1, -1, -1, -1, 42, 81, 82,
|
||
45, -1, 85, -1, -1, 50, 51, 52, -1, -1,
|
||
-1, 56, 57, 3, -1, -1, 61, -1, 8, 9,
|
||
1, 11, -1, 4, -1, 6, 7, -1, -1, -1,
|
||
-1, 12, 13, 14, -1, -1, 81, 82, -1, 29,
|
||
85, 31, -1, 33, 34, 35, -1, 28, -1, -1,
|
||
31, 3, 42, -1, -1, 45, 8, 9, -1, 11,
|
||
50, 51, 52, -1, -1, -1, 56, 57, -1, -1,
|
||
-1, 61, -1, -1, -1, -1, -1, 29, -1, 31,
|
||
-1, 33, 34, 35, -1, -1, -1, -1, -1, -1,
|
||
42, 81, 82, 45, -1, 85, -1, -1, 50, 51,
|
||
52, -1, -1, -1, 56, 57, 3, -1, -1, 61,
|
||
-1, 8, 9, -1, 11, 4, 5, 6, 7, -1,
|
||
-1, 10, -1, 12, 13, 14, -1, -1, -1, 81,
|
||
82, -1, 29, 85, 31, -1, 33, 34, 35, 28,
|
||
-1, 30, -1, -1, 3, 42, -1, -1, 45, 8,
|
||
9, -1, 11, 50, 51, 52, -1, -1, -1, 56,
|
||
57, -1, -1, -1, 61, -1, -1, -1, -1, -1,
|
||
29, -1, 31, -1, 33, 34, 35, 10, -1, -1,
|
||
-1, -1, -1, 42, 81, 82, 45, -1, 85, -1,
|
||
-1, 50, 51, 52, -1, -1, -1, 56, 57, -1,
|
||
-1, -1, 61, -1, 37, 38, 39, 40, 41, 42,
|
||
43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
|
||
53, 54, 81, 82, -1, -1, 85, 3, 4, 5,
|
||
6, 7, 8, 9, -1, 11, 12, 13, 14, 15,
|
||
-1, 17, 18, 19, 20, 21, 22, 23, 24, 25,
|
||
26, 27, 28, 29, 30, 31, -1, 33, 34, 35,
|
||
-1, -1, 4, 5, 6, 7, 42, -1, -1, 45,
|
||
12, 13, 14, -1, 50, 51, 52, -1, -1, -1,
|
||
56, 57, -1, -1, -1, 61, 28, 39, 30, 41,
|
||
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
||
52, 53, 54, 79, -1, 81, 82, -1, 84, 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, 35, -1, -1, 3, -1, -1, -1, 42, 8,
|
||
9, 45, 11, -1, -1, -1, 50, 51, 52, -1,
|
||
-1, -1, 56, 57, -1, -1, -1, 61, -1, -1,
|
||
29, -1, 31, -1, 33, 34, 35, -1, -1, -1,
|
||
-1, -1, -1, 42, -1, 79, 45, 81, 82, -1,
|
||
84, 50, 51, 52, -1, -1, -1, 56, 57, -1,
|
||
-1, -1, 61, 3, 4, 5, 6, 7, 8, 9,
|
||
-1, 11, 12, 13, 14, 48, 49, 50, 51, 52,
|
||
53, 54, 81, 82, -1, 84, -1, -1, 28, 29,
|
||
30, 31, -1, 33, 34, 35, -1, -1, -1, -1,
|
||
-1, -1, 42, -1, -1, 45, -1, -1, -1, -1,
|
||
50, 51, 52, -1, -1, -1, 56, 57, -1, 3,
|
||
4, 61, 6, 7, 8, 9, -1, 11, 12, 13,
|
||
14, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
||
54, 81, 82, -1, 28, 29, -1, 31, -1, 33,
|
||
34, 35, -1, -1, 3, -1, -1, -1, 42, 8,
|
||
9, 45, 11, -1, -1, -1, 50, 51, 52, -1,
|
||
-1, -1, 56, 57, -1, -1, -1, 61, -1, -1,
|
||
29, -1, 31, -1, 33, 34, 35, -1, -1, -1,
|
||
-1, -1, -1, 42, -1, -1, 45, 81, 82, -1,
|
||
-1, 50, 51, 52, -1, -1, -1, 56, 57, 3,
|
||
-1, -1, 61, -1, 8, 9, -1, 11, 43, 44,
|
||
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
||
79, -1, 81, 82, -1, 29, -1, 31, -1, 33,
|
||
34, 35, -1, -1, 3, -1, -1, -1, 42, 8,
|
||
9, 45, 11, -1, -1, -1, 50, 51, 52, -1,
|
||
-1, -1, 56, 57, -1, -1, -1, 61, -1, -1,
|
||
29, -1, 31, -1, 33, 34, 35, -1, -1, -1,
|
||
-1, -1, -1, 42, -1, -1, 45, 81, 82, -1,
|
||
-1, 50, 51, 52, -1, -1, -1, 56, 57, 3,
|
||
-1, -1, 61, -1, 8, 9, -1, 11, 42, 43,
|
||
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
||
54, -1, 81, 82, -1, 29, -1, 31, -1, 33,
|
||
34, 35, -1, -1, 3, -1, -1, -1, 42, 8,
|
||
9, 45, 11, -1, -1, -1, 50, 51, 52, -1,
|
||
-1, -1, 56, 57, -1, -1, -1, 61, -1, -1,
|
||
29, -1, 31, -1, 33, 34, 35, -1, -1, -1,
|
||
-1, -1, -1, 42, -1, -1, 45, 81, 82, -1,
|
||
-1, 50, 51, 52, -1, -1, -1, 56, 57, -1,
|
||
-1, 1, 61, 3, 4, 5, 6, 7, -1, -1,
|
||
-1, -1, 12, 13, 14, -1, -1, -1, -1, -1,
|
||
-1, -1, 81, 82, -1, -1, -1, 27, 28, -1,
|
||
30, 31, 44, 45, 46, 47, 48, 49, 50, 51,
|
||
52, 53, 54, -1, -1, -1, -1, -1, -1, 10,
|
||
-1, -1, 52, -1, -1, -1, -1, -1, 37, 38,
|
||
39, 61, 41, 42, 43, 44, 45, 46, 47, 48,
|
||
49, 50, 51, 52, 53, 54, 37, 38, 39, 79,
|
||
41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
|
||
51, 52, 53, 54, 46, 47, 48, 49, 50, 51,
|
||
52, 53, 54, 37, 38, 39, 85, 41, 42, 43,
|
||
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
||
54, 30, -1, -1, 85, -1, -1, -1, 37, 38,
|
||
39, -1, 41, 42, 43, 44, 45, 46, 47, 48,
|
||
49, 50, 51, 52, 53, 54, -1, -1, -1, 83,
|
||
37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
|
||
47, 48, 49, 50, 51, 52, 53, 54, 37, 38,
|
||
39, -1, 41, 42, 43, 44, 45, 46, 47, 48,
|
||
49, 50, 51, 52, 53, 54
|
||
};
|
||
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
|
||
#line 3 "/usr/cygnus/gnupro-98r2/share/bison.simple"
|
||
|
||
/* Skeleton output parser for bison,
|
||
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
|
||
|
||
This program is free software; you can redistribute it and/or modify
|
||
it under the terms of the GNU General Public License as published by
|
||
the Free Software Foundation; either version 2, or (at your option)
|
||
any later version.
|
||
|
||
This program is distributed in the hope that it will be useful,
|
||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
GNU General Public License for more details.
|
||
|
||
You should have received a copy of the GNU General Public License
|
||
along with this program; if not, write to the Free Software
|
||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||
|
||
/* As a special exception, when this file is copied by Bison into a
|
||
Bison output file, you may use that output file without restriction.
|
||
This special exception was added by the Free Software Foundation
|
||
in version 1.24 of Bison. */
|
||
|
||
#ifndef alloca
|
||
#ifdef __GNUC__
|
||
#define alloca __builtin_alloca
|
||
#else /* not GNU C. */
|
||
#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi)
|
||
#include <alloca.h>
|
||
#else /* not sparc */
|
||
#if defined (MSDOS) && !defined (__TURBOC__)
|
||
#include <malloc.h>
|
||
#else /* not MSDOS, or __TURBOC__ */
|
||
#if defined(_AIX)
|
||
#include <malloc.h>
|
||
#pragma alloca
|
||
#else /* not MSDOS, __TURBOC__, or _AIX */
|
||
#ifdef __hpux
|
||
#ifdef __cplusplus
|
||
extern "C" {
|
||
void *alloca (unsigned int);
|
||
};
|
||
#else /* not __cplusplus */
|
||
void *alloca ();
|
||
#endif /* not __cplusplus */
|
||
#endif /* __hpux */
|
||
#endif /* not _AIX */
|
||
#endif /* not MSDOS, or __TURBOC__ */
|
||
#endif /* not sparc. */
|
||
#endif /* not GNU C. */
|
||
#endif /* alloca not defined. */
|
||
|
||
/* This is the parser code that is written into each bison parser
|
||
when the %semantic_parser declaration is not specified in the grammar.
|
||
It was written by Richard Stallman by simplifying the hairy parser
|
||
used when %semantic_parser is specified. */
|
||
|
||
/* Note: there must be only one dollar sign in this file.
|
||
It is replaced by the list of actions, each action
|
||
as one case of the switch. */
|
||
|
||
#define yyerrok (yyerrstatus = 0)
|
||
#define yyclearin (yychar = YYEMPTY)
|
||
#define YYEMPTY -2
|
||
#define YYEOF 0
|
||
#define YYACCEPT return(0)
|
||
#define YYABORT return(1)
|
||
#define YYERROR goto yyerrlab1
|
||
/* Like YYERROR except do call yyerror.
|
||
This remains here temporarily to ease the
|
||
transition to the new meaning of YYERROR, for GCC.
|
||
Once GCC version 2 has supplanted version 1, this can go. */
|
||
#define YYFAIL goto yyerrlab
|
||
#define YYRECOVERING() (!!yyerrstatus)
|
||
#define YYBACKUP(token, value) \
|
||
do \
|
||
if (yychar == YYEMPTY && yylen == 1) \
|
||
{ yychar = (token), yylval = (value); \
|
||
yychar1 = YYTRANSLATE (yychar); \
|
||
YYPOPSTACK; \
|
||
goto yybackup; \
|
||
} \
|
||
else \
|
||
{ yyerror ("syntax error: cannot back up"); YYERROR; } \
|
||
while (0)
|
||
|
||
#define YYTERROR 1
|
||
#define YYERRCODE 256
|
||
|
||
#ifndef YYPURE
|
||
#define YYLEX yylex()
|
||
#endif
|
||
|
||
#ifdef YYPURE
|
||
#ifdef YYLSP_NEEDED
|
||
#ifdef YYLEX_PARAM
|
||
#define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM)
|
||
#else
|
||
#define YYLEX yylex(&yylval, &yylloc)
|
||
#endif
|
||
#else /* not YYLSP_NEEDED */
|
||
#ifdef YYLEX_PARAM
|
||
#define YYLEX yylex(&yylval, YYLEX_PARAM)
|
||
#else
|
||
#define YYLEX yylex(&yylval)
|
||
#endif
|
||
#endif /* not YYLSP_NEEDED */
|
||
#endif
|
||
|
||
/* If nonreentrant, generate the variables here */
|
||
|
||
#ifndef YYPURE
|
||
|
||
int yychar; /* the lookahead symbol */
|
||
YYSTYPE yylval; /* the semantic value of the */
|
||
/* lookahead symbol */
|
||
|
||
#ifdef YYLSP_NEEDED
|
||
YYLTYPE yylloc; /* location data for the lookahead */
|
||
/* symbol */
|
||
#endif
|
||
|
||
int yynerrs; /* number of parse errors so far */
|
||
#endif /* not YYPURE */
|
||
|
||
#if YYDEBUG != 0
|
||
int yydebug; /* nonzero means print parse trace */
|
||
/* Since this is uninitialized, it does not stop multiple parsers
|
||
from coexisting. */
|
||
#endif
|
||
|
||
/* YYINITDEPTH indicates the initial size of the parser's stacks */
|
||
|
||
#ifndef YYINITDEPTH
|
||
#define YYINITDEPTH 200
|
||
#endif
|
||
|
||
/* YYMAXDEPTH is the maximum size the stacks can grow to
|
||
(effective only if the built-in stack extension method is used). */
|
||
|
||
#if YYMAXDEPTH == 0
|
||
#undef YYMAXDEPTH
|
||
#endif
|
||
|
||
#ifndef YYMAXDEPTH
|
||
#define YYMAXDEPTH 10000
|
||
#endif
|
||
|
||
/* Prevent warning if -Wstrict-prototypes. */
|
||
#ifdef __GNUC__
|
||
int yyparse (void);
|
||
#endif
|
||
|
||
#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
|
||
#define __yy_memcpy(TO,FROM,COUNT) __builtin_memcpy(TO,FROM,COUNT)
|
||
#else /* not GNU C or C++ */
|
||
#ifndef __cplusplus
|
||
|
||
/* This is the most reliable way to avoid incompatibilities
|
||
in available built-in functions on various systems. */
|
||
static void
|
||
__yy_memcpy (to, from, count)
|
||
char *to;
|
||
char *from;
|
||
int count;
|
||
{
|
||
register char *f = from;
|
||
register char *t = to;
|
||
register int i = count;
|
||
|
||
while (i-- > 0)
|
||
*t++ = *f++;
|
||
}
|
||
|
||
#else /* __cplusplus */
|
||
|
||
/* This is the most reliable way to avoid incompatibilities
|
||
in available built-in functions on various systems. */
|
||
static void
|
||
__yy_memcpy (char *to, char *from, int count)
|
||
{
|
||
register char *f = from;
|
||
register char *t = to;
|
||
register int i = count;
|
||
|
||
while (i-- > 0)
|
||
*t++ = *f++;
|
||
}
|
||
|
||
#endif
|
||
#endif
|
||
|
||
#line 196 "/usr/cygnus/gnupro-98r2/share/bison.simple"
|
||
|
||
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
|
||
into yyparse. The argument should have type void *.
|
||
It should actually point to an object.
|
||
Grammar actions can access the variable by casting it
|
||
to the proper pointer type. */
|
||
|
||
#ifdef YYPARSE_PARAM
|
||
#ifdef __cplusplus
|
||
#define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
|
||
#define YYPARSE_PARAM_DECL
|
||
#else /* not __cplusplus */
|
||
#define YYPARSE_PARAM_ARG YYPARSE_PARAM
|
||
#define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
|
||
#endif /* not __cplusplus */
|
||
#else /* not YYPARSE_PARAM */
|
||
#define YYPARSE_PARAM_ARG
|
||
#define YYPARSE_PARAM_DECL
|
||
#endif /* not YYPARSE_PARAM */
|
||
|
||
int
|
||
yyparse(YYPARSE_PARAM_ARG)
|
||
YYPARSE_PARAM_DECL
|
||
{
|
||
register int yystate;
|
||
register int yyn;
|
||
register short *yyssp;
|
||
register YYSTYPE *yyvsp;
|
||
int yyerrstatus; /* number of tokens to shift before error messages enabled */
|
||
int yychar1 = 0; /* lookahead token as an internal (translated) token number */
|
||
|
||
short yyssa[YYINITDEPTH]; /* the state stack */
|
||
YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */
|
||
|
||
short *yyss = yyssa; /* refer to the stacks thru separate pointers */
|
||
YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */
|
||
|
||
#ifdef YYLSP_NEEDED
|
||
YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */
|
||
YYLTYPE *yyls = yylsa;
|
||
YYLTYPE *yylsp;
|
||
|
||
#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
|
||
#else
|
||
#define YYPOPSTACK (yyvsp--, yyssp--)
|
||
#endif
|
||
|
||
int yystacksize = YYINITDEPTH;
|
||
|
||
#ifdef YYPURE
|
||
int yychar;
|
||
YYSTYPE yylval;
|
||
int yynerrs;
|
||
#ifdef YYLSP_NEEDED
|
||
YYLTYPE yylloc;
|
||
#endif
|
||
#endif
|
||
|
||
YYSTYPE yyval; /* the variable used to return */
|
||
/* semantic values from the action */
|
||
/* routines */
|
||
|
||
int yylen;
|
||
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
fprintf(stderr, "Starting parse\n");
|
||
#endif
|
||
|
||
yystate = 0;
|
||
yyerrstatus = 0;
|
||
yynerrs = 0;
|
||
yychar = YYEMPTY; /* Cause a token to be read. */
|
||
|
||
/* Initialize stack pointers.
|
||
Waste one element of value and location stack
|
||
so that they stay on the same level as the state stack.
|
||
The wasted elements are never initialized. */
|
||
|
||
yyssp = yyss - 1;
|
||
yyvsp = yyvs;
|
||
#ifdef YYLSP_NEEDED
|
||
yylsp = yyls;
|
||
#endif
|
||
|
||
/* Push a new state, which is found in yystate . */
|
||
/* In all cases, when you get here, the value and location stacks
|
||
have just been pushed. so pushing a state here evens the stacks. */
|
||
yynewstate:
|
||
|
||
*++yyssp = yystate;
|
||
|
||
if (yyssp >= yyss + yystacksize - 1)
|
||
{
|
||
/* Give user a chance to reallocate the stack */
|
||
/* Use copies of these so that the &'s don't force the real ones into memory. */
|
||
YYSTYPE *yyvs1 = yyvs;
|
||
short *yyss1 = yyss;
|
||
#ifdef YYLSP_NEEDED
|
||
YYLTYPE *yyls1 = yyls;
|
||
#endif
|
||
|
||
/* Get the current used size of the three stacks, in elements. */
|
||
int size = yyssp - yyss + 1;
|
||
|
||
#ifdef yyoverflow
|
||
/* Each stack pointer address is followed by the size of
|
||
the data in use in that stack, in bytes. */
|
||
#ifdef YYLSP_NEEDED
|
||
/* This used to be a conditional around just the two extra args,
|
||
but that might be undefined if yyoverflow is a macro. */
|
||
yyoverflow("parser stack overflow",
|
||
&yyss1, size * sizeof (*yyssp),
|
||
&yyvs1, size * sizeof (*yyvsp),
|
||
&yyls1, size * sizeof (*yylsp),
|
||
&yystacksize);
|
||
#else
|
||
yyoverflow("parser stack overflow",
|
||
&yyss1, size * sizeof (*yyssp),
|
||
&yyvs1, size * sizeof (*yyvsp),
|
||
&yystacksize);
|
||
#endif
|
||
|
||
yyss = yyss1; yyvs = yyvs1;
|
||
#ifdef YYLSP_NEEDED
|
||
yyls = yyls1;
|
||
#endif
|
||
#else /* no yyoverflow */
|
||
/* Extend the stack our own way. */
|
||
if (yystacksize >= YYMAXDEPTH)
|
||
{
|
||
yyerror("parser stack overflow");
|
||
return 2;
|
||
}
|
||
yystacksize *= 2;
|
||
if (yystacksize > YYMAXDEPTH)
|
||
yystacksize = YYMAXDEPTH;
|
||
yyss = (short *) alloca (yystacksize * sizeof (*yyssp));
|
||
__yy_memcpy ((char *)yyss, (char *)yyss1, size * sizeof (*yyssp));
|
||
yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp));
|
||
__yy_memcpy ((char *)yyvs, (char *)yyvs1, size * sizeof (*yyvsp));
|
||
#ifdef YYLSP_NEEDED
|
||
yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp));
|
||
__yy_memcpy ((char *)yyls, (char *)yyls1, 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 237 "c-parse.y"
|
||
{ if (pedantic)
|
||
pedwarn ("ANSI C forbids an empty source file");
|
||
finish_file ();
|
||
;
|
||
break;}
|
||
case 2:
|
||
#line 242 "c-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 256 "c-parse.y"
|
||
{yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 5:
|
||
#line 257 "c-parse.y"
|
||
{yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 9:
|
||
#line 264 "c-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 10:
|
||
#line 272 "c-parse.y"
|
||
{ pedantic = yyvsp[-1].itype; ;
|
||
break;}
|
||
case 11:
|
||
#line 277 "c-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 287 "c-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 292 "c-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 297 "c-parse.y"
|
||
{ pedwarn ("empty declaration"); ;
|
||
break;}
|
||
case 15:
|
||
#line 299 "c-parse.y"
|
||
{ shadow_tag (yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 18:
|
||
#line 303 "c-parse.y"
|
||
{ if (pedantic)
|
||
pedwarn ("ANSI C does not allow extra `;' outside of a function"); ;
|
||
break;}
|
||
case 19:
|
||
#line 309 "c-parse.y"
|
||
{ if (! start_function (current_declspecs, yyvsp[0].ttype,
|
||
prefix_attributes, NULL_TREE, 0))
|
||
YYERROR1;
|
||
reinit_parse_for_function (); ;
|
||
break;}
|
||
case 20:
|
||
#line 314 "c-parse.y"
|
||
{ store_parm_decls (); ;
|
||
break;}
|
||
case 21:
|
||
#line 316 "c-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 322 "c-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 327 "c-parse.y"
|
||
{ if (! start_function (current_declspecs, yyvsp[0].ttype,
|
||
prefix_attributes, NULL_TREE, 0))
|
||
YYERROR1;
|
||
reinit_parse_for_function (); ;
|
||
break;}
|
||
case 24:
|
||
#line 332 "c-parse.y"
|
||
{ store_parm_decls (); ;
|
||
break;}
|
||
case 25:
|
||
#line 334 "c-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 340 "c-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 345 "c-parse.y"
|
||
{ if (! start_function (NULL_TREE, yyvsp[0].ttype,
|
||
prefix_attributes, NULL_TREE, 0))
|
||
YYERROR1;
|
||
reinit_parse_for_function (); ;
|
||
break;}
|
||
case 28:
|
||
#line 350 "c-parse.y"
|
||
{ store_parm_decls (); ;
|
||
break;}
|
||
case 29:
|
||
#line 352 "c-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 358 "c-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 33:
|
||
#line 370 "c-parse.y"
|
||
{ yyval.code = ADDR_EXPR; ;
|
||
break;}
|
||
case 34:
|
||
#line 372 "c-parse.y"
|
||
{ yyval.code = NEGATE_EXPR; ;
|
||
break;}
|
||
case 35:
|
||
#line 374 "c-parse.y"
|
||
{ yyval.code = CONVERT_EXPR; ;
|
||
break;}
|
||
case 36:
|
||
#line 376 "c-parse.y"
|
||
{ yyval.code = PREINCREMENT_EXPR; ;
|
||
break;}
|
||
case 37:
|
||
#line 378 "c-parse.y"
|
||
{ yyval.code = PREDECREMENT_EXPR; ;
|
||
break;}
|
||
case 38:
|
||
#line 380 "c-parse.y"
|
||
{ yyval.code = BIT_NOT_EXPR; ;
|
||
break;}
|
||
case 39:
|
||
#line 382 "c-parse.y"
|
||
{ yyval.code = TRUTH_NOT_EXPR; ;
|
||
break;}
|
||
case 40:
|
||
#line 386 "c-parse.y"
|
||
{ yyval.ttype = build_compound_expr (yyvsp[0].ttype); ;
|
||
break;}
|
||
case 41:
|
||
#line 391 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 43:
|
||
#line 397 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 44:
|
||
#line 399 "c-parse.y"
|
||
{ chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
|
||
break;}
|
||
case 46:
|
||
#line 405 "c-parse.y"
|
||
{ yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ;
|
||
break;}
|
||
case 47:
|
||
#line 408 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype;
|
||
pedantic = yyvsp[-1].itype; ;
|
||
break;}
|
||
case 48:
|
||
#line 411 "c-parse.y"
|
||
{ yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0);
|
||
overflow_warning (yyval.ttype); ;
|
||
break;}
|
||
case 49:
|
||
#line 415 "c-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 50:
|
||
#line 443 "c-parse.y"
|
||
{ skip_evaluation--;
|
||
if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF
|
||
&& DECL_C_BIT_FIELD (TREE_OPERAND (yyvsp[0].ttype, 1)))
|
||
error ("`sizeof' applied to a bit-field");
|
||
yyval.ttype = c_sizeof (TREE_TYPE (yyvsp[0].ttype)); ;
|
||
break;}
|
||
case 51:
|
||
#line 449 "c-parse.y"
|
||
{ skip_evaluation--;
|
||
yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ;
|
||
break;}
|
||
case 52:
|
||
#line 452 "c-parse.y"
|
||
{ skip_evaluation--;
|
||
yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ;
|
||
break;}
|
||
case 53:
|
||
#line 455 "c-parse.y"
|
||
{ skip_evaluation--;
|
||
yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ;
|
||
break;}
|
||
case 54:
|
||
#line 458 "c-parse.y"
|
||
{ yyval.ttype = build_unary_op (REALPART_EXPR, yyvsp[0].ttype, 0); ;
|
||
break;}
|
||
case 55:
|
||
#line 460 "c-parse.y"
|
||
{ yyval.ttype = build_unary_op (IMAGPART_EXPR, yyvsp[0].ttype, 0); ;
|
||
break;}
|
||
case 56:
|
||
#line 462 "c-parse.y"
|
||
{ yyval.ttype = build_va_arg (yyvsp[-3].ttype, groktypename (yyvsp[-1].ttype)); ;
|
||
break;}
|
||
case 57:
|
||
#line 466 "c-parse.y"
|
||
{ skip_evaluation++; ;
|
||
break;}
|
||
case 58:
|
||
#line 470 "c-parse.y"
|
||
{ skip_evaluation++; ;
|
||
break;}
|
||
case 60:
|
||
#line 476 "c-parse.y"
|
||
{ tree type = groktypename (yyvsp[-2].ttype);
|
||
yyval.ttype = build_c_cast (type, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 61:
|
||
#line 479 "c-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 483 "c-parse.y"
|
||
{ char *name;
|
||
tree result = pop_init_level (0);
|
||
tree type = yyvsp[-5].ttype;
|
||
finish_init ();
|
||
|
||
if (pedantic && ! flag_isoc9x)
|
||
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 512 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 65:
|
||
#line 514 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 66:
|
||
#line 516 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 67:
|
||
#line 518 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 68:
|
||
#line 520 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 69:
|
||
#line 522 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 70:
|
||
#line 524 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 71:
|
||
#line 526 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 72:
|
||
#line 528 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 73:
|
||
#line 530 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 74:
|
||
#line 532 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 75:
|
||
#line 534 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 76:
|
||
#line 536 "c-parse.y"
|
||
{ yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype));
|
||
skip_evaluation += yyvsp[-1].ttype == boolean_false_node; ;
|
||
break;}
|
||
case 77:
|
||
#line 539 "c-parse.y"
|
||
{ skip_evaluation -= yyvsp[-3].ttype == boolean_false_node;
|
||
yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-3].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 78:
|
||
#line 542 "c-parse.y"
|
||
{ yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype));
|
||
skip_evaluation += yyvsp[-1].ttype == boolean_true_node; ;
|
||
break;}
|
||
case 79:
|
||
#line 545 "c-parse.y"
|
||
{ skip_evaluation -= yyvsp[-3].ttype == boolean_true_node;
|
||
yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-3].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 80:
|
||
#line 548 "c-parse.y"
|
||
{ yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[-1].ttype));
|
||
skip_evaluation += yyvsp[-1].ttype == boolean_false_node; ;
|
||
break;}
|
||
case 81:
|
||
#line 551 "c-parse.y"
|
||
{ skip_evaluation += ((yyvsp[-4].ttype == boolean_true_node)
|
||
- (yyvsp[-4].ttype == boolean_false_node)); ;
|
||
break;}
|
||
case 82:
|
||
#line 554 "c-parse.y"
|
||
{ skip_evaluation -= yyvsp[-6].ttype == boolean_true_node;
|
||
yyval.ttype = build_conditional_expr (yyvsp[-6].ttype, yyvsp[-3].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 83:
|
||
#line 557 "c-parse.y"
|
||
{ if (pedantic)
|
||
pedwarn ("ANSI C forbids omitting the middle term of a ?: expression");
|
||
/* Make sure first operand is calculated only once. */
|
||
yyvsp[0].ttype = save_expr (yyvsp[-1].ttype);
|
||
yyvsp[-1].ttype = truthvalue_conversion (default_conversion (yyvsp[0].ttype));
|
||
skip_evaluation += yyvsp[-1].ttype == boolean_true_node; ;
|
||
break;}
|
||
case 84:
|
||
#line 564 "c-parse.y"
|
||
{ skip_evaluation -= yyvsp[-4].ttype == boolean_true_node;
|
||
yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 85:
|
||
#line 567 "c-parse.y"
|
||
{ char class;
|
||
yyval.ttype = build_modify_expr (yyvsp[-2].ttype, NOP_EXPR, yyvsp[0].ttype);
|
||
class = TREE_CODE_CLASS (TREE_CODE (yyval.ttype));
|
||
if (class == 'e' || class == '1'
|
||
|| class == '2' || class == '<')
|
||
C_SET_EXP_ORIGINAL_CODE (yyval.ttype, MODIFY_EXPR);
|
||
;
|
||
break;}
|
||
case 86:
|
||
#line 575 "c-parse.y"
|
||
{ char class;
|
||
yyval.ttype = build_modify_expr (yyvsp[-2].ttype, yyvsp[-1].code, yyvsp[0].ttype);
|
||
/* This inhibits warnings in truthvalue_conversion. */
|
||
class = TREE_CODE_CLASS (TREE_CODE (yyval.ttype));
|
||
if (class == 'e' || class == '1'
|
||
|| class == '2' || class == '<')
|
||
C_SET_EXP_ORIGINAL_CODE (yyval.ttype, ERROR_MARK);
|
||
;
|
||
break;}
|
||
case 87:
|
||
#line 587 "c-parse.y"
|
||
{
|
||
yyval.ttype = lastiddecl;
|
||
if (!yyval.ttype || yyval.ttype == error_mark_node)
|
||
{
|
||
if (yychar == YYEMPTY)
|
||
yychar = YYLEX;
|
||
if (yychar == '(')
|
||
{
|
||
{
|
||
/* 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
|
||
{
|
||
{
|
||
if (IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) != error_mark_node
|
||
|| IDENTIFIER_ERROR_LOCUS (yyvsp[0].ttype) != current_function_decl)
|
||
{
|
||
error ("`%s' undeclared (first use in 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 (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;
|
||
}
|
||
|
||
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 89:
|
||
#line 686 "c-parse.y"
|
||
{ yyval.ttype = combine_strings (yyvsp[0].ttype); ;
|
||
break;}
|
||
case 90:
|
||
#line 688 "c-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 91:
|
||
#line 694 "c-parse.y"
|
||
{ yyval.ttype = error_mark_node; ;
|
||
break;}
|
||
case 92:
|
||
#line 696 "c-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 93:
|
||
#line 710 "c-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 94:
|
||
#line 733 "c-parse.y"
|
||
{ yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 95:
|
||
#line 735 "c-parse.y"
|
||
{ yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 96:
|
||
#line 737 "c-parse.y"
|
||
{
|
||
yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype);
|
||
;
|
||
break;}
|
||
case 97:
|
||
#line 741 "c-parse.y"
|
||
{
|
||
tree expr = build_indirect_ref (yyvsp[-2].ttype, "->");
|
||
|
||
yyval.ttype = build_component_ref (expr, yyvsp[0].ttype);
|
||
;
|
||
break;}
|
||
case 98:
|
||
#line 747 "c-parse.y"
|
||
{ yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ;
|
||
break;}
|
||
case 99:
|
||
#line 749 "c-parse.y"
|
||
{ yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ;
|
||
break;}
|
||
case 101:
|
||
#line 756 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 104:
|
||
#line 765 "c-parse.y"
|
||
{ c_mark_varargs ();
|
||
if (pedantic)
|
||
pedwarn ("ANSI C does not permit use of `varargs.h'"); ;
|
||
break;}
|
||
case 105:
|
||
#line 775 "c-parse.y"
|
||
{ ;
|
||
break;}
|
||
case 110:
|
||
#line 791 "c-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 111:
|
||
#line 796 "c-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 801 "c-parse.y"
|
||
{ shadow_tag_warned (yyvsp[-1].ttype, 1);
|
||
pedwarn ("empty declaration"); ;
|
||
break;}
|
||
case 113:
|
||
#line 804 "c-parse.y"
|
||
{ pedwarn ("empty declaration"); ;
|
||
break;}
|
||
case 114:
|
||
#line 813 "c-parse.y"
|
||
{ ;
|
||
break;}
|
||
case 119:
|
||
#line 828 "c-parse.y"
|
||
{ yyval.itype = suspend_momentary ();
|
||
pending_xref_error ();
|
||
declspec_stack = tree_cons (prefix_attributes,
|
||
current_declspecs,
|
||
declspec_stack);
|
||
split_specs_attrs (yyvsp[0].ttype,
|
||
¤t_declspecs, &prefix_attributes); ;
|
||
break;}
|
||
case 120:
|
||
#line 839 "c-parse.y"
|
||
{ prefix_attributes = chainon (prefix_attributes, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 121:
|
||
#line 844 "c-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 122:
|
||
#line 849 "c-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 854 "c-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 124:
|
||
#line 859 "c-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 864 "c-parse.y"
|
||
{ shadow_tag (yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 126:
|
||
#line 866 "c-parse.y"
|
||
{ pedwarn ("empty declaration"); ;
|
||
break;}
|
||
case 127:
|
||
#line 868 "c-parse.y"
|
||
{ pedantic = yyvsp[-1].itype; ;
|
||
break;}
|
||
case 128:
|
||
#line 878 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 129:
|
||
#line 880 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
|
||
break;}
|
||
case 130:
|
||
#line 884 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 131:
|
||
#line 886 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 132:
|
||
#line 888 "c-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 893 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 134:
|
||
#line 898 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 135:
|
||
#line 900 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
|
||
break;}
|
||
case 136:
|
||
#line 905 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 137:
|
||
#line 907 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 138:
|
||
#line 909 "c-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 139:
|
||
#line 922 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 140:
|
||
#line 924 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, NULL_TREE); ;
|
||
break;}
|
||
case 141:
|
||
#line 926 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 142:
|
||
#line 928 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 143:
|
||
#line 933 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE);
|
||
TREE_STATIC (yyval.ttype) = 1; ;
|
||
break;}
|
||
case 144:
|
||
#line 936 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 145:
|
||
#line 938 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype);
|
||
TREE_STATIC (yyval.ttype) = 1; ;
|
||
break;}
|
||
case 146:
|
||
#line 941 "c-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 147:
|
||
#line 955 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 148:
|
||
#line 957 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
|
||
break;}
|
||
case 149:
|
||
#line 961 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 150:
|
||
#line 963 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 153:
|
||
#line 973 "c-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 154:
|
||
#line 977 "c-parse.y"
|
||
{ yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 155:
|
||
#line 979 "c-parse.y"
|
||
{ yyval.ttype = groktypename (yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 163:
|
||
#line 1001 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 164:
|
||
#line 1003 "c-parse.y"
|
||
{ if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype);
|
||
yyval.ttype = yyvsp[-1].ttype;
|
||
;
|
||
break;}
|
||
case 165:
|
||
#line 1010 "c-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 166:
|
||
#line 1015 "c-parse.y"
|
||
{ finish_init ();
|
||
finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
|
||
break;}
|
||
case 167:
|
||
#line 1018 "c-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 168:
|
||
#line 1026 "c-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 169:
|
||
#line 1031 "c-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 170:
|
||
#line 1035 "c-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 171:
|
||
#line 1043 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 172:
|
||
#line 1045 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 173:
|
||
#line 1050 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 174:
|
||
#line 1052 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 175:
|
||
#line 1057 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[-2].ttype; ;
|
||
break;}
|
||
case 176:
|
||
#line 1062 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 177:
|
||
#line 1064 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 178:
|
||
#line 1069 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 179:
|
||
#line 1071 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 180:
|
||
#line 1073 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, build_tree_list (NULL_TREE, yyvsp[-1].ttype)); ;
|
||
break;}
|
||
case 181:
|
||
#line 1075 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[-5].ttype, tree_cons (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype)); ;
|
||
break;}
|
||
case 182:
|
||
#line 1077 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 188:
|
||
#line 1095 "c-parse.y"
|
||
{ really_start_incremental_init (NULL_TREE);
|
||
/* Note that the call to clear_momentary
|
||
is in process_init_element. */
|
||
push_momentary (); ;
|
||
break;}
|
||
case 189:
|
||
#line 1100 "c-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 190:
|
||
#line 1108 "c-parse.y"
|
||
{ yyval.ttype = error_mark_node; ;
|
||
break;}
|
||
case 191:
|
||
#line 1114 "c-parse.y"
|
||
{ if (pedantic)
|
||
pedwarn ("ANSI C forbids empty initializer braces"); ;
|
||
break;}
|
||
case 197:
|
||
#line 1130 "c-parse.y"
|
||
{ set_init_label (yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 200:
|
||
#line 1137 "c-parse.y"
|
||
{ push_init_level (0); ;
|
||
break;}
|
||
case 201:
|
||
#line 1139 "c-parse.y"
|
||
{ process_init_element (pop_init_level (0)); ;
|
||
break;}
|
||
case 202:
|
||
#line 1141 "c-parse.y"
|
||
{ process_init_element (yyvsp[0].ttype); ;
|
||
break;}
|
||
case 206:
|
||
#line 1152 "c-parse.y"
|
||
{ set_init_label (yyvsp[0].ttype); ;
|
||
break;}
|
||
case 207:
|
||
#line 1157 "c-parse.y"
|
||
{ set_init_index (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 208:
|
||
#line 1159 "c-parse.y"
|
||
{ set_init_index (yyvsp[-1].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 209:
|
||
#line 1164 "c-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 210:
|
||
#line 1173 "c-parse.y"
|
||
{ store_parm_decls (); ;
|
||
break;}
|
||
case 211:
|
||
#line 1181 "c-parse.y"
|
||
{ finish_function (1);
|
||
pop_c_function_context (); ;
|
||
break;}
|
||
case 212:
|
||
#line 1187 "c-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 213:
|
||
#line 1196 "c-parse.y"
|
||
{ store_parm_decls (); ;
|
||
break;}
|
||
case 214:
|
||
#line 1204 "c-parse.y"
|
||
{ finish_function (1);
|
||
pop_c_function_context (); ;
|
||
break;}
|
||
case 217:
|
||
#line 1220 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[-1].ttype; ;
|
||
break;}
|
||
case 218:
|
||
#line 1222 "c-parse.y"
|
||
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 219:
|
||
#line 1227 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 220:
|
||
#line 1229 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 221:
|
||
#line 1231 "c-parse.y"
|
||
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 222:
|
||
#line 1238 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 224:
|
||
#line 1249 "c-parse.y"
|
||
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 225:
|
||
#line 1254 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, NULL_TREE);
|
||
if (! flag_isoc9x)
|
||
error ("`[*]' in parameter declaration only allowed in ISO C 9x");
|
||
;
|
||
break;}
|
||
case 226:
|
||
#line 1259 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 227:
|
||
#line 1261 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 228:
|
||
#line 1263 "c-parse.y"
|
||
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 229:
|
||
#line 1270 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 231:
|
||
#line 1279 "c-parse.y"
|
||
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 232:
|
||
#line 1284 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[-1].ttype; ;
|
||
break;}
|
||
case 233:
|
||
#line 1286 "c-parse.y"
|
||
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 234:
|
||
#line 1288 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, NULL_TREE);
|
||
if (! flag_isoc9x)
|
||
error ("`[*]' in parameter declaration only allowed in ISO C 9x");
|
||
;
|
||
break;}
|
||
case 235:
|
||
#line 1293 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 236:
|
||
#line 1295 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 237:
|
||
#line 1302 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 239:
|
||
#line 1308 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 240:
|
||
#line 1310 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 241:
|
||
#line 1315 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 242:
|
||
#line 1317 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 243:
|
||
#line 1322 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 244:
|
||
#line 1324 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 245:
|
||
#line 1329 "c-parse.y"
|
||
{ yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype);
|
||
/* Start scope of tag before parsing components. */
|
||
;
|
||
break;}
|
||
case 246:
|
||
#line 1333 "c-parse.y"
|
||
{ yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, chainon (yyvsp[-6].ttype, yyvsp[0].ttype)); ;
|
||
break;}
|
||
case 247:
|
||
#line 1335 "c-parse.y"
|
||
{ yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE),
|
||
yyvsp[-2].ttype, chainon (yyvsp[-4].ttype, yyvsp[0].ttype));
|
||
;
|
||
break;}
|
||
case 248:
|
||
#line 1339 "c-parse.y"
|
||
{ yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 249:
|
||
#line 1341 "c-parse.y"
|
||
{ yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 250:
|
||
#line 1343 "c-parse.y"
|
||
{ yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, chainon (yyvsp[-6].ttype, yyvsp[0].ttype)); ;
|
||
break;}
|
||
case 251:
|
||
#line 1345 "c-parse.y"
|
||
{ yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE),
|
||
yyvsp[-2].ttype, chainon (yyvsp[-4].ttype, yyvsp[0].ttype));
|
||
;
|
||
break;}
|
||
case 252:
|
||
#line 1349 "c-parse.y"
|
||
{ yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 253:
|
||
#line 1351 "c-parse.y"
|
||
{ yyvsp[0].itype = suspend_momentary ();
|
||
yyval.ttype = start_enum (yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 254:
|
||
#line 1354 "c-parse.y"
|
||
{ yyval.ttype= finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), chainon (yyvsp[-7].ttype, yyvsp[0].ttype));
|
||
resume_momentary (yyvsp[-5].itype); ;
|
||
break;}
|
||
case 255:
|
||
#line 1357 "c-parse.y"
|
||
{ yyvsp[0].itype = suspend_momentary ();
|
||
yyval.ttype = start_enum (NULL_TREE); ;
|
||
break;}
|
||
case 256:
|
||
#line 1360 "c-parse.y"
|
||
{ yyval.ttype= finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), chainon (yyvsp[-6].ttype, yyvsp[0].ttype));
|
||
resume_momentary (yyvsp[-5].itype); ;
|
||
break;}
|
||
case 257:
|
||
#line 1363 "c-parse.y"
|
||
{ yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 261:
|
||
#line 1374 "c-parse.y"
|
||
{ if (pedantic && ! flag_isoc9x)
|
||
pedwarn ("comma at end of enumerator list"); ;
|
||
break;}
|
||
case 262:
|
||
#line 1380 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 263:
|
||
#line 1382 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
|
||
pedwarn ("no semicolon at end of struct or union"); ;
|
||
break;}
|
||
case 264:
|
||
#line 1387 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 265:
|
||
#line 1389 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 266:
|
||
#line 1391 "c-parse.y"
|
||
{ if (pedantic)
|
||
pedwarn ("extra semicolon in struct or union specified"); ;
|
||
break;}
|
||
case 267:
|
||
#line 1406 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype;
|
||
current_declspecs = TREE_VALUE (declspec_stack);
|
||
prefix_attributes = TREE_PURPOSE (declspec_stack);
|
||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||
resume_momentary (yyvsp[-1].itype); ;
|
||
break;}
|
||
case 268:
|
||
#line 1412 "c-parse.y"
|
||
{ if (pedantic)
|
||
pedwarn ("ANSI C forbids member declarations with no members");
|
||
shadow_tag(yyvsp[0].ttype);
|
||
yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 269:
|
||
#line 1417 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype;
|
||
current_declspecs = TREE_VALUE (declspec_stack);
|
||
prefix_attributes = TREE_PURPOSE (declspec_stack);
|
||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||
resume_momentary (yyvsp[-1].itype); ;
|
||
break;}
|
||
case 270:
|
||
#line 1423 "c-parse.y"
|
||
{ if (pedantic)
|
||
pedwarn ("ANSI C forbids member declarations with no members");
|
||
shadow_tag(yyvsp[0].ttype);
|
||
yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 271:
|
||
#line 1428 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 272:
|
||
#line 1430 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype;
|
||
pedantic = yyvsp[-1].itype; ;
|
||
break;}
|
||
case 274:
|
||
#line 1437 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 275:
|
||
#line 1442 "c-parse.y"
|
||
{ yyval.ttype = grokfield (yyvsp[-3].filename, yyvsp[-2].lineno, yyvsp[-1].ttype, current_declspecs, NULL_TREE);
|
||
decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
|
||
break;}
|
||
case 276:
|
||
#line 1446 "c-parse.y"
|
||
{ yyval.ttype = grokfield (yyvsp[-5].filename, yyvsp[-4].lineno, yyvsp[-3].ttype, current_declspecs, yyvsp[-1].ttype);
|
||
decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
|
||
break;}
|
||
case 277:
|
||
#line 1449 "c-parse.y"
|
||
{ yyval.ttype = grokfield (yyvsp[-4].filename, yyvsp[-3].lineno, NULL_TREE, current_declspecs, yyvsp[-1].ttype);
|
||
decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
|
||
break;}
|
||
case 279:
|
||
#line 1461 "c-parse.y"
|
||
{ if (yyvsp[-2].ttype == error_mark_node)
|
||
yyval.ttype = yyvsp[-2].ttype;
|
||
else
|
||
yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-2].ttype); ;
|
||
break;}
|
||
case 280:
|
||
#line 1466 "c-parse.y"
|
||
{ yyval.ttype = error_mark_node; ;
|
||
break;}
|
||
case 281:
|
||
#line 1472 "c-parse.y"
|
||
{ yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 282:
|
||
#line 1474 "c-parse.y"
|
||
{ yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 283:
|
||
#line 1479 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 284:
|
||
#line 1481 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 285:
|
||
#line 1486 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 287:
|
||
#line 1492 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 288:
|
||
#line 1494 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 289:
|
||
#line 1499 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 290:
|
||
#line 1501 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 291:
|
||
#line 1506 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[-1].ttype; ;
|
||
break;}
|
||
case 292:
|
||
#line 1509 "c-parse.y"
|
||
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 293:
|
||
#line 1511 "c-parse.y"
|
||
{ yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 294:
|
||
#line 1513 "c-parse.y"
|
||
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 295:
|
||
#line 1515 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 296:
|
||
#line 1517 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 297:
|
||
#line 1519 "c-parse.y"
|
||
{ yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 298:
|
||
#line 1521 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 299:
|
||
#line 1523 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ;
|
||
break;}
|
||
case 300:
|
||
#line 1527 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 301:
|
||
#line 1536 "c-parse.y"
|
||
{
|
||
if (pedantic && yyvsp[0].ends_in_label)
|
||
pedwarn ("ANSI C forbids label at end of compound statement");
|
||
;
|
||
break;}
|
||
case 303:
|
||
#line 1545 "c-parse.y"
|
||
{ yyval.ends_in_label = yyvsp[0].ends_in_label; ;
|
||
break;}
|
||
case 304:
|
||
#line 1547 "c-parse.y"
|
||
{ yyval.ends_in_label = 0; ;
|
||
break;}
|
||
case 308:
|
||
#line 1559 "c-parse.y"
|
||
{ emit_line_note (input_filename, lineno);
|
||
pushlevel (0);
|
||
clear_last_expr ();
|
||
push_momentary ();
|
||
expand_start_bindings (0);
|
||
;
|
||
break;}
|
||
case 310:
|
||
#line 1572 "c-parse.y"
|
||
{ if (pedantic)
|
||
pedwarn ("ANSI C forbids label declarations"); ;
|
||
break;}
|
||
case 313:
|
||
#line 1583 "c-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 314:
|
||
#line 1597 "c-parse.y"
|
||
{;
|
||
break;}
|
||
case 316:
|
||
#line 1601 "c-parse.y"
|
||
{ compstmt_count++; ;
|
||
break;}
|
||
case 317:
|
||
#line 1604 "c-parse.y"
|
||
{ yyval.ttype = convert (void_type_node, integer_zero_node); ;
|
||
break;}
|
||
case 318:
|
||
#line 1606 "c-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 319:
|
||
#line 1614 "c-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 320:
|
||
#line 1622 "c-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 323:
|
||
#line 1642 "c-parse.y"
|
||
{ emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
|
||
c_expand_start_cond (truthvalue_conversion (yyvsp[-1].ttype), 0,
|
||
compstmt_count);
|
||
yyval.itype = stmt_count;
|
||
if_stmt_file = yyvsp[-5].filename;
|
||
if_stmt_line = yyvsp[-4].lineno;
|
||
position_after_white_space (); ;
|
||
break;}
|
||
case 324:
|
||
#line 1656 "c-parse.y"
|
||
{ stmt_count++;
|
||
compstmt_count++;
|
||
emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno);
|
||
/* See comment in `while' alternative, above. */
|
||
emit_nop ();
|
||
expand_start_loop_continue_elsewhere (1);
|
||
position_after_white_space (); ;
|
||
break;}
|
||
case 325:
|
||
#line 1664 "c-parse.y"
|
||
{ expand_loop_continue_here (); ;
|
||
break;}
|
||
case 326:
|
||
#line 1668 "c-parse.y"
|
||
{ yyval.filename = input_filename; ;
|
||
break;}
|
||
case 327:
|
||
#line 1672 "c-parse.y"
|
||
{ yyval.lineno = lineno; ;
|
||
break;}
|
||
case 328:
|
||
#line 1677 "c-parse.y"
|
||
{ ;
|
||
break;}
|
||
case 329:
|
||
#line 1682 "c-parse.y"
|
||
{ ;
|
||
break;}
|
||
case 330:
|
||
#line 1687 "c-parse.y"
|
||
{ yyval.ends_in_label = yyvsp[0].ends_in_label; ;
|
||
break;}
|
||
case 331:
|
||
#line 1692 "c-parse.y"
|
||
{ yyval.ends_in_label = 0; ;
|
||
break;}
|
||
case 332:
|
||
#line 1694 "c-parse.y"
|
||
{ yyval.ends_in_label = 1; ;
|
||
break;}
|
||
case 333:
|
||
#line 1700 "c-parse.y"
|
||
{ stmt_count++; ;
|
||
break;}
|
||
case 335:
|
||
#line 1703 "c-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 336:
|
||
#line 1720 "c-parse.y"
|
||
{ c_expand_start_else ();
|
||
yyvsp[-1].itype = stmt_count;
|
||
position_after_white_space (); ;
|
||
break;}
|
||
case 337:
|
||
#line 1724 "c-parse.y"
|
||
{ c_expand_end_cond ();
|
||
if (extra_warnings && stmt_count == yyvsp[-3].itype)
|
||
warning ("empty body in an else-statement"); ;
|
||
break;}
|
||
case 338:
|
||
#line 1728 "c-parse.y"
|
||
{ c_expand_end_cond ();
|
||
/* This warning is here instead of in simple_if, because we
|
||
do not want a warning if an empty if is followed by an
|
||
else statement. Increment stmt_count so we don't
|
||
give a second error if this is a nested `if'. */
|
||
if (extra_warnings && stmt_count++ == yyvsp[0].itype)
|
||
warning_with_file_and_line (if_stmt_file, if_stmt_line,
|
||
"empty body in an if-statement"); ;
|
||
break;}
|
||
case 339:
|
||
#line 1740 "c-parse.y"
|
||
{ c_expand_end_cond (); ;
|
||
break;}
|
||
case 340:
|
||
#line 1742 "c-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 341:
|
||
#line 1752 "c-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 342:
|
||
#line 1761 "c-parse.y"
|
||
{ expand_end_loop (); ;
|
||
break;}
|
||
case 343:
|
||
#line 1764 "c-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 344:
|
||
#line 1771 "c-parse.y"
|
||
{ expand_end_loop ();
|
||
clear_momentary (); ;
|
||
break;}
|
||
case 345:
|
||
#line 1775 "c-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 346:
|
||
#line 1787 "c-parse.y"
|
||
{ yyvsp[0].lineno = lineno;
|
||
yyval.filename = input_filename; ;
|
||
break;}
|
||
case 347:
|
||
#line 1790 "c-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 348:
|
||
#line 1806 "c-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 349:
|
||
#line 1817 "c-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 350:
|
||
#line 1825 "c-parse.y"
|
||
{ expand_end_case (yyvsp[-3].ttype);
|
||
if (yychar == CONSTANT || yychar == STRING)
|
||
pop_momentary_nofree ();
|
||
else
|
||
pop_momentary (); ;
|
||
break;}
|
||
case 351:
|
||
#line 1831 "c-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 352:
|
||
#line 1836 "c-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 353:
|
||
#line 1841 "c-parse.y"
|
||
{ stmt_count++;
|
||
emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
|
||
c_expand_return (NULL_TREE); ;
|
||
break;}
|
||
case 354:
|
||
#line 1845 "c-parse.y"
|
||
{ stmt_count++;
|
||
emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno);
|
||
c_expand_return (yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 355:
|
||
#line 1849 "c-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 356:
|
||
#line 1860 "c-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 357:
|
||
#line 1867 "c-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 358:
|
||
#line 1875 "c-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 359:
|
||
#line 1881 "c-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 360:
|
||
#line 1892 "c-parse.y"
|
||
{ if (pedantic)
|
||
pedwarn ("ANSI C forbids `goto *expr;'");
|
||
stmt_count++;
|
||
emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
|
||
expand_computed_goto (convert (ptr_type_node, yyvsp[-1].ttype)); ;
|
||
break;}
|
||
case 363:
|
||
#line 1907 "c-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 364:
|
||
#line 1928 "c-parse.y"
|
||
{
|
||
if (yyvsp[-1].itype)
|
||
iterator_for_loop_end (yyvsp[-3].ttype);
|
||
;
|
||
break;}
|
||
case 365:
|
||
#line 1963 "c-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;
|
||
|
||
if (pedantic && ! INTEGRAL_TYPE_P (TREE_TYPE (value)))
|
||
pedwarn ("label must have integral type in ANSI C");
|
||
|
||
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 366:
|
||
#line 1994 "c-parse.y"
|
||
{ register tree value1 = check_case_value (yyvsp[-3].ttype);
|
||
register tree value2 = check_case_value (yyvsp[-1].ttype);
|
||
register tree label
|
||
= build_decl (LABEL_DECL, NULL_TREE, NULL_TREE);
|
||
|
||
if (pedantic)
|
||
pedwarn ("ANSI C forbids case ranges");
|
||
stmt_count++;
|
||
|
||
if (value1 != error_mark_node && value2 != error_mark_node)
|
||
{
|
||
tree duplicate;
|
||
int success = pushcase_range (value1, value2,
|
||
convert_and_check, label,
|
||
&duplicate);
|
||
if (success == 1)
|
||
error ("case label not within a switch statement");
|
||
else if (success == 2)
|
||
{
|
||
error ("duplicate case value");
|
||
error_with_decl (duplicate, "this is the first entry for that value");
|
||
}
|
||
else if (success == 3)
|
||
warning ("case value out of range");
|
||
else if (success == 4)
|
||
warning ("empty case range");
|
||
else if (success == 5)
|
||
error ("case label within scope of cleanup or variable array");
|
||
}
|
||
position_after_white_space (); ;
|
||
break;}
|
||
case 367:
|
||
#line 2025 "c-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 368:
|
||
#line 2040 "c-parse.y"
|
||
{ tree label = define_label (input_filename, lineno, yyvsp[-2].ttype);
|
||
stmt_count++;
|
||
emit_nop ();
|
||
if (label)
|
||
{
|
||
expand_label (label);
|
||
decl_attributes (label, yyvsp[0].ttype, NULL_TREE);
|
||
}
|
||
position_after_white_space (); ;
|
||
break;}
|
||
case 369:
|
||
#line 2055 "c-parse.y"
|
||
{ emit_line_note (input_filename, lineno);
|
||
yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 370:
|
||
#line 2058 "c-parse.y"
|
||
{ emit_line_note (input_filename, lineno); ;
|
||
break;}
|
||
case 371:
|
||
#line 2063 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 373:
|
||
#line 2070 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 376:
|
||
#line 2077 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 377:
|
||
#line 2082 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 378:
|
||
#line 2087 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), NULL_TREE); ;
|
||
break;}
|
||
case 379:
|
||
#line 2089 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), yyvsp[-2].ttype); ;
|
||
break;}
|
||
case 380:
|
||
#line 2095 "c-parse.y"
|
||
{ pushlevel (0);
|
||
clear_parm_order ();
|
||
declare_parm_level (0); ;
|
||
break;}
|
||
case 381:
|
||
#line 2099 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype;
|
||
parmlist_tags_warning ();
|
||
poplevel (0, 0, 0); ;
|
||
break;}
|
||
case 383:
|
||
#line 2107 "c-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 384:
|
||
#line 2115 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 385:
|
||
#line 2117 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ;
|
||
break;}
|
||
case 386:
|
||
#line 2123 "c-parse.y"
|
||
{ yyval.ttype = get_parm_info (0); ;
|
||
break;}
|
||
case 387:
|
||
#line 2125 "c-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 388:
|
||
#line 2135 "c-parse.y"
|
||
{ yyval.ttype = get_parm_info (1); ;
|
||
break;}
|
||
case 389:
|
||
#line 2137 "c-parse.y"
|
||
{ yyval.ttype = get_parm_info (0); ;
|
||
break;}
|
||
case 390:
|
||
#line 2142 "c-parse.y"
|
||
{ push_parm_decl (yyvsp[0].ttype); ;
|
||
break;}
|
||
case 391:
|
||
#line 2144 "c-parse.y"
|
||
{ push_parm_decl (yyvsp[0].ttype); ;
|
||
break;}
|
||
case 392:
|
||
#line 2151 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
|
||
yyvsp[-1].ttype),
|
||
build_tree_list (prefix_attributes,
|
||
yyvsp[0].ttype));
|
||
current_declspecs = TREE_VALUE (declspec_stack);
|
||
prefix_attributes = TREE_PURPOSE (declspec_stack);
|
||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||
resume_momentary (yyvsp[-2].itype); ;
|
||
break;}
|
||
case 393:
|
||
#line 2160 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
|
||
yyvsp[-1].ttype),
|
||
build_tree_list (prefix_attributes,
|
||
yyvsp[0].ttype));
|
||
current_declspecs = TREE_VALUE (declspec_stack);
|
||
prefix_attributes = TREE_PURPOSE (declspec_stack);
|
||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||
resume_momentary (yyvsp[-2].itype); ;
|
||
break;}
|
||
case 394:
|
||
#line 2169 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
|
||
yyvsp[-1].ttype),
|
||
build_tree_list (prefix_attributes,
|
||
yyvsp[0].ttype));
|
||
current_declspecs = TREE_VALUE (declspec_stack);
|
||
prefix_attributes = TREE_PURPOSE (declspec_stack);
|
||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||
resume_momentary (yyvsp[-2].itype); ;
|
||
break;}
|
||
case 395:
|
||
#line 2178 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
|
||
yyvsp[-1].ttype),
|
||
build_tree_list (prefix_attributes,
|
||
yyvsp[0].ttype));
|
||
current_declspecs = TREE_VALUE (declspec_stack);
|
||
prefix_attributes = TREE_PURPOSE (declspec_stack);
|
||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||
resume_momentary (yyvsp[-2].itype); ;
|
||
break;}
|
||
case 396:
|
||
#line 2188 "c-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 397:
|
||
#line 2202 "c-parse.y"
|
||
{ pushlevel (0);
|
||
clear_parm_order ();
|
||
declare_parm_level (1); ;
|
||
break;}
|
||
case 398:
|
||
#line 2206 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype;
|
||
parmlist_tags_warning ();
|
||
poplevel (0, 0, 0); ;
|
||
break;}
|
||
case 400:
|
||
#line 2214 "c-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 401:
|
||
#line 2224 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 402:
|
||
#line 2226 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
|
||
break;}
|
||
case 403:
|
||
#line 2232 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 404:
|
||
#line 2234 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
|
||
break;}
|
||
case 405:
|
||
#line 2239 "c-parse.y"
|
||
{ yyval.itype = pedantic;
|
||
pedantic = 0; ;
|
||
break;}
|
||
}
|
||
/* the action file gets copied in in place of this dollarsign */
|
||
#line 498 "/usr/cygnus/gnupro-98r2/share/bison.simple"
|
||
|
||
yyvsp -= yylen;
|
||
yyssp -= yylen;
|
||
#ifdef YYLSP_NEEDED
|
||
yylsp -= yylen;
|
||
#endif
|
||
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
{
|
||
short *ssp1 = yyss - 1;
|
||
fprintf (stderr, "state stack now");
|
||
while (ssp1 != yyssp)
|
||
fprintf (stderr, " %d", *++ssp1);
|
||
fprintf (stderr, "\n");
|
||
}
|
||
#endif
|
||
|
||
*++yyvsp = yyval;
|
||
|
||
#ifdef YYLSP_NEEDED
|
||
yylsp++;
|
||
if (yylen == 0)
|
||
{
|
||
yylsp->first_line = yylloc.first_line;
|
||
yylsp->first_column = yylloc.first_column;
|
||
yylsp->last_line = (yylsp-1)->last_line;
|
||
yylsp->last_column = (yylsp-1)->last_column;
|
||
yylsp->text = 0;
|
||
}
|
||
else
|
||
{
|
||
yylsp->last_line = (yylsp+yylen-1)->last_line;
|
||
yylsp->last_column = (yylsp+yylen-1)->last_column;
|
||
}
|
||
#endif
|
||
|
||
/* Now "shift" the result of the reduction.
|
||
Determine what state that goes to,
|
||
based on the state we popped back to
|
||
and the rule number reduced by. */
|
||
|
||
yyn = yyr1[yyn];
|
||
|
||
yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
|
||
if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
|
||
yystate = yytable[yystate];
|
||
else
|
||
yystate = yydefgoto[yyn - YYNTBASE];
|
||
|
||
goto yynewstate;
|
||
|
||
yyerrlab: /* here on detecting error */
|
||
|
||
if (! yyerrstatus)
|
||
/* If not already recovering from an error, report this error. */
|
||
{
|
||
++yynerrs;
|
||
|
||
#ifdef YYERROR_VERBOSE
|
||
yyn = yypact[yystate];
|
||
|
||
if (yyn > YYFLAG && yyn < YYLAST)
|
||
{
|
||
int size = 0;
|
||
char *msg;
|
||
int x, count;
|
||
|
||
count = 0;
|
||
/* Start X at -yyn if nec to avoid negative indexes in yycheck. */
|
||
for (x = (yyn < 0 ? -yyn : 0);
|
||
x < (sizeof(yytname) / sizeof(char *)); x++)
|
||
if (yycheck[x + yyn] == x)
|
||
size += strlen(yytname[x]) + 15, count++;
|
||
msg = (char *) malloc(size + 15);
|
||
if (msg != 0)
|
||
{
|
||
strcpy(msg, "parse error");
|
||
|
||
if (count < 5)
|
||
{
|
||
count = 0;
|
||
for (x = (yyn < 0 ? -yyn : 0);
|
||
x < (sizeof(yytname) / sizeof(char *)); x++)
|
||
if (yycheck[x + yyn] == x)
|
||
{
|
||
strcat(msg, count == 0 ? ", expecting `" : " or `");
|
||
strcat(msg, yytname[x]);
|
||
strcat(msg, "'");
|
||
count++;
|
||
}
|
||
}
|
||
yyerror(msg);
|
||
free(msg);
|
||
}
|
||
else
|
||
yyerror ("parse error; also virtual memory exceeded");
|
||
}
|
||
else
|
||
#endif /* YYERROR_VERBOSE */
|
||
yyerror("parse error");
|
||
}
|
||
|
||
goto yyerrlab1;
|
||
yyerrlab1: /* here on error raised explicitly by an action */
|
||
|
||
if (yyerrstatus == 3)
|
||
{
|
||
/* if just tried and failed to reuse lookahead token after an error, discard it. */
|
||
|
||
/* return failure if at end of input */
|
||
if (yychar == YYEOF)
|
||
YYABORT;
|
||
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
|
||
#endif
|
||
|
||
yychar = YYEMPTY;
|
||
}
|
||
|
||
/* Else will try to reuse lookahead token
|
||
after shifting the error token. */
|
||
|
||
yyerrstatus = 3; /* Each real token shifted decrements this */
|
||
|
||
goto yyerrhandle;
|
||
|
||
yyerrdefault: /* current state does not do anything special for the error token. */
|
||
|
||
#if 0
|
||
/* This is wrong; only states that explicitly want error tokens
|
||
should shift them. */
|
||
yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/
|
||
if (yyn) goto yydefault;
|
||
#endif
|
||
|
||
yyerrpop: /* pop the current state because it cannot handle the error token */
|
||
|
||
if (yyssp == yyss) YYABORT;
|
||
yyvsp--;
|
||
yystate = *--yyssp;
|
||
#ifdef YYLSP_NEEDED
|
||
yylsp--;
|
||
#endif
|
||
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
{
|
||
short *ssp1 = yyss - 1;
|
||
fprintf (stderr, "Error: state stack now");
|
||
while (ssp1 != yyssp)
|
||
fprintf (stderr, " %d", *++ssp1);
|
||
fprintf (stderr, "\n");
|
||
}
|
||
#endif
|
||
|
||
yyerrhandle:
|
||
|
||
yyn = yypact[yystate];
|
||
if (yyn == YYFLAG)
|
||
goto yyerrdefault;
|
||
|
||
yyn += YYTERROR;
|
||
if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
|
||
goto yyerrdefault;
|
||
|
||
yyn = yytable[yyn];
|
||
if (yyn < 0)
|
||
{
|
||
if (yyn == YYFLAG)
|
||
goto yyerrpop;
|
||
yyn = -yyn;
|
||
goto yyreduce;
|
||
}
|
||
else if (yyn == 0)
|
||
goto yyerrpop;
|
||
|
||
if (yyn == YYFINAL)
|
||
YYACCEPT;
|
||
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
fprintf(stderr, "Shifting error token, ");
|
||
#endif
|
||
|
||
*++yyvsp = yylval;
|
||
#ifdef YYLSP_NEEDED
|
||
*++yylsp = yylloc;
|
||
#endif
|
||
|
||
yystate = yyn;
|
||
goto yynewstate;
|
||
}
|
||
#line 2243 "c-parse.y"
|
||
|