From bce4dd79948953c46f16751644d80cf2e53e5376 Mon Sep 17 00:00:00 2001 From: mrg Date: Tue, 10 Feb 2004 13:41:16 +0000 Subject: [PATCH] re-add generated files our builds need. (not sure why these are not in the 20040209 tarball.) --- gnu/dist/gcc/gcc/c-parse.c | 6036 +++++++++++++++ gnu/dist/gcc/gcc/c-parse.y | 3132 ++++++++ gnu/dist/gcc/gcc/cp/parse.c | 10645 +++++++++++++++++++++++++++ gnu/dist/gcc/gcc/cp/parse.h | 233 + gnu/dist/gcc/gcc/doc/fsf-funding.7 | 195 + gnu/dist/gcc/gcc/doc/gfdl.7 | 568 ++ gnu/dist/gcc/gcc/doc/gpl.7 | 528 ++ gnu/dist/gcc/gcc/gengtype-lex.c | 3061 ++++++++ gnu/dist/gcc/gcc/gengtype-yacc.c | 1644 +++++ gnu/dist/gcc/gcc/gengtype-yacc.h | 92 + gnu/dist/gcc/gcc/objc/objc-parse.c | 7422 +++++++++++++++++++ gnu/dist/gcc/gcc/objc/objc-parse.y | 3864 ++++++++++ 12 files changed, 37420 insertions(+) create mode 100644 gnu/dist/gcc/gcc/c-parse.c create mode 100644 gnu/dist/gcc/gcc/c-parse.y create mode 100644 gnu/dist/gcc/gcc/cp/parse.c create mode 100644 gnu/dist/gcc/gcc/cp/parse.h create mode 100644 gnu/dist/gcc/gcc/doc/fsf-funding.7 create mode 100644 gnu/dist/gcc/gcc/doc/gfdl.7 create mode 100644 gnu/dist/gcc/gcc/doc/gpl.7 create mode 100644 gnu/dist/gcc/gcc/gengtype-lex.c create mode 100644 gnu/dist/gcc/gcc/gengtype-yacc.c create mode 100644 gnu/dist/gcc/gcc/gengtype-yacc.h create mode 100644 gnu/dist/gcc/gcc/objc/objc-parse.c create mode 100644 gnu/dist/gcc/gcc/objc/objc-parse.y diff --git a/gnu/dist/gcc/gcc/c-parse.c b/gnu/dist/gcc/gcc/c-parse.c new file mode 100644 index 000000000000..8e18b3097f0b --- /dev/null +++ b/gnu/dist/gcc/gcc/c-parse.c @@ -0,0 +1,6036 @@ +/* A Bison parser, made by GNU Bison 1.875. */ + +/* Skeleton parser for Yacc-like parsing with Bison, + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +/* As a special exception, when this file is copied by Bison into a + Bison output file, you may use that output file without restriction. + This special exception was added by the Free Software Foundation + in version 1.24 of Bison. */ + +/* Written by Richard Stallman by simplifying the original so called + ``semantic'' parser. */ + +/* All symbols defined below should begin with yy or YY, to avoid + infringing on user name space. This should be done even for local + variables, as they might otherwise be expanded by user macros. + There are some unavoidable exceptions within include files to + define necessary library symbols; they are noted "INFRINGES ON + USER NAME SPACE" below. */ + +/* Identify Bison output. */ +#define YYBISON 1 + +/* Skeleton name. */ +#define YYSKELETON_NAME "yacc.c" + +/* Pure parsers. */ +#define YYPURE 0 + +/* Using locations. */ +#define YYLSP_NEEDED 0 + + + +/* Tokens. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + IDENTIFIER = 258, + TYPENAME = 259, + SCSPEC = 260, + STATIC = 261, + TYPESPEC = 262, + TYPE_QUAL = 263, + CONSTANT = 264, + STRING = 265, + ELLIPSIS = 266, + SIZEOF = 267, + ENUM = 268, + STRUCT = 269, + UNION = 270, + IF = 271, + ELSE = 272, + WHILE = 273, + DO = 274, + FOR = 275, + SWITCH = 276, + CASE = 277, + DEFAULT = 278, + BREAK = 279, + CONTINUE = 280, + RETURN = 281, + GOTO = 282, + ASM_KEYWORD = 283, + TYPEOF = 284, + ALIGNOF = 285, + ATTRIBUTE = 286, + EXTENSION = 287, + LABEL = 288, + REALPART = 289, + IMAGPART = 290, + VA_ARG = 291, + CHOOSE_EXPR = 292, + TYPES_COMPATIBLE_P = 293, + PTR_VALUE = 294, + PTR_BASE = 295, + PTR_EXTENT = 296, + STRING_FUNC_NAME = 297, + VAR_FUNC_NAME = 298, + ASSIGN = 299, + OROR = 300, + ANDAND = 301, + EQCOMPARE = 302, + ARITHCOMPARE = 303, + RSHIFT = 304, + LSHIFT = 305, + MINUSMINUS = 306, + PLUSPLUS = 307, + UNARY = 308, + HYPERUNARY = 309, + POINTSAT = 310, + INTERFACE = 311, + IMPLEMENTATION = 312, + END = 313, + SELECTOR = 314, + DEFS = 315, + ENCODE = 316, + CLASSNAME = 317, + PUBLIC = 318, + PRIVATE = 319, + PROTECTED = 320, + PROTOCOL = 321, + OBJECTNAME = 322, + CLASS = 323, + ALIAS = 324 + }; +#endif +#define IDENTIFIER 258 +#define TYPENAME 259 +#define SCSPEC 260 +#define STATIC 261 +#define TYPESPEC 262 +#define TYPE_QUAL 263 +#define CONSTANT 264 +#define STRING 265 +#define ELLIPSIS 266 +#define SIZEOF 267 +#define ENUM 268 +#define STRUCT 269 +#define UNION 270 +#define IF 271 +#define ELSE 272 +#define WHILE 273 +#define DO 274 +#define FOR 275 +#define SWITCH 276 +#define CASE 277 +#define DEFAULT 278 +#define BREAK 279 +#define CONTINUE 280 +#define RETURN 281 +#define GOTO 282 +#define ASM_KEYWORD 283 +#define TYPEOF 284 +#define ALIGNOF 285 +#define ATTRIBUTE 286 +#define EXTENSION 287 +#define LABEL 288 +#define REALPART 289 +#define IMAGPART 290 +#define VA_ARG 291 +#define CHOOSE_EXPR 292 +#define TYPES_COMPATIBLE_P 293 +#define PTR_VALUE 294 +#define PTR_BASE 295 +#define PTR_EXTENT 296 +#define STRING_FUNC_NAME 297 +#define VAR_FUNC_NAME 298 +#define ASSIGN 299 +#define OROR 300 +#define ANDAND 301 +#define EQCOMPARE 302 +#define ARITHCOMPARE 303 +#define RSHIFT 304 +#define LSHIFT 305 +#define MINUSMINUS 306 +#define PLUSPLUS 307 +#define UNARY 308 +#define HYPERUNARY 309 +#define POINTSAT 310 +#define INTERFACE 311 +#define IMPLEMENTATION 312 +#define END 313 +#define SELECTOR 314 +#define DEFS 315 +#define ENCODE 316 +#define CLASSNAME 317 +#define PUBLIC 318 +#define PRIVATE 319 +#define PROTECTED 320 +#define PROTOCOL 321 +#define OBJECTNAME 322 +#define CLASS 323 +#define ALIAS 324 + + + + +/* Copy the first part of user declarations. */ +#line 34 "c-parse.y" + +#include "config.h" +#include "system.h" +#include "tree.h" +#include "input.h" +#include "cpplib.h" +#include "intl.h" +#include "timevar.h" +#include "c-pragma.h" /* For YYDEBUG definition, and parse_in. */ +#include "c-tree.h" +#include "flags.h" +#include "output.h" +#include "toplev.h" +#include "ggc.h" + +#ifdef MULTIBYTE_CHARS +#include +#endif + + +/* Like YYERROR but do call yyerror. */ +#define YYERROR1 { yyerror ("syntax error"); YYERROR; } + +/* Like the default stack expander, except (1) use realloc when possible, + (2) impose no hard maxiumum on stack size, (3) REALLY do not use alloca. + + Irritatingly, YYSTYPE is defined after this %{ %} block, so we cannot + give malloced_yyvs its proper type. This is ok since all we need from + it is to be able to free it. */ + +static short *malloced_yyss; +static void *malloced_yyvs; + +#define yyoverflow(MSG, SS, SSSIZE, VS, VSSIZE, YYSSZ) \ +do { \ + size_t newsize; \ + short *newss; \ + YYSTYPE *newvs; \ + newsize = *(YYSSZ) *= 2; \ + if (malloced_yyss) \ + { \ + newss = (short *) \ + really_call_realloc (*(SS), newsize * sizeof (short)); \ + newvs = (YYSTYPE *) \ + really_call_realloc (*(VS), newsize * sizeof (YYSTYPE)); \ + } \ + else \ + { \ + newss = (short *) really_call_malloc (newsize * sizeof (short)); \ + newvs = (YYSTYPE *) really_call_malloc (newsize * sizeof (YYSTYPE)); \ + if (newss) \ + memcpy (newss, *(SS), (SSSIZE)); \ + if (newvs) \ + memcpy (newvs, *(VS), (VSSIZE)); \ + } \ + if (!newss || !newvs) \ + { \ + yyerror (MSG); \ + return 2; \ + } \ + *(SS) = newss; \ + *(VS) = newvs; \ + malloced_yyss = newss; \ + malloced_yyvs = (void *) newvs; \ +} while (0) + + +/* Enabling traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif + +/* Enabling verbose error messages. */ +#ifdef YYERROR_VERBOSE +# undef YYERROR_VERBOSE +# define YYERROR_VERBOSE 1 +#else +# define YYERROR_VERBOSE 0 +#endif + +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) +#line 103 "c-parse.y" +typedef union YYSTYPE {long itype; tree ttype; enum tree_code code; + const char *filename; int lineno; } YYSTYPE; +/* Line 191 of yacc.c. */ +#line 283 "c-p1874.c" +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 +#endif + + + +/* Copy the second part of user declarations. */ +#line 237 "c-parse.y" + +/* Number of statements (loosely speaking) and compound statements + seen so far. */ +static int stmt_count; +static int compstmt_count; + +/* Input file and line number of the end of the body of last simple_if; + used by the stmt-rule immediately after simple_if returns. */ +static const char *if_stmt_file; +static int if_stmt_line; + +/* List of types and structure classes of the current declaration. */ +static GTY(()) tree current_declspecs; +static GTY(()) tree prefix_attributes; + +/* List of all the attributes applying to the identifier currently being + declared; includes prefix_attributes and possibly some more attributes + just after a comma. */ +static GTY(()) tree all_prefix_attributes; + +/* Stack of saved values of current_declspecs, prefix_attributes and + all_prefix_attributes. */ +static GTY(()) tree declspec_stack; + +/* PUSH_DECLSPEC_STACK is called from setspecs; POP_DECLSPEC_STACK + should be called from the productions making use of setspecs. */ +#define PUSH_DECLSPEC_STACK \ + do { \ + declspec_stack = tree_cons (build_tree_list (prefix_attributes, \ + all_prefix_attributes), \ + current_declspecs, \ + declspec_stack); \ + } while (0) + +#define POP_DECLSPEC_STACK \ + do { \ + current_declspecs = TREE_VALUE (declspec_stack); \ + prefix_attributes = TREE_PURPOSE (TREE_PURPOSE (declspec_stack)); \ + all_prefix_attributes = TREE_VALUE (TREE_PURPOSE (declspec_stack)); \ + declspec_stack = TREE_CHAIN (declspec_stack); \ + } while (0) + +/* For __extension__, save/restore the warning flags which are + controlled by __extension__. */ +#define SAVE_EXT_FLAGS() \ + size_int (pedantic \ + | (warn_pointer_arith << 1) \ + | (warn_traditional << 2) \ + | (flag_iso << 3)) + +#define RESTORE_EXT_FLAGS(tval) \ + do { \ + int val = tree_low_cst (tval, 0); \ + pedantic = val & 1; \ + warn_pointer_arith = (val >> 1) & 1; \ + warn_traditional = (val >> 2) & 1; \ + flag_iso = (val >> 3) & 1; \ + } while (0) + + +#define OBJC_NEED_RAW_IDENTIFIER(VAL) /* nothing */ + +static bool parsing_iso_function_signature; + +/* Tell yyparse how to print a token's value, if yydebug is set. */ + +#define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL) + +static void yyprint PARAMS ((FILE *, int, YYSTYPE)); +static void yyerror PARAMS ((const char *)); +static int yylexname PARAMS ((void)); +static int yylexstring PARAMS ((void)); +static inline int _yylex PARAMS ((void)); +static int yylex PARAMS ((void)); +static void init_reswords PARAMS ((void)); + + /* Initialisation routine for this file. */ +void +c_parse_init () +{ + init_reswords (); +} + + + +/* Line 214 of yacc.c. */ +#line 379 "c-p1874.c" + +#if ! defined (yyoverflow) || YYERROR_VERBOSE + +/* The parser invokes alloca or malloc; define the necessary symbols. */ + +# if YYSTACK_USE_ALLOCA +# define YYSTACK_ALLOC alloca +# else +# ifndef YYSTACK_USE_ALLOCA +# if defined (alloca) || defined (_ALLOCA_H) +# define YYSTACK_ALLOC alloca +# else +# ifdef __GNUC__ +# define YYSTACK_ALLOC __builtin_alloca +# endif +# endif +# endif +# endif + +# ifdef YYSTACK_ALLOC + /* Pacify GCC's `empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) +# else +# if defined (__STDC__) || defined (__cplusplus) +# include /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# endif +# define YYSTACK_ALLOC malloc +# define YYSTACK_FREE free +# endif +#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */ + + +#if (! defined (yyoverflow) \ + && (! defined (__cplusplus) \ + || (YYSTYPE_IS_TRIVIAL))) + +/* A type that is properly aligned for any stack member. */ +union yyalloc +{ + short yyss; + YYSTYPE yyvs; + }; + +/* The size of the maximum gap between one aligned stack and the next. */ +# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) + +/* The size of an array large to enough to hold all stacks, each with + N elements. */ +# define YYSTACK_BYTES(N) \ + ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ + + YYSTACK_GAP_MAXIMUM) + +/* Copy COUNT objects from FROM to TO. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if 1 < __GNUC__ +# define YYCOPY(To, From, Count) \ + __builtin_memcpy (To, From, (Count) * sizeof (*(From))) +# else +# define YYCOPY(To, From, Count) \ + do \ + { \ + register YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (To)[yyi] = (From)[yyi]; \ + } \ + while (0) +# endif +# endif + +/* Relocate STACK from its old location to the new one. The + local variables YYSIZE and YYSTACKSIZE give the old and new number of + elements in the stack, and YYPTR gives the new location of the + stack. Advance YYPTR to a properly aligned location for the next + stack. */ +# define YYSTACK_RELOCATE(Stack) \ + do \ + { \ + YYSIZE_T yynewbytes; \ + YYCOPY (&yyptr->Stack, Stack, yysize); \ + Stack = &yyptr->Stack; \ + yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ + yyptr += yynewbytes / sizeof (*yyptr); \ + } \ + while (0) + +#endif + +#if defined (__STDC__) || defined (__cplusplus) + typedef signed char yysigned_char; +#else + typedef short yysigned_char; +#endif + +/* YYFINAL -- State number of the termination state. */ +#define YYFINAL 4 +/* YYLAST -- Last index in YYTABLE. */ +#define YYLAST 3120 + +/* YYNTOKENS -- Number of terminals. */ +#define YYNTOKENS 92 +/* YYNNTS -- Number of nonterminals. */ +#define YYNNTS 202 +/* YYNRULES -- Number of rules. */ +#define YYNRULES 558 +/* YYNRULES -- Number of states. */ +#define YYNSTATES 896 + +/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ +#define YYUNDEFTOK 2 +#define YYMAXUTOK 324 + +#define YYTRANSLATE(YYX) \ + ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) + +/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ +static const unsigned 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, 88, 2, 2, 2, 61, 52, 2, + 67, 84, 59, 57, 89, 58, 66, 60, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 47, 85, + 2, 44, 2, 46, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 68, 2, 91, 51, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 90, 50, 86, 87, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, + 35, 36, 37, 38, 39, 40, 41, 42, 43, 45, + 48, 49, 53, 54, 55, 56, 62, 63, 64, 65, + 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, + 79, 80, 81, 82, 83 +}; + +#if YYDEBUG +/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in + YYRHS. */ +static const unsigned short yyprhs[] = +{ + 0, 0, 3, 4, 6, 7, 10, 11, 15, 17, + 19, 21, 27, 30, 34, 39, 44, 47, 50, 53, + 55, 56, 57, 67, 72, 73, 74, 84, 89, 90, + 91, 100, 104, 106, 108, 110, 112, 114, 116, 118, + 120, 122, 124, 125, 127, 129, 133, 135, 138, 141, + 144, 147, 150, 155, 158, 163, 166, 169, 171, 173, + 175, 177, 182, 184, 188, 192, 196, 200, 204, 208, + 212, 216, 220, 224, 228, 232, 233, 238, 239, 244, + 245, 246, 254, 255, 261, 265, 269, 271, 273, 275, + 277, 278, 286, 290, 294, 298, 302, 307, 314, 323, + 330, 335, 339, 343, 346, 349, 351, 352, 354, 358, + 360, 362, 365, 368, 373, 378, 381, 384, 388, 389, + 391, 396, 401, 405, 409, 412, 415, 417, 420, 423, + 426, 429, 432, 434, 437, 439, 442, 445, 448, 451, + 454, 457, 459, 462, 465, 468, 471, 474, 477, 480, + 483, 486, 489, 492, 495, 498, 501, 504, 507, 509, + 512, 515, 518, 521, 524, 527, 530, 533, 536, 539, + 542, 545, 548, 551, 554, 557, 560, 563, 566, 569, + 572, 575, 578, 581, 584, 587, 590, 593, 596, 599, + 602, 605, 608, 611, 614, 617, 620, 623, 626, 629, + 632, 635, 638, 641, 643, 645, 647, 649, 651, 653, + 655, 657, 659, 661, 663, 665, 667, 669, 671, 673, + 675, 677, 679, 681, 683, 685, 687, 689, 691, 693, + 695, 697, 699, 701, 703, 705, 707, 709, 711, 713, + 715, 717, 719, 721, 723, 725, 727, 729, 731, 733, + 735, 737, 739, 741, 743, 745, 747, 749, 751, 753, + 754, 756, 758, 760, 762, 764, 766, 768, 770, 775, + 780, 782, 787, 789, 794, 795, 800, 801, 808, 812, + 813, 820, 824, 825, 827, 829, 832, 839, 841, 845, + 846, 848, 853, 860, 865, 867, 869, 871, 873, 875, + 877, 879, 880, 885, 887, 888, 891, 893, 897, 901, + 904, 905, 910, 912, 913, 918, 920, 922, 924, 927, + 930, 936, 940, 941, 942, 950, 951, 952, 960, 962, + 964, 969, 973, 976, 980, 982, 984, 986, 990, 993, + 995, 999, 1002, 1006, 1010, 1015, 1019, 1024, 1028, 1031, + 1033, 1035, 1038, 1040, 1043, 1045, 1048, 1049, 1057, 1063, + 1064, 1072, 1078, 1079, 1088, 1089, 1097, 1100, 1103, 1106, + 1107, 1109, 1110, 1112, 1114, 1117, 1118, 1122, 1125, 1129, + 1134, 1138, 1140, 1142, 1145, 1147, 1152, 1154, 1159, 1164, + 1171, 1177, 1182, 1189, 1195, 1197, 1201, 1203, 1205, 1209, + 1210, 1214, 1215, 1217, 1218, 1220, 1223, 1225, 1227, 1229, + 1233, 1236, 1240, 1245, 1249, 1252, 1255, 1257, 1262, 1266, + 1271, 1277, 1283, 1285, 1287, 1289, 1291, 1293, 1296, 1299, + 1302, 1305, 1307, 1310, 1313, 1316, 1318, 1321, 1324, 1327, + 1330, 1332, 1335, 1337, 1339, 1341, 1343, 1346, 1347, 1348, + 1349, 1350, 1351, 1353, 1355, 1358, 1362, 1364, 1367, 1369, + 1371, 1377, 1379, 1381, 1384, 1387, 1390, 1393, 1394, 1400, + 1401, 1406, 1407, 1408, 1410, 1413, 1417, 1421, 1425, 1426, + 1431, 1433, 1437, 1438, 1439, 1447, 1453, 1456, 1457, 1458, + 1459, 1460, 1473, 1474, 1481, 1484, 1486, 1488, 1491, 1495, + 1498, 1501, 1504, 1508, 1515, 1524, 1535, 1548, 1552, 1557, + 1559, 1563, 1569, 1572, 1578, 1579, 1581, 1582, 1584, 1585, + 1587, 1589, 1593, 1598, 1606, 1608, 1612, 1613, 1617, 1620, + 1621, 1622, 1629, 1632, 1633, 1635, 1637, 1641, 1643, 1647, + 1652, 1657, 1661, 1666, 1670, 1675, 1680, 1684, 1689, 1693, + 1695, 1696, 1700, 1702, 1705, 1707, 1711, 1713, 1717 +}; + +/* YYRHS -- A `-1'-separated list of the rules' RHS. */ +static const short yyrhs[] = +{ + 93, 0, -1, -1, 94, -1, -1, 95, 97, -1, + -1, 94, 96, 97, -1, 98, -1, 100, -1, 99, + -1, 28, 67, 109, 84, 85, -1, 293, 97, -1, + 131, 165, 85, -1, 151, 131, 165, 85, -1, 150, + 131, 164, 85, -1, 157, 85, -1, 1, 85, -1, + 1, 86, -1, 85, -1, -1, -1, 150, 131, 194, + 101, 125, 102, 254, 255, 243, -1, 150, 131, 194, + 1, -1, -1, -1, 151, 131, 199, 103, 125, 104, + 254, 255, 243, -1, 151, 131, 199, 1, -1, -1, + -1, 131, 199, 105, 125, 106, 254, 255, 243, -1, + 131, 199, 1, -1, 3, -1, 4, -1, 52, -1, + 58, -1, 57, -1, 63, -1, 62, -1, 87, -1, + 88, -1, 111, -1, -1, 111, -1, 117, -1, 111, + 89, 117, -1, 123, -1, 59, 116, -1, 293, 116, + -1, 108, 116, -1, 49, 107, -1, 113, 112, -1, + 113, 67, 220, 84, -1, 114, 112, -1, 114, 67, + 220, 84, -1, 34, 116, -1, 35, 116, -1, 12, + -1, 30, -1, 29, -1, 112, -1, 67, 220, 84, + 116, -1, 116, -1, 117, 57, 117, -1, 117, 58, + 117, -1, 117, 59, 117, -1, 117, 60, 117, -1, + 117, 61, 117, -1, 117, 56, 117, -1, 117, 55, + 117, -1, 117, 54, 117, -1, 117, 53, 117, -1, + 117, 52, 117, -1, 117, 50, 117, -1, 117, 51, + 117, -1, -1, 117, 49, 118, 117, -1, -1, 117, + 48, 119, 117, -1, -1, -1, 117, 46, 120, 109, + 47, 121, 117, -1, -1, 117, 46, 122, 47, 117, + -1, 117, 44, 117, -1, 117, 45, 117, -1, 3, + -1, 9, -1, 10, -1, 43, -1, -1, 67, 220, + 84, 90, 124, 180, 86, -1, 67, 109, 84, -1, + 67, 1, 84, -1, 247, 245, 84, -1, 247, 1, + 84, -1, 123, 67, 110, 84, -1, 36, 67, 117, + 89, 220, 84, -1, 37, 67, 117, 89, 117, 89, + 117, 84, -1, 38, 67, 220, 89, 220, 84, -1, + 123, 68, 109, 91, -1, 123, 66, 107, -1, 123, + 69, 107, -1, 123, 63, -1, 123, 62, -1, 126, + -1, -1, 128, -1, 254, 255, 129, -1, 127, -1, + 235, -1, 128, 127, -1, 127, 235, -1, 152, 131, + 164, 85, -1, 153, 131, 165, 85, -1, 152, 85, + -1, 153, 85, -1, 254, 255, 133, -1, -1, 171, + -1, 150, 131, 164, 85, -1, 151, 131, 165, 85, + -1, 150, 131, 188, -1, 151, 131, 191, -1, 157, + 85, -1, 293, 133, -1, 8, -1, 134, 8, -1, + 135, 8, -1, 134, 172, -1, 136, 8, -1, 137, + 8, -1, 172, -1, 136, 172, -1, 159, -1, 138, + 8, -1, 139, 8, -1, 138, 161, -1, 139, 161, + -1, 134, 159, -1, 135, 159, -1, 160, -1, 138, + 172, -1, 138, 162, -1, 139, 162, -1, 134, 160, + -1, 135, 160, -1, 140, 8, -1, 141, 8, -1, + 140, 161, -1, 141, 161, -1, 136, 159, -1, 137, + 159, -1, 140, 172, -1, 140, 162, -1, 141, 162, + -1, 136, 160, -1, 137, 160, -1, 177, -1, 142, + 8, -1, 143, 8, -1, 134, 177, -1, 135, 177, + -1, 142, 177, -1, 143, 177, -1, 142, 172, -1, + 144, 8, -1, 145, 8, -1, 136, 177, -1, 137, + 177, -1, 144, 177, -1, 145, 177, -1, 144, 172, + -1, 146, 8, -1, 147, 8, -1, 146, 161, -1, + 147, 161, -1, 142, 159, -1, 143, 159, -1, 138, + 177, -1, 139, 177, -1, 146, 177, -1, 147, 177, + -1, 146, 172, -1, 146, 162, -1, 147, 162, -1, + 142, 160, -1, 143, 160, -1, 148, 8, -1, 149, + 8, -1, 148, 161, -1, 149, 161, -1, 144, 159, + -1, 145, 159, -1, 140, 177, -1, 141, 177, -1, + 148, 177, -1, 149, 177, -1, 148, 172, -1, 148, + 162, -1, 149, 162, -1, 144, 160, -1, 145, 160, + -1, 138, -1, 139, -1, 140, -1, 141, -1, 146, + -1, 147, -1, 148, -1, 149, -1, 134, -1, 135, + -1, 136, -1, 137, -1, 142, -1, 143, -1, 144, + -1, 145, -1, 138, -1, 139, -1, 146, -1, 147, + -1, 134, -1, 135, -1, 142, -1, 143, -1, 138, + -1, 139, -1, 140, -1, 141, -1, 134, -1, 135, + -1, 136, -1, 137, -1, 138, -1, 139, -1, 140, + -1, 141, -1, 134, -1, 135, -1, 136, -1, 137, + -1, 134, -1, 135, -1, 136, -1, 137, -1, 138, + -1, 139, -1, 140, -1, 141, -1, 142, -1, 143, + -1, 144, -1, 145, -1, 146, -1, 147, -1, 148, + -1, 149, -1, -1, 155, -1, 161, -1, 163, -1, + 162, -1, 7, -1, 208, -1, 203, -1, 4, -1, + 115, 67, 109, 84, -1, 115, 67, 220, 84, -1, + 167, -1, 164, 89, 132, 167, -1, 169, -1, 165, + 89, 132, 169, -1, -1, 28, 67, 10, 84, -1, + -1, 194, 166, 171, 44, 168, 178, -1, 194, 166, + 171, -1, -1, 199, 166, 171, 44, 170, 178, -1, + 199, 166, 171, -1, -1, 172, -1, 173, -1, 172, + 173, -1, 31, 67, 67, 174, 84, 84, -1, 175, + -1, 174, 89, 175, -1, -1, 176, -1, 176, 67, + 3, 84, -1, 176, 67, 3, 89, 111, 84, -1, + 176, 67, 110, 84, -1, 107, -1, 177, -1, 7, + -1, 8, -1, 6, -1, 5, -1, 117, -1, -1, + 90, 179, 180, 86, -1, 1, -1, -1, 181, 209, + -1, 182, -1, 181, 89, 182, -1, 186, 44, 184, + -1, 187, 184, -1, -1, 107, 47, 183, 184, -1, + 184, -1, -1, 90, 185, 180, 86, -1, 117, -1, + 1, -1, 187, -1, 186, 187, -1, 66, 107, -1, + 68, 117, 11, 117, 91, -1, 68, 117, 91, -1, + -1, -1, 194, 189, 125, 190, 254, 255, 248, -1, + -1, -1, 199, 192, 125, 193, 254, 255, 248, -1, + 195, -1, 199, -1, 67, 171, 195, 84, -1, 195, + 67, 288, -1, 195, 228, -1, 59, 158, 195, -1, + 4, -1, 197, -1, 198, -1, 197, 67, 288, -1, + 197, 228, -1, 4, -1, 198, 67, 288, -1, 198, + 228, -1, 59, 158, 197, -1, 59, 158, 198, -1, + 67, 171, 198, 84, -1, 199, 67, 288, -1, 67, + 171, 199, 84, -1, 59, 158, 199, -1, 199, 228, + -1, 3, -1, 14, -1, 14, 172, -1, 15, -1, + 15, 172, -1, 13, -1, 13, 172, -1, -1, 200, + 107, 90, 204, 211, 86, 171, -1, 200, 90, 211, + 86, 171, -1, -1, 201, 107, 90, 205, 211, 86, + 171, -1, 201, 90, 211, 86, 171, -1, -1, 202, + 107, 90, 206, 218, 210, 86, 171, -1, -1, 202, + 90, 207, 218, 210, 86, 171, -1, 200, 107, -1, + 201, 107, -1, 202, 107, -1, -1, 89, -1, -1, + 89, -1, 212, -1, 212, 213, -1, -1, 212, 213, + 85, -1, 212, 85, -1, 154, 131, 214, -1, 154, + 131, 254, 255, -1, 155, 131, 215, -1, 155, -1, + 1, -1, 293, 213, -1, 216, -1, 214, 89, 132, + 216, -1, 217, -1, 215, 89, 132, 217, -1, 254, + 255, 194, 171, -1, 254, 255, 194, 47, 117, 171, + -1, 254, 255, 47, 117, 171, -1, 254, 255, 199, + 171, -1, 254, 255, 199, 47, 117, 171, -1, 254, + 255, 47, 117, 171, -1, 219, -1, 218, 89, 219, + -1, 1, -1, 107, -1, 107, 44, 117, -1, -1, + 156, 221, 222, -1, -1, 224, -1, -1, 224, -1, + 225, 172, -1, 226, -1, 225, -1, 227, -1, 59, + 158, 225, -1, 59, 158, -1, 59, 158, 226, -1, + 67, 171, 224, 84, -1, 227, 67, 278, -1, 227, + 228, -1, 67, 278, -1, 228, -1, 68, 158, 109, + 91, -1, 68, 158, 91, -1, 68, 158, 59, 91, + -1, 68, 6, 158, 109, 91, -1, 68, 155, 6, + 109, 91, -1, 230, -1, 231, -1, 232, -1, 233, + -1, 258, -1, 230, 258, -1, 231, 258, -1, 232, + 258, -1, 233, 258, -1, 130, -1, 230, 130, -1, + 231, 130, -1, 233, 130, -1, 259, -1, 230, 259, + -1, 231, 259, -1, 232, 259, -1, 233, 259, -1, + 235, -1, 234, 235, -1, 230, -1, 231, -1, 232, + -1, 233, -1, 1, 85, -1, -1, -1, -1, -1, + -1, 241, -1, 242, -1, 241, 242, -1, 33, 292, + 85, -1, 248, -1, 1, 248, -1, 90, -1, 86, + -1, 236, 240, 246, 86, 237, -1, 229, -1, 1, + -1, 67, 90, -1, 244, 245, -1, 250, 257, -1, + 250, 1, -1, -1, 16, 251, 67, 109, 84, -1, + -1, 19, 253, 257, 18, -1, -1, -1, 258, -1, + 259, 256, -1, 238, 256, 239, -1, 254, 255, 270, + -1, 254, 255, 271, -1, -1, 249, 17, 261, 257, + -1, 249, -1, 249, 17, 1, -1, -1, -1, 18, + 262, 67, 109, 84, 263, 257, -1, 252, 67, 109, + 84, 85, -1, 252, 1, -1, -1, -1, -1, -1, + 20, 264, 67, 269, 265, 273, 85, 266, 273, 84, + 267, 257, -1, -1, 21, 67, 109, 84, 268, 257, + -1, 273, 85, -1, 133, -1, 248, -1, 109, 85, + -1, 238, 260, 239, -1, 24, 85, -1, 25, 85, + -1, 26, 85, -1, 26, 109, 85, -1, 28, 272, + 67, 109, 84, 85, -1, 28, 272, 67, 109, 47, + 274, 84, 85, -1, 28, 272, 67, 109, 47, 274, + 47, 274, 84, 85, -1, 28, 272, 67, 109, 47, + 274, 47, 274, 47, 277, 84, 85, -1, 27, 107, + 85, -1, 27, 59, 109, 85, -1, 85, -1, 22, + 117, 47, -1, 22, 117, 11, 117, 47, -1, 23, + 47, -1, 107, 254, 255, 47, 171, -1, -1, 8, + -1, -1, 109, -1, -1, 275, -1, 276, -1, 275, + 89, 276, -1, 10, 67, 109, 84, -1, 68, 107, + 91, 10, 67, 109, 84, -1, 10, -1, 277, 89, + 10, -1, -1, 171, 279, 280, -1, 283, 84, -1, + -1, -1, 284, 85, 281, 171, 282, 280, -1, 1, + 84, -1, -1, 11, -1, 284, -1, 284, 89, 11, + -1, 286, -1, 284, 89, 285, -1, 150, 131, 196, + 171, -1, 150, 131, 199, 171, -1, 150, 131, 223, + -1, 151, 131, 199, 171, -1, 151, 131, 223, -1, + 152, 287, 196, 171, -1, 152, 287, 199, 171, -1, + 152, 287, 223, -1, 153, 287, 199, 171, -1, 153, + 287, 223, -1, 131, -1, -1, 171, 289, 290, -1, + 280, -1, 291, 84, -1, 3, -1, 291, 89, 3, + -1, 107, -1, 292, 89, 107, -1, 32, -1 +}; + +/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ +static const unsigned short yyrline[] = +{ + 0, 324, 324, 328, 347, 347, 348, 348, 352, 357, + 358, 359, 367, 372, 379, 381, 383, 385, 386, 387, + 394, 399, 393, 405, 408, 413, 407, 419, 422, 427, + 421, 433, 438, 439, 442, 444, 446, 451, 453, 455, + 457, 461, 467, 468, 472, 474, 479, 480, 483, 486, + 490, 492, 498, 501, 504, 507, 509, 514, 518, 522, + 526, 527, 532, 533, 535, 537, 539, 541, 543, 545, + 547, 549, 551, 553, 555, 558, 557, 565, 564, 572, + 576, 571, 582, 581, 592, 599, 611, 617, 618, 620, + 623, 622, 635, 640, 642, 658, 665, 667, 670, 680, + 690, 692, 696, 702, 704, 710, 718, 724, 731, 736, + 737, 738, 739, 747, 749, 751, 754, 763, 772, 782, + 787, 789, 791, 793, 795, 797, 854, 857, 860, 866, + 872, 875, 881, 884, 890, 893, 896, 899, 902, 905, + 908, 914, 917, 920, 923, 926, 929, 935, 938, 941, + 944, 947, 950, 956, 959, 962, 965, 968, 974, 977, + 980, 983, 989, 995, 1001, 1010, 1016, 1019, 1022, 1028, + 1034, 1040, 1049, 1055, 1058, 1061, 1064, 1067, 1070, 1073, + 1079, 1085, 1091, 1100, 1103, 1106, 1109, 1112, 1118, 1121, + 1124, 1127, 1130, 1133, 1136, 1142, 1148, 1154, 1163, 1166, + 1169, 1172, 1175, 1182, 1183, 1184, 1185, 1186, 1187, 1188, + 1189, 1193, 1194, 1195, 1196, 1197, 1198, 1199, 1200, 1204, + 1205, 1206, 1207, 1211, 1212, 1213, 1214, 1218, 1219, 1220, + 1221, 1225, 1226, 1227, 1228, 1232, 1233, 1234, 1235, 1236, + 1237, 1238, 1239, 1243, 1244, 1245, 1246, 1247, 1248, 1249, + 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1264, + 1265, 1291, 1292, 1296, 1300, 1302, 1306, 1310, 1314, 1316, + 1323, 1324, 1328, 1329, 1334, 1335, 1341, 1340, 1348, 1357, + 1356, 1364, 1373, 1374, 1379, 1381, 1386, 1391, 1393, 1399, + 1400, 1402, 1404, 1406, 1414, 1415, 1416, 1417, 1421, 1422, + 1428, 1430, 1429, 1433, 1440, 1442, 1446, 1447, 1453, 1456, + 1460, 1459, 1465, 1470, 1469, 1473, 1475, 1479, 1480, 1484, + 1486, 1490, 1496, 1509, 1495, 1527, 1540, 1526, 1560, 1561, + 1567, 1569, 1574, 1576, 1578, 1586, 1587, 1591, 1596, 1598, + 1602, 1607, 1609, 1611, 1613, 1621, 1626, 1628, 1630, 1632, + 1636, 1638, 1643, 1645, 1650, 1652, 1664, 1663, 1669, 1674, + 1673, 1677, 1682, 1681, 1687, 1686, 1694, 1696, 1698, 1706, + 1708, 1711, 1713, 1719, 1721, 1727, 1728, 1730, 1736, 1739, + 1749, 1752, 1757, 1759, 1765, 1766, 1771, 1772, 1777, 1780, + 1784, 1790, 1793, 1797, 1808, 1809, 1814, 1820, 1822, 1828, + 1827, 1836, 1837, 1842, 1845, 1849, 1856, 1857, 1861, 1862, + 1867, 1869, 1874, 1876, 1878, 1880, 1882, 1889, 1891, 1893, + 1895, 1898, 1909, 1910, 1911, 1915, 1919, 1920, 1921, 1922, + 1923, 1927, 1928, 1931, 1932, 1936, 1937, 1938, 1939, 1940, + 1944, 1945, 1949, 1950, 1951, 1952, 1955, 1959, 1966, 1971, + 1987, 2001, 2003, 2009, 2010, 2014, 2028, 2030, 2033, 2037, + 2039, 2047, 2048, 2052, 2069, 2077, 2082, 2095, 2094, 2109, + 2108, 2128, 2134, 2140, 2141, 2146, 2152, 2166, 2176, 2175, + 2183, 2195, 2206, 2209, 2205, 2215, 2218, 2221, 2225, 2228, + 2232, 2220, 2236, 2235, 2243, 2245, 2251, 2253, 2256, 2260, + 2263, 2266, 2269, 2272, 2276, 2280, 2285, 2289, 2301, 2307, + 2315, 2318, 2321, 2324, 2341, 2343, 2349, 2350, 2356, 2357, + 2361, 2362, 2367, 2369, 2376, 2378, 2389, 2388, 2399, 2401, + 2409, 2400, 2413, 2420, 2421, 2431, 2435, 2440, 2442, 2449, + 2454, 2459, 2462, 2468, 2476, 2481, 2486, 2489, 2495, 2501, + 2511, 2510, 2521, 2522, 2540, 2542, 2548, 2550, 2555 +}; +#endif + +#if YYDEBUG || YYERROR_VERBOSE +/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. + First, the terminals, then, starting at YYNTOKENS, nonterminals. */ +static const char *const yytname[] = +{ + "$end", "error", "$undefined", "IDENTIFIER", "TYPENAME", "SCSPEC", + "STATIC", "TYPESPEC", "TYPE_QUAL", "CONSTANT", "STRING", "ELLIPSIS", + "SIZEOF", "ENUM", "STRUCT", "UNION", "IF", "ELSE", "WHILE", "DO", "FOR", + "SWITCH", "CASE", "DEFAULT", "BREAK", "CONTINUE", "RETURN", "GOTO", + "ASM_KEYWORD", "TYPEOF", "ALIGNOF", "ATTRIBUTE", "EXTENSION", "LABEL", + "REALPART", "IMAGPART", "VA_ARG", "CHOOSE_EXPR", "TYPES_COMPATIBLE_P", + "PTR_VALUE", "PTR_BASE", "PTR_EXTENT", "STRING_FUNC_NAME", + "VAR_FUNC_NAME", "'='", "ASSIGN", "'?'", "':'", "OROR", "ANDAND", "'|'", + "'^'", "'&'", "EQCOMPARE", "ARITHCOMPARE", "RSHIFT", "LSHIFT", "'+'", + "'-'", "'*'", "'/'", "'%'", "MINUSMINUS", "PLUSPLUS", "UNARY", + "HYPERUNARY", "'.'", "'('", "'['", "POINTSAT", "INTERFACE", + "IMPLEMENTATION", "END", "SELECTOR", "DEFS", "ENCODE", "CLASSNAME", + "PUBLIC", "PRIVATE", "PROTECTED", "PROTOCOL", "OBJECTNAME", "CLASS", + "ALIAS", "')'", "';'", "'}'", "'~'", "'!'", "','", "'{'", "']'", + "$accept", "program", "extdefs", "@1", "@2", "extdef", "extdef_1", + "datadef", "fndef", "@3", "@4", "@5", "@6", "@7", "@8", "identifier", + "unop", "expr", "exprlist", "nonnull_exprlist", "unary_expr", "sizeof", + "alignof", "typeof", "cast_expr", "expr_no_commas", "@9", "@10", "@11", + "@12", "@13", "primary", "@14", "old_style_parm_decls", + "old_style_parm_decls_1", "lineno_datadecl", "datadecls", "datadecl", + "lineno_decl", "setspecs", "maybe_resetattrs", "decl", + "declspecs_nosc_nots_nosa_noea", "declspecs_nosc_nots_nosa_ea", + "declspecs_nosc_nots_sa_noea", "declspecs_nosc_nots_sa_ea", + "declspecs_nosc_ts_nosa_noea", "declspecs_nosc_ts_nosa_ea", + "declspecs_nosc_ts_sa_noea", "declspecs_nosc_ts_sa_ea", + "declspecs_sc_nots_nosa_noea", "declspecs_sc_nots_nosa_ea", + "declspecs_sc_nots_sa_noea", "declspecs_sc_nots_sa_ea", + "declspecs_sc_ts_nosa_noea", "declspecs_sc_ts_nosa_ea", + "declspecs_sc_ts_sa_noea", "declspecs_sc_ts_sa_ea", "declspecs_ts", + "declspecs_nots", "declspecs_ts_nosa", "declspecs_nots_nosa", + "declspecs_nosc_ts", "declspecs_nosc_nots", "declspecs_nosc", + "declspecs", "maybe_type_quals_attrs", "typespec_nonattr", + "typespec_attr", "typespec_reserved_nonattr", "typespec_reserved_attr", + "typespec_nonreserved_nonattr", "initdecls", "notype_initdecls", + "maybeasm", "initdcl", "@15", "notype_initdcl", "@16", + "maybe_attribute", "attributes", "attribute", "attribute_list", + "attrib", "any_word", "scspec", "init", "@17", "initlist_maybe_comma", + "initlist1", "initelt", "@18", "initval", "@19", "designator_list", + "designator", "nested_function", "@20", "@21", "notype_nested_function", + "@22", "@23", "declarator", "after_type_declarator", "parm_declarator", + "parm_declarator_starttypename", "parm_declarator_nostarttypename", + "notype_declarator", "struct_head", "union_head", "enum_head", + "structsp_attr", "@24", "@25", "@26", "@27", "structsp_nonattr", + "maybecomma", "maybecomma_warn", "component_decl_list", + "component_decl_list2", "component_decl", "components", + "components_notype", "component_declarator", + "component_notype_declarator", "enumlist", "enumerator", "typename", + "@28", "absdcl", "absdcl_maybe_attribute", "absdcl1", "absdcl1_noea", + "absdcl1_ea", "direct_absdcl1", "array_declarator", "stmts_and_decls", + "lineno_stmt_decl_or_labels_ending_stmt", + "lineno_stmt_decl_or_labels_ending_decl", + "lineno_stmt_decl_or_labels_ending_label", + "lineno_stmt_decl_or_labels_ending_error", "lineno_stmt_decl_or_labels", + "errstmt", "pushlevel", "poplevel", "c99_block_start", "c99_block_end", + "maybe_label_decls", "label_decls", "label_decl", "compstmt_or_error", + "compstmt_start", "compstmt_nostart", "compstmt_contents_nonempty", + "compstmt_primary_start", "compstmt", "simple_if", "if_prefix", "@29", + "do_stmt_start", "@30", "save_filename", "save_lineno", + "lineno_labeled_stmt", "c99_block_lineno_labeled_stmt", "lineno_stmt", + "lineno_label", "select_or_iter_stmt", "@31", "@32", "@33", "@34", + "@35", "@36", "@37", "@38", "for_init_stmt", "stmt", "label", + "maybe_type_qual", "xexpr", "asm_operands", "nonnull_asm_operands", + "asm_operand", "asm_clobbers", "parmlist", "@39", "parmlist_1", "@40", + "@41", "parmlist_2", "parms", "parm", "firstparm", "setspecs_fp", + "parmlist_or_identifiers", "@42", "parmlist_or_identifiers_1", + "identifiers", "identifiers_or_typenames", "extension", 0 +}; +#endif + +# ifdef YYPRINT +/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to + token YYLEX-NUM. */ +static const unsigned short yytoknum[] = +{ + 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 61, 299, 63, 58, 300, 301, + 124, 94, 38, 302, 303, 304, 305, 43, 45, 42, + 47, 37, 306, 307, 308, 309, 46, 40, 91, 310, + 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, + 321, 322, 323, 324, 41, 59, 125, 126, 33, 44, + 123, 93 +}; +# endif + +/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ +static const unsigned short yyr1[] = +{ + 0, 92, 93, 93, 95, 94, 96, 94, 97, 98, + 98, 98, 98, 99, 99, 99, 99, 99, 99, 99, + 101, 102, 100, 100, 103, 104, 100, 100, 105, 106, + 100, 100, 107, 107, 108, 108, 108, 108, 108, 108, + 108, 109, 110, 110, 111, 111, 112, 112, 112, 112, + 112, 112, 112, 112, 112, 112, 112, 113, 114, 115, + 116, 116, 117, 117, 117, 117, 117, 117, 117, 117, + 117, 117, 117, 117, 117, 118, 117, 119, 117, 120, + 121, 117, 122, 117, 117, 117, 123, 123, 123, 123, + 124, 123, 123, 123, 123, 123, 123, 123, 123, 123, + 123, 123, 123, 123, 123, 125, 126, 126, 127, 128, + 128, 128, 128, 129, 129, 129, 129, 130, 131, 132, + 133, 133, 133, 133, 133, 133, 134, 134, 134, 135, + 136, 136, 137, 137, 138, 138, 138, 138, 138, 138, + 138, 139, 139, 139, 139, 139, 139, 140, 140, 140, + 140, 140, 140, 141, 141, 141, 141, 141, 142, 142, + 142, 142, 142, 142, 142, 143, 144, 144, 144, 144, + 144, 144, 145, 146, 146, 146, 146, 146, 146, 146, + 146, 146, 146, 147, 147, 147, 147, 147, 148, 148, + 148, 148, 148, 148, 148, 148, 148, 148, 149, 149, + 149, 149, 149, 150, 150, 150, 150, 150, 150, 150, + 150, 151, 151, 151, 151, 151, 151, 151, 151, 152, + 152, 152, 152, 153, 153, 153, 153, 154, 154, 154, + 154, 155, 155, 155, 155, 156, 156, 156, 156, 156, + 156, 156, 156, 157, 157, 157, 157, 157, 157, 157, + 157, 157, 157, 157, 157, 157, 157, 157, 157, 158, + 158, 159, 159, 160, 161, 161, 162, 163, 163, 163, + 164, 164, 165, 165, 166, 166, 168, 167, 167, 170, + 169, 169, 171, 171, 172, 172, 173, 174, 174, 175, + 175, 175, 175, 175, 176, 176, 176, 176, 177, 177, + 178, 179, 178, 178, 180, 180, 181, 181, 182, 182, + 183, 182, 182, 185, 184, 184, 184, 186, 186, 187, + 187, 187, 189, 190, 188, 192, 193, 191, 194, 194, + 195, 195, 195, 195, 195, 196, 196, 197, 197, 197, + 198, 198, 198, 198, 198, 199, 199, 199, 199, 199, + 200, 200, 201, 201, 202, 202, 204, 203, 203, 205, + 203, 203, 206, 203, 207, 203, 208, 208, 208, 209, + 209, 210, 210, 211, 211, 212, 212, 212, 213, 213, + 213, 213, 213, 213, 214, 214, 215, 215, 216, 216, + 216, 217, 217, 217, 218, 218, 218, 219, 219, 221, + 220, 222, 222, 223, 223, 223, 224, 224, 225, 225, + 226, 226, 227, 227, 227, 227, 227, 228, 228, 228, + 228, 228, 229, 229, 229, 229, 230, 230, 230, 230, + 230, 231, 231, 231, 231, 232, 232, 232, 232, 232, + 233, 233, 234, 234, 234, 234, 235, 236, 237, 238, + 239, 240, 240, 241, 241, 242, 243, 243, 244, 245, + 245, 246, 246, 247, 248, 249, 249, 251, 250, 253, + 252, 254, 255, 256, 256, 257, 258, 259, 261, 260, + 260, 260, 262, 263, 260, 260, 260, 264, 265, 266, + 267, 260, 268, 260, 269, 269, 270, 270, 270, 270, + 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, + 271, 271, 271, 271, 272, 272, 273, 273, 274, 274, + 275, 275, 276, 276, 277, 277, 279, 278, 280, 281, + 282, 280, 280, 283, 283, 283, 283, 284, 284, 285, + 285, 285, 285, 285, 286, 286, 286, 286, 286, 287, + 289, 288, 290, 290, 291, 291, 292, 292, 293 +}; + +/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ +static const unsigned char yyr2[] = +{ + 0, 2, 0, 1, 0, 2, 0, 3, 1, 1, + 1, 5, 2, 3, 4, 4, 2, 2, 2, 1, + 0, 0, 9, 4, 0, 0, 9, 4, 0, 0, + 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 0, 1, 1, 3, 1, 2, 2, 2, + 2, 2, 4, 2, 4, 2, 2, 1, 1, 1, + 1, 4, 1, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 0, 4, 0, 4, 0, + 0, 7, 0, 5, 3, 3, 1, 1, 1, 1, + 0, 7, 3, 3, 3, 3, 4, 6, 8, 6, + 4, 3, 3, 2, 2, 1, 0, 1, 3, 1, + 1, 2, 2, 4, 4, 2, 2, 3, 0, 1, + 4, 4, 3, 3, 2, 2, 1, 2, 2, 2, + 2, 2, 1, 2, 1, 2, 2, 2, 2, 2, + 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 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, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, + 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, + 1, 4, 1, 4, 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, 1, + 1, 0, 4, 1, 0, 2, 1, 3, 3, 2, + 0, 4, 1, 0, 4, 1, 1, 1, 2, 2, + 5, 3, 0, 0, 7, 0, 0, 7, 1, 1, + 4, 3, 2, 3, 1, 1, 1, 3, 2, 1, + 3, 2, 3, 3, 4, 3, 4, 3, 2, 1, + 1, 2, 1, 2, 1, 2, 0, 7, 5, 0, + 7, 5, 0, 8, 0, 7, 2, 2, 2, 0, + 1, 0, 1, 1, 2, 0, 3, 2, 3, 4, + 3, 1, 1, 2, 1, 4, 1, 4, 4, 6, + 5, 4, 6, 5, 1, 3, 1, 1, 3, 0, + 3, 0, 1, 0, 1, 2, 1, 1, 1, 3, + 2, 3, 4, 3, 2, 2, 1, 4, 3, 4, + 5, 5, 1, 1, 1, 1, 1, 2, 2, 2, + 2, 1, 2, 2, 2, 1, 2, 2, 2, 2, + 1, 2, 1, 1, 1, 1, 2, 0, 0, 0, + 0, 0, 1, 1, 2, 3, 1, 2, 1, 1, + 5, 1, 1, 2, 2, 2, 2, 0, 5, 0, + 4, 0, 0, 1, 2, 3, 3, 3, 0, 4, + 1, 3, 0, 0, 7, 5, 2, 0, 0, 0, + 0, 12, 0, 6, 2, 1, 1, 2, 3, 2, + 2, 2, 3, 6, 8, 10, 12, 3, 4, 1, + 3, 5, 2, 5, 0, 1, 0, 1, 0, 1, + 1, 3, 4, 7, 1, 3, 0, 3, 2, 0, + 0, 6, 2, 0, 1, 1, 3, 1, 3, 4, + 4, 3, 4, 3, 4, 4, 3, 4, 3, 1, + 0, 3, 1, 2, 1, 3, 1, 3, 1 +}; + +/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state + STATE-NUM when YYTABLE doesn't specify something else to do. Zero + means the default is an error. */ +static const unsigned short yydefact[] = +{ + 4, 0, 6, 0, 1, 0, 0, 267, 299, 298, + 264, 126, 354, 350, 352, 0, 59, 0, 558, 19, + 5, 8, 10, 9, 0, 0, 211, 212, 213, 214, + 203, 204, 205, 206, 215, 216, 217, 218, 207, 208, + 209, 210, 118, 118, 0, 134, 141, 261, 263, 262, + 132, 284, 158, 0, 0, 0, 266, 265, 0, 7, + 17, 18, 355, 351, 353, 0, 0, 0, 349, 259, + 282, 0, 272, 0, 127, 139, 145, 129, 161, 128, + 140, 146, 162, 130, 151, 156, 133, 168, 131, 152, + 157, 169, 135, 137, 143, 142, 179, 136, 138, 144, + 180, 147, 149, 154, 153, 194, 148, 150, 155, 195, + 159, 177, 186, 165, 163, 160, 178, 187, 164, 166, + 192, 201, 172, 170, 167, 193, 202, 171, 173, 175, + 184, 183, 181, 174, 176, 185, 182, 188, 190, 199, + 198, 196, 189, 191, 200, 197, 0, 0, 16, 285, + 32, 33, 375, 366, 375, 367, 364, 368, 12, 86, + 87, 88, 57, 58, 0, 0, 0, 0, 0, 89, + 0, 34, 36, 35, 0, 38, 37, 0, 39, 40, + 0, 0, 41, 60, 0, 0, 62, 44, 46, 0, + 0, 289, 0, 239, 240, 241, 242, 235, 236, 237, + 238, 399, 0, 231, 232, 233, 234, 260, 0, 0, + 283, 13, 282, 31, 0, 282, 259, 0, 282, 348, + 334, 259, 282, 0, 270, 0, 328, 329, 0, 0, + 0, 0, 356, 0, 359, 0, 362, 55, 56, 0, + 0, 0, 50, 47, 0, 463, 0, 0, 49, 0, + 0, 0, 51, 0, 53, 0, 0, 79, 77, 75, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 104, 103, 0, 42, 0, 0, 0, 459, + 451, 0, 48, 296, 297, 294, 0, 287, 290, 295, + 268, 401, 269, 347, 0, 0, 119, 0, 550, 345, + 259, 260, 0, 0, 29, 105, 0, 471, 110, 472, + 281, 0, 0, 15, 282, 23, 0, 282, 282, 332, + 14, 27, 0, 282, 382, 377, 231, 232, 233, 234, + 227, 228, 229, 230, 118, 118, 374, 0, 375, 282, + 375, 396, 397, 371, 394, 0, 0, 0, 0, 93, + 92, 0, 11, 45, 0, 0, 84, 85, 0, 0, + 0, 0, 73, 74, 72, 71, 70, 69, 68, 63, + 64, 65, 66, 67, 101, 0, 43, 0, 102, 95, + 0, 0, 452, 453, 94, 0, 289, 42, 259, 282, + 400, 402, 407, 406, 408, 416, 346, 273, 274, 0, + 0, 0, 0, 0, 418, 0, 446, 471, 112, 111, + 0, 279, 333, 0, 0, 21, 278, 331, 25, 358, + 471, 471, 376, 383, 0, 361, 0, 0, 372, 0, + 371, 0, 0, 0, 90, 61, 52, 54, 0, 0, + 78, 76, 96, 100, 556, 0, 462, 431, 461, 471, + 471, 471, 471, 0, 440, 0, 472, 426, 435, 454, + 286, 288, 86, 0, 410, 526, 415, 282, 414, 275, + 0, 554, 534, 223, 224, 219, 220, 225, 226, 221, + 222, 118, 118, 552, 0, 535, 537, 551, 0, 0, + 0, 419, 417, 472, 108, 118, 118, 0, 330, 271, + 274, 471, 276, 471, 378, 384, 472, 380, 386, 472, + 282, 282, 398, 395, 282, 0, 0, 0, 0, 0, + 80, 83, 455, 0, 432, 427, 436, 433, 428, 437, + 472, 429, 438, 434, 430, 439, 441, 448, 449, 291, + 0, 293, 409, 411, 0, 0, 526, 413, 532, 549, + 403, 403, 528, 529, 0, 553, 0, 420, 421, 0, + 115, 0, 116, 0, 303, 301, 300, 280, 472, 0, + 472, 282, 379, 282, 0, 357, 360, 365, 282, 97, + 0, 99, 316, 86, 0, 0, 313, 0, 315, 0, + 369, 306, 312, 0, 0, 0, 557, 449, 460, 267, + 0, 0, 0, 0, 0, 0, 514, 509, 458, 471, + 0, 117, 118, 118, 0, 0, 447, 496, 476, 477, + 0, 0, 412, 527, 339, 259, 282, 282, 335, 336, + 282, 546, 404, 407, 259, 282, 282, 548, 282, 536, + 211, 212, 213, 214, 203, 204, 205, 206, 215, 216, + 217, 218, 207, 208, 209, 210, 118, 118, 538, 555, + 0, 30, 456, 0, 0, 0, 0, 277, 0, 471, + 0, 282, 471, 0, 282, 363, 0, 319, 0, 0, + 310, 91, 0, 305, 0, 318, 309, 81, 0, 512, + 499, 500, 501, 0, 0, 0, 515, 0, 472, 497, + 0, 0, 124, 467, 482, 469, 487, 0, 480, 0, + 0, 450, 464, 125, 292, 410, 526, 544, 282, 338, + 282, 341, 545, 405, 410, 526, 547, 530, 403, 403, + 457, 113, 114, 0, 22, 26, 385, 472, 282, 0, + 388, 387, 282, 0, 391, 98, 0, 321, 0, 0, + 307, 308, 0, 510, 502, 0, 507, 0, 0, 0, + 122, 322, 0, 123, 325, 0, 0, 449, 0, 0, + 0, 466, 471, 465, 486, 0, 498, 342, 343, 0, + 337, 340, 0, 282, 282, 541, 282, 543, 302, 0, + 390, 282, 393, 282, 0, 314, 311, 0, 508, 0, + 282, 120, 0, 121, 0, 0, 0, 0, 516, 0, + 481, 449, 450, 473, 471, 0, 344, 531, 539, 540, + 542, 389, 392, 320, 511, 518, 0, 513, 323, 326, + 0, 0, 470, 517, 495, 488, 0, 492, 479, 475, + 474, 0, 0, 0, 0, 519, 520, 503, 471, 471, + 468, 483, 516, 494, 449, 485, 0, 0, 518, 0, + 0, 472, 472, 449, 0, 493, 0, 0, 0, 504, + 521, 0, 0, 484, 489, 522, 0, 0, 0, 324, + 327, 516, 0, 524, 0, 505, 0, 0, 0, 0, + 490, 523, 506, 525, 449, 491 +}; + +/* YYDEFGOTO[NTERM-NUM]. */ +static const short yydefgoto[] = +{ + -1, 1, 2, 3, 5, 20, 21, 22, 23, 316, + 501, 322, 503, 217, 407, 587, 180, 246, 375, 182, + 183, 184, 185, 24, 186, 187, 361, 360, 358, 595, + 359, 188, 519, 304, 305, 306, 307, 494, 447, 25, + 295, 611, 193, 194, 195, 196, 197, 198, 199, 200, + 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, + 481, 482, 334, 207, 201, 44, 208, 45, 46, 47, + 48, 49, 223, 71, 218, 224, 569, 72, 497, 296, + 210, 51, 286, 287, 288, 52, 567, 665, 589, 590, + 591, 749, 592, 679, 593, 594, 760, 802, 848, 763, + 804, 849, 500, 226, 627, 628, 629, 227, 53, 54, + 55, 56, 338, 340, 345, 235, 57, 683, 429, 230, + 231, 336, 504, 507, 505, 508, 343, 344, 202, 291, + 390, 631, 632, 392, 393, 394, 219, 448, 449, 450, + 451, 452, 453, 308, 280, 598, 772, 776, 381, 382, + 383, 661, 616, 281, 455, 189, 662, 708, 709, 765, + 710, 767, 309, 410, 812, 773, 813, 814, 711, 811, + 766, 863, 768, 852, 881, 894, 854, 835, 618, 619, + 697, 836, 844, 845, 846, 884, 466, 545, 483, 638, + 782, 484, 485, 658, 486, 550, 299, 400, 487, 488, + 445, 190 +}; + +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +#define YYPACT_NINF -735 +static const short yypact[] = +{ + 66, 112, 119, 1512, -735, 1512, 221, -735, -735, -735, + -735, -735, 105, 105, 105, 91, -735, 106, -735, -735, + -735, -735, -735, -735, 123, 183, 513, 387, 974, 1004, + 830, 488, 1143, 1677, 1260, 1174, 1293, 1402, 1579, 1764, + 1681, 1768, -735, -735, 70, -735, -735, -735, -735, -735, + 105, -735, -735, 88, 110, 157, -735, -735, 1512, -735, + -735, -735, 105, 105, 105, 2651, 160, 2569, -735, 137, + 105, 182, -735, 962, -735, -735, -735, 105, -735, -735, + -735, -735, -735, -735, -735, -735, 105, -735, -735, -735, + -735, -735, -735, -735, -735, 105, -735, -735, -735, -735, + -735, -735, -735, -735, 105, -735, -735, -735, -735, -735, + -735, -735, -735, 105, -735, -735, -735, -735, -735, -735, + -735, -735, 105, -735, -735, -735, -735, -735, -735, -735, + -735, 105, -735, -735, -735, -735, -735, -735, -735, -735, + 105, -735, -735, -735, -735, -735, 222, 183, -735, -735, + -735, -735, -735, 141, -735, 144, -735, 159, -735, -735, + -735, -735, -735, -735, 2651, 2651, 208, 219, 277, -735, + 495, -735, -735, -735, 2651, -735, -735, 1362, -735, -735, + 2651, 272, 273, -735, 2712, 2753, -735, 3043, 745, 1613, + 2651, 896, 303, 844, 775, 2521, 2300, 787, 681, 1041, + 758, -735, 320, 375, 406, 391, 420, -735, 183, 183, + 105, -735, 105, -735, 416, 105, 274, 455, 105, -735, + -735, 137, 105, 279, -735, 1056, 98, 448, 318, 1493, + 403, 738, -735, 405, -735, 590, -735, -735, -735, 2651, + 2651, 2722, -735, -735, 425, -735, 445, 457, -735, 463, + 2651, 1362, -735, 1362, -735, 2651, 2651, 506, -735, -735, + 2651, 2651, 2651, 2651, 2651, 2651, 2651, 2651, 2651, 2651, + 2651, 2651, -735, -735, 495, 2651, 2651, 495, 477, -735, + 531, 501, -735, -735, -735, -735, 350, -735, 505, -735, + -735, 419, -735, 448, 172, 183, -735, 577, -735, -735, + 137, 595, 2202, 519, -735, -735, 826, 51, -735, -735, + 576, 222, 222, -735, 105, -735, 455, 105, 105, -735, + -735, -735, 455, 105, -735, -735, 844, 775, 2521, 2300, + 787, 681, 1041, 758, -735, 492, 539, 1829, -735, 105, + -735, -735, 584, 541, -735, 590, 2876, 2902, 554, -735, + -735, 2443, -735, 3043, 563, 567, 3043, 3043, 2651, 608, + 2651, 2651, 2405, 2533, 1298, 1036, 1900, 717, 717, 266, + 266, -735, -735, -735, -735, 573, 273, 579, -735, -735, + 495, 1701, 531, -735, -735, 599, 896, 2794, 137, 105, + -735, -735, -735, -735, 571, -735, -735, -735, 142, 601, + 1466, 2651, 2651, 2243, -735, 600, -735, -735, -735, -735, + 1187, -735, 98, 193, 222, -735, 653, -735, -735, -735, + -735, -735, -735, -735, 614, -735, 616, 2651, 495, 619, + 541, 2722, 2651, 2722, -735, -735, 627, 627, 662, 2651, + 3006, 2963, -735, -735, -735, 351, 519, -735, -735, 101, + 108, 130, 136, 705, -735, 632, -735, -735, -735, -735, + -735, -735, 365, 636, 419, 419, -735, 105, -735, -735, + 645, -735, -735, 2088, 1562, 883, 1497, 2118, 2181, 1857, + 1653, -735, -735, -735, 646, 358, -735, -735, 382, 640, + 641, -735, -735, -735, -735, 652, 665, 2078, -735, -735, + 710, -735, -735, -735, 658, -735, -735, 666, -735, -735, + 105, 105, 3043, -735, 105, 668, 680, 2922, 684, 1195, + -735, 3059, -735, 495, -735, -735, -735, -735, -735, -735, + -735, -735, -735, -735, -735, -735, -735, -735, 2313, -735, + 2651, -735, -735, -735, 701, 602, -735, -735, -735, -735, + 281, 233, -735, -735, 1431, -735, 783, -735, -735, 64, + -735, 222, -735, 183, -735, -735, 3043, -735, -735, 2078, + -735, 105, 586, 105, 330, -735, -735, -735, 105, -735, + 2651, -735, -735, 750, 495, 2651, -735, 751, 3043, 719, + 720, -735, -735, 316, 2010, 2651, -735, 2382, -735, 768, + 2651, 772, 736, 737, 2610, 125, 818, -735, -735, -735, + 757, -735, -735, -735, 762, 549, 767, -735, -735, -735, + 2508, 396, -735, -735, -735, 137, 105, 105, 592, 597, + 197, -735, -735, 105, 137, 105, 197, -735, 105, -735, + 2088, 1562, 2212, 2422, 883, 1497, 1917, 1741, 2118, 2181, + 2353, 3039, 1857, 1653, 2149, 1982, -735, -735, -735, -735, + 764, -735, -735, 446, 462, 1195, 64, -735, 64, -735, + 2651, 322, -735, 2651, 298, -735, 2944, -735, 2814, 1195, + -735, -735, 1942, -735, 2141, -735, -735, 3059, 2839, -735, + -735, -735, -735, 777, 2651, 778, -735, 797, -735, -735, + 222, 183, -735, -735, -735, -735, -735, 798, 849, 1789, + 71, -735, -735, -735, -735, 281, 356, -735, 105, -735, + 105, -735, -735, 105, 233, 233, -735, -735, 281, 233, + -735, -735, -735, 786, -735, -735, -735, -735, 2981, 2651, + -735, -735, 2981, 2651, -735, -735, 2651, -735, 788, 2141, + -735, -735, 2651, -735, -735, 799, -735, 2651, 839, 465, + -735, 659, 499, -735, 1070, 840, 843, -735, 846, 2651, + 1877, -735, -735, -735, -735, 2651, -735, 592, 597, 304, + -735, -735, 602, 105, 197, -735, 197, -735, -735, 586, + -735, 2981, -735, 2981, 2858, -735, -735, 3025, -735, 50, + 105, -735, 455, -735, 455, 2651, 2651, 867, 2508, 827, + -735, -735, -735, -735, -735, 835, -735, -735, -735, -735, + -735, -735, -735, -735, -735, 72, 836, -735, -735, -735, + 860, 861, -735, -735, -735, -735, 837, -735, -735, -735, + -735, 862, 879, 495, 68, 865, -735, -735, -735, -735, + -735, -735, 2651, -735, -735, -735, 2651, 864, 72, 874, + 72, -735, -735, -735, 875, -735, 868, 951, 80, -735, + -735, 764, 764, -735, -735, -735, 895, 954, 880, -735, + -735, 2651, 2651, -735, 441, -735, 887, 888, 889, 963, + -735, -735, -735, -735, -735, -735 +}; + +/* YYPGOTO[NTERM-NUM]. */ +static const short yypgoto[] = +{ + -735, -735, -735, -735, -735, 84, -735, -735, -735, -735, + -735, -735, -735, -735, -735, 96, -735, -65, 596, -244, + 489, -735, -735, -735, -106, 863, -735, -735, -735, -735, + -735, -735, -735, -312, -735, 677, -735, -735, 162, -31, + -210, -570, -2, 38, 41, 42, 17, 21, 20, 48, + -373, -371, 431, 432, -337, -330, 438, 440, -461, -453, + 585, 587, -735, -133, -735, -517, -167, 687, 699, 838, + 910, -735, -504, -138, -212, 582, -735, 703, -735, 282, + 2, 58, -735, 613, -735, 283, 435, -735, -260, -735, + 319, -735, -508, -735, -735, 414, -735, -735, -735, -735, + -735, -735, -140, 366, 293, 307, -34, -17, -735, -735, + -735, -735, -735, -735, -735, -735, -735, -735, 593, -64, + -735, 694, -735, -735, 363, 362, 695, 611, -21, -735, + -735, -516, -272, -348, -416, -735, 493, -735, -735, -735, + -735, -735, -735, -218, -735, -735, -451, 229, -735, -735, + 660, -211, -735, 429, -735, -735, -521, -735, -735, -735, + -735, -735, -326, -324, 232, -706, 56, 61, -735, -735, + -735, -735, -735, -735, -735, -735, -735, -735, -735, -735, + -735, -734, 192, -735, 198, -735, 607, -735, -512, -735, + -735, -735, -735, -735, -735, 594, -300, -735, -735, -735, + -735, 59 +}; + +/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If + positive, shift that token. If negative, reduce the rule which + number is the opposite. If zero, do what YYDEFACT says. + If YYTABLE_NINF, syntax error. */ +#define YYTABLE_NINF -534 +static const short yytable[] = +{ + 181, 26, 192, 26, 415, 50, 225, 50, 73, 228, + 418, 146, 147, 317, 62, 63, 64, 617, 417, 391, + 30, 614, 30, 32, 31, 32, 31, 477, 77, 478, + 86, 376, 95, 623, 104, 637, 113, 477, 122, 478, + 131, 27, 140, 27, 28, 29, 28, 29, 543, 302, + 713, 33, -107, 33, 311, 456, 26, 663, 237, 238, + 50, 807, 58, 479, 58, 660, -2, 203, 243, 50, + 480, 50, 774, 479, 248, 30, 617, 612, 32, 31, + 480, 493, 842, 301, 282, 613, 686, 615, 408, 59, + 233, 150, 151, 656, 506, 509, 27, 825, 335, 28, + 29, 657, -442, 614, 414, 838, 33, 204, 149, -443, + 205, 206, 4, 150, 151, 858, 542, 58, 864, -3, + 149, 149, 149, 456, 456, 530, 456, 877, 150, 151, + 229, -444, 538, 401, 826, 149, 17, -445, 775, 730, + 843, -107, 158, 376, 149, 11, 615, 886, 865, 153, + 155, 157, 859, 149, 608, 148, 247, 873, 65, 612, + 150, 151, 149, 454, 878, 318, 216, 613, 17, 559, + 214, 149, 477, 66, 478, 568, 751, 570, 152, 50, + 149, 648, 572, 649, 694, 574, 68, -422, 895, 149, + 67, 293, 294, 544, -423, 77, 759, 86, 149, 95, + 154, 104, 633, 633, 335, 77, 597, 86, 479, 215, + 216, 377, 785, 787, 203, 480, -424, 652, 50, 203, + 348, 464, -425, 50, 653, 68, 220, 191, 17, 326, + 354, 232, 355, 50, 234, 536, 68, 405, 834, 215, + 216, 796, 69, 50, 666, 435, 668, 156, 330, 236, + 70, 332, 331, 50, 204, 50, 396, 205, 206, 204, + 318, 216, 205, 206, 215, 216, 242, 211, 149, 327, + 817, 212, 328, 329, 424, 239, 426, 498, 398, 333, + 300, 221, 11, 698, 68, 624, 240, 285, 317, 222, + 337, 614, 634, 438, 293, 294, 621, 243, 203, 543, + 635, 216, 50, 420, 421, 17, 60, 61, 543, 78, + 82, 87, 91, 96, 100, 105, 109, 114, 118, 123, + 127, 132, 136, 141, 145, 269, 270, 271, 77, 17, + 86, 342, 95, 68, 104, 326, 489, 490, 204, 50, + 625, 205, 206, 737, 241, 743, 509, 612, 626, 216, + 879, 880, 209, 17, 330, 613, 249, 332, 331, 68, + 684, 669, 250, 672, 313, 215, 216, 542, 314, 739, + 374, 720, 216, 378, 758, 327, 542, 673, 328, 329, + 633, 633, 584, 74, 585, 333, 203, 290, 816, 69, + 50, 7, 8, 9, 10, 79, 337, 70, 473, 83, + 12, 13, 14, 320, 292, 733, 17, 212, 473, 477, + 516, 478, 518, 789, 79, 625, 16, 475, 780, 748, + 781, 476, 17, 626, 216, 664, 204, 475, 88, 205, + 206, 476, 671, 50, 385, 50, 522, 457, 474, 386, + 523, 342, 458, 553, 544, 479, 530, 554, 474, 539, + 549, 549, 480, 544, 540, 734, 303, 735, 715, -471, + -471, -471, -471, -471, 561, 563, 555, 724, -471, -471, + -471, 556, -244, 610, 289, 77, 444, 95, 388, 113, + 714, 131, 285, 297, -471, 250, 389, 216, 530, 323, + 828, 339, 829, 8, 9, 10, 97, 298, 150, 151, + 310, 12, 13, 14, 312, 525, 528, 531, 534, 349, + 526, 529, 532, 535, 282, 215, 216, 7, 8, 9, + 10, 74, 861, 862, 342, 888, 12, 13, 14, 350, + 889, 731, 610, 630, 636, 314, 26, 871, 872, 693, + 50, 351, 16, 473, 17, -106, 398, 732, 352, 317, + 801, 212, 640, -82, 314, 30, 50, 674, 32, 31, + 761, 379, 475, 762, 380, 703, 476, 704, 705, 706, + 707, 644, 387, -248, 646, 645, 27, -381, -381, 28, + 29, 700, 701, 474, 803, 384, 33, 399, 212, 68, + 220, 341, 641, 150, 151, 642, 643, 620, -243, 416, + 298, 402, 647, 470, 406, 419, 7, 8, 9, 10, + 11, 524, 527, 472, 533, 12, 13, 14, 26, 596, + 411, 425, 50, 203, 422, 728, 729, 50, 427, 755, + 428, 16, 203, 670, 609, 723, 50, 30, 467, 216, + 32, 31, 77, 433, 86, 221, 95, 436, 104, 671, + 113, 437, 122, 222, 131, 439, 140, 442, 27, 718, + 216, 28, 29, 204, 720, 216, 205, 206, 33, 289, + 443, 465, 204, 252, 254, 205, 206, 412, 413, 620, + 677, 778, 779, 460, 764, 469, -533, 214, 10, 97, + -274, 492, 799, 609, 12, 13, 14, 502, 293, 294, + 510, 695, 511, -274, 809, 514, 303, 293, 294, 520, + 815, 784, 786, 75, 80, 84, 89, 434, 537, 319, + 541, 111, 116, 120, 125, 76, 81, 85, 90, 548, + 552, 557, 558, 112, 117, 121, 126, 560, 214, 324, + 830, 831, 7, 833, -274, 10, 11, 571, -274, 546, + 562, 12, 13, 14, 578, 573, 78, 82, 96, 100, + 114, 118, 132, 136, 579, 10, 106, 16, 581, 17, + 18, 12, 13, 14, 267, 268, 269, 270, 271, 7, + 473, 149, 10, 79, 395, 622, 659, 833, 12, 13, + 14, 866, 575, 576, 10, 92, 577, -32, 680, 475, + 12, 13, 14, 476, 16, 681, 26, 272, 273, 682, + 50, 274, 275, 276, 277, -33, 833, 887, 17, 689, + 474, 690, 691, 325, -373, 30, 696, 303, 32, 31, + -109, -109, -109, -109, -109, 8, 9, 10, 92, -109, + -109, -109, 699, 12, 13, 14, 27, 702, 7, 28, + 29, 10, 74, 279, 608, -109, 33, 12, 13, 14, + 675, 17, 754, 756, 757, 769, 770, 620, 93, 98, + 102, 107, 788, 16, 795, 17, 129, 134, 138, 143, + 75, 80, 84, 89, 798, 832, 800, 468, 8, 9, + 10, 92, 76, 81, 85, 90, 12, 13, 14, 150, + 151, 8, 9, 283, 284, 319, 319, 805, 716, 717, + 806, 837, 722, 808, 17, -247, -109, 725, 726, 841, + 727, 847, 853, 78, 82, 87, 91, 96, 100, 105, + 109, 114, 118, 123, 127, 132, 136, 141, 145, 857, + 94, 99, 103, 108, 850, 851, 856, 855, 130, 135, + 139, 144, 875, 740, 860, 867, 744, 395, 395, 869, + 874, 876, 882, 213, 883, 885, -28, -28, -28, -28, + -28, 890, 891, 893, 892, -28, -28, -28, 7, 8, + 9, 10, 83, 463, 409, 650, 651, 12, 13, 14, + 214, -28, 654, -274, 655, 495, 499, 496, 397, 461, + 298, 750, 298, 16, 667, 17, -274, 685, 7, 8, + 9, 10, 88, 75, 80, 84, 89, 12, 13, 14, + 790, 783, 777, 515, 792, 76, 81, 85, 90, 215, + 216, 423, 736, 16, 741, 93, 98, 102, 107, 513, + 430, 839, 459, 395, 395, 712, 840, -274, 10, 101, + 868, -274, -28, 0, 12, 13, 14, 315, 870, -245, + -20, -20, -20, -20, -20, 818, 819, 0, 820, -20, + -20, -20, 17, 821, 547, 822, 551, 0, 0, 0, + 0, 0, 827, 0, 214, -20, 0, -274, 0, -246, + 264, 265, 266, 267, 268, 269, 270, 271, 214, 0, + -274, -274, 346, 347, 0, 0, 0, 94, 99, 103, + 108, 0, 0, 353, -274, 0, 0, 0, 356, 357, + 0, 719, 721, 362, 363, 364, 365, 366, 367, 368, + 369, 370, 371, 372, 373, 0, 0, 215, 216, 0, + 0, -274, 0, 0, 0, -274, -20, 0, 8, 9, + 10, 101, 0, 0, 0, -274, 12, 13, 14, -274, + 75, 80, 0, 0, 111, 116, 0, 0, 93, 98, + 102, 107, 76, 81, 17, 0, 112, 117, 7, 8, + 9, 10, 115, 0, 0, 0, 0, 12, 13, 14, + 0, 7, 8, 9, 10, 11, 582, 0, 583, 151, + 12, 13, 14, 16, 160, 161, 0, 162, 395, 395, + 0, 0, 0, 0, 0, 0, 16, 395, 395, 0, + 0, 395, 395, 440, 441, 163, 0, 18, -249, 164, + 165, 166, 167, 168, 0, 0, 0, 0, 169, 0, + 94, 99, 103, 108, 170, 0, 0, 171, 0, 0, + 0, 0, 172, 173, 174, 0, 0, 175, 176, -252, + 0, 584, 177, 585, 7, 8, 9, 10, 110, 0, + 719, 721, 721, 12, 13, 14, 0, 0, 0, 0, + 0, -304, 178, 179, 0, 586, 0, 0, 0, 16, + 512, 17, 0, 0, 0, 517, 0, 7, 8, 9, + 10, 119, 521, 0, 0, 0, 12, 13, 14, 0, + 0, 0, 0, 93, 98, 0, 0, 129, 134, 0, + 0, 0, 16, 0, 17, 0, 0, 75, 80, 84, + 89, 0, 0, 0, 0, 111, 116, 120, 125, 76, + 81, 85, 90, 0, 0, -251, 0, 112, 117, 121, + 126, 263, 264, 265, 266, 267, 268, 269, 270, 271, + 566, 0, 0, 244, 0, 159, 7, 0, 0, 10, + 11, 160, 161, 0, 162, 12, 13, 14, -253, 0, + 0, 0, 588, 0, 0, 94, 99, 0, 0, 130, + 135, 16, 163, 17, 18, 0, 164, 165, 166, 167, + 168, 0, 0, 0, 0, 169, 7, 8, 9, 10, + 124, 170, 0, 0, 171, 12, 13, 14, 0, 172, + 173, 174, 0, 0, 175, 176, 0, 0, 0, 177, + 0, 16, 566, 0, 0, 7, 8, 9, 10, 11, + 0, 0, 639, 676, 12, 13, 14, 0, 678, 178, + 179, 0, 245, 0, 0, 0, 0, 588, 687, 0, + 16, 0, 17, 688, 0, 0, 0, 470, 0, 471, + 7, 8, 9, 10, 11, 0, 0, 472, 0, 12, + 13, 14, 93, 98, 102, 107, 0, -254, 0, 0, + 129, 134, 138, 143, 321, 16, 0, -24, -24, -24, + -24, -24, 8, 9, 10, 97, -24, -24, -24, 0, + 12, 13, 14, 6, 0, -118, 7, 8, 9, 10, + 11, 214, -24, 0, -274, 12, 13, 14, 588, 0, + 0, 0, 0, 738, 0, 0, 742, -274, 0, 0, + 15, 16, 588, 17, 18, 588, 0, 588, 0, 0, + -533, 0, 0, 0, 94, 99, 103, 108, 0, 0, + 215, 216, 130, 135, 139, 144, 7, 8, 9, 10, + 79, -118, 0, 0, 0, 12, 13, 14, -274, -118, + 0, 0, -274, -24, 8, 9, 10, 128, 0, 0, + 0, 16, 12, 13, 14, 0, 0, 19, 0, 0, + 0, 0, 791, 0, 0, 0, 793, 0, 0, 794, + 17, 0, 588, 0, 278, 797, -447, -447, -447, -447, + -447, -447, -447, -447, 0, -447, -447, -447, -447, -447, + 0, -447, -447, -447, -447, -447, -447, -447, -447, -447, + -447, -447, -447, -447, -447, -447, -447, -447, -447, -447, + -447, -447, 0, 0, 0, 0, -447, 0, 8, 9, + 10, 133, -447, 0, -255, -447, 12, 13, 14, 0, + -447, -447, -447, 0, 0, -447, -447, 0, 0, 0, + -447, 0, 8, 9, 10, 106, 8, 9, 10, 137, + 12, 13, 14, 0, 12, 13, 14, 0, -447, 279, + -447, -447, 446, -447, -471, -471, -471, -471, -471, -471, + -471, -471, 17, -471, -471, -471, -471, -471, 0, -471, + -471, -471, -471, -471, -471, -471, -471, -471, -471, -471, + -471, -471, -471, -471, 0, -471, -471, -471, -471, -471, + 0, 0, 0, 0, -471, 0, 8, 9, 10, 106, + -471, 0, 0, -471, 12, 13, 14, 0, -471, -471, + -471, 0, -250, -471, -471, 0, -257, 0, -471, 8, + 9, 10, 133, 8, 9, 10, 142, 12, 13, 14, + 0, 12, 13, 14, 0, 0, -471, 0, -471, -471, + 771, -471, -449, -449, 0, 0, 0, 0, -449, -449, + 0, -449, 0, 0, 0, -449, 0, -449, -449, -449, + -449, -449, -449, -449, -449, -449, -449, -449, 0, -449, + 0, -449, 0, -449, -449, -449, -449, -449, 0, 0, + 324, 0, -449, 7, 0, 0, 10, 11, -449, 0, + 0, -449, 12, 13, 14, 0, -449, -449, -449, -256, + 0, -449, -449, -258, 0, 0, -449, 0, 16, 0, + 17, 18, 8, 9, 10, 128, 0, 0, 0, 0, + 12, 13, 14, 0, -449, 0, -449, -449, 810, -449, + -478, -478, 0, 0, 0, 0, -478, -478, 17, -478, + 0, 0, 0, -478, 0, -478, -478, -478, -478, -478, + -478, -478, -478, -478, -478, -478, 0, -478, 0, -478, + 0, -478, -478, -478, -478, -478, 0, 0, 0, 0, + -478, 0, 8, 9, 10, 101, -478, 0, 0, -478, + 12, 13, 14, 0, -478, -478, -478, 0, 0, -478, + -478, 0, 0, 582, -478, 583, 151, 0, 17, 0, + 0, 160, 161, 0, 162, 265, 266, 267, 268, 269, + 270, 271, -478, 0, -478, -478, 0, -478, 0, 0, + 0, 0, 163, 0, 18, 0, 164, 165, 166, 167, + 168, 0, 0, 0, 0, 169, 0, 8, 9, 10, + 142, 170, 0, 0, 171, 12, 13, 14, 0, 172, + 173, 174, 0, 0, 175, 176, 0, 0, 584, 177, + 585, 582, 0, 159, 0, 0, 0, 0, 0, 160, + 161, 0, 162, 0, 0, 0, 0, 0, -370, 178, + 179, 0, 586, 0, 0, 0, 0, 0, 0, 0, + 163, 0, 18, 0, 164, 165, 166, 167, 168, 0, + 0, 0, 0, 169, -317, 0, 0, 0, 0, 170, + 0, 0, 171, 0, 0, 0, 0, 172, 173, 174, + 0, 0, 175, 176, 0, 0, -317, 177, -317, 564, + 0, 159, 0, 0, 0, 0, 0, 160, 161, 0, + 162, 0, 7, 8, 9, 10, 74, 178, 179, 0, + 586, 12, 13, 14, 0, 0, 0, 0, 163, 0, + 18, 0, 164, 165, 166, 167, 168, 16, 0, 17, + 0, 169, 7, 8, 9, 10, 110, 170, 0, 0, + 171, 12, 13, 14, 0, 172, 173, 174, 0, 0, + 175, 176, 582, 0, 159, 177, 0, 16, 0, 17, + 160, 161, 0, 162, 8, 9, 10, 137, 0, 0, + 0, 0, 12, 13, 14, 178, 179, 0, 565, 0, + 0, 163, 0, 18, 0, 164, 165, 166, 167, 168, + 17, 0, 0, 0, 169, 7, 8, 9, 10, 115, + 170, 0, 0, 171, 12, 13, 14, 0, 172, 173, + 174, 0, 0, 175, 176, 159, 0, 0, 177, 0, + 16, 160, 161, 0, 162, 0, 7, 8, 9, 10, + 83, 0, 0, 0, 0, 12, 13, 14, 178, 179, + 0, 586, 163, 0, 18, 0, 164, 165, 166, 167, + 168, 16, 0, 17, 0, 169, 159, 0, 0, 0, + 0, 170, 160, 161, 171, 162, 0, 0, 0, 172, + 173, 403, 0, 0, 175, 176, 0, 0, 0, 177, + 0, 0, 0, 163, 0, 18, 0, 164, 165, 166, + 167, 168, 0, 0, 0, 0, 169, 0, 0, 178, + 179, 0, 170, 404, 0, 171, 0, 0, 0, 0, + 172, 173, 174, 0, 7, 175, 176, 10, 88, 0, + 177, 0, 0, 12, 13, 14, 583, 599, 8, 9, + 10, 11, 160, 161, 0, 162, 12, 13, 14, 16, + 178, 179, 0, 0, 491, 600, 601, 602, 603, 604, + 605, 606, 16, 163, 17, 18, 0, 164, 165, 166, + 167, 168, 0, 0, 0, 0, 169, 7, 8, 9, + 10, 119, 170, 0, 0, 171, 12, 13, 14, 0, + 172, 173, 174, 0, 0, 175, 176, 0, 0, 0, + 177, 0, 16, 0, 17, 583, 151, 0, 0, 0, + 0, 160, 161, 0, 162, 0, 0, 0, 607, 0, + 178, 179, 0, 608, 600, 601, 602, 603, 604, 605, + 606, 0, 163, 0, 18, 0, 164, 165, 166, 167, + 168, 0, 0, 0, 0, 169, 7, 8, 9, 10, + 88, 170, 0, 0, 171, 12, 13, 14, 0, 172, + 173, 174, 0, 0, 175, 176, 159, 0, 0, 177, + 0, 16, 160, 161, 0, 162, 261, 262, 263, 264, + 265, 266, 267, 268, 269, 270, 271, 607, 0, 178, + 179, 0, 608, 163, 0, 18, 0, 164, 165, 166, + 167, 168, 0, 0, 0, 0, 169, 0, 0, 0, + 0, 0, 170, 0, 0, 171, 0, 0, 0, 0, + 172, 173, 174, 0, 0, 175, 176, 0, 0, 0, + 177, 159, 7, 8, 9, 10, 11, 160, 161, 0, + 162, 12, 13, 14, 0, 7, 0, 0, 10, 83, + 178, 179, 0, 434, 12, 13, 14, 16, 163, 17, + 18, 0, 164, 165, 166, 167, 168, 0, 0, 0, + 16, 169, 17, 0, 0, 0, 0, 170, 0, 0, + 171, 0, 0, 0, 0, 172, 173, 174, 0, 0, + 175, 176, 159, 7, 0, 177, 10, 11, 160, 161, + 0, 162, 12, 13, 14, 262, 263, 264, 265, 266, + 267, 268, 269, 270, 271, 178, 179, 0, 16, 163, + 17, 18, 0, 164, 165, 166, 167, 168, 0, 0, + 0, 0, 169, 159, 0, 0, 0, 0, 170, 160, + 161, 171, 162, 0, 0, 0, 172, 173, 174, 0, + 0, 175, 176, 0, 0, 0, 177, 0, 0, 0, + 163, 0, 18, 0, 164, 165, 166, 167, 168, 0, + 0, 0, 0, 169, 159, 0, 178, 179, 0, 170, + 160, 161, 171, 162, 0, 0, 0, 172, 173, 174, + 0, 0, 175, 176, 0, 0, 0, 177, 0, 0, + 0, 163, 0, 18, 0, 164, 165, 166, 167, 168, + 0, 0, 0, 0, 169, 692, 0, 178, 179, 0, + 170, 0, 0, 171, 0, 0, 0, 0, 172, 173, + 174, 0, 0, 175, 176, 159, 0, 0, 177, 0, + 0, 160, 161, 0, 162, 0, 7, 0, 0, 10, + 11, 0, 0, 0, 0, 12, 13, 14, 178, 179, + 0, 0, 163, 0, 18, 0, 164, 165, 166, 167, + 168, 16, 0, 17, 0, 169, 159, 0, 0, 0, + 0, 170, 160, 161, 171, 162, 0, 0, 0, 172, + 173, 174, 0, 0, 175, 176, 0, 0, 0, 251, + 0, 0, 0, 163, 0, 18, 0, 164, 165, 166, + 167, 168, 0, 0, 0, 0, 169, 462, 0, 178, + 179, 0, 170, 160, 161, 171, 162, 0, 0, 0, + 172, 173, 174, 0, 0, 175, 176, 0, 0, 0, + 253, 0, 0, 0, 163, 746, 18, 0, 164, 165, + 166, 167, 168, 0, 0, 0, 0, 169, 0, 0, + 178, 179, 0, 170, 0, 0, 171, 0, 0, 0, + 752, 172, 173, 174, 0, 0, 175, 176, 255, 256, + 257, 177, 258, 259, 260, 261, 262, 263, 264, 265, + 266, 267, 268, 269, 270, 271, 0, 0, 0, 0, + 0, 178, 179, 255, 256, 257, 753, 258, 259, 260, + 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, + 271, 0, 255, 256, 257, 747, 258, 259, 260, 261, + 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, + 255, 256, 257, 0, 258, 259, 260, 261, 262, 263, + 264, 265, 266, 267, 268, 269, 270, 271, 0, 0, + 0, 0, 0, 0, 0, 0, 255, 256, 257, 823, + 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, + 268, 269, 270, 271, 0, 431, 255, 256, 257, 0, + 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, + 268, 269, 270, 271, 0, 0, 0, 0, 255, 256, + 257, 432, 258, 259, 260, 261, 262, 263, 264, 265, + 266, 267, 268, 269, 270, 271, 0, 0, 0, 0, + 0, 580, 17, 260, 261, 262, 263, 264, 265, 266, + 267, 268, 269, 270, 271, 255, 256, 257, 745, 258, + 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, + 269, 270, 271, 7, 8, 9, 10, 124, 0, 0, + 0, 0, 12, 13, 14, 259, 260, 261, 262, 263, + 264, 265, 266, 267, 268, 269, 270, 271, 16, 255, + 256, 257, 824, 258, 259, 260, 261, 262, 263, 264, + 265, 266, 267, 268, 269, 270, 271, 255, 256, 257, + 0, 258, 259, 260, 261, 262, 263, 264, 265, 266, + 267, 268, 269, 270, 271, 257, 0, 258, 259, 260, + 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, + 271 +}; + +static const short yycheck[] = +{ + 65, 3, 67, 5, 316, 3, 146, 5, 25, 147, + 322, 42, 43, 225, 12, 13, 14, 538, 318, 291, + 3, 538, 5, 3, 3, 5, 5, 400, 26, 400, + 28, 275, 30, 545, 32, 551, 34, 410, 36, 410, + 38, 3, 40, 5, 3, 3, 5, 5, 464, 216, + 620, 3, 1, 5, 221, 381, 58, 561, 164, 165, + 58, 767, 3, 400, 5, 1, 0, 69, 174, 67, + 400, 69, 1, 410, 180, 58, 597, 538, 58, 58, + 410, 407, 10, 216, 190, 538, 594, 538, 306, 5, + 154, 3, 4, 554, 420, 421, 58, 47, 231, 58, + 58, 554, 1, 620, 314, 811, 58, 69, 50, 1, + 69, 69, 0, 3, 4, 47, 464, 58, 852, 0, + 62, 63, 64, 449, 450, 451, 452, 47, 3, 4, + 147, 1, 456, 300, 84, 77, 31, 1, 67, 660, + 68, 90, 58, 387, 86, 8, 597, 881, 854, 53, + 54, 55, 84, 95, 90, 85, 177, 863, 67, 620, + 3, 4, 104, 381, 84, 67, 68, 620, 31, 493, + 28, 113, 545, 67, 545, 501, 684, 503, 90, 177, + 122, 554, 506, 554, 59, 509, 3, 86, 894, 131, + 67, 208, 209, 465, 86, 193, 700, 195, 140, 197, + 90, 199, 550, 551, 337, 203, 530, 205, 545, 67, + 68, 276, 728, 729, 216, 545, 86, 554, 216, 221, + 241, 388, 86, 221, 554, 3, 4, 67, 31, 231, + 251, 90, 253, 231, 90, 453, 3, 302, 808, 67, + 68, 749, 59, 241, 568, 351, 570, 90, 231, 90, + 67, 231, 231, 251, 216, 253, 84, 216, 216, 221, + 67, 68, 221, 221, 67, 68, 170, 85, 210, 231, + 782, 89, 231, 231, 338, 67, 340, 84, 295, 231, + 6, 59, 8, 609, 3, 4, 67, 191, 500, 67, + 231, 808, 59, 358, 311, 312, 540, 403, 300, 715, + 67, 68, 300, 334, 335, 31, 85, 86, 724, 26, + 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, + 37, 38, 39, 40, 41, 59, 60, 61, 326, 31, + 328, 235, 330, 3, 332, 337, 401, 402, 300, 337, + 59, 300, 300, 669, 67, 47, 672, 808, 67, 68, + 871, 872, 70, 31, 337, 808, 84, 337, 337, 3, + 44, 571, 89, 573, 85, 67, 68, 715, 89, 47, + 274, 67, 68, 277, 698, 337, 724, 47, 337, 337, + 728, 729, 66, 8, 68, 337, 388, 84, 84, 59, + 388, 4, 5, 6, 7, 8, 337, 67, 400, 8, + 13, 14, 15, 85, 84, 665, 31, 89, 410, 782, + 431, 782, 433, 737, 8, 59, 29, 400, 718, 679, + 720, 400, 31, 67, 68, 563, 388, 410, 8, 388, + 388, 410, 572, 431, 84, 433, 85, 381, 400, 89, + 89, 345, 381, 85, 716, 782, 772, 89, 410, 84, + 481, 482, 782, 725, 89, 666, 1, 668, 625, 4, + 5, 6, 7, 8, 495, 496, 84, 634, 13, 14, + 15, 89, 85, 538, 191, 473, 380, 475, 59, 477, + 84, 479, 386, 67, 29, 89, 67, 68, 814, 86, + 802, 86, 804, 5, 6, 7, 8, 215, 3, 4, + 218, 13, 14, 15, 222, 449, 450, 451, 452, 84, + 449, 450, 451, 452, 620, 67, 68, 4, 5, 6, + 7, 8, 848, 849, 428, 84, 13, 14, 15, 84, + 89, 85, 597, 550, 551, 89, 538, 861, 862, 604, + 538, 84, 29, 545, 31, 90, 563, 85, 85, 761, + 85, 89, 554, 47, 89, 538, 554, 574, 538, 538, + 700, 84, 545, 701, 33, 16, 545, 18, 19, 20, + 21, 554, 67, 85, 554, 554, 538, 85, 86, 538, + 538, 612, 613, 545, 85, 84, 538, 10, 89, 3, + 4, 1, 554, 3, 4, 554, 554, 538, 85, 317, + 318, 6, 554, 1, 85, 323, 4, 5, 6, 7, + 8, 449, 450, 11, 452, 13, 14, 15, 620, 523, + 44, 339, 620, 625, 85, 656, 657, 625, 44, 694, + 89, 29, 634, 47, 538, 633, 634, 620, 67, 68, + 620, 620, 640, 89, 642, 59, 644, 84, 646, 789, + 648, 84, 650, 67, 652, 47, 654, 84, 620, 67, + 68, 620, 620, 625, 67, 68, 625, 625, 620, 386, + 91, 389, 634, 184, 185, 634, 634, 311, 312, 620, + 584, 715, 716, 84, 701, 84, 84, 28, 7, 8, + 31, 91, 757, 597, 13, 14, 15, 44, 715, 716, + 86, 605, 86, 44, 769, 86, 1, 724, 725, 47, + 775, 728, 729, 26, 27, 28, 29, 90, 86, 226, + 84, 34, 35, 36, 37, 26, 27, 28, 29, 84, + 84, 91, 91, 34, 35, 36, 37, 85, 28, 1, + 805, 806, 4, 808, 85, 7, 8, 89, 89, 467, + 85, 13, 14, 15, 86, 89, 473, 474, 475, 476, + 477, 478, 479, 480, 84, 7, 8, 29, 84, 31, + 32, 13, 14, 15, 57, 58, 59, 60, 61, 4, + 782, 723, 7, 8, 291, 84, 3, 852, 13, 14, + 15, 856, 510, 511, 7, 8, 514, 47, 47, 782, + 13, 14, 15, 782, 29, 86, 808, 62, 63, 89, + 808, 66, 67, 68, 69, 47, 881, 882, 31, 47, + 782, 85, 85, 85, 86, 808, 8, 1, 808, 808, + 4, 5, 6, 7, 8, 5, 6, 7, 8, 13, + 14, 15, 85, 13, 14, 15, 808, 85, 4, 808, + 808, 7, 8, 86, 90, 29, 808, 13, 14, 15, + 578, 31, 85, 85, 67, 67, 17, 808, 30, 31, + 32, 33, 86, 29, 86, 31, 38, 39, 40, 41, + 193, 194, 195, 196, 85, 18, 47, 394, 5, 6, + 7, 8, 193, 194, 195, 196, 13, 14, 15, 3, + 4, 5, 6, 7, 8, 412, 413, 67, 626, 627, + 67, 84, 630, 67, 31, 85, 90, 635, 636, 84, + 638, 85, 85, 640, 641, 642, 643, 644, 645, 646, + 647, 648, 649, 650, 651, 652, 653, 654, 655, 843, + 30, 31, 32, 33, 84, 84, 67, 85, 38, 39, + 40, 41, 84, 671, 89, 91, 674, 464, 465, 85, + 85, 10, 67, 1, 10, 85, 4, 5, 6, 7, + 8, 84, 84, 10, 85, 13, 14, 15, 4, 5, + 6, 7, 8, 387, 307, 554, 554, 13, 14, 15, + 28, 29, 554, 31, 554, 410, 414, 410, 295, 386, + 718, 682, 720, 29, 569, 31, 44, 593, 4, 5, + 6, 7, 8, 326, 327, 328, 329, 13, 14, 15, + 738, 728, 715, 430, 742, 326, 327, 328, 329, 67, + 68, 337, 669, 29, 672, 197, 198, 199, 200, 428, + 345, 812, 382, 550, 551, 616, 814, 85, 7, 8, + 858, 89, 90, -1, 13, 14, 15, 1, 860, 85, + 4, 5, 6, 7, 8, 783, 784, -1, 786, 13, + 14, 15, 31, 791, 467, 793, 482, -1, -1, -1, + -1, -1, 800, -1, 28, 29, -1, 31, -1, 85, + 54, 55, 56, 57, 58, 59, 60, 61, 28, -1, + 44, 31, 239, 240, -1, -1, -1, 197, 198, 199, + 200, -1, -1, 250, 44, -1, -1, -1, 255, 256, + -1, 628, 629, 260, 261, 262, 263, 264, 265, 266, + 267, 268, 269, 270, 271, -1, -1, 67, 68, -1, + -1, 85, -1, -1, -1, 89, 90, -1, 5, 6, + 7, 8, -1, -1, -1, 85, 13, 14, 15, 89, + 473, 474, -1, -1, 477, 478, -1, -1, 330, 331, + 332, 333, 473, 474, 31, -1, 477, 478, 4, 5, + 6, 7, 8, -1, -1, -1, -1, 13, 14, 15, + -1, 4, 5, 6, 7, 8, 1, -1, 3, 4, + 13, 14, 15, 29, 9, 10, -1, 12, 715, 716, + -1, -1, -1, -1, -1, -1, 29, 724, 725, -1, + -1, 728, 729, 360, 361, 30, -1, 32, 85, 34, + 35, 36, 37, 38, -1, -1, -1, -1, 43, -1, + 330, 331, 332, 333, 49, -1, -1, 52, -1, -1, + -1, -1, 57, 58, 59, -1, -1, 62, 63, 85, + -1, 66, 67, 68, 4, 5, 6, 7, 8, -1, + 777, 778, 779, 13, 14, 15, -1, -1, -1, -1, + -1, 86, 87, 88, -1, 90, -1, -1, -1, 29, + 427, 31, -1, -1, -1, 432, -1, 4, 5, 6, + 7, 8, 439, -1, -1, -1, 13, 14, 15, -1, + -1, -1, -1, 475, 476, -1, -1, 479, 480, -1, + -1, -1, 29, -1, 31, -1, -1, 640, 641, 642, + 643, -1, -1, -1, -1, 648, 649, 650, 651, 640, + 641, 642, 643, -1, -1, 85, -1, 648, 649, 650, + 651, 53, 54, 55, 56, 57, 58, 59, 60, 61, + 497, -1, -1, 1, -1, 3, 4, -1, -1, 7, + 8, 9, 10, -1, 12, 13, 14, 15, 85, -1, + -1, -1, 519, -1, -1, 475, 476, -1, -1, 479, + 480, 29, 30, 31, 32, -1, 34, 35, 36, 37, + 38, -1, -1, -1, -1, 43, 4, 5, 6, 7, + 8, 49, -1, -1, 52, 13, 14, 15, -1, 57, + 58, 59, -1, -1, 62, 63, -1, -1, -1, 67, + -1, 29, 569, -1, -1, 4, 5, 6, 7, 8, + -1, -1, 11, 580, 13, 14, 15, -1, 585, 87, + 88, -1, 90, -1, -1, -1, -1, 594, 595, -1, + 29, -1, 31, 600, -1, -1, -1, 1, -1, 3, + 4, 5, 6, 7, 8, -1, -1, 11, -1, 13, + 14, 15, 644, 645, 646, 647, -1, 85, -1, -1, + 652, 653, 654, 655, 1, 29, -1, 4, 5, 6, + 7, 8, 5, 6, 7, 8, 13, 14, 15, -1, + 13, 14, 15, 1, -1, 3, 4, 5, 6, 7, + 8, 28, 29, -1, 31, 13, 14, 15, 665, -1, + -1, -1, -1, 670, -1, -1, 673, 44, -1, -1, + 28, 29, 679, 31, 32, 682, -1, 684, -1, -1, + 84, -1, -1, -1, 644, 645, 646, 647, -1, -1, + 67, 68, 652, 653, 654, 655, 4, 5, 6, 7, + 8, 59, -1, -1, -1, 13, 14, 15, 85, 67, + -1, -1, 89, 90, 5, 6, 7, 8, -1, -1, + -1, 29, 13, 14, 15, -1, -1, 85, -1, -1, + -1, -1, 739, -1, -1, -1, 743, -1, -1, 746, + 31, -1, 749, -1, 1, 752, 3, 4, 5, 6, + 7, 8, 9, 10, -1, 12, 13, 14, 15, 16, + -1, 18, 19, 20, 21, 22, 23, 24, 25, 26, + 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, + 37, 38, -1, -1, -1, -1, 43, -1, 5, 6, + 7, 8, 49, -1, 85, 52, 13, 14, 15, -1, + 57, 58, 59, -1, -1, 62, 63, -1, -1, -1, + 67, -1, 5, 6, 7, 8, 5, 6, 7, 8, + 13, 14, 15, -1, 13, 14, 15, -1, 85, 86, + 87, 88, 1, 90, 3, 4, 5, 6, 7, 8, + 9, 10, 31, 12, 13, 14, 15, 16, -1, 18, + 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, + 29, 30, 31, 32, -1, 34, 35, 36, 37, 38, + -1, -1, -1, -1, 43, -1, 5, 6, 7, 8, + 49, -1, -1, 52, 13, 14, 15, -1, 57, 58, + 59, -1, 85, 62, 63, -1, 85, -1, 67, 5, + 6, 7, 8, 5, 6, 7, 8, 13, 14, 15, + -1, 13, 14, 15, -1, -1, 85, -1, 87, 88, + 1, 90, 3, 4, -1, -1, -1, -1, 9, 10, + -1, 12, -1, -1, -1, 16, -1, 18, 19, 20, + 21, 22, 23, 24, 25, 26, 27, 28, -1, 30, + -1, 32, -1, 34, 35, 36, 37, 38, -1, -1, + 1, -1, 43, 4, -1, -1, 7, 8, 49, -1, + -1, 52, 13, 14, 15, -1, 57, 58, 59, 85, + -1, 62, 63, 85, -1, -1, 67, -1, 29, -1, + 31, 32, 5, 6, 7, 8, -1, -1, -1, -1, + 13, 14, 15, -1, 85, -1, 87, 88, 1, 90, + 3, 4, -1, -1, -1, -1, 9, 10, 31, 12, + -1, -1, -1, 16, -1, 18, 19, 20, 21, 22, + 23, 24, 25, 26, 27, 28, -1, 30, -1, 32, + -1, 34, 35, 36, 37, 38, -1, -1, -1, -1, + 43, -1, 5, 6, 7, 8, 49, -1, -1, 52, + 13, 14, 15, -1, 57, 58, 59, -1, -1, 62, + 63, -1, -1, 1, 67, 3, 4, -1, 31, -1, + -1, 9, 10, -1, 12, 55, 56, 57, 58, 59, + 60, 61, 85, -1, 87, 88, -1, 90, -1, -1, + -1, -1, 30, -1, 32, -1, 34, 35, 36, 37, + 38, -1, -1, -1, -1, 43, -1, 5, 6, 7, + 8, 49, -1, -1, 52, 13, 14, 15, -1, 57, + 58, 59, -1, -1, 62, 63, -1, -1, 66, 67, + 68, 1, -1, 3, -1, -1, -1, -1, -1, 9, + 10, -1, 12, -1, -1, -1, -1, -1, 86, 87, + 88, -1, 90, -1, -1, -1, -1, -1, -1, -1, + 30, -1, 32, -1, 34, 35, 36, 37, 38, -1, + -1, -1, -1, 43, 44, -1, -1, -1, -1, 49, + -1, -1, 52, -1, -1, -1, -1, 57, 58, 59, + -1, -1, 62, 63, -1, -1, 66, 67, 68, 1, + -1, 3, -1, -1, -1, -1, -1, 9, 10, -1, + 12, -1, 4, 5, 6, 7, 8, 87, 88, -1, + 90, 13, 14, 15, -1, -1, -1, -1, 30, -1, + 32, -1, 34, 35, 36, 37, 38, 29, -1, 31, + -1, 43, 4, 5, 6, 7, 8, 49, -1, -1, + 52, 13, 14, 15, -1, 57, 58, 59, -1, -1, + 62, 63, 1, -1, 3, 67, -1, 29, -1, 31, + 9, 10, -1, 12, 5, 6, 7, 8, -1, -1, + -1, -1, 13, 14, 15, 87, 88, -1, 90, -1, + -1, 30, -1, 32, -1, 34, 35, 36, 37, 38, + 31, -1, -1, -1, 43, 4, 5, 6, 7, 8, + 49, -1, -1, 52, 13, 14, 15, -1, 57, 58, + 59, -1, -1, 62, 63, 3, -1, -1, 67, -1, + 29, 9, 10, -1, 12, -1, 4, 5, 6, 7, + 8, -1, -1, -1, -1, 13, 14, 15, 87, 88, + -1, 90, 30, -1, 32, -1, 34, 35, 36, 37, + 38, 29, -1, 31, -1, 43, 3, -1, -1, -1, + -1, 49, 9, 10, 52, 12, -1, -1, -1, 57, + 58, 59, -1, -1, 62, 63, -1, -1, -1, 67, + -1, -1, -1, 30, -1, 32, -1, 34, 35, 36, + 37, 38, -1, -1, -1, -1, 43, -1, -1, 87, + 88, -1, 49, 91, -1, 52, -1, -1, -1, -1, + 57, 58, 59, -1, 4, 62, 63, 7, 8, -1, + 67, -1, -1, 13, 14, 15, 3, 4, 5, 6, + 7, 8, 9, 10, -1, 12, 13, 14, 15, 29, + 87, 88, -1, -1, 91, 22, 23, 24, 25, 26, + 27, 28, 29, 30, 31, 32, -1, 34, 35, 36, + 37, 38, -1, -1, -1, -1, 43, 4, 5, 6, + 7, 8, 49, -1, -1, 52, 13, 14, 15, -1, + 57, 58, 59, -1, -1, 62, 63, -1, -1, -1, + 67, -1, 29, -1, 31, 3, 4, -1, -1, -1, + -1, 9, 10, -1, 12, -1, -1, -1, 85, -1, + 87, 88, -1, 90, 22, 23, 24, 25, 26, 27, + 28, -1, 30, -1, 32, -1, 34, 35, 36, 37, + 38, -1, -1, -1, -1, 43, 4, 5, 6, 7, + 8, 49, -1, -1, 52, 13, 14, 15, -1, 57, + 58, 59, -1, -1, 62, 63, 3, -1, -1, 67, + -1, 29, 9, 10, -1, 12, 51, 52, 53, 54, + 55, 56, 57, 58, 59, 60, 61, 85, -1, 87, + 88, -1, 90, 30, -1, 32, -1, 34, 35, 36, + 37, 38, -1, -1, -1, -1, 43, -1, -1, -1, + -1, -1, 49, -1, -1, 52, -1, -1, -1, -1, + 57, 58, 59, -1, -1, 62, 63, -1, -1, -1, + 67, 3, 4, 5, 6, 7, 8, 9, 10, -1, + 12, 13, 14, 15, -1, 4, -1, -1, 7, 8, + 87, 88, -1, 90, 13, 14, 15, 29, 30, 31, + 32, -1, 34, 35, 36, 37, 38, -1, -1, -1, + 29, 43, 31, -1, -1, -1, -1, 49, -1, -1, + 52, -1, -1, -1, -1, 57, 58, 59, -1, -1, + 62, 63, 3, 4, -1, 67, 7, 8, 9, 10, + -1, 12, 13, 14, 15, 52, 53, 54, 55, 56, + 57, 58, 59, 60, 61, 87, 88, -1, 29, 30, + 31, 32, -1, 34, 35, 36, 37, 38, -1, -1, + -1, -1, 43, 3, -1, -1, -1, -1, 49, 9, + 10, 52, 12, -1, -1, -1, 57, 58, 59, -1, + -1, 62, 63, -1, -1, -1, 67, -1, -1, -1, + 30, -1, 32, -1, 34, 35, 36, 37, 38, -1, + -1, -1, -1, 43, 3, -1, 87, 88, -1, 49, + 9, 10, 52, 12, -1, -1, -1, 57, 58, 59, + -1, -1, 62, 63, -1, -1, -1, 67, -1, -1, + -1, 30, -1, 32, -1, 34, 35, 36, 37, 38, + -1, -1, -1, -1, 43, 85, -1, 87, 88, -1, + 49, -1, -1, 52, -1, -1, -1, -1, 57, 58, + 59, -1, -1, 62, 63, 3, -1, -1, 67, -1, + -1, 9, 10, -1, 12, -1, 4, -1, -1, 7, + 8, -1, -1, -1, -1, 13, 14, 15, 87, 88, + -1, -1, 30, -1, 32, -1, 34, 35, 36, 37, + 38, 29, -1, 31, -1, 43, 3, -1, -1, -1, + -1, 49, 9, 10, 52, 12, -1, -1, -1, 57, + 58, 59, -1, -1, 62, 63, -1, -1, -1, 67, + -1, -1, -1, 30, -1, 32, -1, 34, 35, 36, + 37, 38, -1, -1, -1, -1, 43, 3, -1, 87, + 88, -1, 49, 9, 10, 52, 12, -1, -1, -1, + 57, 58, 59, -1, -1, 62, 63, -1, -1, -1, + 67, -1, -1, -1, 30, 11, 32, -1, 34, 35, + 36, 37, 38, -1, -1, -1, -1, 43, -1, -1, + 87, 88, -1, 49, -1, -1, 52, -1, -1, -1, + 11, 57, 58, 59, -1, -1, 62, 63, 44, 45, + 46, 67, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, -1, -1, -1, -1, + -1, 87, 88, 44, 45, 46, 47, 48, 49, 50, + 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, + 61, -1, 44, 45, 46, 91, 48, 49, 50, 51, + 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, + 44, 45, 46, -1, 48, 49, 50, 51, 52, 53, + 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, + -1, -1, -1, -1, -1, -1, 44, 45, 46, 91, + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, + 58, 59, 60, 61, -1, 89, 44, 45, 46, -1, + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, + 58, 59, 60, 61, -1, -1, -1, -1, 44, 45, + 46, 89, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, -1, -1, -1, -1, + -1, 89, 31, 50, 51, 52, 53, 54, 55, 56, + 57, 58, 59, 60, 61, 44, 45, 46, 84, 48, + 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, + 59, 60, 61, 4, 5, 6, 7, 8, -1, -1, + -1, -1, 13, 14, 15, 49, 50, 51, 52, 53, + 54, 55, 56, 57, 58, 59, 60, 61, 29, 44, + 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, + 55, 56, 57, 58, 59, 60, 61, 44, 45, 46, + -1, 48, 49, 50, 51, 52, 53, 54, 55, 56, + 57, 58, 59, 60, 61, 46, -1, 48, 49, 50, + 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, + 61 +}; + +/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing + symbol of state STATE-NUM. */ +static const unsigned short yystos[] = +{ + 0, 93, 94, 95, 0, 96, 1, 4, 5, 6, + 7, 8, 13, 14, 15, 28, 29, 31, 32, 85, + 97, 98, 99, 100, 115, 131, 134, 135, 136, 137, + 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, + 148, 149, 150, 151, 157, 159, 160, 161, 162, 163, + 172, 173, 177, 200, 201, 202, 203, 208, 293, 97, + 85, 86, 172, 172, 172, 67, 67, 67, 3, 59, + 67, 165, 169, 199, 8, 159, 160, 172, 177, 8, + 159, 160, 177, 8, 159, 160, 172, 177, 8, 159, + 160, 177, 8, 161, 162, 172, 177, 8, 161, 162, + 177, 8, 161, 162, 172, 177, 8, 161, 162, 177, + 8, 159, 160, 172, 177, 8, 159, 160, 177, 8, + 159, 160, 172, 177, 8, 159, 160, 177, 8, 161, + 162, 172, 177, 8, 161, 162, 177, 8, 161, 162, + 172, 177, 8, 161, 162, 177, 131, 131, 85, 173, + 3, 4, 90, 107, 90, 107, 90, 107, 97, 3, + 9, 10, 12, 30, 34, 35, 36, 37, 38, 43, + 49, 52, 57, 58, 59, 62, 63, 67, 87, 88, + 108, 109, 111, 112, 113, 114, 116, 117, 123, 247, + 293, 67, 109, 134, 135, 136, 137, 138, 139, 140, + 141, 156, 220, 134, 135, 136, 137, 155, 158, 171, + 172, 85, 89, 1, 28, 67, 68, 105, 166, 228, + 4, 59, 67, 164, 167, 194, 195, 199, 165, 199, + 211, 212, 90, 211, 90, 207, 90, 116, 116, 67, + 67, 67, 107, 116, 1, 90, 109, 220, 116, 84, + 89, 67, 112, 67, 112, 44, 45, 46, 48, 49, + 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + 60, 61, 62, 63, 66, 67, 68, 69, 1, 86, + 236, 245, 116, 7, 8, 107, 174, 175, 176, 177, + 84, 221, 84, 199, 199, 132, 171, 67, 171, 288, + 6, 155, 158, 1, 125, 126, 127, 128, 235, 254, + 171, 158, 171, 85, 89, 1, 101, 166, 67, 228, + 85, 1, 103, 86, 1, 85, 134, 135, 136, 137, + 138, 139, 140, 141, 154, 155, 213, 293, 204, 86, + 205, 1, 107, 218, 219, 206, 117, 117, 220, 84, + 84, 84, 85, 117, 220, 220, 117, 117, 120, 122, + 119, 118, 117, 117, 117, 117, 117, 117, 117, 117, + 117, 117, 117, 117, 107, 110, 111, 109, 107, 84, + 33, 240, 241, 242, 84, 84, 89, 67, 59, 67, + 222, 224, 225, 226, 227, 228, 84, 169, 199, 10, + 289, 158, 6, 59, 91, 109, 85, 106, 235, 127, + 255, 44, 195, 195, 132, 125, 171, 288, 125, 171, + 131, 131, 85, 213, 211, 171, 211, 44, 89, 210, + 218, 89, 89, 89, 90, 116, 84, 84, 109, 47, + 117, 117, 84, 91, 107, 292, 1, 130, 229, 230, + 231, 232, 233, 234, 235, 246, 254, 258, 259, 242, + 84, 175, 3, 110, 158, 171, 278, 67, 228, 84, + 1, 3, 11, 134, 135, 138, 139, 142, 143, 146, + 147, 152, 153, 280, 283, 284, 286, 290, 291, 109, + 109, 91, 91, 254, 129, 152, 153, 170, 84, 167, + 194, 102, 44, 104, 214, 216, 254, 215, 217, 254, + 86, 86, 117, 219, 86, 210, 220, 117, 220, 124, + 47, 117, 85, 89, 130, 258, 259, 130, 258, 259, + 254, 258, 259, 130, 258, 259, 235, 86, 255, 84, + 89, 84, 225, 226, 224, 279, 171, 278, 84, 131, + 287, 287, 84, 85, 89, 84, 89, 91, 91, 255, + 85, 131, 85, 131, 1, 90, 117, 178, 254, 168, + 254, 89, 255, 89, 255, 171, 171, 171, 86, 84, + 89, 84, 1, 3, 66, 68, 90, 107, 117, 180, + 181, 182, 184, 186, 187, 121, 107, 255, 237, 4, + 22, 23, 24, 25, 26, 27, 28, 85, 90, 107, + 109, 133, 150, 151, 157, 238, 244, 248, 270, 271, + 293, 111, 84, 280, 4, 59, 67, 196, 197, 198, + 199, 223, 224, 225, 59, 67, 199, 223, 281, 11, + 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, + 144, 145, 146, 147, 148, 149, 150, 151, 285, 3, + 1, 243, 248, 164, 165, 179, 255, 178, 255, 132, + 47, 194, 132, 47, 199, 171, 117, 107, 117, 185, + 47, 86, 89, 209, 44, 187, 184, 117, 117, 47, + 85, 85, 85, 109, 59, 107, 8, 272, 254, 85, + 131, 131, 85, 16, 18, 19, 20, 21, 249, 250, + 252, 260, 245, 133, 84, 158, 171, 171, 67, 228, + 67, 228, 171, 172, 158, 171, 171, 171, 131, 131, + 248, 85, 85, 180, 243, 243, 216, 254, 117, 47, + 171, 217, 117, 47, 171, 84, 11, 91, 180, 183, + 182, 184, 11, 47, 85, 109, 85, 67, 255, 164, + 188, 194, 165, 191, 199, 251, 262, 253, 264, 67, + 17, 1, 238, 257, 1, 67, 239, 197, 198, 198, + 288, 288, 282, 196, 199, 223, 199, 223, 86, 255, + 171, 117, 171, 117, 117, 86, 184, 117, 85, 109, + 47, 85, 189, 85, 192, 67, 67, 257, 67, 109, + 1, 261, 256, 258, 259, 109, 84, 280, 171, 171, + 171, 171, 171, 91, 47, 47, 84, 171, 125, 125, + 109, 109, 18, 109, 133, 269, 273, 84, 257, 239, + 256, 84, 10, 68, 274, 275, 276, 85, 190, 193, + 84, 84, 265, 85, 268, 85, 67, 107, 47, 84, + 89, 254, 254, 263, 273, 257, 109, 91, 274, 85, + 276, 255, 255, 257, 85, 84, 10, 47, 84, 248, + 248, 266, 67, 10, 277, 85, 273, 109, 84, 89, + 84, 84, 85, 10, 267, 257 +}; + +#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) +# define YYSIZE_T __SIZE_TYPE__ +#endif +#if ! defined (YYSIZE_T) && defined (size_t) +# define YYSIZE_T size_t +#endif +#if ! defined (YYSIZE_T) +# if defined (__STDC__) || defined (__cplusplus) +# include /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# endif +#endif +#if ! defined (YYSIZE_T) +# define YYSIZE_T unsigned int +#endif + +#define yyerrok (yyerrstatus = 0) +#define yyclearin (yychar = YYEMPTY) +#define YYEMPTY (-2) +#define YYEOF 0 + +#define YYACCEPT goto yyacceptlab +#define YYABORT goto yyabortlab +#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); \ + yytoken = YYTRANSLATE (yychar); \ + YYPOPSTACK; \ + goto yybackup; \ + } \ + else \ + { \ + yyerror ("syntax error: cannot back up");\ + YYERROR; \ + } \ +while (0) + +#define YYTERROR 1 +#define YYERRCODE 256 + +/* YYLLOC_DEFAULT -- Compute the default location (before the actions + are run). */ + +#ifndef YYLLOC_DEFAULT +# define YYLLOC_DEFAULT(Current, Rhs, N) \ + Current.first_line = Rhs[1].first_line; \ + Current.first_column = Rhs[1].first_column; \ + Current.last_line = Rhs[N].last_line; \ + Current.last_column = Rhs[N].last_column; +#endif + +/* YYLEX -- calling `yylex' with the right arguments. */ + +#ifdef YYLEX_PARAM +# define YYLEX yylex (YYLEX_PARAM) +#else +# define YYLEX yylex () +#endif + +/* Enable debugging if requested. */ +#if YYDEBUG + +# ifndef YYFPRINTF +# include /* INFRINGES ON USER NAME SPACE */ +# define YYFPRINTF fprintf +# endif + +# define YYDPRINTF(Args) \ +do { \ + if (yydebug) \ + YYFPRINTF Args; \ +} while (0) + +# define YYDSYMPRINT(Args) \ +do { \ + if (yydebug) \ + yysymprint Args; \ +} while (0) + +# define YYDSYMPRINTF(Title, Token, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yysymprint (stderr, \ + Token, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (0) + +/*------------------------------------------------------------------. +| yy_stack_print -- Print the state stack from its BOTTOM up to its | +| TOP (cinluded). | +`------------------------------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yy_stack_print (short *bottom, short *top) +#else +static void +yy_stack_print (bottom, top) + short *bottom; + short *top; +#endif +{ + YYFPRINTF (stderr, "Stack now"); + for (/* Nothing. */; bottom <= top; ++bottom) + YYFPRINTF (stderr, " %d", *bottom); + YYFPRINTF (stderr, "\n"); +} + +# define YY_STACK_PRINT(Bottom, Top) \ +do { \ + if (yydebug) \ + yy_stack_print ((Bottom), (Top)); \ +} while (0) + + +/*------------------------------------------------. +| Report that the YYRULE is going to be reduced. | +`------------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yy_reduce_print (int yyrule) +#else +static void +yy_reduce_print (yyrule) + int yyrule; +#endif +{ + int yyi; + unsigned int yylineno = yyrline[yyrule]; + YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", + yyrule - 1, yylineno); + /* Print the symbols being reduced, and their result. */ + for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++) + YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]); + YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]); +} + +# define YY_REDUCE_PRINT(Rule) \ +do { \ + if (yydebug) \ + yy_reduce_print (Rule); \ +} while (0) + +/* Nonzero means print parse trace. It is left uninitialized so that + multiple parsers can coexist. */ +int yydebug; +#else /* !YYDEBUG */ +# define YYDPRINTF(Args) +# define YYDSYMPRINT(Args) +# define YYDSYMPRINTF(Title, Token, Value, Location) +# define YY_STACK_PRINT(Bottom, Top) +# define YY_REDUCE_PRINT(Rule) +#endif /* !YYDEBUG */ + + +/* YYINITDEPTH -- initial size of the parser's stacks. */ +#ifndef YYINITDEPTH +# define YYINITDEPTH 200 +#endif + +/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only + if the built-in stack extension method is used). + + Do not make this value too large; the results are undefined if + SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) + evaluated with infinite-precision integer arithmetic. */ + +#if YYMAXDEPTH == 0 +# undef YYMAXDEPTH +#endif + +#ifndef YYMAXDEPTH +# define YYMAXDEPTH 10000 +#endif + + + +#if YYERROR_VERBOSE + +# ifndef yystrlen +# if defined (__GLIBC__) && defined (_STRING_H) +# define yystrlen strlen +# else +/* Return the length of YYSTR. */ +static YYSIZE_T +# if defined (__STDC__) || defined (__cplusplus) +yystrlen (const char *yystr) +# else +yystrlen (yystr) + const char *yystr; +# endif +{ + register const char *yys = yystr; + + while (*yys++ != '\0') + continue; + + return yys - yystr - 1; +} +# endif +# endif + +# ifndef yystpcpy +# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) +# define yystpcpy stpcpy +# else +/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in + YYDEST. */ +static char * +# if defined (__STDC__) || defined (__cplusplus) +yystpcpy (char *yydest, const char *yysrc) +# else +yystpcpy (yydest, yysrc) + char *yydest; + const char *yysrc; +# endif +{ + register char *yyd = yydest; + register const char *yys = yysrc; + + while ((*yyd++ = *yys++) != '\0') + continue; + + return yyd - 1; +} +# endif +# endif + +#endif /* !YYERROR_VERBOSE */ + + + +#if YYDEBUG +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep) +#else +static void +yysymprint (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE *yyvaluep; +#endif +{ + /* Pacify ``unused variable'' warnings. */ + (void) yyvaluep; + + if (yytype < YYNTOKENS) + { + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); +# ifdef YYPRINT + YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); +# endif + } + else + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); + + switch (yytype) + { + default: + break; + } + YYFPRINTF (yyoutput, ")"); +} + +#endif /* ! YYDEBUG */ +/*-----------------------------------------------. +| Release the memory associated to this symbol. | +`-----------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yydestruct (int yytype, YYSTYPE *yyvaluep) +#else +static void +yydestruct (yytype, yyvaluep) + int yytype; + YYSTYPE *yyvaluep; +#endif +{ + /* Pacify ``unused variable'' warnings. */ + (void) yyvaluep; + + switch (yytype) + { + + default: + break; + } +} + + +/* Prevent warnings from -Wmissing-prototypes. */ + +#ifdef YYPARSE_PARAM +# if defined (__STDC__) || defined (__cplusplus) +int yyparse (void *YYPARSE_PARAM); +# else +int yyparse (); +# endif +#else /* ! YYPARSE_PARAM */ +#if defined (__STDC__) || defined (__cplusplus) +int yyparse (void); +#else +int yyparse (); +#endif +#endif /* ! YYPARSE_PARAM */ + + + +/* The lookahead symbol. */ +int yychar; + +/* The semantic value of the lookahead symbol. */ +YYSTYPE yylval; + +/* Number of syntax errors so far. */ +int yynerrs; + + + +/*----------. +| yyparse. | +`----------*/ + +#ifdef YYPARSE_PARAM +# if defined (__STDC__) || defined (__cplusplus) +int yyparse (void *YYPARSE_PARAM) +# else +int yyparse (YYPARSE_PARAM) + void *YYPARSE_PARAM; +# endif +#else /* ! YYPARSE_PARAM */ +#if defined (__STDC__) || defined (__cplusplus) +int +yyparse (void) +#else +int +yyparse () + +#endif +#endif +{ + + register int yystate; + register int yyn; + int yyresult; + /* Number of tokens to shift before error messages enabled. */ + int yyerrstatus; + /* Lookahead token as an internal (translated) token number. */ + int yytoken = 0; + + /* Three stacks and their tools: + `yyss': related to states, + `yyvs': related to semantic values, + `yyls': related to locations. + + Refer to the stacks thru separate pointers, to allow yyoverflow + to reallocate them elsewhere. */ + + /* The state stack. */ + short yyssa[YYINITDEPTH]; + short *yyss = yyssa; + register short *yyssp; + + /* The semantic value stack. */ + YYSTYPE yyvsa[YYINITDEPTH]; + YYSTYPE *yyvs = yyvsa; + register YYSTYPE *yyvsp; + + + +#define YYPOPSTACK (yyvsp--, yyssp--) + + YYSIZE_T yystacksize = YYINITDEPTH; + + /* The variables used to return semantic value and location from the + action routines. */ + YYSTYPE yyval; + + + /* When reducing, the number of symbols on the RHS of the reduced + rule. */ + int yylen; + + YYDPRINTF ((stderr, "Starting parse\n")); + + 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; + yyvsp = yyvs; + + goto yysetstate; + +/*------------------------------------------------------------. +| yynewstate -- Push a new state, which is found in yystate. | +`------------------------------------------------------------*/ + yynewstate: + /* In all cases, when you get here, the value and location stacks + have just been pushed. so pushing a state here evens the stacks. + */ + yyssp++; + + yysetstate: + *yyssp = yystate; + + if (yyss + yystacksize - 1 <= yyssp) + { + /* Get the current used size of the three stacks, in elements. */ + YYSIZE_T yysize = yyssp - yyss + 1; + +#ifdef yyoverflow + { + /* 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; + + + /* Each stack pointer address is followed by the size of the + data in use in that stack, in bytes. 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, yysize * sizeof (*yyssp), + &yyvs1, yysize * sizeof (*yyvsp), + + &yystacksize); + + yyss = yyss1; + yyvs = yyvs1; + } +#else /* no yyoverflow */ +# ifndef YYSTACK_RELOCATE + goto yyoverflowlab; +# else + /* Extend the stack our own way. */ + if (YYMAXDEPTH <= yystacksize) + goto yyoverflowlab; + yystacksize *= 2; + if (YYMAXDEPTH < yystacksize) + yystacksize = YYMAXDEPTH; + + { + short *yyss1 = yyss; + union yyalloc *yyptr = + (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); + if (! yyptr) + goto yyoverflowlab; + YYSTACK_RELOCATE (yyss); + YYSTACK_RELOCATE (yyvs); + +# undef YYSTACK_RELOCATE + if (yyss1 != yyssa) + YYSTACK_FREE (yyss1); + } +# endif +#endif /* no yyoverflow */ + + yyssp = yyss + yysize - 1; + yyvsp = yyvs + yysize - 1; + + + YYDPRINTF ((stderr, "Stack size increased to %lu\n", + (unsigned long int) yystacksize)); + + if (yyss + yystacksize - 1 <= yyssp) + YYABORT; + } + + YYDPRINTF ((stderr, "Entering state %d\n", yystate)); + + goto yybackup; + +/*-----------. +| 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 == YYPACT_NINF) + goto yydefault; + + /* Not known => get a lookahead token if don't already have one. */ + + /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ + if (yychar == YYEMPTY) + { + YYDPRINTF ((stderr, "Reading a token: ")); + yychar = YYLEX; + } + + if (yychar <= YYEOF) + { + yychar = yytoken = YYEOF; + YYDPRINTF ((stderr, "Now at end of input.\n")); + } + else + { + yytoken = YYTRANSLATE (yychar); + YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc); + } + + /* If the proper action on seeing token YYTOKEN is to reduce or to + detect an error, take that action. */ + yyn += yytoken; + if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) + goto yydefault; + yyn = yytable[yyn]; + if (yyn <= 0) + { + if (yyn == 0 || yyn == YYTABLE_NINF) + goto yyerrlab; + yyn = -yyn; + goto yyreduce; + } + + if (yyn == YYFINAL) + YYACCEPT; + + /* Shift the lookahead token. */ + YYDPRINTF ((stderr, "Shifting token %s, ", yytname[yytoken])); + + /* Discard the token being shifted unless it is eof. */ + if (yychar != YYEOF) + yychar = YYEMPTY; + + *++yyvsp = yylval; + + + /* Count tokens shifted since error; after three, turn off error + status. */ + if (yyerrstatus) + yyerrstatus--; + + yystate = yyn; + goto yynewstate; + + +/*-----------------------------------------------------------. +| yydefault -- do the default action for the current state. | +`-----------------------------------------------------------*/ +yydefault: + yyn = yydefact[yystate]; + if (yyn == 0) + goto yyerrlab; + goto yyreduce; + + +/*-----------------------------. +| yyreduce -- Do a reduction. | +`-----------------------------*/ +yyreduce: + /* yyn is the number of a rule to reduce with. */ + yylen = yyr2[yyn]; + + /* If YYLEN is nonzero, implement the default value of the action: + `$$ = $1'. + + Otherwise, the following line sets YYVAL to garbage. + This behavior is undocumented and Bison + users should not rely upon it. Assigning to YYVAL + unconditionally makes the parser a bit smaller, and it avoids a + GCC warning that YYVAL may be used uninitialized. */ + yyval = yyvsp[1-yylen]; + + + YY_REDUCE_PRINT (yyn); + switch (yyn) + { + case 2: +#line 324 "c-parse.y" + { if (pedantic) + pedwarn ("ISO C forbids an empty source file"); + finish_file (); + ;} + break; + + case 3: +#line 329 "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); + /* __FUNCTION__ is defined at file scope (""). This + call may not be necessary as my tests indicate it + still works without it. */ + finish_fname_decls (); + finish_file (); + ;} + break; + + case 4: +#line 347 "c-parse.y" + {yyval.ttype = NULL_TREE; ;} + break; + + case 6: +#line 348 "c-parse.y" + {yyval.ttype = NULL_TREE; ggc_collect(); ;} + break; + + case 8: +#line 353 "c-parse.y" + { parsing_iso_function_signature = false; ;} + break; + + case 11: +#line 360 "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 12: +#line 368 "c-parse.y" + { RESTORE_EXT_FLAGS (yyvsp[-1].ttype); ;} + break; + + case 13: +#line 373 "c-parse.y" + { if (pedantic) + error ("ISO C forbids data definition with no type or storage class"); + else + warning ("data definition has no type or storage class"); + + POP_DECLSPEC_STACK; ;} + break; + + case 14: +#line 380 "c-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 15: +#line 382 "c-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 16: +#line 384 "c-parse.y" + { shadow_tag (yyvsp[-1].ttype); ;} + break; + + case 19: +#line 388 "c-parse.y" + { if (pedantic) + pedwarn ("ISO C does not allow extra `;' outside of a function"); ;} + break; + + case 20: +#line 394 "c-parse.y" + { if (! start_function (current_declspecs, yyvsp[0].ttype, + all_prefix_attributes)) + YYERROR1; + ;} + break; + + case 21: +#line 399 "c-parse.y" + { store_parm_decls (); ;} + break; + + case 22: +#line 401 "c-parse.y" + { DECL_SOURCE_FILE (current_function_decl) = yyvsp[-2].filename; + DECL_SOURCE_LINE (current_function_decl) = yyvsp[-1].lineno; + finish_function (0, 1); + POP_DECLSPEC_STACK; ;} + break; + + case 23: +#line 406 "c-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 24: +#line 408 "c-parse.y" + { if (! start_function (current_declspecs, yyvsp[0].ttype, + all_prefix_attributes)) + YYERROR1; + ;} + break; + + case 25: +#line 413 "c-parse.y" + { store_parm_decls (); ;} + break; + + case 26: +#line 415 "c-parse.y" + { DECL_SOURCE_FILE (current_function_decl) = yyvsp[-2].filename; + DECL_SOURCE_LINE (current_function_decl) = yyvsp[-1].lineno; + finish_function (0, 1); + POP_DECLSPEC_STACK; ;} + break; + + case 27: +#line 420 "c-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 28: +#line 422 "c-parse.y" + { if (! start_function (NULL_TREE, yyvsp[0].ttype, + all_prefix_attributes)) + YYERROR1; + ;} + break; + + case 29: +#line 427 "c-parse.y" + { store_parm_decls (); ;} + break; + + case 30: +#line 429 "c-parse.y" + { DECL_SOURCE_FILE (current_function_decl) = yyvsp[-2].filename; + DECL_SOURCE_LINE (current_function_decl) = yyvsp[-1].lineno; + finish_function (0, 1); + POP_DECLSPEC_STACK; ;} + break; + + case 31: +#line 434 "c-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 34: +#line 443 "c-parse.y" + { yyval.code = ADDR_EXPR; ;} + break; + + case 35: +#line 445 "c-parse.y" + { yyval.code = NEGATE_EXPR; ;} + break; + + case 36: +#line 447 "c-parse.y" + { yyval.code = CONVERT_EXPR; + if (warn_traditional && !in_system_header) + warning ("traditional C rejects the unary plus operator"); + ;} + break; + + case 37: +#line 452 "c-parse.y" + { yyval.code = PREINCREMENT_EXPR; ;} + break; + + case 38: +#line 454 "c-parse.y" + { yyval.code = PREDECREMENT_EXPR; ;} + break; + + case 39: +#line 456 "c-parse.y" + { yyval.code = BIT_NOT_EXPR; ;} + break; + + case 40: +#line 458 "c-parse.y" + { yyval.code = TRUTH_NOT_EXPR; ;} + break; + + case 41: +#line 462 "c-parse.y" + { yyval.ttype = build_compound_expr (yyvsp[0].ttype); ;} + break; + + case 42: +#line 467 "c-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 44: +#line 473 "c-parse.y" + { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 45: +#line 475 "c-parse.y" + { chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;} + break; + + case 47: +#line 481 "c-parse.y" + { yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ;} + break; + + case 48: +#line 484 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; + RESTORE_EXT_FLAGS (yyvsp[-1].ttype); ;} + break; + + case 49: +#line 487 "c-parse.y" + { yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0); + overflow_warning (yyval.ttype); ;} + break; + + case 50: +#line 491 "c-parse.y" + { yyval.ttype = finish_label_address_expr (yyvsp[0].ttype); ;} + break; + + case 51: +#line 493 "c-parse.y" + { skip_evaluation--; + if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF + && DECL_C_BIT_FIELD (TREE_OPERAND (yyvsp[0].ttype, 1))) + error ("`sizeof' applied to a bit-field"); + yyval.ttype = c_sizeof (TREE_TYPE (yyvsp[0].ttype)); ;} + break; + + case 52: +#line 499 "c-parse.y" + { skip_evaluation--; + yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ;} + break; + + case 53: +#line 502 "c-parse.y" + { skip_evaluation--; + yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ;} + break; + + case 54: +#line 505 "c-parse.y" + { skip_evaluation--; + yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ;} + break; + + case 55: +#line 508 "c-parse.y" + { yyval.ttype = build_unary_op (REALPART_EXPR, yyvsp[0].ttype, 0); ;} + break; + + case 56: +#line 510 "c-parse.y" + { yyval.ttype = build_unary_op (IMAGPART_EXPR, yyvsp[0].ttype, 0); ;} + break; + + case 57: +#line 514 "c-parse.y" + { skip_evaluation++; ;} + break; + + case 58: +#line 518 "c-parse.y" + { skip_evaluation++; ;} + break; + + case 59: +#line 522 "c-parse.y" + { skip_evaluation++; ;} + break; + + case 61: +#line 528 "c-parse.y" + { yyval.ttype = c_cast_expr (yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 63: +#line 534 "c-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 64: +#line 536 "c-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 65: +#line 538 "c-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 66: +#line 540 "c-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 67: +#line 542 "c-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 68: +#line 544 "c-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 69: +#line 546 "c-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 70: +#line 548 "c-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 71: +#line 550 "c-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 72: +#line 552 "c-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 73: +#line 554 "c-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 74: +#line 556 "c-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 75: +#line 558 "c-parse.y" + { yyvsp[-1].ttype = c_common_truthvalue_conversion + (default_conversion (yyvsp[-1].ttype)); + skip_evaluation += yyvsp[-1].ttype == boolean_false_node; ;} + break; + + case 76: +#line 562 "c-parse.y" + { skip_evaluation -= yyvsp[-3].ttype == boolean_false_node; + yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-3].ttype, yyvsp[0].ttype); ;} + break; + + case 77: +#line 565 "c-parse.y" + { yyvsp[-1].ttype = c_common_truthvalue_conversion + (default_conversion (yyvsp[-1].ttype)); + skip_evaluation += yyvsp[-1].ttype == boolean_true_node; ;} + break; + + case 78: +#line 569 "c-parse.y" + { skip_evaluation -= yyvsp[-3].ttype == boolean_true_node; + yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-3].ttype, yyvsp[0].ttype); ;} + break; + + case 79: +#line 572 "c-parse.y" + { yyvsp[-1].ttype = c_common_truthvalue_conversion + (default_conversion (yyvsp[-1].ttype)); + skip_evaluation += yyvsp[-1].ttype == boolean_false_node; ;} + break; + + case 80: +#line 576 "c-parse.y" + { skip_evaluation += ((yyvsp[-4].ttype == boolean_true_node) + - (yyvsp[-4].ttype == boolean_false_node)); ;} + break; + + case 81: +#line 579 "c-parse.y" + { skip_evaluation -= yyvsp[-6].ttype == boolean_true_node; + yyval.ttype = build_conditional_expr (yyvsp[-6].ttype, yyvsp[-3].ttype, yyvsp[0].ttype); ;} + break; + + case 82: +#line 582 "c-parse.y" + { if (pedantic) + pedwarn ("ISO C forbids omitting the middle term of a ?: expression"); + /* Make sure first operand is calculated only once. */ + yyvsp[0].ttype = save_expr (yyvsp[-1].ttype); + yyvsp[-1].ttype = c_common_truthvalue_conversion + (default_conversion (yyvsp[0].ttype)); + skip_evaluation += yyvsp[-1].ttype == boolean_true_node; ;} + break; + + case 83: +#line 590 "c-parse.y" + { skip_evaluation -= yyvsp[-4].ttype == boolean_true_node; + yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[0].ttype); ;} + break; + + case 84: +#line 593 "c-parse.y" + { char class; + yyval.ttype = build_modify_expr (yyvsp[-2].ttype, NOP_EXPR, yyvsp[0].ttype); + class = TREE_CODE_CLASS (TREE_CODE (yyval.ttype)); + if (IS_EXPR_CODE_CLASS (class)) + C_SET_EXP_ORIGINAL_CODE (yyval.ttype, MODIFY_EXPR); + ;} + break; + + case 85: +#line 600 "c-parse.y" + { char class; + yyval.ttype = build_modify_expr (yyvsp[-2].ttype, yyvsp[-1].code, yyvsp[0].ttype); + /* This inhibits warnings in + c_common_truthvalue_conversion. */ + class = TREE_CODE_CLASS (TREE_CODE (yyval.ttype)); + if (IS_EXPR_CODE_CLASS (class)) + C_SET_EXP_ORIGINAL_CODE (yyval.ttype, ERROR_MARK); + ;} + break; + + case 86: +#line 612 "c-parse.y" + { + if (yychar == YYEMPTY) + yychar = YYLEX; + yyval.ttype = build_external_ref (yyvsp[0].ttype, yychar == '('); + ;} + break; + + case 88: +#line 619 "c-parse.y" + { yyval.ttype = fix_string_type (yyval.ttype); ;} + break; + + case 89: +#line 621 "c-parse.y" + { yyval.ttype = fname_decl (C_RID_CODE (yyval.ttype), yyval.ttype); ;} + break; + + case 90: +#line 623 "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 91: +#line 627 "c-parse.y" + { tree constructor = pop_init_level (0); + tree type = yyvsp[-5].ttype; + finish_init (); + + if (pedantic && ! flag_isoc99) + pedwarn ("ISO C89 forbids compound literals"); + yyval.ttype = build_compound_literal (type, constructor); + ;} + break; + + case 92: +#line 636 "c-parse.y" + { char class = TREE_CODE_CLASS (TREE_CODE (yyvsp[-1].ttype)); + if (IS_EXPR_CODE_CLASS (class)) + C_SET_EXP_ORIGINAL_CODE (yyvsp[-1].ttype, ERROR_MARK); + yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 93: +#line 641 "c-parse.y" + { yyval.ttype = error_mark_node; ;} + break; + + case 94: +#line 643 "c-parse.y" + { tree saved_last_tree; + + if (pedantic) + pedwarn ("ISO C forbids braced-groups within expressions"); + pop_label_level (); + + saved_last_tree = COMPOUND_BODY (yyvsp[-2].ttype); + RECHAIN_STMTS (yyvsp[-2].ttype, COMPOUND_BODY (yyvsp[-2].ttype)); + last_tree = saved_last_tree; + TREE_CHAIN (last_tree) = NULL_TREE; + if (!last_expr_type) + last_expr_type = void_type_node; + yyval.ttype = build1 (STMT_EXPR, last_expr_type, yyvsp[-2].ttype); + TREE_SIDE_EFFECTS (yyval.ttype) = 1; + ;} + break; + + case 95: +#line 659 "c-parse.y" + { + pop_label_level (); + last_tree = COMPOUND_BODY (yyvsp[-2].ttype); + TREE_CHAIN (last_tree) = NULL_TREE; + yyval.ttype = error_mark_node; + ;} + break; + + case 96: +#line 666 "c-parse.y" + { yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ;} + break; + + case 97: +#line 668 "c-parse.y" + { yyval.ttype = build_va_arg (yyvsp[-3].ttype, groktypename (yyvsp[-1].ttype)); ;} + break; + + case 98: +#line 671 "c-parse.y" + { + tree c; + + c = fold (yyvsp[-5].ttype); + STRIP_NOPS (c); + if (TREE_CODE (c) != INTEGER_CST) + error ("first argument to __builtin_choose_expr not a constant"); + yyval.ttype = integer_zerop (c) ? yyvsp[-1].ttype : yyvsp[-3].ttype; + ;} + break; + + case 99: +#line 681 "c-parse.y" + { + tree e1, e2; + + e1 = TYPE_MAIN_VARIANT (groktypename (yyvsp[-3].ttype)); + e2 = TYPE_MAIN_VARIANT (groktypename (yyvsp[-1].ttype)); + + yyval.ttype = comptypes (e1, e2) + ? build_int_2 (1, 0) : build_int_2 (0, 0); + ;} + break; + + case 100: +#line 691 "c-parse.y" + { yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ;} + break; + + case 101: +#line 693 "c-parse.y" + { + yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype); + ;} + break; + + case 102: +#line 697 "c-parse.y" + { + tree expr = build_indirect_ref (yyvsp[-2].ttype, "->"); + + yyval.ttype = build_component_ref (expr, yyvsp[0].ttype); + ;} + break; + + case 103: +#line 703 "c-parse.y" + { yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ;} + break; + + case 104: +#line 705 "c-parse.y" + { yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ;} + break; + + case 105: +#line 711 "c-parse.y" + { + parsing_iso_function_signature = false; /* Reset after decls. */ + ;} + break; + + case 106: +#line 718 "c-parse.y" + { + if (warn_traditional && !in_system_header + && parsing_iso_function_signature) + warning ("traditional C rejects ISO C style function definitions"); + parsing_iso_function_signature = false; /* Reset after warning. */ + ;} + break; + + case 108: +#line 732 "c-parse.y" + { ;} + break; + + case 113: +#line 748 "c-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 114: +#line 750 "c-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 115: +#line 752 "c-parse.y" + { shadow_tag_warned (yyvsp[-1].ttype, 1); + pedwarn ("empty declaration"); ;} + break; + + case 116: +#line 755 "c-parse.y" + { pedwarn ("empty declaration"); ;} + break; + + case 117: +#line 764 "c-parse.y" + { ;} + break; + + case 118: +#line 772 "c-parse.y" + { pending_xref_error (); + PUSH_DECLSPEC_STACK; + split_specs_attrs (yyvsp[0].ttype, + ¤t_declspecs, &prefix_attributes); + all_prefix_attributes = prefix_attributes; ;} + break; + + case 119: +#line 783 "c-parse.y" + { all_prefix_attributes = chainon (yyvsp[0].ttype, prefix_attributes); ;} + break; + + case 120: +#line 788 "c-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 121: +#line 790 "c-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 122: +#line 792 "c-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 123: +#line 794 "c-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 124: +#line 796 "c-parse.y" + { shadow_tag (yyvsp[-1].ttype); ;} + break; + + case 125: +#line 798 "c-parse.y" + { RESTORE_EXT_FLAGS (yyvsp[-1].ttype); ;} + break; + + case 126: +#line 855 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 127: +#line 858 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 128: +#line 861 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 129: +#line 867 "c-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;} + break; + + case 130: +#line 873 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 131: +#line 876 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 132: +#line 882 "c-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, NULL_TREE); + TREE_STATIC (yyval.ttype) = 0; ;} + break; + + case 133: +#line 885 "c-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;} + break; + + case 134: +#line 891 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 135: +#line 894 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 136: +#line 897 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 137: +#line 900 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 138: +#line 903 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 139: +#line 906 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 140: +#line 909 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 141: +#line 915 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 142: +#line 918 "c-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;} + break; + + case 143: +#line 921 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 144: +#line 924 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 145: +#line 927 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 146: +#line 930 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 147: +#line 936 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 148: +#line 939 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 149: +#line 942 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 150: +#line 945 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 151: +#line 948 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 152: +#line 951 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 153: +#line 957 "c-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;} + break; + + case 154: +#line 960 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 155: +#line 963 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 156: +#line 966 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 157: +#line 969 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 158: +#line 975 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); + TREE_STATIC (yyval.ttype) = 0; ;} + break; + + case 159: +#line 978 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 160: +#line 981 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 161: +#line 984 "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 162: +#line 990 "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 163: +#line 996 "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 164: +#line 1002 "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 165: +#line 1011 "c-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;} + break; + + case 166: +#line 1017 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 167: +#line 1020 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 168: +#line 1023 "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 169: +#line 1029 "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 170: +#line 1035 "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 171: +#line 1041 "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 172: +#line 1050 "c-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;} + break; + + case 173: +#line 1056 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 174: +#line 1059 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 175: +#line 1062 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 176: +#line 1065 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 177: +#line 1068 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 178: +#line 1071 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 179: +#line 1074 "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 180: +#line 1080 "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 181: +#line 1086 "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 182: +#line 1092 "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 183: +#line 1101 "c-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;} + break; + + case 184: +#line 1104 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 185: +#line 1107 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 186: +#line 1110 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 187: +#line 1113 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 188: +#line 1119 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 189: +#line 1122 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 190: +#line 1125 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 191: +#line 1128 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 192: +#line 1131 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 193: +#line 1134 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 194: +#line 1137 "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 195: +#line 1143 "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 196: +#line 1149 "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 197: +#line 1155 "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 198: +#line 1164 "c-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;} + break; + + case 199: +#line 1167 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 200: +#line 1170 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 201: +#line 1173 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 202: +#line 1176 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 259: +#line 1264 "c-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 260: +#line 1266 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 264: +#line 1301 "c-parse.y" + { OBJC_NEED_RAW_IDENTIFIER (1); ;} + break; + + case 267: +#line 1311 "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 268: +#line 1315 "c-parse.y" + { skip_evaluation--; yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); ;} + break; + + case 269: +#line 1317 "c-parse.y" + { skip_evaluation--; yyval.ttype = groktypename (yyvsp[-1].ttype); ;} + break; + + case 274: +#line 1334 "c-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 275: +#line 1336 "c-parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 276: +#line 1341 "c-parse.y" + { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1, + chainon (yyvsp[-1].ttype, all_prefix_attributes)); + start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ;} + break; + + case 277: +#line 1346 "c-parse.y" + { finish_init (); + finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;} + break; + + case 278: +#line 1349 "c-parse.y" + { tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0, + chainon (yyvsp[0].ttype, all_prefix_attributes)); + finish_decl (d, NULL_TREE, yyvsp[-1].ttype); + ;} + break; + + case 279: +#line 1357 "c-parse.y" + { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1, + chainon (yyvsp[-1].ttype, all_prefix_attributes)); + start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ;} + break; + + case 280: +#line 1362 "c-parse.y" + { finish_init (); + finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;} + break; + + case 281: +#line 1365 "c-parse.y" + { tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0, + chainon (yyvsp[0].ttype, all_prefix_attributes)); + finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ;} + break; + + case 282: +#line 1373 "c-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 283: +#line 1375 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 284: +#line 1380 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 285: +#line 1382 "c-parse.y" + { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 286: +#line 1387 "c-parse.y" + { yyval.ttype = yyvsp[-2].ttype; ;} + break; + + case 287: +#line 1392 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 288: +#line 1394 "c-parse.y" + { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 289: +#line 1399 "c-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 290: +#line 1401 "c-parse.y" + { yyval.ttype = build_tree_list (yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 291: +#line 1403 "c-parse.y" + { yyval.ttype = build_tree_list (yyvsp[-3].ttype, build_tree_list (NULL_TREE, yyvsp[-1].ttype)); ;} + break; + + case 292: +#line 1405 "c-parse.y" + { yyval.ttype = build_tree_list (yyvsp[-5].ttype, tree_cons (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype)); ;} + break; + + case 293: +#line 1407 "c-parse.y" + { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;} + break; + + case 301: +#line 1430 "c-parse.y" + { really_start_incremental_init (NULL_TREE); ;} + break; + + case 302: +#line 1432 "c-parse.y" + { yyval.ttype = pop_init_level (0); ;} + break; + + case 303: +#line 1434 "c-parse.y" + { yyval.ttype = error_mark_node; ;} + break; + + case 304: +#line 1440 "c-parse.y" + { if (pedantic) + pedwarn ("ISO C forbids empty initializer braces"); ;} + break; + + case 308: +#line 1454 "c-parse.y" + { if (pedantic && ! flag_isoc99) + pedwarn ("ISO C89 forbids specifying subobject to initialize"); ;} + break; + + case 309: +#line 1457 "c-parse.y" + { if (pedantic) + pedwarn ("obsolete use of designated initializer without `='"); ;} + break; + + case 310: +#line 1460 "c-parse.y" + { set_init_label (yyvsp[-1].ttype); + if (pedantic) + pedwarn ("obsolete use of designated initializer with `:'"); ;} + break; + + case 311: +#line 1464 "c-parse.y" + {;} + break; + + case 313: +#line 1470 "c-parse.y" + { push_init_level (0); ;} + break; + + case 314: +#line 1472 "c-parse.y" + { process_init_element (pop_init_level (0)); ;} + break; + + case 315: +#line 1474 "c-parse.y" + { process_init_element (yyvsp[0].ttype); ;} + break; + + case 319: +#line 1485 "c-parse.y" + { set_init_label (yyvsp[0].ttype); ;} + break; + + case 320: +#line 1487 "c-parse.y" + { set_init_index (yyvsp[-3].ttype, yyvsp[-1].ttype); + if (pedantic) + pedwarn ("ISO C forbids specifying range of elements to initialize"); ;} + break; + + case 321: +#line 1491 "c-parse.y" + { set_init_index (yyvsp[-1].ttype, NULL_TREE); ;} + break; + + case 322: +#line 1496 "c-parse.y" + { if (pedantic) + pedwarn ("ISO C forbids nested functions"); + + push_function_context (); + if (! start_function (current_declspecs, yyvsp[0].ttype, + all_prefix_attributes)) + { + pop_function_context (); + YYERROR1; + } + parsing_iso_function_signature = false; /* Don't warn about nested functions. */ + ;} + break; + + case 323: +#line 1509 "c-parse.y" + { store_parm_decls (); ;} + break; + + case 324: +#line 1517 "c-parse.y" + { tree decl = current_function_decl; + DECL_SOURCE_FILE (decl) = yyvsp[-2].filename; + DECL_SOURCE_LINE (decl) = yyvsp[-1].lineno; + finish_function (1, 1); + pop_function_context (); + add_decl_stmt (decl); ;} + break; + + case 325: +#line 1527 "c-parse.y" + { if (pedantic) + pedwarn ("ISO C forbids nested functions"); + + push_function_context (); + if (! start_function (current_declspecs, yyvsp[0].ttype, + all_prefix_attributes)) + { + pop_function_context (); + YYERROR1; + } + parsing_iso_function_signature = false; /* Don't warn about nested functions. */ + ;} + break; + + case 326: +#line 1540 "c-parse.y" + { store_parm_decls (); ;} + break; + + case 327: +#line 1548 "c-parse.y" + { tree decl = current_function_decl; + DECL_SOURCE_FILE (decl) = yyvsp[-2].filename; + DECL_SOURCE_LINE (decl) = yyvsp[-1].lineno; + finish_function (1, 1); + pop_function_context (); + add_decl_stmt (decl); ;} + break; + + case 330: +#line 1568 "c-parse.y" + { yyval.ttype = yyvsp[-2].ttype ? tree_cons (yyvsp[-2].ttype, yyvsp[-1].ttype, NULL_TREE) : yyvsp[-1].ttype; ;} + break; + + case 331: +#line 1570 "c-parse.y" + { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 332: +#line 1575 "c-parse.y" + { yyval.ttype = set_array_declarator_type (yyvsp[0].ttype, yyvsp[-1].ttype, 0); ;} + break; + + case 333: +#line 1577 "c-parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 337: +#line 1592 "c-parse.y" + { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 338: +#line 1597 "c-parse.y" + { yyval.ttype = set_array_declarator_type (yyvsp[0].ttype, yyvsp[-1].ttype, 0); ;} + break; + + case 340: +#line 1603 "c-parse.y" + { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 341: +#line 1608 "c-parse.y" + { yyval.ttype = set_array_declarator_type (yyvsp[0].ttype, yyvsp[-1].ttype, 0); ;} + break; + + case 342: +#line 1610 "c-parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 343: +#line 1612 "c-parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 344: +#line 1614 "c-parse.y" + { yyval.ttype = yyvsp[-2].ttype ? tree_cons (yyvsp[-2].ttype, yyvsp[-1].ttype, NULL_TREE) : yyvsp[-1].ttype; ;} + break; + + case 345: +#line 1622 "c-parse.y" + { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 346: +#line 1627 "c-parse.y" + { yyval.ttype = yyvsp[-2].ttype ? tree_cons (yyvsp[-2].ttype, yyvsp[-1].ttype, NULL_TREE) : yyvsp[-1].ttype; ;} + break; + + case 347: +#line 1629 "c-parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 348: +#line 1631 "c-parse.y" + { yyval.ttype = set_array_declarator_type (yyvsp[0].ttype, yyvsp[-1].ttype, 0); ;} + break; + + case 350: +#line 1637 "c-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 351: +#line 1639 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 352: +#line 1644 "c-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 353: +#line 1646 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 354: +#line 1651 "c-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 355: +#line 1653 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 356: +#line 1664 "c-parse.y" + { yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype); + /* Start scope of tag before parsing components. */ + ;} + break; + + case 357: +#line 1668 "c-parse.y" + { yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, chainon (yyvsp[-6].ttype, yyvsp[0].ttype)); ;} + break; + + case 358: +#line 1670 "c-parse.y" + { yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE), + yyvsp[-2].ttype, chainon (yyvsp[-4].ttype, yyvsp[0].ttype)); + ;} + break; + + case 359: +#line 1674 "c-parse.y" + { yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ;} + break; + + case 360: +#line 1676 "c-parse.y" + { yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, chainon (yyvsp[-6].ttype, yyvsp[0].ttype)); ;} + break; + + case 361: +#line 1678 "c-parse.y" + { yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE), + yyvsp[-2].ttype, chainon (yyvsp[-4].ttype, yyvsp[0].ttype)); + ;} + break; + + case 362: +#line 1682 "c-parse.y" + { yyval.ttype = start_enum (yyvsp[-1].ttype); ;} + break; + + case 363: +#line 1684 "c-parse.y" + { yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), + chainon (yyvsp[-7].ttype, yyvsp[0].ttype)); ;} + break; + + case 364: +#line 1687 "c-parse.y" + { yyval.ttype = start_enum (NULL_TREE); ;} + break; + + case 365: +#line 1689 "c-parse.y" + { yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), + chainon (yyvsp[-6].ttype, yyvsp[0].ttype)); ;} + break; + + case 366: +#line 1695 "c-parse.y" + { yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ;} + break; + + case 367: +#line 1697 "c-parse.y" + { yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ;} + break; + + case 368: +#line 1699 "c-parse.y" + { yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); + /* In ISO C, enumerated types can be referred to + only if already defined. */ + if (pedantic && !COMPLETE_TYPE_P (yyval.ttype)) + pedwarn ("ISO C forbids forward references to `enum' types"); ;} + break; + + case 372: +#line 1714 "c-parse.y" + { if (pedantic && ! flag_isoc99) + pedwarn ("comma at end of enumerator list"); ;} + break; + + case 373: +#line 1720 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 374: +#line 1722 "c-parse.y" + { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); + pedwarn ("no semicolon at end of struct or union"); ;} + break; + + case 375: +#line 1727 "c-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 376: +#line 1729 "c-parse.y" + { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ;} + break; + + case 377: +#line 1731 "c-parse.y" + { if (pedantic) + pedwarn ("extra semicolon in struct or union specified"); ;} + break; + + case 378: +#line 1737 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; + POP_DECLSPEC_STACK; ;} + break; + + case 379: +#line 1740 "c-parse.y" + { + /* Support for unnamed structs or unions as members of + structs or unions (which is [a] useful and [b] supports + MS P-SDK). */ + if (pedantic) + pedwarn ("ISO C doesn't support unnamed structs/unions"); + + yyval.ttype = grokfield(yyvsp[-1].filename, yyvsp[0].lineno, NULL, current_declspecs, NULL_TREE); + POP_DECLSPEC_STACK; ;} + break; + + case 380: +#line 1750 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; + POP_DECLSPEC_STACK; ;} + break; + + case 381: +#line 1753 "c-parse.y" + { if (pedantic) + pedwarn ("ISO C forbids member declarations with no members"); + shadow_tag(yyvsp[0].ttype); + yyval.ttype = NULL_TREE; ;} + break; + + case 382: +#line 1758 "c-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 383: +#line 1760 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; + RESTORE_EXT_FLAGS (yyvsp[-1].ttype); ;} + break; + + case 385: +#line 1767 "c-parse.y" + { yyval.ttype = chainon (yyvsp[-3].ttype, yyvsp[0].ttype); ;} + break; + + case 387: +#line 1773 "c-parse.y" + { yyval.ttype = chainon (yyvsp[-3].ttype, yyvsp[0].ttype); ;} + break; + + case 388: +#line 1778 "c-parse.y" + { yyval.ttype = grokfield (yyvsp[-3].filename, yyvsp[-2].lineno, yyvsp[-1].ttype, current_declspecs, NULL_TREE); + decl_attributes (&yyval.ttype, chainon (yyvsp[0].ttype, all_prefix_attributes), 0); ;} + break; + + case 389: +#line 1782 "c-parse.y" + { yyval.ttype = grokfield (yyvsp[-5].filename, yyvsp[-4].lineno, yyvsp[-3].ttype, current_declspecs, yyvsp[-1].ttype); + decl_attributes (&yyval.ttype, chainon (yyvsp[0].ttype, all_prefix_attributes), 0); ;} + break; + + case 390: +#line 1785 "c-parse.y" + { yyval.ttype = grokfield (yyvsp[-4].filename, yyvsp[-3].lineno, NULL_TREE, current_declspecs, yyvsp[-1].ttype); + decl_attributes (&yyval.ttype, chainon (yyvsp[0].ttype, all_prefix_attributes), 0); ;} + break; + + case 391: +#line 1791 "c-parse.y" + { yyval.ttype = grokfield (yyvsp[-3].filename, yyvsp[-2].lineno, yyvsp[-1].ttype, current_declspecs, NULL_TREE); + decl_attributes (&yyval.ttype, chainon (yyvsp[0].ttype, all_prefix_attributes), 0); ;} + break; + + case 392: +#line 1795 "c-parse.y" + { yyval.ttype = grokfield (yyvsp[-5].filename, yyvsp[-4].lineno, yyvsp[-3].ttype, current_declspecs, yyvsp[-1].ttype); + decl_attributes (&yyval.ttype, chainon (yyvsp[0].ttype, all_prefix_attributes), 0); ;} + break; + + case 393: +#line 1798 "c-parse.y" + { yyval.ttype = grokfield (yyvsp[-4].filename, yyvsp[-3].lineno, NULL_TREE, current_declspecs, yyvsp[-1].ttype); + decl_attributes (&yyval.ttype, chainon (yyvsp[0].ttype, all_prefix_attributes), 0); ;} + break; + + case 395: +#line 1810 "c-parse.y" + { if (yyvsp[-2].ttype == error_mark_node) + yyval.ttype = yyvsp[-2].ttype; + else + yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-2].ttype); ;} + break; + + case 396: +#line 1815 "c-parse.y" + { yyval.ttype = error_mark_node; ;} + break; + + case 397: +#line 1821 "c-parse.y" + { yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 398: +#line 1823 "c-parse.y" + { yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 399: +#line 1828 "c-parse.y" + { pending_xref_error (); + yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 400: +#line 1831 "c-parse.y" + { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 401: +#line 1836 "c-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 403: +#line 1842 "c-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + NULL_TREE), + all_prefix_attributes); ;} + break; + + case 404: +#line 1846 "c-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[0].ttype), + all_prefix_attributes); ;} + break; + + case 405: +#line 1850 "c-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[-1].ttype), + chainon (yyvsp[0].ttype, all_prefix_attributes)); ;} + break; + + case 409: +#line 1863 "c-parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 410: +#line 1868 "c-parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 411: +#line 1870 "c-parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 412: +#line 1875 "c-parse.y" + { yyval.ttype = yyvsp[-2].ttype ? tree_cons (yyvsp[-2].ttype, yyvsp[-1].ttype, NULL_TREE) : yyvsp[-1].ttype; ;} + break; + + case 413: +#line 1877 "c-parse.y" + { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 414: +#line 1879 "c-parse.y" + { yyval.ttype = set_array_declarator_type (yyvsp[0].ttype, yyvsp[-1].ttype, 1); ;} + break; + + case 415: +#line 1881 "c-parse.y" + { yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 416: +#line 1883 "c-parse.y" + { yyval.ttype = set_array_declarator_type (yyvsp[0].ttype, NULL_TREE, 1); ;} + break; + + case 417: +#line 1890 "c-parse.y" + { yyval.ttype = build_array_declarator (yyvsp[-1].ttype, yyvsp[-2].ttype, 0, 0); ;} + break; + + case 418: +#line 1892 "c-parse.y" + { yyval.ttype = build_array_declarator (NULL_TREE, yyvsp[-1].ttype, 0, 0); ;} + break; + + case 419: +#line 1894 "c-parse.y" + { yyval.ttype = build_array_declarator (NULL_TREE, yyvsp[-2].ttype, 0, 1); ;} + break; + + case 420: +#line 1896 "c-parse.y" + { yyval.ttype = build_array_declarator (yyvsp[-1].ttype, yyvsp[-2].ttype, 1, 0); ;} + break; + + case 421: +#line 1899 "c-parse.y" + { yyval.ttype = build_array_declarator (yyvsp[-1].ttype, yyvsp[-3].ttype, 1, 0); ;} + break; + + case 424: +#line 1912 "c-parse.y" + { + pedwarn ("deprecated use of label at end of compound statement"); + ;} + break; + + case 432: +#line 1929 "c-parse.y" + { if (pedantic && !flag_isoc99) + pedwarn ("ISO C89 forbids mixed declarations and code"); ;} + break; + + case 447: +#line 1959 "c-parse.y" + { pushlevel (0); + clear_last_expr (); + add_scope_stmt (/*begin_p=*/1, /*partial_p=*/0); + ;} + break; + + case 448: +#line 1966 "c-parse.y" + { yyval.ttype = add_scope_stmt (/*begin_p=*/0, /*partial_p=*/0); ;} + break; + + case 449: +#line 1971 "c-parse.y" + { if (flag_isoc99) + { + yyval.ttype = c_begin_compound_stmt (); + pushlevel (0); + clear_last_expr (); + add_scope_stmt (/*begin_p=*/1, /*partial_p=*/0); + } + else + yyval.ttype = NULL_TREE; + ;} + break; + + case 450: +#line 1987 "c-parse.y" + { if (flag_isoc99) + { + tree scope_stmt = add_scope_stmt (/*begin_p=*/0, /*partial_p=*/0); + yyval.ttype = poplevel (kept_level_p (), 0, 0); + SCOPE_STMT_BLOCK (TREE_PURPOSE (scope_stmt)) + = SCOPE_STMT_BLOCK (TREE_VALUE (scope_stmt)) + = yyval.ttype; + } + else + yyval.ttype = NULL_TREE; ;} + break; + + case 452: +#line 2004 "c-parse.y" + { if (pedantic) + pedwarn ("ISO C forbids label declarations"); ;} + break; + + case 455: +#line 2015 "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; + add_decl_stmt (label); + } + ;} + break; + + case 456: +#line 2029 "c-parse.y" + {;} + break; + + case 458: +#line 2033 "c-parse.y" + { compstmt_count++; + yyval.ttype = c_begin_compound_stmt (); ;} + break; + + case 459: +#line 2038 "c-parse.y" + { yyval.ttype = convert (void_type_node, integer_zero_node); ;} + break; + + case 460: +#line 2040 "c-parse.y" + { yyval.ttype = poplevel (kept_level_p (), 1, 0); + SCOPE_STMT_BLOCK (TREE_PURPOSE (yyvsp[0].ttype)) + = SCOPE_STMT_BLOCK (TREE_VALUE (yyvsp[0].ttype)) + = yyval.ttype; ;} + break; + + case 463: +#line 2053 "c-parse.y" + { if (current_function_decl == 0) + { + error ("braced-group within expression allowed only inside a function"); + YYERROR; + } + /* We must force a BLOCK for this level + so that, if it is not expanded later, + there is a way to turn off the entire subtree of blocks + that are contained in it. */ + keep_next_level (); + push_label_level (); + compstmt_count++; + yyval.ttype = add_stmt (build_stmt (COMPOUND_STMT, last_tree)); + ;} + break; + + case 464: +#line 2070 "c-parse.y" + { RECHAIN_STMTS (yyvsp[-1].ttype, COMPOUND_BODY (yyvsp[-1].ttype)); + last_expr_type = NULL_TREE; + yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 465: +#line 2078 "c-parse.y" + { c_finish_then (); ;} + break; + + case 467: +#line 2095 "c-parse.y" + { yyval.ttype = c_begin_if_stmt (); ;} + break; + + case 468: +#line 2097 "c-parse.y" + { c_expand_start_cond (c_common_truthvalue_conversion (yyvsp[-1].ttype), + compstmt_count,yyvsp[-3].ttype); + yyval.itype = stmt_count; + if_stmt_file = yyvsp[-7].filename; + if_stmt_line = yyvsp[-6].lineno; ;} + break; + + case 469: +#line 2109 "c-parse.y" + { stmt_count++; + compstmt_count++; + yyval.ttype + = add_stmt (build_stmt (DO_STMT, NULL_TREE, + NULL_TREE)); + /* In the event that a parse error prevents + parsing the complete do-statement, set the + condition now. Otherwise, we can get crashes at + RTL-generation time. */ + DO_COND (yyval.ttype) = error_mark_node; ;} + break; + + case 470: +#line 2120 "c-parse.y" + { yyval.ttype = yyvsp[-2].ttype; + RECHAIN_STMTS (yyval.ttype, DO_BODY (yyval.ttype)); ;} + break; + + case 471: +#line 2128 "c-parse.y" + { if (yychar == YYEMPTY) + yychar = YYLEX; + yyval.filename = input_filename; ;} + break; + + case 472: +#line 2134 "c-parse.y" + { if (yychar == YYEMPTY) + yychar = YYLEX; + yyval.lineno = lineno; ;} + break; + + case 475: +#line 2147 "c-parse.y" + { if (flag_isoc99) + RECHAIN_STMTS (yyvsp[-2].ttype, COMPOUND_BODY (yyvsp[-2].ttype)); ;} + break; + + case 476: +#line 2153 "c-parse.y" + { if (yyvsp[0].ttype) + { + STMT_LINENO (yyvsp[0].ttype) = yyvsp[-1].lineno; + /* ??? We currently have no way of recording + the filename for a statement. This probably + matters little in practice at the moment, + but I suspect that problems will occur when + doing inlining at the tree level. */ + } + ;} + break; + + case 477: +#line 2167 "c-parse.y" + { if (yyvsp[0].ttype) + { + STMT_LINENO (yyvsp[0].ttype) = yyvsp[-1].lineno; + } + ;} + break; + + case 478: +#line 2176 "c-parse.y" + { c_expand_start_else (); + yyvsp[-1].itype = stmt_count; ;} + break; + + case 479: +#line 2179 "c-parse.y" + { c_finish_else (); + c_expand_end_cond (); + if (extra_warnings && stmt_count == yyvsp[-3].itype) + warning ("empty body in an else-statement"); ;} + break; + + case 480: +#line 2184 "c-parse.y" + { c_expand_end_cond (); + /* This warning is here instead of in simple_if, because we + do not want a warning if an empty if is followed by an + else statement. Increment stmt_count so we don't + give a second error if this is a nested `if'. */ + if (extra_warnings && stmt_count++ == yyvsp[0].itype) + warning_with_file_and_line (if_stmt_file, if_stmt_line, + "empty body in an if-statement"); ;} + break; + + case 481: +#line 2196 "c-parse.y" + { c_expand_end_cond (); ;} + break; + + case 482: +#line 2206 "c-parse.y" + { stmt_count++; + yyval.ttype = c_begin_while_stmt (); ;} + break; + + case 483: +#line 2209 "c-parse.y" + { yyvsp[-1].ttype = c_common_truthvalue_conversion (yyvsp[-1].ttype); + c_finish_while_stmt_cond + (c_common_truthvalue_conversion (yyvsp[-1].ttype), yyvsp[-3].ttype); + yyval.ttype = add_stmt (yyvsp[-3].ttype); ;} + break; + + case 484: +#line 2214 "c-parse.y" + { RECHAIN_STMTS (yyvsp[-1].ttype, WHILE_BODY (yyvsp[-1].ttype)); ;} + break; + + case 485: +#line 2217 "c-parse.y" + { DO_COND (yyvsp[-4].ttype) = c_common_truthvalue_conversion (yyvsp[-2].ttype); ;} + break; + + case 486: +#line 2219 "c-parse.y" + { ;} + break; + + case 487: +#line 2221 "c-parse.y" + { yyval.ttype = build_stmt (FOR_STMT, NULL_TREE, NULL_TREE, + NULL_TREE, NULL_TREE); + add_stmt (yyval.ttype); ;} + break; + + case 488: +#line 2225 "c-parse.y" + { stmt_count++; + RECHAIN_STMTS (yyvsp[-2].ttype, FOR_INIT_STMT (yyvsp[-2].ttype)); ;} + break; + + case 489: +#line 2228 "c-parse.y" + { if (yyvsp[-1].ttype) + FOR_COND (yyvsp[-5].ttype) + = c_common_truthvalue_conversion (yyvsp[-1].ttype); ;} + break; + + case 490: +#line 2232 "c-parse.y" + { FOR_EXPR (yyvsp[-8].ttype) = yyvsp[-1].ttype; ;} + break; + + case 491: +#line 2234 "c-parse.y" + { RECHAIN_STMTS (yyvsp[-10].ttype, FOR_BODY (yyvsp[-10].ttype)); ;} + break; + + case 492: +#line 2236 "c-parse.y" + { stmt_count++; + yyval.ttype = c_start_case (yyvsp[-1].ttype); ;} + break; + + case 493: +#line 2239 "c-parse.y" + { c_finish_case (); ;} + break; + + case 494: +#line 2244 "c-parse.y" + { add_stmt (build_stmt (EXPR_STMT, yyvsp[-1].ttype)); ;} + break; + + case 495: +#line 2246 "c-parse.y" + { check_for_loop_decls (); ;} + break; + + case 496: +#line 2252 "c-parse.y" + { stmt_count++; yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 497: +#line 2254 "c-parse.y" + { stmt_count++; + yyval.ttype = c_expand_expr_stmt (yyvsp[-1].ttype); ;} + break; + + case 498: +#line 2257 "c-parse.y" + { if (flag_isoc99) + RECHAIN_STMTS (yyvsp[-2].ttype, COMPOUND_BODY (yyvsp[-2].ttype)); + yyval.ttype = NULL_TREE; ;} + break; + + case 499: +#line 2261 "c-parse.y" + { stmt_count++; + yyval.ttype = add_stmt (build_break_stmt ()); ;} + break; + + case 500: +#line 2264 "c-parse.y" + { stmt_count++; + yyval.ttype = add_stmt (build_continue_stmt ()); ;} + break; + + case 501: +#line 2267 "c-parse.y" + { stmt_count++; + yyval.ttype = c_expand_return (NULL_TREE); ;} + break; + + case 502: +#line 2270 "c-parse.y" + { stmt_count++; + yyval.ttype = c_expand_return (yyvsp[-1].ttype); ;} + break; + + case 503: +#line 2273 "c-parse.y" + { stmt_count++; + yyval.ttype = simple_asm_stmt (yyvsp[-2].ttype); ;} + break; + + case 504: +#line 2277 "c-parse.y" + { stmt_count++; + yyval.ttype = build_asm_stmt (yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, NULL_TREE); ;} + break; + + case 505: +#line 2282 "c-parse.y" + { stmt_count++; + yyval.ttype = build_asm_stmt (yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE); ;} + break; + + case 506: +#line 2287 "c-parse.y" + { stmt_count++; + yyval.ttype = build_asm_stmt (yyvsp[-10].ttype, yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype); ;} + break; + + case 507: +#line 2290 "c-parse.y" + { tree decl; + stmt_count++; + decl = lookup_label (yyvsp[-1].ttype); + if (decl != 0) + { + TREE_USED (decl) = 1; + yyval.ttype = add_stmt (build_stmt (GOTO_STMT, decl)); + } + else + yyval.ttype = NULL_TREE; + ;} + break; + + case 508: +#line 2302 "c-parse.y" + { if (pedantic) + pedwarn ("ISO C forbids `goto *expr;'"); + stmt_count++; + yyvsp[-1].ttype = convert (ptr_type_node, yyvsp[-1].ttype); + yyval.ttype = add_stmt (build_stmt (GOTO_STMT, yyvsp[-1].ttype)); ;} + break; + + case 509: +#line 2308 "c-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 510: +#line 2316 "c-parse.y" + { stmt_count++; + yyval.ttype = do_case (yyvsp[-1].ttype, NULL_TREE); ;} + break; + + case 511: +#line 2319 "c-parse.y" + { stmt_count++; + yyval.ttype = do_case (yyvsp[-3].ttype, yyvsp[-1].ttype); ;} + break; + + case 512: +#line 2322 "c-parse.y" + { stmt_count++; + yyval.ttype = do_case (NULL_TREE, NULL_TREE); ;} + break; + + case 513: +#line 2325 "c-parse.y" + { tree label = define_label (yyvsp[-3].filename, yyvsp[-2].lineno, yyvsp[-4].ttype); + stmt_count++; + if (label) + { + decl_attributes (&label, yyvsp[0].ttype, 0); + yyval.ttype = add_stmt (build_stmt (LABEL_STMT, label)); + } + else + yyval.ttype = NULL_TREE; + ;} + break; + + case 514: +#line 2341 "c-parse.y" + { emit_line_note (input_filename, lineno); + yyval.ttype = NULL_TREE; ;} + break; + + case 515: +#line 2344 "c-parse.y" + { emit_line_note (input_filename, lineno); ;} + break; + + case 516: +#line 2349 "c-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 518: +#line 2356 "c-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 521: +#line 2363 "c-parse.y" + { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 522: +#line 2368 "c-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (NULL_TREE, yyvsp[-3].ttype), yyvsp[-1].ttype); ;} + break; + + case 523: +#line 2370 "c-parse.y" + { yyvsp[-5].ttype = build_string (IDENTIFIER_LENGTH (yyvsp[-5].ttype), + IDENTIFIER_POINTER (yyvsp[-5].ttype)); + yyval.ttype = build_tree_list (build_tree_list (yyvsp[-5].ttype, yyvsp[-3].ttype), yyvsp[-1].ttype); ;} + break; + + case 524: +#line 2377 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 525: +#line 2379 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype); ;} + break; + + case 526: +#line 2389 "c-parse.y" + { pushlevel (0); + clear_parm_order (); + declare_parm_level (0); ;} + break; + + case 527: +#line 2393 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; + parmlist_tags_warning (); + poplevel (0, 0, 0); ;} + break; + + case 529: +#line 2401 "c-parse.y" + { tree parm; + if (pedantic) + pedwarn ("ISO 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 530: +#line 2409 "c-parse.y" + { /* Dummy action so attributes are in known place + on parser stack. */ ;} + break; + + case 531: +#line 2412 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 532: +#line 2414 "c-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ;} + break; + + case 533: +#line 2420 "c-parse.y" + { yyval.ttype = get_parm_info (0); ;} + break; + + case 534: +#line 2422 "c-parse.y" + { yyval.ttype = get_parm_info (0); + /* Gcc used to allow this as an extension. However, it does + not work for all targets, and thus has been disabled. + Also, since func (...) and func () are indistinguishable, + it caused problems with the code in expand_builtin which + tries to verify that BUILT_IN_NEXT_ARG is being used + correctly. */ + error ("ISO C requires a named argument before `...'"); + ;} + break; + + case 535: +#line 2432 "c-parse.y" + { yyval.ttype = get_parm_info (1); + parsing_iso_function_signature = true; + ;} + break; + + case 536: +#line 2436 "c-parse.y" + { yyval.ttype = get_parm_info (0); ;} + break; + + case 537: +#line 2441 "c-parse.y" + { push_parm_decl (yyvsp[0].ttype); ;} + break; + + case 538: +#line 2443 "c-parse.y" + { push_parm_decl (yyvsp[0].ttype); ;} + break; + + case 539: +#line 2450 "c-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[-1].ttype), + chainon (yyvsp[0].ttype, all_prefix_attributes)); + POP_DECLSPEC_STACK; ;} + break; + + case 540: +#line 2455 "c-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[-1].ttype), + chainon (yyvsp[0].ttype, all_prefix_attributes)); + POP_DECLSPEC_STACK; ;} + break; + + case 541: +#line 2460 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; + POP_DECLSPEC_STACK; ;} + break; + + case 542: +#line 2463 "c-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[-1].ttype), + chainon (yyvsp[0].ttype, all_prefix_attributes)); + POP_DECLSPEC_STACK; ;} + break; + + case 543: +#line 2469 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; + POP_DECLSPEC_STACK; ;} + break; + + case 544: +#line 2477 "c-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[-1].ttype), + chainon (yyvsp[0].ttype, all_prefix_attributes)); + POP_DECLSPEC_STACK; ;} + break; + + case 545: +#line 2482 "c-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[-1].ttype), + chainon (yyvsp[0].ttype, all_prefix_attributes)); + POP_DECLSPEC_STACK; ;} + break; + + case 546: +#line 2487 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; + POP_DECLSPEC_STACK; ;} + break; + + case 547: +#line 2490 "c-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[-1].ttype), + chainon (yyvsp[0].ttype, all_prefix_attributes)); + POP_DECLSPEC_STACK; ;} + break; + + case 548: +#line 2496 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; + POP_DECLSPEC_STACK; ;} + break; + + case 549: +#line 2502 "c-parse.y" + { prefix_attributes = chainon (prefix_attributes, yyvsp[-3].ttype); + all_prefix_attributes = prefix_attributes; ;} + break; + + case 550: +#line 2511 "c-parse.y" + { pushlevel (0); + clear_parm_order (); + declare_parm_level (1); ;} + break; + + case 551: +#line 2515 "c-parse.y" + { yyval.ttype = yyvsp[0].ttype; + parmlist_tags_warning (); + poplevel (0, 0, 0); ;} + break; + + case 553: +#line 2523 "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); + + /* Make sure we have a parmlist after attributes. */ + if (yyvsp[-3].ttype != 0 + && (TREE_CODE (yyval.ttype) != TREE_LIST + || TREE_PURPOSE (yyval.ttype) == 0 + || TREE_CODE (TREE_PURPOSE (yyval.ttype)) != PARM_DECL)) + YYERROR1; + ;} + break; + + case 554: +#line 2541 "c-parse.y" + { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 555: +#line 2543 "c-parse.y" + { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;} + break; + + case 556: +#line 2549 "c-parse.y" + { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 557: +#line 2551 "c-parse.y" + { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;} + break; + + case 558: +#line 2556 "c-parse.y" + { yyval.ttype = SAVE_EXT_FLAGS(); + pedantic = 0; + warn_pointer_arith = 0; + warn_traditional = 0; + flag_iso = 0; ;} + break; + + + } + +/* Line 991 of yacc.c. */ +#line 5254 "c-p1874.c" + + yyvsp -= yylen; + yyssp -= yylen; + + + YY_STACK_PRINT (yyss, yyssp); + + *++yyvsp = yyval; + + + /* 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 - YYNTOKENS] + *yyssp; + if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) + yystate = yytable[yystate]; + else + yystate = yydefgoto[yyn - YYNTOKENS]; + + goto yynewstate; + + +/*------------------------------------. +| yyerrlab -- here on detecting error | +`------------------------------------*/ +yyerrlab: + /* If not already recovering from an error, report this error. */ + if (!yyerrstatus) + { + ++yynerrs; +#if YYERROR_VERBOSE + yyn = yypact[yystate]; + + if (YYPACT_NINF < yyn && yyn < YYLAST) + { + YYSIZE_T yysize = 0; + int yytype = YYTRANSLATE (yychar); + char *yymsg; + int yyx, yycount; + + yycount = 0; + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. */ + for (yyx = yyn < 0 ? -yyn : 0; + yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) + yysize += yystrlen (yytname[yyx]) + 15, yycount++; + yysize += yystrlen ("syntax error, unexpected ") + 1; + yysize += yystrlen (yytname[yytype]); + yymsg = (char *) YYSTACK_ALLOC (yysize); + if (yymsg != 0) + { + char *yyp = yystpcpy (yymsg, "syntax error, unexpected "); + yyp = yystpcpy (yyp, yytname[yytype]); + + if (yycount < 5) + { + yycount = 0; + for (yyx = yyn < 0 ? -yyn : 0; + yyx < (int) (sizeof (yytname) / sizeof (char *)); + yyx++) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) + { + const char *yyq = ! yycount ? ", expecting " : " or "; + yyp = yystpcpy (yyp, yyq); + yyp = yystpcpy (yyp, yytname[yyx]); + yycount++; + } + } + yyerror (yymsg); + YYSTACK_FREE (yymsg); + } + else + yyerror ("syntax error; also virtual memory exhausted"); + } + else +#endif /* YYERROR_VERBOSE */ + yyerror ("syntax error"); + } + + + + 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) + { + /* Pop the error token. */ + YYPOPSTACK; + /* Pop the rest of the stack. */ + while (yyss < yyssp) + { + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp); + yydestruct (yystos[*yyssp], yyvsp); + YYPOPSTACK; + } + YYABORT; + } + + YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc); + yydestruct (yytoken, &yylval); + yychar = YYEMPTY; + + } + + /* Else will try to reuse lookahead token after shifting the error + token. */ + goto yyerrlab2; + + +/*----------------------------------------------------. +| yyerrlab1 -- error raised explicitly by an action. | +`----------------------------------------------------*/ +yyerrlab1: + + /* Suppress GCC warning that yyerrlab1 is unused when no action + invokes YYERROR. MacOS 10.2.3's buggy "smart preprocessor" + insists on the trailing semicolon. */ +#if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__) + __attribute__ ((__unused__)); +#endif + + + goto yyerrlab2; + + +/*---------------------------------------------------------------. +| yyerrlab2 -- pop states until the error token can be shifted. | +`---------------------------------------------------------------*/ +yyerrlab2: + yyerrstatus = 3; /* Each real token shifted decrements this. */ + + for (;;) + { + yyn = yypact[yystate]; + if (yyn != YYPACT_NINF) + { + yyn += YYTERROR; + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) + { + yyn = yytable[yyn]; + if (0 < yyn) + break; + } + } + + /* Pop the current state because it cannot handle the error token. */ + if (yyssp == yyss) + YYABORT; + + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp); + yydestruct (yystos[yystate], yyvsp); + yyvsp--; + yystate = *--yyssp; + + YY_STACK_PRINT (yyss, yyssp); + } + + if (yyn == YYFINAL) + YYACCEPT; + + YYDPRINTF ((stderr, "Shifting error token, ")); + + *++yyvsp = yylval; + + + yystate = yyn; + goto yynewstate; + + +/*-------------------------------------. +| yyacceptlab -- YYACCEPT comes here. | +`-------------------------------------*/ +yyacceptlab: + yyresult = 0; + goto yyreturn; + +/*-----------------------------------. +| yyabortlab -- YYABORT comes here. | +`-----------------------------------*/ +yyabortlab: + yyresult = 1; + goto yyreturn; + +#ifndef yyoverflow +/*----------------------------------------------. +| yyoverflowlab -- parser overflow comes here. | +`----------------------------------------------*/ +yyoverflowlab: + yyerror ("parser stack overflow"); + yyresult = 2; + /* Fall through. */ +#endif + +yyreturn: +#ifndef yyoverflow + if (yyss != yyssa) + YYSTACK_FREE (yyss); +#endif + return yyresult; +} + + +#line 2563 "c-parse.y" + + +/* yylex() is a thin wrapper around c_lex(), all it does is translate + cpplib.h's token codes into yacc's token codes. */ + +static enum cpp_ttype last_token; + +/* The reserved keyword table. */ +struct resword +{ + const char *word; + ENUM_BITFIELD(rid) rid : 16; + unsigned int disable : 16; +}; + +/* Disable mask. Keywords are disabled if (reswords[i].disable & mask) is + _true_. */ +#define D_C89 0x01 /* not in C89 */ +#define D_EXT 0x02 /* GCC extension */ +#define D_EXT89 0x04 /* GCC extension incorporated in C99 */ +#define D_OBJC 0x08 /* Objective C only */ + +static const struct resword reswords[] = +{ + { "_Bool", RID_BOOL, 0 }, + { "_Complex", RID_COMPLEX, 0 }, + { "__FUNCTION__", RID_FUNCTION_NAME, 0 }, + { "__PRETTY_FUNCTION__", RID_PRETTY_FUNCTION_NAME, 0 }, + { "__alignof", RID_ALIGNOF, 0 }, + { "__alignof__", RID_ALIGNOF, 0 }, + { "__asm", RID_ASM, 0 }, + { "__asm__", RID_ASM, 0 }, + { "__attribute", RID_ATTRIBUTE, 0 }, + { "__attribute__", RID_ATTRIBUTE, 0 }, + { "__bounded", RID_BOUNDED, 0 }, + { "__bounded__", RID_BOUNDED, 0 }, + { "__builtin_choose_expr", RID_CHOOSE_EXPR, 0 }, + { "__builtin_types_compatible_p", RID_TYPES_COMPATIBLE_P, 0 }, + { "__builtin_va_arg", RID_VA_ARG, 0 }, + { "__complex", RID_COMPLEX, 0 }, + { "__complex__", RID_COMPLEX, 0 }, + { "__const", RID_CONST, 0 }, + { "__const__", RID_CONST, 0 }, + { "__extension__", RID_EXTENSION, 0 }, + { "__func__", RID_C99_FUNCTION_NAME, 0 }, + { "__imag", RID_IMAGPART, 0 }, + { "__imag__", RID_IMAGPART, 0 }, + { "__inline", RID_INLINE, 0 }, + { "__inline__", RID_INLINE, 0 }, + { "__label__", RID_LABEL, 0 }, + { "__ptrbase", RID_PTRBASE, 0 }, + { "__ptrbase__", RID_PTRBASE, 0 }, + { "__ptrextent", RID_PTREXTENT, 0 }, + { "__ptrextent__", RID_PTREXTENT, 0 }, + { "__ptrvalue", RID_PTRVALUE, 0 }, + { "__ptrvalue__", RID_PTRVALUE, 0 }, + { "__real", RID_REALPART, 0 }, + { "__real__", RID_REALPART, 0 }, + { "__restrict", RID_RESTRICT, 0 }, + { "__restrict__", RID_RESTRICT, 0 }, + { "__signed", RID_SIGNED, 0 }, + { "__signed__", RID_SIGNED, 0 }, + { "__thread", RID_THREAD, 0 }, + { "__typeof", RID_TYPEOF, 0 }, + { "__typeof__", RID_TYPEOF, 0 }, + { "__unbounded", RID_UNBOUNDED, 0 }, + { "__unbounded__", RID_UNBOUNDED, 0 }, + { "__volatile", RID_VOLATILE, 0 }, + { "__volatile__", RID_VOLATILE, 0 }, + { "asm", RID_ASM, D_EXT }, + { "auto", RID_AUTO, 0 }, + { "break", RID_BREAK, 0 }, + { "case", RID_CASE, 0 }, + { "char", RID_CHAR, 0 }, + { "const", RID_CONST, 0 }, + { "continue", RID_CONTINUE, 0 }, + { "default", RID_DEFAULT, 0 }, + { "do", RID_DO, 0 }, + { "double", RID_DOUBLE, 0 }, + { "else", RID_ELSE, 0 }, + { "enum", RID_ENUM, 0 }, + { "extern", RID_EXTERN, 0 }, + { "float", RID_FLOAT, 0 }, + { "for", RID_FOR, 0 }, + { "goto", RID_GOTO, 0 }, + { "if", RID_IF, 0 }, + { "inline", RID_INLINE, D_EXT89 }, + { "int", RID_INT, 0 }, + { "long", RID_LONG, 0 }, + { "register", RID_REGISTER, 0 }, + { "restrict", RID_RESTRICT, D_C89 }, + { "return", RID_RETURN, 0 }, + { "short", RID_SHORT, 0 }, + { "signed", RID_SIGNED, 0 }, + { "sizeof", RID_SIZEOF, 0 }, + { "static", RID_STATIC, 0 }, + { "struct", RID_STRUCT, 0 }, + { "switch", RID_SWITCH, 0 }, + { "typedef", RID_TYPEDEF, 0 }, + { "typeof", RID_TYPEOF, D_EXT }, + { "union", RID_UNION, 0 }, + { "unsigned", RID_UNSIGNED, 0 }, + { "void", RID_VOID, 0 }, + { "volatile", RID_VOLATILE, 0 }, + { "while", RID_WHILE, 0 }, +}; +#define N_reswords (sizeof reswords / sizeof (struct resword)) + +/* Table mapping from RID_* constants to yacc token numbers. + Unfortunately we have to have entries for all the keywords in all + three languages. */ +static const short rid_to_yy[RID_MAX] = +{ + /* RID_STATIC */ STATIC, + /* RID_UNSIGNED */ TYPESPEC, + /* RID_LONG */ TYPESPEC, + /* RID_CONST */ TYPE_QUAL, + /* RID_EXTERN */ SCSPEC, + /* RID_REGISTER */ SCSPEC, + /* RID_TYPEDEF */ SCSPEC, + /* RID_SHORT */ TYPESPEC, + /* RID_INLINE */ SCSPEC, + /* RID_VOLATILE */ TYPE_QUAL, + /* RID_SIGNED */ TYPESPEC, + /* RID_AUTO */ SCSPEC, + /* RID_RESTRICT */ TYPE_QUAL, + + /* C extensions */ + /* RID_BOUNDED */ TYPE_QUAL, + /* RID_UNBOUNDED */ TYPE_QUAL, + /* RID_COMPLEX */ TYPESPEC, + /* RID_THREAD */ SCSPEC, + + /* C++ */ + /* RID_FRIEND */ 0, + /* RID_VIRTUAL */ 0, + /* RID_EXPLICIT */ 0, + /* RID_EXPORT */ 0, + /* RID_MUTABLE */ 0, + + /* ObjC */ + /* RID_IN */ TYPE_QUAL, + /* RID_OUT */ TYPE_QUAL, + /* RID_INOUT */ TYPE_QUAL, + /* RID_BYCOPY */ TYPE_QUAL, + /* RID_BYREF */ TYPE_QUAL, + /* RID_ONEWAY */ TYPE_QUAL, + + /* C */ + /* RID_INT */ TYPESPEC, + /* RID_CHAR */ TYPESPEC, + /* RID_FLOAT */ TYPESPEC, + /* RID_DOUBLE */ TYPESPEC, + /* RID_VOID */ TYPESPEC, + /* RID_ENUM */ ENUM, + /* RID_STRUCT */ STRUCT, + /* RID_UNION */ UNION, + /* RID_IF */ IF, + /* RID_ELSE */ ELSE, + /* RID_WHILE */ WHILE, + /* RID_DO */ DO, + /* RID_FOR */ FOR, + /* RID_SWITCH */ SWITCH, + /* RID_CASE */ CASE, + /* RID_DEFAULT */ DEFAULT, + /* RID_BREAK */ BREAK, + /* RID_CONTINUE */ CONTINUE, + /* RID_RETURN */ RETURN, + /* RID_GOTO */ GOTO, + /* RID_SIZEOF */ SIZEOF, + + /* C extensions */ + /* RID_ASM */ ASM_KEYWORD, + /* RID_TYPEOF */ TYPEOF, + /* RID_ALIGNOF */ ALIGNOF, + /* RID_ATTRIBUTE */ ATTRIBUTE, + /* RID_VA_ARG */ VA_ARG, + /* RID_EXTENSION */ EXTENSION, + /* RID_IMAGPART */ IMAGPART, + /* RID_REALPART */ REALPART, + /* RID_LABEL */ LABEL, + /* RID_PTRBASE */ PTR_BASE, + /* RID_PTREXTENT */ PTR_EXTENT, + /* RID_PTRVALUE */ PTR_VALUE, + + /* RID_CHOOSE_EXPR */ CHOOSE_EXPR, + /* RID_TYPES_COMPATIBLE_P */ TYPES_COMPATIBLE_P, + + /* RID_FUNCTION_NAME */ STRING_FUNC_NAME, + /* RID_PRETTY_FUNCTION_NAME */ STRING_FUNC_NAME, + /* RID_C99_FUNCTION_NAME */ VAR_FUNC_NAME, + + /* C++ */ + /* RID_BOOL */ TYPESPEC, + /* RID_WCHAR */ 0, + /* RID_CLASS */ 0, + /* RID_PUBLIC */ 0, + /* RID_PRIVATE */ 0, + /* RID_PROTECTED */ 0, + /* RID_TEMPLATE */ 0, + /* RID_NULL */ 0, + /* RID_CATCH */ 0, + /* RID_DELETE */ 0, + /* RID_FALSE */ 0, + /* RID_NAMESPACE */ 0, + /* RID_NEW */ 0, + /* RID_OPERATOR */ 0, + /* RID_THIS */ 0, + /* RID_THROW */ 0, + /* RID_TRUE */ 0, + /* RID_TRY */ 0, + /* RID_TYPENAME */ 0, + /* RID_TYPEID */ 0, + /* RID_USING */ 0, + + /* casts */ + /* RID_CONSTCAST */ 0, + /* RID_DYNCAST */ 0, + /* RID_REINTCAST */ 0, + /* RID_STATCAST */ 0, + + /* Objective C */ + /* RID_ID */ OBJECTNAME, + /* RID_AT_ENCODE */ ENCODE, + /* RID_AT_END */ END, + /* RID_AT_CLASS */ CLASS, + /* RID_AT_ALIAS */ ALIAS, + /* RID_AT_DEFS */ DEFS, + /* RID_AT_PRIVATE */ PRIVATE, + /* RID_AT_PROTECTED */ PROTECTED, + /* RID_AT_PUBLIC */ PUBLIC, + /* RID_AT_PROTOCOL */ PROTOCOL, + /* RID_AT_SELECTOR */ SELECTOR, + /* RID_AT_INTERFACE */ INTERFACE, + /* RID_AT_IMPLEMENTATION */ IMPLEMENTATION +}; + +static void +init_reswords () +{ + unsigned int i; + tree id; + int mask = (flag_isoc99 ? 0 : D_C89) + | (flag_no_asm ? (flag_isoc99 ? D_EXT : D_EXT|D_EXT89) : 0); + + if (!flag_objc) + mask |= D_OBJC; + + /* It is not necessary to register ridpointers as a GC root, because + all the trees it points to are permanently interned in the + get_identifier hash anyway. */ + ridpointers = (tree *) xcalloc ((int) RID_MAX, sizeof (tree)); + for (i = 0; i < N_reswords; i++) + { + /* If a keyword is disabled, do not enter it into the table + and so create a canonical spelling that isn't a keyword. */ + if (reswords[i].disable & mask) + continue; + + id = get_identifier (reswords[i].word); + C_RID_CODE (id) = reswords[i].rid; + C_IS_RESERVED_WORD (id) = 1; + ridpointers [(int) reswords[i].rid] = id; + } +} + +#define NAME(type) cpp_type2name (type) + +static void +yyerror (msgid) + const char *msgid; +{ + const char *string = _(msgid); + + if (last_token == CPP_EOF) + error ("%s at end of input", string); + else if (last_token == CPP_CHAR || last_token == CPP_WCHAR) + { + unsigned int val = TREE_INT_CST_LOW (yylval.ttype); + const char *const ell = (last_token == CPP_CHAR) ? "" : "L"; + if (val <= UCHAR_MAX && ISGRAPH (val)) + error ("%s before %s'%c'", string, ell, val); + else + error ("%s before %s'\\x%x'", string, ell, val); + } + else if (last_token == CPP_STRING + || last_token == CPP_WSTRING) + error ("%s before string constant", string); + else if (last_token == CPP_NUMBER) + error ("%s before numeric constant", string); + else if (last_token == CPP_NAME) + error ("%s before \"%s\"", string, IDENTIFIER_POINTER (yylval.ttype)); + else + error ("%s before '%s' token", string, NAME(last_token)); +} + +static int +yylexname () +{ + tree decl; + + + if (C_IS_RESERVED_WORD (yylval.ttype)) + { + enum rid rid_code = C_RID_CODE (yylval.ttype); + + { + int yycode = rid_to_yy[(int) rid_code]; + if (yycode == STRING_FUNC_NAME) + { + /* __FUNCTION__ and __PRETTY_FUNCTION__ get converted + to string constants. */ + const char *name = fname_string (rid_code); + + yylval.ttype = build_string (strlen (name) + 1, name); + C_ARTIFICIAL_STRING_P (yylval.ttype) = 1; + last_token = CPP_STRING; /* so yyerror won't choke */ + return STRING; + } + + /* Return the canonical spelling for this keyword. */ + yylval.ttype = ridpointers[(int) rid_code]; + return yycode; + } + } + + decl = lookup_name (yylval.ttype); + if (decl) + { + if (TREE_CODE (decl) == TYPE_DECL) + return TYPENAME; + } + + return IDENTIFIER; +} + +/* Concatenate strings before returning them to the parser. This isn't quite + as good as having it done in the lexer, but it's better than nothing. */ + +static int +yylexstring () +{ + enum cpp_ttype next_type; + tree orig = yylval.ttype; + + next_type = c_lex (&yylval.ttype); + if (next_type == CPP_STRING + || next_type == CPP_WSTRING + || (next_type == CPP_NAME && yylexname () == STRING)) + { + varray_type strings; + + static int last_lineno = 0; + static const char *last_input_filename = 0; + if (warn_traditional && !in_system_header + && (lineno != last_lineno || !last_input_filename || + strcmp (last_input_filename, input_filename))) + { + warning ("traditional C rejects string concatenation"); + last_lineno = lineno; + last_input_filename = input_filename; + } + + VARRAY_TREE_INIT (strings, 32, "strings"); + VARRAY_PUSH_TREE (strings, orig); + + do + { + VARRAY_PUSH_TREE (strings, yylval.ttype); + next_type = c_lex (&yylval.ttype); + } + while (next_type == CPP_STRING + || next_type == CPP_WSTRING + || (next_type == CPP_NAME && yylexname () == STRING)); + + yylval.ttype = combine_strings (strings); + } + else + yylval.ttype = orig; + + /* We will have always read one token too many. */ + _cpp_backup_tokens (parse_in, 1); + + return STRING; +} + +static inline int +_yylex () +{ + get_next: + last_token = c_lex (&yylval.ttype); + switch (last_token) + { + case CPP_EQ: return '='; + case CPP_NOT: return '!'; + case CPP_GREATER: yylval.code = GT_EXPR; return ARITHCOMPARE; + case CPP_LESS: yylval.code = LT_EXPR; return ARITHCOMPARE; + case CPP_PLUS: yylval.code = PLUS_EXPR; return '+'; + case CPP_MINUS: yylval.code = MINUS_EXPR; return '-'; + case CPP_MULT: yylval.code = MULT_EXPR; return '*'; + case CPP_DIV: yylval.code = TRUNC_DIV_EXPR; return '/'; + case CPP_MOD: yylval.code = TRUNC_MOD_EXPR; return '%'; + case CPP_AND: yylval.code = BIT_AND_EXPR; return '&'; + case CPP_OR: yylval.code = BIT_IOR_EXPR; return '|'; + case CPP_XOR: yylval.code = BIT_XOR_EXPR; return '^'; + case CPP_RSHIFT: yylval.code = RSHIFT_EXPR; return RSHIFT; + case CPP_LSHIFT: yylval.code = LSHIFT_EXPR; return LSHIFT; + + case CPP_COMPL: return '~'; + case CPP_AND_AND: return ANDAND; + case CPP_OR_OR: return OROR; + case CPP_QUERY: return '?'; + case CPP_OPEN_PAREN: return '('; + case CPP_EQ_EQ: yylval.code = EQ_EXPR; return EQCOMPARE; + case CPP_NOT_EQ: yylval.code = NE_EXPR; return EQCOMPARE; + case CPP_GREATER_EQ:yylval.code = GE_EXPR; return ARITHCOMPARE; + case CPP_LESS_EQ: yylval.code = LE_EXPR; return ARITHCOMPARE; + + case CPP_PLUS_EQ: yylval.code = PLUS_EXPR; return ASSIGN; + case CPP_MINUS_EQ: yylval.code = MINUS_EXPR; return ASSIGN; + case CPP_MULT_EQ: yylval.code = MULT_EXPR; return ASSIGN; + case CPP_DIV_EQ: yylval.code = TRUNC_DIV_EXPR; return ASSIGN; + case CPP_MOD_EQ: yylval.code = TRUNC_MOD_EXPR; return ASSIGN; + case CPP_AND_EQ: yylval.code = BIT_AND_EXPR; return ASSIGN; + case CPP_OR_EQ: yylval.code = BIT_IOR_EXPR; return ASSIGN; + case CPP_XOR_EQ: yylval.code = BIT_XOR_EXPR; return ASSIGN; + case CPP_RSHIFT_EQ: yylval.code = RSHIFT_EXPR; return ASSIGN; + case CPP_LSHIFT_EQ: yylval.code = LSHIFT_EXPR; return ASSIGN; + + case CPP_OPEN_SQUARE: return '['; + case CPP_CLOSE_SQUARE: return ']'; + case CPP_OPEN_BRACE: return '{'; + case CPP_CLOSE_BRACE: return '}'; + case CPP_ELLIPSIS: return ELLIPSIS; + + case CPP_PLUS_PLUS: return PLUSPLUS; + case CPP_MINUS_MINUS: return MINUSMINUS; + case CPP_DEREF: return POINTSAT; + case CPP_DOT: return '.'; + + /* The following tokens may affect the interpretation of any + identifiers following, if doing Objective-C. */ + case CPP_COLON: OBJC_NEED_RAW_IDENTIFIER (0); return ':'; + case CPP_COMMA: OBJC_NEED_RAW_IDENTIFIER (0); return ','; + case CPP_CLOSE_PAREN: OBJC_NEED_RAW_IDENTIFIER (0); return ')'; + case CPP_SEMICOLON: OBJC_NEED_RAW_IDENTIFIER (0); return ';'; + + case CPP_EOF: + return 0; + + case CPP_NAME: + { + int ret = yylexname (); + if (ret == STRING) + return yylexstring (); + else + return ret; + } + + case CPP_NUMBER: + case CPP_CHAR: + case CPP_WCHAR: + return CONSTANT; + + case CPP_STRING: + case CPP_WSTRING: + return yylexstring (); + + /* This token is Objective-C specific. It gives the next token + special significance. */ + case CPP_ATSIGN: + + /* These tokens are C++ specific (and will not be generated + in C mode, but let's be cautious). */ + case CPP_SCOPE: + case CPP_DEREF_STAR: + case CPP_DOT_STAR: + case CPP_MIN_EQ: + case CPP_MAX_EQ: + case CPP_MIN: + case CPP_MAX: + /* These tokens should not survive translation phase 4. */ + case CPP_HASH: + case CPP_PASTE: + error ("syntax error at '%s' token", NAME(last_token)); + goto get_next; + + default: + abort (); + } + /* NOTREACHED */ +} + +static int +yylex() +{ + int r; + timevar_push (TV_LEX); + r = _yylex(); + timevar_pop (TV_LEX); + return r; +} + +/* Function used when yydebug is set, to print a token in more detail. */ + +static void +yyprint (file, yychar, yyl) + FILE *file; + int yychar; + YYSTYPE yyl; +{ + tree t = yyl.ttype; + + fprintf (file, " [%s]", NAME(last_token)); + + switch (yychar) + { + case IDENTIFIER: + case TYPENAME: + case OBJECTNAME: + case TYPESPEC: + case TYPE_QUAL: + case SCSPEC: + case STATIC: + if (IDENTIFIER_POINTER (t)) + fprintf (file, " `%s'", IDENTIFIER_POINTER (t)); + break; + + case CONSTANT: + fprintf (file, " %s", GET_MODE_NAME (TYPE_MODE (TREE_TYPE (t)))); + if (TREE_CODE (t) == INTEGER_CST) + fprintf (file, +#if HOST_BITS_PER_WIDE_INT == 64 +#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT + " 0x%x%016x", +#else +#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG + " 0x%lx%016lx", +#else + " 0x%llx%016llx", +#endif +#endif +#else +#if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT + " 0x%lx%08lx", +#else + " 0x%x%08x", +#endif +#endif + TREE_INT_CST_HIGH (t), TREE_INT_CST_LOW (t)); + break; + } +} + +/* This is not the ideal place to put these, but we have to get them out + of c-lex.c because cp/lex.c has its own versions. */ + +/* Free malloced parser stacks if necessary. */ + +void +free_parser_stacks () +{ + if (malloced_yyss) + { + free (malloced_yyss); + free (malloced_yyvs); + } +} + +#include "gt-c-parse.h" + + diff --git a/gnu/dist/gcc/gcc/c-parse.y b/gnu/dist/gcc/gcc/c-parse.y new file mode 100644 index 000000000000..dfce440b8508 --- /dev/null +++ b/gnu/dist/gcc/gcc/c-parse.y @@ -0,0 +1,3132 @@ +/*WARNING: This file is automatically generated!*/ +/* YACC parser for C syntax and for Objective C. -*-c-*- + Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, + 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +GCC 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 GCC; see the file COPYING. If not, write to the Free +Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ + +/* This file defines the grammar of C and that of Objective C. + ifobjc ... end ifobjc conditionals contain code for Objective C only. + ifc ... end ifc conditionals contain code for C only. + Sed commands in Makefile.in are used to convert this file into + c-parse.y and into objc-parse.y. */ + +/* To whomever it may concern: I have heard that such a thing was once + written by AT&T, but I have never seen it. */ + +%expect 10 /* shift/reduce conflicts, and no reduce/reduce conflicts. */ + +%{ +#include "config.h" +#include "system.h" +#include "tree.h" +#include "input.h" +#include "cpplib.h" +#include "intl.h" +#include "timevar.h" +#include "c-pragma.h" /* For YYDEBUG definition, and parse_in. */ +#include "c-tree.h" +#include "flags.h" +#include "output.h" +#include "toplev.h" +#include "ggc.h" + +#ifdef MULTIBYTE_CHARS +#include +#endif + + +/* Like YYERROR but do call yyerror. */ +#define YYERROR1 { yyerror ("syntax error"); YYERROR; } + +/* Like the default stack expander, except (1) use realloc when possible, + (2) impose no hard maxiumum on stack size, (3) REALLY do not use alloca. + + Irritatingly, YYSTYPE is defined after this %{ %} block, so we cannot + give malloced_yyvs its proper type. This is ok since all we need from + it is to be able to free it. */ + +static short *malloced_yyss; +static void *malloced_yyvs; + +#define yyoverflow(MSG, SS, SSSIZE, VS, VSSIZE, YYSSZ) \ +do { \ + size_t newsize; \ + short *newss; \ + YYSTYPE *newvs; \ + newsize = *(YYSSZ) *= 2; \ + if (malloced_yyss) \ + { \ + newss = (short *) \ + really_call_realloc (*(SS), newsize * sizeof (short)); \ + newvs = (YYSTYPE *) \ + really_call_realloc (*(VS), newsize * sizeof (YYSTYPE)); \ + } \ + else \ + { \ + newss = (short *) really_call_malloc (newsize * sizeof (short)); \ + newvs = (YYSTYPE *) really_call_malloc (newsize * sizeof (YYSTYPE)); \ + if (newss) \ + memcpy (newss, *(SS), (SSSIZE)); \ + if (newvs) \ + memcpy (newvs, *(VS), (VSSIZE)); \ + } \ + if (!newss || !newvs) \ + { \ + yyerror (MSG); \ + return 2; \ + } \ + *(SS) = newss; \ + *(VS) = newvs; \ + malloced_yyss = newss; \ + malloced_yyvs = (void *) newvs; \ +} while (0) +%} + +%start program + +%union {long itype; tree ttype; enum tree_code code; + const char *filename; int lineno; } + +/* All identifiers that are not reserved words + and are not declared typedefs in the current block */ +%token IDENTIFIER + +/* All identifiers that are declared typedefs in the current block. + In some contexts, they are treated just like IDENTIFIER, + but they can also serve as typespecs in declarations. */ +%token TYPENAME + +/* Reserved words that specify storage class. + yylval contains an IDENTIFIER_NODE which indicates which one. */ +%token SCSPEC /* Storage class other than static. */ +%token STATIC /* Static storage class. */ + +/* Reserved words that specify type. + yylval contains an IDENTIFIER_NODE which indicates which one. */ +%token TYPESPEC + +/* Reserved words that qualify type: "const", "volatile", or "restrict". + yylval contains an IDENTIFIER_NODE which indicates which one. */ +%token TYPE_QUAL + +/* Character or numeric constants. + yylval is the node for the constant. */ +%token CONSTANT + +/* String constants in raw form. + yylval is a STRING_CST node. */ +%token STRING + +/* "...", used for functions with variable arglists. */ +%token ELLIPSIS + +/* the reserved words */ +/* SCO include files test "ASM", so use something else. */ +%token SIZEOF ENUM STRUCT UNION IF ELSE WHILE DO FOR SWITCH CASE DEFAULT +%token BREAK CONTINUE RETURN GOTO ASM_KEYWORD TYPEOF ALIGNOF +%token ATTRIBUTE EXTENSION LABEL +%token REALPART IMAGPART VA_ARG CHOOSE_EXPR TYPES_COMPATIBLE_P +%token PTR_VALUE PTR_BASE PTR_EXTENT + +/* function name can be a string const or a var decl. */ +%token STRING_FUNC_NAME VAR_FUNC_NAME + +/* Add precedence rules to solve dangling else s/r conflict */ +%nonassoc IF +%nonassoc ELSE + +/* Define the operator tokens and their precedences. + The value is an integer because, if used, it is the tree code + to use in the expression made from the operator. */ + +%right ASSIGN '=' +%right '?' ':' +%left OROR +%left ANDAND +%left '|' +%left '^' +%left '&' +%left EQCOMPARE +%left ARITHCOMPARE +%left LSHIFT RSHIFT +%left '+' '-' +%left '*' '/' '%' +%right UNARY PLUSPLUS MINUSMINUS +%left HYPERUNARY +%left POINTSAT '.' '(' '[' + +/* The Objective-C keywords. These are included in C and in + Objective C, so that the token codes are the same in both. */ +%token INTERFACE IMPLEMENTATION END SELECTOR DEFS ENCODE +%token CLASSNAME PUBLIC PRIVATE PROTECTED PROTOCOL OBJECTNAME CLASS ALIAS + +%type unop +%type ENUM STRUCT UNION IF ELSE WHILE DO FOR SWITCH CASE DEFAULT +%type BREAK CONTINUE RETURN GOTO ASM_KEYWORD SIZEOF TYPEOF ALIGNOF + +%type identifier IDENTIFIER TYPENAME CONSTANT expr nonnull_exprlist exprlist +%type expr_no_commas cast_expr unary_expr primary STRING +%type declspecs_nosc_nots_nosa_noea declspecs_nosc_nots_nosa_ea +%type declspecs_nosc_nots_sa_noea declspecs_nosc_nots_sa_ea +%type declspecs_nosc_ts_nosa_noea declspecs_nosc_ts_nosa_ea +%type declspecs_nosc_ts_sa_noea declspecs_nosc_ts_sa_ea +%type declspecs_sc_nots_nosa_noea declspecs_sc_nots_nosa_ea +%type declspecs_sc_nots_sa_noea declspecs_sc_nots_sa_ea +%type declspecs_sc_ts_nosa_noea declspecs_sc_ts_nosa_ea +%type declspecs_sc_ts_sa_noea declspecs_sc_ts_sa_ea +%type declspecs_ts declspecs_nots +%type declspecs_ts_nosa declspecs_nots_nosa +%type declspecs_nosc_ts declspecs_nosc_nots declspecs_nosc declspecs +%type maybe_type_quals_attrs typespec_nonattr typespec_attr +%type typespec_reserved_nonattr typespec_reserved_attr +%type typespec_nonreserved_nonattr + +%type scspec SCSPEC STATIC TYPESPEC TYPE_QUAL maybe_type_qual +%type initdecls notype_initdecls initdcl notype_initdcl +%type init maybeasm +%type asm_operands nonnull_asm_operands asm_operand asm_clobbers +%type maybe_attribute attributes attribute attribute_list attrib +%type any_word extension + +%type compstmt compstmt_start compstmt_nostart compstmt_primary_start +%type do_stmt_start poplevel stmt label + +%type c99_block_start c99_block_end +%type declarator +%type notype_declarator after_type_declarator +%type parm_declarator +%type parm_declarator_starttypename parm_declarator_nostarttypename +%type array_declarator + +%type structsp_attr structsp_nonattr +%type component_decl_list component_decl_list2 +%type component_decl components components_notype component_declarator +%type component_notype_declarator +%type enumlist enumerator +%type struct_head union_head enum_head +%type typename absdcl absdcl1 absdcl1_ea absdcl1_noea +%type direct_absdcl1 absdcl_maybe_attribute +%type xexpr parms parm firstparm identifiers + +%type parmlist parmlist_1 parmlist_2 +%type parmlist_or_identifiers parmlist_or_identifiers_1 +%type identifiers_or_typenames + +%type setspecs setspecs_fp + +%type save_filename +%type save_lineno + + +%{ +/* Number of statements (loosely speaking) and compound statements + seen so far. */ +static int stmt_count; +static int compstmt_count; + +/* Input file and line number of the end of the body of last simple_if; + used by the stmt-rule immediately after simple_if returns. */ +static const char *if_stmt_file; +static int if_stmt_line; + +/* List of types and structure classes of the current declaration. */ +static GTY(()) tree current_declspecs; +static GTY(()) tree prefix_attributes; + +/* List of all the attributes applying to the identifier currently being + declared; includes prefix_attributes and possibly some more attributes + just after a comma. */ +static GTY(()) tree all_prefix_attributes; + +/* Stack of saved values of current_declspecs, prefix_attributes and + all_prefix_attributes. */ +static GTY(()) tree declspec_stack; + +/* PUSH_DECLSPEC_STACK is called from setspecs; POP_DECLSPEC_STACK + should be called from the productions making use of setspecs. */ +#define PUSH_DECLSPEC_STACK \ + do { \ + declspec_stack = tree_cons (build_tree_list (prefix_attributes, \ + all_prefix_attributes), \ + current_declspecs, \ + declspec_stack); \ + } while (0) + +#define POP_DECLSPEC_STACK \ + do { \ + current_declspecs = TREE_VALUE (declspec_stack); \ + prefix_attributes = TREE_PURPOSE (TREE_PURPOSE (declspec_stack)); \ + all_prefix_attributes = TREE_VALUE (TREE_PURPOSE (declspec_stack)); \ + declspec_stack = TREE_CHAIN (declspec_stack); \ + } while (0) + +/* For __extension__, save/restore the warning flags which are + controlled by __extension__. */ +#define SAVE_EXT_FLAGS() \ + size_int (pedantic \ + | (warn_pointer_arith << 1) \ + | (warn_traditional << 2) \ + | (flag_iso << 3)) + +#define RESTORE_EXT_FLAGS(tval) \ + do { \ + int val = tree_low_cst (tval, 0); \ + pedantic = val & 1; \ + warn_pointer_arith = (val >> 1) & 1; \ + warn_traditional = (val >> 2) & 1; \ + flag_iso = (val >> 3) & 1; \ + } while (0) + + +#define OBJC_NEED_RAW_IDENTIFIER(VAL) /* nothing */ + +static bool parsing_iso_function_signature; + +/* Tell yyparse how to print a token's value, if yydebug is set. */ + +#define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL) + +static void yyprint PARAMS ((FILE *, int, YYSTYPE)); +static void yyerror PARAMS ((const char *)); +static int yylexname PARAMS ((void)); +static int yylexstring PARAMS ((void)); +static inline int _yylex PARAMS ((void)); +static int yylex PARAMS ((void)); +static void init_reswords PARAMS ((void)); + + /* Initialisation routine for this file. */ +void +c_parse_init () +{ + init_reswords (); +} + +%} + +%% +program: /* empty */ + { if (pedantic) + pedwarn ("ISO C forbids an empty source file"); + finish_file (); + } + | extdefs + { + /* In case there were missing closebraces, + get us back to the global binding level. */ + while (! global_bindings_p ()) + poplevel (0, 0, 0); + /* __FUNCTION__ is defined at file scope (""). This + call may not be necessary as my tests indicate it + still works without it. */ + finish_fname_decls (); + finish_file (); + } + ; + +/* the reason for the strange actions in this rule + is so that notype_initdecls when reached via datadef + can find a valid list of type and sc specs in $0. */ + +extdefs: + {$$ = NULL_TREE; } extdef + | extdefs {$$ = NULL_TREE; ggc_collect(); } extdef + ; + +extdef: + extdef_1 + { parsing_iso_function_signature = false; } /* Reset after any external definition. */ + ; + +extdef_1: + fndef + | datadef + | ASM_KEYWORD '(' expr ')' ';' + { STRIP_NOPS ($3); + if ((TREE_CODE ($3) == ADDR_EXPR + && TREE_CODE (TREE_OPERAND ($3, 0)) == STRING_CST) + || TREE_CODE ($3) == STRING_CST) + assemble_asm ($3); + else + error ("argument of `asm' is not a constant string"); } + | extension extdef + { RESTORE_EXT_FLAGS ($1); } + ; + +datadef: + setspecs notype_initdecls ';' + { if (pedantic) + error ("ISO C forbids data definition with no type or storage class"); + else + warning ("data definition has no type or storage class"); + + POP_DECLSPEC_STACK; } + | declspecs_nots setspecs notype_initdecls ';' + { POP_DECLSPEC_STACK; } + | declspecs_ts setspecs initdecls ';' + { POP_DECLSPEC_STACK; } + | declspecs ';' + { shadow_tag ($1); } + | error ';' + | error '}' + | ';' + { if (pedantic) + pedwarn ("ISO C does not allow extra `;' outside of a function"); } + ; + +fndef: + declspecs_ts setspecs declarator + { if (! start_function (current_declspecs, $3, + all_prefix_attributes)) + YYERROR1; + } + old_style_parm_decls + { store_parm_decls (); } + save_filename save_lineno compstmt_or_error + { DECL_SOURCE_FILE (current_function_decl) = $7; + DECL_SOURCE_LINE (current_function_decl) = $8; + finish_function (0, 1); + POP_DECLSPEC_STACK; } + | declspecs_ts setspecs declarator error + { POP_DECLSPEC_STACK; } + | declspecs_nots setspecs notype_declarator + { if (! start_function (current_declspecs, $3, + all_prefix_attributes)) + YYERROR1; + } + old_style_parm_decls + { store_parm_decls (); } + save_filename save_lineno compstmt_or_error + { DECL_SOURCE_FILE (current_function_decl) = $7; + DECL_SOURCE_LINE (current_function_decl) = $8; + finish_function (0, 1); + POP_DECLSPEC_STACK; } + | declspecs_nots setspecs notype_declarator error + { POP_DECLSPEC_STACK; } + | setspecs notype_declarator + { if (! start_function (NULL_TREE, $2, + all_prefix_attributes)) + YYERROR1; + } + old_style_parm_decls + { store_parm_decls (); } + save_filename save_lineno compstmt_or_error + { DECL_SOURCE_FILE (current_function_decl) = $6; + DECL_SOURCE_LINE (current_function_decl) = $7; + finish_function (0, 1); + POP_DECLSPEC_STACK; } + | setspecs notype_declarator error + { POP_DECLSPEC_STACK; } + ; + +identifier: + IDENTIFIER + | TYPENAME + ; + +unop: '&' + { $$ = ADDR_EXPR; } + | '-' + { $$ = NEGATE_EXPR; } + | '+' + { $$ = CONVERT_EXPR; + if (warn_traditional && !in_system_header) + warning ("traditional C rejects the unary plus operator"); + } + | PLUSPLUS + { $$ = PREINCREMENT_EXPR; } + | MINUSMINUS + { $$ = PREDECREMENT_EXPR; } + | '~' + { $$ = BIT_NOT_EXPR; } + | '!' + { $$ = TRUTH_NOT_EXPR; } + ; + +expr: nonnull_exprlist + { $$ = build_compound_expr ($1); } + ; + +exprlist: + /* empty */ + { $$ = NULL_TREE; } + | nonnull_exprlist + ; + +nonnull_exprlist: + expr_no_commas + { $$ = build_tree_list (NULL_TREE, $1); } + | nonnull_exprlist ',' expr_no_commas + { chainon ($1, build_tree_list (NULL_TREE, $3)); } + ; + +unary_expr: + primary + | '*' cast_expr %prec UNARY + { $$ = build_indirect_ref ($2, "unary *"); } + /* __extension__ turns off -pedantic for following primary. */ + | extension cast_expr %prec UNARY + { $$ = $2; + RESTORE_EXT_FLAGS ($1); } + | unop cast_expr %prec UNARY + { $$ = build_unary_op ($1, $2, 0); + overflow_warning ($$); } + /* Refer to the address of a label as a pointer. */ + | ANDAND identifier + { $$ = finish_label_address_expr ($2); } + | sizeof unary_expr %prec UNARY + { skip_evaluation--; + if (TREE_CODE ($2) == COMPONENT_REF + && DECL_C_BIT_FIELD (TREE_OPERAND ($2, 1))) + error ("`sizeof' applied to a bit-field"); + $$ = c_sizeof (TREE_TYPE ($2)); } + | sizeof '(' typename ')' %prec HYPERUNARY + { skip_evaluation--; + $$ = c_sizeof (groktypename ($3)); } + | alignof unary_expr %prec UNARY + { skip_evaluation--; + $$ = c_alignof_expr ($2); } + | alignof '(' typename ')' %prec HYPERUNARY + { skip_evaluation--; + $$ = c_alignof (groktypename ($3)); } + | REALPART cast_expr %prec UNARY + { $$ = build_unary_op (REALPART_EXPR, $2, 0); } + | IMAGPART cast_expr %prec UNARY + { $$ = build_unary_op (IMAGPART_EXPR, $2, 0); } + ; + +sizeof: + SIZEOF { skip_evaluation++; } + ; + +alignof: + ALIGNOF { skip_evaluation++; } + ; + +typeof: + TYPEOF { skip_evaluation++; } + ; + +cast_expr: + unary_expr + | '(' typename ')' cast_expr %prec UNARY + { $$ = c_cast_expr ($2, $4); } + ; + +expr_no_commas: + cast_expr + | expr_no_commas '+' expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas '-' expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas '*' expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas '/' expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas '%' expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas LSHIFT expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas RSHIFT expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas ARITHCOMPARE expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas EQCOMPARE expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas '&' expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas '|' expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas '^' expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas ANDAND + { $1 = c_common_truthvalue_conversion + (default_conversion ($1)); + skip_evaluation += $1 == boolean_false_node; } + expr_no_commas + { skip_evaluation -= $1 == boolean_false_node; + $$ = parser_build_binary_op (TRUTH_ANDIF_EXPR, $1, $4); } + | expr_no_commas OROR + { $1 = c_common_truthvalue_conversion + (default_conversion ($1)); + skip_evaluation += $1 == boolean_true_node; } + expr_no_commas + { skip_evaluation -= $1 == boolean_true_node; + $$ = parser_build_binary_op (TRUTH_ORIF_EXPR, $1, $4); } + | expr_no_commas '?' + { $1 = c_common_truthvalue_conversion + (default_conversion ($1)); + skip_evaluation += $1 == boolean_false_node; } + expr ':' + { skip_evaluation += (($1 == boolean_true_node) + - ($1 == boolean_false_node)); } + expr_no_commas + { skip_evaluation -= $1 == boolean_true_node; + $$ = build_conditional_expr ($1, $4, $7); } + | expr_no_commas '?' + { if (pedantic) + pedwarn ("ISO C forbids omitting the middle term of a ?: expression"); + /* Make sure first operand is calculated only once. */ + $2 = save_expr ($1); + $1 = c_common_truthvalue_conversion + (default_conversion ($2)); + skip_evaluation += $1 == boolean_true_node; } + ':' expr_no_commas + { skip_evaluation -= $1 == boolean_true_node; + $$ = build_conditional_expr ($1, $2, $5); } + | expr_no_commas '=' expr_no_commas + { char class; + $$ = build_modify_expr ($1, NOP_EXPR, $3); + class = TREE_CODE_CLASS (TREE_CODE ($$)); + if (IS_EXPR_CODE_CLASS (class)) + C_SET_EXP_ORIGINAL_CODE ($$, MODIFY_EXPR); + } + | expr_no_commas ASSIGN expr_no_commas + { char class; + $$ = build_modify_expr ($1, $2, $3); + /* This inhibits warnings in + c_common_truthvalue_conversion. */ + class = TREE_CODE_CLASS (TREE_CODE ($$)); + if (IS_EXPR_CODE_CLASS (class)) + C_SET_EXP_ORIGINAL_CODE ($$, ERROR_MARK); + } + ; + +primary: + IDENTIFIER + { + if (yychar == YYEMPTY) + yychar = YYLEX; + $$ = build_external_ref ($1, yychar == '('); + } + | CONSTANT + | STRING + { $$ = fix_string_type ($$); } + | VAR_FUNC_NAME + { $$ = fname_decl (C_RID_CODE ($$), $$); } + | '(' typename ')' '{' + { start_init (NULL_TREE, NULL, 0); + $2 = groktypename ($2); + really_start_incremental_init ($2); } + initlist_maybe_comma '}' %prec UNARY + { tree constructor = pop_init_level (0); + tree type = $2; + finish_init (); + + if (pedantic && ! flag_isoc99) + pedwarn ("ISO C89 forbids compound literals"); + $$ = build_compound_literal (type, constructor); + } + | '(' expr ')' + { char class = TREE_CODE_CLASS (TREE_CODE ($2)); + if (IS_EXPR_CODE_CLASS (class)) + C_SET_EXP_ORIGINAL_CODE ($2, ERROR_MARK); + $$ = $2; } + | '(' error ')' + { $$ = error_mark_node; } + | compstmt_primary_start compstmt_nostart ')' + { tree saved_last_tree; + + if (pedantic) + pedwarn ("ISO C forbids braced-groups within expressions"); + pop_label_level (); + + saved_last_tree = COMPOUND_BODY ($1); + RECHAIN_STMTS ($1, COMPOUND_BODY ($1)); + last_tree = saved_last_tree; + TREE_CHAIN (last_tree) = NULL_TREE; + if (!last_expr_type) + last_expr_type = void_type_node; + $$ = build1 (STMT_EXPR, last_expr_type, $1); + TREE_SIDE_EFFECTS ($$) = 1; + } + | compstmt_primary_start error ')' + { + pop_label_level (); + last_tree = COMPOUND_BODY ($1); + TREE_CHAIN (last_tree) = NULL_TREE; + $$ = error_mark_node; + } + | primary '(' exprlist ')' %prec '.' + { $$ = build_function_call ($1, $3); } + | VA_ARG '(' expr_no_commas ',' typename ')' + { $$ = build_va_arg ($3, groktypename ($5)); } + + | CHOOSE_EXPR '(' expr_no_commas ',' expr_no_commas ',' expr_no_commas ')' + { + tree c; + + c = fold ($3); + STRIP_NOPS (c); + if (TREE_CODE (c) != INTEGER_CST) + error ("first argument to __builtin_choose_expr not a constant"); + $$ = integer_zerop (c) ? $7 : $5; + } + | TYPES_COMPATIBLE_P '(' typename ',' typename ')' + { + tree e1, e2; + + e1 = TYPE_MAIN_VARIANT (groktypename ($3)); + e2 = TYPE_MAIN_VARIANT (groktypename ($5)); + + $$ = comptypes (e1, e2) + ? build_int_2 (1, 0) : build_int_2 (0, 0); + } + | primary '[' expr ']' %prec '.' + { $$ = build_array_ref ($1, $3); } + | primary '.' identifier + { + $$ = build_component_ref ($1, $3); + } + | primary POINTSAT identifier + { + tree expr = build_indirect_ref ($1, "->"); + + $$ = build_component_ref (expr, $3); + } + | primary PLUSPLUS + { $$ = build_unary_op (POSTINCREMENT_EXPR, $1, 0); } + | primary MINUSMINUS + { $$ = build_unary_op (POSTDECREMENT_EXPR, $1, 0); } + ; + + +old_style_parm_decls: + old_style_parm_decls_1 + { + parsing_iso_function_signature = false; /* Reset after decls. */ + } + ; + +old_style_parm_decls_1: + /* empty */ + { + if (warn_traditional && !in_system_header + && parsing_iso_function_signature) + warning ("traditional C rejects ISO C style function definitions"); + parsing_iso_function_signature = false; /* Reset after warning. */ + } + | datadecls + ; + +/* The following are analogous to lineno_decl, decls and decl + except that they do not allow nested functions. + They are used for old-style parm decls. */ +lineno_datadecl: + save_filename save_lineno datadecl + { } + ; + +datadecls: + lineno_datadecl + | errstmt + | datadecls lineno_datadecl + | lineno_datadecl errstmt + ; + +/* We don't allow prefix attributes here because they cause reduce/reduce + conflicts: we can't know whether we're parsing a function decl with + attribute suffix, or function defn with attribute prefix on first old + style parm. */ +datadecl: + declspecs_ts_nosa setspecs initdecls ';' + { POP_DECLSPEC_STACK; } + | declspecs_nots_nosa setspecs notype_initdecls ';' + { POP_DECLSPEC_STACK; } + | declspecs_ts_nosa ';' + { shadow_tag_warned ($1, 1); + pedwarn ("empty declaration"); } + | declspecs_nots_nosa ';' + { pedwarn ("empty declaration"); } + ; + +/* This combination which saves a lineno before a decl + is the normal thing to use, rather than decl itself. + This is to avoid shift/reduce conflicts in contexts + where statement labels are allowed. */ +lineno_decl: + save_filename save_lineno decl + { } + ; + +/* records the type and storage class specs to use for processing + the declarators that follow. + Maintains a stack of outer-level values of current_declspecs, + for the sake of parm declarations nested in function declarators. */ +setspecs: /* empty */ + { pending_xref_error (); + PUSH_DECLSPEC_STACK; + split_specs_attrs ($0, + ¤t_declspecs, &prefix_attributes); + all_prefix_attributes = prefix_attributes; } + ; + +/* Possibly attributes after a comma, which should reset all_prefix_attributes + to prefix_attributes with these ones chained on the front. */ +maybe_resetattrs: + maybe_attribute + { all_prefix_attributes = chainon ($1, prefix_attributes); } + ; + +decl: + declspecs_ts setspecs initdecls ';' + { POP_DECLSPEC_STACK; } + | declspecs_nots setspecs notype_initdecls ';' + { POP_DECLSPEC_STACK; } + | declspecs_ts setspecs nested_function + { POP_DECLSPEC_STACK; } + | declspecs_nots setspecs notype_nested_function + { POP_DECLSPEC_STACK; } + | declspecs ';' + { shadow_tag ($1); } + | extension decl + { RESTORE_EXT_FLAGS ($1); } + ; + +/* A list of declaration specifiers. These are: + + - Storage class specifiers (scspec), which for GCC currently includes + function specifiers ("inline"). + + - Type specifiers (typespec_*). + + - Type qualifiers (TYPE_QUAL). + + - Attribute specifier lists (attributes). + + These are stored as a TREE_LIST; the head of the list is the last + item in the specifier list. Each entry in the list has either a + TREE_PURPOSE that is an attribute specifier list, or a TREE_VALUE that + is a single other specifier or qualifier; and a TREE_CHAIN that is the + rest of the list. TREE_STATIC is set on the list if something other + than a storage class specifier or attribute has been seen; this is used + to warn for the obsolescent usage of storage class specifiers other than + at the start of the list. (Doing this properly would require function + specifiers to be handled separately from storage class specifiers.) + + The various cases below are classified according to: + + (a) Whether a storage class specifier is included or not; some + places in the grammar disallow storage class specifiers (_sc or _nosc). + + (b) Whether a type specifier has been seen; after a type specifier, + a typedef name is an identifier to redeclare (_ts or _nots). + + (c) Whether the list starts with an attribute; in certain places, + the grammar requires specifiers that don't start with an attribute + (_sa or _nosa). + + (d) Whether the list ends with an attribute (or a specifier such that + any following attribute would have been parsed as part of that specifier); + this avoids shift-reduce conflicts in the parsing of attributes + (_ea or _noea). + + TODO: + + (i) Distinguish between function specifiers and storage class specifiers, + at least for the purpose of warnings about obsolescent usage. + + (ii) Halve the number of productions here by eliminating the _sc/_nosc + distinction and instead checking where required that storage class + specifiers aren't present. */ + +/* Declspecs which contain at least one type specifier or typedef name. + (Just `const' or `volatile' is not enough.) + A typedef'd name following these is taken as a name to be declared. + Declspecs have a non-NULL TREE_VALUE, attributes do not. */ + +declspecs_nosc_nots_nosa_noea: + TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $1, NULL_TREE); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_nosa_noea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_nosa_ea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + ; + +declspecs_nosc_nots_nosa_ea: + declspecs_nosc_nots_nosa_noea attributes + { $$ = tree_cons ($2, NULL_TREE, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + ; + +declspecs_nosc_nots_sa_noea: + declspecs_nosc_nots_sa_noea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_sa_ea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + ; + +declspecs_nosc_nots_sa_ea: + attributes + { $$ = tree_cons ($1, NULL_TREE, NULL_TREE); + TREE_STATIC ($$) = 0; } + | declspecs_nosc_nots_sa_noea attributes + { $$ = tree_cons ($2, NULL_TREE, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + ; + +declspecs_nosc_ts_nosa_noea: + typespec_nonattr + { $$ = tree_cons (NULL_TREE, $1, NULL_TREE); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_nosa_noea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_nosa_ea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_nosa_noea typespec_reserved_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_nosa_ea typespec_reserved_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_nosa_noea typespec_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_nosa_ea typespec_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + ; + +declspecs_nosc_ts_nosa_ea: + typespec_attr + { $$ = tree_cons (NULL_TREE, $1, NULL_TREE); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_nosa_noea attributes + { $$ = tree_cons ($2, NULL_TREE, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_nosc_ts_nosa_noea typespec_reserved_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_nosa_ea typespec_reserved_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_nosa_noea typespec_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_nosa_ea typespec_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + ; + +declspecs_nosc_ts_sa_noea: + declspecs_nosc_ts_sa_noea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_sa_ea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_sa_noea typespec_reserved_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_sa_ea typespec_reserved_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_sa_noea typespec_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_sa_ea typespec_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + ; + +declspecs_nosc_ts_sa_ea: + declspecs_nosc_ts_sa_noea attributes + { $$ = tree_cons ($2, NULL_TREE, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_nosc_ts_sa_noea typespec_reserved_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_sa_ea typespec_reserved_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_sa_noea typespec_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_sa_ea typespec_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + ; + +declspecs_sc_nots_nosa_noea: + scspec + { $$ = tree_cons (NULL_TREE, $1, NULL_TREE); + TREE_STATIC ($$) = 0; } + | declspecs_sc_nots_nosa_noea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_nosa_ea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_nosa_noea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_nosc_nots_nosa_ea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_nots_nosa_noea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_nots_nosa_ea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + ; + +declspecs_sc_nots_nosa_ea: + declspecs_sc_nots_nosa_noea attributes + { $$ = tree_cons ($2, NULL_TREE, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + ; + +declspecs_sc_nots_sa_noea: + declspecs_sc_nots_sa_noea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_sa_ea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_sa_noea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_nosc_nots_sa_ea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_nots_sa_noea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_nots_sa_ea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + ; + +declspecs_sc_nots_sa_ea: + declspecs_sc_nots_sa_noea attributes + { $$ = tree_cons ($2, NULL_TREE, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + ; + +declspecs_sc_ts_nosa_noea: + declspecs_sc_ts_nosa_noea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_ts_nosa_ea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_ts_nosa_noea typespec_reserved_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_ts_nosa_ea typespec_reserved_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_nosa_noea typespec_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_nosa_ea typespec_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_nosa_noea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_nosc_ts_nosa_ea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_ts_nosa_noea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_ts_nosa_ea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + ; + +declspecs_sc_ts_nosa_ea: + declspecs_sc_ts_nosa_noea attributes + { $$ = tree_cons ($2, NULL_TREE, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_ts_nosa_noea typespec_reserved_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_ts_nosa_ea typespec_reserved_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_nosa_noea typespec_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_nosa_ea typespec_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + ; + +declspecs_sc_ts_sa_noea: + declspecs_sc_ts_sa_noea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_ts_sa_ea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_ts_sa_noea typespec_reserved_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_ts_sa_ea typespec_reserved_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_sa_noea typespec_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_sa_ea typespec_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_sa_noea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_nosc_ts_sa_ea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_ts_sa_noea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_ts_sa_ea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + ; + +declspecs_sc_ts_sa_ea: + declspecs_sc_ts_sa_noea attributes + { $$ = tree_cons ($2, NULL_TREE, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_ts_sa_noea typespec_reserved_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_ts_sa_ea typespec_reserved_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_sa_noea typespec_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_sa_ea typespec_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + ; + +/* Particular useful classes of declspecs. */ +declspecs_ts: + declspecs_nosc_ts_nosa_noea + | declspecs_nosc_ts_nosa_ea + | declspecs_nosc_ts_sa_noea + | declspecs_nosc_ts_sa_ea + | declspecs_sc_ts_nosa_noea + | declspecs_sc_ts_nosa_ea + | declspecs_sc_ts_sa_noea + | declspecs_sc_ts_sa_ea + ; + +declspecs_nots: + declspecs_nosc_nots_nosa_noea + | declspecs_nosc_nots_nosa_ea + | declspecs_nosc_nots_sa_noea + | declspecs_nosc_nots_sa_ea + | declspecs_sc_nots_nosa_noea + | declspecs_sc_nots_nosa_ea + | declspecs_sc_nots_sa_noea + | declspecs_sc_nots_sa_ea + ; + +declspecs_ts_nosa: + declspecs_nosc_ts_nosa_noea + | declspecs_nosc_ts_nosa_ea + | declspecs_sc_ts_nosa_noea + | declspecs_sc_ts_nosa_ea + ; + +declspecs_nots_nosa: + declspecs_nosc_nots_nosa_noea + | declspecs_nosc_nots_nosa_ea + | declspecs_sc_nots_nosa_noea + | declspecs_sc_nots_nosa_ea + ; + +declspecs_nosc_ts: + declspecs_nosc_ts_nosa_noea + | declspecs_nosc_ts_nosa_ea + | declspecs_nosc_ts_sa_noea + | declspecs_nosc_ts_sa_ea + ; + +declspecs_nosc_nots: + declspecs_nosc_nots_nosa_noea + | declspecs_nosc_nots_nosa_ea + | declspecs_nosc_nots_sa_noea + | declspecs_nosc_nots_sa_ea + ; + +declspecs_nosc: + declspecs_nosc_ts_nosa_noea + | declspecs_nosc_ts_nosa_ea + | declspecs_nosc_ts_sa_noea + | declspecs_nosc_ts_sa_ea + | declspecs_nosc_nots_nosa_noea + | declspecs_nosc_nots_nosa_ea + | declspecs_nosc_nots_sa_noea + | declspecs_nosc_nots_sa_ea + ; + +declspecs: + declspecs_nosc_nots_nosa_noea + | declspecs_nosc_nots_nosa_ea + | declspecs_nosc_nots_sa_noea + | declspecs_nosc_nots_sa_ea + | declspecs_nosc_ts_nosa_noea + | declspecs_nosc_ts_nosa_ea + | declspecs_nosc_ts_sa_noea + | declspecs_nosc_ts_sa_ea + | declspecs_sc_nots_nosa_noea + | declspecs_sc_nots_nosa_ea + | declspecs_sc_nots_sa_noea + | declspecs_sc_nots_sa_ea + | declspecs_sc_ts_nosa_noea + | declspecs_sc_ts_nosa_ea + | declspecs_sc_ts_sa_noea + | declspecs_sc_ts_sa_ea + ; + +/* A (possibly empty) sequence of type qualifiers and attributes. */ +maybe_type_quals_attrs: + /* empty */ + { $$ = NULL_TREE; } + | declspecs_nosc_nots + { $$ = $1; } + ; + +/* A type specifier (but not a type qualifier). + Once we have seen one of these in a declaration, + if a typedef name appears then it is being redeclared. + + The _reserved versions start with a reserved word and may appear anywhere + in the declaration specifiers; the _nonreserved versions may only + appear before any other type specifiers, and after that are (if names) + being redeclared. + + FIXME: should the _nonreserved version be restricted to names being + redeclared only? The other entries there relate only the GNU extensions + and Objective C, and are historically parsed thus, and don't make sense + after other type specifiers, but it might be cleaner to count them as + _reserved. + + _attr means: specifiers that either end with attributes, + or are such that any following attributes would + be parsed as part of the specifier. + + _nonattr: specifiers. */ + +typespec_nonattr: + typespec_reserved_nonattr + | typespec_nonreserved_nonattr + ; + +typespec_attr: + typespec_reserved_attr + ; + +typespec_reserved_nonattr: + TYPESPEC + { OBJC_NEED_RAW_IDENTIFIER (1); } + | structsp_nonattr + ; + +typespec_reserved_attr: + structsp_attr + ; + +typespec_nonreserved_nonattr: + TYPENAME + { /* For a typedef name, record the meaning, not the name. + In case of `foo foo, bar;'. */ + $$ = lookup_name ($1); } + | typeof '(' expr ')' + { skip_evaluation--; $$ = TREE_TYPE ($3); } + | typeof '(' typename ')' + { skip_evaluation--; $$ = groktypename ($3); } + ; + +/* typespec_nonreserved_attr does not exist. */ + +initdecls: + initdcl + | initdecls ',' maybe_resetattrs initdcl + ; + +notype_initdecls: + notype_initdcl + | notype_initdecls ',' maybe_resetattrs notype_initdcl + ; + +maybeasm: + /* empty */ + { $$ = NULL_TREE; } + | ASM_KEYWORD '(' STRING ')' + { $$ = $3; } + ; + +initdcl: + declarator maybeasm maybe_attribute '=' + { $$ = start_decl ($1, current_declspecs, 1, + chainon ($3, all_prefix_attributes)); + start_init ($$, $2, global_bindings_p ()); } + init +/* Note how the declaration of the variable is in effect while its init is parsed! */ + { finish_init (); + finish_decl ($5, $6, $2); } + | declarator maybeasm maybe_attribute + { tree d = start_decl ($1, current_declspecs, 0, + chainon ($3, all_prefix_attributes)); + finish_decl (d, NULL_TREE, $2); + } + ; + +notype_initdcl: + notype_declarator maybeasm maybe_attribute '=' + { $$ = start_decl ($1, current_declspecs, 1, + chainon ($3, all_prefix_attributes)); + start_init ($$, $2, global_bindings_p ()); } + init +/* Note how the declaration of the variable is in effect while its init is parsed! */ + { finish_init (); + finish_decl ($5, $6, $2); } + | notype_declarator maybeasm maybe_attribute + { tree d = start_decl ($1, current_declspecs, 0, + chainon ($3, all_prefix_attributes)); + finish_decl (d, NULL_TREE, $2); } + ; +/* the * rules are dummies to accept the Apollo extended syntax + so that the header files compile. */ +maybe_attribute: + /* empty */ + { $$ = NULL_TREE; } + | attributes + { $$ = $1; } + ; + +attributes: + attribute + { $$ = $1; } + | attributes attribute + { $$ = chainon ($1, $2); } + ; + +attribute: + ATTRIBUTE '(' '(' attribute_list ')' ')' + { $$ = $4; } + ; + +attribute_list: + attrib + { $$ = $1; } + | attribute_list ',' attrib + { $$ = chainon ($1, $3); } + ; + +attrib: + /* empty */ + { $$ = NULL_TREE; } + | any_word + { $$ = build_tree_list ($1, NULL_TREE); } + | any_word '(' IDENTIFIER ')' + { $$ = build_tree_list ($1, build_tree_list (NULL_TREE, $3)); } + | any_word '(' IDENTIFIER ',' nonnull_exprlist ')' + { $$ = build_tree_list ($1, tree_cons (NULL_TREE, $3, $5)); } + | any_word '(' exprlist ')' + { $$ = build_tree_list ($1, $3); } + ; + +/* This still leaves out most reserved keywords, + shouldn't we include them? */ + +any_word: + identifier + | scspec + | TYPESPEC + | TYPE_QUAL + ; + +scspec: + STATIC + | SCSPEC + ; + +/* Initializers. `init' is the entry point. */ + +init: + expr_no_commas + | '{' + { really_start_incremental_init (NULL_TREE); } + initlist_maybe_comma '}' + { $$ = pop_init_level (0); } + | error + { $$ = error_mark_node; } + ; + +/* `initlist_maybe_comma' is the guts of an initializer in braces. */ +initlist_maybe_comma: + /* empty */ + { if (pedantic) + pedwarn ("ISO C forbids empty initializer braces"); } + | initlist1 maybecomma + ; + +initlist1: + initelt + | initlist1 ',' initelt + ; + +/* `initelt' is a single element of an initializer. + It may use braces. */ +initelt: + designator_list '=' initval + { if (pedantic && ! flag_isoc99) + pedwarn ("ISO C89 forbids specifying subobject to initialize"); } + | designator initval + { if (pedantic) + pedwarn ("obsolete use of designated initializer without `='"); } + | identifier ':' + { set_init_label ($1); + if (pedantic) + pedwarn ("obsolete use of designated initializer with `:'"); } + initval + {} + | initval + ; + +initval: + '{' + { push_init_level (0); } + initlist_maybe_comma '}' + { process_init_element (pop_init_level (0)); } + | expr_no_commas + { process_init_element ($1); } + | error + ; + +designator_list: + designator + | designator_list designator + ; + +designator: + '.' identifier + { set_init_label ($2); } + | '[' expr_no_commas ELLIPSIS expr_no_commas ']' + { set_init_index ($2, $4); + if (pedantic) + pedwarn ("ISO C forbids specifying range of elements to initialize"); } + | '[' expr_no_commas ']' + { set_init_index ($2, NULL_TREE); } + ; + +nested_function: + declarator + { if (pedantic) + pedwarn ("ISO C forbids nested functions"); + + push_function_context (); + if (! start_function (current_declspecs, $1, + all_prefix_attributes)) + { + pop_function_context (); + YYERROR1; + } + parsing_iso_function_signature = false; /* Don't warn about nested functions. */ + } + old_style_parm_decls + { store_parm_decls (); } +/* This used to use compstmt_or_error. + That caused a bug with input `f(g) int g {}', + where the use of YYERROR1 above caused an error + which then was handled by compstmt_or_error. + There followed a repeated execution of that same rule, + which called YYERROR1 again, and so on. */ + save_filename save_lineno compstmt + { tree decl = current_function_decl; + DECL_SOURCE_FILE (decl) = $5; + DECL_SOURCE_LINE (decl) = $6; + finish_function (1, 1); + pop_function_context (); + add_decl_stmt (decl); } + ; + +notype_nested_function: + notype_declarator + { if (pedantic) + pedwarn ("ISO C forbids nested functions"); + + push_function_context (); + if (! start_function (current_declspecs, $1, + all_prefix_attributes)) + { + pop_function_context (); + YYERROR1; + } + parsing_iso_function_signature = false; /* Don't warn about nested functions. */ + } + old_style_parm_decls + { store_parm_decls (); } +/* This used to use compstmt_or_error. + That caused a bug with input `f(g) int g {}', + where the use of YYERROR1 above caused an error + which then was handled by compstmt_or_error. + There followed a repeated execution of that same rule, + which called YYERROR1 again, and so on. */ + save_filename save_lineno compstmt + { tree decl = current_function_decl; + DECL_SOURCE_FILE (decl) = $5; + DECL_SOURCE_LINE (decl) = $6; + finish_function (1, 1); + pop_function_context (); + add_decl_stmt (decl); } + ; + +/* Any kind of declarator (thus, all declarators allowed + after an explicit typespec). */ + +declarator: + after_type_declarator + | notype_declarator + ; + +/* A declarator that is allowed only after an explicit typespec. */ + +after_type_declarator: + '(' maybe_attribute after_type_declarator ')' + { $$ = $2 ? tree_cons ($2, $3, NULL_TREE) : $3; } + | after_type_declarator '(' parmlist_or_identifiers %prec '.' + { $$ = build_nt (CALL_EXPR, $1, $3, NULL_TREE); } +/* | after_type_declarator '(' error ')' %prec '.' + { $$ = build_nt (CALL_EXPR, $1, NULL_TREE, NULL_TREE); + poplevel (0, 0, 0); } */ + | after_type_declarator array_declarator %prec '.' + { $$ = set_array_declarator_type ($2, $1, 0); } + | '*' maybe_type_quals_attrs after_type_declarator %prec UNARY + { $$ = make_pointer_declarator ($2, $3); } + | TYPENAME + ; + +/* Kinds of declarator that can appear in a parameter list + in addition to notype_declarator. This is like after_type_declarator + but does not allow a typedef name in parentheses as an identifier + (because it would conflict with a function with that typedef as arg). */ +parm_declarator: + parm_declarator_starttypename + | parm_declarator_nostarttypename + ; + +parm_declarator_starttypename: + parm_declarator_starttypename '(' parmlist_or_identifiers %prec '.' + { $$ = build_nt (CALL_EXPR, $1, $3, NULL_TREE); } +/* | parm_declarator_starttypename '(' error ')' %prec '.' + { $$ = build_nt (CALL_EXPR, $1, NULL_TREE, NULL_TREE); + poplevel (0, 0, 0); } */ + | parm_declarator_starttypename array_declarator %prec '.' + { $$ = set_array_declarator_type ($2, $1, 0); } + | TYPENAME + ; + +parm_declarator_nostarttypename: + parm_declarator_nostarttypename '(' parmlist_or_identifiers %prec '.' + { $$ = build_nt (CALL_EXPR, $1, $3, NULL_TREE); } +/* | parm_declarator_nostarttypename '(' error ')' %prec '.' + { $$ = build_nt (CALL_EXPR, $1, NULL_TREE, NULL_TREE); + poplevel (0, 0, 0); } */ + | parm_declarator_nostarttypename array_declarator %prec '.' + { $$ = set_array_declarator_type ($2, $1, 0); } + | '*' maybe_type_quals_attrs parm_declarator_starttypename %prec UNARY + { $$ = make_pointer_declarator ($2, $3); } + | '*' maybe_type_quals_attrs parm_declarator_nostarttypename %prec UNARY + { $$ = make_pointer_declarator ($2, $3); } + | '(' maybe_attribute parm_declarator_nostarttypename ')' + { $$ = $2 ? tree_cons ($2, $3, NULL_TREE) : $3; } + ; + +/* A declarator allowed whether or not there has been + an explicit typespec. These cannot redeclare a typedef-name. */ + +notype_declarator: + notype_declarator '(' parmlist_or_identifiers %prec '.' + { $$ = build_nt (CALL_EXPR, $1, $3, NULL_TREE); } +/* | notype_declarator '(' error ')' %prec '.' + { $$ = build_nt (CALL_EXPR, $1, NULL_TREE, NULL_TREE); + poplevel (0, 0, 0); } */ + | '(' maybe_attribute notype_declarator ')' + { $$ = $2 ? tree_cons ($2, $3, NULL_TREE) : $3; } + | '*' maybe_type_quals_attrs notype_declarator %prec UNARY + { $$ = make_pointer_declarator ($2, $3); } + | notype_declarator array_declarator %prec '.' + { $$ = set_array_declarator_type ($2, $1, 0); } + | IDENTIFIER + ; + +struct_head: + STRUCT + { $$ = NULL_TREE; } + | STRUCT attributes + { $$ = $2; } + ; + +union_head: + UNION + { $$ = NULL_TREE; } + | UNION attributes + { $$ = $2; } + ; + +enum_head: + ENUM + { $$ = NULL_TREE; } + | ENUM attributes + { $$ = $2; } + ; + +/* structsp_attr: struct/union/enum specifiers that either + end with attributes, or are such that any following attributes would + be parsed as part of the struct/union/enum specifier. + + structsp_nonattr: other struct/union/enum specifiers. */ + +structsp_attr: + struct_head identifier '{' + { $$ = start_struct (RECORD_TYPE, $2); + /* Start scope of tag before parsing components. */ + } + component_decl_list '}' maybe_attribute + { $$ = finish_struct ($4, $5, chainon ($1, $7)); } + | struct_head '{' component_decl_list '}' maybe_attribute + { $$ = finish_struct (start_struct (RECORD_TYPE, NULL_TREE), + $3, chainon ($1, $5)); + } + | union_head identifier '{' + { $$ = start_struct (UNION_TYPE, $2); } + component_decl_list '}' maybe_attribute + { $$ = finish_struct ($4, $5, chainon ($1, $7)); } + | union_head '{' component_decl_list '}' maybe_attribute + { $$ = finish_struct (start_struct (UNION_TYPE, NULL_TREE), + $3, chainon ($1, $5)); + } + | enum_head identifier '{' + { $$ = start_enum ($2); } + enumlist maybecomma_warn '}' maybe_attribute + { $$ = finish_enum ($4, nreverse ($5), + chainon ($1, $8)); } + | enum_head '{' + { $$ = start_enum (NULL_TREE); } + enumlist maybecomma_warn '}' maybe_attribute + { $$ = finish_enum ($3, nreverse ($4), + chainon ($1, $7)); } + ; + +structsp_nonattr: + struct_head identifier + { $$ = xref_tag (RECORD_TYPE, $2); } + | union_head identifier + { $$ = xref_tag (UNION_TYPE, $2); } + | enum_head identifier + { $$ = xref_tag (ENUMERAL_TYPE, $2); + /* In ISO C, enumerated types can be referred to + only if already defined. */ + if (pedantic && !COMPLETE_TYPE_P ($$)) + pedwarn ("ISO C forbids forward references to `enum' types"); } + ; + +maybecomma: + /* empty */ + | ',' + ; + +maybecomma_warn: + /* empty */ + | ',' + { if (pedantic && ! flag_isoc99) + pedwarn ("comma at end of enumerator list"); } + ; + +component_decl_list: + component_decl_list2 + { $$ = $1; } + | component_decl_list2 component_decl + { $$ = chainon ($1, $2); + pedwarn ("no semicolon at end of struct or union"); } + ; + +component_decl_list2: /* empty */ + { $$ = NULL_TREE; } + | component_decl_list2 component_decl ';' + { $$ = chainon ($1, $2); } + | component_decl_list2 ';' + { if (pedantic) + pedwarn ("extra semicolon in struct or union specified"); } + ; + +component_decl: + declspecs_nosc_ts setspecs components + { $$ = $3; + POP_DECLSPEC_STACK; } + | declspecs_nosc_ts setspecs save_filename save_lineno + { + /* Support for unnamed structs or unions as members of + structs or unions (which is [a] useful and [b] supports + MS P-SDK). */ + if (pedantic) + pedwarn ("ISO C doesn't support unnamed structs/unions"); + + $$ = grokfield($3, $4, NULL, current_declspecs, NULL_TREE); + POP_DECLSPEC_STACK; } + | declspecs_nosc_nots setspecs components_notype + { $$ = $3; + POP_DECLSPEC_STACK; } + | declspecs_nosc_nots + { if (pedantic) + pedwarn ("ISO C forbids member declarations with no members"); + shadow_tag($1); + $$ = NULL_TREE; } + | error + { $$ = NULL_TREE; } + | extension component_decl + { $$ = $2; + RESTORE_EXT_FLAGS ($1); } + ; + +components: + component_declarator + | components ',' maybe_resetattrs component_declarator + { $$ = chainon ($1, $4); } + ; + +components_notype: + component_notype_declarator + | components_notype ',' maybe_resetattrs component_notype_declarator + { $$ = chainon ($1, $4); } + ; + +component_declarator: + save_filename save_lineno declarator maybe_attribute + { $$ = grokfield ($1, $2, $3, current_declspecs, NULL_TREE); + decl_attributes (&$$, chainon ($4, all_prefix_attributes), 0); } + | save_filename save_lineno + declarator ':' expr_no_commas maybe_attribute + { $$ = grokfield ($1, $2, $3, current_declspecs, $5); + decl_attributes (&$$, chainon ($6, all_prefix_attributes), 0); } + | save_filename save_lineno ':' expr_no_commas maybe_attribute + { $$ = grokfield ($1, $2, NULL_TREE, current_declspecs, $4); + decl_attributes (&$$, chainon ($5, all_prefix_attributes), 0); } + ; + +component_notype_declarator: + save_filename save_lineno notype_declarator maybe_attribute + { $$ = grokfield ($1, $2, $3, current_declspecs, NULL_TREE); + decl_attributes (&$$, chainon ($4, all_prefix_attributes), 0); } + | save_filename save_lineno + notype_declarator ':' expr_no_commas maybe_attribute + { $$ = grokfield ($1, $2, $3, current_declspecs, $5); + decl_attributes (&$$, chainon ($6, all_prefix_attributes), 0); } + | save_filename save_lineno ':' expr_no_commas maybe_attribute + { $$ = grokfield ($1, $2, NULL_TREE, current_declspecs, $4); + decl_attributes (&$$, chainon ($5, all_prefix_attributes), 0); } + ; + +/* We chain the enumerators in reverse order. + They are put in forward order where enumlist is used. + (The order used to be significant, but no longer is so. + However, we still maintain the order, just to be clean.) */ + +enumlist: + enumerator + | enumlist ',' enumerator + { if ($1 == error_mark_node) + $$ = $1; + else + $$ = chainon ($3, $1); } + | error + { $$ = error_mark_node; } + ; + + +enumerator: + identifier + { $$ = build_enumerator ($1, NULL_TREE); } + | identifier '=' expr_no_commas + { $$ = build_enumerator ($1, $3); } + ; + +typename: + declspecs_nosc + { pending_xref_error (); + $$ = $1; } + absdcl + { $$ = build_tree_list ($2, $3); } + ; + +absdcl: /* an absolute declarator */ + /* empty */ + { $$ = NULL_TREE; } + | absdcl1 + ; + +absdcl_maybe_attribute: /* absdcl maybe_attribute, but not just attributes */ + /* empty */ + { $$ = build_tree_list (build_tree_list (current_declspecs, + NULL_TREE), + all_prefix_attributes); } + | absdcl1 + { $$ = build_tree_list (build_tree_list (current_declspecs, + $1), + all_prefix_attributes); } + | absdcl1_noea attributes + { $$ = build_tree_list (build_tree_list (current_declspecs, + $1), + chainon ($2, all_prefix_attributes)); } + ; + +absdcl1: /* a nonempty absolute declarator */ + absdcl1_ea + | absdcl1_noea + ; + +absdcl1_noea: + direct_absdcl1 + | '*' maybe_type_quals_attrs absdcl1_noea + { $$ = make_pointer_declarator ($2, $3); } + ; + +absdcl1_ea: + '*' maybe_type_quals_attrs + { $$ = make_pointer_declarator ($2, NULL_TREE); } + | '*' maybe_type_quals_attrs absdcl1_ea + { $$ = make_pointer_declarator ($2, $3); } + ; + +direct_absdcl1: + '(' maybe_attribute absdcl1 ')' + { $$ = $2 ? tree_cons ($2, $3, NULL_TREE) : $3; } + | direct_absdcl1 '(' parmlist + { $$ = build_nt (CALL_EXPR, $1, $3, NULL_TREE); } + | direct_absdcl1 array_declarator + { $$ = set_array_declarator_type ($2, $1, 1); } + | '(' parmlist + { $$ = build_nt (CALL_EXPR, NULL_TREE, $2, NULL_TREE); } + | array_declarator + { $$ = set_array_declarator_type ($1, NULL_TREE, 1); } + ; + +/* The [...] part of a declarator for an array type. */ + +array_declarator: + '[' maybe_type_quals_attrs expr ']' + { $$ = build_array_declarator ($3, $2, 0, 0); } + | '[' maybe_type_quals_attrs ']' + { $$ = build_array_declarator (NULL_TREE, $2, 0, 0); } + | '[' maybe_type_quals_attrs '*' ']' + { $$ = build_array_declarator (NULL_TREE, $2, 0, 1); } + | '[' STATIC maybe_type_quals_attrs expr ']' + { $$ = build_array_declarator ($4, $3, 1, 0); } + /* declspecs_nosc_nots is a synonym for type_quals_attrs. */ + | '[' declspecs_nosc_nots STATIC expr ']' + { $$ = build_array_declarator ($4, $2, 1, 0); } + ; + +/* A nonempty series of declarations and statements (possibly followed by + some labels) that can form the body of a compound statement. + NOTE: we don't allow labels on declarations; this might seem like a + natural extension, but there would be a conflict between attributes + on the label and prefix attributes on the declaration. */ + +stmts_and_decls: + lineno_stmt_decl_or_labels_ending_stmt + | lineno_stmt_decl_or_labels_ending_decl + | lineno_stmt_decl_or_labels_ending_label + { + pedwarn ("deprecated use of label at end of compound statement"); + } + | lineno_stmt_decl_or_labels_ending_error + ; + +lineno_stmt_decl_or_labels_ending_stmt: + lineno_stmt + | lineno_stmt_decl_or_labels_ending_stmt lineno_stmt + | lineno_stmt_decl_or_labels_ending_decl lineno_stmt + | lineno_stmt_decl_or_labels_ending_label lineno_stmt + | lineno_stmt_decl_or_labels_ending_error lineno_stmt + ; + +lineno_stmt_decl_or_labels_ending_decl: + lineno_decl + | lineno_stmt_decl_or_labels_ending_stmt lineno_decl + { if (pedantic && !flag_isoc99) + pedwarn ("ISO C89 forbids mixed declarations and code"); } + | lineno_stmt_decl_or_labels_ending_decl lineno_decl + | lineno_stmt_decl_or_labels_ending_error lineno_decl + ; + +lineno_stmt_decl_or_labels_ending_label: + lineno_label + | lineno_stmt_decl_or_labels_ending_stmt lineno_label + | lineno_stmt_decl_or_labels_ending_decl lineno_label + | lineno_stmt_decl_or_labels_ending_label lineno_label + | lineno_stmt_decl_or_labels_ending_error lineno_label + ; + +lineno_stmt_decl_or_labels_ending_error: + errstmt + | lineno_stmt_decl_or_labels errstmt + ; + +lineno_stmt_decl_or_labels: + lineno_stmt_decl_or_labels_ending_stmt + | lineno_stmt_decl_or_labels_ending_decl + | lineno_stmt_decl_or_labels_ending_label + | lineno_stmt_decl_or_labels_ending_error + ; + +errstmt: error ';' + ; + +pushlevel: /* empty */ + { pushlevel (0); + clear_last_expr (); + add_scope_stmt (/*begin_p=*/1, /*partial_p=*/0); + } + ; + +poplevel: /* empty */ + { $$ = add_scope_stmt (/*begin_p=*/0, /*partial_p=*/0); } + ; + +/* Start and end blocks created for the new scopes of C99. */ +c99_block_start: /* empty */ + { if (flag_isoc99) + { + $$ = c_begin_compound_stmt (); + pushlevel (0); + clear_last_expr (); + add_scope_stmt (/*begin_p=*/1, /*partial_p=*/0); + } + else + $$ = NULL_TREE; + } + ; + +/* Productions using c99_block_start and c99_block_end will need to do what's + in compstmt: RECHAIN_STMTS ($1, COMPOUND_BODY ($1)); $$ = $2; where + $1 is the value of c99_block_start and $2 of c99_block_end. */ +c99_block_end: /* empty */ + { if (flag_isoc99) + { + tree scope_stmt = add_scope_stmt (/*begin_p=*/0, /*partial_p=*/0); + $$ = poplevel (kept_level_p (), 0, 0); + SCOPE_STMT_BLOCK (TREE_PURPOSE (scope_stmt)) + = SCOPE_STMT_BLOCK (TREE_VALUE (scope_stmt)) + = $$; + } + else + $$ = NULL_TREE; } + ; + +/* Read zero or more forward-declarations for labels + that nested functions can jump to. */ +maybe_label_decls: + /* empty */ + | label_decls + { if (pedantic) + pedwarn ("ISO C forbids label declarations"); } + ; + +label_decls: + label_decl + | label_decls label_decl + ; + +label_decl: + LABEL identifiers_or_typenames ';' + { tree link; + for (link = $2; link; link = TREE_CHAIN (link)) + { + tree label = shadow_label (TREE_VALUE (link)); + C_DECLARED_LABEL_FLAG (label) = 1; + add_decl_stmt (label); + } + } + ; + +/* This is the body of a function definition. + It causes syntax errors to ignore to the next openbrace. */ +compstmt_or_error: + compstmt + {} + | error compstmt + ; + +compstmt_start: '{' { compstmt_count++; + $$ = c_begin_compound_stmt (); } + ; + +compstmt_nostart: '}' + { $$ = convert (void_type_node, integer_zero_node); } + | pushlevel maybe_label_decls compstmt_contents_nonempty '}' poplevel + { $$ = poplevel (kept_level_p (), 1, 0); + SCOPE_STMT_BLOCK (TREE_PURPOSE ($5)) + = SCOPE_STMT_BLOCK (TREE_VALUE ($5)) + = $$; } + ; + +compstmt_contents_nonempty: + stmts_and_decls + | error + ; + +compstmt_primary_start: + '(' '{' + { if (current_function_decl == 0) + { + error ("braced-group within expression allowed only inside a function"); + YYERROR; + } + /* We must force a BLOCK for this level + so that, if it is not expanded later, + there is a way to turn off the entire subtree of blocks + that are contained in it. */ + keep_next_level (); + push_label_level (); + compstmt_count++; + $$ = add_stmt (build_stmt (COMPOUND_STMT, last_tree)); + } + ; + +compstmt: compstmt_start compstmt_nostart + { RECHAIN_STMTS ($1, COMPOUND_BODY ($1)); + last_expr_type = NULL_TREE; + $$ = $1; } + ; + +/* Value is number of statements counted as of the closeparen. */ +simple_if: + if_prefix c99_block_lineno_labeled_stmt + { c_finish_then (); } +/* Make sure c_expand_end_cond is run once + for each call to c_expand_start_cond. + Otherwise a crash is likely. */ + | if_prefix error + ; + +if_prefix: + /* We must build the IF_STMT node before parsing its + condition so that STMT_LINENO refers to the line + containing the "if", and not the line containing + the close-parenthesis. + + c_begin_if_stmt returns the IF_STMT node, which + we later pass to c_expand_start_cond to fill + in the condition and other tidbits. */ + IF + { $$ = c_begin_if_stmt (); } + '(' expr ')' + { c_expand_start_cond (c_common_truthvalue_conversion ($4), + compstmt_count,$2); + $$ = stmt_count; + if_stmt_file = $-2; + if_stmt_line = $-1; } + ; + +/* This is a subroutine of stmt. + It is used twice, once for valid DO statements + and once for catching errors in parsing the end test. */ +do_stmt_start: + DO + { stmt_count++; + compstmt_count++; + $$ + = add_stmt (build_stmt (DO_STMT, NULL_TREE, + NULL_TREE)); + /* In the event that a parse error prevents + parsing the complete do-statement, set the + condition now. Otherwise, we can get crashes at + RTL-generation time. */ + DO_COND ($$) = error_mark_node; } + c99_block_lineno_labeled_stmt WHILE + { $$ = $2; + RECHAIN_STMTS ($$, DO_BODY ($$)); } + ; + +/* The forced readahead in here is because we might be at the end of a + line, and the line and file won't be bumped until yylex absorbs the + first token on the next line. */ +save_filename: + { if (yychar == YYEMPTY) + yychar = YYLEX; + $$ = input_filename; } + ; + +save_lineno: + { if (yychar == YYEMPTY) + yychar = YYLEX; + $$ = lineno; } + ; + +lineno_labeled_stmt: + lineno_stmt + | lineno_label lineno_labeled_stmt + ; + +/* Like lineno_labeled_stmt, but a block in C99. */ +c99_block_lineno_labeled_stmt: + c99_block_start lineno_labeled_stmt c99_block_end + { if (flag_isoc99) + RECHAIN_STMTS ($1, COMPOUND_BODY ($1)); } + ; + +lineno_stmt: + save_filename save_lineno stmt + { if ($3) + { + STMT_LINENO ($3) = $2; + /* ??? We currently have no way of recording + the filename for a statement. This probably + matters little in practice at the moment, + but I suspect that problems will occur when + doing inlining at the tree level. */ + } + } + ; + +lineno_label: + save_filename save_lineno label + { if ($3) + { + STMT_LINENO ($3) = $2; + } + } + ; + +select_or_iter_stmt: + simple_if ELSE + { c_expand_start_else (); + $1 = stmt_count; } + c99_block_lineno_labeled_stmt + { c_finish_else (); + c_expand_end_cond (); + if (extra_warnings && stmt_count == $1) + warning ("empty body in an else-statement"); } + | simple_if %prec IF + { c_expand_end_cond (); + /* This warning is here instead of in simple_if, because we + do not want a warning if an empty if is followed by an + else statement. Increment stmt_count so we don't + give a second error if this is a nested `if'. */ + if (extra_warnings && stmt_count++ == $1) + warning_with_file_and_line (if_stmt_file, if_stmt_line, + "empty body in an if-statement"); } +/* Make sure c_expand_end_cond is run once + for each call to c_expand_start_cond. + Otherwise a crash is likely. */ + | simple_if ELSE error + { c_expand_end_cond (); } + /* We must build the WHILE_STMT node before parsing its + condition so that STMT_LINENO refers to the line + containing the "while", and not the line containing + the close-parenthesis. + + c_begin_while_stmt returns the WHILE_STMT node, which + we later pass to c_finish_while_stmt_cond to fill + in the condition and other tidbits. */ + | WHILE + { stmt_count++; + $$ = c_begin_while_stmt (); } + '(' expr ')' + { $4 = c_common_truthvalue_conversion ($4); + c_finish_while_stmt_cond + (c_common_truthvalue_conversion ($4), $2); + $$ = add_stmt ($2); } + c99_block_lineno_labeled_stmt + { RECHAIN_STMTS ($6, WHILE_BODY ($6)); } + | do_stmt_start + '(' expr ')' ';' + { DO_COND ($1) = c_common_truthvalue_conversion ($3); } + | do_stmt_start error + { } + | FOR + { $$ = build_stmt (FOR_STMT, NULL_TREE, NULL_TREE, + NULL_TREE, NULL_TREE); + add_stmt ($$); } + '(' for_init_stmt + { stmt_count++; + RECHAIN_STMTS ($2, FOR_INIT_STMT ($2)); } + xexpr ';' + { if ($6) + FOR_COND ($2) + = c_common_truthvalue_conversion ($6); } + xexpr ')' + { FOR_EXPR ($2) = $9; } + c99_block_lineno_labeled_stmt + { RECHAIN_STMTS ($2, FOR_BODY ($2)); } + | SWITCH '(' expr ')' + { stmt_count++; + $$ = c_start_case ($3); } + c99_block_lineno_labeled_stmt + { c_finish_case (); } + ; + +for_init_stmt: + xexpr ';' + { add_stmt (build_stmt (EXPR_STMT, $1)); } + | decl + { check_for_loop_decls (); } + ; + +/* Parse a single real statement, not including any labels. */ +stmt: + compstmt + { stmt_count++; $$ = $1; } + | expr ';' + { stmt_count++; + $$ = c_expand_expr_stmt ($1); } + | c99_block_start select_or_iter_stmt c99_block_end + { if (flag_isoc99) + RECHAIN_STMTS ($1, COMPOUND_BODY ($1)); + $$ = NULL_TREE; } + | BREAK ';' + { stmt_count++; + $$ = add_stmt (build_break_stmt ()); } + | CONTINUE ';' + { stmt_count++; + $$ = add_stmt (build_continue_stmt ()); } + | RETURN ';' + { stmt_count++; + $$ = c_expand_return (NULL_TREE); } + | RETURN expr ';' + { stmt_count++; + $$ = c_expand_return ($2); } + | ASM_KEYWORD maybe_type_qual '(' expr ')' ';' + { stmt_count++; + $$ = simple_asm_stmt ($4); } + /* This is the case with just output operands. */ + | ASM_KEYWORD maybe_type_qual '(' expr ':' asm_operands ')' ';' + { stmt_count++; + $$ = build_asm_stmt ($2, $4, $6, NULL_TREE, NULL_TREE); } + /* This is the case with input operands as well. */ + | ASM_KEYWORD maybe_type_qual '(' expr ':' asm_operands ':' + asm_operands ')' ';' + { stmt_count++; + $$ = build_asm_stmt ($2, $4, $6, $8, NULL_TREE); } + /* This is the case with clobbered registers as well. */ + | ASM_KEYWORD maybe_type_qual '(' expr ':' asm_operands ':' + asm_operands ':' asm_clobbers ')' ';' + { stmt_count++; + $$ = build_asm_stmt ($2, $4, $6, $8, $10); } + | GOTO identifier ';' + { tree decl; + stmt_count++; + decl = lookup_label ($2); + if (decl != 0) + { + TREE_USED (decl) = 1; + $$ = add_stmt (build_stmt (GOTO_STMT, decl)); + } + else + $$ = NULL_TREE; + } + | GOTO '*' expr ';' + { if (pedantic) + pedwarn ("ISO C forbids `goto *expr;'"); + stmt_count++; + $3 = convert (ptr_type_node, $3); + $$ = add_stmt (build_stmt (GOTO_STMT, $3)); } + | ';' + { $$ = NULL_TREE; } + ; + +/* Any kind of label, including jump labels and case labels. + ANSI C accepts labels only before statements, but we allow them + also at the end of a compound statement. */ + +label: CASE expr_no_commas ':' + { stmt_count++; + $$ = do_case ($2, NULL_TREE); } + | CASE expr_no_commas ELLIPSIS expr_no_commas ':' + { stmt_count++; + $$ = do_case ($2, $4); } + | DEFAULT ':' + { stmt_count++; + $$ = do_case (NULL_TREE, NULL_TREE); } + | identifier save_filename save_lineno ':' maybe_attribute + { tree label = define_label ($2, $3, $1); + stmt_count++; + if (label) + { + decl_attributes (&label, $5, 0); + $$ = add_stmt (build_stmt (LABEL_STMT, label)); + } + else + $$ = NULL_TREE; + } + ; + +/* Either a type-qualifier or nothing. First thing in an `asm' statement. */ + +maybe_type_qual: + /* empty */ + { emit_line_note (input_filename, lineno); + $$ = NULL_TREE; } + | TYPE_QUAL + { emit_line_note (input_filename, lineno); } + ; + +xexpr: + /* empty */ + { $$ = NULL_TREE; } + | expr + ; + +/* These are the operands other than the first string and colon + in asm ("addextend %2,%1": "=dm" (x), "0" (y), "g" (*x)) */ +asm_operands: /* empty */ + { $$ = NULL_TREE; } + | nonnull_asm_operands + ; + +nonnull_asm_operands: + asm_operand + | nonnull_asm_operands ',' asm_operand + { $$ = chainon ($1, $3); } + ; + +asm_operand: + STRING '(' expr ')' + { $$ = build_tree_list (build_tree_list (NULL_TREE, $1), $3); } + | '[' identifier ']' STRING '(' expr ')' + { $2 = build_string (IDENTIFIER_LENGTH ($2), + IDENTIFIER_POINTER ($2)); + $$ = build_tree_list (build_tree_list ($2, $4), $6); } + ; + +asm_clobbers: + STRING + { $$ = tree_cons (NULL_TREE, $1, NULL_TREE); } + | asm_clobbers ',' STRING + { $$ = tree_cons (NULL_TREE, $3, $1); } + ; + +/* This is what appears inside the parens in a function declarator. + Its value is a list of ..._TYPE nodes. Attributes must appear here + to avoid a conflict with their appearance after an open parenthesis + in an abstract declarator, as in + "void bar (int (__attribute__((__mode__(SI))) int foo));". */ +parmlist: + maybe_attribute + { pushlevel (0); + clear_parm_order (); + declare_parm_level (0); } + parmlist_1 + { $$ = $3; + parmlist_tags_warning (); + poplevel (0, 0, 0); } + ; + +parmlist_1: + parmlist_2 ')' + | parms ';' + { tree parm; + if (pedantic) + pedwarn ("ISO 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 (); } + maybe_attribute + { /* Dummy action so attributes are in known place + on parser stack. */ } + parmlist_1 + { $$ = $6; } + | error ')' + { $$ = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); } + ; + +/* This is what appears inside the parens in a function declarator. + Is value is represented in the format that grokdeclarator expects. */ +parmlist_2: /* empty */ + { $$ = get_parm_info (0); } + | ELLIPSIS + { $$ = get_parm_info (0); + /* Gcc used to allow this as an extension. However, it does + not work for all targets, and thus has been disabled. + Also, since func (...) and func () are indistinguishable, + it caused problems with the code in expand_builtin which + tries to verify that BUILT_IN_NEXT_ARG is being used + correctly. */ + error ("ISO C requires a named argument before `...'"); + } + | parms + { $$ = get_parm_info (1); + parsing_iso_function_signature = true; + } + | parms ',' ELLIPSIS + { $$ = get_parm_info (0); } + ; + +parms: + firstparm + { push_parm_decl ($1); } + | parms ',' parm + { push_parm_decl ($3); } + ; + +/* A single parameter declaration or parameter type name, + as found in a parmlist. */ +parm: + declspecs_ts setspecs parm_declarator maybe_attribute + { $$ = build_tree_list (build_tree_list (current_declspecs, + $3), + chainon ($4, all_prefix_attributes)); + POP_DECLSPEC_STACK; } + | declspecs_ts setspecs notype_declarator maybe_attribute + { $$ = build_tree_list (build_tree_list (current_declspecs, + $3), + chainon ($4, all_prefix_attributes)); + POP_DECLSPEC_STACK; } + | declspecs_ts setspecs absdcl_maybe_attribute + { $$ = $3; + POP_DECLSPEC_STACK; } + | declspecs_nots setspecs notype_declarator maybe_attribute + { $$ = build_tree_list (build_tree_list (current_declspecs, + $3), + chainon ($4, all_prefix_attributes)); + POP_DECLSPEC_STACK; } + + | declspecs_nots setspecs absdcl_maybe_attribute + { $$ = $3; + POP_DECLSPEC_STACK; } + ; + +/* The first parm, which must suck attributes from off the top of the parser + stack. */ +firstparm: + declspecs_ts_nosa setspecs_fp parm_declarator maybe_attribute + { $$ = build_tree_list (build_tree_list (current_declspecs, + $3), + chainon ($4, all_prefix_attributes)); + POP_DECLSPEC_STACK; } + | declspecs_ts_nosa setspecs_fp notype_declarator maybe_attribute + { $$ = build_tree_list (build_tree_list (current_declspecs, + $3), + chainon ($4, all_prefix_attributes)); + POP_DECLSPEC_STACK; } + | declspecs_ts_nosa setspecs_fp absdcl_maybe_attribute + { $$ = $3; + POP_DECLSPEC_STACK; } + | declspecs_nots_nosa setspecs_fp notype_declarator maybe_attribute + { $$ = build_tree_list (build_tree_list (current_declspecs, + $3), + chainon ($4, all_prefix_attributes)); + POP_DECLSPEC_STACK; } + + | declspecs_nots_nosa setspecs_fp absdcl_maybe_attribute + { $$ = $3; + POP_DECLSPEC_STACK; } + ; + +setspecs_fp: + setspecs + { prefix_attributes = chainon (prefix_attributes, $-2); + all_prefix_attributes = prefix_attributes; } + ; + +/* This is used in a function definition + where either a parmlist or an identifier list is ok. + Its value is a list of ..._TYPE nodes or a list of identifiers. */ +parmlist_or_identifiers: + maybe_attribute + { pushlevel (0); + clear_parm_order (); + declare_parm_level (1); } + parmlist_or_identifiers_1 + { $$ = $3; + parmlist_tags_warning (); + poplevel (0, 0, 0); } + ; + +parmlist_or_identifiers_1: + parmlist_1 + | identifiers ')' + { tree t; + for (t = $1; t; t = TREE_CHAIN (t)) + if (TREE_VALUE (t) == NULL_TREE) + error ("`...' in old-style identifier list"); + $$ = tree_cons (NULL_TREE, NULL_TREE, $1); + + /* Make sure we have a parmlist after attributes. */ + if ($-1 != 0 + && (TREE_CODE ($$) != TREE_LIST + || TREE_PURPOSE ($$) == 0 + || TREE_CODE (TREE_PURPOSE ($$)) != PARM_DECL)) + YYERROR1; + } + ; + +/* A nonempty list of identifiers. */ +identifiers: + IDENTIFIER + { $$ = build_tree_list (NULL_TREE, $1); } + | identifiers ',' IDENTIFIER + { $$ = chainon ($1, build_tree_list (NULL_TREE, $3)); } + ; + +/* A nonempty list of identifiers, including typenames. */ +identifiers_or_typenames: + identifier + { $$ = build_tree_list (NULL_TREE, $1); } + | identifiers_or_typenames ',' identifier + { $$ = chainon ($1, build_tree_list (NULL_TREE, $3)); } + ; + +extension: + EXTENSION + { $$ = SAVE_EXT_FLAGS(); + pedantic = 0; + warn_pointer_arith = 0; + warn_traditional = 0; + flag_iso = 0; } + ; + +%% + +/* yylex() is a thin wrapper around c_lex(), all it does is translate + cpplib.h's token codes into yacc's token codes. */ + +static enum cpp_ttype last_token; + +/* The reserved keyword table. */ +struct resword +{ + const char *word; + ENUM_BITFIELD(rid) rid : 16; + unsigned int disable : 16; +}; + +/* Disable mask. Keywords are disabled if (reswords[i].disable & mask) is + _true_. */ +#define D_C89 0x01 /* not in C89 */ +#define D_EXT 0x02 /* GCC extension */ +#define D_EXT89 0x04 /* GCC extension incorporated in C99 */ +#define D_OBJC 0x08 /* Objective C only */ + +static const struct resword reswords[] = +{ + { "_Bool", RID_BOOL, 0 }, + { "_Complex", RID_COMPLEX, 0 }, + { "__FUNCTION__", RID_FUNCTION_NAME, 0 }, + { "__PRETTY_FUNCTION__", RID_PRETTY_FUNCTION_NAME, 0 }, + { "__alignof", RID_ALIGNOF, 0 }, + { "__alignof__", RID_ALIGNOF, 0 }, + { "__asm", RID_ASM, 0 }, + { "__asm__", RID_ASM, 0 }, + { "__attribute", RID_ATTRIBUTE, 0 }, + { "__attribute__", RID_ATTRIBUTE, 0 }, + { "__bounded", RID_BOUNDED, 0 }, + { "__bounded__", RID_BOUNDED, 0 }, + { "__builtin_choose_expr", RID_CHOOSE_EXPR, 0 }, + { "__builtin_types_compatible_p", RID_TYPES_COMPATIBLE_P, 0 }, + { "__builtin_va_arg", RID_VA_ARG, 0 }, + { "__complex", RID_COMPLEX, 0 }, + { "__complex__", RID_COMPLEX, 0 }, + { "__const", RID_CONST, 0 }, + { "__const__", RID_CONST, 0 }, + { "__extension__", RID_EXTENSION, 0 }, + { "__func__", RID_C99_FUNCTION_NAME, 0 }, + { "__imag", RID_IMAGPART, 0 }, + { "__imag__", RID_IMAGPART, 0 }, + { "__inline", RID_INLINE, 0 }, + { "__inline__", RID_INLINE, 0 }, + { "__label__", RID_LABEL, 0 }, + { "__ptrbase", RID_PTRBASE, 0 }, + { "__ptrbase__", RID_PTRBASE, 0 }, + { "__ptrextent", RID_PTREXTENT, 0 }, + { "__ptrextent__", RID_PTREXTENT, 0 }, + { "__ptrvalue", RID_PTRVALUE, 0 }, + { "__ptrvalue__", RID_PTRVALUE, 0 }, + { "__real", RID_REALPART, 0 }, + { "__real__", RID_REALPART, 0 }, + { "__restrict", RID_RESTRICT, 0 }, + { "__restrict__", RID_RESTRICT, 0 }, + { "__signed", RID_SIGNED, 0 }, + { "__signed__", RID_SIGNED, 0 }, + { "__thread", RID_THREAD, 0 }, + { "__typeof", RID_TYPEOF, 0 }, + { "__typeof__", RID_TYPEOF, 0 }, + { "__unbounded", RID_UNBOUNDED, 0 }, + { "__unbounded__", RID_UNBOUNDED, 0 }, + { "__volatile", RID_VOLATILE, 0 }, + { "__volatile__", RID_VOLATILE, 0 }, + { "asm", RID_ASM, D_EXT }, + { "auto", RID_AUTO, 0 }, + { "break", RID_BREAK, 0 }, + { "case", RID_CASE, 0 }, + { "char", RID_CHAR, 0 }, + { "const", RID_CONST, 0 }, + { "continue", RID_CONTINUE, 0 }, + { "default", RID_DEFAULT, 0 }, + { "do", RID_DO, 0 }, + { "double", RID_DOUBLE, 0 }, + { "else", RID_ELSE, 0 }, + { "enum", RID_ENUM, 0 }, + { "extern", RID_EXTERN, 0 }, + { "float", RID_FLOAT, 0 }, + { "for", RID_FOR, 0 }, + { "goto", RID_GOTO, 0 }, + { "if", RID_IF, 0 }, + { "inline", RID_INLINE, D_EXT89 }, + { "int", RID_INT, 0 }, + { "long", RID_LONG, 0 }, + { "register", RID_REGISTER, 0 }, + { "restrict", RID_RESTRICT, D_C89 }, + { "return", RID_RETURN, 0 }, + { "short", RID_SHORT, 0 }, + { "signed", RID_SIGNED, 0 }, + { "sizeof", RID_SIZEOF, 0 }, + { "static", RID_STATIC, 0 }, + { "struct", RID_STRUCT, 0 }, + { "switch", RID_SWITCH, 0 }, + { "typedef", RID_TYPEDEF, 0 }, + { "typeof", RID_TYPEOF, D_EXT }, + { "union", RID_UNION, 0 }, + { "unsigned", RID_UNSIGNED, 0 }, + { "void", RID_VOID, 0 }, + { "volatile", RID_VOLATILE, 0 }, + { "while", RID_WHILE, 0 }, +}; +#define N_reswords (sizeof reswords / sizeof (struct resword)) + +/* Table mapping from RID_* constants to yacc token numbers. + Unfortunately we have to have entries for all the keywords in all + three languages. */ +static const short rid_to_yy[RID_MAX] = +{ + /* RID_STATIC */ STATIC, + /* RID_UNSIGNED */ TYPESPEC, + /* RID_LONG */ TYPESPEC, + /* RID_CONST */ TYPE_QUAL, + /* RID_EXTERN */ SCSPEC, + /* RID_REGISTER */ SCSPEC, + /* RID_TYPEDEF */ SCSPEC, + /* RID_SHORT */ TYPESPEC, + /* RID_INLINE */ SCSPEC, + /* RID_VOLATILE */ TYPE_QUAL, + /* RID_SIGNED */ TYPESPEC, + /* RID_AUTO */ SCSPEC, + /* RID_RESTRICT */ TYPE_QUAL, + + /* C extensions */ + /* RID_BOUNDED */ TYPE_QUAL, + /* RID_UNBOUNDED */ TYPE_QUAL, + /* RID_COMPLEX */ TYPESPEC, + /* RID_THREAD */ SCSPEC, + + /* C++ */ + /* RID_FRIEND */ 0, + /* RID_VIRTUAL */ 0, + /* RID_EXPLICIT */ 0, + /* RID_EXPORT */ 0, + /* RID_MUTABLE */ 0, + + /* ObjC */ + /* RID_IN */ TYPE_QUAL, + /* RID_OUT */ TYPE_QUAL, + /* RID_INOUT */ TYPE_QUAL, + /* RID_BYCOPY */ TYPE_QUAL, + /* RID_BYREF */ TYPE_QUAL, + /* RID_ONEWAY */ TYPE_QUAL, + + /* C */ + /* RID_INT */ TYPESPEC, + /* RID_CHAR */ TYPESPEC, + /* RID_FLOAT */ TYPESPEC, + /* RID_DOUBLE */ TYPESPEC, + /* RID_VOID */ TYPESPEC, + /* RID_ENUM */ ENUM, + /* RID_STRUCT */ STRUCT, + /* RID_UNION */ UNION, + /* RID_IF */ IF, + /* RID_ELSE */ ELSE, + /* RID_WHILE */ WHILE, + /* RID_DO */ DO, + /* RID_FOR */ FOR, + /* RID_SWITCH */ SWITCH, + /* RID_CASE */ CASE, + /* RID_DEFAULT */ DEFAULT, + /* RID_BREAK */ BREAK, + /* RID_CONTINUE */ CONTINUE, + /* RID_RETURN */ RETURN, + /* RID_GOTO */ GOTO, + /* RID_SIZEOF */ SIZEOF, + + /* C extensions */ + /* RID_ASM */ ASM_KEYWORD, + /* RID_TYPEOF */ TYPEOF, + /* RID_ALIGNOF */ ALIGNOF, + /* RID_ATTRIBUTE */ ATTRIBUTE, + /* RID_VA_ARG */ VA_ARG, + /* RID_EXTENSION */ EXTENSION, + /* RID_IMAGPART */ IMAGPART, + /* RID_REALPART */ REALPART, + /* RID_LABEL */ LABEL, + /* RID_PTRBASE */ PTR_BASE, + /* RID_PTREXTENT */ PTR_EXTENT, + /* RID_PTRVALUE */ PTR_VALUE, + + /* RID_CHOOSE_EXPR */ CHOOSE_EXPR, + /* RID_TYPES_COMPATIBLE_P */ TYPES_COMPATIBLE_P, + + /* RID_FUNCTION_NAME */ STRING_FUNC_NAME, + /* RID_PRETTY_FUNCTION_NAME */ STRING_FUNC_NAME, + /* RID_C99_FUNCTION_NAME */ VAR_FUNC_NAME, + + /* C++ */ + /* RID_BOOL */ TYPESPEC, + /* RID_WCHAR */ 0, + /* RID_CLASS */ 0, + /* RID_PUBLIC */ 0, + /* RID_PRIVATE */ 0, + /* RID_PROTECTED */ 0, + /* RID_TEMPLATE */ 0, + /* RID_NULL */ 0, + /* RID_CATCH */ 0, + /* RID_DELETE */ 0, + /* RID_FALSE */ 0, + /* RID_NAMESPACE */ 0, + /* RID_NEW */ 0, + /* RID_OPERATOR */ 0, + /* RID_THIS */ 0, + /* RID_THROW */ 0, + /* RID_TRUE */ 0, + /* RID_TRY */ 0, + /* RID_TYPENAME */ 0, + /* RID_TYPEID */ 0, + /* RID_USING */ 0, + + /* casts */ + /* RID_CONSTCAST */ 0, + /* RID_DYNCAST */ 0, + /* RID_REINTCAST */ 0, + /* RID_STATCAST */ 0, + + /* Objective C */ + /* RID_ID */ OBJECTNAME, + /* RID_AT_ENCODE */ ENCODE, + /* RID_AT_END */ END, + /* RID_AT_CLASS */ CLASS, + /* RID_AT_ALIAS */ ALIAS, + /* RID_AT_DEFS */ DEFS, + /* RID_AT_PRIVATE */ PRIVATE, + /* RID_AT_PROTECTED */ PROTECTED, + /* RID_AT_PUBLIC */ PUBLIC, + /* RID_AT_PROTOCOL */ PROTOCOL, + /* RID_AT_SELECTOR */ SELECTOR, + /* RID_AT_INTERFACE */ INTERFACE, + /* RID_AT_IMPLEMENTATION */ IMPLEMENTATION +}; + +static void +init_reswords () +{ + unsigned int i; + tree id; + int mask = (flag_isoc99 ? 0 : D_C89) + | (flag_no_asm ? (flag_isoc99 ? D_EXT : D_EXT|D_EXT89) : 0); + + if (!flag_objc) + mask |= D_OBJC; + + /* It is not necessary to register ridpointers as a GC root, because + all the trees it points to are permanently interned in the + get_identifier hash anyway. */ + ridpointers = (tree *) xcalloc ((int) RID_MAX, sizeof (tree)); + for (i = 0; i < N_reswords; i++) + { + /* If a keyword is disabled, do not enter it into the table + and so create a canonical spelling that isn't a keyword. */ + if (reswords[i].disable & mask) + continue; + + id = get_identifier (reswords[i].word); + C_RID_CODE (id) = reswords[i].rid; + C_IS_RESERVED_WORD (id) = 1; + ridpointers [(int) reswords[i].rid] = id; + } +} + +#define NAME(type) cpp_type2name (type) + +static void +yyerror (msgid) + const char *msgid; +{ + const char *string = _(msgid); + + if (last_token == CPP_EOF) + error ("%s at end of input", string); + else if (last_token == CPP_CHAR || last_token == CPP_WCHAR) + { + unsigned int val = TREE_INT_CST_LOW (yylval.ttype); + const char *const ell = (last_token == CPP_CHAR) ? "" : "L"; + if (val <= UCHAR_MAX && ISGRAPH (val)) + error ("%s before %s'%c'", string, ell, val); + else + error ("%s before %s'\\x%x'", string, ell, val); + } + else if (last_token == CPP_STRING + || last_token == CPP_WSTRING) + error ("%s before string constant", string); + else if (last_token == CPP_NUMBER) + error ("%s before numeric constant", string); + else if (last_token == CPP_NAME) + error ("%s before \"%s\"", string, IDENTIFIER_POINTER (yylval.ttype)); + else + error ("%s before '%s' token", string, NAME(last_token)); +} + +static int +yylexname () +{ + tree decl; + + + if (C_IS_RESERVED_WORD (yylval.ttype)) + { + enum rid rid_code = C_RID_CODE (yylval.ttype); + + { + int yycode = rid_to_yy[(int) rid_code]; + if (yycode == STRING_FUNC_NAME) + { + /* __FUNCTION__ and __PRETTY_FUNCTION__ get converted + to string constants. */ + const char *name = fname_string (rid_code); + + yylval.ttype = build_string (strlen (name) + 1, name); + C_ARTIFICIAL_STRING_P (yylval.ttype) = 1; + last_token = CPP_STRING; /* so yyerror won't choke */ + return STRING; + } + + /* Return the canonical spelling for this keyword. */ + yylval.ttype = ridpointers[(int) rid_code]; + return yycode; + } + } + + decl = lookup_name (yylval.ttype); + if (decl) + { + if (TREE_CODE (decl) == TYPE_DECL) + return TYPENAME; + } + + return IDENTIFIER; +} + +/* Concatenate strings before returning them to the parser. This isn't quite + as good as having it done in the lexer, but it's better than nothing. */ + +static int +yylexstring () +{ + enum cpp_ttype next_type; + tree orig = yylval.ttype; + + next_type = c_lex (&yylval.ttype); + if (next_type == CPP_STRING + || next_type == CPP_WSTRING + || (next_type == CPP_NAME && yylexname () == STRING)) + { + varray_type strings; + + static int last_lineno = 0; + static const char *last_input_filename = 0; + if (warn_traditional && !in_system_header + && (lineno != last_lineno || !last_input_filename || + strcmp (last_input_filename, input_filename))) + { + warning ("traditional C rejects string concatenation"); + last_lineno = lineno; + last_input_filename = input_filename; + } + + VARRAY_TREE_INIT (strings, 32, "strings"); + VARRAY_PUSH_TREE (strings, orig); + + do + { + VARRAY_PUSH_TREE (strings, yylval.ttype); + next_type = c_lex (&yylval.ttype); + } + while (next_type == CPP_STRING + || next_type == CPP_WSTRING + || (next_type == CPP_NAME && yylexname () == STRING)); + + yylval.ttype = combine_strings (strings); + } + else + yylval.ttype = orig; + + /* We will have always read one token too many. */ + _cpp_backup_tokens (parse_in, 1); + + return STRING; +} + +static inline int +_yylex () +{ + get_next: + last_token = c_lex (&yylval.ttype); + switch (last_token) + { + case CPP_EQ: return '='; + case CPP_NOT: return '!'; + case CPP_GREATER: yylval.code = GT_EXPR; return ARITHCOMPARE; + case CPP_LESS: yylval.code = LT_EXPR; return ARITHCOMPARE; + case CPP_PLUS: yylval.code = PLUS_EXPR; return '+'; + case CPP_MINUS: yylval.code = MINUS_EXPR; return '-'; + case CPP_MULT: yylval.code = MULT_EXPR; return '*'; + case CPP_DIV: yylval.code = TRUNC_DIV_EXPR; return '/'; + case CPP_MOD: yylval.code = TRUNC_MOD_EXPR; return '%'; + case CPP_AND: yylval.code = BIT_AND_EXPR; return '&'; + case CPP_OR: yylval.code = BIT_IOR_EXPR; return '|'; + case CPP_XOR: yylval.code = BIT_XOR_EXPR; return '^'; + case CPP_RSHIFT: yylval.code = RSHIFT_EXPR; return RSHIFT; + case CPP_LSHIFT: yylval.code = LSHIFT_EXPR; return LSHIFT; + + case CPP_COMPL: return '~'; + case CPP_AND_AND: return ANDAND; + case CPP_OR_OR: return OROR; + case CPP_QUERY: return '?'; + case CPP_OPEN_PAREN: return '('; + case CPP_EQ_EQ: yylval.code = EQ_EXPR; return EQCOMPARE; + case CPP_NOT_EQ: yylval.code = NE_EXPR; return EQCOMPARE; + case CPP_GREATER_EQ:yylval.code = GE_EXPR; return ARITHCOMPARE; + case CPP_LESS_EQ: yylval.code = LE_EXPR; return ARITHCOMPARE; + + case CPP_PLUS_EQ: yylval.code = PLUS_EXPR; return ASSIGN; + case CPP_MINUS_EQ: yylval.code = MINUS_EXPR; return ASSIGN; + case CPP_MULT_EQ: yylval.code = MULT_EXPR; return ASSIGN; + case CPP_DIV_EQ: yylval.code = TRUNC_DIV_EXPR; return ASSIGN; + case CPP_MOD_EQ: yylval.code = TRUNC_MOD_EXPR; return ASSIGN; + case CPP_AND_EQ: yylval.code = BIT_AND_EXPR; return ASSIGN; + case CPP_OR_EQ: yylval.code = BIT_IOR_EXPR; return ASSIGN; + case CPP_XOR_EQ: yylval.code = BIT_XOR_EXPR; return ASSIGN; + case CPP_RSHIFT_EQ: yylval.code = RSHIFT_EXPR; return ASSIGN; + case CPP_LSHIFT_EQ: yylval.code = LSHIFT_EXPR; return ASSIGN; + + case CPP_OPEN_SQUARE: return '['; + case CPP_CLOSE_SQUARE: return ']'; + case CPP_OPEN_BRACE: return '{'; + case CPP_CLOSE_BRACE: return '}'; + case CPP_ELLIPSIS: return ELLIPSIS; + + case CPP_PLUS_PLUS: return PLUSPLUS; + case CPP_MINUS_MINUS: return MINUSMINUS; + case CPP_DEREF: return POINTSAT; + case CPP_DOT: return '.'; + + /* The following tokens may affect the interpretation of any + identifiers following, if doing Objective-C. */ + case CPP_COLON: OBJC_NEED_RAW_IDENTIFIER (0); return ':'; + case CPP_COMMA: OBJC_NEED_RAW_IDENTIFIER (0); return ','; + case CPP_CLOSE_PAREN: OBJC_NEED_RAW_IDENTIFIER (0); return ')'; + case CPP_SEMICOLON: OBJC_NEED_RAW_IDENTIFIER (0); return ';'; + + case CPP_EOF: + return 0; + + case CPP_NAME: + { + int ret = yylexname (); + if (ret == STRING) + return yylexstring (); + else + return ret; + } + + case CPP_NUMBER: + case CPP_CHAR: + case CPP_WCHAR: + return CONSTANT; + + case CPP_STRING: + case CPP_WSTRING: + return yylexstring (); + + /* This token is Objective-C specific. It gives the next token + special significance. */ + case CPP_ATSIGN: + + /* These tokens are C++ specific (and will not be generated + in C mode, but let's be cautious). */ + case CPP_SCOPE: + case CPP_DEREF_STAR: + case CPP_DOT_STAR: + case CPP_MIN_EQ: + case CPP_MAX_EQ: + case CPP_MIN: + case CPP_MAX: + /* These tokens should not survive translation phase 4. */ + case CPP_HASH: + case CPP_PASTE: + error ("syntax error at '%s' token", NAME(last_token)); + goto get_next; + + default: + abort (); + } + /* NOTREACHED */ +} + +static int +yylex() +{ + int r; + timevar_push (TV_LEX); + r = _yylex(); + timevar_pop (TV_LEX); + return r; +} + +/* Function used when yydebug is set, to print a token in more detail. */ + +static void +yyprint (file, yychar, yyl) + FILE *file; + int yychar; + YYSTYPE yyl; +{ + tree t = yyl.ttype; + + fprintf (file, " [%s]", NAME(last_token)); + + switch (yychar) + { + case IDENTIFIER: + case TYPENAME: + case OBJECTNAME: + case TYPESPEC: + case TYPE_QUAL: + case SCSPEC: + case STATIC: + if (IDENTIFIER_POINTER (t)) + fprintf (file, " `%s'", IDENTIFIER_POINTER (t)); + break; + + case CONSTANT: + fprintf (file, " %s", GET_MODE_NAME (TYPE_MODE (TREE_TYPE (t)))); + if (TREE_CODE (t) == INTEGER_CST) + fprintf (file, +#if HOST_BITS_PER_WIDE_INT == 64 +#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT + " 0x%x%016x", +#else +#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG + " 0x%lx%016lx", +#else + " 0x%llx%016llx", +#endif +#endif +#else +#if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT + " 0x%lx%08lx", +#else + " 0x%x%08x", +#endif +#endif + TREE_INT_CST_HIGH (t), TREE_INT_CST_LOW (t)); + break; + } +} + +/* This is not the ideal place to put these, but we have to get them out + of c-lex.c because cp/lex.c has its own versions. */ + +/* Free malloced parser stacks if necessary. */ + +void +free_parser_stacks () +{ + if (malloced_yyss) + { + free (malloced_yyss); + free (malloced_yyvs); + } +} + +#include "gt-c-parse.h" diff --git a/gnu/dist/gcc/gcc/cp/parse.c b/gnu/dist/gcc/gcc/cp/parse.c new file mode 100644 index 000000000000..8d07a0326abc --- /dev/null +++ b/gnu/dist/gcc/gcc/cp/parse.c @@ -0,0 +1,10645 @@ +/* A Bison parser, made by GNU Bison 1.875. */ + +/* Skeleton parser for Yacc-like parsing with Bison, + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +/* As a special exception, when this file is copied by Bison into a + Bison output file, you may use that output file without restriction. + This special exception was added by the Free Software Foundation + in version 1.24 of Bison. */ + +/* Written by Richard Stallman by simplifying the original so called + ``semantic'' parser. */ + +/* All symbols defined below should begin with yy or YY, to avoid + infringing on user name space. This should be done even for local + variables, as they might otherwise be expanded by user macros. + There are some unavoidable exceptions within include files to + define necessary library symbols; they are noted "INFRINGES ON + USER NAME SPACE" below. */ + +/* Identify Bison output. */ +#define YYBISON 1 + +/* Skeleton name. */ +#define YYSKELETON_NAME "yacc.c" + +/* Pure parsers. */ +#define YYPURE 0 + +/* Using locations. */ +#define YYLSP_NEEDED 0 + + + +/* Tokens. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + IDENTIFIER = 258, + tTYPENAME = 259, + SELFNAME = 260, + PFUNCNAME = 261, + SCSPEC = 262, + TYPESPEC = 263, + CV_QUALIFIER = 264, + CONSTANT = 265, + VAR_FUNC_NAME = 266, + STRING = 267, + ELLIPSIS = 268, + SIZEOF = 269, + ENUM = 270, + IF = 271, + ELSE = 272, + WHILE = 273, + DO = 274, + FOR = 275, + SWITCH = 276, + CASE = 277, + DEFAULT = 278, + BREAK = 279, + CONTINUE = 280, + RETURN_KEYWORD = 281, + GOTO = 282, + ASM_KEYWORD = 283, + TYPEOF = 284, + ALIGNOF = 285, + SIGOF = 286, + ATTRIBUTE = 287, + EXTENSION = 288, + LABEL = 289, + REALPART = 290, + IMAGPART = 291, + VA_ARG = 292, + AGGR = 293, + VISSPEC = 294, + DELETE = 295, + NEW = 296, + THIS = 297, + OPERATOR = 298, + CXX_TRUE = 299, + CXX_FALSE = 300, + NAMESPACE = 301, + TYPENAME_KEYWORD = 302, + USING = 303, + LEFT_RIGHT = 304, + TEMPLATE = 305, + TYPEID = 306, + DYNAMIC_CAST = 307, + STATIC_CAST = 308, + REINTERPRET_CAST = 309, + CONST_CAST = 310, + SCOPE = 311, + EXPORT = 312, + EMPTY = 313, + NSNAME = 314, + PTYPENAME = 315, + THROW = 316, + ASSIGN = 317, + OROR = 318, + ANDAND = 319, + MIN_MAX = 320, + EQCOMPARE = 321, + ARITHCOMPARE = 322, + RSHIFT = 323, + LSHIFT = 324, + DOT_STAR = 325, + POINTSAT_STAR = 326, + MINUSMINUS = 327, + PLUSPLUS = 328, + UNARY = 329, + HYPERUNARY = 330, + POINTSAT = 331, + CATCH = 332, + TRY = 333, + EXTERN_LANG_STRING = 334, + ALL = 335, + PRE_PARSED_CLASS_DECL = 336, + DEFARG = 337, + DEFARG_MARKER = 338, + PRE_PARSED_FUNCTION_DECL = 339, + TYPENAME_DEFN = 340, + IDENTIFIER_DEFN = 341, + PTYPENAME_DEFN = 342, + END_OF_LINE = 343, + END_OF_SAVED_INPUT = 344 + }; +#endif +#define IDENTIFIER 258 +#define tTYPENAME 259 +#define SELFNAME 260 +#define PFUNCNAME 261 +#define SCSPEC 262 +#define TYPESPEC 263 +#define CV_QUALIFIER 264 +#define CONSTANT 265 +#define VAR_FUNC_NAME 266 +#define STRING 267 +#define ELLIPSIS 268 +#define SIZEOF 269 +#define ENUM 270 +#define IF 271 +#define ELSE 272 +#define WHILE 273 +#define DO 274 +#define FOR 275 +#define SWITCH 276 +#define CASE 277 +#define DEFAULT 278 +#define BREAK 279 +#define CONTINUE 280 +#define RETURN_KEYWORD 281 +#define GOTO 282 +#define ASM_KEYWORD 283 +#define TYPEOF 284 +#define ALIGNOF 285 +#define SIGOF 286 +#define ATTRIBUTE 287 +#define EXTENSION 288 +#define LABEL 289 +#define REALPART 290 +#define IMAGPART 291 +#define VA_ARG 292 +#define AGGR 293 +#define VISSPEC 294 +#define DELETE 295 +#define NEW 296 +#define THIS 297 +#define OPERATOR 298 +#define CXX_TRUE 299 +#define CXX_FALSE 300 +#define NAMESPACE 301 +#define TYPENAME_KEYWORD 302 +#define USING 303 +#define LEFT_RIGHT 304 +#define TEMPLATE 305 +#define TYPEID 306 +#define DYNAMIC_CAST 307 +#define STATIC_CAST 308 +#define REINTERPRET_CAST 309 +#define CONST_CAST 310 +#define SCOPE 311 +#define EXPORT 312 +#define EMPTY 313 +#define NSNAME 314 +#define PTYPENAME 315 +#define THROW 316 +#define ASSIGN 317 +#define OROR 318 +#define ANDAND 319 +#define MIN_MAX 320 +#define EQCOMPARE 321 +#define ARITHCOMPARE 322 +#define RSHIFT 323 +#define LSHIFT 324 +#define DOT_STAR 325 +#define POINTSAT_STAR 326 +#define MINUSMINUS 327 +#define PLUSPLUS 328 +#define UNARY 329 +#define HYPERUNARY 330 +#define POINTSAT 331 +#define CATCH 332 +#define TRY 333 +#define EXTERN_LANG_STRING 334 +#define ALL 335 +#define PRE_PARSED_CLASS_DECL 336 +#define DEFARG 337 +#define DEFARG_MARKER 338 +#define PRE_PARSED_FUNCTION_DECL 339 +#define TYPENAME_DEFN 340 +#define IDENTIFIER_DEFN 341 +#define PTYPENAME_DEFN 342 +#define END_OF_LINE 343 +#define END_OF_SAVED_INPUT 344 + + + + +/* Copy the first part of user declarations. */ +#line 30 "parse.y" + +#include "config.h" + +#include "system.h" + +#include "tree.h" +#include "input.h" +#include "flags.h" +#include "cp-tree.h" +#include "decl.h" +#include "lex.h" +#include "c-pragma.h" /* For YYDEBUG definition. */ +#include "output.h" +#include "except.h" +#include "toplev.h" +#include "ggc.h" + +/* Like YYERROR but do call yyerror. */ +#define YYERROR1 { yyerror ("syntax error"); YYERROR; } + +/* Like the default stack expander, except (1) use realloc when possible, + (2) impose no hard maxiumum on stack size, (3) REALLY do not use alloca. + + Irritatingly, YYSTYPE is defined after this %{ %} block, so we cannot + give malloced_yyvs its proper type. This is ok since all we need from + it is to be able to free it. */ + +static short *malloced_yyss; +static void *malloced_yyvs; +static int class_template_ok_as_expr; + +#define yyoverflow(MSG, SS, SSSIZE, VS, VSSIZE, YYSSZ) \ +do { \ + size_t newsize; \ + short *newss; \ + YYSTYPE *newvs; \ + newsize = *(YYSSZ) *= 2; \ + if (malloced_yyss) \ + { \ + newss = (short *) \ + really_call_realloc (*(SS), newsize * sizeof (short)); \ + newvs = (YYSTYPE *) \ + really_call_realloc (*(VS), newsize * sizeof (YYSTYPE)); \ + } \ + else \ + { \ + newss = (short *) really_call_malloc (newsize * sizeof (short)); \ + newvs = (YYSTYPE *) really_call_malloc (newsize * sizeof (YYSTYPE)); \ + if (newss) \ + memcpy (newss, *(SS), (SSSIZE)); \ + if (newvs) \ + memcpy (newvs, *(VS), (VSSIZE)); \ + } \ + if (!newss || !newvs) \ + { \ + yyerror (MSG); \ + return 2; \ + } \ + *(SS) = newss; \ + *(VS) = newvs; \ + malloced_yyss = newss; \ + malloced_yyvs = (void *) newvs; \ +} while (0) +#define OP0(NODE) (TREE_OPERAND (NODE, 0)) +#define OP1(NODE) (TREE_OPERAND (NODE, 1)) + +/* Contains the statement keyword (if/while/do) to include in an + error message if the user supplies an empty conditional expression. */ +static const char *cond_stmt_keyword; + +/* List of types and structure classes of the current declaration. */ +static GTY(()) tree current_declspecs; + +/* List of prefix attributes in effect. + Prefix attributes are parsed by the reserved_declspecs and declmods + rules. They create a list that contains *both* declspecs and attrs. */ +/* ??? It is not clear yet that all cases where an attribute can now appear in + a declspec list have been updated. */ +static GTY(()) tree prefix_attributes; + +/* When defining an enumeration, this is the type of the enumeration. */ +static GTY(()) tree current_enum_type; + +/* When parsing a conversion operator name, this is the scope of the + operator itself. */ +static GTY(()) tree saved_scopes; + +static tree empty_parms PARAMS ((void)); +static tree parse_decl0 PARAMS ((tree, tree, tree, tree, int)); +static tree parse_decl PARAMS ((tree, tree, int)); +static void parse_end_decl PARAMS ((tree, tree, tree)); +static tree parse_field0 PARAMS ((tree, tree, tree, tree, tree, tree)); +static tree parse_field PARAMS ((tree, tree, tree, tree)); +static tree parse_bitfield0 PARAMS ((tree, tree, tree, tree, tree)); +static tree parse_bitfield PARAMS ((tree, tree, tree)); +static tree parse_method PARAMS ((tree, tree, tree)); +static void frob_specs PARAMS ((tree, tree)); +static void check_class_key PARAMS ((tree, tree)); +static tree parse_scoped_id PARAMS ((tree)); +static tree parse_xref_tag (tree, tree, int); +static tree parse_handle_class_head (tree, tree, tree, int, int *); +static void parse_decl_instantiation (tree, tree, tree); +static int parse_begin_function_definition (tree, tree); +static tree parse_finish_call_expr (tree, tree, int); + +/* Cons up an empty parameter list. */ +static inline tree +empty_parms () +{ + tree parms; + +#ifndef NO_IMPLICIT_EXTERN_C + if (in_system_header && current_class_type == NULL + && current_lang_name == lang_name_c) + parms = NULL_TREE; + else +#endif + parms = void_list_node; + return parms; +} + +/* Record the decl-specifiers, attributes and type lookups from the + decl-specifier-seq in a declaration. */ + +static void +frob_specs (specs_attrs, lookups) + tree specs_attrs, lookups; +{ + save_type_access_control (lookups); + split_specs_attrs (specs_attrs, ¤t_declspecs, &prefix_attributes); + if (current_declspecs + && TREE_CODE (current_declspecs) != TREE_LIST) + current_declspecs = build_tree_list (NULL_TREE, current_declspecs); + if (have_extern_spec) + { + /* We have to indicate that there is an "extern", but that it + was part of a language specifier. For instance, + + extern "C" typedef int (*Ptr) (); + + is well formed. */ + current_declspecs = tree_cons (error_mark_node, + get_identifier ("extern"), + current_declspecs); + have_extern_spec = false; + } +} + +static tree +parse_decl (declarator, attributes, initialized) + tree declarator, attributes; + int initialized; +{ + return start_decl (declarator, current_declspecs, initialized, + attributes, prefix_attributes); +} + +static tree +parse_decl0 (declarator, specs_attrs, lookups, attributes, initialized) + tree declarator, specs_attrs, lookups, attributes; + int initialized; +{ + frob_specs (specs_attrs, lookups); + return parse_decl (declarator, attributes, initialized); +} + +static void +parse_end_decl (decl, init, asmspec) + tree decl, init, asmspec; +{ + /* If decl is NULL_TREE, then this was a variable declaration using + () syntax for the initializer, so we handled it in grokdeclarator. */ + if (decl) + decl_type_access_control (decl); + cp_finish_decl (decl, init, asmspec, init ? LOOKUP_ONLYCONVERTING : 0); +} + +static tree +parse_field (declarator, attributes, asmspec, init) + tree declarator, attributes, asmspec, init; +{ + tree d = grokfield (declarator, current_declspecs, init, asmspec, + chainon (attributes, prefix_attributes)); + decl_type_access_control (d); + return d; +} + +static tree +parse_field0 (declarator, specs_attrs, lookups, attributes, asmspec, init) + tree declarator, specs_attrs, lookups, attributes, asmspec, init; +{ + frob_specs (specs_attrs, lookups); + return parse_field (declarator, attributes, asmspec, init); +} + +static tree +parse_bitfield (declarator, attributes, width) + tree declarator, attributes, width; +{ + tree d = grokbitfield (declarator, current_declspecs, width); + cplus_decl_attributes (&d, chainon (attributes, prefix_attributes), 0); + decl_type_access_control (d); + return d; +} + +static tree +parse_bitfield0 (declarator, specs_attrs, lookups, attributes, width) + tree declarator, specs_attrs, lookups, attributes, width; +{ + frob_specs (specs_attrs, lookups); + return parse_bitfield (declarator, attributes, width); +} + +static tree +parse_method (declarator, specs_attrs, lookups) + tree declarator, specs_attrs, lookups; +{ + tree d; + frob_specs (specs_attrs, lookups); + d = start_method (current_declspecs, declarator, prefix_attributes); + decl_type_access_control (d); + return d; +} + +static void +check_class_key (key, aggr) + tree key; + tree aggr; +{ + if (TREE_CODE (key) == TREE_LIST) + key = TREE_VALUE (key); + if ((key == union_type_node) != (TREE_CODE (aggr) == UNION_TYPE)) + pedwarn ("`%s' tag used in naming `%#T'", + key == union_type_node ? "union" + : key == record_type_node ? "struct" : "class", aggr); +} + + + +/* Enabling traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif + +/* Enabling verbose error messages. */ +#ifdef YYERROR_VERBOSE +# undef YYERROR_VERBOSE +# define YYERROR_VERBOSE 1 +#else +# define YYERROR_VERBOSE 0 +#endif + +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) +#line 271 "parse.y" +typedef union YYSTYPE { GTY(()) + long itype; + tree ttype; + char *strtype; + enum tree_code code; + flagged_type_tree ftype; + struct unparsed_text *pi; +} YYSTYPE; +/* Line 191 of yacc.c. */ +#line 501 "p9863.c" +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 +#endif + + + +/* Copy the second part of user declarations. */ +#line 478 "parse.y" + +/* 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 PARAMS ((FILE *, int, YYSTYPE)); + + +/* Line 214 of yacc.c. */ +#line 518 "p9863.c" + +#if ! defined (yyoverflow) || YYERROR_VERBOSE + +/* The parser invokes alloca or malloc; define the necessary symbols. */ + +# if YYSTACK_USE_ALLOCA +# define YYSTACK_ALLOC alloca +# else +# ifndef YYSTACK_USE_ALLOCA +# if defined (alloca) || defined (_ALLOCA_H) +# define YYSTACK_ALLOC alloca +# else +# ifdef __GNUC__ +# define YYSTACK_ALLOC __builtin_alloca +# endif +# endif +# endif +# endif + +# ifdef YYSTACK_ALLOC + /* Pacify GCC's `empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) +# else +# if defined (__STDC__) || defined (__cplusplus) +# include /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# endif +# define YYSTACK_ALLOC malloc +# define YYSTACK_FREE free +# endif +#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */ + + +#if (! defined (yyoverflow) \ + && (! defined (__cplusplus) \ + || (YYSTYPE_IS_TRIVIAL))) + +/* A type that is properly aligned for any stack member. */ +union yyalloc +{ + short yyss; + YYSTYPE yyvs; + }; + +/* The size of the maximum gap between one aligned stack and the next. */ +# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) + +/* The size of an array large to enough to hold all stacks, each with + N elements. */ +# define YYSTACK_BYTES(N) \ + ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ + + YYSTACK_GAP_MAXIMUM) + +/* Copy COUNT objects from FROM to TO. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if 1 < __GNUC__ +# define YYCOPY(To, From, Count) \ + __builtin_memcpy (To, From, (Count) * sizeof (*(From))) +# else +# define YYCOPY(To, From, Count) \ + do \ + { \ + register YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (To)[yyi] = (From)[yyi]; \ + } \ + while (0) +# endif +# endif + +/* Relocate STACK from its old location to the new one. The + local variables YYSIZE and YYSTACKSIZE give the old and new number of + elements in the stack, and YYPTR gives the new location of the + stack. Advance YYPTR to a properly aligned location for the next + stack. */ +# define YYSTACK_RELOCATE(Stack) \ + do \ + { \ + YYSIZE_T yynewbytes; \ + YYCOPY (&yyptr->Stack, Stack, yysize); \ + Stack = &yyptr->Stack; \ + yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ + yyptr += yynewbytes / sizeof (*yyptr); \ + } \ + while (0) + +#endif + +#if defined (__STDC__) || defined (__cplusplus) + typedef signed char yysigned_char; +#else + typedef short yysigned_char; +#endif + +/* YYFINAL -- State number of the termination state. */ +#define YYFINAL 4 +/* YYLAST -- Last index in YYTABLE. */ +#define YYLAST 13318 + +/* YYNTOKENS -- Number of terminals. */ +#define YYNTOKENS 114 +/* YYNNTS -- Number of nonterminals. */ +#define YYNNTS 297 +/* YYNRULES -- Number of rules. */ +#define YYNRULES 930 +/* YYNRULES -- Number of states. */ +#define YYNSTATES 1823 + +/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ +#define YYUNDEFTOK 2 +#define YYMAXUTOK 344 + +#define YYTRANSLATE(YYX) \ + ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) + +/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ +static const unsigned 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, 112, 2, 2, 2, 85, 73, 2, + 94, 110, 83, 81, 62, 82, 93, 84, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 65, 63, + 76, 66, 77, 68, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 95, 2, 113, 72, 2, 2, 2, 2, 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, 71, 111, 88, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, + 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, + 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, + 55, 56, 57, 58, 59, 60, 64, 67, 69, 70, + 74, 75, 78, 79, 80, 86, 87, 89, 90, 91, + 92, 96, 97, 98, 99, 100, 101, 102, 103, 104, + 105, 106, 107, 108, 109 +}; + +#if YYDEBUG +/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in + YYRHS. */ +static const unsigned short yyprhs[] = +{ + 0, 0, 3, 4, 6, 7, 10, 13, 15, 16, + 17, 18, 20, 22, 23, 26, 29, 31, 32, 36, + 38, 44, 49, 55, 60, 61, 68, 69, 75, 77, + 80, 82, 85, 86, 93, 96, 100, 104, 108, 112, + 117, 118, 124, 127, 131, 133, 135, 138, 141, 143, + 146, 147, 153, 157, 159, 161, 163, 167, 169, 170, + 173, 176, 180, 182, 186, 188, 192, 194, 198, 201, + 204, 207, 209, 211, 217, 222, 225, 228, 232, 236, + 239, 242, 246, 250, 253, 256, 259, 262, 265, 268, + 270, 272, 274, 276, 277, 279, 282, 283, 285, 286, + 293, 297, 301, 305, 306, 315, 321, 322, 332, 339, + 340, 349, 355, 356, 366, 373, 376, 379, 381, 384, + 386, 393, 402, 407, 414, 421, 426, 429, 431, 434, + 437, 439, 442, 444, 447, 450, 455, 458, 459, 463, + 464, 465, 467, 471, 474, 475, 477, 479, 481, 486, + 489, 491, 493, 495, 497, 499, 501, 503, 505, 507, + 509, 511, 513, 514, 521, 522, 529, 530, 536, 537, + 543, 544, 552, 553, 561, 562, 569, 570, 577, 578, + 579, 585, 591, 593, 595, 601, 607, 608, 610, 612, + 613, 615, 617, 621, 622, 625, 627, 629, 632, 634, + 638, 640, 642, 644, 646, 648, 650, 652, 654, 658, + 660, 664, 665, 667, 669, 670, 678, 680, 682, 686, + 691, 695, 699, 703, 707, 711, 713, 715, 717, 720, + 723, 726, 729, 732, 735, 738, 743, 746, 751, 754, + 758, 762, 767, 772, 778, 784, 791, 794, 799, 805, + 808, 811, 815, 819, 823, 825, 829, 832, 836, 841, + 843, 846, 852, 854, 858, 862, 866, 870, 874, 878, + 882, 886, 890, 894, 898, 902, 906, 910, 914, 918, + 922, 926, 930, 936, 940, 944, 946, 949, 951, 955, + 959, 963, 967, 971, 975, 979, 983, 987, 991, 995, + 999, 1003, 1007, 1011, 1015, 1019, 1023, 1029, 1033, 1037, + 1039, 1042, 1046, 1050, 1052, 1054, 1056, 1058, 1060, 1061, + 1067, 1073, 1079, 1085, 1091, 1093, 1095, 1097, 1099, 1102, + 1104, 1107, 1110, 1114, 1119, 1124, 1126, 1128, 1130, 1134, + 1136, 1138, 1140, 1142, 1144, 1148, 1152, 1156, 1157, 1162, + 1167, 1170, 1175, 1178, 1185, 1190, 1193, 1196, 1198, 1203, + 1205, 1213, 1221, 1229, 1237, 1242, 1247, 1250, 1253, 1256, + 1258, 1263, 1266, 1269, 1275, 1279, 1282, 1285, 1291, 1295, + 1301, 1305, 1310, 1317, 1320, 1322, 1325, 1327, 1330, 1332, + 1334, 1335, 1338, 1341, 1345, 1349, 1353, 1356, 1359, 1362, + 1364, 1366, 1368, 1371, 1374, 1377, 1380, 1382, 1384, 1386, + 1388, 1391, 1394, 1398, 1402, 1406, 1411, 1413, 1416, 1419, + 1421, 1423, 1426, 1429, 1432, 1434, 1437, 1440, 1444, 1446, + 1449, 1452, 1454, 1456, 1458, 1460, 1462, 1464, 1466, 1471, + 1476, 1481, 1486, 1488, 1490, 1492, 1494, 1498, 1500, 1504, + 1506, 1510, 1511, 1516, 1517, 1524, 1528, 1529, 1534, 1536, + 1540, 1544, 1545, 1550, 1554, 1555, 1557, 1559, 1562, 1569, + 1571, 1575, 1576, 1578, 1583, 1590, 1595, 1597, 1599, 1601, + 1603, 1605, 1609, 1610, 1613, 1615, 1618, 1622, 1627, 1629, + 1631, 1635, 1640, 1644, 1650, 1654, 1658, 1662, 1663, 1667, + 1671, 1675, 1676, 1679, 1682, 1683, 1690, 1691, 1697, 1700, + 1703, 1706, 1707, 1708, 1709, 1721, 1723, 1724, 1726, 1727, + 1729, 1731, 1734, 1737, 1740, 1743, 1746, 1749, 1753, 1758, + 1762, 1765, 1769, 1774, 1776, 1779, 1781, 1784, 1787, 1790, + 1793, 1797, 1801, 1804, 1805, 1808, 1812, 1814, 1819, 1821, + 1825, 1827, 1829, 1832, 1835, 1839, 1843, 1844, 1846, 1850, + 1853, 1856, 1858, 1861, 1864, 1867, 1870, 1873, 1876, 1879, + 1881, 1884, 1887, 1891, 1893, 1896, 1899, 1904, 1909, 1912, + 1914, 1920, 1925, 1927, 1928, 1930, 1934, 1935, 1937, 1941, + 1943, 1945, 1947, 1949, 1954, 1959, 1964, 1969, 1974, 1978, + 1983, 1988, 1993, 1998, 2002, 2005, 2007, 2009, 2013, 2015, + 2019, 2022, 2024, 2031, 2032, 2035, 2037, 2040, 2042, 2045, + 2049, 2053, 2055, 2059, 2061, 2064, 2068, 2072, 2075, 2078, + 2082, 2084, 2089, 2094, 2098, 2102, 2105, 2107, 2109, 2112, + 2114, 2116, 2119, 2122, 2124, 2127, 2131, 2135, 2138, 2141, + 2145, 2147, 2151, 2155, 2158, 2161, 2165, 2167, 2172, 2176, + 2181, 2185, 2187, 2190, 2193, 2196, 2199, 2202, 2205, 2208, + 2210, 2213, 2218, 2223, 2226, 2228, 2230, 2232, 2234, 2237, + 2242, 2246, 2250, 2253, 2256, 2259, 2262, 2264, 2267, 2270, + 2273, 2276, 2280, 2282, 2285, 2289, 2294, 2297, 2300, 2303, + 2306, 2309, 2312, 2317, 2320, 2322, 2325, 2328, 2332, 2334, + 2338, 2341, 2345, 2348, 2351, 2355, 2357, 2361, 2366, 2368, + 2371, 2375, 2378, 2381, 2383, 2387, 2390, 2393, 2395, 2398, + 2402, 2404, 2408, 2415, 2420, 2425, 2429, 2435, 2439, 2443, + 2447, 2450, 2452, 2454, 2457, 2460, 2463, 2464, 2466, 2468, + 2471, 2475, 2476, 2481, 2483, 2484, 2485, 2491, 2493, 2494, + 2498, 2500, 2503, 2505, 2508, 2509, 2514, 2516, 2517, 2518, + 2524, 2525, 2526, 2534, 2535, 2536, 2537, 2538, 2551, 2552, + 2553, 2561, 2562, 2568, 2569, 2577, 2578, 2583, 2586, 2589, + 2592, 2596, 2603, 2612, 2623, 2632, 2645, 2656, 2667, 2672, + 2676, 2679, 2682, 2684, 2686, 2688, 2690, 2692, 2693, 2694, + 2700, 2701, 2702, 2708, 2710, 2713, 2714, 2715, 2716, 2722, + 2724, 2726, 2730, 2734, 2737, 2740, 2743, 2746, 2749, 2751, + 2754, 2755, 2757, 2758, 2760, 2762, 2763, 2765, 2767, 2771, + 2776, 2784, 2786, 2790, 2791, 2793, 2795, 2797, 2800, 2803, + 2806, 2808, 2811, 2814, 2815, 2819, 2821, 2823, 2825, 2828, + 2831, 2834, 2839, 2842, 2845, 2848, 2851, 2854, 2857, 2859, + 2862, 2864, 2867, 2869, 2871, 2872, 2873, 2875, 2881, 2885, + 2886, 2890, 2891, 2892, 2897, 2900, 2902, 2904, 2906, 2910, + 2911, 2915, 2919, 2923, 2925, 2926, 2930, 2934, 2938, 2942, + 2946, 2950, 2954, 2958, 2962, 2966, 2970, 2974, 2978, 2982, + 2986, 2990, 2994, 2998, 3002, 3006, 3010, 3014, 3018, 3023, + 3027, 3031, 3035, 3039, 3044, 3048, 3052, 3058, 3064, 3069, + 3073 +}; + +/* YYRHS -- A `-1'-separated list of the rules' RHS. */ +static const short yyrhs[] = +{ + 115, 0, -1, -1, 116, -1, -1, 117, 123, -1, + 116, 123, -1, 116, -1, -1, -1, -1, 33, -1, + 28, -1, -1, 124, 125, -1, 156, 153, -1, 150, + -1, -1, 57, 126, 147, -1, 147, -1, 122, 94, + 12, 110, 63, -1, 137, 61, 118, 111, -1, 137, + 119, 156, 120, 153, -1, 137, 119, 150, 120, -1, + -1, 46, 173, 61, 127, 118, 111, -1, -1, 46, + 61, 128, 118, 111, -1, 129, -1, 131, 63, -1, + 133, -1, 121, 125, -1, -1, 46, 173, 66, 130, + 136, 63, -1, 48, 319, -1, 48, 333, 319, -1, + 48, 333, 218, -1, 48, 135, 173, -1, 48, 333, + 173, -1, 48, 333, 135, 173, -1, -1, 48, 46, + 134, 136, 63, -1, 59, 56, -1, 135, 59, 56, + -1, 218, -1, 319, -1, 333, 319, -1, 333, 218, + -1, 99, -1, 137, 99, -1, -1, 50, 76, 139, + 142, 77, -1, 50, 76, 77, -1, 138, -1, 140, + -1, 146, -1, 142, 62, 146, -1, 173, -1, -1, + 279, 143, -1, 47, 143, -1, 138, 279, 143, -1, + 144, -1, 144, 66, 233, -1, 397, -1, 397, 66, + 213, -1, 145, -1, 145, 66, 194, -1, 141, 148, + -1, 141, 1, -1, 156, 153, -1, 149, -1, 147, + -1, 137, 119, 156, 120, 153, -1, 137, 119, 149, + 120, -1, 121, 148, -1, 247, 63, -1, 237, 246, + 63, -1, 234, 245, 63, -1, 271, 63, -1, 247, + 63, -1, 237, 246, 63, -1, 234, 245, 63, -1, + 237, 63, -1, 176, 63, -1, 234, 63, -1, 1, + 63, -1, 1, 111, -1, 1, 109, -1, 63, -1, + 400, -1, 228, -1, 167, -1, -1, 166, -1, 166, + 63, -1, -1, 109, -1, -1, 169, 151, 410, 61, + 155, 204, -1, 162, 152, 154, -1, 162, 152, 368, + -1, 162, 152, 1, -1, -1, 324, 5, 94, 158, + 388, 110, 306, 403, -1, 324, 5, 49, 306, 403, + -1, -1, 333, 324, 5, 94, 159, 388, 110, 306, + 403, -1, 333, 324, 5, 49, 306, 403, -1, -1, + 324, 189, 94, 160, 388, 110, 306, 403, -1, 324, + 189, 49, 306, 403, -1, -1, 333, 324, 189, 94, + 161, 388, 110, 306, 403, -1, 333, 324, 189, 49, + 306, 403, -1, 234, 231, -1, 237, 316, -1, 316, + -1, 237, 157, -1, 157, -1, 5, 94, 388, 110, + 306, 403, -1, 94, 5, 110, 94, 388, 110, 306, + 403, -1, 5, 49, 306, 403, -1, 94, 5, 110, + 49, 306, 403, -1, 189, 94, 388, 110, 306, 403, + -1, 189, 49, 306, 403, -1, 237, 163, -1, 163, + -1, 234, 231, -1, 237, 316, -1, 316, -1, 237, + 157, -1, 157, -1, 26, 3, -1, 165, 264, -1, + 165, 94, 206, 110, -1, 165, 49, -1, -1, 65, + 168, 170, -1, -1, -1, 172, -1, 170, 62, 172, + -1, 170, 1, -1, -1, 174, -1, 312, -1, 326, + -1, 171, 94, 206, 110, -1, 171, 49, -1, 1, + -1, 3, -1, 4, -1, 5, -1, 60, -1, 59, + -1, 3, -1, 60, -1, 59, -1, 106, -1, 105, + -1, 107, -1, -1, 50, 185, 243, 63, 177, 186, + -1, -1, 50, 185, 234, 231, 178, 186, -1, -1, + 50, 185, 316, 179, 186, -1, -1, 50, 185, 157, + 180, 186, -1, -1, 7, 50, 185, 243, 63, 181, + 186, -1, -1, 7, 50, 185, 234, 231, 182, 186, + -1, -1, 7, 50, 185, 316, 183, 186, -1, -1, + 7, 50, 185, 157, 184, 186, -1, -1, -1, 60, + 76, 192, 191, 190, -1, 4, 76, 192, 191, 190, + -1, 189, -1, 187, -1, 173, 76, 192, 77, 190, + -1, 5, 76, 192, 191, 190, -1, -1, 77, -1, + 79, -1, -1, 193, -1, 194, -1, 193, 62, 194, + -1, -1, 195, 196, -1, 233, -1, 60, -1, 333, + 60, -1, 213, -1, 324, 50, 173, -1, 82, -1, + 81, -1, 90, -1, 89, -1, 112, -1, 205, -1, + 212, -1, 49, -1, 94, 198, 110, -1, 49, -1, + 94, 202, 110, -1, -1, 202, -1, 1, -1, -1, + 378, 231, 248, 257, 66, 203, 265, -1, 198, -1, + 111, -1, 341, 339, 111, -1, 341, 339, 1, 111, + -1, 341, 1, 111, -1, 212, 62, 212, -1, 212, + 62, 1, -1, 205, 62, 212, -1, 205, 62, 1, + -1, 212, -1, 205, -1, 223, -1, 121, 211, -1, + 83, 211, -1, 73, 211, -1, 88, 211, -1, 197, + 211, -1, 70, 173, -1, 240, 207, -1, 240, 94, + 233, 110, -1, 241, 207, -1, 241, 94, 233, 110, + -1, 225, 305, -1, 225, 305, 209, -1, 225, 208, + 305, -1, 225, 208, 305, 209, -1, 225, 94, 233, + 110, -1, 225, 94, 233, 110, 209, -1, 225, 208, + 94, 233, 110, -1, 225, 208, 94, 233, 110, 209, + -1, 226, 211, -1, 226, 95, 113, 211, -1, 226, + 95, 198, 113, 211, -1, 35, 211, -1, 36, 211, + -1, 94, 206, 110, -1, 61, 206, 111, -1, 94, + 206, 110, -1, 49, -1, 94, 243, 110, -1, 66, + 265, -1, 94, 233, 110, -1, 210, 94, 233, 110, + -1, 207, -1, 210, 207, -1, 210, 61, 266, 277, + 111, -1, 211, -1, 212, 87, 212, -1, 212, 86, + 212, -1, 212, 81, 212, -1, 212, 82, 212, -1, + 212, 83, 212, -1, 212, 84, 212, -1, 212, 85, + 212, -1, 212, 80, 212, -1, 212, 79, 212, -1, + 212, 78, 212, -1, 212, 76, 212, -1, 212, 77, + 212, -1, 212, 75, 212, -1, 212, 74, 212, -1, + 212, 73, 212, -1, 212, 71, 212, -1, 212, 72, + 212, -1, 212, 70, 212, -1, 212, 69, 212, -1, + 212, 68, 383, 65, 212, -1, 212, 66, 212, -1, + 212, 67, 212, -1, 64, -1, 64, 212, -1, 211, + -1, 213, 87, 213, -1, 213, 86, 213, -1, 213, + 81, 213, -1, 213, 82, 213, -1, 213, 83, 213, + -1, 213, 84, 213, -1, 213, 85, 213, -1, 213, + 80, 213, -1, 213, 79, 213, -1, 213, 78, 213, + -1, 213, 76, 213, -1, 213, 75, 213, -1, 213, + 74, 213, -1, 213, 73, 213, -1, 213, 71, 213, + -1, 213, 72, 213, -1, 213, 70, 213, -1, 213, + 69, 213, -1, 213, 68, 383, 65, 213, -1, 213, + 66, 213, -1, 213, 67, 213, -1, 64, -1, 64, + 213, -1, 88, 398, 173, -1, 88, 398, 187, -1, + 216, -1, 409, -1, 3, -1, 60, -1, 59, -1, + -1, 6, 76, 215, 192, 191, -1, 409, 76, 215, + 192, 191, -1, 50, 173, 76, 192, 191, -1, 50, + 6, 76, 192, 191, -1, 50, 409, 76, 192, 191, + -1, 214, -1, 4, -1, 5, -1, 220, -1, 258, + 220, -1, 214, -1, 83, 219, -1, 73, 219, -1, + 94, 219, 110, -1, 3, 76, 192, 191, -1, 59, + 76, 193, 191, -1, 318, -1, 214, -1, 221, -1, + 94, 219, 110, -1, 214, -1, 10, -1, 227, -1, + 12, -1, 11, -1, 94, 198, 110, -1, 94, 219, + 110, -1, 94, 1, 110, -1, -1, 94, 224, 344, + 110, -1, 214, 94, 206, 110, -1, 214, 49, -1, + 223, 94, 206, 110, -1, 223, 49, -1, 37, 94, + 212, 62, 233, 110, -1, 223, 95, 198, 113, -1, + 223, 90, -1, 223, 89, -1, 42, -1, 9, 94, + 206, 110, -1, 322, -1, 52, 76, 233, 77, 94, + 198, 110, -1, 53, 76, 233, 77, 94, 198, 110, + -1, 54, 76, 233, 77, 94, 198, 110, -1, 55, + 76, 233, 77, 94, 198, 110, -1, 51, 94, 198, + 110, -1, 51, 94, 233, 110, -1, 333, 3, -1, + 333, 216, -1, 333, 409, -1, 321, -1, 321, 94, + 206, 110, -1, 321, 49, -1, 229, 217, -1, 229, + 217, 94, 206, 110, -1, 229, 217, 49, -1, 229, + 218, -1, 229, 321, -1, 229, 218, 94, 206, 110, + -1, 229, 218, 49, -1, 229, 321, 94, 206, 110, + -1, 229, 321, 49, -1, 229, 88, 8, 49, -1, + 229, 8, 56, 88, 8, 49, -1, 229, 1, -1, + 41, -1, 333, 41, -1, 40, -1, 333, 226, -1, + 44, -1, 45, -1, -1, 223, 93, -1, 223, 96, + -1, 243, 245, 63, -1, 234, 245, 63, -1, 237, + 246, 63, -1, 234, 63, -1, 237, 63, -1, 121, + 230, -1, 310, -1, 316, -1, 49, -1, 232, 49, + -1, 238, 337, -1, 307, 337, -1, 243, 337, -1, + 238, -1, 307, -1, 238, -1, 235, -1, 237, 243, + -1, 243, 236, -1, 243, 239, 236, -1, 237, 243, + 236, -1, 237, 243, 239, -1, 237, 243, 239, 236, + -1, 7, -1, 236, 244, -1, 236, 7, -1, 307, + -1, 7, -1, 237, 9, -1, 237, 7, -1, 237, + 258, -1, 243, -1, 307, 243, -1, 243, 239, -1, + 307, 243, 239, -1, 244, -1, 239, 244, -1, 239, + 258, -1, 258, -1, 14, -1, 30, -1, 29, -1, + 271, -1, 8, -1, 313, -1, 242, 94, 198, 110, + -1, 242, 94, 233, 110, -1, 31, 94, 198, 110, + -1, 31, 94, 233, 110, -1, 8, -1, 9, -1, + 271, -1, 253, -1, 245, 62, 249, -1, 254, -1, + 246, 62, 249, -1, 255, -1, 247, 62, 249, -1, + -1, 122, 94, 12, 110, -1, -1, 231, 248, 257, + 66, 250, 265, -1, 231, 248, 257, -1, -1, 257, + 66, 252, 265, -1, 257, -1, 231, 248, 251, -1, + 316, 248, 251, -1, -1, 316, 248, 256, 251, -1, + 157, 248, 257, -1, -1, 258, -1, 259, -1, 258, + 259, -1, 32, 94, 94, 260, 110, 110, -1, 261, + -1, 260, 62, 261, -1, -1, 262, -1, 262, 94, + 3, 110, -1, 262, 94, 3, 62, 206, 110, -1, + 262, 94, 206, 110, -1, 173, -1, 7, -1, 8, + -1, 9, -1, 173, -1, 263, 62, 173, -1, -1, + 66, 265, -1, 212, -1, 61, 111, -1, 61, 266, + 111, -1, 61, 266, 62, 111, -1, 1, -1, 265, + -1, 266, 62, 265, -1, 95, 212, 113, 265, -1, + 173, 65, 265, -1, 266, 62, 173, 65, 265, -1, + 104, 152, 154, -1, 104, 152, 368, -1, 104, 152, + 1, -1, -1, 268, 267, 153, -1, 103, 212, 109, + -1, 103, 1, 109, -1, -1, 270, 269, -1, 270, + 1, -1, -1, 15, 173, 61, 272, 302, 111, -1, + -1, 15, 61, 273, 302, 111, -1, 15, 173, -1, + 15, 331, -1, 47, 326, -1, -1, -1, -1, 283, + 284, 61, 274, 289, 111, 257, 275, 270, 276, 268, + -1, 282, -1, -1, 62, -1, -1, 62, -1, 38, + -1, 279, 7, -1, 279, 8, -1, 279, 9, -1, + 279, 38, -1, 279, 258, -1, 279, 173, -1, 279, + 324, 173, -1, 279, 333, 324, 173, -1, 279, 333, + 173, -1, 279, 188, -1, 279, 324, 188, -1, 279, + 333, 324, 188, -1, 280, -1, 279, 175, -1, 281, + -1, 280, 61, -1, 280, 65, -1, 281, 61, -1, + 281, 65, -1, 279, 175, 61, -1, 279, 175, 65, + -1, 279, 61, -1, -1, 65, 398, -1, 65, 398, + 285, -1, 286, -1, 285, 62, 398, 286, -1, 287, + -1, 288, 398, 287, -1, 326, -1, 312, -1, 39, + 398, -1, 7, 398, -1, 288, 39, 398, -1, 288, + 7, 398, -1, -1, 291, -1, 289, 290, 291, -1, + 289, 290, -1, 39, 65, -1, 292, -1, 291, 292, + -1, 293, 63, -1, 293, 111, -1, 164, 65, -1, + 164, 98, -1, 164, 26, -1, 164, 61, -1, 63, + -1, 121, 292, -1, 141, 292, -1, 141, 234, 63, + -1, 400, -1, 234, 294, -1, 237, 295, -1, 316, + 248, 257, 264, -1, 157, 248, 257, 264, -1, 65, + 212, -1, 1, -1, 237, 163, 248, 257, 264, -1, + 163, 248, 257, 264, -1, 131, -1, -1, 296, -1, + 294, 62, 297, -1, -1, 299, -1, 295, 62, 301, + -1, 298, -1, 299, -1, 300, -1, 301, -1, 310, + 248, 257, 264, -1, 4, 65, 212, 257, -1, 316, + 248, 257, 264, -1, 157, 248, 257, 264, -1, 3, + 65, 212, 257, -1, 65, 212, 257, -1, 310, 248, + 257, 264, -1, 4, 65, 212, 257, -1, 316, 248, + 257, 264, -1, 3, 65, 212, 257, -1, 65, 212, + 257, -1, 303, 278, -1, 278, -1, 304, -1, 303, + 62, 304, -1, 173, -1, 173, 66, 212, -1, 378, + 334, -1, 378, -1, 94, 233, 110, 95, 198, 113, + -1, -1, 306, 9, -1, 9, -1, 307, 9, -1, + 258, -1, 307, 258, -1, 94, 206, 110, -1, 94, + 388, 110, -1, 49, -1, 94, 1, 110, -1, 310, + -1, 258, 310, -1, 83, 307, 309, -1, 73, 307, + 309, -1, 83, 309, -1, 73, 309, -1, 332, 306, + 309, -1, 311, -1, 311, 308, 306, 403, -1, 311, + 95, 198, 113, -1, 311, 95, 113, -1, 94, 309, + 110, -1, 324, 323, -1, 323, -1, 323, -1, 333, + 323, -1, 312, -1, 314, -1, 333, 314, -1, 324, + 323, -1, 316, -1, 258, 316, -1, 83, 307, 315, + -1, 73, 307, 315, -1, 83, 315, -1, 73, 315, + -1, 332, 306, 315, -1, 222, -1, 83, 307, 315, + -1, 73, 307, 315, -1, 83, 317, -1, 73, 317, + -1, 332, 306, 315, -1, 318, -1, 222, 308, 306, + 403, -1, 94, 317, 110, -1, 222, 95, 198, 113, + -1, 222, 95, 113, -1, 320, -1, 333, 320, -1, + 333, 214, -1, 324, 221, -1, 324, 218, -1, 324, + 217, -1, 324, 214, -1, 324, 217, -1, 320, -1, + 333, 320, -1, 243, 94, 206, 110, -1, 243, 94, + 219, 110, -1, 243, 232, -1, 4, -1, 5, -1, + 187, -1, 325, -1, 324, 325, -1, 324, 50, 330, + 56, -1, 324, 3, 56, -1, 324, 60, 56, -1, + 4, 56, -1, 5, 56, -1, 59, 56, -1, 187, + 56, -1, 327, -1, 333, 327, -1, 328, 173, -1, + 328, 187, -1, 328, 330, -1, 328, 50, 330, -1, + 329, -1, 328, 329, -1, 328, 330, 56, -1, 328, + 50, 330, 56, -1, 4, 56, -1, 5, 56, -1, + 187, 56, -1, 60, 56, -1, 3, 56, -1, 59, + 56, -1, 173, 76, 192, 191, -1, 333, 323, -1, + 314, -1, 333, 314, -1, 324, 83, -1, 333, 324, + 83, -1, 56, -1, 83, 306, 334, -1, 83, 306, + -1, 73, 306, 334, -1, 73, 306, -1, 332, 306, + -1, 332, 306, 334, -1, 335, -1, 95, 198, 113, + -1, 335, 95, 198, 113, -1, 337, -1, 258, 337, + -1, 83, 307, 336, -1, 83, 336, -1, 83, 307, + -1, 83, -1, 73, 307, 336, -1, 73, 336, -1, + 73, 307, -1, 73, -1, 332, 306, -1, 332, 306, + 336, -1, 338, -1, 94, 336, 110, -1, 338, 94, + 388, 110, 306, 403, -1, 338, 49, 306, 403, -1, + 338, 95, 198, 113, -1, 338, 95, 113, -1, 94, + 389, 110, 306, 403, -1, 210, 306, 403, -1, 232, + 306, 403, -1, 95, 198, 113, -1, 95, 113, -1, + 352, -1, 340, -1, 339, 352, -1, 339, 340, -1, + 1, 63, -1, -1, 342, -1, 343, -1, 342, 343, + -1, 34, 263, 63, -1, -1, 410, 61, 345, 204, + -1, 344, -1, -1, -1, 16, 348, 200, 349, 350, + -1, 346, -1, -1, 351, 410, 353, -1, 346, -1, + 410, 353, -1, 230, -1, 198, 63, -1, -1, 347, + 17, 354, 350, -1, 347, -1, -1, -1, 18, 355, + 200, 356, 350, -1, -1, -1, 19, 357, 350, 18, + 358, 199, 63, -1, -1, -1, -1, -1, 20, 359, + 94, 381, 360, 201, 63, 361, 383, 110, 362, 350, + -1, -1, -1, 21, 363, 94, 202, 110, 364, 350, + -1, -1, 22, 212, 65, 365, 352, -1, -1, 22, + 212, 13, 212, 65, 366, 352, -1, -1, 23, 65, + 367, 352, -1, 24, 63, -1, 25, 63, -1, 26, + 63, -1, 26, 198, 63, -1, 122, 382, 94, 12, + 110, 63, -1, 122, 382, 94, 12, 65, 384, 110, + 63, -1, 122, 382, 94, 12, 65, 384, 65, 384, + 110, 63, -1, 122, 382, 94, 12, 56, 384, 110, + 63, -1, 122, 382, 94, 12, 65, 384, 65, 384, + 65, 387, 110, 63, -1, 122, 382, 94, 12, 56, + 384, 65, 387, 110, 63, -1, 122, 382, 94, 12, + 65, 384, 56, 387, 110, 63, -1, 27, 83, 198, + 63, -1, 27, 173, 63, -1, 380, 352, -1, 380, + 111, -1, 63, -1, 371, -1, 133, -1, 132, -1, + 129, -1, -1, -1, 98, 369, 154, 370, 374, -1, + -1, -1, 98, 372, 346, 373, 374, -1, 375, -1, + 374, 375, -1, -1, -1, -1, 97, 376, 379, 377, + 346, -1, 238, -1, 307, -1, 94, 13, 110, -1, + 94, 397, 110, -1, 3, 65, -1, 60, 65, -1, + 4, 65, -1, 5, 65, -1, 383, 63, -1, 230, + -1, 61, 204, -1, -1, 9, -1, -1, 198, -1, + 1, -1, -1, 385, -1, 386, -1, 385, 62, 386, + -1, 12, 94, 198, 110, -1, 95, 173, 113, 12, + 94, 198, 110, -1, 12, -1, 387, 62, 12, -1, + -1, 389, -1, 233, -1, 393, -1, 394, 13, -1, + 393, 13, -1, 233, 13, -1, 13, -1, 393, 65, + -1, 233, 65, -1, -1, 66, 391, 392, -1, 102, + -1, 265, -1, 395, -1, 397, 390, -1, 394, 396, + -1, 394, 399, -1, 394, 399, 66, 265, -1, 393, + 62, -1, 233, 62, -1, 235, 231, -1, 238, 231, + -1, 243, 231, -1, 235, 337, -1, 235, -1, 237, + 316, -1, 397, -1, 397, 390, -1, 395, -1, 233, + -1, -1, -1, 316, -1, 3, 401, 3, 402, 63, + -1, 76, 192, 191, -1, -1, 94, 206, 110, -1, + -1, -1, 64, 94, 405, 110, -1, 64, 49, -1, + 233, -1, 1, -1, 404, -1, 405, 62, 404, -1, + -1, 83, 306, 406, -1, 73, 306, 406, -1, 332, + 306, 406, -1, 43, -1, -1, 407, 83, 408, -1, + 407, 84, 408, -1, 407, 85, 408, -1, 407, 81, + 408, -1, 407, 82, 408, -1, 407, 73, 408, -1, + 407, 71, 408, -1, 407, 72, 408, -1, 407, 88, + 408, -1, 407, 62, 408, -1, 407, 78, 408, -1, + 407, 76, 408, -1, 407, 77, 408, -1, 407, 75, + 408, -1, 407, 67, 408, -1, 407, 66, 408, -1, + 407, 80, 408, -1, 407, 79, 408, -1, 407, 90, + 408, -1, 407, 89, 408, -1, 407, 70, 408, -1, + 407, 69, 408, -1, 407, 112, 408, -1, 407, 68, + 65, 408, -1, 407, 74, 408, -1, 407, 96, 408, + -1, 407, 87, 408, -1, 407, 49, 408, -1, 407, + 95, 113, 408, -1, 407, 41, 408, -1, 407, 40, + 408, -1, 407, 41, 95, 113, 408, -1, 407, 40, + 95, 113, 408, -1, 407, 378, 406, 408, -1, 407, + 1, 408, -1, -1 +}; + +/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ +static const unsigned short yyrline[] = +{ + 0, 487, 487, 488, 497, 497, 500, 505, 506, 510, + 514, 518, 524, 528, 528, 536, 538, 542, 541, 545, + 547, 549, 551, 553, 556, 555, 560, 559, 563, 564, + 566, 567, 573, 572, 584, 586, 588, 593, 595, 597, + 603, 602, 617, 623, 633, 634, 635, 637, 642, 644, + 652, 651, 658, 664, 665, 669, 671, 676, 679, 683, + 685, 690, 702, 704, 706, 708, 710, 712, 720, 722, + 727, 729, 731, 733, 736, 739, 744, 745, 747, 749, + 760, 761, 763, 765, 767, 768, 775, 776, 777, 779, + 780, 784, 785, 788, 790, 791, 794, 796, 804, 803, + 814, 816, 818, 824, 823, 827, 832, 831, 835, 840, + 839, 843, 848, 847, 851, 858, 862, 865, 868, 871, + 880, 882, 885, 887, 889, 891, 898, 906, 909, 911, + 913, 916, 918, 924, 931, 933, 935, 940, 940, 950, + 957, 961, 966, 977, 982, 988, 991, 994, 1000, 1003, + 1006, 1012, 1013, 1014, 1015, 1016, 1020, 1021, 1022, 1026, + 1027, 1028, 1033, 1032, 1037, 1036, 1041, 1040, 1044, 1043, + 1047, 1046, 1053, 1051, 1058, 1057, 1062, 1061, 1068, 1072, + 1080, 1083, 1086, 1090, 1091, 1097, 1103, 1113, 1114, 1124, + 1125, 1129, 1131, 1136, 1136, 1145, 1147, 1153, 1159, 1160, + 1173, 1175, 1177, 1179, 1181, 1186, 1188, 1192, 1196, 1201, + 1205, 1211, 1212, 1213, 1219, 1218, 1240, 1244, 1245, 1246, + 1247, 1251, 1254, 1257, 1259, 1264, 1266, 1270, 1273, 1276, + 1278, 1280, 1282, 1285, 1287, 1290, 1294, 1297, 1304, 1307, + 1310, 1313, 1316, 1321, 1324, 1327, 1331, 1333, 1337, 1341, + 1343, 1348, 1350, 1356, 1358, 1360, 1365, 1376, 1380, 1387, + 1388, 1390, 1404, 1406, 1408, 1410, 1412, 1414, 1416, 1418, + 1420, 1422, 1424, 1426, 1428, 1430, 1432, 1434, 1436, 1438, + 1440, 1442, 1444, 1446, 1450, 1452, 1454, 1459, 1461, 1463, + 1465, 1467, 1469, 1471, 1473, 1475, 1477, 1479, 1481, 1483, + 1485, 1487, 1489, 1491, 1493, 1495, 1497, 1499, 1503, 1505, + 1507, 1512, 1514, 1516, 1517, 1518, 1519, 1520, 1524, 1537, + 1544, 1554, 1556, 1558, 1564, 1565, 1566, 1570, 1571, 1580, + 1581, 1583, 1585, 1590, 1592, 1597, 1600, 1601, 1602, 1607, + 1614, 1615, 1616, 1626, 1628, 1630, 1633, 1636, 1635, 1650, + 1652, 1654, 1656, 1658, 1661, 1663, 1665, 1668, 1670, 1681, + 1682, 1686, 1690, 1694, 1698, 1700, 1704, 1706, 1708, 1716, + 1725, 1727, 1729, 1731, 1733, 1735, 1737, 1739, 1741, 1743, + 1745, 1748, 1750, 1752, 1797, 1799, 1804, 1806, 1811, 1813, + 1819, 1826, 1828, 1836, 1841, 1845, 1847, 1852, 1854, 1862, + 1863, 1868, 1871, 1878, 1881, 1884, 1888, 1891, 1902, 1904, + 1909, 1912, 1915, 1918, 1921, 1924, 1931, 1936, 1938, 1960, + 1962, 1967, 1972, 1980, 1991, 1994, 1997, 2000, 2006, 2008, + 2010, 2012, 2017, 2021, 2025, 2033, 2035, 2037, 2039, 2043, + 2047, 2062, 2082, 2084, 2086, 2090, 2091, 2096, 2097, 2102, + 2103, 2109, 2110, 2116, 2115, 2120, 2135, 2134, 2141, 2148, + 2153, 2159, 2158, 2166, 2175, 2176, 2181, 2183, 2188, 2193, + 2195, 2201, 2202, 2204, 2206, 2208, 2216, 2217, 2218, 2219, + 2224, 2226, 2231, 2233, 2241, 2242, 2245, 2248, 2251, 2258, + 2260, 2263, 2265, 2267, 2272, 2277, 2282, 2288, 2290, 2296, + 2298, 2303, 2304, 2306, 2312, 2311, 2321, 2320, 2329, 2332, + 2335, 2342, 2367, 2385, 2341, 2394, 2402, 2404, 2407, 2409, + 2415, 2416, 2418, 2420, 2422, 2424, 2429, 2434, 2439, 2444, + 2452, 2457, 2462, 2470, 2477, 2483, 2491, 2500, 2508, 2514, + 2520, 2528, 2536, 2551, 2552, 2555, 2560, 2561, 2566, 2568, + 2573, 2576, 2581, 2582, 2586, 2597, 2611, 2612, 2613, 2614, + 2618, 2627, 2633, 2642, 2643, 2648, 2650, 2652, 2654, 2656, + 2658, 2661, 2671, 2676, 2684, 2705, 2711, 2713, 2715, 2717, + 2728, 2733, 2735, 2743, 2744, 2751, 2763, 2764, 2771, 2782, + 2783, 2787, 2788, 2792, 2795, 2801, 2804, 2807, 2810, 2816, + 2818, 2823, 2825, 2827, 2832, 2833, 2841, 2842, 2846, 2848, + 2854, 2857, 2862, 2873, 2875, 2880, 2883, 2886, 2889, 2899, + 2901, 2903, 2905, 2912, 2913, 2923, 2925, 2927, 2929, 2931, + 2935, 2939, 2941, 2943, 2945, 2947, 2951, 2955, 2965, 2976, + 2977, 2978, 2983, 2991, 2992, 3001, 3003, 3005, 3007, 3009, + 3013, 3017, 3019, 3021, 3023, 3025, 3029, 3033, 3035, 3037, + 3039, 3041, 3043, 3045, 3049, 3057, 3060, 3066, 3069, 3075, + 3076, 3081, 3083, 3085, 3090, 3091, 3092, 3096, 3097, 3099, + 3103, 3106, 3114, 3124, 3130, 3136, 3141, 3142, 3147, 3160, + 3162, 3164, 3169, 3176, 3189, 3192, 3200, 3212, 3218, 3220, + 3221, 3222, 3231, 3236, 3244, 3245, 3250, 3252, 3259, 3265, + 3267, 3269, 3271, 3273, 3277, 3281, 3286, 3288, 3293, 3294, + 3304, 3306, 3308, 3310, 3312, 3314, 3316, 3318, 3320, 3324, + 3328, 3333, 3336, 3338, 3340, 3342, 3344, 3346, 3348, 3350, + 3352, 3361, 3362, 3363, 3364, 3368, 3373, 3375, 3381, 3382, + 3386, 3398, 3397, 3405, 3411, 3414, 3410, 3421, 3423, 3423, + 3431, 3432, 3437, 3440, 3443, 3442, 3450, 3454, 3459, 3453, + 3464, 3466, 3463, 3474, 3476, 3478, 3480, 3473, 3485, 3487, + 3484, 3492, 3491, 3496, 3495, 3500, 3499, 3503, 3505, 3507, + 3509, 3511, 3516, 3519, 3522, 3525, 3528, 3531, 3534, 3540, + 3542, 3544, 3548, 3551, 3553, 3555, 3558, 3564, 3566, 3563, + 3573, 3575, 3572, 3581, 3582, 3584, 3596, 3598, 3595, 3604, + 3605, 3609, 3625, 3634, 3636, 3638, 3640, 3645, 3647, 3648, + 3658, 3659, 3664, 3665, 3666, 3674, 3675, 3679, 3680, 3685, + 3687, 3694, 3696, 3708, 3711, 3712, 3720, 3722, 3725, 3727, + 3730, 3732, 3742, 3758, 3757, 3764, 3765, 3770, 3773, 3776, + 3779, 3781, 3786, 3787, 3797, 3800, 3803, 3807, 3810, 3813, + 3819, 3822, 3828, 3829, 3833, 3838, 3843, 3860, 3868, 3870, + 3874, 3876, 3880, 3882, 3884, 3889, 3894, 3899, 3901, 3906, + 3908, 3910, 3912, 3919, 3932, 3941, 3943, 3945, 3947, 3949, + 3951, 3953, 3955, 3957, 3959, 3961, 3963, 3965, 3967, 3969, + 3971, 3973, 3975, 3977, 3979, 3981, 3983, 3985, 3987, 3989, + 3991, 3993, 3995, 3997, 3999, 4001, 4003, 4005, 4007, 4009, + 4017 +}; +#endif + +#if YYDEBUG || YYERROR_VERBOSE +/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. + First, the terminals, then, starting at YYNTOKENS, nonterminals. */ +static const char *const yytname[] = +{ + "$end", "error", "$undefined", "IDENTIFIER", "tTYPENAME", "SELFNAME", + "PFUNCNAME", "SCSPEC", "TYPESPEC", "CV_QUALIFIER", "CONSTANT", + "VAR_FUNC_NAME", "STRING", "ELLIPSIS", "SIZEOF", "ENUM", "IF", "ELSE", + "WHILE", "DO", "FOR", "SWITCH", "CASE", "DEFAULT", "BREAK", "CONTINUE", + "RETURN_KEYWORD", "GOTO", "ASM_KEYWORD", "TYPEOF", "ALIGNOF", "SIGOF", + "ATTRIBUTE", "EXTENSION", "LABEL", "REALPART", "IMAGPART", "VA_ARG", + "AGGR", "VISSPEC", "DELETE", "NEW", "THIS", "OPERATOR", "CXX_TRUE", + "CXX_FALSE", "NAMESPACE", "TYPENAME_KEYWORD", "USING", "LEFT_RIGHT", + "TEMPLATE", "TYPEID", "DYNAMIC_CAST", "STATIC_CAST", "REINTERPRET_CAST", + "CONST_CAST", "SCOPE", "EXPORT", "EMPTY", "NSNAME", "PTYPENAME", "'{'", + "','", "';'", "THROW", "':'", "'='", "ASSIGN", "'?'", "OROR", "ANDAND", + "'|'", "'^'", "'&'", "MIN_MAX", "EQCOMPARE", "'<'", "'>'", + "ARITHCOMPARE", "RSHIFT", "LSHIFT", "'+'", "'-'", "'*'", "'/'", "'%'", + "DOT_STAR", "POINTSAT_STAR", "'~'", "MINUSMINUS", "PLUSPLUS", "UNARY", + "HYPERUNARY", "'.'", "'('", "'['", "POINTSAT", "CATCH", "TRY", + "EXTERN_LANG_STRING", "ALL", "PRE_PARSED_CLASS_DECL", "DEFARG", + "DEFARG_MARKER", "PRE_PARSED_FUNCTION_DECL", "TYPENAME_DEFN", + "IDENTIFIER_DEFN", "PTYPENAME_DEFN", "END_OF_LINE", + "END_OF_SAVED_INPUT", "')'", "'}'", "'!'", "']'", "$accept", "program", + "extdefs", "@1", "extdefs_opt", ".hush_warning", ".warning_ok", + "extension", "asm_keyword", "lang_extdef", "@2", "extdef", "@3", "@4", + "@5", "namespace_alias", "@6", "using_decl", "namespace_using_decl", + "using_directive", "@7", "namespace_qualifier", "any_id", + "extern_lang_string", "template_parm_header", "@8", + "template_spec_header", "template_header", "template_parm_list", + "maybe_identifier", "template_type_parm", "template_template_parm", + "template_parm", "template_def", "template_extdef", "template_datadef", + "datadef", "ctor_initializer_opt", "maybe_return_init", + "eat_saved_input", "function_body", "@9", "fndef", + "constructor_declarator", "@10", "@11", "@12", "@13", "fn.def1", + "component_constructor_declarator", "fn_def2", "return_id", + "return_init", "base_init", "@14", "begin_function_body_", + "member_init_list", "begin_member_init", "member_init", "identifier", + "notype_identifier", "identifier_defn", "explicit_instantiation", "@15", + "@16", "@17", "@18", "@19", "@20", "@21", "@22", + "begin_explicit_instantiation", "end_explicit_instantiation", + "template_type", "apparent_template_type", "self_template_type", + "finish_template_type_", "template_close_bracket", + "template_arg_list_opt", "template_arg_list", "template_arg", "@23", + "template_arg_1", "unop", "expr", "paren_expr_or_null", + "paren_cond_or_null", "xcond", "condition", "@24", "compstmtend", + "nontrivial_exprlist", "nonnull_exprlist", "unary_expr", + "new_placement", "new_initializer", "regcast_or_absdcl", "cast_expr", + "expr_no_commas", "expr_no_comma_rangle", "notype_unqualified_id", + "do_id", "template_id", "object_template_id", "unqualified_id", + "expr_or_declarator_intern", "expr_or_declarator", + "notype_template_declarator", "direct_notype_declarator", "primary", + "@25", "new", "delete", "boolean_literal", "nodecls", "object", "decl", + "declarator", "fcast_or_absdcl", "type_id", "typed_declspecs", + "typed_declspecs1", "reserved_declspecs", "declmods", "typed_typespecs", + "reserved_typespecquals", "sizeof", "alignof", "typeof", "typespec", + "typespecqual_reserved", "initdecls", "notype_initdecls", + "nomods_initdecls", "maybeasm", "initdcl", "@26", "initdcl0_innards", + "@27", "initdcl0", "notype_initdcl0", "nomods_initdcl0", "@28", + "maybe_attribute", "attributes", "attribute", "attribute_list", + "attrib", "any_word", "identifiers_or_typenames", "maybe_init", "init", + "initlist", "pending_inline", "pending_inlines", "defarg_again", + "pending_defargs", "structsp", "@29", "@30", "@31", "@32", "@33", + "maybecomma", "maybecomma_warn", "aggr", "class_head", + "class_head_apparent_template", "class_head_decl", "class_head_defn", + "maybe_base_class_list", "base_class_list", "base_class", + "base_class_1", "base_class_access_list", "opt.component_decl_list", + "access_specifier", "component_decl_list", "component_decl", + "component_decl_1", "components", "notype_components", + "component_declarator0", "component_declarator", + "after_type_component_declarator0", "notype_component_declarator0", + "after_type_component_declarator", "notype_component_declarator", + "enumlist_opt", "enumlist", "enumerator", "new_type_id", + "cv_qualifiers", "nonempty_cv_qualifiers", "maybe_parmlist", + "after_type_declarator_intern", "after_type_declarator", + "direct_after_type_declarator", "nonnested_type", "complete_type_name", + "nested_type", "notype_declarator_intern", "notype_declarator", + "complex_notype_declarator", "complex_direct_notype_declarator", + "qualified_id", "notype_qualified_id", "overqualified_id", + "functional_cast", "type_name", "nested_name_specifier", + "nested_name_specifier_1", "typename_sub", "typename_sub0", + "typename_sub1", "typename_sub2", "explicit_template_type", + "complex_type_name", "ptr_to_mem", "global_scope", "new_declarator", + "direct_new_declarator", "absdcl_intern", "absdcl", + "direct_abstract_declarator", "stmts", "errstmt", "maybe_label_decls", + "label_decls", "label_decl", "compstmt_or_stmtexpr", "@34", "compstmt", + "simple_if", "@35", "@36", "implicitly_scoped_stmt", "@37", "stmt", + "simple_stmt", "@38", "@39", "@40", "@41", "@42", "@43", "@44", "@45", + "@46", "@47", "@48", "@49", "@50", "@51", "function_try_block", "@52", + "@53", "try_block", "@54", "@55", "handler_seq", "handler", "@56", + "@57", "type_specifier_seq", "handler_args", "label_colon", + "for.init.statement", "maybe_cv_qualifier", "xexpr", "asm_operands", + "nonnull_asm_operands", "asm_operand", "asm_clobbers", "parmlist", + "complex_parmlist", "defarg", "@58", "defarg1", "parms", "parms_comma", + "named_parm", "full_parm", "parm", "see_typename", "bad_parm", + "bad_decl", "template_arg_list_ignore", "arg_list_ignore", + "exception_specification_opt", "ansi_raise_identifier", + "ansi_raise_identifiers", "conversion_declarator", "operator", + "unoperator", "operator_name", "save_lineno", 0 +}; +#endif + +# ifdef YYPRINT +/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to + token YYLEX-NUM. */ +static const unsigned short yytoknum[] = +{ + 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, + 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, + 315, 123, 44, 59, 316, 58, 61, 317, 63, 318, + 319, 124, 94, 38, 320, 321, 60, 62, 322, 323, + 324, 43, 45, 42, 47, 37, 325, 326, 126, 327, + 328, 329, 330, 46, 40, 91, 331, 332, 333, 334, + 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, + 41, 125, 33, 93 +}; +# endif + +/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ +static const unsigned short yyr1[] = +{ + 0, 114, 115, 115, 117, 116, 116, 118, 118, 119, + 120, 121, 122, 124, 123, 125, 125, 126, 125, 125, + 125, 125, 125, 125, 127, 125, 128, 125, 125, 125, + 125, 125, 130, 129, 131, 131, 131, 132, 132, 132, + 134, 133, 135, 135, 136, 136, 136, 136, 137, 137, + 139, 138, 140, 141, 141, 142, 142, 143, 143, 144, + 144, 145, 146, 146, 146, 146, 146, 146, 147, 147, + 148, 148, 148, 148, 148, 148, 149, 149, 149, 149, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 151, 151, 152, 152, 152, 153, 153, 155, 154, + 156, 156, 156, 158, 157, 157, 159, 157, 157, 160, + 157, 157, 161, 157, 157, 162, 162, 162, 162, 162, + 163, 163, 163, 163, 163, 163, 164, 164, 164, 164, + 164, 164, 164, 165, 166, 166, 166, 168, 167, 169, + 170, 170, 170, 170, 171, 171, 171, 171, 172, 172, + 172, 173, 173, 173, 173, 173, 174, 174, 174, 175, + 175, 175, 177, 176, 178, 176, 179, 176, 180, 176, + 181, 176, 182, 176, 183, 176, 184, 176, 185, 186, + 187, 187, 187, 188, 188, 189, 190, 191, 191, 192, + 192, 193, 193, 195, 194, 196, 196, 196, 196, 196, + 197, 197, 197, 197, 197, 198, 198, 199, 199, 200, + 200, 201, 201, 201, 203, 202, 202, 204, 204, 204, + 204, 205, 205, 205, 205, 206, 206, 207, 207, 207, + 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, + 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, + 207, 208, 208, 209, 209, 209, 209, 210, 210, 211, + 211, 211, 212, 212, 212, 212, 212, 212, 212, 212, + 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, + 212, 212, 212, 212, 212, 212, 212, 213, 213, 213, + 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, + 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, + 213, 214, 214, 214, 214, 214, 214, 214, 215, 216, + 216, 217, 217, 217, 218, 218, 218, 219, 219, 220, + 220, 220, 220, 221, 221, 222, 222, 222, 222, 223, + 223, 223, 223, 223, 223, 223, 223, 224, 223, 223, + 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, + 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, + 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, + 223, 223, 223, 223, 225, 225, 226, 226, 227, 227, + 228, 229, 229, 230, 230, 230, 230, 230, 230, 231, + 231, 232, 232, 233, 233, 233, 233, 233, 234, 234, + 235, 235, 235, 235, 235, 235, 236, 236, 236, 237, + 237, 237, 237, 237, 238, 238, 238, 238, 239, 239, + 239, 239, 240, 241, 242, 243, 243, 243, 243, 243, + 243, 243, 244, 244, 244, 245, 245, 246, 246, 247, + 247, 248, 248, 250, 249, 249, 252, 251, 251, 253, + 254, 256, 255, 255, 257, 257, 258, 258, 259, 260, + 260, 261, 261, 261, 261, 261, 262, 262, 262, 262, + 263, 263, 264, 264, 265, 265, 265, 265, 265, 266, + 266, 266, 266, 266, 267, 267, 267, 268, 268, 269, + 269, 270, 270, 270, 272, 271, 273, 271, 271, 271, + 271, 274, 275, 276, 271, 271, 277, 277, 278, 278, + 279, 279, 279, 279, 279, 279, 280, 280, 280, 280, + 281, 281, 281, 282, 282, 282, 283, 283, 283, 283, + 283, 283, 283, 284, 284, 284, 285, 285, 286, 286, + 287, 287, 288, 288, 288, 288, 289, 289, 289, 289, + 290, 291, 291, 292, 292, 292, 292, 292, 292, 292, + 292, 292, 292, 292, 293, 293, 293, 293, 293, 293, + 293, 293, 293, 294, 294, 294, 295, 295, 295, 296, + 296, 297, 297, 298, 298, 299, 299, 299, 299, 300, + 300, 301, 301, 301, 302, 302, 303, 303, 304, 304, + 305, 305, 305, 306, 306, 307, 307, 307, 307, 308, + 308, 308, 308, 309, 309, 310, 310, 310, 310, 310, + 310, 311, 311, 311, 311, 311, 311, 312, 312, 313, + 313, 313, 314, 315, 315, 316, 316, 316, 316, 316, + 316, 317, 317, 317, 317, 317, 317, 318, 318, 318, + 318, 318, 318, 318, 318, 319, 319, 320, 320, 321, + 321, 322, 322, 322, 323, 323, 323, 324, 324, 324, + 324, 324, 325, 325, 325, 325, 326, 326, 327, 327, + 327, 327, 328, 328, 328, 328, 329, 329, 329, 329, + 329, 329, 330, 331, 331, 331, 332, 332, 333, 334, + 334, 334, 334, 334, 334, 334, 335, 335, 336, 336, + 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, + 337, 338, 338, 338, 338, 338, 338, 338, 338, 338, + 338, 339, 339, 339, 339, 340, 341, 341, 342, 342, + 343, 345, 344, 346, 348, 349, 347, 350, 351, 350, + 352, 352, 353, 353, 354, 353, 353, 355, 356, 353, + 357, 358, 353, 359, 360, 361, 362, 353, 363, 364, + 353, 365, 353, 366, 353, 367, 353, 353, 353, 353, + 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, + 353, 353, 353, 353, 353, 353, 353, 369, 370, 368, + 372, 373, 371, 374, 374, 374, 376, 377, 375, 378, + 378, 379, 379, 380, 380, 380, 380, 381, 381, 381, + 382, 382, 383, 383, 383, 384, 384, 385, 385, 386, + 386, 387, 387, 388, 388, 388, 389, 389, 389, 389, + 389, 389, 389, 391, 390, 392, 392, 393, 393, 393, + 393, 393, 394, 394, 395, 395, 395, 395, 395, 395, + 396, 396, 397, 397, 398, 399, 399, 400, 401, 401, + 402, 402, 403, 403, 403, 404, 404, 405, 405, 406, + 406, 406, 406, 407, 408, 409, 409, 409, 409, 409, + 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, + 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, + 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, + 410 +}; + +/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ +static const unsigned char yyr2[] = +{ + 0, 2, 0, 1, 0, 2, 2, 1, 0, 0, + 0, 1, 1, 0, 2, 2, 1, 0, 3, 1, + 5, 4, 5, 4, 0, 6, 0, 5, 1, 2, + 1, 2, 0, 6, 2, 3, 3, 3, 3, 4, + 0, 5, 2, 3, 1, 1, 2, 2, 1, 2, + 0, 5, 3, 1, 1, 1, 3, 1, 0, 2, + 2, 3, 1, 3, 1, 3, 1, 3, 2, 2, + 2, 1, 1, 5, 4, 2, 2, 3, 3, 2, + 2, 3, 3, 2, 2, 2, 2, 2, 2, 1, + 1, 1, 1, 0, 1, 2, 0, 1, 0, 6, + 3, 3, 3, 0, 8, 5, 0, 9, 6, 0, + 8, 5, 0, 9, 6, 2, 2, 1, 2, 1, + 6, 8, 4, 6, 6, 4, 2, 1, 2, 2, + 1, 2, 1, 2, 2, 4, 2, 0, 3, 0, + 0, 1, 3, 2, 0, 1, 1, 1, 4, 2, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 0, 6, 0, 6, 0, 5, 0, 5, + 0, 7, 0, 7, 0, 6, 0, 6, 0, 0, + 5, 5, 1, 1, 5, 5, 0, 1, 1, 0, + 1, 1, 3, 0, 2, 1, 1, 2, 1, 3, + 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, + 3, 0, 1, 1, 0, 7, 1, 1, 3, 4, + 3, 3, 3, 3, 3, 1, 1, 1, 2, 2, + 2, 2, 2, 2, 2, 4, 2, 4, 2, 3, + 3, 4, 4, 5, 5, 6, 2, 4, 5, 2, + 2, 3, 3, 3, 1, 3, 2, 3, 4, 1, + 2, 5, 1, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 5, 3, 3, 1, 2, 1, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 5, 3, 3, 1, + 2, 3, 3, 1, 1, 1, 1, 1, 0, 5, + 5, 5, 5, 5, 1, 1, 1, 1, 2, 1, + 2, 2, 3, 4, 4, 1, 1, 1, 3, 1, + 1, 1, 1, 1, 3, 3, 3, 0, 4, 4, + 2, 4, 2, 6, 4, 2, 2, 1, 4, 1, + 7, 7, 7, 7, 4, 4, 2, 2, 2, 1, + 4, 2, 2, 5, 3, 2, 2, 5, 3, 5, + 3, 4, 6, 2, 1, 2, 1, 2, 1, 1, + 0, 2, 2, 3, 3, 3, 2, 2, 2, 1, + 1, 1, 2, 2, 2, 2, 1, 1, 1, 1, + 2, 2, 3, 3, 3, 4, 1, 2, 2, 1, + 1, 2, 2, 2, 1, 2, 2, 3, 1, 2, + 2, 1, 1, 1, 1, 1, 1, 1, 4, 4, + 4, 4, 1, 1, 1, 1, 3, 1, 3, 1, + 3, 0, 4, 0, 6, 3, 0, 4, 1, 3, + 3, 0, 4, 3, 0, 1, 1, 2, 6, 1, + 3, 0, 1, 4, 6, 4, 1, 1, 1, 1, + 1, 3, 0, 2, 1, 2, 3, 4, 1, 1, + 3, 4, 3, 5, 3, 3, 3, 0, 3, 3, + 3, 0, 2, 2, 0, 6, 0, 5, 2, 2, + 2, 0, 0, 0, 11, 1, 0, 1, 0, 1, + 1, 2, 2, 2, 2, 2, 2, 3, 4, 3, + 2, 3, 4, 1, 2, 1, 2, 2, 2, 2, + 3, 3, 2, 0, 2, 3, 1, 4, 1, 3, + 1, 1, 2, 2, 3, 3, 0, 1, 3, 2, + 2, 1, 2, 2, 2, 2, 2, 2, 2, 1, + 2, 2, 3, 1, 2, 2, 4, 4, 2, 1, + 5, 4, 1, 0, 1, 3, 0, 1, 3, 1, + 1, 1, 1, 4, 4, 4, 4, 4, 3, 4, + 4, 4, 4, 3, 2, 1, 1, 3, 1, 3, + 2, 1, 6, 0, 2, 1, 2, 1, 2, 3, + 3, 1, 3, 1, 2, 3, 3, 2, 2, 3, + 1, 4, 4, 3, 3, 2, 1, 1, 2, 1, + 1, 2, 2, 1, 2, 3, 3, 2, 2, 3, + 1, 3, 3, 2, 2, 3, 1, 4, 3, 4, + 3, 1, 2, 2, 2, 2, 2, 2, 2, 1, + 2, 4, 4, 2, 1, 1, 1, 1, 2, 4, + 3, 3, 2, 2, 2, 2, 1, 2, 2, 2, + 2, 3, 1, 2, 3, 4, 2, 2, 2, 2, + 2, 2, 4, 2, 1, 2, 2, 3, 1, 3, + 2, 3, 2, 2, 3, 1, 3, 4, 1, 2, + 3, 2, 2, 1, 3, 2, 2, 1, 2, 3, + 1, 3, 6, 4, 4, 3, 5, 3, 3, 3, + 2, 1, 1, 2, 2, 2, 0, 1, 1, 2, + 3, 0, 4, 1, 0, 0, 5, 1, 0, 3, + 1, 2, 1, 2, 0, 4, 1, 0, 0, 5, + 0, 0, 7, 0, 0, 0, 0, 12, 0, 0, + 7, 0, 5, 0, 7, 0, 4, 2, 2, 2, + 3, 6, 8, 10, 8, 12, 10, 10, 4, 3, + 2, 2, 1, 1, 1, 1, 1, 0, 0, 5, + 0, 0, 5, 1, 2, 0, 0, 0, 5, 1, + 1, 3, 3, 2, 2, 2, 2, 2, 1, 2, + 0, 1, 0, 1, 1, 0, 1, 1, 3, 4, + 7, 1, 3, 0, 1, 1, 1, 2, 2, 2, + 1, 2, 2, 0, 3, 1, 1, 1, 2, 2, + 2, 4, 2, 2, 2, 2, 2, 2, 1, 2, + 1, 2, 1, 1, 0, 0, 1, 5, 3, 0, + 3, 0, 0, 4, 2, 1, 1, 1, 3, 0, + 3, 3, 3, 1, 0, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, + 3, 3, 3, 4, 3, 3, 5, 5, 4, 3, + 0 +}; + +/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state + STATE-NUM when YYTABLE doesn't specify something else to do. Zero + means the default is an error. */ +static const unsigned short yydefact[] = +{ + 4, 0, 13, 13, 1, 6, 0, 5, 0, 315, + 674, 675, 0, 420, 436, 615, 0, 12, 434, 0, + 0, 11, 520, 893, 0, 0, 0, 178, 708, 17, + 317, 316, 89, 0, 0, 874, 0, 48, 0, 0, + 14, 28, 0, 30, 9, 53, 54, 0, 19, 16, + 96, 119, 93, 0, 676, 182, 336, 313, 337, 650, + 0, 409, 0, 408, 0, 424, 0, 449, 617, 466, + 435, 0, 533, 535, 515, 543, 419, 639, 437, 640, + 117, 335, 661, 637, 0, 677, 613, 0, 90, 0, + 314, 86, 88, 87, 193, 0, 682, 193, 683, 193, + 318, 178, 151, 152, 153, 155, 154, 506, 508, 0, + 704, 0, 509, 0, 0, 0, 152, 153, 155, 154, + 26, 0, 0, 0, 0, 0, 0, 0, 510, 686, + 0, 692, 0, 0, 0, 40, 0, 0, 34, 0, + 0, 50, 0, 0, 684, 193, 193, 315, 617, 0, + 648, 643, 0, 0, 0, 647, 0, 0, 0, 0, + 336, 0, 327, 0, 0, 0, 335, 613, 31, 0, + 29, 4, 49, 0, 69, 420, 0, 0, 9, 72, + 68, 71, 96, 0, 0, 0, 435, 97, 15, 0, + 464, 0, 0, 482, 94, 84, 685, 621, 0, 0, + 613, 85, 0, 0, 0, 115, 0, 445, 399, 630, + 400, 636, 0, 613, 422, 421, 83, 118, 410, 0, + 447, 423, 116, 0, 416, 442, 443, 411, 426, 428, + 431, 444, 0, 80, 467, 521, 522, 523, 524, 542, + 160, 159, 161, 526, 534, 183, 530, 525, 0, 0, + 536, 537, 538, 539, 874, 0, 616, 425, 618, 0, + 461, 315, 675, 0, 316, 706, 182, 667, 668, 664, + 642, 678, 0, 315, 317, 663, 641, 662, 638, 0, + 894, 894, 894, 894, 894, 894, 894, 0, 894, 894, + 894, 894, 894, 894, 894, 894, 894, 894, 894, 894, + 894, 894, 894, 894, 894, 894, 894, 894, 894, 0, + 894, 894, 819, 424, 820, 889, 318, 0, 190, 191, + 0, 881, 0, 0, 193, 0, 518, 504, 0, 0, + 0, 705, 703, 615, 340, 343, 342, 432, 433, 0, + 0, 0, 386, 384, 357, 388, 389, 0, 0, 0, + 0, 0, 285, 0, 0, 201, 200, 0, 0, 203, + 202, 0, 204, 0, 0, 0, 205, 259, 0, 262, + 206, 339, 227, 0, 0, 341, 0, 0, 406, 0, + 0, 424, 407, 669, 369, 359, 0, 0, 471, 4, + 24, 32, 700, 696, 697, 701, 699, 698, 151, 152, + 153, 0, 155, 154, 688, 689, 693, 690, 687, 0, + 315, 325, 326, 324, 666, 665, 36, 35, 52, 0, + 168, 0, 0, 424, 166, 18, 0, 0, 193, 644, + 618, 646, 0, 645, 152, 153, 311, 312, 331, 617, + 0, 654, 330, 0, 653, 0, 338, 317, 316, 0, + 0, 0, 329, 328, 658, 0, 0, 13, 0, 178, + 10, 10, 75, 0, 70, 0, 0, 76, 79, 0, + 463, 465, 133, 102, 807, 100, 390, 101, 136, 0, + 0, 134, 95, 0, 850, 226, 0, 225, 845, 868, + 0, 406, 424, 407, 0, 844, 846, 875, 857, 0, + 0, 660, 0, 0, 882, 617, 0, 628, 623, 0, + 627, 0, 0, 0, 0, 0, 613, 464, 0, 82, + 0, 613, 635, 0, 413, 414, 0, 81, 464, 0, + 0, 418, 417, 412, 429, 430, 451, 450, 193, 540, + 541, 151, 154, 527, 531, 529, 0, 544, 511, 427, + 464, 680, 613, 103, 0, 0, 0, 0, 681, 613, + 109, 614, 0, 649, 675, 707, 182, 929, 0, 925, + 0, 924, 922, 904, 910, 909, 894, 916, 915, 901, + 902, 900, 919, 908, 906, 907, 905, 912, 911, 898, + 899, 895, 896, 897, 921, 903, 914, 913, 894, 920, + 917, 426, 613, 613, 0, 613, 0, 894, 193, 187, + 188, 333, 193, 316, 309, 194, 287, 198, 195, 0, + 0, 0, 0, 186, 186, 0, 176, 0, 424, 174, + 519, 608, 605, 0, 518, 606, 518, 0, 0, 249, + 250, 0, 0, 0, 0, 0, 0, 286, 233, 230, + 229, 231, 0, 0, 0, 0, 0, 339, 0, 930, + 0, 228, 232, 440, 0, 0, 0, 260, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 350, 0, 352, 356, 355, 391, 0, 0, 392, + 0, 0, 0, 238, 611, 0, 246, 383, 0, 0, + 874, 372, 375, 376, 0, 0, 441, 401, 727, 723, + 0, 0, 613, 613, 613, 403, 730, 0, 234, 0, + 236, 0, 673, 405, 0, 0, 404, 371, 0, 366, + 385, 367, 387, 670, 0, 368, 477, 478, 479, 476, + 0, 469, 472, 0, 4, 0, 691, 193, 694, 0, + 44, 45, 0, 58, 0, 0, 0, 62, 66, 55, + 873, 424, 58, 872, 64, 179, 164, 162, 179, 334, + 186, 0, 652, 651, 338, 0, 655, 0, 21, 23, + 96, 10, 10, 78, 77, 0, 139, 137, 930, 92, + 91, 488, 0, 484, 483, 0, 622, 619, 849, 863, + 852, 727, 723, 0, 864, 613, 867, 869, 0, 0, + 865, 0, 866, 620, 848, 862, 851, 847, 876, 859, + 870, 860, 853, 858, 659, 0, 673, 0, 657, 624, + 618, 626, 625, 617, 0, 0, 0, 0, 0, 0, + 613, 634, 0, 459, 458, 446, 633, 0, 882, 0, + 629, 415, 448, 460, 438, 439, 464, 0, 528, 532, + 674, 675, 874, 874, 676, 545, 546, 548, 874, 551, + 550, 0, 0, 462, 882, 843, 193, 193, 679, 193, + 882, 843, 613, 106, 613, 112, 894, 894, 918, 923, + 889, 889, 889, 0, 928, 0, 192, 310, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 197, 0, 877, 181, 185, 319, 179, 172, 170, 179, + 0, 507, 519, 604, 0, 0, 0, 0, 0, 0, + 424, 0, 0, 0, 346, 0, 344, 345, 0, 0, + 257, 224, 223, 315, 674, 675, 317, 316, 0, 0, + 489, 516, 0, 222, 221, 283, 284, 834, 833, 0, + 281, 280, 278, 279, 277, 276, 275, 273, 274, 272, + 271, 270, 265, 266, 267, 268, 269, 264, 263, 0, + 0, 0, 0, 0, 0, 0, 240, 254, 0, 0, + 239, 613, 613, 0, 613, 610, 715, 0, 0, 0, + 0, 0, 374, 0, 378, 0, 380, 0, 617, 726, + 725, 718, 722, 721, 873, 0, 0, 740, 0, 0, + 882, 402, 882, 728, 613, 843, 0, 0, 0, 727, + 723, 0, 0, 613, 0, 617, 0, 0, 0, 0, + 471, 0, 0, 27, 0, 0, 695, 0, 41, 47, + 46, 60, 57, 50, 58, 0, 51, 0, 193, 59, + 526, 0, 169, 179, 179, 167, 180, 333, 332, 20, + 22, 74, 96, 452, 808, 0, 0, 485, 0, 135, + 617, 726, 722, 727, 723, 0, 617, 637, 0, 613, + 728, 0, 727, 723, 0, 339, 0, 669, 0, 871, + 0, 0, 884, 0, 0, 0, 0, 456, 632, 631, + 455, 186, 553, 552, 874, 874, 874, 0, 579, 675, + 0, 569, 0, 0, 0, 582, 0, 132, 127, 0, + 182, 583, 586, 0, 0, 561, 0, 130, 573, 105, + 0, 0, 0, 0, 111, 0, 882, 843, 882, 843, + 927, 926, 891, 890, 892, 320, 307, 308, 0, 305, + 304, 302, 303, 301, 300, 299, 298, 297, 296, 295, + 290, 291, 292, 293, 294, 289, 288, 199, 880, 177, + 179, 179, 175, 609, 607, 505, 358, 0, 364, 365, + 0, 0, 0, 0, 345, 348, 751, 0, 0, 0, + 0, 258, 0, 349, 351, 354, 252, 251, 242, 0, + 241, 256, 0, 0, 712, 710, 0, 713, 0, 247, + 0, 0, 193, 381, 0, 0, 0, 719, 618, 724, + 720, 731, 613, 739, 737, 738, 0, 729, 882, 0, + 735, 0, 235, 237, 671, 672, 727, 723, 0, 370, + 470, 468, 315, 0, 25, 33, 702, 61, 56, 63, + 67, 65, 165, 163, 73, 815, 150, 156, 158, 157, + 0, 0, 141, 145, 146, 147, 98, 0, 486, 618, + 726, 722, 727, 723, 0, 613, 642, 728, 0, 0, + 672, 366, 367, 670, 368, 861, 855, 856, 854, 886, + 885, 887, 0, 0, 0, 0, 618, 0, 0, 453, + 184, 0, 555, 554, 549, 613, 843, 578, 0, 570, + 583, 571, 464, 464, 567, 568, 565, 566, 613, 843, + 315, 674, 0, 451, 128, 574, 584, 589, 590, 451, + 451, 0, 0, 451, 126, 575, 587, 451, 0, 464, + 0, 562, 563, 564, 464, 613, 322, 321, 323, 613, + 108, 0, 114, 0, 0, 173, 171, 0, 0, 0, + 0, 0, 746, 0, 492, 0, 490, 261, 282, 0, + 243, 244, 253, 255, 711, 709, 716, 714, 0, 248, + 0, 0, 373, 377, 379, 882, 733, 613, 734, 0, + 473, 475, 816, 809, 813, 143, 0, 149, 0, 746, + 487, 726, 722, 0, 728, 345, 0, 883, 617, 457, + 0, 547, 882, 0, 0, 572, 482, 482, 882, 0, + 0, 0, 464, 464, 0, 464, 464, 0, 464, 0, + 560, 512, 0, 482, 882, 882, 613, 613, 306, 353, + 0, 0, 0, 0, 0, 217, 752, 0, 747, 748, + 491, 0, 0, 245, 717, 382, 321, 736, 882, 0, + 0, 814, 142, 0, 99, 727, 723, 0, 618, 0, + 888, 454, 122, 613, 613, 843, 577, 581, 125, 613, + 464, 464, 598, 482, 315, 674, 0, 585, 591, 592, + 451, 451, 482, 482, 0, 482, 588, 501, 576, 104, + 110, 882, 882, 360, 361, 362, 363, 480, 0, 0, + 0, 742, 753, 760, 741, 0, 749, 493, 612, 732, + 474, 0, 817, 148, 617, 882, 882, 0, 882, 597, + 594, 596, 0, 0, 464, 464, 464, 593, 595, 580, + 0, 107, 113, 0, 750, 745, 220, 0, 218, 744, + 743, 315, 674, 675, 754, 767, 770, 773, 778, 0, + 0, 0, 0, 0, 0, 0, 0, 316, 802, 810, + 0, 830, 806, 805, 804, 0, 762, 0, 0, 424, + 766, 761, 803, 930, 0, 0, 930, 120, 123, 613, + 124, 464, 464, 603, 482, 482, 503, 0, 502, 497, + 481, 219, 823, 825, 826, 0, 0, 758, 0, 0, + 0, 785, 787, 788, 789, 0, 0, 0, 0, 0, + 0, 0, 824, 930, 398, 831, 0, 763, 396, 451, + 0, 397, 0, 451, 0, 0, 764, 801, 800, 821, + 822, 818, 882, 602, 600, 599, 601, 0, 0, 514, + 209, 0, 755, 768, 757, 0, 930, 0, 0, 0, + 781, 930, 790, 0, 799, 42, 155, 37, 155, 0, + 38, 811, 0, 394, 395, 0, 0, 0, 393, 758, + 121, 500, 499, 93, 96, 216, 0, 424, 0, 758, + 758, 771, 0, 746, 828, 774, 0, 0, 0, 930, + 786, 798, 43, 39, 815, 0, 765, 0, 498, 210, + 451, 756, 769, 0, 759, 829, 0, 827, 779, 783, + 782, 812, 835, 835, 0, 496, 494, 495, 464, 207, + 0, 0, 213, 0, 212, 758, 930, 0, 0, 0, + 836, 837, 0, 791, 0, 0, 772, 775, 780, 784, + 0, 0, 0, 0, 0, 0, 835, 0, 214, 208, + 0, 0, 0, 841, 0, 794, 838, 0, 0, 792, + 0, 0, 839, 0, 0, 0, 0, 0, 0, 215, + 776, 0, 842, 796, 797, 0, 793, 758, 0, 0, + 777, 840, 795 +}; + +/* YYDEFGOTO[NTERM-NUM]. */ +static const short yydefgoto[] = +{ + -1, 1, 457, 3, 458, 173, 789, 363, 189, 5, + 6, 40, 143, 754, 389, 41, 755, 1145, 1603, 43, + 409, 1650, 759, 44, 45, 419, 46, 1146, 766, 1071, + 767, 768, 769, 48, 180, 181, 49, 798, 192, 188, + 475, 1429, 50, 51, 885, 1167, 891, 1169, 52, 1148, + 1149, 193, 194, 799, 1095, 476, 1290, 1291, 1292, 631, + 1293, 244, 53, 1084, 1083, 778, 775, 1201, 1200, 939, + 936, 142, 1082, 54, 246, 55, 933, 611, 317, 318, + 319, 320, 615, 364, 656, 1761, 1682, 1763, 1716, 1800, + 1476, 366, 1052, 367, 702, 1010, 368, 369, 370, 617, + 371, 324, 57, 268, 760, 438, 162, 58, 59, 372, + 659, 373, 374, 375, 800, 376, 1606, 536, 723, 1034, + 1151, 489, 227, 490, 491, 228, 379, 380, 64, 503, + 229, 206, 219, 66, 517, 537, 1440, 853, 1328, 207, + 220, 67, 550, 854, 68, 69, 750, 751, 752, 1538, + 481, 970, 971, 1714, 1679, 1628, 1570, 70, 636, 326, + 882, 1527, 1629, 1220, 632, 71, 72, 73, 74, 75, + 255, 875, 876, 877, 878, 1153, 1370, 1154, 1155, 1156, + 1355, 1365, 1356, 1517, 1357, 1358, 1518, 1519, 633, 634, + 635, 703, 1040, 493, 200, 515, 508, 209, 77, 78, + 79, 150, 151, 165, 81, 138, 383, 384, 385, 83, + 386, 85, 880, 129, 130, 131, 556, 112, 86, 387, + 1015, 1016, 1035, 1031, 726, 1540, 1541, 1477, 1478, 1479, + 1542, 1392, 1543, 1610, 1635, 1719, 1685, 1686, 1544, 1611, + 1709, 1636, 1720, 1637, 1743, 1638, 1746, 1790, 1817, 1639, + 1765, 1729, 1766, 1691, 477, 796, 1285, 1612, 1653, 1734, + 1423, 1424, 1490, 1616, 1718, 1552, 1613, 1725, 1656, 979, + 1769, 1770, 1771, 1794, 494, 1036, 833, 1121, 1318, 496, + 497, 498, 829, 499, 156, 831, 1158, 95, 622, 838, + 1321, 1322, 607, 89, 567, 90, 959 +}; + +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +#define YYPACT_NINF -1665 +static const short yypact[] = +{ + 130, 160, 173, -1665, -1665, -1665, 5561, -1665, 241, 112, + 163, 256, 147, 196, -1665, -1665, 956, -1665, -1665, 183, + 195, -1665, -1665, -1665, 1811, 868, 804, 260, -1665, -1665, + 313, 269, -1665, 1586, 1586, -1665, 2006, -1665, 5561, 280, + -1665, -1665, 357, -1665, 48, -1665, -1665, 5783, -1665, -1665, + 318, 958, 425, 383, 411, -1665, -1665, -1665, -1665, 484, + 2153, -1665, 7092, -1665, 376, 1692, 538, -1665, 488, -1665, + -1665, 991, 72, 365, -1665, 458, 8376, -1665, -1665, -1665, + 905, -1665, -1665, -1665, 1085, -1665, -1665, 2141, -1665, 4136, + 465, -1665, -1665, -1665, 334, 526, -1665, 334, -1665, 334, + -1665, -1665, -1665, 163, 256, 504, 269, -1665, 502, 411, + -1665, 1213, -1665, 265, 11780, 472, -1665, -1665, -1665, -1665, + -1665, 176, 529, 368, 588, 541, 604, 557, -1665, -1665, + 2028, -1665, 1153, 163, 256, -1665, 504, 269, -1665, 1021, + 2162, 546, 7936, 605, -1665, -1665, 334, 553, 4659, 2745, + -1665, -1665, 1354, 2948, 2745, -1665, 1548, 2955, 2955, 2006, + 522, 528, -1665, 484, 533, 552, 561, -1665, -1665, 666, + -1665, 586, -1665, 5953, -1665, -1665, 260, 3097, 614, -1665, + -1665, -1665, 318, 3345, 8134, 833, 652, -1665, -1665, 638, + 488, 733, 161, 571, 683, -1665, -1665, -1665, 4848, 10827, + -1665, -1665, 4595, 4595, 5201, 905, 895, -1665, -1665, 579, + -1665, -1665, 2338, -1665, -1665, -1665, -1665, -1665, 1692, 1044, + -1665, 488, 905, 11780, -1665, -1665, -1665, 1315, 1692, -1665, + 488, -1665, 3345, -1665, -1665, -1665, -1665, -1665, -1665, -1665, + -1665, -1665, -1665, 678, 493, 411, -1665, 488, 2420, 1729, + -1665, -1665, -1665, -1665, -1665, 708, -1665, 1632, 488, 265, + -1665, 662, 775, 2342, 692, -1665, 392, -1665, -1665, -1665, + -1665, -1665, 5659, -1665, 504, -1665, -1665, -1665, -1665, 2974, + -1665, 680, 690, -1665, -1665, -1665, -1665, 730, -1665, -1665, + -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, + -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, 684, + -1665, -1665, -1665, 1632, 8376, 521, -1665, 838, 764, -1665, + 11872, 741, 838, 838, 334, 7936, 1379, -1665, 746, 1870, + 692, -1665, -1665, 755, -1665, -1665, -1665, -1665, -1665, 12977, + 12977, 760, -1665, -1665, -1665, -1665, -1665, 768, 782, 790, + 792, 798, 12332, 1870, 12977, -1665, -1665, 12977, 12977, -1665, + -1665, 9625, -1665, 12977, 12977, 776, 827, -1665, 12424, -1665, + 8880, 414, 944, 7982, 12516, -1665, 1920, 802, 1423, 13069, + 13161, 6983, 6531, -1665, 478, -1665, 1750, 3357, 2544, 586, + -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, 529, 368, + 588, 1870, 541, 604, 823, 557, -1665, 846, -1665, 1251, + 746, 163, 256, -1665, -1665, -1665, -1665, -1665, -1665, 6439, + -1665, 3345, 8115, 1500, -1665, -1665, 617, 838, 334, -1665, + 4659, -1665, 3170, -1665, 850, 863, -1665, -1665, -1665, 533, + 2745, -1665, -1665, 2745, -1665, 836, -1665, -1665, -1665, 533, + 533, 533, -1665, -1665, -1665, 5659, 839, 852, 864, -1665, + -1665, -1665, -1665, 7936, -1665, 1051, 1055, -1665, -1665, 943, + -1665, 488, -1665, -1665, -1665, -1665, 912, -1665, -1665, 10275, + 12332, -1665, -1665, 875, -1665, 827, 887, 8880, 294, 1577, + 8134, 1577, 2426, 6889, 893, -1665, 387, 5854, 945, 964, + 755, -1665, 909, 587, 150, 8153, 6073, -1665, -1665, 6073, + -1665, 6420, 6420, 5201, 8240, 931, -1665, 488, 3345, -1665, + 10919, -1665, -1665, 6828, 1315, 1692, 3345, -1665, 488, 933, + 936, -1665, -1665, 1315, -1665, 488, 1007, -1665, 980, -1665, + -1665, 746, 692, 678, -1665, -1665, 2420, 2930, -1665, 1632, + 488, -1665, -1665, -1665, 994, 999, 1011, 1003, -1665, -1665, + -1665, -1665, 4659, -1665, 844, -1665, 626, -1665, 972, -1665, + 974, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, + -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, + -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, + -1665, 1632, -1665, -1665, 1175, -1665, 788, -1665, 334, -1665, + -1665, 1090, -1665, 1050, 12609, -1665, -1665, 8551, -1665, 2664, + 3642, 12332, 1042, -1665, -1665, 838, -1665, 3345, 2849, -1665, + -1665, 1065, -1665, 1023, 1078, -1665, 1379, 823, 12332, -1665, + -1665, 12332, 11780, 8439, 8439, 8439, 8439, 13231, -1665, -1665, + -1665, -1665, 1026, 12701, 12701, 9625, 1061, 232, 1064, -1665, + 1073, -1665, -1665, -1665, 10551, 9717, 9625, -1665, 10643, 12332, + 12332, 10367, 12332, 12332, 12332, 12332, 12332, 12332, 12332, 12332, + 12332, 12332, 12332, 12332, 12332, 12332, 12332, 12332, 12332, 12332, + 12332, -1665, 12332, -1665, -1665, -1665, -1665, 12332, 12332, -1665, + 12332, 11780, 6286, 636, 747, 11011, -1665, -1665, 1098, 2342, + 1186, 710, 721, 727, 2683, 788, -1665, -1665, 2354, 2354, + 5137, 11103, 1112, 1159, -1665, -1665, 663, 9625, -1665, 9625, + -1665, 11501, 412, -1665, 1365, 265, -1665, -1665, 12332, -1665, + -1665, -1665, -1665, -1665, 262, 465, -1665, -1665, -1665, -1665, + 156, -1665, 1125, 1113, 586, 1251, 1171, 334, -1665, 1165, + -1665, -1665, 2162, 1339, 1154, 1193, 57, 1166, 1179, -1665, + -1665, 3196, 991, -1665, 1180, -1665, -1665, -1665, -1665, -1665, + -1665, 838, -1665, -1665, 1133, 1141, -1665, 1190, -1665, -1665, + 318, -1665, -1665, -1665, -1665, 1151, -1665, -1665, -1665, -1665, + -1665, -1665, 9530, 13231, -1665, 1156, -1665, -1665, -1665, -1665, + -1665, 3283, 3283, 5431, -1665, -1665, -1665, -1665, 2338, 2141, + -1665, 11594, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, + 964, 1201, -1665, -1665, -1665, 11964, 1159, 738, -1665, -1665, + 8153, -1665, -1665, 8240, 6073, 6073, 7718, 7718, 8240, 1365, + -1665, -1665, 6828, -1665, 1203, -1665, -1665, 1157, 150, 8153, + -1665, 1315, -1665, -1665, -1665, -1665, 488, 1187, 678, -1665, + 368, 588, -1665, -1665, 557, 1215, -1665, -1665, 209, -1665, + -1665, 2334, 3500, -1665, 150, 7427, 334, 334, -1665, 334, + 150, 7427, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, + 1980, 1980, 1980, 1517, -1665, 838, -1665, 8551, 12609, 12609, + 10367, 12609, 12609, 12609, 12609, 12609, 12609, 12609, 12609, 12609, + 12609, 12609, 12609, 12609, 12609, 12609, 12609, 12609, 12609, 2342, + 269, 1169, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, + 12332, -1665, 1870, -1665, 1176, 1170, 9045, 1182, 1189, 1223, + 7296, 1226, 1229, 1231, -1665, 1202, -1665, -1665, 1205, 1252, + -1665, -1665, 13231, 1253, 763, 860, 73, 452, 12332, 1254, + -1665, 1258, 1206, -1665, 13231, 13231, 13231, -1665, -1665, 1264, + 8437, 8489, 7007, 8567, 8716, 3441, 4706, 3970, 3970, 3970, + 2611, 2611, 1370, 1370, 976, 976, 976, -1665, -1665, 1216, + 1224, 1225, 1230, 1241, 1242, 8439, 636, -1665, 10275, 12332, + -1665, -1665, -1665, 12332, -1665, -1665, 1245, 12977, 1243, 1248, + 1278, 1306, -1665, 12332, -1665, 12332, -1665, 12332, 718, 4224, + -1665, -1665, 4224, -1665, 114, 1256, 1262, -1665, 1250, 8439, + 150, -1665, 150, 4746, -1665, 7427, 11195, 1263, 1268, 8990, + 8990, 6685, 1277, 12424, 1282, 2725, 3452, 3357, 1711, 1286, + 2544, 1292, 12793, -1665, 1260, 1325, -1665, 838, -1665, -1665, + -1665, -1665, -1665, -1665, 3382, 6439, -1665, 8439, -1665, -1665, + 1314, 12609, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, + -1665, -1665, 318, -1665, -1665, 453, 1344, -1665, 110, -1665, + 3089, 3566, 3566, 3691, 3691, 5431, 4458, 289, 2338, -1665, + 3722, 3716, 11687, 11687, 9343, 338, 1297, 424, 1470, -1665, + 10275, 9812, -1665, 5102, 1177, 1177, 2186, -1665, -1665, -1665, + 1343, -1665, -1665, -1665, -1665, -1665, -1665, 2435, -1665, 925, + 566, -1665, 12332, 8249, 2267, -1665, 2267, 374, 374, 87, + 740, 2820, 7204, 102, 4450, -1665, 277, 374, -1665, -1665, + 1308, 838, 838, 838, -1665, 1313, 150, 7427, 150, 7427, + -1665, -1665, -1665, -1665, -1665, -1665, 8551, 8551, 1351, 3892, + 4179, 5970, 6556, 6290, 4077, 5416, 4391, 4391, 2677, 2677, + 1377, 1377, 1046, 1046, 1046, -1665, -1665, 999, -1665, -1665, + -1665, -1665, -1665, 13231, -1665, -1665, -1665, 8439, -1665, -1665, + 1340, 1342, 1346, 1349, 1133, -1665, -1665, 8759, 10275, 9907, + 1324, -1665, 12332, -1665, -1665, -1665, -1665, -1665, 508, 1334, + -1665, -1665, 1335, 401, 1009, 1009, 1336, 1009, 12332, -1665, + 12977, 1439, 334, -1665, 1356, 1357, 1359, -1665, 718, -1665, + -1665, -1665, -1665, -1665, -1665, -1665, 718, -1665, 150, 1371, + -1665, 1337, -1665, -1665, -1665, -1665, 3848, 3848, 6106, -1665, + -1665, -1665, 299, 1374, -1665, -1665, -1665, -1665, -1665, -1665, + -1665, 8551, -1665, -1665, -1665, 1383, -1665, 529, 541, 604, + 93, 773, -1665, -1665, -1665, -1665, -1665, 9999, -1665, 3089, + 3566, 3566, 4308, 4308, 6402, -1665, 559, 3722, 3089, 1376, + 524, 562, 582, 686, 520, -1665, -1665, -1665, -1665, -1665, + -1665, -1665, 305, 2498, 2498, 848, 848, 848, 10275, -1665, + -1665, 2930, -1665, -1665, -1665, -1665, 7427, 13231, 247, -1665, + 1962, -1665, 488, 488, -1665, -1665, -1665, -1665, -1665, 7427, + 585, 1043, 12332, 1007, -1665, 1425, -1665, -1665, -1665, 270, + 370, 1085, 2948, 377, 374, 1429, -1665, 382, 1427, 488, + 4666, -1665, -1665, -1665, 488, -1665, -1665, 1437, -1665, -1665, + -1665, 1394, -1665, 1395, 12609, -1665, -1665, 1402, 12332, 12332, + 12332, 12332, 94, 10275, -1665, 1449, -1665, -1665, 13231, 12332, + -1665, 508, -1665, -1665, -1665, -1665, -1665, -1665, 1403, -1665, + 1475, 838, -1665, -1665, -1665, 150, -1665, -1665, -1665, 12332, + -1665, -1665, -1665, 1383, -1665, -1665, 539, -1665, 12332, 94, + -1665, 5310, 5310, 1365, 5634, 688, 5102, -1665, 848, -1665, + 10275, -1665, 150, 1409, 784, -1665, 1461, 1461, 150, 1418, + 12332, 12332, 8464, 488, 3785, 488, 488, 3946, 488, 6590, + -1665, -1665, 5049, 1461, 150, 150, -1665, -1665, 8551, -1665, + 1431, 1436, 1440, 1445, 1870, -1665, -1665, 9247, 1499, -1665, + -1665, 10275, 1422, -1665, -1665, -1665, -1665, -1665, 150, 1446, + 1443, -1665, -1665, 1452, -1665, 6253, 6253, 6183, 1000, 1000, + -1665, -1665, -1665, -1665, -1665, 7427, -1665, -1665, -1665, -1665, + 8464, 8464, -1665, 1461, 696, 1045, 12332, -1665, -1665, -1665, + 1007, 1007, 1461, 1461, 844, 1461, -1665, -1665, -1665, -1665, + -1665, 150, 150, -1665, -1665, -1665, -1665, -1665, 1128, 399, + 9135, -1665, -1665, -1665, -1665, 11306, -1665, -1665, -1665, -1665, + -1665, 8357, -1665, -1665, 1000, 150, 150, 1455, 150, -1665, + -1665, -1665, 12332, 12332, 8464, 488, 488, -1665, -1665, -1665, + 8676, -1665, -1665, 1870, -1665, -1665, -1665, 420, -1665, -1665, + -1665, 1474, 1074, 1096, -1665, -1665, -1665, -1665, -1665, 12332, + 1484, 1503, 1510, 12056, 205, 1870, 287, 780, -1665, -1665, + 12148, 1565, -1665, -1665, -1665, 1522, -1665, 6937, 7625, 5261, + 1569, -1665, -1665, 1476, 1478, 1486, -1665, -1665, -1665, -1665, + -1665, 8464, 8464, -1665, 1461, 1461, -1665, 10735, -1665, -1665, + -1665, -1665, -1665, -1665, -1665, 787, 787, 1538, 1516, 1520, + 4506, -1665, -1665, -1665, -1665, 1558, 12332, 1562, 1561, 1576, + 2456, 2485, -1665, -1665, -1665, -1665, 1544, -1665, -1665, 1007, + 1135, -1665, 1137, 1007, 12240, 1160, -1665, -1665, -1665, -1665, + -1665, -1665, 150, -1665, -1665, -1665, -1665, 1535, 8807, 1545, + -1665, 11780, -1665, -1665, -1665, 1630, -1665, 9438, 11780, 12332, + -1665, -1665, -1665, 1589, -1665, -1665, 1597, -1665, 1576, 2456, + -1665, -1665, 1644, -1665, -1665, 12885, 12885, 10091, -1665, 1538, + -1665, -1665, -1665, 425, 318, -1665, 1547, 259, 3345, 1538, + 1538, -1665, 11405, 94, -1665, -1665, 1599, 1553, 13209, -1665, + -1665, -1665, -1665, -1665, 1383, 180, -1665, 197, -1665, -1665, + 1007, -1665, -1665, 789, -1665, -1665, 10183, -1665, -1665, -1665, + -1665, 1383, 104, 104, 1603, -1665, -1665, -1665, 488, -1665, + 12332, 1605, -1665, 1610, -1665, 1538, -1665, 1581, 1870, 812, + 1614, -1665, 428, -1665, 1611, 1578, -1665, -1665, -1665, -1665, + 12332, 1573, 1677, 1629, 104, 1677, 104, 1631, -1665, -1665, + 10459, 1583, 1683, -1665, 436, -1665, -1665, 439, 822, -1665, + 10275, 1587, -1665, 1615, 1693, 1650, 1655, 1677, 1657, -1665, + -1665, 12332, -1665, -1665, -1665, 441, -1665, 1538, 1617, 1662, + -1665, -1665, -1665 +}; + +/* YYPGOTO[NTERM-NUM]. */ +static const short yypgoto[] = +{ + -1665, -1665, 1736, -1665, -340, 1551, -397, 23, -5, 1734, + -1665, 1702, -1665, -1665, -1665, -1469, -1665, 510, -1665, -1461, + -1665, 95, 992, 38, -388, -1665, -1665, 106, -1665, -710, + -1665, -1665, 675, 51, 1574, 1294, 1592, -1665, 46, -178, + -787, -1665, -10, 41, -1665, -1665, -1665, -1665, -1665, 610, + -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, 340, -16, + -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, + -1665, 1666, -735, 7678, -173, -68, -596, -197, -46, 1624, + -582, -1665, -1665, -1665, 213, -1665, 136, -1665, -1582, -1665, + -1369, 990, -133, -334, -1665, -956, 7556, 4624, 6839, 1207, + 5249, 1460, -369, -56, -62, 1261, -152, -63, 135, -1665, + -1665, -1665, -347, -1665, -1665, -1665, -1490, 8, -368, 1537, + 19, 9, -149, 16, 61, -216, -1665, -1665, -1665, -3, + -132, -177, -179, -8, -32, -266, -1665, -408, -1665, -1665, + -1665, -1665, -1665, 519, 1341, 2792, -1665, 717, -1665, -1665, + -1345, -453, 978, -1665, -1665, -1665, -1665, 58, -1665, -1665, + -1665, -1665, -1665, -1665, 1144, -361, -1665, -1665, -1665, -1665, + -1665, -1665, 451, 650, -1665, -1665, -1665, 427, -1072, -1665, + -1665, -1665, -1665, -1665, -1665, 643, -1665, 339, 1172, -1665, + 859, 1110, 3025, 98, 1609, 3509, 1392, -1665, -520, -1665, + 4, 2057, 799, -134, 171, -104, 5763, 1447, -1665, 6767, + 2563, 1198, -18, -121, -1665, 1689, -50, -1665, 6298, 3922, + -246, -1665, 1816, 1842, -1665, -1665, 282, -1665, -1665, 346, + 1167, -1665, -1410, -1665, -1665, -1665, -1563, -1665, -1447, 105, + -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, -1665, + -1665, -1665, -1665, -1665, 91, -1665, -1665, -1665, -1665, -1665, + 96, -1371, -1665, -1665, -57, -1665, -1665, -1665, -1665, -893, + -1536, -1665, 45, -1664, -804, -160, 1002, -1665, -1665, -1665, + -1665, -409, -1665, -405, -183, -1665, 84, -1665, -1665, 1062, + 400, -1665, 153, -1665, 3186, -156, -756 +}; + +/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If + positive, shift that token. If negative, reduce the rule which + number is the opposite. If zero, do what YYDEFACT says. + If YYTABLE_NINF, syntax error. */ +#define YYTABLE_NINF -931 +static const short yytable[] = +{ + 108, 39, 525, 65, 464, 466, 465, 128, 121, 1094, + 773, 408, 453, 732, 774, 61, 266, 1178, 741, 190, + 110, 269, 62, 441, 444, 60, 804, 879, 934, 38, + 906, 765, 315, 39, 667, 65, 417, 182, 495, 185, + 742, 549, 1096, 1085, 65, 728, 730, 61, 260, 753, + 1230, 322, 1491, 323, 62, 243, 61, 60, 772, 218, + 1494, 38, 1079, 184, 790, 486, 183, 63, 205, 524, + 177, 547, 1339, 257, 1341, 544, 1602, 415, 416, 533, + 407, 1160, 1371, 414, 1604, 178, 313, 1165, 773, 269, + 88, 276, 830, 1580, 1425, 532, 534, 601, 179, 63, + 427, 1506, 1507, 217, 76, 186, 1727, 557, 63, 171, + 1654, 381, 47, 1344, 404, -879, 1767, 331, 1528, 1075, + 863, 1797, 88, 231, 732, 623, 624, 808, 1474, 144, + -2, 149, 154, 250, 1076, 836, 76, 251, -155, 423, + 436, 1368, 883, 1815, 47, 76, 1736, 172, 1345, 269, + 312, 61, 1346, 47, -138, 1426, 1741, 1742, 422, 561, + 4, 421, 473, 461, 1764, 601, 1668, 182, 1561, 185, + 65, 163, 1297, -3, 65, 378, 809, 1567, 1568, 810, + 1569, 218, 61, 420, 1086, 1347, 61, 314, 94, 62, + 528, 205, 60, 184, 425, 492, 183, 1724, 1755, 1768, + 177, 1199, 1778, 63, 1202, 1475, 1671, 166, 102, 116, + 117, 566, 382, 1369, 837, 178, 1135, 1772, 1060, 96, + 381, 1298, -139, 100, 960, 217, -139, 1684, 179, 779, + 780, 745, 543, 545, 63, 186, 1752, 390, 63, 97, + 76, 1259, 391, 1701, 1730, 1753, 101, 555, 1136, 47, + 1798, 741, 855, 1602, 1820, 440, 443, 88, -139, 474, + 862, 1604, -139, 276, 118, 119, 1061, 225, 226, 10, + 11, 76, 1400, 742, 16, 76, 231, 114, 625, 1675, + 1676, 691, 1750, 47, 378, 231, 231, 453, 1646, 115, + 1754, 20, 163, 163, 163, 474, -399, 22, 17, 1684, + 506, 509, 342, 98, 91, 761, 25, 808, 717, 1684, + 1684, 257, 98, 637, 712, 231, 704, 381, 28, 1779, + 711, 382, 628, 99, 136, 137, 692, 365, 166, 166, + 166, -399, 99, 135, 61, -399, 141, 648, -636, 163, + 1372, 422, -329, 28, 627, 146, 1649, 805, 1282, 1283, + 92, 756, 93, 835, 1745, 1684, 809, 1444, 381, 810, + -873, 1419, 453, 1381, 1277, 1383, 626, 1436, -399, 144, + 313, 231, 749, 869, 169, 166, 861, 441, 444, 257, + 1491, 378, 781, -636, -636, 637, 63, -336, 1373, 145, + 1371, 276, 532, 534, 1091, 1092, -400, 742, 17, -636, + 824, 532, 17, -131, 1074, 17, -451, 1684, -129, 1420, + 17, -189, 502, -189, 1064, 1437, 771, 534, 382, 218, + 170, -613, 378, 76, 393, -613, 252, 187, 935, 776, + 253, -400, -336, -336, 312, -400, 529, -451, -131, 231, + -451, 559, -131, -129, 97, 1483, 195, -129, -329, 825, + 717, 191, 826, 792, 1286, 185, 1287, 870, 871, 382, + 65, 1041, 1575, 691, 745, 1385, 1386, 196, -400, 534, + 223, 314, 61, -661, -613, -131, -613, -613, -613, 184, + -129, 231, 183, 1575, 1785, -451, 560, 218, 931, -613, + 257, -613, 867, 1786, 771, 835, 1280, 814, 1804, 820, + 822, 1804, -144, 1804, 866, 945, -613, -613, 692, 28, + 1576, 1403, 1288, 1289, -140, -140, 42, -154, -661, -661, + 20, 186, -613, 254, 63, 133, 134, 737, 146, 321, + 868, 1631, 1443, 197, -661, 1330, 273, -338, 1787, 12, + 1286, 316, 1287, 870, 871, 1449, 1805, -144, 42, 1806, + 231, 1819, -338, 557, 539, 1231, -338, 1007, 540, 999, + 144, 76, 905, 327, 1000, 20, 388, 1002, 1003, -314, + 133, 134, 738, -338, 1008, 1294, 23, 28, 198, 199, + 136, 137, 231, 231, 1087, 392, -338, -338, -144, -338, + -338, 231, 447, 448, 602, 28, 316, 395, 1288, 1289, + 232, 233, 1009, 1399, 603, 1059, 449, 231, -635, 844, + 845, -315, 1090, 397, -314, -314, 450, 879, -338, -338, + 478, 35, 28, 418, 276, 136, 137, 451, 197, 428, + -314, -313, -329, -144, -338, 937, 717, 479, 446, 381, + 950, 950, 950, 950, 394, 704, 163, 163, 163, 969, + 1450, 761, 381, -635, -635, 176, -315, -315, 1070, 231, + 396, 428, 454, 381, 99, 480, 773, 1315, 1317, -635, + 774, -656, -315, 198, 520, 894, -313, -313, 456, 612, + 146, 835, 166, 166, 166, 1007, 231, 765, 741, 1132, + 1133, 453, -313, 1020, 609, 1137, 610, -8, 381, 313, + 1069, 1557, 1008, 378, 378, 378, 378, 378, 1175, 470, + 742, 1067, 1044, 172, 772, 468, 378, 771, 551, 667, + 895, 1545, 133, 134, 381, 495, 381, 378, 492, 532, + 1009, 495, 469, 857, 601, -662, 472, -338, 428, 276, + 382, 382, 382, 382, 382, 128, 482, 1072, 558, 1312, + 20, 133, 134, 382, 538, 269, 1080, 1045, 1046, 1022, + 408, 1562, 378, 312, 382, 1394, 1396, 717, 146, 548, + 1024, 742, 428, 557, 28, 568, 1026, 136, 137, 822, + -662, -662, -338, -338, 1545, 570, 969, 1122, 378, 1348, + 378, 718, 133, 134, 1726, 576, -662, 598, -332, 382, + 314, 719, 551, 28, 1023, 80, 136, 137, 133, 134, + 771, 879, 720, 721, 1150, 1025, 1029, 1032, 492, 96, + 1011, 1027, 1427, 276, 552, 382, 612, 382, -152, 231, + 1012, 98, 1123, 1504, 1349, 621, 1680, 80, 1759, 97, + 1161, 1162, 1013, 1163, 1396, 1652, 80, 136, 137, 638, + 135, 99, 10, 11, 641, 947, 146, 1545, 643, 210, + 28, 222, 642, 136, 137, 836, 644, 1428, 645, 553, + 1276, 122, 123, 124, 646, 1439, 1232, 1782, 1505, 65, + 20, 1681, 771, 1760, 978, 495, 663, 1807, 771, 664, + 1244, 61, 1245, 892, 1246, 232, 467, 1801, 1152, 757, + 98, 745, 758, 453, 28, 1144, 1294, 136, 137, 1101, + 1102, 1001, 716, 1197, 1284, 609, 98, 610, 1018, 231, + 99, 1323, 1783, 1147, 28, -153, 97, 125, 126, 1273, + 1722, 1324, 1808, 17, 1038, 1545, 99, -451, 893, 99, + 1480, 424, 1325, 63, 1124, 1125, 784, 429, 163, 787, + 1756, 1331, 1332, 1333, 453, 795, 163, 518, 519, 102, + 103, 104, 1314, -7, 1376, 1377, 1378, -451, -451, 441, + 444, -451, 80, 1545, 1335, 788, 80, 797, 441, 444, + 76, 98, 210, 222, 166, 806, 17, 1501, 1404, 1405, + -451, 1407, 166, 693, 102, 103, 104, 807, 235, 236, + 237, 99, 950, 823, 10, 11, 1233, 495, 231, 495, + 1545, -872, 28, 133, 134, 105, 106, 107, 561, 1336, + -451, -451, 834, 20, 410, 411, 412, 12, 1547, 238, + 832, 210, 20, 694, 695, 17, 950, 696, 697, 698, + 699, 851, 771, 864, 749, 269, 865, 28, 492, 717, + 105, 106, 239, 1172, 1173, 1174, 28, -189, 1072, 136, + 137, 276, 689, 690, 23, 28, 378, 888, 136, 137, + 886, 263, 771, 1495, 950, 887, 1150, 1295, 1150, 889, + 274, 264, 1011, 1496, 1150, 896, 1150, 897, 261, 10, + 262, 12, 1012, -878, 1497, 721, 240, 241, 242, 96, + 378, 96, 771, 382, 1013, 932, 526, 527, 1451, 35, + 1563, 492, -196, 518, 793, 1342, 1343, 526, 794, 97, + 950, 97, 276, 978, 629, 1374, 146, -196, 23, -196, + 96, 940, 927, 928, 941, 263, 954, 382, 378, 1633, + 942, 65, 773, 65, 30, 264, 1615, 1029, 1032, 218, + 97, 65, 98, 61, 1019, 61, 122, 123, 124, 1354, + 1152, 1634, 1152, 61, 771, 1340, 771, 1144, 265, 1144, + 1152, 956, 99, 35, 957, 382, 495, 1144, 328, 133, + 134, 10, 11, 960, 378, 1147, 256, 1147, 485, 495, + 1573, 1574, 1353, 1363, 1021, 1147, 1411, 518, 1703, 526, + 1704, 1300, 1301, 1395, 950, 63, 1039, 63, 1041, 20, + 1300, 1301, 125, 126, 1486, 63, 328, 10, 11, 1062, + 210, 382, 518, 1708, 1063, 329, 1236, 1066, 1068, 429, + 1073, 22, 1077, 28, 136, 330, 136, 137, 163, 163, + 163, 836, 76, -332, 76, 1078, 1081, 163, 163, 163, + 1323, 1088, 76, 1089, 273, 411, 412, 12, 265, 1261, + 1324, 1093, 80, 329, 1131, 771, 1099, 1120, 378, 1127, + 1128, 1325, 136, 330, 166, 166, 166, 1134, 163, 1198, + 1206, 1395, 271, 166, 166, 166, 1489, 1205, 210, 817, + 210, 210, 1208, 266, 23, 1493, 828, 161, 269, 1209, + 1210, 771, 1150, 1211, 429, 382, 1212, 28, 1213, 271, + 274, 31, 1214, 1216, 166, 1215, 1221, 210, -151, 1218, + 1219, 1453, 531, 225, 226, 210, 1223, 1455, 1456, 1222, + 16, 1453, 1458, 771, 1224, 1456, 1241, 271, 1225, 35, + 1238, 1226, 398, 399, 400, 495, 771, 1809, 1354, 836, + 271, 1227, 1228, 22, 1242, 1243, 1240, 261, 133, 134, + 12, 429, 25, 1253, 1029, 1032, 1251, 65, 328, 10, + 11, 1274, 1252, 1262, 148, 148, -57, 164, 1263, 61, + -57, 1353, 102, 116, 117, 1130, 1152, 1264, 1275, 566, + 538, -57, 1265, 1144, 1150, 28, 1269, 23, 402, 403, + 1431, 1432, 1271, 221, 263, 1296, 230, 1310, 1295, 1329, + 271, 1147, 247, 30, 264, 329, 1384, 258, 1375, 442, + 445, 1124, 1125, 1379, 136, 330, 210, 133, 134, 1662, + 1660, 63, 1665, 950, 1388, 1397, 1389, 265, 118, 119, + 1390, 630, 35, 1391, 1401, 1402, 271, 1410, 265, 1406, + 1418, 1408, 208, 686, 687, 688, 689, 690, 1537, 65, + 924, 925, 926, 927, 928, 161, 1412, 1413, 76, 1414, + 485, 61, 717, 1311, 10, 11, 12, 271, 1152, 28, + 1422, 1417, 136, 137, 1421, 1144, 1435, 1454, 1565, 1566, + 430, 1459, 1460, -702, 771, 430, 718, 378, 439, 439, + 164, 601, 771, 1147, 1466, 1467, 719, 224, 225, 226, + 342, 740, 1469, 23, 1481, 16, 1484, 720, 721, 1503, + 328, 133, 134, 63, 1485, 221, 28, 479, 1509, 274, + 31, 471, 20, 1474, 382, 1548, 1738, 1551, 22, 1632, + 1601, 1533, 1609, 505, 505, 514, 1534, 25, 771, 1641, + 1535, 102, 434, 435, 61, 1536, 1550, 1630, 35, 230, + 76, 1608, 1553, 777, 1607, 1619, 1642, 329, 1600, 535, + 210, 441, 444, 1643, 1655, 208, 136, 330, 1647, 1648, + 147, 10, 11, 12, 271, 1657, 1666, 1667, 1669, 147, + 133, 134, 12, 1431, 1432, 15, 1670, 1609, 230, -930, + 565, 1470, 1471, 1472, 1473, 218, 63, 118, 106, 61, + 1687, 485, 1482, 562, 1688, 1659, 1608, 1659, 20, 1607, + 23, 1692, 658, 1600, 208, 1694, 717, 391, 485, 23, + 271, 528, 1695, 28, 1697, 1700, 30, 31, 1702, 429, + 225, 226, 28, 76, 1711, 30, 31, 16, 1721, 1713, + 811, 377, 1731, 1732, 230, 258, 1735, 1739, 429, 33, + 812, 63, 1747, 1748, 20, 35, 1773, 231, 1776, 34, + 22, 813, 721, 1777, 35, 1780, 1784, 1788, 1717, 25, + 36, 1157, 485, 1733, 1609, 1717, 1792, 485, 1789, 1793, + 485, 485, 1795, 1802, 1799, 1803, 61, 1810, 76, 224, + 225, 226, 439, 1608, 381, 1812, 1607, 16, 1758, 1811, + 1600, 442, 785, 1813, 328, 10, 11, 1601, 1814, 1609, + 1816, 485, 230, 258, 20, 1822, 1740, 1821, 485, 463, + 22, 61, 102, 103, 104, 488, 2, 7, 1608, 25, + 168, 1607, 312, 1717, 271, 1600, 1699, 1065, 63, 312, + 1278, 462, 1781, 410, 10, 11, 12, 791, 1605, 1737, + 530, 329, 1364, 221, 230, 460, 1492, 325, 378, 426, + 136, 330, 1683, 442, 445, 231, 608, 1270, 943, 314, + 1098, 430, 1441, 63, 430, 76, 314, 1334, 105, 106, + 164, 164, 164, 23, 565, 1366, 562, 1462, 1526, 163, + 263, 1204, 271, 844, 845, 382, 1645, 312, 944, 274, + 264, 485, 1006, 208, 102, 116, 117, 271, 521, 406, + 76, 907, 1579, 713, 1546, 485, 958, 1744, 1757, 1796, + 1751, 221, 1119, 230, 258, 166, 1500, 0, 35, 0, + 163, 163, 163, 0, 314, 0, 0, 840, 0, 0, + 840, 0, 843, 843, 514, 0, 0, 618, 471, 1693, + 0, 1446, 1447, 0, 859, 0, 535, 0, 0, 471, + 118, 119, 120, 102, 116, 117, 166, 166, 166, 0, + 0, 208, 0, 208, 208, 0, 0, 0, 1461, 0, + 535, 471, 0, 1463, 1715, 0, 0, 839, 660, 429, + 978, 1715, 0, 0, 0, 0, 839, 0, 0, 0, + 208, 0, 271, 0, 0, 442, 955, 0, 208, 0, + 1129, 707, 0, 273, 411, 412, 12, 658, 708, 118, + 119, 0, 271, 0, 0, 1605, 0, 0, 0, 0, + 0, 0, 535, 1157, 0, 1157, 1159, 0, 0, 0, + 1360, 1367, 1164, 1157, 0, 0, 770, 0, 0, 1715, + 0, 0, 0, 23, 0, 1350, 1351, 11, 12, 230, + 709, 1512, 1513, 1775, 1522, 1523, 28, 1525, 0, 274, + 31, 0, 0, 0, 133, 134, 0, 0, 658, 561, + 658, 0, 1054, 1791, 164, 164, 439, 0, 0, 485, + 0, 0, 0, 978, 0, 23, 0, 439, 710, 147, + 133, 134, 12, 485, 0, 485, 271, 485, 28, 208, + 0, 30, 31, 0, 1818, 1445, 0, 1352, 0, 1559, + 1560, 398, 399, 400, 770, 202, 28, 0, 20, 136, + 137, 0, 0, 0, 0, 203, 0, 271, 0, 23, + 35, 0, 485, 602, 0, 0, 204, 0, 0, 1028, + 1028, 1028, 28, 603, 0, 30, 31, 0, 439, 0, + 439, 0, 1055, 0, 161, 0, 0, 0, 401, 157, + 0, 0, 1116, 1623, 1624, 1625, 0, 402, 403, 158, + 0, 155, 0, 0, 35, 0, 1054, 0, 429, 0, + 159, 271, 1254, 0, 1255, 0, 0, 429, 442, 785, + 0, 0, 230, 247, 0, 1176, 1177, 0, 1179, 1180, + 1181, 1182, 1183, 1184, 1185, 1186, 1187, 1188, 1189, 1190, + 1191, 1192, 1193, 1194, 1195, 1196, 0, 0, 0, 1360, + 1673, 1674, 0, 0, 273, 10, 11, 12, 0, 0, + 0, 0, 1100, 1100, 1106, 0, 147, 10, 11, 12, + 0, 0, 1106, 208, 0, 273, 411, 412, 12, 1157, + 0, 0, 0, 0, 0, 0, 164, 0, 0, 948, + 949, 951, 952, 953, 23, 840, 840, 843, 843, 514, + 10, 11, 660, 859, 0, 561, 23, 0, 0, 0, + 274, 31, 0, 972, 0, 23, 431, 471, 0, 28, + 0, 433, 30, 31, 0, 0, 201, 0, 20, 0, + 725, 274, 31, 733, 736, 0, 202, 0, 1380, 35, + 1382, 0, 839, 0, 0, 839, 203, 0, 1004, 0, + 0, 35, 28, 0, 0, 136, 137, 204, 0, 0, + 35, 839, 0, 1521, 271, 0, 271, 0, 1521, 1323, + 155, 1157, 0, 0, 1047, 0, 1048, 0, 1138, 1324, + 9, 10, 1139, 12, 175, 14, 15, 1774, 0, 0, + 1325, 0, 16, 0, 0, 0, 0, 0, 1281, 0, + 0, 230, 0, 0, 0, 0, 18, 0, 19, 20, + 21, 0, 0, 0, 0, 22, 271, 0, 0, 271, + 23, 442, 955, 0, 25, 1140, 0, 176, 0, 0, + 1416, 0, 0, 28, 0, 0, 30, 31, 0, 563, + 1141, 816, 1142, 725, 733, 736, 0, 122, 870, 871, + 33, 261, 10, 11, 12, 102, 116, 117, 554, 0, + 34, 0, 0, 0, 0, 35, 0, 0, 133, 134, + 0, 1143, 0, 15, 0, 442, 445, 0, 0, 0, + 1248, 0, 0, 1248, 442, 1309, 0, 0, 0, 0, + 0, 23, 0, 0, 1256, 23, 20, 0, 263, 0, + 1055, 1055, 1055, 125, 126, 0, 0, 30, 264, 0, + 0, 118, 119, 717, 161, 0, 210, 1663, 210, 485, + 28, 0, 0, 136, 137, 247, 0, 0, 485, 0, + 0, 265, 488, 541, 103, 104, 35, 718, 488, 147, + 10, 11, 12, 224, 225, 226, 0, 719, 122, 870, + 871, 16, 1299, 1299, 1106, 1106, 1106, 0, 720, 721, + 0, 1308, 0, 1106, 1106, 1106, 0, 0, 20, 102, + 116, 117, 0, 0, 22, 1326, 1326, 1327, 0, 23, + 329, 0, 0, 25, 0, 717, 0, 1487, 0, 105, + 542, 0, 28, 0, 164, 30, 31, 0, 102, 116, + 117, 28, 839, 221, 125, 126, 0, 782, 839, 811, + 783, 0, 10, 11, 1502, 0, 0, 15, 0, 812, + 1508, 0, 786, 0, 35, 1696, 119, 210, 0, 0, + 821, 721, 0, 0, 0, 0, 1529, 1530, 442, 785, + 20, 0, 0, 0, 1030, 1033, 0, 0, 0, 0, + 0, 0, 1229, 1359, 1698, 119, 0, 102, 116, 117, + 1549, 746, 747, 748, 28, 0, 0, 136, 137, 271, + 0, 0, 0, 431, 442, 785, 433, 0, 0, 84, + 0, 1323, 0, 0, 0, 0, 972, 0, 0, 111, + 563, 1324, 488, 0, 0, 0, 0, 0, 0, 139, + 0, 1468, 1325, 1571, 1572, 0, 152, 152, 0, 152, + 0, 84, 0, 118, 119, 0, 0, 1055, 1055, 1055, + 84, 0, 770, 733, 1279, 0, 0, 1617, 1618, 0, + 1620, 0, 0, 212, 0, 84, 0, 1030, 1033, 0, + 0, 271, 0, 0, 248, 0, 0, 0, 0, 111, + 0, 1299, 1299, 1106, 1106, 1106, 0, 0, 1308, 0, + 279, 0, 111, 0, 485, 271, 0, 0, 0, 0, + 1320, 0, 0, 0, 1438, 1438, 1327, 410, 10, 11, + 12, 0, 0, 0, 0, 0, 111, 0, 0, 0, + 0, 0, 0, 471, 471, 0, 410, 133, 134, 12, + 0, 839, 684, 685, 686, 687, 688, 689, 690, 0, + 839, 0, 0, 139, 488, 84, 488, 23, 0, 0, + 471, 152, 152, 0, 929, 471, 432, 152, 839, 839, + 152, 152, 152, 274, 264, 0, 23, 0, 273, 133, + 134, 12, 1359, 263, 1710, 0, 84, 0, 0, 0, + 84, 0, 274, 264, 1387, 0, 212, 84, 147, 133, + 134, 12, 35, 0, 256, 0, 0, 20, 922, 923, + 924, 925, 926, 927, 928, 212, 212, 212, 23, 0, + 0, 35, 1498, 1498, 717, 1499, 0, 20, 0, 0, + 0, 28, 0, 0, 274, 31, 0, 0, 23, 0, + 0, 0, 733, 471, 471, 212, 471, 471, 1266, 471, + 0, 28, 0, 0, 30, 31, 0, 0, 1267, 0, + 0, 0, 546, 35, 0, 0, 0, 0, 33, 1268, + 721, 0, 111, 1350, 1351, 11, 12, 0, 34, 0, + 839, 0, 0, 35, 0, 152, 1554, 1554, 1554, 36, + 0, 0, 0, 0, 0, 1249, 1520, 0, 1250, 0, + 0, 471, 471, 0, 0, 0, 224, 225, 226, 1257, + 234, 0, 0, 23, 16, 1030, 1033, 0, 0, 155, + 1247, 0, 0, 488, 0, 0, 28, 111, 604, 30, + 31, 20, 0, 619, 0, 1352, 488, 22, 84, 0, + 839, 839, 0, 202, 0, 0, 25, 1247, 0, 0, + 0, 782, 783, 203, 0, 471, 471, 471, 35, 786, + 0, 0, 938, 0, 204, 0, 0, 1249, 1250, 1030, + 1033, 0, 0, 0, 0, 1116, 1257, 0, 1030, 1033, + 0, 0, 0, 122, 870, 871, 111, 872, 0, 714, + 234, 604, 1247, 0, 604, 734, 839, 0, 1247, 221, + 230, 273, 133, 134, 12, 0, 234, 0, 147, 133, + 134, 12, 471, 471, 15, 0, 0, 442, 1309, 873, + 0, 0, 139, 1320, 0, 0, 0, 410, 10, 564, + 12, 0, 111, 0, 212, 111, 28, 20, 0, 125, + 126, 23, 0, 152, 0, 0, 0, 0, 23, 208, + 0, 208, 0, 152, 0, 514, 152, 274, 31, 0, + 0, 28, 0, 234, 30, 31, 0, 23, 152, 0, + 0, 0, 234, 0, 263, 0, 84, 0, 157, 0, + 0, 0, 0, 274, 264, 0, 35, 0, 158, 234, + 0, 0, 488, 35, 0, 0, 843, 843, 843, 159, + 234, 0, 212, 818, 212, 212, 734, 565, 230, 0, + 818, 0, 35, 0, 0, 0, 0, 0, 212, 212, + 0, 0, 212, 0, 212, 212, 212, 849, 0, 0, + 0, 212, 1030, 1033, 0, 0, 212, 0, 770, 212, + 1247, 0, 147, 10, 11, 12, 0, 0, 1247, 471, + 147, 10, 11, 12, 175, 14, 15, 0, 0, 0, + 208, 272, 16, 0, 0, 0, 1249, 1250, 1030, 1033, + 0, 20, 0, 1257, 0, 152, 18, 0, 19, 20, + 21, 0, 23, 0, 0, 22, 0, 0, 717, 0, + 23, 1247, 0, 0, 25, 28, 0, 176, 30, 31, + 1247, 0, 0, 28, 0, 0, 30, 31, 431, 433, + 0, 0, 811, 0, 0, 0, 0, 563, 0, 903, + 33, 0, 812, 410, 133, 134, 12, 35, 0, 0, + 34, 0, 0, 813, 721, 35, 0, 0, 0, 0, + 212, 36, 455, 0, 0, 0, 37, 0, 0, 147, + 10, 11, 12, 224, 225, 226, 111, 111, 111, 111, + 0, 16, 0, 23, 0, 0, 0, 0, 0, 0, + 263, 0, 234, 0, 0, 504, 0, 0, 20, 274, + 264, 234, 0, 0, 22, 0, 0, 0, 523, 23, + 0, 0, 0, 25, 660, 717, 0, 1249, 1250, 0, + 1257, 0, 28, 565, 0, 30, 31, 0, 35, 0, + 0, 0, 0, 234, 0, 111, 0, 604, 0, 811, + 0, 0, 0, 0, 0, 0, 0, 0, 714, 812, + 0, 604, 604, 734, 35, 0, 147, 10, 11, 12, + 813, 721, 15, 0, 1056, 0, 0, 234, 1058, 0, + 0, 0, 0, 0, 0, 0, 234, 0, 0, 0, + 0, 1030, 1033, 0, 0, 20, 0, 0, 139, 0, + 0, 0, 0, 0, 0, 139, 23, 234, 0, 0, + 0, 0, 717, 0, 212, 248, 0, 0, 0, 28, + 1247, 1247, 30, 31, 0, 0, 0, 0, 147, 10, + 11, 12, 0, 0, 234, 0, 811, 782, 783, 0, + 739, 10, 11, 12, 786, 0, 812, 0, 0, 0, + 0, 35, 0, 0, 212, 212, 1108, 813, 721, 0, + 0, 0, 1111, 0, 1108, 102, 116, 117, 23, 235, + 236, 237, 0, 0, 0, 0, 1247, 342, 740, 0, + 23, 28, 0, 212, 30, 31, 849, 212, 212, 849, + 849, 849, 0, 28, 20, 212, 136, 137, 202, 0, + 238, 0, 212, 0, 0, 0, 0, 0, 203, 0, + 0, 0, 0, 35, 0, 0, 0, 0, 0, 204, + 0, 118, 119, 0, 0, 84, 0, 0, 111, 0, + 0, 0, 0, 0, 111, 410, 10, 11, 12, 0, + 0, 0, 0, 604, 604, 604, 0, 569, 571, 572, + 573, 574, 575, 0, 577, 578, 579, 580, 581, 582, + 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, + 593, 594, 595, 596, 597, 23, 599, 600, 0, 0, + 0, 1138, 263, 9, 10, 1139, 12, 175, 14, 15, + 0, 274, 264, 604, 0, 16, 678, 679, 680, 681, + 682, 683, 684, 685, 686, 687, 688, 689, 690, 18, + 0, 19, 20, 21, 0, 265, 0, 0, 22, -556, + 35, 852, 0, 23, 0, 0, 858, 25, 1140, 0, + 176, 0, 0, 0, 0, 0, 28, 0, 0, 30, + 31, 0, 0, 1141, 0, 1142, 0, 0, 111, 147, + 10, 11, 12, 33, 0, 256, 0, 884, 0, 0, + 0, 0, 0, 34, 890, 0, 0, 0, 35, 0, + 0, 604, 604, 0, 1143, 604, 0, 0, 20, 0, + 0, 0, 111, 0, 0, 0, 604, 0, 111, 23, + 0, -556, 1056, 1056, 1056, 717, 0, 0, 604, 0, + 1111, 0, 28, 0, 0, 30, 31, 900, 901, 0, + 902, 0, 234, 0, 0, 234, 0, 0, 111, 811, + 111, 0, 0, 0, 0, 739, 10, 11, 12, 812, + 0, 234, 0, 0, 35, 0, 0, 0, 0, 0, + 813, 721, 0, 212, 212, 212, 212, 212, 1108, 849, + 0, 0, 0, 212, 0, 1108, 1108, 1108, 0, 0, + 0, 1111, 342, 740, 0, 23, 111, 849, 849, 849, + 0, 0, 0, 0, 147, 10, 11, 12, 28, 0, + 15, 136, 930, 139, 0, 0, 152, 84, 0, 84, + 0, 507, 510, 0, 1361, 84, 0, 84, 0, 410, + 10, 11, 12, 20, 0, 147, 10, 11, 12, 0, + 111, 561, 111, 0, 23, 0, 0, 0, 0, 0, + 717, 0, 0, 0, 0, 0, 0, 28, 1042, 1043, + 30, 31, 0, 0, 20, 0, 0, 1042, 0, 23, + 0, 0, 898, 0, 1103, 23, 263, 0, 0, 0, + 111, 717, 0, 0, 1104, 274, 264, 0, 28, 35, + 0, 30, 31, 0, 899, 1105, 721, 0, 1514, 1515, + 11, 12, 0, 904, 0, 811, 0, 604, 604, 565, + 604, 0, 0, 0, 35, 812, 0, 0, 0, 0, + 35, 604, 0, 0, 0, 0, 813, 721, 0, 604, + 234, 0, 0, 0, 0, 0, 0, 0, 23, 604, + 604, 734, 0, 0, 0, 0, 0, 0, 0, 0, + 1110, 28, 0, 0, 30, 31, 0, 234, 0, 0, + 1516, 273, 133, 134, 12, 0, 0, 15, 202, 0, + 0, 0, 212, 212, 212, 849, 849, 1433, 203, 0, + 212, 212, 0, 35, 0, 1126, 0, 0, 0, 204, + 20, 0, 0, 0, 0, 0, 849, 849, 849, 849, + 849, 23, 234, 0, 0, 0, 0, 717, 234, 111, + 0, 0, 0, 1361, 28, 0, 0, 274, 31, 0, + 0, 0, 111, 0, 0, 0, 0, 1166, 0, 1168, + 0, 1266, 0, 0, 0, 1457, 0, 0, 87, 0, + 0, 1267, 0, 84, 0, 0, 35, 0, 113, 0, + 0, 0, 1268, 721, 0, 0, 0, 132, 140, 410, + 133, 1524, 12, 0, 0, 153, 153, 0, 153, 0, + 87, 0, 912, 913, 914, 915, 916, 917, 918, 87, + 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, + 0, 0, 153, 0, 87, 0, 0, 0, 0, 23, + 0, 0, 0, 249, 849, 849, 263, 849, 259, 111, + 0, 849, 0, 0, 0, 274, 264, 0, 0, 0, + 0, 259, 0, 0, 0, 841, 0, 212, 842, 0, + 507, 510, 152, 0, 0, 84, 0, 0, 0, 565, + 0, 0, 860, 0, 35, 0, 1234, 1235, 0, 1237, + 234, 0, 0, 0, 0, 0, 0, 0, 234, 682, + 683, 684, 685, 686, 687, 688, 689, 690, 849, 849, + 1433, 849, 849, 0, 87, 0, 0, 0, 111, 1258, + 153, 153, 0, 0, 0, 0, 153, 0, 0, 153, + 153, 153, 1170, 1171, 0, 0, 0, 0, 0, 0, + 0, 234, 0, 0, 0, 87, 0, 0, 0, 87, + 234, 0, 0, 0, 0, 153, 87, 0, 0, 0, + 0, 0, 0, 0, 111, 0, 0, 849, 234, 234, + 0, 0, 0, 0, 153, 153, 153, 0, 0, 0, + 0, 0, 0, 0, 1307, 0, 0, 280, 0, 0, + 10, 11, 0, 0, 14, 15, 0, 0, 0, 0, + 0, 16, 917, 918, 153, 919, 920, 921, 922, 923, + 924, 925, 926, 927, 928, 18, 0, 19, 20, 0, + 212, 818, 212, 0, 22, 0, 281, 282, 0, 0, + 0, 0, 0, 25, 0, 283, 0, 0, 0, 0, + 0, 0, 28, 0, 153, 136, 137, 0, 284, 0, + 0, 0, 285, 286, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, + 303, 304, 0, 305, 306, 307, 308, 1108, 133, 134, + 234, 309, 310, 256, 0, 0, 259, 606, 0, 0, + 0, 0, 620, 0, 0, 0, 0, 87, 311, 0, + 913, 914, 915, 916, 917, 918, 20, 919, 920, 921, + 922, 923, 924, 925, 926, 927, 928, 0, 1108, 1108, + 1108, 0, 0, 717, 0, 0, 0, 1415, 0, 0, + 28, 212, 0, 136, 137, 0, 0, 0, 0, 0, + 234, 234, 0, 0, 0, 259, 0, 718, 715, 0, + 606, 0, 0, 606, 735, 0, 0, 719, 0, 744, + 0, 273, 10, 11, 12, 0, 0, 15, 720, 721, + 507, 510, 0, 0, 0, 0, 0, 0, 0, 0, + 1434, 762, 0, 0, 0, 0, 0, 0, 0, 0, + 20, 259, 0, 153, 259, 0, 234, 0, 0, 0, + 0, 23, 153, 841, 842, 507, 510, 717, 0, 0, + 1442, 860, 153, 0, 28, 153, 0, 274, 31, 0, + 0, 0, 0, 1448, 0, 0, 0, 153, 0, 0, + 0, 1302, 0, 0, 0, 87, 0, 0, 0, 0, + 0, 1303, 0, 0, 0, 0, 35, 0, 0, 0, + 1464, 0, 1304, 721, 1465, 0, 0, 0, 0, 0, + 0, 153, 819, 153, 153, 735, 0, 0, 0, 819, + 0, 0, 0, 0, 0, 0, 0, 153, 153, 0, + 0, 153, 0, 153, 153, 153, 606, 0, 0, 0, + 153, 0, 1488, 0, 0, 153, 0, 0, 153, 0, + 0, 1138, 0, 9, 10, 1139, 12, 175, 14, 15, + 0, 273, 10, 11, 12, 16, 0, 0, 0, 881, + 920, 921, 922, 923, 924, 925, 926, 927, 928, 18, + 0, 19, 20, 21, 153, 0, 0, 0, 22, -557, + 20, 1531, 1532, 23, 0, 0, 0, 25, 1140, 0, + 176, 23, 0, 0, 0, 0, 28, 717, 0, 30, + 31, 0, 0, 1141, 28, 1142, 0, 274, 31, 1689, + 0, 0, 0, 33, 0, 0, 0, 0, 1555, 1556, + 0, 1302, 0, 34, 1558, 0, 0, 0, 35, 0, + 0, 1303, 744, 0, 1143, 0, 35, 0, 0, 153, + 0, 0, 1304, 721, 0, 0, 0, 0, 0, 0, + 0, -557, 0, 0, 0, 259, 259, 259, 259, 0, + 0, 1690, 669, 670, 671, 672, 673, 674, 675, 676, + 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, + 687, 688, 689, 690, 0, 0, 0, 0, 147, 10, + 11, 12, 0, 0, 15, 0, 0, 0, 0, 0, + 841, 842, 507, 510, 0, 0, 0, 0, 0, 860, + 0, 507, 510, 0, 259, 0, 606, 20, 0, 0, + 0, 0, 0, 841, 842, 860, 0, 0, 23, 0, + 606, 606, 735, 0, 1672, 0, 0, 0, 0, 0, + 0, 28, 0, 1057, 30, 31, 0, 0, 0, 0, + 0, 0, 147, 133, 134, 12, 744, 1138, 202, 9, + 10, 1139, 12, 175, 14, 15, 0, 762, 203, 0, + 0, 16, 0, 35, 0, 132, 0, 0, 0, 204, + 0, 20, 0, 153, 249, 18, 0, 19, 20, 21, + 0, 0, 23, 0, 22, -559, 0, 0, 0, 23, + 0, 0, 0, 25, 1140, 28, 176, 0, 30, 31, + 0, 0, 28, 0, 0, 30, 31, 0, 0, 1141, + 0, 1142, 33, 153, 153, 819, 0, 0, 0, 33, + 0, 0, 34, 1118, 0, 0, 0, 35, 0, 34, + 133, 134, 0, 36, 35, 561, 0, 0, 0, 0, + 1143, 0, 153, 0, 0, 606, 153, 153, 606, 606, + 606, 0, 0, 0, 153, 0, 0, -559, 20, 0, + 0, 153, 679, 680, 681, 682, 683, 684, 685, 686, + 687, 688, 689, 690, 0, 717, 0, 0, 0, 0, + 0, 0, 28, 0, 87, 136, 137, 259, 0, 841, + 842, 507, 510, 259, 0, 0, 860, 0, 0, 718, + 0, 0, 606, 606, 606, 0, 0, 0, 0, 719, + 0, 0, 507, 510, 0, 0, 0, 0, 0, 0, + 720, 721, 0, 0, 0, 0, 0, 0, 0, 483, + 0, 273, 10, 11, 12, 175, 14, 333, 334, 335, + 336, 484, 337, 16, 0, 0, 0, 0, 0, 0, + 0, 0, 606, 0, 0, 0, 0, 18, 338, 19, + 20, 21, 0, 339, 340, 341, 22, 0, 342, 343, + 344, 23, 345, 346, 0, 25, 0, 0, 0, 347, + 348, 349, 350, 351, 28, 0, 0, 274, 31, 0, + 0, 0, 352, 0, 0, 0, 0, 0, 353, 0, + 0, 354, 0, 0, 0, 0, 0, 259, 0, 355, + 356, 357, 0, 0, 0, 0, 358, 359, 360, 0, + 841, 842, 361, 860, 616, 0, 0, 0, 0, 0, + 606, 606, 0, 0, 606, 0, 0, 0, -843, 0, + 362, 259, 0, 639, 640, 606, 0, 259, 0, 0, + 0, 1057, 1057, 1057, 0, 0, 0, 606, 649, 744, + 0, 650, 651, 0, 0, 0, 0, 661, 662, 0, + 0, 0, 0, 0, 0, 0, 0, 259, 706, 259, + 0, 0, 0, 0, 507, 510, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 881, 0, 0, + 0, 0, 153, 153, 153, 153, 153, 819, 606, 0, + 0, 0, 153, 0, 1118, 1118, 1118, 0, 0, 0, + 744, 0, 0, 0, 0, 259, 606, 606, 606, 0, + 1138, 0, 9, 10, 1139, 12, 175, 14, 15, 881, + 0, 0, 140, 0, 16, 153, 87, 0, 87, 0, + 0, 0, 0, 1362, 87, 0, 87, 0, 18, 0, + 19, 20, 21, 0, 0, 0, 0, 22, -558, 259, + 0, 259, 23, 0, 0, 0, 25, 1140, 0, 176, + 0, 0, 0, 1319, 0, 28, 10, 11, 30, 31, + 14, 15, 1141, 0, 1142, 0, 0, 16, 0, 0, + 0, 0, 33, 0, 0, 0, 0, 0, 0, 259, + 0, 18, 34, 19, 20, 0, 0, 35, 0, 0, + 22, 10, 11, 1143, 175, 14, 15, 0, 0, 25, + 484, 0, 16, 0, 0, 0, 606, 606, 28, 606, + -558, 136, 137, 0, 0, 0, 18, 0, 19, 20, + 606, 0, 0, 0, 0, 22, 0, 0, 606, 0, + 0, 0, 0, 0, 25, 0, 717, 0, 606, 606, + 735, 0, 0, 28, 0, 0, 136, 137, 0, 0, + 0, 0, 0, 0, 147, 10, 11, 12, 0, 0, + 718, 0, 0, 0, 507, 510, 0, 0, 0, 0, + 719, 153, 153, 153, 606, 606, 735, 0, 0, 153, + 153, 720, 721, 20, 0, 0, 0, 0, 616, 0, + 0, 0, 0, 0, 23, 606, 606, 606, 606, 606, + 0, 0, 0, 881, 0, 56, 0, 28, 259, 0, + 30, 31, 1362, 0, 147, 10, 11, 12, 224, 225, + 226, 259, 0, 0, 511, 0, 16, 649, 650, 0, + 0, 0, 56, 56, 512, 160, 0, 56, 0, 35, + 0, 0, 87, 20, 0, 513, 56, 0, 0, 22, + 0, 0, 0, 0, 23, 0, 0, 0, 25, 56, + 717, 56, 0, 0, 10, 11, 0, 28, 0, 256, + 30, 31, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 267, 202, 0, 275, 0, 0, 0, + 0, 0, 20, 0, 203, 0, 0, 0, 881, 35, + 0, 0, 0, 606, 606, 1664, 606, 0, 259, 717, + 606, 0, 0, 0, 0, 0, 28, 0, 0, 136, + 137, 0, 0, 0, 0, 0, 153, 0, 0, 0, + 0, 153, 0, 1495, 87, 0, 0, 0, 413, 413, + 0, 56, 0, 1496, 0, 0, 0, 56, 56, 0, + 0, 267, 275, 56, 1497, 721, 160, 160, 160, 0, + 0, 0, 0, 452, 0, 0, 0, 606, 606, 735, + 606, 606, 56, 0, 0, 0, 56, 259, 0, 0, + 0, 0, 56, 56, 147, 10, 11, 12, 175, 14, + 15, 0, 0, 0, 484, 0, 16, 0, 0, 0, + 0, 56, 56, 160, 0, 0, 0, 0, 0, 0, + 18, 267, 19, 20, 0, 0, 0, 0, 0, 22, + 0, 0, 0, 259, 23, 0, 606, 0, 25, 0, + 717, 56, 0, 0, 0, 0, 0, 28, 0, 0, + 30, 31, 918, 0, 919, 920, 921, 922, 923, 924, + 925, 926, 927, 928, 1103, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1104, 0, 0, 0, 1651, 35, + 0, 56, 0, 0, 0, 1105, 721, 0, 267, 153, + 819, 153, 616, 616, 0, 616, 616, 616, 616, 616, + 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, + 616, 616, 616, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 8, 0, 9, 10, 11, 12, 13, 14, + 15, 0, 0, 0, 56, 0, 16, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 1118, 0, 0, 17, + 18, 0, 19, 20, 21, 0, 0, 0, 0, 22, + 0, 0, 0, 0, 23, 0, 0, 24, 25, 26, + 657, 27, 0, 0, 0, 0, 0, 28, 29, 0, + 30, 31, 0, 0, 32, 413, 0, 1118, 1118, 1118, + 0, 0, 0, 0, 33, 267, 0, 0, 10, 11, + 153, 1239, 0, 561, 34, 0, 0, 0, 0, 35, + 0, 0, 0, 0, 0, 36, 0, 0, 413, 0, + 37, 0, 147, 133, 134, 12, 20, 0, 561, 0, + 56, 0, 0, 649, 650, 0, 0, 0, 0, 56, + 0, 267, 0, 717, 0, 0, 0, 0, 452, 56, + 28, 20, 56, 136, 137, 0, 0, 0, 452, 452, + 452, 0, 23, 0, 56, 616, 0, 1495, 0, 0, + 0, 0, 56, 0, 0, 28, 0, 1496, 30, 31, + 0, 0, 0, 0, 0, 0, 0, 0, 1497, 721, + 0, 0, 33, 0, 0, 0, 649, 650, 56, 56, + 56, 56, 34, 0, 0, 0, 56, 35, 0, 0, + 0, 0, 0, 36, 56, 56, 0, 0, 56, 0, + 160, 160, 160, 452, 0, 0, 0, 56, 0, 82, + 0, 0, 56, 0, 0, 56, 0, 0, 0, 0, + 0, 0, 0, 0, 174, 0, 147, 10, 11, 12, + 175, 14, 15, 0, 0, 0, 82, 82, 16, 82, + 0, 82, 0, 0, 0, 0, 0, 0, 0, 0, + 82, 56, 18, 0, 19, 20, 21, 0, 0, 0, + 0, 22, 0, 82, 0, 82, 23, 0, 0, 0, + 25, 0, 0, 176, 0, 0, 0, 0, 0, 28, + 0, 0, 30, 31, 0, 0, 0, 0, 0, 0, + 277, 0, 0, 0, 0, 0, 33, 147, 10, 11, + 12, 175, 14, 15, 1409, 0, 34, 827, 267, 16, + 0, 35, 0, 0, 0, 0, 56, 36, 0, 0, + 0, 0, 37, 18, 0, 19, 20, 0, 0, 0, + 0, 0, 22, 0, 0, 0, 0, 23, 0, 0, + 0, 25, 657, 657, 657, 82, 0, 0, 0, 0, + 28, 82, 82, 30, 31, 657, 277, 82, 0, 0, + 82, 82, 82, 0, 0, 0, 0, 33, 0, 0, + 0, 0, 0, 0, 0, 0, 82, 34, 0, 0, + 82, 0, 35, 0, 0, 0, 82, 82, 36, 0, + 0, 0, 0, 0, 8, 0, 9, 10, 11, 12, + 13, 14, 15, 267, 0, 82, 82, 82, 16, 0, + 0, 0, 0, 0, 0, 0, 657, 0, 657, 0, + 657, 0, 18, 0, 19, 20, 0, 0, 0, 0, + 0, 22, 0, 0, 0, 82, 23, 0, 0, 0, + 25, 0, 0, 459, 413, 0, 0, 0, 616, 28, + 0, 413, 30, 31, 0, 0, 32, 0, 0, 0, + 56, 0, 0, 0, 0, 0, 33, 0, 0, 0, + 0, 0, 0, 0, 0, 82, 34, 0, 0, 0, + 0, 35, 914, 915, 916, 917, 918, 36, 919, 920, + 921, 922, 923, 924, 925, 926, 927, 928, 0, 0, + 56, 56, 160, 0, 0, 0, 0, 267, 275, 0, + 1115, 0, 0, 0, 0, 0, 147, 10, 11, 12, + 0, 0, 256, 0, 657, 0, 0, 0, 82, 56, + 0, 0, 452, 56, 56, 452, 452, 452, 0, 0, + 0, 56, 0, 0, 0, 20, 0, 0, 56, 273, + 10, 11, 12, 175, 14, 15, 23, 0, 0, 484, + 0, 16, 0, 0, 0, 0, 0, 0, 0, 28, + 0, 56, 30, 31, 0, 18, 0, 19, 20, 0, + 0, 0, 0, 0, 22, 0, 202, 0, 0, 23, + 743, 0, 0, 25, 0, 717, 203, 0, 0, 0, + 0, 35, 28, 0, 0, 274, 31, 204, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1266, + 0, 0, 0, 0, 82, 0, 0, 10, 11, 1267, + 175, 14, 15, 82, 35, 0, 484, 0, 16, 0, + 1268, 721, 0, 82, 0, 0, 82, 0, 0, 0, + 0, 0, 18, 0, 19, 20, 0, 0, 82, 0, + 0, 22, 0, 0, 661, 0, 82, 0, 0, 0, + 25, 0, 717, 0, 0, 0, 0, 0, 0, 28, + 0, 0, 136, 137, 0, 0, 0, 0, 0, 0, + 0, 0, 82, 82, 82, 82, 1495, 10, 11, 0, + 82, 0, 15, 0, 0, 0, 1496, 0, 82, 82, + 0, 0, 82, 0, 82, 82, 82, 1497, 721, 0, + 0, 82, 0, 0, 0, 20, 82, 0, 0, 82, + 10, 11, 0, 0, 14, 15, 0, 0, 657, 657, + 657, 16, 717, 0, 452, 267, 0, 0, 0, 28, + 0, 0, 136, 137, 0, 18, 0, 19, 20, 0, + 0, 0, 0, 0, 22, 82, 1495, 0, 0, 649, + 650, 0, 0, 25, 167, 0, 1496, 0, 0, 0, + 0, 0, 28, 0, 0, 136, 137, 1497, 721, 56, + 56, 56, 160, 160, 160, 452, 0, 267, 213, 56, + 267, 1115, 1115, 1115, 916, 917, 918, 275, 919, 920, + 921, 922, 923, 924, 925, 926, 927, 928, 0, 0, + 1005, 0, 0, 743, 0, 0, 0, 0, 0, 0, + 82, 0, 160, 56, 0, 56, 0, 0, 0, 0, + 56, 56, 0, 56, 0, 273, 10, 11, 12, 175, + 14, 15, 0, 0, 0, 484, 0, 16, 0, 0, + 0, 0, 0, 147, 10, 11, 12, 0, 0, 15, + 0, 18, 0, 19, 20, 0, 0, 0, 0, 0, + 22, 0, 0, 10, 11, 23, 175, 14, 15, 25, + 0, 717, 20, 0, 16, 167, 167, 167, 28, 0, + 0, 274, 31, 23, 0, 0, 0, 0, 18, 0, + 19, 20, 0, 0, 0, 1302, 28, 22, 743, 30, + 31, 213, 0, 0, 0, 1303, 763, 0, 0, 764, + 35, 0, 0, 511, 0, 28, 1304, 721, 136, 137, + 213, 213, 516, 512, 0, 0, 0, 0, 35, 0, + 0, 0, 0, 0, 513, 452, 452, 452, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 213, 0, 0, 0, 82, 10, 11, 0, 0, 14, + 256, 0, 0, 0, 0, 0, 16, 0, 56, 56, + 56, 452, 452, 452, 0, 0, 56, 56, 0, 0, + 18, 0, 19, 20, 0, 0, 0, 0, 0, 22, + 0, 0, 0, 0, 82, 82, 82, 0, 25, 0, + 717, 0, 277, 0, 1117, 0, 0, 28, 0, 56, + 136, 137, 0, 1514, 133, 134, 12, 0, 0, 0, + 0, 0, 0, 82, 718, 0, 0, 82, 82, 0, + 267, 275, 0, 605, 719, 82, 0, 0, 0, 56, + 0, 0, 82, 0, 0, 720, 721, 0, 0, 915, + 916, 917, 918, 23, 919, 920, 921, 922, 923, 924, + 925, 926, 927, 928, 0, 82, 28, 0, 0, 30, + 31, 0, 0, 0, 0, 1516, 0, 0, 0, 0, + 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 34, 0, 0, 724, 0, 35, 724, + 724, 0, 0, 0, 36, 0, 652, 0, 273, 10, + 11, 12, 175, 14, 333, 334, 335, 336, 484, 337, + 16, 0, 0, 56, 0, 0, 267, 0, 56, 0, + 0, 56, 0, 0, 18, 338, 19, 20, 21, 213, + 339, 340, 341, 22, 0, 342, 343, 344, 23, 345, + 346, 0, 25, 0, 717, 0, 347, 348, 349, 350, + 351, 28, 0, 0, 274, 31, -347, 0, 0, 352, + 0, 0, 0, 0, 0, 353, 0, 0, 1049, 0, + 0, 0, 0, 0, 0, 0, 355, 356, 1050, 0, + 0, 0, 0, 358, 359, 360, 0, 0, 0, 1051, + 721, 0, 0, 0, 0, 0, 0, 815, 0, 815, + 815, 724, 0, 0, 0, 0, 0, 362, 0, 0, + 0, 0, 0, 213, 213, 0, 0, 213, 0, 516, + 516, 516, 850, 0, 0, 0, 213, 0, 0, 0, + 743, 213, 0, 0, 213, 0, 0, 211, 0, 0, + 0, 147, 10, 11, 12, 0, 0, 561, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 270, 0, 0, 278, 0, 56, 56, 56, 0, + 20, 0, 0, 82, 82, 82, 82, 82, 82, 0, + 0, 23, 0, 82, 0, 1117, 1117, 1117, 270, 0, + 332, 1313, 0, 0, 28, 0, 0, 30, 31, 0, + 0, 0, -419, 10, 11, -419, -419, 14, 256, 0, + 0, 202, 0, 0, 16, 0, 82, 82, 0, 82, + 0, 203, 0, 1115, 82, 82, 35, 82, 18, 0, + 19, 20, 204, 0, 0, 213, 0, 22, 0, 0, + 0, 0, -419, 0, 0, 0, 25, 0, 717, 0, + 147, 10, 11, 12, 0, 28, 0, 0, 136, 137, + 211, 0, 0, 0, 1115, 1115, 1115, 0, 0, 0, + 0, 0, 718, 0, 0, 0, 0, 56, 0, 211, + 211, 211, 719, 0, 0, 0, 0, -419, 0, 522, + 23, 0, 0, 720, 721, 0, 0, 133, 134, 0, + 0, 225, 226, 28, 0, 0, 30, 31, 16, 211, + 1658, 0, 1014, 0, 0, 0, 0, 0, 0, 0, + 202, 0, 0, 0, 0, 20, 724, 724, 724, 0, + 203, 22, 0, 0, 0, 35, 278, 0, 0, 724, + 25, 204, 717, 0, 0, 0, 0, 487, 0, 28, + 0, 0, 136, 137, 0, 0, 270, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 718, 0, 0, 0, + 0, 0, 82, 82, 82, 0, 719, 0, 0, 815, + 82, 82, 0, 0, 0, 0, 0, 731, 721, 675, + 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, + 686, 687, 688, 689, 690, 147, 10, 11, 12, 214, + 14, 215, 0, 82, 0, 0, 0, 16, 0, 815, + 815, 1109, 0, 0, 0, 0, 0, 0, 0, 1109, + 0, 18, 0, 19, 20, 277, 0, 0, 0, 0, + 22, 0, 0, 82, 0, 23, 0, 0, 213, 25, + 0, 850, 213, 213, 850, 850, 850, 0, 28, 0, + 213, 30, 31, 270, 278, 216, 0, 213, 0, 0, + 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 34, 0, 0, 0, 0, + 35, 0, 0, 0, 0, 0, 36, 0, 211, 0, + 0, 647, 0, 0, 0, 0, 0, 0, 605, 605, + 605, 0, 0, 0, 0, 0, 0, 1350, 10, 1139, + 12, 214, 14, 215, 0, 0, 0, 82, 0, 16, + 0, 0, 82, 0, 0, 82, 0, 0, 0, 0, + 0, 0, 0, 18, 0, 19, 20, 0, 0, 0, + 0, 0, 22, 0, 0, 0, 0, 23, 724, 0, + 0, 25, 0, 0, 0, 0, 211, 0, 211, 211, + 28, 0, 0, 30, 31, 0, 0, 0, 0, 1352, + 0, 0, 211, 211, 0, 0, 211, 33, 211, 211, + 211, 211, 0, 0, 0, 211, 0, 34, 0, 0, + 211, 0, 35, 211, 0, 0, 0, 0, 1143, 0, + 133, 134, 0, 0, 225, 226, 0, 0, 0, 0, + 0, 16, 0, 0, 0, 0, 0, 0, 803, 487, + 0, 0, 0, 0, 0, 0, 724, 724, 20, 0, + 724, 0, 0, 0, 22, 0, 0, 0, 0, 0, + 0, 724, 0, 25, 0, 717, 0, 724, 724, 724, + 0, 0, 28, 724, 0, 136, 137, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 718, + 82, 82, 82, 0, 0, 0, 0, 0, 0, 719, + 0, 0, 0, 0, 0, 0, 270, 278, 0, 0, + 720, 721, 0, 0, 211, 0, 0, 0, 815, 815, + 815, 1109, 1109, 1109, 1305, 0, 0, 0, 815, 0, + 1109, 1109, 1109, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 850, 850, 850, 0, 0, 1117, 0, 0, + 0, 10, 11, 0, 175, 14, 15, 0, 0, 0, + 484, 167, 16, 0, 0, 0, 0, 0, 0, 213, + 0, 0, 0, 0, 0, 0, 18, 0, 19, 20, + 487, 0, 0, 0, 0, 22, 0, 0, 1117, 1117, + 1117, 0, 0, 0, 25, 0, 0, 487, 0, 0, + 946, 82, 0, 28, 0, 0, 136, 137, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 270, 278, 962, 803, 0, 0, 974, 975, 976, + 0, 980, 981, 982, 983, 984, 985, 986, 987, 988, + 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, + 0, 487, 1014, 1014, 0, 1014, 487, 0, 211, 487, + 487, 0, 0, 0, 0, 0, 724, 0, 0, 0, + 0, 0, 0, 0, 724, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 724, 724, 724, 0, 0, 0, + 487, 0, 0, 0, 0, 0, 0, 487, 211, 211, + 1107, 0, 0, 0, 0, 270, 278, 0, 1107, 0, + 0, 0, 0, 0, 0, 0, 0, 815, 815, 815, + 1305, 1305, 1305, 0, 0, 815, 815, 211, 0, 0, + 211, 211, 211, 211, 211, 211, 522, 0, 0, 211, + 0, 850, 850, 850, 850, 850, 211, 0, 147, 10, + 11, 12, 214, 14, 215, 0, 0, 0, 213, 0, + 16, 803, 0, 0, 0, 0, 0, 0, 278, 0, + 0, 0, 0, 0, 18, 0, 19, 20, 0, 0, + 487, 0, 0, 22, 0, 0, 0, 0, 23, 0, + 0, 0, 25, 0, 487, 0, 0, 0, 0, 0, + 0, 28, 0, 0, 30, 31, 0, 0, 1661, 0, + 0, 0, 0, 0, 109, 0, 0, 0, 33, 0, + 0, 0, 0, 127, 109, 0, 0, 0, 34, 0, + 0, 109, 109, 35, 109, 0, 0, 0, 0, 36, + 0, 273, 10, 11, 12, 0, 0, 15, 0, 1305, + 1305, 0, 1305, 0, 0, 0, 850, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 245, + 20, 0, 213, 0, 0, 0, 0, 0, 0, 0, + 0, 23, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 28, 0, 0, 274, 31, 1203, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 846, 0, 1305, 1305, 1305, 1305, 1305, 0, 0, + 0, 847, 0, 0, 0, 0, 35, 1217, 405, 0, + 127, 0, 848, 0, 0, 0, 0, 109, 109, 0, + 0, 0, 0, 270, 278, 270, 109, 109, 0, 0, + 109, 109, 109, 0, 437, 109, 109, 109, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 803, 487, 0, + 0, 0, 1305, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 487, 0, 487, 0, 487, 211, 211, 211, + 211, 211, 1107, 211, 0, 1306, 0, 211, 270, 1107, + 1107, 1107, 0, 0, 0, 278, 0, 0, 0, 0, + 0, 211, 211, 211, 0, 0, 0, 0, 0, 0, + 0, 487, 0, 0, 0, 213, 0, 213, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 211, 0, + 0, 0, 0, 0, 0, 0, 245, 109, 0, 0, + 0, 0, 0, 0, 722, 0, 0, 722, 722, 147, + 10, 11, 12, 175, 14, 15, 0, 0, 0, 0, + 109, 16, 0, 0, 0, 0, 0, 0, 0, 803, + 803, 0, 516, 0, 0, 18, 0, 19, 20, 0, + 0, 0, 0, 0, 22, 0, 0, 0, 0, 23, + 0, 1337, 0, 25, 0, 0, 10, 11, 0, 0, + 14, 15, 28, 109, 0, 30, 31, 16, 0, 0, + 0, 0, 0, 516, 516, 516, 0, 0, 0, 33, + 0, 18, 0, 19, 20, 0, 213, 0, 0, 34, + 22, 0, 0, 0, 35, 0, 0, 0, 0, 25, + 36, 0, 0, 0, 0, 0, 0, 0, 28, 0, + 0, 136, 137, 700, 0, 722, 0, 722, 722, 722, + 0, 0, 0, 0, 109, 0, 109, 803, 803, 109, + 0, 1398, 0, 0, 0, 0, 211, 211, 211, 211, + 211, 1107, 0, 0, 211, 211, 701, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 109, 0, 0, + 211, 211, 211, 211, 211, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 211, 109, 0, + 109, 0, 0, 0, 0, 0, 0, 0, 109, 10, + 11, 109, 214, 14, 215, 0, 0, 0, 522, 0, + 16, 0, 0, 109, 0, 0, 803, 147, 10, 11, + 12, 214, 14, 215, 18, 0, 19, 20, 0, 16, + 0, 0, 0, 22, 0, 0, 147, 10, 11, 12, + 0, 0, 25, 18, 0, 19, 20, 803, 0, 0, + 0, 28, 22, 0, 136, 137, 0, 23, 0, 0, + 0, 25, 0, 0, 0, 20, 0, 0, 0, 0, + 28, 1452, 0, 30, 31, 0, 23, 0, 211, 211, + 1306, 211, 0, 0, 0, 211, 0, 33, 0, 28, + 0, 0, 30, 31, 0, 0, 0, 34, 0, 0, + 0, 211, 35, 0, 245, 874, 202, 0, 36, 0, + 0, 0, 803, 0, 0, 0, 203, 0, 0, 0, + 109, 35, 0, 273, 10, 11, 12, 204, 0, 0, + 0, 0, 147, 133, 1338, 12, 0, 0, 487, 0, + 0, 0, 211, 211, 1107, 211, 211, 487, 0, 0, + 0, 0, 20, 0, 722, 722, 722, 0, 0, 803, + 0, 20, 109, 23, 109, 0, 0, 1053, 0, 1510, + 1511, 0, 23, 0, 0, 0, 28, 0, 0, 274, + 31, 0, 0, 0, 0, 28, 0, 0, 30, 31, + 0, 0, 0, 846, 0, 0, 0, 0, 0, 0, + 803, 211, 157, 847, 0, 0, 0, 722, 35, 0, + 0, 0, 158, 0, 848, 0, 0, 35, 0, 0, + 0, 0, 0, 159, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 1564, 0, 0, 0, 0, + 0, 10, 11, 0, 175, 14, 15, 722, 722, 722, + 1614, 0, 16, 0, 211, 0, 211, 1053, 0, 0, + 10, 11, 109, 0, 14, 256, 18, 0, 19, 20, + 0, 16, 109, 109, 0, 22, 109, 109, 0, 0, + 0, 1621, 1622, 0, 25, 18, 0, 19, 20, 0, + 0, 0, 0, 28, 22, 0, 136, 137, 0, 0, + 0, 0, 0, 25, 0, 0, 0, 0, 1640, 0, + 0, 1107, 28, 109, 0, 136, 137, 0, 0, 0, + 109, 127, 0, 10, 11, 0, 0, 14, 15, 0, + 245, 0, 0, 0, 16, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 1678, 0, 18, 0, + 19, 20, 1107, 1107, 1107, 0, 0, 22, 0, 0, + 0, 0, 0, 0, 0, 211, 25, 0, 0, 0, + 0, 0, 0, 0, 0, 28, 20, 0, 136, 137, + 0, 0, 0, 487, 0, 0, 722, 673, 674, 675, + 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, + 686, 687, 688, 689, 690, 0, 0, 0, 1728, 0, + 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, + 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, + 689, 690, 0, 0, 0, 0, 0, 0, 0, 874, + 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, + 684, 685, 686, 687, 688, 689, 690, 0, 109, 109, + 109, 109, 0, 0, 722, 722, 0, 0, 722, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 722, + 0, 0, 0, 0, 0, 1053, 1053, 1053, 0, 0, + 0, 722, 0, 0, 0, 0, 0, 908, 909, 910, + 911, 912, 913, 914, 915, 916, 917, 918, 109, 919, + 920, 921, 922, 923, 924, 925, 926, 927, 928, 803, + 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, + 686, 687, 688, 689, 690, 0, 722, 722, 722, 722, + 722, 722, 722, 0, 0, 0, 722, 0, 1053, 1053, + 1053, 0, 0, 0, 0, 0, 0, 1626, 0, -513, + -513, -513, -513, -513, -513, -513, 0, 0, 0, -513, + 0, -513, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, -513, 0, -513, 0, 109, 109, -513, 0, + 109, 0, 0, 0, -513, 0, 0, 0, 0, -513, + 0, 109, 0, -513, 0, -513, 0, 0, 0, 0, + 0, 0, -513, 109, 0, -513, -513, -513, -513, -513, + 0, -513, -513, -513, -513, -513, -513, -513, -513, -513, + -513, -513, -513, -513, -513, -513, -513, -513, -513, -513, + -513, -513, -513, -513, -513, -513, -513, 0, 0, -513, + -513, -513, -513, 874, -513, 0, 0, 0, 0, 1627, + -513, 0, 0, 0, 0, -513, -513, -513, 0, -513, + 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, + 687, 688, 689, 690, 722, 0, 0, 0, 0, 0, + 0, 0, 722, 0, 0, 874, 0, 0, 109, 0, + 0, 109, 722, 722, 722, 669, 670, 671, 672, 673, + 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, + 684, 685, 686, 687, 688, 689, 690, 0, 0, 0, + 0, 0, 0, 0, 0, 722, 722, 722, 722, 722, + 722, 0, 0, 722, 722, 0, 0, 0, 0, 0, + 0, 0, 1393, 669, 670, 671, 672, 673, 674, 675, + 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, + 686, 687, 688, 689, 690, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 109, 109, 0, 109, 1712, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 109, 0, 0, 0, + 0, 0, 0, 0, 109, 0, 0, 0, 0, 0, + 0, 0, 668, 0, 109, 109, 669, 670, 671, 672, + 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, + 683, 684, 685, 686, 687, 688, 689, 690, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 722, 722, 0, + 722, 0, 0, 273, 10, 11, 12, 0, 14, 333, + 334, 335, 336, 0, 337, 16, 0, 0, 0, 874, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, + 338, 19, 20, 21, 0, 339, 340, 341, 22, 0, + 342, 343, 344, 23, 345, 346, 0, 25, 0, 717, + 109, 347, 348, 349, 350, 351, 28, 0, 0, 274, + 31, 722, 722, 722, 722, 722, 0, 0, 0, 0, + 353, 0, 0, 1049, 0, 0, 0, 0, 0, 0, + 0, 355, 356, 1050, 0, 0, 0, 0, 358, 359, + 360, 0, 0, 0, 1051, 721, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 362, 0, 874, 0, 0, 1207, 0, 0, + 722, 669, 670, 671, 672, 673, 674, 675, 676, 677, + 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, + 688, 689, 690, 0, 0, 109, 1577, 109, -930, -930, + -930, -930, -930, -930, -930, -930, -930, -930, 0, -930, + -930, -930, 0, -930, -930, -930, -930, -930, -930, -930, + -930, -930, -930, -930, -930, -930, -930, -930, -930, 0, + -930, -930, -930, -930, 0, -930, -930, -930, -930, -930, + -930, -930, -930, -930, 0, 0, -930, -930, -930, -930, + -930, -930, 0, 0, -930, -930, -930, 0, -930, -930, + 0, 0, 0, 0, 0, -930, 0, 0, -930, 0, + 0, 0, 0, 0, 0, 0, -930, -930, -930, 0, + 0, 0, 0, -930, -930, -930, 0, 0, 0, -930, + 0, 0, 0, -930, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 1578, -930, 1539, 0, + -930, -930, -930, -930, -930, -930, -930, -930, -930, -930, + 0, -930, -930, -930, 0, -930, -930, -930, -930, -930, + -930, -930, -930, -930, -930, -930, -930, -930, -930, -930, + -930, 0, -930, -930, -930, -930, 0, -930, -930, -930, + -930, -930, -930, -930, -930, -930, 0, 0, -930, -930, + -930, -930, -930, -930, 0, 0, -930, -930, -930, 0, + -930, -930, 0, 0, 0, 0, 0, -930, 0, 0, + -930, 0, 0, 0, 0, 0, 0, 0, -930, -930, + -930, 0, 0, 0, 0, -930, -930, -930, 0, 0, + 0, -930, 0, 0, 652, -930, 147, 10, 11, 12, + 175, 14, 333, 334, 335, 336, 484, 337, 16, -930, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 18, 338, 19, 20, 21, 0, 339, 340, + 341, 22, 0, 342, 343, 344, 23, 345, 346, 0, + 25, 0, 717, 0, 347, 348, 349, 350, 351, 28, + 0, 0, 30, 31, -347, 0, 0, 352, 0, 0, + 0, 0, 0, 353, 0, 0, 1112, 0, 0, 0, + 0, 0, 0, 0, 355, 356, 1113, 0, 0, 0, + 0, 358, 359, 360, 0, 0, 0, 1114, 721, 977, + 0, 273, 10, 11, 12, 175, 14, 333, 334, 335, + 336, 0, 337, 16, 0, 362, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 18, 338, 19, + 20, 21, 0, 339, 340, 341, 22, 0, 342, 343, + 344, 23, 345, 346, 0, 25, 0, 0, 0, 347, + 348, 349, 350, 351, 28, 0, 0, 274, 31, 1723, + 0, -832, 352, 0, 0, 0, 0, 0, 353, 0, + 0, 354, 0, 0, 0, 0, 0, 0, 0, 355, + 356, 357, 0, 0, 0, 0, 358, 359, 360, 0, + 0, 801, 361, 963, 964, 965, 12, 0, 14, 500, + 334, 335, 336, 0, 337, 16, 0, 0, 0, 0, + 362, 0, 0, 0, 0, 0, 0, 0, 0, 18, + 338, 19, 0, 21, 0, 339, 340, 341, 22, 0, + 342, 343, 344, 23, 345, 346, 0, 25, 0, 0, + 0, 347, 348, 349, 350, 351, 28, 0, 0, 966, + 967, 802, 0, 0, 352, 0, 0, 0, 0, 0, + 353, 0, 0, 354, 0, 0, 0, 0, 0, 0, + 0, 355, 356, 357, 0, 0, 0, 0, 358, 359, + 360, 0, 0, 0, 361, 968, 652, 0, 273, 10, + 11, 12, 0, 14, 333, 334, 335, 336, 0, 337, + 16, 1097, 362, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 18, 338, 19, 20, 21, 0, + 339, 340, 341, 22, 0, 342, 343, 344, 23, 345, + 346, 0, 25, 0, 0, 0, 347, 348, 349, 350, + 351, 28, 0, 0, 274, 31, -347, 0, 0, 352, + 0, 0, 0, 0, 0, 353, 0, 0, 653, 0, + 0, 0, 0, 0, 0, 0, 355, 356, 654, 0, + 0, 0, 0, 358, 359, 360, 0, 0, 801, 655, + 963, 964, 965, 12, 0, 14, 500, 334, 335, 336, + 0, 337, 16, 0, 0, 0, 0, 362, 0, 0, + 0, 0, 0, 0, 0, 0, 18, 338, 19, 0, + 21, 0, 339, 340, 341, 22, 0, 342, 343, 344, + 23, 345, 346, 0, 25, 0, 0, 0, 347, 348, + 349, 350, 351, 28, 0, 0, 966, 967, 802, 0, + 0, 352, 0, 0, 0, 0, 0, 353, 0, 0, + 354, 0, 0, 0, 0, 0, 0, 0, 355, 356, + 357, 0, 0, 0, 0, 358, 359, 360, 0, 0, + 0, 361, 968, 801, 0, 273, 10, 11, 12, 0, + 14, 500, 334, 335, 336, 0, 337, 16, 0, 362, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 18, 338, 19, 0, 21, 0, 339, 340, 341, + 22, 0, 342, 343, 344, 23, 345, 346, 0, 25, + 0, 0, 0, 347, 348, 349, 350, 351, 28, 0, + 0, 274, 31, 802, 0, 0, 352, 0, 0, 0, + 0, 0, 353, 0, 0, 354, 0, 0, 0, 0, + 0, 0, 0, 355, 356, 357, 0, 0, 0, 0, + 358, 359, 360, 0, 0, 0, 361, 0, 801, 0, + 963, 964, 965, 12, 1316, 14, 500, 334, 335, 336, + 0, 337, 16, 0, 362, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 18, 338, 19, 0, + 21, 0, 339, 340, 341, 22, 0, 342, 343, 344, + 23, 345, 346, 0, 25, 0, 0, 0, 347, 348, + 349, 350, 351, 28, 0, 0, 966, 967, 802, 0, + 0, 352, 0, 0, 0, 0, 0, 353, 0, 0, + 354, 0, 0, 0, 0, 0, 0, 0, 355, 356, + 357, 0, 0, 0, 0, 358, 359, 360, 0, 0, + 801, 361, 963, 964, 965, 12, 0, 14, 500, 334, + 335, 336, 0, 337, 16, 0, 0, 0, -517, 362, + 0, 0, 0, 0, 0, 0, 0, 0, 18, 338, + 19, 0, 21, 0, 339, 340, 341, 22, 0, 342, + 343, 344, 23, 345, 346, 0, 25, 0, 0, 0, + 347, 348, 349, 350, 351, 28, 0, 0, 966, 967, + 802, 0, 0, 352, 0, 0, 0, 0, 0, 353, + 0, 0, 354, 0, 0, 0, 0, 0, 0, 0, + 355, 356, 357, 0, 0, 0, 0, 358, 359, 360, + 0, 0, 652, 361, 147, 10, 11, 12, 0, 14, + 333, 334, 335, 336, 0, 337, 16, 0, 0, 0, + 1430, 362, 0, 0, 0, 0, 0, 0, 0, 0, + 18, 338, 19, 20, 21, 0, 339, 340, 341, 22, + 0, 342, 343, 344, 23, 345, 346, 0, 25, 0, + 0, 0, 347, 348, 349, 350, 351, 28, 0, 0, + 30, 31, -347, 0, 0, 352, 0, 0, 0, 0, + 0, 353, 0, 0, 1705, 0, 0, 0, 0, 0, + 0, 0, 355, 356, 1706, 0, 0, 0, 0, 358, + 359, 360, 0, 0, 1762, 1707, 273, 10, 11, 12, + 0, 14, 333, 334, 335, 336, 0, 337, 16, 0, + 0, 0, 0, 362, 0, 0, 0, 0, 0, 0, + 0, 0, 18, 338, 19, 20, 21, 0, 339, 340, + 341, 22, 0, 342, 343, 344, 23, 345, 346, 0, + 25, 0, 0, 0, 347, 348, 349, 350, 351, 28, + 0, 0, 274, 31, 0, 0, -211, 352, 0, 0, + 0, 0, 0, 353, 0, 0, 354, 0, 0, 0, + 0, 0, 0, 0, 355, 356, 357, 0, 0, 0, + 0, 358, 359, 360, 0, 0, 801, 361, 273, 10, + 11, 12, 0, 14, 500, 334, 335, 336, 0, 337, + 16, 0, 0, 0, 0, 362, 0, 0, 0, 0, + 0, 0, 0, 0, 18, 338, 19, 0, 21, 0, + 339, 340, 341, 22, 0, 342, 343, 344, 23, 345, + 346, 0, 25, 0, 0, 0, 347, 348, 349, 350, + 351, 28, 0, 0, 274, 31, 802, 0, 0, 352, + 0, 0, 0, 0, 0, 353, 0, 0, 354, 0, + 0, 0, 0, 0, 0, 0, 355, 356, 357, 0, + 0, 0, 0, 358, 359, 360, 0, 0, 977, 361, + 273, 10, 11, 12, 0, 14, 500, 334, 335, 336, + 0, 337, 16, 0, 0, 0, 0, 362, 0, 0, + 0, 0, 0, 0, 0, 0, 18, 338, 19, 0, + 21, 0, 339, 340, 341, 22, 0, 342, 343, 344, + 23, 345, 346, 0, 25, 0, 0, 0, 347, 348, + 349, 350, 351, 28, 0, 0, 274, 31, 0, 0, + 0, 352, -832, 0, 0, 0, 0, 353, 0, 0, + 354, 0, 0, 0, 0, 0, 0, 0, 355, 356, + 357, 0, 0, 0, 0, 358, 359, 360, 0, 0, + 977, 361, 273, 10, 11, 12, 0, 14, 500, 334, + 335, 336, 0, 337, 16, 0, 0, 0, 0, 362, + 0, 0, 0, 0, 0, 0, 0, 0, 18, 338, + 19, 0, 21, 0, 339, 340, 341, 22, 0, 342, + 343, 344, 23, 345, 346, 0, 25, 0, 0, 0, + 347, 348, 349, 350, 351, 28, 0, 0, 274, 31, + 0, 0, 0, 352, 0, 0, 0, 0, 0, 353, + 0, 0, 354, 0, 0, 0, 0, 0, 0, 0, + 355, 356, 357, 0, 0, 0, 0, 358, 359, 360, + 0, 0, 961, 361, 273, 10, 11, 12, 0, 14, + 500, 334, 335, 336, 0, 337, 16, 0, 0, -832, + 0, 362, 0, 0, 0, 0, 0, 0, 0, 0, + 18, 338, 19, 0, 21, 0, 339, 340, 341, 22, + 0, 342, 343, 344, 23, 345, 346, 0, 25, 0, + 0, 0, 347, 348, 349, 350, 351, 28, 0, 0, + 274, 31, 0, 0, 0, 352, 0, 0, 0, 0, + 0, 353, 0, 0, 354, 0, 0, 0, 0, 0, + 0, 0, 355, 356, 357, 0, 0, 0, 0, 358, + 359, 360, 0, 0, 973, 361, 273, 10, 11, 12, + 0, 14, 500, 334, 335, 336, 0, 337, 16, 0, + 0, 0, 0, 362, 0, 0, 0, 0, 0, 0, + 0, 0, 18, 338, 19, 0, 21, 0, 339, 340, + 341, 22, 0, 342, 343, 344, 23, 345, 346, 0, + 25, 0, 0, 0, 347, 348, 349, 350, 351, 28, + 0, 0, 274, 31, 0, 0, 0, 352, 0, 0, + 0, 0, 0, 353, 0, 0, 354, 0, 0, 0, + 0, 0, 0, 0, 355, 356, 357, 0, 0, 0, + 0, 358, 359, 360, 0, 0, 1677, 361, 273, 10, + 11, 12, 0, 14, 500, 334, 335, 336, 0, 337, + 16, 0, 0, 0, 0, 362, 0, 0, 0, 0, + 0, 0, 0, 0, 18, 338, 19, 0, 21, 0, + 339, 340, 341, 22, 0, 342, 343, 344, 23, 345, + 346, 0, 25, 0, 0, 0, 347, 348, 349, 350, + 351, 28, 0, 0, 274, 31, 0, 0, 0, 352, + 0, 0, 0, 0, 0, 353, 0, 0, 354, 0, + 0, 0, 0, 0, 0, 0, 355, 356, 357, 0, + 0, 0, 0, 358, 359, 360, 0, 0, 0, 361, + 273, 10, 11, 12, 0, 14, 500, 334, 335, 336, + 0, 337, 16, 0, 0, 0, 0, 362, 0, 0, + 0, 0, 0, 0, 0, 0, 18, 338, 19, 0, + 21, 0, 339, 340, 341, 22, 0, 342, 343, 344, + 23, 345, 346, 0, 25, 0, 0, 0, 347, 348, + 349, 350, 351, 28, 0, 0, 274, 31, 0, 0, + 0, 352, 0, 0, 0, 0, 0, 353, 0, 0, + 354, 0, 0, 0, 0, 0, 0, 0, 355, 356, + 357, 0, 0, 0, 0, 358, 359, 360, 0, 0, + 0, 361, 273, 10, 11, 12, 0, 14, 500, 334, + 335, 336, 0, 337, 16, 0, 0, 0, 0, 362, + 501, 0, 0, 0, 0, 0, 0, 0, 18, 338, + 19, 0, 21, 0, 339, 340, 341, 22, 0, 342, + 343, 344, 23, 345, 346, 0, 25, 0, 0, 0, + 347, 348, 349, 350, 351, 28, 0, 0, 274, 31, + 0, 0, 0, 352, 0, 0, 0, 0, 0, 353, + 0, 0, 354, 0, 0, 0, 0, 0, 0, 0, + 355, 356, 357, 0, 0, 0, 0, 358, 359, 360, + 0, 0, 0, 361, 273, 10, 11, 12, 0, 14, + 500, 334, 335, 336, 0, 337, 16, 0, 0, 0, + 0, 362, 856, 0, 0, 0, 0, 0, 0, 0, + 18, 338, 19, 0, 21, 0, 339, 340, 341, 22, + 0, 342, 343, 344, 23, 345, 346, 0, 25, 0, + 0, 0, 347, 348, 349, 350, 351, 28, 0, 0, + 274, 31, 0, 0, 0, 352, 0, 0, 0, 0, + 0, 353, 0, 0, 354, 0, 0, 0, 0, 0, + 0, 0, 355, 356, 357, 0, 0, 0, 0, 358, + 359, 360, 0, 0, 0, 361, 273, 10, 11, 12, + 0, 14, 500, 334, 335, 336, 0, 337, 16, 0, + 0, 0, 0, 362, 1017, 0, 0, 0, 0, 0, + 0, 0, 18, 338, 19, 0, 21, 0, 339, 340, + 341, 22, 0, 342, 343, 344, 23, 345, 346, 0, + 25, 0, 0, 0, 347, 348, 349, 350, 351, 28, + 0, 0, 274, 31, 0, 0, 0, 352, 0, 0, + 0, 0, 0, 353, 0, 0, 354, 0, 0, 0, + 0, 0, 0, 0, 355, 356, 357, 0, 0, 0, + 0, 358, 359, 360, 0, 0, 0, 361, 273, 10, + 11, 12, 0, 14, 500, 334, 335, 336, 0, 337, + 16, 0, 0, 0, 0, 362, 1037, 0, 0, 0, + 0, 0, 0, 0, 18, 338, 19, 0, 21, 0, + 339, 340, 341, 22, 0, 342, 343, 344, 23, 345, + 346, 0, 25, 0, 0, 0, 347, 348, 349, 350, + 351, 28, 0, 0, 274, 31, 0, 0, 0, 352, + 0, 0, 0, 0, 0, 353, 0, 0, 354, 0, + 0, 0, 0, 0, 0, 0, 355, 356, 357, 0, + 0, 0, 0, 358, 359, 360, 0, 0, 0, 361, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 362, 1260, 1581, + 1582, 1583, 12, 175, 14, 333, 334, 335, 336, 0, + 337, 16, 1584, 0, 1585, 1586, 1587, 1588, 1589, 1590, + 1591, 1592, 1593, 1594, 17, 18, 338, 19, 20, 21, + 0, 339, 340, 341, 22, 0, 342, 343, 344, 23, + 345, 346, 1595, 25, 1596, 0, 0, 347, 348, 349, + 350, 351, 28, 0, 0, 274, 1597, 1216, 0, 1598, + 352, 0, 0, 0, 0, 0, 353, 0, 0, 354, + 0, 0, 0, 0, 0, 0, 0, 355, 356, 357, + 0, 0, 0, 0, 358, 359, 360, 0, 0, 0, + 361, 0, 0, 0, 1599, 0, 0, 0, 1581, 1582, + 1583, 12, 175, 14, 333, 334, 335, 336, 362, 337, + 16, 1584, 0, 1585, 1586, 1587, 1588, 1589, 1590, 1591, + 1592, 1593, 1594, 17, 18, 338, 19, 20, 21, 0, + 339, 340, 341, 22, 0, 342, 343, 344, 23, 345, + 346, 1595, 25, 1596, 0, 0, 347, 348, 349, 350, + 351, 28, 0, 0, 274, 1597, 0, 0, 1598, 352, + 0, 0, 0, 0, 0, 353, 0, 0, 354, 0, + 0, 0, 0, 0, 0, 0, 355, 356, 357, 0, + 0, 0, 0, 358, 359, 360, 0, 0, 0, 361, + 0, 0, 0, 1599, 273, 10, 11, 12, 175, 14, + 333, 334, 335, 336, 484, 337, 16, 362, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 18, 338, 19, 20, 21, 0, 339, 340, 341, 22, + 0, 342, 343, 344, 23, 345, 346, 0, 25, 0, + 717, 0, 347, 348, 349, 350, 351, 28, 0, 0, + 274, 31, 0, 0, 0, 352, 0, 0, 0, 0, + 0, 353, 0, 0, 1049, 0, 0, 0, 0, 0, + 0, 0, 355, 356, 1050, 0, 0, 0, 0, 358, + 359, 360, 0, 0, 0, 1051, 721, 147, 10, 11, + 12, 175, 14, 333, 334, 335, 336, 484, 337, 16, + 0, 0, 0, 362, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 18, 338, 19, 20, 21, 0, 339, + 340, 341, 22, 0, 342, 343, 344, 23, 345, 346, + 0, 25, 0, 717, 0, 347, 348, 349, 350, 351, + 28, 0, 0, 30, 31, 0, 0, 0, 352, 0, + 0, 0, 0, 0, 353, 0, 0, 1112, 0, 0, + 0, 0, 0, 0, 0, 355, 356, 1113, 0, 0, + 0, 0, 358, 359, 360, 0, 0, 0, 1114, 721, + 147, 10, 11, 12, 0, 14, 333, 334, 335, 336, + 0, 337, 16, 0, 0, 0, 362, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 18, 338, 19, 20, + 21, 0, 339, 340, 341, 22, 0, 342, 343, 344, + 23, 345, 346, 0, 25, 0, 717, 0, 347, 348, + 349, 350, 351, 28, 0, 0, 30, 31, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, + 1112, 0, 0, 0, 0, 0, 0, 0, 355, 356, + 1113, 0, 0, 0, 0, 358, 359, 360, 0, 0, + 0, 1114, 721, 273, 10, 11, 12, 0, 14, 333, + 334, 335, 336, 0, 337, 16, 0, 0, 0, 362, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, + 338, 19, 20, 21, 0, 339, 340, 341, 22, 0, + 342, 343, 344, 23, 345, 346, 0, 25, 0, 0, + 0, 347, 348, 349, 350, 351, 28, 0, 0, 274, + 31, 0, 0, 0, 352, 0, 0, 0, 0, 0, + 353, 0, 0, 354, 0, 0, 0, 0, 0, 0, + 0, 355, 356, 357, 0, 0, 0, 0, 358, 359, + 360, 0, 0, 0, 361, 273, 10, 11, 12, 0, + 14, 333, 334, 335, 336, 0, 337, 16, 0, 0, + 0, 0, 362, 0, 0, 0, 0, 0, 0, 0, + 0, 18, 338, 19, 20, 21, 0, 339, 340, 341, + 22, 0, 342, 343, 344, 23, 345, 346, 0, 25, + 0, 0, 0, 347, 348, 349, 350, 351, 28, 0, + 0, 274, 613, 0, 0, 0, 614, 0, 0, 0, + 0, 0, 353, 0, 0, 354, 0, 0, 0, 0, + 0, 0, 0, 355, 356, 357, 0, 0, 0, 0, + 358, 359, 360, 0, 0, 0, 361, 273, 10, 11, + 12, 0, 14, 500, 334, 335, 336, 0, 337, 16, + 0, 0, 0, 0, 362, 0, 0, 0, 0, 0, + 0, 0, 0, 18, 338, 19, 20, 21, 0, 339, + 340, 341, 22, 0, 342, 343, 344, 23, 345, 346, + 0, 25, 0, 0, 0, 347, 348, 349, 350, 351, + 28, 0, 0, 274, 31, 0, 0, 0, 352, 0, + 0, 0, 0, 0, 353, 0, 0, 653, 0, 0, + 0, 0, 0, 0, 0, 355, 356, 654, 0, 0, + 0, 0, 358, 359, 360, 0, 0, 0, 655, 273, + 10, 11, 12, 0, 14, 500, 334, 335, 336, 0, + 337, 16, 0, 0, 0, 0, 362, 0, 0, 0, + 0, 0, 0, 0, 0, 18, 338, 19, 0, 21, + 0, 339, 340, 341, 22, 0, 342, 343, 344, 23, + 345, 346, 0, 25, 0, 0, 0, 347, 348, 349, + 350, 351, 28, 0, 0, 274, 31, 0, 0, 1644, + 352, 0, 0, 0, 0, 0, 353, 0, 0, 354, + 0, 0, 0, 0, 0, 0, 0, 355, 356, 357, + 0, 0, 0, 0, 358, 359, 360, 0, 0, 0, + 361, 273, 10, 11, 12, 175, 14, 333, 334, 335, + 336, 0, 337, 16, 0, 0, 0, 0, 362, 0, + 0, 0, 0, 0, 0, 0, 0, 18, 338, 19, + 20, 21, 0, 339, 340, 341, 22, 0, 342, 343, + 344, 23, 345, 346, 0, 25, 0, 0, 0, 347, + 348, 349, 350, 351, 28, 0, 0, 274, 31, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, + 0, 354, 0, 0, 0, 0, 0, 0, 0, 355, + 356, 357, 0, 0, 0, 0, 358, 359, 360, 0, + 0, 0, 361, 147, 10, 11, 12, 0, 14, 500, + 334, 335, 336, 0, 337, 16, 0, 0, 0, 0, + 362, 0, 0, 0, 0, 0, 0, 0, 0, 18, + 338, 19, 20, 21, 0, 339, 340, 341, 22, 0, + 342, 343, 344, 23, 345, 346, 0, 25, 0, 0, + 0, 347, 348, 349, 350, 351, 28, 0, 0, 30, + 31, 0, 0, 0, 352, 0, 0, 0, 0, 0, + 353, 0, 0, 1705, 0, 0, 0, 0, 0, 0, + 0, 355, 356, 1706, 0, 0, 0, 0, 358, 359, + 360, 0, 0, 0, 1707, 273, 10, 11, 12, 0, + 14, 500, 334, 335, 336, 0, 337, 16, 0, 0, + 0, 0, 362, 0, 0, 0, 0, 0, 0, 0, + 0, 18, 338, 19, 0, 21, 0, 339, 340, 341, + 22, 0, 342, 343, 344, 23, 345, 346, 0, 25, + 0, 0, 0, 347, 348, 349, 350, 351, 28, 0, + 0, 274, 31, 0, 0, 0, 352, 0, 0, 0, + 0, 0, 353, 0, 0, 354, 0, 0, 0, 0, + 0, 0, 0, 355, 356, 357, 0, 0, 0, 0, + 358, 359, 360, 0, 0, 0, 361, 273, 10, 11, + 12, 0, 14, 500, 334, 335, 336, 0, 337, 16, + 0, 0, 0, 0, 362, 0, 0, 0, 0, 0, + 0, 0, 0, 18, 338, 19, 0, 21, 0, 339, + 340, 341, 22, 0, 342, 343, 344, 23, 345, 346, + 0, 25, 0, 0, 0, 347, 348, 349, 350, 351, + 28, 0, 0, 274, 31, 665, 0, 0, 0, 0, + 0, 0, 0, 0, 353, 0, 0, 354, 0, 0, + 0, 0, 0, 0, 0, 355, 356, 357, 0, 0, + 0, 0, 358, 359, 360, 0, 0, 0, 666, 273, + 10, 11, 12, 0, 14, 500, 334, 335, 336, 0, + 337, 16, 0, 0, 0, 0, 362, 0, 0, 0, + 0, 0, 0, 0, 0, 18, 338, 19, 0, 21, + 0, 339, 340, 341, 22, 0, 342, 343, 344, 23, + 345, 346, 0, 25, 0, 0, 0, 347, 348, 349, + 350, 351, 28, 0, 0, 274, 31, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 353, 0, 0, 354, + 0, 0, 0, 0, 0, 0, 0, 355, 356, 357, + 0, 0, 0, 0, 358, 359, 360, 0, 0, 0, + 361, 705, 273, 10, 11, 12, 0, 14, 500, 334, + 335, 336, 0, 337, 16, 0, 0, 0, 362, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 18, 338, + 19, 0, 21, 0, 339, 340, 341, 22, 0, 342, + 343, 344, 23, 345, 346, 0, 25, 0, 0, 0, + 347, 348, 349, 350, 351, 28, 0, 0, 274, 31, + 0, 0, 0, 614, 0, 0, 0, 0, 0, 353, + 0, 0, 354, 0, 0, 0, 0, 0, 0, 0, + 355, 356, 357, 0, 0, 0, 0, 358, 359, 360, + 0, 0, 0, 361, 273, 10, 11, 12, 0, 14, + 500, 334, 335, 336, 0, 337, 16, 0, 0, 0, + 0, 362, 0, 0, 0, 0, 0, 0, 0, 0, + 18, 338, 19, 20, 21, 0, 339, 340, 341, 22, + 0, 342, 343, 344, 23, 345, 346, 0, 25, 0, + 0, 0, 347, 348, 349, 350, 351, 28, 0, 0, + 274, 31, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 353, 0, 0, 653, 0, 0, 0, 0, 0, + 0, 0, 355, 356, 654, 0, 0, 0, 0, 358, + 359, 360, 0, 0, 0, 655, 1272, 10, 11, 12, + 0, 14, 500, 334, 335, 336, 0, 337, 16, 0, + 0, 0, 0, 362, 0, 0, 0, 0, 0, 0, + 0, 0, 18, 338, 19, 0, 21, 0, 339, 340, + 341, 22, 0, 342, 343, 344, 23, 345, 346, 0, + 25, 0, 0, 0, 347, 348, 349, 350, 351, 28, + 0, 0, 274, 31, 0, 0, 0, 352, 0, 0, + 0, 0, 0, 353, 0, 0, 354, 0, 0, 0, + 0, 0, 0, 0, 355, 356, 357, 0, 0, 0, + 0, 358, 359, 360, 0, 0, 0, 361, 147, 10, + 11, 12, 0, 14, 333, 334, 335, 336, 0, 337, + 16, 0, 0, 0, 0, 362, 0, 0, 0, 0, + 0, 0, 0, 0, 18, 338, 19, 20, 21, 0, + 339, 340, 341, 22, 0, 342, 343, 344, 23, 345, + 346, 0, 25, 0, 0, 0, 347, 348, 349, 350, + 351, 28, 0, 0, 30, 31, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 353, 0, 0, 1705, 0, + 0, 0, 0, 0, 0, 0, 355, 356, 1706, 0, + 0, 0, 0, 358, 359, 360, 0, 0, 0, 1707, + 273, 10, 11, 12, 0, 14, 500, 334, 335, 336, + 0, 337, 16, 0, 0, 0, 0, 362, 0, 0, + 0, 0, 0, 0, 0, 0, 18, 338, 19, 0, + 21, 0, 339, 340, 341, 22, 0, 342, 343, 344, + 23, 345, 346, 0, 25, 0, 0, 0, 347, 348, + 349, 350, 351, 28, 0, 0, 274, 31, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, + 354, 0, 0, 0, 0, 0, 0, 0, 355, 356, + 357, 0, 0, 0, 0, 358, 359, 360, 0, 0, + 0, 361, 273, 10, 11, 12, 0, 14, 500, 334, + 335, 336, 0, 337, 16, 0, 0, 0, 0, 362, + 0, 0, 0, 0, 0, 0, 0, 0, 18, 338, + 19, 0, 21, 0, 339, 340, 341, 22, 0, 342, + 343, 344, 23, 345, 346, 0, 25, 0, 0, 0, + 347, 348, 349, 350, 351, 28, 0, 0, 274, 31, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, + 0, 0, 354, 0, 0, 0, 0, 0, 0, 0, + 355, 356, 357, 0, 0, 0, 0, 358, 359, 360, + 0, 0, 0, 727, 273, 10, 11, 12, 0, 14, + 500, 334, 335, 336, 0, 337, 16, 0, 0, 0, + 0, 362, 0, 0, 0, 0, 0, 0, 0, 0, + 18, 338, 19, 0, 21, 0, 339, 340, 341, 22, + 0, 342, 343, 344, 23, 345, 346, 0, 25, 0, + 0, 0, 347, 348, 349, 350, 351, 28, 0, 0, + 274, 31, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 353, 0, 0, 354, 0, 0, 0, 0, 0, + 0, 0, 355, 356, 357, 0, 0, 0, 0, 358, + 359, 360, 0, 0, 0, 729, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 362, 1749, 669, 670, 671, 672, 673, + 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, + 684, 685, 686, 687, 688, 689, 690, 669, 670, 671, + 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, + 682, 683, 684, 685, 686, 687, 688, 689, 690 +}; + +static const short yycheck[] = +{ + 16, 6, 218, 6, 182, 184, 183, 25, 24, 796, + 419, 132, 164, 381, 419, 6, 84, 910, 387, 51, + 16, 84, 6, 157, 158, 6, 479, 547, 624, 6, + 612, 419, 89, 38, 368, 38, 140, 47, 198, 47, + 387, 257, 798, 778, 47, 379, 380, 38, 80, 389, + 1006, 97, 1423, 99, 38, 71, 47, 38, 419, 62, + 1429, 38, 772, 47, 461, 198, 47, 6, 60, 218, + 47, 254, 1144, 76, 1146, 248, 1545, 139, 140, 228, + 130, 885, 1154, 139, 1545, 47, 89, 891, 497, 152, + 6, 87, 497, 1540, 1, 227, 228, 313, 47, 38, + 146, 1446, 1447, 62, 6, 47, 1688, 263, 47, 61, + 1600, 114, 6, 26, 130, 3, 12, 113, 1463, 62, + 528, 1785, 38, 65, 492, 322, 323, 13, 34, 56, + 0, 33, 34, 61, 77, 503, 38, 65, 65, 142, + 156, 39, 550, 1807, 38, 47, 1709, 99, 61, 212, + 89, 142, 65, 47, 61, 62, 1719, 1720, 142, 9, + 0, 142, 1, 173, 1746, 381, 1613, 177, 1513, 177, + 173, 36, 62, 0, 177, 114, 62, 1522, 1523, 65, + 1525, 184, 173, 142, 780, 98, 177, 89, 76, 173, + 222, 183, 173, 177, 143, 198, 177, 1687, 1, 95, + 177, 936, 1765, 142, 939, 111, 1616, 36, 3, 4, + 5, 279, 114, 111, 64, 177, 7, 1753, 62, 56, + 223, 111, 61, 76, 110, 184, 65, 1637, 177, 426, + 427, 387, 248, 249, 173, 177, 56, 61, 177, 76, + 142, 1045, 66, 1653, 1691, 65, 50, 263, 39, 143, + 1786, 620, 518, 1722, 1817, 157, 158, 173, 61, 98, + 526, 1722, 65, 259, 59, 60, 110, 8, 9, 4, + 5, 173, 1228, 620, 15, 177, 218, 94, 324, 1624, + 1625, 49, 1729, 177, 223, 227, 228, 439, 83, 94, + 110, 32, 157, 158, 159, 98, 26, 38, 28, 1709, + 202, 203, 40, 56, 63, 409, 47, 13, 49, 1719, + 1720, 314, 56, 329, 376, 257, 373, 320, 56, 1766, + 376, 223, 325, 76, 59, 60, 94, 114, 157, 158, + 159, 61, 76, 46, 325, 65, 76, 353, 49, 204, + 63, 325, 110, 56, 325, 76, 59, 480, 1083, 1084, + 109, 401, 111, 94, 1723, 1765, 62, 110, 361, 65, + 66, 62, 514, 1167, 1074, 1169, 325, 62, 98, 56, + 373, 313, 388, 546, 94, 204, 525, 511, 512, 382, + 1751, 320, 428, 94, 95, 401, 325, 49, 111, 76, + 1462, 387, 524, 525, 791, 792, 26, 744, 28, 110, + 13, 533, 28, 26, 765, 28, 32, 1817, 26, 110, + 28, 77, 199, 79, 754, 110, 419, 549, 320, 422, + 63, 9, 361, 325, 56, 13, 61, 109, 625, 421, + 65, 61, 94, 95, 373, 65, 223, 63, 61, 381, + 66, 49, 65, 61, 76, 1401, 63, 65, 110, 62, + 49, 26, 65, 463, 1, 463, 3, 4, 5, 361, + 463, 49, 63, 49, 620, 1200, 1201, 56, 98, 601, + 94, 373, 463, 49, 62, 98, 64, 65, 66, 463, + 98, 423, 463, 63, 56, 111, 94, 490, 621, 77, + 493, 79, 538, 65, 497, 94, 1078, 489, 62, 491, + 492, 62, 49, 62, 536, 638, 94, 95, 94, 56, + 111, 110, 59, 60, 61, 62, 6, 65, 94, 95, + 32, 463, 110, 65, 463, 4, 5, 49, 76, 3, + 546, 111, 1336, 49, 110, 1131, 3, 13, 110, 6, + 1, 76, 3, 4, 5, 1349, 110, 94, 38, 110, + 492, 110, 28, 709, 61, 1008, 32, 49, 65, 692, + 56, 463, 608, 61, 697, 32, 94, 700, 701, 49, + 4, 5, 94, 49, 66, 1095, 43, 56, 94, 95, + 59, 60, 524, 525, 781, 56, 62, 63, 49, 65, + 66, 533, 59, 60, 73, 56, 76, 56, 59, 60, + 62, 63, 94, 95, 83, 738, 73, 549, 49, 511, + 512, 49, 790, 56, 94, 95, 83, 1137, 94, 95, + 49, 88, 56, 77, 620, 59, 60, 94, 49, 76, + 110, 49, 110, 94, 110, 627, 49, 66, 110, 642, + 643, 644, 645, 646, 56, 702, 511, 512, 513, 665, + 65, 755, 655, 94, 95, 50, 94, 95, 762, 601, + 56, 76, 110, 666, 76, 94, 1075, 1120, 1121, 110, + 1075, 110, 110, 94, 95, 49, 94, 95, 12, 62, + 76, 94, 511, 512, 513, 49, 628, 1075, 1057, 872, + 873, 843, 110, 709, 77, 878, 79, 111, 701, 702, + 762, 1505, 66, 642, 643, 644, 645, 646, 905, 190, + 1057, 757, 49, 99, 1075, 63, 655, 720, 56, 1053, + 94, 1477, 4, 5, 727, 885, 729, 666, 731, 861, + 94, 891, 94, 520, 950, 49, 3, 49, 76, 735, + 642, 643, 644, 645, 646, 763, 63, 763, 56, 1118, + 32, 4, 5, 655, 76, 818, 772, 94, 95, 49, + 881, 65, 701, 702, 666, 1218, 1219, 49, 76, 61, + 49, 1118, 76, 929, 56, 95, 49, 59, 60, 771, + 94, 95, 94, 95, 1540, 95, 802, 49, 727, 49, + 729, 73, 4, 5, 1687, 65, 110, 113, 110, 701, + 702, 83, 56, 56, 94, 6, 59, 60, 4, 5, + 813, 1331, 94, 95, 882, 94, 718, 719, 821, 56, + 73, 94, 49, 819, 49, 727, 62, 729, 65, 771, + 83, 56, 94, 49, 94, 94, 49, 38, 49, 76, + 886, 887, 95, 889, 1297, 65, 47, 59, 60, 94, + 46, 76, 4, 5, 94, 642, 76, 1613, 76, 60, + 56, 62, 94, 59, 60, 1233, 76, 94, 76, 94, + 1067, 3, 4, 5, 76, 1328, 1009, 65, 94, 882, + 32, 94, 885, 94, 671, 1045, 110, 65, 891, 62, + 1023, 882, 1025, 49, 1027, 62, 63, 1790, 882, 76, + 56, 1057, 56, 1055, 56, 882, 1426, 59, 60, 811, + 812, 698, 110, 929, 1092, 77, 56, 79, 705, 861, + 76, 73, 110, 882, 56, 65, 76, 59, 60, 1062, + 1686, 83, 110, 28, 721, 1691, 76, 32, 94, 76, + 1393, 142, 94, 882, 846, 847, 110, 148, 813, 110, + 1737, 1134, 1135, 1136, 1106, 12, 821, 62, 63, 3, + 4, 5, 1118, 111, 1161, 1162, 1163, 62, 63, 1103, + 1104, 66, 173, 1729, 49, 111, 177, 65, 1112, 1113, + 882, 56, 183, 184, 813, 110, 28, 1440, 1234, 1235, + 32, 1237, 821, 49, 3, 4, 5, 110, 7, 8, + 9, 76, 1005, 110, 4, 5, 1009, 1167, 950, 1169, + 1766, 66, 56, 4, 5, 59, 60, 61, 9, 94, + 62, 63, 113, 32, 3, 4, 5, 6, 1481, 38, + 66, 232, 32, 89, 90, 28, 1039, 93, 94, 95, + 96, 110, 1045, 110, 1060, 1108, 110, 56, 1051, 49, + 59, 60, 61, 900, 901, 902, 56, 77, 1074, 59, + 60, 1057, 86, 87, 43, 56, 1005, 56, 59, 60, + 76, 50, 1075, 73, 1077, 76, 1144, 1095, 1146, 76, + 59, 60, 73, 83, 1152, 113, 1154, 113, 3, 4, + 5, 6, 83, 3, 94, 95, 105, 106, 107, 56, + 1039, 56, 1105, 1005, 95, 63, 62, 63, 65, 88, + 65, 1114, 62, 62, 63, 1147, 1148, 62, 63, 76, + 1123, 76, 1118, 910, 325, 1157, 76, 77, 43, 79, + 56, 66, 86, 87, 111, 50, 110, 1039, 1077, 65, + 62, 1144, 1551, 1146, 59, 60, 1551, 1049, 1050, 1152, + 76, 1154, 56, 1144, 56, 1146, 3, 4, 5, 1151, + 1144, 65, 1146, 1154, 1167, 1146, 1169, 1144, 83, 1146, + 1154, 110, 76, 88, 110, 1077, 1336, 1154, 3, 4, + 5, 4, 5, 110, 1123, 1144, 9, 1146, 198, 1349, + 62, 63, 1151, 1152, 8, 1154, 1242, 62, 63, 62, + 63, 1103, 1104, 1219, 1207, 1144, 94, 1146, 49, 32, + 1112, 1113, 59, 60, 1411, 1154, 3, 4, 5, 94, + 421, 1123, 62, 63, 111, 50, 1013, 56, 63, 430, + 76, 38, 66, 56, 59, 60, 59, 60, 1103, 1104, + 1105, 1609, 1144, 110, 1146, 66, 66, 1112, 1113, 1114, + 73, 110, 1154, 63, 3, 4, 5, 6, 83, 1046, + 83, 110, 463, 50, 77, 1268, 110, 66, 1207, 66, + 113, 94, 59, 60, 1103, 1104, 1105, 62, 1143, 110, + 110, 1297, 84, 1112, 1113, 1114, 1419, 111, 489, 490, + 491, 492, 110, 1361, 43, 1428, 497, 36, 1361, 110, + 77, 1304, 1370, 77, 505, 1207, 77, 56, 77, 111, + 59, 60, 110, 61, 1143, 110, 110, 518, 65, 65, + 62, 1353, 7, 8, 9, 526, 110, 1359, 1360, 65, + 15, 1363, 1364, 1336, 110, 1367, 88, 139, 113, 88, + 95, 111, 3, 4, 5, 1505, 1349, 1800, 1340, 1717, + 152, 110, 110, 38, 76, 49, 113, 3, 4, 5, + 6, 562, 47, 113, 1266, 1267, 110, 1370, 3, 4, + 5, 111, 110, 110, 33, 34, 62, 36, 110, 1370, + 66, 1340, 3, 4, 5, 866, 1370, 110, 63, 1457, + 76, 77, 110, 1370, 1462, 56, 110, 43, 59, 60, + 1302, 1303, 110, 62, 50, 61, 65, 110, 1426, 66, + 212, 1370, 71, 59, 60, 50, 65, 76, 110, 158, + 159, 1323, 1324, 110, 59, 60, 627, 4, 5, 1608, + 1607, 1370, 1609, 1436, 94, 111, 94, 83, 59, 60, + 94, 62, 88, 94, 110, 110, 248, 8, 83, 113, + 113, 1238, 60, 83, 84, 85, 86, 87, 1474, 1462, + 83, 84, 85, 86, 87, 204, 110, 110, 1370, 110, + 480, 1462, 49, 3, 4, 5, 6, 279, 1462, 56, + 97, 110, 59, 60, 110, 1462, 110, 62, 1520, 1521, + 149, 62, 65, 56, 1497, 154, 73, 1436, 157, 158, + 159, 1717, 1505, 1462, 110, 110, 83, 7, 8, 9, + 40, 41, 110, 43, 65, 15, 113, 94, 95, 110, + 3, 4, 5, 1462, 49, 184, 56, 66, 110, 59, + 60, 190, 32, 34, 1436, 113, 1714, 94, 38, 65, + 1545, 110, 1545, 202, 203, 204, 110, 47, 1551, 65, + 110, 3, 4, 5, 1545, 110, 110, 1573, 88, 218, + 1462, 1545, 110, 63, 1545, 110, 63, 50, 1545, 228, + 771, 1705, 1706, 63, 9, 183, 59, 60, 1594, 1595, + 3, 4, 5, 6, 386, 63, 17, 111, 110, 3, + 4, 5, 6, 1495, 1496, 9, 110, 1600, 257, 61, + 83, 1388, 1389, 1390, 1391, 1608, 1545, 59, 60, 1600, + 94, 621, 1399, 272, 94, 1607, 1600, 1609, 32, 1600, + 43, 63, 361, 1600, 232, 63, 49, 66, 638, 43, + 432, 1663, 56, 56, 1650, 1651, 59, 60, 94, 840, + 8, 9, 56, 1545, 109, 59, 60, 15, 18, 104, + 73, 114, 63, 56, 313, 314, 12, 110, 859, 73, + 83, 1600, 63, 110, 32, 88, 63, 1609, 63, 83, + 38, 94, 95, 63, 88, 94, 62, 66, 1681, 47, + 94, 882, 692, 1699, 1687, 1688, 113, 697, 110, 12, + 700, 701, 63, 110, 63, 12, 1687, 110, 1600, 7, + 8, 9, 361, 1687, 1707, 12, 1687, 15, 1740, 94, + 1687, 450, 451, 63, 3, 4, 5, 1722, 63, 1722, + 63, 731, 381, 382, 32, 63, 1718, 110, 738, 178, + 38, 1722, 3, 4, 5, 198, 0, 3, 1722, 47, + 38, 1722, 1681, 1746, 546, 1722, 1651, 755, 1687, 1688, + 1075, 177, 1768, 3, 4, 5, 6, 463, 1545, 1713, + 223, 50, 1152, 422, 423, 173, 1426, 101, 1707, 145, + 59, 60, 1636, 512, 513, 1717, 316, 1060, 634, 1681, + 802, 440, 1331, 1722, 443, 1687, 1688, 1137, 59, 60, + 449, 450, 451, 43, 83, 1152, 455, 1370, 1459, 1664, + 50, 942, 604, 1705, 1706, 1707, 1593, 1746, 636, 59, + 60, 821, 702, 421, 3, 4, 5, 619, 209, 130, + 1722, 614, 1540, 376, 1478, 835, 659, 1722, 1737, 1784, + 1734, 490, 830, 492, 493, 1664, 1436, -1, 88, -1, + 1705, 1706, 1707, -1, 1746, -1, -1, 506, -1, -1, + 509, -1, 511, 512, 513, -1, -1, 320, 517, 1646, + -1, 1342, 1343, -1, 523, -1, 525, -1, -1, 528, + 59, 60, 61, 3, 4, 5, 1705, 1706, 1707, -1, + -1, 489, -1, 491, 492, -1, -1, -1, 1369, -1, + 549, 550, -1, 1374, 1681, -1, -1, 505, 361, 1100, + 1687, 1688, -1, -1, -1, -1, 514, -1, -1, -1, + 518, -1, 714, -1, -1, 654, 655, -1, 526, -1, + 858, 1, -1, 3, 4, 5, 6, 666, 8, 59, + 60, -1, 734, -1, -1, 1722, -1, -1, -1, -1, + -1, -1, 601, 1144, -1, 1146, 884, -1, -1, -1, + 1151, 1152, 890, 1154, -1, -1, 419, -1, -1, 1746, + -1, -1, -1, 43, -1, 3, 4, 5, 6, 628, + 50, 1452, 1453, 1760, 1455, 1456, 56, 1458, -1, 59, + 60, -1, -1, -1, 4, 5, -1, -1, 727, 9, + 729, -1, 731, 1780, 653, 654, 655, -1, -1, 1009, + -1, -1, -1, 1790, -1, 43, -1, 666, 88, 3, + 4, 5, 6, 1023, -1, 1025, 818, 1027, 56, 627, + -1, 59, 60, -1, 1811, 63, -1, 65, -1, 1510, + 1511, 3, 4, 5, 497, 73, 56, -1, 32, 59, + 60, -1, -1, -1, -1, 83, -1, 849, -1, 43, + 88, -1, 1062, 73, -1, -1, 94, -1, -1, 718, + 719, 720, 56, 83, -1, 59, 60, -1, 727, -1, + 729, -1, 731, -1, 813, -1, -1, -1, 50, 73, + -1, -1, 821, 1564, 1565, 1566, -1, 59, 60, 83, + -1, 34, -1, -1, 88, -1, 835, -1, 1299, -1, + 94, 903, 1040, -1, 1042, -1, -1, 1308, 847, 848, + -1, -1, 771, 772, -1, 908, 909, -1, 911, 912, + 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, + 923, 924, 925, 926, 927, 928, -1, -1, -1, 1340, + 1621, 1622, -1, -1, 3, 4, 5, 6, -1, -1, + -1, -1, 811, 812, 813, -1, 3, 4, 5, 6, + -1, -1, 821, 771, -1, 3, 4, 5, 6, 1370, + -1, -1, -1, -1, -1, -1, 835, -1, -1, 642, + 643, 644, 645, 646, 43, 844, 845, 846, 847, 848, + 4, 5, 655, 852, -1, 9, 43, -1, -1, -1, + 59, 60, -1, 666, -1, 43, 149, 866, -1, 56, + -1, 154, 59, 60, -1, -1, 63, -1, 32, -1, + 378, 59, 60, 381, 382, -1, 73, -1, 1166, 88, + 1168, -1, 840, -1, -1, 843, 83, -1, 701, -1, + -1, 88, 56, -1, -1, 59, 60, 94, -1, -1, + 88, 859, -1, 1454, 1056, -1, 1058, -1, 1459, 73, + 203, 1462, -1, -1, 727, -1, 729, -1, 1, 83, + 3, 4, 5, 6, 7, 8, 9, 1758, -1, -1, + 94, -1, 15, -1, -1, -1, -1, -1, 1081, -1, + -1, 950, -1, -1, -1, -1, 29, -1, 31, 32, + 33, -1, -1, -1, -1, 38, 1108, -1, -1, 1111, + 43, 1050, 1051, -1, 47, 48, -1, 50, -1, -1, + 1258, -1, -1, 56, -1, -1, 59, 60, -1, 272, + 63, 489, 65, 491, 492, 493, -1, 3, 4, 5, + 73, 3, 4, 5, 6, 3, 4, 5, 6, -1, + 83, -1, -1, -1, -1, 88, -1, -1, 4, 5, + -1, 94, -1, 9, -1, 1104, 1105, -1, -1, -1, + 1029, -1, -1, 1032, 1113, 1114, -1, -1, -1, -1, + -1, 43, -1, -1, 1043, 43, 32, -1, 50, -1, + 1049, 1050, 1051, 59, 60, -1, -1, 59, 60, -1, + -1, 59, 60, 49, 1143, -1, 1607, 1608, 1609, 1419, + 56, -1, -1, 59, 60, 1074, -1, -1, 1428, -1, + -1, 83, 885, 3, 4, 5, 88, 73, 891, 3, + 4, 5, 6, 7, 8, 9, -1, 83, 3, 4, + 5, 15, 1101, 1102, 1103, 1104, 1105, -1, 94, 95, + -1, 1110, -1, 1112, 1113, 1114, -1, -1, 32, 3, + 4, 5, -1, -1, 38, 1124, 1125, 1126, -1, 43, + 50, -1, -1, 47, -1, 49, -1, 1415, -1, 59, + 60, -1, 56, -1, 1143, 59, 60, -1, 3, 4, + 5, 56, 1100, 1152, 59, 60, -1, 440, 1106, 73, + 443, -1, 4, 5, 1442, -1, -1, 9, -1, 83, + 1448, -1, 455, -1, 88, 59, 60, 1718, -1, -1, + 94, 95, -1, -1, -1, -1, 1464, 1465, 1267, 1268, + 32, -1, -1, -1, 718, 719, -1, -1, -1, -1, + -1, -1, 1005, 1151, 59, 60, -1, 3, 4, 5, + 1488, 7, 8, 9, 56, -1, -1, 59, 60, 1361, + -1, -1, -1, 506, 1303, 1304, 509, -1, -1, 6, + -1, 73, -1, -1, -1, -1, 1039, -1, -1, 16, + 523, 83, 1045, -1, -1, -1, -1, -1, -1, 26, + -1, 1384, 94, 1531, 1532, -1, 33, 34, -1, 36, + -1, 38, -1, 59, 60, -1, -1, 1266, 1267, 1268, + 47, -1, 1075, 771, 1077, -1, -1, 1555, 1556, -1, + 1558, -1, -1, 60, -1, 62, -1, 811, 812, -1, + -1, 1433, -1, -1, 71, -1, -1, -1, -1, 76, + -1, 1300, 1301, 1302, 1303, 1304, -1, -1, 1307, -1, + 87, -1, 89, -1, 1664, 1457, -1, -1, -1, -1, + 1123, -1, -1, -1, 1323, 1324, 1325, 3, 4, 5, + 6, -1, -1, -1, -1, -1, 113, -1, -1, -1, + -1, -1, -1, 1342, 1343, -1, 3, 4, 5, 6, + -1, 1299, 81, 82, 83, 84, 85, 86, 87, -1, + 1308, -1, -1, 140, 1167, 142, 1169, 43, -1, -1, + 1369, 148, 149, -1, 50, 1374, 153, 154, 1326, 1327, + 157, 158, 159, 59, 60, -1, 43, -1, 3, 4, + 5, 6, 1340, 50, 1672, -1, 173, -1, -1, -1, + 177, -1, 59, 60, 1207, -1, 183, 184, 3, 4, + 5, 6, 88, -1, 9, -1, -1, 32, 81, 82, + 83, 84, 85, 86, 87, 202, 203, 204, 43, -1, + -1, 88, 1431, 1432, 49, 1434, -1, 32, -1, -1, + -1, 56, -1, -1, 59, 60, -1, -1, 43, -1, + -1, -1, 950, 1452, 1453, 232, 1455, 1456, 73, 1458, + -1, 56, -1, -1, 59, 60, -1, -1, 83, -1, + -1, -1, 249, 88, -1, -1, -1, -1, 73, 94, + 95, -1, 259, 3, 4, 5, 6, -1, 83, -1, + 1438, -1, -1, 88, -1, 272, 1495, 1496, 1497, 94, + -1, -1, -1, -1, -1, 1029, 1454, -1, 1032, -1, + -1, 1510, 1511, -1, -1, -1, 7, 8, 9, 1043, + 68, -1, -1, 43, 15, 1049, 1050, -1, -1, 812, + 1028, -1, -1, 1336, -1, -1, 56, 314, 315, 59, + 60, 32, -1, 320, -1, 65, 1349, 38, 325, -1, + 1498, 1499, -1, 73, -1, -1, 47, 1055, -1, -1, + -1, 844, 845, 83, -1, 1564, 1565, 1566, 88, 852, + -1, -1, 63, -1, 94, -1, -1, 1101, 1102, 1103, + 1104, -1, -1, -1, -1, 1664, 1110, -1, 1112, 1113, + -1, -1, -1, 3, 4, 5, 373, 7, -1, 376, + 148, 378, 1100, -1, 381, 382, 1554, -1, 1106, 1608, + 1609, 3, 4, 5, 6, -1, 164, -1, 3, 4, + 5, 6, 1621, 1622, 9, -1, -1, 1706, 1707, 39, + -1, -1, 409, 1436, -1, -1, -1, 3, 4, 5, + 6, -1, 419, -1, 421, 422, 56, 32, -1, 59, + 60, 43, -1, 430, -1, -1, -1, -1, 43, 1607, + -1, 1609, -1, 440, -1, 1664, 443, 59, 60, -1, + -1, 56, -1, 221, 59, 60, -1, 43, 455, -1, + -1, -1, 230, -1, 50, -1, 463, -1, 73, -1, + -1, -1, -1, 59, 60, -1, 88, -1, 83, 247, + -1, -1, 1505, 88, -1, -1, 1705, 1706, 1707, 94, + 258, -1, 489, 490, 491, 492, 493, 83, 1717, -1, + 497, -1, 88, -1, -1, -1, -1, -1, 505, 506, + -1, -1, 509, -1, 511, 512, 513, 514, -1, -1, + -1, 518, 1266, 1267, -1, -1, 523, -1, 1551, 526, + 1248, -1, 3, 4, 5, 6, -1, -1, 1256, 1758, + 3, 4, 5, 6, 7, 8, 9, -1, -1, -1, + 1718, 86, 15, -1, -1, -1, 1300, 1301, 1302, 1303, + -1, 32, -1, 1307, -1, 562, 29, -1, 31, 32, + 33, -1, 43, -1, -1, 38, -1, -1, 49, -1, + 43, 1299, -1, -1, 47, 56, -1, 50, 59, 60, + 1308, -1, -1, 56, -1, -1, 59, 60, 1101, 1102, + -1, -1, 73, -1, -1, -1, -1, 1110, -1, 606, + 73, -1, 83, 3, 4, 5, 6, 88, -1, -1, + 83, -1, -1, 94, 95, 88, -1, -1, -1, -1, + 627, 94, 167, -1, -1, -1, 99, -1, -1, 3, + 4, 5, 6, 7, 8, 9, 643, 644, 645, 646, + -1, 15, -1, 43, -1, -1, -1, -1, -1, -1, + 50, -1, 430, -1, -1, 200, -1, -1, 32, 59, + 60, 439, -1, -1, 38, -1, -1, -1, 213, 43, + -1, -1, -1, 47, 1707, 49, -1, 1431, 1432, -1, + 1434, -1, 56, 83, -1, 59, 60, -1, 88, -1, + -1, -1, -1, 471, -1, 702, -1, 704, -1, 73, + -1, -1, -1, -1, -1, -1, -1, -1, 715, 83, + -1, 718, 719, 720, 88, -1, 3, 4, 5, 6, + 94, 95, 9, -1, 731, -1, -1, 505, 735, -1, + -1, -1, -1, -1, -1, -1, 514, -1, -1, -1, + -1, 1495, 1496, -1, -1, 32, -1, -1, 755, -1, + -1, -1, -1, -1, -1, 762, 43, 535, -1, -1, + -1, -1, 49, -1, 771, 772, -1, -1, -1, 56, + 1498, 1499, 59, 60, -1, -1, -1, -1, 3, 4, + 5, 6, -1, -1, 562, -1, 73, 1300, 1301, -1, + 3, 4, 5, 6, 1307, -1, 83, -1, -1, -1, + -1, 88, -1, -1, 811, 812, 813, 94, 95, -1, + -1, -1, 819, -1, 821, 3, 4, 5, 43, 7, + 8, 9, -1, -1, -1, -1, 1554, 40, 41, -1, + 43, 56, -1, 840, 59, 60, 843, 844, 845, 846, + 847, 848, -1, 56, 32, 852, 59, 60, 73, -1, + 38, -1, 859, -1, -1, -1, -1, -1, 83, -1, + -1, -1, -1, 88, -1, -1, -1, -1, -1, 94, + -1, 59, 60, -1, -1, 882, -1, -1, 885, -1, + -1, -1, -1, -1, 891, 3, 4, 5, 6, -1, + -1, -1, -1, 900, 901, 902, -1, 281, 282, 283, + 284, 285, 286, -1, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, + 304, 305, 306, 307, 308, 43, 310, 311, -1, -1, + -1, 1, 50, 3, 4, 5, 6, 7, 8, 9, + -1, 59, 60, 950, -1, 15, 75, 76, 77, 78, + 79, 80, 81, 82, 83, 84, 85, 86, 87, 29, + -1, 31, 32, 33, -1, 83, -1, -1, 38, 39, + 88, 516, -1, 43, -1, -1, 521, 47, 48, -1, + 50, -1, -1, -1, -1, -1, 56, -1, -1, 59, + 60, -1, -1, 63, -1, 65, -1, -1, 1005, 3, + 4, 5, 6, 73, -1, 9, -1, 552, -1, -1, + -1, -1, -1, 83, 559, -1, -1, -1, 88, -1, + -1, 1028, 1029, -1, 94, 1032, -1, -1, 32, -1, + -1, -1, 1039, -1, -1, -1, 1043, -1, 1045, 43, + -1, 111, 1049, 1050, 1051, 49, -1, -1, 1055, -1, + 1057, -1, 56, -1, -1, 59, 60, 602, 603, -1, + 605, -1, 840, -1, -1, 843, -1, -1, 1075, 73, + 1077, -1, -1, -1, -1, 3, 4, 5, 6, 83, + -1, 859, -1, -1, 88, -1, -1, -1, -1, -1, + 94, 95, -1, 1100, 1101, 1102, 1103, 1104, 1105, 1106, + -1, -1, -1, 1110, -1, 1112, 1113, 1114, -1, -1, + -1, 1118, 40, 41, -1, 43, 1123, 1124, 1125, 1126, + -1, -1, -1, -1, 3, 4, 5, 6, 56, -1, + 9, 59, 60, 1140, -1, -1, 1143, 1144, -1, 1146, + -1, 202, 203, -1, 1151, 1152, -1, 1154, -1, 3, + 4, 5, 6, 32, -1, 3, 4, 5, 6, -1, + 1167, 9, 1169, -1, 43, -1, -1, -1, -1, -1, + 49, -1, -1, -1, -1, -1, -1, 56, 723, 724, + 59, 60, -1, -1, 32, -1, -1, 732, -1, 43, + -1, -1, 576, -1, 73, 43, 50, -1, -1, -1, + 1207, 49, -1, -1, 83, 59, 60, -1, 56, 88, + -1, 59, 60, -1, 598, 94, 95, -1, 3, 4, + 5, 6, -1, 607, -1, 73, -1, 1234, 1235, 83, + 1237, -1, -1, -1, 88, 83, -1, -1, -1, -1, + 88, 1248, -1, -1, -1, -1, 94, 95, -1, 1256, + 1028, -1, -1, -1, -1, -1, -1, -1, 43, 1266, + 1267, 1268, -1, -1, -1, -1, -1, -1, -1, -1, + 815, 56, -1, -1, 59, 60, -1, 1055, -1, -1, + 65, 3, 4, 5, 6, -1, -1, 9, 73, -1, + -1, -1, 1299, 1300, 1301, 1302, 1303, 1304, 83, -1, + 1307, 1308, -1, 88, -1, 850, -1, -1, -1, 94, + 32, -1, -1, -1, -1, -1, 1323, 1324, 1325, 1326, + 1327, 43, 1100, -1, -1, -1, -1, 49, 1106, 1336, + -1, -1, -1, 1340, 56, -1, -1, 59, 60, -1, + -1, -1, 1349, -1, -1, -1, -1, 892, -1, 894, + -1, 73, -1, -1, -1, 1362, -1, -1, 6, -1, + -1, 83, -1, 1370, -1, -1, 88, -1, 16, -1, + -1, -1, 94, 95, -1, -1, -1, 25, 26, 3, + 4, 5, 6, -1, -1, 33, 34, -1, 36, -1, + 38, -1, 70, 71, 72, 73, 74, 75, 76, 47, + 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, + -1, -1, 60, -1, 62, -1, -1, -1, -1, 43, + -1, -1, -1, 71, 1431, 1432, 50, 1434, 76, 1436, + -1, 1438, -1, -1, -1, 59, 60, -1, -1, -1, + -1, 89, -1, -1, -1, 506, -1, 1454, 509, -1, + 511, 512, 1459, -1, -1, 1462, -1, -1, -1, 83, + -1, -1, 523, -1, 88, -1, 1011, 1012, -1, 1014, + 1248, -1, -1, -1, -1, -1, -1, -1, 1256, 79, + 80, 81, 82, 83, 84, 85, 86, 87, 1495, 1496, + 1497, 1498, 1499, -1, 142, -1, -1, -1, 1505, 1044, + 148, 149, -1, -1, -1, -1, 154, -1, -1, 157, + 158, 159, 896, 897, -1, -1, -1, -1, -1, -1, + -1, 1299, -1, -1, -1, 173, -1, -1, -1, 177, + 1308, -1, -1, -1, -1, 183, 184, -1, -1, -1, + -1, -1, -1, -1, 1551, -1, -1, 1554, 1326, 1327, + -1, -1, -1, -1, 202, 203, 204, -1, -1, -1, + -1, -1, -1, -1, 1109, -1, -1, 1, -1, -1, + 4, 5, -1, -1, 8, 9, -1, -1, -1, -1, + -1, 15, 75, 76, 232, 78, 79, 80, 81, 82, + 83, 84, 85, 86, 87, 29, -1, 31, 32, -1, + 1607, 1608, 1609, -1, 38, -1, 40, 41, -1, -1, + -1, -1, -1, 47, -1, 49, -1, -1, -1, -1, + -1, -1, 56, -1, 272, 59, 60, -1, 62, -1, + -1, -1, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, + 84, 85, -1, 87, 88, 89, 90, 1664, 4, 5, + 1438, 95, 96, 9, -1, -1, 314, 315, -1, -1, + -1, -1, 320, -1, -1, -1, -1, 325, 112, -1, + 71, 72, 73, 74, 75, 76, 32, 78, 79, 80, + 81, 82, 83, 84, 85, 86, 87, -1, 1705, 1706, + 1707, -1, -1, 49, -1, -1, -1, 1252, -1, -1, + 56, 1718, -1, 59, 60, -1, -1, -1, -1, -1, + 1498, 1499, -1, -1, -1, 373, -1, 73, 376, -1, + 378, -1, -1, 381, 382, -1, -1, 83, -1, 387, + -1, 3, 4, 5, 6, -1, -1, 9, 94, 95, + 811, 812, -1, -1, -1, -1, -1, -1, -1, -1, + 1305, 409, -1, -1, -1, -1, -1, -1, -1, -1, + 32, 419, -1, 421, 422, -1, 1554, -1, -1, -1, + -1, 43, 430, 844, 845, 846, 847, 49, -1, -1, + 1335, 852, 440, -1, 56, 443, -1, 59, 60, -1, + -1, -1, -1, 1348, -1, -1, -1, 455, -1, -1, + -1, 73, -1, -1, -1, 463, -1, -1, -1, -1, + -1, 83, -1, -1, -1, -1, 88, -1, -1, -1, + 1375, -1, 94, 95, 1379, -1, -1, -1, -1, -1, + -1, 489, 490, 491, 492, 493, -1, -1, -1, 497, + -1, -1, -1, -1, -1, -1, -1, 505, 506, -1, + -1, 509, -1, 511, 512, 513, 514, -1, -1, -1, + 518, -1, 1417, -1, -1, 523, -1, -1, 526, -1, + -1, 1, -1, 3, 4, 5, 6, 7, 8, 9, + -1, 3, 4, 5, 6, 15, -1, -1, -1, 547, + 79, 80, 81, 82, 83, 84, 85, 86, 87, 29, + -1, 31, 32, 33, 562, -1, -1, -1, 38, 39, + 32, 1466, 1467, 43, -1, -1, -1, 47, 48, -1, + 50, 43, -1, -1, -1, -1, 56, 49, -1, 59, + 60, -1, -1, 63, 56, 65, -1, 59, 60, 13, + -1, -1, -1, 73, -1, -1, -1, -1, 1503, 1504, + -1, 73, -1, 83, 1509, -1, -1, -1, 88, -1, + -1, 83, 620, -1, 94, -1, 88, -1, -1, 627, + -1, -1, 94, 95, -1, -1, -1, -1, -1, -1, + -1, 111, -1, -1, -1, 643, 644, 645, 646, -1, + -1, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, + 84, 85, 86, 87, -1, -1, -1, -1, 3, 4, + 5, 6, -1, -1, 9, -1, -1, -1, -1, -1, + 1101, 1102, 1103, 1104, -1, -1, -1, -1, -1, 1110, + -1, 1112, 1113, -1, 702, -1, 704, 32, -1, -1, + -1, -1, -1, 1124, 1125, 1126, -1, -1, 43, -1, + 718, 719, 720, -1, 1619, -1, -1, -1, -1, -1, + -1, 56, -1, 731, 59, 60, -1, -1, -1, -1, + -1, -1, 3, 4, 5, 6, 744, 1, 73, 3, + 4, 5, 6, 7, 8, 9, -1, 755, 83, -1, + -1, 15, -1, 88, -1, 763, -1, -1, -1, 94, + -1, 32, -1, 771, 772, 29, -1, 31, 32, 33, + -1, -1, 43, -1, 38, 39, -1, -1, -1, 43, + -1, -1, -1, 47, 48, 56, 50, -1, 59, 60, + -1, -1, 56, -1, -1, 59, 60, -1, -1, 63, + -1, 65, 73, 811, 812, 813, -1, -1, -1, 73, + -1, -1, 83, 821, -1, -1, -1, 88, -1, 83, + 4, 5, -1, 94, 88, 9, -1, -1, -1, -1, + 94, -1, 840, -1, -1, 843, 844, 845, 846, 847, + 848, -1, -1, -1, 852, -1, -1, 111, 32, -1, + -1, 859, 76, 77, 78, 79, 80, 81, 82, 83, + 84, 85, 86, 87, -1, 49, -1, -1, -1, -1, + -1, -1, 56, -1, 882, 59, 60, 885, -1, 1300, + 1301, 1302, 1303, 891, -1, -1, 1307, -1, -1, 73, + -1, -1, 900, 901, 902, -1, -1, -1, -1, 83, + -1, -1, 1323, 1324, -1, -1, -1, -1, -1, -1, + 94, 95, -1, -1, -1, -1, -1, -1, -1, 1, + -1, 3, 4, 5, 6, 7, 8, 9, 10, 11, + 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, + -1, -1, 950, -1, -1, -1, -1, 29, 30, 31, + 32, 33, -1, 35, 36, 37, 38, -1, 40, 41, + 42, 43, 44, 45, -1, 47, -1, -1, -1, 51, + 52, 53, 54, 55, 56, -1, -1, 59, 60, -1, + -1, -1, 64, -1, -1, -1, -1, -1, 70, -1, + -1, 73, -1, -1, -1, -1, -1, 1005, -1, 81, + 82, 83, -1, -1, -1, -1, 88, 89, 90, -1, + 1431, 1432, 94, 1434, 320, -1, -1, -1, -1, -1, + 1028, 1029, -1, -1, 1032, -1, -1, -1, 110, -1, + 112, 1039, -1, 339, 340, 1043, -1, 1045, -1, -1, + -1, 1049, 1050, 1051, -1, -1, -1, 1055, 354, 1057, + -1, 357, 358, -1, -1, -1, -1, 363, 364, -1, + -1, -1, -1, -1, -1, -1, -1, 1075, 374, 1077, + -1, -1, -1, -1, 1495, 1496, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 1095, -1, -1, + -1, -1, 1100, 1101, 1102, 1103, 1104, 1105, 1106, -1, + -1, -1, 1110, -1, 1112, 1113, 1114, -1, -1, -1, + 1118, -1, -1, -1, -1, 1123, 1124, 1125, 1126, -1, + 1, -1, 3, 4, 5, 6, 7, 8, 9, 1137, + -1, -1, 1140, -1, 15, 1143, 1144, -1, 1146, -1, + -1, -1, -1, 1151, 1152, -1, 1154, -1, 29, -1, + 31, 32, 33, -1, -1, -1, -1, 38, 39, 1167, + -1, 1169, 43, -1, -1, -1, 47, 48, -1, 50, + -1, -1, -1, 1, -1, 56, 4, 5, 59, 60, + 8, 9, 63, -1, 65, -1, -1, 15, -1, -1, + -1, -1, 73, -1, -1, -1, -1, -1, -1, 1207, + -1, 29, 83, 31, 32, -1, -1, 88, -1, -1, + 38, 4, 5, 94, 7, 8, 9, -1, -1, 47, + 13, -1, 15, -1, -1, -1, 1234, 1235, 56, 1237, + 111, 59, 60, -1, -1, -1, 29, -1, 31, 32, + 1248, -1, -1, -1, -1, 38, -1, -1, 1256, -1, + -1, -1, -1, -1, 47, -1, 49, -1, 1266, 1267, + 1268, -1, -1, 56, -1, -1, 59, 60, -1, -1, + -1, -1, -1, -1, 3, 4, 5, 6, -1, -1, + 73, -1, -1, -1, 1705, 1706, -1, -1, -1, -1, + 83, 1299, 1300, 1301, 1302, 1303, 1304, -1, -1, 1307, + 1308, 94, 95, 32, -1, -1, -1, -1, 614, -1, + -1, -1, -1, -1, 43, 1323, 1324, 1325, 1326, 1327, + -1, -1, -1, 1331, -1, 6, -1, 56, 1336, -1, + 59, 60, 1340, -1, 3, 4, 5, 6, 7, 8, + 9, 1349, -1, -1, 73, -1, 15, 653, 654, -1, + -1, -1, 33, 34, 83, 36, -1, 38, -1, 88, + -1, -1, 1370, 32, -1, 94, 47, -1, -1, 38, + -1, -1, -1, -1, 43, -1, -1, -1, 47, 60, + 49, 62, -1, -1, 4, 5, -1, 56, -1, 9, + 59, 60, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 84, 73, -1, 87, -1, -1, -1, + -1, -1, 32, -1, 83, -1, -1, -1, 1426, 88, + -1, -1, -1, 1431, 1432, 94, 1434, -1, 1436, 49, + 1438, -1, -1, -1, -1, -1, 56, -1, -1, 59, + 60, -1, -1, -1, -1, -1, 1454, -1, -1, -1, + -1, 1459, -1, 73, 1462, -1, -1, -1, 139, 140, + -1, 142, -1, 83, -1, -1, -1, 148, 149, -1, + -1, 152, 153, 154, 94, 95, 157, 158, 159, -1, + -1, -1, -1, 164, -1, -1, -1, 1495, 1496, 1497, + 1498, 1499, 173, -1, -1, -1, 177, 1505, -1, -1, + -1, -1, 183, 184, 3, 4, 5, 6, 7, 8, + 9, -1, -1, -1, 13, -1, 15, -1, -1, -1, + -1, 202, 203, 204, -1, -1, -1, -1, -1, -1, + 29, 212, 31, 32, -1, -1, -1, -1, -1, 38, + -1, -1, -1, 1551, 43, -1, 1554, -1, 47, -1, + 49, 232, -1, -1, -1, -1, -1, 56, -1, -1, + 59, 60, 76, -1, 78, 79, 80, 81, 82, 83, + 84, 85, 86, 87, 73, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 83, -1, -1, -1, 1596, 88, + -1, 272, -1, -1, -1, 94, 95, -1, 279, 1607, + 1608, 1609, 908, 909, -1, 911, 912, 913, 914, 915, + 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, + 926, 927, 928, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 1, -1, 3, 4, 5, 6, 7, 8, + 9, -1, -1, -1, 325, -1, 15, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 1664, -1, -1, 28, + 29, -1, 31, 32, 33, -1, -1, -1, -1, 38, + -1, -1, -1, -1, 43, -1, -1, 46, 47, 48, + 361, 50, -1, -1, -1, -1, -1, 56, 57, -1, + 59, 60, -1, -1, 63, 376, -1, 1705, 1706, 1707, + -1, -1, -1, -1, 73, 386, -1, -1, 4, 5, + 1718, 1017, -1, 9, 83, -1, -1, -1, -1, 88, + -1, -1, -1, -1, -1, 94, -1, -1, 409, -1, + 99, -1, 3, 4, 5, 6, 32, -1, 9, -1, + 421, -1, -1, 1049, 1050, -1, -1, -1, -1, 430, + -1, 432, -1, 49, -1, -1, -1, -1, 439, 440, + 56, 32, 443, 59, 60, -1, -1, -1, 449, 450, + 451, -1, 43, -1, 455, 1081, -1, 73, -1, -1, + -1, -1, 463, -1, -1, 56, -1, 83, 59, 60, + -1, -1, -1, -1, -1, -1, -1, -1, 94, 95, + -1, -1, 73, -1, -1, -1, 1112, 1113, 489, 490, + 491, 492, 83, -1, -1, -1, 497, 88, -1, -1, + -1, -1, -1, 94, 505, 506, -1, -1, 509, -1, + 511, 512, 513, 514, -1, -1, -1, 518, -1, 6, + -1, -1, 523, -1, -1, 526, -1, -1, -1, -1, + -1, -1, -1, -1, 1, -1, 3, 4, 5, 6, + 7, 8, 9, -1, -1, -1, 33, 34, 15, 36, + -1, 38, -1, -1, -1, -1, -1, -1, -1, -1, + 47, 562, 29, -1, 31, 32, 33, -1, -1, -1, + -1, 38, -1, 60, -1, 62, 43, -1, -1, -1, + 47, -1, -1, 50, -1, -1, -1, -1, -1, 56, + -1, -1, 59, 60, -1, -1, -1, -1, -1, -1, + 87, -1, -1, -1, -1, -1, 73, 3, 4, 5, + 6, 7, 8, 9, 1240, -1, 83, 13, 619, 15, + -1, 88, -1, -1, -1, -1, 627, 94, -1, -1, + -1, -1, 99, 29, -1, 31, 32, -1, -1, -1, + -1, -1, 38, -1, -1, -1, -1, 43, -1, -1, + -1, 47, 653, 654, 655, 142, -1, -1, -1, -1, + 56, 148, 149, 59, 60, 666, 153, 154, -1, -1, + 157, 158, 159, -1, -1, -1, -1, 73, -1, -1, + -1, -1, -1, -1, -1, -1, 173, 83, -1, -1, + 177, -1, 88, -1, -1, -1, 183, 184, 94, -1, + -1, -1, -1, -1, 1, -1, 3, 4, 5, 6, + 7, 8, 9, 714, -1, 202, 203, 204, 15, -1, + -1, -1, -1, -1, -1, -1, 727, -1, 729, -1, + 731, -1, 29, -1, 31, 32, -1, -1, -1, -1, + -1, 38, -1, -1, -1, 232, 43, -1, -1, -1, + 47, -1, -1, 50, 755, -1, -1, -1, 1384, 56, + -1, 762, 59, 60, -1, -1, 63, -1, -1, -1, + 771, -1, -1, -1, -1, -1, 73, -1, -1, -1, + -1, -1, -1, -1, -1, 272, 83, -1, -1, -1, + -1, 88, 72, 73, 74, 75, 76, 94, 78, 79, + 80, 81, 82, 83, 84, 85, 86, 87, -1, -1, + 811, 812, 813, -1, -1, -1, -1, 818, 819, -1, + 821, -1, -1, -1, -1, -1, 3, 4, 5, 6, + -1, -1, 9, -1, 835, -1, -1, -1, 325, 840, + -1, -1, 843, 844, 845, 846, 847, 848, -1, -1, + -1, 852, -1, -1, -1, 32, -1, -1, 859, 3, + 4, 5, 6, 7, 8, 9, 43, -1, -1, 13, + -1, 15, -1, -1, -1, -1, -1, -1, -1, 56, + -1, 882, 59, 60, -1, 29, -1, 31, 32, -1, + -1, -1, -1, -1, 38, -1, 73, -1, -1, 43, + 387, -1, -1, 47, -1, 49, 83, -1, -1, -1, + -1, 88, 56, -1, -1, 59, 60, 94, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 73, + -1, -1, -1, -1, 421, -1, -1, 4, 5, 83, + 7, 8, 9, 430, 88, -1, 13, -1, 15, -1, + 94, 95, -1, 440, -1, -1, 443, -1, -1, -1, + -1, -1, 29, -1, 31, 32, -1, -1, 455, -1, + -1, 38, -1, -1, 1600, -1, 463, -1, -1, -1, + 47, -1, 49, -1, -1, -1, -1, -1, -1, 56, + -1, -1, 59, 60, -1, -1, -1, -1, -1, -1, + -1, -1, 489, 490, 491, 492, 73, 4, 5, -1, + 497, -1, 9, -1, -1, -1, 83, -1, 505, 506, + -1, -1, 509, -1, 511, 512, 513, 94, 95, -1, + -1, 518, -1, -1, -1, 32, 523, -1, -1, 526, + 4, 5, -1, -1, 8, 9, -1, -1, 1049, 1050, + 1051, 15, 49, -1, 1055, 1056, -1, -1, -1, 56, + -1, -1, 59, 60, -1, 29, -1, 31, 32, -1, + -1, -1, -1, -1, 38, 562, 73, -1, -1, 1705, + 1706, -1, -1, 47, 36, -1, 83, -1, -1, -1, + -1, -1, 56, -1, -1, 59, 60, 94, 95, 1100, + 1101, 1102, 1103, 1104, 1105, 1106, -1, 1108, 60, 1110, + 1111, 1112, 1113, 1114, 74, 75, 76, 1118, 78, 79, + 80, 81, 82, 83, 84, 85, 86, 87, -1, -1, + 94, -1, -1, 620, -1, -1, -1, -1, -1, -1, + 627, -1, 1143, 1144, -1, 1146, -1, -1, -1, -1, + 1151, 1152, -1, 1154, -1, 3, 4, 5, 6, 7, + 8, 9, -1, -1, -1, 13, -1, 15, -1, -1, + -1, -1, -1, 3, 4, 5, 6, -1, -1, 9, + -1, 29, -1, 31, 32, -1, -1, -1, -1, -1, + 38, -1, -1, 4, 5, 43, 7, 8, 9, 47, + -1, 49, 32, -1, 15, 157, 158, 159, 56, -1, + -1, 59, 60, 43, -1, -1, -1, -1, 29, -1, + 31, 32, -1, -1, -1, 73, 56, 38, 715, 59, + 60, 183, -1, -1, -1, 83, 47, -1, -1, 50, + 88, -1, -1, 73, -1, 56, 94, 95, 59, 60, + 202, 203, 204, 83, -1, -1, -1, -1, 88, -1, + -1, -1, -1, -1, 94, 1266, 1267, 1268, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 232, -1, -1, -1, 771, 4, 5, -1, -1, 8, + 9, -1, -1, -1, -1, -1, 15, -1, 1299, 1300, + 1301, 1302, 1303, 1304, -1, -1, 1307, 1308, -1, -1, + 29, -1, 31, 32, -1, -1, -1, -1, -1, 38, + -1, -1, -1, -1, 811, 812, 813, -1, 47, -1, + 49, -1, 819, -1, 821, -1, -1, 56, -1, 1340, + 59, 60, -1, 3, 4, 5, 6, -1, -1, -1, + -1, -1, -1, 840, 73, -1, -1, 844, 845, -1, + 1361, 1362, -1, 315, 83, 852, -1, -1, -1, 1370, + -1, -1, 859, -1, -1, 94, 95, -1, -1, 73, + 74, 75, 76, 43, 78, 79, 80, 81, 82, 83, + 84, 85, 86, 87, -1, 882, 56, -1, -1, 59, + 60, -1, -1, -1, -1, 65, -1, -1, -1, -1, + -1, -1, -1, 73, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 83, -1, -1, 378, -1, 88, 381, + 382, -1, -1, -1, 94, -1, 1, -1, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15, -1, -1, 1454, -1, -1, 1457, -1, 1459, -1, + -1, 1462, -1, -1, 29, 30, 31, 32, 33, 421, + 35, 36, 37, 38, -1, 40, 41, 42, 43, 44, + 45, -1, 47, -1, 49, -1, 51, 52, 53, 54, + 55, 56, -1, -1, 59, 60, 61, -1, -1, 64, + -1, -1, -1, -1, -1, 70, -1, -1, 73, -1, + -1, -1, -1, -1, -1, -1, 81, 82, 83, -1, + -1, -1, -1, 88, 89, 90, -1, -1, -1, 94, + 95, -1, -1, -1, -1, -1, -1, 489, -1, 491, + 492, 493, -1, -1, -1, -1, -1, 112, -1, -1, + -1, -1, -1, 505, 506, -1, -1, 509, -1, 511, + 512, 513, 514, -1, -1, -1, 518, -1, -1, -1, + 1057, 523, -1, -1, 526, -1, -1, 60, -1, -1, + -1, 3, 4, 5, 6, -1, -1, 9, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 84, -1, -1, 87, -1, 1607, 1608, 1609, -1, + 32, -1, -1, 1100, 1101, 1102, 1103, 1104, 1105, -1, + -1, 43, -1, 1110, -1, 1112, 1113, 1114, 111, -1, + 113, 1118, -1, -1, 56, -1, -1, 59, 60, -1, + -1, -1, 3, 4, 5, 6, 7, 8, 9, -1, + -1, 73, -1, -1, 15, -1, 1143, 1144, -1, 1146, + -1, 83, -1, 1664, 1151, 1152, 88, 1154, 29, -1, + 31, 32, 94, -1, -1, 627, -1, 38, -1, -1, + -1, -1, 43, -1, -1, -1, 47, -1, 49, -1, + 3, 4, 5, 6, -1, 56, -1, -1, 59, 60, + 183, -1, -1, -1, 1705, 1706, 1707, -1, -1, -1, + -1, -1, 73, -1, -1, -1, -1, 1718, -1, 202, + 203, 204, 83, -1, -1, -1, -1, 88, -1, 212, + 43, -1, -1, 94, 95, -1, -1, 4, 5, -1, + -1, 8, 9, 56, -1, -1, 59, 60, 15, 232, + 63, -1, 704, -1, -1, -1, -1, -1, -1, -1, + 73, -1, -1, -1, -1, 32, 718, 719, 720, -1, + 83, 38, -1, -1, -1, 88, 259, -1, -1, 731, + 47, 94, 49, -1, -1, -1, -1, 198, -1, 56, + -1, -1, 59, 60, -1, -1, 279, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 73, -1, -1, -1, + -1, -1, 1299, 1300, 1301, -1, 83, -1, -1, 771, + 1307, 1308, -1, -1, -1, -1, -1, 94, 95, 72, + 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, + 83, 84, 85, 86, 87, 3, 4, 5, 6, 7, + 8, 9, -1, 1340, -1, -1, -1, 15, -1, 811, + 812, 813, -1, -1, -1, -1, -1, -1, -1, 821, + -1, 29, -1, 31, 32, 1362, -1, -1, -1, -1, + 38, -1, -1, 1370, -1, 43, -1, -1, 840, 47, + -1, 843, 844, 845, 846, 847, 848, -1, 56, -1, + 852, 59, 60, 386, 387, 63, -1, 859, -1, -1, + -1, -1, -1, -1, -1, 73, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 83, -1, -1, -1, -1, + 88, -1, -1, -1, -1, -1, 94, -1, 421, -1, + -1, 352, -1, -1, -1, -1, -1, -1, 900, 901, + 902, -1, -1, -1, -1, -1, -1, 3, 4, 5, + 6, 7, 8, 9, -1, -1, -1, 1454, -1, 15, + -1, -1, 1459, -1, -1, 1462, -1, -1, -1, -1, + -1, -1, -1, 29, -1, 31, 32, -1, -1, -1, + -1, -1, 38, -1, -1, -1, -1, 43, 950, -1, + -1, 47, -1, -1, -1, -1, 489, -1, 491, 492, + 56, -1, -1, 59, 60, -1, -1, -1, -1, 65, + -1, -1, 505, 506, -1, -1, 509, 73, 511, 512, + 513, 514, -1, -1, -1, 518, -1, 83, -1, -1, + 523, -1, 88, 526, -1, -1, -1, -1, 94, -1, + 4, 5, -1, -1, 8, 9, -1, -1, -1, -1, + -1, 15, -1, -1, -1, -1, -1, -1, 479, 480, + -1, -1, -1, -1, -1, -1, 1028, 1029, 32, -1, + 1032, -1, -1, -1, 38, -1, -1, -1, -1, -1, + -1, 1043, -1, 47, -1, 49, -1, 1049, 1050, 1051, + -1, -1, 56, 1055, -1, 59, 60, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 73, + 1607, 1608, 1609, -1, -1, -1, -1, -1, -1, 83, + -1, -1, -1, -1, -1, -1, 619, 620, -1, -1, + 94, 95, -1, -1, 627, -1, -1, -1, 1100, 1101, + 1102, 1103, 1104, 1105, 1106, -1, -1, -1, 1110, -1, + 1112, 1113, 1114, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 1124, 1125, 1126, -1, -1, 1664, -1, -1, + -1, 4, 5, -1, 7, 8, 9, -1, -1, -1, + 13, 1143, 15, -1, -1, -1, -1, -1, -1, 1151, + -1, -1, -1, -1, -1, -1, 29, -1, 31, 32, + 621, -1, -1, -1, -1, 38, -1, -1, 1705, 1706, + 1707, -1, -1, -1, 47, -1, -1, 638, -1, -1, + 641, 1718, -1, 56, -1, -1, 59, 60, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 734, 735, 664, 665, -1, -1, 668, 669, 670, + -1, 672, 673, 674, 675, 676, 677, 678, 679, 680, + 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, + -1, 692, 1234, 1235, -1, 1237, 697, -1, 771, 700, + 701, -1, -1, -1, -1, -1, 1248, -1, -1, -1, + -1, -1, -1, -1, 1256, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 1266, 1267, 1268, -1, -1, -1, + 731, -1, -1, -1, -1, -1, -1, 738, 811, 812, + 813, -1, -1, -1, -1, 818, 819, -1, 821, -1, + -1, -1, -1, -1, -1, -1, -1, 1299, 1300, 1301, + 1302, 1303, 1304, -1, -1, 1307, 1308, 840, -1, -1, + 843, 844, 845, 846, 847, 848, 849, -1, -1, 852, + -1, 1323, 1324, 1325, 1326, 1327, 859, -1, 3, 4, + 5, 6, 7, 8, 9, -1, -1, -1, 1340, -1, + 15, 802, -1, -1, -1, -1, -1, -1, 881, -1, + -1, -1, -1, -1, 29, -1, 31, 32, -1, -1, + 821, -1, -1, 38, -1, -1, -1, -1, 43, -1, + -1, -1, 47, -1, 835, -1, -1, -1, -1, -1, + -1, 56, -1, -1, 59, 60, -1, -1, 63, -1, + -1, -1, -1, -1, 16, -1, -1, -1, 73, -1, + -1, -1, -1, 25, 26, -1, -1, -1, 83, -1, + -1, 33, 34, 88, 36, -1, -1, -1, -1, 94, + -1, 3, 4, 5, 6, -1, -1, 9, -1, 1431, + 1432, -1, 1434, -1, -1, -1, 1438, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 71, + 32, -1, 1454, -1, -1, -1, -1, -1, -1, -1, + -1, 43, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 56, -1, -1, 59, 60, 940, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 73, -1, 1495, 1496, 1497, 1498, 1499, -1, -1, + -1, 83, -1, -1, -1, -1, 88, 968, 130, -1, + 132, -1, 94, -1, -1, -1, -1, 139, 140, -1, + -1, -1, -1, 1056, 1057, 1058, 148, 149, -1, -1, + 152, 153, 154, -1, 156, 157, 158, 159, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 1008, 1009, -1, + -1, -1, 1554, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 1023, -1, 1025, -1, 1027, 1100, 1101, 1102, + 1103, 1104, 1105, 1106, -1, 1108, -1, 1110, 1111, 1112, + 1113, 1114, -1, -1, -1, 1118, -1, -1, -1, -1, + -1, 1124, 1125, 1126, -1, -1, -1, -1, -1, -1, + -1, 1062, -1, -1, -1, 1607, -1, 1609, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 1151, -1, + -1, -1, -1, -1, -1, -1, 248, 249, -1, -1, + -1, -1, -1, -1, 378, -1, -1, 381, 382, 3, + 4, 5, 6, 7, 8, 9, -1, -1, -1, -1, + 272, 15, -1, -1, -1, -1, -1, -1, -1, 1120, + 1121, -1, 1664, -1, -1, 29, -1, 31, 32, -1, + -1, -1, -1, -1, 38, -1, -1, -1, -1, 43, + -1, 1142, -1, 47, -1, -1, 4, 5, -1, -1, + 8, 9, 56, 315, -1, 59, 60, 15, -1, -1, + -1, -1, -1, 1705, 1706, 1707, -1, -1, -1, 73, + -1, 29, -1, 31, 32, -1, 1718, -1, -1, 83, + 38, -1, -1, -1, 88, -1, -1, -1, -1, 47, + 94, -1, -1, -1, -1, -1, -1, -1, 56, -1, + -1, 59, 60, 61, -1, 489, -1, 491, 492, 493, + -1, -1, -1, -1, 376, -1, 378, 1218, 1219, 381, + -1, 1222, -1, -1, -1, -1, 1299, 1300, 1301, 1302, + 1303, 1304, -1, -1, 1307, 1308, 94, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 409, -1, -1, + 1323, 1324, 1325, 1326, 1327, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 1340, 430, -1, + 432, -1, -1, -1, -1, -1, -1, -1, 440, 4, + 5, 443, 7, 8, 9, -1, -1, -1, 1361, -1, + 15, -1, -1, 455, -1, -1, 1297, 3, 4, 5, + 6, 7, 8, 9, 29, -1, 31, 32, -1, 15, + -1, -1, -1, 38, -1, -1, 3, 4, 5, 6, + -1, -1, 47, 29, -1, 31, 32, 1328, -1, -1, + -1, 56, 38, -1, 59, 60, -1, 43, -1, -1, + -1, 47, -1, -1, -1, 32, -1, -1, -1, -1, + 56, 1352, -1, 59, 60, -1, 43, -1, 1431, 1432, + 1433, 1434, -1, -1, -1, 1438, -1, 73, -1, 56, + -1, -1, 59, 60, -1, -1, -1, 83, -1, -1, + -1, 1454, 88, -1, 546, 547, 73, -1, 94, -1, + -1, -1, 1393, -1, -1, -1, 83, -1, -1, -1, + 562, 88, -1, 3, 4, 5, 6, 94, -1, -1, + -1, -1, 3, 4, 5, 6, -1, -1, 1419, -1, + -1, -1, 1495, 1496, 1497, 1498, 1499, 1428, -1, -1, + -1, -1, 32, -1, 718, 719, 720, -1, -1, 1440, + -1, 32, 604, 43, 606, -1, -1, 731, -1, 1450, + 1451, -1, 43, -1, -1, -1, 56, -1, -1, 59, + 60, -1, -1, -1, -1, 56, -1, -1, 59, 60, + -1, -1, -1, 73, -1, -1, -1, -1, -1, -1, + 1481, 1554, 73, 83, -1, -1, -1, 771, 88, -1, + -1, -1, 83, -1, 94, -1, -1, 88, -1, -1, + -1, -1, -1, 94, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 1516, -1, -1, -1, -1, + -1, 4, 5, -1, 7, 8, 9, 811, 812, 813, + 13, -1, 15, -1, 1607, -1, 1609, 821, -1, -1, + 4, 5, 704, -1, 8, 9, 29, -1, 31, 32, + -1, 15, 714, 715, -1, 38, 718, 719, -1, -1, + -1, 1562, 1563, -1, 47, 29, -1, 31, 32, -1, + -1, -1, -1, 56, 38, -1, 59, 60, -1, -1, + -1, -1, -1, 47, -1, -1, -1, -1, 1589, -1, + -1, 1664, 56, 755, -1, 59, 60, -1, -1, -1, + 762, 763, -1, 4, 5, -1, -1, 8, 9, -1, + 772, -1, -1, -1, 15, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 1627, -1, 29, -1, + 31, 32, 1705, 1706, 1707, -1, -1, 38, -1, -1, + -1, -1, -1, -1, -1, 1718, 47, -1, -1, -1, + -1, -1, -1, -1, -1, 56, 32, -1, 59, 60, + -1, -1, -1, 1664, -1, -1, 950, 70, 71, 72, + 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, + 83, 84, 85, 86, 87, -1, -1, -1, 1689, -1, + 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, + 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, + 86, 87, -1, -1, -1, -1, -1, -1, -1, 881, + 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, + 81, 82, 83, 84, 85, 86, 87, -1, 900, 901, + 902, 903, -1, -1, 1028, 1029, -1, -1, 1032, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 1043, + -1, -1, -1, -1, -1, 1049, 1050, 1051, -1, -1, + -1, 1055, -1, -1, -1, -1, -1, 66, 67, 68, + 69, 70, 71, 72, 73, 74, 75, 76, 950, 78, + 79, 80, 81, 82, 83, 84, 85, 86, 87, 1800, + 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, + 83, 84, 85, 86, 87, -1, 1100, 1101, 1102, 1103, + 1104, 1105, 1106, -1, -1, -1, 1110, -1, 1112, 1113, + 1114, -1, -1, -1, -1, -1, -1, 1, -1, 3, + 4, 5, 6, 7, 8, 9, -1, -1, -1, 13, + -1, 15, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 26, -1, 28, -1, 1028, 1029, 32, -1, + 1032, -1, -1, -1, 38, -1, -1, -1, -1, 43, + -1, 1043, -1, 47, -1, 49, -1, -1, -1, -1, + -1, -1, 56, 1055, -1, 59, 60, 61, 62, 63, + -1, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, + 84, 85, 86, 87, 88, 89, 90, -1, -1, 93, + 94, 95, 96, 1095, 98, -1, -1, -1, -1, 103, + 104, -1, -1, -1, -1, 109, 110, 111, -1, 113, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, + 84, 85, 86, 87, 1248, -1, -1, -1, -1, -1, + -1, -1, 1256, -1, -1, 1137, -1, -1, 1140, -1, + -1, 1143, 1266, 1267, 1268, 66, 67, 68, 69, 70, + 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, + 81, 82, 83, 84, 85, 86, 87, -1, -1, -1, + -1, -1, -1, -1, -1, 1299, 1300, 1301, 1302, 1303, + 1304, -1, -1, 1307, 1308, -1, -1, -1, -1, -1, + -1, -1, 113, 66, 67, 68, 69, 70, 71, 72, + 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, + 83, 84, 85, 86, 87, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 1234, 1235, -1, 1237, 109, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 1248, -1, -1, -1, + -1, -1, -1, -1, 1256, -1, -1, -1, -1, -1, + -1, -1, 62, -1, 1266, 1267, 66, 67, 68, 69, + 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + 80, 81, 82, 83, 84, 85, 86, 87, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 1431, 1432, -1, + 1434, -1, -1, 3, 4, 5, 6, -1, 8, 9, + 10, 11, 12, -1, 14, 15, -1, -1, -1, 1331, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 29, + 30, 31, 32, 33, -1, 35, 36, 37, 38, -1, + 40, 41, 42, 43, 44, 45, -1, 47, -1, 49, + 1362, 51, 52, 53, 54, 55, 56, -1, -1, 59, + 60, 1495, 1496, 1497, 1498, 1499, -1, -1, -1, -1, + 70, -1, -1, 73, -1, -1, -1, -1, -1, -1, + -1, 81, 82, 83, -1, -1, -1, -1, 88, 89, + 90, -1, -1, -1, 94, 95, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 112, -1, 1426, -1, -1, 62, -1, -1, + 1554, 66, 67, 68, 69, 70, 71, 72, 73, 74, + 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, + 85, 86, 87, -1, -1, 1457, 1, 1459, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, -1, 14, + 15, 16, -1, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 33, -1, + 35, 36, 37, 38, -1, 40, 41, 42, 43, 44, + 45, 46, 47, 48, -1, -1, 51, 52, 53, 54, + 55, 56, -1, -1, 59, 60, 61, -1, 63, 64, + -1, -1, -1, -1, -1, 70, -1, -1, 73, -1, + -1, -1, -1, -1, -1, -1, 81, 82, 83, -1, + -1, -1, -1, 88, 89, 90, -1, -1, -1, 94, + -1, -1, -1, 98, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 111, 112, 1, -1, + 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, + -1, 14, 15, 16, -1, 18, 19, 20, 21, 22, + 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, + 33, -1, 35, 36, 37, 38, -1, 40, 41, 42, + 43, 44, 45, 46, 47, 48, -1, -1, 51, 52, + 53, 54, 55, 56, -1, -1, 59, 60, 61, -1, + 63, 64, -1, -1, -1, -1, -1, 70, -1, -1, + 73, -1, -1, -1, -1, -1, -1, -1, 81, 82, + 83, -1, -1, -1, -1, 88, 89, 90, -1, -1, + -1, 94, -1, -1, 1, 98, 3, 4, 5, 6, + 7, 8, 9, 10, 11, 12, 13, 14, 15, 112, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 29, 30, 31, 32, 33, -1, 35, 36, + 37, 38, -1, 40, 41, 42, 43, 44, 45, -1, + 47, -1, 49, -1, 51, 52, 53, 54, 55, 56, + -1, -1, 59, 60, 61, -1, -1, 64, -1, -1, + -1, -1, -1, 70, -1, -1, 73, -1, -1, -1, + -1, -1, -1, -1, 81, 82, 83, -1, -1, -1, + -1, 88, 89, 90, -1, -1, -1, 94, 95, 1, + -1, 3, 4, 5, 6, 7, 8, 9, 10, 11, + 12, -1, 14, 15, -1, 112, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 29, 30, 31, + 32, 33, -1, 35, 36, 37, 38, -1, 40, 41, + 42, 43, 44, 45, -1, 47, -1, -1, -1, 51, + 52, 53, 54, 55, 56, -1, -1, 59, 60, 61, + -1, 63, 64, -1, -1, -1, -1, -1, 70, -1, + -1, 73, -1, -1, -1, -1, -1, -1, -1, 81, + 82, 83, -1, -1, -1, -1, 88, 89, 90, -1, + -1, 1, 94, 3, 4, 5, 6, -1, 8, 9, + 10, 11, 12, -1, 14, 15, -1, -1, -1, -1, + 112, -1, -1, -1, -1, -1, -1, -1, -1, 29, + 30, 31, -1, 33, -1, 35, 36, 37, 38, -1, + 40, 41, 42, 43, 44, 45, -1, 47, -1, -1, + -1, 51, 52, 53, 54, 55, 56, -1, -1, 59, + 60, 61, -1, -1, 64, -1, -1, -1, -1, -1, + 70, -1, -1, 73, -1, -1, -1, -1, -1, -1, + -1, 81, 82, 83, -1, -1, -1, -1, 88, 89, + 90, -1, -1, -1, 94, 95, 1, -1, 3, 4, + 5, 6, -1, 8, 9, 10, 11, 12, -1, 14, + 15, 111, 112, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 29, 30, 31, 32, 33, -1, + 35, 36, 37, 38, -1, 40, 41, 42, 43, 44, + 45, -1, 47, -1, -1, -1, 51, 52, 53, 54, + 55, 56, -1, -1, 59, 60, 61, -1, -1, 64, + -1, -1, -1, -1, -1, 70, -1, -1, 73, -1, + -1, -1, -1, -1, -1, -1, 81, 82, 83, -1, + -1, -1, -1, 88, 89, 90, -1, -1, 1, 94, + 3, 4, 5, 6, -1, 8, 9, 10, 11, 12, + -1, 14, 15, -1, -1, -1, -1, 112, -1, -1, + -1, -1, -1, -1, -1, -1, 29, 30, 31, -1, + 33, -1, 35, 36, 37, 38, -1, 40, 41, 42, + 43, 44, 45, -1, 47, -1, -1, -1, 51, 52, + 53, 54, 55, 56, -1, -1, 59, 60, 61, -1, + -1, 64, -1, -1, -1, -1, -1, 70, -1, -1, + 73, -1, -1, -1, -1, -1, -1, -1, 81, 82, + 83, -1, -1, -1, -1, 88, 89, 90, -1, -1, + -1, 94, 95, 1, -1, 3, 4, 5, 6, -1, + 8, 9, 10, 11, 12, -1, 14, 15, -1, 112, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 29, 30, 31, -1, 33, -1, 35, 36, 37, + 38, -1, 40, 41, 42, 43, 44, 45, -1, 47, + -1, -1, -1, 51, 52, 53, 54, 55, 56, -1, + -1, 59, 60, 61, -1, -1, 64, -1, -1, -1, + -1, -1, 70, -1, -1, 73, -1, -1, -1, -1, + -1, -1, -1, 81, 82, 83, -1, -1, -1, -1, + 88, 89, 90, -1, -1, -1, 94, -1, 1, -1, + 3, 4, 5, 6, 102, 8, 9, 10, 11, 12, + -1, 14, 15, -1, 112, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 29, 30, 31, -1, + 33, -1, 35, 36, 37, 38, -1, 40, 41, 42, + 43, 44, 45, -1, 47, -1, -1, -1, 51, 52, + 53, 54, 55, 56, -1, -1, 59, 60, 61, -1, + -1, 64, -1, -1, -1, -1, -1, 70, -1, -1, + 73, -1, -1, -1, -1, -1, -1, -1, 81, 82, + 83, -1, -1, -1, -1, 88, 89, 90, -1, -1, + 1, 94, 3, 4, 5, 6, -1, 8, 9, 10, + 11, 12, -1, 14, 15, -1, -1, -1, 111, 112, + -1, -1, -1, -1, -1, -1, -1, -1, 29, 30, + 31, -1, 33, -1, 35, 36, 37, 38, -1, 40, + 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, + 51, 52, 53, 54, 55, 56, -1, -1, 59, 60, + 61, -1, -1, 64, -1, -1, -1, -1, -1, 70, + -1, -1, 73, -1, -1, -1, -1, -1, -1, -1, + 81, 82, 83, -1, -1, -1, -1, 88, 89, 90, + -1, -1, 1, 94, 3, 4, 5, 6, -1, 8, + 9, 10, 11, 12, -1, 14, 15, -1, -1, -1, + 111, 112, -1, -1, -1, -1, -1, -1, -1, -1, + 29, 30, 31, 32, 33, -1, 35, 36, 37, 38, + -1, 40, 41, 42, 43, 44, 45, -1, 47, -1, + -1, -1, 51, 52, 53, 54, 55, 56, -1, -1, + 59, 60, 61, -1, -1, 64, -1, -1, -1, -1, + -1, 70, -1, -1, 73, -1, -1, -1, -1, -1, + -1, -1, 81, 82, 83, -1, -1, -1, -1, 88, + 89, 90, -1, -1, 1, 94, 3, 4, 5, 6, + -1, 8, 9, 10, 11, 12, -1, 14, 15, -1, + -1, -1, -1, 112, -1, -1, -1, -1, -1, -1, + -1, -1, 29, 30, 31, 32, 33, -1, 35, 36, + 37, 38, -1, 40, 41, 42, 43, 44, 45, -1, + 47, -1, -1, -1, 51, 52, 53, 54, 55, 56, + -1, -1, 59, 60, -1, -1, 63, 64, -1, -1, + -1, -1, -1, 70, -1, -1, 73, -1, -1, -1, + -1, -1, -1, -1, 81, 82, 83, -1, -1, -1, + -1, 88, 89, 90, -1, -1, 1, 94, 3, 4, + 5, 6, -1, 8, 9, 10, 11, 12, -1, 14, + 15, -1, -1, -1, -1, 112, -1, -1, -1, -1, + -1, -1, -1, -1, 29, 30, 31, -1, 33, -1, + 35, 36, 37, 38, -1, 40, 41, 42, 43, 44, + 45, -1, 47, -1, -1, -1, 51, 52, 53, 54, + 55, 56, -1, -1, 59, 60, 61, -1, -1, 64, + -1, -1, -1, -1, -1, 70, -1, -1, 73, -1, + -1, -1, -1, -1, -1, -1, 81, 82, 83, -1, + -1, -1, -1, 88, 89, 90, -1, -1, 1, 94, + 3, 4, 5, 6, -1, 8, 9, 10, 11, 12, + -1, 14, 15, -1, -1, -1, -1, 112, -1, -1, + -1, -1, -1, -1, -1, -1, 29, 30, 31, -1, + 33, -1, 35, 36, 37, 38, -1, 40, 41, 42, + 43, 44, 45, -1, 47, -1, -1, -1, 51, 52, + 53, 54, 55, 56, -1, -1, 59, 60, -1, -1, + -1, 64, 65, -1, -1, -1, -1, 70, -1, -1, + 73, -1, -1, -1, -1, -1, -1, -1, 81, 82, + 83, -1, -1, -1, -1, 88, 89, 90, -1, -1, + 1, 94, 3, 4, 5, 6, -1, 8, 9, 10, + 11, 12, -1, 14, 15, -1, -1, -1, -1, 112, + -1, -1, -1, -1, -1, -1, -1, -1, 29, 30, + 31, -1, 33, -1, 35, 36, 37, 38, -1, 40, + 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, + 51, 52, 53, 54, 55, 56, -1, -1, 59, 60, + -1, -1, -1, 64, -1, -1, -1, -1, -1, 70, + -1, -1, 73, -1, -1, -1, -1, -1, -1, -1, + 81, 82, 83, -1, -1, -1, -1, 88, 89, 90, + -1, -1, 1, 94, 3, 4, 5, 6, -1, 8, + 9, 10, 11, 12, -1, 14, 15, -1, -1, 110, + -1, 112, -1, -1, -1, -1, -1, -1, -1, -1, + 29, 30, 31, -1, 33, -1, 35, 36, 37, 38, + -1, 40, 41, 42, 43, 44, 45, -1, 47, -1, + -1, -1, 51, 52, 53, 54, 55, 56, -1, -1, + 59, 60, -1, -1, -1, 64, -1, -1, -1, -1, + -1, 70, -1, -1, 73, -1, -1, -1, -1, -1, + -1, -1, 81, 82, 83, -1, -1, -1, -1, 88, + 89, 90, -1, -1, 1, 94, 3, 4, 5, 6, + -1, 8, 9, 10, 11, 12, -1, 14, 15, -1, + -1, -1, -1, 112, -1, -1, -1, -1, -1, -1, + -1, -1, 29, 30, 31, -1, 33, -1, 35, 36, + 37, 38, -1, 40, 41, 42, 43, 44, 45, -1, + 47, -1, -1, -1, 51, 52, 53, 54, 55, 56, + -1, -1, 59, 60, -1, -1, -1, 64, -1, -1, + -1, -1, -1, 70, -1, -1, 73, -1, -1, -1, + -1, -1, -1, -1, 81, 82, 83, -1, -1, -1, + -1, 88, 89, 90, -1, -1, 1, 94, 3, 4, + 5, 6, -1, 8, 9, 10, 11, 12, -1, 14, + 15, -1, -1, -1, -1, 112, -1, -1, -1, -1, + -1, -1, -1, -1, 29, 30, 31, -1, 33, -1, + 35, 36, 37, 38, -1, 40, 41, 42, 43, 44, + 45, -1, 47, -1, -1, -1, 51, 52, 53, 54, + 55, 56, -1, -1, 59, 60, -1, -1, -1, 64, + -1, -1, -1, -1, -1, 70, -1, -1, 73, -1, + -1, -1, -1, -1, -1, -1, 81, 82, 83, -1, + -1, -1, -1, 88, 89, 90, -1, -1, -1, 94, + 3, 4, 5, 6, -1, 8, 9, 10, 11, 12, + -1, 14, 15, -1, -1, -1, -1, 112, -1, -1, + -1, -1, -1, -1, -1, -1, 29, 30, 31, -1, + 33, -1, 35, 36, 37, 38, -1, 40, 41, 42, + 43, 44, 45, -1, 47, -1, -1, -1, 51, 52, + 53, 54, 55, 56, -1, -1, 59, 60, -1, -1, + -1, 64, -1, -1, -1, -1, -1, 70, -1, -1, + 73, -1, -1, -1, -1, -1, -1, -1, 81, 82, + 83, -1, -1, -1, -1, 88, 89, 90, -1, -1, + -1, 94, 3, 4, 5, 6, -1, 8, 9, 10, + 11, 12, -1, 14, 15, -1, -1, -1, -1, 112, + 113, -1, -1, -1, -1, -1, -1, -1, 29, 30, + 31, -1, 33, -1, 35, 36, 37, 38, -1, 40, + 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, + 51, 52, 53, 54, 55, 56, -1, -1, 59, 60, + -1, -1, -1, 64, -1, -1, -1, -1, -1, 70, + -1, -1, 73, -1, -1, -1, -1, -1, -1, -1, + 81, 82, 83, -1, -1, -1, -1, 88, 89, 90, + -1, -1, -1, 94, 3, 4, 5, 6, -1, 8, + 9, 10, 11, 12, -1, 14, 15, -1, -1, -1, + -1, 112, 113, -1, -1, -1, -1, -1, -1, -1, + 29, 30, 31, -1, 33, -1, 35, 36, 37, 38, + -1, 40, 41, 42, 43, 44, 45, -1, 47, -1, + -1, -1, 51, 52, 53, 54, 55, 56, -1, -1, + 59, 60, -1, -1, -1, 64, -1, -1, -1, -1, + -1, 70, -1, -1, 73, -1, -1, -1, -1, -1, + -1, -1, 81, 82, 83, -1, -1, -1, -1, 88, + 89, 90, -1, -1, -1, 94, 3, 4, 5, 6, + -1, 8, 9, 10, 11, 12, -1, 14, 15, -1, + -1, -1, -1, 112, 113, -1, -1, -1, -1, -1, + -1, -1, 29, 30, 31, -1, 33, -1, 35, 36, + 37, 38, -1, 40, 41, 42, 43, 44, 45, -1, + 47, -1, -1, -1, 51, 52, 53, 54, 55, 56, + -1, -1, 59, 60, -1, -1, -1, 64, -1, -1, + -1, -1, -1, 70, -1, -1, 73, -1, -1, -1, + -1, -1, -1, -1, 81, 82, 83, -1, -1, -1, + -1, 88, 89, 90, -1, -1, -1, 94, 3, 4, + 5, 6, -1, 8, 9, 10, 11, 12, -1, 14, + 15, -1, -1, -1, -1, 112, 113, -1, -1, -1, + -1, -1, -1, -1, 29, 30, 31, -1, 33, -1, + 35, 36, 37, 38, -1, 40, 41, 42, 43, 44, + 45, -1, 47, -1, -1, -1, 51, 52, 53, 54, + 55, 56, -1, -1, 59, 60, -1, -1, -1, 64, + -1, -1, -1, -1, -1, 70, -1, -1, 73, -1, + -1, -1, -1, -1, -1, -1, 81, 82, 83, -1, + -1, -1, -1, 88, 89, 90, -1, -1, -1, 94, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 112, 113, 3, + 4, 5, 6, 7, 8, 9, 10, 11, 12, -1, + 14, 15, 16, -1, 18, 19, 20, 21, 22, 23, + 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, + -1, 35, 36, 37, 38, -1, 40, 41, 42, 43, + 44, 45, 46, 47, 48, -1, -1, 51, 52, 53, + 54, 55, 56, -1, -1, 59, 60, 61, -1, 63, + 64, -1, -1, -1, -1, -1, 70, -1, -1, 73, + -1, -1, -1, -1, -1, -1, -1, 81, 82, 83, + -1, -1, -1, -1, 88, 89, 90, -1, -1, -1, + 94, -1, -1, -1, 98, -1, -1, -1, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 112, 14, + 15, 16, -1, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 33, -1, + 35, 36, 37, 38, -1, 40, 41, 42, 43, 44, + 45, 46, 47, 48, -1, -1, 51, 52, 53, 54, + 55, 56, -1, -1, 59, 60, -1, -1, 63, 64, + -1, -1, -1, -1, -1, 70, -1, -1, 73, -1, + -1, -1, -1, -1, -1, -1, 81, 82, 83, -1, + -1, -1, -1, 88, 89, 90, -1, -1, -1, 94, + -1, -1, -1, 98, 3, 4, 5, 6, 7, 8, + 9, 10, 11, 12, 13, 14, 15, 112, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 29, 30, 31, 32, 33, -1, 35, 36, 37, 38, + -1, 40, 41, 42, 43, 44, 45, -1, 47, -1, + 49, -1, 51, 52, 53, 54, 55, 56, -1, -1, + 59, 60, -1, -1, -1, 64, -1, -1, -1, -1, + -1, 70, -1, -1, 73, -1, -1, -1, -1, -1, + -1, -1, 81, 82, 83, -1, -1, -1, -1, 88, + 89, 90, -1, -1, -1, 94, 95, 3, 4, 5, + 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, + -1, -1, -1, 112, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 29, 30, 31, 32, 33, -1, 35, + 36, 37, 38, -1, 40, 41, 42, 43, 44, 45, + -1, 47, -1, 49, -1, 51, 52, 53, 54, 55, + 56, -1, -1, 59, 60, -1, -1, -1, 64, -1, + -1, -1, -1, -1, 70, -1, -1, 73, -1, -1, + -1, -1, -1, -1, -1, 81, 82, 83, -1, -1, + -1, -1, 88, 89, 90, -1, -1, -1, 94, 95, + 3, 4, 5, 6, -1, 8, 9, 10, 11, 12, + -1, 14, 15, -1, -1, -1, 112, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 29, 30, 31, 32, + 33, -1, 35, 36, 37, 38, -1, 40, 41, 42, + 43, 44, 45, -1, 47, -1, 49, -1, 51, 52, + 53, 54, 55, 56, -1, -1, 59, 60, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 70, -1, -1, + 73, -1, -1, -1, -1, -1, -1, -1, 81, 82, + 83, -1, -1, -1, -1, 88, 89, 90, -1, -1, + -1, 94, 95, 3, 4, 5, 6, -1, 8, 9, + 10, 11, 12, -1, 14, 15, -1, -1, -1, 112, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 29, + 30, 31, 32, 33, -1, 35, 36, 37, 38, -1, + 40, 41, 42, 43, 44, 45, -1, 47, -1, -1, + -1, 51, 52, 53, 54, 55, 56, -1, -1, 59, + 60, -1, -1, -1, 64, -1, -1, -1, -1, -1, + 70, -1, -1, 73, -1, -1, -1, -1, -1, -1, + -1, 81, 82, 83, -1, -1, -1, -1, 88, 89, + 90, -1, -1, -1, 94, 3, 4, 5, 6, -1, + 8, 9, 10, 11, 12, -1, 14, 15, -1, -1, + -1, -1, 112, -1, -1, -1, -1, -1, -1, -1, + -1, 29, 30, 31, 32, 33, -1, 35, 36, 37, + 38, -1, 40, 41, 42, 43, 44, 45, -1, 47, + -1, -1, -1, 51, 52, 53, 54, 55, 56, -1, + -1, 59, 60, -1, -1, -1, 64, -1, -1, -1, + -1, -1, 70, -1, -1, 73, -1, -1, -1, -1, + -1, -1, -1, 81, 82, 83, -1, -1, -1, -1, + 88, 89, 90, -1, -1, -1, 94, 3, 4, 5, + 6, -1, 8, 9, 10, 11, 12, -1, 14, 15, + -1, -1, -1, -1, 112, -1, -1, -1, -1, -1, + -1, -1, -1, 29, 30, 31, 32, 33, -1, 35, + 36, 37, 38, -1, 40, 41, 42, 43, 44, 45, + -1, 47, -1, -1, -1, 51, 52, 53, 54, 55, + 56, -1, -1, 59, 60, -1, -1, -1, 64, -1, + -1, -1, -1, -1, 70, -1, -1, 73, -1, -1, + -1, -1, -1, -1, -1, 81, 82, 83, -1, -1, + -1, -1, 88, 89, 90, -1, -1, -1, 94, 3, + 4, 5, 6, -1, 8, 9, 10, 11, 12, -1, + 14, 15, -1, -1, -1, -1, 112, -1, -1, -1, + -1, -1, -1, -1, -1, 29, 30, 31, -1, 33, + -1, 35, 36, 37, 38, -1, 40, 41, 42, 43, + 44, 45, -1, 47, -1, -1, -1, 51, 52, 53, + 54, 55, 56, -1, -1, 59, 60, -1, -1, 63, + 64, -1, -1, -1, -1, -1, 70, -1, -1, 73, + -1, -1, -1, -1, -1, -1, -1, 81, 82, 83, + -1, -1, -1, -1, 88, 89, 90, -1, -1, -1, + 94, 3, 4, 5, 6, 7, 8, 9, 10, 11, + 12, -1, 14, 15, -1, -1, -1, -1, 112, -1, + -1, -1, -1, -1, -1, -1, -1, 29, 30, 31, + 32, 33, -1, 35, 36, 37, 38, -1, 40, 41, + 42, 43, 44, 45, -1, 47, -1, -1, -1, 51, + 52, 53, 54, 55, 56, -1, -1, 59, 60, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 70, -1, + -1, 73, -1, -1, -1, -1, -1, -1, -1, 81, + 82, 83, -1, -1, -1, -1, 88, 89, 90, -1, + -1, -1, 94, 3, 4, 5, 6, -1, 8, 9, + 10, 11, 12, -1, 14, 15, -1, -1, -1, -1, + 112, -1, -1, -1, -1, -1, -1, -1, -1, 29, + 30, 31, 32, 33, -1, 35, 36, 37, 38, -1, + 40, 41, 42, 43, 44, 45, -1, 47, -1, -1, + -1, 51, 52, 53, 54, 55, 56, -1, -1, 59, + 60, -1, -1, -1, 64, -1, -1, -1, -1, -1, + 70, -1, -1, 73, -1, -1, -1, -1, -1, -1, + -1, 81, 82, 83, -1, -1, -1, -1, 88, 89, + 90, -1, -1, -1, 94, 3, 4, 5, 6, -1, + 8, 9, 10, 11, 12, -1, 14, 15, -1, -1, + -1, -1, 112, -1, -1, -1, -1, -1, -1, -1, + -1, 29, 30, 31, -1, 33, -1, 35, 36, 37, + 38, -1, 40, 41, 42, 43, 44, 45, -1, 47, + -1, -1, -1, 51, 52, 53, 54, 55, 56, -1, + -1, 59, 60, -1, -1, -1, 64, -1, -1, -1, + -1, -1, 70, -1, -1, 73, -1, -1, -1, -1, + -1, -1, -1, 81, 82, 83, -1, -1, -1, -1, + 88, 89, 90, -1, -1, -1, 94, 3, 4, 5, + 6, -1, 8, 9, 10, 11, 12, -1, 14, 15, + -1, -1, -1, -1, 112, -1, -1, -1, -1, -1, + -1, -1, -1, 29, 30, 31, -1, 33, -1, 35, + 36, 37, 38, -1, 40, 41, 42, 43, 44, 45, + -1, 47, -1, -1, -1, 51, 52, 53, 54, 55, + 56, -1, -1, 59, 60, 61, -1, -1, -1, -1, + -1, -1, -1, -1, 70, -1, -1, 73, -1, -1, + -1, -1, -1, -1, -1, 81, 82, 83, -1, -1, + -1, -1, 88, 89, 90, -1, -1, -1, 94, 3, + 4, 5, 6, -1, 8, 9, 10, 11, 12, -1, + 14, 15, -1, -1, -1, -1, 112, -1, -1, -1, + -1, -1, -1, -1, -1, 29, 30, 31, -1, 33, + -1, 35, 36, 37, 38, -1, 40, 41, 42, 43, + 44, 45, -1, 47, -1, -1, -1, 51, 52, 53, + 54, 55, 56, -1, -1, 59, 60, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 70, -1, -1, 73, + -1, -1, -1, -1, -1, -1, -1, 81, 82, 83, + -1, -1, -1, -1, 88, 89, 90, -1, -1, -1, + 94, 95, 3, 4, 5, 6, -1, 8, 9, 10, + 11, 12, -1, 14, 15, -1, -1, -1, 112, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 29, 30, + 31, -1, 33, -1, 35, 36, 37, 38, -1, 40, + 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, + 51, 52, 53, 54, 55, 56, -1, -1, 59, 60, + -1, -1, -1, 64, -1, -1, -1, -1, -1, 70, + -1, -1, 73, -1, -1, -1, -1, -1, -1, -1, + 81, 82, 83, -1, -1, -1, -1, 88, 89, 90, + -1, -1, -1, 94, 3, 4, 5, 6, -1, 8, + 9, 10, 11, 12, -1, 14, 15, -1, -1, -1, + -1, 112, -1, -1, -1, -1, -1, -1, -1, -1, + 29, 30, 31, 32, 33, -1, 35, 36, 37, 38, + -1, 40, 41, 42, 43, 44, 45, -1, 47, -1, + -1, -1, 51, 52, 53, 54, 55, 56, -1, -1, + 59, 60, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 70, -1, -1, 73, -1, -1, -1, -1, -1, + -1, -1, 81, 82, 83, -1, -1, -1, -1, 88, + 89, 90, -1, -1, -1, 94, 3, 4, 5, 6, + -1, 8, 9, 10, 11, 12, -1, 14, 15, -1, + -1, -1, -1, 112, -1, -1, -1, -1, -1, -1, + -1, -1, 29, 30, 31, -1, 33, -1, 35, 36, + 37, 38, -1, 40, 41, 42, 43, 44, 45, -1, + 47, -1, -1, -1, 51, 52, 53, 54, 55, 56, + -1, -1, 59, 60, -1, -1, -1, 64, -1, -1, + -1, -1, -1, 70, -1, -1, 73, -1, -1, -1, + -1, -1, -1, -1, 81, 82, 83, -1, -1, -1, + -1, 88, 89, 90, -1, -1, -1, 94, 3, 4, + 5, 6, -1, 8, 9, 10, 11, 12, -1, 14, + 15, -1, -1, -1, -1, 112, -1, -1, -1, -1, + -1, -1, -1, -1, 29, 30, 31, 32, 33, -1, + 35, 36, 37, 38, -1, 40, 41, 42, 43, 44, + 45, -1, 47, -1, -1, -1, 51, 52, 53, 54, + 55, 56, -1, -1, 59, 60, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 70, -1, -1, 73, -1, + -1, -1, -1, -1, -1, -1, 81, 82, 83, -1, + -1, -1, -1, 88, 89, 90, -1, -1, -1, 94, + 3, 4, 5, 6, -1, 8, 9, 10, 11, 12, + -1, 14, 15, -1, -1, -1, -1, 112, -1, -1, + -1, -1, -1, -1, -1, -1, 29, 30, 31, -1, + 33, -1, 35, 36, 37, 38, -1, 40, 41, 42, + 43, 44, 45, -1, 47, -1, -1, -1, 51, 52, + 53, 54, 55, 56, -1, -1, 59, 60, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 70, -1, -1, + 73, -1, -1, -1, -1, -1, -1, -1, 81, 82, + 83, -1, -1, -1, -1, 88, 89, 90, -1, -1, + -1, 94, 3, 4, 5, 6, -1, 8, 9, 10, + 11, 12, -1, 14, 15, -1, -1, -1, -1, 112, + -1, -1, -1, -1, -1, -1, -1, -1, 29, 30, + 31, -1, 33, -1, 35, 36, 37, 38, -1, 40, + 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, + 51, 52, 53, 54, 55, 56, -1, -1, 59, 60, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 70, + -1, -1, 73, -1, -1, -1, -1, -1, -1, -1, + 81, 82, 83, -1, -1, -1, -1, 88, 89, 90, + -1, -1, -1, 94, 3, 4, 5, 6, -1, 8, + 9, 10, 11, 12, -1, 14, 15, -1, -1, -1, + -1, 112, -1, -1, -1, -1, -1, -1, -1, -1, + 29, 30, 31, -1, 33, -1, 35, 36, 37, 38, + -1, 40, 41, 42, 43, 44, 45, -1, 47, -1, + -1, -1, 51, 52, 53, 54, 55, 56, -1, -1, + 59, 60, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 70, -1, -1, 73, -1, -1, -1, -1, -1, + -1, -1, 81, 82, 83, -1, -1, -1, -1, 88, + 89, 90, -1, -1, -1, 94, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 112, 65, 66, 67, 68, 69, 70, + 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, + 81, 82, 83, 84, 85, 86, 87, 66, 67, 68, + 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, + 79, 80, 81, 82, 83, 84, 85, 86, 87 +}; + +/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing + symbol of state STATE-NUM. */ +static const unsigned short yystos[] = +{ + 0, 115, 116, 117, 0, 123, 124, 123, 1, 3, + 4, 5, 6, 7, 8, 9, 15, 28, 29, 31, + 32, 33, 38, 43, 46, 47, 48, 50, 56, 57, + 59, 60, 63, 73, 83, 88, 94, 99, 121, 122, + 125, 129, 131, 133, 137, 138, 140, 141, 147, 150, + 156, 157, 162, 176, 187, 189, 214, 216, 221, 222, + 234, 235, 237, 238, 242, 243, 247, 255, 258, 259, + 271, 279, 280, 281, 282, 283, 307, 312, 313, 314, + 316, 318, 320, 323, 324, 325, 332, 333, 400, 407, + 409, 63, 109, 111, 76, 401, 56, 76, 56, 76, + 76, 50, 3, 4, 5, 59, 60, 61, 173, 187, + 314, 324, 331, 333, 94, 94, 4, 5, 59, 60, + 61, 173, 3, 4, 5, 59, 60, 187, 326, 327, + 328, 329, 333, 4, 5, 46, 59, 60, 319, 324, + 333, 76, 185, 126, 56, 76, 76, 3, 258, 307, + 315, 316, 324, 333, 307, 315, 398, 73, 83, 94, + 214, 219, 220, 222, 258, 317, 318, 332, 125, 94, + 63, 61, 99, 119, 1, 7, 50, 121, 137, 147, + 148, 149, 156, 234, 237, 247, 271, 109, 153, 122, + 248, 26, 152, 165, 166, 63, 56, 49, 94, 95, + 308, 63, 73, 83, 94, 231, 245, 253, 310, 311, + 316, 323, 324, 332, 7, 9, 63, 157, 243, 246, + 254, 258, 316, 94, 7, 8, 9, 236, 239, 244, + 258, 271, 62, 63, 259, 7, 8, 9, 38, 61, + 105, 106, 107, 173, 175, 187, 188, 258, 324, 333, + 61, 65, 61, 65, 65, 284, 9, 243, 258, 333, + 248, 3, 5, 50, 60, 83, 189, 214, 217, 221, + 323, 325, 306, 3, 59, 214, 314, 320, 323, 324, + 1, 40, 41, 49, 62, 66, 67, 68, 69, 70, + 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, + 81, 82, 83, 84, 85, 87, 88, 89, 90, 95, + 96, 112, 238, 243, 307, 378, 76, 192, 193, 194, + 195, 3, 192, 192, 215, 185, 273, 61, 3, 50, + 60, 314, 323, 9, 10, 11, 12, 14, 30, 35, + 36, 37, 40, 41, 42, 44, 45, 51, 52, 53, + 54, 55, 64, 70, 73, 81, 82, 83, 88, 89, + 90, 94, 112, 121, 197, 198, 205, 207, 210, 211, + 212, 214, 223, 225, 226, 227, 229, 233, 238, 240, + 241, 243, 307, 320, 321, 322, 324, 333, 94, 128, + 61, 66, 56, 56, 56, 56, 56, 56, 3, 4, + 5, 50, 59, 60, 173, 187, 329, 330, 327, 134, + 3, 4, 5, 214, 217, 218, 218, 319, 77, 139, + 157, 234, 237, 243, 316, 147, 193, 192, 76, 316, + 258, 315, 324, 315, 4, 5, 173, 187, 219, 258, + 307, 317, 219, 307, 317, 219, 110, 59, 60, 73, + 83, 94, 214, 220, 110, 306, 12, 116, 118, 50, + 150, 156, 148, 119, 153, 245, 246, 63, 63, 94, + 257, 258, 3, 1, 98, 154, 169, 368, 49, 66, + 94, 264, 63, 1, 13, 205, 206, 212, 233, 235, + 237, 238, 243, 307, 388, 389, 393, 394, 395, 397, + 9, 113, 198, 243, 306, 258, 307, 309, 310, 307, + 309, 73, 83, 94, 258, 309, 332, 248, 62, 63, + 95, 308, 323, 306, 236, 239, 62, 63, 248, 198, + 233, 7, 244, 236, 244, 258, 231, 249, 76, 61, + 65, 3, 60, 173, 188, 173, 324, 398, 61, 239, + 256, 56, 49, 94, 6, 173, 330, 409, 56, 49, + 94, 9, 258, 315, 5, 83, 189, 408, 95, 408, + 95, 408, 408, 408, 408, 408, 65, 408, 408, 408, + 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, + 408, 408, 408, 408, 408, 408, 408, 408, 113, 408, + 408, 239, 73, 83, 324, 332, 333, 406, 215, 77, + 79, 191, 62, 60, 64, 196, 211, 213, 233, 324, + 333, 94, 402, 191, 191, 192, 157, 234, 243, 316, + 62, 173, 278, 302, 303, 304, 272, 173, 94, 211, + 211, 94, 94, 76, 76, 76, 76, 212, 173, 211, + 211, 211, 1, 73, 83, 94, 198, 214, 219, 224, + 233, 211, 211, 110, 62, 61, 94, 207, 62, 66, + 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, + 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, + 87, 49, 94, 49, 89, 90, 93, 94, 95, 96, + 61, 94, 208, 305, 378, 95, 211, 1, 8, 50, + 88, 217, 218, 321, 324, 333, 110, 49, 73, 83, + 94, 95, 210, 232, 332, 337, 338, 94, 207, 94, + 207, 94, 232, 337, 324, 333, 337, 49, 94, 3, + 41, 216, 226, 320, 333, 409, 7, 8, 9, 173, + 260, 261, 262, 118, 127, 130, 330, 76, 56, 136, + 218, 319, 333, 47, 50, 138, 142, 144, 145, 146, + 233, 243, 279, 395, 397, 180, 231, 63, 179, 191, + 191, 192, 315, 315, 110, 219, 315, 110, 111, 120, + 120, 149, 156, 63, 63, 12, 369, 65, 151, 167, + 228, 1, 61, 212, 265, 206, 110, 110, 13, 62, + 65, 73, 83, 94, 231, 332, 337, 316, 324, 333, + 231, 94, 231, 110, 13, 62, 65, 13, 316, 396, + 397, 399, 66, 390, 113, 94, 232, 64, 403, 310, + 258, 309, 309, 258, 307, 307, 73, 83, 94, 324, + 332, 110, 306, 251, 257, 249, 113, 198, 306, 258, + 309, 236, 249, 251, 110, 110, 248, 192, 173, 188, + 4, 5, 7, 39, 187, 285, 286, 287, 288, 312, + 326, 333, 274, 251, 306, 158, 76, 76, 56, 76, + 306, 160, 49, 94, 49, 94, 113, 113, 408, 408, + 306, 306, 306, 324, 408, 192, 194, 213, 66, 67, + 68, 69, 70, 71, 72, 73, 74, 75, 76, 78, + 79, 80, 81, 82, 83, 84, 85, 86, 87, 50, + 60, 206, 63, 190, 190, 191, 184, 231, 63, 183, + 66, 111, 62, 278, 302, 206, 212, 198, 233, 233, + 243, 233, 233, 233, 110, 219, 110, 110, 344, 410, + 110, 1, 212, 3, 4, 5, 59, 60, 95, 173, + 265, 266, 233, 1, 212, 212, 212, 1, 198, 383, + 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, + 212, 212, 212, 212, 212, 212, 212, 212, 212, 206, + 206, 198, 206, 206, 233, 94, 305, 49, 66, 94, + 209, 73, 83, 95, 332, 334, 335, 113, 198, 56, + 173, 8, 49, 94, 49, 94, 49, 94, 258, 307, + 336, 337, 307, 336, 233, 336, 389, 113, 198, 94, + 306, 49, 306, 306, 49, 94, 95, 233, 233, 73, + 83, 94, 206, 210, 219, 258, 324, 333, 324, 206, + 62, 110, 94, 111, 118, 136, 56, 192, 63, 218, + 319, 143, 173, 76, 279, 62, 77, 66, 66, 143, + 173, 66, 186, 178, 177, 186, 190, 191, 110, 63, + 153, 120, 120, 110, 154, 168, 410, 111, 266, 110, + 258, 307, 307, 73, 83, 94, 258, 323, 324, 332, + 306, 324, 73, 83, 94, 214, 219, 320, 333, 390, + 66, 391, 49, 94, 307, 307, 306, 66, 113, 403, + 257, 77, 398, 398, 62, 7, 39, 398, 1, 5, + 48, 63, 65, 94, 121, 131, 141, 157, 163, 164, + 189, 234, 237, 289, 291, 292, 293, 316, 400, 403, + 388, 192, 192, 192, 403, 388, 306, 159, 306, 161, + 408, 408, 406, 406, 406, 191, 213, 213, 383, 213, + 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, + 213, 213, 213, 213, 213, 213, 213, 173, 110, 186, + 182, 181, 186, 212, 304, 111, 110, 62, 110, 110, + 77, 77, 77, 77, 110, 110, 61, 212, 65, 62, + 277, 110, 65, 110, 110, 113, 111, 110, 110, 233, + 209, 265, 206, 243, 306, 306, 198, 306, 95, 211, + 113, 88, 76, 49, 206, 206, 206, 337, 258, 336, + 336, 110, 110, 113, 403, 403, 258, 336, 306, 388, + 113, 198, 110, 110, 110, 110, 73, 83, 94, 110, + 261, 110, 3, 206, 111, 63, 191, 143, 146, 233, + 194, 213, 186, 186, 153, 370, 1, 3, 59, 60, + 170, 171, 172, 174, 312, 326, 61, 62, 111, 258, + 307, 307, 73, 83, 94, 332, 323, 306, 258, 219, + 110, 3, 216, 320, 409, 265, 102, 265, 392, 1, + 233, 404, 405, 73, 83, 94, 258, 258, 252, 66, + 190, 398, 398, 398, 287, 49, 94, 212, 5, 292, + 234, 292, 248, 248, 26, 61, 65, 98, 49, 94, + 3, 4, 65, 157, 231, 294, 296, 298, 299, 310, + 316, 324, 333, 157, 163, 295, 299, 316, 39, 111, + 290, 292, 63, 111, 248, 110, 191, 191, 191, 110, + 403, 388, 403, 388, 65, 186, 186, 233, 94, 94, + 94, 94, 345, 113, 265, 173, 265, 111, 212, 95, + 209, 110, 110, 110, 334, 334, 113, 334, 198, 211, + 8, 192, 110, 110, 110, 306, 403, 110, 113, 62, + 110, 110, 97, 374, 375, 1, 62, 49, 94, 155, + 111, 307, 307, 324, 306, 110, 62, 110, 258, 265, + 250, 286, 306, 388, 110, 63, 257, 257, 306, 388, + 65, 65, 212, 248, 62, 248, 248, 324, 248, 62, + 65, 257, 291, 257, 306, 306, 110, 110, 213, 110, + 198, 198, 198, 198, 34, 111, 204, 341, 342, 343, + 265, 65, 198, 209, 113, 49, 191, 403, 306, 206, + 376, 375, 172, 206, 204, 73, 83, 94, 258, 258, + 404, 265, 403, 110, 49, 94, 264, 264, 403, 110, + 212, 212, 257, 257, 3, 4, 65, 297, 300, 301, + 310, 316, 257, 257, 5, 257, 301, 275, 264, 403, + 403, 306, 306, 110, 110, 110, 110, 173, 263, 1, + 339, 340, 344, 346, 352, 410, 343, 265, 113, 403, + 110, 94, 379, 110, 258, 306, 306, 388, 306, 257, + 257, 264, 65, 65, 212, 248, 248, 264, 264, 264, + 270, 403, 403, 62, 63, 63, 111, 1, 111, 340, + 352, 3, 4, 5, 16, 18, 19, 20, 21, 22, + 23, 24, 25, 26, 27, 46, 48, 60, 63, 98, + 121, 122, 129, 132, 133, 198, 230, 234, 237, 243, + 347, 353, 371, 380, 13, 397, 377, 403, 403, 110, + 403, 212, 212, 257, 257, 257, 1, 103, 269, 276, + 173, 111, 65, 65, 65, 348, 355, 357, 359, 363, + 212, 65, 63, 63, 63, 198, 83, 173, 173, 59, + 135, 333, 65, 372, 230, 9, 382, 63, 63, 231, + 245, 63, 246, 316, 94, 245, 17, 111, 352, 110, + 110, 346, 306, 257, 257, 264, 264, 1, 212, 268, + 49, 94, 200, 200, 346, 350, 351, 94, 94, 13, + 65, 367, 63, 198, 63, 56, 59, 173, 59, 135, + 173, 346, 94, 63, 63, 73, 83, 94, 63, 354, + 403, 109, 109, 104, 267, 198, 202, 243, 378, 349, + 356, 18, 410, 61, 230, 381, 383, 202, 212, 365, + 352, 63, 56, 173, 373, 12, 350, 152, 153, 110, + 231, 350, 350, 358, 353, 204, 360, 63, 110, 65, + 352, 374, 56, 65, 110, 1, 154, 368, 248, 49, + 94, 199, 1, 201, 202, 364, 366, 12, 95, 384, + 385, 386, 384, 63, 257, 198, 63, 63, 350, 352, + 94, 173, 65, 110, 62, 56, 65, 110, 66, 110, + 361, 198, 113, 12, 387, 63, 386, 387, 384, 63, + 203, 383, 110, 12, 62, 110, 110, 65, 110, 265, + 110, 94, 12, 63, 63, 387, 63, 362, 198, 110, + 350, 110, 63 +}; + +#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) +# define YYSIZE_T __SIZE_TYPE__ +#endif +#if ! defined (YYSIZE_T) && defined (size_t) +# define YYSIZE_T size_t +#endif +#if ! defined (YYSIZE_T) +# if defined (__STDC__) || defined (__cplusplus) +# include /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# endif +#endif +#if ! defined (YYSIZE_T) +# define YYSIZE_T unsigned int +#endif + +#define yyerrok (yyerrstatus = 0) +#define yyclearin (yychar = YYEMPTY) +#define YYEMPTY (-2) +#define YYEOF 0 + +#define YYACCEPT goto yyacceptlab +#define YYABORT goto yyabortlab +#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); \ + yytoken = YYTRANSLATE (yychar); \ + YYPOPSTACK; \ + goto yybackup; \ + } \ + else \ + { \ + yyerror ("syntax error: cannot back up");\ + YYERROR; \ + } \ +while (0) + +#define YYTERROR 1 +#define YYERRCODE 256 + +/* YYLLOC_DEFAULT -- Compute the default location (before the actions + are run). */ + +#ifndef YYLLOC_DEFAULT +# define YYLLOC_DEFAULT(Current, Rhs, N) \ + Current.first_line = Rhs[1].first_line; \ + Current.first_column = Rhs[1].first_column; \ + Current.last_line = Rhs[N].last_line; \ + Current.last_column = Rhs[N].last_column; +#endif + +/* YYLEX -- calling `yylex' with the right arguments. */ + +#ifdef YYLEX_PARAM +# define YYLEX yylex (YYLEX_PARAM) +#else +# define YYLEX yylex () +#endif + +/* Enable debugging if requested. */ +#if YYDEBUG + +# ifndef YYFPRINTF +# include /* INFRINGES ON USER NAME SPACE */ +# define YYFPRINTF fprintf +# endif + +# define YYDPRINTF(Args) \ +do { \ + if (yydebug) \ + YYFPRINTF Args; \ +} while (0) + +# define YYDSYMPRINT(Args) \ +do { \ + if (yydebug) \ + yysymprint Args; \ +} while (0) + +# define YYDSYMPRINTF(Title, Token, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yysymprint (stderr, \ + Token, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (0) + +/*------------------------------------------------------------------. +| yy_stack_print -- Print the state stack from its BOTTOM up to its | +| TOP (cinluded). | +`------------------------------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yy_stack_print (short *bottom, short *top) +#else +static void +yy_stack_print (bottom, top) + short *bottom; + short *top; +#endif +{ + YYFPRINTF (stderr, "Stack now"); + for (/* Nothing. */; bottom <= top; ++bottom) + YYFPRINTF (stderr, " %d", *bottom); + YYFPRINTF (stderr, "\n"); +} + +# define YY_STACK_PRINT(Bottom, Top) \ +do { \ + if (yydebug) \ + yy_stack_print ((Bottom), (Top)); \ +} while (0) + + +/*------------------------------------------------. +| Report that the YYRULE is going to be reduced. | +`------------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yy_reduce_print (int yyrule) +#else +static void +yy_reduce_print (yyrule) + int yyrule; +#endif +{ + int yyi; + unsigned int yylineno = yyrline[yyrule]; + YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", + yyrule - 1, yylineno); + /* Print the symbols being reduced, and their result. */ + for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++) + YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]); + YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]); +} + +# define YY_REDUCE_PRINT(Rule) \ +do { \ + if (yydebug) \ + yy_reduce_print (Rule); \ +} while (0) + +/* Nonzero means print parse trace. It is left uninitialized so that + multiple parsers can coexist. */ +int yydebug; +#else /* !YYDEBUG */ +# define YYDPRINTF(Args) +# define YYDSYMPRINT(Args) +# define YYDSYMPRINTF(Title, Token, Value, Location) +# define YY_STACK_PRINT(Bottom, Top) +# define YY_REDUCE_PRINT(Rule) +#endif /* !YYDEBUG */ + + +/* YYINITDEPTH -- initial size of the parser's stacks. */ +#ifndef YYINITDEPTH +# define YYINITDEPTH 200 +#endif + +/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only + if the built-in stack extension method is used). + + Do not make this value too large; the results are undefined if + SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) + evaluated with infinite-precision integer arithmetic. */ + +#if YYMAXDEPTH == 0 +# undef YYMAXDEPTH +#endif + +#ifndef YYMAXDEPTH +# define YYMAXDEPTH 10000 +#endif + + + +#if YYERROR_VERBOSE + +# ifndef yystrlen +# if defined (__GLIBC__) && defined (_STRING_H) +# define yystrlen strlen +# else +/* Return the length of YYSTR. */ +static YYSIZE_T +# if defined (__STDC__) || defined (__cplusplus) +yystrlen (const char *yystr) +# else +yystrlen (yystr) + const char *yystr; +# endif +{ + register const char *yys = yystr; + + while (*yys++ != '\0') + continue; + + return yys - yystr - 1; +} +# endif +# endif + +# ifndef yystpcpy +# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) +# define yystpcpy stpcpy +# else +/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in + YYDEST. */ +static char * +# if defined (__STDC__) || defined (__cplusplus) +yystpcpy (char *yydest, const char *yysrc) +# else +yystpcpy (yydest, yysrc) + char *yydest; + const char *yysrc; +# endif +{ + register char *yyd = yydest; + register const char *yys = yysrc; + + while ((*yyd++ = *yys++) != '\0') + continue; + + return yyd - 1; +} +# endif +# endif + +#endif /* !YYERROR_VERBOSE */ + + + +#if YYDEBUG +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep) +#else +static void +yysymprint (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE *yyvaluep; +#endif +{ + /* Pacify ``unused variable'' warnings. */ + (void) yyvaluep; + + if (yytype < YYNTOKENS) + { + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); +# ifdef YYPRINT + YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); +# endif + } + else + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); + + switch (yytype) + { + default: + break; + } + YYFPRINTF (yyoutput, ")"); +} + +#endif /* ! YYDEBUG */ +/*-----------------------------------------------. +| Release the memory associated to this symbol. | +`-----------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yydestruct (int yytype, YYSTYPE *yyvaluep) +#else +static void +yydestruct (yytype, yyvaluep) + int yytype; + YYSTYPE *yyvaluep; +#endif +{ + /* Pacify ``unused variable'' warnings. */ + (void) yyvaluep; + + switch (yytype) + { + + default: + break; + } +} + + +/* Prevent warnings from -Wmissing-prototypes. */ + +#ifdef YYPARSE_PARAM +# if defined (__STDC__) || defined (__cplusplus) +int yyparse (void *YYPARSE_PARAM); +# else +int yyparse (); +# endif +#else /* ! YYPARSE_PARAM */ +#if defined (__STDC__) || defined (__cplusplus) +int yyparse (void); +#else +int yyparse (); +#endif +#endif /* ! YYPARSE_PARAM */ + + + +/* The lookahead symbol. */ +int yychar; + +/* The semantic value of the lookahead symbol. */ +YYSTYPE yylval; + +/* Number of syntax errors so far. */ +int yynerrs; + + + +/*----------. +| yyparse. | +`----------*/ + +#ifdef YYPARSE_PARAM +# if defined (__STDC__) || defined (__cplusplus) +int yyparse (void *YYPARSE_PARAM) +# else +int yyparse (YYPARSE_PARAM) + void *YYPARSE_PARAM; +# endif +#else /* ! YYPARSE_PARAM */ +#if defined (__STDC__) || defined (__cplusplus) +int +yyparse (void) +#else +int +yyparse () + +#endif +#endif +{ + + register int yystate; + register int yyn; + int yyresult; + /* Number of tokens to shift before error messages enabled. */ + int yyerrstatus; + /* Lookahead token as an internal (translated) token number. */ + int yytoken = 0; + + /* Three stacks and their tools: + `yyss': related to states, + `yyvs': related to semantic values, + `yyls': related to locations. + + Refer to the stacks thru separate pointers, to allow yyoverflow + to reallocate them elsewhere. */ + + /* The state stack. */ + short yyssa[YYINITDEPTH]; + short *yyss = yyssa; + register short *yyssp; + + /* The semantic value stack. */ + YYSTYPE yyvsa[YYINITDEPTH]; + YYSTYPE *yyvs = yyvsa; + register YYSTYPE *yyvsp; + + + +#define YYPOPSTACK (yyvsp--, yyssp--) + + YYSIZE_T yystacksize = YYINITDEPTH; + + /* The variables used to return semantic value and location from the + action routines. */ + YYSTYPE yyval; + + + /* When reducing, the number of symbols on the RHS of the reduced + rule. */ + int yylen; + + YYDPRINTF ((stderr, "Starting parse\n")); + + 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; + yyvsp = yyvs; + + goto yysetstate; + +/*------------------------------------------------------------. +| yynewstate -- Push a new state, which is found in yystate. | +`------------------------------------------------------------*/ + yynewstate: + /* In all cases, when you get here, the value and location stacks + have just been pushed. so pushing a state here evens the stacks. + */ + yyssp++; + + yysetstate: + *yyssp = yystate; + + if (yyss + yystacksize - 1 <= yyssp) + { + /* Get the current used size of the three stacks, in elements. */ + YYSIZE_T yysize = yyssp - yyss + 1; + +#ifdef yyoverflow + { + /* 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; + + + /* Each stack pointer address is followed by the size of the + data in use in that stack, in bytes. 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, yysize * sizeof (*yyssp), + &yyvs1, yysize * sizeof (*yyvsp), + + &yystacksize); + + yyss = yyss1; + yyvs = yyvs1; + } +#else /* no yyoverflow */ +# ifndef YYSTACK_RELOCATE + goto yyoverflowlab; +# else + /* Extend the stack our own way. */ + if (YYMAXDEPTH <= yystacksize) + goto yyoverflowlab; + yystacksize *= 2; + if (YYMAXDEPTH < yystacksize) + yystacksize = YYMAXDEPTH; + + { + short *yyss1 = yyss; + union yyalloc *yyptr = + (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); + if (! yyptr) + goto yyoverflowlab; + YYSTACK_RELOCATE (yyss); + YYSTACK_RELOCATE (yyvs); + +# undef YYSTACK_RELOCATE + if (yyss1 != yyssa) + YYSTACK_FREE (yyss1); + } +# endif +#endif /* no yyoverflow */ + + yyssp = yyss + yysize - 1; + yyvsp = yyvs + yysize - 1; + + + YYDPRINTF ((stderr, "Stack size increased to %lu\n", + (unsigned long int) yystacksize)); + + if (yyss + yystacksize - 1 <= yyssp) + YYABORT; + } + + YYDPRINTF ((stderr, "Entering state %d\n", yystate)); + + goto yybackup; + +/*-----------. +| 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 == YYPACT_NINF) + goto yydefault; + + /* Not known => get a lookahead token if don't already have one. */ + + /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ + if (yychar == YYEMPTY) + { + YYDPRINTF ((stderr, "Reading a token: ")); + yychar = YYLEX; + } + + if (yychar <= YYEOF) + { + yychar = yytoken = YYEOF; + YYDPRINTF ((stderr, "Now at end of input.\n")); + } + else + { + yytoken = YYTRANSLATE (yychar); + YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc); + } + + /* If the proper action on seeing token YYTOKEN is to reduce or to + detect an error, take that action. */ + yyn += yytoken; + if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) + goto yydefault; + yyn = yytable[yyn]; + if (yyn <= 0) + { + if (yyn == 0 || yyn == YYTABLE_NINF) + goto yyerrlab; + yyn = -yyn; + goto yyreduce; + } + + if (yyn == YYFINAL) + YYACCEPT; + + /* Shift the lookahead token. */ + YYDPRINTF ((stderr, "Shifting token %s, ", yytname[yytoken])); + + /* Discard the token being shifted unless it is eof. */ + if (yychar != YYEOF) + yychar = YYEMPTY; + + *++yyvsp = yylval; + + + /* Count tokens shifted since error; after three, turn off error + status. */ + if (yyerrstatus) + yyerrstatus--; + + yystate = yyn; + goto yynewstate; + + +/*-----------------------------------------------------------. +| yydefault -- do the default action for the current state. | +`-----------------------------------------------------------*/ +yydefault: + yyn = yydefact[yystate]; + if (yyn == 0) + goto yyerrlab; + goto yyreduce; + + +/*-----------------------------. +| yyreduce -- Do a reduction. | +`-----------------------------*/ +yyreduce: + /* yyn is the number of a rule to reduce with. */ + yylen = yyr2[yyn]; + + /* If YYLEN is nonzero, implement the default value of the action: + `$$ = $1'. + + Otherwise, the following line sets YYVAL to garbage. + This behavior is undocumented and Bison + users should not rely upon it. Assigning to YYVAL + unconditionally makes the parser a bit smaller, and it avoids a + GCC warning that YYVAL may be used uninitialized. */ + yyval = yyvsp[1-yylen]; + + + YY_REDUCE_PRINT (yyn); + switch (yyn) + { + case 2: +#line 487 "parse.y" + { finish_translation_unit (); ;} + break; + + case 3: +#line 489 "parse.y" + { finish_translation_unit (); ;} + break; + + case 4: +#line 497 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 5: +#line 499 "parse.y" + { yyval.ttype = NULL_TREE; ggc_collect (); ;} + break; + + case 6: +#line 501 "parse.y" + { yyval.ttype = NULL_TREE; ggc_collect (); ;} + break; + + case 9: +#line 510 "parse.y" + { have_extern_spec = true; + yyval.ttype = NULL_TREE; ;} + break; + + case 10: +#line 514 "parse.y" + { have_extern_spec = false; ;} + break; + + case 11: +#line 519 "parse.y" + { yyval.itype = pedantic; + pedantic = 0; ;} + break; + + case 13: +#line 528 "parse.y" + { if (pending_lang_change) do_pending_lang_change(); + type_lookups = NULL_TREE; ;} + break; + + case 14: +#line 531 "parse.y" + { if (! toplevel_bindings_p ()) + pop_everything (); ;} + break; + + case 15: +#line 537 "parse.y" + { do_pending_inlines (); ;} + break; + + case 16: +#line 539 "parse.y" + { do_pending_inlines (); ;} + break; + + case 17: +#line 542 "parse.y" + { warning ("keyword `export' not implemented, and will be ignored"); ;} + break; + + case 18: +#line 544 "parse.y" + { do_pending_inlines (); ;} + break; + + case 19: +#line 546 "parse.y" + { do_pending_inlines (); ;} + break; + + case 20: +#line 548 "parse.y" + { assemble_asm (yyvsp[-2].ttype); ;} + break; + + case 21: +#line 550 "parse.y" + { pop_lang_context (); ;} + break; + + case 22: +#line 552 "parse.y" + { do_pending_inlines (); pop_lang_context (); ;} + break; + + case 23: +#line 554 "parse.y" + { do_pending_inlines (); pop_lang_context (); ;} + break; + + case 24: +#line 556 "parse.y" + { push_namespace (yyvsp[-1].ttype); ;} + break; + + case 25: +#line 558 "parse.y" + { pop_namespace (); ;} + break; + + case 26: +#line 560 "parse.y" + { push_namespace (NULL_TREE); ;} + break; + + case 27: +#line 562 "parse.y" + { pop_namespace (); ;} + break; + + case 29: +#line 565 "parse.y" + { do_toplevel_using_decl (yyvsp[-1].ttype); ;} + break; + + case 31: +#line 568 "parse.y" + { pedantic = yyvsp[-1].itype; ;} + break; + + case 32: +#line 573 "parse.y" + { begin_only_namespace_names (); ;} + break; + + case 33: +#line 575 "parse.y" + { + end_only_namespace_names (); + if (lastiddecl) + yyvsp[-1].ttype = lastiddecl; + do_namespace_alias (yyvsp[-4].ttype, yyvsp[-1].ttype); + ;} + break; + + case 34: +#line 585 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 35: +#line 587 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 36: +#line 589 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 37: +#line 594 "parse.y" + { yyval.ttype = build_nt (SCOPE_REF, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 38: +#line 596 "parse.y" + { yyval.ttype = build_nt (SCOPE_REF, global_namespace, yyvsp[0].ttype); ;} + break; + + case 39: +#line 598 "parse.y" + { yyval.ttype = build_nt (SCOPE_REF, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 40: +#line 603 "parse.y" + { begin_only_namespace_names (); ;} + break; + + case 41: +#line 605 "parse.y" + { + end_only_namespace_names (); + /* If no declaration was found, the using-directive is + invalid. Since that was not reported, we need the + identifier for the error message. */ + if (TREE_CODE (yyvsp[-1].ttype) == IDENTIFIER_NODE && lastiddecl) + yyvsp[-1].ttype = lastiddecl; + do_using_directive (yyvsp[-1].ttype); + ;} + break; + + case 42: +#line 618 "parse.y" + { + if (TREE_CODE (yyval.ttype) == IDENTIFIER_NODE) + yyval.ttype = lastiddecl; + got_scope = yyval.ttype; + ;} + break; + + case 43: +#line 624 "parse.y" + { + yyval.ttype = yyvsp[-1].ttype; + if (TREE_CODE (yyval.ttype) == IDENTIFIER_NODE) + yyval.ttype = lastiddecl; + got_scope = yyval.ttype; + ;} + break; + + case 46: +#line 636 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 47: +#line 638 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 48: +#line 643 "parse.y" + { push_lang_context (yyvsp[0].ttype); ;} + break; + + case 49: +#line 645 "parse.y" + { if (current_lang_name != yyvsp[0].ttype) + error ("use of linkage spec `%D' is different from previous spec `%D'", yyvsp[0].ttype, current_lang_name); + pop_lang_context (); push_lang_context (yyvsp[0].ttype); ;} + break; + + case 50: +#line 652 "parse.y" + { begin_template_parm_list (); ;} + break; + + case 51: +#line 654 "parse.y" + { yyval.ttype = end_template_parm_list (yyvsp[-1].ttype); ;} + break; + + case 52: +#line 659 "parse.y" + { begin_specialization(); + yyval.ttype = NULL_TREE; ;} + break; + + case 55: +#line 670 "parse.y" + { yyval.ttype = process_template_parm (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 56: +#line 672 "parse.y" + { yyval.ttype = process_template_parm (yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 57: +#line 677 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 58: +#line 679 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 59: +#line 684 "parse.y" + { yyval.ttype = finish_template_type_parm (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 60: +#line 686 "parse.y" + { yyval.ttype = finish_template_type_parm (class_type_node, yyvsp[0].ttype); ;} + break; + + case 61: +#line 691 "parse.y" + { yyval.ttype = finish_template_template_parm (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 62: +#line 703 "parse.y" + { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 63: +#line 705 "parse.y" + { yyval.ttype = build_tree_list (groktypename (yyvsp[0].ftype.t), yyvsp[-2].ttype); ;} + break; + + case 64: +#line 707 "parse.y" + { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ftype.t); ;} + break; + + case 65: +#line 709 "parse.y" + { yyval.ttype = build_tree_list (yyvsp[0].ttype, yyvsp[-2].ftype.t); ;} + break; + + case 66: +#line 711 "parse.y" + { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 67: +#line 713 "parse.y" + { + yyvsp[0].ttype = check_template_template_default_arg (yyvsp[0].ttype); + yyval.ttype = build_tree_list (yyvsp[0].ttype, yyvsp[-2].ttype); + ;} + break; + + case 68: +#line 721 "parse.y" + { finish_template_decl (yyvsp[-1].ttype); ;} + break; + + case 69: +#line 723 "parse.y" + { finish_template_decl (yyvsp[-1].ttype); ;} + break; + + case 70: +#line 728 "parse.y" + { do_pending_inlines (); ;} + break; + + case 71: +#line 730 "parse.y" + { do_pending_inlines (); ;} + break; + + case 72: +#line 732 "parse.y" + { do_pending_inlines (); ;} + break; + + case 73: +#line 734 "parse.y" + { do_pending_inlines (); + pop_lang_context (); ;} + break; + + case 74: +#line 737 "parse.y" + { do_pending_inlines (); + pop_lang_context (); ;} + break; + + case 75: +#line 740 "parse.y" + { pedantic = yyvsp[-1].itype; ;} + break; + + case 77: +#line 746 "parse.y" + {;} + break; + + case 78: +#line 748 "parse.y" + { note_list_got_semicolon (yyvsp[-2].ftype.t); ;} + break; + + case 79: +#line 750 "parse.y" + { + if (yyvsp[-1].ftype.t != error_mark_node) + { + maybe_process_partial_specialization (yyvsp[-1].ftype.t); + note_got_semicolon (yyvsp[-1].ftype.t); + } + ;} + break; + + case 81: +#line 762 "parse.y" + {;} + break; + + case 82: +#line 764 "parse.y" + { note_list_got_semicolon (yyvsp[-2].ftype.t); ;} + break; + + case 83: +#line 766 "parse.y" + { pedwarn ("empty declaration"); ;} + break; + + case 85: +#line 769 "parse.y" + { + tree t, attrs; + split_specs_attrs (yyvsp[-1].ftype.t, &t, &attrs); + shadow_tag (t); + note_list_got_semicolon (yyvsp[-1].ftype.t); + ;} + break; + + case 88: +#line 778 "parse.y" + { end_input (); ;} + break; + + case 98: +#line 804 "parse.y" + { yyval.ttype = begin_compound_stmt (/*has_no_scope=*/1); ;} + break; + + case 99: +#line 806 "parse.y" + { + STMT_LINENO (yyvsp[-1].ttype) = yyvsp[-3].itype; + finish_compound_stmt (/*has_no_scope=*/1, yyvsp[-1].ttype); + finish_function_body (yyvsp[-5].ttype); + ;} + break; + + case 100: +#line 815 "parse.y" + { expand_body (finish_function (0)); ;} + break; + + case 101: +#line 817 "parse.y" + { expand_body (finish_function (0)); ;} + break; + + case 102: +#line 819 "parse.y" + { ;} + break; + + case 103: +#line 824 "parse.y" + { yyval.ttype = begin_constructor_declarator (yyvsp[-2].ttype, yyvsp[-1].ttype); ;} + break; + + case 104: +#line 826 "parse.y" + { yyval.ttype = make_call_declarator (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 105: +#line 828 "parse.y" + { yyval.ttype = begin_constructor_declarator (yyvsp[-4].ttype, yyvsp[-3].ttype); + yyval.ttype = make_call_declarator (yyval.ttype, empty_parms (), yyvsp[-1].ttype, yyvsp[0].ttype); + ;} + break; + + case 106: +#line 832 "parse.y" + { yyval.ttype = begin_constructor_declarator (yyvsp[-2].ttype, yyvsp[-1].ttype); ;} + break; + + case 107: +#line 834 "parse.y" + { yyval.ttype = make_call_declarator (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 108: +#line 836 "parse.y" + { yyval.ttype = begin_constructor_declarator (yyvsp[-4].ttype, yyvsp[-3].ttype); + yyval.ttype = make_call_declarator (yyval.ttype, empty_parms (), yyvsp[-1].ttype, yyvsp[0].ttype); + ;} + break; + + case 109: +#line 840 "parse.y" + { yyval.ttype = begin_constructor_declarator (yyvsp[-2].ttype, yyvsp[-1].ttype); ;} + break; + + case 110: +#line 842 "parse.y" + { yyval.ttype = make_call_declarator (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 111: +#line 844 "parse.y" + { yyval.ttype = begin_constructor_declarator (yyvsp[-4].ttype, yyvsp[-3].ttype); + yyval.ttype = make_call_declarator (yyval.ttype, empty_parms (), yyvsp[-1].ttype, yyvsp[0].ttype); + ;} + break; + + case 112: +#line 848 "parse.y" + { yyval.ttype = begin_constructor_declarator (yyvsp[-2].ttype, yyvsp[-1].ttype); ;} + break; + + case 113: +#line 850 "parse.y" + { yyval.ttype = make_call_declarator (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 114: +#line 852 "parse.y" + { yyval.ttype = begin_constructor_declarator (yyvsp[-4].ttype, yyvsp[-3].ttype); + yyval.ttype = make_call_declarator (yyval.ttype, empty_parms (), yyvsp[-1].ttype, yyvsp[0].ttype); + ;} + break; + + case 115: +#line 859 "parse.y" + { check_for_new_type ("return type", yyvsp[-1].ftype); + if (!parse_begin_function_definition (yyvsp[-1].ftype.t, yyvsp[0].ttype)) + YYERROR1; ;} + break; + + case 116: +#line 863 "parse.y" + { if (!parse_begin_function_definition (yyvsp[-1].ftype.t, yyvsp[0].ttype)) + YYERROR1; ;} + break; + + case 117: +#line 866 "parse.y" + { if (!parse_begin_function_definition (NULL_TREE, yyvsp[0].ttype)) + YYERROR1; ;} + break; + + case 118: +#line 869 "parse.y" + { if (!parse_begin_function_definition (yyvsp[-1].ftype.t, yyvsp[0].ttype)) + YYERROR1; ;} + break; + + case 119: +#line 872 "parse.y" + { if (!parse_begin_function_definition (NULL_TREE, yyvsp[0].ttype)) + YYERROR1; ;} + break; + + case 120: +#line 881 "parse.y" + { yyval.ttype = make_call_declarator (yyvsp[-5].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 121: +#line 884 "parse.y" + { yyval.ttype = make_call_declarator (yyvsp[-6].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 122: +#line 886 "parse.y" + { yyval.ttype = make_call_declarator (yyvsp[-3].ttype, empty_parms (), yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 123: +#line 888 "parse.y" + { yyval.ttype = make_call_declarator (yyvsp[-4].ttype, empty_parms (), yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 124: +#line 890 "parse.y" + { yyval.ttype = make_call_declarator (yyvsp[-5].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 125: +#line 892 "parse.y" + { yyval.ttype = make_call_declarator (yyvsp[-3].ttype, empty_parms (), yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 126: +#line 899 "parse.y" + { yyval.ttype = parse_method (yyvsp[0].ttype, yyvsp[-1].ftype.t, yyvsp[-1].ftype.lookups); + rest_of_mdef: + if (! yyval.ttype) + YYERROR1; + if (yychar == YYEMPTY) + yychar = YYLEX; + snarf_method (yyval.ttype); ;} + break; + + case 127: +#line 907 "parse.y" + { yyval.ttype = parse_method (yyvsp[0].ttype, NULL_TREE, NULL_TREE); + goto rest_of_mdef; ;} + break; + + case 128: +#line 910 "parse.y" + { yyval.ttype = parse_method (yyvsp[0].ttype, yyvsp[-1].ftype.t, yyvsp[-1].ftype.lookups); goto rest_of_mdef;;} + break; + + case 129: +#line 912 "parse.y" + { yyval.ttype = parse_method (yyvsp[0].ttype, yyvsp[-1].ftype.t, yyvsp[-1].ftype.lookups); goto rest_of_mdef;;} + break; + + case 130: +#line 914 "parse.y" + { yyval.ttype = parse_method (yyvsp[0].ttype, NULL_TREE, NULL_TREE); + goto rest_of_mdef; ;} + break; + + case 131: +#line 917 "parse.y" + { yyval.ttype = parse_method (yyvsp[0].ttype, yyvsp[-1].ftype.t, yyvsp[-1].ftype.lookups); goto rest_of_mdef;;} + break; + + case 132: +#line 919 "parse.y" + { yyval.ttype = parse_method (yyvsp[0].ttype, NULL_TREE, NULL_TREE); + goto rest_of_mdef; ;} + break; + + case 133: +#line 925 "parse.y" + { + yyval.ttype = yyvsp[0].ttype; + ;} + break; + + case 134: +#line 932 "parse.y" + { finish_named_return_value (yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 135: +#line 934 "parse.y" + { finish_named_return_value (yyval.ttype, yyvsp[-1].ttype); ;} + break; + + case 136: +#line 936 "parse.y" + { finish_named_return_value (yyval.ttype, NULL_TREE); ;} + break; + + case 137: +#line 940 "parse.y" + { begin_mem_initializers (); ;} + break; + + case 138: +#line 941 "parse.y" + { + if (yyvsp[0].ftype.new_type_flag == 0) + error ("no base or member initializers given following ':'"); + finish_mem_initializers (yyvsp[0].ftype.t); + ;} + break; + + case 139: +#line 950 "parse.y" + { + yyval.ttype = begin_function_body (); + ;} + break; + + case 140: +#line 957 "parse.y" + { + yyval.ftype.new_type_flag = 0; + yyval.ftype.t = NULL_TREE; + ;} + break; + + case 141: +#line 962 "parse.y" + { + yyval.ftype.new_type_flag = 1; + yyval.ftype.t = yyvsp[0].ttype; + ;} + break; + + case 142: +#line 967 "parse.y" + { + if (yyvsp[0].ttype) + { + yyval.ftype.new_type_flag = 1; + TREE_CHAIN (yyvsp[0].ttype) = yyvsp[-2].ftype.t; + yyval.ftype.t = yyvsp[0].ttype; + } + else + yyval.ftype = yyvsp[-2].ftype; + ;} + break; + + case 144: +#line 982 "parse.y" + { + if (current_class_name) + pedwarn ("anachronistic old style base class initializer"); + yyval.ttype = expand_member_init (NULL_TREE); + in_base_initializer = yyval.ttype && !DECL_P (yyval.ttype); + ;} + break; + + case 145: +#line 989 "parse.y" + { yyval.ttype = expand_member_init (yyvsp[0].ttype); + in_base_initializer = yyval.ttype && !DECL_P (yyval.ttype); ;} + break; + + case 146: +#line 992 "parse.y" + { yyval.ttype = expand_member_init (yyvsp[0].ttype); + in_base_initializer = yyval.ttype && !DECL_P (yyval.ttype); ;} + break; + + case 147: +#line 995 "parse.y" + { yyval.ttype = expand_member_init (yyvsp[0].ttype); + in_base_initializer = yyval.ttype && !DECL_P (yyval.ttype); ;} + break; + + case 148: +#line 1001 "parse.y" + { in_base_initializer = 0; + yyval.ttype = yyvsp[-3].ttype ? build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype) : NULL_TREE; ;} + break; + + case 149: +#line 1004 "parse.y" + { in_base_initializer = 0; + yyval.ttype = yyvsp[-1].ttype ? build_tree_list (yyvsp[-1].ttype, void_type_node) : NULL_TREE; ;} + break; + + case 150: +#line 1007 "parse.y" + { in_base_initializer = 0; + yyval.ttype = NULL_TREE; ;} + break; + + case 162: +#line 1033 "parse.y" + { do_type_instantiation (yyvsp[-1].ftype.t, NULL_TREE, 1); + yyungetc (';', 1); ;} + break; + + case 164: +#line 1037 "parse.y" + { tree specs = strip_attrs (yyvsp[-1].ftype.t); + parse_decl_instantiation (specs, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 166: +#line 1041 "parse.y" + { parse_decl_instantiation (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 168: +#line 1044 "parse.y" + { parse_decl_instantiation (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 170: +#line 1047 "parse.y" + { do_type_instantiation (yyvsp[-1].ftype.t, yyvsp[-4].ttype, 1); + yyungetc (';', 1); ;} + break; + + case 171: +#line 1050 "parse.y" + {;} + break; + + case 172: +#line 1053 "parse.y" + { tree specs = strip_attrs (yyvsp[-1].ftype.t); + parse_decl_instantiation (specs, yyvsp[0].ttype, yyvsp[-4].ttype); ;} + break; + + case 173: +#line 1056 "parse.y" + {;} + break; + + case 174: +#line 1058 "parse.y" + { parse_decl_instantiation (NULL_TREE, yyvsp[0].ttype, yyvsp[-3].ttype); ;} + break; + + case 175: +#line 1060 "parse.y" + {;} + break; + + case 176: +#line 1062 "parse.y" + { parse_decl_instantiation (NULL_TREE, yyvsp[0].ttype, yyvsp[-3].ttype); ;} + break; + + case 177: +#line 1064 "parse.y" + {;} + break; + + case 178: +#line 1068 "parse.y" + { begin_explicit_instantiation(); ;} + break; + + case 179: +#line 1072 "parse.y" + { end_explicit_instantiation(); ;} + break; + + case 180: +#line 1082 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 181: +#line 1085 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 184: +#line 1093 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 185: +#line 1099 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 186: +#line 1103 "parse.y" + { + if (yychar == YYEMPTY) + yychar = YYLEX; + + yyval.ttype = finish_template_type (yyvsp[-3].ttype, yyvsp[-1].ttype, + yychar == SCOPE); + ;} + break; + + case 188: +#line 1115 "parse.y" + { + /* Handle `Class>' without space in the `>>' */ + pedwarn ("`>>' should be `> >' in template class name"); + yyungetc ('>', 1); + ;} + break; + + case 189: +#line 1124 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 191: +#line 1130 "parse.y" + { yyval.ttype = build_tree_list (NULL_TREE, yyval.ttype); ;} + break; + + case 192: +#line 1132 "parse.y" + { yyval.ttype = chainon (yyval.ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;} + break; + + case 193: +#line 1136 "parse.y" + { ++class_template_ok_as_expr; ;} + break; + + case 194: +#line 1138 "parse.y" + { + --class_template_ok_as_expr; + yyval.ttype = yyvsp[0].ttype; + ;} + break; + + case 195: +#line 1146 "parse.y" + { yyval.ttype = groktypename (yyvsp[0].ftype.t); ;} + break; + + case 196: +#line 1148 "parse.y" + { + yyval.ttype = lastiddecl; + if (DECL_TEMPLATE_TEMPLATE_PARM_P (yyval.ttype)) + yyval.ttype = TREE_TYPE (yyval.ttype); + ;} + break; + + case 197: +#line 1154 "parse.y" + { + yyval.ttype = lastiddecl; + if (DECL_TEMPLATE_TEMPLATE_PARM_P (yyval.ttype)) + yyval.ttype = TREE_TYPE (yyval.ttype); + ;} + break; + + case 199: +#line 1161 "parse.y" + { + if (!processing_template_decl) + { + error ("use of template qualifier outside template"); + yyval.ttype = error_mark_node; + } + else + yyval.ttype = make_unbound_class_template (yyvsp[-2].ttype, yyvsp[0].ttype, tf_error | tf_parsing); + ;} + break; + + case 200: +#line 1174 "parse.y" + { yyval.code = NEGATE_EXPR; ;} + break; + + case 201: +#line 1176 "parse.y" + { yyval.code = CONVERT_EXPR; ;} + break; + + case 202: +#line 1178 "parse.y" + { yyval.code = PREINCREMENT_EXPR; ;} + break; + + case 203: +#line 1180 "parse.y" + { yyval.code = PREDECREMENT_EXPR; ;} + break; + + case 204: +#line 1182 "parse.y" + { yyval.code = TRUTH_NOT_EXPR; ;} + break; + + case 205: +#line 1187 "parse.y" + { yyval.ttype = build_x_compound_expr (yyval.ttype); ;} + break; + + case 207: +#line 1193 "parse.y" + { error ("ISO C++ forbids an empty condition for `%s'", + cond_stmt_keyword); + yyval.ttype = integer_zero_node; ;} + break; + + case 208: +#line 1197 "parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 209: +#line 1202 "parse.y" + { error ("ISO C++ forbids an empty condition for `%s'", + cond_stmt_keyword); + yyval.ttype = integer_zero_node; ;} + break; + + case 210: +#line 1206 "parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 211: +#line 1211 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 213: +#line 1214 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 214: +#line 1219 "parse.y" + { { + tree d; + for (d = getdecls (); d; d = TREE_CHAIN (d)) + if (TREE_CODE (d) == TYPE_DECL) { + tree s = TREE_TYPE (d); + if (TREE_CODE (s) == RECORD_TYPE) + error ("definition of class `%T' in condition", s); + else if (TREE_CODE (s) == ENUMERAL_TYPE) + error ("definition of enum `%T' in condition", s); + } + } + current_declspecs = yyvsp[-4].ftype.t; + yyval.ttype = parse_decl (yyvsp[-3].ttype, yyvsp[-1].ttype, 1); + ;} + break; + + case 215: +#line 1234 "parse.y" + { + parse_end_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-3].ttype); + yyval.ttype = convert_from_reference (yyvsp[-1].ttype); + if (TREE_CODE (TREE_TYPE (yyval.ttype)) == ARRAY_TYPE) + error ("definition of array `%#D' in condition", yyval.ttype); + ;} + break; + + case 221: +#line 1252 "parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyval.ttype, + build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;} + break; + + case 222: +#line 1255 "parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyval.ttype, + build_tree_list (NULL_TREE, error_mark_node)); ;} + break; + + case 223: +#line 1258 "parse.y" + { chainon (yyval.ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;} + break; + + case 224: +#line 1260 "parse.y" + { chainon (yyval.ttype, build_tree_list (NULL_TREE, error_mark_node)); ;} + break; + + case 225: +#line 1265 "parse.y" + { yyval.ttype = build_tree_list (NULL_TREE, yyval.ttype); ;} + break; + + case 227: +#line 1271 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 228: +#line 1274 "parse.y" + { yyval.ttype = yyvsp[0].ttype; + pedantic = yyvsp[-1].itype; ;} + break; + + case 229: +#line 1277 "parse.y" + { yyval.ttype = build_x_indirect_ref (yyvsp[0].ttype, "unary *"); ;} + break; + + case 230: +#line 1279 "parse.y" + { yyval.ttype = build_x_unary_op (ADDR_EXPR, yyvsp[0].ttype); ;} + break; + + case 231: +#line 1281 "parse.y" + { yyval.ttype = build_x_unary_op (BIT_NOT_EXPR, yyvsp[0].ttype); ;} + break; + + case 232: +#line 1283 "parse.y" + { yyval.ttype = finish_unary_op_expr (yyvsp[-1].code, yyvsp[0].ttype); ;} + break; + + case 233: +#line 1286 "parse.y" + { yyval.ttype = finish_label_address_expr (yyvsp[0].ttype); ;} + break; + + case 234: +#line 1288 "parse.y" + { yyval.ttype = finish_sizeof (yyvsp[0].ttype); + skip_evaluation--; ;} + break; + + case 235: +#line 1291 "parse.y" + { yyval.ttype = finish_sizeof (groktypename (yyvsp[-1].ftype.t)); + check_for_new_type ("sizeof", yyvsp[-1].ftype); + skip_evaluation--; ;} + break; + + case 236: +#line 1295 "parse.y" + { yyval.ttype = finish_alignof (yyvsp[0].ttype); + skip_evaluation--; ;} + break; + + case 237: +#line 1298 "parse.y" + { yyval.ttype = finish_alignof (groktypename (yyvsp[-1].ftype.t)); + check_for_new_type ("alignof", yyvsp[-1].ftype); + skip_evaluation--; ;} + break; + + case 238: +#line 1305 "parse.y" + { yyval.ttype = build_new (NULL_TREE, yyvsp[0].ftype.t, NULL_TREE, yyvsp[-1].itype); + check_for_new_type ("new", yyvsp[0].ftype); ;} + break; + + case 239: +#line 1308 "parse.y" + { yyval.ttype = build_new (NULL_TREE, yyvsp[-1].ftype.t, yyvsp[0].ttype, yyvsp[-2].itype); + check_for_new_type ("new", yyvsp[-1].ftype); ;} + break; + + case 240: +#line 1311 "parse.y" + { yyval.ttype = build_new (yyvsp[-1].ttype, yyvsp[0].ftype.t, NULL_TREE, yyvsp[-2].itype); + check_for_new_type ("new", yyvsp[0].ftype); ;} + break; + + case 241: +#line 1314 "parse.y" + { yyval.ttype = build_new (yyvsp[-2].ttype, yyvsp[-1].ftype.t, yyvsp[0].ttype, yyvsp[-3].itype); + check_for_new_type ("new", yyvsp[-1].ftype); ;} + break; + + case 242: +#line 1318 "parse.y" + { yyval.ttype = build_new (NULL_TREE, groktypename(yyvsp[-1].ftype.t), + NULL_TREE, yyvsp[-3].itype); + check_for_new_type ("new", yyvsp[-1].ftype); ;} + break; + + case 243: +#line 1322 "parse.y" + { yyval.ttype = build_new (NULL_TREE, groktypename(yyvsp[-2].ftype.t), yyvsp[0].ttype, yyvsp[-4].itype); + check_for_new_type ("new", yyvsp[-2].ftype); ;} + break; + + case 244: +#line 1325 "parse.y" + { yyval.ttype = build_new (yyvsp[-3].ttype, groktypename(yyvsp[-1].ftype.t), NULL_TREE, yyvsp[-4].itype); + check_for_new_type ("new", yyvsp[-1].ftype); ;} + break; + + case 245: +#line 1328 "parse.y" + { yyval.ttype = build_new (yyvsp[-4].ttype, groktypename(yyvsp[-2].ftype.t), yyvsp[0].ttype, yyvsp[-5].itype); + check_for_new_type ("new", yyvsp[-2].ftype); ;} + break; + + case 246: +#line 1332 "parse.y" + { yyval.ttype = delete_sanity (yyvsp[0].ttype, NULL_TREE, 0, yyvsp[-1].itype); ;} + break; + + case 247: +#line 1334 "parse.y" + { yyval.ttype = delete_sanity (yyvsp[0].ttype, NULL_TREE, 1, yyvsp[-3].itype); + if (yychar == YYEMPTY) + yychar = YYLEX; ;} + break; + + case 248: +#line 1338 "parse.y" + { yyval.ttype = delete_sanity (yyvsp[0].ttype, yyvsp[-2].ttype, 2, yyvsp[-4].itype); + if (yychar == YYEMPTY) + yychar = YYLEX; ;} + break; + + case 249: +#line 1342 "parse.y" + { yyval.ttype = build_x_unary_op (REALPART_EXPR, yyvsp[0].ttype); ;} + break; + + case 250: +#line 1344 "parse.y" + { yyval.ttype = build_x_unary_op (IMAGPART_EXPR, yyvsp[0].ttype); ;} + break; + + case 251: +#line 1349 "parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 252: +#line 1351 "parse.y" + { pedwarn ("old style placement syntax, use () instead"); + yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 253: +#line 1357 "parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 254: +#line 1359 "parse.y" + { yyval.ttype = void_zero_node; ;} + break; + + case 255: +#line 1361 "parse.y" + { + error ("`%T' is not a valid expression", yyvsp[-1].ftype.t); + yyval.ttype = error_mark_node; + ;} + break; + + case 256: +#line 1366 "parse.y" + { + /* This was previously allowed as an extension, but + was removed in G++ 3.3. */ + error ("initialization of new expression with `='"); + yyval.ttype = error_mark_node; + ;} + break; + + case 257: +#line 1377 "parse.y" + { yyvsp[-1].ftype.t = finish_parmlist (build_tree_list (NULL_TREE, yyvsp[-1].ftype.t), 0); + yyval.ttype = make_call_declarator (NULL_TREE, yyvsp[-1].ftype.t, NULL_TREE, NULL_TREE); + check_for_new_type ("cast", yyvsp[-1].ftype); ;} + break; + + case 258: +#line 1381 "parse.y" + { yyvsp[-1].ftype.t = finish_parmlist (build_tree_list (NULL_TREE, yyvsp[-1].ftype.t), 0); + yyval.ttype = make_call_declarator (yyval.ttype, yyvsp[-1].ftype.t, NULL_TREE, NULL_TREE); + check_for_new_type ("cast", yyvsp[-1].ftype); ;} + break; + + case 260: +#line 1389 "parse.y" + { yyval.ttype = reparse_absdcl_as_casts (yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 261: +#line 1391 "parse.y" + { + tree init = build_nt (CONSTRUCTOR, NULL_TREE, + nreverse (yyvsp[-2].ttype)); + if (pedantic) + pedwarn ("ISO C++ forbids compound literals"); + /* Indicate that this was a C99 compound literal. */ + TREE_HAS_CONSTRUCTOR (init) = 1; + + yyval.ttype = reparse_absdcl_as_casts (yyval.ttype, init); + ;} + break; + + case 263: +#line 1407 "parse.y" + { yyval.ttype = build_x_binary_op (MEMBER_REF, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 264: +#line 1409 "parse.y" + { yyval.ttype = build_m_component_ref (yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 265: +#line 1411 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 266: +#line 1413 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 267: +#line 1415 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 268: +#line 1417 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 269: +#line 1419 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 270: +#line 1421 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 271: +#line 1423 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 272: +#line 1425 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 273: +#line 1427 "parse.y" + { yyval.ttype = build_x_binary_op (LT_EXPR, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 274: +#line 1429 "parse.y" + { yyval.ttype = build_x_binary_op (GT_EXPR, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 275: +#line 1431 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 276: +#line 1433 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 277: +#line 1435 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 278: +#line 1437 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 279: +#line 1439 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 280: +#line 1441 "parse.y" + { yyval.ttype = build_x_binary_op (TRUTH_ANDIF_EXPR, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 281: +#line 1443 "parse.y" + { yyval.ttype = build_x_binary_op (TRUTH_ORIF_EXPR, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 282: +#line 1445 "parse.y" + { yyval.ttype = build_x_conditional_expr (yyval.ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 283: +#line 1447 "parse.y" + { yyval.ttype = build_x_modify_expr (yyval.ttype, NOP_EXPR, yyvsp[0].ttype); + if (yyval.ttype != error_mark_node) + C_SET_EXP_ORIGINAL_CODE (yyval.ttype, MODIFY_EXPR); ;} + break; + + case 284: +#line 1451 "parse.y" + { yyval.ttype = build_x_modify_expr (yyval.ttype, yyvsp[-1].code, yyvsp[0].ttype); ;} + break; + + case 285: +#line 1453 "parse.y" + { yyval.ttype = build_throw (NULL_TREE); ;} + break; + + case 286: +#line 1455 "parse.y" + { yyval.ttype = build_throw (yyvsp[0].ttype); ;} + break; + + case 288: +#line 1462 "parse.y" + { yyval.ttype = build_x_binary_op (MEMBER_REF, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 289: +#line 1464 "parse.y" + { yyval.ttype = build_m_component_ref (yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 290: +#line 1466 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 291: +#line 1468 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 292: +#line 1470 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 293: +#line 1472 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 294: +#line 1474 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 295: +#line 1476 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 296: +#line 1478 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 297: +#line 1480 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 298: +#line 1482 "parse.y" + { yyval.ttype = build_x_binary_op (LT_EXPR, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 299: +#line 1484 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 300: +#line 1486 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 301: +#line 1488 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 302: +#line 1490 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 303: +#line 1492 "parse.y" + { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 304: +#line 1494 "parse.y" + { yyval.ttype = build_x_binary_op (TRUTH_ANDIF_EXPR, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 305: +#line 1496 "parse.y" + { yyval.ttype = build_x_binary_op (TRUTH_ORIF_EXPR, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 306: +#line 1498 "parse.y" + { yyval.ttype = build_x_conditional_expr (yyval.ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 307: +#line 1500 "parse.y" + { yyval.ttype = build_x_modify_expr (yyval.ttype, NOP_EXPR, yyvsp[0].ttype); + if (yyval.ttype != error_mark_node) + C_SET_EXP_ORIGINAL_CODE (yyval.ttype, MODIFY_EXPR); ;} + break; + + case 308: +#line 1504 "parse.y" + { yyval.ttype = build_x_modify_expr (yyval.ttype, yyvsp[-1].code, yyvsp[0].ttype); ;} + break; + + case 309: +#line 1506 "parse.y" + { yyval.ttype = build_throw (NULL_TREE); ;} + break; + + case 310: +#line 1508 "parse.y" + { yyval.ttype = build_throw (yyvsp[0].ttype); ;} + break; + + case 311: +#line 1513 "parse.y" + { yyval.ttype = build_nt (BIT_NOT_EXPR, yyvsp[0].ttype); ;} + break; + + case 312: +#line 1515 "parse.y" + { yyval.ttype = build_nt (BIT_NOT_EXPR, yyvsp[0].ttype); ;} + break; + + case 318: +#line 1524 "parse.y" + { + /* If lastiddecl is a BASELINK we're in an + expression like S::f, so don't + do_identifier; we only do that for unqualified + identifiers. */ + if (!lastiddecl || !BASELINK_P (lastiddecl)) + yyval.ttype = do_identifier (yyvsp[-1].ttype, 3, NULL_TREE); + else + yyval.ttype = yyvsp[-1].ttype; + ;} + break; + + case 319: +#line 1538 "parse.y" + { + tree template_name = yyvsp[-2].ttype; + if (TREE_CODE (template_name) == COMPONENT_REF) + template_name = TREE_OPERAND (template_name, 1); + yyval.ttype = lookup_template_function (template_name, yyvsp[-1].ttype); + ;} + break; + + case 320: +#line 1545 "parse.y" + { + tree template_name = yyvsp[-2].ttype; + if (TREE_CODE (template_name) == COMPONENT_REF) + template_name = TREE_OPERAND (template_name, 1); + yyval.ttype = lookup_template_function (template_name, yyvsp[-1].ttype); + ;} + break; + + case 321: +#line 1555 "parse.y" + { yyval.ttype = lookup_template_function (yyvsp[-3].ttype, yyvsp[-1].ttype); ;} + break; + + case 322: +#line 1557 "parse.y" + { yyval.ttype = lookup_template_function (yyvsp[-3].ttype, yyvsp[-1].ttype); ;} + break; + + case 323: +#line 1560 "parse.y" + { yyval.ttype = lookup_template_function (yyvsp[-3].ttype, yyvsp[-1].ttype); ;} + break; + + case 328: +#line 1572 "parse.y" + { + /* Provide support for '(' attributes '*' declarator ')' + etc */ + yyval.ttype = tree_cons (yyvsp[-1].ttype, yyvsp[0].ttype, NULL_TREE); + ;} + break; + + case 330: +#line 1582 "parse.y" + { yyval.ttype = build_nt (INDIRECT_REF, yyvsp[0].ttype); ;} + break; + + case 331: +#line 1584 "parse.y" + { yyval.ttype = build_nt (ADDR_EXPR, yyvsp[0].ttype); ;} + break; + + case 332: +#line 1586 "parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 333: +#line 1591 "parse.y" + { yyval.ttype = lookup_template_function (yyvsp[-3].ttype, yyvsp[-1].ttype); ;} + break; + + case 334: +#line 1593 "parse.y" + { yyval.ttype = lookup_template_function (yyvsp[-3].ttype, yyvsp[-1].ttype); ;} + break; + + case 338: +#line 1603 "parse.y" + { yyval.ttype = finish_decl_parsing (yyvsp[-1].ttype); ;} + break; + + case 339: +#line 1608 "parse.y" + { + if (TREE_CODE (yyvsp[0].ttype) == BIT_NOT_EXPR) + yyval.ttype = build_x_unary_op (BIT_NOT_EXPR, TREE_OPERAND (yyvsp[0].ttype, 0)); + else + yyval.ttype = finish_id_expr (yyvsp[0].ttype); + ;} + break; + + case 342: +#line 1617 "parse.y" + { + yyval.ttype = fix_string_type (yyval.ttype); + /* fix_string_type doesn't set up TYPE_MAIN_VARIANT of + a const array the way we want, so fix it. */ + if (flag_const_strings) + TREE_TYPE (yyval.ttype) = build_cplus_array_type + (TREE_TYPE (TREE_TYPE (yyval.ttype)), + TYPE_DOMAIN (TREE_TYPE (yyval.ttype))); + ;} + break; + + case 343: +#line 1627 "parse.y" + { yyval.ttype = finish_fname (yyvsp[0].ttype); ;} + break; + + case 344: +#line 1629 "parse.y" + { yyval.ttype = finish_parenthesized_expr (yyvsp[-1].ttype); ;} + break; + + case 345: +#line 1631 "parse.y" + { yyvsp[-1].ttype = reparse_decl_as_expr (NULL_TREE, yyvsp[-1].ttype); + yyval.ttype = finish_parenthesized_expr (yyvsp[-1].ttype); ;} + break; + + case 346: +#line 1634 "parse.y" + { yyval.ttype = error_mark_node; ;} + break; + + case 347: +#line 1636 "parse.y" + { if (!at_function_scope_p ()) + { + error ("braced-group within expression allowed only inside a function"); + YYERROR; + } + if (pedantic) + pedwarn ("ISO C++ forbids braced-groups within expressions"); + yyval.ttype = begin_stmt_expr (); + ;} + break; + + case 348: +#line 1646 "parse.y" + { yyval.ttype = finish_stmt_expr (yyvsp[-2].ttype); ;} + break; + + case 349: +#line 1651 "parse.y" + { yyval.ttype = parse_finish_call_expr (yyvsp[-3].ttype, yyvsp[-1].ttype, 1); ;} + break; + + case 350: +#line 1653 "parse.y" + { yyval.ttype = parse_finish_call_expr (yyvsp[-1].ttype, NULL_TREE, 1); ;} + break; + + case 351: +#line 1655 "parse.y" + { yyval.ttype = parse_finish_call_expr (yyvsp[-3].ttype, yyvsp[-1].ttype, 0); ;} + break; + + case 352: +#line 1657 "parse.y" + { yyval.ttype = parse_finish_call_expr (yyvsp[-1].ttype, NULL_TREE, 0); ;} + break; + + case 353: +#line 1659 "parse.y" + { yyval.ttype = build_x_va_arg (yyvsp[-3].ttype, groktypename (yyvsp[-1].ftype.t)); + check_for_new_type ("__builtin_va_arg", yyvsp[-1].ftype); ;} + break; + + case 354: +#line 1662 "parse.y" + { yyval.ttype = grok_array_decl (yyval.ttype, yyvsp[-1].ttype); ;} + break; + + case 355: +#line 1664 "parse.y" + { yyval.ttype = finish_increment_expr (yyvsp[-1].ttype, POSTINCREMENT_EXPR); ;} + break; + + case 356: +#line 1666 "parse.y" + { yyval.ttype = finish_increment_expr (yyvsp[-1].ttype, POSTDECREMENT_EXPR); ;} + break; + + case 357: +#line 1669 "parse.y" + { yyval.ttype = finish_this_expr (); ;} + break; + + case 358: +#line 1671 "parse.y" + { + /* This is a C cast in C++'s `functional' notation + using the "implicit int" extension so that: + `const (3)' is equivalent to `const int (3)'. */ + tree type; + + type = hash_tree_cons (NULL_TREE, yyvsp[-3].ttype, NULL_TREE); + type = groktypename (build_tree_list (type, NULL_TREE)); + yyval.ttype = build_functional_cast (type, yyvsp[-1].ttype); + ;} + break; + + case 360: +#line 1683 "parse.y" + { tree type = groktypename (yyvsp[-4].ftype.t); + check_for_new_type ("dynamic_cast", yyvsp[-4].ftype); + yyval.ttype = build_dynamic_cast (type, yyvsp[-1].ttype); ;} + break; + + case 361: +#line 1687 "parse.y" + { tree type = groktypename (yyvsp[-4].ftype.t); + check_for_new_type ("static_cast", yyvsp[-4].ftype); + yyval.ttype = build_static_cast (type, yyvsp[-1].ttype); ;} + break; + + case 362: +#line 1691 "parse.y" + { tree type = groktypename (yyvsp[-4].ftype.t); + check_for_new_type ("reinterpret_cast", yyvsp[-4].ftype); + yyval.ttype = build_reinterpret_cast (type, yyvsp[-1].ttype); ;} + break; + + case 363: +#line 1695 "parse.y" + { tree type = groktypename (yyvsp[-4].ftype.t); + check_for_new_type ("const_cast", yyvsp[-4].ftype); + yyval.ttype = build_const_cast (type, yyvsp[-1].ttype); ;} + break; + + case 364: +#line 1699 "parse.y" + { yyval.ttype = build_typeid (yyvsp[-1].ttype); ;} + break; + + case 365: +#line 1701 "parse.y" + { tree type = groktypename (yyvsp[-1].ftype.t); + check_for_new_type ("typeid", yyvsp[-1].ftype); + yyval.ttype = get_typeid (type); ;} + break; + + case 366: +#line 1705 "parse.y" + { yyval.ttype = parse_scoped_id (yyvsp[0].ttype); ;} + break; + + case 367: +#line 1707 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 368: +#line 1709 "parse.y" + { + got_scope = NULL_TREE; + if (TREE_CODE (yyvsp[0].ttype) == IDENTIFIER_NODE) + yyval.ttype = parse_scoped_id (yyvsp[0].ttype); + else + yyval.ttype = yyvsp[0].ttype; + ;} + break; + + case 369: +#line 1717 "parse.y" + { yyval.ttype = build_offset_ref (OP0 (yyval.ttype), OP1 (yyval.ttype)); + if (!class_template_ok_as_expr + && DECL_CLASS_TEMPLATE_P (yyval.ttype)) + { + error ("invalid use of template `%D'", yyval.ttype); + yyval.ttype = error_mark_node; + } + ;} + break; + + case 370: +#line 1726 "parse.y" + { yyval.ttype = parse_finish_call_expr (yyvsp[-3].ttype, yyvsp[-1].ttype, 0); ;} + break; + + case 371: +#line 1728 "parse.y" + { yyval.ttype = parse_finish_call_expr (yyvsp[-1].ttype, NULL_TREE, 0); ;} + break; + + case 372: +#line 1730 "parse.y" + { yyval.ttype = finish_class_member_access_expr (yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 373: +#line 1732 "parse.y" + { yyval.ttype = finish_object_call_expr (yyvsp[-3].ttype, yyvsp[-4].ttype, yyvsp[-1].ttype); ;} + break; + + case 374: +#line 1734 "parse.y" + { yyval.ttype = finish_object_call_expr (yyvsp[-1].ttype, yyvsp[-2].ttype, NULL_TREE); ;} + break; + + case 375: +#line 1736 "parse.y" + { yyval.ttype = finish_class_member_access_expr (yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 376: +#line 1738 "parse.y" + { yyval.ttype = finish_class_member_access_expr (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 377: +#line 1740 "parse.y" + { yyval.ttype = finish_object_call_expr (yyvsp[-3].ttype, yyvsp[-4].ttype, yyvsp[-1].ttype); ;} + break; + + case 378: +#line 1742 "parse.y" + { yyval.ttype = finish_object_call_expr (yyvsp[-1].ttype, yyvsp[-2].ttype, NULL_TREE); ;} + break; + + case 379: +#line 1744 "parse.y" + { yyval.ttype = finish_qualified_object_call_expr (yyvsp[-3].ttype, yyvsp[-4].ttype, yyvsp[-1].ttype); ;} + break; + + case 380: +#line 1746 "parse.y" + { yyval.ttype = finish_qualified_object_call_expr (yyvsp[-1].ttype, yyvsp[-2].ttype, NULL_TREE); ;} + break; + + case 381: +#line 1749 "parse.y" + { yyval.ttype = finish_pseudo_destructor_call_expr (yyvsp[-3].ttype, NULL_TREE, yyvsp[-1].ttype); ;} + break; + + case 382: +#line 1751 "parse.y" + { yyval.ttype = finish_pseudo_destructor_call_expr (yyvsp[-5].ttype, yyvsp[-4].ttype, yyvsp[-1].ttype); ;} + break; + + case 383: +#line 1753 "parse.y" + { + yyval.ttype = error_mark_node; + ;} + break; + + case 384: +#line 1798 "parse.y" + { yyval.itype = 0; ;} + break; + + case 385: +#line 1800 "parse.y" + { got_scope = NULL_TREE; yyval.itype = 1; ;} + break; + + case 386: +#line 1805 "parse.y" + { yyval.itype = 0; ;} + break; + + case 387: +#line 1807 "parse.y" + { got_scope = NULL_TREE; yyval.itype = 1; ;} + break; + + case 388: +#line 1812 "parse.y" + { yyval.ttype = boolean_true_node; ;} + break; + + case 389: +#line 1814 "parse.y" + { yyval.ttype = boolean_false_node; ;} + break; + + case 390: +#line 1819 "parse.y" + { + if (DECL_CONSTRUCTOR_P (current_function_decl)) + finish_mem_initializers (NULL_TREE); + ;} + break; + + case 391: +#line 1827 "parse.y" + { got_object = TREE_TYPE (yyval.ttype); ;} + break; + + case 392: +#line 1829 "parse.y" + { + yyval.ttype = build_x_arrow (yyval.ttype); + got_object = TREE_TYPE (yyval.ttype); + ;} + break; + + case 393: +#line 1837 "parse.y" + { + if (yyvsp[-2].ftype.t && IS_AGGR_TYPE_CODE (TREE_CODE (yyvsp[-2].ftype.t))) + note_got_semicolon (yyvsp[-2].ftype.t); + ;} + break; + + case 394: +#line 1842 "parse.y" + { + note_list_got_semicolon (yyvsp[-2].ftype.t); + ;} + break; + + case 395: +#line 1846 "parse.y" + {;} + break; + + case 396: +#line 1848 "parse.y" + { + shadow_tag (yyvsp[-1].ftype.t); + note_list_got_semicolon (yyvsp[-1].ftype.t); + ;} + break; + + case 397: +#line 1853 "parse.y" + { warning ("empty declaration"); ;} + break; + + case 398: +#line 1855 "parse.y" + { pedantic = yyvsp[-1].itype; ;} + break; + + case 401: +#line 1869 "parse.y" + { yyval.ttype = make_call_declarator (NULL_TREE, empty_parms (), + NULL_TREE, NULL_TREE); ;} + break; + + case 402: +#line 1872 "parse.y" + { yyval.ttype = make_call_declarator (yyval.ttype, empty_parms (), NULL_TREE, + NULL_TREE); ;} + break; + + case 403: +#line 1879 "parse.y" + { yyval.ftype.t = build_tree_list (yyvsp[-1].ftype.t, yyvsp[0].ttype); + yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ;} + break; + + case 404: +#line 1882 "parse.y" + { yyval.ftype.t = build_tree_list (yyvsp[-1].ftype.t, yyvsp[0].ttype); + yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ;} + break; + + case 405: +#line 1885 "parse.y" + { yyval.ftype.t = build_tree_list (build_tree_list (NULL_TREE, yyvsp[-1].ftype.t), + yyvsp[0].ttype); + yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ;} + break; + + case 406: +#line 1889 "parse.y" + { yyval.ftype.t = build_tree_list (yyvsp[0].ftype.t, NULL_TREE); + yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; ;} + break; + + case 407: +#line 1892 "parse.y" + { yyval.ftype.t = build_tree_list (yyvsp[0].ftype.t, NULL_TREE); + yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; ;} + break; + + case 408: +#line 1903 "parse.y" + { yyval.ftype.lookups = type_lookups; ;} + break; + + case 409: +#line 1905 "parse.y" + { yyval.ftype.lookups = type_lookups; ;} + break; + + case 410: +#line 1910 "parse.y" + { yyval.ftype.t = tree_cons (NULL_TREE, yyvsp[0].ftype.t, yyvsp[-1].ftype.t); + yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; ;} + break; + + case 411: +#line 1913 "parse.y" + { yyval.ftype.t = tree_cons (NULL_TREE, yyvsp[-1].ftype.t, yyvsp[0].ttype); + yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ;} + break; + + case 412: +#line 1916 "parse.y" + { yyval.ftype.t = tree_cons (NULL_TREE, yyvsp[-2].ftype.t, chainon (yyvsp[-1].ttype, yyvsp[0].ttype)); + yyval.ftype.new_type_flag = yyvsp[-2].ftype.new_type_flag; ;} + break; + + case 413: +#line 1919 "parse.y" + { yyval.ftype.t = tree_cons (NULL_TREE, yyvsp[-1].ftype.t, chainon (yyvsp[0].ttype, yyvsp[-2].ftype.t)); + yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ;} + break; + + case 414: +#line 1922 "parse.y" + { yyval.ftype.t = tree_cons (NULL_TREE, yyvsp[-1].ftype.t, chainon (yyvsp[0].ttype, yyvsp[-2].ftype.t)); + yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ;} + break; + + case 415: +#line 1925 "parse.y" + { yyval.ftype.t = tree_cons (NULL_TREE, yyvsp[-2].ftype.t, + chainon (yyvsp[-1].ttype, chainon (yyvsp[0].ttype, yyvsp[-3].ftype.t))); + yyval.ftype.new_type_flag = yyvsp[-2].ftype.new_type_flag; ;} + break; + + case 416: +#line 1932 "parse.y" + { if (extra_warnings) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER (yyval.ttype)); + yyval.ttype = build_tree_list (NULL_TREE, yyval.ttype); ;} + break; + + case 417: +#line 1937 "parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ftype.t, yyval.ttype); ;} + break; + + case 418: +#line 1939 "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, yyval.ttype); ;} + break; + + case 419: +#line 1961 "parse.y" + { yyval.ftype.lookups = NULL_TREE; TREE_STATIC (yyval.ftype.t) = 1; ;} + break; + + case 420: +#line 1963 "parse.y" + { + yyval.ftype.t = hash_tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); + yyval.ftype.new_type_flag = 0; yyval.ftype.lookups = NULL_TREE; + ;} + break; + + case 421: +#line 1968 "parse.y" + { + yyval.ftype.t = hash_tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ftype.t); + TREE_STATIC (yyval.ftype.t) = 1; + ;} + break; + + case 422: +#line 1973 "parse.y" + { + if (extra_warnings && TREE_STATIC (yyval.ftype.t)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER (yyvsp[0].ttype)); + yyval.ftype.t = hash_tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ftype.t); + TREE_STATIC (yyval.ftype.t) = TREE_STATIC (yyvsp[-1].ftype.t); + ;} + break; + + case 423: +#line 1981 "parse.y" + { yyval.ftype.t = hash_tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ftype.t); ;} + break; + + case 424: +#line 1992 "parse.y" + { yyval.ftype.t = build_tree_list (NULL_TREE, yyvsp[0].ftype.t); + yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; ;} + break; + + case 425: +#line 1995 "parse.y" + { yyval.ftype.t = tree_cons (NULL_TREE, yyvsp[0].ftype.t, yyvsp[-1].ftype.t); + yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; ;} + break; + + case 426: +#line 1998 "parse.y" + { yyval.ftype.t = tree_cons (NULL_TREE, yyvsp[-1].ftype.t, yyvsp[0].ttype); + yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ;} + break; + + case 427: +#line 2001 "parse.y" + { yyval.ftype.t = tree_cons (NULL_TREE, yyvsp[-1].ftype.t, chainon (yyvsp[0].ttype, yyvsp[-2].ftype.t)); + yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ;} + break; + + case 428: +#line 2007 "parse.y" + { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ftype.t); ;} + break; + + case 429: +#line 2009 "parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ftype.t, yyvsp[-1].ttype); ;} + break; + + case 430: +#line 2011 "parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); ;} + break; + + case 431: +#line 2013 "parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, NULL_TREE); ;} + break; + + case 432: +#line 2017 "parse.y" + { skip_evaluation++; ;} + break; + + case 433: +#line 2021 "parse.y" + { skip_evaluation++; ;} + break; + + case 434: +#line 2025 "parse.y" + { skip_evaluation++; ;} + break; + + case 435: +#line 2034 "parse.y" + { yyval.ftype.lookups = NULL_TREE; ;} + break; + + case 436: +#line 2036 "parse.y" + { yyval.ftype.t = yyvsp[0].ttype; yyval.ftype.new_type_flag = 0; yyval.ftype.lookups = NULL_TREE; ;} + break; + + case 437: +#line 2038 "parse.y" + { yyval.ftype.t = yyvsp[0].ttype; yyval.ftype.new_type_flag = 0; yyval.ftype.lookups = NULL_TREE; ;} + break; + + case 438: +#line 2040 "parse.y" + { yyval.ftype.t = finish_typeof (yyvsp[-1].ttype); + yyval.ftype.new_type_flag = 0; yyval.ftype.lookups = NULL_TREE; + skip_evaluation--; ;} + break; + + case 439: +#line 2044 "parse.y" + { yyval.ftype.t = groktypename (yyvsp[-1].ftype.t); + yyval.ftype.new_type_flag = 0; yyval.ftype.lookups = NULL_TREE; + skip_evaluation--; ;} + break; + + case 440: +#line 2048 "parse.y" + { tree type = TREE_TYPE (yyvsp[-1].ttype); + + yyval.ftype.new_type_flag = 0; yyval.ftype.lookups = NULL_TREE; + if (IS_AGGR_TYPE (type)) + { + sorry ("sigof type specifier"); + yyval.ftype.t = type; + } + else + { + error ("`sigof' applied to non-aggregate expression"); + yyval.ftype.t = error_mark_node; + } + ;} + break; + + case 441: +#line 2063 "parse.y" + { tree type = groktypename (yyvsp[-1].ftype.t); + + yyval.ftype.new_type_flag = 0; yyval.ftype.lookups = NULL_TREE; + if (IS_AGGR_TYPE (type)) + { + sorry ("sigof type specifier"); + yyval.ftype.t = type; + } + else + { + error("`sigof' applied to non-aggregate type"); + yyval.ftype.t = error_mark_node; + } + ;} + break; + + case 442: +#line 2083 "parse.y" + { yyval.ftype.t = yyvsp[0].ttype; yyval.ftype.new_type_flag = 0; ;} + break; + + case 443: +#line 2085 "parse.y" + { yyval.ftype.t = yyvsp[0].ttype; yyval.ftype.new_type_flag = 0; ;} + break; + + case 446: +#line 2092 "parse.y" + { check_multiple_declarators (); ;} + break; + + case 448: +#line 2098 "parse.y" + { check_multiple_declarators (); ;} + break; + + case 450: +#line 2104 "parse.y" + { check_multiple_declarators (); ;} + break; + + case 451: +#line 2109 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 452: +#line 2111 "parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 453: +#line 2116 "parse.y" + { yyval.ttype = parse_decl (yyvsp[-3].ttype, yyvsp[-1].ttype, 1); ;} + break; + + case 454: +#line 2119 "parse.y" + { parse_end_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;} + break; + + case 455: +#line 2121 "parse.y" + { + yyval.ttype = parse_decl (yyvsp[-2].ttype, yyvsp[0].ttype, 0); + parse_end_decl (yyval.ttype, NULL_TREE, yyvsp[-1].ttype); + ;} + break; + + case 456: +#line 2135 "parse.y" + { yyval.ttype = parse_decl0 (yyvsp[-3].ttype, yyvsp[-4].ftype.t, + yyvsp[-4].ftype.lookups, yyvsp[-1].ttype, 1); ;} + break; + + case 457: +#line 2140 "parse.y" + { parse_end_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;} + break; + + case 458: +#line 2142 "parse.y" + { tree d = parse_decl0 (yyvsp[-2].ttype, yyvsp[-3].ftype.t, + yyvsp[-3].ftype.lookups, yyvsp[0].ttype, 0); + parse_end_decl (d, NULL_TREE, yyvsp[-1].ttype); ;} + break; + + case 459: +#line 2149 "parse.y" + {;} + break; + + case 460: +#line 2154 "parse.y" + {;} + break; + + case 461: +#line 2159 "parse.y" + { /* Set things up as initdcl0_innards expects. */ + yyval.ttype = yyvsp[0].ttype; + yyvsp[0].ttype = yyvsp[-1].ttype; + yyvsp[-1].ftype.t = NULL_TREE; + yyvsp[-1].ftype.lookups = NULL_TREE; ;} + break; + + case 462: +#line 2165 "parse.y" + {;} + break; + + case 463: +#line 2167 "parse.y" + { tree d = parse_decl0 (yyvsp[-2].ttype, NULL_TREE, NULL_TREE, yyvsp[0].ttype, 0); + parse_end_decl (d, NULL_TREE, yyvsp[-1].ttype); ;} + break; + + case 464: +#line 2175 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 465: +#line 2177 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 466: +#line 2182 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 467: +#line 2184 "parse.y" + { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 468: +#line 2189 "parse.y" + { yyval.ttype = yyvsp[-2].ttype; ;} + break; + + case 469: +#line 2194 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 470: +#line 2196 "parse.y" + { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 471: +#line 2201 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 472: +#line 2203 "parse.y" + { yyval.ttype = build_tree_list (yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 473: +#line 2205 "parse.y" + { yyval.ttype = build_tree_list (yyvsp[-3].ttype, build_tree_list (NULL_TREE, yyvsp[-1].ttype)); ;} + break; + + case 474: +#line 2207 "parse.y" + { yyval.ttype = build_tree_list (yyvsp[-5].ttype, tree_cons (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype)); ;} + break; + + case 475: +#line 2209 "parse.y" + { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;} + break; + + case 480: +#line 2225 "parse.y" + { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 481: +#line 2227 "parse.y" + { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;} + break; + + case 482: +#line 2232 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 483: +#line 2234 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 485: +#line 2243 "parse.y" + { yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, NULL_TREE); + TREE_HAS_CONSTRUCTOR (yyval.ttype) = 1; ;} + break; + + case 486: +#line 2246 "parse.y" + { yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-1].ttype)); + TREE_HAS_CONSTRUCTOR (yyval.ttype) = 1; ;} + break; + + case 487: +#line 2249 "parse.y" + { yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-2].ttype)); + TREE_HAS_CONSTRUCTOR (yyval.ttype) = 1; ;} + break; + + case 488: +#line 2252 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 489: +#line 2259 "parse.y" + { yyval.ttype = build_tree_list (NULL_TREE, yyval.ttype); ;} + break; + + case 490: +#line 2261 "parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyval.ttype); ;} + break; + + case 491: +#line 2264 "parse.y" + { yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 492: +#line 2266 "parse.y" + { yyval.ttype = build_tree_list (yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 493: +#line 2268 "parse.y" + { yyval.ttype = tree_cons (yyvsp[-2].ttype, yyvsp[0].ttype, yyval.ttype); ;} + break; + + case 494: +#line 2273 "parse.y" + { + expand_body (finish_function (2)); + process_next_inline (yyvsp[-2].pi); + ;} + break; + + case 495: +#line 2278 "parse.y" + { + expand_body (finish_function (2)); + process_next_inline (yyvsp[-2].pi); + ;} + break; + + case 496: +#line 2283 "parse.y" + { + finish_function (2); + process_next_inline (yyvsp[-2].pi); ;} + break; + + case 499: +#line 2297 "parse.y" + { replace_defarg (yyvsp[-2].ttype, yyvsp[-1].ttype); ;} + break; + + case 500: +#line 2299 "parse.y" + { replace_defarg (yyvsp[-2].ttype, error_mark_node); ;} + break; + + case 502: +#line 2305 "parse.y" + { do_pending_defargs (); ;} + break; + + case 503: +#line 2307 "parse.y" + { do_pending_defargs (); ;} + break; + + case 504: +#line 2312 "parse.y" + { yyval.ttype = current_enum_type; + current_enum_type = start_enum (yyvsp[-1].ttype); ;} + break; + + case 505: +#line 2315 "parse.y" + { yyval.ftype.t = current_enum_type; + finish_enum (current_enum_type); + yyval.ftype.new_type_flag = 1; + current_enum_type = yyvsp[-2].ttype; + check_for_missing_semicolon (yyval.ftype.t); ;} + break; + + case 506: +#line 2321 "parse.y" + { yyval.ttype = current_enum_type; + current_enum_type = start_enum (make_anon_name ()); ;} + break; + + case 507: +#line 2324 "parse.y" + { yyval.ftype.t = current_enum_type; + finish_enum (current_enum_type); + yyval.ftype.new_type_flag = 1; + current_enum_type = yyvsp[-2].ttype; + check_for_missing_semicolon (yyval.ftype.t); ;} + break; + + case 508: +#line 2330 "parse.y" + { yyval.ftype.t = parse_xref_tag (enum_type_node, yyvsp[0].ttype, 1); + yyval.ftype.new_type_flag = 0; ;} + break; + + case 509: +#line 2333 "parse.y" + { yyval.ftype.t = parse_xref_tag (enum_type_node, yyvsp[0].ttype, 1); + yyval.ftype.new_type_flag = 0; ;} + break; + + case 510: +#line 2336 "parse.y" + { yyval.ftype.t = yyvsp[0].ttype; + yyval.ftype.new_type_flag = 0; + if (!processing_template_decl) + pedwarn ("using `typename' outside of template"); ;} + break; + + case 511: +#line 2342 "parse.y" + { + if (yyvsp[-1].ttype && yyvsp[-2].ftype.t != error_mark_node) + { + tree type = TREE_TYPE (yyvsp[-2].ftype.t); + + if (TREE_CODE (type) == TYPENAME_TYPE) + { + if (IMPLICIT_TYPENAME_P (type)) + /* In a definition of a member class template, + we will get here with an implicit typename, + a TYPENAME_TYPE with a type. */ + type = TREE_TYPE (type); + else + { + error ("qualified name does not name a class"); + type = error_mark_node; + } + } + maybe_process_partial_specialization (type); + xref_basetypes (type, yyvsp[-1].ttype); + } + yyvsp[-2].ftype.t = begin_class_definition (TREE_TYPE (yyvsp[-2].ftype.t)); + check_class_key (current_aggr, yyvsp[-2].ftype.t); + current_aggr = NULL_TREE; ;} + break; + + case 512: +#line 2367 "parse.y" + { + int semi; + tree t; + + if (yychar == YYEMPTY) + yychar = YYLEX; + semi = yychar == ';'; + + t = finish_class_definition (yyvsp[-6].ftype.t, yyvsp[0].ttype, semi, yyvsp[-6].ftype.new_type_flag); + yyval.ttype = t; + + /* restore current_aggr */ + current_aggr = TREE_CODE (t) != RECORD_TYPE + ? union_type_node + : CLASSTYPE_DECLARED_CLASS (t) + ? class_type_node : record_type_node; + ;} + break; + + case 513: +#line 2385 "parse.y" + { + done_pending_defargs (); + begin_inline_definitions (); + ;} + break; + + case 514: +#line 2390 "parse.y" + { + yyval.ftype.t = yyvsp[-3].ttype; + yyval.ftype.new_type_flag = 1; + ;} + break; + + case 515: +#line 2395 "parse.y" + { + yyval.ftype.t = TREE_TYPE (yyvsp[0].ftype.t); + yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; + check_class_key (current_aggr, yyval.ftype.t); + ;} + break; + + case 519: +#line 2410 "parse.y" + { if (pedantic && !in_system_header) + pedwarn ("comma at end of enumerator list"); ;} + break; + + case 521: +#line 2417 "parse.y" + { error ("storage class specifier `%s' not allowed after struct or class", IDENTIFIER_POINTER (yyvsp[0].ttype)); ;} + break; + + case 522: +#line 2419 "parse.y" + { error ("type specifier `%s' not allowed after struct or class", IDENTIFIER_POINTER (yyvsp[0].ttype)); ;} + break; + + case 523: +#line 2421 "parse.y" + { error ("type qualifier `%s' not allowed after struct or class", IDENTIFIER_POINTER (yyvsp[0].ttype)); ;} + break; + + case 524: +#line 2423 "parse.y" + { error ("no body nor ';' separates two class, struct or union declarations"); ;} + break; + + case 525: +#line 2425 "parse.y" + { yyval.ttype = build_tree_list (yyvsp[0].ttype, yyvsp[-1].ttype); ;} + break; + + case 526: +#line 2430 "parse.y" + { + current_aggr = yyvsp[-1].ttype; + yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); + ;} + break; + + case 527: +#line 2435 "parse.y" + { + current_aggr = yyvsp[-2].ttype; + yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); + ;} + break; + + case 528: +#line 2440 "parse.y" + { + current_aggr = yyvsp[-3].ttype; + yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); + ;} + break; + + case 529: +#line 2445 "parse.y" + { + current_aggr = yyvsp[-2].ttype; + yyval.ttype = build_tree_list (global_namespace, yyvsp[0].ttype); + ;} + break; + + case 530: +#line 2453 "parse.y" + { + current_aggr = yyvsp[-1].ttype; + yyval.ttype = yyvsp[0].ttype; + ;} + break; + + case 531: +#line 2458 "parse.y" + { + current_aggr = yyvsp[-2].ttype; + yyval.ttype = yyvsp[0].ttype; + ;} + break; + + case 532: +#line 2463 "parse.y" + { + current_aggr = yyvsp[-3].ttype; + yyval.ttype = yyvsp[0].ttype; + ;} + break; + + case 533: +#line 2471 "parse.y" + { + yyval.ftype.t = parse_handle_class_head (current_aggr, + TREE_PURPOSE (yyvsp[0].ttype), + TREE_VALUE (yyvsp[0].ttype), + 0, &yyval.ftype.new_type_flag); + ;} + break; + + case 534: +#line 2478 "parse.y" + { + current_aggr = yyvsp[-1].ttype; + yyval.ftype.t = TYPE_MAIN_DECL (parse_xref_tag (current_aggr, yyvsp[0].ttype, 0)); + yyval.ftype.new_type_flag = 1; + ;} + break; + + case 535: +#line 2484 "parse.y" + { + yyval.ftype.t = yyvsp[0].ttype; + yyval.ftype.new_type_flag = 0; + ;} + break; + + case 536: +#line 2492 "parse.y" + { + yyungetc ('{', 1); + yyval.ftype.t = parse_handle_class_head (current_aggr, + TREE_PURPOSE (yyvsp[-1].ttype), + TREE_VALUE (yyvsp[-1].ttype), + 1, + &yyval.ftype.new_type_flag); + ;} + break; + + case 537: +#line 2501 "parse.y" + { + yyungetc (':', 1); + yyval.ftype.t = parse_handle_class_head (current_aggr, + TREE_PURPOSE (yyvsp[-1].ttype), + TREE_VALUE (yyvsp[-1].ttype), + 1, &yyval.ftype.new_type_flag); + ;} + break; + + case 538: +#line 2509 "parse.y" + { + yyungetc ('{', 1); + yyval.ftype.t = handle_class_head_apparent_template + (yyvsp[-1].ttype, &yyval.ftype.new_type_flag); + ;} + break; + + case 539: +#line 2515 "parse.y" + { + yyungetc (':', 1); + yyval.ftype.t = handle_class_head_apparent_template + (yyvsp[-1].ttype, &yyval.ftype.new_type_flag); + ;} + break; + + case 540: +#line 2521 "parse.y" + { + yyungetc ('{', 1); + current_aggr = yyvsp[-2].ttype; + yyval.ftype.t = parse_handle_class_head (current_aggr, + NULL_TREE, yyvsp[-1].ttype, + 1, &yyval.ftype.new_type_flag); + ;} + break; + + case 541: +#line 2529 "parse.y" + { + yyungetc (':', 1); + current_aggr = yyvsp[-2].ttype; + yyval.ftype.t = parse_handle_class_head (current_aggr, + NULL_TREE, yyvsp[-1].ttype, + 1, &yyval.ftype.new_type_flag); + ;} + break; + + case 542: +#line 2537 "parse.y" + { + current_aggr = yyvsp[-1].ttype; + yyval.ftype.t = TYPE_MAIN_DECL (parse_xref_tag (yyvsp[-1].ttype, + make_anon_name (), + 0)); + yyval.ftype.new_type_flag = 0; + CLASSTYPE_DECLARED_CLASS (TREE_TYPE (yyval.ftype.t)) + = yyvsp[-1].ttype == class_type_node; + yyungetc ('{', 1); + ;} + break; + + case 543: +#line 2551 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 544: +#line 2553 "parse.y" + { error ("no bases given following `:'"); + yyval.ttype = NULL_TREE; ;} + break; + + case 545: +#line 2556 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 547: +#line 2562 "parse.y" + { yyval.ttype = chainon (yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 548: +#line 2567 "parse.y" + { yyval.ttype = finish_base_specifier (access_default_node, yyvsp[0].ttype); ;} + break; + + case 549: +#line 2569 "parse.y" + { yyval.ttype = finish_base_specifier (yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 550: +#line 2574 "parse.y" + { if (!TYPE_P (yyval.ttype)) + yyval.ttype = error_mark_node; ;} + break; + + case 551: +#line 2577 "parse.y" + { yyval.ttype = TREE_TYPE (yyval.ttype); ;} + break; + + case 553: +#line 2583 "parse.y" + { if (yyvsp[-1].ttype != ridpointers[(int)RID_VIRTUAL]) + error ("`%D' access", yyvsp[-1].ttype); + yyval.ttype = access_default_virtual_node; ;} + break; + + case 554: +#line 2587 "parse.y" + { + if (yyvsp[-2].ttype != access_default_virtual_node) + error ("multiple access specifiers"); + else if (yyvsp[-1].ttype == access_public_node) + yyval.ttype = access_public_virtual_node; + else if (yyvsp[-1].ttype == access_protected_node) + yyval.ttype = access_protected_virtual_node; + else /* $2 == access_private_node */ + yyval.ttype = access_private_virtual_node; + ;} + break; + + case 555: +#line 2598 "parse.y" + { if (yyvsp[-1].ttype != ridpointers[(int)RID_VIRTUAL]) + error ("`%D' access", yyvsp[-1].ttype); + else if (yyval.ttype == access_public_node) + yyval.ttype = access_public_virtual_node; + else if (yyval.ttype == access_protected_node) + yyval.ttype = access_protected_virtual_node; + else if (yyval.ttype == access_private_node) + yyval.ttype = access_private_virtual_node; + else + error ("multiple `virtual' specifiers"); + ;} + break; + + case 560: +#line 2619 "parse.y" + { + current_access_specifier = yyvsp[-1].ttype; + ;} + break; + + case 561: +#line 2628 "parse.y" + { + finish_member_declaration (yyvsp[0].ttype); + current_aggr = NULL_TREE; + reset_type_access_control (); + ;} + break; + + case 562: +#line 2634 "parse.y" + { + finish_member_declaration (yyvsp[0].ttype); + current_aggr = NULL_TREE; + reset_type_access_control (); + ;} + break; + + case 564: +#line 2644 "parse.y" + { error ("missing ';' before right brace"); + yyungetc ('}', 0); ;} + break; + + case 565: +#line 2649 "parse.y" + { yyval.ttype = finish_method (yyval.ttype); ;} + break; + + case 566: +#line 2651 "parse.y" + { yyval.ttype = finish_method (yyval.ttype); ;} + break; + + case 567: +#line 2653 "parse.y" + { yyval.ttype = finish_method (yyval.ttype); ;} + break; + + case 568: +#line 2655 "parse.y" + { yyval.ttype = finish_method (yyval.ttype); ;} + break; + + case 569: +#line 2657 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 570: +#line 2659 "parse.y" + { yyval.ttype = yyvsp[0].ttype; + pedantic = yyvsp[-1].itype; ;} + break; + + case 571: +#line 2662 "parse.y" + { + if (yyvsp[0].ttype) + yyval.ttype = finish_member_template_decl (yyvsp[0].ttype); + else + /* The component was already processed. */ + yyval.ttype = NULL_TREE; + + finish_template_decl (yyvsp[-1].ttype); + ;} + break; + + case 572: +#line 2672 "parse.y" + { + yyval.ttype = finish_member_class_template (yyvsp[-1].ftype.t); + finish_template_decl (yyvsp[-2].ttype); + ;} + break; + + case 573: +#line 2677 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 574: +#line 2685 "parse.y" + { + /* Most of the productions for component_decl only + allow the creation of one new member, so we call + finish_member_declaration in component_decl_list. + For this rule and the next, however, there can be + more than one member, e.g.: + + int i, j; + + and we need the first member to be fully + registered before the second is processed. + Therefore, the rules for components take care of + this processing. To avoid registering the + components more than once, we send NULL_TREE up + here; that lets finish_member_declaration know + that there is nothing to do. */ + if (!yyvsp[0].itype) + grok_x_components (yyvsp[-1].ftype.t); + yyval.ttype = NULL_TREE; + ;} + break; + + case 575: +#line 2706 "parse.y" + { + if (!yyvsp[0].itype) + grok_x_components (yyvsp[-1].ftype.t); + yyval.ttype = NULL_TREE; + ;} + break; + + case 576: +#line 2712 "parse.y" + { yyval.ttype = grokfield (yyval.ttype, NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype, yyvsp[-1].ttype); ;} + break; + + case 577: +#line 2714 "parse.y" + { yyval.ttype = grokfield (yyval.ttype, NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype, yyvsp[-1].ttype); ;} + break; + + case 578: +#line 2716 "parse.y" + { yyval.ttype = grokbitfield (NULL_TREE, NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 579: +#line 2718 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 580: +#line 2729 "parse.y" + { tree specs, attrs; + split_specs_attrs (yyvsp[-4].ftype.t, &specs, &attrs); + yyval.ttype = grokfield (yyvsp[-3].ttype, specs, yyvsp[0].ttype, yyvsp[-2].ttype, + chainon (yyvsp[-1].ttype, attrs)); ;} + break; + + case 581: +#line 2734 "parse.y" + { yyval.ttype = grokfield (yyval.ttype, NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype, yyvsp[-1].ttype); ;} + break; + + case 582: +#line 2736 "parse.y" + { yyval.ttype = do_class_using_decl (yyvsp[0].ttype); ;} + break; + + case 583: +#line 2743 "parse.y" + { yyval.itype = 0; ;} + break; + + case 584: +#line 2745 "parse.y" + { + if (PROCESSING_REAL_TEMPLATE_DECL_P ()) + yyvsp[0].ttype = finish_member_template_decl (yyvsp[0].ttype); + finish_member_declaration (yyvsp[0].ttype); + yyval.itype = 1; + ;} + break; + + case 585: +#line 2752 "parse.y" + { + check_multiple_declarators (); + if (PROCESSING_REAL_TEMPLATE_DECL_P ()) + yyvsp[0].ttype = finish_member_template_decl (yyvsp[0].ttype); + finish_member_declaration (yyvsp[0].ttype); + yyval.itype = 2; + ;} + break; + + case 586: +#line 2763 "parse.y" + { yyval.itype = 0; ;} + break; + + case 587: +#line 2765 "parse.y" + { + if (PROCESSING_REAL_TEMPLATE_DECL_P ()) + yyvsp[0].ttype = finish_member_template_decl (yyvsp[0].ttype); + finish_member_declaration (yyvsp[0].ttype); + yyval.itype = 1; + ;} + break; + + case 588: +#line 2772 "parse.y" + { + check_multiple_declarators (); + if (PROCESSING_REAL_TEMPLATE_DECL_P ()) + yyvsp[0].ttype = finish_member_template_decl (yyvsp[0].ttype); + finish_member_declaration (yyvsp[0].ttype); + yyval.itype = 2; + ;} + break; + + case 593: +#line 2793 "parse.y" + { yyval.ttype = parse_field0 (yyvsp[-3].ttype, yyvsp[-4].ftype.t, yyvsp[-4].ftype.lookups, + yyvsp[-1].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 594: +#line 2796 "parse.y" + { yyval.ttype = parse_bitfield0 (yyvsp[-3].ttype, yyvsp[-4].ftype.t, yyvsp[-4].ftype.lookups, + yyvsp[0].ttype, yyvsp[-1].ttype); ;} + break; + + case 595: +#line 2802 "parse.y" + { yyval.ttype = parse_field0 (yyvsp[-3].ttype, yyvsp[-4].ftype.t, yyvsp[-4].ftype.lookups, + yyvsp[-1].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 596: +#line 2805 "parse.y" + { yyval.ttype = parse_field0 (yyvsp[-3].ttype, yyvsp[-4].ftype.t, yyvsp[-4].ftype.lookups, + yyvsp[-1].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 597: +#line 2808 "parse.y" + { yyval.ttype = parse_bitfield0 (yyvsp[-3].ttype, yyvsp[-4].ftype.t, yyvsp[-4].ftype.lookups, + yyvsp[0].ttype, yyvsp[-1].ttype); ;} + break; + + case 598: +#line 2811 "parse.y" + { yyval.ttype = parse_bitfield0 (NULL_TREE, yyvsp[-3].ftype.t, + yyvsp[-3].ftype.lookups, yyvsp[0].ttype, yyvsp[-1].ttype); ;} + break; + + case 599: +#line 2817 "parse.y" + { yyval.ttype = parse_field (yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 600: +#line 2819 "parse.y" + { yyval.ttype = parse_bitfield (yyvsp[-3].ttype, yyvsp[0].ttype, yyvsp[-1].ttype); ;} + break; + + case 601: +#line 2824 "parse.y" + { yyval.ttype = parse_field (yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 602: +#line 2826 "parse.y" + { yyval.ttype = parse_bitfield (yyvsp[-3].ttype, yyvsp[0].ttype, yyvsp[-1].ttype); ;} + break; + + case 603: +#line 2828 "parse.y" + { yyval.ttype = parse_bitfield (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ;} + break; + + case 608: +#line 2847 "parse.y" + { build_enumerator (yyvsp[0].ttype, NULL_TREE, current_enum_type); ;} + break; + + case 609: +#line 2849 "parse.y" + { build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype, current_enum_type); ;} + break; + + case 610: +#line 2855 "parse.y" + { yyval.ftype.t = build_tree_list (yyvsp[-1].ftype.t, yyvsp[0].ttype); + yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ;} + break; + + case 611: +#line 2858 "parse.y" + { yyval.ftype.t = build_tree_list (yyvsp[0].ftype.t, NULL_TREE); + yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; ;} + break; + + case 612: +#line 2863 "parse.y" + { + if (pedantic) + pedwarn ("ISO C++ forbids array dimensions with parenthesized type in new"); + yyval.ftype.t = build_nt (ARRAY_REF, TREE_VALUE (yyvsp[-4].ftype.t), yyvsp[-1].ttype); + yyval.ftype.t = build_tree_list (TREE_PURPOSE (yyvsp[-4].ftype.t), yyval.ftype.t); + yyval.ftype.new_type_flag = yyvsp[-4].ftype.new_type_flag; + ;} + break; + + case 613: +#line 2874 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 614: +#line 2876 "parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyval.ttype); ;} + break; + + case 615: +#line 2881 "parse.y" + { yyval.ftype.t = hash_tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); + yyval.ftype.new_type_flag = 0; ;} + break; + + case 616: +#line 2884 "parse.y" + { yyval.ftype.t = hash_tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ftype.t); + yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ;} + break; + + case 617: +#line 2887 "parse.y" + { yyval.ftype.t = hash_tree_cons (yyvsp[0].ttype, NULL_TREE, NULL_TREE); + yyval.ftype.new_type_flag = 0; ;} + break; + + case 618: +#line 2890 "parse.y" + { yyval.ftype.t = hash_tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ftype.t); + yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ;} + break; + + case 619: +#line 2900 "parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 620: +#line 2902 "parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 621: +#line 2904 "parse.y" + { yyval.ttype = empty_parms (); ;} + break; + + case 622: +#line 2906 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 624: +#line 2914 "parse.y" + { + /* Provide support for '(' attributes '*' declarator ')' + etc */ + yyval.ttype = tree_cons (yyvsp[-1].ttype, yyvsp[0].ttype, NULL_TREE); + ;} + break; + + case 625: +#line 2924 "parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ftype.t, yyvsp[0].ttype); ;} + break; + + case 626: +#line 2926 "parse.y" + { yyval.ttype = make_reference_declarator (yyvsp[-1].ftype.t, yyvsp[0].ttype); ;} + break; + + case 627: +#line 2928 "parse.y" + { yyval.ttype = make_pointer_declarator (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 628: +#line 2930 "parse.y" + { yyval.ttype = make_reference_declarator (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 629: +#line 2932 "parse.y" + { tree arg = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); + yyval.ttype = build_nt (SCOPE_REF, yyvsp[-2].ttype, arg); + ;} + break; + + case 631: +#line 2940 "parse.y" + { yyval.ttype = make_call_declarator (yyval.ttype, yyvsp[-2].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 632: +#line 2942 "parse.y" + { yyval.ttype = build_nt (ARRAY_REF, yyval.ttype, yyvsp[-1].ttype); ;} + break; + + case 633: +#line 2944 "parse.y" + { yyval.ttype = build_nt (ARRAY_REF, yyval.ttype, NULL_TREE); ;} + break; + + case 634: +#line 2946 "parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 635: +#line 2948 "parse.y" + { push_nested_class (yyvsp[-1].ttype, 3); + yyval.ttype = build_nt (SCOPE_REF, yyval.ttype, yyvsp[0].ttype); + TREE_COMPLEXITY (yyval.ttype) = current_class_depth; ;} + break; + + case 637: +#line 2956 "parse.y" + { + if (TREE_CODE (yyvsp[0].ttype) == IDENTIFIER_NODE) + { + yyval.ttype = lookup_name (yyvsp[0].ttype, 1); + maybe_note_name_used_in_class (yyvsp[0].ttype, yyval.ttype); + } + else + yyval.ttype = yyvsp[0].ttype; + ;} + break; + + case 638: +#line 2966 "parse.y" + { + if (TREE_CODE (yyvsp[0].ttype) == IDENTIFIER_NODE) + yyval.ttype = IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype); + else + yyval.ttype = yyvsp[0].ttype; + got_scope = NULL_TREE; + ;} + break; + + case 641: +#line 2979 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 642: +#line 2984 "parse.y" + { yyval.ttype = get_type_decl (yyvsp[0].ttype); ;} + break; + + case 644: +#line 2993 "parse.y" + { + /* Provide support for '(' attributes '*' declarator ')' + etc */ + yyval.ttype = tree_cons (yyvsp[-1].ttype, yyvsp[0].ttype, NULL_TREE); + ;} + break; + + case 645: +#line 3002 "parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ftype.t, yyvsp[0].ttype); ;} + break; + + case 646: +#line 3004 "parse.y" + { yyval.ttype = make_reference_declarator (yyvsp[-1].ftype.t, yyvsp[0].ttype); ;} + break; + + case 647: +#line 3006 "parse.y" + { yyval.ttype = make_pointer_declarator (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 648: +#line 3008 "parse.y" + { yyval.ttype = make_reference_declarator (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 649: +#line 3010 "parse.y" + { tree arg = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); + yyval.ttype = build_nt (SCOPE_REF, yyvsp[-2].ttype, arg); + ;} + break; + + case 651: +#line 3018 "parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ftype.t, yyvsp[0].ttype); ;} + break; + + case 652: +#line 3020 "parse.y" + { yyval.ttype = make_reference_declarator (yyvsp[-1].ftype.t, yyvsp[0].ttype); ;} + break; + + case 653: +#line 3022 "parse.y" + { yyval.ttype = make_pointer_declarator (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 654: +#line 3024 "parse.y" + { yyval.ttype = make_reference_declarator (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 655: +#line 3026 "parse.y" + { tree arg = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); + yyval.ttype = build_nt (SCOPE_REF, yyvsp[-2].ttype, arg); + ;} + break; + + case 657: +#line 3034 "parse.y" + { yyval.ttype = make_call_declarator (yyval.ttype, yyvsp[-2].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 658: +#line 3036 "parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 659: +#line 3038 "parse.y" + { yyval.ttype = build_nt (ARRAY_REF, yyval.ttype, yyvsp[-1].ttype); ;} + break; + + case 660: +#line 3040 "parse.y" + { yyval.ttype = build_nt (ARRAY_REF, yyval.ttype, NULL_TREE); ;} + break; + + case 661: +#line 3042 "parse.y" + { enter_scope_of (yyvsp[0].ttype); ;} + break; + + case 662: +#line 3044 "parse.y" + { enter_scope_of (yyvsp[0].ttype); yyval.ttype = yyvsp[0].ttype;;} + break; + + case 663: +#line 3046 "parse.y" + { yyval.ttype = build_nt (SCOPE_REF, global_namespace, yyvsp[0].ttype); + enter_scope_of (yyval.ttype); + ;} + break; + + case 664: +#line 3050 "parse.y" + { got_scope = NULL_TREE; + yyval.ttype = build_nt (SCOPE_REF, yyvsp[-1].ttype, yyvsp[0].ttype); + enter_scope_of (yyval.ttype); + ;} + break; + + case 665: +#line 3058 "parse.y" + { got_scope = NULL_TREE; + yyval.ttype = build_nt (SCOPE_REF, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 666: +#line 3061 "parse.y" + { got_scope = NULL_TREE; + yyval.ttype = build_nt (SCOPE_REF, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 667: +#line 3067 "parse.y" + { got_scope = NULL_TREE; + yyval.ttype = build_nt (SCOPE_REF, yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 668: +#line 3070 "parse.y" + { got_scope = NULL_TREE; + yyval.ttype = build_nt (SCOPE_REF, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 670: +#line 3077 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 671: +#line 3082 "parse.y" + { yyval.ttype = build_functional_cast (yyvsp[-3].ftype.t, yyvsp[-1].ttype); ;} + break; + + case 672: +#line 3084 "parse.y" + { yyval.ttype = reparse_decl_as_expr (yyvsp[-3].ftype.t, yyvsp[-1].ttype); ;} + break; + + case 673: +#line 3086 "parse.y" + { yyval.ttype = reparse_absdcl_as_expr (yyvsp[-1].ftype.t, yyvsp[0].ttype); ;} + break; + + case 678: +#line 3098 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 679: +#line 3100 "parse.y" + { got_scope = yyval.ttype + = make_typename_type (yyvsp[-3].ttype, yyvsp[-1].ttype, tf_error | tf_parsing); ;} + break; + + case 680: +#line 3104 "parse.y" + { got_scope = yyval.ttype + = make_typename_type (yyvsp[-2].ttype, yyvsp[-1].ttype, tf_error | tf_parsing); ;} + break; + + case 681: +#line 3107 "parse.y" + { got_scope = yyval.ttype + = make_typename_type (yyvsp[-2].ttype, yyvsp[-1].ttype, tf_error | tf_parsing); ;} + break; + + case 682: +#line 3115 "parse.y" + { + if (TREE_CODE (yyvsp[-1].ttype) == IDENTIFIER_NODE) + { + yyval.ttype = lastiddecl; + maybe_note_name_used_in_class (yyvsp[-1].ttype, yyval.ttype); + } + got_scope = yyval.ttype = + complete_type (TYPE_MAIN_VARIANT (TREE_TYPE (yyval.ttype))); + ;} + break; + + case 683: +#line 3125 "parse.y" + { + if (TREE_CODE (yyvsp[-1].ttype) == IDENTIFIER_NODE) + yyval.ttype = lastiddecl; + got_scope = yyval.ttype = TREE_TYPE (yyval.ttype); + ;} + break; + + case 684: +#line 3131 "parse.y" + { + if (TREE_CODE (yyval.ttype) == IDENTIFIER_NODE) + yyval.ttype = lastiddecl; + got_scope = yyval.ttype; + ;} + break; + + case 685: +#line 3137 "parse.y" + { got_scope = yyval.ttype = complete_type (TREE_TYPE (yyvsp[-1].ttype)); ;} + break; + + case 687: +#line 3143 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 688: +#line 3148 "parse.y" + { + if (TYPE_P (yyvsp[-1].ttype)) + yyval.ttype = make_typename_type (yyvsp[-1].ttype, yyvsp[0].ttype, tf_error | tf_parsing); + else if (TREE_CODE (yyvsp[0].ttype) == IDENTIFIER_NODE) + error ("`%T' is not a class or namespace", yyvsp[0].ttype); + else + { + yyval.ttype = yyvsp[0].ttype; + if (TREE_CODE (yyval.ttype) == TYPE_DECL) + yyval.ttype = TREE_TYPE (yyval.ttype); + } + ;} + break; + + case 689: +#line 3161 "parse.y" + { yyval.ttype = TREE_TYPE (yyvsp[0].ttype); ;} + break; + + case 690: +#line 3163 "parse.y" + { yyval.ttype = make_typename_type (yyvsp[-1].ttype, yyvsp[0].ttype, tf_error | tf_parsing); ;} + break; + + case 691: +#line 3165 "parse.y" + { yyval.ttype = make_typename_type (yyvsp[-2].ttype, yyvsp[0].ttype, tf_error | tf_parsing); ;} + break; + + case 692: +#line 3170 "parse.y" + { + if (TREE_CODE (yyvsp[0].ttype) == IDENTIFIER_NODE) + error ("`%T' is not a class or namespace", yyvsp[0].ttype); + else if (TREE_CODE (yyvsp[0].ttype) == TYPE_DECL) + yyval.ttype = TREE_TYPE (yyvsp[0].ttype); + ;} + break; + + case 693: +#line 3177 "parse.y" + { + if (TYPE_P (yyvsp[-1].ttype)) + yyval.ttype = make_typename_type (yyvsp[-1].ttype, yyvsp[0].ttype, tf_error | tf_parsing); + else if (TREE_CODE (yyvsp[0].ttype) == IDENTIFIER_NODE) + error ("`%T' is not a class or namespace", yyvsp[0].ttype); + else + { + yyval.ttype = yyvsp[0].ttype; + if (TREE_CODE (yyval.ttype) == TYPE_DECL) + yyval.ttype = TREE_TYPE (yyval.ttype); + } + ;} + break; + + case 694: +#line 3190 "parse.y" + { got_scope = yyval.ttype + = make_typename_type (yyvsp[-2].ttype, yyvsp[-1].ttype, tf_error | tf_parsing); ;} + break; + + case 695: +#line 3193 "parse.y" + { got_scope = yyval.ttype + = make_typename_type (yyvsp[-3].ttype, yyvsp[-1].ttype, tf_error | tf_parsing); ;} + break; + + case 696: +#line 3201 "parse.y" + { + if (TREE_CODE (yyvsp[-1].ttype) != TYPE_DECL) + yyval.ttype = lastiddecl; + + /* Retrieve the type for the identifier, which might involve + some computation. */ + got_scope = complete_type (TREE_TYPE (yyval.ttype)); + + if (yyval.ttype == error_mark_node) + error ("`%T' is not a class or namespace", yyvsp[-1].ttype); + ;} + break; + + case 697: +#line 3213 "parse.y" + { + if (TREE_CODE (yyvsp[-1].ttype) != TYPE_DECL) + yyval.ttype = lastiddecl; + got_scope = complete_type (TREE_TYPE (yyval.ttype)); + ;} + break; + + case 698: +#line 3219 "parse.y" + { got_scope = yyval.ttype = complete_type (TREE_TYPE (yyval.ttype)); ;} + break; + + case 701: +#line 3223 "parse.y" + { + if (TREE_CODE (yyval.ttype) == IDENTIFIER_NODE) + yyval.ttype = lastiddecl; + got_scope = yyval.ttype; + ;} + break; + + case 702: +#line 3232 "parse.y" + { yyval.ttype = build_min_nt (TEMPLATE_ID_EXPR, yyvsp[-3].ttype, yyvsp[-1].ttype); ;} + break; + + case 703: +#line 3237 "parse.y" + { + if (TREE_CODE (yyvsp[0].ttype) == IDENTIFIER_NODE) + yyval.ttype = IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype); + else + yyval.ttype = yyvsp[0].ttype; + got_scope = NULL_TREE; + ;} + break; + + case 705: +#line 3246 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 706: +#line 3251 "parse.y" + { got_scope = NULL_TREE; ;} + break; + + case 707: +#line 3253 "parse.y" + { yyval.ttype = yyvsp[-1].ttype; got_scope = NULL_TREE; ;} + break; + + case 708: +#line 3260 "parse.y" + { got_scope = void_type_node; ;} + break; + + case 709: +#line 3266 "parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 710: +#line 3268 "parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 711: +#line 3270 "parse.y" + { yyval.ttype = make_reference_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 712: +#line 3272 "parse.y" + { yyval.ttype = make_reference_declarator (yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 713: +#line 3274 "parse.y" + { tree arg = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); + yyval.ttype = build_nt (SCOPE_REF, yyvsp[-1].ttype, arg); + ;} + break; + + case 714: +#line 3278 "parse.y" + { tree arg = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); + yyval.ttype = build_nt (SCOPE_REF, yyvsp[-2].ttype, arg); + ;} + break; + + case 716: +#line 3287 "parse.y" + { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ;} + break; + + case 717: +#line 3289 "parse.y" + { yyval.ttype = build_nt (ARRAY_REF, yyval.ttype, yyvsp[-1].ttype); ;} + break; + + case 719: +#line 3295 "parse.y" + { + /* Provide support for '(' attributes '*' declarator ')' + etc */ + yyval.ttype = tree_cons (yyvsp[-1].ttype, yyvsp[0].ttype, NULL_TREE); + ;} + break; + + case 720: +#line 3305 "parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ftype.t, yyvsp[0].ttype); ;} + break; + + case 721: +#line 3307 "parse.y" + { yyval.ttype = make_pointer_declarator (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 722: +#line 3309 "parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[0].ftype.t, NULL_TREE); ;} + break; + + case 723: +#line 3311 "parse.y" + { yyval.ttype = make_pointer_declarator (NULL_TREE, NULL_TREE); ;} + break; + + case 724: +#line 3313 "parse.y" + { yyval.ttype = make_reference_declarator (yyvsp[-1].ftype.t, yyvsp[0].ttype); ;} + break; + + case 725: +#line 3315 "parse.y" + { yyval.ttype = make_reference_declarator (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 726: +#line 3317 "parse.y" + { yyval.ttype = make_reference_declarator (yyvsp[0].ftype.t, NULL_TREE); ;} + break; + + case 727: +#line 3319 "parse.y" + { yyval.ttype = make_reference_declarator (NULL_TREE, NULL_TREE); ;} + break; + + case 728: +#line 3321 "parse.y" + { tree arg = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); + yyval.ttype = build_nt (SCOPE_REF, yyvsp[-1].ttype, arg); + ;} + break; + + case 729: +#line 3325 "parse.y" + { tree arg = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); + yyval.ttype = build_nt (SCOPE_REF, yyvsp[-2].ttype, arg); + ;} + break; + + case 731: +#line 3334 "parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 732: +#line 3337 "parse.y" + { yyval.ttype = make_call_declarator (yyval.ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 733: +#line 3339 "parse.y" + { yyval.ttype = make_call_declarator (yyval.ttype, empty_parms (), yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 734: +#line 3341 "parse.y" + { yyval.ttype = build_nt (ARRAY_REF, yyval.ttype, yyvsp[-1].ttype); ;} + break; + + case 735: +#line 3343 "parse.y" + { yyval.ttype = build_nt (ARRAY_REF, yyval.ttype, NULL_TREE); ;} + break; + + case 736: +#line 3345 "parse.y" + { yyval.ttype = make_call_declarator (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 737: +#line 3347 "parse.y" + { set_quals_and_spec (yyval.ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 738: +#line 3349 "parse.y" + { set_quals_and_spec (yyval.ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 739: +#line 3351 "parse.y" + { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ;} + break; + + case 740: +#line 3353 "parse.y" + { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ;} + break; + + case 747: +#line 3376 "parse.y" + { if (pedantic) + pedwarn ("ISO C++ forbids label declarations"); ;} + break; + + case 750: +#line 3387 "parse.y" + { + while (yyvsp[-1].ttype) + { + finish_label_decl (TREE_VALUE (yyvsp[-1].ttype)); + yyvsp[-1].ttype = TREE_CHAIN (yyvsp[-1].ttype); + } + ;} + break; + + case 751: +#line 3398 "parse.y" + { yyval.ttype = begin_compound_stmt (0); ;} + break; + + case 752: +#line 3400 "parse.y" + { STMT_LINENO (yyvsp[-1].ttype) = yyvsp[-3].itype; + finish_compound_stmt (0, yyvsp[-1].ttype); ;} + break; + + case 753: +#line 3406 "parse.y" + { last_expr_type = NULL_TREE; ;} + break; + + case 754: +#line 3411 "parse.y" + { yyval.ttype = begin_if_stmt (); + cond_stmt_keyword = "if"; ;} + break; + + case 755: +#line 3414 "parse.y" + { finish_if_stmt_cond (yyvsp[0].ttype, yyvsp[-1].ttype); ;} + break; + + case 756: +#line 3416 "parse.y" + { yyval.ttype = yyvsp[-3].ttype; + finish_then_clause (yyvsp[-3].ttype); ;} + break; + + case 758: +#line 3423 "parse.y" + { yyval.ttype = begin_compound_stmt (0); ;} + break; + + case 759: +#line 3425 "parse.y" + { STMT_LINENO (yyvsp[-2].ttype) = yyvsp[-1].itype; + if (yyvsp[0].ttype) STMT_LINENO (yyvsp[0].ttype) = yyvsp[-1].itype; + finish_compound_stmt (0, yyvsp[-2].ttype); ;} + break; + + case 761: +#line 3433 "parse.y" + { if (yyvsp[0].ttype) STMT_LINENO (yyvsp[0].ttype) = yyvsp[-1].itype; ;} + break; + + case 762: +#line 3438 "parse.y" + { finish_stmt (); + yyval.ttype = NULL_TREE; ;} + break; + + case 763: +#line 3441 "parse.y" + { yyval.ttype = finish_expr_stmt (yyvsp[-1].ttype); ;} + break; + + case 764: +#line 3443 "parse.y" + { begin_else_clause (); ;} + break; + + case 765: +#line 3445 "parse.y" + { + yyval.ttype = yyvsp[-3].ttype; + finish_else_clause (yyvsp[-3].ttype); + finish_if_stmt (); + ;} + break; + + case 766: +#line 3451 "parse.y" + { yyval.ttype = yyvsp[0].ttype; + finish_if_stmt (); ;} + break; + + case 767: +#line 3454 "parse.y" + { + yyval.ttype = begin_while_stmt (); + cond_stmt_keyword = "while"; + ;} + break; + + case 768: +#line 3459 "parse.y" + { finish_while_stmt_cond (yyvsp[0].ttype, yyvsp[-1].ttype); ;} + break; + + case 769: +#line 3461 "parse.y" + { yyval.ttype = yyvsp[-3].ttype; + finish_while_stmt (yyvsp[-3].ttype); ;} + break; + + case 770: +#line 3464 "parse.y" + { yyval.ttype = begin_do_stmt (); ;} + break; + + case 771: +#line 3466 "parse.y" + { + finish_do_body (yyvsp[-2].ttype); + cond_stmt_keyword = "do"; + ;} + break; + + case 772: +#line 3471 "parse.y" + { yyval.ttype = yyvsp[-5].ttype; + finish_do_stmt (yyvsp[-1].ttype, yyvsp[-5].ttype); ;} + break; + + case 773: +#line 3474 "parse.y" + { yyval.ttype = begin_for_stmt (); ;} + break; + + case 774: +#line 3476 "parse.y" + { finish_for_init_stmt (yyvsp[-2].ttype); ;} + break; + + case 775: +#line 3478 "parse.y" + { finish_for_cond (yyvsp[-1].ttype, yyvsp[-5].ttype); ;} + break; + + case 776: +#line 3480 "parse.y" + { finish_for_expr (yyvsp[-1].ttype, yyvsp[-8].ttype); ;} + break; + + case 777: +#line 3482 "parse.y" + { yyval.ttype = yyvsp[-10].ttype; + finish_for_stmt (yyvsp[-10].ttype); ;} + break; + + case 778: +#line 3485 "parse.y" + { yyval.ttype = begin_switch_stmt (); ;} + break; + + case 779: +#line 3487 "parse.y" + { finish_switch_cond (yyvsp[-1].ttype, yyvsp[-3].ttype); ;} + break; + + case 780: +#line 3489 "parse.y" + { yyval.ttype = yyvsp[-5].ttype; + finish_switch_stmt (yyvsp[-5].ttype); ;} + break; + + case 781: +#line 3492 "parse.y" + { yyval.ttype = finish_case_label (yyvsp[-1].ttype, NULL_TREE); ;} + break; + + case 782: +#line 3494 "parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 783: +#line 3496 "parse.y" + { yyval.ttype = finish_case_label (yyvsp[-3].ttype, yyvsp[-1].ttype); ;} + break; + + case 784: +#line 3498 "parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 785: +#line 3500 "parse.y" + { yyval.ttype = finish_case_label (NULL_TREE, NULL_TREE); ;} + break; + + case 786: +#line 3502 "parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 787: +#line 3504 "parse.y" + { yyval.ttype = finish_break_stmt (); ;} + break; + + case 788: +#line 3506 "parse.y" + { yyval.ttype = finish_continue_stmt (); ;} + break; + + case 789: +#line 3508 "parse.y" + { yyval.ttype = finish_return_stmt (NULL_TREE); ;} + break; + + case 790: +#line 3510 "parse.y" + { yyval.ttype = finish_return_stmt (yyvsp[-1].ttype); ;} + break; + + case 791: +#line 3512 "parse.y" + { yyval.ttype = finish_asm_stmt (yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, NULL_TREE, + NULL_TREE); + ASM_INPUT_P (yyval.ttype) = 1; ;} + break; + + case 792: +#line 3517 "parse.y" + { yyval.ttype = finish_asm_stmt (yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, NULL_TREE); ;} + break; + + case 793: +#line 3521 "parse.y" + { yyval.ttype = finish_asm_stmt (yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE); ;} + break; + + case 794: +#line 3523 "parse.y" + { yyval.ttype = finish_asm_stmt (yyvsp[-6].ttype, yyvsp[-4].ttype, NULL_TREE, yyvsp[-2].ttype, NULL_TREE); ;} + break; + + case 795: +#line 3527 "parse.y" + { yyval.ttype = finish_asm_stmt (yyvsp[-10].ttype, yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype); ;} + break; + + case 796: +#line 3530 "parse.y" + { yyval.ttype = finish_asm_stmt (yyvsp[-8].ttype, yyvsp[-6].ttype, NULL_TREE, yyvsp[-4].ttype, yyvsp[-2].ttype); ;} + break; + + case 797: +#line 3533 "parse.y" + { yyval.ttype = finish_asm_stmt (yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, NULL_TREE, yyvsp[-2].ttype); ;} + break; + + case 798: +#line 3535 "parse.y" + { + if (pedantic) + pedwarn ("ISO C++ forbids computed gotos"); + yyval.ttype = finish_goto_stmt (yyvsp[-1].ttype); + ;} + break; + + case 799: +#line 3541 "parse.y" + { yyval.ttype = finish_goto_stmt (yyvsp[-1].ttype); ;} + break; + + case 800: +#line 3543 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 801: +#line 3545 "parse.y" + { error ("label must be followed by statement"); + yyungetc ('}', 0); + yyval.ttype = NULL_TREE; ;} + break; + + case 802: +#line 3549 "parse.y" + { finish_stmt (); + yyval.ttype = NULL_TREE; ;} + break; + + case 803: +#line 3552 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 804: +#line 3554 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 805: +#line 3556 "parse.y" + { do_local_using_decl (yyvsp[0].ttype); + yyval.ttype = NULL_TREE; ;} + break; + + case 806: +#line 3559 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 807: +#line 3564 "parse.y" + { yyval.ttype = begin_function_try_block (); ;} + break; + + case 808: +#line 3566 "parse.y" + { finish_function_try_block (yyvsp[-1].ttype); ;} + break; + + case 809: +#line 3568 "parse.y" + { finish_function_handler_sequence (yyvsp[-3].ttype); ;} + break; + + case 810: +#line 3573 "parse.y" + { yyval.ttype = begin_try_block (); ;} + break; + + case 811: +#line 3575 "parse.y" + { finish_try_block (yyvsp[-1].ttype); ;} + break; + + case 812: +#line 3577 "parse.y" + { finish_handler_sequence (yyvsp[-3].ttype); ;} + break; + + case 815: +#line 3584 "parse.y" + { /* Generate a fake handler block to avoid later aborts. */ + tree fake_handler = begin_handler (); + finish_handler_parms (NULL_TREE, fake_handler); + finish_handler (fake_handler); + yyval.ttype = fake_handler; + + error ("must have at least one catch per try block"); + ;} + break; + + case 816: +#line 3596 "parse.y" + { yyval.ttype = begin_handler (); ;} + break; + + case 817: +#line 3598 "parse.y" + { finish_handler_parms (yyvsp[0].ttype, yyvsp[-1].ttype); ;} + break; + + case 818: +#line 3600 "parse.y" + { finish_handler (yyvsp[-3].ttype); ;} + break; + + case 821: +#line 3610 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 822: +#line 3626 "parse.y" + { + check_for_new_type ("inside exception declarations", yyvsp[-1].ftype); + yyval.ttype = start_handler_parms (TREE_PURPOSE (yyvsp[-1].ftype.t), + TREE_VALUE (yyvsp[-1].ftype.t)); + ;} + break; + + case 823: +#line 3635 "parse.y" + { finish_label_stmt (yyvsp[-1].ttype); ;} + break; + + case 824: +#line 3637 "parse.y" + { finish_label_stmt (yyvsp[-1].ttype); ;} + break; + + case 825: +#line 3639 "parse.y" + { finish_label_stmt (yyvsp[-1].ttype); ;} + break; + + case 826: +#line 3641 "parse.y" + { finish_label_stmt (yyvsp[-1].ttype); ;} + break; + + case 827: +#line 3646 "parse.y" + { finish_expr_stmt (yyvsp[-1].ttype); ;} + break; + + case 829: +#line 3649 "parse.y" + { if (pedantic) + pedwarn ("ISO C++ forbids compound statements inside for initializations"); + ;} + break; + + case 830: +#line 3658 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 832: +#line 3664 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 834: +#line 3667 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 835: +#line 3674 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 838: +#line 3681 "parse.y" + { yyval.ttype = chainon (yyval.ttype, yyvsp[0].ttype); ;} + break; + + case 839: +#line 3686 "parse.y" + { yyval.ttype = build_tree_list (build_tree_list (NULL_TREE, yyvsp[-3].ttype), yyvsp[-1].ttype); ;} + break; + + case 840: +#line 3688 "parse.y" + { yyvsp[-5].ttype = build_string (IDENTIFIER_LENGTH (yyvsp[-5].ttype), + IDENTIFIER_POINTER (yyvsp[-5].ttype)); + yyval.ttype = build_tree_list (build_tree_list (yyvsp[-5].ttype, yyvsp[-3].ttype), yyvsp[-1].ttype); ;} + break; + + case 841: +#line 3695 "parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE);;} + break; + + case 842: +#line 3697 "parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype); ;} + break; + + case 843: +#line 3708 "parse.y" + { + yyval.ttype = empty_parms(); + ;} + break; + + case 845: +#line 3713 "parse.y" + { yyval.ttype = finish_parmlist (build_tree_list (NULL_TREE, yyvsp[0].ftype.t), 0); + check_for_new_type ("inside parameter list", yyvsp[0].ftype); ;} + break; + + case 846: +#line 3721 "parse.y" + { yyval.ttype = finish_parmlist (yyval.ttype, 0); ;} + break; + + case 847: +#line 3723 "parse.y" + { yyval.ttype = finish_parmlist (yyvsp[-1].ttype, 1); ;} + break; + + case 848: +#line 3726 "parse.y" + { yyval.ttype = finish_parmlist (yyvsp[-1].ttype, 1); ;} + break; + + case 849: +#line 3728 "parse.y" + { yyval.ttype = finish_parmlist (build_tree_list (NULL_TREE, + yyvsp[-1].ftype.t), 1); ;} + break; + + case 850: +#line 3731 "parse.y" + { yyval.ttype = finish_parmlist (NULL_TREE, 1); ;} + break; + + case 851: +#line 3733 "parse.y" + { + /* This helps us recover from really nasty + parse errors, for example, a missing right + parenthesis. */ + yyerror ("possibly missing ')'"); + yyval.ttype = finish_parmlist (yyvsp[-1].ttype, 0); + yyungetc (':', 0); + yychar = ')'; + ;} + break; + + case 852: +#line 3743 "parse.y" + { + /* This helps us recover from really nasty + parse errors, for example, a missing right + parenthesis. */ + yyerror ("possibly missing ')'"); + yyval.ttype = finish_parmlist (build_tree_list (NULL_TREE, + yyvsp[-1].ftype.t), 0); + yyungetc (':', 0); + yychar = ')'; + ;} + break; + + case 853: +#line 3758 "parse.y" + { maybe_snarf_defarg (); ;} + break; + + case 854: +#line 3760 "parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 857: +#line 3771 "parse.y" + { check_for_new_type ("in a parameter list", yyvsp[0].ftype); + yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ftype.t); ;} + break; + + case 858: +#line 3774 "parse.y" + { check_for_new_type ("in a parameter list", yyvsp[-1].ftype); + yyval.ttype = build_tree_list (yyvsp[0].ttype, yyvsp[-1].ftype.t); ;} + break; + + case 859: +#line 3777 "parse.y" + { check_for_new_type ("in a parameter list", yyvsp[0].ftype); + yyval.ttype = chainon (yyval.ttype, yyvsp[0].ftype.t); ;} + break; + + case 860: +#line 3780 "parse.y" + { yyval.ttype = chainon (yyval.ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;} + break; + + case 861: +#line 3782 "parse.y" + { yyval.ttype = chainon (yyval.ttype, build_tree_list (yyvsp[0].ttype, yyvsp[-2].ttype)); ;} + break; + + case 863: +#line 3788 "parse.y" + { check_for_new_type ("in a parameter list", yyvsp[-1].ftype); + yyval.ttype = build_tree_list (NULL_TREE, yyvsp[-1].ftype.t); ;} + break; + + case 864: +#line 3798 "parse.y" + { yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; + yyval.ftype.t = build_tree_list (yyvsp[-1].ftype.t, yyvsp[0].ttype); ;} + break; + + case 865: +#line 3801 "parse.y" + { yyval.ftype.t = build_tree_list (yyvsp[-1].ftype.t, yyvsp[0].ttype); + yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ;} + break; + + case 866: +#line 3804 "parse.y" + { yyval.ftype.t = build_tree_list (build_tree_list (NULL_TREE, yyvsp[-1].ftype.t), + yyvsp[0].ttype); + yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ;} + break; + + case 867: +#line 3808 "parse.y" + { yyval.ftype.t = build_tree_list (yyvsp[-1].ftype.t, yyvsp[0].ttype); + yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ;} + break; + + case 868: +#line 3811 "parse.y" + { yyval.ftype.t = build_tree_list (yyvsp[0].ftype.t, NULL_TREE); + yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; ;} + break; + + case 869: +#line 3814 "parse.y" + { yyval.ftype.t = build_tree_list (yyvsp[-1].ftype.t, yyvsp[0].ttype); + yyval.ftype.new_type_flag = 0; ;} + break; + + case 870: +#line 3820 "parse.y" + { yyval.ftype.t = build_tree_list (NULL_TREE, yyvsp[0].ftype.t); + yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; ;} + break; + + case 871: +#line 3823 "parse.y" + { yyval.ftype.t = build_tree_list (yyvsp[0].ttype, yyvsp[-1].ftype.t); + yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ;} + break; + + case 874: +#line 3834 "parse.y" + { see_typename (); ;} + break; + + case 875: +#line 3839 "parse.y" + { + error ("type specifier omitted for parameter"); + yyval.ttype = build_tree_list (integer_type_node, NULL_TREE); + ;} + break; + + case 876: +#line 3844 "parse.y" + { + if (TREE_CODE (yyval.ttype) == SCOPE_REF) + { + if (TREE_CODE (TREE_OPERAND (yyval.ttype, 0)) == TEMPLATE_TYPE_PARM + || TREE_CODE (TREE_OPERAND (yyval.ttype, 0)) == BOUND_TEMPLATE_TEMPLATE_PARM) + error ("`%E' is not a type, use `typename %E' to make it one", yyval.ttype, yyval.ttype); + else + error ("no type `%D' in `%T'", TREE_OPERAND (yyval.ttype, 1), TREE_OPERAND (yyval.ttype, 0)); + } + else + error ("type specifier omitted for parameter `%E'", yyval.ttype); + yyval.ttype = build_tree_list (integer_type_node, yyval.ttype); + ;} + break; + + case 877: +#line 3861 "parse.y" + { + error("'%D' is used as a type, but is not defined as a type.", yyvsp[-4].ttype); + yyvsp[-2].ttype = error_mark_node; + ;} + break; + + case 878: +#line 3869 "parse.y" + { ;} + break; + + case 880: +#line 3875 "parse.y" + { ;} + break; + + case 882: +#line 3881 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 883: +#line 3883 "parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 884: +#line 3885 "parse.y" + { yyval.ttype = empty_except_spec; ;} + break; + + case 885: +#line 3890 "parse.y" + { + check_for_new_type ("exception specifier", yyvsp[0].ftype); + yyval.ttype = groktypename (yyvsp[0].ftype.t); + ;} + break; + + case 886: +#line 3895 "parse.y" + { yyval.ttype = error_mark_node; ;} + break; + + case 887: +#line 3900 "parse.y" + { yyval.ttype = add_exception_specifier (NULL_TREE, yyvsp[0].ttype, 1); ;} + break; + + case 888: +#line 3902 "parse.y" + { yyval.ttype = add_exception_specifier (yyvsp[-2].ttype, yyvsp[0].ttype, 1); ;} + break; + + case 889: +#line 3907 "parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 890: +#line 3909 "parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 891: +#line 3911 "parse.y" + { yyval.ttype = make_reference_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 892: +#line 3913 "parse.y" + { tree arg = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); + yyval.ttype = build_nt (SCOPE_REF, yyvsp[-2].ttype, arg); + ;} + break; + + case 893: +#line 3920 "parse.y" + { + saved_scopes = tree_cons (got_scope, got_object, saved_scopes); + TREE_LANG_FLAG_0 (saved_scopes) = looking_for_typename; + /* We look for conversion-type-id's in both the class and current + scopes, just as for ID in 'ptr->ID::'. */ + looking_for_typename = 1; + got_object = got_scope; + got_scope = NULL_TREE; + ;} + break; + + case 894: +#line 3932 "parse.y" + { got_scope = TREE_PURPOSE (saved_scopes); + got_object = TREE_VALUE (saved_scopes); + looking_for_typename = TREE_LANG_FLAG_0 (saved_scopes); + saved_scopes = TREE_CHAIN (saved_scopes); + yyval.ttype = got_scope; + ;} + break; + + case 895: +#line 3942 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (MULT_EXPR)); ;} + break; + + case 896: +#line 3944 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (TRUNC_DIV_EXPR)); ;} + break; + + case 897: +#line 3946 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (TRUNC_MOD_EXPR)); ;} + break; + + case 898: +#line 3948 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (PLUS_EXPR)); ;} + break; + + case 899: +#line 3950 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (MINUS_EXPR)); ;} + break; + + case 900: +#line 3952 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (BIT_AND_EXPR)); ;} + break; + + case 901: +#line 3954 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (BIT_IOR_EXPR)); ;} + break; + + case 902: +#line 3956 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (BIT_XOR_EXPR)); ;} + break; + + case 903: +#line 3958 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (BIT_NOT_EXPR)); ;} + break; + + case 904: +#line 3960 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (COMPOUND_EXPR)); ;} + break; + + case 905: +#line 3962 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (yyvsp[-1].code)); ;} + break; + + case 906: +#line 3964 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (LT_EXPR)); ;} + break; + + case 907: +#line 3966 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (GT_EXPR)); ;} + break; + + case 908: +#line 3968 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (yyvsp[-1].code)); ;} + break; + + case 909: +#line 3970 "parse.y" + { yyval.ttype = frob_opname (ansi_assopname (yyvsp[-1].code)); ;} + break; + + case 910: +#line 3972 "parse.y" + { yyval.ttype = frob_opname (ansi_assopname (NOP_EXPR)); ;} + break; + + case 911: +#line 3974 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (yyvsp[-1].code)); ;} + break; + + case 912: +#line 3976 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (yyvsp[-1].code)); ;} + break; + + case 913: +#line 3978 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (POSTINCREMENT_EXPR)); ;} + break; + + case 914: +#line 3980 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (PREDECREMENT_EXPR)); ;} + break; + + case 915: +#line 3982 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (TRUTH_ANDIF_EXPR)); ;} + break; + + case 916: +#line 3984 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (TRUTH_ORIF_EXPR)); ;} + break; + + case 917: +#line 3986 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (TRUTH_NOT_EXPR)); ;} + break; + + case 918: +#line 3988 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (COND_EXPR)); ;} + break; + + case 919: +#line 3990 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (yyvsp[-1].code)); ;} + break; + + case 920: +#line 3992 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (COMPONENT_REF)); ;} + break; + + case 921: +#line 3994 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (MEMBER_REF)); ;} + break; + + case 922: +#line 3996 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (CALL_EXPR)); ;} + break; + + case 923: +#line 3998 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (ARRAY_REF)); ;} + break; + + case 924: +#line 4000 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (NEW_EXPR)); ;} + break; + + case 925: +#line 4002 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (DELETE_EXPR)); ;} + break; + + case 926: +#line 4004 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (VEC_NEW_EXPR)); ;} + break; + + case 927: +#line 4006 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (VEC_DELETE_EXPR)); ;} + break; + + case 928: +#line 4008 "parse.y" + { yyval.ttype = frob_opname (grokoptypename (yyvsp[-2].ftype.t, yyvsp[-1].ttype, yyvsp[0].ttype)); ;} + break; + + case 929: +#line 4010 "parse.y" + { yyval.ttype = frob_opname (ansi_opname (ERROR_MARK)); ;} + break; + + case 930: +#line 4017 "parse.y" + { if (yychar == YYEMPTY) + yychar = YYLEX; + yyval.itype = lineno; ;} + break; + + + } + +/* Line 991 of yacc.c. */ +#line 10217 "p9863.c" + + yyvsp -= yylen; + yyssp -= yylen; + + + YY_STACK_PRINT (yyss, yyssp); + + *++yyvsp = yyval; + + + /* 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 - YYNTOKENS] + *yyssp; + if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) + yystate = yytable[yystate]; + else + yystate = yydefgoto[yyn - YYNTOKENS]; + + goto yynewstate; + + +/*------------------------------------. +| yyerrlab -- here on detecting error | +`------------------------------------*/ +yyerrlab: + /* If not already recovering from an error, report this error. */ + if (!yyerrstatus) + { + ++yynerrs; +#if YYERROR_VERBOSE + yyn = yypact[yystate]; + + if (YYPACT_NINF < yyn && yyn < YYLAST) + { + YYSIZE_T yysize = 0; + int yytype = YYTRANSLATE (yychar); + char *yymsg; + int yyx, yycount; + + yycount = 0; + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. */ + for (yyx = yyn < 0 ? -yyn : 0; + yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) + yysize += yystrlen (yytname[yyx]) + 15, yycount++; + yysize += yystrlen ("syntax error, unexpected ") + 1; + yysize += yystrlen (yytname[yytype]); + yymsg = (char *) YYSTACK_ALLOC (yysize); + if (yymsg != 0) + { + char *yyp = yystpcpy (yymsg, "syntax error, unexpected "); + yyp = yystpcpy (yyp, yytname[yytype]); + + if (yycount < 5) + { + yycount = 0; + for (yyx = yyn < 0 ? -yyn : 0; + yyx < (int) (sizeof (yytname) / sizeof (char *)); + yyx++) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) + { + const char *yyq = ! yycount ? ", expecting " : " or "; + yyp = yystpcpy (yyp, yyq); + yyp = yystpcpy (yyp, yytname[yyx]); + yycount++; + } + } + yyerror (yymsg); + YYSTACK_FREE (yymsg); + } + else + yyerror ("syntax error; also virtual memory exhausted"); + } + else +#endif /* YYERROR_VERBOSE */ + yyerror ("syntax error"); + } + + + + 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) + { + /* Pop the error token. */ + YYPOPSTACK; + /* Pop the rest of the stack. */ + while (yyss < yyssp) + { + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp); + yydestruct (yystos[*yyssp], yyvsp); + YYPOPSTACK; + } + YYABORT; + } + + YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc); + yydestruct (yytoken, &yylval); + yychar = YYEMPTY; + + } + + /* Else will try to reuse lookahead token after shifting the error + token. */ + goto yyerrlab2; + + +/*----------------------------------------------------. +| yyerrlab1 -- error raised explicitly by an action. | +`----------------------------------------------------*/ +yyerrlab1: + + /* Suppress GCC warning that yyerrlab1 is unused when no action + invokes YYERROR. MacOS 10.2.3's buggy "smart preprocessor" + insists on the trailing semicolon. */ +#if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__) + __attribute__ ((__unused__)); +#endif + + + goto yyerrlab2; + + +/*---------------------------------------------------------------. +| yyerrlab2 -- pop states until the error token can be shifted. | +`---------------------------------------------------------------*/ +yyerrlab2: + yyerrstatus = 3; /* Each real token shifted decrements this. */ + + for (;;) + { + yyn = yypact[yystate]; + if (yyn != YYPACT_NINF) + { + yyn += YYTERROR; + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) + { + yyn = yytable[yyn]; + if (0 < yyn) + break; + } + } + + /* Pop the current state because it cannot handle the error token. */ + if (yyssp == yyss) + YYABORT; + + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp); + yydestruct (yystos[yystate], yyvsp); + yyvsp--; + yystate = *--yyssp; + + YY_STACK_PRINT (yyss, yyssp); + } + + if (yyn == YYFINAL) + YYACCEPT; + + YYDPRINTF ((stderr, "Shifting error token, ")); + + *++yyvsp = yylval; + + + yystate = yyn; + goto yynewstate; + + +/*-------------------------------------. +| yyacceptlab -- YYACCEPT comes here. | +`-------------------------------------*/ +yyacceptlab: + yyresult = 0; + goto yyreturn; + +/*-----------------------------------. +| yyabortlab -- YYABORT comes here. | +`-----------------------------------*/ +yyabortlab: + yyresult = 1; + goto yyreturn; + +#ifndef yyoverflow +/*----------------------------------------------. +| yyoverflowlab -- parser overflow comes here. | +`----------------------------------------------*/ +yyoverflowlab: + yyerror ("parser stack overflow"); + yyresult = 2; + /* Fall through. */ +#endif + +yyreturn: +#ifndef yyoverflow + if (yyss != yyssa) + YYSTACK_FREE (yyss); +#endif + return yyresult; +} + + +#line 4021 "parse.y" + + +#ifdef SPEW_DEBUG +const char * +debug_yytranslate (value) + int value; +{ + return yytname[YYTRANSLATE (value)]; +} +#endif + +/* Free malloced parser stacks if necessary. */ + +void +free_parser_stacks () +{ + if (malloced_yyss) + { + free (malloced_yyss); + free (malloced_yyvs); + } +} + +/* Return the value corresponding to TOKEN in the global scope. */ + +static tree +parse_scoped_id (token) + tree token; +{ + cxx_binding binding; + + cxx_binding_clear (&binding); + if (!qualified_lookup_using_namespace (token, global_namespace, &binding, 0)) + binding.value = NULL; + if (yychar == YYEMPTY) + yychar = yylex(); + + return do_scoped_id (token, binding.value); +} + +/* AGGR may be either a type node (like class_type_node) or a + TREE_LIST whose TREE_PURPOSE is a list of attributes and whose + TREE_VALUE is a type node. Set *TAG_KIND and *ATTRIBUTES to + represent the information encoded. */ + +static void +parse_split_aggr (tree aggr, enum tag_types *tag_kind, tree *attributes) +{ + if (TREE_CODE (aggr) == TREE_LIST) + { + *attributes = TREE_PURPOSE (aggr); + aggr = TREE_VALUE (aggr); + } + else + *attributes = NULL_TREE; + *tag_kind = (enum tag_types) tree_low_cst (aggr, 1); +} + +/* Like xref_tag, except that the AGGR may be either a type node (like + class_type_node) or a TREE_LIST whose TREE_PURPOSE is a list of + attributes and whose TREE_VALUE is a type node. */ + +static tree +parse_xref_tag (tree aggr, tree name, int globalize) +{ + tree attributes; + enum tag_types tag_kind; + parse_split_aggr (aggr, &tag_kind, &attributes); + return xref_tag (tag_kind, name, attributes, globalize); +} + +/* Like handle_class_head, but AGGR may be as for parse_xref_tag. */ + +static tree +parse_handle_class_head (tree aggr, tree scope, tree id, + int defn_p, int *new_type_p) +{ + tree attributes; + enum tag_types tag_kind; + parse_split_aggr (aggr, &tag_kind, &attributes); + return handle_class_head (tag_kind, scope, id, attributes, + defn_p, new_type_p); +} + +/* Like do_decl_instantiation, but the declarator has not yet been + parsed. */ + +static void +parse_decl_instantiation (tree declspecs, tree declarator, tree storage) +{ + tree decl = grokdeclarator (declarator, declspecs, NORMAL, 0, NULL); + do_decl_instantiation (decl, storage); +} + +/* Like begin_function_definition, but SPECS_ATTRS is a combined list + containing both a decl-specifier-seq and attributes. */ + +static int +parse_begin_function_definition (tree specs_attrs, tree declarator) +{ + tree specs; + tree attrs; + + split_specs_attrs (specs_attrs, &specs, &attrs); + return begin_function_definition (specs, attrs, declarator); +} + +/* Like finish_call_expr, but the name for FN has not yet been + resolved. */ + +static tree +parse_finish_call_expr (tree fn, tree args, int koenig) +{ + bool disallow_virtual; + + if (TREE_CODE (fn) == OFFSET_REF) + return build_offset_ref_call_from_tree (fn, args); + + if (TREE_CODE (fn) == SCOPE_REF) + { + tree scope = TREE_OPERAND (fn, 0); + tree name = TREE_OPERAND (fn, 1); + + if (scope == error_mark_node || name == error_mark_node) + return error_mark_node; + if (!processing_template_decl) + fn = resolve_scoped_fn_name (scope, name); + disallow_virtual = true; + } + else + disallow_virtual = false; + + if (koenig && TREE_CODE (fn) == IDENTIFIER_NODE) + { + tree f; + + /* Do the Koenig lookup. */ + fn = do_identifier (fn, 2, args); + /* If name lookup didn't find any matching declarations, we've + got an unbound identifier. */ + if (TREE_CODE (fn) == IDENTIFIER_NODE) + { + /* For some reason, do_identifier does not resolve + conversion operator names if the only matches would be + template conversion operators. So, we do it here. */ + if (IDENTIFIER_TYPENAME_P (fn) && current_class_type) + { + f = lookup_member (current_class_type, fn, + /*protect=*/1, /*want_type=*/0); + if (f) + return finish_call_expr (f, args, + /*disallow_virtual=*/false); + } + /* If the name still could not be resolved, then the program + is ill-formed. */ + if (TREE_CODE (fn) == IDENTIFIER_NODE) + { + unqualified_name_lookup_error (fn); + return error_mark_node; + } + } + else if (TREE_CODE (fn) == FUNCTION_DECL + || DECL_FUNCTION_TEMPLATE_P (fn) + || TREE_CODE (fn) == OVERLOAD) + { + tree scope = DECL_CONTEXT (get_first_fn (fn)); + if (scope && TYPE_P (scope)) + { + tree access_scope; + + if (DERIVED_FROM_P (scope, current_class_type) + && current_class_ref) + { + fn = build_baselink (lookup_base (current_class_type, + scope, + ba_any, + NULL), + TYPE_BINFO (current_class_type), + fn, + /*optype=*/NULL_TREE); + return finish_object_call_expr (fn, + current_class_ref, + args); + } + + + access_scope = current_class_type; + while (!DERIVED_FROM_P (scope, access_scope)) + { + access_scope = TYPE_CONTEXT (access_scope); + while (DECL_P (access_scope)) + access_scope = DECL_CONTEXT (access_scope); + } + + fn = build_baselink (NULL_TREE, + TYPE_BINFO (access_scope), + fn, + /*optype=*/NULL_TREE); + } + } + } + + if (TREE_CODE (fn) == COMPONENT_REF) + /* If the parser sees `(x->y)(bar)' we get here because the + parentheses confuse the parser. Treat this like + `x->y(bar)'. */ + return finish_object_call_expr (TREE_OPERAND (fn, 1), + TREE_OPERAND (fn, 0), + args); + + if (processing_template_decl) + return build_nt (CALL_EXPR, fn, args, NULL_TREE); + + return build_call_from_tree (fn, args, disallow_virtual); +} + +#include "gt-cp-parse.h" + diff --git a/gnu/dist/gcc/gcc/cp/parse.h b/gnu/dist/gcc/gcc/cp/parse.h new file mode 100644 index 000000000000..4597287379ce --- /dev/null +++ b/gnu/dist/gcc/gcc/cp/parse.h @@ -0,0 +1,233 @@ +/* A Bison parser, made by GNU Bison 1.875. */ + +/* Skeleton parser for Yacc-like parsing with Bison, + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +/* As a special exception, when this file is copied by Bison into a + Bison output file, you may use that output file without restriction. + This special exception was added by the Free Software Foundation + in version 1.24 of Bison. */ + +/* Tokens. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + IDENTIFIER = 258, + tTYPENAME = 259, + SELFNAME = 260, + PFUNCNAME = 261, + SCSPEC = 262, + TYPESPEC = 263, + CV_QUALIFIER = 264, + CONSTANT = 265, + VAR_FUNC_NAME = 266, + STRING = 267, + ELLIPSIS = 268, + SIZEOF = 269, + ENUM = 270, + IF = 271, + ELSE = 272, + WHILE = 273, + DO = 274, + FOR = 275, + SWITCH = 276, + CASE = 277, + DEFAULT = 278, + BREAK = 279, + CONTINUE = 280, + RETURN_KEYWORD = 281, + GOTO = 282, + ASM_KEYWORD = 283, + TYPEOF = 284, + ALIGNOF = 285, + SIGOF = 286, + ATTRIBUTE = 287, + EXTENSION = 288, + LABEL = 289, + REALPART = 290, + IMAGPART = 291, + VA_ARG = 292, + AGGR = 293, + VISSPEC = 294, + DELETE = 295, + NEW = 296, + THIS = 297, + OPERATOR = 298, + CXX_TRUE = 299, + CXX_FALSE = 300, + NAMESPACE = 301, + TYPENAME_KEYWORD = 302, + USING = 303, + LEFT_RIGHT = 304, + TEMPLATE = 305, + TYPEID = 306, + DYNAMIC_CAST = 307, + STATIC_CAST = 308, + REINTERPRET_CAST = 309, + CONST_CAST = 310, + SCOPE = 311, + EXPORT = 312, + EMPTY = 313, + NSNAME = 314, + PTYPENAME = 315, + THROW = 316, + ASSIGN = 317, + OROR = 318, + ANDAND = 319, + MIN_MAX = 320, + EQCOMPARE = 321, + ARITHCOMPARE = 322, + RSHIFT = 323, + LSHIFT = 324, + DOT_STAR = 325, + POINTSAT_STAR = 326, + MINUSMINUS = 327, + PLUSPLUS = 328, + UNARY = 329, + HYPERUNARY = 330, + POINTSAT = 331, + CATCH = 332, + TRY = 333, + EXTERN_LANG_STRING = 334, + ALL = 335, + PRE_PARSED_CLASS_DECL = 336, + DEFARG = 337, + DEFARG_MARKER = 338, + PRE_PARSED_FUNCTION_DECL = 339, + TYPENAME_DEFN = 340, + IDENTIFIER_DEFN = 341, + PTYPENAME_DEFN = 342, + END_OF_LINE = 343, + END_OF_SAVED_INPUT = 344 + }; +#endif +#define IDENTIFIER 258 +#define tTYPENAME 259 +#define SELFNAME 260 +#define PFUNCNAME 261 +#define SCSPEC 262 +#define TYPESPEC 263 +#define CV_QUALIFIER 264 +#define CONSTANT 265 +#define VAR_FUNC_NAME 266 +#define STRING 267 +#define ELLIPSIS 268 +#define SIZEOF 269 +#define ENUM 270 +#define IF 271 +#define ELSE 272 +#define WHILE 273 +#define DO 274 +#define FOR 275 +#define SWITCH 276 +#define CASE 277 +#define DEFAULT 278 +#define BREAK 279 +#define CONTINUE 280 +#define RETURN_KEYWORD 281 +#define GOTO 282 +#define ASM_KEYWORD 283 +#define TYPEOF 284 +#define ALIGNOF 285 +#define SIGOF 286 +#define ATTRIBUTE 287 +#define EXTENSION 288 +#define LABEL 289 +#define REALPART 290 +#define IMAGPART 291 +#define VA_ARG 292 +#define AGGR 293 +#define VISSPEC 294 +#define DELETE 295 +#define NEW 296 +#define THIS 297 +#define OPERATOR 298 +#define CXX_TRUE 299 +#define CXX_FALSE 300 +#define NAMESPACE 301 +#define TYPENAME_KEYWORD 302 +#define USING 303 +#define LEFT_RIGHT 304 +#define TEMPLATE 305 +#define TYPEID 306 +#define DYNAMIC_CAST 307 +#define STATIC_CAST 308 +#define REINTERPRET_CAST 309 +#define CONST_CAST 310 +#define SCOPE 311 +#define EXPORT 312 +#define EMPTY 313 +#define NSNAME 314 +#define PTYPENAME 315 +#define THROW 316 +#define ASSIGN 317 +#define OROR 318 +#define ANDAND 319 +#define MIN_MAX 320 +#define EQCOMPARE 321 +#define ARITHCOMPARE 322 +#define RSHIFT 323 +#define LSHIFT 324 +#define DOT_STAR 325 +#define POINTSAT_STAR 326 +#define MINUSMINUS 327 +#define PLUSPLUS 328 +#define UNARY 329 +#define HYPERUNARY 330 +#define POINTSAT 331 +#define CATCH 332 +#define TRY 333 +#define EXTERN_LANG_STRING 334 +#define ALL 335 +#define PRE_PARSED_CLASS_DECL 336 +#define DEFARG 337 +#define DEFARG_MARKER 338 +#define PRE_PARSED_FUNCTION_DECL 339 +#define TYPENAME_DEFN 340 +#define IDENTIFIER_DEFN 341 +#define PTYPENAME_DEFN 342 +#define END_OF_LINE 343 +#define END_OF_SAVED_INPUT 344 + + + + +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) +#line 271 "parse.y" +typedef union YYSTYPE { GTY(()) + long itype; + tree ttype; + char *strtype; + enum tree_code code; + flagged_type_tree ftype; + struct unparsed_text *pi; +} YYSTYPE; +/* Line 1249 of yacc.c. */ +#line 223 "p9863.h" +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 +#endif + +extern YYSTYPE yylval; + + + +#define YYEMPTY (-2) diff --git a/gnu/dist/gcc/gcc/doc/fsf-funding.7 b/gnu/dist/gcc/gcc/doc/fsf-funding.7 new file mode 100644 index 000000000000..483cf038ae6c --- /dev/null +++ b/gnu/dist/gcc/gcc/doc/fsf-funding.7 @@ -0,0 +1,195 @@ +.\" Automatically generated by Pod::Man version 1.15 +.\" Tue Feb 10 08:31:42 2004 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading +.br +.if t .Sp +.ne 5 +.PP +\fB\\$1\fR +.PP +.. +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Ip \" List item +.br +.ie \\n(.$>=3 .ne \\$3 +.el .ne 3 +.IP "\\$1" \\$2 +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R + +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> +.tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +'br\} +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. nr % 0 +. rr F +.\} +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.if n .na +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. +.bd B 3 +. \" fudge factors for nroff and troff +.if n \{\ +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP +.\} +.if t \{\ +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& +.\} +. \" simple accents for nroff and troff +.if n \{\ +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / +.\} +.if t \{\ +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' +.\} +. \" troff and (daisy-wheel) nroff accents +.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' +.ds 8 \h'\*(#H'\(*b\h'-\*(#H' +.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] +.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' +.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' +.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] +.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] +.ds ae a\h'-(\w'a'u*4/10)'e +.ds Ae A\h'-(\w'A'u*4/10)'E +. \" corrections for vroff +.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' +.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' +. \" for low resolution devices (crt and lpr) +.if \n(.H>23 .if \n(.V>19 \ +\{\ +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE +.\} +.rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "fsf-funding 7" +.TH fsf-funding 7 "gcc-3.3.3" "2004-02-10" "GNU" +.UC +.SH "NAME" +fsf-funding \- Funding Free Software +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +.Sh "Funding Free Software" +.IX Subsection "Funding Free Software" +If you want to have more free software a few years from now, it makes +sense for you to help encourage people to contribute funds for its +development. The most effective approach known is to encourage +commercial redistributors to donate. +.PP +Users of free software systems can boost the pace of development by +encouraging for-a-fee distributors to donate part of their selling price +to free software developers\-\-\-the Free Software Foundation, and others. +.PP +The way to convince distributors to do this is to demand it and expect +it from them. So when you compare distributors, judge them partly by +how much they give to free software development. Show distributors +they must compete to be the one who gives the most. +.PP +To make this approach work, you must insist on numbers that you can +compare, such as, ``We will donate ten dollars to the Frobnitz project +for each disk sold.'' Don't be satisfied with a vague promise, such as +``A portion of the profits are donated,'' since it doesn't give a basis +for comparison. +.PP +Even a precise fraction ``of the profits from this disk'' is not very +meaningful, since creative accounting and unrelated business decisions +can greatly alter what fraction of the sales price counts as profit. +If the price you pay is \f(CW$50\fR, ten percent of the profit is probably +less than a dollar; it might be a few cents, or nothing at all. +.PP +Some redistributors do development work themselves. This is useful too; +but to keep everyone honest, you need to inquire how much they do, and +what kind. Some kinds of development make much more long-term +difference than others. For example, maintaining a separate version of +a program contributes very little; maintaining the standard version of a +program for the whole community contributes much. Easy new ports +contribute little, since someone else would surely do them; difficult +ports such as adding a new \s-1CPU\s0 to the \s-1GNU\s0 Compiler Collection contribute more; +major new features or packages contribute the most. +.PP +By establishing the idea that supporting further development is ``the +proper thing to do'' when distributing free software for a fee, we can +assure a steady flow of resources into making more free software. +.SH "SEE ALSO" +.IX Header "SEE ALSO" +\&\fIgpl\fR\|(7), \fIgfdl\fR\|(7). +.SH "COPYRIGHT" +.IX Header "COPYRIGHT" +Copyright (c) 1994 Free Software Foundation, Inc. +Verbatim copying and redistribution of this section is permitted +without royalty; alteration is not permitted. diff --git a/gnu/dist/gcc/gcc/doc/gfdl.7 b/gnu/dist/gcc/gcc/doc/gfdl.7 new file mode 100644 index 000000000000..65c2a6231040 --- /dev/null +++ b/gnu/dist/gcc/gcc/doc/gfdl.7 @@ -0,0 +1,568 @@ +.\" Automatically generated by Pod::Man version 1.15 +.\" Tue Feb 10 08:31:41 2004 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading +.br +.if t .Sp +.ne 5 +.PP +\fB\\$1\fR +.PP +.. +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Ip \" List item +.br +.ie \\n(.$>=3 .ne \\$3 +.el .ne 3 +.IP "\\$1" \\$2 +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R + +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> +.tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +'br\} +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. nr % 0 +. rr F +.\} +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.if n .na +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. +.bd B 3 +. \" fudge factors for nroff and troff +.if n \{\ +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP +.\} +.if t \{\ +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& +.\} +. \" simple accents for nroff and troff +.if n \{\ +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / +.\} +.if t \{\ +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' +.\} +. \" troff and (daisy-wheel) nroff accents +.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' +.ds 8 \h'\*(#H'\(*b\h'-\*(#H' +.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] +.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' +.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' +.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] +.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] +.ds ae a\h'-(\w'a'u*4/10)'e +.ds Ae A\h'-(\w'A'u*4/10)'E +. \" corrections for vroff +.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' +.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' +. \" for low resolution devices (crt and lpr) +.if \n(.H>23 .if \n(.V>19 \ +\{\ +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE +.\} +.rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "gfdl 7" +.TH gfdl 7 "gcc-3.3.3" "2004-02-10" "GNU" +.UC +.SH "NAME" +gfdl \- \s-1GNU\s0 Free Documentation License +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +.Sh "\s-1GNU\s0 Free Documentation License" +.IX Subsection "GNU Free Documentation License" +.Sh "Version 1.2, November 2002" +.IX Subsection "Version 1.2, November 2002" +.Vb 2 +\& Copyright (c) 2000,2001,2002 Free Software Foundation, Inc. +\& 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA +.Ve +.Vb 2 +\& Everyone is permitted to copy and distribute verbatim copies +\& of this license document, but changing it is not allowed. +.Ve +.Ip "0." 4 +\&\s-1PREAMBLE\s0 +.Sp +The purpose of this License is to make a manual, textbook, or other +functional and useful document \fIfree\fR in the sense of freedom: to +assure everyone the effective freedom to copy and redistribute it, +with or without modifying it, either commercially or noncommercially. +Secondarily, this License preserves for the author and publisher a way +to get credit for their work, while not being considered responsible +for modifications made by others. +.Sp +This License is a kind of ``copyleft'', which means that derivative +works of the document must themselves be free in the same sense. It +complements the \s-1GNU\s0 General Public License, which is a copyleft +license designed for free software. +.Sp +We have designed this License in order to use it for manuals for free +software, because free software needs free documentation: a free +program should come with manuals providing the same freedoms that the +software does. But this License is not limited to software manuals; +it can be used for any textual work, regardless of subject matter or +whether it is published as a printed book. We recommend this License +principally for works whose purpose is instruction or reference. +.Ip "1." 4 +\&\s-1APPLICABILITY\s0 \s-1AND\s0 \s-1DEFINITIONS\s0 +.Sp +This License applies to any manual or other work, in any medium, that +contains a notice placed by the copyright holder saying it can be +distributed under the terms of this License. Such a notice grants a +world-wide, royalty-free license, unlimited in duration, to use that +work under the conditions stated herein. The ``Document'', below, +refers to any such manual or work. Any member of the public is a +licensee, and is addressed as ``you''. You accept the license if you +copy, modify or distribute the work in a way requiring permission +under copyright law. +.Sp +A ``Modified Version'' of the Document means any work containing the +Document or a portion of it, either copied verbatim, or with +modifications and/or translated into another language. +.Sp +A ``Secondary Section'' is a named appendix or a front-matter section +of the Document that deals exclusively with the relationship of the +publishers or authors of the Document to the Document's overall +subject (or to related matters) and contains nothing that could fall +directly within that overall subject. (Thus, if the Document is in +part a textbook of mathematics, a Secondary Section may not explain +any mathematics.) The relationship could be a matter of historical +connection with the subject or with related matters, or of legal, +commercial, philosophical, ethical or political position regarding +them. +.Sp +The ``Invariant Sections'' are certain Secondary Sections whose titles +are designated, as being those of Invariant Sections, in the notice +that says that the Document is released under this License. If a +section does not fit the above definition of Secondary then it is not +allowed to be designated as Invariant. The Document may contain zero +Invariant Sections. If the Document does not identify any Invariant +Sections then there are none. +.Sp +The ``Cover Texts'' are certain short passages of text that are listed, +as Front-Cover Texts or Back-Cover Texts, in the notice that says that +the Document is released under this License. A Front-Cover Text may +be at most 5 words, and a Back-Cover Text may be at most 25 words. +.Sp +A ``Transparent'' copy of the Document means a machine-readable copy, +represented in a format whose specification is available to the +general public, that is suitable for revising the document +straightforwardly with generic text editors or (for images composed of +pixels) generic paint programs or (for drawings) some widely available +drawing editor, and that is suitable for input to text formatters or +for automatic translation to a variety of formats suitable for input +to text formatters. A copy made in an otherwise Transparent file +format whose markup, or absence of markup, has been arranged to thwart +or discourage subsequent modification by readers is not Transparent. +An image format is not Transparent if used for any substantial amount +of text. A copy that is not ``Transparent'' is called ``Opaque''. +.Sp +Examples of suitable formats for Transparent copies include plain +\&\s-1ASCII\s0 without markup, Texinfo input format, LaTeX input +format, \f(CW@acronym\fR{\s-1SGML\s0} or \f(CW@acronym\fR{\s-1XML\s0} using a publicly available +\&\f(CW@acronym\fR{\s-1DTD\s0}, and standard-conforming simple \f(CW@acronym\fR{\s-1HTML\s0}, +PostScript or \f(CW@acronym\fR{\s-1PDF\s0} designed for human modification. Examples +of transparent image formats include \f(CW@acronym\fR{\s-1PNG\s0}, \f(CW@acronym\fR{\s-1XCF\s0} and +\&\f(CW@acronym\fR{\s-1JPG\s0}. Opaque formats include proprietary formats that can be +read and edited only by proprietary word processors, \f(CW@acronym\fR{\s-1SGML\s0} or +\&\f(CW@acronym\fR{\s-1XML\s0} for which the \f(CW@acronym\fR{\s-1DTD\s0} and/or processing tools are +not generally available, and the machine-generated \f(CW@acronym\fR{\s-1HTML\s0}, +PostScript or \f(CW@acronym\fR{\s-1PDF\s0} produced by some word processors for +output purposes only. +.Sp +The ``Title Page'' means, for a printed book, the title page itself, +plus such following pages as are needed to hold, legibly, the material +this License requires to appear in the title page. For works in +formats which do not have any title page as such, ``Title Page'' means +the text near the most prominent appearance of the work's title, +preceding the beginning of the body of the text. +.Sp +A section ``Entitled \s-1XYZ\s0'' means a named subunit of the Document whose +title either is precisely \s-1XYZ\s0 or contains \s-1XYZ\s0 in parentheses following +text that translates \s-1XYZ\s0 in another language. (Here \s-1XYZ\s0 stands for a +specific section name mentioned below, such as ``Acknowledgements'', +``Dedications'', ``Endorsements'', or ``History''.) To ``Preserve the Title'' +of such a section when you modify the Document means that it remains a +section ``Entitled \s-1XYZ\s0'' according to this definition. +.Sp +The Document may include Warranty Disclaimers next to the notice which +states that this License applies to the Document. These Warranty +Disclaimers are considered to be included by reference in this +License, but only as regards disclaiming warranties: any other +implication that these Warranty Disclaimers may have is void and has +no effect on the meaning of this License. +.Ip "2." 4 +\&\s-1VERBATIM\s0 \s-1COPYING\s0 +.Sp +You may copy and distribute the Document in any medium, either +commercially or noncommercially, provided that this License, the +copyright notices, and the license notice saying this License applies +to the Document are reproduced in all copies, and that you add no other +conditions whatsoever to those of this License. You may not use +technical measures to obstruct or control the reading or further +copying of the copies you make or distribute. However, you may accept +compensation in exchange for copies. If you distribute a large enough +number of copies you must also follow the conditions in section 3. +.Sp +You may also lend copies, under the same conditions stated above, and +you may publicly display copies. +.Ip "3." 4 +\&\s-1COPYING\s0 \s-1IN\s0 \s-1QUANTITY\s0 +.Sp +If you publish printed copies (or copies in media that commonly have +printed covers) of the Document, numbering more than 100, and the +Document's license notice requires Cover Texts, you must enclose the +copies in covers that carry, clearly and legibly, all these Cover +Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on +the back cover. Both covers must also clearly and legibly identify +you as the publisher of these copies. The front cover must present +the full title with all words of the title equally prominent and +visible. You may add other material on the covers in addition. +Copying with changes limited to the covers, as long as they preserve +the title of the Document and satisfy these conditions, can be treated +as verbatim copying in other respects. +.Sp +If the required texts for either cover are too voluminous to fit +legibly, you should put the first ones listed (as many as fit +reasonably) on the actual cover, and continue the rest onto adjacent +pages. +.Sp +If you publish or distribute Opaque copies of the Document numbering +more than 100, you must either include a machine-readable Transparent +copy along with each Opaque copy, or state in or with each Opaque copy +a computer-network location from which the general network-using +public has access to download using public-standard network protocols +a complete Transparent copy of the Document, free of added material. +If you use the latter option, you must take reasonably prudent steps, +when you begin distribution of Opaque copies in quantity, to ensure +that this Transparent copy will remain thus accessible at the stated +location until at least one year after the last time you distribute an +Opaque copy (directly or through your agents or retailers) of that +edition to the public. +.Sp +It is requested, but not required, that you contact the authors of the +Document well before redistributing any large number of copies, to give +them a chance to provide you with an updated version of the Document. +.Ip "4." 4 +\&\s-1MODIFICATIONS\s0 +.Sp +You may copy and distribute a Modified Version of the Document under +the conditions of sections 2 and 3 above, provided that you release +the Modified Version under precisely this License, with the Modified +Version filling the role of the Document, thus licensing distribution +and modification of the Modified Version to whoever possesses a copy +of it. In addition, you must do these things in the Modified Version: +.RS 4 +.Ip "A." 4 +Use in the Title Page (and on the covers, if any) a title distinct +from that of the Document, and from those of previous versions +(which should, if there were any, be listed in the History section +of the Document). You may use the same title as a previous version +if the original publisher of that version gives permission. +.Ip "B." 4 +List on the Title Page, as authors, one or more persons or entities +responsible for authorship of the modifications in the Modified +Version, together with at least five of the principal authors of the +Document (all of its principal authors, if it has fewer than five), +unless they release you from this requirement. +.Ip "C." 4 +State on the Title page the name of the publisher of the +Modified Version, as the publisher. +.Ip "D." 4 +Preserve all the copyright notices of the Document. +.Ip "E." 4 +Add an appropriate copyright notice for your modifications +adjacent to the other copyright notices. +.Ip "F." 4 +Include, immediately after the copyright notices, a license notice +giving the public permission to use the Modified Version under the +terms of this License, in the form shown in the Addendum below. +.Ip "G." 4 +Preserve in that license notice the full lists of Invariant Sections +and required Cover Texts given in the Document's license notice. +.Ip "H." 4 +Include an unaltered copy of this License. +.Ip "I." 4 +Preserve the section Entitled ``History'', Preserve its Title, and add +to it an item stating at least the title, year, new authors, and +publisher of the Modified Version as given on the Title Page. If +there is no section Entitled ``History'' in the Document, create one +stating the title, year, authors, and publisher of the Document as +given on its Title Page, then add an item describing the Modified +Version as stated in the previous sentence. +.Ip "J." 4 +Preserve the network location, if any, given in the Document for +public access to a Transparent copy of the Document, and likewise +the network locations given in the Document for previous versions +it was based on. These may be placed in the ``History'' section. +You may omit a network location for a work that was published at +least four years before the Document itself, or if the original +publisher of the version it refers to gives permission. +.Ip "K." 4 +For any section Entitled ``Acknowledgements'' or ``Dedications'', Preserve +the Title of the section, and preserve in the section all the +substance and tone of each of the contributor acknowledgements and/or +dedications given therein. +.Ip "L." 4 +Preserve all the Invariant Sections of the Document, +unaltered in their text and in their titles. Section numbers +or the equivalent are not considered part of the section titles. +.Ip "M." 4 +Delete any section Entitled ``Endorsements''. Such a section +may not be included in the Modified Version. +.Ip "N." 4 +Do not retitle any existing section to be Entitled ``Endorsements'' or +to conflict in title with any Invariant Section. +.Ip "O." 4 +Preserve any Warranty Disclaimers. +.RE +.RS 4 +.Sp +If the Modified Version includes new front-matter sections or +appendices that qualify as Secondary Sections and contain no material +copied from the Document, you may at your option designate some or all +of these sections as invariant. To do this, add their titles to the +list of Invariant Sections in the Modified Version's license notice. +These titles must be distinct from any other section titles. +.Sp +You may add a section Entitled ``Endorsements'', provided it contains +nothing but endorsements of your Modified Version by various +parties\-\-\-for example, statements of peer review or that the text has +been approved by an organization as the authoritative definition of a +standard. +.Sp +You may add a passage of up to five words as a Front-Cover Text, and a +passage of up to 25 words as a Back-Cover Text, to the end of the list +of Cover Texts in the Modified Version. Only one passage of +Front-Cover Text and one of Back-Cover Text may be added by (or +through arrangements made by) any one entity. If the Document already +includes a cover text for the same cover, previously added by you or +by arrangement made by the same entity you are acting on behalf of, +you may not add another; but you may replace the old one, on explicit +permission from the previous publisher that added the old one. +.Sp +The \fIauthor\fR\|(s) and \fIpublisher\fR\|(s) of the Document do not by this License +give permission to use their names for publicity for or to assert or +imply endorsement of any Modified Version. +.RE +.Ip "5." 4 +\&\s-1COMBINING\s0 \s-1DOCUMENTS\s0 +.Sp +You may combine the Document with other documents released under this +License, under the terms defined in section 4 above for modified +versions, provided that you include in the combination all of the +Invariant Sections of all of the original documents, unmodified, and +list them all as Invariant Sections of your combined work in its +license notice, and that you preserve all their Warranty Disclaimers. +.Sp +The combined work need only contain one copy of this License, and +multiple identical Invariant Sections may be replaced with a single +copy. If there are multiple Invariant Sections with the same name but +different contents, make the title of each such section unique by +adding at the end of it, in parentheses, the name of the original +author or publisher of that section if known, or else a unique number. +Make the same adjustment to the section titles in the list of +Invariant Sections in the license notice of the combined work. +.Sp +In the combination, you must combine any sections Entitled ``History'' +in the various original documents, forming one section Entitled +``History''; likewise combine any sections Entitled ``Acknowledgements'', +and any sections Entitled ``Dedications''. You must delete all +sections Entitled ``Endorsements.'' +.Ip "6." 4 +\&\s-1COLLECTIONS\s0 \s-1OF\s0 \s-1DOCUMENTS\s0 +.Sp +You may make a collection consisting of the Document and other documents +released under this License, and replace the individual copies of this +License in the various documents with a single copy that is included in +the collection, provided that you follow the rules of this License for +verbatim copying of each of the documents in all other respects. +.Sp +You may extract a single document from such a collection, and distribute +it individually under this License, provided you insert a copy of this +License into the extracted document, and follow this License in all +other respects regarding verbatim copying of that document. +.Ip "7." 4 +\&\s-1AGGREGATION\s0 \s-1WITH\s0 \s-1INDEPENDENT\s0 \s-1WORKS\s0 +.Sp +A compilation of the Document or its derivatives with other separate +and independent documents or works, in or on a volume of a storage or +distribution medium, is called an ``aggregate'' if the copyright +resulting from the compilation is not used to limit the legal rights +of the compilation's users beyond what the individual works permit. +When the Document is included an aggregate, this License does not +apply to the other works in the aggregate which are not themselves +derivative works of the Document. +.Sp +If the Cover Text requirement of section 3 is applicable to these +copies of the Document, then if the Document is less than one half of +the entire aggregate, the Document's Cover Texts may be placed on +covers that bracket the Document within the aggregate, or the +electronic equivalent of covers if the Document is in electronic form. +Otherwise they must appear on printed covers that bracket the whole +aggregate. +.Ip "8." 4 +\&\s-1TRANSLATION\s0 +.Sp +Translation is considered a kind of modification, so you may +distribute translations of the Document under the terms of section 4. +Replacing Invariant Sections with translations requires special +permission from their copyright holders, but you may include +translations of some or all Invariant Sections in addition to the +original versions of these Invariant Sections. You may include a +translation of this License, and all the license notices in the +Document, and any Warrany Disclaimers, provided that you also include +the original English version of this License and the original versions +of those notices and disclaimers. In case of a disagreement between +the translation and the original version of this License or a notice +or disclaimer, the original version will prevail. +.Sp +If a section in the Document is Entitled ``Acknowledgements'', +``Dedications'', or ``History'', the requirement (section 4) to Preserve +its Title (section 1) will typically require changing the actual +title. +.Ip "9." 4 +\&\s-1TERMINATION\s0 +.Sp +You may not copy, modify, sublicense, or distribute the Document except +as expressly provided for under this License. Any other attempt to +copy, modify, sublicense or distribute the Document is void, and will +automatically terminate your rights under this License. However, +parties who have received copies, or rights, from you under this +License will not have their licenses terminated so long as such +parties remain in full compliance. +.Ip "10." 4 +.IX Item "10." +\&\s-1FUTURE\s0 \s-1REVISIONS\s0 \s-1OF\s0 \s-1THIS\s0 \s-1LICENSE\s0 +.Sp +The Free Software Foundation may publish new, revised versions +of the \s-1GNU\s0 Free Documentation License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. See +<\fBhttp://www.gnu.org/copyleft/\fR>. +.Sp +Each version of the License is given a distinguishing version number. +If the Document specifies that a particular numbered version of this +License ``or any later version'' applies to it, you have the option of +following the terms and conditions either of that specified version or +of any later version that has been published (not as a draft) by the +Free Software Foundation. If the Document does not specify a version +number of this License, you may choose any version ever published (not +as a draft) by the Free Software Foundation. +.Sh "\s-1ADDENDUM:\s0 How to use this License for your documents" +.IX Subsection "ADDENDUM: How to use this License for your documents" +To use this License in a document you have written, include a copy of +the License in the document and put the following copyright and +license notices just after the title page: +.PP +.Vb 7 +\& Copyright (C) . +\& Permission is granted to copy, distribute and/or modify this document +\& under the terms of the GNU Free Documentation License, Version 1.2 +\& or any later version published by the Free Software Foundation; +\& with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +\& A copy of the license is included in the section entitled ``GNU +\& Free Documentation License''. +.Ve +If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, +replace the ``with...Texts.'' line with this: +.PP +.Vb 3 +\& with the Invariant Sections being , with +\& the Front-Cover Texts being , and with the Back-Cover Texts +\& being . +.Ve +If you have Invariant Sections without Cover Texts, or some other +combination of the three, merge those two alternatives to suit the +situation. +.PP +If your document contains nontrivial examples of program code, we +recommend releasing these examples in parallel under your choice of +free software license, such as the \s-1GNU\s0 General Public License, +to permit their use in free software. +.SH "SEE ALSO" +.IX Header "SEE ALSO" +\&\fIgpl\fR\|(7), \fIfsf-funding\fR\|(7). +.SH "COPYRIGHT" +.IX Header "COPYRIGHT" +Copyright (c) 2000 Free Software Foundation, Inc. +59 Temple Place, Suite 330, Boston, \s-1MA\s0 02111\-1307, \s-1USA\s0 +.PP +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. diff --git a/gnu/dist/gcc/gcc/doc/gpl.7 b/gnu/dist/gcc/gcc/doc/gpl.7 new file mode 100644 index 000000000000..7779a8acc01f --- /dev/null +++ b/gnu/dist/gcc/gcc/doc/gpl.7 @@ -0,0 +1,528 @@ +.\" Automatically generated by Pod::Man version 1.15 +.\" Tue Feb 10 08:31:42 2004 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading +.br +.if t .Sp +.ne 5 +.PP +\fB\\$1\fR +.PP +.. +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Ip \" List item +.br +.ie \\n(.$>=3 .ne \\$3 +.el .ne 3 +.IP "\\$1" \\$2 +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R + +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> +.tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +'br\} +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. nr % 0 +. rr F +.\} +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.if n .na +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. +.bd B 3 +. \" fudge factors for nroff and troff +.if n \{\ +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP +.\} +.if t \{\ +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& +.\} +. \" simple accents for nroff and troff +.if n \{\ +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / +.\} +.if t \{\ +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' +.\} +. \" troff and (daisy-wheel) nroff accents +.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' +.ds 8 \h'\*(#H'\(*b\h'-\*(#H' +.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] +.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' +.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' +.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] +.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] +.ds ae a\h'-(\w'a'u*4/10)'e +.ds Ae A\h'-(\w'A'u*4/10)'E +. \" corrections for vroff +.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' +.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' +. \" for low resolution devices (crt and lpr) +.if \n(.H>23 .if \n(.V>19 \ +\{\ +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE +.\} +.rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "gpl 7" +.TH gpl 7 "gcc-3.3.3" "2004-02-10" "GNU" +.UC +.SH "NAME" +gpl \- \s-1GNU\s0 General Public License +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +.Sh "\s-1GNU\s0 \s-1GENERAL\s0 \s-1PUBLIC\s0 \s-1LICENSE\s0" +.IX Subsection "GNU GENERAL PUBLIC LICENSE" +.Sh "Version 2, June 1991" +.IX Subsection "Version 2, June 1991" +.Vb 2 +\& Copyright (c) 1989, 1991 Free Software Foundation, Inc. +\& 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA +.Ve +.Vb 2 +\& Everyone is permitted to copy and distribute verbatim copies +\& of this license document, but changing it is not allowed. +.Ve +.Sh "Preamble" +.IX Subsection "Preamble" +.Vb 9 +\& The licenses for most software are designed to take away your +\&freedom to share and change it. By contrast, the GNU General Public +\&License is intended to guarantee your freedom to share and change free +\&software---to make sure the software is free for all its users. This +\&General Public License applies to most of the Free Software +\&Foundation's software and to any other program whose authors commit to +\&using it. (Some other Free Software Foundation software is covered by +\&the GNU Library General Public License instead.) You can apply it to +\&your programs, too. +.Ve +.Vb 6 +\& When we speak of free software, we are referring to freedom, not +\&price. Our General Public Licenses are designed to make sure that you +\&have the freedom to distribute copies of free software (and charge for +\&this service if you wish), that you receive source code or can get it +\&if you want it, that you can change the software or use pieces of it +\&in new free programs; and that you know you can do these things. +.Ve +.Vb 4 +\& To protect your rights, we need to make restrictions that forbid +\&anyone to deny you these rights or to ask you to surrender the rights. +\&These restrictions translate to certain responsibilities for you if you +\&distribute copies of the software, or if you modify it. +.Ve +.Vb 5 +\& For example, if you distribute copies of such a program, whether +\&gratis or for a fee, you must give the recipients all the rights that +\&you have. You must make sure that they, too, receive or can get the +\&source code. And you must show them these terms so they know their +\&rights. +.Ve +.Vb 3 +\& We protect your rights with two steps: (1) copyright the software, and +\&(2) offer you this license which gives you legal permission to copy, +\&distribute and/or modify the software. +.Ve +.Vb 6 +\& Also, for each author's protection and ours, we want to make certain +\&that everyone understands that there is no warranty for this free +\&software. If the software is modified by someone else and passed on, we +\&want its recipients to know that what they have is not the original, so +\&that any problems introduced by others will not reflect on the original +\&authors' reputations. +.Ve +.Vb 5 +\& Finally, any free program is threatened constantly by software +\&patents. We wish to avoid the danger that redistributors of a free +\&program will individually obtain patent licenses, in effect making the +\&program proprietary. To prevent this, we have made it clear that any +\&patent must be licensed for everyone's free use or not licensed at all. +.Ve +.Vb 2 +\& The precise terms and conditions for copying, distribution and +\&modification follow. +.Ve +.Sh "\s-1TERMS\s0 \s-1AND\s0 \s-1CONDITIONS\s0 \s-1FOR\s0 \s-1COPYING\s0, \s-1DISTRIBUTION\s0 \s-1AND\s0 \s-1MODIFICATION\s0" +.IX Subsection "TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION" +.Ip "0." 4 +This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The ``Program'', below, +refers to any such program or work, and a ``work based on the Program'' +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term ``modification''.) Each licensee is addressed as ``you''. +.Sp +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. +.Ip "1." 4 +You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. +.Sp +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. +.Ip "2." 4 +You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: +.RS 4 +.Ip "a." 4 +You must cause the modified files to carry prominent notices +stating that you changed the files and the date of any change. +.Ip "b." 4 +You must cause any work that you distribute or publish, that in +whole or in part contains or is derived from the Program or any +part thereof, to be licensed as a whole at no charge to all third +parties under the terms of this License. +.Ip "c." 4 +If the modified program normally reads commands interactively +when run, you must cause it, when started running for such +interactive use in the most ordinary way, to print or display an +announcement including an appropriate copyright notice and a +notice that there is no warranty (or else, saying that you provide +a warranty) and that users may redistribute the program under +these conditions, and telling the user how to view a copy of this +License. (Exception: if the Program itself is interactive but +does not normally print such an announcement, your work based on +the Program is not required to print an announcement.) +.RE +.RS 4 +.Sp +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. +.Sp +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. +.Sp +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. +.RE +.Ip "3." 4 +You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: +.RS 4 +.Ip "a." 4 +Accompany it with the complete corresponding machine-readable +source code, which must be distributed under the terms of Sections +1 and 2 above on a medium customarily used for software interchange; or, +.Ip "b." 4 +Accompany it with a written offer, valid for at least three +years, to give any third party, for a charge no more than your +cost of physically performing source distribution, a complete +machine-readable copy of the corresponding source code, to be +distributed under the terms of Sections 1 and 2 above on a medium +customarily used for software interchange; or, +.Ip "c." 4 +Accompany it with the information you received as to the offer +to distribute corresponding source code. (This alternative is +allowed only for noncommercial distribution and only if you +received the program in object code or executable form with such +an offer, in accord with Subsection b above.) +.RE +.RS 4 +.Sp +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. +.Sp +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. +.RE +.Ip "4." 4 +You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. +.Ip "5." 4 +You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. +.Ip "6." 4 +Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. +.Ip "7." 4 +If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. +.Sp +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. +.Sp +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. +.Sp +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. +.Ip "8." 4 +If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. +.Ip "9." 4 +The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. +.Sp +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and ``any +later version'', you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. +.Ip "10." 4 +.IX Item "10." +If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. +.Sh "\s-1NO\s0 \s-1WARRANTY\s0" +.IX Subsection "NO WARRANTY" +.Ip "11." 4 +.IX Item "11." +\&\s-1BECAUSE\s0 \s-1THE\s0 \s-1PROGRAM\s0 \s-1IS\s0 \s-1LICENSED\s0 \s-1FREE\s0 \s-1OF\s0 \s-1CHARGE\s0, \s-1THERE\s0 \s-1IS\s0 \s-1NO\s0 \s-1WARRANTY\s0 +\&\s-1FOR\s0 \s-1THE\s0 \s-1PROGRAM\s0, \s-1TO\s0 \s-1THE\s0 \s-1EXTENT\s0 \s-1PERMITTED\s0 \s-1BY\s0 \s-1APPLICABLE\s0 \s-1LAW\s0. \s-1EXCEPT\s0 \s-1WHEN\s0 +\&\s-1OTHERWISE\s0 \s-1STATED\s0 \s-1IN\s0 \s-1WRITING\s0 \s-1THE\s0 \s-1COPYRIGHT\s0 \s-1HOLDERS\s0 \s-1AND/OR\s0 \s-1OTHER\s0 \s-1PARTIES\s0 +\&\s-1PROVIDE\s0 \s-1THE\s0 \s-1PROGRAM\s0 ``\s-1AS\s0 \s-1IS\s0'' \s-1WITHOUT\s0 \s-1WARRANTY\s0 \s-1OF\s0 \s-1ANY\s0 \s-1KIND\s0, \s-1EITHER\s0 \s-1EXPRESSED\s0 +\&\s-1OR\s0 \s-1IMPLIED\s0, \s-1INCLUDING\s0, \s-1BUT\s0 \s-1NOT\s0 \s-1LIMITED\s0 \s-1TO\s0, \s-1THE\s0 \s-1IMPLIED\s0 \s-1WARRANTIES\s0 \s-1OF\s0 +\&\s-1MERCHANTABILITY\s0 \s-1AND\s0 \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0. \s-1THE\s0 \s-1ENTIRE\s0 \s-1RISK\s0 \s-1AS\s0 +\&\s-1TO\s0 \s-1THE\s0 \s-1QUALITY\s0 \s-1AND\s0 \s-1PERFORMANCE\s0 \s-1OF\s0 \s-1THE\s0 \s-1PROGRAM\s0 \s-1IS\s0 \s-1WITH\s0 \s-1YOU\s0. \s-1SHOULD\s0 \s-1THE\s0 +\&\s-1PROGRAM\s0 \s-1PROVE\s0 \s-1DEFECTIVE\s0, \s-1YOU\s0 \s-1ASSUME\s0 \s-1THE\s0 \s-1COST\s0 \s-1OF\s0 \s-1ALL\s0 \s-1NECESSARY\s0 \s-1SERVICING\s0, +\&\s-1REPAIR\s0 \s-1OR\s0 \s-1CORRECTION\s0. +.Ip "12." 4 +.IX Item "12." +\&\s-1IN\s0 \s-1NO\s0 \s-1EVENT\s0 \s-1UNLESS\s0 \s-1REQUIRED\s0 \s-1BY\s0 \s-1APPLICABLE\s0 \s-1LAW\s0 \s-1OR\s0 \s-1AGREED\s0 \s-1TO\s0 \s-1IN\s0 \s-1WRITING\s0 +\&\s-1WILL\s0 \s-1ANY\s0 \s-1COPYRIGHT\s0 \s-1HOLDER\s0, \s-1OR\s0 \s-1ANY\s0 \s-1OTHER\s0 \s-1PARTY\s0 \s-1WHO\s0 \s-1MAY\s0 \s-1MODIFY\s0 \s-1AND/OR\s0 +\&\s-1REDISTRIBUTE\s0 \s-1THE\s0 \s-1PROGRAM\s0 \s-1AS\s0 \s-1PERMITTED\s0 \s-1ABOVE\s0, \s-1BE\s0 \s-1LIABLE\s0 \s-1TO\s0 \s-1YOU\s0 \s-1FOR\s0 \s-1DAMAGES\s0, +\&\s-1INCLUDING\s0 \s-1ANY\s0 \s-1GENERAL\s0, \s-1SPECIAL\s0, \s-1INCIDENTAL\s0 \s-1OR\s0 \s-1CONSEQUENTIAL\s0 \s-1DAMAGES\s0 \s-1ARISING\s0 +\&\s-1OUT\s0 \s-1OF\s0 \s-1THE\s0 \s-1USE\s0 \s-1OR\s0 \s-1INABILITY\s0 \s-1TO\s0 \s-1USE\s0 \s-1THE\s0 \s-1PROGRAM\s0 (\s-1INCLUDING\s0 \s-1BUT\s0 \s-1NOT\s0 \s-1LIMITED\s0 +\&\s-1TO\s0 \s-1LOSS\s0 \s-1OF\s0 \s-1DATA\s0 \s-1OR\s0 \s-1DATA\s0 \s-1BEING\s0 \s-1RENDERED\s0 \s-1INACCURATE\s0 \s-1OR\s0 \s-1LOSSES\s0 \s-1SUSTAINED\s0 \s-1BY\s0 +\&\s-1YOU\s0 \s-1OR\s0 \s-1THIRD\s0 \s-1PARTIES\s0 \s-1OR\s0 A \s-1FAILURE\s0 \s-1OF\s0 \s-1THE\s0 \s-1PROGRAM\s0 \s-1TO\s0 \s-1OPERATE\s0 \s-1WITH\s0 \s-1ANY\s0 \s-1OTHER\s0 +\&\s-1PROGRAMS\s0), \s-1EVEN\s0 \s-1IF\s0 \s-1SUCH\s0 \s-1HOLDER\s0 \s-1OR\s0 \s-1OTHER\s0 \s-1PARTY\s0 \s-1HAS\s0 \s-1BEEN\s0 \s-1ADVISED\s0 \s-1OF\s0 \s-1THE\s0 +\&\s-1POSSIBILITY\s0 \s-1OF\s0 \s-1SUCH\s0 \s-1DAMAGES\s0. +.Sh "\s-1END\s0 \s-1OF\s0 \s-1TERMS\s0 \s-1AND\s0 \s-1CONDITIONS\s0" +.IX Subsection "END OF TERMS AND CONDITIONS" +.Sh "How to Apply These Terms to Your New Programs" +.IX Subsection "How to Apply These Terms to Your New Programs" +.Vb 3 +\& If you develop a new program, and you want it to be of the greatest +\&possible use to the public, the best way to achieve this is to make it +\&free software which everyone can redistribute and change under these terms. +.Ve +.Vb 4 +\& To do so, attach the following notices to the program. It is safest +\&to attach them to the start of each source file to most effectively +\&convey the exclusion of warranty; and each file should have at least +\&the ``copyright'' line and a pointer to where the full notice is found. +.Ve +.Vb 2 +\& +\& Copyright (C) +.Ve +.Vb 4 +\& This program is free software; you can redistribute it and/or modify +\& it under the terms of the GNU General Public License as published by +\& the Free Software Foundation; either version 2 of the License, or +\& (at your option) any later version. +.Ve +.Vb 4 +\& 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. +.Ve +.Vb 3 +\& 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +.Ve +Also add information on how to contact you by electronic and paper mail. +.PP +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: +.PP +.Vb 5 +\& Gnomovision version 69, Copyright (C) +\& Gnomovision comes with ABSOLUTELY NO WARRANTY; for details +\& type `show w'. +\& This is free software, and you are welcome to redistribute it +\& under certain conditions; type `show c' for details. +.Ve +The hypothetical commands \fBshow w\fR and \fBshow c\fR should show +the appropriate parts of the General Public License. Of course, the +commands you use may be called something other than \fBshow w\fR and +\&\fBshow c\fR; they could even be mouse-clicks or menu items\-\-\-whatever +suits your program. +.PP +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a ``copyright disclaimer'' for the program, if +necessary. Here is a sample; alter the names: +.PP +.Vb 2 +\& Yoyodyne, Inc., hereby disclaims all copyright interest in the program +\& `Gnomovision' (which makes passes at compilers) written by James Hacker. +.Ve +.Vb 2 +\& , 1 April 1989 +\& Ty Coon, President of Vice +.Ve +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the \s-1GNU\s0 Library General +Public License instead of this License. +.SH "SEE ALSO" +.IX Header "SEE ALSO" +\&\fIgfdl\fR\|(7), \fIfsf-funding\fR\|(7). +.SH "COPYRIGHT" +.IX Header "COPYRIGHT" +Copyright (c) 1989, 1991 Free Software Foundation, Inc. +59 Temple Place \- Suite 330, Boston, \s-1MA\s0 02111\-1307, \s-1USA\s0 +.PP +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. diff --git a/gnu/dist/gcc/gcc/gengtype-lex.c b/gnu/dist/gcc/gcc/gengtype-lex.c new file mode 100644 index 000000000000..dc1aae8fd548 --- /dev/null +++ b/gnu/dist/gcc/gcc/gengtype-lex.c @@ -0,0 +1,3061 @@ +#line 2 "/home/mrg/merge/src/gnu/dist/gcc/gcc/gengtype-lex.c" +/* A lexical scanner generated by flex */ + +/* Scanner skeleton version: + * $NetBSD: gengtype-lex.c,v 1.3 2004/02/10 13:41:16 mrg Exp $ + */ + +#define FLEX_SCANNER +#define YY_FLEX_MAJOR_VERSION 2 +#define YY_FLEX_MINOR_VERSION 5 + +#include + + +/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ +#ifdef c_plusplus +#ifndef __cplusplus +#define __cplusplus +#endif +#endif + + +#ifdef __cplusplus + +#include +#include + +/* Use prototypes in function declarations. */ +#define YY_USE_PROTOS + +/* The "const" storage-class-modifier is valid. */ +#define YY_USE_CONST + +#else /* ! __cplusplus */ + +#if __STDC__ + +#define YY_USE_PROTOS +#define YY_USE_CONST + +#endif /* __STDC__ */ +#endif /* ! __cplusplus */ + +#ifdef __TURBOC__ + #pragma warn -rch + #pragma warn -use +#include +#include +#define YY_USE_CONST +#define YY_USE_PROTOS +#endif + +#ifdef YY_USE_CONST +#define yyconst const +#else +#define yyconst +#endif + + +#ifdef YY_USE_PROTOS +#define YY_PROTO(proto) proto +#else +#define YY_PROTO(proto) () +#endif + +/* Returned upon end-of-file. */ +#define YY_NULL 0 + +/* Promotes a possibly negative, possibly signed char to an unsigned + * integer for use as an array index. If the signed char is negative, + * we want to instead treat it as an 8-bit unsigned char, hence the + * double cast. + */ +#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) + +/* Enter a start condition. This macro really ought to take a parameter, + * but we do it the disgusting crufty way forced on us by the ()-less + * definition of BEGIN. + */ +#define BEGIN yy_start = 1 + 2 * + +/* Translate the current start state into a value that can be later handed + * to BEGIN to return to the state. The YYSTATE alias is for lex + * compatibility. + */ +#define YY_START ((yy_start - 1) / 2) +#define YYSTATE YY_START + +/* Action number for EOF rule of a given start state. */ +#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) + +/* Special action meaning "start processing a new file". */ +#define YY_NEW_FILE yyrestart( yyin ) + +#define YY_END_OF_BUFFER_CHAR 0 + +/* Size of default input buffer. */ +#define YY_BUF_SIZE 16384 + +typedef struct yy_buffer_state *YY_BUFFER_STATE; + +extern int yyleng; +extern FILE *yyin, *yyout; + +#define EOB_ACT_CONTINUE_SCAN 0 +#define EOB_ACT_END_OF_FILE 1 +#define EOB_ACT_LAST_MATCH 2 + +/* The funky do-while in the following #define is used to turn the definition + * int a single C statement (which needs a semi-colon terminator). This + * avoids problems with code like: + * + * if ( condition_holds ) + * yyless( 5 ); + * else + * do_something_else(); + * + * Prior to using the do-while the compiler would get upset at the + * "else" because it interpreted the "if" statement as being all + * done when it reached the ';' after the yyless() call. + */ + +/* Return all but the first 'n' matched characters back to the input stream. */ + +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up yytext. */ \ + *yy_cp = yy_hold_char; \ + YY_RESTORE_YY_MORE_OFFSET \ + yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ + YY_DO_BEFORE_ACTION; /* set up yytext again */ \ + } \ + while ( 0 ) + +#define unput(c) yyunput( c, yytext_ptr ) + +/* The following is because we cannot portably get our hands on size_t + * (without autoconf's help, which isn't available because we want + * flex-generated scanners to compile on their own). + */ +typedef unsigned int yy_size_t; + + +struct yy_buffer_state + { + FILE *yy_input_file; + + char *yy_ch_buf; /* input buffer */ + char *yy_buf_pos; /* current position in input buffer */ + + /* Size of input buffer in bytes, not including room for EOB + * characters. + */ + yy_size_t yy_buf_size; + + /* Number of characters read into yy_ch_buf, not including EOB + * characters. + */ + int yy_n_chars; + + /* Whether we "own" the buffer - i.e., we know we created it, + * and can realloc() it to grow it, and should free() it to + * delete it. + */ + int yy_is_our_buffer; + + /* Whether this is an "interactive" input source; if so, and + * if we're using stdio for input, then we want to use getc() + * instead of fread(), to make sure we stop fetching input after + * each newline. + */ + int yy_is_interactive; + + /* Whether we're considered to be at the beginning of a line. + * If so, '^' rules will be active on the next match, otherwise + * not. + */ + int yy_at_bol; + + /* Whether to try to fill the input buffer when we reach the + * end of it. + */ + int yy_fill_buffer; + + int yy_buffer_status; +#define YY_BUFFER_NEW 0 +#define YY_BUFFER_NORMAL 1 + /* When an EOF's been seen but there's still some text to process + * then we mark the buffer as YY_EOF_PENDING, to indicate that we + * shouldn't try reading from the input source any more. We might + * still have a bunch of tokens to match, though, because of + * possible backing-up. + * + * When we actually see the EOF, we change the status to "new" + * (via yyrestart()), so that the user can continue scanning by + * just pointing yyin at a new input file. + */ +#define YY_BUFFER_EOF_PENDING 2 + }; + +static YY_BUFFER_STATE yy_current_buffer = 0; + +/* We provide macros for accessing buffer states in case in the + * future we want to put the buffer states in a more general + * "scanner state". + */ +#define YY_CURRENT_BUFFER yy_current_buffer + + +/* yy_hold_char holds the character lost when yytext is formed. */ +static char yy_hold_char; + +static int yy_n_chars; /* number of characters read into yy_ch_buf */ + + +int yyleng; + +/* Points to current character in buffer. */ +static char *yy_c_buf_p = (char *) 0; +static int yy_init = 1; /* whether we need to initialize */ +static int yy_start = 0; /* start state number */ + +/* Flag which is used to allow yywrap()'s to do buffer switches + * instead of setting up a fresh yyin. A bit of a hack ... + */ +static int yy_did_buffer_switch_on_eof; + +void yyrestart YY_PROTO(( FILE *input_file )); + +void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); +void yy_load_buffer_state YY_PROTO(( void )); +YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); +void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); +void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); +void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); +#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) + +YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); +YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str )); +YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, yy_size_t len )); + +#define yy_new_buffer yy_create_buffer + +#define yy_set_interactive(is_interactive) \ + { \ + if ( ! yy_current_buffer ) \ + yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ + yy_current_buffer->yy_is_interactive = is_interactive; \ + } + +#define yy_set_bol(at_bol) \ + { \ + if ( ! yy_current_buffer ) \ + yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ + yy_current_buffer->yy_at_bol = at_bol; \ + } + +#define YY_AT_BOL() (yy_current_buffer->yy_at_bol) + + +#define yywrap() 1 +#define YY_SKIP_YYWRAP +typedef unsigned char YY_CHAR; +FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; +typedef int yy_state_type; +extern char *yytext; +#define yytext_ptr yytext + +static void *yy_flex_alloc YY_PROTO(( yy_size_t )); +#ifndef YY_USES_REJECT +static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); +#endif +static void yy_flex_free YY_PROTO(( void * )); + +static yy_state_type yy_get_previous_state YY_PROTO(( void )); +static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); +static int yy_get_next_buffer YY_PROTO(( void )); +static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); + +/* Done after the current pattern has been matched and before the + * corresponding action - sets up yytext. + */ +#define YY_DO_BEFORE_ACTION \ + yytext_ptr = yy_bp; \ + yyleng = (int) (yy_cp - yy_bp); \ + yy_hold_char = *yy_cp; \ + *yy_cp = '\0'; \ + yy_c_buf_p = yy_cp; + +#define YY_NUM_RULES 51 +#define YY_END_OF_BUFFER 52 +static yyconst short int yy_accept[718] = + { 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 52, 34, 31, 49, 34, 49, 34, 32, 34, 29, + 10, 10, 29, 29, 26, 29, 17, 27, 29, 29, + 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, + 29, 29, 39, 37, 50, 50, 45, 43, 48, 0, + 0, 0, 0, 0, 35, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 36, 30, 36, 36, + 36, 36, 32, 0, 10, 0, 22, 0, 0, 0, + 8, 17, 21, 0, 0, 0, 0, 0, 23, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 28, 24, 9, 0, 40, 42, 41, 0, 46, + 47, 0, 0, 0, 0, 0, 0, 0, 0, 33, + 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 12, 0, 0, 0, 19, 19, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 19, 19, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 18, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 16, 0, 0, 6, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 5, 7, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 21, 21, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 20, 0, 0, 38, 44, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, + 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, + 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 5, 0, 4, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 3, 3, 0, 0, 3, 3, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0 + } ; + +static yyconst int yy_ec[256] = + { 0, + 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, + 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 2, 1, 4, 1, 1, 5, 1, 6, 7, + 8, 9, 1, 10, 1, 1, 11, 12, 12, 12, + 12, 12, 12, 12, 12, 12, 12, 10, 13, 10, + 14, 10, 1, 1, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 17, 17, 24, 25, 26, 27, 28, + 17, 29, 30, 31, 32, 17, 33, 17, 34, 17, + 35, 36, 37, 1, 38, 1, 39, 40, 41, 42, + + 43, 44, 45, 46, 47, 17, 17, 48, 49, 50, + 51, 52, 17, 53, 54, 55, 56, 17, 17, 57, + 58, 59, 60, 1, 61, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1 + } ; + +static yyconst int yy_meta[62] = + { 0, + 1, 2, 3, 1, 4, 1, 5, 6, 7, 1, + 1, 8, 9, 1, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 11, 1, 1, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 12, + 1 + } ; + +static yyconst short int yy_base[795] = + { 0, + 0, 61, 122, 2455, 12, 13, 14, 15, 22, 23, + 2459, 0, 3, 45, 48, 39, 3410, 0, 62, 3410, + 17, 27, 40, 2420, 3410, 2433, 2429, 3410, 183, 244, + 7, 5, 2403, 26, 60, 57, 59, 27, 53, 169, + 63, 196, 0, 3410, 2428, 2427, 0, 0, 2376, 2379, + 2380, 2376, 2383, 76, 3410, 0, 202, 205, 203, 226, + 2426, 2428, 33, 208, 206, 192, 3410, 3410, 2373, 2374, + 2370, 2377, 0, 2376, 38, 83, 3410, 2422, 2418, 2420, + 3410, 2405, 3410, 2390, 19, 8, 84, 2378, 3410, 174, + 178, 173, 176, 179, 177, 182, 184, 185, 239, 187, + + 240, 3410, 0, 3410, 0, 3410, 3410, 3410, 0, 3410, + 3410, 2359, 229, 2361, 2365, 263, 267, 265, 274, 3410, + 2363, 3410, 196, 321, 89, 247, 249, 246, 248, 382, + 251, 307, 281, 259, 263, 265, 260, 264, 262, 0, + 0, 0, 2365, 2352, 2350, 2362, 2353, 307, 343, 338, + 332, 361, 2352, 311, 3410, 313, 312, 443, 3410, 418, + 314, 315, 318, 319, 322, 329, 326, 327, 0, 0, + 2349, 2334, 2339, 2337, 2328, 373, 367, 365, 374, 419, + 2326, 267, 200, 504, 3410, 479, 2348, 2323, 2327, 2322, + 2320, 182, 2319, 387, 266, 338, 374, 376, 565, 0, + + 0, 2318, 2324, 2309, 2320, 402, 426, 432, 428, 424, + 435, 405, 24, 401, 3410, 2332, 2305, 2314, 2296, 2297, + 2295, 416, 2280, 451, 444, 469, 626, 3410, 0, 0, + 431, 2275, 482, 494, 488, 687, 484, 335, 476, 2287, + 2268, 2262, 497, 2269, 2260, 2261, 2260, 2253, 467, 396, + 3410, 0, 0, 526, 520, 534, 556, 546, 748, 540, + 505, 519, 2255, 3410, 601, 2236, 2245, 2247, 2238, 809, + 508, 0, 0, 2249, 662, 578, 549, 552, 870, 617, + 931, 584, 531, 558, 2221, 2210, 2178, 3410, 992, 0, + 0, 2194, 587, 643, 605, 608, 664, 666, 673, 675, + + 2192, 557, 1053, 1114, 558, 568, 597, 571, 658, 624, + 675, 2167, 527, 590, 2174, 3410, 0, 0, 3410, 705, + 724, 727, 733, 735, 762, 769, 771, 785, 788, 795, + 957, 2125, 679, 1175, 823, 2078, 714, 694, 579, 617, + 631, 716, 748, 388, 752, 801, 2064, 464, 1978, 1955, + 0, 0, 657, 840, 729, 827, 967, 954, 848, 944, + 969, 975, 947, 977, 1014, 1028, 3410, 1236, 1010, 1297, + 739, 712, 590, 801, 755, 741, 804, 753, 811, 812, + 813, 939, 3410, 537, 826, 1880, 0, 0, 960, 859, + 862, 950, 1034, 1357, 1036, 1042, 1066, 1090, 1076, 1092, + + 1006, 1413, 1474, 1535, 1013, 1596, 928, 938, 1043, 946, + 997, 1005, 1103, 1856, 0, 0, 1819, 1074, 1084, 1099, + 1131, 1133, 1140, 1142, 1145, 1157, 1200, 1159, 1206, 1192, + 1166, 1213, 1194, 1094, 1221, 1224, 1657, 993, 1718, 1779, + 1057, 1125, 1021, 1105, 1171, 1053, 814, 1084, 1177, 1163, + 1251, 983, 1646, 0, 0, 1552, 1259, 1420, 1262, 1264, + 1273, 3410, 1310, 1276, 1278, 1280, 1312, 1316, 1318, 1334, + 1336, 1259, 1342, 1337, 754, 1372, 1354, 1280, 1127, 1204, + 1303, 1267, 1113, 1297, 1323, 1299, 1840, 1384, 1352, 1363, + 1381, 1330, 0, 0, 1259, 1045, 1392, 1399, 1390, 1438, + + 1426, 1444, 1440, 1442, 1456, 1458, 1461, 1486, 1468, 1353, + 1069, 1301, 1195, 1404, 1324, 1206, 1382, 1187, 1243, 1901, + 1492, 3410, 1500, 992, 3410, 3410, 993, 933, 1510, 1512, + 1961, 1518, 1549, 1551, 1670, 1554, 1521, 1524, 1429, 1492, + 1173, 1334, 2017, 1407, 1409, 1429, 1471, 2078, 2139, 2200, + 836, 764, 1672, 1674, 1556, 1563, 1565, 1682, 1688, 1686, + 1695, 1701, 1747, 1703, 1739, 1735, 1581, 1764, 1755, 1584, + 1735, 1677, 1547, 1363, 2261, 2322, 1410, 1528, 1684, 1659, + 1708, 1764, 1724, 826, 1492, 1796, 2383, 2444, 1546, 0, + 3410, 716, 1800, 1806, 1759, 1818, 1825, 1854, 1823, 1856, + + 1858, 1876, 1878, 1883, 1885, 1860, 1914, 3410, 1917, 1919, + 1676, 1739, 1655, 1673, 1921, 625, 1561, 1439, 1713, 1479, + 1505, 1746, 1749, 1908, 1810, 1941, 566, 1797, 1801, 1837, + 3410, 1953, 1963, 1956, 1969, 2106, 2108, 1983, 2091, 2114, + 2120, 2094, 2122, 1990, 1992, 1861, 1786, 1866, 1791, 1855, + 1904, 1777, 2099, 1845, 1865, 1920, 1906, 1941, 380, 1960, + 2127, 1997, 2153, 2160, 2504, 2169, 2175, 2177, 2181, 2214, + 1919, 1971, 2093, 1953, 2184, 2073, 1970, 2130, 2193, 1981, + 2219, 2240, 2228, 2242, 2246, 2274, 2154, 2085, 1984, 2192, + 2105, 1910, 2276, 2279, 2292, 2304, 2166, 2202, 332, 200, + + 2335, 2337, 2138, 2229, 2339, 2341, 2219, 2076, 2307, 2213, + 2398, 2263, 2396, 2169, 2364, 2281, 3410, 2560, 2572, 2584, + 2596, 2608, 2620, 2625, 2635, 2647, 2659, 2671, 2680, 2692, + 2704, 2716, 2728, 2733, 2743, 2755, 2767, 2779, 2791, 2803, + 2815, 2827, 2839, 2851, 2862, 2872, 2884, 2896, 2908, 2919, + 2929, 2941, 2953, 2964, 2974, 2986, 2997, 3007, 3019, 3031, + 3042, 3052, 3064, 3076, 3087, 3096, 3106, 3118, 3130, 3142, + 3153, 3162, 3172, 3184, 3196, 3207, 3217, 3228, 3238, 3250, + 3261, 3271, 3282, 3292, 3304, 3315, 3325, 3336, 3345, 3355, + 3366, 3375, 3385, 3397 + + } ; + +static yyconst short int yy_def[795] = + { 0, + 718, 718, 717, 3, 719, 719, 719, 719, 720, 720, + 717, 717, 717, 721, 722, 723, 717, 724, 717, 717, + 717, 717, 725, 726, 717, 717, 717, 717, 727, 727, + 30, 30, 728, 30, 30, 30, 30, 30, 30, 30, + 30, 729, 730, 717, 731, 731, 732, 732, 733, 717, + 717, 717, 717, 721, 717, 721, 721, 721, 721, 721, + 717, 722, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 724, 717, 717, 725, 717, 725, 717, 726, + 717, 717, 717, 30, 30, 30, 30, 728, 717, 30, + 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, + + 30, 717, 734, 717, 735, 717, 717, 717, 736, 717, + 717, 717, 717, 717, 717, 721, 721, 721, 721, 717, + 717, 717, 30, 727, 30, 30, 30, 30, 30, 727, + 30, 30, 30, 30, 30, 30, 30, 30, 30, 734, + 737, 738, 717, 717, 717, 717, 717, 721, 721, 721, + 721, 721, 717, 30, 717, 30, 30, 727, 717, 717, + 30, 30, 30, 30, 30, 30, 30, 30, 739, 740, + 717, 717, 717, 717, 717, 721, 721, 721, 721, 721, + 717, 30, 30, 727, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 30, 30, 30, 30, 30, 727, 741, + + 742, 717, 717, 717, 717, 717, 721, 721, 721, 721, + 721, 717, 30, 30, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 30, 30, 30, 727, 717, 743, 744, + 717, 717, 745, 721, 721, 746, 745, 30, 30, 717, + 717, 717, 747, 717, 717, 717, 717, 717, 30, 30, + 717, 748, 749, 717, 717, 750, 721, 721, 751, 717, + 30, 30, 717, 717, 717, 717, 717, 717, 717, 727, + 30, 752, 753, 717, 754, 717, 750, 721, 717, 721, + 751, 717, 30, 30, 717, 717, 717, 717, 727, 755, + 756, 717, 757, 757, 757, 757, 757, 757, 757, 757, + + 717, 721, 758, 758, 304, 304, 304, 304, 304, 304, + 721, 717, 30, 30, 717, 717, 759, 760, 717, 761, + 717, 757, 757, 757, 757, 757, 757, 757, 757, 757, + 757, 717, 721, 762, 721, 304, 304, 304, 304, 304, + 304, 304, 304, 304, 304, 721, 717, 30, 30, 717, + 763, 764, 765, 717, 766, 757, 757, 757, 757, 757, + 757, 757, 757, 757, 757, 757, 717, 767, 721, 768, + 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, + 304, 721, 717, 30, 30, 717, 769, 770, 717, 765, + 766, 771, 757, 772, 757, 757, 757, 757, 757, 757, + + 721, 767, 768, 773, 304, 717, 304, 304, 304, 304, + 304, 304, 30, 717, 774, 775, 717, 717, 717, 771, + 757, 776, 776, 776, 776, 776, 776, 776, 776, 757, + 757, 757, 757, 721, 721, 721, 773, 304, 777, 777, + 440, 440, 440, 440, 440, 440, 304, 304, 304, 304, + 717, 778, 717, 779, 780, 717, 717, 717, 757, 717, + 776, 717, 776, 776, 776, 776, 776, 776, 776, 776, + 781, 721, 721, 721, 304, 721, 440, 721, 440, 440, + 440, 440, 440, 440, 440, 440, 782, 717, 778, 778, + 783, 717, 784, 785, 717, 717, 757, 776, 776, 776, + + 776, 776, 776, 776, 776, 776, 786, 721, 721, 304, + 440, 440, 440, 440, 440, 440, 440, 440, 440, 787, + 717, 717, 783, 717, 717, 717, 717, 717, 757, 776, + 788, 776, 776, 776, 776, 789, 789, 786, 721, 721, + 304, 440, 717, 440, 440, 440, 440, 790, 790, 787, + 717, 717, 757, 776, 791, 791, 791, 791, 791, 791, + 791, 791, 791, 776, 776, 789, 792, 792, 792, 789, + 721, 721, 304, 440, 793, 793, 576, 576, 576, 576, + 576, 576, 576, 440, 440, 549, 794, 794, 588, 549, + 717, 717, 757, 776, 717, 791, 791, 791, 791, 791, + + 791, 791, 791, 791, 791, 717, 792, 717, 792, 792, + 721, 721, 304, 440, 721, 576, 576, 576, 576, 576, + 576, 576, 576, 576, 576, 721, 588, 721, 588, 588, + 717, 757, 776, 791, 791, 791, 791, 791, 791, 791, + 791, 791, 791, 792, 792, 721, 304, 440, 576, 576, + 576, 576, 576, 576, 576, 576, 576, 576, 588, 588, + 757, 776, 791, 791, 788, 791, 791, 791, 791, 792, + 304, 440, 576, 576, 543, 576, 576, 576, 576, 588, + 776, 791, 791, 791, 791, 792, 440, 576, 576, 576, + 576, 588, 776, 791, 791, 792, 440, 576, 576, 588, + + 776, 791, 440, 576, 776, 791, 440, 576, 791, 576, + 791, 576, 791, 576, 791, 576, 0, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717 + + } ; + +static yyconst short int yy_nxt[3472] = + { 0, + 12, 12, 13, 14, 12, 15, 12, 12, 12, 12, + 16, 17, 12, 12, 44, 44, 44, 44, 75, 75, + 45, 45, 46, 46, 48, 48, 49, 49, 75, 75, + 84, 87, 84, 84, 12, 12, 12, 86, 120, 75, + 75, 124, 50, 77, 84, 50, 238, 68, 55, 84, + 123, 84, 84, 51, 52, 53, 51, 52, 53, 12, + 12, 12, 12, 13, 14, 19, 15, 12, 12, 12, + 12, 16, 17, 12, 12, 78, 90, 95, 84, 55, + 56, 69, 84, 62, 84, 84, 77, 57, 84, 112, + 63, 96, 70, 71, 72, 12, 12, 12, 58, 59, + + 60, 64, 65, 66, 50, 91, 93, 97, 94, 84, + 92, 56, 101, 125, 84, 51, 52, 74, 78, 156, + 12, 12, 20, 21, 22, 23, 20, 24, 25, 25, + 25, 25, 26, 27, 28, 28, 29, 29, 29, 29, + 30, 29, 31, 32, 29, 29, 29, 29, 29, 29, + 29, 29, 29, 29, 29, 29, 33, 20, 20, 29, + 29, 34, 35, 29, 36, 29, 29, 29, 37, 38, + 29, 29, 29, 39, 29, 40, 29, 41, 29, 29, + 29, 25, 25, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 84, 83, 83, 120, 84, 84, + + 102, 84, 84, 84, 84, 55, 55, 84, 55, 84, + 84, 120, 84, 120, 98, 99, 127, 83, 83, 83, + 154, 84, 128, 100, 126, 84, 131, 221, 222, 55, + 627, 129, 214, 130, 132, 134, 133, 56, 56, 137, + 56, 115, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 104, 83, 83, 116, 117, + 118, 56, 113, 114, 84, 84, 55, 144, 55, 85, + 55, 84, 84, 84, 84, 119, 84, 55, 83, 83, + 83, 145, 213, 135, 84, 84, 138, 84, 84, 84, + 84, 84, 84, 139, 130, 130, 158, 136, 56, 157, + + 56, 130, 56, 83, 83, 149, 84, 165, 168, 56, + 55, 163, 164, 226, 167, 166, 151, 148, 162, 150, + 152, 155, 155, 155, 155, 155, 155, 155, 155, 155, + 155, 155, 84, 155, 155, 55, 84, 84, 84, 84, + 84, 55, 56, 84, 84, 161, 55, 84, 182, 176, + 183, 84, 84, 195, 84, 155, 155, 155, 616, 197, + 84, 196, 194, 84, 55, 261, 184, 56, 55, 198, + 55, 135, 130, 56, 179, 199, 55, 55, 56, 130, + 155, 155, 159, 160, 160, 159, 159, 159, 159, 159, + 159, 159, 159, 178, 159, 159, 56, 177, 224, 84, + + 56, 84, 56, 233, 233, 209, 237, 237, 56, 56, + 627, 180, 84, 208, 336, 210, 159, 159, 159, 186, + 186, 84, 55, 239, 225, 207, 84, 55, 130, 55, + 227, 55, 254, 254, 271, 55, 236, 236, 55, 187, + 379, 159, 159, 185, 185, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 56, 185, 185, 188, 189, 56, + 246, 56, 224, 56, 190, 191, 235, 56, 211, 84, + 56, 192, 234, 193, 247, 234, 84, 185, 185, 185, + 186, 186, 211, 233, 233, 237, 237, 384, 225, 84, + 249, 55, 84, 262, 84, 257, 257, 55, 265, 265, + + 187, 84, 185, 185, 215, 215, 215, 215, 215, 215, + 215, 215, 215, 215, 215, 250, 215, 215, 188, 189, + 270, 275, 275, 56, 283, 190, 191, 254, 254, 56, + 84, 258, 192, 84, 193, 276, 276, 284, 215, 215, + 215, 282, 282, 260, 84, 348, 274, 279, 279, 55, + 276, 276, 84, 313, 413, 55, 84, 257, 257, 55, + 55, 289, 84, 215, 215, 228, 228, 228, 228, 228, + 228, 228, 228, 228, 228, 228, 278, 228, 228, 276, + 276, 56, 302, 84, 336, 282, 282, 56, 320, 320, + 333, 56, 56, 321, 336, 314, 627, 336, 301, 228, + + 228, 228, 186, 186, 312, 336, 320, 320, 338, 320, + 320, 321, 349, 339, 321, 84, 336, 373, 280, 280, + 55, 341, 187, 336, 228, 228, 251, 251, 251, 251, + 251, 251, 251, 251, 251, 251, 251, 311, 251, 251, + 188, 189, 374, 336, 320, 320, 340, 190, 191, 321, + 336, 616, 56, 325, 192, 324, 193, 336, 389, 389, + 251, 251, 251, 275, 275, 320, 320, 320, 320, 323, + 321, 374, 321, 345, 320, 320, 320, 320, 55, 321, + 375, 321, 55, 294, 336, 251, 251, 54, 236, 236, + 55, 54, 54, 54, 54, 54, 54, 54, 54, 54, + + 54, 295, 296, 342, 343, 346, 320, 320, 297, 298, + 56, 321, 344, 326, 56, 299, 327, 300, 328, 329, + 336, 54, 56, 54, 331, 354, 354, 330, 320, 320, + 391, 391, 355, 321, 320, 320, 320, 320, 336, 321, + 336, 321, 336, 371, 372, 631, 54, 54, 54, 280, + 280, 55, 54, 54, 54, 54, 54, 54, 54, 374, + 54, 54, 356, 320, 320, 336, 376, 336, 321, 405, + 320, 320, 320, 320, 336, 321, 510, 321, 336, 336, + 336, 336, 54, 56, 54, 357, 320, 320, 592, 320, + 320, 321, 377, 407, 321, 409, 320, 320, 380, 374, + + 358, 321, 406, 406, 55, 381, 378, 54, 54, 288, + 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, + 360, 288, 288, 359, 369, 369, 55, 336, 320, 320, + 336, 370, 362, 321, 382, 361, 56, 336, 336, 336, + 336, 354, 354, 288, 288, 288, 363, 364, 355, 394, + 394, 84, 477, 408, 321, 374, 130, 393, 56, 412, + 389, 389, 411, 391, 391, 591, 410, 514, 288, 288, + 54, 279, 279, 55, 54, 54, 54, 54, 54, 54, + 54, 54, 54, 54, 303, 303, 303, 303, 303, 303, + 303, 304, 303, 303, 303, 303, 303, 303, 303, 303, + + 303, 303, 303, 303, 54, 56, 54, 303, 303, 305, + 306, 303, 303, 303, 303, 303, 307, 308, 303, 303, + 303, 303, 303, 309, 303, 310, 303, 303, 303, 54, + 54, 54, 280, 280, 55, 54, 54, 54, 54, 54, + 54, 54, 55, 54, 54, 320, 320, 552, 320, 320, + 321, 418, 418, 321, 336, 320, 320, 419, 320, 320, + 321, 389, 389, 321, 336, 54, 56, 54, 320, 320, + 320, 320, 336, 321, 56, 321, 320, 320, 320, 320, + 447, 321, 374, 321, 490, 490, 449, 417, 359, 397, + 54, 54, 316, 316, 316, 316, 316, 316, 316, 316, + + 316, 316, 316, 365, 316, 316, 359, 401, 401, 55, + 366, 369, 369, 55, 359, 320, 320, 551, 370, 336, + 321, 395, 243, 336, 396, 475, 316, 316, 316, 320, + 320, 336, 398, 434, 321, 320, 320, 320, 320, 336, + 321, 56, 321, 320, 320, 56, 450, 477, 321, 377, + 438, 316, 316, 54, 334, 334, 55, 54, 54, 335, + 54, 54, 54, 54, 399, 54, 54, 320, 320, 336, + 482, 421, 321, 528, 400, 418, 418, 320, 320, 477, + 448, 419, 321, 477, 430, 457, 457, 54, 56, 54, + 359, 320, 320, 320, 320, 477, 321, 55, 321, 542, + + 418, 418, 486, 431, 451, 451, 419, 480, 472, 452, + 336, 458, 54, 54, 54, 334, 334, 55, 54, 54, + 335, 54, 54, 54, 54, 433, 54, 54, 84, 56, + 432, 477, 320, 320, 460, 460, 362, 321, 374, 477, + 337, 460, 460, 460, 460, 462, 460, 460, 54, 56, + 54, 477, 462, 477, 462, 483, 511, 462, 460, 460, + 460, 460, 515, 459, 487, 487, 463, 320, 320, 462, + 481, 462, 321, 54, 54, 54, 334, 334, 55, 54, + 54, 335, 54, 54, 54, 54, 54, 54, 54, 336, + 465, 573, 464, 320, 320, 471, 471, 477, 321, 336, + + 321, 460, 460, 336, 468, 469, 466, 460, 460, 54, + 56, 54, 462, 477, 320, 320, 484, 485, 462, 321, + 359, 477, 435, 435, 55, 473, 473, 55, 436, 546, + 477, 450, 477, 359, 54, 54, 54, 401, 401, 55, + 54, 54, 54, 54, 54, 54, 54, 514, 54, 54, + 467, 474, 488, 488, 512, 470, 56, 489, 544, 56, + 457, 457, 55, 320, 320, 460, 460, 433, 321, 477, + 54, 56, 54, 527, 460, 460, 462, 460, 460, 460, + 460, 460, 460, 55, 497, 462, 458, 508, 462, 547, + 462, 417, 462, 477, 56, 54, 54, 54, 403, 403, + + 55, 54, 54, 54, 54, 54, 54, 54, 54, 54, + 54, 460, 460, 460, 460, 56, 500, 460, 460, 460, + 460, 514, 462, 477, 462, 477, 499, 477, 462, 477, + 462, 54, 56, 54, 501, 460, 460, 471, 471, 498, + 55, 513, 321, 473, 473, 55, 462, 516, 514, 477, + 477, 509, 519, 490, 490, 524, 54, 54, 394, 394, + 477, 502, 504, 321, 490, 490, 503, 517, 514, 474, + 541, 574, 56, 476, 476, 55, 505, 56, 423, 336, + 477, 518, 521, 521, 478, 488, 488, 506, 522, 477, + 489, 460, 460, 320, 320, 614, 424, 425, 321, 434, + + 460, 460, 462, 426, 427, 543, 543, 56, 477, 529, + 428, 462, 429, 54, 401, 401, 55, 54, 54, 54, + 54, 54, 54, 54, 618, 54, 54, 531, 531, 530, + 477, 545, 55, 477, 496, 477, 616, 501, 462, 460, + 460, 460, 460, 460, 460, 460, 460, 54, 56, 54, + 462, 584, 462, 571, 462, 477, 462, 460, 460, 460, + 460, 514, 536, 536, 56, 616, 585, 650, 462, 537, + 462, 55, 54, 54, 54, 403, 403, 55, 54, 54, + 54, 54, 54, 54, 54, 54, 54, 54, 501, 55, + 501, 533, 532, 521, 521, 55, 540, 477, 534, 522, + + 539, 521, 521, 56, 535, 616, 572, 522, 54, 56, + 54, 320, 320, 460, 460, 517, 321, 652, 477, 460, + 460, 56, 570, 570, 462, 536, 536, 56, 553, 717, + 462, 616, 537, 54, 54, 54, 435, 435, 55, 54, + 54, 54, 436, 54, 54, 54, 514, 54, 54, 554, + 460, 460, 460, 460, 616, 566, 566, 595, 595, 653, + 630, 462, 537, 462, 595, 595, 595, 595, 462, 54, + 56, 54, 501, 336, 568, 462, 627, 462, 619, 598, + 495, 569, 606, 606, 613, 570, 570, 616, 565, 597, + 649, 564, 717, 608, 54, 54, 54, 406, 406, 55, + + 54, 54, 335, 54, 54, 54, 54, 54, 54, 54, + 439, 439, 439, 439, 439, 439, 439, 440, 439, 439, + 439, 439, 439, 439, 439, 439, 439, 439, 439, 439, + 54, 56, 54, 439, 439, 441, 442, 439, 439, 439, + 439, 439, 443, 444, 439, 439, 439, 439, 439, 445, + 439, 446, 439, 439, 439, 54, 54, 54, 435, 435, + 55, 54, 54, 54, 436, 54, 54, 54, 492, 54, + 54, 460, 460, 320, 320, 460, 460, 647, 321, 55, + 55, 336, 462, 595, 595, 616, 462, 595, 595, 595, + 595, 54, 56, 54, 462, 648, 595, 595, 462, 477, + + 462, 612, 595, 595, 460, 460, 594, 462, 621, 593, + 616, 56, 56, 462, 504, 462, 54, 54, 54, 476, + 476, 55, 54, 54, 54, 54, 54, 54, 54, 620, + 478, 54, 599, 600, 616, 601, 566, 566, 55, 616, + 460, 460, 55, 537, 501, 602, 603, 604, 595, 595, + 616, 462, 54, 56, 54, 568, 606, 606, 622, 462, + 595, 595, 569, 651, 611, 606, 606, 608, 646, 610, + 56, 462, 616, 625, 56, 616, 608, 54, 54, 54, + 476, 476, 55, 54, 54, 54, 54, 54, 54, 54, + 616, 478, 54, 501, 609, 654, 605, 586, 586, 655, + + 55, 320, 320, 616, 549, 479, 321, 460, 460, 623, + 624, 671, 336, 54, 56, 54, 588, 616, 462, 595, + 595, 673, 632, 589, 595, 595, 595, 595, 633, 653, + 462, 627, 56, 456, 659, 462, 616, 462, 54, 54, + 54, 487, 487, 55, 54, 54, 335, 54, 54, 54, + 54, 54, 54, 54, 634, 595, 595, 595, 595, 595, + 595, 606, 606, 658, 55, 660, 462, 627, 462, 674, + 462, 616, 608, 636, 54, 56, 54, 595, 595, 595, + 595, 616, 635, 672, 595, 595, 595, 595, 462, 653, + 462, 616, 477, 453, 637, 462, 56, 462, 414, 54, + + 54, 54, 548, 548, 55, 54, 54, 54, 54, 549, + 54, 54, 638, 54, 54, 606, 606, 676, 606, 606, + 606, 606, 615, 615, 55, 639, 608, 641, 640, 608, + 616, 608, 616, 478, 616, 54, 56, 54, 643, 700, + 627, 642, 626, 626, 55, 336, 616, 645, 678, 374, + 644, 653, 656, 628, 320, 320, 56, 595, 595, 321, + 54, 54, 531, 531, 460, 460, 657, 616, 462, 677, + 595, 595, 386, 462, 680, 462, 56, 689, 661, 616, + 662, 462, 556, 664, 665, 665, 663, 679, 557, 687, + 627, 606, 606, 606, 606, 462, 616, 477, 460, 460, + + 558, 559, 608, 385, 608, 692, 670, 560, 561, 462, + 616, 627, 690, 699, 562, 681, 563, 54, 543, 543, + 55, 54, 54, 54, 54, 54, 54, 54, 54, 478, + 54, 575, 575, 575, 575, 575, 575, 575, 576, 575, + 575, 575, 575, 575, 577, 575, 575, 575, 575, 575, + 575, 54, 56, 54, 575, 575, 578, 579, 575, 575, + 575, 575, 575, 580, 581, 575, 575, 575, 575, 575, + 582, 575, 583, 575, 575, 575, 54, 54, 54, 586, + 586, 55, 54, 54, 54, 54, 549, 54, 54, 54, + 54, 54, 595, 595, 710, 595, 595, 383, 588, 616, + + 675, 675, 616, 462, 336, 589, 462, 595, 595, 595, + 595, 616, 54, 56, 54, 595, 595, 698, 462, 616, + 462, 595, 595, 595, 595, 616, 462, 653, 320, 320, + 688, 616, 462, 321, 462, 638, 668, 54, 54, 54, + 590, 590, 55, 54, 54, 54, 54, 54, 54, 54, + 54, 54, 54, 638, 595, 595, 616, 359, 367, 653, + 638, 595, 595, 707, 477, 462, 666, 691, 669, 667, + 595, 595, 462, 54, 56, 54, 595, 595, 595, 595, + 477, 462, 595, 595, 683, 675, 675, 462, 703, 462, + 682, 697, 477, 462, 716, 616, 350, 347, 54, 54, + + 54, 548, 548, 55, 54, 54, 54, 54, 549, 54, + 54, 575, 54, 54, 685, 606, 606, 684, 616, 616, + 460, 460, 332, 638, 704, 641, 608, 319, 616, 595, + 595, 462, 243, 653, 54, 56, 54, 656, 686, 616, + 462, 595, 595, 595, 595, 477, 708, 595, 595, 514, + 712, 243, 462, 315, 462, 616, 693, 695, 462, 54, + 54, 54, 615, 615, 55, 54, 54, 54, 54, 54, + 54, 54, 694, 478, 54, 606, 606, 460, 460, 292, + 595, 595, 246, 638, 287, 714, 608, 286, 462, 616, + 243, 462, 285, 595, 595, 54, 56, 54, 701, 269, + + 638, 702, 268, 696, 462, 606, 606, 616, 595, 595, + 267, 653, 266, 243, 243, 243, 608, 263, 255, 462, + 54, 54, 54, 615, 615, 55, 54, 54, 54, 54, + 54, 54, 54, 248, 478, 54, 460, 460, 595, 595, + 460, 460, 595, 595, 711, 245, 244, 462, 617, 462, + 243, 462, 242, 462, 706, 241, 54, 56, 54, 709, + 705, 240, 232, 206, 231, 595, 595, 231, 223, 501, + 220, 219, 218, 217, 216, 212, 462, 206, 205, 204, + 203, 54, 54, 54, 626, 626, 55, 54, 54, 54, + 54, 54, 54, 54, 638, 628, 54, 595, 595, 595, + + 595, 202, 181, 175, 174, 173, 172, 171, 462, 153, + 462, 147, 146, 143, 89, 84, 82, 54, 56, 54, + 713, 715, 717, 122, 717, 121, 115, 114, 113, 112, + 717, 120, 115, 114, 113, 112, 111, 108, 107, 89, + 82, 81, 54, 54, 54, 626, 626, 55, 54, 54, + 54, 54, 54, 54, 54, 80, 628, 54, 717, 42, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 629, 717, 717, 717, 54, 56, + 54, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + + 717, 717, 717, 54, 54, 665, 665, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 462, 717, 717, 717, + 717, 717, 717, 717, 717, 556, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 558, 559, 717, 717, 717, 717, 717, + 560, 561, 717, 717, 717, 717, 717, 562, 717, 563, + 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, + 18, 18, 43, 43, 43, 43, 43, 43, 43, 43, + 43, 43, 43, 43, 47, 47, 47, 47, 47, 47, + 47, 47, 47, 47, 47, 47, 54, 54, 54, 54, + + 54, 54, 54, 54, 54, 54, 54, 54, 61, 61, + 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, + 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, + 67, 67, 73, 717, 73, 76, 76, 76, 76, 76, + 76, 76, 76, 76, 76, 76, 76, 79, 79, 79, + 79, 79, 79, 79, 79, 79, 79, 79, 79, 84, + 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, + 84, 88, 88, 88, 88, 88, 88, 88, 88, 88, + 88, 717, 88, 103, 717, 717, 717, 717, 717, 103, + 717, 103, 105, 105, 717, 105, 105, 105, 717, 105, + + 105, 105, 105, 105, 106, 106, 106, 106, 106, 106, + 106, 106, 106, 106, 106, 106, 109, 109, 109, 717, + 109, 109, 109, 109, 109, 109, 109, 109, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 140, 717, 140, 141, 141, 717, 141, 141, 141, 717, + 141, 141, 141, 141, 141, 142, 142, 142, 717, 142, + 142, 142, 142, 142, 142, 142, 142, 169, 169, 717, + 169, 169, 169, 717, 169, 169, 169, 169, 169, 170, + 170, 170, 717, 170, 170, 170, 170, 170, 170, 170, + 170, 200, 200, 717, 200, 200, 200, 717, 200, 200, + + 200, 200, 200, 201, 201, 201, 717, 201, 201, 201, + 201, 201, 201, 201, 201, 229, 229, 717, 229, 229, + 229, 717, 229, 229, 229, 229, 229, 230, 230, 230, + 717, 230, 230, 230, 230, 230, 230, 230, 230, 252, + 252, 717, 252, 252, 252, 717, 252, 252, 252, 252, + 252, 253, 253, 253, 717, 253, 253, 253, 253, 253, + 253, 253, 253, 256, 256, 717, 717, 717, 717, 717, + 717, 256, 259, 259, 259, 259, 259, 259, 259, 259, + 259, 259, 259, 259, 264, 264, 264, 264, 264, 264, + 264, 717, 264, 717, 264, 264, 272, 272, 717, 272, + + 272, 272, 717, 272, 272, 272, 272, 272, 273, 273, + 273, 717, 273, 273, 273, 273, 273, 273, 273, 273, + 277, 277, 717, 717, 717, 717, 277, 717, 277, 281, + 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, + 281, 290, 290, 717, 290, 290, 290, 717, 290, 290, + 290, 290, 290, 291, 291, 291, 717, 291, 291, 291, + 291, 291, 291, 291, 291, 293, 293, 717, 717, 717, + 717, 717, 717, 293, 317, 317, 717, 317, 317, 317, + 717, 317, 317, 317, 317, 317, 318, 318, 318, 717, + 318, 318, 318, 318, 318, 318, 318, 318, 322, 322, + + 717, 322, 717, 717, 322, 717, 322, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 351, + 351, 717, 351, 351, 351, 717, 351, 351, 351, 351, + 351, 352, 352, 352, 717, 352, 352, 352, 352, 352, + 352, 352, 352, 353, 353, 717, 353, 717, 717, 717, + 717, 353, 368, 368, 368, 368, 368, 368, 368, 368, + 368, 368, 368, 368, 387, 387, 717, 387, 387, 387, + 717, 387, 387, 387, 387, 387, 388, 388, 388, 717, + 388, 388, 388, 388, 388, 388, 388, 388, 390, 390, + 717, 717, 717, 717, 390, 717, 390, 392, 392, 717, + + 717, 717, 717, 717, 717, 392, 402, 402, 402, 402, + 402, 402, 402, 402, 402, 402, 402, 402, 404, 404, + 404, 404, 404, 404, 404, 404, 404, 404, 404, 404, + 415, 415, 717, 415, 415, 415, 717, 415, 415, 415, + 415, 415, 416, 416, 416, 717, 416, 416, 416, 416, + 416, 416, 416, 416, 420, 420, 717, 717, 420, 717, + 420, 717, 420, 422, 422, 717, 422, 717, 717, 717, + 717, 422, 437, 437, 437, 437, 437, 437, 437, 437, + 437, 437, 437, 437, 454, 454, 717, 454, 454, 454, + 717, 454, 454, 454, 454, 454, 455, 455, 455, 717, + + 455, 455, 455, 455, 455, 455, 455, 455, 461, 461, + 717, 717, 717, 717, 461, 461, 461, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 491, + 491, 717, 717, 717, 717, 717, 717, 491, 493, 493, + 717, 493, 493, 493, 717, 493, 493, 493, 493, 493, + 494, 494, 494, 717, 494, 494, 494, 494, 494, 494, + 494, 494, 507, 507, 717, 507, 717, 717, 717, 717, + 507, 520, 520, 520, 520, 520, 520, 520, 520, 520, + 520, 520, 520, 523, 523, 717, 717, 523, 717, 523, + 717, 523, 525, 525, 717, 525, 525, 525, 717, 525, + + 525, 525, 525, 525, 526, 526, 526, 717, 526, 526, + 526, 526, 526, 526, 526, 526, 538, 538, 717, 717, + 717, 538, 538, 717, 538, 550, 550, 550, 550, 550, + 550, 550, 550, 550, 550, 550, 550, 555, 555, 717, + 717, 717, 717, 717, 555, 555, 567, 567, 717, 717, + 717, 567, 717, 717, 567, 587, 587, 587, 587, 587, + 587, 587, 587, 587, 587, 587, 587, 596, 596, 717, + 717, 717, 717, 596, 596, 596, 607, 607, 717, 717, + 717, 717, 607, 607, 607, 616, 616, 616, 616, 616, + 616, 616, 616, 616, 616, 616, 616, 627, 627, 627, + + 627, 627, 627, 627, 627, 627, 627, 627, 627, 11, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717 + } ; + +static yyconst short int yy_chk[3472] = + { 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 5, 6, 7, 8, 21, 21, + 5, 6, 7, 8, 9, 10, 9, 10, 22, 22, + 32, 32, 31, 86, 1, 1, 1, 31, 63, 75, + 75, 86, 12, 23, 85, 13, 213, 16, 14, 213, + 85, 34, 38, 12, 12, 12, 13, 13, 13, 1, + 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 23, 34, 38, 39, 54, + 14, 16, 36, 15, 37, 35, 76, 14, 41, 63, + 15, 39, 16, 16, 16, 2, 2, 2, 14, 14, + + 14, 15, 15, 15, 19, 35, 36, 39, 37, 87, + 35, 54, 41, 87, 125, 19, 19, 19, 76, 125, + 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 29, 29, 29, 29, 29, 29, 29, + 29, 29, 29, 29, 40, 29, 29, 66, 92, 90, + + 42, 93, 95, 91, 94, 57, 59, 96, 58, 97, + 98, 65, 100, 64, 40, 40, 91, 29, 29, 29, + 123, 123, 92, 40, 90, 183, 95, 192, 192, 60, + 700, 93, 183, 94, 96, 98, 97, 57, 59, 100, + 58, 66, 29, 29, 30, 30, 30, 30, 30, 30, + 30, 30, 30, 30, 30, 42, 30, 30, 57, 58, + 59, 60, 64, 65, 99, 101, 116, 113, 118, 30, + 117, 128, 126, 129, 127, 60, 131, 119, 30, 30, + 30, 113, 182, 99, 134, 137, 101, 139, 135, 138, + 136, 195, 182, 101, 126, 131, 129, 99, 116, 128, + + 118, 127, 117, 30, 30, 117, 133, 136, 139, 119, + 148, 134, 135, 195, 138, 137, 118, 116, 133, 117, + 119, 124, 124, 124, 124, 124, 124, 124, 124, 124, + 124, 124, 132, 124, 124, 151, 154, 157, 156, 161, + 162, 150, 148, 163, 164, 132, 149, 165, 154, 148, + 156, 167, 168, 162, 166, 124, 124, 124, 699, 165, + 238, 164, 161, 196, 152, 238, 157, 151, 178, 166, + 177, 168, 163, 150, 151, 167, 176, 179, 149, 196, + 124, 124, 130, 130, 130, 130, 130, 130, 130, 130, + 130, 130, 130, 150, 130, 130, 152, 149, 194, 197, + + 178, 198, 177, 206, 206, 178, 212, 212, 176, 179, + 659, 152, 194, 177, 344, 179, 130, 130, 130, 160, + 160, 250, 180, 214, 194, 176, 214, 210, 197, 207, + 198, 209, 231, 231, 250, 208, 211, 211, 211, 160, + 344, 130, 130, 158, 158, 158, 158, 158, 158, 158, + 158, 158, 158, 158, 180, 158, 158, 160, 160, 210, + 222, 207, 224, 209, 160, 160, 210, 208, 180, 225, + 211, 160, 208, 160, 222, 207, 224, 158, 158, 158, + 186, 186, 209, 233, 233, 237, 237, 348, 224, 348, + 225, 235, 249, 239, 226, 234, 234, 234, 243, 243, + + 186, 239, 158, 158, 184, 184, 184, 184, 184, 184, + 184, 184, 184, 184, 184, 226, 184, 184, 186, 186, + 249, 255, 255, 235, 261, 186, 186, 254, 254, 234, + 261, 235, 186, 271, 186, 256, 256, 262, 184, 184, + 184, 260, 260, 237, 262, 313, 254, 258, 258, 258, + 277, 277, 313, 283, 384, 278, 283, 257, 257, 257, + 302, 271, 384, 184, 184, 199, 199, 199, 199, 199, + 199, 199, 199, 199, 199, 199, 257, 199, 199, 276, + 276, 258, 278, 284, 305, 282, 282, 278, 293, 293, + 302, 257, 302, 293, 306, 284, 627, 308, 276, 199, + + 199, 199, 265, 265, 282, 339, 295, 295, 305, 296, + 296, 295, 314, 306, 296, 314, 373, 339, 280, 280, + 280, 308, 265, 307, 199, 199, 227, 227, 227, 227, + 227, 227, 227, 227, 227, 227, 227, 280, 227, 227, + 265, 265, 373, 340, 294, 294, 307, 265, 265, 294, + 310, 616, 280, 296, 265, 295, 265, 341, 353, 353, + 227, 227, 227, 275, 275, 297, 297, 298, 298, 294, + 297, 340, 298, 310, 299, 299, 300, 300, 311, 299, + 341, 300, 333, 275, 309, 227, 227, 236, 236, 236, + 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, + + 236, 275, 275, 309, 309, 311, 320, 320, 275, 275, + 311, 320, 309, 297, 333, 275, 298, 275, 299, 299, + 338, 236, 236, 236, 300, 321, 321, 299, 322, 322, + 355, 355, 321, 322, 323, 323, 324, 324, 372, 323, + 337, 324, 342, 337, 338, 592, 236, 236, 259, 259, + 259, 259, 259, 259, 259, 259, 259, 259, 259, 372, + 259, 259, 323, 325, 325, 371, 342, 376, 325, 371, + 326, 326, 327, 327, 343, 326, 475, 327, 345, 378, + 475, 375, 259, 259, 259, 324, 328, 328, 552, 329, + 329, 328, 343, 376, 329, 378, 330, 330, 345, 375, + + 325, 330, 374, 374, 346, 345, 343, 259, 259, 270, + 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, + 327, 270, 270, 326, 335, 335, 335, 374, 356, 356, + 377, 335, 329, 356, 346, 328, 346, 379, 380, 381, + 447, 354, 354, 270, 270, 270, 329, 330, 354, 359, + 359, 385, 584, 377, 359, 447, 385, 356, 335, 381, + 390, 390, 380, 391, 391, 551, 379, 584, 270, 270, + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, + + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, + 279, 281, 281, 281, 281, 281, 281, 281, 281, 281, + 281, 281, 382, 281, 281, 360, 360, 528, 363, 363, + 360, 392, 392, 363, 407, 358, 358, 392, 331, 331, + 358, 389, 389, 331, 408, 281, 281, 281, 357, 357, + 361, 361, 410, 357, 382, 361, 362, 362, 364, 364, + 408, 362, 407, 364, 452, 452, 410, 389, 360, 363, + 281, 281, 289, 289, 289, 289, 289, 289, 289, 289, + + 289, 289, 289, 331, 289, 289, 358, 401, 401, 401, + 331, 369, 369, 369, 357, 365, 365, 527, 369, 438, + 365, 361, 524, 411, 362, 438, 289, 289, 289, 366, + 366, 412, 364, 401, 366, 393, 393, 395, 395, 405, + 393, 401, 395, 396, 396, 369, 411, 443, 396, 412, + 405, 289, 289, 303, 303, 303, 303, 303, 303, 303, + 303, 303, 303, 303, 365, 303, 303, 397, 397, 409, + 443, 393, 397, 496, 366, 418, 418, 399, 399, 446, + 409, 418, 399, 441, 396, 419, 419, 303, 303, 303, + 395, 398, 398, 400, 400, 511, 398, 434, 400, 511, + + 420, 420, 446, 397, 413, 413, 420, 441, 434, 413, + 448, 419, 303, 303, 304, 304, 304, 304, 304, 304, + 304, 304, 304, 304, 304, 399, 304, 304, 413, 434, + 398, 444, 421, 421, 422, 422, 400, 421, 448, 483, + 304, 423, 423, 424, 424, 422, 425, 425, 304, 304, + 304, 442, 423, 479, 424, 444, 479, 425, 426, 426, + 428, 428, 483, 421, 450, 450, 423, 431, 431, 426, + 442, 428, 431, 304, 304, 334, 334, 334, 334, 334, + 334, 334, 334, 334, 334, 334, 334, 334, 334, 450, + 425, 541, 424, 430, 430, 433, 433, 445, 430, 541, + + 433, 427, 427, 449, 428, 428, 426, 429, 429, 334, + 334, 334, 427, 518, 432, 432, 445, 445, 429, 432, + 431, 513, 435, 435, 435, 436, 436, 436, 435, 518, + 480, 449, 516, 430, 334, 334, 368, 368, 368, 368, + 368, 368, 368, 368, 368, 368, 368, 513, 368, 368, + 427, 436, 451, 451, 480, 429, 435, 451, 516, 436, + 457, 457, 472, 459, 459, 460, 460, 432, 459, 519, + 368, 368, 368, 495, 461, 461, 460, 464, 464, 465, + 465, 466, 466, 478, 459, 461, 457, 472, 464, 519, + 465, 460, 466, 482, 472, 368, 368, 370, 370, 370, + + 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, + 370, 463, 463, 467, 467, 478, 465, 468, 468, 469, + 469, 482, 463, 484, 467, 486, 464, 512, 468, 481, + 469, 370, 370, 370, 466, 470, 470, 471, 471, 463, + 474, 481, 471, 473, 473, 473, 470, 484, 512, 485, + 515, 474, 486, 489, 489, 492, 370, 370, 394, 394, + 542, 467, 469, 394, 490, 490, 468, 485, 515, 473, + 510, 542, 474, 476, 476, 476, 469, 473, 394, 510, + 477, 485, 491, 491, 476, 488, 488, 470, 491, 574, + 488, 499, 499, 497, 497, 574, 394, 394, 497, 476, + + 498, 498, 499, 394, 394, 514, 514, 476, 517, 497, + 394, 498, 394, 402, 402, 402, 402, 402, 402, 402, + 402, 402, 402, 402, 577, 402, 402, 501, 501, 498, + 514, 517, 539, 544, 458, 545, 577, 499, 501, 500, + 500, 503, 503, 504, 504, 502, 502, 402, 402, 402, + 500, 545, 503, 539, 504, 546, 502, 505, 505, 506, + 506, 544, 507, 507, 539, 618, 546, 618, 505, 507, + 506, 509, 402, 402, 403, 403, 403, 403, 403, 403, + 403, 403, 403, 403, 403, 403, 403, 403, 502, 508, + 500, 504, 503, 521, 521, 540, 509, 547, 505, 521, + + 508, 523, 523, 509, 506, 620, 540, 523, 403, 403, + 403, 529, 529, 530, 530, 547, 529, 620, 585, 532, + 532, 508, 537, 537, 530, 538, 538, 540, 529, 537, + 532, 621, 538, 403, 403, 404, 404, 404, 404, 404, + 404, 404, 404, 404, 404, 404, 585, 404, 404, 530, + 533, 533, 534, 534, 578, 536, 536, 555, 555, 621, + 589, 533, 536, 534, 556, 556, 557, 557, 555, 404, + 404, 404, 532, 573, 536, 556, 589, 557, 578, 557, + 456, 536, 567, 567, 573, 570, 570, 617, 534, 556, + 617, 533, 570, 567, 404, 404, 406, 406, 406, 406, + + 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, + 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, + 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, + 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, + 406, 406, 406, 406, 406, 406, 406, 406, 406, 406, + 406, 406, 406, 406, 406, 406, 406, 437, 437, 437, + 437, 437, 437, 437, 437, 437, 437, 437, 453, 437, + 437, 535, 535, 553, 553, 554, 554, 613, 553, 611, + 572, 613, 535, 558, 558, 580, 554, 560, 560, 559, + 559, 437, 437, 437, 558, 614, 561, 561, 560, 614, + + 559, 572, 562, 562, 564, 564, 554, 561, 580, 553, + 579, 611, 572, 562, 535, 564, 437, 437, 439, 439, + 439, 439, 439, 439, 439, 439, 439, 439, 439, 579, + 439, 439, 558, 559, 581, 560, 566, 566, 571, 619, + 565, 565, 612, 566, 564, 561, 562, 562, 563, 563, + 583, 565, 439, 439, 439, 566, 569, 569, 581, 563, + 595, 595, 566, 619, 571, 568, 568, 569, 612, 569, + 571, 595, 622, 583, 612, 623, 568, 439, 439, 440, + 440, 440, 440, 440, 440, 440, 440, 440, 440, 440, + 582, 440, 440, 565, 568, 622, 563, 586, 586, 623, + + 628, 593, 593, 652, 586, 440, 593, 594, 594, 582, + 582, 647, 647, 440, 440, 440, 586, 649, 594, 596, + 596, 649, 593, 586, 599, 599, 597, 597, 594, 652, + 596, 629, 628, 417, 629, 599, 625, 597, 440, 440, + 487, 487, 487, 487, 487, 487, 487, 487, 487, 487, + 487, 487, 487, 487, 597, 598, 598, 600, 600, 601, + 601, 606, 606, 625, 646, 630, 598, 630, 600, 650, + 601, 654, 606, 599, 487, 487, 487, 602, 602, 603, + 603, 650, 598, 648, 604, 604, 605, 605, 602, 654, + 603, 655, 648, 414, 600, 604, 646, 605, 386, 487, + + 487, 520, 520, 520, 520, 520, 520, 520, 520, 520, + 520, 520, 601, 520, 520, 607, 607, 655, 609, 609, + 610, 610, 615, 615, 615, 602, 607, 604, 603, 609, + 651, 610, 657, 615, 624, 520, 520, 520, 605, 692, + 692, 604, 626, 626, 626, 671, 656, 610, 657, 671, + 609, 651, 624, 626, 632, 632, 615, 634, 634, 632, + 520, 520, 531, 531, 633, 633, 624, 658, 634, 656, + 635, 635, 350, 531, 660, 633, 626, 674, 632, 674, + 633, 635, 531, 635, 638, 638, 634, 658, 531, 672, + 660, 644, 644, 645, 645, 638, 677, 672, 662, 662, + + 531, 531, 644, 349, 645, 680, 645, 531, 531, 662, + 689, 680, 677, 689, 531, 662, 531, 543, 543, 543, + 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, + 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, + 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, + 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, + 543, 543, 543, 543, 543, 543, 543, 543, 543, 543, + 543, 543, 543, 543, 543, 543, 543, 543, 548, 548, + 548, 548, 548, 548, 548, 548, 548, 548, 548, 548, + 548, 548, 639, 639, 708, 642, 642, 347, 548, 676, + + 653, 653, 708, 639, 336, 548, 642, 636, 636, 637, + 637, 688, 548, 548, 548, 640, 640, 688, 636, 673, + 637, 641, 641, 643, 643, 653, 640, 676, 661, 661, + 673, 691, 641, 661, 643, 639, 642, 548, 548, 549, + 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, + 549, 549, 549, 636, 663, 663, 678, 661, 332, 691, + 637, 664, 664, 703, 703, 663, 640, 678, 643, 641, + 666, 666, 664, 549, 549, 549, 667, 667, 668, 668, + 687, 666, 669, 669, 664, 675, 675, 667, 697, 668, + 663, 687, 697, 669, 714, 714, 315, 312, 549, 549, + + 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, + 550, 675, 550, 550, 668, 670, 670, 667, 690, 679, + 681, 681, 301, 666, 698, 669, 670, 292, 698, 683, + 683, 681, 287, 690, 550, 550, 550, 679, 670, 710, + 683, 682, 682, 684, 684, 707, 704, 685, 685, 707, + 710, 286, 682, 285, 684, 704, 681, 683, 685, 550, + 550, 575, 575, 575, 575, 575, 575, 575, 575, 575, + 575, 575, 682, 575, 575, 686, 686, 693, 693, 274, + 694, 694, 269, 684, 268, 712, 686, 267, 693, 712, + 266, 694, 263, 695, 695, 575, 575, 575, 693, 248, + + 685, 694, 247, 686, 695, 696, 696, 716, 709, 709, + 246, 716, 245, 244, 242, 241, 696, 240, 232, 709, + 575, 575, 576, 576, 576, 576, 576, 576, 576, 576, + 576, 576, 576, 223, 576, 576, 701, 701, 702, 702, + 705, 705, 706, 706, 709, 221, 220, 701, 576, 702, + 219, 705, 218, 706, 702, 217, 576, 576, 576, 706, + 701, 216, 205, 204, 203, 715, 715, 202, 193, 705, + 191, 190, 189, 188, 187, 181, 715, 175, 174, 173, + 172, 576, 576, 587, 587, 587, 587, 587, 587, 587, + 587, 587, 587, 587, 715, 587, 587, 713, 713, 711, + + 711, 171, 153, 147, 146, 145, 144, 143, 713, 121, + 711, 115, 114, 112, 88, 84, 82, 587, 587, 587, + 711, 713, 80, 79, 78, 74, 72, 71, 70, 69, + 62, 61, 53, 52, 51, 50, 49, 46, 45, 33, + 27, 26, 587, 587, 588, 588, 588, 588, 588, 588, + 588, 588, 588, 588, 588, 24, 588, 588, 11, 4, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 588, 0, 0, 0, 588, 588, + 588, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 588, 588, 665, 665, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 665, 0, 0, 0, + 0, 0, 0, 0, 0, 665, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 665, 665, 0, 0, 0, 0, 0, + 665, 665, 0, 0, 0, 0, 0, 665, 0, 665, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 719, 719, 719, 719, 719, 719, 719, 719, + 719, 719, 719, 719, 720, 720, 720, 720, 720, 720, + 720, 720, 720, 720, 720, 720, 721, 721, 721, 721, + + 721, 721, 721, 721, 721, 721, 721, 721, 722, 722, + 722, 722, 722, 722, 722, 722, 722, 722, 722, 722, + 723, 723, 723, 723, 723, 723, 723, 723, 723, 723, + 723, 723, 724, 0, 724, 725, 725, 725, 725, 725, + 725, 725, 725, 725, 725, 725, 725, 726, 726, 726, + 726, 726, 726, 726, 726, 726, 726, 726, 726, 727, + 727, 727, 727, 727, 727, 727, 727, 727, 727, 727, + 727, 728, 728, 728, 728, 728, 728, 728, 728, 728, + 728, 0, 728, 729, 0, 0, 0, 0, 0, 729, + 0, 729, 730, 730, 0, 730, 730, 730, 0, 730, + + 730, 730, 730, 730, 731, 731, 731, 731, 731, 731, + 731, 731, 731, 731, 731, 731, 732, 732, 732, 0, + 732, 732, 732, 732, 732, 732, 732, 732, 733, 733, + 733, 733, 733, 733, 733, 733, 733, 733, 733, 733, + 734, 0, 734, 735, 735, 0, 735, 735, 735, 0, + 735, 735, 735, 735, 735, 736, 736, 736, 0, 736, + 736, 736, 736, 736, 736, 736, 736, 737, 737, 0, + 737, 737, 737, 0, 737, 737, 737, 737, 737, 738, + 738, 738, 0, 738, 738, 738, 738, 738, 738, 738, + 738, 739, 739, 0, 739, 739, 739, 0, 739, 739, + + 739, 739, 739, 740, 740, 740, 0, 740, 740, 740, + 740, 740, 740, 740, 740, 741, 741, 0, 741, 741, + 741, 0, 741, 741, 741, 741, 741, 742, 742, 742, + 0, 742, 742, 742, 742, 742, 742, 742, 742, 743, + 743, 0, 743, 743, 743, 0, 743, 743, 743, 743, + 743, 744, 744, 744, 0, 744, 744, 744, 744, 744, + 744, 744, 744, 745, 745, 0, 0, 0, 0, 0, + 0, 745, 746, 746, 746, 746, 746, 746, 746, 746, + 746, 746, 746, 746, 747, 747, 747, 747, 747, 747, + 747, 0, 747, 0, 747, 747, 748, 748, 0, 748, + + 748, 748, 0, 748, 748, 748, 748, 748, 749, 749, + 749, 0, 749, 749, 749, 749, 749, 749, 749, 749, + 750, 750, 0, 0, 0, 0, 750, 0, 750, 751, + 751, 751, 751, 751, 751, 751, 751, 751, 751, 751, + 751, 752, 752, 0, 752, 752, 752, 0, 752, 752, + 752, 752, 752, 753, 753, 753, 0, 753, 753, 753, + 753, 753, 753, 753, 753, 754, 754, 0, 0, 0, + 0, 0, 0, 754, 755, 755, 0, 755, 755, 755, + 0, 755, 755, 755, 755, 755, 756, 756, 756, 0, + 756, 756, 756, 756, 756, 756, 756, 756, 757, 757, + + 0, 757, 0, 0, 757, 0, 757, 758, 758, 758, + 758, 758, 758, 758, 758, 758, 758, 758, 758, 759, + 759, 0, 759, 759, 759, 0, 759, 759, 759, 759, + 759, 760, 760, 760, 0, 760, 760, 760, 760, 760, + 760, 760, 760, 761, 761, 0, 761, 0, 0, 0, + 0, 761, 762, 762, 762, 762, 762, 762, 762, 762, + 762, 762, 762, 762, 763, 763, 0, 763, 763, 763, + 0, 763, 763, 763, 763, 763, 764, 764, 764, 0, + 764, 764, 764, 764, 764, 764, 764, 764, 765, 765, + 0, 0, 0, 0, 765, 0, 765, 766, 766, 0, + + 0, 0, 0, 0, 0, 766, 767, 767, 767, 767, + 767, 767, 767, 767, 767, 767, 767, 767, 768, 768, + 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, + 769, 769, 0, 769, 769, 769, 0, 769, 769, 769, + 769, 769, 770, 770, 770, 0, 770, 770, 770, 770, + 770, 770, 770, 770, 771, 771, 0, 0, 771, 0, + 771, 0, 771, 772, 772, 0, 772, 0, 0, 0, + 0, 772, 773, 773, 773, 773, 773, 773, 773, 773, + 773, 773, 773, 773, 774, 774, 0, 774, 774, 774, + 0, 774, 774, 774, 774, 774, 775, 775, 775, 0, + + 775, 775, 775, 775, 775, 775, 775, 775, 776, 776, + 0, 0, 0, 0, 776, 776, 776, 777, 777, 777, + 777, 777, 777, 777, 777, 777, 777, 777, 777, 778, + 778, 0, 0, 0, 0, 0, 0, 778, 779, 779, + 0, 779, 779, 779, 0, 779, 779, 779, 779, 779, + 780, 780, 780, 0, 780, 780, 780, 780, 780, 780, + 780, 780, 781, 781, 0, 781, 0, 0, 0, 0, + 781, 782, 782, 782, 782, 782, 782, 782, 782, 782, + 782, 782, 782, 783, 783, 0, 0, 783, 0, 783, + 0, 783, 784, 784, 0, 784, 784, 784, 0, 784, + + 784, 784, 784, 784, 785, 785, 785, 0, 785, 785, + 785, 785, 785, 785, 785, 785, 786, 786, 0, 0, + 0, 786, 786, 0, 786, 787, 787, 787, 787, 787, + 787, 787, 787, 787, 787, 787, 787, 788, 788, 0, + 0, 0, 0, 0, 788, 788, 789, 789, 0, 0, + 0, 789, 0, 0, 789, 790, 790, 790, 790, 790, + 790, 790, 790, 790, 790, 790, 790, 791, 791, 0, + 0, 0, 0, 791, 791, 791, 792, 792, 0, 0, + 0, 0, 792, 792, 792, 793, 793, 793, 793, 793, + 793, 793, 793, 793, 793, 793, 793, 794, 794, 794, + + 794, 794, 794, 794, 794, 794, 794, 794, 794, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, + 717 + } ; + +static yy_state_type yy_last_accepting_state; +static char *yy_last_accepting_cpos; + +/* The intent behind this definition is that it'll catch + * any uses of REJECT which flex missed. + */ +#define REJECT reject_used_but_not_detected +#define yymore() yymore_used_but_not_detected +#define YY_MORE_ADJ 0 +#define YY_RESTORE_YY_MORE_OFFSET +char *yytext; +#line 1 "gengtype-lex.l" +#define INITIAL 0 +/* -*- indented-text -*- */ +/* Process source files and output type information. + Copyright (C) 2002 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +GCC 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 GCC; see the file COPYING. If not, write to the Free +Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ +#line 23 "gengtype-lex.l" +#include "hconfig.h" +#include "system.h" + +#define malloc xmalloc +#define realloc xrealloc + +#include "gengtype.h" +#include "gengtype-yacc.h" + +#undef YY_USE_PROTOS +#define YY_DECL int yylex () + +static void update_lineno PARAMS ((const char *l, size_t len)); + +struct fileloc lexer_line; +int lexer_toplevel_done; + +static void +update_lineno (l, len) + const char *l; + size_t len; +{ + while (len-- > 0) + if (*l++ == '\n') + lexer_line.line++; +} + +#define in_struct 1 +#define in_struct_comment 2 +#define in_comment 3 +#define in_yacc_escape 4 + +#define YY_NO_UNPUT 1 +#define YY_NEVER_INTERACTIVE 1 +#line 1444 "/home/mrg/merge/src/gnu/dist/gcc/gcc/gengtype-lex.c" + +/* Macros after this point can all be overridden by user definitions in + * section 1. + */ + +#ifndef YY_SKIP_YYWRAP +#ifdef __cplusplus +extern "C" int yywrap YY_PROTO(( void )); +#else +extern int yywrap YY_PROTO(( void )); +#endif +#endif + +#ifndef YY_NO_UNPUT +static void yyunput YY_PROTO(( int c, char *buf_ptr )) +#ifdef __GNUC__ + __attribute__ ((unused)) +#endif +; +#endif + +#ifndef yytext_ptr +static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, yy_size_t )); +#endif + +#ifdef YY_NEED_STRLEN +static yy_size_t yy_flex_strlen YY_PROTO(( yyconst char * )); +#endif + +#ifndef YY_NO_INPUT +#ifdef __cplusplus +static int yyinput YY_PROTO(( void )); +#else +static int input YY_PROTO(( void )); +#endif +#endif + +#if YY_STACK_USED +static int yy_start_stack_ptr = 0; +static int yy_start_stack_depth = 0; +static int *yy_start_stack = 0; +#ifndef YY_NO_PUSH_STATE +static void yy_push_state YY_PROTO(( int new_state )); +#endif +#ifndef YY_NO_POP_STATE +static void yy_pop_state YY_PROTO(( void )); +#endif +#ifndef YY_NO_TOP_STATE +static int yy_top_state YY_PROTO(( void )); +#endif + +#else +#define YY_NO_PUSH_STATE 1 +#define YY_NO_POP_STATE 1 +#define YY_NO_TOP_STATE 1 +#endif + +#ifdef YY_MALLOC_DECL +YY_MALLOC_DECL +#else +#if __STDC__ +#ifndef __cplusplus +#include +#endif +#else +/* Just try to get by without declaring the routines. This will fail + * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) + * or sizeof(void*) != sizeof(int). + */ +#endif +#endif + +/* Amount of stuff to slurp up with each read. */ +#ifndef YY_READ_BUF_SIZE +#define YY_READ_BUF_SIZE 8192 +#endif + +/* Copy whatever the last rule matched to the standard output. */ + +#ifndef ECHO +/* This used to be an fputs(), but since the string might contain NUL's, + * we now use fwrite(). + */ +#define ECHO (void) fwrite( yytext, (size_t)yyleng, 1, yyout ) +#endif + +/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, + * is returned in "result". + */ +#ifndef YY_INPUT +#define YY_INPUT(buf,result,max_size) \ + if ( yy_current_buffer->yy_is_interactive ) \ + { \ + int c = '*', n; \ + for ( n = 0; n < max_size && \ + (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ + buf[n] = (char) c; \ + if ( c == '\n' ) \ + buf[n++] = (char) c; \ + if ( c == EOF && ferror( yyin ) ) \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + result = n; \ + } \ + else if ( ((result = fread( buf, 1, (size_t)max_size, yyin )) == 0) \ + && ferror( yyin ) ) \ + YY_FATAL_ERROR( "input in flex scanner failed" ); +#endif + +/* No semi-colon after return; correct usage is to write "yyterminate();" - + * we don't want an extra ';' after the "return" because that will cause + * some compilers to complain about unreachable statements. + */ +#ifndef yyterminate +#define yyterminate() return YY_NULL +#endif + +/* Number of entries by which start-condition stack grows. */ +#ifndef YY_START_STACK_INCR +#define YY_START_STACK_INCR 25 +#endif + +/* Report a fatal error. */ +#ifndef YY_FATAL_ERROR +#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) +#endif + +/* Default declaration of generated scanner - a define so the user can + * easily add parameters. + */ +#ifndef YY_DECL +#define YY_DECL int yylex YY_PROTO(( void )) +#endif + +/* Code executed at the beginning of each rule, after yytext and yyleng + * have been set up. + */ +#ifndef YY_USER_ACTION +#define YY_USER_ACTION +#endif + +/* Code executed at the end of each rule. */ +#ifndef YY_BREAK +#define YY_BREAK /*LINTED*/break; +#endif + +#define YY_RULE_SETUP \ + if ( yyleng > 0 ) \ + yy_current_buffer->yy_at_bol = \ + (yytext[yyleng - 1] == '\n'); \ + YY_USER_ACTION + +YY_DECL + { + register yy_state_type yy_current_state; + register char *yy_cp, *yy_bp; + register int yy_act; + +#line 60 "gengtype-lex.l" + + +#line 1605 "/home/mrg/merge/src/gnu/dist/gcc/gcc/gengtype-lex.c" + +#if defined(YY_USES_REJECT) && (defined(__GNUC__) || defined(lint)) + /* XXX: shut up `unused label' warning with %options yylineno */ + if (/*CONSTCOND*/0 && yy_full_match) + goto find_rule; +#endif + if ( yy_init ) + { + yy_init = 0; + +#ifdef YY_USER_INIT + YY_USER_INIT; +#endif + + if ( ! yy_start ) + yy_start = 1; /* first start state */ + + if ( ! yyin ) + yyin = stdin; + + if ( ! yyout ) + yyout = stdout; + + if ( ! yy_current_buffer ) + yy_current_buffer = + yy_create_buffer( yyin, YY_BUF_SIZE ); + + yy_load_buffer_state(); + } + + while (/*CONSTCOND*/ 1 ) /* loops until end-of-file is reached */ + { + yy_cp = yy_c_buf_p; + + /* Support of yytext. */ + *yy_cp = yy_hold_char; + + /* yy_bp points to the position in yy_ch_buf of the start of + * the current run. + */ + yy_bp = yy_cp; + + yy_current_state = yy_start; + yy_current_state += YY_AT_BOL(); +yy_match: + do + { + register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; + if ( yy_accept[yy_current_state] ) + { + yy_last_accepting_state = yy_current_state; + yy_last_accepting_cpos = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 718 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + ++yy_cp; + } + while ( yy_base[yy_current_state] != 3410 ); + +yy_find_action: + yy_act = yy_accept[yy_current_state]; + if ( yy_act == 0 ) + { /* have to back up */ + yy_cp = yy_last_accepting_cpos; + yy_current_state = yy_last_accepting_state; + yy_act = yy_accept[yy_current_state]; + } + + YY_DO_BEFORE_ACTION; + + +do_action: /* This label is used only to access EOF actions. */ + + + switch ( yy_act ) + { /* beginning of action switch */ + case 0: /* must back up */ + /* undo the effects of YY_DO_BEFORE_ACTION */ + *yy_cp = yy_hold_char; + yy_cp = yy_last_accepting_cpos; + yy_current_state = yy_last_accepting_state; + goto yy_find_action; + +case 1: +YY_RULE_SETUP +#line 62 "gengtype-lex.l" +{ + char *tagstart; + size_t taglen; + char *namestart; + size_t namelen; + int is_pointer = 0; + struct type *t; + int union_p; + + tagstart = yytext + strlen (" typedef "); + while (ISSPACE (*tagstart)) + tagstart++; + union_p = tagstart[0] == 'u'; + tagstart += strlen ("union "); + while (ISSPACE (*tagstart)) + tagstart++; + for (taglen = 1; ISIDNUM (tagstart[taglen]); taglen++) + ; + for (namestart = tagstart + taglen; + ! ISIDNUM (*namestart); + namestart++) + if (*namestart == '*') + is_pointer = 1; + for (namelen = 1; ISIDNUM (namestart[namelen]); namelen++) + ; + t = find_structure (xmemdup (tagstart, taglen, taglen+1), union_p); + if (is_pointer) + t = create_pointer (t); + do_typedef (xmemdup (namestart, namelen, namelen+1), t, &lexer_line); + update_lineno (yytext, yyleng); +} + YY_BREAK +case 2: +YY_RULE_SETUP +#line 94 "gengtype-lex.l" +{ + + char *namestart; + size_t namelen; + struct type *t; + char *typestart; + size_t typelen; + + for (namestart = yytext + yyleng - 2; ISSPACE (*namestart); namestart--) + ; + for (namelen = 1; !ISSPACE (namestart[-namelen]); namelen++) + ; + namestart -= namelen - 1; + for (typestart = yytext + strlen (" typedef "); + ISSPACE(*typestart); + typestart++) + ; + for (typelen = namestart - typestart; + ISSPACE(typestart[typelen-1]); + typelen--) + ; + + t = create_scalar_type (typestart, typelen); + do_typedef (xmemdup (namestart, namelen, namelen+1), t, &lexer_line); + update_lineno (yytext, yyleng); +} + YY_BREAK +case 3: +YY_RULE_SETUP +#line 121 "gengtype-lex.l" +{ + char *namestart; + size_t namelen; + struct type *t; + + for (namestart = yytext + yyleng - 7; ISSPACE (*namestart); namestart--) + ; + for (namelen = 1; !ISSPACE (namestart[-namelen]); namelen++) + ; + namestart -= namelen - 1; + + t = create_scalar_type ("function type", sizeof ("function type")-1); + do_typedef (xmemdup (namestart, namelen, namelen+1), t, &lexer_line); + update_lineno (yytext, yyleng); +} + YY_BREAK +case 4: +YY_RULE_SETUP +#line 136 "gengtype-lex.l" +{ + char *namestart; + size_t namelen; + struct type *t; + + for (namestart = yytext + yyleng - 7; !ISIDNUM (*namestart); namestart--) + ; + for (namelen = 1; ISIDNUM (namestart[-namelen]); namelen++) + ; + namestart -= namelen - 1; + + t = create_scalar_type ("function type", sizeof ("function type")-1); + do_typedef (xmemdup (namestart, namelen, namelen+1), t, &lexer_line); + update_lineno (yytext, yyleng); +} + YY_BREAK +case 5: +*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ +yy_c_buf_p = yy_cp -= 3; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 152 "gengtype-lex.l" +{ + char *tagstart; + size_t taglen; + int typedef_p; + int union_p; + + typedef_p = yytext[1] == 't'; + if (typedef_p) + for (tagstart = yytext + strlen (" typedef "); + ISSPACE(*tagstart); + tagstart++) + ; + else + tagstart = yytext + 1; + + union_p = tagstart[0] == 'u'; + tagstart += strlen ("union "); + while (ISSPACE (*tagstart)) + tagstart++; + for (taglen = 1; ISIDNUM (tagstart[taglen]); taglen++) + ; + + yylval.t = find_structure (xmemdup (tagstart, taglen, taglen + 1), union_p); + BEGIN(in_struct); + update_lineno (yytext, yyleng); + return typedef_p ? ENT_TYPEDEF_STRUCT : ENT_STRUCT; +} + YY_BREAK +case 6: +*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ +yy_c_buf_p = yy_cp -= 3; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 180 "gengtype-lex.l" +{ + BEGIN(in_struct); + update_lineno (yytext, yyleng); + return ENT_EXTERNSTATIC; +} + YY_BREAK +case 7: +*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ +yy_c_buf_p = yy_cp -= 3; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 186 "gengtype-lex.l" +{ + BEGIN(in_struct); + update_lineno (yytext, yyleng); + return ENT_YACCUNION; +} + YY_BREAK + +case 8: +YY_RULE_SETUP +#line 194 "gengtype-lex.l" +{ BEGIN(in_struct_comment); } + YY_BREAK +case 9: +YY_RULE_SETUP +#line 196 "gengtype-lex.l" +{ BEGIN(in_yacc_escape); } + YY_BREAK +case 10: +YY_RULE_SETUP +#line 198 "gengtype-lex.l" +{ update_lineno (yytext, yyleng); } + YY_BREAK +case 11: +*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ +yy_c_buf_p = yy_cp = yy_bp + 5; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 200 "gengtype-lex.l" +/* don't care */ + YY_BREAK +case 12: +*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ +yy_c_buf_p = yy_cp = yy_bp + 3; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 202 "gengtype-lex.l" +{ return GTY_TOKEN; } + YY_BREAK +case 13: +*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ +yy_c_buf_p = yy_cp = yy_bp + 5; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 203 "gengtype-lex.l" +{ return UNION; } + YY_BREAK +case 14: +*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ +yy_c_buf_p = yy_cp = yy_bp + 6; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 204 "gengtype-lex.l" +{ return STRUCT; } + YY_BREAK +case 15: +*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ +yy_c_buf_p = yy_cp = yy_bp + 4; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 205 "gengtype-lex.l" +{ return ENUM; } + YY_BREAK +case 16: +*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ +yy_c_buf_p = yy_cp = yy_bp + 9; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 206 "gengtype-lex.l" +{ return ALIAS; } + YY_BREAK +case 17: +YY_RULE_SETUP +#line 207 "gengtype-lex.l" +{ return NUM; } + YY_BREAK +case 18: +*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ +yy_c_buf_p = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 208 "gengtype-lex.l" +{ + yylval.s = xmemdup (yytext, yyleng, yyleng+1); + return PARAM_IS; +} + YY_BREAK +case 19: +*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ +yy_c_buf_p = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +#line 214 "gengtype-lex.l" +case 20: +YY_RULE_SETUP +#line 214 "gengtype-lex.l" +{ + size_t len; + + for (len = yyleng; ISSPACE (yytext[len-1]); len--) + ; + + yylval.t = create_scalar_type (yytext, len); + update_lineno (yytext, yyleng); + return SCALAR; +} + YY_BREAK +case 21: +*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ +yy_c_buf_p = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 225 "gengtype-lex.l" +{ + yylval.s = xmemdup (yytext, yyleng, yyleng+1); + return ID; +} + YY_BREAK +case 22: +YY_RULE_SETUP +#line 230 "gengtype-lex.l" +{ + yylval.s = xmemdup (yytext+1, yyleng-2, yyleng-1); + return STRING; +} + YY_BREAK +case 23: +YY_RULE_SETUP +#line 234 "gengtype-lex.l" +{ + yylval.s = xmemdup (yytext+1, yyleng-2, yyleng-1); + return ARRAY; +} + YY_BREAK +case 24: +YY_RULE_SETUP +#line 238 "gengtype-lex.l" +{ + yylval.s = xmemdup (yytext+1, yyleng-1, yyleng); + return PERCENT_ID; +} + YY_BREAK +case 25: +YY_RULE_SETUP +#line 242 "gengtype-lex.l" +{ + yylval.s = xmemdup (yytext+1, yyleng-2, yyleng); + return CHAR; +} + YY_BREAK +case 26: +YY_RULE_SETUP +#line 247 "gengtype-lex.l" +{ return yytext[0]; } + YY_BREAK +case 27: +YY_RULE_SETUP +#line 249 "gengtype-lex.l" +{ + if (lexer_toplevel_done) + { + BEGIN(INITIAL); + lexer_toplevel_done = 0; + } + return yytext[0]; +} + YY_BREAK +case 28: +YY_RULE_SETUP +#line 258 "gengtype-lex.l" +{ + BEGIN(INITIAL); + return PERCENTPERCENT; +} + YY_BREAK +case 29: +YY_RULE_SETUP +#line 263 "gengtype-lex.l" +{ + error_at_line (&lexer_line, "unexpected character `%s'", yytext); +} + YY_BREAK + +case 30: +YY_RULE_SETUP +#line 268 "gengtype-lex.l" +{ BEGIN(in_comment); } + YY_BREAK +case 31: +YY_RULE_SETUP +#line 269 "gengtype-lex.l" +{ lexer_line.line++; } + YY_BREAK +case 32: +#line 271 "gengtype-lex.l" +case 33: +#line 272 "gengtype-lex.l" +case 34: +YY_RULE_SETUP +#line 272 "gengtype-lex.l" +/* do nothing */ + YY_BREAK +case 35: +YY_RULE_SETUP +#line 273 "gengtype-lex.l" +{ update_lineno (yytext, yyleng); } + YY_BREAK +case 36: +*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ +yy_c_buf_p = yy_cp = yy_bp + 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 274 "gengtype-lex.l" +/* do nothing */ + YY_BREAK + +case 37: +YY_RULE_SETUP +#line 277 "gengtype-lex.l" +{ lexer_line.line++; } + YY_BREAK +case 38: +#line 279 "gengtype-lex.l" +case 39: +YY_RULE_SETUP +#line 279 "gengtype-lex.l" +/* do nothing */ + YY_BREAK +case 40: +*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ +yy_c_buf_p = yy_cp = yy_bp + 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 280 "gengtype-lex.l" +/* do nothing */ + YY_BREAK + +case 41: +YY_RULE_SETUP +#line 282 "gengtype-lex.l" +{ BEGIN(INITIAL); } + YY_BREAK +case 42: +YY_RULE_SETUP +#line 283 "gengtype-lex.l" +{ BEGIN(in_struct); } + YY_BREAK + +case 43: +YY_RULE_SETUP +#line 286 "gengtype-lex.l" +{ lexer_line.line++; } + YY_BREAK +case 44: +#line 288 "gengtype-lex.l" +case 45: +YY_RULE_SETUP +#line 288 "gengtype-lex.l" +/* do nothing */ + YY_BREAK +case 46: +*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ +yy_c_buf_p = yy_cp = yy_bp + 1; +YY_DO_BEFORE_ACTION; /* set up yytext again */ +YY_RULE_SETUP +#line 289 "gengtype-lex.l" +/* do nothing */ + YY_BREAK +case 47: +YY_RULE_SETUP +#line 290 "gengtype-lex.l" +{ BEGIN(in_struct); } + YY_BREAK +case 48: +YY_RULE_SETUP +#line 291 "gengtype-lex.l" +{ + error_at_line (&lexer_line, + "unterminated %%{; unexpected EOF"); +} + YY_BREAK + +case 49: +#line 299 "gengtype-lex.l" +case 50: +YY_RULE_SETUP +#line 299 "gengtype-lex.l" +{ + error_at_line (&lexer_line, + "unterminated comment or string; unexpected EOF"); +} + YY_BREAK +case 51: +YY_RULE_SETUP +#line 304 "gengtype-lex.l" +YY_FATAL_ERROR( "flex scanner jammed" ); + YY_BREAK +#line 2144 "/home/mrg/merge/src/gnu/dist/gcc/gcc/gengtype-lex.c" +case YY_STATE_EOF(INITIAL): +case YY_STATE_EOF(in_struct): +case YY_STATE_EOF(in_struct_comment): +case YY_STATE_EOF(in_comment): +case YY_STATE_EOF(in_yacc_escape): + yyterminate(); + + case YY_END_OF_BUFFER: + { + /* Amount of text matched not including the EOB char. */ + int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; + + /* Undo the effects of YY_DO_BEFORE_ACTION. */ + *yy_cp = yy_hold_char; + YY_RESTORE_YY_MORE_OFFSET + + if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) + { + /* We're scanning a new file or input source. It's + * possible that this happened because the user + * just pointed yyin at a new source and called + * yylex(). If so, then we have to assure + * consistency between yy_current_buffer and our + * globals. Here is the right place to do so, because + * this is the first action (other than possibly a + * back-up) that will match for the new input source. + */ + yy_n_chars = yy_current_buffer->yy_n_chars; + yy_current_buffer->yy_input_file = yyin; + yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; + } + + /* Note that here we test for yy_c_buf_p "<=" to the position + * of the first EOB in the buffer, since yy_c_buf_p will + * already have been incremented past the NUL character + * (since all states make transitions on EOB to the + * end-of-buffer state). Contrast this with the test + * in input(). + */ + if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) + { /* This was really a NUL. */ + yy_state_type yy_next_state; + + yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state(); + + /* Okay, we're now positioned to make the NUL + * transition. We couldn't have + * yy_get_previous_state() go ahead and do it + * for us because it doesn't know how to deal + * with the possibility of jamming (and we don't + * want to build jamming into it because then it + * will run more slowly). + */ + + yy_next_state = yy_try_NUL_trans( yy_current_state ); + + yy_bp = yytext_ptr + YY_MORE_ADJ; + + if ( yy_next_state ) + { + /* Consume the NUL. */ + yy_cp = ++yy_c_buf_p; + yy_current_state = yy_next_state; + goto yy_match; + } + + else + { + yy_cp = yy_c_buf_p; + goto yy_find_action; + } + } + + else switch ( yy_get_next_buffer() ) + { + case EOB_ACT_END_OF_FILE: + { + yy_did_buffer_switch_on_eof = 0; + + if ( yywrap() ) + { + /* Note: because we've taken care in + * yy_get_next_buffer() to have set up + * yytext, we can now set up + * yy_c_buf_p so that if some total + * hoser (like flex itself) wants to + * call the scanner after we return the + * YY_NULL, it'll still work - another + * YY_NULL will get returned. + */ + yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; + + yy_act = YY_STATE_EOF(YY_START); + goto do_action; + } + + else + { + if ( ! yy_did_buffer_switch_on_eof ) + YY_NEW_FILE; + } + break; + } + + case EOB_ACT_CONTINUE_SCAN: + yy_c_buf_p = + yytext_ptr + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state(); + + yy_cp = yy_c_buf_p; + yy_bp = yytext_ptr + YY_MORE_ADJ; + goto yy_match; + + case EOB_ACT_LAST_MATCH: + yy_c_buf_p = + &yy_current_buffer->yy_ch_buf[yy_n_chars]; + + yy_current_state = yy_get_previous_state(); + + yy_cp = yy_c_buf_p; + yy_bp = yytext_ptr + YY_MORE_ADJ; + goto yy_find_action; + } + break; + } + + default: + YY_FATAL_ERROR( + "fatal flex scanner internal error--no action found" ); + } /* end of action switch */ + } /* end of scanning one token */ + } /* end of yylex */ + + +/* yy_get_next_buffer - try to read in a new buffer + * + * Returns a code representing an action: + * EOB_ACT_LAST_MATCH - + * EOB_ACT_CONTINUE_SCAN - continue scanning from current position + * EOB_ACT_END_OF_FILE - end of file + */ + +static int yy_get_next_buffer() + { + register char *dest = yy_current_buffer->yy_ch_buf; + register char *source = yytext_ptr; + register int number_to_move, i; + int ret_val; + + if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) + YY_FATAL_ERROR( + "fatal flex scanner internal error--end of buffer missed" ); + + if ( yy_current_buffer->yy_fill_buffer == 0 ) + { /* Don't try to fill the buffer, so this is an EOF. */ + if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) + { + /* We matched a single character, the EOB, so + * treat this as a final EOF. + */ + return EOB_ACT_END_OF_FILE; + } + + else + { + /* We matched some text prior to the EOB, first + * process it. + */ + return EOB_ACT_LAST_MATCH; + } + } + + /* Try to read more data. */ + + /* First move last chars to start of buffer. */ + number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; + + for ( i = 0; i < number_to_move; ++i ) + *(dest++) = *(source++); + + if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) + /* don't do the read, it's not guaranteed to return an EOF, + * just force an EOF + */ + yy_current_buffer->yy_n_chars = yy_n_chars = 0; + + else + { + int num_to_read = + yy_current_buffer->yy_buf_size - number_to_move - 1; + + while ( num_to_read <= 0 ) + { /* Not enough room in the buffer - grow it. */ +#ifdef YY_USES_REJECT + YY_FATAL_ERROR( +"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); +#else + + /* just a shorter name for the current buffer */ + YY_BUFFER_STATE b = yy_current_buffer; + + int yy_c_buf_p_offset = + (int) (yy_c_buf_p - b->yy_ch_buf); + + if ( b->yy_is_our_buffer ) + { + int new_size = b->yy_buf_size * 2; + + if ( new_size <= 0 ) + b->yy_buf_size += b->yy_buf_size / 8; + else + b->yy_buf_size *= 2; + + b->yy_ch_buf = (char *) + /* Include room in for 2 EOB chars. */ + yy_flex_realloc( (void *) b->yy_ch_buf, + b->yy_buf_size + 2 ); + } + else + /* Can't grow it, we don't own it. */ + b->yy_ch_buf = 0; + + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( + "fatal error - scanner input buffer overflow" ); + + yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; + + num_to_read = yy_current_buffer->yy_buf_size - + number_to_move - 1; +#endif + } + + if ( num_to_read > YY_READ_BUF_SIZE ) + num_to_read = YY_READ_BUF_SIZE; + + /* Read in more data. */ + YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), + yy_n_chars, num_to_read ); + + yy_current_buffer->yy_n_chars = yy_n_chars; + } + + if ( yy_n_chars == 0 ) + { + if ( number_to_move == YY_MORE_ADJ ) + { + ret_val = EOB_ACT_END_OF_FILE; + yyrestart( yyin ); + } + + else + { + ret_val = EOB_ACT_LAST_MATCH; + yy_current_buffer->yy_buffer_status = + YY_BUFFER_EOF_PENDING; + } + } + + else + ret_val = EOB_ACT_CONTINUE_SCAN; + + yy_n_chars += number_to_move; + yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; + yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; + + yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; + + return ret_val; + } + + +/* yy_get_previous_state - get the state just before the EOB char was reached */ + +static yy_state_type yy_get_previous_state() + { + register yy_state_type yy_current_state; + register char *yy_cp; + + yy_current_state = yy_start; + yy_current_state += YY_AT_BOL(); + + for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) + { + register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + if ( yy_accept[yy_current_state] ) + { + yy_last_accepting_state = yy_current_state; + yy_last_accepting_cpos = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 718 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + } + + return yy_current_state; + } + + +/* yy_try_NUL_trans - try to make a transition on the NUL character + * + * synopsis + * next_state = yy_try_NUL_trans( current_state ); + */ + +#ifdef YY_USE_PROTOS +static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) +#else +static yy_state_type yy_try_NUL_trans( yy_current_state ) +yy_state_type yy_current_state; +#endif + { + register int yy_is_jam; + register char *yy_cp = yy_c_buf_p; + + register YY_CHAR yy_c = 1; + if ( yy_accept[yy_current_state] ) + { + yy_last_accepting_state = yy_current_state; + yy_last_accepting_cpos = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 718 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + yy_is_jam = (yy_current_state == 717); + + return yy_is_jam ? 0 : yy_current_state; + } + + +#ifndef YY_NO_UNPUT +#ifdef YY_USE_PROTOS +static void yyunput( int c, register char *yy_bp ) +#else +static void yyunput( c, yy_bp ) +int c; +register char *yy_bp; +#endif + { + register char *yy_cp = yy_c_buf_p; + + /* undo effects of setting up yytext */ + *yy_cp = yy_hold_char; + + if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) + { /* need to shift things up to make room */ + /* +2 for EOB chars. */ + register int number_to_move = yy_n_chars + 2; + register char *dest = &yy_current_buffer->yy_ch_buf[ + yy_current_buffer->yy_buf_size + 2]; + register char *source = + &yy_current_buffer->yy_ch_buf[number_to_move]; + + while ( source > yy_current_buffer->yy_ch_buf ) + *--dest = *--source; + + yy_cp += (int) (dest - source); + yy_bp += (int) (dest - source); + yy_current_buffer->yy_n_chars = + yy_n_chars = yy_current_buffer->yy_buf_size; + + if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) + YY_FATAL_ERROR( "flex scanner push-back overflow" ); + } + + *--yy_cp = (char) c; + + + yytext_ptr = yy_bp; + yy_hold_char = *yy_cp; + yy_c_buf_p = yy_cp; + } +#endif /* ifndef YY_NO_UNPUT */ + + +#ifdef __cplusplus +static int yyinput() +#else +static int input() +#endif + { + int c; + + *yy_c_buf_p = yy_hold_char; + + if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) + { + /* yy_c_buf_p now points to the character we want to return. + * If this occurs *before* the EOB characters, then it's a + * valid NUL; if not, then we've hit the end of the buffer. + */ + if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) + /* This was really a NUL. */ + *yy_c_buf_p = '\0'; + + else + { /* need more input */ + int offset = yy_c_buf_p - yytext_ptr; + ++yy_c_buf_p; + + switch ( yy_get_next_buffer() ) + { + case EOB_ACT_LAST_MATCH: + /* This happens because yy_g_n_b() + * sees that we've accumulated a + * token and flags that we need to + * try matching the token before + * proceeding. But for input(), + * there's no matching to consider. + * So convert the EOB_ACT_LAST_MATCH + * to EOB_ACT_END_OF_FILE. + */ + + /* Reset buffer status. */ + yyrestart( yyin ); + + /*FALLTHROUGH*/ + + case EOB_ACT_END_OF_FILE: + { + if ( yywrap() ) + return EOF; + + if ( ! yy_did_buffer_switch_on_eof ) + YY_NEW_FILE; +#ifdef __cplusplus + return yyinput(); +#else + return input(); +#endif + } + + case EOB_ACT_CONTINUE_SCAN: + yy_c_buf_p = yytext_ptr + offset; + break; + } + } + } + + c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ + *yy_c_buf_p = '\0'; /* preserve yytext */ + yy_hold_char = *++yy_c_buf_p; + + yy_current_buffer->yy_at_bol = (c == '\n'); + + return c; + } + + +#ifdef YY_USE_PROTOS +void yyrestart( FILE *input_file ) +#else +void yyrestart( input_file ) +FILE *input_file; +#endif + { + if ( ! yy_current_buffer ) + yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); + + yy_init_buffer( yy_current_buffer, input_file ); + yy_load_buffer_state(); + } + + +#ifdef YY_USE_PROTOS +void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) +#else +void yy_switch_to_buffer( new_buffer ) +YY_BUFFER_STATE new_buffer; +#endif + { + if ( yy_current_buffer == new_buffer ) + return; + + if ( yy_current_buffer ) + { + /* Flush out information for old buffer. */ + *yy_c_buf_p = yy_hold_char; + yy_current_buffer->yy_buf_pos = yy_c_buf_p; + yy_current_buffer->yy_n_chars = yy_n_chars; + } + + yy_current_buffer = new_buffer; + yy_load_buffer_state(); + + /* We don't actually know whether we did this switch during + * EOF (yywrap()) processing, but the only time this flag + * is looked at is after yywrap() is called, so it's safe + * to go ahead and always set it. + */ + yy_did_buffer_switch_on_eof = 1; + } + + +#ifdef YY_USE_PROTOS +void yy_load_buffer_state( void ) +#else +void yy_load_buffer_state() +#endif + { + yy_n_chars = yy_current_buffer->yy_n_chars; + yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; + yyin = yy_current_buffer->yy_input_file; + yy_hold_char = *yy_c_buf_p; + } + + +#ifdef YY_USE_PROTOS +YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) +#else +YY_BUFFER_STATE yy_create_buffer( file, size ) +FILE *file; +int size; +#endif + { + YY_BUFFER_STATE b; + + b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); + + b->yy_buf_size = size; + + /* yy_ch_buf has to be 2 characters longer than the size given because + * we need to put in 2 end-of-buffer characters. + */ + b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); + + b->yy_is_our_buffer = 1; + + yy_init_buffer( b, file ); + + return b; + } + + +#ifdef YY_USE_PROTOS +void yy_delete_buffer( YY_BUFFER_STATE b ) +#else +void yy_delete_buffer( b ) +YY_BUFFER_STATE b; +#endif + { + if ( ! b ) + return; + + if ( b == yy_current_buffer ) + yy_current_buffer = (YY_BUFFER_STATE) 0; + + if ( b->yy_is_our_buffer ) + yy_flex_free( (void *) b->yy_ch_buf ); + + yy_flex_free( (void *) b ); + } + + +#ifndef YY_ALWAYS_INTERACTIVE +#ifndef YY_NEVER_INTERACTIVE +#include +#endif +#endif + +#ifdef YY_USE_PROTOS +void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) +#else +void yy_init_buffer( b, file ) +YY_BUFFER_STATE b; +FILE *file; +#endif + + + { + yy_flush_buffer( b ); + + b->yy_input_file = file; + b->yy_fill_buffer = 1; + +#if YY_ALWAYS_INTERACTIVE + b->yy_is_interactive = 1; +#else +#if YY_NEVER_INTERACTIVE + b->yy_is_interactive = 0; +#else + b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; +#endif +#endif + } + + +#ifdef YY_USE_PROTOS +void yy_flush_buffer( YY_BUFFER_STATE b ) +#else +void yy_flush_buffer( b ) +YY_BUFFER_STATE b; +#endif + + { + if ( ! b ) + return; + + b->yy_n_chars = 0; + + /* We always need two end-of-buffer characters. The first causes + * a transition to the end-of-buffer state. The second causes + * a jam in that state. + */ + b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; + b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; + + b->yy_buf_pos = &b->yy_ch_buf[0]; + + b->yy_at_bol = 1; + b->yy_buffer_status = YY_BUFFER_NEW; + + if ( b == yy_current_buffer ) + yy_load_buffer_state(); + } + + +#ifndef YY_NO_SCAN_BUFFER +#ifdef YY_USE_PROTOS +YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) +#else +YY_BUFFER_STATE yy_scan_buffer( base, size ) +char *base; +yy_size_t size; +#endif + { + YY_BUFFER_STATE b; + + if ( size < 2 || + base[size-2] != YY_END_OF_BUFFER_CHAR || + base[size-1] != YY_END_OF_BUFFER_CHAR ) + /* They forgot to leave room for the EOB's. */ + return 0; + + b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); + + b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ + b->yy_buf_pos = b->yy_ch_buf = base; + b->yy_is_our_buffer = 0; + b->yy_input_file = 0; + b->yy_n_chars = b->yy_buf_size; + b->yy_is_interactive = 0; + b->yy_at_bol = 1; + b->yy_fill_buffer = 0; + b->yy_buffer_status = YY_BUFFER_NEW; + + yy_switch_to_buffer( b ); + + return b; + } +#endif + + +#ifndef YY_NO_SCAN_STRING +#ifdef YY_USE_PROTOS +YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str ) +#else +YY_BUFFER_STATE yy_scan_string( yy_str ) +yyconst char *yy_str; +#endif + { + yy_size_t len; + for ( len = 0; yy_str[len]; ++len ) + ; + + return yy_scan_bytes( yy_str, len ); + } +#endif + + +#ifndef YY_NO_SCAN_BYTES +#ifdef YY_USE_PROTOS +YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, yy_size_t len ) +#else +YY_BUFFER_STATE yy_scan_bytes( bytes, len ) +yyconst char *bytes; +yy_size_t len; +#endif + { + YY_BUFFER_STATE b; + char *buf; + yy_size_t n, i; + + /* Get memory for full buffer, including space for trailing EOB's. */ + n = len + 2; + buf = (char *) yy_flex_alloc( n ); + if ( ! buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); + + for ( i = 0; i < len; ++i ) + buf[i] = bytes[i]; + + buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; + + b = yy_scan_buffer( buf, n ); + if ( ! b ) + YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); + + /* It's okay to grow etc. this buffer, and we should throw it + * away when we're done. + */ + b->yy_is_our_buffer = 1; + + return b; + } +#endif + + +#ifndef YY_NO_PUSH_STATE +#ifdef YY_USE_PROTOS +static void yy_push_state( int new_state ) +#else +static void yy_push_state( new_state ) +int new_state; +#endif + { + if ( yy_start_stack_ptr >= yy_start_stack_depth ) + { + yy_size_t new_size; + + yy_start_stack_depth += YY_START_STACK_INCR; + new_size = yy_start_stack_depth * sizeof( int ); + + if ( ! yy_start_stack ) + yy_start_stack = (int *) yy_flex_alloc( new_size ); + + else + yy_start_stack = (int *) yy_flex_realloc( + (void *) yy_start_stack, new_size ); + + if ( ! yy_start_stack ) + YY_FATAL_ERROR( + "out of memory expanding start-condition stack" ); + } + + yy_start_stack[yy_start_stack_ptr++] = YY_START; + + BEGIN(new_state); + } +#endif + + +#ifndef YY_NO_POP_STATE +static void yy_pop_state() + { + if ( --yy_start_stack_ptr < 0 ) + YY_FATAL_ERROR( "start-condition stack underflow" ); + + BEGIN(yy_start_stack[yy_start_stack_ptr]); + } +#endif + + +#ifndef YY_NO_TOP_STATE +static int yy_top_state() + { + return yy_start_stack[yy_start_stack_ptr - 1]; + } +#endif + +#ifndef YY_EXIT_FAILURE +#define YY_EXIT_FAILURE 2 +#endif + +#ifdef YY_USE_PROTOS +static void yy_fatal_error( yyconst char msg[] ) +#else +static void yy_fatal_error( msg ) +yyconst char msg[]; +#endif + { + (void) fprintf( stderr, "%s\n", msg ); + exit( YY_EXIT_FAILURE ); + } + + + +/* Redefine yyless() so it works in section 3 code. */ + +#undef yyless +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up yytext. */ \ + yytext[yyleng] = yy_hold_char; \ + yy_c_buf_p = yytext + n; \ + yy_hold_char = *yy_c_buf_p; \ + *yy_c_buf_p = '\0'; \ + yyleng = n; \ + } \ + while ( 0 ) + + +/* Internal utility routines. */ + +#ifndef yytext_ptr +#ifdef YY_USE_PROTOS +static void yy_flex_strncpy( char *s1, yyconst char *s2, yy_size_t n ) +#else +static void yy_flex_strncpy( s1, s2, n ) +char *s1; +yyconst char *s2; +yy_size_t n; +#endif + { + register yy_size_t i; + for ( i = 0; i < n; ++i ) + s1[i] = s2[i]; + } +#endif + +#ifdef YY_NEED_STRLEN +#ifdef YY_USE_PROTOS +static yy_size_t yy_flex_strlen( yyconst char *s ) +#else +static yy_size_t yy_flex_strlen( s ) +yyconst char *s; +#endif + { + register yy_size_t n; + for ( n = 0; s[n]; ++n ) + ; + + return n; + } +#endif + + +#ifdef YY_USE_PROTOS +static void *yy_flex_alloc( yy_size_t size ) +#else +static void *yy_flex_alloc( size ) +yy_size_t size; +#endif + { + return (void *) malloc( size ); + } + +#ifndef YY_USES_REJECT +#ifdef YY_USE_PROTOS +static void *yy_flex_realloc( void *ptr, yy_size_t size ) +#else +static void *yy_flex_realloc( ptr, size ) +void *ptr; +yy_size_t size; +#endif + { + /* The cast to (char *) in the following accommodates both + * implementations that use char* generic pointers, and those + * that use void* generic pointers. It works with the latter + * because both ANSI C and C++ allow castless assignment from + * any pointer type to void*, and deal with argument conversions + * as though doing an assignment. + */ + return (void *) realloc( (char *) ptr, size ); + } +#endif + +#ifdef YY_USE_PROTOS +static void yy_flex_free( void *ptr ) +#else +static void yy_flex_free( ptr ) +void *ptr; +#endif + { + free( ptr ); + } + +#if YY_MAIN +int main() + { + yylex(); + return 0; + } +#endif +#line 304 "gengtype-lex.l" + + +void +yyerror (s) + const char *s; +{ + error_at_line (&lexer_line, s); +} + +void +parse_file (fname) + const char *fname; +{ + yyin = fopen (fname, "r"); + lexer_line.file = fname; + lexer_line.line = 1; + if (yyin == NULL) + { + perror (fname); + exit (1); + } + if (yyparse() != 0) + exit (1); + fclose (yyin); +} diff --git a/gnu/dist/gcc/gcc/gengtype-yacc.c b/gnu/dist/gcc/gcc/gengtype-yacc.c new file mode 100644 index 000000000000..17f90140caab --- /dev/null +++ b/gnu/dist/gcc/gcc/gengtype-yacc.c @@ -0,0 +1,1644 @@ +/* A Bison parser, made by GNU Bison 1.875. */ + +/* Skeleton parser for Yacc-like parsing with Bison, + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +/* As a special exception, when this file is copied by Bison into a + Bison output file, you may use that output file without restriction. + This special exception was added by the Free Software Foundation + in version 1.24 of Bison. */ + +/* Written by Richard Stallman by simplifying the original so called + ``semantic'' parser. */ + +/* All symbols defined below should begin with yy or YY, to avoid + infringing on user name space. This should be done even for local + variables, as they might otherwise be expanded by user macros. + There are some unavoidable exceptions within include files to + define necessary library symbols; they are noted "INFRINGES ON + USER NAME SPACE" below. */ + +/* Identify Bison output. */ +#define YYBISON 1 + +/* Skeleton name. */ +#define YYSKELETON_NAME "yacc.c" + +/* Pure parsers. */ +#define YYPURE 0 + +/* Using locations. */ +#define YYLSP_NEEDED 0 + + + +/* Tokens. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + ENT_TYPEDEF_STRUCT = 258, + ENT_STRUCT = 259, + ENT_EXTERNSTATIC = 260, + ENT_YACCUNION = 261, + GTY_TOKEN = 262, + UNION = 263, + STRUCT = 264, + ENUM = 265, + ALIAS = 266, + PARAM_IS = 267, + NUM = 268, + PERCENTPERCENT = 269, + SCALAR = 270, + ID = 271, + STRING = 272, + ARRAY = 273, + PERCENT_ID = 274, + CHAR = 275 + }; +#endif +#define ENT_TYPEDEF_STRUCT 258 +#define ENT_STRUCT 259 +#define ENT_EXTERNSTATIC 260 +#define ENT_YACCUNION 261 +#define GTY_TOKEN 262 +#define UNION 263 +#define STRUCT 264 +#define ENUM 265 +#define ALIAS 266 +#define PARAM_IS 267 +#define NUM 268 +#define PERCENTPERCENT 269 +#define SCALAR 270 +#define ID 271 +#define STRING 272 +#define ARRAY 273 +#define PERCENT_ID 274 +#define CHAR 275 + + + + +/* Copy the first part of user declarations. */ +#line 22 "gengtype-yacc.y" + +#include "hconfig.h" +#include "system.h" +#include "gengtype.h" +#define YYERROR_VERBOSE + + +/* Enabling traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif + +/* Enabling verbose error messages. */ +#ifdef YYERROR_VERBOSE +# undef YYERROR_VERBOSE +# define YYERROR_VERBOSE 1 +#else +# define YYERROR_VERBOSE 0 +#endif + +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) +#line 29 "gengtype-yacc.y" +typedef union YYSTYPE { + type_p t; + pair_p p; + options_p o; + const char *s; +} YYSTYPE; +/* Line 191 of yacc.c. */ +#line 129 "gengtype-yacc.c" +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 +#endif + + + +/* Copy the second part of user declarations. */ + + +/* Line 214 of yacc.c. */ +#line 141 "gengtype-yacc.c" + +#if ! defined (yyoverflow) || YYERROR_VERBOSE + +/* The parser invokes alloca or malloc; define the necessary symbols. */ + +# if YYSTACK_USE_ALLOCA +# define YYSTACK_ALLOC alloca +# else +# ifndef YYSTACK_USE_ALLOCA +# if defined (alloca) || defined (_ALLOCA_H) +# define YYSTACK_ALLOC alloca +# else +# ifdef __GNUC__ +# define YYSTACK_ALLOC __builtin_alloca +# endif +# endif +# endif +# endif + +# ifdef YYSTACK_ALLOC + /* Pacify GCC's `empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) +# else +# if defined (__STDC__) || defined (__cplusplus) +# include /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# endif +# define YYSTACK_ALLOC malloc +# define YYSTACK_FREE free +# endif +#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */ + + +#if (! defined (yyoverflow) \ + && (! defined (__cplusplus) \ + || (YYSTYPE_IS_TRIVIAL))) + +/* A type that is properly aligned for any stack member. */ +union yyalloc +{ + short yyss; + YYSTYPE yyvs; + }; + +/* The size of the maximum gap between one aligned stack and the next. */ +# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) + +/* The size of an array large to enough to hold all stacks, each with + N elements. */ +# define YYSTACK_BYTES(N) \ + ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ + + YYSTACK_GAP_MAXIMUM) + +/* Copy COUNT objects from FROM to TO. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if 1 < __GNUC__ +# define YYCOPY(To, From, Count) \ + __builtin_memcpy (To, From, (Count) * sizeof (*(From))) +# else +# define YYCOPY(To, From, Count) \ + do \ + { \ + register YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (To)[yyi] = (From)[yyi]; \ + } \ + while (0) +# endif +# endif + +/* Relocate STACK from its old location to the new one. The + local variables YYSIZE and YYSTACKSIZE give the old and new number of + elements in the stack, and YYPTR gives the new location of the + stack. Advance YYPTR to a properly aligned location for the next + stack. */ +# define YYSTACK_RELOCATE(Stack) \ + do \ + { \ + YYSIZE_T yynewbytes; \ + YYCOPY (&yyptr->Stack, Stack, yysize); \ + Stack = &yyptr->Stack; \ + yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ + yyptr += yynewbytes / sizeof (*yyptr); \ + } \ + while (0) + +#endif + +#if defined (__STDC__) || defined (__cplusplus) + typedef signed char yysigned_char; +#else + typedef short yysigned_char; +#endif + +/* YYFINAL -- State number of the termination state. */ +#define YYFINAL 14 +/* YYLAST -- Last index in YYTABLE. */ +#define YYLAST 103 + +/* YYNTOKENS -- Number of terminals. */ +#define YYNTOKENS 32 +/* YYNNTS -- Number of nonterminals. */ +#define YYNNTS 21 +/* YYNRULES -- Number of rules. */ +#define YYNRULES 53 +/* YYNRULES -- Number of states. */ +#define YYNSTATES 112 + +/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ +#define YYUNDEFTOK 2 +#define YYMAXUTOK 275 + +#define YYTRANSLATE(YYX) \ + ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) + +/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ +static const unsigned 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, 2, 2, 2, 2, 2, 2, 2, + 30, 31, 28, 2, 29, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 27, 23, + 25, 24, 26, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 21, 2, 22, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 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 +}; + +#if YYDEBUG +/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in + YYRHS. */ +static const unsigned char yyprhs[] = +{ + 0, 0, 3, 4, 7, 10, 13, 14, 23, 24, + 32, 38, 45, 53, 55, 57, 59, 66, 67, 71, + 78, 79, 82, 85, 86, 93, 100, 108, 109, 112, + 115, 117, 119, 122, 128, 131, 137, 140, 143, 149, + 150, 156, 160, 163, 164, 166, 173, 175, 177, 182, + 187, 189, 193, 194 +}; + +/* YYRHS -- A `-1'-separated list of the rules' RHS. */ +static const yysigned_char yyrhs[] = +{ + 33, 0, -1, -1, 34, 33, -1, 37, 33, -1, + 40, 33, -1, -1, 3, 48, 21, 43, 22, 16, + 35, 23, -1, -1, 4, 48, 21, 43, 22, 36, + 23, -1, 5, 48, 38, 16, 39, -1, 5, 48, + 38, 16, 18, 39, -1, 5, 48, 38, 16, 18, + 18, 39, -1, 45, -1, 23, -1, 24, -1, 6, + 48, 43, 22, 41, 14, -1, -1, 41, 19, 42, + -1, 41, 19, 25, 16, 26, 42, -1, -1, 42, + 16, -1, 42, 20, -1, -1, 45, 47, 16, 44, + 23, 43, -1, 45, 47, 16, 18, 23, 43, -1, + 45, 47, 16, 18, 18, 23, 43, -1, -1, 27, + 13, -1, 27, 16, -1, 15, -1, 16, -1, 45, + 28, -1, 9, 16, 21, 43, 22, -1, 9, 16, + -1, 8, 16, 21, 43, 22, -1, 8, 16, -1, + 10, 16, -1, 10, 16, 21, 46, 22, -1, -1, + 16, 24, 13, 29, 46, -1, 16, 29, 46, -1, + 16, 46, -1, -1, 48, -1, 7, 30, 30, 52, + 31, 31, -1, 11, -1, 12, -1, 49, 30, 45, + 31, -1, 16, 30, 17, 31, -1, 50, -1, 51, + 29, 50, -1, -1, 51, -1 +}; + +/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ +static const unsigned short yyrline[] = +{ + 0, 62, 62, 63, 64, 65, 69, 68, 78, 77, + 87, 92, 97, 105, 112, 113, 116, 124, 125, 138, + 157, 158, 169, 182, 183, 193, 203, 215, 216, 217, + 220, 222, 224, 226, 231, 233, 238, 240, 242, 246, + 247, 249, 251, 255, 256, 259, 263, 265, 269, 276, + 285, 290, 297, 298 +}; +#endif + +#if YYDEBUG || YYERROR_VERBOSE +/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. + First, the terminals, then, starting at YYNTOKENS, nonterminals. */ +static const char *const yytname[] = +{ + "$end", "error", "$undefined", "ENT_TYPEDEF_STRUCT", "ENT_STRUCT", + "ENT_EXTERNSTATIC", "ENT_YACCUNION", "GTY_TOKEN", "UNION", "STRUCT", + "ENUM", "ALIAS", "PARAM_IS", "NUM", "\"%%\"", "SCALAR", "ID", "STRING", + "ARRAY", "PERCENT_ID", "CHAR", "'{'", "'}'", "';'", "'='", "'<'", "'>'", + "':'", "'*'", "','", "'('", "')'", "$accept", "start", "typedef_struct", + "@1", "@2", "externstatic", "lasttype", "semiequal", "yacc_union", + "yacc_typematch", "yacc_ids", "struct_fields", "bitfieldopt", "type", + "enum_items", "optionsopt", "options", "type_option", "option", + "optionseq", "optionseqopt", 0 +}; +#endif + +# ifdef YYPRINT +/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to + token YYLEX-NUM. */ +static const unsigned short yytoknum[] = +{ + 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, + 275, 123, 125, 59, 61, 60, 62, 58, 42, 44, + 40, 41 +}; +# endif + +/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ +static const unsigned char yyr1[] = +{ + 0, 32, 33, 33, 33, 33, 35, 34, 36, 34, + 37, 37, 37, 38, 39, 39, 40, 41, 41, 41, + 42, 42, 42, 43, 43, 43, 43, 44, 44, 44, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 46, + 46, 46, 46, 47, 47, 48, 49, 49, 50, 50, + 51, 51, 52, 52 +}; + +/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ +static const unsigned char yyr2[] = +{ + 0, 2, 0, 2, 2, 2, 0, 8, 0, 7, + 5, 6, 7, 1, 1, 1, 6, 0, 3, 6, + 0, 2, 2, 0, 6, 6, 7, 0, 2, 2, + 1, 1, 2, 5, 2, 5, 2, 2, 5, 0, + 5, 3, 2, 0, 1, 6, 1, 1, 4, 4, + 1, 3, 0, 1 +}; + +/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state + STATE-NUM when YYTABLE doesn't specify something else to do. Zero + means the default is an error. */ +static const unsigned char yydefact[] = +{ + 2, 0, 0, 0, 0, 0, 2, 2, 2, 0, + 0, 0, 0, 23, 1, 3, 4, 5, 0, 23, + 23, 0, 0, 0, 30, 31, 0, 13, 0, 43, + 52, 0, 0, 36, 34, 37, 0, 32, 17, 0, + 44, 46, 47, 0, 0, 50, 53, 0, 0, 8, + 23, 23, 39, 0, 14, 15, 10, 0, 27, 0, + 0, 0, 0, 6, 0, 0, 0, 39, 0, 0, + 11, 16, 20, 0, 0, 0, 0, 0, 51, 45, + 0, 9, 35, 33, 0, 39, 42, 38, 12, 0, + 18, 0, 23, 28, 29, 23, 49, 48, 7, 0, + 41, 0, 21, 22, 23, 25, 24, 39, 20, 26, + 40, 19 +}; + +/* YYDEFGOTO[NTERM-NUM]. */ +static const yysigned_char yydefgoto[] = +{ + -1, 5, 6, 80, 64, 7, 26, 56, 8, 57, + 90, 28, 75, 29, 68, 39, 10, 44, 45, 46, + 47 +}; + +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +#define YYPACT_NINF -65 +static const yysigned_char yypact[] = +{ + 48, 5, 5, 5, 5, 19, 48, 48, 48, -2, + 39, 40, 7, 7, -65, -65, -65, -65, 15, 7, + 7, 11, 46, 47, -65, -65, 50, 36, 43, -3, + 25, 45, 52, 51, 54, 56, 6, -65, -65, 53, + -65, -65, -65, 38, 41, -65, 55, 57, 62, -65, + 7, 7, 63, 16, -65, -65, -65, -5, -7, 64, + 7, 25, 58, -65, 59, 61, 65, -11, 68, 35, + -65, -65, 66, 24, 22, 69, 67, 18, -65, -65, + 70, -65, -65, -65, 73, 63, -65, -65, -65, 78, + 28, 72, 7, -65, -65, 7, -65, -65, -65, 71, + -65, 44, -65, -65, 7, -65, -65, 63, -65, -65, + -65, 28 +}; + +/* YYPGOTO[NTERM-NUM]. */ +static const yysigned_char yypgoto[] = +{ + -65, 49, -65, -65, -65, -65, -65, -43, -65, -65, + -28, -19, -65, -10, -64, -65, 4, -65, 42, -65, + -65 +}; + +/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If + positive, shift that token. If negative, reduce the rule which + number is the opposite. If zero, do what YYDEFACT says. + If YYTABLE_NINF, syntax error. */ +#define YYTABLE_NINF -1 +static const unsigned char yytable[] = +{ + 31, 32, 27, 86, 9, 67, 11, 12, 13, 71, + 70, 73, 9, 84, 72, 21, 22, 23, 85, 14, + 74, 100, 24, 25, 53, 37, 88, 33, 18, 54, + 55, 65, 66, 40, 69, 93, 41, 42, 94, 54, + 55, 43, 91, 110, 102, 30, 37, 92, 103, 97, + 77, 1, 2, 3, 4, 15, 16, 17, 54, 55, + 19, 20, 34, 35, 37, 38, 36, 48, 59, 58, + 108, 60, 50, 105, 49, 51, 106, 52, 63, 67, + 111, 76, 81, 82, 61, 109, 99, 83, 62, 79, + 87, 89, 95, 98, 101, 104, 0, 0, 96, 0, + 107, 0, 0, 78 +}; + +static const yysigned_char yycheck[] = +{ + 19, 20, 12, 67, 7, 16, 2, 3, 4, 14, + 53, 18, 7, 24, 19, 8, 9, 10, 29, 0, + 27, 85, 15, 16, 18, 28, 69, 16, 30, 23, + 24, 50, 51, 29, 18, 13, 11, 12, 16, 23, + 24, 16, 18, 107, 16, 30, 28, 23, 20, 31, + 60, 3, 4, 5, 6, 6, 7, 8, 23, 24, + 21, 21, 16, 16, 28, 22, 16, 22, 30, 16, + 26, 30, 21, 92, 22, 21, 95, 21, 16, 16, + 108, 17, 23, 22, 29, 104, 13, 22, 31, 31, + 22, 25, 23, 23, 16, 23, -1, -1, 31, -1, + 29, -1, -1, 61 +}; + +/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing + symbol of state STATE-NUM. */ +static const unsigned char yystos[] = +{ + 0, 3, 4, 5, 6, 33, 34, 37, 40, 7, + 48, 48, 48, 48, 0, 33, 33, 33, 30, 21, + 21, 8, 9, 10, 15, 16, 38, 45, 43, 45, + 30, 43, 43, 16, 16, 16, 16, 28, 22, 47, + 48, 11, 12, 16, 49, 50, 51, 52, 22, 22, + 21, 21, 21, 18, 23, 24, 39, 41, 16, 30, + 30, 29, 31, 16, 36, 43, 43, 16, 46, 18, + 39, 14, 19, 18, 27, 44, 17, 45, 50, 31, + 35, 23, 22, 22, 24, 29, 46, 22, 39, 25, + 42, 18, 23, 13, 16, 23, 31, 31, 23, 13, + 46, 16, 16, 20, 23, 43, 43, 29, 26, 43, + 46, 42 +}; + +#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) +# define YYSIZE_T __SIZE_TYPE__ +#endif +#if ! defined (YYSIZE_T) && defined (size_t) +# define YYSIZE_T size_t +#endif +#if ! defined (YYSIZE_T) +# if defined (__STDC__) || defined (__cplusplus) +# include /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# endif +#endif +#if ! defined (YYSIZE_T) +# define YYSIZE_T unsigned int +#endif + +#define yyerrok (yyerrstatus = 0) +#define yyclearin (yychar = YYEMPTY) +#define YYEMPTY (-2) +#define YYEOF 0 + +#define YYACCEPT goto yyacceptlab +#define YYABORT goto yyabortlab +#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); \ + yytoken = YYTRANSLATE (yychar); \ + YYPOPSTACK; \ + goto yybackup; \ + } \ + else \ + { \ + yyerror ("syntax error: cannot back up");\ + YYERROR; \ + } \ +while (0) + +#define YYTERROR 1 +#define YYERRCODE 256 + +/* YYLLOC_DEFAULT -- Compute the default location (before the actions + are run). */ + +#ifndef YYLLOC_DEFAULT +# define YYLLOC_DEFAULT(Current, Rhs, N) \ + Current.first_line = Rhs[1].first_line; \ + Current.first_column = Rhs[1].first_column; \ + Current.last_line = Rhs[N].last_line; \ + Current.last_column = Rhs[N].last_column; +#endif + +/* YYLEX -- calling `yylex' with the right arguments. */ + +#ifdef YYLEX_PARAM +# define YYLEX yylex (YYLEX_PARAM) +#else +# define YYLEX yylex () +#endif + +/* Enable debugging if requested. */ +#if YYDEBUG + +# ifndef YYFPRINTF +# include /* INFRINGES ON USER NAME SPACE */ +# define YYFPRINTF fprintf +# endif + +# define YYDPRINTF(Args) \ +do { \ + if (yydebug) \ + YYFPRINTF Args; \ +} while (0) + +# define YYDSYMPRINT(Args) \ +do { \ + if (yydebug) \ + yysymprint Args; \ +} while (0) + +# define YYDSYMPRINTF(Title, Token, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yysymprint (stderr, \ + Token, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (0) + +/*------------------------------------------------------------------. +| yy_stack_print -- Print the state stack from its BOTTOM up to its | +| TOP (cinluded). | +`------------------------------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yy_stack_print (short *bottom, short *top) +#else +static void +yy_stack_print (bottom, top) + short *bottom; + short *top; +#endif +{ + YYFPRINTF (stderr, "Stack now"); + for (/* Nothing. */; bottom <= top; ++bottom) + YYFPRINTF (stderr, " %d", *bottom); + YYFPRINTF (stderr, "\n"); +} + +# define YY_STACK_PRINT(Bottom, Top) \ +do { \ + if (yydebug) \ + yy_stack_print ((Bottom), (Top)); \ +} while (0) + + +/*------------------------------------------------. +| Report that the YYRULE is going to be reduced. | +`------------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yy_reduce_print (int yyrule) +#else +static void +yy_reduce_print (yyrule) + int yyrule; +#endif +{ + int yyi; + unsigned int yylineno = yyrline[yyrule]; + YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", + yyrule - 1, yylineno); + /* Print the symbols being reduced, and their result. */ + for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++) + YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]); + YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]); +} + +# define YY_REDUCE_PRINT(Rule) \ +do { \ + if (yydebug) \ + yy_reduce_print (Rule); \ +} while (0) + +/* Nonzero means print parse trace. It is left uninitialized so that + multiple parsers can coexist. */ +int yydebug; +#else /* !YYDEBUG */ +# define YYDPRINTF(Args) +# define YYDSYMPRINT(Args) +# define YYDSYMPRINTF(Title, Token, Value, Location) +# define YY_STACK_PRINT(Bottom, Top) +# define YY_REDUCE_PRINT(Rule) +#endif /* !YYDEBUG */ + + +/* YYINITDEPTH -- initial size of the parser's stacks. */ +#ifndef YYINITDEPTH +# define YYINITDEPTH 200 +#endif + +/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only + if the built-in stack extension method is used). + + Do not make this value too large; the results are undefined if + SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) + evaluated with infinite-precision integer arithmetic. */ + +#if YYMAXDEPTH == 0 +# undef YYMAXDEPTH +#endif + +#ifndef YYMAXDEPTH +# define YYMAXDEPTH 10000 +#endif + + + +#if YYERROR_VERBOSE + +# ifndef yystrlen +# if defined (__GLIBC__) && defined (_STRING_H) +# define yystrlen strlen +# else +/* Return the length of YYSTR. */ +static YYSIZE_T +# if defined (__STDC__) || defined (__cplusplus) +yystrlen (const char *yystr) +# else +yystrlen (yystr) + const char *yystr; +# endif +{ + register const char *yys = yystr; + + while (*yys++ != '\0') + continue; + + return yys - yystr - 1; +} +# endif +# endif + +# ifndef yystpcpy +# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) +# define yystpcpy stpcpy +# else +/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in + YYDEST. */ +static char * +# if defined (__STDC__) || defined (__cplusplus) +yystpcpy (char *yydest, const char *yysrc) +# else +yystpcpy (yydest, yysrc) + char *yydest; + const char *yysrc; +# endif +{ + register char *yyd = yydest; + register const char *yys = yysrc; + + while ((*yyd++ = *yys++) != '\0') + continue; + + return yyd - 1; +} +# endif +# endif + +#endif /* !YYERROR_VERBOSE */ + + + +#if YYDEBUG +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep) +#else +static void +yysymprint (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE *yyvaluep; +#endif +{ + /* Pacify ``unused variable'' warnings. */ + (void) yyvaluep; + + if (yytype < YYNTOKENS) + { + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); +# ifdef YYPRINT + YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); +# endif + } + else + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); + + switch (yytype) + { + default: + break; + } + YYFPRINTF (yyoutput, ")"); +} + +#endif /* ! YYDEBUG */ +/*-----------------------------------------------. +| Release the memory associated to this symbol. | +`-----------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yydestruct (int yytype, YYSTYPE *yyvaluep) +#else +static void +yydestruct (yytype, yyvaluep) + int yytype; + YYSTYPE *yyvaluep; +#endif +{ + /* Pacify ``unused variable'' warnings. */ + (void) yyvaluep; + + switch (yytype) + { + + default: + break; + } +} + + +/* Prevent warnings from -Wmissing-prototypes. */ + +#ifdef YYPARSE_PARAM +# if defined (__STDC__) || defined (__cplusplus) +int yyparse (void *YYPARSE_PARAM); +# else +int yyparse (); +# endif +#else /* ! YYPARSE_PARAM */ +#if defined (__STDC__) || defined (__cplusplus) +int yyparse (void); +#else +int yyparse (); +#endif +#endif /* ! YYPARSE_PARAM */ + + + +/* The lookahead symbol. */ +int yychar; + +/* The semantic value of the lookahead symbol. */ +YYSTYPE yylval; + +/* Number of syntax errors so far. */ +int yynerrs; + + + +/*----------. +| yyparse. | +`----------*/ + +#ifdef YYPARSE_PARAM +# if defined (__STDC__) || defined (__cplusplus) +int yyparse (void *YYPARSE_PARAM) +# else +int yyparse (YYPARSE_PARAM) + void *YYPARSE_PARAM; +# endif +#else /* ! YYPARSE_PARAM */ +#if defined (__STDC__) || defined (__cplusplus) +int +yyparse (void) +#else +int +yyparse () + +#endif +#endif +{ + + register int yystate; + register int yyn; + int yyresult; + /* Number of tokens to shift before error messages enabled. */ + int yyerrstatus; + /* Lookahead token as an internal (translated) token number. */ + int yytoken = 0; + + /* Three stacks and their tools: + `yyss': related to states, + `yyvs': related to semantic values, + `yyls': related to locations. + + Refer to the stacks thru separate pointers, to allow yyoverflow + to reallocate them elsewhere. */ + + /* The state stack. */ + short yyssa[YYINITDEPTH]; + short *yyss = yyssa; + register short *yyssp; + + /* The semantic value stack. */ + YYSTYPE yyvsa[YYINITDEPTH]; + YYSTYPE *yyvs = yyvsa; + register YYSTYPE *yyvsp; + + + +#define YYPOPSTACK (yyvsp--, yyssp--) + + YYSIZE_T yystacksize = YYINITDEPTH; + + /* The variables used to return semantic value and location from the + action routines. */ + YYSTYPE yyval; + + + /* When reducing, the number of symbols on the RHS of the reduced + rule. */ + int yylen; + + YYDPRINTF ((stderr, "Starting parse\n")); + + 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; + yyvsp = yyvs; + + goto yysetstate; + +/*------------------------------------------------------------. +| yynewstate -- Push a new state, which is found in yystate. | +`------------------------------------------------------------*/ + yynewstate: + /* In all cases, when you get here, the value and location stacks + have just been pushed. so pushing a state here evens the stacks. + */ + yyssp++; + + yysetstate: + *yyssp = yystate; + + if (yyss + yystacksize - 1 <= yyssp) + { + /* Get the current used size of the three stacks, in elements. */ + YYSIZE_T yysize = yyssp - yyss + 1; + +#ifdef yyoverflow + { + /* 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; + + + /* Each stack pointer address is followed by the size of the + data in use in that stack, in bytes. 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, yysize * sizeof (*yyssp), + &yyvs1, yysize * sizeof (*yyvsp), + + &yystacksize); + + yyss = yyss1; + yyvs = yyvs1; + } +#else /* no yyoverflow */ +# ifndef YYSTACK_RELOCATE + goto yyoverflowlab; +# else + /* Extend the stack our own way. */ + if (YYMAXDEPTH <= yystacksize) + goto yyoverflowlab; + yystacksize *= 2; + if (YYMAXDEPTH < yystacksize) + yystacksize = YYMAXDEPTH; + + { + short *yyss1 = yyss; + union yyalloc *yyptr = + (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); + if (! yyptr) + goto yyoverflowlab; + YYSTACK_RELOCATE (yyss); + YYSTACK_RELOCATE (yyvs); + +# undef YYSTACK_RELOCATE + if (yyss1 != yyssa) + YYSTACK_FREE (yyss1); + } +# endif +#endif /* no yyoverflow */ + + yyssp = yyss + yysize - 1; + yyvsp = yyvs + yysize - 1; + + + YYDPRINTF ((stderr, "Stack size increased to %lu\n", + (unsigned long int) yystacksize)); + + if (yyss + yystacksize - 1 <= yyssp) + YYABORT; + } + + YYDPRINTF ((stderr, "Entering state %d\n", yystate)); + + goto yybackup; + +/*-----------. +| 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 == YYPACT_NINF) + goto yydefault; + + /* Not known => get a lookahead token if don't already have one. */ + + /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ + if (yychar == YYEMPTY) + { + YYDPRINTF ((stderr, "Reading a token: ")); + yychar = YYLEX; + } + + if (yychar <= YYEOF) + { + yychar = yytoken = YYEOF; + YYDPRINTF ((stderr, "Now at end of input.\n")); + } + else + { + yytoken = YYTRANSLATE (yychar); + YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc); + } + + /* If the proper action on seeing token YYTOKEN is to reduce or to + detect an error, take that action. */ + yyn += yytoken; + if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) + goto yydefault; + yyn = yytable[yyn]; + if (yyn <= 0) + { + if (yyn == 0 || yyn == YYTABLE_NINF) + goto yyerrlab; + yyn = -yyn; + goto yyreduce; + } + + if (yyn == YYFINAL) + YYACCEPT; + + /* Shift the lookahead token. */ + YYDPRINTF ((stderr, "Shifting token %s, ", yytname[yytoken])); + + /* Discard the token being shifted unless it is eof. */ + if (yychar != YYEOF) + yychar = YYEMPTY; + + *++yyvsp = yylval; + + + /* Count tokens shifted since error; after three, turn off error + status. */ + if (yyerrstatus) + yyerrstatus--; + + yystate = yyn; + goto yynewstate; + + +/*-----------------------------------------------------------. +| yydefault -- do the default action for the current state. | +`-----------------------------------------------------------*/ +yydefault: + yyn = yydefact[yystate]; + if (yyn == 0) + goto yyerrlab; + goto yyreduce; + + +/*-----------------------------. +| yyreduce -- Do a reduction. | +`-----------------------------*/ +yyreduce: + /* yyn is the number of a rule to reduce with. */ + yylen = yyr2[yyn]; + + /* If YYLEN is nonzero, implement the default value of the action: + `$$ = $1'. + + Otherwise, the following line sets YYVAL to garbage. + This behavior is undocumented and Bison + users should not rely upon it. Assigning to YYVAL + unconditionally makes the parser a bit smaller, and it avoids a + GCC warning that YYVAL may be used uninitialized. */ + yyval = yyvsp[1-yylen]; + + + YY_REDUCE_PRINT (yyn); + switch (yyn) + { + case 6: +#line 69 "gengtype-yacc.y" + { + new_structure (yyvsp[-5].t->u.s.tag, UNION_P (yyvsp[-5].t), &lexer_line, + yyvsp[-2].p, yyvsp[-4].o); + do_typedef (yyvsp[0].s, yyvsp[-5].t, &lexer_line); + lexer_toplevel_done = 1; + ;} + break; + + case 7: +#line 76 "gengtype-yacc.y" + {;} + break; + + case 8: +#line 78 "gengtype-yacc.y" + { + new_structure (yyvsp[-4].t->u.s.tag, UNION_P (yyvsp[-4].t), &lexer_line, + yyvsp[-1].p, yyvsp[-3].o); + lexer_toplevel_done = 1; + ;} + break; + + case 9: +#line 84 "gengtype-yacc.y" + {;} + break; + + case 10: +#line 88 "gengtype-yacc.y" + { + note_variable (yyvsp[-1].s, adjust_field_type (yyvsp[-2].t, yyvsp[-3].o), yyvsp[-3].o, + &lexer_line); + ;} + break; + + case 11: +#line 93 "gengtype-yacc.y" + { + note_variable (yyvsp[-2].s, create_array (yyvsp[-3].t, yyvsp[-1].s), + yyvsp[-4].o, &lexer_line); + ;} + break; + + case 12: +#line 98 "gengtype-yacc.y" + { + note_variable (yyvsp[-3].s, create_array (create_array (yyvsp[-4].t, yyvsp[-1].s), + yyvsp[-2].s), + yyvsp[-5].o, &lexer_line); + ;} + break; + + case 13: +#line 106 "gengtype-yacc.y" + { + lexer_toplevel_done = 1; + yyval.t = yyvsp[0].t; + ;} + break; + + case 16: +#line 118 "gengtype-yacc.y" + { + note_yacc_type (yyvsp[-4].o, yyvsp[-3].p, yyvsp[-1].p, &lexer_line); + ;} + break; + + case 17: +#line 124 "gengtype-yacc.y" + { yyval.p = NULL; ;} + break; + + case 18: +#line 126 "gengtype-yacc.y" + { + pair_p p; + for (p = yyvsp[0].p; p->next != NULL; p = p->next) + { + p->name = NULL; + p->type = NULL; + } + p->name = NULL; + p->type = NULL; + p->next = yyvsp[-2].p; + yyval.p = yyvsp[0].p; + ;} + break; + + case 19: +#line 139 "gengtype-yacc.y" + { + pair_p p; + type_p newtype = NULL; + if (strcmp (yyvsp[-4].s, "type") == 0) + newtype = (type_p) 1; + for (p = yyvsp[0].p; p->next != NULL; p = p->next) + { + p->name = yyvsp[-2].s; + p->type = newtype; + } + p->name = yyvsp[-2].s; + p->next = yyvsp[-5].p; + p->type = newtype; + yyval.p = yyvsp[0].p; + ;} + break; + + case 20: +#line 157 "gengtype-yacc.y" + { yyval.p = NULL; ;} + break; + + case 21: +#line 159 "gengtype-yacc.y" + { + pair_p p = xcalloc (1, sizeof (*p)); + p->next = yyvsp[-1].p; + p->line = lexer_line; + p->opt = xmalloc (sizeof (*(p->opt))); + p->opt->name = "tag"; + p->opt->next = NULL; + p->opt->info = (char *)yyvsp[0].s; + yyval.p = p; + ;} + break; + + case 22: +#line 170 "gengtype-yacc.y" + { + pair_p p = xcalloc (1, sizeof (*p)); + p->next = yyvsp[-1].p; + p->line = lexer_line; + p->opt = xmalloc (sizeof (*(p->opt))); + p->opt->name = "tag"; + p->opt->next = NULL; + p->opt->info = xasprintf ("'%s'", yyvsp[0].s); + yyval.p = p; + ;} + break; + + case 23: +#line 182 "gengtype-yacc.y" + { yyval.p = NULL; ;} + break; + + case 24: +#line 184 "gengtype-yacc.y" + { + pair_p p = xmalloc (sizeof (*p)); + p->type = adjust_field_type (yyvsp[-5].t, yyvsp[-4].o); + p->opt = yyvsp[-4].o; + p->name = yyvsp[-3].s; + p->next = yyvsp[0].p; + p->line = lexer_line; + yyval.p = p; + ;} + break; + + case 25: +#line 194 "gengtype-yacc.y" + { + pair_p p = xmalloc (sizeof (*p)); + p->type = adjust_field_type (create_array (yyvsp[-5].t, yyvsp[-2].s), yyvsp[-4].o); + p->opt = yyvsp[-4].o; + p->name = yyvsp[-3].s; + p->next = yyvsp[0].p; + p->line = lexer_line; + yyval.p = p; + ;} + break; + + case 26: +#line 204 "gengtype-yacc.y" + { + pair_p p = xmalloc (sizeof (*p)); + p->type = create_array (create_array (yyvsp[-6].t, yyvsp[-2].s), yyvsp[-3].s); + p->opt = yyvsp[-5].o; + p->name = yyvsp[-4].s; + p->next = yyvsp[0].p; + p->line = lexer_line; + yyval.p = p; + ;} + break; + + case 30: +#line 221 "gengtype-yacc.y" + { yyval.t = yyvsp[0].t; ;} + break; + + case 31: +#line 223 "gengtype-yacc.y" + { yyval.t = resolve_typedef (yyvsp[0].s, &lexer_line); ;} + break; + + case 32: +#line 225 "gengtype-yacc.y" + { yyval.t = create_pointer (yyvsp[-1].t); ;} + break; + + case 33: +#line 227 "gengtype-yacc.y" + { + new_structure (yyvsp[-3].s, 0, &lexer_line, yyvsp[-1].p, NULL); + yyval.t = find_structure (yyvsp[-3].s, 0); + ;} + break; + + case 34: +#line 232 "gengtype-yacc.y" + { yyval.t = find_structure (yyvsp[0].s, 0); ;} + break; + + case 35: +#line 234 "gengtype-yacc.y" + { + new_structure (yyvsp[-3].s, 1, &lexer_line, yyvsp[-1].p, NULL); + yyval.t = find_structure (yyvsp[-3].s, 1); + ;} + break; + + case 36: +#line 239 "gengtype-yacc.y" + { yyval.t = find_structure (yyvsp[0].s, 1); ;} + break; + + case 37: +#line 241 "gengtype-yacc.y" + { yyval.t = create_scalar_type (yyvsp[0].s, strlen (yyvsp[0].s)); ;} + break; + + case 38: +#line 243 "gengtype-yacc.y" + { yyval.t = create_scalar_type (yyvsp[-3].s, strlen (yyvsp[-3].s)); ;} + break; + + case 40: +#line 248 "gengtype-yacc.y" + { ;} + break; + + case 41: +#line 250 "gengtype-yacc.y" + { ;} + break; + + case 42: +#line 252 "gengtype-yacc.y" + { ;} + break; + + case 43: +#line 255 "gengtype-yacc.y" + { yyval.o = NULL; ;} + break; + + case 44: +#line 256 "gengtype-yacc.y" + { yyval.o = yyvsp[0].o; ;} + break; + + case 45: +#line 260 "gengtype-yacc.y" + { yyval.o = yyvsp[-2].o; ;} + break; + + case 46: +#line 264 "gengtype-yacc.y" + { yyval.s = "ptr_alias"; ;} + break; + + case 47: +#line 266 "gengtype-yacc.y" + { yyval.s = yyvsp[0].s; ;} + break; + + case 48: +#line 270 "gengtype-yacc.y" + { + options_p o = xmalloc (sizeof (*o)); + o->name = yyvsp[-3].s; + o->info = adjust_field_type (yyvsp[-1].t, NULL); + yyval.o = o; + ;} + break; + + case 49: +#line 277 "gengtype-yacc.y" + { + options_p o = xmalloc (sizeof (*o)); + o->name = yyvsp[-3].s; + o->info = (void *)yyvsp[-1].s; + yyval.o = o; + ;} + break; + + case 50: +#line 286 "gengtype-yacc.y" + { + yyvsp[0].o->next = NULL; + yyval.o = yyvsp[0].o; + ;} + break; + + case 51: +#line 291 "gengtype-yacc.y" + { + yyvsp[0].o->next = yyvsp[-2].o; + yyval.o = yyvsp[0].o; + ;} + break; + + case 52: +#line 297 "gengtype-yacc.y" + { yyval.o = NULL; ;} + break; + + case 53: +#line 298 "gengtype-yacc.y" + { yyval.o = yyvsp[0].o; ;} + break; + + + } + +/* Line 991 of yacc.c. */ +#line 1432 "gengtype-yacc.c" + + yyvsp -= yylen; + yyssp -= yylen; + + + YY_STACK_PRINT (yyss, yyssp); + + *++yyvsp = yyval; + + + /* 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 - YYNTOKENS] + *yyssp; + if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) + yystate = yytable[yystate]; + else + yystate = yydefgoto[yyn - YYNTOKENS]; + + goto yynewstate; + + +/*------------------------------------. +| yyerrlab -- here on detecting error | +`------------------------------------*/ +yyerrlab: + /* If not already recovering from an error, report this error. */ + if (!yyerrstatus) + { + ++yynerrs; +#if YYERROR_VERBOSE + yyn = yypact[yystate]; + + if (YYPACT_NINF < yyn && yyn < YYLAST) + { + YYSIZE_T yysize = 0; + int yytype = YYTRANSLATE (yychar); + char *yymsg; + int yyx, yycount; + + yycount = 0; + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. */ + for (yyx = yyn < 0 ? -yyn : 0; + yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) + yysize += yystrlen (yytname[yyx]) + 15, yycount++; + yysize += yystrlen ("syntax error, unexpected ") + 1; + yysize += yystrlen (yytname[yytype]); + yymsg = (char *) YYSTACK_ALLOC (yysize); + if (yymsg != 0) + { + char *yyp = yystpcpy (yymsg, "syntax error, unexpected "); + yyp = yystpcpy (yyp, yytname[yytype]); + + if (yycount < 5) + { + yycount = 0; + for (yyx = yyn < 0 ? -yyn : 0; + yyx < (int) (sizeof (yytname) / sizeof (char *)); + yyx++) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) + { + const char *yyq = ! yycount ? ", expecting " : " or "; + yyp = yystpcpy (yyp, yyq); + yyp = yystpcpy (yyp, yytname[yyx]); + yycount++; + } + } + yyerror (yymsg); + YYSTACK_FREE (yymsg); + } + else + yyerror ("syntax error; also virtual memory exhausted"); + } + else +#endif /* YYERROR_VERBOSE */ + yyerror ("syntax error"); + } + + + + 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) + { + /* Pop the error token. */ + YYPOPSTACK; + /* Pop the rest of the stack. */ + while (yyss < yyssp) + { + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp); + yydestruct (yystos[*yyssp], yyvsp); + YYPOPSTACK; + } + YYABORT; + } + + YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc); + yydestruct (yytoken, &yylval); + yychar = YYEMPTY; + + } + + /* Else will try to reuse lookahead token after shifting the error + token. */ + goto yyerrlab2; + + +/*----------------------------------------------------. +| yyerrlab1 -- error raised explicitly by an action. | +`----------------------------------------------------*/ +yyerrlab1: + + /* Suppress GCC warning that yyerrlab1 is unused when no action + invokes YYERROR. MacOS 10.2.3's buggy "smart preprocessor" + insists on the trailing semicolon. */ +#if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__) + __attribute__ ((__unused__)); +#endif + + + goto yyerrlab2; + + +/*---------------------------------------------------------------. +| yyerrlab2 -- pop states until the error token can be shifted. | +`---------------------------------------------------------------*/ +yyerrlab2: + yyerrstatus = 3; /* Each real token shifted decrements this. */ + + for (;;) + { + yyn = yypact[yystate]; + if (yyn != YYPACT_NINF) + { + yyn += YYTERROR; + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) + { + yyn = yytable[yyn]; + if (0 < yyn) + break; + } + } + + /* Pop the current state because it cannot handle the error token. */ + if (yyssp == yyss) + YYABORT; + + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp); + yydestruct (yystos[yystate], yyvsp); + yyvsp--; + yystate = *--yyssp; + + YY_STACK_PRINT (yyss, yyssp); + } + + if (yyn == YYFINAL) + YYACCEPT; + + YYDPRINTF ((stderr, "Shifting error token, ")); + + *++yyvsp = yylval; + + + yystate = yyn; + goto yynewstate; + + +/*-------------------------------------. +| yyacceptlab -- YYACCEPT comes here. | +`-------------------------------------*/ +yyacceptlab: + yyresult = 0; + goto yyreturn; + +/*-----------------------------------. +| yyabortlab -- YYABORT comes here. | +`-----------------------------------*/ +yyabortlab: + yyresult = 1; + goto yyreturn; + +#ifndef yyoverflow +/*----------------------------------------------. +| yyoverflowlab -- parser overflow comes here. | +`----------------------------------------------*/ +yyoverflowlab: + yyerror ("parser stack overflow"); + yyresult = 2; + /* Fall through. */ +#endif + +yyreturn: +#ifndef yyoverflow + if (yyss != yyssa) + YYSTACK_FREE (yyss); +#endif + return yyresult; +} + + +#line 300 "gengtype-yacc.y" + + diff --git a/gnu/dist/gcc/gcc/gengtype-yacc.h b/gnu/dist/gcc/gcc/gengtype-yacc.h new file mode 100644 index 000000000000..6c45795bcaa8 --- /dev/null +++ b/gnu/dist/gcc/gcc/gengtype-yacc.h @@ -0,0 +1,92 @@ +/* A Bison parser, made by GNU Bison 1.875. */ + +/* Skeleton parser for Yacc-like parsing with Bison, + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +/* As a special exception, when this file is copied by Bison into a + Bison output file, you may use that output file without restriction. + This special exception was added by the Free Software Foundation + in version 1.24 of Bison. */ + +/* Tokens. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + ENT_TYPEDEF_STRUCT = 258, + ENT_STRUCT = 259, + ENT_EXTERNSTATIC = 260, + ENT_YACCUNION = 261, + GTY_TOKEN = 262, + UNION = 263, + STRUCT = 264, + ENUM = 265, + ALIAS = 266, + PARAM_IS = 267, + NUM = 268, + PERCENTPERCENT = 269, + SCALAR = 270, + ID = 271, + STRING = 272, + ARRAY = 273, + PERCENT_ID = 274, + CHAR = 275 + }; +#endif +#define ENT_TYPEDEF_STRUCT 258 +#define ENT_STRUCT 259 +#define ENT_EXTERNSTATIC 260 +#define ENT_YACCUNION 261 +#define GTY_TOKEN 262 +#define UNION 263 +#define STRUCT 264 +#define ENUM 265 +#define ALIAS 266 +#define PARAM_IS 267 +#define NUM 268 +#define PERCENTPERCENT 269 +#define SCALAR 270 +#define ID 271 +#define STRING 272 +#define ARRAY 273 +#define PERCENT_ID 274 +#define CHAR 275 + + + + +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) +#line 29 "gengtype-yacc.y" +typedef union YYSTYPE { + type_p t; + pair_p p; + options_p o; + const char *s; +} YYSTYPE; +/* Line 1249 of yacc.c. */ +#line 83 "gengtype-yacc.h" +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 +#endif + +extern YYSTYPE yylval; + + + diff --git a/gnu/dist/gcc/gcc/objc/objc-parse.c b/gnu/dist/gcc/gcc/objc/objc-parse.c new file mode 100644 index 000000000000..1f2743f69571 --- /dev/null +++ b/gnu/dist/gcc/gcc/objc/objc-parse.c @@ -0,0 +1,7422 @@ +/* A Bison parser, made by GNU Bison 1.875. */ + +/* Skeleton parser for Yacc-like parsing with Bison, + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +/* As a special exception, when this file is copied by Bison into a + Bison output file, you may use that output file without restriction. + This special exception was added by the Free Software Foundation + in version 1.24 of Bison. */ + +/* Written by Richard Stallman by simplifying the original so called + ``semantic'' parser. */ + +/* All symbols defined below should begin with yy or YY, to avoid + infringing on user name space. This should be done even for local + variables, as they might otherwise be expanded by user macros. + There are some unavoidable exceptions within include files to + define necessary library symbols; they are noted "INFRINGES ON + USER NAME SPACE" below. */ + +/* Identify Bison output. */ +#define YYBISON 1 + +/* Skeleton name. */ +#define YYSKELETON_NAME "yacc.c" + +/* Pure parsers. */ +#define YYPURE 0 + +/* Using locations. */ +#define YYLSP_NEEDED 0 + + + +/* Tokens. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + IDENTIFIER = 258, + TYPENAME = 259, + SCSPEC = 260, + STATIC = 261, + TYPESPEC = 262, + TYPE_QUAL = 263, + CONSTANT = 264, + STRING = 265, + ELLIPSIS = 266, + SIZEOF = 267, + ENUM = 268, + STRUCT = 269, + UNION = 270, + IF = 271, + ELSE = 272, + WHILE = 273, + DO = 274, + FOR = 275, + SWITCH = 276, + CASE = 277, + DEFAULT = 278, + BREAK = 279, + CONTINUE = 280, + RETURN = 281, + GOTO = 282, + ASM_KEYWORD = 283, + TYPEOF = 284, + ALIGNOF = 285, + ATTRIBUTE = 286, + EXTENSION = 287, + LABEL = 288, + REALPART = 289, + IMAGPART = 290, + VA_ARG = 291, + CHOOSE_EXPR = 292, + TYPES_COMPATIBLE_P = 293, + PTR_VALUE = 294, + PTR_BASE = 295, + PTR_EXTENT = 296, + STRING_FUNC_NAME = 297, + VAR_FUNC_NAME = 298, + ASSIGN = 299, + OROR = 300, + ANDAND = 301, + EQCOMPARE = 302, + ARITHCOMPARE = 303, + RSHIFT = 304, + LSHIFT = 305, + MINUSMINUS = 306, + PLUSPLUS = 307, + UNARY = 308, + HYPERUNARY = 309, + POINTSAT = 310, + INTERFACE = 311, + IMPLEMENTATION = 312, + END = 313, + SELECTOR = 314, + DEFS = 315, + ENCODE = 316, + CLASSNAME = 317, + PUBLIC = 318, + PRIVATE = 319, + PROTECTED = 320, + PROTOCOL = 321, + OBJECTNAME = 322, + CLASS = 323, + ALIAS = 324 + }; +#endif +#define IDENTIFIER 258 +#define TYPENAME 259 +#define SCSPEC 260 +#define STATIC 261 +#define TYPESPEC 262 +#define TYPE_QUAL 263 +#define CONSTANT 264 +#define STRING 265 +#define ELLIPSIS 266 +#define SIZEOF 267 +#define ENUM 268 +#define STRUCT 269 +#define UNION 270 +#define IF 271 +#define ELSE 272 +#define WHILE 273 +#define DO 274 +#define FOR 275 +#define SWITCH 276 +#define CASE 277 +#define DEFAULT 278 +#define BREAK 279 +#define CONTINUE 280 +#define RETURN 281 +#define GOTO 282 +#define ASM_KEYWORD 283 +#define TYPEOF 284 +#define ALIGNOF 285 +#define ATTRIBUTE 286 +#define EXTENSION 287 +#define LABEL 288 +#define REALPART 289 +#define IMAGPART 290 +#define VA_ARG 291 +#define CHOOSE_EXPR 292 +#define TYPES_COMPATIBLE_P 293 +#define PTR_VALUE 294 +#define PTR_BASE 295 +#define PTR_EXTENT 296 +#define STRING_FUNC_NAME 297 +#define VAR_FUNC_NAME 298 +#define ASSIGN 299 +#define OROR 300 +#define ANDAND 301 +#define EQCOMPARE 302 +#define ARITHCOMPARE 303 +#define RSHIFT 304 +#define LSHIFT 305 +#define MINUSMINUS 306 +#define PLUSPLUS 307 +#define UNARY 308 +#define HYPERUNARY 309 +#define POINTSAT 310 +#define INTERFACE 311 +#define IMPLEMENTATION 312 +#define END 313 +#define SELECTOR 314 +#define DEFS 315 +#define ENCODE 316 +#define CLASSNAME 317 +#define PUBLIC 318 +#define PRIVATE 319 +#define PROTECTED 320 +#define PROTOCOL 321 +#define OBJECTNAME 322 +#define CLASS 323 +#define ALIAS 324 + + + + +/* Copy the first part of user declarations. */ +#line 33 "objc-parse.y" + +#include "config.h" +#include "system.h" +#include "tree.h" +#include "input.h" +#include "cpplib.h" +#include "intl.h" +#include "timevar.h" +#include "c-pragma.h" /* For YYDEBUG definition, and parse_in. */ +#include "c-tree.h" +#include "flags.h" +#include "output.h" +#include "toplev.h" +#include "ggc.h" + +#ifdef MULTIBYTE_CHARS +#include +#endif + +#include "objc-act.h" + +/* Like YYERROR but do call yyerror. */ +#define YYERROR1 { yyerror ("syntax error"); YYERROR; } + +/* Like the default stack expander, except (1) use realloc when possible, + (2) impose no hard maxiumum on stack size, (3) REALLY do not use alloca. + + Irritatingly, YYSTYPE is defined after this %{ %} block, so we cannot + give malloced_yyvs its proper type. This is ok since all we need from + it is to be able to free it. */ + +static short *malloced_yyss; +static void *malloced_yyvs; + +#define yyoverflow(MSG, SS, SSSIZE, VS, VSSIZE, YYSSZ) \ +do { \ + size_t newsize; \ + short *newss; \ + YYSTYPE *newvs; \ + newsize = *(YYSSZ) *= 2; \ + if (malloced_yyss) \ + { \ + newss = (short *) \ + really_call_realloc (*(SS), newsize * sizeof (short)); \ + newvs = (YYSTYPE *) \ + really_call_realloc (*(VS), newsize * sizeof (YYSTYPE)); \ + } \ + else \ + { \ + newss = (short *) really_call_malloc (newsize * sizeof (short)); \ + newvs = (YYSTYPE *) really_call_malloc (newsize * sizeof (YYSTYPE)); \ + if (newss) \ + memcpy (newss, *(SS), (SSSIZE)); \ + if (newvs) \ + memcpy (newvs, *(VS), (VSSIZE)); \ + } \ + if (!newss || !newvs) \ + { \ + yyerror (MSG); \ + return 2; \ + } \ + *(SS) = newss; \ + *(VS) = newvs; \ + malloced_yyss = newss; \ + malloced_yyvs = (void *) newvs; \ +} while (0) + + +/* Enabling traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif + +/* Enabling verbose error messages. */ +#ifdef YYERROR_VERBOSE +# undef YYERROR_VERBOSE +# define YYERROR_VERBOSE 1 +#else +# define YYERROR_VERBOSE 0 +#endif + +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) +#line 103 "objc-parse.y" +typedef union YYSTYPE {long itype; tree ttype; enum tree_code code; + const char *filename; int lineno; } YYSTYPE; +/* Line 191 of yacc.c. */ +#line 284 "op17872.c" +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 +#endif + + + +/* Copy the second part of user declarations. */ +#line 248 "objc-parse.y" + +/* Number of statements (loosely speaking) and compound statements + seen so far. */ +static int stmt_count; +static int compstmt_count; + +/* Input file and line number of the end of the body of last simple_if; + used by the stmt-rule immediately after simple_if returns. */ +static const char *if_stmt_file; +static int if_stmt_line; + +/* List of types and structure classes of the current declaration. */ +static GTY(()) tree current_declspecs; +static GTY(()) tree prefix_attributes; + +/* List of all the attributes applying to the identifier currently being + declared; includes prefix_attributes and possibly some more attributes + just after a comma. */ +static GTY(()) tree all_prefix_attributes; + +/* Stack of saved values of current_declspecs, prefix_attributes and + all_prefix_attributes. */ +static GTY(()) tree declspec_stack; + +/* PUSH_DECLSPEC_STACK is called from setspecs; POP_DECLSPEC_STACK + should be called from the productions making use of setspecs. */ +#define PUSH_DECLSPEC_STACK \ + do { \ + declspec_stack = tree_cons (build_tree_list (prefix_attributes, \ + all_prefix_attributes), \ + current_declspecs, \ + declspec_stack); \ + } while (0) + +#define POP_DECLSPEC_STACK \ + do { \ + current_declspecs = TREE_VALUE (declspec_stack); \ + prefix_attributes = TREE_PURPOSE (TREE_PURPOSE (declspec_stack)); \ + all_prefix_attributes = TREE_VALUE (TREE_PURPOSE (declspec_stack)); \ + declspec_stack = TREE_CHAIN (declspec_stack); \ + } while (0) + +/* For __extension__, save/restore the warning flags which are + controlled by __extension__. */ +#define SAVE_EXT_FLAGS() \ + size_int (pedantic \ + | (warn_pointer_arith << 1) \ + | (warn_traditional << 2) \ + | (flag_iso << 3)) + +#define RESTORE_EXT_FLAGS(tval) \ + do { \ + int val = tree_low_cst (tval, 0); \ + pedantic = val & 1; \ + warn_pointer_arith = (val >> 1) & 1; \ + warn_traditional = (val >> 2) & 1; \ + flag_iso = (val >> 3) & 1; \ + } while (0) + +/* Objective-C specific parser/lexer information */ + +static enum tree_code objc_inherit_code; +static int objc_pq_context = 0, objc_public_flag = 0; + +/* The following flag is needed to contextualize ObjC lexical analysis. + In some cases (e.g., 'int NSObject;'), it is undesirable to bind + an identifier to an ObjC class, even if a class with that name + exists. */ +static int objc_need_raw_identifier; +#define OBJC_NEED_RAW_IDENTIFIER(VAL) objc_need_raw_identifier = VAL + + +static bool parsing_iso_function_signature; + +/* Tell yyparse how to print a token's value, if yydebug is set. */ + +#define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL) + +static void yyprint PARAMS ((FILE *, int, YYSTYPE)); +static void yyerror PARAMS ((const char *)); +static int yylexname PARAMS ((void)); +static int yylexstring PARAMS ((void)); +static inline int _yylex PARAMS ((void)); +static int yylex PARAMS ((void)); +static void init_reswords PARAMS ((void)); + + /* Initialisation routine for this file. */ +void +c_parse_init () +{ + init_reswords (); +} + + + +/* Line 214 of yacc.c. */ +#line 390 "op17872.c" + +#if ! defined (yyoverflow) || YYERROR_VERBOSE + +/* The parser invokes alloca or malloc; define the necessary symbols. */ + +# if YYSTACK_USE_ALLOCA +# define YYSTACK_ALLOC alloca +# else +# ifndef YYSTACK_USE_ALLOCA +# if defined (alloca) || defined (_ALLOCA_H) +# define YYSTACK_ALLOC alloca +# else +# ifdef __GNUC__ +# define YYSTACK_ALLOC __builtin_alloca +# endif +# endif +# endif +# endif + +# ifdef YYSTACK_ALLOC + /* Pacify GCC's `empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) +# else +# if defined (__STDC__) || defined (__cplusplus) +# include /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# endif +# define YYSTACK_ALLOC malloc +# define YYSTACK_FREE free +# endif +#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */ + + +#if (! defined (yyoverflow) \ + && (! defined (__cplusplus) \ + || (YYSTYPE_IS_TRIVIAL))) + +/* A type that is properly aligned for any stack member. */ +union yyalloc +{ + short yyss; + YYSTYPE yyvs; + }; + +/* The size of the maximum gap between one aligned stack and the next. */ +# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) + +/* The size of an array large to enough to hold all stacks, each with + N elements. */ +# define YYSTACK_BYTES(N) \ + ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ + + YYSTACK_GAP_MAXIMUM) + +/* Copy COUNT objects from FROM to TO. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if 1 < __GNUC__ +# define YYCOPY(To, From, Count) \ + __builtin_memcpy (To, From, (Count) * sizeof (*(From))) +# else +# define YYCOPY(To, From, Count) \ + do \ + { \ + register YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (To)[yyi] = (From)[yyi]; \ + } \ + while (0) +# endif +# endif + +/* Relocate STACK from its old location to the new one. The + local variables YYSIZE and YYSTACKSIZE give the old and new number of + elements in the stack, and YYPTR gives the new location of the + stack. Advance YYPTR to a properly aligned location for the next + stack. */ +# define YYSTACK_RELOCATE(Stack) \ + do \ + { \ + YYSIZE_T yynewbytes; \ + YYCOPY (&yyptr->Stack, Stack, yysize); \ + Stack = &yyptr->Stack; \ + yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ + yyptr += yynewbytes / sizeof (*yyptr); \ + } \ + while (0) + +#endif + +#if defined (__STDC__) || defined (__cplusplus) + typedef signed char yysigned_char; +#else + typedef short yysigned_char; +#endif + +/* YYFINAL -- State number of the termination state. */ +#define YYFINAL 4 +/* YYLAST -- Last index in YYTABLE. */ +#define YYLAST 5111 + +/* YYNTOKENS -- Number of terminals. */ +#define YYNTOKENS 93 +/* YYNNTS -- Number of nonterminals. */ +#define YYNNTS 266 +/* YYNRULES -- Number of rules. */ +#define YYNRULES 721 +/* YYNRULES -- Number of states. */ +#define YYNSTATES 1165 + +/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ +#define YYUNDEFTOK 2 +#define YYMAXUTOK 324 + +#define YYTRANSLATE(YYX) \ + ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) + +/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ +static const unsigned 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, 88, 2, 2, 2, 61, 52, 2, + 67, 84, 59, 57, 89, 58, 66, 60, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 47, 85, + 2, 44, 2, 46, 92, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 68, 2, 91, 51, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 90, 50, 86, 87, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, + 35, 36, 37, 38, 39, 40, 41, 42, 43, 45, + 48, 49, 53, 54, 55, 56, 62, 63, 64, 65, + 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, + 79, 80, 81, 82, 83 +}; + +#if YYDEBUG +/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in + YYRHS. */ +static const unsigned short yyprhs[] = +{ + 0, 0, 3, 4, 6, 7, 10, 11, 15, 17, + 19, 21, 23, 29, 32, 36, 41, 46, 49, 52, + 55, 57, 58, 59, 69, 74, 75, 76, 86, 91, + 92, 93, 102, 106, 108, 110, 112, 114, 116, 118, + 120, 122, 124, 126, 128, 130, 131, 133, 135, 139, + 141, 144, 147, 150, 153, 156, 161, 164, 169, 172, + 175, 177, 179, 181, 183, 188, 190, 194, 198, 202, + 206, 210, 214, 218, 222, 226, 230, 234, 238, 239, + 244, 245, 250, 251, 252, 260, 261, 267, 271, 275, + 277, 279, 281, 283, 284, 292, 296, 300, 304, 308, + 313, 320, 329, 336, 341, 345, 349, 352, 355, 357, + 359, 361, 363, 365, 368, 372, 374, 375, 377, 381, + 383, 385, 388, 391, 396, 401, 404, 407, 411, 412, + 414, 419, 424, 428, 432, 435, 438, 440, 443, 446, + 449, 452, 455, 457, 460, 462, 465, 468, 471, 474, + 477, 480, 482, 485, 488, 491, 494, 497, 500, 503, + 506, 509, 512, 515, 518, 521, 524, 527, 530, 532, + 535, 538, 541, 544, 547, 550, 553, 556, 559, 562, + 565, 568, 571, 574, 577, 580, 583, 586, 589, 592, + 595, 598, 601, 604, 607, 610, 613, 616, 619, 622, + 625, 628, 631, 634, 637, 640, 643, 646, 649, 652, + 655, 658, 661, 664, 666, 668, 670, 672, 674, 676, + 678, 680, 682, 684, 686, 688, 690, 692, 694, 696, + 698, 700, 702, 704, 706, 708, 710, 712, 714, 716, + 718, 720, 722, 724, 726, 728, 730, 732, 734, 736, + 738, 740, 742, 744, 746, 748, 750, 752, 754, 756, + 758, 760, 762, 764, 766, 768, 770, 772, 774, 776, + 777, 779, 781, 783, 785, 787, 789, 791, 793, 796, + 799, 801, 806, 811, 813, 818, 820, 825, 826, 831, + 832, 839, 843, 844, 851, 855, 856, 858, 860, 863, + 870, 872, 876, 877, 879, 884, 891, 896, 898, 900, + 902, 904, 906, 908, 910, 911, 916, 918, 919, 922, + 924, 928, 932, 935, 936, 941, 943, 944, 949, 951, + 953, 955, 958, 961, 967, 971, 972, 973, 981, 982, + 983, 991, 993, 995, 1000, 1004, 1007, 1011, 1013, 1015, + 1017, 1019, 1023, 1026, 1028, 1030, 1034, 1037, 1041, 1045, + 1050, 1054, 1059, 1063, 1066, 1068, 1070, 1073, 1075, 1078, + 1080, 1083, 1084, 1092, 1098, 1099, 1107, 1113, 1114, 1123, + 1124, 1132, 1135, 1138, 1141, 1142, 1144, 1145, 1147, 1149, + 1152, 1153, 1157, 1160, 1165, 1169, 1174, 1178, 1180, 1182, + 1185, 1187, 1192, 1194, 1199, 1204, 1211, 1217, 1222, 1229, + 1235, 1237, 1241, 1243, 1245, 1249, 1250, 1254, 1255, 1257, + 1258, 1260, 1263, 1265, 1267, 1269, 1273, 1276, 1280, 1285, + 1289, 1292, 1295, 1297, 1302, 1306, 1311, 1317, 1323, 1325, + 1327, 1329, 1331, 1333, 1336, 1339, 1342, 1345, 1347, 1350, + 1353, 1356, 1358, 1361, 1364, 1367, 1370, 1372, 1375, 1377, + 1379, 1381, 1383, 1386, 1387, 1388, 1389, 1390, 1391, 1393, + 1395, 1398, 1402, 1404, 1407, 1409, 1411, 1417, 1419, 1421, + 1424, 1427, 1430, 1433, 1434, 1440, 1441, 1446, 1447, 1448, + 1450, 1453, 1457, 1461, 1465, 1466, 1471, 1473, 1477, 1478, + 1479, 1487, 1493, 1496, 1497, 1498, 1499, 1500, 1513, 1514, + 1521, 1524, 1526, 1528, 1531, 1535, 1538, 1541, 1544, 1548, + 1555, 1564, 1575, 1588, 1592, 1597, 1599, 1603, 1609, 1612, + 1618, 1619, 1621, 1622, 1624, 1625, 1627, 1629, 1633, 1638, + 1646, 1648, 1652, 1653, 1657, 1660, 1661, 1662, 1669, 1672, + 1673, 1675, 1677, 1681, 1683, 1687, 1692, 1697, 1701, 1706, + 1710, 1715, 1720, 1724, 1729, 1733, 1735, 1736, 1740, 1742, + 1745, 1747, 1751, 1753, 1757, 1759, 1761, 1763, 1765, 1767, + 1769, 1771, 1773, 1777, 1781, 1786, 1787, 1788, 1799, 1800, + 1807, 1808, 1809, 1822, 1823, 1832, 1833, 1840, 1843, 1844, + 1853, 1858, 1859, 1869, 1875, 1876, 1883, 1887, 1888, 1890, + 1894, 1898, 1900, 1902, 1904, 1906, 1907, 1911, 1914, 1918, + 1922, 1924, 1925, 1927, 1932, 1934, 1938, 1941, 1943, 1945, + 1946, 1947, 1948, 1956, 1957, 1958, 1961, 1963, 1965, 1968, + 1969, 1973, 1975, 1977, 1978, 1979, 1985, 1990, 1992, 1998, + 2001, 2002, 2005, 2006, 2008, 2010, 2012, 2015, 2018, 2023, + 2026, 2029, 2031, 2035, 2038, 2041, 2043, 2044, 2047, 2048, + 2052, 2054, 2056, 2059, 2061, 2063, 2065, 2067, 2069, 2071, + 2073, 2075, 2077, 2079, 2081, 2083, 2085, 2087, 2089, 2091, + 2093, 2095, 2097, 2099, 2101, 2103, 2105, 2107, 2109, 2111, + 2118, 2122, 2128, 2131, 2133, 2135, 2137, 2140, 2142, 2146, + 2149, 2151, 2153, 2158, 2160, 2162, 2164, 2167, 2170, 2172, + 2177, 2182 +}; + +/* YYRHS -- A `-1'-separated list of the rules' RHS. */ +static const short yyrhs[] = +{ + 94, 0, -1, -1, 95, -1, -1, 96, 98, -1, + -1, 95, 97, 98, -1, 99, -1, 101, -1, 100, + -1, 296, -1, 28, 67, 110, 84, 85, -1, 295, + 98, -1, 133, 167, 85, -1, 153, 133, 167, 85, + -1, 152, 133, 166, 85, -1, 159, 85, -1, 1, + 85, -1, 1, 86, -1, 85, -1, -1, -1, 152, + 133, 196, 102, 127, 103, 256, 257, 245, -1, 152, + 133, 196, 1, -1, -1, -1, 153, 133, 201, 104, + 127, 105, 256, 257, 245, -1, 153, 133, 201, 1, + -1, -1, -1, 133, 201, 106, 127, 107, 256, 257, + 245, -1, 133, 201, 1, -1, 3, -1, 4, -1, + 81, -1, 76, -1, 52, -1, 58, -1, 57, -1, + 63, -1, 62, -1, 87, -1, 88, -1, 112, -1, + -1, 112, -1, 118, -1, 112, 89, 118, -1, 124, + -1, 59, 117, -1, 295, 117, -1, 109, 117, -1, + 49, 108, -1, 114, 113, -1, 114, 67, 222, 84, + -1, 115, 113, -1, 115, 67, 222, 84, -1, 34, + 117, -1, 35, 117, -1, 12, -1, 30, -1, 29, + -1, 113, -1, 67, 222, 84, 117, -1, 117, -1, + 118, 57, 118, -1, 118, 58, 118, -1, 118, 59, + 118, -1, 118, 60, 118, -1, 118, 61, 118, -1, + 118, 56, 118, -1, 118, 55, 118, -1, 118, 54, + 118, -1, 118, 53, 118, -1, 118, 52, 118, -1, + 118, 50, 118, -1, 118, 51, 118, -1, -1, 118, + 49, 119, 118, -1, -1, 118, 48, 120, 118, -1, + -1, -1, 118, 46, 121, 110, 47, 122, 118, -1, + -1, 118, 46, 123, 47, 118, -1, 118, 44, 118, + -1, 118, 45, 118, -1, 3, -1, 9, -1, 10, + -1, 43, -1, -1, 67, 222, 84, 90, 125, 182, + 86, -1, 67, 110, 84, -1, 67, 1, 84, -1, + 249, 247, 84, -1, 249, 1, 84, -1, 124, 67, + 111, 84, -1, 36, 67, 118, 89, 222, 84, -1, + 37, 67, 118, 89, 118, 89, 118, 84, -1, 38, + 67, 222, 89, 222, 84, -1, 124, 68, 110, 91, + -1, 124, 66, 108, -1, 124, 69, 108, -1, 124, + 63, -1, 124, 62, -1, 352, -1, 356, -1, 357, + -1, 358, -1, 126, -1, 92, 10, -1, 126, 92, + 10, -1, 128, -1, -1, 130, -1, 256, 257, 131, + -1, 129, -1, 237, -1, 130, 129, -1, 129, 237, + -1, 154, 133, 166, 85, -1, 155, 133, 167, 85, + -1, 154, 85, -1, 155, 85, -1, 256, 257, 135, + -1, -1, 173, -1, 152, 133, 166, 85, -1, 153, + 133, 167, 85, -1, 152, 133, 190, -1, 153, 133, + 193, -1, 159, 85, -1, 295, 135, -1, 8, -1, + 136, 8, -1, 137, 8, -1, 136, 174, -1, 138, + 8, -1, 139, 8, -1, 174, -1, 138, 174, -1, + 161, -1, 140, 8, -1, 141, 8, -1, 140, 163, + -1, 141, 163, -1, 136, 161, -1, 137, 161, -1, + 162, -1, 140, 174, -1, 140, 164, -1, 141, 164, + -1, 136, 162, -1, 137, 162, -1, 142, 8, -1, + 143, 8, -1, 142, 163, -1, 143, 163, -1, 138, + 161, -1, 139, 161, -1, 142, 174, -1, 142, 164, + -1, 143, 164, -1, 138, 162, -1, 139, 162, -1, + 179, -1, 144, 8, -1, 145, 8, -1, 136, 179, + -1, 137, 179, -1, 144, 179, -1, 145, 179, -1, + 144, 174, -1, 146, 8, -1, 147, 8, -1, 138, + 179, -1, 139, 179, -1, 146, 179, -1, 147, 179, + -1, 146, 174, -1, 148, 8, -1, 149, 8, -1, + 148, 163, -1, 149, 163, -1, 144, 161, -1, 145, + 161, -1, 140, 179, -1, 141, 179, -1, 148, 179, + -1, 149, 179, -1, 148, 174, -1, 148, 164, -1, + 149, 164, -1, 144, 162, -1, 145, 162, -1, 150, + 8, -1, 151, 8, -1, 150, 163, -1, 151, 163, + -1, 146, 161, -1, 147, 161, -1, 142, 179, -1, + 143, 179, -1, 150, 179, -1, 151, 179, -1, 150, + 174, -1, 150, 164, -1, 151, 164, -1, 146, 162, + -1, 147, 162, -1, 140, -1, 141, -1, 142, -1, + 143, -1, 148, -1, 149, -1, 150, -1, 151, -1, + 136, -1, 137, -1, 138, -1, 139, -1, 144, -1, + 145, -1, 146, -1, 147, -1, 140, -1, 141, -1, + 148, -1, 149, -1, 136, -1, 137, -1, 144, -1, + 145, -1, 140, -1, 141, -1, 142, -1, 143, -1, + 136, -1, 137, -1, 138, -1, 139, -1, 140, -1, + 141, -1, 142, -1, 143, -1, 136, -1, 137, -1, + 138, -1, 139, -1, 136, -1, 137, -1, 138, -1, + 139, -1, 140, -1, 141, -1, 142, -1, 143, -1, + 144, -1, 145, -1, 146, -1, 147, -1, 148, -1, + 149, -1, 150, -1, 151, -1, -1, 157, -1, 163, + -1, 165, -1, 164, -1, 7, -1, 210, -1, 205, + -1, 4, -1, 76, 312, -1, 81, 312, -1, 313, + -1, 116, 67, 110, 84, -1, 116, 67, 222, 84, + -1, 169, -1, 166, 89, 134, 169, -1, 171, -1, + 167, 89, 134, 171, -1, -1, 28, 67, 10, 84, + -1, -1, 196, 168, 173, 44, 170, 180, -1, 196, + 168, 173, -1, -1, 201, 168, 173, 44, 172, 180, + -1, 201, 168, 173, -1, -1, 174, -1, 175, -1, + 174, 175, -1, 31, 67, 67, 176, 84, 84, -1, + 177, -1, 176, 89, 177, -1, -1, 178, -1, 178, + 67, 3, 84, -1, 178, 67, 3, 89, 112, 84, + -1, 178, 67, 111, 84, -1, 108, -1, 179, -1, + 7, -1, 8, -1, 6, -1, 5, -1, 118, -1, + -1, 90, 181, 182, 86, -1, 1, -1, -1, 183, + 211, -1, 184, -1, 183, 89, 184, -1, 188, 44, + 186, -1, 189, 186, -1, -1, 108, 47, 185, 186, + -1, 186, -1, -1, 90, 187, 182, 86, -1, 118, + -1, 1, -1, 189, -1, 188, 189, -1, 66, 108, + -1, 68, 118, 11, 118, 91, -1, 68, 118, 91, + -1, -1, -1, 196, 191, 127, 192, 256, 257, 250, + -1, -1, -1, 201, 194, 127, 195, 256, 257, 250, + -1, 197, -1, 201, -1, 67, 173, 197, 84, -1, + 197, 67, 290, -1, 197, 230, -1, 59, 160, 197, + -1, 4, -1, 81, -1, 199, -1, 200, -1, 199, + 67, 290, -1, 199, 230, -1, 4, -1, 81, -1, + 200, 67, 290, -1, 200, 230, -1, 59, 160, 199, + -1, 59, 160, 200, -1, 67, 173, 200, 84, -1, + 201, 67, 290, -1, 67, 173, 201, 84, -1, 59, + 160, 201, -1, 201, 230, -1, 3, -1, 14, -1, + 14, 174, -1, 15, -1, 15, 174, -1, 13, -1, + 13, 174, -1, -1, 202, 108, 90, 206, 213, 86, + 173, -1, 202, 90, 213, 86, 173, -1, -1, 203, + 108, 90, 207, 213, 86, 173, -1, 203, 90, 213, + 86, 173, -1, -1, 204, 108, 90, 208, 220, 212, + 86, 173, -1, -1, 204, 90, 209, 220, 212, 86, + 173, -1, 202, 108, -1, 203, 108, -1, 204, 108, + -1, -1, 89, -1, -1, 89, -1, 214, -1, 214, + 215, -1, -1, 214, 215, 85, -1, 214, 85, -1, + 74, 67, 76, 84, -1, 156, 133, 216, -1, 156, + 133, 256, 257, -1, 157, 133, 217, -1, 157, -1, + 1, -1, 295, 215, -1, 218, -1, 216, 89, 134, + 218, -1, 219, -1, 217, 89, 134, 219, -1, 256, + 257, 196, 173, -1, 256, 257, 196, 47, 118, 173, + -1, 256, 257, 47, 118, 173, -1, 256, 257, 201, + 173, -1, 256, 257, 201, 47, 118, 173, -1, 256, + 257, 47, 118, 173, -1, 221, -1, 220, 89, 221, + -1, 1, -1, 108, -1, 108, 44, 118, -1, -1, + 158, 223, 224, -1, -1, 226, -1, -1, 226, -1, + 227, 174, -1, 228, -1, 227, -1, 229, -1, 59, + 160, 227, -1, 59, 160, -1, 59, 160, 228, -1, + 67, 173, 226, 84, -1, 229, 67, 280, -1, 229, + 230, -1, 67, 280, -1, 230, -1, 68, 160, 110, + 91, -1, 68, 160, 91, -1, 68, 160, 59, 91, + -1, 68, 6, 160, 110, 91, -1, 68, 157, 6, + 110, 91, -1, 232, -1, 233, -1, 234, -1, 235, + -1, 260, -1, 232, 260, -1, 233, 260, -1, 234, + 260, -1, 235, 260, -1, 132, -1, 232, 132, -1, + 233, 132, -1, 235, 132, -1, 261, -1, 232, 261, + -1, 233, 261, -1, 234, 261, -1, 235, 261, -1, + 237, -1, 236, 237, -1, 232, -1, 233, -1, 234, + -1, 235, -1, 1, 85, -1, -1, -1, -1, -1, + -1, 243, -1, 244, -1, 243, 244, -1, 33, 294, + 85, -1, 250, -1, 1, 250, -1, 90, -1, 86, + -1, 238, 242, 248, 86, 239, -1, 231, -1, 1, + -1, 67, 90, -1, 246, 247, -1, 252, 259, -1, + 252, 1, -1, -1, 16, 253, 67, 110, 84, -1, + -1, 19, 255, 259, 18, -1, -1, -1, 260, -1, + 261, 258, -1, 240, 258, 241, -1, 256, 257, 272, + -1, 256, 257, 273, -1, -1, 251, 17, 263, 259, + -1, 251, -1, 251, 17, 1, -1, -1, -1, 18, + 264, 67, 110, 84, 265, 259, -1, 254, 67, 110, + 84, 85, -1, 254, 1, -1, -1, -1, -1, -1, + 20, 266, 67, 271, 267, 275, 85, 268, 275, 84, + 269, 259, -1, -1, 21, 67, 110, 84, 270, 259, + -1, 275, 85, -1, 135, -1, 250, -1, 110, 85, + -1, 240, 262, 241, -1, 24, 85, -1, 25, 85, + -1, 26, 85, -1, 26, 110, 85, -1, 28, 274, + 67, 110, 84, 85, -1, 28, 274, 67, 110, 47, + 276, 84, 85, -1, 28, 274, 67, 110, 47, 276, + 47, 276, 84, 85, -1, 28, 274, 67, 110, 47, + 276, 47, 276, 47, 279, 84, 85, -1, 27, 108, + 85, -1, 27, 59, 110, 85, -1, 85, -1, 22, + 118, 47, -1, 22, 118, 11, 118, 47, -1, 23, + 47, -1, 108, 256, 257, 47, 173, -1, -1, 8, + -1, -1, 110, -1, -1, 277, -1, 278, -1, 277, + 89, 278, -1, 10, 67, 110, 84, -1, 68, 108, + 91, 10, 67, 110, 84, -1, 10, -1, 279, 89, + 10, -1, -1, 173, 281, 282, -1, 285, 84, -1, + -1, -1, 286, 85, 283, 173, 284, 282, -1, 1, + 84, -1, -1, 11, -1, 286, -1, 286, 89, 11, + -1, 288, -1, 286, 89, 287, -1, 152, 133, 198, + 173, -1, 152, 133, 201, 173, -1, 152, 133, 225, + -1, 153, 133, 201, 173, -1, 153, 133, 225, -1, + 154, 289, 198, 173, -1, 154, 289, 201, 173, -1, + 154, 289, 225, -1, 155, 289, 201, 173, -1, 155, + 289, 225, -1, 133, -1, -1, 173, 291, 292, -1, + 282, -1, 293, 84, -1, 3, -1, 293, 89, 3, + -1, 108, -1, 294, 89, 108, -1, 32, -1, 300, + -1, 298, -1, 299, -1, 310, -1, 321, -1, 72, + -1, 108, -1, 297, 89, 108, -1, 82, 297, 85, + -1, 83, 108, 108, 85, -1, -1, -1, 70, 108, + 312, 90, 301, 314, 86, 302, 325, 72, -1, -1, + 70, 108, 312, 303, 325, 72, -1, -1, -1, 70, + 108, 47, 108, 312, 90, 304, 314, 86, 305, 325, + 72, -1, -1, 70, 108, 47, 108, 312, 306, 325, + 72, -1, -1, 71, 108, 90, 307, 314, 86, -1, + 71, 108, -1, -1, 71, 108, 47, 108, 90, 308, + 314, 86, -1, 71, 108, 47, 108, -1, -1, 70, + 108, 67, 108, 84, 312, 309, 325, 72, -1, 71, + 108, 67, 108, 84, -1, -1, 80, 108, 312, 311, + 325, 72, -1, 80, 297, 85, -1, -1, 313, -1, + 54, 297, 54, -1, 314, 315, 316, -1, 316, -1, + 78, -1, 79, -1, 77, -1, -1, 316, 317, 85, + -1, 316, 85, -1, 156, 133, 318, -1, 157, 133, + 318, -1, 1, -1, -1, 319, -1, 318, 89, 134, + 319, -1, 196, -1, 196, 47, 118, -1, 47, 118, + -1, 57, -1, 58, -1, -1, -1, -1, 320, 322, + 333, 323, 334, 324, 245, -1, -1, -1, 326, 327, + -1, 330, -1, 100, -1, 327, 330, -1, -1, 327, + 328, 100, -1, 85, -1, 1, -1, -1, -1, 320, + 331, 333, 332, 329, -1, 67, 222, 84, 342, -1, + 342, -1, 67, 222, 84, 343, 340, -1, 343, 340, + -1, -1, 85, 335, -1, -1, 336, -1, 337, -1, + 237, -1, 336, 337, -1, 337, 237, -1, 152, 133, + 338, 85, -1, 152, 85, -1, 153, 85, -1, 339, + -1, 338, 89, 339, -1, 198, 173, -1, 201, 173, + -1, 225, -1, -1, 89, 11, -1, -1, 89, 341, + 285, -1, 344, -1, 346, -1, 343, 346, -1, 3, + -1, 4, -1, 76, -1, 81, -1, 345, -1, 13, + -1, 14, -1, 15, -1, 16, -1, 17, -1, 18, + -1, 19, -1, 20, -1, 21, -1, 22, -1, 23, + -1, 24, -1, 25, -1, 26, -1, 27, -1, 28, + -1, 12, -1, 29, -1, 30, -1, 7, -1, 8, + -1, 344, 47, 67, 222, 84, 108, -1, 344, 47, + 108, -1, 47, 67, 222, 84, 108, -1, 47, 108, + -1, 344, -1, 348, -1, 350, -1, 348, 350, -1, + 112, -1, 344, 47, 349, -1, 47, 349, -1, 110, + -1, 76, -1, 68, 351, 347, 91, -1, 344, -1, + 354, -1, 355, -1, 354, 355, -1, 344, 47, -1, + 47, -1, 73, 67, 353, 84, -1, 80, 67, 108, + 84, -1, 75, 67, 222, 84, -1 +}; + +/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ +static const unsigned short yyrline[] = +{ + 0, 345, 345, 349, 368, 368, 369, 369, 373, 378, + 379, 380, 381, 389, 394, 401, 403, 405, 407, 408, + 409, 416, 421, 415, 427, 430, 435, 429, 441, 444, + 449, 443, 455, 460, 461, 462, 463, 466, 468, 470, + 473, 475, 477, 479, 483, 489, 490, 494, 496, 501, + 502, 505, 508, 512, 514, 520, 523, 526, 529, 531, + 536, 540, 544, 548, 549, 554, 555, 557, 559, 561, + 563, 565, 567, 569, 571, 573, 575, 577, 580, 579, + 587, 586, 594, 598, 593, 604, 603, 614, 621, 633, + 639, 640, 642, 645, 644, 657, 662, 664, 680, 687, + 689, 692, 702, 712, 714, 721, 730, 732, 734, 736, + 738, 740, 742, 749, 751, 756, 764, 770, 777, 782, + 783, 784, 785, 793, 795, 797, 800, 809, 818, 828, + 833, 835, 837, 839, 841, 843, 900, 903, 906, 912, + 918, 921, 927, 930, 936, 939, 942, 945, 948, 951, + 954, 960, 963, 966, 969, 972, 975, 981, 984, 987, + 990, 993, 996, 1002, 1005, 1008, 1011, 1014, 1020, 1023, + 1026, 1029, 1035, 1041, 1047, 1056, 1062, 1065, 1068, 1074, + 1080, 1086, 1095, 1101, 1104, 1107, 1110, 1113, 1116, 1119, + 1125, 1131, 1137, 1146, 1149, 1152, 1155, 1158, 1164, 1167, + 1170, 1173, 1176, 1179, 1182, 1188, 1194, 1200, 1209, 1212, + 1215, 1218, 1221, 1228, 1229, 1230, 1231, 1232, 1233, 1234, + 1235, 1239, 1240, 1241, 1242, 1243, 1244, 1245, 1246, 1250, + 1251, 1252, 1253, 1257, 1258, 1259, 1260, 1264, 1265, 1266, + 1267, 1271, 1272, 1273, 1274, 1278, 1279, 1280, 1281, 1282, + 1283, 1284, 1285, 1289, 1290, 1291, 1292, 1293, 1294, 1295, + 1296, 1297, 1298, 1299, 1300, 1301, 1302, 1303, 1304, 1310, + 1311, 1337, 1338, 1342, 1346, 1348, 1352, 1356, 1360, 1362, + 1367, 1369, 1371, 1378, 1379, 1383, 1384, 1389, 1390, 1396, + 1395, 1403, 1412, 1411, 1419, 1428, 1429, 1434, 1436, 1441, + 1446, 1448, 1454, 1455, 1457, 1459, 1461, 1469, 1470, 1471, + 1472, 1476, 1477, 1483, 1485, 1484, 1488, 1495, 1497, 1501, + 1502, 1508, 1511, 1515, 1514, 1520, 1525, 1524, 1528, 1530, + 1534, 1535, 1539, 1541, 1545, 1551, 1564, 1550, 1582, 1595, + 1581, 1615, 1616, 1622, 1624, 1629, 1631, 1633, 1634, 1642, + 1643, 1647, 1652, 1654, 1655, 1659, 1664, 1666, 1668, 1670, + 1678, 1683, 1685, 1687, 1689, 1693, 1695, 1700, 1702, 1707, + 1709, 1721, 1720, 1726, 1731, 1730, 1734, 1739, 1738, 1744, + 1743, 1751, 1753, 1755, 1763, 1765, 1768, 1770, 1776, 1778, + 1784, 1785, 1787, 1791, 1807, 1810, 1820, 1823, 1828, 1830, + 1836, 1837, 1842, 1843, 1848, 1851, 1855, 1861, 1864, 1868, + 1879, 1880, 1885, 1891, 1893, 1899, 1898, 1907, 1908, 1913, + 1916, 1920, 1927, 1928, 1932, 1933, 1938, 1940, 1945, 1947, + 1949, 1951, 1953, 1960, 1962, 1964, 1966, 1969, 1980, 1981, + 1982, 1986, 1990, 1991, 1992, 1993, 1994, 1998, 1999, 2002, + 2003, 2007, 2008, 2009, 2010, 2011, 2015, 2016, 2020, 2021, + 2022, 2023, 2026, 2030, 2039, 2044, 2062, 2076, 2078, 2084, + 2085, 2089, 2103, 2105, 2108, 2112, 2114, 2122, 2123, 2127, + 2144, 2152, 2157, 2170, 2169, 2184, 2183, 2203, 2209, 2215, + 2216, 2221, 2227, 2241, 2251, 2250, 2258, 2270, 2281, 2284, + 2280, 2290, 2293, 2296, 2300, 2303, 2307, 2295, 2311, 2310, + 2318, 2320, 2326, 2328, 2331, 2335, 2338, 2341, 2344, 2347, + 2351, 2355, 2360, 2364, 2376, 2382, 2390, 2393, 2396, 2399, + 2416, 2418, 2424, 2425, 2431, 2432, 2436, 2437, 2442, 2444, + 2451, 2453, 2464, 2463, 2474, 2476, 2484, 2475, 2488, 2495, + 2496, 2506, 2510, 2515, 2517, 2524, 2529, 2534, 2537, 2543, + 2551, 2556, 2561, 2564, 2570, 2576, 2586, 2585, 2596, 2597, + 2615, 2617, 2623, 2625, 2630, 2641, 2642, 2643, 2644, 2645, + 2646, 2661, 2663, 2668, 2675, 2683, 2689, 2682, 2700, 2699, + 2713, 2719, 2712, 2730, 2729, 2743, 2742, 2754, 2763, 2762, + 2774, 2783, 2782, 2795, 2806, 2805, 2820, 2828, 2831, 2835, + 2845, 2846, 2850, 2851, 2852, 2857, 2860, 2861, 2879, 2882, + 2885, 2891, 2892, 2893, 2897, 2904, 2910, 2920, 2922, 2928, + 2934, 2943, 2927, 2956, 2958, 2958, 2962, 2963, 2964, 2965, + 2965, 2969, 2970, 2975, 2980, 2974, 2992, 2997, 3002, 3007, + 3016, 3018, 3024, 3026, 3030, 3031, 3032, 3033, 3037, 3039, + 3041, 3046, 3048, 3056, 3060, 3064, 3070, 3073, 3079, 3078, + 3091, 3095, 3097, 3104, 3105, 3106, 3107, 3108, 3112, 3112, + 3112, 3112, 3112, 3112, 3112, 3112, 3113, 3113, 3113, 3113, + 3113, 3113, 3114, 3114, 3114, 3114, 3114, 3115, 3115, 3119, + 3124, 3129, 3134, 3141, 3142, 3146, 3147, 3155, 3167, 3171, + 3178, 3179, 3186, 3191, 3192, 3196, 3197, 3204, 3208, 3215, + 3222, 3231 +}; +#endif + +#if YYDEBUG || YYERROR_VERBOSE +/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. + First, the terminals, then, starting at YYNTOKENS, nonterminals. */ +static const char *const yytname[] = +{ + "$end", "error", "$undefined", "IDENTIFIER", "TYPENAME", "SCSPEC", + "STATIC", "TYPESPEC", "TYPE_QUAL", "CONSTANT", "STRING", "ELLIPSIS", + "SIZEOF", "ENUM", "STRUCT", "UNION", "IF", "ELSE", "WHILE", "DO", "FOR", + "SWITCH", "CASE", "DEFAULT", "BREAK", "CONTINUE", "RETURN", "GOTO", + "ASM_KEYWORD", "TYPEOF", "ALIGNOF", "ATTRIBUTE", "EXTENSION", "LABEL", + "REALPART", "IMAGPART", "VA_ARG", "CHOOSE_EXPR", "TYPES_COMPATIBLE_P", + "PTR_VALUE", "PTR_BASE", "PTR_EXTENT", "STRING_FUNC_NAME", + "VAR_FUNC_NAME", "'='", "ASSIGN", "'?'", "':'", "OROR", "ANDAND", "'|'", + "'^'", "'&'", "EQCOMPARE", "ARITHCOMPARE", "RSHIFT", "LSHIFT", "'+'", + "'-'", "'*'", "'/'", "'%'", "MINUSMINUS", "PLUSPLUS", "UNARY", + "HYPERUNARY", "'.'", "'('", "'['", "POINTSAT", "INTERFACE", + "IMPLEMENTATION", "END", "SELECTOR", "DEFS", "ENCODE", "CLASSNAME", + "PUBLIC", "PRIVATE", "PROTECTED", "PROTOCOL", "OBJECTNAME", "CLASS", + "ALIAS", "')'", "';'", "'}'", "'~'", "'!'", "','", "'{'", "']'", "'@'", + "$accept", "program", "extdefs", "@1", "@2", "extdef", "extdef_1", + "datadef", "fndef", "@3", "@4", "@5", "@6", "@7", "@8", "identifier", + "unop", "expr", "exprlist", "nonnull_exprlist", "unary_expr", "sizeof", + "alignof", "typeof", "cast_expr", "expr_no_commas", "@9", "@10", "@11", + "@12", "@13", "primary", "@14", "objc_string", "old_style_parm_decls", + "old_style_parm_decls_1", "lineno_datadecl", "datadecls", "datadecl", + "lineno_decl", "setspecs", "maybe_resetattrs", "decl", + "declspecs_nosc_nots_nosa_noea", "declspecs_nosc_nots_nosa_ea", + "declspecs_nosc_nots_sa_noea", "declspecs_nosc_nots_sa_ea", + "declspecs_nosc_ts_nosa_noea", "declspecs_nosc_ts_nosa_ea", + "declspecs_nosc_ts_sa_noea", "declspecs_nosc_ts_sa_ea", + "declspecs_sc_nots_nosa_noea", "declspecs_sc_nots_nosa_ea", + "declspecs_sc_nots_sa_noea", "declspecs_sc_nots_sa_ea", + "declspecs_sc_ts_nosa_noea", "declspecs_sc_ts_nosa_ea", + "declspecs_sc_ts_sa_noea", "declspecs_sc_ts_sa_ea", "declspecs_ts", + "declspecs_nots", "declspecs_ts_nosa", "declspecs_nots_nosa", + "declspecs_nosc_ts", "declspecs_nosc_nots", "declspecs_nosc", + "declspecs", "maybe_type_quals_attrs", "typespec_nonattr", + "typespec_attr", "typespec_reserved_nonattr", "typespec_reserved_attr", + "typespec_nonreserved_nonattr", "initdecls", "notype_initdecls", + "maybeasm", "initdcl", "@15", "notype_initdcl", "@16", + "maybe_attribute", "attributes", "attribute", "attribute_list", + "attrib", "any_word", "scspec", "init", "@17", "initlist_maybe_comma", + "initlist1", "initelt", "@18", "initval", "@19", "designator_list", + "designator", "nested_function", "@20", "@21", "notype_nested_function", + "@22", "@23", "declarator", "after_type_declarator", "parm_declarator", + "parm_declarator_starttypename", "parm_declarator_nostarttypename", + "notype_declarator", "struct_head", "union_head", "enum_head", + "structsp_attr", "@24", "@25", "@26", "@27", "structsp_nonattr", + "maybecomma", "maybecomma_warn", "component_decl_list", + "component_decl_list2", "component_decl", "components", + "components_notype", "component_declarator", + "component_notype_declarator", "enumlist", "enumerator", "typename", + "@28", "absdcl", "absdcl_maybe_attribute", "absdcl1", "absdcl1_noea", + "absdcl1_ea", "direct_absdcl1", "array_declarator", "stmts_and_decls", + "lineno_stmt_decl_or_labels_ending_stmt", + "lineno_stmt_decl_or_labels_ending_decl", + "lineno_stmt_decl_or_labels_ending_label", + "lineno_stmt_decl_or_labels_ending_error", "lineno_stmt_decl_or_labels", + "errstmt", "pushlevel", "poplevel", "c99_block_start", "c99_block_end", + "maybe_label_decls", "label_decls", "label_decl", "compstmt_or_error", + "compstmt_start", "compstmt_nostart", "compstmt_contents_nonempty", + "compstmt_primary_start", "compstmt", "simple_if", "if_prefix", "@29", + "do_stmt_start", "@30", "save_filename", "save_lineno", + "lineno_labeled_stmt", "c99_block_lineno_labeled_stmt", "lineno_stmt", + "lineno_label", "select_or_iter_stmt", "@31", "@32", "@33", "@34", + "@35", "@36", "@37", "@38", "for_init_stmt", "stmt", "label", + "maybe_type_qual", "xexpr", "asm_operands", "nonnull_asm_operands", + "asm_operand", "asm_clobbers", "parmlist", "@39", "parmlist_1", "@40", + "@41", "parmlist_2", "parms", "parm", "firstparm", "setspecs_fp", + "parmlist_or_identifiers", "@42", "parmlist_or_identifiers_1", + "identifiers", "identifiers_or_typenames", "extension", "objcdef", + "identifier_list", "classdecl", "aliasdecl", "classdef", "@43", "@44", + "@45", "@46", "@47", "@48", "@49", "@50", "@51", "protocoldef", "@52", + "protocolrefs", "non_empty_protocolrefs", "ivar_decl_list", + "visibility_spec", "ivar_decls", "ivar_decl", "ivars", + "ivar_declarator", "methodtype", "methoddef", "@53", "@54", "@55", + "methodprotolist", "@56", "methodprotolist2", "@57", "semi_or_error", + "methodproto", "@58", "@59", "methoddecl", "optarglist", "myxdecls", + "mydecls", "mydecl", "myparms", "myparm", "optparmlist", "@60", + "unaryselector", "keywordselector", "selector", "reservedwords", + "keyworddecl", "messageargs", "keywordarglist", "keywordexpr", + "keywordarg", "receiver", "objcmessageexpr", "selectorarg", + "keywordnamelist", "keywordname", "objcselectorexpr", + "objcprotocolexpr", "objcencodeexpr", 0 +}; +#endif + +# ifdef YYPRINT +/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to + token YYLEX-NUM. */ +static const unsigned short yytoknum[] = +{ + 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 61, 299, 63, 58, 300, 301, + 124, 94, 38, 302, 303, 304, 305, 43, 45, 42, + 47, 37, 306, 307, 308, 309, 46, 40, 91, 310, + 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, + 321, 322, 323, 324, 41, 59, 125, 126, 33, 44, + 123, 93, 64 +}; +# endif + +/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ +static const unsigned short yyr1[] = +{ + 0, 93, 94, 94, 96, 95, 97, 95, 98, 99, + 99, 99, 99, 99, 100, 100, 100, 100, 100, 100, + 100, 102, 103, 101, 101, 104, 105, 101, 101, 106, + 107, 101, 101, 108, 108, 108, 108, 109, 109, 109, + 109, 109, 109, 109, 110, 111, 111, 112, 112, 113, + 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, + 114, 115, 116, 117, 117, 118, 118, 118, 118, 118, + 118, 118, 118, 118, 118, 118, 118, 118, 119, 118, + 120, 118, 121, 122, 118, 123, 118, 118, 118, 124, + 124, 124, 124, 125, 124, 124, 124, 124, 124, 124, + 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, + 124, 124, 124, 126, 126, 127, 128, 128, 129, 130, + 130, 130, 130, 131, 131, 131, 131, 132, 133, 134, + 135, 135, 135, 135, 135, 135, 136, 136, 136, 137, + 138, 138, 139, 139, 140, 140, 140, 140, 140, 140, + 140, 141, 141, 141, 141, 141, 141, 142, 142, 142, + 142, 142, 142, 143, 143, 143, 143, 143, 144, 144, + 144, 144, 144, 144, 144, 145, 146, 146, 146, 146, + 146, 146, 147, 148, 148, 148, 148, 148, 148, 148, + 148, 148, 148, 149, 149, 149, 149, 149, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 151, 151, + 151, 151, 151, 152, 152, 152, 152, 152, 152, 152, + 152, 153, 153, 153, 153, 153, 153, 153, 153, 154, + 154, 154, 154, 155, 155, 155, 155, 156, 156, 156, + 156, 157, 157, 157, 157, 158, 158, 158, 158, 158, + 158, 158, 158, 159, 159, 159, 159, 159, 159, 159, + 159, 159, 159, 159, 159, 159, 159, 159, 159, 160, + 160, 161, 161, 162, 163, 163, 164, 165, 165, 165, + 165, 165, 165, 166, 166, 167, 167, 168, 168, 170, + 169, 169, 172, 171, 171, 173, 173, 174, 174, 175, + 176, 176, 177, 177, 177, 177, 177, 178, 178, 178, + 178, 179, 179, 180, 181, 180, 180, 182, 182, 183, + 183, 184, 184, 185, 184, 184, 187, 186, 186, 186, + 188, 188, 189, 189, 189, 191, 192, 190, 194, 195, + 193, 196, 196, 197, 197, 197, 197, 197, 197, 198, + 198, 199, 199, 199, 199, 200, 200, 200, 200, 200, + 201, 201, 201, 201, 201, 202, 202, 203, 203, 204, + 204, 206, 205, 205, 207, 205, 205, 208, 205, 209, + 205, 210, 210, 210, 211, 211, 212, 212, 213, 213, + 214, 214, 214, 214, 215, 215, 215, 215, 215, 215, + 216, 216, 217, 217, 218, 218, 218, 219, 219, 219, + 220, 220, 220, 221, 221, 223, 222, 224, 224, 225, + 225, 225, 226, 226, 227, 227, 228, 228, 229, 229, + 229, 229, 229, 230, 230, 230, 230, 230, 231, 231, + 231, 231, 232, 232, 232, 232, 232, 233, 233, 233, + 233, 234, 234, 234, 234, 234, 235, 235, 236, 236, + 236, 236, 237, 238, 239, 240, 241, 242, 242, 243, + 243, 244, 245, 245, 246, 247, 247, 248, 248, 249, + 250, 251, 251, 253, 252, 255, 254, 256, 257, 258, + 258, 259, 260, 261, 263, 262, 262, 262, 264, 265, + 262, 262, 262, 266, 267, 268, 269, 262, 270, 262, + 271, 271, 272, 272, 272, 272, 272, 272, 272, 272, + 272, 272, 272, 272, 272, 272, 273, 273, 273, 273, + 274, 274, 275, 275, 276, 276, 277, 277, 278, 278, + 279, 279, 281, 280, 282, 283, 284, 282, 282, 285, + 285, 285, 285, 286, 286, 287, 287, 287, 287, 287, + 288, 288, 288, 288, 288, 289, 291, 290, 292, 292, + 293, 293, 294, 294, 295, 296, 296, 296, 296, 296, + 296, 297, 297, 298, 299, 301, 302, 300, 303, 300, + 304, 305, 300, 306, 300, 307, 300, 300, 308, 300, + 300, 309, 300, 300, 311, 310, 310, 312, 312, 313, + 314, 314, 315, 315, 315, 316, 316, 316, 317, 317, + 317, 318, 318, 318, 319, 319, 319, 320, 320, 322, + 323, 324, 321, 325, 326, 325, 327, 327, 327, 328, + 327, 329, 329, 331, 332, 330, 333, 333, 333, 333, + 334, 334, 335, 335, 336, 336, 336, 336, 337, 337, + 337, 338, 338, 339, 339, 339, 340, 340, 341, 340, + 342, 343, 343, 344, 344, 344, 344, 344, 345, 345, + 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, + 345, 345, 345, 345, 345, 345, 345, 345, 345, 346, + 346, 346, 346, 347, 347, 348, 348, 349, 350, 350, + 351, 351, 352, 353, 353, 354, 354, 355, 355, 356, + 357, 358 +}; + +/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ +static const unsigned char yyr2[] = +{ + 0, 2, 0, 1, 0, 2, 0, 3, 1, 1, + 1, 1, 5, 2, 3, 4, 4, 2, 2, 2, + 1, 0, 0, 9, 4, 0, 0, 9, 4, 0, + 0, 8, 3, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 0, 1, 1, 3, 1, + 2, 2, 2, 2, 2, 4, 2, 4, 2, 2, + 1, 1, 1, 1, 4, 1, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 0, 4, + 0, 4, 0, 0, 7, 0, 5, 3, 3, 1, + 1, 1, 1, 0, 7, 3, 3, 3, 3, 4, + 6, 8, 6, 4, 3, 3, 2, 2, 1, 1, + 1, 1, 1, 2, 3, 1, 0, 1, 3, 1, + 1, 2, 2, 4, 4, 2, 2, 3, 0, 1, + 4, 4, 3, 3, 2, 2, 1, 2, 2, 2, + 2, 2, 1, 2, 1, 2, 2, 2, 2, 2, + 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 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, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, + 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, + 1, 4, 4, 1, 4, 1, 4, 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, 1, 1, 0, 4, 1, 0, 2, 1, + 3, 3, 2, 0, 4, 1, 0, 4, 1, 1, + 1, 2, 2, 5, 3, 0, 0, 7, 0, 0, + 7, 1, 1, 4, 3, 2, 3, 1, 1, 1, + 1, 3, 2, 1, 1, 3, 2, 3, 3, 4, + 3, 4, 3, 2, 1, 1, 2, 1, 2, 1, + 2, 0, 7, 5, 0, 7, 5, 0, 8, 0, + 7, 2, 2, 2, 0, 1, 0, 1, 1, 2, + 0, 3, 2, 4, 3, 4, 3, 1, 1, 2, + 1, 4, 1, 4, 4, 6, 5, 4, 6, 5, + 1, 3, 1, 1, 3, 0, 3, 0, 1, 0, + 1, 2, 1, 1, 1, 3, 2, 3, 4, 3, + 2, 2, 1, 4, 3, 4, 5, 5, 1, 1, + 1, 1, 1, 2, 2, 2, 2, 1, 2, 2, + 2, 1, 2, 2, 2, 2, 1, 2, 1, 1, + 1, 1, 2, 0, 0, 0, 0, 0, 1, 1, + 2, 3, 1, 2, 1, 1, 5, 1, 1, 2, + 2, 2, 2, 0, 5, 0, 4, 0, 0, 1, + 2, 3, 3, 3, 0, 4, 1, 3, 0, 0, + 7, 5, 2, 0, 0, 0, 0, 12, 0, 6, + 2, 1, 1, 2, 3, 2, 2, 2, 3, 6, + 8, 10, 12, 3, 4, 1, 3, 5, 2, 5, + 0, 1, 0, 1, 0, 1, 1, 3, 4, 7, + 1, 3, 0, 3, 2, 0, 0, 6, 2, 0, + 1, 1, 3, 1, 3, 4, 4, 3, 4, 3, + 4, 4, 3, 4, 3, 1, 0, 3, 1, 2, + 1, 3, 1, 3, 1, 1, 1, 1, 1, 1, + 1, 1, 3, 3, 4, 0, 0, 10, 0, 6, + 0, 0, 12, 0, 8, 0, 6, 2, 0, 8, + 4, 0, 9, 5, 0, 6, 3, 0, 1, 3, + 3, 1, 1, 1, 1, 0, 3, 2, 3, 3, + 1, 0, 1, 4, 1, 3, 2, 1, 1, 0, + 0, 0, 7, 0, 0, 2, 1, 1, 2, 0, + 3, 1, 1, 0, 0, 5, 4, 1, 5, 2, + 0, 2, 0, 1, 1, 1, 2, 2, 4, 2, + 2, 1, 3, 2, 2, 1, 0, 2, 0, 3, + 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, + 3, 5, 2, 1, 1, 1, 2, 1, 3, 2, + 1, 1, 4, 1, 1, 1, 2, 2, 1, 4, + 4, 4 +}; + +/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state + STATE-NUM when YYTABLE doesn't specify something else to do. Zero + means the default is an error. */ +static const unsigned short yydefact[] = +{ + 4, 0, 6, 0, 1, 0, 0, 277, 312, 311, + 274, 136, 369, 365, 367, 0, 62, 0, 574, 0, + 627, 628, 0, 0, 580, 607, 0, 607, 0, 0, + 20, 5, 8, 10, 9, 0, 0, 221, 222, 223, + 224, 213, 214, 215, 216, 225, 226, 227, 228, 217, + 218, 219, 220, 128, 128, 0, 144, 151, 271, 273, + 272, 142, 297, 168, 0, 0, 0, 276, 275, 0, + 11, 576, 577, 575, 578, 280, 629, 579, 7, 18, + 19, 370, 366, 368, 0, 0, 33, 34, 36, 35, + 581, 0, 607, 597, 278, 608, 607, 0, 279, 0, + 0, 0, 364, 269, 295, 0, 285, 0, 137, 149, + 155, 139, 171, 138, 150, 156, 172, 140, 161, 166, + 143, 178, 141, 162, 167, 179, 145, 147, 153, 152, + 189, 146, 148, 154, 190, 157, 159, 164, 163, 204, + 158, 160, 165, 205, 169, 187, 196, 175, 173, 170, + 188, 197, 174, 176, 202, 211, 182, 180, 177, 203, + 212, 181, 183, 185, 194, 193, 191, 184, 186, 195, + 192, 198, 200, 209, 208, 206, 199, 201, 210, 207, + 0, 0, 17, 298, 390, 381, 390, 382, 379, 383, + 13, 0, 89, 90, 91, 60, 61, 0, 0, 0, + 0, 0, 92, 0, 37, 39, 38, 0, 41, 40, + 0, 0, 0, 0, 0, 42, 43, 0, 0, 0, + 44, 63, 0, 0, 65, 47, 49, 112, 0, 0, + 108, 109, 110, 111, 302, 609, 0, 0, 0, 588, + 0, 0, 595, 604, 606, 583, 0, 0, 249, 250, + 251, 252, 245, 246, 247, 248, 415, 0, 241, 242, + 243, 244, 270, 0, 0, 296, 14, 295, 32, 0, + 295, 269, 0, 295, 363, 347, 269, 295, 348, 0, + 283, 0, 341, 342, 0, 0, 0, 0, 0, 371, + 0, 374, 0, 377, 673, 674, 697, 698, 694, 678, + 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, + 689, 690, 691, 692, 693, 695, 696, 0, 0, 675, + 676, 630, 647, 666, 670, 677, 671, 58, 59, 0, + 0, 0, 53, 50, 0, 479, 0, 0, 711, 710, + 0, 0, 0, 0, 113, 52, 0, 0, 0, 54, + 0, 56, 0, 0, 82, 80, 78, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 107, + 106, 0, 45, 0, 0, 0, 0, 475, 467, 0, + 51, 309, 310, 307, 0, 300, 303, 308, 582, 607, + 0, 585, 634, 600, 0, 615, 634, 584, 281, 417, + 282, 362, 0, 0, 129, 0, 566, 360, 269, 270, + 0, 0, 30, 115, 0, 487, 120, 488, 294, 0, + 0, 16, 295, 24, 0, 295, 295, 345, 15, 28, + 0, 0, 295, 398, 392, 241, 242, 243, 244, 237, + 238, 239, 240, 128, 128, 389, 0, 390, 295, 390, + 412, 413, 386, 410, 0, 0, 702, 0, 650, 668, + 649, 0, 672, 0, 0, 0, 0, 96, 95, 0, + 0, 703, 0, 704, 705, 718, 713, 0, 714, 715, + 0, 0, 12, 48, 0, 0, 87, 88, 0, 0, + 0, 0, 76, 77, 75, 74, 73, 72, 71, 66, + 67, 68, 69, 70, 104, 0, 46, 0, 105, 114, + 98, 0, 0, 468, 469, 97, 0, 302, 45, 593, + 607, 615, 0, 0, 598, 603, 0, 0, 0, 269, + 295, 416, 418, 423, 422, 424, 432, 361, 286, 287, + 0, 0, 0, 0, 0, 434, 0, 462, 487, 122, + 121, 0, 292, 346, 0, 0, 22, 291, 344, 26, + 0, 373, 487, 487, 391, 399, 0, 376, 0, 0, + 387, 0, 386, 0, 0, 0, 631, 667, 549, 0, + 700, 0, 0, 0, 93, 64, 707, 709, 0, 712, + 0, 706, 717, 719, 0, 716, 721, 720, 55, 57, + 0, 0, 81, 79, 99, 103, 572, 0, 478, 447, + 477, 487, 487, 487, 487, 0, 456, 0, 488, 442, + 451, 470, 299, 301, 89, 0, 590, 634, 601, 0, + 589, 637, 0, 128, 128, 643, 639, 636, 615, 614, + 612, 613, 596, 615, 620, 617, 128, 128, 0, 605, + 426, 542, 431, 295, 430, 288, 0, 570, 550, 233, + 234, 229, 230, 235, 236, 231, 232, 128, 128, 568, + 0, 551, 553, 567, 0, 0, 0, 435, 433, 488, + 118, 128, 128, 0, 343, 284, 287, 487, 289, 487, + 393, 394, 400, 488, 396, 402, 488, 295, 295, 414, + 411, 295, 0, 0, 646, 666, 221, 222, 223, 224, + 213, 214, 215, 216, 225, 226, 227, 228, 217, 218, + 219, 220, 128, 0, 655, 651, 653, 0, 0, 669, + 551, 0, 0, 0, 0, 0, 708, 83, 86, 471, + 0, 448, 443, 452, 449, 444, 453, 488, 445, 454, + 450, 446, 455, 457, 464, 465, 304, 0, 306, 615, + 0, 634, 586, 0, 0, 0, 0, 638, 0, 0, + 621, 621, 616, 425, 427, 0, 0, 542, 429, 548, + 565, 419, 419, 544, 545, 0, 569, 0, 436, 437, + 0, 125, 0, 126, 0, 316, 314, 313, 293, 488, + 0, 488, 295, 395, 295, 0, 372, 375, 380, 295, + 701, 648, 659, 419, 660, 656, 657, 0, 474, 632, + 463, 472, 0, 100, 0, 102, 329, 89, 0, 0, + 326, 0, 328, 0, 384, 319, 325, 0, 0, 0, + 573, 465, 476, 277, 0, 0, 0, 0, 0, 0, + 530, 607, 607, 525, 487, 0, 127, 128, 128, 0, + 0, 512, 492, 493, 0, 0, 0, 594, 0, 634, + 644, 640, 599, 0, 624, 618, 622, 619, 428, 543, + 353, 269, 295, 354, 295, 349, 350, 295, 562, 420, + 423, 269, 295, 295, 564, 295, 552, 128, 128, 554, + 571, 31, 0, 0, 0, 0, 290, 0, 487, 0, + 295, 487, 0, 295, 378, 295, 295, 665, 0, 661, + 473, 480, 699, 0, 332, 47, 0, 323, 94, 0, + 318, 0, 0, 331, 322, 84, 0, 528, 515, 516, + 517, 0, 0, 0, 531, 0, 488, 513, 0, 0, + 134, 483, 498, 485, 503, 0, 496, 0, 0, 466, + 135, 305, 591, 602, 0, 0, 626, 0, 295, 426, + 542, 560, 295, 352, 295, 356, 561, 421, 426, 542, + 563, 546, 419, 419, 123, 124, 0, 23, 27, 401, + 488, 295, 0, 404, 403, 295, 0, 407, 663, 664, + 658, 419, 101, 0, 334, 0, 0, 320, 321, 0, + 0, 526, 518, 0, 523, 0, 0, 0, 132, 335, + 0, 133, 338, 0, 0, 465, 0, 0, 0, 482, + 487, 481, 502, 0, 514, 634, 587, 642, 641, 645, + 625, 0, 357, 358, 0, 351, 355, 0, 295, 295, + 557, 295, 559, 315, 0, 406, 295, 409, 295, 662, + 0, 327, 324, 0, 524, 0, 295, 130, 0, 131, + 0, 0, 0, 0, 532, 0, 497, 465, 466, 489, + 487, 0, 0, 623, 359, 547, 555, 556, 558, 405, + 408, 333, 527, 534, 0, 529, 336, 339, 0, 0, + 486, 533, 511, 504, 0, 508, 495, 491, 490, 0, + 592, 0, 0, 0, 535, 536, 519, 487, 487, 484, + 499, 532, 510, 465, 501, 0, 0, 534, 0, 0, + 488, 488, 465, 0, 509, 0, 0, 0, 520, 537, + 0, 0, 500, 505, 538, 0, 0, 0, 337, 340, + 532, 0, 540, 0, 521, 0, 0, 0, 0, 506, + 539, 522, 541, 465, 507 +}; + +/* YYDEFGOTO[NTERM-NUM]. */ +static const short yydefgoto[] = +{ + -1, 1, 2, 3, 5, 31, 32, 33, 34, 424, + 687, 430, 689, 272, 548, 831, 218, 336, 505, 220, + 221, 222, 223, 35, 224, 225, 491, 490, 488, 839, + 489, 226, 735, 227, 412, 413, 414, 415, 680, 609, + 36, 403, 856, 248, 249, 250, 251, 252, 253, 254, + 255, 45, 46, 47, 48, 49, 50, 51, 52, 53, + 54, 667, 668, 443, 262, 256, 55, 263, 56, 57, + 58, 59, 60, 279, 105, 273, 280, 800, 106, 683, + 404, 265, 62, 384, 385, 386, 63, 798, 904, 833, + 834, 835, 1006, 836, 926, 837, 838, 1018, 1068, 1117, + 1021, 1070, 1118, 686, 282, 915, 885, 886, 283, 64, + 65, 66, 67, 447, 449, 454, 292, 68, 930, 571, + 287, 288, 445, 691, 694, 692, 695, 452, 453, 257, + 399, 531, 917, 889, 890, 534, 535, 274, 610, 611, + 612, 613, 614, 615, 416, 378, 842, 1030, 1034, 512, + 513, 514, 819, 820, 379, 617, 228, 821, 956, 957, + 1023, 958, 1025, 417, 551, 1078, 1031, 1079, 1080, 959, + 1077, 1024, 1132, 1026, 1121, 1150, 1163, 1123, 1103, 862, + 863, 945, 1104, 1113, 1114, 1115, 1153, 652, 776, 669, + 895, 1047, 670, 671, 899, 672, 781, 407, 541, 673, + 674, 607, 229, 70, 91, 71, 72, 73, 521, 869, + 392, 759, 1035, 627, 395, 638, 761, 74, 396, 94, + 75, 526, 643, 527, 648, 875, 876, 76, 77, 191, + 458, 728, 522, 523, 636, 766, 1039, 637, 765, 965, + 321, 576, 725, 726, 727, 918, 919, 460, 578, 322, + 323, 324, 325, 326, 472, 473, 587, 474, 340, 230, + 477, 478, 479, 231, 232, 233 +}; + +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +#define YYPACT_NINF -1026 +static const short yypact[] = +{ + 107, 153, 178, 3928, -1026, 3928, 335, -1026, -1026, -1026, + -1026, -1026, 135, 135, 135, 147, -1026, 158, -1026, 423, + -1026, -1026, 423, 423, -1026, 187, 423, 187, 423, 423, + -1026, -1026, -1026, -1026, -1026, 191, 83, 4067, 4194, 4110, + 4207, 457, 697, 516, 1261, 4152, 4249, 4165, 4291, 951, + 1396, 1360, 1414, -1026, -1026, 182, -1026, -1026, -1026, -1026, + -1026, 135, -1026, -1026, 246, 362, 401, -1026, -1026, 3928, + -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, + -1026, 135, 135, 135, 3452, 210, -1026, -1026, -1026, -1026, + -1026, 57, 473, 53, -1026, -1026, 51, 258, -1026, 296, + 423, 3041, -1026, 307, 135, 389, -1026, 1483, -1026, -1026, + -1026, 135, -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, + 135, -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, 135, + -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, 135, -1026, + -1026, -1026, -1026, -1026, -1026, -1026, -1026, 135, -1026, -1026, + -1026, -1026, -1026, -1026, -1026, -1026, 135, -1026, -1026, -1026, + -1026, -1026, -1026, -1026, -1026, 135, -1026, -1026, -1026, -1026, + -1026, -1026, -1026, -1026, 135, -1026, -1026, -1026, -1026, -1026, + 712, 83, -1026, -1026, 206, 193, 206, 198, -1026, 259, + -1026, 4379, -1026, -1026, -1026, -1026, -1026, 3452, 3452, 287, + 294, 317, -1026, 423, -1026, -1026, -1026, 3452, -1026, -1026, + 2381, 3115, 333, 343, 380, -1026, -1026, 392, 3452, 366, + 369, -1026, 3519, 3586, -1026, 5050, 744, 374, 2021, 3452, + -1026, -1026, -1026, -1026, 558, -1026, 423, 423, 423, 386, + 423, 423, -1026, -1026, -1026, -1026, 396, 405, 4770, 4815, + 4789, 4834, 988, 828, 991, 1047, -1026, 413, 315, 504, + 349, 506, -1026, 83, 83, 135, -1026, 135, -1026, 442, + 135, 228, 1308, 135, -1026, -1026, 307, 135, -1026, 421, + -1026, 3742, 308, 458, 486, 1904, 488, 474, 3869, -1026, + 491, -1026, 227, -1026, -1026, -1026, -1026, -1026, -1026, -1026, + -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, + -1026, -1026, -1026, -1026, -1026, -1026, -1026, 642, 4802, -1026, + -1026, -1026, -1026, 3786, 532, -1026, -1026, -1026, -1026, 3452, + 3452, 4802, -1026, -1026, 508, -1026, 518, 524, -1026, -1026, + 4415, 4460, 4802, 423, -1026, -1026, 531, 3452, 2381, -1026, + 2381, -1026, 3452, 3452, 576, -1026, -1026, 3452, 3452, 3452, + 3452, 3452, 3452, 3452, 3452, 3452, 3452, 3452, 3452, -1026, + -1026, 423, 3452, 3452, 423, 615, 544, -1026, 600, 556, + -1026, -1026, -1026, -1026, 38, -1026, 594, -1026, -1026, 187, + 565, -1026, 602, 592, 604, -1026, 602, -1026, -1026, 188, + -1026, 458, 245, 83, -1026, 676, -1026, -1026, 307, 688, + 3184, 628, -1026, -1026, 2569, 68, -1026, -1026, 670, 712, + 712, -1026, 135, -1026, 1308, 135, 135, -1026, -1026, -1026, + 1308, 641, 135, -1026, -1026, 4770, 4815, 4789, 4834, 988, + 828, 991, 1047, -1026, 354, 634, 4309, 206, 135, 206, + -1026, 681, 640, -1026, 227, 4802, -1026, 647, 653, 731, + -1026, 532, -1026, 861, 4909, 4935, 656, -1026, -1026, 3251, + 3452, 699, 657, 4415, -1026, -1026, 702, 672, 4460, -1026, + 690, 701, -1026, 5050, 707, 710, 5050, 5050, 3452, 725, + 3452, 3452, 1587, 1943, 1896, 1322, 1273, 1089, 1089, 134, + 134, -1026, -1026, -1026, -1026, 713, 369, 695, -1026, -1026, + -1026, 423, 2111, 600, -1026, -1026, 716, 558, 3653, 691, + 187, -1026, 724, 3960, -1026, -1026, 339, 1111, 745, 307, + 135, -1026, -1026, -1026, -1026, 465, -1026, -1026, -1026, 88, + 736, 1622, 3452, 3452, 3318, -1026, 730, -1026, -1026, -1026, + -1026, 4667, -1026, 308, 329, 712, -1026, 780, -1026, -1026, + 743, -1026, -1026, -1026, -1026, -1026, 742, -1026, 746, 3452, + 423, 747, 640, 754, 4496, 1578, -1026, -1026, 4524, 4802, + -1026, 4802, 3452, 4802, -1026, -1026, 369, -1026, 3452, -1026, + 699, -1026, -1026, -1026, 702, -1026, -1026, -1026, 741, 741, + 797, 3452, 1799, 1673, -1026, -1026, -1026, 509, 628, -1026, + -1026, 61, 76, 87, 111, 845, -1026, 763, -1026, -1026, + -1026, -1026, -1026, -1026, 230, 773, -1026, 602, -1026, 467, + -1026, -1026, 83, -1026, -1026, -1026, 444, -1026, -1026, -1026, + -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, 785, -1026, + 188, 188, -1026, 135, -1026, -1026, 787, -1026, -1026, 4542, + 4679, 1003, 1265, 4554, 4699, 1433, 1448, -1026, -1026, -1026, + 789, 514, -1026, -1026, 319, 783, 790, -1026, -1026, -1026, + -1026, 799, 804, 2628, -1026, -1026, 863, -1026, -1026, -1026, + -1026, 805, -1026, -1026, 807, -1026, -1026, 135, 135, 5050, + -1026, 135, 821, 423, -1026, 3786, 4542, 4679, 4584, 4732, + 1003, 1265, 1452, 1487, 4554, 4699, 4635, 4758, 1433, 1448, + 1666, 1677, 826, 831, -1026, -1026, 4648, 2511, 74, -1026, + 830, 833, 838, 4955, 839, 1748, -1026, -1026, 2436, -1026, + 423, -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, + -1026, -1026, -1026, -1026, -1026, 2787, -1026, 3452, -1026, -1026, + 855, 602, -1026, 712, 83, 4379, 4025, -1026, 680, 3834, + 365, 365, -1026, -1026, -1026, 847, 4054, -1026, -1026, -1026, + -1026, 583, 267, -1026, -1026, 1534, -1026, 930, -1026, -1026, + 74, -1026, 712, -1026, 83, -1026, -1026, 5050, -1026, -1026, + 2628, -1026, 135, 426, 135, 420, -1026, -1026, -1026, 135, + -1026, -1026, -1026, 583, -1026, -1026, -1026, 844, -1026, -1026, + 853, -1026, 423, -1026, 3452, -1026, -1026, 894, 423, 3115, + -1026, 897, 5050, 862, 858, -1026, -1026, 265, 2559, 3452, + -1026, 2951, -1026, 902, 3452, 903, 867, 868, 3385, 515, + 947, 81, 199, -1026, -1026, 875, -1026, -1026, -1026, 876, + 1088, -1026, -1026, -1026, 2877, 352, 822, -1026, 898, 602, + -1026, -1026, -1026, 3452, 922, 883, -1026, 883, -1026, -1026, + -1026, 307, 135, -1026, 135, 501, 517, 171, -1026, -1026, + 135, 307, 135, 171, -1026, 135, -1026, -1026, -1026, -1026, + -1026, -1026, 567, 574, 1748, 74, -1026, 74, -1026, 3452, + 102, -1026, 3452, 176, -1026, 135, 171, -1026, 581, -1026, + -1026, -1026, -1026, 4977, -1026, 4298, 1748, -1026, -1026, 2471, + -1026, 2697, 3452, -1026, -1026, 2436, 4873, -1026, -1026, -1026, + -1026, 889, 3452, 890, -1026, 909, -1026, -1026, 712, 83, + -1026, -1026, -1026, -1026, -1026, 913, 964, 2201, 78, -1026, + -1026, -1026, -1026, -1026, 911, 89, 5050, 3452, 135, 583, + 292, -1026, 135, -1026, 135, -1026, -1026, 135, 267, 267, + -1026, -1026, 583, 267, -1026, -1026, 904, -1026, -1026, -1026, + -1026, 5014, 3452, -1026, -1026, 5014, 3452, -1026, -1026, -1026, + -1026, 583, -1026, 3452, -1026, 907, 2697, -1026, -1026, 4298, + 3452, -1026, -1026, 915, -1026, 3452, 967, 582, -1026, 591, + 596, -1026, 734, 948, 953, -1026, 954, 3452, 2291, -1026, + -1026, -1026, -1026, 3452, -1026, 602, -1026, -1026, -1026, -1026, + 5050, 365, 501, 517, 347, -1026, -1026, 4054, 135, 171, + -1026, 171, -1026, -1026, 426, -1026, 5014, -1026, 5014, -1026, + 4891, -1026, -1026, 5032, -1026, 84, 135, -1026, 1308, -1026, + 1308, 3452, 3452, 1005, 2877, 941, -1026, -1026, -1026, -1026, + -1026, 944, 957, -1026, -1026, -1026, -1026, -1026, -1026, -1026, + -1026, -1026, -1026, 93, 946, -1026, -1026, -1026, 949, 972, + -1026, -1026, -1026, -1026, 950, -1026, -1026, -1026, -1026, 973, + -1026, 965, 423, 129, 968, -1026, -1026, -1026, -1026, -1026, + -1026, 3452, -1026, -1026, -1026, 3452, 977, 93, 974, 93, + -1026, -1026, -1026, 984, -1026, 989, 1062, 179, -1026, -1026, + 844, 844, -1026, -1026, -1026, 1007, 1065, 992, -1026, -1026, + 3452, 3452, -1026, 372, -1026, 994, 998, 1000, 1076, -1026, + -1026, -1026, -1026, -1026, -1026 +}; + +/* YYPGOTO[NTERM-NUM]. */ +static const short yypgoto[] = +{ + -1026, -1026, -1026, -1026, -1026, 108, -1026, -487, -1026, -1026, + -1026, -1026, -1026, -1026, -1026, -19, -1026, 95, 571, -351, + 312, -1026, -1026, -1026, -158, 935, -1026, -1026, -1026, -1026, + -1026, -1026, -1026, -1026, -410, -1026, 675, -1026, -1026, -128, + 345, -414, -770, 29, 49, 82, 103, 90, 121, 160, + 166, -437, 186, -540, -499, 192, 212, -486, -478, -445, + -384, 540, 541, -498, -230, -1026, -682, -238, 815, 1167, + 1180, 1300, -1026, -728, -176, -275, 539, -1026, 692, -1026, + 477, 14, 122, -1026, 580, -1026, 1001, 298, -1026, -803, + -1026, 172, -1026, -794, -1026, -1026, 263, -1026, -1026, -1026, + -1026, -1026, -1026, -156, 278, -725, 136, -262, 357, -1026, + -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, 542, + -119, -1026, 667, -1026, -1026, 208, 209, 673, 559, -66, + -1026, -1026, -690, -397, -278, -628, -1026, 101, -1026, -1026, + -1026, -1026, -1026, -1026, -383, -1026, -1026, -681, 55, -1026, + -1026, 621, -718, -1026, 316, -1026, -1026, -707, -1026, -1026, + -1026, -1026, -1026, 569, -251, 72, -975, -413, -403, -1026, + -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, + -1026, -1026, -1025, 8, -1026, 12, -1026, 500, -1026, -753, + -1026, -1026, 577, 579, -1026, -1026, 490, -415, -1026, -1026, + -1026, -1026, 13, -1026, 290, -1026, -1026, -1026, -1026, -1026, + -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, -1026, -26, + -12, -484, -1026, 511, -1026, 388, 119, -455, -1026, -1026, + -1026, -1026, -366, -1026, -1026, -1026, -1026, 525, -1026, -1026, + 398, -1026, -1026, -1026, 445, -1026, 175, 468, -1026, 598, + 605, -298, -1026, -311, -1026, -1026, 597, 711, -1026, -1026, + -1026, -1026, 708, -1026, -1026, -1026 +}; + +/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If + positive, shift that token. If negative, reduce the rule which + number is the opposite. If zero, do what YYDEFACT says. + If YYTABLE_NINF, syntax error. */ +#define YYTABLE_NINF -655 +static const short yytable[] = +{ + 90, 98, 532, 92, 93, 284, 425, 96, 555, 90, + 100, 558, 462, 95, 556, 95, 69, 61, 69, 61, + 559, 506, 774, 879, 281, 461, 81, 82, 83, 646, + 528, 549, 37, 410, 37, 716, 631, 629, 419, 327, + 328, 409, 471, 476, 934, 185, 187, 189, 861, 333, + 1073, 111, 38, 120, 38, 129, 884, 138, 444, 147, + 345, 156, -458, 165, 902, 174, 239, 290, 635, -117, + 243, 380, 901, 859, 860, 817, 717, -459, 633, 1032, + 95, 246, 69, 61, 95, 39, 102, 39, -460, 720, + 1037, 888, 894, 41, 960, 41, 1133, 721, 37, 619, + 240, 986, 1106, 1111, 663, 19, 40, -2, 40, 620, + 920, 235, -461, 78, 663, 61, 269, 61, 38, 586, + 241, 533, 516, 1005, 42, 1155, 42, 517, -36, 616, + 722, 1093, 258, 17, 861, 19, -581, 1008, 714, 634, + -581, 663, 103, 242, 337, 1033, 236, -438, 1134, 992, + 104, 39, 259, 4, 768, 270, 271, 1142, -117, 41, + 860, 1112, -439, 43, 818, 43, 17, 506, 1094, 44, + 542, 44, 40, -440, 1038, 590, 1127, 190, -3, 219, + 594, 635, 859, 183, 332, 260, 716, 987, 1164, 988, + 42, 723, 724, 366, 367, 368, 247, -441, 742, 745, + 748, 751, 17, 183, 183, 183, 261, 17, 743, 746, + 749, 752, 1062, 1128, 84, 383, 444, 388, 389, 390, + 1017, 393, 394, 996, 61, 85, 1146, 717, 450, 43, + 86, 87, 753, 183, 408, 44, 11, 586, 270, 271, + 720, 19, 183, 270, 271, 716, -35, 529, 721, 86, + 87, 183, 457, 19, 775, 530, 271, 1048, 101, 17, + 183, 760, 111, 1147, 120, 466, 129, 182, 138, 183, + 102, 646, 111, 451, 120, 866, 480, 234, 183, 871, + 286, 722, 484, 289, 485, 61, 717, 183, 291, 714, + 61, 650, 1050, 1052, 1085, 102, 183, 647, 456, 720, + 258, 446, 61, 88, 1102, 258, 339, 721, 89, 931, + 857, 585, 270, 271, 756, 11, 97, 435, 99, 757, + 259, 633, 88, 108, 481, 259, 891, 89, 566, 537, + 568, 828, 61, 932, 892, 271, 184, 436, 17, 663, + 897, 774, 723, 244, 816, 61, 17, 236, 714, 293, + 774, 881, 504, 260, 329, 508, 61, 117, 260, 882, + 271, 330, 61, 519, 61, 86, 87, 755, 102, 275, + 437, 858, 773, 533, 261, 426, 271, 95, 439, 261, + 17, 245, 634, 427, 331, 236, 333, 183, 908, 573, + 911, 438, 859, 107, 462, 868, 426, 271, 180, 181, + 341, 898, 344, 786, 86, 87, 865, 461, 787, 440, + 342, 425, 873, 684, 974, 271, 639, 640, 641, 857, + 79, 80, 61, 102, 276, 642, 86, 87, 790, 102, + 275, 1084, 277, 1148, 1149, 451, 961, 258, 88, -397, + -397, 347, 803, 89, 580, 805, 278, 343, 441, 111, + 346, 120, 186, 129, 442, 138, 1157, 259, 347, 446, + 61, 1158, 8, 9, 10, 126, 375, 912, 507, 61, + 12, 13, 14, 909, 266, 435, 391, 88, 267, 103, + 858, 397, 89, 741, 744, 276, 750, 104, 17, 398, + 260, 188, 606, 277, 628, 436, 841, 400, 383, 88, + 536, 20, 21, 964, 89, 546, 421, 278, 95, 405, + 422, 261, 113, 731, 122, 732, -635, 734, 86, 87, + 237, 8, 9, 10, 135, 270, 271, 19, 437, 12, + 13, 14, 653, 271, 349, 351, 439, 61, 285, 647, + 238, 61, -257, 61, 639, 640, 641, 17, 905, 438, + 907, 451, 37, 762, 1041, 431, 435, 1045, 258, 1046, + 432, 86, 87, 8, 9, 381, 382, 440, 972, 271, + 659, 428, 38, 775, 942, 267, 436, 448, 259, 463, + 659, 264, 775, 600, 974, 271, 102, 880, 284, 61, + 660, 88, 467, 61, 739, 61, 89, 61, 740, 784, + 660, -259, 468, 785, 706, 39, 441, 659, 469, 437, + 663, 260, 442, 41, 874, 874, 482, 439, 903, 269, + 401, 402, -287, -85, 707, 509, 40, 660, 510, 857, + 438, 661, 261, 511, 88, -287, 654, 675, 676, 89, + 515, 661, 881, 969, 42, 86, 87, 910, 440, 520, + 882, 271, 984, 978, 427, 427, 422, 708, 1096, 985, + 1097, 518, 662, 267, 883, 710, 1000, 1067, 661, 1082, + 1001, 422, 662, 111, -633, 129, -287, 147, 709, 165, + -287, 1069, 524, 43, 810, 267, 540, 441, 525, 44, + 858, 773, 533, 442, 543, 1016, 711, 553, 554, 662, + 773, 533, 8, 9, 10, 131, 380, 1043, 1044, 455, + 12, 13, 14, 547, 552, 102, 275, 560, 88, 564, + 111, 840, 120, 89, 129, 569, 138, 664, 147, 570, + 156, 574, 165, 665, 174, 712, 854, 664, 575, 1054, + 61, 713, 577, 665, 425, 583, 588, 406, 589, 592, + 418, 536, 536, 666, 420, 706, 593, 639, 640, 641, + 539, 715, 269, 666, 664, -287, 872, 718, 864, 61, + 665, 276, 601, 1020, 596, 707, 401, 402, -287, 277, + 61, 626, -258, 61, 37, 597, 605, 719, 562, 563, + 666, 598, 1019, 278, 599, 37, 630, 604, 435, 61, + 622, 270, 271, 922, 38, 659, 369, 370, 708, 924, + 371, 372, 373, 374, 706, 38, 710, 649, 436, -287, + 655, 678, 854, -287, 688, 660, 98, 690, 697, 709, + 943, 584, 698, 701, 707, 10, 131, 39, 703, 95, + 95, 12, 13, 14, 737, 41, 411, 711, 39, 754, + 855, 437, 109, 114, 118, 123, 41, 758, 40, 439, + 145, 150, 154, 159, 86, 87, 661, 708, 632, 40, + 772, 779, 438, 783, 788, 710, 42, 864, 61, 1140, + 1141, 789, 536, 536, 791, 874, 712, 42, 709, 793, + 440, 269, 713, 37, 802, 61, 804, 662, 910, 639, + 640, 641, 557, 406, 977, 61, 711, 809, 962, 561, + 258, 812, 715, 38, 536, 43, 814, 822, 718, 785, + 258, 44, 823, 825, 339, 567, 43, 867, 579, 441, + 259, 878, 44, 900, 818, 442, 855, 88, 719, 377, + 259, -33, 89, 941, 927, 712, 39, 929, 928, -34, + 937, 713, 938, 939, 41, 944, 8, 9, 10, 162, + 947, 950, 664, 260, 12, 13, 14, 40, 665, 967, + 963, 715, 968, 260, 1012, 1014, 1015, 718, 763, 764, + 1027, 1028, 17, 1036, 261, 42, 973, 975, 666, 539, + 1053, 770, 771, 1061, 261, 10, 126, 719, 10, 135, + 1064, 12, 13, 14, 12, 13, 14, 651, 8, 9, + 10, 126, 780, 780, 1066, 1071, 12, 13, 14, 17, + 1072, 1074, 17, 1100, 43, 1105, 792, 794, 1109, 1110, + 44, 1116, 1125, 1119, 17, 1122, -265, 1013, 112, 116, + 121, 125, 130, 134, 139, 143, 148, 152, 157, 161, + 166, 170, 175, 179, 10, 140, 1120, 1129, 1124, 1138, + 12, 13, 14, 109, 114, 118, 123, 813, 1136, 1143, + 536, 536, 1145, 1144, 1151, 1152, 659, 1154, 1159, 536, + 536, 618, 1160, 536, 536, 1161, 1162, 864, 61, 625, + 550, 681, 682, 1126, 685, 538, 660, 623, 906, 183, + 933, 1007, 536, 37, 951, 1042, 952, 953, 954, 955, + 1065, 632, 644, 565, 702, 7, 989, 679, 10, 11, + 994, 539, 1075, 38, 12, 13, 14, 572, 1081, 700, + 777, 693, 696, 1107, 621, 1137, 921, 661, 887, 893, + 16, 1139, 17, 973, 975, 975, 364, 365, 366, 367, + 368, 539, 1108, 778, 769, 729, 39, 730, 782, 877, + 1083, 767, 913, 870, 41, 19, 1098, 1099, 662, 1101, + 916, 815, 704, 811, 806, 807, 1059, 40, 808, 705, + 618, 618, 747, 618, 591, 736, 595, 25, -611, -611, + -611, 0, 27, 0, 0, 42, 645, -611, 0, 0, + 0, 0, 948, 949, 110, 115, 119, 124, 0, 0, + 0, 0, 146, 151, 155, 160, 1101, 0, 0, 0, + 1135, 127, 132, 136, 141, 0, 0, 0, 0, 163, + 168, 172, 177, 664, 43, 387, 0, 0, 0, 665, + 44, 0, 982, 983, 0, 1101, 1156, 0, 0, 0, + 109, 114, 118, 123, 0, 0, 799, 0, 801, 666, + 0, 0, 0, 0, 464, 465, 8, 9, 10, 140, + 8, 9, 10, 131, 12, 13, 14, 0, 12, 13, + 14, 0, 483, 0, 0, 0, 914, 486, 487, 0, + 0, 0, 492, 493, 494, 495, 496, 497, 498, 499, + 500, 501, 502, 503, 0, 0, 1022, 0, 0, 411, + 0, 0, -487, -487, -487, -487, -487, 0, 0, 0, + 0, -487, -487, -487, 0, 0, 401, 402, 362, 363, + 364, 365, 366, 367, 368, 401, 402, -487, 0, 1049, + 1051, 128, 133, 137, 142, 0, -260, 0, 0, 164, + 169, 173, 178, 0, 0, 0, 0, 0, 916, 970, + 0, 971, -487, 0, 976, 8, 9, 10, 171, 979, + 980, 0, 981, 12, 13, 14, 361, 362, 363, 364, + 365, 366, 367, 368, -487, 0, 0, 993, 0, -487, + 997, 17, 998, 999, 0, 0, 0, 0, -116, 0, + 0, 8, 9, 10, 167, 0, 0, 0, 0, 12, + 13, 14, 0, 0, 0, 110, 115, 119, 124, 8, + 9, 10, 176, 946, 0, 602, 603, 12, 13, 14, + 0, 0, 127, 132, 136, 141, 0, 0, 8, 9, + 10, 162, 0, 0, 0, -267, 12, 13, 14, 406, + 0, 406, 0, 8, 9, 10, 167, 8, 9, 10, + 135, 12, 13, 14, 17, 12, 13, 14, 1055, 0, + 0, 0, 1057, 0, 109, 114, 0, 990, 145, 150, + 696, -266, 0, 17, 268, 0, 0, -29, -29, -29, + -29, -29, 8, 9, 10, 140, -29, -29, -29, -268, + 12, 13, 14, 0, 699, 0, 0, 0, 0, 0, + 0, 269, -29, 0, -287, 0, 0, 733, 387, 0, + 0, 109, 114, 118, 123, 1086, 1087, -287, 1088, 145, + 150, 154, 159, 1089, 0, 1090, 738, -29, 7, 8, + 9, 10, 11, 1095, 0, 896, 0, 12, 13, 14, + 270, 271, 128, 133, 137, 142, 0, 0, 0, -29, + 0, 0, 0, 16, -29, 17, 0, 0, -287, 0, + 0, 0, -287, -29, 0, 0, 0, 0, 0, 411, + 0, 0, 7, 8, 9, 10, 11, 0, 19, 0, + 0, 12, 13, 14, 0, 0, 0, 0, 0, 747, + 0, 0, 110, 115, 119, 124, 0, 16, 0, 17, + 25, 0, 0, 0, 0, 27, 0, 0, 797, 127, + 132, 136, 141, 656, 0, 657, 7, 8, 9, 10, + 11, 0, 19, 658, 0, 12, 13, 14, 358, 359, + 360, 361, 362, 363, 364, 365, 366, 367, 368, 747, + 0, 16, 0, 0, 25, 0, 0, 0, 0, 27, + 112, 116, 130, 134, 148, 152, 166, 170, -652, 0, + 832, 8, 9, 10, 171, 0, 19, 0, 0, 12, + 13, 14, 8, 9, 10, 176, 1130, 1131, 0, 0, + 12, 13, 14, 0, 0, 0, 0, 17, 25, 0, + 0, 0, 0, 27, 0, 0, -549, 112, 116, 121, + 125, 130, 134, 139, 143, 148, 152, 157, 161, 166, + 170, 175, 179, 357, 358, 359, 360, 361, 362, 363, + 364, 365, 366, 367, 368, 797, 0, 0, 0, 128, + 133, 137, 142, 0, 0, 0, 0, 0, 0, 826, + 0, 827, 87, 0, 0, 0, 0, 193, 194, 923, + 195, 0, 0, 0, 925, 0, 0, 0, 0, 0, + 0, 0, 0, 832, 935, 0, 0, 0, 196, 936, + 18, 0, 197, 198, 199, 200, 201, 0, 0, 0, + 0, 202, 0, 0, 0, 0, 0, 203, 0, 0, + 204, 0, 0, 0, 0, 205, 206, 207, 966, 0, + 208, 209, 0, 0, 828, 210, 829, 0, 0, 0, + 0, 212, 0, 213, 88, 0, 110, 115, 214, 89, + 146, 151, 0, 0, -317, 215, 216, 0, 830, 832, + 217, 127, 132, 0, 991, 163, 168, 995, 356, 357, + 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, + 368, 832, 0, 0, 832, 0, 832, 1009, 0, 0, + 0, 0, 0, 110, 115, 119, 124, 0, 0, 0, + 0, 146, 151, 155, 160, 0, 0, 0, 0, 0, + 127, 132, 136, 141, 0, 0, 0, 0, 163, 168, + 172, 177, 1040, 0, 0, 429, 0, 0, -25, -25, + -25, -25, -25, 0, 0, 0, 0, -25, -25, -25, + 0, 0, 0, 0, 0, 0, 0, 1056, 0, 0, + 0, 1058, 269, -25, 0, -287, 0, 0, 1060, 0, + 0, 832, 0, 0, 0, 1063, 0, 0, -287, 360, + 361, 362, 363, 364, 365, 366, 367, 368, -25, 0, + 0, 128, 133, 0, 0, 164, 169, 0, 0, 0, + 0, 270, 271, 0, 0, 0, 0, 0, 0, 0, + -25, 0, 0, 0, 0, -25, 0, 0, 0, -287, + 0, 0, 0, -287, -25, 359, 360, 361, 362, 363, + 364, 365, 366, 367, 368, 0, 0, 0, 0, 0, + 128, 133, 137, 142, 0, 0, 0, 0, 164, 169, + 173, 178, 376, 0, -463, -463, -463, -463, -463, -463, + -463, -463, 0, -463, -463, -463, -463, -463, 0, -463, + -463, -463, -463, -463, -463, -463, -463, -463, -463, -463, + -463, -463, -463, -463, -463, -463, -463, -463, -463, -463, + 0, 0, 0, 0, -463, 0, 0, 0, 0, 0, + -463, 0, 0, -463, 0, -463, 0, 0, -463, -463, + -463, 0, 0, -463, -463, 0, 0, 0, -463, -463, + 0, 0, 0, 0, -463, 0, -463, -463, 0, 0, + 0, -463, -463, 0, 0, 0, -463, 377, -463, -463, + 0, -463, 608, -463, -487, -487, -487, -487, -487, -487, + -487, -487, 0, -487, -487, -487, -487, -487, 0, -487, + -487, -487, -487, -487, -487, -487, -487, -487, -487, -487, + -487, -487, -487, -487, 0, -487, -487, -487, -487, -487, + 0, 0, 0, 0, -487, 0, 0, 0, 0, 0, + -487, 0, 0, -487, 0, -487, 0, 0, -487, -487, + -487, 0, 0, -487, -487, 0, 0, 0, -487, -487, + 0, 0, 0, 0, -487, 0, -487, -487, 0, 0, + 0, -487, -487, 0, 0, 0, -487, 0, -487, -487, + 0, -487, 1029, -487, -465, -465, 0, 0, 0, 0, + -465, -465, 0, -465, 0, 0, 0, -465, 0, -465, + -465, -465, -465, -465, -465, -465, -465, -465, -465, -465, + 0, -465, 0, -465, 0, -465, -465, -465, -465, -465, + 0, 0, 0, 0, -465, 0, 0, 0, 0, 0, + -465, 0, 0, -465, 0, 0, 0, 0, -465, -465, + -465, 0, 0, -465, -465, 0, 0, 0, -465, -465, + 0, 0, 0, 0, -465, 0, -465, -465, 0, 0, + 0, -465, -465, 0, 0, 0, -465, 0, -465, -465, + 0, -465, 1076, -465, -494, -494, 0, 0, 0, 0, + -494, -494, 0, -494, 0, 0, 0, -494, 0, -494, + -494, -494, -494, -494, -494, -494, -494, -494, -494, -494, + 0, -494, 0, -494, 0, -494, -494, -494, -494, -494, + 0, 0, 0, 0, -494, 0, 0, 0, 0, 0, + -494, 0, 0, -494, 0, 0, 0, 0, -494, -494, + -494, 0, 0, -494, -494, 0, 0, 0, -494, -494, + 0, 0, 0, 0, -494, 0, -494, -494, 0, 0, + 0, -494, -494, 0, 0, 0, -494, 0, -494, -494, + 0, -494, 334, -494, 192, 7, 0, 0, 10, 11, + 193, 194, 0, 195, 12, 13, 14, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 16, 196, 17, 18, 0, 197, 198, 199, 200, 201, + 0, 0, 0, 0, 202, 0, 0, 0, 0, 0, + 203, 0, 0, 204, 0, 19, 0, 0, 205, 206, + 207, 0, 0, 208, 209, 0, 0, 0, 210, 211, + 0, 0, 0, 0, 212, 0, 213, 25, 0, 0, + 0, 214, 27, 0, 0, 0, 0, 0, 215, 216, + 0, 335, 826, 217, 827, 87, 0, 0, 0, 0, + 193, 194, 354, 195, 355, 356, 357, 358, 359, 360, + 361, 362, 363, 364, 365, 366, 367, 368, 0, 0, + 0, 196, 0, 18, 0, 197, 198, 199, 200, 201, + 0, 0, 411, 0, 202, -654, -654, -654, -654, -654, + 203, 0, 0, 204, -654, -654, -654, 0, 205, 206, + 207, 0, 0, 208, 209, 0, 0, 828, 210, 829, + -654, 0, -654, 0, 212, 0, 213, 88, 0, 0, + 0, 214, 89, 0, 0, 0, 0, -385, 215, 216, + 826, 830, 192, 217, 0, -654, 0, 0, 193, 194, + 411, 195, 0, -119, -119, -119, -119, -119, 0, 0, + 0, 0, -119, -119, -119, 0, 0, -654, 0, 196, + 0, 18, -654, 197, 198, 199, 200, 201, -119, 0, + 0, -654, 202, -330, 0, 0, 0, 0, 203, 0, + 0, 204, 0, 0, 0, 0, 205, 206, 207, 0, + 0, 208, 209, -119, 0, -330, 210, 211, 0, 795, + 0, 192, 212, 0, 213, 0, 0, 193, 194, 214, + 195, 0, 0, 0, 0, -119, 215, 216, 0, 830, + -119, 217, 0, 0, 0, 0, 0, 0, 196, -119, + 18, 0, 197, 198, 199, 200, 201, 0, 0, 0, + 0, 202, 0, 0, 0, 0, 0, 203, 0, 0, + 204, 0, 0, 0, 0, 205, 206, 207, 0, 0, + 208, 209, 0, 0, 0, 210, 211, 0, 826, 0, + 192, 212, 0, 213, 0, 0, 193, 194, 214, 195, + 0, 0, 0, 0, 0, 215, 216, 0, 796, 0, + 217, 0, 0, 0, 0, 0, 0, 196, 0, 18, + 0, 197, 198, 199, 200, 201, 0, 0, 0, 0, + 202, 0, 0, 0, 0, 0, 203, 0, 0, 204, + 0, 0, 0, 0, 205, 206, 207, 0, 0, 208, + 209, 0, 0, 0, 210, 211, 0, 0, 0, 0, + 212, 0, 213, 0, 0, 0, 0, 214, 0, 0, + 0, 0, 0, 0, 215, 216, 0, 830, 0, 217, + 827, 843, 8, 9, 10, 11, 193, 194, 0, 195, + 12, 13, 14, 0, 0, 0, 0, 0, 0, 844, + 845, 846, 847, 848, 849, 850, 16, 196, 17, 18, + 0, 197, 198, 199, 200, 201, 0, 0, 0, 0, + 202, 0, 0, 0, 0, 0, 203, 0, 0, 204, + 0, 19, 0, 0, 205, 206, 207, 0, 0, 208, + 209, 0, 0, 0, 210, 211, 0, 0, 0, 0, + 212, 0, 213, 851, 0, 0, 0, 214, 852, 0, + 0, 0, 853, 0, 215, 216, 0, 818, 0, 217, + 192, 7, 8, 9, 10, 11, 193, 194, 0, 195, + 12, 13, 14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 16, 196, 17, 18, + 0, 197, 198, 199, 200, 201, 0, 0, 0, 0, + 202, 0, 0, 0, 0, 0, 203, 0, 0, 204, + 0, 19, 0, 0, 205, 206, 207, 0, 0, 208, + 209, 0, 0, 0, 210, 211, 0, 0, 0, 0, + 212, 0, 213, 25, 827, 87, 0, 214, 27, 0, + 193, 194, 0, 195, 215, 216, 0, 0, 0, 217, + 0, 0, 0, 844, 845, 846, 847, 848, 849, 850, + 0, 196, 0, 18, 0, 197, 198, 199, 200, 201, + 0, 0, 0, 0, 202, 0, 0, 0, 0, 0, + 203, 0, 0, 204, 0, 0, 0, 0, 205, 206, + 207, 0, 0, 208, 209, 0, 0, 0, 210, 211, + 0, 0, 0, 0, 212, 0, 213, 88, 0, 0, + 0, 214, 89, 0, 0, 0, 853, 0, 215, 216, + 0, 818, 0, 217, 192, 7, 0, 0, 10, 11, + 193, 194, 0, 195, 12, 13, 14, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 16, 196, 17, 18, 0, 197, 198, 199, 200, 201, + 0, 0, 0, 0, 202, 0, 0, 0, 0, 0, + 203, 0, 0, 204, 0, 19, 0, 0, 205, 206, + 207, 0, 0, 208, 209, 0, 0, 0, 210, 211, + 0, 0, 0, 0, 212, 0, 213, 25, 192, 0, + 0, 214, 27, 0, 193, 194, 0, 195, 215, 216, + 0, 0, 0, 217, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 196, 0, 18, 0, 197, + 198, 199, 200, 201, 0, 0, 0, 0, 202, 0, + 0, 0, 0, 0, 203, 0, 0, 204, 0, 0, + 0, 0, 205, 206, 207, 0, 0, 208, 209, 0, + 0, 0, 210, 211, 0, 0, 0, 192, 212, 0, + 213, 338, 0, 193, 194, 214, 195, 0, 0, 0, + 0, 0, 215, 216, 0, 0, 0, 217, 0, 0, + 0, 0, 0, 0, 196, 0, 18, 0, 197, 198, + 199, 200, 201, 0, 0, 0, 0, 202, 0, 0, + 0, 0, 0, 203, 0, 0, 204, 0, 0, 0, + 0, 205, 206, 544, 0, 0, 208, 209, 0, 0, + 0, 210, 211, 0, 192, 0, 0, 212, 0, 213, + 193, 194, 0, 195, 214, 0, 0, 0, 0, 0, + 0, 215, 216, 0, 0, 545, 217, 0, 0, 0, + 0, 196, 0, 18, 0, 197, 198, 199, 200, 201, + 0, 0, 0, 0, 202, 0, 0, 0, 0, 0, + 203, 0, 0, 204, 0, 0, 0, 0, 205, 206, + 207, 0, 0, 208, 209, 0, 0, 0, 210, 211, + 0, 192, 0, 0, 212, 0, 213, 193, 194, 0, + 195, 214, 0, 0, 0, 0, 0, 0, 215, 216, + 0, 584, 0, 217, 0, 0, 0, 0, 196, 0, + 18, 0, 197, 198, 199, 200, 201, 0, 0, 0, + 0, 202, 0, 0, 0, 0, 0, 203, 0, 0, + 204, 0, 0, 0, 0, 205, 206, 207, 0, 0, + 208, 209, 0, 0, 0, 210, 211, 0, 192, 0, + 0, 212, 0, 213, 193, 194, 0, 195, 214, 0, + 0, 0, 0, 0, 0, 215, 216, 0, 0, 677, + 217, 0, 0, 0, 0, 196, 0, 18, 0, 197, + 198, 199, 200, 201, 0, 0, 0, 0, 202, 0, + 0, 0, 0, 0, 203, 0, 0, 204, 0, 0, + 0, 0, 205, 206, 207, 0, 0, 208, 209, 0, + 0, 0, 210, 211, 0, 192, 0, 0, 212, 0, + 213, 193, 194, 0, 195, 214, 0, 0, 0, 0, + 940, 0, 215, 216, 0, 0, 0, 217, 0, 0, + 0, 0, 196, 0, 18, 0, 197, 198, 199, 200, + 201, 0, 0, 0, 0, 202, 0, 0, 0, 0, + 0, 203, 0, 0, 204, 0, 0, 0, 0, 205, + 206, 207, 0, 0, 208, 209, 0, 0, 0, 210, + 211, 0, 192, 0, 0, 212, 0, 213, 193, 194, + 0, 195, 214, 0, 0, 0, 0, 0, 0, 215, + 216, 0, 0, 0, 217, 0, 0, 0, 0, 196, + 0, 18, 0, 197, 198, 199, 200, 201, 0, 0, + 0, 0, 202, 0, 0, 0, 0, 0, 203, 0, + 0, 204, 0, 0, 0, 0, 205, 206, 207, 0, + 0, 208, 209, 0, 0, 0, 348, 211, 0, 192, + 0, 0, 212, 0, 213, 193, 194, 0, 195, 214, + 0, 0, 0, 0, 0, 0, 215, 216, 0, 0, + 0, 217, 0, 0, 0, 0, 196, 0, 18, 0, + 197, 198, 199, 200, 201, 0, 0, 0, 0, 202, + 0, 0, 0, 0, 0, 203, 0, 0, 204, 0, + 0, 0, 0, 205, 206, 207, 0, 0, 208, 209, + 0, 0, 0, 350, 211, 0, 624, 0, 0, 212, + 0, 213, 193, 194, 0, 195, 214, 0, 0, 0, + 0, 0, 0, 215, 216, 0, 0, 0, 217, 0, + 0, 0, 0, 196, 0, 18, 0, 197, 198, 199, + 200, 201, 0, 0, 0, 0, 202, 0, 0, 0, + 0, 0, 203, 0, 0, 204, 0, 0, 0, 0, + 205, 206, 207, 0, 0, 208, 209, 0, 0, 0, + 210, 211, 0, 0, 0, 0, 212, 0, 213, 0, + 0, 0, 0, 214, 0, 0, 0, 0, 0, 0, + 215, 216, 0, 423, 0, 217, -21, -21, -21, -21, + -21, 0, 0, 0, 0, -21, -21, -21, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 269, -21, 0, -287, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, -287, 0, 0, 294, + 295, 0, 0, 296, 297, 0, -21, 0, 298, 299, + 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, + 310, 311, 312, 313, 314, 315, 316, 0, -21, 0, + 0, 0, 0, -21, 0, 0, 0, -287, 0, 0, + 0, -287, -21, 317, 0, 644, 0, 0, 7, 0, + 0, 10, 11, 0, 0, 0, 0, 12, 13, 14, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 319, 16, 0, 17, 0, 320, 0, 0, + 433, 0, 0, 7, 0, 459, 10, 11, 0, 0, + 0, 0, 12, 13, 14, 0, 0, 0, 19, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, + 17, 18, 0, 0, 0, 0, 0, 0, 0, 0, + 25, -610, -610, -610, 0, 27, 0, 0, 0, 645, + -610, 0, 0, 19, 0, 0, 0, 0, 0, 6, + 0, -128, 7, 8, 9, 10, 11, 0, 0, 0, + 0, 12, 13, 14, 0, 25, 0, 0, 0, 0, + 27, 0, 0, 0, 434, -388, 15, 16, 0, 17, + 18, 6, 0, -128, 7, 8, 9, 10, 11, 0, + 0, 0, 0, 12, 13, 14, 0, 0, 0, 0, + 0, 0, 19, 0, 0, 20, 21, -128, 0, 16, + 0, 17, 0, 0, 0, -128, 0, 0, 22, 23, + 24, 0, 0, 0, 25, 0, 0, 0, 26, 27, + 28, 29, 0, 30, 19, 0, 0, 20, 21, -128, + 0, 0, 0, 0, 0, 0, 6, -128, -128, 7, + 8, 9, 10, 11, 0, 0, 25, 0, 12, 13, + 14, 27, 0, 0, 0, 30, 0, 0, 0, 0, + 0, 0, 0, 0, 16, 656, 17, 0, 7, 8, + 9, 10, 11, 0, 0, 658, 0, 12, 13, 14, + 0, 7, 8, 9, 10, 108, 0, 0, 0, 19, + 12, 13, 14, 16, -128, 0, 0, 0, 0, 0, + 0, 0, -128, 0, 0, 0, 16, 0, 17, 0, + 0, 25, 0, 0, 0, 0, 27, 0, 19, 0, + 30, 0, 0, 0, 7, 8, 9, 10, 117, 0, + 0, 19, 0, 12, 13, 14, 0, 0, 0, 0, + 25, 0, 0, 0, 0, 27, 0, 0, -549, 16, + 0, 17, 0, 25, 0, 0, 0, 0, 27, 0, + 0, 0, -253, 0, 0, 0, 7, 8, 9, 10, + 144, 0, 0, 0, 19, 12, 13, 14, 0, 7, + 8, 9, 10, 153, 0, 0, 0, 0, 12, 13, + 14, 16, 0, 17, 0, 0, 25, 0, 0, 0, + 0, 27, 0, 0, 16, -255, 17, 0, 7, 8, + 9, 10, 113, 0, 0, 0, 19, 12, 13, 14, + 0, 7, 8, 9, 10, 122, 0, 0, 0, 19, + 12, 13, 14, 16, 0, 0, 0, 0, 25, 0, + 0, 0, 0, 27, 0, 0, 16, -261, 0, 0, + 0, 25, 0, 0, 0, 0, 27, 0, 19, 0, + -263, 0, 0, 7, 8, 9, 10, 149, 0, 0, + 0, 19, 12, 13, 14, 0, 0, 0, 0, 0, + 25, 0, 0, 0, 0, 27, 0, 0, 16, -254, + 0, 0, 0, 25, 0, 0, 0, 0, 27, 0, + 0, 0, -256, 0, 0, 7, 8, 9, 10, 158, + 0, 0, 0, 19, 12, 13, 14, 0, 0, 1003, + 433, 0, 0, 7, 0, 0, 10, 11, 0, 0, + 16, 0, 12, 13, 14, 25, 0, 0, 0, 0, + 27, 0, 0, 0, -262, 0, 0, 0, 16, 0, + 17, 18, 352, 353, 354, 19, 355, 356, 357, 358, + 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, + 0, 0, 0, 19, 0, 0, 0, 25, 0, 0, + 0, 0, 27, 0, 0, 0, -264, 0, 0, 0, + 0, 0, 294, 295, 0, 25, 296, 297, 0, 1004, + 27, 298, 299, 300, 301, 302, 303, 304, 305, 306, + 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, + 0, 0, 0, 0, 0, 0, 0, 0, 294, 295, + 0, 0, 296, 297, 0, 0, 317, 298, 299, 300, + 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, + 311, 312, 313, 314, 315, 316, 318, 0, 0, 0, + 0, 0, 0, 0, 0, 319, 0, 0, 0, 0, + 320, 0, 470, 294, 295, 0, 0, 296, 297, 0, + 0, 0, 298, 299, 300, 301, 302, 303, 304, 305, + 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, + 316, 319, 0, 0, 0, 0, 320, 0, 0, 294, + 295, 0, 0, 296, 297, 0, 0, 475, 298, 299, + 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, + 310, 311, 312, 313, 314, 315, 316, 0, 7, 8, + 9, 10, 11, 0, 0, 658, 319, 12, 13, 14, + 0, 320, 0, 317, 0, 0, 7, 8, 9, 10, + 108, 0, 0, 16, 0, 12, 13, 14, 7, 8, + 9, 10, 144, 0, 0, 0, 0, 12, 13, 14, + 0, 16, 319, 17, 0, 0, 0, 320, 19, 0, + 0, 0, 0, 16, 0, 17, 0, 0, 7, 8, + 9, 10, 117, 0, 0, 0, 19, 12, 13, 14, + 25, 0, 0, 0, 0, 27, 0, 0, 19, 0, + 0, 0, 0, 16, 0, 17, 0, 0, 25, 0, + 0, 0, 0, 27, 0, 0, 0, 0, 0, 0, + 25, 0, 0, 0, 0, 27, 0, 0, 19, 7, + 8, 9, 10, 153, 0, 0, 0, 0, 12, 13, + 14, 0, 7, 8, 9, 10, 11, 0, 0, 0, + 25, 12, 13, 14, 16, 27, 17, 0, 0, 0, + 0, 7, 8, 9, 10, 11, 0, 16, 0, 17, + 12, 13, 14, 7, 8, 9, 10, 113, 0, 19, + 0, 0, 12, 13, 14, 0, 16, 0, 0, 0, + 0, 0, 19, 7, 8, 9, 10, 149, 16, 0, + 0, 25, 12, 13, 14, 0, 27, 0, 0, 0, + 0, 19, 0, 0, 25, 0, 0, 0, 16, 27, + 0, 0, 0, 19, 0, 0, 7, 8, 9, 10, + 122, 0, 0, 25, 0, 12, 13, 14, 27, 0, + 0, 0, 0, 19, 0, 25, 0, 0, 0, 0, + 27, 16, 7, 8, 9, 10, 158, 0, 0, 0, + 0, 12, 13, 14, 7, 25, 0, 10, 108, 0, + 27, 0, 0, 12, 13, 14, 19, 16, 0, 0, + 0, 0, 0, 7, 0, 0, 10, 117, 0, 16, + 0, 17, 12, 13, 14, 0, 7, 0, 25, 10, + 11, 0, 19, 27, 0, 12, 13, 14, 16, 7, + 17, 0, 10, 113, 19, 0, 0, 0, 12, 13, + 14, 16, 0, 17, 25, 0, 0, 0, 7, 27, + 0, 10, 122, 19, 16, 0, 25, 12, 13, 14, + 0, 27, 0, 0, 0, 0, 19, 0, 0, 0, + 0, 0, 0, 16, 0, 25, 0, 0, 0, 19, + 27, 0, 0, 0, 0, 0, 0, 0, 25, 0, + 0, 0, 0, 27, 1010, 0, 0, 0, 19, 0, + 0, 25, 0, 0, 0, 0, 27, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 25, 0, 0, 0, 0, 27, 0, 352, 353, 354, + 1011, 355, 356, 357, 358, 359, 360, 361, 362, 363, + 364, 365, 366, 367, 368, 352, 353, 354, 0, 355, + 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, + 366, 367, 368, 352, 353, 354, 0, 355, 356, 357, + 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, + 368, 0, 0, 0, 0, 0, 0, 0, 0, 352, + 353, 354, 1091, 355, 356, 357, 358, 359, 360, 361, + 362, 363, 364, 365, 366, 367, 368, 0, 581, 352, + 353, 354, 0, 355, 356, 357, 358, 359, 360, 361, + 362, 363, 364, 365, 366, 367, 368, 0, 0, 0, + 0, 352, 353, 354, 582, 355, 356, 357, 358, 359, + 360, 361, 362, 363, 364, 365, 366, 367, 368, 0, + 0, 0, 0, 0, 824, 17, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 352, 353, + 354, 1002, 355, 356, 357, 358, 359, 360, 361, 362, + 363, 364, 365, 366, 367, 368, 352, 353, 354, 1092, + 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, + 365, 366, 367, 368, 352, 353, 354, 0, 355, 356, + 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, + 367, 368 +}; + +static const short yycheck[] = +{ + 19, 27, 399, 22, 23, 181, 281, 26, 422, 28, + 29, 426, 323, 25, 424, 27, 3, 3, 5, 5, + 430, 372, 650, 776, 180, 323, 12, 13, 14, 527, + 396, 414, 3, 271, 5, 575, 523, 521, 276, 197, + 198, 271, 340, 341, 838, 64, 65, 66, 755, 207, + 1025, 37, 3, 39, 5, 41, 781, 43, 288, 45, + 218, 47, 1, 49, 792, 51, 92, 186, 523, 1, + 96, 229, 790, 755, 755, 1, 575, 1, 523, 1, + 92, 100, 69, 69, 96, 3, 3, 5, 1, 575, + 1, 781, 782, 3, 864, 5, 1121, 575, 69, 512, + 47, 904, 1077, 10, 541, 54, 3, 0, 5, 512, + 817, 54, 1, 5, 551, 101, 28, 103, 69, 470, + 67, 399, 84, 926, 3, 1150, 5, 89, 47, 512, + 575, 47, 103, 31, 841, 54, 85, 931, 575, 523, + 89, 578, 59, 90, 210, 67, 89, 86, 1123, 47, + 67, 69, 103, 0, 638, 67, 68, 1132, 90, 69, + 841, 68, 86, 3, 90, 5, 31, 518, 84, 3, + 408, 5, 69, 86, 85, 473, 47, 69, 0, 84, + 478, 636, 864, 61, 203, 103, 726, 905, 1163, 907, + 69, 575, 575, 59, 60, 61, 101, 86, 611, 612, + 613, 614, 31, 81, 82, 83, 103, 31, 611, 612, + 613, 614, 1006, 84, 67, 234, 446, 236, 237, 238, + 948, 240, 241, 47, 210, 67, 47, 726, 1, 69, + 3, 4, 615, 111, 6, 69, 8, 588, 67, 68, + 726, 54, 120, 67, 68, 785, 47, 59, 726, 3, + 4, 129, 318, 54, 651, 67, 68, 982, 67, 31, + 138, 627, 248, 84, 250, 331, 252, 85, 254, 147, + 3, 769, 258, 292, 260, 759, 342, 67, 156, 766, + 74, 726, 348, 90, 350, 271, 785, 165, 90, 726, + 276, 529, 982, 983, 1047, 3, 174, 527, 317, 785, + 271, 288, 288, 76, 1074, 276, 211, 785, 81, 44, + 755, 469, 67, 68, 84, 8, 26, 288, 28, 89, + 271, 766, 76, 8, 343, 276, 59, 81, 447, 84, + 449, 66, 318, 68, 67, 68, 90, 288, 31, 776, + 785, 969, 726, 85, 727, 331, 31, 89, 785, 90, + 978, 59, 371, 271, 67, 374, 342, 8, 276, 67, + 68, 67, 348, 389, 350, 3, 4, 618, 3, 4, + 288, 755, 650, 651, 271, 67, 68, 389, 288, 276, + 31, 85, 766, 282, 67, 89, 544, 265, 802, 455, + 804, 288, 1074, 36, 705, 761, 67, 68, 53, 54, + 67, 785, 10, 84, 3, 4, 757, 705, 89, 288, + 67, 686, 47, 84, 67, 68, 77, 78, 79, 864, + 85, 86, 408, 3, 59, 86, 3, 4, 679, 3, + 4, 84, 67, 1140, 1141, 454, 84, 408, 76, 85, + 86, 89, 693, 81, 463, 696, 81, 67, 288, 435, + 84, 437, 90, 439, 288, 441, 84, 408, 89, 446, + 446, 89, 5, 6, 7, 8, 92, 47, 373, 455, + 13, 14, 15, 47, 85, 446, 90, 76, 89, 59, + 864, 85, 81, 611, 612, 59, 614, 67, 31, 84, + 408, 90, 511, 67, 520, 446, 747, 84, 517, 76, + 399, 57, 58, 869, 81, 410, 85, 81, 520, 67, + 89, 408, 8, 579, 8, 581, 72, 583, 3, 4, + 47, 5, 6, 7, 8, 67, 68, 54, 446, 13, + 14, 15, 67, 68, 222, 223, 446, 523, 181, 769, + 67, 527, 85, 529, 77, 78, 79, 31, 799, 446, + 801, 570, 523, 86, 968, 67, 527, 972, 529, 974, + 86, 3, 4, 5, 6, 7, 8, 446, 67, 68, + 541, 85, 523, 970, 59, 89, 527, 86, 529, 47, + 551, 104, 979, 488, 67, 68, 3, 4, 764, 575, + 541, 76, 84, 579, 85, 581, 81, 583, 89, 85, + 551, 85, 84, 89, 575, 523, 446, 578, 84, 527, + 1047, 529, 446, 523, 770, 771, 85, 527, 794, 28, + 263, 264, 31, 47, 575, 10, 523, 578, 84, 1074, + 527, 541, 529, 33, 76, 44, 535, 542, 543, 81, + 84, 551, 59, 881, 523, 3, 4, 803, 527, 84, + 67, 68, 85, 891, 553, 554, 89, 575, 1068, 85, + 1070, 67, 541, 89, 81, 575, 85, 85, 578, 1035, + 89, 89, 551, 659, 72, 661, 85, 663, 575, 665, + 89, 85, 90, 523, 703, 89, 10, 527, 84, 523, + 1074, 969, 970, 527, 6, 946, 575, 419, 420, 578, + 978, 979, 5, 6, 7, 8, 864, 969, 970, 67, + 13, 14, 15, 85, 44, 3, 4, 76, 76, 85, + 706, 740, 708, 81, 710, 44, 712, 541, 714, 89, + 716, 84, 718, 541, 720, 575, 755, 551, 85, 990, + 726, 575, 11, 551, 1019, 89, 47, 270, 91, 47, + 273, 650, 651, 541, 277, 726, 84, 77, 78, 79, + 403, 575, 28, 551, 578, 31, 86, 575, 755, 755, + 578, 59, 47, 949, 84, 726, 419, 420, 44, 67, + 766, 90, 85, 769, 755, 84, 91, 575, 443, 444, + 578, 84, 948, 81, 84, 766, 72, 84, 769, 785, + 84, 67, 68, 822, 755, 776, 62, 63, 726, 828, + 66, 67, 68, 69, 785, 766, 726, 72, 769, 85, + 84, 91, 841, 89, 44, 776, 852, 84, 86, 726, + 849, 90, 86, 86, 785, 7, 8, 755, 84, 851, + 852, 13, 14, 15, 47, 755, 1, 726, 766, 86, + 755, 769, 37, 38, 39, 40, 766, 84, 755, 769, + 45, 46, 47, 48, 3, 4, 776, 785, 523, 766, + 85, 84, 769, 84, 91, 785, 755, 864, 864, 1130, + 1131, 91, 781, 782, 85, 1041, 726, 766, 785, 85, + 769, 28, 726, 864, 89, 881, 89, 776, 1054, 77, + 78, 79, 425, 426, 890, 891, 785, 86, 86, 432, + 881, 85, 726, 864, 813, 755, 85, 84, 726, 89, + 891, 755, 84, 84, 829, 448, 766, 72, 67, 769, + 881, 84, 766, 3, 90, 769, 841, 76, 726, 86, + 891, 47, 81, 848, 47, 785, 864, 89, 86, 47, + 47, 785, 85, 85, 864, 8, 5, 6, 7, 8, + 85, 85, 776, 881, 13, 14, 15, 864, 776, 47, + 72, 785, 89, 891, 85, 85, 67, 785, 633, 634, + 67, 17, 31, 72, 881, 864, 885, 886, 776, 632, + 86, 646, 647, 86, 891, 7, 8, 785, 7, 8, + 85, 13, 14, 15, 13, 14, 15, 530, 5, 6, + 7, 8, 667, 668, 47, 67, 13, 14, 15, 31, + 67, 67, 31, 18, 864, 84, 681, 682, 84, 72, + 864, 85, 67, 84, 31, 85, 85, 942, 37, 38, + 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, + 49, 50, 51, 52, 7, 8, 84, 89, 85, 85, + 13, 14, 15, 248, 249, 250, 251, 722, 91, 85, + 969, 970, 10, 84, 67, 10, 1047, 85, 84, 978, + 979, 512, 84, 982, 983, 85, 10, 1074, 1074, 518, + 415, 551, 551, 1112, 555, 403, 1047, 517, 800, 977, + 837, 929, 1001, 1074, 16, 969, 18, 19, 20, 21, + 1015, 766, 1, 446, 572, 4, 908, 548, 7, 8, + 911, 764, 1027, 1074, 13, 14, 15, 454, 1033, 570, + 653, 562, 563, 1078, 513, 1127, 820, 1047, 781, 782, + 29, 1129, 31, 1042, 1043, 1044, 57, 58, 59, 60, + 61, 794, 1080, 653, 643, 578, 1074, 578, 668, 771, + 1041, 636, 805, 765, 1074, 54, 1071, 1072, 1047, 1074, + 813, 726, 574, 705, 697, 698, 1001, 1074, 701, 574, + 611, 612, 613, 614, 473, 588, 478, 76, 77, 78, + 79, -1, 81, -1, -1, 1074, 85, 86, -1, -1, + -1, -1, 857, 858, 37, 38, 39, 40, -1, -1, + -1, -1, 45, 46, 47, 48, 1121, -1, -1, -1, + 1125, 41, 42, 43, 44, -1, -1, -1, -1, 49, + 50, 51, 52, 1047, 1074, 234, -1, -1, -1, 1047, + 1074, -1, 897, 898, -1, 1150, 1151, -1, -1, -1, + 435, 436, 437, 438, -1, -1, 687, -1, 689, 1047, + -1, -1, -1, -1, 329, 330, 5, 6, 7, 8, + 5, 6, 7, 8, 13, 14, 15, -1, 13, 14, + 15, -1, 347, -1, -1, -1, 809, 352, 353, -1, + -1, -1, 357, 358, 359, 360, 361, 362, 363, 364, + 365, 366, 367, 368, -1, -1, 949, -1, -1, 1, + -1, -1, 4, 5, 6, 7, 8, -1, -1, -1, + -1, 13, 14, 15, -1, -1, 969, 970, 55, 56, + 57, 58, 59, 60, 61, 978, 979, 29, -1, 982, + 983, 41, 42, 43, 44, -1, 85, -1, -1, 49, + 50, 51, 52, -1, -1, -1, -1, -1, 1001, 882, + -1, 884, 54, -1, 887, 5, 6, 7, 8, 892, + 893, -1, 895, 13, 14, 15, 54, 55, 56, 57, + 58, 59, 60, 61, 76, -1, -1, 910, -1, 81, + 913, 31, 915, 916, -1, -1, -1, -1, 90, -1, + -1, 5, 6, 7, 8, -1, -1, -1, -1, 13, + 14, 15, -1, -1, -1, 248, 249, 250, 251, 5, + 6, 7, 8, 854, -1, 490, 491, 13, 14, 15, + -1, -1, 252, 253, 254, 255, -1, -1, 5, 6, + 7, 8, -1, -1, -1, 85, 13, 14, 15, 972, + -1, 974, -1, 5, 6, 7, 8, 5, 6, 7, + 8, 13, 14, 15, 31, 13, 14, 15, 991, -1, + -1, -1, 995, -1, 659, 660, -1, 908, 663, 664, + 911, 85, -1, 31, 1, -1, -1, 4, 5, 6, + 7, 8, 5, 6, 7, 8, 13, 14, 15, 85, + 13, 14, 15, -1, 569, -1, -1, -1, -1, -1, + -1, 28, 29, -1, 31, -1, -1, 582, 517, -1, + -1, 706, 707, 708, 709, 1048, 1049, 44, 1051, 714, + 715, 716, 717, 1056, -1, 1058, 601, 54, 4, 5, + 6, 7, 8, 1066, -1, 11, -1, 13, 14, 15, + 67, 68, 252, 253, 254, 255, -1, -1, -1, 76, + -1, -1, -1, 29, 81, 31, -1, -1, 85, -1, + -1, -1, 89, 90, -1, -1, -1, -1, -1, 1, + -1, -1, 4, 5, 6, 7, 8, -1, 54, -1, + -1, 13, 14, 15, -1, -1, -1, -1, -1, 1030, + -1, -1, 435, 436, 437, 438, -1, 29, -1, 31, + 76, -1, -1, -1, -1, 81, -1, -1, 683, 439, + 440, 441, 442, 1, -1, 3, 4, 5, 6, 7, + 8, -1, 54, 11, -1, 13, 14, 15, 51, 52, + 53, 54, 55, 56, 57, 58, 59, 60, 61, 1080, + -1, 29, -1, -1, 76, -1, -1, -1, -1, 81, + 659, 660, 661, 662, 663, 664, 665, 666, 90, -1, + 735, 5, 6, 7, 8, -1, 54, -1, -1, 13, + 14, 15, 5, 6, 7, 8, 1117, 1118, -1, -1, + 13, 14, 15, -1, -1, -1, -1, 31, 76, -1, + -1, -1, -1, 81, -1, -1, 84, 706, 707, 708, + 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, + 719, 720, 721, 50, 51, 52, 53, 54, 55, 56, + 57, 58, 59, 60, 61, 800, -1, -1, -1, 439, + 440, 441, 442, -1, -1, -1, -1, -1, -1, 1, + -1, 3, 4, -1, -1, -1, -1, 9, 10, 824, + 12, -1, -1, -1, 829, -1, -1, -1, -1, -1, + -1, -1, -1, 838, 839, -1, -1, -1, 30, 844, + 32, -1, 34, 35, 36, 37, 38, -1, -1, -1, + -1, 43, -1, -1, -1, -1, -1, 49, -1, -1, + 52, -1, -1, -1, -1, 57, 58, 59, 873, -1, + 62, 63, -1, -1, 66, 67, 68, -1, -1, -1, + -1, 73, -1, 75, 76, -1, 659, 660, 80, 81, + 663, 664, -1, -1, 86, 87, 88, -1, 90, 904, + 92, 661, 662, -1, 909, 665, 666, 912, 49, 50, + 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, + 61, 926, -1, -1, 929, -1, 931, 932, -1, -1, + -1, -1, -1, 706, 707, 708, 709, -1, -1, -1, + -1, 714, 715, 716, 717, -1, -1, -1, -1, -1, + 710, 711, 712, 713, -1, -1, -1, -1, 718, 719, + 720, 721, 967, -1, -1, 1, -1, -1, 4, 5, + 6, 7, 8, -1, -1, -1, -1, 13, 14, 15, + -1, -1, -1, -1, -1, -1, -1, 992, -1, -1, + -1, 996, 28, 29, -1, 31, -1, -1, 1003, -1, + -1, 1006, -1, -1, -1, 1010, -1, -1, 44, 53, + 54, 55, 56, 57, 58, 59, 60, 61, 54, -1, + -1, 661, 662, -1, -1, 665, 666, -1, -1, -1, + -1, 67, 68, -1, -1, -1, -1, -1, -1, -1, + 76, -1, -1, -1, -1, 81, -1, -1, -1, 85, + -1, -1, -1, 89, 90, 52, 53, 54, 55, 56, + 57, 58, 59, 60, 61, -1, -1, -1, -1, -1, + 710, 711, 712, 713, -1, -1, -1, -1, 718, 719, + 720, 721, 1, -1, 3, 4, 5, 6, 7, 8, + 9, 10, -1, 12, 13, 14, 15, 16, -1, 18, + 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, + 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, + -1, -1, -1, -1, 43, -1, -1, -1, -1, -1, + 49, -1, -1, 52, -1, 54, -1, -1, 57, 58, + 59, -1, -1, 62, 63, -1, -1, -1, 67, 68, + -1, -1, -1, -1, 73, -1, 75, 76, -1, -1, + -1, 80, 81, -1, -1, -1, 85, 86, 87, 88, + -1, 90, 1, 92, 3, 4, 5, 6, 7, 8, + 9, 10, -1, 12, 13, 14, 15, 16, -1, 18, + 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, + 29, 30, 31, 32, -1, 34, 35, 36, 37, 38, + -1, -1, -1, -1, 43, -1, -1, -1, -1, -1, + 49, -1, -1, 52, -1, 54, -1, -1, 57, 58, + 59, -1, -1, 62, 63, -1, -1, -1, 67, 68, + -1, -1, -1, -1, 73, -1, 75, 76, -1, -1, + -1, 80, 81, -1, -1, -1, 85, -1, 87, 88, + -1, 90, 1, 92, 3, 4, -1, -1, -1, -1, + 9, 10, -1, 12, -1, -1, -1, 16, -1, 18, + 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, + -1, 30, -1, 32, -1, 34, 35, 36, 37, 38, + -1, -1, -1, -1, 43, -1, -1, -1, -1, -1, + 49, -1, -1, 52, -1, -1, -1, -1, 57, 58, + 59, -1, -1, 62, 63, -1, -1, -1, 67, 68, + -1, -1, -1, -1, 73, -1, 75, 76, -1, -1, + -1, 80, 81, -1, -1, -1, 85, -1, 87, 88, + -1, 90, 1, 92, 3, 4, -1, -1, -1, -1, + 9, 10, -1, 12, -1, -1, -1, 16, -1, 18, + 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, + -1, 30, -1, 32, -1, 34, 35, 36, 37, 38, + -1, -1, -1, -1, 43, -1, -1, -1, -1, -1, + 49, -1, -1, 52, -1, -1, -1, -1, 57, 58, + 59, -1, -1, 62, 63, -1, -1, -1, 67, 68, + -1, -1, -1, -1, 73, -1, 75, 76, -1, -1, + -1, 80, 81, -1, -1, -1, 85, -1, 87, 88, + -1, 90, 1, 92, 3, 4, -1, -1, 7, 8, + 9, 10, -1, 12, 13, 14, 15, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 29, 30, 31, 32, -1, 34, 35, 36, 37, 38, + -1, -1, -1, -1, 43, -1, -1, -1, -1, -1, + 49, -1, -1, 52, -1, 54, -1, -1, 57, 58, + 59, -1, -1, 62, 63, -1, -1, -1, 67, 68, + -1, -1, -1, -1, 73, -1, 75, 76, -1, -1, + -1, 80, 81, -1, -1, -1, -1, -1, 87, 88, + -1, 90, 1, 92, 3, 4, -1, -1, -1, -1, + 9, 10, 46, 12, 48, 49, 50, 51, 52, 53, + 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, + -1, 30, -1, 32, -1, 34, 35, 36, 37, 38, + -1, -1, 1, -1, 43, 4, 5, 6, 7, 8, + 49, -1, -1, 52, 13, 14, 15, -1, 57, 58, + 59, -1, -1, 62, 63, -1, -1, 66, 67, 68, + 29, -1, 31, -1, 73, -1, 75, 76, -1, -1, + -1, 80, 81, -1, -1, -1, -1, 86, 87, 88, + 1, 90, 3, 92, -1, 54, -1, -1, 9, 10, + 1, 12, -1, 4, 5, 6, 7, 8, -1, -1, + -1, -1, 13, 14, 15, -1, -1, 76, -1, 30, + -1, 32, 81, 34, 35, 36, 37, 38, 29, -1, + -1, 90, 43, 44, -1, -1, -1, -1, 49, -1, + -1, 52, -1, -1, -1, -1, 57, 58, 59, -1, + -1, 62, 63, 54, -1, 66, 67, 68, -1, 1, + -1, 3, 73, -1, 75, -1, -1, 9, 10, 80, + 12, -1, -1, -1, -1, 76, 87, 88, -1, 90, + 81, 92, -1, -1, -1, -1, -1, -1, 30, 90, + 32, -1, 34, 35, 36, 37, 38, -1, -1, -1, + -1, 43, -1, -1, -1, -1, -1, 49, -1, -1, + 52, -1, -1, -1, -1, 57, 58, 59, -1, -1, + 62, 63, -1, -1, -1, 67, 68, -1, 1, -1, + 3, 73, -1, 75, -1, -1, 9, 10, 80, 12, + -1, -1, -1, -1, -1, 87, 88, -1, 90, -1, + 92, -1, -1, -1, -1, -1, -1, 30, -1, 32, + -1, 34, 35, 36, 37, 38, -1, -1, -1, -1, + 43, -1, -1, -1, -1, -1, 49, -1, -1, 52, + -1, -1, -1, -1, 57, 58, 59, -1, -1, 62, + 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, + 73, -1, 75, -1, -1, -1, -1, 80, -1, -1, + -1, -1, -1, -1, 87, 88, -1, 90, -1, 92, + 3, 4, 5, 6, 7, 8, 9, 10, -1, 12, + 13, 14, 15, -1, -1, -1, -1, -1, -1, 22, + 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, + -1, 34, 35, 36, 37, 38, -1, -1, -1, -1, + 43, -1, -1, -1, -1, -1, 49, -1, -1, 52, + -1, 54, -1, -1, 57, 58, 59, -1, -1, 62, + 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, + 73, -1, 75, 76, -1, -1, -1, 80, 81, -1, + -1, -1, 85, -1, 87, 88, -1, 90, -1, 92, + 3, 4, 5, 6, 7, 8, 9, 10, -1, 12, + 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 29, 30, 31, 32, + -1, 34, 35, 36, 37, 38, -1, -1, -1, -1, + 43, -1, -1, -1, -1, -1, 49, -1, -1, 52, + -1, 54, -1, -1, 57, 58, 59, -1, -1, 62, + 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, + 73, -1, 75, 76, 3, 4, -1, 80, 81, -1, + 9, 10, -1, 12, 87, 88, -1, -1, -1, 92, + -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, + -1, 30, -1, 32, -1, 34, 35, 36, 37, 38, + -1, -1, -1, -1, 43, -1, -1, -1, -1, -1, + 49, -1, -1, 52, -1, -1, -1, -1, 57, 58, + 59, -1, -1, 62, 63, -1, -1, -1, 67, 68, + -1, -1, -1, -1, 73, -1, 75, 76, -1, -1, + -1, 80, 81, -1, -1, -1, 85, -1, 87, 88, + -1, 90, -1, 92, 3, 4, -1, -1, 7, 8, + 9, 10, -1, 12, 13, 14, 15, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 29, 30, 31, 32, -1, 34, 35, 36, 37, 38, + -1, -1, -1, -1, 43, -1, -1, -1, -1, -1, + 49, -1, -1, 52, -1, 54, -1, -1, 57, 58, + 59, -1, -1, 62, 63, -1, -1, -1, 67, 68, + -1, -1, -1, -1, 73, -1, 75, 76, 3, -1, + -1, 80, 81, -1, 9, 10, -1, 12, 87, 88, + -1, -1, -1, 92, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 30, -1, 32, -1, 34, + 35, 36, 37, 38, -1, -1, -1, -1, 43, -1, + -1, -1, -1, -1, 49, -1, -1, 52, -1, -1, + -1, -1, 57, 58, 59, -1, -1, 62, 63, -1, + -1, -1, 67, 68, -1, -1, -1, 3, 73, -1, + 75, 76, -1, 9, 10, 80, 12, -1, -1, -1, + -1, -1, 87, 88, -1, -1, -1, 92, -1, -1, + -1, -1, -1, -1, 30, -1, 32, -1, 34, 35, + 36, 37, 38, -1, -1, -1, -1, 43, -1, -1, + -1, -1, -1, 49, -1, -1, 52, -1, -1, -1, + -1, 57, 58, 59, -1, -1, 62, 63, -1, -1, + -1, 67, 68, -1, 3, -1, -1, 73, -1, 75, + 9, 10, -1, 12, 80, -1, -1, -1, -1, -1, + -1, 87, 88, -1, -1, 91, 92, -1, -1, -1, + -1, 30, -1, 32, -1, 34, 35, 36, 37, 38, + -1, -1, -1, -1, 43, -1, -1, -1, -1, -1, + 49, -1, -1, 52, -1, -1, -1, -1, 57, 58, + 59, -1, -1, 62, 63, -1, -1, -1, 67, 68, + -1, 3, -1, -1, 73, -1, 75, 9, 10, -1, + 12, 80, -1, -1, -1, -1, -1, -1, 87, 88, + -1, 90, -1, 92, -1, -1, -1, -1, 30, -1, + 32, -1, 34, 35, 36, 37, 38, -1, -1, -1, + -1, 43, -1, -1, -1, -1, -1, 49, -1, -1, + 52, -1, -1, -1, -1, 57, 58, 59, -1, -1, + 62, 63, -1, -1, -1, 67, 68, -1, 3, -1, + -1, 73, -1, 75, 9, 10, -1, 12, 80, -1, + -1, -1, -1, -1, -1, 87, 88, -1, -1, 91, + 92, -1, -1, -1, -1, 30, -1, 32, -1, 34, + 35, 36, 37, 38, -1, -1, -1, -1, 43, -1, + -1, -1, -1, -1, 49, -1, -1, 52, -1, -1, + -1, -1, 57, 58, 59, -1, -1, 62, 63, -1, + -1, -1, 67, 68, -1, 3, -1, -1, 73, -1, + 75, 9, 10, -1, 12, 80, -1, -1, -1, -1, + 85, -1, 87, 88, -1, -1, -1, 92, -1, -1, + -1, -1, 30, -1, 32, -1, 34, 35, 36, 37, + 38, -1, -1, -1, -1, 43, -1, -1, -1, -1, + -1, 49, -1, -1, 52, -1, -1, -1, -1, 57, + 58, 59, -1, -1, 62, 63, -1, -1, -1, 67, + 68, -1, 3, -1, -1, 73, -1, 75, 9, 10, + -1, 12, 80, -1, -1, -1, -1, -1, -1, 87, + 88, -1, -1, -1, 92, -1, -1, -1, -1, 30, + -1, 32, -1, 34, 35, 36, 37, 38, -1, -1, + -1, -1, 43, -1, -1, -1, -1, -1, 49, -1, + -1, 52, -1, -1, -1, -1, 57, 58, 59, -1, + -1, 62, 63, -1, -1, -1, 67, 68, -1, 3, + -1, -1, 73, -1, 75, 9, 10, -1, 12, 80, + -1, -1, -1, -1, -1, -1, 87, 88, -1, -1, + -1, 92, -1, -1, -1, -1, 30, -1, 32, -1, + 34, 35, 36, 37, 38, -1, -1, -1, -1, 43, + -1, -1, -1, -1, -1, 49, -1, -1, 52, -1, + -1, -1, -1, 57, 58, 59, -1, -1, 62, 63, + -1, -1, -1, 67, 68, -1, 3, -1, -1, 73, + -1, 75, 9, 10, -1, 12, 80, -1, -1, -1, + -1, -1, -1, 87, 88, -1, -1, -1, 92, -1, + -1, -1, -1, 30, -1, 32, -1, 34, 35, 36, + 37, 38, -1, -1, -1, -1, 43, -1, -1, -1, + -1, -1, 49, -1, -1, 52, -1, -1, -1, -1, + 57, 58, 59, -1, -1, 62, 63, -1, -1, -1, + 67, 68, -1, -1, -1, -1, 73, -1, 75, -1, + -1, -1, -1, 80, -1, -1, -1, -1, -1, -1, + 87, 88, -1, 1, -1, 92, 4, 5, 6, 7, + 8, -1, -1, -1, -1, 13, 14, 15, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 28, 29, -1, 31, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 44, -1, -1, 3, + 4, -1, -1, 7, 8, -1, 54, -1, 12, 13, + 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, + 24, 25, 26, 27, 28, 29, 30, -1, 76, -1, + -1, -1, -1, 81, -1, -1, -1, 85, -1, -1, + -1, 89, 90, 47, -1, 1, -1, -1, 4, -1, + -1, 7, 8, -1, -1, -1, -1, 13, 14, 15, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 76, 29, -1, 31, -1, 81, -1, -1, + 1, -1, -1, 4, -1, 89, 7, 8, -1, -1, + -1, -1, 13, 14, 15, -1, -1, -1, 54, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 29, -1, + 31, 32, -1, -1, -1, -1, -1, -1, -1, -1, + 76, 77, 78, 79, -1, 81, -1, -1, -1, 85, + 86, -1, -1, 54, -1, -1, -1, -1, -1, 1, + -1, 3, 4, 5, 6, 7, 8, -1, -1, -1, + -1, 13, 14, 15, -1, 76, -1, -1, -1, -1, + 81, -1, -1, -1, 85, 86, 28, 29, -1, 31, + 32, 1, -1, 3, 4, 5, 6, 7, 8, -1, + -1, -1, -1, 13, 14, 15, -1, -1, -1, -1, + -1, -1, 54, -1, -1, 57, 58, 59, -1, 29, + -1, 31, -1, -1, -1, 67, -1, -1, 70, 71, + 72, -1, -1, -1, 76, -1, -1, -1, 80, 81, + 82, 83, -1, 85, 54, -1, -1, 57, 58, 59, + -1, -1, -1, -1, -1, -1, 1, 67, 3, 4, + 5, 6, 7, 8, -1, -1, 76, -1, 13, 14, + 15, 81, -1, -1, -1, 85, -1, -1, -1, -1, + -1, -1, -1, -1, 29, 1, 31, -1, 4, 5, + 6, 7, 8, -1, -1, 11, -1, 13, 14, 15, + -1, 4, 5, 6, 7, 8, -1, -1, -1, 54, + 13, 14, 15, 29, 59, -1, -1, -1, -1, -1, + -1, -1, 67, -1, -1, -1, 29, -1, 31, -1, + -1, 76, -1, -1, -1, -1, 81, -1, 54, -1, + 85, -1, -1, -1, 4, 5, 6, 7, 8, -1, + -1, 54, -1, 13, 14, 15, -1, -1, -1, -1, + 76, -1, -1, -1, -1, 81, -1, -1, 84, 29, + -1, 31, -1, 76, -1, -1, -1, -1, 81, -1, + -1, -1, 85, -1, -1, -1, 4, 5, 6, 7, + 8, -1, -1, -1, 54, 13, 14, 15, -1, 4, + 5, 6, 7, 8, -1, -1, -1, -1, 13, 14, + 15, 29, -1, 31, -1, -1, 76, -1, -1, -1, + -1, 81, -1, -1, 29, 85, 31, -1, 4, 5, + 6, 7, 8, -1, -1, -1, 54, 13, 14, 15, + -1, 4, 5, 6, 7, 8, -1, -1, -1, 54, + 13, 14, 15, 29, -1, -1, -1, -1, 76, -1, + -1, -1, -1, 81, -1, -1, 29, 85, -1, -1, + -1, 76, -1, -1, -1, -1, 81, -1, 54, -1, + 85, -1, -1, 4, 5, 6, 7, 8, -1, -1, + -1, 54, 13, 14, 15, -1, -1, -1, -1, -1, + 76, -1, -1, -1, -1, 81, -1, -1, 29, 85, + -1, -1, -1, 76, -1, -1, -1, -1, 81, -1, + -1, -1, 85, -1, -1, 4, 5, 6, 7, 8, + -1, -1, -1, 54, 13, 14, 15, -1, -1, 11, + 1, -1, -1, 4, -1, -1, 7, 8, -1, -1, + 29, -1, 13, 14, 15, 76, -1, -1, -1, -1, + 81, -1, -1, -1, 85, -1, -1, -1, 29, -1, + 31, 32, 44, 45, 46, 54, 48, 49, 50, 51, + 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, + -1, -1, -1, 54, -1, -1, -1, 76, -1, -1, + -1, -1, 81, -1, -1, -1, 85, -1, -1, -1, + -1, -1, 3, 4, -1, 76, 7, 8, -1, 91, + 81, 12, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, + -1, -1, -1, -1, -1, -1, -1, -1, 3, 4, + -1, -1, 7, 8, -1, -1, 47, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 67, -1, -1, -1, + -1, -1, -1, -1, -1, 76, -1, -1, -1, -1, + 81, -1, 47, 3, 4, -1, -1, 7, 8, -1, + -1, -1, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 76, -1, -1, -1, -1, 81, -1, -1, 3, + 4, -1, -1, 7, 8, -1, -1, 47, 12, 13, + 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, + 24, 25, 26, 27, 28, 29, 30, -1, 4, 5, + 6, 7, 8, -1, -1, 11, 76, 13, 14, 15, + -1, 81, -1, 47, -1, -1, 4, 5, 6, 7, + 8, -1, -1, 29, -1, 13, 14, 15, 4, 5, + 6, 7, 8, -1, -1, -1, -1, 13, 14, 15, + -1, 29, 76, 31, -1, -1, -1, 81, 54, -1, + -1, -1, -1, 29, -1, 31, -1, -1, 4, 5, + 6, 7, 8, -1, -1, -1, 54, 13, 14, 15, + 76, -1, -1, -1, -1, 81, -1, -1, 54, -1, + -1, -1, -1, 29, -1, 31, -1, -1, 76, -1, + -1, -1, -1, 81, -1, -1, -1, -1, -1, -1, + 76, -1, -1, -1, -1, 81, -1, -1, 54, 4, + 5, 6, 7, 8, -1, -1, -1, -1, 13, 14, + 15, -1, 4, 5, 6, 7, 8, -1, -1, -1, + 76, 13, 14, 15, 29, 81, 31, -1, -1, -1, + -1, 4, 5, 6, 7, 8, -1, 29, -1, 31, + 13, 14, 15, 4, 5, 6, 7, 8, -1, 54, + -1, -1, 13, 14, 15, -1, 29, -1, -1, -1, + -1, -1, 54, 4, 5, 6, 7, 8, 29, -1, + -1, 76, 13, 14, 15, -1, 81, -1, -1, -1, + -1, 54, -1, -1, 76, -1, -1, -1, 29, 81, + -1, -1, -1, 54, -1, -1, 4, 5, 6, 7, + 8, -1, -1, 76, -1, 13, 14, 15, 81, -1, + -1, -1, -1, 54, -1, 76, -1, -1, -1, -1, + 81, 29, 4, 5, 6, 7, 8, -1, -1, -1, + -1, 13, 14, 15, 4, 76, -1, 7, 8, -1, + 81, -1, -1, 13, 14, 15, 54, 29, -1, -1, + -1, -1, -1, 4, -1, -1, 7, 8, -1, 29, + -1, 31, 13, 14, 15, -1, 4, -1, 76, 7, + 8, -1, 54, 81, -1, 13, 14, 15, 29, 4, + 31, -1, 7, 8, 54, -1, -1, -1, 13, 14, + 15, 29, -1, 31, 76, -1, -1, -1, 4, 81, + -1, 7, 8, 54, 29, -1, 76, 13, 14, 15, + -1, 81, -1, -1, -1, -1, 54, -1, -1, -1, + -1, -1, -1, 29, -1, 76, -1, -1, -1, 54, + 81, -1, -1, -1, -1, -1, -1, -1, 76, -1, + -1, -1, -1, 81, 11, -1, -1, -1, 54, -1, + -1, 76, -1, -1, -1, -1, 81, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 76, -1, -1, -1, -1, 81, -1, 44, 45, 46, + 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, + 57, 58, 59, 60, 61, 44, 45, 46, -1, 48, + 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, + 59, 60, 61, 44, 45, 46, -1, 48, 49, 50, + 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, + 61, -1, -1, -1, -1, -1, -1, -1, -1, 44, + 45, 46, 91, 48, 49, 50, 51, 52, 53, 54, + 55, 56, 57, 58, 59, 60, 61, -1, 89, 44, + 45, 46, -1, 48, 49, 50, 51, 52, 53, 54, + 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, + -1, 44, 45, 46, 89, 48, 49, 50, 51, 52, + 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, + -1, -1, -1, -1, 89, 31, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 44, 45, + 46, 84, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 44, 45, 46, 47, + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, + 58, 59, 60, 61, 44, 45, 46, -1, 48, 49, + 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + 60, 61 +}; + +/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing + symbol of state STATE-NUM. */ +static const unsigned short yystos[] = +{ + 0, 94, 95, 96, 0, 97, 1, 4, 5, 6, + 7, 8, 13, 14, 15, 28, 29, 31, 32, 54, + 57, 58, 70, 71, 72, 76, 80, 81, 82, 83, + 85, 98, 99, 100, 101, 116, 133, 136, 137, 138, + 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, + 149, 150, 151, 152, 153, 159, 161, 162, 163, 164, + 165, 174, 175, 179, 202, 203, 204, 205, 210, 295, + 296, 298, 299, 300, 310, 313, 320, 321, 98, 85, + 86, 174, 174, 174, 67, 67, 3, 4, 76, 81, + 108, 297, 108, 108, 312, 313, 108, 297, 312, 297, + 108, 67, 3, 59, 67, 167, 171, 201, 8, 161, + 162, 174, 179, 8, 161, 162, 179, 8, 161, 162, + 174, 179, 8, 161, 162, 179, 8, 163, 164, 174, + 179, 8, 163, 164, 179, 8, 163, 164, 174, 179, + 8, 163, 164, 179, 8, 161, 162, 174, 179, 8, + 161, 162, 179, 8, 161, 162, 174, 179, 8, 161, + 162, 179, 8, 163, 164, 174, 179, 8, 163, 164, + 179, 8, 163, 164, 174, 179, 8, 163, 164, 179, + 133, 133, 85, 175, 90, 108, 90, 108, 90, 108, + 98, 322, 3, 9, 10, 12, 30, 34, 35, 36, + 37, 38, 43, 49, 52, 57, 58, 59, 62, 63, + 67, 68, 73, 75, 80, 87, 88, 92, 109, 110, + 112, 113, 114, 115, 117, 118, 124, 126, 249, 295, + 352, 356, 357, 358, 67, 54, 89, 47, 67, 312, + 47, 67, 90, 312, 85, 85, 108, 110, 136, 137, + 138, 139, 140, 141, 142, 143, 158, 222, 136, 137, + 138, 139, 157, 160, 173, 174, 85, 89, 1, 28, + 67, 68, 106, 168, 230, 4, 59, 67, 81, 166, + 169, 196, 197, 201, 167, 201, 74, 213, 214, 90, + 213, 90, 209, 90, 3, 4, 7, 8, 12, 13, + 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, + 24, 25, 26, 27, 28, 29, 30, 47, 67, 76, + 81, 333, 342, 343, 344, 345, 346, 117, 117, 67, + 67, 67, 108, 117, 1, 90, 110, 222, 76, 110, + 351, 67, 67, 67, 10, 117, 84, 89, 67, 113, + 67, 113, 44, 45, 46, 48, 49, 50, 51, 52, + 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, + 63, 66, 67, 68, 69, 92, 1, 86, 238, 247, + 117, 7, 8, 108, 176, 177, 178, 179, 108, 108, + 108, 90, 303, 108, 108, 307, 311, 85, 84, 223, + 84, 201, 201, 134, 173, 67, 173, 290, 6, 157, + 160, 1, 127, 128, 129, 130, 237, 256, 173, 160, + 173, 85, 89, 1, 102, 168, 67, 230, 85, 1, + 104, 67, 86, 1, 85, 136, 137, 138, 139, 140, + 141, 142, 143, 156, 157, 215, 295, 206, 86, 207, + 1, 108, 220, 221, 208, 67, 108, 222, 323, 89, + 340, 344, 346, 47, 118, 118, 222, 84, 84, 84, + 47, 344, 347, 348, 350, 47, 344, 353, 354, 355, + 222, 108, 85, 118, 222, 222, 118, 118, 121, 123, + 120, 119, 118, 118, 118, 118, 118, 118, 118, 118, + 118, 118, 118, 118, 108, 111, 112, 110, 108, 10, + 84, 33, 242, 243, 244, 84, 84, 89, 67, 312, + 84, 301, 325, 326, 90, 84, 314, 316, 325, 59, + 67, 224, 226, 227, 228, 229, 230, 84, 171, 201, + 10, 291, 160, 6, 59, 91, 110, 85, 107, 237, + 129, 257, 44, 197, 197, 134, 127, 173, 290, 127, + 76, 173, 133, 133, 85, 215, 213, 173, 213, 44, + 89, 212, 220, 222, 84, 85, 334, 11, 341, 67, + 108, 89, 89, 89, 90, 117, 112, 349, 47, 91, + 344, 350, 47, 84, 344, 355, 84, 84, 84, 84, + 110, 47, 118, 118, 84, 91, 108, 294, 1, 132, + 231, 232, 233, 234, 235, 236, 237, 248, 256, 260, + 261, 244, 84, 177, 3, 111, 90, 306, 312, 314, + 72, 100, 133, 152, 153, 320, 327, 330, 308, 77, + 78, 79, 86, 315, 1, 85, 156, 157, 317, 72, + 160, 173, 280, 67, 230, 84, 1, 3, 11, 136, + 137, 140, 141, 144, 145, 148, 149, 154, 155, 282, + 285, 286, 288, 292, 293, 110, 110, 91, 91, 256, + 131, 154, 155, 172, 84, 169, 196, 103, 44, 105, + 84, 216, 218, 256, 217, 219, 256, 86, 86, 118, + 221, 86, 212, 84, 342, 343, 136, 137, 138, 139, + 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 237, 335, 336, 337, 324, 285, + 286, 222, 222, 118, 222, 125, 349, 47, 118, 85, + 89, 132, 260, 261, 132, 260, 261, 256, 260, 261, + 132, 260, 261, 237, 86, 257, 84, 89, 84, 304, + 325, 309, 86, 133, 133, 331, 328, 330, 314, 316, + 133, 133, 85, 227, 228, 226, 281, 173, 280, 84, + 133, 289, 289, 84, 85, 89, 84, 89, 91, 91, + 257, 85, 133, 85, 133, 1, 90, 118, 180, 256, + 170, 256, 89, 257, 89, 257, 173, 173, 173, 86, + 108, 340, 85, 133, 85, 337, 237, 1, 90, 245, + 246, 250, 84, 84, 89, 84, 1, 3, 66, 68, + 90, 108, 118, 182, 183, 184, 186, 188, 189, 122, + 108, 257, 239, 4, 22, 23, 24, 25, 26, 27, + 28, 76, 81, 85, 108, 110, 135, 152, 153, 159, + 240, 250, 272, 273, 295, 112, 314, 72, 325, 302, + 333, 100, 86, 47, 196, 318, 319, 318, 84, 282, + 4, 59, 67, 81, 198, 199, 200, 201, 225, 226, + 227, 59, 67, 201, 225, 283, 11, 152, 153, 287, + 3, 245, 166, 167, 181, 257, 180, 257, 134, 47, + 196, 134, 47, 201, 173, 198, 201, 225, 338, 339, + 250, 247, 108, 118, 108, 118, 187, 47, 86, 89, + 211, 44, 68, 189, 186, 118, 118, 47, 85, 85, + 85, 110, 59, 108, 8, 274, 256, 85, 133, 133, + 85, 16, 18, 19, 20, 21, 251, 252, 254, 262, + 135, 84, 86, 72, 325, 332, 118, 47, 89, 160, + 173, 173, 67, 230, 67, 230, 173, 174, 160, 173, + 173, 173, 133, 133, 85, 85, 182, 245, 245, 218, + 256, 118, 47, 173, 219, 118, 47, 173, 173, 173, + 85, 89, 84, 11, 91, 182, 185, 184, 186, 118, + 11, 47, 85, 110, 85, 67, 257, 166, 190, 196, + 167, 193, 201, 253, 264, 255, 266, 67, 17, 1, + 240, 259, 1, 67, 241, 305, 72, 1, 85, 329, + 118, 134, 199, 200, 200, 290, 290, 284, 198, 201, + 225, 201, 225, 86, 257, 173, 118, 173, 118, 339, + 118, 86, 186, 118, 85, 110, 47, 85, 191, 85, + 194, 67, 67, 259, 67, 110, 1, 263, 258, 260, + 261, 110, 325, 319, 84, 282, 173, 173, 173, 173, + 173, 91, 47, 47, 84, 173, 127, 127, 110, 110, + 18, 110, 135, 271, 275, 84, 259, 241, 258, 84, + 72, 10, 68, 276, 277, 278, 85, 192, 195, 84, + 84, 267, 85, 270, 85, 67, 108, 47, 84, 89, + 256, 256, 265, 275, 259, 110, 91, 276, 85, 278, + 257, 257, 259, 85, 84, 10, 47, 84, 250, 250, + 268, 67, 10, 279, 85, 275, 110, 84, 89, 84, + 84, 85, 10, 269, 259 +}; + +#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) +# define YYSIZE_T __SIZE_TYPE__ +#endif +#if ! defined (YYSIZE_T) && defined (size_t) +# define YYSIZE_T size_t +#endif +#if ! defined (YYSIZE_T) +# if defined (__STDC__) || defined (__cplusplus) +# include /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# endif +#endif +#if ! defined (YYSIZE_T) +# define YYSIZE_T unsigned int +#endif + +#define yyerrok (yyerrstatus = 0) +#define yyclearin (yychar = YYEMPTY) +#define YYEMPTY (-2) +#define YYEOF 0 + +#define YYACCEPT goto yyacceptlab +#define YYABORT goto yyabortlab +#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); \ + yytoken = YYTRANSLATE (yychar); \ + YYPOPSTACK; \ + goto yybackup; \ + } \ + else \ + { \ + yyerror ("syntax error: cannot back up");\ + YYERROR; \ + } \ +while (0) + +#define YYTERROR 1 +#define YYERRCODE 256 + +/* YYLLOC_DEFAULT -- Compute the default location (before the actions + are run). */ + +#ifndef YYLLOC_DEFAULT +# define YYLLOC_DEFAULT(Current, Rhs, N) \ + Current.first_line = Rhs[1].first_line; \ + Current.first_column = Rhs[1].first_column; \ + Current.last_line = Rhs[N].last_line; \ + Current.last_column = Rhs[N].last_column; +#endif + +/* YYLEX -- calling `yylex' with the right arguments. */ + +#ifdef YYLEX_PARAM +# define YYLEX yylex (YYLEX_PARAM) +#else +# define YYLEX yylex () +#endif + +/* Enable debugging if requested. */ +#if YYDEBUG + +# ifndef YYFPRINTF +# include /* INFRINGES ON USER NAME SPACE */ +# define YYFPRINTF fprintf +# endif + +# define YYDPRINTF(Args) \ +do { \ + if (yydebug) \ + YYFPRINTF Args; \ +} while (0) + +# define YYDSYMPRINT(Args) \ +do { \ + if (yydebug) \ + yysymprint Args; \ +} while (0) + +# define YYDSYMPRINTF(Title, Token, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yysymprint (stderr, \ + Token, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (0) + +/*------------------------------------------------------------------. +| yy_stack_print -- Print the state stack from its BOTTOM up to its | +| TOP (cinluded). | +`------------------------------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yy_stack_print (short *bottom, short *top) +#else +static void +yy_stack_print (bottom, top) + short *bottom; + short *top; +#endif +{ + YYFPRINTF (stderr, "Stack now"); + for (/* Nothing. */; bottom <= top; ++bottom) + YYFPRINTF (stderr, " %d", *bottom); + YYFPRINTF (stderr, "\n"); +} + +# define YY_STACK_PRINT(Bottom, Top) \ +do { \ + if (yydebug) \ + yy_stack_print ((Bottom), (Top)); \ +} while (0) + + +/*------------------------------------------------. +| Report that the YYRULE is going to be reduced. | +`------------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yy_reduce_print (int yyrule) +#else +static void +yy_reduce_print (yyrule) + int yyrule; +#endif +{ + int yyi; + unsigned int yylineno = yyrline[yyrule]; + YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", + yyrule - 1, yylineno); + /* Print the symbols being reduced, and their result. */ + for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++) + YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]); + YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]); +} + +# define YY_REDUCE_PRINT(Rule) \ +do { \ + if (yydebug) \ + yy_reduce_print (Rule); \ +} while (0) + +/* Nonzero means print parse trace. It is left uninitialized so that + multiple parsers can coexist. */ +int yydebug; +#else /* !YYDEBUG */ +# define YYDPRINTF(Args) +# define YYDSYMPRINT(Args) +# define YYDSYMPRINTF(Title, Token, Value, Location) +# define YY_STACK_PRINT(Bottom, Top) +# define YY_REDUCE_PRINT(Rule) +#endif /* !YYDEBUG */ + + +/* YYINITDEPTH -- initial size of the parser's stacks. */ +#ifndef YYINITDEPTH +# define YYINITDEPTH 200 +#endif + +/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only + if the built-in stack extension method is used). + + Do not make this value too large; the results are undefined if + SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) + evaluated with infinite-precision integer arithmetic. */ + +#if YYMAXDEPTH == 0 +# undef YYMAXDEPTH +#endif + +#ifndef YYMAXDEPTH +# define YYMAXDEPTH 10000 +#endif + + + +#if YYERROR_VERBOSE + +# ifndef yystrlen +# if defined (__GLIBC__) && defined (_STRING_H) +# define yystrlen strlen +# else +/* Return the length of YYSTR. */ +static YYSIZE_T +# if defined (__STDC__) || defined (__cplusplus) +yystrlen (const char *yystr) +# else +yystrlen (yystr) + const char *yystr; +# endif +{ + register const char *yys = yystr; + + while (*yys++ != '\0') + continue; + + return yys - yystr - 1; +} +# endif +# endif + +# ifndef yystpcpy +# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) +# define yystpcpy stpcpy +# else +/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in + YYDEST. */ +static char * +# if defined (__STDC__) || defined (__cplusplus) +yystpcpy (char *yydest, const char *yysrc) +# else +yystpcpy (yydest, yysrc) + char *yydest; + const char *yysrc; +# endif +{ + register char *yyd = yydest; + register const char *yys = yysrc; + + while ((*yyd++ = *yys++) != '\0') + continue; + + return yyd - 1; +} +# endif +# endif + +#endif /* !YYERROR_VERBOSE */ + + + +#if YYDEBUG +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep) +#else +static void +yysymprint (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE *yyvaluep; +#endif +{ + /* Pacify ``unused variable'' warnings. */ + (void) yyvaluep; + + if (yytype < YYNTOKENS) + { + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); +# ifdef YYPRINT + YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); +# endif + } + else + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); + + switch (yytype) + { + default: + break; + } + YYFPRINTF (yyoutput, ")"); +} + +#endif /* ! YYDEBUG */ +/*-----------------------------------------------. +| Release the memory associated to this symbol. | +`-----------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yydestruct (int yytype, YYSTYPE *yyvaluep) +#else +static void +yydestruct (yytype, yyvaluep) + int yytype; + YYSTYPE *yyvaluep; +#endif +{ + /* Pacify ``unused variable'' warnings. */ + (void) yyvaluep; + + switch (yytype) + { + + default: + break; + } +} + + +/* Prevent warnings from -Wmissing-prototypes. */ + +#ifdef YYPARSE_PARAM +# if defined (__STDC__) || defined (__cplusplus) +int yyparse (void *YYPARSE_PARAM); +# else +int yyparse (); +# endif +#else /* ! YYPARSE_PARAM */ +#if defined (__STDC__) || defined (__cplusplus) +int yyparse (void); +#else +int yyparse (); +#endif +#endif /* ! YYPARSE_PARAM */ + + + +/* The lookahead symbol. */ +int yychar; + +/* The semantic value of the lookahead symbol. */ +YYSTYPE yylval; + +/* Number of syntax errors so far. */ +int yynerrs; + + + +/*----------. +| yyparse. | +`----------*/ + +#ifdef YYPARSE_PARAM +# if defined (__STDC__) || defined (__cplusplus) +int yyparse (void *YYPARSE_PARAM) +# else +int yyparse (YYPARSE_PARAM) + void *YYPARSE_PARAM; +# endif +#else /* ! YYPARSE_PARAM */ +#if defined (__STDC__) || defined (__cplusplus) +int +yyparse (void) +#else +int +yyparse () + +#endif +#endif +{ + + register int yystate; + register int yyn; + int yyresult; + /* Number of tokens to shift before error messages enabled. */ + int yyerrstatus; + /* Lookahead token as an internal (translated) token number. */ + int yytoken = 0; + + /* Three stacks and their tools: + `yyss': related to states, + `yyvs': related to semantic values, + `yyls': related to locations. + + Refer to the stacks thru separate pointers, to allow yyoverflow + to reallocate them elsewhere. */ + + /* The state stack. */ + short yyssa[YYINITDEPTH]; + short *yyss = yyssa; + register short *yyssp; + + /* The semantic value stack. */ + YYSTYPE yyvsa[YYINITDEPTH]; + YYSTYPE *yyvs = yyvsa; + register YYSTYPE *yyvsp; + + + +#define YYPOPSTACK (yyvsp--, yyssp--) + + YYSIZE_T yystacksize = YYINITDEPTH; + + /* The variables used to return semantic value and location from the + action routines. */ + YYSTYPE yyval; + + + /* When reducing, the number of symbols on the RHS of the reduced + rule. */ + int yylen; + + YYDPRINTF ((stderr, "Starting parse\n")); + + 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; + yyvsp = yyvs; + + goto yysetstate; + +/*------------------------------------------------------------. +| yynewstate -- Push a new state, which is found in yystate. | +`------------------------------------------------------------*/ + yynewstate: + /* In all cases, when you get here, the value and location stacks + have just been pushed. so pushing a state here evens the stacks. + */ + yyssp++; + + yysetstate: + *yyssp = yystate; + + if (yyss + yystacksize - 1 <= yyssp) + { + /* Get the current used size of the three stacks, in elements. */ + YYSIZE_T yysize = yyssp - yyss + 1; + +#ifdef yyoverflow + { + /* 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; + + + /* Each stack pointer address is followed by the size of the + data in use in that stack, in bytes. 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, yysize * sizeof (*yyssp), + &yyvs1, yysize * sizeof (*yyvsp), + + &yystacksize); + + yyss = yyss1; + yyvs = yyvs1; + } +#else /* no yyoverflow */ +# ifndef YYSTACK_RELOCATE + goto yyoverflowlab; +# else + /* Extend the stack our own way. */ + if (YYMAXDEPTH <= yystacksize) + goto yyoverflowlab; + yystacksize *= 2; + if (YYMAXDEPTH < yystacksize) + yystacksize = YYMAXDEPTH; + + { + short *yyss1 = yyss; + union yyalloc *yyptr = + (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); + if (! yyptr) + goto yyoverflowlab; + YYSTACK_RELOCATE (yyss); + YYSTACK_RELOCATE (yyvs); + +# undef YYSTACK_RELOCATE + if (yyss1 != yyssa) + YYSTACK_FREE (yyss1); + } +# endif +#endif /* no yyoverflow */ + + yyssp = yyss + yysize - 1; + yyvsp = yyvs + yysize - 1; + + + YYDPRINTF ((stderr, "Stack size increased to %lu\n", + (unsigned long int) yystacksize)); + + if (yyss + yystacksize - 1 <= yyssp) + YYABORT; + } + + YYDPRINTF ((stderr, "Entering state %d\n", yystate)); + + goto yybackup; + +/*-----------. +| 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 == YYPACT_NINF) + goto yydefault; + + /* Not known => get a lookahead token if don't already have one. */ + + /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ + if (yychar == YYEMPTY) + { + YYDPRINTF ((stderr, "Reading a token: ")); + yychar = YYLEX; + } + + if (yychar <= YYEOF) + { + yychar = yytoken = YYEOF; + YYDPRINTF ((stderr, "Now at end of input.\n")); + } + else + { + yytoken = YYTRANSLATE (yychar); + YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc); + } + + /* If the proper action on seeing token YYTOKEN is to reduce or to + detect an error, take that action. */ + yyn += yytoken; + if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) + goto yydefault; + yyn = yytable[yyn]; + if (yyn <= 0) + { + if (yyn == 0 || yyn == YYTABLE_NINF) + goto yyerrlab; + yyn = -yyn; + goto yyreduce; + } + + if (yyn == YYFINAL) + YYACCEPT; + + /* Shift the lookahead token. */ + YYDPRINTF ((stderr, "Shifting token %s, ", yytname[yytoken])); + + /* Discard the token being shifted unless it is eof. */ + if (yychar != YYEOF) + yychar = YYEMPTY; + + *++yyvsp = yylval; + + + /* Count tokens shifted since error; after three, turn off error + status. */ + if (yyerrstatus) + yyerrstatus--; + + yystate = yyn; + goto yynewstate; + + +/*-----------------------------------------------------------. +| yydefault -- do the default action for the current state. | +`-----------------------------------------------------------*/ +yydefault: + yyn = yydefact[yystate]; + if (yyn == 0) + goto yyerrlab; + goto yyreduce; + + +/*-----------------------------. +| yyreduce -- Do a reduction. | +`-----------------------------*/ +yyreduce: + /* yyn is the number of a rule to reduce with. */ + yylen = yyr2[yyn]; + + /* If YYLEN is nonzero, implement the default value of the action: + `$$ = $1'. + + Otherwise, the following line sets YYVAL to garbage. + This behavior is undocumented and Bison + users should not rely upon it. Assigning to YYVAL + unconditionally makes the parser a bit smaller, and it avoids a + GCC warning that YYVAL may be used uninitialized. */ + yyval = yyvsp[1-yylen]; + + + YY_REDUCE_PRINT (yyn); + switch (yyn) + { + case 2: +#line 345 "objc-parse.y" + { if (pedantic) + pedwarn ("ISO C forbids an empty source file"); + finish_file (); + ;} + break; + + case 3: +#line 350 "objc-parse.y" + { + /* In case there were missing closebraces, + get us back to the global binding level. */ + while (! global_bindings_p ()) + poplevel (0, 0, 0); + /* __FUNCTION__ is defined at file scope (""). This + call may not be necessary as my tests indicate it + still works without it. */ + finish_fname_decls (); + finish_file (); + ;} + break; + + case 4: +#line 368 "objc-parse.y" + {yyval.ttype = NULL_TREE; ;} + break; + + case 6: +#line 369 "objc-parse.y" + {yyval.ttype = NULL_TREE; ggc_collect(); ;} + break; + + case 8: +#line 374 "objc-parse.y" + { parsing_iso_function_signature = false; ;} + break; + + case 12: +#line 382 "objc-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 13: +#line 390 "objc-parse.y" + { RESTORE_EXT_FLAGS (yyvsp[-1].ttype); ;} + break; + + case 14: +#line 395 "objc-parse.y" + { if (pedantic) + error ("ISO C forbids data definition with no type or storage class"); + else + warning ("data definition has no type or storage class"); + + POP_DECLSPEC_STACK; ;} + break; + + case 15: +#line 402 "objc-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 16: +#line 404 "objc-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 17: +#line 406 "objc-parse.y" + { shadow_tag (yyvsp[-1].ttype); ;} + break; + + case 20: +#line 410 "objc-parse.y" + { if (pedantic) + pedwarn ("ISO C does not allow extra `;' outside of a function"); ;} + break; + + case 21: +#line 416 "objc-parse.y" + { if (! start_function (current_declspecs, yyvsp[0].ttype, + all_prefix_attributes)) + YYERROR1; + ;} + break; + + case 22: +#line 421 "objc-parse.y" + { store_parm_decls (); ;} + break; + + case 23: +#line 423 "objc-parse.y" + { DECL_SOURCE_FILE (current_function_decl) = yyvsp[-2].filename; + DECL_SOURCE_LINE (current_function_decl) = yyvsp[-1].lineno; + finish_function (0, 1); + POP_DECLSPEC_STACK; ;} + break; + + case 24: +#line 428 "objc-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 25: +#line 430 "objc-parse.y" + { if (! start_function (current_declspecs, yyvsp[0].ttype, + all_prefix_attributes)) + YYERROR1; + ;} + break; + + case 26: +#line 435 "objc-parse.y" + { store_parm_decls (); ;} + break; + + case 27: +#line 437 "objc-parse.y" + { DECL_SOURCE_FILE (current_function_decl) = yyvsp[-2].filename; + DECL_SOURCE_LINE (current_function_decl) = yyvsp[-1].lineno; + finish_function (0, 1); + POP_DECLSPEC_STACK; ;} + break; + + case 28: +#line 442 "objc-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 29: +#line 444 "objc-parse.y" + { if (! start_function (NULL_TREE, yyvsp[0].ttype, + all_prefix_attributes)) + YYERROR1; + ;} + break; + + case 30: +#line 449 "objc-parse.y" + { store_parm_decls (); ;} + break; + + case 31: +#line 451 "objc-parse.y" + { DECL_SOURCE_FILE (current_function_decl) = yyvsp[-2].filename; + DECL_SOURCE_LINE (current_function_decl) = yyvsp[-1].lineno; + finish_function (0, 1); + POP_DECLSPEC_STACK; ;} + break; + + case 32: +#line 456 "objc-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 37: +#line 467 "objc-parse.y" + { yyval.code = ADDR_EXPR; ;} + break; + + case 38: +#line 469 "objc-parse.y" + { yyval.code = NEGATE_EXPR; ;} + break; + + case 39: +#line 471 "objc-parse.y" + { yyval.code = CONVERT_EXPR; + ;} + break; + + case 40: +#line 474 "objc-parse.y" + { yyval.code = PREINCREMENT_EXPR; ;} + break; + + case 41: +#line 476 "objc-parse.y" + { yyval.code = PREDECREMENT_EXPR; ;} + break; + + case 42: +#line 478 "objc-parse.y" + { yyval.code = BIT_NOT_EXPR; ;} + break; + + case 43: +#line 480 "objc-parse.y" + { yyval.code = TRUTH_NOT_EXPR; ;} + break; + + case 44: +#line 484 "objc-parse.y" + { yyval.ttype = build_compound_expr (yyvsp[0].ttype); ;} + break; + + case 45: +#line 489 "objc-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 47: +#line 495 "objc-parse.y" + { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 48: +#line 497 "objc-parse.y" + { chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;} + break; + + case 50: +#line 503 "objc-parse.y" + { yyval.ttype = build_indirect_ref (yyvsp[0].ttype, "unary *"); ;} + break; + + case 51: +#line 506 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; + RESTORE_EXT_FLAGS (yyvsp[-1].ttype); ;} + break; + + case 52: +#line 509 "objc-parse.y" + { yyval.ttype = build_unary_op (yyvsp[-1].code, yyvsp[0].ttype, 0); + overflow_warning (yyval.ttype); ;} + break; + + case 53: +#line 513 "objc-parse.y" + { yyval.ttype = finish_label_address_expr (yyvsp[0].ttype); ;} + break; + + case 54: +#line 515 "objc-parse.y" + { skip_evaluation--; + if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF + && DECL_C_BIT_FIELD (TREE_OPERAND (yyvsp[0].ttype, 1))) + error ("`sizeof' applied to a bit-field"); + yyval.ttype = c_sizeof (TREE_TYPE (yyvsp[0].ttype)); ;} + break; + + case 55: +#line 521 "objc-parse.y" + { skip_evaluation--; + yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ttype)); ;} + break; + + case 56: +#line 524 "objc-parse.y" + { skip_evaluation--; + yyval.ttype = c_alignof_expr (yyvsp[0].ttype); ;} + break; + + case 57: +#line 527 "objc-parse.y" + { skip_evaluation--; + yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ;} + break; + + case 58: +#line 530 "objc-parse.y" + { yyval.ttype = build_unary_op (REALPART_EXPR, yyvsp[0].ttype, 0); ;} + break; + + case 59: +#line 532 "objc-parse.y" + { yyval.ttype = build_unary_op (IMAGPART_EXPR, yyvsp[0].ttype, 0); ;} + break; + + case 60: +#line 536 "objc-parse.y" + { skip_evaluation++; ;} + break; + + case 61: +#line 540 "objc-parse.y" + { skip_evaluation++; ;} + break; + + case 62: +#line 544 "objc-parse.y" + { skip_evaluation++; ;} + break; + + case 64: +#line 550 "objc-parse.y" + { yyval.ttype = c_cast_expr (yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 66: +#line 556 "objc-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 67: +#line 558 "objc-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 68: +#line 560 "objc-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 69: +#line 562 "objc-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 70: +#line 564 "objc-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 71: +#line 566 "objc-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 72: +#line 568 "objc-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 73: +#line 570 "objc-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 74: +#line 572 "objc-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 75: +#line 574 "objc-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 76: +#line 576 "objc-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 77: +#line 578 "objc-parse.y" + { yyval.ttype = parser_build_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 78: +#line 580 "objc-parse.y" + { yyvsp[-1].ttype = c_common_truthvalue_conversion + (default_conversion (yyvsp[-1].ttype)); + skip_evaluation += yyvsp[-1].ttype == boolean_false_node; ;} + break; + + case 79: +#line 584 "objc-parse.y" + { skip_evaluation -= yyvsp[-3].ttype == boolean_false_node; + yyval.ttype = parser_build_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-3].ttype, yyvsp[0].ttype); ;} + break; + + case 80: +#line 587 "objc-parse.y" + { yyvsp[-1].ttype = c_common_truthvalue_conversion + (default_conversion (yyvsp[-1].ttype)); + skip_evaluation += yyvsp[-1].ttype == boolean_true_node; ;} + break; + + case 81: +#line 591 "objc-parse.y" + { skip_evaluation -= yyvsp[-3].ttype == boolean_true_node; + yyval.ttype = parser_build_binary_op (TRUTH_ORIF_EXPR, yyvsp[-3].ttype, yyvsp[0].ttype); ;} + break; + + case 82: +#line 594 "objc-parse.y" + { yyvsp[-1].ttype = c_common_truthvalue_conversion + (default_conversion (yyvsp[-1].ttype)); + skip_evaluation += yyvsp[-1].ttype == boolean_false_node; ;} + break; + + case 83: +#line 598 "objc-parse.y" + { skip_evaluation += ((yyvsp[-4].ttype == boolean_true_node) + - (yyvsp[-4].ttype == boolean_false_node)); ;} + break; + + case 84: +#line 601 "objc-parse.y" + { skip_evaluation -= yyvsp[-6].ttype == boolean_true_node; + yyval.ttype = build_conditional_expr (yyvsp[-6].ttype, yyvsp[-3].ttype, yyvsp[0].ttype); ;} + break; + + case 85: +#line 604 "objc-parse.y" + { if (pedantic) + pedwarn ("ISO C forbids omitting the middle term of a ?: expression"); + /* Make sure first operand is calculated only once. */ + yyvsp[0].ttype = save_expr (yyvsp[-1].ttype); + yyvsp[-1].ttype = c_common_truthvalue_conversion + (default_conversion (yyvsp[0].ttype)); + skip_evaluation += yyvsp[-1].ttype == boolean_true_node; ;} + break; + + case 86: +#line 612 "objc-parse.y" + { skip_evaluation -= yyvsp[-4].ttype == boolean_true_node; + yyval.ttype = build_conditional_expr (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[0].ttype); ;} + break; + + case 87: +#line 615 "objc-parse.y" + { char class; + yyval.ttype = build_modify_expr (yyvsp[-2].ttype, NOP_EXPR, yyvsp[0].ttype); + class = TREE_CODE_CLASS (TREE_CODE (yyval.ttype)); + if (IS_EXPR_CODE_CLASS (class)) + C_SET_EXP_ORIGINAL_CODE (yyval.ttype, MODIFY_EXPR); + ;} + break; + + case 88: +#line 622 "objc-parse.y" + { char class; + yyval.ttype = build_modify_expr (yyvsp[-2].ttype, yyvsp[-1].code, yyvsp[0].ttype); + /* This inhibits warnings in + c_common_truthvalue_conversion. */ + class = TREE_CODE_CLASS (TREE_CODE (yyval.ttype)); + if (IS_EXPR_CODE_CLASS (class)) + C_SET_EXP_ORIGINAL_CODE (yyval.ttype, ERROR_MARK); + ;} + break; + + case 89: +#line 634 "objc-parse.y" + { + if (yychar == YYEMPTY) + yychar = YYLEX; + yyval.ttype = build_external_ref (yyvsp[0].ttype, yychar == '('); + ;} + break; + + case 91: +#line 641 "objc-parse.y" + { yyval.ttype = fix_string_type (yyval.ttype); ;} + break; + + case 92: +#line 643 "objc-parse.y" + { yyval.ttype = fname_decl (C_RID_CODE (yyval.ttype), yyval.ttype); ;} + break; + + case 93: +#line 645 "objc-parse.y" + { start_init (NULL_TREE, NULL, 0); + yyvsp[-2].ttype = groktypename (yyvsp[-2].ttype); + really_start_incremental_init (yyvsp[-2].ttype); ;} + break; + + case 94: +#line 649 "objc-parse.y" + { tree constructor = pop_init_level (0); + tree type = yyvsp[-5].ttype; + finish_init (); + + if (pedantic && ! flag_isoc99) + pedwarn ("ISO C89 forbids compound literals"); + yyval.ttype = build_compound_literal (type, constructor); + ;} + break; + + case 95: +#line 658 "objc-parse.y" + { char class = TREE_CODE_CLASS (TREE_CODE (yyvsp[-1].ttype)); + if (IS_EXPR_CODE_CLASS (class)) + C_SET_EXP_ORIGINAL_CODE (yyvsp[-1].ttype, ERROR_MARK); + yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 96: +#line 663 "objc-parse.y" + { yyval.ttype = error_mark_node; ;} + break; + + case 97: +#line 665 "objc-parse.y" + { tree saved_last_tree; + + if (pedantic) + pedwarn ("ISO C forbids braced-groups within expressions"); + pop_label_level (); + + saved_last_tree = COMPOUND_BODY (yyvsp[-2].ttype); + RECHAIN_STMTS (yyvsp[-2].ttype, COMPOUND_BODY (yyvsp[-2].ttype)); + last_tree = saved_last_tree; + TREE_CHAIN (last_tree) = NULL_TREE; + if (!last_expr_type) + last_expr_type = void_type_node; + yyval.ttype = build1 (STMT_EXPR, last_expr_type, yyvsp[-2].ttype); + TREE_SIDE_EFFECTS (yyval.ttype) = 1; + ;} + break; + + case 98: +#line 681 "objc-parse.y" + { + pop_label_level (); + last_tree = COMPOUND_BODY (yyvsp[-2].ttype); + TREE_CHAIN (last_tree) = NULL_TREE; + yyval.ttype = error_mark_node; + ;} + break; + + case 99: +#line 688 "objc-parse.y" + { yyval.ttype = build_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype); ;} + break; + + case 100: +#line 690 "objc-parse.y" + { yyval.ttype = build_va_arg (yyvsp[-3].ttype, groktypename (yyvsp[-1].ttype)); ;} + break; + + case 101: +#line 693 "objc-parse.y" + { + tree c; + + c = fold (yyvsp[-5].ttype); + STRIP_NOPS (c); + if (TREE_CODE (c) != INTEGER_CST) + error ("first argument to __builtin_choose_expr not a constant"); + yyval.ttype = integer_zerop (c) ? yyvsp[-1].ttype : yyvsp[-3].ttype; + ;} + break; + + case 102: +#line 703 "objc-parse.y" + { + tree e1, e2; + + e1 = TYPE_MAIN_VARIANT (groktypename (yyvsp[-3].ttype)); + e2 = TYPE_MAIN_VARIANT (groktypename (yyvsp[-1].ttype)); + + yyval.ttype = comptypes (e1, e2) + ? build_int_2 (1, 0) : build_int_2 (0, 0); + ;} + break; + + case 103: +#line 713 "objc-parse.y" + { yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); ;} + break; + + case 104: +#line 715 "objc-parse.y" + { + if (!is_public (yyvsp[-2].ttype, yyvsp[0].ttype)) + yyval.ttype = error_mark_node; + else + yyval.ttype = build_component_ref (yyvsp[-2].ttype, yyvsp[0].ttype); + ;} + break; + + case 105: +#line 722 "objc-parse.y" + { + tree expr = build_indirect_ref (yyvsp[-2].ttype, "->"); + + if (!is_public (expr, yyvsp[0].ttype)) + yyval.ttype = error_mark_node; + else + yyval.ttype = build_component_ref (expr, yyvsp[0].ttype); + ;} + break; + + case 106: +#line 731 "objc-parse.y" + { yyval.ttype = build_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype, 0); ;} + break; + + case 107: +#line 733 "objc-parse.y" + { yyval.ttype = build_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype, 0); ;} + break; + + case 108: +#line 735 "objc-parse.y" + { yyval.ttype = build_message_expr (yyvsp[0].ttype); ;} + break; + + case 109: +#line 737 "objc-parse.y" + { yyval.ttype = build_selector_expr (yyvsp[0].ttype); ;} + break; + + case 110: +#line 739 "objc-parse.y" + { yyval.ttype = build_protocol_expr (yyvsp[0].ttype); ;} + break; + + case 111: +#line 741 "objc-parse.y" + { yyval.ttype = build_encode_expr (yyvsp[0].ttype); ;} + break; + + case 112: +#line 743 "objc-parse.y" + { yyval.ttype = build_objc_string_object (yyvsp[0].ttype); ;} + break; + + case 113: +#line 750 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 114: +#line 752 "objc-parse.y" + { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 115: +#line 757 "objc-parse.y" + { + parsing_iso_function_signature = false; /* Reset after decls. */ + ;} + break; + + case 116: +#line 764 "objc-parse.y" + { + if (warn_traditional && !in_system_header + && parsing_iso_function_signature) + warning ("traditional C rejects ISO C style function definitions"); + parsing_iso_function_signature = false; /* Reset after warning. */ + ;} + break; + + case 118: +#line 778 "objc-parse.y" + { ;} + break; + + case 123: +#line 794 "objc-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 124: +#line 796 "objc-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 125: +#line 798 "objc-parse.y" + { shadow_tag_warned (yyvsp[-1].ttype, 1); + pedwarn ("empty declaration"); ;} + break; + + case 126: +#line 801 "objc-parse.y" + { pedwarn ("empty declaration"); ;} + break; + + case 127: +#line 810 "objc-parse.y" + { ;} + break; + + case 128: +#line 818 "objc-parse.y" + { pending_xref_error (); + PUSH_DECLSPEC_STACK; + split_specs_attrs (yyvsp[0].ttype, + ¤t_declspecs, &prefix_attributes); + all_prefix_attributes = prefix_attributes; ;} + break; + + case 129: +#line 829 "objc-parse.y" + { all_prefix_attributes = chainon (yyvsp[0].ttype, prefix_attributes); ;} + break; + + case 130: +#line 834 "objc-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 131: +#line 836 "objc-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 132: +#line 838 "objc-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 133: +#line 840 "objc-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 134: +#line 842 "objc-parse.y" + { shadow_tag (yyvsp[-1].ttype); ;} + break; + + case 135: +#line 844 "objc-parse.y" + { RESTORE_EXT_FLAGS (yyvsp[-1].ttype); ;} + break; + + case 136: +#line 901 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 137: +#line 904 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 138: +#line 907 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 139: +#line 913 "objc-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;} + break; + + case 140: +#line 919 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 141: +#line 922 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 142: +#line 928 "objc-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, NULL_TREE); + TREE_STATIC (yyval.ttype) = 0; ;} + break; + + case 143: +#line 931 "objc-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;} + break; + + case 144: +#line 937 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 145: +#line 940 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 146: +#line 943 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 147: +#line 946 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 148: +#line 949 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 149: +#line 952 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 150: +#line 955 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 151: +#line 961 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 152: +#line 964 "objc-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;} + break; + + case 153: +#line 967 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 154: +#line 970 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 155: +#line 973 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 156: +#line 976 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 157: +#line 982 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 158: +#line 985 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 159: +#line 988 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 160: +#line 991 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 161: +#line 994 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 162: +#line 997 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 163: +#line 1003 "objc-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;} + break; + + case 164: +#line 1006 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 165: +#line 1009 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 166: +#line 1012 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 167: +#line 1015 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 168: +#line 1021 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); + TREE_STATIC (yyval.ttype) = 0; ;} + break; + + case 169: +#line 1024 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 170: +#line 1027 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 171: +#line 1030 "objc-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 172: +#line 1036 "objc-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 173: +#line 1042 "objc-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 174: +#line 1048 "objc-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 175: +#line 1057 "objc-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;} + break; + + case 176: +#line 1063 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 177: +#line 1066 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 178: +#line 1069 "objc-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 179: +#line 1075 "objc-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 180: +#line 1081 "objc-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 181: +#line 1087 "objc-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 182: +#line 1096 "objc-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;} + break; + + case 183: +#line 1102 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 184: +#line 1105 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 185: +#line 1108 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 186: +#line 1111 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 187: +#line 1114 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 188: +#line 1117 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 189: +#line 1120 "objc-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 190: +#line 1126 "objc-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 191: +#line 1132 "objc-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 192: +#line 1138 "objc-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 193: +#line 1147 "objc-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;} + break; + + case 194: +#line 1150 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 195: +#line 1153 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 196: +#line 1156 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 197: +#line 1159 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 198: +#line 1165 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 199: +#line 1168 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 200: +#line 1171 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 201: +#line 1174 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 202: +#line 1177 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 203: +#line 1180 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 204: +#line 1183 "objc-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 205: +#line 1189 "objc-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 206: +#line 1195 "objc-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 207: +#line 1201 "objc-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 208: +#line 1210 "objc-parse.y" + { yyval.ttype = tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = TREE_STATIC (yyvsp[-1].ttype); ;} + break; + + case 209: +#line 1213 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 210: +#line 1216 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 211: +#line 1219 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 212: +#line 1222 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); + TREE_STATIC (yyval.ttype) = 1; ;} + break; + + case 269: +#line 1310 "objc-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 270: +#line 1312 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 274: +#line 1347 "objc-parse.y" + { OBJC_NEED_RAW_IDENTIFIER (1); ;} + break; + + case 277: +#line 1357 "objc-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 278: +#line 1361 "objc-parse.y" + { yyval.ttype = get_static_reference (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 279: +#line 1363 "objc-parse.y" + { yyval.ttype = get_object_reference (yyvsp[0].ttype); ;} + break; + + case 280: +#line 1368 "objc-parse.y" + { yyval.ttype = get_object_reference (yyvsp[0].ttype); ;} + break; + + case 281: +#line 1370 "objc-parse.y" + { skip_evaluation--; yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); ;} + break; + + case 282: +#line 1372 "objc-parse.y" + { skip_evaluation--; yyval.ttype = groktypename (yyvsp[-1].ttype); ;} + break; + + case 287: +#line 1389 "objc-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 288: +#line 1391 "objc-parse.y" + { yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 289: +#line 1396 "objc-parse.y" + { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1, + chainon (yyvsp[-1].ttype, all_prefix_attributes)); + start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ;} + break; + + case 290: +#line 1401 "objc-parse.y" + { finish_init (); + finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;} + break; + + case 291: +#line 1404 "objc-parse.y" + { tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0, + chainon (yyvsp[0].ttype, all_prefix_attributes)); + finish_decl (d, NULL_TREE, yyvsp[-1].ttype); + ;} + break; + + case 292: +#line 1412 "objc-parse.y" + { yyval.ttype = start_decl (yyvsp[-3].ttype, current_declspecs, 1, + chainon (yyvsp[-1].ttype, all_prefix_attributes)); + start_init (yyval.ttype, yyvsp[-2].ttype, global_bindings_p ()); ;} + break; + + case 293: +#line 1417 "objc-parse.y" + { finish_init (); + finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ;} + break; + + case 294: +#line 1420 "objc-parse.y" + { tree d = start_decl (yyvsp[-2].ttype, current_declspecs, 0, + chainon (yyvsp[0].ttype, all_prefix_attributes)); + finish_decl (d, NULL_TREE, yyvsp[-1].ttype); ;} + break; + + case 295: +#line 1428 "objc-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 296: +#line 1430 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 297: +#line 1435 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 298: +#line 1437 "objc-parse.y" + { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 299: +#line 1442 "objc-parse.y" + { yyval.ttype = yyvsp[-2].ttype; ;} + break; + + case 300: +#line 1447 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 301: +#line 1449 "objc-parse.y" + { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 302: +#line 1454 "objc-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 303: +#line 1456 "objc-parse.y" + { yyval.ttype = build_tree_list (yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 304: +#line 1458 "objc-parse.y" + { yyval.ttype = build_tree_list (yyvsp[-3].ttype, build_tree_list (NULL_TREE, yyvsp[-1].ttype)); ;} + break; + + case 305: +#line 1460 "objc-parse.y" + { yyval.ttype = build_tree_list (yyvsp[-5].ttype, tree_cons (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype)); ;} + break; + + case 306: +#line 1462 "objc-parse.y" + { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ;} + break; + + case 314: +#line 1485 "objc-parse.y" + { really_start_incremental_init (NULL_TREE); ;} + break; + + case 315: +#line 1487 "objc-parse.y" + { yyval.ttype = pop_init_level (0); ;} + break; + + case 316: +#line 1489 "objc-parse.y" + { yyval.ttype = error_mark_node; ;} + break; + + case 317: +#line 1495 "objc-parse.y" + { if (pedantic) + pedwarn ("ISO C forbids empty initializer braces"); ;} + break; + + case 321: +#line 1509 "objc-parse.y" + { if (pedantic && ! flag_isoc99) + pedwarn ("ISO C89 forbids specifying subobject to initialize"); ;} + break; + + case 322: +#line 1512 "objc-parse.y" + { if (pedantic) + pedwarn ("obsolete use of designated initializer without `='"); ;} + break; + + case 323: +#line 1515 "objc-parse.y" + { set_init_label (yyvsp[-1].ttype); + if (pedantic) + pedwarn ("obsolete use of designated initializer with `:'"); ;} + break; + + case 324: +#line 1519 "objc-parse.y" + {;} + break; + + case 326: +#line 1525 "objc-parse.y" + { push_init_level (0); ;} + break; + + case 327: +#line 1527 "objc-parse.y" + { process_init_element (pop_init_level (0)); ;} + break; + + case 328: +#line 1529 "objc-parse.y" + { process_init_element (yyvsp[0].ttype); ;} + break; + + case 332: +#line 1540 "objc-parse.y" + { set_init_label (yyvsp[0].ttype); ;} + break; + + case 333: +#line 1542 "objc-parse.y" + { set_init_index (yyvsp[-3].ttype, yyvsp[-1].ttype); + if (pedantic) + pedwarn ("ISO C forbids specifying range of elements to initialize"); ;} + break; + + case 334: +#line 1546 "objc-parse.y" + { set_init_index (yyvsp[-1].ttype, NULL_TREE); ;} + break; + + case 335: +#line 1551 "objc-parse.y" + { if (pedantic) + pedwarn ("ISO C forbids nested functions"); + + push_function_context (); + if (! start_function (current_declspecs, yyvsp[0].ttype, + all_prefix_attributes)) + { + pop_function_context (); + YYERROR1; + } + parsing_iso_function_signature = false; /* Don't warn about nested functions. */ + ;} + break; + + case 336: +#line 1564 "objc-parse.y" + { store_parm_decls (); ;} + break; + + case 337: +#line 1572 "objc-parse.y" + { tree decl = current_function_decl; + DECL_SOURCE_FILE (decl) = yyvsp[-2].filename; + DECL_SOURCE_LINE (decl) = yyvsp[-1].lineno; + finish_function (1, 1); + pop_function_context (); + add_decl_stmt (decl); ;} + break; + + case 338: +#line 1582 "objc-parse.y" + { if (pedantic) + pedwarn ("ISO C forbids nested functions"); + + push_function_context (); + if (! start_function (current_declspecs, yyvsp[0].ttype, + all_prefix_attributes)) + { + pop_function_context (); + YYERROR1; + } + parsing_iso_function_signature = false; /* Don't warn about nested functions. */ + ;} + break; + + case 339: +#line 1595 "objc-parse.y" + { store_parm_decls (); ;} + break; + + case 340: +#line 1603 "objc-parse.y" + { tree decl = current_function_decl; + DECL_SOURCE_FILE (decl) = yyvsp[-2].filename; + DECL_SOURCE_LINE (decl) = yyvsp[-1].lineno; + finish_function (1, 1); + pop_function_context (); + add_decl_stmt (decl); ;} + break; + + case 343: +#line 1623 "objc-parse.y" + { yyval.ttype = yyvsp[-2].ttype ? tree_cons (yyvsp[-2].ttype, yyvsp[-1].ttype, NULL_TREE) : yyvsp[-1].ttype; ;} + break; + + case 344: +#line 1625 "objc-parse.y" + { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 345: +#line 1630 "objc-parse.y" + { yyval.ttype = set_array_declarator_type (yyvsp[0].ttype, yyvsp[-1].ttype, 0); ;} + break; + + case 346: +#line 1632 "objc-parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 351: +#line 1648 "objc-parse.y" + { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 352: +#line 1653 "objc-parse.y" + { yyval.ttype = set_array_declarator_type (yyvsp[0].ttype, yyvsp[-1].ttype, 0); ;} + break; + + case 355: +#line 1660 "objc-parse.y" + { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 356: +#line 1665 "objc-parse.y" + { yyval.ttype = set_array_declarator_type (yyvsp[0].ttype, yyvsp[-1].ttype, 0); ;} + break; + + case 357: +#line 1667 "objc-parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 358: +#line 1669 "objc-parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 359: +#line 1671 "objc-parse.y" + { yyval.ttype = yyvsp[-2].ttype ? tree_cons (yyvsp[-2].ttype, yyvsp[-1].ttype, NULL_TREE) : yyvsp[-1].ttype; ;} + break; + + case 360: +#line 1679 "objc-parse.y" + { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 361: +#line 1684 "objc-parse.y" + { yyval.ttype = yyvsp[-2].ttype ? tree_cons (yyvsp[-2].ttype, yyvsp[-1].ttype, NULL_TREE) : yyvsp[-1].ttype; ;} + break; + + case 362: +#line 1686 "objc-parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 363: +#line 1688 "objc-parse.y" + { yyval.ttype = set_array_declarator_type (yyvsp[0].ttype, yyvsp[-1].ttype, 0); ;} + break; + + case 365: +#line 1694 "objc-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 366: +#line 1696 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 367: +#line 1701 "objc-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 368: +#line 1703 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 369: +#line 1708 "objc-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 370: +#line 1710 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 371: +#line 1721 "objc-parse.y" + { yyval.ttype = start_struct (RECORD_TYPE, yyvsp[-1].ttype); + /* Start scope of tag before parsing components. */ + ;} + break; + + case 372: +#line 1725 "objc-parse.y" + { yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, chainon (yyvsp[-6].ttype, yyvsp[0].ttype)); ;} + break; + + case 373: +#line 1727 "objc-parse.y" + { yyval.ttype = finish_struct (start_struct (RECORD_TYPE, NULL_TREE), + yyvsp[-2].ttype, chainon (yyvsp[-4].ttype, yyvsp[0].ttype)); + ;} + break; + + case 374: +#line 1731 "objc-parse.y" + { yyval.ttype = start_struct (UNION_TYPE, yyvsp[-1].ttype); ;} + break; + + case 375: +#line 1733 "objc-parse.y" + { yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-2].ttype, chainon (yyvsp[-6].ttype, yyvsp[0].ttype)); ;} + break; + + case 376: +#line 1735 "objc-parse.y" + { yyval.ttype = finish_struct (start_struct (UNION_TYPE, NULL_TREE), + yyvsp[-2].ttype, chainon (yyvsp[-4].ttype, yyvsp[0].ttype)); + ;} + break; + + case 377: +#line 1739 "objc-parse.y" + { yyval.ttype = start_enum (yyvsp[-1].ttype); ;} + break; + + case 378: +#line 1741 "objc-parse.y" + { yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), + chainon (yyvsp[-7].ttype, yyvsp[0].ttype)); ;} + break; + + case 379: +#line 1744 "objc-parse.y" + { yyval.ttype = start_enum (NULL_TREE); ;} + break; + + case 380: +#line 1746 "objc-parse.y" + { yyval.ttype = finish_enum (yyvsp[-4].ttype, nreverse (yyvsp[-3].ttype), + chainon (yyvsp[-6].ttype, yyvsp[0].ttype)); ;} + break; + + case 381: +#line 1752 "objc-parse.y" + { yyval.ttype = xref_tag (RECORD_TYPE, yyvsp[0].ttype); ;} + break; + + case 382: +#line 1754 "objc-parse.y" + { yyval.ttype = xref_tag (UNION_TYPE, yyvsp[0].ttype); ;} + break; + + case 383: +#line 1756 "objc-parse.y" + { yyval.ttype = xref_tag (ENUMERAL_TYPE, yyvsp[0].ttype); + /* In ISO C, enumerated types can be referred to + only if already defined. */ + if (pedantic && !COMPLETE_TYPE_P (yyval.ttype)) + pedwarn ("ISO C forbids forward references to `enum' types"); ;} + break; + + case 387: +#line 1771 "objc-parse.y" + { if (pedantic && ! flag_isoc99) + pedwarn ("comma at end of enumerator list"); ;} + break; + + case 388: +#line 1777 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 389: +#line 1779 "objc-parse.y" + { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); + pedwarn ("no semicolon at end of struct or union"); ;} + break; + + case 390: +#line 1784 "objc-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 391: +#line 1786 "objc-parse.y" + { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[-1].ttype); ;} + break; + + case 392: +#line 1788 "objc-parse.y" + { if (pedantic) + pedwarn ("extra semicolon in struct or union specified"); ;} + break; + + case 393: +#line 1792 "objc-parse.y" + { + tree interface = lookup_interface (yyvsp[-1].ttype); + + if (interface) + yyval.ttype = get_class_ivars (interface); + else + { + error ("cannot find interface declaration for `%s'", + IDENTIFIER_POINTER (yyvsp[-1].ttype)); + yyval.ttype = NULL_TREE; + } + ;} + break; + + case 394: +#line 1808 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; + POP_DECLSPEC_STACK; ;} + break; + + case 395: +#line 1811 "objc-parse.y" + { + /* Support for unnamed structs or unions as members of + structs or unions (which is [a] useful and [b] supports + MS P-SDK). */ + if (pedantic) + pedwarn ("ISO C doesn't support unnamed structs/unions"); + + yyval.ttype = grokfield(yyvsp[-1].filename, yyvsp[0].lineno, NULL, current_declspecs, NULL_TREE); + POP_DECLSPEC_STACK; ;} + break; + + case 396: +#line 1821 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; + POP_DECLSPEC_STACK; ;} + break; + + case 397: +#line 1824 "objc-parse.y" + { if (pedantic) + pedwarn ("ISO C forbids member declarations with no members"); + shadow_tag(yyvsp[0].ttype); + yyval.ttype = NULL_TREE; ;} + break; + + case 398: +#line 1829 "objc-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 399: +#line 1831 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; + RESTORE_EXT_FLAGS (yyvsp[-1].ttype); ;} + break; + + case 401: +#line 1838 "objc-parse.y" + { yyval.ttype = chainon (yyvsp[-3].ttype, yyvsp[0].ttype); ;} + break; + + case 403: +#line 1844 "objc-parse.y" + { yyval.ttype = chainon (yyvsp[-3].ttype, yyvsp[0].ttype); ;} + break; + + case 404: +#line 1849 "objc-parse.y" + { yyval.ttype = grokfield (yyvsp[-3].filename, yyvsp[-2].lineno, yyvsp[-1].ttype, current_declspecs, NULL_TREE); + decl_attributes (&yyval.ttype, chainon (yyvsp[0].ttype, all_prefix_attributes), 0); ;} + break; + + case 405: +#line 1853 "objc-parse.y" + { yyval.ttype = grokfield (yyvsp[-5].filename, yyvsp[-4].lineno, yyvsp[-3].ttype, current_declspecs, yyvsp[-1].ttype); + decl_attributes (&yyval.ttype, chainon (yyvsp[0].ttype, all_prefix_attributes), 0); ;} + break; + + case 406: +#line 1856 "objc-parse.y" + { yyval.ttype = grokfield (yyvsp[-4].filename, yyvsp[-3].lineno, NULL_TREE, current_declspecs, yyvsp[-1].ttype); + decl_attributes (&yyval.ttype, chainon (yyvsp[0].ttype, all_prefix_attributes), 0); ;} + break; + + case 407: +#line 1862 "objc-parse.y" + { yyval.ttype = grokfield (yyvsp[-3].filename, yyvsp[-2].lineno, yyvsp[-1].ttype, current_declspecs, NULL_TREE); + decl_attributes (&yyval.ttype, chainon (yyvsp[0].ttype, all_prefix_attributes), 0); ;} + break; + + case 408: +#line 1866 "objc-parse.y" + { yyval.ttype = grokfield (yyvsp[-5].filename, yyvsp[-4].lineno, yyvsp[-3].ttype, current_declspecs, yyvsp[-1].ttype); + decl_attributes (&yyval.ttype, chainon (yyvsp[0].ttype, all_prefix_attributes), 0); ;} + break; + + case 409: +#line 1869 "objc-parse.y" + { yyval.ttype = grokfield (yyvsp[-4].filename, yyvsp[-3].lineno, NULL_TREE, current_declspecs, yyvsp[-1].ttype); + decl_attributes (&yyval.ttype, chainon (yyvsp[0].ttype, all_prefix_attributes), 0); ;} + break; + + case 411: +#line 1881 "objc-parse.y" + { if (yyvsp[-2].ttype == error_mark_node) + yyval.ttype = yyvsp[-2].ttype; + else + yyval.ttype = chainon (yyvsp[0].ttype, yyvsp[-2].ttype); ;} + break; + + case 412: +#line 1886 "objc-parse.y" + { yyval.ttype = error_mark_node; ;} + break; + + case 413: +#line 1892 "objc-parse.y" + { yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 414: +#line 1894 "objc-parse.y" + { yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 415: +#line 1899 "objc-parse.y" + { pending_xref_error (); + yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 416: +#line 1902 "objc-parse.y" + { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 417: +#line 1907 "objc-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 419: +#line 1913 "objc-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + NULL_TREE), + all_prefix_attributes); ;} + break; + + case 420: +#line 1917 "objc-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[0].ttype), + all_prefix_attributes); ;} + break; + + case 421: +#line 1921 "objc-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[-1].ttype), + chainon (yyvsp[0].ttype, all_prefix_attributes)); ;} + break; + + case 425: +#line 1934 "objc-parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 426: +#line 1939 "objc-parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 427: +#line 1941 "objc-parse.y" + { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ;} + break; + + case 428: +#line 1946 "objc-parse.y" + { yyval.ttype = yyvsp[-2].ttype ? tree_cons (yyvsp[-2].ttype, yyvsp[-1].ttype, NULL_TREE) : yyvsp[-1].ttype; ;} + break; + + case 429: +#line 1948 "objc-parse.y" + { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 430: +#line 1950 "objc-parse.y" + { yyval.ttype = set_array_declarator_type (yyvsp[0].ttype, yyvsp[-1].ttype, 1); ;} + break; + + case 431: +#line 1952 "objc-parse.y" + { yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 432: +#line 1954 "objc-parse.y" + { yyval.ttype = set_array_declarator_type (yyvsp[0].ttype, NULL_TREE, 1); ;} + break; + + case 433: +#line 1961 "objc-parse.y" + { yyval.ttype = build_array_declarator (yyvsp[-1].ttype, yyvsp[-2].ttype, 0, 0); ;} + break; + + case 434: +#line 1963 "objc-parse.y" + { yyval.ttype = build_array_declarator (NULL_TREE, yyvsp[-1].ttype, 0, 0); ;} + break; + + case 435: +#line 1965 "objc-parse.y" + { yyval.ttype = build_array_declarator (NULL_TREE, yyvsp[-2].ttype, 0, 1); ;} + break; + + case 436: +#line 1967 "objc-parse.y" + { yyval.ttype = build_array_declarator (yyvsp[-1].ttype, yyvsp[-2].ttype, 1, 0); ;} + break; + + case 437: +#line 1970 "objc-parse.y" + { yyval.ttype = build_array_declarator (yyvsp[-1].ttype, yyvsp[-3].ttype, 1, 0); ;} + break; + + case 440: +#line 1983 "objc-parse.y" + { + pedwarn ("deprecated use of label at end of compound statement"); + ;} + break; + + case 448: +#line 2000 "objc-parse.y" + { if (pedantic && !flag_isoc99) + pedwarn ("ISO C89 forbids mixed declarations and code"); ;} + break; + + case 463: +#line 2030 "objc-parse.y" + { pushlevel (0); + clear_last_expr (); + add_scope_stmt (/*begin_p=*/1, /*partial_p=*/0); + if (objc_method_context) + add_objc_decls (); + ;} + break; + + case 464: +#line 2039 "objc-parse.y" + { yyval.ttype = add_scope_stmt (/*begin_p=*/0, /*partial_p=*/0); ;} + break; + + case 465: +#line 2044 "objc-parse.y" + { if (flag_isoc99) + { + yyval.ttype = c_begin_compound_stmt (); + pushlevel (0); + clear_last_expr (); + add_scope_stmt (/*begin_p=*/1, /*partial_p=*/0); + if (objc_method_context) + add_objc_decls (); + } + else + yyval.ttype = NULL_TREE; + ;} + break; + + case 466: +#line 2062 "objc-parse.y" + { if (flag_isoc99) + { + tree scope_stmt = add_scope_stmt (/*begin_p=*/0, /*partial_p=*/0); + yyval.ttype = poplevel (kept_level_p (), 0, 0); + SCOPE_STMT_BLOCK (TREE_PURPOSE (scope_stmt)) + = SCOPE_STMT_BLOCK (TREE_VALUE (scope_stmt)) + = yyval.ttype; + } + else + yyval.ttype = NULL_TREE; ;} + break; + + case 468: +#line 2079 "objc-parse.y" + { if (pedantic) + pedwarn ("ISO C forbids label declarations"); ;} + break; + + case 471: +#line 2090 "objc-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; + add_decl_stmt (label); + } + ;} + break; + + case 472: +#line 2104 "objc-parse.y" + {;} + break; + + case 474: +#line 2108 "objc-parse.y" + { compstmt_count++; + yyval.ttype = c_begin_compound_stmt (); ;} + break; + + case 475: +#line 2113 "objc-parse.y" + { yyval.ttype = convert (void_type_node, integer_zero_node); ;} + break; + + case 476: +#line 2115 "objc-parse.y" + { yyval.ttype = poplevel (kept_level_p (), 1, 0); + SCOPE_STMT_BLOCK (TREE_PURPOSE (yyvsp[0].ttype)) + = SCOPE_STMT_BLOCK (TREE_VALUE (yyvsp[0].ttype)) + = yyval.ttype; ;} + break; + + case 479: +#line 2128 "objc-parse.y" + { if (current_function_decl == 0) + { + error ("braced-group within expression allowed only inside a function"); + YYERROR; + } + /* We must force a BLOCK for this level + so that, if it is not expanded later, + there is a way to turn off the entire subtree of blocks + that are contained in it. */ + keep_next_level (); + push_label_level (); + compstmt_count++; + yyval.ttype = add_stmt (build_stmt (COMPOUND_STMT, last_tree)); + ;} + break; + + case 480: +#line 2145 "objc-parse.y" + { RECHAIN_STMTS (yyvsp[-1].ttype, COMPOUND_BODY (yyvsp[-1].ttype)); + last_expr_type = NULL_TREE; + yyval.ttype = yyvsp[-1].ttype; ;} + break; + + case 481: +#line 2153 "objc-parse.y" + { c_finish_then (); ;} + break; + + case 483: +#line 2170 "objc-parse.y" + { yyval.ttype = c_begin_if_stmt (); ;} + break; + + case 484: +#line 2172 "objc-parse.y" + { c_expand_start_cond (c_common_truthvalue_conversion (yyvsp[-1].ttype), + compstmt_count,yyvsp[-3].ttype); + yyval.itype = stmt_count; + if_stmt_file = yyvsp[-7].filename; + if_stmt_line = yyvsp[-6].lineno; ;} + break; + + case 485: +#line 2184 "objc-parse.y" + { stmt_count++; + compstmt_count++; + yyval.ttype + = add_stmt (build_stmt (DO_STMT, NULL_TREE, + NULL_TREE)); + /* In the event that a parse error prevents + parsing the complete do-statement, set the + condition now. Otherwise, we can get crashes at + RTL-generation time. */ + DO_COND (yyval.ttype) = error_mark_node; ;} + break; + + case 486: +#line 2195 "objc-parse.y" + { yyval.ttype = yyvsp[-2].ttype; + RECHAIN_STMTS (yyval.ttype, DO_BODY (yyval.ttype)); ;} + break; + + case 487: +#line 2203 "objc-parse.y" + { if (yychar == YYEMPTY) + yychar = YYLEX; + yyval.filename = input_filename; ;} + break; + + case 488: +#line 2209 "objc-parse.y" + { if (yychar == YYEMPTY) + yychar = YYLEX; + yyval.lineno = lineno; ;} + break; + + case 491: +#line 2222 "objc-parse.y" + { if (flag_isoc99) + RECHAIN_STMTS (yyvsp[-2].ttype, COMPOUND_BODY (yyvsp[-2].ttype)); ;} + break; + + case 492: +#line 2228 "objc-parse.y" + { if (yyvsp[0].ttype) + { + STMT_LINENO (yyvsp[0].ttype) = yyvsp[-1].lineno; + /* ??? We currently have no way of recording + the filename for a statement. This probably + matters little in practice at the moment, + but I suspect that problems will occur when + doing inlining at the tree level. */ + } + ;} + break; + + case 493: +#line 2242 "objc-parse.y" + { if (yyvsp[0].ttype) + { + STMT_LINENO (yyvsp[0].ttype) = yyvsp[-1].lineno; + } + ;} + break; + + case 494: +#line 2251 "objc-parse.y" + { c_expand_start_else (); + yyvsp[-1].itype = stmt_count; ;} + break; + + case 495: +#line 2254 "objc-parse.y" + { c_finish_else (); + c_expand_end_cond (); + if (extra_warnings && stmt_count == yyvsp[-3].itype) + warning ("empty body in an else-statement"); ;} + break; + + case 496: +#line 2259 "objc-parse.y" + { c_expand_end_cond (); + /* This warning is here instead of in simple_if, because we + do not want a warning if an empty if is followed by an + else statement. Increment stmt_count so we don't + give a second error if this is a nested `if'. */ + if (extra_warnings && stmt_count++ == yyvsp[0].itype) + warning_with_file_and_line (if_stmt_file, if_stmt_line, + "empty body in an if-statement"); ;} + break; + + case 497: +#line 2271 "objc-parse.y" + { c_expand_end_cond (); ;} + break; + + case 498: +#line 2281 "objc-parse.y" + { stmt_count++; + yyval.ttype = c_begin_while_stmt (); ;} + break; + + case 499: +#line 2284 "objc-parse.y" + { yyvsp[-1].ttype = c_common_truthvalue_conversion (yyvsp[-1].ttype); + c_finish_while_stmt_cond + (c_common_truthvalue_conversion (yyvsp[-1].ttype), yyvsp[-3].ttype); + yyval.ttype = add_stmt (yyvsp[-3].ttype); ;} + break; + + case 500: +#line 2289 "objc-parse.y" + { RECHAIN_STMTS (yyvsp[-1].ttype, WHILE_BODY (yyvsp[-1].ttype)); ;} + break; + + case 501: +#line 2292 "objc-parse.y" + { DO_COND (yyvsp[-4].ttype) = c_common_truthvalue_conversion (yyvsp[-2].ttype); ;} + break; + + case 502: +#line 2294 "objc-parse.y" + { ;} + break; + + case 503: +#line 2296 "objc-parse.y" + { yyval.ttype = build_stmt (FOR_STMT, NULL_TREE, NULL_TREE, + NULL_TREE, NULL_TREE); + add_stmt (yyval.ttype); ;} + break; + + case 504: +#line 2300 "objc-parse.y" + { stmt_count++; + RECHAIN_STMTS (yyvsp[-2].ttype, FOR_INIT_STMT (yyvsp[-2].ttype)); ;} + break; + + case 505: +#line 2303 "objc-parse.y" + { if (yyvsp[-1].ttype) + FOR_COND (yyvsp[-5].ttype) + = c_common_truthvalue_conversion (yyvsp[-1].ttype); ;} + break; + + case 506: +#line 2307 "objc-parse.y" + { FOR_EXPR (yyvsp[-8].ttype) = yyvsp[-1].ttype; ;} + break; + + case 507: +#line 2309 "objc-parse.y" + { RECHAIN_STMTS (yyvsp[-10].ttype, FOR_BODY (yyvsp[-10].ttype)); ;} + break; + + case 508: +#line 2311 "objc-parse.y" + { stmt_count++; + yyval.ttype = c_start_case (yyvsp[-1].ttype); ;} + break; + + case 509: +#line 2314 "objc-parse.y" + { c_finish_case (); ;} + break; + + case 510: +#line 2319 "objc-parse.y" + { add_stmt (build_stmt (EXPR_STMT, yyvsp[-1].ttype)); ;} + break; + + case 511: +#line 2321 "objc-parse.y" + { check_for_loop_decls (); ;} + break; + + case 512: +#line 2327 "objc-parse.y" + { stmt_count++; yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 513: +#line 2329 "objc-parse.y" + { stmt_count++; + yyval.ttype = c_expand_expr_stmt (yyvsp[-1].ttype); ;} + break; + + case 514: +#line 2332 "objc-parse.y" + { if (flag_isoc99) + RECHAIN_STMTS (yyvsp[-2].ttype, COMPOUND_BODY (yyvsp[-2].ttype)); + yyval.ttype = NULL_TREE; ;} + break; + + case 515: +#line 2336 "objc-parse.y" + { stmt_count++; + yyval.ttype = add_stmt (build_break_stmt ()); ;} + break; + + case 516: +#line 2339 "objc-parse.y" + { stmt_count++; + yyval.ttype = add_stmt (build_continue_stmt ()); ;} + break; + + case 517: +#line 2342 "objc-parse.y" + { stmt_count++; + yyval.ttype = c_expand_return (NULL_TREE); ;} + break; + + case 518: +#line 2345 "objc-parse.y" + { stmt_count++; + yyval.ttype = c_expand_return (yyvsp[-1].ttype); ;} + break; + + case 519: +#line 2348 "objc-parse.y" + { stmt_count++; + yyval.ttype = simple_asm_stmt (yyvsp[-2].ttype); ;} + break; + + case 520: +#line 2352 "objc-parse.y" + { stmt_count++; + yyval.ttype = build_asm_stmt (yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, NULL_TREE); ;} + break; + + case 521: +#line 2357 "objc-parse.y" + { stmt_count++; + yyval.ttype = build_asm_stmt (yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE); ;} + break; + + case 522: +#line 2362 "objc-parse.y" + { stmt_count++; + yyval.ttype = build_asm_stmt (yyvsp[-10].ttype, yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype); ;} + break; + + case 523: +#line 2365 "objc-parse.y" + { tree decl; + stmt_count++; + decl = lookup_label (yyvsp[-1].ttype); + if (decl != 0) + { + TREE_USED (decl) = 1; + yyval.ttype = add_stmt (build_stmt (GOTO_STMT, decl)); + } + else + yyval.ttype = NULL_TREE; + ;} + break; + + case 524: +#line 2377 "objc-parse.y" + { if (pedantic) + pedwarn ("ISO C forbids `goto *expr;'"); + stmt_count++; + yyvsp[-1].ttype = convert (ptr_type_node, yyvsp[-1].ttype); + yyval.ttype = add_stmt (build_stmt (GOTO_STMT, yyvsp[-1].ttype)); ;} + break; + + case 525: +#line 2383 "objc-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 526: +#line 2391 "objc-parse.y" + { stmt_count++; + yyval.ttype = do_case (yyvsp[-1].ttype, NULL_TREE); ;} + break; + + case 527: +#line 2394 "objc-parse.y" + { stmt_count++; + yyval.ttype = do_case (yyvsp[-3].ttype, yyvsp[-1].ttype); ;} + break; + + case 528: +#line 2397 "objc-parse.y" + { stmt_count++; + yyval.ttype = do_case (NULL_TREE, NULL_TREE); ;} + break; + + case 529: +#line 2400 "objc-parse.y" + { tree label = define_label (yyvsp[-3].filename, yyvsp[-2].lineno, yyvsp[-4].ttype); + stmt_count++; + if (label) + { + decl_attributes (&label, yyvsp[0].ttype, 0); + yyval.ttype = add_stmt (build_stmt (LABEL_STMT, label)); + } + else + yyval.ttype = NULL_TREE; + ;} + break; + + case 530: +#line 2416 "objc-parse.y" + { emit_line_note (input_filename, lineno); + yyval.ttype = NULL_TREE; ;} + break; + + case 531: +#line 2419 "objc-parse.y" + { emit_line_note (input_filename, lineno); ;} + break; + + case 532: +#line 2424 "objc-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 534: +#line 2431 "objc-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 537: +#line 2438 "objc-parse.y" + { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ;} + break; + + case 538: +#line 2443 "objc-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (NULL_TREE, yyvsp[-3].ttype), yyvsp[-1].ttype); ;} + break; + + case 539: +#line 2445 "objc-parse.y" + { yyvsp[-5].ttype = build_string (IDENTIFIER_LENGTH (yyvsp[-5].ttype), + IDENTIFIER_POINTER (yyvsp[-5].ttype)); + yyval.ttype = build_tree_list (build_tree_list (yyvsp[-5].ttype, yyvsp[-3].ttype), yyvsp[-1].ttype); ;} + break; + + case 540: +#line 2452 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ;} + break; + + case 541: +#line 2454 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype); ;} + break; + + case 542: +#line 2464 "objc-parse.y" + { pushlevel (0); + clear_parm_order (); + declare_parm_level (0); ;} + break; + + case 543: +#line 2468 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; + parmlist_tags_warning (); + poplevel (0, 0, 0); ;} + break; + + case 545: +#line 2476 "objc-parse.y" + { tree parm; + if (pedantic) + pedwarn ("ISO 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 546: +#line 2484 "objc-parse.y" + { /* Dummy action so attributes are in known place + on parser stack. */ ;} + break; + + case 547: +#line 2487 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 548: +#line 2489 "objc-parse.y" + { yyval.ttype = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); ;} + break; + + case 549: +#line 2495 "objc-parse.y" + { yyval.ttype = get_parm_info (0); ;} + break; + + case 550: +#line 2497 "objc-parse.y" + { yyval.ttype = get_parm_info (0); + /* Gcc used to allow this as an extension. However, it does + not work for all targets, and thus has been disabled. + Also, since func (...) and func () are indistinguishable, + it caused problems with the code in expand_builtin which + tries to verify that BUILT_IN_NEXT_ARG is being used + correctly. */ + error ("ISO C requires a named argument before `...'"); + ;} + break; + + case 551: +#line 2507 "objc-parse.y" + { yyval.ttype = get_parm_info (1); + parsing_iso_function_signature = true; + ;} + break; + + case 552: +#line 2511 "objc-parse.y" + { yyval.ttype = get_parm_info (0); ;} + break; + + case 553: +#line 2516 "objc-parse.y" + { push_parm_decl (yyvsp[0].ttype); ;} + break; + + case 554: +#line 2518 "objc-parse.y" + { push_parm_decl (yyvsp[0].ttype); ;} + break; + + case 555: +#line 2525 "objc-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[-1].ttype), + chainon (yyvsp[0].ttype, all_prefix_attributes)); + POP_DECLSPEC_STACK; ;} + break; + + case 556: +#line 2530 "objc-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[-1].ttype), + chainon (yyvsp[0].ttype, all_prefix_attributes)); + POP_DECLSPEC_STACK; ;} + break; + + case 557: +#line 2535 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; + POP_DECLSPEC_STACK; ;} + break; + + case 558: +#line 2538 "objc-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[-1].ttype), + chainon (yyvsp[0].ttype, all_prefix_attributes)); + POP_DECLSPEC_STACK; ;} + break; + + case 559: +#line 2544 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; + POP_DECLSPEC_STACK; ;} + break; + + case 560: +#line 2552 "objc-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[-1].ttype), + chainon (yyvsp[0].ttype, all_prefix_attributes)); + POP_DECLSPEC_STACK; ;} + break; + + case 561: +#line 2557 "objc-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[-1].ttype), + chainon (yyvsp[0].ttype, all_prefix_attributes)); + POP_DECLSPEC_STACK; ;} + break; + + case 562: +#line 2562 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; + POP_DECLSPEC_STACK; ;} + break; + + case 563: +#line 2565 "objc-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[-1].ttype), + chainon (yyvsp[0].ttype, all_prefix_attributes)); + POP_DECLSPEC_STACK; ;} + break; + + case 564: +#line 2571 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; + POP_DECLSPEC_STACK; ;} + break; + + case 565: +#line 2577 "objc-parse.y" + { prefix_attributes = chainon (prefix_attributes, yyvsp[-3].ttype); + all_prefix_attributes = prefix_attributes; ;} + break; + + case 566: +#line 2586 "objc-parse.y" + { pushlevel (0); + clear_parm_order (); + declare_parm_level (1); ;} + break; + + case 567: +#line 2590 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; + parmlist_tags_warning (); + poplevel (0, 0, 0); ;} + break; + + case 569: +#line 2598 "objc-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); + + /* Make sure we have a parmlist after attributes. */ + if (yyvsp[-3].ttype != 0 + && (TREE_CODE (yyval.ttype) != TREE_LIST + || TREE_PURPOSE (yyval.ttype) == 0 + || TREE_CODE (TREE_PURPOSE (yyval.ttype)) != PARM_DECL)) + YYERROR1; + ;} + break; + + case 570: +#line 2616 "objc-parse.y" + { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 571: +#line 2618 "objc-parse.y" + { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;} + break; + + case 572: +#line 2624 "objc-parse.y" + { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 573: +#line 2626 "objc-parse.y" + { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;} + break; + + case 574: +#line 2631 "objc-parse.y" + { yyval.ttype = SAVE_EXT_FLAGS(); + pedantic = 0; + warn_pointer_arith = 0; + warn_traditional = 0; + flag_iso = 0; ;} + break; + + case 580: +#line 2647 "objc-parse.y" + { + if (objc_implementation_context) + { + finish_class (objc_implementation_context); + objc_ivar_chain = NULL_TREE; + objc_implementation_context = NULL_TREE; + } + else + warning ("`@end' must appear in an implementation context"); + ;} + break; + + case 581: +#line 2662 "objc-parse.y" + { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ;} + break; + + case 582: +#line 2664 "objc-parse.y" + { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ;} + break; + + case 583: +#line 2669 "objc-parse.y" + { + objc_declare_class (yyvsp[-1].ttype); + ;} + break; + + case 584: +#line 2676 "objc-parse.y" + { + objc_declare_alias (yyvsp[-2].ttype, yyvsp[-1].ttype); + ;} + break; + + case 585: +#line 2683 "objc-parse.y" + { + objc_interface_context = objc_ivar_context + = start_class (CLASS_INTERFACE_TYPE, yyvsp[-2].ttype, NULL_TREE, yyvsp[-1].ttype); + objc_public_flag = 0; + ;} + break; + + case 586: +#line 2689 "objc-parse.y" + { + continue_class (objc_interface_context); + ;} + break; + + case 587: +#line 2694 "objc-parse.y" + { + finish_class (objc_interface_context); + objc_interface_context = NULL_TREE; + ;} + break; + + case 588: +#line 2700 "objc-parse.y" + { + objc_interface_context + = start_class (CLASS_INTERFACE_TYPE, yyvsp[-1].ttype, NULL_TREE, yyvsp[0].ttype); + continue_class (objc_interface_context); + ;} + break; + + case 589: +#line 2707 "objc-parse.y" + { + finish_class (objc_interface_context); + objc_interface_context = NULL_TREE; + ;} + break; + + case 590: +#line 2713 "objc-parse.y" + { + objc_interface_context = objc_ivar_context + = start_class (CLASS_INTERFACE_TYPE, yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[-1].ttype); + objc_public_flag = 0; + ;} + break; + + case 591: +#line 2719 "objc-parse.y" + { + continue_class (objc_interface_context); + ;} + break; + + case 592: +#line 2724 "objc-parse.y" + { + finish_class (objc_interface_context); + objc_interface_context = NULL_TREE; + ;} + break; + + case 593: +#line 2730 "objc-parse.y" + { + objc_interface_context + = start_class (CLASS_INTERFACE_TYPE, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); + continue_class (objc_interface_context); + ;} + break; + + case 594: +#line 2737 "objc-parse.y" + { + finish_class (objc_interface_context); + objc_interface_context = NULL_TREE; + ;} + break; + + case 595: +#line 2743 "objc-parse.y" + { + objc_implementation_context = objc_ivar_context + = start_class (CLASS_IMPLEMENTATION_TYPE, yyvsp[-1].ttype, NULL_TREE, NULL_TREE); + objc_public_flag = 0; + ;} + break; + + case 596: +#line 2749 "objc-parse.y" + { + objc_ivar_chain + = continue_class (objc_implementation_context); + ;} + break; + + case 597: +#line 2755 "objc-parse.y" + { + objc_implementation_context + = start_class (CLASS_IMPLEMENTATION_TYPE, yyvsp[0].ttype, NULL_TREE, NULL_TREE); + objc_ivar_chain + = continue_class (objc_implementation_context); + ;} + break; + + case 598: +#line 2763 "objc-parse.y" + { + objc_implementation_context = objc_ivar_context + = start_class (CLASS_IMPLEMENTATION_TYPE, yyvsp[-3].ttype, yyvsp[-1].ttype, NULL_TREE); + objc_public_flag = 0; + ;} + break; + + case 599: +#line 2769 "objc-parse.y" + { + objc_ivar_chain + = continue_class (objc_implementation_context); + ;} + break; + + case 600: +#line 2775 "objc-parse.y" + { + objc_implementation_context + = start_class (CLASS_IMPLEMENTATION_TYPE, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); + objc_ivar_chain + = continue_class (objc_implementation_context); + ;} + break; + + case 601: +#line 2783 "objc-parse.y" + { + objc_interface_context + = start_class (CATEGORY_INTERFACE_TYPE, yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); + continue_class (objc_interface_context); + ;} + break; + + case 602: +#line 2790 "objc-parse.y" + { + finish_class (objc_interface_context); + objc_interface_context = NULL_TREE; + ;} + break; + + case 603: +#line 2796 "objc-parse.y" + { + objc_implementation_context + = start_class (CATEGORY_IMPLEMENTATION_TYPE, yyvsp[-3].ttype, yyvsp[-1].ttype, NULL_TREE); + objc_ivar_chain + = continue_class (objc_implementation_context); + ;} + break; + + case 604: +#line 2806 "objc-parse.y" + { + objc_pq_context = 1; + objc_interface_context + = start_protocol(PROTOCOL_INTERFACE_TYPE, yyvsp[-1].ttype, yyvsp[0].ttype); + ;} + break; + + case 605: +#line 2812 "objc-parse.y" + { + objc_pq_context = 0; + finish_protocol(objc_interface_context); + objc_interface_context = NULL_TREE; + ;} + break; + + case 606: +#line 2821 "objc-parse.y" + { + objc_declare_protocols (yyvsp[-1].ttype); + ;} + break; + + case 607: +#line 2828 "objc-parse.y" + { + yyval.ttype = NULL_TREE; + ;} + break; + + case 609: +#line 2836 "objc-parse.y" + { + if (yyvsp[-2].code == LT_EXPR && yyvsp[0].code == GT_EXPR) + yyval.ttype = yyvsp[-1].ttype; + else + YYERROR1; + ;} + break; + + case 612: +#line 2850 "objc-parse.y" + { objc_public_flag = 2; ;} + break; + + case 613: +#line 2851 "objc-parse.y" + { objc_public_flag = 0; ;} + break; + + case 614: +#line 2852 "objc-parse.y" + { objc_public_flag = 1; ;} + break; + + case 615: +#line 2857 "objc-parse.y" + { + yyval.ttype = NULL_TREE; + ;} + break; + + case 617: +#line 2862 "objc-parse.y" + { + if (pedantic) + pedwarn ("extra semicolon in struct or union specified"); + ;} + break; + + case 618: +#line 2880 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; + POP_DECLSPEC_STACK; ;} + break; + + case 619: +#line 2883 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; + POP_DECLSPEC_STACK; ;} + break; + + case 620: +#line 2886 "objc-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 621: +#line 2891 "objc-parse.y" + { yyval.ttype = NULL_TREE; ;} + break; + + case 624: +#line 2898 "objc-parse.y" + { + yyval.ttype = add_instance_variable (objc_ivar_context, + objc_public_flag, + yyvsp[0].ttype, current_declspecs, + NULL_TREE); + ;} + break; + + case 625: +#line 2905 "objc-parse.y" + { + yyval.ttype = add_instance_variable (objc_ivar_context, + objc_public_flag, + yyvsp[-2].ttype, current_declspecs, yyvsp[0].ttype); + ;} + break; + + case 626: +#line 2911 "objc-parse.y" + { + yyval.ttype = add_instance_variable (objc_ivar_context, + objc_public_flag, + NULL_TREE, + current_declspecs, yyvsp[0].ttype); + ;} + break; + + case 627: +#line 2921 "objc-parse.y" + { objc_inherit_code = CLASS_METHOD_DECL; ;} + break; + + case 628: +#line 2923 "objc-parse.y" + { objc_inherit_code = INSTANCE_METHOD_DECL; ;} + break; + + case 629: +#line 2928 "objc-parse.y" + { + objc_pq_context = 1; + if (!objc_implementation_context) + fatal_error ("method definition not in class context"); + ;} + break; + + case 630: +#line 2934 "objc-parse.y" + { + objc_pq_context = 0; + if (objc_inherit_code == CLASS_METHOD_DECL) + add_class_method (objc_implementation_context, yyvsp[0].ttype); + else + add_instance_method (objc_implementation_context, yyvsp[0].ttype); + start_method_def (yyvsp[0].ttype); + ;} + break; + + case 631: +#line 2943 "objc-parse.y" + { + continue_method_def (); + ;} + break; + + case 632: +#line 2947 "objc-parse.y" + { + finish_method_def (); + ;} + break; + + case 634: +#line 2958 "objc-parse.y" + {yyval.ttype = NULL_TREE; ;} + break; + + case 639: +#line 2965 "objc-parse.y" + {yyval.ttype = NULL_TREE; ;} + break; + + case 643: +#line 2975 "objc-parse.y" + { + /* Remember protocol qualifiers in prototypes. */ + objc_pq_context = 1; + ;} + break; + + case 644: +#line 2980 "objc-parse.y" + { + /* Forget protocol qualifiers here. */ + objc_pq_context = 0; + if (objc_inherit_code == CLASS_METHOD_DECL) + add_class_method (objc_interface_context, yyvsp[0].ttype); + else + add_instance_method (objc_interface_context, yyvsp[0].ttype); + ;} + break; + + case 646: +#line 2993 "objc-parse.y" + { + yyval.ttype = build_method_decl (objc_inherit_code, yyvsp[-2].ttype, yyvsp[0].ttype, NULL_TREE); + ;} + break; + + case 647: +#line 2998 "objc-parse.y" + { + yyval.ttype = build_method_decl (objc_inherit_code, NULL_TREE, yyvsp[0].ttype, NULL_TREE); + ;} + break; + + case 648: +#line 3003 "objc-parse.y" + { + yyval.ttype = build_method_decl (objc_inherit_code, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); + ;} + break; + + case 649: +#line 3008 "objc-parse.y" + { + yyval.ttype = build_method_decl (objc_inherit_code, NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); + ;} + break; + + case 658: +#line 3038 "objc-parse.y" + { POP_DECLSPEC_STACK; ;} + break; + + case 659: +#line 3040 "objc-parse.y" + { shadow_tag (yyvsp[-1].ttype); ;} + break; + + case 660: +#line 3042 "objc-parse.y" + { pedwarn ("empty declaration"); ;} + break; + + case 661: +#line 3047 "objc-parse.y" + { push_parm_decl (yyvsp[0].ttype); ;} + break; + + case 662: +#line 3049 "objc-parse.y" + { push_parm_decl (yyvsp[0].ttype); ;} + break; + + case 663: +#line 3057 "objc-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[-1].ttype), + chainon (yyvsp[0].ttype, all_prefix_attributes)); ;} + break; + + case 664: +#line 3061 "objc-parse.y" + { yyval.ttype = build_tree_list (build_tree_list (current_declspecs, + yyvsp[-1].ttype), + chainon (yyvsp[0].ttype, all_prefix_attributes)); ;} + break; + + case 665: +#line 3065 "objc-parse.y" + { yyval.ttype = yyvsp[0].ttype; ;} + break; + + case 666: +#line 3070 "objc-parse.y" + { + yyval.ttype = NULL_TREE; + ;} + break; + + case 667: +#line 3074 "objc-parse.y" + { + /* oh what a kludge! */ + yyval.ttype = objc_ellipsis_node; + ;} + break; + + case 668: +#line 3079 "objc-parse.y" + { + pushlevel (0); + ;} + break; + + case 669: +#line 3083 "objc-parse.y" + { + /* returns a tree list node generated by get_parm_info */ + yyval.ttype = yyvsp[0].ttype; + poplevel (0, 0, 0); + ;} + break; + + case 672: +#line 3098 "objc-parse.y" + { + yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); + ;} + break; + + case 699: +#line 3120 "objc-parse.y" + { + yyval.ttype = build_keyword_decl (yyvsp[-5].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); + ;} + break; + + case 700: +#line 3125 "objc-parse.y" + { + yyval.ttype = build_keyword_decl (yyvsp[-2].ttype, NULL_TREE, yyvsp[0].ttype); + ;} + break; + + case 701: +#line 3130 "objc-parse.y" + { + yyval.ttype = build_keyword_decl (NULL_TREE, yyvsp[-2].ttype, yyvsp[0].ttype); + ;} + break; + + case 702: +#line 3135 "objc-parse.y" + { + yyval.ttype = build_keyword_decl (NULL_TREE, NULL_TREE, yyvsp[0].ttype); + ;} + break; + + case 706: +#line 3148 "objc-parse.y" + { + yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); + ;} + break; + + case 707: +#line 3156 "objc-parse.y" + { + if (TREE_CHAIN (yyvsp[0].ttype) == NULL_TREE) + /* just return the expr., remove a level of indirection */ + yyval.ttype = TREE_VALUE (yyvsp[0].ttype); + else + /* we have a comma expr., we will collapse later */ + yyval.ttype = yyvsp[0].ttype; + ;} + break; + + case 708: +#line 3168 "objc-parse.y" + { + yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); + ;} + break; + + case 709: +#line 3172 "objc-parse.y" + { + yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); + ;} + break; + + case 711: +#line 3180 "objc-parse.y" + { + yyval.ttype = get_class_reference (yyvsp[0].ttype); + ;} + break; + + case 712: +#line 3187 "objc-parse.y" + { yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[-1].ttype); ;} + break; + + case 716: +#line 3198 "objc-parse.y" + { + yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); + ;} + break; + + case 717: +#line 3205 "objc-parse.y" + { + yyval.ttype = build_tree_list (yyvsp[-1].ttype, NULL_TREE); + ;} + break; + + case 718: +#line 3209 "objc-parse.y" + { + yyval.ttype = build_tree_list (NULL_TREE, NULL_TREE); + ;} + break; + + case 719: +#line 3216 "objc-parse.y" + { + yyval.ttype = yyvsp[-1].ttype; + ;} + break; + + case 720: +#line 3223 "objc-parse.y" + { + yyval.ttype = yyvsp[-1].ttype; + ;} + break; + + case 721: +#line 3232 "objc-parse.y" + { + yyval.ttype = groktypename (yyvsp[-1].ttype); + ;} + break; + + + } + +/* Line 991 of yacc.c. */ +#line 6582 "op17872.c" + + yyvsp -= yylen; + yyssp -= yylen; + + + YY_STACK_PRINT (yyss, yyssp); + + *++yyvsp = yyval; + + + /* 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 - YYNTOKENS] + *yyssp; + if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) + yystate = yytable[yystate]; + else + yystate = yydefgoto[yyn - YYNTOKENS]; + + goto yynewstate; + + +/*------------------------------------. +| yyerrlab -- here on detecting error | +`------------------------------------*/ +yyerrlab: + /* If not already recovering from an error, report this error. */ + if (!yyerrstatus) + { + ++yynerrs; +#if YYERROR_VERBOSE + yyn = yypact[yystate]; + + if (YYPACT_NINF < yyn && yyn < YYLAST) + { + YYSIZE_T yysize = 0; + int yytype = YYTRANSLATE (yychar); + char *yymsg; + int yyx, yycount; + + yycount = 0; + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. */ + for (yyx = yyn < 0 ? -yyn : 0; + yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) + yysize += yystrlen (yytname[yyx]) + 15, yycount++; + yysize += yystrlen ("syntax error, unexpected ") + 1; + yysize += yystrlen (yytname[yytype]); + yymsg = (char *) YYSTACK_ALLOC (yysize); + if (yymsg != 0) + { + char *yyp = yystpcpy (yymsg, "syntax error, unexpected "); + yyp = yystpcpy (yyp, yytname[yytype]); + + if (yycount < 5) + { + yycount = 0; + for (yyx = yyn < 0 ? -yyn : 0; + yyx < (int) (sizeof (yytname) / sizeof (char *)); + yyx++) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) + { + const char *yyq = ! yycount ? ", expecting " : " or "; + yyp = yystpcpy (yyp, yyq); + yyp = yystpcpy (yyp, yytname[yyx]); + yycount++; + } + } + yyerror (yymsg); + YYSTACK_FREE (yymsg); + } + else + yyerror ("syntax error; also virtual memory exhausted"); + } + else +#endif /* YYERROR_VERBOSE */ + yyerror ("syntax error"); + } + + + + 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) + { + /* Pop the error token. */ + YYPOPSTACK; + /* Pop the rest of the stack. */ + while (yyss < yyssp) + { + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp); + yydestruct (yystos[*yyssp], yyvsp); + YYPOPSTACK; + } + YYABORT; + } + + YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc); + yydestruct (yytoken, &yylval); + yychar = YYEMPTY; + + } + + /* Else will try to reuse lookahead token after shifting the error + token. */ + goto yyerrlab2; + + +/*----------------------------------------------------. +| yyerrlab1 -- error raised explicitly by an action. | +`----------------------------------------------------*/ +yyerrlab1: + + /* Suppress GCC warning that yyerrlab1 is unused when no action + invokes YYERROR. MacOS 10.2.3's buggy "smart preprocessor" + insists on the trailing semicolon. */ +#if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__) + __attribute__ ((__unused__)); +#endif + + + goto yyerrlab2; + + +/*---------------------------------------------------------------. +| yyerrlab2 -- pop states until the error token can be shifted. | +`---------------------------------------------------------------*/ +yyerrlab2: + yyerrstatus = 3; /* Each real token shifted decrements this. */ + + for (;;) + { + yyn = yypact[yystate]; + if (yyn != YYPACT_NINF) + { + yyn += YYTERROR; + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) + { + yyn = yytable[yyn]; + if (0 < yyn) + break; + } + } + + /* Pop the current state because it cannot handle the error token. */ + if (yyssp == yyss) + YYABORT; + + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp); + yydestruct (yystos[yystate], yyvsp); + yyvsp--; + yystate = *--yyssp; + + YY_STACK_PRINT (yyss, yyssp); + } + + if (yyn == YYFINAL) + YYACCEPT; + + YYDPRINTF ((stderr, "Shifting error token, ")); + + *++yyvsp = yylval; + + + yystate = yyn; + goto yynewstate; + + +/*-------------------------------------. +| yyacceptlab -- YYACCEPT comes here. | +`-------------------------------------*/ +yyacceptlab: + yyresult = 0; + goto yyreturn; + +/*-----------------------------------. +| yyabortlab -- YYABORT comes here. | +`-----------------------------------*/ +yyabortlab: + yyresult = 1; + goto yyreturn; + +#ifndef yyoverflow +/*----------------------------------------------. +| yyoverflowlab -- parser overflow comes here. | +`----------------------------------------------*/ +yyoverflowlab: + yyerror ("parser stack overflow"); + yyresult = 2; + /* Fall through. */ +#endif + +yyreturn: +#ifndef yyoverflow + if (yyss != yyssa) + YYSTACK_FREE (yyss); +#endif + return yyresult; +} + + +#line 3237 "objc-parse.y" + + +/* yylex() is a thin wrapper around c_lex(), all it does is translate + cpplib.h's token codes into yacc's token codes. */ + +static enum cpp_ttype last_token; + +/* The reserved keyword table. */ +struct resword +{ + const char *word; + ENUM_BITFIELD(rid) rid : 16; + unsigned int disable : 16; +}; + +/* Disable mask. Keywords are disabled if (reswords[i].disable & mask) is + _true_. */ +#define D_C89 0x01 /* not in C89 */ +#define D_EXT 0x02 /* GCC extension */ +#define D_EXT89 0x04 /* GCC extension incorporated in C99 */ +#define D_OBJC 0x08 /* Objective C only */ + +static const struct resword reswords[] = +{ + { "_Bool", RID_BOOL, 0 }, + { "_Complex", RID_COMPLEX, 0 }, + { "__FUNCTION__", RID_FUNCTION_NAME, 0 }, + { "__PRETTY_FUNCTION__", RID_PRETTY_FUNCTION_NAME, 0 }, + { "__alignof", RID_ALIGNOF, 0 }, + { "__alignof__", RID_ALIGNOF, 0 }, + { "__asm", RID_ASM, 0 }, + { "__asm__", RID_ASM, 0 }, + { "__attribute", RID_ATTRIBUTE, 0 }, + { "__attribute__", RID_ATTRIBUTE, 0 }, + { "__bounded", RID_BOUNDED, 0 }, + { "__bounded__", RID_BOUNDED, 0 }, + { "__builtin_choose_expr", RID_CHOOSE_EXPR, 0 }, + { "__builtin_types_compatible_p", RID_TYPES_COMPATIBLE_P, 0 }, + { "__builtin_va_arg", RID_VA_ARG, 0 }, + { "__complex", RID_COMPLEX, 0 }, + { "__complex__", RID_COMPLEX, 0 }, + { "__const", RID_CONST, 0 }, + { "__const__", RID_CONST, 0 }, + { "__extension__", RID_EXTENSION, 0 }, + { "__func__", RID_C99_FUNCTION_NAME, 0 }, + { "__imag", RID_IMAGPART, 0 }, + { "__imag__", RID_IMAGPART, 0 }, + { "__inline", RID_INLINE, 0 }, + { "__inline__", RID_INLINE, 0 }, + { "__label__", RID_LABEL, 0 }, + { "__ptrbase", RID_PTRBASE, 0 }, + { "__ptrbase__", RID_PTRBASE, 0 }, + { "__ptrextent", RID_PTREXTENT, 0 }, + { "__ptrextent__", RID_PTREXTENT, 0 }, + { "__ptrvalue", RID_PTRVALUE, 0 }, + { "__ptrvalue__", RID_PTRVALUE, 0 }, + { "__real", RID_REALPART, 0 }, + { "__real__", RID_REALPART, 0 }, + { "__restrict", RID_RESTRICT, 0 }, + { "__restrict__", RID_RESTRICT, 0 }, + { "__signed", RID_SIGNED, 0 }, + { "__signed__", RID_SIGNED, 0 }, + { "__thread", RID_THREAD, 0 }, + { "__typeof", RID_TYPEOF, 0 }, + { "__typeof__", RID_TYPEOF, 0 }, + { "__unbounded", RID_UNBOUNDED, 0 }, + { "__unbounded__", RID_UNBOUNDED, 0 }, + { "__volatile", RID_VOLATILE, 0 }, + { "__volatile__", RID_VOLATILE, 0 }, + { "asm", RID_ASM, D_EXT }, + { "auto", RID_AUTO, 0 }, + { "break", RID_BREAK, 0 }, + { "case", RID_CASE, 0 }, + { "char", RID_CHAR, 0 }, + { "const", RID_CONST, 0 }, + { "continue", RID_CONTINUE, 0 }, + { "default", RID_DEFAULT, 0 }, + { "do", RID_DO, 0 }, + { "double", RID_DOUBLE, 0 }, + { "else", RID_ELSE, 0 }, + { "enum", RID_ENUM, 0 }, + { "extern", RID_EXTERN, 0 }, + { "float", RID_FLOAT, 0 }, + { "for", RID_FOR, 0 }, + { "goto", RID_GOTO, 0 }, + { "if", RID_IF, 0 }, + { "inline", RID_INLINE, D_EXT89 }, + { "int", RID_INT, 0 }, + { "long", RID_LONG, 0 }, + { "register", RID_REGISTER, 0 }, + { "restrict", RID_RESTRICT, D_C89 }, + { "return", RID_RETURN, 0 }, + { "short", RID_SHORT, 0 }, + { "signed", RID_SIGNED, 0 }, + { "sizeof", RID_SIZEOF, 0 }, + { "static", RID_STATIC, 0 }, + { "struct", RID_STRUCT, 0 }, + { "switch", RID_SWITCH, 0 }, + { "typedef", RID_TYPEDEF, 0 }, + { "typeof", RID_TYPEOF, D_EXT }, + { "union", RID_UNION, 0 }, + { "unsigned", RID_UNSIGNED, 0 }, + { "void", RID_VOID, 0 }, + { "volatile", RID_VOLATILE, 0 }, + { "while", RID_WHILE, 0 }, + { "id", RID_ID, D_OBJC }, + + /* These objc keywords are recognized only immediately after + an '@'. */ + { "class", RID_AT_CLASS, D_OBJC }, + { "compatibility_alias", RID_AT_ALIAS, D_OBJC }, + { "defs", RID_AT_DEFS, D_OBJC }, + { "encode", RID_AT_ENCODE, D_OBJC }, + { "end", RID_AT_END, D_OBJC }, + { "implementation", RID_AT_IMPLEMENTATION, D_OBJC }, + { "interface", RID_AT_INTERFACE, D_OBJC }, + { "private", RID_AT_PRIVATE, D_OBJC }, + { "protected", RID_AT_PROTECTED, D_OBJC }, + { "protocol", RID_AT_PROTOCOL, D_OBJC }, + { "public", RID_AT_PUBLIC, D_OBJC }, + { "selector", RID_AT_SELECTOR, D_OBJC }, + + /* These are recognized only in protocol-qualifier context + (see above) */ + { "bycopy", RID_BYCOPY, D_OBJC }, + { "byref", RID_BYREF, D_OBJC }, + { "in", RID_IN, D_OBJC }, + { "inout", RID_INOUT, D_OBJC }, + { "oneway", RID_ONEWAY, D_OBJC }, + { "out", RID_OUT, D_OBJC }, +}; +#define N_reswords (sizeof reswords / sizeof (struct resword)) + +/* Table mapping from RID_* constants to yacc token numbers. + Unfortunately we have to have entries for all the keywords in all + three languages. */ +static const short rid_to_yy[RID_MAX] = +{ + /* RID_STATIC */ STATIC, + /* RID_UNSIGNED */ TYPESPEC, + /* RID_LONG */ TYPESPEC, + /* RID_CONST */ TYPE_QUAL, + /* RID_EXTERN */ SCSPEC, + /* RID_REGISTER */ SCSPEC, + /* RID_TYPEDEF */ SCSPEC, + /* RID_SHORT */ TYPESPEC, + /* RID_INLINE */ SCSPEC, + /* RID_VOLATILE */ TYPE_QUAL, + /* RID_SIGNED */ TYPESPEC, + /* RID_AUTO */ SCSPEC, + /* RID_RESTRICT */ TYPE_QUAL, + + /* C extensions */ + /* RID_BOUNDED */ TYPE_QUAL, + /* RID_UNBOUNDED */ TYPE_QUAL, + /* RID_COMPLEX */ TYPESPEC, + /* RID_THREAD */ SCSPEC, + + /* C++ */ + /* RID_FRIEND */ 0, + /* RID_VIRTUAL */ 0, + /* RID_EXPLICIT */ 0, + /* RID_EXPORT */ 0, + /* RID_MUTABLE */ 0, + + /* ObjC */ + /* RID_IN */ TYPE_QUAL, + /* RID_OUT */ TYPE_QUAL, + /* RID_INOUT */ TYPE_QUAL, + /* RID_BYCOPY */ TYPE_QUAL, + /* RID_BYREF */ TYPE_QUAL, + /* RID_ONEWAY */ TYPE_QUAL, + + /* C */ + /* RID_INT */ TYPESPEC, + /* RID_CHAR */ TYPESPEC, + /* RID_FLOAT */ TYPESPEC, + /* RID_DOUBLE */ TYPESPEC, + /* RID_VOID */ TYPESPEC, + /* RID_ENUM */ ENUM, + /* RID_STRUCT */ STRUCT, + /* RID_UNION */ UNION, + /* RID_IF */ IF, + /* RID_ELSE */ ELSE, + /* RID_WHILE */ WHILE, + /* RID_DO */ DO, + /* RID_FOR */ FOR, + /* RID_SWITCH */ SWITCH, + /* RID_CASE */ CASE, + /* RID_DEFAULT */ DEFAULT, + /* RID_BREAK */ BREAK, + /* RID_CONTINUE */ CONTINUE, + /* RID_RETURN */ RETURN, + /* RID_GOTO */ GOTO, + /* RID_SIZEOF */ SIZEOF, + + /* C extensions */ + /* RID_ASM */ ASM_KEYWORD, + /* RID_TYPEOF */ TYPEOF, + /* RID_ALIGNOF */ ALIGNOF, + /* RID_ATTRIBUTE */ ATTRIBUTE, + /* RID_VA_ARG */ VA_ARG, + /* RID_EXTENSION */ EXTENSION, + /* RID_IMAGPART */ IMAGPART, + /* RID_REALPART */ REALPART, + /* RID_LABEL */ LABEL, + /* RID_PTRBASE */ PTR_BASE, + /* RID_PTREXTENT */ PTR_EXTENT, + /* RID_PTRVALUE */ PTR_VALUE, + + /* RID_CHOOSE_EXPR */ CHOOSE_EXPR, + /* RID_TYPES_COMPATIBLE_P */ TYPES_COMPATIBLE_P, + + /* RID_FUNCTION_NAME */ STRING_FUNC_NAME, + /* RID_PRETTY_FUNCTION_NAME */ STRING_FUNC_NAME, + /* RID_C99_FUNCTION_NAME */ VAR_FUNC_NAME, + + /* C++ */ + /* RID_BOOL */ TYPESPEC, + /* RID_WCHAR */ 0, + /* RID_CLASS */ 0, + /* RID_PUBLIC */ 0, + /* RID_PRIVATE */ 0, + /* RID_PROTECTED */ 0, + /* RID_TEMPLATE */ 0, + /* RID_NULL */ 0, + /* RID_CATCH */ 0, + /* RID_DELETE */ 0, + /* RID_FALSE */ 0, + /* RID_NAMESPACE */ 0, + /* RID_NEW */ 0, + /* RID_OPERATOR */ 0, + /* RID_THIS */ 0, + /* RID_THROW */ 0, + /* RID_TRUE */ 0, + /* RID_TRY */ 0, + /* RID_TYPENAME */ 0, + /* RID_TYPEID */ 0, + /* RID_USING */ 0, + + /* casts */ + /* RID_CONSTCAST */ 0, + /* RID_DYNCAST */ 0, + /* RID_REINTCAST */ 0, + /* RID_STATCAST */ 0, + + /* Objective C */ + /* RID_ID */ OBJECTNAME, + /* RID_AT_ENCODE */ ENCODE, + /* RID_AT_END */ END, + /* RID_AT_CLASS */ CLASS, + /* RID_AT_ALIAS */ ALIAS, + /* RID_AT_DEFS */ DEFS, + /* RID_AT_PRIVATE */ PRIVATE, + /* RID_AT_PROTECTED */ PROTECTED, + /* RID_AT_PUBLIC */ PUBLIC, + /* RID_AT_PROTOCOL */ PROTOCOL, + /* RID_AT_SELECTOR */ SELECTOR, + /* RID_AT_INTERFACE */ INTERFACE, + /* RID_AT_IMPLEMENTATION */ IMPLEMENTATION +}; + +static void +init_reswords () +{ + unsigned int i; + tree id; + int mask = (flag_isoc99 ? 0 : D_C89) + | (flag_no_asm ? (flag_isoc99 ? D_EXT : D_EXT|D_EXT89) : 0); + + if (!flag_objc) + mask |= D_OBJC; + + /* It is not necessary to register ridpointers as a GC root, because + all the trees it points to are permanently interned in the + get_identifier hash anyway. */ + ridpointers = (tree *) xcalloc ((int) RID_MAX, sizeof (tree)); + for (i = 0; i < N_reswords; i++) + { + /* If a keyword is disabled, do not enter it into the table + and so create a canonical spelling that isn't a keyword. */ + if (reswords[i].disable & mask) + continue; + + id = get_identifier (reswords[i].word); + C_RID_CODE (id) = reswords[i].rid; + C_IS_RESERVED_WORD (id) = 1; + ridpointers [(int) reswords[i].rid] = id; + } +} + +#define NAME(type) cpp_type2name (type) + +static void +yyerror (msgid) + const char *msgid; +{ + const char *string = _(msgid); + + if (last_token == CPP_EOF) + error ("%s at end of input", string); + else if (last_token == CPP_CHAR || last_token == CPP_WCHAR) + { + unsigned int val = TREE_INT_CST_LOW (yylval.ttype); + const char *const ell = (last_token == CPP_CHAR) ? "" : "L"; + if (val <= UCHAR_MAX && ISGRAPH (val)) + error ("%s before %s'%c'", string, ell, val); + else + error ("%s before %s'\\x%x'", string, ell, val); + } + else if (last_token == CPP_STRING + || last_token == CPP_WSTRING) + error ("%s before string constant", string); + else if (last_token == CPP_NUMBER) + error ("%s before numeric constant", string); + else if (last_token == CPP_NAME) + error ("%s before \"%s\"", string, IDENTIFIER_POINTER (yylval.ttype)); + else + error ("%s before '%s' token", string, NAME(last_token)); +} + +static int +yylexname () +{ + tree decl; + + int objc_force_identifier = objc_need_raw_identifier; + OBJC_NEED_RAW_IDENTIFIER (0); + + if (C_IS_RESERVED_WORD (yylval.ttype)) + { + enum rid rid_code = C_RID_CODE (yylval.ttype); + + /* Turn non-typedefed refs to "id" into plain identifiers; this + allows constructs like "void foo(id id);" to work. */ + if (rid_code == RID_ID) + { + decl = lookup_name (yylval.ttype); + if (decl == NULL_TREE || TREE_CODE (decl) != TYPE_DECL) + return IDENTIFIER; + } + + if (!OBJC_IS_AT_KEYWORD (rid_code) + && (!OBJC_IS_PQ_KEYWORD (rid_code) || objc_pq_context)) + { + int yycode = rid_to_yy[(int) rid_code]; + if (yycode == STRING_FUNC_NAME) + { + /* __FUNCTION__ and __PRETTY_FUNCTION__ get converted + to string constants. */ + const char *name = fname_string (rid_code); + + yylval.ttype = build_string (strlen (name) + 1, name); + C_ARTIFICIAL_STRING_P (yylval.ttype) = 1; + last_token = CPP_STRING; /* so yyerror won't choke */ + return STRING; + } + + /* Return the canonical spelling for this keyword. */ + yylval.ttype = ridpointers[(int) rid_code]; + return yycode; + } + } + + decl = lookup_name (yylval.ttype); + if (decl) + { + if (TREE_CODE (decl) == TYPE_DECL) + return TYPENAME; + } + else + { + tree objc_interface_decl = is_class_name (yylval.ttype); + /* ObjC class names are in the same namespace as variables and + typedefs, and hence are shadowed by local declarations. */ + if (objc_interface_decl + && (global_bindings_p () + || (!objc_force_identifier && !decl))) + { + yylval.ttype = objc_interface_decl; + return CLASSNAME; + } + } + + return IDENTIFIER; +} + +/* Concatenate strings before returning them to the parser. This isn't quite + as good as having it done in the lexer, but it's better than nothing. */ + +static int +yylexstring () +{ + enum cpp_ttype next_type; + tree orig = yylval.ttype; + + next_type = c_lex (&yylval.ttype); + if (next_type == CPP_STRING + || next_type == CPP_WSTRING + || (next_type == CPP_NAME && yylexname () == STRING)) + { + varray_type strings; + + + VARRAY_TREE_INIT (strings, 32, "strings"); + VARRAY_PUSH_TREE (strings, orig); + + do + { + VARRAY_PUSH_TREE (strings, yylval.ttype); + next_type = c_lex (&yylval.ttype); + } + while (next_type == CPP_STRING + || next_type == CPP_WSTRING + || (next_type == CPP_NAME && yylexname () == STRING)); + + yylval.ttype = combine_strings (strings); + } + else + yylval.ttype = orig; + + /* We will have always read one token too many. */ + _cpp_backup_tokens (parse_in, 1); + + return STRING; +} + +static inline int +_yylex () +{ + get_next: + last_token = c_lex (&yylval.ttype); + switch (last_token) + { + case CPP_EQ: return '='; + case CPP_NOT: return '!'; + case CPP_GREATER: yylval.code = GT_EXPR; return ARITHCOMPARE; + case CPP_LESS: yylval.code = LT_EXPR; return ARITHCOMPARE; + case CPP_PLUS: yylval.code = PLUS_EXPR; return '+'; + case CPP_MINUS: yylval.code = MINUS_EXPR; return '-'; + case CPP_MULT: yylval.code = MULT_EXPR; return '*'; + case CPP_DIV: yylval.code = TRUNC_DIV_EXPR; return '/'; + case CPP_MOD: yylval.code = TRUNC_MOD_EXPR; return '%'; + case CPP_AND: yylval.code = BIT_AND_EXPR; return '&'; + case CPP_OR: yylval.code = BIT_IOR_EXPR; return '|'; + case CPP_XOR: yylval.code = BIT_XOR_EXPR; return '^'; + case CPP_RSHIFT: yylval.code = RSHIFT_EXPR; return RSHIFT; + case CPP_LSHIFT: yylval.code = LSHIFT_EXPR; return LSHIFT; + + case CPP_COMPL: return '~'; + case CPP_AND_AND: return ANDAND; + case CPP_OR_OR: return OROR; + case CPP_QUERY: return '?'; + case CPP_OPEN_PAREN: return '('; + case CPP_EQ_EQ: yylval.code = EQ_EXPR; return EQCOMPARE; + case CPP_NOT_EQ: yylval.code = NE_EXPR; return EQCOMPARE; + case CPP_GREATER_EQ:yylval.code = GE_EXPR; return ARITHCOMPARE; + case CPP_LESS_EQ: yylval.code = LE_EXPR; return ARITHCOMPARE; + + case CPP_PLUS_EQ: yylval.code = PLUS_EXPR; return ASSIGN; + case CPP_MINUS_EQ: yylval.code = MINUS_EXPR; return ASSIGN; + case CPP_MULT_EQ: yylval.code = MULT_EXPR; return ASSIGN; + case CPP_DIV_EQ: yylval.code = TRUNC_DIV_EXPR; return ASSIGN; + case CPP_MOD_EQ: yylval.code = TRUNC_MOD_EXPR; return ASSIGN; + case CPP_AND_EQ: yylval.code = BIT_AND_EXPR; return ASSIGN; + case CPP_OR_EQ: yylval.code = BIT_IOR_EXPR; return ASSIGN; + case CPP_XOR_EQ: yylval.code = BIT_XOR_EXPR; return ASSIGN; + case CPP_RSHIFT_EQ: yylval.code = RSHIFT_EXPR; return ASSIGN; + case CPP_LSHIFT_EQ: yylval.code = LSHIFT_EXPR; return ASSIGN; + + case CPP_OPEN_SQUARE: return '['; + case CPP_CLOSE_SQUARE: return ']'; + case CPP_OPEN_BRACE: return '{'; + case CPP_CLOSE_BRACE: return '}'; + case CPP_ELLIPSIS: return ELLIPSIS; + + case CPP_PLUS_PLUS: return PLUSPLUS; + case CPP_MINUS_MINUS: return MINUSMINUS; + case CPP_DEREF: return POINTSAT; + case CPP_DOT: return '.'; + + /* The following tokens may affect the interpretation of any + identifiers following, if doing Objective-C. */ + case CPP_COLON: OBJC_NEED_RAW_IDENTIFIER (0); return ':'; + case CPP_COMMA: OBJC_NEED_RAW_IDENTIFIER (0); return ','; + case CPP_CLOSE_PAREN: OBJC_NEED_RAW_IDENTIFIER (0); return ')'; + case CPP_SEMICOLON: OBJC_NEED_RAW_IDENTIFIER (0); return ';'; + + case CPP_EOF: + return 0; + + case CPP_NAME: + { + int ret = yylexname (); + if (ret == STRING) + return yylexstring (); + else + return ret; + } + + case CPP_NUMBER: + case CPP_CHAR: + case CPP_WCHAR: + return CONSTANT; + + case CPP_STRING: + case CPP_WSTRING: + return yylexstring (); + + /* This token is Objective-C specific. It gives the next token + special significance. */ + case CPP_ATSIGN: + { + tree after_at; + enum cpp_ttype after_at_type; + + after_at_type = c_lex (&after_at); + + if (after_at_type == CPP_NAME + && C_IS_RESERVED_WORD (after_at) + && OBJC_IS_AT_KEYWORD (C_RID_CODE (after_at))) + { + yylval.ttype = after_at; + last_token = after_at_type; + return rid_to_yy [(int) C_RID_CODE (after_at)]; + } + _cpp_backup_tokens (parse_in, 1); + return '@'; + } + + /* These tokens are C++ specific (and will not be generated + in C mode, but let's be cautious). */ + case CPP_SCOPE: + case CPP_DEREF_STAR: + case CPP_DOT_STAR: + case CPP_MIN_EQ: + case CPP_MAX_EQ: + case CPP_MIN: + case CPP_MAX: + /* These tokens should not survive translation phase 4. */ + case CPP_HASH: + case CPP_PASTE: + error ("syntax error at '%s' token", NAME(last_token)); + goto get_next; + + default: + abort (); + } + /* NOTREACHED */ +} + +static int +yylex() +{ + int r; + timevar_push (TV_LEX); + r = _yylex(); + timevar_pop (TV_LEX); + return r; +} + +/* Function used when yydebug is set, to print a token in more detail. */ + +static void +yyprint (file, yychar, yyl) + FILE *file; + int yychar; + YYSTYPE yyl; +{ + tree t = yyl.ttype; + + fprintf (file, " [%s]", NAME(last_token)); + + switch (yychar) + { + case IDENTIFIER: + case TYPENAME: + case OBJECTNAME: + case TYPESPEC: + case TYPE_QUAL: + case SCSPEC: + case STATIC: + if (IDENTIFIER_POINTER (t)) + fprintf (file, " `%s'", IDENTIFIER_POINTER (t)); + break; + + case CONSTANT: + fprintf (file, " %s", GET_MODE_NAME (TYPE_MODE (TREE_TYPE (t)))); + if (TREE_CODE (t) == INTEGER_CST) + fprintf (file, +#if HOST_BITS_PER_WIDE_INT == 64 +#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT + " 0x%x%016x", +#else +#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG + " 0x%lx%016lx", +#else + " 0x%llx%016llx", +#endif +#endif +#else +#if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT + " 0x%lx%08lx", +#else + " 0x%x%08x", +#endif +#endif + TREE_INT_CST_HIGH (t), TREE_INT_CST_LOW (t)); + break; + } +} + +/* This is not the ideal place to put these, but we have to get them out + of c-lex.c because cp/lex.c has its own versions. */ + +/* Free malloced parser stacks if necessary. */ + +void +free_parser_stacks () +{ + if (malloced_yyss) + { + free (malloced_yyss); + free (malloced_yyvs); + } +} + +#include "gt-c-parse.h" + + diff --git a/gnu/dist/gcc/gcc/objc/objc-parse.y b/gnu/dist/gcc/gcc/objc/objc-parse.y new file mode 100644 index 000000000000..13c73849da15 --- /dev/null +++ b/gnu/dist/gcc/gcc/objc/objc-parse.y @@ -0,0 +1,3864 @@ +/*WARNING: This file is automatically generated!*/ +/* YACC parser for C syntax and for Objective C. -*-c-*- + Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, + 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +GCC 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 GCC; see the file COPYING. If not, write to the Free +Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ + +/* This file defines the grammar of C and that of Objective C. + ifobjc ... end ifobjc conditionals contain code for Objective C only. + ifc ... end ifc conditionals contain code for C only. + Sed commands in Makefile.in are used to convert this file into + c-parse.y and into objc-parse.y. */ + +/* To whomever it may concern: I have heard that such a thing was once + written by AT&T, but I have never seen it. */ + + +%{ +#include "config.h" +#include "system.h" +#include "tree.h" +#include "input.h" +#include "cpplib.h" +#include "intl.h" +#include "timevar.h" +#include "c-pragma.h" /* For YYDEBUG definition, and parse_in. */ +#include "c-tree.h" +#include "flags.h" +#include "output.h" +#include "toplev.h" +#include "ggc.h" + +#ifdef MULTIBYTE_CHARS +#include +#endif + +#include "objc-act.h" + +/* Like YYERROR but do call yyerror. */ +#define YYERROR1 { yyerror ("syntax error"); YYERROR; } + +/* Like the default stack expander, except (1) use realloc when possible, + (2) impose no hard maxiumum on stack size, (3) REALLY do not use alloca. + + Irritatingly, YYSTYPE is defined after this %{ %} block, so we cannot + give malloced_yyvs its proper type. This is ok since all we need from + it is to be able to free it. */ + +static short *malloced_yyss; +static void *malloced_yyvs; + +#define yyoverflow(MSG, SS, SSSIZE, VS, VSSIZE, YYSSZ) \ +do { \ + size_t newsize; \ + short *newss; \ + YYSTYPE *newvs; \ + newsize = *(YYSSZ) *= 2; \ + if (malloced_yyss) \ + { \ + newss = (short *) \ + really_call_realloc (*(SS), newsize * sizeof (short)); \ + newvs = (YYSTYPE *) \ + really_call_realloc (*(VS), newsize * sizeof (YYSTYPE)); \ + } \ + else \ + { \ + newss = (short *) really_call_malloc (newsize * sizeof (short)); \ + newvs = (YYSTYPE *) really_call_malloc (newsize * sizeof (YYSTYPE)); \ + if (newss) \ + memcpy (newss, *(SS), (SSSIZE)); \ + if (newvs) \ + memcpy (newvs, *(VS), (VSSIZE)); \ + } \ + if (!newss || !newvs) \ + { \ + yyerror (MSG); \ + return 2; \ + } \ + *(SS) = newss; \ + *(VS) = newvs; \ + malloced_yyss = newss; \ + malloced_yyvs = (void *) newvs; \ +} while (0) +%} + +%start program + +%union {long itype; tree ttype; enum tree_code code; + const char *filename; int lineno; } + +/* All identifiers that are not reserved words + and are not declared typedefs in the current block */ +%token IDENTIFIER + +/* All identifiers that are declared typedefs in the current block. + In some contexts, they are treated just like IDENTIFIER, + but they can also serve as typespecs in declarations. */ +%token TYPENAME + +/* Reserved words that specify storage class. + yylval contains an IDENTIFIER_NODE which indicates which one. */ +%token SCSPEC /* Storage class other than static. */ +%token STATIC /* Static storage class. */ + +/* Reserved words that specify type. + yylval contains an IDENTIFIER_NODE which indicates which one. */ +%token TYPESPEC + +/* Reserved words that qualify type: "const", "volatile", or "restrict". + yylval contains an IDENTIFIER_NODE which indicates which one. */ +%token TYPE_QUAL + +/* Character or numeric constants. + yylval is the node for the constant. */ +%token CONSTANT + +/* String constants in raw form. + yylval is a STRING_CST node. */ +%token STRING + +/* "...", used for functions with variable arglists. */ +%token ELLIPSIS + +/* the reserved words */ +/* SCO include files test "ASM", so use something else. */ +%token SIZEOF ENUM STRUCT UNION IF ELSE WHILE DO FOR SWITCH CASE DEFAULT +%token BREAK CONTINUE RETURN GOTO ASM_KEYWORD TYPEOF ALIGNOF +%token ATTRIBUTE EXTENSION LABEL +%token REALPART IMAGPART VA_ARG CHOOSE_EXPR TYPES_COMPATIBLE_P +%token PTR_VALUE PTR_BASE PTR_EXTENT + +/* function name can be a string const or a var decl. */ +%token STRING_FUNC_NAME VAR_FUNC_NAME + +/* Add precedence rules to solve dangling else s/r conflict */ +%nonassoc IF +%nonassoc ELSE + +/* Define the operator tokens and their precedences. + The value is an integer because, if used, it is the tree code + to use in the expression made from the operator. */ + +%right ASSIGN '=' +%right '?' ':' +%left OROR +%left ANDAND +%left '|' +%left '^' +%left '&' +%left EQCOMPARE +%left ARITHCOMPARE +%left LSHIFT RSHIFT +%left '+' '-' +%left '*' '/' '%' +%right UNARY PLUSPLUS MINUSMINUS +%left HYPERUNARY +%left POINTSAT '.' '(' '[' + +/* The Objective-C keywords. These are included in C and in + Objective C, so that the token codes are the same in both. */ +%token INTERFACE IMPLEMENTATION END SELECTOR DEFS ENCODE +%token CLASSNAME PUBLIC PRIVATE PROTECTED PROTOCOL OBJECTNAME CLASS ALIAS + +%type unop +%type ENUM STRUCT UNION IF ELSE WHILE DO FOR SWITCH CASE DEFAULT +%type BREAK CONTINUE RETURN GOTO ASM_KEYWORD SIZEOF TYPEOF ALIGNOF + +%type identifier IDENTIFIER TYPENAME CONSTANT expr nonnull_exprlist exprlist +%type expr_no_commas cast_expr unary_expr primary STRING +%type declspecs_nosc_nots_nosa_noea declspecs_nosc_nots_nosa_ea +%type declspecs_nosc_nots_sa_noea declspecs_nosc_nots_sa_ea +%type declspecs_nosc_ts_nosa_noea declspecs_nosc_ts_nosa_ea +%type declspecs_nosc_ts_sa_noea declspecs_nosc_ts_sa_ea +%type declspecs_sc_nots_nosa_noea declspecs_sc_nots_nosa_ea +%type declspecs_sc_nots_sa_noea declspecs_sc_nots_sa_ea +%type declspecs_sc_ts_nosa_noea declspecs_sc_ts_nosa_ea +%type declspecs_sc_ts_sa_noea declspecs_sc_ts_sa_ea +%type declspecs_ts declspecs_nots +%type declspecs_ts_nosa declspecs_nots_nosa +%type declspecs_nosc_ts declspecs_nosc_nots declspecs_nosc declspecs +%type maybe_type_quals_attrs typespec_nonattr typespec_attr +%type typespec_reserved_nonattr typespec_reserved_attr +%type typespec_nonreserved_nonattr + +%type scspec SCSPEC STATIC TYPESPEC TYPE_QUAL maybe_type_qual +%type initdecls notype_initdecls initdcl notype_initdcl +%type init maybeasm +%type asm_operands nonnull_asm_operands asm_operand asm_clobbers +%type maybe_attribute attributes attribute attribute_list attrib +%type any_word extension + +%type compstmt compstmt_start compstmt_nostart compstmt_primary_start +%type do_stmt_start poplevel stmt label + +%type c99_block_start c99_block_end +%type declarator +%type notype_declarator after_type_declarator +%type parm_declarator +%type parm_declarator_starttypename parm_declarator_nostarttypename +%type array_declarator + +%type structsp_attr structsp_nonattr +%type component_decl_list component_decl_list2 +%type component_decl components components_notype component_declarator +%type component_notype_declarator +%type enumlist enumerator +%type struct_head union_head enum_head +%type typename absdcl absdcl1 absdcl1_ea absdcl1_noea +%type direct_absdcl1 absdcl_maybe_attribute +%type xexpr parms parm firstparm identifiers + +%type parmlist parmlist_1 parmlist_2 +%type parmlist_or_identifiers parmlist_or_identifiers_1 +%type identifiers_or_typenames + +%type setspecs setspecs_fp + +%type save_filename +%type save_lineno + +/* the Objective-C nonterminals */ + +%type ivar_decl_list ivar_decls ivar_decl ivars ivar_declarator +%type methoddecl unaryselector keywordselector selector +%type keyworddecl receiver objcmessageexpr messageargs +%type keywordexpr keywordarglist keywordarg +%type myparms myparm optparmlist reservedwords objcselectorexpr +%type selectorarg keywordnamelist keywordname objcencodeexpr +%type objc_string non_empty_protocolrefs protocolrefs identifier_list objcprotocolexpr + +%type CLASSNAME OBJECTNAME + +%{ +/* Number of statements (loosely speaking) and compound statements + seen so far. */ +static int stmt_count; +static int compstmt_count; + +/* Input file and line number of the end of the body of last simple_if; + used by the stmt-rule immediately after simple_if returns. */ +static const char *if_stmt_file; +static int if_stmt_line; + +/* List of types and structure classes of the current declaration. */ +static GTY(()) tree current_declspecs; +static GTY(()) tree prefix_attributes; + +/* List of all the attributes applying to the identifier currently being + declared; includes prefix_attributes and possibly some more attributes + just after a comma. */ +static GTY(()) tree all_prefix_attributes; + +/* Stack of saved values of current_declspecs, prefix_attributes and + all_prefix_attributes. */ +static GTY(()) tree declspec_stack; + +/* PUSH_DECLSPEC_STACK is called from setspecs; POP_DECLSPEC_STACK + should be called from the productions making use of setspecs. */ +#define PUSH_DECLSPEC_STACK \ + do { \ + declspec_stack = tree_cons (build_tree_list (prefix_attributes, \ + all_prefix_attributes), \ + current_declspecs, \ + declspec_stack); \ + } while (0) + +#define POP_DECLSPEC_STACK \ + do { \ + current_declspecs = TREE_VALUE (declspec_stack); \ + prefix_attributes = TREE_PURPOSE (TREE_PURPOSE (declspec_stack)); \ + all_prefix_attributes = TREE_VALUE (TREE_PURPOSE (declspec_stack)); \ + declspec_stack = TREE_CHAIN (declspec_stack); \ + } while (0) + +/* For __extension__, save/restore the warning flags which are + controlled by __extension__. */ +#define SAVE_EXT_FLAGS() \ + size_int (pedantic \ + | (warn_pointer_arith << 1) \ + | (warn_traditional << 2) \ + | (flag_iso << 3)) + +#define RESTORE_EXT_FLAGS(tval) \ + do { \ + int val = tree_low_cst (tval, 0); \ + pedantic = val & 1; \ + warn_pointer_arith = (val >> 1) & 1; \ + warn_traditional = (val >> 2) & 1; \ + flag_iso = (val >> 3) & 1; \ + } while (0) + +/* Objective-C specific parser/lexer information */ + +static enum tree_code objc_inherit_code; +static int objc_pq_context = 0, objc_public_flag = 0; + +/* The following flag is needed to contextualize ObjC lexical analysis. + In some cases (e.g., 'int NSObject;'), it is undesirable to bind + an identifier to an ObjC class, even if a class with that name + exists. */ +static int objc_need_raw_identifier; +#define OBJC_NEED_RAW_IDENTIFIER(VAL) objc_need_raw_identifier = VAL + + +static bool parsing_iso_function_signature; + +/* Tell yyparse how to print a token's value, if yydebug is set. */ + +#define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL) + +static void yyprint PARAMS ((FILE *, int, YYSTYPE)); +static void yyerror PARAMS ((const char *)); +static int yylexname PARAMS ((void)); +static int yylexstring PARAMS ((void)); +static inline int _yylex PARAMS ((void)); +static int yylex PARAMS ((void)); +static void init_reswords PARAMS ((void)); + + /* Initialisation routine for this file. */ +void +c_parse_init () +{ + init_reswords (); +} + +%} + +%% +program: /* empty */ + { if (pedantic) + pedwarn ("ISO C forbids an empty source file"); + finish_file (); + } + | extdefs + { + /* In case there were missing closebraces, + get us back to the global binding level. */ + while (! global_bindings_p ()) + poplevel (0, 0, 0); + /* __FUNCTION__ is defined at file scope (""). This + call may not be necessary as my tests indicate it + still works without it. */ + finish_fname_decls (); + finish_file (); + } + ; + +/* the reason for the strange actions in this rule + is so that notype_initdecls when reached via datadef + can find a valid list of type and sc specs in $0. */ + +extdefs: + {$$ = NULL_TREE; } extdef + | extdefs {$$ = NULL_TREE; ggc_collect(); } extdef + ; + +extdef: + extdef_1 + { parsing_iso_function_signature = false; } /* Reset after any external definition. */ + ; + +extdef_1: + fndef + | datadef + | objcdef + | ASM_KEYWORD '(' expr ')' ';' + { STRIP_NOPS ($3); + if ((TREE_CODE ($3) == ADDR_EXPR + && TREE_CODE (TREE_OPERAND ($3, 0)) == STRING_CST) + || TREE_CODE ($3) == STRING_CST) + assemble_asm ($3); + else + error ("argument of `asm' is not a constant string"); } + | extension extdef + { RESTORE_EXT_FLAGS ($1); } + ; + +datadef: + setspecs notype_initdecls ';' + { if (pedantic) + error ("ISO C forbids data definition with no type or storage class"); + else + warning ("data definition has no type or storage class"); + + POP_DECLSPEC_STACK; } + | declspecs_nots setspecs notype_initdecls ';' + { POP_DECLSPEC_STACK; } + | declspecs_ts setspecs initdecls ';' + { POP_DECLSPEC_STACK; } + | declspecs ';' + { shadow_tag ($1); } + | error ';' + | error '}' + | ';' + { if (pedantic) + pedwarn ("ISO C does not allow extra `;' outside of a function"); } + ; + +fndef: + declspecs_ts setspecs declarator + { if (! start_function (current_declspecs, $3, + all_prefix_attributes)) + YYERROR1; + } + old_style_parm_decls + { store_parm_decls (); } + save_filename save_lineno compstmt_or_error + { DECL_SOURCE_FILE (current_function_decl) = $7; + DECL_SOURCE_LINE (current_function_decl) = $8; + finish_function (0, 1); + POP_DECLSPEC_STACK; } + | declspecs_ts setspecs declarator error + { POP_DECLSPEC_STACK; } + | declspecs_nots setspecs notype_declarator + { if (! start_function (current_declspecs, $3, + all_prefix_attributes)) + YYERROR1; + } + old_style_parm_decls + { store_parm_decls (); } + save_filename save_lineno compstmt_or_error + { DECL_SOURCE_FILE (current_function_decl) = $7; + DECL_SOURCE_LINE (current_function_decl) = $8; + finish_function (0, 1); + POP_DECLSPEC_STACK; } + | declspecs_nots setspecs notype_declarator error + { POP_DECLSPEC_STACK; } + | setspecs notype_declarator + { if (! start_function (NULL_TREE, $2, + all_prefix_attributes)) + YYERROR1; + } + old_style_parm_decls + { store_parm_decls (); } + save_filename save_lineno compstmt_or_error + { DECL_SOURCE_FILE (current_function_decl) = $6; + DECL_SOURCE_LINE (current_function_decl) = $7; + finish_function (0, 1); + POP_DECLSPEC_STACK; } + | setspecs notype_declarator error + { POP_DECLSPEC_STACK; } + ; + +identifier: + IDENTIFIER + | TYPENAME + | OBJECTNAME + | CLASSNAME + ; + +unop: '&' + { $$ = ADDR_EXPR; } + | '-' + { $$ = NEGATE_EXPR; } + | '+' + { $$ = CONVERT_EXPR; + } + | PLUSPLUS + { $$ = PREINCREMENT_EXPR; } + | MINUSMINUS + { $$ = PREDECREMENT_EXPR; } + | '~' + { $$ = BIT_NOT_EXPR; } + | '!' + { $$ = TRUTH_NOT_EXPR; } + ; + +expr: nonnull_exprlist + { $$ = build_compound_expr ($1); } + ; + +exprlist: + /* empty */ + { $$ = NULL_TREE; } + | nonnull_exprlist + ; + +nonnull_exprlist: + expr_no_commas + { $$ = build_tree_list (NULL_TREE, $1); } + | nonnull_exprlist ',' expr_no_commas + { chainon ($1, build_tree_list (NULL_TREE, $3)); } + ; + +unary_expr: + primary + | '*' cast_expr %prec UNARY + { $$ = build_indirect_ref ($2, "unary *"); } + /* __extension__ turns off -pedantic for following primary. */ + | extension cast_expr %prec UNARY + { $$ = $2; + RESTORE_EXT_FLAGS ($1); } + | unop cast_expr %prec UNARY + { $$ = build_unary_op ($1, $2, 0); + overflow_warning ($$); } + /* Refer to the address of a label as a pointer. */ + | ANDAND identifier + { $$ = finish_label_address_expr ($2); } + | sizeof unary_expr %prec UNARY + { skip_evaluation--; + if (TREE_CODE ($2) == COMPONENT_REF + && DECL_C_BIT_FIELD (TREE_OPERAND ($2, 1))) + error ("`sizeof' applied to a bit-field"); + $$ = c_sizeof (TREE_TYPE ($2)); } + | sizeof '(' typename ')' %prec HYPERUNARY + { skip_evaluation--; + $$ = c_sizeof (groktypename ($3)); } + | alignof unary_expr %prec UNARY + { skip_evaluation--; + $$ = c_alignof_expr ($2); } + | alignof '(' typename ')' %prec HYPERUNARY + { skip_evaluation--; + $$ = c_alignof (groktypename ($3)); } + | REALPART cast_expr %prec UNARY + { $$ = build_unary_op (REALPART_EXPR, $2, 0); } + | IMAGPART cast_expr %prec UNARY + { $$ = build_unary_op (IMAGPART_EXPR, $2, 0); } + ; + +sizeof: + SIZEOF { skip_evaluation++; } + ; + +alignof: + ALIGNOF { skip_evaluation++; } + ; + +typeof: + TYPEOF { skip_evaluation++; } + ; + +cast_expr: + unary_expr + | '(' typename ')' cast_expr %prec UNARY + { $$ = c_cast_expr ($2, $4); } + ; + +expr_no_commas: + cast_expr + | expr_no_commas '+' expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas '-' expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas '*' expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas '/' expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas '%' expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas LSHIFT expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas RSHIFT expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas ARITHCOMPARE expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas EQCOMPARE expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas '&' expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas '|' expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas '^' expr_no_commas + { $$ = parser_build_binary_op ($2, $1, $3); } + | expr_no_commas ANDAND + { $1 = c_common_truthvalue_conversion + (default_conversion ($1)); + skip_evaluation += $1 == boolean_false_node; } + expr_no_commas + { skip_evaluation -= $1 == boolean_false_node; + $$ = parser_build_binary_op (TRUTH_ANDIF_EXPR, $1, $4); } + | expr_no_commas OROR + { $1 = c_common_truthvalue_conversion + (default_conversion ($1)); + skip_evaluation += $1 == boolean_true_node; } + expr_no_commas + { skip_evaluation -= $1 == boolean_true_node; + $$ = parser_build_binary_op (TRUTH_ORIF_EXPR, $1, $4); } + | expr_no_commas '?' + { $1 = c_common_truthvalue_conversion + (default_conversion ($1)); + skip_evaluation += $1 == boolean_false_node; } + expr ':' + { skip_evaluation += (($1 == boolean_true_node) + - ($1 == boolean_false_node)); } + expr_no_commas + { skip_evaluation -= $1 == boolean_true_node; + $$ = build_conditional_expr ($1, $4, $7); } + | expr_no_commas '?' + { if (pedantic) + pedwarn ("ISO C forbids omitting the middle term of a ?: expression"); + /* Make sure first operand is calculated only once. */ + $2 = save_expr ($1); + $1 = c_common_truthvalue_conversion + (default_conversion ($2)); + skip_evaluation += $1 == boolean_true_node; } + ':' expr_no_commas + { skip_evaluation -= $1 == boolean_true_node; + $$ = build_conditional_expr ($1, $2, $5); } + | expr_no_commas '=' expr_no_commas + { char class; + $$ = build_modify_expr ($1, NOP_EXPR, $3); + class = TREE_CODE_CLASS (TREE_CODE ($$)); + if (IS_EXPR_CODE_CLASS (class)) + C_SET_EXP_ORIGINAL_CODE ($$, MODIFY_EXPR); + } + | expr_no_commas ASSIGN expr_no_commas + { char class; + $$ = build_modify_expr ($1, $2, $3); + /* This inhibits warnings in + c_common_truthvalue_conversion. */ + class = TREE_CODE_CLASS (TREE_CODE ($$)); + if (IS_EXPR_CODE_CLASS (class)) + C_SET_EXP_ORIGINAL_CODE ($$, ERROR_MARK); + } + ; + +primary: + IDENTIFIER + { + if (yychar == YYEMPTY) + yychar = YYLEX; + $$ = build_external_ref ($1, yychar == '('); + } + | CONSTANT + | STRING + { $$ = fix_string_type ($$); } + | VAR_FUNC_NAME + { $$ = fname_decl (C_RID_CODE ($$), $$); } + | '(' typename ')' '{' + { start_init (NULL_TREE, NULL, 0); + $2 = groktypename ($2); + really_start_incremental_init ($2); } + initlist_maybe_comma '}' %prec UNARY + { tree constructor = pop_init_level (0); + tree type = $2; + finish_init (); + + if (pedantic && ! flag_isoc99) + pedwarn ("ISO C89 forbids compound literals"); + $$ = build_compound_literal (type, constructor); + } + | '(' expr ')' + { char class = TREE_CODE_CLASS (TREE_CODE ($2)); + if (IS_EXPR_CODE_CLASS (class)) + C_SET_EXP_ORIGINAL_CODE ($2, ERROR_MARK); + $$ = $2; } + | '(' error ')' + { $$ = error_mark_node; } + | compstmt_primary_start compstmt_nostart ')' + { tree saved_last_tree; + + if (pedantic) + pedwarn ("ISO C forbids braced-groups within expressions"); + pop_label_level (); + + saved_last_tree = COMPOUND_BODY ($1); + RECHAIN_STMTS ($1, COMPOUND_BODY ($1)); + last_tree = saved_last_tree; + TREE_CHAIN (last_tree) = NULL_TREE; + if (!last_expr_type) + last_expr_type = void_type_node; + $$ = build1 (STMT_EXPR, last_expr_type, $1); + TREE_SIDE_EFFECTS ($$) = 1; + } + | compstmt_primary_start error ')' + { + pop_label_level (); + last_tree = COMPOUND_BODY ($1); + TREE_CHAIN (last_tree) = NULL_TREE; + $$ = error_mark_node; + } + | primary '(' exprlist ')' %prec '.' + { $$ = build_function_call ($1, $3); } + | VA_ARG '(' expr_no_commas ',' typename ')' + { $$ = build_va_arg ($3, groktypename ($5)); } + + | CHOOSE_EXPR '(' expr_no_commas ',' expr_no_commas ',' expr_no_commas ')' + { + tree c; + + c = fold ($3); + STRIP_NOPS (c); + if (TREE_CODE (c) != INTEGER_CST) + error ("first argument to __builtin_choose_expr not a constant"); + $$ = integer_zerop (c) ? $7 : $5; + } + | TYPES_COMPATIBLE_P '(' typename ',' typename ')' + { + tree e1, e2; + + e1 = TYPE_MAIN_VARIANT (groktypename ($3)); + e2 = TYPE_MAIN_VARIANT (groktypename ($5)); + + $$ = comptypes (e1, e2) + ? build_int_2 (1, 0) : build_int_2 (0, 0); + } + | primary '[' expr ']' %prec '.' + { $$ = build_array_ref ($1, $3); } + | primary '.' identifier + { + if (!is_public ($1, $3)) + $$ = error_mark_node; + else + $$ = build_component_ref ($1, $3); + } + | primary POINTSAT identifier + { + tree expr = build_indirect_ref ($1, "->"); + + if (!is_public (expr, $3)) + $$ = error_mark_node; + else + $$ = build_component_ref (expr, $3); + } + | primary PLUSPLUS + { $$ = build_unary_op (POSTINCREMENT_EXPR, $1, 0); } + | primary MINUSMINUS + { $$ = build_unary_op (POSTDECREMENT_EXPR, $1, 0); } + | objcmessageexpr + { $$ = build_message_expr ($1); } + | objcselectorexpr + { $$ = build_selector_expr ($1); } + | objcprotocolexpr + { $$ = build_protocol_expr ($1); } + | objcencodeexpr + { $$ = build_encode_expr ($1); } + | objc_string + { $$ = build_objc_string_object ($1); } + ; + +/* Produces an STRING_CST with perhaps more STRING_CSTs chained + onto it, which is to be read as an ObjC string object. */ +objc_string: + '@' STRING + { $$ = $2; } + | objc_string '@' STRING + { $$ = chainon ($1, $3); } + ; + +old_style_parm_decls: + old_style_parm_decls_1 + { + parsing_iso_function_signature = false; /* Reset after decls. */ + } + ; + +old_style_parm_decls_1: + /* empty */ + { + if (warn_traditional && !in_system_header + && parsing_iso_function_signature) + warning ("traditional C rejects ISO C style function definitions"); + parsing_iso_function_signature = false; /* Reset after warning. */ + } + | datadecls + ; + +/* The following are analogous to lineno_decl, decls and decl + except that they do not allow nested functions. + They are used for old-style parm decls. */ +lineno_datadecl: + save_filename save_lineno datadecl + { } + ; + +datadecls: + lineno_datadecl + | errstmt + | datadecls lineno_datadecl + | lineno_datadecl errstmt + ; + +/* We don't allow prefix attributes here because they cause reduce/reduce + conflicts: we can't know whether we're parsing a function decl with + attribute suffix, or function defn with attribute prefix on first old + style parm. */ +datadecl: + declspecs_ts_nosa setspecs initdecls ';' + { POP_DECLSPEC_STACK; } + | declspecs_nots_nosa setspecs notype_initdecls ';' + { POP_DECLSPEC_STACK; } + | declspecs_ts_nosa ';' + { shadow_tag_warned ($1, 1); + pedwarn ("empty declaration"); } + | declspecs_nots_nosa ';' + { pedwarn ("empty declaration"); } + ; + +/* This combination which saves a lineno before a decl + is the normal thing to use, rather than decl itself. + This is to avoid shift/reduce conflicts in contexts + where statement labels are allowed. */ +lineno_decl: + save_filename save_lineno decl + { } + ; + +/* records the type and storage class specs to use for processing + the declarators that follow. + Maintains a stack of outer-level values of current_declspecs, + for the sake of parm declarations nested in function declarators. */ +setspecs: /* empty */ + { pending_xref_error (); + PUSH_DECLSPEC_STACK; + split_specs_attrs ($0, + ¤t_declspecs, &prefix_attributes); + all_prefix_attributes = prefix_attributes; } + ; + +/* Possibly attributes after a comma, which should reset all_prefix_attributes + to prefix_attributes with these ones chained on the front. */ +maybe_resetattrs: + maybe_attribute + { all_prefix_attributes = chainon ($1, prefix_attributes); } + ; + +decl: + declspecs_ts setspecs initdecls ';' + { POP_DECLSPEC_STACK; } + | declspecs_nots setspecs notype_initdecls ';' + { POP_DECLSPEC_STACK; } + | declspecs_ts setspecs nested_function + { POP_DECLSPEC_STACK; } + | declspecs_nots setspecs notype_nested_function + { POP_DECLSPEC_STACK; } + | declspecs ';' + { shadow_tag ($1); } + | extension decl + { RESTORE_EXT_FLAGS ($1); } + ; + +/* A list of declaration specifiers. These are: + + - Storage class specifiers (scspec), which for GCC currently includes + function specifiers ("inline"). + + - Type specifiers (typespec_*). + + - Type qualifiers (TYPE_QUAL). + + - Attribute specifier lists (attributes). + + These are stored as a TREE_LIST; the head of the list is the last + item in the specifier list. Each entry in the list has either a + TREE_PURPOSE that is an attribute specifier list, or a TREE_VALUE that + is a single other specifier or qualifier; and a TREE_CHAIN that is the + rest of the list. TREE_STATIC is set on the list if something other + than a storage class specifier or attribute has been seen; this is used + to warn for the obsolescent usage of storage class specifiers other than + at the start of the list. (Doing this properly would require function + specifiers to be handled separately from storage class specifiers.) + + The various cases below are classified according to: + + (a) Whether a storage class specifier is included or not; some + places in the grammar disallow storage class specifiers (_sc or _nosc). + + (b) Whether a type specifier has been seen; after a type specifier, + a typedef name is an identifier to redeclare (_ts or _nots). + + (c) Whether the list starts with an attribute; in certain places, + the grammar requires specifiers that don't start with an attribute + (_sa or _nosa). + + (d) Whether the list ends with an attribute (or a specifier such that + any following attribute would have been parsed as part of that specifier); + this avoids shift-reduce conflicts in the parsing of attributes + (_ea or _noea). + + TODO: + + (i) Distinguish between function specifiers and storage class specifiers, + at least for the purpose of warnings about obsolescent usage. + + (ii) Halve the number of productions here by eliminating the _sc/_nosc + distinction and instead checking where required that storage class + specifiers aren't present. */ + +/* Declspecs which contain at least one type specifier or typedef name. + (Just `const' or `volatile' is not enough.) + A typedef'd name following these is taken as a name to be declared. + Declspecs have a non-NULL TREE_VALUE, attributes do not. */ + +declspecs_nosc_nots_nosa_noea: + TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $1, NULL_TREE); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_nosa_noea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_nosa_ea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + ; + +declspecs_nosc_nots_nosa_ea: + declspecs_nosc_nots_nosa_noea attributes + { $$ = tree_cons ($2, NULL_TREE, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + ; + +declspecs_nosc_nots_sa_noea: + declspecs_nosc_nots_sa_noea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_sa_ea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + ; + +declspecs_nosc_nots_sa_ea: + attributes + { $$ = tree_cons ($1, NULL_TREE, NULL_TREE); + TREE_STATIC ($$) = 0; } + | declspecs_nosc_nots_sa_noea attributes + { $$ = tree_cons ($2, NULL_TREE, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + ; + +declspecs_nosc_ts_nosa_noea: + typespec_nonattr + { $$ = tree_cons (NULL_TREE, $1, NULL_TREE); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_nosa_noea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_nosa_ea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_nosa_noea typespec_reserved_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_nosa_ea typespec_reserved_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_nosa_noea typespec_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_nosa_ea typespec_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + ; + +declspecs_nosc_ts_nosa_ea: + typespec_attr + { $$ = tree_cons (NULL_TREE, $1, NULL_TREE); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_nosa_noea attributes + { $$ = tree_cons ($2, NULL_TREE, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_nosc_ts_nosa_noea typespec_reserved_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_nosa_ea typespec_reserved_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_nosa_noea typespec_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_nosa_ea typespec_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + ; + +declspecs_nosc_ts_sa_noea: + declspecs_nosc_ts_sa_noea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_sa_ea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_sa_noea typespec_reserved_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_sa_ea typespec_reserved_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_sa_noea typespec_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_sa_ea typespec_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + ; + +declspecs_nosc_ts_sa_ea: + declspecs_nosc_ts_sa_noea attributes + { $$ = tree_cons ($2, NULL_TREE, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_nosc_ts_sa_noea typespec_reserved_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_sa_ea typespec_reserved_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_sa_noea typespec_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_sa_ea typespec_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + ; + +declspecs_sc_nots_nosa_noea: + scspec + { $$ = tree_cons (NULL_TREE, $1, NULL_TREE); + TREE_STATIC ($$) = 0; } + | declspecs_sc_nots_nosa_noea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_nosa_ea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_nosa_noea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_nosc_nots_nosa_ea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_nots_nosa_noea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_nots_nosa_ea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + ; + +declspecs_sc_nots_nosa_ea: + declspecs_sc_nots_nosa_noea attributes + { $$ = tree_cons ($2, NULL_TREE, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + ; + +declspecs_sc_nots_sa_noea: + declspecs_sc_nots_sa_noea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_sa_ea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_nots_sa_noea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_nosc_nots_sa_ea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_nots_sa_noea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_nots_sa_ea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + ; + +declspecs_sc_nots_sa_ea: + declspecs_sc_nots_sa_noea attributes + { $$ = tree_cons ($2, NULL_TREE, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + ; + +declspecs_sc_ts_nosa_noea: + declspecs_sc_ts_nosa_noea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_ts_nosa_ea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_ts_nosa_noea typespec_reserved_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_ts_nosa_ea typespec_reserved_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_nosa_noea typespec_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_nosa_ea typespec_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_nosa_noea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_nosc_ts_nosa_ea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_ts_nosa_noea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_ts_nosa_ea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + ; + +declspecs_sc_ts_nosa_ea: + declspecs_sc_ts_nosa_noea attributes + { $$ = tree_cons ($2, NULL_TREE, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_ts_nosa_noea typespec_reserved_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_ts_nosa_ea typespec_reserved_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_nosa_noea typespec_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_nosa_ea typespec_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + ; + +declspecs_sc_ts_sa_noea: + declspecs_sc_ts_sa_noea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_ts_sa_ea TYPE_QUAL + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_ts_sa_noea typespec_reserved_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_ts_sa_ea typespec_reserved_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_sa_noea typespec_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_sa_ea typespec_nonattr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_nosc_ts_sa_noea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_nosc_ts_sa_ea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_ts_sa_noea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_ts_sa_ea scspec + { if (extra_warnings && TREE_STATIC ($1)) + warning ("`%s' is not at beginning of declaration", + IDENTIFIER_POINTER ($2)); + $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + ; + +declspecs_sc_ts_sa_ea: + declspecs_sc_ts_sa_noea attributes + { $$ = tree_cons ($2, NULL_TREE, $1); + TREE_STATIC ($$) = TREE_STATIC ($1); } + | declspecs_sc_ts_sa_noea typespec_reserved_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_ts_sa_ea typespec_reserved_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_sa_noea typespec_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + | declspecs_sc_nots_sa_ea typespec_attr + { $$ = tree_cons (NULL_TREE, $2, $1); + TREE_STATIC ($$) = 1; } + ; + +/* Particular useful classes of declspecs. */ +declspecs_ts: + declspecs_nosc_ts_nosa_noea + | declspecs_nosc_ts_nosa_ea + | declspecs_nosc_ts_sa_noea + | declspecs_nosc_ts_sa_ea + | declspecs_sc_ts_nosa_noea + | declspecs_sc_ts_nosa_ea + | declspecs_sc_ts_sa_noea + | declspecs_sc_ts_sa_ea + ; + +declspecs_nots: + declspecs_nosc_nots_nosa_noea + | declspecs_nosc_nots_nosa_ea + | declspecs_nosc_nots_sa_noea + | declspecs_nosc_nots_sa_ea + | declspecs_sc_nots_nosa_noea + | declspecs_sc_nots_nosa_ea + | declspecs_sc_nots_sa_noea + | declspecs_sc_nots_sa_ea + ; + +declspecs_ts_nosa: + declspecs_nosc_ts_nosa_noea + | declspecs_nosc_ts_nosa_ea + | declspecs_sc_ts_nosa_noea + | declspecs_sc_ts_nosa_ea + ; + +declspecs_nots_nosa: + declspecs_nosc_nots_nosa_noea + | declspecs_nosc_nots_nosa_ea + | declspecs_sc_nots_nosa_noea + | declspecs_sc_nots_nosa_ea + ; + +declspecs_nosc_ts: + declspecs_nosc_ts_nosa_noea + | declspecs_nosc_ts_nosa_ea + | declspecs_nosc_ts_sa_noea + | declspecs_nosc_ts_sa_ea + ; + +declspecs_nosc_nots: + declspecs_nosc_nots_nosa_noea + | declspecs_nosc_nots_nosa_ea + | declspecs_nosc_nots_sa_noea + | declspecs_nosc_nots_sa_ea + ; + +declspecs_nosc: + declspecs_nosc_ts_nosa_noea + | declspecs_nosc_ts_nosa_ea + | declspecs_nosc_ts_sa_noea + | declspecs_nosc_ts_sa_ea + | declspecs_nosc_nots_nosa_noea + | declspecs_nosc_nots_nosa_ea + | declspecs_nosc_nots_sa_noea + | declspecs_nosc_nots_sa_ea + ; + +declspecs: + declspecs_nosc_nots_nosa_noea + | declspecs_nosc_nots_nosa_ea + | declspecs_nosc_nots_sa_noea + | declspecs_nosc_nots_sa_ea + | declspecs_nosc_ts_nosa_noea + | declspecs_nosc_ts_nosa_ea + | declspecs_nosc_ts_sa_noea + | declspecs_nosc_ts_sa_ea + | declspecs_sc_nots_nosa_noea + | declspecs_sc_nots_nosa_ea + | declspecs_sc_nots_sa_noea + | declspecs_sc_nots_sa_ea + | declspecs_sc_ts_nosa_noea + | declspecs_sc_ts_nosa_ea + | declspecs_sc_ts_sa_noea + | declspecs_sc_ts_sa_ea + ; + +/* A (possibly empty) sequence of type qualifiers and attributes. */ +maybe_type_quals_attrs: + /* empty */ + { $$ = NULL_TREE; } + | declspecs_nosc_nots + { $$ = $1; } + ; + +/* A type specifier (but not a type qualifier). + Once we have seen one of these in a declaration, + if a typedef name appears then it is being redeclared. + + The _reserved versions start with a reserved word and may appear anywhere + in the declaration specifiers; the _nonreserved versions may only + appear before any other type specifiers, and after that are (if names) + being redeclared. + + FIXME: should the _nonreserved version be restricted to names being + redeclared only? The other entries there relate only the GNU extensions + and Objective C, and are historically parsed thus, and don't make sense + after other type specifiers, but it might be cleaner to count them as + _reserved. + + _attr means: specifiers that either end with attributes, + or are such that any following attributes would + be parsed as part of the specifier. + + _nonattr: specifiers. */ + +typespec_nonattr: + typespec_reserved_nonattr + | typespec_nonreserved_nonattr + ; + +typespec_attr: + typespec_reserved_attr + ; + +typespec_reserved_nonattr: + TYPESPEC + { OBJC_NEED_RAW_IDENTIFIER (1); } + | structsp_nonattr + ; + +typespec_reserved_attr: + structsp_attr + ; + +typespec_nonreserved_nonattr: + TYPENAME + { /* For a typedef name, record the meaning, not the name. + In case of `foo foo, bar;'. */ + $$ = lookup_name ($1); } + | CLASSNAME protocolrefs + { $$ = get_static_reference ($1, $2); } + | OBJECTNAME protocolrefs + { $$ = get_object_reference ($2); } + +/* Make "" equivalent to "id " + - nisse@lysator.liu.se */ + | non_empty_protocolrefs + { $$ = get_object_reference ($1); } + | typeof '(' expr ')' + { skip_evaluation--; $$ = TREE_TYPE ($3); } + | typeof '(' typename ')' + { skip_evaluation--; $$ = groktypename ($3); } + ; + +/* typespec_nonreserved_attr does not exist. */ + +initdecls: + initdcl + | initdecls ',' maybe_resetattrs initdcl + ; + +notype_initdecls: + notype_initdcl + | notype_initdecls ',' maybe_resetattrs notype_initdcl + ; + +maybeasm: + /* empty */ + { $$ = NULL_TREE; } + | ASM_KEYWORD '(' STRING ')' + { $$ = $3; } + ; + +initdcl: + declarator maybeasm maybe_attribute '=' + { $$ = start_decl ($1, current_declspecs, 1, + chainon ($3, all_prefix_attributes)); + start_init ($$, $2, global_bindings_p ()); } + init +/* Note how the declaration of the variable is in effect while its init is parsed! */ + { finish_init (); + finish_decl ($5, $6, $2); } + | declarator maybeasm maybe_attribute + { tree d = start_decl ($1, current_declspecs, 0, + chainon ($3, all_prefix_attributes)); + finish_decl (d, NULL_TREE, $2); + } + ; + +notype_initdcl: + notype_declarator maybeasm maybe_attribute '=' + { $$ = start_decl ($1, current_declspecs, 1, + chainon ($3, all_prefix_attributes)); + start_init ($$, $2, global_bindings_p ()); } + init +/* Note how the declaration of the variable is in effect while its init is parsed! */ + { finish_init (); + finish_decl ($5, $6, $2); } + | notype_declarator maybeasm maybe_attribute + { tree d = start_decl ($1, current_declspecs, 0, + chainon ($3, all_prefix_attributes)); + finish_decl (d, NULL_TREE, $2); } + ; +/* the * rules are dummies to accept the Apollo extended syntax + so that the header files compile. */ +maybe_attribute: + /* empty */ + { $$ = NULL_TREE; } + | attributes + { $$ = $1; } + ; + +attributes: + attribute + { $$ = $1; } + | attributes attribute + { $$ = chainon ($1, $2); } + ; + +attribute: + ATTRIBUTE '(' '(' attribute_list ')' ')' + { $$ = $4; } + ; + +attribute_list: + attrib + { $$ = $1; } + | attribute_list ',' attrib + { $$ = chainon ($1, $3); } + ; + +attrib: + /* empty */ + { $$ = NULL_TREE; } + | any_word + { $$ = build_tree_list ($1, NULL_TREE); } + | any_word '(' IDENTIFIER ')' + { $$ = build_tree_list ($1, build_tree_list (NULL_TREE, $3)); } + | any_word '(' IDENTIFIER ',' nonnull_exprlist ')' + { $$ = build_tree_list ($1, tree_cons (NULL_TREE, $3, $5)); } + | any_word '(' exprlist ')' + { $$ = build_tree_list ($1, $3); } + ; + +/* This still leaves out most reserved keywords, + shouldn't we include them? */ + +any_word: + identifier + | scspec + | TYPESPEC + | TYPE_QUAL + ; + +scspec: + STATIC + | SCSPEC + ; + +/* Initializers. `init' is the entry point. */ + +init: + expr_no_commas + | '{' + { really_start_incremental_init (NULL_TREE); } + initlist_maybe_comma '}' + { $$ = pop_init_level (0); } + | error + { $$ = error_mark_node; } + ; + +/* `initlist_maybe_comma' is the guts of an initializer in braces. */ +initlist_maybe_comma: + /* empty */ + { if (pedantic) + pedwarn ("ISO C forbids empty initializer braces"); } + | initlist1 maybecomma + ; + +initlist1: + initelt + | initlist1 ',' initelt + ; + +/* `initelt' is a single element of an initializer. + It may use braces. */ +initelt: + designator_list '=' initval + { if (pedantic && ! flag_isoc99) + pedwarn ("ISO C89 forbids specifying subobject to initialize"); } + | designator initval + { if (pedantic) + pedwarn ("obsolete use of designated initializer without `='"); } + | identifier ':' + { set_init_label ($1); + if (pedantic) + pedwarn ("obsolete use of designated initializer with `:'"); } + initval + {} + | initval + ; + +initval: + '{' + { push_init_level (0); } + initlist_maybe_comma '}' + { process_init_element (pop_init_level (0)); } + | expr_no_commas + { process_init_element ($1); } + | error + ; + +designator_list: + designator + | designator_list designator + ; + +designator: + '.' identifier + { set_init_label ($2); } + | '[' expr_no_commas ELLIPSIS expr_no_commas ']' + { set_init_index ($2, $4); + if (pedantic) + pedwarn ("ISO C forbids specifying range of elements to initialize"); } + | '[' expr_no_commas ']' + { set_init_index ($2, NULL_TREE); } + ; + +nested_function: + declarator + { if (pedantic) + pedwarn ("ISO C forbids nested functions"); + + push_function_context (); + if (! start_function (current_declspecs, $1, + all_prefix_attributes)) + { + pop_function_context (); + YYERROR1; + } + parsing_iso_function_signature = false; /* Don't warn about nested functions. */ + } + old_style_parm_decls + { store_parm_decls (); } +/* This used to use compstmt_or_error. + That caused a bug with input `f(g) int g {}', + where the use of YYERROR1 above caused an error + which then was handled by compstmt_or_error. + There followed a repeated execution of that same rule, + which called YYERROR1 again, and so on. */ + save_filename save_lineno compstmt + { tree decl = current_function_decl; + DECL_SOURCE_FILE (decl) = $5; + DECL_SOURCE_LINE (decl) = $6; + finish_function (1, 1); + pop_function_context (); + add_decl_stmt (decl); } + ; + +notype_nested_function: + notype_declarator + { if (pedantic) + pedwarn ("ISO C forbids nested functions"); + + push_function_context (); + if (! start_function (current_declspecs, $1, + all_prefix_attributes)) + { + pop_function_context (); + YYERROR1; + } + parsing_iso_function_signature = false; /* Don't warn about nested functions. */ + } + old_style_parm_decls + { store_parm_decls (); } +/* This used to use compstmt_or_error. + That caused a bug with input `f(g) int g {}', + where the use of YYERROR1 above caused an error + which then was handled by compstmt_or_error. + There followed a repeated execution of that same rule, + which called YYERROR1 again, and so on. */ + save_filename save_lineno compstmt + { tree decl = current_function_decl; + DECL_SOURCE_FILE (decl) = $5; + DECL_SOURCE_LINE (decl) = $6; + finish_function (1, 1); + pop_function_context (); + add_decl_stmt (decl); } + ; + +/* Any kind of declarator (thus, all declarators allowed + after an explicit typespec). */ + +declarator: + after_type_declarator + | notype_declarator + ; + +/* A declarator that is allowed only after an explicit typespec. */ + +after_type_declarator: + '(' maybe_attribute after_type_declarator ')' + { $$ = $2 ? tree_cons ($2, $3, NULL_TREE) : $3; } + | after_type_declarator '(' parmlist_or_identifiers %prec '.' + { $$ = build_nt (CALL_EXPR, $1, $3, NULL_TREE); } +/* | after_type_declarator '(' error ')' %prec '.' + { $$ = build_nt (CALL_EXPR, $1, NULL_TREE, NULL_TREE); + poplevel (0, 0, 0); } */ + | after_type_declarator array_declarator %prec '.' + { $$ = set_array_declarator_type ($2, $1, 0); } + | '*' maybe_type_quals_attrs after_type_declarator %prec UNARY + { $$ = make_pointer_declarator ($2, $3); } + | TYPENAME + | OBJECTNAME + ; + +/* Kinds of declarator that can appear in a parameter list + in addition to notype_declarator. This is like after_type_declarator + but does not allow a typedef name in parentheses as an identifier + (because it would conflict with a function with that typedef as arg). */ +parm_declarator: + parm_declarator_starttypename + | parm_declarator_nostarttypename + ; + +parm_declarator_starttypename: + parm_declarator_starttypename '(' parmlist_or_identifiers %prec '.' + { $$ = build_nt (CALL_EXPR, $1, $3, NULL_TREE); } +/* | parm_declarator_starttypename '(' error ')' %prec '.' + { $$ = build_nt (CALL_EXPR, $1, NULL_TREE, NULL_TREE); + poplevel (0, 0, 0); } */ + | parm_declarator_starttypename array_declarator %prec '.' + { $$ = set_array_declarator_type ($2, $1, 0); } + | TYPENAME + | OBJECTNAME + ; + +parm_declarator_nostarttypename: + parm_declarator_nostarttypename '(' parmlist_or_identifiers %prec '.' + { $$ = build_nt (CALL_EXPR, $1, $3, NULL_TREE); } +/* | parm_declarator_nostarttypename '(' error ')' %prec '.' + { $$ = build_nt (CALL_EXPR, $1, NULL_TREE, NULL_TREE); + poplevel (0, 0, 0); } */ + | parm_declarator_nostarttypename array_declarator %prec '.' + { $$ = set_array_declarator_type ($2, $1, 0); } + | '*' maybe_type_quals_attrs parm_declarator_starttypename %prec UNARY + { $$ = make_pointer_declarator ($2, $3); } + | '*' maybe_type_quals_attrs parm_declarator_nostarttypename %prec UNARY + { $$ = make_pointer_declarator ($2, $3); } + | '(' maybe_attribute parm_declarator_nostarttypename ')' + { $$ = $2 ? tree_cons ($2, $3, NULL_TREE) : $3; } + ; + +/* A declarator allowed whether or not there has been + an explicit typespec. These cannot redeclare a typedef-name. */ + +notype_declarator: + notype_declarator '(' parmlist_or_identifiers %prec '.' + { $$ = build_nt (CALL_EXPR, $1, $3, NULL_TREE); } +/* | notype_declarator '(' error ')' %prec '.' + { $$ = build_nt (CALL_EXPR, $1, NULL_TREE, NULL_TREE); + poplevel (0, 0, 0); } */ + | '(' maybe_attribute notype_declarator ')' + { $$ = $2 ? tree_cons ($2, $3, NULL_TREE) : $3; } + | '*' maybe_type_quals_attrs notype_declarator %prec UNARY + { $$ = make_pointer_declarator ($2, $3); } + | notype_declarator array_declarator %prec '.' + { $$ = set_array_declarator_type ($2, $1, 0); } + | IDENTIFIER + ; + +struct_head: + STRUCT + { $$ = NULL_TREE; } + | STRUCT attributes + { $$ = $2; } + ; + +union_head: + UNION + { $$ = NULL_TREE; } + | UNION attributes + { $$ = $2; } + ; + +enum_head: + ENUM + { $$ = NULL_TREE; } + | ENUM attributes + { $$ = $2; } + ; + +/* structsp_attr: struct/union/enum specifiers that either + end with attributes, or are such that any following attributes would + be parsed as part of the struct/union/enum specifier. + + structsp_nonattr: other struct/union/enum specifiers. */ + +structsp_attr: + struct_head identifier '{' + { $$ = start_struct (RECORD_TYPE, $2); + /* Start scope of tag before parsing components. */ + } + component_decl_list '}' maybe_attribute + { $$ = finish_struct ($4, $5, chainon ($1, $7)); } + | struct_head '{' component_decl_list '}' maybe_attribute + { $$ = finish_struct (start_struct (RECORD_TYPE, NULL_TREE), + $3, chainon ($1, $5)); + } + | union_head identifier '{' + { $$ = start_struct (UNION_TYPE, $2); } + component_decl_list '}' maybe_attribute + { $$ = finish_struct ($4, $5, chainon ($1, $7)); } + | union_head '{' component_decl_list '}' maybe_attribute + { $$ = finish_struct (start_struct (UNION_TYPE, NULL_TREE), + $3, chainon ($1, $5)); + } + | enum_head identifier '{' + { $$ = start_enum ($2); } + enumlist maybecomma_warn '}' maybe_attribute + { $$ = finish_enum ($4, nreverse ($5), + chainon ($1, $8)); } + | enum_head '{' + { $$ = start_enum (NULL_TREE); } + enumlist maybecomma_warn '}' maybe_attribute + { $$ = finish_enum ($3, nreverse ($4), + chainon ($1, $7)); } + ; + +structsp_nonattr: + struct_head identifier + { $$ = xref_tag (RECORD_TYPE, $2); } + | union_head identifier + { $$ = xref_tag (UNION_TYPE, $2); } + | enum_head identifier + { $$ = xref_tag (ENUMERAL_TYPE, $2); + /* In ISO C, enumerated types can be referred to + only if already defined. */ + if (pedantic && !COMPLETE_TYPE_P ($$)) + pedwarn ("ISO C forbids forward references to `enum' types"); } + ; + +maybecomma: + /* empty */ + | ',' + ; + +maybecomma_warn: + /* empty */ + | ',' + { if (pedantic && ! flag_isoc99) + pedwarn ("comma at end of enumerator list"); } + ; + +component_decl_list: + component_decl_list2 + { $$ = $1; } + | component_decl_list2 component_decl + { $$ = chainon ($1, $2); + pedwarn ("no semicolon at end of struct or union"); } + ; + +component_decl_list2: /* empty */ + { $$ = NULL_TREE; } + | component_decl_list2 component_decl ';' + { $$ = chainon ($1, $2); } + | component_decl_list2 ';' + { if (pedantic) + pedwarn ("extra semicolon in struct or union specified"); } + /* foo(sizeof(struct{ @defs(ClassName)})); */ + | DEFS '(' CLASSNAME ')' + { + tree interface = lookup_interface ($3); + + if (interface) + $$ = get_class_ivars (interface); + else + { + error ("cannot find interface declaration for `%s'", + IDENTIFIER_POINTER ($3)); + $$ = NULL_TREE; + } + } + ; + +component_decl: + declspecs_nosc_ts setspecs components + { $$ = $3; + POP_DECLSPEC_STACK; } + | declspecs_nosc_ts setspecs save_filename save_lineno + { + /* Support for unnamed structs or unions as members of + structs or unions (which is [a] useful and [b] supports + MS P-SDK). */ + if (pedantic) + pedwarn ("ISO C doesn't support unnamed structs/unions"); + + $$ = grokfield($3, $4, NULL, current_declspecs, NULL_TREE); + POP_DECLSPEC_STACK; } + | declspecs_nosc_nots setspecs components_notype + { $$ = $3; + POP_DECLSPEC_STACK; } + | declspecs_nosc_nots + { if (pedantic) + pedwarn ("ISO C forbids member declarations with no members"); + shadow_tag($1); + $$ = NULL_TREE; } + | error + { $$ = NULL_TREE; } + | extension component_decl + { $$ = $2; + RESTORE_EXT_FLAGS ($1); } + ; + +components: + component_declarator + | components ',' maybe_resetattrs component_declarator + { $$ = chainon ($1, $4); } + ; + +components_notype: + component_notype_declarator + | components_notype ',' maybe_resetattrs component_notype_declarator + { $$ = chainon ($1, $4); } + ; + +component_declarator: + save_filename save_lineno declarator maybe_attribute + { $$ = grokfield ($1, $2, $3, current_declspecs, NULL_TREE); + decl_attributes (&$$, chainon ($4, all_prefix_attributes), 0); } + | save_filename save_lineno + declarator ':' expr_no_commas maybe_attribute + { $$ = grokfield ($1, $2, $3, current_declspecs, $5); + decl_attributes (&$$, chainon ($6, all_prefix_attributes), 0); } + | save_filename save_lineno ':' expr_no_commas maybe_attribute + { $$ = grokfield ($1, $2, NULL_TREE, current_declspecs, $4); + decl_attributes (&$$, chainon ($5, all_prefix_attributes), 0); } + ; + +component_notype_declarator: + save_filename save_lineno notype_declarator maybe_attribute + { $$ = grokfield ($1, $2, $3, current_declspecs, NULL_TREE); + decl_attributes (&$$, chainon ($4, all_prefix_attributes), 0); } + | save_filename save_lineno + notype_declarator ':' expr_no_commas maybe_attribute + { $$ = grokfield ($1, $2, $3, current_declspecs, $5); + decl_attributes (&$$, chainon ($6, all_prefix_attributes), 0); } + | save_filename save_lineno ':' expr_no_commas maybe_attribute + { $$ = grokfield ($1, $2, NULL_TREE, current_declspecs, $4); + decl_attributes (&$$, chainon ($5, all_prefix_attributes), 0); } + ; + +/* We chain the enumerators in reverse order. + They are put in forward order where enumlist is used. + (The order used to be significant, but no longer is so. + However, we still maintain the order, just to be clean.) */ + +enumlist: + enumerator + | enumlist ',' enumerator + { if ($1 == error_mark_node) + $$ = $1; + else + $$ = chainon ($3, $1); } + | error + { $$ = error_mark_node; } + ; + + +enumerator: + identifier + { $$ = build_enumerator ($1, NULL_TREE); } + | identifier '=' expr_no_commas + { $$ = build_enumerator ($1, $3); } + ; + +typename: + declspecs_nosc + { pending_xref_error (); + $$ = $1; } + absdcl + { $$ = build_tree_list ($2, $3); } + ; + +absdcl: /* an absolute declarator */ + /* empty */ + { $$ = NULL_TREE; } + | absdcl1 + ; + +absdcl_maybe_attribute: /* absdcl maybe_attribute, but not just attributes */ + /* empty */ + { $$ = build_tree_list (build_tree_list (current_declspecs, + NULL_TREE), + all_prefix_attributes); } + | absdcl1 + { $$ = build_tree_list (build_tree_list (current_declspecs, + $1), + all_prefix_attributes); } + | absdcl1_noea attributes + { $$ = build_tree_list (build_tree_list (current_declspecs, + $1), + chainon ($2, all_prefix_attributes)); } + ; + +absdcl1: /* a nonempty absolute declarator */ + absdcl1_ea + | absdcl1_noea + ; + +absdcl1_noea: + direct_absdcl1 + | '*' maybe_type_quals_attrs absdcl1_noea + { $$ = make_pointer_declarator ($2, $3); } + ; + +absdcl1_ea: + '*' maybe_type_quals_attrs + { $$ = make_pointer_declarator ($2, NULL_TREE); } + | '*' maybe_type_quals_attrs absdcl1_ea + { $$ = make_pointer_declarator ($2, $3); } + ; + +direct_absdcl1: + '(' maybe_attribute absdcl1 ')' + { $$ = $2 ? tree_cons ($2, $3, NULL_TREE) : $3; } + | direct_absdcl1 '(' parmlist + { $$ = build_nt (CALL_EXPR, $1, $3, NULL_TREE); } + | direct_absdcl1 array_declarator + { $$ = set_array_declarator_type ($2, $1, 1); } + | '(' parmlist + { $$ = build_nt (CALL_EXPR, NULL_TREE, $2, NULL_TREE); } + | array_declarator + { $$ = set_array_declarator_type ($1, NULL_TREE, 1); } + ; + +/* The [...] part of a declarator for an array type. */ + +array_declarator: + '[' maybe_type_quals_attrs expr ']' + { $$ = build_array_declarator ($3, $2, 0, 0); } + | '[' maybe_type_quals_attrs ']' + { $$ = build_array_declarator (NULL_TREE, $2, 0, 0); } + | '[' maybe_type_quals_attrs '*' ']' + { $$ = build_array_declarator (NULL_TREE, $2, 0, 1); } + | '[' STATIC maybe_type_quals_attrs expr ']' + { $$ = build_array_declarator ($4, $3, 1, 0); } + /* declspecs_nosc_nots is a synonym for type_quals_attrs. */ + | '[' declspecs_nosc_nots STATIC expr ']' + { $$ = build_array_declarator ($4, $2, 1, 0); } + ; + +/* A nonempty series of declarations and statements (possibly followed by + some labels) that can form the body of a compound statement. + NOTE: we don't allow labels on declarations; this might seem like a + natural extension, but there would be a conflict between attributes + on the label and prefix attributes on the declaration. */ + +stmts_and_decls: + lineno_stmt_decl_or_labels_ending_stmt + | lineno_stmt_decl_or_labels_ending_decl + | lineno_stmt_decl_or_labels_ending_label + { + pedwarn ("deprecated use of label at end of compound statement"); + } + | lineno_stmt_decl_or_labels_ending_error + ; + +lineno_stmt_decl_or_labels_ending_stmt: + lineno_stmt + | lineno_stmt_decl_or_labels_ending_stmt lineno_stmt + | lineno_stmt_decl_or_labels_ending_decl lineno_stmt + | lineno_stmt_decl_or_labels_ending_label lineno_stmt + | lineno_stmt_decl_or_labels_ending_error lineno_stmt + ; + +lineno_stmt_decl_or_labels_ending_decl: + lineno_decl + | lineno_stmt_decl_or_labels_ending_stmt lineno_decl + { if (pedantic && !flag_isoc99) + pedwarn ("ISO C89 forbids mixed declarations and code"); } + | lineno_stmt_decl_or_labels_ending_decl lineno_decl + | lineno_stmt_decl_or_labels_ending_error lineno_decl + ; + +lineno_stmt_decl_or_labels_ending_label: + lineno_label + | lineno_stmt_decl_or_labels_ending_stmt lineno_label + | lineno_stmt_decl_or_labels_ending_decl lineno_label + | lineno_stmt_decl_or_labels_ending_label lineno_label + | lineno_stmt_decl_or_labels_ending_error lineno_label + ; + +lineno_stmt_decl_or_labels_ending_error: + errstmt + | lineno_stmt_decl_or_labels errstmt + ; + +lineno_stmt_decl_or_labels: + lineno_stmt_decl_or_labels_ending_stmt + | lineno_stmt_decl_or_labels_ending_decl + | lineno_stmt_decl_or_labels_ending_label + | lineno_stmt_decl_or_labels_ending_error + ; + +errstmt: error ';' + ; + +pushlevel: /* empty */ + { pushlevel (0); + clear_last_expr (); + add_scope_stmt (/*begin_p=*/1, /*partial_p=*/0); + if (objc_method_context) + add_objc_decls (); + } + ; + +poplevel: /* empty */ + { $$ = add_scope_stmt (/*begin_p=*/0, /*partial_p=*/0); } + ; + +/* Start and end blocks created for the new scopes of C99. */ +c99_block_start: /* empty */ + { if (flag_isoc99) + { + $$ = c_begin_compound_stmt (); + pushlevel (0); + clear_last_expr (); + add_scope_stmt (/*begin_p=*/1, /*partial_p=*/0); + if (objc_method_context) + add_objc_decls (); + } + else + $$ = NULL_TREE; + } + ; + +/* Productions using c99_block_start and c99_block_end will need to do what's + in compstmt: RECHAIN_STMTS ($1, COMPOUND_BODY ($1)); $$ = $2; where + $1 is the value of c99_block_start and $2 of c99_block_end. */ +c99_block_end: /* empty */ + { if (flag_isoc99) + { + tree scope_stmt = add_scope_stmt (/*begin_p=*/0, /*partial_p=*/0); + $$ = poplevel (kept_level_p (), 0, 0); + SCOPE_STMT_BLOCK (TREE_PURPOSE (scope_stmt)) + = SCOPE_STMT_BLOCK (TREE_VALUE (scope_stmt)) + = $$; + } + else + $$ = NULL_TREE; } + ; + +/* Read zero or more forward-declarations for labels + that nested functions can jump to. */ +maybe_label_decls: + /* empty */ + | label_decls + { if (pedantic) + pedwarn ("ISO C forbids label declarations"); } + ; + +label_decls: + label_decl + | label_decls label_decl + ; + +label_decl: + LABEL identifiers_or_typenames ';' + { tree link; + for (link = $2; link; link = TREE_CHAIN (link)) + { + tree label = shadow_label (TREE_VALUE (link)); + C_DECLARED_LABEL_FLAG (label) = 1; + add_decl_stmt (label); + } + } + ; + +/* This is the body of a function definition. + It causes syntax errors to ignore to the next openbrace. */ +compstmt_or_error: + compstmt + {} + | error compstmt + ; + +compstmt_start: '{' { compstmt_count++; + $$ = c_begin_compound_stmt (); } + ; + +compstmt_nostart: '}' + { $$ = convert (void_type_node, integer_zero_node); } + | pushlevel maybe_label_decls compstmt_contents_nonempty '}' poplevel + { $$ = poplevel (kept_level_p (), 1, 0); + SCOPE_STMT_BLOCK (TREE_PURPOSE ($5)) + = SCOPE_STMT_BLOCK (TREE_VALUE ($5)) + = $$; } + ; + +compstmt_contents_nonempty: + stmts_and_decls + | error + ; + +compstmt_primary_start: + '(' '{' + { if (current_function_decl == 0) + { + error ("braced-group within expression allowed only inside a function"); + YYERROR; + } + /* We must force a BLOCK for this level + so that, if it is not expanded later, + there is a way to turn off the entire subtree of blocks + that are contained in it. */ + keep_next_level (); + push_label_level (); + compstmt_count++; + $$ = add_stmt (build_stmt (COMPOUND_STMT, last_tree)); + } + ; + +compstmt: compstmt_start compstmt_nostart + { RECHAIN_STMTS ($1, COMPOUND_BODY ($1)); + last_expr_type = NULL_TREE; + $$ = $1; } + ; + +/* Value is number of statements counted as of the closeparen. */ +simple_if: + if_prefix c99_block_lineno_labeled_stmt + { c_finish_then (); } +/* Make sure c_expand_end_cond is run once + for each call to c_expand_start_cond. + Otherwise a crash is likely. */ + | if_prefix error + ; + +if_prefix: + /* We must build the IF_STMT node before parsing its + condition so that STMT_LINENO refers to the line + containing the "if", and not the line containing + the close-parenthesis. + + c_begin_if_stmt returns the IF_STMT node, which + we later pass to c_expand_start_cond to fill + in the condition and other tidbits. */ + IF + { $$ = c_begin_if_stmt (); } + '(' expr ')' + { c_expand_start_cond (c_common_truthvalue_conversion ($4), + compstmt_count,$2); + $$ = stmt_count; + if_stmt_file = $-2; + if_stmt_line = $-1; } + ; + +/* This is a subroutine of stmt. + It is used twice, once for valid DO statements + and once for catching errors in parsing the end test. */ +do_stmt_start: + DO + { stmt_count++; + compstmt_count++; + $$ + = add_stmt (build_stmt (DO_STMT, NULL_TREE, + NULL_TREE)); + /* In the event that a parse error prevents + parsing the complete do-statement, set the + condition now. Otherwise, we can get crashes at + RTL-generation time. */ + DO_COND ($$) = error_mark_node; } + c99_block_lineno_labeled_stmt WHILE + { $$ = $2; + RECHAIN_STMTS ($$, DO_BODY ($$)); } + ; + +/* The forced readahead in here is because we might be at the end of a + line, and the line and file won't be bumped until yylex absorbs the + first token on the next line. */ +save_filename: + { if (yychar == YYEMPTY) + yychar = YYLEX; + $$ = input_filename; } + ; + +save_lineno: + { if (yychar == YYEMPTY) + yychar = YYLEX; + $$ = lineno; } + ; + +lineno_labeled_stmt: + lineno_stmt + | lineno_label lineno_labeled_stmt + ; + +/* Like lineno_labeled_stmt, but a block in C99. */ +c99_block_lineno_labeled_stmt: + c99_block_start lineno_labeled_stmt c99_block_end + { if (flag_isoc99) + RECHAIN_STMTS ($1, COMPOUND_BODY ($1)); } + ; + +lineno_stmt: + save_filename save_lineno stmt + { if ($3) + { + STMT_LINENO ($3) = $2; + /* ??? We currently have no way of recording + the filename for a statement. This probably + matters little in practice at the moment, + but I suspect that problems will occur when + doing inlining at the tree level. */ + } + } + ; + +lineno_label: + save_filename save_lineno label + { if ($3) + { + STMT_LINENO ($3) = $2; + } + } + ; + +select_or_iter_stmt: + simple_if ELSE + { c_expand_start_else (); + $1 = stmt_count; } + c99_block_lineno_labeled_stmt + { c_finish_else (); + c_expand_end_cond (); + if (extra_warnings && stmt_count == $1) + warning ("empty body in an else-statement"); } + | simple_if %prec IF + { c_expand_end_cond (); + /* This warning is here instead of in simple_if, because we + do not want a warning if an empty if is followed by an + else statement. Increment stmt_count so we don't + give a second error if this is a nested `if'. */ + if (extra_warnings && stmt_count++ == $1) + warning_with_file_and_line (if_stmt_file, if_stmt_line, + "empty body in an if-statement"); } +/* Make sure c_expand_end_cond is run once + for each call to c_expand_start_cond. + Otherwise a crash is likely. */ + | simple_if ELSE error + { c_expand_end_cond (); } + /* We must build the WHILE_STMT node before parsing its + condition so that STMT_LINENO refers to the line + containing the "while", and not the line containing + the close-parenthesis. + + c_begin_while_stmt returns the WHILE_STMT node, which + we later pass to c_finish_while_stmt_cond to fill + in the condition and other tidbits. */ + | WHILE + { stmt_count++; + $$ = c_begin_while_stmt (); } + '(' expr ')' + { $4 = c_common_truthvalue_conversion ($4); + c_finish_while_stmt_cond + (c_common_truthvalue_conversion ($4), $2); + $$ = add_stmt ($2); } + c99_block_lineno_labeled_stmt + { RECHAIN_STMTS ($6, WHILE_BODY ($6)); } + | do_stmt_start + '(' expr ')' ';' + { DO_COND ($1) = c_common_truthvalue_conversion ($3); } + | do_stmt_start error + { } + | FOR + { $$ = build_stmt (FOR_STMT, NULL_TREE, NULL_TREE, + NULL_TREE, NULL_TREE); + add_stmt ($$); } + '(' for_init_stmt + { stmt_count++; + RECHAIN_STMTS ($2, FOR_INIT_STMT ($2)); } + xexpr ';' + { if ($6) + FOR_COND ($2) + = c_common_truthvalue_conversion ($6); } + xexpr ')' + { FOR_EXPR ($2) = $9; } + c99_block_lineno_labeled_stmt + { RECHAIN_STMTS ($2, FOR_BODY ($2)); } + | SWITCH '(' expr ')' + { stmt_count++; + $$ = c_start_case ($3); } + c99_block_lineno_labeled_stmt + { c_finish_case (); } + ; + +for_init_stmt: + xexpr ';' + { add_stmt (build_stmt (EXPR_STMT, $1)); } + | decl + { check_for_loop_decls (); } + ; + +/* Parse a single real statement, not including any labels. */ +stmt: + compstmt + { stmt_count++; $$ = $1; } + | expr ';' + { stmt_count++; + $$ = c_expand_expr_stmt ($1); } + | c99_block_start select_or_iter_stmt c99_block_end + { if (flag_isoc99) + RECHAIN_STMTS ($1, COMPOUND_BODY ($1)); + $$ = NULL_TREE; } + | BREAK ';' + { stmt_count++; + $$ = add_stmt (build_break_stmt ()); } + | CONTINUE ';' + { stmt_count++; + $$ = add_stmt (build_continue_stmt ()); } + | RETURN ';' + { stmt_count++; + $$ = c_expand_return (NULL_TREE); } + | RETURN expr ';' + { stmt_count++; + $$ = c_expand_return ($2); } + | ASM_KEYWORD maybe_type_qual '(' expr ')' ';' + { stmt_count++; + $$ = simple_asm_stmt ($4); } + /* This is the case with just output operands. */ + | ASM_KEYWORD maybe_type_qual '(' expr ':' asm_operands ')' ';' + { stmt_count++; + $$ = build_asm_stmt ($2, $4, $6, NULL_TREE, NULL_TREE); } + /* This is the case with input operands as well. */ + | ASM_KEYWORD maybe_type_qual '(' expr ':' asm_operands ':' + asm_operands ')' ';' + { stmt_count++; + $$ = build_asm_stmt ($2, $4, $6, $8, NULL_TREE); } + /* This is the case with clobbered registers as well. */ + | ASM_KEYWORD maybe_type_qual '(' expr ':' asm_operands ':' + asm_operands ':' asm_clobbers ')' ';' + { stmt_count++; + $$ = build_asm_stmt ($2, $4, $6, $8, $10); } + | GOTO identifier ';' + { tree decl; + stmt_count++; + decl = lookup_label ($2); + if (decl != 0) + { + TREE_USED (decl) = 1; + $$ = add_stmt (build_stmt (GOTO_STMT, decl)); + } + else + $$ = NULL_TREE; + } + | GOTO '*' expr ';' + { if (pedantic) + pedwarn ("ISO C forbids `goto *expr;'"); + stmt_count++; + $3 = convert (ptr_type_node, $3); + $$ = add_stmt (build_stmt (GOTO_STMT, $3)); } + | ';' + { $$ = NULL_TREE; } + ; + +/* Any kind of label, including jump labels and case labels. + ANSI C accepts labels only before statements, but we allow them + also at the end of a compound statement. */ + +label: CASE expr_no_commas ':' + { stmt_count++; + $$ = do_case ($2, NULL_TREE); } + | CASE expr_no_commas ELLIPSIS expr_no_commas ':' + { stmt_count++; + $$ = do_case ($2, $4); } + | DEFAULT ':' + { stmt_count++; + $$ = do_case (NULL_TREE, NULL_TREE); } + | identifier save_filename save_lineno ':' maybe_attribute + { tree label = define_label ($2, $3, $1); + stmt_count++; + if (label) + { + decl_attributes (&label, $5, 0); + $$ = add_stmt (build_stmt (LABEL_STMT, label)); + } + else + $$ = NULL_TREE; + } + ; + +/* Either a type-qualifier or nothing. First thing in an `asm' statement. */ + +maybe_type_qual: + /* empty */ + { emit_line_note (input_filename, lineno); + $$ = NULL_TREE; } + | TYPE_QUAL + { emit_line_note (input_filename, lineno); } + ; + +xexpr: + /* empty */ + { $$ = NULL_TREE; } + | expr + ; + +/* These are the operands other than the first string and colon + in asm ("addextend %2,%1": "=dm" (x), "0" (y), "g" (*x)) */ +asm_operands: /* empty */ + { $$ = NULL_TREE; } + | nonnull_asm_operands + ; + +nonnull_asm_operands: + asm_operand + | nonnull_asm_operands ',' asm_operand + { $$ = chainon ($1, $3); } + ; + +asm_operand: + STRING '(' expr ')' + { $$ = build_tree_list (build_tree_list (NULL_TREE, $1), $3); } + | '[' identifier ']' STRING '(' expr ')' + { $2 = build_string (IDENTIFIER_LENGTH ($2), + IDENTIFIER_POINTER ($2)); + $$ = build_tree_list (build_tree_list ($2, $4), $6); } + ; + +asm_clobbers: + STRING + { $$ = tree_cons (NULL_TREE, $1, NULL_TREE); } + | asm_clobbers ',' STRING + { $$ = tree_cons (NULL_TREE, $3, $1); } + ; + +/* This is what appears inside the parens in a function declarator. + Its value is a list of ..._TYPE nodes. Attributes must appear here + to avoid a conflict with their appearance after an open parenthesis + in an abstract declarator, as in + "void bar (int (__attribute__((__mode__(SI))) int foo));". */ +parmlist: + maybe_attribute + { pushlevel (0); + clear_parm_order (); + declare_parm_level (0); } + parmlist_1 + { $$ = $3; + parmlist_tags_warning (); + poplevel (0, 0, 0); } + ; + +parmlist_1: + parmlist_2 ')' + | parms ';' + { tree parm; + if (pedantic) + pedwarn ("ISO 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 (); } + maybe_attribute + { /* Dummy action so attributes are in known place + on parser stack. */ } + parmlist_1 + { $$ = $6; } + | error ')' + { $$ = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE); } + ; + +/* This is what appears inside the parens in a function declarator. + Is value is represented in the format that grokdeclarator expects. */ +parmlist_2: /* empty */ + { $$ = get_parm_info (0); } + | ELLIPSIS + { $$ = get_parm_info (0); + /* Gcc used to allow this as an extension. However, it does + not work for all targets, and thus has been disabled. + Also, since func (...) and func () are indistinguishable, + it caused problems with the code in expand_builtin which + tries to verify that BUILT_IN_NEXT_ARG is being used + correctly. */ + error ("ISO C requires a named argument before `...'"); + } + | parms + { $$ = get_parm_info (1); + parsing_iso_function_signature = true; + } + | parms ',' ELLIPSIS + { $$ = get_parm_info (0); } + ; + +parms: + firstparm + { push_parm_decl ($1); } + | parms ',' parm + { push_parm_decl ($3); } + ; + +/* A single parameter declaration or parameter type name, + as found in a parmlist. */ +parm: + declspecs_ts setspecs parm_declarator maybe_attribute + { $$ = build_tree_list (build_tree_list (current_declspecs, + $3), + chainon ($4, all_prefix_attributes)); + POP_DECLSPEC_STACK; } + | declspecs_ts setspecs notype_declarator maybe_attribute + { $$ = build_tree_list (build_tree_list (current_declspecs, + $3), + chainon ($4, all_prefix_attributes)); + POP_DECLSPEC_STACK; } + | declspecs_ts setspecs absdcl_maybe_attribute + { $$ = $3; + POP_DECLSPEC_STACK; } + | declspecs_nots setspecs notype_declarator maybe_attribute + { $$ = build_tree_list (build_tree_list (current_declspecs, + $3), + chainon ($4, all_prefix_attributes)); + POP_DECLSPEC_STACK; } + + | declspecs_nots setspecs absdcl_maybe_attribute + { $$ = $3; + POP_DECLSPEC_STACK; } + ; + +/* The first parm, which must suck attributes from off the top of the parser + stack. */ +firstparm: + declspecs_ts_nosa setspecs_fp parm_declarator maybe_attribute + { $$ = build_tree_list (build_tree_list (current_declspecs, + $3), + chainon ($4, all_prefix_attributes)); + POP_DECLSPEC_STACK; } + | declspecs_ts_nosa setspecs_fp notype_declarator maybe_attribute + { $$ = build_tree_list (build_tree_list (current_declspecs, + $3), + chainon ($4, all_prefix_attributes)); + POP_DECLSPEC_STACK; } + | declspecs_ts_nosa setspecs_fp absdcl_maybe_attribute + { $$ = $3; + POP_DECLSPEC_STACK; } + | declspecs_nots_nosa setspecs_fp notype_declarator maybe_attribute + { $$ = build_tree_list (build_tree_list (current_declspecs, + $3), + chainon ($4, all_prefix_attributes)); + POP_DECLSPEC_STACK; } + + | declspecs_nots_nosa setspecs_fp absdcl_maybe_attribute + { $$ = $3; + POP_DECLSPEC_STACK; } + ; + +setspecs_fp: + setspecs + { prefix_attributes = chainon (prefix_attributes, $-2); + all_prefix_attributes = prefix_attributes; } + ; + +/* This is used in a function definition + where either a parmlist or an identifier list is ok. + Its value is a list of ..._TYPE nodes or a list of identifiers. */ +parmlist_or_identifiers: + maybe_attribute + { pushlevel (0); + clear_parm_order (); + declare_parm_level (1); } + parmlist_or_identifiers_1 + { $$ = $3; + parmlist_tags_warning (); + poplevel (0, 0, 0); } + ; + +parmlist_or_identifiers_1: + parmlist_1 + | identifiers ')' + { tree t; + for (t = $1; t; t = TREE_CHAIN (t)) + if (TREE_VALUE (t) == NULL_TREE) + error ("`...' in old-style identifier list"); + $$ = tree_cons (NULL_TREE, NULL_TREE, $1); + + /* Make sure we have a parmlist after attributes. */ + if ($-1 != 0 + && (TREE_CODE ($$) != TREE_LIST + || TREE_PURPOSE ($$) == 0 + || TREE_CODE (TREE_PURPOSE ($$)) != PARM_DECL)) + YYERROR1; + } + ; + +/* A nonempty list of identifiers. */ +identifiers: + IDENTIFIER + { $$ = build_tree_list (NULL_TREE, $1); } + | identifiers ',' IDENTIFIER + { $$ = chainon ($1, build_tree_list (NULL_TREE, $3)); } + ; + +/* A nonempty list of identifiers, including typenames. */ +identifiers_or_typenames: + identifier + { $$ = build_tree_list (NULL_TREE, $1); } + | identifiers_or_typenames ',' identifier + { $$ = chainon ($1, build_tree_list (NULL_TREE, $3)); } + ; + +extension: + EXTENSION + { $$ = SAVE_EXT_FLAGS(); + pedantic = 0; + warn_pointer_arith = 0; + warn_traditional = 0; + flag_iso = 0; } + ; + +/* Objective-C productions. */ + +objcdef: + classdef + | classdecl + | aliasdecl + | protocoldef + | methoddef + | END + { + if (objc_implementation_context) + { + finish_class (objc_implementation_context); + objc_ivar_chain = NULL_TREE; + objc_implementation_context = NULL_TREE; + } + else + warning ("`@end' must appear in an implementation context"); + } + ; + +/* A nonempty list of identifiers. */ +identifier_list: + identifier + { $$ = build_tree_list (NULL_TREE, $1); } + | identifier_list ',' identifier + { $$ = chainon ($1, build_tree_list (NULL_TREE, $3)); } + ; + +classdecl: + CLASS identifier_list ';' + { + objc_declare_class ($2); + } + ; + +aliasdecl: + ALIAS identifier identifier ';' + { + objc_declare_alias ($2, $3); + } + ; + +classdef: + INTERFACE identifier protocolrefs '{' + { + objc_interface_context = objc_ivar_context + = start_class (CLASS_INTERFACE_TYPE, $2, NULL_TREE, $3); + objc_public_flag = 0; + } + ivar_decl_list '}' + { + continue_class (objc_interface_context); + } + methodprotolist + END + { + finish_class (objc_interface_context); + objc_interface_context = NULL_TREE; + } + + | INTERFACE identifier protocolrefs + { + objc_interface_context + = start_class (CLASS_INTERFACE_TYPE, $2, NULL_TREE, $3); + continue_class (objc_interface_context); + } + methodprotolist + END + { + finish_class (objc_interface_context); + objc_interface_context = NULL_TREE; + } + + | INTERFACE identifier ':' identifier protocolrefs '{' + { + objc_interface_context = objc_ivar_context + = start_class (CLASS_INTERFACE_TYPE, $2, $4, $5); + objc_public_flag = 0; + } + ivar_decl_list '}' + { + continue_class (objc_interface_context); + } + methodprotolist + END + { + finish_class (objc_interface_context); + objc_interface_context = NULL_TREE; + } + + | INTERFACE identifier ':' identifier protocolrefs + { + objc_interface_context + = start_class (CLASS_INTERFACE_TYPE, $2, $4, $5); + continue_class (objc_interface_context); + } + methodprotolist + END + { + finish_class (objc_interface_context); + objc_interface_context = NULL_TREE; + } + + | IMPLEMENTATION identifier '{' + { + objc_implementation_context = objc_ivar_context + = start_class (CLASS_IMPLEMENTATION_TYPE, $2, NULL_TREE, NULL_TREE); + objc_public_flag = 0; + } + ivar_decl_list '}' + { + objc_ivar_chain + = continue_class (objc_implementation_context); + } + + | IMPLEMENTATION identifier + { + objc_implementation_context + = start_class (CLASS_IMPLEMENTATION_TYPE, $2, NULL_TREE, NULL_TREE); + objc_ivar_chain + = continue_class (objc_implementation_context); + } + + | IMPLEMENTATION identifier ':' identifier '{' + { + objc_implementation_context = objc_ivar_context + = start_class (CLASS_IMPLEMENTATION_TYPE, $2, $4, NULL_TREE); + objc_public_flag = 0; + } + ivar_decl_list '}' + { + objc_ivar_chain + = continue_class (objc_implementation_context); + } + + | IMPLEMENTATION identifier ':' identifier + { + objc_implementation_context + = start_class (CLASS_IMPLEMENTATION_TYPE, $2, $4, NULL_TREE); + objc_ivar_chain + = continue_class (objc_implementation_context); + } + + | INTERFACE identifier '(' identifier ')' protocolrefs + { + objc_interface_context + = start_class (CATEGORY_INTERFACE_TYPE, $2, $4, $6); + continue_class (objc_interface_context); + } + methodprotolist + END + { + finish_class (objc_interface_context); + objc_interface_context = NULL_TREE; + } + + | IMPLEMENTATION identifier '(' identifier ')' + { + objc_implementation_context + = start_class (CATEGORY_IMPLEMENTATION_TYPE, $2, $4, NULL_TREE); + objc_ivar_chain + = continue_class (objc_implementation_context); + } + ; + +protocoldef: + PROTOCOL identifier protocolrefs + { + objc_pq_context = 1; + objc_interface_context + = start_protocol(PROTOCOL_INTERFACE_TYPE, $2, $3); + } + methodprotolist END + { + objc_pq_context = 0; + finish_protocol(objc_interface_context); + objc_interface_context = NULL_TREE; + } + /* The @protocol forward-declaration production introduces a + reduce/reduce conflict on ';', which should be resolved in + favor of the production 'identifier_list -> identifier'. */ + | PROTOCOL identifier_list ';' + { + objc_declare_protocols ($2); + } + ; + +protocolrefs: + /* empty */ + { + $$ = NULL_TREE; + } + | non_empty_protocolrefs + ; + +non_empty_protocolrefs: + ARITHCOMPARE identifier_list ARITHCOMPARE + { + if ($1 == LT_EXPR && $3 == GT_EXPR) + $$ = $2; + else + YYERROR1; + } + ; + +ivar_decl_list: + ivar_decl_list visibility_spec ivar_decls + | ivar_decls + ; + +visibility_spec: + PRIVATE { objc_public_flag = 2; } + | PROTECTED { objc_public_flag = 0; } + | PUBLIC { objc_public_flag = 1; } + ; + +ivar_decls: + /* empty */ + { + $$ = NULL_TREE; + } + | ivar_decls ivar_decl ';' + | ivar_decls ';' + { + if (pedantic) + pedwarn ("extra semicolon in struct or union specified"); + } + ; + + +/* There is a shift-reduce conflict here, because `components' may + start with a `typename'. It happens that shifting (the default resolution) + does the right thing, because it treats the `typename' as part of + a `typed_typespecs'. + + It is possible that this same technique would allow the distinction + between `notype_initdecls' and `initdecls' to be eliminated. + But I am being cautious and not trying it. */ + +ivar_decl: + declspecs_nosc_ts setspecs ivars + { $$ = $3; + POP_DECLSPEC_STACK; } + | declspecs_nosc_nots setspecs ivars + { $$ = $3; + POP_DECLSPEC_STACK; } + | error + { $$ = NULL_TREE; } + ; + +ivars: + /* empty */ + { $$ = NULL_TREE; } + | ivar_declarator + | ivars ',' maybe_resetattrs ivar_declarator + ; + +ivar_declarator: + declarator + { + $$ = add_instance_variable (objc_ivar_context, + objc_public_flag, + $1, current_declspecs, + NULL_TREE); + } + | declarator ':' expr_no_commas + { + $$ = add_instance_variable (objc_ivar_context, + objc_public_flag, + $1, current_declspecs, $3); + } + | ':' expr_no_commas + { + $$ = add_instance_variable (objc_ivar_context, + objc_public_flag, + NULL_TREE, + current_declspecs, $2); + } + ; + +methodtype: + '+' + { objc_inherit_code = CLASS_METHOD_DECL; } + | '-' + { objc_inherit_code = INSTANCE_METHOD_DECL; } + ; + +methoddef: + methodtype + { + objc_pq_context = 1; + if (!objc_implementation_context) + fatal_error ("method definition not in class context"); + } + methoddecl + { + objc_pq_context = 0; + if (objc_inherit_code == CLASS_METHOD_DECL) + add_class_method (objc_implementation_context, $3); + else + add_instance_method (objc_implementation_context, $3); + start_method_def ($3); + } + optarglist + { + continue_method_def (); + } + compstmt_or_error + { + finish_method_def (); + } + ; + +/* the reason for the strange actions in this rule + is so that notype_initdecls when reached via datadef + can find a valid list of type and sc specs in $0. */ + +methodprotolist: + /* empty */ + | {$$ = NULL_TREE; } methodprotolist2 + ; + +methodprotolist2: /* eliminates a shift/reduce conflict */ + methodproto + | datadef + | methodprotolist2 methodproto + | methodprotolist2 {$$ = NULL_TREE; } datadef + ; + +semi_or_error: + ';' + | error + ; + +methodproto: + methodtype + { + /* Remember protocol qualifiers in prototypes. */ + objc_pq_context = 1; + } + methoddecl + { + /* Forget protocol qualifiers here. */ + objc_pq_context = 0; + if (objc_inherit_code == CLASS_METHOD_DECL) + add_class_method (objc_interface_context, $3); + else + add_instance_method (objc_interface_context, $3); + } + semi_or_error + ; + +methoddecl: + '(' typename ')' unaryselector + { + $$ = build_method_decl (objc_inherit_code, $2, $4, NULL_TREE); + } + + | unaryselector + { + $$ = build_method_decl (objc_inherit_code, NULL_TREE, $1, NULL_TREE); + } + + | '(' typename ')' keywordselector optparmlist + { + $$ = build_method_decl (objc_inherit_code, $2, $4, $5); + } + + | keywordselector optparmlist + { + $$ = build_method_decl (objc_inherit_code, NULL_TREE, $1, $2); + } + ; + +/* "optarglist" assumes that start_method_def has already been called... + if it is not, the "xdecls" will not be placed in the proper scope */ + +optarglist: + /* empty */ + | ';' myxdecls + ; + +/* to get around the following situation: "int foo (int a) int b; {}" that + is synthesized when parsing "- a:a b:b; id c; id d; { ... }" */ + +myxdecls: + /* empty */ + | mydecls + ; + +mydecls: + mydecl + | errstmt + | mydecls mydecl + | mydecl errstmt + ; + +mydecl: + declspecs_ts setspecs myparms ';' + { POP_DECLSPEC_STACK; } + | declspecs_ts ';' + { shadow_tag ($1); } + | declspecs_nots ';' + { pedwarn ("empty declaration"); } + ; + +myparms: + myparm + { push_parm_decl ($1); } + | myparms ',' myparm + { push_parm_decl ($3); } + ; + +/* A single parameter declaration or parameter type name, + as found in a parmlist. DOES NOT ALLOW AN INITIALIZER OR ASMSPEC */ + +myparm: + parm_declarator maybe_attribute + { $$ = build_tree_list (build_tree_list (current_declspecs, + $1), + chainon ($2, all_prefix_attributes)); } + | notype_declarator maybe_attribute + { $$ = build_tree_list (build_tree_list (current_declspecs, + $1), + chainon ($2, all_prefix_attributes)); } + | absdcl_maybe_attribute + { $$ = $1; } + ; + +optparmlist: + /* empty */ + { + $$ = NULL_TREE; + } + | ',' ELLIPSIS + { + /* oh what a kludge! */ + $$ = objc_ellipsis_node; + } + | ',' + { + pushlevel (0); + } + parmlist_2 + { + /* returns a tree list node generated by get_parm_info */ + $$ = $3; + poplevel (0, 0, 0); + } + ; + +unaryselector: + selector + ; + +keywordselector: + keyworddecl + + | keywordselector keyworddecl + { + $$ = chainon ($1, $2); + } + ; + +selector: + IDENTIFIER + | TYPENAME + | CLASSNAME + | OBJECTNAME + | reservedwords + ; + +reservedwords: + ENUM | STRUCT | UNION | IF | ELSE | WHILE | DO | FOR + | SWITCH | CASE | DEFAULT | BREAK | CONTINUE | RETURN + | GOTO | ASM_KEYWORD | SIZEOF | TYPEOF | ALIGNOF + | TYPESPEC | TYPE_QUAL + ; + +keyworddecl: + selector ':' '(' typename ')' identifier + { + $$ = build_keyword_decl ($1, $4, $6); + } + + | selector ':' identifier + { + $$ = build_keyword_decl ($1, NULL_TREE, $3); + } + + | ':' '(' typename ')' identifier + { + $$ = build_keyword_decl (NULL_TREE, $3, $5); + } + + | ':' identifier + { + $$ = build_keyword_decl (NULL_TREE, NULL_TREE, $2); + } + ; + +messageargs: + selector + | keywordarglist + ; + +keywordarglist: + keywordarg + | keywordarglist keywordarg + { + $$ = chainon ($1, $2); + } + ; + + +keywordexpr: + nonnull_exprlist + { + if (TREE_CHAIN ($1) == NULL_TREE) + /* just return the expr., remove a level of indirection */ + $$ = TREE_VALUE ($1); + else + /* we have a comma expr., we will collapse later */ + $$ = $1; + } + ; + +keywordarg: + selector ':' keywordexpr + { + $$ = build_tree_list ($1, $3); + } + | ':' keywordexpr + { + $$ = build_tree_list (NULL_TREE, $2); + } + ; + +receiver: + expr + | CLASSNAME + { + $$ = get_class_reference ($1); + } + ; + +objcmessageexpr: + '[' receiver messageargs ']' + { $$ = build_tree_list ($2, $3); } + ; + +selectorarg: + selector + | keywordnamelist + ; + +keywordnamelist: + keywordname + | keywordnamelist keywordname + { + $$ = chainon ($1, $2); + } + ; + +keywordname: + selector ':' + { + $$ = build_tree_list ($1, NULL_TREE); + } + | ':' + { + $$ = build_tree_list (NULL_TREE, NULL_TREE); + } + ; + +objcselectorexpr: + SELECTOR '(' selectorarg ')' + { + $$ = $3; + } + ; + +objcprotocolexpr: + PROTOCOL '(' identifier ')' + { + $$ = $3; + } + ; + +/* extension to support C-structures in the archiver */ + +objcencodeexpr: + ENCODE '(' typename ')' + { + $$ = groktypename ($3); + } + ; + +%% + +/* yylex() is a thin wrapper around c_lex(), all it does is translate + cpplib.h's token codes into yacc's token codes. */ + +static enum cpp_ttype last_token; + +/* The reserved keyword table. */ +struct resword +{ + const char *word; + ENUM_BITFIELD(rid) rid : 16; + unsigned int disable : 16; +}; + +/* Disable mask. Keywords are disabled if (reswords[i].disable & mask) is + _true_. */ +#define D_C89 0x01 /* not in C89 */ +#define D_EXT 0x02 /* GCC extension */ +#define D_EXT89 0x04 /* GCC extension incorporated in C99 */ +#define D_OBJC 0x08 /* Objective C only */ + +static const struct resword reswords[] = +{ + { "_Bool", RID_BOOL, 0 }, + { "_Complex", RID_COMPLEX, 0 }, + { "__FUNCTION__", RID_FUNCTION_NAME, 0 }, + { "__PRETTY_FUNCTION__", RID_PRETTY_FUNCTION_NAME, 0 }, + { "__alignof", RID_ALIGNOF, 0 }, + { "__alignof__", RID_ALIGNOF, 0 }, + { "__asm", RID_ASM, 0 }, + { "__asm__", RID_ASM, 0 }, + { "__attribute", RID_ATTRIBUTE, 0 }, + { "__attribute__", RID_ATTRIBUTE, 0 }, + { "__bounded", RID_BOUNDED, 0 }, + { "__bounded__", RID_BOUNDED, 0 }, + { "__builtin_choose_expr", RID_CHOOSE_EXPR, 0 }, + { "__builtin_types_compatible_p", RID_TYPES_COMPATIBLE_P, 0 }, + { "__builtin_va_arg", RID_VA_ARG, 0 }, + { "__complex", RID_COMPLEX, 0 }, + { "__complex__", RID_COMPLEX, 0 }, + { "__const", RID_CONST, 0 }, + { "__const__", RID_CONST, 0 }, + { "__extension__", RID_EXTENSION, 0 }, + { "__func__", RID_C99_FUNCTION_NAME, 0 }, + { "__imag", RID_IMAGPART, 0 }, + { "__imag__", RID_IMAGPART, 0 }, + { "__inline", RID_INLINE, 0 }, + { "__inline__", RID_INLINE, 0 }, + { "__label__", RID_LABEL, 0 }, + { "__ptrbase", RID_PTRBASE, 0 }, + { "__ptrbase__", RID_PTRBASE, 0 }, + { "__ptrextent", RID_PTREXTENT, 0 }, + { "__ptrextent__", RID_PTREXTENT, 0 }, + { "__ptrvalue", RID_PTRVALUE, 0 }, + { "__ptrvalue__", RID_PTRVALUE, 0 }, + { "__real", RID_REALPART, 0 }, + { "__real__", RID_REALPART, 0 }, + { "__restrict", RID_RESTRICT, 0 }, + { "__restrict__", RID_RESTRICT, 0 }, + { "__signed", RID_SIGNED, 0 }, + { "__signed__", RID_SIGNED, 0 }, + { "__thread", RID_THREAD, 0 }, + { "__typeof", RID_TYPEOF, 0 }, + { "__typeof__", RID_TYPEOF, 0 }, + { "__unbounded", RID_UNBOUNDED, 0 }, + { "__unbounded__", RID_UNBOUNDED, 0 }, + { "__volatile", RID_VOLATILE, 0 }, + { "__volatile__", RID_VOLATILE, 0 }, + { "asm", RID_ASM, D_EXT }, + { "auto", RID_AUTO, 0 }, + { "break", RID_BREAK, 0 }, + { "case", RID_CASE, 0 }, + { "char", RID_CHAR, 0 }, + { "const", RID_CONST, 0 }, + { "continue", RID_CONTINUE, 0 }, + { "default", RID_DEFAULT, 0 }, + { "do", RID_DO, 0 }, + { "double", RID_DOUBLE, 0 }, + { "else", RID_ELSE, 0 }, + { "enum", RID_ENUM, 0 }, + { "extern", RID_EXTERN, 0 }, + { "float", RID_FLOAT, 0 }, + { "for", RID_FOR, 0 }, + { "goto", RID_GOTO, 0 }, + { "if", RID_IF, 0 }, + { "inline", RID_INLINE, D_EXT89 }, + { "int", RID_INT, 0 }, + { "long", RID_LONG, 0 }, + { "register", RID_REGISTER, 0 }, + { "restrict", RID_RESTRICT, D_C89 }, + { "return", RID_RETURN, 0 }, + { "short", RID_SHORT, 0 }, + { "signed", RID_SIGNED, 0 }, + { "sizeof", RID_SIZEOF, 0 }, + { "static", RID_STATIC, 0 }, + { "struct", RID_STRUCT, 0 }, + { "switch", RID_SWITCH, 0 }, + { "typedef", RID_TYPEDEF, 0 }, + { "typeof", RID_TYPEOF, D_EXT }, + { "union", RID_UNION, 0 }, + { "unsigned", RID_UNSIGNED, 0 }, + { "void", RID_VOID, 0 }, + { "volatile", RID_VOLATILE, 0 }, + { "while", RID_WHILE, 0 }, + { "id", RID_ID, D_OBJC }, + + /* These objc keywords are recognized only immediately after + an '@'. */ + { "class", RID_AT_CLASS, D_OBJC }, + { "compatibility_alias", RID_AT_ALIAS, D_OBJC }, + { "defs", RID_AT_DEFS, D_OBJC }, + { "encode", RID_AT_ENCODE, D_OBJC }, + { "end", RID_AT_END, D_OBJC }, + { "implementation", RID_AT_IMPLEMENTATION, D_OBJC }, + { "interface", RID_AT_INTERFACE, D_OBJC }, + { "private", RID_AT_PRIVATE, D_OBJC }, + { "protected", RID_AT_PROTECTED, D_OBJC }, + { "protocol", RID_AT_PROTOCOL, D_OBJC }, + { "public", RID_AT_PUBLIC, D_OBJC }, + { "selector", RID_AT_SELECTOR, D_OBJC }, + + /* These are recognized only in protocol-qualifier context + (see above) */ + { "bycopy", RID_BYCOPY, D_OBJC }, + { "byref", RID_BYREF, D_OBJC }, + { "in", RID_IN, D_OBJC }, + { "inout", RID_INOUT, D_OBJC }, + { "oneway", RID_ONEWAY, D_OBJC }, + { "out", RID_OUT, D_OBJC }, +}; +#define N_reswords (sizeof reswords / sizeof (struct resword)) + +/* Table mapping from RID_* constants to yacc token numbers. + Unfortunately we have to have entries for all the keywords in all + three languages. */ +static const short rid_to_yy[RID_MAX] = +{ + /* RID_STATIC */ STATIC, + /* RID_UNSIGNED */ TYPESPEC, + /* RID_LONG */ TYPESPEC, + /* RID_CONST */ TYPE_QUAL, + /* RID_EXTERN */ SCSPEC, + /* RID_REGISTER */ SCSPEC, + /* RID_TYPEDEF */ SCSPEC, + /* RID_SHORT */ TYPESPEC, + /* RID_INLINE */ SCSPEC, + /* RID_VOLATILE */ TYPE_QUAL, + /* RID_SIGNED */ TYPESPEC, + /* RID_AUTO */ SCSPEC, + /* RID_RESTRICT */ TYPE_QUAL, + + /* C extensions */ + /* RID_BOUNDED */ TYPE_QUAL, + /* RID_UNBOUNDED */ TYPE_QUAL, + /* RID_COMPLEX */ TYPESPEC, + /* RID_THREAD */ SCSPEC, + + /* C++ */ + /* RID_FRIEND */ 0, + /* RID_VIRTUAL */ 0, + /* RID_EXPLICIT */ 0, + /* RID_EXPORT */ 0, + /* RID_MUTABLE */ 0, + + /* ObjC */ + /* RID_IN */ TYPE_QUAL, + /* RID_OUT */ TYPE_QUAL, + /* RID_INOUT */ TYPE_QUAL, + /* RID_BYCOPY */ TYPE_QUAL, + /* RID_BYREF */ TYPE_QUAL, + /* RID_ONEWAY */ TYPE_QUAL, + + /* C */ + /* RID_INT */ TYPESPEC, + /* RID_CHAR */ TYPESPEC, + /* RID_FLOAT */ TYPESPEC, + /* RID_DOUBLE */ TYPESPEC, + /* RID_VOID */ TYPESPEC, + /* RID_ENUM */ ENUM, + /* RID_STRUCT */ STRUCT, + /* RID_UNION */ UNION, + /* RID_IF */ IF, + /* RID_ELSE */ ELSE, + /* RID_WHILE */ WHILE, + /* RID_DO */ DO, + /* RID_FOR */ FOR, + /* RID_SWITCH */ SWITCH, + /* RID_CASE */ CASE, + /* RID_DEFAULT */ DEFAULT, + /* RID_BREAK */ BREAK, + /* RID_CONTINUE */ CONTINUE, + /* RID_RETURN */ RETURN, + /* RID_GOTO */ GOTO, + /* RID_SIZEOF */ SIZEOF, + + /* C extensions */ + /* RID_ASM */ ASM_KEYWORD, + /* RID_TYPEOF */ TYPEOF, + /* RID_ALIGNOF */ ALIGNOF, + /* RID_ATTRIBUTE */ ATTRIBUTE, + /* RID_VA_ARG */ VA_ARG, + /* RID_EXTENSION */ EXTENSION, + /* RID_IMAGPART */ IMAGPART, + /* RID_REALPART */ REALPART, + /* RID_LABEL */ LABEL, + /* RID_PTRBASE */ PTR_BASE, + /* RID_PTREXTENT */ PTR_EXTENT, + /* RID_PTRVALUE */ PTR_VALUE, + + /* RID_CHOOSE_EXPR */ CHOOSE_EXPR, + /* RID_TYPES_COMPATIBLE_P */ TYPES_COMPATIBLE_P, + + /* RID_FUNCTION_NAME */ STRING_FUNC_NAME, + /* RID_PRETTY_FUNCTION_NAME */ STRING_FUNC_NAME, + /* RID_C99_FUNCTION_NAME */ VAR_FUNC_NAME, + + /* C++ */ + /* RID_BOOL */ TYPESPEC, + /* RID_WCHAR */ 0, + /* RID_CLASS */ 0, + /* RID_PUBLIC */ 0, + /* RID_PRIVATE */ 0, + /* RID_PROTECTED */ 0, + /* RID_TEMPLATE */ 0, + /* RID_NULL */ 0, + /* RID_CATCH */ 0, + /* RID_DELETE */ 0, + /* RID_FALSE */ 0, + /* RID_NAMESPACE */ 0, + /* RID_NEW */ 0, + /* RID_OPERATOR */ 0, + /* RID_THIS */ 0, + /* RID_THROW */ 0, + /* RID_TRUE */ 0, + /* RID_TRY */ 0, + /* RID_TYPENAME */ 0, + /* RID_TYPEID */ 0, + /* RID_USING */ 0, + + /* casts */ + /* RID_CONSTCAST */ 0, + /* RID_DYNCAST */ 0, + /* RID_REINTCAST */ 0, + /* RID_STATCAST */ 0, + + /* Objective C */ + /* RID_ID */ OBJECTNAME, + /* RID_AT_ENCODE */ ENCODE, + /* RID_AT_END */ END, + /* RID_AT_CLASS */ CLASS, + /* RID_AT_ALIAS */ ALIAS, + /* RID_AT_DEFS */ DEFS, + /* RID_AT_PRIVATE */ PRIVATE, + /* RID_AT_PROTECTED */ PROTECTED, + /* RID_AT_PUBLIC */ PUBLIC, + /* RID_AT_PROTOCOL */ PROTOCOL, + /* RID_AT_SELECTOR */ SELECTOR, + /* RID_AT_INTERFACE */ INTERFACE, + /* RID_AT_IMPLEMENTATION */ IMPLEMENTATION +}; + +static void +init_reswords () +{ + unsigned int i; + tree id; + int mask = (flag_isoc99 ? 0 : D_C89) + | (flag_no_asm ? (flag_isoc99 ? D_EXT : D_EXT|D_EXT89) : 0); + + if (!flag_objc) + mask |= D_OBJC; + + /* It is not necessary to register ridpointers as a GC root, because + all the trees it points to are permanently interned in the + get_identifier hash anyway. */ + ridpointers = (tree *) xcalloc ((int) RID_MAX, sizeof (tree)); + for (i = 0; i < N_reswords; i++) + { + /* If a keyword is disabled, do not enter it into the table + and so create a canonical spelling that isn't a keyword. */ + if (reswords[i].disable & mask) + continue; + + id = get_identifier (reswords[i].word); + C_RID_CODE (id) = reswords[i].rid; + C_IS_RESERVED_WORD (id) = 1; + ridpointers [(int) reswords[i].rid] = id; + } +} + +#define NAME(type) cpp_type2name (type) + +static void +yyerror (msgid) + const char *msgid; +{ + const char *string = _(msgid); + + if (last_token == CPP_EOF) + error ("%s at end of input", string); + else if (last_token == CPP_CHAR || last_token == CPP_WCHAR) + { + unsigned int val = TREE_INT_CST_LOW (yylval.ttype); + const char *const ell = (last_token == CPP_CHAR) ? "" : "L"; + if (val <= UCHAR_MAX && ISGRAPH (val)) + error ("%s before %s'%c'", string, ell, val); + else + error ("%s before %s'\\x%x'", string, ell, val); + } + else if (last_token == CPP_STRING + || last_token == CPP_WSTRING) + error ("%s before string constant", string); + else if (last_token == CPP_NUMBER) + error ("%s before numeric constant", string); + else if (last_token == CPP_NAME) + error ("%s before \"%s\"", string, IDENTIFIER_POINTER (yylval.ttype)); + else + error ("%s before '%s' token", string, NAME(last_token)); +} + +static int +yylexname () +{ + tree decl; + + int objc_force_identifier = objc_need_raw_identifier; + OBJC_NEED_RAW_IDENTIFIER (0); + + if (C_IS_RESERVED_WORD (yylval.ttype)) + { + enum rid rid_code = C_RID_CODE (yylval.ttype); + + /* Turn non-typedefed refs to "id" into plain identifiers; this + allows constructs like "void foo(id id);" to work. */ + if (rid_code == RID_ID) + { + decl = lookup_name (yylval.ttype); + if (decl == NULL_TREE || TREE_CODE (decl) != TYPE_DECL) + return IDENTIFIER; + } + + if (!OBJC_IS_AT_KEYWORD (rid_code) + && (!OBJC_IS_PQ_KEYWORD (rid_code) || objc_pq_context)) + { + int yycode = rid_to_yy[(int) rid_code]; + if (yycode == STRING_FUNC_NAME) + { + /* __FUNCTION__ and __PRETTY_FUNCTION__ get converted + to string constants. */ + const char *name = fname_string (rid_code); + + yylval.ttype = build_string (strlen (name) + 1, name); + C_ARTIFICIAL_STRING_P (yylval.ttype) = 1; + last_token = CPP_STRING; /* so yyerror won't choke */ + return STRING; + } + + /* Return the canonical spelling for this keyword. */ + yylval.ttype = ridpointers[(int) rid_code]; + return yycode; + } + } + + decl = lookup_name (yylval.ttype); + if (decl) + { + if (TREE_CODE (decl) == TYPE_DECL) + return TYPENAME; + } + else + { + tree objc_interface_decl = is_class_name (yylval.ttype); + /* ObjC class names are in the same namespace as variables and + typedefs, and hence are shadowed by local declarations. */ + if (objc_interface_decl + && (global_bindings_p () + || (!objc_force_identifier && !decl))) + { + yylval.ttype = objc_interface_decl; + return CLASSNAME; + } + } + + return IDENTIFIER; +} + +/* Concatenate strings before returning them to the parser. This isn't quite + as good as having it done in the lexer, but it's better than nothing. */ + +static int +yylexstring () +{ + enum cpp_ttype next_type; + tree orig = yylval.ttype; + + next_type = c_lex (&yylval.ttype); + if (next_type == CPP_STRING + || next_type == CPP_WSTRING + || (next_type == CPP_NAME && yylexname () == STRING)) + { + varray_type strings; + + + VARRAY_TREE_INIT (strings, 32, "strings"); + VARRAY_PUSH_TREE (strings, orig); + + do + { + VARRAY_PUSH_TREE (strings, yylval.ttype); + next_type = c_lex (&yylval.ttype); + } + while (next_type == CPP_STRING + || next_type == CPP_WSTRING + || (next_type == CPP_NAME && yylexname () == STRING)); + + yylval.ttype = combine_strings (strings); + } + else + yylval.ttype = orig; + + /* We will have always read one token too many. */ + _cpp_backup_tokens (parse_in, 1); + + return STRING; +} + +static inline int +_yylex () +{ + get_next: + last_token = c_lex (&yylval.ttype); + switch (last_token) + { + case CPP_EQ: return '='; + case CPP_NOT: return '!'; + case CPP_GREATER: yylval.code = GT_EXPR; return ARITHCOMPARE; + case CPP_LESS: yylval.code = LT_EXPR; return ARITHCOMPARE; + case CPP_PLUS: yylval.code = PLUS_EXPR; return '+'; + case CPP_MINUS: yylval.code = MINUS_EXPR; return '-'; + case CPP_MULT: yylval.code = MULT_EXPR; return '*'; + case CPP_DIV: yylval.code = TRUNC_DIV_EXPR; return '/'; + case CPP_MOD: yylval.code = TRUNC_MOD_EXPR; return '%'; + case CPP_AND: yylval.code = BIT_AND_EXPR; return '&'; + case CPP_OR: yylval.code = BIT_IOR_EXPR; return '|'; + case CPP_XOR: yylval.code = BIT_XOR_EXPR; return '^'; + case CPP_RSHIFT: yylval.code = RSHIFT_EXPR; return RSHIFT; + case CPP_LSHIFT: yylval.code = LSHIFT_EXPR; return LSHIFT; + + case CPP_COMPL: return '~'; + case CPP_AND_AND: return ANDAND; + case CPP_OR_OR: return OROR; + case CPP_QUERY: return '?'; + case CPP_OPEN_PAREN: return '('; + case CPP_EQ_EQ: yylval.code = EQ_EXPR; return EQCOMPARE; + case CPP_NOT_EQ: yylval.code = NE_EXPR; return EQCOMPARE; + case CPP_GREATER_EQ:yylval.code = GE_EXPR; return ARITHCOMPARE; + case CPP_LESS_EQ: yylval.code = LE_EXPR; return ARITHCOMPARE; + + case CPP_PLUS_EQ: yylval.code = PLUS_EXPR; return ASSIGN; + case CPP_MINUS_EQ: yylval.code = MINUS_EXPR; return ASSIGN; + case CPP_MULT_EQ: yylval.code = MULT_EXPR; return ASSIGN; + case CPP_DIV_EQ: yylval.code = TRUNC_DIV_EXPR; return ASSIGN; + case CPP_MOD_EQ: yylval.code = TRUNC_MOD_EXPR; return ASSIGN; + case CPP_AND_EQ: yylval.code = BIT_AND_EXPR; return ASSIGN; + case CPP_OR_EQ: yylval.code = BIT_IOR_EXPR; return ASSIGN; + case CPP_XOR_EQ: yylval.code = BIT_XOR_EXPR; return ASSIGN; + case CPP_RSHIFT_EQ: yylval.code = RSHIFT_EXPR; return ASSIGN; + case CPP_LSHIFT_EQ: yylval.code = LSHIFT_EXPR; return ASSIGN; + + case CPP_OPEN_SQUARE: return '['; + case CPP_CLOSE_SQUARE: return ']'; + case CPP_OPEN_BRACE: return '{'; + case CPP_CLOSE_BRACE: return '}'; + case CPP_ELLIPSIS: return ELLIPSIS; + + case CPP_PLUS_PLUS: return PLUSPLUS; + case CPP_MINUS_MINUS: return MINUSMINUS; + case CPP_DEREF: return POINTSAT; + case CPP_DOT: return '.'; + + /* The following tokens may affect the interpretation of any + identifiers following, if doing Objective-C. */ + case CPP_COLON: OBJC_NEED_RAW_IDENTIFIER (0); return ':'; + case CPP_COMMA: OBJC_NEED_RAW_IDENTIFIER (0); return ','; + case CPP_CLOSE_PAREN: OBJC_NEED_RAW_IDENTIFIER (0); return ')'; + case CPP_SEMICOLON: OBJC_NEED_RAW_IDENTIFIER (0); return ';'; + + case CPP_EOF: + return 0; + + case CPP_NAME: + { + int ret = yylexname (); + if (ret == STRING) + return yylexstring (); + else + return ret; + } + + case CPP_NUMBER: + case CPP_CHAR: + case CPP_WCHAR: + return CONSTANT; + + case CPP_STRING: + case CPP_WSTRING: + return yylexstring (); + + /* This token is Objective-C specific. It gives the next token + special significance. */ + case CPP_ATSIGN: + { + tree after_at; + enum cpp_ttype after_at_type; + + after_at_type = c_lex (&after_at); + + if (after_at_type == CPP_NAME + && C_IS_RESERVED_WORD (after_at) + && OBJC_IS_AT_KEYWORD (C_RID_CODE (after_at))) + { + yylval.ttype = after_at; + last_token = after_at_type; + return rid_to_yy [(int) C_RID_CODE (after_at)]; + } + _cpp_backup_tokens (parse_in, 1); + return '@'; + } + + /* These tokens are C++ specific (and will not be generated + in C mode, but let's be cautious). */ + case CPP_SCOPE: + case CPP_DEREF_STAR: + case CPP_DOT_STAR: + case CPP_MIN_EQ: + case CPP_MAX_EQ: + case CPP_MIN: + case CPP_MAX: + /* These tokens should not survive translation phase 4. */ + case CPP_HASH: + case CPP_PASTE: + error ("syntax error at '%s' token", NAME(last_token)); + goto get_next; + + default: + abort (); + } + /* NOTREACHED */ +} + +static int +yylex() +{ + int r; + timevar_push (TV_LEX); + r = _yylex(); + timevar_pop (TV_LEX); + return r; +} + +/* Function used when yydebug is set, to print a token in more detail. */ + +static void +yyprint (file, yychar, yyl) + FILE *file; + int yychar; + YYSTYPE yyl; +{ + tree t = yyl.ttype; + + fprintf (file, " [%s]", NAME(last_token)); + + switch (yychar) + { + case IDENTIFIER: + case TYPENAME: + case OBJECTNAME: + case TYPESPEC: + case TYPE_QUAL: + case SCSPEC: + case STATIC: + if (IDENTIFIER_POINTER (t)) + fprintf (file, " `%s'", IDENTIFIER_POINTER (t)); + break; + + case CONSTANT: + fprintf (file, " %s", GET_MODE_NAME (TYPE_MODE (TREE_TYPE (t)))); + if (TREE_CODE (t) == INTEGER_CST) + fprintf (file, +#if HOST_BITS_PER_WIDE_INT == 64 +#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT + " 0x%x%016x", +#else +#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG + " 0x%lx%016lx", +#else + " 0x%llx%016llx", +#endif +#endif +#else +#if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT + " 0x%lx%08lx", +#else + " 0x%x%08x", +#endif +#endif + TREE_INT_CST_HIGH (t), TREE_INT_CST_LOW (t)); + break; + } +} + +/* This is not the ideal place to put these, but we have to get them out + of c-lex.c because cp/lex.c has its own versions. */ + +/* Free malloced parser stacks if necessary. */ + +void +free_parser_stacks () +{ + if (malloced_yyss) + { + free (malloced_yyss); + free (malloced_yyvs); + } +} + +#include "gt-c-parse.h"