|
|
1.1 root 1:
2: /* A Bison parser, made from c-parse.y */
3:
4: #define YYBISON 1 /* Identify Bison output. */
5:
6: #define IDENTIFIER 258
7: #define TYPENAME 259
8: #define SCSPEC 260
9: #define TYPESPEC 261
10: #define TYPE_QUAL 262
11: #define CONSTANT 263
12: #define STRING 264
13: #define ELLIPSIS 265
14: #define SIZEOF 266
15: #define ENUM 267
16: #define STRUCT 268
17: #define UNION 269
18: #define IF 270
19: #define ELSE 271
20: #define WHILE 272
21: #define DO 273
22: #define FOR 274
23: #define SWITCH 275
24: #define CASE 276
25: #define DEFAULT 277
26: #define BREAK 278
27: #define CONTINUE 279
28: #define RETURN 280
29: #define GOTO 281
1.1.1.2 root 30: #define ASM_KEYWORD 282
1.1 root 31: #define TYPEOF 283
32: #define ALIGNOF 284
33: #define ALIGN 285
34: #define ATTRIBUTE 286
35: #define EXTENSION 287
36: #define LABEL 288
37: #define ASSIGN 289
38: #define OROR 290
39: #define ANDAND 291
40: #define EQCOMPARE 292
41: #define ARITHCOMPARE 293
42: #define LSHIFT 294
43: #define RSHIFT 295
44: #define UNARY 296
45: #define PLUSPLUS 297
46: #define MINUSMINUS 298
47: #define HYPERUNARY 299
48: #define POINTSAT 300
49: #define INTERFACE 301
50: #define IMPLEMENTATION 302
51: #define END 303
52: #define SELECTOR 304
53: #define DEFS 305
54: #define ENCODE 306
55: #define CLASSNAME 307
56: #define PUBLIC 308
57:
58: #line 39 "c-parse.y"
59:
60: #include <stdio.h>
61: #include <errno.h>
62: #include <setjmp.h>
63:
64: #include "config.h"
65: #include "tree.h"
66: #include "input.h"
67: #include "c-lex.h"
68: #include "c-tree.h"
69: #include "flags.h"
70:
71: #ifdef MULTIBYTE_CHARS
72: #include <stdlib.h>
73: #include <locale.h>
74: #endif
75:
76: #ifndef errno
77: extern int errno;
78: #endif
79:
80: void yyerror ();
81:
82: /* Like YYERROR but do call yyerror. */
83: #define YYERROR1 { yyerror ("syntax error"); YYERROR; }
84:
85: /* Cause the `yydebug' variable to be defined. */
86: #define YYDEBUG 1
87:
88: #line 71 "c-parse.y"
89: typedef union {long itype; tree ttype; enum tree_code code;
90: char *filename; int lineno; } YYSTYPE;
1.1.1.2 root 91: #line 175 "c-parse.y"
1.1 root 92:
93: /* Number of statements (loosely speaking) seen so far. */
94: static int stmt_count;
95:
96: /* Input file and line number of the end of the body of last simple_if;
97: used by the stmt-rule immediately after simple_if returns. */
98: static char *if_stmt_file;
99: static int if_stmt_line;
100:
101: /* List of types and structure classes of the current declaration. */
102: static tree current_declspecs;
103:
104: /* Stack of saved values of current_declspecs. */
105: static tree declspec_stack;
106:
107: /* 1 if we explained undeclared var errors. */
108: static int undeclared_variable_notice;
109:
110: /* Tell yyparse how to print a token's value, if yydebug is set. */
111:
112: #define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL)
113: extern void yyprint ();
114:
115: #ifndef YYLTYPE
116: typedef
117: struct yyltype
118: {
119: int timestamp;
120: int first_line;
121: int first_column;
122: int last_line;
123: int last_column;
124: char *text;
125: }
126: yyltype;
127:
128: #define YYLTYPE yyltype
129: #endif
130:
131: #include <stdio.h>
132:
133: #ifndef __STDC__
134: #define const
135: #endif
136:
137:
138:
1.1.1.3 ! root 139: #define YYFINAL 594
1.1 root 140: #define YYFLAG -32768
141: #define YYNTBASE 76
142:
1.1.1.3 ! root 143: #define YYTRANSLATE(x) ((unsigned)(x) <= 308 ? yytranslate[x] : 200)
1.1 root 144:
145: static const char yytranslate[] = { 0,
146: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
147: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
148: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
149: 2, 2, 72, 2, 2, 2, 51, 42, 2, 58,
150: 68, 49, 47, 73, 48, 57, 50, 2, 2, 2,
151: 2, 2, 2, 2, 2, 2, 2, 37, 69, 2,
152: 35, 2, 36, 2, 2, 2, 2, 2, 2, 2,
153: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
154: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
155: 59, 2, 75, 41, 2, 2, 2, 2, 2, 2,
156: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
157: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
158: 2, 2, 74, 40, 70, 71, 2, 2, 2, 2,
159: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
160: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
161: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
162: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
163: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
164: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
165: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
166: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
167: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
168: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
169: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
170: 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
171: 2, 2, 2, 2, 2, 1, 2, 3, 4, 5,
172: 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
173: 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
174: 26, 27, 28, 29, 30, 31, 32, 33, 34, 38,
175: 39, 43, 44, 45, 46, 52, 53, 54, 55, 56,
176: 60, 61, 62, 63, 64, 65, 66, 67
177: };
178:
179: static const short yyprhs[] = { 0,
180: 0, 1, 3, 4, 7, 8, 12, 14, 16, 22,
181: 26, 31, 36, 39, 42, 45, 48, 50, 51, 52,
182: 60, 65, 66, 67, 75, 80, 81, 82, 89, 93,
183: 95, 97, 99, 101, 103, 105, 107, 109, 111, 113,
184: 114, 116, 118, 122, 124, 127, 128, 132, 135, 138,
185: 141, 146, 149, 154, 156, 161, 169, 171, 175, 179,
186: 183, 187, 191, 195, 199, 203, 207, 211, 215, 219,
187: 223, 227, 233, 237, 241, 243, 245, 247, 251, 255,
188: 256, 261, 266, 271, 275, 279, 282, 285, 287, 290,
189: 291, 293, 296, 300, 302, 304, 307, 310, 315, 320,
190: 323, 326, 330, 332, 334, 337, 340, 341, 346, 351,
191: 355, 359, 362, 365, 368, 372, 373, 376, 379, 381,
192: 383, 386, 389, 392, 396, 397, 400, 402, 404, 406,
193: 411, 416, 418, 420, 422, 424, 428, 430, 434, 435,
194: 440, 441, 448, 452, 453, 460, 464, 465, 472, 474,
1.1.1.3 ! root 195: 478, 480, 485, 490, 499, 501, 504, 508, 513, 515,
! 196: 517, 521, 526, 533, 537, 543, 544, 548, 549, 553,
! 197: 555, 557, 561, 565, 570, 574, 578, 580, 584, 589,
! 198: 593, 597, 599, 603, 607, 611, 616, 620, 622, 623,
! 199: 630, 635, 638, 639, 646, 651, 654, 655, 663, 664,
! 200: 671, 674, 675, 677, 678, 680, 682, 685, 686, 690,
! 201: 693, 697, 699, 703, 705, 707, 709, 713, 718, 725,
! 202: 730, 732, 736, 738, 742, 745, 748, 749, 751, 753,
! 203: 756, 757, 760, 764, 768, 771, 775, 780, 784, 787,
! 204: 791, 794, 796, 799, 802, 803, 805, 808, 809, 810,
! 205: 812, 814, 817, 821, 823, 826, 829, 836, 842, 848,
! 206: 851, 854, 859, 860, 865, 866, 867, 871, 876, 880,
! 207: 882, 884, 886, 889, 890, 895, 897, 901, 902, 903,
! 208: 911, 917, 920, 921, 922, 923, 936, 937, 944, 947,
! 209: 950, 953, 957, 964, 973, 984, 997, 1001, 1006, 1008,
! 210: 1012, 1018, 1021, 1024, 1025, 1027, 1028, 1030, 1031, 1033,
! 211: 1035, 1039, 1044, 1046, 1050, 1051, 1054, 1057, 1058, 1063,
! 212: 1066, 1067, 1069, 1071, 1075, 1077, 1081, 1084, 1087, 1090,
! 213: 1093, 1096, 1097, 1100, 1102, 1105, 1107, 1111, 1113
1.1 root 214: };
215:
216: static const short yyrhs[] = { -1,
217: 77, 0, 0, 78, 80, 0, 0, 77, 79, 80,
218: 0, 82, 0, 81, 0, 27, 58, 91, 68, 69,
219: 0, 107, 117, 69, 0, 111, 107, 117, 69, 0,
220: 109, 107, 116, 69, 0, 111, 69, 0, 109, 69,
221: 0, 1, 69, 0, 1, 70, 0, 69, 0, 0,
222: 0, 109, 107, 132, 83, 101, 84, 162, 0, 109,
223: 107, 132, 1, 0, 0, 0, 111, 107, 135, 85,
224: 101, 86, 162, 0, 111, 107, 135, 1, 0, 0,
225: 0, 107, 135, 87, 101, 88, 162, 0, 107, 135,
226: 1, 0, 3, 0, 4, 0, 42, 0, 48, 0,
227: 47, 0, 53, 0, 54, 0, 71, 0, 72, 0,
228: 93, 0, 0, 93, 0, 97, 0, 93, 73, 97,
229: 0, 98, 0, 49, 96, 0, 0, 32, 95, 96,
230: 0, 90, 96, 0, 39, 89, 0, 11, 94, 0,
231: 11, 58, 150, 68, 0, 29, 94, 0, 29, 58,
232: 150, 68, 0, 94, 0, 58, 150, 68, 96, 0,
233: 58, 150, 68, 74, 127, 141, 70, 0, 96, 0,
234: 97, 47, 97, 0, 97, 48, 97, 0, 97, 49,
235: 97, 0, 97, 50, 97, 0, 97, 51, 97, 0,
236: 97, 45, 97, 0, 97, 46, 97, 0, 97, 44,
237: 97, 0, 97, 43, 97, 0, 97, 42, 97, 0,
238: 97, 40, 97, 0, 97, 41, 97, 0, 97, 39,
239: 97, 0, 97, 38, 97, 0, 97, 36, 183, 37,
240: 97, 0, 97, 35, 97, 0, 97, 34, 97, 0,
241: 3, 0, 8, 0, 100, 0, 58, 91, 68, 0,
242: 58, 1, 68, 0, 0, 58, 99, 163, 68, 0,
243: 98, 58, 92, 68, 0, 98, 59, 91, 75, 0,
244: 98, 57, 89, 0, 98, 56, 89, 0, 98, 53,
245: 0, 98, 54, 0, 9, 0, 100, 9, 0, 0,
1.1.1.3 ! root 246: 103, 0, 103, 10, 0, 168, 169, 104, 0, 102,
1.1 root 247: 0, 157, 0, 103, 102, 0, 102, 157, 0, 109,
248: 107, 116, 69, 0, 111, 107, 117, 69, 0, 109,
1.1.1.3 ! root 249: 69, 0, 111, 69, 0, 168, 169, 108, 0, 105,
1.1 root 250: 0, 157, 0, 106, 105, 0, 105, 157, 0, 0,
251: 109, 107, 116, 69, 0, 111, 107, 117, 69, 0,
252: 109, 107, 128, 0, 111, 107, 130, 0, 109, 69,
253: 0, 111, 69, 0, 114, 110, 0, 111, 114, 110,
254: 0, 0, 110, 115, 0, 110, 5, 0, 7, 0,
255: 5, 0, 111, 7, 0, 111, 5, 0, 114, 113,
256: 0, 152, 114, 113, 0, 0, 113, 115, 0, 6,
257: 0, 136, 0, 4, 0, 28, 58, 91, 68, 0,
258: 28, 58, 150, 68, 0, 6, 0, 7, 0, 136,
259: 0, 119, 0, 116, 73, 119, 0, 121, 0, 117,
260: 73, 119, 0, 0, 27, 58, 100, 68, 0, 0,
261: 132, 118, 123, 35, 120, 126, 0, 132, 118, 123,
262: 0, 0, 135, 118, 123, 35, 122, 126, 0, 135,
263: 118, 123, 0, 0, 31, 58, 58, 124, 68, 68,
264: 0, 125, 0, 124, 73, 125, 0, 3, 0, 3,
1.1.1.3 ! root 265: 58, 3, 68, 0, 3, 58, 8, 68, 0, 3,
! 266: 58, 3, 73, 8, 73, 8, 68, 0, 97, 0,
! 267: 74, 70, 0, 74, 127, 70, 0, 74, 127, 73,
! 268: 70, 0, 1, 0, 126, 0, 127, 73, 126, 0,
! 269: 59, 97, 75, 126, 0, 127, 73, 59, 97, 75,
! 270: 126, 0, 89, 37, 126, 0, 127, 73, 89, 37,
! 271: 126, 0, 0, 132, 129, 163, 0, 0, 135, 131,
! 272: 163, 0, 133, 0, 135, 0, 58, 133, 68, 0,
! 273: 133, 58, 195, 0, 133, 59, 91, 75, 0, 133,
! 274: 59, 75, 0, 49, 153, 133, 0, 4, 0, 134,
! 275: 58, 195, 0, 134, 59, 91, 75, 0, 134, 59,
! 276: 75, 0, 49, 153, 134, 0, 4, 0, 135, 58,
! 277: 195, 0, 58, 135, 68, 0, 49, 153, 135, 0,
! 278: 135, 59, 91, 75, 0, 135, 59, 75, 0, 3,
! 279: 0, 0, 13, 89, 74, 137, 143, 70, 0, 13,
! 280: 74, 143, 70, 0, 13, 89, 0, 0, 14, 89,
! 281: 74, 138, 143, 70, 0, 14, 74, 143, 70, 0,
! 282: 14, 89, 0, 0, 12, 89, 74, 139, 148, 142,
! 283: 70, 0, 0, 12, 74, 140, 148, 142, 70, 0,
! 284: 12, 89, 0, 0, 73, 0, 0, 73, 0, 144,
! 285: 0, 144, 145, 0, 0, 144, 145, 69, 0, 144,
! 286: 69, 0, 112, 107, 146, 0, 112, 0, 152, 107,
! 287: 146, 0, 152, 0, 1, 0, 147, 0, 146, 73,
! 288: 147, 0, 168, 169, 132, 123, 0, 168, 169, 132,
! 289: 37, 97, 123, 0, 168, 169, 37, 97, 0, 149,
! 290: 0, 148, 73, 149, 0, 89, 0, 89, 35, 97,
! 291: 0, 112, 151, 0, 152, 151, 0, 0, 154, 0,
! 292: 7, 0, 152, 7, 0, 0, 153, 7, 0, 58,
! 293: 154, 68, 0, 49, 153, 154, 0, 49, 153, 0,
! 294: 154, 58, 188, 0, 154, 59, 91, 75, 0, 154,
! 295: 59, 75, 0, 58, 188, 0, 59, 91, 75, 0,
! 296: 59, 75, 0, 171, 0, 155, 171, 0, 155, 157,
! 297: 0, 0, 155, 0, 1, 69, 0, 0, 0, 160,
! 298: 0, 161, 0, 160, 161, 0, 33, 199, 69, 0,
! 299: 163, 0, 1, 163, 0, 74, 70, 0, 74, 158,
! 300: 159, 106, 156, 70, 0, 74, 158, 159, 1, 70,
! 301: 0, 74, 158, 159, 155, 70, 0, 165, 170, 0,
! 302: 165, 1, 0, 15, 58, 91, 68, 0, 0, 18,
! 303: 167, 170, 17, 0, 0, 0, 168, 169, 173, 0,
! 304: 168, 169, 181, 170, 0, 168, 169, 172, 0, 173,
! 305: 0, 181, 0, 163, 0, 91, 69, 0, 0, 164,
! 306: 16, 174, 170, 0, 164, 0, 164, 16, 1, 0,
! 307: 0, 0, 17, 175, 58, 91, 68, 176, 170, 0,
! 308: 166, 58, 91, 68, 69, 0, 166, 1, 0, 0,
! 309: 0, 0, 19, 58, 183, 69, 177, 183, 69, 178,
! 310: 183, 68, 179, 170, 0, 0, 20, 58, 91, 68,
! 311: 180, 170, 0, 23, 69, 0, 24, 69, 0, 25,
! 312: 69, 0, 25, 91, 69, 0, 27, 182, 58, 91,
! 313: 68, 69, 0, 27, 182, 58, 91, 37, 184, 68,
! 314: 69, 0, 27, 182, 58, 91, 37, 184, 37, 184,
! 315: 68, 69, 0, 27, 182, 58, 91, 37, 184, 37,
! 316: 184, 37, 187, 68, 69, 0, 26, 89, 69, 0,
! 317: 26, 49, 91, 69, 0, 69, 0, 21, 91, 37,
! 318: 0, 21, 91, 10, 91, 37, 0, 22, 37, 0,
! 319: 89, 37, 0, 0, 7, 0, 0, 91, 0, 0,
! 320: 185, 0, 186, 0, 185, 73, 186, 0, 9, 58,
! 321: 91, 68, 0, 100, 0, 187, 73, 100, 0, 0,
! 322: 189, 190, 0, 192, 68, 0, 0, 193, 69, 191,
! 323: 190, 0, 1, 68, 0, 0, 10, 0, 193, 0,
! 324: 193, 73, 10, 0, 194, 0, 193, 73, 194, 0,
! 325: 109, 134, 0, 109, 135, 0, 109, 151, 0, 111,
! 326: 135, 0, 111, 151, 0, 0, 196, 197, 0, 190,
! 327: 0, 198, 68, 0, 3, 0, 198, 73, 3, 0,
! 328: 89, 0, 199, 73, 89, 0
1.1 root 329: };
330:
331: #if YYDEBUG != 0
332: static const short yyrline[] = { 0,
1.1.1.2 root 333: 200, 203, 210, 212, 212, 213, 215, 217, 218, 228,
334: 234, 236, 238, 240, 242, 243, 244, 249, 255, 257,
335: 258, 260, 265, 267, 268, 270, 275, 277, 278, 282,
336: 284, 287, 289, 291, 293, 295, 297, 299, 303, 307,
1.1.1.3 ! root 337: 310, 313, 316, 320, 322, 325, 328, 331, 334, 354,
! 338: 359, 361, 363, 367, 369, 372, 397, 399, 401, 403,
! 339: 405, 407, 409, 411, 413, 415, 417, 419, 421, 423,
! 340: 425, 427, 429, 431, 435, 488, 489, 491, 497, 499,
! 341: 512, 528, 530, 532, 534, 536, 538, 543, 545, 549,
! 342: 551, 552, 562, 567, 569, 570, 571, 574, 579, 583,
! 343: 585, 593, 598, 600, 601, 602, 609, 617, 622, 626,
! 344: 630, 634, 636, 644, 647, 651, 653, 655, 663, 666,
! 345: 668, 670, 679, 682, 686, 688, 696, 697, 698, 702,
! 346: 706, 714, 715, 716, 719, 721, 724, 726, 729, 732,
! 347: 738, 743, 745, 751, 756, 758, 765, 768, 773, 775,
! 348: 780, 785, 795, 806, 820, 822, 826, 828, 830, 836,
! 349: 839, 842, 844, 846, 848, 852, 869, 873, 890, 897,
! 350: 899, 904, 907, 912, 914, 916, 918, 926, 932, 934,
! 351: 936, 938, 944, 950, 952, 954, 956, 958, 961, 966,
! 352: 970, 973, 975, 977, 979, 982, 984, 987, 990, 993,
! 353: 996, 1000, 1002, 1005, 1007, 1011, 1014, 1019, 1021, 1023,
! 354: 1037, 1043, 1048, 1053, 1058, 1062, 1064, 1068, 1072, 1076,
! 355: 1085, 1087, 1092, 1095, 1099, 1102, 1106, 1109, 1112, 1115,
! 356: 1119, 1122, 1126, 1130, 1132, 1134, 1136, 1138, 1140, 1142,
! 357: 1144, 1152, 1154, 1155, 1158, 1160, 1163, 1166, 1176, 1178,
! 358: 1183, 1185, 1188, 1202, 1205, 1208, 1210, 1215, 1220, 1228,
! 359: 1233, 1236, 1249, 1257, 1261, 1265, 1269, 1275, 1279, 1284,
! 360: 1286, 1297, 1300, 1305, 1310, 1313, 1321, 1323, 1333, 1342,
! 361: 1343, 1350, 1353, 1365, 1369, 1383, 1389, 1398, 1400, 1405,
! 362: 1410, 1414, 1418, 1429, 1436, 1443, 1450, 1461, 1465, 1472,
! 363: 1496, 1524, 1539, 1550, 1553, 1557, 1560, 1565, 1567, 1570,
! 364: 1572, 1576, 1581, 1584, 1590, 1595, 1600, 1602, 1611, 1612,
! 365: 1618, 1620, 1625, 1627, 1631, 1634, 1640, 1643, 1645, 1647,
! 366: 1649, 1656, 1661, 1666, 1668, 1677, 1680, 1685, 1688
1.1 root 367: };
368:
369: static const char * const yytname[] = { "$","error","$illegal.","IDENTIFIER",
370: "TYPENAME","SCSPEC","TYPESPEC","TYPE_QUAL","CONSTANT","STRING","ELLIPSIS","SIZEOF",
371: "ENUM","STRUCT","UNION","IF","ELSE","WHILE","DO","FOR","SWITCH","CASE","DEFAULT",
1.1.1.2 root 372: "BREAK","CONTINUE","RETURN","GOTO","ASM_KEYWORD","TYPEOF","ALIGNOF","ALIGN",
373: "ATTRIBUTE","EXTENSION","LABEL","ASSIGN","'='","'?'","':'","OROR","ANDAND","'|'",
374: "'^'","'&'","EQCOMPARE","ARITHCOMPARE","LSHIFT","RSHIFT","'+'","'-'","'*'","'/'",
375: "'%'","UNARY","PLUSPLUS","MINUSMINUS","HYPERUNARY","POINTSAT","'.'","'('","'['",
376: "INTERFACE","IMPLEMENTATION","END","SELECTOR","DEFS","ENCODE","CLASSNAME","PUBLIC",
377: "')'","';'","'}'","'~'","'!'","','","'{'","']'","program","extdefs","@1","@2",
378: "extdef","datadef","fndef","@3","@4","@5","@6","@7","@8","identifier","unop",
379: "expr","exprlist","nonnull_exprlist","unary_expr","@9","cast_expr","expr_no_commas",
380: "primary","@10","string","xdecls","lineno_datadecl","datadecls","datadecl","lineno_decl",
1.1 root 381: "decls","setspecs","decl","typed_declspecs","reserved_declspecs","declmods",
382: "typed_typespecs","reserved_typespecquals","typespec","typespecqual_reserved",
383: "initdecls","notype_initdecls","maybeasm","initdcl","@11","notype_initdcl","@12",
384: "maybe_attribute","attribute_list","attrib","init","initlist","nested_function",
385: "@13","notype_nested_function","@14","declarator","after_type_declarator","parm_declarator",
386: "notype_declarator","structsp","@15","@16","@17","@18","maybecomma","maybecomma_warn",
387: "component_decl_list","component_decl_list2","component_decl","components","component_declarator",
388: "enumlist","enumerator","typename","absdcl","nonempty_type_quals","type_quals",
389: "absdcl1","stmts","xstmts","errstmt","pushlevel","maybe_label_decls","label_decls",
1.1.1.3 ! root 390: "label_decl","compstmt_or_error","compstmt","simple_if","if_prefix","do_stmt_start",
! 391: "@19","save_filename","save_lineno","lineno_labeled_stmt","lineno_stmt_or_label",
! 392: "stmt_or_label","stmt","@20","@21","@22","@23","@24","@25","@26","label","maybe_type_qual",
1.1 root 393: "xexpr","asm_operands","nonnull_asm_operands","asm_operand","asm_clobbers","parmlist",
1.1.1.3 ! root 394: "@27","parmlist_1","@28","parmlist_2","parms","parm","parmlist_or_identifiers",
! 395: "@29","parmlist_or_identifiers_1","identifiers","identifiers_or_typenames",""
1.1 root 396: };
397: #endif
398:
399: static const short yyr1[] = { 0,
400: 76, 76, 78, 77, 79, 77, 80, 80, 80, 81,
401: 81, 81, 81, 81, 81, 81, 81, 83, 84, 82,
402: 82, 85, 86, 82, 82, 87, 88, 82, 82, 89,
403: 89, 90, 90, 90, 90, 90, 90, 90, 91, 92,
404: 92, 93, 93, 94, 94, 95, 94, 94, 94, 94,
405: 94, 94, 94, 96, 96, 96, 97, 97, 97, 97,
406: 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
407: 97, 97, 97, 97, 98, 98, 98, 98, 98, 99,
408: 98, 98, 98, 98, 98, 98, 98, 100, 100, 101,
409: 101, 101, 102, 103, 103, 103, 103, 104, 104, 104,
410: 104, 105, 106, 106, 106, 106, 107, 108, 108, 108,
411: 108, 108, 108, 109, 109, 110, 110, 110, 111, 111,
412: 111, 111, 112, 112, 113, 113, 114, 114, 114, 114,
413: 114, 115, 115, 115, 116, 116, 117, 117, 118, 118,
414: 120, 119, 119, 122, 121, 121, 123, 123, 124, 124,
1.1.1.3 ! root 415: 125, 125, 125, 125, 126, 126, 126, 126, 126, 127,
! 416: 127, 127, 127, 127, 127, 129, 128, 131, 130, 132,
! 417: 132, 133, 133, 133, 133, 133, 133, 134, 134, 134,
! 418: 134, 134, 135, 135, 135, 135, 135, 135, 137, 136,
! 419: 136, 136, 138, 136, 136, 136, 139, 136, 140, 136,
! 420: 136, 141, 141, 142, 142, 143, 143, 144, 144, 144,
! 421: 145, 145, 145, 145, 145, 146, 146, 147, 147, 147,
! 422: 148, 148, 149, 149, 150, 150, 151, 151, 152, 152,
! 423: 153, 153, 154, 154, 154, 154, 154, 154, 154, 154,
! 424: 154, 155, 155, 155, 156, 156, 157, 158, 159, 159,
! 425: 160, 160, 161, 162, 162, 163, 163, 163, 163, 164,
! 426: 164, 165, 167, 166, 168, 169, 170, 170, 171, 172,
! 427: 172, 173, 173, 174, 173, 173, 173, 175, 176, 173,
! 428: 173, 173, 177, 178, 179, 173, 180, 173, 173, 173,
! 429: 173, 173, 173, 173, 173, 173, 173, 173, 173, 181,
! 430: 181, 181, 181, 182, 182, 183, 183, 184, 184, 185,
! 431: 185, 186, 187, 187, 189, 188, 190, 191, 190, 190,
! 432: 192, 192, 192, 192, 193, 193, 194, 194, 194, 194,
! 433: 194, 196, 195, 197, 197, 198, 198, 199, 199
1.1 root 434: };
435:
436: static const short yyr2[] = { 0,
437: 0, 1, 0, 2, 0, 3, 1, 1, 5, 3,
438: 4, 4, 2, 2, 2, 2, 1, 0, 0, 7,
439: 4, 0, 0, 7, 4, 0, 0, 6, 3, 1,
440: 1, 1, 1, 1, 1, 1, 1, 1, 1, 0,
441: 1, 1, 3, 1, 2, 0, 3, 2, 2, 2,
442: 4, 2, 4, 1, 4, 7, 1, 3, 3, 3,
443: 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
444: 3, 5, 3, 3, 1, 1, 1, 3, 3, 0,
445: 4, 4, 4, 3, 3, 2, 2, 1, 2, 0,
446: 1, 2, 3, 1, 1, 2, 2, 4, 4, 2,
447: 2, 3, 1, 1, 2, 2, 0, 4, 4, 3,
448: 3, 2, 2, 2, 3, 0, 2, 2, 1, 1,
449: 2, 2, 2, 3, 0, 2, 1, 1, 1, 4,
450: 4, 1, 1, 1, 1, 3, 1, 3, 0, 4,
451: 0, 6, 3, 0, 6, 3, 0, 6, 1, 3,
1.1.1.3 ! root 452: 1, 4, 4, 8, 1, 2, 3, 4, 1, 1,
! 453: 3, 4, 6, 3, 5, 0, 3, 0, 3, 1,
! 454: 1, 3, 3, 4, 3, 3, 1, 3, 4, 3,
! 455: 3, 1, 3, 3, 3, 4, 3, 1, 0, 6,
! 456: 4, 2, 0, 6, 4, 2, 0, 7, 0, 6,
! 457: 2, 0, 1, 0, 1, 1, 2, 0, 3, 2,
! 458: 3, 1, 3, 1, 1, 1, 3, 4, 6, 4,
! 459: 1, 3, 1, 3, 2, 2, 0, 1, 1, 2,
! 460: 0, 2, 3, 3, 2, 3, 4, 3, 2, 3,
! 461: 2, 1, 2, 2, 0, 1, 2, 0, 0, 1,
! 462: 1, 2, 3, 1, 2, 2, 6, 5, 5, 2,
! 463: 2, 4, 0, 4, 0, 0, 3, 4, 3, 1,
! 464: 1, 1, 2, 0, 4, 1, 3, 0, 0, 7,
! 465: 5, 2, 0, 0, 0, 12, 0, 6, 2, 2,
! 466: 2, 3, 6, 8, 10, 12, 3, 4, 1, 3,
! 467: 5, 2, 2, 0, 1, 0, 1, 0, 1, 1,
! 468: 3, 4, 1, 3, 0, 2, 2, 0, 4, 2,
! 469: 0, 1, 1, 3, 1, 3, 2, 2, 2, 2,
! 470: 2, 0, 2, 1, 2, 1, 3, 1, 3
1.1 root 471: };
472:
473: static const short yydefact[] = { 3,
474: 5, 0, 0, 0, 129, 120, 127, 119, 0, 0,
475: 0, 0, 0, 17, 4, 8, 7, 0, 107, 107,
1.1.1.3 ! root 476: 116, 128, 6, 15, 16, 30, 31, 199, 201, 208,
! 477: 192, 208, 196, 0, 0, 188, 231, 0, 0, 137,
1.1 root 478: 0, 14, 0, 122, 121, 13, 0, 116, 114, 0,
1.1.1.3 ! root 479: 197, 0, 0, 189, 0, 193, 75, 76, 88, 0,
1.1 root 480: 0, 46, 0, 32, 34, 33, 0, 35, 36, 0,
481: 37, 38, 0, 0, 39, 54, 57, 42, 44, 77,
1.1.1.3 ! root 482: 229, 0, 227, 125, 0, 227, 0, 0, 10, 0,
! 483: 29, 0, 332, 0, 0, 147, 177, 231, 0, 0,
! 484: 135, 0, 170, 171, 0, 0, 115, 118, 132, 133,
! 485: 117, 134, 223, 204, 221, 0, 191, 215, 210, 107,
! 486: 207, 107, 208, 195, 208, 0, 50, 0, 52, 0,
1.1 root 487: 49, 45, 0, 0, 0, 0, 48, 0, 0, 0,
1.1.1.3 ! root 488: 0, 306, 0, 0, 0, 0, 0, 0, 0, 0,
1.1 root 489: 0, 0, 0, 0, 0, 0, 86, 87, 0, 0,
1.1.1.3 ! root 490: 40, 0, 89, 130, 231, 315, 0, 225, 228, 123,
! 491: 131, 230, 125, 226, 232, 185, 184, 138, 139, 0,
! 492: 183, 0, 187, 0, 0, 27, 0, 265, 95, 266,
! 493: 0, 146, 0, 0, 12, 0, 21, 0, 147, 332,
! 494: 0, 11, 25, 0, 0, 205, 0, 204, 265, 209,
! 495: 265, 0, 0, 0, 0, 47, 79, 78, 248, 0,
! 496: 0, 9, 43, 74, 73, 307, 0, 71, 70, 68,
1.1 root 497: 69, 67, 66, 65, 63, 64, 58, 59, 60, 61,
1.1.1.3 ! root 498: 62, 85, 84, 0, 41, 0, 235, 0, 239, 0,
! 499: 241, 0, 315, 0, 126, 124, 0, 0, 336, 322,
! 500: 227, 227, 334, 0, 323, 325, 333, 0, 186, 247,
! 501: 0, 97, 92, 96, 0, 0, 144, 176, 172, 136,
! 502: 19, 143, 173, 175, 0, 23, 224, 222, 200, 0,
! 503: 211, 216, 266, 213, 190, 194, 51, 53, 256, 249,
! 504: 81, 0, 55, 0, 82, 83, 234, 233, 316, 240,
! 505: 236, 238, 0, 140, 320, 182, 231, 315, 327, 328,
! 506: 329, 231, 330, 331, 317, 318, 0, 335, 0, 0,
! 507: 28, 254, 93, 107, 107, 0, 0, 0, 141, 174,
! 508: 0, 198, 265, 0, 0, 0, 250, 251, 159, 75,
! 509: 0, 0, 0, 155, 160, 202, 72, 237, 235, 332,
! 510: 0, 235, 0, 324, 326, 337, 255, 100, 0, 101,
! 511: 0, 151, 0, 149, 145, 20, 0, 24, 217, 0,
! 512: 147, 338, 0, 0, 0, 265, 0, 104, 266, 242,
! 513: 252, 0, 156, 0, 0, 0, 0, 181, 178, 180,
! 514: 0, 319, 0, 0, 139, 0, 0, 0, 142, 220,
! 515: 0, 218, 253, 0, 258, 106, 105, 0, 0, 259,
! 516: 244, 266, 243, 0, 0, 157, 0, 164, 0, 0,
! 517: 161, 56, 179, 98, 99, 0, 0, 148, 150, 147,
! 518: 339, 257, 0, 129, 0, 278, 263, 0, 0, 0,
! 519: 0, 0, 0, 0, 0, 304, 299, 0, 0, 102,
! 520: 107, 107, 272, 276, 0, 0, 269, 270, 271, 162,
! 521: 158, 0, 0, 152, 0, 153, 219, 0, 0, 265,
! 522: 306, 0, 0, 302, 289, 290, 291, 0, 0, 0,
! 523: 305, 0, 303, 273, 112, 0, 113, 0, 0, 261,
! 524: 266, 260, 282, 0, 0, 165, 0, 0, 0, 0,
! 525: 0, 0, 0, 300, 292, 0, 297, 0, 0, 110,
! 526: 139, 0, 111, 139, 277, 265, 0, 0, 163, 0,
! 527: 262, 0, 264, 283, 287, 0, 298, 0, 108, 0,
! 528: 109, 0, 275, 267, 265, 0, 0, 279, 306, 265,
! 529: 301, 308, 0, 167, 169, 268, 281, 154, 265, 0,
! 530: 288, 0, 0, 309, 310, 293, 280, 284, 0, 308,
! 531: 0, 0, 306, 0, 0, 294, 311, 0, 312, 0,
! 532: 0, 285, 313, 0, 295, 265, 0, 0, 286, 296,
! 533: 314, 0, 0, 0
1.1 root 534: };
535:
1.1.1.3 ! root 536: static const short yydefgoto[] = { 592,
! 537: 1, 2, 3, 15, 16, 17, 198, 338, 204, 341,
! 538: 95, 271, 113, 73, 226, 244, 75, 76, 130, 77,
! 539: 78, 79, 135, 80, 186, 187, 188, 333, 385, 386,
! 540: 18, 460, 261, 49, 262, 83, 170, 21, 111, 100,
! 541: 39, 96, 101, 377, 40, 337, 192, 373, 374, 355,
! 542: 356, 520, 540, 523, 542, 179, 103, 319, 104, 22,
! 543: 123, 125, 116, 50, 397, 207, 52, 53, 121, 291,
! 544: 292, 114, 115, 85, 168, 86, 87, 169, 387, 419,
! 545: 189, 300, 346, 347, 348, 331, 332, 464, 465, 466,
! 546: 480, 501, 275, 502, 390, 467, 468, 526, 479, 559,
! 547: 549, 573, 586, 550, 469, 492, 227, 563, 564, 565,
! 548: 584, 249, 250, 263, 363, 264, 265, 266, 181, 182,
! 549: 267, 268, 383
1.1 root 550: };
551:
1.1.1.3 ! root 552: static const short yypact[] = { 56,
! 553: 77, 1868, 1868, 91,-32768,-32768,-32768,-32768, 41, 64,
! 554: 71, 89, 110,-32768,-32768,-32768,-32768, 90, 22, 230,
! 555: -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 145,-32768,
! 556: 151,-32768, 174, 1758, 1683,-32768,-32768, 90, 81,-32768,
! 557: 267,-32768, 314,-32768,-32768,-32768, 90,-32768, 541, 358,
! 558: -32768, 200, 373,-32768, 205,-32768,-32768,-32768,-32768, 1785,
! 559: 1812,-32768, 358,-32768,-32768,-32768, 1758,-32768,-32768, 923,
! 560: -32768,-32768, 1758, 112, 209,-32768,-32768, 1985, 339, 275,
! 561: -32768, 233, 163,-32768, 243, 1129, 342, 192,-32768, 314,
! 562: -32768, 272,-32768, 1297, 353, 304,-32768,-32768, 314, 172,
! 563: -32768, 158, 371, 381, 235, 1258, 541,-32768,-32768,-32768,
! 564: -32768,-32768, 298, 273,-32768, 358,-32768,-32768,-32768, 380,
! 565: 279, 875,-32768,-32768,-32768, 923,-32768, 923,-32768, 1758,
! 566: -32768,-32768, 308, 310, 296, 316,-32768, 313, 1758, 1758,
! 567: 1758, 1758, 1758, 1758, 1758, 1758, 1758, 1758, 1758, 1758,
! 568: 1758, 1758, 1758, 1758, 1758, 1758,-32768,-32768, 358, 358,
! 569: 1758, 1758,-32768,-32768,-32768, 163, 1332,-32768, 393, 545,
! 570: -32768,-32768,-32768,-32768,-32768, 381,-32768,-32768, 362, 390,
! 571: -32768, 1060,-32768, 330, 341,-32768, 309, 40,-32768,-32768,
! 572: 355, 389, 55, 194,-32768, 314,-32768, 353, 304,-32768,
! 573: 1367,-32768,-32768, 353, 1758, 358, 345, 273,-32768,-32768,
! 574: -32768, 356, 363, 367, 369,-32768,-32768,-32768, 375, 386,
! 575: 1630,-32768, 1985, 1985, 1985,-32768, 437, 1861, 1456, 1946,
! 576: 868, 580, 723, 242, 651, 651, 368, 368,-32768,-32768,
! 577: -32768,-32768,-32768, 420, 209, 402, 181, 218,-32768, 459,
! 578: -32768, 414,-32768, 1402,-32768, 545, 28, 422,-32768,-32768,
! 579: 293, 1885,-32768, 423, 255,-32768,-32768, -25,-32768,-32768,
! 580: 48,-32768,-32768,-32768, 810, 443,-32768, 371,-32768,-32768,
! 581: -32768, 472,-32768,-32768, 446,-32768, 1985,-32768,-32768, 452,
! 582: 453,-32768,-32768, 453,-32768,-32768,-32768,-32768,-32768, 495,
! 583: -32768, 1195,-32768, 1758,-32768,-32768, 393,-32768,-32768,-32768,
! 584: -32768,-32768, 454,-32768,-32768,-32768,-32768, 117, 409, 381,
! 585: -32768,-32768, 381,-32768,-32768,-32768, 738,-32768, 528, 296,
! 586: -32768,-32768,-32768, 463, 594, 531, 1249, 48,-32768,-32768,
! 587: 48,-32768,-32768, 220, 358, 563, 495,-32768,-32768, 499,
! 588: 1758, 979, 500, 1985,-32768, 468, 1169,-32768, 638,-32768,
! 589: 1437, 206, 459,-32768,-32768,-32768,-32768,-32768, 314,-32768,
! 590: 90, 484, 5,-32768,-32768,-32768, 1249,-32768,-32768, 1758,
! 591: 34,-32768, 295, 412, 491, 473, 635,-32768,-32768,-32768,
! 592: -32768, 1911,-32768, -7, 1249, 1051, 480, 409,-32768,-32768,
! 593: 498,-32768, 300, 302, 30, 104, 511, 531,-32768, 1985,
! 594: 1758,-32768,-32768, 358,-32768,-32768,-32768, 707, 523,-32768,
! 595: -32768,-32768,-32768, 1510, 1249,-32768, 1123,-32768, 1758, 557,
! 596: -32768,-32768,-32768,-32768,-32768, 106, 529,-32768,-32768, 1967,
! 597: -32768,-32768, 1582, 559, 546,-32768,-32768, 551, 555, 1758,
! 598: 566, 549, 550, 1710, 50, 607,-32768, 578, 564,-32768,
! 599: 571, 666,-32768, 604, 779, 45,-32768,-32768,-32768,-32768,
! 600: -32768, 1929, 1249,-32768, 639,-32768,-32768, 1758, 590,-32768,
! 601: 1758, 1758, 132,-32768,-32768,-32768,-32768, 582, 1758, 596,
! 602: -32768, 591,-32768,-32768,-32768, 314,-32768, 90, 851,-32768,
! 603: -32768,-32768,-32768, 1758, 1249,-32768, 593, 600, 1758, 652,
! 604: 606, 608, 1758,-32768,-32768, 612,-32768, 1758, 335,-32768,
! 605: 37, 338,-32768, 24,-32768,-32768, 1582, 617,-32768, 678,
! 606: -32768, 622,-32768,-32768,-32768, 654,-32768, 18,-32768, 296,
! 607: -32768, 296,-32768,-32768,-32768, 623, 627,-32768, 1758,-32768,
! 608: -32768, 694, 643,-32768,-32768,-32768,-32768,-32768,-32768, 644,
! 609: -32768, 656, 33, 646,-32768,-32768,-32768,-32768, 1758, 694,
! 610: 648, 694, 1758, 653, 114,-32768,-32768, 655,-32768, 390,
! 611: 668,-32768, 275, 186,-32768,-32768, 669, 390,-32768,-32768,
! 612: 275, 720, 740,-32768
1.1 root 613: };
614:
615: static const short yypgoto[] = {-32768,
1.1.1.3 ! root 616: -32768,-32768,-32768, 744,-32768,-32768,-32768,-32768,-32768,-32768,
! 617: -32768,-32768, -2,-32768, -34,-32768, 592, 425,-32768, -40,
! 618: 51,-32768,-32768, -174, -58, 553,-32768,-32768, 372,-32768,
! 619: -3,-32768, 8, 709, 10, 706, 589, -1, -130, -344,
! 620: -42, -100, -52,-32768,-32768,-32768, -173,-32768, 376, -290,
! 621: 411,-32768,-32768,-32768,-32768, -39, -70, 405, -15, -27,
! 622: -32768,-32768,-32768,-32768,-32768, 567, 7,-32768,-32768, 574,
! 623: 448, 670, 583, 27, -51, 739, -84, -145, 407,-32768,
! 624: -169,-32768,-32768,-32768, 460, -29, -104,-32768,-32768,-32768,
! 625: -32768, -80, -273, -450, -231,-32768, 268,-32768,-32768,-32768,
! 626: -32768,-32768,-32768,-32768, 282,-32768, -439, 240,-32768, 241,
! 627: -32768, 572,-32768, -222,-32768,-32768,-32768, 485, -176,-32768,
! 628: -32768,-32768,-32768
1.1 root 629: };
630:
631:
1.1.1.3 ! root 632: #define YYLAST 2036
1.1 root 633:
634:
635: static const short yytable[] = { 74,
1.1.1.3 ! root 636: 82, 199, 41, 102, 105, 257, 29, 31, 33, 19,
! 637: 19, 20, 20, 193, 190, 43, 47, 272, 48, 344,
! 638: 248, 112, 88, 283, 403, 282, 132, 309, 194, 510,
! 639: 220, 106, 137, 84, 174, 134, 163, 178, 55, 255,
! 640: -91, 511, 328, 26, 27, 503, 375, 329, 330, 273,
! 641: 92, 84, 26, 27, 552, -1, 92, 36, 97, 184,
! 642: 131, 175, 426, 92, 191, 427, 26, 27, 84, 570,
! 643: 411, 176, 407, 26, 27, 543, -2, 408, 199, 112,
! 644: 247, 93, 94, 88, 173, 553, 409, 93, 94, 216,
! 645: 42, 134, 36, 134, 556, 314, 136, -168, 489, 561,
! 646: 571, 307, 504, 98, 428, 431, 436, 190, 567, 560,
! 647: -166, 437, 99, -91, 28, 424, 209, 190, 211, 36,
! 648: 173, 219, 278, 190, 84, 255, 84, 246, 293, 212,
! 649: 293, 213, 252, 578, 470, 589, 431, 30, 37, 281,
! 650: 402, 513, 112, 280, 32, 286, 34, 38, 443, 89,
! 651: 580, 519, 214, 90, 215, 423, 242, 243, 197, 24,
! 652: 25, -18, -18, -18, -18, 322, 285, 35, 514, -18,
! 653: -18, -18, 248, 474, 318, 167, 388, 176, 475, 138,
! 654: 303, 581, 506, 399, 92, -18, 423, 175, -139, 223,
! 655: 224, 225, -139, 228, 229, 230, 231, 232, 233, 234,
! 656: 235, 236, 237, 238, 239, 240, 241, 412, 36, 321,
! 657: 324, 165, 175, 307, 529, 416, 307, 421, 51, 313,
! 658: 166, 167, 36, 97, 54, 367, -139, 527, 112, 165,
! 659: -139, -18, 359, 5, 44, 7, 45, 362, 166, 167,
! 660: 195, 9, 10, 11, 196, 320, 323, 56, 421, 93,
! 661: 94, 200, 201, 587, 322, 287, 380, 13, 588, 177,
! 662: 48, 279, 293, 318, 167, 389, 477, 91, 98, 117,
! 663: -26, -26, -26, -26, 124, 253, 254, 99, -26, -26,
! 664: -26, 139, 334, 163, 335, 308, 150, 151, 152, 153,
! 665: 154, 155, 156, 92, -26, 36, 316, -139, 46, 353,
! 666: 164, -139, 88, 202, 381, 389, 422, 90, 376, 185,
! 667: 171, 378, -94, -94, -94, -94, 36, 97, -94, 463,
! 668: -94, -94, -94, 326, 93, 94, 401, 327, 404, 180,
! 669: 369, 371, 205, 48, 191, -139, -94, 422, 463, -139,
! 670: -26, 317, 382, 176, 36, 206, 176, 210, 175, 353,
! 671: 318, 167, 354, 185, 357, 405, -265, -265, -265, -265,
! 672: 26, 27, 98, 413, -265, -265, -265, 414, 434, 219,
! 673: 435, 99, 196, 118, 90, 217, 5, 218, 7, 81,
! 674: -265, 222, -94, 221, 9, 10, 11, 354, 92, 459,
! 675: 37, 157, 158, 430, 159, 160, 161, 162, 59, 38,
! 676: 13, 392, 354, 539, 269, 583, 541, 196, 459, 270,
! 677: 90, 441, 276, 591, 289, 483, 154, 155, 156, 488,
! 678: 199, 458, 463, 277, 430, 295, -90, 354, 200, 201,
! 679: 410, 461, 296, 462, 297, 554, 298, 555, 93, 94,
! 680: 458, 119, -206, 508, 299, 354, 354, 512, -212, -212,
! 681: 253, 254, 490, 301, 516, 522, 521, 496, 498, 258,
! 682: 48, 440, 5, 6, 7, 8, 360, 361, 260, 528,
! 683: 9, 10, 11, 304, 532, 354, 306, 354, 536, 472,
! 684: 270, 415, 524, 538, 127, 129, 13, 305, 310, 315,
! 685: 325, 185, 459, -103, -103, -103, -103, -103, -103, -103,
! 686: 336, -103, -103, -103, -103, -103, 339, -103, -103, -103,
! 687: -103, -103, -103, -103, -103, -103, -103, -103, -103, -103,
! 688: 340, 342, -103, 354, 458, 343, -321, 345, 358, -103,
! 689: 366, 368, -103, 372, 574, -30, 395, -103, -103, -103,
! 690: 396, 406, -245, -103, -103, 108, 109, 110, -103, 432,
! 691: 109, 110, 9, 10, 11, 354, 9, 10, 11, -103,
! 692: -103, -103, -103, 384, -103, -265, -265, -265, -265, -265,
! 693: -265, -265, 433, -265, -265, -265, -265, -265, 438, -265,
! 694: -265, -265, -265, -265, -265, -265, -265, -265, -265, -265,
! 695: -265, -265, 442, 473, -265, -31, 476, 5, 44, 7,
! 696: 45, -265, 484, 478, -265, 9, 10, 11, 481, -265,
! 697: -265, -265, 482, 491, 493, -265, -265, 485, 486, 499,
! 698: -265, 13, 148, 149, 150, 151, 152, 153, 154, 155,
! 699: 156, -265, 494, -265, -265, 185, -265, -265, -265, 495,
! 700: 36, 316, -265, -265, 175, -265, 507, 509, 518, -265,
! 701: 515, -265, -265, -265, -265, -265, -265, -265, -265, -265,
! 702: -265, -265, 370, -265, 517, 530, -265, 531, 533, 5,
! 703: 44, 7, 45, -265, 534, 535, -265, 9, 10, 11,
! 704: 537, -265, -265, -265, 546, 547, 317, -265, -265, 548,
! 705: 551, 557, -265, 13, 558, 318, 167, 152, 153, 154,
! 706: 155, 156, 562, -265, 420, -265, -265, 185, -265, -265,
! 707: -265, 566, 568, 569, -265, -265, 576, -265, 572, 593,
! 708: 579, -265, 582, -265, -265, -265, -265, -265, -265, -265,
! 709: -265, -265, -265, -265, 497, -265, 585, 590, -265, 594,
! 710: 274, 5, 6, 7, 8, -265, 23, 364, -265, 9,
! 711: 10, 11, 245, -265, -265, -265, 107, 417, 120, -265,
! 712: -265, 256, 394, 398, -265, 13, 149, 150, 151, 152,
! 713: 153, 154, 155, 156, 290, -265, -246, -265, -265, 500,
! 714: -265, -265, -265, 439, 294, 208, -265, -265, 288, -265,
! 715: 379, 122, 418, -265, 544, -265, -265, -265, -265, -265,
! 716: -265, -265, -265, -265, -265, -265, 391, -265, 545, 575,
! 717: -265, 365, 577, 5, 6, 7, 8, -265, 0, 0,
! 718: -265, 9, 10, 11, 311, -265, -265, -265, 0, 0,
! 719: 0, -265, -265, 0, 0, 0, -265, 13, 0, 0,
! 720: 0, 0, 0, 0, 0, 0, 0, -265, 0, -265,
! 721: -265, 525, -265, -274, -274, 0, 0, 0, -274, -274,
! 722: 0, -274, 0, 0, 0, -274, 0, -274, -274, -274,
! 723: -274, -274, -274, -274, -274, -274, -274, -274, 5, -274,
! 724: 7, 172, -274, 0, 0, 0, 9, 10, 11, -274,
! 725: 0, 0, -274, 0, 0, 0, 0, -274, -274, -274,
! 726: 0, 0, 13, -274, -274, 0, 0, 0, -274, 147,
! 727: 148, 149, 150, 151, 152, 153, 154, 155, 156, -274,
! 728: 0, -274, -274, 133, -274, 57, 5, 0, 7, 81,
! 729: 58, 59, 0, 60, 9, 10, 11, 0, 0, 0,
! 730: 0, 0, 0, -214, -214, 0, 0, 0, 0, 0,
! 731: 13, 61, 0, 0, 62, 0, 0, 0, 0, 0,
1.1 root 732: 0, 63, 0, 0, 64, 0, 0, 0, 0, 65,
1.1.1.3 ! root 733: 66, 67, 0, 0, 0, 68, 69, 0, 0, 349,
! 734: 70, 350, 27, 0, 0, 0, 58, 59, 0, 60,
! 735: 0, 0, 0, 71, 72, 0, -80, 0, 0, 0,
! 736: 0, 0, 0, 0, 0, 0, 0, 61, 0, 0,
1.1 root 737: 62, 0, 0, 0, 0, 0, 0, 63, 0, 0,
738: 64, 0, 0, 0, 0, 65, 66, 67, 0, 0,
1.1.1.3 ! root 739: 0, 68, 69, 0, 0, 0, 70, 351, 0, 0,
! 740: 0, 0, 0, 0, 0, 0, 0, 0, 393, 71,
! 741: 72, 349, 352, 350, 27, 0, 0, 0, 58, 59,
! 742: 258, 60, 259, 5, 6, 7, 8, 0, 0, 260,
! 743: 0, 9, 10, 11, 0, 0, 0, 0, 0, 61,
! 744: 0, 0, 62, 0, 0, 0, 0, 13, 0, 63,
1.1 root 745: 0, 0, 64, 0, 0, 0, 0, 65, 66, 67,
1.1.1.3 ! root 746: 0, 0, 0, 68, 69, 0, 0, 0, 70, 429,
! 747: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
! 748: -203, 71, 72, 349, 352, 350, 27, -321, 0, 0,
! 749: 58, 59, 5, 60, 7, 172, 0, 0, 0, 0,
! 750: 9, 10, 11, 0, 0, 0, 0, 0, 0, 0,
! 751: 0, 61, 0, 0, 62, 0, 13, 0, 0, 0,
! 752: 0, 63, 0, 0, 64, 0, 0, 0, 0, 65,
! 753: 66, 67, 0, 0, 0, 68, 69, 165, 0, 0,
! 754: 70, 429, 0, 0, 0, 0, 166, 167, 0, 0,
! 755: 0, 0, 471, 71, 72, 349, 352, 350, 27, 0,
! 756: 0, 0, 58, 59, 142, 60, 143, 144, 145, 146,
! 757: 147, 148, 149, 150, 151, 152, 153, 154, 155, 156,
! 758: 0, 0, 0, 61, 0, 0, 62, 0, 0, 0,
! 759: 0, 0, 0, 63, 0, 0, 64, 0, 0, 0,
! 760: 0, 65, 66, 67, 0, 0, 0, 68, 69, 349,
! 761: 0, 57, 70, 351, 0, 0, 58, 59, 203, 60,
! 762: 0, -22, -22, -22, -22, 71, 72, 0, 352, -22,
! 763: -22, -22, 0, 0, 0, 0, 0, 61, 0, 0,
! 764: 62, 0, 0, 0, 92, -22, 0, 63, -139, 0,
! 765: 64, 0, -139, 0, 0, 65, 66, 67, 0, 57,
1.1 root 766: 0, 68, 69, 0, 58, 59, 70, 60, 0, 0,
1.1.1.3 ! root 767: 0, 0, 0, 0, 0, 93, 94, 0, 0, 71,
! 768: 72, 0, 352, 0, 0, 61, -139, 0, 62, 0,
! 769: -139, -22, 0, 0, 57, 63, 0, 0, 64, 58,
! 770: 59, 0, 60, 65, 66, 67, 0, 0, 0, 68,
! 771: 69, 0, 0, 0, 70, 0, 0, 0, 0, 0,
! 772: 61, 0, 0, 62, 0, 0, 0, 71, 72, 57,
! 773: 63, 183, 0, 64, 58, 59, 0, 60, 65, 66,
! 774: 67, 0, 0, 0, 68, 69, 0, 0, 0, 70,
! 775: 0, 0, 0, 0, 0, 61, 0, 0, 62, 0,
! 776: 0, 0, 71, 72, 57, 63, 251, 0, 64, 58,
! 777: 59, 0, 60, 65, 66, 67, 0, 0, 0, 68,
! 778: 69, 0, 0, 0, 70, 0, 0, 0, 0, 0,
! 779: 61, 0, 0, 62, 0, 0, 0, 71, 72, 57,
! 780: 63, 284, 0, 64, 58, 59, 0, 60, 65, 66,
! 781: 67, 0, 0, 0, 68, 69, 0, 0, 0, 70,
! 782: 0, 0, 0, 0, 0, 61, 0, 0, 62, 0,
! 783: 0, 0, 71, 72, 0, 63, 312, 0, 64, 0,
1.1 root 784: 0, 0, 0, 65, 66, 67, 0, 0, 0, 68,
1.1.1.3 ! root 785: 69, 0, 0, 0, 70, 145, 146, 147, 148, 149,
! 786: 150, 151, 152, 153, 154, 155, 156, 71, 72, 0,
! 787: 0, 400, 350, 444, 6, 7, 8, 58, 59, 0,
! 788: 60, 9, 10, 11, 445, 0, 446, 447, 448, 449,
! 789: 450, 451, 452, 453, 454, 455, 456, 13, 61, 0,
! 790: 0, 62, 0, 0, 0, 0, 0, 0, 63, 0,
! 791: 0, 64, 0, 0, 0, 0, 65, 66, 67, 0,
! 792: 0, 0, 68, 69, 0, 0, 0, 70, 0, 0,
! 793: 0, 0, 0, 0, 0, 0, 0, 0, 457, 0,
! 794: 71, 72, 0, 219, 350, 27, 0, 0, 0, 58,
! 795: 59, 0, 60, 0, 0, 0, 445, 0, 446, 447,
! 796: 448, 449, 450, 451, 452, 453, 454, 455, 456, 0,
! 797: 61, 0, 0, 62, 0, 0, 0, 0, 0, 0,
! 798: 63, 0, 0, 64, 0, 0, 0, 0, 65, 66,
! 799: 67, 0, 57, 0, 68, 69, 0, 58, 59, 70,
! 800: 60, 0, 0, 0, 0, 0, 0, 0, 0, 0,
! 801: 457, 0, 71, 72, 0, 219, 0, 0, 61, 0,
! 802: 0, 62, 0, 0, 0, 0, 0, 0, 63, 0,
! 803: 0, 64, 0, 0, 0, 0, 65, 66, 67, 0,
! 804: 0, 0, 68, 69, 0, 57, 5, 70, 7, 81,
! 805: 58, 59, 0, 60, 9, 10, 11, 0, 0, 0,
! 806: 71, 72, 0, 302, 0, 0, 0, 0, 0, 0,
! 807: 13, 61, 57, 0, 62, 0, 0, 58, 59, 0,
! 808: 60, 63, 0, 0, 64, 0, 0, 0, 0, 65,
! 809: 66, 67, 0, 0, 0, 68, 69, 0, 61, 0,
! 810: 70, 62, 0, 0, 0, 0, 0, 0, 63, 0,
! 811: 0, 64, 0, 71, 72, 0, 65, 66, 67, 0,
! 812: 57, 0, 68, 69, 0, 58, 59, 70, 60, 0,
! 813: 0, 0, 0, 0, 0, 0, 0, 0, 487, 0,
! 814: 71, 72, 0, 0, 0, 0, 61, 57, 0, 62,
! 815: 0, 0, 58, 59, 0, 60, 63, 0, 0, 64,
! 816: 0, 0, 0, 0, 65, 66, 67, 0, 0, 0,
! 817: 68, 69, 0, 61, 57, 70, 62, 0, 0, 58,
! 818: 59, 0, 60, 63, 0, 0, 64, 0, 71, 72,
! 819: 0, 65, 66, 67, 0, 0, 0, 68, 69, 0,
! 820: 61, 0, 126, 62, 0, 0, 0, 0, 0, 0,
! 821: 63, 0, 0, 64, 0, 71, 72, 0, 65, 66,
! 822: 67, 0, 0, 0, 68, 69, 0, 0, 4, 128,
! 823: -107, 5, 6, 7, 8, 0, 0, 0, 0, 9,
! 824: 10, 11, 71, 72, 0, 0, 0, 36, 5, 44,
! 825: 7, 45, 0, 0, 12, 13, 9, 10, 11, 144,
! 826: 145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
! 827: 155, 156, 13, 0, 0, 0, -107, 0, 0, 0,
! 828: 0, 0, 0, 0, 0, -107, 0, 0, 0, 0,
! 829: 0, 0, 0, 322, 0, 0, 14, 0, 0, 0,
! 830: 0, 0, 318, 167, 140, 141, 142, 0, 143, 144,
! 831: 145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
! 832: 155, 156, 140, 141, 142, 0, 143, 144, 145, 146,
! 833: 147, 148, 149, 150, 151, 152, 153, 154, 155, 156,
! 834: 0, 0, 0, 0, 0, 425, 146, 147, 148, 149,
! 835: 150, 151, 152, 153, 154, 155, 156, 191, 0, 0,
! 836: 140, 141, 142, 505, 143, 144, 145, 146, 147, 148,
! 837: 149, 150, 151, 152, 153, 154, 155, 156, 140, 141,
! 838: 142, 0, 143, 144, 145, 146, 147, 148, 149, 150,
! 839: 151, 152, 153, 154, 155, 156
1.1 root 840: };
841:
842: static const short yycheck[] = { 34,
1.1.1.3 ! root 843: 35, 102, 18, 43, 47, 180, 9, 10, 11, 2,
! 844: 3, 2, 3, 98, 95, 19, 20, 187, 20, 293,
! 845: 166, 49, 38, 200, 369, 199, 67, 250, 99, 480,
! 846: 135, 47, 73, 35, 86, 70, 9, 90, 32, 170,
! 847: 1, 481, 68, 3, 4, 1, 337, 73, 1, 10,
! 848: 27, 53, 3, 4, 37, 0, 27, 3, 4, 94,
! 849: 63, 7, 70, 27, 31, 73, 3, 4, 70, 37,
! 850: 37, 87, 68, 3, 4, 526, 0, 73, 179, 107,
! 851: 165, 58, 59, 99, 86, 68, 377, 58, 59, 130,
! 852: 69, 126, 3, 128, 545, 68, 70, 74, 49, 550,
! 853: 68, 247, 58, 49, 395, 396, 3, 188, 559, 549,
! 854: 74, 8, 58, 74, 74, 389, 120, 198, 122, 3,
! 855: 122, 74, 193, 204, 126, 256, 128, 162, 209, 123,
! 856: 211, 125, 167, 573, 425, 586, 427, 74, 49, 198,
! 857: 363, 10, 170, 196, 74, 204, 58, 58, 422, 69,
! 858: 37, 496, 126, 73, 128, 387, 159, 160, 1, 69,
! 859: 70, 4, 5, 6, 7, 49, 201, 58, 37, 12,
! 860: 13, 14, 318, 68, 58, 59, 346, 193, 73, 68,
! 861: 221, 68, 473, 360, 27, 28, 418, 7, 31, 139,
! 862: 140, 141, 35, 143, 144, 145, 146, 147, 148, 149,
! 863: 150, 151, 152, 153, 154, 155, 156, 381, 3, 261,
! 864: 262, 49, 7, 359, 505, 385, 362, 387, 74, 254,
! 865: 58, 59, 3, 4, 74, 330, 69, 501, 256, 49,
! 866: 73, 74, 317, 4, 5, 6, 7, 322, 58, 59,
! 867: 69, 12, 13, 14, 73, 261, 262, 74, 418, 58,
! 868: 59, 58, 59, 68, 49, 205, 37, 28, 73, 68,
! 869: 262, 68, 343, 58, 59, 346, 440, 1, 49, 70,
! 870: 4, 5, 6, 7, 70, 58, 59, 58, 12, 13,
! 871: 14, 73, 275, 9, 275, 68, 45, 46, 47, 48,
! 872: 49, 50, 51, 27, 28, 3, 4, 31, 69, 302,
! 873: 68, 35, 318, 69, 344, 386, 387, 73, 338, 1,
! 874: 68, 341, 4, 5, 6, 7, 3, 4, 10, 424,
! 875: 12, 13, 14, 69, 58, 59, 361, 73, 371, 58,
! 876: 334, 335, 35, 335, 31, 69, 28, 418, 443, 73,
! 877: 74, 49, 345, 359, 3, 73, 362, 69, 7, 352,
! 878: 58, 59, 302, 1, 304, 371, 4, 5, 6, 7,
! 879: 3, 4, 49, 69, 12, 13, 14, 73, 69, 74,
! 880: 69, 58, 73, 1, 73, 68, 4, 68, 6, 7,
! 881: 28, 69, 74, 68, 12, 13, 14, 337, 27, 424,
! 882: 49, 53, 54, 396, 56, 57, 58, 59, 9, 58,
! 883: 28, 351, 352, 69, 75, 580, 69, 73, 443, 69,
! 884: 73, 414, 58, 588, 70, 450, 49, 50, 51, 454,
! 885: 521, 424, 527, 35, 427, 70, 74, 377, 58, 59,
! 886: 380, 424, 70, 424, 68, 540, 68, 542, 58, 59,
! 887: 443, 69, 70, 478, 70, 395, 396, 482, 69, 70,
! 888: 58, 59, 455, 68, 489, 498, 496, 461, 462, 1,
! 889: 462, 411, 4, 5, 6, 7, 58, 59, 10, 504,
! 890: 12, 13, 14, 37, 509, 425, 75, 427, 513, 429,
! 891: 69, 70, 498, 518, 60, 61, 28, 68, 75, 68,
! 892: 68, 1, 527, 3, 4, 5, 6, 7, 8, 9,
! 893: 58, 11, 12, 13, 14, 15, 35, 17, 18, 19,
! 894: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
! 895: 75, 70, 32, 473, 527, 73, 68, 33, 75, 39,
! 896: 3, 69, 42, 3, 569, 37, 37, 47, 48, 49,
! 897: 73, 58, 70, 53, 54, 5, 6, 7, 58, 70,
! 898: 6, 7, 12, 13, 14, 505, 12, 13, 14, 69,
! 899: 70, 71, 72, 1, 74, 3, 4, 5, 6, 7,
! 900: 8, 9, 75, 11, 12, 13, 14, 15, 68, 17,
! 901: 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
! 902: 28, 29, 70, 37, 32, 37, 68, 4, 5, 6,
! 903: 7, 39, 37, 58, 42, 12, 13, 14, 58, 47,
! 904: 48, 49, 58, 7, 37, 53, 54, 69, 69, 16,
! 905: 58, 28, 43, 44, 45, 46, 47, 48, 49, 50,
! 906: 51, 69, 69, 71, 72, 1, 74, 3, 4, 69,
! 907: 3, 4, 8, 9, 7, 11, 8, 58, 58, 15,
! 908: 69, 17, 18, 19, 20, 21, 22, 23, 24, 25,
! 909: 26, 27, 69, 29, 69, 73, 32, 68, 17, 4,
! 910: 5, 6, 7, 39, 69, 68, 42, 12, 13, 14,
! 911: 69, 47, 48, 49, 68, 8, 49, 53, 54, 68,
! 912: 37, 69, 58, 28, 68, 58, 59, 47, 48, 49,
! 913: 50, 51, 9, 69, 70, 71, 72, 1, 74, 3,
! 914: 4, 69, 69, 58, 8, 9, 69, 11, 73, 0,
! 915: 68, 15, 68, 17, 18, 19, 20, 21, 22, 23,
! 916: 24, 25, 26, 27, 69, 29, 69, 69, 32, 0,
! 917: 188, 4, 5, 6, 7, 39, 3, 10, 42, 12,
! 918: 13, 14, 161, 47, 48, 49, 48, 386, 53, 53,
! 919: 54, 173, 352, 359, 58, 28, 44, 45, 46, 47,
! 920: 48, 49, 50, 51, 208, 69, 70, 71, 72, 1,
! 921: 74, 3, 4, 408, 211, 116, 8, 9, 206, 11,
! 922: 343, 53, 386, 15, 527, 17, 18, 19, 20, 21,
! 923: 22, 23, 24, 25, 26, 27, 347, 29, 527, 570,
! 924: 32, 327, 572, 4, 5, 6, 7, 39, -1, -1,
! 925: 42, 12, 13, 14, 253, 47, 48, 49, -1, -1,
! 926: -1, 53, 54, -1, -1, -1, 58, 28, -1, -1,
1.1 root 927: -1, -1, -1, -1, -1, -1, -1, 69, -1, 71,
1.1.1.3 ! root 928: 72, 1, 74, 3, 4, -1, -1, -1, 8, 9,
1.1 root 929: -1, 11, -1, -1, -1, 15, -1, 17, 18, 19,
1.1.1.3 ! root 930: 20, 21, 22, 23, 24, 25, 26, 27, 4, 29,
! 931: 6, 7, 32, -1, -1, -1, 12, 13, 14, 39,
1.1 root 932: -1, -1, 42, -1, -1, -1, -1, 47, 48, 49,
1.1.1.3 ! root 933: -1, -1, 28, 53, 54, -1, -1, -1, 58, 42,
! 934: 43, 44, 45, 46, 47, 48, 49, 50, 51, 69,
! 935: -1, 71, 72, 1, 74, 3, 4, -1, 6, 7,
! 936: 8, 9, -1, 11, 12, 13, 14, -1, -1, -1,
! 937: -1, -1, -1, 69, 70, -1, -1, -1, -1, -1,
! 938: 28, 29, -1, -1, 32, -1, -1, -1, -1, -1,
! 939: -1, 39, -1, -1, 42, -1, -1, -1, -1, 47,
! 940: 48, 49, -1, -1, -1, 53, 54, -1, -1, 1,
! 941: 58, 3, 4, -1, -1, -1, 8, 9, -1, 11,
! 942: -1, -1, -1, 71, 72, -1, 74, -1, -1, -1,
! 943: -1, -1, -1, -1, -1, -1, -1, 29, -1, -1,
1.1 root 944: 32, -1, -1, -1, -1, -1, -1, 39, -1, -1,
945: 42, -1, -1, -1, -1, 47, 48, 49, -1, -1,
1.1.1.3 ! root 946: -1, 53, 54, -1, -1, -1, 58, 59, -1, -1,
! 947: -1, -1, -1, -1, -1, -1, -1, -1, 70, 71,
! 948: 72, 1, 74, 3, 4, -1, -1, -1, 8, 9,
! 949: 1, 11, 3, 4, 5, 6, 7, -1, -1, 10,
! 950: -1, 12, 13, 14, -1, -1, -1, -1, -1, 29,
! 951: -1, -1, 32, -1, -1, -1, -1, 28, -1, 39,
! 952: -1, -1, 42, -1, -1, -1, -1, 47, 48, 49,
! 953: -1, -1, -1, 53, 54, -1, -1, -1, 58, 59,
! 954: -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
! 955: 70, 71, 72, 1, 74, 3, 4, 68, -1, -1,
! 956: 8, 9, 4, 11, 6, 7, -1, -1, -1, -1,
! 957: 12, 13, 14, -1, -1, -1, -1, -1, -1, -1,
! 958: -1, 29, -1, -1, 32, -1, 28, -1, -1, -1,
! 959: -1, 39, -1, -1, 42, -1, -1, -1, -1, 47,
! 960: 48, 49, -1, -1, -1, 53, 54, 49, -1, -1,
! 961: 58, 59, -1, -1, -1, -1, 58, 59, -1, -1,
! 962: -1, -1, 70, 71, 72, 1, 74, 3, 4, -1,
! 963: -1, -1, 8, 9, 36, 11, 38, 39, 40, 41,
! 964: 42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
! 965: -1, -1, -1, 29, -1, -1, 32, -1, -1, -1,
! 966: -1, -1, -1, 39, -1, -1, 42, -1, -1, -1,
! 967: -1, 47, 48, 49, -1, -1, -1, 53, 54, 1,
! 968: -1, 3, 58, 59, -1, -1, 8, 9, 1, 11,
! 969: -1, 4, 5, 6, 7, 71, 72, -1, 74, 12,
! 970: 13, 14, -1, -1, -1, -1, -1, 29, -1, -1,
! 971: 32, -1, -1, -1, 27, 28, -1, 39, 31, -1,
! 972: 42, -1, 35, -1, -1, 47, 48, 49, -1, 3,
1.1 root 973: -1, 53, 54, -1, 8, 9, 58, 11, -1, -1,
1.1.1.3 ! root 974: -1, -1, -1, -1, -1, 58, 59, -1, -1, 71,
! 975: 72, -1, 74, -1, -1, 29, 69, -1, 32, -1,
! 976: 73, 74, -1, -1, 3, 39, -1, -1, 42, 8,
! 977: 9, -1, 11, 47, 48, 49, -1, -1, -1, 53,
! 978: 54, -1, -1, -1, 58, -1, -1, -1, -1, -1,
! 979: 29, -1, -1, 32, -1, -1, -1, 71, 72, 3,
! 980: 39, 75, -1, 42, 8, 9, -1, 11, 47, 48,
! 981: 49, -1, -1, -1, 53, 54, -1, -1, -1, 58,
! 982: -1, -1, -1, -1, -1, 29, -1, -1, 32, -1,
! 983: -1, -1, 71, 72, 3, 39, 75, -1, 42, 8,
! 984: 9, -1, 11, 47, 48, 49, -1, -1, -1, 53,
! 985: 54, -1, -1, -1, 58, -1, -1, -1, -1, -1,
! 986: 29, -1, -1, 32, -1, -1, -1, 71, 72, 3,
! 987: 39, 75, -1, 42, 8, 9, -1, 11, 47, 48,
! 988: 49, -1, -1, -1, 53, 54, -1, -1, -1, 58,
! 989: -1, -1, -1, -1, -1, 29, -1, -1, 32, -1,
! 990: -1, -1, 71, 72, -1, 39, 75, -1, 42, -1,
1.1 root 991: -1, -1, -1, 47, 48, 49, -1, -1, -1, 53,
1.1.1.3 ! root 992: 54, -1, -1, -1, 58, 40, 41, 42, 43, 44,
! 993: 45, 46, 47, 48, 49, 50, 51, 71, 72, -1,
! 994: -1, 75, 3, 4, 5, 6, 7, 8, 9, -1,
! 995: 11, 12, 13, 14, 15, -1, 17, 18, 19, 20,
! 996: 21, 22, 23, 24, 25, 26, 27, 28, 29, -1,
! 997: -1, 32, -1, -1, -1, -1, -1, -1, 39, -1,
! 998: -1, 42, -1, -1, -1, -1, 47, 48, 49, -1,
! 999: -1, -1, 53, 54, -1, -1, -1, 58, -1, -1,
! 1000: -1, -1, -1, -1, -1, -1, -1, -1, 69, -1,
! 1001: 71, 72, -1, 74, 3, 4, -1, -1, -1, 8,
! 1002: 9, -1, 11, -1, -1, -1, 15, -1, 17, 18,
! 1003: 19, 20, 21, 22, 23, 24, 25, 26, 27, -1,
! 1004: 29, -1, -1, 32, -1, -1, -1, -1, -1, -1,
! 1005: 39, -1, -1, 42, -1, -1, -1, -1, 47, 48,
! 1006: 49, -1, 3, -1, 53, 54, -1, 8, 9, 58,
! 1007: 11, -1, -1, -1, -1, -1, -1, -1, -1, -1,
! 1008: 69, -1, 71, 72, -1, 74, -1, -1, 29, -1,
! 1009: -1, 32, -1, -1, -1, -1, -1, -1, 39, -1,
! 1010: -1, 42, -1, -1, -1, -1, 47, 48, 49, -1,
! 1011: -1, -1, 53, 54, -1, 3, 4, 58, 6, 7,
! 1012: 8, 9, -1, 11, 12, 13, 14, -1, -1, -1,
! 1013: 71, 72, -1, 74, -1, -1, -1, -1, -1, -1,
! 1014: 28, 29, 3, -1, 32, -1, -1, 8, 9, -1,
! 1015: 11, 39, -1, -1, 42, -1, -1, -1, -1, 47,
! 1016: 48, 49, -1, -1, -1, 53, 54, -1, 29, -1,
! 1017: 58, 32, -1, -1, -1, -1, -1, -1, 39, -1,
! 1018: -1, 42, -1, 71, 72, -1, 47, 48, 49, -1,
! 1019: 3, -1, 53, 54, -1, 8, 9, 58, 11, -1,
! 1020: -1, -1, -1, -1, -1, -1, -1, -1, 69, -1,
! 1021: 71, 72, -1, -1, -1, -1, 29, 3, -1, 32,
! 1022: -1, -1, 8, 9, -1, 11, 39, -1, -1, 42,
! 1023: -1, -1, -1, -1, 47, 48, 49, -1, -1, -1,
! 1024: 53, 54, -1, 29, 3, 58, 32, -1, -1, 8,
! 1025: 9, -1, 11, 39, -1, -1, 42, -1, 71, 72,
! 1026: -1, 47, 48, 49, -1, -1, -1, 53, 54, -1,
! 1027: 29, -1, 58, 32, -1, -1, -1, -1, -1, -1,
! 1028: 39, -1, -1, 42, -1, 71, 72, -1, 47, 48,
! 1029: 49, -1, -1, -1, 53, 54, -1, -1, 1, 58,
! 1030: 3, 4, 5, 6, 7, -1, -1, -1, -1, 12,
! 1031: 13, 14, 71, 72, -1, -1, -1, 3, 4, 5,
! 1032: 6, 7, -1, -1, 27, 28, 12, 13, 14, 39,
! 1033: 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
! 1034: 50, 51, 28, -1, -1, -1, 49, -1, -1, -1,
! 1035: -1, -1, -1, -1, -1, 58, -1, -1, -1, -1,
! 1036: -1, -1, -1, 49, -1, -1, 69, -1, -1, -1,
! 1037: -1, -1, 58, 59, 34, 35, 36, -1, 38, 39,
! 1038: 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
! 1039: 50, 51, 34, 35, 36, -1, 38, 39, 40, 41,
! 1040: 42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
! 1041: -1, -1, -1, -1, -1, 75, 41, 42, 43, 44,
! 1042: 45, 46, 47, 48, 49, 50, 51, 31, -1, -1,
! 1043: 34, 35, 36, 75, 38, 39, 40, 41, 42, 43,
! 1044: 44, 45, 46, 47, 48, 49, 50, 51, 34, 35,
! 1045: 36, -1, 38, 39, 40, 41, 42, 43, 44, 45,
! 1046: 46, 47, 48, 49, 50, 51
1.1 root 1047: };
1048: /* -*-C-*- Note some compilers choke on comments on `#line' lines. */
1049: #line 3 "bison.simple"
1050:
1051: /* Skeleton output parser for bison,
1052: Copyright (C) 1984, 1989, 1990 Bob Corbett and Richard Stallman
1053:
1054: This program is free software; you can redistribute it and/or modify
1055: it under the terms of the GNU General Public License as published by
1056: the Free Software Foundation; either version 1, or (at your option)
1057: any later version.
1058:
1059: This program is distributed in the hope that it will be useful,
1060: but WITHOUT ANY WARRANTY; without even the implied warranty of
1061: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1062: GNU General Public License for more details.
1063:
1064: You should have received a copy of the GNU General Public License
1065: along with this program; if not, write to the Free Software
1066: Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
1067:
1068:
1069: #ifndef alloca
1070: #ifdef __GNUC__
1071: #define alloca __builtin_alloca
1072: #else /* not GNU C. */
1073: #if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__)
1074: #include <alloca.h>
1075: #else /* not sparc */
1076: #if defined (MSDOS) && !defined (__TURBOC__)
1077: #include <malloc.h>
1078: #else /* not MSDOS, or __TURBOC__ */
1079: #if defined(_AIX)
1080: #include <malloc.h>
1.1.1.3 ! root 1081: #pragma alloca
1.1 root 1082: #endif /* not _AIX */
1083: #endif /* not MSDOS, or __TURBOC__ */
1084: #endif /* not sparc. */
1085: #endif /* not GNU C. */
1086: #endif /* alloca not defined. */
1087:
1088: /* This is the parser code that is written into each bison parser
1089: when the %semantic_parser declaration is not specified in the grammar.
1090: It was written by Richard Stallman by simplifying the hairy parser
1091: used when %semantic_parser is specified. */
1092:
1093: /* Note: there must be only one dollar sign in this file.
1094: It is replaced by the list of actions, each action
1095: as one case of the switch. */
1096:
1097: #define yyerrok (yyerrstatus = 0)
1098: #define yyclearin (yychar = YYEMPTY)
1099: #define YYEMPTY -2
1100: #define YYEOF 0
1101: #define YYACCEPT return(0)
1102: #define YYABORT return(1)
1103: #define YYERROR goto yyerrlab1
1104: /* Like YYERROR except do call yyerror.
1105: This remains here temporarily to ease the
1106: transition to the new meaning of YYERROR, for GCC.
1107: Once GCC version 2 has supplanted version 1, this can go. */
1108: #define YYFAIL goto yyerrlab
1109: #define YYRECOVERING() (!!yyerrstatus)
1110: #define YYBACKUP(token, value) \
1111: do \
1112: if (yychar == YYEMPTY && yylen == 1) \
1113: { yychar = (token), yylval = (value); \
1114: yychar1 = YYTRANSLATE (yychar); \
1115: YYPOPSTACK; \
1116: goto yybackup; \
1117: } \
1118: else \
1119: { yyerror ("syntax error: cannot back up"); YYERROR; } \
1120: while (0)
1121:
1122: #define YYTERROR 1
1123: #define YYERRCODE 256
1124:
1125: #ifndef YYPURE
1126: #define YYLEX yylex()
1127: #endif
1128:
1129: #ifdef YYPURE
1130: #ifdef YYLSP_NEEDED
1131: #define YYLEX yylex(&yylval, &yylloc)
1132: #else
1133: #define YYLEX yylex(&yylval)
1134: #endif
1135: #endif
1136:
1137: /* If nonreentrant, generate the variables here */
1138:
1139: #ifndef YYPURE
1140:
1141: int yychar; /* the lookahead symbol */
1142: YYSTYPE yylval; /* the semantic value of the */
1143: /* lookahead symbol */
1144:
1145: #ifdef YYLSP_NEEDED
1146: YYLTYPE yylloc; /* location data for the lookahead */
1147: /* symbol */
1148: #endif
1149:
1150: int yynerrs; /* number of parse errors so far */
1151: #endif /* not YYPURE */
1152:
1153: #if YYDEBUG != 0
1154: int yydebug; /* nonzero means print parse trace */
1155: /* Since this is uninitialized, it does not stop multiple parsers
1156: from coexisting. */
1157: #endif
1158:
1159: /* YYINITDEPTH indicates the initial size of the parser's stacks */
1160:
1161: #ifndef YYINITDEPTH
1162: #define YYINITDEPTH 200
1163: #endif
1164:
1165: /* YYMAXDEPTH is the maximum size the stacks can grow to
1166: (effective only if the built-in stack extension method is used). */
1167:
1168: #if YYMAXDEPTH == 0
1169: #undef YYMAXDEPTH
1170: #endif
1171:
1172: #ifndef YYMAXDEPTH
1173: #define YYMAXDEPTH 10000
1174: #endif
1175:
1176: #if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
1177: #define __yy_bcopy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT)
1178: #else /* not GNU C or C++ */
1179: #ifndef __cplusplus
1180:
1181: /* This is the most reliable way to avoid incompatibilities
1182: in available built-in functions on various systems. */
1183: static void
1184: __yy_bcopy (from, to, count)
1185: char *from;
1186: char *to;
1187: int count;
1188: {
1189: register char *f = from;
1190: register char *t = to;
1191: register int i = count;
1192:
1193: while (i-- > 0)
1194: *t++ = *f++;
1195: }
1196:
1197: #else /* __cplusplus */
1198:
1199: /* This is the most reliable way to avoid incompatibilities
1200: in available built-in functions on various systems. */
1201: static void
1202: __yy_bcopy (char *from, char *to, int count)
1203: {
1204: register char *f = from;
1205: register char *t = to;
1206: register int i = count;
1207:
1208: while (i-- > 0)
1209: *t++ = *f++;
1210: }
1211:
1212: #endif
1213: #endif
1214:
1215: #line 169 "bison.simple"
1216: int
1217: yyparse()
1218: {
1219: register int yystate;
1220: register int yyn;
1221: register short *yyssp;
1222: register YYSTYPE *yyvsp;
1223: int yyerrstatus; /* number of tokens to shift before error messages enabled */
1224: int yychar1; /* lookahead token as an internal (translated) token number */
1225:
1226: short yyssa[YYINITDEPTH]; /* the state stack */
1227: YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */
1228:
1229: short *yyss = yyssa; /* refer to the stacks thru separate pointers */
1230: YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */
1231:
1232: #ifdef YYLSP_NEEDED
1233: YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */
1234: YYLTYPE *yyls = yylsa;
1235: YYLTYPE *yylsp;
1236:
1.1.1.3 ! root 1237: #define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
1.1 root 1238: #else
1.1.1.3 ! root 1239: #define YYPOPSTACK (yyvsp--, yyssp--)
1.1 root 1240: #endif
1241:
1242: int yystacksize = YYINITDEPTH;
1243:
1244: #ifdef YYPURE
1245: int yychar;
1246: YYSTYPE yylval;
1247: int yynerrs;
1248: #ifdef YYLSP_NEEDED
1249: YYLTYPE yylloc;
1250: #endif
1251: #endif
1252:
1253: YYSTYPE yyval; /* the variable used to return */
1254: /* semantic values from the action */
1255: /* routines */
1256:
1257: int yylen;
1258:
1259: #if YYDEBUG != 0
1260: if (yydebug)
1261: fprintf(stderr, "Starting parse\n");
1262: #endif
1263:
1264: yystate = 0;
1265: yyerrstatus = 0;
1266: yynerrs = 0;
1267: yychar = YYEMPTY; /* Cause a token to be read. */
1268:
1269: /* Initialize stack pointers.
1270: Waste one element of value and location stack
1271: so that they stay on the same level as the state stack. */
1272:
1273: yyssp = yyss - 1;
1274: yyvsp = yyvs;
1275: #ifdef YYLSP_NEEDED
1276: yylsp = yyls;
1277: #endif
1278:
1279: /* Push a new state, which is found in yystate . */
1280: /* In all cases, when you get here, the value and location stacks
1281: have just been pushed. so pushing a state here evens the stacks. */
1282: yynewstate:
1283:
1284: *++yyssp = yystate;
1285:
1286: if (yyssp >= yyss + yystacksize - 1)
1287: {
1288: /* Give user a chance to reallocate the stack */
1289: /* Use copies of these so that the &'s don't force the real ones into memory. */
1290: YYSTYPE *yyvs1 = yyvs;
1291: short *yyss1 = yyss;
1292: #ifdef YYLSP_NEEDED
1293: YYLTYPE *yyls1 = yyls;
1294: #endif
1295:
1296: /* Get the current used size of the three stacks, in elements. */
1297: int size = yyssp - yyss + 1;
1298:
1299: #ifdef yyoverflow
1300: /* Each stack pointer address is followed by the size of
1301: the data in use in that stack, in bytes. */
1302: yyoverflow("parser stack overflow",
1303: &yyss1, size * sizeof (*yyssp),
1304: &yyvs1, size * sizeof (*yyvsp),
1305: #ifdef YYLSP_NEEDED
1306: &yyls1, size * sizeof (*yylsp),
1307: #endif
1308: &yystacksize);
1309:
1310: yyss = yyss1; yyvs = yyvs1;
1311: #ifdef YYLSP_NEEDED
1312: yyls = yyls1;
1313: #endif
1314: #else /* no yyoverflow */
1315: /* Extend the stack our own way. */
1316: if (yystacksize >= YYMAXDEPTH)
1317: {
1318: yyerror("parser stack overflow");
1319: return 2;
1320: }
1321: yystacksize *= 2;
1322: if (yystacksize > YYMAXDEPTH)
1323: yystacksize = YYMAXDEPTH;
1324: yyss = (short *) alloca (yystacksize * sizeof (*yyssp));
1325: __yy_bcopy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp));
1326: yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp));
1327: __yy_bcopy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp));
1328: #ifdef YYLSP_NEEDED
1329: yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp));
1330: __yy_bcopy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp));
1331: #endif
1332: #endif /* no yyoverflow */
1333:
1334: yyssp = yyss + size - 1;
1335: yyvsp = yyvs + size - 1;
1336: #ifdef YYLSP_NEEDED
1337: yylsp = yyls + size - 1;
1338: #endif
1339:
1340: #if YYDEBUG != 0
1341: if (yydebug)
1342: fprintf(stderr, "Stack size increased to %d\n", yystacksize);
1343: #endif
1344:
1345: if (yyssp >= yyss + yystacksize - 1)
1346: YYABORT;
1347: }
1348:
1349: #if YYDEBUG != 0
1350: if (yydebug)
1351: fprintf(stderr, "Entering state %d\n", yystate);
1352: #endif
1353:
1354: yybackup:
1355:
1356: /* Do appropriate processing given the current state. */
1357: /* Read a lookahead token if we need one and don't already have one. */
1358: /* yyresume: */
1359:
1360: /* First try to decide what to do without reference to lookahead token. */
1361:
1362: yyn = yypact[yystate];
1363: if (yyn == YYFLAG)
1364: goto yydefault;
1365:
1366: /* Not known => get a lookahead token if don't already have one. */
1367:
1368: /* yychar is either YYEMPTY or YYEOF
1369: or a valid token in external form. */
1370:
1371: if (yychar == YYEMPTY)
1372: {
1373: #if YYDEBUG != 0
1374: if (yydebug)
1375: fprintf(stderr, "Reading a token: ");
1376: #endif
1377: yychar = YYLEX;
1378: }
1379:
1380: /* Convert token to internal form (in yychar1) for indexing tables with */
1381:
1382: if (yychar <= 0) /* This means end of input. */
1383: {
1384: yychar1 = 0;
1385: yychar = YYEOF; /* Don't call YYLEX any more */
1386:
1387: #if YYDEBUG != 0
1388: if (yydebug)
1389: fprintf(stderr, "Now at end of input.\n");
1390: #endif
1391: }
1392: else
1393: {
1394: yychar1 = YYTRANSLATE(yychar);
1395:
1396: #if YYDEBUG != 0
1397: if (yydebug)
1398: {
1399: fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
1400: /* Give the individual parser a way to print the precise meaning
1401: of a token, for further debugging info. */
1402: #ifdef YYPRINT
1403: YYPRINT (stderr, yychar, yylval);
1404: #endif
1405: fprintf (stderr, ")\n");
1406: }
1407: #endif
1408: }
1409:
1410: yyn += yychar1;
1411: if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
1412: goto yydefault;
1413:
1414: yyn = yytable[yyn];
1415:
1416: /* yyn is what to do for this token type in this state.
1417: Negative => reduce, -yyn is rule number.
1418: Positive => shift, yyn is new state.
1419: New state is final state => don't bother to shift,
1420: just return success.
1421: 0, or most negative number => error. */
1422:
1423: if (yyn < 0)
1424: {
1425: if (yyn == YYFLAG)
1426: goto yyerrlab;
1427: yyn = -yyn;
1428: goto yyreduce;
1429: }
1430: else if (yyn == 0)
1431: goto yyerrlab;
1432:
1433: if (yyn == YYFINAL)
1434: YYACCEPT;
1435:
1436: /* Shift the lookahead token. */
1437:
1438: #if YYDEBUG != 0
1439: if (yydebug)
1440: fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
1441: #endif
1442:
1443: /* Discard the token being shifted unless it is eof. */
1444: if (yychar != YYEOF)
1445: yychar = YYEMPTY;
1446:
1447: *++yyvsp = yylval;
1448: #ifdef YYLSP_NEEDED
1449: *++yylsp = yylloc;
1450: #endif
1451:
1452: /* count tokens shifted since error; after three, turn off error status. */
1453: if (yyerrstatus) yyerrstatus--;
1454:
1455: yystate = yyn;
1456: goto yynewstate;
1457:
1458: /* Do the default action for the current state. */
1459: yydefault:
1460:
1461: yyn = yydefact[yystate];
1462: if (yyn == 0)
1463: goto yyerrlab;
1464:
1465: /* Do a reduction. yyn is the number of a rule to reduce with. */
1466: yyreduce:
1467: yylen = yyr2[yyn];
1468: yyval = yyvsp[1-yylen]; /* implement default value of the action */
1469:
1470: #if YYDEBUG != 0
1471: if (yydebug)
1472: {
1473: int i;
1474:
1475: fprintf (stderr, "Reducing via rule %d (line %d), ",
1476: yyn, yyrline[yyn]);
1477:
1478: /* Print the symboles being reduced, and their result. */
1479: for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
1480: fprintf (stderr, "%s ", yytname[yyrhs[i]]);
1481: fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
1482: }
1483: #endif
1484:
1485:
1486: switch (yyn) {
1487:
1488: case 1:
1.1.1.2 root 1489: #line 201 "c-parse.y"
1.1 root 1490: { if (pedantic)
1491: pedwarn ("ANSI C forbids an empty source file"); ;
1492: break;}
1493: case 3:
1.1.1.2 root 1494: #line 211 "c-parse.y"
1.1 root 1495: {yyval.ttype = NULL_TREE; ;
1496: break;}
1497: case 5:
1.1.1.2 root 1498: #line 212 "c-parse.y"
1.1 root 1499: {yyval.ttype = NULL_TREE; ;
1500: break;}
1501: case 9:
1.1.1.2 root 1502: #line 219 "c-parse.y"
1.1 root 1503: { STRIP_NOPS (yyvsp[-2].ttype);
1504: if ((TREE_CODE (yyvsp[-2].ttype) == ADDR_EXPR
1505: && TREE_CODE (TREE_OPERAND (yyvsp[-2].ttype, 0)) == STRING_CST)
1506: || TREE_CODE (yyvsp[-2].ttype) == STRING_CST)
1507: assemble_asm (yyvsp[-2].ttype);
1508: else
1509: error ("argument of `asm' is not a constant string"); ;
1510: break;}
1511: case 10:
1.1.1.2 root 1512: #line 230 "c-parse.y"
1.1 root 1513: { if (pedantic)
1514: error ("ANSI C forbids data definition with no type or storage class");
1515: else if (!flag_traditional)
1516: warning ("data definition has no type or storage class"); ;
1517: break;}
1518: case 11:
1.1.1.2 root 1519: #line 235 "c-parse.y"
1.1 root 1520: {;
1521: break;}
1522: case 12:
1.1.1.2 root 1523: #line 237 "c-parse.y"
1.1 root 1524: {;
1525: break;}
1526: case 13:
1.1.1.2 root 1527: #line 239 "c-parse.y"
1.1 root 1528: { error ("empty declaration"); ;
1529: break;}
1530: case 14:
1.1.1.2 root 1531: #line 241 "c-parse.y"
1.1 root 1532: { shadow_tag (yyvsp[-1].ttype); ;
1533: break;}
1534: case 17:
1.1.1.2 root 1535: #line 245 "c-parse.y"
1.1 root 1536: { if (pedantic)
1537: pedwarn ("ANSI C does not allow extra `;' outside of a function"); ;
1538: break;}
1539: case 18:
1.1.1.2 root 1540: #line 251 "c-parse.y"
1.1 root 1541: { if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, 0))
1542: YYERROR1;
1543: reinit_parse_for_function (); ;
1544: break;}
1545: case 19:
1.1.1.2 root 1546: #line 255 "c-parse.y"
1.1 root 1547: { store_parm_decls (); ;
1548: break;}
1549: case 20:
1.1.1.2 root 1550: #line 257 "c-parse.y"
1.1 root 1551: { finish_function (0); ;
1552: break;}
1553: case 21:
1.1.1.2 root 1554: #line 259 "c-parse.y"
1.1 root 1555: { ;
1556: break;}
1557: case 22:
1.1.1.2 root 1558: #line 261 "c-parse.y"
1.1 root 1559: { if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, 0))
1560: YYERROR1;
1561: reinit_parse_for_function (); ;
1562: break;}
1563: case 23:
1.1.1.2 root 1564: #line 265 "c-parse.y"
1.1 root 1565: { store_parm_decls (); ;
1566: break;}
1567: case 24:
1.1.1.2 root 1568: #line 267 "c-parse.y"
1.1 root 1569: { finish_function (0); ;
1570: break;}
1571: case 25:
1.1.1.2 root 1572: #line 269 "c-parse.y"
1.1 root 1573: { ;
1574: break;}
1575: case 26:
1.1.1.2 root 1576: #line 271 "c-parse.y"
1.1 root 1577: { if (! start_function (0, yyvsp[0].ttype, 0))
1578: YYERROR1;
1579: reinit_parse_for_function (); ;
1580: break;}
1581: case 27:
1.1.1.2 root 1582: #line 275 "c-parse.y"
1.1 root 1583: { store_parm_decls (); ;
1584: break;}
1585: case 28:
1.1.1.2 root 1586: #line 277 "c-parse.y"
1.1 root 1587: { finish_function (0); ;
1588: break;}
1589: case 29:
1.1.1.2 root 1590: #line 279 "c-parse.y"
1.1 root 1591: { ;
1592: break;}
1593: case 32:
1.1.1.2 root 1594: #line 288 "c-parse.y"
1.1 root 1595: { yyval.code = ADDR_EXPR; ;
1596: break;}
1597: case 33:
1.1.1.2 root 1598: #line 290 "c-parse.y"
1.1 root 1599: { yyval.code = NEGATE_EXPR; ;
1600: break;}
1601: case 34:
1.1.1.2 root 1602: #line 292 "c-parse.y"
1.1 root 1603: { yyval.code = CONVERT_EXPR; ;
1604: break;}
1605: case 35:
1.1.1.2 root 1606: #line 294 "c-parse.y"
1.1 root 1607: { yyval.code = PREINCREMENT_EXPR; ;
1608: break;}
1609: case 36:
1.1.1.2 root 1610: #line 296 "c-parse.y"
1.1 root 1611: { yyval.code = PREDECREMENT_EXPR; ;
1612: break;}
1613: case 37:
1.1.1.2 root 1614: #line 298 "c-parse.y"
1.1 root 1615: { yyval.code = BIT_NOT_EXPR; ;
1616: break;}
1617: case 38:
1.1.1.2 root 1618: #line 300 "c-parse.y"
1.1 root 1619: { yyval.code = TRUTH_NOT_EXPR; ;
1620: break;}
1621: case 39:
1.1.1.2 root 1622: #line 304 "c-parse.y"
1.1 root 1623: { yyval.ttype = build_compound_expr (yyvsp[0].ttype); ;
1624: break;}
1625: case 40:
1.1.1.2 root 1626: #line 309 "c-parse.y"
1.1 root 1627: { yyval.ttype = NULL_TREE; ;
1628: break;}
1629: case 42:
1.1.1.2 root 1630: #line 315 "c-parse.y"
1.1 root 1631: { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
1632: break;}
1633: case 43:
1.1.1.2 root 1634: #line 317 "c-parse.y"
1.1 root 1635: { chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
1636: break;}
1637: case 45:
1.1.1.2 root 1638: #line 323 "c-parse.y"
1.1 root 1639: { yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ;
1640: break;}
1641: case 46:
1.1.1.2 root 1642: #line 326 "c-parse.y"
1.1 root 1643: { yyvsp[0].itype = pedantic;
1644: pedantic = 0; ;
1645: break;}
1646: case 47:
1.1.1.2 root 1647: #line 329 "c-parse.y"
1.1 root 1648: { yyval.ttype = yyvsp[0].ttype;
1649: pedantic = yyvsp[-2].itype; ;
1650: break;}
1651: case 48:
1.1.1.2 root 1652: #line 332 "c-parse.y"
1.1 root 1653: { yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0); ;
1654: break;}
1655: case 49:
1.1.1.2 root 1656: #line 335 "c-parse.y"
1.1 root 1657: { tree label = lookup_label (yyvsp[0].ttype);
1658: TREE_USED (label) = 1;
1659: yyval.ttype = build1 (ADDR_EXPR, ptr_type_node, label);
1660: TREE_CONSTANT (yyval.ttype) = 1; ;
1661: break;}
1662: case 50:
1.1.1.3 ! root 1663: #line 355 "c-parse.y"
1.1 root 1664: { if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF
1665: && DECL_BIT_FIELD (TREE_OPERAND (yyvsp[0].ttype, 1)))
1666: error ("`sizeof' applied to a bit-field");
1667: yyval.ttype = c_sizeof (TREE_TYPE (yyvsp[0].ttype)); ;
1668: break;}
1669: case 51:
1.1.1.3 ! root 1670: #line 360 "c-parse.y"
1.1 root 1671: { yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ;
1672: break;}
1673: case 52:
1.1.1.3 ! root 1674: #line 362 "c-parse.y"
1.1 root 1675: { yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ;
1676: break;}
1677: case 53:
1.1.1.3 ! root 1678: #line 364 "c-parse.y"
1.1 root 1679: { yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ;
1680: break;}
1681: case 55:
1.1.1.3 ! root 1682: #line 370 "c-parse.y"
1.1 root 1683: { tree type = groktypename (yyvsp[-2].ttype);
1684: yyval.ttype = build_c_cast (type, yyvsp[0].ttype); ;
1685: break;}
1686: case 56:
1.1.1.3 ! root 1687: #line 373 "c-parse.y"
1.1 root 1688: { tree type = groktypename (yyvsp[-5].ttype);
1689: char *name;
1690: if (pedantic)
1691: pedwarn ("ANSI C forbids constructor expressions");
1692: if (TYPE_NAME (type) != 0)
1693: {
1694: if (TREE_CODE (TYPE_NAME (type)) == IDENTIFIER_NODE)
1695: name = IDENTIFIER_POINTER (TYPE_NAME (type));
1696: else
1697: name = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (type)));
1698: }
1699: else
1700: name = "";
1701: yyval.ttype = digest_init (type, build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-2].ttype)),
1702: 0, 0, 0, name);
1703: if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == 0)
1704: {
1705: int failure = complete_array_type (type, yyval.ttype, 1);
1706: if (failure)
1707: abort ();
1708: }
1709: ;
1710: break;}
1711: case 58:
1.1.1.3 ! root 1712: #line 400 "c-parse.y"
1.1 root 1713: { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
1714: break;}
1715: case 59:
1.1.1.3 ! root 1716: #line 402 "c-parse.y"
1.1 root 1717: { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
1718: break;}
1719: case 60:
1.1.1.3 ! root 1720: #line 404 "c-parse.y"
1.1 root 1721: { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
1722: break;}
1723: case 61:
1.1.1.3 ! root 1724: #line 406 "c-parse.y"
1.1 root 1725: { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
1726: break;}
1727: case 62:
1.1.1.3 ! root 1728: #line 408 "c-parse.y"
1.1 root 1729: { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
1730: break;}
1731: case 63:
1.1.1.3 ! root 1732: #line 410 "c-parse.y"
1.1 root 1733: { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
1734: break;}
1735: case 64:
1.1.1.3 ! root 1736: #line 412 "c-parse.y"
1.1 root 1737: { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
1738: break;}
1739: case 65:
1.1.1.3 ! root 1740: #line 414 "c-parse.y"
1.1 root 1741: { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
1742: break;}
1743: case 66:
1.1.1.3 ! root 1744: #line 416 "c-parse.y"
1.1 root 1745: { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
1746: break;}
1747: case 67:
1.1.1.3 ! root 1748: #line 418 "c-parse.y"
1.1 root 1749: { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
1750: break;}
1751: case 68:
1.1.1.3 ! root 1752: #line 420 "c-parse.y"
1.1 root 1753: { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
1754: break;}
1755: case 69:
1.1.1.3 ! root 1756: #line 422 "c-parse.y"
1.1 root 1757: { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
1758: break;}
1759: case 70:
1.1.1.3 ! root 1760: #line 424 "c-parse.y"
1.1 root 1761: { yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ;
1762: break;}
1763: case 71:
1.1.1.3 ! root 1764: #line 426 "c-parse.y"
1.1 root 1765: { yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ;
1766: break;}
1767: case 72:
1.1.1.3 ! root 1768: #line 428 "c-parse.y"
1.1 root 1769: { yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
1770: break;}
1771: case 73:
1.1.1.3 ! root 1772: #line 430 "c-parse.y"
1.1 root 1773: { yyval.ttype = build_modify_expr (yyvsp[-2].ttype, NOP_EXPR, yyvsp[0].ttype); ;
1774: break;}
1775: case 74:
1.1.1.3 ! root 1776: #line 432 "c-parse.y"
1.1 root 1777: { yyval.ttype = build_modify_expr (yyvsp[-2].ttype, yyvsp[-1].code, yyvsp[0].ttype); ;
1778: break;}
1779: case 75:
1.1.1.3 ! root 1780: #line 437 "c-parse.y"
1.1 root 1781: {
1782: tree context;
1783:
1784: yyval.ttype = lastiddecl;
1785: if (!yyval.ttype || yyval.ttype == error_mark_node)
1786: {
1787: if (yychar == YYEMPTY)
1788: yychar = YYLEX;
1789: if (yychar == '(')
1790: {
1791: yyval.ttype = implicitly_declare (yyvsp[0].ttype);
1792: assemble_external (yyval.ttype);
1793: TREE_USED (yyval.ttype) = 1;
1794: }
1795: else if (current_function_decl == 0)
1796: {
1797: error ("`%s' undeclared, outside of functions",
1798: IDENTIFIER_POINTER (yyvsp[0].ttype));
1799: yyval.ttype = error_mark_node;
1800: }
1801: else
1802: {
1803: if (IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) != error_mark_node
1804: || IDENTIFIER_ERROR_LOCUS (yyvsp[0].ttype) != current_function_decl)
1805: {
1806: error ("`%s' undeclared (first use this function)",
1807: IDENTIFIER_POINTER (yyvsp[0].ttype));
1808:
1809: if (! undeclared_variable_notice)
1810: {
1811: error ("(Each undeclared identifier is reported only once");
1812: error ("for each function it appears in.)");
1813: undeclared_variable_notice = 1;
1814: }
1815: }
1816: yyval.ttype = error_mark_node;
1817: /* Prevent repeated error messages. */
1818: IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) = error_mark_node;
1819: IDENTIFIER_ERROR_LOCUS (yyvsp[0].ttype) = current_function_decl;
1820: }
1821: }
1822: else if (TREE_TYPE (yyval.ttype) == error_mark_node)
1823: yyval.ttype = error_mark_node;
1.1.1.2 root 1824: else
1.1 root 1825: {
1.1.1.2 root 1826: assemble_external (yyval.ttype);
1.1 root 1827: TREE_USED (yyval.ttype) = 1;
1828: }
1829: if (TREE_CODE (yyval.ttype) == CONST_DECL)
1830: yyval.ttype = DECL_INITIAL (yyval.ttype);
1831: ;
1832: break;}
1833: case 77:
1.1.1.3 ! root 1834: #line 490 "c-parse.y"
1.1 root 1835: { yyval.ttype = combine_strings (yyvsp[0].ttype); ;
1836: break;}
1837: case 78:
1.1.1.3 ! root 1838: #line 492 "c-parse.y"
1.1 root 1839: { char class = TREE_CODE_CLASS (TREE_CODE (yyvsp[-1].ttype));
1840: if (class == 'e' || class == '1'
1841: || class == '2' || class == '<')
1842: C_SET_EXP_ORIGINAL_CODE (yyvsp[-1].ttype, ERROR_MARK);
1843: yyval.ttype = yyvsp[-1].ttype; ;
1844: break;}
1845: case 79:
1.1.1.3 ! root 1846: #line 498 "c-parse.y"
1.1 root 1847: { yyval.ttype = error_mark_node; ;
1848: break;}
1849: case 80:
1.1.1.3 ! root 1850: #line 500 "c-parse.y"
1.1 root 1851: { if (current_function_decl == 0)
1852: {
1853: error ("braced-group within expression allowed only inside a function");
1854: YYERROR;
1855: }
1856: /* We must force a BLOCK for this level
1857: so that, if it is not expanded later,
1858: there is a way to turn off the entire subtree of blocks
1859: that are contained in it. */
1860: keep_next_level ();
1861: push_label_level ();
1862: yyval.ttype = expand_start_stmt_expr (); ;
1863: break;}
1864: case 81:
1.1.1.3 ! root 1865: #line 513 "c-parse.y"
1.1 root 1866: { tree rtl_exp;
1867: if (pedantic)
1868: pedwarn ("ANSI C forbids braced-groups within expressions");
1869: pop_label_level ();
1870: rtl_exp = expand_end_stmt_expr (yyvsp[-2].ttype);
1871: /* The statements have side effects, so the group does. */
1872: TREE_SIDE_EFFECTS (rtl_exp) = 1;
1.1.1.3 ! root 1873: /* Clear TREE_USED which is always set by poplevel. This
! 1874: block will only be used if the BIND_EXPR is used. */
! 1875: TREE_USED (yyvsp[-1].ttype) = 0;
1.1 root 1876:
1877: /* Make a BIND_EXPR for the BLOCK already made. */
1878: yyval.ttype = build (BIND_EXPR, TREE_TYPE (rtl_exp),
1879: NULL_TREE, rtl_exp, yyvsp[-1].ttype);
1880: ;
1881: break;}
1882: case 82:
1.1.1.3 ! root 1883: #line 529 "c-parse.y"
1.1 root 1884: { yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
1885: break;}
1886: case 83:
1.1.1.3 ! root 1887: #line 531 "c-parse.y"
1.1 root 1888: { yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
1889: break;}
1890: case 84:
1.1.1.3 ! root 1891: #line 533 "c-parse.y"
1.1 root 1892: { yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype); ;
1893: break;}
1894: case 85:
1.1.1.3 ! root 1895: #line 535 "c-parse.y"
1.1 root 1896: { yyval.ttype = build_component_ref (build_indirect_ref (yyvsp[-2].ttype, "->"), yyvsp[0].ttype); ;
1897: break;}
1898: case 86:
1.1.1.3 ! root 1899: #line 537 "c-parse.y"
1.1 root 1900: { yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ;
1901: break;}
1902: case 87:
1.1.1.3 ! root 1903: #line 539 "c-parse.y"
1.1 root 1904: { yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ;
1905: break;}
1906: case 89:
1.1.1.3 ! root 1907: #line 546 "c-parse.y"
1.1 root 1908: { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
1909: break;}
1910: case 92:
1.1.1.3 ! root 1911: #line 554 "c-parse.y"
1.1 root 1912: { c_mark_varargs ();
1913: if (pedantic)
1914: pedwarn ("ANSI C does not permit use of `varargs.h'"); ;
1915: break;}
1916: case 93:
1.1.1.3 ! root 1917: #line 564 "c-parse.y"
1.1 root 1918: { ;
1919: break;}
1920: case 98:
1.1.1.3 ! root 1921: #line 576 "c-parse.y"
1.1 root 1922: { current_declspecs = TREE_VALUE (declspec_stack);
1923: declspec_stack = TREE_CHAIN (declspec_stack);
1924: resume_momentary (yyvsp[-2].itype); ;
1925: break;}
1926: case 99:
1.1.1.3 ! root 1927: #line 580 "c-parse.y"
1.1 root 1928: { current_declspecs = TREE_VALUE (declspec_stack);
1929: declspec_stack = TREE_CHAIN (declspec_stack);
1930: resume_momentary (yyvsp[-2].itype); ;
1931: break;}
1932: case 100:
1.1.1.3 ! root 1933: #line 584 "c-parse.y"
1.1 root 1934: { shadow_tag (yyvsp[-1].ttype); ;
1935: break;}
1936: case 101:
1.1.1.3 ! root 1937: #line 586 "c-parse.y"
1.1 root 1938: { pedwarn ("empty declaration"); ;
1939: break;}
1940: case 102:
1.1.1.3 ! root 1941: #line 595 "c-parse.y"
1.1 root 1942: { ;
1943: break;}
1944: case 107:
1.1.1.3 ! root 1945: #line 610 "c-parse.y"
1.1 root 1946: { yyval.itype = suspend_momentary ();
1947: pending_xref_error ();
1948: declspec_stack = tree_cons (0, current_declspecs,
1949: declspec_stack);
1950: current_declspecs = yyvsp[0].ttype; ;
1951: break;}
1952: case 108:
1.1.1.3 ! root 1953: #line 619 "c-parse.y"
1.1 root 1954: { current_declspecs = TREE_VALUE (declspec_stack);
1955: declspec_stack = TREE_CHAIN (declspec_stack);
1956: resume_momentary (yyvsp[-2].itype); ;
1957: break;}
1958: case 109:
1.1.1.3 ! root 1959: #line 623 "c-parse.y"
1.1 root 1960: { current_declspecs = TREE_VALUE (declspec_stack);
1961: declspec_stack = TREE_CHAIN (declspec_stack);
1962: resume_momentary (yyvsp[-2].itype); ;
1963: break;}
1964: case 110:
1.1.1.3 ! root 1965: #line 627 "c-parse.y"
1.1 root 1966: { current_declspecs = TREE_VALUE (declspec_stack);
1967: declspec_stack = TREE_CHAIN (declspec_stack);
1968: resume_momentary (yyvsp[-1].itype); ;
1969: break;}
1970: case 111:
1.1.1.3 ! root 1971: #line 631 "c-parse.y"
1.1 root 1972: { current_declspecs = TREE_VALUE (declspec_stack);
1973: declspec_stack = TREE_CHAIN (declspec_stack);
1974: resume_momentary (yyvsp[-1].itype); ;
1975: break;}
1976: case 112:
1.1.1.3 ! root 1977: #line 635 "c-parse.y"
1.1 root 1978: { shadow_tag (yyvsp[-1].ttype); ;
1979: break;}
1980: case 113:
1.1.1.3 ! root 1981: #line 637 "c-parse.y"
1.1 root 1982: { pedwarn ("empty declaration"); ;
1983: break;}
1984: case 114:
1.1.1.3 ! root 1985: #line 646 "c-parse.y"
1.1 root 1986: { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
1987: break;}
1988: case 115:
1.1.1.3 ! root 1989: #line 648 "c-parse.y"
1.1 root 1990: { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
1991: break;}
1992: case 116:
1.1.1.3 ! root 1993: #line 652 "c-parse.y"
1.1 root 1994: { yyval.ttype = NULL_TREE; ;
1995: break;}
1996: case 117:
1.1.1.3 ! root 1997: #line 654 "c-parse.y"
1.1 root 1998: { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
1999: break;}
2000: case 118:
1.1.1.3 ! root 2001: #line 656 "c-parse.y"
1.1 root 2002: { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
2003: break;}
2004: case 119:
1.1.1.3 ! root 2005: #line 665 "c-parse.y"
1.1 root 2006: { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
2007: break;}
2008: case 120:
1.1.1.3 ! root 2009: #line 667 "c-parse.y"
1.1 root 2010: { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
2011: break;}
2012: case 121:
1.1.1.3 ! root 2013: #line 669 "c-parse.y"
1.1 root 2014: { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
2015: break;}
2016: case 122:
1.1.1.3 ! root 2017: #line 671 "c-parse.y"
1.1 root 2018: { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
2019: break;}
2020: case 123:
1.1.1.3 ! root 2021: #line 681 "c-parse.y"
1.1 root 2022: { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
2023: break;}
2024: case 124:
1.1.1.3 ! root 2025: #line 683 "c-parse.y"
1.1 root 2026: { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
2027: break;}
2028: case 125:
1.1.1.3 ! root 2029: #line 687 "c-parse.y"
1.1 root 2030: { yyval.ttype = NULL_TREE; ;
2031: break;}
2032: case 126:
1.1.1.3 ! root 2033: #line 689 "c-parse.y"
1.1 root 2034: { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
2035: break;}
2036: case 129:
1.1.1.3 ! root 2037: #line 699 "c-parse.y"
1.1 root 2038: { /* For a typedef name, record the meaning, not the name.
2039: In case of `foo foo, bar;'. */
2040: yyval.ttype = lookup_name (yyvsp[0].ttype); ;
2041: break;}
2042: case 130:
1.1.1.3 ! root 2043: #line 703 "c-parse.y"
1.1 root 2044: { yyval.ttype = TREE_TYPE (yyvsp[-1].ttype);
2045: if (pedantic)
2046: pedwarn ("ANSI C forbids `typeof'"); ;
2047: break;}
2048: case 131:
1.1.1.3 ! root 2049: #line 707 "c-parse.y"
1.1 root 2050: { yyval.ttype = groktypename (yyvsp[-1].ttype);
2051: if (pedantic)
2052: pedwarn ("ANSI C forbids `typeof'"); ;
2053: break;}
2054: case 139:
1.1.1.3 ! root 2055: #line 731 "c-parse.y"
1.1 root 2056: { yyval.ttype = NULL_TREE; ;
2057: break;}
2058: case 140:
1.1.1.3 ! root 2059: #line 733 "c-parse.y"
1.1 root 2060: { if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype);
2061: yyval.ttype = yyvsp[-1].ttype;
2062: ;
2063: break;}
2064: case 141:
1.1.1.3 ! root 2065: #line 740 "c-parse.y"
1.1 root 2066: { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1); ;
2067: break;}
2068: case 142:
1.1.1.3 ! root 2069: #line 743 "c-parse.y"
1.1 root 2070: { decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype);
2071: finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
2072: break;}
2073: case 143:
1.1.1.3 ! root 2074: #line 746 "c-parse.y"
1.1 root 2075: { tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0);
2076: decl_attributes (d, yyvsp[0].ttype);
2077: finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ;
2078: break;}
2079: case 144:
1.1.1.3 ! root 2080: #line 753 "c-parse.y"
1.1 root 2081: { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1); ;
2082: break;}
2083: case 145:
1.1.1.3 ! root 2084: #line 756 "c-parse.y"
1.1 root 2085: { decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype);
2086: finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
2087: break;}
2088: case 146:
1.1.1.3 ! root 2089: #line 759 "c-parse.y"
1.1 root 2090: { tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0);
2091: decl_attributes (d, yyvsp[0].ttype);
2092: finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ;
2093: break;}
2094: case 147:
1.1.1.3 ! root 2095: #line 767 "c-parse.y"
1.1 root 2096: { yyval.ttype = NULL_TREE; ;
2097: break;}
2098: case 148:
1.1.1.3 ! root 2099: #line 769 "c-parse.y"
1.1 root 2100: { yyval.ttype = yyvsp[-2].ttype; ;
2101: break;}
2102: case 149:
1.1.1.3 ! root 2103: #line 774 "c-parse.y"
1.1 root 2104: { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
2105: break;}
2106: case 150:
1.1.1.3 ! root 2107: #line 776 "c-parse.y"
1.1 root 2108: { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype); ;
2109: break;}
2110: case 151:
1.1.1.3 ! root 2111: #line 781 "c-parse.y"
1.1 root 2112: { if (strcmp (IDENTIFIER_POINTER (yyvsp[0].ttype), "packed"))
2113: warning ("`%s' attribute directive ignored",
2114: IDENTIFIER_POINTER (yyvsp[0].ttype));
2115: yyval.ttype = yyvsp[0].ttype; ;
2116: break;}
2117: case 152:
1.1.1.3 ! root 2118: #line 786 "c-parse.y"
! 2119: { /* If not "mode (m)", then issue warning. */
! 2120: if (strcmp (IDENTIFIER_POINTER (yyvsp[-3].ttype), "mode") != 0)
! 2121: {
! 2122: warning ("`%s' attribute directive ignored",
! 2123: IDENTIFIER_POINTER (yyvsp[-3].ttype));
! 2124: yyval.ttype = yyvsp[-3].ttype;
! 2125: }
! 2126: else
! 2127: yyval.ttype = tree_cons (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
! 2128: break;}
! 2129: case 153:
! 2130: #line 796 "c-parse.y"
1.1 root 2131: { /* if not "aligned(n)", then issue warning */
2132: if (strcmp (IDENTIFIER_POINTER (yyvsp[-3].ttype), "aligned") != 0
2133: || TREE_CODE (yyvsp[-1].ttype) != INTEGER_CST)
2134: {
2135: warning ("`%s' attribute directive ignored",
2136: IDENTIFIER_POINTER (yyvsp[-3].ttype));
2137: yyval.ttype = yyvsp[-3].ttype;
2138: }
2139: else
2140: yyval.ttype = tree_cons (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
2141: break;}
1.1.1.3 ! root 2142: case 154:
! 2143: #line 807 "c-parse.y"
1.1 root 2144: { /* if not "format(...)", then issue warning */
2145: if (strcmp (IDENTIFIER_POINTER (yyvsp[-7].ttype), "format") != 0
2146: || TREE_CODE (yyvsp[-3].ttype) != INTEGER_CST
2147: || TREE_CODE (yyvsp[-1].ttype) != INTEGER_CST)
2148: {
2149: warning ("`%s' attribute directive ignored",
2150: IDENTIFIER_POINTER (yyvsp[-7].ttype));
2151: yyval.ttype = yyvsp[-7].ttype;
2152: }
2153: else
2154: yyval.ttype = tree_cons (yyvsp[-7].ttype, tree_cons (yyvsp[-5].ttype, tree_cons (yyvsp[-3].ttype, yyvsp[-1].ttype))); ;
2155: break;}
1.1.1.3 ! root 2156: case 156:
! 2157: #line 823 "c-parse.y"
1.1 root 2158: { yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, NULL_TREE);
2159: if (pedantic)
2160: pedwarn ("ANSI C forbids empty initializer braces"); ;
2161: break;}
1.1.1.3 ! root 2162: case 157:
! 2163: #line 827 "c-parse.y"
1.1 root 2164: { yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-1].ttype)); ;
2165: break;}
1.1.1.3 ! root 2166: case 158:
! 2167: #line 829 "c-parse.y"
1.1 root 2168: { yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-2].ttype)); ;
2169: break;}
1.1.1.3 ! root 2170: case 159:
! 2171: #line 831 "c-parse.y"
1.1 root 2172: { yyval.ttype = NULL_TREE; ;
2173: break;}
1.1.1.3 ! root 2174: case 160:
! 2175: #line 838 "c-parse.y"
1.1 root 2176: { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
2177: break;}
1.1.1.3 ! root 2178: case 161:
! 2179: #line 840 "c-parse.y"
1.1 root 2180: { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype); ;
2181: break;}
1.1.1.3 ! root 2182: case 162:
! 2183: #line 843 "c-parse.y"
1.1 root 2184: { yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); ;
2185: break;}
1.1.1.3 ! root 2186: case 163:
! 2187: #line 845 "c-parse.y"
1.1 root 2188: { yyval.ttype = tree_cons (yyvsp[-2].ttype, yyvsp[0].ttype, yyvsp[-5].ttype); ;
2189: break;}
1.1.1.3 ! root 2190: case 164:
! 2191: #line 847 "c-parse.y"
1.1 root 2192: { yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); ;
2193: break;}
1.1.1.3 ! root 2194: case 165:
! 2195: #line 849 "c-parse.y"
1.1 root 2196: { yyval.ttype = tree_cons (yyvsp[-2].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
2197: break;}
1.1.1.3 ! root 2198: case 166:
! 2199: #line 854 "c-parse.y"
1.1 root 2200: { push_c_function_context ();
2201: if (! start_function (current_declspecs, yyvsp[0].ttype, 1))
2202: {
2203: pop_c_function_context ();
2204: YYERROR1;
2205: }
2206: reinit_parse_for_function ();
2207: store_parm_decls (); ;
2208: break;}
1.1.1.3 ! root 2209: case 167:
! 2210: #line 869 "c-parse.y"
1.1 root 2211: { finish_function (1);
2212: pop_c_function_context (); ;
2213: break;}
1.1.1.3 ! root 2214: case 168:
! 2215: #line 875 "c-parse.y"
1.1 root 2216: { push_c_function_context ();
2217: if (! start_function (current_declspecs, yyvsp[0].ttype, 1))
2218: {
2219: pop_c_function_context ();
2220: YYERROR1;
2221: }
2222: reinit_parse_for_function ();
2223: store_parm_decls (); ;
2224: break;}
1.1.1.3 ! root 2225: case 169:
! 2226: #line 890 "c-parse.y"
1.1 root 2227: { finish_function (1);
2228: pop_c_function_context (); ;
2229: break;}
1.1.1.3 ! root 2230: case 172:
! 2231: #line 906 "c-parse.y"
1.1 root 2232: { yyval.ttype = yyvsp[-1].ttype; ;
2233: break;}
1.1.1.3 ! root 2234: case 173:
! 2235: #line 908 "c-parse.y"
1.1 root 2236: { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
2237: break;}
1.1.1.3 ! root 2238: case 174:
! 2239: #line 913 "c-parse.y"
1.1 root 2240: { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
2241: break;}
1.1.1.3 ! root 2242: case 175:
! 2243: #line 915 "c-parse.y"
1.1 root 2244: { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
2245: break;}
1.1.1.3 ! root 2246: case 176:
! 2247: #line 917 "c-parse.y"
1.1 root 2248: { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
2249: break;}
1.1.1.3 ! root 2250: case 178:
! 2251: #line 928 "c-parse.y"
1.1 root 2252: { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
2253: break;}
1.1.1.3 ! root 2254: case 179:
! 2255: #line 933 "c-parse.y"
1.1 root 2256: { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
2257: break;}
1.1.1.3 ! root 2258: case 180:
! 2259: #line 935 "c-parse.y"
1.1 root 2260: { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
2261: break;}
1.1.1.3 ! root 2262: case 181:
! 2263: #line 937 "c-parse.y"
1.1 root 2264: { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
2265: break;}
1.1.1.3 ! root 2266: case 183:
! 2267: #line 946 "c-parse.y"
1.1 root 2268: { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
2269: break;}
1.1.1.3 ! root 2270: case 184:
! 2271: #line 951 "c-parse.y"
1.1 root 2272: { yyval.ttype = yyvsp[-1].ttype; ;
2273: break;}
1.1.1.3 ! root 2274: case 185:
! 2275: #line 953 "c-parse.y"
1.1 root 2276: { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
2277: break;}
1.1.1.3 ! root 2278: case 186:
! 2279: #line 955 "c-parse.y"
1.1 root 2280: { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
2281: break;}
1.1.1.3 ! root 2282: case 187:
! 2283: #line 957 "c-parse.y"
1.1 root 2284: { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
2285: break;}
1.1.1.3 ! root 2286: case 189:
! 2287: #line 963 "c-parse.y"
1.1 root 2288: { yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype);
2289: /* Start scope of tag before parsing components. */
2290: ;
2291: break;}
1.1.1.3 ! root 2292: case 190:
! 2293: #line 967 "c-parse.y"
1.1 root 2294: { yyval.ttype = finish_struct (yyvsp[-2].ttype, yyvsp[-1].ttype);
2295: /* Really define the structure. */
2296: ;
2297: break;}
1.1.1.3 ! root 2298: case 191:
! 2299: #line 971 "c-parse.y"
1.1 root 2300: { yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE),
2301: yyvsp[-1].ttype); ;
2302: break;}
1.1.1.3 ! root 2303: case 192:
! 2304: #line 974 "c-parse.y"
1.1 root 2305: { yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ;
2306: break;}
1.1.1.3 ! root 2307: case 193:
! 2308: #line 976 "c-parse.y"
1.1 root 2309: { yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ;
2310: break;}
1.1.1.3 ! root 2311: case 194:
! 2312: #line 978 "c-parse.y"
1.1 root 2313: { yyval.ttype = finish_struct (yyvsp[-2].ttype, yyvsp[-1].ttype); ;
2314: break;}
1.1.1.3 ! root 2315: case 195:
! 2316: #line 980 "c-parse.y"
1.1 root 2317: { yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE),
2318: yyvsp[-1].ttype); ;
2319: break;}
1.1.1.3 ! root 2320: case 196:
! 2321: #line 983 "c-parse.y"
1.1 root 2322: { yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ;
2323: break;}
1.1.1.3 ! root 2324: case 197:
! 2325: #line 985 "c-parse.y"
1.1 root 2326: { yyvsp[0].itype = suspend_momentary ();
2327: yyval.ttype = start_enum (yyvsp[-1].ttype); ;
2328: break;}
1.1.1.3 ! root 2329: case 198:
! 2330: #line 988 "c-parse.y"
1.1 root 2331: { yyval.ttype = finish_enum (yyvsp[-3].ttype, nreverse (yyvsp[-2].ttype));
2332: resume_momentary (yyvsp[-4].itype); ;
2333: break;}
1.1.1.3 ! root 2334: case 199:
! 2335: #line 991 "c-parse.y"
1.1 root 2336: { yyvsp[0].itype = suspend_momentary ();
2337: yyval.ttype = start_enum (NULL_TREE); ;
2338: break;}
1.1.1.3 ! root 2339: case 200:
! 2340: #line 994 "c-parse.y"
1.1 root 2341: { yyval.ttype = finish_enum (yyvsp[-3].ttype, nreverse (yyvsp[-2].ttype));
2342: resume_momentary (yyvsp[-4].itype); ;
2343: break;}
1.1.1.3 ! root 2344: case 201:
! 2345: #line 997 "c-parse.y"
1.1 root 2346: { yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); ;
2347: break;}
1.1.1.3 ! root 2348: case 205:
! 2349: #line 1008 "c-parse.y"
1.1 root 2350: { if (pedantic) pedwarn ("comma at end of enumerator list"); ;
2351: break;}
1.1.1.3 ! root 2352: case 206:
! 2353: #line 1013 "c-parse.y"
1.1 root 2354: { yyval.ttype = yyvsp[0].ttype; ;
2355: break;}
1.1.1.3 ! root 2356: case 207:
! 2357: #line 1015 "c-parse.y"
1.1 root 2358: { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
2359: warning ("no semicolon at end of struct or union"); ;
2360: break;}
1.1.1.3 ! root 2361: case 208:
! 2362: #line 1020 "c-parse.y"
1.1 root 2363: { yyval.ttype = NULL_TREE; ;
2364: break;}
1.1.1.3 ! root 2365: case 209:
! 2366: #line 1022 "c-parse.y"
1.1 root 2367: { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ;
2368: break;}
1.1.1.3 ! root 2369: case 210:
! 2370: #line 1024 "c-parse.y"
1.1 root 2371: { if (pedantic)
2372: pedwarn ("extra semicolon in struct or union specified"); ;
2373: break;}
1.1.1.3 ! root 2374: case 211:
! 2375: #line 1039 "c-parse.y"
1.1 root 2376: { yyval.ttype = yyvsp[0].ttype;
2377: current_declspecs = TREE_VALUE (declspec_stack);
2378: declspec_stack = TREE_CHAIN (declspec_stack);
2379: resume_momentary (yyvsp[-1].itype); ;
2380: break;}
1.1.1.3 ! root 2381: case 212:
! 2382: #line 1044 "c-parse.y"
1.1 root 2383: { if (pedantic)
2384: pedwarn ("ANSI C forbids member declarations with no members");
2385: shadow_tag(yyvsp[0].ttype);
2386: yyval.ttype = NULL_TREE; ;
2387: break;}
1.1.1.3 ! root 2388: case 213:
! 2389: #line 1049 "c-parse.y"
1.1 root 2390: { yyval.ttype = yyvsp[0].ttype;
2391: current_declspecs = TREE_VALUE (declspec_stack);
2392: declspec_stack = TREE_CHAIN (declspec_stack);
2393: resume_momentary (yyvsp[-1].itype); ;
2394: break;}
1.1.1.3 ! root 2395: case 214:
! 2396: #line 1054 "c-parse.y"
1.1 root 2397: { if (pedantic)
2398: pedwarn ("ANSI C forbids member declarations with no members");
2399: shadow_tag(yyvsp[0].ttype);
2400: yyval.ttype = NULL_TREE; ;
2401: break;}
1.1.1.3 ! root 2402: case 215:
! 2403: #line 1059 "c-parse.y"
1.1 root 2404: { yyval.ttype = NULL_TREE; ;
2405: break;}
1.1.1.3 ! root 2406: case 217:
! 2407: #line 1065 "c-parse.y"
1.1 root 2408: { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
2409: break;}
1.1.1.3 ! root 2410: case 218:
! 2411: #line 1070 "c-parse.y"
1.1 root 2412: { yyval.ttype = grokfield (yyvsp[-3].filename, yyvsp[-2].lineno, yyvsp[-1].ttype, current_declspecs, NULL_TREE);
2413: decl_attributes (yyval.ttype, yyvsp[0].ttype); ;
2414: break;}
1.1.1.3 ! root 2415: case 219:
! 2416: #line 1074 "c-parse.y"
1.1 root 2417: { yyval.ttype = grokfield (yyvsp[-5].filename, yyvsp[-4].lineno, yyvsp[-3].ttype, current_declspecs, yyvsp[-1].ttype);
2418: decl_attributes (yyval.ttype, yyvsp[0].ttype); ;
2419: break;}
1.1.1.3 ! root 2420: case 220:
! 2421: #line 1077 "c-parse.y"
1.1 root 2422: { yyval.ttype = grokfield (yyvsp[-3].filename, yyvsp[-2].lineno, NULL_TREE, current_declspecs, yyvsp[0].ttype); ;
2423: break;}
2424: case 222:
1.1.1.3 ! root 2425: #line 1088 "c-parse.y"
! 2426: { yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-2].ttype); ;
1.1 root 2427: break;}
2428: case 223:
1.1.1.3 ! root 2429: #line 1094 "c-parse.y"
! 2430: { yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ;
1.1 root 2431: break;}
2432: case 224:
1.1.1.3 ! root 2433: #line 1096 "c-parse.y"
! 2434: { yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ;
1.1 root 2435: break;}
2436: case 225:
1.1.1.3 ! root 2437: #line 1101 "c-parse.y"
1.1 root 2438: { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
2439: break;}
2440: case 226:
1.1.1.3 ! root 2441: #line 1103 "c-parse.y"
! 2442: { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
! 2443: break;}
! 2444: case 227:
! 2445: #line 1108 "c-parse.y"
1.1 root 2446: { yyval.ttype = NULL_TREE; ;
2447: break;}
1.1.1.3 ! root 2448: case 229:
! 2449: #line 1114 "c-parse.y"
1.1 root 2450: { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
2451: break;}
1.1.1.3 ! root 2452: case 230:
! 2453: #line 1116 "c-parse.y"
1.1 root 2454: { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
2455: break;}
1.1.1.3 ! root 2456: case 231:
! 2457: #line 1121 "c-parse.y"
1.1 root 2458: { yyval.ttype = NULL_TREE; ;
2459: break;}
1.1.1.3 ! root 2460: case 232:
! 2461: #line 1123 "c-parse.y"
1.1 root 2462: { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
2463: break;}
1.1.1.3 ! root 2464: case 233:
! 2465: #line 1128 "c-parse.y"
1.1 root 2466: { yyval.ttype = yyvsp[-1].ttype; ;
2467: break;}
1.1.1.3 ! root 2468: case 234:
! 2469: #line 1131 "c-parse.y"
1.1 root 2470: { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
2471: break;}
1.1.1.3 ! root 2472: case 235:
! 2473: #line 1133 "c-parse.y"
1.1 root 2474: { yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ;
2475: break;}
1.1.1.3 ! root 2476: case 236:
! 2477: #line 1135 "c-parse.y"
1.1 root 2478: { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
2479: break;}
1.1.1.3 ! root 2480: case 237:
! 2481: #line 1137 "c-parse.y"
1.1 root 2482: { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
2483: break;}
1.1.1.3 ! root 2484: case 238:
! 2485: #line 1139 "c-parse.y"
1.1 root 2486: { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
2487: break;}
1.1.1.3 ! root 2488: case 239:
! 2489: #line 1141 "c-parse.y"
1.1 root 2490: { yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
2491: break;}
1.1.1.3 ! root 2492: case 240:
! 2493: #line 1143 "c-parse.y"
1.1 root 2494: { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ;
2495: break;}
1.1.1.3 ! root 2496: case 241:
! 2497: #line 1145 "c-parse.y"
1.1 root 2498: { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ;
2499: break;}
1.1.1.3 ! root 2500: case 248:
! 2501: #line 1167 "c-parse.y"
1.1 root 2502: { emit_line_note (input_filename, lineno);
2503: pushlevel (0);
2504: clear_last_expr ();
2505: push_momentary ();
2506: expand_start_bindings (0); ;
2507: break;}
1.1.1.3 ! root 2508: case 250:
! 2509: #line 1179 "c-parse.y"
1.1 root 2510: { if (pedantic)
2511: pedwarn ("ANSI C forbids label declarations"); ;
2512: break;}
1.1.1.3 ! root 2513: case 253:
! 2514: #line 1190 "c-parse.y"
1.1 root 2515: { tree link;
2516: for (link = yyvsp[-1].ttype; link; link = TREE_CHAIN (link))
2517: {
2518: tree label = shadow_label (TREE_VALUE (link));
2519: C_DECLARED_LABEL_FLAG (label) = 1;
2520: declare_nonlocal_label (label);
2521: }
2522: ;
2523: break;}
1.1.1.3 ! root 2524: case 254:
! 2525: #line 1204 "c-parse.y"
1.1 root 2526: {;
2527: break;}
1.1.1.3 ! root 2528: case 256:
! 2529: #line 1209 "c-parse.y"
1.1 root 2530: { yyval.ttype = convert (void_type_node, integer_zero_node); ;
2531: break;}
1.1.1.3 ! root 2532: case 257:
! 2533: #line 1211 "c-parse.y"
1.1 root 2534: { emit_line_note (input_filename, lineno);
2535: expand_end_bindings (getdecls (), 1, 0);
2536: yyval.ttype = poplevel (1, 1, 0);
2537: pop_momentary (); ;
2538: break;}
1.1.1.3 ! root 2539: case 258:
! 2540: #line 1216 "c-parse.y"
1.1 root 2541: { emit_line_note (input_filename, lineno);
2542: expand_end_bindings (getdecls (), kept_level_p (), 0);
2543: yyval.ttype = poplevel (kept_level_p (), 0, 0);
2544: pop_momentary (); ;
2545: break;}
1.1.1.3 ! root 2546: case 259:
! 2547: #line 1221 "c-parse.y"
1.1 root 2548: { emit_line_note (input_filename, lineno);
2549: expand_end_bindings (getdecls (), kept_level_p (), 0);
2550: yyval.ttype = poplevel (kept_level_p (), 0, 0);
2551: pop_momentary (); ;
2552: break;}
1.1.1.3 ! root 2553: case 262:
! 2554: #line 1238 "c-parse.y"
1.1 root 2555: { emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
2556: expand_start_cond (truthvalue_conversion (yyvsp[-1].ttype), 0);
2557: yyvsp[-3].itype = stmt_count;
2558: if_stmt_file = yyvsp[-5].filename;
2559: if_stmt_line = yyvsp[-4].lineno;
2560: position_after_white_space (); ;
2561: break;}
2562: case 263:
1.1.1.3 ! root 2563: #line 1251 "c-parse.y"
! 2564: { stmt_count++;
! 2565: emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno);
! 2566: /* See comment in `while' alternative, above. */
! 2567: emit_nop ();
! 2568: expand_start_loop_continue_elsewhere (1);
! 2569: position_after_white_space (); ;
1.1 root 2570: break;}
2571: case 264:
1.1.1.3 ! root 2572: #line 1258 "c-parse.y"
! 2573: { expand_loop_continue_here (); ;
1.1 root 2574: break;}
2575: case 265:
1.1.1.3 ! root 2576: #line 1262 "c-parse.y"
! 2577: { yyval.filename = input_filename; ;
1.1 root 2578: break;}
2579: case 266:
1.1.1.3 ! root 2580: #line 1266 "c-parse.y"
! 2581: { yyval.lineno = lineno; ;
! 2582: break;}
! 2583: case 267:
! 2584: #line 1271 "c-parse.y"
1.1 root 2585: { ;
2586: break;}
2587: case 268:
1.1.1.3 ! root 2588: #line 1276 "c-parse.y"
! 2589: { ;
! 2590: break;}
! 2591: case 269:
! 2592: #line 1281 "c-parse.y"
! 2593: { ;
! 2594: break;}
! 2595: case 271:
! 2596: #line 1287 "c-parse.y"
1.1 root 2597: { int next;
2598: position_after_white_space ();
2599: next = getc (finput);
2600: ungetc (next, finput);
2601: if (pedantic && next == '}')
2602: pedwarn ("ANSI C forbids label at end of compound statement");
2603: ;
2604: break;}
1.1.1.3 ! root 2605: case 272:
! 2606: #line 1299 "c-parse.y"
1.1 root 2607: { stmt_count++; ;
2608: break;}
1.1.1.3 ! root 2609: case 273:
! 2610: #line 1301 "c-parse.y"
1.1 root 2611: { stmt_count++;
2612: emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
2613: c_expand_expr_stmt (yyvsp[-1].ttype);
2614: clear_momentary (); ;
2615: break;}
1.1.1.3 ! root 2616: case 274:
! 2617: #line 1306 "c-parse.y"
1.1 root 2618: { expand_start_else ();
2619: yyvsp[-1].itype = stmt_count;
2620: position_after_white_space (); ;
2621: break;}
1.1.1.3 ! root 2622: case 275:
! 2623: #line 1310 "c-parse.y"
1.1 root 2624: { expand_end_cond ();
2625: if (extra_warnings && stmt_count == yyvsp[-3].itype)
2626: warning ("empty body in an else-statement"); ;
2627: break;}
1.1.1.3 ! root 2628: case 276:
! 2629: #line 1314 "c-parse.y"
1.1 root 2630: { expand_end_cond ();
2631: if (extra_warnings && stmt_count == yyvsp[0].itype)
2632: warning_with_file_and_line (if_stmt_file, if_stmt_line,
2633: "empty body in an if-statement"); ;
2634: break;}
1.1.1.3 ! root 2635: case 277:
! 2636: #line 1322 "c-parse.y"
1.1 root 2637: { expand_end_cond (); ;
2638: break;}
1.1.1.3 ! root 2639: case 278:
! 2640: #line 1324 "c-parse.y"
1.1 root 2641: { stmt_count++;
2642: emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno);
2643: /* The emit_nop used to come before emit_line_note,
2644: but that made the nop seem like part of the preceding line.
2645: And that was confusing when the preceding line was
2646: inside of an if statement and was not really executed.
2647: I think it ought to work to put the nop after the line number.
2648: We will see. --rms, July 15, 1991. */
1.1.1.3 ! root 2649: emit_nop (); ;
1.1 root 2650: break;}
1.1.1.3 ! root 2651: case 279:
! 2652: #line 1334 "c-parse.y"
! 2653: { /* Don't start the loop till we have succeeded
! 2654: in parsing the end test. This is to make sure
! 2655: that we end every loop we start. */
! 2656: expand_start_loop (1);
! 2657: emit_line_note (input_filename, lineno);
1.1 root 2658: expand_exit_loop_if_false (0, truthvalue_conversion (yyvsp[-1].ttype));
2659: position_after_white_space (); ;
2660: break;}
1.1.1.3 ! root 2661: case 280:
! 2662: #line 1342 "c-parse.y"
1.1 root 2663: { expand_end_loop (); ;
2664: break;}
1.1.1.3 ! root 2665: case 281:
! 2666: #line 1345 "c-parse.y"
1.1 root 2667: { emit_line_note (input_filename, lineno);
2668: expand_exit_loop_if_false (0, truthvalue_conversion (yyvsp[-2].ttype));
2669: expand_end_loop ();
2670: clear_momentary (); ;
2671: break;}
1.1.1.3 ! root 2672: case 282:
! 2673: #line 1351 "c-parse.y"
! 2674: { expand_end_loop ();
! 2675: clear_momentary (); ;
! 2676: break;}
! 2677: case 283:
! 2678: #line 1355 "c-parse.y"
1.1 root 2679: { stmt_count++;
2680: emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
2681: /* See comment in `while' alternative, above. */
2682: emit_nop ();
2683: if (yyvsp[-1].ttype) c_expand_expr_stmt (yyvsp[-1].ttype);
1.1.1.3 ! root 2684: /* Next step is to call expand_start_loop_continue_elsewhere,
! 2685: but wait till after we parse the entire for (...).
! 2686: Otherwise, invalid input might cause us to call that
! 2687: fn without calling expand_end_loop. */
! 2688: ;
1.1 root 2689: break;}
1.1.1.3 ! root 2690: case 284:
! 2691: #line 1367 "c-parse.y"
! 2692: { yyvsp[0].lineno = lineno;
! 2693: yyval.filename = input_filename; ;
1.1 root 2694: break;}
1.1.1.3 ! root 2695: case 285:
! 2696: #line 1370 "c-parse.y"
! 2697: {
! 2698: /* Start the loop. Doing this after parsing
! 2699: all the expressions ensures we will end the loop. */
! 2700: expand_start_loop_continue_elsewhere (1);
! 2701: /* Emit the end-test, with a line number. */
! 2702: emit_line_note (yyvsp[-2].filename, yyvsp[-3].lineno);
! 2703: if (yyvsp[-4].ttype)
! 2704: expand_exit_loop_if_false (0, truthvalue_conversion (yyvsp[-4].ttype));
! 2705: /* Don't let the tree nodes for $9 be discarded by
! 2706: clear_momentary during the parsing of the next stmt. */
! 2707: push_momentary ();
1.1 root 2708: position_after_white_space (); ;
2709: break;}
1.1.1.3 ! root 2710: case 286:
! 2711: #line 1383 "c-parse.y"
1.1 root 2712: { emit_line_note (yyvsp[-13].filename, yyvsp[-12].lineno);
2713: expand_loop_continue_here ();
2714: if (yyvsp[-3].ttype)
2715: c_expand_expr_stmt (yyvsp[-3].ttype);
2716: pop_momentary ();
2717: expand_end_loop (); ;
2718: break;}
1.1.1.3 ! root 2719: case 287:
! 2720: #line 1390 "c-parse.y"
1.1 root 2721: { stmt_count++;
2722: emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
2723: c_expand_start_case (yyvsp[-1].ttype);
2724: /* Don't let the tree nodes for $3 be discarded by
2725: clear_momentary during the parsing of the next stmt. */
2726: push_momentary ();
2727: position_after_white_space (); ;
2728: break;}
1.1.1.3 ! root 2729: case 288:
! 2730: #line 1398 "c-parse.y"
1.1 root 2731: { expand_end_case (yyvsp[-3].ttype);
2732: pop_momentary (); ;
2733: break;}
1.1.1.3 ! root 2734: case 289:
! 2735: #line 1401 "c-parse.y"
1.1 root 2736: { stmt_count++;
2737: emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
2738: if ( ! expand_exit_something ())
2739: error ("break statement not within loop or switch"); ;
2740: break;}
1.1.1.3 ! root 2741: case 290:
! 2742: #line 1406 "c-parse.y"
1.1 root 2743: { stmt_count++;
2744: emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
2745: if (! expand_continue_loop (0))
2746: error ("continue statement not within a loop"); ;
2747: break;}
1.1.1.3 ! root 2748: case 291:
! 2749: #line 1411 "c-parse.y"
1.1 root 2750: { stmt_count++;
2751: emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
2752: c_expand_return (NULL_TREE); ;
2753: break;}
1.1.1.3 ! root 2754: case 292:
! 2755: #line 1415 "c-parse.y"
1.1 root 2756: { stmt_count++;
2757: emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno);
2758: c_expand_return (yyvsp[-1].ttype); ;
2759: break;}
1.1.1.3 ! root 2760: case 293:
! 2761: #line 1419 "c-parse.y"
1.1 root 2762: { stmt_count++;
2763: emit_line_note (yyvsp[-7].filename, yyvsp[-6].lineno);
2764: STRIP_NOPS (yyvsp[-2].ttype);
2765: if ((TREE_CODE (yyvsp[-2].ttype) == ADDR_EXPR
2766: && TREE_CODE (TREE_OPERAND (yyvsp[-2].ttype, 0)) == STRING_CST)
2767: || TREE_CODE (yyvsp[-2].ttype) == STRING_CST)
2768: expand_asm (yyvsp[-2].ttype);
2769: else
2770: error ("argument of `asm' is not a constant string"); ;
2771: break;}
1.1.1.3 ! root 2772: case 294:
! 2773: #line 1430 "c-parse.y"
1.1 root 2774: { stmt_count++;
2775: emit_line_note (yyvsp[-9].filename, yyvsp[-8].lineno);
2776: c_expand_asm_operands (yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, NULL_TREE,
2777: yyvsp[-6].ttype == ridpointers[(int)RID_VOLATILE],
2778: input_filename, lineno); ;
2779: break;}
1.1.1.3 ! root 2780: case 295:
! 2781: #line 1437 "c-parse.y"
1.1 root 2782: { stmt_count++;
2783: emit_line_note (yyvsp[-11].filename, yyvsp[-10].lineno);
2784: c_expand_asm_operands (yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE,
2785: yyvsp[-8].ttype == ridpointers[(int)RID_VOLATILE],
2786: input_filename, lineno); ;
2787: break;}
1.1.1.3 ! root 2788: case 296:
! 2789: #line 1445 "c-parse.y"
1.1 root 2790: { stmt_count++;
2791: emit_line_note (yyvsp[-13].filename, yyvsp[-12].lineno);
2792: c_expand_asm_operands (yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype,
2793: yyvsp[-10].ttype == ridpointers[(int)RID_VOLATILE],
2794: input_filename, lineno); ;
2795: break;}
1.1.1.3 ! root 2796: case 297:
! 2797: #line 1451 "c-parse.y"
1.1 root 2798: { tree decl;
2799: stmt_count++;
2800: emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno);
2801: decl = lookup_label (yyvsp[-1].ttype);
2802: if (decl != 0)
2803: {
2804: TREE_USED (decl) = 1;
2805: expand_goto (decl);
2806: }
2807: ;
2808: break;}
1.1.1.3 ! root 2809: case 298:
! 2810: #line 1462 "c-parse.y"
1.1 root 2811: { stmt_count++;
2812: emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
2813: expand_computed_goto (yyvsp[-1].ttype); ;
2814: break;}
1.1.1.3 ! root 2815: case 300:
! 2816: #line 1473 "c-parse.y"
1.1 root 2817: { register tree value = check_case_value (yyvsp[-1].ttype);
2818: register tree label
2819: = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE);
2820:
2821: stmt_count++;
2822:
2823: if (value != error_mark_node)
2824: {
2825: tree duplicate;
2826: int success = pushcase (value, label, &duplicate);
2827: if (success == 1)
2828: error ("case label not within a switch statement");
2829: else if (success == 2)
2830: {
2831: error ("duplicate case value");
2832: error_with_decl (duplicate, "this is the first entry for that value");
2833: }
2834: else if (success == 3)
2835: warning ("case value out of range");
2836: else if (success == 5)
2837: error ("case label within scope of cleanup or variable array");
2838: }
2839: position_after_white_space (); ;
2840: break;}
1.1.1.3 ! root 2841: case 301:
! 2842: #line 1497 "c-parse.y"
1.1 root 2843: { register tree value1 = check_case_value (yyvsp[-3].ttype);
2844: register tree value2 = check_case_value (yyvsp[-1].ttype);
2845: register tree label
2846: = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE);
2847:
2848: stmt_count++;
2849:
2850: if (value1 != error_mark_node && value2 != error_mark_node)
2851: {
2852: tree duplicate;
2853: int success = pushcase_range (value1, value2, label,
2854: &duplicate);
2855: if (success == 1)
2856: error ("case label not within a switch statement");
2857: else if (success == 2)
2858: {
2859: error ("duplicate case value");
2860: error_with_decl (duplicate, "this is the first entry for that value");
2861: }
2862: else if (success == 3)
2863: warning ("case value out of range");
2864: else if (success == 4)
2865: warning ("empty case range");
2866: else if (success == 5)
2867: error ("case label within scope of cleanup or variable array");
2868: }
2869: position_after_white_space (); ;
2870: break;}
1.1.1.3 ! root 2871: case 302:
! 2872: #line 1525 "c-parse.y"
1.1 root 2873: {
2874: tree duplicate;
2875: register tree label
2876: = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE);
2877: int success = pushcase (NULL_TREE, label, &duplicate);
2878: stmt_count++;
2879: if (success == 1)
2880: error ("default label not within a switch statement");
2881: else if (success == 2)
2882: {
2883: error ("multiple default labels in one switch");
2884: error_with_decl (duplicate, "this is the first default label");
2885: }
2886: position_after_white_space (); ;
2887: break;}
1.1.1.3 ! root 2888: case 303:
! 2889: #line 1540 "c-parse.y"
1.1 root 2890: { tree label = define_label (input_filename, lineno, yyvsp[-1].ttype);
2891: stmt_count++;
2892: emit_nop ();
2893: if (label)
2894: expand_label (label);
2895: position_after_white_space (); ;
2896: break;}
1.1.1.3 ! root 2897: case 304:
! 2898: #line 1552 "c-parse.y"
1.1 root 2899: { emit_line_note (input_filename, lineno); ;
2900: break;}
1.1.1.3 ! root 2901: case 305:
! 2902: #line 1554 "c-parse.y"
1.1 root 2903: { emit_line_note (input_filename, lineno); ;
2904: break;}
1.1.1.3 ! root 2905: case 306:
! 2906: #line 1559 "c-parse.y"
1.1 root 2907: { yyval.ttype = NULL_TREE; ;
2908: break;}
1.1.1.3 ! root 2909: case 308:
! 2910: #line 1566 "c-parse.y"
1.1 root 2911: { yyval.ttype = NULL_TREE; ;
2912: break;}
1.1.1.3 ! root 2913: case 311:
! 2914: #line 1573 "c-parse.y"
1.1 root 2915: { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
2916: break;}
1.1.1.3 ! root 2917: case 312:
! 2918: #line 1578 "c-parse.y"
1.1 root 2919: { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
2920: break;}
1.1.1.3 ! root 2921: case 313:
! 2922: #line 1583 "c-parse.y"
1.1 root 2923: { yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), NULL_TREE); ;
2924: break;}
1.1.1.3 ! root 2925: case 314:
! 2926: #line 1585 "c-parse.y"
1.1 root 2927: { yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), yyvsp[-2].ttype); ;
2928: break;}
1.1.1.3 ! root 2929: case 315:
! 2930: #line 1591 "c-parse.y"
1.1 root 2931: { pushlevel (0);
2932: clear_parm_order ();
2933: declare_parm_level (0); ;
2934: break;}
1.1.1.3 ! root 2935: case 316:
! 2936: #line 1595 "c-parse.y"
1.1 root 2937: { yyval.ttype = yyvsp[0].ttype;
2938: parmlist_tags_warning ();
2939: poplevel (0, 0, 0); ;
2940: break;}
1.1.1.3 ! root 2941: case 318:
! 2942: #line 1603 "c-parse.y"
1.1 root 2943: { tree parm;
1.1.1.3 ! root 2944: if (pedantic)
! 2945: pedwarn ("ANSI C forbids forward parameter declarations");
1.1 root 2946: /* Mark the forward decls as such. */
2947: for (parm = getdecls (); parm; parm = TREE_CHAIN (parm))
2948: TREE_ASM_WRITTEN (parm) = 1;
2949: clear_parm_order (); ;
2950: break;}
1.1.1.3 ! root 2951: case 319:
! 2952: #line 1611 "c-parse.y"
1.1 root 2953: { yyval.ttype = yyvsp[0].ttype; ;
2954: break;}
1.1.1.3 ! root 2955: case 320:
! 2956: #line 1613 "c-parse.y"
1.1 root 2957: { yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ;
2958: break;}
1.1.1.3 ! root 2959: case 321:
! 2960: #line 1619 "c-parse.y"
1.1 root 2961: { yyval.ttype = get_parm_info (0); ;
2962: break;}
1.1.1.3 ! root 2963: case 322:
! 2964: #line 1621 "c-parse.y"
1.1 root 2965: { yyval.ttype = get_parm_info (0);
2966: if (pedantic)
2967: pedwarn ("ANSI C requires a named argument before `...'");
2968: ;
2969: break;}
1.1.1.3 ! root 2970: case 323:
! 2971: #line 1626 "c-parse.y"
1.1 root 2972: { yyval.ttype = get_parm_info (1); ;
2973: break;}
1.1.1.3 ! root 2974: case 324:
! 2975: #line 1628 "c-parse.y"
1.1 root 2976: { yyval.ttype = get_parm_info (0); ;
2977: break;}
1.1.1.3 ! root 2978: case 325:
! 2979: #line 1633 "c-parse.y"
1.1 root 2980: { push_parm_decl (yyvsp[0].ttype); ;
2981: break;}
1.1.1.3 ! root 2982: case 326:
! 2983: #line 1635 "c-parse.y"
1.1 root 2984: { push_parm_decl (yyvsp[0].ttype); ;
2985: break;}
1.1.1.3 ! root 2986: case 327:
! 2987: #line 1642 "c-parse.y"
1.1 root 2988: { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ;
2989: break;}
1.1.1.3 ! root 2990: case 328:
! 2991: #line 1644 "c-parse.y"
1.1 root 2992: { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ;
2993: break;}
1.1.1.3 ! root 2994: case 329:
! 2995: #line 1646 "c-parse.y"
1.1 root 2996: { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
2997: break;}
1.1.1.3 ! root 2998: case 330:
! 2999: #line 1648 "c-parse.y"
1.1 root 3000: { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ;
3001: break;}
1.1.1.3 ! root 3002: case 331:
! 3003: #line 1650 "c-parse.y"
1.1 root 3004: { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
3005: break;}
1.1.1.3 ! root 3006: case 332:
! 3007: #line 1657 "c-parse.y"
1.1 root 3008: { pushlevel (0);
3009: clear_parm_order ();
3010: declare_parm_level (1); ;
3011: break;}
1.1.1.3 ! root 3012: case 333:
! 3013: #line 1661 "c-parse.y"
1.1 root 3014: { yyval.ttype = yyvsp[0].ttype;
3015: parmlist_tags_warning ();
3016: poplevel (0, 0, 0); ;
3017: break;}
3018: case 335:
1.1.1.3 ! root 3019: #line 1669 "c-parse.y"
1.1 root 3020: { tree t;
3021: for (t = yyvsp[-1].ttype; t; t = TREE_CHAIN (t))
3022: if (TREE_VALUE (t) == NULL_TREE)
3023: error ("`...' in old-style identifier list");
3024: yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, yyvsp[-1].ttype); ;
3025: break;}
3026: case 336:
1.1.1.3 ! root 3027: #line 1679 "c-parse.y"
1.1 root 3028: { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
3029: break;}
1.1.1.3 ! root 3030: case 337:
! 3031: #line 1681 "c-parse.y"
1.1 root 3032: { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
3033: break;}
1.1.1.3 ! root 3034: case 338:
! 3035: #line 1687 "c-parse.y"
1.1 root 3036: { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
3037: break;}
1.1.1.3 ! root 3038: case 339:
! 3039: #line 1689 "c-parse.y"
1.1 root 3040: { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
3041: break;}
3042: }
3043: /* the action file gets copied in in place of this dollarsign */
3044: #line 440 "bison.simple"
3045:
3046: yyvsp -= yylen;
3047: yyssp -= yylen;
3048: #ifdef YYLSP_NEEDED
3049: yylsp -= yylen;
3050: #endif
3051:
3052: #if YYDEBUG != 0
3053: if (yydebug)
3054: {
3055: short *ssp1 = yyss - 1;
3056: fprintf (stderr, "state stack now");
3057: while (ssp1 != yyssp)
3058: fprintf (stderr, " %d", *++ssp1);
3059: fprintf (stderr, "\n");
3060: }
3061: #endif
3062:
3063: *++yyvsp = yyval;
3064:
3065: #ifdef YYLSP_NEEDED
3066: yylsp++;
3067: if (yylen == 0)
3068: {
3069: yylsp->first_line = yylloc.first_line;
3070: yylsp->first_column = yylloc.first_column;
3071: yylsp->last_line = (yylsp-1)->last_line;
3072: yylsp->last_column = (yylsp-1)->last_column;
3073: yylsp->text = 0;
3074: }
3075: else
3076: {
3077: yylsp->last_line = (yylsp+yylen-1)->last_line;
3078: yylsp->last_column = (yylsp+yylen-1)->last_column;
3079: }
3080: #endif
3081:
3082: /* Now "shift" the result of the reduction.
3083: Determine what state that goes to,
3084: based on the state we popped back to
3085: and the rule number reduced by. */
3086:
3087: yyn = yyr1[yyn];
3088:
3089: yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
3090: if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
3091: yystate = yytable[yystate];
3092: else
3093: yystate = yydefgoto[yyn - YYNTBASE];
3094:
3095: goto yynewstate;
3096:
3097: yyerrlab: /* here on detecting error */
3098:
3099: if (! yyerrstatus)
3100: /* If not already recovering from an error, report this error. */
3101: {
3102: ++yynerrs;
3103:
3104: #ifdef YYERROR_VERBOSE
3105: yyn = yypact[yystate];
3106:
3107: if (yyn > YYFLAG && yyn < YYLAST)
3108: {
3109: int size = 0;
3110: char *msg;
3111: int x, count;
3112:
3113: count = 0;
3114: for (x = 0; x < (sizeof(yytname) / sizeof(char *)); x++)
3115: if (yycheck[x + yyn] == x)
3116: size += strlen(yytname[x]) + 15, count++;
1.1.1.3 ! root 3117: msg = (char *) malloc(size + 15);
! 3118: if (msg != 0)
1.1.1.2 root 3119: {
1.1.1.3 ! root 3120: strcpy(msg, "parse error");
! 3121:
! 3122: if (count < 5)
! 3123: {
! 3124: count = 0;
! 3125: for (x = 0; x < (sizeof(yytname) / sizeof(char *)); x++)
! 3126: if (yycheck[x + yyn] == x)
! 3127: {
! 3128: strcat(msg, count == 0 ? ", expecting `" : " or `");
! 3129: strcat(msg, yytname[x]);
! 3130: strcat(msg, "'");
! 3131: count++;
! 3132: }
! 3133: }
! 3134: yyerror(msg);
! 3135: free(msg);
1.1 root 3136: }
1.1.1.3 ! root 3137: else
! 3138: yyerror ("parse error; also virtual memory exceeded");
1.1 root 3139: }
3140: else
3141: #endif /* YYERROR_VERBOSE */
3142: yyerror("parse error");
3143: }
3144:
3145: yyerrlab1: /* here on error raised explicitly by an action */
3146:
3147: if (yyerrstatus == 3)
3148: {
3149: /* if just tried and failed to reuse lookahead token after an error, discard it. */
3150:
3151: /* return failure if at end of input */
3152: if (yychar == YYEOF)
3153: YYABORT;
3154:
3155: #if YYDEBUG != 0
3156: if (yydebug)
3157: fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
3158: #endif
3159:
3160: yychar = YYEMPTY;
3161: }
3162:
3163: /* Else will try to reuse lookahead token
3164: after shifting the error token. */
3165:
3166: yyerrstatus = 3; /* Each real token shifted decrements this */
3167:
3168: goto yyerrhandle;
3169:
3170: yyerrdefault: /* current state does not do anything special for the error token. */
3171:
3172: #if 0
3173: /* This is wrong; only states that explicitly want error tokens
3174: should shift them. */
3175: yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/
3176: if (yyn) goto yydefault;
3177: #endif
3178:
3179: yyerrpop: /* pop the current state because it cannot handle the error token */
3180:
3181: if (yyssp == yyss) YYABORT;
3182: yyvsp--;
3183: yystate = *--yyssp;
3184: #ifdef YYLSP_NEEDED
3185: yylsp--;
3186: #endif
3187:
3188: #if YYDEBUG != 0
3189: if (yydebug)
3190: {
3191: short *ssp1 = yyss - 1;
3192: fprintf (stderr, "Error: state stack now");
3193: while (ssp1 != yyssp)
3194: fprintf (stderr, " %d", *++ssp1);
3195: fprintf (stderr, "\n");
3196: }
3197: #endif
3198:
3199: yyerrhandle:
3200:
3201: yyn = yypact[yystate];
3202: if (yyn == YYFLAG)
3203: goto yyerrdefault;
3204:
3205: yyn += YYTERROR;
3206: if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
3207: goto yyerrdefault;
3208:
3209: yyn = yytable[yyn];
3210: if (yyn < 0)
3211: {
3212: if (yyn == YYFLAG)
3213: goto yyerrpop;
3214: yyn = -yyn;
3215: goto yyreduce;
3216: }
3217: else if (yyn == 0)
3218: goto yyerrpop;
3219:
3220: if (yyn == YYFINAL)
3221: YYACCEPT;
3222:
3223: #if YYDEBUG != 0
3224: if (yydebug)
3225: fprintf(stderr, "Shifting error token, ");
3226: #endif
3227:
3228: *++yyvsp = yylval;
3229: #ifdef YYLSP_NEEDED
3230: *++yylsp = yylloc;
3231: #endif
3232:
3233: yystate = yyn;
3234: goto yynewstate;
3235: }
1.1.1.3 ! root 3236: #line 1691 "c-parse.y"
1.1 root 3237:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.