/* 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
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_from_typedef(struct psi_parser *P, struct psi_decl_arg *def)
{
if (def->type->real.def) {
switch (def->type->type) {
case PSI_T_STRUCT:
psi_parser_proc_add_struct(P, def->type->real.strct);
break;
case PSI_T_UNION:
psi_parser_proc_add_union(P, def->type->real.unn);
break;
case PSI_T_ENUM:
psi_parser_proc_add_enum(P, def->type->real.enm);
break;
default:
break;
}
}
}
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);
psi_parser_proc_add_from_typedef(P, 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 184 "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 167
/* YYLAST -- Last index in YYTABLE. */
#define YYLAST 3144
/* YYNTOKENS -- Number of terminals. */
#define YYNTOKENS 132
/* YYNNTS -- Number of nonterminals. */
#define YYNNTS 122
/* YYNRULES -- Number of rules. */
#define YYNRULES 478
/* YYNRULES -- Number of states. */
#define YYNSTATES 707
/* 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 386
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
static const unsigned char yytranslate[] =
{
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
125, 126, 127, 128, 129, 130, 131
};
#if YYDEBUG
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const unsigned short int yyrline[] =
{
0, 392, 392, 392, 392, 392, 392, 392, 392, 392,
392, 392, 392, 392, 392, 392, 392, 392, 392, 392,
393, 393, 393, 393, 394, 394, 394, 394, 394, 394,
394, 394, 394, 394, 394, 394, 394, 394, 394, 394,
394, 394, 395, 395, 395, 395, 395, 395, 395, 395,
395, 395, 395, 395, 395, 395, 395, 395, 395, 395,
395, 395, 395, 395, 395, 395, 395, 395, 395, 395,
395, 395, 395, 395, 395, 395, 395, 395, 395, 395,
395, 395, 395, 395, 395, 395, 395, 395, 395, 395,
395, 395, 395, 395, 395, 395, 395, 395, 395, 395,
395, 395, 395, 395, 395, 395, 395, 395, 395, 395,
395, 395, 395, 395, 395, 395, 395, 395, 395, 395,
395, 395, 395, 395, 395, 395, 395, 395, 395, 395,
395, 395, 395, 395, 395, 395, 395, 395, 395, 395,
395, 395, 395, 395, 395, 395, 395, 395, 395, 395,
395, 395, 395, 395, 395, 395, 395, 395, 395, 395,
395, 395, 395, 395, 399, 400, 403, 404, 407, 408,
409, 410, 416, 424, 427, 430, 431, 434, 437, 440,
443, 449, 455, 458, 464, 487, 491, 495, 500, 504,
508, 512, 519, 520, 524, 525, 529, 530, 531, 535,
536, 540, 541, 545, 546, 547, 551, 552, 556, 557,
558, 559, 560, 561, 565, 570, 578, 581, 585, 590,
598, 601, 605, 609, 616, 620, 624, 628, 633, 643,
653, 658, 663, 669, 678, 681, 685, 689, 695, 702,
708, 709, 710, 711, 715, 718, 725, 726, 727, 728,
729, 733, 736, 742, 743, 751, 761, 769, 777, 785,
788, 792, 796, 800, 805, 810, 818, 819, 820, 823,
829, 832, 835, 841, 842, 843, 844, 845, 846, 847,
848, 852, 853, 857, 860, 863, 869, 872, 875, 883,
895, 898, 901, 908, 911, 921, 924, 927, 930, 931,
935, 938, 941, 952, 955, 961, 962, 966, 967, 971,
975, 981, 982, 988, 991, 997, 998, 1005, 1006, 1010,
1017, 1028, 1035, 1046, 1053, 1064, 1075, 1089, 1090, 1102,
1105, 1108, 1111, 1118, 1121, 1127, 1136, 1148, 1156, 1159,
1169, 1182, 1187, 1195, 1205, 1215, 1218, 1222, 1228, 1242,
1259, 1262, 1268, 1275, 1285, 1292, 1295, 1301, 1306, 1314,
1318, 1322, 1326, 1330, 1334, 1341, 1345, 1349, 1353, 1360,
1373, 1386, 1399, 1402, 1409, 1412, 1415, 1418, 1424, 1428,
1435, 1438, 1444, 1447, 1453, 1454, 1460, 1463, 1475, 1478,
1485, 1490, 1495, 1505, 1508, 1514, 1517, 1523, 1530, 1537,
1538, 1539, 1540, 1541, 1542, 1543, 1544, 1545, 1549, 1552,
1558, 1561, 1564, 1567, 1570, 1576, 1580, 1588, 1589, 1593,
1600, 1603, 1606, 1609, 1612, 1618, 1622, 1630, 1637, 1645,
1653, 1654, 1655, 1656, 1657, 1658, 1659, 1660, 1661, 1662,
1666, 1669, 1675, 1678, 1684, 1685, 1689, 1692, 1698, 1701,
1707, 1714, 1721, 1724, 1727, 1734, 1739, 1747, 1748, 1749,
1750, 1751, 1752, 1753, 1754, 1758, 1761, 1767, 1770, 1776,
1783, 1784, 1788, 1795, 1798, 1804, 1812, 1815, 1821
};
#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", "\"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_RESTRICT", "CPP_ASM", "BINARY", "UNARY", "$accept",
"binary_op_token", "unary_op_token", "name_token", "any_noeol_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", "const_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",
"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", "enum_name", "union_name",
"struct_name", "optional_name", "decl_layout", "align_and_size",
"array_size", "indirection", "pointers", "asterisks", "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 -554
#define YYTABLE_NINF -477
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
STATE-NUM. */
static const short int yypact[] =
{
464, -554, -554, -554, -554, -554, 79, -554, -554, 2090,
-554, -554, -554, -554, -554, -554, -554, -554, 2644, -554,
-554, 524, 2694, 2473, 2473, 2473, 933, 14, -59, 8,
-554, 307, 62, 464, -554, -554, -554, -554, -554, 2139,
-554, -554, -554, -554, -554, 77, 120, -554, -554, -554,
30, -18, -554, -554, 60, 80, 103, -554, -554, -554,
-554, 108, -554, 111, -554, -554, -554, -554, -554, 653,
-554, 100, -554, -554, -554, -554, -554, -554, -554, -554,
-554, -554, -554, -554, -554, -554, -554, -554, -554, -554,
-554, -554, -554, -554, -554, -554, -554, -554, -554, -554,
-554, -554, 2257, -36, -554, -554, -554, 2473, 2473, 2473,
2798, -554, 84, -554, -554, -554, -554, -554, -554, -554,
-554, -554, -554, -554, -554, 902, -554, -554, -554, -554,
123, 783, 783, -1, -554, 902, 1972, 2473, 2473, 150,
1736, -554, -554, 154, 2473, 158, 158, 33, 33, 167,
-554, -554, 179, 180, -554, 100, 182, -554, -554, 177,
173, -554, 185, -554, 2721, 2694, -18, -554, -554, 175,
-554, 183, 2473, -554, 211, -554, 38, -554, -554, 77,
-554, -554, 184, 186, 2748, 2748, 2473, 133, 2473, -554,
100, -554, -554, -554, -554, -554, -554, 2139, -554, -554,
-554, -554, -554, -554, 97, 783, -554, -554, -554, -554,
-554, -554, -554, -554, -554, -554, -554, -554, -554, -554,
-554, -554, -554, -554, -554, -554, -554, -554, -554, -554,
-554, -554, -554, -554, -554, -554, -554, -554, -554, -554,
-554, -554, -554, -554, -554, -554, -554, -554, -554, -554,
-554, -554, -554, -554, -554, -554, -554, -554, -554, -554,
-554, -554, -554, -554, -554, -554, -554, -554, -554, -554,
-554, -554, -554, -554, -554, -554, -554, -554, -554, -554,
-554, -554, -554, -554, -554, -554, -554, -554, -554, -554,
-554, -554, -554, -554, -554, -554, -554, -554, -554, -554,
-554, -554, -554, -554, -554, -554, -554, -554, -554, -554,
-554, -554, -554, -554, -554, -554, -554, -554, -554, -554,
-554, -554, -554, -554, -554, -554, -554, -554, -554, -554,
-554, -554, 783, -554, -554, -554, -554, -554, -554, -554,
-554, 1972, -554, -554, -554, -554, 2306, 1972, 200, 3001,
31, -554, 31, -554, -554, -554, -554, 199, 202, 202,
23, 23, 2424, 203, -554, 133, 207, 209, 213, 218,
-554, 100, 175, -554, -554, -554, -554, -554, -554, 219,
-554, 4, 2825, 2139, 65, -554, -554, 122, 206, 63,
-554, 2139, 1500, 2139, 2473, 78, -554, -554, 126, -554,
-554, -554, -554, -554, 1854, -554, 223, 2473, 224, -554,
2473, 225, -554, -554, 2847, 2473, -554, -554, 1972, -554,
-554, -554, -554, -554, -554, -554, -554, -554, -554, -554,
-554, -554, -554, -554, -554, -554, -554, 1972, 1972, 227,
2694, 2139, 2139, -554, -554, -554, -554, 100, -554, 87,
157, 40, -554, -554, 230, 2473, -554, -554, 6, 2257,
100, 183, 175, 2590, 175, 2617, 1854, 2473, -554, 233,
239, -554, -554, -554, 1028, 1854, -554, 3025, -554, 234,
244, -554, 245, 250, 238, 247, 106, -554, -554, 253,
245, -554, -554, 583, -554, 255, 2139, 2473, -554, 256,
3001, 258, 252, 2952, -554, 265, 259, 1777, -554, -554,
2473, -554, -554, -554, -554, -554, 262, -554, -554, -554,
-554, -554, -554, -554, -554, -554, -554, -554, 260, 145,
-554, 8, -554, -554, 263, -554, -554, 2424, -554, 4,
264, -554, -554, 266, 3025, -554, 1146, -554, 267, 2852,
268, 2874, -554, 1854, 1854, 1500, -554, 2139, -554, 8,
2139, -554, 2473, -554, -554, -554, -554, -554, 280, 281,
-554, -554, 1972, 1972, 283, 28, 285, -554, 259, 295,
-554, 355, 294, 355, 290, -554, 175, 175, -554, 161,
300, 3025, -554, -554, -554, -554, 301, 1618, 1854, -554,
2977, -554, -554, 302, 2139, 162, -554, 783, 2473, 3001,
3049, 310, 299, 311, 2139, 308, 285, -554, -554, 355,
-554, 8, 87, -554, -554, -554, -554, -554, 312, 1854,
8, -554, -554, 1854, 1264, 309, 314, -554, -554, -554,
317, 316, 320, 259, 323, -554, 329, -554, 7, -554,
8, 2927, 333, 3073, 321, -554, 335, -554, -554, -554,
339, 338, -554, 2139, -554, 347, 342, 1854, 1146, 343,
-554, 1500, 348, 350, 259, 345, 1382, 2901, 233, -554,
-554, -554, 349, 1618, -554, -554, 351, 346, -554, 352,
353, 361, -554, -554, 1146, -554, 354, -554, 355, 356,
1500, -554, 365, -554, -554, -554, -554
};
/* 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[] =
{
164, 286, 283, 287, 281, 282, 284, 270, 271, 0,
273, 274, 275, 276, 277, 278, 279, 280, 269, 169,
168, 0, 0, 0, 0, 372, 0, 0, 0, 476,
170, 0, 0, 165, 166, 172, 171, 173, 176, 382,
260, 262, 261, 267, 268, 290, 300, 266, 174, 175,
0, 305, 315, 317, 318, 0, 0, 327, 178, 177,
179, 0, 180, 0, 285, 272, 33, 34, 464, 430,
24, 382, 386, 39, 38, 37, 35, 36, 32, 31,
25, 29, 28, 26, 27, 438, 437, 435, 433, 434,
436, 432, 431, 439, 30, 462, 460, 459, 461, 458,
457, 328, 0, 384, 40, 41, 269, 0, 0, 0,
0, 316, 311, 182, 193, 190, 192, 194, 195, 206,
203, 204, 201, 207, 202, 0, 205, 196, 197, 198,
0, 220, 220, 0, 186, 0, 0, 372, 372, 0,
382, 254, 337, 253, 0, 378, 378, 263, 264, 265,
369, 240, 287, 270, 243, 0, 0, 239, 259, 0,
0, 478, 0, 477, 269, 0, 305, 1, 167, 380,
338, 0, 383, 291, 295, 293, 297, 288, 301, 290,
289, 309, 0, 0, 329, 329, 0, 0, 0, 383,
382, 340, 387, 385, 263, 264, 265, 0, 310, 209,
210, 211, 213, 212, 208, 220, 188, 183, 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, 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, 162, 160, 161, 163,
222, 191, 221, 184, 199, 200, 185, 208, 187, 230,
231, 0, 22, 23, 20, 21, 0, 0, 232, 189,
263, 371, 264, 370, 251, 258, 255, 0, 0, 0,
0, 0, 0, 0, 181, 0, 0, 0, 0, 0,
342, 382, 380, 296, 292, 298, 299, 294, 302, 0,
303, 330, 0, 382, 0, 331, 333, 0, 357, 0,
355, 0, 476, 0, 0, 0, 470, 471, 0, 408,
411, 410, 412, 413, 0, 414, 0, 0, 312, 313,
0, 0, 215, 223, 0, 0, 228, 225, 234, 2,
3, 4, 5, 6, 7, 8, 9, 10, 11, 13,
12, 14, 15, 16, 17, 18, 19, 0, 0, 0,
0, 0, 0, 345, 344, 346, 343, 382, 339, 244,
0, 0, 252, 304, 0, 0, 341, 307, 0, 336,
0, 334, 380, 0, 380, 0, 0, 0, 354, 0,
0, 366, 365, 367, 0, 0, 368, 453, 359, 0,
0, 452, 41, 0, 0, 0, 0, 473, 463, 0,
0, 388, 409, 0, 326, 0, 0, 216, 224, 0,
236, 0, 235, 0, 226, 0, 374, 0, 257, 256,
0, 246, 248, 249, 247, 250, 0, 245, 389, 401,
402, 403, 404, 400, 405, 406, 407, 399, 0, 0,
393, 476, 398, 381, 0, 308, 306, 335, 321, 0,
0, 332, 319, 0, 358, 356, 0, 415, 24, 0,
0, 0, 363, 0, 0, 476, 451, 0, 397, 476,
0, 472, 0, 450, 469, 325, 314, 218, 0, 217,
229, 233, 0, 0, 0, 0, 350, 347, 374, 0,
238, 0, 0, 0, 395, 323, 380, 380, 420, 31,
30, 424, 425, 421, 422, 423, 40, 0, 0, 361,
0, 362, 454, 465, 0, 0, 474, 220, 0, 237,
227, 0, 375, 0, 0, 0, 350, 324, 390, 0,
394, 476, 244, 322, 320, 444, 430, 445, 0, 0,
476, 426, 360, 0, 476, 0, 0, 475, 214, 219,
0, 0, 0, 374, 351, 348, 0, 391, 0, 396,
476, 0, 440, 364, 0, 467, 466, 455, 416, 379,
0, 0, 352, 0, 349, 0, 0, 0, 0, 0,
456, 476, 0, 0, 374, 0, 446, 0, 368, 442,
419, 417, 441, 0, 429, 468, 0, 0, 353, 0,
0, 447, 448, 427, 0, 418, 0, 376, 0, 0,
476, 443, 0, 392, 428, 449, 377
};
/* YYPGOTO[NTERM-NUM]. */
static const short int yypgoto[] =
{
-554, -323, -129, 0, 56, -554, -554, 357, -554, -554,
-554, -554, -554, -554, -554, -554, -554, -554, 270, -554,
-554, -554, -127, -554, -325, -554, -554, -554, -554, -554,
-216, -554, -554, -152, -11, -23, -554, -554, -554, 269,
362, -554, -554, 232, -554, -554, -554, -554, 246, -554,
-554, -554, -554, -147, 383, 3, -16, 18, -554, -554,
231, -331, -14, -39, -554, -554, 58, -155, -554, -199,
-554, 35, -554, -47, -390, -554, -554, -554, -554, 68,
-544, 43, -345, -61, -7, -554, -554, 393, -554, -161,
-490, -553, -554, 66, -361, -554, -271, -517, 34, -554,
-554, -554, -526, -554, -554, -554, -554, -554, -554, -554,
-524, 32, -380, -554, -554, -554, -554, -554, -554, -134,
-28, -529
};
/* YYDEFGOTO[NTERM-NUM]. */
static const short int yydefgoto[] =
{
-1, 554, 475, 169, 330, 32, 33, 34, 35, 36,
130, 131, 132, 133, 336, 134, 135, 136, 205, 206,
568, 569, 331, 332, 349, 501, 502, 37, 156, 157,
516, 517, 38, 139, 39, 40, 41, 42, 43, 44,
45, 46, 47, 177, 374, 377, 180, 48, 183, 458,
49, 50, 198, 408, 51, 52, 53, 142, 55, 56,
384, 385, 57, 476, 58, 59, 444, 445, 507, 615,
644, 144, 389, 390, 477, 478, 61, 145, 146, 150,
576, 358, 370, 171, 410, 103, 62, 63, 529, 530,
479, 531, 532, 398, 399, 400, 679, 680, 681, 593,
594, 595, 104, 669, 682, 628, 690, 691, 401, 402,
480, 481, 105, 635, 656, 403, 404, 405, 486, 487,
483, 163
};
/* 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[] =
{
170, 162, 102, 158, 112, 333, 141, 347, 143, 101,
188, 140, 482, 367, 493, 490, 414, 597, 54, 192,
596, 111, 417, 147, 148, 149, 438, 456, 618, 592,
621, 602, 172, 334, 616, 60, 54, 492, 29, 558,
535, 584, 71, 519, 375, 536, 520, 376, 159, 54,
521, 54, 522, 523, 524, 525, 526, 527, 161, 72,
443, 612, 167, 627, 189, 440, 647, 181, 60, 613,
-378, 596, -373, -373, 357, -378, 544, 665, 412, 528,
631, 173, 174, 175, 551, 552, 176, 158, 64, 492,
65, 438, 193, 500, 438, 68, 488, -318, -337, 662,
-337, 170, 191, 467, 462, 463, 468, 194, 195, 196,
655, 182, 503, 504, 511, 512, 513, 538, 184, 542,
514, 515, -327, 335, 197, 204, 178, 4, 5, 407,
688, 584, 541, 172, 541, 337, 348, 350, 352, 683,
652, 185, 596, 561, 356, 703, 562, 685, 362, 141,
186, 143, 692, 187, 140, 72, 591, 596, 409, 207,
666, 464, 465, 600, 601, 683, 695, 111, 596, 491,
386, 386, 372, 383, 383, 482, 705, 438, 625, 626,
438, 438, 54, 189, 582, 583, 388, 354, 406, 359,
360, 361, -327, 95, 96, 97, 98, 99, 100, 357,
518, 637, 496, 441, 442, 351, 353, 591, 632, -373,
-241, -242, 347, 363, 364, 365, 366, 373, 347, 369,
411, 371, 379, 380, 391, 392, 393, 394, 395, 396,
397, 391, 392, 393, 394, 395, 396, 397, 418, 651,
439, 623, 624, 653, 440, 451, 452, 609, 610, 449,
453, 454, 466, 457, 482, 391, 392, 393, 394, 395,
396, 397, 494, 497, 496, 505, 85, 86, 87, 88,
89, 90, 91, 92, 93, 533, 547, 677, 591, 546,
555, 556, 558, 557, 559, 560, 438, 438, 506, 347,
563, 482, 572, 591, 565, 570, 482, 571, 574, 580,
575, 581, 585, 586, 591, 587, -24, 598, 347, 347,
455, 1, 2, 3, 4, 5, 6, 7, 8, 607,
482, 608, 461, 611, 9, 614, 10, 11, 12, 13,
14, 15, 16, 17, 617, 619, 622, 164, 629, 630,
641, 348, 634, 640, 170, 645, 416, 348, 657, 642,
650, 658, 469, 661, 484, 578, 659, 660, 519, 158,
670, 520, 448, 663, 189, 521, 664, 522, 523, 524,
525, 526, 527, 668, 459, 671, 172, 672, 673, 675,
676, 686, 684, 687, 689, 697, 510, 702, 413, 694,
168, 696, 699, 698, 485, 704, 165, 107, 108, 109,
110, 700, 508, 509, 706, 338, 649, 495, 179, 355,
372, 378, 368, 605, 166, 499, 387, 646, 348, 446,
545, 160, 620, 701, 141, 470, 143, 489, 606, 140,
0, 450, 0, 0, 0, 0, 0, 348, 348, 0,
189, 0, 0, 347, 347, 0, 0, 0, 0, 386,
0, 386, 383, 537, 383, 534, 0, 566, 0, 191,
0, 0, 0, 550, 0, 0, 0, 388, 1, 2,
3, 4, 5, 6, 7, 8, 0, 0, 0, 0,
638, 9, 0, 10, 11, 12, 13, 14, 15, 16,
17, 141, 0, 143, 18, 0, 140, 567, 0, 0,
19, 20, 0, 0, 0, 0, 0, 0, 0, 0,
579, 21, 0, 0, 0, 0, 0, 0, 603, 0,
0, 409, 0, 0, 0, 0, 158, 0, 0, 0,
0, 604, 459, 0, 0, 0, 0, 448, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 22, 23, 24, 25, 26, 27, 28,
113, 29, 485, 0, 0, 636, 0, 0, 0, 0,
0, 0, 348, 348, 0, 643, 0, 0, 0, 0,
0, 0, 0, 0, 0, 30, 0, 0, 0, 0,
31, 0, 0, 648, 0, 0, 114, 115, 116, 117,
118, 119, 120, 121, 122, 123, 124, 125, 639, 126,
127, 128, 129, 0, 0, 0, 0, 0, 0, 0,
564, 0, 0, 0, 674, 0, 0, 0, 0, 678,
0, 419, 420, 421, 422, 423, 424, 425, 426, 427,
428, 429, 430, 431, 432, 433, 434, 435, 436, 0,
0, 0, 0, -430, 553, 678, -430, -430, -430, -430,
-430, -430, -430, -430, -430, -430, -430, -430, -430, -430,
-430, -430, -430, -430, -430, -430, -430, -430, -430, -430,
-430, -430, -430, -430, -430, -430, -430, -430, -430, -430,
-430, -430, -430, -430, -430, -430, -430, -430, -430, -430,
-430, -430, -430, -430, -430, -430, -430, -430, -430, -430,
-430, -430, -430, -430, -430, -430, -430, -430, -430, -430,
-430, -430, -430, -430, -430, -430, -430, -430, -430, -430,
-430, -430, -430, -430, -430, -430, -430, -430, -430, 0,
-430, 0, -430, -430, -430, -430, -430, -430, -430, -430,
-430, -430, -430, -430, -430, -430, -430, -430, -430, -430,
-430, -430, -430, -430, -430, -430, -430, -430, -430, -430,
-430, -430, -430, -430, -430, 0, -430, -430, 0, -430,
-430, -430, -430, 208, 0, 0, 209, 210, 211, 212,
213, 214, 215, 216, 217, 218, 219, 220, 221, 222,
223, 224, 225, 226, 227, 228, 229, 230, 231, 232,
233, 234, 235, 236, 237, 238, 239, 240, 241, 0,
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, 283, 284, 285, 286, 287, 288, 289, 290, 0,
291, 0, 292, 293, 294, 295, 296, 297, 298, 299,
300, 301, 302, 303, 304, 305, 306, 307, 308, 309,
310, 311, 312, 313, 314, 315, 316, 317, 318, 319,
320, 321, 322, 323, 324, 66, 0, 325, 0, 326,
327, 328, 329, 0, 67, 0, 0, 0, 0, 68,
69, 0, 0, 0, 0, 0, 0, 0, 0, 199,
200, 201, 70, 0, 0, 0, 151, 1, 2, 152,
4, 5, 6, 153, 8, 154, 0, 0, 0, 0,
155, 0, 10, 11, 12, 13, 14, 15, 16, 17,
0, 0, 0, 106, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 73, 74, 75, 76, 77, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 78, 0, 79, 80,
81, 82, 83, 84, 0, 0, 0, 85, 86, 87,
88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
98, 99, 100, 107, 108, 109, 0, 0, 202, 0,
203, 66, 1, 2, 3, 4, 5, 6, 7, 8,
67, 0, 0, 0, 0, 68, 69, 10, 11, 12,
13, 14, 15, 16, 17, 0, 0, 0, 548, 471,
0, 472, 0, 473, 0, 0, 474, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 342, 343, 72, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 344, 345, 0, 0, 0, 0,
73, 74, 75, 76, 77, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 107, 108,
109, 549, 78, 0, 79, 80, 81, 82, 83, 84,
0, 0, 0, 85, 86, 87, 88, 89, 90, 91,
92, 93, 94, 95, 96, 97, 98, 99, 100, 66,
0, 0, 0, 0, 0, 0, 0, 0, 67, 0,
0, 0, 0, 68, 69, 0, 0, 0, 0, 0,
0, 0, 0, 588, 0, 0, 70, 471, 0, 472,
0, 473, 0, 0, 474, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 161, 0, 0, 342,
343, 72, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 344, 345, 0, 0, 0, 0, 73, 74,
75, 76, 77, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
78, 0, 589, 80, 81, 82, 83, 84, 0, 0,
0, 85, 86, 87, 88, 89, 90, 91, 92, 93,
590, 95, 96, 97, 98, 99, 100, 66, 0, 0,
0, 0, 0, 0, 0, 0, 67, 0, 0, 0,
0, 68, 69, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 70, 471, 0, 472, 0, 473,
0, 0, 474, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 161, 0, 0, 342, 343, 72,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
344, 345, 0, 0, 654, 0, 73, 74, 75, 76,
77, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 78, 0,
79, 80, 81, 82, 83, 84, 0, 0, 0, 85,
86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
96, 97, 98, 99, 100, 66, 0, 0, 0, 0,
0, 0, 0, 0, 67, 0, 0, 0, 0, 68,
69, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 70, 471, -476, 472, 0, 473, 0, 0,
474, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 161, 0, 0, 342, 343, 72, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 344, 345,
0, 0, 0, 0, 73, 74, 75, 76, 77, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 78, 0, 79, 80,
81, 82, 83, 84, 0, 0, 0, 85, 86, 87,
88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
98, 99, 100, 66, 0, 0, 0, 0, 0, 0,
0, 0, 67, 0, 0, 0, 0, 68, 69, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
70, 471, 0, 472, 0, 473, 0, 0, 474, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
161, 0, 0, 342, 343, 72, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 344, 345, 0, 0,
0, 0, 73, 74, 75, 76, 77, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 78, 0, 79, 80, 81, 82,
83, 84, 0, 0, 0, 85, 86, 87, 88, 89,
90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 66, 0, 0, 0, 0, 0, 0, 0, 0,
67, 0, 0, 0, 0, 68, 69, 0, 0, 0,
0, 0, 0, 0, 0, 588, 0, 0, 70, 471,
0, 472, 0, 473, 0, 0, 474, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 342, 343, 72, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 344, 345, 0, 0, 0, 0,
73, 74, 75, 76, 77, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 78, 0, 589, 80, 81, 82, 83, 84,
0, 0, 0, 85, 86, 87, 88, 89, 90, 91,
92, 93, 590, 95, 96, 97, 98, 99, 100, 66,
0, 0, 0, 0, 0, 0, 0, 0, 67, 0,
0, 0, 0, 68, 69, 10, 11, 12, 13, 14,
15, 16, 17, 0, 0, 0, 70, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 2, 3, 4, 5, 6, 7, 8, 0,
0, 72, 0, 0, 9, 0, 10, 11, 12, 13,
14, 15, 16, 17, 0, 0, 0, 106, 73, 74,
75, 76, 77, 0, 0, 0, 0, 0, 0, 0,
577, 0, 0, 0, 0, 0, 0, 0, 0, 0,
78, 0, 79, 80, 81, 82, 83, 84, 0, 0,
0, 85, 86, 87, 88, 89, 90, 91, 92, 93,
94, 95, 96, 97, 98, 99, 100, 66, 0, 0,
0, 0, 0, 0, 0, 0, 67, 137, 138, 25,
110, 68, 69, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 70, 471, 0, 472, 0, 473,
0, 0, 474, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 342, 343, 72,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
344, 345, 0, 0, 0, 0, 73, 74, 75, 76,
77, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 78, 0,
79, 80, 81, 82, 83, 84, 0, 0, 0, 85,
86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
96, 97, 98, 99, 100, 66, 0, 0, 0, 0,
0, 0, 0, 0, 67, 0, 0, 0, 0, 68,
69, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 70, 0, 0, 339, 0, 340, 0, 0,
341, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 342, 343, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 344, 345,
0, 0, 0, 0, 73, 74, 75, 76, 77, 0,
0, 0, 0, 0, 0, 0, 346, 0, 0, 0,
0, 0, 0, 0, 0, 0, 78, 0, 79, 80,
81, 82, 83, 84, 0, 0, 0, 85, 86, 87,
88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
98, 99, 100, 66, 0, 0, 0, 0, 0, 0,
0, 0, 67, 0, 0, 0, 0, 68, 69, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
70, 0, 0, 0, 0, 0, 0, 0, 71, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 66, 0, 0, 72, 0, 0, 0, 0,
0, 67, 0, 0, 0, 0, 68, 69, 0, 0,
0, 0, 73, 74, 75, 76, 77, 0, 0, 70,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 78, 0, 79, 80, 81, 82,
83, 84, 0, 0, 72, 85, 86, 87, 88, 89,
90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 73, 74, 75, 76, 77, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 78, 0, 79, 80, 81, 82, 83,
84, 0, 0, 0, 85, 86, 87, 88, 89, 90,
91, 92, 93, 94, 95, 96, 97, 98, 99, 100,
66, 0, 0, 0, 0, 0, 0, 0, 0, 67,
0, 0, 0, 0, 68, 69, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 70, 0, 0,
0, 0, 0, 0, 0, 190, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 66,
0, 0, 0, 0, 0, 0, 0, 0, 67, 0,
0, 0, 0, 68, 69, 0, 0, 0, 0, 73,
74, 75, 76, 77, 0, 0, 70, 0, 0, 0,
0, 0, 0, 0, 415, 0, 0, 0, 0, 0,
0, 78, 0, 79, 80, 81, 82, 83, 84, 0,
0, 0, 85, 86, 87, 88, 89, 90, 91, 92,
93, 94, 95, 96, 97, 98, 99, 100, 73, 74,
75, 76, 77, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
78, 0, 79, 80, 81, 82, 83, 84, 0, 0,
0, 85, 86, 87, 88, 89, 90, 91, 92, 93,
94, 95, 96, 97, 98, 99, 100, 66, 0, 0,
0, 0, 0, 0, 0, 0, 67, 0, 0, 0,
0, 68, 69, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 70, 0, 0, 0, 0, 0,
0, 0, 447, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 66, 0, 0, 0,
0, 0, 0, 0, 0, 67, 0, 0, 0, 0,
68, 69, 0, 0, 0, 0, 73, 74, 75, 76,
77, 0, 0, 70, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 78, 0,
79, 80, 81, 82, 83, 84, 0, 0, 0, 85,
86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
96, 97, 98, 99, 100, 73, 74, 75, 76, 77,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 78, 0, 79,
80, 81, 82, 83, 84, 0, 0, 0, 85, 86,
87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
97, 98, 99, 100, 1, 2, 3, 4, 5, 6,
7, 8, 0, 0, 0, 0, 0, 539, 0, 10,
11, 12, 13, 14, 15, 16, 17, 0, 0, 0,
106, 1, 2, 3, 4, 5, 6, 7, 8, 0,
0, 0, 0, 0, 539, 0, 10, 11, 12, 13,
14, 15, 16, 17, 0, 0, 0, 106, 1, 2,
3, 4, 5, 6, 7, 8, 0, 0, 0, 0,
540, 9, 0, 10, 11, 12, 13, 14, 15, 16,
17, 0, 0, 0, 106, 0, 0, 0, 0, 0,
107, 108, 109, 382, 0, 0, 0, 543, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 1, 2,
3, 4, 5, 6, 7, 8, 0, 107, 108, 109,
382, 9, 0, 10, 11, 12, 13, 14, 15, 16,
17, 0, 0, 0, 106, 1, 2, 3, 4, 5,
6, 7, 8, 0, 107, 108, 109, 110, 9, 0,
10, 11, 12, 13, 14, 15, 16, 17, 0, 0,
0, 106, 1, 2, 3, 4, 5, 6, 7, 8,
0, 0, 0, 0, 0, 381, 0, 10, 11, 12,
13, 14, 15, 16, 17, 0, 0, 0, 106, 0,
0, 0, 0, 0, 137, 138, 25, 110, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 1, 2, 3, 4, 5, 6, 7, 8,
0, 107, 108, 109, 110, 155, 0, 10, 11, 12,
13, 14, 15, 16, 17, 0, 0, 0, 106, 1,
2, 3, 4, 5, 6, 7, 8, 0, 107, 108,
109, 382, 460, 0, 10, 11, 12, 13, 14, 15,
16, 17, 0, 0, 0, 106, 1, 2, 3, 4,
5, 6, 7, 8, 0, 0, 0, 0, 0, 0,
0, 10, 11, 12, 13, 14, 15, 16, 17, 0,
0, 0, 106, 0, 0, 0, 498, 0, 107, 108,
109, 0, 0, 0, 0, 419, 420, 421, 422, 423,
424, 425, 426, 427, 428, 429, 430, 431, 432, 433,
434, 435, 436, 599, 0, 107, 108, 109, 437, 0,
0, 0, 419, 420, 421, 422, 423, 424, 425, 426,
427, 428, 429, 430, 431, 432, 433, 434, 435, 436,
693, 0, 107, 108, 109, 553, 0, 0, 0, 419,
420, 421, 422, 423, 424, 425, 426, 427, 428, 429,
430, 431, 432, 433, 434, 435, 436, 667, 0, 0,
0, 0, 553, 0, 0, 419, 420, 421, 422, 423,
424, 425, 426, 427, 428, 429, 430, 431, 432, 433,
434, 435, 436, 573, 0, 0, 0, 0, 553, 0,
419, 420, 421, 422, 423, 424, 425, 426, 427, 428,
429, 430, 431, 432, 433, 434, 435, 436, 633, 0,
0, 0, 0, 437, 0, 419, 420, 421, 422, 423,
424, 425, 426, 427, 428, 429, 430, 431, 432, 433,
434, 435, 436, 0, 0, 0, 0, 0, 553, 419,
420, 421, 422, 423, 424, 425, 426, 427, 428, 429,
430, 431, 432, 433, 434, 435, 436, 0, 0, 0,
0, 0, 437, 419, 420, 421, 422, 423, 424, 425,
426, 427, 428, 429, 430, 431, 432, 433, 434, 435,
436, 0, 0, 0, 0, 0, 553, 419, 420, 421,
422, 423, 424, 425, 426, 427, 428, 429, 430, 431,
432, 433, 434, 435, 436, 0, 0, 0, 0, 0,
437, 419, 420, 421, 422, 423, 424, 425, 426, 427,
428, 429, 430, 431, 432, 433, 434, 435, 436, 0,
0, 0, 0, 0, 553
};
static const short int yycheck[] =
{
39, 29, 9, 26, 18, 132, 22, 136, 22, 9,
71, 22, 392, 165, 404, 395, 341, 546, 0, 55,
546, 18, 347, 23, 24, 25, 349, 372, 581, 546,
583, 555, 39, 34, 578, 0, 18, 398, 97, 32,
34, 531, 38, 3, 6, 39, 6, 9, 34, 31,
10, 33, 12, 13, 14, 15, 16, 17, 50, 55,
37, 33, 0, 589, 71, 42, 619, 37, 33, 41,
37, 597, 41, 42, 41, 42, 466, 70, 205, 39,
597, 4, 5, 6, 474, 475, 9, 110, 9, 450,
11, 414, 128, 418, 417, 17, 18, 37, 38, 643,
40, 140, 102, 40, 39, 40, 43, 107, 108, 109,
634, 129, 437, 438, 27, 28, 29, 462, 38, 464,
33, 34, 38, 124, 40, 125, 6, 7, 8, 190,
674, 621, 463, 140, 465, 135, 136, 137, 138, 668,
630, 38, 668, 37, 144, 698, 40, 671, 155, 165,
42, 165, 676, 42, 165, 55, 546, 683, 197, 36,
650, 39, 40, 553, 554, 694, 683, 164, 694, 43,
184, 185, 172, 184, 185, 555, 700, 500, 17, 18,
503, 504, 164, 190, 39, 40, 186, 37, 188, 146,
147, 148, 38, 115, 116, 117, 118, 119, 120, 41,
43, 39, 40, 358, 359, 137, 138, 597, 598, 42,
31, 31, 341, 31, 37, 42, 31, 6, 347, 44,
123, 38, 38, 37, 98, 99, 100, 101, 102, 103,
104, 98, 99, 100, 101, 102, 103, 104, 38, 629,
41, 586, 587, 633, 42, 38, 37, 572, 573, 46,
37, 33, 46, 34, 634, 98, 99, 100, 101, 102,
103, 104, 39, 38, 40, 38, 105, 106, 107, 108,
109, 110, 111, 112, 113, 45, 37, 667, 668, 46,
46, 37, 32, 38, 46, 38, 609, 610, 440, 418,
37, 671, 40, 683, 39, 39, 676, 39, 33, 37,
41, 41, 39, 39, 694, 39, 39, 39, 437, 438,
371, 4, 5, 6, 7, 8, 9, 10, 11, 39,
700, 40, 383, 40, 17, 40, 19, 20, 21, 22,
23, 24, 25, 26, 39, 41, 46, 30, 38, 38,
41, 341, 40, 33, 383, 37, 346, 347, 39, 38,
38, 37, 391, 33, 393, 507, 39, 41, 3, 382,
39, 6, 362, 40, 371, 10, 37, 12, 13, 14,
15, 16, 17, 40, 381, 40, 383, 38, 40, 32,
38, 33, 39, 33, 39, 39, 447, 33, 332, 40,
33, 40, 39, 41, 394, 39, 89, 90, 91, 92,
93, 40, 441, 442, 39, 135, 622, 407, 46, 140,
410, 179, 166, 560, 31, 415, 185, 616, 418, 361,
467, 28, 583, 694, 440, 391, 440, 395, 562, 440,
-1, 365, -1, -1, -1, -1, -1, 437, 438, -1,
447, -1, -1, 572, 573, -1, -1, -1, -1, 463,
-1, 465, 463, 460, 465, 455, -1, 496, -1, 459,
-1, -1, -1, 474, -1, -1, -1, 467, 4, 5,
6, 7, 8, 9, 10, 11, -1, -1, -1, -1,
607, 17, -1, 19, 20, 21, 22, 23, 24, 25,
26, 507, -1, 507, 30, -1, 507, 497, -1, -1,
36, 37, -1, -1, -1, -1, -1, -1, -1, -1,
510, 47, -1, -1, -1, -1, -1, -1, 557, -1,
-1, 560, -1, -1, -1, -1, 549, -1, -1, -1,
-1, 559, 539, -1, -1, -1, -1, 537, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 89, 90, 91, 92, 93, 94, 95,
36, 97, 562, -1, -1, 604, -1, -1, -1, -1,
-1, -1, 572, 573, -1, 614, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 121, -1, -1, -1, -1,
126, -1, -1, 621, -1, -1, 72, 73, 74, 75,
76, 77, 78, 79, 80, 81, 82, 83, 608, 85,
86, 87, 88, -1, -1, -1, -1, -1, -1, -1,
37, -1, -1, -1, 663, -1, -1, -1, -1, 668,
-1, 48, 49, 50, 51, 52, 53, 54, 55, 56,
57, 58, 59, 60, 61, 62, 63, 64, 65, -1,
-1, -1, -1, 0, 71, 694, 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, -1,
87, -1, 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, -1, 123, 124, -1, 126,
127, 128, 129, 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, -1,
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, -1,
87, -1, 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, 3, -1, 124, -1, 126,
127, 128, 129, -1, 12, -1, -1, -1, -1, 17,
18, -1, -1, -1, -1, -1, -1, -1, -1, 27,
28, 29, 30, -1, -1, -1, 3, 4, 5, 6,
7, 8, 9, 10, 11, 12, -1, -1, -1, -1,
17, -1, 19, 20, 21, 22, 23, 24, 25, 26,
-1, -1, -1, 30, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 72, 73, 74, 75, 76, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 94, -1, 96, 97,
98, 99, 100, 101, -1, -1, -1, 105, 106, 107,
108, 109, 110, 111, 112, 113, 114, 115, 116, 117,
118, 119, 120, 90, 91, 92, -1, -1, 126, -1,
128, 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, -1, 35, -1, -1, 38, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 53, 54, 55, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 66, 67, -1, -1, -1, -1,
72, 73, 74, 75, 76, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 90, 91,
92, 93, 94, -1, 96, 97, 98, 99, 100, 101,
-1, -1, -1, 105, 106, 107, 108, 109, 110, 111,
112, 113, 114, 115, 116, 117, 118, 119, 120, 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, -1, -1, 38, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 50, -1, -1, 53,
54, 55, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 66, 67, -1, -1, -1, -1, 72, 73,
74, 75, 76, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
94, -1, 96, 97, 98, 99, 100, 101, -1, -1,
-1, 105, 106, 107, 108, 109, 110, 111, 112, 113,
114, 115, 116, 117, 118, 119, 120, 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,
-1, -1, 38, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 50, -1, -1, 53, 54, 55,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
66, 67, -1, -1, 70, -1, 72, 73, 74, 75,
76, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 94, -1,
96, 97, 98, 99, 100, 101, -1, -1, -1, 105,
106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 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, -1, -1,
38, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 50, -1, -1, 53, 54, 55, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 66, 67,
-1, -1, -1, -1, 72, 73, 74, 75, 76, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 94, -1, 96, 97,
98, 99, 100, 101, -1, -1, -1, 105, 106, 107,
108, 109, 110, 111, 112, 113, 114, 115, 116, 117,
118, 119, 120, 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, -1, -1, 38, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
50, -1, -1, 53, 54, 55, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 66, 67, -1, -1,
-1, -1, 72, 73, 74, 75, 76, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 94, -1, 96, 97, 98, 99,
100, 101, -1, -1, -1, 105, 106, 107, 108, 109,
110, 111, 112, 113, 114, 115, 116, 117, 118, 119,
120, 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, -1, -1, 38, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 53, 54, 55, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 66, 67, -1, -1, -1, -1,
72, 73, 74, 75, 76, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 94, -1, 96, 97, 98, 99, 100, 101,
-1, -1, -1, 105, 106, 107, 108, 109, 110, 111,
112, 113, 114, 115, 116, 117, 118, 119, 120, 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, -1, -1, 30, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 4, 5, 6, 7, 8, 9, 10, 11, -1,
-1, 55, -1, -1, 17, -1, 19, 20, 21, 22,
23, 24, 25, 26, -1, -1, -1, 30, 72, 73,
74, 75, 76, -1, -1, -1, -1, -1, -1, -1,
43, -1, -1, -1, -1, -1, -1, -1, -1, -1,
94, -1, 96, 97, 98, 99, 100, 101, -1, -1,
-1, 105, 106, 107, 108, 109, 110, 111, 112, 113,
114, 115, 116, 117, 118, 119, 120, 3, -1, -1,
-1, -1, -1, -1, -1, -1, 12, 90, 91, 92,
93, 17, 18, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 30, 31, -1, 33, -1, 35,
-1, -1, 38, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 53, 54, 55,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
66, 67, -1, -1, -1, -1, 72, 73, 74, 75,
76, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 94, -1,
96, 97, 98, 99, 100, 101, -1, -1, -1, 105,
106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 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, -1, -1,
38, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 53, 54, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 66, 67,
-1, -1, -1, -1, 72, 73, 74, 75, 76, -1,
-1, -1, -1, -1, -1, -1, 84, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 94, -1, 96, 97,
98, 99, 100, 101, -1, -1, -1, 105, 106, 107,
108, 109, 110, 111, 112, 113, 114, 115, 116, 117,
118, 119, 120, 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, 38, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 3, -1, -1, 55, -1, -1, -1, -1,
-1, 12, -1, -1, -1, -1, 17, 18, -1, -1,
-1, -1, 72, 73, 74, 75, 76, -1, -1, 30,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 94, -1, 96, 97, 98, 99,
100, 101, -1, -1, 55, 105, 106, 107, 108, 109,
110, 111, 112, 113, 114, 115, 116, 117, 118, 119,
120, 72, 73, 74, 75, 76, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 94, -1, 96, 97, 98, 99, 100,
101, -1, -1, -1, 105, 106, 107, 108, 109, 110,
111, 112, 113, 114, 115, 116, 117, 118, 119, 120,
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, 38, -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, 72,
73, 74, 75, 76, -1, -1, 30, -1, -1, -1,
-1, -1, -1, -1, 38, -1, -1, -1, -1, -1,
-1, 94, -1, 96, 97, 98, 99, 100, 101, -1,
-1, -1, 105, 106, 107, 108, 109, 110, 111, 112,
113, 114, 115, 116, 117, 118, 119, 120, 72, 73,
74, 75, 76, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
94, -1, 96, 97, 98, 99, 100, 101, -1, -1,
-1, 105, 106, 107, 108, 109, 110, 111, 112, 113,
114, 115, 116, 117, 118, 119, 120, 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, 38, -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, 72, 73, 74, 75,
76, -1, -1, 30, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 94, -1,
96, 97, 98, 99, 100, 101, -1, -1, -1, 105,
106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 119, 120, 72, 73, 74, 75, 76,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 94, -1, 96,
97, 98, 99, 100, 101, -1, -1, -1, 105, 106,
107, 108, 109, 110, 111, 112, 113, 114, 115, 116,
117, 118, 119, 120, 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, 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, 4, 5,
6, 7, 8, 9, 10, 11, -1, -1, -1, -1,
70, 17, -1, 19, 20, 21, 22, 23, 24, 25,
26, -1, -1, -1, 30, -1, -1, -1, -1, -1,
90, 91, 92, 93, -1, -1, -1, 70, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 4, 5,
6, 7, 8, 9, 10, 11, -1, 90, 91, 92,
93, 17, -1, 19, 20, 21, 22, 23, 24, 25,
26, -1, -1, -1, 30, 4, 5, 6, 7, 8,
9, 10, 11, -1, 90, 91, 92, 93, 17, -1,
19, 20, 21, 22, 23, 24, 25, 26, -1, -1,
-1, 30, 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, 90, 91, 92, 93, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 4, 5, 6, 7, 8, 9, 10, 11,
-1, 90, 91, 92, 93, 17, -1, 19, 20, 21,
22, 23, 24, 25, 26, -1, -1, -1, 30, 4,
5, 6, 7, 8, 9, 10, 11, -1, 90, 91,
92, 93, 17, -1, 19, 20, 21, 22, 23, 24,
25, 26, -1, -1, -1, 30, 4, 5, 6, 7,
8, 9, 10, 11, -1, -1, -1, -1, -1, -1,
-1, 19, 20, 21, 22, 23, 24, 25, 26, -1,
-1, -1, 30, -1, -1, -1, 39, -1, 90, 91,
92, -1, -1, -1, -1, 48, 49, 50, 51, 52,
53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
63, 64, 65, 39, -1, 90, 91, 92, 71, -1,
-1, -1, 48, 49, 50, 51, 52, 53, 54, 55,
56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
39, -1, 90, 91, 92, 71, -1, -1, -1, 48,
49, 50, 51, 52, 53, 54, 55, 56, 57, 58,
59, 60, 61, 62, 63, 64, 65, 40, -1, -1,
-1, -1, 71, -1, -1, 48, 49, 50, 51, 52,
53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
63, 64, 65, 41, -1, -1, -1, -1, 71, -1,
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
58, 59, 60, 61, 62, 63, 64, 65, 41, -1,
-1, -1, -1, 71, -1, 48, 49, 50, 51, 52,
53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
63, 64, 65, -1, -1, -1, -1, -1, 71, 48,
49, 50, 51, 52, 53, 54, 55, 56, 57, 58,
59, 60, 61, 62, 63, 64, 65, -1, -1, -1,
-1, -1, 71, 48, 49, 50, 51, 52, 53, 54,
55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
65, -1, -1, -1, -1, -1, 71, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
61, 62, 63, 64, 65, -1, -1, -1, -1, -1,
71, 48, 49, 50, 51, 52, 53, 54, 55, 56,
57, 58, 59, 60, 61, 62, 63, 64, 65, -1,
-1, -1, -1, -1, 71
};
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
symbol of state STATE-NUM. */
static const unsigned char yystos[] =
{
0, 4, 5, 6, 7, 8, 9, 10, 11, 17,
19, 20, 21, 22, 23, 24, 25, 26, 30, 36,
37, 47, 89, 90, 91, 92, 93, 94, 95, 97,
121, 126, 137, 138, 139, 140, 141, 159, 164, 166,
167, 168, 169, 170, 171, 172, 173, 174, 179, 182,
183, 186, 187, 188, 189, 190, 191, 194, 196, 197,
203, 208, 218, 219, 9, 11, 3, 12, 17, 18,
30, 38, 55, 72, 73, 74, 75, 76, 94, 96,
97, 98, 99, 100, 101, 105, 106, 107, 108, 109,
110, 111, 112, 113, 114, 115, 116, 117, 118, 119,
120, 135, 216, 217, 234, 244, 30, 90, 91, 92,
93, 187, 194, 36, 72, 73, 74, 75, 76, 77,
78, 79, 80, 81, 82, 83, 85, 86, 87, 88,
142, 143, 144, 145, 147, 148, 149, 90, 91, 165,
166, 188, 189, 194, 203, 209, 210, 135, 135, 135,
211, 3, 6, 10, 12, 17, 160, 161, 167, 34,
219, 50, 252, 253, 30, 89, 186, 0, 139, 135,
195, 215, 216, 4, 5, 6, 9, 175, 6, 172,
178, 37, 129, 180, 38, 38, 42, 42, 215, 216,
38, 135, 55, 128, 135, 135, 135, 40, 184, 27,
28, 29, 126, 128, 135, 150, 151, 36, 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, 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, 87, 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, 124, 126, 127, 128, 129,
136, 154, 155, 154, 34, 124, 146, 135, 150, 33,
35, 38, 53, 54, 66, 67, 84, 134, 135, 156,
135, 211, 135, 211, 37, 171, 135, 41, 213, 213,
213, 213, 216, 31, 37, 42, 31, 165, 180, 44,
214, 38, 135, 6, 176, 6, 9, 177, 175, 38,
37, 17, 93, 166, 192, 193, 194, 192, 135, 204,
205, 98, 99, 100, 101, 102, 103, 104, 225, 226,
227, 240, 241, 247, 248, 249, 135, 215, 185, 195,
216, 123, 154, 136, 156, 38, 135, 156, 38, 48,
49, 50, 51, 52, 53, 54, 55, 56, 57, 58,
59, 60, 61, 62, 63, 64, 65, 71, 133, 41,
42, 199, 199, 37, 198, 199, 198, 38, 135, 46,
225, 38, 37, 37, 33, 215, 214, 34, 181, 216,
17, 215, 39, 40, 39, 40, 46, 40, 43, 195,
230, 31, 33, 35, 38, 134, 195, 206, 207, 222,
242, 243, 244, 252, 195, 135, 250, 251, 18, 243,
244, 43, 226, 206, 39, 135, 40, 38, 39, 135,
156, 157, 158, 156, 156, 38, 165, 200, 195, 195,
215, 27, 28, 29, 33, 34, 162, 163, 43, 3,
6, 10, 12, 13, 14, 15, 16, 17, 39, 220,
221, 223, 224, 45, 135, 34, 39, 216, 214, 17,
70, 193, 214, 70, 206, 205, 46, 37, 30, 93,
166, 206, 206, 71, 133, 46, 37, 38, 32, 46,
38, 37, 40, 37, 37, 39, 195, 135, 152, 153,
39, 39, 40, 41, 33, 41, 212, 43, 165, 135,
37, 41, 39, 40, 222, 39, 39, 39, 27, 96,
114, 206, 229, 231, 232, 233, 234, 253, 39, 39,
206, 206, 242, 195, 252, 185, 251, 39, 40, 156,
156, 40, 33, 41, 40, 201, 212, 39, 223, 41,
221, 223, 46, 214, 214, 17, 18, 234, 237, 38,
38, 229, 206, 41, 40, 245, 195, 39, 154, 135,
33, 41, 38, 195, 202, 37, 201, 223, 252, 162,
38, 206, 222, 206, 70, 242, 246, 39, 37, 39,
41, 33, 212, 40, 37, 70, 222, 40, 40, 235,
39, 40, 38, 40, 195, 32, 38, 206, 195, 228,
229, 230, 236, 253, 39, 242, 33, 33, 212, 39,
238, 239, 242, 39, 40, 229, 40, 39, 41, 39,
40, 228, 33, 223, 39, 242, 39
};
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
static const unsigned char yyr1[] =
{
0, 132, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
134, 134, 134, 134, 135, 135, 135, 135, 135, 135,
135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
135, 135, 136, 136, 136, 136, 136, 136, 136, 136,
136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
136, 136, 136, 136, 137, 137, 138, 138, 139, 139,
139, 139, 139, 139, 139, 139, 139, 139, 139, 139,
139, 140, 141, 141, 142, 142, 142, 142, 142, 142,
142, 142, 143, 143, 144, 144, 145, 145, 145, 146,
146, 147, 147, 148, 148, 148, 149, 149, 150, 150,
150, 150, 150, 150, 151, 151, 152, 152, 153, 153,
154, 154, 155, 155, 156, 156, 156, 156, 156, 156,
156, 156, 156, 156, 157, 157, 158, 158, 159, 160,
161, 161, 161, 161, 162, 162, 163, 163, 163, 163,
163, 164, 164, 165, 165, 165, 165, 165, 165, 166,
166, 167, 167, 168, 168, 168, 169, 169, 169, 169,
170, 170, 170, 171, 171, 171, 171, 171, 171, 171,
171, 172, 172, 173, 173, 173, 174, 174, 174, 174,
175, 175, 175, 175, 175, 176, 176, 177, 177, 177,
178, 178, 178, 179, 179, 180, 180, 181, 181, 182,
183, 184, 184, 185, 185, 186, 186, 187, 187, 188,
188, 189, 189, 190, 190, 190, 190, 191, 191, 192,
192, 192, 192, 193, 193, 193, 193, 194, 194, 194,
194, 195, 195, 196, 197, 198, 198, 199, 200, 200,
201, 201, 202, 202, 203, 204, 204, 205, 205, 206,
206, 206, 206, 206, 206, 207, 207, 207, 207, 208,
209, 210, 211, 211, 212, 212, 212, 212, 213, 213,
214, 214, 215, 215, 216, 216, 217, 217, 218, 218,
219, 219, 219, 220, 220, 221, 221, 222, 223, 224,
224, 224, 224, 224, 224, 224, 224, 224, 225, 225,
226, 226, 226, 226, 226, 227, 227, 228, 228, 228,
229, 229, 229, 229, 229, 230, 230, 231, 232, 233,
234, 234, 234, 234, 234, 234, 234, 234, 234, 234,
235, 235, 236, 236, 237, 237, 238, 238, 239, 239,
240, 241, 242, 242, 242, 243, 243, 244, 244, 244,
244, 244, 244, 244, 244, 245, 245, 246, 246, 247,
248, 248, 249, 250, 250, 251, 252, 252, 253
};
/* 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, 0, 1, 1, 2, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 3, 2, 3, 2, 2, 1, 2, 2, 2,
1, 2, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 6, 2, 0, 1, 1, 3,
0, 1, 1, 2, 3, 2, 3, 5, 2, 4,
1, 1, 1, 4, 0, 1, 1, 3, 6, 1,
1, 1, 1, 1, 0, 1, 1, 1, 1, 1,
1, 3, 4, 1, 1, 2, 4, 4, 2, 2,
1, 1, 1, 2, 2, 2, 1, 1, 1, 1,
1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 2, 1, 1, 2, 2,
0, 1, 2, 1, 2, 0, 1, 0, 1, 1,
0, 1, 2, 3, 4, 0, 4, 1, 2, 2,
3, 0, 2, 1, 3, 1, 2, 1, 1, 5,
7, 5, 7, 6, 7, 6, 5, 1, 2, 0,
1, 1, 3, 1, 2, 3, 2, 1, 2, 4,
3, 3, 2, 4, 4, 1, 1, 3, 4, 5,
0, 2, 2, 4, 4, 1, 3, 1, 3, 1,
4, 3, 3, 2, 5, 1, 1, 1, 1, 2,
2, 2, 0, 1, 0, 2, 7, 9, 0, 7,
0, 3, 0, 1, 1, 2, 1, 2, 4, 5,
7, 8, 13, 1, 3, 2, 4, 2, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
1, 1, 1, 1, 1, 3, 6, 1, 2, 1,
1, 1, 1, 1, 1, 3, 4, 6, 8, 5,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
0, 2, 1, 3, 1, 1, 0, 1, 1, 3,
3, 3, 1, 1, 3, 5, 6, 1, 1, 1,
1, 1, 1, 1, 1, 0, 2, 1, 3, 3,
1, 1, 3, 1, 3, 4, 0, 1, 1
};
/* YYDPREC[RULE-NUM] -- Dynamic precedence of rule #RULE-NUM (0 if none). */
static const unsigned char yydprec[] =
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0
};
/* YYMERGER[RULE-NUM] -- Index of merging function for rule #RULE-NUM. */
static const unsigned char yymerger[] =
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0
};
/* YYIMMEDIATE[RULE-NUM] -- True iff rule #RULE-NUM is not to be deferred, as
in the case of predicates. */
static const yybool yyimmediate[] =
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0
};
/* 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, 5, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 259, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0,
175, 0, 177, 179, 181, 183, 185, 187, 189, 191,
193, 195, 197, 199, 201, 203, 205, 207, 209, 211,
213, 215, 217, 219, 221, 223, 225, 227, 229, 231,
233, 235, 237, 239, 241, 0, 243, 245, 0, 247,
249, 251, 253, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 255, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 257, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
261, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 263
};
/* YYCONFL[I] -- lists of conflicting rule numbers, each terminated by
0, pointed into by YYCONFLP. */
static const short int yyconfl[] =
{
0, 269, 0, 269, 0, 337, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 463, 0, 463, 0, 463,
0, 463, 0, 463, 0, 269, 0, 269, 0, 269,
0, 227, 0, 364, 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 171:
#line 410 "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 2441 "src/parser_proc.c" /* glr.c:816 */
break;
case 172:
#line 416 "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 2454 "src/parser_proc.c" /* glr.c:816 */
break;
case 173:
#line 424 "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 2462 "src/parser_proc.c" /* glr.c:816 */
break;
case 174:
#line 427 "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 2470 "src/parser_proc.c" /* glr.c:816 */
break;
case 176:
#line 431 "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 2478 "src/parser_proc.c" /* glr.c:816 */
break;
case 177:
#line 434 "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 2486 "src/parser_proc.c" /* glr.c:816 */
break;
case 178:
#line 437 "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 2494 "src/parser_proc.c" /* glr.c:816 */
break;
case 179:
#line 440 "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 2502 "src/parser_proc.c" /* glr.c:816 */
break;
case 180:
#line 443 "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 2510 "src/parser_proc.c" /* glr.c:816 */
break;
case 181:
#line 449 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_token **)(&(*yyvalp))) = (*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
#line 2518 "src/parser_proc.c" /* glr.c:816 */
break;
case 182:
#line 455 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_cpp_exp **)(&(*yyvalp))) = NULL;
}
#line 2526 "src/parser_proc.c" /* glr.c:816 */
break;
case 183:
#line 458 "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 2534 "src/parser_proc.c" /* glr.c:816 */
break;
case 184:
#line 464 "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 2562 "src/parser_proc.c" /* glr.c:816 */
break;
case 185:
#line 487 "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 2571 "src/parser_proc.c" /* glr.c:816 */
break;
case 186:
#line 491 "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 2580 "src/parser_proc.c" /* glr.c:816 */
break;
case 187:
#line 495 "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 2590 "src/parser_proc.c" /* glr.c:816 */
break;
case 188:
#line 500 "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 2599 "src/parser_proc.c" /* glr.c:816 */
break;
case 189:
#line 504 "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 2608 "src/parser_proc.c" /* glr.c:816 */
break;
case 190:
#line 508 "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 2617 "src/parser_proc.c" /* glr.c:816 */
break;
case 191:
#line 512 "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 2626 "src/parser_proc.c" /* glr.c:816 */
break;
case 214:
#line 565 "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 2636 "src/parser_proc.c" /* glr.c:816 */
break;
case 215:
#line 570 "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 2646 "src/parser_proc.c" /* glr.c:816 */
break;
case 216:
#line 578 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = psi_plist_init(NULL);
}
#line 2654 "src/parser_proc.c" /* glr.c:816 */
break;
case 218:
#line 585 "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 2664 "src/parser_proc.c" /* glr.c:816 */
break;
case 219:
#line 590 "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 2674 "src/parser_proc.c" /* glr.c:816 */
break;
case 220:
#line 598 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 2682 "src/parser_proc.c" /* glr.c:816 */
break;
case 222:
#line 605 "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 2691 "src/parser_proc.c" /* glr.c:816 */
break;
case 223:
#line 609 "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 2700 "src/parser_proc.c" /* glr.c:816 */
break;
case 224:
#line 616 "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 2709 "src/parser_proc.c" /* glr.c:816 */
break;
case 225:
#line 620 "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 2718 "src/parser_proc.c" /* glr.c:816 */
break;
case 226:
#line 624 "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 2727 "src/parser_proc.c" /* glr.c:816 */
break;
case 227:
#line 628 "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 2736 "src/parser_proc.c" /* glr.c:816 */
break;
case 228:
#line 633 "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 2751 "src/parser_proc.c" /* glr.c:816 */
break;
case 229:
#line 643 "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 2766 "src/parser_proc.c" /* glr.c:816 */
break;
case 230:
#line 653 "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 2776 "src/parser_proc.c" /* glr.c:816 */
break;
case 231:
#line 658 "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 2786 "src/parser_proc.c" /* glr.c:816 */
break;
case 232:
#line 663 "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 2797 "src/parser_proc.c" /* glr.c:816 */
break;
case 233:
#line 669 "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 2808 "src/parser_proc.c" /* glr.c:816 */
break;
case 234:
#line 678 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 2816 "src/parser_proc.c" /* glr.c:816 */
break;
case 236:
#line 685 "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 2825 "src/parser_proc.c" /* glr.c:816 */
break;
case 237:
#line 689 "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 2833 "src/parser_proc.c" /* glr.c:816 */
break;
case 238:
#line 695 "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 2842 "src/parser_proc.c" /* glr.c:816 */
break;
case 239:
#line 702 "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 2850 "src/parser_proc.c" /* glr.c:816 */
break;
case 244:
#line 715 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_impl_def_val **)(&(*yyvalp))) = NULL;
}
#line 2858 "src/parser_proc.c" /* glr.c:816 */
break;
case 245:
#line 718 "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 2867 "src/parser_proc.c" /* glr.c:816 */
break;
case 251:
#line 733 "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 2875 "src/parser_proc.c" /* glr.c:816 */
break;
case 252:
#line 736 "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 2883 "src/parser_proc.c" /* glr.c:816 */
break;
case 254:
#line 743 "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 2896 "src/parser_proc.c" /* glr.c:816 */
break;
case 255:
#line 751 "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));
}
#line 2911 "src/parser_proc.c" /* glr.c:816 */
break;
case 256:
#line 761 "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;
}
#line 2924 "src/parser_proc.c" /* glr.c:816 */
break;
case 257:
#line 769 "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;
}
#line 2937 "src/parser_proc.c" /* glr.c:816 */
break;
case 258:
#line 777 "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 2947 "src/parser_proc.c" /* glr.c:816 */
break;
case 259:
#line 785 "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 2955 "src/parser_proc.c" /* glr.c:816 */
break;
case 261:
#line 792 "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 2964 "src/parser_proc.c" /* glr.c:816 */
break;
case 263:
#line 800 "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 2974 "src/parser_proc.c" /* glr.c:816 */
break;
case 264:
#line 805 "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 2984 "src/parser_proc.c" /* glr.c:816 */
break;
case 265:
#line 810 "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 2994 "src/parser_proc.c" /* glr.c:816 */
break;
case 268:
#line 820 "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 3002 "src/parser_proc.c" /* glr.c:816 */
break;
case 269:
#line 823 "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 3010 "src/parser_proc.c" /* glr.c:816 */
break;
case 270:
#line 829 "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 3018 "src/parser_proc.c" /* glr.c:816 */
break;
case 271:
#line 832 "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 3026 "src/parser_proc.c" /* glr.c:816 */
break;
case 272:
#line 835 "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 3034 "src/parser_proc.c" /* glr.c:816 */
break;
case 283:
#line 857 "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 3042 "src/parser_proc.c" /* glr.c:816 */
break;
case 284:
#line 860 "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 3050 "src/parser_proc.c" /* glr.c:816 */
break;
case 285:
#line 863 "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 3058 "src/parser_proc.c" /* glr.c:816 */
break;
case 286:
#line 869 "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 3066 "src/parser_proc.c" /* glr.c:816 */
break;
case 287:
#line 872 "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 3074 "src/parser_proc.c" /* glr.c:816 */
break;
case 288:
#line 875 "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 3087 "src/parser_proc.c" /* glr.c:816 */
break;
case 289:
#line 883 "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 3101 "src/parser_proc.c" /* glr.c:816 */
break;
case 290:
#line 895 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_token **)(&(*yyvalp))) = NULL;
}
#line 3109 "src/parser_proc.c" /* glr.c:816 */
break;
case 291:
#line 898 "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 3117 "src/parser_proc.c" /* glr.c:816 */
break;
case 292:
#line 901 "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 3129 "src/parser_proc.c" /* glr.c:816 */
break;
case 293:
#line 908 "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 3137 "src/parser_proc.c" /* glr.c:816 */
break;
case 294:
#line 911 "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 3149 "src/parser_proc.c" /* glr.c:816 */
break;
case 295:
#line 921 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_token **)(&(*yyvalp))) = NULL;
}
#line 3157 "src/parser_proc.c" /* glr.c:816 */
break;
case 297:
#line 927 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_token **)(&(*yyvalp))) = NULL;
}
#line 3165 "src/parser_proc.c" /* glr.c:816 */
break;
case 300:
#line 935 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_token **)(&(*yyvalp))) = NULL;
}
#line 3173 "src/parser_proc.c" /* glr.c:816 */
break;
case 301:
#line 938 "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 3181 "src/parser_proc.c" /* glr.c:816 */
break;
case 302:
#line 941 "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 3194 "src/parser_proc.c" /* glr.c:816 */
break;
case 303:
#line 952 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_decl **)(&(*yyvalp))) = (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
}
#line 3202 "src/parser_proc.c" /* glr.c:816 */
break;
case 304:
#line 955 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_decl **)(&(*yyvalp))) = (*(struct psi_decl **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
}
#line 3210 "src/parser_proc.c" /* glr.c:816 */
break;
case 310:
#line 975 "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 3218 "src/parser_proc.c" /* glr.c:816 */
break;
case 312:
#line 982 "src/parser_proc_grammar.y" /* glr.c:816 */
{
psi_plist_free((*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)));
}
#line 3226 "src/parser_proc.c" /* glr.c:816 */
break;
case 313:
#line 988 "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 3234 "src/parser_proc.c" /* glr.c:816 */
break;
case 314:
#line 991 "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 3242 "src/parser_proc.c" /* glr.c:816 */
break;
case 316:
#line 998 "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 3251 "src/parser_proc.c" /* glr.c:816 */
break;
case 319:
#line 1010 "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 3263 "src/parser_proc.c" /* glr.c:816 */
break;
case 320:
#line 1017 "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 3276 "src/parser_proc.c" /* glr.c:816 */
break;
case 321:
#line 1028 "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 3288 "src/parser_proc.c" /* glr.c:816 */
break;
case 322:
#line 1035 "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 3301 "src/parser_proc.c" /* glr.c:816 */
break;
case 323:
#line 1046 "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 3313 "src/parser_proc.c" /* glr.c:816 */
break;
case 324:
#line 1053 "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 3329 "src/parser_proc.c" /* glr.c:816 */
break;
case 325:
#line 1064 "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 3345 "src/parser_proc.c" /* glr.c:816 */
break;
case 326:
#line 1075 "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 3361 "src/parser_proc.c" /* glr.c:816 */
break;
case 328:
#line 1090 "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 3375 "src/parser_proc.c" /* glr.c:816 */
break;
case 329:
#line 1102 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 3383 "src/parser_proc.c" /* glr.c:816 */
break;
case 330:
#line 1105 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 3391 "src/parser_proc.c" /* glr.c:816 */
break;
case 331:
#line 1108 "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 3399 "src/parser_proc.c" /* glr.c:816 */
break;
case 332:
#line 1111 "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 3407 "src/parser_proc.c" /* glr.c:816 */
break;
case 333:
#line 1118 "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 3415 "src/parser_proc.c" /* glr.c:816 */
break;
case 334:
#line 1121 "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 3426 "src/parser_proc.c" /* glr.c:816 */
break;
case 335:
#line 1127 "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 3440 "src/parser_proc.c" /* glr.c:816 */
break;
case 336:
#line 1136 "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 3454 "src/parser_proc.c" /* glr.c:816 */
break;
case 337:
#line 1148 "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 3467 "src/parser_proc.c" /* glr.c:816 */
break;
case 338:
#line 1156 "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 3475 "src/parser_proc.c" /* glr.c:816 */
break;
case 339:
#line 1159 "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 3490 "src/parser_proc.c" /* glr.c:816 */
break;
case 340:
#line 1169 "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 3505 "src/parser_proc.c" /* glr.c:816 */
break;
case 341:
#line 1182 "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 3515 "src/parser_proc.c" /* glr.c:816 */
break;
case 342:
#line 1187 "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 3525 "src/parser_proc.c" /* glr.c:816 */
break;
case 343:
#line 1195 "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 3537 "src/parser_proc.c" /* glr.c:816 */
break;
case 344:
#line 1205 "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 3549 "src/parser_proc.c" /* glr.c:816 */
break;
case 345:
#line 1215 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 3557 "src/parser_proc.c" /* glr.c:816 */
break;
case 347:
#line 1222 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
#line 3565 "src/parser_proc.c" /* glr.c:816 */
break;
case 348:
#line 1228 "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 3584 "src/parser_proc.c" /* glr.c:816 */
break;
case 349:
#line 1242 "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 3603 "src/parser_proc.c" /* glr.c:816 */
break;
case 350:
#line 1259 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 3611 "src/parser_proc.c" /* glr.c:816 */
break;
case 351:
#line 1262 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
#line 3619 "src/parser_proc.c" /* glr.c:816 */
break;
case 352:
#line 1268 "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 3631 "src/parser_proc.c" /* glr.c:816 */
break;
case 353:
#line 1275 "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 3643 "src/parser_proc.c" /* glr.c:816 */
break;
case 354:
#line 1285 "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 3652 "src/parser_proc.c" /* glr.c:816 */
break;
case 355:
#line 1292 "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 3660 "src/parser_proc.c" /* glr.c:816 */
break;
case 356:
#line 1295 "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 3668 "src/parser_proc.c" /* glr.c:816 */
break;
case 357:
#line 1301 "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 3678 "src/parser_proc.c" /* glr.c:816 */
break;
case 358:
#line 1306 "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 3688 "src/parser_proc.c" /* glr.c:816 */
break;
case 359:
#line 1314 "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 3697 "src/parser_proc.c" /* glr.c:816 */
break;
case 360:
#line 1318 "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 3706 "src/parser_proc.c" /* glr.c:816 */
break;
case 361:
#line 1322 "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 3715 "src/parser_proc.c" /* glr.c:816 */
break;
case 362:
#line 1326 "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 3724 "src/parser_proc.c" /* glr.c:816 */
break;
case 363:
#line 1330 "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 3733 "src/parser_proc.c" /* glr.c:816 */
break;
case 364:
#line 1334 "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 3742 "src/parser_proc.c" /* glr.c:816 */
break;
case 365:
#line 1341 "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 3751 "src/parser_proc.c" /* glr.c:816 */
break;
case 366:
#line 1345 "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 3760 "src/parser_proc.c" /* glr.c:816 */
break;
case 367:
#line 1349 "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 3769 "src/parser_proc.c" /* glr.c:816 */
break;
case 368:
#line 1353 "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 3778 "src/parser_proc.c" /* glr.c:816 */
break;
case 369:
#line 1360 "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 3793 "src/parser_proc.c" /* glr.c:816 */
break;
case 370:
#line 1373 "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 3808 "src/parser_proc.c" /* glr.c:816 */
break;
case 371:
#line 1386 "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 3823 "src/parser_proc.c" /* glr.c:816 */
break;
case 372:
#line 1399 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_token **)(&(*yyvalp))) = NULL;
}
#line 3831 "src/parser_proc.c" /* glr.c:816 */
break;
case 373:
#line 1402 "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 3840 "src/parser_proc.c" /* glr.c:816 */
break;
case 374:
#line 1409 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_layout **)(&(*yyvalp))) = NULL;
}
#line 3848 "src/parser_proc.c" /* glr.c:816 */
break;
case 375:
#line 1412 "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 3856 "src/parser_proc.c" /* glr.c:816 */
break;
case 376:
#line 1415 "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 3864 "src/parser_proc.c" /* glr.c:816 */
break;
case 377:
#line 1418 "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 3872 "src/parser_proc.c" /* glr.c:816 */
break;
case 378:
#line 1424 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_layout*)(&(*yyvalp))).pos = 0;
(*(struct psi_layout*)(&(*yyvalp))).len = 0;
}
#line 3881 "src/parser_proc.c" /* glr.c:816 */
break;
case 379:
#line 1428 "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 3890 "src/parser_proc.c" /* glr.c:816 */
break;
case 380:
#line 1435 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(size_t*)(&(*yyvalp))) = 0;
}
#line 3898 "src/parser_proc.c" /* glr.c:816 */
break;
case 381:
#line 1438 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(size_t*)(&(*yyvalp))) = atol((*(struct psi_token **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval))->text);
}
#line 3906 "src/parser_proc.c" /* glr.c:816 */
break;
case 382:
#line 1444 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(size_t*)(&(*yyvalp))) = 0;
}
#line 3914 "src/parser_proc.c" /* glr.c:816 */
break;
case 383:
#line 1447 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(size_t*)(&(*yyvalp))) = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
#line 3922 "src/parser_proc.c" /* glr.c:816 */
break;
case 385:
#line 1454 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(size_t*)(&(*yyvalp))) = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
}
#line 3930 "src/parser_proc.c" /* glr.c:816 */
break;
case 386:
#line 1460 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(size_t*)(&(*yyvalp))) = 1;
}
#line 3938 "src/parser_proc.c" /* glr.c:816 */
break;
case 387:
#line 1463 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(size_t*)(&(*yyvalp))) = (*(size_t*)(&((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval)) + 1;
}
#line 3946 "src/parser_proc.c" /* glr.c:816 */
break;
case 388:
#line 1475 "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 3954 "src/parser_proc.c" /* glr.c:816 */
break;
case 389:
#line 1478 "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 3963 "src/parser_proc.c" /* glr.c:816 */
break;
case 390:
#line 1485 "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 3973 "src/parser_proc.c" /* glr.c:816 */
break;
case 391:
#line 1490 "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 3983 "src/parser_proc.c" /* glr.c:816 */
break;
case 392:
#line 1495 "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 3995 "src/parser_proc.c" /* glr.c:816 */
break;
case 393:
#line 1505 "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 4003 "src/parser_proc.c" /* glr.c:816 */
break;
case 394:
#line 1508 "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 4011 "src/parser_proc.c" /* glr.c:816 */
break;
case 395:
#line 1514 "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 4019 "src/parser_proc.c" /* glr.c:816 */
break;
case 396:
#line 1517 "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 4027 "src/parser_proc.c" /* glr.c:816 */
break;
case 397:
#line 1523 "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 4036 "src/parser_proc.c" /* glr.c:816 */
break;
case 398:
#line 1530 "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 4045 "src/parser_proc.c" /* glr.c:816 */
break;
case 408:
#line 1549 "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 4053 "src/parser_proc.c" /* glr.c:816 */
break;
case 409:
#line 1552 "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 4061 "src/parser_proc.c" /* glr.c:816 */
break;
case 410:
#line 1558 "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 4069 "src/parser_proc.c" /* glr.c:816 */
break;
case 411:
#line 1561 "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 4077 "src/parser_proc.c" /* glr.c:816 */
break;
case 412:
#line 1564 "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 4085 "src/parser_proc.c" /* glr.c:816 */
break;
case 413:
#line 1567 "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 4093 "src/parser_proc.c" /* glr.c:816 */
break;
case 414:
#line 1570 "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 4101 "src/parser_proc.c" /* glr.c:816 */
break;
case 415:
#line 1576 "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 4110 "src/parser_proc.c" /* glr.c:816 */
break;
case 416:
#line 1580 "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 4120 "src/parser_proc.c" /* glr.c:816 */
break;
case 418:
#line 1589 "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 4129 "src/parser_proc.c" /* glr.c:816 */
break;
case 419:
#line 1593 "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 4138 "src/parser_proc.c" /* glr.c:816 */
break;
case 420:
#line 1600 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_let_exp **)(&(*yyvalp))) = psi_let_exp_init(PSI_LET_NULL, NULL);
}
#line 4146 "src/parser_proc.c" /* glr.c:816 */
break;
case 421:
#line 1603 "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 4154 "src/parser_proc.c" /* glr.c:816 */
break;
case 422:
#line 1606 "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 4162 "src/parser_proc.c" /* glr.c:816 */
break;
case 423:
#line 1609 "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 4170 "src/parser_proc.c" /* glr.c:816 */
break;
case 424:
#line 1612 "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 4178 "src/parser_proc.c" /* glr.c:816 */
break;
case 425:
#line 1618 "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 4187 "src/parser_proc.c" /* glr.c:816 */
break;
case 426:
#line 1622 "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 4197 "src/parser_proc.c" /* glr.c:816 */
break;
case 427:
#line 1630 "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 4206 "src/parser_proc.c" /* glr.c:816 */
break;
case 428:
#line 1637 "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 4216 "src/parser_proc.c" /* glr.c:816 */
break;
case 429:
#line 1645 "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 4226 "src/parser_proc.c" /* glr.c:816 */
break;
case 440:
#line 1666 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 4234 "src/parser_proc.c" /* glr.c:816 */
break;
case 441:
#line 1669 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
#line 4242 "src/parser_proc.c" /* glr.c:816 */
break;
case 442:
#line 1675 "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 4250 "src/parser_proc.c" /* glr.c:816 */
break;
case 443:
#line 1678 "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 4258 "src/parser_proc.c" /* glr.c:816 */
break;
case 446:
#line 1689 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 4266 "src/parser_proc.c" /* glr.c:816 */
break;
case 447:
#line 1692 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
#line 4274 "src/parser_proc.c" /* glr.c:816 */
break;
case 448:
#line 1698 "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 4282 "src/parser_proc.c" /* glr.c:816 */
break;
case 449:
#line 1701 "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 4290 "src/parser_proc.c" /* glr.c:816 */
break;
case 450:
#line 1707 "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 4299 "src/parser_proc.c" /* glr.c:816 */
break;
case 451:
#line 1714 "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 4308 "src/parser_proc.c" /* glr.c:816 */
break;
case 452:
#line 1721 "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 4316 "src/parser_proc.c" /* glr.c:816 */
break;
case 453:
#line 1724 "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 4324 "src/parser_proc.c" /* glr.c:816 */
break;
case 454:
#line 1727 "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 4333 "src/parser_proc.c" /* glr.c:816 */
break;
case 455:
#line 1734 "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 4343 "src/parser_proc.c" /* glr.c:816 */
break;
case 456:
#line 1739 "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 4353 "src/parser_proc.c" /* glr.c:816 */
break;
case 465:
#line 1758 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = NULL;
}
#line 4361 "src/parser_proc.c" /* glr.c:816 */
break;
case 466:
#line 1761 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(struct psi_plist **)(&(*yyvalp))) = (*(struct psi_plist **)(&((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
}
#line 4369 "src/parser_proc.c" /* glr.c:816 */
break;
case 467:
#line 1767 "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 4377 "src/parser_proc.c" /* glr.c:816 */
break;
case 468:
#line 1770 "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 4385 "src/parser_proc.c" /* glr.c:816 */
break;
case 469:
#line 1776 "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 4394 "src/parser_proc.c" /* glr.c:816 */
break;
case 472:
#line 1788 "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 4403 "src/parser_proc.c" /* glr.c:816 */
break;
case 473:
#line 1795 "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 4411 "src/parser_proc.c" /* glr.c:816 */
break;
case 474:
#line 1798 "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 4419 "src/parser_proc.c" /* glr.c:816 */
break;
case 475:
#line 1804 "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 4429 "src/parser_proc.c" /* glr.c:816 */
break;
case 476:
#line 1812 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(bool*)(&(*yyvalp))) = false;
}
#line 4437 "src/parser_proc.c" /* glr.c:816 */
break;
case 477:
#line 1815 "src/parser_proc_grammar.y" /* glr.c:816 */
{
(*(bool*)(&(*yyvalp))) = true;
}
#line 4445 "src/parser_proc.c" /* glr.c:816 */
break;
#line 4449 "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 133: /* binary_op_token */
#line 277 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4500 "src/parser_proc.c" /* glr.c:846 */
break;
case 134: /* unary_op_token */
#line 277 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4506 "src/parser_proc.c" /* glr.c:846 */
break;
case 135: /* name_token */
#line 277 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4512 "src/parser_proc.c" /* glr.c:846 */
break;
case 136: /* any_noeol_token */
#line 277 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4518 "src/parser_proc.c" /* glr.c:846 */
break;
case 140: /* lib */
#line 271 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 4524 "src/parser_proc.c" /* glr.c:846 */
break;
case 141: /* cpp */
#line 286 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_cpp_exp_free(&(*(struct psi_cpp_exp **)(&(*yyvaluep))));}
#line 4530 "src/parser_proc.c" /* glr.c:846 */
break;
case 142: /* cpp_exp */
#line 286 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_cpp_exp_free(&(*(struct psi_cpp_exp **)(&(*yyvaluep))));}
#line 4536 "src/parser_proc.c" /* glr.c:846 */
break;
case 144: /* cpp_message_token */
#line 274 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4542 "src/parser_proc.c" /* glr.c:846 */
break;
case 145: /* cpp_include_token */
#line 274 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4548 "src/parser_proc.c" /* glr.c:846 */
break;
case 146: /* cpp_header_token */
#line 274 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4554 "src/parser_proc.c" /* glr.c:846 */
break;
case 147: /* cpp_no_arg_token */
#line 274 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4560 "src/parser_proc.c" /* glr.c:846 */
break;
case 148: /* cpp_name_arg_token */
#line 274 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4566 "src/parser_proc.c" /* glr.c:846 */
break;
case 149: /* cpp_exp_arg_token */
#line 274 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4572 "src/parser_proc.c" /* glr.c:846 */
break;
case 150: /* cpp_special_name_token */
#line 274 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4578 "src/parser_proc.c" /* glr.c:846 */
break;
case 151: /* cpp_macro_decl */
#line 288 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_cpp_macro_decl_free(&(*(struct psi_cpp_macro_decl **)(&(*yyvaluep))));}
#line 4584 "src/parser_proc.c" /* glr.c:846 */
break;
case 152: /* cpp_macro_sig */
#line 290 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 4590 "src/parser_proc.c" /* glr.c:846 */
break;
case 153: /* cpp_macro_sig_args */
#line 290 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 4596 "src/parser_proc.c" /* glr.c:846 */
break;
case 154: /* cpp_macro_decl_tokens */
#line 290 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 4602 "src/parser_proc.c" /* glr.c:846 */
break;
case 155: /* cpp_macro_decl_token_list */
#line 290 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 4608 "src/parser_proc.c" /* glr.c:846 */
break;
case 156: /* cpp_macro_exp */
#line 292 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_num_exp_free(&(*(struct psi_num_exp **)(&(*yyvaluep))));}
#line 4614 "src/parser_proc.c" /* glr.c:846 */
break;
case 157: /* cpp_macro_call_args */
#line 290 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 4620 "src/parser_proc.c" /* glr.c:846 */
break;
case 158: /* cpp_macro_call_arg_list */
#line 290 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 4626 "src/parser_proc.c" /* glr.c:846 */
break;
case 159: /* constant */
#line 298 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_const_free(&(*(struct psi_const **)(&(*yyvaluep))));}
#line 4632 "src/parser_proc.c" /* glr.c:846 */
break;
case 160: /* constant_type */
#line 300 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_const_type_free(&(*(struct psi_const_type **)(&(*yyvaluep))));}
#line 4638 "src/parser_proc.c" /* glr.c:846 */
break;
case 161: /* constant_type_token */
#line 295 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4644 "src/parser_proc.c" /* glr.c:846 */
break;
case 162: /* impl_def_val */
#line 302 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_impl_def_val_free(&(*(struct psi_impl_def_val **)(&(*yyvaluep))));}
#line 4650 "src/parser_proc.c" /* glr.c:846 */
break;
case 163: /* impl_def_val_token */
#line 295 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4656 "src/parser_proc.c" /* glr.c:846 */
break;
case 164: /* decl_typedef */
#line 315 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
#line 4662 "src/parser_proc.c" /* glr.c:846 */
break;
case 165: /* typedef */
#line 315 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
#line 4668 "src/parser_proc.c" /* glr.c:846 */
break;
case 166: /* const_decl_type */
#line 311 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_type_free(&(*(struct psi_decl_type **)(&(*yyvaluep))));}
#line 4674 "src/parser_proc.c" /* glr.c:846 */
break;
case 167: /* decl_type */
#line 311 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_type_free(&(*(struct psi_decl_type **)(&(*yyvaluep))));}
#line 4680 "src/parser_proc.c" /* glr.c:846 */
break;
case 168: /* decl_type_complex */
#line 311 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_type_free(&(*(struct psi_decl_type **)(&(*yyvaluep))));}
#line 4686 "src/parser_proc.c" /* glr.c:846 */
break;
case 169: /* decl_type_simple */
#line 305 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 4692 "src/parser_proc.c" /* glr.c:846 */
break;
case 170: /* decl_real_type */
#line 305 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 4698 "src/parser_proc.c" /* glr.c:846 */
break;
case 171: /* decl_stdint_type */
#line 308 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4704 "src/parser_proc.c" /* glr.c:846 */
break;
case 172: /* int_signed */
#line 283 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4710 "src/parser_proc.c" /* glr.c:846 */
break;
case 173: /* int_width */
#line 280 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 4716 "src/parser_proc.c" /* glr.c:846 */
break;
case 174: /* decl_int_type */
#line 305 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 4722 "src/parser_proc.c" /* glr.c:846 */
break;
case 175: /* int_signed_types */
#line 280 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 4728 "src/parser_proc.c" /* glr.c:846 */
break;
case 176: /* signed_short_types */
#line 283 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4734 "src/parser_proc.c" /* glr.c:846 */
break;
case 177: /* signed_long_types */
#line 283 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4740 "src/parser_proc.c" /* glr.c:846 */
break;
case 178: /* int_width_types */
#line 280 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 4746 "src/parser_proc.c" /* glr.c:846 */
break;
case 179: /* decl_stmt */
#line 313 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
#line 4752 "src/parser_proc.c" /* glr.c:846 */
break;
case 185: /* decl_vars */
#line 327 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 4758 "src/parser_proc.c" /* glr.c:846 */
break;
case 186: /* decl */
#line 313 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
#line 4764 "src/parser_proc.c" /* glr.c:846 */
break;
case 187: /* decl_body */
#line 313 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
#line 4770 "src/parser_proc.c" /* glr.c:846 */
break;
case 188: /* decl_func_body */
#line 313 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
#line 4776 "src/parser_proc.c" /* glr.c:846 */
break;
case 189: /* decl_functor_body */
#line 313 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_free(&(*(struct psi_decl **)(&(*yyvaluep))));}
#line 4782 "src/parser_proc.c" /* glr.c:846 */
break;
case 190: /* decl_functor */
#line 315 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
#line 4788 "src/parser_proc.c" /* glr.c:846 */
break;
case 191: /* decl_func */
#line 315 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
#line 4794 "src/parser_proc.c" /* glr.c:846 */
break;
case 192: /* decl_args */
#line 327 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 4800 "src/parser_proc.c" /* glr.c:846 */
break;
case 193: /* decl_anon_arg */
#line 315 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
#line 4806 "src/parser_proc.c" /* glr.c:846 */
break;
case 194: /* decl_arg */
#line 315 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_arg_free(&(*(struct psi_decl_arg **)(&(*yyvaluep))));}
#line 4812 "src/parser_proc.c" /* glr.c:846 */
break;
case 195: /* decl_var */
#line 317 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_var_free(&(*(struct psi_decl_var **)(&(*yyvaluep))));}
#line 4818 "src/parser_proc.c" /* glr.c:846 */
break;
case 196: /* decl_union */
#line 321 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_union_free(&(*(struct psi_decl_union **)(&(*yyvaluep))));}
#line 4824 "src/parser_proc.c" /* glr.c:846 */
break;
case 197: /* decl_struct */
#line 319 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_struct_free(&(*(struct psi_decl_struct **)(&(*yyvaluep))));}
#line 4830 "src/parser_proc.c" /* glr.c:846 */
break;
case 198: /* decl_struct_args */
#line 327 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 4836 "src/parser_proc.c" /* glr.c:846 */
break;
case 199: /* struct_args_block */
#line 327 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 4842 "src/parser_proc.c" /* glr.c:846 */
break;
case 200: /* struct_args */
#line 327 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 4848 "src/parser_proc.c" /* glr.c:846 */
break;
case 201: /* struct_arg_var_list */
#line 327 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 4854 "src/parser_proc.c" /* glr.c:846 */
break;
case 202: /* decl_vars_with_layout */
#line 327 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 4860 "src/parser_proc.c" /* glr.c:846 */
break;
case 203: /* decl_enum */
#line 323 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_enum_free(&(*(struct psi_decl_enum **)(&(*yyvaluep))));}
#line 4866 "src/parser_proc.c" /* glr.c:846 */
break;
case 204: /* decl_enum_items */
#line 327 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 4872 "src/parser_proc.c" /* glr.c:846 */
break;
case 205: /* decl_enum_item */
#line 325 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_decl_enum_item_free(&(*(struct psi_decl_enum_item **)(&(*yyvaluep))));}
#line 4878 "src/parser_proc.c" /* glr.c:846 */
break;
case 206: /* num_exp */
#line 378 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_num_exp_free(&(*(struct psi_num_exp **)(&(*yyvaluep))));}
#line 4884 "src/parser_proc.c" /* glr.c:846 */
break;
case 207: /* number */
#line 380 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_number_free(&(*(struct psi_number **)(&(*yyvaluep))));}
#line 4890 "src/parser_proc.c" /* glr.c:846 */
break;
case 208: /* enum_name */
#line 271 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 4896 "src/parser_proc.c" /* glr.c:846 */
break;
case 209: /* union_name */
#line 271 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 4902 "src/parser_proc.c" /* glr.c:846 */
break;
case 210: /* struct_name */
#line 271 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 4908 "src/parser_proc.c" /* glr.c:846 */
break;
case 211: /* optional_name */
#line 271 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 4914 "src/parser_proc.c" /* glr.c:846 */
break;
case 212: /* decl_layout */
#line 332 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_layout_free(&(*(struct psi_layout **)(&(*yyvaluep))));}
#line 4920 "src/parser_proc.c" /* glr.c:846 */
break;
case 213: /* align_and_size */
#line 330 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4926 "src/parser_proc.c" /* glr.c:846 */
break;
case 214: /* array_size */
#line 383 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4932 "src/parser_proc.c" /* glr.c:846 */
break;
case 215: /* indirection */
#line 383 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4938 "src/parser_proc.c" /* glr.c:846 */
break;
case 216: /* pointers */
#line 383 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4944 "src/parser_proc.c" /* glr.c:846 */
break;
case 217: /* asterisks */
#line 383 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 4950 "src/parser_proc.c" /* glr.c:846 */
break;
case 218: /* impl */
#line 335 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_impl_free(&(*(struct psi_impl **)(&(*yyvaluep))));}
#line 4956 "src/parser_proc.c" /* glr.c:846 */
break;
case 219: /* impl_func */
#line 337 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_impl_func_free(&(*(struct psi_impl_func **)(&(*yyvaluep))));}
#line 4962 "src/parser_proc.c" /* glr.c:846 */
break;
case 220: /* impl_args */
#line 375 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 4968 "src/parser_proc.c" /* glr.c:846 */
break;
case 221: /* impl_arg */
#line 339 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_impl_arg_free(&(*(struct psi_impl_arg **)(&(*yyvaluep))));}
#line 4974 "src/parser_proc.c" /* glr.c:846 */
break;
case 222: /* impl_var */
#line 343 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_impl_var_free(&(*(struct psi_impl_var **)(&(*yyvaluep))));}
#line 4980 "src/parser_proc.c" /* glr.c:846 */
break;
case 223: /* impl_type */
#line 341 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_impl_type_free(&(*(struct psi_impl_type **)(&(*yyvaluep))));}
#line 4986 "src/parser_proc.c" /* glr.c:846 */
break;
case 224: /* impl_type_token */
#line 373 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 4992 "src/parser_proc.c" /* glr.c:846 */
break;
case 225: /* impl_stmts */
#line 375 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 4998 "src/parser_proc.c" /* glr.c:846 */
break;
case 226: /* impl_stmt */
#line 371 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_impl_stmt_free(&(*(struct psi_token ***)(&(*yyvaluep))));}
#line 5004 "src/parser_proc.c" /* glr.c:846 */
break;
case 227: /* let_stmt */
#line 346 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_let_stmt_free(&(*(struct psi_let_stmt **)(&(*yyvaluep))));}
#line 5010 "src/parser_proc.c" /* glr.c:846 */
break;
case 228: /* let_exp */
#line 348 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_let_exp_free(&(*(struct psi_let_exp **)(&(*yyvaluep))));}
#line 5016 "src/parser_proc.c" /* glr.c:846 */
break;
case 229: /* let_exp_byref */
#line 348 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_let_exp_free(&(*(struct psi_let_exp **)(&(*yyvaluep))));}
#line 5022 "src/parser_proc.c" /* glr.c:846 */
break;
case 230: /* let_exp_assign */
#line 348 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_let_exp_free(&(*(struct psi_let_exp **)(&(*yyvaluep))));}
#line 5028 "src/parser_proc.c" /* glr.c:846 */
break;
case 231: /* let_calloc */
#line 350 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_let_calloc_free(&(*(struct psi_let_calloc **)(&(*yyvaluep))));}
#line 5034 "src/parser_proc.c" /* glr.c:846 */
break;
case 232: /* let_callback */
#line 352 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_let_callback_free(&(*(struct psi_let_callback **)(&(*yyvaluep))));}
#line 5040 "src/parser_proc.c" /* glr.c:846 */
break;
case 233: /* let_func */
#line 354 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_let_func_free(&(*(struct psi_let_func **)(&(*yyvaluep))));}
#line 5046 "src/parser_proc.c" /* glr.c:846 */
break;
case 234: /* let_func_token */
#line 373 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5052 "src/parser_proc.c" /* glr.c:846 */
break;
case 235: /* let_func_exps */
#line 375 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5058 "src/parser_proc.c" /* glr.c:846 */
break;
case 236: /* let_exps */
#line 375 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5064 "src/parser_proc.c" /* glr.c:846 */
break;
case 237: /* callback_rval */
#line 373 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5070 "src/parser_proc.c" /* glr.c:846 */
break;
case 238: /* callback_arg_list */
#line 375 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5076 "src/parser_proc.c" /* glr.c:846 */
break;
case 239: /* callback_args */
#line 375 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5082 "src/parser_proc.c" /* glr.c:846 */
break;
case 240: /* return_stmt */
#line 364 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_return_stmt_free(&(*(struct psi_return_stmt **)(&(*yyvaluep))));}
#line 5088 "src/parser_proc.c" /* glr.c:846 */
break;
case 241: /* set_stmt */
#line 356 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_set_stmt_free(&(*(struct psi_set_stmt **)(&(*yyvaluep))));}
#line 5094 "src/parser_proc.c" /* glr.c:846 */
break;
case 242: /* set_exp */
#line 358 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_set_exp_free(&(*(struct psi_set_exp **)(&(*yyvaluep))));}
#line 5100 "src/parser_proc.c" /* glr.c:846 */
break;
case 243: /* set_func */
#line 360 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_set_func_free(&(*(struct psi_set_func **)(&(*yyvaluep))));}
#line 5106 "src/parser_proc.c" /* glr.c:846 */
break;
case 244: /* set_func_token */
#line 373 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5112 "src/parser_proc.c" /* glr.c:846 */
break;
case 245: /* set_func_exps */
#line 375 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5118 "src/parser_proc.c" /* glr.c:846 */
break;
case 246: /* set_exps */
#line 375 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5124 "src/parser_proc.c" /* glr.c:846 */
break;
case 247: /* assert_stmt */
#line 362 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_assert_stmt_free(&(*(struct psi_assert_stmt **)(&(*yyvaluep))));}
#line 5130 "src/parser_proc.c" /* glr.c:846 */
break;
case 248: /* assert_stmt_token */
#line 373 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_token_free(&(*(struct psi_token **)(&(*yyvaluep))));}
#line 5136 "src/parser_proc.c" /* glr.c:846 */
break;
case 249: /* free_stmt */
#line 366 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_free_stmt_free(&(*(struct psi_free_stmt **)(&(*yyvaluep))));}
#line 5142 "src/parser_proc.c" /* glr.c:846 */
break;
case 250: /* free_exps */
#line 375 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_plist_free((*(struct psi_plist **)(&(*yyvaluep))));}
#line 5148 "src/parser_proc.c" /* glr.c:846 */
break;
case 251: /* free_exp */
#line 368 "src/parser_proc_grammar.y" /* glr.c:846 */
{psi_free_exp_free(&(*(struct psi_free_exp **)(&(*yyvaluep))));}
#line 5154 "src/parser_proc.c" /* glr.c:846 */
break;
case 252: /* reference */
#line 385 "src/parser_proc_grammar.y" /* glr.c:846 */
{}
#line 5160 "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) == (-554)))
/** 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 117 "src/parser_proc_grammar.y" /* glr.c:2270 */
{
}
#line 6513 "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 1824 "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++;
}