-/*
-** 2000-05-29
-**
-** The author disclaims copyright to this source code. In place of
-** a legal notice, here is a blessing:
-**
-** May you do good and not evil.
-** May you find forgiveness for yourself and forgive others.
-** May you share freely, never taking more than you give.
-**
-*************************************************************************
-** Driver template for the LEMON parser generator.
-**
-** The "lemon" program processes an LALR(1) input grammar file, then uses
-** this template to construct a parser. The "lemon" program inserts text
-** at each "%%" line. Also, any "P-a-r-s-e" identifer prefix (without the
-** interstitial "-" characters) contained in this template is changed into
-** the value of the %name directive from the grammar. Otherwise, the content
-** of this template is copied straight through into the generate parser
-** source file.
-**
-** The following is the concatenation of all %include directives from the
-** input grammar file:
-*/
-#include <stdio.h>
-/************ Begin %include sections from the grammar ************************/
-#line 1 "src/parser_proc.y"
+/* A Bison parser, made by GNU Bison 3.0.4. */
+
+/* Skeleton implementation for Bison GLR parsers in C
+
+ Copyright (C) 2002-2015 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 GLR parser skeleton written by Paul Hilfinger. */
+
+/* Identify Bison output. */
+#define YYBISON 1
+
+/* Bison version. */
+#define YYBISON_VERSION "3.0.4"
+
+/* Skeleton name. */
+#define YYSKELETON_NAME "glr.c"
+
+/* Pure parsers. */
+#define YYPURE 1
+
+
+/* "%code top" blocks. */
+#line 1 "src/parser_proc_grammar.y" /* glr.c:222 */
#include "php_psi_stdinc.h"
+#line 54 "src/parser_proc.c" /* glr.c:222 */
+
+
+/* Substitute the variable and function names. */
+#define yyparse psi_parser_proc_parse
+#define yylex psi_parser_proc_lex
+#define yyerror psi_parser_proc_error
+#define yydebug psi_parser_proc_debug
+
+
+/* First part of user declarations. */
+
+#line 66 "src/parser_proc.c" /* glr.c:240 */
+
+# ifndef YY_NULLPTR
+# if defined __cplusplus && 201103L <= __cplusplus
+# define YY_NULLPTR nullptr
+# else
+# define YY_NULLPTR 0
+# endif
+# endif
+
+#include "parser_proc.h"
+
+/* Enabling verbose error messages. */
+#ifdef YYERROR_VERBOSE
+# undef YYERROR_VERBOSE
+# define YYERROR_VERBOSE 1
+#else
+# define YYERROR_VERBOSE 1
+#endif
+
+/* Default (constant) value used for initialization for null
+ right-hand sides. Unlike the standard yacc.c template, here we set
+ the default value of $$ to a zeroed-out value. Since the default
+ value is undefined, this behavior is technically correct. */
+static YYSTYPE yyval_default;
+
+/* Copy the second part of user declarations. */
+
+#line 94 "src/parser_proc.c" /* glr.c:263 */
+/* Unqualified %code blocks. */
+#line 5 "src/parser_proc_grammar.y" /* glr.c:264 */
+
#include <assert.h>
#include <stdarg.h>
#include "plist.h"
#include "parser.h"
-/* rename lemon symbols, works better than DEF(%name) */
-#define ParseAlloc psi_parser_proc_init_ex
-#define Parse psi_parser_proc_parse
-#define ParseTrace psi_parser_proc_trace
-#define ParseFree psi_parser_proc_free_ex
+#define YYDEBUG 1
+#define PSI_PARSER_PROC_DEBUG 1
-/* fwd decls */
-void *ParseAlloc(void *(*mallocProc)(size_t));
-void ParseFree(void *p, void (*freeProc)(void*));
+static int psi_parser_proc_lex(YYSTYPE *u, struct psi_parser *P, struct psi_plist *tokens, size_t *index);
+static void psi_parser_proc_error(struct psi_parser *P, struct psi_plist *tokens, size_t *index, const char *msg);
-/* wrappers */
-void *psi_parser_proc_init(void)
+static inline void psi_parser_proc_add_struct(struct psi_parser *P, struct psi_decl_struct *strct)
{
- return ParseAlloc(malloc);
+ assert(strct);
+ if (!P->structs) {
+ P->structs = psi_plist_init((psi_plist_dtor) psi_decl_struct_free);
+ }
+ P->structs = psi_plist_add(P->structs, &strct);
}
-
-void psi_parser_proc_free(void **parser_proc)
+static inline void psi_parser_proc_add_union(struct psi_parser *P, struct psi_decl_union *u)
+{
+ assert(u);
+ if (!P->unions) {
+ P->unions = psi_plist_init((psi_plist_dtor) psi_decl_union_free);
+ }
+ P->unions = psi_plist_add(P->unions, &u);
+}
+static inline void psi_parser_proc_add_enum(struct psi_parser *P, struct psi_decl_enum *e)
+{
+ assert(e);
+ if (!P->enums) {
+ P->enums = psi_plist_init((psi_plist_dtor) psi_decl_enum_free);
+ }
+ P->enums = psi_plist_add(P->enums, &e);
+}
+static inline void psi_parser_proc_deanon_typedef(struct psi_decl_arg *def)
+{
+ switch (def->type->type) {
+ case PSI_T_STRUCT:
+ if (!psi_decl_type_is_anon(def->type->name, "struct")) {
+ return;
+ }
+ break;
+ case PSI_T_UNION:
+ if (!psi_decl_type_is_anon(def->type->name, "union")) {
+ return;
+ }
+ break;
+ case PSI_T_ENUM:
+ if (!psi_decl_type_is_anon(def->type->name, "enum")) {
+ return;
+ }
+ break;
+ default:
+ return;
+ }
+ free(def->type->name);
+ def->type->name = strdup(def->var->name);
+}
+static inline void psi_parser_proc_add_typedef(struct psi_parser *P, struct psi_decl_arg *def)
{
- if (*parser_proc) {
- ParseFree(*parser_proc, free);
- *parser_proc = NULL;
+ assert(def);
+ if (!P->types) {
+ P->types = psi_plist_init((psi_plist_dtor) psi_decl_arg_free);
+ }
+ //psi_parser_proc_deanon_typedef(def);
+ P->types = psi_plist_add(P->types, &def);
+}
+static inline void psi_parser_proc_add_const(struct psi_parser *P, struct psi_const *cnst) {
+ assert(cnst);
+ if (!P->consts) {
+ P->consts = psi_plist_init((psi_plist_dtor) psi_const_free);
+ }
+ P->consts = psi_plist_add(P->consts, &cnst);
+
+}
+static inline void psi_parser_proc_add_decl(struct psi_parser *P, struct psi_decl *decl) {
+ assert(decl);
+
+ if (psi_decl_is_blacklisted(decl->func->var->name)) {
+ psi_decl_free(&decl);
+ return;
+ }
+
+ if (!P->decls) {
+ P->decls = psi_plist_init((psi_plist_dtor) psi_decl_free);
+ }
+ P->decls = psi_plist_add(P->decls, &decl);
+}
+static inline void psi_parser_proc_add_decl_extvars(struct psi_parser *P, struct psi_plist *list) {
+ assert(list);
+ if (!P->vars) {
+ P->vars = psi_plist_init((psi_plist_dtor) psi_decl_extvar_free);
+ }
+ P->vars = psi_plist_add_r(P->vars, psi_plist_count(list), psi_plist_eles(list));
+ free(list);
+}
+static inline void psi_parser_proc_add_impl(struct psi_parser *P, struct psi_impl *impl) {
+ assert(impl);
+ if (!P->impls) {
+ P->impls = psi_plist_init((psi_plist_dtor) psi_impl_free);
}
+ P->impls = psi_plist_add(P->impls, &impl);
}
-#line 62 "src/parser_proc.c"
-/**************** End of %include directives **********************************/
-/* These constants specify the various numeric values for terminal symbols
-** in a format understandable to "makeheaders". This section is blank unless
-** "lemon" is run with the "-m" command-line option.
-***************** Begin makeheaders token definitions *************************/
-/**************** End makeheaders token definitions ***************************/
-
-/* The next sections is a series of control #defines.
-** various aspects of the generated parser.
-** YYCODETYPE is the data type used to store the integer codes
-** that represent terminal and non-terminal symbols.
-** "unsigned char" is used if there are fewer than
-** 256 symbols. Larger types otherwise.
-** YYNOCODE is a number of type YYCODETYPE that is not used for
-** any terminal or nonterminal symbol.
-** YYFALLBACK If defined, this indicates that one or more tokens
-** (also known as: "terminal symbols") have fall-back
-** values which should be used if the original symbol
-** would not parse. This permits keywords to sometimes
-** be used as identifiers, for example.
-** YYACTIONTYPE is the data type used for "action codes" - numbers
-** that indicate what to do in response to the next
-** token.
-** ParseTOKENTYPE is the data type used for minor type for terminal
-** symbols. Background: A "minor type" is a semantic
-** value associated with a terminal or non-terminal
-** symbols. For example, for an "ID" terminal symbol,
-** the minor type might be the name of the identifier.
-** Each non-terminal can have a different minor type.
-** Terminal symbols all have the same minor type, though.
-** This macros defines the minor type for terminal
-** symbols.
-** YYMINORTYPE is the data type used for all minor types.
-** This is typically a union of many types, one of
-** which is ParseTOKENTYPE. The entry in the union
-** for terminal symbols is called "yy0".
-** YYSTACKDEPTH is the maximum depth of the parser's stack. If
-** zero the stack is dynamically sized using realloc()
-** ParseARG_SDECL A static variable declaration for the %extra_argument
-** ParseARG_PDECL A parameter declaration for the %extra_argument
-** ParseARG_STORE Code to store %extra_argument into yypParser
-** ParseARG_FETCH Code to extract %extra_argument from yypParser
-** YYERRORSYMBOL is the code number of the error symbol. If not
-** defined, then do no error processing.
-** YYNSTATE the combined number of states.
-** YYNRULE the number of rules in the grammar
-** YY_MAX_SHIFT Maximum value for shift actions
-** YY_MIN_SHIFTREDUCE Minimum value for shift-reduce actions
-** YY_MAX_SHIFTREDUCE Maximum value for shift-reduce actions
-** YY_MIN_REDUCE Maximum value for reduce actions
-** YY_ERROR_ACTION The yy_action[] code for syntax error
-** YY_ACCEPT_ACTION The yy_action[] code for accept
-** YY_NO_ACTION The yy_action[] code for no-op
-*/
-#ifndef INTERFACE
-# define INTERFACE 1
+/* end code */
+
+#line 206 "src/parser_proc.c" /* glr.c:264 */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#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 YYFREE
+# define YYFREE free
+#endif
+#ifndef YYMALLOC
+# define YYMALLOC malloc
+#endif
+#ifndef YYREALLOC
+# define YYREALLOC realloc
+#endif
+
+#define YYSIZEMAX ((size_t) -1)
+
+#ifdef __cplusplus
+ typedef bool yybool;
+#else
+ typedef unsigned char yybool;
+#endif
+#define yytrue 1
+#define yyfalse 0
+
+#ifndef YYSETJMP
+# include <setjmp.h>
+# define YYJMP_BUF jmp_buf
+# define YYSETJMP(Env) setjmp (Env)
+/* Pacify clang. */
+# define YYLONGJMP(Env, Val) (longjmp (Env, Val), YYASSERT (0))
+#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
+
+#if !defined _Noreturn \
+ && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112)
+# if defined _MSC_VER && 1200 <= _MSC_VER
+# define _Noreturn __declspec (noreturn)
+# else
+# define _Noreturn YY_ATTRIBUTE ((__noreturn__))
+# endif
+#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__ && 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
-/************* Begin control #defines *****************************************/
-#define YYCODETYPE unsigned char
-#define YYNOCODE 193
-#define YYACTIONTYPE unsigned short int
-#define YYWILDCARD 74
-#define ParseTOKENTYPE struct psi_token *
-typedef union {
- int yyinit;
- ParseTOKENTYPE yy0;
- struct psi_decl_union* yy15;
- struct psi_decl_abi* yy26;
- struct psi_impl_arg* yy34;
- struct psi_const* yy38;
- struct psi_let_calloc* yy45;
- struct psi_impl* yy49;
- struct psi_impl_func* yy56;
- struct psi_number* yy57;
- struct psi_let_func* yy67;
- bool yy89;
- struct psi_let_callback* yy120;
- struct psi_cpp_macro_decl* yy134;
- struct psi_impl_def_val* yy145;
- struct psi_free_exp* yy146;
- struct psi_decl_enum_item* yy169;
- struct psi_decl_type* yy172;
- struct psi_plist* yy179;
- struct psi_set_exp* yy180;
- struct psi_let_exp* yy200;
- struct psi_assert_stmt* yy201;
- struct psi_num_exp* yy207;
- struct psi_free_stmt* yy220;
- struct psi_token** yy238;
- struct psi_layout yy239;
- struct psi_plist * yy243;
- struct psi_impl_type* yy246;
- struct psi_decl_var* yy271;
- struct psi_cpp_exp* yy274;
- struct psi_decl* yy303;
- struct psi_let_stmt* yy319;
- struct psi_decl_arg* yy320;
- struct psi_decl_enum * yy323;
- struct psi_decl_struct* yy324;
- struct psi_return_stmt* yy342;
- struct psi_const_type* yy351;
- struct psi_set_stmt* yy358;
- struct psi_set_func* yy362;
- struct psi_layout* yy369;
- struct psi_impl_var* yy370;
- unsigned yy382;
-} YYMINORTYPE;
-#ifndef YYSTACKDEPTH
-#define YYSTACKDEPTH 100
+#ifndef YY_INITIAL_VALUE
+# define YY_INITIAL_VALUE(Value) /* Nothing. */
#endif
-#define ParseARG_SDECL struct psi_parser *P;
-#define ParseARG_PDECL ,struct psi_parser *P
-#define ParseARG_FETCH struct psi_parser *P = yypParser->P
-#define ParseARG_STORE yypParser->P = P
-#define YYFALLBACK 1
-#define YYNSTATE 233
-#define YYNRULE 191
-#define YY_MAX_SHIFT 232
-#define YY_MIN_SHIFTREDUCE 385
-#define YY_MAX_SHIFTREDUCE 575
-#define YY_MIN_REDUCE 576
-#define YY_MAX_REDUCE 766
-#define YY_ERROR_ACTION 767
-#define YY_ACCEPT_ACTION 768
-#define YY_NO_ACTION 769
-/************* End control #defines *******************************************/
-
-/* Define the yytestcase() macro to be a no-op if is not already defined
-** otherwise.
-**
-** Applications can choose to define yytestcase() in the %include section
-** to a macro that can assist in verifying code coverage. For production
-** code the yytestcase() macro should be turned off. But it is useful
-** for testing.
-*/
-#ifndef yytestcase
-# define yytestcase(X)
+
+
+#ifndef YYASSERT
+# define YYASSERT(Condition) ((void) ((Condition) || (abort (), 0)))
#endif
+/* YYFINAL -- State number of the termination state. */
+#define YYFINAL 160
+/* YYLAST -- Last index in YYTABLE. */
+#define YYLAST 7725
-/* Next are the tables used to determine what action to take based on the
-** current state and lookahead token. These tables are used to implement
-** functions that take a state number and lookahead value and return an
-** action integer.
-**
-** Suppose the action integer is N. Then the action is determined as
-** follows
-**
-** 0 <= N <= YY_MAX_SHIFT Shift N. That is, push the lookahead
-** token onto the stack and goto state N.
-**
-** N between YY_MIN_SHIFTREDUCE Shift to an arbitrary state then
-** and YY_MAX_SHIFTREDUCE reduce by rule N-YY_MIN_SHIFTREDUCE.
-**
-** N between YY_MIN_REDUCE Reduce by rule N-YY_MIN_REDUCE
-** and YY_MAX_REDUCE
-**
-** N == YY_ERROR_ACTION A syntax error has occurred.
-**
-** N == YY_ACCEPT_ACTION The parser accepts its input.
-**
-** N == YY_NO_ACTION No such action. Denotes unused
-** slots in the yy_action[] table.
-**
-** The action table is constructed as a single large table named yy_action[].
-** Given state S and lookahead X, the action is computed as either:
-**
-** (A) N = yy_action[ yy_shift_ofst[S] + X ]
-** (B) N = yy_default[S]
-**
-** The (A) formula is preferred. The B formula is used instead if:
-** (1) The yy_shift_ofst[S]+X value is out of range, or
-** (2) yy_lookahead[yy_shift_ofst[S]+X] is not equal to X, or
-** (3) yy_shift_ofst[S] equal YY_SHIFT_USE_DFLT.
-** (Implementation note: YY_SHIFT_USE_DFLT is chosen so that
-** YY_SHIFT_USE_DFLT+X will be out of range for all possible lookaheads X.
-** Hence only tests (1) and (2) need to be evaluated.)
-**
-** The formulas above are for computing the action when the lookahead is
-** a terminal symbol. If the lookahead is a non-terminal (as occurs after
-** a reduce action) then the yy_reduce_ofst[] array is used in place of
-** the yy_shift_ofst[] array and YY_REDUCE_USE_DFLT is used in place of
-** YY_SHIFT_USE_DFLT.
-**
-** The following are the tables generated in this section:
-**
-** yy_action[] A single table containing all actions.
-** yy_lookahead[] A table containing the lookahead for each entry in
-** yy_action. Used to detect hash collisions.
-** yy_shift_ofst[] For each state, the offset into yy_action for
-** shifting terminals.
-** yy_reduce_ofst[] For each state, the offset into yy_action for
-** shifting non-terminals after a reduce.
-** yy_default[] Default action for each state.
-**
-*********** Begin parsing tables **********************************************/
-#define YY_ACTTAB_COUNT (1132)
-static const YYACTIONTYPE yy_action[] = {
- /* 0 */ 482, 497, 520, 497, 497, 497, 497, 497, 497, 497,
- /* 10 */ 497, 497, 497, 104, 525, 519, 189, 136, 565, 519,
- /* 20 */ 521, 114, 17, 529, 531, 28, 28, 568, 25, 25,
- /* 30 */ 510, 127, 42, 52, 11, 10, 70, 104, 28, 28,
- /* 40 */ 173, 173, 173, 173, 173, 173, 173, 173, 173, 173,
- /* 50 */ 142, 568, 25, 25, 50, 94, 42, 52, 11, 10,
- /* 60 */ 70, 568, 511, 501, 505, 505, 505, 505, 505, 438,
- /* 70 */ 174, 59, 30, 30, 30, 30, 30, 30, 30, 30,
- /* 80 */ 30, 30, 30, 30, 30, 29, 51, 30, 30, 171,
- /* 90 */ 2, 101, 100, 99, 499, 436, 158, 37, 401, 401,
- /* 100 */ 584, 585, 478, 92, 77, 75, 74, 482, 497, 226,
- /* 110 */ 497, 497, 497, 497, 497, 497, 497, 497, 497, 497,
- /* 120 */ 120, 104, 526, 519, 144, 504, 166, 519, 441, 441,
- /* 130 */ 441, 441, 559, 28, 28, 568, 166, 166, 166, 166,
- /* 140 */ 166, 166, 166, 218, 493, 81, 28, 28, 173, 173,
- /* 150 */ 173, 173, 173, 173, 173, 173, 173, 173, 392, 146,
- /* 160 */ 485, 78, 94, 437, 440, 482, 497, 464, 497, 497,
- /* 170 */ 497, 497, 497, 497, 497, 497, 497, 497, 174, 68,
- /* 180 */ 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- /* 190 */ 68, 68, 482, 29, 68, 68, 232, 471, 204, 206,
- /* 200 */ 205, 503, 498, 46, 37, 513, 178, 502, 515, 478,
- /* 210 */ 92, 77, 75, 74, 183, 135, 517, 516, 462, 128,
- /* 220 */ 44, 514, 518, 482, 497, 463, 497, 497, 497, 497,
- /* 230 */ 497, 497, 497, 497, 497, 497, 467, 423, 457, 180,
- /* 240 */ 129, 560, 421, 453, 422, 149, 420, 419, 498, 46,
- /* 250 */ 569, 417, 493, 21, 470, 134, 101, 100, 99, 498,
- /* 260 */ 46, 91, 36, 418, 176, 161, 142, 478, 92, 77,
- /* 270 */ 75, 74, 118, 142, 437, 439, 149, 119, 94, 172,
- /* 280 */ 121, 482, 497, 162, 497, 497, 497, 497, 497, 497,
- /* 290 */ 497, 497, 497, 497, 478, 92, 77, 221, 493, 573,
- /* 300 */ 574, 575, 60, 768, 3, 3, 132, 219, 56, 493,
- /* 310 */ 126, 112, 152, 142, 101, 100, 99, 106, 215, 195,
- /* 320 */ 37, 454, 506, 73, 1, 478, 92, 77, 75, 74,
- /* 330 */ 170, 142, 124, 80, 79, 568, 87, 182, 186, 482,
- /* 340 */ 497, 207, 497, 497, 497, 497, 497, 497, 497, 497,
- /* 350 */ 497, 497, 447, 191, 142, 104, 88, 519, 18, 512,
- /* 360 */ 190, 519, 515, 122, 172, 498, 35, 28, 28, 568,
- /* 370 */ 517, 516, 204, 206, 205, 514, 518, 520, 37, 105,
- /* 380 */ 28, 28, 133, 478, 92, 77, 75, 74, 431, 464,
- /* 390 */ 445, 444, 185, 186, 76, 521, 108, 482, 497, 207,
- /* 400 */ 497, 497, 497, 497, 497, 497, 497, 497, 497, 497,
- /* 410 */ 203, 219, 98, 96, 103, 493, 172, 402, 90, 591,
- /* 420 */ 4, 472, 509, 498, 46, 142, 466, 29, 569, 520,
- /* 430 */ 204, 206, 205, 188, 186, 520, 37, 142, 142, 142,
- /* 440 */ 569, 478, 92, 77, 75, 74, 159, 521, 109, 143,
- /* 450 */ 432, 192, 94, 521, 110, 482, 497, 207, 497, 497,
- /* 460 */ 497, 497, 497, 497, 497, 497, 497, 497, 203, 219,
- /* 470 */ 98, 96, 194, 493, 153, 38, 90, 142, 520, 473,
- /* 480 */ 490, 498, 46, 142, 562, 40, 175, 489, 204, 206,
- /* 490 */ 205, 540, 8, 402, 37, 586, 521, 116, 139, 478,
- /* 500 */ 92, 77, 75, 74, 521, 115, 483, 528, 530, 148,
- /* 510 */ 85, 527, 542, 482, 497, 79, 497, 497, 497, 497,
- /* 520 */ 497, 497, 497, 497, 497, 497, 142, 219, 98, 96,
- /* 530 */ 156, 493, 550, 13, 142, 408, 547, 547, 547, 547,
- /* 540 */ 547, 547, 547, 547, 547, 547, 204, 206, 205, 549,
- /* 550 */ 7, 520, 548, 467, 520, 539, 6, 478, 92, 77,
- /* 560 */ 75, 74, 157, 520, 179, 23, 165, 569, 93, 521,
- /* 570 */ 111, 22, 521, 113, 470, 137, 561, 169, 167, 498,
- /* 580 */ 46, 521, 123, 104, 545, 519, 552, 448, 24, 519,
- /* 590 */ 412, 65, 565, 41, 520, 28, 28, 568, 465, 142,
- /* 600 */ 172, 456, 142, 125, 204, 206, 205, 224, 28, 28,
- /* 610 */ 166, 142, 521, 117, 455, 478, 92, 77, 75, 74,
- /* 620 */ 166, 166, 166, 166, 166, 166, 166, 396, 225, 493,
- /* 630 */ 616, 104, 449, 519, 616, 19, 512, 519, 214, 515,
- /* 640 */ 565, 45, 142, 28, 28, 568, 201, 517, 516, 202,
- /* 650 */ 488, 486, 514, 518, 481, 29, 28, 28, 166, 479,
- /* 660 */ 175, 138, 2, 47, 95, 48, 430, 97, 166, 166,
- /* 670 */ 166, 166, 166, 166, 166, 231, 231, 140, 521, 115,
- /* 680 */ 755, 528, 530, 141, 429, 527, 541, 130, 208, 428,
- /* 690 */ 230, 229, 389, 390, 228, 227, 49, 423, 217, 425,
- /* 700 */ 69, 64, 421, 29, 422, 461, 420, 419, 142, 460,
- /* 710 */ 433, 417, 398, 21, 147, 61, 71, 150, 164, 151,
- /* 720 */ 62, 63, 32, 418, 176, 30, 30, 30, 30, 30,
- /* 730 */ 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
- /* 740 */ 30, 30, 30, 507, 507, 507, 507, 30, 30, 30,
- /* 750 */ 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
- /* 760 */ 30, 30, 30, 30, 30, 572, 155, 219, 15, 25,
- /* 770 */ 25, 558, 34, 42, 52, 11, 10, 70, 557, 563,
- /* 780 */ 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
- /* 790 */ 30, 30, 30, 30, 30, 30, 30, 30, 536, 507,
- /* 800 */ 507, 507, 507, 507, 500, 535, 82, 551, 12, 14,
- /* 810 */ 43, 506, 537, 538, 30, 30, 30, 30, 30, 30,
- /* 820 */ 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
- /* 830 */ 30, 30, 168, 5, 53, 54, 27, 9, 452, 16,
- /* 840 */ 177, 451, 20, 181, 83, 84, 55, 26, 68, 68,
- /* 850 */ 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- /* 860 */ 68, 68, 68, 68, 68, 68, 184, 520, 569, 104,
- /* 870 */ 86, 519, 187, 57, 644, 519, 443, 442, 565, 165,
- /* 880 */ 522, 28, 28, 568, 72, 521, 113, 193, 89, 196,
- /* 890 */ 477, 198, 197, 199, 28, 28, 166, 554, 131, 552,
- /* 900 */ 200, 475, 496, 474, 495, 494, 166, 166, 166, 166,
- /* 910 */ 166, 166, 166, 172, 405, 142, 30, 30, 30, 30,
- /* 920 */ 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
- /* 930 */ 30, 30, 30, 30, 507, 507, 507, 507, 446, 616,
- /* 940 */ 427, 29, 68, 68, 68, 68, 68, 68, 68, 68,
- /* 950 */ 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- /* 960 */ 761, 209, 211, 212, 210, 102, 459, 31, 216, 416,
- /* 970 */ 222, 213, 410, 220, 457, 39, 410, 58, 223, 175,
- /* 980 */ 409, 399, 66, 66, 107, 33, 391, 388, 387, 386,
- /* 990 */ 507, 507, 507, 507, 507, 66, 66, 521, 115, 385,
- /* 1000 */ 528, 530, 578, 578, 527, 534, 578, 578, 578, 578,
- /* 1010 */ 578, 578, 578, 578, 578, 578, 578, 578, 578, 578,
- /* 1020 */ 154, 578, 578, 578, 578, 578, 578, 142, 578, 578,
- /* 1030 */ 578, 578, 578, 221, 578, 573, 574, 575, 60, 578,
- /* 1040 */ 578, 578, 67, 578, 520, 578, 175, 145, 578, 578,
- /* 1050 */ 578, 578, 578, 106, 215, 195, 165, 578, 578, 73,
- /* 1060 */ 1, 520, 521, 113, 521, 115, 520, 528, 530, 80,
- /* 1070 */ 79, 527, 163, 165, 160, 578, 552, 578, 165, 521,
- /* 1080 */ 113, 578, 578, 520, 521, 113, 578, 578, 578, 578,
- /* 1090 */ 172, 556, 142, 552, 142, 165, 555, 578, 552, 578,
- /* 1100 */ 578, 521, 113, 578, 578, 578, 578, 172, 578, 142,
- /* 1110 */ 578, 578, 172, 546, 142, 552, 578, 578, 578, 578,
- /* 1120 */ 578, 578, 578, 578, 578, 578, 578, 578, 578, 172,
- /* 1130 */ 578, 142,
+/* YYNTOKENS -- Number of terminals. */
+#define YYNTOKENS 140
+/* YYNNTS -- Number of nonterminals. */
+#define YYNNTS 141
+/* YYNRULES -- Number of rules. */
+#define YYNRULES 627
+/* YYNRULES -- Number of states. */
+#define YYNSTATES 937
+/* YYMAXRHS -- Maximum number of symbols on right-hand side of rule. */
+#define YYMAXRHS 16
+/* YYMAXLEFT -- Maximum number of symbols to the left of a handle
+ accessed by $0, $-1, etc., in any rule. */
+#define YYMAXLEFT 0
+
+/* YYTRANSLATE(X) -- Bison symbol number corresponding to X. */
+#define YYUNDEFTOK 2
+#define YYMAXUTOK 394
+
+#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,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 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
};
-static const YYCODETYPE yy_lookahead[] = {
- /* 0 */ 2, 3, 130, 5, 6, 7, 8, 9, 10, 11,
- /* 10 */ 12, 13, 14, 14, 15, 16, 177, 178, 23, 20,
- /* 20 */ 148, 149, 23, 151, 152, 26, 27, 28, 62, 63,
- /* 30 */ 143, 144, 66, 67, 68, 69, 70, 14, 39, 40,
- /* 40 */ 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
- /* 50 */ 178, 28, 62, 63, 167, 57, 66, 67, 68, 69,
- /* 60 */ 70, 28, 143, 97, 15, 16, 17, 18, 19, 75,
- /* 70 */ 71, 72, 22, 23, 24, 25, 26, 27, 28, 29,
- /* 80 */ 30, 31, 32, 33, 34, 86, 167, 37, 38, 191,
- /* 90 */ 96, 93, 94, 95, 137, 97, 14, 99, 74, 74,
- /* 100 */ 76, 76, 104, 105, 106, 107, 108, 2, 3, 85,
- /* 110 */ 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
- /* 120 */ 171, 14, 15, 16, 175, 167, 41, 20, 1, 2,
- /* 130 */ 3, 4, 75, 26, 27, 28, 51, 52, 53, 54,
- /* 140 */ 55, 56, 57, 14, 187, 88, 39, 40, 41, 42,
- /* 150 */ 43, 44, 45, 46, 47, 48, 49, 50, 169, 170,
- /* 160 */ 5, 172, 57, 116, 117, 2, 3, 130, 5, 6,
- /* 170 */ 7, 8, 9, 10, 11, 12, 13, 14, 71, 22,
- /* 180 */ 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
- /* 190 */ 33, 34, 2, 86, 37, 38, 168, 132, 93, 94,
- /* 200 */ 95, 167, 137, 138, 99, 147, 101, 167, 150, 104,
- /* 210 */ 105, 106, 107, 108, 177, 178, 158, 159, 130, 131,
- /* 220 */ 57, 163, 164, 2, 3, 130, 5, 6, 7, 8,
- /* 230 */ 9, 10, 11, 12, 13, 14, 14, 113, 14, 128,
- /* 240 */ 165, 166, 118, 132, 120, 142, 122, 123, 137, 138,
- /* 250 */ 28, 127, 187, 129, 132, 133, 93, 94, 95, 137,
- /* 260 */ 138, 106, 99, 139, 140, 130, 178, 104, 105, 106,
- /* 270 */ 107, 108, 171, 178, 116, 117, 142, 171, 57, 176,
- /* 280 */ 171, 2, 3, 130, 5, 6, 7, 8, 9, 10,
- /* 290 */ 11, 12, 13, 14, 104, 105, 106, 73, 187, 75,
- /* 300 */ 76, 77, 78, 179, 180, 181, 130, 183, 86, 187,
- /* 310 */ 176, 171, 101, 178, 93, 94, 95, 93, 94, 95,
- /* 320 */ 99, 14, 111, 99, 100, 104, 105, 106, 107, 108,
- /* 330 */ 142, 178, 171, 109, 110, 28, 57, 177, 178, 2,
- /* 340 */ 3, 113, 5, 6, 7, 8, 9, 10, 11, 12,
- /* 350 */ 13, 14, 124, 125, 178, 14, 128, 16, 146, 147,
- /* 360 */ 132, 20, 150, 171, 176, 137, 138, 26, 27, 28,
- /* 370 */ 158, 159, 93, 94, 95, 163, 164, 130, 99, 88,
- /* 380 */ 39, 40, 142, 104, 105, 106, 107, 108, 97, 130,
- /* 390 */ 130, 130, 177, 178, 57, 148, 149, 2, 3, 113,
- /* 400 */ 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
- /* 410 */ 124, 183, 184, 185, 14, 187, 176, 74, 132, 76,
- /* 420 */ 134, 135, 141, 137, 138, 178, 14, 86, 28, 130,
- /* 430 */ 93, 94, 95, 177, 178, 130, 99, 178, 178, 178,
- /* 440 */ 28, 104, 105, 106, 107, 108, 162, 148, 149, 114,
- /* 450 */ 115, 141, 57, 148, 149, 2, 3, 113, 5, 6,
- /* 460 */ 7, 8, 9, 10, 11, 12, 13, 14, 124, 183,
- /* 470 */ 184, 185, 121, 187, 87, 88, 132, 178, 130, 135,
- /* 480 */ 187, 137, 138, 178, 87, 88, 130, 187, 93, 94,
- /* 490 */ 95, 87, 88, 74, 99, 76, 148, 149, 178, 104,
- /* 500 */ 105, 106, 107, 108, 148, 149, 189, 151, 152, 170,
- /* 510 */ 57, 155, 156, 2, 3, 110, 5, 6, 7, 8,
- /* 520 */ 9, 10, 11, 12, 13, 14, 178, 183, 184, 185,
- /* 530 */ 176, 187, 87, 88, 178, 14, 41, 42, 43, 44,
- /* 540 */ 45, 46, 47, 48, 49, 50, 93, 94, 95, 87,
- /* 550 */ 88, 130, 57, 14, 130, 87, 88, 104, 105, 106,
- /* 560 */ 107, 108, 140, 130, 87, 88, 142, 28, 57, 148,
- /* 570 */ 149, 86, 148, 149, 132, 133, 166, 153, 154, 137,
- /* 580 */ 138, 148, 149, 14, 160, 16, 162, 87, 88, 20,
- /* 590 */ 87, 88, 23, 176, 130, 26, 27, 28, 126, 178,
- /* 600 */ 176, 126, 178, 178, 93, 94, 95, 86, 39, 40,
- /* 610 */ 41, 178, 148, 149, 126, 104, 105, 106, 107, 108,
- /* 620 */ 51, 52, 53, 54, 55, 56, 57, 87, 88, 187,
- /* 630 */ 92, 14, 126, 16, 96, 146, 147, 20, 92, 150,
- /* 640 */ 23, 119, 178, 26, 27, 28, 92, 158, 159, 136,
- /* 650 */ 2, 190, 163, 164, 2, 86, 39, 40, 41, 188,
- /* 660 */ 130, 178, 96, 116, 119, 116, 182, 119, 51, 52,
- /* 670 */ 53, 54, 55, 56, 57, 64, 65, 14, 148, 149,
- /* 680 */ 111, 151, 152, 14, 182, 155, 156, 157, 14, 182,
- /* 690 */ 79, 80, 81, 82, 83, 84, 119, 113, 102, 14,
- /* 700 */ 89, 90, 118, 86, 120, 186, 122, 123, 178, 186,
- /* 710 */ 115, 127, 14, 129, 173, 92, 98, 87, 101, 111,
- /* 720 */ 92, 92, 86, 139, 140, 21, 22, 23, 24, 25,
- /* 730 */ 26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
- /* 740 */ 36, 37, 38, 1, 2, 3, 4, 21, 22, 23,
- /* 750 */ 24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
- /* 760 */ 34, 35, 36, 37, 38, 181, 20, 183, 96, 62,
- /* 770 */ 63, 75, 86, 66, 67, 68, 69, 70, 75, 75,
- /* 780 */ 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
- /* 790 */ 31, 32, 33, 34, 35, 36, 37, 38, 75, 57,
- /* 800 */ 58, 59, 60, 61, 97, 75, 98, 87, 98, 88,
- /* 810 */ 86, 111, 87, 87, 21, 22, 23, 24, 25, 26,
- /* 820 */ 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
- /* 830 */ 37, 38, 87, 86, 86, 86, 86, 98, 75, 96,
- /* 840 */ 87, 75, 86, 14, 87, 87, 86, 88, 21, 22,
- /* 850 */ 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
- /* 860 */ 33, 34, 35, 36, 37, 38, 14, 130, 28, 14,
- /* 870 */ 87, 16, 14, 86, 86, 20, 75, 75, 23, 142,
- /* 880 */ 87, 26, 27, 28, 98, 148, 149, 20, 14, 16,
- /* 890 */ 87, 16, 88, 86, 39, 40, 41, 160, 161, 162,
- /* 900 */ 92, 75, 14, 75, 14, 14, 51, 52, 53, 54,
- /* 910 */ 55, 56, 57, 176, 87, 178, 21, 22, 23, 24,
- /* 920 */ 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
- /* 930 */ 35, 36, 37, 38, 1, 2, 3, 4, 14, 96,
- /* 940 */ 87, 86, 21, 22, 23, 24, 25, 26, 27, 28,
- /* 950 */ 29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
- /* 960 */ 0, 16, 16, 86, 88, 14, 103, 98, 16, 75,
- /* 970 */ 14, 92, 16, 19, 14, 86, 20, 96, 14, 130,
- /* 980 */ 87, 14, 26, 27, 86, 14, 14, 14, 14, 19,
- /* 990 */ 57, 58, 59, 60, 61, 39, 40, 148, 149, 76,
- /* 1000 */ 151, 152, 192, 192, 155, 156, 192, 192, 192, 192,
- /* 1010 */ 192, 192, 192, 192, 192, 192, 192, 192, 192, 192,
- /* 1020 */ 87, 192, 192, 192, 192, 192, 192, 178, 192, 192,
- /* 1030 */ 192, 192, 192, 73, 192, 75, 76, 77, 78, 192,
- /* 1040 */ 192, 192, 86, 192, 130, 192, 130, 91, 192, 192,
- /* 1050 */ 192, 192, 192, 93, 94, 95, 142, 192, 192, 99,
- /* 1060 */ 100, 130, 148, 149, 148, 149, 130, 151, 152, 109,
- /* 1070 */ 110, 155, 156, 142, 160, 192, 162, 192, 142, 148,
- /* 1080 */ 149, 192, 192, 130, 148, 149, 192, 192, 192, 192,
- /* 1090 */ 176, 160, 178, 162, 178, 142, 160, 192, 162, 192,
- /* 1100 */ 192, 148, 149, 192, 192, 192, 192, 176, 192, 178,
- /* 1110 */ 192, 192, 176, 160, 178, 162, 192, 192, 192, 192,
- /* 1120 */ 192, 192, 192, 192, 192, 192, 192, 192, 192, 176,
- /* 1130 */ 192, 178,
+
+#if YYDEBUG
+/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
+static const unsigned short int yyrline[] =
+{
+ 0, 433, 433, 433, 433, 433, 433, 433, 433, 433,
+ 433, 433, 433, 433, 433, 433, 433, 433, 433, 433,
+ 434, 434, 434, 434, 435, 435, 435, 435, 435, 435,
+ 435, 435, 435, 435, 435, 435, 435, 435, 435, 435,
+ 435, 435, 435, 436, 436, 436, 436, 436, 436, 436,
+ 436, 436, 436, 436, 436, 436, 436, 436, 436, 436,
+ 436, 436, 436, 436, 436, 436, 436, 436, 436, 436,
+ 436, 436, 436, 436, 436, 436, 436, 436, 436, 436,
+ 436, 436, 436, 436, 436, 436, 436, 436, 436, 436,
+ 436, 436, 436, 436, 436, 436, 436, 436, 436, 436,
+ 436, 436, 436, 436, 436, 436, 436, 436, 436, 436,
+ 436, 436, 436, 436, 436, 436, 436, 436, 436, 436,
+ 436, 436, 436, 436, 436, 436, 436, 436, 436, 436,
+ 436, 436, 436, 436, 436, 436, 436, 436, 436, 436,
+ 436, 436, 436, 436, 436, 436, 436, 436, 436, 436,
+ 436, 436, 436, 436, 436, 436, 436, 436, 436, 436,
+ 436, 437, 437, 437, 437, 437, 437, 437, 437, 437,
+ 437, 437, 437, 437, 437, 437, 437, 437, 437, 437,
+ 437, 437, 437, 437, 437, 437, 437, 437, 437, 437,
+ 437, 437, 437, 437, 437, 437, 437, 437, 437, 437,
+ 437, 437, 437, 437, 437, 437, 437, 437, 437, 437,
+ 437, 437, 437, 437, 437, 437, 437, 437, 437, 437,
+ 437, 437, 437, 437, 437, 437, 437, 437, 437, 437,
+ 437, 437, 437, 437, 437, 437, 437, 437, 437, 437,
+ 437, 437, 437, 437, 437, 437, 437, 437, 437, 437,
+ 437, 437, 437, 437, 437, 437, 437, 437, 437, 437,
+ 437, 437, 437, 437, 437, 437, 437, 437, 437, 437,
+ 437, 437, 437, 437, 437, 437, 437, 441, 442, 445,
+ 446, 449, 450, 451, 452, 458, 462, 465, 468, 471,
+ 477, 480, 483, 486, 489, 495, 501, 504, 510, 533,
+ 537, 541, 546, 550, 554, 558, 565, 566, 570, 571,
+ 575, 576, 577, 581, 582, 586, 587, 591, 592, 593,
+ 597, 598, 602, 607, 612, 617, 626, 629, 632, 633,
+ 639, 644, 652, 655, 659, 663, 670, 674, 678, 682,
+ 687, 698, 709, 714, 719, 723, 729, 739, 742, 746,
+ 750, 756, 763, 767, 771, 778, 779, 780, 784, 798,
+ 804, 807, 813, 816, 822, 823, 831, 842, 851, 863,
+ 864, 868, 878, 887, 899, 900, 903, 909, 910, 914,
+ 918, 922, 927, 932, 940, 941, 942, 945, 951, 954,
+ 957, 963, 964, 968, 971, 974, 980, 983, 986, 994,
+ 1006, 1009, 1012, 1015, 1022, 1025, 1035, 1038, 1041, 1044,
+ 1045, 1046, 1050, 1053, 1056, 1067, 1074, 1084, 1087, 1093,
+ 1096, 1103, 1134, 1137, 1143, 1146, 1152, 1155, 1158, 1161,
+ 1167, 1171, 1172, 1176, 1177, 1181, 1182, 1189, 1190, 1194,
+ 1201, 1212, 1219, 1227, 1251, 1279, 1286, 1297, 1343, 1384,
+ 1399, 1402, 1405, 1411, 1414, 1420, 1435, 1438, 1467, 1475,
+ 1503, 1508, 1516, 1526, 1536, 1539, 1543, 1549, 1563, 1580,
+ 1583, 1589, 1596, 1606, 1613, 1616, 1622, 1627, 1635, 1639,
+ 1643, 1647, 1651, 1655, 1662, 1666, 1670, 1674, 1678, 1682,
+ 1688, 1692, 1699, 1702, 1714, 1718, 1722, 1729, 1742, 1755,
+ 1768, 1771, 1778, 1779, 1783, 1786, 1789, 1792, 1798, 1802,
+ 1809, 1812, 1815, 1830, 1831, 1832, 1833, 1837, 1840, 1846,
+ 1847, 1853, 1856, 1862, 1863, 1867, 1868, 1878, 1881, 1888,
+ 1893, 1898, 1908, 1911, 1917, 1920, 1926, 1933, 1940, 1947,
+ 1948, 1952, 1953, 1954, 1955, 1959, 1960, 1961, 1962, 1963,
+ 1967, 1970, 1976, 1979, 1982, 1985, 1988, 1994, 1998, 2006,
+ 2007, 2011, 2018, 2021, 2024, 2027, 2031, 2034, 2040, 2044,
+ 2052, 2059, 2064, 2072, 2080, 2081, 2082, 2083, 2084, 2085,
+ 2086, 2087, 2088, 2089, 2093, 2096, 2102, 2105, 2111, 2112,
+ 2116, 2119, 2125, 2128, 2134, 2141, 2145, 2152, 2155, 2158,
+ 2164, 2171, 2174, 2177, 2184, 2189, 2197, 2198, 2199, 2200,
+ 2201, 2202, 2203, 2204, 2208, 2211, 2217, 2220, 2226, 2233,
+ 2234, 2238, 2245, 2248, 2254, 2262, 2265, 2271
};
-#define YY_SHIFT_USE_DFLT (1132)
-#define YY_SHIFT_COUNT (232)
-#define YY_SHIFT_MIN (-34)
-#define YY_SHIFT_MAX (974)
-static const short yy_shift_ofst[] = {
- /* 0 */ 224, 163, 221, 960, -2, 569, -1, 617, -1, -1,
- /* 10 */ -1, 855, 855, 855, 855, -10, -10, 107, -34, 707,
- /* 20 */ 279, 337, 279, 105, 395, 341, 341, 341, 341, 341,
- /* 30 */ 341, 341, 933, 24, 23, 23, 453, 511, 742, 956,
- /* 40 */ 23, 23, 23, 23, 307, -6, 23, 23, 23, -6,
- /* 50 */ -5, -5, 82, -5, -5, 33, 33, 33, 129, 495,
- /* 60 */ 611, 742, 742, 742, 956, 956, 956, 956, 956, 956,
- /* 70 */ 85, 49, 49, 127, 190, 190, 307, 155, 25, -5,
- /* 80 */ 405, 82, -5, 485, 485, 33, 485, 33, 485, 546,
- /* 90 */ 554, 648, 652, 33, 33, 566, 546, 566, 546, 663,
- /* 100 */ 669, 674, 546, 596, 596, 129, 685, 698, 704, 726,
- /* 110 */ 759, 793, 827, 895, 895, 895, 895, 895, 921, 921,
- /* 120 */ 921, 921, 921, 50, 157, 222, 211, 387, 397, 57,
- /* 130 */ 404, 445, 462, 468, 477, 400, 412, 500, 539, 412,
- /* 140 */ 538, 538, 400, 291, 503, 521, 343, 540, 419, 618,
- /* 150 */ 623, 630, 608, 628, 629, 636, 746, 672, 686, 696,
- /* 160 */ 703, 723, 708, 730, 720, 710, 724, 721, 725, 745,
- /* 170 */ 747, 748, 700, 749, 750, 739, 743, 763, 753, 766,
- /* 180 */ 756, 757, 829, 760, 758, 852, 840, 783, 858, 787,
- /* 190 */ 788, 801, 802, 786, 867, 874, 803, 873, 804, 875,
- /* 200 */ 807, 808, 826, 828, 888, 890, 891, 924, 843, 853,
- /* 210 */ 945, 876, 946, 877, 879, 951, 863, 952, 869, 881,
- /* 220 */ 894, 954, 889, 893, 964, 967, 898, 971, 972, 973,
- /* 230 */ 974, 970, 923,
+#endif
+
+#if YYDEBUG || YYERROR_VERBOSE || 1
+/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
+ First, the terminals, then, starting at YYNTOKENS, nonterminals. */
+static const char *const yytname[] =
+{
+ "\"end of file\"", "error", "$undefined", "BOOL", "CHAR", "SHORT",
+ "INT", "SIGNED", "UNSIGNED", "LONG", "FLOAT", "DOUBLE", "STRING",
+ "MIXED", "ARRAY", "OBJECT", "CALLABLE", "VOID", "ZVAL", "NULL", "TRUE",
+ "FALSE", "NAME", "NSNAME", "DOLLAR_NAME", "NUMBER", "QUOTED_STRING",
+ "QUOTED_CHAR", "SIZEOF", "VOLATILE", "\"end of line\"", "\";\"", "\"(\"",
+ "\")\"", "\",\"", "\":\"", "\"{\"", "\"}\"", "\"[\"", "\"]\"", "\"=\"",
+ "\"#\"", "\"|\"", "\"^\"", "\"&\"", "\"<<\"", "\">>\"", "\"+\"", "\"-\"",
+ "\"*\"", "\"/\"", "\"%\"", "\"<\"", "\">\"", "\">=\"", "\"<=\"",
+ "\"||\"", "\"&&\"", "\"==\"", "\"!=\"", "\"~\"", "\"!\"", "\".\"",
+ "\"\\\\\"", "\"...\"", "\"?\"", "PRAGMA", "PRAGMA_ONCE", "LINE", "ERROR",
+ "WARNING", "IF", "IFDEF", "IFNDEF", "ELSE", "ELIF", "ENDIF", "DEFINE",
+ "DEFINED", "UNDEF", "IMPORT", "INCLUDE", "INCLUDE_NEXT", "TYPEDEF",
+ "STRUCT", "UNION", "ENUM", "CONST", "LIB", "STATIC", "CALLBACK",
+ "FUNCTION", "LET", "SET", "TEMP", "FREE", "RETURN", "AS", "PRE_ASSERT",
+ "POST_ASSERT", "BOOLVAL", "INTVAL", "STRVAL", "PATHVAL", "STRLEN",
+ "FLOATVAL", "ARRVAL", "OBJVAL", "COUNT", "CALLOC", "TO_BOOL", "TO_INT",
+ "TO_STRING", "TO_FLOAT", "TO_ARRAY", "TO_OBJECT", "COMMENT",
+ "WHITESPACE", "NO_WHITESPACE", "CPP_HEADER", "CPP_ATTRIBUTE",
+ "CPP_EXTENSION", "CPP_PASTE", "CPP_INLINE", "CPP_RESTRICT", "CPP_ASM",
+ "BSLASH", "LONG_DOUBLE", "INT8", "UINT8", "INT16", "UINT16", "INT32",
+ "UINT32", "INT64", "UINT64", "INT128", "UINT128", "BINARY", "UNARY",
+ "$accept", "binary_op_token", "unary_op_token", "name_token",
+ "any_noeol_token", "any_nobrace_token", "file", "blocks", "block", "lib",
+ "cpp", "cpp_exp", "cpp_ignored_token", "cpp_message_token",
+ "cpp_include_token", "cpp_header_token", "cpp_no_arg_token",
+ "cpp_name_arg_token", "cpp_exp_arg_token", "cpp_macro_decl",
+ "cpp_macro_sig", "cpp_macro_sig_args", "cpp_macro_decl_tokens",
+ "cpp_macro_decl_token_list", "cpp_macro_exp", "cpp_macro_call_args",
+ "cpp_macro_call_arg_list", "constant", "impl_def_val",
+ "impl_def_val_token", "decl_typedef", "typedef", "typedef_anon",
+ "typedef_decl", "typedef_anon_decl", "qualified_decl_type",
+ "decl_type_qualifier_token", "decl_type", "decl_type_complex",
+ "decl_type_simple", "decl_real_type", "int_signed", "int_width",
+ "decl_int_type", "int_signed_types", "signed_short_types",
+ "signed_long_types", "int_width_types", "decl_stmt", "decl_asm",
+ "quoted_strings", "decl_extvar_stmt", "decl_extvar_list", "decl_vars",
+ "ignored_decl", "ignored_decl_body", "ignored_decl_body_stmts",
+ "ignored_decl_body_stmt", "decl", "decl_body", "decl_func_body",
+ "decl_functor_body", "decl_anon_functor_body", "decl_functor",
+ "decl_anon_functor", "decl_func", "decl_args", "decl_arg_list",
+ "decl_anon_arg", "decl_arg", "decl_var", "decl_union", "decl_struct",
+ "decl_struct_args", "struct_args_block", "struct_args",
+ "struct_arg_var_list", "decl_vars_with_layout", "decl_enum",
+ "decl_enum_items", "decl_enum_item", "num_exp", "number", "sizeof",
+ "sizeof_body", "sizeof_body_notypes", "enum_name", "union_name",
+ "struct_name", "optional_name", "optional_comma", "decl_layout",
+ "align_and_size", "array_size", "array_qualifier_token", "indirection",
+ "pointers", "asterisks", "asterisk", "pointer_qualifier_token", "impl",
+ "impl_func", "impl_args", "impl_arg", "impl_var", "impl_type",
+ "impl_type_restricted", "impl_type_token", "impl_type_restricted_token",
+ "impl_type_extended_token", "impl_stmts", "impl_stmt", "let_stmt",
+ "let_exp", "let_exp_byref", "let_exp_assign", "let_calloc",
+ "let_callback", "let_func", "let_func_token", "let_func_exps",
+ "let_exps", "callback_rval", "callback_arg_list", "callback_args",
+ "return_stmt", "return_exp", "call_decl_vars", "set_stmt", "set_exp",
+ "set_func", "set_func_token", "set_func_exps", "set_exps", "assert_stmt",
+ "assert_stmt_token", "free_stmt", "free_exps", "free_exp", "reference",
+ "byref", YY_NULLPTR
};
-#define YY_REDUCE_USE_DFLT (-162)
-#define YY_REDUCE_COUNT (107)
-#define YY_REDUCE_MIN (-161)
-#define YY_REDUCE_MAX (953)
-static const short yy_reduce_ofst[] = {
- /* 0 */ 124, 228, 286, 584, 344, 424, 530, 737, 356, 849,
- /* 10 */ 916, 914, 931, 936, 953, 212, 489, -128, 58, 58,
- /* 20 */ 122, 111, 442, 65, 65, 247, 299, 305, 348, 421,
- /* 30 */ 433, 464, -113, -11, 88, 37, -43, -43, -81, -51,
- /* 40 */ 95, 135, 153, 176, -161, 47, 259, 260, 261, 158,
- /* 50 */ 103, 134, 75, 188, 240, 160, 215, 256, 335, -102,
- /* 60 */ 28, -42, 34, 40, 101, 106, 109, 140, 161, 192,
- /* 70 */ 284, 281, 310, 351, 293, 300, 320, 317, 339, 354,
- /* 80 */ 422, 410, 417, 472, 475, 425, 488, 320, 506, 522,
- /* 90 */ 513, 461, 471, 483, 320, 547, 545, 549, 548, 484,
- /* 100 */ 502, 507, 577, 519, 523, 595, 507, 541,
+#endif
+
+#define YYPACT_NINF -717
+#define YYTABLE_NINF -626
+
+ /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
+ STATE-NUM. */
+static const short int yypact[] =
+{
+ 713, -717, -717, -717, -717, -717, 54, -717, -717, -717,
+ 501, -717, -717, -717, 741, 1409, 7459, 7459, 7459, 120,
+ 26, 236, 23, -717, 5541, 1667, 71, 713, -717, -717,
+ -717, -717, -717, 6717, 597, -717, -717, -717, -717, 174,
+ 162, -717, -717, -717, -717, -40, -717, -717, 84, 64,
+ 87, -717, -717, -717, -717, 91, -717, 97, -717, -717,
+ -717, 7459, 7459, 7459, -717, 1667, -717, 79, -717, -717,
+ -717, -717, -717, -717, -717, -717, -717, -717, -717, -717,
+ 884, -717, -717, -717, -717, 123, 1010, 1010, 25, -717,
+ 1010, 6491, 7459, 7459, 1780, 125, -717, -717, -717, 129,
+ 7459, 141, 141, -717, -717, -717, 5474, -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, 131, -717, -717,
+ 131, 128, -717, -717, -717, -717, -717, 158, -717, 155,
+ 1667, 152, 161, -717, 171, -717, 1893, 1409, -40, 152,
+ -717, -717, 27, 164, -717, -717, 168, 7459, 4, -717,
+ -717, -717, 222, -717, 73, -717, -717, -717, 199, -717,
+ 198, 207, 2006, 2006, 7459, 217, -717, -717, -717, 152,
+ 6943, 232, -717, 1519, -717, -717, -717, -717, -717, -717,
+ -717, -717, 1632, -717, -717, -717, -717, 1745, 1858, -717,
+ -717, -717, 1971, -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, 2084, 2197, 2310, 2423, 2536,
+ -717, -717, -717, -717, -717, -717, -717, -717, -717, -717,
+ -717, -717, -717, -717, -717, 2649, -717, 2762, 2875, 2988,
+ 3101, 3214, 3327, -717, 3440, -717, -717, 3553, 3666, 3779,
+ 3892, 4005, 4118, 4231, 4344, 4457, 4570, 4683, 4796, 4909,
+ 5022, 5135, 5248, -717, -717, -717, -717, -717, -717, -717,
+ 5361, 1010, -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,
+ 1010, -717, -717, -717, -717, -717, -717, -717, 80, 6491,
+ -717, -717, -717, -717, 7056, 6491, 201, 7588, -717, 139,
+ -717, 177, -717, -717, -717, -717, 241, 243, 243, 52,
+ 52, 245, -717, 152, 1262, -717, 217, 251, 264, 283,
+ -717, -717, -717, -717, 1376, -717, 253, 164, -717, -717,
+ -717, -717, -717, 311, -717, -717, 292, -717, 202, 6717,
+ -717, 287, 216, 290, -717, -717, 218, 285, 294, -717,
+ 6943, 6152, 6943, 7459, 6943, -717, -717, 43, -717, -717,
+ -717, -717, -717, 6378, -717, -717, 296, -717, 7459, -717,
+ -717, 299, 7588, 300, -717, -717, -717, -717, 567, 312,
+ -717, 6822, 7459, -717, -717, 6491, -717, -717, -717, -717,
+ -717, -717, -717, -717, -717, -717, -717, -717, -717, -717,
+ -717, -717, -717, -717, 6491, 6491, 314, 1497, 6943, 6943,
+ -717, -717, -717, -717, 5700, -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, -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, 1136, -717, 56, 258, -717, -717,
+ -717, -717, -717, -717, -717, 5587, -717, -717, 6378, -717,
+ 7564, -717, -717, 309, 7169, -717, -717, -717, 68, 317,
+ 2006, 164, 291, 1667, 164, 297, 6378, 7459, 319, 318,
+ 320, 7612, 324, 323, -717, 328, 341, 326, 335, 112,
+ -717, 338, 340, -717, -717, -717, 6705, 6943, 7228, -717,
+ 253, 339, -717, -717, -717, 342, 7588, 345, 346, 7322,
+ -717, 348, 1780, 344, -717, -717, 6604, 408, 7459, 141,
+ 141, -717, -717, 176, -717, -717, 350, -717, 300, 7612,
+ -717, -717, -717, -717, -717, -717, -717, -717, 349, 233,
+ -717, 23, -717, -717, -717, 44, 70, 76, 6924, -717,
+ -717, 6378, 6378, -717, 253, 249, -717, 253, 255, -717,
+ 352, -717, -717, 353, 7612, -717, -717, 5813, -717, 6152,
+ -717, 6943, -717, 23, 6943, -717, 7459, 7341, -717, -717,
+ -717, -717, -717, 356, 357, -717, -717, -717, -717, 6491,
+ 6491, 363, -717, 51, 365, -717, 344, 243, 243, -717,
+ 284, 367, 284, 343, 6378, -717, 7540, -717, 7459, 2006,
+ -717, 6830, 164, 347, 164, 164, 192, 295, 237, 371,
+ 7612, -717, -717, -717, -717, 374, 6265, -717, 375, 6943,
+ 271, -717, 377, 296, 387, 1010, 7400, 7588, 7636, 397,
+ 388, 392, 6943, 395, 365, 6943, 6943, -717, 284, -717,
+ 23, 5700, -717, 6378, 396, 399, -717, -717, 400, -717,
+ -717, 371, -717, -717, -717, 7341, -717, 406, 6378, 23,
+ -717, 5926, 407, 411, -717, 331, -717, -717, -717, 410,
+ 404, 419, 344, 414, -717, 418, -717, 40, -717, 7660,
+ 425, 427, 164, 428, 23, 7160, 424, 435, -717, 436,
+ -717, -717, 104, -717, 439, 440, -717, 6943, -717, 451,
+ 2006, 449, -717, 385, 453, 6378, 5813, 454, -717, 6152,
+ -717, -717, 456, 461, 464, 344, 458, 463, 2006, 459,
+ 6039, 7047, 318, -717, -717, -717, 465, 6265, -717, -717,
+ 466, 468, -717, 462, 469, 471, 481, 482, 480, -717,
+ -717, 5813, -717, 494, -717, 284, 489, 164, 23, 492,
+ 6152, -717, 493, -717, 2006, -717, 490, -717, -717, -717,
+ 495, 6039, 164, 499, -717, 500, -717
};
-static const YYACTIONTYPE yy_default[] = {
- /* 0 */ 767, 767, 767, 767, 767, 734, 767, 755, 767, 767,
- /* 10 */ 767, 755, 755, 755, 755, 767, 767, 767, 767, 767,
- /* 20 */ 659, 767, 659, 767, 767, 767, 767, 767, 767, 767,
- /* 30 */ 767, 767, 767, 767, 767, 757, 767, 767, 767, 604,
- /* 40 */ 767, 767, 767, 767, 757, 767, 767, 767, 767, 767,
- /* 50 */ 755, 755, 767, 755, 755, 757, 757, 757, 767, 767,
- /* 60 */ 767, 767, 767, 767, 767, 767, 767, 767, 767, 767,
- /* 70 */ 767, 767, 767, 767, 683, 682, 767, 675, 767, 755,
- /* 80 */ 767, 767, 755, 767, 767, 767, 767, 660, 767, 617,
- /* 90 */ 667, 678, 671, 767, 767, 767, 617, 767, 617, 615,
- /* 100 */ 615, 615, 617, 649, 649, 767, 615, 588, 767, 767,
- /* 110 */ 767, 767, 767, 744, 724, 723, 715, 625, 595, 606,
- /* 120 */ 605, 597, 594, 714, 598, 767, 767, 767, 767, 767,
- /* 130 */ 767, 767, 767, 767, 767, 758, 758, 767, 767, 767,
- /* 140 */ 686, 685, 767, 767, 767, 767, 767, 767, 767, 699,
- /* 150 */ 767, 767, 767, 767, 767, 767, 767, 767, 767, 767,
- /* 160 */ 767, 767, 767, 767, 767, 767, 767, 735, 767, 767,
- /* 170 */ 767, 767, 767, 767, 767, 711, 767, 767, 767, 767,
- /* 180 */ 767, 767, 767, 767, 767, 767, 758, 767, 767, 767,
- /* 190 */ 641, 767, 767, 767, 767, 767, 767, 767, 767, 767,
- /* 200 */ 767, 767, 767, 767, 767, 767, 767, 767, 687, 767,
- /* 210 */ 767, 767, 767, 767, 767, 767, 767, 767, 626, 767,
- /* 220 */ 767, 767, 602, 767, 767, 767, 767, 767, 767, 767,
- /* 230 */ 767, 767, 767,
+
+ /* 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 unsigned short int yydefact[] =
+{
+ 277, 396, 393, 397, 391, 392, 394, 388, 389, 387,
+ 386, 378, 282, 281, 0, 0, 0, 0, 500, 377,
+ 0, 0, 625, 283, 0, 0, 0, 278, 279, 285,
+ 284, 286, 290, 517, 0, 374, 380, 379, 385, 400,
+ 412, 384, 287, 288, 289, 417, 435, 437, 438, 0,
+ 0, 449, 292, 291, 293, 0, 294, 0, 395, 390,
+ 386, 0, 0, 0, 377, 0, 436, 422, 296, 307,
+ 304, 306, 308, 309, 320, 317, 318, 315, 321, 316,
+ 0, 319, 310, 311, 312, 0, 332, 332, 0, 300,
+ 0, 0, 500, 500, 0, 0, 360, 365, 458, 364,
+ 0, 508, 508, 33, 34, 613, 574, 24, 39, 38,
+ 37, 35, 36, 32, 31, 25, 29, 28, 26, 27,
+ 40, 582, 581, 579, 577, 578, 580, 576, 575, 583,
+ 30, 611, 609, 608, 610, 607, 606, 381, 41, 42,
+ 382, 383, 497, 541, 542, 543, 544, 0, 538, 0,
+ 0, 0, 0, 627, 0, 626, 386, 0, 417, 0,
+ 1, 280, 523, 510, 376, 459, 0, 518, 519, 521,
+ 375, 402, 406, 404, 408, 401, 398, 413, 400, 399,
+ 0, 0, 450, 450, 0, 0, 381, 382, 383, 0,
+ 0, 0, 68, 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, 158, 159,
+ 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, 108, 106, 107, 105, 103, 104,
+ 109, 110, 111, 112, 113, 114, 115, 116, 117, 118,
+ 119, 120, 121, 122, 123, 124, 125, 126, 127, 128,
+ 129, 130, 131, 132, 160, 133, 134, 135, 136, 137,
+ 138, 139, 140, 141, 142, 143, 144, 145, 146, 147,
+ 148, 149, 150, 151, 152, 156, 153, 154, 155, 157,
+ 0, 332, 302, 297, 43, 52, 57, 58, 62, 106,
+ 107, 105, 103, 104, 124, 126, 127, 128, 129, 130,
+ 131, 160, 135, 136, 137, 138, 139, 140, 141, 142,
+ 143, 144, 145, 146, 147, 148, 149, 150, 334, 305,
+ 333, 298, 313, 314, 299, 301, 342, 343, 0, 0,
+ 22, 23, 20, 21, 0, 0, 345, 303, 344, 381,
+ 499, 382, 498, 361, 358, 366, 0, 0, 0, 0,
+ 0, 0, 295, 0, 0, 426, 0, 0, 0, 0,
+ 428, 526, 525, 524, 513, 461, 517, 510, 520, 522,
+ 407, 403, 409, 410, 405, 414, 0, 415, 387, 517,
+ 455, 0, 0, 452, 453, 456, 0, 476, 502, 474,
+ 0, 625, 0, 0, 0, 619, 620, 0, 550, 553,
+ 552, 554, 555, 0, 556, 429, 423, 424, 0, 421,
+ 419, 0, 324, 325, 322, 335, 496, 495, 0, 0,
+ 491, 0, 0, 340, 337, 347, 2, 3, 4, 5,
+ 6, 7, 8, 9, 10, 11, 13, 12, 14, 15,
+ 16, 17, 18, 19, 0, 0, 0, 0, 0, 0,
+ 464, 463, 465, 462, 0, 427, 186, 161, 162, 163,
+ 164, 165, 166, 167, 168, 169, 170, 171, 172, 173,
+ 174, 175, 176, 177, 178, 179, 180, 181, 182, 183,
+ 184, 185, 274, 275, 187, 188, 189, 190, 191, 192,
+ 193, 194, 195, 196, 197, 198, 199, 200, 201, 202,
+ 203, 204, 205, 206, 207, 208, 209, 210, 211, 212,
+ 213, 214, 215, 216, 217, 218, 224, 222, 223, 221,
+ 219, 220, 225, 226, 227, 228, 229, 230, 231, 232,
+ 233, 234, 235, 236, 237, 238, 239, 240, 241, 242,
+ 243, 244, 245, 246, 247, 248, 276, 249, 250, 251,
+ 252, 253, 254, 255, 256, 257, 258, 259, 260, 261,
+ 262, 263, 264, 265, 266, 267, 268, 272, 269, 270,
+ 271, 273, 433, 434, 0, 431, 0, 0, 359, 416,
+ 487, 485, 484, 486, 515, 0, 516, 514, 0, 488,
+ 0, 478, 489, 0, 0, 518, 460, 411, 0, 457,
+ 450, 510, 0, 0, 510, 0, 0, 503, 0, 0,
+ 0, 602, 0, 0, 601, 42, 0, 0, 0, 0,
+ 622, 0, 0, 596, 527, 551, 0, 0, 326, 420,
+ 517, 0, 492, 494, 336, 0, 349, 0, 348, 0,
+ 338, 0, 0, 504, 369, 362, 370, 0, 371, 508,
+ 508, 368, 367, 487, 356, 357, 0, 352, 354, 353,
+ 430, 432, 528, 546, 547, 548, 549, 545, 0, 0,
+ 532, 625, 537, 539, 540, 613, 24, 0, 0, 482,
+ 512, 0, 0, 511, 517, 0, 418, 517, 0, 441,
+ 0, 454, 439, 0, 477, 475, 473, 0, 557, 625,
+ 600, 0, 536, 625, 0, 621, 0, 597, 594, 618,
+ 425, 327, 330, 0, 328, 493, 490, 341, 346, 0,
+ 0, 0, 363, 0, 469, 466, 504, 0, 0, 351,
+ 0, 0, 0, 534, 0, 480, 0, 481, 0, 450,
+ 447, 0, 510, 0, 510, 510, 487, 0, 31, 30,
+ 563, 568, 564, 566, 567, 41, 0, 603, 614, 0,
+ 0, 623, 613, 599, 0, 332, 0, 350, 339, 0,
+ 505, 0, 0, 0, 469, 373, 372, 529, 0, 533,
+ 625, 0, 479, 0, 0, 0, 448, 445, 0, 442,
+ 440, 0, 565, 588, 574, 597, 589, 0, 0, 625,
+ 569, 625, 0, 0, 624, 0, 323, 329, 331, 0,
+ 0, 0, 504, 470, 467, 0, 530, 0, 535, 483,
+ 0, 0, 510, 0, 625, 0, 584, 0, 616, 615,
+ 604, 558, 0, 509, 0, 0, 471, 0, 468, 0,
+ 450, 0, 446, 0, 0, 0, 0, 0, 605, 625,
+ 612, 595, 0, 0, 0, 504, 0, 0, 450, 0,
+ 590, 0, 488, 586, 561, 559, 585, 0, 573, 617,
+ 0, 0, 472, 0, 0, 0, 0, 0, 591, 592,
+ 570, 0, 560, 0, 506, 0, 0, 510, 625, 0,
+ 625, 587, 0, 531, 450, 443, 0, 571, 593, 507,
+ 0, 590, 510, 0, 444, 0, 572
};
-/********** End of lemon-generated parsing tables *****************************/
-
-/* The next table maps tokens (terminal symbols) into fallback tokens.
-** If a construct like the following:
-**
-** %fallback ID X Y Z.
-**
-** appears in the grammar, then ID becomes a fallback token for X, Y,
-** and Z. Whenever one of the tokens X, Y, or Z is input to the parser
-** but it does not parse, the type of the token is changed to ID and
-** the parse is retried before an error is thrown.
-**
-** This feature can be used, for example, to cause some keywords in a language
-** to revert to identifiers if they keyword does not apply in the context where
-** it appears.
-*/
-#ifdef YYFALLBACK
-static const YYCODETYPE yyFallback[] = {
- 0, /* $ => nothing */
- 0, /* BOOL => nothing */
- 0, /* INT => nothing */
- 0, /* FLOAT => nothing */
- 14, /* STRING => NAME */
- 0, /* DOUBLE => nothing */
- 0, /* INT8 => nothing */
- 0, /* UINT8 => nothing */
- 0, /* INT16 => nothing */
- 0, /* UINT16 => nothing */
- 0, /* INT32 => nothing */
- 0, /* UINT32 => nothing */
- 0, /* INT64 => nothing */
- 0, /* UINT64 => nothing */
- 0, /* NAME => nothing */
- 0, /* NULL => nothing */
- 0, /* NUMBER => nothing */
- 0, /* TRUE => nothing */
- 0, /* FALSE => nothing */
- 0, /* QUOTED_STRING => nothing */
- 0, /* NSNAME => nothing */
- 0, /* PIPE => nothing */
- 0, /* CARET => nothing */
- 0, /* AMPERSAND => nothing */
- 0, /* LSHIFT => nothing */
- 0, /* RSHIFT => nothing */
- 0, /* PLUS => nothing */
- 0, /* MINUS => nothing */
- 0, /* ASTERISK => nothing */
- 0, /* SLASH => nothing */
- 0, /* MODULO => nothing */
- 0, /* RCHEVR => nothing */
- 0, /* LCHEVR => nothing */
- 0, /* CMP_GE => nothing */
- 0, /* CMP_LE => nothing */
- 0, /* OR => nothing */
- 0, /* AND => nothing */
- 0, /* CMP_EQ => nothing */
- 0, /* CMP_NE => nothing */
- 0, /* TILDE => nothing */
- 0, /* NOT => nothing */
- 14, /* ZVAL => NAME */
- 0, /* OBJVAL => nothing */
- 0, /* ARRVAL => nothing */
- 0, /* PATHVAL => nothing */
- 0, /* STRLEN => nothing */
- 0, /* STRVAL => nothing */
- 0, /* FLOATVAL => nothing */
- 0, /* INTVAL => nothing */
- 0, /* BOOLVAL => nothing */
- 14, /* COUNT => NAME */
- 0, /* TO_OBJECT => nothing */
- 0, /* TO_ARRAY => nothing */
- 0, /* TO_STRING => nothing */
- 0, /* TO_INT => nothing */
- 0, /* TO_FLOAT => nothing */
- 0, /* TO_BOOL => nothing */
- 0, /* VOID => nothing */
- 0, /* MIXED => nothing */
- 0, /* ARRAY => nothing */
- 0, /* OBJECT => nothing */
- 0, /* CALLABLE => nothing */
- 0, /* PRE_ASSERT => nothing */
- 0, /* POST_ASSERT => nothing */
- 0, /* ERROR => nothing */
- 0, /* WARNING => nothing */
- 14, /* TEMP => NAME */
- 14, /* FREE => NAME */
- 14, /* SET => NAME */
- 14, /* LET => NAME */
- 14, /* RETURN => NAME */
- 14, /* CALLOC => NAME */
- 14, /* CALLBACK => NAME */
- 14, /* LIB => NAME */
+
+ /* YYPGOTO[NTERM-NUM]. */
+static const short int yypgoto[] =
+{
+ -717, -334, -81, -2, -58, -717, -717, -717, 507, -717,
+ -717, -717, -717, -717, -717, -717, -717, -717, -717, -717,
+ -717, -717, -84, -717, -284, -717, -717, -717, -276, -717,
+ -717, 370, -141, 35, -135, -174, -22, -14, -717, -717,
+ -717, 502, -717, -717, 361, -717, -717, -717, -717, 382,
+ -261, -717, -717, -177, -717, -121, -717, -63, 520, 37,
+ 3, 45, -717, -717, -717, -717, -179, -717, -88, -10,
+ -32, -717, -717, 166, -350, -717, -257, -717, 7, -717,
+ -89, -359, -717, -79, -717, 101, -717, -440, -438, 214,
+ -717, -708, -83, -374, -717, -367, -27, -717, 383, -717,
+ -717, 529, -717, -209, -670, -716, -717, -717, 535, -717,
+ 169, -384, -717, -355, -686, 148, -208, -717, -717, -691,
+ -717, -717, -319, -352, -717, -717, -717, -245, -717, -396,
+ -407, -400, -717, -717, -717, -717, -717, -717, -155, -20,
+ -687
};
-#endif /* YYFALLBACK */
-
-/* The following structure represents a single element of the
-** parser's stack. Information stored includes:
-**
-** + The state number for the parser at this level of the stack.
-**
-** + The value of the token stored at this level of the stack.
-** (In other words, the "major" token.)
-**
-** + The semantic value stored at this level of the stack. This is
-** the information used by the action routines in the grammar.
-** It is sometimes called the "minor" token.
-**
-** After the "shift" half of a SHIFTREDUCE action, the stateno field
-** actually contains the reduce action for the second half of the
-** SHIFTREDUCE.
-*/
-struct yyStackEntry {
- YYACTIONTYPE stateno; /* The state-number, or reduce action in SHIFTREDUCE */
- YYCODETYPE major; /* The major token value. This is the code
- ** number for the token at this stack level */
- YYMINORTYPE minor; /* The user-supplied minor token value. This
- ** is the value of the token */
+
+ /* YYDEFGOTO[NTERM-NUM]. */
+static const short int yydefgoto[] =
+{
+ -1, 712, 618, 163, 348, 602, 26, 27, 28, 29,
+ 30, 85, 86, 87, 88, 354, 89, 90, 91, 312,
+ 743, 744, 349, 350, 367, 667, 668, 31, 686, 687,
+ 32, 95, 673, 674, 675, 33, 34, 35, 36, 37,
+ 38, 39, 40, 41, 176, 401, 404, 179, 42, 181,
+ 688, 43, 191, 793, 44, 603, 604, 605, 45, 46,
+ 47, 98, 410, 49, 411, 50, 412, 413, 414, 51,
+ 619, 52, 53, 481, 482, 677, 803, 843, 100, 418,
+ 419, 641, 621, 622, 661, 450, 55, 101, 102, 142,
+ 638, 754, 377, 395, 623, 166, 438, 168, 169, 393,
+ 56, 57, 699, 700, 642, 701, 147, 702, 703, 704,
+ 427, 428, 429, 893, 894, 895, 782, 783, 784, 138,
+ 877, 896, 827, 907, 908, 430, 652, 794, 431, 909,
+ 644, 139, 832, 859, 432, 433, 434, 649, 650, 646,
+ 155
};
-typedef struct yyStackEntry yyStackEntry;
-
-/* The state of the parser is completely contained in an instance of
-** the following structure */
-struct yyParser {
- yyStackEntry *yytos; /* Pointer to top element of the stack */
-#ifdef YYTRACKMAXSTACKDEPTH
- int yyhwm; /* High-water mark of the stack */
-#endif
-#ifndef YYNOERRORRECOVERY
- int yyerrcnt; /* Shifts left before out of the error */
-#endif
- ParseARG_SDECL /* A place to hold %extra_argument */
-#if YYSTACKDEPTH<=0
- int yystksz; /* Current side of the stack */
- yyStackEntry *yystack; /* The parser's stack */
- yyStackEntry yystk0; /* First stack entry */
-#else
- yyStackEntry yystack[YYSTACKDEPTH]; /* The parser's stack */
-#endif
+
+ /* 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 short int yytable[] =
+{
+ 67, 165, 154, 351, 416, 99, 167, 54, 409, 409,
+ 365, 164, 368, 436, 137, 140, 141, 653, 97, 378,
+ 170, 645, 311, 626, 645, 643, 442, 478, 479, 624,
+ 385, 763, 355, 475, 54, 620, 785, 679, 390, 680,
+ 786, 781, 629, 655, 807, 48, 810, 66, 804, 443,
+ 96, 352, 149, 162, 379, 48, 391, 380, 151, 186,
+ 187, 188, 159, 58, 732, 59, 48, 153, 435, 48,
+ 48, 160, 48, -387, 656, 451, 800, -387, 310, 402,
+ 654, 454, 403, 480, 99, 180, 801, 826, 477, 366,
+ 369, 371, 846, 692, 659, 785, 182, 97, 375, -386,
+ 830, 716, 189, -24, 869, 11, 446, 447, 475, 764,
+ 48, -449, 448, 190, 392, -438, -458, 475, -458, 183,
+ 475, 105, 880, 143, 449, 689, 144, 184, 398, 373,
+ 145, -387, 146, 185, 866, 420, 421, 422, 423, 424,
+ 763, 425, 426, 735, 353, 628, 736, 99, 420, 421,
+ 422, 423, 424, 313, 425, 426, 374, -386, 437, 856,
+ 97, -449, -508, 64, -501, 397, 376, -508, 177, 4,
+ 5, 666, 415, 415, -381, -501, 376, 902, 171, 172,
+ 173, 381, 417, 174, 874, 785, 382, 383, 384, 897,
+ 669, 670, 96, 66, 387, 48, 175, 386, 826, 923,
+ 396, 48, 394, 171, 172, 173, 785, -355, 174, -355,
+ -355, 912, -382, -501, 131, 132, 133, 134, 135, 136,
+ 785, 175, 655, -487, 897, -487, -487, 444, 400, 365,
+ 406, 368, 679, 455, 680, -387, -387, 679, 407, 680,
+ 1, 2, 3, 4, 5, 6, 7, 8, 926, 631,
+ 632, 634, 635, 9, 823, 824, 708, 719, 60, 709,
+ 722, 143, 485, 439, 144, 11, 761, 762, 145, 825,
+ 146, 693, 694, 695, 696, 697, 476, 724, 365, 477,
+ 368, 769, 770, 607, 365, 484, 368, 143, 772, 773,
+ 144, 698, 445, 745, 145, 608, 146, 693, 694, 695,
+ 696, 697, 162, 676, 834, 657, 370, 372, 366, 420,
+ 421, 422, 423, 424, 609, 425, 426, 627, 440, 630,
+ 61, 62, 63, 64, 633, 636, 659, 22, 637, 645,
+ 657, 658, 475, 787, 663, 475, 475, 121, 122, 123,
+ 124, 125, 126, 127, 128, 129, 671, 768, 713, 717,
+ 771, 728, 766, 767, 730, 720, 726, 366, 727, 150,
+ 731, 723, 453, 366, 729, 732, 733, 734, 780, 625,
+ 737, 738, 746, 751, 365, 747, 368, 165, 748, 753,
+ 749, 759, 167, 811, 760, 774, 775, 164, 639, 795,
+ 647, 796, 651, 365, 365, 368, 368, 799, 817, 802,
+ 819, 820, 808, 828, 821, 812, 829, 805, 806, 831,
+ -598, 818, 1, 2, 3, 4, 5, 6, 7, 8,
+ 835, 648, 839, 840, 841, 9, 844, 780, 862, 850,
+ 60, 645, 851, 852, 660, 858, 397, 11, 854, 864,
+ 860, 707, 861, 863, 865, 755, 681, 682, 867, 868,
+ 665, 718, 689, 366, 849, 881, 409, 870, 876, 409,
+ 871, 873, 882, 475, 475, 797, 798, 99, 878, 855,
+ 879, 883, 366, 366, 884, 886, 823, 824, 872, 645,
+ 97, 888, 889, 899, 678, 890, 900, 898, 731, 901,
+ 645, 903, 92, 93, 18, 64, 904, 915, 676, 911,
+ 913, 914, 916, 676, 917, 1, 2, 3, 4, 5,
+ 6, 7, 8, 918, 920, 919, 891, 780, 9, 922,
+ 645, 924, 931, 60, 928, 927, 929, 388, 932, 672,
+ 11, 645, 935, 936, 161, 848, 756, 752, 780, 405,
+ 389, 691, 178, 925, 158, 721, 483, 845, 725, 662,
+ 152, 399, 780, 809, 148, 606, 921, 790, 934, 121,
+ 122, 123, 124, 125, 126, 127, 128, 129, 640, 822,
+ 906, 1, 2, 3, 4, 5, 6, 7, 8, 933,
+ 853, 791, 0, 0, 9, 61, 62, 63, 64, 60,
+ 815, 0, 0, 446, 447, 409, 757, 758, 0, 0,
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 0,
+ 0, 449, 0, 0, 9, 0, 0, 0, 0, 60,
+ 415, 0, 715, 415, 65, 740, 0, 0, 0, 0,
+ 0, 0, 0, 625, 0, 417, 0, 0, 0, 0,
+ 0, 0, 0, 0, 165, 0, 0, 0, 0, 167,
+ 0, 61, 62, 63, 164, 0, 742, 0, 0, 0,
+ 0, 0, 99, 0, 0, 0, 0, 99, 365, 365,
+ 368, 368, 0, 0, 0, 97, 375, 0, 0, 678,
+ 97, 61, 62, 63, 678, 164, 0, 625, 0, 0,
+ 625, 887, 0, 0, 0, 0, 409, 0, 0, 788,
+ 0, 0, 437, 0, 0, 437, 0, 0, 0, 905,
+ 0, 836, 0, 789, 409, 0, 0, 1, 2, 3,
+ 4, 5, 6, 7, 8, 0, 0, 0, 0, 0,
+ 9, 0, 0, 0, 648, 10, 0, 0, 0, 0,
+ 0, 0, 11, 12, 13, 930, 0, 366, 366, 0,
+ 409, 0, 0, 0, 14, 0, 0, 833, 0, 415,
+ 0, 0, 0, 0, 0, 0, 814, 0, 0, 715,
+ 842, 68, 0, 681, 682, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 847, 0, 0, 437, 838, 0, 15, 16, 17, 18,
+ 19, 20, 21, 0, 22, 0, 0, 69, 70, 71,
+ 72, 73, 74, 75, 76, 77, 78, 79, 80, 0,
+ 81, 82, 83, 84, 0, 0, 0, 0, 0, 23,
+ 0, 0, 0, 0, 24, 885, 25, 0, 0, 0,
+ 0, 0, 0, 0, 892, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 415, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 415, 892,
+ 0, 0, 0, 0, 192, 0, 0, 193, 194, 195,
+ 196, 197, 198, 199, 200, 201, 202, 203, 204, 205,
+ 206, 207, 208, 209, 210, 211, 212, 213, 214, 215,
+ 216, 217, 218, 219, 415, 220, 221, 222, 223, 224,
+ 225, 226, 227, 228, 229, 230, 231, 232, 233, 234,
+ 235, 236, 237, 238, 239, 240, 241, 242, 243, 244,
+ 245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
+ 255, 256, 257, 258, 259, 260, 261, 262, 263, 264,
+ 265, 266, 267, 268, 0, 269, 0, 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, 0, 0, 304, 0, 305, 306, 307, 308, 309,
+ 192, 0, 0, 314, 194, 195, 196, 197, 198, 199,
+ 200, 201, 315, 203, 204, 205, 206, 316, 317, 209,
+ 210, 211, 318, 213, 214, 215, 216, 217, 218, 219,
+ 0, 220, 221, 222, 223, 224, 225, 226, 227, 228,
+ 229, 230, 231, 232, 233, 234, 235, 236, 237, 238,
+ 239, 240, 241, 242, 243, 244, 245, 246, 247, 248,
+ 249, 250, 251, 252, 253, 254, 319, 320, 321, 322,
+ 323, 260, 261, 262, 263, 264, 265, 266, 267, 268,
+ 0, 269, 0, 270, 271, 272, 273, 274, 324, 276,
+ 325, 326, 327, 328, 329, 330, 283, 331, 285, 286,
+ 332, 333, 334, 335, 336, 337, 338, 339, 340, 341,
+ 342, 343, 344, 345, 346, 347, 303, 0, 0, 304,
+ 0, 305, 306, 307, 308, 309, 486, 0, 0, 487,
+ 488, 489, 490, 491, 492, 493, 494, 495, 496, 497,
+ 498, 499, 500, 501, 502, 503, 504, 505, 506, 507,
+ 508, 509, 510, 511, 512, 513, 0, 514, 515, 516,
+ 517, 518, 384, 690, 519, 520, 521, 522, 523, 524,
+ 525, 526, 527, 528, 529, 530, 531, 532, 533, 534,
+ 535, 536, 537, 538, 539, 540, 541, 542, 543, 544,
+ 545, 546, 547, 548, 549, 550, 551, 552, 553, 554,
+ 555, 556, 557, 558, 559, 560, 0, 561, 0, 562,
+ 563, 564, 565, 566, 567, 568, 569, 570, 571, 572,
+ 573, 574, 575, 576, 577, 578, 579, 580, 581, 582,
+ 583, 584, 585, 586, 587, 588, 589, 590, 591, 592,
+ 593, 594, 595, 0, 0, 596, 0, 597, 598, 599,
+ 600, 601, 486, 0, 0, 487, 488, 489, 490, 491,
+ 492, 493, 494, 495, 496, 497, 498, 499, 500, 501,
+ 502, 503, 504, 505, 506, 507, 508, 509, 510, 511,
+ 512, 513, 0, 514, 515, 516, 517, 518, 384, 0,
+ 519, 520, 521, 522, 523, 524, 525, 526, 527, 528,
+ 529, 530, 531, 532, 533, 534, 535, 536, 537, 538,
+ 539, 540, 541, 542, 543, 544, 545, 546, 547, 548,
+ 549, 550, 551, 552, 553, 554, 555, 556, 557, 558,
+ 559, 560, 0, 561, 0, 562, 563, 564, 565, 566,
+ 567, 568, 569, 570, 571, 572, 573, 574, 575, 576,
+ 577, 578, 579, 580, 581, 582, 583, 584, 585, 586,
+ 587, 588, 589, 590, 591, 592, 593, 594, 595, 103,
+ 0, 596, 0, 597, 598, 599, 600, 601, 104, 0,
+ 0, 0, 0, 105, 106, 610, 0, 0, 107, 611,
+ 0, 612, 0, 613, 358, 614, 0, 0, 615, 0,
+ 0, 0, 0, 1, 2, 3, 4, 5, 6, 7,
+ 8, 0, 0, 360, 361, 162, 9, 0, 0, 0,
+ 0, 60, 0, 0, 0, 0, 362, 363, 11, 0,
+ 0, 0, 108, 109, 110, 111, 112, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 616, 113, 0, 114, 115, 116, 117,
+ 118, 119, 0, 120, 0, 0, 121, 122, 123, 124,
+ 125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
+ 135, 136, 0, 92, 93, 18, 64, 0, 0, 0,
+ 617, 1, 2, 3, 4, 5, 6, 7, 8, 0,
+ 0, 0, 0, 0, 9, 0, 0, 0, 0, 60,
+ 0, 0, -33, 0, 0, 0, 11, 0, 0, 0,
+ 94, -33, 0, 0, 0, 0, -33, -33, 0, 0,
+ 0, -33, 0, 0, -33, -33, -33, -33, 0, 0,
+ 0, -33, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, -33, -33, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, -33,
+ -33, 92, 93, 18, 64, -33, -33, -33, -33, -33,
+ 0, 0, 0, 0, 0, 0, 0, -33, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, -33, 0, -33,
+ -33, -33, -33, -33, -33, 0, -33, 0, 672, -33,
+ -33, -33, -33, -33, -33, -33, -33, -33, -33, -33,
+ -33, -33, -33, -33, -33, -34, 0, -33, 0, 0,
+ 0, 0, 0, 0, -34, 0, 0, 0, 0, -34,
+ -34, 0, 0, 0, -34, 0, 0, -34, -34, -34,
+ -34, 0, 0, 0, -34, 0, 0, 0, 0, 0,
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, -34,
+ -34, 0, 0, 0, 9, 0, 0, 0, 0, 60,
+ 0, 0, -34, -34, 0, 0, 11, 0, -34, -34,
+ -34, -34, -34, 0, 0, 0, 0, 0, 0, 0,
+ -34, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ -34, 0, -34, -34, -34, -34, -34, -34, 0, -34,
+ 0, 0, -34, -34, -34, -34, -34, -34, -34, -34,
+ -34, -34, -34, -34, -34, -34, -34, -34, -57, 0,
+ -34, 61, 62, 63, 64, 0, 0, -57, 0, 0,
+ 0, 0, -57, -57, 0, 0, 0, -57, 0, 0,
+ -57, -57, -57, -57, 0, 0, 0, -57, 0, 0,
+ 0, 0, 0, 0, 1, 2, 3, 4, 5, 6,
+ 7, 8, -57, -57, 0, 0, 0, 9, 0, 0,
+ 0, 0, 60, 0, 0, -57, -57, 0, 0, 11,
+ 0, -57, -57, -57, -57, -57, 0, 0, 0, 0,
+ 0, 0, 0, -57, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, -57, 0, -57, -57, -57, -57, -57,
+ -57, 0, -57, 0, 0, -57, -57, -57, -57, -57,
+ -57, -57, -57, -57, -57, -57, -57, -57, -57, -57,
+ -57, -58, 0, -613, 92, 93, 18, 64, 0, 0,
+ -58, 0, 0, 0, 0, -58, -58, 0, 0, 0,
+ -58, 0, 0, -58, -58, -58, -58, 0, 0, 0,
+ -58, 0, 0, 0, 0, 0, 0, 1, 2, 3,
+ 4, 5, 6, 7, 8, -58, -58, 0, 0, 0,
+ 9, 0, 0, 0, 0, 60, 0, 0, -58, -58,
+ 0, 0, 11, 0, -58, -58, -58, -58, -58, 0,
+ 0, 0, 0, 0, 0, 0, -58, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, -58, 0, -58, -58,
+ -58, -58, -58, -58, 0, -58, 0, 0, -58, -58,
+ -58, -58, -58, -58, -58, -58, -58, -58, -58, -58,
+ -58, -58, -58, -58, -24, 0, -574, 61, 62, 63,
+ 64, 0, 0, -24, 0, 0, 0, 0, -24, -24,
+ 0, 0, 0, -24, 0, 0, -24, -24, -24, -24,
+ 0, 0, 0, -24, 0, 0, 0, 0, 0, 0,
+ 1, 2, 3, 4, 5, 6, 7, 8, -24, -24,
+ 0, 0, 0, 408, 0, 0, 0, 0, 60, 0,
+ 0, -24, -24, 0, 0, 11, 0, -24, -24, -24,
+ -24, -24, 0, 0, 0, 0, 0, 0, 0, -24,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, -24,
+ 0, -24, -24, -24, -24, -24, -24, 0, -24, 0,
+ 0, -24, -24, -24, -24, -24, -24, -24, -24, -24,
+ -24, -24, -24, -24, -24, -24, -24, -39, 0, -24,
+ 61, 62, 63, 64, 0, 0, -39, 0, 0, 0,
+ 0, -39, -39, 0, 0, 0, -39, 0, 0, -39,
+ -39, -39, -39, 0, 0, 0, -39, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, -39, -39, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, -39, -39, 0, 0, 0, 0,
+ -39, -39, -39, -39, -39, 0, 0, 0, 0, 0,
+ 0, 0, -39, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, -39, 0, -39, -39, -39, -39, -39, -39,
+ 0, -39, 0, 0, -39, -39, -39, -39, -39, -39,
+ -39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
+ -38, 0, -39, 0, 0, 0, 0, 0, 0, -38,
+ 0, 0, 0, 0, -38, -38, 0, 0, 0, -38,
+ 0, 0, -38, -38, -38, -38, 0, 0, 0, -38,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, -38, -38, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, -38, -38, 0,
+ 0, 0, 0, -38, -38, -38, -38, -38, 0, 0,
+ 0, 0, 0, 0, 0, -38, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, -38, 0, -38, -38, -38,
+ -38, -38, -38, 0, -38, 0, 0, -38, -38, -38,
+ -38, -38, -38, -38, -38, -38, -38, -38, -38, -38,
+ -38, -38, -38, -37, 0, -38, 0, 0, 0, 0,
+ 0, 0, -37, 0, 0, 0, 0, -37, -37, 0,
+ 0, 0, -37, 0, 0, -37, -37, -37, -37, 0,
+ 0, 0, -37, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, -37, -37, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ -37, -37, 0, 0, 0, 0, -37, -37, -37, -37,
+ -37, 0, 0, 0, 0, 0, 0, 0, -37, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, -37, 0,
+ -37, -37, -37, -37, -37, -37, 0, -37, 0, 0,
+ -37, -37, -37, -37, -37, -37, -37, -37, -37, -37,
+ -37, -37, -37, -37, -37, -37, -35, 0, -37, 0,
+ 0, 0, 0, 0, 0, -35, 0, 0, 0, 0,
+ -35, -35, 0, 0, 0, -35, 0, 0, -35, -35,
+ -35, -35, 0, 0, 0, -35, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ -35, -35, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, -35, -35, 0, 0, 0, 0, -35,
+ -35, -35, -35, -35, 0, 0, 0, 0, 0, 0,
+ 0, -35, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, -35, 0, -35, -35, -35, -35, -35, -35, 0,
+ -35, 0, 0, -35, -35, -35, -35, -35, -35, -35,
+ -35, -35, -35, -35, -35, -35, -35, -35, -35, -36,
+ 0, -35, 0, 0, 0, 0, 0, 0, -36, 0,
+ 0, 0, 0, -36, -36, 0, 0, 0, -36, 0,
+ 0, -36, -36, -36, -36, 0, 0, 0, -36, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, -36, -36, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, -36, -36, 0, 0,
+ 0, 0, -36, -36, -36, -36, -36, 0, 0, 0,
+ 0, 0, 0, 0, -36, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, -36, 0, -36, -36, -36, -36,
+ -36, -36, 0, -36, 0, 0, -36, -36, -36, -36,
+ -36, -36, -36, -36, -36, -36, -36, -36, -36, -36,
+ -36, -36, -32, 0, -36, 0, 0, 0, 0, 0,
+ 0, -32, 0, 0, 0, 0, -32, -32, 0, 0,
+ 0, -32, 0, 0, -32, -32, -32, -32, 0, 0,
+ 0, -32, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, -32, -32, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, -32,
+ -32, 0, 0, 0, 0, -32, -32, -32, -32, -32,
+ 0, 0, 0, 0, 0, 0, 0, -32, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, -32, 0, -32,
+ -32, -32, -32, -32, -32, 0, -32, 0, 0, -32,
+ -32, -32, -32, -32, -32, -32, -32, -32, -32, -32,
+ -32, -32, -32, -32, -32, -31, 0, -32, 0, 0,
+ 0, 0, 0, 0, -31, 0, 0, 0, 0, -31,
+ -31, 0, 0, 0, -31, 0, 0, -31, -31, -31,
+ -31, 0, 0, 0, -31, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, -31,
+ -31, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, -31, -31, 0, 0, 0, 0, -31, -31,
+ -31, -31, -31, 0, 0, 0, 0, 0, 0, 0,
+ -31, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ -31, 0, -31, -31, -31, -31, -31, -31, 0, -31,
+ 0, 0, -31, -31, -31, -31, -31, -31, -31, -31,
+ -31, -31, -31, -31, -31, -31, -31, -31, -25, 0,
+ -31, 0, 0, 0, 0, 0, 0, -25, 0, 0,
+ 0, 0, -25, -25, 0, 0, 0, -25, 0, 0,
+ -25, -25, -25, -25, 0, 0, 0, -25, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, -25, -25, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, -25, -25, 0, 0, 0,
+ 0, -25, -25, -25, -25, -25, 0, 0, 0, 0,
+ 0, 0, 0, -25, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, -25, 0, -25, -25, -25, -25, -25,
+ -25, 0, -25, 0, 0, -25, -25, -25, -25, -25,
+ -25, -25, -25, -25, -25, -25, -25, -25, -25, -25,
+ -25, -29, 0, -25, 0, 0, 0, 0, 0, 0,
+ -29, 0, 0, 0, 0, -29, -29, 0, 0, 0,
+ -29, 0, 0, -29, -29, -29, -29, 0, 0, 0,
+ -29, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, -29, -29, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, -29, -29,
+ 0, 0, 0, 0, -29, -29, -29, -29, -29, 0,
+ 0, 0, 0, 0, 0, 0, -29, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, -29, 0, -29, -29,
+ -29, -29, -29, -29, 0, -29, 0, 0, -29, -29,
+ -29, -29, -29, -29, -29, -29, -29, -29, -29, -29,
+ -29, -29, -29, -29, -28, 0, -29, 0, 0, 0,
+ 0, 0, 0, -28, 0, 0, 0, 0, -28, -28,
+ 0, 0, 0, -28, 0, 0, -28, -28, -28, -28,
+ 0, 0, 0, -28, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, -28, -28,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, -28, -28, 0, 0, 0, 0, -28, -28, -28,
+ -28, -28, 0, 0, 0, 0, 0, 0, 0, -28,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, -28,
+ 0, -28, -28, -28, -28, -28, -28, 0, -28, 0,
+ 0, -28, -28, -28, -28, -28, -28, -28, -28, -28,
+ -28, -28, -28, -28, -28, -28, -28, -26, 0, -28,
+ 0, 0, 0, 0, 0, 0, -26, 0, 0, 0,
+ 0, -26, -26, 0, 0, 0, -26, 0, 0, -26,
+ -26, -26, -26, 0, 0, 0, -26, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, -26, -26, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, -26, -26, 0, 0, 0, 0,
+ -26, -26, -26, -26, -26, 0, 0, 0, 0, 0,
+ 0, 0, -26, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, -26, 0, -26, -26, -26, -26, -26, -26,
+ 0, -26, 0, 0, -26, -26, -26, -26, -26, -26,
+ -26, -26, -26, -26, -26, -26, -26, -26, -26, -26,
+ -27, 0, -26, 0, 0, 0, 0, 0, 0, -27,
+ 0, 0, 0, 0, -27, -27, 0, 0, 0, -27,
+ 0, 0, -27, -27, -27, -27, 0, 0, 0, -27,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, -27, -27, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, -27, -27, 0,
+ 0, 0, 0, -27, -27, -27, -27, -27, 0, 0,
+ 0, 0, 0, 0, 0, -27, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, -27, 0, -27, -27, -27,
+ -27, -27, -27, 0, -27, 0, 0, -27, -27, -27,
+ -27, -27, -27, -27, -27, -27, -27, -27, -27, -27,
+ -27, -27, -27, -40, 0, -27, 0, 0, 0, 0,
+ 0, 0, -40, 0, 0, 0, 0, -40, -40, 0,
+ 0, 0, -40, 0, 0, -40, -40, -40, -40, 0,
+ 0, 0, -40, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, -40, -40, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ -40, -40, 0, 0, 0, 0, -40, -40, -40, -40,
+ -40, 0, 0, 0, 0, 0, 0, 0, -40, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, -40, 0,
+ -40, -40, -40, -40, -40, -40, 0, -40, 0, 0,
+ -40, -40, -40, -40, -40, -40, -40, -40, -40, -40,
+ -40, -40, -40, -40, -40, -40, -135, 0, -40, 0,
+ 0, 0, 0, 0, 0, -135, 0, 0, 0, 0,
+ -135, -135, 0, 0, 0, -135, 0, 0, -135, -135,
+ -135, -135, 0, 0, 0, -135, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ -135, -135, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, -135, -135, 0, 0, 0, 0, -135,
+ -135, -135, -135, -135, 0, 0, 0, 0, 0, 0,
+ 0, -135, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, -135, 0, -135, -135, -135, -135, -135, -135, 0,
+ -135, 0, 0, -135, -135, -135, -135, -135, -135, -135,
+ -135, -135, -135, -135, -135, -135, -135, -135, -135, -136,
+ 0, -582, 0, 0, 0, 0, 0, 0, -136, 0,
+ 0, 0, 0, -136, -136, 0, 0, 0, -136, 0,
+ 0, -136, -136, -136, -136, 0, 0, 0, -136, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, -136, -136, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, -136, -136, 0, 0,
+ 0, 0, -136, -136, -136, -136, -136, 0, 0, 0,
+ 0, 0, 0, 0, -136, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, -136, 0, -136, -136, -136, -136,
+ -136, -136, 0, -136, 0, 0, -136, -136, -136, -136,
+ -136, -136, -136, -136, -136, -136, -136, -136, -136, -136,
+ -136, -136, -137, 0, -581, 0, 0, 0, 0, 0,
+ 0, -137, 0, 0, 0, 0, -137, -137, 0, 0,
+ 0, -137, 0, 0, -137, -137, -137, -137, 0, 0,
+ 0, -137, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, -137, -137, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, -137,
+ -137, 0, 0, 0, 0, -137, -137, -137, -137, -137,
+ 0, 0, 0, 0, 0, 0, 0, -137, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, -137, 0, -137,
+ -137, -137, -137, -137, -137, 0, -137, 0, 0, -137,
+ -137, -137, -137, -137, -137, -137, -137, -137, -137, -137,
+ -137, -137, -137, -137, -137, -138, 0, -579, 0, 0,
+ 0, 0, 0, 0, -138, 0, 0, 0, 0, -138,
+ -138, 0, 0, 0, -138, 0, 0, -138, -138, -138,
+ -138, 0, 0, 0, -138, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, -138,
+ -138, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, -138, -138, 0, 0, 0, 0, -138, -138,
+ -138, -138, -138, 0, 0, 0, 0, 0, 0, 0,
+ -138, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ -138, 0, -138, -138, -138, -138, -138, -138, 0, -138,
+ 0, 0, -138, -138, -138, -138, -138, -138, -138, -138,
+ -138, -138, -138, -138, -138, -138, -138, -138, -139, 0,
+ -577, 0, 0, 0, 0, 0, 0, -139, 0, 0,
+ 0, 0, -139, -139, 0, 0, 0, -139, 0, 0,
+ -139, -139, -139, -139, 0, 0, 0, -139, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, -139, -139, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, -139, -139, 0, 0, 0,
+ 0, -139, -139, -139, -139, -139, 0, 0, 0, 0,
+ 0, 0, 0, -139, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, -139, 0, -139, -139, -139, -139, -139,
+ -139, 0, -139, 0, 0, -139, -139, -139, -139, -139,
+ -139, -139, -139, -139, -139, -139, -139, -139, -139, -139,
+ -139, -140, 0, -578, 0, 0, 0, 0, 0, 0,
+ -140, 0, 0, 0, 0, -140, -140, 0, 0, 0,
+ -140, 0, 0, -140, -140, -140, -140, 0, 0, 0,
+ -140, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, -140, -140, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, -140, -140,
+ 0, 0, 0, 0, -140, -140, -140, -140, -140, 0,
+ 0, 0, 0, 0, 0, 0, -140, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, -140, 0, -140, -140,
+ -140, -140, -140, -140, 0, -140, 0, 0, -140, -140,
+ -140, -140, -140, -140, -140, -140, -140, -140, -140, -140,
+ -140, -140, -140, -140, -141, 0, -580, 0, 0, 0,
+ 0, 0, 0, -141, 0, 0, 0, 0, -141, -141,
+ 0, 0, 0, -141, 0, 0, -141, -141, -141, -141,
+ 0, 0, 0, -141, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, -141, -141,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, -141, -141, 0, 0, 0, 0, -141, -141, -141,
+ -141, -141, 0, 0, 0, 0, 0, 0, 0, -141,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, -141,
+ 0, -141, -141, -141, -141, -141, -141, 0, -141, 0,
+ 0, -141, -141, -141, -141, -141, -141, -141, -141, -141,
+ -141, -141, -141, -141, -141, -141, -141, -142, 0, -576,
+ 0, 0, 0, 0, 0, 0, -142, 0, 0, 0,
+ 0, -142, -142, 0, 0, 0, -142, 0, 0, -142,
+ -142, -142, -142, 0, 0, 0, -142, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, -142, -142, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, -142, -142, 0, 0, 0, 0,
+ -142, -142, -142, -142, -142, 0, 0, 0, 0, 0,
+ 0, 0, -142, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, -142, 0, -142, -142, -142, -142, -142, -142,
+ 0, -142, 0, 0, -142, -142, -142, -142, -142, -142,
+ -142, -142, -142, -142, -142, -142, -142, -142, -142, -142,
+ -143, 0, -575, 0, 0, 0, 0, 0, 0, -143,
+ 0, 0, 0, 0, -143, -143, 0, 0, 0, -143,
+ 0, 0, -143, -143, -143, -143, 0, 0, 0, -143,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, -143, -143, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, -143, -143, 0,
+ 0, 0, 0, -143, -143, -143, -143, -143, 0, 0,
+ 0, 0, 0, 0, 0, -143, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, -143, 0, -143, -143, -143,
+ -143, -143, -143, 0, -143, 0, 0, -143, -143, -143,
+ -143, -143, -143, -143, -143, -143, -143, -143, -143, -143,
+ -143, -143, -143, -30, 0, -583, 0, 0, 0, 0,
+ 0, 0, -30, 0, 0, 0, 0, -30, -30, 0,
+ 0, 0, -30, 0, 0, -30, -30, -30, -30, 0,
+ 0, 0, -30, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, -30, -30, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ -30, -30, 0, 0, 0, 0, -30, -30, -30, -30,
+ -30, 0, 0, 0, 0, 0, 0, 0, -30, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, -30, 0,
+ -30, -30, -30, -30, -30, -30, 0, -30, 0, 0,
+ -30, -30, -30, -30, -30, -30, -30, -30, -30, -30,
+ -30, -30, -30, -30, -30, -30, -145, 0, -30, 0,
+ 0, 0, 0, 0, 0, -145, 0, 0, 0, 0,
+ -145, -145, 0, 0, 0, -145, 0, 0, -145, -145,
+ -145, -145, 0, 0, 0, -145, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ -145, -145, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, -145, -145, 0, 0, 0, 0, -145,
+ -145, -145, -145, -145, 0, 0, 0, 0, 0, 0,
+ 0, -145, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, -145, 0, -145, -145, -145, -145, -145, -145, 0,
+ -145, 0, 0, -145, -145, -145, -145, -145, -145, -145,
+ -145, -145, -145, -145, -145, -145, -145, -145, -145, -146,
+ 0, -611, 0, 0, 0, 0, 0, 0, -146, 0,
+ 0, 0, 0, -146, -146, 0, 0, 0, -146, 0,
+ 0, -146, -146, -146, -146, 0, 0, 0, -146, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, -146, -146, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, -146, -146, 0, 0,
+ 0, 0, -146, -146, -146, -146, -146, 0, 0, 0,
+ 0, 0, 0, 0, -146, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, -146, 0, -146, -146, -146, -146,
+ -146, -146, 0, -146, 0, 0, -146, -146, -146, -146,
+ -146, -146, -146, -146, -146, -146, -146, -146, -146, -146,
+ -146, -146, -147, 0, -609, 0, 0, 0, 0, 0,
+ 0, -147, 0, 0, 0, 0, -147, -147, 0, 0,
+ 0, -147, 0, 0, -147, -147, -147, -147, 0, 0,
+ 0, -147, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, -147, -147, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, -147,
+ -147, 0, 0, 0, 0, -147, -147, -147, -147, -147,
+ 0, 0, 0, 0, 0, 0, 0, -147, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, -147, 0, -147,
+ -147, -147, -147, -147, -147, 0, -147, 0, 0, -147,
+ -147, -147, -147, -147, -147, -147, -147, -147, -147, -147,
+ -147, -147, -147, -147, -147, -148, 0, -608, 0, 0,
+ 0, 0, 0, 0, -148, 0, 0, 0, 0, -148,
+ -148, 0, 0, 0, -148, 0, 0, -148, -148, -148,
+ -148, 0, 0, 0, -148, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, -148,
+ -148, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, -148, -148, 0, 0, 0, 0, -148, -148,
+ -148, -148, -148, 0, 0, 0, 0, 0, 0, 0,
+ -148, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ -148, 0, -148, -148, -148, -148, -148, -148, 0, -148,
+ 0, 0, -148, -148, -148, -148, -148, -148, -148, -148,
+ -148, -148, -148, -148, -148, -148, -148, -148, -149, 0,
+ -610, 0, 0, 0, 0, 0, 0, -149, 0, 0,
+ 0, 0, -149, -149, 0, 0, 0, -149, 0, 0,
+ -149, -149, -149, -149, 0, 0, 0, -149, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, -149, -149, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, -149, -149, 0, 0, 0,
+ 0, -149, -149, -149, -149, -149, 0, 0, 0, 0,
+ 0, 0, 0, -149, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, -149, 0, -149, -149, -149, -149, -149,
+ -149, 0, -149, 0, 0, -149, -149, -149, -149, -149,
+ -149, -149, -149, -149, -149, -149, -149, -149, -149, -149,
+ -149, -150, 0, -607, 0, 0, 0, 0, 0, 0,
+ -150, 0, 0, 0, 0, -150, -150, 0, 0, 0,
+ -150, 0, 0, -150, -150, -150, -150, 0, 0, 0,
+ -150, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, -150, -150, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, -150, -150,
+ 0, 0, 0, 0, -150, -150, -150, -150, -150, 0,
+ 0, 0, 0, 0, 0, 0, -150, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, -150, 0, -150, -150,
+ -150, -150, -150, -150, 0, -150, 0, 0, -150, -150,
+ -150, -150, -150, -150, -150, -150, -150, -150, -150, -150,
+ -150, -150, -150, -150, 103, 0, -606, 0, 0, 0,
+ 0, 0, 0, 104, 0, 0, 0, 0, 105, 106,
+ 0, 0, 0, 107, 0, 0, 356, 440, 357, 358,
+ 0, 0, 0, 359, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 360, 361,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 362, 363, 0, 0, 0, 0, 108, 109, 110,
+ 111, 112, 0, 0, 0, 0, 0, 0, 0, 364,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 113,
+ 0, 114, 115, 116, 117, 118, 119, 0, 120, 0,
+ 0, 121, 122, 123, 124, 125, 126, 127, 128, 129,
+ 130, 131, 132, 133, 134, 135, 136, -574, 0, 441,
+ 0, 0, 0, 0, 0, 0, -574, 0, 0, 0,
+ 0, -574, -574, 0, 0, 0, -574, 0, 0, 0,
+ 0, 0, 0, -574, -574, -574, -574, -574, -574, -574,
+ -574, -574, -574, -574, -574, 0, -574, -574, -574, -574,
+ -574, -574, -574, -574, -574, -574, -574, -574, -574, -574,
+ -574, -574, -574, -574, 0, 0, 0, 0, 0, -574,
+ -574, -574, -574, -574, -574, 1, 2, 3, 4, 5,
+ 6, 7, 8, 0, 0, 0, 0, 0, 9, 0,
+ 0, -574, -574, 156, -574, -574, -574, -574, -574, -574,
+ 11, -574, 0, 0, -574, -574, -574, -574, -574, -574,
+ -574, -574, -574, -574, -574, -574, -574, -574, -574, -574,
+ 103, 1, 2, 3, 4, 5, 6, 7, 8, 104,
+ 0, 0, 0, 0, 705, 106, 610, 0, 0, 706,
+ 611, 0, 612, 0, 613, 358, 11, 0, 0, 615,
+ 0, 0, 0, 0, 157, 61, 62, 63, 64, 0,
+ 0, 0, 0, 0, 360, 361, 162, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 362, 363, 0,
+ 0, 0, 0, 108, 109, 110, 111, 112, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 61, 62, 63, 64, 113, 0, 114, 115, 116,
+ 117, 118, 119, 0, 120, 0, 0, 121, 122, 123,
+ 124, 125, 126, 127, 128, 129, 130, 131, 132, 133,
+ 134, 135, 136, 103, 0, 0, 0, 0, 0, 0,
+ 0, 0, 104, 0, 0, 0, 0, 105, 106, 683,
+ 684, 685, 107, 611, 0, 612, 440, 613, 358, 0,
+ 0, 0, 615, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 360, 361, 162,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 362, 363, 0, 0, 0, 0, 108, 109, 110, 111,
+ 112, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 113, 0,
+ 114, 115, 116, 117, 118, 119, 0, 120, 0, 0,
+ 121, 122, 123, 124, 125, 126, 127, 128, 129, 130,
+ 131, 132, 133, 134, 135, 136, 103, 0, 0, 0,
+ 0, 0, 0, 0, 0, 104, 0, 0, 0, 0,
+ 105, 106, 776, 0, 0, 107, 611, 0, 612, 0,
+ 613, 358, 0, 0, 0, 615, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 153, 0, 0,
+ 360, 361, 162, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 362, 363, 0, 0, 0, 0, 108,
+ 109, 110, 111, 112, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 113, 777, 778, 115, 116, 117, 118, 119, 0,
+ 120, 0, 0, 121, 122, 123, 124, 125, 126, 127,
+ 128, 129, 779, 131, 132, 133, 134, 135, 136, 103,
+ 0, 0, 0, 0, 0, 0, 0, 0, 104, 0,
+ 0, 0, 0, 105, 106, 610, 0, 0, 107, 611,
+ 0, 612, 0, 613, 358, 0, 0, 0, 615, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 153, 0, 0, 360, 361, 162, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 362, 363, 0, 0,
+ 857, 0, 108, 109, 110, 111, 112, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 113, 0, 114, 115, 116, 117,
+ 118, 119, 0, 120, 0, 0, 121, 122, 123, 124,
+ 125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
+ 135, 136, 103, 0, 0, 0, 0, 0, 0, 0,
+ 0, 104, 0, 0, 0, 0, 105, 106, 610, 0,
+ 0, 107, 611, -625, 612, 0, 613, 358, 0, 0,
+ 0, 615, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 153, 0, 0, 360, 361, 162, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 362,
+ 363, 0, 0, 0, 0, 108, 109, 110, 111, 112,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 113, 0, 114,
+ 115, 116, 117, 118, 119, 0, 120, 0, 0, 121,
+ 122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
+ 132, 133, 134, 135, 136, 103, 0, 0, 0, 0,
+ 0, 0, 0, 0, 104, 0, 0, 0, 0, 105,
+ 106, 610, 0, 0, 107, 611, 0, 612, 0, 613,
+ 358, 0, 0, 0, 615, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 153, 0, 0, 360,
+ 361, 162, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 362, 363, 0, 0, 0, 0, 108, 109,
+ 110, 111, 112, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 113, 0, 114, 115, 116, 117, 118, 119, 0, 120,
+ 0, 0, 121, 122, 123, 124, 125, 126, 127, 128,
+ 129, 130, 131, 132, 133, 134, 135, 136, 103, 0,
+ 0, 0, 0, 0, 0, 0, 0, 104, 0, 0,
+ 0, 0, 105, 106, 776, 0, 0, 107, 611, 0,
+ 612, 0, 613, 358, 0, 0, 0, 615, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 360, 361, 162, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 362, 363, 0, 0, 0,
+ 0, 108, 109, 110, 111, 112, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 113, 777, 778, 115, 116, 117, 118,
+ 119, 0, 120, 0, 0, 121, 122, 123, 124, 125,
+ 126, 127, 128, 129, 779, 131, 132, 133, 134, 135,
+ 136, 103, 0, 0, 0, 0, 0, 0, 0, 0,
+ 104, 0, 0, 0, 0, 105, 106, 610, 0, 0,
+ 107, 611, 0, 612, 0, 613, 358, 0, 0, 0,
+ 615, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 360, 361, 162, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 362, 363,
+ 0, 0, 0, 0, 108, 109, 110, 111, 112, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 113, 0, 114, 115,
+ 116, 117, 118, 119, 0, 120, 0, 0, 121, 122,
+ 123, 124, 125, 126, 127, 128, 129, 130, 131, 132,
+ 133, 134, 135, 136, 103, 0, 0, 0, 0, 0,
+ 0, 0, 0, 104, 0, 0, 0, 0, 105, 106,
+ 0, 0, 0, 107, 0, 0, 356, 0, 357, 358,
+ 0, 0, 0, 359, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 360, 361,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 362, 363, 0, 0, 0, 0, 108, 109, 110,
+ 111, 112, 0, 0, 0, 0, 0, 0, 0, 364,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 113,
+ 0, 114, 115, 116, 117, 118, 119, 0, 120, 0,
+ 0, 121, 122, 123, 124, 125, 126, 127, 128, 129,
+ 130, 131, 132, 133, 134, 135, 136, 103, 0, 0,
+ 0, 0, 0, 0, 0, 0, 104, 0, 0, 0,
+ 0, 105, 106, 0, 0, 0, 107, 0, 0, 0,
+ 0, 0, 0, 11, 0, 0, -517, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 162, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 108, 109, 110, 111, 112, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 64, 113, 0, 114, 115, 116, 117, 118, 119,
+ 0, 120, 0, 0, 121, 122, 123, 124, 125, 126,
+ 127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
+ 103, 0, 0, 0, 0, 0, 0, 0, 0, 104,
+ 0, 0, 0, 0, 105, 106, 739, 0, 0, 107,
+ 0, 0, 0, 0, 0, 0, 11, 456, 457, 458,
+ 459, 460, 461, 462, 463, 464, 465, 466, 467, 468,
+ 469, 470, 471, 472, 473, 0, 162, 0, 0, 0,
+ 711, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 108, 109, 110, 111, 112, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 64, 113, 0, 114, 115, 116,
+ 117, 118, 119, 0, 120, 0, 0, 121, 122, 123,
+ 124, 125, 126, 127, 128, 129, 130, 131, 132, 133,
+ 134, 135, 136, 103, 0, 0, 0, 0, 0, 0,
+ 0, 0, 104, 0, 0, 0, 0, 105, 106, 0,
+ 0, 0, 107, 0, 0, 664, 0, 0, 0, 0,
+ 0, 0, 714, 816, 456, 457, 458, 459, 460, 461,
+ 462, 463, 464, 465, 466, 467, 468, 469, 470, 471,
+ 472, 473, 0, 0, 0, 0, 0, 474, 0, 0,
+ 0, 0, 0, 0, 0, 0, 108, 109, 110, 111,
+ 112, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 113, 0,
+ 114, 115, 116, 117, 118, 119, 0, 120, 0, 0,
+ 121, 122, 123, 124, 125, 126, 127, 128, 129, 130,
+ 131, 132, 133, 134, 135, 136, 103, 0, 0, 0,
+ 0, 0, 0, 0, 0, 104, 0, 765, 0, 0,
+ 105, 106, 0, 0, 0, 107, 456, 457, 458, 459,
+ 460, 461, 462, 463, 464, 465, 466, 467, 468, 469,
+ 470, 471, 472, 473, 0, 0, 0, 0, 0, 711,
+ 0, 0, 162, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 108,
+ 109, 110, 111, 112, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 113, 0, 114, 115, 116, 117, 118, 119, 0,
+ 120, 0, 0, 121, 122, 123, 124, 125, 126, 127,
+ 128, 129, 130, 131, 132, 133, 134, 135, 136, 103,
+ 0, 0, 0, 0, 0, 0, 0, 0, 104, 0,
+ 0, 0, 0, 105, 106, 0, 0, 0, 107, 0,
+ 910, 0, 0, 0, 0, 0, 0, 0, 452, 456,
+ 457, 458, 459, 460, 461, 462, 463, 464, 465, 466,
+ 467, 468, 469, 470, 471, 472, 473, 0, 0, 0,
+ 0, 0, 711, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 108, 109, 110, 111, 112, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 113, 0, 114, 115, 116, 117,
+ 118, 119, 0, 120, 0, 0, 121, 122, 123, 124,
+ 125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
+ 135, 136, 103, 0, 0, 0, 0, 0, 0, 0,
+ 0, 104, 0, 0, 0, 0, 105, 106, 0, 0,
+ 0, 107, 0, 0, 875, 0, 0, 0, 0, 0,
+ 0, 714, 456, 457, 458, 459, 460, 461, 462, 463,
+ 464, 465, 466, 467, 468, 469, 470, 471, 472, 473,
+ 0, 0, 0, 0, 0, 711, 0, 0, 0, 0,
+ 0, 103, 0, 0, 0, 108, 109, 110, 111, 112,
+ 104, 0, 0, 0, 0, 105, 106, 0, 0, 0,
+ 107, 0, 0, 0, 0, 0, 0, 113, 0, 114,
+ 115, 116, 117, 118, 119, 0, 120, 0, 0, 121,
+ 122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
+ 132, 133, 134, 135, 136, 0, 0, 0, 0, 0,
+ 0, 0, 741, 0, 108, 109, 110, 111, 112, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 113, 0, 114, 115,
+ 116, 117, 118, 119, 0, 120, 0, 0, 121, 122,
+ 123, 124, 125, 126, 127, 128, 129, 130, 131, 132,
+ 133, 134, 135, 136, 103, 0, 0, 0, 0, 0,
+ 0, 0, 0, 104, 0, 0, 0, 750, 792, 106,
+ 0, 0, 0, 107, 456, 457, 458, 459, 460, 461,
+ 462, 463, 464, 465, 466, 467, 468, 469, 470, 471,
+ 472, 473, 0, 0, 0, 0, 0, 474, 0, 0,
+ 162, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 103, 0, 0, 0, 108, 109, 110,
+ 111, 112, 104, 0, 0, 0, 0, 105, 106, 0,
+ 0, 0, 107, 0, 0, 0, 0, 0, 0, 113,
+ 0, 114, 115, 116, 117, 118, 119, 0, 120, 0,
+ 0, 121, 122, 123, 124, 125, 126, 127, 128, 129,
+ 130, 131, 132, 133, 134, 135, 136, 0, 0, 0,
+ 0, 0, 103, 0, 837, 0, 108, 109, 110, 111,
+ 112, 104, 0, 0, 0, 0, 105, 106, 0, 0,
+ 0, 107, 0, 0, 0, 0, 0, 0, 113, 0,
+ 114, 115, 116, 117, 118, 119, 0, 120, 0, 0,
+ 121, 122, 123, 124, 125, 126, 127, 128, 129, 130,
+ 131, 132, 133, 134, 135, 136, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 108, 109, 110, 111, 112,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 113, 0, 114,
+ 115, 116, 117, 118, 119, 0, 120, 0, 0, 121,
+ 122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
+ 132, 133, 134, 135, 136, 813, 0, 0, 0, 0,
+ 0, 0, 456, 457, 458, 459, 460, 461, 462, 463,
+ 464, 465, 466, 467, 468, 469, 470, 471, 472, 473,
+ 0, 0, 0, 710, 0, 711, 456, 457, 458, 459,
+ 460, 461, 462, 463, 464, 465, 466, 467, 468, 469,
+ 470, 471, 472, 473, 0, 0, 0, 0, 0, 711,
+ 456, 457, 458, 459, 460, 461, 462, 463, 464, 465,
+ 466, 467, 468, 469, 470, 471, 472, 473, 0, 0,
+ 0, 0, 0, 474, 456, 457, 458, 459, 460, 461,
+ 462, 463, 464, 465, 466, 467, 468, 469, 470, 471,
+ 472, 473, 0, 0, 0, 0, 0, 711, 456, 457,
+ 458, 459, 460, 461, 462, 463, 464, 465, 466, 467,
+ 468, 469, 470, 471, 472, 473, 0, 0, 0, 0,
+ 0, 474, 456, 457, 458, 459, 460, 461, 462, 463,
+ 464, 465, 466, 467, 468, 469, 470, 471, 472, 473,
+ 0, 0, 0, 0, 0, 711
};
-typedef struct yyParser yyParser;
-#ifndef NDEBUG
-#include <stdio.h>
-static FILE *yyTraceFILE = 0;
-static char *yyTracePrompt = 0;
-#endif /* NDEBUG */
-
-#ifndef NDEBUG
-/*
-** Turn parser tracing on by giving a stream to which to write the trace
-** and a prompt to preface each trace message. Tracing is turned off
-** by making either argument NULL
-**
-** Inputs:
-** <ul>
-** <li> A FILE* to which trace output should be written.
-** If NULL, then tracing is turned off.
-** <li> A prefix string written at the beginning of every
-** line of trace output. If NULL, then tracing is
-** turned off.
-** </ul>
-**
-** Outputs:
-** None.
-*/
-void ParseTrace(FILE *TraceFILE, char *zTracePrompt){
- yyTraceFILE = TraceFILE;
- yyTracePrompt = zTracePrompt;
- if( yyTraceFILE==0 ) yyTracePrompt = 0;
- else if( yyTracePrompt==0 ) yyTraceFILE = 0;
-}
-#endif /* NDEBUG */
-
-#ifndef NDEBUG
-/* For tracing shifts, the names of all terminals and nonterminals
-** are required. The following table supplies these names */
-static const char *const yyTokenName[] = {
- "$", "BOOL", "INT", "FLOAT",
- "STRING", "DOUBLE", "INT8", "UINT8",
- "INT16", "UINT16", "INT32", "UINT32",
- "INT64", "UINT64", "NAME", "NULL",
- "NUMBER", "TRUE", "FALSE", "QUOTED_STRING",
- "NSNAME", "PIPE", "CARET", "AMPERSAND",
- "LSHIFT", "RSHIFT", "PLUS", "MINUS",
- "ASTERISK", "SLASH", "MODULO", "RCHEVR",
- "LCHEVR", "CMP_GE", "CMP_LE", "OR",
- "AND", "CMP_EQ", "CMP_NE", "TILDE",
- "NOT", "ZVAL", "OBJVAL", "ARRVAL",
- "PATHVAL", "STRLEN", "STRVAL", "FLOATVAL",
- "INTVAL", "BOOLVAL", "COUNT", "TO_OBJECT",
- "TO_ARRAY", "TO_STRING", "TO_INT", "TO_FLOAT",
- "TO_BOOL", "VOID", "MIXED", "ARRAY",
- "OBJECT", "CALLABLE", "PRE_ASSERT", "POST_ASSERT",
- "ERROR", "WARNING", "TEMP", "FREE",
- "SET", "LET", "RETURN", "CALLOC",
- "CALLBACK", "LIB", "ANY", "EOS",
- "EOL", "COMMENT", "HASH", "IFDEF",
- "IFNDEF", "ENDIF", "ELSE", "UNDEF",
- "DEFINE", "NO_WHITESPACE", "LPAREN", "RPAREN",
- "COMMA", "IF", "ELIF", "DEFINED",
- "COLON", "ENUM", "STRUCT", "UNION",
- "LBRACE", "RBRACE", "EQUALS", "CONST",
- "TYPEDEF", "ELLIPSIS", "LBRACKET", "RBRACKET",
- "CHAR", "SHORT", "LONG", "UNSIGNED",
- "SIGNED", "STATIC", "FUNCTION", "DOLLAR_NAME",
- "error", "decl_enum", "decl_enum_items", "decl_enum_item",
- "decl_struct_args_block", "decl_struct_args", "decl_struct", "align_and_size",
- "decl_union", "const_type", "constant", "decl_typedef",
- "decl_typedef_body_ex", "decl_typedef_body", "decl_typedef_body_fn_args", "decl",
- "decl_func", "decl_abi", "decl_var", "decl_vars",
- "decl_arg", "decl_args", "struct_args", "struct_arg",
- "decl_layout", "decl_type", "const_decl_type", "impl",
- "impl_func", "impl_def_val", "impl_var", "impl_arg",
- "impl_args", "impl_vararg", "impl_stmts", "impl_stmt",
- "number", "num_exp", "let_stmt", "let_calloc",
- "let_func", "callback_arg_list", "callback_args", "let_callback",
- "let_exp", "let_exps", "assert_stmt", "set_stmt",
- "set_exp", "set_exps", "set_func", "return_stmt",
- "free_stmt", "free_exps", "free_exp", "impl_type",
- "cpp_exp", "cpp_macro_decl", "cpp_macro_decl_tokens", "cpp_macro_exp",
- "cpp_macro_sig", "cpp_macro_sig_args", "cpp_macro_call", "cpp_macro_call_args",
- "reference", "indirection", "pointers", "file",
- "blocks", "block", "optional_name", "enum_name",
- "struct_name", "union_name", "decl_var_array_size", "decl_scalar_type",
- "decl_scalar_type_short", "decl_scalar_type_long", "decl_scalar_type_long_long", "callback_rval",
+static const short int yycheck[] =
+{
+ 10, 33, 22, 87, 183, 15, 33, 0, 182, 183,
+ 91, 33, 91, 190, 16, 17, 18, 424, 15, 102,
+ 34, 421, 80, 397, 424, 421, 310, 377, 378, 396,
+ 151, 701, 90, 367, 27, 394, 727, 477, 159, 477,
+ 727, 727, 409, 427, 760, 0, 762, 10, 756, 310,
+ 15, 26, 26, 49, 137, 10, 29, 140, 21, 61,
+ 62, 63, 25, 9, 24, 11, 21, 44, 189, 24,
+ 25, 0, 27, 29, 433, 359, 25, 33, 80, 6,
+ 37, 365, 9, 31, 94, 125, 35, 778, 36, 91,
+ 92, 93, 808, 37, 26, 786, 32, 94, 100, 29,
+ 786, 33, 65, 33, 64, 29, 26, 27, 442, 33,
+ 65, 32, 32, 34, 87, 31, 32, 451, 34, 32,
+ 454, 17, 18, 3, 44, 484, 6, 36, 124, 94,
+ 10, 87, 12, 36, 842, 92, 93, 94, 95, 96,
+ 810, 98, 99, 31, 119, 406, 34, 157, 92, 93,
+ 94, 95, 96, 30, 98, 99, 31, 87, 190, 829,
+ 157, 32, 31, 87, 36, 167, 35, 36, 6, 7,
+ 8, 455, 182, 183, 35, 36, 35, 885, 4, 5,
+ 6, 23, 184, 9, 854, 876, 31, 150, 36, 876,
+ 474, 475, 157, 156, 23, 150, 22, 36, 889, 915,
+ 32, 156, 38, 4, 5, 6, 897, 31, 9, 33,
+ 34, 897, 35, 36, 110, 111, 112, 113, 114, 115,
+ 911, 22, 606, 31, 911, 33, 34, 311, 6, 310,
+ 32, 310, 672, 32, 672, 33, 34, 677, 31, 677,
+ 4, 5, 6, 7, 8, 9, 10, 11, 918, 33,
+ 34, 33, 34, 17, 17, 18, 615, 631, 22, 618,
+ 634, 3, 383, 31, 6, 29, 33, 34, 10, 32,
+ 12, 13, 14, 15, 16, 17, 35, 636, 359, 36,
+ 359, 32, 33, 32, 365, 40, 365, 3, 33, 34,
+ 6, 33, 350, 660, 10, 31, 12, 13, 14, 15,
+ 16, 17, 49, 477, 33, 34, 92, 93, 310, 92,
+ 93, 94, 95, 96, 31, 98, 99, 6, 26, 32,
+ 84, 85, 86, 87, 34, 40, 26, 91, 34, 729,
+ 34, 32, 666, 729, 22, 669, 670, 100, 101, 102,
+ 103, 104, 105, 106, 107, 108, 32, 714, 39, 32,
+ 717, 31, 711, 712, 31, 64, 37, 359, 40, 123,
+ 32, 64, 364, 365, 40, 24, 40, 32, 727, 396,
+ 32, 31, 33, 25, 455, 33, 455, 409, 33, 35,
+ 34, 31, 409, 40, 35, 33, 33, 409, 420, 33,
+ 422, 34, 424, 474, 475, 474, 475, 34, 772, 34,
+ 774, 775, 35, 32, 109, 764, 32, 757, 758, 34,
+ 33, 64, 4, 5, 6, 7, 8, 9, 10, 11,
+ 33, 423, 25, 35, 32, 17, 31, 786, 97, 33,
+ 22, 831, 33, 33, 448, 831, 438, 29, 32, 35,
+ 33, 615, 31, 33, 25, 37, 478, 479, 34, 31,
+ 452, 630, 811, 455, 813, 862, 630, 32, 34, 633,
+ 33, 33, 862, 797, 798, 749, 750, 477, 33, 828,
+ 34, 32, 474, 475, 34, 24, 17, 18, 852, 879,
+ 477, 32, 97, 879, 477, 32, 25, 33, 32, 25,
+ 890, 33, 84, 85, 86, 87, 33, 35, 672, 34,
+ 34, 33, 33, 677, 33, 4, 5, 6, 7, 8,
+ 9, 10, 11, 32, 34, 33, 875, 876, 17, 25,
+ 920, 32, 32, 22, 920, 33, 33, 157, 33, 121,
+ 29, 931, 33, 33, 27, 811, 677, 672, 897, 178,
+ 158, 604, 40, 917, 24, 633, 380, 804, 637, 448,
+ 21, 168, 911, 762, 19, 386, 911, 734, 932, 100,
+ 101, 102, 103, 104, 105, 106, 107, 108, 420, 777,
+ 889, 4, 5, 6, 7, 8, 9, 10, 11, 931,
+ 825, 736, -1, -1, 17, 84, 85, 86, 87, 22,
+ 769, -1, -1, 26, 27, 769, 679, 680, -1, -1,
+ -1, 4, 5, 6, 7, 8, 9, 10, 11, -1,
+ -1, 44, -1, -1, 17, -1, -1, -1, -1, 22,
+ 630, -1, 624, 633, 123, 657, -1, -1, -1, -1,
+ -1, -1, -1, 660, -1, 637, -1, -1, -1, -1,
+ -1, -1, -1, -1, 676, -1, -1, -1, -1, 676,
+ -1, 84, 85, 86, 676, -1, 658, -1, -1, -1,
+ -1, -1, 672, -1, -1, -1, -1, 677, 749, 750,
+ 749, 750, -1, -1, -1, 672, 678, -1, -1, 672,
+ 677, 84, 85, 86, 677, 707, -1, 714, -1, -1,
+ 717, 870, -1, -1, -1, -1, 870, -1, -1, 731,
+ -1, -1, 734, -1, -1, 737, -1, -1, -1, 888,
+ -1, 795, -1, 733, 888, -1, -1, 4, 5, 6,
+ 7, 8, 9, 10, 11, -1, -1, -1, -1, -1,
+ 17, -1, -1, -1, 736, 22, -1, -1, -1, -1,
+ -1, -1, 29, 30, 31, 924, -1, 749, 750, -1,
+ 924, -1, -1, -1, 41, -1, -1, 789, -1, 769,
+ -1, -1, -1, -1, -1, -1, 768, -1, -1, 771,
+ 802, 30, -1, 805, 806, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 810, -1, -1, 825, 796, -1, 83, 84, 85, 86,
+ 87, 88, 89, -1, 91, -1, -1, 66, 67, 68,
+ 69, 70, 71, 72, 73, 74, 75, 76, 77, -1,
+ 79, 80, 81, 82, -1, -1, -1, -1, -1, 116,
+ -1, -1, -1, -1, 121, 867, 123, -1, -1, -1,
+ -1, -1, -1, -1, 876, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 870, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 888, 911,
+ -1, -1, -1, -1, 0, -1, -1, 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, 924, 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, -1, 81, -1, 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, -1, -1, 119, -1, 121, 122, 123, 124, 125,
+ 0, -1, -1, 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,
+ -1, 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,
+ -1, 81, -1, 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, -1, -1, 119,
+ -1, 121, 122, 123, 124, 125, 0, -1, -1, 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, -1, 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, -1, 81, -1, 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, -1, -1, 119, -1, 121, 122, 123,
+ 124, 125, 0, -1, -1, 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, -1, 31, 32, 33, 34, 35, 36, -1,
+ 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, -1, 81, -1, 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, 3,
+ -1, 119, -1, 121, 122, 123, 124, 125, 12, -1,
+ -1, -1, -1, 17, 18, 19, -1, -1, 22, 23,
+ -1, 25, -1, 27, 28, 29, -1, -1, 32, -1,
+ -1, -1, -1, 4, 5, 6, 7, 8, 9, 10,
+ 11, -1, -1, 47, 48, 49, 17, -1, -1, -1,
+ -1, 22, -1, -1, -1, -1, 60, 61, 29, -1,
+ -1, -1, 66, 67, 68, 69, 70, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 87, 88, -1, 90, 91, 92, 93,
+ 94, 95, -1, 97, -1, -1, 100, 101, 102, 103,
+ 104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
+ 114, 115, -1, 84, 85, 86, 87, -1, -1, -1,
+ 124, 4, 5, 6, 7, 8, 9, 10, 11, -1,
+ -1, -1, -1, -1, 17, -1, -1, -1, -1, 22,
+ -1, -1, 3, -1, -1, -1, 29, -1, -1, -1,
+ 121, 12, -1, -1, -1, -1, 17, 18, -1, -1,
+ -1, 22, -1, -1, 25, 26, 27, 28, -1, -1,
+ -1, 32, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 47, 48, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 60,
+ 61, 84, 85, 86, 87, 66, 67, 68, 69, 70,
+ -1, -1, -1, -1, -1, -1, -1, 78, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 88, -1, 90,
+ 91, 92, 93, 94, 95, -1, 97, -1, 121, 100,
+ 101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
+ 111, 112, 113, 114, 115, 3, -1, 118, -1, -1,
+ -1, -1, -1, -1, 12, -1, -1, -1, -1, 17,
+ 18, -1, -1, -1, 22, -1, -1, 25, 26, 27,
+ 28, -1, -1, -1, 32, -1, -1, -1, -1, -1,
+ -1, 4, 5, 6, 7, 8, 9, 10, 11, 47,
+ 48, -1, -1, -1, 17, -1, -1, -1, -1, 22,
+ -1, -1, 60, 61, -1, -1, 29, -1, 66, 67,
+ 68, 69, 70, -1, -1, -1, -1, -1, -1, -1,
+ 78, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 88, -1, 90, 91, 92, 93, 94, 95, -1, 97,
+ -1, -1, 100, 101, 102, 103, 104, 105, 106, 107,
+ 108, 109, 110, 111, 112, 113, 114, 115, 3, -1,
+ 118, 84, 85, 86, 87, -1, -1, 12, -1, -1,
+ -1, -1, 17, 18, -1, -1, -1, 22, -1, -1,
+ 25, 26, 27, 28, -1, -1, -1, 32, -1, -1,
+ -1, -1, -1, -1, 4, 5, 6, 7, 8, 9,
+ 10, 11, 47, 48, -1, -1, -1, 17, -1, -1,
+ -1, -1, 22, -1, -1, 60, 61, -1, -1, 29,
+ -1, 66, 67, 68, 69, 70, -1, -1, -1, -1,
+ -1, -1, -1, 78, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 88, -1, 90, 91, 92, 93, 94,
+ 95, -1, 97, -1, -1, 100, 101, 102, 103, 104,
+ 105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
+ 115, 3, -1, 118, 84, 85, 86, 87, -1, -1,
+ 12, -1, -1, -1, -1, 17, 18, -1, -1, -1,
+ 22, -1, -1, 25, 26, 27, 28, -1, -1, -1,
+ 32, -1, -1, -1, -1, -1, -1, 4, 5, 6,
+ 7, 8, 9, 10, 11, 47, 48, -1, -1, -1,
+ 17, -1, -1, -1, -1, 22, -1, -1, 60, 61,
+ -1, -1, 29, -1, 66, 67, 68, 69, 70, -1,
+ -1, -1, -1, -1, -1, -1, 78, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 88, -1, 90, 91,
+ 92, 93, 94, 95, -1, 97, -1, -1, 100, 101,
+ 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
+ 112, 113, 114, 115, 3, -1, 118, 84, 85, 86,
+ 87, -1, -1, 12, -1, -1, -1, -1, 17, 18,
+ -1, -1, -1, 22, -1, -1, 25, 26, 27, 28,
+ -1, -1, -1, 32, -1, -1, -1, -1, -1, -1,
+ 4, 5, 6, 7, 8, 9, 10, 11, 47, 48,
+ -1, -1, -1, 17, -1, -1, -1, -1, 22, -1,
+ -1, 60, 61, -1, -1, 29, -1, 66, 67, 68,
+ 69, 70, -1, -1, -1, -1, -1, -1, -1, 78,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 88,
+ -1, 90, 91, 92, 93, 94, 95, -1, 97, -1,
+ -1, 100, 101, 102, 103, 104, 105, 106, 107, 108,
+ 109, 110, 111, 112, 113, 114, 115, 3, -1, 118,
+ 84, 85, 86, 87, -1, -1, 12, -1, -1, -1,
+ -1, 17, 18, -1, -1, -1, 22, -1, -1, 25,
+ 26, 27, 28, -1, -1, -1, 32, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 47, 48, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 60, 61, -1, -1, -1, -1,
+ 66, 67, 68, 69, 70, -1, -1, -1, -1, -1,
+ -1, -1, 78, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 88, -1, 90, 91, 92, 93, 94, 95,
+ -1, 97, -1, -1, 100, 101, 102, 103, 104, 105,
+ 106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
+ 3, -1, 118, -1, -1, -1, -1, -1, -1, 12,
+ -1, -1, -1, -1, 17, 18, -1, -1, -1, 22,
+ -1, -1, 25, 26, 27, 28, -1, -1, -1, 32,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 47, 48, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 60, 61, -1,
+ -1, -1, -1, 66, 67, 68, 69, 70, -1, -1,
+ -1, -1, -1, -1, -1, 78, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 88, -1, 90, 91, 92,
+ 93, 94, 95, -1, 97, -1, -1, 100, 101, 102,
+ 103, 104, 105, 106, 107, 108, 109, 110, 111, 112,
+ 113, 114, 115, 3, -1, 118, -1, -1, -1, -1,
+ -1, -1, 12, -1, -1, -1, -1, 17, 18, -1,
+ -1, -1, 22, -1, -1, 25, 26, 27, 28, -1,
+ -1, -1, 32, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 47, 48, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 60, 61, -1, -1, -1, -1, 66, 67, 68, 69,
+ 70, -1, -1, -1, -1, -1, -1, -1, 78, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 88, -1,
+ 90, 91, 92, 93, 94, 95, -1, 97, -1, -1,
+ 100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
+ 110, 111, 112, 113, 114, 115, 3, -1, 118, -1,
+ -1, -1, -1, -1, -1, 12, -1, -1, -1, -1,
+ 17, 18, -1, -1, -1, 22, -1, -1, 25, 26,
+ 27, 28, -1, -1, -1, 32, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 47, 48, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 60, 61, -1, -1, -1, -1, 66,
+ 67, 68, 69, 70, -1, -1, -1, -1, -1, -1,
+ -1, 78, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 88, -1, 90, 91, 92, 93, 94, 95, -1,
+ 97, -1, -1, 100, 101, 102, 103, 104, 105, 106,
+ 107, 108, 109, 110, 111, 112, 113, 114, 115, 3,
+ -1, 118, -1, -1, -1, -1, -1, -1, 12, -1,
+ -1, -1, -1, 17, 18, -1, -1, -1, 22, -1,
+ -1, 25, 26, 27, 28, -1, -1, -1, 32, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 47, 48, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 60, 61, -1, -1,
+ -1, -1, 66, 67, 68, 69, 70, -1, -1, -1,
+ -1, -1, -1, -1, 78, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 88, -1, 90, 91, 92, 93,
+ 94, 95, -1, 97, -1, -1, 100, 101, 102, 103,
+ 104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
+ 114, 115, 3, -1, 118, -1, -1, -1, -1, -1,
+ -1, 12, -1, -1, -1, -1, 17, 18, -1, -1,
+ -1, 22, -1, -1, 25, 26, 27, 28, -1, -1,
+ -1, 32, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 47, 48, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 60,
+ 61, -1, -1, -1, -1, 66, 67, 68, 69, 70,
+ -1, -1, -1, -1, -1, -1, -1, 78, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 88, -1, 90,
+ 91, 92, 93, 94, 95, -1, 97, -1, -1, 100,
+ 101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
+ 111, 112, 113, 114, 115, 3, -1, 118, -1, -1,
+ -1, -1, -1, -1, 12, -1, -1, -1, -1, 17,
+ 18, -1, -1, -1, 22, -1, -1, 25, 26, 27,
+ 28, -1, -1, -1, 32, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 47,
+ 48, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 60, 61, -1, -1, -1, -1, 66, 67,
+ 68, 69, 70, -1, -1, -1, -1, -1, -1, -1,
+ 78, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 88, -1, 90, 91, 92, 93, 94, 95, -1, 97,
+ -1, -1, 100, 101, 102, 103, 104, 105, 106, 107,
+ 108, 109, 110, 111, 112, 113, 114, 115, 3, -1,
+ 118, -1, -1, -1, -1, -1, -1, 12, -1, -1,
+ -1, -1, 17, 18, -1, -1, -1, 22, -1, -1,
+ 25, 26, 27, 28, -1, -1, -1, 32, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 47, 48, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 60, 61, -1, -1, -1,
+ -1, 66, 67, 68, 69, 70, -1, -1, -1, -1,
+ -1, -1, -1, 78, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 88, -1, 90, 91, 92, 93, 94,
+ 95, -1, 97, -1, -1, 100, 101, 102, 103, 104,
+ 105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
+ 115, 3, -1, 118, -1, -1, -1, -1, -1, -1,
+ 12, -1, -1, -1, -1, 17, 18, -1, -1, -1,
+ 22, -1, -1, 25, 26, 27, 28, -1, -1, -1,
+ 32, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 47, 48, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 60, 61,
+ -1, -1, -1, -1, 66, 67, 68, 69, 70, -1,
+ -1, -1, -1, -1, -1, -1, 78, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 88, -1, 90, 91,
+ 92, 93, 94, 95, -1, 97, -1, -1, 100, 101,
+ 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
+ 112, 113, 114, 115, 3, -1, 118, -1, -1, -1,
+ -1, -1, -1, 12, -1, -1, -1, -1, 17, 18,
+ -1, -1, -1, 22, -1, -1, 25, 26, 27, 28,
+ -1, -1, -1, 32, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 47, 48,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 60, 61, -1, -1, -1, -1, 66, 67, 68,
+ 69, 70, -1, -1, -1, -1, -1, -1, -1, 78,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 88,
+ -1, 90, 91, 92, 93, 94, 95, -1, 97, -1,
+ -1, 100, 101, 102, 103, 104, 105, 106, 107, 108,
+ 109, 110, 111, 112, 113, 114, 115, 3, -1, 118,
+ -1, -1, -1, -1, -1, -1, 12, -1, -1, -1,
+ -1, 17, 18, -1, -1, -1, 22, -1, -1, 25,
+ 26, 27, 28, -1, -1, -1, 32, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 47, 48, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 60, 61, -1, -1, -1, -1,
+ 66, 67, 68, 69, 70, -1, -1, -1, -1, -1,
+ -1, -1, 78, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 88, -1, 90, 91, 92, 93, 94, 95,
+ -1, 97, -1, -1, 100, 101, 102, 103, 104, 105,
+ 106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
+ 3, -1, 118, -1, -1, -1, -1, -1, -1, 12,
+ -1, -1, -1, -1, 17, 18, -1, -1, -1, 22,
+ -1, -1, 25, 26, 27, 28, -1, -1, -1, 32,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 47, 48, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 60, 61, -1,
+ -1, -1, -1, 66, 67, 68, 69, 70, -1, -1,
+ -1, -1, -1, -1, -1, 78, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 88, -1, 90, 91, 92,
+ 93, 94, 95, -1, 97, -1, -1, 100, 101, 102,
+ 103, 104, 105, 106, 107, 108, 109, 110, 111, 112,
+ 113, 114, 115, 3, -1, 118, -1, -1, -1, -1,
+ -1, -1, 12, -1, -1, -1, -1, 17, 18, -1,
+ -1, -1, 22, -1, -1, 25, 26, 27, 28, -1,
+ -1, -1, 32, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 47, 48, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 60, 61, -1, -1, -1, -1, 66, 67, 68, 69,
+ 70, -1, -1, -1, -1, -1, -1, -1, 78, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 88, -1,
+ 90, 91, 92, 93, 94, 95, -1, 97, -1, -1,
+ 100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
+ 110, 111, 112, 113, 114, 115, 3, -1, 118, -1,
+ -1, -1, -1, -1, -1, 12, -1, -1, -1, -1,
+ 17, 18, -1, -1, -1, 22, -1, -1, 25, 26,
+ 27, 28, -1, -1, -1, 32, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 47, 48, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 60, 61, -1, -1, -1, -1, 66,
+ 67, 68, 69, 70, -1, -1, -1, -1, -1, -1,
+ -1, 78, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 88, -1, 90, 91, 92, 93, 94, 95, -1,
+ 97, -1, -1, 100, 101, 102, 103, 104, 105, 106,
+ 107, 108, 109, 110, 111, 112, 113, 114, 115, 3,
+ -1, 118, -1, -1, -1, -1, -1, -1, 12, -1,
+ -1, -1, -1, 17, 18, -1, -1, -1, 22, -1,
+ -1, 25, 26, 27, 28, -1, -1, -1, 32, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 47, 48, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 60, 61, -1, -1,
+ -1, -1, 66, 67, 68, 69, 70, -1, -1, -1,
+ -1, -1, -1, -1, 78, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 88, -1, 90, 91, 92, 93,
+ 94, 95, -1, 97, -1, -1, 100, 101, 102, 103,
+ 104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
+ 114, 115, 3, -1, 118, -1, -1, -1, -1, -1,
+ -1, 12, -1, -1, -1, -1, 17, 18, -1, -1,
+ -1, 22, -1, -1, 25, 26, 27, 28, -1, -1,
+ -1, 32, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 47, 48, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 60,
+ 61, -1, -1, -1, -1, 66, 67, 68, 69, 70,
+ -1, -1, -1, -1, -1, -1, -1, 78, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 88, -1, 90,
+ 91, 92, 93, 94, 95, -1, 97, -1, -1, 100,
+ 101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
+ 111, 112, 113, 114, 115, 3, -1, 118, -1, -1,
+ -1, -1, -1, -1, 12, -1, -1, -1, -1, 17,
+ 18, -1, -1, -1, 22, -1, -1, 25, 26, 27,
+ 28, -1, -1, -1, 32, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 47,
+ 48, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 60, 61, -1, -1, -1, -1, 66, 67,
+ 68, 69, 70, -1, -1, -1, -1, -1, -1, -1,
+ 78, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 88, -1, 90, 91, 92, 93, 94, 95, -1, 97,
+ -1, -1, 100, 101, 102, 103, 104, 105, 106, 107,
+ 108, 109, 110, 111, 112, 113, 114, 115, 3, -1,
+ 118, -1, -1, -1, -1, -1, -1, 12, -1, -1,
+ -1, -1, 17, 18, -1, -1, -1, 22, -1, -1,
+ 25, 26, 27, 28, -1, -1, -1, 32, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 47, 48, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 60, 61, -1, -1, -1,
+ -1, 66, 67, 68, 69, 70, -1, -1, -1, -1,
+ -1, -1, -1, 78, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 88, -1, 90, 91, 92, 93, 94,
+ 95, -1, 97, -1, -1, 100, 101, 102, 103, 104,
+ 105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
+ 115, 3, -1, 118, -1, -1, -1, -1, -1, -1,
+ 12, -1, -1, -1, -1, 17, 18, -1, -1, -1,
+ 22, -1, -1, 25, 26, 27, 28, -1, -1, -1,
+ 32, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 47, 48, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 60, 61,
+ -1, -1, -1, -1, 66, 67, 68, 69, 70, -1,
+ -1, -1, -1, -1, -1, -1, 78, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 88, -1, 90, 91,
+ 92, 93, 94, 95, -1, 97, -1, -1, 100, 101,
+ 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
+ 112, 113, 114, 115, 3, -1, 118, -1, -1, -1,
+ -1, -1, -1, 12, -1, -1, -1, -1, 17, 18,
+ -1, -1, -1, 22, -1, -1, 25, 26, 27, 28,
+ -1, -1, -1, 32, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 47, 48,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 60, 61, -1, -1, -1, -1, 66, 67, 68,
+ 69, 70, -1, -1, -1, -1, -1, -1, -1, 78,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 88,
+ -1, 90, 91, 92, 93, 94, 95, -1, 97, -1,
+ -1, 100, 101, 102, 103, 104, 105, 106, 107, 108,
+ 109, 110, 111, 112, 113, 114, 115, 3, -1, 118,
+ -1, -1, -1, -1, -1, -1, 12, -1, -1, -1,
+ -1, 17, 18, -1, -1, -1, 22, -1, -1, 25,
+ 26, 27, 28, -1, -1, -1, 32, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 47, 48, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 60, 61, -1, -1, -1, -1,
+ 66, 67, 68, 69, 70, -1, -1, -1, -1, -1,
+ -1, -1, 78, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 88, -1, 90, 91, 92, 93, 94, 95,
+ -1, 97, -1, -1, 100, 101, 102, 103, 104, 105,
+ 106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
+ 3, -1, 118, -1, -1, -1, -1, -1, -1, 12,
+ -1, -1, -1, -1, 17, 18, -1, -1, -1, 22,
+ -1, -1, 25, 26, 27, 28, -1, -1, -1, 32,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 47, 48, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 60, 61, -1,
+ -1, -1, -1, 66, 67, 68, 69, 70, -1, -1,
+ -1, -1, -1, -1, -1, 78, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 88, -1, 90, 91, 92,
+ 93, 94, 95, -1, 97, -1, -1, 100, 101, 102,
+ 103, 104, 105, 106, 107, 108, 109, 110, 111, 112,
+ 113, 114, 115, 3, -1, 118, -1, -1, -1, -1,
+ -1, -1, 12, -1, -1, -1, -1, 17, 18, -1,
+ -1, -1, 22, -1, -1, 25, 26, 27, 28, -1,
+ -1, -1, 32, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 47, 48, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 60, 61, -1, -1, -1, -1, 66, 67, 68, 69,
+ 70, -1, -1, -1, -1, -1, -1, -1, 78, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 88, -1,
+ 90, 91, 92, 93, 94, 95, -1, 97, -1, -1,
+ 100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
+ 110, 111, 112, 113, 114, 115, 3, -1, 118, -1,
+ -1, -1, -1, -1, -1, 12, -1, -1, -1, -1,
+ 17, 18, -1, -1, -1, 22, -1, -1, 25, 26,
+ 27, 28, -1, -1, -1, 32, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 47, 48, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 60, 61, -1, -1, -1, -1, 66,
+ 67, 68, 69, 70, -1, -1, -1, -1, -1, -1,
+ -1, 78, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 88, -1, 90, 91, 92, 93, 94, 95, -1,
+ 97, -1, -1, 100, 101, 102, 103, 104, 105, 106,
+ 107, 108, 109, 110, 111, 112, 113, 114, 115, 3,
+ -1, 118, -1, -1, -1, -1, -1, -1, 12, -1,
+ -1, -1, -1, 17, 18, -1, -1, -1, 22, -1,
+ -1, 25, 26, 27, 28, -1, -1, -1, 32, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 47, 48, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 60, 61, -1, -1,
+ -1, -1, 66, 67, 68, 69, 70, -1, -1, -1,
+ -1, -1, -1, -1, 78, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 88, -1, 90, 91, 92, 93,
+ 94, 95, -1, 97, -1, -1, 100, 101, 102, 103,
+ 104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
+ 114, 115, 3, -1, 118, -1, -1, -1, -1, -1,
+ -1, 12, -1, -1, -1, -1, 17, 18, -1, -1,
+ -1, 22, -1, -1, 25, 26, 27, 28, -1, -1,
+ -1, 32, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 47, 48, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 60,
+ 61, -1, -1, -1, -1, 66, 67, 68, 69, 70,
+ -1, -1, -1, -1, -1, -1, -1, 78, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 88, -1, 90,
+ 91, 92, 93, 94, 95, -1, 97, -1, -1, 100,
+ 101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
+ 111, 112, 113, 114, 115, 3, -1, 118, -1, -1,
+ -1, -1, -1, -1, 12, -1, -1, -1, -1, 17,
+ 18, -1, -1, -1, 22, -1, -1, 25, 26, 27,
+ 28, -1, -1, -1, 32, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 47,
+ 48, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 60, 61, -1, -1, -1, -1, 66, 67,
+ 68, 69, 70, -1, -1, -1, -1, -1, -1, -1,
+ 78, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 88, -1, 90, 91, 92, 93, 94, 95, -1, 97,
+ -1, -1, 100, 101, 102, 103, 104, 105, 106, 107,
+ 108, 109, 110, 111, 112, 113, 114, 115, 3, -1,
+ 118, -1, -1, -1, -1, -1, -1, 12, -1, -1,
+ -1, -1, 17, 18, -1, -1, -1, 22, -1, -1,
+ 25, 26, 27, 28, -1, -1, -1, 32, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 47, 48, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 60, 61, -1, -1, -1,
+ -1, 66, 67, 68, 69, 70, -1, -1, -1, -1,
+ -1, -1, -1, 78, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 88, -1, 90, 91, 92, 93, 94,
+ 95, -1, 97, -1, -1, 100, 101, 102, 103, 104,
+ 105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
+ 115, 3, -1, 118, -1, -1, -1, -1, -1, -1,
+ 12, -1, -1, -1, -1, 17, 18, -1, -1, -1,
+ 22, -1, -1, 25, 26, 27, 28, -1, -1, -1,
+ 32, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 47, 48, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 60, 61,
+ -1, -1, -1, -1, 66, 67, 68, 69, 70, -1,
+ -1, -1, -1, -1, -1, -1, 78, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 88, -1, 90, 91,
+ 92, 93, 94, 95, -1, 97, -1, -1, 100, 101,
+ 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
+ 112, 113, 114, 115, 3, -1, 118, -1, -1, -1,
+ -1, -1, -1, 12, -1, -1, -1, -1, 17, 18,
+ -1, -1, -1, 22, -1, -1, 25, 26, 27, 28,
+ -1, -1, -1, 32, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 47, 48,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 60, 61, -1, -1, -1, -1, 66, 67, 68,
+ 69, 70, -1, -1, -1, -1, -1, -1, -1, 78,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 88,
+ -1, 90, 91, 92, 93, 94, 95, -1, 97, -1,
+ -1, 100, 101, 102, 103, 104, 105, 106, 107, 108,
+ 109, 110, 111, 112, 113, 114, 115, 3, -1, 118,
+ -1, -1, -1, -1, -1, -1, 12, -1, -1, -1,
+ -1, 17, 18, -1, -1, -1, 22, -1, -1, -1,
+ -1, -1, -1, 29, 30, 31, 32, 33, 34, 35,
+ 36, 37, 38, 39, 40, -1, 42, 43, 44, 45,
+ 46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
+ 56, 57, 58, 59, -1, -1, -1, -1, -1, 65,
+ 66, 67, 68, 69, 70, 4, 5, 6, 7, 8,
+ 9, 10, 11, -1, -1, -1, -1, -1, 17, -1,
+ -1, 87, 88, 22, 90, 91, 92, 93, 94, 95,
+ 29, 97, -1, -1, 100, 101, 102, 103, 104, 105,
+ 106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
+ 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
+ -1, -1, -1, -1, 17, 18, 19, -1, -1, 22,
+ 23, -1, 25, -1, 27, 28, 29, -1, -1, 32,
+ -1, -1, -1, -1, 83, 84, 85, 86, 87, -1,
+ -1, -1, -1, -1, 47, 48, 49, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 60, 61, -1,
+ -1, -1, -1, 66, 67, 68, 69, 70, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 84, 85, 86, 87, 88, -1, 90, 91, 92,
+ 93, 94, 95, -1, 97, -1, -1, 100, 101, 102,
+ 103, 104, 105, 106, 107, 108, 109, 110, 111, 112,
+ 113, 114, 115, 3, -1, -1, -1, -1, -1, -1,
+ -1, -1, 12, -1, -1, -1, -1, 17, 18, 19,
+ 20, 21, 22, 23, -1, 25, 26, 27, 28, -1,
+ -1, -1, 32, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 47, 48, 49,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 60, 61, -1, -1, -1, -1, 66, 67, 68, 69,
+ 70, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 88, -1,
+ 90, 91, 92, 93, 94, 95, -1, 97, -1, -1,
+ 100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
+ 110, 111, 112, 113, 114, 115, 3, -1, -1, -1,
+ -1, -1, -1, -1, -1, 12, -1, -1, -1, -1,
+ 17, 18, 19, -1, -1, 22, 23, -1, 25, -1,
+ 27, 28, -1, -1, -1, 32, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 44, -1, -1,
+ 47, 48, 49, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 60, 61, -1, -1, -1, -1, 66,
+ 67, 68, 69, 70, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 88, 89, 90, 91, 92, 93, 94, 95, -1,
+ 97, -1, -1, 100, 101, 102, 103, 104, 105, 106,
+ 107, 108, 109, 110, 111, 112, 113, 114, 115, 3,
+ -1, -1, -1, -1, -1, -1, -1, -1, 12, -1,
+ -1, -1, -1, 17, 18, 19, -1, -1, 22, 23,
+ -1, 25, -1, 27, 28, -1, -1, -1, 32, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 44, -1, -1, 47, 48, 49, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 60, 61, -1, -1,
+ 64, -1, 66, 67, 68, 69, 70, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 88, -1, 90, 91, 92, 93,
+ 94, 95, -1, 97, -1, -1, 100, 101, 102, 103,
+ 104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
+ 114, 115, 3, -1, -1, -1, -1, -1, -1, -1,
+ -1, 12, -1, -1, -1, -1, 17, 18, 19, -1,
+ -1, 22, 23, 24, 25, -1, 27, 28, -1, -1,
+ -1, 32, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 44, -1, -1, 47, 48, 49, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 60,
+ 61, -1, -1, -1, -1, 66, 67, 68, 69, 70,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 88, -1, 90,
+ 91, 92, 93, 94, 95, -1, 97, -1, -1, 100,
+ 101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
+ 111, 112, 113, 114, 115, 3, -1, -1, -1, -1,
+ -1, -1, -1, -1, 12, -1, -1, -1, -1, 17,
+ 18, 19, -1, -1, 22, 23, -1, 25, -1, 27,
+ 28, -1, -1, -1, 32, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 44, -1, -1, 47,
+ 48, 49, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 60, 61, -1, -1, -1, -1, 66, 67,
+ 68, 69, 70, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 88, -1, 90, 91, 92, 93, 94, 95, -1, 97,
+ -1, -1, 100, 101, 102, 103, 104, 105, 106, 107,
+ 108, 109, 110, 111, 112, 113, 114, 115, 3, -1,
+ -1, -1, -1, -1, -1, -1, -1, 12, -1, -1,
+ -1, -1, 17, 18, 19, -1, -1, 22, 23, -1,
+ 25, -1, 27, 28, -1, -1, -1, 32, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 47, 48, 49, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 60, 61, -1, -1, -1,
+ -1, 66, 67, 68, 69, 70, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 88, 89, 90, 91, 92, 93, 94,
+ 95, -1, 97, -1, -1, 100, 101, 102, 103, 104,
+ 105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
+ 115, 3, -1, -1, -1, -1, -1, -1, -1, -1,
+ 12, -1, -1, -1, -1, 17, 18, 19, -1, -1,
+ 22, 23, -1, 25, -1, 27, 28, -1, -1, -1,
+ 32, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 47, 48, 49, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 60, 61,
+ -1, -1, -1, -1, 66, 67, 68, 69, 70, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 88, -1, 90, 91,
+ 92, 93, 94, 95, -1, 97, -1, -1, 100, 101,
+ 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
+ 112, 113, 114, 115, 3, -1, -1, -1, -1, -1,
+ -1, -1, -1, 12, -1, -1, -1, -1, 17, 18,
+ -1, -1, -1, 22, -1, -1, 25, -1, 27, 28,
+ -1, -1, -1, 32, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 47, 48,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 60, 61, -1, -1, -1, -1, 66, 67, 68,
+ 69, 70, -1, -1, -1, -1, -1, -1, -1, 78,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 88,
+ -1, 90, 91, 92, 93, 94, 95, -1, 97, -1,
+ -1, 100, 101, 102, 103, 104, 105, 106, 107, 108,
+ 109, 110, 111, 112, 113, 114, 115, 3, -1, -1,
+ -1, -1, -1, -1, -1, -1, 12, -1, -1, -1,
+ -1, 17, 18, -1, -1, -1, 22, -1, -1, -1,
+ -1, -1, -1, 29, -1, -1, 32, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 49, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 66, 67, 68, 69, 70, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 87, 88, -1, 90, 91, 92, 93, 94, 95,
+ -1, 97, -1, -1, 100, 101, 102, 103, 104, 105,
+ 106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
+ 3, -1, -1, -1, -1, -1, -1, -1, -1, 12,
+ -1, -1, -1, -1, 17, 18, 31, -1, -1, 22,
+ -1, -1, -1, -1, -1, -1, 29, 42, 43, 44,
+ 45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
+ 55, 56, 57, 58, 59, -1, 49, -1, -1, -1,
+ 65, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 66, 67, 68, 69, 70, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 87, 88, -1, 90, 91, 92,
+ 93, 94, 95, -1, 97, -1, -1, 100, 101, 102,
+ 103, 104, 105, 106, 107, 108, 109, 110, 111, 112,
+ 113, 114, 115, 3, -1, -1, -1, -1, -1, -1,
+ -1, -1, 12, -1, -1, -1, -1, 17, 18, -1,
+ -1, -1, 22, -1, -1, 33, -1, -1, -1, -1,
+ -1, -1, 32, 33, 42, 43, 44, 45, 46, 47,
+ 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
+ 58, 59, -1, -1, -1, -1, -1, 65, -1, -1,
+ -1, -1, -1, -1, -1, -1, 66, 67, 68, 69,
+ 70, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 88, -1,
+ 90, 91, 92, 93, 94, 95, -1, 97, -1, -1,
+ 100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
+ 110, 111, 112, 113, 114, 115, 3, -1, -1, -1,
+ -1, -1, -1, -1, -1, 12, -1, 33, -1, -1,
+ 17, 18, -1, -1, -1, 22, 42, 43, 44, 45,
+ 46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
+ 56, 57, 58, 59, -1, -1, -1, -1, -1, 65,
+ -1, -1, 49, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 66,
+ 67, 68, 69, 70, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 88, -1, 90, 91, 92, 93, 94, 95, -1,
+ 97, -1, -1, 100, 101, 102, 103, 104, 105, 106,
+ 107, 108, 109, 110, 111, 112, 113, 114, 115, 3,
+ -1, -1, -1, -1, -1, -1, -1, -1, 12, -1,
+ -1, -1, -1, 17, 18, -1, -1, -1, 22, -1,
+ 33, -1, -1, -1, -1, -1, -1, -1, 32, 42,
+ 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
+ 53, 54, 55, 56, 57, 58, 59, -1, -1, -1,
+ -1, -1, 65, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 66, 67, 68, 69, 70, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 88, -1, 90, 91, 92, 93,
+ 94, 95, -1, 97, -1, -1, 100, 101, 102, 103,
+ 104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
+ 114, 115, 3, -1, -1, -1, -1, -1, -1, -1,
+ -1, 12, -1, -1, -1, -1, 17, 18, -1, -1,
+ -1, 22, -1, -1, 34, -1, -1, -1, -1, -1,
+ -1, 32, 42, 43, 44, 45, 46, 47, 48, 49,
+ 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
+ -1, -1, -1, -1, -1, 65, -1, -1, -1, -1,
+ -1, 3, -1, -1, -1, 66, 67, 68, 69, 70,
+ 12, -1, -1, -1, -1, 17, 18, -1, -1, -1,
+ 22, -1, -1, -1, -1, -1, -1, 88, -1, 90,
+ 91, 92, 93, 94, 95, -1, 97, -1, -1, 100,
+ 101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
+ 111, 112, 113, 114, 115, -1, -1, -1, -1, -1,
+ -1, -1, 64, -1, 66, 67, 68, 69, 70, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 88, -1, 90, 91,
+ 92, 93, 94, 95, -1, 97, -1, -1, 100, 101,
+ 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
+ 112, 113, 114, 115, 3, -1, -1, -1, -1, -1,
+ -1, -1, -1, 12, -1, -1, -1, 35, 17, 18,
+ -1, -1, -1, 22, 42, 43, 44, 45, 46, 47,
+ 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
+ 58, 59, -1, -1, -1, -1, -1, 65, -1, -1,
+ 49, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 3, -1, -1, -1, 66, 67, 68,
+ 69, 70, 12, -1, -1, -1, -1, 17, 18, -1,
+ -1, -1, 22, -1, -1, -1, -1, -1, -1, 88,
+ -1, 90, 91, 92, 93, 94, 95, -1, 97, -1,
+ -1, 100, 101, 102, 103, 104, 105, 106, 107, 108,
+ 109, 110, 111, 112, 113, 114, 115, -1, -1, -1,
+ -1, -1, 3, -1, 64, -1, 66, 67, 68, 69,
+ 70, 12, -1, -1, -1, -1, 17, 18, -1, -1,
+ -1, 22, -1, -1, -1, -1, -1, -1, 88, -1,
+ 90, 91, 92, 93, 94, 95, -1, 97, -1, -1,
+ 100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
+ 110, 111, 112, 113, 114, 115, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 66, 67, 68, 69, 70,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 88, -1, 90,
+ 91, 92, 93, 94, 95, -1, 97, -1, -1, 100,
+ 101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
+ 111, 112, 113, 114, 115, 35, -1, -1, -1, -1,
+ -1, -1, 42, 43, 44, 45, 46, 47, 48, 49,
+ 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
+ -1, -1, -1, 39, -1, 65, 42, 43, 44, 45,
+ 46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
+ 56, 57, 58, 59, -1, -1, -1, -1, -1, 65,
+ 42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
+ 52, 53, 54, 55, 56, 57, 58, 59, -1, -1,
+ -1, -1, -1, 65, 42, 43, 44, 45, 46, 47,
+ 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
+ 58, 59, -1, -1, -1, -1, -1, 65, 42, 43,
+ 44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
+ 54, 55, 56, 57, 58, 59, -1, -1, -1, -1,
+ -1, 65, 42, 43, 44, 45, 46, 47, 48, 49,
+ 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
+ -1, -1, -1, -1, -1, 65
};
-#endif /* NDEBUG */
-
-#ifndef NDEBUG
-/* For tracing reduce actions, the names of all rules are required.
-*/
-static const char *const yyRuleName[] = {
- /* 0 */ "block ::= HASH cpp_exp EOL",
- /* 1 */ "cpp_exp ::= ERROR|WARNING QUOTED_STRING",
- /* 2 */ "cpp_exp ::= IFDEF NAME",
- /* 3 */ "cpp_exp ::= IFNDEF NAME",
- /* 4 */ "cpp_exp ::= ENDIF",
- /* 5 */ "cpp_exp ::= ELSE",
- /* 6 */ "cpp_exp ::= UNDEF NAME",
- /* 7 */ "cpp_exp ::= DEFINE NAME cpp_macro_decl",
- /* 8 */ "cpp_macro_decl ::=",
- /* 9 */ "cpp_macro_decl ::= cpp_macro_sig",
- /* 10 */ "cpp_macro_decl ::= cpp_macro_sig cpp_macro_decl_tokens",
- /* 11 */ "cpp_macro_sig ::= NO_WHITESPACE LPAREN cpp_macro_sig_args RPAREN",
- /* 12 */ "cpp_macro_sig_args ::=",
- /* 13 */ "cpp_macro_sig_args ::= NAME",
- /* 14 */ "cpp_macro_sig_args ::= cpp_macro_sig_args COMMA NAME",
- /* 15 */ "cpp_macro_decl ::= cpp_macro_decl_tokens",
- /* 16 */ "cpp_macro_decl_tokens ::= ANY",
- /* 17 */ "cpp_macro_decl_tokens ::= cpp_macro_decl_tokens ANY",
- /* 18 */ "cpp_exp ::= IF cpp_macro_exp",
- /* 19 */ "cpp_exp ::= ELIF cpp_macro_exp",
- /* 20 */ "cpp_macro_exp ::= LPAREN cpp_macro_exp RPAREN",
- /* 21 */ "cpp_macro_exp ::= TILDE|NOT|PLUS|MINUS cpp_macro_exp",
- /* 22 */ "cpp_macro_exp ::= cpp_macro_exp PIPE|CARET|AMPERSAND|LSHIFT|RSHIFT|PLUS|MINUS|ASTERISK|SLASH|MODULO|RCHEVR|LCHEVR|CMP_GE|CMP_LE|OR|AND|CMP_EQ|CMP_NE cpp_macro_exp",
- /* 23 */ "cpp_macro_exp ::= DEFINED NAME",
- /* 24 */ "cpp_macro_exp ::= DEFINED LPAREN NAME RPAREN",
- /* 25 */ "cpp_macro_exp ::= NUMBER|NSNAME",
- /* 26 */ "cpp_macro_exp ::= NAME",
- /* 27 */ "cpp_macro_exp ::= NAME LPAREN cpp_macro_call_args RPAREN",
- /* 28 */ "cpp_macro_call_args ::=",
- /* 29 */ "cpp_macro_call_args ::= cpp_macro_exp",
- /* 30 */ "cpp_macro_call_args ::= cpp_macro_call_args COMMA cpp_macro_exp",
- /* 31 */ "block ::= LIB QUOTED_STRING EOS",
- /* 32 */ "block ::= decl",
- /* 33 */ "block ::= impl",
- /* 34 */ "block ::= decl_typedef",
- /* 35 */ "block ::= constant",
- /* 36 */ "block ::= decl_struct",
- /* 37 */ "block ::= decl_union",
- /* 38 */ "block ::= decl_enum",
- /* 39 */ "optional_name ::=",
- /* 40 */ "optional_name ::= NAME",
- /* 41 */ "align_and_size ::=",
- /* 42 */ "align_and_size ::= COLON COLON LPAREN NUMBER COMMA NUMBER RPAREN",
- /* 43 */ "enum_name ::= ENUM optional_name",
- /* 44 */ "struct_name ::= STRUCT optional_name",
- /* 45 */ "union_name ::= UNION optional_name",
- /* 46 */ "decl_enum ::= enum_name LBRACE decl_enum_items RBRACE",
- /* 47 */ "decl_enum_items ::= decl_enum_item",
- /* 48 */ "decl_enum_items ::= decl_enum_items COMMA decl_enum_item",
- /* 49 */ "decl_enum_item ::= NAME EQUALS num_exp",
- /* 50 */ "decl_enum_item ::= NAME",
- /* 51 */ "decl_struct_args_block ::= LBRACE struct_args RBRACE",
- /* 52 */ "decl_struct_args ::= decl_struct_args_block",
- /* 53 */ "decl_struct_args ::= EOS",
- /* 54 */ "decl_struct ::= STRUCT NAME align_and_size decl_struct_args",
- /* 55 */ "decl_union ::= UNION NAME align_and_size decl_struct_args",
- /* 56 */ "const_type ::= BOOL|INT|FLOAT|STRING",
- /* 57 */ "constant ::= CONST const_type NSNAME EQUALS impl_def_val EOS",
- /* 58 */ "decl_typedef ::= TYPEDEF decl_typedef_body EOS",
- /* 59 */ "decl_typedef_body_ex ::= struct_name align_and_size decl_struct_args_block decl_var",
- /* 60 */ "decl_typedef_body_ex ::= union_name align_and_size decl_struct_args_block decl_var",
- /* 61 */ "decl_typedef_body_ex ::= decl_enum NAME",
- /* 62 */ "decl_typedef_body ::= decl_typedef_body_ex",
- /* 63 */ "decl_typedef_body_fn_args ::= LPAREN decl_args RPAREN",
- /* 64 */ "decl_typedef_body ::= decl_func decl_typedef_body_fn_args",
- /* 65 */ "decl_typedef_body ::= decl_arg",
- /* 66 */ "decl ::= decl_abi decl_func LPAREN decl_args RPAREN EOS",
- /* 67 */ "decl ::= decl_abi decl_func LPAREN decl_args COMMA ELLIPSIS RPAREN EOS",
- /* 68 */ "decl_func ::= decl_arg",
- /* 69 */ "decl_func ::= VOID NAME",
- /* 70 */ "decl_typedef_body ::= VOID indirection LPAREN indirection NAME RPAREN decl_typedef_body_fn_args",
- /* 71 */ "decl_typedef_body ::= CONST VOID pointers LPAREN indirection NAME RPAREN decl_typedef_body_fn_args",
- /* 72 */ "decl_abi ::= NAME",
- /* 73 */ "decl_var_array_size ::=",
- /* 74 */ "decl_var_array_size ::= LBRACKET NUMBER RBRACKET",
- /* 75 */ "decl_var ::= NAME decl_var_array_size",
- /* 76 */ "decl_var ::= pointers NAME decl_var_array_size",
- /* 77 */ "decl_vars ::= decl_var",
- /* 78 */ "decl_vars ::= decl_vars COMMA decl_var",
- /* 79 */ "decl_arg ::= const_decl_type decl_var",
- /* 80 */ "decl_typedef_body ::= const_decl_type indirection LPAREN indirection NAME RPAREN decl_typedef_body_fn_args",
- /* 81 */ "decl_arg ::= VOID pointers NAME",
- /* 82 */ "decl_arg ::= CONST VOID pointers NAME",
- /* 83 */ "decl_args ::=",
- /* 84 */ "decl_args ::= VOID",
- /* 85 */ "decl_args ::= decl_arg",
- /* 86 */ "decl_args ::= decl_args COMMA decl_arg",
- /* 87 */ "struct_args ::= struct_arg",
- /* 88 */ "struct_args ::= struct_args struct_arg",
- /* 89 */ "struct_arg ::= decl_typedef_body_ex EOS",
- /* 90 */ "struct_arg ::= decl_arg decl_layout EOS",
- /* 91 */ "decl_layout ::=",
- /* 92 */ "decl_layout ::= COLON COLON LPAREN NUMBER COMMA NUMBER RPAREN",
- /* 93 */ "decl_scalar_type ::= CHAR",
- /* 94 */ "decl_scalar_type ::= SHORT decl_scalar_type_short",
- /* 95 */ "decl_scalar_type_short ::=",
- /* 96 */ "decl_scalar_type_short ::= INT",
- /* 97 */ "decl_scalar_type ::= INT",
- /* 98 */ "decl_scalar_type ::= LONG decl_scalar_type_long",
- /* 99 */ "decl_scalar_type_long ::=",
- /* 100 */ "decl_scalar_type_long ::= DOUBLE",
- /* 101 */ "decl_scalar_type_long ::= LONG decl_scalar_type_long_long",
- /* 102 */ "decl_scalar_type_long_long ::=",
- /* 103 */ "decl_scalar_type_long_long ::= INT",
- /* 104 */ "decl_type ::= UNSIGNED decl_scalar_type",
- /* 105 */ "decl_type ::= SIGNED decl_scalar_type",
- /* 106 */ "decl_type ::= UNSIGNED",
- /* 107 */ "decl_type ::= SIGNED",
- /* 108 */ "decl_type ::= decl_scalar_type",
- /* 109 */ "decl_type ::= STRUCT NAME",
- /* 110 */ "decl_type ::= UNION NAME",
- /* 111 */ "decl_type ::= ENUM NAME",
- /* 112 */ "decl_type ::= FLOAT|DOUBLE|INT8|UINT8|INT16|UINT16|INT32|UINT32|INT64|UINT64|NAME",
- /* 113 */ "const_decl_type ::= decl_type",
- /* 114 */ "const_decl_type ::= CONST decl_type",
- /* 115 */ "impl ::= impl_func LBRACE impl_stmts RBRACE",
- /* 116 */ "impl ::= STATIC impl_func LBRACE impl_stmts RBRACE",
- /* 117 */ "impl_func ::= FUNCTION reference NSNAME LPAREN RPAREN COLON impl_type",
- /* 118 */ "impl_func ::= FUNCTION reference NSNAME LPAREN impl_args RPAREN COLON impl_type",
- /* 119 */ "impl_func ::= FUNCTION reference NSNAME LPAREN impl_args COMMA impl_type reference ELLIPSIS DOLLAR_NAME RPAREN COLON impl_type",
- /* 120 */ "impl_def_val ::= NULL|NUMBER|TRUE|FALSE|QUOTED_STRING",
- /* 121 */ "impl_var ::= reference DOLLAR_NAME",
- /* 122 */ "impl_type ::= VOID|MIXED|BOOL|INT|FLOAT|STRING|ARRAY|OBJECT|CALLABLE",
- /* 123 */ "impl_arg ::= impl_type impl_var",
- /* 124 */ "impl_arg ::= impl_type impl_var EQUALS impl_def_val",
- /* 125 */ "impl_args ::= impl_arg",
- /* 126 */ "impl_args ::= impl_args COMMA impl_arg",
- /* 127 */ "impl_stmts ::= impl_stmt",
- /* 128 */ "impl_stmts ::= impl_stmts impl_stmt",
- /* 129 */ "impl_stmt ::= return_stmt",
- /* 130 */ "impl_stmt ::= let_stmt",
- /* 131 */ "impl_stmt ::= set_stmt",
- /* 132 */ "impl_stmt ::= assert_stmt",
- /* 133 */ "impl_stmt ::= free_stmt",
- /* 134 */ "number ::= NUMBER|NSNAME",
- /* 135 */ "number ::= decl_var",
- /* 136 */ "num_exp ::= number",
- /* 137 */ "num_exp ::= LPAREN num_exp RPAREN",
- /* 138 */ "num_exp ::= num_exp PIPE|CARET|AMPERSAND|LSHIFT|RSHIFT|PLUS|MINUS|ASTERISK|SLASH|MODULO|RCHEVR|LCHEVR|CMP_GE|CMP_LE|OR|AND|CMP_EQ|CMP_NE num_exp",
- /* 139 */ "num_exp ::= TILDE|NOT|PLUS|MINUS num_exp",
- /* 140 */ "let_exp ::= NULL",
- /* 141 */ "let_exp ::= AMPERSAND NULL",
- /* 142 */ "let_exp ::= let_callback",
- /* 143 */ "let_exp ::= let_calloc",
- /* 144 */ "let_exp ::= AMPERSAND let_calloc",
- /* 145 */ "let_exp ::= let_func",
- /* 146 */ "let_exp ::= AMPERSAND let_func",
- /* 147 */ "let_exp ::= num_exp",
- /* 148 */ "let_exp ::= AMPERSAND num_exp",
- /* 149 */ "let_exp ::= decl_var EQUALS let_exp",
- /* 150 */ "let_stmt ::= LET let_exp EOS",
- /* 151 */ "let_stmt ::= TEMP decl_var EQUALS reference decl_var EOS",
- /* 152 */ "let_callback ::= CALLBACK callback_rval LPAREN impl_var LPAREN callback_arg_list RPAREN RPAREN",
- /* 153 */ "let_calloc ::= CALLOC LPAREN num_exp COMMA num_exp RPAREN",
- /* 154 */ "let_func ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT LPAREN impl_var RPAREN",
- /* 155 */ "let_func ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT LPAREN impl_var COMMA let_exps RPAREN",
- /* 156 */ "let_exps ::= let_exp",
- /* 157 */ "let_exps ::= let_exps COMMA let_exp",
- /* 158 */ "callback_arg_list ::=",
- /* 159 */ "callback_arg_list ::= callback_args",
- /* 160 */ "callback_args ::= set_exp",
- /* 161 */ "callback_args ::= callback_args COMMA set_exp",
- /* 162 */ "callback_rval ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT",
- /* 163 */ "callback_rval ::= VOID",
- /* 164 */ "set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var RPAREN",
- /* 165 */ "set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var COMMA set_exps RPAREN",
- /* 166 */ "set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var COMMA ELLIPSIS RPAREN",
- /* 167 */ "set_exp ::= set_func",
- /* 168 */ "set_exp ::= num_exp",
- /* 169 */ "set_exps ::= set_exp",
- /* 170 */ "set_exps ::= set_exps COMMA set_exp",
- /* 171 */ "set_exp ::= impl_var EQUALS set_exp",
- /* 172 */ "set_stmt ::= SET set_exp EOS",
- /* 173 */ "return_stmt ::= RETURN set_func EOS",
- /* 174 */ "free_stmt ::= FREE free_exps EOS",
- /* 175 */ "free_exps ::= free_exp",
- /* 176 */ "free_exps ::= free_exps COMMA free_exp",
- /* 177 */ "free_exp ::= NAME LPAREN decl_vars RPAREN",
- /* 178 */ "assert_stmt ::= PRE_ASSERT|POST_ASSERT num_exp EOS",
- /* 179 */ "reference ::=",
- /* 180 */ "reference ::= AMPERSAND",
- /* 181 */ "indirection ::=",
- /* 182 */ "indirection ::= pointers",
- /* 183 */ "pointers ::= ASTERISK",
- /* 184 */ "pointers ::= pointers ASTERISK",
- /* 185 */ "file ::= blocks",
- /* 186 */ "blocks ::= block",
- /* 187 */ "blocks ::= blocks block",
- /* 188 */ "block ::= EOS",
- /* 189 */ "block ::= EOL",
- /* 190 */ "block ::= COMMENT",
+
+ /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
+ symbol of state STATE-NUM. */
+static const unsigned short int yystos[] =
+{
+ 0, 4, 5, 6, 7, 8, 9, 10, 11, 17,
+ 22, 29, 30, 31, 41, 83, 84, 85, 86, 87,
+ 88, 89, 91, 116, 121, 123, 146, 147, 148, 149,
+ 150, 167, 170, 175, 176, 177, 178, 179, 180, 181,
+ 182, 183, 188, 191, 194, 198, 199, 200, 201, 203,
+ 205, 209, 211, 212, 218, 226, 240, 241, 9, 11,
+ 22, 84, 85, 86, 87, 123, 199, 209, 30, 66,
+ 67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
+ 77, 79, 80, 81, 82, 151, 152, 153, 154, 156,
+ 157, 158, 84, 85, 121, 171, 173, 200, 201, 209,
+ 218, 227, 228, 3, 12, 17, 18, 22, 66, 67,
+ 68, 69, 70, 88, 90, 91, 92, 93, 94, 95,
+ 97, 100, 101, 102, 103, 104, 105, 106, 107, 108,
+ 109, 110, 111, 112, 113, 114, 115, 143, 259, 271,
+ 143, 143, 229, 3, 6, 10, 12, 246, 248, 26,
+ 123, 199, 241, 44, 279, 280, 22, 83, 198, 199,
+ 0, 148, 49, 143, 176, 210, 235, 236, 237, 238,
+ 177, 4, 5, 6, 9, 22, 184, 6, 181, 187,
+ 125, 189, 32, 32, 36, 36, 143, 143, 143, 199,
+ 34, 192, 0, 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,
+ 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, 81,
+ 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, 119, 121, 122, 123, 124, 125,
+ 143, 144, 159, 30, 3, 12, 17, 18, 22, 66,
+ 67, 68, 69, 70, 88, 90, 91, 92, 93, 94,
+ 95, 97, 100, 101, 102, 103, 104, 105, 106, 107,
+ 108, 109, 110, 111, 112, 113, 114, 115, 144, 162,
+ 163, 162, 26, 119, 155, 144, 25, 27, 28, 32,
+ 47, 48, 60, 61, 78, 142, 143, 164, 223, 143,
+ 229, 143, 229, 173, 31, 143, 35, 232, 232, 232,
+ 232, 23, 31, 199, 36, 195, 36, 23, 171, 189,
+ 195, 29, 87, 239, 38, 233, 32, 143, 124, 238,
+ 6, 185, 6, 9, 186, 184, 32, 31, 17, 175,
+ 202, 204, 206, 207, 208, 209, 206, 143, 219, 220,
+ 92, 93, 94, 95, 96, 98, 99, 250, 251, 252,
+ 265, 268, 274, 275, 276, 195, 193, 210, 236, 31,
+ 26, 118, 164, 190, 162, 144, 26, 27, 32, 44,
+ 225, 164, 32, 143, 164, 32, 42, 43, 44, 45,
+ 46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
+ 56, 57, 58, 59, 65, 141, 35, 36, 214, 214,
+ 31, 213, 214, 213, 40, 195, 0, 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, 31, 32, 33, 34, 35, 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, 81, 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, 119, 121, 122, 123,
+ 124, 125, 145, 195, 196, 197, 250, 32, 31, 31,
+ 19, 23, 25, 27, 29, 32, 87, 124, 142, 210,
+ 221, 222, 223, 234, 235, 236, 233, 6, 190, 235,
+ 32, 33, 34, 34, 33, 34, 40, 34, 230, 210,
+ 255, 221, 244, 269, 270, 271, 279, 210, 143, 277,
+ 278, 210, 266, 270, 37, 251, 221, 34, 32, 26,
+ 177, 224, 225, 22, 33, 143, 164, 165, 166, 164,
+ 164, 32, 121, 172, 173, 174, 175, 215, 218, 227,
+ 228, 210, 210, 19, 20, 21, 168, 169, 190, 221,
+ 37, 197, 37, 13, 14, 15, 16, 17, 33, 242,
+ 243, 245, 247, 248, 249, 17, 22, 175, 221, 221,
+ 39, 65, 141, 39, 32, 143, 33, 32, 206, 233,
+ 64, 208, 233, 64, 221, 220, 37, 40, 31, 40,
+ 31, 32, 24, 40, 32, 31, 34, 32, 31, 31,
+ 210, 64, 143, 160, 161, 235, 33, 33, 33, 34,
+ 35, 25, 174, 35, 231, 37, 172, 232, 232, 31,
+ 35, 33, 34, 244, 33, 33, 221, 221, 235, 32,
+ 33, 235, 33, 34, 33, 33, 19, 89, 90, 109,
+ 221, 254, 256, 257, 258, 259, 280, 269, 210, 279,
+ 193, 278, 17, 193, 267, 33, 34, 164, 164, 34,
+ 25, 35, 34, 216, 231, 214, 214, 245, 35, 243,
+ 245, 40, 221, 35, 143, 206, 33, 233, 64, 233,
+ 233, 109, 256, 17, 18, 32, 259, 262, 32, 32,
+ 254, 34, 272, 210, 33, 33, 162, 64, 143, 25,
+ 35, 32, 210, 217, 31, 216, 245, 279, 168, 221,
+ 33, 33, 33, 267, 32, 221, 244, 64, 269, 273,
+ 33, 31, 97, 33, 35, 25, 231, 34, 31, 64,
+ 32, 33, 233, 33, 244, 34, 34, 260, 33, 34,
+ 18, 270, 271, 32, 34, 210, 24, 206, 32, 97,
+ 32, 221, 210, 253, 254, 255, 261, 280, 33, 269,
+ 25, 25, 231, 33, 33, 206, 262, 263, 264, 269,
+ 33, 34, 254, 34, 33, 35, 33, 33, 32, 33,
+ 34, 253, 25, 245, 32, 233, 244, 33, 269, 33,
+ 206, 32, 33, 263, 233, 33, 33
};
-#endif /* NDEBUG */
-
-
-#if YYSTACKDEPTH<=0
-/*
-** Try to increase the size of the parser stack. Return the number
-** of errors. Return 0 on success.
-*/
-static int yyGrowStack(yyParser *p){
- int newSize;
- int idx;
- yyStackEntry *pNew;
-
- newSize = p->yystksz*2 + 100;
- idx = p->yytos ? (int)(p->yytos - p->yystack) : 0;
- if( p->yystack==&p->yystk0 ){
- pNew = malloc(newSize*sizeof(pNew[0]));
- if( pNew ) pNew[0] = p->yystk0;
- }else{
- pNew = realloc(p->yystack, newSize*sizeof(pNew[0]));
- }
- if( pNew ){
- p->yystack = pNew;
- p->yytos = &p->yystack[idx];
-#ifndef NDEBUG
- if( yyTraceFILE ){
- fprintf(yyTraceFILE,"%sStack grows from %d to %d entries.\n",
- yyTracePrompt, p->yystksz, newSize);
- }
+
+ /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
+static const unsigned short int yyr1[] =
+{
+ 0, 140, 141, 141, 141, 141, 141, 141, 141, 141,
+ 141, 141, 141, 141, 141, 141, 141, 141, 141, 141,
+ 142, 142, 142, 142, 143, 143, 143, 143, 143, 143,
+ 143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
+ 143, 143, 143, 144, 144, 144, 144, 144, 144, 144,
+ 144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
+ 144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
+ 144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
+ 144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
+ 144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
+ 144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
+ 144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
+ 144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
+ 144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
+ 144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
+ 144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
+ 144, 145, 145, 145, 145, 145, 145, 145, 145, 145,
+ 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
+ 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
+ 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
+ 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
+ 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
+ 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
+ 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
+ 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
+ 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
+ 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
+ 145, 145, 145, 145, 145, 145, 145, 146, 146, 147,
+ 147, 148, 148, 148, 148, 148, 148, 148, 148, 148,
+ 148, 148, 148, 148, 148, 149, 150, 150, 151, 151,
+ 151, 151, 151, 151, 151, 151, 152, 152, 153, 153,
+ 154, 154, 154, 155, 155, 156, 156, 157, 157, 157,
+ 158, 158, 159, 159, 159, 159, 160, 160, 160, 160,
+ 161, 161, 162, 162, 163, 163, 164, 164, 164, 164,
+ 164, 164, 164, 164, 164, 164, 164, 165, 165, 166,
+ 166, 167, 168, 168, 168, 169, 169, 169, 170, 170,
+ 171, 171, 172, 172, 173, 173, 173, 173, 173, 174,
+ 174, 174, 174, 174, 175, 175, 175, 176, 176, 177,
+ 177, 178, 178, 178, 179, 179, 179, 179, 180, 180,
+ 180, 181, 181, 182, 182, 182, 183, 183, 183, 183,
+ 184, 184, 184, 184, 184, 184, 185, 185, 186, 186,
+ 186, 186, 187, 187, 187, 188, 188, 189, 189, 190,
+ 190, 191, 192, 192, 193, 193, 194, 194, 194, 194,
+ 195, 196, 196, 197, 197, 198, 198, 199, 199, 200,
+ 200, 201, 201, 201, 201, 202, 202, 203, 204, 205,
+ 206, 206, 206, 207, 207, 208, 208, 208, 209, 209,
+ 210, 210, 211, 212, 213, 213, 214, 215, 215, 216,
+ 216, 217, 217, 218, 219, 219, 220, 220, 221, 221,
+ 221, 221, 221, 221, 222, 222, 222, 222, 222, 222,
+ 223, 223, 224, 224, 225, 225, 225, 226, 227, 228,
+ 229, 229, 230, 230, 231, 231, 231, 231, 232, 232,
+ 233, 233, 233, 234, 234, 234, 234, 235, 235, 236,
+ 236, 237, 237, 238, 238, 239, 239, 240, 240, 241,
+ 241, 241, 242, 242, 243, 243, 244, 245, 246, 247,
+ 247, 248, 248, 248, 248, 249, 249, 249, 249, 249,
+ 250, 250, 251, 251, 251, 251, 251, 252, 252, 253,
+ 253, 253, 254, 254, 254, 254, 254, 254, 255, 255,
+ 256, 257, 257, 258, 259, 259, 259, 259, 259, 259,
+ 259, 259, 259, 259, 260, 260, 261, 261, 262, 262,
+ 263, 263, 264, 264, 265, 266, 266, 267, 267, 267,
+ 268, 269, 269, 269, 270, 270, 271, 271, 271, 271,
+ 271, 271, 271, 271, 272, 272, 273, 273, 274, 275,
+ 275, 276, 277, 277, 278, 279, 279, 280
+};
+
+ /* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */
+static const unsigned char yyr2[] =
+{
+ 0, 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, 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, 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, 0, 1, 1,
+ 2, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 3, 2, 3, 2, 2,
+ 1, 2, 2, 2, 1, 2, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 2, 6, 2, 2, 0, 1, 1, 3,
+ 1, 3, 0, 1, 1, 2, 3, 2, 3, 5,
+ 2, 4, 1, 1, 1, 1, 4, 0, 1, 1,
+ 3, 6, 1, 1, 1, 1, 1, 1, 3, 4,
+ 1, 2, 1, 2, 1, 1, 2, 4, 4, 1,
+ 1, 1, 3, 3, 1, 2, 2, 1, 1, 1,
+ 1, 2, 2, 2, 1, 1, 1, 1, 1, 1,
+ 2, 1, 1, 1, 1, 2, 1, 1, 2, 2,
+ 0, 1, 1, 2, 1, 2, 0, 1, 0, 1,
+ 1, 2, 0, 1, 2, 3, 4, 0, 4, 1,
+ 2, 4, 0, 2, 1, 3, 3, 4, 3, 4,
+ 3, 1, 2, 1, 1, 1, 2, 1, 1, 5,
+ 7, 5, 7, 13, 16, 5, 7, 6, 5, 1,
+ 0, 1, 1, 1, 3, 1, 1, 2, 1, 2,
+ 3, 2, 4, 4, 1, 1, 3, 4, 5, 0,
+ 2, 2, 4, 5, 1, 3, 1, 3, 1, 4,
+ 3, 3, 2, 5, 1, 1, 1, 1, 1, 1,
+ 4, 2, 1, 2, 2, 1, 1, 2, 2, 2,
+ 0, 1, 0, 1, 0, 2, 7, 9, 0, 7,
+ 0, 3, 3, 0, 1, 1, 1, 0, 1, 1,
+ 2, 1, 2, 1, 2, 1, 1, 4, 5, 7,
+ 8, 13, 1, 3, 2, 4, 2, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 2, 1, 1, 1, 1, 1, 3, 6, 1,
+ 2, 1, 1, 1, 1, 2, 1, 1, 3, 4,
+ 6, 8, 12, 5, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 0, 2, 1, 3, 1, 1,
+ 0, 1, 1, 3, 3, 6, 1, 0, 1, 1,
+ 3, 1, 1, 3, 5, 6, 1, 1, 1, 1,
+ 1, 1, 1, 1, 0, 2, 1, 3, 3, 1,
+ 1, 3, 1, 3, 4, 0, 1, 1
+};
+
+
+/* YYDPREC[RULE-NUM] -- Dynamic precedence of rule #RULE-NUM (0 if none). */
+static const unsigned char yydprec[] =
+{
+ 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, 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, 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, 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, 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, 1, 2, 2, 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, 2, 1, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 2,
+ 1, 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, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 2, 1, 0, 0, 0, 2, 1, 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, 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, 2, 1, 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
+};
+
+/* YYMERGER[RULE-NUM] -- Index of merging function for rule #RULE-NUM. */
+static const unsigned char yymerger[] =
+{
+ 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, 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, 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, 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, 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, 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, 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, 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, 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, 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
+};
+
+/* YYIMMEDIATE[RULE-NUM] -- True iff rule #RULE-NUM is not to be deferred, as
+ in the case of predicates. */
+static const yybool yyimmediate[] =
+{
+ 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, 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, 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, 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, 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, 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, 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, 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, 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, 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
+};
+
+/* YYCONFLP[YYPACT[STATE-NUM]] -- Pointer into YYCONFL of start of
+ list of conflicting reductions corresponding to action entry for
+ state STATE-NUM in yytable. 0 means no conflicts. The list in
+ yyconfl is terminated by a rule number of 0. */
+static const unsigned short int yyconflp[] =
+{
+ 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, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 3215, 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, 3217, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 15, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 9, 0, 0, 0,
+ 11, 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, 3197, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 13, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 3209, 0, 3211,
+ 3213, 0, 3199, 0, 0, 0, 0, 0, 0, 0,
+ 0, 157, 0, 3219, 0, 3221, 3223, 0, 0, 0,
+ 0, 0, 0, 0, 0, 3201, 3203, 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, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 3205, 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,
+ 3207, 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,
+ 3225, 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, 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, 1, 0,
+ 0, 0, 0, 3, 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, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 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,
+ 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, 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, 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, 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, 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, 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, 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, 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, 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, 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,
+ 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, 159, 0, 0, 0, 0, 0, 0, 0,
+ 0, 161, 0, 0, 0, 0, 163, 165, 0, 0,
+ 0, 167, 0, 0, 169, 171, 173, 175, 0, 0,
+ 0, 177, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 179, 181, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 183,
+ 185, 0, 0, 0, 0, 187, 189, 191, 193, 195,
+ 0, 0, 0, 0, 0, 0, 0, 197, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 199, 0, 201,
+ 203, 205, 207, 209, 211, 0, 213, 0, 0, 215,
+ 217, 219, 221, 223, 225, 227, 229, 231, 233, 235,
+ 237, 239, 241, 243, 245, 247, 0, 0, 0, 0,
+ 0, 0, 0, 0, 249, 0, 0, 0, 0, 251,
+ 253, 0, 0, 0, 255, 0, 0, 257, 259, 261,
+ 263, 0, 0, 0, 265, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 267,
+ 269, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 271, 273, 0, 0, 0, 0, 275, 277,
+ 279, 281, 283, 0, 0, 0, 0, 0, 0, 0,
+ 285, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 287, 0, 289, 291, 293, 295, 297, 299, 0, 301,
+ 0, 0, 303, 305, 307, 309, 311, 313, 315, 317,
+ 319, 321, 323, 325, 327, 329, 331, 333, 335, 0,
+ 0, 0, 0, 0, 0, 0, 0, 337, 0, 0,
+ 0, 0, 339, 341, 0, 0, 0, 343, 0, 0,
+ 345, 347, 349, 351, 0, 0, 0, 353, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 355, 357, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 359, 361, 0, 0, 0,
+ 0, 363, 365, 367, 369, 371, 0, 0, 0, 0,
+ 0, 0, 0, 373, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 375, 0, 377, 379, 381, 383, 385,
+ 387, 0, 389, 0, 0, 391, 393, 395, 397, 399,
+ 401, 403, 405, 407, 409, 411, 413, 415, 417, 419,
+ 421, 423, 0, 0, 0, 0, 0, 0, 0, 0,
+ 426, 0, 0, 0, 0, 429, 432, 0, 0, 0,
+ 435, 0, 0, 438, 441, 444, 447, 0, 0, 0,
+ 450, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 453, 456, 0, 0, 0,
+ 149, 0, 0, 0, 0, 151, 0, 0, 459, 462,
+ 0, 0, 153, 0, 465, 468, 471, 474, 477, 0,
+ 0, 0, 0, 0, 0, 0, 480, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 483, 0, 486, 489,
+ 492, 495, 498, 501, 0, 504, 0, 0, 507, 510,
+ 513, 516, 519, 522, 525, 528, 531, 534, 537, 540,
+ 543, 546, 549, 552, 557, 0, 555, 0, 0, 0,
+ 155, 0, 0, 559, 0, 0, 0, 0, 561, 563,
+ 0, 0, 0, 565, 0, 0, 567, 569, 571, 573,
+ 0, 0, 0, 575, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 577, 579,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 581, 583, 0, 0, 0, 0, 585, 587, 589,
+ 591, 593, 0, 0, 0, 0, 0, 0, 0, 595,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 597,
+ 0, 599, 601, 603, 605, 607, 609, 0, 611, 0,
+ 0, 613, 615, 617, 619, 621, 623, 625, 627, 629,
+ 631, 633, 635, 637, 639, 641, 643, 645, 0, 0,
+ 0, 0, 0, 0, 0, 0, 647, 0, 0, 0,
+ 0, 649, 651, 0, 0, 0, 653, 0, 0, 655,
+ 657, 659, 661, 0, 0, 0, 663, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 665, 667, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 669, 671, 0, 0, 0, 0,
+ 673, 675, 677, 679, 681, 0, 0, 0, 0, 0,
+ 0, 0, 683, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 685, 0, 687, 689, 691, 693, 695, 697,
+ 0, 699, 0, 0, 701, 703, 705, 707, 709, 711,
+ 713, 715, 717, 719, 721, 723, 725, 727, 729, 731,
+ 733, 0, 0, 0, 0, 0, 0, 0, 0, 735,
+ 0, 0, 0, 0, 737, 739, 0, 0, 0, 741,
+ 0, 0, 743, 745, 747, 749, 0, 0, 0, 751,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 753, 755, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 757, 759, 0,
+ 0, 0, 0, 761, 763, 765, 767, 769, 0, 0,
+ 0, 0, 0, 0, 0, 771, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 773, 0, 775, 777, 779,
+ 781, 783, 785, 0, 787, 0, 0, 789, 791, 793,
+ 795, 797, 799, 801, 803, 805, 807, 809, 811, 813,
+ 815, 817, 819, 821, 0, 0, 0, 0, 0, 0,
+ 0, 0, 823, 0, 0, 0, 0, 825, 827, 0,
+ 0, 0, 829, 0, 0, 831, 833, 835, 837, 0,
+ 0, 0, 839, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 841, 843, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 845, 847, 0, 0, 0, 0, 849, 851, 853, 855,
+ 857, 0, 0, 0, 0, 0, 0, 0, 859, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 861, 0,
+ 863, 865, 867, 869, 871, 873, 0, 875, 0, 0,
+ 877, 879, 881, 883, 885, 887, 889, 891, 893, 895,
+ 897, 899, 901, 903, 905, 907, 909, 0, 0, 0,
+ 0, 0, 0, 0, 0, 911, 0, 0, 0, 0,
+ 913, 915, 0, 0, 0, 917, 0, 0, 919, 921,
+ 923, 925, 0, 0, 0, 927, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 929, 931, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 933, 935, 0, 0, 0, 0, 937,
+ 939, 941, 943, 945, 0, 0, 0, 0, 0, 0,
+ 0, 947, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 949, 0, 951, 953, 955, 957, 959, 961, 0,
+ 963, 0, 0, 965, 967, 969, 971, 973, 975, 977,
+ 979, 981, 983, 985, 987, 989, 991, 993, 995, 997,
+ 0, 0, 0, 0, 0, 0, 0, 0, 999, 0,
+ 0, 0, 0, 1001, 1003, 0, 0, 0, 1005, 0,
+ 0, 1007, 1009, 1011, 1013, 0, 0, 0, 1015, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 1017, 1019, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 1021, 1023, 0, 0,
+ 0, 0, 1025, 1027, 1029, 1031, 1033, 0, 0, 0,
+ 0, 0, 0, 0, 1035, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 1037, 0, 1039, 1041, 1043, 1045,
+ 1047, 1049, 0, 1051, 0, 0, 1053, 1055, 1057, 1059,
+ 1061, 1063, 1065, 1067, 1069, 1071, 1073, 1075, 1077, 1079,
+ 1081, 1083, 1085, 0, 0, 0, 0, 0, 0, 0,
+ 0, 1087, 0, 0, 0, 0, 1089, 1091, 0, 0,
+ 0, 1093, 0, 0, 1095, 1097, 1099, 1101, 0, 0,
+ 0, 1103, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 1105, 1107, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1109,
+ 1111, 0, 0, 0, 0, 1113, 1115, 1117, 1119, 1121,
+ 0, 0, 0, 0, 0, 0, 0, 1123, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 1125, 0, 1127,
+ 1129, 1131, 1133, 1135, 1137, 0, 1139, 0, 0, 1141,
+ 1143, 1145, 1147, 1149, 1151, 1153, 1155, 1157, 1159, 1161,
+ 1163, 1165, 1167, 1169, 1171, 1173, 0, 0, 0, 0,
+ 0, 0, 0, 0, 1175, 0, 0, 0, 0, 1177,
+ 1179, 0, 0, 0, 1181, 0, 0, 1183, 1185, 1187,
+ 1189, 0, 0, 0, 1191, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1193,
+ 1195, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 1197, 1199, 0, 0, 0, 0, 1201, 1203,
+ 1205, 1207, 1209, 0, 0, 0, 0, 0, 0, 0,
+ 1211, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 1213, 0, 1215, 1217, 1219, 1221, 1223, 1225, 0, 1227,
+ 0, 0, 1229, 1231, 1233, 1235, 1237, 1239, 1241, 1243,
+ 1245, 1247, 1249, 1251, 1253, 1255, 1257, 1259, 1261, 0,
+ 0, 0, 0, 0, 0, 0, 0, 1263, 0, 0,
+ 0, 0, 1265, 1267, 0, 0, 0, 1269, 0, 0,
+ 1271, 1273, 1275, 1277, 0, 0, 0, 1279, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 1281, 1283, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 1285, 1287, 0, 0, 0,
+ 0, 1289, 1291, 1293, 1295, 1297, 0, 0, 0, 0,
+ 0, 0, 0, 1299, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 1301, 0, 1303, 1305, 1307, 1309, 1311,
+ 1313, 0, 1315, 0, 0, 1317, 1319, 1321, 1323, 1325,
+ 1327, 1329, 1331, 1333, 1335, 1337, 1339, 1341, 1343, 1345,
+ 1347, 1349, 0, 0, 0, 0, 0, 0, 0, 0,
+ 1351, 0, 0, 0, 0, 1353, 1355, 0, 0, 0,
+ 1357, 0, 0, 1359, 1361, 1363, 1365, 0, 0, 0,
+ 1367, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 1369, 1371, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 1373, 1375,
+ 0, 0, 0, 0, 1377, 1379, 1381, 1383, 1385, 0,
+ 0, 0, 0, 0, 0, 0, 1387, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 1389, 0, 1391, 1393,
+ 1395, 1397, 1399, 1401, 0, 1403, 0, 0, 1405, 1407,
+ 1409, 1411, 1413, 1415, 1417, 1419, 1421, 1423, 1425, 1427,
+ 1429, 1431, 1433, 1435, 1437, 0, 0, 0, 0, 0,
+ 0, 0, 0, 1439, 0, 0, 0, 0, 1441, 1443,
+ 0, 0, 0, 1445, 0, 0, 1447, 1449, 1451, 1453,
+ 0, 0, 0, 1455, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 1457, 1459,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 1461, 1463, 0, 0, 0, 0, 1465, 1467, 1469,
+ 1471, 1473, 0, 0, 0, 0, 0, 0, 0, 1475,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1477,
+ 0, 1479, 1481, 1483, 1485, 1487, 1489, 0, 1491, 0,
+ 0, 1493, 1495, 1497, 1499, 1501, 1503, 1505, 1507, 1509,
+ 1511, 1513, 1515, 1517, 1519, 1521, 1523, 1525, 0, 0,
+ 0, 0, 0, 0, 0, 0, 1527, 0, 0, 0,
+ 0, 1529, 1531, 0, 0, 0, 1533, 0, 0, 1535,
+ 1537, 1539, 1541, 0, 0, 0, 1543, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 1545, 1547, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 1549, 1551, 0, 0, 0, 0,
+ 1553, 1555, 1557, 1559, 1561, 0, 0, 0, 0, 0,
+ 0, 0, 1563, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 1565, 0, 1567, 1569, 1571, 1573, 1575, 1577,
+ 0, 1579, 0, 0, 1581, 1583, 1585, 1587, 1589, 1591,
+ 1593, 1595, 1597, 1599, 1601, 1603, 1605, 1607, 1609, 1611,
+ 1613, 0, 0, 0, 0, 0, 0, 0, 0, 1615,
+ 0, 0, 0, 0, 1617, 1619, 0, 0, 0, 1621,
+ 0, 0, 1623, 1625, 1627, 1629, 0, 0, 0, 1631,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 1633, 1635, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 1637, 1639, 0,
+ 0, 0, 0, 1641, 1643, 1645, 1647, 1649, 0, 0,
+ 0, 0, 0, 0, 0, 1651, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 1653, 0, 1655, 1657, 1659,
+ 1661, 1663, 1665, 0, 1667, 0, 0, 1669, 1671, 1673,
+ 1675, 1677, 1679, 1681, 1683, 1685, 1687, 1689, 1691, 1693,
+ 1695, 1697, 1699, 1701, 0, 0, 0, 0, 0, 0,
+ 0, 0, 1703, 0, 0, 0, 0, 1705, 1707, 0,
+ 0, 0, 1709, 0, 0, 1711, 1713, 1715, 1717, 0,
+ 0, 0, 1719, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 1721, 1723, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 1725, 1727, 0, 0, 0, 0, 1729, 1731, 1733, 1735,
+ 1737, 0, 0, 0, 0, 0, 0, 0, 1739, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 1741, 0,
+ 1743, 1745, 1747, 1749, 1751, 1753, 0, 1755, 0, 0,
+ 1757, 1759, 1761, 1763, 1765, 1767, 1769, 1771, 1773, 1775,
+ 1777, 1779, 1781, 1783, 1785, 1787, 1789, 0, 0, 0,
+ 0, 0, 0, 0, 0, 1791, 0, 0, 0, 0,
+ 1793, 1795, 0, 0, 0, 1797, 0, 0, 1799, 1801,
+ 1803, 1805, 0, 0, 0, 1807, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 1809, 1811, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 1813, 1815, 0, 0, 0, 0, 1817,
+ 1819, 1821, 1823, 1825, 0, 0, 0, 0, 0, 0,
+ 0, 1827, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 1829, 0, 1831, 1833, 1835, 1837, 1839, 1841, 0,
+ 1843, 0, 0, 1845, 1847, 1849, 1851, 1853, 1855, 1857,
+ 1859, 1861, 1863, 1865, 1867, 1869, 1871, 1873, 1875, 1877,
+ 0, 0, 0, 0, 0, 0, 0, 0, 1879, 0,
+ 0, 0, 0, 1881, 1883, 0, 0, 0, 1885, 0,
+ 0, 1887, 1889, 1891, 1893, 0, 0, 0, 1895, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 1897, 1899, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 1901, 1903, 0, 0,
+ 0, 0, 1905, 1907, 1909, 1911, 1913, 0, 0, 0,
+ 0, 0, 0, 0, 1915, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 1917, 0, 1919, 1921, 1923, 1925,
+ 1927, 1929, 0, 1931, 0, 0, 1933, 1935, 1937, 1939,
+ 1941, 1943, 1945, 1947, 1949, 1951, 1953, 1955, 1957, 1959,
+ 1961, 1963, 1965, 0, 0, 0, 0, 0, 0, 0,
+ 0, 1967, 0, 0, 0, 0, 1969, 1971, 0, 0,
+ 0, 1973, 0, 0, 1975, 1977, 1979, 1981, 0, 0,
+ 0, 1983, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 1985, 1987, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1989,
+ 1991, 0, 0, 0, 0, 1993, 1995, 1997, 1999, 2001,
+ 0, 0, 0, 0, 0, 0, 0, 2003, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 2005, 0, 2007,
+ 2009, 2011, 2013, 2015, 2017, 0, 2019, 0, 0, 2021,
+ 2023, 2025, 2027, 2029, 2031, 2033, 2035, 2037, 2039, 2041,
+ 2043, 2045, 2047, 2049, 2051, 2053, 0, 0, 0, 0,
+ 0, 0, 0, 0, 2055, 0, 0, 0, 0, 2057,
+ 2059, 0, 0, 0, 2061, 0, 0, 2063, 2065, 2067,
+ 2069, 0, 0, 0, 2071, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 2073,
+ 2075, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 2077, 2079, 0, 0, 0, 0, 2081, 2083,
+ 2085, 2087, 2089, 0, 0, 0, 0, 0, 0, 0,
+ 2091, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 2093, 0, 2095, 2097, 2099, 2101, 2103, 2105, 0, 2107,
+ 0, 0, 2109, 2111, 2113, 2115, 2117, 2119, 2121, 2123,
+ 2125, 2127, 2129, 2131, 2133, 2135, 2137, 2139, 2141, 0,
+ 0, 0, 0, 0, 0, 0, 0, 2143, 0, 0,
+ 0, 0, 2145, 2147, 0, 0, 0, 2149, 0, 0,
+ 2151, 2153, 2155, 2157, 0, 0, 0, 2159, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 2161, 2163, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 2165, 2167, 0, 0, 0,
+ 0, 2169, 2171, 2173, 2175, 2177, 0, 0, 0, 0,
+ 0, 0, 0, 2179, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 2181, 0, 2183, 2185, 2187, 2189, 2191,
+ 2193, 0, 2195, 0, 0, 2197, 2199, 2201, 2203, 2205,
+ 2207, 2209, 2211, 2213, 2215, 2217, 2219, 2221, 2223, 2225,
+ 2227, 2229, 0, 0, 0, 0, 0, 0, 0, 0,
+ 2231, 0, 0, 0, 0, 2233, 2235, 0, 0, 0,
+ 2237, 0, 0, 2239, 2241, 2243, 2245, 0, 0, 0,
+ 2247, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 2249, 2251, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 2253, 2255,
+ 0, 0, 0, 0, 2257, 2259, 2261, 2263, 2265, 0,
+ 0, 0, 0, 0, 0, 0, 2267, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 2269, 0, 2271, 2273,
+ 2275, 2277, 2279, 2281, 0, 2283, 0, 0, 2285, 2287,
+ 2289, 2291, 2293, 2295, 2297, 2299, 2301, 2303, 2305, 2307,
+ 2309, 2311, 2313, 2315, 2317, 0, 0, 0, 0, 0,
+ 0, 0, 0, 2319, 0, 0, 0, 0, 2321, 2323,
+ 0, 0, 0, 2325, 0, 0, 2327, 2329, 2331, 2333,
+ 0, 0, 0, 2335, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 2337, 2339,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 2341, 2343, 0, 0, 0, 0, 2345, 2347, 2349,
+ 2351, 2353, 0, 0, 0, 0, 0, 0, 0, 2355,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 2357,
+ 0, 2359, 2361, 2363, 2365, 2367, 2369, 0, 2371, 0,
+ 0, 2373, 2375, 2377, 2379, 2381, 2383, 2385, 2387, 2389,
+ 2391, 2393, 2395, 2397, 2399, 2401, 2403, 2405, 0, 0,
+ 0, 0, 0, 0, 0, 0, 2407, 0, 0, 0,
+ 0, 2409, 2411, 0, 0, 0, 2413, 0, 0, 2415,
+ 2417, 2419, 2421, 0, 0, 0, 2423, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 2425, 2427, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 2429, 2431, 0, 0, 0, 0,
+ 2433, 2435, 2437, 2439, 2441, 0, 0, 0, 0, 0,
+ 0, 0, 2443, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 2445, 0, 2447, 2449, 2451, 2453, 2455, 2457,
+ 0, 2459, 0, 0, 2461, 2463, 2465, 2467, 2469, 2471,
+ 2473, 2475, 2477, 2479, 2481, 2483, 2485, 2487, 2489, 2491,
+ 2493, 0, 0, 0, 0, 0, 0, 0, 0, 2495,
+ 0, 0, 0, 0, 2497, 2499, 0, 0, 0, 2501,
+ 0, 0, 2503, 2505, 2507, 2509, 0, 0, 0, 2511,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 2513, 2515, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 2517, 2519, 0,
+ 0, 0, 0, 2521, 2523, 2525, 2527, 2529, 0, 0,
+ 0, 0, 0, 0, 0, 2531, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 2533, 0, 2535, 2537, 2539,
+ 2541, 2543, 2545, 0, 2547, 0, 0, 2549, 2551, 2553,
+ 2555, 2557, 2559, 2561, 2563, 2565, 2567, 2569, 2571, 2573,
+ 2575, 2577, 2579, 2581, 0, 0, 0, 0, 0, 0,
+ 0, 0, 2583, 0, 0, 0, 0, 2585, 2587, 0,
+ 0, 0, 2589, 0, 0, 2591, 2593, 2595, 2597, 0,
+ 0, 0, 2599, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 2601, 2603, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 2605, 2607, 0, 0, 0, 0, 2609, 2611, 2613, 2615,
+ 2617, 0, 0, 0, 0, 0, 0, 0, 2619, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 2621, 0,
+ 2623, 2625, 2627, 2629, 2631, 2633, 0, 2635, 0, 0,
+ 2637, 2639, 2641, 2643, 2645, 2647, 2649, 2651, 2653, 2655,
+ 2657, 2659, 2661, 2663, 2665, 2667, 2669, 0, 0, 0,
+ 0, 0, 0, 0, 0, 2671, 0, 0, 0, 0,
+ 2673, 2675, 0, 0, 0, 2677, 0, 0, 2679, 2681,
+ 2683, 2685, 0, 0, 0, 2687, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 2689, 2691, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 2693, 2695, 0, 0, 0, 0, 2697,
+ 2699, 2701, 2703, 2705, 0, 0, 0, 0, 0, 0,
+ 0, 2707, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 2709, 0, 2711, 2713, 2715, 2717, 2719, 2721, 0,
+ 2723, 0, 0, 2725, 2727, 2729, 2731, 2733, 2735, 2737,
+ 2739, 2741, 2743, 2745, 2747, 2749, 2751, 2753, 2755, 2757,
+ 0, 0, 0, 0, 0, 0, 0, 0, 2759, 0,
+ 0, 0, 0, 2761, 2763, 0, 0, 0, 2765, 0,
+ 0, 2767, 2769, 2771, 2773, 0, 0, 0, 2775, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 2777, 2779, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 2781, 2783, 0, 0,
+ 0, 0, 2785, 2787, 2789, 2791, 2793, 0, 0, 0,
+ 0, 0, 0, 0, 2795, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 2797, 0, 2799, 2801, 2803, 2805,
+ 2807, 2809, 0, 2811, 0, 0, 2813, 2815, 2817, 2819,
+ 2821, 2823, 2825, 2827, 2829, 2831, 2833, 2835, 2837, 2839,
+ 2841, 2843, 2845, 0, 0, 0, 0, 0, 0, 0,
+ 0, 2847, 0, 0, 0, 0, 2849, 2851, 0, 0,
+ 0, 2853, 0, 0, 2855, 2857, 2859, 2861, 0, 0,
+ 0, 2863, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 2865, 2867, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 2869,
+ 2871, 0, 0, 0, 0, 2873, 2875, 2877, 2879, 2881,
+ 0, 0, 0, 0, 0, 0, 0, 2883, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 2885, 0, 2887,
+ 2889, 2891, 2893, 2895, 2897, 0, 2899, 0, 0, 2901,
+ 2903, 2905, 2907, 2909, 2911, 2913, 2915, 2917, 2919, 2921,
+ 2923, 2925, 2927, 2929, 2931, 2933, 0, 0, 0, 0,
+ 0, 0, 0, 0, 2935, 0, 0, 0, 0, 2937,
+ 2939, 0, 0, 0, 2941, 0, 0, 2943, 2945, 2947,
+ 2949, 0, 0, 0, 2951, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 2953,
+ 2955, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 2957, 2959, 0, 0, 0, 0, 2961, 2963,
+ 2965, 2967, 2969, 0, 0, 0, 0, 0, 0, 0,
+ 2971, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 2973, 0, 2975, 2977, 2979, 2981, 2983, 2985, 0, 2987,
+ 0, 0, 2989, 2991, 2993, 2995, 2997, 2999, 3001, 3003,
+ 3005, 3007, 3009, 3011, 3013, 3015, 3017, 3019, 3021, 0,
+ 0, 0, 0, 0, 0, 0, 0, 3023, 0, 0,
+ 0, 0, 3025, 3027, 0, 0, 0, 3029, 0, 0,
+ 3031, 3033, 3035, 3037, 0, 0, 0, 3039, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 3041, 3043, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 3045, 3047, 0, 0, 0,
+ 0, 3049, 3051, 3053, 3055, 3057, 0, 0, 0, 0,
+ 0, 0, 0, 3059, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 3061, 0, 3063, 3065, 3067, 3069, 3071,
+ 3073, 0, 3075, 0, 0, 3077, 3079, 3081, 3083, 3085,
+ 3087, 3089, 3091, 3093, 3095, 3097, 3099, 3101, 3103, 3105,
+ 3107, 3109, 0, 0, 0, 0, 0, 0, 0, 0,
+ 3111, 0, 0, 0, 0, 3113, 3115, 0, 0, 0,
+ 3117, 0, 0, 3119, 3121, 3123, 3125, 0, 0, 0,
+ 3127, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 3129, 3131, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 3133, 3135,
+ 0, 0, 0, 0, 3137, 3139, 3141, 3143, 3145, 0,
+ 0, 0, 0, 0, 0, 0, 3147, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 3149, 0, 3151, 3153,
+ 3155, 3157, 3159, 3161, 0, 3163, 0, 0, 3165, 3167,
+ 3169, 3171, 3173, 3175, 3177, 3179, 3181, 3183, 3185, 3187,
+ 3189, 3191, 3193, 3195, 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, 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, 17, 0, 0,
+ 0, 0, 0, 0, 0, 0, 19, 0, 0, 0,
+ 0, 21, 23, 0, 0, 0, 25, 0, 0, 0,
+ 0, 0, 0, 27, 29, 31, 33, 35, 37, 39,
+ 41, 43, 45, 47, 49, 0, 51, 53, 55, 57,
+ 59, 61, 63, 65, 67, 69, 71, 73, 75, 77,
+ 79, 81, 83, 85, 0, 0, 0, 0, 0, 87,
+ 89, 91, 93, 95, 97, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 99, 101, 0, 103, 105, 107, 109, 111, 113,
+ 0, 115, 0, 0, 117, 119, 121, 123, 125, 127,
+ 129, 131, 133, 135, 137, 139, 141, 143, 145, 147,
+ 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, 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, 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, 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, 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, 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, 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, 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, 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, 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,
+ 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, 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, 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, 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, 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, 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, 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, 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, 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, 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,
+ 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, 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, 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, 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, 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, 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, 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, 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, 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, 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,
+ 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, 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, 3227, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 3229
+};
+
+/* YYCONFL[I] -- lists of conflicting rule numbers, each terminated by
+ 0, pointed into by YYCONFLP. */
+static const short int yyconfl[] =
+{
+ 0, 386, 0, 386, 0, 386, 0, 386, 0, 377,
+ 0, 377, 0, 400, 0, 458, 0, 612, 0, 612,
+ 0, 612, 0, 612, 0, 612, 0, 612, 0, 612,
+ 0, 612, 0, 612, 0, 612, 0, 612, 0, 612,
+ 0, 612, 0, 612, 0, 612, 0, 612, 0, 612,
+ 0, 612, 0, 612, 0, 612, 0, 612, 0, 612,
+ 0, 612, 0, 612, 0, 612, 0, 612, 0, 612,
+ 0, 612, 0, 612, 0, 612, 0, 612, 0, 612,
+ 0, 612, 0, 612, 0, 612, 0, 612, 0, 612,
+ 0, 612, 0, 612, 0, 612, 0, 612, 0, 612,
+ 0, 612, 0, 612, 0, 612, 0, 612, 0, 612,
+ 0, 612, 0, 612, 0, 612, 0, 612, 0, 612,
+ 0, 612, 0, 612, 0, 612, 0, 612, 0, 612,
+ 0, 612, 0, 612, 0, 612, 0, 612, 0, 612,
+ 0, 612, 0, 612, 0, 612, 0, 612, 0, 386,
+ 0, 386, 0, 386, 0, 386, 0, 400, 0, 43,
+ 0, 43, 0, 43, 0, 43, 0, 43, 0, 43,
+ 0, 43, 0, 43, 0, 43, 0, 43, 0, 43,
+ 0, 43, 0, 43, 0, 43, 0, 43, 0, 43,
+ 0, 43, 0, 43, 0, 43, 0, 43, 0, 43,
+ 0, 43, 0, 43, 0, 43, 0, 43, 0, 43,
+ 0, 43, 0, 43, 0, 43, 0, 43, 0, 43,
+ 0, 43, 0, 43, 0, 43, 0, 43, 0, 43,
+ 0, 43, 0, 43, 0, 43, 0, 43, 0, 43,
+ 0, 43, 0, 43, 0, 43, 0, 52, 0, 52,
+ 0, 52, 0, 52, 0, 52, 0, 52, 0, 52,
+ 0, 52, 0, 52, 0, 52, 0, 52, 0, 52,
+ 0, 52, 0, 52, 0, 52, 0, 52, 0, 52,
+ 0, 52, 0, 52, 0, 52, 0, 52, 0, 52,
+ 0, 52, 0, 52, 0, 52, 0, 52, 0, 52,
+ 0, 52, 0, 52, 0, 52, 0, 52, 0, 52,
+ 0, 52, 0, 52, 0, 52, 0, 52, 0, 52,
+ 0, 52, 0, 52, 0, 52, 0, 52, 0, 52,
+ 0, 52, 0, 52, 0, 613, 0, 613, 0, 613,
+ 0, 613, 0, 613, 0, 613, 0, 613, 0, 613,
+ 0, 613, 0, 613, 0, 613, 0, 613, 0, 613,
+ 0, 613, 0, 613, 0, 613, 0, 613, 0, 613,
+ 0, 613, 0, 613, 0, 613, 0, 613, 0, 613,
+ 0, 613, 0, 613, 0, 613, 0, 613, 0, 613,
+ 0, 613, 0, 613, 0, 613, 0, 613, 0, 613,
+ 0, 613, 0, 613, 0, 613, 0, 613, 0, 613,
+ 0, 613, 0, 613, 0, 613, 0, 613, 0, 613,
+ 0, 613, 0, 574, 612, 0, 574, 612, 0, 574,
+ 612, 0, 574, 612, 0, 574, 612, 0, 574, 612,
+ 0, 574, 612, 0, 574, 612, 0, 574, 612, 0,
+ 574, 612, 0, 574, 612, 0, 574, 612, 0, 574,
+ 612, 0, 574, 612, 0, 574, 612, 0, 574, 612,
+ 0, 574, 612, 0, 574, 612, 0, 574, 612, 0,
+ 574, 612, 0, 574, 612, 0, 574, 612, 0, 574,
+ 612, 0, 574, 612, 0, 574, 612, 0, 574, 612,
+ 0, 574, 612, 0, 574, 612, 0, 574, 612, 0,
+ 574, 612, 0, 574, 612, 0, 574, 612, 0, 574,
+ 612, 0, 574, 612, 0, 574, 612, 0, 574, 612,
+ 0, 574, 612, 0, 574, 612, 0, 574, 612, 0,
+ 574, 612, 0, 574, 612, 0, 574, 612, 0, 574,
+ 612, 0, 574, 612, 0, 612, 0, 62, 0, 62,
+ 0, 62, 0, 62, 0, 62, 0, 62, 0, 62,
+ 0, 62, 0, 62, 0, 62, 0, 62, 0, 62,
+ 0, 62, 0, 62, 0, 62, 0, 62, 0, 62,
+ 0, 62, 0, 62, 0, 62, 0, 62, 0, 62,
+ 0, 62, 0, 62, 0, 62, 0, 62, 0, 62,
+ 0, 62, 0, 62, 0, 62, 0, 62, 0, 62,
+ 0, 62, 0, 62, 0, 62, 0, 62, 0, 62,
+ 0, 62, 0, 62, 0, 62, 0, 62, 0, 62,
+ 0, 62, 0, 62, 0, 106, 0, 106, 0, 106,
+ 0, 106, 0, 106, 0, 106, 0, 106, 0, 106,
+ 0, 106, 0, 106, 0, 106, 0, 106, 0, 106,
+ 0, 106, 0, 106, 0, 106, 0, 106, 0, 106,
+ 0, 106, 0, 106, 0, 106, 0, 106, 0, 106,
+ 0, 106, 0, 106, 0, 106, 0, 106, 0, 106,
+ 0, 106, 0, 106, 0, 106, 0, 106, 0, 106,
+ 0, 106, 0, 106, 0, 106, 0, 106, 0, 106,
+ 0, 106, 0, 106, 0, 106, 0, 106, 0, 106,
+ 0, 106, 0, 107, 0, 107, 0, 107, 0, 107,
+ 0, 107, 0, 107, 0, 107, 0, 107, 0, 107,
+ 0, 107, 0, 107, 0, 107, 0, 107, 0, 107,
+ 0, 107, 0, 107, 0, 107, 0, 107, 0, 107,
+ 0, 107, 0, 107, 0, 107, 0, 107, 0, 107,
+ 0, 107, 0, 107, 0, 107, 0, 107, 0, 107,
+ 0, 107, 0, 107, 0, 107, 0, 107, 0, 107,
+ 0, 107, 0, 107, 0, 107, 0, 107, 0, 107,
+ 0, 107, 0, 107, 0, 107, 0, 107, 0, 107,
+ 0, 105, 0, 105, 0, 105, 0, 105, 0, 105,
+ 0, 105, 0, 105, 0, 105, 0, 105, 0, 105,
+ 0, 105, 0, 105, 0, 105, 0, 105, 0, 105,
+ 0, 105, 0, 105, 0, 105, 0, 105, 0, 105,
+ 0, 105, 0, 105, 0, 105, 0, 105, 0, 105,
+ 0, 105, 0, 105, 0, 105, 0, 105, 0, 105,
+ 0, 105, 0, 105, 0, 105, 0, 105, 0, 105,
+ 0, 105, 0, 105, 0, 105, 0, 105, 0, 105,
+ 0, 105, 0, 105, 0, 105, 0, 105, 0, 103,
+ 0, 103, 0, 103, 0, 103, 0, 103, 0, 103,
+ 0, 103, 0, 103, 0, 103, 0, 103, 0, 103,
+ 0, 103, 0, 103, 0, 103, 0, 103, 0, 103,
+ 0, 103, 0, 103, 0, 103, 0, 103, 0, 103,
+ 0, 103, 0, 103, 0, 103, 0, 103, 0, 103,
+ 0, 103, 0, 103, 0, 103, 0, 103, 0, 103,
+ 0, 103, 0, 103, 0, 103, 0, 103, 0, 103,
+ 0, 103, 0, 103, 0, 103, 0, 103, 0, 103,
+ 0, 103, 0, 103, 0, 103, 0, 104, 0, 104,
+ 0, 104, 0, 104, 0, 104, 0, 104, 0, 104,
+ 0, 104, 0, 104, 0, 104, 0, 104, 0, 104,
+ 0, 104, 0, 104, 0, 104, 0, 104, 0, 104,
+ 0, 104, 0, 104, 0, 104, 0, 104, 0, 104,
+ 0, 104, 0, 104, 0, 104, 0, 104, 0, 104,
+ 0, 104, 0, 104, 0, 104, 0, 104, 0, 104,
+ 0, 104, 0, 104, 0, 104, 0, 104, 0, 104,
+ 0, 104, 0, 104, 0, 104, 0, 104, 0, 104,
+ 0, 104, 0, 104, 0, 124, 0, 124, 0, 124,
+ 0, 124, 0, 124, 0, 124, 0, 124, 0, 124,
+ 0, 124, 0, 124, 0, 124, 0, 124, 0, 124,
+ 0, 124, 0, 124, 0, 124, 0, 124, 0, 124,
+ 0, 124, 0, 124, 0, 124, 0, 124, 0, 124,
+ 0, 124, 0, 124, 0, 124, 0, 124, 0, 124,
+ 0, 124, 0, 124, 0, 124, 0, 124, 0, 124,
+ 0, 124, 0, 124, 0, 124, 0, 124, 0, 124,
+ 0, 124, 0, 124, 0, 124, 0, 124, 0, 124,
+ 0, 124, 0, 126, 0, 126, 0, 126, 0, 126,
+ 0, 126, 0, 126, 0, 126, 0, 126, 0, 126,
+ 0, 126, 0, 126, 0, 126, 0, 126, 0, 126,
+ 0, 126, 0, 126, 0, 126, 0, 126, 0, 126,
+ 0, 126, 0, 126, 0, 126, 0, 126, 0, 126,
+ 0, 126, 0, 126, 0, 126, 0, 126, 0, 126,
+ 0, 126, 0, 126, 0, 126, 0, 126, 0, 126,
+ 0, 126, 0, 126, 0, 126, 0, 126, 0, 126,
+ 0, 126, 0, 126, 0, 126, 0, 126, 0, 126,
+ 0, 127, 0, 127, 0, 127, 0, 127, 0, 127,
+ 0, 127, 0, 127, 0, 127, 0, 127, 0, 127,
+ 0, 127, 0, 127, 0, 127, 0, 127, 0, 127,
+ 0, 127, 0, 127, 0, 127, 0, 127, 0, 127,
+ 0, 127, 0, 127, 0, 127, 0, 127, 0, 127,
+ 0, 127, 0, 127, 0, 127, 0, 127, 0, 127,
+ 0, 127, 0, 127, 0, 127, 0, 127, 0, 127,
+ 0, 127, 0, 127, 0, 127, 0, 127, 0, 127,
+ 0, 127, 0, 127, 0, 127, 0, 127, 0, 128,
+ 0, 128, 0, 128, 0, 128, 0, 128, 0, 128,
+ 0, 128, 0, 128, 0, 128, 0, 128, 0, 128,
+ 0, 128, 0, 128, 0, 128, 0, 128, 0, 128,
+ 0, 128, 0, 128, 0, 128, 0, 128, 0, 128,
+ 0, 128, 0, 128, 0, 128, 0, 128, 0, 128,
+ 0, 128, 0, 128, 0, 128, 0, 128, 0, 128,
+ 0, 128, 0, 128, 0, 128, 0, 128, 0, 128,
+ 0, 128, 0, 128, 0, 128, 0, 128, 0, 128,
+ 0, 128, 0, 128, 0, 128, 0, 129, 0, 129,
+ 0, 129, 0, 129, 0, 129, 0, 129, 0, 129,
+ 0, 129, 0, 129, 0, 129, 0, 129, 0, 129,
+ 0, 129, 0, 129, 0, 129, 0, 129, 0, 129,
+ 0, 129, 0, 129, 0, 129, 0, 129, 0, 129,
+ 0, 129, 0, 129, 0, 129, 0, 129, 0, 129,
+ 0, 129, 0, 129, 0, 129, 0, 129, 0, 129,
+ 0, 129, 0, 129, 0, 129, 0, 129, 0, 129,
+ 0, 129, 0, 129, 0, 129, 0, 129, 0, 129,
+ 0, 129, 0, 129, 0, 130, 0, 130, 0, 130,
+ 0, 130, 0, 130, 0, 130, 0, 130, 0, 130,
+ 0, 130, 0, 130, 0, 130, 0, 130, 0, 130,
+ 0, 130, 0, 130, 0, 130, 0, 130, 0, 130,
+ 0, 130, 0, 130, 0, 130, 0, 130, 0, 130,
+ 0, 130, 0, 130, 0, 130, 0, 130, 0, 130,
+ 0, 130, 0, 130, 0, 130, 0, 130, 0, 130,
+ 0, 130, 0, 130, 0, 130, 0, 130, 0, 130,
+ 0, 130, 0, 130, 0, 130, 0, 130, 0, 130,
+ 0, 130, 0, 131, 0, 131, 0, 131, 0, 131,
+ 0, 131, 0, 131, 0, 131, 0, 131, 0, 131,
+ 0, 131, 0, 131, 0, 131, 0, 131, 0, 131,
+ 0, 131, 0, 131, 0, 131, 0, 131, 0, 131,
+ 0, 131, 0, 131, 0, 131, 0, 131, 0, 131,
+ 0, 131, 0, 131, 0, 131, 0, 131, 0, 131,
+ 0, 131, 0, 131, 0, 131, 0, 131, 0, 131,
+ 0, 131, 0, 131, 0, 131, 0, 131, 0, 131,
+ 0, 131, 0, 131, 0, 131, 0, 131, 0, 131,
+ 0, 160, 0, 160, 0, 160, 0, 160, 0, 160,
+ 0, 160, 0, 160, 0, 160, 0, 160, 0, 160,
+ 0, 160, 0, 160, 0, 160, 0, 160, 0, 160,
+ 0, 160, 0, 160, 0, 160, 0, 160, 0, 160,
+ 0, 160, 0, 160, 0, 160, 0, 160, 0, 160,
+ 0, 160, 0, 160, 0, 160, 0, 160, 0, 160,
+ 0, 160, 0, 160, 0, 160, 0, 160, 0, 160,
+ 0, 160, 0, 160, 0, 160, 0, 160, 0, 160,
+ 0, 160, 0, 160, 0, 160, 0, 160, 0, 582,
+ 0, 582, 0, 582, 0, 582, 0, 582, 0, 582,
+ 0, 582, 0, 582, 0, 582, 0, 582, 0, 582,
+ 0, 582, 0, 582, 0, 582, 0, 582, 0, 582,
+ 0, 582, 0, 582, 0, 582, 0, 582, 0, 582,
+ 0, 582, 0, 582, 0, 582, 0, 582, 0, 582,
+ 0, 582, 0, 582, 0, 582, 0, 582, 0, 582,
+ 0, 582, 0, 582, 0, 582, 0, 582, 0, 582,
+ 0, 582, 0, 582, 0, 582, 0, 582, 0, 582,
+ 0, 582, 0, 582, 0, 582, 0, 581, 0, 581,
+ 0, 581, 0, 581, 0, 581, 0, 581, 0, 581,
+ 0, 581, 0, 581, 0, 581, 0, 581, 0, 581,
+ 0, 581, 0, 581, 0, 581, 0, 581, 0, 581,
+ 0, 581, 0, 581, 0, 581, 0, 581, 0, 581,
+ 0, 581, 0, 581, 0, 581, 0, 581, 0, 581,
+ 0, 581, 0, 581, 0, 581, 0, 581, 0, 581,
+ 0, 581, 0, 581, 0, 581, 0, 581, 0, 581,
+ 0, 581, 0, 581, 0, 581, 0, 581, 0, 581,
+ 0, 581, 0, 581, 0, 579, 0, 579, 0, 579,
+ 0, 579, 0, 579, 0, 579, 0, 579, 0, 579,
+ 0, 579, 0, 579, 0, 579, 0, 579, 0, 579,
+ 0, 579, 0, 579, 0, 579, 0, 579, 0, 579,
+ 0, 579, 0, 579, 0, 579, 0, 579, 0, 579,
+ 0, 579, 0, 579, 0, 579, 0, 579, 0, 579,
+ 0, 579, 0, 579, 0, 579, 0, 579, 0, 579,
+ 0, 579, 0, 579, 0, 579, 0, 579, 0, 579,
+ 0, 579, 0, 579, 0, 579, 0, 579, 0, 579,
+ 0, 579, 0, 577, 0, 577, 0, 577, 0, 577,
+ 0, 577, 0, 577, 0, 577, 0, 577, 0, 577,
+ 0, 577, 0, 577, 0, 577, 0, 577, 0, 577,
+ 0, 577, 0, 577, 0, 577, 0, 577, 0, 577,
+ 0, 577, 0, 577, 0, 577, 0, 577, 0, 577,
+ 0, 577, 0, 577, 0, 577, 0, 577, 0, 577,
+ 0, 577, 0, 577, 0, 577, 0, 577, 0, 577,
+ 0, 577, 0, 577, 0, 577, 0, 577, 0, 577,
+ 0, 577, 0, 577, 0, 577, 0, 577, 0, 577,
+ 0, 578, 0, 578, 0, 578, 0, 578, 0, 578,
+ 0, 578, 0, 578, 0, 578, 0, 578, 0, 578,
+ 0, 578, 0, 578, 0, 578, 0, 578, 0, 578,
+ 0, 578, 0, 578, 0, 578, 0, 578, 0, 578,
+ 0, 578, 0, 578, 0, 578, 0, 578, 0, 578,
+ 0, 578, 0, 578, 0, 578, 0, 578, 0, 578,
+ 0, 578, 0, 578, 0, 578, 0, 578, 0, 578,
+ 0, 578, 0, 578, 0, 578, 0, 578, 0, 578,
+ 0, 578, 0, 578, 0, 578, 0, 578, 0, 580,
+ 0, 580, 0, 580, 0, 580, 0, 580, 0, 580,
+ 0, 580, 0, 580, 0, 580, 0, 580, 0, 580,
+ 0, 580, 0, 580, 0, 580, 0, 580, 0, 580,
+ 0, 580, 0, 580, 0, 580, 0, 580, 0, 580,
+ 0, 580, 0, 580, 0, 580, 0, 580, 0, 580,
+ 0, 580, 0, 580, 0, 580, 0, 580, 0, 580,
+ 0, 580, 0, 580, 0, 580, 0, 580, 0, 580,
+ 0, 580, 0, 580, 0, 580, 0, 580, 0, 580,
+ 0, 580, 0, 580, 0, 580, 0, 576, 0, 576,
+ 0, 576, 0, 576, 0, 576, 0, 576, 0, 576,
+ 0, 576, 0, 576, 0, 576, 0, 576, 0, 576,
+ 0, 576, 0, 576, 0, 576, 0, 576, 0, 576,
+ 0, 576, 0, 576, 0, 576, 0, 576, 0, 576,
+ 0, 576, 0, 576, 0, 576, 0, 576, 0, 576,
+ 0, 576, 0, 576, 0, 576, 0, 576, 0, 576,
+ 0, 576, 0, 576, 0, 576, 0, 576, 0, 576,
+ 0, 576, 0, 576, 0, 576, 0, 576, 0, 576,
+ 0, 576, 0, 576, 0, 575, 0, 575, 0, 575,
+ 0, 575, 0, 575, 0, 575, 0, 575, 0, 575,
+ 0, 575, 0, 575, 0, 575, 0, 575, 0, 575,
+ 0, 575, 0, 575, 0, 575, 0, 575, 0, 575,
+ 0, 575, 0, 575, 0, 575, 0, 575, 0, 575,
+ 0, 575, 0, 575, 0, 575, 0, 575, 0, 575,
+ 0, 575, 0, 575, 0, 575, 0, 575, 0, 575,
+ 0, 575, 0, 575, 0, 575, 0, 575, 0, 575,
+ 0, 575, 0, 575, 0, 575, 0, 575, 0, 575,
+ 0, 575, 0, 583, 0, 583, 0, 583, 0, 583,
+ 0, 583, 0, 583, 0, 583, 0, 583, 0, 583,
+ 0, 583, 0, 583, 0, 583, 0, 583, 0, 583,
+ 0, 583, 0, 583, 0, 583, 0, 583, 0, 583,
+ 0, 583, 0, 583, 0, 583, 0, 583, 0, 583,
+ 0, 583, 0, 583, 0, 583, 0, 583, 0, 583,
+ 0, 583, 0, 583, 0, 583, 0, 583, 0, 583,
+ 0, 583, 0, 583, 0, 583, 0, 583, 0, 583,
+ 0, 583, 0, 583, 0, 583, 0, 583, 0, 583,
+ 0, 144, 0, 144, 0, 144, 0, 144, 0, 144,
+ 0, 144, 0, 144, 0, 144, 0, 144, 0, 144,
+ 0, 144, 0, 144, 0, 144, 0, 144, 0, 144,
+ 0, 144, 0, 144, 0, 144, 0, 144, 0, 144,
+ 0, 144, 0, 144, 0, 144, 0, 144, 0, 144,
+ 0, 144, 0, 144, 0, 144, 0, 144, 0, 144,
+ 0, 144, 0, 144, 0, 144, 0, 144, 0, 144,
+ 0, 144, 0, 144, 0, 144, 0, 144, 0, 144,
+ 0, 144, 0, 144, 0, 144, 0, 144, 0, 611,
+ 0, 611, 0, 611, 0, 611, 0, 611, 0, 611,
+ 0, 611, 0, 611, 0, 611, 0, 611, 0, 611,
+ 0, 611, 0, 611, 0, 611, 0, 611, 0, 611,
+ 0, 611, 0, 611, 0, 611, 0, 611, 0, 611,
+ 0, 611, 0, 611, 0, 611, 0, 611, 0, 611,
+ 0, 611, 0, 611, 0, 611, 0, 611, 0, 611,
+ 0, 611, 0, 611, 0, 611, 0, 611, 0, 611,
+ 0, 611, 0, 611, 0, 611, 0, 611, 0, 611,
+ 0, 611, 0, 611, 0, 611, 0, 609, 0, 609,
+ 0, 609, 0, 609, 0, 609, 0, 609, 0, 609,
+ 0, 609, 0, 609, 0, 609, 0, 609, 0, 609,
+ 0, 609, 0, 609, 0, 609, 0, 609, 0, 609,
+ 0, 609, 0, 609, 0, 609, 0, 609, 0, 609,
+ 0, 609, 0, 609, 0, 609, 0, 609, 0, 609,
+ 0, 609, 0, 609, 0, 609, 0, 609, 0, 609,
+ 0, 609, 0, 609, 0, 609, 0, 609, 0, 609,
+ 0, 609, 0, 609, 0, 609, 0, 609, 0, 609,
+ 0, 609, 0, 609, 0, 608, 0, 608, 0, 608,
+ 0, 608, 0, 608, 0, 608, 0, 608, 0, 608,
+ 0, 608, 0, 608, 0, 608, 0, 608, 0, 608,
+ 0, 608, 0, 608, 0, 608, 0, 608, 0, 608,
+ 0, 608, 0, 608, 0, 608, 0, 608, 0, 608,
+ 0, 608, 0, 608, 0, 608, 0, 608, 0, 608,
+ 0, 608, 0, 608, 0, 608, 0, 608, 0, 608,
+ 0, 608, 0, 608, 0, 608, 0, 608, 0, 608,
+ 0, 608, 0, 608, 0, 608, 0, 608, 0, 608,
+ 0, 608, 0, 610, 0, 610, 0, 610, 0, 610,
+ 0, 610, 0, 610, 0, 610, 0, 610, 0, 610,
+ 0, 610, 0, 610, 0, 610, 0, 610, 0, 610,
+ 0, 610, 0, 610, 0, 610, 0, 610, 0, 610,
+ 0, 610, 0, 610, 0, 610, 0, 610, 0, 610,
+ 0, 610, 0, 610, 0, 610, 0, 610, 0, 610,
+ 0, 610, 0, 610, 0, 610, 0, 610, 0, 610,
+ 0, 610, 0, 610, 0, 610, 0, 610, 0, 610,
+ 0, 610, 0, 610, 0, 610, 0, 610, 0, 610,
+ 0, 607, 0, 607, 0, 607, 0, 607, 0, 607,
+ 0, 607, 0, 607, 0, 607, 0, 607, 0, 607,
+ 0, 607, 0, 607, 0, 607, 0, 607, 0, 607,
+ 0, 607, 0, 607, 0, 607, 0, 607, 0, 607,
+ 0, 607, 0, 607, 0, 607, 0, 607, 0, 607,
+ 0, 607, 0, 607, 0, 607, 0, 607, 0, 607,
+ 0, 607, 0, 607, 0, 607, 0, 607, 0, 607,
+ 0, 607, 0, 607, 0, 607, 0, 607, 0, 607,
+ 0, 607, 0, 607, 0, 607, 0, 607, 0, 606,
+ 0, 606, 0, 606, 0, 606, 0, 606, 0, 606,
+ 0, 606, 0, 606, 0, 606, 0, 606, 0, 606,
+ 0, 606, 0, 606, 0, 606, 0, 606, 0, 606,
+ 0, 606, 0, 606, 0, 606, 0, 606, 0, 606,
+ 0, 606, 0, 606, 0, 606, 0, 606, 0, 606,
+ 0, 606, 0, 606, 0, 606, 0, 606, 0, 606,
+ 0, 606, 0, 606, 0, 606, 0, 606, 0, 606,
+ 0, 606, 0, 606, 0, 606, 0, 606, 0, 606,
+ 0, 606, 0, 606, 0, 606, 0, 501, 0, 501,
+ 0, 451, 0, 451, 0, 452, 0, 42, 0, 487,
+ 0, 487, 0, 487, 0, 613, 0, 386, 0, 562,
+ 0, 562, 0, 562, 0, 613, 0, 339, 0, 483,
+ 0
+};
+
+/* Error token number */
+#define YYTERROR 1
+
+
+
+
+#undef yynerrs
+#define yynerrs (yystackp->yyerrcnt)
+#undef yychar
+#define yychar (yystackp->yyrawchar)
+#undef yylval
+#define yylval (yystackp->yyval)
+#undef yylloc
+#define yylloc (yystackp->yyloc)
+#define psi_parser_proc_nerrs yynerrs
+#define psi_parser_proc_char yychar
+#define psi_parser_proc_lval yylval
+#define psi_parser_proc_lloc yylloc
+
+static const int YYEOF = 0;
+static const int YYEMPTY = -2;
+
+typedef enum { yyok, yyaccept, yyabort, yyerr } YYRESULTTAG;
+
+#define YYCHK(YYE) \
+ do { \
+ YYRESULTTAG yychk_flag = YYE; \
+ if (yychk_flag != yyok) \
+ return yychk_flag; \
+ } while (0)
+
+#if YYDEBUG
+
+# ifndef YYFPRINTF
+# define YYFPRINTF fprintf
+# endif
+
+/* This macro is provided for backward compatibility. */
+#ifndef YY_LOCATION_PRINT
+# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
#endif
- p->yystksz = newSize;
- }
- return pNew==0;
+
+
+# define YYDPRINTF(Args) \
+ do { \
+ if (yydebug) \
+ YYFPRINTF Args; \
+ } while (0)
+
+
+/*----------------------------------------.
+| Print this symbol's value on YYOUTPUT. |
+`----------------------------------------*/
+
+static void
+yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ FILE *yyo = yyoutput;
+ YYUSE (yyo);
+ YYUSE (P);
+ YYUSE (tokens);
+ YYUSE (index);
+ if (!yyvaluep)
+ return;
+ YYUSE (yytype);
}
-#endif
-/* Datatype of the argument to the memory allocated passed as the
-** second argument to ParseAlloc() below. This can be changed by
-** putting an appropriate #define in the %include section of the input
-** grammar.
-*/
-#ifndef YYMALLOCARGTYPE
-# define YYMALLOCARGTYPE size_t
+
+/*--------------------------------.
+| Print this symbol on YYOUTPUT. |
+`--------------------------------*/
+
+static void
+yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ YYFPRINTF (yyoutput, "%s %s (",
+ yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]);
+
+ yy_symbol_value_print (yyoutput, yytype, yyvaluep, P, tokens, index);
+ YYFPRINTF (yyoutput, ")");
+}
+
+# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
+ do { \
+ if (yydebug) \
+ { \
+ YYFPRINTF (stderr, "%s ", Title); \
+ yy_symbol_print (stderr, Type, Value, P, tokens, index); \
+ YYFPRINTF (stderr, "\n"); \
+ } \
+ } while (0)
+
+/* Nonzero means print parse trace. It is left uninitialized so that
+ multiple parsers can coexist. */
+int yydebug;
+
+struct yyGLRStack;
+static void yypstack (struct yyGLRStack* yystackp, size_t yyk)
+ YY_ATTRIBUTE_UNUSED;
+static void yypdumpstack (struct yyGLRStack* yystackp)
+ YY_ATTRIBUTE_UNUSED;
+
+#else /* !YYDEBUG */
+
+# define YYDPRINTF(Args)
+# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
+
+#endif /* !YYDEBUG */
+
+/* YYINITDEPTH -- initial size of the parser's stacks. */
+#ifndef YYINITDEPTH
+# define YYINITDEPTH 200
#endif
-/* Initialize a new parser that has already been allocated.
-*/
-void ParseInit(void *yypParser){
- yyParser *pParser = (yyParser*)yypParser;
-#ifdef YYTRACKMAXSTACKDEPTH
- pParser->yyhwm = 0;
+/* 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 < YYMAXDEPTH * sizeof (GLRStackItem)
+ evaluated with infinite-precision integer arithmetic. */
+
+#ifndef YYMAXDEPTH
+# define YYMAXDEPTH 10000
#endif
-#if YYSTACKDEPTH<=0
- pParser->yytos = NULL;
- pParser->yystack = NULL;
- pParser->yystksz = 0;
- if( yyGrowStack(pParser) ){
- pParser->yystack = &pParser->yystk0;
- pParser->yystksz = 1;
- }
+
+/* Minimum number of free items on the stack allowed after an
+ allocation. This is to allow allocation and initialization
+ to be completed by functions that call yyexpandGLRStack before the
+ stack is expanded, thus insuring that all necessary pointers get
+ properly redirected to new data. */
+#define YYHEADROOM 2
+
+#ifndef YYSTACKEXPANDABLE
+# define YYSTACKEXPANDABLE 1
#endif
-#ifndef YYNOERRORRECOVERY
- pParser->yyerrcnt = -1;
+
+#if YYSTACKEXPANDABLE
+# define YY_RESERVE_GLRSTACK(Yystack) \
+ do { \
+ if (Yystack->yyspaceLeft < YYHEADROOM) \
+ yyexpandGLRStack (Yystack); \
+ } while (0)
+#else
+# define YY_RESERVE_GLRSTACK(Yystack) \
+ do { \
+ if (Yystack->yyspaceLeft < YYHEADROOM) \
+ yyMemoryExhausted (Yystack); \
+ } while (0)
#endif
- pParser->yytos = pParser->yystack;
- pParser->yystack[0].stateno = 0;
- pParser->yystack[0].major = 0;
-}
-
-#ifndef Parse_ENGINEALWAYSONSTACK
-/*
-** This function allocates a new parser.
-** The only argument is a pointer to a function which works like
-** malloc.
-**
-** Inputs:
-** A pointer to the function used to allocate memory.
-**
-** Outputs:
-** A pointer to a parser. This pointer is used in subsequent calls
-** to Parse and ParseFree.
-*/
-void *ParseAlloc(void *(*mallocProc)(YYMALLOCARGTYPE)){
- yyParser *pParser;
- pParser = (yyParser*)(*mallocProc)( (YYMALLOCARGTYPE)sizeof(yyParser) );
- if( pParser ) ParseInit(pParser);
- return pParser;
-}
-#endif /* Parse_ENGINEALWAYSONSTACK */
-
-
-/* The following function deletes the "minor type" or semantic value
-** associated with a symbol. The symbol can be either a terminal
-** or nonterminal. "yymajor" is the symbol code, and "yypminor" is
-** a pointer to the value to be deleted. The code used to do the
-** deletions is derived from the %destructor and/or %token_destructor
-** directives of the input grammar.
-*/
-static void yy_destructor(
- yyParser *yypParser, /* The parser */
- YYCODETYPE yymajor, /* Type code for object to destroy */
- YYMINORTYPE *yypminor /* The object to be destroyed */
-){
- ParseARG_FETCH;
- switch( yymajor ){
- /* Here is inserted the actions which take place when a
- ** terminal or non-terminal is destroyed. This can happen
- ** when the symbol is popped from the stack during a
- ** reduce or during error processing or when a parser is
- ** being destroyed before it is finished parsing.
- **
- ** Note: during a reduce, the only symbols destroyed are those
- ** which appear on the RHS of the rule, but which are *not* used
- ** inside the C code.
- */
-/********* Begin destructor definitions ***************************************/
- /* TERMINAL Destructor */
- case 1: /* BOOL */
- case 2: /* INT */
- case 3: /* FLOAT */
- case 4: /* STRING */
- case 5: /* DOUBLE */
- case 6: /* INT8 */
- case 7: /* UINT8 */
- case 8: /* INT16 */
- case 9: /* UINT16 */
- case 10: /* INT32 */
- case 11: /* UINT32 */
- case 12: /* INT64 */
- case 13: /* UINT64 */
- case 14: /* NAME */
- case 15: /* NULL */
- case 16: /* NUMBER */
- case 17: /* TRUE */
- case 18: /* FALSE */
- case 19: /* QUOTED_STRING */
- case 20: /* NSNAME */
- case 21: /* PIPE */
- case 22: /* CARET */
- case 23: /* AMPERSAND */
- case 24: /* LSHIFT */
- case 25: /* RSHIFT */
- case 26: /* PLUS */
- case 27: /* MINUS */
- case 28: /* ASTERISK */
- case 29: /* SLASH */
- case 30: /* MODULO */
- case 31: /* RCHEVR */
- case 32: /* LCHEVR */
- case 33: /* CMP_GE */
- case 34: /* CMP_LE */
- case 35: /* OR */
- case 36: /* AND */
- case 37: /* CMP_EQ */
- case 38: /* CMP_NE */
- case 39: /* TILDE */
- case 40: /* NOT */
- case 41: /* ZVAL */
- case 42: /* OBJVAL */
- case 43: /* ARRVAL */
- case 44: /* PATHVAL */
- case 45: /* STRLEN */
- case 46: /* STRVAL */
- case 47: /* FLOATVAL */
- case 48: /* INTVAL */
- case 49: /* BOOLVAL */
- case 50: /* COUNT */
- case 51: /* TO_OBJECT */
- case 52: /* TO_ARRAY */
- case 53: /* TO_STRING */
- case 54: /* TO_INT */
- case 55: /* TO_FLOAT */
- case 56: /* TO_BOOL */
- case 57: /* VOID */
- case 58: /* MIXED */
- case 59: /* ARRAY */
- case 60: /* OBJECT */
- case 61: /* CALLABLE */
- case 62: /* PRE_ASSERT */
- case 63: /* POST_ASSERT */
- case 64: /* ERROR */
- case 65: /* WARNING */
- case 66: /* TEMP */
- case 67: /* FREE */
- case 68: /* SET */
- case 69: /* LET */
- case 70: /* RETURN */
- case 71: /* CALLOC */
- case 72: /* CALLBACK */
- case 73: /* LIB */
- case 74: /* ANY */
- case 75: /* EOS */
- case 76: /* EOL */
- case 77: /* COMMENT */
- case 78: /* HASH */
- case 79: /* IFDEF */
- case 80: /* IFNDEF */
- case 81: /* ENDIF */
- case 82: /* ELSE */
- case 83: /* UNDEF */
- case 84: /* DEFINE */
- case 85: /* NO_WHITESPACE */
- case 86: /* LPAREN */
- case 87: /* RPAREN */
- case 88: /* COMMA */
- case 89: /* IF */
- case 90: /* ELIF */
- case 91: /* DEFINED */
- case 92: /* COLON */
- case 93: /* ENUM */
- case 94: /* STRUCT */
- case 95: /* UNION */
- case 96: /* LBRACE */
- case 97: /* RBRACE */
- case 98: /* EQUALS */
- case 99: /* CONST */
- case 100: /* TYPEDEF */
- case 101: /* ELLIPSIS */
- case 102: /* LBRACKET */
- case 103: /* RBRACKET */
- case 104: /* CHAR */
- case 105: /* SHORT */
- case 106: /* LONG */
- case 107: /* UNSIGNED */
- case 108: /* SIGNED */
- case 109: /* STATIC */
- case 110: /* FUNCTION */
- case 111: /* DOLLAR_NAME */
-{
-#line 37 "src/parser_proc.y"
-free((yypminor->yy0));
-#line 1220 "src/parser_proc.c"
+
+
+#if YYERROR_VERBOSE
+
+# 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 *
+yystpcpy (char *yydest, const char *yysrc)
+{
+ char *yyd = yydest;
+ const char *yys = yysrc;
+
+ while ((*yyd++ = *yys++) != '\0')
+ continue;
+
+ return yyd - 1;
}
- break;
- /* Default NON-TERMINAL Destructor */
- case 112: /* error */
- case 119: /* align_and_size */
- case 176: /* reference */
- case 177: /* indirection */
- case 178: /* pointers */
- case 179: /* file */
- case 180: /* blocks */
- case 181: /* block */
- case 182: /* optional_name */
- case 183: /* enum_name */
- case 184: /* struct_name */
- case 185: /* union_name */
- case 186: /* decl_var_array_size */
- case 187: /* decl_scalar_type */
- case 188: /* decl_scalar_type_short */
- case 189: /* decl_scalar_type_long */
- case 190: /* decl_scalar_type_long_long */
- case 191: /* callback_rval */
-{
-#line 38 "src/parser_proc.y"
-(void)P;
-#line 1245 "src/parser_proc.c"
+# endif
+# endif
+
+# ifndef yytnamerr
+/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
+ quotes and backslashes, so that it's suitable for yyerror. The
+ heuristic is that double-quoting is unnecessary unless the string
+ contains an apostrophe, a comma, or backslash (other than
+ backslash-backslash). YYSTR is taken from yytname. If YYRES is
+ null, do not copy; instead, return the length of what the result
+ would have been. */
+static size_t
+yytnamerr (char *yyres, const char *yystr)
+{
+ if (*yystr == '"')
+ {
+ size_t yyn = 0;
+ char const *yyp = yystr;
+
+ for (;;)
+ switch (*++yyp)
+ {
+ case '\'':
+ case ',':
+ goto do_not_strip_quotes;
+
+ case '\\':
+ if (*++yyp != '\\')
+ goto do_not_strip_quotes;
+ /* Fall through. */
+ default:
+ if (yyres)
+ yyres[yyn] = *yyp;
+ yyn++;
+ break;
+
+ case '"':
+ if (yyres)
+ yyres[yyn] = '\0';
+ return yyn;
+ }
+ do_not_strip_quotes: ;
+ }
+
+ if (! yyres)
+ return strlen (yystr);
+
+ return yystpcpy (yyres, yystr) - yyres;
}
- break;
- case 113: /* decl_enum */
+# endif
+
+#endif /* !YYERROR_VERBOSE */
+
+/** State numbers, as in LALR(1) machine */
+typedef int yyStateNum;
+
+/** Rule numbers, as in LALR(1) machine */
+typedef int yyRuleNum;
+
+/** Grammar symbol */
+typedef int yySymbol;
+
+/** Item references, as in LALR(1) machine */
+typedef short int yyItemNum;
+
+typedef struct yyGLRState yyGLRState;
+typedef struct yyGLRStateSet yyGLRStateSet;
+typedef struct yySemanticOption yySemanticOption;
+typedef union yyGLRStackItem yyGLRStackItem;
+typedef struct yyGLRStack yyGLRStack;
+
+struct yyGLRState {
+ /** Type tag: always true. */
+ yybool yyisState;
+ /** Type tag for yysemantics. If true, yysval applies, otherwise
+ * yyfirstVal applies. */
+ yybool yyresolved;
+ /** Number of corresponding LALR(1) machine state. */
+ yyStateNum yylrState;
+ /** Preceding state in this stack */
+ yyGLRState* yypred;
+ /** Source position of the last token produced by my symbol */
+ size_t yyposn;
+ union {
+ /** First in a chain of alternative reductions producing the
+ * non-terminal corresponding to this state, threaded through
+ * yynext. */
+ yySemanticOption* yyfirstVal;
+ /** Semantic value for this state. */
+ YYSTYPE yysval;
+ } yysemantics;
+};
+
+struct yyGLRStateSet {
+ yyGLRState** yystates;
+ /** During nondeterministic operation, yylookaheadNeeds tracks which
+ * stacks have actually needed the current lookahead. During deterministic
+ * operation, yylookaheadNeeds[0] is not maintained since it would merely
+ * duplicate yychar != YYEMPTY. */
+ yybool* yylookaheadNeeds;
+ size_t yysize, yycapacity;
+};
+
+struct yySemanticOption {
+ /** Type tag: always false. */
+ yybool yyisState;
+ /** Rule number for this reduction */
+ yyRuleNum yyrule;
+ /** The last RHS state in the list of states to be reduced. */
+ yyGLRState* yystate;
+ /** The lookahead for this reduction. */
+ int yyrawchar;
+ YYSTYPE yyval;
+ /** Next sibling in chain of options. To facilitate merging,
+ * options are chained in decreasing order by address. */
+ yySemanticOption* yynext;
+};
+
+/** Type of the items in the GLR stack. The yyisState field
+ * indicates which item of the union is valid. */
+union yyGLRStackItem {
+ yyGLRState yystate;
+ yySemanticOption yyoption;
+};
+
+struct yyGLRStack {
+ int yyerrState;
+
+
+ int yyerrcnt;
+ int yyrawchar;
+ YYSTYPE yyval;
+
+ YYJMP_BUF yyexception_buffer;
+ yyGLRStackItem* yyitems;
+ yyGLRStackItem* yynextFree;
+ size_t yyspaceLeft;
+ yyGLRState* yysplitPoint;
+ yyGLRState* yylastDeleted;
+ yyGLRStateSet yytops;
+};
+
+#if YYSTACKEXPANDABLE
+static void yyexpandGLRStack (yyGLRStack* yystackp);
+#endif
+
+static _Noreturn void
+yyFail (yyGLRStack* yystackp, struct psi_parser *P, struct psi_plist *tokens, size_t *index, const char* yymsg)
{
-#line 66 "src/parser_proc.y"
-psi_decl_enum_free(&(yypminor->yy323));
-#line 1252 "src/parser_proc.c"
-}
- break;
- case 114: /* decl_enum_items */
- case 116: /* decl_struct_args_block */
- case 117: /* decl_struct_args */
- case 126: /* decl_typedef_body_fn_args */
- case 131: /* decl_vars */
- case 133: /* decl_args */
- case 134: /* struct_args */
- case 144: /* impl_args */
- case 146: /* impl_stmts */
- case 157: /* let_exps */
- case 161: /* set_exps */
- case 165: /* free_exps */
- case 170: /* cpp_macro_decl_tokens */
- case 172: /* cpp_macro_sig */
- case 173: /* cpp_macro_sig_args */
- case 174: /* cpp_macro_call */
- case 175: /* cpp_macro_call_args */
-{
-#line 68 "src/parser_proc.y"
-psi_plist_free((yypminor->yy179));
-#line 1275 "src/parser_proc.c"
+ if (yymsg != YY_NULLPTR)
+ yyerror (P, tokens, index, yymsg);
+ YYLONGJMP (yystackp->yyexception_buffer, 1);
}
- break;
- case 115: /* decl_enum_item */
+
+static _Noreturn void
+yyMemoryExhausted (yyGLRStack* yystackp)
{
-#line 70 "src/parser_proc.y"
-psi_decl_enum_item_free(&(yypminor->yy169));
-#line 1282 "src/parser_proc.c"
+ YYLONGJMP (yystackp->yyexception_buffer, 2);
}
- break;
- case 118: /* decl_struct */
+
+#if YYDEBUG || YYERROR_VERBOSE
+/** A printable representation of TOKEN. */
+static inline const char*
+yytokenName (yySymbol yytoken)
{
-#line 76 "src/parser_proc.y"
-psi_decl_struct_free(&(yypminor->yy324));
-#line 1289 "src/parser_proc.c"
+ if (yytoken == YYEMPTY)
+ return "";
+
+ return yytname[yytoken];
}
- break;
- case 120: /* decl_union */
+#endif
+
+/** Fill in YYVSP[YYLOW1 .. YYLOW0-1] from the chain of states starting
+ * at YYVSP[YYLOW0].yystate.yypred. Leaves YYVSP[YYLOW1].yystate.yypred
+ * containing the pointer to the next state in the chain. */
+static void yyfillin (yyGLRStackItem *, int, int) YY_ATTRIBUTE_UNUSED;
+static void
+yyfillin (yyGLRStackItem *yyvsp, int yylow0, int yylow1)
{
-#line 79 "src/parser_proc.y"
-psi_decl_union_free(&(yypminor->yy15));
-#line 1296 "src/parser_proc.c"
+ int i;
+ yyGLRState *s = yyvsp[yylow0].yystate.yypred;
+ for (i = yylow0-1; i >= yylow1; i -= 1)
+ {
+#if YYDEBUG
+ yyvsp[i].yystate.yylrState = s->yylrState;
+#endif
+ yyvsp[i].yystate.yyresolved = s->yyresolved;
+ if (s->yyresolved)
+ yyvsp[i].yystate.yysemantics.yysval = s->yysemantics.yysval;
+ else
+ /* The effect of using yysval or yyloc (in an immediate rule) is
+ * undefined. */
+ yyvsp[i].yystate.yysemantics.yyfirstVal = YY_NULLPTR;
+ s = yyvsp[i].yystate.yypred = s->yypred;
+ }
}
- break;
- case 121: /* const_type */
-{
-#line 81 "src/parser_proc.y"
-psi_const_type_free(&(yypminor->yy351));
-#line 1303 "src/parser_proc.c"
+
+/* Do nothing if YYNORMAL or if *YYLOW <= YYLOW1. Otherwise, fill in
+ * YYVSP[YYLOW1 .. *YYLOW-1] as in yyfillin and set *YYLOW = YYLOW1.
+ * For convenience, always return YYLOW1. */
+static inline int yyfill (yyGLRStackItem *, int *, int, yybool)
+ YY_ATTRIBUTE_UNUSED;
+static inline int
+yyfill (yyGLRStackItem *yyvsp, int *yylow, int yylow1, yybool yynormal)
+{
+ if (!yynormal && yylow1 < *yylow)
+ {
+ yyfillin (yyvsp, *yylow, yylow1);
+ *yylow = yylow1;
+ }
+ return yylow1;
}
- break;
- case 122: /* constant */
-{
-#line 83 "src/parser_proc.y"
-psi_const_free(&(yypminor->yy38));
-#line 1310 "src/parser_proc.c"
+
+/** Perform user action for rule number YYN, with RHS length YYRHSLEN,
+ * and top stack item YYVSP. YYLVALP points to place to put semantic
+ * value ($$), and yylocp points to place for location information
+ * (@$). Returns yyok for normal return, yyaccept for YYACCEPT,
+ * yyerr for YYERROR, yyabort for YYABORT. */
+static YYRESULTTAG
+yyuserAction (yyRuleNum yyn, size_t yyrhslen, yyGLRStackItem* yyvsp,
+ yyGLRStack* yystackp,
+ YYSTYPE* yyvalp, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ yybool yynormal YY_ATTRIBUTE_UNUSED = (yystackp->yysplitPoint == YY_NULLPTR);
+ int yylow;
+ YYUSE (yyvalp);
+ YYUSE (P);
+ YYUSE (tokens);
+ YYUSE (index);
+ YYUSE (yyrhslen);
+# undef yyerrok
+# define yyerrok (yystackp->yyerrState = 0)
+# undef YYACCEPT
+# define YYACCEPT return yyaccept
+# undef YYABORT
+# define YYABORT return yyabort
+# undef YYERROR
+# define YYERROR return yyerrok, yyerr
+# undef YYRECOVERING
+# define YYRECOVERING() (yystackp->yyerrState != 0)
+# undef yyclearin
+# define yyclearin (yychar = YYEMPTY)
+# undef YYFILL
+# define YYFILL(N) yyfill (yyvsp, &yylow, N, yynormal)
+# undef YYBACKUP
+# define YYBACKUP(Token, Value) \
+ return yyerror (P, tokens, index, YY_("syntax error: cannot back up")), \
+ yyerrok, yyerr
+
+ yylow = 1;
+ if (yyrhslen == 0)
+ *yyvalp = yyval_default;
+ else
+ *yyvalp = yyvsp[YYFILL (1-yyrhslen)].yystate.yysemantics.yysval;
+ switch (yyn)
+ {
+ case 284:
+#line 452 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ if ((*(struct psi_cpp_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ psi_cpp_exp_exec((*(struct psi_cpp_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), P->preproc, PSI_DATA(P));
+ psi_cpp_exp_free(&(*(struct psi_cpp_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ }
}
- break;
- case 123: /* decl_typedef */
- case 124: /* decl_typedef_body_ex */
- case 125: /* decl_typedef_body */
- case 128: /* decl_func */
- case 132: /* decl_arg */
- case 135: /* struct_arg */
-{
-#line 85 "src/parser_proc.y"
-psi_decl_arg_free(&(yypminor->yy320));
-#line 1322 "src/parser_proc.c"
+#line 4305 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 285:
+#line 458 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ char *libname = strdup((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text);
+ P->file.libnames = psi_plist_add(P->file.libnames, &libname);
+}
+#line 4314 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 286:
+#line 462 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ psi_parser_proc_add_const(P, (*(struct psi_const **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 127: /* decl */
-{
-#line 93 "src/parser_proc.y"
-psi_decl_free(&(yypminor->yy303));
-#line 1329 "src/parser_proc.c"
+#line 4322 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 287:
+#line 465 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ psi_parser_proc_add_decl(P, (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 129: /* decl_abi */
-{
-#line 97 "src/parser_proc.y"
-psi_decl_abi_free(&(yypminor->yy26));
-#line 1336 "src/parser_proc.c"
+#line 4330 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 288:
+#line 468 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ psi_parser_proc_add_decl_extvars(P, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 130: /* decl_var */
-{
-#line 99 "src/parser_proc.y"
-psi_decl_var_free(&(yypminor->yy271));
-#line 1343 "src/parser_proc.c"
+#line 4338 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 289:
+#line 471 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ if (P->flags & PSI_DEBUG) {
+ P->error(PSI_DATA(P), (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->func->token, PSI_NOTICE, "Ignored decl: %s", (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->func->var->name);
+ }
+ psi_decl_free(&(*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 136: /* decl_layout */
-{
-#line 111 "src/parser_proc.y"
-psi_layout_free(&(yypminor->yy369));
-#line 1350 "src/parser_proc.c"
+#line 4349 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 290:
+#line 477 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ psi_parser_proc_add_typedef(P, (*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 137: /* decl_type */
- case 138: /* const_decl_type */
-{
-#line 113 "src/parser_proc.y"
-psi_decl_type_free(&(yypminor->yy172));
-#line 1358 "src/parser_proc.c"
+#line 4357 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 291:
+#line 480 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ psi_parser_proc_add_struct(P, (*(struct psi_decl_struct **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 139: /* impl */
-{
-#line 117 "src/parser_proc.y"
-psi_impl_free(&(yypminor->yy49));
-#line 1365 "src/parser_proc.c"
+#line 4365 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 292:
+#line 483 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ psi_parser_proc_add_union(P, (*(struct psi_decl_union **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 140: /* impl_func */
-{
-#line 119 "src/parser_proc.y"
-psi_impl_func_free(&(yypminor->yy56));
-#line 1372 "src/parser_proc.c"
+#line 4373 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 293:
+#line 486 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ psi_parser_proc_add_enum(P, (*(struct psi_decl_enum **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 141: /* impl_def_val */
-{
-#line 121 "src/parser_proc.y"
-psi_impl_def_val_free(&(yypminor->yy145));
-#line 1379 "src/parser_proc.c"
+#line 4381 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 294:
+#line 489 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ psi_parser_proc_add_impl(P, (*(struct psi_impl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 142: /* impl_var */
-{
-#line 123 "src/parser_proc.y"
-psi_impl_var_free(&(yypminor->yy370));
-#line 1386 "src/parser_proc.c"
+#line 4389 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 295:
+#line 495 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
- break;
- case 143: /* impl_arg */
- case 145: /* impl_vararg */
-{
-#line 125 "src/parser_proc.y"
-psi_impl_arg_free(&(yypminor->yy34));
-#line 1394 "src/parser_proc.c"
+#line 4397 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 296:
+#line 501 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_cpp_exp **)(&(*yyvalp))) = NULL;
}
- break;
- case 147: /* impl_stmt */
-{
-#line 133 "src/parser_proc.y"
-psi_impl_stmt_free(&(yypminor->yy238));
-#line 1401 "src/parser_proc.c"
+#line 4405 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 297:
+#line 504 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_cpp_exp **)(&(*yyvalp))) = (*(struct psi_cpp_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
- break;
- case 148: /* number */
-{
-#line 135 "src/parser_proc.y"
-psi_number_free(&(yypminor->yy57));
-#line 1408 "src/parser_proc.c"
+#line 4413 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 298:
+#line 510 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ if ((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ struct psi_token *msg = NULL;
+
+ if (psi_plist_get((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), 0, &msg)) {
+ size_t index = 1;
+ struct psi_token *next;
+
+ msg = psi_token_copy(msg);
+ while (psi_plist_get((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), index++, &next)) {
+ struct psi_token *old = msg;
+ msg = psi_token_cat(" ", 2, msg, next);
+ free(old);
+ }
+ }
+ psi_plist_free((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+
+ (*(struct psi_cpp_exp **)(&(*yyvalp))) = psi_cpp_exp_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type, msg);
+ } else {
+ (*(struct psi_cpp_exp **)(&(*yyvalp))) = psi_cpp_exp_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type, NULL);
+ }
+ (*(struct psi_cpp_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
}
- break;
- case 149: /* num_exp */
- case 171: /* cpp_macro_exp */
-{
-#line 137 "src/parser_proc.y"
-psi_num_exp_free(&(yypminor->yy207));
-#line 1416 "src/parser_proc.c"
-}
- break;
- case 150: /* let_stmt */
-{
-#line 139 "src/parser_proc.y"
-psi_let_stmt_free(&(yypminor->yy319));
-#line 1423 "src/parser_proc.c"
+#line 4441 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 299:
+#line 533 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_cpp_exp **)(&(*yyvalp))) = psi_cpp_exp_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type, psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))));
+ (*(struct psi_cpp_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 4450 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 300:
+#line 537 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_cpp_exp **)(&(*yyvalp))) = psi_cpp_exp_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type, NULL);
+ (*(struct psi_cpp_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 4459 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 301:
+#line 541 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_cpp_exp **)(&(*yyvalp))) = psi_cpp_exp_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type, psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))));
+ (*(struct psi_cpp_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 4469 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 302:
+#line 546 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_cpp_exp **)(&(*yyvalp))) = psi_cpp_exp_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type, (*(struct psi_cpp_macro_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_cpp_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 4478 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 303:
+#line 550 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_cpp_exp **)(&(*yyvalp))) = psi_cpp_exp_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type, (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_cpp_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 4487 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 304:
+#line 554 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_cpp_exp **)(&(*yyvalp))) = psi_cpp_exp_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type, NULL);
+ (*(struct psi_cpp_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 4496 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 305:
+#line 558 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ psi_plist_free((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_cpp_exp **)(&(*yyvalp))) = NULL;
+}
+#line 4505 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 322:
+#line 602 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_cpp_macro_decl **)(&(*yyvalp))) = psi_cpp_macro_decl_init(NULL, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), NULL);
+ (*(struct psi_cpp_macro_decl **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 4515 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 323:
+#line 607 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_cpp_macro_decl **)(&(*yyvalp))) = psi_cpp_macro_decl_init((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), NULL);
+ (*(struct psi_cpp_macro_decl **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval)));
+}
+#line 4525 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 324:
+#line 612 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_cpp_macro_decl **)(&(*yyvalp))) = psi_cpp_macro_decl_init(NULL, psi_num_exp_tokens((*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), NULL), (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_cpp_macro_decl **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 4535 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 325:
+#line 617 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ struct psi_plist *list = psi_plist_init((psi_plist_dtor) psi_token_free);
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_cpp_macro_decl **)(&(*yyvalp))) = psi_cpp_macro_decl_init(NULL, psi_plist_add(list, &(*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))), NULL);
+ (*(struct psi_cpp_macro_decl **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 4546 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 326:
+#line 626 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_init(NULL);
}
- break;
- case 151: /* let_calloc */
-{
-#line 141 "src/parser_proc.y"
-psi_let_calloc_free(&(yypminor->yy45));
-#line 1430 "src/parser_proc.c"
+#line 4554 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 327:
+#line 629 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_init(NULL); /* FIXME */
}
- break;
- case 152: /* let_func */
-{
-#line 143 "src/parser_proc.y"
-psi_let_func_free(&(yypminor->yy67));
-#line 1437 "src/parser_proc.c"
+#line 4562 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 329:
+#line 633 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
}
- break;
- case 153: /* callback_arg_list */
- case 154: /* callback_args */
-{
-#line 145 "src/parser_proc.y"
-psi_plist_free((yypminor->yy243));
-#line 1445 "src/parser_proc.c"
+#line 4570 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 330:
+#line 639 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_token_free), &(*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 4580 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 331:
+#line 644 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), &(*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 4590 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 332:
+#line 652 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
- break;
- case 155: /* let_callback */
-{
-#line 149 "src/parser_proc.y"
-psi_let_callback_free(&(yypminor->yy120));
-#line 1452 "src/parser_proc.c"
+#line 4598 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 334:
+#line 659 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_token_free), &(*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 4607 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 335:
+#line 663 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), &(*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 4616 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 336:
+#line 670 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_unary((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->type, (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+}
+#line 4625 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 337:
+#line 674 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_unary((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type, (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 4634 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 338:
+#line 678 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_binary((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type, (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 4643 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 339:
+#line 682 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_ternary((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->type, (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)), (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)));
+}
+#line 4652 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 340:
+#line 687 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ {
+ uint8_t exists;
+
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ exists = psi_cpp_defined(P->preproc, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_num(psi_number_init(PSI_T_UINT8, &exists, 0));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->data.n->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ }
}
- break;
- case 156: /* let_exp */
-{
-#line 151 "src/parser_proc.y"
-psi_let_exp_free(&(yypminor->yy200));
-#line 1459 "src/parser_proc.c"
+#line 4668 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 341:
+#line 698 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ {
+ uint8_t exists;
+
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ exists = psi_cpp_defined(P->preproc, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_num(psi_number_init(PSI_T_UINT8, &exists, 0));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->data.n->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ }
}
- break;
- case 158: /* assert_stmt */
-{
-#line 155 "src/parser_proc.y"
-psi_assert_stmt_free(&(yypminor->yy201));
-#line 1466 "src/parser_proc.c"
+#line 4684 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 342:
+#line 709 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_num(psi_number_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->flags));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->data.n->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 4694 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 343:
+#line 714 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_num(psi_number_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text, 0));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->data.n->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 4704 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 344:
+#line 719 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_num((*(struct psi_number **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_number **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->token);
+}
+#line 4713 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 345:
+#line 723 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_num(psi_number_init(PSI_T_DEFINE, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text, 0));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->data.n->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 4724 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 346:
+#line 729 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_num(psi_number_init(PSI_T_FUNCTION,
+ psi_cpp_macro_call_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->text, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))), 0));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->data.n->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)));
+}
+#line 4736 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 347:
+#line 739 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
- break;
- case 159: /* set_stmt */
-{
-#line 157 "src/parser_proc.y"
-psi_set_stmt_free(&(yypminor->yy358));
-#line 1473 "src/parser_proc.c"
+#line 4744 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 349:
+#line 746 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_num_exp_free),
+ &(*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 4753 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 350:
+#line 750 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), &(*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 160: /* set_exp */
-{
-#line 159 "src/parser_proc.y"
-psi_set_exp_free(&(yypminor->yy180));
-#line 1480 "src/parser_proc.c"
+#line 4761 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 351:
+#line 756 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_const **)(&(*yyvalp))) = psi_const_init((*(struct psi_impl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)), (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->text, (*(struct psi_impl_def_val **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_const **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)));
+}
+#line 4770 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 352:
+#line 763 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_impl_def_val **)(&(*yyvalp))) = psi_impl_def_val_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text);
+ (*(struct psi_impl_def_val **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 4779 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 353:
+#line 767 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_impl_def_val **)(&(*yyvalp))) = psi_impl_def_val_init(PSI_T_NUMBER, (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_impl_def_val **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->token);
+}
+#line 4788 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 354:
+#line 771 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_impl_def_val **)(&(*yyvalp))) = psi_impl_def_val_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text);
+ (*(struct psi_impl_def_val **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 4797 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 358:
+#line 784 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = (*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
- break;
- case 162: /* set_func */
-{
-#line 163 "src/parser_proc.y"
-psi_set_func_free(&(yypminor->yy362));
-#line 1487 "src/parser_proc.c"
+#line 4805 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 359:
+#line 798 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = (*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
- break;
- case 163: /* return_stmt */
-{
-#line 165 "src/parser_proc.y"
-psi_return_stmt_free(&(yypminor->yy342));
-#line 1494 "src/parser_proc.c"
+#line 4813 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 360:
+#line 804 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = (*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
- break;
- case 164: /* free_stmt */
-{
-#line 167 "src/parser_proc.y"
-psi_free_stmt_free(&(yypminor->yy220));
-#line 1501 "src/parser_proc.c"
+#line 4821 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 361:
+#line 807 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = (*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
- break;
- case 166: /* free_exp */
-{
-#line 171 "src/parser_proc.y"
-psi_free_exp_free(&(yypminor->yy146));
-#line 1508 "src/parser_proc.c"
+#line 4829 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 362:
+#line 813 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = (*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
- break;
- case 167: /* impl_type */
-{
-#line 173 "src/parser_proc.y"
-psi_impl_type_free(&(yypminor->yy246));
-#line 1515 "src/parser_proc.c"
+#line 4837 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 363:
+#line 816 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = (*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
- break;
- case 168: /* cpp_exp */
-{
-#line 175 "src/parser_proc.y"
-psi_cpp_exp_free(&(yypminor->yy274));
-#line 1522 "src/parser_proc.c"
+#line 4845 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 365:
+#line 823 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init(
+ psi_decl_type_init(PSI_T_FUNCTION, (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->func->var->name),
+ psi_decl_var_copy((*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->func->var)
+ );
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->token = psi_token_copy((*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->func->token);
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.func = (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+}
+#line 4858 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 366:
+#line 831 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init(
+ psi_decl_type_init(PSI_T_ENUM, (*(struct psi_decl_enum **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->name),
+ psi_decl_var_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text, 0, 0)
+ );
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->var->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->token = psi_token_copy((*(struct psi_decl_enum **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->token);
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.enm = (*(struct psi_decl_enum **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
+ psi_parser_proc_add_enum(P, (*(struct psi_decl_enum **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 4874 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 367:
+#line 842 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init(psi_decl_type_init(PSI_T_STRUCT, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->text), (*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->token = (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.strct = psi_decl_struct_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->text, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.strct->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.strct->align = (*(struct psi_layout*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)).pos;
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.strct->size = (*(struct psi_layout*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)).len;
+ psi_parser_proc_add_struct(P, (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.strct);
+}
+#line 4888 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 368:
+#line 851 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init(psi_decl_type_init(PSI_T_UNION, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->text), (*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->token = (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.unn = psi_decl_union_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->text, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.unn->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.unn->align = (*(struct psi_layout*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)).pos;
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.unn->size = (*(struct psi_layout*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)).len;
+ psi_parser_proc_add_union(P, (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.unn);
+}
+#line 4902 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 370:
+#line 864 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init((*(struct psi_decl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), psi_decl_var_init(NULL, 0, 0));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->var->token = psi_token_copy((*(struct psi_decl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->token);
+}
+#line 4911 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 371:
+#line 868 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init(
+ psi_decl_type_init(PSI_T_ENUM, (*(struct psi_decl_enum **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->name),
+ psi_decl_var_init(NULL, 0, 0)
+ );
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->var->token = psi_token_copy((*(struct psi_decl_enum **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->token);
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->token = psi_token_copy((*(struct psi_decl_enum **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->token);
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.enm = (*(struct psi_decl_enum **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ psi_parser_proc_add_enum(P, (*(struct psi_decl_enum **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 4926 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 372:
+#line 878 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init(psi_decl_type_init(PSI_T_STRUCT, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->text), psi_decl_var_init(NULL, 0, 0));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->token = (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.strct = psi_decl_struct_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->text, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.strct->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.strct->align = (*(struct psi_layout*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)).pos;
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.strct->size = (*(struct psi_layout*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)).len;
+ psi_parser_proc_add_struct(P, (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.strct);
+}
+#line 4940 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 373:
+#line 887 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init(psi_decl_type_init(PSI_T_UNION, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->text), psi_decl_var_init(NULL, 0, 0));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->token = (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.unn = psi_decl_union_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->text, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.unn->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.unn->align = (*(struct psi_layout*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)).pos;
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.unn->size = (*(struct psi_layout*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)).len;
+ psi_parser_proc_add_union(P, (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.unn);
+}
+#line 4954 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 375:
+#line 900 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_type **)(&(*yyvalp))) = (*(struct psi_decl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
- break;
- case 169: /* cpp_macro_decl */
-{
-#line 177 "src/parser_proc.y"
-psi_cpp_macro_decl_free(&(yypminor->yy134));
-#line 1529 "src/parser_proc.c"
+#line 4962 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 376:
+#line 903 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_type **)(&(*yyvalp))) = (*(struct psi_decl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
- break;
-/********* End destructor definitions *****************************************/
- default: break; /* If no destructor action specified: do nothing */
- }
+#line 4970 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 379:
+#line 914 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_type **)(&(*yyvalp))) = psi_decl_type_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text);
+ (*(struct psi_decl_type **)(&(*yyvalp)))->token = (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+}
+#line 4979 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 381:
+#line 922 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_decl_type **)(&(*yyvalp))) = psi_decl_type_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text);
+ (*(struct psi_decl_type **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 4989 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 382:
+#line 927 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_decl_type **)(&(*yyvalp))) = psi_decl_type_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text);
+ (*(struct psi_decl_type **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 4999 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 383:
+#line 932 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_decl_type **)(&(*yyvalp))) = psi_decl_type_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text);
+ (*(struct psi_decl_type **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 5009 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 386:
+#line 942 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
+#line 5017 "src/parser_proc.c" /* glr.c:816 */
+ break;
-/*
-** Pop the parser's stack once.
-**
-** If there is a destructor routine associated with the token which
-** is popped from the stack, then call it.
-*/
-static void yy_pop_parser_stack(yyParser *pParser){
- yyStackEntry *yytos;
- assert( pParser->yytos!=0 );
- assert( pParser->yytos > pParser->yystack );
- yytos = pParser->yytos--;
-#ifndef NDEBUG
- if( yyTraceFILE ){
- fprintf(yyTraceFILE,"%sPopping %s\n",
- yyTracePrompt,
- yyTokenName[yytos->major]);
- }
-#endif
- yy_destructor(pParser, yytos->major, &yytos->minor);
+ case 387:
+#line 945 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
+#line 5025 "src/parser_proc.c" /* glr.c:816 */
+ break;
-/*
-** Clear all secondary memory allocations from the parser
-*/
-void ParseFinalize(void *p){
- yyParser *pParser = (yyParser*)p;
- while( pParser->yytos>pParser->yystack ) yy_pop_parser_stack(pParser);
-#if YYSTACKDEPTH<=0
- if( pParser->yystack!=&pParser->yystk0 ) free(pParser->yystack);
-#endif
+ case 388:
+#line 951 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
+#line 5033 "src/parser_proc.c" /* glr.c:816 */
+ break;
-#ifndef Parse_ENGINEALWAYSONSTACK
-/*
-** Deallocate and destroy a parser. Destructors are called for
-** all stack elements before shutting the parser down.
-**
-** If the YYPARSEFREENEVERNULL macro exists (for example because it
-** is defined in a %include section of the input grammar) then it is
-** assumed that the input pointer is never NULL.
-*/
-void ParseFree(
- void *p, /* The parser to be deleted */
- void (*freeProc)(void*) /* Function used to reclaim memory */
-){
-#ifndef YYPARSEFREENEVERNULL
- if( p==0 ) return;
-#endif
- ParseFinalize(p);
- (*freeProc)(p);
+ case 389:
+#line 954 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#endif /* Parse_ENGINEALWAYSONSTACK */
+#line 5041 "src/parser_proc.c" /* glr.c:816 */
+ break;
-/*
-** Return the peak depth of the stack for a parser.
-*/
-#ifdef YYTRACKMAXSTACKDEPTH
-int ParseStackPeak(void *p){
- yyParser *pParser = (yyParser*)p;
- return pParser->yyhwm;
+ case 390:
+#line 957 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_cat(" ", 2, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#endif
+#line 5049 "src/parser_proc.c" /* glr.c:816 */
+ break;
-/*
-** Find the appropriate action for a parser given the terminal
-** look-ahead token iLookAhead.
-*/
-static unsigned int yy_find_shift_action(
- yyParser *pParser, /* The parser */
- YYCODETYPE iLookAhead /* The look-ahead token */
-){
- int i;
- int stateno = pParser->yytos->stateno;
-
- if( stateno>=YY_MIN_REDUCE ) return stateno;
- assert( stateno <= YY_SHIFT_COUNT );
- do{
- i = yy_shift_ofst[stateno];
- assert( iLookAhead!=YYNOCODE );
- i += iLookAhead;
- if( i<0 || i>=YY_ACTTAB_COUNT || yy_lookahead[i]!=iLookAhead ){
-#ifdef YYFALLBACK
- YYCODETYPE iFallback; /* Fallback token */
- if( iLookAhead<sizeof(yyFallback)/sizeof(yyFallback[0])
- && (iFallback = yyFallback[iLookAhead])!=0 ){
-#ifndef NDEBUG
- if( yyTraceFILE ){
- fprintf(yyTraceFILE, "%sFALLBACK %s => %s\n",
- yyTracePrompt, yyTokenName[iLookAhead], yyTokenName[iFallback]);
- }
-#endif
- assert( yyFallback[iFallback]==0 ); /* Fallback loop must terminate */
- iLookAhead = iFallback;
- continue;
- }
-#endif
-#ifdef YYWILDCARD
- {
- int j = i - iLookAhead + YYWILDCARD;
- if(
-#if YY_SHIFT_MIN+YYWILDCARD<0
- j>=0 &&
-#endif
-#if YY_SHIFT_MAX+YYWILDCARD>=YY_ACTTAB_COUNT
- j<YY_ACTTAB_COUNT &&
-#endif
- yy_lookahead[j]==YYWILDCARD && iLookAhead>0
- ){
-#ifndef NDEBUG
- if( yyTraceFILE ){
- fprintf(yyTraceFILE, "%sWILDCARD %s => %s\n",
- yyTracePrompt, yyTokenName[iLookAhead],
- yyTokenName[YYWILDCARD]);
- }
-#endif /* NDEBUG */
- return yy_action[j];
- }
- }
-#endif /* YYWILDCARD */
- return yy_default[stateno];
- }else{
- return yy_action[i];
- }
- }while(1);
+ case 393:
+#line 968 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
+#line 5057 "src/parser_proc.c" /* glr.c:816 */
+ break;
-/*
-** Find the appropriate action for a parser given the non-terminal
-** look-ahead token iLookAhead.
-*/
-static int yy_find_reduce_action(
- int stateno, /* Current state number */
- YYCODETYPE iLookAhead /* The look-ahead token */
-){
- int i;
-#ifdef YYERRORSYMBOL
- if( stateno>YY_REDUCE_COUNT ){
- return yy_default[stateno];
- }
-#else
- assert( stateno<=YY_REDUCE_COUNT );
-#endif
- i = yy_reduce_ofst[stateno];
- assert( i!=YY_REDUCE_USE_DFLT );
- assert( iLookAhead!=YYNOCODE );
- i += iLookAhead;
-#ifdef YYERRORSYMBOL
- if( i<0 || i>=YY_ACTTAB_COUNT || yy_lookahead[i]!=iLookAhead ){
- return yy_default[stateno];
- }
-#else
- assert( i>=0 && i<YY_ACTTAB_COUNT );
- assert( yy_lookahead[i]==iLookAhead );
-#endif
- return yy_action[i];
-}
-
-/*
-** The following routine is called if the stack overflows.
-*/
-static void yyStackOverflow(yyParser *yypParser){
- ParseARG_FETCH;
-#ifndef NDEBUG
- if( yyTraceFILE ){
- fprintf(yyTraceFILE,"%sStack Overflow!\n",yyTracePrompt);
- }
-#endif
- while( yypParser->yytos>yypParser->yystack ) yy_pop_parser_stack(yypParser);
- /* Here code is inserted which will execute if the parser
- ** stack every overflows */
-/******** Begin %stack_overflow code ******************************************/
-/******** End %stack_overflow code ********************************************/
- ParseARG_STORE; /* Suppress warning about unused %extra_argument var */
-}
-
-/*
-** Print tracing information for a SHIFT action
-*/
-#ifndef NDEBUG
-static void yyTraceShift(yyParser *yypParser, int yyNewState){
- if( yyTraceFILE ){
- if( yyNewState<YYNSTATE ){
- fprintf(yyTraceFILE,"%sShift '%s', go to state %d\n",
- yyTracePrompt,yyTokenName[yypParser->yytos->major],
- yyNewState);
- }else{
- fprintf(yyTraceFILE,"%sShift '%s'\n",
- yyTracePrompt,yyTokenName[yypParser->yytos->major]);
- }
- }
+ case 394:
+#line 971 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#else
-# define yyTraceShift(X,Y)
-#endif
+#line 5065 "src/parser_proc.c" /* glr.c:816 */
+ break;
-/*
-** Perform a shift action.
-*/
-static void yy_shift(
- yyParser *yypParser, /* The parser to be shifted */
- int yyNewState, /* The new state to shift in */
- int yyMajor, /* The major token to shift in */
- ParseTOKENTYPE yyMinor /* The minor token to shift in */
-){
- yyStackEntry *yytos;
- yypParser->yytos++;
-#ifdef YYTRACKMAXSTACKDEPTH
- if( (int)(yypParser->yytos - yypParser->yystack)>yypParser->yyhwm ){
- yypParser->yyhwm++;
- assert( yypParser->yyhwm == (int)(yypParser->yytos - yypParser->yystack) );
- }
-#endif
-#if YYSTACKDEPTH>0
- if( yypParser->yytos>=&yypParser->yystack[YYSTACKDEPTH] ){
- yypParser->yytos--;
- yyStackOverflow(yypParser);
- return;
- }
-#else
- if( yypParser->yytos>=&yypParser->yystack[yypParser->yystksz] ){
- if( yyGrowStack(yypParser) ){
- yypParser->yytos--;
- yyStackOverflow(yypParser);
- return;
- }
- }
-#endif
- if( yyNewState > YY_MAX_SHIFT ){
- yyNewState += YY_MIN_REDUCE - YY_MIN_SHIFTREDUCE;
- }
- yytos = yypParser->yytos;
- yytos->stateno = (YYACTIONTYPE)yyNewState;
- yytos->major = (YYCODETYPE)yyMajor;
- yytos->minor.yy0 = yyMinor;
- yyTraceShift(yypParser, yyNewState);
-}
-
-/* The following table contains information about every rule that
-** is used during the reduce.
-*/
-static const struct {
- YYCODETYPE lhs; /* Symbol on the left-hand side of the rule */
- unsigned char nrhs; /* Number of right-hand side symbols in the rule */
-} yyRuleInfo[] = {
- { 181, 3 },
- { 168, 2 },
- { 168, 2 },
- { 168, 2 },
- { 168, 1 },
- { 168, 1 },
- { 168, 2 },
- { 168, 3 },
- { 169, 0 },
- { 169, 1 },
- { 169, 2 },
- { 172, 4 },
- { 173, 0 },
- { 173, 1 },
- { 173, 3 },
- { 169, 1 },
- { 170, 1 },
- { 170, 2 },
- { 168, 2 },
- { 168, 2 },
- { 171, 3 },
- { 171, 2 },
- { 171, 3 },
- { 171, 2 },
- { 171, 4 },
- { 171, 1 },
- { 171, 1 },
- { 171, 4 },
- { 175, 0 },
- { 175, 1 },
- { 175, 3 },
- { 181, 3 },
- { 181, 1 },
- { 181, 1 },
- { 181, 1 },
- { 181, 1 },
- { 181, 1 },
- { 181, 1 },
- { 181, 1 },
- { 182, 0 },
- { 182, 1 },
- { 119, 0 },
- { 119, 7 },
- { 183, 2 },
- { 184, 2 },
- { 185, 2 },
- { 113, 4 },
- { 114, 1 },
- { 114, 3 },
- { 115, 3 },
- { 115, 1 },
- { 116, 3 },
- { 117, 1 },
- { 117, 1 },
- { 118, 4 },
- { 120, 4 },
- { 121, 1 },
- { 122, 6 },
- { 123, 3 },
- { 124, 4 },
- { 124, 4 },
- { 124, 2 },
- { 125, 1 },
- { 126, 3 },
- { 125, 2 },
- { 125, 1 },
- { 127, 6 },
- { 127, 8 },
- { 128, 1 },
- { 128, 2 },
- { 125, 7 },
- { 125, 8 },
- { 129, 1 },
- { 186, 0 },
- { 186, 3 },
- { 130, 2 },
- { 130, 3 },
- { 131, 1 },
- { 131, 3 },
- { 132, 2 },
- { 125, 7 },
- { 132, 3 },
- { 132, 4 },
- { 133, 0 },
- { 133, 1 },
- { 133, 1 },
- { 133, 3 },
- { 134, 1 },
- { 134, 2 },
- { 135, 2 },
- { 135, 3 },
- { 136, 0 },
- { 136, 7 },
- { 187, 1 },
- { 187, 2 },
- { 188, 0 },
- { 188, 1 },
- { 187, 1 },
- { 187, 2 },
- { 189, 0 },
- { 189, 1 },
- { 189, 2 },
- { 190, 0 },
- { 190, 1 },
- { 137, 2 },
- { 137, 2 },
- { 137, 1 },
- { 137, 1 },
- { 137, 1 },
- { 137, 2 },
- { 137, 2 },
- { 137, 2 },
- { 137, 1 },
- { 138, 1 },
- { 138, 2 },
- { 139, 4 },
- { 139, 5 },
- { 140, 7 },
- { 140, 8 },
- { 140, 13 },
- { 141, 1 },
- { 142, 2 },
- { 167, 1 },
- { 143, 2 },
- { 143, 4 },
- { 144, 1 },
- { 144, 3 },
- { 146, 1 },
- { 146, 2 },
- { 147, 1 },
- { 147, 1 },
- { 147, 1 },
- { 147, 1 },
- { 147, 1 },
- { 148, 1 },
- { 148, 1 },
- { 149, 1 },
- { 149, 3 },
- { 149, 3 },
- { 149, 2 },
- { 156, 1 },
- { 156, 2 },
- { 156, 1 },
- { 156, 1 },
- { 156, 2 },
- { 156, 1 },
- { 156, 2 },
- { 156, 1 },
- { 156, 2 },
- { 156, 3 },
- { 150, 3 },
- { 150, 6 },
- { 155, 8 },
- { 151, 6 },
- { 152, 4 },
- { 152, 6 },
- { 157, 1 },
- { 157, 3 },
- { 153, 0 },
- { 153, 1 },
- { 154, 1 },
- { 154, 3 },
- { 191, 1 },
- { 191, 1 },
- { 162, 4 },
- { 162, 6 },
- { 162, 6 },
- { 160, 1 },
- { 160, 1 },
- { 161, 1 },
- { 161, 3 },
- { 160, 3 },
- { 159, 3 },
- { 163, 3 },
- { 164, 3 },
- { 165, 1 },
- { 165, 3 },
- { 166, 4 },
- { 158, 3 },
- { 176, 0 },
- { 176, 1 },
- { 177, 0 },
- { 177, 1 },
- { 178, 1 },
- { 178, 2 },
- { 179, 1 },
- { 180, 1 },
- { 180, 2 },
- { 181, 1 },
- { 181, 1 },
- { 181, 1 },
-};
+ case 395:
+#line 974 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_cat(" ", 2, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 5073 "src/parser_proc.c" /* glr.c:816 */
+ break;
-static void yy_accept(yyParser*); /* Forward Declaration */
-
-/*
-** Perform a reduce action and the shift that must immediately
-** follow the reduce.
-*/
-static void yy_reduce(
- yyParser *yypParser, /* The parser */
- unsigned int yyruleno /* Number of the rule by which to reduce */
-){
- int yygoto; /* The next state */
- int yyact; /* The next action */
- yyStackEntry *yymsp; /* The top of the parser's stack */
- int yysize; /* Amount to pop the stack */
- ParseARG_FETCH;
- yymsp = yypParser->yytos;
-#ifndef NDEBUG
- if( yyTraceFILE && yyruleno<(int)(sizeof(yyRuleName)/sizeof(yyRuleName[0])) ){
- yysize = yyRuleInfo[yyruleno].nrhs;
- fprintf(yyTraceFILE, "%sReduce [%s], go to state %d.\n", yyTracePrompt,
- yyRuleName[yyruleno], yymsp[-yysize].stateno);
- }
-#endif /* NDEBUG */
-
- /* Check that the stack is large enough to grow by a single entry
- ** if the RHS of the rule is empty. This ensures that there is room
- ** enough on the stack to push the LHS value */
- if( yyRuleInfo[yyruleno].nrhs==0 ){
-#ifdef YYTRACKMAXSTACKDEPTH
- if( (int)(yypParser->yytos - yypParser->yystack)>yypParser->yyhwm ){
- yypParser->yyhwm++;
- assert( yypParser->yyhwm == (int)(yypParser->yytos - yypParser->yystack));
- }
-#endif
-#if YYSTACKDEPTH>0
- if( yypParser->yytos>=&yypParser->yystack[YYSTACKDEPTH-1] ){
- yyStackOverflow(yypParser);
- return;
- }
-#else
- if( yypParser->yytos>=&yypParser->yystack[yypParser->yystksz-1] ){
- if( yyGrowStack(yypParser) ){
- yyStackOverflow(yypParser);
- return;
- }
- yymsp = yypParser->yytos;
- }
-#endif
- }
+ case 396:
+#line 980 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 5081 "src/parser_proc.c" /* glr.c:816 */
+ break;
- switch( yyruleno ){
- /* Beginning here are the reduction cases. A typical example
- ** follows:
- ** case 0:
- ** #line <lineno> <grammarfile>
- ** { ... } // User supplied code
- ** #line <lineno> <thisfile>
- ** break;
- */
-/********** Begin reduce actions **********************************************/
- YYMINORTYPE yylhsminor;
- case 0: /* block ::= HASH cpp_exp EOL */
-{ yy_destructor(yypParser,78,&yymsp[-2].minor);
-#line 199 "src/parser_proc.y"
-{
- P->cpp.exp = yymsp[-1].minor.yy274;
+ case 397:
+#line 983 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2041 "src/parser_proc.c"
- yy_destructor(yypParser,76,&yymsp[0].minor);
+#line 5089 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 398:
+#line 986 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ if ((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_cat(" ", 2, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ free((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ } else {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ }
}
- break;
- case 1: /* cpp_exp ::= ERROR|WARNING QUOTED_STRING */
- case 2: /* cpp_exp ::= IFDEF NAME */ yytestcase(yyruleno==2);
- case 3: /* cpp_exp ::= IFNDEF NAME */ yytestcase(yyruleno==3);
- case 6: /* cpp_exp ::= UNDEF NAME */ yytestcase(yyruleno==6);
-#line 202 "src/parser_proc.y"
-{
- yylhsminor.yy274 = psi_cpp_exp_init(yymsp[-1].minor.yy0->type, yymsp[0].minor.yy0);
- yylhsminor.yy274->token = yymsp[-1].minor.yy0;
+#line 5102 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 399:
+#line 994 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ if ((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_cat(" ", 2, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ free((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ free((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ } else {
+ (*(struct psi_token **)(&(*yyvalp))) = (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
+ }
}
-#line 2054 "src/parser_proc.c"
- yymsp[-1].minor.yy274 = yylhsminor.yy274;
- break;
- case 4: /* cpp_exp ::= ENDIF */
- case 5: /* cpp_exp ::= ELSE */ yytestcase(yyruleno==5);
-#line 214 "src/parser_proc.y"
-{
- yylhsminor.yy274 = psi_cpp_exp_init(yymsp[0].minor.yy0->type, NULL);
- yylhsminor.yy274->token = yymsp[0].minor.yy0;
+#line 5116 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 400:
+#line 1006 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = NULL;
}
-#line 2064 "src/parser_proc.c"
- yymsp[0].minor.yy274 = yylhsminor.yy274;
- break;
- case 7: /* cpp_exp ::= DEFINE NAME cpp_macro_decl */
-#line 226 "src/parser_proc.y"
-{
- yylhsminor.yy274 = psi_cpp_exp_init(yymsp[-2].minor.yy0->type, yymsp[0].minor.yy134);
- yylhsminor.yy274->token = yymsp[-2].minor.yy0;
- yymsp[0].minor.yy134->token = yymsp[-1].minor.yy0;
+#line 5124 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 401:
+#line 1009 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2074 "src/parser_proc.c"
- yymsp[-2].minor.yy274 = yylhsminor.yy274;
- break;
- case 8: /* cpp_macro_decl ::= */
-#line 231 "src/parser_proc.y"
-{
- yymsp[1].minor.yy134 = psi_cpp_macro_decl_init(NULL, NULL, NULL);
+#line 5132 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 402:
+#line 1012 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2082 "src/parser_proc.c"
- break;
- case 9: /* cpp_macro_decl ::= cpp_macro_sig */
-#line 234 "src/parser_proc.y"
-{
- yylhsminor.yy134 = psi_cpp_macro_decl_init(yymsp[0].minor.yy179, NULL, NULL);
+#line 5140 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 403:
+#line 1015 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ if ((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_cat(" ", 2, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ } else {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ }
}
-#line 2089 "src/parser_proc.c"
- yymsp[0].minor.yy134 = yylhsminor.yy134;
- break;
- case 10: /* cpp_macro_decl ::= cpp_macro_sig cpp_macro_decl_tokens */
-#line 237 "src/parser_proc.y"
-{
- yylhsminor.yy134 = psi_cpp_macro_decl_init(yymsp[-1].minor.yy179, yymsp[0].minor.yy179, NULL);
+#line 5152 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 404:
+#line 1022 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2097 "src/parser_proc.c"
- yymsp[-1].minor.yy134 = yylhsminor.yy134;
- break;
- case 11: /* cpp_macro_sig ::= NO_WHITESPACE LPAREN cpp_macro_sig_args RPAREN */
-{ yy_destructor(yypParser,85,&yymsp[-3].minor);
-#line 240 "src/parser_proc.y"
-{
- yymsp[-3].minor.yy179 = yymsp[-1].minor.yy179;
+#line 5160 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 405:
+#line 1025 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ if ((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_cat(" ", 2, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ } else {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ }
}
-#line 2106 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-2].minor);
- yy_destructor(yypParser,87,&yymsp[0].minor);
+#line 5172 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 406:
+#line 1035 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = NULL;
}
- break;
- case 12: /* cpp_macro_sig_args ::= */
- case 28: /* cpp_macro_call_args ::= */ yytestcase(yyruleno==28);
- case 83: /* decl_args ::= */ yytestcase(yyruleno==83);
-#line 243 "src/parser_proc.y"
-{
- yymsp[1].minor.yy179 = NULL;
+#line 5180 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 408:
+#line 1041 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = NULL;
}
-#line 2118 "src/parser_proc.c"
- break;
- case 13: /* cpp_macro_sig_args ::= NAME */
- case 16: /* cpp_macro_decl_tokens ::= ANY */ yytestcase(yyruleno==16);
-#line 246 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(psi_plist_init((void (*)(void *)) psi_token_free), &yymsp[0].minor.yy0);
+#line 5188 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 412:
+#line 1050 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = NULL;
}
-#line 2126 "src/parser_proc.c"
- yymsp[0].minor.yy179 = yylhsminor.yy179;
- break;
- case 14: /* cpp_macro_sig_args ::= cpp_macro_sig_args COMMA NAME */
-#line 249 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(yymsp[-2].minor.yy179, &yymsp[0].minor.yy0);
+#line 5196 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 413:
+#line 1053 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2134 "src/parser_proc.c"
- yy_destructor(yypParser,88,&yymsp[-1].minor);
- yymsp[-2].minor.yy179 = yylhsminor.yy179;
- break;
- case 15: /* cpp_macro_decl ::= cpp_macro_decl_tokens */
-#line 252 "src/parser_proc.y"
-{
- yylhsminor.yy134 = psi_cpp_macro_decl_init(NULL, yymsp[0].minor.yy179, NULL);
+#line 5204 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 414:
+#line 1056 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ if ((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_cat(" ", 2, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ free((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ } else {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ }
}
-#line 2143 "src/parser_proc.c"
- yymsp[0].minor.yy134 = yylhsminor.yy134;
- break;
- case 17: /* cpp_macro_decl_tokens ::= cpp_macro_decl_tokens ANY */
-#line 258 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(yymsp[-1].minor.yy179, &yymsp[0].minor.yy0);
+#line 5217 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 415:
+#line 1067 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl **)(&(*yyvalp))) = (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
+ if ((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))) {
+ (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->redir = strdup((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->text);
+ free((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ }
}
-#line 2151 "src/parser_proc.c"
- yymsp[-1].minor.yy179 = yylhsminor.yy179;
- break;
- case 18: /* cpp_exp ::= IF cpp_macro_exp */
- case 19: /* cpp_exp ::= ELIF cpp_macro_exp */ yytestcase(yyruleno==19);
-#line 261 "src/parser_proc.y"
-{
- yylhsminor.yy274 = psi_cpp_exp_init(yymsp[-1].minor.yy0->type, yymsp[0].minor.yy207);
- yylhsminor.yy274->token = yymsp[-1].minor.yy0;
+#line 5229 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 416:
+#line 1074 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl **)(&(*yyvalp))) = (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
+ if ((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))) {
+ (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->redir = strdup((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->text);
+ free((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ }
}
-#line 2161 "src/parser_proc.c"
- yymsp[-1].minor.yy274 = yylhsminor.yy274;
- break;
- case 20: /* cpp_macro_exp ::= LPAREN cpp_macro_exp RPAREN */
-#line 269 "src/parser_proc.y"
-{
- yylhsminor.yy207 = psi_num_exp_init_unary(yymsp[-2].minor.yy0->type, yymsp[-1].minor.yy207);
- yylhsminor.yy207->token = yymsp[-2].minor.yy0;
+#line 5241 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 417:
+#line 1084 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = NULL;
}
-#line 2170 "src/parser_proc.c"
- yy_destructor(yypParser,87,&yymsp[0].minor);
- yymsp[-2].minor.yy207 = yylhsminor.yy207;
- break;
- case 21: /* cpp_macro_exp ::= TILDE|NOT|PLUS|MINUS cpp_macro_exp */
- case 139: /* num_exp ::= TILDE|NOT|PLUS|MINUS num_exp */ yytestcase(yyruleno==139);
-#line 273 "src/parser_proc.y"
-{
- yylhsminor.yy207 = psi_num_exp_init_unary(yymsp[-1].minor.yy0->type, yymsp[0].minor.yy207);
- yylhsminor.yy207->token = yymsp[-1].minor.yy0;
+#line 5249 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 418:
+#line 1087 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
-#line 2181 "src/parser_proc.c"
- yymsp[-1].minor.yy207 = yylhsminor.yy207;
- break;
- case 22: /* cpp_macro_exp ::= cpp_macro_exp PIPE|CARET|AMPERSAND|LSHIFT|RSHIFT|PLUS|MINUS|ASTERISK|SLASH|MODULO|RCHEVR|LCHEVR|CMP_GE|CMP_LE|OR|AND|CMP_EQ|CMP_NE cpp_macro_exp */
- case 138: /* num_exp ::= num_exp PIPE|CARET|AMPERSAND|LSHIFT|RSHIFT|PLUS|MINUS|ASTERISK|SLASH|MODULO|RCHEVR|LCHEVR|CMP_GE|CMP_LE|OR|AND|CMP_EQ|CMP_NE num_exp */ yytestcase(yyruleno==138);
-#line 277 "src/parser_proc.y"
-{
- yylhsminor.yy207 = psi_num_exp_init_binary(yymsp[-1].minor.yy0->type, yymsp[-2].minor.yy207, yymsp[0].minor.yy207);
- yylhsminor.yy207->token = yymsp[-1].minor.yy0;
+#line 5257 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 419:
+#line 1093 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2191 "src/parser_proc.c"
- yymsp[-2].minor.yy207 = yylhsminor.yy207;
- break;
- case 23: /* cpp_macro_exp ::= DEFINED NAME */
-{ yy_destructor(yypParser,91,&yymsp[-1].minor);
-#line 281 "src/parser_proc.y"
-{
- {
- uint8_t exists = zend_hash_str_exists(&P->cpp.defs, yymsp[0].minor.yy0->text, yymsp[0].minor.yy0->size);
- yymsp[-1].minor.yy207 = psi_num_exp_init_num(psi_number_init(PSI_T_UINT8, &exists));
- yymsp[-1].minor.yy207->token = yymsp[0].minor.yy0;
- }
+#line 5265 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 420:
+#line 1096 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_cat("", 2, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ free((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 5274 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 421:
+#line 1103 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ struct psi_plist *list = psi_plist_init((psi_plist_dtor) psi_decl_extvar_free);
+
+ if ((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))) {
+ size_t i = 0;
+ struct psi_decl_var *var;
+
+ while (psi_plist_get((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), i++, &var)) {
+ if (psi_decl_extvar_is_blacklisted(var->name)) {
+ psi_decl_var_free(&var);
+ } else {
+ struct psi_decl_extvar *evar = psi_decl_extvar_init(
+ psi_decl_arg_init(psi_decl_type_copy((*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->type), var));
+ list = psi_plist_add(list, &evar);
+ }
+ }
+ free((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ }
+
+ if (psi_decl_extvar_is_blacklisted((*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->var->name)) {
+ psi_decl_arg_free(&(*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+ } else {
+ struct psi_decl_extvar *evar = psi_decl_extvar_init((*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+ list = psi_plist_add(list, &evar);
+ }
+
+ (*(struct psi_plist **)(&(*yyvalp))) = list;
}
-#line 2204 "src/parser_proc.c"
+#line 5307 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 422:
+#line 1134 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
- break;
- case 24: /* cpp_macro_exp ::= DEFINED LPAREN NAME RPAREN */
-{ yy_destructor(yypParser,91,&yymsp[-3].minor);
-#line 288 "src/parser_proc.y"
-{
- {
- uint8_t exists = zend_hash_str_exists(&P->cpp.defs, yymsp[-1].minor.yy0->text, yymsp[-1].minor.yy0->size);
- yymsp[-3].minor.yy207 = psi_num_exp_init_num(psi_number_init(PSI_T_UINT8, &exists));
- yymsp[-3].minor.yy207->token = yymsp[-1].minor.yy0;
- }
+#line 5315 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 423:
+#line 1137 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
-#line 2217 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-2].minor);
- yy_destructor(yypParser,87,&yymsp[0].minor);
+#line 5323 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 424:
+#line 1143 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_var_free), &(*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 25: /* cpp_macro_exp ::= NUMBER|NSNAME */
-#line 295 "src/parser_proc.y"
-{
- yylhsminor.yy207 = psi_num_exp_init_num(psi_number_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text));
- yylhsminor.yy207->token = yymsp[0].minor.yy0;
- yylhsminor.yy207->data.n->token = psi_token_copy(yymsp[0].minor.yy0);
+#line 5331 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 425:
+#line 1146 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), &(*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2229 "src/parser_proc.c"
- yymsp[0].minor.yy207 = yylhsminor.yy207;
- break;
- case 26: /* cpp_macro_exp ::= NAME */
-#line 300 "src/parser_proc.y"
-{
- yylhsminor.yy207 = psi_num_exp_init_num(psi_number_init(PSI_T_DEFINE, yymsp[0].minor.yy0->text));
- yylhsminor.yy207->token = yymsp[0].minor.yy0;
- yylhsminor.yy207->data.n->token = psi_token_copy(yymsp[0].minor.yy0);
+#line 5339 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 426:
+#line 1152 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl **)(&(*yyvalp))) = (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
-#line 2239 "src/parser_proc.c"
- yymsp[0].minor.yy207 = yylhsminor.yy207;
- break;
- case 27: /* cpp_macro_exp ::= NAME LPAREN cpp_macro_call_args RPAREN */
-#line 305 "src/parser_proc.y"
-{
- yylhsminor.yy207 = psi_num_exp_init_num(psi_number_init(PSI_T_FUNCTION,
- psi_cpp_macro_call_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy179)));
- yylhsminor.yy207->token = yymsp[-3].minor.yy0;
+#line 5347 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 427:
+#line 1155 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl **)(&(*yyvalp))) = (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
-#line 2249 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-2].minor);
- yy_destructor(yypParser,87,&yymsp[0].minor);
- yymsp[-3].minor.yy207 = yylhsminor.yy207;
- break;
- case 29: /* cpp_macro_call_args ::= cpp_macro_exp */
-#line 313 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(psi_plist_init((void (*)(void *)) psi_num_exp_free), &yymsp[0].minor.yy207);
+#line 5355 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 428:
+#line 1158 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl **)(&(*yyvalp))) = (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
-#line 2259 "src/parser_proc.c"
- yymsp[0].minor.yy179 = yylhsminor.yy179;
- break;
- case 30: /* cpp_macro_call_args ::= cpp_macro_call_args COMMA cpp_macro_exp */
-#line 316 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(yymsp[-2].minor.yy179, &yymsp[0].minor.yy207);
+#line 5363 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 429:
+#line 1161 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl **)(&(*yyvalp))) = (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
-#line 2267 "src/parser_proc.c"
- yy_destructor(yypParser,88,&yymsp[-1].minor);
- yymsp[-2].minor.yy179 = yylhsminor.yy179;
- break;
- case 31: /* block ::= LIB QUOTED_STRING EOS */
-#line 319 "src/parser_proc.y"
-{
- if (P->file.ln) {
- P->error(PSI_DATA(P), yymsp[-2].minor.yy0, PSI_WARNING, "Extra 'lib %s' statement has no effect", yymsp[-1].minor.yy0->text);
- } else {
- P->file.ln = strndup(yymsp[-1].minor.yy0->text + 1, yymsp[-1].minor.yy0->size - 2);
- }
- free(yymsp[-1].minor.yy0);
- free(yymsp[-2].minor.yy0);
+#line 5371 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 436:
+#line 1182 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl **)(&(*yyvalp))) = (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ (*(struct psi_decl **)(&(*yyvalp)))->abi = psi_decl_abi_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->text);
+}
+#line 5380 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 439:
+#line 1194 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl **)(&(*yyvalp))) = psi_decl_init((*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)), (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+ if ((*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ (*(struct psi_decl **)(&(*yyvalp)))->func->var->pointer_level += 1;
+ (*(struct psi_decl **)(&(*yyvalp)))->func->var->array_size = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ }
}
-#line 2282 "src/parser_proc.c"
- yy_destructor(yypParser,75,&yymsp[0].minor);
- break;
- case 32: /* block ::= decl */
-#line 328 "src/parser_proc.y"
-{
- if (!P->decls) {
- P->decls = psi_plist_init((psi_plist_dtor) psi_decl_free);
- }
- P->decls = psi_plist_add(P->decls, &yymsp[0].minor.yy303);
+#line 5392 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 440:
+#line 1201 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl **)(&(*yyvalp))) = psi_decl_init((*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-6)].yystate.yysemantics.yysval)), (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl **)(&(*yyvalp)))->varargs = 1;
+ if ((*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ (*(struct psi_decl **)(&(*yyvalp)))->func->var->pointer_level += 1;
+ (*(struct psi_decl **)(&(*yyvalp)))->func->var->array_size = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ }
}
-#line 2293 "src/parser_proc.c"
- break;
- case 33: /* block ::= impl */
-#line 334 "src/parser_proc.y"
-{
- if (!P->impls) {
- P->impls = psi_plist_init((psi_plist_dtor) psi_impl_free);
- }
- P->impls = psi_plist_add(P->impls, &yymsp[0].minor.yy49);
+#line 5405 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 441:
+#line 1212 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl **)(&(*yyvalp))) = psi_decl_init((*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)), (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+ if ((*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ (*(struct psi_decl **)(&(*yyvalp)))->func->var->pointer_level += 1;
+ (*(struct psi_decl **)(&(*yyvalp)))->func->var->array_size = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ }
}
-#line 2303 "src/parser_proc.c"
- break;
- case 34: /* block ::= decl_typedef */
-#line 340 "src/parser_proc.y"
-{
- if (!P->types) {
- P->types = psi_plist_init((psi_plist_dtor) psi_decl_arg_free);
- }
- P->types = psi_plist_add(P->types, &yymsp[0].minor.yy320);
- switch (yymsp[0].minor.yy320->type->type) {
- case PSI_T_STRUCT:
- if (yymsp[0].minor.yy320->type->real.strct) {
- if (!P->structs) {
- P->structs = psi_plist_init((psi_plist_dtor) psi_decl_struct_free);
- }
- P->structs = psi_plist_add(P->structs, &yymsp[0].minor.yy320->type->real.strct);
- }
- break;
- case PSI_T_UNION:
- if (yymsp[0].minor.yy320->type->real.unn) {
- if (!P->unions) {
- P->unions = psi_plist_init((psi_plist_dtor) psi_decl_union_free);
- }
- P->unions = psi_plist_add(P->unions, &yymsp[0].minor.yy320->type->real.unn);
- }
- break;
- case PSI_T_ENUM:
- if (yymsp[0].minor.yy320->type->real.enm) {
- if (!P->enums) {
- P->enums = psi_plist_init((psi_plist_dtor) psi_decl_enum_free);
- }
- P->enums = psi_plist_add(P->enums, &yymsp[0].minor.yy320->type->real.enm);
- }
- break;
- }
+#line 5417 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 442:
+#line 1219 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl **)(&(*yyvalp))) = psi_decl_init((*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-6)].yystate.yysemantics.yysval)), (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl **)(&(*yyvalp)))->varargs = 1;
+ if ((*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ (*(struct psi_decl **)(&(*yyvalp)))->func->var->pointer_level += 1;
+ (*(struct psi_decl **)(&(*yyvalp)))->func->var->array_size = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ }
}
-#line 2339 "src/parser_proc.c"
- break;
- case 35: /* block ::= constant */
-#line 372 "src/parser_proc.y"
-{
- if (!P->consts) {
- P->consts = psi_plist_init((psi_plist_dtor) psi_const_free);
- }
- P->consts = psi_plist_add(P->consts, &yymsp[0].minor.yy38);
-}
-#line 2349 "src/parser_proc.c"
- break;
- case 36: /* block ::= decl_struct */
-#line 378 "src/parser_proc.y"
-{
- if (!P->structs) {
- P->structs = psi_plist_init((psi_plist_dtor) psi_decl_struct_free);
- }
- P->structs = psi_plist_add(P->structs, &yymsp[0].minor.yy324);
+#line 5430 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 443:
+#line 1227 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (void) (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-9)].yystate.yysemantics.yysval));
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-8)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+
+ struct psi_token *type_token = psi_token_append("@", psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-8)].yystate.yysemantics.yysval))), 1, "rval");
+ struct psi_decl_arg *rval_func = psi_decl_arg_init((*(struct psi_decl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-12)].yystate.yysemantics.yysval)), psi_decl_var_init(type_token->text, (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-11)].yystate.yysemantics.yysval)), 0));
+ struct psi_decl *rval_decl = psi_decl_init(rval_func, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+
+ rval_func->var->token = psi_token_copy(type_token);
+ rval_func->token = psi_token_copy(type_token);
+ if ((*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ rval_func->var->pointer_level += 1;
+ rval_func->var->array_size = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ }
+
+ struct psi_decl_type *type = psi_decl_type_init(PSI_T_FUNCTION, type_token->text);
+ struct psi_decl_arg *func = psi_decl_arg_init(type, psi_decl_var_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-8)].yystate.yysemantics.yysval))->text, 1, 0));
+
+ type->real.func = rval_decl;
+ func->var->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-8)].yystate.yysemantics.yysval)));
+ func->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-8)].yystate.yysemantics.yysval)));
+
+ (*(struct psi_decl **)(&(*yyvalp))) = psi_decl_init(func, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-6)].yystate.yysemantics.yysval)));
+}
+#line 5459 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 444:
+#line 1251 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (void) (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-12)].yystate.yysemantics.yysval));
+ (void) (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-10)].yystate.yysemantics.yysval));
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-9)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+
+ struct psi_token *type_token = psi_token_append("@", psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-9)].yystate.yysemantics.yysval))), 1, "rval");
+ struct psi_decl_arg *rval_func = psi_decl_arg_init((*(struct psi_decl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-15)].yystate.yysemantics.yysval)), psi_decl_var_init(type_token->text, (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-14)].yystate.yysemantics.yysval)), 0));
+ struct psi_decl *rval_decl = psi_decl_init(rval_func, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+
+ rval_func->var->token = psi_token_copy(type_token);
+ rval_func->token = psi_token_copy(type_token);
+ if ((*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ rval_func->var->pointer_level += 1;
+ rval_func->var->array_size = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ }
+
+ struct psi_decl_type *type = psi_decl_type_init(PSI_T_FUNCTION, type_token->text);
+ struct psi_decl_arg *func = psi_decl_arg_init(type, psi_decl_var_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-9)].yystate.yysemantics.yysval))->text, 1, 0));
+
+ type->real.func = rval_decl;
+ func->var->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-9)].yystate.yysemantics.yysval)));
+ func->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-9)].yystate.yysemantics.yysval)));
+
+ (*(struct psi_decl **)(&(*yyvalp))) = psi_decl_init(func, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-6)].yystate.yysemantics.yysval)));
+}
+#line 5489 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 445:
+#line 1279 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl **)(&(*yyvalp))) = psi_decl_init((*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)), (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+ if ((*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ (*(struct psi_decl **)(&(*yyvalp)))->func->var->pointer_level += 1;
+ (*(struct psi_decl **)(&(*yyvalp)))->func->var->array_size = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ }
}
-#line 2359 "src/parser_proc.c"
- break;
- case 37: /* block ::= decl_union */
-#line 384 "src/parser_proc.y"
-{
- if (!P->unions) {
- P->unions = psi_plist_init((psi_plist_dtor) psi_decl_union_free);
- }
- P->unions = psi_plist_add(P->unions, &yymsp[0].minor.yy15);
+#line 5501 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 446:
+#line 1286 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl **)(&(*yyvalp))) = psi_decl_init((*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-6)].yystate.yysemantics.yysval)), (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl **)(&(*yyvalp)))->varargs = 1;
+ if ((*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ (*(struct psi_decl **)(&(*yyvalp)))->func->var->pointer_level += 1;
+ (*(struct psi_decl **)(&(*yyvalp)))->func->var->array_size = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ }
}
-#line 2369 "src/parser_proc.c"
- break;
- case 38: /* block ::= decl_enum */
-#line 390 "src/parser_proc.y"
-{
- if (!P->enums) {
- P->enums = psi_plist_init((psi_plist_dtor) psi_decl_enum_free);
- }
- P->enums = psi_plist_add(P->enums, &yymsp[0].minor.yy323);
+#line 5514 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 447:
+#line 1297 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (void) (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init((*(struct psi_decl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval)), psi_decl_var_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->text, (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)), 0));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->var->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 5526 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 448:
+#line 1343 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (void) (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init((*(struct psi_decl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)), psi_decl_var_init(NULL, (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)), 0));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->var->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+}
+#line 5537 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 450:
+#line 1399 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
-#line 2379 "src/parser_proc.c"
- break;
- case 39: /* optional_name ::= */
- case 73: /* decl_var_array_size ::= */ yytestcase(yyruleno==73);
- case 95: /* decl_scalar_type_short ::= */ yytestcase(yyruleno==95);
- case 99: /* decl_scalar_type_long ::= */ yytestcase(yyruleno==99);
- case 102: /* decl_scalar_type_long_long ::= */ yytestcase(yyruleno==102);
-#line 396 "src/parser_proc.y"
-{
- yymsp[1].minor.yy0 = NULL;
+#line 5545 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 451:
+#line 1402 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
-#line 2390 "src/parser_proc.c"
- break;
- case 40: /* optional_name ::= NAME */
- case 93: /* decl_scalar_type ::= CHAR */ yytestcase(yyruleno==93);
- case 96: /* decl_scalar_type_short ::= INT */ yytestcase(yyruleno==96);
- case 97: /* decl_scalar_type ::= INT */ yytestcase(yyruleno==97);
- case 100: /* decl_scalar_type_long ::= DOUBLE */ yytestcase(yyruleno==100);
- case 103: /* decl_scalar_type_long_long ::= INT */ yytestcase(yyruleno==103);
- case 162: /* callback_rval ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT */ yytestcase(yyruleno==162);
- case 163: /* callback_rval ::= VOID */ yytestcase(yyruleno==163);
-#line 399 "src/parser_proc.y"
-{
- yylhsminor.yy0 = yymsp[0].minor.yy0;
+#line 5553 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 452:
+#line 1405 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
-#line 2404 "src/parser_proc.c"
- yymsp[0].minor.yy0 = yylhsminor.yy0;
- break;
- case 41: /* align_and_size ::= */
-#line 402 "src/parser_proc.y"
-{
- yymsp[1].minor.yy239.pos = 0;
- yymsp[1].minor.yy239.len = 0;
+#line 5561 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 453:
+#line 1411 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_arg_free), &(*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2413 "src/parser_proc.c"
- break;
- case 42: /* align_and_size ::= COLON COLON LPAREN NUMBER COMMA NUMBER RPAREN */
-{ yy_destructor(yypParser,92,&yymsp[-6].minor);
-#line 406 "src/parser_proc.y"
-{
- yymsp[-6].minor.yy239.pos = atol(yymsp[-3].minor.yy0->text);
- yymsp[-6].minor.yy239.len = atol(yymsp[-1].minor.yy0->text);
- free(yymsp[-3].minor.yy0);
- free(yymsp[-1].minor.yy0);
+#line 5569 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 454:
+#line 1414 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), &(*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2424 "src/parser_proc.c"
- yy_destructor(yypParser,92,&yymsp[-5].minor);
- yy_destructor(yypParser,86,&yymsp[-4].minor);
- yy_destructor(yypParser,88,&yymsp[-2].minor);
- yy_destructor(yypParser,87,&yymsp[0].minor);
+#line 5577 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 455:
+#line 1420 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ char digest[17];
+ struct psi_token *name;
+
+ psi_token_hash((*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->func ->token, digest);
+ name = psi_token_append("@", psi_token_copy((*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->func->token), 2, "funct", digest);
+
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init(
+ psi_decl_type_init(PSI_T_FUNCTION, name->text),
+ psi_decl_var_copy((*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->func->var)
+ );
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->token = name;
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->token = psi_token_copy((*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->func->token);
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.func = (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+}
+#line 5597 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 456:
+#line 1435 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = (*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
- break;
- case 43: /* enum_name ::= ENUM optional_name */
- case 44: /* struct_name ::= STRUCT optional_name */ yytestcase(yyruleno==44);
- case 45: /* union_name ::= UNION optional_name */ yytestcase(yyruleno==45);
-#line 412 "src/parser_proc.y"
-{
- if (yymsp[0].minor.yy0) {
- yylhsminor.yy0 = yymsp[0].minor.yy0;
- free(yymsp[-1].minor.yy0);
- } else {
- char digest[17];
- psi_token_hash(yymsp[-1].minor.yy0, digest);
- yylhsminor.yy0 = psi_token_translit(psi_token_append(yymsp[-1].minor.yy0, 1, digest), " ", "@");
- }
+#line 5605 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 457:
+#line 1438 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init(
+ (*(struct psi_decl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)),
+ psi_decl_var_init(NULL, (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), 0)
+ );
+}
+#line 5616 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 458:
+#line 1467 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init(
+ psi_decl_type_init(PSI_T_FUNCTION, (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->func->var->name),
+ psi_decl_var_copy((*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->func->var)
+ );
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->token = psi_token_copy((*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->func->token);
+ (*(struct psi_decl_arg **)(&(*yyvalp)))->type->real.func = (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+}
+#line 5629 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 459:
+#line 1475 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init((*(struct psi_decl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), (*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2445 "src/parser_proc.c"
- yymsp[-1].minor.yy0 = yylhsminor.yy0;
- break;
- case 46: /* decl_enum ::= enum_name LBRACE decl_enum_items RBRACE */
-#line 442 "src/parser_proc.y"
-{
- yylhsminor.yy323 = psi_decl_enum_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy179);
- yylhsminor.yy323->token = yymsp[-3].minor.yy0;
+#line 5637 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 460:
+#line 1503 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_decl_var **)(&(*yyvalp))) = psi_decl_var_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->text, (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)) + !! (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_var **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 5647 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 461:
+#line 1508 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_decl_var **)(&(*yyvalp))) = psi_decl_var_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->text, !! (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_var **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 5657 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 462:
+#line 1516 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_decl_union **)(&(*yyvalp))) = psi_decl_union_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->text, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_union **)(&(*yyvalp)))->align = (*(struct psi_layout*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)).pos;
+ (*(struct psi_decl_union **)(&(*yyvalp)))->size = (*(struct psi_layout*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)).len;
+ (*(struct psi_decl_union **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+}
+#line 5669 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 463:
+#line 1526 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_decl_struct **)(&(*yyvalp))) = psi_decl_struct_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->text, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_struct **)(&(*yyvalp)))->align = (*(struct psi_layout*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)).pos;
+ (*(struct psi_decl_struct **)(&(*yyvalp)))->size = (*(struct psi_layout*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)).len;
+ (*(struct psi_decl_struct **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+}
+#line 5681 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 464:
+#line 1536 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
-#line 2454 "src/parser_proc.c"
- yy_destructor(yypParser,96,&yymsp[-2].minor);
- yy_destructor(yypParser,97,&yymsp[0].minor);
- yymsp[-3].minor.yy323 = yylhsminor.yy323;
- break;
- case 47: /* decl_enum_items ::= decl_enum_item */
-#line 446 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_enum_item_free),
- &yymsp[0].minor.yy169);
+#line 5689 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 466:
+#line 1543 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
-#line 2465 "src/parser_proc.c"
- yymsp[0].minor.yy179 = yylhsminor.yy179;
- break;
- case 48: /* decl_enum_items ::= decl_enum_items COMMA decl_enum_item */
-#line 450 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(yymsp[-2].minor.yy179, &yymsp[0].minor.yy169);
+#line 5697 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 467:
+#line 1549 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->layout = (*(struct psi_layout **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_arg_free), &(*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)));
+ if ((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))) {
+ size_t i = 0;
+ struct psi_decl_arg *arg;
+
+ while (psi_plist_get((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), i++, &arg)) {
+ arg->type = psi_decl_type_copy((*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->type);
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add((*(struct psi_plist **)(&(*yyvalp))), &arg);
+ }
+ free((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ }
}
-#line 2473 "src/parser_proc.c"
- yy_destructor(yypParser,88,&yymsp[-1].minor);
- yymsp[-2].minor.yy179 = yylhsminor.yy179;
- break;
- case 49: /* decl_enum_item ::= NAME EQUALS num_exp */
-#line 453 "src/parser_proc.y"
-{
- yylhsminor.yy169 = psi_decl_enum_item_init(yymsp[-2].minor.yy0->text, yymsp[0].minor.yy207);
- yylhsminor.yy169->token = yymsp[-2].minor.yy0;
+#line 5716 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 468:
+#line 1563 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->layout = (*(struct psi_layout **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)), &(*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)));
+ if ((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))) {
+ size_t i = 0;
+ struct psi_decl_arg *arg;
+
+ while (psi_plist_get((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), i++, &arg)) {
+ arg->type = psi_decl_type_copy((*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->type);
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add((*(struct psi_plist **)(&(*yyvalp))), &arg);
+ }
+ free((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ }
}
-#line 2483 "src/parser_proc.c"
- yy_destructor(yypParser,98,&yymsp[-1].minor);
- yymsp[-2].minor.yy169 = yylhsminor.yy169;
- break;
- case 50: /* decl_enum_item ::= NAME */
-#line 457 "src/parser_proc.y"
-{
- yylhsminor.yy169 = psi_decl_enum_item_init(yymsp[0].minor.yy0->text, NULL);
- yylhsminor.yy169->token = yymsp[0].minor.yy0;
+#line 5735 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 469:
+#line 1580 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
-#line 2493 "src/parser_proc.c"
- yymsp[0].minor.yy169 = yylhsminor.yy169;
- break;
- case 51: /* decl_struct_args_block ::= LBRACE struct_args RBRACE */
-{ yy_destructor(yypParser,96,&yymsp[-2].minor);
-#line 461 "src/parser_proc.y"
-{
- yymsp[-2].minor.yy179 = yymsp[-1].minor.yy179;
+#line 5743 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 470:
+#line 1583 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
-#line 2502 "src/parser_proc.c"
- yy_destructor(yypParser,97,&yymsp[0].minor);
+#line 5751 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 471:
+#line 1589 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ {
+ struct psi_decl_arg *arg = psi_decl_arg_init(NULL, (*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ arg->layout = (*(struct psi_layout **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_arg_free), &arg);
+ }
}
- break;
- case 52: /* decl_struct_args ::= decl_struct_args_block */
-#line 464 "src/parser_proc.y"
-{
- yylhsminor.yy179 = yymsp[0].minor.yy179;
+#line 5763 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 472:
+#line 1596 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ {
+ struct psi_decl_arg *arg = psi_decl_arg_init(NULL, (*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ arg->layout = (*(struct psi_layout **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)), &arg);
+ }
}
-#line 2511 "src/parser_proc.c"
- yymsp[0].minor.yy179 = yylhsminor.yy179;
- break;
- case 53: /* decl_struct_args ::= EOS */
-{ yy_destructor(yypParser,75,&yymsp[0].minor);
-#line 467 "src/parser_proc.y"
-{
- yymsp[0].minor.yy179 = psi_plist_init((psi_plist_dtor) psi_decl_arg_free);
+#line 5775 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 473:
+#line 1606 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_decl_enum **)(&(*yyvalp))) = psi_decl_enum_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval))->text, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_enum **)(&(*yyvalp)))->token = (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval));
+}
+#line 5784 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 474:
+#line 1613 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_enum_item_free), &(*(struct psi_decl_enum_item **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2520 "src/parser_proc.c"
+#line 5792 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 475:
+#line 1616 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), &(*(struct psi_decl_enum_item **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 54: /* decl_struct ::= STRUCT NAME align_and_size decl_struct_args */
-{ yy_destructor(yypParser,94,&yymsp[-3].minor);
-#line 470 "src/parser_proc.y"
-{
- yymsp[-3].minor.yy324 = psi_decl_struct_init(yymsp[-2].minor.yy0->text, yymsp[0].minor.yy179);
- yymsp[-3].minor.yy324->align = yymsp[-1].minor.yy239.pos;
- yymsp[-3].minor.yy324->size = yymsp[-1].minor.yy239.len;
- yymsp[-3].minor.yy324->token = yymsp[-2].minor.yy0;
+#line 5800 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 476:
+#line 1622 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_decl_enum_item **)(&(*yyvalp))) = psi_decl_enum_item_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text, NULL);
+ (*(struct psi_decl_enum_item **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 5810 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 477:
+#line 1627 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_decl_enum_item **)(&(*yyvalp))) = psi_decl_enum_item_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->text, (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_decl_enum_item **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+}
+#line 5820 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 478:
+#line 1635 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_num((*(struct psi_number **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_number **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->token);
+}
+#line 5829 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 479:
+#line 1639 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_cast((*(struct psi_decl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_decl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->token);
+}
+#line 5838 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 480:
+#line 1643 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_unary(PSI_T_LPAREN, (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+}
+#line 5847 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 481:
+#line 1647 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_binary((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type, (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 5856 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 482:
+#line 1651 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_unary((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type, (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 5865 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 483:
+#line 1655 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_num_exp **)(&(*yyvalp))) = psi_num_exp_init_ternary((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->type, (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)), (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_num_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)));
+}
+#line 5874 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 484:
+#line 1662 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_number **)(&(*yyvalp))) = psi_number_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->flags);
+ (*(struct psi_number **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 5883 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 485:
+#line 1666 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_number **)(&(*yyvalp))) = psi_number_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text, 0);
+ (*(struct psi_number **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 5892 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 486:
+#line 1670 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_number **)(&(*yyvalp))) = psi_number_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text, 0);
+ (*(struct psi_number **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 5901 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 487:
+#line 1674 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_number **)(&(*yyvalp))) = psi_number_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text, 0);
+ (*(struct psi_number **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 5910 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 488:
+#line 1678 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_number **)(&(*yyvalp))) = psi_number_init(PSI_T_NAME, (*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), 0);
+ (*(struct psi_number **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->token);
+}
+#line 5919 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 489:
+#line 1682 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_number **)(&(*yyvalp))) = (*(struct psi_number **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
-#line 2532 "src/parser_proc.c"
+#line 5927 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 490:
+#line 1688 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_number **)(&(*yyvalp))) = (*(struct psi_number **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
+ (*(struct psi_number **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)));
+}
+#line 5936 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 491:
+#line 1692 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_number **)(&(*yyvalp))) = (*(struct psi_number **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ (*(struct psi_number **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+}
+#line 5945 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 492:
+#line 1699 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_number **)(&(*yyvalp))) = (*(struct psi_number **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
- break;
- case 55: /* decl_union ::= UNION NAME align_and_size decl_struct_args */
-{ yy_destructor(yypParser,95,&yymsp[-3].minor);
-#line 476 "src/parser_proc.y"
-{
- yymsp[-3].minor.yy15 = psi_decl_union_init(yymsp[-2].minor.yy0->text, yymsp[0].minor.yy179);
- yymsp[-3].minor.yy15->align = yymsp[-1].minor.yy239.pos;
- yymsp[-3].minor.yy15->size = yymsp[-1].minor.yy239.len;
- yymsp[-3].minor.yy15->token = yymsp[-2].minor.yy0;
+#line 5953 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 493:
+#line 1702 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ if ((*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ int8_t sizeof_void_p = sizeof(void *);
+ (*(struct psi_number **)(&(*yyvalp))) = psi_number_init(PSI_T_INT8, &sizeof_void_p, 0);
+ psi_decl_type_free(&(*(struct psi_decl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ } else {
+ (*(struct psi_number **)(&(*yyvalp))) = psi_number_init(PSI_T_SIZEOF, (*(struct psi_decl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), 0);
+ }
}
-#line 2544 "src/parser_proc.c"
+#line 5967 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 494:
+#line 1714 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ int8_t sizeof_void_p = sizeof(void *);
+ (*(struct psi_number **)(&(*yyvalp))) = psi_number_init(PSI_T_INT8, &sizeof_void_p, 0);
+}
+#line 5976 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 495:
+#line 1718 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ int8_t sizeof_a = sizeof('a');
+ (*(struct psi_number **)(&(*yyvalp))) = psi_number_init(PSI_T_INT8, &sizeof_a, 0);
+}
+#line 5985 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 496:
+#line 1722 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ uint64_t len = (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->size + 1;
+ (*(struct psi_number **)(&(*yyvalp))) = psi_number_init(PSI_T_UINT64, &len, 0);
+}
+#line 5994 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 497:
+#line 1729 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ if ((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ } else {
+ char digest[17];
+
+ psi_token_hash((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), digest);
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_append("@", psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))), 1, digest);
+ }
}
- break;
- case 56: /* const_type ::= BOOL|INT|FLOAT|STRING */
-#line 482 "src/parser_proc.y"
-{
- yylhsminor.yy351 = psi_const_type_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
- free(yymsp[0].minor.yy0);
+#line 6009 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 498:
+#line 1742 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ if ((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ } else {
+ char digest[17];
+
+ psi_token_hash((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), digest);
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_append("@", psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))), 1, digest);
+ }
}
-#line 2553 "src/parser_proc.c"
- yymsp[0].minor.yy351 = yylhsminor.yy351;
- break;
- case 57: /* constant ::= CONST const_type NSNAME EQUALS impl_def_val EOS */
-{ yy_destructor(yypParser,99,&yymsp[-5].minor);
-#line 486 "src/parser_proc.y"
-{
- yymsp[-5].minor.yy38 = psi_const_init(yymsp[-4].minor.yy351, yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy145);
- yymsp[-5].minor.yy38->token = yymsp[-3].minor.yy0;
+#line 6024 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 499:
+#line 1755 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ if ((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))) {
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ } else {
+ char digest[17];
+
+ psi_token_hash((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), digest);
+ (*(struct psi_token **)(&(*yyvalp))) = psi_token_append("@", psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))), 1, digest);
+ }
}
-#line 2563 "src/parser_proc.c"
- yy_destructor(yypParser,98,&yymsp[-2].minor);
- yy_destructor(yypParser,75,&yymsp[0].minor);
+#line 6039 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 500:
+#line 1768 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = NULL;
}
- break;
- case 58: /* decl_typedef ::= TYPEDEF decl_typedef_body EOS */
-#line 490 "src/parser_proc.y"
-{
- yylhsminor.yy320 = yymsp[-1].minor.yy320;
- yylhsminor.yy320->token = yymsp[-2].minor.yy0;
+#line 6047 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 501:
+#line 1771 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&(*yyvalp))) = (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ (*(struct psi_token **)(&(*yyvalp)))->type = PSI_T_NAME;
+}
+#line 6056 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 504:
+#line 1783 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_layout **)(&(*yyvalp))) = NULL;
}
-#line 2574 "src/parser_proc.c"
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-2].minor.yy320 = yylhsminor.yy320;
- break;
- case 59: /* decl_typedef_body_ex ::= struct_name align_and_size decl_struct_args_block decl_var */
-#line 494 "src/parser_proc.y"
-{
- yylhsminor.yy320 = psi_decl_arg_init(psi_decl_type_init(PSI_T_STRUCT, yymsp[-3].minor.yy0->text), yymsp[0].minor.yy271);
- yylhsminor.yy320->type->token = psi_token_copy(yymsp[-3].minor.yy0);
- yylhsminor.yy320->type->real.strct = psi_decl_struct_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy179);
- yylhsminor.yy320->type->real.strct->token = yymsp[-3].minor.yy0;
- yylhsminor.yy320->type->real.strct->align = yymsp[-2].minor.yy239.pos;
- yylhsminor.yy320->type->real.strct->size = yymsp[-2].minor.yy239.len;
+#line 6064 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 505:
+#line 1786 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_layout **)(&(*yyvalp))) = psi_layout_init(0, 0, psi_layout_init(0, atol((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text), NULL));
}
-#line 2588 "src/parser_proc.c"
- yymsp[-3].minor.yy320 = yylhsminor.yy320;
- break;
- case 60: /* decl_typedef_body_ex ::= union_name align_and_size decl_struct_args_block decl_var */
-#line 502 "src/parser_proc.y"
-{
- yylhsminor.yy320 = psi_decl_arg_init(psi_decl_type_init(PSI_T_UNION, yymsp[-3].minor.yy0->text), yymsp[0].minor.yy271);
- yylhsminor.yy320->type->token = psi_token_copy(yymsp[-3].minor.yy0);
- yylhsminor.yy320->type->real.unn = psi_decl_union_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy179);
- yylhsminor.yy320->type->real.unn->token = yymsp[-3].minor.yy0;
- yylhsminor.yy320->type->real.unn->align = yymsp[-2].minor.yy239.pos;
- yylhsminor.yy320->type->real.unn->size = yymsp[-2].minor.yy239.len;
+#line 6072 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 506:
+#line 1789 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_layout **)(&(*yyvalp))) = psi_layout_init(atol((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->text), atol((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->text), NULL);
}
-#line 2601 "src/parser_proc.c"
- yymsp[-3].minor.yy320 = yylhsminor.yy320;
- break;
- case 61: /* decl_typedef_body_ex ::= decl_enum NAME */
-#line 510 "src/parser_proc.y"
-{
- yylhsminor.yy320 = psi_decl_arg_init(psi_decl_type_init(PSI_T_ENUM, yymsp[-1].minor.yy323->name), psi_decl_var_init(yymsp[0].minor.yy0->text, 0, 0));
- yylhsminor.yy320->var->token = yymsp[0].minor.yy0;
- yylhsminor.yy320->type->token = psi_token_copy(yymsp[-1].minor.yy323->token);
- yylhsminor.yy320->type->real.enm = yymsp[-1].minor.yy323;
+#line 6080 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 507:
+#line 1792 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_layout **)(&(*yyvalp))) = psi_layout_init(atol((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->text), atol((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->text), psi_layout_init(0, atol((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-7)].yystate.yysemantics.yysval))->text), NULL));
}
-#line 2612 "src/parser_proc.c"
- yymsp[-1].minor.yy320 = yylhsminor.yy320;
- break;
- case 62: /* decl_typedef_body ::= decl_typedef_body_ex */
- case 65: /* decl_typedef_body ::= decl_arg */ yytestcase(yyruleno==65);
- case 68: /* decl_func ::= decl_arg */ yytestcase(yyruleno==68);
-#line 516 "src/parser_proc.y"
-{
- yylhsminor.yy320 = yymsp[0].minor.yy320;
+#line 6088 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 508:
+#line 1798 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_layout*)(&(*yyvalp))).pos = 0;
+ (*(struct psi_layout*)(&(*yyvalp))).len = 0;
+}
+#line 6097 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 509:
+#line 1802 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_layout*)(&(*yyvalp))).pos = atol((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->text);
+ (*(struct psi_layout*)(&(*yyvalp))).len = atol((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->text);
+}
+#line 6106 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 510:
+#line 1809 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(size_t*)(&(*yyvalp))) = 0;
}
-#line 2622 "src/parser_proc.c"
- yymsp[0].minor.yy320 = yylhsminor.yy320;
- break;
- case 63: /* decl_typedef_body_fn_args ::= LPAREN decl_args RPAREN */
-{ yy_destructor(yypParser,86,&yymsp[-2].minor);
-#line 519 "src/parser_proc.y"
-{
- yymsp[-2].minor.yy179 = yymsp[-1].minor.yy179;
+#line 6114 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 511:
+#line 1812 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(size_t*)(&(*yyvalp))) = 0;
}
-#line 2631 "src/parser_proc.c"
- yy_destructor(yypParser,87,&yymsp[0].minor);
+#line 6122 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 512:
+#line 1815 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ struct psi_validate_scope scope = {0};
+ psi_validate_scope_ctor(&scope);
+ scope.defs = &P->preproc->defs;
+ if (psi_num_exp_validate(PSI_DATA(P), (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), &scope)) {
+ (*(size_t*)(&(*yyvalp))) = psi_num_exp_get_long((*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), NULL, &P->preproc->defs);
+ } else {
+ (*(size_t*)(&(*yyvalp))) = 0;
+ }
+ psi_num_exp_free(&(*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ psi_validate_scope_dtor(&scope);
}
- break;
- case 64: /* decl_typedef_body ::= decl_func decl_typedef_body_fn_args */
-#line 522 "src/parser_proc.y"
-{
- yylhsminor.yy320 = psi_decl_arg_init(psi_decl_type_init(PSI_T_FUNCTION, yymsp[-1].minor.yy320->var->name), psi_decl_var_copy(yymsp[-1].minor.yy320->var));
- yylhsminor.yy320->type->token = psi_token_copy(yymsp[-1].minor.yy320->token);
- yylhsminor.yy320->type->real.func = psi_decl_init(psi_decl_abi_init("default"), yymsp[-1].minor.yy320, yymsp[0].minor.yy179);
+#line 6139 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 517:
+#line 1837 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(size_t*)(&(*yyvalp))) = 0;
}
-#line 2642 "src/parser_proc.c"
- yymsp[-1].minor.yy320 = yylhsminor.yy320;
- break;
- case 66: /* decl ::= decl_abi decl_func LPAREN decl_args RPAREN EOS */
-#line 530 "src/parser_proc.y"
-{
- yylhsminor.yy303 = psi_decl_init(yymsp[-5].minor.yy26, yymsp[-4].minor.yy320, yymsp[-2].minor.yy179);
+#line 6147 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 518:
+#line 1840 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(size_t*)(&(*yyvalp))) = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
-#line 2650 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-3].minor);
- yy_destructor(yypParser,87,&yymsp[-1].minor);
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-5].minor.yy303 = yylhsminor.yy303;
- break;
- case 67: /* decl ::= decl_abi decl_func LPAREN decl_args COMMA ELLIPSIS RPAREN EOS */
-#line 533 "src/parser_proc.y"
-{
- yylhsminor.yy303 = psi_decl_init(yymsp[-7].minor.yy26, yymsp[-6].minor.yy320, yymsp[-4].minor.yy179);
- yylhsminor.yy303->varargs = 1;
+#line 6155 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 520:
+#line 1847 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(size_t*)(&(*yyvalp))) = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
-#line 2662 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-5].minor);
- yy_destructor(yypParser,88,&yymsp[-3].minor);
- yy_destructor(yypParser,101,&yymsp[-2].minor);
- yy_destructor(yypParser,87,&yymsp[-1].minor);
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-7].minor.yy303 = yylhsminor.yy303;
- break;
- case 69: /* decl_func ::= VOID NAME */
-#line 540 "src/parser_proc.y"
-{
- yylhsminor.yy320 = psi_decl_arg_init(
- psi_decl_type_init(yymsp[-1].minor.yy0->type, yymsp[-1].minor.yy0->text),
- psi_decl_var_init(yymsp[0].minor.yy0->text, 0, 0)
- );
- yylhsminor.yy320->type->token = yymsp[-1].minor.yy0;
- yylhsminor.yy320->var->token = yymsp[0].minor.yy0;
- yylhsminor.yy320->token = yymsp[0].minor.yy0;
+#line 6163 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 521:
+#line 1853 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(size_t*)(&(*yyvalp))) = 1;
}
-#line 2681 "src/parser_proc.c"
- yymsp[-1].minor.yy320 = yylhsminor.yy320;
- break;
- case 70: /* decl_typedef_body ::= VOID indirection LPAREN indirection NAME RPAREN decl_typedef_body_fn_args */
-#line 549 "src/parser_proc.y"
-{
- struct psi_decl_arg *func_ = psi_decl_arg_init(
- psi_decl_type_init(yymsp[-6].minor.yy0->type, yymsp[-6].minor.yy0->text),
- psi_decl_var_init(yymsp[-2].minor.yy0->text, yymsp[-5].minor.yy382, 0)
- );
- func_->type->token = yymsp[-6].minor.yy0;
- func_->var->token = yymsp[-2].minor.yy0;
- func_->token = yymsp[-2].minor.yy0;
- yylhsminor.yy320 = psi_decl_arg_init(
- psi_decl_type_init(PSI_T_FUNCTION, func_->var->name),
- psi_decl_var_copy(func_->var)
- );
- yylhsminor.yy320->var->pointer_level = yymsp[-3].minor.yy382;
- yylhsminor.yy320->type->token = psi_token_copy(func_->token);
- yylhsminor.yy320->type->real.func = psi_decl_init(psi_decl_abi_init("default"), func_, yymsp[0].minor.yy179);
+#line 6171 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 522:
+#line 1856 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(size_t*)(&(*yyvalp))) = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)) + 1;
}
-#line 2702 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-4].minor);
- yy_destructor(yypParser,87,&yymsp[-1].minor);
- yymsp[-6].minor.yy320 = yylhsminor.yy320;
- break;
- case 71: /* decl_typedef_body ::= CONST VOID pointers LPAREN indirection NAME RPAREN decl_typedef_body_fn_args */
-{ yy_destructor(yypParser,99,&yymsp[-7].minor);
-#line 565 "src/parser_proc.y"
-{
- struct psi_decl_arg *func_ = psi_decl_arg_init(
- psi_decl_type_init(yymsp[-6].minor.yy0->type, yymsp[-6].minor.yy0->text),
- psi_decl_var_init(yymsp[-2].minor.yy0->text, yymsp[-5].minor.yy382, 0)
- );
- func_->type->token = yymsp[-6].minor.yy0;
- func_->var->token = yymsp[-2].minor.yy0;
- func_->token = yymsp[-2].minor.yy0;
- yymsp[-7].minor.yy320 = psi_decl_arg_init(
- psi_decl_type_init(PSI_T_FUNCTION, func_->var->name),
- psi_decl_var_copy(func_->var)
- );
- yymsp[-7].minor.yy320->var->pointer_level = yymsp[-3].minor.yy382;
- yymsp[-7].minor.yy320->type->token = psi_token_copy(func_->token);
- yymsp[-7].minor.yy320->type->real.func = psi_decl_init(psi_decl_abi_init("default"), func_, yymsp[0].minor.yy179);
-}
-#line 2726 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-4].minor);
- yy_destructor(yypParser,87,&yymsp[-1].minor);
-}
- break;
- case 72: /* decl_abi ::= NAME */
-#line 581 "src/parser_proc.y"
-{
- yylhsminor.yy26 = psi_decl_abi_init(yymsp[0].minor.yy0->text);
- yylhsminor.yy26->token = yymsp[0].minor.yy0;
-}
-#line 2737 "src/parser_proc.c"
- yymsp[0].minor.yy26 = yylhsminor.yy26;
- break;
- case 74: /* decl_var_array_size ::= LBRACKET NUMBER RBRACKET */
-{ yy_destructor(yypParser,102,&yymsp[-2].minor);
-#line 588 "src/parser_proc.y"
-{
- yymsp[-2].minor.yy0 = yymsp[-1].minor.yy0;
-}
-#line 2746 "src/parser_proc.c"
- yy_destructor(yypParser,103,&yymsp[0].minor);
-}
- break;
- case 75: /* decl_var ::= NAME decl_var_array_size */
-#line 591 "src/parser_proc.y"
-{
- yylhsminor.yy271 = psi_decl_var_init(yymsp[-1].minor.yy0->text, 0, yymsp[0].minor.yy0?atol(yymsp[0].minor.yy0->text):0);
- yylhsminor.yy271->token = yymsp[-1].minor.yy0;
- if (yymsp[0].minor.yy0) {
- free(yymsp[0].minor.yy0);
- }
-}
-#line 2759 "src/parser_proc.c"
- yymsp[-1].minor.yy271 = yylhsminor.yy271;
- break;
- case 76: /* decl_var ::= pointers NAME decl_var_array_size */
-#line 598 "src/parser_proc.y"
-{
- yylhsminor.yy271 = psi_decl_var_init(yymsp[-1].minor.yy0->text, yymsp[-2].minor.yy382+!!yymsp[0].minor.yy0, yymsp[0].minor.yy0?atol(yymsp[0].minor.yy0->text):0);
- yylhsminor.yy271->token = yymsp[-1].minor.yy0;
- if (yymsp[0].minor.yy0) {
- free(yymsp[0].minor.yy0);
- }
-}
-#line 2771 "src/parser_proc.c"
- yymsp[-2].minor.yy271 = yylhsminor.yy271;
- break;
- case 77: /* decl_vars ::= decl_var */
-#line 605 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_var_free),
- &yymsp[0].minor.yy271);
+#line 6179 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 527:
+#line 1878 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_impl **)(&(*yyvalp))) = psi_impl_init((*(struct psi_impl_func **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)), (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
}
-#line 2780 "src/parser_proc.c"
- yymsp[0].minor.yy179 = yylhsminor.yy179;
- break;
- case 78: /* decl_vars ::= decl_vars COMMA decl_var */
-#line 609 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(yymsp[-2].minor.yy179, &yymsp[0].minor.yy271);
+#line 6187 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 528:
+#line 1881 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_impl **)(&(*yyvalp))) = psi_impl_init((*(struct psi_impl_func **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)), (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_impl_func **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->static_memory = 1;
+}
+#line 6196 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 529:
+#line 1888 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_impl_func **)(&(*yyvalp))) = psi_impl_func_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval))->text, NULL, (*(struct psi_impl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_impl_func **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)));
+ (*(struct psi_impl_func **)(&(*yyvalp)))->return_reference = (*(bool*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval));
+}
+#line 6206 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 530:
+#line 1893 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_impl_func **)(&(*yyvalp))) = psi_impl_func_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval))->text, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)), (*(struct psi_impl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_impl_func **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval)));
+ (*(struct psi_impl_func **)(&(*yyvalp)))->return_reference = (*(bool*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-6)].yystate.yysemantics.yysval));
+}
+#line 6216 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 531:
+#line 1898 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_impl_func **)(&(*yyvalp))) = psi_impl_func_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-10)].yystate.yysemantics.yysval))->text, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-8)].yystate.yysemantics.yysval)), (*(struct psi_impl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_impl_func **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-10)].yystate.yysemantics.yysval)));
+ (*(struct psi_impl_func **)(&(*yyvalp)))->return_reference = (*(bool*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-11)].yystate.yysemantics.yysval));
+ (*(struct psi_impl_func **)(&(*yyvalp)))->vararg = psi_impl_arg_init((*(struct psi_impl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-6)].yystate.yysemantics.yysval)), psi_impl_var_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->text, (*(bool*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval))), NULL);
+ (*(struct psi_impl_func **)(&(*yyvalp)))->vararg->var->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)));
+}
+#line 6228 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 532:
+#line 1908 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_impl_arg_free), &(*(struct psi_impl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2788 "src/parser_proc.c"
- yy_destructor(yypParser,88,&yymsp[-1].minor);
- yymsp[-2].minor.yy179 = yylhsminor.yy179;
- break;
- case 79: /* decl_arg ::= const_decl_type decl_var */
-#line 612 "src/parser_proc.y"
-{
- yylhsminor.yy320 = psi_decl_arg_init(yymsp[-1].minor.yy172, yymsp[0].minor.yy271);
+#line 6236 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 533:
+#line 1911 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), &(*(struct psi_impl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2797 "src/parser_proc.c"
- yymsp[-1].minor.yy320 = yylhsminor.yy320;
- break;
- case 80: /* decl_typedef_body ::= const_decl_type indirection LPAREN indirection NAME RPAREN decl_typedef_body_fn_args */
-#line 615 "src/parser_proc.y"
-{
- struct psi_decl_arg *func_ = psi_decl_arg_init(
- yymsp[-6].minor.yy172,
- psi_decl_var_init(yymsp[-2].minor.yy0->text, yymsp[-5].minor.yy382, 0)
- );
- func_->var->token = yymsp[-2].minor.yy0;
- func_->token = yymsp[-2].minor.yy0;
- yylhsminor.yy320 = psi_decl_arg_init(
- psi_decl_type_init(PSI_T_FUNCTION, func_->var->name),
- psi_decl_var_copy(func_->var)
- );
- yylhsminor.yy320->var->pointer_level = yymsp[-3].minor.yy382;
- yylhsminor.yy320->type->token = psi_token_copy(func_->token);
- yylhsminor.yy320->type->real.func = psi_decl_init(psi_decl_abi_init("default"), func_, yymsp[0].minor.yy179);
+#line 6244 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 534:
+#line 1917 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_impl_arg **)(&(*yyvalp))) = psi_impl_arg_init((*(struct psi_impl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), (*(struct psi_impl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), NULL);
}
-#line 2817 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-4].minor);
- yy_destructor(yypParser,87,&yymsp[-1].minor);
- yymsp[-6].minor.yy320 = yylhsminor.yy320;
- break;
- case 81: /* decl_arg ::= VOID pointers NAME */
-#line 630 "src/parser_proc.y"
-{
- yylhsminor.yy320 = psi_decl_arg_init(
- psi_decl_type_init(yymsp[-2].minor.yy0->type, yymsp[-2].minor.yy0->text),
- psi_decl_var_init(yymsp[0].minor.yy0->text, yymsp[-1].minor.yy382, 0)
- );
- yylhsminor.yy320->type->token = yymsp[-2].minor.yy0;
- yylhsminor.yy320->var->token = yymsp[0].minor.yy0;
- yylhsminor.yy320->token = yymsp[0].minor.yy0;
+#line 6252 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 535:
+#line 1920 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_impl_arg **)(&(*yyvalp))) = psi_impl_arg_init((*(struct psi_impl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)), (*(struct psi_impl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), (*(struct psi_impl_def_val **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2833 "src/parser_proc.c"
- yymsp[-2].minor.yy320 = yylhsminor.yy320;
- break;
- case 82: /* decl_arg ::= CONST VOID pointers NAME */
-{ yy_destructor(yypParser,99,&yymsp[-3].minor);
-#line 639 "src/parser_proc.y"
-{
- yymsp[-3].minor.yy320 = psi_decl_arg_init(
- psi_decl_type_init(yymsp[-2].minor.yy0->type, yymsp[-2].minor.yy0->text),
- psi_decl_var_init(yymsp[0].minor.yy0->text, yymsp[-1].minor.yy382, 0)
- );
- yymsp[-3].minor.yy320->type->token = yymsp[-2].minor.yy0;
- yymsp[-3].minor.yy320->var->token = yymsp[0].minor.yy0;
- yymsp[-3].minor.yy320->token = yymsp[0].minor.yy0;
+#line 6260 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 536:
+#line 1926 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_impl_var **)(&(*yyvalp))) = psi_impl_var_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text, (*(bool*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_impl_var **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 6269 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 537:
+#line 1933 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_impl_type **)(&(*yyvalp))) = psi_impl_type_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text);
+ (*(struct psi_impl_type **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 6278 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 538:
+#line 1940 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_impl_type **)(&(*yyvalp))) = psi_impl_type_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text);
+ (*(struct psi_impl_type **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+}
+#line 6287 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 550:
+#line 1967 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_impl_stmt_free), &(*(struct psi_token ***)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2848 "src/parser_proc.c"
+#line 6295 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 551:
+#line 1970 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), &(*(struct psi_token ***)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 84: /* decl_args ::= VOID */
-{ yy_destructor(yypParser,57,&yymsp[0].minor);
-#line 651 "src/parser_proc.y"
-{
- yymsp[0].minor.yy179 = NULL;
+#line 6303 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 552:
+#line 1976 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token ***)(&(*yyvalp))) = (struct psi_token **) (*(struct psi_return_stmt **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
-#line 2857 "src/parser_proc.c"
+#line 6311 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 553:
+#line 1979 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token ***)(&(*yyvalp))) = (struct psi_token **) (*(struct psi_let_stmt **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
- break;
- case 85: /* decl_args ::= decl_arg */
- case 87: /* struct_args ::= struct_arg */ yytestcase(yyruleno==87);
-#line 654 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_decl_arg_free),
- &yymsp[0].minor.yy320);
+#line 6319 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 554:
+#line 1982 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token ***)(&(*yyvalp))) = (struct psi_token **) (*(struct psi_set_stmt **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
-#line 2867 "src/parser_proc.c"
- yymsp[0].minor.yy179 = yylhsminor.yy179;
- break;
- case 86: /* decl_args ::= decl_args COMMA decl_arg */
-#line 658 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(yymsp[-2].minor.yy179, &yymsp[0].minor.yy320);
+#line 6327 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 555:
+#line 1985 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token ***)(&(*yyvalp))) = (struct psi_token **) (*(struct psi_assert_stmt **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
-#line 2875 "src/parser_proc.c"
- yy_destructor(yypParser,88,&yymsp[-1].minor);
- yymsp[-2].minor.yy179 = yylhsminor.yy179;
- break;
- case 88: /* struct_args ::= struct_args struct_arg */
-#line 665 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(yymsp[-1].minor.yy179, &yymsp[0].minor.yy320);
+#line 6335 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 556:
+#line 1988 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token ***)(&(*yyvalp))) = (struct psi_token **) (*(struct psi_free_stmt **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
-#line 2884 "src/parser_proc.c"
- yymsp[-1].minor.yy179 = yylhsminor.yy179;
- break;
- case 89: /* struct_arg ::= decl_typedef_body_ex EOS */
-#line 668 "src/parser_proc.y"
-{
- yylhsminor.yy320 = yymsp[-1].minor.yy320;
- switch (yymsp[-1].minor.yy320->type->type) {
- case PSI_T_STRUCT:
- if (yymsp[-1].minor.yy320->type->real.strct) {
- if (!P->structs) {
- P->structs = psi_plist_init((psi_plist_dtor) psi_decl_struct_free);
- }
- P->structs = psi_plist_add(P->structs, &yymsp[-1].minor.yy320->type->real.strct);
- }
- break;
- case PSI_T_UNION:
- if (yymsp[-1].minor.yy320->type->real.unn) {
- if (!P->unions) {
- P->unions = psi_plist_init((psi_plist_dtor) psi_decl_union_free);
- }
- P->unions = psi_plist_add(P->unions, &yymsp[-1].minor.yy320->type->real.unn);
- }
- break;
- case PSI_T_ENUM:
- if (yymsp[-1].minor.yy320->type->real.enm) {
- if (!P->enums) {
- P->enums = psi_plist_init((psi_plist_dtor) psi_decl_enum_free);
- }
- P->enums = psi_plist_add(P->enums, &yymsp[-1].minor.yy320->type->real.enm);
- }
- break;
- }
+#line 6343 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 557:
+#line 1994 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_let_stmt **)(&(*yyvalp))) = psi_let_stmt_init((*(struct psi_let_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_let_stmt **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+}
+#line 6352 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 558:
+#line 1998 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_let_stmt **)(&(*yyvalp))) = psi_let_stmt_init(psi_let_exp_init_ex((*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)), PSI_LET_TMP, (*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))));
+ (*(struct psi_let_stmt **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval)));
+ (*(struct psi_let_stmt **)(&(*yyvalp)))->exp->is_reference = (*(bool*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
+}
+#line 6362 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 560:
+#line 2007 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_let_exp **)(&(*yyvalp))) = (*(struct psi_let_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ (*(struct psi_let_exp **)(&(*yyvalp)))->is_reference = true;
+}
+#line 6371 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 561:
+#line 2011 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_let_exp **)(&(*yyvalp))) = (*(struct psi_let_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ (*(struct psi_let_exp **)(&(*yyvalp)))->is_reference = false;
+}
+#line 6380 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 562:
+#line 2018 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_let_exp **)(&(*yyvalp))) = psi_let_exp_init(PSI_LET_NULL, NULL);
}
-#line 2918 "src/parser_proc.c"
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-1].minor.yy320 = yylhsminor.yy320;
- break;
- case 90: /* struct_arg ::= decl_arg decl_layout EOS */
-#line 697 "src/parser_proc.y"
-{
- yymsp[-2].minor.yy320->layout = yymsp[-1].minor.yy369;
- yylhsminor.yy320 = yymsp[-2].minor.yy320;
+#line 6388 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 563:
+#line 2021 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_let_exp **)(&(*yyvalp))) = psi_let_exp_init_ex(NULL, PSI_LET_NUMEXP, (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2928 "src/parser_proc.c"
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-2].minor.yy320 = yylhsminor.yy320;
- break;
- case 91: /* decl_layout ::= */
-#line 701 "src/parser_proc.y"
-{
- yymsp[1].minor.yy369 = NULL;
+#line 6396 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 564:
+#line 2024 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_let_exp **)(&(*yyvalp))) = psi_let_exp_init(PSI_LET_CALLOC, (*(struct psi_let_calloc **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2937 "src/parser_proc.c"
- break;
- case 92: /* decl_layout ::= COLON COLON LPAREN NUMBER COMMA NUMBER RPAREN */
-{ yy_destructor(yypParser,92,&yymsp[-6].minor);
-#line 704 "src/parser_proc.y"
-{
- yymsp[-6].minor.yy369 = psi_layout_init(atol(yymsp[-3].minor.yy0->text), atol(yymsp[-1].minor.yy0->text));
- free(yymsp[-3].minor.yy0);
- free(yymsp[-1].minor.yy0);
+#line 6404 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 565:
+#line 2027 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_let_exp **)(&(*yyvalp))) = psi_let_exp_init(PSI_LET_CALLOC, (*(struct psi_let_calloc **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
+ (*(struct psi_let_calloc **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->static_memory = 1;
+}
+#line 6413 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 566:
+#line 2031 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_let_exp **)(&(*yyvalp))) = psi_let_exp_init(PSI_LET_CALLBACK, (*(struct psi_let_callback **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2947 "src/parser_proc.c"
- yy_destructor(yypParser,92,&yymsp[-5].minor);
- yy_destructor(yypParser,86,&yymsp[-4].minor);
- yy_destructor(yypParser,88,&yymsp[-2].minor);
- yy_destructor(yypParser,87,&yymsp[0].minor);
+#line 6421 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 567:
+#line 2034 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_let_exp **)(&(*yyvalp))) = psi_let_exp_init_ex(NULL, PSI_LET_FUNC, (*(struct psi_let_func **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 94: /* decl_scalar_type ::= SHORT decl_scalar_type_short */
- case 98: /* decl_scalar_type ::= LONG decl_scalar_type_long */ yytestcase(yyruleno==98);
- case 101: /* decl_scalar_type_long ::= LONG decl_scalar_type_long_long */ yytestcase(yyruleno==101);
-#line 712 "src/parser_proc.y"
-{
- if (yymsp[0].minor.yy0) {
- yylhsminor.yy0 = psi_token_cat(2, yymsp[-1].minor.yy0, yymsp[0].minor.yy0);
- free(yymsp[-1].minor.yy0);
- free(yymsp[0].minor.yy0);
- } else {
- yylhsminor.yy0 = yymsp[-1].minor.yy0;
- }
+#line 6429 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 568:
+#line 2040 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_let_exp **)(&(*yyvalp))) = (*(struct psi_let_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ (*(struct psi_let_exp **)(&(*yyvalp)))->var = (*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
+}
+#line 6438 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 569:
+#line 2044 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_let_exp **)(&(*yyvalp))) = (*(struct psi_let_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ (*(struct psi_let_exp **)(&(*yyvalp)))->is_reference = 1;
+ (*(struct psi_let_exp **)(&(*yyvalp)))->var = (*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval));
+}
+#line 6448 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 570:
+#line 2052 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_let_calloc **)(&(*yyvalp))) = psi_let_calloc_init((*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)), (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_let_calloc **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval)));
+}
+#line 6457 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 571:
+#line 2059 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_let_callback **)(&(*yyvalp))) = psi_let_callback_init(psi_let_func_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-6)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-6)].yystate.yysemantics.yysval))->text, (*(struct psi_impl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval))), (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), NULL);
+ (*(struct psi_let_callback **)(&(*yyvalp)))->func->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-6)].yystate.yysemantics.yysval)));
+ (*(struct psi_let_callback **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-7)].yystate.yysemantics.yysval)));
+}
+#line 6467 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 572:
+#line 2064 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_let_callback **)(&(*yyvalp))) = psi_let_callback_init(psi_let_func_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-6)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-6)].yystate.yysemantics.yysval))->text, (*(struct psi_impl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval))), (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-9)].yystate.yysemantics.yysval)));
+ (*(struct psi_let_callback **)(&(*yyvalp)))->func->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-6)].yystate.yysemantics.yysval)));
+ (*(struct psi_let_callback **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-11)].yystate.yysemantics.yysval)));
+}
+#line 6477 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 573:
+#line 2072 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_let_func **)(&(*yyvalp))) = psi_let_func_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval))->text, (*(struct psi_impl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+ (*(struct psi_let_func **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)));
+ (*(struct psi_let_func **)(&(*yyvalp)))->inner = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
+}
+#line 6487 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 584:
+#line 2093 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
-#line 2967 "src/parser_proc.c"
- yymsp[-1].minor.yy0 = yylhsminor.yy0;
- break;
- case 104: /* decl_type ::= UNSIGNED decl_scalar_type */
- case 105: /* decl_type ::= SIGNED decl_scalar_type */ yytestcase(yyruleno==105);
-#line 760 "src/parser_proc.y"
-{
- struct psi_token *T = psi_token_cat(2, yymsp[-1].minor.yy0, yymsp[0].minor.yy0);
- yylhsminor.yy172 = psi_decl_type_init(T->type, T->text);
- yylhsminor.yy172->token = T;
- free(yymsp[-1].minor.yy0);
- free(yymsp[0].minor.yy0);
+#line 6495 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 585:
+#line 2096 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
-#line 2980 "src/parser_proc.c"
- yymsp[-1].minor.yy172 = yylhsminor.yy172;
- break;
- case 106: /* decl_type ::= UNSIGNED */
- case 107: /* decl_type ::= SIGNED */ yytestcase(yyruleno==107);
-#line 774 "src/parser_proc.y"
-{
- yylhsminor.yy172 = psi_decl_type_init(PSI_T_NAME, yymsp[0].minor.yy0->text);
- yylhsminor.yy172->token = yymsp[0].minor.yy0;
+#line 6503 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 586:
+#line 2102 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_let_exp_free), &(*(struct psi_let_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 2990 "src/parser_proc.c"
- yymsp[0].minor.yy172 = yylhsminor.yy172;
- break;
- case 108: /* decl_type ::= decl_scalar_type */
- case 112: /* decl_type ::= FLOAT|DOUBLE|INT8|UINT8|INT16|UINT16|INT32|UINT32|INT64|UINT64|NAME */ yytestcase(yyruleno==112);
-#line 782 "src/parser_proc.y"
-{
- yylhsminor.yy172 = psi_decl_type_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
- yylhsminor.yy172->token = yymsp[0].minor.yy0;
+#line 6511 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 587:
+#line 2105 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), &(*(struct psi_let_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 3000 "src/parser_proc.c"
- yymsp[0].minor.yy172 = yylhsminor.yy172;
- break;
- case 109: /* decl_type ::= STRUCT NAME */
- case 110: /* decl_type ::= UNION NAME */ yytestcase(yyruleno==110);
- case 111: /* decl_type ::= ENUM NAME */ yytestcase(yyruleno==111);
-#line 786 "src/parser_proc.y"
-{
- yylhsminor.yy172 = psi_decl_type_init(yymsp[-1].minor.yy0->type, yymsp[0].minor.yy0->text);
- yylhsminor.yy172->token = yymsp[0].minor.yy0;
- free(yymsp[-1].minor.yy0);
+#line 6519 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 590:
+#line 2116 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
-#line 3012 "src/parser_proc.c"
- yymsp[-1].minor.yy172 = yylhsminor.yy172;
- break;
- case 113: /* const_decl_type ::= decl_type */
-#line 805 "src/parser_proc.y"
-{
- yylhsminor.yy172 = yymsp[0].minor.yy172;
+#line 6527 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 591:
+#line 2119 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
-#line 3020 "src/parser_proc.c"
- yymsp[0].minor.yy172 = yylhsminor.yy172;
- break;
- case 114: /* const_decl_type ::= CONST decl_type */
-{ yy_destructor(yypParser,99,&yymsp[-1].minor);
-#line 808 "src/parser_proc.y"
-{
- yymsp[-1].minor.yy172 = yymsp[0].minor.yy172;
+#line 6535 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 592:
+#line 2125 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_set_exp_free), &(*(struct psi_set_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 3029 "src/parser_proc.c"
+#line 6543 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 593:
+#line 2128 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), &(*(struct psi_set_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 115: /* impl ::= impl_func LBRACE impl_stmts RBRACE */
-#line 811 "src/parser_proc.y"
-{
- yylhsminor.yy49 = psi_impl_init(yymsp[-3].minor.yy56, yymsp[-1].minor.yy179);
+#line 6551 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 594:
+#line 2134 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_return_stmt **)(&(*yyvalp))) = psi_return_stmt_init((*(struct psi_return_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_return_stmt **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+}
+#line 6560 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 595:
+#line 2141 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_return_exp **)(&(*yyvalp))) = psi_return_exp_init((*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval)), (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)), psi_set_exp_init(PSI_SET_FUNC, (*(struct psi_set_func **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))));
+ (*(struct psi_return_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval))->token);
+}
+#line 6569 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 596:
+#line 2145 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_return_exp **)(&(*yyvalp))) = psi_return_exp_init(NULL, NULL, psi_set_exp_init(PSI_SET_FUNC, (*(struct psi_set_func **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))));
+ (*(struct psi_return_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_set_func **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->token);
+}
+#line 6578 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 597:
+#line 2152 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
-#line 3037 "src/parser_proc.c"
- yy_destructor(yypParser,96,&yymsp[-2].minor);
- yy_destructor(yypParser,97,&yymsp[0].minor);
- yymsp[-3].minor.yy49 = yylhsminor.yy49;
- break;
- case 116: /* impl ::= STATIC impl_func LBRACE impl_stmts RBRACE */
-{ yy_destructor(yypParser,109,&yymsp[-4].minor);
-#line 814 "src/parser_proc.y"
-{
- yymsp[-3].minor.yy56->static_memory = 1;
- yymsp[-4].minor.yy49 = psi_impl_init(yymsp[-3].minor.yy56, yymsp[-1].minor.yy179);
+#line 6586 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 598:
+#line 2155 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
-#line 3049 "src/parser_proc.c"
- yy_destructor(yypParser,96,&yymsp[-2].minor);
- yy_destructor(yypParser,97,&yymsp[0].minor);
+#line 6594 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 599:
+#line 2158 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
- break;
- case 117: /* impl_func ::= FUNCTION reference NSNAME LPAREN RPAREN COLON impl_type */
-{ yy_destructor(yypParser,110,&yymsp[-6].minor);
-#line 818 "src/parser_proc.y"
-{
- yymsp[-6].minor.yy56 = psi_impl_func_init(yymsp[-4].minor.yy0->text, NULL, yymsp[0].minor.yy246);
- yymsp[-6].minor.yy56->token = yymsp[-4].minor.yy0;
- yymsp[-6].minor.yy56->return_reference = yymsp[-5].minor.yy89;
+#line 6602 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 600:
+#line 2164 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_set_stmt **)(&(*yyvalp))) = psi_set_stmt_init((*(struct psi_set_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_set_stmt **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+}
+#line 6611 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 601:
+#line 2171 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_set_exp **)(&(*yyvalp))) = psi_set_exp_init(PSI_SET_FUNC, (*(struct psi_set_func **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 3062 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-3].minor);
- yy_destructor(yypParser,87,&yymsp[-2].minor);
- yy_destructor(yypParser,92,&yymsp[-1].minor);
+#line 6619 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 602:
+#line 2174 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_set_exp **)(&(*yyvalp))) = psi_set_exp_init(PSI_SET_NUMEXP, (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 118: /* impl_func ::= FUNCTION reference NSNAME LPAREN impl_args RPAREN COLON impl_type */
-{ yy_destructor(yypParser,110,&yymsp[-7].minor);
-#line 823 "src/parser_proc.y"
-{
- yymsp[-7].minor.yy56 = psi_impl_func_init(yymsp[-5].minor.yy0->text, yymsp[-3].minor.yy179, yymsp[0].minor.yy246);
- yymsp[-7].minor.yy56->token = yymsp[-5].minor.yy0;
- yymsp[-7].minor.yy56->return_reference = yymsp[-6].minor.yy89;
+#line 6627 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 603:
+#line 2177 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_set_exp **)(&(*yyvalp))) = (*(struct psi_set_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
+ (*(struct psi_set_exp **)(&(*yyvalp)))->var = (*(struct psi_impl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
+}
+#line 6636 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 604:
+#line 2184 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_set_func **)(&(*yyvalp))) = psi_set_func_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval))->text, (*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+ (*(struct psi_set_func **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)));
+ (*(struct psi_set_func **)(&(*yyvalp)))->inner = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
+}
+#line 6646 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 605:
+#line 2189 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_set_func **)(&(*yyvalp))) = psi_set_func_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval))->text, (*(struct psi_decl_var **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)));
+ (*(struct psi_set_func **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval)));
+ (*(struct psi_set_func **)(&(*yyvalp)))->recursive = 1;
+}
+#line 6656 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 614:
+#line 2208 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
-#line 3076 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-4].minor);
- yy_destructor(yypParser,87,&yymsp[-2].minor);
- yy_destructor(yypParser,92,&yymsp[-1].minor);
+#line 6664 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 615:
+#line 2211 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
- break;
- case 119: /* impl_func ::= FUNCTION reference NSNAME LPAREN impl_args COMMA impl_type reference ELLIPSIS DOLLAR_NAME RPAREN COLON impl_type */
-{ yy_destructor(yypParser,110,&yymsp[-12].minor);
-#line 828 "src/parser_proc.y"
-{
- yymsp[-12].minor.yy56 = psi_impl_func_init(yymsp[-10].minor.yy0->text, yymsp[-8].minor.yy179, yymsp[0].minor.yy246);
- yymsp[-12].minor.yy56->token = yymsp[-10].minor.yy0;
- yymsp[-12].minor.yy56->return_reference = yymsp[-11].minor.yy89;
- yymsp[-12].minor.yy56->vararg = psi_impl_arg_init(yymsp[-6].minor.yy246, psi_impl_var_init(yymsp[-3].minor.yy0->text, yymsp[-5].minor.yy89), NULL);
- free(yymsp[-3].minor.yy0);
+#line 6672 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 616:
+#line 2217 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_set_exp_free), &(*(struct psi_set_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 3092 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-9].minor);
- yy_destructor(yypParser,88,&yymsp[-7].minor);
- yy_destructor(yypParser,101,&yymsp[-4].minor);
- yy_destructor(yypParser,87,&yymsp[-2].minor);
- yy_destructor(yypParser,92,&yymsp[-1].minor);
+#line 6680 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 617:
+#line 2220 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), &(*(struct psi_set_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
- break;
- case 120: /* impl_def_val ::= NULL|NUMBER|TRUE|FALSE|QUOTED_STRING */
-#line 835 "src/parser_proc.y"
-{
- yylhsminor.yy145 = psi_impl_def_val_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
- yylhsminor.yy145->token = yymsp[0].minor.yy0;
+#line 6688 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 618:
+#line 2226 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_assert_stmt **)(&(*yyvalp))) = psi_assert_stmt_init((enum psi_assert_kind) (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->type, (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_assert_stmt **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+}
+#line 6697 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 621:
+#line 2238 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_free_stmt **)(&(*yyvalp))) = psi_free_stmt_init((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_free_stmt **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
+}
+#line 6706 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 622:
+#line 2245 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_free_exp_free), &(*(struct psi_free_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 3106 "src/parser_proc.c"
- yymsp[0].minor.yy145 = yylhsminor.yy145;
- break;
- case 121: /* impl_var ::= reference DOLLAR_NAME */
-#line 839 "src/parser_proc.y"
-{
- yylhsminor.yy370 = psi_impl_var_init(yymsp[0].minor.yy0->text, yymsp[-1].minor.yy89);
- yylhsminor.yy370->token = yymsp[0].minor.yy0;
+#line 6714 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 623:
+#line 2248 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_plist **)(&(*yyvalp))) = psi_plist_add((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)), &(*(struct psi_free_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
-#line 3115 "src/parser_proc.c"
- yymsp[-1].minor.yy370 = yylhsminor.yy370;
- break;
- case 122: /* impl_type ::= VOID|MIXED|BOOL|INT|FLOAT|STRING|ARRAY|OBJECT|CALLABLE */
-#line 843 "src/parser_proc.y"
-{
- yylhsminor.yy246 = psi_impl_type_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
- free(yymsp[0].minor.yy0);
+#line 6722 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 624:
+#line 2254 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->type = PSI_T_NAME;
+ (*(struct psi_free_exp **)(&(*yyvalp))) = psi_free_exp_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval))->text, (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
+ (*(struct psi_free_exp **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval)));
+}
+#line 6732 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 625:
+#line 2262 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(bool*)(&(*yyvalp))) = false;
}
-#line 3124 "src/parser_proc.c"
- yymsp[0].minor.yy246 = yylhsminor.yy246;
- break;
- case 123: /* impl_arg ::= impl_type impl_var */
-#line 847 "src/parser_proc.y"
-{
- yylhsminor.yy34 = psi_impl_arg_init(yymsp[-1].minor.yy246, yymsp[0].minor.yy370, NULL);
+#line 6740 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+ case 626:
+#line 2265 "src/parser_proc_grammar.y" /* glr.c:816 */
+ {
+ (*(bool*)(&(*yyvalp))) = true;
}
-#line 3132 "src/parser_proc.c"
- yymsp[-1].minor.yy34 = yylhsminor.yy34;
- break;
- case 124: /* impl_arg ::= impl_type impl_var EQUALS impl_def_val */
-#line 850 "src/parser_proc.y"
-{
- yylhsminor.yy34 = psi_impl_arg_init(yymsp[-3].minor.yy246, yymsp[-2].minor.yy370, yymsp[0].minor.yy145);
+#line 6748 "src/parser_proc.c" /* glr.c:816 */
+ break;
+
+
+#line 6752 "src/parser_proc.c" /* glr.c:816 */
+ default: break;
+ }
+
+ return yyok;
+# undef yyerrok
+# undef YYABORT
+# undef YYACCEPT
+# undef YYERROR
+# undef YYBACKUP
+# undef yyclearin
+# undef YYRECOVERING
}
-#line 3140 "src/parser_proc.c"
- yy_destructor(yypParser,98,&yymsp[-1].minor);
- yymsp[-3].minor.yy34 = yylhsminor.yy34;
- break;
- case 125: /* impl_args ::= impl_arg */
-#line 853 "src/parser_proc.y"
+
+
+static void
+yyuserMerge (int yyn, YYSTYPE* yy0, YYSTYPE* yy1)
{
- yylhsminor.yy179 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_impl_arg_free),
- &yymsp[0].minor.yy34);
+ YYUSE (yy0);
+ YYUSE (yy1);
+
+ switch (yyn)
+ {
+
+ default: break;
+ }
}
-#line 3150 "src/parser_proc.c"
- yymsp[0].minor.yy179 = yylhsminor.yy179;
+
+ /* Bison grammar-table manipulation. */
+
+/*-----------------------------------------------.
+| Release the memory associated to this symbol. |
+`-----------------------------------------------*/
+
+static void
+yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ YYUSE (yyvaluep);
+ YYUSE (P);
+ YYUSE (tokens);
+ YYUSE (index);
+ if (!yymsg)
+ yymsg = "Deleting";
+ YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
+
+ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
+ switch (yytype)
+ {
+ case 141: /* binary_op_token */
+#line 315 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 6803 "src/parser_proc.c" /* glr.c:846 */
break;
- case 126: /* impl_args ::= impl_args COMMA impl_arg */
-#line 857 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(yymsp[-2].minor.yy179, &yymsp[0].minor.yy34);
-}
-#line 3158 "src/parser_proc.c"
- yy_destructor(yypParser,88,&yymsp[-1].minor);
- yymsp[-2].minor.yy179 = yylhsminor.yy179;
+
+ case 142: /* unary_op_token */
+#line 315 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 6809 "src/parser_proc.c" /* glr.c:846 */
break;
- case 127: /* impl_stmts ::= impl_stmt */
-#line 860 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_impl_stmt_free),
- &yymsp[0].minor.yy238);
-}
-#line 3168 "src/parser_proc.c"
- yymsp[0].minor.yy179 = yylhsminor.yy179;
+
+ case 143: /* name_token */
+#line 315 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 6815 "src/parser_proc.c" /* glr.c:846 */
break;
- case 128: /* impl_stmts ::= impl_stmts impl_stmt */
-#line 864 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(yymsp[-1].minor.yy179, &yymsp[0].minor.yy238);
-}
-#line 3176 "src/parser_proc.c"
- yymsp[-1].minor.yy179 = yylhsminor.yy179;
+
+ case 144: /* any_noeol_token */
+#line 315 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 6821 "src/parser_proc.c" /* glr.c:846 */
break;
- case 129: /* impl_stmt ::= return_stmt */
-#line 867 "src/parser_proc.y"
-{
- yylhsminor.yy238 = (struct psi_token**) yymsp[0].minor.yy342;
-}
-#line 3184 "src/parser_proc.c"
- yymsp[0].minor.yy238 = yylhsminor.yy238;
+
+ case 149: /* lib */
+#line 309 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 6827 "src/parser_proc.c" /* glr.c:846 */
break;
- case 130: /* impl_stmt ::= let_stmt */
-#line 870 "src/parser_proc.y"
-{
- yylhsminor.yy238 = (struct psi_token**) yymsp[0].minor.yy319;
-}
-#line 3192 "src/parser_proc.c"
- yymsp[0].minor.yy238 = yylhsminor.yy238;
+
+ case 150: /* cpp */
+#line 324 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_cpp_exp_free(&(*(struct psi_cpp_exp **)(&(*yyvaluep))));}
+#line 6833 "src/parser_proc.c" /* glr.c:846 */
break;
- case 131: /* impl_stmt ::= set_stmt */
-#line 873 "src/parser_proc.y"
-{
- yylhsminor.yy238 = (struct psi_token**) yymsp[0].minor.yy358;
-}
-#line 3200 "src/parser_proc.c"
- yymsp[0].minor.yy238 = yylhsminor.yy238;
+
+ case 151: /* cpp_exp */
+#line 324 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_cpp_exp_free(&(*(struct psi_cpp_exp **)(&(*yyvaluep))));}
+#line 6839 "src/parser_proc.c" /* glr.c:846 */
break;
- case 132: /* impl_stmt ::= assert_stmt */
-#line 876 "src/parser_proc.y"
-{
- yylhsminor.yy238 = (struct psi_token **) yymsp[0].minor.yy201;
-}
-#line 3208 "src/parser_proc.c"
- yymsp[0].minor.yy238 = yylhsminor.yy238;
+
+ case 153: /* cpp_message_token */
+#line 312 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 6845 "src/parser_proc.c" /* glr.c:846 */
break;
- case 133: /* impl_stmt ::= free_stmt */
-#line 879 "src/parser_proc.y"
-{
- yylhsminor.yy238 = (struct psi_token**) yymsp[0].minor.yy220;
-}
-#line 3216 "src/parser_proc.c"
- yymsp[0].minor.yy238 = yylhsminor.yy238;
+
+ case 154: /* cpp_include_token */
+#line 312 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 6851 "src/parser_proc.c" /* glr.c:846 */
break;
- case 134: /* number ::= NUMBER|NSNAME */
-#line 882 "src/parser_proc.y"
-{
- yylhsminor.yy57 = psi_number_init(yymsp[0].minor.yy0->type, yymsp[0].minor.yy0->text);
- yylhsminor.yy57->token = yymsp[0].minor.yy0;
-}
-#line 3225 "src/parser_proc.c"
- yymsp[0].minor.yy57 = yylhsminor.yy57;
+
+ case 155: /* cpp_header_token */
+#line 312 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 6857 "src/parser_proc.c" /* glr.c:846 */
break;
- case 135: /* number ::= decl_var */
-#line 886 "src/parser_proc.y"
-{
- yylhsminor.yy57 = psi_number_init(PSI_T_NAME, yymsp[0].minor.yy271);
- yylhsminor.yy57->token = psi_token_copy(yymsp[0].minor.yy271->token);
-}
-#line 3234 "src/parser_proc.c"
- yymsp[0].minor.yy57 = yylhsminor.yy57;
+
+ case 156: /* cpp_no_arg_token */
+#line 312 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 6863 "src/parser_proc.c" /* glr.c:846 */
break;
- case 136: /* num_exp ::= number */
-#line 890 "src/parser_proc.y"
-{
- yylhsminor.yy207 = psi_num_exp_init_num(yymsp[0].minor.yy57);
- yylhsminor.yy207->token = psi_token_copy(yymsp[0].minor.yy57->token);
-}
-#line 3243 "src/parser_proc.c"
- yymsp[0].minor.yy207 = yylhsminor.yy207;
+
+ case 157: /* cpp_name_arg_token */
+#line 312 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 6869 "src/parser_proc.c" /* glr.c:846 */
break;
- case 137: /* num_exp ::= LPAREN num_exp RPAREN */
-#line 894 "src/parser_proc.y"
-{
- yylhsminor.yy207 = psi_num_exp_init_unary(PSI_T_LPAREN, yymsp[-1].minor.yy207);
- yylhsminor.yy207->token = yymsp[-2].minor.yy0;
-}
-#line 3252 "src/parser_proc.c"
- yy_destructor(yypParser,87,&yymsp[0].minor);
- yymsp[-2].minor.yy207 = yylhsminor.yy207;
+
+ case 158: /* cpp_exp_arg_token */
+#line 312 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 6875 "src/parser_proc.c" /* glr.c:846 */
break;
- case 140: /* let_exp ::= NULL */
-{ yy_destructor(yypParser,15,&yymsp[0].minor);
-#line 906 "src/parser_proc.y"
-{
- yymsp[0].minor.yy200 = psi_let_exp_init(PSI_LET_NULL, NULL);
-}
-#line 3262 "src/parser_proc.c"
-}
+
+ case 159: /* cpp_macro_decl */
+#line 326 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_cpp_macro_decl_free(&(*(struct psi_cpp_macro_decl **)(&(*yyvaluep))));}
+#line 6881 "src/parser_proc.c" /* glr.c:846 */
break;
- case 141: /* let_exp ::= AMPERSAND NULL */
-{ yy_destructor(yypParser,23,&yymsp[-1].minor);
-#line 909 "src/parser_proc.y"
-{
- yymsp[-1].minor.yy200 = psi_let_exp_init(PSI_LET_NULL, NULL);
- yymsp[-1].minor.yy200->is_reference = 1;
-}
-#line 3272 "src/parser_proc.c"
- yy_destructor(yypParser,15,&yymsp[0].minor);
-}
+
+ case 160: /* cpp_macro_sig */
+#line 328 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 6887 "src/parser_proc.c" /* glr.c:846 */
break;
- case 142: /* let_exp ::= let_callback */
-#line 913 "src/parser_proc.y"
-{
- yylhsminor.yy200 = psi_let_exp_init(PSI_LET_CALLBACK, yymsp[0].minor.yy120);
-}
-#line 3281 "src/parser_proc.c"
- yymsp[0].minor.yy200 = yylhsminor.yy200;
+
+ case 161: /* cpp_macro_sig_args */
+#line 328 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 6893 "src/parser_proc.c" /* glr.c:846 */
break;
- case 143: /* let_exp ::= let_calloc */
-#line 916 "src/parser_proc.y"
-{
- yylhsminor.yy200 = psi_let_exp_init(PSI_LET_CALLOC, yymsp[0].minor.yy45);
-}
-#line 3289 "src/parser_proc.c"
- yymsp[0].minor.yy200 = yylhsminor.yy200;
+
+ case 162: /* cpp_macro_decl_tokens */
+#line 328 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 6899 "src/parser_proc.c" /* glr.c:846 */
break;
- case 144: /* let_exp ::= AMPERSAND let_calloc */
-{ yy_destructor(yypParser,23,&yymsp[-1].minor);
-#line 919 "src/parser_proc.y"
-{
- yymsp[-1].minor.yy200 = psi_let_exp_init(PSI_LET_CALLOC, yymsp[0].minor.yy45);
- yymsp[-1].minor.yy200->is_reference = 1;
-}
-#line 3299 "src/parser_proc.c"
-}
+
+ case 163: /* cpp_macro_decl_token_list */
+#line 328 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 6905 "src/parser_proc.c" /* glr.c:846 */
break;
- case 145: /* let_exp ::= let_func */
-#line 923 "src/parser_proc.y"
-{
- yylhsminor.yy200 = psi_let_exp_init_ex(NULL, PSI_LET_FUNC, yymsp[0].minor.yy67);
-}
-#line 3307 "src/parser_proc.c"
- yymsp[0].minor.yy200 = yylhsminor.yy200;
+
+ case 164: /* cpp_macro_exp */
+#line 330 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_num_exp_free(&(*(struct psi_num_exp **)(&(*yyvaluep))));}
+#line 6911 "src/parser_proc.c" /* glr.c:846 */
break;
- case 146: /* let_exp ::= AMPERSAND let_func */
-{ yy_destructor(yypParser,23,&yymsp[-1].minor);
-#line 926 "src/parser_proc.y"
-{
- yymsp[-1].minor.yy200 = psi_let_exp_init_ex(NULL, PSI_LET_FUNC, yymsp[0].minor.yy67);
- yymsp[-1].minor.yy200->is_reference = 1;
-}
-#line 3317 "src/parser_proc.c"
-}
+
+ case 165: /* cpp_macro_call_args */
+#line 328 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 6917 "src/parser_proc.c" /* glr.c:846 */
break;
- case 147: /* let_exp ::= num_exp */
-#line 930 "src/parser_proc.y"
-{
- yylhsminor.yy200 = psi_let_exp_init_ex(NULL, PSI_LET_NUMEXP, yymsp[0].minor.yy207);
-}
-#line 3325 "src/parser_proc.c"
- yymsp[0].minor.yy200 = yylhsminor.yy200;
+
+ case 166: /* cpp_macro_call_arg_list */
+#line 328 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 6923 "src/parser_proc.c" /* glr.c:846 */
break;
- case 148: /* let_exp ::= AMPERSAND num_exp */
-{ yy_destructor(yypParser,23,&yymsp[-1].minor);
-#line 933 "src/parser_proc.y"
-{
- yymsp[-1].minor.yy200 = psi_let_exp_init_ex(NULL, PSI_LET_NUMEXP, yymsp[0].minor.yy207);
- yymsp[-1].minor.yy200->is_reference = 1;
-}
-#line 3335 "src/parser_proc.c"
-}
+
+ case 167: /* constant */
+#line 336 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_const_free(&(*(struct psi_const **)(&(*yyvaluep))));}
+#line 6929 "src/parser_proc.c" /* glr.c:846 */
break;
- case 149: /* let_exp ::= decl_var EQUALS let_exp */
-#line 937 "src/parser_proc.y"
-{
- yylhsminor.yy200 = yymsp[0].minor.yy200;
- yylhsminor.yy200->var = yymsp[-2].minor.yy271;
-}
-#line 3344 "src/parser_proc.c"
- yy_destructor(yypParser,98,&yymsp[-1].minor);
- yymsp[-2].minor.yy200 = yylhsminor.yy200;
+
+ case 168: /* impl_def_val */
+#line 338 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_impl_def_val_free(&(*(struct psi_impl_def_val **)(&(*yyvaluep))));}
+#line 6935 "src/parser_proc.c" /* glr.c:846 */
break;
- case 150: /* let_stmt ::= LET let_exp EOS */
-#line 941 "src/parser_proc.y"
-{
- yylhsminor.yy319 = psi_let_stmt_init(yymsp[-1].minor.yy200);
- yylhsminor.yy319->token = yymsp[-2].minor.yy0;
-}
-#line 3354 "src/parser_proc.c"
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-2].minor.yy319 = yylhsminor.yy319;
+
+ case 169: /* impl_def_val_token */
+#line 333 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 6941 "src/parser_proc.c" /* glr.c:846 */
break;
- case 151: /* let_stmt ::= TEMP decl_var EQUALS reference decl_var EOS */
-#line 945 "src/parser_proc.y"
-{
- yylhsminor.yy319 = psi_let_stmt_init(psi_let_exp_init_ex(yymsp[-4].minor.yy271, PSI_LET_TMP, yymsp[-1].minor.yy271));
- yylhsminor.yy319->token = yymsp[-5].minor.yy0;
- yylhsminor.yy319->exp->is_reference = yymsp[-2].minor.yy89 ? 1 : 0;
-}
-#line 3365 "src/parser_proc.c"
- yy_destructor(yypParser,98,&yymsp[-3].minor);
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-5].minor.yy319 = yylhsminor.yy319;
+
+ case 170: /* decl_typedef */
+#line 351 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
+#line 6947 "src/parser_proc.c" /* glr.c:846 */
break;
- case 152: /* let_callback ::= CALLBACK callback_rval LPAREN impl_var LPAREN callback_arg_list RPAREN RPAREN */
-#line 950 "src/parser_proc.y"
-{
- yylhsminor.yy120 = psi_let_callback_init(psi_let_func_init(yymsp[-6].minor.yy0->type, yymsp[-6].minor.yy0->text, yymsp[-4].minor.yy370), yymsp[-2].minor.yy243);
- yylhsminor.yy120->token = yymsp[-7].minor.yy0;
- free(yymsp[-6].minor.yy0);
-}
-#line 3377 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-5].minor);
- yy_destructor(yypParser,86,&yymsp[-3].minor);
- yy_destructor(yypParser,87,&yymsp[-1].minor);
- yy_destructor(yypParser,87,&yymsp[0].minor);
- yymsp[-7].minor.yy120 = yylhsminor.yy120;
+
+ case 171: /* typedef */
+#line 351 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
+#line 6953 "src/parser_proc.c" /* glr.c:846 */
break;
- case 153: /* let_calloc ::= CALLOC LPAREN num_exp COMMA num_exp RPAREN */
-#line 955 "src/parser_proc.y"
-{
- yylhsminor.yy45 = psi_let_calloc_init(yymsp[-3].minor.yy207, yymsp[-1].minor.yy207);
- yylhsminor.yy45->token = yymsp[-5].minor.yy0;
-}
-#line 3390 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-4].minor);
- yy_destructor(yypParser,88,&yymsp[-2].minor);
- yy_destructor(yypParser,87,&yymsp[0].minor);
- yymsp[-5].minor.yy45 = yylhsminor.yy45;
+
+ case 172: /* typedef_anon */
+#line 351 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
+#line 6959 "src/parser_proc.c" /* glr.c:846 */
break;
- case 154: /* let_func ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT LPAREN impl_var RPAREN */
-#line 959 "src/parser_proc.y"
-{
- yylhsminor.yy67 = psi_let_func_init(yymsp[-3].minor.yy0->type, yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy370);
- yylhsminor.yy67->token = yymsp[-3].minor.yy0;
-}
-#line 3402 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-2].minor);
- yy_destructor(yypParser,87,&yymsp[0].minor);
- yymsp[-3].minor.yy67 = yylhsminor.yy67;
+
+ case 173: /* typedef_decl */
+#line 351 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
+#line 6965 "src/parser_proc.c" /* glr.c:846 */
break;
- case 155: /* let_func ::= ZVAL|OBJVAL|ARRVAL|PATHVAL|STRLEN|STRVAL|FLOATVAL|INTVAL|BOOLVAL|COUNT LPAREN impl_var COMMA let_exps RPAREN */
-#line 963 "src/parser_proc.y"
-{
- yylhsminor.yy67 = psi_let_func_init(yymsp[-5].minor.yy0->type, yymsp[-5].minor.yy0->text, yymsp[-3].minor.yy370);
- yylhsminor.yy67->token = yymsp[-5].minor.yy0;
- yylhsminor.yy67->inner = yymsp[-1].minor.yy179;
-}
-#line 3414 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-4].minor);
- yy_destructor(yypParser,88,&yymsp[-2].minor);
- yy_destructor(yypParser,87,&yymsp[0].minor);
- yymsp[-5].minor.yy67 = yylhsminor.yy67;
+
+ case 174: /* typedef_anon_decl */
+#line 351 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
+#line 6971 "src/parser_proc.c" /* glr.c:846 */
break;
- case 156: /* let_exps ::= let_exp */
-#line 968 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_let_exp_free),
- &yymsp[0].minor.yy200);
-}
-#line 3426 "src/parser_proc.c"
- yymsp[0].minor.yy179 = yylhsminor.yy179;
+
+ case 175: /* qualified_decl_type */
+#line 347 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_type_free(&(*(struct psi_decl_type **)(&(*yyvaluep))));}
+#line 6977 "src/parser_proc.c" /* glr.c:846 */
break;
- case 157: /* let_exps ::= let_exps COMMA let_exp */
-#line 972 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(yymsp[-2].minor.yy179, &yymsp[0].minor.yy200);
-}
-#line 3434 "src/parser_proc.c"
- yy_destructor(yypParser,88,&yymsp[-1].minor);
- yymsp[-2].minor.yy179 = yylhsminor.yy179;
+
+ case 177: /* decl_type */
+#line 347 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_type_free(&(*(struct psi_decl_type **)(&(*yyvaluep))));}
+#line 6983 "src/parser_proc.c" /* glr.c:846 */
break;
- case 158: /* callback_arg_list ::= */
-#line 975 "src/parser_proc.y"
-{
- yymsp[1].minor.yy243 = NULL;
-}
-#line 3443 "src/parser_proc.c"
+
+ case 178: /* decl_type_complex */
+#line 347 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_type_free(&(*(struct psi_decl_type **)(&(*yyvaluep))));}
+#line 6989 "src/parser_proc.c" /* glr.c:846 */
break;
- case 159: /* callback_arg_list ::= callback_args */
-#line 978 "src/parser_proc.y"
-{
- yylhsminor.yy243 = yymsp[0].minor.yy243;
-}
-#line 3450 "src/parser_proc.c"
- yymsp[0].minor.yy243 = yylhsminor.yy243;
+
+ case 179: /* decl_type_simple */
+#line 341 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 6995 "src/parser_proc.c" /* glr.c:846 */
break;
- case 160: /* callback_args ::= set_exp */
-#line 981 "src/parser_proc.y"
-{
- yylhsminor.yy243 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_set_exp_free),
- &yymsp[0].minor.yy180);
-}
-#line 3459 "src/parser_proc.c"
- yymsp[0].minor.yy243 = yylhsminor.yy243;
+
+ case 180: /* decl_real_type */
+#line 341 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7001 "src/parser_proc.c" /* glr.c:846 */
break;
- case 161: /* callback_args ::= callback_args COMMA set_exp */
-#line 985 "src/parser_proc.y"
-{
- yylhsminor.yy243 = psi_plist_add(yymsp[-2].minor.yy243, &yymsp[0].minor.yy180);
-}
-#line 3467 "src/parser_proc.c"
- yy_destructor(yypParser,88,&yymsp[-1].minor);
- yymsp[-2].minor.yy243 = yylhsminor.yy243;
+
+ case 181: /* int_signed */
+#line 321 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 7007 "src/parser_proc.c" /* glr.c:846 */
break;
- case 164: /* set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var RPAREN */
-#line 994 "src/parser_proc.y"
-{
- yylhsminor.yy362 = psi_set_func_init(yymsp[-3].minor.yy0->type, yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy271);
- yylhsminor.yy362->token = yymsp[-3].minor.yy0;
-}
-#line 3477 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-2].minor);
- yy_destructor(yypParser,87,&yymsp[0].minor);
- yymsp[-3].minor.yy362 = yylhsminor.yy362;
+
+ case 182: /* int_width */
+#line 318 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7013 "src/parser_proc.c" /* glr.c:846 */
break;
- case 165: /* set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var COMMA set_exps RPAREN */
-#line 998 "src/parser_proc.y"
-{
- yylhsminor.yy362 = psi_set_func_init(yymsp[-5].minor.yy0->type, yymsp[-5].minor.yy0->text, yymsp[-3].minor.yy271);
- yylhsminor.yy362->token = yymsp[-5].minor.yy0;
- yylhsminor.yy362->inner = yymsp[-1].minor.yy179;
-}
-#line 3489 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-4].minor);
- yy_destructor(yypParser,88,&yymsp[-2].minor);
- yy_destructor(yypParser,87,&yymsp[0].minor);
- yymsp[-5].minor.yy362 = yylhsminor.yy362;
+
+ case 183: /* decl_int_type */
+#line 341 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7019 "src/parser_proc.c" /* glr.c:846 */
break;
- case 166: /* set_func ::= TO_OBJECT|TO_ARRAY|TO_STRING|TO_INT|TO_FLOAT|TO_BOOL|ZVAL|VOID LPAREN decl_var COMMA ELLIPSIS RPAREN */
-#line 1003 "src/parser_proc.y"
-{
- yylhsminor.yy362 = psi_set_func_init(yymsp[-5].minor.yy0->type, yymsp[-5].minor.yy0->text, yymsp[-3].minor.yy271);
- yylhsminor.yy362->token = yymsp[-5].minor.yy0;
- yylhsminor.yy362->recursive = 1;
-}
-#line 3502 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-4].minor);
- yy_destructor(yypParser,88,&yymsp[-2].minor);
- yy_destructor(yypParser,101,&yymsp[-1].minor);
- yy_destructor(yypParser,87,&yymsp[0].minor);
- yymsp[-5].minor.yy362 = yylhsminor.yy362;
+
+ case 184: /* int_signed_types */
+#line 318 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7025 "src/parser_proc.c" /* glr.c:846 */
break;
- case 167: /* set_exp ::= set_func */
-#line 1008 "src/parser_proc.y"
-{
- yylhsminor.yy180 = psi_set_exp_init(PSI_SET_FUNC, yymsp[0].minor.yy362);
-}
-#line 3514 "src/parser_proc.c"
- yymsp[0].minor.yy180 = yylhsminor.yy180;
+
+ case 185: /* signed_short_types */
+#line 321 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 7031 "src/parser_proc.c" /* glr.c:846 */
break;
- case 168: /* set_exp ::= num_exp */
-#line 1011 "src/parser_proc.y"
-{
- yylhsminor.yy180 = psi_set_exp_init(PSI_SET_NUMEXP, yymsp[0].minor.yy207);
-}
-#line 3522 "src/parser_proc.c"
- yymsp[0].minor.yy180 = yylhsminor.yy180;
+
+ case 186: /* signed_long_types */
+#line 321 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 7037 "src/parser_proc.c" /* glr.c:846 */
break;
- case 169: /* set_exps ::= set_exp */
-#line 1014 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_set_exp_free),
- &yymsp[0].minor.yy180);
-}
-#line 3531 "src/parser_proc.c"
- yymsp[0].minor.yy179 = yylhsminor.yy179;
+
+ case 187: /* int_width_types */
+#line 318 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7043 "src/parser_proc.c" /* glr.c:846 */
break;
- case 170: /* set_exps ::= set_exps COMMA set_exp */
-#line 1018 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(yymsp[-2].minor.yy179, &yymsp[0].minor.yy180);
-}
-#line 3539 "src/parser_proc.c"
- yy_destructor(yypParser,88,&yymsp[-1].minor);
- yymsp[-2].minor.yy179 = yylhsminor.yy179;
+
+ case 188: /* decl_stmt */
+#line 349 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
+#line 7049 "src/parser_proc.c" /* glr.c:846 */
break;
- case 171: /* set_exp ::= impl_var EQUALS set_exp */
-#line 1021 "src/parser_proc.y"
-{
- yylhsminor.yy180 = yymsp[0].minor.yy180;
- yylhsminor.yy180->var = yymsp[-2].minor.yy370;
-}
-#line 3549 "src/parser_proc.c"
- yy_destructor(yypParser,98,&yymsp[-1].minor);
- yymsp[-2].minor.yy180 = yylhsminor.yy180;
+
+ case 189: /* decl_asm */
+#line 344 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7055 "src/parser_proc.c" /* glr.c:846 */
break;
- case 172: /* set_stmt ::= SET set_exp EOS */
-#line 1025 "src/parser_proc.y"
-{
- yylhsminor.yy358 = psi_set_stmt_init(yymsp[-1].minor.yy180);
- yylhsminor.yy358->token = yymsp[-2].minor.yy0;
-}
-#line 3559 "src/parser_proc.c"
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-2].minor.yy358 = yylhsminor.yy358;
+
+ case 190: /* quoted_strings */
+#line 344 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7061 "src/parser_proc.c" /* glr.c:846 */
break;
- case 173: /* return_stmt ::= RETURN set_func EOS */
-#line 1029 "src/parser_proc.y"
-{
- yylhsminor.yy342 = psi_return_stmt_init(psi_set_exp_init(PSI_SET_FUNC, yymsp[-1].minor.yy362));
- yylhsminor.yy342->token = yymsp[-2].minor.yy0;
-}
-#line 3569 "src/parser_proc.c"
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-2].minor.yy342 = yylhsminor.yy342;
+
+ case 191: /* decl_extvar_stmt */
+#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7067 "src/parser_proc.c" /* glr.c:846 */
break;
- case 174: /* free_stmt ::= FREE free_exps EOS */
-#line 1033 "src/parser_proc.y"
-{
- yylhsminor.yy220 = psi_free_stmt_init(yymsp[-1].minor.yy179);
- yylhsminor.yy220->token = yymsp[-2].minor.yy0;
-}
-#line 3579 "src/parser_proc.c"
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-2].minor.yy220 = yylhsminor.yy220;
+
+ case 192: /* decl_extvar_list */
+#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7073 "src/parser_proc.c" /* glr.c:846 */
break;
- case 175: /* free_exps ::= free_exp */
-#line 1037 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(psi_plist_init((psi_plist_dtor) psi_free_exp_free),
- &yymsp[0].minor.yy146);
-}
-#line 3589 "src/parser_proc.c"
- yymsp[0].minor.yy179 = yylhsminor.yy179;
+
+ case 193: /* decl_vars */
+#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7079 "src/parser_proc.c" /* glr.c:846 */
break;
- case 176: /* free_exps ::= free_exps COMMA free_exp */
-#line 1041 "src/parser_proc.y"
-{
- yylhsminor.yy179 = psi_plist_add(yymsp[-2].minor.yy179, &yymsp[0].minor.yy146);
-}
-#line 3597 "src/parser_proc.c"
- yy_destructor(yypParser,88,&yymsp[-1].minor);
- yymsp[-2].minor.yy179 = yylhsminor.yy179;
+
+ case 194: /* ignored_decl */
+#line 349 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
+#line 7085 "src/parser_proc.c" /* glr.c:846 */
break;
- case 177: /* free_exp ::= NAME LPAREN decl_vars RPAREN */
-#line 1044 "src/parser_proc.y"
-{
- yylhsminor.yy146 = psi_free_exp_init(yymsp[-3].minor.yy0->text, yymsp[-1].minor.yy179);
- yylhsminor.yy146->token = yymsp[-3].minor.yy0;
-}
-#line 3607 "src/parser_proc.c"
- yy_destructor(yypParser,86,&yymsp[-2].minor);
- yy_destructor(yypParser,87,&yymsp[0].minor);
- yymsp[-3].minor.yy146 = yylhsminor.yy146;
+
+ case 198: /* decl */
+#line 349 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
+#line 7091 "src/parser_proc.c" /* glr.c:846 */
break;
- case 178: /* assert_stmt ::= PRE_ASSERT|POST_ASSERT num_exp EOS */
-#line 1048 "src/parser_proc.y"
-{
- yylhsminor.yy201 = psi_assert_stmt_init(yymsp[-2].minor.yy0->type, yymsp[-1].minor.yy207);
- yylhsminor.yy201->token = yymsp[-2].minor.yy0;
-}
-#line 3618 "src/parser_proc.c"
- yy_destructor(yypParser,75,&yymsp[0].minor);
- yymsp[-2].minor.yy201 = yylhsminor.yy201;
+
+ case 199: /* decl_body */
+#line 349 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
+#line 7097 "src/parser_proc.c" /* glr.c:846 */
break;
- case 179: /* reference ::= */
-#line 1052 "src/parser_proc.y"
-{
- yymsp[1].minor.yy89 = false;
-}
-#line 3627 "src/parser_proc.c"
+
+ case 200: /* decl_func_body */
+#line 349 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
+#line 7103 "src/parser_proc.c" /* glr.c:846 */
break;
- case 180: /* reference ::= AMPERSAND */
-{ yy_destructor(yypParser,23,&yymsp[0].minor);
-#line 1055 "src/parser_proc.y"
-{
- yymsp[0].minor.yy89 = true;
-}
-#line 3635 "src/parser_proc.c"
-}
+
+ case 201: /* decl_functor_body */
+#line 349 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
+#line 7109 "src/parser_proc.c" /* glr.c:846 */
break;
- case 181: /* indirection ::= */
-#line 1058 "src/parser_proc.y"
-{
- yymsp[1].minor.yy382 = 0;
-}
-#line 3643 "src/parser_proc.c"
+
+ case 202: /* decl_anon_functor_body */
+#line 349 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
+#line 7115 "src/parser_proc.c" /* glr.c:846 */
break;
- case 182: /* indirection ::= pointers */
-#line 1061 "src/parser_proc.y"
-{
- yylhsminor.yy382 = yymsp[0].minor.yy382;
-}
-#line 3650 "src/parser_proc.c"
- yymsp[0].minor.yy382 = yylhsminor.yy382;
+
+ case 203: /* decl_functor */
+#line 351 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
+#line 7121 "src/parser_proc.c" /* glr.c:846 */
break;
- case 183: /* pointers ::= ASTERISK */
-{ yy_destructor(yypParser,28,&yymsp[0].minor);
-#line 1064 "src/parser_proc.y"
-{
- yymsp[0].minor.yy382 = 1;
-}
-#line 3659 "src/parser_proc.c"
-}
+
+ case 204: /* decl_anon_functor */
+#line 351 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
+#line 7127 "src/parser_proc.c" /* glr.c:846 */
break;
- case 184: /* pointers ::= pointers ASTERISK */
-#line 1067 "src/parser_proc.y"
-{
- yylhsminor.yy382 = yymsp[-1].minor.yy382+1;
-}
-#line 3667 "src/parser_proc.c"
- yy_destructor(yypParser,28,&yymsp[0].minor);
- yymsp[-1].minor.yy382 = yylhsminor.yy382;
+
+ case 205: /* decl_func */
+#line 351 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
+#line 7133 "src/parser_proc.c" /* glr.c:846 */
break;
- case 185: /* file ::= blocks */
-{ yy_destructor(yypParser,180,&yymsp[0].minor);
-#line 193 "src/parser_proc.y"
-{
-}
-#line 3676 "src/parser_proc.c"
-}
+
+ case 206: /* decl_args */
+#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7139 "src/parser_proc.c" /* glr.c:846 */
break;
- case 186: /* blocks ::= block */
-{ yy_destructor(yypParser,181,&yymsp[0].minor);
-#line 194 "src/parser_proc.y"
-{
-}
-#line 3684 "src/parser_proc.c"
-}
+
+ case 207: /* decl_arg_list */
+#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7145 "src/parser_proc.c" /* glr.c:846 */
break;
- case 187: /* blocks ::= blocks block */
-{ yy_destructor(yypParser,180,&yymsp[-1].minor);
-#line 195 "src/parser_proc.y"
-{
-}
-#line 3692 "src/parser_proc.c"
- yy_destructor(yypParser,181,&yymsp[0].minor);
-}
+
+ case 208: /* decl_anon_arg */
+#line 351 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
+#line 7151 "src/parser_proc.c" /* glr.c:846 */
break;
- case 188: /* block ::= EOS */
-{ yy_destructor(yypParser,75,&yymsp[0].minor);
-#line 196 "src/parser_proc.y"
-{
-}
-#line 3701 "src/parser_proc.c"
-}
+
+ case 209: /* decl_arg */
+#line 351 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
+#line 7157 "src/parser_proc.c" /* glr.c:846 */
break;
- case 189: /* block ::= EOL */
-{ yy_destructor(yypParser,76,&yymsp[0].minor);
-#line 197 "src/parser_proc.y"
-{
-}
-#line 3709 "src/parser_proc.c"
-}
+
+ case 210: /* decl_var */
+#line 353 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_var_free(&(*(struct psi_decl_var **)(&(*yyvaluep))));}
+#line 7163 "src/parser_proc.c" /* glr.c:846 */
break;
- case 190: /* block ::= COMMENT */
-{ yy_destructor(yypParser,77,&yymsp[0].minor);
-#line 198 "src/parser_proc.y"
-{
-}
-#line 3717 "src/parser_proc.c"
-}
+
+ case 211: /* decl_union */
+#line 357 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_union_free(&(*(struct psi_decl_union **)(&(*yyvaluep))));}
+#line 7169 "src/parser_proc.c" /* glr.c:846 */
break;
- default:
+
+ case 212: /* decl_struct */
+#line 355 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_struct_free(&(*(struct psi_decl_struct **)(&(*yyvaluep))));}
+#line 7175 "src/parser_proc.c" /* glr.c:846 */
break;
-/********** End reduce actions ************************************************/
- };
- assert( yyruleno<sizeof(yyRuleInfo)/sizeof(yyRuleInfo[0]) );
- yygoto = yyRuleInfo[yyruleno].lhs;
- yysize = yyRuleInfo[yyruleno].nrhs;
- yyact = yy_find_reduce_action(yymsp[-yysize].stateno,(YYCODETYPE)yygoto);
- if( yyact <= YY_MAX_SHIFTREDUCE ){
- if( yyact>YY_MAX_SHIFT ){
- yyact += YY_MIN_REDUCE - YY_MIN_SHIFTREDUCE;
- }
- yymsp -= yysize-1;
- yypParser->yytos = yymsp;
- yymsp->stateno = (YYACTIONTYPE)yyact;
- yymsp->major = (YYCODETYPE)yygoto;
- yyTraceShift(yypParser, yyact);
- }else{
- assert( yyact == YY_ACCEPT_ACTION );
- yypParser->yytos -= yysize;
- yy_accept(yypParser);
- }
-}
-/*
-** The following code executes when the parse fails
-*/
-#ifndef YYNOERRORRECOVERY
-static void yy_parse_failed(
- yyParser *yypParser /* The parser */
-){
- ParseARG_FETCH;
-#ifndef NDEBUG
- if( yyTraceFILE ){
- fprintf(yyTraceFILE,"%sFail!\n",yyTracePrompt);
- }
-#endif
- while( yypParser->yytos>yypParser->yystack ) yy_pop_parser_stack(yypParser);
- /* Here code is inserted which will be executed whenever the
- ** parser fails */
-/************ Begin %parse_failure code ***************************************/
-/************ End %parse_failure code *****************************************/
- ParseARG_STORE; /* Suppress warning about unused %extra_argument variable */
-}
-#endif /* YYNOERRORRECOVERY */
-
-/*
-** The following code executes when a syntax error first occurs.
-*/
-static void yy_syntax_error(
- yyParser *yypParser, /* The parser */
- int yymajor, /* The major type of the error token */
- ParseTOKENTYPE yyminor /* The minor type of the error token */
-){
- ParseARG_FETCH;
-#define TOKEN yyminor
-/************ Begin %syntax_error code ****************************************/
-#line 40 "src/parser_proc.y"
- ++P->errors; if (TOKEN) { psi_error(PSI_WARNING, TOKEN->file, TOKEN->line, "PSI syntax error: Unexpected token '%s' at pos %u", TOKEN->text, TOKEN->col); } else { psi_error(PSI_WARNING, P->file.fn, P->line, "PSI syntax error: Unexpected end of input"); }
-#line 3779 "src/parser_proc.c"
-/************ End %syntax_error code ******************************************/
- ParseARG_STORE; /* Suppress warning about unused %extra_argument variable */
-}
-
-/*
-** The following is executed when the parser accepts
-*/
-static void yy_accept(
- yyParser *yypParser /* The parser */
-){
- ParseARG_FETCH;
-#ifndef NDEBUG
- if( yyTraceFILE ){
- fprintf(yyTraceFILE,"%sAccept!\n",yyTracePrompt);
- }
-#endif
-#ifndef YYNOERRORRECOVERY
- yypParser->yyerrcnt = -1;
-#endif
- assert( yypParser->yytos==yypParser->yystack );
- /* Here code is inserted which will be executed whenever the
- ** parser accepts */
-/*********** Begin %parse_accept code *****************************************/
-/*********** End %parse_accept code *******************************************/
- ParseARG_STORE; /* Suppress warning about unused %extra_argument variable */
-}
-
-/* The main parser program.
-** The first argument is a pointer to a structure obtained from
-** "ParseAlloc" which describes the current state of the parser.
-** The second argument is the major token number. The third is
-** the minor token. The fourth optional argument is whatever the
-** user wants (and specified in the grammar) and is available for
-** use by the action routines.
-**
-** Inputs:
-** <ul>
-** <li> A pointer to the parser (an opaque structure.)
-** <li> The major token number.
-** <li> The minor token number.
-** <li> An option argument of a grammar-specified type.
-** </ul>
-**
-** Outputs:
-** None.
-*/
-void Parse(
- void *yyp, /* The parser */
- int yymajor, /* The major token code number */
- ParseTOKENTYPE yyminor /* The value for the token */
- ParseARG_PDECL /* Optional %extra_argument parameter */
-){
- YYMINORTYPE yyminorunion;
- unsigned int yyact; /* The parser action. */
-#if !defined(YYERRORSYMBOL) && !defined(YYNOERRORRECOVERY)
- int yyendofinput; /* True if we are at the end of input */
-#endif
-#ifdef YYERRORSYMBOL
- int yyerrorhit = 0; /* True if yymajor has invoked an error */
-#endif
- yyParser *yypParser; /* The parser */
+ case 213: /* decl_struct_args */
+#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7181 "src/parser_proc.c" /* glr.c:846 */
+ break;
- yypParser = (yyParser*)yyp;
- assert( yypParser->yytos!=0 );
-#if !defined(YYERRORSYMBOL) && !defined(YYNOERRORRECOVERY)
- yyendofinput = (yymajor==0);
-#endif
- ParseARG_STORE;
+ case 214: /* struct_args_block */
+#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7187 "src/parser_proc.c" /* glr.c:846 */
+ break;
-#ifndef NDEBUG
- if( yyTraceFILE ){
- fprintf(yyTraceFILE,"%sInput '%s'\n",yyTracePrompt,yyTokenName[yymajor]);
- }
-#endif
+ case 215: /* struct_args */
+#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7193 "src/parser_proc.c" /* glr.c:846 */
+ break;
- do{
- yyact = yy_find_shift_action(yypParser,(YYCODETYPE)yymajor);
- if( yyact <= YY_MAX_SHIFTREDUCE ){
- yy_shift(yypParser,yyact,yymajor,yyminor);
-#ifndef YYNOERRORRECOVERY
- yypParser->yyerrcnt--;
-#endif
- yymajor = YYNOCODE;
- }else if( yyact <= YY_MAX_REDUCE ){
- yy_reduce(yypParser,yyact-YY_MIN_REDUCE);
- }else{
- assert( yyact == YY_ERROR_ACTION );
- yyminorunion.yy0 = yyminor;
-#ifdef YYERRORSYMBOL
- int yymx;
-#endif
-#ifndef NDEBUG
- if( yyTraceFILE ){
- fprintf(yyTraceFILE,"%sSyntax Error!\n",yyTracePrompt);
- }
+ case 216: /* struct_arg_var_list */
+#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7199 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 217: /* decl_vars_with_layout */
+#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7205 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 218: /* decl_enum */
+#line 359 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_enum_free(&(*(struct psi_decl_enum **)(&(*yyvaluep))));}
+#line 7211 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 219: /* decl_enum_items */
+#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7217 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 220: /* decl_enum_item */
+#line 361 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_decl_enum_item_free(&(*(struct psi_decl_enum_item **)(&(*yyvaluep))));}
+#line 7223 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 221: /* num_exp */
+#line 419 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_num_exp_free(&(*(struct psi_num_exp **)(&(*yyvaluep))));}
+#line 7229 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 222: /* number */
+#line 421 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_number_free(&(*(struct psi_number **)(&(*yyvaluep))));}
+#line 7235 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 223: /* sizeof */
+#line 371 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_number_free(&(*(struct psi_number **)(&(*yyvaluep))));}
+#line 7241 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 224: /* sizeof_body */
+#line 371 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_number_free(&(*(struct psi_number **)(&(*yyvaluep))));}
+#line 7247 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 225: /* sizeof_body_notypes */
+#line 371 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_number_free(&(*(struct psi_number **)(&(*yyvaluep))));}
+#line 7253 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 226: /* enum_name */
+#line 309 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7259 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 227: /* union_name */
+#line 309 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7265 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 228: /* struct_name */
+#line 309 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7271 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 229: /* optional_name */
+#line 309 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7277 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 231: /* decl_layout */
+#line 368 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_layout_free(&(*(struct psi_layout **)(&(*yyvaluep))));}
+#line 7283 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 232: /* align_and_size */
+#line 366 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 7289 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 233: /* array_size */
+#line 424 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 7295 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 235: /* indirection */
+#line 424 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 7301 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 236: /* pointers */
+#line 424 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 7307 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 237: /* asterisks */
+#line 424 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 7313 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 240: /* impl */
+#line 374 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_impl_free(&(*(struct psi_impl **)(&(*yyvaluep))));}
+#line 7319 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 241: /* impl_func */
+#line 376 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_impl_func_free(&(*(struct psi_impl_func **)(&(*yyvaluep))));}
+#line 7325 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 242: /* impl_args */
+#line 416 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7331 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 243: /* impl_arg */
+#line 378 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_impl_arg_free(&(*(struct psi_impl_arg **)(&(*yyvaluep))));}
+#line 7337 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 244: /* impl_var */
+#line 382 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_impl_var_free(&(*(struct psi_impl_var **)(&(*yyvaluep))));}
+#line 7343 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 245: /* impl_type */
+#line 380 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_impl_type_free(&(*(struct psi_impl_type **)(&(*yyvaluep))));}
+#line 7349 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 246: /* impl_type_restricted */
+#line 380 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_impl_type_free(&(*(struct psi_impl_type **)(&(*yyvaluep))));}
+#line 7355 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 247: /* impl_type_token */
+#line 414 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7361 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 248: /* impl_type_restricted_token */
+#line 414 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7367 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 249: /* impl_type_extended_token */
+#line 414 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7373 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 250: /* impl_stmts */
+#line 416 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7379 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 251: /* impl_stmt */
+#line 412 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_impl_stmt_free(&(*(struct psi_token ***)(&(*yyvaluep))));}
+#line 7385 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 252: /* let_stmt */
+#line 385 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_let_stmt_free(&(*(struct psi_let_stmt **)(&(*yyvaluep))));}
+#line 7391 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 253: /* let_exp */
+#line 387 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_let_exp_free(&(*(struct psi_let_exp **)(&(*yyvaluep))));}
+#line 7397 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 254: /* let_exp_byref */
+#line 387 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_let_exp_free(&(*(struct psi_let_exp **)(&(*yyvaluep))));}
+#line 7403 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 255: /* let_exp_assign */
+#line 387 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_let_exp_free(&(*(struct psi_let_exp **)(&(*yyvaluep))));}
+#line 7409 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 256: /* let_calloc */
+#line 389 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_let_calloc_free(&(*(struct psi_let_calloc **)(&(*yyvaluep))));}
+#line 7415 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 257: /* let_callback */
+#line 391 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_let_callback_free(&(*(struct psi_let_callback **)(&(*yyvaluep))));}
+#line 7421 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 258: /* let_func */
+#line 393 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_let_func_free(&(*(struct psi_let_func **)(&(*yyvaluep))));}
+#line 7427 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 259: /* let_func_token */
+#line 414 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7433 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 260: /* let_func_exps */
+#line 416 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7439 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 261: /* let_exps */
+#line 416 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7445 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 262: /* callback_rval */
+#line 414 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7451 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 263: /* callback_arg_list */
+#line 416 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7457 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 264: /* callback_args */
+#line 416 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7463 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 265: /* return_stmt */
+#line 403 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_return_stmt_free(&(*(struct psi_return_stmt **)(&(*yyvaluep))));}
+#line 7469 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 266: /* return_exp */
+#line 405 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_return_exp_free(&(*(struct psi_return_exp **)(&(*yyvaluep))));}
+#line 7475 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 267: /* call_decl_vars */
+#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7481 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 268: /* set_stmt */
+#line 395 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_set_stmt_free(&(*(struct psi_set_stmt **)(&(*yyvaluep))));}
+#line 7487 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 269: /* set_exp */
+#line 397 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_set_exp_free(&(*(struct psi_set_exp **)(&(*yyvaluep))));}
+#line 7493 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 270: /* set_func */
+#line 399 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_set_func_free(&(*(struct psi_set_func **)(&(*yyvaluep))));}
+#line 7499 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 271: /* set_func_token */
+#line 414 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7505 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 272: /* set_func_exps */
+#line 416 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7511 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 273: /* set_exps */
+#line 416 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7517 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 274: /* assert_stmt */
+#line 401 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_assert_stmt_free(&(*(struct psi_assert_stmt **)(&(*yyvaluep))));}
+#line 7523 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 275: /* assert_stmt_token */
+#line 414 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
+#line 7529 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 276: /* free_stmt */
+#line 407 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_free_stmt_free(&(*(struct psi_free_stmt **)(&(*yyvaluep))));}
+#line 7535 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 277: /* free_exps */
+#line 416 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
+#line 7541 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 278: /* free_exp */
+#line 409 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {psi_free_exp_free(&(*(struct psi_free_exp **)(&(*yyvaluep))));}
+#line 7547 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+ case 279: /* reference */
+#line 426 "src/parser_proc_grammar.y" /* glr.c:846 */
+ {}
+#line 7553 "src/parser_proc.c" /* glr.c:846 */
+ break;
+
+
+ default:
+ break;
+ }
+ YY_IGNORE_MAYBE_UNINITIALIZED_END
+}
+
+/** Number of symbols composing the right hand side of rule #RULE. */
+static inline int
+yyrhsLength (yyRuleNum yyrule)
+{
+ return yyr2[yyrule];
+}
+
+static void
+yydestroyGLRState (char const *yymsg, yyGLRState *yys, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ if (yys->yyresolved)
+ yydestruct (yymsg, yystos[yys->yylrState],
+ &yys->yysemantics.yysval, P, tokens, index);
+ else
+ {
+#if YYDEBUG
+ if (yydebug)
+ {
+ if (yys->yysemantics.yyfirstVal)
+ YYFPRINTF (stderr, "%s unresolved", yymsg);
+ else
+ YYFPRINTF (stderr, "%s incomplete", yymsg);
+ YY_SYMBOL_PRINT ("", yystos[yys->yylrState], YY_NULLPTR, &yys->yyloc);
+ }
#endif
-#ifdef YYERRORSYMBOL
- /* A syntax error has occurred.
- ** The response to an error depends upon whether or not the
- ** grammar defines an error token "ERROR".
- **
- ** This is what we do if the grammar does define ERROR:
- **
- ** * Call the %syntax_error function.
- **
- ** * Begin popping the stack until we enter a state where
- ** it is legal to shift the error symbol, then shift
- ** the error symbol.
- **
- ** * Set the error count to three.
- **
- ** * Begin accepting and shifting new tokens. No new error
- ** processing will occur until three tokens have been
- ** shifted successfully.
- **
- */
- if( yypParser->yyerrcnt<0 ){
- yy_syntax_error(yypParser,yymajor,yyminor);
- }
- yymx = yypParser->yytos->major;
- if( yymx==YYERRORSYMBOL || yyerrorhit ){
-#ifndef NDEBUG
- if( yyTraceFILE ){
- fprintf(yyTraceFILE,"%sDiscard input token %s\n",
- yyTracePrompt,yyTokenName[yymajor]);
+
+ if (yys->yysemantics.yyfirstVal)
+ {
+ yySemanticOption *yyoption = yys->yysemantics.yyfirstVal;
+ yyGLRState *yyrh;
+ int yyn;
+ for (yyrh = yyoption->yystate, yyn = yyrhsLength (yyoption->yyrule);
+ yyn > 0;
+ yyrh = yyrh->yypred, yyn -= 1)
+ yydestroyGLRState (yymsg, yyrh, P, tokens, index);
}
+ }
+}
+
+/** Left-hand-side symbol for rule #YYRULE. */
+static inline yySymbol
+yylhsNonterm (yyRuleNum yyrule)
+{
+ return yyr1[yyrule];
+}
+
+#define yypact_value_is_default(Yystate) \
+ (!!((Yystate) == (-717)))
+
+/** True iff LR state YYSTATE has only a default reduction (regardless
+ * of token). */
+static inline yybool
+yyisDefaultedState (yyStateNum yystate)
+{
+ return yypact_value_is_default (yypact[yystate]);
+}
+
+/** The default reduction for YYSTATE, assuming it has one. */
+static inline yyRuleNum
+yydefaultAction (yyStateNum yystate)
+{
+ return yydefact[yystate];
+}
+
+#define yytable_value_is_error(Yytable_value) \
+ 0
+
+/** Set *YYACTION to the action to take in YYSTATE on seeing YYTOKEN.
+ * Result R means
+ * R < 0: Reduce on rule -R.
+ * R = 0: Error.
+ * R > 0: Shift to state R.
+ * Set *YYCONFLICTS to a pointer into yyconfl to a 0-terminated list
+ * of conflicting reductions.
+ */
+static inline void
+yygetLRActions (yyStateNum yystate, int yytoken,
+ int* yyaction, const short int** yyconflicts)
+{
+ int yyindex = yypact[yystate] + yytoken;
+ if (yypact_value_is_default (yypact[yystate])
+ || yyindex < 0 || YYLAST < yyindex || yycheck[yyindex] != yytoken)
+ {
+ *yyaction = -yydefact[yystate];
+ *yyconflicts = yyconfl;
+ }
+ else if (! yytable_value_is_error (yytable[yyindex]))
+ {
+ *yyaction = yytable[yyindex];
+ *yyconflicts = yyconfl + yyconflp[yyindex];
+ }
+ else
+ {
+ *yyaction = 0;
+ *yyconflicts = yyconfl + yyconflp[yyindex];
+ }
+}
+
+/** Compute post-reduction state.
+ * \param yystate the current state
+ * \param yysym the nonterminal to push on the stack
+ */
+static inline yyStateNum
+yyLRgotoState (yyStateNum yystate, yySymbol yysym)
+{
+ int yyr = yypgoto[yysym - YYNTOKENS] + yystate;
+ if (0 <= yyr && yyr <= YYLAST && yycheck[yyr] == yystate)
+ return yytable[yyr];
+ else
+ return yydefgoto[yysym - YYNTOKENS];
+}
+
+static inline yybool
+yyisShiftAction (int yyaction)
+{
+ return 0 < yyaction;
+}
+
+static inline yybool
+yyisErrorAction (int yyaction)
+{
+ return yyaction == 0;
+}
+
+ /* GLRStates */
+
+/** Return a fresh GLRStackItem in YYSTACKP. The item is an LR state
+ * if YYISSTATE, and otherwise a semantic option. Callers should call
+ * YY_RESERVE_GLRSTACK afterwards to make sure there is sufficient
+ * headroom. */
+
+static inline yyGLRStackItem*
+yynewGLRStackItem (yyGLRStack* yystackp, yybool yyisState)
+{
+ yyGLRStackItem* yynewItem = yystackp->yynextFree;
+ yystackp->yyspaceLeft -= 1;
+ yystackp->yynextFree += 1;
+ yynewItem->yystate.yyisState = yyisState;
+ return yynewItem;
+}
+
+/** Add a new semantic action that will execute the action for rule
+ * YYRULE on the semantic values in YYRHS to the list of
+ * alternative actions for YYSTATE. Assumes that YYRHS comes from
+ * stack #YYK of *YYSTACKP. */
+static void
+yyaddDeferredAction (yyGLRStack* yystackp, size_t yyk, yyGLRState* yystate,
+ yyGLRState* yyrhs, yyRuleNum yyrule)
+{
+ yySemanticOption* yynewOption =
+ &yynewGLRStackItem (yystackp, yyfalse)->yyoption;
+ YYASSERT (!yynewOption->yyisState);
+ yynewOption->yystate = yyrhs;
+ yynewOption->yyrule = yyrule;
+ if (yystackp->yytops.yylookaheadNeeds[yyk])
+ {
+ yynewOption->yyrawchar = yychar;
+ yynewOption->yyval = yylval;
+ }
+ else
+ yynewOption->yyrawchar = YYEMPTY;
+ yynewOption->yynext = yystate->yysemantics.yyfirstVal;
+ yystate->yysemantics.yyfirstVal = yynewOption;
+
+ YY_RESERVE_GLRSTACK (yystackp);
+}
+
+ /* GLRStacks */
+
+/** Initialize YYSET to a singleton set containing an empty stack. */
+static yybool
+yyinitStateSet (yyGLRStateSet* yyset)
+{
+ yyset->yysize = 1;
+ yyset->yycapacity = 16;
+ yyset->yystates = (yyGLRState**) YYMALLOC (16 * sizeof yyset->yystates[0]);
+ if (! yyset->yystates)
+ return yyfalse;
+ yyset->yystates[0] = YY_NULLPTR;
+ yyset->yylookaheadNeeds =
+ (yybool*) YYMALLOC (16 * sizeof yyset->yylookaheadNeeds[0]);
+ if (! yyset->yylookaheadNeeds)
+ {
+ YYFREE (yyset->yystates);
+ return yyfalse;
+ }
+ return yytrue;
+}
+
+static void yyfreeStateSet (yyGLRStateSet* yyset)
+{
+ YYFREE (yyset->yystates);
+ YYFREE (yyset->yylookaheadNeeds);
+}
+
+/** Initialize *YYSTACKP to a single empty stack, with total maximum
+ * capacity for all stacks of YYSIZE. */
+static yybool
+yyinitGLRStack (yyGLRStack* yystackp, size_t yysize)
+{
+ yystackp->yyerrState = 0;
+ yynerrs = 0;
+ yystackp->yyspaceLeft = yysize;
+ yystackp->yyitems =
+ (yyGLRStackItem*) YYMALLOC (yysize * sizeof yystackp->yynextFree[0]);
+ if (!yystackp->yyitems)
+ return yyfalse;
+ yystackp->yynextFree = yystackp->yyitems;
+ yystackp->yysplitPoint = YY_NULLPTR;
+ yystackp->yylastDeleted = YY_NULLPTR;
+ return yyinitStateSet (&yystackp->yytops);
+}
+
+
+#if YYSTACKEXPANDABLE
+# define YYRELOC(YYFROMITEMS,YYTOITEMS,YYX,YYTYPE) \
+ &((YYTOITEMS) - ((YYFROMITEMS) - (yyGLRStackItem*) (YYX)))->YYTYPE
+
+/** If *YYSTACKP is expandable, extend it. WARNING: Pointers into the
+ stack from outside should be considered invalid after this call.
+ We always expand when there are 1 or fewer items left AFTER an
+ allocation, so that we can avoid having external pointers exist
+ across an allocation. */
+static void
+yyexpandGLRStack (yyGLRStack* yystackp)
+{
+ yyGLRStackItem* yynewItems;
+ yyGLRStackItem* yyp0, *yyp1;
+ size_t yynewSize;
+ size_t yyn;
+ size_t yysize = yystackp->yynextFree - yystackp->yyitems;
+ if (YYMAXDEPTH - YYHEADROOM < yysize)
+ yyMemoryExhausted (yystackp);
+ yynewSize = 2*yysize;
+ if (YYMAXDEPTH < yynewSize)
+ yynewSize = YYMAXDEPTH;
+ yynewItems = (yyGLRStackItem*) YYMALLOC (yynewSize * sizeof yynewItems[0]);
+ if (! yynewItems)
+ yyMemoryExhausted (yystackp);
+ for (yyp0 = yystackp->yyitems, yyp1 = yynewItems, yyn = yysize;
+ 0 < yyn;
+ yyn -= 1, yyp0 += 1, yyp1 += 1)
+ {
+ *yyp1 = *yyp0;
+ if (*(yybool *) yyp0)
+ {
+ yyGLRState* yys0 = &yyp0->yystate;
+ yyGLRState* yys1 = &yyp1->yystate;
+ if (yys0->yypred != YY_NULLPTR)
+ yys1->yypred =
+ YYRELOC (yyp0, yyp1, yys0->yypred, yystate);
+ if (! yys0->yyresolved && yys0->yysemantics.yyfirstVal != YY_NULLPTR)
+ yys1->yysemantics.yyfirstVal =
+ YYRELOC (yyp0, yyp1, yys0->yysemantics.yyfirstVal, yyoption);
+ }
+ else
+ {
+ yySemanticOption* yyv0 = &yyp0->yyoption;
+ yySemanticOption* yyv1 = &yyp1->yyoption;
+ if (yyv0->yystate != YY_NULLPTR)
+ yyv1->yystate = YYRELOC (yyp0, yyp1, yyv0->yystate, yystate);
+ if (yyv0->yynext != YY_NULLPTR)
+ yyv1->yynext = YYRELOC (yyp0, yyp1, yyv0->yynext, yyoption);
+ }
+ }
+ if (yystackp->yysplitPoint != YY_NULLPTR)
+ yystackp->yysplitPoint = YYRELOC (yystackp->yyitems, yynewItems,
+ yystackp->yysplitPoint, yystate);
+
+ for (yyn = 0; yyn < yystackp->yytops.yysize; yyn += 1)
+ if (yystackp->yytops.yystates[yyn] != YY_NULLPTR)
+ yystackp->yytops.yystates[yyn] =
+ YYRELOC (yystackp->yyitems, yynewItems,
+ yystackp->yytops.yystates[yyn], yystate);
+ YYFREE (yystackp->yyitems);
+ yystackp->yyitems = yynewItems;
+ yystackp->yynextFree = yynewItems + yysize;
+ yystackp->yyspaceLeft = yynewSize - yysize;
+}
#endif
- yy_destructor(yypParser, (YYCODETYPE)yymajor, &yyminorunion);
- yymajor = YYNOCODE;
- }else{
- while( yypParser->yytos >= yypParser->yystack
- && yymx != YYERRORSYMBOL
- && (yyact = yy_find_reduce_action(
- yypParser->yytos->stateno,
- YYERRORSYMBOL)) >= YY_MIN_REDUCE
- ){
- yy_pop_parser_stack(yypParser);
+
+static void
+yyfreeGLRStack (yyGLRStack* yystackp)
+{
+ YYFREE (yystackp->yyitems);
+ yyfreeStateSet (&yystackp->yytops);
+}
+
+/** Assuming that YYS is a GLRState somewhere on *YYSTACKP, update the
+ * splitpoint of *YYSTACKP, if needed, so that it is at least as deep as
+ * YYS. */
+static inline void
+yyupdateSplit (yyGLRStack* yystackp, yyGLRState* yys)
+{
+ if (yystackp->yysplitPoint != YY_NULLPTR && yystackp->yysplitPoint > yys)
+ yystackp->yysplitPoint = yys;
+}
+
+/** Invalidate stack #YYK in *YYSTACKP. */
+static inline void
+yymarkStackDeleted (yyGLRStack* yystackp, size_t yyk)
+{
+ if (yystackp->yytops.yystates[yyk] != YY_NULLPTR)
+ yystackp->yylastDeleted = yystackp->yytops.yystates[yyk];
+ yystackp->yytops.yystates[yyk] = YY_NULLPTR;
+}
+
+/** Undelete the last stack in *YYSTACKP that was marked as deleted. Can
+ only be done once after a deletion, and only when all other stacks have
+ been deleted. */
+static void
+yyundeleteLastStack (yyGLRStack* yystackp)
+{
+ if (yystackp->yylastDeleted == YY_NULLPTR || yystackp->yytops.yysize != 0)
+ return;
+ yystackp->yytops.yystates[0] = yystackp->yylastDeleted;
+ yystackp->yytops.yysize = 1;
+ YYDPRINTF ((stderr, "Restoring last deleted stack as stack #0.\n"));
+ yystackp->yylastDeleted = YY_NULLPTR;
+}
+
+static inline void
+yyremoveDeletes (yyGLRStack* yystackp)
+{
+ size_t yyi, yyj;
+ yyi = yyj = 0;
+ while (yyj < yystackp->yytops.yysize)
+ {
+ if (yystackp->yytops.yystates[yyi] == YY_NULLPTR)
+ {
+ if (yyi == yyj)
+ {
+ YYDPRINTF ((stderr, "Removing dead stacks.\n"));
+ }
+ yystackp->yytops.yysize -= 1;
+ }
+ else
+ {
+ yystackp->yytops.yystates[yyj] = yystackp->yytops.yystates[yyi];
+ /* In the current implementation, it's unnecessary to copy
+ yystackp->yytops.yylookaheadNeeds[yyi] since, after
+ yyremoveDeletes returns, the parser immediately either enters
+ deterministic operation or shifts a token. However, it doesn't
+ hurt, and the code might evolve to need it. */
+ yystackp->yytops.yylookaheadNeeds[yyj] =
+ yystackp->yytops.yylookaheadNeeds[yyi];
+ if (yyj != yyi)
+ {
+ YYDPRINTF ((stderr, "Rename stack %lu -> %lu.\n",
+ (unsigned long int) yyi, (unsigned long int) yyj));
+ }
+ yyj += 1;
}
- if( yypParser->yytos < yypParser->yystack || yymajor==0 ){
- yy_destructor(yypParser,(YYCODETYPE)yymajor,&yyminorunion);
- yy_parse_failed(yypParser);
-#ifndef YYNOERRORRECOVERY
- yypParser->yyerrcnt = -1;
+ yyi += 1;
+ }
+}
+
+/** Shift to a new state on stack #YYK of *YYSTACKP, corresponding to LR
+ * state YYLRSTATE, at input position YYPOSN, with (resolved) semantic
+ * value *YYVALP and source location *YYLOCP. */
+static inline void
+yyglrShift (yyGLRStack* yystackp, size_t yyk, yyStateNum yylrState,
+ size_t yyposn,
+ YYSTYPE* yyvalp)
+{
+ yyGLRState* yynewState = &yynewGLRStackItem (yystackp, yytrue)->yystate;
+
+ yynewState->yylrState = yylrState;
+ yynewState->yyposn = yyposn;
+ yynewState->yyresolved = yytrue;
+ yynewState->yypred = yystackp->yytops.yystates[yyk];
+ yynewState->yysemantics.yysval = *yyvalp;
+ yystackp->yytops.yystates[yyk] = yynewState;
+
+ YY_RESERVE_GLRSTACK (yystackp);
+}
+
+/** Shift stack #YYK of *YYSTACKP, to a new state corresponding to LR
+ * state YYLRSTATE, at input position YYPOSN, with the (unresolved)
+ * semantic value of YYRHS under the action for YYRULE. */
+static inline void
+yyglrShiftDefer (yyGLRStack* yystackp, size_t yyk, yyStateNum yylrState,
+ size_t yyposn, yyGLRState* yyrhs, yyRuleNum yyrule)
+{
+ yyGLRState* yynewState = &yynewGLRStackItem (yystackp, yytrue)->yystate;
+ YYASSERT (yynewState->yyisState);
+
+ yynewState->yylrState = yylrState;
+ yynewState->yyposn = yyposn;
+ yynewState->yyresolved = yyfalse;
+ yynewState->yypred = yystackp->yytops.yystates[yyk];
+ yynewState->yysemantics.yyfirstVal = YY_NULLPTR;
+ yystackp->yytops.yystates[yyk] = yynewState;
+
+ /* Invokes YY_RESERVE_GLRSTACK. */
+ yyaddDeferredAction (yystackp, yyk, yynewState, yyrhs, yyrule);
+}
+
+#if !YYDEBUG
+# define YY_REDUCE_PRINT(Args)
+#else
+# define YY_REDUCE_PRINT(Args) \
+do { \
+ if (yydebug) \
+ yy_reduce_print Args; \
+} while (0)
+
+/*----------------------------------------------------------------------.
+| Report that stack #YYK of *YYSTACKP is going to be reduced by YYRULE. |
+`----------------------------------------------------------------------*/
+
+static inline void
+yy_reduce_print (int yynormal, yyGLRStackItem* yyvsp, size_t yyk,
+ yyRuleNum yyrule, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ int yynrhs = yyrhsLength (yyrule);
+ int yyi;
+ YYFPRINTF (stderr, "Reducing stack %lu by rule %d (line %lu):\n",
+ (unsigned long int) yyk, yyrule - 1,
+ (unsigned long int) yyrline[yyrule]);
+ if (! yynormal)
+ yyfillin (yyvsp, 1, -yynrhs);
+ /* The symbols being reduced. */
+ for (yyi = 0; yyi < yynrhs; yyi++)
+ {
+ YYFPRINTF (stderr, " $%d = ", yyi + 1);
+ yy_symbol_print (stderr,
+ yystos[yyvsp[yyi - yynrhs + 1].yystate.yylrState],
+ &yyvsp[yyi - yynrhs + 1].yystate.yysemantics.yysval
+ , P, tokens, index);
+ if (!yyvsp[yyi - yynrhs + 1].yystate.yyresolved)
+ YYFPRINTF (stderr, " (unresolved)");
+ YYFPRINTF (stderr, "\n");
+ }
+}
#endif
- yymajor = YYNOCODE;
- }else if( yymx!=YYERRORSYMBOL ){
- yy_shift(yypParser,yyact,YYERRORSYMBOL,yyminor);
+
+/** Pop the symbols consumed by reduction #YYRULE from the top of stack
+ * #YYK of *YYSTACKP, and perform the appropriate semantic action on their
+ * semantic values. Assumes that all ambiguities in semantic values
+ * have been previously resolved. Set *YYVALP to the resulting value,
+ * and *YYLOCP to the computed location (if any). Return value is as
+ * for userAction. */
+static inline YYRESULTTAG
+yydoAction (yyGLRStack* yystackp, size_t yyk, yyRuleNum yyrule,
+ YYSTYPE* yyvalp, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ int yynrhs = yyrhsLength (yyrule);
+
+ if (yystackp->yysplitPoint == YY_NULLPTR)
+ {
+ /* Standard special case: single stack. */
+ yyGLRStackItem* yyrhs = (yyGLRStackItem*) yystackp->yytops.yystates[yyk];
+ YYASSERT (yyk == 0);
+ yystackp->yynextFree -= yynrhs;
+ yystackp->yyspaceLeft += yynrhs;
+ yystackp->yytops.yystates[0] = & yystackp->yynextFree[-1].yystate;
+ YY_REDUCE_PRINT ((1, yyrhs, yyk, yyrule, P, tokens, index));
+ return yyuserAction (yyrule, yynrhs, yyrhs, yystackp,
+ yyvalp, P, tokens, index);
+ }
+ else
+ {
+ int yyi;
+ yyGLRState* yys;
+ yyGLRStackItem yyrhsVals[YYMAXRHS + YYMAXLEFT + 1];
+ yys = yyrhsVals[YYMAXRHS + YYMAXLEFT].yystate.yypred
+ = yystackp->yytops.yystates[yyk];
+ for (yyi = 0; yyi < yynrhs; yyi += 1)
+ {
+ yys = yys->yypred;
+ YYASSERT (yys);
}
- }
- yypParser->yyerrcnt = 3;
- yyerrorhit = 1;
-#elif defined(YYNOERRORRECOVERY)
- /* If the YYNOERRORRECOVERY macro is defined, then do not attempt to
- ** do any kind of error recovery. Instead, simply invoke the syntax
- ** error routine and continue going as if nothing had happened.
- **
- ** Applications can set this macro (for example inside %include) if
- ** they intend to abandon the parse upon the first syntax error seen.
- */
- yy_syntax_error(yypParser,yymajor, yyminor);
- yy_destructor(yypParser,(YYCODETYPE)yymajor,&yyminorunion);
- yymajor = YYNOCODE;
-
-#else /* YYERRORSYMBOL is not defined */
- /* This is what we do if the grammar does not define ERROR:
- **
- ** * Report an error message, and throw away the input token.
- **
- ** * If the input token is $, then fail the parse.
- **
- ** As before, subsequent error messages are suppressed until
- ** three input tokens have been successfully shifted.
- */
- if( yypParser->yyerrcnt<=0 ){
- yy_syntax_error(yypParser,yymajor, yyminor);
- }
- yypParser->yyerrcnt = 3;
- yy_destructor(yypParser,(YYCODETYPE)yymajor,&yyminorunion);
- if( yyendofinput ){
- yy_parse_failed(yypParser);
-#ifndef YYNOERRORRECOVERY
- yypParser->yyerrcnt = -1;
+ yyupdateSplit (yystackp, yys);
+ yystackp->yytops.yystates[yyk] = yys;
+ YY_REDUCE_PRINT ((0, yyrhsVals + YYMAXRHS + YYMAXLEFT - 1, yyk, yyrule, P, tokens, index));
+ return yyuserAction (yyrule, yynrhs, yyrhsVals + YYMAXRHS + YYMAXLEFT - 1,
+ yystackp, yyvalp, P, tokens, index);
+ }
+}
+
+/** Pop items off stack #YYK of *YYSTACKP according to grammar rule YYRULE,
+ * and push back on the resulting nonterminal symbol. Perform the
+ * semantic action associated with YYRULE and store its value with the
+ * newly pushed state, if YYFORCEEVAL or if *YYSTACKP is currently
+ * unambiguous. Otherwise, store the deferred semantic action with
+ * the new state. If the new state would have an identical input
+ * position, LR state, and predecessor to an existing state on the stack,
+ * it is identified with that existing state, eliminating stack #YYK from
+ * *YYSTACKP. In this case, the semantic value is
+ * added to the options for the existing state's semantic value.
+ */
+static inline YYRESULTTAG
+yyglrReduce (yyGLRStack* yystackp, size_t yyk, yyRuleNum yyrule,
+ yybool yyforceEval, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ size_t yyposn = yystackp->yytops.yystates[yyk]->yyposn;
+
+ if (yyforceEval || yystackp->yysplitPoint == YY_NULLPTR)
+ {
+ YYSTYPE yysval;
+
+ YYRESULTTAG yyflag = yydoAction (yystackp, yyk, yyrule, &yysval, P, tokens, index);
+ if (yyflag == yyerr && yystackp->yysplitPoint != YY_NULLPTR)
+ {
+ YYDPRINTF ((stderr, "Parse on stack %lu rejected by rule #%d.\n",
+ (unsigned long int) yyk, yyrule - 1));
+ }
+ if (yyflag != yyok)
+ return yyflag;
+ YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyrule], &yysval, &yyloc);
+ yyglrShift (yystackp, yyk,
+ yyLRgotoState (yystackp->yytops.yystates[yyk]->yylrState,
+ yylhsNonterm (yyrule)),
+ yyposn, &yysval);
+ }
+ else
+ {
+ size_t yyi;
+ int yyn;
+ yyGLRState* yys, *yys0 = yystackp->yytops.yystates[yyk];
+ yyStateNum yynewLRState;
+
+ for (yys = yystackp->yytops.yystates[yyk], yyn = yyrhsLength (yyrule);
+ 0 < yyn; yyn -= 1)
+ {
+ yys = yys->yypred;
+ YYASSERT (yys);
+ }
+ yyupdateSplit (yystackp, yys);
+ yynewLRState = yyLRgotoState (yys->yylrState, yylhsNonterm (yyrule));
+ YYDPRINTF ((stderr,
+ "Reduced stack %lu by rule #%d; action deferred. "
+ "Now in state %d.\n",
+ (unsigned long int) yyk, yyrule - 1, yynewLRState));
+ for (yyi = 0; yyi < yystackp->yytops.yysize; yyi += 1)
+ if (yyi != yyk && yystackp->yytops.yystates[yyi] != YY_NULLPTR)
+ {
+ yyGLRState *yysplit = yystackp->yysplitPoint;
+ yyGLRState *yyp = yystackp->yytops.yystates[yyi];
+ while (yyp != yys && yyp != yysplit && yyp->yyposn >= yyposn)
+ {
+ if (yyp->yylrState == yynewLRState && yyp->yypred == yys)
+ {
+ yyaddDeferredAction (yystackp, yyk, yyp, yys0, yyrule);
+ yymarkStackDeleted (yystackp, yyk);
+ YYDPRINTF ((stderr, "Merging stack %lu into stack %lu.\n",
+ (unsigned long int) yyk,
+ (unsigned long int) yyi));
+ return yyok;
+ }
+ yyp = yyp->yypred;
+ }
+ }
+ yystackp->yytops.yystates[yyk] = yys;
+ yyglrShiftDefer (yystackp, yyk, yynewLRState, yyposn, yys0, yyrule);
+ }
+ return yyok;
+}
+
+static size_t
+yysplitStack (yyGLRStack* yystackp, size_t yyk)
+{
+ if (yystackp->yysplitPoint == YY_NULLPTR)
+ {
+ YYASSERT (yyk == 0);
+ yystackp->yysplitPoint = yystackp->yytops.yystates[yyk];
+ }
+ if (yystackp->yytops.yysize >= yystackp->yytops.yycapacity)
+ {
+ yyGLRState** yynewStates;
+ yybool* yynewLookaheadNeeds;
+
+ yynewStates = YY_NULLPTR;
+
+ if (yystackp->yytops.yycapacity
+ > (YYSIZEMAX / (2 * sizeof yynewStates[0])))
+ yyMemoryExhausted (yystackp);
+ yystackp->yytops.yycapacity *= 2;
+
+ yynewStates =
+ (yyGLRState**) YYREALLOC (yystackp->yytops.yystates,
+ (yystackp->yytops.yycapacity
+ * sizeof yynewStates[0]));
+ if (yynewStates == YY_NULLPTR)
+ yyMemoryExhausted (yystackp);
+ yystackp->yytops.yystates = yynewStates;
+
+ yynewLookaheadNeeds =
+ (yybool*) YYREALLOC (yystackp->yytops.yylookaheadNeeds,
+ (yystackp->yytops.yycapacity
+ * sizeof yynewLookaheadNeeds[0]));
+ if (yynewLookaheadNeeds == YY_NULLPTR)
+ yyMemoryExhausted (yystackp);
+ yystackp->yytops.yylookaheadNeeds = yynewLookaheadNeeds;
+ }
+ yystackp->yytops.yystates[yystackp->yytops.yysize]
+ = yystackp->yytops.yystates[yyk];
+ yystackp->yytops.yylookaheadNeeds[yystackp->yytops.yysize]
+ = yystackp->yytops.yylookaheadNeeds[yyk];
+ yystackp->yytops.yysize += 1;
+ return yystackp->yytops.yysize-1;
+}
+
+/** True iff YYY0 and YYY1 represent identical options at the top level.
+ * That is, they represent the same rule applied to RHS symbols
+ * that produce the same terminal symbols. */
+static yybool
+yyidenticalOptions (yySemanticOption* yyy0, yySemanticOption* yyy1)
+{
+ if (yyy0->yyrule == yyy1->yyrule)
+ {
+ yyGLRState *yys0, *yys1;
+ int yyn;
+ for (yys0 = yyy0->yystate, yys1 = yyy1->yystate,
+ yyn = yyrhsLength (yyy0->yyrule);
+ yyn > 0;
+ yys0 = yys0->yypred, yys1 = yys1->yypred, yyn -= 1)
+ if (yys0->yyposn != yys1->yyposn)
+ return yyfalse;
+ return yytrue;
+ }
+ else
+ return yyfalse;
+}
+
+/** Assuming identicalOptions (YYY0,YYY1), destructively merge the
+ * alternative semantic values for the RHS-symbols of YYY1 and YYY0. */
+static void
+yymergeOptionSets (yySemanticOption* yyy0, yySemanticOption* yyy1)
+{
+ yyGLRState *yys0, *yys1;
+ int yyn;
+ for (yys0 = yyy0->yystate, yys1 = yyy1->yystate,
+ yyn = yyrhsLength (yyy0->yyrule);
+ yyn > 0;
+ yys0 = yys0->yypred, yys1 = yys1->yypred, yyn -= 1)
+ {
+ if (yys0 == yys1)
+ break;
+ else if (yys0->yyresolved)
+ {
+ yys1->yyresolved = yytrue;
+ yys1->yysemantics.yysval = yys0->yysemantics.yysval;
+ }
+ else if (yys1->yyresolved)
+ {
+ yys0->yyresolved = yytrue;
+ yys0->yysemantics.yysval = yys1->yysemantics.yysval;
+ }
+ else
+ {
+ yySemanticOption** yyz0p = &yys0->yysemantics.yyfirstVal;
+ yySemanticOption* yyz1 = yys1->yysemantics.yyfirstVal;
+ while (yytrue)
+ {
+ if (yyz1 == *yyz0p || yyz1 == YY_NULLPTR)
+ break;
+ else if (*yyz0p == YY_NULLPTR)
+ {
+ *yyz0p = yyz1;
+ break;
+ }
+ else if (*yyz0p < yyz1)
+ {
+ yySemanticOption* yyz = *yyz0p;
+ *yyz0p = yyz1;
+ yyz1 = yyz1->yynext;
+ (*yyz0p)->yynext = yyz;
+ }
+ yyz0p = &(*yyz0p)->yynext;
+ }
+ yys1->yysemantics.yyfirstVal = yys0->yysemantics.yyfirstVal;
+ }
+ }
+}
+
+/** Y0 and Y1 represent two possible actions to take in a given
+ * parsing state; return 0 if no combination is possible,
+ * 1 if user-mergeable, 2 if Y0 is preferred, 3 if Y1 is preferred. */
+static int
+yypreference (yySemanticOption* y0, yySemanticOption* y1)
+{
+ yyRuleNum r0 = y0->yyrule, r1 = y1->yyrule;
+ int p0 = yydprec[r0], p1 = yydprec[r1];
+
+ if (p0 == p1)
+ {
+ if (yymerger[r0] == 0 || yymerger[r0] != yymerger[r1])
+ return 0;
+ else
+ return 1;
+ }
+ if (p0 == 0 || p1 == 0)
+ return 0;
+ if (p0 < p1)
+ return 3;
+ if (p1 < p0)
+ return 2;
+ return 0;
+}
+
+static YYRESULTTAG yyresolveValue (yyGLRState* yys,
+ yyGLRStack* yystackp, struct psi_parser *P, struct psi_plist *tokens, size_t *index);
+
+
+/** Resolve the previous YYN states starting at and including state YYS
+ * on *YYSTACKP. If result != yyok, some states may have been left
+ * unresolved possibly with empty semantic option chains. Regardless
+ * of whether result = yyok, each state has been left with consistent
+ * data so that yydestroyGLRState can be invoked if necessary. */
+static YYRESULTTAG
+yyresolveStates (yyGLRState* yys, int yyn,
+ yyGLRStack* yystackp, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ if (0 < yyn)
+ {
+ YYASSERT (yys->yypred);
+ YYCHK (yyresolveStates (yys->yypred, yyn-1, yystackp, P, tokens, index));
+ if (! yys->yyresolved)
+ YYCHK (yyresolveValue (yys, yystackp, P, tokens, index));
+ }
+ return yyok;
+}
+
+/** Resolve the states for the RHS of YYOPT on *YYSTACKP, perform its
+ * user action, and return the semantic value and location in *YYVALP
+ * and *YYLOCP. Regardless of whether result = yyok, all RHS states
+ * have been destroyed (assuming the user action destroys all RHS
+ * semantic values if invoked). */
+static YYRESULTTAG
+yyresolveAction (yySemanticOption* yyopt, yyGLRStack* yystackp,
+ YYSTYPE* yyvalp, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ yyGLRStackItem yyrhsVals[YYMAXRHS + YYMAXLEFT + 1];
+ int yynrhs = yyrhsLength (yyopt->yyrule);
+ YYRESULTTAG yyflag =
+ yyresolveStates (yyopt->yystate, yynrhs, yystackp, P, tokens, index);
+ if (yyflag != yyok)
+ {
+ yyGLRState *yys;
+ for (yys = yyopt->yystate; yynrhs > 0; yys = yys->yypred, yynrhs -= 1)
+ yydestroyGLRState ("Cleanup: popping", yys, P, tokens, index);
+ return yyflag;
+ }
+
+ yyrhsVals[YYMAXRHS + YYMAXLEFT].yystate.yypred = yyopt->yystate;
+ {
+ int yychar_current = yychar;
+ YYSTYPE yylval_current = yylval;
+ yychar = yyopt->yyrawchar;
+ yylval = yyopt->yyval;
+ yyflag = yyuserAction (yyopt->yyrule, yynrhs,
+ yyrhsVals + YYMAXRHS + YYMAXLEFT - 1,
+ yystackp, yyvalp, P, tokens, index);
+ yychar = yychar_current;
+ yylval = yylval_current;
+ }
+ return yyflag;
+}
+
+#if YYDEBUG
+static void
+yyreportTree (yySemanticOption* yyx, int yyindent)
+{
+ int yynrhs = yyrhsLength (yyx->yyrule);
+ int yyi;
+ yyGLRState* yys;
+ yyGLRState* yystates[1 + YYMAXRHS];
+ yyGLRState yyleftmost_state;
+
+ for (yyi = yynrhs, yys = yyx->yystate; 0 < yyi; yyi -= 1, yys = yys->yypred)
+ yystates[yyi] = yys;
+ if (yys == YY_NULLPTR)
+ {
+ yyleftmost_state.yyposn = 0;
+ yystates[0] = &yyleftmost_state;
+ }
+ else
+ yystates[0] = yys;
+
+ if (yyx->yystate->yyposn < yys->yyposn + 1)
+ YYFPRINTF (stderr, "%*s%s -> <Rule %d, empty>\n",
+ yyindent, "", yytokenName (yylhsNonterm (yyx->yyrule)),
+ yyx->yyrule - 1);
+ else
+ YYFPRINTF (stderr, "%*s%s -> <Rule %d, tokens %lu .. %lu>\n",
+ yyindent, "", yytokenName (yylhsNonterm (yyx->yyrule)),
+ yyx->yyrule - 1, (unsigned long int) (yys->yyposn + 1),
+ (unsigned long int) yyx->yystate->yyposn);
+ for (yyi = 1; yyi <= yynrhs; yyi += 1)
+ {
+ if (yystates[yyi]->yyresolved)
+ {
+ if (yystates[yyi-1]->yyposn+1 > yystates[yyi]->yyposn)
+ YYFPRINTF (stderr, "%*s%s <empty>\n", yyindent+2, "",
+ yytokenName (yystos[yystates[yyi]->yylrState]));
+ else
+ YYFPRINTF (stderr, "%*s%s <tokens %lu .. %lu>\n", yyindent+2, "",
+ yytokenName (yystos[yystates[yyi]->yylrState]),
+ (unsigned long int) (yystates[yyi-1]->yyposn + 1),
+ (unsigned long int) yystates[yyi]->yyposn);
+ }
+ else
+ yyreportTree (yystates[yyi]->yysemantics.yyfirstVal, yyindent+2);
+ }
+}
#endif
- }
- yymajor = YYNOCODE;
+
+static YYRESULTTAG
+yyreportAmbiguity (yySemanticOption* yyx0,
+ yySemanticOption* yyx1, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ YYUSE (yyx0);
+ YYUSE (yyx1);
+
+#if YYDEBUG
+ YYFPRINTF (stderr, "Ambiguity detected.\n");
+ YYFPRINTF (stderr, "Option 1,\n");
+ yyreportTree (yyx0, 2);
+ YYFPRINTF (stderr, "\nOption 2,\n");
+ yyreportTree (yyx1, 2);
+ YYFPRINTF (stderr, "\n");
#endif
+
+ yyerror (P, tokens, index, YY_("syntax is ambiguous"));
+ return yyabort;
+}
+
+/** Resolve the ambiguity represented in state YYS in *YYSTACKP,
+ * perform the indicated actions, and set the semantic value of YYS.
+ * If result != yyok, the chain of semantic options in YYS has been
+ * cleared instead or it has been left unmodified except that
+ * redundant options may have been removed. Regardless of whether
+ * result = yyok, YYS has been left with consistent data so that
+ * yydestroyGLRState can be invoked if necessary. */
+static YYRESULTTAG
+yyresolveValue (yyGLRState* yys, yyGLRStack* yystackp, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ yySemanticOption* yyoptionList = yys->yysemantics.yyfirstVal;
+ yySemanticOption* yybest = yyoptionList;
+ yySemanticOption** yypp;
+ yybool yymerge = yyfalse;
+ YYSTYPE yysval;
+ YYRESULTTAG yyflag;
+
+ for (yypp = &yyoptionList->yynext; *yypp != YY_NULLPTR; )
+ {
+ yySemanticOption* yyp = *yypp;
+
+ if (yyidenticalOptions (yybest, yyp))
+ {
+ yymergeOptionSets (yybest, yyp);
+ *yypp = yyp->yynext;
+ }
+ else
+ {
+ switch (yypreference (yybest, yyp))
+ {
+ case 0:
+ return yyreportAmbiguity (yybest, yyp, P, tokens, index);
+ break;
+ case 1:
+ yymerge = yytrue;
+ break;
+ case 2:
+ break;
+ case 3:
+ yybest = yyp;
+ yymerge = yyfalse;
+ break;
+ default:
+ /* This cannot happen so it is not worth a YYASSERT (yyfalse),
+ but some compilers complain if the default case is
+ omitted. */
+ break;
+ }
+ yypp = &yyp->yynext;
+ }
+ }
+
+ if (yymerge)
+ {
+ yySemanticOption* yyp;
+ int yyprec = yydprec[yybest->yyrule];
+ yyflag = yyresolveAction (yybest, yystackp, &yysval, P, tokens, index);
+ if (yyflag == yyok)
+ for (yyp = yybest->yynext; yyp != YY_NULLPTR; yyp = yyp->yynext)
+ {
+ if (yyprec == yydprec[yyp->yyrule])
+ {
+ YYSTYPE yysval_other;
+ yyflag = yyresolveAction (yyp, yystackp, &yysval_other, P, tokens, index);
+ if (yyflag != yyok)
+ {
+ yydestruct ("Cleanup: discarding incompletely merged value for",
+ yystos[yys->yylrState],
+ &yysval, P, tokens, index);
+ break;
+ }
+ yyuserMerge (yymerger[yyp->yyrule], &yysval, &yysval_other);
+ }
+ }
+ }
+ else
+ yyflag = yyresolveAction (yybest, yystackp, &yysval, P, tokens, index);
+
+ if (yyflag == yyok)
+ {
+ yys->yyresolved = yytrue;
+ yys->yysemantics.yysval = yysval;
+ }
+ else
+ yys->yysemantics.yyfirstVal = YY_NULLPTR;
+ return yyflag;
+}
+
+static YYRESULTTAG
+yyresolveStack (yyGLRStack* yystackp, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ if (yystackp->yysplitPoint != YY_NULLPTR)
+ {
+ yyGLRState* yys;
+ int yyn;
+
+ for (yyn = 0, yys = yystackp->yytops.yystates[0];
+ yys != yystackp->yysplitPoint;
+ yys = yys->yypred, yyn += 1)
+ continue;
+ YYCHK (yyresolveStates (yystackp->yytops.yystates[0], yyn, yystackp
+ , P, tokens, index));
+ }
+ return yyok;
+}
+
+static void
+yycompressStack (yyGLRStack* yystackp)
+{
+ yyGLRState* yyp, *yyq, *yyr;
+
+ if (yystackp->yytops.yysize != 1 || yystackp->yysplitPoint == YY_NULLPTR)
+ return;
+
+ for (yyp = yystackp->yytops.yystates[0], yyq = yyp->yypred, yyr = YY_NULLPTR;
+ yyp != yystackp->yysplitPoint;
+ yyr = yyp, yyp = yyq, yyq = yyp->yypred)
+ yyp->yypred = yyr;
+
+ yystackp->yyspaceLeft += yystackp->yynextFree - yystackp->yyitems;
+ yystackp->yynextFree = ((yyGLRStackItem*) yystackp->yysplitPoint) + 1;
+ yystackp->yyspaceLeft -= yystackp->yynextFree - yystackp->yyitems;
+ yystackp->yysplitPoint = YY_NULLPTR;
+ yystackp->yylastDeleted = YY_NULLPTR;
+
+ while (yyr != YY_NULLPTR)
+ {
+ yystackp->yynextFree->yystate = *yyr;
+ yyr = yyr->yypred;
+ yystackp->yynextFree->yystate.yypred = &yystackp->yynextFree[-1].yystate;
+ yystackp->yytops.yystates[0] = &yystackp->yynextFree->yystate;
+ yystackp->yynextFree += 1;
+ yystackp->yyspaceLeft -= 1;
+ }
+}
+
+static YYRESULTTAG
+yyprocessOneStack (yyGLRStack* yystackp, size_t yyk,
+ size_t yyposn, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ while (yystackp->yytops.yystates[yyk] != YY_NULLPTR)
+ {
+ yyStateNum yystate = yystackp->yytops.yystates[yyk]->yylrState;
+ YYDPRINTF ((stderr, "Stack %lu Entering state %d\n",
+ (unsigned long int) yyk, yystate));
+
+ YYASSERT (yystate != YYFINAL);
+
+ if (yyisDefaultedState (yystate))
+ {
+ YYRESULTTAG yyflag;
+ yyRuleNum yyrule = yydefaultAction (yystate);
+ if (yyrule == 0)
+ {
+ YYDPRINTF ((stderr, "Stack %lu dies.\n",
+ (unsigned long int) yyk));
+ yymarkStackDeleted (yystackp, yyk);
+ return yyok;
+ }
+ yyflag = yyglrReduce (yystackp, yyk, yyrule, yyimmediate[yyrule], P, tokens, index);
+ if (yyflag == yyerr)
+ {
+ YYDPRINTF ((stderr,
+ "Stack %lu dies "
+ "(predicate failure or explicit user error).\n",
+ (unsigned long int) yyk));
+ yymarkStackDeleted (yystackp, yyk);
+ return yyok;
+ }
+ if (yyflag != yyok)
+ return yyflag;
+ }
+ else
+ {
+ yySymbol yytoken;
+ int yyaction;
+ const short int* yyconflicts;
+
+ yystackp->yytops.yylookaheadNeeds[yyk] = yytrue;
+ if (yychar == YYEMPTY)
+ {
+ YYDPRINTF ((stderr, "Reading a token: "));
+ yychar = yylex (&yylval, P, tokens, index);
+ }
+
+ if (yychar <= YYEOF)
+ {
+ yychar = yytoken = YYEOF;
+ YYDPRINTF ((stderr, "Now at end of input.\n"));
+ }
+ else
+ {
+ yytoken = YYTRANSLATE (yychar);
+ YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
+ }
+
+ yygetLRActions (yystate, yytoken, &yyaction, &yyconflicts);
+
+ while (*yyconflicts != 0)
+ {
+ YYRESULTTAG yyflag;
+ size_t yynewStack = yysplitStack (yystackp, yyk);
+ YYDPRINTF ((stderr, "Splitting off stack %lu from %lu.\n",
+ (unsigned long int) yynewStack,
+ (unsigned long int) yyk));
+ yyflag = yyglrReduce (yystackp, yynewStack,
+ *yyconflicts,
+ yyimmediate[*yyconflicts], P, tokens, index);
+ if (yyflag == yyok)
+ YYCHK (yyprocessOneStack (yystackp, yynewStack,
+ yyposn, P, tokens, index));
+ else if (yyflag == yyerr)
+ {
+ YYDPRINTF ((stderr, "Stack %lu dies.\n",
+ (unsigned long int) yynewStack));
+ yymarkStackDeleted (yystackp, yynewStack);
+ }
+ else
+ return yyflag;
+ yyconflicts += 1;
+ }
+
+ if (yyisShiftAction (yyaction))
+ break;
+ else if (yyisErrorAction (yyaction))
+ {
+ YYDPRINTF ((stderr, "Stack %lu dies.\n",
+ (unsigned long int) yyk));
+ yymarkStackDeleted (yystackp, yyk);
+ break;
+ }
+ else
+ {
+ YYRESULTTAG yyflag = yyglrReduce (yystackp, yyk, -yyaction,
+ yyimmediate[-yyaction], P, tokens, index);
+ if (yyflag == yyerr)
+ {
+ YYDPRINTF ((stderr,
+ "Stack %lu dies "
+ "(predicate failure or explicit user error).\n",
+ (unsigned long int) yyk));
+ yymarkStackDeleted (yystackp, yyk);
+ break;
+ }
+ else if (yyflag != yyok)
+ return yyflag;
+ }
+ }
+ }
+ return yyok;
+}
+
+static void
+yyreportSyntaxError (yyGLRStack* yystackp, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ if (yystackp->yyerrState != 0)
+ return;
+#if ! YYERROR_VERBOSE
+ yyerror (P, tokens, index, YY_("syntax error"));
+#else
+ {
+ yySymbol yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar);
+ size_t yysize0 = yytnamerr (YY_NULLPTR, yytokenName (yytoken));
+ size_t yysize = yysize0;
+ yybool yysize_overflow = yyfalse;
+ char* yymsg = YY_NULLPTR;
+ enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
+ /* Internationalized format string. */
+ const char *yyformat = YY_NULLPTR;
+ /* Arguments of yyformat. */
+ char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
+ /* Number of reported tokens (one for the "unexpected", one per
+ "expected"). */
+ int yycount = 0;
+
+ /* There are many possibilities here to consider:
+ - If this state is a consistent state with a default action, then
+ the only way this function was invoked is if the default action
+ is an error action. In that case, don't check for expected
+ tokens because there are none.
+ - The only way there can be no lookahead present (in yychar) is if
+ this state is a consistent state with a default action. Thus,
+ detecting the absence of a lookahead is sufficient to determine
+ that there is no unexpected or expected token to report. In that
+ case, just report a simple "syntax error".
+ - Don't assume there isn't a lookahead just because this state is a
+ consistent state with a default action. There might have been a
+ previous inconsistent state, consistent state with a non-default
+ action, or user semantic action that manipulated yychar.
+ - Of course, the expected token list depends on states to have
+ correct lookahead information, and it depends on the parser not
+ to perform extra reductions after fetching a lookahead from the
+ scanner and before detecting a syntax error. Thus, state merging
+ (from LALR or IELR) and default reductions corrupt the expected
+ token list. However, the list is correct for canonical LR with
+ one exception: it will still contain any token that will not be
+ accepted due to an error action in a later state.
+ */
+ if (yytoken != YYEMPTY)
+ {
+ int yyn = yypact[yystackp->yytops.yystates[0]->yylrState];
+ yyarg[yycount++] = yytokenName (yytoken);
+ if (!yypact_value_is_default (yyn))
+ {
+ /* Start YYX at -YYN if negative to avoid negative indexes in
+ YYCHECK. In other words, skip the first -YYN actions for this
+ state because they are default actions. */
+ int yyxbegin = yyn < 0 ? -yyn : 0;
+ /* Stay within bounds of both yycheck and yytname. */
+ int yychecklim = YYLAST - yyn + 1;
+ int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
+ int yyx;
+ for (yyx = yyxbegin; yyx < yyxend; ++yyx)
+ if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR
+ && !yytable_value_is_error (yytable[yyx + yyn]))
+ {
+ if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
+ {
+ yycount = 1;
+ yysize = yysize0;
+ break;
+ }
+ yyarg[yycount++] = yytokenName (yyx);
+ {
+ size_t yysz = yysize + yytnamerr (YY_NULLPTR, yytokenName (yyx));
+ yysize_overflow |= yysz < yysize;
+ yysize = yysz;
+ }
+ }
+ }
}
- }while( yymajor!=YYNOCODE && yypParser->yytos>yypParser->yystack );
-#ifndef NDEBUG
- if( yyTraceFILE ){
- yyStackEntry *i;
- char cDiv = '[';
- fprintf(yyTraceFILE,"%sReturn. Stack=",yyTracePrompt);
- for(i=&yypParser->yystack[1]; i<=yypParser->yytos; i++){
- fprintf(yyTraceFILE,"%c%s", cDiv, yyTokenName[i->major]);
- cDiv = ' ';
+
+ switch (yycount)
+ {
+#define YYCASE_(N, S) \
+ case N: \
+ yyformat = S; \
+ break
+ YYCASE_(0, YY_("syntax error"));
+ YYCASE_(1, YY_("syntax error, unexpected %s"));
+ YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
+ YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
+ YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
+ YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
+#undef YYCASE_
}
- fprintf(yyTraceFILE,"]\n");
+
+ {
+ size_t yysz = yysize + strlen (yyformat);
+ yysize_overflow |= yysz < yysize;
+ yysize = yysz;
}
+
+ if (!yysize_overflow)
+ yymsg = (char *) YYMALLOC (yysize);
+
+ if (yymsg)
+ {
+ char *yyp = yymsg;
+ int yyi = 0;
+ while ((*yyp = *yyformat))
+ {
+ if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
+ {
+ yyp += yytnamerr (yyp, yyarg[yyi++]);
+ yyformat += 2;
+ }
+ else
+ {
+ yyp++;
+ yyformat++;
+ }
+ }
+ yyerror (P, tokens, index, yymsg);
+ YYFREE (yymsg);
+ }
+ else
+ {
+ yyerror (P, tokens, index, YY_("syntax error"));
+ yyMemoryExhausted (yystackp);
+ }
+ }
+#endif /* YYERROR_VERBOSE */
+ yynerrs += 1;
+}
+
+/* Recover from a syntax error on *YYSTACKP, assuming that *YYSTACKP->YYTOKENP,
+ yylval, and yylloc are the syntactic category, semantic value, and location
+ of the lookahead. */
+static void
+yyrecoverSyntaxError (yyGLRStack* yystackp, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ size_t yyk;
+ int yyj;
+
+ if (yystackp->yyerrState == 3)
+ /* We just shifted the error token and (perhaps) took some
+ reductions. Skip tokens until we can proceed. */
+ while (yytrue)
+ {
+ yySymbol yytoken;
+ if (yychar == YYEOF)
+ yyFail (yystackp, P, tokens, index, YY_NULLPTR);
+ if (yychar != YYEMPTY)
+ {
+ yytoken = YYTRANSLATE (yychar);
+ yydestruct ("Error: discarding",
+ yytoken, &yylval, P, tokens, index);
+ }
+ YYDPRINTF ((stderr, "Reading a token: "));
+ yychar = yylex (&yylval, P, tokens, index);
+ if (yychar <= YYEOF)
+ {
+ yychar = yytoken = YYEOF;
+ YYDPRINTF ((stderr, "Now at end of input.\n"));
+ }
+ else
+ {
+ yytoken = YYTRANSLATE (yychar);
+ YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
+ }
+ yyj = yypact[yystackp->yytops.yystates[0]->yylrState];
+ if (yypact_value_is_default (yyj))
+ return;
+ yyj += yytoken;
+ if (yyj < 0 || YYLAST < yyj || yycheck[yyj] != yytoken)
+ {
+ if (yydefact[yystackp->yytops.yystates[0]->yylrState] != 0)
+ return;
+ }
+ else if (! yytable_value_is_error (yytable[yyj]))
+ return;
+ }
+
+ /* Reduce to one stack. */
+ for (yyk = 0; yyk < yystackp->yytops.yysize; yyk += 1)
+ if (yystackp->yytops.yystates[yyk] != YY_NULLPTR)
+ break;
+ if (yyk >= yystackp->yytops.yysize)
+ yyFail (yystackp, P, tokens, index, YY_NULLPTR);
+ for (yyk += 1; yyk < yystackp->yytops.yysize; yyk += 1)
+ yymarkStackDeleted (yystackp, yyk);
+ yyremoveDeletes (yystackp);
+ yycompressStack (yystackp);
+
+ /* Now pop stack until we find a state that shifts the error token. */
+ yystackp->yyerrState = 3;
+ while (yystackp->yytops.yystates[0] != YY_NULLPTR)
+ {
+ yyGLRState *yys = yystackp->yytops.yystates[0];
+ yyj = yypact[yys->yylrState];
+ if (! yypact_value_is_default (yyj))
+ {
+ yyj += YYTERROR;
+ if (0 <= yyj && yyj <= YYLAST && yycheck[yyj] == YYTERROR
+ && yyisShiftAction (yytable[yyj]))
+ {
+ /* Shift the error token. */
+ YY_SYMBOL_PRINT ("Shifting", yystos[yytable[yyj]],
+ &yylval, &yyerrloc);
+ yyglrShift (yystackp, 0, yytable[yyj],
+ yys->yyposn, &yylval);
+ yys = yystackp->yytops.yystates[0];
+ break;
+ }
+ }
+ if (yys->yypred != YY_NULLPTR)
+ yydestroyGLRState ("Error: popping", yys, P, tokens, index);
+ yystackp->yytops.yystates[0] = yys->yypred;
+ yystackp->yynextFree -= 1;
+ yystackp->yyspaceLeft += 1;
+ }
+ if (yystackp->yytops.yystates[0] == YY_NULLPTR)
+ yyFail (yystackp, P, tokens, index, YY_NULLPTR);
+}
+
+#define YYCHK1(YYE) \
+ do { \
+ switch (YYE) { \
+ case yyok: \
+ break; \
+ case yyabort: \
+ goto yyabortlab; \
+ case yyaccept: \
+ goto yyacceptlab; \
+ case yyerr: \
+ goto yyuser_error; \
+ default: \
+ goto yybuglab; \
+ } \
+ } while (0)
+
+/*----------.
+| yyparse. |
+`----------*/
+
+int
+yyparse (struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ int yyresult;
+ yyGLRStack yystack;
+ yyGLRStack* const yystackp = &yystack;
+ size_t yyposn;
+
+ YYDPRINTF ((stderr, "Starting parse\n"));
+
+ yychar = YYEMPTY;
+ yylval = yyval_default;
+
+ /* User initialization code. */
+ #line 144 "src/parser_proc_grammar.y" /* glr.c:2270 */
+{
+}
+
+#line 8906 "src/parser_proc.c" /* glr.c:2270 */
+
+ if (! yyinitGLRStack (yystackp, YYINITDEPTH))
+ goto yyexhaustedlab;
+ switch (YYSETJMP (yystack.yyexception_buffer))
+ {
+ case 0: break;
+ case 1: goto yyabortlab;
+ case 2: goto yyexhaustedlab;
+ default: goto yybuglab;
+ }
+ yyglrShift (&yystack, 0, 0, 0, &yylval);
+ yyposn = 0;
+
+ while (yytrue)
+ {
+ /* For efficiency, we have two loops, the first of which is
+ specialized to deterministic operation (single stack, no
+ potential ambiguity). */
+ /* Standard mode */
+ while (yytrue)
+ {
+ yyRuleNum yyrule;
+ int yyaction;
+ const short int* yyconflicts;
+
+ yyStateNum yystate = yystack.yytops.yystates[0]->yylrState;
+ YYDPRINTF ((stderr, "Entering state %d\n", yystate));
+ if (yystate == YYFINAL)
+ goto yyacceptlab;
+ if (yyisDefaultedState (yystate))
+ {
+ yyrule = yydefaultAction (yystate);
+ if (yyrule == 0)
+ {
+
+ yyreportSyntaxError (&yystack, P, tokens, index);
+ goto yyuser_error;
+ }
+ YYCHK1 (yyglrReduce (&yystack, 0, yyrule, yytrue, P, tokens, index));
+ }
+ else
+ {
+ yySymbol yytoken;
+ if (yychar == YYEMPTY)
+ {
+ YYDPRINTF ((stderr, "Reading a token: "));
+ yychar = yylex (&yylval, P, tokens, index);
+ }
+
+ if (yychar <= YYEOF)
+ {
+ yychar = yytoken = YYEOF;
+ YYDPRINTF ((stderr, "Now at end of input.\n"));
+ }
+ else
+ {
+ yytoken = YYTRANSLATE (yychar);
+ YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
+ }
+
+ yygetLRActions (yystate, yytoken, &yyaction, &yyconflicts);
+ if (*yyconflicts != 0)
+ break;
+ if (yyisShiftAction (yyaction))
+ {
+ YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
+ yychar = YYEMPTY;
+ yyposn += 1;
+ yyglrShift (&yystack, 0, yyaction, yyposn, &yylval);
+ if (0 < yystack.yyerrState)
+ yystack.yyerrState -= 1;
+ }
+ else if (yyisErrorAction (yyaction))
+ {
+
+ yyreportSyntaxError (&yystack, P, tokens, index);
+ goto yyuser_error;
+ }
+ else
+ YYCHK1 (yyglrReduce (&yystack, 0, -yyaction, yytrue, P, tokens, index));
+ }
+ }
+
+ while (yytrue)
+ {
+ yySymbol yytoken_to_shift;
+ size_t yys;
+
+ for (yys = 0; yys < yystack.yytops.yysize; yys += 1)
+ yystackp->yytops.yylookaheadNeeds[yys] = yychar != YYEMPTY;
+
+ /* yyprocessOneStack returns one of three things:
+
+ - An error flag. If the caller is yyprocessOneStack, it
+ immediately returns as well. When the caller is finally
+ yyparse, it jumps to an error label via YYCHK1.
+
+ - yyok, but yyprocessOneStack has invoked yymarkStackDeleted
+ (&yystack, yys), which sets the top state of yys to NULL. Thus,
+ yyparse's following invocation of yyremoveDeletes will remove
+ the stack.
+
+ - yyok, when ready to shift a token.
+
+ Except in the first case, yyparse will invoke yyremoveDeletes and
+ then shift the next token onto all remaining stacks. This
+ synchronization of the shift (that is, after all preceding
+ reductions on all stacks) helps prevent double destructor calls
+ on yylval in the event of memory exhaustion. */
+
+ for (yys = 0; yys < yystack.yytops.yysize; yys += 1)
+ YYCHK1 (yyprocessOneStack (&yystack, yys, yyposn, P, tokens, index));
+ yyremoveDeletes (&yystack);
+ if (yystack.yytops.yysize == 0)
+ {
+ yyundeleteLastStack (&yystack);
+ if (yystack.yytops.yysize == 0)
+ yyFail (&yystack, P, tokens, index, YY_("syntax error"));
+ YYCHK1 (yyresolveStack (&yystack, P, tokens, index));
+ YYDPRINTF ((stderr, "Returning to deterministic operation.\n"));
+
+ yyreportSyntaxError (&yystack, P, tokens, index);
+ goto yyuser_error;
+ }
+
+ /* If any yyglrShift call fails, it will fail after shifting. Thus,
+ a copy of yylval will already be on stack 0 in the event of a
+ failure in the following loop. Thus, yychar is set to YYEMPTY
+ before the loop to make sure the user destructor for yylval isn't
+ called twice. */
+ yytoken_to_shift = YYTRANSLATE (yychar);
+ yychar = YYEMPTY;
+ yyposn += 1;
+ for (yys = 0; yys < yystack.yytops.yysize; yys += 1)
+ {
+ int yyaction;
+ const short int* yyconflicts;
+ yyStateNum yystate = yystack.yytops.yystates[yys]->yylrState;
+ yygetLRActions (yystate, yytoken_to_shift, &yyaction,
+ &yyconflicts);
+ /* Note that yyconflicts were handled by yyprocessOneStack. */
+ YYDPRINTF ((stderr, "On stack %lu, ", (unsigned long int) yys));
+ YY_SYMBOL_PRINT ("shifting", yytoken_to_shift, &yylval, &yylloc);
+ yyglrShift (&yystack, yys, yyaction, yyposn,
+ &yylval);
+ YYDPRINTF ((stderr, "Stack %lu now in state #%d\n",
+ (unsigned long int) yys,
+ yystack.yytops.yystates[yys]->yylrState));
+ }
+
+ if (yystack.yytops.yysize == 1)
+ {
+ YYCHK1 (yyresolveStack (&yystack, P, tokens, index));
+ YYDPRINTF ((stderr, "Returning to deterministic operation.\n"));
+ yycompressStack (&yystack);
+ break;
+ }
+ }
+ continue;
+ yyuser_error:
+ yyrecoverSyntaxError (&yystack, P, tokens, index);
+ yyposn = yystack.yytops.yystates[0]->yyposn;
+ }
+
+ yyacceptlab:
+ yyresult = 0;
+ goto yyreturn;
+
+ yybuglab:
+ YYASSERT (yyfalse);
+ goto yyabortlab;
+
+ yyabortlab:
+ yyresult = 1;
+ goto yyreturn;
+
+ yyexhaustedlab:
+ yyerror (P, tokens, index, YY_("memory exhausted"));
+ yyresult = 2;
+ goto yyreturn;
+
+ yyreturn:
+ if (yychar != YYEMPTY)
+ yydestruct ("Cleanup: discarding lookahead",
+ YYTRANSLATE (yychar), &yylval, P, tokens, index);
+
+ /* If the stack is well-formed, pop the stack until it is empty,
+ destroying its entries as we go. But free the stack regardless
+ of whether it is well-formed. */
+ if (yystack.yyitems)
+ {
+ yyGLRState** yystates = yystack.yytops.yystates;
+ if (yystates)
+ {
+ size_t yysize = yystack.yytops.yysize;
+ size_t yyk;
+ for (yyk = 0; yyk < yysize; yyk += 1)
+ if (yystates[yyk])
+ {
+ while (yystates[yyk])
+ {
+ yyGLRState *yys = yystates[yyk];
+ if (yys->yypred != YY_NULLPTR)
+ yydestroyGLRState ("Cleanup: popping", yys, P, tokens, index);
+ yystates[yyk] = yys->yypred;
+ yystack.yynextFree -= 1;
+ yystack.yyspaceLeft += 1;
+ }
+ break;
+ }
+ }
+ yyfreeGLRStack (&yystack);
+ }
+
+ return yyresult;
+}
+
+/* DEBUGGING ONLY */
+#if YYDEBUG
+static void
+yy_yypstack (yyGLRState* yys)
+{
+ if (yys->yypred)
+ {
+ yy_yypstack (yys->yypred);
+ YYFPRINTF (stderr, " -> ");
+ }
+ YYFPRINTF (stderr, "%d@%lu", yys->yylrState,
+ (unsigned long int) yys->yyposn);
+}
+
+static void
+yypstates (yyGLRState* yyst)
+{
+ if (yyst == YY_NULLPTR)
+ YYFPRINTF (stderr, "<null>");
+ else
+ yy_yypstack (yyst);
+ YYFPRINTF (stderr, "\n");
+}
+
+static void
+yypstack (yyGLRStack* yystackp, size_t yyk)
+{
+ yypstates (yystackp->yytops.yystates[yyk]);
+}
+
+#define YYINDEX(YYX) \
+ ((YYX) == YY_NULLPTR ? -1 : (yyGLRStackItem*) (YYX) - yystackp->yyitems)
+
+
+static void
+yypdumpstack (yyGLRStack* yystackp)
+{
+ yyGLRStackItem* yyp;
+ size_t yyi;
+ for (yyp = yystackp->yyitems; yyp < yystackp->yynextFree; yyp += 1)
+ {
+ YYFPRINTF (stderr, "%3lu. ",
+ (unsigned long int) (yyp - yystackp->yyitems));
+ if (*(yybool *) yyp)
+ {
+ YYASSERT (yyp->yystate.yyisState);
+ YYASSERT (yyp->yyoption.yyisState);
+ YYFPRINTF (stderr, "Res: %d, LR State: %d, posn: %lu, pred: %ld",
+ yyp->yystate.yyresolved, yyp->yystate.yylrState,
+ (unsigned long int) yyp->yystate.yyposn,
+ (long int) YYINDEX (yyp->yystate.yypred));
+ if (! yyp->yystate.yyresolved)
+ YYFPRINTF (stderr, ", firstVal: %ld",
+ (long int) YYINDEX (yyp->yystate
+ .yysemantics.yyfirstVal));
+ }
+ else
+ {
+ YYASSERT (!yyp->yystate.yyisState);
+ YYASSERT (!yyp->yyoption.yyisState);
+ YYFPRINTF (stderr, "Option. rule: %d, state: %ld, next: %ld",
+ yyp->yyoption.yyrule - 1,
+ (long int) YYINDEX (yyp->yyoption.yystate),
+ (long int) YYINDEX (yyp->yyoption.yynext));
+ }
+ YYFPRINTF (stderr, "\n");
+ }
+ YYFPRINTF (stderr, "Tops:");
+ for (yyi = 0; yyi < yystackp->yytops.yysize; yyi += 1)
+ YYFPRINTF (stderr, "%lu: %ld; ", (unsigned long int) yyi,
+ (long int) YYINDEX (yystackp->yytops.yystates[yyi]));
+ YYFPRINTF (stderr, "\n");
+}
#endif
- return;
+
+#undef yylval
+#undef yychar
+#undef yynerrs
+
+/* Substitute the variable and function names. */
+#define yyparse psi_parser_proc_parse
+#define yylex psi_parser_proc_lex
+#define yyerror psi_parser_proc_error
+#define yylval psi_parser_proc_lval
+#define yychar psi_parser_proc_char
+#define yydebug psi_parser_proc_debug
+#define yynerrs psi_parser_proc_nerrs
+
+#line 2274 "src/parser_proc_grammar.y" /* glr.c:2584 */
+
+
+/* epilogue */
+
+static int psi_parser_proc_lex(YYSTYPE *lvalp, struct psi_parser *P, struct psi_plist *tokens, size_t *index)
+{
+ struct psi_token *token;
+
+ if (psi_plist_get(tokens, (*index)++, &token)) {
+ if (P->flags & PSI_DEBUG) {
+ psi_token_dump(2, token);
+ }
+
+ *((struct psi_token **)lvalp) = token;
+ return token->type;
+ } else {
+ (*index)--;
+ PSI_DEBUG_PRINT(P, "EOF(%d)\n", PSI_T_EOF);
+ }
+
+ return PSI_T_EOF;
+}
+
+static void psi_parser_proc_error(struct psi_parser *P, struct psi_plist *tokens, size_t *index, const char *msg)
+{
+ struct psi_token *T = NULL;
+ size_t last;
+
+ if (*index == 0) {
+ last = 0;
+ } else {
+ last = --(*index);
+ }
+
+ psi_plist_get(tokens, last, &T);
+ if (T) {
+ P->error(PSI_DATA(P), T, PSI_WARNING, "PSI %s at col %u", msg, T->col);
+ } else {
+ P->error(PSI_DATA(P), NULL, PSI_WARNING, "PSI %s", msg);
+ }
+ P->errors++;
}
+