3238 lines
121 KiB
C
3238 lines
121 KiB
C
|
||
/* A Bison parser, made from c-parse.y */
|
||
|
||
#define YYBISON 1 /* Identify Bison output. */
|
||
|
||
#define IDENTIFIER 258
|
||
#define TYPENAME 259
|
||
#define SCSPEC 260
|
||
#define TYPESPEC 261
|
||
#define TYPE_QUAL 262
|
||
#define CONSTANT 263
|
||
#define STRING 264
|
||
#define ELLIPSIS 265
|
||
#define SIZEOF 266
|
||
#define ENUM 267
|
||
#define STRUCT 268
|
||
#define UNION 269
|
||
#define IF 270
|
||
#define ELSE 271
|
||
#define WHILE 272
|
||
#define DO 273
|
||
#define FOR 274
|
||
#define SWITCH 275
|
||
#define CASE 276
|
||
#define DEFAULT 277
|
||
#define BREAK 278
|
||
#define CONTINUE 279
|
||
#define RETURN 280
|
||
#define GOTO 281
|
||
#define ASM_KEYWORD 282
|
||
#define TYPEOF 283
|
||
#define ALIGNOF 284
|
||
#define ALIGN 285
|
||
#define ATTRIBUTE 286
|
||
#define EXTENSION 287
|
||
#define LABEL 288
|
||
#define ASSIGN 289
|
||
#define OROR 290
|
||
#define ANDAND 291
|
||
#define EQCOMPARE 292
|
||
#define ARITHCOMPARE 293
|
||
#define LSHIFT 294
|
||
#define RSHIFT 295
|
||
#define UNARY 296
|
||
#define PLUSPLUS 297
|
||
#define MINUSMINUS 298
|
||
#define HYPERUNARY 299
|
||
#define POINTSAT 300
|
||
#define INTERFACE 301
|
||
#define IMPLEMENTATION 302
|
||
#define END 303
|
||
#define SELECTOR 304
|
||
#define DEFS 305
|
||
#define ENCODE 306
|
||
#define CLASSNAME 307
|
||
#define PUBLIC 308
|
||
|
||
#line 39 "c-parse.y"
|
||
|
||
#include <stdio.h>
|
||
#include <errno.h>
|
||
#include <setjmp.h>
|
||
|
||
#include "config.h"
|
||
#include "tree.h"
|
||
#include "input.h"
|
||
#include "c-lex.h"
|
||
#include "c-tree.h"
|
||
#include "flags.h"
|
||
|
||
#ifdef MULTIBYTE_CHARS
|
||
#include <stdlib.h>
|
||
#include <locale.h>
|
||
#endif
|
||
|
||
#ifndef errno
|
||
extern int errno;
|
||
#endif
|
||
|
||
void yyerror ();
|
||
|
||
/* Like YYERROR but do call yyerror. */
|
||
#define YYERROR1 { yyerror ("syntax error"); YYERROR; }
|
||
|
||
/* Cause the `yydebug' variable to be defined. */
|
||
#define YYDEBUG 1
|
||
|
||
#line 71 "c-parse.y"
|
||
typedef union {long itype; tree ttype; enum tree_code code;
|
||
char *filename; int lineno; } YYSTYPE;
|
||
#line 175 "c-parse.y"
|
||
|
||
/* Number of statements (loosely speaking) seen so far. */
|
||
static int stmt_count;
|
||
|
||
/* Input file and line number of the end of the body of last simple_if;
|
||
used by the stmt-rule immediately after simple_if returns. */
|
||
static char *if_stmt_file;
|
||
static int if_stmt_line;
|
||
|
||
/* List of types and structure classes of the current declaration. */
|
||
static tree current_declspecs;
|
||
|
||
/* Stack of saved values of current_declspecs. */
|
||
static tree declspec_stack;
|
||
|
||
/* 1 if we explained undeclared var errors. */
|
||
static int undeclared_variable_notice;
|
||
|
||
/* Tell yyparse how to print a token's value, if yydebug is set. */
|
||
|
||
#define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL)
|
||
extern void yyprint ();
|
||
|
||
#ifndef YYLTYPE
|
||
typedef
|
||
struct yyltype
|
||
{
|
||
int timestamp;
|
||
int first_line;
|
||
int first_column;
|
||
int last_line;
|
||
int last_column;
|
||
char *text;
|
||
}
|
||
yyltype;
|
||
|
||
#define YYLTYPE yyltype
|
||
#endif
|
||
|
||
#include <stdio.h>
|
||
|
||
#ifndef __STDC__
|
||
#define const
|
||
#endif
|
||
|
||
|
||
|
||
#define YYFINAL 594
|
||
#define YYFLAG -32768
|
||
#define YYNTBASE 76
|
||
|
||
#define YYTRANSLATE(x) ((unsigned)(x) <= 308 ? yytranslate[x] : 200)
|
||
|
||
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, 72, 2, 2, 2, 51, 42, 2, 58,
|
||
68, 49, 47, 73, 48, 57, 50, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 37, 69, 2,
|
||
35, 2, 36, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
59, 2, 75, 41, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 74, 40, 70, 71, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 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, 38,
|
||
39, 43, 44, 45, 46, 52, 53, 54, 55, 56,
|
||
60, 61, 62, 63, 64, 65, 66, 67
|
||
};
|
||
|
||
static const short yyprhs[] = { 0,
|
||
0, 1, 3, 4, 7, 8, 12, 14, 16, 22,
|
||
26, 31, 36, 39, 42, 45, 48, 50, 51, 52,
|
||
60, 65, 66, 67, 75, 80, 81, 82, 89, 93,
|
||
95, 97, 99, 101, 103, 105, 107, 109, 111, 113,
|
||
114, 116, 118, 122, 124, 127, 128, 132, 135, 138,
|
||
141, 146, 149, 154, 156, 161, 169, 171, 175, 179,
|
||
183, 187, 191, 195, 199, 203, 207, 211, 215, 219,
|
||
223, 227, 233, 237, 241, 243, 245, 247, 251, 255,
|
||
256, 261, 266, 271, 275, 279, 282, 285, 287, 290,
|
||
291, 293, 296, 300, 302, 304, 307, 310, 315, 320,
|
||
323, 326, 330, 332, 334, 337, 340, 341, 346, 351,
|
||
355, 359, 362, 365, 368, 372, 373, 376, 379, 381,
|
||
383, 386, 389, 392, 396, 397, 400, 402, 404, 406,
|
||
411, 416, 418, 420, 422, 424, 428, 430, 434, 435,
|
||
440, 441, 448, 452, 453, 460, 464, 465, 472, 474,
|
||
478, 480, 485, 490, 499, 501, 504, 508, 513, 515,
|
||
517, 521, 526, 533, 537, 543, 544, 548, 549, 553,
|
||
555, 557, 561, 565, 570, 574, 578, 580, 584, 589,
|
||
593, 597, 599, 603, 607, 611, 616, 620, 622, 623,
|
||
630, 635, 638, 639, 646, 651, 654, 655, 663, 664,
|
||
671, 674, 675, 677, 678, 680, 682, 685, 686, 690,
|
||
693, 697, 699, 703, 705, 707, 709, 713, 718, 725,
|
||
730, 732, 736, 738, 742, 745, 748, 749, 751, 753,
|
||
756, 757, 760, 764, 768, 771, 775, 780, 784, 787,
|
||
791, 794, 796, 799, 802, 803, 805, 808, 809, 810,
|
||
812, 814, 817, 821, 823, 826, 829, 836, 842, 848,
|
||
851, 854, 859, 860, 865, 866, 867, 871, 876, 880,
|
||
882, 884, 886, 889, 890, 895, 897, 901, 902, 903,
|
||
911, 917, 920, 921, 922, 923, 936, 937, 944, 947,
|
||
950, 953, 957, 964, 973, 984, 997, 1001, 1006, 1008,
|
||
1012, 1018, 1021, 1024, 1025, 1027, 1028, 1030, 1031, 1033,
|
||
1035, 1039, 1044, 1046, 1050, 1051, 1054, 1057, 1058, 1063,
|
||
1066, 1067, 1069, 1071, 1075, 1077, 1081, 1084, 1087, 1090,
|
||
1093, 1096, 1097, 1100, 1102, 1105, 1107, 1111, 1113
|
||
};
|
||
|
||
static const short yyrhs[] = { -1,
|
||
77, 0, 0, 78, 80, 0, 0, 77, 79, 80,
|
||
0, 82, 0, 81, 0, 27, 58, 91, 68, 69,
|
||
0, 107, 117, 69, 0, 111, 107, 117, 69, 0,
|
||
109, 107, 116, 69, 0, 111, 69, 0, 109, 69,
|
||
0, 1, 69, 0, 1, 70, 0, 69, 0, 0,
|
||
0, 109, 107, 132, 83, 101, 84, 162, 0, 109,
|
||
107, 132, 1, 0, 0, 0, 111, 107, 135, 85,
|
||
101, 86, 162, 0, 111, 107, 135, 1, 0, 0,
|
||
0, 107, 135, 87, 101, 88, 162, 0, 107, 135,
|
||
1, 0, 3, 0, 4, 0, 42, 0, 48, 0,
|
||
47, 0, 53, 0, 54, 0, 71, 0, 72, 0,
|
||
93, 0, 0, 93, 0, 97, 0, 93, 73, 97,
|
||
0, 98, 0, 49, 96, 0, 0, 32, 95, 96,
|
||
0, 90, 96, 0, 39, 89, 0, 11, 94, 0,
|
||
11, 58, 150, 68, 0, 29, 94, 0, 29, 58,
|
||
150, 68, 0, 94, 0, 58, 150, 68, 96, 0,
|
||
58, 150, 68, 74, 127, 141, 70, 0, 96, 0,
|
||
97, 47, 97, 0, 97, 48, 97, 0, 97, 49,
|
||
97, 0, 97, 50, 97, 0, 97, 51, 97, 0,
|
||
97, 45, 97, 0, 97, 46, 97, 0, 97, 44,
|
||
97, 0, 97, 43, 97, 0, 97, 42, 97, 0,
|
||
97, 40, 97, 0, 97, 41, 97, 0, 97, 39,
|
||
97, 0, 97, 38, 97, 0, 97, 36, 183, 37,
|
||
97, 0, 97, 35, 97, 0, 97, 34, 97, 0,
|
||
3, 0, 8, 0, 100, 0, 58, 91, 68, 0,
|
||
58, 1, 68, 0, 0, 58, 99, 163, 68, 0,
|
||
98, 58, 92, 68, 0, 98, 59, 91, 75, 0,
|
||
98, 57, 89, 0, 98, 56, 89, 0, 98, 53,
|
||
0, 98, 54, 0, 9, 0, 100, 9, 0, 0,
|
||
103, 0, 103, 10, 0, 168, 169, 104, 0, 102,
|
||
0, 157, 0, 103, 102, 0, 102, 157, 0, 109,
|
||
107, 116, 69, 0, 111, 107, 117, 69, 0, 109,
|
||
69, 0, 111, 69, 0, 168, 169, 108, 0, 105,
|
||
0, 157, 0, 106, 105, 0, 105, 157, 0, 0,
|
||
109, 107, 116, 69, 0, 111, 107, 117, 69, 0,
|
||
109, 107, 128, 0, 111, 107, 130, 0, 109, 69,
|
||
0, 111, 69, 0, 114, 110, 0, 111, 114, 110,
|
||
0, 0, 110, 115, 0, 110, 5, 0, 7, 0,
|
||
5, 0, 111, 7, 0, 111, 5, 0, 114, 113,
|
||
0, 152, 114, 113, 0, 0, 113, 115, 0, 6,
|
||
0, 136, 0, 4, 0, 28, 58, 91, 68, 0,
|
||
28, 58, 150, 68, 0, 6, 0, 7, 0, 136,
|
||
0, 119, 0, 116, 73, 119, 0, 121, 0, 117,
|
||
73, 119, 0, 0, 27, 58, 100, 68, 0, 0,
|
||
132, 118, 123, 35, 120, 126, 0, 132, 118, 123,
|
||
0, 0, 135, 118, 123, 35, 122, 126, 0, 135,
|
||
118, 123, 0, 0, 31, 58, 58, 124, 68, 68,
|
||
0, 125, 0, 124, 73, 125, 0, 3, 0, 3,
|
||
58, 3, 68, 0, 3, 58, 8, 68, 0, 3,
|
||
58, 3, 73, 8, 73, 8, 68, 0, 97, 0,
|
||
74, 70, 0, 74, 127, 70, 0, 74, 127, 73,
|
||
70, 0, 1, 0, 126, 0, 127, 73, 126, 0,
|
||
59, 97, 75, 126, 0, 127, 73, 59, 97, 75,
|
||
126, 0, 89, 37, 126, 0, 127, 73, 89, 37,
|
||
126, 0, 0, 132, 129, 163, 0, 0, 135, 131,
|
||
163, 0, 133, 0, 135, 0, 58, 133, 68, 0,
|
||
133, 58, 195, 0, 133, 59, 91, 75, 0, 133,
|
||
59, 75, 0, 49, 153, 133, 0, 4, 0, 134,
|
||
58, 195, 0, 134, 59, 91, 75, 0, 134, 59,
|
||
75, 0, 49, 153, 134, 0, 4, 0, 135, 58,
|
||
195, 0, 58, 135, 68, 0, 49, 153, 135, 0,
|
||
135, 59, 91, 75, 0, 135, 59, 75, 0, 3,
|
||
0, 0, 13, 89, 74, 137, 143, 70, 0, 13,
|
||
74, 143, 70, 0, 13, 89, 0, 0, 14, 89,
|
||
74, 138, 143, 70, 0, 14, 74, 143, 70, 0,
|
||
14, 89, 0, 0, 12, 89, 74, 139, 148, 142,
|
||
70, 0, 0, 12, 74, 140, 148, 142, 70, 0,
|
||
12, 89, 0, 0, 73, 0, 0, 73, 0, 144,
|
||
0, 144, 145, 0, 0, 144, 145, 69, 0, 144,
|
||
69, 0, 112, 107, 146, 0, 112, 0, 152, 107,
|
||
146, 0, 152, 0, 1, 0, 147, 0, 146, 73,
|
||
147, 0, 168, 169, 132, 123, 0, 168, 169, 132,
|
||
37, 97, 123, 0, 168, 169, 37, 97, 0, 149,
|
||
0, 148, 73, 149, 0, 89, 0, 89, 35, 97,
|
||
0, 112, 151, 0, 152, 151, 0, 0, 154, 0,
|
||
7, 0, 152, 7, 0, 0, 153, 7, 0, 58,
|
||
154, 68, 0, 49, 153, 154, 0, 49, 153, 0,
|
||
154, 58, 188, 0, 154, 59, 91, 75, 0, 154,
|
||
59, 75, 0, 58, 188, 0, 59, 91, 75, 0,
|
||
59, 75, 0, 171, 0, 155, 171, 0, 155, 157,
|
||
0, 0, 155, 0, 1, 69, 0, 0, 0, 160,
|
||
0, 161, 0, 160, 161, 0, 33, 199, 69, 0,
|
||
163, 0, 1, 163, 0, 74, 70, 0, 74, 158,
|
||
159, 106, 156, 70, 0, 74, 158, 159, 1, 70,
|
||
0, 74, 158, 159, 155, 70, 0, 165, 170, 0,
|
||
165, 1, 0, 15, 58, 91, 68, 0, 0, 18,
|
||
167, 170, 17, 0, 0, 0, 168, 169, 173, 0,
|
||
168, 169, 181, 170, 0, 168, 169, 172, 0, 173,
|
||
0, 181, 0, 163, 0, 91, 69, 0, 0, 164,
|
||
16, 174, 170, 0, 164, 0, 164, 16, 1, 0,
|
||
0, 0, 17, 175, 58, 91, 68, 176, 170, 0,
|
||
166, 58, 91, 68, 69, 0, 166, 1, 0, 0,
|
||
0, 0, 19, 58, 183, 69, 177, 183, 69, 178,
|
||
183, 68, 179, 170, 0, 0, 20, 58, 91, 68,
|
||
180, 170, 0, 23, 69, 0, 24, 69, 0, 25,
|
||
69, 0, 25, 91, 69, 0, 27, 182, 58, 91,
|
||
68, 69, 0, 27, 182, 58, 91, 37, 184, 68,
|
||
69, 0, 27, 182, 58, 91, 37, 184, 37, 184,
|
||
68, 69, 0, 27, 182, 58, 91, 37, 184, 37,
|
||
184, 37, 187, 68, 69, 0, 26, 89, 69, 0,
|
||
26, 49, 91, 69, 0, 69, 0, 21, 91, 37,
|
||
0, 21, 91, 10, 91, 37, 0, 22, 37, 0,
|
||
89, 37, 0, 0, 7, 0, 0, 91, 0, 0,
|
||
185, 0, 186, 0, 185, 73, 186, 0, 9, 58,
|
||
91, 68, 0, 100, 0, 187, 73, 100, 0, 0,
|
||
189, 190, 0, 192, 68, 0, 0, 193, 69, 191,
|
||
190, 0, 1, 68, 0, 0, 10, 0, 193, 0,
|
||
193, 73, 10, 0, 194, 0, 193, 73, 194, 0,
|
||
109, 134, 0, 109, 135, 0, 109, 151, 0, 111,
|
||
135, 0, 111, 151, 0, 0, 196, 197, 0, 190,
|
||
0, 198, 68, 0, 3, 0, 198, 73, 3, 0,
|
||
89, 0, 199, 73, 89, 0
|
||
};
|
||
|
||
#if YYDEBUG != 0
|
||
static const short yyrline[] = { 0,
|
||
200, 203, 210, 212, 212, 213, 215, 217, 218, 228,
|
||
234, 236, 238, 240, 242, 243, 244, 249, 255, 257,
|
||
258, 260, 265, 267, 268, 270, 275, 277, 278, 282,
|
||
284, 287, 289, 291, 293, 295, 297, 299, 303, 307,
|
||
310, 313, 316, 320, 322, 325, 328, 331, 334, 354,
|
||
359, 361, 363, 367, 369, 372, 397, 399, 401, 403,
|
||
405, 407, 409, 411, 413, 415, 417, 419, 421, 423,
|
||
425, 427, 429, 431, 435, 488, 489, 491, 497, 499,
|
||
512, 528, 530, 532, 534, 536, 538, 543, 545, 549,
|
||
551, 552, 562, 567, 569, 570, 571, 574, 579, 583,
|
||
585, 593, 598, 600, 601, 602, 609, 617, 622, 626,
|
||
630, 634, 636, 644, 647, 651, 653, 655, 663, 666,
|
||
668, 670, 679, 682, 686, 688, 696, 697, 698, 702,
|
||
706, 714, 715, 716, 719, 721, 724, 726, 729, 732,
|
||
738, 743, 745, 751, 756, 758, 765, 768, 773, 775,
|
||
780, 785, 795, 806, 820, 822, 826, 828, 830, 836,
|
||
839, 842, 844, 846, 848, 852, 869, 873, 890, 897,
|
||
899, 904, 907, 912, 914, 916, 918, 926, 932, 934,
|
||
936, 938, 944, 950, 952, 954, 956, 958, 961, 966,
|
||
970, 973, 975, 977, 979, 982, 984, 987, 990, 993,
|
||
996, 1000, 1002, 1005, 1007, 1011, 1014, 1019, 1021, 1023,
|
||
1037, 1043, 1048, 1053, 1058, 1062, 1064, 1068, 1072, 1076,
|
||
1085, 1087, 1092, 1095, 1099, 1102, 1106, 1109, 1112, 1115,
|
||
1119, 1122, 1126, 1130, 1132, 1134, 1136, 1138, 1140, 1142,
|
||
1144, 1152, 1154, 1155, 1158, 1160, 1163, 1166, 1176, 1178,
|
||
1183, 1185, 1188, 1202, 1205, 1208, 1210, 1215, 1220, 1228,
|
||
1233, 1236, 1249, 1257, 1261, 1265, 1269, 1275, 1279, 1284,
|
||
1286, 1297, 1300, 1305, 1310, 1313, 1321, 1323, 1333, 1342,
|
||
1343, 1350, 1353, 1365, 1369, 1383, 1389, 1398, 1400, 1405,
|
||
1410, 1414, 1418, 1429, 1436, 1443, 1450, 1461, 1465, 1472,
|
||
1496, 1524, 1539, 1550, 1553, 1557, 1560, 1565, 1567, 1570,
|
||
1572, 1576, 1581, 1584, 1590, 1595, 1600, 1602, 1611, 1612,
|
||
1618, 1620, 1625, 1627, 1631, 1634, 1640, 1643, 1645, 1647,
|
||
1649, 1656, 1661, 1666, 1668, 1677, 1680, 1685, 1688
|
||
};
|
||
|
||
static const char * const yytname[] = { "$","error","$illegal.","IDENTIFIER",
|
||
"TYPENAME","SCSPEC","TYPESPEC","TYPE_QUAL","CONSTANT","STRING","ELLIPSIS","SIZEOF",
|
||
"ENUM","STRUCT","UNION","IF","ELSE","WHILE","DO","FOR","SWITCH","CASE","DEFAULT",
|
||
"BREAK","CONTINUE","RETURN","GOTO","ASM_KEYWORD","TYPEOF","ALIGNOF","ALIGN",
|
||
"ATTRIBUTE","EXTENSION","LABEL","ASSIGN","'='","'?'","':'","OROR","ANDAND","'|'",
|
||
"'^'","'&'","EQCOMPARE","ARITHCOMPARE","LSHIFT","RSHIFT","'+'","'-'","'*'","'/'",
|
||
"'%'","UNARY","PLUSPLUS","MINUSMINUS","HYPERUNARY","POINTSAT","'.'","'('","'['",
|
||
"INTERFACE","IMPLEMENTATION","END","SELECTOR","DEFS","ENCODE","CLASSNAME","PUBLIC",
|
||
"')'","';'","'}'","'~'","'!'","','","'{'","']'","program","extdefs","@1","@2",
|
||
"extdef","datadef","fndef","@3","@4","@5","@6","@7","@8","identifier","unop",
|
||
"expr","exprlist","nonnull_exprlist","unary_expr","@9","cast_expr","expr_no_commas",
|
||
"primary","@10","string","xdecls","lineno_datadecl","datadecls","datadecl","lineno_decl",
|
||
"decls","setspecs","decl","typed_declspecs","reserved_declspecs","declmods",
|
||
"typed_typespecs","reserved_typespecquals","typespec","typespecqual_reserved",
|
||
"initdecls","notype_initdecls","maybeasm","initdcl","@11","notype_initdcl","@12",
|
||
"maybe_attribute","attribute_list","attrib","init","initlist","nested_function",
|
||
"@13","notype_nested_function","@14","declarator","after_type_declarator","parm_declarator",
|
||
"notype_declarator","structsp","@15","@16","@17","@18","maybecomma","maybecomma_warn",
|
||
"component_decl_list","component_decl_list2","component_decl","components","component_declarator",
|
||
"enumlist","enumerator","typename","absdcl","nonempty_type_quals","type_quals",
|
||
"absdcl1","stmts","xstmts","errstmt","pushlevel","maybe_label_decls","label_decls",
|
||
"label_decl","compstmt_or_error","compstmt","simple_if","if_prefix","do_stmt_start",
|
||
"@19","save_filename","save_lineno","lineno_labeled_stmt","lineno_stmt_or_label",
|
||
"stmt_or_label","stmt","@20","@21","@22","@23","@24","@25","@26","label","maybe_type_qual",
|
||
"xexpr","asm_operands","nonnull_asm_operands","asm_operand","asm_clobbers","parmlist",
|
||
"@27","parmlist_1","@28","parmlist_2","parms","parm","parmlist_or_identifiers",
|
||
"@29","parmlist_or_identifiers_1","identifiers","identifiers_or_typenames",""
|
||
};
|
||
#endif
|
||
|
||
static const short yyr1[] = { 0,
|
||
76, 76, 78, 77, 79, 77, 80, 80, 80, 81,
|
||
81, 81, 81, 81, 81, 81, 81, 83, 84, 82,
|
||
82, 85, 86, 82, 82, 87, 88, 82, 82, 89,
|
||
89, 90, 90, 90, 90, 90, 90, 90, 91, 92,
|
||
92, 93, 93, 94, 94, 95, 94, 94, 94, 94,
|
||
94, 94, 94, 96, 96, 96, 97, 97, 97, 97,
|
||
97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
|
||
97, 97, 97, 97, 98, 98, 98, 98, 98, 99,
|
||
98, 98, 98, 98, 98, 98, 98, 100, 100, 101,
|
||
101, 101, 102, 103, 103, 103, 103, 104, 104, 104,
|
||
104, 105, 106, 106, 106, 106, 107, 108, 108, 108,
|
||
108, 108, 108, 109, 109, 110, 110, 110, 111, 111,
|
||
111, 111, 112, 112, 113, 113, 114, 114, 114, 114,
|
||
114, 115, 115, 115, 116, 116, 117, 117, 118, 118,
|
||
120, 119, 119, 122, 121, 121, 123, 123, 124, 124,
|
||
125, 125, 125, 125, 126, 126, 126, 126, 126, 127,
|
||
127, 127, 127, 127, 127, 129, 128, 131, 130, 132,
|
||
132, 133, 133, 133, 133, 133, 133, 134, 134, 134,
|
||
134, 134, 135, 135, 135, 135, 135, 135, 137, 136,
|
||
136, 136, 138, 136, 136, 136, 139, 136, 140, 136,
|
||
136, 141, 141, 142, 142, 143, 143, 144, 144, 144,
|
||
145, 145, 145, 145, 145, 146, 146, 147, 147, 147,
|
||
148, 148, 149, 149, 150, 150, 151, 151, 152, 152,
|
||
153, 153, 154, 154, 154, 154, 154, 154, 154, 154,
|
||
154, 155, 155, 155, 156, 156, 157, 158, 159, 159,
|
||
160, 160, 161, 162, 162, 163, 163, 163, 163, 164,
|
||
164, 165, 167, 166, 168, 169, 170, 170, 171, 172,
|
||
172, 173, 173, 174, 173, 173, 173, 175, 176, 173,
|
||
173, 173, 177, 178, 179, 173, 180, 173, 173, 173,
|
||
173, 173, 173, 173, 173, 173, 173, 173, 173, 181,
|
||
181, 181, 181, 182, 182, 183, 183, 184, 184, 185,
|
||
185, 186, 187, 187, 189, 188, 190, 191, 190, 190,
|
||
192, 192, 192, 192, 193, 193, 194, 194, 194, 194,
|
||
194, 196, 195, 197, 197, 198, 198, 199, 199
|
||
};
|
||
|
||
static const short yyr2[] = { 0,
|
||
0, 1, 0, 2, 0, 3, 1, 1, 5, 3,
|
||
4, 4, 2, 2, 2, 2, 1, 0, 0, 7,
|
||
4, 0, 0, 7, 4, 0, 0, 6, 3, 1,
|
||
1, 1, 1, 1, 1, 1, 1, 1, 1, 0,
|
||
1, 1, 3, 1, 2, 0, 3, 2, 2, 2,
|
||
4, 2, 4, 1, 4, 7, 1, 3, 3, 3,
|
||
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
||
3, 5, 3, 3, 1, 1, 1, 3, 3, 0,
|
||
4, 4, 4, 3, 3, 2, 2, 1, 2, 0,
|
||
1, 2, 3, 1, 1, 2, 2, 4, 4, 2,
|
||
2, 3, 1, 1, 2, 2, 0, 4, 4, 3,
|
||
3, 2, 2, 2, 3, 0, 2, 2, 1, 1,
|
||
2, 2, 2, 3, 0, 2, 1, 1, 1, 4,
|
||
4, 1, 1, 1, 1, 3, 1, 3, 0, 4,
|
||
0, 6, 3, 0, 6, 3, 0, 6, 1, 3,
|
||
1, 4, 4, 8, 1, 2, 3, 4, 1, 1,
|
||
3, 4, 6, 3, 5, 0, 3, 0, 3, 1,
|
||
1, 3, 3, 4, 3, 3, 1, 3, 4, 3,
|
||
3, 1, 3, 3, 3, 4, 3, 1, 0, 6,
|
||
4, 2, 0, 6, 4, 2, 0, 7, 0, 6,
|
||
2, 0, 1, 0, 1, 1, 2, 0, 3, 2,
|
||
3, 1, 3, 1, 1, 1, 3, 4, 6, 4,
|
||
1, 3, 1, 3, 2, 2, 0, 1, 1, 2,
|
||
0, 2, 3, 3, 2, 3, 4, 3, 2, 3,
|
||
2, 1, 2, 2, 0, 1, 2, 0, 0, 1,
|
||
1, 2, 3, 1, 2, 2, 6, 5, 5, 2,
|
||
2, 4, 0, 4, 0, 0, 3, 4, 3, 1,
|
||
1, 1, 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, 3,
|
||
5, 2, 2, 0, 1, 0, 1, 0, 1, 1,
|
||
3, 4, 1, 3, 0, 2, 2, 0, 4, 2,
|
||
0, 1, 1, 3, 1, 3, 2, 2, 2, 2,
|
||
2, 0, 2, 1, 2, 1, 3, 1, 3
|
||
};
|
||
|
||
static const short yydefact[] = { 3,
|
||
5, 0, 0, 0, 129, 120, 127, 119, 0, 0,
|
||
0, 0, 0, 17, 4, 8, 7, 0, 107, 107,
|
||
116, 128, 6, 15, 16, 30, 31, 199, 201, 208,
|
||
192, 208, 196, 0, 0, 188, 231, 0, 0, 137,
|
||
0, 14, 0, 122, 121, 13, 0, 116, 114, 0,
|
||
197, 0, 0, 189, 0, 193, 75, 76, 88, 0,
|
||
0, 46, 0, 32, 34, 33, 0, 35, 36, 0,
|
||
37, 38, 0, 0, 39, 54, 57, 42, 44, 77,
|
||
229, 0, 227, 125, 0, 227, 0, 0, 10, 0,
|
||
29, 0, 332, 0, 0, 147, 177, 231, 0, 0,
|
||
135, 0, 170, 171, 0, 0, 115, 118, 132, 133,
|
||
117, 134, 223, 204, 221, 0, 191, 215, 210, 107,
|
||
207, 107, 208, 195, 208, 0, 50, 0, 52, 0,
|
||
49, 45, 0, 0, 0, 0, 48, 0, 0, 0,
|
||
0, 306, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 86, 87, 0, 0,
|
||
40, 0, 89, 130, 231, 315, 0, 225, 228, 123,
|
||
131, 230, 125, 226, 232, 185, 184, 138, 139, 0,
|
||
183, 0, 187, 0, 0, 27, 0, 265, 95, 266,
|
||
0, 146, 0, 0, 12, 0, 21, 0, 147, 332,
|
||
0, 11, 25, 0, 0, 205, 0, 204, 265, 209,
|
||
265, 0, 0, 0, 0, 47, 79, 78, 248, 0,
|
||
0, 9, 43, 74, 73, 307, 0, 71, 70, 68,
|
||
69, 67, 66, 65, 63, 64, 58, 59, 60, 61,
|
||
62, 85, 84, 0, 41, 0, 235, 0, 239, 0,
|
||
241, 0, 315, 0, 126, 124, 0, 0, 336, 322,
|
||
227, 227, 334, 0, 323, 325, 333, 0, 186, 247,
|
||
0, 97, 92, 96, 0, 0, 144, 176, 172, 136,
|
||
19, 143, 173, 175, 0, 23, 224, 222, 200, 0,
|
||
211, 216, 266, 213, 190, 194, 51, 53, 256, 249,
|
||
81, 0, 55, 0, 82, 83, 234, 233, 316, 240,
|
||
236, 238, 0, 140, 320, 182, 231, 315, 327, 328,
|
||
329, 231, 330, 331, 317, 318, 0, 335, 0, 0,
|
||
28, 254, 93, 107, 107, 0, 0, 0, 141, 174,
|
||
0, 198, 265, 0, 0, 0, 250, 251, 159, 75,
|
||
0, 0, 0, 155, 160, 202, 72, 237, 235, 332,
|
||
0, 235, 0, 324, 326, 337, 255, 100, 0, 101,
|
||
0, 151, 0, 149, 145, 20, 0, 24, 217, 0,
|
||
147, 338, 0, 0, 0, 265, 0, 104, 266, 242,
|
||
252, 0, 156, 0, 0, 0, 0, 181, 178, 180,
|
||
0, 319, 0, 0, 139, 0, 0, 0, 142, 220,
|
||
0, 218, 253, 0, 258, 106, 105, 0, 0, 259,
|
||
244, 266, 243, 0, 0, 157, 0, 164, 0, 0,
|
||
161, 56, 179, 98, 99, 0, 0, 148, 150, 147,
|
||
339, 257, 0, 129, 0, 278, 263, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 304, 299, 0, 0, 102,
|
||
107, 107, 272, 276, 0, 0, 269, 270, 271, 162,
|
||
158, 0, 0, 152, 0, 153, 219, 0, 0, 265,
|
||
306, 0, 0, 302, 289, 290, 291, 0, 0, 0,
|
||
305, 0, 303, 273, 112, 0, 113, 0, 0, 261,
|
||
266, 260, 282, 0, 0, 165, 0, 0, 0, 0,
|
||
0, 0, 0, 300, 292, 0, 297, 0, 0, 110,
|
||
139, 0, 111, 139, 277, 265, 0, 0, 163, 0,
|
||
262, 0, 264, 283, 287, 0, 298, 0, 108, 0,
|
||
109, 0, 275, 267, 265, 0, 0, 279, 306, 265,
|
||
301, 308, 0, 167, 169, 268, 281, 154, 265, 0,
|
||
288, 0, 0, 309, 310, 293, 280, 284, 0, 308,
|
||
0, 0, 306, 0, 0, 294, 311, 0, 312, 0,
|
||
0, 285, 313, 0, 295, 265, 0, 0, 286, 296,
|
||
314, 0, 0, 0
|
||
};
|
||
|
||
static const short yydefgoto[] = { 592,
|
||
1, 2, 3, 15, 16, 17, 198, 338, 204, 341,
|
||
95, 271, 113, 73, 226, 244, 75, 76, 130, 77,
|
||
78, 79, 135, 80, 186, 187, 188, 333, 385, 386,
|
||
18, 460, 261, 49, 262, 83, 170, 21, 111, 100,
|
||
39, 96, 101, 377, 40, 337, 192, 373, 374, 355,
|
||
356, 520, 540, 523, 542, 179, 103, 319, 104, 22,
|
||
123, 125, 116, 50, 397, 207, 52, 53, 121, 291,
|
||
292, 114, 115, 85, 168, 86, 87, 169, 387, 419,
|
||
189, 300, 346, 347, 348, 331, 332, 464, 465, 466,
|
||
480, 501, 275, 502, 390, 467, 468, 526, 479, 559,
|
||
549, 573, 586, 550, 469, 492, 227, 563, 564, 565,
|
||
584, 249, 250, 263, 363, 264, 265, 266, 181, 182,
|
||
267, 268, 383
|
||
};
|
||
|
||
static const short yypact[] = { 56,
|
||
77, 1868, 1868, 91,-32768,-32768,-32768,-32768, 41, 64,
|
||
71, 89, 110,-32768,-32768,-32768,-32768, 90, 22, 230,
|
||
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 145,-32768,
|
||
151,-32768, 174, 1758, 1683,-32768,-32768, 90, 81,-32768,
|
||
267,-32768, 314,-32768,-32768,-32768, 90,-32768, 541, 358,
|
||
-32768, 200, 373,-32768, 205,-32768,-32768,-32768,-32768, 1785,
|
||
1812,-32768, 358,-32768,-32768,-32768, 1758,-32768,-32768, 923,
|
||
-32768,-32768, 1758, 112, 209,-32768,-32768, 1985, 339, 275,
|
||
-32768, 233, 163,-32768, 243, 1129, 342, 192,-32768, 314,
|
||
-32768, 272,-32768, 1297, 353, 304,-32768,-32768, 314, 172,
|
||
-32768, 158, 371, 381, 235, 1258, 541,-32768,-32768,-32768,
|
||
-32768,-32768, 298, 273,-32768, 358,-32768,-32768,-32768, 380,
|
||
279, 875,-32768,-32768,-32768, 923,-32768, 923,-32768, 1758,
|
||
-32768,-32768, 308, 310, 296, 316,-32768, 313, 1758, 1758,
|
||
1758, 1758, 1758, 1758, 1758, 1758, 1758, 1758, 1758, 1758,
|
||
1758, 1758, 1758, 1758, 1758, 1758,-32768,-32768, 358, 358,
|
||
1758, 1758,-32768,-32768,-32768, 163, 1332,-32768, 393, 545,
|
||
-32768,-32768,-32768,-32768,-32768, 381,-32768,-32768, 362, 390,
|
||
-32768, 1060,-32768, 330, 341,-32768, 309, 40,-32768,-32768,
|
||
355, 389, 55, 194,-32768, 314,-32768, 353, 304,-32768,
|
||
1367,-32768,-32768, 353, 1758, 358, 345, 273,-32768,-32768,
|
||
-32768, 356, 363, 367, 369,-32768,-32768,-32768, 375, 386,
|
||
1630,-32768, 1985, 1985, 1985,-32768, 437, 1861, 1456, 1946,
|
||
868, 580, 723, 242, 651, 651, 368, 368,-32768,-32768,
|
||
-32768,-32768,-32768, 420, 209, 402, 181, 218,-32768, 459,
|
||
-32768, 414,-32768, 1402,-32768, 545, 28, 422,-32768,-32768,
|
||
293, 1885,-32768, 423, 255,-32768,-32768, -25,-32768,-32768,
|
||
48,-32768,-32768,-32768, 810, 443,-32768, 371,-32768,-32768,
|
||
-32768, 472,-32768,-32768, 446,-32768, 1985,-32768,-32768, 452,
|
||
453,-32768,-32768, 453,-32768,-32768,-32768,-32768,-32768, 495,
|
||
-32768, 1195,-32768, 1758,-32768,-32768, 393,-32768,-32768,-32768,
|
||
-32768,-32768, 454,-32768,-32768,-32768,-32768, 117, 409, 381,
|
||
-32768,-32768, 381,-32768,-32768,-32768, 738,-32768, 528, 296,
|
||
-32768,-32768,-32768, 463, 594, 531, 1249, 48,-32768,-32768,
|
||
48,-32768,-32768, 220, 358, 563, 495,-32768,-32768, 499,
|
||
1758, 979, 500, 1985,-32768, 468, 1169,-32768, 638,-32768,
|
||
1437, 206, 459,-32768,-32768,-32768,-32768,-32768, 314,-32768,
|
||
90, 484, 5,-32768,-32768,-32768, 1249,-32768,-32768, 1758,
|
||
34,-32768, 295, 412, 491, 473, 635,-32768,-32768,-32768,
|
||
-32768, 1911,-32768, -7, 1249, 1051, 480, 409,-32768,-32768,
|
||
498,-32768, 300, 302, 30, 104, 511, 531,-32768, 1985,
|
||
1758,-32768,-32768, 358,-32768,-32768,-32768, 707, 523,-32768,
|
||
-32768,-32768,-32768, 1510, 1249,-32768, 1123,-32768, 1758, 557,
|
||
-32768,-32768,-32768,-32768,-32768, 106, 529,-32768,-32768, 1967,
|
||
-32768,-32768, 1582, 559, 546,-32768,-32768, 551, 555, 1758,
|
||
566, 549, 550, 1710, 50, 607,-32768, 578, 564,-32768,
|
||
571, 666,-32768, 604, 779, 45,-32768,-32768,-32768,-32768,
|
||
-32768, 1929, 1249,-32768, 639,-32768,-32768, 1758, 590,-32768,
|
||
1758, 1758, 132,-32768,-32768,-32768,-32768, 582, 1758, 596,
|
||
-32768, 591,-32768,-32768,-32768, 314,-32768, 90, 851,-32768,
|
||
-32768,-32768,-32768, 1758, 1249,-32768, 593, 600, 1758, 652,
|
||
606, 608, 1758,-32768,-32768, 612,-32768, 1758, 335,-32768,
|
||
37, 338,-32768, 24,-32768,-32768, 1582, 617,-32768, 678,
|
||
-32768, 622,-32768,-32768,-32768, 654,-32768, 18,-32768, 296,
|
||
-32768, 296,-32768,-32768,-32768, 623, 627,-32768, 1758,-32768,
|
||
-32768, 694, 643,-32768,-32768,-32768,-32768,-32768,-32768, 644,
|
||
-32768, 656, 33, 646,-32768,-32768,-32768,-32768, 1758, 694,
|
||
648, 694, 1758, 653, 114,-32768,-32768, 655,-32768, 390,
|
||
668,-32768, 275, 186,-32768,-32768, 669, 390,-32768,-32768,
|
||
275, 720, 740,-32768
|
||
};
|
||
|
||
static const short yypgoto[] = {-32768,
|
||
-32768,-32768,-32768, 744,-32768,-32768,-32768,-32768,-32768,-32768,
|
||
-32768,-32768, -2,-32768, -34,-32768, 592, 425,-32768, -40,
|
||
51,-32768,-32768, -174, -58, 553,-32768,-32768, 372,-32768,
|
||
-3,-32768, 8, 709, 10, 706, 589, -1, -130, -344,
|
||
-42, -100, -52,-32768,-32768,-32768, -173,-32768, 376, -290,
|
||
411,-32768,-32768,-32768,-32768, -39, -70, 405, -15, -27,
|
||
-32768,-32768,-32768,-32768,-32768, 567, 7,-32768,-32768, 574,
|
||
448, 670, 583, 27, -51, 739, -84, -145, 407,-32768,
|
||
-169,-32768,-32768,-32768, 460, -29, -104,-32768,-32768,-32768,
|
||
-32768, -80, -273, -450, -231,-32768, 268,-32768,-32768,-32768,
|
||
-32768,-32768,-32768,-32768, 282,-32768, -439, 240,-32768, 241,
|
||
-32768, 572,-32768, -222,-32768,-32768,-32768, 485, -176,-32768,
|
||
-32768,-32768,-32768
|
||
};
|
||
|
||
|
||
#define YYLAST 2036
|
||
|
||
|
||
static const short yytable[] = { 74,
|
||
82, 199, 41, 102, 105, 257, 29, 31, 33, 19,
|
||
19, 20, 20, 193, 190, 43, 47, 272, 48, 344,
|
||
248, 112, 88, 283, 403, 282, 132, 309, 194, 510,
|
||
220, 106, 137, 84, 174, 134, 163, 178, 55, 255,
|
||
-91, 511, 328, 26, 27, 503, 375, 329, 330, 273,
|
||
92, 84, 26, 27, 552, -1, 92, 36, 97, 184,
|
||
131, 175, 426, 92, 191, 427, 26, 27, 84, 570,
|
||
411, 176, 407, 26, 27, 543, -2, 408, 199, 112,
|
||
247, 93, 94, 88, 173, 553, 409, 93, 94, 216,
|
||
42, 134, 36, 134, 556, 314, 136, -168, 489, 561,
|
||
571, 307, 504, 98, 428, 431, 436, 190, 567, 560,
|
||
-166, 437, 99, -91, 28, 424, 209, 190, 211, 36,
|
||
173, 219, 278, 190, 84, 255, 84, 246, 293, 212,
|
||
293, 213, 252, 578, 470, 589, 431, 30, 37, 281,
|
||
402, 513, 112, 280, 32, 286, 34, 38, 443, 89,
|
||
580, 519, 214, 90, 215, 423, 242, 243, 197, 24,
|
||
25, -18, -18, -18, -18, 322, 285, 35, 514, -18,
|
||
-18, -18, 248, 474, 318, 167, 388, 176, 475, 138,
|
||
303, 581, 506, 399, 92, -18, 423, 175, -139, 223,
|
||
224, 225, -139, 228, 229, 230, 231, 232, 233, 234,
|
||
235, 236, 237, 238, 239, 240, 241, 412, 36, 321,
|
||
324, 165, 175, 307, 529, 416, 307, 421, 51, 313,
|
||
166, 167, 36, 97, 54, 367, -139, 527, 112, 165,
|
||
-139, -18, 359, 5, 44, 7, 45, 362, 166, 167,
|
||
195, 9, 10, 11, 196, 320, 323, 56, 421, 93,
|
||
94, 200, 201, 587, 322, 287, 380, 13, 588, 177,
|
||
48, 279, 293, 318, 167, 389, 477, 91, 98, 117,
|
||
-26, -26, -26, -26, 124, 253, 254, 99, -26, -26,
|
||
-26, 139, 334, 163, 335, 308, 150, 151, 152, 153,
|
||
154, 155, 156, 92, -26, 36, 316, -139, 46, 353,
|
||
164, -139, 88, 202, 381, 389, 422, 90, 376, 185,
|
||
171, 378, -94, -94, -94, -94, 36, 97, -94, 463,
|
||
-94, -94, -94, 326, 93, 94, 401, 327, 404, 180,
|
||
369, 371, 205, 48, 191, -139, -94, 422, 463, -139,
|
||
-26, 317, 382, 176, 36, 206, 176, 210, 175, 353,
|
||
318, 167, 354, 185, 357, 405, -265, -265, -265, -265,
|
||
26, 27, 98, 413, -265, -265, -265, 414, 434, 219,
|
||
435, 99, 196, 118, 90, 217, 5, 218, 7, 81,
|
||
-265, 222, -94, 221, 9, 10, 11, 354, 92, 459,
|
||
37, 157, 158, 430, 159, 160, 161, 162, 59, 38,
|
||
13, 392, 354, 539, 269, 583, 541, 196, 459, 270,
|
||
90, 441, 276, 591, 289, 483, 154, 155, 156, 488,
|
||
199, 458, 463, 277, 430, 295, -90, 354, 200, 201,
|
||
410, 461, 296, 462, 297, 554, 298, 555, 93, 94,
|
||
458, 119, -206, 508, 299, 354, 354, 512, -212, -212,
|
||
253, 254, 490, 301, 516, 522, 521, 496, 498, 258,
|
||
48, 440, 5, 6, 7, 8, 360, 361, 260, 528,
|
||
9, 10, 11, 304, 532, 354, 306, 354, 536, 472,
|
||
270, 415, 524, 538, 127, 129, 13, 305, 310, 315,
|
||
325, 185, 459, -103, -103, -103, -103, -103, -103, -103,
|
||
336, -103, -103, -103, -103, -103, 339, -103, -103, -103,
|
||
-103, -103, -103, -103, -103, -103, -103, -103, -103, -103,
|
||
340, 342, -103, 354, 458, 343, -321, 345, 358, -103,
|
||
366, 368, -103, 372, 574, -30, 395, -103, -103, -103,
|
||
396, 406, -245, -103, -103, 108, 109, 110, -103, 432,
|
||
109, 110, 9, 10, 11, 354, 9, 10, 11, -103,
|
||
-103, -103, -103, 384, -103, -265, -265, -265, -265, -265,
|
||
-265, -265, 433, -265, -265, -265, -265, -265, 438, -265,
|
||
-265, -265, -265, -265, -265, -265, -265, -265, -265, -265,
|
||
-265, -265, 442, 473, -265, -31, 476, 5, 44, 7,
|
||
45, -265, 484, 478, -265, 9, 10, 11, 481, -265,
|
||
-265, -265, 482, 491, 493, -265, -265, 485, 486, 499,
|
||
-265, 13, 148, 149, 150, 151, 152, 153, 154, 155,
|
||
156, -265, 494, -265, -265, 185, -265, -265, -265, 495,
|
||
36, 316, -265, -265, 175, -265, 507, 509, 518, -265,
|
||
515, -265, -265, -265, -265, -265, -265, -265, -265, -265,
|
||
-265, -265, 370, -265, 517, 530, -265, 531, 533, 5,
|
||
44, 7, 45, -265, 534, 535, -265, 9, 10, 11,
|
||
537, -265, -265, -265, 546, 547, 317, -265, -265, 548,
|
||
551, 557, -265, 13, 558, 318, 167, 152, 153, 154,
|
||
155, 156, 562, -265, 420, -265, -265, 185, -265, -265,
|
||
-265, 566, 568, 569, -265, -265, 576, -265, 572, 593,
|
||
579, -265, 582, -265, -265, -265, -265, -265, -265, -265,
|
||
-265, -265, -265, -265, 497, -265, 585, 590, -265, 594,
|
||
274, 5, 6, 7, 8, -265, 23, 364, -265, 9,
|
||
10, 11, 245, -265, -265, -265, 107, 417, 120, -265,
|
||
-265, 256, 394, 398, -265, 13, 149, 150, 151, 152,
|
||
153, 154, 155, 156, 290, -265, -246, -265, -265, 500,
|
||
-265, -265, -265, 439, 294, 208, -265, -265, 288, -265,
|
||
379, 122, 418, -265, 544, -265, -265, -265, -265, -265,
|
||
-265, -265, -265, -265, -265, -265, 391, -265, 545, 575,
|
||
-265, 365, 577, 5, 6, 7, 8, -265, 0, 0,
|
||
-265, 9, 10, 11, 311, -265, -265, -265, 0, 0,
|
||
0, -265, -265, 0, 0, 0, -265, 13, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, -265, 0, -265,
|
||
-265, 525, -265, -274, -274, 0, 0, 0, -274, -274,
|
||
0, -274, 0, 0, 0, -274, 0, -274, -274, -274,
|
||
-274, -274, -274, -274, -274, -274, -274, -274, 5, -274,
|
||
7, 172, -274, 0, 0, 0, 9, 10, 11, -274,
|
||
0, 0, -274, 0, 0, 0, 0, -274, -274, -274,
|
||
0, 0, 13, -274, -274, 0, 0, 0, -274, 147,
|
||
148, 149, 150, 151, 152, 153, 154, 155, 156, -274,
|
||
0, -274, -274, 133, -274, 57, 5, 0, 7, 81,
|
||
58, 59, 0, 60, 9, 10, 11, 0, 0, 0,
|
||
0, 0, 0, -214, -214, 0, 0, 0, 0, 0,
|
||
13, 61, 0, 0, 62, 0, 0, 0, 0, 0,
|
||
0, 63, 0, 0, 64, 0, 0, 0, 0, 65,
|
||
66, 67, 0, 0, 0, 68, 69, 0, 0, 349,
|
||
70, 350, 27, 0, 0, 0, 58, 59, 0, 60,
|
||
0, 0, 0, 71, 72, 0, -80, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 61, 0, 0,
|
||
62, 0, 0, 0, 0, 0, 0, 63, 0, 0,
|
||
64, 0, 0, 0, 0, 65, 66, 67, 0, 0,
|
||
0, 68, 69, 0, 0, 0, 70, 351, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 393, 71,
|
||
72, 349, 352, 350, 27, 0, 0, 0, 58, 59,
|
||
258, 60, 259, 5, 6, 7, 8, 0, 0, 260,
|
||
0, 9, 10, 11, 0, 0, 0, 0, 0, 61,
|
||
0, 0, 62, 0, 0, 0, 0, 13, 0, 63,
|
||
0, 0, 64, 0, 0, 0, 0, 65, 66, 67,
|
||
0, 0, 0, 68, 69, 0, 0, 0, 70, 429,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
-203, 71, 72, 349, 352, 350, 27, -321, 0, 0,
|
||
58, 59, 5, 60, 7, 172, 0, 0, 0, 0,
|
||
9, 10, 11, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 61, 0, 0, 62, 0, 13, 0, 0, 0,
|
||
0, 63, 0, 0, 64, 0, 0, 0, 0, 65,
|
||
66, 67, 0, 0, 0, 68, 69, 165, 0, 0,
|
||
70, 429, 0, 0, 0, 0, 166, 167, 0, 0,
|
||
0, 0, 471, 71, 72, 349, 352, 350, 27, 0,
|
||
0, 0, 58, 59, 142, 60, 143, 144, 145, 146,
|
||
147, 148, 149, 150, 151, 152, 153, 154, 155, 156,
|
||
0, 0, 0, 61, 0, 0, 62, 0, 0, 0,
|
||
0, 0, 0, 63, 0, 0, 64, 0, 0, 0,
|
||
0, 65, 66, 67, 0, 0, 0, 68, 69, 349,
|
||
0, 57, 70, 351, 0, 0, 58, 59, 203, 60,
|
||
0, -22, -22, -22, -22, 71, 72, 0, 352, -22,
|
||
-22, -22, 0, 0, 0, 0, 0, 61, 0, 0,
|
||
62, 0, 0, 0, 92, -22, 0, 63, -139, 0,
|
||
64, 0, -139, 0, 0, 65, 66, 67, 0, 57,
|
||
0, 68, 69, 0, 58, 59, 70, 60, 0, 0,
|
||
0, 0, 0, 0, 0, 93, 94, 0, 0, 71,
|
||
72, 0, 352, 0, 0, 61, -139, 0, 62, 0,
|
||
-139, -22, 0, 0, 57, 63, 0, 0, 64, 58,
|
||
59, 0, 60, 65, 66, 67, 0, 0, 0, 68,
|
||
69, 0, 0, 0, 70, 0, 0, 0, 0, 0,
|
||
61, 0, 0, 62, 0, 0, 0, 71, 72, 57,
|
||
63, 183, 0, 64, 58, 59, 0, 60, 65, 66,
|
||
67, 0, 0, 0, 68, 69, 0, 0, 0, 70,
|
||
0, 0, 0, 0, 0, 61, 0, 0, 62, 0,
|
||
0, 0, 71, 72, 57, 63, 251, 0, 64, 58,
|
||
59, 0, 60, 65, 66, 67, 0, 0, 0, 68,
|
||
69, 0, 0, 0, 70, 0, 0, 0, 0, 0,
|
||
61, 0, 0, 62, 0, 0, 0, 71, 72, 57,
|
||
63, 284, 0, 64, 58, 59, 0, 60, 65, 66,
|
||
67, 0, 0, 0, 68, 69, 0, 0, 0, 70,
|
||
0, 0, 0, 0, 0, 61, 0, 0, 62, 0,
|
||
0, 0, 71, 72, 0, 63, 312, 0, 64, 0,
|
||
0, 0, 0, 65, 66, 67, 0, 0, 0, 68,
|
||
69, 0, 0, 0, 70, 145, 146, 147, 148, 149,
|
||
150, 151, 152, 153, 154, 155, 156, 71, 72, 0,
|
||
0, 400, 350, 444, 6, 7, 8, 58, 59, 0,
|
||
60, 9, 10, 11, 445, 0, 446, 447, 448, 449,
|
||
450, 451, 452, 453, 454, 455, 456, 13, 61, 0,
|
||
0, 62, 0, 0, 0, 0, 0, 0, 63, 0,
|
||
0, 64, 0, 0, 0, 0, 65, 66, 67, 0,
|
||
0, 0, 68, 69, 0, 0, 0, 70, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 457, 0,
|
||
71, 72, 0, 219, 350, 27, 0, 0, 0, 58,
|
||
59, 0, 60, 0, 0, 0, 445, 0, 446, 447,
|
||
448, 449, 450, 451, 452, 453, 454, 455, 456, 0,
|
||
61, 0, 0, 62, 0, 0, 0, 0, 0, 0,
|
||
63, 0, 0, 64, 0, 0, 0, 0, 65, 66,
|
||
67, 0, 57, 0, 68, 69, 0, 58, 59, 70,
|
||
60, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
457, 0, 71, 72, 0, 219, 0, 0, 61, 0,
|
||
0, 62, 0, 0, 0, 0, 0, 0, 63, 0,
|
||
0, 64, 0, 0, 0, 0, 65, 66, 67, 0,
|
||
0, 0, 68, 69, 0, 57, 5, 70, 7, 81,
|
||
58, 59, 0, 60, 9, 10, 11, 0, 0, 0,
|
||
71, 72, 0, 302, 0, 0, 0, 0, 0, 0,
|
||
13, 61, 57, 0, 62, 0, 0, 58, 59, 0,
|
||
60, 63, 0, 0, 64, 0, 0, 0, 0, 65,
|
||
66, 67, 0, 0, 0, 68, 69, 0, 61, 0,
|
||
70, 62, 0, 0, 0, 0, 0, 0, 63, 0,
|
||
0, 64, 0, 71, 72, 0, 65, 66, 67, 0,
|
||
57, 0, 68, 69, 0, 58, 59, 70, 60, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 487, 0,
|
||
71, 72, 0, 0, 0, 0, 61, 57, 0, 62,
|
||
0, 0, 58, 59, 0, 60, 63, 0, 0, 64,
|
||
0, 0, 0, 0, 65, 66, 67, 0, 0, 0,
|
||
68, 69, 0, 61, 57, 70, 62, 0, 0, 58,
|
||
59, 0, 60, 63, 0, 0, 64, 0, 71, 72,
|
||
0, 65, 66, 67, 0, 0, 0, 68, 69, 0,
|
||
61, 0, 126, 62, 0, 0, 0, 0, 0, 0,
|
||
63, 0, 0, 64, 0, 71, 72, 0, 65, 66,
|
||
67, 0, 0, 0, 68, 69, 0, 0, 4, 128,
|
||
-107, 5, 6, 7, 8, 0, 0, 0, 0, 9,
|
||
10, 11, 71, 72, 0, 0, 0, 36, 5, 44,
|
||
7, 45, 0, 0, 12, 13, 9, 10, 11, 144,
|
||
145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
|
||
155, 156, 13, 0, 0, 0, -107, 0, 0, 0,
|
||
0, 0, 0, 0, 0, -107, 0, 0, 0, 0,
|
||
0, 0, 0, 322, 0, 0, 14, 0, 0, 0,
|
||
0, 0, 318, 167, 140, 141, 142, 0, 143, 144,
|
||
145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
|
||
155, 156, 140, 141, 142, 0, 143, 144, 145, 146,
|
||
147, 148, 149, 150, 151, 152, 153, 154, 155, 156,
|
||
0, 0, 0, 0, 0, 425, 146, 147, 148, 149,
|
||
150, 151, 152, 153, 154, 155, 156, 191, 0, 0,
|
||
140, 141, 142, 505, 143, 144, 145, 146, 147, 148,
|
||
149, 150, 151, 152, 153, 154, 155, 156, 140, 141,
|
||
142, 0, 143, 144, 145, 146, 147, 148, 149, 150,
|
||
151, 152, 153, 154, 155, 156
|
||
};
|
||
|
||
static const short yycheck[] = { 34,
|
||
35, 102, 18, 43, 47, 180, 9, 10, 11, 2,
|
||
3, 2, 3, 98, 95, 19, 20, 187, 20, 293,
|
||
166, 49, 38, 200, 369, 199, 67, 250, 99, 480,
|
||
135, 47, 73, 35, 86, 70, 9, 90, 32, 170,
|
||
1, 481, 68, 3, 4, 1, 337, 73, 1, 10,
|
||
27, 53, 3, 4, 37, 0, 27, 3, 4, 94,
|
||
63, 7, 70, 27, 31, 73, 3, 4, 70, 37,
|
||
37, 87, 68, 3, 4, 526, 0, 73, 179, 107,
|
||
165, 58, 59, 99, 86, 68, 377, 58, 59, 130,
|
||
69, 126, 3, 128, 545, 68, 70, 74, 49, 550,
|
||
68, 247, 58, 49, 395, 396, 3, 188, 559, 549,
|
||
74, 8, 58, 74, 74, 389, 120, 198, 122, 3,
|
||
122, 74, 193, 204, 126, 256, 128, 162, 209, 123,
|
||
211, 125, 167, 573, 425, 586, 427, 74, 49, 198,
|
||
363, 10, 170, 196, 74, 204, 58, 58, 422, 69,
|
||
37, 496, 126, 73, 128, 387, 159, 160, 1, 69,
|
||
70, 4, 5, 6, 7, 49, 201, 58, 37, 12,
|
||
13, 14, 318, 68, 58, 59, 346, 193, 73, 68,
|
||
221, 68, 473, 360, 27, 28, 418, 7, 31, 139,
|
||
140, 141, 35, 143, 144, 145, 146, 147, 148, 149,
|
||
150, 151, 152, 153, 154, 155, 156, 381, 3, 261,
|
||
262, 49, 7, 359, 505, 385, 362, 387, 74, 254,
|
||
58, 59, 3, 4, 74, 330, 69, 501, 256, 49,
|
||
73, 74, 317, 4, 5, 6, 7, 322, 58, 59,
|
||
69, 12, 13, 14, 73, 261, 262, 74, 418, 58,
|
||
59, 58, 59, 68, 49, 205, 37, 28, 73, 68,
|
||
262, 68, 343, 58, 59, 346, 440, 1, 49, 70,
|
||
4, 5, 6, 7, 70, 58, 59, 58, 12, 13,
|
||
14, 73, 275, 9, 275, 68, 45, 46, 47, 48,
|
||
49, 50, 51, 27, 28, 3, 4, 31, 69, 302,
|
||
68, 35, 318, 69, 344, 386, 387, 73, 338, 1,
|
||
68, 341, 4, 5, 6, 7, 3, 4, 10, 424,
|
||
12, 13, 14, 69, 58, 59, 361, 73, 371, 58,
|
||
334, 335, 35, 335, 31, 69, 28, 418, 443, 73,
|
||
74, 49, 345, 359, 3, 73, 362, 69, 7, 352,
|
||
58, 59, 302, 1, 304, 371, 4, 5, 6, 7,
|
||
3, 4, 49, 69, 12, 13, 14, 73, 69, 74,
|
||
69, 58, 73, 1, 73, 68, 4, 68, 6, 7,
|
||
28, 69, 74, 68, 12, 13, 14, 337, 27, 424,
|
||
49, 53, 54, 396, 56, 57, 58, 59, 9, 58,
|
||
28, 351, 352, 69, 75, 580, 69, 73, 443, 69,
|
||
73, 414, 58, 588, 70, 450, 49, 50, 51, 454,
|
||
521, 424, 527, 35, 427, 70, 74, 377, 58, 59,
|
||
380, 424, 70, 424, 68, 540, 68, 542, 58, 59,
|
||
443, 69, 70, 478, 70, 395, 396, 482, 69, 70,
|
||
58, 59, 455, 68, 489, 498, 496, 461, 462, 1,
|
||
462, 411, 4, 5, 6, 7, 58, 59, 10, 504,
|
||
12, 13, 14, 37, 509, 425, 75, 427, 513, 429,
|
||
69, 70, 498, 518, 60, 61, 28, 68, 75, 68,
|
||
68, 1, 527, 3, 4, 5, 6, 7, 8, 9,
|
||
58, 11, 12, 13, 14, 15, 35, 17, 18, 19,
|
||
20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
|
||
75, 70, 32, 473, 527, 73, 68, 33, 75, 39,
|
||
3, 69, 42, 3, 569, 37, 37, 47, 48, 49,
|
||
73, 58, 70, 53, 54, 5, 6, 7, 58, 70,
|
||
6, 7, 12, 13, 14, 505, 12, 13, 14, 69,
|
||
70, 71, 72, 1, 74, 3, 4, 5, 6, 7,
|
||
8, 9, 75, 11, 12, 13, 14, 15, 68, 17,
|
||
18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
|
||
28, 29, 70, 37, 32, 37, 68, 4, 5, 6,
|
||
7, 39, 37, 58, 42, 12, 13, 14, 58, 47,
|
||
48, 49, 58, 7, 37, 53, 54, 69, 69, 16,
|
||
58, 28, 43, 44, 45, 46, 47, 48, 49, 50,
|
||
51, 69, 69, 71, 72, 1, 74, 3, 4, 69,
|
||
3, 4, 8, 9, 7, 11, 8, 58, 58, 15,
|
||
69, 17, 18, 19, 20, 21, 22, 23, 24, 25,
|
||
26, 27, 69, 29, 69, 73, 32, 68, 17, 4,
|
||
5, 6, 7, 39, 69, 68, 42, 12, 13, 14,
|
||
69, 47, 48, 49, 68, 8, 49, 53, 54, 68,
|
||
37, 69, 58, 28, 68, 58, 59, 47, 48, 49,
|
||
50, 51, 9, 69, 70, 71, 72, 1, 74, 3,
|
||
4, 69, 69, 58, 8, 9, 69, 11, 73, 0,
|
||
68, 15, 68, 17, 18, 19, 20, 21, 22, 23,
|
||
24, 25, 26, 27, 69, 29, 69, 69, 32, 0,
|
||
188, 4, 5, 6, 7, 39, 3, 10, 42, 12,
|
||
13, 14, 161, 47, 48, 49, 48, 386, 53, 53,
|
||
54, 173, 352, 359, 58, 28, 44, 45, 46, 47,
|
||
48, 49, 50, 51, 208, 69, 70, 71, 72, 1,
|
||
74, 3, 4, 408, 211, 116, 8, 9, 206, 11,
|
||
343, 53, 386, 15, 527, 17, 18, 19, 20, 21,
|
||
22, 23, 24, 25, 26, 27, 347, 29, 527, 570,
|
||
32, 327, 572, 4, 5, 6, 7, 39, -1, -1,
|
||
42, 12, 13, 14, 253, 47, 48, 49, -1, -1,
|
||
-1, 53, 54, -1, -1, -1, 58, 28, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, 69, -1, 71,
|
||
72, 1, 74, 3, 4, -1, -1, -1, 8, 9,
|
||
-1, 11, -1, -1, -1, 15, -1, 17, 18, 19,
|
||
20, 21, 22, 23, 24, 25, 26, 27, 4, 29,
|
||
6, 7, 32, -1, -1, -1, 12, 13, 14, 39,
|
||
-1, -1, 42, -1, -1, -1, -1, 47, 48, 49,
|
||
-1, -1, 28, 53, 54, -1, -1, -1, 58, 42,
|
||
43, 44, 45, 46, 47, 48, 49, 50, 51, 69,
|
||
-1, 71, 72, 1, 74, 3, 4, -1, 6, 7,
|
||
8, 9, -1, 11, 12, 13, 14, -1, -1, -1,
|
||
-1, -1, -1, 69, 70, -1, -1, -1, -1, -1,
|
||
28, 29, -1, -1, 32, -1, -1, -1, -1, -1,
|
||
-1, 39, -1, -1, 42, -1, -1, -1, -1, 47,
|
||
48, 49, -1, -1, -1, 53, 54, -1, -1, 1,
|
||
58, 3, 4, -1, -1, -1, 8, 9, -1, 11,
|
||
-1, -1, -1, 71, 72, -1, 74, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, 29, -1, -1,
|
||
32, -1, -1, -1, -1, -1, -1, 39, -1, -1,
|
||
42, -1, -1, -1, -1, 47, 48, 49, -1, -1,
|
||
-1, 53, 54, -1, -1, -1, 58, 59, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, 70, 71,
|
||
72, 1, 74, 3, 4, -1, -1, -1, 8, 9,
|
||
1, 11, 3, 4, 5, 6, 7, -1, -1, 10,
|
||
-1, 12, 13, 14, -1, -1, -1, -1, -1, 29,
|
||
-1, -1, 32, -1, -1, -1, -1, 28, -1, 39,
|
||
-1, -1, 42, -1, -1, -1, -1, 47, 48, 49,
|
||
-1, -1, -1, 53, 54, -1, -1, -1, 58, 59,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
70, 71, 72, 1, 74, 3, 4, 68, -1, -1,
|
||
8, 9, 4, 11, 6, 7, -1, -1, -1, -1,
|
||
12, 13, 14, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, 29, -1, -1, 32, -1, 28, -1, -1, -1,
|
||
-1, 39, -1, -1, 42, -1, -1, -1, -1, 47,
|
||
48, 49, -1, -1, -1, 53, 54, 49, -1, -1,
|
||
58, 59, -1, -1, -1, -1, 58, 59, -1, -1,
|
||
-1, -1, 70, 71, 72, 1, 74, 3, 4, -1,
|
||
-1, -1, 8, 9, 36, 11, 38, 39, 40, 41,
|
||
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
||
-1, -1, -1, 29, -1, -1, 32, -1, -1, -1,
|
||
-1, -1, -1, 39, -1, -1, 42, -1, -1, -1,
|
||
-1, 47, 48, 49, -1, -1, -1, 53, 54, 1,
|
||
-1, 3, 58, 59, -1, -1, 8, 9, 1, 11,
|
||
-1, 4, 5, 6, 7, 71, 72, -1, 74, 12,
|
||
13, 14, -1, -1, -1, -1, -1, 29, -1, -1,
|
||
32, -1, -1, -1, 27, 28, -1, 39, 31, -1,
|
||
42, -1, 35, -1, -1, 47, 48, 49, -1, 3,
|
||
-1, 53, 54, -1, 8, 9, 58, 11, -1, -1,
|
||
-1, -1, -1, -1, -1, 58, 59, -1, -1, 71,
|
||
72, -1, 74, -1, -1, 29, 69, -1, 32, -1,
|
||
73, 74, -1, -1, 3, 39, -1, -1, 42, 8,
|
||
9, -1, 11, 47, 48, 49, -1, -1, -1, 53,
|
||
54, -1, -1, -1, 58, -1, -1, -1, -1, -1,
|
||
29, -1, -1, 32, -1, -1, -1, 71, 72, 3,
|
||
39, 75, -1, 42, 8, 9, -1, 11, 47, 48,
|
||
49, -1, -1, -1, 53, 54, -1, -1, -1, 58,
|
||
-1, -1, -1, -1, -1, 29, -1, -1, 32, -1,
|
||
-1, -1, 71, 72, 3, 39, 75, -1, 42, 8,
|
||
9, -1, 11, 47, 48, 49, -1, -1, -1, 53,
|
||
54, -1, -1, -1, 58, -1, -1, -1, -1, -1,
|
||
29, -1, -1, 32, -1, -1, -1, 71, 72, 3,
|
||
39, 75, -1, 42, 8, 9, -1, 11, 47, 48,
|
||
49, -1, -1, -1, 53, 54, -1, -1, -1, 58,
|
||
-1, -1, -1, -1, -1, 29, -1, -1, 32, -1,
|
||
-1, -1, 71, 72, -1, 39, 75, -1, 42, -1,
|
||
-1, -1, -1, 47, 48, 49, -1, -1, -1, 53,
|
||
54, -1, -1, -1, 58, 40, 41, 42, 43, 44,
|
||
45, 46, 47, 48, 49, 50, 51, 71, 72, -1,
|
||
-1, 75, 3, 4, 5, 6, 7, 8, 9, -1,
|
||
11, 12, 13, 14, 15, -1, 17, 18, 19, 20,
|
||
21, 22, 23, 24, 25, 26, 27, 28, 29, -1,
|
||
-1, 32, -1, -1, -1, -1, -1, -1, 39, -1,
|
||
-1, 42, -1, -1, -1, -1, 47, 48, 49, -1,
|
||
-1, -1, 53, 54, -1, -1, -1, 58, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, 69, -1,
|
||
71, 72, -1, 74, 3, 4, -1, -1, -1, 8,
|
||
9, -1, 11, -1, -1, -1, 15, -1, 17, 18,
|
||
19, 20, 21, 22, 23, 24, 25, 26, 27, -1,
|
||
29, -1, -1, 32, -1, -1, -1, -1, -1, -1,
|
||
39, -1, -1, 42, -1, -1, -1, -1, 47, 48,
|
||
49, -1, 3, -1, 53, 54, -1, 8, 9, 58,
|
||
11, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
69, -1, 71, 72, -1, 74, -1, -1, 29, -1,
|
||
-1, 32, -1, -1, -1, -1, -1, -1, 39, -1,
|
||
-1, 42, -1, -1, -1, -1, 47, 48, 49, -1,
|
||
-1, -1, 53, 54, -1, 3, 4, 58, 6, 7,
|
||
8, 9, -1, 11, 12, 13, 14, -1, -1, -1,
|
||
71, 72, -1, 74, -1, -1, -1, -1, -1, -1,
|
||
28, 29, 3, -1, 32, -1, -1, 8, 9, -1,
|
||
11, 39, -1, -1, 42, -1, -1, -1, -1, 47,
|
||
48, 49, -1, -1, -1, 53, 54, -1, 29, -1,
|
||
58, 32, -1, -1, -1, -1, -1, -1, 39, -1,
|
||
-1, 42, -1, 71, 72, -1, 47, 48, 49, -1,
|
||
3, -1, 53, 54, -1, 8, 9, 58, 11, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, 69, -1,
|
||
71, 72, -1, -1, -1, -1, 29, 3, -1, 32,
|
||
-1, -1, 8, 9, -1, 11, 39, -1, -1, 42,
|
||
-1, -1, -1, -1, 47, 48, 49, -1, -1, -1,
|
||
53, 54, -1, 29, 3, 58, 32, -1, -1, 8,
|
||
9, -1, 11, 39, -1, -1, 42, -1, 71, 72,
|
||
-1, 47, 48, 49, -1, -1, -1, 53, 54, -1,
|
||
29, -1, 58, 32, -1, -1, -1, -1, -1, -1,
|
||
39, -1, -1, 42, -1, 71, 72, -1, 47, 48,
|
||
49, -1, -1, -1, 53, 54, -1, -1, 1, 58,
|
||
3, 4, 5, 6, 7, -1, -1, -1, -1, 12,
|
||
13, 14, 71, 72, -1, -1, -1, 3, 4, 5,
|
||
6, 7, -1, -1, 27, 28, 12, 13, 14, 39,
|
||
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
|
||
50, 51, 28, -1, -1, -1, 49, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, 58, -1, -1, -1, -1,
|
||
-1, -1, -1, 49, -1, -1, 69, -1, -1, -1,
|
||
-1, -1, 58, 59, 34, 35, 36, -1, 38, 39,
|
||
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
|
||
50, 51, 34, 35, 36, -1, 38, 39, 40, 41,
|
||
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
||
-1, -1, -1, -1, -1, 75, 41, 42, 43, 44,
|
||
45, 46, 47, 48, 49, 50, 51, 31, -1, -1,
|
||
34, 35, 36, 75, 38, 39, 40, 41, 42, 43,
|
||
44, 45, 46, 47, 48, 49, 50, 51, 34, 35,
|
||
36, -1, 38, 39, 40, 41, 42, 43, 44, 45,
|
||
46, 47, 48, 49, 50, 51
|
||
};
|
||
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
|
||
#line 3 "bison.simple"
|
||
|
||
/* Skeleton output parser for bison,
|
||
Copyright (C) 1984, 1989, 1990 Bob Corbett and Richard Stallman
|
||
|
||
This program is free software; you can redistribute it and/or modify
|
||
it under the terms of the GNU General Public License as published by
|
||
the Free Software Foundation; either version 1, or (at your option)
|
||
any later version.
|
||
|
||
This program is distributed in the hope that it will be useful,
|
||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
GNU General Public License for more details.
|
||
|
||
You should have received a copy of the GNU General Public License
|
||
along with this program; if not, write to the Free Software
|
||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||
|
||
|
||
#ifndef alloca
|
||
#ifdef __GNUC__
|
||
#define alloca __builtin_alloca
|
||
#else /* not GNU C. */
|
||
#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__)
|
||
#include <alloca.h>
|
||
#else /* not sparc */
|
||
#if defined (MSDOS) && !defined (__TURBOC__)
|
||
#include <malloc.h>
|
||
#else /* not MSDOS, or __TURBOC__ */
|
||
#if defined(_AIX)
|
||
#include <malloc.h>
|
||
#pragma alloca
|
||
#endif /* not _AIX */
|
||
#endif /* not MSDOS, or __TURBOC__ */
|
||
#endif /* not sparc. */
|
||
#endif /* not GNU C. */
|
||
#endif /* alloca not defined. */
|
||
|
||
/* This is the parser code that is written into each bison parser
|
||
when the %semantic_parser declaration is not specified in the grammar.
|
||
It was written by Richard Stallman by simplifying the hairy parser
|
||
used when %semantic_parser is specified. */
|
||
|
||
/* Note: there must be only one dollar sign in this file.
|
||
It is replaced by the list of actions, each action
|
||
as one case of the switch. */
|
||
|
||
#define yyerrok (yyerrstatus = 0)
|
||
#define yyclearin (yychar = YYEMPTY)
|
||
#define YYEMPTY -2
|
||
#define YYEOF 0
|
||
#define YYACCEPT return(0)
|
||
#define YYABORT return(1)
|
||
#define YYERROR goto yyerrlab1
|
||
/* Like YYERROR except do call yyerror.
|
||
This remains here temporarily to ease the
|
||
transition to the new meaning of YYERROR, for GCC.
|
||
Once GCC version 2 has supplanted version 1, this can go. */
|
||
#define YYFAIL goto yyerrlab
|
||
#define YYRECOVERING() (!!yyerrstatus)
|
||
#define YYBACKUP(token, value) \
|
||
do \
|
||
if (yychar == YYEMPTY && yylen == 1) \
|
||
{ yychar = (token), yylval = (value); \
|
||
yychar1 = YYTRANSLATE (yychar); \
|
||
YYPOPSTACK; \
|
||
goto yybackup; \
|
||
} \
|
||
else \
|
||
{ yyerror ("syntax error: cannot back up"); YYERROR; } \
|
||
while (0)
|
||
|
||
#define YYTERROR 1
|
||
#define YYERRCODE 256
|
||
|
||
#ifndef YYPURE
|
||
#define YYLEX yylex()
|
||
#endif
|
||
|
||
#ifdef YYPURE
|
||
#ifdef YYLSP_NEEDED
|
||
#define YYLEX yylex(&yylval, &yylloc)
|
||
#else
|
||
#define YYLEX yylex(&yylval)
|
||
#endif
|
||
#endif
|
||
|
||
/* If nonreentrant, generate the variables here */
|
||
|
||
#ifndef YYPURE
|
||
|
||
int yychar; /* the lookahead symbol */
|
||
YYSTYPE yylval; /* the semantic value of the */
|
||
/* lookahead symbol */
|
||
|
||
#ifdef YYLSP_NEEDED
|
||
YYLTYPE yylloc; /* location data for the lookahead */
|
||
/* symbol */
|
||
#endif
|
||
|
||
int yynerrs; /* number of parse errors so far */
|
||
#endif /* not YYPURE */
|
||
|
||
#if YYDEBUG != 0
|
||
int yydebug; /* nonzero means print parse trace */
|
||
/* Since this is uninitialized, it does not stop multiple parsers
|
||
from coexisting. */
|
||
#endif
|
||
|
||
/* YYINITDEPTH indicates the initial size of the parser's stacks */
|
||
|
||
#ifndef YYINITDEPTH
|
||
#define YYINITDEPTH 200
|
||
#endif
|
||
|
||
/* YYMAXDEPTH is the maximum size the stacks can grow to
|
||
(effective only if the built-in stack extension method is used). */
|
||
|
||
#if YYMAXDEPTH == 0
|
||
#undef YYMAXDEPTH
|
||
#endif
|
||
|
||
#ifndef YYMAXDEPTH
|
||
#define YYMAXDEPTH 10000
|
||
#endif
|
||
|
||
#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
|
||
#define __yy_bcopy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT)
|
||
#else /* not GNU C or C++ */
|
||
#ifndef __cplusplus
|
||
|
||
/* This is the most reliable way to avoid incompatibilities
|
||
in available built-in functions on various systems. */
|
||
static void
|
||
__yy_bcopy (from, to, count)
|
||
char *from;
|
||
char *to;
|
||
int count;
|
||
{
|
||
register char *f = from;
|
||
register char *t = to;
|
||
register int i = count;
|
||
|
||
while (i-- > 0)
|
||
*t++ = *f++;
|
||
}
|
||
|
||
#else /* __cplusplus */
|
||
|
||
/* This is the most reliable way to avoid incompatibilities
|
||
in available built-in functions on various systems. */
|
||
static void
|
||
__yy_bcopy (char *from, char *to, int count)
|
||
{
|
||
register char *f = from;
|
||
register char *t = to;
|
||
register int i = count;
|
||
|
||
while (i-- > 0)
|
||
*t++ = *f++;
|
||
}
|
||
|
||
#endif
|
||
#endif
|
||
|
||
#line 169 "bison.simple"
|
||
int
|
||
yyparse()
|
||
{
|
||
register int yystate;
|
||
register int yyn;
|
||
register short *yyssp;
|
||
register YYSTYPE *yyvsp;
|
||
int yyerrstatus; /* number of tokens to shift before error messages enabled */
|
||
int yychar1; /* lookahead token as an internal (translated) token number */
|
||
|
||
short yyssa[YYINITDEPTH]; /* the state stack */
|
||
YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */
|
||
|
||
short *yyss = yyssa; /* refer to the stacks thru separate pointers */
|
||
YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */
|
||
|
||
#ifdef YYLSP_NEEDED
|
||
YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */
|
||
YYLTYPE *yyls = yylsa;
|
||
YYLTYPE *yylsp;
|
||
|
||
#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
|
||
#else
|
||
#define YYPOPSTACK (yyvsp--, yyssp--)
|
||
#endif
|
||
|
||
int yystacksize = YYINITDEPTH;
|
||
|
||
#ifdef YYPURE
|
||
int yychar;
|
||
YYSTYPE yylval;
|
||
int yynerrs;
|
||
#ifdef YYLSP_NEEDED
|
||
YYLTYPE yylloc;
|
||
#endif
|
||
#endif
|
||
|
||
YYSTYPE yyval; /* the variable used to return */
|
||
/* semantic values from the action */
|
||
/* routines */
|
||
|
||
int yylen;
|
||
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
fprintf(stderr, "Starting parse\n");
|
||
#endif
|
||
|
||
yystate = 0;
|
||
yyerrstatus = 0;
|
||
yynerrs = 0;
|
||
yychar = YYEMPTY; /* Cause a token to be read. */
|
||
|
||
/* Initialize stack pointers.
|
||
Waste one element of value and location stack
|
||
so that they stay on the same level as the state stack. */
|
||
|
||
yyssp = yyss - 1;
|
||
yyvsp = yyvs;
|
||
#ifdef YYLSP_NEEDED
|
||
yylsp = yyls;
|
||
#endif
|
||
|
||
/* Push a new state, which is found in yystate . */
|
||
/* In all cases, when you get here, the value and location stacks
|
||
have just been pushed. so pushing a state here evens the stacks. */
|
||
yynewstate:
|
||
|
||
*++yyssp = yystate;
|
||
|
||
if (yyssp >= yyss + yystacksize - 1)
|
||
{
|
||
/* Give user a chance to reallocate the stack */
|
||
/* Use copies of these so that the &'s don't force the real ones into memory. */
|
||
YYSTYPE *yyvs1 = yyvs;
|
||
short *yyss1 = yyss;
|
||
#ifdef YYLSP_NEEDED
|
||
YYLTYPE *yyls1 = yyls;
|
||
#endif
|
||
|
||
/* Get the current used size of the three stacks, in elements. */
|
||
int size = yyssp - yyss + 1;
|
||
|
||
#ifdef yyoverflow
|
||
/* Each stack pointer address is followed by the size of
|
||
the data in use in that stack, in bytes. */
|
||
yyoverflow("parser stack overflow",
|
||
&yyss1, size * sizeof (*yyssp),
|
||
&yyvs1, size * sizeof (*yyvsp),
|
||
#ifdef YYLSP_NEEDED
|
||
&yyls1, size * sizeof (*yylsp),
|
||
#endif
|
||
&yystacksize);
|
||
|
||
yyss = yyss1; yyvs = yyvs1;
|
||
#ifdef YYLSP_NEEDED
|
||
yyls = yyls1;
|
||
#endif
|
||
#else /* no yyoverflow */
|
||
/* Extend the stack our own way. */
|
||
if (yystacksize >= YYMAXDEPTH)
|
||
{
|
||
yyerror("parser stack overflow");
|
||
return 2;
|
||
}
|
||
yystacksize *= 2;
|
||
if (yystacksize > YYMAXDEPTH)
|
||
yystacksize = YYMAXDEPTH;
|
||
yyss = (short *) alloca (yystacksize * sizeof (*yyssp));
|
||
__yy_bcopy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp));
|
||
yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp));
|
||
__yy_bcopy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp));
|
||
#ifdef YYLSP_NEEDED
|
||
yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp));
|
||
__yy_bcopy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp));
|
||
#endif
|
||
#endif /* no yyoverflow */
|
||
|
||
yyssp = yyss + size - 1;
|
||
yyvsp = yyvs + size - 1;
|
||
#ifdef YYLSP_NEEDED
|
||
yylsp = yyls + size - 1;
|
||
#endif
|
||
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
fprintf(stderr, "Stack size increased to %d\n", yystacksize);
|
||
#endif
|
||
|
||
if (yyssp >= yyss + yystacksize - 1)
|
||
YYABORT;
|
||
}
|
||
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
fprintf(stderr, "Entering state %d\n", yystate);
|
||
#endif
|
||
|
||
yybackup:
|
||
|
||
/* Do appropriate processing given the current state. */
|
||
/* Read a lookahead token if we need one and don't already have one. */
|
||
/* yyresume: */
|
||
|
||
/* First try to decide what to do without reference to lookahead token. */
|
||
|
||
yyn = yypact[yystate];
|
||
if (yyn == YYFLAG)
|
||
goto yydefault;
|
||
|
||
/* Not known => get a lookahead token if don't already have one. */
|
||
|
||
/* yychar is either YYEMPTY or YYEOF
|
||
or a valid token in external form. */
|
||
|
||
if (yychar == YYEMPTY)
|
||
{
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
fprintf(stderr, "Reading a token: ");
|
||
#endif
|
||
yychar = YYLEX;
|
||
}
|
||
|
||
/* Convert token to internal form (in yychar1) for indexing tables with */
|
||
|
||
if (yychar <= 0) /* This means end of input. */
|
||
{
|
||
yychar1 = 0;
|
||
yychar = YYEOF; /* Don't call YYLEX any more */
|
||
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
fprintf(stderr, "Now at end of input.\n");
|
||
#endif
|
||
}
|
||
else
|
||
{
|
||
yychar1 = YYTRANSLATE(yychar);
|
||
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
{
|
||
fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
|
||
/* Give the individual parser a way to print the precise meaning
|
||
of a token, for further debugging info. */
|
||
#ifdef YYPRINT
|
||
YYPRINT (stderr, yychar, yylval);
|
||
#endif
|
||
fprintf (stderr, ")\n");
|
||
}
|
||
#endif
|
||
}
|
||
|
||
yyn += yychar1;
|
||
if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
|
||
goto yydefault;
|
||
|
||
yyn = yytable[yyn];
|
||
|
||
/* yyn is what to do for this token type in this state.
|
||
Negative => reduce, -yyn is rule number.
|
||
Positive => shift, yyn is new state.
|
||
New state is final state => don't bother to shift,
|
||
just return success.
|
||
0, or most negative number => error. */
|
||
|
||
if (yyn < 0)
|
||
{
|
||
if (yyn == YYFLAG)
|
||
goto yyerrlab;
|
||
yyn = -yyn;
|
||
goto yyreduce;
|
||
}
|
||
else if (yyn == 0)
|
||
goto yyerrlab;
|
||
|
||
if (yyn == YYFINAL)
|
||
YYACCEPT;
|
||
|
||
/* Shift the lookahead token. */
|
||
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
|
||
#endif
|
||
|
||
/* Discard the token being shifted unless it is eof. */
|
||
if (yychar != YYEOF)
|
||
yychar = YYEMPTY;
|
||
|
||
*++yyvsp = yylval;
|
||
#ifdef YYLSP_NEEDED
|
||
*++yylsp = yylloc;
|
||
#endif
|
||
|
||
/* count tokens shifted since error; after three, turn off error status. */
|
||
if (yyerrstatus) yyerrstatus--;
|
||
|
||
yystate = yyn;
|
||
goto yynewstate;
|
||
|
||
/* Do the default action for the current state. */
|
||
yydefault:
|
||
|
||
yyn = yydefact[yystate];
|
||
if (yyn == 0)
|
||
goto yyerrlab;
|
||
|
||
/* Do a reduction. yyn is the number of a rule to reduce with. */
|
||
yyreduce:
|
||
yylen = yyr2[yyn];
|
||
yyval = yyvsp[1-yylen]; /* implement default value of the action */
|
||
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
{
|
||
int i;
|
||
|
||
fprintf (stderr, "Reducing via rule %d (line %d), ",
|
||
yyn, yyrline[yyn]);
|
||
|
||
/* Print the symboles being reduced, and their result. */
|
||
for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
|
||
fprintf (stderr, "%s ", yytname[yyrhs[i]]);
|
||
fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
|
||
}
|
||
#endif
|
||
|
||
|
||
switch (yyn) {
|
||
|
||
case 1:
|
||
#line 201 "c-parse.y"
|
||
{ if (pedantic)
|
||
pedwarn ("ANSI C forbids an empty source file"); ;
|
||
break;}
|
||
case 3:
|
||
#line 211 "c-parse.y"
|
||
{yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 5:
|
||
#line 212 "c-parse.y"
|
||
{yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 9:
|
||
#line 219 "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 230 "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"); ;
|
||
break;}
|
||
case 11:
|
||
#line 235 "c-parse.y"
|
||
{;
|
||
break;}
|
||
case 12:
|
||
#line 237 "c-parse.y"
|
||
{;
|
||
break;}
|
||
case 13:
|
||
#line 239 "c-parse.y"
|
||
{ error ("empty declaration"); ;
|
||
break;}
|
||
case 14:
|
||
#line 241 "c-parse.y"
|
||
{ shadow_tag (yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 17:
|
||
#line 245 "c-parse.y"
|
||
{ if (pedantic)
|
||
pedwarn ("ANSI C does not allow extra `;' outside of a function"); ;
|
||
break;}
|
||
case 18:
|
||
#line 251 "c-parse.y"
|
||
{ if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, 0))
|
||
YYERROR1;
|
||
reinit_parse_for_function (); ;
|
||
break;}
|
||
case 19:
|
||
#line 255 "c-parse.y"
|
||
{ store_parm_decls (); ;
|
||
break;}
|
||
case 20:
|
||
#line 257 "c-parse.y"
|
||
{ finish_function (0); ;
|
||
break;}
|
||
case 21:
|
||
#line 259 "c-parse.y"
|
||
{ ;
|
||
break;}
|
||
case 22:
|
||
#line 261 "c-parse.y"
|
||
{ if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, 0))
|
||
YYERROR1;
|
||
reinit_parse_for_function (); ;
|
||
break;}
|
||
case 23:
|
||
#line 265 "c-parse.y"
|
||
{ store_parm_decls (); ;
|
||
break;}
|
||
case 24:
|
||
#line 267 "c-parse.y"
|
||
{ finish_function (0); ;
|
||
break;}
|
||
case 25:
|
||
#line 269 "c-parse.y"
|
||
{ ;
|
||
break;}
|
||
case 26:
|
||
#line 271 "c-parse.y"
|
||
{ if (! start_function (0, yyvsp[0].ttype, 0))
|
||
YYERROR1;
|
||
reinit_parse_for_function (); ;
|
||
break;}
|
||
case 27:
|
||
#line 275 "c-parse.y"
|
||
{ store_parm_decls (); ;
|
||
break;}
|
||
case 28:
|
||
#line 277 "c-parse.y"
|
||
{ finish_function (0); ;
|
||
break;}
|
||
case 29:
|
||
#line 279 "c-parse.y"
|
||
{ ;
|
||
break;}
|
||
case 32:
|
||
#line 288 "c-parse.y"
|
||
{ yyval.code = ADDR_EXPR; ;
|
||
break;}
|
||
case 33:
|
||
#line 290 "c-parse.y"
|
||
{ yyval.code = NEGATE_EXPR; ;
|
||
break;}
|
||
case 34:
|
||
#line 292 "c-parse.y"
|
||
{ yyval.code = CONVERT_EXPR; ;
|
||
break;}
|
||
case 35:
|
||
#line 294 "c-parse.y"
|
||
{ yyval.code = PREINCREMENT_EXPR; ;
|
||
break;}
|
||
case 36:
|
||
#line 296 "c-parse.y"
|
||
{ yyval.code = PREDECREMENT_EXPR; ;
|
||
break;}
|
||
case 37:
|
||
#line 298 "c-parse.y"
|
||
{ yyval.code = BIT_NOT_EXPR; ;
|
||
break;}
|
||
case 38:
|
||
#line 300 "c-parse.y"
|
||
{ yyval.code = TRUTH_NOT_EXPR; ;
|
||
break;}
|
||
case 39:
|
||
#line 304 "c-parse.y"
|
||
{ yyval.ttype = build_compound_expr (yyvsp[0].ttype); ;
|
||
break;}
|
||
case 40:
|
||
#line 309 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 42:
|
||
#line 315 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 43:
|
||
#line 317 "c-parse.y"
|
||
{ chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
|
||
break;}
|
||
case 45:
|
||
#line 323 "c-parse.y"
|
||
{ yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ;
|
||
break;}
|
||
case 46:
|
||
#line 326 "c-parse.y"
|
||
{ yyvsp[0].itype = pedantic;
|
||
pedantic = 0; ;
|
||
break;}
|
||
case 47:
|
||
#line 329 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype;
|
||
pedantic = yyvsp[-2].itype; ;
|
||
break;}
|
||
case 48:
|
||
#line 332 "c-parse.y"
|
||
{ yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0); ;
|
||
break;}
|
||
case 49:
|
||
#line 335 "c-parse.y"
|
||
{ tree label = lookup_label (yyvsp[0].ttype);
|
||
TREE_USED (label) = 1;
|
||
yyval.ttype = build1 (ADDR_EXPR, ptr_type_node, label);
|
||
TREE_CONSTANT (yyval.ttype) = 1; ;
|
||
break;}
|
||
case 50:
|
||
#line 355 "c-parse.y"
|
||
{ if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF
|
||
&& DECL_BIT_FIELD (TREE_OPERAND (yyvsp[0].ttype, 1)))
|
||
error ("`sizeof' applied to a bit-field");
|
||
yyval.ttype = c_sizeof (TREE_TYPE (yyvsp[0].ttype)); ;
|
||
break;}
|
||
case 51:
|
||
#line 360 "c-parse.y"
|
||
{ yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ;
|
||
break;}
|
||
case 52:
|
||
#line 362 "c-parse.y"
|
||
{ yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ;
|
||
break;}
|
||
case 53:
|
||
#line 364 "c-parse.y"
|
||
{ yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ;
|
||
break;}
|
||
case 55:
|
||
#line 370 "c-parse.y"
|
||
{ tree type = groktypename (yyvsp[-2].ttype);
|
||
yyval.ttype = build_c_cast (type, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 56:
|
||
#line 373 "c-parse.y"
|
||
{ tree type = groktypename (yyvsp[-5].ttype);
|
||
char *name;
|
||
if (pedantic)
|
||
pedwarn ("ANSI C forbids constructor expressions");
|
||
if (TYPE_NAME (type) != 0)
|
||
{
|
||
if (TREE_CODE (TYPE_NAME (type)) == IDENTIFIER_NODE)
|
||
name = IDENTIFIER_POINTER (TYPE_NAME (type));
|
||
else
|
||
name = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (type)));
|
||
}
|
||
else
|
||
name = "";
|
||
yyval.ttype = digest_init (type, build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-2].ttype)),
|
||
0, 0, 0, name);
|
||
if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == 0)
|
||
{
|
||
int failure = complete_array_type (type, yyval.ttype, 1);
|
||
if (failure)
|
||
abort ();
|
||
}
|
||
;
|
||
break;}
|
||
case 58:
|
||
#line 400 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 59:
|
||
#line 402 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 60:
|
||
#line 404 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 61:
|
||
#line 406 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 62:
|
||
#line 408 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 63:
|
||
#line 410 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 64:
|
||
#line 412 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 65:
|
||
#line 414 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 66:
|
||
#line 416 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 67:
|
||
#line 418 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 68:
|
||
#line 420 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 69:
|
||
#line 422 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 70:
|
||
#line 424 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 71:
|
||
#line 426 "c-parse.y"
|
||
{ yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 72:
|
||
#line 428 "c-parse.y"
|
||
{ yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 73:
|
||
#line 430 "c-parse.y"
|
||
{ yyval.ttype = build_modify_expr (yyvsp[-2].ttype, NOP_EXPR, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 74:
|
||
#line 432 "c-parse.y"
|
||
{ yyval.ttype = build_modify_expr (yyvsp[-2].ttype, yyvsp[-1].code, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 75:
|
||
#line 437 "c-parse.y"
|
||
{
|
||
tree context;
|
||
|
||
yyval.ttype = lastiddecl;
|
||
if (!yyval.ttype || yyval.ttype == error_mark_node)
|
||
{
|
||
if (yychar == YYEMPTY)
|
||
yychar = YYLEX;
|
||
if (yychar == '(')
|
||
{
|
||
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, outside of functions",
|
||
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 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
|
||
{
|
||
assemble_external (yyval.ttype);
|
||
TREE_USED (yyval.ttype) = 1;
|
||
}
|
||
if (TREE_CODE (yyval.ttype) == CONST_DECL)
|
||
yyval.ttype = DECL_INITIAL (yyval.ttype);
|
||
;
|
||
break;}
|
||
case 77:
|
||
#line 490 "c-parse.y"
|
||
{ yyval.ttype = combine_strings (yyvsp[0].ttype); ;
|
||
break;}
|
||
case 78:
|
||
#line 492 "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 79:
|
||
#line 498 "c-parse.y"
|
||
{ yyval.ttype = error_mark_node; ;
|
||
break;}
|
||
case 80:
|
||
#line 500 "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_label_level ();
|
||
yyval.ttype = expand_start_stmt_expr (); ;
|
||
break;}
|
||
case 81:
|
||
#line 513 "c-parse.y"
|
||
{ tree rtl_exp;
|
||
if (pedantic)
|
||
pedwarn ("ANSI C forbids braced-groups within expressions");
|
||
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;
|
||
/* Clear TREE_USED which is always set by poplevel. This
|
||
block will only be used if the BIND_EXPR is used. */
|
||
TREE_USED (yyvsp[-1].ttype) = 0;
|
||
|
||
/* 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);
|
||
;
|
||
break;}
|
||
case 82:
|
||
#line 529 "c-parse.y"
|
||
{ yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 83:
|
||
#line 531 "c-parse.y"
|
||
{ yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 84:
|
||
#line 533 "c-parse.y"
|
||
{ yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 85:
|
||
#line 535 "c-parse.y"
|
||
{ yyval.ttype = build_component_ref (build_indirect_ref (yyvsp[-2].ttype, "->"), yyvsp[0].ttype); ;
|
||
break;}
|
||
case 86:
|
||
#line 537 "c-parse.y"
|
||
{ yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ;
|
||
break;}
|
||
case 87:
|
||
#line 539 "c-parse.y"
|
||
{ yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ;
|
||
break;}
|
||
case 89:
|
||
#line 546 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 92:
|
||
#line 554 "c-parse.y"
|
||
{ c_mark_varargs ();
|
||
if (pedantic)
|
||
pedwarn ("ANSI C does not permit use of `varargs.h'"); ;
|
||
break;}
|
||
case 93:
|
||
#line 564 "c-parse.y"
|
||
{ ;
|
||
break;}
|
||
case 98:
|
||
#line 576 "c-parse.y"
|
||
{ current_declspecs = TREE_VALUE (declspec_stack);
|
||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||
resume_momentary (yyvsp[-2].itype); ;
|
||
break;}
|
||
case 99:
|
||
#line 580 "c-parse.y"
|
||
{ current_declspecs = TREE_VALUE (declspec_stack);
|
||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||
resume_momentary (yyvsp[-2].itype); ;
|
||
break;}
|
||
case 100:
|
||
#line 584 "c-parse.y"
|
||
{ shadow_tag (yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 101:
|
||
#line 586 "c-parse.y"
|
||
{ pedwarn ("empty declaration"); ;
|
||
break;}
|
||
case 102:
|
||
#line 595 "c-parse.y"
|
||
{ ;
|
||
break;}
|
||
case 107:
|
||
#line 610 "c-parse.y"
|
||
{ yyval.itype = suspend_momentary ();
|
||
pending_xref_error ();
|
||
declspec_stack = tree_cons (0, current_declspecs,
|
||
declspec_stack);
|
||
current_declspecs = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 108:
|
||
#line 619 "c-parse.y"
|
||
{ current_declspecs = TREE_VALUE (declspec_stack);
|
||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||
resume_momentary (yyvsp[-2].itype); ;
|
||
break;}
|
||
case 109:
|
||
#line 623 "c-parse.y"
|
||
{ current_declspecs = TREE_VALUE (declspec_stack);
|
||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||
resume_momentary (yyvsp[-2].itype); ;
|
||
break;}
|
||
case 110:
|
||
#line 627 "c-parse.y"
|
||
{ current_declspecs = TREE_VALUE (declspec_stack);
|
||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||
resume_momentary (yyvsp[-1].itype); ;
|
||
break;}
|
||
case 111:
|
||
#line 631 "c-parse.y"
|
||
{ current_declspecs = TREE_VALUE (declspec_stack);
|
||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||
resume_momentary (yyvsp[-1].itype); ;
|
||
break;}
|
||
case 112:
|
||
#line 635 "c-parse.y"
|
||
{ shadow_tag (yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 113:
|
||
#line 637 "c-parse.y"
|
||
{ pedwarn ("empty declaration"); ;
|
||
break;}
|
||
case 114:
|
||
#line 646 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 115:
|
||
#line 648 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
|
||
break;}
|
||
case 116:
|
||
#line 652 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 117:
|
||
#line 654 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 118:
|
||
#line 656 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 119:
|
||
#line 665 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 120:
|
||
#line 667 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 121:
|
||
#line 669 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 122:
|
||
#line 671 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 123:
|
||
#line 681 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 124:
|
||
#line 683 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
|
||
break;}
|
||
case 125:
|
||
#line 687 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 126:
|
||
#line 689 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 129:
|
||
#line 699 "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 130:
|
||
#line 703 "c-parse.y"
|
||
{ yyval.ttype = TREE_TYPE (yyvsp[-1].ttype);
|
||
if (pedantic)
|
||
pedwarn ("ANSI C forbids `typeof'"); ;
|
||
break;}
|
||
case 131:
|
||
#line 707 "c-parse.y"
|
||
{ yyval.ttype = groktypename (yyvsp[-1].ttype);
|
||
if (pedantic)
|
||
pedwarn ("ANSI C forbids `typeof'"); ;
|
||
break;}
|
||
case 139:
|
||
#line 731 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 140:
|
||
#line 733 "c-parse.y"
|
||
{ if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype);
|
||
yyval.ttype = yyvsp[-1].ttype;
|
||
;
|
||
break;}
|
||
case 141:
|
||
#line 740 "c-parse.y"
|
||
{ yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1); ;
|
||
break;}
|
||
case 142:
|
||
#line 743 "c-parse.y"
|
||
{ decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype);
|
||
finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
|
||
break;}
|
||
case 143:
|
||
#line 746 "c-parse.y"
|
||
{ tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0);
|
||
decl_attributes (d, yyvsp[0].ttype);
|
||
finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 144:
|
||
#line 753 "c-parse.y"
|
||
{ yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1); ;
|
||
break;}
|
||
case 145:
|
||
#line 756 "c-parse.y"
|
||
{ decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype);
|
||
finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
|
||
break;}
|
||
case 146:
|
||
#line 759 "c-parse.y"
|
||
{ tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0);
|
||
decl_attributes (d, yyvsp[0].ttype);
|
||
finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 147:
|
||
#line 767 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 148:
|
||
#line 769 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[-2].ttype; ;
|
||
break;}
|
||
case 149:
|
||
#line 774 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 150:
|
||
#line 776 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype); ;
|
||
break;}
|
||
case 151:
|
||
#line 781 "c-parse.y"
|
||
{ if (strcmp (IDENTIFIER_POINTER (yyvsp[0].ttype), "packed"))
|
||
warning ("`%s' attribute directive ignored",
|
||
IDENTIFIER_POINTER (yyvsp[0].ttype));
|
||
yyval.ttype = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 152:
|
||
#line 786 "c-parse.y"
|
||
{ /* If not "mode (m)", then issue warning. */
|
||
if (strcmp (IDENTIFIER_POINTER (yyvsp[-3].ttype), "mode") != 0)
|
||
{
|
||
warning ("`%s' attribute directive ignored",
|
||
IDENTIFIER_POINTER (yyvsp[-3].ttype));
|
||
yyval.ttype = yyvsp[-3].ttype;
|
||
}
|
||
else
|
||
yyval.ttype = tree_cons (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 153:
|
||
#line 796 "c-parse.y"
|
||
{ /* if not "aligned(n)", then issue warning */
|
||
if (strcmp (IDENTIFIER_POINTER (yyvsp[-3].ttype), "aligned") != 0
|
||
|| TREE_CODE (yyvsp[-1].ttype) != INTEGER_CST)
|
||
{
|
||
warning ("`%s' attribute directive ignored",
|
||
IDENTIFIER_POINTER (yyvsp[-3].ttype));
|
||
yyval.ttype = yyvsp[-3].ttype;
|
||
}
|
||
else
|
||
yyval.ttype = tree_cons (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 154:
|
||
#line 807 "c-parse.y"
|
||
{ /* if not "format(...)", then issue warning */
|
||
if (strcmp (IDENTIFIER_POINTER (yyvsp[-7].ttype), "format") != 0
|
||
|| TREE_CODE (yyvsp[-3].ttype) != INTEGER_CST
|
||
|| TREE_CODE (yyvsp[-1].ttype) != INTEGER_CST)
|
||
{
|
||
warning ("`%s' attribute directive ignored",
|
||
IDENTIFIER_POINTER (yyvsp[-7].ttype));
|
||
yyval.ttype = yyvsp[-7].ttype;
|
||
}
|
||
else
|
||
yyval.ttype = tree_cons (yyvsp[-7].ttype, tree_cons (yyvsp[-5].ttype, tree_cons (yyvsp[-3].ttype, yyvsp[-1].ttype))); ;
|
||
break;}
|
||
case 156:
|
||
#line 823 "c-parse.y"
|
||
{ yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, NULL_TREE);
|
||
if (pedantic)
|
||
pedwarn ("ANSI C forbids empty initializer braces"); ;
|
||
break;}
|
||
case 157:
|
||
#line 827 "c-parse.y"
|
||
{ yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-1].ttype)); ;
|
||
break;}
|
||
case 158:
|
||
#line 829 "c-parse.y"
|
||
{ yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-2].ttype)); ;
|
||
break;}
|
||
case 159:
|
||
#line 831 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 160:
|
||
#line 838 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 161:
|
||
#line 840 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype); ;
|
||
break;}
|
||
case 162:
|
||
#line 843 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 163:
|
||
#line 845 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (yyvsp[-2].ttype, yyvsp[0].ttype, yyvsp[-5].ttype); ;
|
||
break;}
|
||
case 164:
|
||
#line 847 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 165:
|
||
#line 849 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (yyvsp[-2].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
|
||
break;}
|
||
case 166:
|
||
#line 854 "c-parse.y"
|
||
{ push_c_function_context ();
|
||
if (! start_function (current_declspecs, yyvsp[0].ttype, 1))
|
||
{
|
||
pop_c_function_context ();
|
||
YYERROR1;
|
||
}
|
||
reinit_parse_for_function ();
|
||
store_parm_decls (); ;
|
||
break;}
|
||
case 167:
|
||
#line 869 "c-parse.y"
|
||
{ finish_function (1);
|
||
pop_c_function_context (); ;
|
||
break;}
|
||
case 168:
|
||
#line 875 "c-parse.y"
|
||
{ push_c_function_context ();
|
||
if (! start_function (current_declspecs, yyvsp[0].ttype, 1))
|
||
{
|
||
pop_c_function_context ();
|
||
YYERROR1;
|
||
}
|
||
reinit_parse_for_function ();
|
||
store_parm_decls (); ;
|
||
break;}
|
||
case 169:
|
||
#line 890 "c-parse.y"
|
||
{ finish_function (1);
|
||
pop_c_function_context (); ;
|
||
break;}
|
||
case 172:
|
||
#line 906 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[-1].ttype; ;
|
||
break;}
|
||
case 173:
|
||
#line 908 "c-parse.y"
|
||
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 174:
|
||
#line 913 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 175:
|
||
#line 915 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 176:
|
||
#line 917 "c-parse.y"
|
||
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 178:
|
||
#line 928 "c-parse.y"
|
||
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 179:
|
||
#line 933 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 180:
|
||
#line 935 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 181:
|
||
#line 937 "c-parse.y"
|
||
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 183:
|
||
#line 946 "c-parse.y"
|
||
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 184:
|
||
#line 951 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[-1].ttype; ;
|
||
break;}
|
||
case 185:
|
||
#line 953 "c-parse.y"
|
||
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 186:
|
||
#line 955 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 187:
|
||
#line 957 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 189:
|
||
#line 963 "c-parse.y"
|
||
{ yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype);
|
||
/* Start scope of tag before parsing components. */
|
||
;
|
||
break;}
|
||
case 190:
|
||
#line 967 "c-parse.y"
|
||
{ yyval.ttype = finish_struct (yyvsp[-2].ttype, yyvsp[-1].ttype);
|
||
/* Really define the structure. */
|
||
;
|
||
break;}
|
||
case 191:
|
||
#line 971 "c-parse.y"
|
||
{ yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE),
|
||
yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 192:
|
||
#line 974 "c-parse.y"
|
||
{ yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 193:
|
||
#line 976 "c-parse.y"
|
||
{ yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 194:
|
||
#line 978 "c-parse.y"
|
||
{ yyval.ttype = finish_struct (yyvsp[-2].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 195:
|
||
#line 980 "c-parse.y"
|
||
{ yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE),
|
||
yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 196:
|
||
#line 983 "c-parse.y"
|
||
{ yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 197:
|
||
#line 985 "c-parse.y"
|
||
{ yyvsp[0].itype = suspend_momentary ();
|
||
yyval.ttype = start_enum (yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 198:
|
||
#line 988 "c-parse.y"
|
||
{ yyval.ttype = finish_enum (yyvsp[-3].ttype, nreverse (yyvsp[-2].ttype));
|
||
resume_momentary (yyvsp[-4].itype); ;
|
||
break;}
|
||
case 199:
|
||
#line 991 "c-parse.y"
|
||
{ yyvsp[0].itype = suspend_momentary ();
|
||
yyval.ttype = start_enum (NULL_TREE); ;
|
||
break;}
|
||
case 200:
|
||
#line 994 "c-parse.y"
|
||
{ yyval.ttype = finish_enum (yyvsp[-3].ttype, nreverse (yyvsp[-2].ttype));
|
||
resume_momentary (yyvsp[-4].itype); ;
|
||
break;}
|
||
case 201:
|
||
#line 997 "c-parse.y"
|
||
{ yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 205:
|
||
#line 1008 "c-parse.y"
|
||
{ if (pedantic) pedwarn ("comma at end of enumerator list"); ;
|
||
break;}
|
||
case 206:
|
||
#line 1013 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 207:
|
||
#line 1015 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
|
||
warning ("no semicolon at end of struct or union"); ;
|
||
break;}
|
||
case 208:
|
||
#line 1020 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 209:
|
||
#line 1022 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 210:
|
||
#line 1024 "c-parse.y"
|
||
{ if (pedantic)
|
||
pedwarn ("extra semicolon in struct or union specified"); ;
|
||
break;}
|
||
case 211:
|
||
#line 1039 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype;
|
||
current_declspecs = TREE_VALUE (declspec_stack);
|
||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||
resume_momentary (yyvsp[-1].itype); ;
|
||
break;}
|
||
case 212:
|
||
#line 1044 "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 213:
|
||
#line 1049 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype;
|
||
current_declspecs = TREE_VALUE (declspec_stack);
|
||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||
resume_momentary (yyvsp[-1].itype); ;
|
||
break;}
|
||
case 214:
|
||
#line 1054 "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 215:
|
||
#line 1059 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 217:
|
||
#line 1065 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 218:
|
||
#line 1070 "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); ;
|
||
break;}
|
||
case 219:
|
||
#line 1074 "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); ;
|
||
break;}
|
||
case 220:
|
||
#line 1077 "c-parse.y"
|
||
{ yyval.ttype = grokfield (yyvsp[-3].filename, yyvsp[-2].lineno, NULL_TREE, current_declspecs, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 222:
|
||
#line 1088 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-2].ttype); ;
|
||
break;}
|
||
case 223:
|
||
#line 1094 "c-parse.y"
|
||
{ yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 224:
|
||
#line 1096 "c-parse.y"
|
||
{ yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 225:
|
||
#line 1101 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 226:
|
||
#line 1103 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 227:
|
||
#line 1108 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 229:
|
||
#line 1114 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 230:
|
||
#line 1116 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 231:
|
||
#line 1121 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 232:
|
||
#line 1123 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 233:
|
||
#line 1128 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[-1].ttype; ;
|
||
break;}
|
||
case 234:
|
||
#line 1131 "c-parse.y"
|
||
{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 235:
|
||
#line 1133 "c-parse.y"
|
||
{ yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 236:
|
||
#line 1135 "c-parse.y"
|
||
{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 237:
|
||
#line 1137 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 238:
|
||
#line 1139 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 239:
|
||
#line 1141 "c-parse.y"
|
||
{ yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
|
||
break;}
|
||
case 240:
|
||
#line 1143 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 241:
|
||
#line 1145 "c-parse.y"
|
||
{ yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ;
|
||
break;}
|
||
case 248:
|
||
#line 1167 "c-parse.y"
|
||
{ emit_line_note (input_filename, lineno);
|
||
pushlevel (0);
|
||
clear_last_expr ();
|
||
push_momentary ();
|
||
expand_start_bindings (0); ;
|
||
break;}
|
||
case 250:
|
||
#line 1179 "c-parse.y"
|
||
{ if (pedantic)
|
||
pedwarn ("ANSI C forbids label declarations"); ;
|
||
break;}
|
||
case 253:
|
||
#line 1190 "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 254:
|
||
#line 1204 "c-parse.y"
|
||
{;
|
||
break;}
|
||
case 256:
|
||
#line 1209 "c-parse.y"
|
||
{ yyval.ttype = convert (void_type_node, integer_zero_node); ;
|
||
break;}
|
||
case 257:
|
||
#line 1211 "c-parse.y"
|
||
{ emit_line_note (input_filename, lineno);
|
||
expand_end_bindings (getdecls (), 1, 0);
|
||
yyval.ttype = poplevel (1, 1, 0);
|
||
pop_momentary (); ;
|
||
break;}
|
||
case 258:
|
||
#line 1216 "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);
|
||
pop_momentary (); ;
|
||
break;}
|
||
case 259:
|
||
#line 1221 "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);
|
||
pop_momentary (); ;
|
||
break;}
|
||
case 262:
|
||
#line 1238 "c-parse.y"
|
||
{ emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
|
||
expand_start_cond (truthvalue_conversion (yyvsp[-1].ttype), 0);
|
||
yyvsp[-3].itype = stmt_count;
|
||
if_stmt_file = yyvsp[-5].filename;
|
||
if_stmt_line = yyvsp[-4].lineno;
|
||
position_after_white_space (); ;
|
||
break;}
|
||
case 263:
|
||
#line 1251 "c-parse.y"
|
||
{ stmt_count++;
|
||
emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno);
|
||
/* See comment in `while' alternative, above. */
|
||
emit_nop ();
|
||
expand_start_loop_continue_elsewhere (1);
|
||
position_after_white_space (); ;
|
||
break;}
|
||
case 264:
|
||
#line 1258 "c-parse.y"
|
||
{ expand_loop_continue_here (); ;
|
||
break;}
|
||
case 265:
|
||
#line 1262 "c-parse.y"
|
||
{ yyval.filename = input_filename; ;
|
||
break;}
|
||
case 266:
|
||
#line 1266 "c-parse.y"
|
||
{ yyval.lineno = lineno; ;
|
||
break;}
|
||
case 267:
|
||
#line 1271 "c-parse.y"
|
||
{ ;
|
||
break;}
|
||
case 268:
|
||
#line 1276 "c-parse.y"
|
||
{ ;
|
||
break;}
|
||
case 269:
|
||
#line 1281 "c-parse.y"
|
||
{ ;
|
||
break;}
|
||
case 271:
|
||
#line 1287 "c-parse.y"
|
||
{ int next;
|
||
position_after_white_space ();
|
||
next = getc (finput);
|
||
ungetc (next, finput);
|
||
if (pedantic && next == '}')
|
||
pedwarn ("ANSI C forbids label at end of compound statement");
|
||
;
|
||
break;}
|
||
case 272:
|
||
#line 1299 "c-parse.y"
|
||
{ stmt_count++; ;
|
||
break;}
|
||
case 273:
|
||
#line 1301 "c-parse.y"
|
||
{ stmt_count++;
|
||
emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
|
||
c_expand_expr_stmt (yyvsp[-1].ttype);
|
||
clear_momentary (); ;
|
||
break;}
|
||
case 274:
|
||
#line 1306 "c-parse.y"
|
||
{ expand_start_else ();
|
||
yyvsp[-1].itype = stmt_count;
|
||
position_after_white_space (); ;
|
||
break;}
|
||
case 275:
|
||
#line 1310 "c-parse.y"
|
||
{ expand_end_cond ();
|
||
if (extra_warnings && stmt_count == yyvsp[-3].itype)
|
||
warning ("empty body in an else-statement"); ;
|
||
break;}
|
||
case 276:
|
||
#line 1314 "c-parse.y"
|
||
{ expand_end_cond ();
|
||
if (extra_warnings && stmt_count == yyvsp[0].itype)
|
||
warning_with_file_and_line (if_stmt_file, if_stmt_line,
|
||
"empty body in an if-statement"); ;
|
||
break;}
|
||
case 277:
|
||
#line 1322 "c-parse.y"
|
||
{ expand_end_cond (); ;
|
||
break;}
|
||
case 278:
|
||
#line 1324 "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 279:
|
||
#line 1334 "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 (0, truthvalue_conversion (yyvsp[-1].ttype));
|
||
position_after_white_space (); ;
|
||
break;}
|
||
case 280:
|
||
#line 1342 "c-parse.y"
|
||
{ expand_end_loop (); ;
|
||
break;}
|
||
case 281:
|
||
#line 1345 "c-parse.y"
|
||
{ emit_line_note (input_filename, lineno);
|
||
expand_exit_loop_if_false (0, truthvalue_conversion (yyvsp[-2].ttype));
|
||
expand_end_loop ();
|
||
clear_momentary (); ;
|
||
break;}
|
||
case 282:
|
||
#line 1351 "c-parse.y"
|
||
{ expand_end_loop ();
|
||
clear_momentary (); ;
|
||
break;}
|
||
case 283:
|
||
#line 1355 "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 284:
|
||
#line 1367 "c-parse.y"
|
||
{ yyvsp[0].lineno = lineno;
|
||
yyval.filename = input_filename; ;
|
||
break;}
|
||
case 285:
|
||
#line 1370 "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 (0, 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 ();
|
||
position_after_white_space (); ;
|
||
break;}
|
||
case 286:
|
||
#line 1383 "c-parse.y"
|
||
{ emit_line_note (yyvsp[-13].filename, yyvsp[-12].lineno);
|
||
expand_loop_continue_here ();
|
||
if (yyvsp[-3].ttype)
|
||
c_expand_expr_stmt (yyvsp[-3].ttype);
|
||
pop_momentary ();
|
||
expand_end_loop (); ;
|
||
break;}
|
||
case 287:
|
||
#line 1390 "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 288:
|
||
#line 1398 "c-parse.y"
|
||
{ expand_end_case (yyvsp[-3].ttype);
|
||
pop_momentary (); ;
|
||
break;}
|
||
case 289:
|
||
#line 1401 "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 290:
|
||
#line 1406 "c-parse.y"
|
||
{ stmt_count++;
|
||
emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
|
||
if (! expand_continue_loop (0))
|
||
error ("continue statement not within a loop"); ;
|
||
break;}
|
||
case 291:
|
||
#line 1411 "c-parse.y"
|
||
{ stmt_count++;
|
||
emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
|
||
c_expand_return (NULL_TREE); ;
|
||
break;}
|
||
case 292:
|
||
#line 1415 "c-parse.y"
|
||
{ stmt_count++;
|
||
emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno);
|
||
c_expand_return (yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 293:
|
||
#line 1419 "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 294:
|
||
#line 1430 "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 295:
|
||
#line 1437 "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 296:
|
||
#line 1445 "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 297:
|
||
#line 1451 "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 298:
|
||
#line 1462 "c-parse.y"
|
||
{ stmt_count++;
|
||
emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
|
||
expand_computed_goto (yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 300:
|
||
#line 1473 "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 = pushcase (value, label, &duplicate);
|
||
if (success == 1)
|
||
error ("case label not within a switch statement");
|
||
else if (success == 2)
|
||
{
|
||
error ("duplicate case value");
|
||
error_with_decl (duplicate, "this is the first entry for that value");
|
||
}
|
||
else if (success == 3)
|
||
warning ("case value out of range");
|
||
else if (success == 5)
|
||
error ("case label within scope of cleanup or variable array");
|
||
}
|
||
position_after_white_space (); ;
|
||
break;}
|
||
case 301:
|
||
#line 1497 "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);
|
||
|
||
stmt_count++;
|
||
|
||
if (value1 != error_mark_node && value2 != error_mark_node)
|
||
{
|
||
tree duplicate;
|
||
int success = pushcase_range (value1, value2, label,
|
||
&duplicate);
|
||
if (success == 1)
|
||
error ("case label not within a switch statement");
|
||
else if (success == 2)
|
||
{
|
||
error ("duplicate case value");
|
||
error_with_decl (duplicate, "this is the first entry for that value");
|
||
}
|
||
else if (success == 3)
|
||
warning ("case value out of range");
|
||
else if (success == 4)
|
||
warning ("empty case range");
|
||
else if (success == 5)
|
||
error ("case label within scope of cleanup or variable array");
|
||
}
|
||
position_after_white_space (); ;
|
||
break;}
|
||
case 302:
|
||
#line 1525 "c-parse.y"
|
||
{
|
||
tree duplicate;
|
||
register tree label
|
||
= build_decl (LABEL_DECL, NULL_TREE, NULL_TREE);
|
||
int success = pushcase (NULL_TREE, label, &duplicate);
|
||
stmt_count++;
|
||
if (success == 1)
|
||
error ("default label not within a switch statement");
|
||
else if (success == 2)
|
||
{
|
||
error ("multiple default labels in one switch");
|
||
error_with_decl (duplicate, "this is the first default label");
|
||
}
|
||
position_after_white_space (); ;
|
||
break;}
|
||
case 303:
|
||
#line 1540 "c-parse.y"
|
||
{ tree label = define_label (input_filename, lineno, yyvsp[-1].ttype);
|
||
stmt_count++;
|
||
emit_nop ();
|
||
if (label)
|
||
expand_label (label);
|
||
position_after_white_space (); ;
|
||
break;}
|
||
case 304:
|
||
#line 1552 "c-parse.y"
|
||
{ emit_line_note (input_filename, lineno); ;
|
||
break;}
|
||
case 305:
|
||
#line 1554 "c-parse.y"
|
||
{ emit_line_note (input_filename, lineno); ;
|
||
break;}
|
||
case 306:
|
||
#line 1559 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 308:
|
||
#line 1566 "c-parse.y"
|
||
{ yyval.ttype = NULL_TREE; ;
|
||
break;}
|
||
case 311:
|
||
#line 1573 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 312:
|
||
#line 1578 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
|
||
break;}
|
||
case 313:
|
||
#line 1583 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), NULL_TREE); ;
|
||
break;}
|
||
case 314:
|
||
#line 1585 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), yyvsp[-2].ttype); ;
|
||
break;}
|
||
case 315:
|
||
#line 1591 "c-parse.y"
|
||
{ pushlevel (0);
|
||
clear_parm_order ();
|
||
declare_parm_level (0); ;
|
||
break;}
|
||
case 316:
|
||
#line 1595 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype;
|
||
parmlist_tags_warning ();
|
||
poplevel (0, 0, 0); ;
|
||
break;}
|
||
case 318:
|
||
#line 1603 "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 319:
|
||
#line 1611 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype; ;
|
||
break;}
|
||
case 320:
|
||
#line 1613 "c-parse.y"
|
||
{ yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ;
|
||
break;}
|
||
case 321:
|
||
#line 1619 "c-parse.y"
|
||
{ yyval.ttype = get_parm_info (0); ;
|
||
break;}
|
||
case 322:
|
||
#line 1621 "c-parse.y"
|
||
{ yyval.ttype = get_parm_info (0);
|
||
if (pedantic)
|
||
pedwarn ("ANSI C requires a named argument before `...'");
|
||
;
|
||
break;}
|
||
case 323:
|
||
#line 1626 "c-parse.y"
|
||
{ yyval.ttype = get_parm_info (1); ;
|
||
break;}
|
||
case 324:
|
||
#line 1628 "c-parse.y"
|
||
{ yyval.ttype = get_parm_info (0); ;
|
||
break;}
|
||
case 325:
|
||
#line 1633 "c-parse.y"
|
||
{ push_parm_decl (yyvsp[0].ttype); ;
|
||
break;}
|
||
case 326:
|
||
#line 1635 "c-parse.y"
|
||
{ push_parm_decl (yyvsp[0].ttype); ;
|
||
break;}
|
||
case 327:
|
||
#line 1642 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ;
|
||
break;}
|
||
case 328:
|
||
#line 1644 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ;
|
||
break;}
|
||
case 329:
|
||
#line 1646 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 330:
|
||
#line 1648 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ;
|
||
break;}
|
||
case 331:
|
||
#line 1650 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 332:
|
||
#line 1657 "c-parse.y"
|
||
{ pushlevel (0);
|
||
clear_parm_order ();
|
||
declare_parm_level (1); ;
|
||
break;}
|
||
case 333:
|
||
#line 1661 "c-parse.y"
|
||
{ yyval.ttype = yyvsp[0].ttype;
|
||
parmlist_tags_warning ();
|
||
poplevel (0, 0, 0); ;
|
||
break;}
|
||
case 335:
|
||
#line 1669 "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 336:
|
||
#line 1679 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 337:
|
||
#line 1681 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
|
||
break;}
|
||
case 338:
|
||
#line 1687 "c-parse.y"
|
||
{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
|
||
break;}
|
||
case 339:
|
||
#line 1689 "c-parse.y"
|
||
{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
|
||
break;}
|
||
}
|
||
/* the action file gets copied in in place of this dollarsign */
|
||
#line 440 "bison.simple"
|
||
|
||
yyvsp -= yylen;
|
||
yyssp -= yylen;
|
||
#ifdef YYLSP_NEEDED
|
||
yylsp -= yylen;
|
||
#endif
|
||
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
{
|
||
short *ssp1 = yyss - 1;
|
||
fprintf (stderr, "state stack now");
|
||
while (ssp1 != yyssp)
|
||
fprintf (stderr, " %d", *++ssp1);
|
||
fprintf (stderr, "\n");
|
||
}
|
||
#endif
|
||
|
||
*++yyvsp = yyval;
|
||
|
||
#ifdef YYLSP_NEEDED
|
||
yylsp++;
|
||
if (yylen == 0)
|
||
{
|
||
yylsp->first_line = yylloc.first_line;
|
||
yylsp->first_column = yylloc.first_column;
|
||
yylsp->last_line = (yylsp-1)->last_line;
|
||
yylsp->last_column = (yylsp-1)->last_column;
|
||
yylsp->text = 0;
|
||
}
|
||
else
|
||
{
|
||
yylsp->last_line = (yylsp+yylen-1)->last_line;
|
||
yylsp->last_column = (yylsp+yylen-1)->last_column;
|
||
}
|
||
#endif
|
||
|
||
/* Now "shift" the result of the reduction.
|
||
Determine what state that goes to,
|
||
based on the state we popped back to
|
||
and the rule number reduced by. */
|
||
|
||
yyn = yyr1[yyn];
|
||
|
||
yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
|
||
if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
|
||
yystate = yytable[yystate];
|
||
else
|
||
yystate = yydefgoto[yyn - YYNTBASE];
|
||
|
||
goto yynewstate;
|
||
|
||
yyerrlab: /* here on detecting error */
|
||
|
||
if (! yyerrstatus)
|
||
/* If not already recovering from an error, report this error. */
|
||
{
|
||
++yynerrs;
|
||
|
||
#ifdef YYERROR_VERBOSE
|
||
yyn = yypact[yystate];
|
||
|
||
if (yyn > YYFLAG && yyn < YYLAST)
|
||
{
|
||
int size = 0;
|
||
char *msg;
|
||
int x, count;
|
||
|
||
count = 0;
|
||
for (x = 0; x < (sizeof(yytname) / sizeof(char *)); x++)
|
||
if (yycheck[x + yyn] == x)
|
||
size += strlen(yytname[x]) + 15, count++;
|
||
msg = (char *) malloc(size + 15);
|
||
if (msg != 0)
|
||
{
|
||
strcpy(msg, "parse error");
|
||
|
||
if (count < 5)
|
||
{
|
||
count = 0;
|
||
for (x = 0; x < (sizeof(yytname) / sizeof(char *)); x++)
|
||
if (yycheck[x + yyn] == x)
|
||
{
|
||
strcat(msg, count == 0 ? ", expecting `" : " or `");
|
||
strcat(msg, yytname[x]);
|
||
strcat(msg, "'");
|
||
count++;
|
||
}
|
||
}
|
||
yyerror(msg);
|
||
free(msg);
|
||
}
|
||
else
|
||
yyerror ("parse error; also virtual memory exceeded");
|
||
}
|
||
else
|
||
#endif /* YYERROR_VERBOSE */
|
||
yyerror("parse error");
|
||
}
|
||
|
||
yyerrlab1: /* here on error raised explicitly by an action */
|
||
|
||
if (yyerrstatus == 3)
|
||
{
|
||
/* if just tried and failed to reuse lookahead token after an error, discard it. */
|
||
|
||
/* return failure if at end of input */
|
||
if (yychar == YYEOF)
|
||
YYABORT;
|
||
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
|
||
#endif
|
||
|
||
yychar = YYEMPTY;
|
||
}
|
||
|
||
/* Else will try to reuse lookahead token
|
||
after shifting the error token. */
|
||
|
||
yyerrstatus = 3; /* Each real token shifted decrements this */
|
||
|
||
goto yyerrhandle;
|
||
|
||
yyerrdefault: /* current state does not do anything special for the error token. */
|
||
|
||
#if 0
|
||
/* This is wrong; only states that explicitly want error tokens
|
||
should shift them. */
|
||
yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/
|
||
if (yyn) goto yydefault;
|
||
#endif
|
||
|
||
yyerrpop: /* pop the current state because it cannot handle the error token */
|
||
|
||
if (yyssp == yyss) YYABORT;
|
||
yyvsp--;
|
||
yystate = *--yyssp;
|
||
#ifdef YYLSP_NEEDED
|
||
yylsp--;
|
||
#endif
|
||
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
{
|
||
short *ssp1 = yyss - 1;
|
||
fprintf (stderr, "Error: state stack now");
|
||
while (ssp1 != yyssp)
|
||
fprintf (stderr, " %d", *++ssp1);
|
||
fprintf (stderr, "\n");
|
||
}
|
||
#endif
|
||
|
||
yyerrhandle:
|
||
|
||
yyn = yypact[yystate];
|
||
if (yyn == YYFLAG)
|
||
goto yyerrdefault;
|
||
|
||
yyn += YYTERROR;
|
||
if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
|
||
goto yyerrdefault;
|
||
|
||
yyn = yytable[yyn];
|
||
if (yyn < 0)
|
||
{
|
||
if (yyn == YYFLAG)
|
||
goto yyerrpop;
|
||
yyn = -yyn;
|
||
goto yyreduce;
|
||
}
|
||
else if (yyn == 0)
|
||
goto yyerrpop;
|
||
|
||
if (yyn == YYFINAL)
|
||
YYACCEPT;
|
||
|
||
#if YYDEBUG != 0
|
||
if (yydebug)
|
||
fprintf(stderr, "Shifting error token, ");
|
||
#endif
|
||
|
||
*++yyvsp = yylval;
|
||
#ifdef YYLSP_NEEDED
|
||
*++yylsp = yylloc;
|
||
#endif
|
||
|
||
yystate = yyn;
|
||
goto yynewstate;
|
||
}
|
||
#line 1691 "c-parse.y"
|
||
|