home *** CD-ROM | disk | FTP | other *** search
-
- /* A Bison parser, made from c-parse.y with Bison version GNU Bison version 1.22
- */
-
- #define YYBISON 1 /* Identify Bison output. */
-
- #define IDENTIFIER 258
- #define TYPENAME 259
- #define SCSPEC 260
- #define TYPESPEC 261
- #define TYPE_QUAL 262
- #define CONSTANT 263
- #define STRING 264
- #define ELLIPSIS 265
- #define SIZEOF 266
- #define ENUM 267
- #define STRUCT 268
- #define UNION 269
- #define IF 270
- #define ELSE 271
- #define WHILE 272
- #define DO 273
- #define FOR 274
- #define SWITCH 275
- #define CASE 276
- #define DEFAULT 277
- #define BREAK 278
- #define CONTINUE 279
- #define RETURN 280
- #define GOTO 281
- #define ASM_KEYWORD 282
- #define TYPEOF 283
- #define ALIGNOF 284
- #define ATTRIBUTE 285
- #define EXTENSION 286
- #define LABEL 287
- #define REALPART 288
- #define IMAGPART 289
- #define ASSIGN 290
- #define OROR 291
- #define ANDAND 292
- #define EQCOMPARE 293
- #define ARITHCOMPARE 294
- #define LSHIFT 295
- #define RSHIFT 296
- #define UNARY 297
- #define PLUSPLUS 298
- #define MINUSMINUS 299
- #define HYPERUNARY 300
- #define POINTSAT 301
- #define INTERFACE 302
- #define IMPLEMENTATION 303
- #define END 304
- #define SELECTOR 305
- #define DEFS 306
- #define ENCODE 307
- #define CLASSNAME 308
- #define PUBLIC 309
- #define PRIVATE 310
- #define PROTECTED 311
- #define PROTOCOL 312
- #define OBJECTNAME 313
- #define CLASS 314
- #define ALIAS 315
- #define OBJC_STRING 316
-
- #line 55 "c-parse.y"
-
- #include <stdio.h>
- #include <errno.h>
- #include <setjmp.h>
-
- #include "config.h"
- #include "tree.h"
- #include "input.h"
- #include "c-lex.h"
- #include "c-tree.h"
- #include "flags.h"
-
- #ifdef MULTIBYTE_CHARS
- #include <stdlib.h>
- #include <locale.h>
- #endif
-
-
- /* Since parsers are distinct for each language, put the language string
- definition here. */
- char *language_string = "GNU C";
-
- #ifndef errno
- extern int errno;
- #endif
-
- void yyerror ();
-
- /* Like YYERROR but do call yyerror. */
- #define YYERROR1 { yyerror ("syntax error"); YYERROR; }
-
- /* Cause the `yydebug' variable to be defined. */
- #define YYDEBUG 1
-
- #line 92 "c-parse.y"
- typedef union {long itype; tree ttype; enum tree_code code;
- char *filename; int lineno; } YYSTYPE;
- #line 204 "c-parse.y"
-
- /* Number of statements (loosely speaking) seen so far. */
- static int stmt_count;
-
- /* Input file and line number of the end of the body of last simple_if;
- used by the stmt-rule immediately after simple_if returns. */
- static char *if_stmt_file;
- static int if_stmt_line;
-
- /* List of types and structure classes of the current declaration. */
- static tree current_declspecs;
- static tree prefix_attributes = NULL_TREE;
-
- /* Stack of saved values of current_declspecs and prefix_attributes. */
- static tree declspec_stack;
-
- /* 1 if we explained undeclared var errors. */
- static int undeclared_variable_notice;
-
-
- /* Tell yyparse how to print a token's value, if yydebug is set. */
-
- #define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL)
- extern void yyprint ();
-
- #ifndef YYLTYPE
- typedef
- struct yyltype
- {
- int timestamp;
- int first_line;
- int first_column;
- int last_line;
- int last_column;
- char *text;
- }
- yyltype;
-
- #define YYLTYPE yyltype
- #endif
-
- #include <stdio.h>
-
- #ifndef __cplusplus
- #ifndef __STDC__
- #define const
- #endif
- #endif
-
-
-
- #define YYFINAL 657
- #define YYFLAG -32768
- #define YYNTBASE 84
-
- #define YYTRANSLATE(x) ((unsigned)(x) <= 316 ? yytranslate[x] : 227)
-
- static const char yytranslate[] = { 0,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 80, 2, 2, 2, 52, 43, 2, 59,
- 76, 50, 48, 81, 49, 58, 51, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 38, 77, 2,
- 36, 2, 37, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 60, 2, 83, 42, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 82, 41, 78, 79, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 1, 2, 3, 4, 5,
- 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
- 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
- 26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
- 39, 40, 44, 45, 46, 47, 53, 54, 55, 56,
- 57, 61, 62, 63, 64, 65, 66, 67, 68, 69,
- 70, 71, 72, 73, 74, 75
- };
-
- #if YYDEBUG != 0
- static const short yyprhs[] = { 0,
- 0, 1, 3, 4, 7, 8, 12, 14, 16, 22,
- 26, 31, 36, 39, 42, 45, 48, 50, 51, 52,
- 60, 65, 66, 67, 75, 80, 81, 82, 89, 93,
- 95, 97, 99, 101, 103, 105, 107, 109, 111, 113,
- 114, 116, 118, 122, 124, 127, 128, 132, 135, 138,
- 141, 146, 149, 154, 157, 160, 162, 167, 168, 176,
- 178, 182, 186, 190, 194, 198, 202, 206, 210, 214,
- 218, 222, 226, 230, 234, 240, 244, 248, 250, 252,
- 254, 258, 262, 263, 268, 273, 278, 282, 286, 289,
- 292, 294, 297, 298, 300, 303, 307, 309, 311, 314,
- 317, 322, 327, 330, 333, 337, 339, 341, 344, 347,
- 348, 349, 354, 359, 363, 367, 370, 373, 376, 380,
- 381, 384, 387, 389, 391, 394, 397, 400, 404, 405,
- 408, 410, 412, 414, 419, 424, 426, 428, 430, 432,
- 436, 438, 442, 443, 448, 449, 456, 460, 461, 468,
- 472, 473, 475, 477, 480, 487, 489, 493, 494, 496,
- 501, 508, 513, 515, 517, 519, 521, 523, 524, 529,
- 531, 532, 535, 537, 541, 543, 544, 549, 551, 552,
- 561, 562, 569, 570, 576, 577, 582, 583, 589, 590,
- 591, 597, 598, 599, 605, 607, 609, 613, 617, 622,
- 626, 630, 634, 636, 640, 645, 649, 653, 657, 659,
- 663, 667, 671, 676, 680, 684, 686, 687, 695, 701,
- 704, 705, 713, 719, 722, 723, 732, 733, 741, 744,
- 745, 747, 748, 750, 752, 755, 756, 760, 763, 767,
- 769, 773, 775, 777, 779, 783, 788, 795, 801, 803,
- 807, 809, 811, 815, 818, 821, 822, 824, 826, 829,
- 830, 833, 837, 841, 844, 848, 853, 857, 860, 864,
- 867, 871, 873, 876, 879, 880, 882, 885, 886, 887,
- 889, 891, 894, 898, 900, 903, 906, 913, 919, 925,
- 928, 931, 936, 937, 942, 943, 944, 948, 953, 957,
- 959, 961, 963, 965, 968, 969, 974, 976, 980, 981,
- 982, 990, 996, 999, 1000, 1001, 1002, 1015, 1016, 1023,
- 1026, 1029, 1032, 1036, 1043, 1052, 1063, 1076, 1080, 1085,
- 1087, 1089, 1090, 1097, 1101, 1107, 1110, 1113, 1114, 1116,
- 1117, 1119, 1120, 1122, 1124, 1128, 1133, 1135, 1139, 1140,
- 1143, 1146, 1147, 1152, 1155, 1156, 1158, 1160, 1164, 1166,
- 1170, 1175, 1180, 1185, 1190, 1195, 1196, 1199, 1201, 1204,
- 1206, 1210, 1212
- };
-
- static const short yyrhs[] = { -1,
- 85, 0, 0, 86, 88, 0, 0, 85, 87, 88,
- 0, 90, 0, 89, 0, 27, 59, 99, 76, 77,
- 0, 116, 127, 77, 0, 121, 116, 127, 77, 0,
- 119, 116, 126, 77, 0, 121, 77, 0, 119, 77,
- 0, 1, 77, 0, 1, 78, 0, 77, 0, 0,
- 0, 119, 116, 156, 91, 110, 92, 186, 0, 119,
- 116, 156, 1, 0, 0, 0, 121, 116, 159, 93,
- 110, 94, 186, 0, 121, 116, 159, 1, 0, 0,
- 0, 116, 159, 95, 110, 96, 186, 0, 116, 159,
- 1, 0, 3, 0, 4, 0, 43, 0, 49, 0,
- 48, 0, 54, 0, 55, 0, 79, 0, 80, 0,
- 101, 0, 0, 101, 0, 106, 0, 101, 81, 106,
- 0, 107, 0, 50, 104, 0, 0, 31, 103, 104,
- 0, 98, 104, 0, 40, 97, 0, 11, 102, 0,
- 11, 59, 174, 76, 0, 29, 102, 0, 29, 59,
- 174, 76, 0, 33, 104, 0, 34, 104, 0, 102,
- 0, 59, 174, 76, 104, 0, 0, 59, 174, 76,
- 82, 105, 141, 78, 0, 104, 0, 106, 48, 106,
- 0, 106, 49, 106, 0, 106, 50, 106, 0, 106,
- 51, 106, 0, 106, 52, 106, 0, 106, 46, 106,
- 0, 106, 47, 106, 0, 106, 45, 106, 0, 106,
- 44, 106, 0, 106, 43, 106, 0, 106, 41, 106,
- 0, 106, 42, 106, 0, 106, 40, 106, 0, 106,
- 39, 106, 0, 106, 37, 210, 38, 106, 0, 106,
- 36, 106, 0, 106, 35, 106, 0, 3, 0, 8,
- 0, 109, 0, 59, 99, 76, 0, 59, 1, 76,
- 0, 0, 59, 108, 187, 76, 0, 107, 59, 100,
- 76, 0, 107, 60, 99, 83, 0, 107, 58, 97,
- 0, 107, 57, 97, 0, 107, 54, 0, 107, 55,
- 0, 9, 0, 109, 9, 0, 0, 112, 0, 112,
- 10, 0, 192, 193, 113, 0, 111, 0, 181, 0,
- 112, 111, 0, 111, 181, 0, 119, 116, 126, 77,
- 0, 121, 116, 127, 77, 0, 119, 77, 0, 121,
- 77, 0, 192, 193, 118, 0, 114, 0, 181, 0,
- 115, 114, 0, 114, 181, 0, 0, 0, 119, 116,
- 126, 77, 0, 121, 116, 127, 77, 0, 119, 116,
- 150, 0, 121, 116, 153, 0, 119, 77, 0, 121,
- 77, 0, 124, 120, 0, 121, 124, 120, 0, 0,
- 120, 125, 0, 120, 5, 0, 7, 0, 5, 0,
- 121, 7, 0, 121, 5, 0, 124, 123, 0, 176,
- 124, 123, 0, 0, 123, 125, 0, 6, 0, 160,
- 0, 4, 0, 28, 59, 99, 76, 0, 28, 59,
- 174, 76, 0, 6, 0, 7, 0, 160, 0, 129,
- 0, 126, 81, 129, 0, 131, 0, 127, 81, 129,
- 0, 0, 27, 59, 109, 76, 0, 0, 156, 128,
- 133, 36, 130, 139, 0, 156, 128, 133, 0, 0,
- 159, 128, 133, 36, 132, 139, 0, 159, 128, 133,
- 0, 0, 134, 0, 135, 0, 134, 135, 0, 30,
- 59, 59, 136, 76, 76, 0, 137, 0, 136, 81,
- 137, 0, 0, 138, 0, 138, 59, 3, 76, 0,
- 138, 59, 3, 81, 101, 76, 0, 138, 59, 100,
- 76, 0, 97, 0, 5, 0, 6, 0, 7, 0,
- 106, 0, 0, 82, 140, 141, 78, 0, 1, 0,
- 0, 142, 165, 0, 143, 0, 142, 81, 143, 0,
- 106, 0, 0, 82, 144, 141, 78, 0, 1, 0,
- 0, 60, 106, 10, 106, 83, 36, 145, 143, 0,
- 0, 60, 106, 83, 36, 146, 143, 0, 0, 60,
- 106, 83, 147, 143, 0, 0, 97, 38, 148, 143,
- 0, 0, 58, 97, 36, 149, 143, 0, 0, 0,
- 156, 151, 110, 152, 187, 0, 0, 0, 159, 154,
- 110, 155, 187, 0, 157, 0, 159, 0, 59, 157,
- 76, 0, 157, 59, 222, 0, 157, 60, 99, 83,
- 0, 157, 60, 83, 0, 50, 177, 157, 0, 134,
- 117, 157, 0, 4, 0, 158, 59, 222, 0, 158,
- 60, 99, 83, 0, 158, 60, 83, 0, 50, 177,
- 158, 0, 134, 117, 158, 0, 4, 0, 159, 59,
- 222, 0, 59, 159, 76, 0, 50, 177, 159, 0,
- 159, 60, 99, 83, 0, 159, 60, 83, 0, 134,
- 117, 159, 0, 3, 0, 0, 13, 97, 82, 161,
- 167, 78, 133, 0, 13, 82, 167, 78, 133, 0,
- 13, 97, 0, 0, 14, 97, 82, 162, 167, 78,
- 133, 0, 14, 82, 167, 78, 133, 0, 14, 97,
- 0, 0, 12, 97, 82, 163, 172, 166, 78, 133,
- 0, 0, 12, 82, 164, 172, 166, 78, 133, 0,
- 12, 97, 0, 0, 81, 0, 0, 81, 0, 168,
- 0, 168, 169, 0, 0, 168, 169, 77, 0, 168,
- 77, 0, 122, 116, 170, 0, 122, 0, 176, 116,
- 170, 0, 176, 0, 1, 0, 171, 0, 170, 81,
- 171, 0, 192, 193, 156, 133, 0, 192, 193, 156,
- 38, 106, 133, 0, 192, 193, 38, 106, 133, 0,
- 173, 0, 172, 81, 173, 0, 1, 0, 97, 0,
- 97, 36, 106, 0, 122, 175, 0, 176, 175, 0,
- 0, 178, 0, 7, 0, 176, 7, 0, 0, 177,
- 7, 0, 59, 178, 76, 0, 50, 177, 178, 0,
- 50, 177, 0, 178, 59, 215, 0, 178, 60, 99,
- 83, 0, 178, 60, 83, 0, 59, 215, 0, 60,
- 99, 83, 0, 60, 83, 0, 134, 117, 178, 0,
- 195, 0, 179, 195, 0, 179, 181, 0, 0, 179,
- 0, 1, 77, 0, 0, 0, 184, 0, 185, 0,
- 184, 185, 0, 32, 226, 77, 0, 187, 0, 1,
- 187, 0, 82, 78, 0, 82, 182, 183, 115, 180,
- 78, 0, 82, 182, 183, 1, 78, 0, 82, 182,
- 183, 179, 78, 0, 189, 194, 0, 189, 1, 0,
- 15, 59, 99, 76, 0, 0, 18, 191, 194, 17,
- 0, 0, 0, 192, 193, 197, 0, 192, 193, 208,
- 194, 0, 192, 193, 196, 0, 197, 0, 208, 0,
- 187, 0, 205, 0, 99, 77, 0, 0, 188, 16,
- 198, 194, 0, 188, 0, 188, 16, 1, 0, 0,
- 0, 17, 199, 59, 99, 76, 200, 194, 0, 190,
- 59, 99, 76, 77, 0, 190, 1, 0, 0, 0,
- 0, 19, 59, 210, 77, 201, 210, 77, 202, 210,
- 76, 203, 194, 0, 0, 20, 59, 99, 76, 204,
- 194, 0, 23, 77, 0, 24, 77, 0, 25, 77,
- 0, 25, 99, 77, 0, 27, 209, 59, 99, 76,
- 77, 0, 27, 209, 59, 99, 38, 211, 76, 77,
- 0, 27, 209, 59, 99, 38, 211, 38, 211, 76,
- 77, 0, 27, 209, 59, 99, 38, 211, 38, 211,
- 38, 214, 76, 77, 0, 26, 97, 77, 0, 26,
- 50, 99, 77, 0, 77, 0, 206, 0, 0, 19,
- 59, 107, 76, 207, 194, 0, 21, 106, 38, 0,
- 21, 106, 10, 106, 38, 0, 22, 38, 0, 97,
- 38, 0, 0, 7, 0, 0, 99, 0, 0, 212,
- 0, 213, 0, 212, 81, 213, 0, 9, 59, 99,
- 76, 0, 109, 0, 214, 81, 109, 0, 0, 216,
- 217, 0, 219, 76, 0, 0, 220, 77, 218, 217,
- 0, 1, 76, 0, 0, 10, 0, 220, 0, 220,
- 81, 10, 0, 221, 0, 220, 81, 221, 0, 119,
- 116, 158, 133, 0, 119, 116, 159, 133, 0, 119,
- 116, 175, 133, 0, 121, 116, 159, 133, 0, 121,
- 116, 175, 133, 0, 0, 223, 224, 0, 217, 0,
- 225, 76, 0, 3, 0, 225, 81, 3, 0, 97,
- 0, 226, 81, 97, 0
- };
-
- #endif
-
- #if YYDEBUG != 0
- static const short yyrline[] = { 0,
- 231, 236, 250, 252, 252, 253, 255, 257, 258, 268,
- 279, 284, 289, 291, 293, 294, 295, 300, 307, 309,
- 314, 319, 325, 327, 332, 337, 343, 345, 350, 357,
- 359, 362, 364, 366, 368, 370, 372, 374, 378, 382,
- 385, 388, 391, 395, 397, 400, 403, 406, 410, 438,
- 443, 445, 447, 449, 451, 455, 457, 460, 464, 491,
- 493, 495, 497, 499, 501, 503, 505, 507, 509, 511,
- 513, 515, 517, 519, 521, 523, 526, 532, 631, 632,
- 634, 640, 642, 656, 679, 681, 683, 687, 693, 695,
- 700, 702, 707, 709, 710, 720, 725, 727, 728, 729,
- 732, 738, 743, 746, 754, 759, 761, 762, 763, 770,
- 780, 784, 790, 795, 800, 805, 807, 815, 818, 822,
- 824, 826, 837, 841, 843, 846, 859, 862, 866, 868,
- 876, 877, 878, 882, 884, 890, 891, 892, 895, 897,
- 900, 902, 905, 908, 914, 921, 923, 930, 937, 940,
- 947, 950, 954, 957, 961, 966, 969, 973, 976, 978,
- 980, 982, 989, 991, 992, 993, 998, 1000, 1005, 1013,
- 1018, 1022, 1025, 1027, 1032, 1035, 1037, 1039, 1043, 1046,
- 1046, 1049, 1049, 1052, 1052, 1055, 1055, 1058, 1060, 1071,
- 1079, 1083, 1094, 1102, 1109, 1111, 1116, 1119, 1124, 1126,
- 1128, 1130, 1132, 1140, 1146, 1148, 1150, 1152, 1154, 1160,
- 1166, 1168, 1170, 1172, 1174, 1176, 1179, 1184, 1186, 1190,
- 1192, 1194, 1196, 1200, 1202, 1205, 1208, 1211, 1214, 1218,
- 1220, 1223, 1225, 1229, 1232, 1237, 1239, 1241, 1255, 1262,
- 1267, 1273, 1278, 1282, 1284, 1288, 1292, 1296, 1306, 1308,
- 1310, 1315, 1318, 1322, 1325, 1329, 1332, 1335, 1338, 1342,
- 1345, 1349, 1353, 1355, 1357, 1359, 1361, 1363, 1365, 1367,
- 1369, 1377, 1379, 1380, 1383, 1385, 1388, 1391, 1402, 1404,
- 1409, 1411, 1414, 1428, 1431, 1434, 1436, 1444, 1452, 1463,
- 1468, 1471, 1484, 1492, 1496, 1500, 1504, 1510, 1514, 1519,
- 1521, 1532, 1535, 1536, 1553, 1558, 1561, 1573, 1575, 1585,
- 1595, 1596, 1604, 1607, 1619, 1623, 1640, 1650, 1659, 1664,
- 1669, 1674, 1678, 1682, 1693, 1700, 1707, 1714, 1725, 1729,
- 1732, 1737, 1760, 1794, 1819, 1848, 1863, 1874, 1878, 1882,
- 1885, 1890, 1892, 1895, 1897, 1901, 1906, 1909, 1915, 1920,
- 1925, 1927, 1936, 1937, 1943, 1945, 1955, 1957, 1961, 1964,
- 1970, 1980, 1989, 1998, 2008, 2022, 2027, 2032, 2034, 2043,
- 2046, 2051, 2054
- };
-
- static const char * const yytname[] = { "$","error","$illegal.","IDENTIFIER",
- "TYPENAME","SCSPEC","TYPESPEC","TYPE_QUAL","CONSTANT","STRING","ELLIPSIS","SIZEOF",
- "ENUM","STRUCT","UNION","IF","ELSE","WHILE","DO","FOR","SWITCH","CASE","DEFAULT",
- "BREAK","CONTINUE","RETURN","GOTO","ASM_KEYWORD","TYPEOF","ALIGNOF","ATTRIBUTE",
- "EXTENSION","LABEL","REALPART","IMAGPART","ASSIGN","'='","'?'","':'","OROR",
- "ANDAND","'|'","'^'","'&'","EQCOMPARE","ARITHCOMPARE","LSHIFT","RSHIFT","'+'",
- "'-'","'*'","'/'","'%'","UNARY","PLUSPLUS","MINUSMINUS","HYPERUNARY","POINTSAT",
- "'.'","'('","'['","INTERFACE","IMPLEMENTATION","END","SELECTOR","DEFS","ENCODE",
- "CLASSNAME","PUBLIC","PRIVATE","PROTECTED","PROTOCOL","OBJECTNAME","CLASS","ALIAS",
- "OBJC_STRING","')'","';'","'}'","'~'","'!'","','","'{'","']'","program","extdefs",
- "@1","@2","extdef","datadef","fndef","@3","@4","@5","@6","@7","@8","identifier",
- "unop","expr","exprlist","nonnull_exprlist","unary_expr","@9","cast_expr","@10",
- "expr_no_commas","primary","@11","string","xdecls","lineno_datadecl","datadecls",
- "datadecl","lineno_decl","decls","setspecs","setattrs","decl","typed_declspecs",
- "reserved_declspecs","declmods","typed_typespecs","reserved_typespecquals","typespec",
- "typespecqual_reserved","initdecls","notype_initdecls","maybeasm","initdcl",
- "@12","notype_initdcl","@13","maybe_attribute","attributes","attribute","attribute_list",
- "attrib","any_word","init","@14","initlist_maybe_comma","initlist1","initelt",
- "@15","@16","@17","@18","@19","@20","nested_function","@21","@22","notype_nested_function",
- "@23","@24","declarator","after_type_declarator","parm_declarator","notype_declarator",
- "structsp","@25","@26","@27","@28","maybecomma","maybecomma_warn","component_decl_list",
- "component_decl_list2","component_decl","components","component_declarator",
- "enumlist","enumerator","typename","absdcl","nonempty_type_quals","type_quals",
- "absdcl1","stmts","xstmts","errstmt","pushlevel","maybe_label_decls","label_decls",
- "label_decl","compstmt_or_error","compstmt","simple_if","if_prefix","do_stmt_start",
- "@29","save_filename","save_lineno","lineno_labeled_stmt","lineno_stmt_or_label",
- "stmt_or_label","stmt","@30","@31","@32","@33","@34","@35","@36","all_iter_stmt",
- "all_iter_stmt_simple","@37","label","maybe_type_qual","xexpr","asm_operands",
- "nonnull_asm_operands","asm_operand","asm_clobbers","parmlist","@38","parmlist_1",
- "@39","parmlist_2","parms","parm","parmlist_or_identifiers","@40","parmlist_or_identifiers_1",
- "identifiers","identifiers_or_typenames",""
- };
- #endif
-
- static const short yyr1[] = { 0,
- 84, 84, 86, 85, 87, 85, 88, 88, 88, 89,
- 89, 89, 89, 89, 89, 89, 89, 91, 92, 90,
- 90, 93, 94, 90, 90, 95, 96, 90, 90, 97,
- 97, 98, 98, 98, 98, 98, 98, 98, 99, 100,
- 100, 101, 101, 102, 102, 103, 102, 102, 102, 102,
- 102, 102, 102, 102, 102, 104, 104, 105, 104, 106,
- 106, 106, 106, 106, 106, 106, 106, 106, 106, 106,
- 106, 106, 106, 106, 106, 106, 106, 107, 107, 107,
- 107, 107, 108, 107, 107, 107, 107, 107, 107, 107,
- 109, 109, 110, 110, 110, 111, 112, 112, 112, 112,
- 113, 113, 113, 113, 114, 115, 115, 115, 115, 116,
- 117, 118, 118, 118, 118, 118, 118, 119, 119, 120,
- 120, 120, 121, 121, 121, 121, 122, 122, 123, 123,
- 124, 124, 124, 124, 124, 125, 125, 125, 126, 126,
- 127, 127, 128, 128, 130, 129, 129, 132, 131, 131,
- 133, 133, 134, 134, 135, 136, 136, 137, 137, 137,
- 137, 137, 138, 138, 138, 138, 139, 140, 139, 139,
- 141, 141, 142, 142, 143, 144, 143, 143, 145, 143,
- 146, 143, 147, 143, 148, 143, 149, 143, 151, 152,
- 150, 154, 155, 153, 156, 156, 157, 157, 157, 157,
- 157, 157, 157, 158, 158, 158, 158, 158, 158, 159,
- 159, 159, 159, 159, 159, 159, 161, 160, 160, 160,
- 162, 160, 160, 160, 163, 160, 164, 160, 160, 165,
- 165, 166, 166, 167, 167, 168, 168, 168, 169, 169,
- 169, 169, 169, 170, 170, 171, 171, 171, 172, 172,
- 172, 173, 173, 174, 174, 175, 175, 176, 176, 177,
- 177, 178, 178, 178, 178, 178, 178, 178, 178, 178,
- 178, 179, 179, 179, 180, 180, 181, 182, 183, 183,
- 184, 184, 185, 186, 186, 187, 187, 187, 187, 188,
- 188, 189, 191, 190, 192, 193, 194, 194, 195, 196,
- 196, 197, 197, 197, 198, 197, 197, 197, 199, 200,
- 197, 197, 197, 201, 202, 203, 197, 204, 197, 197,
- 197, 197, 197, 197, 197, 197, 197, 197, 197, 197,
- 205, 207, 206, 208, 208, 208, 208, 209, 209, 210,
- 210, 211, 211, 212, 212, 213, 214, 214, 216, 215,
- 217, 218, 217, 217, 219, 219, 219, 219, 220, 220,
- 221, 221, 221, 221, 221, 223, 222, 224, 224, 225,
- 225, 226, 226
- };
-
- static const short yyr2[] = { 0,
- 0, 1, 0, 2, 0, 3, 1, 1, 5, 3,
- 4, 4, 2, 2, 2, 2, 1, 0, 0, 7,
- 4, 0, 0, 7, 4, 0, 0, 6, 3, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 0,
- 1, 1, 3, 1, 2, 0, 3, 2, 2, 2,
- 4, 2, 4, 2, 2, 1, 4, 0, 7, 1,
- 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 5, 3, 3, 1, 1, 1,
- 3, 3, 0, 4, 4, 4, 3, 3, 2, 2,
- 1, 2, 0, 1, 2, 3, 1, 1, 2, 2,
- 4, 4, 2, 2, 3, 1, 1, 2, 2, 0,
- 0, 4, 4, 3, 3, 2, 2, 2, 3, 0,
- 2, 2, 1, 1, 2, 2, 2, 3, 0, 2,
- 1, 1, 1, 4, 4, 1, 1, 1, 1, 3,
- 1, 3, 0, 4, 0, 6, 3, 0, 6, 3,
- 0, 1, 1, 2, 6, 1, 3, 0, 1, 4,
- 6, 4, 1, 1, 1, 1, 1, 0, 4, 1,
- 0, 2, 1, 3, 1, 0, 4, 1, 0, 8,
- 0, 6, 0, 5, 0, 4, 0, 5, 0, 0,
- 5, 0, 0, 5, 1, 1, 3, 3, 4, 3,
- 3, 3, 1, 3, 4, 3, 3, 3, 1, 3,
- 3, 3, 4, 3, 3, 1, 0, 7, 5, 2,
- 0, 7, 5, 2, 0, 8, 0, 7, 2, 0,
- 1, 0, 1, 1, 2, 0, 3, 2, 3, 1,
- 3, 1, 1, 1, 3, 4, 6, 5, 1, 3,
- 1, 1, 3, 2, 2, 0, 1, 1, 2, 0,
- 2, 3, 3, 2, 3, 4, 3, 2, 3, 2,
- 3, 1, 2, 2, 0, 1, 2, 0, 0, 1,
- 1, 2, 3, 1, 2, 2, 6, 5, 5, 2,
- 2, 4, 0, 4, 0, 0, 3, 4, 3, 1,
- 1, 1, 1, 2, 0, 4, 1, 3, 0, 0,
- 7, 5, 2, 0, 0, 0, 12, 0, 6, 2,
- 2, 2, 3, 6, 8, 10, 12, 3, 4, 1,
- 1, 0, 6, 3, 5, 2, 2, 0, 1, 0,
- 1, 0, 1, 1, 3, 4, 1, 3, 0, 2,
- 2, 0, 4, 2, 0, 1, 1, 3, 1, 3,
- 4, 4, 4, 4, 4, 0, 2, 1, 2, 1,
- 3, 1, 3
- };
-
- static const short yydefact[] = { 3,
- 5, 0, 0, 0, 133, 124, 131, 123, 0, 0,
- 0, 0, 0, 17, 4, 8, 7, 0, 110, 110,
- 120, 132, 6, 15, 16, 30, 31, 227, 229, 236,
- 220, 236, 224, 0, 0, 216, 0, 260, 0, 0,
- 141, 111, 153, 0, 14, 0, 126, 125, 13, 0,
- 120, 118, 0, 225, 0, 0, 217, 0, 221, 78,
- 79, 91, 0, 0, 46, 0, 0, 0, 32, 34,
- 33, 0, 35, 36, 0, 37, 38, 0, 0, 39,
- 56, 60, 42, 44, 80, 258, 0, 256, 129, 0,
- 256, 0, 0, 0, 10, 0, 0, 154, 29, 0,
- 366, 0, 0, 151, 203, 260, 0, 0, 139, 111,
- 0, 195, 196, 0, 0, 119, 122, 136, 137, 121,
- 138, 251, 252, 232, 249, 0, 151, 243, 238, 110,
- 235, 110, 236, 151, 236, 0, 50, 0, 52, 0,
- 54, 55, 49, 45, 0, 0, 0, 0, 48, 0,
- 0, 0, 0, 340, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 89, 90,
- 0, 0, 40, 0, 92, 134, 260, 349, 0, 111,
- 254, 257, 127, 135, 259, 129, 255, 158, 261, 212,
- 211, 142, 143, 215, 0, 210, 0, 214, 0, 0,
- 27, 0, 295, 98, 296, 150, 152, 0, 0, 12,
- 0, 0, 21, 0, 151, 366, 0, 11, 25, 0,
- 0, 233, 0, 232, 219, 295, 237, 295, 0, 223,
- 0, 0, 0, 47, 82, 81, 278, 0, 0, 9,
- 43, 77, 76, 341, 0, 74, 73, 71, 72, 70,
- 69, 68, 66, 67, 61, 62, 63, 64, 65, 88,
- 87, 0, 41, 0, 264, 0, 268, 0, 270, 0,
- 0, 349, 0, 130, 128, 164, 165, 166, 163, 0,
- 156, 159, 0, 0, 370, 356, 110, 110, 368, 0,
- 357, 359, 367, 0, 213, 277, 0, 100, 95, 99,
- 0, 148, 201, 197, 140, 202, 19, 147, 198, 200,
- 0, 23, 253, 250, 151, 0, 239, 244, 296, 241,
- 151, 151, 51, 53, 286, 279, 84, 58, 57, 0,
- 85, 86, 263, 262, 350, 269, 271, 265, 267, 0,
- 0, 158, 40, 144, 354, 256, 256, 351, 352, 0,
- 369, 0, 0, 28, 284, 96, 110, 110, 0, 0,
- 145, 199, 0, 228, 151, 295, 0, 218, 222, 0,
- 0, 280, 281, 0, 75, 266, 155, 157, 78, 0,
- 209, 260, 349, 111, 151, 151, 151, 260, 111, 151,
- 151, 0, 358, 360, 371, 285, 103, 0, 104, 0,
- 170, 168, 167, 149, 20, 0, 24, 226, 245, 0,
- 151, 372, 0, 0, 0, 295, 0, 107, 296, 272,
- 282, 178, 78, 0, 0, 176, 0, 175, 0, 230,
- 173, 160, 0, 162, 264, 0, 366, 0, 361, 362,
- 363, 264, 0, 364, 365, 353, 0, 0, 143, 0,
- 146, 151, 0, 246, 283, 0, 288, 109, 108, 0,
- 0, 289, 274, 296, 273, 0, 0, 0, 0, 185,
- 59, 0, 172, 0, 207, 208, 204, 206, 0, 101,
- 102, 0, 248, 151, 373, 287, 0, 133, 0, 309,
- 293, 0, 0, 0, 0, 0, 0, 0, 0, 338,
- 330, 0, 0, 105, 110, 110, 302, 307, 0, 0,
- 299, 300, 303, 331, 301, 187, 0, 183, 0, 0,
- 174, 161, 205, 169, 247, 0, 0, 295, 340, 0,
- 0, 336, 320, 321, 322, 0, 0, 0, 339, 0,
- 337, 304, 116, 0, 117, 0, 0, 291, 296, 290,
- 313, 0, 0, 0, 181, 0, 177, 186, 0, 0,
- 0, 44, 0, 0, 0, 334, 323, 0, 328, 0,
- 0, 114, 189, 0, 115, 192, 308, 295, 0, 0,
- 188, 0, 0, 184, 292, 0, 294, 332, 314, 318,
- 0, 329, 0, 112, 0, 113, 0, 306, 297, 295,
- 0, 179, 182, 310, 295, 340, 295, 335, 342, 0,
- 190, 193, 298, 312, 0, 295, 333, 0, 319, 0,
- 0, 343, 344, 324, 0, 0, 180, 311, 315, 0,
- 342, 0, 0, 191, 194, 340, 0, 0, 325, 345,
- 0, 346, 0, 0, 316, 347, 0, 326, 295, 0,
- 0, 317, 327, 348, 0, 0, 0
- };
-
- static const short yydefgoto[] = { 655,
- 1, 2, 3, 15, 16, 17, 214, 360, 220, 363,
- 103, 297, 427, 78, 244, 262, 80, 81, 140, 82,
- 374, 83, 84, 147, 85, 201, 202, 203, 356, 415,
- 416, 18, 97, 504, 287, 52, 288, 88, 183, 21,
- 120, 108, 40, 104, 109, 406, 41, 359, 206, 207,
- 43, 280, 281, 282, 404, 450, 429, 430, 431, 469,
- 615, 583, 556, 520, 553, 572, 595, 625, 575, 597,
- 626, 193, 112, 385, 113, 22, 133, 135, 126, 53,
- 473, 223, 55, 56, 131, 317, 318, 124, 125, 90,
- 181, 91, 93, 182, 417, 461, 204, 326, 371, 372,
- 373, 354, 355, 508, 509, 510, 528, 549, 301, 550,
- 420, 511, 512, 578, 527, 616, 606, 636, 649, 607,
- 513, 514, 605, 515, 540, 245, 621, 622, 623, 647,
- 267, 268, 289, 392, 290, 291, 292, 196, 197, 293,
- 294, 413
- };
-
- static const short yypact[] = { 52,
- 79, 1977, 1977, 38,-32768,-32768,-32768,-32768, 47, 57,
- 81, 7, 50,-32768,-32768,-32768,-32768, 161, 104, 858,
- -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 111,-32768,
- 127,-32768, 156, 1839, 1779,-32768, 186,-32768, 161, 109,
- -32768, 185,-32768, 1284,-32768, 865,-32768,-32768,-32768, 161,
- -32768, 758, 374,-32768, 172, 367,-32768, 180,-32768,-32768,
- -32768,-32768, 1866, 1893,-32768, 1839, 1839, 232,-32768,-32768,
- -32768, 1839,-32768,-32768, 1096,-32768,-32768, 1839, 192, 194,
- -32768,-32768, 2065, 1026, 253,-32768, 205, 295,-32768, 214,
- 1650, 242, 256, 112,-32768, 865, 161,-32768,-32768, 254,
- -32768, 558, 304, 185,-32768,-32768, 865, 133,-32768, 185,
- 1363, 346, 351, 243, 1344, 758,-32768,-32768,-32768,-32768,
- -32768,-32768, 287, 247,-32768, 374, 185,-32768,-32768, 353,
- 258, 410,-32768, 185,-32768, 1096,-32768, 1096,-32768, 1839,
- -32768,-32768,-32768,-32768, 265, 282, 278, 294,-32768, 306,
- 1839, 1839, 1839, 1839, 1839, 1839, 1839, 1839, 1839, 1839,
- 1839, 1839, 1839, 1839, 1839, 1839, 1839, 1839,-32768,-32768,
- 232, 232, 1839, 1839,-32768,-32768,-32768, 295, 1398, 185,
- -32768, 402, 551,-32768,-32768,-32768,-32768, 537,-32768, 351,
- -32768,-32768, 345, 351, 376,-32768, 701,-32768, 308, 320,
- -32768, 260, 45,-32768,-32768, 364, 185, 625, 181,-32768,
- 865, 865,-32768, 304, 185,-32768, 1425,-32768,-32768, 304,
- 1839, 232, 324, 247,-32768,-32768,-32768,-32768, 337,-32768,
- 343, 358, 361,-32768,-32768,-32768, 373, 381, 1722,-32768,
- 2065, 2065, 2065,-32768, 421, 2094, 1451, 1368, 1122, 1289,
- 1336, 1688, 1063, 1063, 391, 391,-32768,-32768,-32768,-32768,
- -32768, 387, 194, 382, 339, 219,-32768, 781,-32768, 386,
- 295,-32768, 1480,-32768, 551,-32768,-32768,-32768,-32768, -3,
- -32768, 414, 29, 404,-32768,-32768,-32768, 831,-32768, 406,
- 252,-32768,-32768, 30,-32768,-32768, 56,-32768,-32768,-32768,
- 991,-32768, 346,-32768,-32768, 346,-32768, 459,-32768,-32768,
- 416,-32768, 2065,-32768, 185, 419, 420,-32768,-32768, 420,
- 185, 185,-32768,-32768,-32768, 477,-32768,-32768,-32768, 1839,
- -32768,-32768, 402,-32768,-32768,-32768, 402,-32768,-32768, 432,
- 441, 537, 1920,-32768,-32768, 144, 239,-32768,-32768, 442,
- -32768, 519, 278,-32768,-32768,-32768, 450, 938, 1273, 56,
- -32768,-32768, 56,-32768, 185,-32768, 754,-32768,-32768, 232,
- 719, 477,-32768, 545, 2081,-32768,-32768,-32768, 37, 458,
- -32768,-32768, 239, 185, 223, 289, 185,-32768, 185, 289,
- 185, 781,-32768,-32768,-32768,-32768,-32768, 865,-32768, 161,
- -32768,-32768, 2065,-32768,-32768, 1273,-32768,-32768,-32768, 1839,
- 69,-32768, 257, 412, 639, 455, 799,-32768,-32768,-32768,
- -32768,-32768, 499, 232, 1839,-32768, 509, 2065, 472, 470,
- -32768,-32768, 1839,-32768, 464, 144,-32768, 1507,-32768,-32768,
- -32768, 139, 239,-32768,-32768,-32768, 275, 276, 36, 545,
- -32768, 2023, 1839,-32768,-32768, 232,-32768,-32768,-32768, 879,
- 474,-32768,-32768,-32768,-32768, 1588, 523, 1998, 545,-32768,
- -32768, 1153,-32768, 94, 453, 453,-32768,-32768, 479,-32768,
- -32768, 490,-32768, 2023,-32768,-32768, 1668, 517, 511,-32768,
- -32768, 512, 513, 1839, 539, 498, 503, 1806, 204, 574,
- -32768, 544, 507,-32768, 520, 1018,-32768, 586, 959, 64,
- -32768,-32768,-32768,-32768,-32768,-32768, 1839, 554, 531, 1213,
- -32768,-32768,-32768,-32768,-32768, 1839, 552,-32768, 1839, 1839,
- 1532,-32768,-32768,-32768,-32768, 533, 1839, 538,-32768, 555,
- -32768,-32768,-32768, 865,-32768, 161, 1039,-32768,-32768,-32768,
- -32768, 1839, 1213, 1974,-32768, 1213,-32768,-32768, 540, 1839,
- 601, 1083, 543, 550, 1839,-32768,-32768, 553,-32768, 1839,
- 311,-32768, 170, 313,-32768, 448,-32768,-32768, 1668, 557,
- -32768, 585, 1213,-32768,-32768, 559,-32768,-32768,-32768,-32768,
- 2047,-32768, 16,-32768, 304,-32768, 304,-32768,-32768,-32768,
- 562,-32768,-32768,-32768,-32768, 1839,-32768,-32768, 627, 592,
- -32768,-32768,-32768,-32768, 1213,-32768,-32768, 594,-32768, 575,
- 18, 593,-32768,-32768, 278, 278,-32768,-32768,-32768, 1839,
- 627, 599, 627,-32768,-32768, 1839, 602, 21,-32768,-32768,
- 604,-32768, 376, 600,-32768, 253, 97,-32768,-32768, 606,
- 376,-32768,-32768, 253, 685, 686,-32768
- };
-
- static const short yypgoto[] = {-32768,
- -32768,-32768,-32768, 687,-32768,-32768,-32768,-32768,-32768,-32768,
- -32768,-32768, -6,-32768, -34, 348, -156, 457,-32768, 4,
- -32768, 66, 163,-32768, -185, -194, 492,-32768,-32768, 280,
- -32768, 5, -82,-32768, 11, 646, 13, 643, 514, -8,
- -141, -367, -41, -90, -56,-32768,-32768,-32768, 22, -16,
- -23,-32768, 359,-32768, 297,-32768, -376,-32768, -403,-32768,
- -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- -32768, -40, -54, 96, -7, -15,-32768,-32768,-32768,-32768,
- -32768, 485, 26,-32768,-32768, 482, 369, 623, 529, -26,
- -62, 656, -88, -139, 338,-32768, -169,-32768,-32768,-32768,
- 383, -184, -140,-32768,-32768,-32768,-32768, -95, -297, -464,
- -372,-32768, 177,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- -32768,-32768,-32768, 182,-32768, -485, 129,-32768, 142,-32768,
- 494,-32768, -232,-32768,-32768,-32768, 426, -181,-32768,-32768,
- -32768,-32768
- };
-
-
- #define YYLAST 2146
-
-
- static const short yytable[] = { 79,
- 87, 42, 29, 31, 33, 111, 238, 205, 114, 283,
- 44, 51, 19, 19, 20, 20, 263, 208, 98, 307,
- 215, 367, 42, 46, 50, 312, 89, 212, 187, 110,
- 447, 94, 298, 42, 309, 335, 121, 175, 266, 192,
- 146, 274, 115, 563, 465, -94, 123, 89, 148, 26,
- 27, -1, 209, 609, 299, 631, 353, 58, 643, 26,
- 27, 143, 100, 561, 551, 34, 89, 199, 521, 141,
- 142, 180, 341, 482, 180, 144, 42, 342, -2, 110,
- 42, 149, 186, 26, 27, 190, 98, 465, 265, 194,
- 110, 610, 519, 632, 101, 102, 644, 271, 37, 94,
- 121, 146, 215, 146, 344, 351, 453, 205, 35, 232,
- 352, 233, 432, 598, 24, 25, 558, 433, 205, 123,
- 618, 466, 552, 186, 205, 333, -94, 89, 28, 89,
- 319, 337, 319, 274, 226, 613, 228, 237, 30, 264,
- 617, 36, 619, 234, 270, 189, 36, 381, 225, 581,
- 641, 628, 584, 303, 305, 230, 98, 306, 229, 446,
- 231, 180, 32, 36, 260, 261, 487, 121, 37, 522,
- 101, 102, 650, 37, 151, 405, 571, 651, 407, 603,
- 45, 279, 311, 98, 652, 95, 263, 191, 388, 96,
- 37, 110, 54, 382, 110, 110, 100, 383, 179, -143,
- 190, 418, 383, 179, 194, -143, 26, 27, 57, 210,
- 38, 627, 396, 211, 37, 123, 241, 242, 243, 39,
- 246, 247, 248, 249, 250, 251, 252, 253, 254, 255,
- 256, 257, 258, 259, 26, 27, 308, 59, 340, 216,
- 217, 36, 329, 266, 92, 458, -143, 463, 180, 127,
- -143, 579, 37, 537, 180, 477, 304, 134, 36, 121,
- 200, 175, 189, -97, -97, -97, -97, 150, 37, -97,
- 319, -97, -97, -97, 151, 419, 474, 272, 273, 51,
- 176, 437, 438, 387, 391, 37, 313, -97, 388, 184,
- 463, 346, 347, 435, 334, 333, 337, 383, 179, 442,
- 188, 436, 333, 337, 200, 38, 443, -295, -295, -295,
- -295, 357, 195, 358, 39, -295, -295, -295, 37, 218,
- 419, 464, 221, 96, 37, 507, 411, 222, 349, 384,
- 389, -295, 350, 455, 227, 279, 364, 456, 386, 390,
- 235, -97, 368, 369, 177, 189, 507, 101, 102, 51,
- 110, 480, 481, 178, 179, 211, 96, 236, 448, 237,
- 98, 398, 400, 412, 464, 98, 389, 128, 37, 239,
- 5, 100, 7, 86, 122, 94, 26, 27, 9, 10,
- 11, 110, 240, 42, 62, -93, 408, 594, 177, 596,
- 295, 211, 449, 96, 13, 375, 296, 178, 179, 302,
- 611, 315, 612, 479, 216, 217, 439, 440, 441, 101,
- 102, 444, 445, 5, 321, 7, 185, 467, 384, 384,
- 322, 9, 10, 11, 403, 389, 389, 190, 194, -240,
- -240, 503, 454, 323, 190, 194, 324, 13, 507, 428,
- 166, 167, 168, 129, -234, 5, 6, 7, 8, 485,
- 325, 393, 503, 9, 10, 11, 327, 646, 330, 502,
- 272, 273, 331, 536, 332, 654, 36, 381, 336, 13,
- 189, 403, 343, 483, 100, 452, 505, -143, 506, 345,
- 502, 348, 215, -143, 634, 635, -242, -242, 296, 457,
- 468, 559, 538, 37, 361, 564, 365, 51, 362, 205,
- 366, 205, 568, 573, 574, 525, 101, 102, 370, 544,
- 546, 437, 438, 382, 376, 428, 377, 580, 484, 137,
- 139, 395, 383, 179, -143, 586, 397, 110, -143, 42,
- 475, 476, -275, 434, 428, 593, -30, 428, 576, 26,
- 27, 276, 277, 278, 503, 422, 470, 423, 27, 471,
- 472, 486, 61, 62, -31, 63, 118, 119, 516, 531,
- 60, 523, 9, 10, 11, 61, 62, 524, 63, 526,
- 529, 530, 502, 64, 533, 65, 532, 66, 67, 534,
- 539, 541, 554, 542, 68, 428, 64, 69, 65, 555,
- 66, 67, 70, 71, 72, 637, 543, 68, 73, 74,
- 69, 547, 424, 75, 425, 70, 71, 72, 557, 567,
- 560, 73, 74, 570, 569, 585, 75, 587, 428, 589,
- 602, 428, -171, 76, 77, 590, 426, 36, 105, 592,
- 591, 189, 601, 630, 604, 620, 76, 77, 614, 200,
- 198, -106, -106, -106, -106, -106, -106, -106, 428, -106,
- -106, -106, -106, -106, 37, -106, -106, -106, -106, -106,
- -106, -106, -106, -106, -106, -106, -106, -106, 624, -106,
- 629, -106, -106, 633, 106, 639, 648, 642, -106, 645,
- 428, -106, 653, 107, 656, 657, -106, -106, -106, 23,
- 380, 562, -106, -106, 300, 459, 116, -106, 130, 275,
- 378, 284, 451, 285, 5, 6, 7, 8, 316, 320,
- 286, 132, 9, 10, 11, -106, -106, -106, -106, 414,
- -106, -295, -295, -295, -295, -295, -295, -295, 13, -295,
- -295, -295, -295, -295, 409, -295, -295, -295, -295, -295,
- -295, -295, -295, -295, -295, -295, -295, -295, 224, -295,
- 314, -295, -295, 460, 421, 599, 36, 105, -295, 638,
- 600, -295, 117, 118, 119, 338, -295, -295, -295, 9,
- 10, 11, -295, -295, 640, 394, -355, -295, 0, 0,
- 0, 284, 0, 37, 5, 6, 7, 8, 0, 0,
- 286, 410, 9, 10, 11, -295, 0, -295, -295, 200,
- -295, -295, -295, 106, 0, 0, -295, -295, 13, -295,
- 0, 0, 107, -295, 0, -295, -295, -295, -295, -295,
- -295, -295, -295, -295, -295, -295, 0, -295, 0, -295,
- 0, -295, -295, 0, 5, 47, 7, 48, -295, 0,
- 0, -295, 9, 10, 11, 0, -295, -295, -295, 0,
- 0, 0, -295, -295, 0, 0, -355, -295, 13, 0,
- 0, 5, 47, 7, 48, 0, 0, 36, 105, 9,
- 10, 11, 0, 0, 0, -295, 462, -295, -295, 200,
- -295, -295, -295, 0, 0, 13, -295, -295, 0, -295,
- 0, 0, 0, -295, 37, -295, -295, -295, -295, -295,
- -295, -295, -295, -295, -295, -295, 0, -295, 0, -295,
- 0, -295, -295, 0, 106, 0, 0, 0, -295, 0,
- 0, -295, 0, 107, 0, 0, -295, -295, -295, 0,
- 0, 0, -295, -295, 49, 0, 0, -295, 0, 0,
- 0, 5, 47, 7, 48, 0, 0, 0, 0, 9,
- 10, 11, 0, 0, 0, -295, -276, -295, -295, 548,
- -295, -295, -295, 0, 0, 13, -295, -295, 0, -295,
- 0, 0, 0, -295, 0, -295, -295, -295, -295, -295,
- -295, -295, -295, -295, -295, -295, 0, -295, 0, -295,
- 0, -295, -295, 0, 5, 6, 7, 8, -295, 0,
- 0, -295, 9, 10, 11, 0, -295, -295, -295, 0,
- 0, 0, -295, -295, 399, 0, 0, -295, 13, 0,
- 0, 5, 47, 7, 48, 0, 0, 0, 0, 9,
- 10, 11, 0, 0, 0, -295, 0, -295, -295, 577,
- -295, -305, -305, 0, 0, 13, -305, -305, 0, -305,
- 0, 0, 0, -305, 0, -305, -305, -305, -305, -305,
- -305, -305, -305, -305, -305, -305, 0, -305, 0, -305,
- 0, -305, -305, 0, 0, 0, 0, 0, -305, 169,
- 170, -305, 171, 172, 173, 174, -305, -305, -305, 0,
- 0, 0, -305, -305, 545, 0, 145, -305, 60, 5,
- 0, 7, 86, 61, 62, 0, 63, 9, 10, 11,
- 164, 165, 166, 167, 168, -305, 0, -305, -305, 0,
- -305, 0, 0, 13, 64, 0, 65, 0, 66, 67,
- 0, 0, 0, 0, 0, 68, 169, 170, 69, 171,
- 172, 173, 174, 70, 71, 72, 0, 0, 0, 73,
- 74, 0, 0, 422, 75, 423, 27, 0, 588, 0,
- 61, 62, 0, 63, 159, 160, 161, 162, 163, 164,
- 165, 166, 167, 168, 76, 77, 0, -83, 0, 0,
- 0, 64, 0, 65, 0, 66, 67, 0, 0, 0,
- 0, 0, 68, 0, 0, 69, 0, 0, 0, 0,
- 70, 71, 72, 0, 0, 0, 73, 74, 0, 0,
- 424, 75, 425, 422, 0, 423, 27, 0, 0, 0,
- 61, 62, 0, 63, 0, 0, 0, 0, 0, 0,
- -231, 76, 77, 0, 426, 0, 0, 0, 0, 0,
- 0, 64, 0, 65, 0, 66, 67, 0, 0, 0,
- 0, 0, 68, 0, 0, 69, 0, 0, 0, 0,
- 70, 71, 72, 0, 0, 0, 73, 74, 0, 0,
- 424, 75, 425, 401, 0, 60, 0, 0, 0, 0,
- 61, 62, 0, 63, 99, 0, 0, -26, -26, -26,
- -26, 76, 77, 0, 426, -26, -26, -26, 0, 0,
- 0, 64, 0, 65, 0, 66, 67, 0, 0, 0,
- 100, -26, 68, -143, 0, 69, 0, 0, 0, -143,
- 70, 71, 72, 0, 0, 0, 73, 74, 0, 0,
- 0, 75, 160, 161, 162, 163, 164, 165, 166, 167,
- 168, 0, 101, 102, 219, 0, 0, -22, -22, -22,
- -22, 76, 77, 0, 402, -22, -22, -22, 0, 0,
- -143, 0, 0, 213, -143, -26, -18, -18, -18, -18,
- 100, -22, 0, -143, -18, -18, -18, 0, 0, -143,
- 161, 162, 163, 164, 165, 166, 167, 168, 0, 100,
- -18, 0, -143, 0, 0, 0, 0, 0, -143, 0,
- 60, 0, 101, 102, 0, 61, 62, 0, 63, 158,
- 159, 160, 161, 162, 163, 164, 165, 166, 167, 168,
- -143, 0, 0, 0, -143, -22, 64, 60, 65, 0,
- 66, 67, 61, 62, 0, 63, 0, 68, 0, -143,
- 69, 0, 0, -143, -18, 70, 71, 72, 0, 0,
- 0, 73, 74, 64, 0, 65, 75, 66, 67, 0,
- 0, 0, 0, 0, 68, 0, 0, 69, 0, 0,
- 0, 0, 70, 71, 72, 0, 76, 77, 73, 74,
- 269, 0, 60, 75, 0, 0, 0, 61, 62, 0,
- 63, 157, 158, 159, 160, 161, 162, 163, 164, 165,
- 166, 167, 168, 76, 77, 0, 0, 310, 64, 60,
- 65, 0, 66, 67, 61, 62, 0, 63, 0, 68,
- 0, 0, 69, 0, 0, 0, 0, 70, 71, 72,
- 0, 0, 0, 73, 74, 64, 0, 65, 75, 66,
- 67, 565, 0, 0, 0, 0, 68, 0, 0, 69,
- 0, 0, 0, 0, 70, 71, 72, 0, 76, 77,
- 73, 74, 339, 0, 0, 75, 152, 153, 154, 566,
- 155, 156, 157, 158, 159, 160, 161, 162, 163, 164,
- 165, 166, 167, 168, 0, 76, 77, 0, 0, 478,
- 423, 488, 6, 7, 8, 61, 62, 0, 63, 9,
- 10, 11, 489, 0, 490, 491, 492, 493, 494, 495,
- 496, 497, 498, 499, 500, 13, 64, 0, 65, 0,
- 66, 67, 0, 0, 0, 0, 0, 68, 0, 0,
- 69, 0, 0, 0, 0, 70, 71, 72, 0, 0,
- 0, 73, 74, 0, 0, 0, 75, 0, 0, 0,
- 0, 0, 0, 5, 0, 7, 185, 0, 0, 0,
- 0, 9, 10, 11, 501, 0, 76, 77, 0, 237,
- 423, 27, 0, 0, 0, 61, 62, 13, 63, 37,
- 0, 0, 489, 0, 490, 491, 492, 493, 494, 495,
- 496, 497, 498, 499, 500, 0, 64, 0, 65, 177,
- 66, 67, 0, 0, 0, 0, 0, 68, 178, 179,
- 69, 0, 0, 0, 0, 70, 71, 72, 0, 0,
- 0, 73, 74, 0, 60, 0, 75, 0, 0, 61,
- 62, 0, 63, 162, 163, 164, 165, 166, 167, 168,
- 0, 0, 0, 0, 501, 0, 76, 77, 0, 237,
- 64, 0, 65, 0, 66, 67, 0, 0, 0, 0,
- 0, 68, 0, 0, 69, 0, 0, 0, 0, 70,
- 71, 72, 0, 0, 0, 73, 74, 0, 0, 0,
- 75, 60, 5, 0, 7, 86, 61, 62, 0, 63,
- 9, 10, 11, 0, 0, 0, 0, 0, 0, 0,
- 76, 77, 0, 328, 0, 0, 13, 64, 60, 65,
- 0, 66, 67, 61, 62, 0, 63, 0, 68, 0,
- 0, 69, 0, 0, 0, 0, 70, 71, 72, 0,
- 0, 0, 73, 74, 64, 0, 65, 75, 66, 67,
- 0, 60, 0, 0, 0, 68, 61, 62, 69, 63,
- 0, 0, 0, 70, 71, 72, 0, 76, 77, 73,
- 74, 0, 0, 0, 75, 0, 0, 64, 60, 65,
- 0, 66, 67, 61, 62, 0, 63, 0, 68, 0,
- 0, 69, 535, 0, 76, 77, 70, 71, 72, 0,
- 0, 0, 73, 74, 64, 60, 65, 75, 66, 67,
- 61, 62, 0, 63, 0, 68, 0, 0, 69, 0,
- 0, 0, 0, 70, 71, 72, 0, 76, 77, 73,
- 74, 64, 379, 65, 136, 66, 67, 61, 62, 0,
- 63, 0, 68, 0, 0, 69, 0, 0, 0, 0,
- 70, 71, 72, 0, 76, 77, 73, 74, 64, 0,
- 65, 138, 66, 67, 0, 0, 0, 0, 0, 68,
- 0, 0, 69, 0, 0, 0, 0, 70, 71, 72,
- 0, 76, 77, 73, 74, 0, 0, 4, 75, -110,
- 5, 6, 7, 8, 0, 0, 0, 0, 9, 10,
- 11, 0, 0, 0, 0, 0, 0, 0, 76, 77,
- 0, 0, 0, 12, 13, 0, -110, 517, 152, 153,
- 154, 0, 155, 156, 157, 158, 159, 160, 161, 162,
- 163, 164, 165, 166, 167, 168, -110, 0, 0, 0,
- 0, 0, 152, 153, 154, -110, 155, 156, 157, 158,
- 159, 160, 161, 162, 163, 164, 165, 166, 167, 168,
- 0, 0, 37, 14, 0, 0, 582, 152, 153, 154,
- 0, 155, 156, 157, 158, 159, 160, 161, 162, 163,
- 164, 165, 166, 167, 168, 0, 0, 0, 0, 0,
- 518, 152, 153, 154, 608, 155, 156, 157, 158, 159,
- 160, 161, 162, 163, 164, 165, 166, 167, 168, 152,
- 153, 154, 0, 155, 156, 157, 158, 159, 160, 161,
- 162, 163, 164, 165, 166, 167, 168, 154, 0, 155,
- 156, 157, 158, 159, 160, 161, 162, 163, 164, 165,
- 166, 167, 168, 156, 157, 158, 159, 160, 161, 162,
- 163, 164, 165, 166, 167, 168
- };
-
- static const short yycheck[] = { 34,
- 35, 18, 9, 10, 11, 46, 147, 103, 50, 195,
- 18, 20, 2, 3, 2, 3, 173, 106, 42, 214,
- 111, 319, 39, 19, 20, 220, 35, 110, 91, 46,
- 398, 39, 202, 50, 216, 268, 52, 9, 178, 96,
- 75, 183, 50, 529, 417, 1, 53, 56, 75, 3,
- 4, 0, 107, 38, 10, 38, 1, 32, 38, 3,
- 4, 68, 27, 528, 1, 59, 75, 102, 472, 66,
- 67, 88, 76, 450, 91, 72, 93, 81, 0, 96,
- 97, 78, 91, 3, 4, 93, 110, 460, 177, 97,
- 107, 76, 469, 76, 59, 60, 76, 180, 30, 107,
- 116, 136, 193, 138, 76, 76, 38, 203, 59, 136,
- 81, 138, 76, 578, 77, 78, 520, 81, 214, 126,
- 606, 419, 59, 132, 220, 265, 82, 136, 82, 138,
- 226, 271, 228, 275, 130, 600, 132, 82, 82, 174,
- 605, 3, 607, 140, 179, 7, 3, 4, 127, 553,
- 636, 616, 556, 208, 211, 134, 180, 212, 133, 392,
- 135, 178, 82, 3, 171, 172, 464, 183, 30, 76,
- 59, 60, 76, 30, 81, 360, 544, 81, 363, 583,
- 77, 188, 217, 207, 649, 77, 343, 76, 50, 81,
- 30, 208, 82, 50, 211, 212, 27, 59, 60, 30,
- 208, 371, 59, 60, 212, 36, 3, 4, 82, 77,
- 50, 615, 353, 81, 30, 222, 151, 152, 153, 59,
- 155, 156, 157, 158, 159, 160, 161, 162, 163, 164,
- 165, 166, 167, 168, 3, 4, 215, 82, 273, 59,
- 60, 3, 239, 383, 59, 415, 77, 417, 265, 78,
- 81, 549, 30, 50, 271, 437, 76, 78, 3, 275,
- 1, 9, 7, 4, 5, 6, 7, 76, 30, 10,
- 366, 12, 13, 14, 81, 371, 433, 59, 60, 288,
- 76, 59, 60, 346, 347, 30, 221, 28, 50, 76,
- 460, 287, 288, 382, 76, 435, 436, 59, 60, 388,
- 59, 384, 442, 443, 1, 50, 389, 4, 5, 6,
- 7, 301, 59, 301, 59, 12, 13, 14, 30, 77,
- 416, 417, 36, 81, 30, 466, 367, 81, 77, 346,
- 347, 28, 81, 77, 77, 342, 315, 81, 346, 347,
- 76, 82, 321, 322, 50, 7, 487, 59, 60, 358,
- 367, 77, 77, 59, 60, 81, 81, 76, 400, 82,
- 384, 357, 358, 370, 460, 389, 383, 1, 30, 76,
- 4, 27, 6, 7, 1, 383, 3, 4, 12, 13,
- 14, 398, 77, 400, 9, 82, 365, 77, 50, 77,
- 83, 81, 400, 81, 28, 330, 77, 59, 60, 36,
- 595, 78, 597, 438, 59, 60, 385, 386, 387, 59,
- 60, 390, 391, 4, 78, 6, 7, 424, 435, 436,
- 78, 12, 13, 14, 359, 442, 443, 435, 436, 77,
- 78, 466, 411, 76, 442, 443, 76, 28, 579, 374,
- 50, 51, 52, 77, 78, 4, 5, 6, 7, 456,
- 78, 10, 487, 12, 13, 14, 76, 643, 38, 466,
- 59, 60, 76, 498, 83, 651, 3, 4, 83, 28,
- 7, 406, 59, 452, 27, 410, 466, 30, 466, 76,
- 487, 76, 573, 36, 625, 626, 77, 78, 77, 78,
- 425, 526, 499, 30, 36, 530, 78, 506, 83, 595,
- 81, 597, 537, 544, 546, 484, 59, 60, 32, 505,
- 506, 59, 60, 50, 83, 450, 76, 552, 453, 63,
- 64, 3, 59, 60, 77, 560, 77, 544, 81, 546,
- 435, 436, 78, 76, 469, 570, 38, 472, 546, 3,
- 4, 5, 6, 7, 579, 1, 38, 3, 4, 78,
- 81, 78, 8, 9, 38, 11, 6, 7, 36, 494,
- 3, 83, 12, 13, 14, 8, 9, 78, 11, 59,
- 59, 59, 579, 29, 77, 31, 38, 33, 34, 77,
- 7, 38, 517, 77, 40, 520, 29, 43, 31, 36,
- 33, 34, 48, 49, 50, 630, 77, 40, 54, 55,
- 43, 16, 58, 59, 60, 48, 49, 50, 78, 77,
- 59, 54, 55, 59, 77, 76, 59, 17, 553, 77,
- 36, 556, 78, 79, 80, 76, 82, 3, 4, 77,
- 565, 7, 76, 59, 76, 9, 79, 80, 77, 1,
- 83, 3, 4, 5, 6, 7, 8, 9, 583, 11,
- 12, 13, 14, 15, 30, 17, 18, 19, 20, 21,
- 22, 23, 24, 25, 26, 27, 28, 29, 77, 31,
- 77, 33, 34, 81, 50, 77, 77, 76, 40, 76,
- 615, 43, 77, 59, 0, 0, 48, 49, 50, 3,
- 343, 529, 54, 55, 203, 416, 51, 59, 56, 186,
- 342, 1, 406, 3, 4, 5, 6, 7, 224, 228,
- 10, 56, 12, 13, 14, 77, 78, 79, 80, 1,
- 82, 3, 4, 5, 6, 7, 8, 9, 28, 11,
- 12, 13, 14, 15, 366, 17, 18, 19, 20, 21,
- 22, 23, 24, 25, 26, 27, 28, 29, 126, 31,
- 222, 33, 34, 416, 372, 579, 3, 4, 40, 631,
- 579, 43, 5, 6, 7, 272, 48, 49, 50, 12,
- 13, 14, 54, 55, 633, 350, 76, 59, -1, -1,
- -1, 1, -1, 30, 4, 5, 6, 7, -1, -1,
- 10, 38, 12, 13, 14, 77, -1, 79, 80, 1,
- 82, 3, 4, 50, -1, -1, 8, 9, 28, 11,
- -1, -1, 59, 15, -1, 17, 18, 19, 20, 21,
- 22, 23, 24, 25, 26, 27, -1, 29, -1, 31,
- -1, 33, 34, -1, 4, 5, 6, 7, 40, -1,
- -1, 43, 12, 13, 14, -1, 48, 49, 50, -1,
- -1, -1, 54, 55, -1, -1, 76, 59, 28, -1,
- -1, 4, 5, 6, 7, -1, -1, 3, 4, 12,
- 13, 14, -1, -1, -1, 77, 78, 79, 80, 1,
- 82, 3, 4, -1, -1, 28, 8, 9, -1, 11,
- -1, -1, -1, 15, 30, 17, 18, 19, 20, 21,
- 22, 23, 24, 25, 26, 27, -1, 29, -1, 31,
- -1, 33, 34, -1, 50, -1, -1, -1, 40, -1,
- -1, 43, -1, 59, -1, -1, 48, 49, 50, -1,
- -1, -1, 54, 55, 77, -1, -1, 59, -1, -1,
- -1, 4, 5, 6, 7, -1, -1, -1, -1, 12,
- 13, 14, -1, -1, -1, 77, 78, 79, 80, 1,
- 82, 3, 4, -1, -1, 28, 8, 9, -1, 11,
- -1, -1, -1, 15, -1, 17, 18, 19, 20, 21,
- 22, 23, 24, 25, 26, 27, -1, 29, -1, 31,
- -1, 33, 34, -1, 4, 5, 6, 7, 40, -1,
- -1, 43, 12, 13, 14, -1, 48, 49, 50, -1,
- -1, -1, 54, 55, 77, -1, -1, 59, 28, -1,
- -1, 4, 5, 6, 7, -1, -1, -1, -1, 12,
- 13, 14, -1, -1, -1, 77, -1, 79, 80, 1,
- 82, 3, 4, -1, -1, 28, 8, 9, -1, 11,
- -1, -1, -1, 15, -1, 17, 18, 19, 20, 21,
- 22, 23, 24, 25, 26, 27, -1, 29, -1, 31,
- -1, 33, 34, -1, -1, -1, -1, -1, 40, 54,
- 55, 43, 57, 58, 59, 60, 48, 49, 50, -1,
- -1, -1, 54, 55, 77, -1, 1, 59, 3, 4,
- -1, 6, 7, 8, 9, -1, 11, 12, 13, 14,
- 48, 49, 50, 51, 52, 77, -1, 79, 80, -1,
- 82, -1, -1, 28, 29, -1, 31, -1, 33, 34,
- -1, -1, -1, -1, -1, 40, 54, 55, 43, 57,
- 58, 59, 60, 48, 49, 50, -1, -1, -1, 54,
- 55, -1, -1, 1, 59, 3, 4, -1, 76, -1,
- 8, 9, -1, 11, 43, 44, 45, 46, 47, 48,
- 49, 50, 51, 52, 79, 80, -1, 82, -1, -1,
- -1, 29, -1, 31, -1, 33, 34, -1, -1, -1,
- -1, -1, 40, -1, -1, 43, -1, -1, -1, -1,
- 48, 49, 50, -1, -1, -1, 54, 55, -1, -1,
- 58, 59, 60, 1, -1, 3, 4, -1, -1, -1,
- 8, 9, -1, 11, -1, -1, -1, -1, -1, -1,
- 78, 79, 80, -1, 82, -1, -1, -1, -1, -1,
- -1, 29, -1, 31, -1, 33, 34, -1, -1, -1,
- -1, -1, 40, -1, -1, 43, -1, -1, -1, -1,
- 48, 49, 50, -1, -1, -1, 54, 55, -1, -1,
- 58, 59, 60, 1, -1, 3, -1, -1, -1, -1,
- 8, 9, -1, 11, 1, -1, -1, 4, 5, 6,
- 7, 79, 80, -1, 82, 12, 13, 14, -1, -1,
- -1, 29, -1, 31, -1, 33, 34, -1, -1, -1,
- 27, 28, 40, 30, -1, 43, -1, -1, -1, 36,
- 48, 49, 50, -1, -1, -1, 54, 55, -1, -1,
- -1, 59, 44, 45, 46, 47, 48, 49, 50, 51,
- 52, -1, 59, 60, 1, -1, -1, 4, 5, 6,
- 7, 79, 80, -1, 82, 12, 13, 14, -1, -1,
- 77, -1, -1, 1, 81, 82, 4, 5, 6, 7,
- 27, 28, -1, 30, 12, 13, 14, -1, -1, 36,
- 45, 46, 47, 48, 49, 50, 51, 52, -1, 27,
- 28, -1, 30, -1, -1, -1, -1, -1, 36, -1,
- 3, -1, 59, 60, -1, 8, 9, -1, 11, 42,
- 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
- 77, -1, -1, -1, 81, 82, 29, 3, 31, -1,
- 33, 34, 8, 9, -1, 11, -1, 40, -1, 77,
- 43, -1, -1, 81, 82, 48, 49, 50, -1, -1,
- -1, 54, 55, 29, -1, 31, 59, 33, 34, -1,
- -1, -1, -1, -1, 40, -1, -1, 43, -1, -1,
- -1, -1, 48, 49, 50, -1, 79, 80, 54, 55,
- 83, -1, 3, 59, -1, -1, -1, 8, 9, -1,
- 11, 41, 42, 43, 44, 45, 46, 47, 48, 49,
- 50, 51, 52, 79, 80, -1, -1, 83, 29, 3,
- 31, -1, 33, 34, 8, 9, -1, 11, -1, 40,
- -1, -1, 43, -1, -1, -1, -1, 48, 49, 50,
- -1, -1, -1, 54, 55, 29, -1, 31, 59, 33,
- 34, 10, -1, -1, -1, -1, 40, -1, -1, 43,
- -1, -1, -1, -1, 48, 49, 50, -1, 79, 80,
- 54, 55, 83, -1, -1, 59, 35, 36, 37, 38,
- 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
- 49, 50, 51, 52, -1, 79, 80, -1, -1, 83,
- 3, 4, 5, 6, 7, 8, 9, -1, 11, 12,
- 13, 14, 15, -1, 17, 18, 19, 20, 21, 22,
- 23, 24, 25, 26, 27, 28, 29, -1, 31, -1,
- 33, 34, -1, -1, -1, -1, -1, 40, -1, -1,
- 43, -1, -1, -1, -1, 48, 49, 50, -1, -1,
- -1, 54, 55, -1, -1, -1, 59, -1, -1, -1,
- -1, -1, -1, 4, -1, 6, 7, -1, -1, -1,
- -1, 12, 13, 14, 77, -1, 79, 80, -1, 82,
- 3, 4, -1, -1, -1, 8, 9, 28, 11, 30,
- -1, -1, 15, -1, 17, 18, 19, 20, 21, 22,
- 23, 24, 25, 26, 27, -1, 29, -1, 31, 50,
- 33, 34, -1, -1, -1, -1, -1, 40, 59, 60,
- 43, -1, -1, -1, -1, 48, 49, 50, -1, -1,
- -1, 54, 55, -1, 3, -1, 59, -1, -1, 8,
- 9, -1, 11, 46, 47, 48, 49, 50, 51, 52,
- -1, -1, -1, -1, 77, -1, 79, 80, -1, 82,
- 29, -1, 31, -1, 33, 34, -1, -1, -1, -1,
- -1, 40, -1, -1, 43, -1, -1, -1, -1, 48,
- 49, 50, -1, -1, -1, 54, 55, -1, -1, -1,
- 59, 3, 4, -1, 6, 7, 8, 9, -1, 11,
- 12, 13, 14, -1, -1, -1, -1, -1, -1, -1,
- 79, 80, -1, 82, -1, -1, 28, 29, 3, 31,
- -1, 33, 34, 8, 9, -1, 11, -1, 40, -1,
- -1, 43, -1, -1, -1, -1, 48, 49, 50, -1,
- -1, -1, 54, 55, 29, -1, 31, 59, 33, 34,
- -1, 3, -1, -1, -1, 40, 8, 9, 43, 11,
- -1, -1, -1, 48, 49, 50, -1, 79, 80, 54,
- 55, -1, -1, -1, 59, -1, -1, 29, 3, 31,
- -1, 33, 34, 8, 9, -1, 11, -1, 40, -1,
- -1, 43, 77, -1, 79, 80, 48, 49, 50, -1,
- -1, -1, 54, 55, 29, 3, 31, 59, 33, 34,
- 8, 9, -1, 11, -1, 40, -1, -1, 43, -1,
- -1, -1, -1, 48, 49, 50, -1, 79, 80, 54,
- 55, 29, 3, 31, 59, 33, 34, 8, 9, -1,
- 11, -1, 40, -1, -1, 43, -1, -1, -1, -1,
- 48, 49, 50, -1, 79, 80, 54, 55, 29, -1,
- 31, 59, 33, 34, -1, -1, -1, -1, -1, 40,
- -1, -1, 43, -1, -1, -1, -1, 48, 49, 50,
- -1, 79, 80, 54, 55, -1, -1, 1, 59, 3,
- 4, 5, 6, 7, -1, -1, -1, -1, 12, 13,
- 14, -1, -1, -1, -1, -1, -1, -1, 79, 80,
- -1, -1, -1, 27, 28, -1, 30, 10, 35, 36,
- 37, -1, 39, 40, 41, 42, 43, 44, 45, 46,
- 47, 48, 49, 50, 51, 52, 50, -1, -1, -1,
- -1, -1, 35, 36, 37, 59, 39, 40, 41, 42,
- 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
- -1, -1, 30, 77, -1, -1, 83, 35, 36, 37,
- -1, 39, 40, 41, 42, 43, 44, 45, 46, 47,
- 48, 49, 50, 51, 52, -1, -1, -1, -1, -1,
- 83, 35, 36, 37, 38, 39, 40, 41, 42, 43,
- 44, 45, 46, 47, 48, 49, 50, 51, 52, 35,
- 36, 37, -1, 39, 40, 41, 42, 43, 44, 45,
- 46, 47, 48, 49, 50, 51, 52, 37, -1, 39,
- 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
- 50, 51, 52, 40, 41, 42, 43, 44, 45, 46,
- 47, 48, 49, 50, 51, 52
- };
- /* -*-C-*- Note some compilers choke on comments on `#line' lines. */
- #line 3 "/usr/local/lib/bison.simple"
-
- /* Skeleton output parser for bison,
- Copyright (C) 1984, 1989, 1990 Bob Corbett and Richard Stallman
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 1, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-
- #ifndef alloca
- #ifdef __GNUC__
- #define alloca __builtin_alloca
- #else /* not GNU C. */
- #if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi)
- #include <alloca.h>
- #else /* not sparc */
- #if defined (MSDOS) && !defined (__TURBOC__)
- #include <malloc.h>
- #else /* not MSDOS, or __TURBOC__ */
- #if defined(_AIX)
- #include <malloc.h>
- #pragma alloca
- #else /* not MSDOS, __TURBOC__, or _AIX */
- #ifdef __hpux
- #ifdef __cplusplus
- extern "C" {
- void *alloca (unsigned int);
- };
- #else /* not __cplusplus */
- void *alloca ();
- #endif /* not __cplusplus */
- #endif /* __hpux */
- #endif /* not _AIX */
- #endif /* not MSDOS, or __TURBOC__ */
- #endif /* not sparc. */
- #endif /* not GNU C. */
- #endif /* alloca not defined. */
-
- /* This is the parser code that is written into each bison parser
- when the %semantic_parser declaration is not specified in the grammar.
- It was written by Richard Stallman by simplifying the hairy parser
- used when %semantic_parser is specified. */
-
- /* Note: there must be only one dollar sign in this file.
- It is replaced by the list of actions, each action
- as one case of the switch. */
-
- #define yyerrok (yyerrstatus = 0)
- #define yyclearin (yychar = YYEMPTY)
- #define YYEMPTY -2
- #define YYEOF 0
- #define YYACCEPT return(0)
- #define YYABORT return(1)
- #define YYERROR goto yyerrlab1
- /* Like YYERROR except do call yyerror.
- This remains here temporarily to ease the
- transition to the new meaning of YYERROR, for GCC.
- Once GCC version 2 has supplanted version 1, this can go. */
- #define YYFAIL goto yyerrlab
- #define YYRECOVERING() (!!yyerrstatus)
- #define YYBACKUP(token, value) \
- do \
- if (yychar == YYEMPTY && yylen == 1) \
- { yychar = (token), yylval = (value); \
- yychar1 = YYTRANSLATE (yychar); \
- YYPOPSTACK; \
- goto yybackup; \
- } \
- else \
- { yyerror ("syntax error: cannot back up"); YYERROR; } \
- while (0)
-
- #define YYTERROR 1
- #define YYERRCODE 256
-
- #ifndef YYPURE
- #define YYLEX yylex()
- #endif
-
- #ifdef YYPURE
- #ifdef YYLSP_NEEDED
- #define YYLEX yylex(&yylval, &yylloc)
- #else
- #define YYLEX yylex(&yylval)
- #endif
- #endif
-
- /* If nonreentrant, generate the variables here */
-
- #ifndef YYPURE
-
- int yychar; /* the lookahead symbol */
- YYSTYPE yylval; /* the semantic value of the */
- /* lookahead symbol */
-
- #ifdef YYLSP_NEEDED
- YYLTYPE yylloc; /* location data for the lookahead */
- /* symbol */
- #endif
-
- int yynerrs; /* number of parse errors so far */
- #endif /* not YYPURE */
-
- #if YYDEBUG != 0
- int yydebug; /* nonzero means print parse trace */
- /* Since this is uninitialized, it does not stop multiple parsers
- from coexisting. */
- #endif
-
- /* YYINITDEPTH indicates the initial size of the parser's stacks */
-
- #ifndef YYINITDEPTH
- #define YYINITDEPTH 200
- #endif
-
- /* YYMAXDEPTH is the maximum size the stacks can grow to
- (effective only if the built-in stack extension method is used). */
-
- #if YYMAXDEPTH == 0
- #undef YYMAXDEPTH
- #endif
-
- #ifndef YYMAXDEPTH
- #define YYMAXDEPTH 10000
- #endif
-
- /* Prevent warning if -Wstrict-prototypes. */
- #ifdef __GNUC__
- int yyparse (void);
- #endif
-
- #if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
- #define __yy_bcopy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT)
- #else /* not GNU C or C++ */
- #ifndef __cplusplus
-
- /* This is the most reliable way to avoid incompatibilities
- in available built-in functions on various systems. */
- static void
- __yy_bcopy (from, to, count)
- char *from;
- char *to;
- int count;
- {
- register char *f = from;
- register char *t = to;
- register int i = count;
-
- while (i-- > 0)
- *t++ = *f++;
- }
-
- #else /* __cplusplus */
-
- /* This is the most reliable way to avoid incompatibilities
- in available built-in functions on various systems. */
- static void
- __yy_bcopy (char *from, char *to, int count)
- {
- register char *f = from;
- register char *t = to;
- register int i = count;
-
- while (i-- > 0)
- *t++ = *f++;
- }
-
- #endif
- #endif
-
- #line 184 "/usr/local/lib/bison.simple"
-
- /* The user can define YYPARSE_PARAM as the name of an argument to be passed
- into yyparse. The argument should have type void *.
- It should actually point to an object.
- Grammar actions can access the variable by casting it
- to the proper pointer type. */
-
- #ifdef YYPARSE_PARAM
- #define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
- #else
- #define YYPARSE_PARAM
- #define YYPARSE_PARAM_DECL
- #endif
-
- int
- yyparse(YYPARSE_PARAM)
- YYPARSE_PARAM_DECL
- {
- register int yystate;
- register int yyn;
- register short *yyssp;
- register YYSTYPE *yyvsp;
- int yyerrstatus; /* number of tokens to shift before error messages enabled */
- int yychar1 = 0; /* lookahead token as an internal (translated) token number */
-
- short yyssa[YYINITDEPTH]; /* the state stack */
- YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */
-
- short *yyss = yyssa; /* refer to the stacks thru separate pointers */
- YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */
-
- #ifdef YYLSP_NEEDED
- YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */
- YYLTYPE *yyls = yylsa;
- YYLTYPE *yylsp;
-
- #define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
- #else
- #define YYPOPSTACK (yyvsp--, yyssp--)
- #endif
-
- int yystacksize = YYINITDEPTH;
-
- #ifdef YYPURE
- int yychar;
- YYSTYPE yylval;
- int yynerrs;
- #ifdef YYLSP_NEEDED
- YYLTYPE yylloc;
- #endif
- #endif
-
- YYSTYPE yyval; /* the variable used to return */
- /* semantic values from the action */
- /* routines */
-
- int yylen;
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Starting parse\n");
- #endif
-
- yystate = 0;
- yyerrstatus = 0;
- yynerrs = 0;
- yychar = YYEMPTY; /* Cause a token to be read. */
-
- /* Initialize stack pointers.
- Waste one element of value and location stack
- so that they stay on the same level as the state stack.
- The wasted elements are never initialized. */
-
- yyssp = yyss - 1;
- yyvsp = yyvs;
- #ifdef YYLSP_NEEDED
- yylsp = yyls;
- #endif
-
- /* Push a new state, which is found in yystate . */
- /* In all cases, when you get here, the value and location stacks
- have just been pushed. so pushing a state here evens the stacks. */
- yynewstate:
-
- *++yyssp = yystate;
-
- if (yyssp >= yyss + yystacksize - 1)
- {
- /* Give user a chance to reallocate the stack */
- /* Use copies of these so that the &'s don't force the real ones into memory. */
- YYSTYPE *yyvs1 = yyvs;
- short *yyss1 = yyss;
- #ifdef YYLSP_NEEDED
- YYLTYPE *yyls1 = yyls;
- #endif
-
- /* Get the current used size of the three stacks, in elements. */
- int size = yyssp - yyss + 1;
-
- #ifdef yyoverflow
- /* Each stack pointer address is followed by the size of
- the data in use in that stack, in bytes. */
- #ifdef YYLSP_NEEDED
- /* This used to be a conditional around just the two extra args,
- but that might be undefined if yyoverflow is a macro. */
- yyoverflow("parser stack overflow",
- &yyss1, size * sizeof (*yyssp),
- &yyvs1, size * sizeof (*yyvsp),
- &yyls1, size * sizeof (*yylsp),
- &yystacksize);
- #else
- yyoverflow("parser stack overflow",
- &yyss1, size * sizeof (*yyssp),
- &yyvs1, size * sizeof (*yyvsp),
- &yystacksize);
- #endif
-
- yyss = yyss1; yyvs = yyvs1;
- #ifdef YYLSP_NEEDED
- yyls = yyls1;
- #endif
- #else /* no yyoverflow */
- /* Extend the stack our own way. */
- if (yystacksize >= YYMAXDEPTH)
- {
- yyerror("parser stack overflow");
- return 2;
- }
- yystacksize *= 2;
- if (yystacksize > YYMAXDEPTH)
- yystacksize = YYMAXDEPTH;
- yyss = (short *) alloca (yystacksize * sizeof (*yyssp));
- __yy_bcopy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp));
- yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp));
- __yy_bcopy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp));
- #ifdef YYLSP_NEEDED
- yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp));
- __yy_bcopy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp));
- #endif
- #endif /* no yyoverflow */
-
- yyssp = yyss + size - 1;
- yyvsp = yyvs + size - 1;
- #ifdef YYLSP_NEEDED
- yylsp = yyls + size - 1;
- #endif
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Stack size increased to %d\n", yystacksize);
- #endif
-
- if (yyssp >= yyss + yystacksize - 1)
- YYABORT;
- }
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Entering state %d\n", yystate);
- #endif
-
- goto yybackup;
- yybackup:
-
- /* Do appropriate processing given the current state. */
- /* Read a lookahead token if we need one and don't already have one. */
- /* yyresume: */
-
- /* First try to decide what to do without reference to lookahead token. */
-
- yyn = yypact[yystate];
- if (yyn == YYFLAG)
- goto yydefault;
-
- /* Not known => get a lookahead token if don't already have one. */
-
- /* yychar is either YYEMPTY or YYEOF
- or a valid token in external form. */
-
- if (yychar == YYEMPTY)
- {
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Reading a token: ");
- #endif
- yychar = YYLEX;
- }
-
- /* Convert token to internal form (in yychar1) for indexing tables with */
-
- if (yychar <= 0) /* This means end of input. */
- {
- yychar1 = 0;
- yychar = YYEOF; /* Don't call YYLEX any more */
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Now at end of input.\n");
- #endif
- }
- else
- {
- yychar1 = YYTRANSLATE(yychar);
-
- #if YYDEBUG != 0
- if (yydebug)
- {
- fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
- /* Give the individual parser a way to print the precise meaning
- of a token, for further debugging info. */
- #ifdef YYPRINT
- YYPRINT (stderr, yychar, yylval);
- #endif
- fprintf (stderr, ")\n");
- }
- #endif
- }
-
- yyn += yychar1;
- if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
- goto yydefault;
-
- yyn = yytable[yyn];
-
- /* yyn is what to do for this token type in this state.
- Negative => reduce, -yyn is rule number.
- Positive => shift, yyn is new state.
- New state is final state => don't bother to shift,
- just return success.
- 0, or most negative number => error. */
-
- if (yyn < 0)
- {
- if (yyn == YYFLAG)
- goto yyerrlab;
- yyn = -yyn;
- goto yyreduce;
- }
- else if (yyn == 0)
- goto yyerrlab;
-
- if (yyn == YYFINAL)
- YYACCEPT;
-
- /* Shift the lookahead token. */
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
- #endif
-
- /* Discard the token being shifted unless it is eof. */
- if (yychar != YYEOF)
- yychar = YYEMPTY;
-
- *++yyvsp = yylval;
- #ifdef YYLSP_NEEDED
- *++yylsp = yylloc;
- #endif
-
- /* count tokens shifted since error; after three, turn off error status. */
- if (yyerrstatus) yyerrstatus--;
-
- yystate = yyn;
- goto yynewstate;
-
- /* Do the default action for the current state. */
- yydefault:
-
- yyn = yydefact[yystate];
- if (yyn == 0)
- goto yyerrlab;
-
- /* Do a reduction. yyn is the number of a rule to reduce with. */
- yyreduce:
- yylen = yyr2[yyn];
- if (yylen > 0)
- yyval = yyvsp[1-yylen]; /* implement default value of the action */
-
- #if YYDEBUG != 0
- if (yydebug)
- {
- int i;
-
- fprintf (stderr, "Reducing via rule %d (line %d), ",
- yyn, yyrline[yyn]);
-
- /* Print the symbols being reduced, and their result. */
- for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
- fprintf (stderr, "%s ", yytname[yyrhs[i]]);
- fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
- }
- #endif
-
-
- switch (yyn) {
-
- case 1:
- #line 232 "c-parse.y"
- { if (pedantic)
- pedwarn ("ANSI C forbids an empty source file");
- finish_file ();
- ;
- break;}
- case 2:
- #line 237 "c-parse.y"
- {
- /* In case there were missing closebraces,
- get us back to the global binding level. */
- while (! global_bindings_p ())
- poplevel (0, 0, 0);
- finish_file ();
- ;
- break;}
- case 3:
- #line 251 "c-parse.y"
- {yyval.ttype = NULL_TREE; ;
- break;}
- case 5:
- #line 252 "c-parse.y"
- {yyval.ttype = NULL_TREE; ;
- break;}
- case 9:
- #line 259 "c-parse.y"
- { STRIP_NOPS (yyvsp[-2].ttype);
- if ((TREE_CODE (yyvsp[-2].ttype) == ADDR_EXPR
- && TREE_CODE (TREE_OPERAND (yyvsp[-2].ttype, 0)) == STRING_CST)
- || TREE_CODE (yyvsp[-2].ttype) == STRING_CST)
- assemble_asm (yyvsp[-2].ttype);
- else
- error ("argument of `asm' is not a constant string"); ;
- break;}
- case 10:
- #line 270 "c-parse.y"
- { if (pedantic)
- error ("ANSI C forbids data definition with no type or storage class");
- else if (!flag_traditional)
- warning ("data definition has no type or storage class");
-
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 11:
- #line 280 "c-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 12:
- #line 285 "c-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 13:
- #line 290 "c-parse.y"
- { pedwarn ("empty declaration"); ;
- break;}
- case 14:
- #line 292 "c-parse.y"
- { shadow_tag (yyvsp[-1].ttype); ;
- break;}
- case 17:
- #line 296 "c-parse.y"
- { if (pedantic)
- pedwarn ("ANSI C does not allow extra `;' outside of a function"); ;
- break;}
- case 18:
- #line 302 "c-parse.y"
- { if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, prefix_attributes,
- NULL_TREE, 0))
- YYERROR1;
- reinit_parse_for_function (); ;
- break;}
- case 19:
- #line 307 "c-parse.y"
- { store_parm_decls (); ;
- break;}
- case 20:
- #line 309 "c-parse.y"
- { finish_function (0);
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-5].itype); ;
- break;}
- case 21:
- #line 315 "c-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 22:
- #line 320 "c-parse.y"
- { if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, prefix_attributes,
- NULL_TREE, 0))
- YYERROR1;
- reinit_parse_for_function (); ;
- break;}
- case 23:
- #line 325 "c-parse.y"
- { store_parm_decls (); ;
- break;}
- case 24:
- #line 327 "c-parse.y"
- { finish_function (0);
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-5].itype); ;
- break;}
- case 25:
- #line 333 "c-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 26:
- #line 338 "c-parse.y"
- { if (! start_function (NULL_TREE, yyvsp[0].ttype,
- prefix_attributes, NULL_TREE, 0))
- YYERROR1;
- reinit_parse_for_function (); ;
- break;}
- case 27:
- #line 343 "c-parse.y"
- { store_parm_decls (); ;
- break;}
- case 28:
- #line 345 "c-parse.y"
- { finish_function (0);
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-5].itype); ;
- break;}
- case 29:
- #line 351 "c-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 32:
- #line 363 "c-parse.y"
- { yyval.code = ADDR_EXPR; ;
- break;}
- case 33:
- #line 365 "c-parse.y"
- { yyval.code = NEGATE_EXPR; ;
- break;}
- case 34:
- #line 367 "c-parse.y"
- { yyval.code = CONVERT_EXPR; ;
- break;}
- case 35:
- #line 369 "c-parse.y"
- { yyval.code = PREINCREMENT_EXPR; ;
- break;}
- case 36:
- #line 371 "c-parse.y"
- { yyval.code = PREDECREMENT_EXPR; ;
- break;}
- case 37:
- #line 373 "c-parse.y"
- { yyval.code = BIT_NOT_EXPR; ;
- break;}
- case 38:
- #line 375 "c-parse.y"
- { yyval.code = TRUTH_NOT_EXPR; ;
- break;}
- case 39:
- #line 379 "c-parse.y"
- { yyval.ttype = build_compound_expr (yyvsp[0].ttype); ;
- break;}
- case 40:
- #line 384 "c-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 42:
- #line 390 "c-parse.y"
- { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
- break;}
- case 43:
- #line 392 "c-parse.y"
- { chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
- break;}
- case 45:
- #line 398 "c-parse.y"
- { yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ;
- break;}
- case 46:
- #line 401 "c-parse.y"
- { yyvsp[0].itype = pedantic;
- pedantic = 0; ;
- break;}
- case 47:
- #line 404 "c-parse.y"
- { yyval.ttype = yyvsp[0].ttype;
- pedantic = yyvsp[-2].itype; ;
- break;}
- case 48:
- #line 407 "c-parse.y"
- { yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0);
- overflow_warning (yyval.ttype); ;
- break;}
- case 49:
- #line 411 "c-parse.y"
- { tree label = lookup_label (yyvsp[0].ttype);
- if (pedantic)
- pedwarn ("ANSI C forbids `&&'");
- if (label == 0)
- yyval.ttype = null_pointer_node;
- else
- {
- TREE_USED (label) = 1;
- yyval.ttype = build1 (ADDR_EXPR, ptr_type_node, label);
- TREE_CONSTANT (yyval.ttype) = 1;
- }
- ;
- break;}
- case 50:
- #line 439 "c-parse.y"
- { if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF
- && DECL_BIT_FIELD (TREE_OPERAND (yyvsp[0].ttype, 1)))
- error ("`sizeof' applied to a bit-field");
- yyval.ttype = c_sizeof (TREE_TYPE (yyvsp[0].ttype)); ;
- break;}
- case 51:
- #line 444 "c-parse.y"
- { yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ;
- break;}
- case 52:
- #line 446 "c-parse.y"
- { yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ;
- break;}
- case 53:
- #line 448 "c-parse.y"
- { yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ;
- break;}
- case 54:
- #line 450 "c-parse.y"
- { yyval.ttype = build_unary_op (REALPART_EXPR, yyvsp[0].ttype, 0); ;
- break;}
- case 55:
- #line 452 "c-parse.y"
- { yyval.ttype = build_unary_op (IMAGPART_EXPR, yyvsp[0].ttype, 0); ;
- break;}
- case 57:
- #line 458 "c-parse.y"
- { tree type = groktypename (yyvsp[-2].ttype);
- yyval.ttype = build_c_cast (type, yyvsp[0].ttype); ;
- break;}
- case 58:
- #line 461 "c-parse.y"
- { start_init (NULL_TREE, NULL, 0);
- yyvsp[-2].ttype = groktypename (yyvsp[-2].ttype);
- really_start_incremental_init (yyvsp[-2].ttype); ;
- break;}
- case 59:
- #line 465 "c-parse.y"
- { char *name;
- tree result = pop_init_level (0);
- tree type = yyvsp[-5].ttype;
- finish_init ();
-
- if (pedantic)
- pedwarn ("ANSI C forbids constructor expressions");
- if (TYPE_NAME (type) != 0)
- {
- if (TREE_CODE (TYPE_NAME (type)) == IDENTIFIER_NODE)
- name = IDENTIFIER_POINTER (TYPE_NAME (type));
- else
- name = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (type)));
- }
- else
- name = "";
- yyval.ttype = result;
- if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == 0)
- {
- int failure = complete_array_type (type, yyval.ttype, 1);
- if (failure)
- abort ();
- }
- ;
- break;}
- case 61:
- #line 494 "c-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 62:
- #line 496 "c-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 63:
- #line 498 "c-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 64:
- #line 500 "c-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 65:
- #line 502 "c-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 66:
- #line 504 "c-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 67:
- #line 506 "c-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 68:
- #line 508 "c-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 69:
- #line 510 "c-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 70:
- #line 512 "c-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 71:
- #line 514 "c-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 72:
- #line 516 "c-parse.y"
- { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 73:
- #line 518 "c-parse.y"
- { yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 74:
- #line 520 "c-parse.y"
- { yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 75:
- #line 522 "c-parse.y"
- { yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 76:
- #line 524 "c-parse.y"
- { yyval.ttype = build_modify_expr (yyvsp[-2].ttype, NOP_EXPR, yyvsp[0].ttype);
- C_SET_EXP_ORIGINAL_CODE (yyval.ttype, MODIFY_EXPR); ;
- break;}
- case 77:
- #line 527 "c-parse.y"
- { yyval.ttype = build_modify_expr (yyvsp[-2].ttype, yyvsp[-1].code, yyvsp[0].ttype);
- /* This inhibits warnings in truthvalue_conversion. */
- C_SET_EXP_ORIGINAL_CODE (yyval.ttype, ERROR_MARK); ;
- break;}
- case 78:
- #line 534 "c-parse.y"
- {
- yyval.ttype = lastiddecl;
- if (!yyval.ttype || yyval.ttype == error_mark_node)
- {
- if (yychar == YYEMPTY)
- yychar = YYLEX;
- if (yychar == '(')
- {
- {
- /* Ordinary implicit function declaration. */
- yyval.ttype = implicitly_declare (yyvsp[0].ttype);
- assemble_external (yyval.ttype);
- TREE_USED (yyval.ttype) = 1;
- }
- }
- else if (current_function_decl == 0)
- {
- error ("`%s' undeclared here (not in a function)",
- IDENTIFIER_POINTER (yyvsp[0].ttype));
- yyval.ttype = error_mark_node;
- }
- else
- {
- {
- if (IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) != error_mark_node
- || IDENTIFIER_ERROR_LOCUS (yyvsp[0].ttype) != current_function_decl)
- {
- error ("`%s' undeclared (first use this function)",
- IDENTIFIER_POINTER (yyvsp[0].ttype));
-
- if (! undeclared_variable_notice)
- {
- error ("(Each undeclared identifier is reported only once");
- error ("for each function it appears in.)");
- undeclared_variable_notice = 1;
- }
- }
- yyval.ttype = error_mark_node;
- /* Prevent repeated error messages. */
- IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) = error_mark_node;
- IDENTIFIER_ERROR_LOCUS (yyvsp[0].ttype) = current_function_decl;
- }
- }
- }
- else if (TREE_TYPE (yyval.ttype) == error_mark_node)
- yyval.ttype = error_mark_node;
- else if (C_DECL_ANTICIPATED (yyval.ttype))
- {
- /* The first time we see a build-in function used,
- if it has not been declared. */
- C_DECL_ANTICIPATED (yyval.ttype) = 0;
- if (yychar == YYEMPTY)
- yychar = YYLEX;
- if (yychar == '(')
- {
- /* Omit the implicit declaration we
- would ordinarily do, so we don't lose
- the actual built in type.
- But print a diagnostic for the mismatch. */
- if (TREE_CODE (yyval.ttype) != FUNCTION_DECL)
- error ("`%s' implicitly declared as function",
- IDENTIFIER_POINTER (DECL_NAME (yyval.ttype)));
- else if ((TYPE_MODE (TREE_TYPE (TREE_TYPE (yyval.ttype)))
- != TYPE_MODE (integer_type_node))
- && (TREE_TYPE (TREE_TYPE (yyval.ttype))
- != void_type_node))
- pedwarn ("type mismatch in implicit declaration for built-in function `%s'",
- IDENTIFIER_POINTER (DECL_NAME (yyval.ttype)));
- /* If it really returns void, change that to int. */
- if (TREE_TYPE (TREE_TYPE (yyval.ttype)) == void_type_node)
- TREE_TYPE (yyval.ttype)
- = build_function_type (integer_type_node,
- TYPE_ARG_TYPES (TREE_TYPE (yyval.ttype)));
- }
- else
- pedwarn ("built-in function `%s' used without declaration",
- IDENTIFIER_POINTER (DECL_NAME (yyval.ttype)));
-
- /* Do what we would ordinarily do when a fn is used. */
- assemble_external (yyval.ttype);
- TREE_USED (yyval.ttype) = 1;
- }
- else
- {
- assemble_external (yyval.ttype);
- TREE_USED (yyval.ttype) = 1;
- }
-
- if (TREE_CODE (yyval.ttype) == CONST_DECL)
- {
- yyval.ttype = DECL_INITIAL (yyval.ttype);
- /* This is to prevent an enum whose value is 0
- from being considered a null pointer constant. */
- yyval.ttype = build1 (NOP_EXPR, TREE_TYPE (yyval.ttype), yyval.ttype);
- TREE_CONSTANT (yyval.ttype) = 1;
- }
- ;
- break;}
- case 80:
- #line 633 "c-parse.y"
- { yyval.ttype = combine_strings (yyvsp[0].ttype); ;
- break;}
- case 81:
- #line 635 "c-parse.y"
- { char class = TREE_CODE_CLASS (TREE_CODE (yyvsp[-1].ttype));
- if (class == 'e' || class == '1'
- || class == '2' || class == '<')
- C_SET_EXP_ORIGINAL_CODE (yyvsp[-1].ttype, ERROR_MARK);
- yyval.ttype = yyvsp[-1].ttype; ;
- break;}
- case 82:
- #line 641 "c-parse.y"
- { yyval.ttype = error_mark_node; ;
- break;}
- case 83:
- #line 643 "c-parse.y"
- { if (current_function_decl == 0)
- {
- error ("braced-group within expression allowed only inside a function");
- YYERROR;
- }
- /* We must force a BLOCK for this level
- so that, if it is not expanded later,
- there is a way to turn off the entire subtree of blocks
- that are contained in it. */
- keep_next_level ();
- push_iterator_stack ();
- push_label_level ();
- yyval.ttype = expand_start_stmt_expr (); ;
- break;}
- case 84:
- #line 657 "c-parse.y"
- { tree rtl_exp;
- if (pedantic)
- pedwarn ("ANSI C forbids braced-groups within expressions");
- pop_iterator_stack ();
- pop_label_level ();
- rtl_exp = expand_end_stmt_expr (yyvsp[-2].ttype);
- /* The statements have side effects, so the group does. */
- TREE_SIDE_EFFECTS (rtl_exp) = 1;
-
- if (TREE_CODE (yyvsp[-1].ttype) == BLOCK)
- {
- /* Make a BIND_EXPR for the BLOCK already made. */
- yyval.ttype = build (BIND_EXPR, TREE_TYPE (rtl_exp),
- NULL_TREE, rtl_exp, yyvsp[-1].ttype);
- /* Remove the block from the tree at this point.
- It gets put back at the proper place
- when the BIND_EXPR is expanded. */
- delete_block (yyvsp[-1].ttype);
- }
- else
- yyval.ttype = yyvsp[-1].ttype;
- ;
- break;}
- case 85:
- #line 680 "c-parse.y"
- { yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 86:
- #line 682 "c-parse.y"
- { yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 87:
- #line 684 "c-parse.y"
- {
- yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 88:
- #line 688 "c-parse.y"
- {
- tree expr = build_indirect_ref (yyvsp[-2].ttype, "->");
-
- yyval.ttype = build_component_ref (expr, yyvsp[0].ttype);
- ;
- break;}
- case 89:
- #line 694 "c-parse.y"
- { yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ;
- break;}
- case 90:
- #line 696 "c-parse.y"
- { yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ;
- break;}
- case 92:
- #line 703 "c-parse.y"
- { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 95:
- #line 712 "c-parse.y"
- { c_mark_varargs ();
- if (pedantic)
- pedwarn ("ANSI C does not permit use of `varargs.h'"); ;
- break;}
- case 96:
- #line 722 "c-parse.y"
- { ;
- break;}
- case 101:
- #line 734 "c-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 102:
- #line 739 "c-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 103:
- #line 744 "c-parse.y"
- { shadow_tag_warned (yyvsp[-1].ttype, 1);
- pedwarn ("empty declaration"); ;
- break;}
- case 104:
- #line 747 "c-parse.y"
- { pedwarn ("empty declaration"); ;
- break;}
- case 105:
- #line 756 "c-parse.y"
- { ;
- break;}
- case 110:
- #line 771 "c-parse.y"
- { yyval.itype = suspend_momentary ();
- pending_xref_error ();
- declspec_stack = tree_cons (prefix_attributes,
- current_declspecs,
- declspec_stack);
- current_declspecs = yyvsp[0].ttype;
- prefix_attributes = NULL_TREE; ;
- break;}
- case 111:
- #line 781 "c-parse.y"
- { prefix_attributes = chainon (prefix_attributes, yyvsp[0].ttype); ;
- break;}
- case 112:
- #line 786 "c-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 113:
- #line 791 "c-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 114:
- #line 796 "c-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-1].itype); ;
- break;}
- case 115:
- #line 801 "c-parse.y"
- { current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-1].itype); ;
- break;}
- case 116:
- #line 806 "c-parse.y"
- { shadow_tag (yyvsp[-1].ttype); ;
- break;}
- case 117:
- #line 808 "c-parse.y"
- { pedwarn ("empty declaration"); ;
- break;}
- case 118:
- #line 817 "c-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 119:
- #line 819 "c-parse.y"
- { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
- break;}
- case 120:
- #line 823 "c-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 121:
- #line 825 "c-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
- break;}
- case 122:
- #line 827 "c-parse.y"
- { if (extra_warnings)
- warning ("`%s' is not at beginning of declaration",
- IDENTIFIER_POINTER (yyvsp[0].ttype));
- yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
- break;}
- case 123:
- #line 839 "c-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE);
- TREE_STATIC (yyval.ttype) = 1; ;
- break;}
- case 124:
- #line 842 "c-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 125:
- #line 844 "c-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype);
- TREE_STATIC (yyval.ttype) = 1; ;
- break;}
- case 126:
- #line 847 "c-parse.y"
- { if (extra_warnings && TREE_STATIC (yyvsp[-1].ttype))
- warning ("`%s' is not at beginning of declaration",
- IDENTIFIER_POINTER (yyvsp[0].ttype));
- yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype);
- TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;
- break;}
- case 127:
- #line 861 "c-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 128:
- #line 863 "c-parse.y"
- { yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ;
- break;}
- case 129:
- #line 867 "c-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 130:
- #line 869 "c-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
- break;}
- case 133:
- #line 879 "c-parse.y"
- { /* For a typedef name, record the meaning, not the name.
- In case of `foo foo, bar;'. */
- yyval.ttype = lookup_name (yyvsp[0].ttype); ;
- break;}
- case 134:
- #line 883 "c-parse.y"
- { yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); ;
- break;}
- case 135:
- #line 885 "c-parse.y"
- { yyval.ttype = groktypename (yyvsp[-1].ttype); ;
- break;}
- case 143:
- #line 907 "c-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 144:
- #line 909 "c-parse.y"
- { if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype);
- yyval.ttype = yyvsp[-1].ttype;
- ;
- break;}
- case 145:
- #line 916 "c-parse.y"
- { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1,
- yyvsp[-1].ttype, prefix_attributes);
- start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ;
- break;}
- case 146:
- #line 921 "c-parse.y"
- { finish_init ();
- finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
- break;}
- case 147:
- #line 924 "c-parse.y"
- { tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0,
- yyvsp[0].ttype, prefix_attributes);
- finish_decl (d, NULL_TREE, yyvsp[-1].ttype);
- ;
- break;}
- case 148:
- #line 932 "c-parse.y"
- { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1,
- yyvsp[-1].ttype, prefix_attributes);
- start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ;
- break;}
- case 149:
- #line 937 "c-parse.y"
- { finish_init ();
- decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype, prefix_attributes);
- finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;
- break;}
- case 150:
- #line 941 "c-parse.y"
- { tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0,
- yyvsp[0].ttype, prefix_attributes);
- finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ;
- break;}
- case 151:
- #line 949 "c-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 152:
- #line 951 "c-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 153:
- #line 956 "c-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 154:
- #line 958 "c-parse.y"
- { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 155:
- #line 963 "c-parse.y"
- { yyval.ttype = yyvsp[-2].ttype; ;
- break;}
- case 156:
- #line 968 "c-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 157:
- #line 970 "c-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 158:
- #line 975 "c-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 159:
- #line 977 "c-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 160:
- #line 979 "c-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-3].ttype, build_tree_list (NULL_TREE, yyvsp[-1].ttype)); ;
- break;}
- case 161:
- #line 981 "c-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-5].ttype, tree_cons (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype)); ;
- break;}
- case 162:
- #line 983 "c-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 168:
- #line 1001 "c-parse.y"
- { really_start_incremental_init (NULL_TREE);
- /* Note that the call to clear_momentary
- is in process_init_element. */
- push_momentary (); ;
- break;}
- case 169:
- #line 1006 "c-parse.y"
- { yyval.ttype = pop_init_level (0);
- if (yyval.ttype == error_mark_node
- && ! (yychar == STRING || yychar == CONSTANT))
- pop_momentary ();
- else
- pop_momentary_nofree (); ;
- break;}
- case 170:
- #line 1014 "c-parse.y"
- { yyval.ttype = error_mark_node; ;
- break;}
- case 171:
- #line 1020 "c-parse.y"
- { if (pedantic)
- pedwarn ("ANSI C forbids empty initializer braces"); ;
- break;}
- case 175:
- #line 1034 "c-parse.y"
- { process_init_element (yyvsp[0].ttype); ;
- break;}
- case 176:
- #line 1036 "c-parse.y"
- { push_init_level (0); ;
- break;}
- case 177:
- #line 1038 "c-parse.y"
- { process_init_element (pop_init_level (0)); ;
- break;}
- case 179:
- #line 1044 "c-parse.y"
- { set_init_index (yyvsp[-4].ttype, yyvsp[-2].ttype); ;
- break;}
- case 181:
- #line 1047 "c-parse.y"
- { set_init_index (yyvsp[-2].ttype, NULL_TREE); ;
- break;}
- case 183:
- #line 1050 "c-parse.y"
- { set_init_index (yyvsp[-1].ttype, NULL_TREE); ;
- break;}
- case 185:
- #line 1053 "c-parse.y"
- { set_init_label (yyvsp[-1].ttype); ;
- break;}
- case 187:
- #line 1056 "c-parse.y"
- { set_init_label (yyvsp[-1].ttype); ;
- break;}
- case 189:
- #line 1062 "c-parse.y"
- { push_c_function_context ();
- if (! start_function (current_declspecs, yyvsp[0].ttype,
- prefix_attributes, NULL_TREE, 1))
- {
- pop_c_function_context ();
- YYERROR1;
- }
- reinit_parse_for_function (); ;
- break;}
- case 190:
- #line 1071 "c-parse.y"
- { store_parm_decls (); ;
- break;}
- case 191:
- #line 1079 "c-parse.y"
- { finish_function (1);
- pop_c_function_context (); ;
- break;}
- case 192:
- #line 1085 "c-parse.y"
- { push_c_function_context ();
- if (! start_function (current_declspecs, yyvsp[0].ttype,
- prefix_attributes, NULL_TREE, 1))
- {
- pop_c_function_context ();
- YYERROR1;
- }
- reinit_parse_for_function (); ;
- break;}
- case 193:
- #line 1094 "c-parse.y"
- { store_parm_decls (); ;
- break;}
- case 194:
- #line 1102 "c-parse.y"
- { finish_function (1);
- pop_c_function_context (); ;
- break;}
- case 197:
- #line 1118 "c-parse.y"
- { yyval.ttype = yyvsp[-1].ttype; ;
- break;}
- case 198:
- #line 1120 "c-parse.y"
- { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 199:
- #line 1125 "c-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 200:
- #line 1127 "c-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
- break;}
- case 201:
- #line 1129 "c-parse.y"
- { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 202:
- #line 1131 "c-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 204:
- #line 1142 "c-parse.y"
- { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 205:
- #line 1147 "c-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 206:
- #line 1149 "c-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
- break;}
- case 207:
- #line 1151 "c-parse.y"
- { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 208:
- #line 1153 "c-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 210:
- #line 1162 "c-parse.y"
- { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 211:
- #line 1167 "c-parse.y"
- { yyval.ttype = yyvsp[-1].ttype; ;
- break;}
- case 212:
- #line 1169 "c-parse.y"
- { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 213:
- #line 1171 "c-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 214:
- #line 1173 "c-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
- break;}
- case 215:
- #line 1175 "c-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 217:
- #line 1181 "c-parse.y"
- { yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype);
- /* Start scope of tag before parsing components. */
- ;
- break;}
- case 218:
- #line 1185 "c-parse.y"
- { yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 219:
- #line 1187 "c-parse.y"
- { yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE),
- yyvsp[-2].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 220:
- #line 1191 "c-parse.y"
- { yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ;
- break;}
- case 221:
- #line 1193 "c-parse.y"
- { yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ;
- break;}
- case 222:
- #line 1195 "c-parse.y"
- { yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 223:
- #line 1197 "c-parse.y"
- { yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE),
- yyvsp[-2].ttype, yyvsp[0].ttype);
- ;
- break;}
- case 224:
- #line 1201 "c-parse.y"
- { yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ;
- break;}
- case 225:
- #line 1203 "c-parse.y"
- { yyvsp[0].itype = suspend_momentary ();
- yyval.ttype = start_enum (yyvsp[-1].ttype); ;
- break;}
- case 226:
- #line 1206 "c-parse.y"
- { yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), yyvsp[0].ttype);
- resume_momentary (yyvsp[-5].itype); ;
- break;}
- case 227:
- #line 1209 "c-parse.y"
- { yyvsp[0].itype = suspend_momentary ();
- yyval.ttype = start_enum (NULL_TREE); ;
- break;}
- case 228:
- #line 1212 "c-parse.y"
- { yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), yyvsp[0].ttype);
- resume_momentary (yyvsp[-5].itype); ;
- break;}
- case 229:
- #line 1215 "c-parse.y"
- { yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); ;
- break;}
- case 233:
- #line 1226 "c-parse.y"
- { if (pedantic) pedwarn ("comma at end of enumerator list"); ;
- break;}
- case 234:
- #line 1231 "c-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 235:
- #line 1233 "c-parse.y"
- { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype);
- pedwarn ("no semicolon at end of struct or union"); ;
- break;}
- case 236:
- #line 1238 "c-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 237:
- #line 1240 "c-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ;
- break;}
- case 238:
- #line 1242 "c-parse.y"
- { if (pedantic)
- pedwarn ("extra semicolon in struct or union specified"); ;
- break;}
- case 239:
- #line 1257 "c-parse.y"
- { yyval.ttype = yyvsp[0].ttype;
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-1].itype); ;
- break;}
- case 240:
- #line 1263 "c-parse.y"
- { if (pedantic)
- pedwarn ("ANSI C forbids member declarations with no members");
- shadow_tag(yyvsp[0].ttype);
- yyval.ttype = NULL_TREE; ;
- break;}
- case 241:
- #line 1268 "c-parse.y"
- { yyval.ttype = yyvsp[0].ttype;
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-1].itype); ;
- break;}
- case 242:
- #line 1274 "c-parse.y"
- { if (pedantic)
- pedwarn ("ANSI C forbids member declarations with no members");
- shadow_tag(yyvsp[0].ttype);
- yyval.ttype = NULL_TREE; ;
- break;}
- case 243:
- #line 1279 "c-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 245:
- #line 1285 "c-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 246:
- #line 1290 "c-parse.y"
- { yyval.ttype = grokfield (yyvsp[-3].filename, yyvsp[-2].lineno, yyvsp[-1].ttype, current_declspecs, NULL_TREE);
- decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
- break;}
- case 247:
- #line 1294 "c-parse.y"
- { yyval.ttype = grokfield (yyvsp[-5].filename, yyvsp[-4].lineno, yyvsp[-3].ttype, current_declspecs, yyvsp[-1].ttype);
- decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
- break;}
- case 248:
- #line 1297 "c-parse.y"
- { yyval.ttype = grokfield (yyvsp[-4].filename, yyvsp[-3].lineno, NULL_TREE, current_declspecs, yyvsp[-1].ttype);
- decl_attributes (yyval.ttype, yyvsp[0].ttype, prefix_attributes); ;
- break;}
- case 250:
- #line 1309 "c-parse.y"
- { yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-2].ttype); ;
- break;}
- case 251:
- #line 1311 "c-parse.y"
- { yyval.ttype = error_mark_node; ;
- break;}
- case 252:
- #line 1317 "c-parse.y"
- { yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 253:
- #line 1319 "c-parse.y"
- { yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 254:
- #line 1324 "c-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 255:
- #line 1326 "c-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 256:
- #line 1331 "c-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 258:
- #line 1337 "c-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 259:
- #line 1339 "c-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
- break;}
- case 260:
- #line 1344 "c-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 261:
- #line 1346 "c-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;
- break;}
- case 262:
- #line 1351 "c-parse.y"
- { yyval.ttype = yyvsp[-1].ttype; ;
- break;}
- case 263:
- #line 1354 "c-parse.y"
- { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;
- break;}
- case 264:
- #line 1356 "c-parse.y"
- { yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 265:
- #line 1358 "c-parse.y"
- { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 266:
- #line 1360 "c-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 267:
- #line 1362 "c-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ;
- break;}
- case 268:
- #line 1364 "c-parse.y"
- { yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;
- break;}
- case 269:
- #line 1366 "c-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ;
- break;}
- case 270:
- #line 1368 "c-parse.y"
- { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ;
- break;}
- case 271:
- #line 1370 "c-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 278:
- #line 1392 "c-parse.y"
- { emit_line_note (input_filename, lineno);
- pushlevel (0);
- clear_last_expr ();
- push_momentary ();
- expand_start_bindings (0);
- ;
- break;}
- case 280:
- #line 1405 "c-parse.y"
- { if (pedantic)
- pedwarn ("ANSI C forbids label declarations"); ;
- break;}
- case 283:
- #line 1416 "c-parse.y"
- { tree link;
- for (link = yyvsp[-1].ttype; link; link = TREE_CHAIN (link))
- {
- tree label = shadow_label (TREE_VALUE (link));
- C_DECLARED_LABEL_FLAG (label) = 1;
- declare_nonlocal_label (label);
- }
- ;
- break;}
- case 284:
- #line 1430 "c-parse.y"
- {;
- break;}
- case 286:
- #line 1435 "c-parse.y"
- { yyval.ttype = convert (void_type_node, integer_zero_node); ;
- break;}
- case 287:
- #line 1437 "c-parse.y"
- { emit_line_note (input_filename, lineno);
- expand_end_bindings (getdecls (), 1, 0);
- yyval.ttype = poplevel (1, 1, 0);
- if (yychar == CONSTANT || yychar == STRING)
- pop_momentary_nofree ();
- else
- pop_momentary (); ;
- break;}
- case 288:
- #line 1445 "c-parse.y"
- { emit_line_note (input_filename, lineno);
- expand_end_bindings (getdecls (), kept_level_p (), 0);
- yyval.ttype = poplevel (kept_level_p (), 0, 0);
- if (yychar == CONSTANT || yychar == STRING)
- pop_momentary_nofree ();
- else
- pop_momentary (); ;
- break;}
- case 289:
- #line 1453 "c-parse.y"
- { emit_line_note (input_filename, lineno);
- expand_end_bindings (getdecls (), kept_level_p (), 0);
- yyval.ttype = poplevel (kept_level_p (), 0, 0);
- if (yychar == CONSTANT || yychar == STRING)
- pop_momentary_nofree ();
- else
- pop_momentary (); ;
- break;}
- case 292:
- #line 1473 "c-parse.y"
- { emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
- expand_start_cond (truthvalue_conversion (yyvsp[-1].ttype), 0);
- yyval.itype = stmt_count;
- if_stmt_file = yyvsp[-5].filename;
- if_stmt_line = yyvsp[-4].lineno;
- position_after_white_space (); ;
- break;}
- case 293:
- #line 1486 "c-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno);
- /* See comment in `while' alternative, above. */
- emit_nop ();
- expand_start_loop_continue_elsewhere (1);
- position_after_white_space (); ;
- break;}
- case 294:
- #line 1493 "c-parse.y"
- { expand_loop_continue_here (); ;
- break;}
- case 295:
- #line 1497 "c-parse.y"
- { yyval.filename = input_filename; ;
- break;}
- case 296:
- #line 1501 "c-parse.y"
- { yyval.lineno = lineno; ;
- break;}
- case 297:
- #line 1506 "c-parse.y"
- { ;
- break;}
- case 298:
- #line 1511 "c-parse.y"
- { ;
- break;}
- case 299:
- #line 1516 "c-parse.y"
- { ;
- break;}
- case 301:
- #line 1522 "c-parse.y"
- { int next;
- position_after_white_space ();
- next = getc (finput);
- ungetc (next, finput);
- if (pedantic && next == '}')
- pedwarn ("ANSI C forbids label at end of compound statement");
- ;
- break;}
- case 302:
- #line 1534 "c-parse.y"
- { stmt_count++; ;
- break;}
- case 304:
- #line 1537 "c-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
- /* It appears that this should not be done--that a non-lvalue array
- shouldn't get an error if the value isn't used.
- Section 3.2.2.1 says that an array lvalue gets converted to a pointer
- if it appears as a top-level expression,
- but says nothing about non-lvalue arrays. */
- #if 0
- /* Call default_conversion to get an error
- on referring to a register array if pedantic. */
- if (TREE_CODE (TREE_TYPE (yyvsp[-1].ttype)) == ARRAY_TYPE
- || TREE_CODE (TREE_TYPE (yyvsp[-1].ttype)) == FUNCTION_TYPE)
- yyvsp[-1].ttype = default_conversion (yyvsp[-1].ttype);
- #endif
- iterator_expand (yyvsp[-1].ttype);
- clear_momentary (); ;
- break;}
- case 305:
- #line 1554 "c-parse.y"
- { expand_start_else ();
- yyvsp[-1].itype = stmt_count;
- position_after_white_space (); ;
- break;}
- case 306:
- #line 1558 "c-parse.y"
- { expand_end_cond ();
- if (extra_warnings && stmt_count == yyvsp[-3].itype)
- warning ("empty body in an else-statement"); ;
- break;}
- case 307:
- #line 1562 "c-parse.y"
- { expand_end_cond ();
- /* This warning is here instead of in simple_if, because we
- do not want a warning if an empty if is followed by an
- else statement. Increment stmt_count so we don't
- give a second error if this is a nested `if'. */
- if (extra_warnings && stmt_count++ == yyvsp[0].itype)
- warning_with_file_and_line (if_stmt_file, if_stmt_line,
- "empty body in an if-statement"); ;
- break;}
- case 308:
- #line 1574 "c-parse.y"
- { expand_end_cond (); ;
- break;}
- case 309:
- #line 1576 "c-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-2].filename, yyvsp[-1].lineno);
- /* The emit_nop used to come before emit_line_note,
- but that made the nop seem like part of the preceding line.
- And that was confusing when the preceding line was
- inside of an if statement and was not really executed.
- I think it ought to work to put the nop after the line number.
- We will see. --rms, July 15, 1991. */
- emit_nop (); ;
- break;}
- case 310:
- #line 1586 "c-parse.y"
- { /* Don't start the loop till we have succeeded
- in parsing the end test. This is to make sure
- that we end every loop we start. */
- expand_start_loop (1);
- emit_line_note (input_filename, lineno);
- expand_exit_loop_if_false (NULL_PTR,
- truthvalue_conversion (yyvsp[-1].ttype));
- position_after_white_space (); ;
- break;}
- case 311:
- #line 1595 "c-parse.y"
- { expand_end_loop (); ;
- break;}
- case 312:
- #line 1598 "c-parse.y"
- { emit_line_note (input_filename, lineno);
- expand_exit_loop_if_false (NULL_PTR,
- truthvalue_conversion (yyvsp[-2].ttype));
- expand_end_loop ();
- clear_momentary (); ;
- break;}
- case 313:
- #line 1605 "c-parse.y"
- { expand_end_loop ();
- clear_momentary (); ;
- break;}
- case 314:
- #line 1609 "c-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
- /* See comment in `while' alternative, above. */
- emit_nop ();
- if (yyvsp[-1].ttype) c_expand_expr_stmt (yyvsp[-1].ttype);
- /* Next step is to call expand_start_loop_continue_elsewhere,
- but wait till after we parse the entire for (...).
- Otherwise, invalid input might cause us to call that
- fn without calling expand_end_loop. */
- ;
- break;}
- case 315:
- #line 1621 "c-parse.y"
- { yyvsp[0].lineno = lineno;
- yyval.filename = input_filename; ;
- break;}
- case 316:
- #line 1624 "c-parse.y"
- {
- /* Start the loop. Doing this after parsing
- all the expressions ensures we will end the loop. */
- expand_start_loop_continue_elsewhere (1);
- /* Emit the end-test, with a line number. */
- emit_line_note (yyvsp[-2].filename, yyvsp[-3].lineno);
- if (yyvsp[-4].ttype)
- expand_exit_loop_if_false (NULL_PTR,
- truthvalue_conversion (yyvsp[-4].ttype));
- /* Don't let the tree nodes for $9 be discarded by
- clear_momentary during the parsing of the next stmt. */
- push_momentary ();
- yyvsp[-3].lineno = lineno;
- yyvsp[-2].filename = input_filename;
- position_after_white_space (); ;
- break;}
- case 317:
- #line 1640 "c-parse.y"
- { /* Emit the increment expression, with a line number. */
- emit_line_note (yyvsp[-4].filename, yyvsp[-5].lineno);
- expand_loop_continue_here ();
- if (yyvsp[-3].ttype)
- c_expand_expr_stmt (yyvsp[-3].ttype);
- if (yychar == CONSTANT || yychar == STRING)
- pop_momentary_nofree ();
- else
- pop_momentary ();
- expand_end_loop (); ;
- break;}
- case 318:
- #line 1651 "c-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
- c_expand_start_case (yyvsp[-1].ttype);
- /* Don't let the tree nodes for $3 be discarded by
- clear_momentary during the parsing of the next stmt. */
- push_momentary ();
- position_after_white_space (); ;
- break;}
- case 319:
- #line 1659 "c-parse.y"
- { expand_end_case (yyvsp[-3].ttype);
- if (yychar == CONSTANT || yychar == STRING)
- pop_momentary_nofree ();
- else
- pop_momentary (); ;
- break;}
- case 320:
- #line 1665 "c-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
- if ( ! expand_exit_something ())
- error ("break statement not within loop or switch"); ;
- break;}
- case 321:
- #line 1670 "c-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
- if (! expand_continue_loop (NULL_PTR))
- error ("continue statement not within a loop"); ;
- break;}
- case 322:
- #line 1675 "c-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno);
- c_expand_return (NULL_TREE); ;
- break;}
- case 323:
- #line 1679 "c-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno);
- c_expand_return (yyvsp[-1].ttype); ;
- break;}
- case 324:
- #line 1683 "c-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-7].filename, yyvsp[-6].lineno);
- STRIP_NOPS (yyvsp[-2].ttype);
- if ((TREE_CODE (yyvsp[-2].ttype) == ADDR_EXPR
- && TREE_CODE (TREE_OPERAND (yyvsp[-2].ttype, 0)) == STRING_CST)
- || TREE_CODE (yyvsp[-2].ttype) == STRING_CST)
- expand_asm (yyvsp[-2].ttype);
- else
- error ("argument of `asm' is not a constant string"); ;
- break;}
- case 325:
- #line 1694 "c-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-9].filename, yyvsp[-8].lineno);
- c_expand_asm_operands (yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, NULL_TREE,
- yyvsp[-6].ttype == ridpointers[(int)RID_VOLATILE],
- input_filename, lineno); ;
- break;}
- case 326:
- #line 1701 "c-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-11].filename, yyvsp[-10].lineno);
- c_expand_asm_operands (yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE,
- yyvsp[-8].ttype == ridpointers[(int)RID_VOLATILE],
- input_filename, lineno); ;
- break;}
- case 327:
- #line 1709 "c-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-13].filename, yyvsp[-12].lineno);
- c_expand_asm_operands (yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype,
- yyvsp[-10].ttype == ridpointers[(int)RID_VOLATILE],
- input_filename, lineno); ;
- break;}
- case 328:
- #line 1715 "c-parse.y"
- { tree decl;
- stmt_count++;
- emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno);
- decl = lookup_label (yyvsp[-1].ttype);
- if (decl != 0)
- {
- TREE_USED (decl) = 1;
- expand_goto (decl);
- }
- ;
- break;}
- case 329:
- #line 1726 "c-parse.y"
- { stmt_count++;
- emit_line_note (yyvsp[-5].filename, yyvsp[-4].lineno);
- expand_computed_goto (convert (ptr_type_node, yyvsp[-1].ttype)); ;
- break;}
- case 332:
- #line 1739 "c-parse.y"
- {
- /* The value returned by this action is */
- /* 1 if everything is OK */
- /* 0 in case of error or already bound iterator */
-
- yyval.itype = 0;
- if (TREE_CODE (yyvsp[-1].ttype) != VAR_DECL)
- error ("invalid `for (ITERATOR)' syntax");
- else if (! ITERATOR_P (yyvsp[-1].ttype))
- error ("`%s' is not an iterator",
- IDENTIFIER_POINTER (DECL_NAME (yyvsp[-1].ttype)));
- else if (ITERATOR_BOUND_P (yyvsp[-1].ttype))
- error ("`for (%s)' inside expansion of same iterator",
- IDENTIFIER_POINTER (DECL_NAME (yyvsp[-1].ttype)));
- else
- {
- yyval.itype = 1;
- iterator_for_loop_start (yyvsp[-1].ttype);
- }
- ;
- break;}
- case 333:
- #line 1760 "c-parse.y"
- {
- if (yyvsp[-1].itype)
- iterator_for_loop_end (yyvsp[-3].ttype);
- ;
- break;}
- case 334:
- #line 1795 "c-parse.y"
- { register tree value = check_case_value (yyvsp[-1].ttype);
- register tree label
- = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE);
-
- stmt_count++;
-
- if (value != error_mark_node)
- {
- tree duplicate;
- int success = pushcase (value, convert_and_check,
- label, &duplicate);
- if (success == 1)
- error ("case label not within a switch statement");
- else if (success == 2)
- {
- error ("duplicate case value");
- error_with_decl (duplicate, "this is the first entry for that value");
- }
- else if (success == 3)
- warning ("case value out of range");
- else if (success == 5)
- error ("case label within scope of cleanup or variable array");
- }
- position_after_white_space (); ;
- break;}
- case 335:
- #line 1820 "c-parse.y"
- { register tree value1 = check_case_value (yyvsp[-3].ttype);
- register tree value2 = check_case_value (yyvsp[-1].ttype);
- register tree label
- = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE);
-
- stmt_count++;
-
- if (value1 != error_mark_node && value2 != error_mark_node)
- {
- tree duplicate;
- int success = pushcase_range (value1, value2,
- convert_and_check, label,
- &duplicate);
- if (success == 1)
- error ("case label not within a switch statement");
- else if (success == 2)
- {
- error ("duplicate case value");
- error_with_decl (duplicate, "this is the first entry for that value");
- }
- else if (success == 3)
- warning ("case value out of range");
- else if (success == 4)
- warning ("empty case range");
- else if (success == 5)
- error ("case label within scope of cleanup or variable array");
- }
- position_after_white_space (); ;
- break;}
- case 336:
- #line 1849 "c-parse.y"
- {
- tree duplicate;
- register tree label
- = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE);
- int success = pushcase (NULL_TREE, 0, label, &duplicate);
- stmt_count++;
- if (success == 1)
- error ("default label not within a switch statement");
- else if (success == 2)
- {
- error ("multiple default labels in one switch");
- error_with_decl (duplicate, "this is the first default label");
- }
- position_after_white_space (); ;
- break;}
- case 337:
- #line 1864 "c-parse.y"
- { tree label = define_label (input_filename, lineno, yyvsp[-1].ttype);
- stmt_count++;
- emit_nop ();
- if (label)
- expand_label (label);
- position_after_white_space (); ;
- break;}
- case 338:
- #line 1876 "c-parse.y"
- { emit_line_note (input_filename, lineno);
- yyval.ttype = NULL_TREE; ;
- break;}
- case 339:
- #line 1879 "c-parse.y"
- { emit_line_note (input_filename, lineno); ;
- break;}
- case 340:
- #line 1884 "c-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 342:
- #line 1891 "c-parse.y"
- { yyval.ttype = NULL_TREE; ;
- break;}
- case 345:
- #line 1898 "c-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;
- break;}
- case 346:
- #line 1903 "c-parse.y"
- { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
- break;}
- case 347:
- #line 1908 "c-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), NULL_TREE); ;
- break;}
- case 348:
- #line 1910 "c-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), yyvsp[-2].ttype); ;
- break;}
- case 349:
- #line 1916 "c-parse.y"
- { pushlevel (0);
- clear_parm_order ();
- declare_parm_level (0); ;
- break;}
- case 350:
- #line 1920 "c-parse.y"
- { yyval.ttype = yyvsp[0].ttype;
- parmlist_tags_warning ();
- poplevel (0, 0, 0); ;
- break;}
- case 352:
- #line 1928 "c-parse.y"
- { tree parm;
- if (pedantic)
- pedwarn ("ANSI C forbids forward parameter declarations");
- /* Mark the forward decls as such. */
- for (parm = getdecls (); parm; parm = TREE_CHAIN (parm))
- TREE_ASM_WRITTEN (parm) = 1;
- clear_parm_order (); ;
- break;}
- case 353:
- #line 1936 "c-parse.y"
- { yyval.ttype = yyvsp[0].ttype; ;
- break;}
- case 354:
- #line 1938 "c-parse.y"
- { yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ;
- break;}
- case 355:
- #line 1944 "c-parse.y"
- { yyval.ttype = get_parm_info (0); ;
- break;}
- case 356:
- #line 1946 "c-parse.y"
- { yyval.ttype = get_parm_info (0);
- /* Gcc used to allow this as an extension. However, it does
- not work for all targets, and thus has been disabled.
- Also, since func (...) and func () are indistinguishable,
- it caused problems with the code in expand_builtin which
- tries to verify that BUILT_IN_NEXT_ARG is being used
- correctly. */
- error ("ANSI C requires a named argument before `...'");
- ;
- break;}
- case 357:
- #line 1956 "c-parse.y"
- { yyval.ttype = get_parm_info (1); ;
- break;}
- case 358:
- #line 1958 "c-parse.y"
- { yyval.ttype = get_parm_info (0); ;
- break;}
- case 359:
- #line 1963 "c-parse.y"
- { push_parm_decl (yyvsp[0].ttype); ;
- break;}
- case 360:
- #line 1965 "c-parse.y"
- { push_parm_decl (yyvsp[0].ttype); ;
- break;}
- case 361:
- #line 1972 "c-parse.y"
- { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
- yyvsp[-1].ttype),
- build_tree_list (prefix_attributes,
- yyvsp[0].ttype));
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 362:
- #line 1981 "c-parse.y"
- { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
- yyvsp[-1].ttype),
- build_tree_list (prefix_attributes,
- yyvsp[0].ttype));
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 363:
- #line 1990 "c-parse.y"
- { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
- yyvsp[-1].ttype),
- build_tree_list (prefix_attributes,
- yyvsp[0].ttype));
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 364:
- #line 1999 "c-parse.y"
- { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
- yyvsp[-1].ttype),
- build_tree_list (prefix_attributes,
- yyvsp[0].ttype));
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 365:
- #line 2009 "c-parse.y"
- { yyval.ttype = build_tree_list (build_tree_list (current_declspecs,
- yyvsp[-1].ttype),
- build_tree_list (prefix_attributes,
- yyvsp[0].ttype));
- current_declspecs = TREE_VALUE (declspec_stack);
- prefix_attributes = TREE_PURPOSE (declspec_stack);
- declspec_stack = TREE_CHAIN (declspec_stack);
- resume_momentary (yyvsp[-2].itype); ;
- break;}
- case 366:
- #line 2023 "c-parse.y"
- { pushlevel (0);
- clear_parm_order ();
- declare_parm_level (1); ;
- break;}
- case 367:
- #line 2027 "c-parse.y"
- { yyval.ttype = yyvsp[0].ttype;
- parmlist_tags_warning ();
- poplevel (0, 0, 0); ;
- break;}
- case 369:
- #line 2035 "c-parse.y"
- { tree t;
- for (t = yyvsp[-1].ttype; t; t = TREE_CHAIN (t))
- if (TREE_VALUE (t) == NULL_TREE)
- error ("`...' in old-style identifier list");
- yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, yyvsp[-1].ttype); ;
- break;}
- case 370:
- #line 2045 "c-parse.y"
- { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
- break;}
- case 371:
- #line 2047 "c-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
- break;}
- case 372:
- #line 2053 "c-parse.y"
- { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;
- break;}
- case 373:
- #line 2055 "c-parse.y"
- { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;
- break;}
- }
- /* the action file gets copied in in place of this dollarsign */
- #line 480 "/usr/local/lib/bison.simple"
-
- yyvsp -= yylen;
- yyssp -= yylen;
- #ifdef YYLSP_NEEDED
- yylsp -= yylen;
- #endif
-
- #if YYDEBUG != 0
- if (yydebug)
- {
- short *ssp1 = yyss - 1;
- fprintf (stderr, "state stack now");
- while (ssp1 != yyssp)
- fprintf (stderr, " %d", *++ssp1);
- fprintf (stderr, "\n");
- }
- #endif
-
- *++yyvsp = yyval;
-
- #ifdef YYLSP_NEEDED
- yylsp++;
- if (yylen == 0)
- {
- yylsp->first_line = yylloc.first_line;
- yylsp->first_column = yylloc.first_column;
- yylsp->last_line = (yylsp-1)->last_line;
- yylsp->last_column = (yylsp-1)->last_column;
- yylsp->text = 0;
- }
- else
- {
- yylsp->last_line = (yylsp+yylen-1)->last_line;
- yylsp->last_column = (yylsp+yylen-1)->last_column;
- }
- #endif
-
- /* Now "shift" the result of the reduction.
- Determine what state that goes to,
- based on the state we popped back to
- and the rule number reduced by. */
-
- yyn = yyr1[yyn];
-
- yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
- if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
- yystate = yytable[yystate];
- else
- yystate = yydefgoto[yyn - YYNTBASE];
-
- goto yynewstate;
-
- yyerrlab: /* here on detecting error */
-
- if (! yyerrstatus)
- /* If not already recovering from an error, report this error. */
- {
- ++yynerrs;
-
- #ifdef YYERROR_VERBOSE
- yyn = yypact[yystate];
-
- if (yyn > YYFLAG && yyn < YYLAST)
- {
- int size = 0;
- char *msg;
- int x, count;
-
- count = 0;
- /* Start X at -yyn if nec to avoid negative indexes in yycheck. */
- for (x = (yyn < 0 ? -yyn : 0);
- x < (sizeof(yytname) / sizeof(char *)); x++)
- if (yycheck[x + yyn] == x)
- size += strlen(yytname[x]) + 15, count++;
- msg = (char *) malloc(size + 15);
- if (msg != 0)
- {
- strcpy(msg, "parse error");
-
- if (count < 5)
- {
- count = 0;
- for (x = (yyn < 0 ? -yyn : 0);
- x < (sizeof(yytname) / sizeof(char *)); x++)
- if (yycheck[x + yyn] == x)
- {
- strcat(msg, count == 0 ? ", expecting `" : " or `");
- strcat(msg, yytname[x]);
- strcat(msg, "'");
- count++;
- }
- }
- yyerror(msg);
- free(msg);
- }
- else
- yyerror ("parse error; also virtual memory exceeded");
- }
- else
- #endif /* YYERROR_VERBOSE */
- yyerror("parse error");
- }
-
- goto yyerrlab1;
- yyerrlab1: /* here on error raised explicitly by an action */
-
- if (yyerrstatus == 3)
- {
- /* if just tried and failed to reuse lookahead token after an error, discard it. */
-
- /* return failure if at end of input */
- if (yychar == YYEOF)
- YYABORT;
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
- #endif
-
- yychar = YYEMPTY;
- }
-
- /* Else will try to reuse lookahead token
- after shifting the error token. */
-
- yyerrstatus = 3; /* Each real token shifted decrements this */
-
- goto yyerrhandle;
-
- yyerrdefault: /* current state does not do anything special for the error token. */
-
- #if 0
- /* This is wrong; only states that explicitly want error tokens
- should shift them. */
- yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/
- if (yyn) goto yydefault;
- #endif
-
- yyerrpop: /* pop the current state because it cannot handle the error token */
-
- if (yyssp == yyss) YYABORT;
- yyvsp--;
- yystate = *--yyssp;
- #ifdef YYLSP_NEEDED
- yylsp--;
- #endif
-
- #if YYDEBUG != 0
- if (yydebug)
- {
- short *ssp1 = yyss - 1;
- fprintf (stderr, "Error: state stack now");
- while (ssp1 != yyssp)
- fprintf (stderr, " %d", *++ssp1);
- fprintf (stderr, "\n");
- }
- #endif
-
- yyerrhandle:
-
- yyn = yypact[yystate];
- if (yyn == YYFLAG)
- goto yyerrdefault;
-
- yyn += YYTERROR;
- if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
- goto yyerrdefault;
-
- yyn = yytable[yyn];
- if (yyn < 0)
- {
- if (yyn == YYFLAG)
- goto yyerrpop;
- yyn = -yyn;
- goto yyreduce;
- }
- else if (yyn == 0)
- goto yyerrpop;
-
- if (yyn == YYFINAL)
- YYACCEPT;
-
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Shifting error token, ");
- #endif
-
- *++yyvsp = yylval;
- #ifdef YYLSP_NEEDED
- *++yylsp = yylloc;
- #endif
-
- yystate = yyn;
- goto yynewstate;
- }
- #line 2058 "c-parse.y"
-
-