version 1.1, 2018/09/19 05:45:08 |
version 1.3, 2019/03/29 05:08:36 |
|
|
|
/* A Bison parser, made by GNU Bison 3.3.2. */ |
|
|
/* A Bison parser, made by GNU Bison 2.4.1. */ |
/* Bison implementation for Yacc-like parsers in C |
|
|
/* Skeleton implementation for Bison's Yacc-like parsers in C |
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation, |
|
Inc. |
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 |
|
Free Software Foundation, Inc. |
|
|
|
This program is free software: you can redistribute it and/or modify |
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 |
it under the terms of the GNU General Public License as published by |
the Free Software Foundation, either version 3 of the License, or |
the Free Software Foundation, either version 3 of the License, or |
(at your option) any later version. |
(at your option) any later version. |
|
|
This program is distributed in the hope that it will be useful, |
This program is distributed in the hope that it will be useful, |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
GNU General Public License for more details. |
GNU General Public License for more details. |
|
|
You should have received a copy of the GNU General Public License |
You should have received a copy of the GNU General Public License |
along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
|
|
|
|
special exception, which will cause the skeleton and the resulting |
special exception, which will cause the skeleton and the resulting |
Bison output files to be licensed under the GNU General Public |
Bison output files to be licensed under the GNU General Public |
License without this special exception. |
License without this special exception. |
|
|
This special exception was added by the Free Software Foundation in |
This special exception was added by the Free Software Foundation in |
version 2.2 of Bison. */ |
version 2.2 of Bison. */ |
|
|
|
|
define necessary library symbols; they are noted "INFRINGES ON |
define necessary library symbols; they are noted "INFRINGES ON |
USER NAME SPACE" below. */ |
USER NAME SPACE" below. */ |
|
|
|
/* Undocumented macros, especially those whose name start with YY_, |
|
are private implementation details. Do not rely on them. */ |
|
|
/* Identify Bison output. */ |
/* Identify Bison output. */ |
#define YYBISON 1 |
#define YYBISON 1 |
|
|
/* Bison version. */ |
/* Bison version. */ |
#define YYBISON_VERSION "2.4.1" |
#define YYBISON_VERSION "3.3.2" |
|
|
/* Skeleton name. */ |
/* Skeleton name. */ |
#define YYSKELETON_NAME "yacc.c" |
#define YYSKELETON_NAME "yacc.c" |
|
|
/* Pull parsers. */ |
/* Pull parsers. */ |
#define YYPULL 1 |
#define YYPULL 1 |
|
|
/* Using locations. */ |
|
#define YYLSP_NEEDED 0 |
|
|
|
|
|
|
|
/* Copy the first part of user declarations. */ |
/* First part of user prologue. */ |
|
#line 50 "parse.y" /* yacc.c:337 */ |
|
|
/* Line 189 of yacc.c */ |
|
#line 50 "parse.y" |
|
|
|
#define malloc(x) Risa_GC_malloc(x) |
#define malloc(x) Risa_GC_malloc(x) |
#define realloc(x,y) Risa_GC_realloc(x,y) |
#define realloc(x,y) Risa_GC_realloc(x,y) |
#define free(x) Risa_GC_free(x) |
#define free(x) Risa_GC_free(x) |
Line 99 static pointer val; |
|
Line 97 static pointer val; |
|
static QUOTE quote; |
static QUOTE quote; |
extern jmp_buf env; |
extern jmp_buf env; |
|
|
|
#line 101 "y.tab.c" /* yacc.c:337 */ |
|
# ifndef YY_NULLPTR |
|
# if defined __cplusplus |
|
# if 201103L <= __cplusplus |
|
# define YY_NULLPTR nullptr |
|
# else |
|
# define YY_NULLPTR 0 |
|
# endif |
|
# else |
|
# define YY_NULLPTR ((void*)0) |
|
# endif |
|
# endif |
|
|
/* Line 189 of yacc.c */ |
|
#line 105 "y.tab.c" |
|
|
|
/* Enabling traces. */ |
|
#ifndef YYDEBUG |
|
# define YYDEBUG 0 |
|
#endif |
|
|
|
/* Enabling verbose error messages. */ |
/* Enabling verbose error messages. */ |
#ifdef YYERROR_VERBOSE |
#ifdef YYERROR_VERBOSE |
# undef YYERROR_VERBOSE |
# undef YYERROR_VERBOSE |
Line 116 extern jmp_buf env; |
|
Line 118 extern jmp_buf env; |
|
# define YYERROR_VERBOSE 0 |
# define YYERROR_VERBOSE 0 |
#endif |
#endif |
|
|
/* Enabling the token table. */ |
/* In a future release of Bison, this section will be replaced |
#ifndef YYTOKEN_TABLE |
by #include "y.tab.h". */ |
# define YYTOKEN_TABLE 0 |
#ifndef YY_YY_Y_TAB_H_INCLUDED |
|
# define YY_YY_Y_TAB_H_INCLUDED |
|
/* Debug traces. */ |
|
#ifndef YYDEBUG |
|
# define YYDEBUG 0 |
#endif |
#endif |
|
#if YYDEBUG |
|
extern int yydebug; |
|
#endif |
|
|
|
/* Token type. */ |
/* Tokens. */ |
|
#ifndef YYTOKENTYPE |
#ifndef YYTOKENTYPE |
# define YYTOKENTYPE |
# define YYTOKENTYPE |
/* Put the tokens into the symbol table, so that GDB and other debuggers |
enum yytokentype |
know about them. */ |
{ |
enum yytokentype { |
STRUCT = 258, |
STRUCT = 258, |
POINT = 259, |
POINT = 259, |
NEWSTRUCT = 260, |
NEWSTRUCT = 260, |
ANS = 261, |
ANS = 261, |
FDEF = 262, |
FDEF = 262, |
PFDEF = 263, |
PFDEF = 263, |
MODDEF = 264, |
MODDEF = 264, |
MODEND = 265, |
MODEND = 265, |
GLOBAL = 266, |
GLOBAL = 266, |
MGLOBAL = 267, |
MGLOBAL = 267, |
LOCAL = 268, |
LOCAL = 268, |
LOCALF = 269, |
LOCALF = 269, |
CMP = 270, |
CMP = 270, |
OR = 271, |
OR = 271, |
AND = 272, |
AND = 272, |
CAR = 273, |
CAR = 273, |
CDR = 274, |
CDR = 274, |
QUOTED = 275, |
QUOTED = 275, |
COLONCOLON = 276, |
COLONCOLON = 276, |
DO = 277, |
DO = 277, |
WHILE = 278, |
WHILE = 278, |
FOR = 279, |
FOR = 279, |
IF = 280, |
IF = 280, |
ELSE = 281, |
ELSE = 281, |
BREAK = 282, |
BREAK = 282, |
RETURN = 283, |
RETURN = 283, |
CONTINUE = 284, |
CONTINUE = 284, |
PARIF = 285, |
PARIF = 285, |
MAP = 286, |
MAP = 286, |
RECMAP = 287, |
RECMAP = 287, |
TIMER = 288, |
TIMER = 288, |
GF2NGEN = 289, |
GF2NGEN = 289, |
GFPNGEN = 290, |
GFPNGEN = 290, |
GFSNGEN = 291, |
GFSNGEN = 291, |
GETOPT = 292, |
GETOPT = 292, |
FOP_AND = 293, |
FOP_AND = 293, |
FOP_OR = 294, |
FOP_OR = 294, |
FOP_IMPL = 295, |
FOP_IMPL = 295, |
FOP_REPL = 296, |
FOP_REPL = 296, |
FOP_EQUIV = 297, |
FOP_EQUIV = 297, |
FOP_NOT = 298, |
FOP_NOT = 298, |
LOP = 299, |
LOP = 299, |
FORMULA = 300, |
FORMULA = 300, |
UCASE = 301, |
UCASE = 301, |
LCASE = 302, |
LCASE = 302, |
STR = 303, |
STR = 303, |
SELF = 304, |
SELF = 304, |
BOPASS = 305, |
BOPASS = 305, |
PLUS = 306, |
PLUS = 306, |
MINUS = 307 |
MINUS = 307 |
}; |
}; |
|
#endif |
#endif |
/* Tokens. */ |
/* Tokens. */ |
#define STRUCT 258 |
#define STRUCT 258 |
Line 232 extern jmp_buf env; |
|
Line 239 extern jmp_buf env; |
|
#define PLUS 306 |
#define PLUS 306 |
#define MINUS 307 |
#define MINUS 307 |
|
|
|
/* Value type. */ |
|
|
|
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
typedef union YYSTYPE |
|
|
union YYSTYPE |
{ |
{ |
|
#line 83 "parse.y" /* yacc.c:352 */ |
|
|
/* Line 214 of yacc.c */ |
FNODE f; |
#line 83 "parse.y" |
SNODE s; |
|
NODE n; |
|
NODE2 n2; |
|
int i; |
|
pointer p; |
|
|
FNODE f; |
#line 257 "y.tab.c" /* yacc.c:352 */ |
SNODE s; |
}; |
NODE n; |
|
NODE2 n2; |
|
int i; |
|
pointer p; |
|
|
|
|
typedef union YYSTYPE YYSTYPE; |
|
|
/* Line 214 of yacc.c */ |
|
#line 256 "y.tab.c" |
|
} YYSTYPE; |
|
# define YYSTYPE_IS_TRIVIAL 1 |
# define YYSTYPE_IS_TRIVIAL 1 |
# define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
|
# define YYSTYPE_IS_DECLARED 1 |
# define YYSTYPE_IS_DECLARED 1 |
#endif |
#endif |
|
|
|
|
/* Copy the second part of user declarations. */ |
extern YYSTYPE yylval; |
|
|
|
int yyparse (void); |
|
|
/* Line 264 of yacc.c */ |
#endif /* !YY_YY_Y_TAB_H_INCLUDED */ |
#line 268 "y.tab.c" |
|
|
|
|
|
|
|
#ifdef short |
#ifdef short |
# undef short |
# undef short |
#endif |
#endif |
Line 278 typedef unsigned char yytype_uint8; |
|
Line 282 typedef unsigned char yytype_uint8; |
|
|
|
#ifdef YYTYPE_INT8 |
#ifdef YYTYPE_INT8 |
typedef YYTYPE_INT8 yytype_int8; |
typedef YYTYPE_INT8 yytype_int8; |
#elif (defined __STDC__ || defined __C99__FUNC__ \ |
|
|| defined __cplusplus || defined _MSC_VER) |
|
typedef signed char yytype_int8; |
|
#else |
#else |
typedef short int yytype_int8; |
typedef signed char yytype_int8; |
#endif |
#endif |
|
|
#ifdef YYTYPE_UINT16 |
#ifdef YYTYPE_UINT16 |
typedef YYTYPE_UINT16 yytype_uint16; |
typedef YYTYPE_UINT16 yytype_uint16; |
#else |
#else |
typedef unsigned short int yytype_uint16; |
typedef unsigned short yytype_uint16; |
#endif |
#endif |
|
|
#ifdef YYTYPE_INT16 |
#ifdef YYTYPE_INT16 |
typedef YYTYPE_INT16 yytype_int16; |
typedef YYTYPE_INT16 yytype_int16; |
#else |
#else |
typedef short int yytype_int16; |
typedef short yytype_int16; |
#endif |
#endif |
|
|
#ifndef YYSIZE_T |
#ifndef YYSIZE_T |
Line 302 typedef short int yytype_int16; |
|
Line 303 typedef short int yytype_int16; |
|
# define YYSIZE_T __SIZE_TYPE__ |
# define YYSIZE_T __SIZE_TYPE__ |
# elif defined size_t |
# elif defined size_t |
# define YYSIZE_T size_t |
# define YYSIZE_T size_t |
# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \ |
# elif ! defined YYSIZE_T |
|| defined __cplusplus || defined _MSC_VER) |
|
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ |
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ |
# define YYSIZE_T size_t |
# define YYSIZE_T size_t |
# else |
# else |
# define YYSIZE_T unsigned int |
# define YYSIZE_T unsigned |
# endif |
# endif |
#endif |
#endif |
|
|
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
|
|
#ifndef YY_ |
#ifndef YY_ |
# if YYENABLE_NLS |
# if defined YYENABLE_NLS && YYENABLE_NLS |
# if ENABLE_NLS |
# if ENABLE_NLS |
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */ |
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */ |
# define YY_(msgid) dgettext ("bison-runtime", msgid) |
# define YY_(Msgid) dgettext ("bison-runtime", Msgid) |
# endif |
# endif |
# endif |
# endif |
# ifndef YY_ |
# ifndef YY_ |
# define YY_(msgid) msgid |
# define YY_(Msgid) Msgid |
# endif |
# endif |
#endif |
#endif |
|
|
|
#ifndef YY_ATTRIBUTE |
|
# if (defined __GNUC__ \ |
|
&& (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__))) \ |
|
|| defined __SUNPRO_C && 0x5110 <= __SUNPRO_C |
|
# define YY_ATTRIBUTE(Spec) __attribute__(Spec) |
|
# else |
|
# define YY_ATTRIBUTE(Spec) /* empty */ |
|
# endif |
|
#endif |
|
|
|
#ifndef YY_ATTRIBUTE_PURE |
|
# define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
|
#endif |
|
|
|
#ifndef YY_ATTRIBUTE_UNUSED |
|
# define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
|
#endif |
|
|
/* Suppress unused-variable warnings by "using" E. */ |
/* Suppress unused-variable warnings by "using" E. */ |
#if ! defined lint || defined __GNUC__ |
#if ! defined lint || defined __GNUC__ |
# define YYUSE(e) ((void) (e)) |
# define YYUSE(E) ((void) (E)) |
#else |
#else |
# define YYUSE(e) /* empty */ |
# define YYUSE(E) /* empty */ |
#endif |
#endif |
|
|
/* Identity function, used to suppress warnings about constant conditions. */ |
#if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR__ |
#ifndef lint |
/* Suppress an incorrect diagnostic about yylval being uninitialized. */ |
# define YYID(n) (n) |
# 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 |
#else |
#if (defined __STDC__ || defined __C99__FUNC__ \ |
# define YY_INITIAL_VALUE(Value) Value |
|| defined __cplusplus || defined _MSC_VER) |
|
static int |
|
YYID (int yyi) |
|
#else |
|
static int |
|
YYID (yyi) |
|
int yyi; |
|
#endif |
#endif |
{ |
#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
return yyi; |
# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
} |
# define YY_IGNORE_MAYBE_UNINITIALIZED_END |
#endif |
#endif |
|
#ifndef YY_INITIAL_VALUE |
|
# define YY_INITIAL_VALUE(Value) /* Nothing. */ |
|
#endif |
|
|
|
|
#if ! defined yyoverflow || YYERROR_VERBOSE |
#if ! defined yyoverflow || YYERROR_VERBOSE |
|
|
/* The parser invokes alloca or malloc; define the necessary symbols. */ |
/* The parser invokes alloca or malloc; define the necessary symbols. */ |
|
|
# define alloca _alloca |
# define alloca _alloca |
# else |
# else |
# define YYSTACK_ALLOC alloca |
# define YYSTACK_ALLOC alloca |
# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ |
# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS |
|| defined __cplusplus || defined _MSC_VER) |
|
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ |
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ |
# ifndef _STDLIB_H |
/* Use EXIT_SUCCESS as a witness for stdlib.h. */ |
# define _STDLIB_H 1 |
# ifndef EXIT_SUCCESS |
|
# define EXIT_SUCCESS 0 |
# endif |
# endif |
# endif |
# endif |
# endif |
# endif |
|
|
# endif |
# endif |
|
|
# ifdef YYSTACK_ALLOC |
# ifdef YYSTACK_ALLOC |
/* Pacify GCC's `empty if-body' warning. */ |
/* Pacify GCC's 'empty if-body' warning. */ |
# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0)) |
# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) |
# ifndef YYSTACK_ALLOC_MAXIMUM |
# ifndef YYSTACK_ALLOC_MAXIMUM |
/* The OS might guarantee only one guard page at the bottom of the stack, |
/* The OS might guarantee only one guard page at the bottom of the stack, |
and a page size can be as small as 4096 bytes. So we cannot safely |
and a page size can be as small as 4096 bytes. So we cannot safely |
|
|
# ifndef YYSTACK_ALLOC_MAXIMUM |
# ifndef YYSTACK_ALLOC_MAXIMUM |
# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
# endif |
# endif |
# if (defined __cplusplus && ! defined _STDLIB_H \ |
# if (defined __cplusplus && ! defined EXIT_SUCCESS \ |
&& ! ((defined YYMALLOC || defined malloc) \ |
&& ! ((defined YYMALLOC || defined malloc) \ |
&& (defined YYFREE || defined free))) |
&& (defined YYFREE || defined free))) |
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ |
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ |
# ifndef _STDLIB_H |
# ifndef EXIT_SUCCESS |
# define _STDLIB_H 1 |
# define EXIT_SUCCESS 0 |
# endif |
# endif |
# endif |
# endif |
# ifndef YYMALLOC |
# ifndef YYMALLOC |
# define YYMALLOC malloc |
# define YYMALLOC malloc |
# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ |
# if ! defined malloc && ! defined EXIT_SUCCESS |
|| defined __cplusplus || defined _MSC_VER) |
|
void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ |
void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ |
# endif |
# endif |
# endif |
# endif |
# ifndef YYFREE |
# ifndef YYFREE |
# define YYFREE free |
# define YYFREE free |
# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ |
# if ! defined free && ! defined EXIT_SUCCESS |
|| defined __cplusplus || defined _MSC_VER) |
|
void free (void *); /* INFRINGES ON USER NAME SPACE */ |
void free (void *); /* INFRINGES ON USER NAME SPACE */ |
# endif |
# endif |
# endif |
# endif |
Line 422 void free (void *); /* INFRINGES ON USER NAME SPACE */ |
|
Line 440 void free (void *); /* INFRINGES ON USER NAME SPACE */ |
|
|
|
#if (! defined yyoverflow \ |
#if (! defined yyoverflow \ |
&& (! defined __cplusplus \ |
&& (! defined __cplusplus \ |
|| (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) |
|| (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) |
|
|
/* A type that is properly aligned for any stack member. */ |
/* A type that is properly aligned for any stack member. */ |
union yyalloc |
union yyalloc |
|
|
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ |
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ |
+ YYSTACK_GAP_MAXIMUM) |
+ YYSTACK_GAP_MAXIMUM) |
|
|
/* Copy COUNT objects from FROM to TO. The source and destination do |
# define YYCOPY_NEEDED 1 |
not overlap. */ |
|
# ifndef YYCOPY |
|
# if defined __GNUC__ && 1 < __GNUC__ |
|
# define YYCOPY(To, From, Count) \ |
|
__builtin_memcpy (To, From, (Count) * sizeof (*(From))) |
|
# else |
|
# define YYCOPY(To, From, Count) \ |
|
do \ |
|
{ \ |
|
YYSIZE_T yyi; \ |
|
for (yyi = 0; yyi < (Count); yyi++) \ |
|
(To)[yyi] = (From)[yyi]; \ |
|
} \ |
|
while (YYID (0)) |
|
# endif |
|
# endif |
|
|
|
/* Relocate STACK from its old location to the new one. The |
/* Relocate STACK from its old location to the new one. The |
local variables YYSIZE and YYSTACKSIZE give the old and new number of |
local variables YYSIZE and YYSTACKSIZE give the old and new number of |
elements in the stack, and YYPTR gives the new location of the |
elements in the stack, and YYPTR gives the new location of the |
stack. Advance YYPTR to a properly aligned location for the next |
stack. Advance YYPTR to a properly aligned location for the next |
stack. */ |
stack. */ |
# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ |
# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ |
do \ |
do \ |
{ \ |
{ \ |
YYSIZE_T yynewbytes; \ |
YYSIZE_T yynewbytes; \ |
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ |
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ |
Stack = &yyptr->Stack_alloc; \ |
Stack = &yyptr->Stack_alloc; \ |
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ |
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ |
yyptr += yynewbytes / sizeof (*yyptr); \ |
yyptr += yynewbytes / sizeof (*yyptr); \ |
} \ |
} \ |
while (YYID (0)) |
while (0) |
|
|
#endif |
#endif |
|
|
|
#if defined YYCOPY_NEEDED && YYCOPY_NEEDED |
|
/* Copy COUNT objects from SRC to DST. The source and destination do |
|
not overlap. */ |
|
# ifndef YYCOPY |
|
# if defined __GNUC__ && 1 < __GNUC__ |
|
# define YYCOPY(Dst, Src, Count) \ |
|
__builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src))) |
|
# else |
|
# define YYCOPY(Dst, Src, Count) \ |
|
do \ |
|
{ \ |
|
YYSIZE_T yyi; \ |
|
for (yyi = 0; yyi < (Count); yyi++) \ |
|
(Dst)[yyi] = (Src)[yyi]; \ |
|
} \ |
|
while (0) |
|
# endif |
|
# endif |
|
#endif /* !YYCOPY_NEEDED */ |
|
|
/* YYFINAL -- State number of the termination state. */ |
/* YYFINAL -- State number of the termination state. */ |
#define YYFINAL 101 |
#define YYFINAL 101 |
/* YYLAST -- Last index in YYTABLE. */ |
/* YYLAST -- Last index in YYTABLE. */ |
#define YYLAST 1284 |
#define YYLAST 1381 |
|
|
/* YYNTOKENS -- Number of terminals. */ |
/* YYNTOKENS -- Number of terminals. */ |
#define YYNTOKENS 77 |
#define YYNTOKENS 77 |
/* YYNNTS -- Number of nonterminals. */ |
/* YYNNTS -- Number of nonterminals. */ |
#define YYNNTS 26 |
#define YYNNTS 26 |
/* YYNRULES -- Number of rules. */ |
/* YYNRULES -- Number of rules. */ |
#define YYNRULES 114 |
#define YYNRULES 116 |
/* YYNRULES -- Number of states. */ |
/* YYNSTATES -- Number of states. */ |
#define YYNSTATES 283 |
#define YYNSTATES 287 |
|
|
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ |
|
#define YYUNDEFTOK 2 |
#define YYUNDEFTOK 2 |
#define YYMAXUTOK 307 |
#define YYMAXUTOK 307 |
|
|
#define YYTRANSLATE(YYX) \ |
/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM |
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
as returned by yylex, with out-of-bounds checking. */ |
|
#define YYTRANSLATE(YYX) \ |
|
((unsigned) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
|
|
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ |
/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM |
|
as returned by yylex. */ |
static const yytype_uint8 yytranslate[] = |
static const yytype_uint8 yytranslate[] = |
{ |
{ |
0, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
0, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
Line 534 static const yytype_uint8 yytranslate[] = |
|
Line 558 static const yytype_uint8 yytranslate[] = |
|
}; |
}; |
|
|
#if YYDEBUG |
#if YYDEBUG |
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in |
/* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ |
YYRHS. */ |
|
static const yytype_uint16 yyprhs[] = |
|
{ |
|
0, 0, 3, 5, 7, 8, 9, 15, 16, 17, |
|
23, 24, 25, 31, 35, 42, 45, 47, 50, 53, |
|
56, 60, 66, 74, 84, 90, 98, 107, 114, 115, |
|
116, 117, 130, 134, 137, 140, 142, 144, 145, 147, |
|
151, 153, 157, 159, 163, 165, 169, 170, 173, 174, |
|
176, 178, 182, 184, 188, 190, 192, 196, 198, 200, |
|
202, 204, 206, 208, 210, 215, 222, 229, 236, 244, |
|
249, 253, 262, 267, 274, 282, 292, 297, 302, 307, |
|
311, 313, 318, 322, 324, 330, 334, 338, 341, 344, |
|
348, 351, 354, 358, 362, 366, 370, 374, 378, 382, |
|
385, 389, 393, 396, 400, 404, 408, 412, 416, 420, |
|
426, 430, 435, 440, 446 |
|
}; |
|
|
|
/* YYRHS -- A `-1'-separated list of the rules' RHS. */ |
|
static const yytype_int8 yyrhs[] = |
|
{ |
|
78, 0, -1, 79, -1, 89, -1, -1, -1, 11, |
|
80, 94, 81, 89, -1, -1, -1, 12, 82, 94, |
|
83, 89, -1, -1, -1, 13, 84, 94, 85, 89, |
|
-1, 14, 93, 89, -1, 3, 99, 65, 92, 66, |
|
89, -1, 102, 89, -1, 91, -1, 27, 89, -1, |
|
29, 89, -1, 28, 89, -1, 28, 102, 89, -1, |
|
25, 67, 96, 68, 79, -1, 25, 67, 96, 68, |
|
79, 26, 79, -1, 24, 67, 96, 69, 96, 69, |
|
96, 68, 79, -1, 23, 67, 96, 68, 79, -1, |
|
22, 79, 23, 67, 96, 68, 89, -1, 47, 67, |
|
96, 68, 59, 57, 102, 89, -1, 8, 47, 67, |
|
96, 68, 89, -1, -1, -1, -1, 7, 47, 86, |
|
67, 87, 96, 88, 68, 90, 65, 95, 66, -1, |
|
9, 47, 89, -1, 10, 89, -1, 1, 89, -1, |
|
69, -1, 70, -1, -1, 48, -1, 65, 95, 66, |
|
-1, 99, -1, 92, 71, 99, -1, 47, -1, 93, |
|
71, 47, -1, 46, -1, 94, 71, 46, -1, -1, |
|
95, 79, -1, -1, 97, -1, 102, -1, 97, 71, |
|
102, -1, 100, -1, 98, 71, 100, -1, 46, -1, |
|
47, -1, 99, 57, 102, -1, 48, -1, 45, -1, |
|
6, -1, 34, -1, 35, -1, 36, -1, 47, -1, |
|
47, 67, 96, 68, -1, 47, 67, 96, 72, 98, |
|
68, -1, 31, 67, 47, 71, 96, 68, -1, 32, |
|
67, 47, 71, 96, 68, -1, 47, 65, 96, 66, |
|
67, 96, 68, -1, 37, 67, 99, 68, -1, 37, |
|
67, 68, -1, 33, 67, 102, 71, 102, 71, 102, |
|
68, -1, 30, 67, 47, 68, -1, 30, 67, 47, |
|
71, 96, 68, -1, 67, 53, 102, 68, 67, 96, |
|
68, -1, 67, 53, 102, 68, 67, 96, 72, 98, |
|
68, -1, 46, 67, 96, 68, -1, 18, 67, 102, |
|
68, -1, 19, 67, 102, 68, -1, 67, 102, 68, |
|
-1, 46, -1, 101, 73, 102, 74, -1, 101, 4, |
|
99, -1, 101, -1, 67, 3, 99, 68, 101, -1, |
|
102, 57, 102, -1, 102, 50, 102, -1, 102, 49, |
|
-1, 49, 102, -1, 73, 96, 74, -1, 51, 102, |
|
-1, 52, 102, -1, 102, 51, 102, -1, 102, 52, |
|
102, -1, 102, 53, 102, -1, 102, 54, 102, -1, |
|
102, 56, 102, -1, 102, 55, 102, -1, 102, 15, |
|
102, -1, 64, 102, -1, 102, 16, 102, -1, 102, |
|
17, 102, -1, 43, 102, -1, 102, 38, 102, -1, |
|
102, 39, 102, -1, 102, 40, 102, -1, 102, 41, |
|
102, -1, 102, 42, 102, -1, 102, 44, 102, -1, |
|
102, 58, 102, 59, 102, -1, 75, 96, 76, -1, |
|
5, 67, 99, 68, -1, 20, 67, 102, 68, -1, |
|
73, 96, 72, 102, 74, -1, 60, 102, -1 |
|
}; |
|
|
|
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ |
|
static const yytype_uint16 yyrline[] = |
static const yytype_uint16 yyrline[] = |
{ |
{ |
0, 130, 130, 139, 141, 141, 141, 143, 143, 143, |
0, 130, 130, 139, 141, 141, 141, 143, 143, 143, |
Line 611 static const yytype_uint16 yyrline[] = |
|
Line 567 static const yytype_uint16 yyrline[] = |
|
177, 177, 183, 189, 191, 194, 196, 200, 201, 204, |
177, 177, 183, 189, 191, 194, 196, 200, 201, 204, |
207, 209, 212, 214, 217, 219, 223, 224, 228, 229, |
207, 209, 212, 214, 217, 219, 223, 224, 228, 229, |
232, 234, 237, 239, 242, 244, 247, 250, 252, 254, |
232, 234, 237, 239, 242, 244, 247, 250, 252, 254, |
256, 258, 260, 262, 283, 290, 297, 303, 309, 314, |
256, 258, 260, 262, 283, 289, 296, 302, 308, 313, |
318, 322, 326, 333, 340, 344, 349, 363, 365, 367, |
317, 321, 325, 332, 339, 343, 348, 362, 364, 366, |
369, 382, 392, 395, 397, 399, 401, 403, 405, 407, |
368, 381, 391, 394, 396, 398, 400, 402, 404, 406, |
409, 411, 413, 415, 417, 419, 421, 423, 425, 427, |
408, 410, 412, 414, 416, 418, 420, 422, 424, 426, |
429, 431, 433, 435, 437, 439, 441, 443, 445, 447, |
428, 435, 437, 439, 441, 443, 445, 447, 449, 451, |
449, 451, 453, 455, 457 |
453, 455, 457, 461, 463, 465, 467 |
}; |
}; |
#endif |
#endif |
|
|
#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE |
#if YYDEBUG || YYERROR_VERBOSE || 0 |
/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. |
/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. |
First, the terminals, then, starting at YYNTOKENS, nonterminals. */ |
First, the terminals, then, starting at YYNTOKENS, nonterminals. */ |
static const char *const yytname[] = |
static const char *const yytname[] = |
Line 637 static const char *const yytname[] = |
|
Line 593 static const char *const yytname[] = |
|
"'|'", "'['", "']'", "'<'", "'>'", "$accept", "start", "stat", "$@1", |
"'|'", "'['", "']'", "'<'", "'>'", "$accept", "start", "stat", "$@1", |
"$@2", "$@3", "$@4", "$@5", "$@6", "$@7", "$@8", "$@9", "tail", "desc", |
"$@2", "$@3", "$@4", "$@5", "$@6", "$@7", "$@8", "$@9", "tail", "desc", |
"complex", "members", "vars", "pvars", "stats", "node", "_node", |
"complex", "members", "vars", "pvars", "stats", "node", "_node", |
"optlist", "rawstr", "opt", "pexpr", "expr", 0 |
"optlist", "rawstr", "opt", "pexpr", "expr", YY_NULLPTR |
}; |
}; |
#endif |
#endif |
|
|
# ifdef YYPRINT |
# ifdef YYPRINT |
/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to |
/* YYTOKNUM[NUM] -- (External) token number corresponding to the |
token YYLEX-NUM. */ |
(internal) symbol number NUM (which must be that of a token). */ |
static const yytype_uint16 yytoknum[] = |
static const yytype_uint16 yytoknum[] = |
{ |
{ |
0, 256, 257, 258, 259, 260, 261, 262, 263, 264, |
0, 256, 257, 258, 259, 260, 261, 262, 263, 264, |
Line 657 static const yytype_uint16 yytoknum[] = |
|
Line 613 static const yytype_uint16 yytoknum[] = |
|
}; |
}; |
# endif |
# endif |
|
|
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ |
#define YYPACT_NINF -60 |
static const yytype_uint8 yyr1[] = |
|
{ |
|
0, 77, 78, 79, 80, 81, 79, 82, 83, 79, |
|
84, 85, 79, 79, 79, 79, 79, 79, 79, 79, |
|
79, 79, 79, 79, 79, 79, 79, 79, 86, 87, |
|
88, 79, 79, 79, 79, 89, 89, 90, 90, 91, |
|
92, 92, 93, 93, 94, 94, 95, 95, 96, 96, |
|
97, 97, 98, 98, 99, 99, 100, 101, 101, 101, |
|
101, 101, 101, 101, 101, 101, 101, 101, 101, 101, |
|
101, 101, 101, 101, 101, 101, 101, 101, 101, 101, |
|
101, 101, 101, 102, 102, 102, 102, 102, 102, 102, |
|
102, 102, 102, 102, 102, 102, 102, 102, 102, 102, |
|
102, 102, 102, 102, 102, 102, 102, 102, 102, 102, |
|
102, 102, 102, 102, 102 |
|
}; |
|
|
|
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ |
#define yypact_value_is_default(Yystate) \ |
static const yytype_uint8 yyr2[] = |
(!!((Yystate) == (-60))) |
|
|
|
#define YYTABLE_NINF -1 |
|
|
|
#define yytable_value_is_error(Yytable_value) \ |
|
0 |
|
|
|
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing |
|
STATE-NUM. */ |
|
static const yytype_int16 yypact[] = |
{ |
{ |
0, 2, 1, 1, 0, 0, 5, 0, 0, 5, |
475, 27, 6, -52, -60, -25, -20, -12, 27, -60, |
0, 0, 5, 3, 6, 2, 1, 2, 2, 2, |
-60, -60, 13, 19, 23, 25, 475, 31, 35, 56, |
3, 5, 7, 9, 5, 7, 8, 6, 0, 0, |
27, 596, 27, 58, 59, 60, 62, -60, -60, -60, |
0, 12, 3, 2, 2, 1, 1, 0, 1, 3, |
63, 706, -60, 67, -4, -60, 706, 706, 706, 706, |
1, 3, 1, 3, 1, 3, 0, 2, 0, 1, |
706, -60, 546, -60, -60, 706, 706, 94, -60, -60, |
1, 3, 1, 3, 1, 1, 3, 1, 1, 1, |
-60, -2, 937, -60, -60, -60, 76, 6, -60, 75, |
1, 1, 1, 1, 4, 6, 6, 6, 7, 4, |
27, -60, 97, 97, 97, -60, 14, 706, 706, 706, |
3, 8, 4, 6, 7, 9, 4, 4, 4, 3, |
121, 706, 706, 706, -60, 7, -60, 937, -60, 98, |
1, 4, 3, 1, 5, 3, 3, 2, 2, 3, |
99, 100, 706, -40, 1227, 706, 706, 706, 101, 155, |
2, 2, 3, 3, 3, 3, 3, 3, 3, 2, |
155, 1227, -45, 333, 6, 706, 981, 17, 78, 1197, |
3, 3, 2, 3, 3, 3, 3, 3, 3, 5, |
-56, -60, 6, 706, 706, 706, 706, 706, 706, 706, |
3, 4, 4, 5, 2 |
706, 706, 706, -60, 706, 706, 706, 706, 706, 706, |
|
706, 706, 706, -60, -60, 6, 86, 93, 706, -60, |
|
-60, 81, 81, 81, 106, -60, 1012, 1043, 1074, 102, |
|
105, 96, 115, 706, -60, -27, 95, 103, 849, -60, |
|
116, 117, 120, -39, -60, -60, 119, 1105, -60, 706, |
|
-60, 706, 706, -60, -60, 774, 24, 788, 504, 84, |
|
214, 1317, 1287, 1257, -6, 1197, 155, 155, -41, -41, |
|
-41, -41, 1197, 1167, -53, -60, -60, -60, 129, 122, |
|
27, 27, 27, -60, -60, -60, -60, 706, 475, 706, |
|
475, -38, -60, 706, 706, 706, 706, -60, -60, 135, |
|
108, 6, 145, 136, 818, 1197, 744, -60, 706, 27, |
|
6, 706, 27, -60, -60, -60, -60, 137, -60, 138, |
|
162, -60, 146, 147, 148, 893, 706, 132, -14, 160, |
|
-60, 656, -2, 706, -60, -60, 256, -60, -60, -60, |
|
-60, 27, 706, 475, -60, -60, -60, 706, 152, 706, |
|
-60, 6, 706, -17, 153, -60, 154, -60, 1136, -60, |
|
937, -60, 1197, -60, 6, 176, 475, -60, -60, -9, |
|
-60, 167, -60, -60, -60, 404, -60 |
}; |
}; |
|
|
/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state |
/* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM. |
STATE-NUM when YYTABLE doesn't specify something else to do. Zero |
Performed when YYTABLE does not specify something else to do. Zero |
means the default is an error. */ |
means the default is an error. */ |
static const yytype_uint8 yydefact[] = |
static const yytype_uint8 yydefact[] = |
{ |
{ |
0, 0, 0, 0, 59, 0, 0, 0, 0, 4, |
0, 0, 0, 0, 59, 0, 0, 0, 0, 4, |
Line 704 static const yytype_uint8 yydefact[] = |
|
Line 671 static const yytype_uint8 yydefact[] = |
|
16, 83, 0, 34, 54, 55, 0, 0, 28, 0, |
16, 83, 0, 34, 54, 55, 0, 0, 28, 0, |
0, 33, 0, 0, 0, 42, 0, 0, 0, 0, |
0, 33, 0, 0, 0, 42, 0, 0, 0, 0, |
0, 48, 48, 48, 17, 63, 19, 0, 18, 0, |
0, 48, 48, 48, 17, 63, 19, 0, 18, 0, |
0, 0, 0, 0, 102, 48, 48, 48, 88, 90, |
0, 0, 0, 0, 103, 48, 48, 48, 88, 90, |
91, 114, 99, 0, 0, 0, 0, 0, 49, 50, |
91, 116, 99, 0, 0, 0, 0, 0, 49, 50, |
0, 1, 0, 0, 0, 0, 0, 0, 0, 0, |
0, 1, 0, 0, 0, 0, 0, 0, 0, 0, |
0, 0, 0, 87, 0, 0, 0, 0, 0, 0, |
0, 0, 0, 87, 0, 0, 0, 0, 0, 0, |
0, 0, 0, 15, 0, 0, 0, 48, 32, 44, |
0, 0, 0, 100, 15, 0, 0, 0, 48, 32, |
5, 8, 11, 0, 13, 0, 0, 0, 0, 0, |
44, 5, 8, 11, 0, 13, 0, 0, 0, 0, |
0, 0, 48, 20, 0, 0, 0, 0, 70, 0, |
0, 0, 0, 48, 20, 0, 0, 0, 0, 70, |
0, 0, 0, 39, 47, 0, 0, 79, 0, 89, |
0, 0, 0, 0, 39, 47, 0, 0, 79, 0, |
0, 110, 82, 0, 98, 100, 101, 103, 104, 105, |
89, 0, 0, 111, 82, 0, 98, 101, 102, 104, |
106, 107, 108, 86, 92, 93, 94, 95, 97, 96, |
105, 106, 107, 108, 109, 86, 92, 93, 94, 95, |
85, 0, 0, 40, 111, 29, 0, 0, 0, 0, |
97, 96, 85, 0, 0, 40, 113, 29, 0, 0, |
0, 43, 77, 78, 112, 48, 0, 48, 0, 0, |
0, 0, 0, 43, 77, 78, 114, 48, 0, 48, |
72, 48, 48, 48, 0, 69, 76, 0, 64, 0, |
0, 0, 72, 48, 48, 48, 0, 69, 76, 0, |
0, 0, 0, 51, 81, 0, 0, 0, 48, 0, |
64, 0, 0, 0, 0, 51, 0, 81, 0, 0, |
45, 6, 9, 12, 0, 24, 0, 21, 64, 0, |
0, 48, 0, 45, 6, 9, 12, 0, 24, 0, |
0, 0, 0, 48, 0, 0, 0, 52, 0, 84, |
21, 64, 0, 0, 0, 0, 48, 0, 0, 0, |
48, 113, 109, 14, 41, 30, 27, 0, 48, 0, |
52, 0, 84, 48, 115, 112, 110, 14, 41, 30, |
73, 66, 67, 0, 0, 0, 65, 0, 0, 0, |
27, 0, 48, 0, 73, 66, 67, 0, 0, 0, |
0, 25, 0, 22, 0, 68, 0, 53, 56, 74, |
65, 0, 0, 0, 0, 25, 0, 22, 0, 68, |
0, 37, 0, 71, 26, 0, 38, 0, 23, 75, |
0, 53, 56, 74, 0, 37, 0, 71, 26, 0, |
46, 0, 31 |
38, 0, 23, 75, 46, 0, 31 |
}; |
}; |
|
|
/* YYDEFGOTO[NTERM-NUM]. */ |
/* YYPGOTO[NTERM-NUM]. */ |
static const yytype_int16 yydefgoto[] = |
static const yytype_int8 yypgoto[] = |
{ |
{ |
-1, 47, 154, 62, 188, 63, 189, 64, 190, 126, |
-60, -60, 1, -60, -60, -60, -60, -60, -60, -60, |
218, 260, 49, 277, 50, 182, 66, 130, 93, 97, |
-60, -60, 4, -60, -60, -60, -60, 2, -59, 85, |
98, 235, 236, 237, 51, 99 |
-60, -47, 30, -28, 22, 0 |
}; |
}; |
|
|
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing |
/* YYDEFGOTO[NTERM-NUM]. */ |
STATE-NUM. */ |
static const yytype_int16 yydefgoto[] = |
#define YYPACT_NINF -65 |
|
static const yytype_int16 yypact[] = |
|
{ |
{ |
476, -36, 83, -64, -65, -27, 3, 18, -36, -65, |
-1, 47, 155, 62, 190, 63, 191, 64, 192, 127, |
-65, -65, 26, 13, 21, 24, 476, 35, 60, 64, |
221, 264, 49, 281, 50, 184, 66, 131, 93, 97, |
-36, 597, -36, 68, 71, 72, 74, -65, -65, -65, |
98, 238, 239, 240, 51, 99 |
75, 707, -65, 76, 25, -65, 707, 707, 707, 707, |
|
707, -65, 547, -65, -65, 707, 707, 137, -65, -65, |
|
-65, -2, 864, -65, -65, -65, 79, 83, -65, 78, |
|
-36, -65, 100, 100, 100, -65, -12, 707, 707, 707, |
|
124, 707, 707, 707, -65, 58, -65, 864, -65, 101, |
|
102, 104, 707, -33, 1184, 707, 707, 707, 106, -26, |
|
-26, 1184, 106, 334, 83, 707, 908, 54, 85, 1124, |
|
81, -65, 83, 707, 707, 707, 707, 707, 707, 707, |
|
707, 707, 707, -65, 707, 707, 707, 707, 707, 707, |
|
707, 707, 707, -65, 83, 91, 105, 707, -65, -65, |
|
103, 103, 103, 126, -65, 939, 970, 1001, 111, 115, |
|
116, 127, 707, -65, -17, 129, 131, 776, -65, 140, |
|
141, 144, -53, -65, -65, 143, 1032, -65, 707, -65, |
|
707, -65, -65, 260, 23, 273, 135, 1228, 210, 1203, |
|
190, 45, -8, 1124, -26, -26, -45, -45, -45, -45, |
|
1124, 1094, -60, -65, -65, -65, 145, 157, -36, -36, |
|
-36, -65, -65, -65, -65, 707, 476, 707, 476, -50, |
|
-65, 707, 707, 707, 707, -65, -65, 147, 153, 83, |
|
134, 149, 745, 1124, -65, 707, -36, 83, 707, -36, |
|
-65, -65, -65, -65, 150, -65, 152, 193, -65, 154, |
|
156, 163, 820, 707, 176, -16, 178, -65, 657, -2, |
|
707, -65, 1154, -65, -65, -65, -65, -36, 707, 476, |
|
-65, -65, -65, 707, 168, 707, -65, 83, 707, -19, |
|
169, -65, 172, -65, 1063, -65, 864, -65, 1124, -65, |
|
83, 204, 476, -65, -65, -5, -65, 191, -65, -65, |
|
-65, 405, -65 |
|
}; |
}; |
|
|
/* YYPGOTO[NTERM-NUM]. */ |
/* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If |
static const yytype_int8 yypgoto[] = |
positive, shift that token. If negative, reduce the rule whose |
{ |
number is the opposite. If YYTABLE_NINF, syntax error. */ |
-65, -65, 1, -65, -65, -65, -65, -65, -65, -65, |
|
-65, -65, 4, -65, -65, -65, -65, 70, -23, 90, |
|
-65, -10, 30, 10, 59, 0 |
|
}; |
|
|
|
/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If |
|
positive, shift that token. If negative, reduce the rule which |
|
number is the opposite. If zero, do what YYDEFACT says. |
|
If YYTABLE_NINF, syntax error. */ |
|
#define YYTABLE_NINF -1 |
|
static const yytype_uint16 yytable[] = |
static const yytype_uint16 yytable[] = |
{ |
{ |
52, 48, 102, 57, 113, 53, 216, 104, 105, 106, |
52, 48, 102, 162, 113, 53, 54, 55, 113, 104, |
119, 217, 61, 54, 55, 208, 52, 70, 228, 209, |
105, 106, 61, 219, 119, 57, 52, 70, 220, 123, |
58, 77, 209, 113, 74, 76, 78, 117, 118, 119, |
163, 77, 58, 123, 74, 76, 78, 59, 149, 210, |
120, 84, 56, 43, 44, 148, 88, 89, 90, 91, |
231, 84, 56, 211, 211, 60, 88, 89, 90, 91, |
92, 113, 96, 115, 116, 117, 118, 119, 120, 269, |
92, 202, 96, 113, 203, 115, 116, 117, 118, 119, |
59, 200, 256, 270, 201, 257, 123, 43, 44, 133, |
120, 273, 54, 55, 260, 274, 124, 261, 123, 283, |
104, 105, 106, 279, 128, 60, 257, 135, 136, 137, |
65, 86, 261, 87, 129, 132, 133, 136, 137, 138, |
134, 103, 113, 65, 115, 116, 117, 118, 119, 120, |
135, 103, 86, 113, 143, 115, 116, 117, 118, 119, |
67, 143, 147, 107, 108, 109, 110, 125, 68, 112, |
120, 144, 148, 43, 44, 134, 67, 126, 123, 159, |
86, 69, 87, 52, 113, 156, 115, 116, 117, 118, |
68, 160, 69, 52, 101, 157, 43, 44, 71, 104, |
119, 120, 71, 163, 164, 165, 166, 167, 168, 169, |
105, 106, 72, 165, 166, 167, 168, 169, 170, 171, |
170, 171, 172, 149, 173, 174, 175, 176, 177, 178, |
172, 173, 174, 150, 175, 176, 177, 178, 179, 180, |
179, 180, 181, 86, 155, 142, 158, 72, 159, 54, |
181, 182, 183, 73, 156, 79, 80, 81, 112, 82, |
55, 73, 162, 131, 132, 79, 100, 101, 80, 81, |
83, 100, 164, 113, 85, 115, 116, 117, 118, 119, |
4, 82, 83, 85, 124, 127, 129, 138, 144, 145, |
120, 125, 128, 130, 139, 145, 146, 147, 123, 161, |
104, 146, 13, 14, 183, 113, 160, 161, 212, 184, |
113, 4, 189, 193, 186, 185, 140, 141, 142, 214, |
213, 139, 140, 141, 23, 24, 25, 26, 27, 28, |
187, 215, 216, 13, 14, 199, 204, 237, 223, 197, |
29, 30, 185, 191, 187, 150, 151, 152, 195, 32, |
151, 152, 153, 198, 205, 23, 24, 25, 26, 27, |
33, 75, 35, 196, 113, 197, 115, 116, 117, 118, |
28, 29, 30, 200, 207, 208, 209, 212, 253, 259, |
119, 120, 221, 222, 223, 198, 52, 225, 52, 227, |
32, 33, 75, 35, 224, 225, 226, 222, 52, 228, |
202, 238, 203, 220, 232, 104, 105, 106, 205, 206, |
52, 230, 236, 243, 113, 251, 235, 252, 117, 118, |
207, 210, 234, 219, 233, 242, 240, 186, 247, 249, |
119, 120, 241, 188, 254, 255, 256, 262, 246, 123, |
243, 248, 250, 246, 251, 104, 105, 106, 107, 108, |
269, 275, 276, 247, 280, 285, 250, 279, 201, 104, |
109, 252, 199, 255, 112, 258, 265, 271, 96, 113, |
105, 106, 284, 271, 242, 0, 0, 0, 0, 0, |
272, 115, 116, 117, 118, 119, 120, 244, 107, 52, |
0, 96, 0, 0, 0, 0, 0, 0, 0, 0, |
263, 261, 276, 264, 112, 266, 280, 281, 268, 113, |
248, 0, 107, 52, 267, 265, 0, 268, 112, 270, |
275, 115, 116, 117, 118, 119, 120, 267, 0, 239, |
0, 0, 272, 113, 0, 115, 116, 117, 118, 119, |
274, 0, 52, 278, 0, 104, 105, 106, 0, 0, |
120, 104, 105, 106, 278, 0, 52, 282, 123, 0, |
0, 52, 0, 0, 0, 224, 0, 226, 104, 0, |
0, 0, 227, 0, 229, 52, 0, 0, 232, 233, |
106, 229, 230, 231, 0, 0, 0, 0, 107, 108, |
234, 0, 0, 0, 107, 108, 109, 110, 111, 0, |
109, 110, 111, 0, 112, 0, 0, 0, 245, 113, |
112, 0, 0, 0, 0, 113, 249, 115, 116, 117, |
114, 115, 116, 117, 118, 119, 120, 121, 122, 0, |
118, 119, 120, 0, 122, 0, 0, 0, 0, 0, |
0, 0, 113, 254, 115, 116, 117, 118, 119, 120, |
123, 258, 0, 0, 0, 0, 0, 0, 263, 0, |
259, 0, 0, 0, 214, 1, 0, 2, 262, 3, |
0, 0, 0, 0, 1, 0, 2, 266, 3, 4, |
|
5, 6, 7, 8, 9, 10, 11, 12, 0, 0, |
|
0, 13, 14, 15, 0, 16, 17, 18, 19, 0, |
|
20, 21, 22, 23, 24, 25, 26, 27, 28, 29, |
|
30, 0, 0, 0, 0, 0, 31, 0, 32, 33, |
|
34, 35, 36, 0, 37, 38, 0, 0, 0, 0, |
|
0, 0, 0, 39, 0, 0, 0, 40, 41, 154, |
|
42, 0, 43, 44, 0, 1, 45, 2, 46, 3, |
4, 5, 6, 7, 8, 9, 10, 11, 12, 0, |
4, 5, 6, 7, 8, 9, 10, 11, 12, 0, |
0, 0, 13, 14, 15, 0, 16, 17, 18, 19, |
0, 0, 13, 14, 15, 0, 16, 17, 18, 19, |
0, 20, 21, 22, 23, 24, 25, 26, 27, 28, |
0, 20, 21, 22, 23, 24, 25, 26, 27, 28, |
29, 30, 0, 0, 0, 0, 0, 31, 0, 32, |
29, 30, 0, 0, 0, 0, 0, 31, 0, 32, |
33, 34, 35, 36, 0, 37, 38, 0, 0, 0, |
33, 34, 35, 36, 0, 37, 38, 0, 0, 0, |
0, 0, 0, 0, 39, 0, 0, 0, 40, 41, |
0, 0, 0, 0, 39, 0, 0, 0, 40, 41, |
153, 42, 0, 43, 44, 0, 1, 45, 2, 46, |
286, 42, 0, 43, 44, 0, 1, 45, 2, 46, |
3, 4, 5, 6, 7, 8, 9, 10, 11, 12, |
3, 4, 5, 6, 7, 8, 9, 10, 11, 12, |
0, 0, 0, 13, 14, 15, 0, 16, 17, 18, |
0, 0, 0, 13, 14, 15, 0, 16, 17, 18, |
19, 0, 20, 21, 22, 23, 24, 25, 26, 27, |
19, 0, 20, 21, 22, 23, 24, 25, 26, 27, |
28, 29, 30, 0, 0, 0, 0, 0, 31, 0, |
28, 29, 30, 0, 0, 0, 0, 0, 31, 104, |
32, 33, 34, 35, 36, 0, 37, 38, 0, 0, |
32, 33, 34, 35, 36, 0, 37, 38, 0, 0, |
0, 0, 0, 0, 0, 39, 0, 0, 0, 40, |
0, 0, 0, 0, 0, 39, 0, 0, 0, 40, |
41, 282, 42, 0, 43, 44, 0, 1, 45, 2, |
41, 0, 42, 0, 43, 44, 0, 0, 45, 94, |
46, 3, 4, 5, 6, 7, 8, 9, 10, 11, |
46, 3, 4, 113, 0, 115, 116, 117, 118, 119, |
12, 0, 0, 0, 13, 14, 15, 0, 16, 17, |
120, 0, 0, 0, 13, 14, 15, 0, 123, 0, |
18, 19, 0, 20, 21, 22, 23, 24, 25, 26, |
0, 0, 0, 0, 0, 0, 23, 24, 25, 26, |
27, 28, 29, 30, 0, 0, 0, 0, 0, 31, |
27, 28, 29, 30, 0, 0, 0, 0, 0, 31, |
0, 32, 33, 34, 35, 36, 0, 37, 38, 0, |
0, 32, 33, 75, 35, 36, 0, 37, 38, 95, |
|
0, 3, 4, 0, 0, 0, 39, 0, 0, 0, |
|
40, 0, 0, 42, 13, 14, 15, 0, 0, 45, |
|
0, 46, 0, 0, 0, 0, 23, 24, 25, 26, |
|
27, 28, 29, 30, 0, 0, 0, 0, 0, 31, |
|
0, 32, 33, 75, 35, 36, 0, 37, 38, 0, |
0, 0, 0, 0, 0, 0, 39, 0, 0, 0, |
0, 0, 0, 0, 0, 0, 39, 0, 0, 0, |
40, 41, 0, 42, 0, 43, 44, 0, 0, 45, |
40, 3, 4, 42, 0, 43, 44, 0, 0, 45, |
94, 46, 3, 4, 0, 0, 0, 0, 0, 0, |
0, 46, 0, 0, 13, 14, 15, 0, 0, 0, |
0, 0, 0, 0, 0, 13, 14, 15, 0, 0, |
0, 0, 0, 0, 0, 0, 23, 24, 25, 26, |
0, 0, 0, 0, 0, 0, 0, 23, 24, 25, |
27, 28, 29, 30, 0, 0, 0, 0, 0, 31, |
26, 27, 28, 29, 30, 0, 0, 0, 0, 0, |
0, 32, 33, 75, 35, 36, 0, 37, 38, 95, |
31, 0, 32, 33, 75, 35, 36, 0, 37, 38, |
0, 3, 4, 0, 0, 0, 39, 0, 0, 0, |
95, 0, 3, 4, 0, 0, 0, 39, 0, 0, |
40, 0, 0, 42, 13, 14, 15, 0, 0, 45, |
0, 40, 0, 0, 42, 13, 14, 15, 0, 0, |
0, 46, 0, 0, 0, 0, 23, 24, 25, 26, |
45, 0, 46, 0, 0, 0, 0, 23, 24, 25, |
27, 28, 29, 30, 0, 0, 0, 0, 0, 31, |
26, 27, 28, 29, 30, 0, 0, 0, 0, 0, |
0, 32, 33, 75, 35, 36, 0, 37, 38, 104, |
31, 0, 32, 33, 75, 35, 36, 0, 37, 38, |
105, 106, 0, 0, 0, 0, 39, 0, 0, 0, |
0, 0, 0, 0, 0, 0, 0, 39, 0, 0, |
40, 0, 0, 42, 0, 0, 0, 0, 0, 45, |
0, 40, 3, 4, 42, 0, 43, 44, 0, 0, |
0, 46, 107, 108, 109, 110, 111, 0, 112, 104, |
45, 0, 46, 0, 0, 13, 14, 15, 0, 0, |
105, 106, 0, 113, 114, 115, 116, 117, 118, 119, |
0, 0, 0, 0, 0, 0, 0, 23, 24, 25, |
120, 121, 122, 104, 0, 106, 0, 0, 123, 0, |
26, 27, 28, 29, 30, 0, 0, 0, 0, 0, |
|
31, 0, 32, 33, 75, 35, 36, 0, 37, 38, |
|
95, 0, 3, 4, 0, 0, 0, 39, 0, 0, |
|
0, 40, 0, 0, 42, 13, 14, 15, 0, 0, |
|
45, 0, 46, 0, 0, 0, 0, 23, 24, 25, |
|
26, 27, 28, 29, 30, 0, 0, 0, 0, 0, |
|
31, 0, 32, 33, 75, 35, 36, 0, 37, 38, |
|
104, 105, 106, 0, 0, 0, 0, 39, 0, 0, |
|
0, 40, 0, 0, 42, 0, 0, 0, 0, 0, |
|
45, 0, 46, 107, 108, 109, 110, 111, 0, 112, |
|
0, 104, 105, 106, 113, 114, 115, 116, 117, 118, |
|
119, 120, 121, 122, 0, 0, 0, 0, 0, 0, |
|
0, 0, 0, 0, 107, 108, 109, 110, 111, 241, |
|
112, 0, 0, 0, 0, 113, 114, 115, 116, 117, |
|
118, 119, 120, 121, 122, 104, 105, 106, 0, 0, |
|
0, 0, 0, 0, 0, 0, 0, 204, 0, 0, |
|
0, 0, 0, 0, 0, 0, 0, 0, 107, 108, |
|
109, 110, 111, 0, 112, 0, 0, 0, 0, 113, |
|
114, 115, 116, 117, 118, 119, 120, 121, 122, 104, |
|
105, 106, 0, 0, 0, 0, 0, 0, 0, 0, |
|
0, 253, 0, 0, 0, 0, 0, 0, 0, 0, |
|
0, 0, 107, 108, 109, 110, 111, 0, 112, 0, |
0, 0, 107, 108, 109, 110, 111, 0, 112, 0, |
0, 0, 0, 113, 114, 115, 116, 117, 118, 119, |
245, 0, 0, 113, 114, 115, 116, 117, 118, 119, |
120, 121, 122, 104, 105, 106, 0, 0, 0, 0, |
120, 121, 122, 104, 105, 106, 0, 113, 123, 115, |
0, 0, 0, 43, 44, 0, 0, 0, 0, 0, |
116, 117, 118, 119, 120, 0, 0, 0, 217, 0, |
0, 0, 0, 0, 0, 0, 107, 108, 109, 110, |
0, 0, 123, 0, 0, 0, 107, 108, 109, 110, |
111, 0, 112, 0, 104, 105, 106, 113, 114, 115, |
111, 0, 112, 0, 104, 105, 106, 113, 114, 115, |
116, 117, 118, 119, 120, 121, 122, 0, 0, 0, |
116, 117, 118, 119, 120, 121, 122, 0, 0, 0, |
0, 0, 0, 0, 0, 0, 157, 107, 108, 109, |
0, 0, 123, 0, 0, 0, 0, 107, 108, 109, |
110, 111, 0, 112, 0, 104, 105, 106, 113, 114, |
110, 111, 244, 112, 0, 0, 0, 0, 113, 114, |
115, 116, 117, 118, 119, 120, 121, 122, 0, 0, |
115, 116, 117, 118, 119, 120, 121, 122, 104, 105, |
0, 0, 0, 0, 0, 0, 0, 192, 107, 108, |
106, 0, 0, 123, 0, 0, 0, 0, 0, 0, |
109, 110, 111, 0, 112, 0, 104, 105, 106, 113, |
206, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
114, 115, 116, 117, 118, 119, 120, 121, 122, 0, |
0, 107, 108, 109, 110, 111, 0, 112, 0, 0, |
0, 0, 0, 0, 0, 0, 0, 0, 193, 107, |
0, 0, 113, 114, 115, 116, 117, 118, 119, 120, |
|
121, 122, 104, 105, 106, 0, 0, 123, 0, 0, |
|
0, 0, 0, 0, 257, 0, 0, 0, 0, 0, |
|
0, 0, 0, 0, 0, 107, 108, 109, 110, 111, |
|
0, 112, 0, 0, 0, 0, 113, 114, 115, 116, |
|
117, 118, 119, 120, 121, 122, 104, 105, 106, 0, |
|
0, 123, 0, 0, 0, 0, 43, 44, 0, 0, |
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 107, |
108, 109, 110, 111, 0, 112, 0, 104, 105, 106, |
108, 109, 110, 111, 0, 112, 0, 104, 105, 106, |
113, 114, 115, 116, 117, 118, 119, 120, 121, 122, |
113, 114, 115, 116, 117, 118, 119, 120, 121, 122, |
0, 0, 0, 0, 0, 0, 0, 0, 0, 194, |
0, 0, 0, 0, 0, 123, 0, 0, 0, 158, |
107, 108, 109, 110, 111, 0, 112, 0, 104, 105, |
107, 108, 109, 110, 111, 0, 112, 0, 104, 105, |
106, 113, 114, 115, 116, 117, 118, 119, 120, 121, |
106, 113, 114, 115, 116, 117, 118, 119, 120, 121, |
122, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
122, 0, 0, 0, 0, 0, 123, 0, 0, 0, |
211, 107, 108, 109, 110, 111, 0, 112, 0, 104, |
194, 107, 108, 109, 110, 111, 0, 112, 0, 104, |
105, 106, 113, 114, 115, 116, 117, 118, 119, 120, |
105, 106, 113, 114, 115, 116, 117, 118, 119, 120, |
121, 122, 0, 0, 0, 0, 0, 0, 0, 0, |
121, 122, 0, 0, 0, 0, 0, 123, 0, 0, |
0, 273, 107, 108, 109, 110, 111, 0, 112, 104, |
0, 195, 107, 108, 109, 110, 111, 0, 112, 0, |
105, 106, 0, 113, 114, 115, 116, 117, 118, 119, |
104, 105, 106, 113, 114, 115, 116, 117, 118, 119, |
120, 121, 122, 215, 0, 0, 0, 0, 0, 0, |
120, 121, 122, 0, 0, 0, 0, 0, 123, 0, |
0, 0, 107, 108, 109, 110, 111, 0, 112, 104, |
0, 0, 196, 107, 108, 109, 110, 111, 0, 112, |
105, 106, 0, 113, 114, 115, 116, 117, 118, 119, |
0, 104, 105, 106, 113, 114, 115, 116, 117, 118, |
120, 121, 122, 0, 0, 0, 0, 0, 0, 0, |
119, 120, 121, 122, 0, 0, 0, 0, 0, 123, |
0, 0, 107, 108, 109, 110, 111, 0, 112, 104, |
0, 0, 0, 213, 107, 108, 109, 110, 111, 0, |
105, 106, 0, 113, 0, 115, 116, 117, 118, 119, |
112, 0, 104, 105, 106, 113, 114, 115, 116, 117, |
120, 0, 122, 0, 0, 0, 0, 0, 104, 105, |
118, 119, 120, 121, 122, 0, 0, 0, 0, 0, |
106, 0, 107, 108, 109, 110, 111, 0, 112, 0, |
123, 0, 0, 0, 277, 107, 108, 109, 110, 111, |
0, 0, 0, 113, 0, 115, 116, 117, 118, 119, |
0, 112, 104, 105, 106, 0, 113, 114, 115, 116, |
120, 107, 108, 104, 105, 106, 0, 112, 0, 0, |
117, 118, 119, 120, 121, 122, 218, 0, 0, 0, |
0, 0, 113, 0, 115, 116, 117, 118, 119, 120, |
0, 123, 0, 0, 0, 107, 108, 109, 110, 111, |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
0, 112, 104, 105, 106, 0, 113, 114, 115, 116, |
0, 0, 112, 0, 0, 0, 0, 113, 0, 115, |
117, 118, 119, 120, 121, 122, 0, 0, 0, 0, |
116, 117, 118, 119, 120 |
0, 123, 0, 0, 0, 107, 108, 109, 110, 111, |
|
0, 112, 104, 105, 106, 0, 113, 0, 115, 116, |
|
117, 118, 119, 120, 0, 0, 0, 0, 0, 0, |
|
0, 123, 0, 0, 0, 107, 108, 109, 110, 0, |
|
0, 112, 104, 105, 106, 0, 113, 0, 115, 116, |
|
117, 118, 119, 120, 0, 0, 0, 0, 0, 0, |
|
0, 123, 0, 0, 0, 107, 108, 109, 0, 0, |
|
0, 112, 104, 105, 106, 0, 113, 0, 115, 116, |
|
117, 118, 119, 120, 0, 0, 0, 0, 0, 0, |
|
0, 123, 0, 0, 0, 107, 108, 0, 0, 0, |
|
0, 112, 0, 0, 0, 0, 113, 0, 115, 116, |
|
117, 118, 119, 120, 0, 0, 0, 0, 0, 0, |
|
0, 123 |
}; |
}; |
|
|
static const yytype_int16 yycheck[] = |
static const yytype_int16 yycheck[] = |
{ |
{ |
0, 0, 4, 67, 49, 1, 66, 15, 16, 17, |
0, 0, 4, 59, 49, 1, 46, 47, 49, 15, |
55, 71, 8, 46, 47, 68, 16, 16, 68, 72, |
16, 17, 8, 66, 55, 67, 16, 16, 71, 64, |
47, 21, 72, 49, 20, 21, 22, 53, 54, 55, |
76, 21, 47, 64, 20, 21, 22, 47, 68, 68, |
56, 31, 2, 69, 70, 68, 36, 37, 38, 39, |
68, 31, 2, 72, 72, 47, 36, 37, 38, 39, |
40, 49, 42, 51, 52, 53, 54, 55, 56, 68, |
40, 68, 42, 49, 71, 51, 52, 53, 54, 55, |
47, 68, 68, 72, 71, 71, 52, 69, 70, 71, |
56, 68, 46, 47, 68, 72, 52, 71, 64, 68, |
15, 16, 17, 68, 60, 47, 71, 67, 68, 69, |
47, 65, 71, 67, 60, 63, 64, 67, 68, 69, |
66, 73, 49, 47, 51, 52, 53, 54, 55, 56, |
66, 73, 65, 49, 67, 51, 52, 53, 54, 55, |
67, 77, 82, 38, 39, 40, 41, 57, 67, 44, |
56, 77, 82, 69, 70, 71, 67, 57, 64, 72, |
65, 67, 67, 93, 49, 95, 51, 52, 53, 54, |
67, 74, 67, 93, 0, 95, 69, 70, 67, 15, |
55, 56, 67, 103, 104, 105, 106, 107, 108, 109, |
16, 17, 67, 103, 104, 105, 106, 107, 108, 109, |
110, 111, 112, 83, 114, 115, 116, 117, 118, 119, |
110, 111, 112, 83, 114, 115, 116, 117, 118, 119, |
120, 121, 122, 65, 94, 67, 72, 67, 74, 46, |
120, 121, 122, 67, 94, 67, 67, 67, 44, 67, |
47, 67, 102, 63, 64, 67, 46, 0, 67, 67, |
67, 46, 102, 49, 67, 51, 52, 53, 54, 55, |
6, 67, 67, 67, 65, 67, 46, 23, 47, 47, |
56, 65, 67, 46, 23, 47, 47, 47, 64, 71, |
15, 47, 18, 19, 124, 49, 71, 76, 158, 68, |
49, 6, 71, 47, 68, 125, 71, 72, 73, 159, |
160, 71, 72, 73, 30, 31, 32, 33, 34, 35, |
67, 161, 162, 18, 19, 69, 71, 59, 46, 67, |
36, 37, 67, 47, 71, 85, 86, 87, 67, 45, |
85, 86, 87, 68, 71, 30, 31, 32, 33, 34, |
46, 47, 48, 68, 49, 69, 51, 52, 53, 54, |
35, 36, 37, 68, 68, 68, 66, 68, 26, 57, |
55, 56, 188, 189, 190, 68, 196, 196, 198, 198, |
45, 46, 47, 48, 190, 191, 192, 68, 198, 198, |
71, 67, 71, 46, 204, 15, 16, 17, 68, 68, |
200, 200, 67, 67, 49, 68, 206, 69, 53, 54, |
66, 68, 59, 68, 67, 215, 67, 127, 68, 26, |
55, 56, 67, 128, 68, 68, 68, 57, 218, 64, |
216, 69, 68, 219, 68, 15, 16, 17, 38, 39, |
68, 68, 68, 219, 48, 284, 222, 274, 143, 15, |
40, 68, 142, 57, 44, 57, 68, 68, 238, 49, |
16, 17, 65, 261, 212, -1, -1, -1, -1, -1, |
68, 51, 52, 53, 54, 55, 56, 217, 38, 249, |
-1, 241, -1, -1, -1, -1, -1, -1, -1, -1, |
249, 247, 48, 253, 44, 255, 65, 280, 258, 49, |
220, -1, 38, 253, 253, 251, -1, 257, 44, 259, |
270, 51, 52, 53, 54, 55, 56, 257, -1, 210, |
-1, -1, 262, 49, -1, 51, 52, 53, 54, 55, |
266, -1, 272, 272, -1, 15, 16, 17, -1, -1, |
56, 15, 16, 17, 270, -1, 276, 276, 64, -1, |
-1, 281, -1, -1, -1, 195, -1, 197, 15, -1, |
-1, -1, 197, -1, 199, 285, -1, -1, 203, 204, |
17, 201, 202, 203, -1, -1, -1, -1, 38, 39, |
205, -1, -1, -1, 38, 39, 40, 41, 42, -1, |
40, 41, 42, -1, 44, -1, -1, -1, 218, 49, |
44, -1, -1, -1, -1, 49, 221, 51, 52, 53, |
50, 51, 52, 53, 54, 55, 56, 57, 58, -1, |
54, 55, 56, -1, 58, -1, -1, -1, -1, -1, |
-1, -1, 49, 233, 51, 52, 53, 54, 55, 56, |
64, 236, -1, -1, -1, -1, -1, -1, 243, -1, |
240, -1, -1, -1, 74, 1, -1, 3, 248, 5, |
-1, -1, -1, -1, 1, -1, 3, 252, 5, 6, |
|
7, 8, 9, 10, 11, 12, 13, 14, -1, -1, |
|
-1, 18, 19, 20, -1, 22, 23, 24, 25, -1, |
|
27, 28, 29, 30, 31, 32, 33, 34, 35, 36, |
|
37, -1, -1, -1, -1, -1, 43, -1, 45, 46, |
|
47, 48, 49, -1, 51, 52, -1, -1, -1, -1, |
|
-1, -1, -1, 60, -1, -1, -1, 64, 65, 66, |
|
67, -1, 69, 70, -1, 1, 73, 3, 75, 5, |
6, 7, 8, 9, 10, 11, 12, 13, 14, -1, |
6, 7, 8, 9, 10, 11, 12, 13, 14, -1, |
-1, -1, 18, 19, 20, -1, 22, 23, 24, 25, |
-1, -1, 18, 19, 20, -1, 22, 23, 24, 25, |
-1, 27, 28, 29, 30, 31, 32, 33, 34, 35, |
-1, 27, 28, 29, 30, 31, 32, 33, 34, 35, |
Line 963 static const yytype_int16 yycheck[] = |
|
Line 909 static const yytype_int16 yycheck[] = |
|
5, 6, 7, 8, 9, 10, 11, 12, 13, 14, |
5, 6, 7, 8, 9, 10, 11, 12, 13, 14, |
-1, -1, -1, 18, 19, 20, -1, 22, 23, 24, |
-1, -1, -1, 18, 19, 20, -1, 22, 23, 24, |
25, -1, 27, 28, 29, 30, 31, 32, 33, 34, |
25, -1, 27, 28, 29, 30, 31, 32, 33, 34, |
35, 36, 37, -1, -1, -1, -1, -1, 43, -1, |
35, 36, 37, -1, -1, -1, -1, -1, 43, 15, |
45, 46, 47, 48, 49, -1, 51, 52, -1, -1, |
45, 46, 47, 48, 49, -1, 51, 52, -1, -1, |
-1, -1, -1, -1, -1, 60, -1, -1, -1, 64, |
-1, -1, -1, -1, -1, 60, -1, -1, -1, 64, |
65, 66, 67, -1, 69, 70, -1, 1, 73, 3, |
65, -1, 67, -1, 69, 70, -1, -1, 73, 3, |
75, 5, 6, 7, 8, 9, 10, 11, 12, 13, |
75, 5, 6, 49, -1, 51, 52, 53, 54, 55, |
14, -1, -1, -1, 18, 19, 20, -1, 22, 23, |
56, -1, -1, -1, 18, 19, 20, -1, 64, -1, |
24, 25, -1, 27, 28, 29, 30, 31, 32, 33, |
-1, -1, -1, -1, -1, -1, 30, 31, 32, 33, |
34, 35, 36, 37, -1, -1, -1, -1, -1, 43, |
34, 35, 36, 37, -1, -1, -1, -1, -1, 43, |
|
-1, 45, 46, 47, 48, 49, -1, 51, 52, 53, |
|
-1, 5, 6, -1, -1, -1, 60, -1, -1, -1, |
|
64, -1, -1, 67, 18, 19, 20, -1, -1, 73, |
|
-1, 75, -1, -1, -1, -1, 30, 31, 32, 33, |
|
34, 35, 36, 37, -1, -1, -1, -1, -1, 43, |
-1, 45, 46, 47, 48, 49, -1, 51, 52, -1, |
-1, 45, 46, 47, 48, 49, -1, 51, 52, -1, |
-1, -1, -1, -1, -1, -1, 60, -1, -1, -1, |
-1, -1, -1, -1, -1, -1, 60, -1, -1, -1, |
64, 65, -1, 67, -1, 69, 70, -1, -1, 73, |
64, 5, 6, 67, -1, 69, 70, -1, -1, 73, |
3, 75, 5, 6, -1, -1, -1, -1, -1, -1, |
-1, 75, -1, -1, 18, 19, 20, -1, -1, -1, |
-1, -1, -1, -1, -1, 18, 19, 20, -1, -1, |
-1, -1, -1, -1, -1, -1, 30, 31, 32, 33, |
-1, -1, -1, -1, -1, -1, -1, 30, 31, 32, |
34, 35, 36, 37, -1, -1, -1, -1, -1, 43, |
33, 34, 35, 36, 37, -1, -1, -1, -1, -1, |
-1, 45, 46, 47, 48, 49, -1, 51, 52, 53, |
43, -1, 45, 46, 47, 48, 49, -1, 51, 52, |
-1, 5, 6, -1, -1, -1, 60, -1, -1, -1, |
53, -1, 5, 6, -1, -1, -1, 60, -1, -1, |
64, -1, -1, 67, 18, 19, 20, -1, -1, 73, |
-1, 64, -1, -1, 67, 18, 19, 20, -1, -1, |
-1, 75, -1, -1, -1, -1, 30, 31, 32, 33, |
73, -1, 75, -1, -1, -1, -1, 30, 31, 32, |
34, 35, 36, 37, -1, -1, -1, -1, -1, 43, |
33, 34, 35, 36, 37, -1, -1, -1, -1, -1, |
-1, 45, 46, 47, 48, 49, -1, 51, 52, 15, |
43, -1, 45, 46, 47, 48, 49, -1, 51, 52, |
16, 17, -1, -1, -1, -1, 60, -1, -1, -1, |
-1, -1, -1, -1, -1, -1, -1, 60, -1, -1, |
64, -1, -1, 67, -1, -1, -1, -1, -1, 73, |
-1, 64, 5, 6, 67, -1, 69, 70, -1, -1, |
-1, 75, 38, 39, 40, 41, 42, -1, 44, 15, |
73, -1, 75, -1, -1, 18, 19, 20, -1, -1, |
16, 17, -1, 49, 50, 51, 52, 53, 54, 55, |
-1, -1, -1, -1, -1, -1, -1, 30, 31, 32, |
56, 57, 58, 15, -1, 17, -1, -1, 64, -1, |
33, 34, 35, 36, 37, -1, -1, -1, -1, -1, |
|
43, -1, 45, 46, 47, 48, 49, -1, 51, 52, |
|
53, -1, 5, 6, -1, -1, -1, 60, -1, -1, |
|
-1, 64, -1, -1, 67, 18, 19, 20, -1, -1, |
|
73, -1, 75, -1, -1, -1, -1, 30, 31, 32, |
|
33, 34, 35, 36, 37, -1, -1, -1, -1, -1, |
|
43, -1, 45, 46, 47, 48, 49, -1, 51, 52, |
|
15, 16, 17, -1, -1, -1, -1, 60, -1, -1, |
|
-1, 64, -1, -1, 67, -1, -1, -1, -1, -1, |
|
73, -1, 75, 38, 39, 40, 41, 42, -1, 44, |
|
-1, 15, 16, 17, 49, 50, 51, 52, 53, 54, |
|
55, 56, 57, 58, -1, -1, -1, -1, -1, -1, |
|
-1, -1, -1, -1, 38, 39, 40, 41, 42, 74, |
|
44, -1, -1, -1, -1, 49, 50, 51, 52, 53, |
|
54, 55, 56, 57, 58, 15, 16, 17, -1, -1, |
|
-1, -1, -1, -1, -1, -1, -1, 71, -1, -1, |
|
-1, -1, -1, -1, -1, -1, -1, -1, 38, 39, |
|
40, 41, 42, -1, 44, -1, -1, -1, -1, 49, |
|
50, 51, 52, 53, 54, 55, 56, 57, 58, 15, |
|
16, 17, -1, -1, -1, -1, -1, -1, -1, -1, |
|
-1, 71, -1, -1, -1, -1, -1, -1, -1, -1, |
|
-1, -1, 38, 39, 40, 41, 42, -1, 44, -1, |
-1, -1, 38, 39, 40, 41, 42, -1, 44, -1, |
-1, -1, -1, 49, 50, 51, 52, 53, 54, 55, |
76, -1, -1, 49, 50, 51, 52, 53, 54, 55, |
56, 57, 58, 15, 16, 17, -1, -1, -1, -1, |
56, 57, 58, 15, 16, 17, -1, 49, 64, 51, |
-1, -1, -1, 69, 70, -1, -1, -1, -1, -1, |
52, 53, 54, 55, 56, -1, -1, -1, 74, -1, |
-1, -1, -1, -1, -1, -1, 38, 39, 40, 41, |
-1, -1, 64, -1, -1, -1, 38, 39, 40, 41, |
42, -1, 44, -1, 15, 16, 17, 49, 50, 51, |
42, -1, 44, -1, 15, 16, 17, 49, 50, 51, |
52, 53, 54, 55, 56, 57, 58, -1, -1, -1, |
52, 53, 54, 55, 56, 57, 58, -1, -1, -1, |
-1, -1, -1, -1, -1, -1, 68, 38, 39, 40, |
-1, -1, 64, -1, -1, -1, -1, 38, 39, 40, |
41, 42, -1, 44, -1, 15, 16, 17, 49, 50, |
41, 42, 74, 44, -1, -1, -1, -1, 49, 50, |
51, 52, 53, 54, 55, 56, 57, 58, -1, -1, |
51, 52, 53, 54, 55, 56, 57, 58, 15, 16, |
-1, -1, -1, -1, -1, -1, -1, 68, 38, 39, |
17, -1, -1, 64, -1, -1, -1, -1, -1, -1, |
40, 41, 42, -1, 44, -1, 15, 16, 17, 49, |
71, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
50, 51, 52, 53, 54, 55, 56, 57, 58, -1, |
-1, 38, 39, 40, 41, 42, -1, 44, -1, -1, |
-1, -1, -1, -1, -1, -1, -1, -1, 68, 38, |
-1, -1, 49, 50, 51, 52, 53, 54, 55, 56, |
|
57, 58, 15, 16, 17, -1, -1, 64, -1, -1, |
|
-1, -1, -1, -1, 71, -1, -1, -1, -1, -1, |
|
-1, -1, -1, -1, -1, 38, 39, 40, 41, 42, |
|
-1, 44, -1, -1, -1, -1, 49, 50, 51, 52, |
|
53, 54, 55, 56, 57, 58, 15, 16, 17, -1, |
|
-1, 64, -1, -1, -1, -1, 69, 70, -1, -1, |
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, 38, |
39, 40, 41, 42, -1, 44, -1, 15, 16, 17, |
39, 40, 41, 42, -1, 44, -1, 15, 16, 17, |
49, 50, 51, 52, 53, 54, 55, 56, 57, 58, |
49, 50, 51, 52, 53, 54, 55, 56, 57, 58, |
-1, -1, -1, -1, -1, -1, -1, -1, -1, 68, |
-1, -1, -1, -1, -1, 64, -1, -1, -1, 68, |
38, 39, 40, 41, 42, -1, 44, -1, 15, 16, |
38, 39, 40, 41, 42, -1, 44, -1, 15, 16, |
17, 49, 50, 51, 52, 53, 54, 55, 56, 57, |
17, 49, 50, 51, 52, 53, 54, 55, 56, 57, |
58, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
58, -1, -1, -1, -1, -1, 64, -1, -1, -1, |
68, 38, 39, 40, 41, 42, -1, 44, -1, 15, |
68, 38, 39, 40, 41, 42, -1, 44, -1, 15, |
16, 17, 49, 50, 51, 52, 53, 54, 55, 56, |
16, 17, 49, 50, 51, 52, 53, 54, 55, 56, |
57, 58, -1, -1, -1, -1, -1, -1, -1, -1, |
57, 58, -1, -1, -1, -1, -1, 64, -1, -1, |
-1, 68, 38, 39, 40, 41, 42, -1, 44, 15, |
-1, 68, 38, 39, 40, 41, 42, -1, 44, -1, |
16, 17, -1, 49, 50, 51, 52, 53, 54, 55, |
15, 16, 17, 49, 50, 51, 52, 53, 54, 55, |
56, 57, 58, 59, -1, -1, -1, -1, -1, -1, |
56, 57, 58, -1, -1, -1, -1, -1, 64, -1, |
-1, -1, 38, 39, 40, 41, 42, -1, 44, 15, |
-1, -1, 68, 38, 39, 40, 41, 42, -1, 44, |
16, 17, -1, 49, 50, 51, 52, 53, 54, 55, |
-1, 15, 16, 17, 49, 50, 51, 52, 53, 54, |
56, 57, 58, -1, -1, -1, -1, -1, -1, -1, |
55, 56, 57, 58, -1, -1, -1, -1, -1, 64, |
-1, -1, 38, 39, 40, 41, 42, -1, 44, 15, |
-1, -1, -1, 68, 38, 39, 40, 41, 42, -1, |
16, 17, -1, 49, -1, 51, 52, 53, 54, 55, |
44, -1, 15, 16, 17, 49, 50, 51, 52, 53, |
56, -1, 58, -1, -1, -1, -1, -1, 15, 16, |
54, 55, 56, 57, 58, -1, -1, -1, -1, -1, |
17, -1, 38, 39, 40, 41, 42, -1, 44, -1, |
64, -1, -1, -1, 68, 38, 39, 40, 41, 42, |
-1, -1, -1, 49, -1, 51, 52, 53, 54, 55, |
-1, 44, 15, 16, 17, -1, 49, 50, 51, 52, |
56, 38, 39, 15, 16, 17, -1, 44, -1, -1, |
53, 54, 55, 56, 57, 58, 59, -1, -1, -1, |
-1, -1, 49, -1, 51, 52, 53, 54, 55, 56, |
-1, 64, -1, -1, -1, 38, 39, 40, 41, 42, |
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
-1, 44, 15, 16, 17, -1, 49, 50, 51, 52, |
-1, -1, 44, -1, -1, -1, -1, 49, -1, 51, |
53, 54, 55, 56, 57, 58, -1, -1, -1, -1, |
52, 53, 54, 55, 56 |
-1, 64, -1, -1, -1, 38, 39, 40, 41, 42, |
|
-1, 44, 15, 16, 17, -1, 49, -1, 51, 52, |
|
53, 54, 55, 56, -1, -1, -1, -1, -1, -1, |
|
-1, 64, -1, -1, -1, 38, 39, 40, 41, -1, |
|
-1, 44, 15, 16, 17, -1, 49, -1, 51, 52, |
|
53, 54, 55, 56, -1, -1, -1, -1, -1, -1, |
|
-1, 64, -1, -1, -1, 38, 39, 40, -1, -1, |
|
-1, 44, 15, 16, 17, -1, 49, -1, 51, 52, |
|
53, 54, 55, 56, -1, -1, -1, -1, -1, -1, |
|
-1, 64, -1, -1, -1, 38, 39, -1, -1, -1, |
|
-1, 44, -1, -1, -1, -1, 49, -1, 51, 52, |
|
53, 54, 55, 56, -1, -1, -1, -1, -1, -1, |
|
-1, 64 |
}; |
}; |
|
|
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing |
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing |
symbol of state STATE-NUM. */ |
symbol of state STATE-NUM. */ |
static const yytype_uint8 yystos[] = |
static const yytype_uint8 yystos[] = |
{ |
{ |
0, 1, 3, 5, 6, 7, 8, 9, 10, 11, |
0, 1, 3, 5, 6, 7, 8, 9, 10, 11, |
Line 1066 static const yytype_uint8 yystos[] = |
|
Line 1015 static const yytype_uint8 yystos[] = |
|
102, 102, 102, 95, 3, 53, 102, 96, 97, 102, |
102, 102, 102, 95, 3, 53, 102, 96, 97, 102, |
96, 0, 4, 73, 15, 16, 17, 38, 39, 40, |
96, 0, 4, 73, 15, 16, 17, 38, 39, 40, |
41, 42, 44, 49, 50, 51, 52, 53, 54, 55, |
41, 42, 44, 49, 50, 51, 52, 53, 54, 55, |
56, 57, 58, 89, 65, 99, 86, 67, 89, 46, |
56, 57, 58, 64, 89, 65, 99, 86, 67, 89, |
94, 94, 94, 71, 89, 102, 102, 102, 23, 96, |
46, 94, 94, 94, 71, 89, 102, 102, 102, 23, |
96, 96, 67, 89, 47, 47, 47, 102, 68, 99, |
96, 96, 96, 67, 89, 47, 47, 47, 102, 68, |
96, 96, 96, 66, 79, 99, 102, 68, 72, 74, |
99, 96, 96, 96, 66, 79, 99, 102, 68, 72, |
71, 76, 99, 102, 102, 102, 102, 102, 102, 102, |
74, 71, 59, 76, 99, 102, 102, 102, 102, 102, |
102, 102, 102, 102, 102, 102, 102, 102, 102, 102, |
102, 102, 102, 102, 102, 102, 102, 102, 102, 102, |
102, 102, 92, 99, 68, 67, 96, 71, 81, 83, |
102, 102, 102, 102, 92, 99, 68, 67, 96, 71, |
85, 47, 68, 68, 68, 67, 68, 69, 68, 96, |
81, 83, 85, 47, 68, 68, 68, 67, 68, 69, |
68, 71, 71, 71, 71, 68, 68, 66, 68, 72, |
68, 96, 68, 71, 71, 71, 71, 68, 68, 66, |
68, 68, 102, 102, 74, 59, 66, 71, 87, 68, |
68, 72, 68, 68, 102, 102, 102, 74, 59, 66, |
46, 89, 89, 89, 96, 79, 96, 79, 68, 96, |
71, 87, 68, 46, 89, 89, 89, 96, 79, 96, |
96, 96, 102, 67, 59, 98, 99, 100, 67, 101, |
79, 68, 96, 96, 96, 102, 67, 59, 98, 99, |
67, 74, 102, 89, 99, 96, 89, 68, 69, 26, |
100, 67, 101, 67, 74, 76, 102, 89, 99, 96, |
68, 68, 68, 71, 96, 57, 68, 71, 57, 96, |
89, 68, 69, 26, 68, 68, 68, 71, 96, 57, |
88, 89, 96, 79, 102, 68, 102, 100, 102, 68, |
68, 71, 57, 96, 88, 89, 96, 79, 102, 68, |
72, 68, 68, 68, 89, 98, 48, 90, 79, 68, |
102, 100, 102, 68, 72, 68, 68, 68, 89, 98, |
65, 95, 66 |
48, 90, 79, 68, 65, 95, 66 |
}; |
}; |
|
|
#define yyerrok (yyerrstatus = 0) |
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ |
#define yyclearin (yychar = YYEMPTY) |
static const yytype_uint8 yyr1[] = |
#define YYEMPTY (-2) |
{ |
#define YYEOF 0 |
0, 77, 78, 79, 80, 81, 79, 82, 83, 79, |
|
84, 85, 79, 79, 79, 79, 79, 79, 79, 79, |
|
79, 79, 79, 79, 79, 79, 79, 79, 86, 87, |
|
88, 79, 79, 79, 79, 89, 89, 90, 90, 91, |
|
92, 92, 93, 93, 94, 94, 95, 95, 96, 96, |
|
97, 97, 98, 98, 99, 99, 100, 101, 101, 101, |
|
101, 101, 101, 101, 101, 101, 101, 101, 101, 101, |
|
101, 101, 101, 101, 101, 101, 101, 101, 101, 101, |
|
101, 101, 101, 102, 102, 102, 102, 102, 102, 102, |
|
102, 102, 102, 102, 102, 102, 102, 102, 102, 102, |
|
102, 102, 102, 102, 102, 102, 102, 102, 102, 102, |
|
102, 102, 102, 102, 102, 102, 102 |
|
}; |
|
|
#define YYACCEPT goto yyacceptlab |
/* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */ |
#define YYABORT goto yyabortlab |
static const yytype_uint8 yyr2[] = |
#define YYERROR goto yyerrorlab |
{ |
|
0, 2, 1, 1, 0, 0, 5, 0, 0, 5, |
|
0, 0, 5, 3, 6, 2, 1, 2, 2, 2, |
|
3, 5, 7, 9, 5, 7, 8, 6, 0, 0, |
|
0, 12, 3, 2, 2, 1, 1, 0, 1, 3, |
|
1, 3, 1, 3, 1, 3, 0, 2, 0, 1, |
|
1, 3, 1, 3, 1, 1, 3, 1, 1, 1, |
|
1, 1, 1, 1, 4, 6, 6, 6, 7, 4, |
|
3, 8, 4, 6, 7, 9, 4, 4, 4, 3, |
|
1, 4, 3, 1, 5, 3, 3, 2, 2, 3, |
|
2, 2, 3, 3, 3, 3, 3, 3, 3, 2, |
|
2, 3, 3, 2, 3, 3, 3, 3, 3, 3, |
|
5, 3, 5, 4, 4, 5, 2 |
|
}; |
|
|
|
|
/* Like YYERROR except do call yyerror. This remains here temporarily |
#define yyerrok (yyerrstatus = 0) |
to ease the transition to the new meaning of YYERROR, for GCC. |
#define yyclearin (yychar = YYEMPTY) |
Once GCC version 2 has supplanted version 1, this can go. */ |
#define YYEMPTY (-2) |
|
#define YYEOF 0 |
|
|
#define YYFAIL goto yyerrlab |
#define YYACCEPT goto yyacceptlab |
|
#define YYABORT goto yyabortlab |
|
#define YYERROR goto yyerrorlab |
|
|
|
|
#define YYRECOVERING() (!!yyerrstatus) |
#define YYRECOVERING() (!!yyerrstatus) |
|
|
#define YYBACKUP(Token, Value) \ |
#define YYBACKUP(Token, Value) \ |
do \ |
do \ |
if (yychar == YYEMPTY && yylen == 1) \ |
if (yychar == YYEMPTY) \ |
{ \ |
{ \ |
yychar = (Token); \ |
yychar = (Token); \ |
yylval = (Value); \ |
yylval = (Value); \ |
yytoken = YYTRANSLATE (yychar); \ |
YYPOPSTACK (yylen); \ |
YYPOPSTACK (1); \ |
yystate = *yyssp; \ |
goto yybackup; \ |
goto yybackup; \ |
} \ |
} \ |
else \ |
else \ |
{ \ |
{ \ |
yyerror (YY_("syntax error: cannot back up")); \ |
yyerror (YY_("syntax error: cannot back up")); \ |
YYERROR; \ |
YYERROR; \ |
} \ |
} \ |
while (YYID (0)) |
while (0) |
|
|
|
/* Error token number */ |
|
#define YYTERROR 1 |
|
#define YYERRCODE 256 |
|
|
#define YYTERROR 1 |
|
#define YYERRCODE 256 |
|
|
|
|
|
/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N]. |
|
If N is 0, then set CURRENT to the empty location which ends |
|
the previous symbol: RHS[0] (always defined). */ |
|
|
|
#define YYRHSLOC(Rhs, K) ((Rhs)[K]) |
|
#ifndef YYLLOC_DEFAULT |
|
# define YYLLOC_DEFAULT(Current, Rhs, N) \ |
|
do \ |
|
if (YYID (N)) \ |
|
{ \ |
|
(Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ |
|
(Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ |
|
(Current).last_line = YYRHSLOC (Rhs, N).last_line; \ |
|
(Current).last_column = YYRHSLOC (Rhs, N).last_column; \ |
|
} \ |
|
else \ |
|
{ \ |
|
(Current).first_line = (Current).last_line = \ |
|
YYRHSLOC (Rhs, 0).last_line; \ |
|
(Current).first_column = (Current).last_column = \ |
|
YYRHSLOC (Rhs, 0).last_column; \ |
|
} \ |
|
while (YYID (0)) |
|
#endif |
|
|
|
|
|
/* YY_LOCATION_PRINT -- Print the location on the stream. |
|
This macro was not mandated originally: define only if we know |
|
we won't break user code: when these are the locations we know. */ |
|
|
|
#ifndef YY_LOCATION_PRINT |
|
# if YYLTYPE_IS_TRIVIAL |
|
# define YY_LOCATION_PRINT(File, Loc) \ |
|
fprintf (File, "%d.%d-%d.%d", \ |
|
(Loc).first_line, (Loc).first_column, \ |
|
(Loc).last_line, (Loc).last_column) |
|
# else |
|
# define YY_LOCATION_PRINT(File, Loc) ((void) 0) |
|
# endif |
|
#endif |
|
|
|
|
|
/* YYLEX -- calling `yylex' with the right arguments. */ |
|
|
|
#ifdef YYLEX_PARAM |
|
# define YYLEX yylex (YYLEX_PARAM) |
|
#else |
|
# define YYLEX yylex () |
|
#endif |
|
|
|
/* Enable debugging if requested. */ |
/* Enable debugging if requested. */ |
#if YYDEBUG |
#if YYDEBUG |
|
|
Line 1183 while (YYID (0)) |
|
Line 1112 while (YYID (0)) |
|
# define YYFPRINTF fprintf |
# define YYFPRINTF fprintf |
# endif |
# endif |
|
|
# define YYDPRINTF(Args) \ |
# define YYDPRINTF(Args) \ |
do { \ |
do { \ |
if (yydebug) \ |
if (yydebug) \ |
YYFPRINTF Args; \ |
YYFPRINTF Args; \ |
} while (YYID (0)) |
} while (0) |
|
|
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ |
/* This macro is provided for backward compatibility. */ |
do { \ |
#ifndef YY_LOCATION_PRINT |
if (yydebug) \ |
# define YY_LOCATION_PRINT(File, Loc) ((void) 0) |
{ \ |
#endif |
YYFPRINTF (stderr, "%s ", Title); \ |
|
yy_symbol_print (stderr, \ |
|
Type, Value); \ |
|
YYFPRINTF (stderr, "\n"); \ |
|
} \ |
|
} while (YYID (0)) |
|
|
|
|
|
/*--------------------------------. |
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ |
| Print this symbol on YYOUTPUT. | |
do { \ |
`--------------------------------*/ |
if (yydebug) \ |
|
{ \ |
|
YYFPRINTF (stderr, "%s ", Title); \ |
|
yy_symbol_print (stderr, \ |
|
Type, Value); \ |
|
YYFPRINTF (stderr, "\n"); \ |
|
} \ |
|
} while (0) |
|
|
/*ARGSUSED*/ |
|
#if (defined __STDC__ || defined __C99__FUNC__ \ |
/*-----------------------------------. |
|| defined __cplusplus || defined _MSC_VER) |
| Print this symbol's value on YYO. | |
|
`-----------------------------------*/ |
|
|
static void |
static void |
yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) |
yy_symbol_value_print (FILE *yyo, int yytype, YYSTYPE const * const yyvaluep) |
#else |
|
static void |
|
yy_symbol_value_print (yyoutput, yytype, yyvaluep) |
|
FILE *yyoutput; |
|
int yytype; |
|
YYSTYPE const * const yyvaluep; |
|
#endif |
|
{ |
{ |
|
FILE *yyoutput = yyo; |
|
YYUSE (yyoutput); |
if (!yyvaluep) |
if (!yyvaluep) |
return; |
return; |
# ifdef YYPRINT |
# ifdef YYPRINT |
if (yytype < YYNTOKENS) |
if (yytype < YYNTOKENS) |
YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); |
YYPRINT (yyo, yytoknum[yytype], *yyvaluep); |
# else |
|
YYUSE (yyoutput); |
|
# endif |
# endif |
switch (yytype) |
YYUSE (yytype); |
{ |
|
default: |
|
break; |
|
} |
|
} |
} |
|
|
|
|
/*--------------------------------. |
/*---------------------------. |
| Print this symbol on YYOUTPUT. | |
| Print this symbol on YYO. | |
`--------------------------------*/ |
`---------------------------*/ |
|
|
#if (defined __STDC__ || defined __C99__FUNC__ \ |
|
|| defined __cplusplus || defined _MSC_VER) |
|
static void |
static void |
yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) |
yy_symbol_print (FILE *yyo, int yytype, YYSTYPE const * const yyvaluep) |
#else |
|
static void |
|
yy_symbol_print (yyoutput, yytype, yyvaluep) |
|
FILE *yyoutput; |
|
int yytype; |
|
YYSTYPE const * const yyvaluep; |
|
#endif |
|
{ |
{ |
if (yytype < YYNTOKENS) |
YYFPRINTF (yyo, "%s %s (", |
YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); |
yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]); |
else |
|
YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); |
|
|
|
yy_symbol_value_print (yyoutput, yytype, yyvaluep); |
yy_symbol_value_print (yyo, yytype, yyvaluep); |
YYFPRINTF (yyoutput, ")"); |
YYFPRINTF (yyo, ")"); |
} |
} |
|
|
/*------------------------------------------------------------------. |
/*------------------------------------------------------------------. |
Line 1264 yy_symbol_print (yyoutput, yytype, yyvaluep) |
|
Line 1174 yy_symbol_print (yyoutput, yytype, yyvaluep) |
|
| TOP (included). | |
| TOP (included). | |
`------------------------------------------------------------------*/ |
`------------------------------------------------------------------*/ |
|
|
#if (defined __STDC__ || defined __C99__FUNC__ \ |
|
|| defined __cplusplus || defined _MSC_VER) |
|
static void |
static void |
yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) |
yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) |
#else |
|
static void |
|
yy_stack_print (yybottom, yytop) |
|
yytype_int16 *yybottom; |
|
yytype_int16 *yytop; |
|
#endif |
|
{ |
{ |
YYFPRINTF (stderr, "Stack now"); |
YYFPRINTF (stderr, "Stack now"); |
for (; yybottom <= yytop; yybottom++) |
for (; yybottom <= yytop; yybottom++) |
Line 1284 yy_stack_print (yybottom, yytop) |
|
Line 1186 yy_stack_print (yybottom, yytop) |
|
YYFPRINTF (stderr, "\n"); |
YYFPRINTF (stderr, "\n"); |
} |
} |
|
|
# define YY_STACK_PRINT(Bottom, Top) \ |
# define YY_STACK_PRINT(Bottom, Top) \ |
do { \ |
do { \ |
if (yydebug) \ |
if (yydebug) \ |
yy_stack_print ((Bottom), (Top)); \ |
yy_stack_print ((Bottom), (Top)); \ |
} while (YYID (0)) |
} while (0) |
|
|
|
|
/*------------------------------------------------. |
/*------------------------------------------------. |
| Report that the YYRULE is going to be reduced. | |
| Report that the YYRULE is going to be reduced. | |
`------------------------------------------------*/ |
`------------------------------------------------*/ |
|
|
#if (defined __STDC__ || defined __C99__FUNC__ \ |
|
|| defined __cplusplus || defined _MSC_VER) |
|
static void |
static void |
yy_reduce_print (YYSTYPE *yyvsp, int yyrule) |
yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule) |
#else |
|
static void |
|
yy_reduce_print (yyvsp, yyrule) |
|
YYSTYPE *yyvsp; |
|
int yyrule; |
|
#endif |
|
{ |
{ |
|
unsigned long yylno = yyrline[yyrule]; |
int yynrhs = yyr2[yyrule]; |
int yynrhs = yyr2[yyrule]; |
int yyi; |
int yyi; |
unsigned long int yylno = yyrline[yyrule]; |
|
YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", |
YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", |
yyrule - 1, yylno); |
yyrule - 1, yylno); |
/* The symbols being reduced. */ |
/* The symbols being reduced. */ |
for (yyi = 0; yyi < yynrhs; yyi++) |
for (yyi = 0; yyi < yynrhs; yyi++) |
{ |
{ |
YYFPRINTF (stderr, " $%d = ", yyi + 1); |
YYFPRINTF (stderr, " $%d = ", yyi + 1); |
yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], |
yy_symbol_print (stderr, |
&(yyvsp[(yyi + 1) - (yynrhs)]) |
yystos[yyssp[yyi + 1 - yynrhs]], |
); |
&yyvsp[(yyi + 1) - (yynrhs)] |
|
); |
YYFPRINTF (stderr, "\n"); |
YYFPRINTF (stderr, "\n"); |
} |
} |
} |
} |
|
|
# define YY_REDUCE_PRINT(Rule) \ |
# define YY_REDUCE_PRINT(Rule) \ |
do { \ |
do { \ |
if (yydebug) \ |
if (yydebug) \ |
yy_reduce_print (yyvsp, Rule); \ |
yy_reduce_print (yyssp, yyvsp, Rule); \ |
} while (YYID (0)) |
} while (0) |
|
|
/* Nonzero means print parse trace. It is left uninitialized so that |
/* Nonzero means print parse trace. It is left uninitialized so that |
multiple parsers can coexist. */ |
multiple parsers can coexist. */ |
|
|
|
|
|
|
/* YYINITDEPTH -- initial size of the parser's stacks. */ |
/* YYINITDEPTH -- initial size of the parser's stacks. */ |
#ifndef YYINITDEPTH |
#ifndef YYINITDEPTH |
# define YYINITDEPTH 200 |
# define YYINITDEPTH 200 |
#endif |
#endif |
|
|
|
|
# define YYMAXDEPTH 10000 |
# define YYMAXDEPTH 10000 |
#endif |
#endif |
|
|
|
|
|
|
#if YYERROR_VERBOSE |
#if YYERROR_VERBOSE |
|
|
|
|
# define yystrlen strlen |
# define yystrlen strlen |
# else |
# else |
/* Return the length of YYSTR. */ |
/* Return the length of YYSTR. */ |
#if (defined __STDC__ || defined __C99__FUNC__ \ |
|
|| defined __cplusplus || defined _MSC_VER) |
|
static YYSIZE_T |
static YYSIZE_T |
yystrlen (const char *yystr) |
yystrlen (const char *yystr) |
#else |
|
static YYSIZE_T |
|
yystrlen (yystr) |
|
const char *yystr; |
|
#endif |
|
{ |
{ |
YYSIZE_T yylen; |
YYSIZE_T yylen; |
for (yylen = 0; yystr[yylen]; yylen++) |
for (yylen = 0; yystr[yylen]; yylen++) |
Line 1388 yystrlen (yystr) |
|
Line 1275 yystrlen (yystr) |
|
# else |
# else |
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in |
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in |
YYDEST. */ |
YYDEST. */ |
#if (defined __STDC__ || defined __C99__FUNC__ \ |
|
|| defined __cplusplus || defined _MSC_VER) |
|
static char * |
static char * |
yystpcpy (char *yydest, const char *yysrc) |
yystpcpy (char *yydest, const char *yysrc) |
#else |
|
static char * |
|
yystpcpy (yydest, yysrc) |
|
char *yydest; |
|
const char *yysrc; |
|
#endif |
|
{ |
{ |
char *yyd = yydest; |
char *yyd = yydest; |
const char *yys = yysrc; |
const char *yys = yysrc; |
Line 1427 yytnamerr (char *yyres, const char *yystr) |
|
Line 1306 yytnamerr (char *yyres, const char *yystr) |
|
char const *yyp = yystr; |
char const *yyp = yystr; |
|
|
for (;;) |
for (;;) |
switch (*++yyp) |
switch (*++yyp) |
{ |
{ |
case '\'': |
case '\'': |
case ',': |
case ',': |
goto do_not_strip_quotes; |
goto do_not_strip_quotes; |
|
|
case '\\': |
case '\\': |
if (*++yyp != '\\') |
if (*++yyp != '\\') |
goto do_not_strip_quotes; |
goto do_not_strip_quotes; |
/* Fall through. */ |
else |
default: |
goto append; |
if (yyres) |
|
yyres[yyn] = *yyp; |
|
yyn++; |
|
break; |
|
|
|
case '"': |
append: |
if (yyres) |
default: |
yyres[yyn] = '\0'; |
if (yyres) |
return yyn; |
yyres[yyn] = *yyp; |
} |
yyn++; |
|
break; |
|
|
|
case '"': |
|
if (yyres) |
|
yyres[yyn] = '\0'; |
|
return yyn; |
|
} |
do_not_strip_quotes: ; |
do_not_strip_quotes: ; |
} |
} |
|
|
if (! yyres) |
if (! yyres) |
return yystrlen (yystr); |
return yystrlen (yystr); |
|
|
return yystpcpy (yyres, yystr) - yyres; |
return (YYSIZE_T) (yystpcpy (yyres, yystr) - yyres); |
} |
} |
# endif |
# endif |
|
|
/* Copy into YYRESULT an error message about the unexpected token |
/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message |
YYCHAR while in state YYSTATE. Return the number of bytes copied, |
about the unexpected token YYTOKEN for the state stack whose top is |
including the terminating null byte. If YYRESULT is null, do not |
YYSSP. |
copy anything; just return the number of bytes that would be |
|
copied. As a special case, return 0 if an ordinary "syntax error" |
Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is |
message will do. Return YYSIZE_MAXIMUM if overflow occurs during |
not large enough to hold the message. In that case, also set |
size calculation. */ |
*YYMSG_ALLOC to the required number of bytes. Return 2 if the |
static YYSIZE_T |
required number of bytes is too large to store. */ |
yysyntax_error (char *yyresult, int yystate, int yychar) |
static int |
|
yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, |
|
yytype_int16 *yyssp, int yytoken) |
{ |
{ |
int yyn = yypact[yystate]; |
YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]); |
|
YYSIZE_T yysize = yysize0; |
|
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; |
|
|
if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) |
/* There are many possibilities here to consider: |
return 0; |
- If this state is a consistent state with a default action, then |
else |
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 yytype = YYTRANSLATE (yychar); |
int yyn = yypact[*yyssp]; |
YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); |
yyarg[yycount++] = yytname[yytoken]; |
YYSIZE_T yysize = yysize0; |
if (!yypact_value_is_default (yyn)) |
YYSIZE_T yysize1; |
{ |
int yysize_overflow = 0; |
/* Start YYX at -YYN if negative to avoid negative indexes in |
enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; |
YYCHECK. In other words, skip the first -YYN actions for |
char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; |
this state because they are default actions. */ |
int yyx; |
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; |
|
|
# if 0 |
for (yyx = yyxbegin; yyx < yyxend; ++yyx) |
/* This is so xgettext sees the translatable formats that are |
if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR |
constructed on the fly. */ |
&& !yytable_value_is_error (yytable[yyx + yyn])) |
YY_("syntax error, unexpected %s"); |
{ |
YY_("syntax error, unexpected %s, expecting %s"); |
if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) |
YY_("syntax error, unexpected %s, expecting %s or %s"); |
{ |
YY_("syntax error, unexpected %s, expecting %s or %s or %s"); |
yycount = 1; |
YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); |
yysize = yysize0; |
# endif |
break; |
char *yyfmt; |
} |
char const *yyf; |
yyarg[yycount++] = yytname[yyx]; |
static char const yyunexpected[] = "syntax error, unexpected %s"; |
{ |
static char const yyexpecting[] = ", expecting %s"; |
YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]); |
static char const yyor[] = " or %s"; |
if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM) |
char yyformat[sizeof yyunexpected |
yysize = yysize1; |
+ sizeof yyexpecting - 1 |
else |
+ ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) |
return 2; |
* (sizeof yyor - 1))]; |
} |
char const *yyprefix = yyexpecting; |
} |
|
} |
|
} |
|
|
/* Start YYX at -YYN if negative to avoid negative indexes in |
switch (yycount) |
YYCHECK. */ |
|
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 yycount = 1; |
|
|
|
yyarg[0] = yytname[yytype]; |
|
yyfmt = yystpcpy (yyformat, yyunexpected); |
|
|
|
for (yyx = yyxbegin; yyx < yyxend; ++yyx) |
|
if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) |
|
{ |
{ |
if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) |
# define YYCASE_(N, S) \ |
{ |
case N: \ |
yycount = 1; |
yyformat = S; \ |
yysize = yysize0; |
break |
yyformat[sizeof yyunexpected - 1] = '\0'; |
default: /* Avoid compiler warnings. */ |
break; |
YYCASE_(0, YY_("syntax error")); |
} |
YYCASE_(1, YY_("syntax error, unexpected %s")); |
yyarg[yycount++] = yytname[yyx]; |
YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s")); |
yysize1 = yysize + yytnamerr (0, yytname[yyx]); |
YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s")); |
yysize_overflow |= (yysize1 < yysize); |
YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s")); |
yysize = yysize1; |
YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s")); |
yyfmt = yystpcpy (yyfmt, yyprefix); |
# undef YYCASE_ |
yyprefix = yyor; |
|
} |
} |
|
|
yyf = YY_(yyformat); |
{ |
yysize1 = yysize + yystrlen (yyf); |
YYSIZE_T yysize1 = yysize + yystrlen (yyformat); |
yysize_overflow |= (yysize1 < yysize); |
if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM) |
yysize = yysize1; |
yysize = yysize1; |
|
else |
|
return 2; |
|
} |
|
|
if (yysize_overflow) |
if (*yymsg_alloc < yysize) |
return YYSIZE_MAXIMUM; |
{ |
|
*yymsg_alloc = 2 * yysize; |
|
if (! (yysize <= *yymsg_alloc |
|
&& *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM)) |
|
*yymsg_alloc = YYSTACK_ALLOC_MAXIMUM; |
|
return 1; |
|
} |
|
|
if (yyresult) |
/* Avoid sprintf, as that infringes on the user's name space. |
|
Don't have undefined behavior even if the translation |
|
produced a string with the wrong number of "%s"s. */ |
{ |
{ |
/* Avoid sprintf, as that infringes on the user's name space. |
char *yyp = *yymsg; |
Don't have undefined behavior even if the translation |
|
produced a string with the wrong number of "%s"s. */ |
|
char *yyp = yyresult; |
|
int yyi = 0; |
int yyi = 0; |
while ((*yyp = *yyf) != '\0') |
while ((*yyp = *yyformat) != '\0') |
{ |
if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount) |
if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) |
{ |
{ |
yyp += yytnamerr (yyp, yyarg[yyi++]); |
yyp += yytnamerr (yyp, yyarg[yyi++]); |
yyformat += 2; |
yyf += 2; |
} |
} |
else |
else |
{ |
{ |
yyp++; |
yyp++; |
yyformat++; |
yyf++; |
} |
} |
|
} |
|
} |
} |
return yysize; |
return 0; |
} |
|
} |
} |
#endif /* YYERROR_VERBOSE */ |
#endif /* YYERROR_VERBOSE */ |
|
|
|
|
/*-----------------------------------------------. |
/*-----------------------------------------------. |
| Release the memory associated to this symbol. | |
| Release the memory associated to this symbol. | |
`-----------------------------------------------*/ |
`-----------------------------------------------*/ |
|
|
/*ARGSUSED*/ |
|
#if (defined __STDC__ || defined __C99__FUNC__ \ |
|
|| defined __cplusplus || defined _MSC_VER) |
|
static void |
static void |
yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) |
yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) |
#else |
|
static void |
|
yydestruct (yymsg, yytype, yyvaluep) |
|
const char *yymsg; |
|
int yytype; |
|
YYSTYPE *yyvaluep; |
|
#endif |
|
{ |
{ |
YYUSE (yyvaluep); |
YYUSE (yyvaluep); |
|
|
if (!yymsg) |
if (!yymsg) |
yymsg = "Deleting"; |
yymsg = "Deleting"; |
YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); |
YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); |
|
|
switch (yytype) |
YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
{ |
YYUSE (yytype); |
|
YY_IGNORE_MAYBE_UNINITIALIZED_END |
default: |
|
break; |
|
} |
|
} |
} |
|
|
/* Prevent warnings from -Wmissing-prototypes. */ |
|
#ifdef YYPARSE_PARAM |
|
#if defined __STDC__ || defined __cplusplus |
|
int yyparse (void *YYPARSE_PARAM); |
|
#else |
|
int yyparse (); |
|
#endif |
|
#else /* ! YYPARSE_PARAM */ |
|
#if defined __STDC__ || defined __cplusplus |
|
int yyparse (void); |
|
#else |
|
int yyparse (); |
|
#endif |
|
#endif /* ! YYPARSE_PARAM */ |
|
|
|
|
|
|
|
/* The lookahead symbol. */ |
/* The lookahead symbol. */ |
int yychar; |
int yychar; |
|
|
/* The semantic value of the lookahead symbol. */ |
/* The semantic value of the lookahead symbol. */ |
YYSTYPE yylval; |
YYSTYPE yylval; |
|
|
/* Number of syntax errors so far. */ |
/* Number of syntax errors so far. */ |
int yynerrs; |
int yynerrs; |
|
|
|
|
|
/*----------. |
|
| yyparse. | |
|
`----------*/ |
|
|
/*-------------------------. |
|
| yyparse or yypush_parse. | |
|
`-------------------------*/ |
|
|
|
#ifdef YYPARSE_PARAM |
|
#if (defined __STDC__ || defined __C99__FUNC__ \ |
|
|| defined __cplusplus || defined _MSC_VER) |
|
int |
int |
yyparse (void *YYPARSE_PARAM) |
|
#else |
|
int |
|
yyparse (YYPARSE_PARAM) |
|
void *YYPARSE_PARAM; |
|
#endif |
|
#else /* ! YYPARSE_PARAM */ |
|
#if (defined __STDC__ || defined __C99__FUNC__ \ |
|
|| defined __cplusplus || defined _MSC_VER) |
|
int |
|
yyparse (void) |
yyparse (void) |
#else |
|
int |
|
yyparse () |
|
|
|
#endif |
|
#endif |
|
{ |
{ |
|
|
|
|
int yystate; |
int yystate; |
/* Number of tokens to shift before error messages enabled. */ |
/* Number of tokens to shift before error messages enabled. */ |
int yyerrstatus; |
int yyerrstatus; |
|
|
/* The stacks and their tools: |
/* The stacks and their tools: |
`yyss': related to states. |
'yyss': related to states. |
`yyvs': related to semantic values. |
'yyvs': related to semantic values. |
|
|
Refer to the stacks thru separate pointers, to allow yyoverflow |
Refer to the stacks through separate pointers, to allow yyoverflow |
to reallocate them elsewhere. */ |
to reallocate them elsewhere. */ |
|
|
/* The state stack. */ |
/* The state stack. */ |
|
|
int yyn; |
int yyn; |
int yyresult; |
int yyresult; |
/* Lookahead token as an internal (translated) token number. */ |
/* Lookahead token as an internal (translated) token number. */ |
int yytoken; |
int yytoken = 0; |
/* The variables used to return semantic value and location from the |
/* The variables used to return semantic value and location from the |
action routines. */ |
action routines. */ |
YYSTYPE yyval; |
YYSTYPE yyval; |
|
|
Keep to zero when no symbol should be popped. */ |
Keep to zero when no symbol should be popped. */ |
int yylen = 0; |
int yylen = 0; |
|
|
yytoken = 0; |
yyssp = yyss = yyssa; |
yyss = yyssa; |
yyvsp = yyvs = yyvsa; |
yyvs = yyvsa; |
|
yystacksize = YYINITDEPTH; |
yystacksize = YYINITDEPTH; |
|
|
YYDPRINTF ((stderr, "Starting parse\n")); |
YYDPRINTF ((stderr, "Starting parse\n")); |
|
|
yyerrstatus = 0; |
yyerrstatus = 0; |
yynerrs = 0; |
yynerrs = 0; |
yychar = YYEMPTY; /* Cause a token to be read. */ |
yychar = YYEMPTY; /* Cause a token to be read. */ |
|
|
/* Initialize stack pointers. |
|
Waste one element of value and location stack |
|
so that they stay on the same level as the state stack. |
|
The wasted elements are never initialized. */ |
|
yyssp = yyss; |
|
yyvsp = yyvs; |
|
|
|
goto yysetstate; |
goto yysetstate; |
|
|
|
|
/*------------------------------------------------------------. |
/*------------------------------------------------------------. |
| yynewstate -- Push a new state, which is found in yystate. | |
| yynewstate -- push a new state, which is found in yystate. | |
`------------------------------------------------------------*/ |
`------------------------------------------------------------*/ |
yynewstate: |
yynewstate: |
/* In all cases, when you get here, the value and location stacks |
/* In all cases, when you get here, the value and location stacks |
have just been pushed. So pushing a state here evens the stacks. */ |
have just been pushed. So pushing a state here evens the stacks. */ |
yyssp++; |
yyssp++; |
|
|
yysetstate: |
|
*yyssp = yystate; |
|
|
|
|
/*--------------------------------------------------------------------. |
|
| yynewstate -- set current state (the top of the stack) to yystate. | |
|
`--------------------------------------------------------------------*/ |
|
yysetstate: |
|
*yyssp = (yytype_int16) yystate; |
|
|
if (yyss + yystacksize - 1 <= yyssp) |
if (yyss + yystacksize - 1 <= yyssp) |
|
#if !defined yyoverflow && !defined YYSTACK_RELOCATE |
|
goto yyexhaustedlab; |
|
#else |
{ |
{ |
/* Get the current used size of the three stacks, in elements. */ |
/* Get the current used size of the three stacks, in elements. */ |
YYSIZE_T yysize = yyssp - yyss + 1; |
YYSIZE_T yysize = (YYSIZE_T) (yyssp - yyss + 1); |
|
|
#ifdef yyoverflow |
# if defined yyoverflow |
{ |
{ |
/* Give user a chance to reallocate the stack. Use copies of |
/* Give user a chance to reallocate the stack. Use copies of |
these so that the &'s don't force the real ones into |
these so that the &'s don't force the real ones into |
memory. */ |
memory. */ |
YYSTYPE *yyvs1 = yyvs; |
YYSTYPE *yyvs1 = yyvs; |
yytype_int16 *yyss1 = yyss; |
yytype_int16 *yyss1 = yyss; |
|
|
/* Each stack pointer address is followed by the size of the |
/* Each stack pointer address is followed by the size of the |
data in use in that stack, in bytes. This used to be a |
data in use in that stack, in bytes. This used to be a |
conditional around just the two extra args, but that might |
conditional around just the two extra args, but that might |
be undefined if yyoverflow is a macro. */ |
be undefined if yyoverflow is a macro. */ |
yyoverflow (YY_("memory exhausted"), |
yyoverflow (YY_("memory exhausted"), |
&yyss1, yysize * sizeof (*yyssp), |
&yyss1, yysize * sizeof (*yyssp), |
&yyvs1, yysize * sizeof (*yyvsp), |
&yyvs1, yysize * sizeof (*yyvsp), |
&yystacksize); |
&yystacksize); |
|
yyss = yyss1; |
yyss = yyss1; |
yyvs = yyvs1; |
yyvs = yyvs1; |
|
} |
} |
#else /* no yyoverflow */ |
# else /* defined YYSTACK_RELOCATE */ |
# ifndef YYSTACK_RELOCATE |
|
goto yyexhaustedlab; |
|
# else |
|
/* Extend the stack our own way. */ |
/* Extend the stack our own way. */ |
if (YYMAXDEPTH <= yystacksize) |
if (YYMAXDEPTH <= yystacksize) |
goto yyexhaustedlab; |
goto yyexhaustedlab; |
yystacksize *= 2; |
yystacksize *= 2; |
if (YYMAXDEPTH < yystacksize) |
if (YYMAXDEPTH < yystacksize) |
yystacksize = YYMAXDEPTH; |
yystacksize = YYMAXDEPTH; |
|
|
{ |
{ |
yytype_int16 *yyss1 = yyss; |
yytype_int16 *yyss1 = yyss; |
union yyalloc *yyptr = |
union yyalloc *yyptr = |
(union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); |
(union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); |
if (! yyptr) |
if (! yyptr) |
goto yyexhaustedlab; |
goto yyexhaustedlab; |
YYSTACK_RELOCATE (yyss_alloc, yyss); |
YYSTACK_RELOCATE (yyss_alloc, yyss); |
YYSTACK_RELOCATE (yyvs_alloc, yyvs); |
YYSTACK_RELOCATE (yyvs_alloc, yyvs); |
# undef YYSTACK_RELOCATE |
# undef YYSTACK_RELOCATE |
if (yyss1 != yyssa) |
if (yyss1 != yyssa) |
YYSTACK_FREE (yyss1); |
YYSTACK_FREE (yyss1); |
} |
} |
# endif |
# endif |
#endif /* no yyoverflow */ |
|
|
|
yyssp = yyss + yysize - 1; |
yyssp = yyss + yysize - 1; |
yyvsp = yyvs + yysize - 1; |
yyvsp = yyvs + yysize - 1; |
|
|
YYDPRINTF ((stderr, "Stack size increased to %lu\n", |
YYDPRINTF ((stderr, "Stack size increased to %lu\n", |
(unsigned long int) yystacksize)); |
(unsigned long) yystacksize)); |
|
|
if (yyss + yystacksize - 1 <= yyssp) |
if (yyss + yystacksize - 1 <= yyssp) |
YYABORT; |
YYABORT; |
} |
} |
|
#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */ |
|
|
YYDPRINTF ((stderr, "Entering state %d\n", yystate)); |
YYDPRINTF ((stderr, "Entering state %d\n", yystate)); |
|
|
|
|
|
|
goto yybackup; |
goto yybackup; |
|
|
|
|
/*-----------. |
/*-----------. |
| yybackup. | |
| yybackup. | |
`-----------*/ |
`-----------*/ |
yybackup: |
yybackup: |
|
|
/* Do appropriate processing given the current state. Read a |
/* Do appropriate processing given the current state. Read a |
lookahead token if we need one and don't already have one. */ |
lookahead token if we need one and don't already have one. */ |
|
|
/* First try to decide what to do without reference to lookahead token. */ |
/* First try to decide what to do without reference to lookahead token. */ |
yyn = yypact[yystate]; |
yyn = yypact[yystate]; |
if (yyn == YYPACT_NINF) |
if (yypact_value_is_default (yyn)) |
goto yydefault; |
goto yydefault; |
|
|
/* Not known => get a lookahead token if don't already have one. */ |
/* Not known => get a lookahead token if don't already have one. */ |
|
|
if (yychar == YYEMPTY) |
if (yychar == YYEMPTY) |
{ |
{ |
YYDPRINTF ((stderr, "Reading a token: ")); |
YYDPRINTF ((stderr, "Reading a token: ")); |
yychar = YYLEX; |
yychar = yylex (); |
} |
} |
|
|
if (yychar <= YYEOF) |
if (yychar <= YYEOF) |
|
|
yyn = yytable[yyn]; |
yyn = yytable[yyn]; |
if (yyn <= 0) |
if (yyn <= 0) |
{ |
{ |
if (yyn == 0 || yyn == YYTABLE_NINF) |
if (yytable_value_is_error (yyn)) |
goto yyerrlab; |
goto yyerrlab; |
yyn = -yyn; |
yyn = -yyn; |
goto yyreduce; |
goto yyreduce; |
} |
} |
|
|
yychar = YYEMPTY; |
yychar = YYEMPTY; |
|
|
yystate = yyn; |
yystate = yyn; |
|
YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
*++yyvsp = yylval; |
*++yyvsp = yylval; |
|
YY_IGNORE_MAYBE_UNINITIALIZED_END |
|
|
goto yynewstate; |
goto yynewstate; |
|
|
|
|
|
|
|
|
/*-----------------------------. |
/*-----------------------------. |
| yyreduce -- Do a reduction. | |
| yyreduce -- do a reduction. | |
`-----------------------------*/ |
`-----------------------------*/ |
yyreduce: |
yyreduce: |
/* yyn is the number of a rule to reduce with. */ |
/* yyn is the number of a rule to reduce with. */ |
yylen = yyr2[yyn]; |
yylen = yyr2[yyn]; |
|
|
/* If YYLEN is nonzero, implement the default value of the action: |
/* If YYLEN is nonzero, implement the default value of the action: |
`$$ = $1'. |
'$$ = $1'. |
|
|
Otherwise, the following line sets YYVAL to garbage. |
Otherwise, the following line sets YYVAL to garbage. |
This behavior is undocumented and Bison |
This behavior is undocumented and Bison |
|
|
switch (yyn) |
switch (yyn) |
{ |
{ |
case 2: |
case 2: |
|
#line 131 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 131 "parse.y" |
|
{ |
{ |
parse_snode = (yyvsp[(1) - (1)].s); |
parse_snode = (yyvsp[0].s); |
if ( yychar >= 0 ) |
if ( yychar >= 0 ) |
fprintf(stderr, |
fprintf(stderr, |
"Warning: a token was wasted after an 'if' statement without 'else'.\n"); |
"Warning: a token was wasted after an 'if' statement without 'else'.\n"); |
YYACCEPT; |
YYACCEPT; |
} |
} |
|
#line 1763 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 3: |
case 3: |
|
#line 140 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 140 "parse.y" |
|
{ (yyval.s) = 0; } |
{ (yyval.s) = 0; } |
|
#line 1769 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 4: |
case 4: |
|
#line 141 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 141 "parse.y" |
|
{ gdef=1; } |
{ gdef=1; } |
|
#line 1775 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 5: |
case 5: |
|
#line 141 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 141 "parse.y" |
|
{ gdef=0; } |
{ gdef=0; } |
|
#line 1781 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 6: |
case 6: |
|
#line 142 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 142 "parse.y" |
|
{ (yyval.s) = 0; NOPR; } |
{ (yyval.s) = 0; NOPR; } |
|
#line 1787 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 7: |
case 7: |
|
#line 143 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 143 "parse.y" |
|
{ mgdef=1; } |
{ mgdef=1; } |
|
#line 1793 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 8: |
case 8: |
|
#line 143 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 143 "parse.y" |
|
{ mgdef=0; } |
{ mgdef=0; } |
|
#line 1799 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 9: |
case 9: |
|
#line 144 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 144 "parse.y" |
|
{ (yyval.s) = 0; NOPR; } |
{ (yyval.s) = 0; NOPR; } |
|
#line 1805 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 10: |
case 10: |
|
#line 145 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 145 "parse.y" |
|
{ ldef=1; } |
{ ldef=1; } |
|
#line 1811 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 11: |
case 11: |
|
#line 145 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 145 "parse.y" |
|
{ ldef=0; } |
{ ldef=0; } |
|
#line 1817 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 12: |
case 12: |
|
#line 146 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 146 "parse.y" |
|
{ (yyval.s) = 0; NOPR; } |
{ (yyval.s) = 0; NOPR; } |
|
#line 1823 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 13: |
case 13: |
|
#line 148 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ appenduflist((yyvsp[-1].n)); (yyval.s) = 0; NOPR; } |
#line 148 "parse.y" |
#line 1829 "y.tab.c" /* yacc.c:1652 */ |
{ appenduflist((yyvsp[(2) - (3)].n)); (yyval.s) = 0; NOPR; } |
|
break; |
break; |
|
|
case 14: |
case 14: |
|
#line 150 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ structdef((yyvsp[-4].p),(yyvsp[-2].n)); (yyval.s) = 0; NOPR; } |
#line 150 "parse.y" |
#line 1835 "y.tab.c" /* yacc.c:1652 */ |
{ structdef((yyvsp[(2) - (6)].p),(yyvsp[(4) - (6)].n)); (yyval.s) = 0; NOPR; } |
|
break; |
break; |
|
|
case 15: |
case 15: |
|
#line 152 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.s) = mksnode(1,S_SINGLE,(yyvsp[-1].f)); } |
#line 152 "parse.y" |
#line 1841 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.s) = mksnode(1,S_SINGLE,(yyvsp[(1) - (2)].f)); } |
|
break; |
break; |
|
|
case 16: |
case 16: |
|
#line 154 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.s) = (yyvsp[0].s); } |
#line 154 "parse.y" |
#line 1847 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.s) = (yyvsp[(1) - (1)].s); } |
|
break; |
break; |
|
|
case 17: |
case 17: |
|
#line 156 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 156 "parse.y" |
|
{ (yyval.s) = mksnode(0,S_BREAK); } |
{ (yyval.s) = mksnode(0,S_BREAK); } |
|
#line 1853 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 18: |
case 18: |
|
#line 158 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 158 "parse.y" |
|
{ (yyval.s) = mksnode(0,S_CONTINUE); } |
{ (yyval.s) = mksnode(0,S_CONTINUE); } |
|
#line 1859 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 19: |
case 19: |
|
#line 160 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 160 "parse.y" |
|
{ (yyval.s) = mksnode(1,S_RETURN,NULLP); } |
{ (yyval.s) = mksnode(1,S_RETURN,NULLP); } |
|
#line 1865 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 20: |
case 20: |
|
#line 162 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.s) = mksnode(1,S_RETURN,(yyvsp[-1].f)); } |
#line 162 "parse.y" |
#line 1871 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.s) = mksnode(1,S_RETURN,(yyvsp[(2) - (3)].f)); } |
|
break; |
break; |
|
|
case 21: |
case 21: |
|
#line 164 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.s) = mksnode(4,S_IFELSE,(yyvsp[-4].i),(yyvsp[-2].n),(yyvsp[0].s),NULLP); (yyvsp[0].s)?(yyval.s)->ln=(yyvsp[0].s)->ln:0; NOPR; } |
#line 164 "parse.y" |
#line 1877 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.s) = mksnode(4,S_IFELSE,(yyvsp[(1) - (5)].i),(yyvsp[(3) - (5)].n),(yyvsp[(5) - (5)].s),NULLP); (yyvsp[(5) - (5)].s)?(yyval.s)->ln=(yyvsp[(5) - (5)].s)->ln:0; NOPR; } |
|
break; |
break; |
|
|
case 22: |
case 22: |
|
#line 166 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.s) = mksnode(4,S_IFELSE,(yyvsp[-6].i),(yyvsp[-4].n),(yyvsp[-2].s),(yyvsp[0].s)); (yyvsp[0].s)?(yyval.s)->ln=(yyvsp[0].s)->ln:0; NOPR; } |
#line 166 "parse.y" |
#line 1883 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.s) = mksnode(4,S_IFELSE,(yyvsp[(1) - (7)].i),(yyvsp[(3) - (7)].n),(yyvsp[(5) - (7)].s),(yyvsp[(7) - (7)].s)); (yyvsp[(7) - (7)].s)?(yyval.s)->ln=(yyvsp[(7) - (7)].s)->ln:0; NOPR; } |
|
break; |
break; |
|
|
case 23: |
case 23: |
|
#line 168 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.s) = mksnode(5,S_FOR,(yyvsp[-8].i),(yyvsp[-6].n),(yyvsp[-4].n)?(yyvsp[-4].n):ONENODE,(yyvsp[-2].n),(yyvsp[0].s)); (yyvsp[0].s)?(yyval.s)->ln=(yyvsp[0].s)->ln:0; NOPR; } |
#line 168 "parse.y" |
#line 1889 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.s) = mksnode(5,S_FOR,(yyvsp[(1) - (9)].i),(yyvsp[(3) - (9)].n),(yyvsp[(5) - (9)].n)?(yyvsp[(5) - (9)].n):ONENODE,(yyvsp[(7) - (9)].n),(yyvsp[(9) - (9)].s)); (yyvsp[(9) - (9)].s)?(yyval.s)->ln=(yyvsp[(9) - (9)].s)->ln:0; NOPR; } |
|
break; |
break; |
|
|
case 24: |
case 24: |
|
#line 170 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.s) = mksnode(5,S_FOR,(yyvsp[-4].i),NULLP,(yyvsp[-2].n),NULLP,(yyvsp[0].s)); (yyvsp[0].s)?(yyval.s)->ln=(yyvsp[0].s)->ln:0; NOPR; } |
#line 170 "parse.y" |
#line 1895 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.s) = mksnode(5,S_FOR,(yyvsp[(1) - (5)].i),NULLP,(yyvsp[(3) - (5)].n),NULLP,(yyvsp[(5) - (5)].s)); (yyvsp[(5) - (5)].s)?(yyval.s)->ln=(yyvsp[(5) - (5)].s)->ln:0; NOPR; } |
|
break; |
break; |
|
|
case 25: |
case 25: |
|
#line 172 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.s) = mksnode(3,S_DO,(yyvsp[-6].i),(yyvsp[-5].s),(yyvsp[-2].n)); NOPR; } |
#line 172 "parse.y" |
#line 1901 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.s) = mksnode(3,S_DO,(yyvsp[(1) - (7)].i),(yyvsp[(2) - (7)].s),(yyvsp[(5) - (7)].n)); NOPR; } |
|
break; |
break; |
|
|
case 26: |
case 26: |
|
#line 174 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.s) = mksnode(3,S_PFDEF,(yyvsp[-7].p),(yyvsp[-5].n),(yyvsp[-1].f)); NOPR; } |
#line 174 "parse.y" |
#line 1907 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.s) = mksnode(3,S_PFDEF,(yyvsp[(1) - (8)].p),(yyvsp[(3) - (8)].n),(yyvsp[(7) - (8)].f)); NOPR; } |
|
break; |
break; |
|
|
case 27: |
case 27: |
|
#line 176 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.s) = mksnode(3,S_PFDEF,(yyvsp[-4].p),(yyvsp[-2].n),NULLP); NOPR; } |
#line 176 "parse.y" |
#line 1913 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.s) = mksnode(3,S_PFDEF,(yyvsp[(2) - (6)].p),(yyvsp[(4) - (6)].n),NULLP); NOPR; } |
|
break; |
break; |
|
|
case 28: |
case 28: |
|
#line 177 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ mkpvs((yyvsp[0].p)); } |
#line 177 "parse.y" |
#line 1919 "y.tab.c" /* yacc.c:1652 */ |
{ mkpvs((yyvsp[(2) - (2)].p)); } |
|
break; |
break; |
|
|
case 29: |
case 29: |
|
#line 177 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 177 "parse.y" |
|
{ ldef = 1; } |
{ ldef = 1; } |
|
#line 1925 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 30: |
case 30: |
|
#line 177 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 177 "parse.y" |
|
{ ldef = -1; } |
{ ldef = -1; } |
|
#line 1931 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 31: |
case 31: |
|
#line 178 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 178 "parse.y" |
|
{ |
{ |
mkuf((yyvsp[(2) - (12)].p),asir_infile->name,(yyvsp[(6) - (12)].n), |
mkuf((yyvsp[-10].p),asir_infile->name,(yyvsp[-6].n), |
mksnode(1,S_CPLX,(yyvsp[(11) - (12)].n)),(yyvsp[(1) - (12)].i),asir_infile->ln,(yyvsp[(9) - (12)].p),CUR_MODULE); |
mksnode(1,S_CPLX,(yyvsp[-1].n)),(yyvsp[-11].i),asir_infile->ln,(yyvsp[-3].p),CUR_MODULE); |
(yyval.s) = 0; NOPR; |
(yyval.s) = 0; NOPR; |
} |
} |
|
#line 1941 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 32: |
case 32: |
|
#line 184 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 184 "parse.y" |
|
{ |
{ |
CUR_MODULE = mkmodule((yyvsp[(2) - (3)].p)); |
CUR_MODULE = mkmodule((yyvsp[-1].p)); |
MPVS = CUR_MODULE->pvs; |
MPVS = CUR_MODULE->pvs; |
(yyval.s) = mksnode(1,S_MODULE,CUR_MODULE); NOPR; |
(yyval.s) = mksnode(1,S_MODULE,CUR_MODULE); NOPR; |
} |
} |
|
#line 1951 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 33: |
case 33: |
|
#line 190 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 190 "parse.y" |
|
{ CUR_MODULE = 0; MPVS = 0; (yyval.s) = mksnode(1,S_MODULE,NULLP); NOPR; } |
{ CUR_MODULE = 0; MPVS = 0; (yyval.s) = mksnode(1,S_MODULE,NULLP); NOPR; } |
|
#line 1957 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 34: |
case 34: |
|
#line 192 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 192 "parse.y" |
|
{ yyerrok; (yyval.s) = 0; } |
{ yyerrok; (yyval.s) = 0; } |
|
#line 1963 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 35: |
case 35: |
|
#line 195 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 195 "parse.y" |
|
{ if ( main_parser ) prresult = 1; } |
{ if ( main_parser ) prresult = 1; } |
|
#line 1969 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 36: |
case 36: |
|
#line 197 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 197 "parse.y" |
|
{ if ( main_parser ) prresult = 0; } |
{ if ( main_parser ) prresult = 0; } |
|
#line 1975 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 37: |
case 37: |
|
#line 200 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 200 "parse.y" |
|
{ (yyval.p) = 0; } |
{ (yyval.p) = 0; } |
|
#line 1981 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 38: |
case 38: |
|
#line 202 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.p) = (yyvsp[0].p); } |
#line 202 "parse.y" |
#line 1987 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.p) = (yyvsp[(1) - (1)].p); } |
|
break; |
break; |
|
|
case 39: |
case 39: |
|
#line 205 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.s) = mksnode(1,S_CPLX,(yyvsp[-1].n)); } |
#line 205 "parse.y" |
#line 1993 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.s) = mksnode(1,S_CPLX,(yyvsp[(2) - (3)].n)); } |
|
break; |
break; |
|
|
case 40: |
case 40: |
|
#line 208 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ MKNODE((yyval.n),(yyvsp[0].p),0); } |
#line 208 "parse.y" |
#line 1999 "y.tab.c" /* yacc.c:1652 */ |
{ MKNODE((yyval.n),(yyvsp[(1) - (1)].p),0); } |
|
break; |
break; |
|
|
case 41: |
case 41: |
|
#line 210 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ appendtonode((yyvsp[-2].n),(yyvsp[0].p),&(yyval.n)); } |
#line 210 "parse.y" |
#line 2005 "y.tab.c" /* yacc.c:1652 */ |
{ appendtonode((yyvsp[(1) - (3)].n),(yyvsp[(3) - (3)].p),&(yyval.n)); } |
|
break; |
break; |
|
|
case 42: |
case 42: |
|
#line 213 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ MKNODE((yyval.n),(yyvsp[0].p),0); } |
#line 213 "parse.y" |
#line 2011 "y.tab.c" /* yacc.c:1652 */ |
{ MKNODE((yyval.n),(yyvsp[(1) - (1)].p),0); } |
|
break; |
break; |
|
|
case 43: |
case 43: |
|
#line 215 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ appendtonode((yyvsp[-2].n),(yyvsp[0].p),&(yyval.n)); } |
#line 215 "parse.y" |
#line 2017 "y.tab.c" /* yacc.c:1652 */ |
{ appendtonode((yyvsp[(1) - (3)].n),(yyvsp[(3) - (3)].p),&(yyval.n)); } |
|
break; |
break; |
|
|
case 44: |
case 44: |
|
#line 218 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ val = (pointer)((long)makepvar((yyvsp[0].p))); MKNODE((yyval.n),val,0); } |
#line 218 "parse.y" |
#line 2023 "y.tab.c" /* yacc.c:1652 */ |
{ val = (pointer)makepvar((yyvsp[(1) - (1)].p)); MKNODE((yyval.n),val,0); } |
|
break; |
break; |
|
|
case 45: |
case 45: |
|
#line 220 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ appendtonode((yyvsp[-2].n),(pointer)((long)makepvar((yyvsp[0].p))),&(yyval.n)); } |
#line 220 "parse.y" |
#line 2029 "y.tab.c" /* yacc.c:1652 */ |
{ appendtonode((yyvsp[(1) - (3)].n),(pointer)makepvar((yyvsp[(3) - (3)].p)),&(yyval.n)); } |
|
break; |
break; |
|
|
case 46: |
case 46: |
|
#line 223 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 223 "parse.y" |
|
{ (yyval.n) = 0; } |
{ (yyval.n) = 0; } |
|
#line 2035 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 47: |
case 47: |
|
#line 225 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ appendtonode((yyvsp[-1].n),(pointer)(yyvsp[0].s),&(yyval.n)); } |
#line 225 "parse.y" |
#line 2041 "y.tab.c" /* yacc.c:1652 */ |
{ appendtonode((yyvsp[(1) - (2)].n),(pointer)(yyvsp[(2) - (2)].s),&(yyval.n)); } |
|
break; |
break; |
|
|
case 48: |
case 48: |
|
#line 228 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 228 "parse.y" |
|
{ (yyval.n) = 0; } |
{ (yyval.n) = 0; } |
|
#line 2047 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 49: |
case 49: |
|
#line 230 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.n) = (yyvsp[0].n); } |
#line 230 "parse.y" |
#line 2053 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.n) = (yyvsp[(1) - (1)].n); } |
|
break; |
break; |
|
|
case 50: |
case 50: |
|
#line 233 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ MKNODE((yyval.n),(yyvsp[0].f),0); } |
#line 233 "parse.y" |
#line 2059 "y.tab.c" /* yacc.c:1652 */ |
{ MKNODE((yyval.n),(yyvsp[(1) - (1)].f),0); } |
|
break; |
break; |
|
|
case 51: |
case 51: |
|
#line 235 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ appendtonode((yyvsp[-2].n),(pointer)(yyvsp[0].f),&(yyval.n)); } |
#line 235 "parse.y" |
#line 2065 "y.tab.c" /* yacc.c:1652 */ |
{ appendtonode((yyvsp[(1) - (3)].n),(pointer)(yyvsp[(3) - (3)].f),&(yyval.n)); } |
|
break; |
break; |
|
|
case 52: |
case 52: |
|
#line 238 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ MKNODE((yyval.n),(yyvsp[0].f),0); } |
#line 238 "parse.y" |
#line 2071 "y.tab.c" /* yacc.c:1652 */ |
{ MKNODE((yyval.n),(yyvsp[(1) - (1)].f),0); } |
|
break; |
break; |
|
|
case 53: |
case 53: |
|
#line 240 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ appendtonode((yyvsp[-2].n),(pointer)(yyvsp[0].f),&(yyval.n)); } |
#line 240 "parse.y" |
#line 2077 "y.tab.c" /* yacc.c:1652 */ |
{ appendtonode((yyvsp[(1) - (3)].n),(pointer)(yyvsp[(3) - (3)].f),&(yyval.n)); } |
|
break; |
break; |
|
|
case 54: |
case 54: |
|
#line 243 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.p) = (yyvsp[0].p); } |
#line 243 "parse.y" |
#line 2083 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.p) = (yyvsp[(1) - (1)].p); } |
|
break; |
break; |
|
|
case 55: |
case 55: |
|
#line 245 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.p) = (yyvsp[0].p); } |
#line 245 "parse.y" |
#line 2089 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.p) = (yyvsp[(1) - (1)].p); } |
|
break; |
break; |
|
|
case 56: |
case 56: |
|
#line 248 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(2,I_OPT,(yyvsp[-2].p),(yyvsp[0].f)); } |
#line 248 "parse.y" |
#line 2095 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(2,I_OPT,(yyvsp[(1) - (3)].p),(yyvsp[(3) - (3)].f)); } |
|
break; |
break; |
|
|
case 57: |
case 57: |
|
#line 251 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(1,I_STR,(yyvsp[0].p)); } |
#line 251 "parse.y" |
#line 2101 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(1,I_STR,(yyvsp[(1) - (1)].p)); } |
|
break; |
break; |
|
|
case 58: |
case 58: |
|
#line 253 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(1,I_FORMULA,(yyvsp[0].p)); } |
#line 253 "parse.y" |
#line 2107 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(1,I_FORMULA,(yyvsp[(1) - (1)].p)); } |
|
break; |
break; |
|
|
case 59: |
case 59: |
|
#line 255 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(1,I_ANS,(yyvsp[0].i)); } |
#line 255 "parse.y" |
#line 2113 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(1,I_ANS,(yyvsp[(1) - (1)].i)); } |
|
break; |
break; |
|
|
case 60: |
case 60: |
|
#line 257 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 257 "parse.y" |
|
{ (yyval.f) = mkfnode(0,I_GF2NGEN); } |
{ (yyval.f) = mkfnode(0,I_GF2NGEN); } |
|
#line 2119 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 61: |
case 61: |
|
#line 259 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 259 "parse.y" |
|
{ (yyval.f) = mkfnode(0,I_GFPNGEN); } |
{ (yyval.f) = mkfnode(0,I_GFPNGEN); } |
|
#line 2125 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 62: |
case 62: |
|
#line 261 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 261 "parse.y" |
|
{ (yyval.f) = mkfnode(0,I_GFSNGEN); } |
{ (yyval.f) = mkfnode(0,I_GFSNGEN); } |
|
#line 2131 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 63: |
case 63: |
|
#line 263 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 263 "parse.y" |
|
{ |
{ |
FUNC f; |
FUNC f; |
|
|
searchf(noargsysf,(yyvsp[(1) - (1)].p),&f); |
searchf(noargsysf,(yyvsp[0].p),&f); |
if ( f ) |
if ( f ) |
(yyval.f) = mkfnode(2,I_FUNC,f,NULLP); |
(yyval.f) = mkfnode(2,I_FUNC,f,NULLP); |
else { |
else { |
searchc((yyvsp[(1) - (1)].p),&f); |
searchc((yyvsp[0].p),&f); |
if ( f ) |
if ( f ) |
(yyval.f) = mkfnode(2,I_FUNC,f,mkfnode(1,I_LIST,NULLP)); |
(yyval.f) = mkfnode(2,I_FUNC,f,mkfnode(1,I_LIST,NULLP)); |
else { |
else { |
gen_searchf_searchonly((yyvsp[(1) - (1)].p),(FUNC *)&f); |
gen_searchf_searchonly((yyvsp[0].p),(FUNC *)&f,1); |
if ( f ) |
if ( f ) |
makesrvar(f,(P *)&val); |
makesrvar(f,(P *)&val); |
else |
else |
makevar((yyvsp[(1) - (1)].p),(P *)&val); |
makevar((yyvsp[0].p),(P *)&val); |
(yyval.f) = mkfnode(1,I_FORMULA,val); |
(yyval.f) = mkfnode(1,I_FORMULA,val); |
} |
} |
} |
} |
} |
} |
|
#line 2156 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 64: |
case 64: |
|
#line 284 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 284 "parse.y" |
|
{ |
{ |
gen_searchf((yyvsp[(1) - (4)].p),(FUNC *)&val); |
gen_searchf((yyvsp[-3].p),(FUNC *)&val); |
print_crossref(val); |
print_crossref(val); |
(yyval.f) = mkfnode(2,I_FUNC,val,mkfnode(1,I_LIST,(yyvsp[(3) - (4)].n))); |
(yyval.f) = mkfnode(2,I_FUNC,val,mkfnode(1,I_LIST,(yyvsp[-1].n))); |
} |
} |
|
#line 2166 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 65: |
case 65: |
|
#line 290 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 291 "parse.y" |
|
{ |
{ |
gen_searchf((yyvsp[(1) - (6)].p),(FUNC *)&val); |
gen_searchf((yyvsp[-5].p),(FUNC *)&val); |
print_crossref(val); |
print_crossref(val); |
(yyval.f) = mkfnode(3,I_FUNC_OPT,val, |
(yyval.f) = mkfnode(3,I_FUNC_OPT,val, |
mkfnode(1,I_LIST,(yyvsp[(3) - (6)].n)),mkfnode(1,I_LIST,(yyvsp[(5) - (6)].n))); |
mkfnode(1,I_LIST,(yyvsp[-3].n)),mkfnode(1,I_LIST,(yyvsp[-1].n))); |
} |
} |
|
#line 2177 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 66: |
case 66: |
|
#line 297 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 298 "parse.y" |
|
{ |
{ |
gen_searchf((yyvsp[(3) - (6)].p),(FUNC *)&val); |
gen_searchf((yyvsp[-3].p),(FUNC *)&val); |
print_crossref(val); |
print_crossref(val); |
(yyval.f) = mkfnode(2,I_MAP,val,mkfnode(1,I_LIST,(yyvsp[(5) - (6)].n))); |
(yyval.f) = mkfnode(2,I_MAP,val,mkfnode(1,I_LIST,(yyvsp[-1].n))); |
} |
} |
|
#line 2187 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 67: |
case 67: |
|
#line 303 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 304 "parse.y" |
|
{ |
{ |
gen_searchf((yyvsp[(3) - (6)].p),(FUNC *)&val); |
gen_searchf((yyvsp[-3].p),(FUNC *)&val); |
print_crossref(val); |
print_crossref(val); |
(yyval.f) = mkfnode(2,I_RECMAP,val,mkfnode(1,I_LIST,(yyvsp[(5) - (6)].n))); |
(yyval.f) = mkfnode(2,I_RECMAP,val,mkfnode(1,I_LIST,(yyvsp[-1].n))); |
} |
} |
|
#line 2197 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 68: |
case 68: |
|
#line 309 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 310 "parse.y" |
|
{ |
{ |
searchpf((yyvsp[(1) - (7)].p),(FUNC *)&val); |
searchpf((yyvsp[-6].p),(FUNC *)&val); |
(yyval.f) = mkfnode(3,I_PFDERIV,val,mkfnode(1,I_LIST,(yyvsp[(6) - (7)].n)),mkfnode(1,I_LIST,(yyvsp[(3) - (7)].n))); |
(yyval.f) = mkfnode(3,I_PFDERIV,val,mkfnode(1,I_LIST,(yyvsp[-1].n)),mkfnode(1,I_LIST,(yyvsp[-4].n))); |
} |
} |
|
#line 2206 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 69: |
case 69: |
|
#line 314 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 315 "parse.y" |
|
{ |
{ |
(yyval.f) = mkfnode(2,I_GETOPT,(yyvsp[(3) - (4)].p)); |
(yyval.f) = mkfnode(2,I_GETOPT,(yyvsp[-1].p)); |
} |
} |
|
#line 2214 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 70: |
case 70: |
|
#line 318 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 319 "parse.y" |
|
{ |
{ |
(yyval.f) = mkfnode(2,I_GETOPT,NULLP); |
(yyval.f) = mkfnode(2,I_GETOPT,NULLP); |
} |
} |
|
#line 2222 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 71: |
case 71: |
|
#line 322 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 323 "parse.y" |
|
{ |
{ |
(yyval.f) = mkfnode(3,I_TIMER,(yyvsp[(3) - (8)].f),(yyvsp[(5) - (8)].f),(yyvsp[(7) - (8)].f)); |
(yyval.f) = mkfnode(3,I_TIMER,(yyvsp[-5].f),(yyvsp[-3].f),(yyvsp[-1].f)); |
} |
} |
|
#line 2230 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 72: |
case 72: |
|
#line 326 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 327 "parse.y" |
|
{ |
{ |
searchf(parif,(yyvsp[(3) - (4)].p),(FUNC *)&val); |
searchf(parif,(yyvsp[-1].p),(FUNC *)&val); |
if ( !val ) |
if ( !val ) |
mkparif((yyvsp[(3) - (4)].p),(FUNC *)&val); |
mkparif((yyvsp[-1].p),(FUNC *)&val); |
(yyval.f) = mkfnode(2,I_FUNC,val,NULLP); |
(yyval.f) = mkfnode(2,I_FUNC,val,NULLP); |
} |
} |
|
#line 2241 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 73: |
case 73: |
|
#line 333 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 334 "parse.y" |
|
{ |
{ |
searchf(parif,(yyvsp[(3) - (6)].p),(FUNC *)&val); |
searchf(parif,(yyvsp[-3].p),(FUNC *)&val); |
if ( !val ) |
if ( !val ) |
mkparif((yyvsp[(3) - (6)].p),(FUNC *)&val); |
mkparif((yyvsp[-3].p),(FUNC *)&val); |
(yyval.f) = mkfnode(2,I_FUNC,val,mkfnode(1,I_LIST,(yyvsp[(5) - (6)].n))); |
(yyval.f) = mkfnode(2,I_FUNC,val,mkfnode(1,I_LIST,(yyvsp[-1].n))); |
} |
} |
|
#line 2252 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 74: |
case 74: |
|
#line 340 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 341 "parse.y" |
|
{ |
{ |
(yyval.f) = mkfnode(2,I_IFUNC,(yyvsp[(3) - (7)].f),mkfnode(1,I_LIST,(yyvsp[(6) - (7)].n)),NULLP); |
(yyval.f) = mkfnode(2,I_IFUNC,(yyvsp[-4].f),mkfnode(1,I_LIST,(yyvsp[-1].n)),NULLP); |
} |
} |
|
#line 2260 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 75: |
case 75: |
|
#line 344 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 345 "parse.y" |
|
{ |
{ |
(yyval.f) = mkfnode(3,I_IFUNC,(yyvsp[(3) - (9)].f),mkfnode(1,I_LIST,(yyvsp[(6) - (9)].n)), |
(yyval.f) = mkfnode(3,I_IFUNC,(yyvsp[-6].f),mkfnode(1,I_LIST,(yyvsp[-3].n)), |
mkfnode(1,I_LIST,(yyvsp[(8) - (9)].n))); |
mkfnode(1,I_LIST,(yyvsp[-1].n))); |
} |
} |
|
#line 2269 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 76: |
case 76: |
|
#line 349 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 350 "parse.y" |
|
{ |
{ |
if ( main_parser || allow_create_var ) |
if ( main_parser || allow_create_var ) |
t = mkfnode(2,I_PVAR,makepvar((yyvsp[(1) - (4)].p)),NULLP); |
t = mkfnode(2,I_PVAR,makepvar((yyvsp[-3].p)),NULLP); |
else { |
else { |
ind = searchpvar((yyvsp[(1) - (4)].p)); |
ind = searchpvar((yyvsp[-3].p)); |
if ( ind == -1 ) { |
if ( ind == -1 ) { |
fprintf(stderr,"%s : no such variable.\n",(yyvsp[(1) - (4)].p)); |
fprintf(stderr,"%s : no such variable.\n",(yyvsp[-3].p)); |
YYABORT; |
YYABORT; |
} else |
} else |
t = mkfnode(2,I_PVAR,ind,NULLP); |
t = mkfnode(2,I_PVAR,ind,NULLP); |
} |
} |
(yyval.f) = mkfnode(2,I_IFUNC,t,mkfnode(1,I_LIST,(yyvsp[(3) - (4)].n))); |
(yyval.f) = mkfnode(2,I_IFUNC,t,mkfnode(1,I_LIST,(yyvsp[-1].n))); |
} |
} |
|
#line 2287 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 77: |
case 77: |
|
#line 363 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(1,I_CAR,(yyvsp[-1].f)); } |
#line 364 "parse.y" |
#line 2293 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(1,I_CAR,(yyvsp[(3) - (4)].f)); } |
|
break; |
break; |
|
|
case 78: |
case 78: |
|
#line 365 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(1,I_CDR,(yyvsp[-1].f)); } |
#line 366 "parse.y" |
#line 2299 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(1,I_CDR,(yyvsp[(3) - (4)].f)); } |
|
break; |
break; |
|
|
case 79: |
case 79: |
|
#line 367 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(1,I_PAREN,(yyvsp[-1].f)); } |
#line 368 "parse.y" |
#line 2305 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(1,I_PAREN,(yyvsp[(2) - (3)].f)); } |
|
break; |
break; |
|
|
case 80: |
case 80: |
|
#line 369 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 370 "parse.y" |
|
{ |
{ |
if ( main_parser || allow_create_var ) |
if ( main_parser || allow_create_var ) |
(yyval.f) = mkfnode(2,I_PVAR,makepvar((yyvsp[(1) - (1)].p)),NULLP); |
(yyval.f) = mkfnode(2,I_PVAR,makepvar((yyvsp[0].p)),NULLP); |
else { |
else { |
ind = searchpvar((yyvsp[(1) - (1)].p)); |
ind = searchpvar((yyvsp[0].p)); |
if ( ind == -1 ) { |
if ( ind == -1 ) { |
fprintf(stderr,"%s : no such variable.\n",(yyvsp[(1) - (1)].p)); |
fprintf(stderr,"%s : no such variable.\n",(yyvsp[0].p)); |
YYABORT; |
YYABORT; |
} else |
} else |
(yyval.f) = mkfnode(2,I_PVAR,ind,NULLP); |
(yyval.f) = mkfnode(2,I_PVAR,ind,NULLP); |
} |
} |
} |
} |
|
#line 2322 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 81: |
case 81: |
|
#line 382 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
|
#line 383 "parse.y" |
|
{ |
{ |
if ( (yyvsp[(1) - (4)].f)->id == I_PVAR || (yyvsp[(1) - (4)].f)->id == I_INDEX ) { |
if ( (yyvsp[-3].f)->id == I_PVAR || (yyvsp[-3].f)->id == I_INDEX ) { |
appendtonode((NODE)(yyvsp[(1) - (4)].f)->arg[1],(pointer)(yyvsp[(3) - (4)].f),&a); |
appendtonode((NODE)(yyvsp[-3].f)->arg[1],(pointer)(yyvsp[-1].f),&a); |
(yyvsp[(1) - (4)].f)->arg[1] = (pointer)a; (yyval.f) = (yyvsp[(1) - (4)].f); |
(yyvsp[-3].f)->arg[1] = (pointer)a; (yyval.f) = (yyvsp[-3].f); |
} else { |
} else { |
MKNODE(a,(yyvsp[(3) - (4)].f),0); |
MKNODE(a,(yyvsp[-1].f),0); |
(yyval.f) = mkfnode(2,I_INDEX,(pointer)(yyvsp[(1) - (4)].f),a); |
(yyval.f) = mkfnode(2,I_INDEX,(pointer)(yyvsp[-3].f),a); |
} |
} |
} |
} |
|
#line 2336 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 82: |
case 82: |
|
#line 392 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(2,I_POINT,(yyvsp[-2].f),(yyvsp[0].p)); } |
#line 393 "parse.y" |
#line 2342 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(2,I_POINT,(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].p)); } |
|
break; |
break; |
|
|
case 83: |
case 83: |
|
#line 395 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = (yyvsp[0].f); } |
#line 396 "parse.y" |
#line 2348 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = (yyvsp[(1) - (1)].f); } |
|
break; |
break; |
|
|
case 84: |
case 84: |
|
#line 397 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(3,I_CAST,structtoindex((yyvsp[-2].p)),(yyvsp[0].f),NULLP); } |
#line 398 "parse.y" |
#line 2354 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(3,I_CAST,structtoindex((yyvsp[(3) - (5)].p)),(yyvsp[(5) - (5)].f),NULLP); } |
|
break; |
break; |
|
|
case 85: |
case 85: |
|
#line 399 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(2,I_ASSPVAR,(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 400 "parse.y" |
#line 2360 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(2,I_ASSPVAR,(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f)); } |
|
break; |
break; |
|
|
case 86: |
case 86: |
|
#line 401 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(2,I_ASSPVAR,(yyvsp[-2].f),mkfnode(3,I_BOP,(yyvsp[-1].p),(yyvsp[-2].f),(yyvsp[0].f))); } |
#line 402 "parse.y" |
#line 2366 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(2,I_ASSPVAR,(yyvsp[(1) - (3)].f),mkfnode(3,I_BOP,(yyvsp[(2) - (3)].p),(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f))); } |
|
break; |
break; |
|
|
case 87: |
case 87: |
|
#line 403 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(2,I_POSTSELF,(yyvsp[0].p),(yyvsp[-1].f)); } |
#line 404 "parse.y" |
#line 2372 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(2,I_POSTSELF,(yyvsp[(2) - (2)].p),(yyvsp[(1) - (2)].f)); } |
|
break; |
break; |
|
|
case 88: |
case 88: |
|
#line 405 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(2,I_PRESELF,(yyvsp[-1].p),(yyvsp[0].f)); } |
#line 406 "parse.y" |
#line 2378 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(2,I_PRESELF,(yyvsp[(1) - (2)].p),(yyvsp[(2) - (2)].f)); } |
|
break; |
break; |
|
|
case 89: |
case 89: |
|
#line 407 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(1,I_LIST,(yyvsp[-1].n)); } |
#line 408 "parse.y" |
#line 2384 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(1,I_LIST,(yyvsp[(2) - (3)].n)); } |
|
break; |
break; |
|
|
case 90: |
case 90: |
|
#line 409 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = (yyvsp[0].f); } |
#line 410 "parse.y" |
#line 2390 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = (yyvsp[(2) - (2)].f); } |
|
break; |
break; |
|
|
case 91: |
case 91: |
|
#line 411 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(1,I_MINUS,(yyvsp[0].f)); } |
#line 412 "parse.y" |
#line 2396 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(1,I_MINUS,(yyvsp[(2) - (2)].f)); } |
|
break; |
break; |
|
|
case 92: |
case 92: |
|
#line 413 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(3,I_BOP,(yyvsp[-1].p),(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 414 "parse.y" |
#line 2402 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(3,I_BOP,(yyvsp[(2) - (3)].p),(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f)); } |
|
break; |
break; |
|
|
case 93: |
case 93: |
|
#line 415 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(3,I_BOP,(yyvsp[-1].p),(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 416 "parse.y" |
#line 2408 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(3,I_BOP,(yyvsp[(2) - (3)].p),(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f)); } |
|
break; |
break; |
|
|
case 94: |
case 94: |
|
#line 417 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(3,I_BOP,(yyvsp[-1].p),(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 418 "parse.y" |
#line 2414 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(3,I_BOP,(yyvsp[(2) - (3)].p),(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f)); } |
|
break; |
break; |
|
|
case 95: |
case 95: |
|
#line 419 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(3,I_BOP,(yyvsp[-1].p),(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 420 "parse.y" |
#line 2420 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(3,I_BOP,(yyvsp[(2) - (3)].p),(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f)); } |
|
break; |
break; |
|
|
case 96: |
case 96: |
|
#line 421 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(3,I_BOP,(yyvsp[-1].p),(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 422 "parse.y" |
#line 2426 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(3,I_BOP,(yyvsp[(2) - (3)].p),(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f)); } |
|
break; |
break; |
|
|
case 97: |
case 97: |
|
#line 423 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(3,I_BOP,(yyvsp[-1].p),(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 424 "parse.y" |
#line 2432 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(3,I_BOP,(yyvsp[(2) - (3)].p),(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f)); } |
|
break; |
break; |
|
|
case 98: |
case 98: |
|
#line 425 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(3,I_COP,(yyvsp[-1].i),(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 426 "parse.y" |
#line 2438 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(3,I_COP,(yyvsp[(2) - (3)].i),(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f)); } |
|
break; |
break; |
|
|
case 99: |
case 99: |
|
#line 427 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(1,I_NOT,(yyvsp[0].f)); } |
#line 428 "parse.y" |
#line 2444 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(1,I_NOT,(yyvsp[(2) - (2)].f)); } |
|
break; |
break; |
|
|
case 100: |
case 100: |
|
#line 429 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ |
#line 430 "parse.y" |
gen_searchf("factorial",(FUNC *)&val); |
{ (yyval.f) = mkfnode(2,I_OR,(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f)); } |
print_crossref(val); |
|
MKNODE(a,(yyvsp[-1].f),0); |
|
(yyval.f) = mkfnode(2,I_FUNC,val,mkfnode(1,I_LIST,a)); |
|
} |
|
#line 2455 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 101: |
case 101: |
|
#line 436 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(2,I_OR,(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 432 "parse.y" |
#line 2461 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(2,I_AND,(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f)); } |
|
break; |
break; |
|
|
case 102: |
case 102: |
|
#line 438 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(2,I_AND,(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 434 "parse.y" |
#line 2467 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(3,I_LOP,(yyvsp[(1) - (2)].i),(yyvsp[(2) - (2)].f),NULLP); } |
|
break; |
break; |
|
|
case 103: |
case 103: |
|
#line 440 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(3,I_LOP,(yyvsp[-1].i),(yyvsp[0].f),NULLP); } |
#line 436 "parse.y" |
#line 2473 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(3,I_LOP,(yyvsp[(2) - (3)].i),(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f)); } |
|
break; |
break; |
|
|
case 104: |
case 104: |
|
#line 442 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(3,I_LOP,(yyvsp[-1].i),(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 438 "parse.y" |
#line 2479 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(3,I_LOP,(yyvsp[(2) - (3)].i),(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f)); } |
|
break; |
break; |
|
|
case 105: |
case 105: |
|
#line 444 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(3,I_LOP,(yyvsp[-1].i),(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 440 "parse.y" |
#line 2485 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(3,I_LOP,(yyvsp[(2) - (3)].i),(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f)); } |
|
break; |
break; |
|
|
case 106: |
case 106: |
|
#line 446 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(3,I_LOP,(yyvsp[-1].i),(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 442 "parse.y" |
#line 2491 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(3,I_LOP,(yyvsp[(2) - (3)].i),(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f)); } |
|
break; |
break; |
|
|
case 107: |
case 107: |
|
#line 448 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(3,I_LOP,(yyvsp[-1].i),(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 444 "parse.y" |
#line 2497 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(3,I_LOP,(yyvsp[(2) - (3)].i),(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f)); } |
|
break; |
break; |
|
|
case 108: |
case 108: |
|
#line 450 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(3,I_LOP,(yyvsp[-1].i),(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 446 "parse.y" |
#line 2503 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(3,I_LOP,(yyvsp[(2) - (3)].i),(yyvsp[(1) - (3)].f),(yyvsp[(3) - (3)].f)); } |
|
break; |
break; |
|
|
case 109: |
case 109: |
|
#line 452 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(3,I_LOP,(yyvsp[-1].i),(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 448 "parse.y" |
#line 2509 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(3,I_CE,(yyvsp[(1) - (5)].f),(yyvsp[(3) - (5)].f),(yyvsp[(5) - (5)].f)); } |
|
break; |
break; |
|
|
case 110: |
case 110: |
|
#line 454 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(3,I_CE,(yyvsp[-4].f),(yyvsp[-2].f),(yyvsp[0].f)); } |
#line 450 "parse.y" |
#line 2515 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(1,I_EV,(yyvsp[(2) - (3)].n)); } |
|
break; |
break; |
|
|
case 111: |
case 111: |
|
#line 456 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(1,I_EV,(yyvsp[-1].n)); } |
#line 452 "parse.y" |
#line 2521 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(1,I_NEWCOMP,(int)structtoindex((yyvsp[(3) - (4)].p))); } |
|
break; |
break; |
|
|
case 112: |
case 112: |
|
#line 458 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ |
#line 454 "parse.y" |
(yyval.f) = mkfnode(2,I_EVM,(yyvsp[-3].n),(yyvsp[-1].f)); |
{ MKQUOTE(quote,(yyvsp[(3) - (4)].f)); (yyval.f) = mkfnode(1,I_FORMULA,(pointer)quote); } |
} |
|
#line 2529 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
case 113: |
case 113: |
|
#line 462 "parse.y" /* yacc.c:1652 */ |
/* Line 1455 of yacc.c */ |
{ (yyval.f) = mkfnode(1,I_NEWCOMP,(int)structtoindex((yyvsp[-1].p))); } |
#line 456 "parse.y" |
#line 2535 "y.tab.c" /* yacc.c:1652 */ |
{ (yyval.f) = mkfnode(2,I_CONS,(yyvsp[(2) - (5)].n),(yyvsp[(4) - (5)].f)); } |
|
break; |
break; |
|
|
case 114: |
case 114: |
|
#line 464 "parse.y" /* yacc.c:1652 */ |
|
{ MKQUOTE(quote,(yyvsp[-1].f)); (yyval.f) = mkfnode(1,I_FORMULA,(pointer)quote); } |
|
#line 2541 "y.tab.c" /* yacc.c:1652 */ |
|
break; |
|
|
/* Line 1455 of yacc.c */ |
case 115: |
#line 458 "parse.y" |
#line 466 "parse.y" /* yacc.c:1652 */ |
{ MKQUOTE(quote,(yyvsp[(2) - (2)].f)); (yyval.f) = mkfnode(1,I_FORMULA,(pointer)quote); } |
{ (yyval.f) = mkfnode(2,I_CONS,(yyvsp[-3].n),(yyvsp[-1].f)); } |
|
#line 2547 "y.tab.c" /* yacc.c:1652 */ |
break; |
break; |
|
|
|
case 116: |
|
#line 468 "parse.y" /* yacc.c:1652 */ |
|
{ MKQUOTE(quote,(yyvsp[0].f)); (yyval.f) = mkfnode(1,I_FORMULA,(pointer)quote); } |
|
#line 2553 "y.tab.c" /* yacc.c:1652 */ |
|
break; |
|
|
|
|
/* Line 1455 of yacc.c */ |
#line 2557 "y.tab.c" /* yacc.c:1652 */ |
#line 2796 "y.tab.c" |
|
default: break; |
default: break; |
} |
} |
|
/* User semantic actions sometimes alter yychar, and that requires |
|
that yytoken be updated with the new translation. We take the |
|
approach of translating immediately before every use of yytoken. |
|
One alternative is translating here after every semantic action, |
|
but that translation would be missed if the semantic action invokes |
|
YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or |
|
if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an |
|
incorrect destructor might then be invoked immediately. In the |
|
case of YYERROR or YYBACKUP, subsequent parser actions might lead |
|
to an incorrect destructor call or verbose syntax error message |
|
before the lookahead is translated. */ |
YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); |
YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); |
|
|
YYPOPSTACK (yylen); |
YYPOPSTACK (yylen); |
|
|
|
|
*++yyvsp = yyval; |
*++yyvsp = yyval; |
|
|
/* Now `shift' the result of the reduction. Determine what state |
/* Now 'shift' the result of the reduction. Determine what state |
that goes to, based on the state we popped back to and the rule |
that goes to, based on the state we popped back to and the rule |
number reduced by. */ |
number reduced by. */ |
|
{ |
|
const int yylhs = yyr1[yyn] - YYNTOKENS; |
|
const int yyi = yypgoto[yylhs] + *yyssp; |
|
yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp |
|
? yytable[yyi] |
|
: yydefgoto[yylhs]); |
|
} |
|
|
yyn = yyr1[yyn]; |
|
|
|
yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; |
|
if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) |
|
yystate = yytable[yystate]; |
|
else |
|
yystate = yydefgoto[yyn - YYNTOKENS]; |
|
|
|
goto yynewstate; |
goto yynewstate; |
|
|
|
|
/*------------------------------------. |
/*--------------------------------------. |
| yyerrlab -- here on detecting error | |
| yyerrlab -- here on detecting error. | |
`------------------------------------*/ |
`--------------------------------------*/ |
yyerrlab: |
yyerrlab: |
|
/* Make sure we have latest lookahead translation. See comments at |
|
user semantic actions for why this is necessary. */ |
|
yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar); |
|
|
/* If not already recovering from an error, report this error. */ |
/* If not already recovering from an error, report this error. */ |
if (!yyerrstatus) |
if (!yyerrstatus) |
{ |
{ |
|
|
#if ! YYERROR_VERBOSE |
#if ! YYERROR_VERBOSE |
yyerror (YY_("syntax error")); |
yyerror (YY_("syntax error")); |
#else |
#else |
|
# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \ |
|
yyssp, yytoken) |
{ |
{ |
YYSIZE_T yysize = yysyntax_error (0, yystate, yychar); |
char const *yymsgp = YY_("syntax error"); |
if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM) |
int yysyntax_error_status; |
{ |
yysyntax_error_status = YYSYNTAX_ERROR; |
YYSIZE_T yyalloc = 2 * yysize; |
if (yysyntax_error_status == 0) |
if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM)) |
yymsgp = yymsg; |
yyalloc = YYSTACK_ALLOC_MAXIMUM; |
else if (yysyntax_error_status == 1) |
if (yymsg != yymsgbuf) |
{ |
YYSTACK_FREE (yymsg); |
if (yymsg != yymsgbuf) |
yymsg = (char *) YYSTACK_ALLOC (yyalloc); |
YYSTACK_FREE (yymsg); |
if (yymsg) |
yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc); |
yymsg_alloc = yyalloc; |
if (!yymsg) |
else |
{ |
{ |
yymsg = yymsgbuf; |
yymsg = yymsgbuf; |
yymsg_alloc = sizeof yymsgbuf; |
yymsg_alloc = sizeof yymsgbuf; |
yysyntax_error_status = 2; |
} |
} |
} |
else |
|
{ |
if (0 < yysize && yysize <= yymsg_alloc) |
yysyntax_error_status = YYSYNTAX_ERROR; |
{ |
yymsgp = yymsg; |
(void) yysyntax_error (yymsg, yystate, yychar); |
} |
yyerror (yymsg); |
} |
} |
yyerror (yymsgp); |
else |
if (yysyntax_error_status == 2) |
{ |
goto yyexhaustedlab; |
yyerror (YY_("syntax error")); |
|
if (yysize != 0) |
|
goto yyexhaustedlab; |
|
} |
|
} |
} |
|
# undef YYSYNTAX_ERROR |
#endif |
#endif |
} |
} |
|
|
|
|
if (yyerrstatus == 3) |
if (yyerrstatus == 3) |
{ |
{ |
/* If just tried and failed to reuse lookahead token after an |
/* If just tried and failed to reuse lookahead token after an |
error, discard it. */ |
error, discard it. */ |
|
|
if (yychar <= YYEOF) |
if (yychar <= YYEOF) |
{ |
{ |
/* Return failure if at end of input. */ |
/* Return failure if at end of input. */ |
if (yychar == YYEOF) |
if (yychar == YYEOF) |
YYABORT; |
YYABORT; |
} |
} |
else |
else |
{ |
{ |
yydestruct ("Error: discarding", |
yydestruct ("Error: discarding", |
yytoken, &yylval); |
yytoken, &yylval); |
yychar = YYEMPTY; |
yychar = YYEMPTY; |
} |
} |
} |
} |
|
|
/* Else will try to reuse lookahead token after shifting the error |
/* Else will try to reuse lookahead token after shifting the error |
|
|
| yyerrorlab -- error raised explicitly by YYERROR. | |
| yyerrorlab -- error raised explicitly by YYERROR. | |
`---------------------------------------------------*/ |
`---------------------------------------------------*/ |
yyerrorlab: |
yyerrorlab: |
|
/* Pacify compilers when the user code never invokes YYERROR and the |
|
label yyerrorlab therefore never appears in user code. */ |
|
if (0) |
|
YYERROR; |
|
|
/* Pacify compilers like GCC when the user code never invokes |
/* Do not reclaim the symbols of the rule whose action triggered |
YYERROR and the label yyerrorlab therefore never appears in user |
|
code. */ |
|
if (/*CONSTCOND*/ 0) |
|
goto yyerrorlab; |
|
|
|
/* Do not reclaim the symbols of the rule which action triggered |
|
this YYERROR. */ |
this YYERROR. */ |
YYPOPSTACK (yylen); |
YYPOPSTACK (yylen); |
yylen = 0; |
yylen = 0; |
|
|
| yyerrlab1 -- common code for both syntax error and YYERROR. | |
| yyerrlab1 -- common code for both syntax error and YYERROR. | |
`-------------------------------------------------------------*/ |
`-------------------------------------------------------------*/ |
yyerrlab1: |
yyerrlab1: |
yyerrstatus = 3; /* Each real token shifted decrements this. */ |
yyerrstatus = 3; /* Each real token shifted decrements this. */ |
|
|
for (;;) |
for (;;) |
{ |
{ |
yyn = yypact[yystate]; |
yyn = yypact[yystate]; |
if (yyn != YYPACT_NINF) |
if (!yypact_value_is_default (yyn)) |
{ |
{ |
yyn += YYTERROR; |
yyn += YYTERROR; |
if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) |
if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) |
{ |
{ |
yyn = yytable[yyn]; |
yyn = yytable[yyn]; |
if (0 < yyn) |
if (0 < yyn) |
break; |
break; |
} |
} |
} |
} |
|
|
/* Pop the current state because it cannot handle the error token. */ |
/* Pop the current state because it cannot handle the error token. */ |
if (yyssp == yyss) |
if (yyssp == yyss) |
YYABORT; |
YYABORT; |
|
|
|
|
yydestruct ("Error: popping", |
yydestruct ("Error: popping", |
yystos[yystate], yyvsp); |
yystos[yystate], yyvsp); |
YYPOPSTACK (1); |
YYPOPSTACK (1); |
yystate = *yyssp; |
yystate = *yyssp; |
YY_STACK_PRINT (yyss, yyssp); |
YY_STACK_PRINT (yyss, yyssp); |
} |
} |
|
|
|
YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
*++yyvsp = yylval; |
*++yyvsp = yylval; |
|
YY_IGNORE_MAYBE_UNINITIALIZED_END |
|
|
|
|
/* Shift the error token. */ |
/* Shift the error token. */ |
|
|
yyresult = 0; |
yyresult = 0; |
goto yyreturn; |
goto yyreturn; |
|
|
|
|
/*-----------------------------------. |
/*-----------------------------------. |
| yyabortlab -- YYABORT comes here. | |
| yyabortlab -- YYABORT comes here. | |
`-----------------------------------*/ |
`-----------------------------------*/ |
|
|
yyresult = 1; |
yyresult = 1; |
goto yyreturn; |
goto yyreturn; |
|
|
#if !defined(yyoverflow) || YYERROR_VERBOSE |
|
|
#if !defined yyoverflow || YYERROR_VERBOSE |
/*-------------------------------------------------. |
/*-------------------------------------------------. |
| yyexhaustedlab -- memory exhaustion comes here. | |
| yyexhaustedlab -- memory exhaustion comes here. | |
`-------------------------------------------------*/ |
`-------------------------------------------------*/ |
Line 2975 yyexhaustedlab: |
|
Line 2751 yyexhaustedlab: |
|
/* Fall through. */ |
/* Fall through. */ |
#endif |
#endif |
|
|
|
|
|
/*-----------------------------------------------------. |
|
| yyreturn -- parsing is finished, return the result. | |
|
`-----------------------------------------------------*/ |
yyreturn: |
yyreturn: |
if (yychar != YYEMPTY) |
if (yychar != YYEMPTY) |
yydestruct ("Cleanup: discarding lookahead", |
{ |
yytoken, &yylval); |
/* Make sure we have latest lookahead translation. See comments at |
/* Do not reclaim the symbols of the rule which action triggered |
user semantic actions for why this is necessary. */ |
|
yytoken = YYTRANSLATE (yychar); |
|
yydestruct ("Cleanup: discarding lookahead", |
|
yytoken, &yylval); |
|
} |
|
/* Do not reclaim the symbols of the rule whose action triggered |
this YYABORT or YYACCEPT. */ |
this YYABORT or YYACCEPT. */ |
YYPOPSTACK (yylen); |
YYPOPSTACK (yylen); |
YY_STACK_PRINT (yyss, yyssp); |
YY_STACK_PRINT (yyss, yyssp); |
while (yyssp != yyss) |
while (yyssp != yyss) |
{ |
{ |
yydestruct ("Cleanup: popping", |
yydestruct ("Cleanup: popping", |
yystos[*yyssp], yyvsp); |
yystos[*yyssp], yyvsp); |
YYPOPSTACK (1); |
YYPOPSTACK (1); |
} |
} |
#ifndef yyoverflow |
#ifndef yyoverflow |
|
|
if (yymsg != yymsgbuf) |
if (yymsg != yymsgbuf) |
YYSTACK_FREE (yymsg); |
YYSTACK_FREE (yymsg); |
#endif |
#endif |
/* Make sure YYID is used. */ |
return yyresult; |
return YYID (yyresult); |
|
} |
} |
|
#line 470 "parse.y" /* yacc.c:1918 */ |
|
|
|
|
/* Line 1675 of yacc.c */ |
|
#line 460 "parse.y" |
|
|
|
|
|