diff options
Diffstat (limited to 'gnu/usr.bin/cc/cc1/c-parse.c')
-rw-r--r-- | gnu/usr.bin/cc/cc1/c-parse.c | 3530 |
1 files changed, 3530 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc1/c-parse.c b/gnu/usr.bin/cc/cc1/c-parse.c new file mode 100644 index 0000000..5120144 --- /dev/null +++ b/gnu/usr.bin/cc/cc1/c-parse.c @@ -0,0 +1,3530 @@ + +/* 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 ALIGN 285 +#define ATTRIBUTE 286 +#define EXTENSION 287 +#define LABEL 288 +#define REALPART 289 +#define IMAGPART 290 +#define ASSIGN 291 +#define OROR 292 +#define ANDAND 293 +#define EQCOMPARE 294 +#define ARITHCOMPARE 295 +#define LSHIFT 296 +#define RSHIFT 297 +#define UNARY 298 +#define PLUSPLUS 299 +#define MINUSMINUS 300 +#define HYPERUNARY 301 +#define POINTSAT 302 +#define INTERFACE 303 +#define IMPLEMENTATION 304 +#define END 305 +#define SELECTOR 306 +#define DEFS 307 +#define ENCODE 308 +#define CLASSNAME 309 +#define PUBLIC 310 +#define PRIVATE 311 +#define PROTECTED 312 +#define PROTOCOL 313 +#define OBJECTNAME 314 +#define CLASS 315 +#define ALIAS 316 +#define OBJC_STRING 317 + +#line 45 "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 82 "c-parse.y" +typedef union {long itype; tree ttype; enum tree_code code; + char *filename; int lineno; } YYSTYPE; +#line 194 "c-parse.y" + +/* Number of statements (loosely speaking) seen so far. */ +static int stmt_count; + +/* Input file and line number of the end of the body of last simple_if; + used by the stmt-rule immediately after simple_if returns. */ +static char *if_stmt_file; +static int if_stmt_line; + +/* List of types and structure classes of the current declaration. */ +static tree current_declspecs; + +/* Stack of saved values of current_declspecs. */ +static tree declspec_stack; + +/* 1 if we explained undeclared var errors. */ +static int undeclared_variable_notice; + + +/* Tell yyparse how to print a token's value, if yydebug is set. */ + +#define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL) +extern void yyprint (); + +#ifndef YYLTYPE +typedef + struct yyltype + { + int timestamp; + int first_line; + int first_column; + int last_line; + int last_column; + char *text; + } + yyltype; + +#define YYLTYPE yyltype +#endif + +#include <stdio.h> + +#ifndef __cplusplus +#ifndef __STDC__ +#define const +#endif +#endif + + + +#define YYFINAL 626 +#define YYFLAG -32768 +#define YYNTBASE 85 + +#define YYTRANSLATE(x) ((unsigned)(x) <= 317 ? yytranslate[x] : 225) + +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, 81, 2, 2, 2, 53, 44, 2, 60, + 77, 51, 49, 82, 50, 59, 52, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 39, 78, 2, + 37, 2, 38, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 61, 2, 84, 43, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 83, 42, 79, 80, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 1, 2, 3, 4, 5, + 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, + 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, + 36, 40, 41, 45, 46, 47, 48, 54, 55, 56, + 57, 58, 62, 63, 64, 65, 66, 67, 68, 69, + 70, 71, 72, 73, 74, 75, 76 +}; + +#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, 353, 358, 362, 366, 369, 372, 375, 379, 380, + 383, 386, 388, 390, 393, 396, 399, 403, 404, 407, + 409, 411, 413, 418, 423, 425, 427, 429, 431, 435, + 437, 441, 442, 447, 448, 455, 459, 460, 467, 471, + 472, 474, 476, 479, 486, 488, 492, 493, 495, 500, + 507, 512, 514, 516, 518, 520, 522, 523, 528, 530, + 531, 534, 536, 540, 542, 543, 548, 550, 551, 560, + 561, 568, 569, 575, 576, 581, 582, 588, 589, 593, + 594, 598, 600, 602, 606, 610, 615, 619, 623, 625, + 629, 634, 638, 642, 644, 648, 652, 656, 661, 665, + 667, 668, 675, 680, 683, 684, 691, 696, 699, 700, + 708, 709, 716, 719, 720, 722, 723, 725, 727, 730, + 731, 735, 738, 742, 744, 748, 750, 752, 754, 758, + 763, 770, 776, 778, 782, 784, 786, 790, 793, 796, + 797, 799, 801, 804, 805, 808, 812, 816, 819, 823, + 828, 832, 835, 839, 842, 844, 847, 850, 851, 853, + 856, 857, 858, 860, 862, 865, 869, 871, 874, 877, + 884, 890, 896, 899, 902, 907, 908, 913, 914, 915, + 919, 924, 928, 930, 932, 934, 936, 939, 940, 945, + 947, 951, 952, 953, 961, 967, 970, 971, 972, 973, + 986, 987, 994, 997, 1000, 1003, 1007, 1014, 1023, 1034, + 1047, 1051, 1056, 1058, 1060, 1061, 1068, 1072, 1078, 1081, + 1084, 1085, 1087, 1088, 1090, 1091, 1093, 1095, 1099, 1104, + 1106, 1110, 1111, 1114, 1117, 1118, 1123, 1126, 1127, 1129, + 1131, 1135, 1137, 1141, 1144, 1147, 1150, 1153, 1156, 1157, + 1160, 1162, 1165, 1167, 1171, 1173 +}; + +static const short yyrhs[] = { -1, + 86, 0, 0, 87, 89, 0, 0, 86, 88, 89, + 0, 91, 0, 90, 0, 27, 60, 100, 77, 78, + 0, 117, 127, 78, 0, 121, 117, 127, 78, 0, + 119, 117, 126, 78, 0, 121, 78, 0, 119, 78, + 0, 1, 78, 0, 1, 79, 0, 78, 0, 0, + 0, 119, 117, 154, 92, 111, 93, 184, 0, 119, + 117, 154, 1, 0, 0, 0, 121, 117, 157, 94, + 111, 95, 184, 0, 121, 117, 157, 1, 0, 0, + 0, 117, 157, 96, 111, 97, 184, 0, 117, 157, + 1, 0, 3, 0, 4, 0, 44, 0, 50, 0, + 49, 0, 55, 0, 56, 0, 80, 0, 81, 0, + 102, 0, 0, 102, 0, 107, 0, 102, 82, 107, + 0, 108, 0, 51, 105, 0, 0, 32, 104, 105, + 0, 99, 105, 0, 41, 98, 0, 11, 103, 0, + 11, 60, 172, 77, 0, 29, 103, 0, 29, 60, + 172, 77, 0, 34, 105, 0, 35, 105, 0, 103, + 0, 60, 172, 77, 105, 0, 0, 60, 172, 77, + 83, 106, 141, 79, 0, 105, 0, 107, 49, 107, + 0, 107, 50, 107, 0, 107, 51, 107, 0, 107, + 52, 107, 0, 107, 53, 107, 0, 107, 47, 107, + 0, 107, 48, 107, 0, 107, 46, 107, 0, 107, + 45, 107, 0, 107, 44, 107, 0, 107, 42, 107, + 0, 107, 43, 107, 0, 107, 41, 107, 0, 107, + 40, 107, 0, 107, 38, 208, 39, 107, 0, 107, + 37, 107, 0, 107, 36, 107, 0, 3, 0, 8, + 0, 110, 0, 60, 100, 77, 0, 60, 1, 77, + 0, 0, 60, 109, 185, 77, 0, 108, 60, 101, + 77, 0, 108, 61, 100, 84, 0, 108, 59, 98, + 0, 108, 58, 98, 0, 108, 55, 0, 108, 56, + 0, 9, 0, 110, 9, 0, 0, 113, 0, 113, + 10, 0, 190, 191, 114, 0, 112, 0, 179, 0, + 113, 112, 0, 112, 179, 0, 119, 117, 126, 78, + 0, 121, 117, 127, 78, 0, 119, 78, 0, 121, + 78, 0, 190, 191, 118, 0, 115, 0, 179, 0, + 116, 115, 0, 115, 179, 0, 0, 119, 117, 126, + 78, 0, 121, 117, 127, 78, 0, 119, 117, 150, + 0, 121, 117, 152, 0, 119, 78, 0, 121, 78, + 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, 174, 124, + 123, 0, 0, 123, 125, 0, 6, 0, 158, 0, + 4, 0, 28, 60, 100, 77, 0, 28, 60, 172, + 77, 0, 6, 0, 7, 0, 158, 0, 129, 0, + 126, 82, 129, 0, 131, 0, 127, 82, 129, 0, + 0, 27, 60, 110, 77, 0, 0, 154, 128, 133, + 37, 130, 139, 0, 154, 128, 133, 0, 0, 157, + 128, 133, 37, 132, 139, 0, 157, 128, 133, 0, + 0, 134, 0, 135, 0, 134, 135, 0, 31, 60, + 60, 136, 77, 77, 0, 137, 0, 136, 82, 137, + 0, 0, 138, 0, 138, 60, 3, 77, 0, 138, + 60, 3, 82, 102, 77, 0, 138, 60, 102, 77, + 0, 98, 0, 5, 0, 6, 0, 7, 0, 107, + 0, 0, 83, 140, 141, 79, 0, 1, 0, 0, + 142, 163, 0, 143, 0, 142, 82, 143, 0, 107, + 0, 0, 83, 144, 141, 79, 0, 1, 0, 0, + 61, 107, 10, 107, 84, 37, 145, 143, 0, 0, + 61, 107, 84, 37, 146, 143, 0, 0, 61, 107, + 84, 147, 143, 0, 0, 98, 39, 148, 143, 0, + 0, 59, 98, 37, 149, 143, 0, 0, 154, 151, + 185, 0, 0, 157, 153, 185, 0, 155, 0, 157, + 0, 60, 155, 77, 0, 155, 60, 220, 0, 155, + 61, 100, 84, 0, 155, 61, 84, 0, 51, 175, + 155, 0, 4, 0, 156, 60, 220, 0, 156, 61, + 100, 84, 0, 156, 61, 84, 0, 51, 175, 156, + 0, 4, 0, 157, 60, 220, 0, 60, 157, 77, + 0, 51, 175, 157, 0, 157, 61, 100, 84, 0, + 157, 61, 84, 0, 3, 0, 0, 13, 98, 83, + 159, 165, 79, 0, 13, 83, 165, 79, 0, 13, + 98, 0, 0, 14, 98, 83, 160, 165, 79, 0, + 14, 83, 165, 79, 0, 14, 98, 0, 0, 12, + 98, 83, 161, 170, 164, 79, 0, 0, 12, 83, + 162, 170, 164, 79, 0, 12, 98, 0, 0, 82, + 0, 0, 82, 0, 166, 0, 166, 167, 0, 0, + 166, 167, 78, 0, 166, 78, 0, 122, 117, 168, + 0, 122, 0, 174, 117, 168, 0, 174, 0, 1, + 0, 169, 0, 168, 82, 169, 0, 190, 191, 154, + 133, 0, 190, 191, 154, 39, 107, 133, 0, 190, + 191, 39, 107, 133, 0, 171, 0, 170, 82, 171, + 0, 1, 0, 98, 0, 98, 37, 107, 0, 122, + 173, 0, 174, 173, 0, 0, 176, 0, 7, 0, + 174, 7, 0, 0, 175, 7, 0, 60, 176, 77, + 0, 51, 175, 176, 0, 51, 175, 0, 176, 60, + 213, 0, 176, 61, 100, 84, 0, 176, 61, 84, + 0, 60, 213, 0, 61, 100, 84, 0, 61, 84, + 0, 193, 0, 177, 193, 0, 177, 179, 0, 0, + 177, 0, 1, 78, 0, 0, 0, 182, 0, 183, + 0, 182, 183, 0, 33, 224, 78, 0, 185, 0, + 1, 185, 0, 83, 79, 0, 83, 180, 181, 116, + 178, 79, 0, 83, 180, 181, 1, 79, 0, 83, + 180, 181, 177, 79, 0, 187, 192, 0, 187, 1, + 0, 15, 60, 100, 77, 0, 0, 18, 189, 192, + 17, 0, 0, 0, 190, 191, 195, 0, 190, 191, + 206, 192, 0, 190, 191, 194, 0, 195, 0, 206, + 0, 185, 0, 203, 0, 100, 78, 0, 0, 186, + 16, 196, 192, 0, 186, 0, 186, 16, 1, 0, + 0, 0, 17, 197, 60, 100, 77, 198, 192, 0, + 188, 60, 100, 77, 78, 0, 188, 1, 0, 0, + 0, 0, 19, 60, 208, 78, 199, 208, 78, 200, + 208, 77, 201, 192, 0, 0, 20, 60, 100, 77, + 202, 192, 0, 23, 78, 0, 24, 78, 0, 25, + 78, 0, 25, 100, 78, 0, 27, 207, 60, 100, + 77, 78, 0, 27, 207, 60, 100, 39, 209, 77, + 78, 0, 27, 207, 60, 100, 39, 209, 39, 209, + 77, 78, 0, 27, 207, 60, 100, 39, 209, 39, + 209, 39, 212, 77, 78, 0, 26, 98, 78, 0, + 26, 51, 100, 78, 0, 78, 0, 204, 0, 0, + 19, 60, 108, 77, 205, 192, 0, 21, 107, 39, + 0, 21, 107, 10, 107, 39, 0, 22, 39, 0, + 98, 39, 0, 0, 7, 0, 0, 100, 0, 0, + 210, 0, 211, 0, 210, 82, 211, 0, 9, 60, + 100, 77, 0, 110, 0, 212, 82, 110, 0, 0, + 214, 215, 0, 217, 77, 0, 0, 218, 78, 216, + 215, 0, 1, 77, 0, 0, 10, 0, 218, 0, + 218, 82, 10, 0, 219, 0, 218, 82, 219, 0, + 119, 156, 0, 119, 157, 0, 119, 173, 0, 121, + 157, 0, 121, 173, 0, 0, 221, 222, 0, 215, + 0, 223, 77, 0, 3, 0, 223, 82, 3, 0, + 98, 0, 224, 82, 98, 0 +}; + +#endif + +#if YYDEBUG != 0 +static const short yyrline[] = { 0, + 220, 224, 237, 239, 239, 240, 242, 244, 245, 255, + 261, 263, 265, 267, 269, 270, 271, 276, 282, 284, + 285, 287, 292, 294, 295, 297, 302, 304, 305, 309, + 311, 314, 316, 318, 320, 322, 324, 326, 330, 334, + 337, 340, 343, 347, 349, 352, 355, 358, 362, 388, + 393, 395, 397, 399, 401, 405, 407, 410, 414, 441, + 443, 445, 447, 449, 451, 453, 455, 457, 459, 461, + 463, 465, 467, 469, 471, 473, 476, 482, 581, 582, + 584, 590, 592, 606, 629, 631, 633, 637, 643, 645, + 650, 652, 657, 659, 660, 670, 675, 677, 678, 679, + 682, 687, 691, 694, 702, 707, 709, 710, 711, 718, + 726, 731, 735, 739, 743, 745, 753, 756, 760, 762, + 764, 775, 779, 781, 784, 797, 800, 804, 806, 814, + 815, 816, 820, 822, 828, 829, 830, 833, 835, 838, + 840, 843, 846, 852, 859, 862, 868, 875, 878, 885, + 888, 892, 895, 899, 904, 907, 911, 914, 916, 919, + 922, 929, 931, 932, 933, 938, 940, 945, 953, 958, + 962, 965, 967, 972, 975, 977, 979, 983, 986, 986, + 989, 989, 992, 992, 995, 995, 998, 1000, 1017, 1021, + 1038, 1045, 1047, 1052, 1055, 1060, 1062, 1064, 1066, 1074, + 1080, 1082, 1084, 1086, 1092, 1098, 1100, 1102, 1104, 1106, + 1109, 1114, 1118, 1121, 1123, 1125, 1127, 1130, 1132, 1135, + 1138, 1141, 1144, 1148, 1150, 1153, 1155, 1159, 1162, 1167, + 1169, 1171, 1185, 1191, 1196, 1201, 1206, 1210, 1212, 1216, + 1220, 1224, 1234, 1236, 1238, 1243, 1246, 1250, 1253, 1257, + 1260, 1263, 1266, 1270, 1273, 1277, 1281, 1283, 1285, 1287, + 1289, 1291, 1293, 1295, 1303, 1305, 1306, 1309, 1311, 1314, + 1317, 1328, 1330, 1335, 1337, 1340, 1354, 1357, 1360, 1362, + 1370, 1378, 1389, 1394, 1397, 1410, 1418, 1422, 1426, 1430, + 1436, 1440, 1445, 1447, 1458, 1461, 1462, 1479, 1484, 1487, + 1499, 1501, 1511, 1521, 1522, 1530, 1533, 1545, 1549, 1566, + 1576, 1585, 1590, 1595, 1600, 1604, 1608, 1619, 1626, 1633, + 1640, 1651, 1655, 1658, 1663, 1686, 1720, 1745, 1774, 1789, + 1800, 1804, 1808, 1811, 1816, 1818, 1821, 1823, 1827, 1832, + 1835, 1841, 1846, 1851, 1853, 1862, 1863, 1869, 1871, 1876, + 1878, 1882, 1885, 1891, 1894, 1896, 1898, 1900, 1907, 1912, + 1917, 1919, 1928, 1931, 1936, 1939 +}; + +static const char * const yytname[] = { "$","error","$illegal.","IDENTIFIER", +"TYPENAME","SCSPEC","TYPESPEC","TYPE_QUAL","CONSTANT","STRING","ELLIPSIS","SIZEOF", +"ENUM","STRUCT","UNION","IF","ELSE","WHILE","DO","FOR","SWITCH","CASE","DEFAULT", +"BREAK","CONTINUE","RETURN","GOTO","ASM_KEYWORD","TYPEOF","ALIGNOF","ALIGN", +"ATTRIBUTE","EXTENSION","LABEL","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","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","notype_nested_function","@22","declarator", +"after_type_declarator","parm_declarator","notype_declarator","structsp","@23", +"@24","@25","@26","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","@27","save_filename","save_lineno", +"lineno_labeled_stmt","lineno_stmt_or_label","stmt_or_label","stmt","@28","@29", +"@30","@31","@32","@33","@34","all_iter_stmt","all_iter_stmt_simple","@35","label", +"maybe_type_qual","xexpr","asm_operands","nonnull_asm_operands","asm_operand", +"asm_clobbers","parmlist","@36","parmlist_1","@37","parmlist_2","parms","parm", +"parmlist_or_identifiers","@38","parmlist_or_identifiers_1","identifiers","identifiers_or_typenames", +"" +}; +#endif + +static const short yyr1[] = { 0, + 85, 85, 87, 86, 88, 86, 89, 89, 89, 90, + 90, 90, 90, 90, 90, 90, 90, 92, 93, 91, + 91, 94, 95, 91, 91, 96, 97, 91, 91, 98, + 98, 99, 99, 99, 99, 99, 99, 99, 100, 101, + 101, 102, 102, 103, 103, 104, 103, 103, 103, 103, + 103, 103, 103, 103, 103, 105, 105, 106, 105, 107, + 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, + 107, 107, 107, 107, 107, 107, 107, 108, 108, 108, + 108, 108, 109, 108, 108, 108, 108, 108, 108, 108, + 110, 110, 111, 111, 111, 112, 113, 113, 113, 113, + 114, 114, 114, 114, 115, 116, 116, 116, 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, 150, 153, + 152, 154, 154, 155, 155, 155, 155, 155, 155, 156, + 156, 156, 156, 156, 157, 157, 157, 157, 157, 157, + 159, 158, 158, 158, 160, 158, 158, 158, 161, 158, + 162, 158, 158, 163, 163, 164, 164, 165, 165, 166, + 166, 166, 167, 167, 167, 167, 167, 168, 168, 169, + 169, 169, 170, 170, 170, 171, 171, 172, 172, 173, + 173, 174, 174, 175, 175, 176, 176, 176, 176, 176, + 176, 176, 176, 176, 177, 177, 177, 178, 178, 179, + 180, 181, 181, 182, 182, 183, 184, 184, 185, 185, + 185, 185, 186, 186, 187, 189, 188, 190, 191, 192, + 192, 193, 194, 194, 195, 195, 195, 196, 195, 195, + 195, 197, 198, 195, 195, 195, 199, 200, 201, 195, + 202, 195, 195, 195, 195, 195, 195, 195, 195, 195, + 195, 195, 195, 203, 205, 204, 206, 206, 206, 206, + 207, 207, 208, 208, 209, 209, 210, 210, 211, 212, + 212, 214, 213, 215, 216, 215, 215, 217, 217, 217, + 217, 218, 218, 219, 219, 219, 219, 219, 221, 220, + 222, 222, 223, 223, 224, 224 +}; + +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, + 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, 3, 0, + 3, 1, 1, 3, 3, 4, 3, 3, 1, 3, + 4, 3, 3, 1, 3, 3, 3, 4, 3, 1, + 0, 6, 4, 2, 0, 6, 4, 2, 0, 7, + 0, 6, 2, 0, 1, 0, 1, 1, 2, 0, + 3, 2, 3, 1, 3, 1, 1, 1, 3, 4, + 6, 5, 1, 3, 1, 1, 3, 2, 2, 0, + 1, 1, 2, 0, 2, 3, 3, 2, 3, 4, + 3, 2, 3, 2, 1, 2, 2, 0, 1, 2, + 0, 0, 1, 1, 2, 3, 1, 2, 2, 6, + 5, 5, 2, 2, 4, 0, 4, 0, 0, 3, + 4, 3, 1, 1, 1, 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, 2, 2, 2, 2, 2, 0, 2, + 1, 2, 1, 3, 1, 3 +}; + +static const short yydefact[] = { 3, + 5, 0, 0, 0, 132, 123, 130, 122, 0, 0, + 0, 0, 0, 17, 4, 8, 7, 0, 110, 110, + 119, 131, 6, 15, 16, 30, 31, 221, 223, 230, + 214, 230, 218, 0, 0, 210, 254, 0, 0, 140, + 0, 14, 0, 125, 124, 13, 0, 119, 117, 0, + 219, 0, 0, 211, 0, 215, 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, 252, 0, 250, 128, 0, 250, 0, 0, + 10, 0, 29, 0, 359, 0, 0, 150, 199, 254, + 0, 0, 138, 0, 192, 193, 0, 0, 118, 121, + 135, 136, 120, 137, 245, 246, 226, 243, 0, 213, + 237, 232, 110, 229, 110, 230, 217, 230, 0, 50, + 0, 52, 0, 54, 55, 49, 45, 0, 0, 0, + 0, 48, 0, 0, 0, 0, 333, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 89, 90, 0, 0, 40, 0, 92, 133, 254, + 342, 0, 248, 251, 126, 134, 253, 128, 249, 255, + 207, 206, 141, 142, 0, 205, 0, 209, 0, 0, + 27, 0, 288, 98, 289, 0, 149, 151, 152, 0, + 0, 12, 0, 21, 0, 150, 359, 0, 11, 25, + 0, 0, 227, 0, 226, 288, 231, 288, 0, 0, + 0, 0, 47, 82, 81, 271, 0, 0, 9, 43, + 77, 76, 334, 0, 74, 73, 71, 72, 70, 69, + 68, 66, 67, 61, 62, 63, 64, 65, 88, 87, + 0, 41, 0, 258, 0, 262, 0, 264, 0, 342, + 0, 129, 127, 0, 0, 363, 349, 250, 250, 361, + 0, 350, 352, 360, 0, 208, 270, 0, 100, 95, + 99, 0, 0, 147, 153, 198, 194, 139, 19, 146, + 195, 197, 0, 23, 247, 244, 222, 0, 233, 238, + 289, 235, 212, 216, 51, 53, 279, 272, 84, 58, + 57, 0, 85, 86, 257, 256, 343, 263, 259, 261, + 0, 143, 347, 204, 254, 342, 354, 355, 356, 254, + 357, 358, 344, 345, 0, 362, 0, 0, 28, 277, + 96, 110, 110, 157, 0, 0, 144, 196, 0, 220, + 288, 0, 0, 0, 273, 274, 0, 75, 260, 258, + 359, 0, 258, 0, 351, 353, 364, 278, 103, 0, + 104, 0, 163, 164, 165, 162, 0, 155, 158, 169, + 167, 166, 148, 20, 0, 24, 239, 0, 150, 365, + 0, 0, 0, 288, 0, 107, 289, 265, 275, 177, + 78, 0, 0, 175, 0, 174, 0, 224, 172, 203, + 200, 202, 0, 346, 0, 0, 142, 0, 157, 0, + 0, 145, 150, 0, 240, 276, 0, 281, 109, 108, + 0, 0, 282, 267, 289, 266, 0, 0, 0, 0, + 184, 59, 0, 171, 201, 101, 102, 154, 156, 78, + 0, 0, 242, 150, 366, 280, 0, 132, 0, 302, + 286, 0, 0, 0, 0, 0, 0, 0, 0, 331, + 323, 0, 0, 105, 110, 110, 295, 300, 0, 0, + 292, 293, 296, 324, 294, 186, 0, 182, 0, 0, + 173, 159, 0, 161, 168, 241, 0, 0, 288, 333, + 0, 0, 329, 313, 314, 315, 0, 0, 0, 332, + 0, 330, 297, 115, 0, 116, 0, 0, 284, 289, + 283, 306, 0, 0, 0, 180, 0, 176, 185, 0, + 0, 0, 0, 44, 0, 0, 0, 327, 316, 0, + 321, 0, 0, 113, 142, 0, 114, 142, 301, 288, + 0, 0, 187, 0, 0, 183, 160, 285, 0, 287, + 325, 307, 311, 0, 322, 0, 111, 0, 112, 0, + 299, 290, 288, 0, 178, 181, 303, 288, 333, 288, + 328, 335, 0, 189, 191, 291, 305, 0, 288, 326, + 0, 312, 0, 0, 336, 337, 317, 179, 304, 308, + 0, 335, 0, 0, 333, 0, 0, 318, 338, 0, + 339, 0, 0, 309, 340, 0, 319, 288, 0, 0, + 310, 320, 341, 0, 0, 0 +}; + +static const short yydefgoto[] = { 624, + 1, 2, 3, 15, 16, 17, 205, 346, 211, 349, + 97, 278, 405, 75, 233, 251, 77, 78, 133, 79, + 357, 80, 81, 140, 82, 191, 192, 193, 341, 393, + 394, 18, 474, 268, 49, 269, 85, 175, 21, 113, + 102, 39, 98, 103, 385, 40, 345, 197, 198, 199, + 377, 378, 379, 383, 421, 407, 408, 409, 440, 588, + 555, 527, 490, 524, 544, 568, 547, 570, 184, 105, + 327, 106, 22, 126, 128, 119, 50, 444, 214, 52, + 53, 124, 299, 300, 117, 118, 87, 173, 88, 89, + 174, 395, 432, 194, 308, 354, 355, 356, 339, 340, + 478, 479, 480, 499, 520, 282, 521, 398, 481, 482, + 550, 498, 589, 579, 605, 618, 580, 483, 484, 578, + 485, 511, 234, 594, 595, 596, 616, 256, 257, 270, + 364, 271, 272, 273, 186, 187, 274, 275, 391 +}; + +static const short yypact[] = { 61, + 79, 401, 401, 192,-32768,-32768,-32768,-32768, 56, 63, + 67, 3, 36,-32768,-32768,-32768,-32768, 96, 20, 488, +-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 40,-32768, + 66,-32768, 76, 1775, 1691,-32768,-32768, 96, 156,-32768, + 762,-32768, 69,-32768,-32768,-32768, 96,-32768, 404, 393, +-32768, 109, 293,-32768, 111,-32768,-32768,-32768,-32768, 1788, + 1838,-32768, 1775, 1775, 330,-32768,-32768,-32768, 1775,-32768, +-32768, 528,-32768,-32768, 1775, 98, 118,-32768,-32768, 1983, + 451, 193,-32768, 134, 172,-32768, 141, 1050, 258, 4, +-32768, 69,-32768, 165,-32768, 1317, 236, 204,-32768,-32768, + 69, 191,-32768, 362, 331, 361, 232, 924, 404,-32768, +-32768,-32768,-32768,-32768,-32768, 210, 162,-32768, 393,-32768, +-32768,-32768, 360, 182, 1005,-32768,-32768,-32768, 528,-32768, + 528,-32768, 1775,-32768,-32768,-32768,-32768, 180, 200, 219, + 216,-32768, 233, 1775, 1775, 1775, 1775, 1775, 1775, 1775, + 1775, 1775, 1775, 1775, 1775, 1775, 1775, 1775, 1775, 1775, + 1775,-32768,-32768, 330, 330, 1775, 1775,-32768,-32768,-32768, + 172, 1330,-32768, 388, 419,-32768,-32768,-32768,-32768,-32768, + 361,-32768,-32768, 314, 311,-32768, 586,-32768, 264, 292, +-32768, 179, 44,-32768,-32768, 322, 363, 204,-32768, 194, + 33,-32768, 69,-32768, 236, 204,-32768, 1384,-32768,-32768, + 236, 1775, 330, 319, 162,-32768,-32768,-32768, 340, 345, + 350, 359,-32768,-32768,-32768, 367, 364, 1633,-32768, 1983, + 1983, 1983,-32768, 416, 2012, 2024, 1877, 475, 2033, 1423, + 433, 496, 496, 406, 406,-32768,-32768,-32768,-32768,-32768, + 383, 118, 380, 265, 235,-32768, 846,-32768, 386,-32768, + 1397,-32768, 419, 31, 399,-32768,-32768, 148, 684,-32768, + 411, 249,-32768,-32768, 83,-32768,-32768, 48,-32768,-32768, +-32768, 1484, 436,-32768,-32768, 331,-32768,-32768,-32768, 460, +-32768,-32768, 415,-32768, 1983,-32768,-32768, 424, 423,-32768, +-32768, 423,-32768,-32768,-32768,-32768,-32768, 480,-32768,-32768, +-32768, 1775,-32768,-32768, 388,-32768,-32768,-32768,-32768,-32768, + 446,-32768,-32768,-32768,-32768, 161, 405, 361,-32768,-32768, + 361,-32768,-32768,-32768, 373,-32768, 511, 219,-32768,-32768, +-32768, 465, 1278, 598, 1267, 48,-32768,-32768, 48,-32768, +-32768, 53, 330, 702, 480,-32768, 1084, 1999,-32768, 102, +-32768, 1451, 207, 846,-32768,-32768,-32768,-32768,-32768, 69, +-32768, 96,-32768,-32768,-32768,-32768, 149,-32768, 478,-32768, +-32768, 1983,-32768,-32768, 1267,-32768,-32768, 1775, 138,-32768, + 271, 390, 621, 471, 783,-32768,-32768,-32768,-32768,-32768, + 513, 330, 1775,-32768, 514, 1983, 476, 477,-32768, 405, +-32768,-32768, 474,-32768, 280, 282, 26, 484, 598, 1851, + 1084,-32768, 1943, 1775,-32768,-32768, 330,-32768,-32768,-32768, + 864, 485,-32768,-32768,-32768,-32768, 1533, 531, 1898, 1084, +-32768,-32768, 1145,-32768,-32768,-32768,-32768,-32768,-32768, 226, + 240, 486,-32768, 1943,-32768,-32768, 1583, 532, 515,-32768, +-32768, 516, 520, 1775, 535, 503, 504, 1725, 168, 578, +-32768, 547, 517,-32768, 519, 1643,-32768, 590, 945, 51, +-32768,-32768,-32768,-32768,-32768,-32768, 1775, 570, 533, 1206, +-32768,-32768, 1775,-32768,-32768,-32768, 1775, 550,-32768, 1775, + 1775, 1477,-32768,-32768,-32768,-32768, 537, 1775, 538,-32768, + 553,-32768,-32768,-32768, 69,-32768, 96, 1026,-32768,-32768, +-32768,-32768, 1775, 1206, 1916,-32768, 1206,-32768,-32768, 247, + 541, 1775, 602, 296, 543, 546, 1775,-32768,-32768, 559, +-32768, 1775, 283,-32768, 41, 306,-32768, 169,-32768,-32768, + 1583, 554,-32768, 614, 1206,-32768,-32768,-32768, 575,-32768, +-32768,-32768,-32768, 1965,-32768, 38,-32768, 219,-32768, 219, +-32768,-32768,-32768, 580,-32768,-32768,-32768,-32768, 1775,-32768, +-32768, 650, 582,-32768,-32768,-32768,-32768, 1206,-32768,-32768, + 583,-32768, 604, 128, 584,-32768,-32768,-32768,-32768,-32768, + 1775, 650, 591, 650, 1775, 596, 143,-32768,-32768, 597, +-32768, 311, 600,-32768, 193, 253,-32768,-32768, 601, 311, +-32768,-32768, 193, 668, 675,-32768 +}; + +static const short yypgoto[] = {-32768, +-32768,-32768,-32768, 677,-32768,-32768,-32768,-32768,-32768,-32768, +-32768,-32768, -7,-32768, -34,-32768, -157, 430,-32768, -33, +-32768, 130, 183,-32768, -177, -122, 489,-32768,-32768, 290, +-32768, -4,-32768, 10, 638, 16, 639, 555, -3, -129, + -342, -40, -94, -63,-32768,-32768,-32768, -195,-32768, 495, +-32768, 275,-32768, 310,-32768, -366,-32768, -410,-32768,-32768, +-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -37, -64, + 372, -13, -27,-32768,-32768,-32768,-32768,-32768, 523, 9, +-32768,-32768, 521, 389, 622, 529, -28, -65, 694, -79, + -147, 354,-32768, -178,-32768,-32768,-32768, 394, -271, -114, +-32768,-32768,-32768,-32768, -50, -281, -448, -347,-32768, 199, +-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, + 203,-32768, -461, 153,-32768, 152,-32768, 499,-32768, -222, +-32768,-32768,-32768, 425, -180,-32768,-32768,-32768,-32768 +}; + + +#define YYLAST 2086 + + +static const short yytable[] = { 76, + 84, 29, 31, 33, 41, 104, 107, 264, 252, 206, + 290, 19, 19, 279, 43, 47, 48, 20, 20, 352, + 200, 114, 179, 255, 90, 227, 291, 415, 183, 134, + 135, 86, 491, 108, 317, 137, 201, 139, 535, 168, + 55, 142, 116, 141, -94, 262, 195, 436, 338, 86, + 533, 522, 94, 280, 452, 36, 99, 136, 26, 27, + -1, 189, 34, 95, 96, 26, 27, 94, 86, 26, + 27, 36, 99, 489, 384, 181, 582, 386, -2, 529, + 182, 114, 289, 436, 178, 95, 96, 90, 294, 206, + 254, 388, 207, 208, 139, 35, 139, 42, 36, 223, + 221, 571, 222, 100, 36, 324, 315, 322, 180, 287, + 523, 116, 101, 553, 583, 437, 556, 591, 216, 100, + 218, 178, 51, -188, 586, 86, -94, 86, 101, 590, + 226, 592, 253, 262, 219, 286, 220, 259, 28, 288, + 599, 414, 195, 610, 576, 30, 37, 114, 54, 32, + 36, 324, 325, 457, 195, 38, 249, 250, 56, 336, + 195, 326, 172, 36, 337, 301, 602, 301, 196, 621, + 26, 27, 543, 293, 143, 396, 424, 598, 255, 190, + 411, 612, -97, -97, -97, -97, 181, 120, -97, 127, + -97, -97, -97, 425, 311, 94, 36, 99, 325, 144, + 180, 168, 329, 332, 603, 116, -97, 326, 172, 36, + 169, 330, 315, 180, 429, 315, 434, 176, 508, 613, + 326, 172, 170, 368, 185, 418, 321, 453, 95, 96, + 419, 171, 172, 91, 196, 114, 190, 92, 551, -288, + -288, -288, -288, 213, 100, 360, 212, -288, -288, -288, + 363, -190, 434, 101, 328, 331, 224, 330, 496, 217, + 36, -97, 451, -288, 180, 48, 326, 172, 202, 24, + 25, 180, 203, 230, 231, 232, 225, 235, 236, 237, + 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 342, 228, 121, 260, 261, 5, 343, 7, 83, + 301, 226, 492, 397, 9, 10, 11, 493, 37, 209, + 229, 316, 90, 92, 389, 170, 494, 38, -93, 59, + 13, 144, 477, 557, 171, 172, 334, 413, 144, 619, + 335, 416, 26, 27, 620, 530, 376, 370, 372, 48, + 94, 295, 477, 397, 435, 390, 181, 276, 426, 181, + 162, 163, 427, 164, 165, 166, 167, 446, 417, 447, + 567, 203, 204, 92, 203, -18, -18, -18, -18, 277, + 122, -228, 561, -18, -18, -18, 5, 6, 7, 8, + 435, 283, 365, 569, 9, 10, 11, 92, 94, -18, + 207, 208, -142, 115, 438, 26, 27, 297, -142, 284, + 13, 4, 473, -110, 5, 6, 7, 8, 110, 111, + 112, 376, 9, 10, 11, 9, 10, 11, 303, 455, + 95, 96, 473, 304, 111, 112, 305, 12, 13, 472, + 9, 10, 11, 507, 615, 306, 477, -234, -234, -142, + 309, 358, 623, -142, -18, 307, 475, 260, 261, 472, + 206, -110, 476, 584, 312, 585, 159, 160, 161, 313, + -110, 509, 531, 314, 361, 362, 536, 277, 428, 318, + 515, 517, 48, 540, 382, 323, 546, 545, 14, 155, + 156, 157, 158, 159, 160, 161, 406, 333, 552, 130, + 132, 5, 44, 7, 45, 344, 347, 559, 348, 9, + 10, 11, 350, 548, 351, 162, 163, 566, 164, 165, + 166, 167, 353, 367, 382, 13, 473, 423, 152, 153, + 154, 155, 156, 157, 158, 159, 160, 161, 138, 359, + 57, 5, 439, 7, 83, 58, 59, 420, 60, 9, + 10, 11, 369, 472, 157, 158, 159, 160, 161, -268, + 406, -30, 441, 454, 442, 13, 61, 445, 443, 62, + 448, 63, 64, 456, 495, 46, 606, 486, 65, 406, + -31, 66, 406, 503, 497, 500, 67, 68, 69, 501, + 504, 505, 70, 71, 510, 512, 265, 72, 266, 5, + 6, 7, 8, 502, 513, 267, 514, 9, 10, 11, + 26, 27, 373, 374, 375, 518, 526, 73, 74, 532, + -83, 528, 542, 13, 539, 541, 525, 558, 560, 406, + 562, 190, 563, -106, -106, -106, -106, -106, -106, -106, + 574, -106, -106, -106, -106, -106, 565, -106, -106, -106, + -106, -106, -106, -106, -106, -106, -106, -106, -106, -106, + 575, 577, -106, 406, -106, -106, 406, 587, 593, 597, + 600, -106, -348, 601, -106, 604, 564, 625, 608, -106, + -106, -106, 611, 614, 626, -106, -106, 617, 622, 23, + -106, 281, 534, 430, 406, 109, 36, 5, 44, 7, + 45, 123, 285, 449, 422, 9, 10, 11, -106, -106, + -106, -106, 392, -106, -288, -288, -288, -288, -288, -288, + -288, 13, -288, -288, -288, -288, -288, 406, -288, -288, + -288, -288, -288, -288, -288, -288, -288, -288, -288, -288, + -288, 410, 263, -288, 330, -288, -288, 298, 302, 387, + 215, 296, -288, 326, 172, -288, 125, 431, 399, 572, + -288, -288, -288, 573, 607, 609, -288, -288, 319, 366, + 0, -288, 93, 0, 0, -26, -26, -26, -26, 0, + 0, 0, 0, -26, -26, -26, 0, 0, 0, -288, + 0, -288, -288, 190, -288, -288, -288, 0, 94, -26, + -288, -288, -142, -288, 0, 0, 0, -288, -142, -288, + -288, -288, -288, -288, -288, -288, -288, -288, -288, -288, + 0, -288, 0, 0, -288, 0, -288, -288, 0, 0, + 0, 95, 96, -288, 0, 0, -288, 0, 0, 0, + 0, -288, -288, -288, 0, 0, 0, -288, -288, -142, + 0, 0, -288, -142, -26, 0, 265, 0, 0, 5, + 6, 7, 8, 0, 0, 267, 0, 9, 10, 11, + -288, 433, -288, -288, 190, -288, -288, -288, 0, 0, + 0, -288, -288, 13, -288, 0, 0, 0, -288, 0, + -288, -288, -288, -288, -288, -288, -288, -288, -288, -288, + -288, 0, -288, 0, 0, -288, 0, -288, -288, 0, + 0, 0, 0, 0, -288, 0, 0, -288, 0, 0, + 0, 0, -288, -288, -288, 0, 0, 0, -288, -288, + 0, 0, -348, -288, 210, 0, 0, -22, -22, -22, + -22, 0, 0, 0, 0, -22, -22, -22, 0, 0, + 0, -288, -269, -288, -288, 519, -288, -288, -288, 0, + 94, -22, -288, -288, -142, -288, 0, 0, 0, -288, + -142, -288, -288, -288, -288, -288, -288, -288, -288, -288, + -288, -288, 0, -288, 0, 0, -288, 0, -288, -288, + 0, 0, 0, 95, 96, -288, 0, 0, -288, 0, + 0, 0, 0, -288, -288, -288, 0, 0, 0, -288, + -288, -142, 0, 0, -288, -142, -22, 0, 5, 0, + 7, 177, 0, 0, 0, 0, 9, 10, 11, 0, + 0, 0, -288, 0, -288, -288, 549, -288, -298, -298, + 0, 0, 13, -298, -298, 0, -298, 0, 0, 0, + -298, 0, -298, -298, -298, -298, -298, -298, -298, -298, + -298, -298, -298, 5, -298, 7, 177, -298, 0, -298, + -298, 9, 10, 11, 0, 0, -298, 0, 0, -298, + 0, 0, 0, 0, -298, -298, -298, 13, 0, 0, + -298, -298, -236, -236, 400, -298, 401, 27, 0, 0, + 0, 58, 59, 0, 60, 0, 0, 0, 0, 0, + 170, 0, 0, -298, 0, -298, -298, 0, -298, 171, + 172, 0, 61, 0, 0, 62, 0, 63, 64, 0, + 0, 0, 0, 0, 65, 0, 0, 66, 0, 0, + 0, 0, 67, 68, 69, 0, 0, 0, 70, 71, + 0, 0, 402, 72, 403, 400, 0, 401, 27, 0, + 0, 0, 58, 59, 0, 60, 0, 0, 0, 0, + 0, 0, -170, 73, 74, 0, 404, 0, 0, 0, + 0, 0, 0, 61, 0, 0, 62, 0, 63, 64, + 0, 0, 0, 0, 0, 65, 0, 0, 66, 0, + 0, 0, 0, 67, 68, 69, 0, 0, 0, 70, + 71, 0, 0, 402, 72, 403, 400, 0, 401, 27, + 0, 0, 0, 58, 59, 0, 60, 0, 0, 0, + 0, 0, 0, -225, 73, 74, 0, 404, 0, 0, + 0, 0, 0, 0, 61, 0, 0, 62, 0, 63, + 64, 0, 0, 0, 0, 0, 65, 0, 0, 66, + 0, 0, 0, 0, 67, 68, 69, 0, 0, 0, + 70, 71, 0, 0, 402, 72, 403, 380, 0, 57, + 0, 0, 0, 0, 58, 59, 0, 60, 0, 0, + 0, 5, 44, 7, 45, 73, 74, 0, 404, 9, + 10, 11, 0, 0, 0, 61, 0, 0, 62, 0, + 63, 64, 0, 0, 0, 13, 0, 65, 0, 0, + 66, 0, 0, 0, 0, 67, 68, 69, 0, 57, + 0, 70, 71, 0, 58, 59, 72, 60, 0, 0, + 0, 0, 57, 0, 0, 0, 0, 58, 59, 0, + 60, 0, 0, 0, 0, 61, 73, 74, 62, 381, + 63, 64, 0, 0, 0, 371, 0, 65, 61, 0, + 66, 62, 0, 63, 64, 67, 68, 69, 0, 0, + 65, 70, 71, 66, 0, 0, 72, 0, 67, 68, + 69, 0, 0, 0, 70, 71, 57, 0, 0, 72, + 0, 58, 59, 0, 60, 0, 73, 74, 0, 57, + 188, 0, 0, 0, 58, 59, 0, 60, 0, 73, + 74, 0, 61, 258, 0, 62, 0, 63, 64, 0, + 0, 0, 0, 0, 65, 61, 0, 66, 62, 0, + 63, 64, 67, 68, 69, 0, 0, 65, 70, 71, + 66, 0, 0, 72, 0, 67, 68, 69, 0, 0, + 0, 70, 71, 57, 0, 0, 72, 0, 58, 59, + 0, 60, 0, 73, 74, 0, 0, 292, 154, 155, + 156, 157, 158, 159, 160, 161, 73, 74, 0, 61, + 320, 0, 62, 0, 63, 64, 537, 5, 6, 7, + 8, 65, 0, 0, 66, 9, 10, 11, 0, 67, + 68, 69, 0, 0, 0, 70, 71, 0, 0, 0, + 72, 13, 145, 146, 147, 538, 148, 149, 150, 151, + 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, + 73, 74, 0, 0, 412, 401, 458, 6, 7, 8, + 58, 59, 0, 60, 9, 10, 11, 459, 0, 460, + 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, + 13, 61, 0, 0, 62, 0, 63, 64, 0, 0, + 0, 0, 0, 65, 0, 0, 66, 0, 0, 0, + 0, 67, 68, 69, 0, 401, 27, 70, 71, 0, + 58, 59, 72, 60, 0, 0, 0, 459, 0, 460, + 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, + 471, 61, 73, 74, 62, 226, 63, 64, 0, 0, + 0, 0, 0, 65, 0, 0, 66, 0, 0, 0, + 0, 67, 68, 69, 0, 57, 0, 70, 71, 0, + 58, 59, 72, 60, 0, 0, 5, 44, 7, 45, + 0, 0, 0, 0, 9, 10, 11, 0, 0, 0, + 471, 61, 73, 74, 62, 226, 63, 64, 0, 0, + 13, 0, 0, 65, 0, 0, 66, 0, 0, 0, + 0, 67, 68, 69, 0, 0, 0, 70, 71, 0, + 0, 0, 72, 57, 5, 0, 7, 83, 58, 59, + 0, 60, 9, 10, 11, 0, 0, 0, 0, 0, + 0, 0, 73, 74, 0, 310, 0, 0, 13, 61, + 516, 0, 62, 0, 63, 64, 0, 57, 0, 0, + 0, 65, 58, 59, 66, 60, 0, 0, 0, 67, + 68, 69, 0, 0, 0, 70, 71, 0, 0, 0, + 72, 0, 0, 61, 0, 0, 62, 0, 63, 64, + 0, 0, 0, 0, 0, 65, 0, 0, 66, 0, + 73, 74, 0, 67, 68, 69, 0, 57, 0, 70, + 71, 0, 58, 59, 72, 60, 0, 0, 0, 0, + 57, 0, 0, 0, 0, 58, 59, 0, 60, 0, + 0, 0, 506, 61, 73, 74, 62, 0, 63, 64, + 0, 0, 0, 0, 0, 65, 61, 0, 66, 62, + 0, 63, 64, 67, 68, 69, 0, 0, 65, 70, + 71, 66, 0, 0, 72, 0, 67, 68, 69, 0, + 57, 0, 70, 71, 0, 58, 59, 129, 60, 0, + 0, 0, 0, 450, 73, 74, 0, 0, 58, 59, + 0, 60, 0, 0, 0, 0, 61, 73, 74, 62, + 0, 63, 64, 0, 0, 0, 0, 0, 65, 61, + 0, 66, 62, 0, 63, 64, 67, 68, 69, 0, + 0, 65, 70, 71, 66, 0, 0, 131, 0, 67, + 68, 69, 0, 0, 0, 70, 71, 487, 0, 0, + 72, 0, 0, 0, 0, 0, 0, 73, 74, 151, + 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, + 73, 74, 0, 145, 146, 147, 0, 148, 149, 150, + 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, + 161, 145, 146, 147, 0, 148, 149, 150, 151, 152, + 153, 154, 155, 156, 157, 158, 159, 160, 161, 0, + 0, 0, 0, 196, 0, 0, 0, 0, 145, 146, + 147, 488, 148, 149, 150, 151, 152, 153, 154, 155, + 156, 157, 158, 159, 160, 161, 0, 0, 0, 554, + 145, 146, 147, 581, 148, 149, 150, 151, 152, 153, + 154, 155, 156, 157, 158, 159, 160, 161, 145, 146, + 147, 0, 148, 149, 150, 151, 152, 153, 154, 155, + 156, 157, 158, 159, 160, 161, 147, 0, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, + 160, 161, 149, 150, 151, 152, 153, 154, 155, 156, + 157, 158, 159, 160, 161, 150, 151, 152, 153, 154, + 155, 156, 157, 158, 159, 160, 161, 153, 154, 155, + 156, 157, 158, 159, 160, 161 +}; + +static const short yycheck[] = { 34, + 35, 9, 10, 11, 18, 43, 47, 185, 166, 104, + 206, 2, 3, 192, 19, 20, 20, 2, 3, 301, + 100, 49, 88, 171, 38, 140, 207, 370, 92, 63, + 64, 35, 443, 47, 257, 69, 101, 72, 500, 9, + 32, 75, 50, 72, 1, 175, 97, 395, 1, 53, + 499, 1, 27, 10, 421, 3, 4, 65, 3, 4, + 0, 96, 60, 60, 61, 3, 4, 27, 72, 3, + 4, 3, 4, 440, 346, 89, 39, 349, 0, 490, + 77, 109, 205, 431, 88, 60, 61, 101, 211, 184, + 170, 39, 60, 61, 129, 60, 131, 78, 3, 133, + 129, 550, 131, 51, 3, 4, 254, 77, 7, 77, + 60, 119, 60, 524, 77, 397, 527, 579, 123, 51, + 125, 125, 83, 83, 573, 129, 83, 131, 60, 578, + 83, 580, 167, 263, 126, 200, 128, 172, 83, 203, + 589, 364, 193, 605, 555, 83, 51, 175, 83, 83, + 3, 4, 51, 435, 205, 60, 164, 165, 83, 77, + 211, 60, 61, 3, 82, 216, 39, 218, 31, 618, + 3, 4, 515, 208, 77, 354, 39, 588, 326, 1, + 361, 39, 4, 5, 6, 7, 200, 79, 10, 79, + 12, 13, 14, 389, 228, 27, 3, 4, 51, 82, + 7, 9, 268, 269, 77, 213, 28, 60, 61, 3, + 77, 51, 360, 7, 393, 363, 395, 77, 51, 77, + 60, 61, 51, 338, 60, 77, 261, 423, 60, 61, + 82, 60, 61, 78, 31, 263, 1, 82, 520, 4, + 5, 6, 7, 82, 51, 325, 37, 12, 13, 14, + 330, 83, 431, 60, 268, 269, 77, 51, 454, 78, + 3, 83, 420, 28, 7, 269, 60, 61, 78, 78, + 79, 7, 82, 144, 145, 146, 77, 148, 149, 150, + 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, + 161, 282, 77, 1, 60, 61, 4, 282, 6, 7, + 351, 83, 77, 354, 12, 13, 14, 82, 51, 78, + 78, 77, 326, 82, 352, 51, 77, 60, 83, 9, + 28, 82, 437, 77, 60, 61, 78, 362, 82, 77, + 82, 372, 3, 4, 82, 493, 344, 342, 343, 343, + 27, 212, 457, 394, 395, 353, 360, 84, 78, 363, + 55, 56, 82, 58, 59, 60, 61, 78, 372, 78, + 78, 82, 1, 82, 82, 4, 5, 6, 7, 78, + 78, 79, 77, 12, 13, 14, 4, 5, 6, 7, + 431, 60, 10, 78, 12, 13, 14, 82, 27, 28, + 60, 61, 31, 1, 402, 3, 4, 79, 37, 37, + 28, 1, 437, 3, 4, 5, 6, 7, 5, 6, + 7, 419, 12, 13, 14, 12, 13, 14, 79, 427, + 60, 61, 457, 79, 6, 7, 77, 27, 28, 437, + 12, 13, 14, 468, 612, 77, 551, 78, 79, 78, + 77, 312, 620, 82, 83, 79, 437, 60, 61, 457, + 545, 51, 437, 568, 39, 570, 51, 52, 53, 77, + 60, 469, 497, 84, 60, 61, 501, 78, 79, 84, + 475, 476, 476, 508, 345, 77, 517, 515, 78, 47, + 48, 49, 50, 51, 52, 53, 357, 77, 523, 60, + 61, 4, 5, 6, 7, 60, 37, 532, 84, 12, + 13, 14, 79, 517, 82, 55, 56, 542, 58, 59, + 60, 61, 33, 3, 385, 28, 551, 388, 44, 45, + 46, 47, 48, 49, 50, 51, 52, 53, 1, 84, + 3, 4, 403, 6, 7, 8, 9, 60, 11, 12, + 13, 14, 78, 551, 49, 50, 51, 52, 53, 79, + 421, 39, 39, 424, 79, 28, 29, 84, 82, 32, + 77, 34, 35, 79, 79, 78, 601, 37, 41, 440, + 39, 44, 443, 39, 60, 60, 49, 50, 51, 60, + 78, 78, 55, 56, 7, 39, 1, 60, 3, 4, + 5, 6, 7, 464, 78, 10, 78, 12, 13, 14, + 3, 4, 5, 6, 7, 16, 37, 80, 81, 60, + 83, 79, 60, 28, 78, 78, 487, 77, 17, 490, + 78, 1, 77, 3, 4, 5, 6, 7, 8, 9, + 77, 11, 12, 13, 14, 15, 78, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 37, 77, 32, 524, 34, 35, 527, 78, 9, 78, + 78, 41, 77, 60, 44, 82, 537, 0, 78, 49, + 50, 51, 77, 77, 0, 55, 56, 78, 78, 3, + 60, 193, 500, 394, 555, 48, 3, 4, 5, 6, + 7, 53, 198, 419, 385, 12, 13, 14, 78, 79, + 80, 81, 1, 83, 3, 4, 5, 6, 7, 8, + 9, 28, 11, 12, 13, 14, 15, 588, 17, 18, + 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, + 29, 360, 178, 32, 51, 34, 35, 215, 218, 351, + 119, 213, 41, 60, 61, 44, 53, 394, 355, 551, + 49, 50, 51, 551, 602, 604, 55, 56, 260, 335, + -1, 60, 1, -1, -1, 4, 5, 6, 7, -1, + -1, -1, -1, 12, 13, 14, -1, -1, -1, 78, + -1, 80, 81, 1, 83, 3, 4, -1, 27, 28, + 8, 9, 31, 11, -1, -1, -1, 15, 37, 17, + 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, + -1, 29, -1, -1, 32, -1, 34, 35, -1, -1, + -1, 60, 61, 41, -1, -1, 44, -1, -1, -1, + -1, 49, 50, 51, -1, -1, -1, 55, 56, 78, + -1, -1, 60, 82, 83, -1, 1, -1, -1, 4, + 5, 6, 7, -1, -1, 10, -1, 12, 13, 14, + 78, 79, 80, 81, 1, 83, 3, 4, -1, -1, + -1, 8, 9, 28, 11, -1, -1, -1, 15, -1, + 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, + 27, -1, 29, -1, -1, 32, -1, 34, 35, -1, + -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, + -1, -1, 49, 50, 51, -1, -1, -1, 55, 56, + -1, -1, 77, 60, 1, -1, -1, 4, 5, 6, + 7, -1, -1, -1, -1, 12, 13, 14, -1, -1, + -1, 78, 79, 80, 81, 1, 83, 3, 4, -1, + 27, 28, 8, 9, 31, 11, -1, -1, -1, 15, + 37, 17, 18, 19, 20, 21, 22, 23, 24, 25, + 26, 27, -1, 29, -1, -1, 32, -1, 34, 35, + -1, -1, -1, 60, 61, 41, -1, -1, 44, -1, + -1, -1, -1, 49, 50, 51, -1, -1, -1, 55, + 56, 78, -1, -1, 60, 82, 83, -1, 4, -1, + 6, 7, -1, -1, -1, -1, 12, 13, 14, -1, + -1, -1, 78, -1, 80, 81, 1, 83, 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, 4, 29, 6, 7, 32, -1, 34, + 35, 12, 13, 14, -1, -1, 41, -1, -1, 44, + -1, -1, -1, -1, 49, 50, 51, 28, -1, -1, + 55, 56, 78, 79, 1, 60, 3, 4, -1, -1, + -1, 8, 9, -1, 11, -1, -1, -1, -1, -1, + 51, -1, -1, 78, -1, 80, 81, -1, 83, 60, + 61, -1, 29, -1, -1, 32, -1, 34, 35, -1, + -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, + -1, -1, 49, 50, 51, -1, -1, -1, 55, 56, + -1, -1, 59, 60, 61, 1, -1, 3, 4, -1, + -1, -1, 8, 9, -1, 11, -1, -1, -1, -1, + -1, -1, 79, 80, 81, -1, 83, -1, -1, -1, + -1, -1, -1, 29, -1, -1, 32, -1, 34, 35, + -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, + -1, -1, -1, 49, 50, 51, -1, -1, -1, 55, + 56, -1, -1, 59, 60, 61, 1, -1, 3, 4, + -1, -1, -1, 8, 9, -1, 11, -1, -1, -1, + -1, -1, -1, 79, 80, 81, -1, 83, -1, -1, + -1, -1, -1, -1, 29, -1, -1, 32, -1, 34, + 35, -1, -1, -1, -1, -1, 41, -1, -1, 44, + -1, -1, -1, -1, 49, 50, 51, -1, -1, -1, + 55, 56, -1, -1, 59, 60, 61, 1, -1, 3, + -1, -1, -1, -1, 8, 9, -1, 11, -1, -1, + -1, 4, 5, 6, 7, 80, 81, -1, 83, 12, + 13, 14, -1, -1, -1, 29, -1, -1, 32, -1, + 34, 35, -1, -1, -1, 28, -1, 41, -1, -1, + 44, -1, -1, -1, -1, 49, 50, 51, -1, 3, + -1, 55, 56, -1, 8, 9, 60, 11, -1, -1, + -1, -1, 3, -1, -1, -1, -1, 8, 9, -1, + 11, -1, -1, -1, -1, 29, 80, 81, 32, 83, + 34, 35, -1, -1, -1, 78, -1, 41, 29, -1, + 44, 32, -1, 34, 35, 49, 50, 51, -1, -1, + 41, 55, 56, 44, -1, -1, 60, -1, 49, 50, + 51, -1, -1, -1, 55, 56, 3, -1, -1, 60, + -1, 8, 9, -1, 11, -1, 80, 81, -1, 3, + 84, -1, -1, -1, 8, 9, -1, 11, -1, 80, + 81, -1, 29, 84, -1, 32, -1, 34, 35, -1, + -1, -1, -1, -1, 41, 29, -1, 44, 32, -1, + 34, 35, 49, 50, 51, -1, -1, 41, 55, 56, + 44, -1, -1, 60, -1, 49, 50, 51, -1, -1, + -1, 55, 56, 3, -1, -1, 60, -1, 8, 9, + -1, 11, -1, 80, 81, -1, -1, 84, 46, 47, + 48, 49, 50, 51, 52, 53, 80, 81, -1, 29, + 84, -1, 32, -1, 34, 35, 10, 4, 5, 6, + 7, 41, -1, -1, 44, 12, 13, 14, -1, 49, + 50, 51, -1, -1, -1, 55, 56, -1, -1, -1, + 60, 28, 36, 37, 38, 39, 40, 41, 42, 43, + 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, + 80, 81, -1, -1, 84, 3, 4, 5, 6, 7, + 8, 9, -1, 11, 12, 13, 14, 15, -1, 17, + 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, + 28, 29, -1, -1, 32, -1, 34, 35, -1, -1, + -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, + -1, 49, 50, 51, -1, 3, 4, 55, 56, -1, + 8, 9, 60, 11, -1, -1, -1, 15, -1, 17, + 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, + 78, 29, 80, 81, 32, 83, 34, 35, -1, -1, + -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, + -1, 49, 50, 51, -1, 3, -1, 55, 56, -1, + 8, 9, 60, 11, -1, -1, 4, 5, 6, 7, + -1, -1, -1, -1, 12, 13, 14, -1, -1, -1, + 78, 29, 80, 81, 32, 83, 34, 35, -1, -1, + 28, -1, -1, 41, -1, -1, 44, -1, -1, -1, + -1, 49, 50, 51, -1, -1, -1, 55, 56, -1, + -1, -1, 60, 3, 4, -1, 6, 7, 8, 9, + -1, 11, 12, 13, 14, -1, -1, -1, -1, -1, + -1, -1, 80, 81, -1, 83, -1, -1, 28, 29, + 78, -1, 32, -1, 34, 35, -1, 3, -1, -1, + -1, 41, 8, 9, 44, 11, -1, -1, -1, 49, + 50, 51, -1, -1, -1, 55, 56, -1, -1, -1, + 60, -1, -1, 29, -1, -1, 32, -1, 34, 35, + -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, + 80, 81, -1, 49, 50, 51, -1, 3, -1, 55, + 56, -1, 8, 9, 60, 11, -1, -1, -1, -1, + 3, -1, -1, -1, -1, 8, 9, -1, 11, -1, + -1, -1, 78, 29, 80, 81, 32, -1, 34, 35, + -1, -1, -1, -1, -1, 41, 29, -1, 44, 32, + -1, 34, 35, 49, 50, 51, -1, -1, 41, 55, + 56, 44, -1, -1, 60, -1, 49, 50, 51, -1, + 3, -1, 55, 56, -1, 8, 9, 60, 11, -1, + -1, -1, -1, 3, 80, 81, -1, -1, 8, 9, + -1, 11, -1, -1, -1, -1, 29, 80, 81, 32, + -1, 34, 35, -1, -1, -1, -1, -1, 41, 29, + -1, 44, 32, -1, 34, 35, 49, 50, 51, -1, + -1, 41, 55, 56, 44, -1, -1, 60, -1, 49, + 50, 51, -1, -1, -1, 55, 56, 10, -1, -1, + 60, -1, -1, -1, -1, -1, -1, 80, 81, 43, + 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, + 80, 81, -1, 36, 37, 38, -1, 40, 41, 42, + 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, + 53, 36, 37, 38, -1, 40, 41, 42, 43, 44, + 45, 46, 47, 48, 49, 50, 51, 52, 53, -1, + -1, -1, -1, 31, -1, -1, -1, -1, 36, 37, + 38, 84, 40, 41, 42, 43, 44, 45, 46, 47, + 48, 49, 50, 51, 52, 53, -1, -1, -1, 84, + 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 51, 52, 53, 36, 37, + 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, + 48, 49, 50, 51, 52, 53, 38, -1, 40, 41, + 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, + 52, 53, 41, 42, 43, 44, 45, 46, 47, 48, + 49, 50, 51, 52, 53, 42, 43, 44, 45, 46, + 47, 48, 49, 50, 51, 52, 53, 45, 46, 47, + 48, 49, 50, 51, 52, 53 +}; +/* -*-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 221 "c-parse.y" +{ if (pedantic) + pedwarn ("ANSI C forbids an empty source file"); + ; + break;} +case 2: +#line 225 "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); + ; + break;} +case 3: +#line 238 "c-parse.y" +{yyval.ttype = NULL_TREE; ; + break;} +case 5: +#line 239 "c-parse.y" +{yyval.ttype = NULL_TREE; ; + break;} +case 9: +#line 246 "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 257 "c-parse.y" +{ if (pedantic) + error ("ANSI C forbids data definition with no type or storage class"); + else if (!flag_traditional) + warning ("data definition has no type or storage class"); ; + break;} +case 11: +#line 262 "c-parse.y" +{; + break;} +case 12: +#line 264 "c-parse.y" +{; + break;} +case 13: +#line 266 "c-parse.y" +{ pedwarn ("empty declaration"); ; + break;} +case 14: +#line 268 "c-parse.y" +{ shadow_tag (yyvsp[-1].ttype); ; + break;} +case 17: +#line 272 "c-parse.y" +{ if (pedantic) + pedwarn ("ANSI C does not allow extra `;' outside of a function"); ; + break;} +case 18: +#line 278 "c-parse.y" +{ if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, 0)) + YYERROR1; + reinit_parse_for_function (); ; + break;} +case 19: +#line 282 "c-parse.y" +{ store_parm_decls (); ; + break;} +case 20: +#line 284 "c-parse.y" +{ finish_function (0); ; + break;} +case 21: +#line 286 "c-parse.y" +{ ; + break;} +case 22: +#line 288 "c-parse.y" +{ if (! start_function (yyvsp[-2].ttype, yyvsp[0].ttype, 0)) + YYERROR1; + reinit_parse_for_function (); ; + break;} +case 23: +#line 292 "c-parse.y" +{ store_parm_decls (); ; + break;} +case 24: +#line 294 "c-parse.y" +{ finish_function (0); ; + break;} +case 25: +#line 296 "c-parse.y" +{ ; + break;} +case 26: +#line 298 "c-parse.y" +{ if (! start_function (NULL_TREE, yyvsp[0].ttype, 0)) + YYERROR1; + reinit_parse_for_function (); ; + break;} +case 27: +#line 302 "c-parse.y" +{ store_parm_decls (); ; + break;} +case 28: +#line 304 "c-parse.y" +{ finish_function (0); ; + break;} +case 29: +#line 306 "c-parse.y" +{ ; + break;} +case 32: +#line 315 "c-parse.y" +{ yyval.code = ADDR_EXPR; ; + break;} +case 33: +#line 317 "c-parse.y" +{ yyval.code = NEGATE_EXPR; ; + break;} +case 34: +#line 319 "c-parse.y" +{ yyval.code = CONVERT_EXPR; ; + break;} +case 35: +#line 321 "c-parse.y" +{ yyval.code = PREINCREMENT_EXPR; ; + break;} +case 36: +#line 323 "c-parse.y" +{ yyval.code = PREDECREMENT_EXPR; ; + break;} +case 37: +#line 325 "c-parse.y" +{ yyval.code = BIT_NOT_EXPR; ; + break;} +case 38: +#line 327 "c-parse.y" +{ yyval.code = TRUTH_NOT_EXPR; ; + break;} +case 39: +#line 331 "c-parse.y" +{ yyval.ttype = build_compound_expr (yyvsp[0].ttype); ; + break;} +case 40: +#line 336 "c-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 42: +#line 342 "c-parse.y" +{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; + break;} +case 43: +#line 344 "c-parse.y" +{ chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; + break;} +case 45: +#line 350 "c-parse.y" +{ yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ; + break;} +case 46: +#line 353 "c-parse.y" +{ yyvsp[0].itype = pedantic; + pedantic = 0; ; + break;} +case 47: +#line 356 "c-parse.y" +{ yyval.ttype = yyvsp[0].ttype; + pedantic = yyvsp[-2].itype; ; + break;} +case 48: +#line 359 "c-parse.y" +{ yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0); + overflow_warning (yyval.ttype); ; + break;} +case 49: +#line 363 "c-parse.y" +{ tree label = lookup_label (yyvsp[0].ttype); + 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 389 "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 394 "c-parse.y" +{ yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ; + break;} +case 52: +#line 396 "c-parse.y" +{ yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ; + break;} +case 53: +#line 398 "c-parse.y" +{ yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ; + break;} +case 54: +#line 400 "c-parse.y" +{ yyval.ttype = build_unary_op (REALPART_EXPR, yyvsp[0].ttype, 0); ; + break;} +case 55: +#line 402 "c-parse.y" +{ yyval.ttype = build_unary_op (IMAGPART_EXPR, yyvsp[0].ttype, 0); ; + break;} +case 57: +#line 408 "c-parse.y" +{ tree type = groktypename (yyvsp[-2].ttype); + yyval.ttype = build_c_cast (type, yyvsp[0].ttype); ; + break;} +case 58: +#line 411 "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 415 "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 444 "c-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 62: +#line 446 "c-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 63: +#line 448 "c-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 64: +#line 450 "c-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 65: +#line 452 "c-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 66: +#line 454 "c-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 67: +#line 456 "c-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 68: +#line 458 "c-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 69: +#line 460 "c-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 70: +#line 462 "c-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 71: +#line 464 "c-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 72: +#line 466 "c-parse.y" +{ yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 73: +#line 468 "c-parse.y" +{ yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 74: +#line 470 "c-parse.y" +{ yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 75: +#line 472 "c-parse.y" +{ yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 76: +#line 474 "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 477 "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 484 "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 583 "c-parse.y" +{ yyval.ttype = combine_strings (yyvsp[0].ttype); ; + break;} +case 81: +#line 585 "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 591 "c-parse.y" +{ yyval.ttype = error_mark_node; ; + break;} +case 83: +#line 593 "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 607 "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 630 "c-parse.y" +{ yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ; + break;} +case 86: +#line 632 "c-parse.y" +{ yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ; + break;} +case 87: +#line 634 "c-parse.y" +{ + yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype); + ; + break;} +case 88: +#line 638 "c-parse.y" +{ + tree expr = build_indirect_ref (yyvsp[-2].ttype, "->"); + + yyval.ttype = build_component_ref (expr, yyvsp[0].ttype); + ; + break;} +case 89: +#line 644 "c-parse.y" +{ yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ; + break;} +case 90: +#line 646 "c-parse.y" +{ yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ; + break;} +case 92: +#line 653 "c-parse.y" +{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 95: +#line 662 "c-parse.y" +{ c_mark_varargs (); + if (pedantic) + pedwarn ("ANSI C does not permit use of `varargs.h'"); ; + break;} +case 96: +#line 672 "c-parse.y" +{ ; + break;} +case 101: +#line 684 "c-parse.y" +{ current_declspecs = TREE_VALUE (declspec_stack); + declspec_stack = TREE_CHAIN (declspec_stack); + resume_momentary (yyvsp[-2].itype); ; + break;} +case 102: +#line 688 "c-parse.y" +{ current_declspecs = TREE_VALUE (declspec_stack); + declspec_stack = TREE_CHAIN (declspec_stack); + resume_momentary (yyvsp[-2].itype); ; + break;} +case 103: +#line 692 "c-parse.y" +{ shadow_tag_warned (yyvsp[-1].ttype, 1); + pedwarn ("empty declaration"); ; + break;} +case 104: +#line 695 "c-parse.y" +{ pedwarn ("empty declaration"); ; + break;} +case 105: +#line 704 "c-parse.y" +{ ; + break;} +case 110: +#line 719 "c-parse.y" +{ yyval.itype = suspend_momentary (); + pending_xref_error (); + declspec_stack = tree_cons (NULL_TREE, current_declspecs, + declspec_stack); + current_declspecs = yyvsp[0].ttype; ; + break;} +case 111: +#line 728 "c-parse.y" +{ current_declspecs = TREE_VALUE (declspec_stack); + declspec_stack = TREE_CHAIN (declspec_stack); + resume_momentary (yyvsp[-2].itype); ; + break;} +case 112: +#line 732 "c-parse.y" +{ current_declspecs = TREE_VALUE (declspec_stack); + declspec_stack = TREE_CHAIN (declspec_stack); + resume_momentary (yyvsp[-2].itype); ; + break;} +case 113: +#line 736 "c-parse.y" +{ current_declspecs = TREE_VALUE (declspec_stack); + declspec_stack = TREE_CHAIN (declspec_stack); + resume_momentary (yyvsp[-1].itype); ; + break;} +case 114: +#line 740 "c-parse.y" +{ current_declspecs = TREE_VALUE (declspec_stack); + declspec_stack = TREE_CHAIN (declspec_stack); + resume_momentary (yyvsp[-1].itype); ; + break;} +case 115: +#line 744 "c-parse.y" +{ shadow_tag (yyvsp[-1].ttype); ; + break;} +case 116: +#line 746 "c-parse.y" +{ pedwarn ("empty declaration"); ; + break;} +case 117: +#line 755 "c-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 118: +#line 757 "c-parse.y" +{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ; + break;} +case 119: +#line 761 "c-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 120: +#line 763 "c-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; + break;} +case 121: +#line 765 "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 122: +#line 777 "c-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); + TREE_STATIC (yyval.ttype) = 1; ; + break;} +case 123: +#line 780 "c-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; + break;} +case 124: +#line 782 "c-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ; + break;} +case 125: +#line 785 "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 126: +#line 799 "c-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 127: +#line 801 "c-parse.y" +{ yyval.ttype = chainon (yyvsp[0].ttype, tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[-2].ttype)); ; + break;} +case 128: +#line 805 "c-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 129: +#line 807 "c-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; + break;} +case 132: +#line 817 "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 133: +#line 821 "c-parse.y" +{ yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); ; + break;} +case 134: +#line 823 "c-parse.y" +{ yyval.ttype = groktypename (yyvsp[-1].ttype); ; + break;} +case 142: +#line 845 "c-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 143: +#line 847 "c-parse.y" +{ if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype); + yyval.ttype = yyvsp[-1].ttype; + ; + break;} +case 144: +#line 854 "c-parse.y" +{ yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1); + decl_attributes (yyval.ttype, yyvsp[-1].ttype); + start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ; + break;} +case 145: +#line 859 "c-parse.y" +{ finish_init (); + decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype); + finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ; + break;} +case 146: +#line 863 "c-parse.y" +{ tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0); + decl_attributes (d, yyvsp[0].ttype); + finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ; + break;} +case 147: +#line 870 "c-parse.y" +{ yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1); + decl_attributes (yyval.ttype, yyvsp[-1].ttype); + start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ; + break;} +case 148: +#line 875 "c-parse.y" +{ finish_init (); + decl_attributes (yyvsp[-1].ttype, yyvsp[-3].ttype); + finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ; + break;} +case 149: +#line 879 "c-parse.y" +{ tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0); + decl_attributes (d, yyvsp[0].ttype); + finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ; + break;} +case 150: +#line 887 "c-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 151: +#line 889 "c-parse.y" +{ yyval.ttype = yyvsp[0].ttype; ; + break;} +case 152: +#line 894 "c-parse.y" +{ yyval.ttype = yyvsp[0].ttype; ; + break;} +case 153: +#line 896 "c-parse.y" +{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 154: +#line 901 "c-parse.y" +{ yyval.ttype = yyvsp[-2].ttype; ; + break;} +case 155: +#line 906 "c-parse.y" +{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; + break;} +case 156: +#line 908 "c-parse.y" +{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; + break;} +case 157: +#line 913 "c-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 158: +#line 915 "c-parse.y" +{ yyval.ttype = yyvsp[0].ttype; ; + break;} +case 159: +#line 917 "c-parse.y" +{ yyval.ttype = tree_cons (yyvsp[-3].ttype, NULL_TREE, + build_tree_list (NULL_TREE, yyvsp[-1].ttype)); ; + break;} +case 160: +#line 920 "c-parse.y" +{ yyval.ttype = tree_cons (yyvsp[-5].ttype, NULL_TREE, + tree_cons (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype)); ; + break;} +case 161: +#line 923 "c-parse.y" +{ yyval.ttype = tree_cons (yyvsp[-3].ttype, NULL_TREE, yyvsp[-1].ttype); ; + break;} +case 167: +#line 941 "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 168: +#line 946 "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 169: +#line 954 "c-parse.y" +{ yyval.ttype = error_mark_node; ; + break;} +case 170: +#line 960 "c-parse.y" +{ if (pedantic) + pedwarn ("ANSI C forbids empty initializer braces"); ; + break;} +case 174: +#line 974 "c-parse.y" +{ process_init_element (yyvsp[0].ttype); ; + break;} +case 175: +#line 976 "c-parse.y" +{ push_init_level (0); ; + break;} +case 176: +#line 978 "c-parse.y" +{ process_init_element (pop_init_level (0)); ; + break;} +case 178: +#line 984 "c-parse.y" +{ set_init_index (yyvsp[-4].ttype, yyvsp[-2].ttype); ; + break;} +case 180: +#line 987 "c-parse.y" +{ set_init_index (yyvsp[-2].ttype, NULL_TREE); ; + break;} +case 182: +#line 990 "c-parse.y" +{ set_init_index (yyvsp[-1].ttype, NULL_TREE); ; + break;} +case 184: +#line 993 "c-parse.y" +{ set_init_label (yyvsp[-1].ttype); ; + break;} +case 186: +#line 996 "c-parse.y" +{ set_init_label (yyvsp[-1].ttype); ; + break;} +case 188: +#line 1002 "c-parse.y" +{ push_c_function_context (); + if (! start_function (current_declspecs, yyvsp[0].ttype, 1)) + { + pop_c_function_context (); + YYERROR1; + } + reinit_parse_for_function (); + store_parm_decls (); ; + break;} +case 189: +#line 1017 "c-parse.y" +{ finish_function (1); + pop_c_function_context (); ; + break;} +case 190: +#line 1023 "c-parse.y" +{ push_c_function_context (); + if (! start_function (current_declspecs, yyvsp[0].ttype, 1)) + { + pop_c_function_context (); + YYERROR1; + } + reinit_parse_for_function (); + store_parm_decls (); ; + break;} +case 191: +#line 1038 "c-parse.y" +{ finish_function (1); + pop_c_function_context (); ; + break;} +case 194: +#line 1054 "c-parse.y" +{ yyval.ttype = yyvsp[-1].ttype; ; + break;} +case 195: +#line 1056 "c-parse.y" +{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; + break;} +case 196: +#line 1061 "c-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; + break;} +case 197: +#line 1063 "c-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; + break;} +case 198: +#line 1065 "c-parse.y" +{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 200: +#line 1076 "c-parse.y" +{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; + break;} +case 201: +#line 1081 "c-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; + break;} +case 202: +#line 1083 "c-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; + break;} +case 203: +#line 1085 "c-parse.y" +{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 205: +#line 1094 "c-parse.y" +{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; + break;} +case 206: +#line 1099 "c-parse.y" +{ yyval.ttype = yyvsp[-1].ttype; ; + break;} +case 207: +#line 1101 "c-parse.y" +{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 208: +#line 1103 "c-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; + break;} +case 209: +#line 1105 "c-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; + break;} +case 211: +#line 1111 "c-parse.y" +{ yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype); + /* Start scope of tag before parsing components. */ + ; + break;} +case 212: +#line 1115 "c-parse.y" +{ yyval.ttype = finish_struct (yyvsp[-2].ttype, yyvsp[-1].ttype); + /* Really define the structure. */ + ; + break;} +case 213: +#line 1119 "c-parse.y" +{ yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE), + yyvsp[-1].ttype); ; + break;} +case 214: +#line 1122 "c-parse.y" +{ yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ; + break;} +case 215: +#line 1124 "c-parse.y" +{ yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ; + break;} +case 216: +#line 1126 "c-parse.y" +{ yyval.ttype = finish_struct (yyvsp[-2].ttype, yyvsp[-1].ttype); ; + break;} +case 217: +#line 1128 "c-parse.y" +{ yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE), + yyvsp[-1].ttype); ; + break;} +case 218: +#line 1131 "c-parse.y" +{ yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ; + break;} +case 219: +#line 1133 "c-parse.y" +{ yyvsp[0].itype = suspend_momentary (); + yyval.ttype = start_enum (yyvsp[-1].ttype); ; + break;} +case 220: +#line 1136 "c-parse.y" +{ yyval.ttype = finish_enum (yyvsp[-3].ttype, nreverse (yyvsp[-2].ttype)); + resume_momentary (yyvsp[-4].itype); ; + break;} +case 221: +#line 1139 "c-parse.y" +{ yyvsp[0].itype = suspend_momentary (); + yyval.ttype = start_enum (NULL_TREE); ; + break;} +case 222: +#line 1142 "c-parse.y" +{ yyval.ttype = finish_enum (yyvsp[-3].ttype, nreverse (yyvsp[-2].ttype)); + resume_momentary (yyvsp[-4].itype); ; + break;} +case 223: +#line 1145 "c-parse.y" +{ yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); ; + break;} +case 227: +#line 1156 "c-parse.y" +{ if (pedantic) pedwarn ("comma at end of enumerator list"); ; + break;} +case 228: +#line 1161 "c-parse.y" +{ yyval.ttype = yyvsp[0].ttype; ; + break;} +case 229: +#line 1163 "c-parse.y" +{ yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); + pedwarn ("no semicolon at end of struct or union"); ; + break;} +case 230: +#line 1168 "c-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 231: +#line 1170 "c-parse.y" +{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ; + break;} +case 232: +#line 1172 "c-parse.y" +{ if (pedantic) + pedwarn ("extra semicolon in struct or union specified"); ; + break;} +case 233: +#line 1187 "c-parse.y" +{ yyval.ttype = yyvsp[0].ttype; + current_declspecs = TREE_VALUE (declspec_stack); + declspec_stack = TREE_CHAIN (declspec_stack); + resume_momentary (yyvsp[-1].itype); ; + break;} +case 234: +#line 1192 "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 235: +#line 1197 "c-parse.y" +{ yyval.ttype = yyvsp[0].ttype; + current_declspecs = TREE_VALUE (declspec_stack); + declspec_stack = TREE_CHAIN (declspec_stack); + resume_momentary (yyvsp[-1].itype); ; + break;} +case 236: +#line 1202 "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 237: +#line 1207 "c-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 239: +#line 1213 "c-parse.y" +{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 240: +#line 1218 "c-parse.y" +{ yyval.ttype = grokfield (yyvsp[-3].filename, yyvsp[-2].lineno, yyvsp[-1].ttype, current_declspecs, NULL_TREE); + decl_attributes (yyval.ttype, yyvsp[0].ttype); ; + break;} +case 241: +#line 1222 "c-parse.y" +{ yyval.ttype = grokfield (yyvsp[-5].filename, yyvsp[-4].lineno, yyvsp[-3].ttype, current_declspecs, yyvsp[-1].ttype); + decl_attributes (yyval.ttype, yyvsp[0].ttype); ; + break;} +case 242: +#line 1225 "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); ; + break;} +case 244: +#line 1237 "c-parse.y" +{ yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-2].ttype); ; + break;} +case 245: +#line 1239 "c-parse.y" +{ yyval.ttype = error_mark_node; ; + break;} +case 246: +#line 1245 "c-parse.y" +{ yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ; + break;} +case 247: +#line 1247 "c-parse.y" +{ yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 248: +#line 1252 "c-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 249: +#line 1254 "c-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 250: +#line 1259 "c-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 252: +#line 1265 "c-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; + break;} +case 253: +#line 1267 "c-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; + break;} +case 254: +#line 1272 "c-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 255: +#line 1274 "c-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; + break;} +case 256: +#line 1279 "c-parse.y" +{ yyval.ttype = yyvsp[-1].ttype; ; + break;} +case 257: +#line 1282 "c-parse.y" +{ yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 258: +#line 1284 "c-parse.y" +{ yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ; + break;} +case 259: +#line 1286 "c-parse.y" +{ yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ; + break;} +case 260: +#line 1288 "c-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; + break;} +case 261: +#line 1290 "c-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; + break;} +case 262: +#line 1292 "c-parse.y" +{ yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; + break;} +case 263: +#line 1294 "c-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ; + break;} +case 264: +#line 1296 "c-parse.y" +{ yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ; + break;} +case 271: +#line 1318 "c-parse.y" +{ emit_line_note (input_filename, lineno); + pushlevel (0); + clear_last_expr (); + push_momentary (); + expand_start_bindings (0); + ; + break;} +case 273: +#line 1331 "c-parse.y" +{ if (pedantic) + pedwarn ("ANSI C forbids label declarations"); ; + break;} +case 276: +#line 1342 "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 277: +#line 1356 "c-parse.y" +{; + break;} +case 279: +#line 1361 "c-parse.y" +{ yyval.ttype = convert (void_type_node, integer_zero_node); ; + break;} +case 280: +#line 1363 "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 281: +#line 1371 "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 282: +#line 1379 "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 285: +#line 1399 "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 286: +#line 1412 "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 287: +#line 1419 "c-parse.y" +{ expand_loop_continue_here (); ; + break;} +case 288: +#line 1423 "c-parse.y" +{ yyval.filename = input_filename; ; + break;} +case 289: +#line 1427 "c-parse.y" +{ yyval.lineno = lineno; ; + break;} +case 290: +#line 1432 "c-parse.y" +{ ; + break;} +case 291: +#line 1437 "c-parse.y" +{ ; + break;} +case 292: +#line 1442 "c-parse.y" +{ ; + break;} +case 294: +#line 1448 "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 295: +#line 1460 "c-parse.y" +{ stmt_count++; ; + break;} +case 297: +#line 1463 "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 298: +#line 1480 "c-parse.y" +{ expand_start_else (); + yyvsp[-1].itype = stmt_count; + position_after_white_space (); ; + break;} +case 299: +#line 1484 "c-parse.y" +{ expand_end_cond (); + if (extra_warnings && stmt_count == yyvsp[-3].itype) + warning ("empty body in an else-statement"); ; + break;} +case 300: +#line 1488 "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 301: +#line 1500 "c-parse.y" +{ expand_end_cond (); ; + break;} +case 302: +#line 1502 "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 303: +#line 1512 "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 304: +#line 1521 "c-parse.y" +{ expand_end_loop (); ; + break;} +case 305: +#line 1524 "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 306: +#line 1531 "c-parse.y" +{ expand_end_loop (); + clear_momentary (); ; + break;} +case 307: +#line 1535 "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 308: +#line 1547 "c-parse.y" +{ yyvsp[0].lineno = lineno; + yyval.filename = input_filename; ; + break;} +case 309: +#line 1550 "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 310: +#line 1566 "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 311: +#line 1577 "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 312: +#line 1585 "c-parse.y" +{ expand_end_case (yyvsp[-3].ttype); + if (yychar == CONSTANT || yychar == STRING) + pop_momentary_nofree (); + else + pop_momentary (); ; + break;} +case 313: +#line 1591 "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 314: +#line 1596 "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 315: +#line 1601 "c-parse.y" +{ stmt_count++; + emit_line_note (yyvsp[-3].filename, yyvsp[-2].lineno); + c_expand_return (NULL_TREE); ; + break;} +case 316: +#line 1605 "c-parse.y" +{ stmt_count++; + emit_line_note (yyvsp[-4].filename, yyvsp[-3].lineno); + c_expand_return (yyvsp[-1].ttype); ; + break;} +case 317: +#line 1609 "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 318: +#line 1620 "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 319: +#line 1627 "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 320: +#line 1635 "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 321: +#line 1641 "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 322: +#line 1652 "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 325: +#line 1665 "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 326: +#line 1686 "c-parse.y" +{ + if (yyvsp[-1].itype) + iterator_for_loop_end (yyvsp[-3].ttype); + ; + break;} +case 327: +#line 1721 "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 328: +#line 1746 "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 329: +#line 1775 "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 330: +#line 1790 "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 331: +#line 1802 "c-parse.y" +{ emit_line_note (input_filename, lineno); + yyval.ttype = NULL_TREE; ; + break;} +case 332: +#line 1805 "c-parse.y" +{ emit_line_note (input_filename, lineno); ; + break;} +case 333: +#line 1810 "c-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 335: +#line 1817 "c-parse.y" +{ yyval.ttype = NULL_TREE; ; + break;} +case 338: +#line 1824 "c-parse.y" +{ yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; + break;} +case 339: +#line 1829 "c-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ; + break;} +case 340: +#line 1834 "c-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), NULL_TREE); ; + break;} +case 341: +#line 1836 "c-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, combine_strings (yyvsp[0].ttype), yyvsp[-2].ttype); ; + break;} +case 342: +#line 1842 "c-parse.y" +{ pushlevel (0); + clear_parm_order (); + declare_parm_level (0); ; + break;} +case 343: +#line 1846 "c-parse.y" +{ yyval.ttype = yyvsp[0].ttype; + parmlist_tags_warning (); + poplevel (0, 0, 0); ; + break;} +case 345: +#line 1854 "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 346: +#line 1862 "c-parse.y" +{ yyval.ttype = yyvsp[0].ttype; ; + break;} +case 347: +#line 1864 "c-parse.y" +{ yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ; + break;} +case 348: +#line 1870 "c-parse.y" +{ yyval.ttype = get_parm_info (0); ; + break;} +case 349: +#line 1872 "c-parse.y" +{ yyval.ttype = get_parm_info (0); + if (pedantic) + pedwarn ("ANSI C requires a named argument before `...'"); + ; + break;} +case 350: +#line 1877 "c-parse.y" +{ yyval.ttype = get_parm_info (1); ; + break;} +case 351: +#line 1879 "c-parse.y" +{ yyval.ttype = get_parm_info (0); ; + break;} +case 352: +#line 1884 "c-parse.y" +{ push_parm_decl (yyvsp[0].ttype); ; + break;} +case 353: +#line 1886 "c-parse.y" +{ push_parm_decl (yyvsp[0].ttype); ; + break;} +case 354: +#line 1893 "c-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ; + break;} +case 355: +#line 1895 "c-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ; + break;} +case 356: +#line 1897 "c-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 357: +#line 1899 "c-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype) ; ; + break;} +case 358: +#line 1901 "c-parse.y" +{ yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; + break;} +case 359: +#line 1908 "c-parse.y" +{ pushlevel (0); + clear_parm_order (); + declare_parm_level (1); ; + break;} +case 360: +#line 1912 "c-parse.y" +{ yyval.ttype = yyvsp[0].ttype; + parmlist_tags_warning (); + poplevel (0, 0, 0); ; + break;} +case 362: +#line 1920 "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 363: +#line 1930 "c-parse.y" +{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; + break;} +case 364: +#line 1932 "c-parse.y" +{ yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; + break;} +case 365: +#line 1938 "c-parse.y" +{ yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; + break;} +case 366: +#line 1940 "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 1943 "c-parse.y" + |