| /* A Bison parser, made by GNU Bison 3.3.2. */ |
| |
| /* Bison implementation for Yacc-like parsers in C |
| |
| Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 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 3 of the License, 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, see <http://www.gnu.org/licenses/>. */ |
| |
| /* As a special exception, you may create a larger work that contains |
| part or all of the Bison parser skeleton and distribute that work |
| under terms of your choice, so long as that work isn't itself a |
| parser generator using the skeleton or a modified version thereof |
| as a parser skeleton. Alternatively, if you modify or redistribute |
| the parser skeleton itself, you may (at your option) remove this |
| special exception, which will cause the skeleton and the resulting |
| Bison output files to be licensed under the GNU General Public |
| License without this special exception. |
| |
| This special exception was added by the Free Software Foundation in |
| version 2.2 of Bison. */ |
| |
| /* C LALR(1) parser skeleton 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. */ |
| |
| /* Undocumented macros, especially those whose name start with YY_, |
| are private implementation details. Do not rely on them. */ |
| |
| /* Identify Bison output. */ |
| #define YYBISON 1 |
| |
| /* Bison version. */ |
| #define YYBISON_VERSION "3.3.2" |
| |
| /* Skeleton name. */ |
| #define YYSKELETON_NAME "yacc.c" |
| |
| /* Pure parsers. */ |
| #define YYPURE 2 |
| |
| /* Push parsers. */ |
| #define YYPUSH 0 |
| |
| /* Pull parsers. */ |
| #define YYPULL 1 |
| |
| /* First part of user prologue. */ |
| |
| // GENERATED FILE - DO NOT EDIT. |
| // Generated by generate_parser.py from glslang.y |
| // |
| // Copyright 2019 The ANGLE Project Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // |
| // glslang.y: |
| // Parser for the OpenGL shading language. |
| |
| // clang-format off |
| |
| // Ignore errors in auto-generated code. |
| #if defined(__GNUC__) |
| #pragma GCC diagnostic ignored "-Wunused-function" |
| #pragma GCC diagnostic ignored "-Wunused-variable" |
| #pragma GCC diagnostic ignored "-Wswitch-enum" |
| #elif defined(_MSC_VER) |
| #pragma warning(disable: 4065) |
| #pragma warning(disable: 4189) |
| #pragma warning(disable: 4244) |
| #pragma warning(disable: 4505) |
| #pragma warning(disable: 4701) |
| #pragma warning(disable: 4702) |
| #endif |
| #if defined(__clang__) |
| #pragma clang diagnostic ignored "-Wunreachable-code" |
| #endif |
| |
| #include "angle_gl.h" |
| #include "compiler/translator/Declarator.h" |
| #include "compiler/translator/SymbolTable.h" |
| #include "compiler/translator/ParseContext.h" |
| #include "GLSLANG/ShaderLang.h" |
| |
| #define YYENABLE_NLS 0 |
| |
| using namespace sh; |
| |
| |
| |
| # ifndef YY_NULLPTR |
| # if defined __cplusplus |
| # if 201103L <= __cplusplus |
| # define YY_NULLPTR nullptr |
| # else |
| # define YY_NULLPTR 0 |
| # endif |
| # else |
| # define YY_NULLPTR ((void*)0) |
| # endif |
| # endif |
| |
| /* Enabling verbose error messages. */ |
| #ifdef YYERROR_VERBOSE |
| # undef YYERROR_VERBOSE |
| # define YYERROR_VERBOSE 1 |
| #else |
| # define YYERROR_VERBOSE 0 |
| #endif |
| |
| /* In a future release of Bison, this section will be replaced |
| by #include "glslang_tab_autogen.h". */ |
| #ifndef YY_YY_GLSLANG_TAB_AUTOGEN_H_INCLUDED |
| # define YY_YY_GLSLANG_TAB_AUTOGEN_H_INCLUDED |
| /* Debug traces. */ |
| #ifndef YYDEBUG |
| # define YYDEBUG 0 |
| #endif |
| #if YYDEBUG |
| extern int yydebug; |
| #endif |
| /* "%code requires" blocks. */ |
| |
| |
| #define YYLTYPE TSourceLoc |
| #define YYLTYPE_IS_DECLARED 1 |
| #define YYLTYPE_IS_TRIVIAL 1 |
| |
| |
| |
| /* Token type. */ |
| #ifndef YYTOKENTYPE |
| # define YYTOKENTYPE |
| enum yytokentype |
| { |
| INVARIANT = 258, |
| HIGH_PRECISION = 259, |
| MEDIUM_PRECISION = 260, |
| LOW_PRECISION = 261, |
| PRECISION = 262, |
| ATTRIBUTE = 263, |
| CONST_QUAL = 264, |
| BOOL_TYPE = 265, |
| FLOAT_TYPE = 266, |
| INT_TYPE = 267, |
| UINT_TYPE = 268, |
| BREAK = 269, |
| CONTINUE = 270, |
| DO = 271, |
| ELSE = 272, |
| FOR = 273, |
| IF = 274, |
| DISCARD = 275, |
| RETURN = 276, |
| SWITCH = 277, |
| CASE = 278, |
| DEFAULT = 279, |
| BVEC2 = 280, |
| BVEC3 = 281, |
| BVEC4 = 282, |
| IVEC2 = 283, |
| IVEC3 = 284, |
| IVEC4 = 285, |
| VEC2 = 286, |
| VEC3 = 287, |
| VEC4 = 288, |
| UVEC2 = 289, |
| UVEC3 = 290, |
| UVEC4 = 291, |
| MATRIX2 = 292, |
| MATRIX3 = 293, |
| MATRIX4 = 294, |
| IN_QUAL = 295, |
| OUT_QUAL = 296, |
| INOUT_QUAL = 297, |
| UNIFORM = 298, |
| BUFFER = 299, |
| VARYING = 300, |
| MATRIX2x3 = 301, |
| MATRIX3x2 = 302, |
| MATRIX2x4 = 303, |
| MATRIX4x2 = 304, |
| MATRIX3x4 = 305, |
| MATRIX4x3 = 306, |
| CENTROID = 307, |
| FLAT = 308, |
| SMOOTH = 309, |
| READONLY = 310, |
| WRITEONLY = 311, |
| COHERENT = 312, |
| RESTRICT = 313, |
| VOLATILE = 314, |
| SHARED = 315, |
| STRUCT = 316, |
| VOID_TYPE = 317, |
| WHILE = 318, |
| SAMPLER2D = 319, |
| SAMPLERCUBE = 320, |
| SAMPLER_EXTERNAL_OES = 321, |
| SAMPLER2DRECT = 322, |
| SAMPLER2DARRAY = 323, |
| ISAMPLER2D = 324, |
| ISAMPLER3D = 325, |
| ISAMPLERCUBE = 326, |
| ISAMPLER2DARRAY = 327, |
| USAMPLER2D = 328, |
| USAMPLER3D = 329, |
| USAMPLERCUBE = 330, |
| USAMPLER2DARRAY = 331, |
| SAMPLER2DMS = 332, |
| ISAMPLER2DMS = 333, |
| USAMPLER2DMS = 334, |
| SAMPLER2DMSARRAY = 335, |
| ISAMPLER2DMSARRAY = 336, |
| USAMPLER2DMSARRAY = 337, |
| SAMPLER3D = 338, |
| SAMPLER3DRECT = 339, |
| SAMPLER2DSHADOW = 340, |
| SAMPLERCUBESHADOW = 341, |
| SAMPLER2DARRAYSHADOW = 342, |
| SAMPLEREXTERNAL2DY2YEXT = 343, |
| IMAGE2D = 344, |
| IIMAGE2D = 345, |
| UIMAGE2D = 346, |
| IMAGE3D = 347, |
| IIMAGE3D = 348, |
| UIMAGE3D = 349, |
| IMAGE2DARRAY = 350, |
| IIMAGE2DARRAY = 351, |
| UIMAGE2DARRAY = 352, |
| IMAGECUBE = 353, |
| IIMAGECUBE = 354, |
| UIMAGECUBE = 355, |
| ATOMICUINT = 356, |
| LAYOUT = 357, |
| YUVCSCSTANDARDEXT = 358, |
| YUVCSCSTANDARDEXTCONSTANT = 359, |
| IDENTIFIER = 360, |
| TYPE_NAME = 361, |
| FLOATCONSTANT = 362, |
| INTCONSTANT = 363, |
| UINTCONSTANT = 364, |
| BOOLCONSTANT = 365, |
| FIELD_SELECTION = 366, |
| LEFT_OP = 367, |
| RIGHT_OP = 368, |
| INC_OP = 369, |
| DEC_OP = 370, |
| LE_OP = 371, |
| GE_OP = 372, |
| EQ_OP = 373, |
| NE_OP = 374, |
| AND_OP = 375, |
| OR_OP = 376, |
| XOR_OP = 377, |
| MUL_ASSIGN = 378, |
| DIV_ASSIGN = 379, |
| ADD_ASSIGN = 380, |
| MOD_ASSIGN = 381, |
| LEFT_ASSIGN = 382, |
| RIGHT_ASSIGN = 383, |
| AND_ASSIGN = 384, |
| XOR_ASSIGN = 385, |
| OR_ASSIGN = 386, |
| SUB_ASSIGN = 387, |
| LEFT_PAREN = 388, |
| RIGHT_PAREN = 389, |
| LEFT_BRACKET = 390, |
| RIGHT_BRACKET = 391, |
| LEFT_BRACE = 392, |
| RIGHT_BRACE = 393, |
| DOT = 394, |
| COMMA = 395, |
| COLON = 396, |
| EQUAL = 397, |
| SEMICOLON = 398, |
| BANG = 399, |
| DASH = 400, |
| TILDE = 401, |
| PLUS = 402, |
| STAR = 403, |
| SLASH = 404, |
| PERCENT = 405, |
| LEFT_ANGLE = 406, |
| RIGHT_ANGLE = 407, |
| VERTICAL_BAR = 408, |
| CARET = 409, |
| AMPERSAND = 410, |
| QUESTION = 411 |
| }; |
| #endif |
| |
| /* Value type. */ |
| #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
| |
| union YYSTYPE |
| { |
| |
| |
| struct { |
| union { |
| const char *string; // pool allocated. |
| float f; |
| int i; |
| unsigned int u; |
| bool b; |
| }; |
| const TSymbol* symbol; |
| } lex; |
| struct { |
| TOperator op; |
| union { |
| TIntermNode *intermNode; |
| TIntermNodePair nodePair; |
| TIntermTyped *intermTypedNode; |
| TIntermAggregate *intermAggregate; |
| TIntermBlock *intermBlock; |
| TIntermDeclaration *intermDeclaration; |
| TIntermFunctionPrototype *intermFunctionPrototype; |
| TIntermSwitch *intermSwitch; |
| TIntermCase *intermCase; |
| }; |
| union { |
| TVector<unsigned int> *arraySizes; |
| TTypeSpecifierNonArray typeSpecifierNonArray; |
| TPublicType type; |
| TPrecision precision; |
| TLayoutQualifier layoutQualifier; |
| TQualifier qualifier; |
| TFunction *function; |
| TFunctionLookup *functionLookup; |
| TParameter param; |
| TDeclarator *declarator; |
| TDeclaratorList *declaratorList; |
| TFieldList *fieldList; |
| TQualifierWrapperBase *qualifierWrapper; |
| TTypeQualifierBuilder *typeQualifierBuilder; |
| }; |
| } interm; |
| |
| |
| }; |
| |
| typedef union YYSTYPE YYSTYPE; |
| # define YYSTYPE_IS_TRIVIAL 1 |
| # define YYSTYPE_IS_DECLARED 1 |
| #endif |
| |
| /* Location type. */ |
| #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED |
| typedef struct YYLTYPE YYLTYPE; |
| struct YYLTYPE |
| { |
| int first_line; |
| int first_column; |
| int last_line; |
| int last_column; |
| }; |
| # define YYLTYPE_IS_DECLARED 1 |
| # define YYLTYPE_IS_TRIVIAL 1 |
| #endif |
| |
| |
| |
| int yyparse (TParseContext* context, void *scanner); |
| |
| #endif /* !YY_YY_GLSLANG_TAB_AUTOGEN_H_INCLUDED */ |
| |
| /* Second part of user prologue. */ |
| |
| |
| extern int yylex(YYSTYPE* yylval, YYLTYPE* yylloc, void* yyscanner); |
| extern void yyerror(YYLTYPE* yylloc, TParseContext* context, void *scanner, const char* reason); |
| |
| #define YYLLOC_DEFAULT(Current, Rhs, N) \ |
| do { \ |
| if (N) { \ |
| (Current).first_file = YYRHSLOC(Rhs, 1).first_file; \ |
| (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \ |
| (Current).last_file = YYRHSLOC(Rhs, N).last_file; \ |
| (Current).last_line = YYRHSLOC(Rhs, N).last_line; \ |
| } \ |
| else { \ |
| (Current).first_file = YYRHSLOC(Rhs, 0).last_file; \ |
| (Current).first_line = YYRHSLOC(Rhs, 0).last_line; \ |
| (Current).last_file = YYRHSLOC(Rhs, 0).last_file; \ |
| (Current).last_line = YYRHSLOC(Rhs, 0).last_line; \ |
| } \ |
| } while (0) |
| |
| #define VERTEX_ONLY(S, L) do { \ |
| if (context->getShaderType() != GL_VERTEX_SHADER) { \ |
| context->error(L, " supported in vertex shaders only", S); \ |
| } \ |
| } while (0) |
| |
| #define COMPUTE_ONLY(S, L) do { \ |
| if (context->getShaderType() != GL_COMPUTE_SHADER) { \ |
| context->error(L, " supported in compute shaders only", S); \ |
| } \ |
| } while (0) |
| |
| #define ES2_ONLY(S, L) do { \ |
| if (context->getShaderVersion() != 100) { \ |
| context->error(L, " supported in GLSL ES 1.00 only", S); \ |
| } \ |
| } while (0) |
| |
| #define ES3_OR_NEWER(TOKEN, LINE, REASON) do { \ |
| if (context->getShaderVersion() < 300) { \ |
| context->error(LINE, REASON " supported in GLSL ES 3.00 and above only", TOKEN); \ |
| } \ |
| } while (0) |
| |
| #define ES3_1_ONLY(TOKEN, LINE, REASON) do { \ |
| if (context->getShaderVersion() != 310) { \ |
| context->error(LINE, REASON " supported in GLSL ES 3.10 only", TOKEN); \ |
| } \ |
| } while (0) |
| |
| |
| |
| #ifdef short |
| # undef short |
| #endif |
| |
| #ifdef YYTYPE_UINT8 |
| typedef YYTYPE_UINT8 yytype_uint8; |
| #else |
| typedef unsigned char yytype_uint8; |
| #endif |
| |
| #ifdef YYTYPE_INT8 |
| typedef YYTYPE_INT8 yytype_int8; |
| #else |
| typedef signed char yytype_int8; |
| #endif |
| |
| #ifdef YYTYPE_UINT16 |
| typedef YYTYPE_UINT16 yytype_uint16; |
| #else |
| typedef unsigned short yytype_uint16; |
| #endif |
| |
| #ifdef YYTYPE_INT16 |
| typedef YYTYPE_INT16 yytype_int16; |
| #else |
| typedef short yytype_int16; |
| #endif |
| |
| #ifndef YYSIZE_T |
| # ifdef __SIZE_TYPE__ |
| # define YYSIZE_T __SIZE_TYPE__ |
| # elif defined size_t |
| # define YYSIZE_T size_t |
| # elif ! defined YYSIZE_T |
| # include <stddef.h> /* INFRINGES ON USER NAME SPACE */ |
| # define YYSIZE_T size_t |
| # else |
| # define YYSIZE_T unsigned |
| # endif |
| #endif |
| |
| #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
| |
| #ifndef YY_ |
| # if defined YYENABLE_NLS && YYENABLE_NLS |
| # if ENABLE_NLS |
| # include <libintl.h> /* INFRINGES ON USER NAME SPACE */ |
| # define YY_(Msgid) dgettext ("bison-runtime", Msgid) |
| # endif |
| # endif |
| # ifndef YY_ |
| # define YY_(Msgid) Msgid |
| # endif |
| #endif |
| |
| #ifndef YY_ATTRIBUTE |
| # if (defined __GNUC__ \ |
| && (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__))) \ |
| || defined __SUNPRO_C && 0x5110 <= __SUNPRO_C |
| # define YY_ATTRIBUTE(Spec) __attribute__(Spec) |
| # else |
| # define YY_ATTRIBUTE(Spec) /* empty */ |
| # endif |
| #endif |
| |
| #ifndef YY_ATTRIBUTE_PURE |
| # define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
| #endif |
| |
| #ifndef YY_ATTRIBUTE_UNUSED |
| # define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
| #endif |
| |
| /* Suppress unused-variable warnings by "using" E. */ |
| #if ! defined lint || defined __GNUC__ |
| # define YYUSE(E) ((void) (E)) |
| #else |
| # define YYUSE(E) /* empty */ |
| #endif |
| |
| #if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR__ |
| /* Suppress an incorrect diagnostic about yylval being uninitialized. */ |
| # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ |
| _Pragma ("GCC diagnostic push") \ |
| _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\ |
| _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") |
| # define YY_IGNORE_MAYBE_UNINITIALIZED_END \ |
| _Pragma ("GCC diagnostic pop") |
| #else |
| # define YY_INITIAL_VALUE(Value) Value |
| #endif |
| #ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
| # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
| # define YY_IGNORE_MAYBE_UNINITIALIZED_END |
| #endif |
| #ifndef YY_INITIAL_VALUE |
| # define YY_INITIAL_VALUE(Value) /* Nothing. */ |
| #endif |
| |
| |
| #if ! defined yyoverflow || YYERROR_VERBOSE |
| |
| /* The parser invokes alloca or malloc; define the necessary symbols. */ |
| |
| # ifdef YYSTACK_USE_ALLOCA |
| # if YYSTACK_USE_ALLOCA |
| # ifdef __GNUC__ |
| # define YYSTACK_ALLOC __builtin_alloca |
| # elif defined __BUILTIN_VA_ARG_INCR |
| # include <alloca.h> /* INFRINGES ON USER NAME SPACE */ |
| # elif defined _AIX |
| # define YYSTACK_ALLOC __alloca |
| # elif defined _MSC_VER |
| # include <malloc.h> /* INFRINGES ON USER NAME SPACE */ |
| # define alloca _alloca |
| # else |
| # define YYSTACK_ALLOC alloca |
| # if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS |
| # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ |
| /* Use EXIT_SUCCESS as a witness for stdlib.h. */ |
| # ifndef EXIT_SUCCESS |
| # define EXIT_SUCCESS 0 |
| # endif |
| # endif |
| # endif |
| # endif |
| # endif |
| |
| # ifdef YYSTACK_ALLOC |
| /* Pacify GCC's 'empty if-body' warning. */ |
| # define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) |
| # ifndef YYSTACK_ALLOC_MAXIMUM |
| /* The OS might guarantee only one guard page at the bottom of the stack, |
| and a page size can be as small as 4096 bytes. So we cannot safely |
| invoke alloca (N) if N exceeds 4096. Use a slightly smaller number |
| to allow for a few compiler-allocated temporary stack slots. */ |
| # define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ |
| # endif |
| # else |
| # define YYSTACK_ALLOC YYMALLOC |
| # define YYSTACK_FREE YYFREE |
| # ifndef YYSTACK_ALLOC_MAXIMUM |
| # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
| # endif |
| # if (defined __cplusplus && ! defined EXIT_SUCCESS \ |
| && ! ((defined YYMALLOC || defined malloc) \ |
| && (defined YYFREE || defined free))) |
| # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ |
| # ifndef EXIT_SUCCESS |
| # define EXIT_SUCCESS 0 |
| # endif |
| # endif |
| # ifndef YYMALLOC |
| # define YYMALLOC malloc |
| # if ! defined malloc && ! defined EXIT_SUCCESS |
| void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ |
| # endif |
| # endif |
| # ifndef YYFREE |
| # define YYFREE free |
| # if ! defined free && ! defined EXIT_SUCCESS |
| void free (void *); /* INFRINGES ON USER NAME SPACE */ |
| # endif |
| # endif |
| # endif |
| #endif /* ! defined yyoverflow || YYERROR_VERBOSE */ |
| |
| |
| #if (! defined yyoverflow \ |
| && (! defined __cplusplus \ |
| || (defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL \ |
| && defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) |
| |
| /* A type that is properly aligned for any stack member. */ |
| union yyalloc |
| { |
| yytype_int16 yyss_alloc; |
| YYSTYPE yyvs_alloc; |
| YYLTYPE yyls_alloc; |
| }; |
| |
| /* 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 (yytype_int16) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \ |
| + 2 * YYSTACK_GAP_MAXIMUM) |
| |
| # define YYCOPY_NEEDED 1 |
| |
| /* 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_alloc, Stack) \ |
| do \ |
| { \ |
| YYSIZE_T yynewbytes; \ |
| YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ |
| Stack = &yyptr->Stack_alloc; \ |
| yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ |
| yyptr += yynewbytes / sizeof (*yyptr); \ |
| } \ |
| while (0) |
| |
| #endif |
| |
| #if defined YYCOPY_NEEDED && YYCOPY_NEEDED |
| /* Copy COUNT objects from SRC to DST. The source and destination do |
| not overlap. */ |
| # ifndef YYCOPY |
| # if defined __GNUC__ && 1 < __GNUC__ |
| # define YYCOPY(Dst, Src, Count) \ |
| __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src))) |
| # else |
| # define YYCOPY(Dst, Src, Count) \ |
| do \ |
| { \ |
| YYSIZE_T yyi; \ |
| for (yyi = 0; yyi < (Count); yyi++) \ |
| (Dst)[yyi] = (Src)[yyi]; \ |
| } \ |
| while (0) |
| # endif |
| # endif |
| #endif /* !YYCOPY_NEEDED */ |
| |
| /* YYFINAL -- State number of the termination state. */ |
| #define YYFINAL 138 |
| /* YYLAST -- Last index in YYTABLE. */ |
| #define YYLAST 2973 |
| |
| /* YYNTOKENS -- Number of terminals. */ |
| #define YYNTOKENS 157 |
| /* YYNNTS -- Number of nonterminals. */ |
| #define YYNNTS 95 |
| /* YYNRULES -- Number of rules. */ |
| #define YYNRULES 300 |
| /* YYNSTATES -- Number of states. */ |
| #define YYNSTATES 426 |
| |
| #define YYUNDEFTOK 2 |
| #define YYMAXUTOK 411 |
| |
| /* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM |
| as returned by yylex, with out-of-bounds checking. */ |
| #define YYTRANSLATE(YYX) \ |
| ((unsigned) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
| |
| /* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM |
| as returned by yylex. */ |
| static const yytype_uint8 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, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
| 2, 2, 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, 61, 62, 63, 64, |
| 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, 91, 92, 93, 94, |
| 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, |
| 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, |
| 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, |
| 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, |
| 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, |
| 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, |
| 155, 156 |
| }; |
| |
| #if YYDEBUG |
| /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ |
| static const yytype_uint16 yyrline[] = |
| { |
| 0, 253, 253, 254, 257, 264, 267, 272, 277, 282, |
| 287, 296, 302, 305, 308, 311, 314, 317, 323, 330, |
| 336, 339, 347, 350, 356, 359, 365, 369, 376, 384, |
| 387, 390, 396, 399, 402, 405, 412, 413, 414, 415, |
| 423, 424, 427, 430, 437, 438, 441, 447, 448, 452, |
| 459, 460, 463, 466, 469, 475, 476, 479, 485, 486, |
| 493, 494, 501, 502, 509, 510, 516, 517, 523, 524, |
| 530, 531, 537, 538, 544, 545, 546, 547, 551, 552, |
| 553, 557, 561, 565, 569, 576, 579, 585, 592, 599, |
| 602, 605, 609, 613, 617, 621, 625, 632, 639, 642, |
| 649, 657, 674, 684, 687, 693, 697, 701, 705, 712, |
| 719, 722, 726, 730, 735, 742, 746, 750, 754, 759, |
| 766, 770, 776, 779, 785, 789, 796, 802, 806, 810, |
| 813, 816, 825, 830, 834, 837, 840, 843, 846, 850, |
| 853, 857, 860, 863, 866, 869, 872, 879, 886, 889, |
| 892, 898, 905, 908, 914, 917, 920, 923, 929, 932, |
| 939, 944, 951, 956, 967, 970, 973, 976, 979, 982, |
| 986, 990, 994, 998, 1002, 1006, 1010, 1014, 1018, 1022, |
| 1026, 1030, 1034, 1038, 1042, 1046, 1050, 1054, 1058, 1062, |
| 1066, 1073, 1076, 1079, 1082, 1085, 1088, 1091, 1094, 1097, |
| 1100, 1103, 1106, 1109, 1112, 1115, 1118, 1121, 1124, 1127, |
| 1130, 1133, 1136, 1146, 1153, 1160, 1163, 1166, 1169, 1172, |
| 1175, 1178, 1181, 1184, 1187, 1190, 1193, 1196, 1199, 1202, |
| 1210, 1210, 1213, 1213, 1219, 1222, 1228, 1231, 1238, 1242, |
| 1248, 1251, 1257, 1261, 1265, 1266, 1272, 1273, 1274, 1275, |
| 1276, 1277, 1278, 1282, 1286, 1286, 1286, 1293, 1294, 1298, |
| 1298, 1299, 1299, 1304, 1308, 1315, 1319, 1326, 1327, 1331, |
| 1337, 1341, 1350, 1350, 1357, 1360, 1366, 1370, 1376, 1376, |
| 1381, 1381, 1385, 1385, 1393, 1396, 1402, 1405, 1411, 1415, |
| 1422, 1425, 1428, 1431, 1434, 1442, 1448, 1454, 1457, 1463, |
| 1463 |
| }; |
| #endif |
| |
| #if YYDEBUG || YYERROR_VERBOSE || 0 |
| /* YYTNAME[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", "INVARIANT", "HIGH_PRECISION", |
| "MEDIUM_PRECISION", "LOW_PRECISION", "PRECISION", "ATTRIBUTE", |
| "CONST_QUAL", "BOOL_TYPE", "FLOAT_TYPE", "INT_TYPE", "UINT_TYPE", |
| "BREAK", "CONTINUE", "DO", "ELSE", "FOR", "IF", "DISCARD", "RETURN", |
| "SWITCH", "CASE", "DEFAULT", "BVEC2", "BVEC3", "BVEC4", "IVEC2", "IVEC3", |
| "IVEC4", "VEC2", "VEC3", "VEC4", "UVEC2", "UVEC3", "UVEC4", "MATRIX2", |
| "MATRIX3", "MATRIX4", "IN_QUAL", "OUT_QUAL", "INOUT_QUAL", "UNIFORM", |
| "BUFFER", "VARYING", "MATRIX2x3", "MATRIX3x2", "MATRIX2x4", "MATRIX4x2", |
| "MATRIX3x4", "MATRIX4x3", "CENTROID", "FLAT", "SMOOTH", "READONLY", |
| "WRITEONLY", "COHERENT", "RESTRICT", "VOLATILE", "SHARED", "STRUCT", |
| "VOID_TYPE", "WHILE", "SAMPLER2D", "SAMPLERCUBE", "SAMPLER_EXTERNAL_OES", |
| "SAMPLER2DRECT", "SAMPLER2DARRAY", "ISAMPLER2D", "ISAMPLER3D", |
| "ISAMPLERCUBE", "ISAMPLER2DARRAY", "USAMPLER2D", "USAMPLER3D", |
| "USAMPLERCUBE", "USAMPLER2DARRAY", "SAMPLER2DMS", "ISAMPLER2DMS", |
| "USAMPLER2DMS", "SAMPLER2DMSARRAY", "ISAMPLER2DMSARRAY", |
| "USAMPLER2DMSARRAY", "SAMPLER3D", "SAMPLER3DRECT", "SAMPLER2DSHADOW", |
| "SAMPLERCUBESHADOW", "SAMPLER2DARRAYSHADOW", "SAMPLEREXTERNAL2DY2YEXT", |
| "IMAGE2D", "IIMAGE2D", "UIMAGE2D", "IMAGE3D", "IIMAGE3D", "UIMAGE3D", |
| "IMAGE2DARRAY", "IIMAGE2DARRAY", "UIMAGE2DARRAY", "IMAGECUBE", |
| "IIMAGECUBE", "UIMAGECUBE", "ATOMICUINT", "LAYOUT", "YUVCSCSTANDARDEXT", |
| "YUVCSCSTANDARDEXTCONSTANT", "IDENTIFIER", "TYPE_NAME", "FLOATCONSTANT", |
| "INTCONSTANT", "UINTCONSTANT", "BOOLCONSTANT", "FIELD_SELECTION", |
| "LEFT_OP", "RIGHT_OP", "INC_OP", "DEC_OP", "LE_OP", "GE_OP", "EQ_OP", |
| "NE_OP", "AND_OP", "OR_OP", "XOR_OP", "MUL_ASSIGN", "DIV_ASSIGN", |
| "ADD_ASSIGN", "MOD_ASSIGN", "LEFT_ASSIGN", "RIGHT_ASSIGN", "AND_ASSIGN", |
| "XOR_ASSIGN", "OR_ASSIGN", "SUB_ASSIGN", "LEFT_PAREN", "RIGHT_PAREN", |
| "LEFT_BRACKET", "RIGHT_BRACKET", "LEFT_BRACE", "RIGHT_BRACE", "DOT", |
| "COMMA", "COLON", "EQUAL", "SEMICOLON", "BANG", "DASH", "TILDE", "PLUS", |
| "STAR", "SLASH", "PERCENT", "LEFT_ANGLE", "RIGHT_ANGLE", "VERTICAL_BAR", |
| "CARET", "AMPERSAND", "QUESTION", "$accept", "identifier", |
| "variable_identifier", "primary_expression", "postfix_expression", |
| "integer_expression", "function_call", "function_call_or_method", |
| "function_call_generic", "function_call_header_no_parameters", |
| "function_call_header_with_parameters", "function_call_header", |
| "function_identifier", "unary_expression", "unary_operator", |
| "multiplicative_expression", "additive_expression", "shift_expression", |
| "relational_expression", "equality_expression", "and_expression", |
| "exclusive_or_expression", "inclusive_or_expression", |
| "logical_and_expression", "logical_xor_expression", |
| "logical_or_expression", "conditional_expression", |
| "assignment_expression", "assignment_operator", "expression", |
| "constant_expression", "enter_struct", "declaration", |
| "function_prototype", "function_declarator", |
| "function_header_with_parameters", "function_header", |
| "parameter_declarator", "parameter_declaration", |
| "parameter_type_specifier", "init_declarator_list", "single_declaration", |
| "fully_specified_type", "interpolation_qualifier", "type_qualifier", |
| "invariant_qualifier", "single_type_qualifier", "storage_qualifier", |
| "type_specifier", "precision_qualifier", "layout_qualifier", |
| "layout_qualifier_id_list", "layout_qualifier_id", |
| "type_specifier_no_prec", "array_specifier", "type_specifier_nonarray", |
| "struct_specifier", "$@1", "$@2", "struct_declaration_list", |
| "struct_declaration", "struct_declarator_list", "struct_declarator", |
| "initializer", "declaration_statement", "statement", "simple_statement", |
| "compound_statement_with_scope", "$@3", "$@4", "statement_no_new_scope", |
| "statement_with_scope", "$@5", "$@6", "compound_statement_no_new_scope", |
| "statement_list", "expression_statement", "selection_statement", |
| "selection_rest_statement", "switch_statement", "$@7", "case_label", |
| "condition", "iteration_statement", "$@8", "$@9", "$@10", |
| "for_init_statement", "conditionopt", "for_rest_statement", |
| "jump_statement", "translation_unit", "external_declaration", |
| "function_definition", "$@11", YY_NULLPTR |
| }; |
| #endif |
| |
| # ifdef YYPRINT |
| /* YYTOKNUM[NUM] -- (External) token number corresponding to the |
| (internal) symbol number NUM (which must be that of a token). */ |
| static const yytype_uint16 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, 316, 317, 318, 319, 320, 321, 322, 323, 324, |
| 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, |
| 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, |
| 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, |
| 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, |
| 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, |
| 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, |
| 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, |
| 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, |
| 405, 406, 407, 408, 409, 410, 411 |
| }; |
| # endif |
| |
| #define YYPACT_NINF -361 |
| |
| #define yypact_value_is_default(Yystate) \ |
| (!!((Yystate) == (-361))) |
| |
| #define YYTABLE_NINF -260 |
| |
| #define yytable_value_is_error(Yytable_value) \ |
| 0 |
| |
| /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing |
| STATE-NUM. */ |
| static const yytype_int16 yypact[] = |
| { |
| 2569, -361, -361, -361, -361, 126, -361, -361, -361, -361, |
| -361, -361, -361, -361, -361, -361, -361, -361, -361, -361, |
| -361, -361, -361, -361, -361, -361, -361, -361, -361, -361, |
| -361, -361, -361, -361, -361, -361, -361, -361, -361, -361, |
| -361, -361, -361, -361, -361, -361, -361, -361, -61, -361, |
| -361, -361, -361, -361, -361, -361, -361, -361, -361, -361, |
| -361, -361, -361, -361, -361, -361, -361, -361, -361, -361, |
| -361, -361, -361, -361, -361, -361, -361, -361, -361, -361, |
| -361, -361, -361, -361, -361, -361, -361, -108, -361, -361, |
| -361, -69, -99, -45, 2673, -119, -361, 2, -361, 1397, |
| -361, -361, -361, -361, -361, -361, -361, -80, -361, 2465, |
| -361, -361, 2867, -361, -361, -361, -24, -40, -361, -17, |
| -361, 2673, -361, -361, -361, 2673, 39, 39, -361, -5, |
| -96, -56, -361, 2673, -361, -361, 1495, -32, -361, -361, |
| -9, 2673, -361, -361, -2, -51, -361, 420, -361, -361, |
| -361, -361, -80, -65, -361, 1873, -60, -361, -361, 2673, |
| 39, 2123, -361, -361, 27, -361, -361, -361, -361, -361, |
| 1873, 1873, 1873, -361, -361, -361, -361, -361, -361, -361, |
| -67, -361, -361, -361, 28, -48, 1997, 33, -361, 1873, |
| 15, 22, 58, -89, 54, 24, 34, 38, 67, 72, |
| -95, -361, 59, -361, 1622, -361, 2237, 2673, 66, -361, |
| -40, 53, 55, -361, 64, 69, 56, 1749, 71, 1873, |
| 68, 75, 62, -361, -361, 26, -361, -361, -86, -361, |
| -69, 77, -361, -361, -361, -361, 565, -361, -361, -361, |
| -361, -361, -361, -32, 1873, -57, -361, -361, 1873, 39, |
| -80, -50, -361, -83, -361, -361, -361, -43, -361, -361, |
| 1873, 2770, -361, -361, 1873, 81, -361, -361, -361, 1873, |
| 1873, 1873, 1873, 1873, 1873, 1873, 1873, 1873, 1873, 1873, |
| 1873, 1873, 1873, 1873, 1873, 1873, 1873, 1873, 1873, -361, |
| -361, 80, -361, 2351, -361, -361, -361, -361, -361, 74, |
| -361, 1873, -361, -361, -21, 1873, 76, -361, -361, -361, |
| 710, -361, -361, -361, -361, -361, -361, -361, -361, -361, |
| -361, -361, 1873, 1873, -361, -361, -361, -361, 1873, -361, |
| -16, -32, 39, -361, -101, -361, -361, 82, 65, -361, |
| 86, -361, -361, -361, -361, -361, 15, 15, 22, 22, |
| 58, 58, 58, 58, -89, -89, 54, 24, 34, 38, |
| 67, 72, 40, -361, -361, 157, -17, 1000, 1145, -34, |
| -361, -30, -361, 1271, 710, -361, -361, -361, -361, -361, |
| 1873, -361, -361, 1873, 88, -361, -361, -361, -361, 1271, |
| 74, -361, 65, 39, 2673, 89, 84, 90, -361, 1873, |
| -361, 85, 91, 207, -361, 92, 93, 855, -361, 95, |
| -29, 1873, 855, 74, -361, 1873, -361, -361, -361, -361, |
| 96, 65, -361, -361, -361, -361 |
| }; |
| |
| /* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM. |
| Performed when YYTABLE does not specify something else to do. Zero |
| means the default is an error. */ |
| static const yytype_uint16 yydefact[] = |
| { |
| 0, 126, 148, 149, 150, 0, 132, 134, 168, 165, |
| 166, 167, 172, 173, 174, 175, 176, 177, 169, 170, |
| 171, 178, 179, 180, 181, 182, 183, 135, 136, 137, |
| 139, 140, 133, 184, 185, 186, 187, 188, 189, 138, |
| 123, 122, 141, 142, 143, 144, 145, 146, 0, 164, |
| 191, 193, 212, 214, 194, 197, 198, 199, 200, 203, |
| 204, 205, 206, 195, 201, 207, 196, 202, 208, 192, |
| 209, 210, 211, 213, 215, 216, 217, 218, 219, 220, |
| 221, 222, 223, 224, 225, 226, 227, 0, 190, 229, |
| 298, 299, 0, 99, 98, 0, 110, 115, 130, 0, |
| 131, 124, 127, 120, 129, 128, 147, 158, 228, 0, |
| 295, 297, 0, 2, 3, 232, 0, 0, 89, 0, |
| 97, 0, 106, 100, 108, 0, 109, 0, 90, 2, |
| 116, 0, 95, 0, 125, 121, 0, 159, 1, 296, |
| 0, 0, 230, 157, 154, 0, 152, 0, 300, 101, |
| 105, 107, 103, 111, 102, 0, 117, 88, 96, 0, |
| 0, 0, 234, 10, 4, 8, 6, 7, 9, 31, |
| 0, 0, 0, 160, 38, 37, 39, 36, 5, 12, |
| 32, 14, 19, 20, 0, 0, 25, 0, 40, 0, |
| 44, 47, 50, 55, 58, 60, 62, 64, 66, 68, |
| 70, 87, 0, 29, 0, 91, 0, 0, 0, 151, |
| 0, 0, 0, 280, 0, 0, 0, 0, 0, 0, |
| 0, 0, 254, 263, 267, 40, 72, 85, 0, 243, |
| 0, 147, 246, 265, 245, 244, 0, 247, 248, 249, |
| 250, 251, 252, 104, 0, 112, 242, 119, 0, 0, |
| 240, 0, 238, 0, 235, 33, 34, 0, 16, 17, |
| 0, 0, 23, 22, 0, 164, 26, 28, 35, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 161, |
| 162, 0, 233, 0, 155, 156, 153, 291, 290, 261, |
| 282, 0, 294, 292, 0, 0, 0, 275, 278, 253, |
| 0, 75, 76, 78, 77, 80, 81, 82, 83, 84, |
| 79, 74, 0, 0, 268, 264, 266, 114, 0, 118, |
| 0, 241, 0, 236, 0, 92, 11, 0, 18, 30, |
| 15, 21, 27, 41, 42, 43, 46, 45, 48, 49, |
| 53, 54, 51, 52, 56, 57, 59, 61, 63, 65, |
| 67, 69, 0, 163, 231, 0, 0, 0, 0, 0, |
| 293, 0, 274, 0, 255, 73, 86, 113, 237, 239, |
| 0, 93, 13, 0, 0, 260, 262, 285, 284, 287, |
| 261, 272, 276, 0, 0, 0, 0, 0, 71, 0, |
| 286, 0, 0, 271, 269, 0, 0, 0, 256, 0, |
| 0, 288, 0, 261, 273, 0, 258, 279, 257, 94, |
| 0, 289, 283, 270, 277, 281 |
| }; |
| |
| /* YYPGOTO[NTERM-NUM]. */ |
| static const yytype_int16 yypgoto[] = |
| { |
| -361, -47, -361, -361, -361, -361, -361, -361, -28, -361, |
| -361, -361, -361, 42, -361, -87, -85, -140, -88, -55, |
| -49, -52, -44, -42, -39, -361, -131, -146, -361, -159, |
| -196, -361, 14, 17, -361, -361, -361, 117, 122, 120, |
| -361, -361, -337, -361, -90, -361, -93, -361, -92, 242, |
| -361, -361, 41, 0, -115, -361, -361, -361, -361, -123, |
| -150, 4, -78, -232, -113, -226, -348, -149, -361, -361, |
| -155, -360, -361, -361, -116, -46, -110, -361, -361, -361, |
| -361, -361, -130, -361, -361, -361, -361, -361, -361, -361, |
| -361, -361, 151, -361, -361 |
| }; |
| |
| /* YYDEFGOTO[NTERM-NUM]. */ |
| static const yytype_int16 yydefgoto[] = |
| { |
| -1, 250, 178, 179, 180, 337, 181, 182, 183, 184, |
| 185, 186, 187, 225, 189, 190, 191, 192, 193, 194, |
| 195, 196, 197, 198, 199, 200, 226, 227, 322, 228, |
| 202, 133, 229, 230, 92, 93, 94, 122, 123, 124, |
| 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, |
| 105, 145, 146, 203, 137, 107, 108, 207, 141, 161, |
| 162, 251, 252, 247, 232, 233, 234, 235, 310, 396, |
| 417, 365, 366, 367, 418, 236, 237, 238, 404, 239, |
| 405, 240, 395, 241, 373, 299, 368, 389, 401, 402, |
| 242, 109, 110, 111, 119 |
| }; |
| |
| /* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If |
| positive, shift that token. If negative, reduce the rule whose |
| number is the opposite. If YYTABLE_NINF, syntax error. */ |
| static const yytype_int16 yytable[] = |
| { |
| 106, 116, 126, 148, 125, 201, 134, 135, 291, 246, |
| 326, 254, 327, 257, 90, 156, 329, 91, 206, 386, |
| 143, 127, 334, 306, 128, 117, 287, 276, 277, 126, |
| 403, 125, 134, 126, 380, 120, 393, 243, 245, 136, |
| 266, 160, 381, 159, 113, 114, 155, 258, 259, 160, |
| 130, 159, 393, 423, 323, 136, 254, 324, 304, 416, |
| 335, 288, 278, 279, 416, 144, 134, 249, 260, 160, |
| 136, 159, 261, 201, 118, 204, 115, 244, 204, 152, |
| 153, 157, 248, 209, 293, 328, 263, 158, 201, 210, |
| 332, 336, 264, 333, 106, 121, 377, 323, 246, 106, |
| 390, 338, 246, 204, 391, 420, 323, 129, 114, 106, |
| 323, 323, 140, 142, 160, 160, 159, 159, 342, 323, |
| 147, 106, 370, 90, 332, 106, 91, 378, 154, 362, |
| 2, 3, 4, 106, 205, 331, 350, 351, 352, 353, |
| 208, 106, 369, 254, 113, 114, 371, 231, 326, 311, |
| 312, 313, 314, 315, 316, 317, 318, 319, 320, 106, |
| -30, 106, 262, 269, 270, 271, 267, 272, 321, 273, |
| 274, 275, 280, 281, 294, 295, 375, 376, 188, 282, |
| 323, 383, 246, 424, 397, 346, 347, 285, 283, 348, |
| 349, 284, 354, 355, 286, 289, 297, 300, 298, 302, |
| 309, 160, 301, 159, 305, 323, 106, 106, 308, 307, |
| -29, -259, 255, 256, 392, -24, 363, 372, 382, -31, |
| 384, 399, 408, 407, 413, 412, 409, 356, 411, 222, |
| 392, 268, 358, 341, 357, 415, 231, 398, 419, 425, |
| 410, 359, 150, 149, 360, 151, 188, 112, 361, 201, |
| 385, 296, 421, 330, 379, 387, 414, 422, 388, 400, |
| 139, 188, 0, 0, 374, 0, 0, 0, 0, 246, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 394, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 106, 0, 0, 0, 0, 0, 394, |
| 0, 134, 135, 0, 0, 0, 0, 0, 0, 0, |
| 231, 343, 344, 345, 188, 188, 188, 188, 188, 188, |
| 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 406, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 231, 231, 0, |
| 0, 0, 0, 231, 231, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 231, |
| 0, 0, 0, 0, 106, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 231, 0, 0, |
| 0, 0, 231, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 188, 1, 2, 3, 4, 5, 6, 7, |
| 8, 9, 10, 11, 211, 212, 213, 0, 214, 215, |
| 216, 217, 218, 219, 220, 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, 221, 50, 51, 52, 53, 54, 55, |
| 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, |
| 66, 67, 68, 69, 0, 70, 71, 72, 73, 74, |
| 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, |
| 85, 86, 87, 88, 163, 164, 89, 165, 166, 167, |
| 168, 169, 0, 0, 170, 171, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 172, 0, 0, 0, 222, 223, 0, |
| 0, 0, 0, 224, 174, 175, 176, 177, 1, 2, |
| 3, 4, 5, 6, 7, 8, 9, 10, 11, 211, |
| 212, 213, 0, 214, 215, 216, 217, 218, 219, 220, |
| 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, 221, 50, |
| 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, |
| 61, 62, 63, 64, 65, 66, 67, 68, 69, 0, |
| 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, |
| 80, 81, 82, 83, 84, 85, 86, 87, 88, 163, |
| 164, 89, 165, 166, 167, 168, 169, 0, 0, 170, |
| 171, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 172, 0, |
| 0, 0, 222, 325, 0, 0, 0, 0, 224, 174, |
| 175, 176, 177, 1, 2, 3, 4, 5, 6, 7, |
| 8, 9, 10, 11, 211, 212, 213, 0, 214, 215, |
| 216, 217, 218, 219, 220, 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, 221, 50, 51, 52, 53, 54, 55, |
| 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, |
| 66, 67, 68, 69, 0, 70, 71, 72, 73, 74, |
| 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, |
| 85, 86, 87, 88, 163, 164, 89, 165, 166, 167, |
| 168, 169, 0, 0, 170, 171, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 172, 0, 0, 0, 222, 0, 0, |
| 0, 0, 0, 224, 174, 175, 176, 177, 1, 2, |
| 3, 4, 5, 6, 7, 8, 9, 10, 11, 211, |
| 212, 213, 0, 214, 215, 216, 217, 218, 219, 220, |
| 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, 221, 50, |
| 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, |
| 61, 62, 63, 64, 65, 66, 67, 68, 69, 0, |
| 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, |
| 80, 81, 82, 83, 84, 85, 86, 87, 88, 163, |
| 164, 89, 165, 166, 167, 168, 169, 0, 0, 170, |
| 171, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 172, 0, |
| 0, 0, 147, 0, 0, 0, 0, 0, 224, 174, |
| 175, 176, 177, 1, 2, 3, 4, 5, 6, 7, |
| 8, 9, 10, 11, 211, 212, 213, 0, 214, 215, |
| 216, 217, 218, 219, 220, 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, 221, 50, 51, 52, 53, 54, 55, |
| 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, |
| 66, 67, 68, 69, 0, 70, 71, 72, 73, 74, |
| 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, |
| 85, 86, 87, 88, 163, 164, 89, 165, 166, 167, |
| 168, 169, 0, 0, 170, 171, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 172, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 224, 174, 175, 176, 177, 1, 2, |
| 3, 4, 5, 6, 7, 8, 9, 10, 11, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 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, 0, 50, |
| 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, |
| 61, 62, 63, 64, 65, 66, 67, 68, 69, 0, |
| 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, |
| 80, 81, 82, 83, 84, 85, 86, 87, 88, 163, |
| 164, 89, 165, 166, 167, 168, 169, 0, 0, 170, |
| 171, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 1, 2, 3, 4, 172, 6, |
| 7, 8, 9, 10, 11, 0, 0, 0, 224, 174, |
| 175, 176, 177, 0, 0, 0, 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, 0, 50, 51, 52, 53, 54, |
| 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, |
| 65, 66, 67, 68, 69, 0, 70, 71, 72, 73, |
| 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, |
| 84, 85, 86, 87, 88, 163, 164, 89, 165, 166, |
| 167, 168, 169, 0, 0, 170, 171, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 1, 2, 3, 4, 172, 6, 7, 8, 9, 10, |
| 11, 0, 0, 0, 0, 174, 175, 176, 177, 0, |
| 0, 0, 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, |
| 0, 50, 51, 52, 53, 54, 55, 56, 57, 58, |
| 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, |
| 69, 0, 70, 71, 72, 73, 74, 75, 76, 77, |
| 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, |
| 88, 0, 131, 89, 0, 8, 9, 10, 11, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, |
| 22, 23, 24, 25, 26, 0, 0, 0, 0, 0, |
| 132, 33, 34, 35, 36, 37, 38, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 48, 49, 0, 50, |
| 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, |
| 61, 62, 63, 64, 65, 66, 67, 68, 69, 0, |
| 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, |
| 80, 81, 82, 83, 84, 85, 86, 0, 88, 163, |
| 164, 89, 165, 166, 167, 168, 169, 0, 0, 170, |
| 171, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 172, 0, |
| 0, 173, 8, 9, 10, 11, 0, 0, 0, 174, |
| 175, 176, 177, 0, 0, 0, 0, 12, 13, 14, |
| 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, |
| 25, 26, 0, 0, 0, 0, 0, 0, 33, 34, |
| 35, 36, 37, 38, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 48, 49, 0, 50, 51, 52, 53, |
| 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, |
| 64, 65, 66, 67, 68, 69, 0, 70, 71, 72, |
| 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, |
| 83, 84, 85, 86, 0, 88, 163, 164, 89, 165, |
| 166, 167, 168, 169, 0, 0, 170, 171, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 172, 0, 0, 290, 8, |
| 9, 10, 11, 0, 0, 0, 174, 175, 176, 177, |
| 0, 0, 0, 0, 12, 13, 14, 15, 16, 17, |
| 18, 19, 20, 21, 22, 23, 24, 25, 26, 0, |
| 0, 0, 0, 0, 0, 33, 34, 35, 36, 37, |
| 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 48, 49, 0, 50, 51, 52, 53, 54, 55, 56, |
| 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, |
| 67, 68, 69, 0, 70, 71, 72, 73, 74, 75, |
| 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, |
| 86, 0, 88, 163, 164, 89, 165, 166, 167, 168, |
| 169, 0, 0, 170, 171, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 172, 8, 9, 10, 11, 0, 0, 0, |
| 0, 0, 303, 174, 175, 176, 177, 0, 12, 13, |
| 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, |
| 24, 25, 26, 0, 0, 0, 0, 0, 0, 33, |
| 34, 35, 36, 37, 38, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 48, 49, 0, 50, 51, 52, |
| 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, |
| 63, 64, 65, 66, 67, 68, 69, 0, 70, 71, |
| 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, |
| 82, 83, 84, 85, 86, 0, 88, 163, 164, 89, |
| 165, 166, 167, 168, 169, 0, 0, 170, 171, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 172, 8, 9, 10, |
| 11, 0, 0, 0, 0, 0, 0, 174, 175, 176, |
| 177, 0, 12, 13, 14, 15, 16, 17, 18, 19, |
| 20, 21, 22, 23, 24, 25, 26, 0, 0, 0, |
| 0, 0, 0, 33, 34, 35, 36, 37, 38, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 48, 265, |
| 0, 50, 51, 52, 53, 54, 55, 56, 57, 58, |
| 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, |
| 69, 0, 70, 71, 72, 73, 74, 75, 76, 77, |
| 78, 79, 80, 81, 82, 83, 84, 85, 86, 0, |
| 88, 163, 164, 89, 165, 166, 167, 168, 169, 0, |
| 0, 170, 171, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, |
| 172, 6, 7, 8, 9, 10, 11, 0, 0, 0, |
| 0, 174, 175, 176, 177, 0, 0, 0, 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, 0, 50, 51, 52, |
| 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, |
| 63, 64, 65, 66, 67, 68, 69, 0, 70, 71, |
| 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, |
| 82, 83, 84, 85, 86, 87, 88, 0, 0, 89, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 1, 2, 3, 4, 0, 6, 7, 8, 9, 10, |
| 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 253, 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, |
| 0, 50, 51, 52, 53, 54, 55, 56, 57, 58, |
| 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, |
| 69, 0, 70, 71, 72, 73, 74, 75, 76, 77, |
| 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, |
| 88, 0, 0, 89, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 1, 2, 3, 4, 0, 6, |
| 7, 8, 9, 10, 11, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 292, 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, 0, 50, 51, 52, 53, 54, |
| 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, |
| 65, 66, 67, 68, 69, 0, 70, 71, 72, 73, |
| 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, |
| 84, 85, 86, 87, 88, 0, 0, 89, 0, 0, |
| 0, 0, 0, 0, 0, 138, 0, 0, 1, 2, |
| 3, 4, 5, 6, 7, 8, 9, 10, 11, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 364, |
| 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, 0, 50, |
| 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, |
| 61, 62, 63, 64, 65, 66, 67, 68, 69, 0, |
| 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, |
| 80, 81, 82, 83, 84, 85, 86, 87, 88, 0, |
| 0, 89, 1, 2, 3, 4, 5, 6, 7, 8, |
| 9, 10, 11, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 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, 0, 50, 51, 52, 53, 54, 55, 56, |
| 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, |
| 67, 68, 69, 0, 70, 71, 72, 73, 74, 75, |
| 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, |
| 86, 87, 88, 0, 0, 89, 1, 2, 3, 4, |
| 0, 6, 7, 8, 9, 10, 11, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 50, 51, 52, |
| 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, |
| 63, 64, 65, 66, 67, 68, 69, 0, 70, 71, |
| 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, |
| 82, 83, 84, 85, 86, 87, 88, 0, 0, 89, |
| 8, 9, 10, 11, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 12, 13, 14, 15, 16, |
| 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, |
| 0, 0, 0, 0, 0, 0, 33, 34, 35, 36, |
| 37, 38, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 48, 49, 0, 50, 51, 52, 53, 54, 55, |
| 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, |
| 66, 67, 68, 69, 0, 70, 71, 72, 73, 74, |
| 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, |
| 85, 86, 0, 88, 0, 339, 89, 8, 9, 10, |
| 11, 340, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 12, 13, 14, 15, 16, 17, 18, 19, |
| 20, 21, 22, 23, 24, 25, 26, 0, 0, 0, |
| 0, 0, 0, 33, 34, 35, 36, 37, 38, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 48, 49, |
| 0, 50, 51, 52, 53, 54, 55, 56, 57, 58, |
| 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, |
| 69, 0, 70, 71, 72, 73, 74, 75, 76, 77, |
| 78, 79, 80, 81, 82, 83, 84, 85, 86, 0, |
| 88, 0, 0, 89 |
| }; |
| |
| static const yytype_int16 yycheck[] = |
| { |
| 0, 48, 94, 119, 94, 136, 99, 99, 204, 155, |
| 236, 161, 244, 172, 0, 130, 248, 0, 141, 367, |
| 60, 140, 105, 219, 143, 133, 121, 116, 117, 121, |
| 390, 121, 125, 125, 135, 134, 373, 152, 153, 135, |
| 186, 133, 143, 133, 105, 106, 142, 114, 115, 141, |
| 97, 141, 389, 413, 140, 135, 206, 143, 217, 407, |
| 143, 156, 151, 152, 412, 105, 159, 159, 135, 161, |
| 135, 161, 139, 204, 143, 135, 137, 142, 135, 126, |
| 127, 137, 142, 134, 207, 142, 134, 143, 219, 140, |
| 140, 134, 140, 143, 94, 140, 328, 140, 244, 99, |
| 134, 260, 248, 135, 134, 134, 140, 105, 106, 109, |
| 140, 140, 112, 137, 206, 207, 206, 207, 264, 140, |
| 137, 121, 143, 109, 140, 125, 109, 143, 133, 288, |
| 4, 5, 6, 133, 143, 250, 276, 277, 278, 279, |
| 142, 141, 301, 293, 105, 106, 305, 147, 374, 123, |
| 124, 125, 126, 127, 128, 129, 130, 131, 132, 159, |
| 133, 161, 134, 148, 149, 150, 133, 145, 142, 147, |
| 112, 113, 118, 119, 108, 109, 322, 323, 136, 155, |
| 140, 141, 328, 415, 380, 272, 273, 120, 154, 274, |
| 275, 153, 280, 281, 122, 136, 143, 133, 143, 143, |
| 138, 293, 133, 293, 133, 140, 206, 207, 133, 141, |
| 133, 137, 170, 171, 373, 134, 136, 141, 136, 133, |
| 63, 133, 138, 134, 17, 134, 136, 282, 143, 137, |
| 389, 189, 284, 261, 283, 142, 236, 383, 143, 143, |
| 399, 285, 125, 121, 286, 125, 204, 5, 287, 380, |
| 366, 210, 411, 249, 332, 368, 405, 412, 368, 389, |
| 109, 219, -1, -1, 310, -1, -1, -1, -1, 415, |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, 373, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, 293, -1, -1, -1, -1, -1, 389, |
| -1, 394, 394, -1, -1, -1, -1, -1, -1, -1, |
| 310, 269, 270, 271, 272, 273, 274, 275, 276, 277, |
| 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, -1, -1, -1, 393, -1, -1, -1, |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, -1, -1, -1, -1, 367, 368, -1, |
| -1, -1, -1, 373, 374, -1, -1, -1, -1, -1, |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, 389, |
| -1, -1, -1, -1, 394, -1, -1, -1, -1, -1, |
| -1, -1, -1, -1, -1, -1, -1, 407, -1, -1, |
| -1, -1, 412, -1, -1, -1, -1, -1, -1, -1, |
| -1, -1, 380, 3, 4, 5, 6, 7, 8, 9, |
| 10, 11, 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, 39, |
| 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, |
| 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, |
| 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, |
| 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, |
| 80, 81, 82, 83, -1, 85, 86, 87, 88, 89, |
| 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, |
| 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, |
| 110, 111, -1, -1, 114, 115, -1, -1, -1, -1, |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, 133, -1, -1, -1, 137, 138, -1, |
| -1, -1, -1, 143, 144, 145, 146, 147, 3, 4, |
| 5, 6, 7, 8, 9, 10, 11, 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, 39, 40, 41, 42, 43, 44, |
| 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, |
| 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, |
| 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, |
| 75, 76, 77, 78, 79, 80, 81, 82, 83, -1, |
| 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, |
| 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, |
| 105, 106, 107, 108, 109, 110, 111, -1, -1, 114, |
| 115, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, -1, -1, -1, -1, -1, 133, -1, |
| -1, -1, 137, 138, -1, -1, -1, -1, 143, 144, |
| 145, 146, 147, 3, 4, 5, 6, 7, 8, 9, |
| 10, 11, 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, 39, |
| 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, |
| 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, |
| 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, |
| 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, |
| 80, 81, 82, 83, -1, 85, 86, 87, 88, 89, |
| 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, |
| 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, |
| 110, 111, -1, -1, 114, 115, -1, -1, -1, -1, |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, 133, -1, -1, -1, 137, -1, -1, |
| -1, -1, -1, 143, 144, 145, 146, 147, 3, 4, |
| 5, 6, 7, 8, 9, 10, 11, 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, 39, 40, 41, 42, 43, 44, |
| 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, |
| 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, |
| 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, |
| 75, 76, 77, 78, 79, 80, 81, 82, 83, -1, |
| 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, |
| 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, |
| 105, 106, 107, 108, 109, 110, 111, -1, -1, 114, |
| 115, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, -1, -1, -1, -1, -1, 133, -1, |
| -1, -1, 137, -1, -1, -1, -1, -1, 143, 144, |
| 145, 146, 147, 3, 4, 5, 6, 7, 8, 9, |
| 10, 11, 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, 39, |
| 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, |
| 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, |
| 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, |
| 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, |
| 80, 81, 82, 83, -1, 85, 86, 87, 88, 89, |
| 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, |
| 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, |
| 110, 111, -1, -1, 114, 115, -1, -1, -1, -1, |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, 133, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, 143, 144, 145, 146, 147, 3, 4, |
| 5, 6, 7, 8, 9, 10, 11, 12, 13, -1, |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| 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, 61, 62, -1, 64, |
| 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, |
| 75, 76, 77, 78, 79, 80, 81, 82, 83, -1, |
| 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, |
| 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, |
| 105, 106, 107, 108, 109, 110, 111, -1, -1, 114, |
| 115, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, -1, 3, 4, 5, 6, 133, 8, |
| 9, 10, 11, 12, 13, -1, -1, -1, 143, 144, |
| 145, 146, 147, -1, -1, -1, 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, 61, 62, -1, 64, 65, 66, 67, 68, |
| 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, |
| 79, 80, 81, 82, 83, -1, 85, 86, 87, 88, |
| 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, |
| 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, |
| 109, 110, 111, -1, -1, 114, 115, -1, -1, -1, |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| 3, 4, 5, 6, 133, 8, 9, 10, 11, 12, |
| 13, -1, -1, -1, -1, 144, 145, 146, 147, -1, |
| -1, -1, 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, 61, 62, |
| -1, 64, 65, 66, 67, 68, 69, 70, 71, 72, |
| 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, |
| 83, -1, 85, 86, 87, 88, 89, 90, 91, 92, |
| 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, |
| 103, -1, 105, 106, -1, 10, 11, 12, 13, -1, |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, |
| 35, 36, 37, 38, 39, -1, -1, -1, -1, -1, |
| 143, 46, 47, 48, 49, 50, 51, -1, -1, -1, |
| -1, -1, -1, -1, -1, -1, 61, 62, -1, 64, |
| 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, |
| 75, 76, 77, 78, 79, 80, 81, 82, 83, -1, |
| 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, |
| 95, 96, 97, 98, 99, 100, 101, -1, 103, 104, |
| 105, 106, 107, 108, 109, 110, 111, -1, -1, 114, |
| 115, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, -1, -1, -1, -1, -1, 133, -1, |
| -1, 136, 10, 11, 12, 13, -1, -1, -1, 144, |
| 145, 146, 147, -1, -1, -1, -1, 25, 26, 27, |
| 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, |
| 38, 39, -1, -1, -1, -1, -1, -1, 46, 47, |
| 48, 49, 50, 51, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, 61, 62, -1, 64, 65, 66, 67, |
| 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, |
| 78, 79, 80, 81, 82, 83, -1, 85, 86, 87, |
| 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, |
| 98, 99, 100, 101, -1, 103, 104, 105, 106, 107, |
| 108, 109, 110, 111, -1, -1, 114, 115, -1, -1, |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, -1, -1, 133, -1, -1, 136, 10, |
| 11, 12, 13, -1, -1, -1, 144, 145, 146, 147, |
| -1, -1, -1, -1, 25, 26, 27, 28, 29, 30, |
| 31, 32, 33, 34, 35, 36, 37, 38, 39, -1, |
| -1, -1, -1, -1, -1, 46, 47, 48, 49, 50, |
| 51, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| 61, 62, -1, 64, 65, 66, 67, 68, 69, 70, |
| 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, |
| 81, 82, 83, -1, 85, 86, 87, 88, 89, 90, |
| 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, |
| 101, -1, 103, 104, 105, 106, 107, 108, 109, 110, |
| 111, -1, -1, 114, 115, -1, -1, -1, -1, -1, |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| -1, -1, 133, 10, 11, 12, 13, -1, -1, -1, |
| -1, -1, 143, 144, 145, 146, 147, -1, 25, 26, |
| 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, |
| 37, 38, 39, -1, -1, -1, -1, -1, -1, 46, |
| 47, 48, 49, 50, 51, -1, -1, -1, -1, -1, |
| -1, -1, -1, -1, 61, 62, -1, 64, 65, 66, |
| 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, |
| 77, 78, 79, 80, 81, 82, 83, -1, 85, 86, |
| 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, |
| 97, 98, 99, 100, 101, -1, 103, 104, 105, 106, |
| 107, 108, 109, 110, 111, -1, -1, 114, 115, -1, |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, -1, -1, -1, 133, 10, 11, 12, |
| 13, -1, -1, -1, -1, -1, -1, 144, 145, 146, |
| 147, -1, 25, 26, 27, 28, 29, 30, 31, 32, |
| 33, 34, 35, 36, 37, 38, 39, -1, -1, -1, |
| -1, -1, -1, 46, 47, 48, 49, 50, 51, -1, |
| -1, -1, -1, -1, -1, -1, -1, -1, 61, 62, |
| -1, 64, 65, 66, 67, 68, 69, 70, 71, 72, |
| 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, |
| 83, -1, 85, 86, 87, 88, 89, 90, 91, 92, |
| 93, 94, 95, 96, 97, 98, 99, 100, 101, -1, |
| 103, 104, 105, 106, 107, 108, 109, 110, 111, -1, |
| -1, 114, 115, -1, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, -1, -1, -1, 3, 4, 5, 6, |
| 133, 8, 9, 10, 11, 12, 13, -1, -1, -1, |
| -1, 144, 145, 146, 147, -1, -1, -1, 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, 61, 62, -1, 64, 65, 66, |
| 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, |
| 77, 78, 79, 80, 81, 82, 83, -1, 85, 86, |
| 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, |
| 97, 98, 99, 100, 101, 102, 103, -1, -1, 106, |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| 3, 4, 5, 6, -1, 8, 9, 10, 11, 12, |
| 13, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
| -1, 138, 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, 61, 62, |
| -1, 64, 65, 66, 67, 68, 69, 70, 71, 72, |
| 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, |
| 83, -1, 85, 86, 87, 88, 89, 90, 91, 92, |
| 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, |
| 103, -1, -1, 106, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, -1, 3, 4, 5, 6, -1, 8, |
| 9, 10, 11, 12, 13, -1, -1, -1, -1, -1, |
| -1, -1, -1, -1, -1, 138, 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, 61, 62, -1, 64, 65, 66, 67, 68, |
| 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, |
| 79, 80, 81, 82, 83, -1, 85, 86, 87, 88, |
| 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, |
| 99, 100, 101, 102, 103, -1, -1, 106, -1, -1, |
| -1, -1, -1, -1, -1, 0, -1, -1, 3, 4, |
| 5, 6, 7, 8, 9, 10, 11, 12, 13, -1, |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, 138, |
| 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, 61, 62, -1, 64, |
| 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, |
| 75, 76, 77, 78, 79, 80, 81, 82, 83, -1, |
| 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, |
| 95, 96, 97, 98, 99, 100, 101, 102, 103, -1, |
| -1, 106, 3, 4, 5, 6, 7, 8, 9, 10, |
| 11, 12, 13, -1, -1, -1, -1, -1, -1, -1, |
| -1, -1, -1, -1, 25, 26, 27, 28, 29, 30, |
| 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, |
| 41, 42, 43, 44, 45, 46 |