/* 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 . */
/* 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
#include
#include "plist.h"
#include "parser.h"
#define YYDEBUG 1
#define PSI_PARSER_PROC_DEBUG 1
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);
static inline void psi_parser_proc_add_struct(struct psi_parser *P, struct psi_decl_struct *strct)
{
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);
}
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_add_typedef(struct psi_parser *P, struct psi_decl_arg *def)
{
assert(def);
if (!P->types) {
P->types = psi_plist_init((psi_plist_dtor) psi_decl_arg_free);
}
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 (!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_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);
}
/* end code */
#line 166 "src/parser_proc.c" /* glr.c:264 */
#include
#include
#include
#ifndef YY_
# if defined YYENABLE_NLS && YYENABLE_NLS
# if ENABLE_NLS
# include /* 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
# 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
#ifndef YY_INITIAL_VALUE
# define YY_INITIAL_VALUE(Value) /* Nothing. */
#endif
#ifndef YYASSERT
# define YYASSERT(Condition) ((void) ((Condition) || (abort (), 0)))
#endif
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 178
/* YYLAST -- Last index in YYTABLE. */
#define YYLAST 4188
/* YYNTOKENS -- Number of terminals. */
#define YYNTOKENS 135
/* YYNNTS -- Number of nonterminals. */
#define YYNNTS 134
/* YYNRULES -- Number of rules. */
#define YYNRULES 641
/* YYNRULES -- Number of states. */
#define YYNSTATES 893
/* YYMAXRHS -- Maximum number of symbols on right-hand side of rule. */
#define YYMAXRHS 13
/* 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 389
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
static const un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, 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
};
#if YYDEBUG
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const unsigned short int yyrline[] =
{
0, 380, 380, 380, 380, 380, 380, 380, 380, 380,
380, 380, 380, 380, 380, 380, 380, 380, 380, 380,
381, 381, 381, 381, 382, 382, 382, 382, 382, 382,
382, 382, 382, 382, 382, 382, 382, 382, 382, 382,
382, 382, 383, 383, 383, 383, 383, 383, 383, 383,
383, 383, 383, 383, 383, 383, 383, 383, 383, 383,
383, 383, 383, 383, 383, 383, 383, 383, 383, 383,
383, 383, 383, 383, 383, 383, 383, 383, 383, 383,
383, 383, 383, 383, 383, 383, 383, 383, 383, 383,
383, 383, 383, 383, 383, 383, 383, 383, 383, 383,
383, 383, 383, 383, 383, 383, 383, 383, 383, 383,
383, 383, 383, 383, 383, 383, 383, 383, 383, 383,
383, 383, 383, 383, 383, 383, 383, 383, 383, 383,
383, 383, 383, 383, 383, 383, 383, 383, 383, 383,
383, 383, 383, 383, 383, 383, 383, 383, 383, 383,
383, 383, 383, 383, 383, 383, 383, 383, 383, 383,
383, 383, 383, 383, 383, 383, 383, 384, 384, 384,
384, 384, 384, 384, 384, 384, 384, 384, 384, 384,
384, 384, 384, 384, 384, 384, 384, 384, 384, 384,
384, 384, 384, 384, 384, 384, 384, 384, 384, 384,
384, 384, 384, 384, 384, 384, 384, 384, 384, 384,
384, 384, 384, 384, 384, 384, 384, 384, 384, 384,
384, 384, 384, 384, 384, 384, 384, 384, 384, 384,
384, 384, 384, 384, 384, 384, 384, 384, 384, 384,
384, 384, 384, 384, 384, 384, 384, 384, 384, 384,
384, 384, 384, 384, 384, 384, 384, 384, 384, 384,
384, 384, 384, 384, 384, 384, 384, 384, 384, 384,
384, 384, 384, 384, 384, 384, 384, 384, 384, 384,
384, 384, 384, 384, 384, 384, 384, 384, 384, 384,
388, 389, 392, 393, 396, 397, 398, 399, 405, 413,
416, 419, 420, 421, 424, 427, 430, 433, 439, 445,
448, 454, 477, 481, 485, 490, 494, 498, 502, 509,
510, 514, 515, 519, 520, 521, 525, 526, 530, 531,
535, 536, 537, 541, 542, 546, 547, 548, 549, 550,
551, 552, 556, 561, 569, 572, 575, 576, 582, 587,
595, 598, 602, 606, 613, 617, 621, 625, 630, 640,
650, 655, 660, 664, 670, 679, 682, 686, 690, 696,
703, 709, 710, 711, 712, 716, 719, 750, 757, 758,
759, 760, 764, 767, 776, 782, 785, 791, 794, 800,
801, 809, 820, 829, 838, 846, 847, 851, 861, 870,
882, 885, 888, 892, 896, 900, 905, 910, 918, 919,
920, 923, 929, 932, 935, 941, 942, 943, 944, 945,
946, 947, 948, 952, 953, 957, 960, 963, 969, 972,
975, 983, 995, 998, 1001, 1008, 1011, 1021, 1024, 1027,
1030, 1031, 1032, 1036, 1039, 1042, 1053, 1056, 1062, 1063,
1067, 1068, 1072, 1076, 1082, 1083, 1089, 1092, 1098, 1101,
1104, 1110, 1114, 1115, 1119, 1120, 1124, 1125, 1132, 1133,
1137, 1144, 1155, 1162, 1173, 1180, 1191, 1202, 1216, 1217,
1229, 1232, 1235, 1238, 1245, 1248, 1254, 1263, 1275, 1283,
1286, 1296, 1309, 1314, 1331, 1341, 1351, 1354, 1358, 1364,
1378, 1395, 1398, 1404, 1411, 1421, 1428, 1431, 1437, 1442,
1450, 1454, 1458, 1462, 1466, 1470, 1477, 1481, 1485, 1489,
1493, 1499, 1503, 1510, 1513, 1524, 1528, 1532, 1538, 1551,
1564, 1577, 1580, 1587, 1590, 1593, 1596, 1602, 1606, 1613,
1616, 1619, 1629, 1632, 1638, 1639, 1645, 1648, 1654, 1655,
1665, 1668, 1675, 1680, 1685, 1695, 1698, 1704, 1707, 1713,
1720, 1727, 1728, 1729, 1730, 1731, 1732, 1733, 1734, 1735,
1739, 1742, 1748, 1751, 1754, 1757, 1760, 1766, 1770, 1778,
1779, 1783, 1790, 1793, 1796, 1800, 1803, 1806, 1812, 1816,
1824, 1831, 1839, 1847, 1848, 1849, 1850, 1851, 1852, 1853,
1854, 1855, 1856, 1860, 1863, 1869, 1872, 1878, 1879, 1883,
1886, 1892, 1895, 1901, 1908, 1915, 1918, 1921, 1928, 1933,
1941, 1942, 1943, 1944, 1945, 1946, 1947, 1948, 1952, 1955,
1961, 1964, 1970, 1977, 1978, 1982, 1989, 1992, 1998, 2006,
2009, 2015
};
#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", "INT8", "UINT8",
"INT16", "UINT16", "INT32", "UINT32", "INT64", "UINT64", "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", "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",
"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_special_name_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", "constant_type",
"constant_type_token", "impl_def_val", "impl_def_val_token",
"decl_typedef", "typedef", "typedef_anon", "typedef_decl",
"typedef_anon_decl", "qualified_decl_type", "decl_type",
"decl_type_complex", "decl_type_simple", "decl_real_type",
"decl_stdint_type", "int_signed", "int_width", "decl_int_type",
"int_signed_types", "signed_short_types", "signed_long_types",
"int_width_types", "decl_stmt", "decl_asm", "ignored_quoted_strings",
"decl_ext_var_stmt", "decl_ext_var", "decl_ext_var_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_functor", "decl_func", "decl_args",
"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", "decl_layout", "align_and_size",
"array_size", "indirection", "pointers", "asterisks", "asterisk", "impl",
"impl_func", "impl_args", "impl_arg", "impl_var", "impl_type",
"impl_type_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",
"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
};
#endif
#define YYPACT_NINF -722
#define YYTABLE_NINF -640
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
STATE-NUM. */
static const short int yypact[] =
{
481, -722, -722, -722, -722, -722, 47, -722, -722, 3033,
-722, -722, -722, -722, -722, -722, -722, -722, 3652, 726,
-722, -722, 477, 1491, 3454, 3454, 3454, 1825, 48, 278,
12, -722, 1620, 3686, 93, 481, -722, -722, -722, -722,
-722, 3109, -722, -722, -722, -722, -722, 91, 147, -722,
-722, -722, 64, -722, -21, -722, -722, 70, 84, 122,
-722, -722, -722, -722, 120, -722, 126, -722, -722, -722,
-722, -722, 837, -722, 115, 80, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, 685, -18, -722, -722, -722,
-722, 3454, 3454, 3454, 2065, -722, 59, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
1357, -722, -722, -722, -722, 158, 970, 970, 14, -722,
1357, 2864, 3033, 3454, 3454, 3731, 160, -722, 2984, -722,
-722, 162, 3454, 163, 163, 82, 82, 161, -722, -722,
178, 179, -722, 115, 181, -722, -722, 174, 3686, 171,
172, -722, 187, -722, 3765, 1528, -21, 171, -722, -722,
173, -722, 180, 3454, -722, 217, -722, 68, -722, -722,
91, -722, -722, 184, 186, 3810, 3810, 3454, 258, 3454,
-722, -722, 115, -722, -722, -722, -722, -722, -722, 3109,
-722, -722, -722, -722, -722, -722, -722, 102, 970, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, 970, -722,
-722, -722, -722, -722, -722, -722, -722, 19, 2864, -722,
-722, -722, -722, 3158, 2864, 188, 4043, -722, 190, 98,
-722, 103, -722, -722, -722, -722, -722, 191, 189, 189,
36, 36, 3278, 192, -722, 171, 1236, -722, 258, 195,
198, 199, -722, 2384, -722, 115, 173, -722, -722, -722,
233, -722, -722, 208, -722, 15, 2665, 3109, 116, -722,
-722, 136, 197, 77, -722, 3109, 2504, 3109, 3454, 132,
-722, -722, 159, -722, -722, -722, -722, -722, 2624, -722,
202, 3454, 213, -722, 3454, 234, -722, -722, -722, -722,
3844, 227, -722, 3889, 3454, -722, -722, 2864, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, 2864, 2864, -722, 236,
1570, 3109, 3109, -722, -722, -722, -722, 115, -722, 1784,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, -722, -722, -722, -722, 1103, -722, 166, 73,
-722, -722, -722, -722, -722, 1664, -722, 2624, -722, 2965,
-722, -722, 3454, -722, -722, -722, 26, 685, 115, 180,
173, 3573, 173, 3607, 2624, 3454, -722, 225, 238, 4067,
230, 240, -722, 241, 248, 242, 251, 76, -722, -722,
253, 241, -722, -722, 3856, -722, 252, 3109, 3329, 115,
255, -722, -722, -722, 264, 4043, 265, 267, 3994, -722,
261, 3731, 268, -722, -722, 2744, 1399, 3454, 163, 163,
-722, -722, 3454, -722, -722, -722, -722, 271, -722, 4067,
-722, -722, -722, -722, -722, -722, -722, -722, -722, -722,
-722, -722, 269, 138, -722, 12, -722, 266, 726, 273,
3916, -722, -722, 2624, 2624, 277, -722, -722, 3278, -722,
15, 279, -722, -722, 290, 4067, -722, 1904, -722, 2504,
-722, 3109, -722, 12, 3109, -722, 3454, -722, -722, -722,
-722, -722, -722, 292, 293, -722, -722, -722, -722, 2864,
2864, 294, -722, 30, 295, -722, 268, 189, 189, 299,
-722, 519, 291, 519, 297, 2624, -722, 4019, -722, -722,
173, 173, -722, 231, 214, 301, 4067, -722, -722, -722,
-722, 303, 2024, -722, 304, 3109, 142, -722, 970, 3405,
4043, 4091, 315, 309, 313, 3109, 326, 295, 3109, 3109,
-722, -722, 519, -722, 12, 1784, -722, 2624, -722, -722,
301, -722, -722, -722, -722, 327, 2624, 12, -722, 2144,
328, 339, -722, -722, -722, -722, 338, 337, 348, 268,
340, -722, 344, -722, 20, -722, 4115, 12, 3969, 342,
347, -722, 343, -722, -722, -722, 349, 350, -722, 3109,
-722, 358, 353, 2624, 1904, 354, -722, 2504, 363, 364,
268, 357, 2264, 3943, 225, -722, -722, -722, 360, 2024,
-722, -722, 362, 359, -722, 356, 366, 370, -722, -722,
1904, -722, 372, -722, 519, 374, 2504, -722, 375, -722,
-722, -722, -722
};
/* 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[] =
{
290, 428, 425, 429, 423, 424, 426, 412, 413, 0,
415, 416, 417, 418, 419, 420, 421, 422, 411, 0,
295, 294, 0, 0, 0, 0, 531, 0, 0, 0,
639, 296, 0, 0, 0, 291, 292, 298, 297, 299,
303, 542, 402, 404, 403, 409, 410, 432, 443, 408,
300, 302, 0, 301, 448, 466, 468, 469, 0, 0,
478, 305, 304, 306, 0, 307, 0, 427, 414, 33,
34, 627, 593, 24, 542, 548, 39, 38, 37, 35,
36, 32, 31, 25, 29, 28, 26, 27, 601, 600,
598, 596, 597, 599, 595, 594, 602, 30, 625, 623,
622, 624, 621, 620, 479, 0, 544, 546, 40, 41,
411, 0, 0, 0, 0, 467, 454, 401, 309, 320,
317, 319, 321, 322, 333, 330, 331, 328, 334, 329,
0, 332, 323, 324, 325, 0, 350, 350, 0, 313,
0, 0, 0, 531, 531, 0, 0, 385, 542, 390,
488, 389, 0, 537, 537, 405, 406, 407, 528, 371,
429, 412, 374, 0, 0, 370, 400, 0, 0, 0,
0, 641, 0, 640, 411, 0, 448, 0, 1, 293,
539, 489, 0, 543, 433, 437, 435, 439, 430, 444,
432, 431, 452, 0, 0, 480, 480, 0, 0, 0,
543, 549, 542, 491, 545, 547, 405, 406, 407, 0,
453, 336, 337, 338, 340, 341, 339, 335, 350, 315,
310, 75, 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, 165, 166, 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, 115, 113, 114, 112, 110, 111, 116, 117, 118,
119, 120, 121, 122, 123, 124, 125, 126, 127, 128,
129, 130, 131, 132, 133, 134, 135, 136, 137, 138,
139, 140, 141, 142, 143, 144, 145, 146, 147, 148,
149, 150, 151, 152, 153, 154, 155, 156, 157, 158,
159, 163, 160, 161, 162, 164, 352, 318, 351, 311,
326, 327, 312, 335, 314, 360, 361, 0, 0, 22,
23, 20, 21, 0, 0, 363, 316, 362, 479, 405,
530, 406, 529, 386, 382, 394, 391, 0, 0, 0,
0, 0, 0, 0, 308, 0, 0, 458, 0, 0,
0, 0, 459, 0, 493, 542, 539, 438, 434, 440,
441, 436, 445, 0, 446, 481, 0, 542, 0, 482,
484, 0, 508, 0, 506, 0, 639, 0, 0, 0,
633, 634, 0, 570, 573, 572, 574, 575, 0, 576,
0, 0, 455, 456, 0, 0, 343, 353, 527, 526,
0, 0, 522, 0, 0, 358, 355, 365, 2, 3,
4, 5, 6, 7, 8, 9, 10, 11, 13, 12,
14, 15, 16, 17, 18, 19, 0, 0, 383, 0,
0, 0, 0, 496, 495, 497, 494, 542, 490, 375,
460, 200, 167, 168, 169, 170, 171, 172, 173, 174,
175, 176, 177, 178, 179, 180, 181, 182, 183, 184,
185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
195, 196, 197, 198, 199, 288, 289, 201, 202, 203,
204, 205, 206, 207, 208, 209, 210, 211, 212, 213,
214, 215, 216, 217, 218, 219, 220, 221, 222, 223,
224, 225, 226, 227, 228, 229, 230, 231, 232, 238,
236, 237, 235, 233, 234, 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, 269, 270, 271, 272, 273,
274, 275, 276, 277, 278, 279, 280, 281, 282, 286,
283, 284, 285, 287, 464, 465, 0, 462, 0, 0,
384, 447, 517, 516, 518, 0, 540, 0, 519, 0,
510, 520, 0, 492, 442, 450, 0, 487, 0, 485,
539, 0, 539, 0, 0, 0, 505, 0, 0, 616,
0, 0, 615, 41, 0, 0, 0, 0, 636, 626,
0, 0, 550, 571, 0, 477, 0, 0, 344, 542,
0, 523, 525, 354, 0, 367, 0, 366, 0, 356,
0, 0, 533, 395, 387, 396, 0, 397, 537, 537,
393, 392, 0, 378, 379, 380, 381, 0, 377, 376,
461, 463, 551, 563, 564, 565, 566, 562, 567, 568,
569, 561, 0, 0, 555, 639, 560, 24, 0, 0,
0, 514, 541, 0, 0, 0, 451, 449, 486, 472,
0, 0, 483, 470, 0, 509, 507, 0, 577, 639,
614, 0, 559, 639, 0, 635, 0, 613, 632, 476,
457, 345, 348, 0, 346, 524, 521, 359, 364, 0,
0, 0, 388, 0, 501, 498, 533, 0, 0, 0,
369, 0, 0, 0, 557, 0, 512, 0, 513, 474,
539, 539, 582, 0, 31, 30, 587, 588, 583, 585,
586, 40, 0, 617, 628, 0, 0, 637, 350, 0,
368, 357, 0, 534, 0, 0, 0, 501, 399, 398,
475, 552, 0, 556, 639, 375, 511, 0, 473, 471,
0, 584, 607, 593, 608, 0, 0, 639, 589, 639,
0, 0, 638, 342, 347, 349, 0, 0, 0, 533,
502, 499, 0, 553, 0, 558, 515, 639, 0, 603,
0, 630, 629, 618, 578, 538, 0, 0, 503, 0,
500, 0, 0, 0, 0, 0, 619, 639, 0, 0,
533, 0, 609, 0, 519, 605, 581, 579, 604, 0,
592, 631, 0, 0, 504, 0, 0, 610, 611, 590,
0, 580, 0, 535, 0, 0, 639, 606, 0, 554,
591, 612, 536
};
/* YYPGOTO[NTERM-NUM]. */
static const short int yypgoto[] =
{
-722, -352, -128, -7, 65, -722, -722, -722, 382, -722,
-722, -722, -722, -722, -722, -722, -722, -722, -722, 280,
-722, -722, -722, -134, -722, -315, -722, -722, -722, -722,
-722, -386, -722, -722, 243, -255, 22, -249, -2, -12,
-722, -722, -722, -138, 377, -722, -722, 239, -722, -722,
-722, -722, 250, -722, -722, -722, -722, -301, -722, -141,
-722, -170, 409, 17, -15, 33, -722, -722, 246, -504,
-14, -41, -722, -722, 62, -348, -722, -353, -722, 6,
-722, -190, -359, -722, -117, -722, 7, -722, -454, -450,
43, -712, -129, -384, -63, -4, -722, 345, -722, 420,
-722, -313, -648, -721, -722, 66, -400, -722, -428, -704,
38, -312, -722, -722, -666, -722, -722, -722, -722, -722,
-722, -722, -691, 39, -387, -722, -722, -722, -722, -722,
-722, -274, -29, -680
};
/* YYDEFGOTO[NTERM-NUM]. */
static const short int yydefgoto[] =
{
-1, 714, 617, 180, 346, 604, 34, 35, 36, 37,
38, 135, 136, 137, 138, 352, 139, 140, 141, 218,
219, 743, 744, 347, 348, 366, 666, 667, 39, 164,
165, 687, 688, 40, 146, 672, 673, 674, 41, 42,
43, 44, 45, 46, 47, 48, 49, 188, 398, 401,
191, 50, 194, 626, 51, 52, 210, 432, 53, 605,
606, 607, 54, 55, 56, 150, 58, 59, 408, 409,
60, 618, 61, 62, 474, 475, 676, 796, 830, 152,
413, 414, 639, 620, 621, 660, 442, 64, 153, 154,
158, 754, 378, 394, 182, 434, 106, 107, 65, 66,
703, 704, 640, 705, 706, 422, 423, 424, 865, 866,
867, 778, 779, 780, 108, 855, 868, 815, 876, 877,
425, 426, 641, 642, 109, 820, 842, 427, 428, 429,
647, 648, 644, 173
};
/* 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[] =
{
181, 172, 104, 349, 116, 105, 63, 117, 149, 151,
375, 199, 623, 364, 467, 166, 678, 155, 156, 157,
679, 148, 653, 777, 367, 379, 380, 381, 387, 643,
471, 472, 651, 57, 619, 115, 392, 183, 783, 75,
801, 63, 804, 443, 797, 147, 169, 782, 350, 446,
177, 57, 732, 438, 439, 74, 67, 764, 68, 440,
716, 781, 57, 793, 171, 57, 57, 717, 57, 654,
200, 441, 75, 794, 399, 473, 693, 400, 818, 694,
470, 833, 167, 695, 436, 696, 697, 698, 699, 700,
701, 467, 851, 178, 467, 184, 185, 186, 203, -478,
187, 209, 166, 192, 206, 207, 208, 181, 814, -469,
-488, 193, -488, 204, 702, 735, 781, 848, 736, 635,
689, -537, 636, 217, 195, 377, -537, 722, 841, 722,
149, 151, 665, 353, 365, 368, 369, 371, 105, 431,
351, -405, -532, 148, 183, 376, -406, -532, 874, 71,
649, 668, 669, 189, 4, 5, 764, 630, 631, 382,
149, 151, 196, 889, 197, 881, 871, 373, 433, 839,
198, 878, 75, 148, 869, 201, 396, 632, 633, 762,
763, 410, 410, 822, 657, 385, 370, 372, 781, 852,
412, 115, 430, 407, 407, 891, 220, 147, 200, 374,
869, 57, -478, 781, 652, -532, 377, 57, 653, -372,
-373, 692, 383, 384, 781, 386, 388, 678, 389, 393,
395, 679, 678, 397, 403, 404, 679, 435, 447, 468,
364, 812, 813, 470, 469, 609, 364, 610, 611, 624,
479, 367, 625, 655, 480, 634, 719, 367, 723, 98,
99, 100, 101, 102, 103, 657, 710, 662, 711, 415,
416, 417, 418, 419, 420, 421, 415, 416, 417, 418,
419, 420, 421, 727, 658, 725, 670, 728, 729, 730,
732, 731, 1, 2, 3, 4, 5, 6, 7, 8,
733, 734, 737, 739, 751, 9, 746, 10, 11, 12,
13, 14, 15, 16, 17, 747, 748, -24, 110, 749,
760, 753, 761, 467, 765, 19, 467, 467, 769, 364,
770, 88, 89, 90, 91, 92, 93, 94, 95, 96,
367, 771, 622, 788, 802, 789, 792, 795, 364, 364,
800, 816, 643, 817, 629, 805, 819, 810, 826, 367,
367, 365, 827, 828, 767, 768, 445, 365, 415, 416,
417, 418, 419, 420, 421, 831, 181, 837, 776, 843,
111, 112, 113, 114, 637, 478, 645, 30, 844, 845,
846, 847, 849, 850, 854, 857, 808, 809, 856, 858,
861, 200, 859, 862, 166, 870, 872, 873, 875, 884,
883, 627, 880, 183, 882, 888, 806, 885, 168, 798,
799, 646, 886, 437, 682, 890, 892, 179, 390, 835,
354, 756, 752, 776, 656, 190, 391, 396, 659, 402,
680, 681, 643, 786, 790, 791, 691, 664, 467, 467,
365, 176, 411, 476, 832, 726, 689, 661, 836, 170,
803, 205, 887, 638, 608, 149, 151, 838, 650, 365,
365, 811, 787, 0, 0, 0, 0, 0, 675, 0,
643, 0, 0, 200, 0, 643, 677, 0, 0, 0,
0, 0, 0, 0, 0, 1, 2, 3, 4, 5,
6, 7, 8, 0, 863, 776, 0, 0, 9, 643,
10, 11, 12, 13, 14, 15, 16, 17, 0, 0,
776, 18, 0, 0, 0, 118, 0, 0, 19, 20,
21, 776, 693, 0, 0, 694, 0, 0, 0, 695,
22, 696, 697, 698, 699, 700, 701, 375, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 757,
758, 119, 120, 121, 122, 123, 124, 125, 126, 127,
128, 129, 130, 0, 131, 132, 133, 134, 0, 0,
0, 0, 23, 24, 25, 26, 27, 28, 29, 0,
30, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 745, 0, 0, 0,
0, 0, 0, 0, 31, 0, 0, 0, 0, 32,
0, 33, 0, 709, 0, 715, 740, 410, 0, 410,
203, 364, 364, 0, 718, 0, 0, 0, 412, 407,
0, 407, 367, 367, 181, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 742, 0, 0, 823, 200, 149, 151, 0, 0,
0, 149, 151, 0, 0, 0, 0, 0, 0, 675,
376, 183, 0, 0, 675, 759, 0, 677, 0, 0,
0, 0, 677, 0, 0, 0, 0, 0, 69, 0,
784, 0, 0, 433, 0, 0, 166, 70, 0, 0,
0, 0, 71, 72, 785, 0, 0, 0, 0, 0,
0, 478, 0, 0, 0, 73, 627, 0, 0, 0,
0, 0, 0, 0, 0, 202, 0, 0, 0, 646,
1, 2, 3, 4, 5, 6, 7, 8, 0, 0,
0, 0, 365, 365, 821, 10, 11, 12, 13, 14,
15, 16, 17, 0, 829, 0, 110, 680, 681, 76,
77, 78, 79, 80, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 834, 0, 0, 0, 0,
0, 81, 825, 82, 83, 84, 85, 86, 87, 0,
0, 0, 88, 89, 90, 91, 92, 93, 94, 95,
96, 97, 98, 99, 100, 101, 102, 103, 860, 0,
0, 0, 0, 864, 0, 0, 0, 0, 111, 112,
113, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, -593, 0, 864,
-593, -593, -593, -593, -593, -593, -593, -593, -593, -593,
-593, -593, -593, -593, -593, -593, -593, -593, -593, -593,
-593, -593, -593, -593, -593, -593, -593, -593, -593, -593,
-593, -593, -593, -593, -593, -593, -593, -593, -593, -593,
-593, -593, -593, -593, -593, -593, -593, -593, -593, -593,
-593, -593, -593, -593, -593, -593, -593, -593, -593, -593,
-593, -593, -593, -593, -593, -593, -593, -593, -593, -593,
-593, -593, -593, -593, -593, -593, -593, -593, -593, -593,
-593, -593, -593, -593, -593, 0, -593, 0, -593, -593,
-593, -593, -593, -593, -593, -593, -593, -593, -593, -593,
-593, -593, -593, -593, -593, -593, -593, -593, -593, -593,
-593, -593, -593, -593, -593, -593, -593, -593, -593, -593,
-593, 0, -593, -593, 0, -593, -593, -593, -593, -593,
221, 0, 0, 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, 0, 257,
258, 259, 260, 261, 262, 263, 264, 265, 266, 267,
268, 269, 270, 271, 272, 273, 274, 275, 276, 277,
278, 279, 280, 281, 282, 283, 284, 285, 286, 287,
288, 289, 290, 291, 292, 293, 294, 295, 296, 297,
298, 299, 300, 301, 302, 303, 304, 305, 0, 306,
0, 307, 308, 309, 310, 311, 312, 313, 314, 315,
316, 317, 318, 319, 320, 321, 322, 323, 324, 325,
326, 327, 328, 329, 330, 331, 332, 333, 334, 335,
336, 337, 338, 339, 0, 0, 340, 0, 341, 342,
343, 344, 345, 481, 0, 0, 482, 483, 484, 485,
486, 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, 514, 515,
516, 0, 517, 518, 519, 520, 521, 386, 690, 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, 561, 562,
563, 0, 564, 0, 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, 596, 597, 0, 0, 598,
0, 599, 600, 601, 602, 603, 481, 0, 0, 482,
483, 484, 485, 486, 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, 514, 515, 516, 0, 517, 518, 519, 520, 521,
386, 0, 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, 561, 562, 563, 0, 564, 0, 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, 596, 597,
69, 0, 598, 0, 599, 600, 601, 602, 603, 70,
0, 0, 0, 0, 71, 72, 0, 0, 0, 0,
0, 0, 0, 0, 211, 212, 213, 73, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1, 2, 3, 4, 5, 6, 7,
8, 0, 0, 0, 0, 0, 9, 0, 10, 11,
12, 13, 14, 15, 16, 17, 0, 0, 0, 110,
0, 76, 77, 78, 79, 80, 19, 0, 0, 0,
0, 0, 0, 0, 755, 0, 0, 0, 0, 0,
0, 0, 0, 81, 0, 82, 83, 84, 85, 86,
87, 0, 0, 0, 88, 89, 90, 91, 92, 93,
94, 95, 96, 97, 98, 99, 100, 101, 102, 103,
0, 0, 0, 0, 0, 214, 0, 215, 216, 0,
0, 143, 144, 26, 114, 1, 2, 3, 4, 5,
6, 7, 8, 0, 0, 0, 0, 0, 142, 0,
10, 11, 12, 13, 14, 15, 16, 17, 0, 0,
0, 110, 0, 0, 0, 0, 0, 671, 19, 0,
0, 0, 1, 2, 3, 4, 5, 6, 7, 8,
0, 0, 0, 0, 0, 9, 0, 10, 11, 12,
13, 14, 15, 16, 17, 0, 0, 0, 110, 0,
0, 0, 0, 0, 0, 19, 0, 0, 0, 0,
0, 0, 0, 0, 1, 2, 3, 4, 5, 6,
7, 8, 0, 143, 144, 26, 114, 9, 0, 10,
11, 12, 13, 14, 15, 16, 17, 0, 0, 0,
110, 0, 0, 0, 0, 0, 0, 19, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 145,
143, 144, 26, 114, 1, 2, 3, 4, 5, 6,
7, 8, 0, 0, 0, 0, 0, 9, 0, 10,
11, 12, 13, 14, 15, 16, 17, 0, 0, 0,
174, 0, 0, 0, 0, 0, 145, 19, 0, 0,
0, 0, 143, 144, 26, 114, 0, 69, 1, 2,
3, 4, 5, 6, 7, 8, 70, 0, 0, 0,
0, 71, 72, 10, 11, 12, 13, 14, 15, 16,
17, 0, 0, 0, 707, 612, 0, 613, 671, 614,
357, 19, 0, 0, 615, 0, 0, 0, 0, 0,
0, 175, 111, 112, 113, 114, 0, 0, 0, 359,
360, 75, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 361, 362, 0, 0, 0, 0, 76, 77,
78, 79, 80, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 111, 112, 113, 708,
81, 0, 82, 83, 84, 85, 86, 87, 0, 0,
0, 88, 89, 90, 91, 92, 93, 94, 95, 96,
97, 98, 99, 100, 101, 102, 103, 69, 0, 0,
0, 0, 0, 0, 0, 0, 70, 0, 0, 0,
0, 71, 72, 0, 0, 0, 0, 0, 0, 0,
0, 683, 684, 685, 73, 612, 0, 613, 686, 614,
357, 0, 0, 0, 615, 0, 0, 0, 159, 1,
2, 160, 4, 5, 6, 161, 8, 162, 0, 359,
360, 75, 163, 0, 10, 11, 12, 13, 14, 15,
16, 17, 361, 362, 0, 110, 0, 0, 76, 77,
78, 79, 80, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
81, 0, 82, 83, 84, 85, 86, 87, 0, 0,
0, 88, 89, 90, 91, 92, 93, 94, 95, 96,
97, 98, 99, 100, 101, 102, 103, 69, 0, 0,
0, 0, 0, 0, 0, 0, 70, 111, 112, 113,
0, 71, 72, 0, 0, 0, 0, 0, 0, 0,
0, 772, 0, 0, 73, 612, 0, 613, 0, 614,
357, 0, 0, 0, 615, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 171, 0, 0, 359,
360, 75, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 361, 362, 0, 0, 0, 0, 76, 77,
78, 79, 80, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
81, 773, 774, 83, 84, 85, 86, 87, 0, 0,
0, 88, 89, 90, 91, 92, 93, 94, 95, 96,
775, 98, 99, 100, 101, 102, 103, 69, 0, 0,
0, 0, 0, 0, 0, 0, 70, 0, 0, 0,
0, 71, 72, 0, 0, 0, 0, 0, 0, 0,
0, 772, 0, 0, 73, 612, 0, 613, 0, 614,
357, 0, 0, 0, 615, 0, 0, 0, 0, 1,
2, 3, 4, 5, 6, 7, 8, 0, 0, 359,
360, 75, 163, 0, 10, 11, 12, 13, 14, 15,
16, 17, 361, 362, 0, 110, 0, 0, 76, 77,
78, 79, 80, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
81, 773, 774, 83, 84, 85, 86, 87, 0, 0,
0, 88, 89, 90, 91, 92, 93, 94, 95, 96,
775, 98, 99, 100, 101, 102, 103, 69, 0, 0,
0, 0, 0, 0, 0, 0, 70, 111, 112, 113,
0, 71, 72, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 73, 612, 0, 613, 0, 614,
357, 0, 0, 0, 615, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 171, 0, 0, 359,
360, 75, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 361, 362, 0, 0, 840, 0, 76, 77,
78, 79, 80, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
81, 0, 82, 83, 84, 85, 86, 87, 0, 0,
0, 88, 89, 90, 91, 92, 93, 94, 95, 96,
97, 98, 99, 100, 101, 102, 103, 69, 0, 0,
0, 0, 0, 0, 0, 0, 70, 0, 0, 0,
0, 71, 72, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 73, 612, -639, 613, 0, 614,
357, 0, 0, 0, 615, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 171, 0, 0, 359,
360, 75, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 361, 362, 0, 0, 0, 0, 76, 77,
78, 79, 80, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
81, 0, 82, 83, 84, 85, 86, 87, 0, 0,
0, 88, 89, 90, 91, 92, 93, 94, 95, 96,
97, 98, 99, 100, 101, 102, 103, 69, 0, 0,
0, 0, 0, 0, 0, 0, 70, 0, 0, 0,
0, 71, 72, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 73, 612, 0, 613, 0, 614,
357, 0, 0, 0, 615, 0, 0, 0, 0, 0,
0, 616, 0, 0, 0, 0, 0, 0, 0, 359,
360, 75, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 361, 362, 0, 0, 0, 0, 76, 77,
78, 79, 80, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
81, 0, 82, 83, 84, 85, 86, 87, 0, 0,
0, 88, 89, 90, 91, 92, 93, 94, 95, 96,
97, 98, 99, 100, 101, 102, 103, 69, 0, 0,
0, 0, 0, 0, 0, 0, 70, 0, 0, 0,
0, 71, 72, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 73, 612, 0, 613, 0, 614,
357, 0, 0, 0, 615, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 171, 0, 0, 359,
360, 75, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 361, 362, 0, 0, 0, 0, 76, 77,
78, 79, 80, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
81, 0, 82, 83, 84, 85, 86, 87, 0, 0,
0, 88, 89, 90, 91, 92, 93, 94, 95, 96,
97, 98, 99, 100, 101, 102, 103, 69, 0, 0,
0, 0, 0, 0, 0, 0, 70, 0, 0, 0,
0, 71, 72, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 73, 612, 0, 613, 0, 614,
357, 0, 0, 0, 615, 0, 0, 0, 0, 1,
2, 3, 4, 5, 6, 7, 8, 0, 0, 359,
360, 75, 628, 0, 10, 11, 12, 13, 14, 15,
16, 17, 361, 362, 0, 110, 0, 0, 76, 77,
78, 79, 80, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
81, 0, 82, 83, 84, 85, 86, 87, 0, 0,
0, 88, 89, 90, 91, 92, 93, 94, 95, 96,
97, 98, 99, 100, 101, 102, 103, 69, 0, 0,
0, 0, 0, 0, 0, 0, 70, 111, 112, 113,
0, 71, 72, 10, 11, 12, 13, 14, 15, 16,
17, 0, 0, 0, 73, 0, 0, 0, 0, 0,
0, 0, 0, 0, -542, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 75, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 76, 77,
78, 79, 80, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
81, 0, 82, 83, 84, 85, 86, 87, 0, 0,
0, 88, 89, 90, 91, 92, 93, 94, 95, 96,
97, 98, 99, 100, 101, 102, 103, 69, 0, 0,
0, 0, 0, 0, 0, 0, 70, 0, 0, 0,
0, 71, 72, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 73, 0, 0, 355, 0, 356,
357, 0, 0, 0, 358, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 359,
360, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 361, 362, 0, 0, 0, 0, 76, 77,
78, 79, 80, 0, 0, 0, 0, 0, 0, 0,
363, 0, 0, 0, 0, 0, 0, 0, 0, 0,
81, 0, 82, 83, 84, 85, 86, 87, 0, 0,
0, 88, 89, 90, 91, 92, 93, 94, 95, 96,
97, 98, 99, 100, 101, 102, 103, 69, 0, 0,
0, 0, 0, 0, 0, 0, 70, 0, 0, 0,
0, 71, 72, 10, 11, 12, 13, 14, 15, 16,
17, 0, 712, 0, 73, 448, 449, 450, 451, 452,
453, 454, 455, 456, 457, 458, 459, 460, 461, 462,
463, 464, 465, 0, 0, 0, 69, 0, 713, 0,
0, 75, 0, 0, 0, 70, 0, 0, 0, 0,
71, 72, 0, 0, 0, 0, 0, 0, 76, 77,
78, 79, 80, 73, 0, 0, 0, 0, 0, 0,
0, 0, 0, 74, 0, 0, 0, 0, 0, 0,
81, 0, 82, 83, 84, 85, 86, 87, 0, 0,
75, 88, 89, 90, 91, 92, 93, 94, 95, 96,
97, 98, 99, 100, 101, 102, 103, 76, 77, 78,
79, 80, 69, 0, 0, 0, 0, 0, 0, 0,
0, 70, 0, 0, 0, 0, 71, 72, 0, 81,
0, 82, 83, 84, 85, 86, 87, 0, 0, 73,
88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
98, 99, 100, 101, 102, 103, 0, 0, 0, 0,
0, 69, 0, 0, 0, 0, 75, 0, 0, 0,
70, 0, 0, 0, 0, 71, 72, 0, 0, 0,
0, 0, 0, 76, 77, 78, 79, 80, 73, 0,
0, 0, 0, 0, 0, 0, 0, 0, 444, 0,
0, 0, 0, 0, 0, 81, 0, 82, 83, 84,
85, 86, 87, 0, 0, 0, 88, 89, 90, 91,
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
102, 103, 76, 77, 78, 79, 80, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 81, 0, 82, 83, 84, 85,
86, 87, 0, 0, 0, 88, 89, 90, 91, 92,
93, 94, 95, 96, 97, 98, 99, 100, 101, 102,
103, 69, 0, 0, 0, 0, 0, 0, 0, 0,
70, 0, 0, 0, 0, 71, 72, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 73, 0,
0, 0, 0, 0, 0, 0, 0, 0, 477, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 69, 0, 0, 0, 0, 0, 0, 0,
0, 70, 0, 0, 0, 0, 71, 72, 0, 0,
0, 0, 76, 77, 78, 79, 80, 0, 0, 73,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 81, 0, 82, 83, 84, 85,
86, 87, 0, 0, 0, 88, 89, 90, 91, 92,
93, 94, 95, 96, 97, 98, 99, 100, 101, 102,
103, 741, 0, 76, 77, 78, 79, 80, 69, 0,
0, 0, 0, 0, 0, 0, 0, 70, 0, 0,
0, 0, 71, 72, 0, 81, 0, 82, 83, 84,
85, 86, 87, 0, 0, 73, 88, 89, 90, 91,
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
102, 103, 0, 0, 0, 0, 0, 69, 0, 0,
0, 0, 0, 0, 0, 0, 70, 0, 0, 0,
0, 71, 72, 0, 0, 0, 0, 824, 0, 76,
77, 78, 79, 80, 73, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 81, 0, 82, 83, 84, 85, 86, 87, 0,
0, 0, 88, 89, 90, 91, 92, 93, 94, 95,
96, 97, 98, 99, 100, 101, 102, 103, 76, 77,
78, 79, 80, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
81, 0, 82, 83, 84, 85, 86, 87, 0, 0,
0, 88, 89, 90, 91, 92, 93, 94, 95, 96,
97, 98, 99, 100, 101, 102, 103, 1, 2, 3,
4, 5, 6, 7, 8, 0, 0, 0, 0, 0,
720, 0, 10, 11, 12, 13, 14, 15, 16, 17,
0, 0, 0, 110, 0, 0, 0, 0, 0, 0,
19, 1, 2, 3, 4, 5, 6, 7, 8, 0,
0, 0, 0, 0, 720, 0, 10, 11, 12, 13,
14, 15, 16, 17, 0, 0, 0, 110, 0, 0,
0, 0, 0, 0, 19, 721, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 1, 2, 3, 4,
5, 6, 7, 8, 0, 111, 112, 113, 406, 9,
0, 10, 11, 12, 13, 14, 15, 16, 17, 724,
0, 0, 110, 0, 0, 0, 0, 0, 0, 19,
1, 2, 3, 4, 5, 6, 7, 8, 0, 111,
112, 113, 406, 9, 0, 10, 11, 12, 13, 14,
15, 16, 17, 0, 0, 0, 110, 0, 0, 0,
0, 0, 0, 19, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 1, 2, 3, 4, 5,
6, 7, 8, 0, 111, 112, 113, 114, 9, 0,
10, 11, 12, 13, 14, 15, 16, 17, 0, 0,
0, 110, 0, 0, 0, 0, 0, 0, 19, 1,
2, 3, 4, 5, 6, 7, 8, 0, 111, 112,
113, 114, 9, 0, 10, 11, 12, 13, 14, 15,
16, 17, 0, 0, 0, 110, 0, 0, 0, 0,
0, 0, 19, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 2, 3, 4, 5, 6,
7, 8, 0, 143, 144, 26, 114, 405, 0, 10,
11, 12, 13, 14, 15, 16, 17, 0, 0, 0,
110, 0, 0, 0, 0, 0, 0, 19, 1, 2,
3, 4, 5, 6, 7, 8, 0, 111, 112, 113,
114, 0, 0, 10, 11, 12, 13, 14, 15, 16,
17, 0, 0, 0, 110, 0, 0, 0, 438, 439,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 738, 441, 0, 0, 0,
0, 0, 111, 112, 113, 406, 448, 449, 450, 451,
452, 453, 454, 455, 456, 457, 458, 459, 460, 461,
462, 463, 464, 465, 0, 0, 0, 0, 0, 713,
663, 0, 0, 0, 0, 0, 111, 112, 113, 448,
449, 450, 451, 452, 453, 454, 455, 456, 457, 458,
459, 460, 461, 462, 463, 464, 465, 766, 0, 0,
0, 0, 466, 0, 0, 0, 448, 449, 450, 451,
452, 453, 454, 455, 456, 457, 458, 459, 460, 461,
462, 463, 464, 465, 879, 0, 0, 0, 0, 713,
0, 0, 0, 448, 449, 450, 451, 452, 453, 454,
455, 456, 457, 458, 459, 460, 461, 462, 463, 464,
465, 853, 0, 0, 0, 0, 713, 0, 0, 448,
449, 450, 451, 452, 453, 454, 455, 456, 457, 458,
459, 460, 461, 462, 463, 464, 465, 750, 0, 0,
0, 0, 713, 0, 448, 449, 450, 451, 452, 453,
454, 455, 456, 457, 458, 459, 460, 461, 462, 463,
464, 465, 807, 0, 0, 0, 0, 466, 0, 448,
449, 450, 451, 452, 453, 454, 455, 456, 457, 458,
459, 460, 461, 462, 463, 464, 465, 0, 0, 0,
0, 0, 713, 448, 449, 450, 451, 452, 453, 454,
455, 456, 457, 458, 459, 460, 461, 462, 463, 464,
465, 0, 0, 0, 0, 0, 466, 448, 449, 450,
451, 452, 453, 454, 455, 456, 457, 458, 459, 460,
461, 462, 463, 464, 465, 0, 0, 0, 0, 0,
713, 448, 449, 450, 451, 452, 453, 454, 455, 456,
457, 458, 459, 460, 461, 462, 463, 464, 465, 0,
0, 0, 0, 0, 466, 448, 449, 450, 451, 452,
453, 454, 455, 456, 457, 458, 459, 460, 461, 462,
463, 464, 465, 0, 0, 0, 0, 0, 713
};
static const short int yycheck[] =
{
41, 30, 9, 137, 18, 9, 0, 19, 23, 23,
148, 74, 396, 141, 366, 27, 470, 24, 25, 26,
470, 23, 422, 727, 141, 154, 155, 156, 169, 416,
378, 379, 419, 0, 393, 18, 177, 41, 729, 57,
761, 35, 763, 358, 756, 23, 29, 727, 34, 364,
33, 18, 32, 34, 35, 40, 9, 705, 11, 40,
34, 727, 29, 33, 52, 32, 33, 41, 35, 428,
74, 52, 57, 43, 6, 39, 3, 9, 782, 6,
44, 802, 34, 10, 218, 12, 13, 14, 15, 16,
17, 443, 72, 0, 446, 4, 5, 6, 105, 40,
9, 42, 114, 39, 111, 112, 113, 148, 774, 39,
40, 132, 42, 131, 41, 39, 782, 829, 42, 42,
479, 39, 45, 130, 40, 43, 44, 631, 819, 633,
145, 145, 447, 140, 141, 142, 143, 144, 142, 202,
126, 43, 44, 145, 148, 152, 43, 44, 860, 17,
18, 466, 467, 6, 7, 8, 804, 41, 42, 163,
175, 175, 40, 884, 44, 869, 857, 145, 209, 817,
44, 862, 57, 175, 854, 95, 183, 41, 42, 41,
42, 195, 196, 41, 42, 168, 143, 144, 854, 837,
197, 174, 199, 195, 196, 886, 38, 175, 202, 39,
880, 168, 40, 869, 45, 44, 43, 174, 608, 31,
31, 45, 31, 39, 880, 44, 44, 671, 31, 46,
40, 671, 676, 6, 40, 39, 676, 125, 40, 39,
358, 17, 18, 44, 43, 40, 364, 39, 39, 6,
48, 358, 34, 41, 385, 48, 630, 364, 632, 117,
118, 119, 120, 121, 122, 42, 615, 30, 617, 100,
101, 102, 103, 104, 105, 106, 100, 101, 102, 103,
104, 105, 106, 48, 40, 634, 40, 39, 48, 39,
32, 40, 4, 5, 6, 7, 8, 9, 10, 11,
48, 40, 39, 41, 33, 17, 41, 19, 20, 21,
22, 23, 24, 25, 26, 41, 41, 41, 30, 42,
39, 43, 43, 665, 41, 37, 668, 669, 41, 447,
41, 107, 108, 109, 110, 111, 112, 113, 114, 115,
447, 41, 395, 41, 43, 42, 42, 42, 466, 467,
41, 40, 729, 40, 407, 48, 42, 116, 33, 466,
467, 358, 43, 40, 713, 714, 363, 364, 100, 101,
102, 103, 104, 105, 106, 39, 407, 40, 727, 41,
92, 93, 94, 95, 415, 382, 417, 99, 39, 41,
43, 33, 42, 39, 42, 42, 770, 771, 41, 40,
32, 395, 42, 40, 406, 41, 33, 33, 41, 43,
41, 405, 42, 407, 42, 33, 765, 41, 130, 757,
758, 418, 42, 348, 477, 41, 41, 35, 175, 805,
140, 676, 671, 782, 431, 48, 176, 434, 440, 190,
471, 472, 819, 734, 749, 750, 606, 444, 790, 791,
447, 32, 196, 381, 797, 635, 805, 440, 807, 29,
763, 106, 880, 415, 388, 470, 470, 816, 419, 466,
467, 773, 736, -1, -1, -1, -1, -1, 470, -1,
857, -1, -1, 477, -1, 862, 470, -1, -1, -1,
-1, -1, -1, -1, -1, 4, 5, 6, 7, 8,
9, 10, 11, -1, 853, 854, -1, -1, 17, 886,
19, 20, 21, 22, 23, 24, 25, 26, -1, -1,
869, 30, -1, -1, -1, 38, -1, -1, 37, 38,
39, 880, 3, -1, -1, 6, -1, -1, -1, 10,
49, 12, 13, 14, 15, 16, 17, 675, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 678,
679, 74, 75, 76, 77, 78, 79, 80, 81, 82,
83, 84, 85, -1, 87, 88, 89, 90, -1, -1,
-1, -1, 91, 92, 93, 94, 95, 96, 97, -1,
99, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 659, -1, -1, -1,
-1, -1, -1, -1, 123, -1, -1, -1, -1, 128,
-1, 130, -1, 615, -1, 622, 657, 631, -1, 633,
627, 749, 750, -1, 628, -1, -1, -1, 635, 631,
-1, 633, 749, 750, 675, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 658, -1, -1, 788, 659, 671, 671, -1, -1,
-1, 676, 676, -1, -1, -1, -1, -1, -1, 671,
677, 675, -1, -1, 676, 682, -1, 671, -1, -1,
-1, -1, 676, -1, -1, -1, -1, -1, 3, -1,
731, -1, -1, 734, -1, -1, 708, 12, -1, -1,
-1, -1, 17, 18, 733, -1, -1, -1, -1, -1,
-1, 718, -1, -1, -1, 30, 720, -1, -1, -1,
-1, -1, -1, -1, -1, 40, -1, -1, -1, 736,
4, 5, 6, 7, 8, 9, 10, 11, -1, -1,
-1, -1, 749, 750, 785, 19, 20, 21, 22, 23,
24, 25, 26, -1, 795, -1, 30, 798, 799, 74,
75, 76, 77, 78, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 804, -1, -1, -1, -1,
-1, 96, 789, 98, 99, 100, 101, 102, 103, -1,
-1, -1, 107, 108, 109, 110, 111, 112, 113, 114,
115, 116, 117, 118, 119, 120, 121, 122, 849, -1,
-1, -1, -1, 854, -1, -1, -1, -1, 92, 93,
94, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 0, -1, 880,
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, -1, 89, -1, 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, -1, 125, 126, -1, 128, 129, 130, 131, 132,
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,
30, 31, 32, 33, 34, 35, 36, 37, -1, 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, -1, 89,
-1, 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, -1, -1, 126, -1, 128, 129,
130, 131, 132, 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, 30, 31, 32, 33, 34, 35, 36,
37, -1, 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, -1, 89, -1, 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, -1, -1, 126,
-1, 128, 129, 130, 131, 132, 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, 30, 31, 32, 33,
34, 35, 36, 37, -1, 39, 40, 41, 42, 43,
44, -1, 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, -1, 89, -1, 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,
3, -1, 126, -1, 128, 129, 130, 131, 132, 12,
-1, -1, -1, -1, 17, 18, -1, -1, -1, -1,
-1, -1, -1, -1, 27, 28, 29, 30, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 4, 5, 6, 7, 8, 9, 10,
11, -1, -1, -1, -1, -1, 17, -1, 19, 20,
21, 22, 23, 24, 25, 26, -1, -1, -1, 30,
-1, 74, 75, 76, 77, 78, 37, -1, -1, -1,
-1, -1, -1, -1, 45, -1, -1, -1, -1, -1,
-1, -1, -1, 96, -1, 98, 99, 100, 101, 102,
103, -1, -1, -1, 107, 108, 109, 110, 111, 112,
113, 114, 115, 116, 117, 118, 119, 120, 121, 122,
-1, -1, -1, -1, -1, 128, -1, 130, 131, -1,
-1, 92, 93, 94, 95, 4, 5, 6, 7, 8,
9, 10, 11, -1, -1, -1, -1, -1, 17, -1,
19, 20, 21, 22, 23, 24, 25, 26, -1, -1,
-1, 30, -1, -1, -1, -1, -1, 128, 37, -1,
-1, -1, 4, 5, 6, 7, 8, 9, 10, 11,
-1, -1, -1, -1, -1, 17, -1, 19, 20, 21,
22, 23, 24, 25, 26, -1, -1, -1, 30, -1,
-1, -1, -1, -1, -1, 37, -1, -1, -1, -1,
-1, -1, -1, -1, 4, 5, 6, 7, 8, 9,
10, 11, -1, 92, 93, 94, 95, 17, -1, 19,
20, 21, 22, 23, 24, 25, 26, -1, -1, -1,
30, -1, -1, -1, -1, -1, -1, 37, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 128,
92, 93, 94, 95, 4, 5, 6, 7, 8, 9,
10, 11, -1, -1, -1, -1, -1, 17, -1, 19,
20, 21, 22, 23, 24, 25, 26, -1, -1, -1,
30, -1, -1, -1, -1, -1, 128, 37, -1, -1,
-1, -1, 92, 93, 94, 95, -1, 3, 4, 5,
6, 7, 8, 9, 10, 11, 12, -1, -1, -1,
-1, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, -1, -1, -1, 30, 31, -1, 33, 128, 35,
36, 37, -1, -1, 40, -1, -1, -1, -1, -1,
-1, 91, 92, 93, 94, 95, -1, -1, -1, 55,
56, 57, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 68, 69, -1, -1, -1, -1, 74, 75,
76, 77, 78, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 92, 93, 94, 95,
96, -1, 98, 99, 100, 101, 102, 103, -1, -1,
-1, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 121, 122, 3, -1, -1,
-1, -1, -1, -1, -1, -1, 12, -1, -1, -1,
-1, 17, 18, -1, -1, -1, -1, -1, -1, -1,
-1, 27, 28, 29, 30, 31, -1, 33, 34, 35,
36, -1, -1, -1, 40, -1, -1, -1, 3, 4,
5, 6, 7, 8, 9, 10, 11, 12, -1, 55,
56, 57, 17, -1, 19, 20, 21, 22, 23, 24,
25, 26, 68, 69, -1, 30, -1, -1, 74, 75,
76, 77, 78, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
96, -1, 98, 99, 100, 101, 102, 103, -1, -1,
-1, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 121, 122, 3, -1, -1,
-1, -1, -1, -1, -1, -1, 12, 92, 93, 94,
-1, 17, 18, -1, -1, -1, -1, -1, -1, -1,
-1, 27, -1, -1, 30, 31, -1, 33, -1, 35,
36, -1, -1, -1, 40, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 52, -1, -1, 55,
56, 57, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 68, 69, -1, -1, -1, -1, 74, 75,
76, 77, 78, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
96, 97, 98, 99, 100, 101, 102, 103, -1, -1,
-1, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 121, 122, 3, -1, -1,
-1, -1, -1, -1, -1, -1, 12, -1, -1, -1,
-1, 17, 18, -1, -1, -1, -1, -1, -1, -1,
-1, 27, -1, -1, 30, 31, -1, 33, -1, 35,
36, -1, -1, -1, 40, -1, -1, -1, -1, 4,
5, 6, 7, 8, 9, 10, 11, -1, -1, 55,
56, 57, 17, -1, 19, 20, 21, 22, 23, 24,
25, 26, 68, 69, -1, 30, -1, -1, 74, 75,
76, 77, 78, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
96, 97, 98, 99, 100, 101, 102, 103, -1, -1,
-1, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 121, 122, 3, -1, -1,
-1, -1, -1, -1, -1, -1, 12, 92, 93, 94,
-1, 17, 18, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 30, 31, -1, 33, -1, 35,
36, -1, -1, -1, 40, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 52, -1, -1, 55,
56, 57, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 68, 69, -1, -1, 72, -1, 74, 75,
76, 77, 78, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
96, -1, 98, 99, 100, 101, 102, 103, -1, -1,
-1, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 121, 122, 3, -1, -1,
-1, -1, -1, -1, -1, -1, 12, -1, -1, -1,
-1, 17, 18, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 30, 31, 32, 33, -1, 35,
36, -1, -1, -1, 40, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 52, -1, -1, 55,
56, 57, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 68, 69, -1, -1, -1, -1, 74, 75,
76, 77, 78, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
96, -1, 98, 99, 100, 101, 102, 103, -1, -1,
-1, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 121, 122, 3, -1, -1,
-1, -1, -1, -1, -1, -1, 12, -1, -1, -1,
-1, 17, 18, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 30, 31, -1, 33, -1, 35,
36, -1, -1, -1, 40, -1, -1, -1, -1, -1,
-1, 47, -1, -1, -1, -1, -1, -1, -1, 55,
56, 57, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 68, 69, -1, -1, -1, -1, 74, 75,
76, 77, 78, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
96, -1, 98, 99, 100, 101, 102, 103, -1, -1,
-1, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 121, 122, 3, -1, -1,
-1, -1, -1, -1, -1, -1, 12, -1, -1, -1,
-1, 17, 18, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 30, 31, -1, 33, -1, 35,
36, -1, -1, -1, 40, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 52, -1, -1, 55,
56, 57, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 68, 69, -1, -1, -1, -1, 74, 75,
76, 77, 78, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
96, -1, 98, 99, 100, 101, 102, 103, -1, -1,
-1, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 121, 122, 3, -1, -1,
-1, -1, -1, -1, -1, -1, 12, -1, -1, -1,
-1, 17, 18, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 30, 31, -1, 33, -1, 35,
36, -1, -1, -1, 40, -1, -1, -1, -1, 4,
5, 6, 7, 8, 9, 10, 11, -1, -1, 55,
56, 57, 17, -1, 19, 20, 21, 22, 23, 24,
25, 26, 68, 69, -1, 30, -1, -1, 74, 75,
76, 77, 78, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
96, -1, 98, 99, 100, 101, 102, 103, -1, -1,
-1, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 121, 122, 3, -1, -1,
-1, -1, -1, -1, -1, -1, 12, 92, 93, 94,
-1, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, -1, -1, -1, 30, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 40, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 57, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 74, 75,
76, 77, 78, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
96, -1, 98, 99, 100, 101, 102, 103, -1, -1,
-1, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 121, 122, 3, -1, -1,
-1, -1, -1, -1, -1, -1, 12, -1, -1, -1,
-1, 17, 18, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 30, -1, -1, 33, -1, 35,
36, -1, -1, -1, 40, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 55,
56, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 68, 69, -1, -1, -1, -1, 74, 75,
76, 77, 78, -1, -1, -1, -1, -1, -1, -1,
86, -1, -1, -1, -1, -1, -1, -1, -1, -1,
96, -1, 98, 99, 100, 101, 102, 103, -1, -1,
-1, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 121, 122, 3, -1, -1,
-1, -1, -1, -1, -1, -1, 12, -1, -1, -1,
-1, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, -1, 47, -1, 30, 50, 51, 52, 53, 54,
55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
65, 66, 67, -1, -1, -1, 3, -1, 73, -1,
-1, 57, -1, -1, -1, 12, -1, -1, -1, -1,
17, 18, -1, -1, -1, -1, -1, -1, 74, 75,
76, 77, 78, 30, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 40, -1, -1, -1, -1, -1, -1,
96, -1, 98, 99, 100, 101, 102, 103, -1, -1,
57, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 121, 122, 74, 75, 76,
77, 78, 3, -1, -1, -1, -1, -1, -1, -1,
-1, 12, -1, -1, -1, -1, 17, 18, -1, 96,
-1, 98, 99, 100, 101, 102, 103, -1, -1, 30,
107, 108, 109, 110, 111, 112, 113, 114, 115, 116,
117, 118, 119, 120, 121, 122, -1, -1, -1, -1,
-1, 3, -1, -1, -1, -1, 57, -1, -1, -1,
12, -1, -1, -1, -1, 17, 18, -1, -1, -1,
-1, -1, -1, 74, 75, 76, 77, 78, 30, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 40, -1,
-1, -1, -1, -1, -1, 96, -1, 98, 99, 100,
101, 102, 103, -1, -1, -1, 107, 108, 109, 110,
111, 112, 113, 114, 115, 116, 117, 118, 119, 120,
121, 122, 74, 75, 76, 77, 78, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 96, -1, 98, 99, 100, 101,
102, 103, -1, -1, -1, 107, 108, 109, 110, 111,
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
122, 3, -1, -1, -1, -1, -1, -1, -1, -1,
12, -1, -1, -1, -1, 17, 18, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 30, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 40, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 3, -1, -1, -1, -1, -1, -1, -1,
-1, 12, -1, -1, -1, -1, 17, 18, -1, -1,
-1, -1, 74, 75, 76, 77, 78, -1, -1, 30,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 96, -1, 98, 99, 100, 101,
102, 103, -1, -1, -1, 107, 108, 109, 110, 111,
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
122, 72, -1, 74, 75, 76, 77, 78, 3, -1,
-1, -1, -1, -1, -1, -1, -1, 12, -1, -1,
-1, -1, 17, 18, -1, 96, -1, 98, 99, 100,
101, 102, 103, -1, -1, 30, 107, 108, 109, 110,
111, 112, 113, 114, 115, 116, 117, 118, 119, 120,
121, 122, -1, -1, -1, -1, -1, 3, -1, -1,
-1, -1, -1, -1, -1, -1, 12, -1, -1, -1,
-1, 17, 18, -1, -1, -1, -1, 72, -1, 74,
75, 76, 77, 78, 30, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 96, -1, 98, 99, 100, 101, 102, 103, -1,
-1, -1, 107, 108, 109, 110, 111, 112, 113, 114,
115, 116, 117, 118, 119, 120, 121, 122, 74, 75,
76, 77, 78, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
96, -1, 98, 99, 100, 101, 102, 103, -1, -1,
-1, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 121, 122, 4, 5, 6,
7, 8, 9, 10, 11, -1, -1, -1, -1, -1,
17, -1, 19, 20, 21, 22, 23, 24, 25, 26,
-1, -1, -1, 30, -1, -1, -1, -1, -1, -1,
37, 4, 5, 6, 7, 8, 9, 10, 11, -1,
-1, -1, -1, -1, 17, -1, 19, 20, 21, 22,
23, 24, 25, 26, -1, -1, -1, 30, -1, -1,
-1, -1, -1, -1, 37, 72, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 4, 5, 6, 7,
8, 9, 10, 11, -1, 92, 93, 94, 95, 17,
-1, 19, 20, 21, 22, 23, 24, 25, 26, 72,
-1, -1, 30, -1, -1, -1, -1, -1, -1, 37,
4, 5, 6, 7, 8, 9, 10, 11, -1, 92,
93, 94, 95, 17, -1, 19, 20, 21, 22, 23,
24, 25, 26, -1, -1, -1, 30, -1, -1, -1,
-1, -1, -1, 37, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 4, 5, 6, 7, 8,
9, 10, 11, -1, 92, 93, 94, 95, 17, -1,
19, 20, 21, 22, 23, 24, 25, 26, -1, -1,
-1, 30, -1, -1, -1, -1, -1, -1, 37, 4,
5, 6, 7, 8, 9, 10, 11, -1, 92, 93,
94, 95, 17, -1, 19, 20, 21, 22, 23, 24,
25, 26, -1, -1, -1, 30, -1, -1, -1, -1,
-1, -1, 37, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 4, 5, 6, 7, 8, 9,
10, 11, -1, 92, 93, 94, 95, 17, -1, 19,
20, 21, 22, 23, 24, 25, 26, -1, -1, -1,
30, -1, -1, -1, -1, -1, -1, 37, 4, 5,
6, 7, 8, 9, 10, 11, -1, 92, 93, 94,
95, -1, -1, 19, 20, 21, 22, 23, 24, 25,
26, -1, -1, -1, 30, -1, -1, -1, 34, 35,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 39, 52, -1, -1, -1,
-1, -1, 92, 93, 94, 95, 50, 51, 52, 53,
54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
64, 65, 66, 67, -1, -1, -1, -1, -1, 73,
41, -1, -1, -1, -1, -1, 92, 93, 94, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
61, 62, 63, 64, 65, 66, 67, 41, -1, -1,
-1, -1, 73, -1, -1, -1, 50, 51, 52, 53,
54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
64, 65, 66, 67, 41, -1, -1, -1, -1, 73,
-1, -1, -1, 50, 51, 52, 53, 54, 55, 56,
57, 58, 59, 60, 61, 62, 63, 64, 65, 66,
67, 42, -1, -1, -1, -1, 73, -1, -1, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
61, 62, 63, 64, 65, 66, 67, 43, -1, -1,
-1, -1, 73, -1, 50, 51, 52, 53, 54, 55,
56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
66, 67, 43, -1, -1, -1, -1, 73, -1, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
61, 62, 63, 64, 65, 66, 67, -1, -1, -1,
-1, -1, 73, 50, 51, 52, 53, 54, 55, 56,
57, 58, 59, 60, 61, 62, 63, 64, 65, 66,
67, -1, -1, -1, -1, -1, 73, 50, 51, 52,
53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
63, 64, 65, 66, 67, -1, -1, -1, -1, -1,
73, 50, 51, 52, 53, 54, 55, 56, 57, 58,
59, 60, 61, 62, 63, 64, 65, 66, 67, -1,
-1, -1, -1, -1, 73, 50, 51, 52, 53, 54,
55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
65, 66, 67, -1, -1, -1, -1, -1, 73
};
/* 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,
19, 20, 21, 22, 23, 24, 25, 26, 30, 37,
38, 39, 49, 91, 92, 93, 94, 95, 96, 97,
99, 123, 128, 130, 141, 142, 143, 144, 145, 163,
168, 173, 174, 175, 176, 177, 178, 179, 180, 181,
186, 189, 190, 193, 197, 198, 199, 200, 201, 202,
205, 207, 208, 214, 222, 233, 234, 9, 11, 3,
12, 17, 18, 30, 40, 57, 74, 75, 76, 77,
78, 96, 98, 99, 100, 101, 102, 103, 107, 108,
109, 110, 111, 112, 113, 114, 115, 116, 117, 118,
119, 120, 121, 122, 138, 230, 231, 232, 249, 259,
30, 92, 93, 94, 95, 198, 205, 174, 38, 74,
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
85, 87, 88, 89, 90, 146, 147, 148, 149, 151,
152, 153, 17, 92, 93, 128, 169, 171, 173, 199,
200, 205, 214, 223, 224, 138, 138, 138, 225, 3,
6, 10, 12, 17, 164, 165, 174, 34, 130, 198,
234, 52, 267, 268, 30, 91, 197, 198, 0, 143,
138, 206, 229, 230, 4, 5, 6, 9, 182, 6,
179, 185, 39, 132, 187, 40, 40, 44, 44, 229,
230, 95, 40, 138, 131, 232, 138, 138, 138, 42,
191, 27, 28, 29, 128, 130, 131, 138, 154, 155,
38, 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, 30,
31, 32, 33, 34, 35, 36, 37, 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, 89, 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,
126, 128, 129, 130, 131, 132, 139, 158, 159, 158,
34, 126, 150, 138, 154, 33, 35, 36, 40, 55,
56, 68, 69, 86, 137, 138, 160, 219, 138, 138,
225, 138, 225, 171, 39, 178, 138, 43, 227, 227,
227, 227, 230, 31, 39, 198, 44, 194, 44, 31,
169, 187, 194, 46, 228, 40, 138, 6, 183, 6,
9, 184, 182, 40, 39, 17, 95, 173, 203, 204,
205, 203, 138, 215, 216, 100, 101, 102, 103, 104,
105, 106, 240, 241, 242, 255, 256, 262, 263, 264,
138, 229, 192, 206, 230, 125, 158, 139, 34, 35,
40, 52, 221, 160, 40, 138, 160, 40, 50, 51,
52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
62, 63, 64, 65, 66, 67, 73, 136, 39, 43,
44, 210, 210, 39, 209, 210, 209, 40, 138, 48,
194, 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, 30,
31, 32, 33, 34, 35, 36, 37, 39, 40, 41,
42, 43, 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, 89, 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, 126, 128,
129, 130, 131, 132, 140, 194, 195, 196, 240, 40,
39, 39, 31, 33, 35, 40, 47, 137, 206, 217,
218, 219, 229, 228, 6, 34, 188, 230, 17, 229,
41, 42, 41, 42, 48, 42, 45, 206, 245, 217,
237, 257, 258, 259, 267, 206, 138, 265, 266, 18,
258, 259, 45, 241, 217, 41, 138, 42, 40, 174,
220, 221, 30, 41, 138, 160, 161, 162, 160, 160,
40, 128, 170, 171, 172, 173, 211, 214, 223, 224,
206, 206, 229, 27, 28, 29, 34, 166, 167, 217,
45, 196, 45, 3, 6, 10, 12, 13, 14, 15,
16, 17, 41, 235, 236, 238, 239, 30, 95, 173,
217, 217, 47, 73, 136, 138, 34, 41, 230, 228,
17, 72, 204, 228, 72, 217, 216, 48, 39, 48,
39, 40, 32, 48, 40, 39, 42, 39, 39, 41,
206, 72, 138, 156, 157, 229, 41, 41, 41, 42,
43, 33, 172, 43, 226, 45, 170, 227, 227, 138,
39, 43, 41, 42, 237, 41, 41, 217, 217, 41,
41, 41, 27, 97, 98, 116, 217, 244, 246, 247,
248, 249, 268, 257, 206, 267, 192, 266, 41, 42,
160, 160, 42, 33, 43, 42, 212, 226, 210, 210,
41, 238, 43, 236, 238, 48, 217, 43, 228, 228,
116, 246, 17, 18, 249, 252, 40, 40, 244, 42,
260, 206, 41, 158, 72, 138, 33, 43, 40, 206,
213, 39, 212, 238, 267, 166, 217, 40, 217, 237,
72, 257, 261, 41, 39, 41, 43, 33, 226, 42,
39, 72, 237, 42, 42, 250, 41, 42, 40, 42,
206, 32, 40, 217, 206, 243, 244, 245, 251, 268,
41, 257, 33, 33, 226, 41, 253, 254, 257, 41,
42, 244, 42, 41, 43, 41, 42, 243, 33, 238,
41, 257, 41
};
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
static const unsigned short int yyr1[] =
{
0, 135, 136, 136, 136, 136, 136, 136, 136, 136,
136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
137, 137, 137, 137, 138, 138, 138, 138, 138, 138,
138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
138, 138, 139, 139, 139, 139, 139, 139, 139, 139,
139, 139, 139, 139, 139, 139, 139, 139, 139, 139,
139, 139, 139, 139, 139, 139, 139, 139, 139, 139,
139, 139, 139, 139, 139, 139, 139, 139, 139, 139,
139, 139, 139, 139, 139, 139, 139, 139, 139, 139,
139, 139, 139, 139, 139, 139, 139, 139, 139, 139,
139, 139, 139, 139, 139, 139, 139, 139, 139, 139,
139, 139, 139, 139, 139, 139, 139, 139, 139, 139,
139, 139, 139, 139, 139, 139, 139, 139, 139, 139,
139, 139, 139, 139, 139, 139, 139, 139, 139, 139,
139, 139, 139, 139, 139, 139, 139, 139, 139, 139,
139, 139, 139, 139, 139, 139, 139, 139, 139, 139,
139, 139, 139, 139, 139, 139, 139, 140, 140, 140,
140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
141, 141, 142, 142, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 144, 145,
145, 146, 146, 146, 146, 146, 146, 146, 146, 147,
147, 148, 148, 149, 149, 149, 150, 150, 151, 151,
152, 152, 152, 153, 153, 154, 154, 154, 154, 154,
154, 154, 155, 155, 156, 156, 156, 156, 157, 157,
158, 158, 159, 159, 160, 160, 160, 160, 160, 160,
160, 160, 160, 160, 160, 161, 161, 162, 162, 163,
164, 165, 165, 165, 165, 166, 166, 166, 167, 167,
167, 167, 168, 168, 168, 169, 169, 170, 170, 171,
171, 171, 171, 171, 171, 172, 172, 172, 172, 172,
173, 173, 173, 174, 174, 175, 175, 175, 176, 176,
176, 176, 177, 177, 177, 178, 178, 178, 178, 178,
178, 178, 178, 179, 179, 180, 180, 180, 181, 181,
181, 181, 182, 182, 182, 182, 182, 183, 183, 184,
184, 184, 184, 185, 185, 185, 186, 186, 187, 187,
188, 188, 189, 190, 191, 191, 192, 192, 193, 193,
193, 194, 195, 195, 196, 196, 197, 197, 198, 198,
199, 199, 200, 200, 201, 201, 201, 201, 202, 202,
203, 203, 203, 203, 204, 204, 204, 204, 205, 205,
205, 205, 206, 206, 207, 208, 209, 209, 210, 211,
211, 212, 212, 213, 213, 214, 215, 215, 216, 216,
217, 217, 217, 217, 217, 217, 218, 218, 218, 218,
218, 219, 219, 220, 220, 221, 221, 221, 222, 223,
224, 225, 225, 226, 226, 226, 226, 227, 227, 228,
228, 228, 229, 229, 230, 230, 231, 231, 232, 232,
233, 233, 234, 234, 234, 235, 235, 236, 236, 237,
238, 239, 239, 239, 239, 239, 239, 239, 239, 239,
240, 240, 241, 241, 241, 241, 241, 242, 242, 243,
243, 243, 244, 244, 244, 244, 244, 244, 245, 245,
246, 247, 248, 249, 249, 249, 249, 249, 249, 249,
249, 249, 249, 250, 250, 251, 251, 252, 252, 253,
253, 254, 254, 255, 256, 257, 257, 257, 258, 258,
259, 259, 259, 259, 259, 259, 259, 259, 260, 260,
261, 261, 262, 263, 263, 264, 265, 265, 266, 267,
267, 268
};
/* 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,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0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 5,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 265, 0, 0, 0, 0, 267, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 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,
9, 11, 13, 15, 17, 19, 21, 23, 25, 27,
29, 31, 33, 35, 37, 39, 41, 43, 45, 47,
49, 51, 53, 55, 57, 59, 61, 63, 65, 67,
69, 71, 73, 75, 77, 79, 81, 83, 85, 87,
89, 91, 93, 95, 97, 99, 101, 103, 105, 107,
109, 111, 113, 115, 117, 119, 121, 123, 125, 127,
129, 131, 133, 135, 137, 139, 141, 143, 145, 147,
149, 151, 153, 155, 157, 159, 161, 163, 165, 167,
169, 171, 173, 175, 177, 0, 179, 0, 181, 183,
185, 187, 189, 191, 193, 195, 197, 199, 201, 203,
205, 207, 209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, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 271, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 273
};
/* YYCONFL[I] -- lists of conflicting rule numbers, each terminated by
0, pointed into by YYCONFLP. */
static const short int yyconfl[] =
{
0, 411, 0, 411, 0, 488, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 626, 0, 626, 0, 626, 0, 626, 0, 626,
0, 411, 0, 411, 0, 532, 0, 532, 0, 411,
0, 357, 0, 515, 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
# 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);
}
/*--------------------------------.
| 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
/* 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
/* 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
#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
#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;
}
# 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;
}
# 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)
{
if (yymsg != YY_NULLPTR)
yyerror (P, tokens, index, yymsg);
YYLONGJMP (yystackp->yyexception_buffer, 1);
}
static _Noreturn void
yyMemoryExhausted (yyGLRStack* yystackp)
{
YYLONGJMP (yystackp->yyexception_buffer, 2);
}
#if YYDEBUG || YYERROR_VERBOSE
/** A printable representation of TOKEN. */
static inline const char*
yytokenName (yySymbol yytoken)
{
if (yytoken == YYEMPTY)
return "";
return yytname[yytoken];
}
#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)
{
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;
}
}
/* 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;
}
/** 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 297:
#line 399 "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)));
}
}
#line 2901 "src/parser_proc.c" /* glr.c:816 */
break;
case 298:
#line 405 "src/parser_proc_grammar.y" /* glr.c:816 */
{
if (P->file.ln) {
P->error(PSI_DATA(P), (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), PSI_WARNING,
"Extra 'lib \"%s\"' statement has no effect", (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text);
} else {
P->file.ln = strndup((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->size);
}
}
#line 2914 "src/parser_proc.c" /* glr.c:816 */
break;
case 299:
#line 413 "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)));
}
#line 2922 "src/parser_proc.c" /* glr.c:816 */
break;
case 300:
#line 416 "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)));
}
#line 2930 "src/parser_proc.c" /* glr.c:816 */
break;
case 303:
#line 421 "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)));
}
#line 2938 "src/parser_proc.c" /* glr.c:816 */
break;
case 304:
#line 424 "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)));
}
#line 2946 "src/parser_proc.c" /* glr.c:816 */
break;
case 305:
#line 427 "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)));
}
#line 2954 "src/parser_proc.c" /* glr.c:816 */
break;
case 306:
#line 430 "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)));
}
#line 2962 "src/parser_proc.c" /* glr.c:816 */
break;
case 307:
#line 433 "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)));
}
#line 2970 "src/parser_proc.c" /* glr.c:816 */
break;
case 308:
#line 439 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_token **)(&(*yyvalp))) = (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
#line 2978 "src/parser_proc.c" /* glr.c:816 */
break;
case 309:
#line 445 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_cpp_exp **)(&(*yyvalp))) = NULL;
}
#line 2986 "src/parser_proc.c" /* glr.c:816 */
break;
case 310:
#line 448 "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));
}
#line 2994 "src/parser_proc.c" /* glr.c:816 */
break;
case 311:
#line 454 "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)));
}
#line 3022 "src/parser_proc.c" /* glr.c:816 */
break;
case 312:
#line 477 "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 3031 "src/parser_proc.c" /* glr.c:816 */
break;
case 313:
#line 481 "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 3040 "src/parser_proc.c" /* glr.c:816 */
break;
case 314:
#line 485 "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 3050 "src/parser_proc.c" /* glr.c:816 */
break;
case 315:
#line 490 "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 3059 "src/parser_proc.c" /* glr.c:816 */
break;
case 316:
#line 494 "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 3068 "src/parser_proc.c" /* glr.c:816 */
break;
case 317:
#line 498 "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 3077 "src/parser_proc.c" /* glr.c:816 */
break;
case 318:
#line 502 "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 3086 "src/parser_proc.c" /* glr.c:816 */
break;
case 342:
#line 556 "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 3096 "src/parser_proc.c" /* glr.c:816 */
break;
case 343:
#line 561 "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 3106 "src/parser_proc.c" /* glr.c:816 */
break;
case 344:
#line 569 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = psi_plist_init(NULL);
}
#line 3114 "src/parser_proc.c" /* glr.c:816 */
break;
case 345:
#line 572 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = psi_plist_init(NULL); /* FIXME */
}
#line 3122 "src/parser_proc.c" /* glr.c:816 */
break;
case 347:
#line 576 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
}
#line 3130 "src/parser_proc.c" /* glr.c:816 */
break;
case 348:
#line 582 "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 3140 "src/parser_proc.c" /* glr.c:816 */
break;
case 349:
#line 587 "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 3150 "src/parser_proc.c" /* glr.c:816 */
break;
case 350:
#line 595 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 3158 "src/parser_proc.c" /* glr.c:816 */
break;
case 352:
#line 602 "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 3167 "src/parser_proc.c" /* glr.c:816 */
break;
case 353:
#line 606 "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 3176 "src/parser_proc.c" /* glr.c:816 */
break;
case 354:
#line 613 "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 3185 "src/parser_proc.c" /* glr.c:816 */
break;
case 355:
#line 617 "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 3194 "src/parser_proc.c" /* glr.c:816 */
break;
case 356:
#line 621 "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 3203 "src/parser_proc.c" /* glr.c:816 */
break;
case 357:
#line 625 "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 3212 "src/parser_proc.c" /* glr.c:816 */
break;
case 358:
#line 630 "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 (0)].yystate.yysemantics.yysval)));
}
}
#line 3227 "src/parser_proc.c" /* glr.c:816 */
break;
case 359:
#line 640 "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 (-1)].yystate.yysemantics.yysval)));
}
}
#line 3242 "src/parser_proc.c" /* glr.c:816 */
break;
case 360:
#line 650 "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 3252 "src/parser_proc.c" /* glr.c:816 */
break;
case 361:
#line 655 "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 3262 "src/parser_proc.c" /* glr.c:816 */
break;
case 362:
#line 660 "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 3271 "src/parser_proc.c" /* glr.c:816 */
break;
case 363:
#line 664 "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 3282 "src/parser_proc.c" /* glr.c:816 */
break;
case 364:
#line 670 "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)));
}
#line 3293 "src/parser_proc.c" /* glr.c:816 */
break;
case 365:
#line 679 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 3301 "src/parser_proc.c" /* glr.c:816 */
break;
case 367:
#line 686 "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 3310 "src/parser_proc.c" /* glr.c:816 */
break;
case 368:
#line 690 "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)));
}
#line 3318 "src/parser_proc.c" /* glr.c:816 */
break;
case 369:
#line 696 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_const **)(&(*yyvalp))) = psi_const_init((*(struct psi_const_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 3327 "src/parser_proc.c" /* glr.c:816 */
break;
case 370:
#line 703 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_const_type **)(&(*yyvalp))) = psi_const_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);
}
#line 3335 "src/parser_proc.c" /* glr.c:816 */
break;
case 375:
#line 716 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_impl_def_val **)(&(*yyvalp))) = NULL;
}
#line 3343 "src/parser_proc.c" /* glr.c:816 */
break;
case 376:
#line 719 "src/parser_proc_grammar.y" /* glr.c:816 */
{
if (psi_num_exp_validate(PSI_DATA(P), (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), NULL, NULL, NULL, NULL, NULL)) {
impl_val res = {0};
token_t type = psi_num_exp_exec((*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), &res, NULL, &P->preproc->defs);
if (type == PSI_T_FLOAT || type == PSI_T_DOUBLE) {
(*(struct psi_impl_def_val **)(&(*yyvalp))) = psi_impl_def_val_init(type, NULL);
} else {
(*(struct psi_impl_def_val **)(&(*yyvalp))) = psi_impl_def_val_init(PSI_T_INT, NULL);
}
switch (type) {
case PSI_T_UINT8: (*(struct psi_impl_def_val **)(&(*yyvalp)))->ival.zend.lval = res.u8; break;
case PSI_T_UINT16: (*(struct psi_impl_def_val **)(&(*yyvalp)))->ival.zend.lval = res.u16; break;
case PSI_T_UINT32: (*(struct psi_impl_def_val **)(&(*yyvalp)))->ival.zend.lval = res.u32; break;
case PSI_T_UINT64: (*(struct psi_impl_def_val **)(&(*yyvalp)))->ival.zend.lval = res.u64; break; /* FIXME */
case PSI_T_INT8: (*(struct psi_impl_def_val **)(&(*yyvalp)))->ival.zend.lval = res.i8; break;
case PSI_T_INT16: (*(struct psi_impl_def_val **)(&(*yyvalp)))->ival.zend.lval = res.i16; break;
case PSI_T_INT32: (*(struct psi_impl_def_val **)(&(*yyvalp)))->ival.zend.lval = res.i32; break;
case PSI_T_INT64: (*(struct psi_impl_def_val **)(&(*yyvalp)))->ival.zend.lval = res.i64; break;
case PSI_T_FLOAT: (*(struct psi_impl_def_val **)(&(*yyvalp)))->ival.dval = res.fval; break;
case PSI_T_DOUBLE: (*(struct psi_impl_def_val **)(&(*yyvalp)))->ival.dval = res.dval; break;
default:
assert(0);
}
} else {
(*(struct psi_impl_def_val **)(&(*yyvalp))) = NULL;
}
psi_num_exp_free(&(*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
#line 3379 "src/parser_proc.c" /* glr.c:816 */
break;
case 377:
#line 750 "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 3388 "src/parser_proc.c" /* glr.c:816 */
break;
case 382:
#line 764 "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));
}
#line 3396 "src/parser_proc.c" /* glr.c:816 */
break;
case 383:
#line 767 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init(
psi_decl_type_init(PSI_T_VOID, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->text),
psi_decl_var_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->text, 0, 0)
);
(*(struct psi_decl_arg **)(&(*yyvalp)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
(*(struct psi_decl_arg **)(&(*yyvalp)))->type->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
(*(struct psi_decl_arg **)(&(*yyvalp)))->var->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
}
#line 3410 "src/parser_proc.c" /* glr.c:816 */
break;
case 384:
#line 776 "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));
}
#line 3418 "src/parser_proc.c" /* glr.c:816 */
break;
case 385:
#line 782 "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));
}
#line 3426 "src/parser_proc.c" /* glr.c:816 */
break;
case 386:
#line 785 "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));
}
#line 3434 "src/parser_proc.c" /* glr.c:816 */
break;
case 387:
#line 791 "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));
}
#line 3442 "src/parser_proc.c" /* glr.c:816 */
break;
case 388:
#line 794 "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));
}
#line 3450 "src/parser_proc.c" /* glr.c:816 */
break;
case 390:
#line 801 "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 3463 "src/parser_proc.c" /* glr.c:816 */
break;
case 391:
#line 809 "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 3479 "src/parser_proc.c" /* glr.c:816 */
break;
case 392:
#line 820 "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 3493 "src/parser_proc.c" /* glr.c:816 */
break;
case 393:
#line 829 "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 3507 "src/parser_proc.c" /* glr.c:816 */
break;
case 394:
#line 838 "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((*(struct psi_decl_type **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), 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)));
}
#line 3517 "src/parser_proc.c" /* glr.c:816 */
break;
case 396:
#line 847 "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 3526 "src/parser_proc.c" /* glr.c:816 */
break;
case 397:
#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_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 3541 "src/parser_proc.c" /* glr.c:816 */
break;
case 398:
#line 861 "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 3555 "src/parser_proc.c" /* glr.c:816 */
break;
case 399:
#line 870 "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 3569 "src/parser_proc.c" /* glr.c:816 */
break;
case 400:
#line 882 "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));
}
#line 3577 "src/parser_proc.c" /* glr.c:816 */
break;
case 401:
#line 885 "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));
}
#line 3585 "src/parser_proc.c" /* glr.c:816 */
break;
case 403:
#line 892 "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 3594 "src/parser_proc.c" /* glr.c:816 */
break;
case 405:
#line 900 "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 3604 "src/parser_proc.c" /* glr.c:816 */
break;
case 406:
#line 905 "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 3614 "src/parser_proc.c" /* glr.c:816 */
break;
case 407:
#line 910 "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 3624 "src/parser_proc.c" /* glr.c:816 */
break;
case 410:
#line 920 "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 3632 "src/parser_proc.c" /* glr.c:816 */
break;
case 411:
#line 923 "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 3640 "src/parser_proc.c" /* glr.c:816 */
break;
case 412:
#line 929 "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 3648 "src/parser_proc.c" /* glr.c:816 */
break;
case 413:
#line 932 "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 3656 "src/parser_proc.c" /* glr.c:816 */
break;
case 414:
#line 935 "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 3664 "src/parser_proc.c" /* glr.c:816 */
break;
case 425:
#line 957 "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 3672 "src/parser_proc.c" /* glr.c:816 */
break;
case 426:
#line 960 "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 3680 "src/parser_proc.c" /* glr.c:816 */
break;
case 427:
#line 963 "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 3688 "src/parser_proc.c" /* glr.c:816 */
break;
case 428:
#line 969 "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 3696 "src/parser_proc.c" /* glr.c:816 */
break;
case 429:
#line 972 "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 3704 "src/parser_proc.c" /* glr.c:816 */
break;
case 430:
#line 975 "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 3717 "src/parser_proc.c" /* glr.c:816 */
break;
case 431:
#line 983 "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 3731 "src/parser_proc.c" /* glr.c:816 */
break;
case 432:
#line 995 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_token **)(&(*yyvalp))) = NULL;
}
#line 3739 "src/parser_proc.c" /* glr.c:816 */
break;
case 433:
#line 998 "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 3747 "src/parser_proc.c" /* glr.c:816 */
break;
case 434:
#line 1001 "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 3759 "src/parser_proc.c" /* glr.c:816 */
break;
case 435:
#line 1008 "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 3767 "src/parser_proc.c" /* glr.c:816 */
break;
case 436:
#line 1011 "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 3779 "src/parser_proc.c" /* glr.c:816 */
break;
case 437:
#line 1021 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_token **)(&(*yyvalp))) = NULL;
}
#line 3787 "src/parser_proc.c" /* glr.c:816 */
break;
case 439:
#line 1027 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_token **)(&(*yyvalp))) = NULL;
}
#line 3795 "src/parser_proc.c" /* glr.c:816 */
break;
case 443:
#line 1036 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_token **)(&(*yyvalp))) = NULL;
}
#line 3803 "src/parser_proc.c" /* glr.c:816 */
break;
case 444:
#line 1039 "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 3811 "src/parser_proc.c" /* glr.c:816 */
break;
case 445:
#line 1042 "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 3824 "src/parser_proc.c" /* glr.c:816 */
break;
case 446:
#line 1053 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_decl **)(&(*yyvalp))) = (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
}
#line 3832 "src/parser_proc.c" /* glr.c:816 */
break;
case 447:
#line 1056 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_decl **)(&(*yyvalp))) = (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
}
#line 3840 "src/parser_proc.c" /* glr.c:816 */
break;
case 453:
#line 1076 "src/parser_proc_grammar.y" /* glr.c:816 */
{
psi_decl_arg_free(&(*(struct psi_decl_arg **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
}
#line 3848 "src/parser_proc.c" /* glr.c:816 */
break;
case 455:
#line 1083 "src/parser_proc_grammar.y" /* glr.c:816 */
{
psi_plist_free((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
#line 3856 "src/parser_proc.c" /* glr.c:816 */
break;
case 456:
#line 1089 "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)));
}
#line 3864 "src/parser_proc.c" /* glr.c:816 */
break;
case 457:
#line 1092 "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 3872 "src/parser_proc.c" /* glr.c:816 */
break;
case 458:
#line 1098 "src/parser_proc_grammar.y" /* glr.c:816 */
{
psi_decl_free(&(*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
}
#line 3880 "src/parser_proc.c" /* glr.c:816 */
break;
case 459:
#line 1101 "src/parser_proc_grammar.y" /* glr.c:816 */
{
psi_decl_free(&(*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
}
#line 3888 "src/parser_proc.c" /* glr.c:816 */
break;
case 460:
#line 1104 "src/parser_proc_grammar.y" /* glr.c:816 */
{
psi_decl_free(&(*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
}
#line 3896 "src/parser_proc.c" /* glr.c:816 */
break;
case 467:
#line 1125 "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 3905 "src/parser_proc.c" /* glr.c:816 */
break;
case 470:
#line 1137 "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 3917 "src/parser_proc.c" /* glr.c:816 */
break;
case 471:
#line 1144 "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 3930 "src/parser_proc.c" /* glr.c:816 */
break;
case 472:
#line 1155 "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 3942 "src/parser_proc.c" /* glr.c:816 */
break;
case 473:
#line 1162 "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 3955 "src/parser_proc.c" /* glr.c:816 */
break;
case 474:
#line 1173 "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 3967 "src/parser_proc.c" /* glr.c:816 */
break;
case 475:
#line 1180 "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(
psi_decl_type_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),
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)))->type->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval)));
(*(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 3983 "src/parser_proc.c" /* glr.c:816 */
break;
case 476:
#line 1191 "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(
psi_decl_type_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),
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)))->type->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval)));
(*(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 3999 "src/parser_proc.c" /* glr.c:816 */
break;
case 477:
#line 1202 "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(
psi_decl_type_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),
psi_decl_var_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->text, 0, 0)
);
(*(struct psi_decl_arg **)(&(*yyvalp)))->type->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval)));
(*(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 4015 "src/parser_proc.c" /* glr.c:816 */
break;
case 479:
#line 1217 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init(
psi_decl_type_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->text),
psi_decl_var_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text, 0, 0)
);
(*(struct psi_decl_arg **)(&(*yyvalp)))->type->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
(*(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)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
#line 4029 "src/parser_proc.c" /* glr.c:816 */
break;
case 480:
#line 1229 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 4037 "src/parser_proc.c" /* glr.c:816 */
break;
case 481:
#line 1232 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 4045 "src/parser_proc.c" /* glr.c:816 */
break;
case 482:
#line 1235 "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 4053 "src/parser_proc.c" /* glr.c:816 */
break;
case 483:
#line 1238 "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 4061 "src/parser_proc.c" /* glr.c:816 */
break;
case 484:
#line 1245 "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));
}
#line 4069 "src/parser_proc.c" /* glr.c:816 */
break;
case 485:
#line 1248 "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 4080 "src/parser_proc.c" /* glr.c:816 */
break;
case 486:
#line 1254 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init(
psi_decl_type_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->text),
psi_decl_var_init(NULL, (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), 0)
);
(*(struct psi_decl_arg **)(&(*yyvalp)))->type->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
(*(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 4094 "src/parser_proc.c" /* glr.c:816 */
break;
case 487:
#line 1263 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_decl_arg **)(&(*yyvalp))) = psi_decl_arg_init(
psi_decl_type_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->text),
psi_decl_var_init(NULL, (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)), 0)
);
(*(struct psi_decl_arg **)(&(*yyvalp)))->type->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)));
(*(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 4108 "src/parser_proc.c" /* glr.c:816 */
break;
case 488:
#line 1275 "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 4121 "src/parser_proc.c" /* glr.c:816 */
break;
case 489:
#line 1283 "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 4129 "src/parser_proc.c" /* glr.c:816 */
break;
case 490:
#line 1286 "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((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->text),
psi_decl_var_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text, (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), 0)
);
(*(struct psi_decl_arg **)(&(*yyvalp)))->type->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
(*(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)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
#line 4144 "src/parser_proc.c" /* glr.c:816 */
break;
case 491:
#line 1296 "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((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->type, (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval))->text),
psi_decl_var_init((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->text, (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), 0)
);
(*(struct psi_decl_arg **)(&(*yyvalp)))->type->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)));
(*(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)))->token = psi_token_copy((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
#line 4159 "src/parser_proc.c" /* glr.c:816 */
break;
case 492:
#line 1309 "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 4169 "src/parser_proc.c" /* glr.c:816 */
break;
case 493:
#line 1314 "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 4179 "src/parser_proc.c" /* glr.c:816 */
break;
case 494:
#line 1331 "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 4191 "src/parser_proc.c" /* glr.c:816 */
break;
case 495:
#line 1341 "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 4203 "src/parser_proc.c" /* glr.c:816 */
break;
case 496:
#line 1351 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 4211 "src/parser_proc.c" /* glr.c:816 */
break;
case 498:
#line 1358 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
#line 4219 "src/parser_proc.c" /* glr.c:816 */
break;
case 499:
#line 1364 "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 4238 "src/parser_proc.c" /* glr.c:816 */
break;
case 500:
#line 1378 "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 4257 "src/parser_proc.c" /* glr.c:816 */
break;
case 501:
#line 1395 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 4265 "src/parser_proc.c" /* glr.c:816 */
break;
case 502:
#line 1398 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
#line 4273 "src/parser_proc.c" /* glr.c:816 */
break;
case 503:
#line 1404 "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);
}
}
#line 4285 "src/parser_proc.c" /* glr.c:816 */
break;
case 504:
#line 1411 "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 4297 "src/parser_proc.c" /* glr.c:816 */
break;
case 505:
#line 1421 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_decl_enum **)(&(*yyvalp))) = psi_decl_enum_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_enum **)(&(*yyvalp)))->token = (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval));
}
#line 4306 "src/parser_proc.c" /* glr.c:816 */
break;
case 506:
#line 1428 "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 4314 "src/parser_proc.c" /* glr.c:816 */
break;
case 507:
#line 1431 "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)));
}
#line 4322 "src/parser_proc.c" /* glr.c:816 */
break;
case 508:
#line 1437 "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 4332 "src/parser_proc.c" /* glr.c:816 */
break;
case 509:
#line 1442 "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 4342 "src/parser_proc.c" /* glr.c:816 */
break;
case 510:
#line 1450 "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 4351 "src/parser_proc.c" /* glr.c:816 */
break;
case 511:
#line 1454 "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 4360 "src/parser_proc.c" /* glr.c:816 */
break;
case 512:
#line 1458 "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 4369 "src/parser_proc.c" /* glr.c:816 */
break;
case 513:
#line 1462 "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 4378 "src/parser_proc.c" /* glr.c:816 */
break;
case 514:
#line 1466 "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 4387 "src/parser_proc.c" /* glr.c:816 */
break;
case 515:
#line 1470 "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 4396 "src/parser_proc.c" /* glr.c:816 */
break;
case 516:
#line 1477 "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 4405 "src/parser_proc.c" /* glr.c:816 */
break;
case 517:
#line 1481 "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 4414 "src/parser_proc.c" /* glr.c:816 */
break;
case 518:
#line 1485 "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 4423 "src/parser_proc.c" /* glr.c:816 */
break;
case 519:
#line 1489 "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 4432 "src/parser_proc.c" /* glr.c:816 */
break;
case 520:
#line 1493 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_number **)(&(*yyvalp))) = (*(struct psi_number **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
#line 4440 "src/parser_proc.c" /* glr.c:816 */
break;
case 521:
#line 1499 "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 4449 "src/parser_proc.c" /* glr.c:816 */
break;
case 522:
#line 1503 "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 4458 "src/parser_proc.c" /* glr.c:816 */
break;
case 523:
#line 1510 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_number **)(&(*yyvalp))) = (*(struct psi_number **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
#line 4466 "src/parser_proc.c" /* glr.c:816 */
break;
case 524:
#line 1513 "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);
} 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 4479 "src/parser_proc.c" /* glr.c:816 */
break;
case 525:
#line 1524 "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 4488 "src/parser_proc.c" /* glr.c:816 */
break;
case 526:
#line 1528 "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 4497 "src/parser_proc.c" /* glr.c:816 */
break;
case 527:
#line 1532 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_number **)(&(*yyvalp))) = psi_number_init(PSI_T_INT64, &(*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval))->size, 0);
}
#line 4505 "src/parser_proc.c" /* glr.c:816 */
break;
case 528:
#line 1538 "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 4520 "src/parser_proc.c" /* glr.c:816 */
break;
case 529:
#line 1551 "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 4535 "src/parser_proc.c" /* glr.c:816 */
break;
case 530:
#line 1564 "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 4550 "src/parser_proc.c" /* glr.c:816 */
break;
case 531:
#line 1577 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_token **)(&(*yyvalp))) = NULL;
}
#line 4558 "src/parser_proc.c" /* glr.c:816 */
break;
case 532:
#line 1580 "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 4567 "src/parser_proc.c" /* glr.c:816 */
break;
case 533:
#line 1587 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_layout **)(&(*yyvalp))) = NULL;
}
#line 4575 "src/parser_proc.c" /* glr.c:816 */
break;
case 534:
#line 1590 "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 4583 "src/parser_proc.c" /* glr.c:816 */
break;
case 535:
#line 1593 "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 4591 "src/parser_proc.c" /* glr.c:816 */
break;
case 536:
#line 1596 "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 4599 "src/parser_proc.c" /* glr.c:816 */
break;
case 537:
#line 1602 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_layout*)(&(*yyvalp))).pos = 0;
(*(struct psi_layout*)(&(*yyvalp))).len = 0;
}
#line 4608 "src/parser_proc.c" /* glr.c:816 */
break;
case 538:
#line 1606 "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 4617 "src/parser_proc.c" /* glr.c:816 */
break;
case 539:
#line 1613 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(size_t*)(&(*yyvalp))) = 0;
}
#line 4625 "src/parser_proc.c" /* glr.c:816 */
break;
case 540:
#line 1616 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(size_t*)(&(*yyvalp))) = 0;
}
#line 4633 "src/parser_proc.c" /* glr.c:816 */
break;
case 541:
#line 1619 "src/parser_proc_grammar.y" /* glr.c:816 */
{
if (psi_num_exp_validate(PSI_DATA(P), (*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), NULL, NULL, NULL, NULL, NULL)) {
(*(size_t*)(&(*yyvalp))) = psi_long_num_exp((*(struct psi_num_exp **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)), NULL, &P->preproc->defs);
} else {
(*(size_t*)(&(*yyvalp))) = 0;
}
}
#line 4645 "src/parser_proc.c" /* glr.c:816 */
break;
case 542:
#line 1629 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(size_t*)(&(*yyvalp))) = 0;
}
#line 4653 "src/parser_proc.c" /* glr.c:816 */
break;
case 543:
#line 1632 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(size_t*)(&(*yyvalp))) = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
#line 4661 "src/parser_proc.c" /* glr.c:816 */
break;
case 545:
#line 1639 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(size_t*)(&(*yyvalp))) = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
#line 4669 "src/parser_proc.c" /* glr.c:816 */
break;
case 546:
#line 1645 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(size_t*)(&(*yyvalp))) = 1;
}
#line 4677 "src/parser_proc.c" /* glr.c:816 */
break;
case 547:
#line 1648 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(size_t*)(&(*yyvalp))) = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)) + 1;
}
#line 4685 "src/parser_proc.c" /* glr.c:816 */
break;
case 550:
#line 1665 "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 4693 "src/parser_proc.c" /* glr.c:816 */
break;
case 551:
#line 1668 "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 4702 "src/parser_proc.c" /* glr.c:816 */
break;
case 552:
#line 1675 "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 4712 "src/parser_proc.c" /* glr.c:816 */
break;
case 553:
#line 1680 "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 4722 "src/parser_proc.c" /* glr.c:816 */
break;
case 554:
#line 1685 "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 4734 "src/parser_proc.c" /* glr.c:816 */
break;
case 555:
#line 1695 "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 4742 "src/parser_proc.c" /* glr.c:816 */
break;
case 556:
#line 1698 "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 4750 "src/parser_proc.c" /* glr.c:816 */
break;
case 557:
#line 1704 "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 4758 "src/parser_proc.c" /* glr.c:816 */
break;
case 558:
#line 1707 "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 4766 "src/parser_proc.c" /* glr.c:816 */
break;
case 559:
#line 1713 "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 4775 "src/parser_proc.c" /* glr.c:816 */
break;
case 560:
#line 1720 "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 4784 "src/parser_proc.c" /* glr.c:816 */
break;
case 570:
#line 1739 "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 4792 "src/parser_proc.c" /* glr.c:816 */
break;
case 571:
#line 1742 "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)));
}
#line 4800 "src/parser_proc.c" /* glr.c:816 */
break;
case 572:
#line 1748 "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 4808 "src/parser_proc.c" /* glr.c:816 */
break;
case 573:
#line 1751 "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));
}
#line 4816 "src/parser_proc.c" /* glr.c:816 */
break;
case 574:
#line 1754 "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 4824 "src/parser_proc.c" /* glr.c:816 */
break;
case 575:
#line 1757 "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 4832 "src/parser_proc.c" /* glr.c:816 */
break;
case 576:
#line 1760 "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 4840 "src/parser_proc.c" /* glr.c:816 */
break;
case 577:
#line 1766 "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 4849 "src/parser_proc.c" /* glr.c:816 */
break;
case 578:
#line 1770 "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 4859 "src/parser_proc.c" /* glr.c:816 */
break;
case 580:
#line 1779 "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 4868 "src/parser_proc.c" /* glr.c:816 */
break;
case 581:
#line 1783 "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 4877 "src/parser_proc.c" /* glr.c:816 */
break;
case 582:
#line 1790 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_let_exp **)(&(*yyvalp))) = psi_let_exp_init(PSI_LET_NULL, NULL);
}
#line 4885 "src/parser_proc.c" /* glr.c:816 */
break;
case 583:
#line 1793 "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 4893 "src/parser_proc.c" /* glr.c:816 */
break;
case 584:
#line 1796 "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 4902 "src/parser_proc.c" /* glr.c:816 */
break;
case 585:
#line 1800 "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 4910 "src/parser_proc.c" /* glr.c:816 */
break;
case 586:
#line 1803 "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)));
}
#line 4918 "src/parser_proc.c" /* glr.c:816 */
break;
case 587:
#line 1806 "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 4926 "src/parser_proc.c" /* glr.c:816 */
break;
case 588:
#line 1812 "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 4935 "src/parser_proc.c" /* glr.c:816 */
break;
case 589:
#line 1816 "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 4945 "src/parser_proc.c" /* glr.c:816 */
break;
case 590:
#line 1824 "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 4954 "src/parser_proc.c" /* glr.c:816 */
break;
case 591:
#line 1831 "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_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 4964 "src/parser_proc.c" /* glr.c:816 */
break;
case 592:
#line 1839 "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 4974 "src/parser_proc.c" /* glr.c:816 */
break;
case 603:
#line 1860 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 4982 "src/parser_proc.c" /* glr.c:816 */
break;
case 604:
#line 1863 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
#line 4990 "src/parser_proc.c" /* glr.c:816 */
break;
case 605:
#line 1869 "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 4998 "src/parser_proc.c" /* glr.c:816 */
break;
case 606:
#line 1872 "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 5006 "src/parser_proc.c" /* glr.c:816 */
break;
case 609:
#line 1883 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 5014 "src/parser_proc.c" /* glr.c:816 */
break;
case 610:
#line 1886 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
#line 5022 "src/parser_proc.c" /* glr.c:816 */
break;
case 611:
#line 1892 "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 5030 "src/parser_proc.c" /* glr.c:816 */
break;
case 612:
#line 1895 "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)));
}
#line 5038 "src/parser_proc.c" /* glr.c:816 */
break;
case 613:
#line 1901 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_return_stmt **)(&(*yyvalp))) = psi_return_stmt_init(psi_set_exp_init(PSI_SET_FUNC, (*(struct psi_set_func **)(&((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 5047 "src/parser_proc.c" /* glr.c:816 */
break;
case 614:
#line 1908 "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 5056 "src/parser_proc.c" /* glr.c:816 */
break;
case 615:
#line 1915 "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 5064 "src/parser_proc.c" /* glr.c:816 */
break;
case 616:
#line 1918 "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)));
}
#line 5072 "src/parser_proc.c" /* glr.c:816 */
break;
case 617:
#line 1921 "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 5081 "src/parser_proc.c" /* glr.c:816 */
break;
case 618:
#line 1928 "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 5091 "src/parser_proc.c" /* glr.c:816 */
break;
case 619:
#line 1933 "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 5101 "src/parser_proc.c" /* glr.c:816 */
break;
case 628:
#line 1952 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 5109 "src/parser_proc.c" /* glr.c:816 */
break;
case 629:
#line 1955 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
#line 5117 "src/parser_proc.c" /* glr.c:816 */
break;
case 630:
#line 1961 "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 5125 "src/parser_proc.c" /* glr.c:816 */
break;
case 631:
#line 1964 "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)));
}
#line 5133 "src/parser_proc.c" /* glr.c:816 */
break;
case 632:
#line 1970 "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 5142 "src/parser_proc.c" /* glr.c:816 */
break;
case 635:
#line 1982 "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 5151 "src/parser_proc.c" /* glr.c:816 */
break;
case 636:
#line 1989 "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 5159 "src/parser_proc.c" /* glr.c:816 */
break;
case 637:
#line 1992 "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 5167 "src/parser_proc.c" /* glr.c:816 */
break;
case 638:
#line 1998 "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 5177 "src/parser_proc.c" /* glr.c:816 */
break;
case 639:
#line 2006 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(bool*)(&(*yyvalp))) = false;
}
#line 5185 "src/parser_proc.c" /* glr.c:816 */
break;
case 640:
#line 2009 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(bool*)(&(*yyvalp))) = true;
}
#line 5193 "src/parser_proc.c" /* glr.c:816 */
break;
#line 5197 "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
}
static void
yyuserMerge (int yyn, YYSTYPE* yy0, YYSTYPE* yy1)
{
YYUSE (yy0);
YYUSE (yy1);
switch (yyn)
{
default: break;
}
}
/* 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 136: /* binary_op_token */
#line 262 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5248 "src/parser_proc.c" /* glr.c:846 */
break;
case 137: /* unary_op_token */
#line 262 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5254 "src/parser_proc.c" /* glr.c:846 */
break;
case 138: /* name_token */
#line 262 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5260 "src/parser_proc.c" /* glr.c:846 */
break;
case 139: /* any_noeol_token */
#line 262 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5266 "src/parser_proc.c" /* glr.c:846 */
break;
case 144: /* lib */
#line 256 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5272 "src/parser_proc.c" /* glr.c:846 */
break;
case 145: /* cpp */
#line 271 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_cpp_exp_free(&(*(struct psi_cpp_exp **)(&(*yyvaluep))));}
#line 5278 "src/parser_proc.c" /* glr.c:846 */
break;
case 146: /* cpp_exp */
#line 271 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_cpp_exp_free(&(*(struct psi_cpp_exp **)(&(*yyvaluep))));}
#line 5284 "src/parser_proc.c" /* glr.c:846 */
break;
case 148: /* cpp_message_token */
#line 259 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5290 "src/parser_proc.c" /* glr.c:846 */
break;
case 149: /* cpp_include_token */
#line 259 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5296 "src/parser_proc.c" /* glr.c:846 */
break;
case 150: /* cpp_header_token */
#line 259 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5302 "src/parser_proc.c" /* glr.c:846 */
break;
case 151: /* cpp_no_arg_token */
#line 259 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5308 "src/parser_proc.c" /* glr.c:846 */
break;
case 152: /* cpp_name_arg_token */
#line 259 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5314 "src/parser_proc.c" /* glr.c:846 */
break;
case 153: /* cpp_exp_arg_token */
#line 259 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5320 "src/parser_proc.c" /* glr.c:846 */
break;
case 154: /* cpp_special_name_token */
#line 259 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5326 "src/parser_proc.c" /* glr.c:846 */
break;
case 155: /* cpp_macro_decl */
#line 273 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_cpp_macro_decl_free(&(*(struct psi_cpp_macro_decl **)(&(*yyvaluep))));}
#line 5332 "src/parser_proc.c" /* glr.c:846 */
break;
case 156: /* cpp_macro_sig */
#line 275 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5338 "src/parser_proc.c" /* glr.c:846 */
break;
case 157: /* cpp_macro_sig_args */
#line 275 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5344 "src/parser_proc.c" /* glr.c:846 */
break;
case 158: /* cpp_macro_decl_tokens */
#line 275 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5350 "src/parser_proc.c" /* glr.c:846 */
break;
case 159: /* cpp_macro_decl_token_list */
#line 275 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5356 "src/parser_proc.c" /* glr.c:846 */
break;
case 160: /* cpp_macro_exp */
#line 277 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_num_exp_free(&(*(struct psi_num_exp **)(&(*yyvaluep))));}
#line 5362 "src/parser_proc.c" /* glr.c:846 */
break;
case 161: /* cpp_macro_call_args */
#line 275 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5368 "src/parser_proc.c" /* glr.c:846 */
break;
case 162: /* cpp_macro_call_arg_list */
#line 275 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5374 "src/parser_proc.c" /* glr.c:846 */
break;
case 163: /* constant */
#line 283 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_const_free(&(*(struct psi_const **)(&(*yyvaluep))));}
#line 5380 "src/parser_proc.c" /* glr.c:846 */
break;
case 164: /* constant_type */
#line 285 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_const_type_free(&(*(struct psi_const_type **)(&(*yyvaluep))));}
#line 5386 "src/parser_proc.c" /* glr.c:846 */
break;
case 165: /* constant_type_token */
#line 280 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5392 "src/parser_proc.c" /* glr.c:846 */
break;
case 166: /* impl_def_val */
#line 287 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_impl_def_val_free(&(*(struct psi_impl_def_val **)(&(*yyvaluep))));}
#line 5398 "src/parser_proc.c" /* glr.c:846 */
break;
case 167: /* impl_def_val_token */
#line 280 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5404 "src/parser_proc.c" /* glr.c:846 */
break;
case 168: /* decl_typedef */
#line 300 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
#line 5410 "src/parser_proc.c" /* glr.c:846 */
break;
case 169: /* typedef */
#line 300 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
#line 5416 "src/parser_proc.c" /* glr.c:846 */
break;
case 170: /* typedef_anon */
#line 300 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
#line 5422 "src/parser_proc.c" /* glr.c:846 */
break;
case 171: /* typedef_decl */
#line 300 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
#line 5428 "src/parser_proc.c" /* glr.c:846 */
break;
case 172: /* typedef_anon_decl */
#line 300 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
#line 5434 "src/parser_proc.c" /* glr.c:846 */
break;
case 173: /* qualified_decl_type */
#line 296 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_type_free(&(*(struct psi_decl_type **)(&(*yyvaluep))));}
#line 5440 "src/parser_proc.c" /* glr.c:846 */
break;
case 174: /* decl_type */
#line 296 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_type_free(&(*(struct psi_decl_type **)(&(*yyvaluep))));}
#line 5446 "src/parser_proc.c" /* glr.c:846 */
break;
case 175: /* decl_type_complex */
#line 296 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_type_free(&(*(struct psi_decl_type **)(&(*yyvaluep))));}
#line 5452 "src/parser_proc.c" /* glr.c:846 */
break;
case 176: /* decl_type_simple */
#line 290 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5458 "src/parser_proc.c" /* glr.c:846 */
break;
case 177: /* decl_real_type */
#line 290 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5464 "src/parser_proc.c" /* glr.c:846 */
break;
case 178: /* decl_stdint_type */
#line 293 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5470 "src/parser_proc.c" /* glr.c:846 */
break;
case 179: /* int_signed */
#line 268 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5476 "src/parser_proc.c" /* glr.c:846 */
break;
case 180: /* int_width */
#line 265 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5482 "src/parser_proc.c" /* glr.c:846 */
break;
case 181: /* decl_int_type */
#line 290 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5488 "src/parser_proc.c" /* glr.c:846 */
break;
case 182: /* int_signed_types */
#line 265 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5494 "src/parser_proc.c" /* glr.c:846 */
break;
case 183: /* signed_short_types */
#line 268 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5500 "src/parser_proc.c" /* glr.c:846 */
break;
case 184: /* signed_long_types */
#line 268 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5506 "src/parser_proc.c" /* glr.c:846 */
break;
case 185: /* int_width_types */
#line 265 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5512 "src/parser_proc.c" /* glr.c:846 */
break;
case 186: /* decl_stmt */
#line 298 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
#line 5518 "src/parser_proc.c" /* glr.c:846 */
break;
case 192: /* decl_vars */
#line 312 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5524 "src/parser_proc.c" /* glr.c:846 */
break;
case 197: /* decl */
#line 298 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
#line 5530 "src/parser_proc.c" /* glr.c:846 */
break;
case 198: /* decl_body */
#line 298 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
#line 5536 "src/parser_proc.c" /* glr.c:846 */
break;
case 199: /* decl_func_body */
#line 298 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
#line 5542 "src/parser_proc.c" /* glr.c:846 */
break;
case 200: /* decl_functor_body */
#line 298 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
#line 5548 "src/parser_proc.c" /* glr.c:846 */
break;
case 201: /* decl_functor */
#line 300 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
#line 5554 "src/parser_proc.c" /* glr.c:846 */
break;
case 202: /* decl_func */
#line 300 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
#line 5560 "src/parser_proc.c" /* glr.c:846 */
break;
case 203: /* decl_args */
#line 312 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5566 "src/parser_proc.c" /* glr.c:846 */
break;
case 204: /* decl_anon_arg */
#line 300 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
#line 5572 "src/parser_proc.c" /* glr.c:846 */
break;
case 205: /* decl_arg */
#line 300 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
#line 5578 "src/parser_proc.c" /* glr.c:846 */
break;
case 206: /* decl_var */
#line 302 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_var_free(&(*(struct psi_decl_var **)(&(*yyvaluep))));}
#line 5584 "src/parser_proc.c" /* glr.c:846 */
break;
case 207: /* decl_union */
#line 306 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_union_free(&(*(struct psi_decl_union **)(&(*yyvaluep))));}
#line 5590 "src/parser_proc.c" /* glr.c:846 */
break;
case 208: /* decl_struct */
#line 304 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_struct_free(&(*(struct psi_decl_struct **)(&(*yyvaluep))));}
#line 5596 "src/parser_proc.c" /* glr.c:846 */
break;
case 209: /* decl_struct_args */
#line 312 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5602 "src/parser_proc.c" /* glr.c:846 */
break;
case 210: /* struct_args_block */
#line 312 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5608 "src/parser_proc.c" /* glr.c:846 */
break;
case 211: /* struct_args */
#line 312 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5614 "src/parser_proc.c" /* glr.c:846 */
break;
case 212: /* struct_arg_var_list */
#line 312 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5620 "src/parser_proc.c" /* glr.c:846 */
break;
case 213: /* decl_vars_with_layout */
#line 312 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5626 "src/parser_proc.c" /* glr.c:846 */
break;
case 214: /* decl_enum */
#line 308 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_enum_free(&(*(struct psi_decl_enum **)(&(*yyvaluep))));}
#line 5632 "src/parser_proc.c" /* glr.c:846 */
break;
case 215: /* decl_enum_items */
#line 312 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5638 "src/parser_proc.c" /* glr.c:846 */
break;
case 216: /* decl_enum_item */
#line 310 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_enum_item_free(&(*(struct psi_decl_enum_item **)(&(*yyvaluep))));}
#line 5644 "src/parser_proc.c" /* glr.c:846 */
break;
case 217: /* num_exp */
#line 366 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_num_exp_free(&(*(struct psi_num_exp **)(&(*yyvaluep))));}
#line 5650 "src/parser_proc.c" /* glr.c:846 */
break;
case 218: /* number */
#line 368 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_number_free(&(*(struct psi_number **)(&(*yyvaluep))));}
#line 5656 "src/parser_proc.c" /* glr.c:846 */
break;
case 219: /* sizeof */
#line 320 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_number_free(&(*(struct psi_number **)(&(*yyvaluep))));}
#line 5662 "src/parser_proc.c" /* glr.c:846 */
break;
case 220: /* sizeof_body */
#line 320 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_number_free(&(*(struct psi_number **)(&(*yyvaluep))));}
#line 5668 "src/parser_proc.c" /* glr.c:846 */
break;
case 221: /* sizeof_body_notypes */
#line 320 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_number_free(&(*(struct psi_number **)(&(*yyvaluep))));}
#line 5674 "src/parser_proc.c" /* glr.c:846 */
break;
case 222: /* enum_name */
#line 256 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5680 "src/parser_proc.c" /* glr.c:846 */
break;
case 223: /* union_name */
#line 256 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5686 "src/parser_proc.c" /* glr.c:846 */
break;
case 224: /* struct_name */
#line 256 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5692 "src/parser_proc.c" /* glr.c:846 */
break;
case 225: /* optional_name */
#line 256 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5698 "src/parser_proc.c" /* glr.c:846 */
break;
case 226: /* decl_layout */
#line 317 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_layout_free(&(*(struct psi_layout **)(&(*yyvaluep))));}
#line 5704 "src/parser_proc.c" /* glr.c:846 */
break;
case 227: /* align_and_size */
#line 315 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5710 "src/parser_proc.c" /* glr.c:846 */
break;
case 228: /* array_size */
#line 371 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5716 "src/parser_proc.c" /* glr.c:846 */
break;
case 229: /* indirection */
#line 371 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5722 "src/parser_proc.c" /* glr.c:846 */
break;
case 230: /* pointers */
#line 371 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5728 "src/parser_proc.c" /* glr.c:846 */
break;
case 231: /* asterisks */
#line 371 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5734 "src/parser_proc.c" /* glr.c:846 */
break;
case 233: /* impl */
#line 323 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_impl_free(&(*(struct psi_impl **)(&(*yyvaluep))));}
#line 5740 "src/parser_proc.c" /* glr.c:846 */
break;
case 234: /* impl_func */
#line 325 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_impl_func_free(&(*(struct psi_impl_func **)(&(*yyvaluep))));}
#line 5746 "src/parser_proc.c" /* glr.c:846 */
break;
case 235: /* impl_args */
#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5752 "src/parser_proc.c" /* glr.c:846 */
break;
case 236: /* impl_arg */
#line 327 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_impl_arg_free(&(*(struct psi_impl_arg **)(&(*yyvaluep))));}
#line 5758 "src/parser_proc.c" /* glr.c:846 */
break;
case 237: /* impl_var */
#line 331 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_impl_var_free(&(*(struct psi_impl_var **)(&(*yyvaluep))));}
#line 5764 "src/parser_proc.c" /* glr.c:846 */
break;
case 238: /* impl_type */
#line 329 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_impl_type_free(&(*(struct psi_impl_type **)(&(*yyvaluep))));}
#line 5770 "src/parser_proc.c" /* glr.c:846 */
break;
case 239: /* impl_type_token */
#line 361 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5776 "src/parser_proc.c" /* glr.c:846 */
break;
case 240: /* impl_stmts */
#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5782 "src/parser_proc.c" /* glr.c:846 */
break;
case 241: /* impl_stmt */
#line 359 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_impl_stmt_free(&(*(struct psi_token ***)(&(*yyvaluep))));}
#line 5788 "src/parser_proc.c" /* glr.c:846 */
break;
case 242: /* let_stmt */
#line 334 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_let_stmt_free(&(*(struct psi_let_stmt **)(&(*yyvaluep))));}
#line 5794 "src/parser_proc.c" /* glr.c:846 */
break;
case 243: /* let_exp */
#line 336 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_let_exp_free(&(*(struct psi_let_exp **)(&(*yyvaluep))));}
#line 5800 "src/parser_proc.c" /* glr.c:846 */
break;
case 244: /* let_exp_byref */
#line 336 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_let_exp_free(&(*(struct psi_let_exp **)(&(*yyvaluep))));}
#line 5806 "src/parser_proc.c" /* glr.c:846 */
break;
case 245: /* let_exp_assign */
#line 336 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_let_exp_free(&(*(struct psi_let_exp **)(&(*yyvaluep))));}
#line 5812 "src/parser_proc.c" /* glr.c:846 */
break;
case 246: /* let_calloc */
#line 338 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_let_calloc_free(&(*(struct psi_let_calloc **)(&(*yyvaluep))));}
#line 5818 "src/parser_proc.c" /* glr.c:846 */
break;
case 247: /* let_callback */
#line 340 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_let_callback_free(&(*(struct psi_let_callback **)(&(*yyvaluep))));}
#line 5824 "src/parser_proc.c" /* glr.c:846 */
break;
case 248: /* let_func */
#line 342 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_let_func_free(&(*(struct psi_let_func **)(&(*yyvaluep))));}
#line 5830 "src/parser_proc.c" /* glr.c:846 */
break;
case 249: /* let_func_token */
#line 361 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5836 "src/parser_proc.c" /* glr.c:846 */
break;
case 250: /* let_func_exps */
#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5842 "src/parser_proc.c" /* glr.c:846 */
break;
case 251: /* let_exps */
#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5848 "src/parser_proc.c" /* glr.c:846 */
break;
case 252: /* callback_rval */
#line 361 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5854 "src/parser_proc.c" /* glr.c:846 */
break;
case 253: /* callback_arg_list */
#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5860 "src/parser_proc.c" /* glr.c:846 */
break;
case 254: /* callback_args */
#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5866 "src/parser_proc.c" /* glr.c:846 */
break;
case 255: /* return_stmt */
#line 352 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_return_stmt_free(&(*(struct psi_return_stmt **)(&(*yyvaluep))));}
#line 5872 "src/parser_proc.c" /* glr.c:846 */
break;
case 256: /* set_stmt */
#line 344 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_set_stmt_free(&(*(struct psi_set_stmt **)(&(*yyvaluep))));}
#line 5878 "src/parser_proc.c" /* glr.c:846 */
break;
case 257: /* set_exp */
#line 346 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_set_exp_free(&(*(struct psi_set_exp **)(&(*yyvaluep))));}
#line 5884 "src/parser_proc.c" /* glr.c:846 */
break;
case 258: /* set_func */
#line 348 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_set_func_free(&(*(struct psi_set_func **)(&(*yyvaluep))));}
#line 5890 "src/parser_proc.c" /* glr.c:846 */
break;
case 259: /* set_func_token */
#line 361 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5896 "src/parser_proc.c" /* glr.c:846 */
break;
case 260: /* set_func_exps */
#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5902 "src/parser_proc.c" /* glr.c:846 */
break;
case 261: /* set_exps */
#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5908 "src/parser_proc.c" /* glr.c:846 */
break;
case 262: /* assert_stmt */
#line 350 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_assert_stmt_free(&(*(struct psi_assert_stmt **)(&(*yyvaluep))));}
#line 5914 "src/parser_proc.c" /* glr.c:846 */
break;
case 263: /* assert_stmt_token */
#line 361 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5920 "src/parser_proc.c" /* glr.c:846 */
break;
case 264: /* free_stmt */
#line 354 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_free_stmt_free(&(*(struct psi_free_stmt **)(&(*yyvaluep))));}
#line 5926 "src/parser_proc.c" /* glr.c:846 */
break;
case 265: /* free_exps */
#line 363 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5932 "src/parser_proc.c" /* glr.c:846 */
break;
case 266: /* free_exp */
#line 356 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_free_exp_free(&(*(struct psi_free_exp **)(&(*yyvaluep))));}
#line 5938 "src/parser_proc.c" /* glr.c:846 */
break;
case 267: /* reference */
#line 373 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5944 "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
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) == (-722)))
/** 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
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;
}
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
/** 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);
}
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 -> \n",
yyindent, "", yytokenName (yylhsNonterm (yyx->yyrule)),
yyx->yyrule - 1);
else
YYFPRINTF (stderr, "%*s%s -> \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 \n", yyindent+2, "",
yytokenName (yystos[yystates[yyi]->yylrState]));
else
YYFPRINTF (stderr, "%*s%s \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
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;
}
}
}
}
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_
}
{
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 99 "src/parser_proc_grammar.y" /* glr.c:2270 */
{
}
#line 7297 "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, "");
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
#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 2018 "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++;
}