3707 lines
148 KiB
Text
3707 lines
148 KiB
Text
/* A Bison parser, made by GNU Bison 2.3. */
|
||
|
||
/* Skeleton implementation for Bison's Yacc-like parsers in C
|
||
|
||
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
|
||
it under the terms of the GNU General Public License as published by
|
||
the Free Software Foundation; either version 2, or (at your option)
|
||
any later version.
|
||
|
||
This program is distributed in the hope that it will be useful,
|
||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
GNU General Public License for more details.
|
||
|
||
You should have received a copy of the GNU General Public License
|
||
along with this program; if not, write to the Free Software
|
||
Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||
Boston, MA 02110-1301, USA. */
|
||
|
||
/* As a special exception, you may create a larger work that contains
|
||
part or all of the Bison parser skeleton and distribute that work
|
||
under terms of your choice, so long as that work isn't itself a
|
||
parser generator using the skeleton or a modified version thereof
|
||
as a parser skeleton. Alternatively, if you modify or redistribute
|
||
the parser skeleton itself, you may (at your option) remove this
|
||
special exception, which will cause the skeleton and the resulting
|
||
Bison output files to be licensed under the GNU General Public
|
||
License without this special exception.
|
||
|
||
This special exception was added by the Free Software Foundation in
|
||
version 2.2 of Bison. */
|
||
|
||
/* C LALR(1) parser skeleton written by Richard Stallman, by
|
||
simplifying the original so-called "semantic" parser. */
|
||
|
||
/* All symbols defined below should begin with yy or YY, to avoid
|
||
infringing on user name space. This should be done even for local
|
||
variables, as they might otherwise be expanded by user macros.
|
||
There are some unavoidable exceptions within include files to
|
||
define necessary library symbols; they are noted "INFRINGES ON
|
||
USER NAME SPACE" below. */
|
||
|
||
/* Identify Bison output. */
|
||
#define YYBISON 1
|
||
|
||
/* Bison version. */
|
||
#define YYBISON_VERSION "2.3"
|
||
|
||
/* Skeleton name. */
|
||
#define YYSKELETON_NAME "yacc.c"
|
||
|
||
/* Pure parsers. */
|
||
#define YYPURE 0
|
||
|
||
/* Using locations. */
|
||
#define YYLSP_NEEDED 0
|
||
|
||
|
||
|
||
/* Tokens. */
|
||
#ifndef YYTOKENTYPE
|
||
# define YYTOKENTYPE
|
||
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
||
know about them. */
|
||
enum yytokentype {
|
||
FIRSTTOKEN = 258,
|
||
PROGRAM = 259,
|
||
PASTAT = 260,
|
||
PASTAT2 = 261,
|
||
XBEGIN = 262,
|
||
XEND = 263,
|
||
NL = 264,
|
||
ARRAY = 265,
|
||
MATCH = 266,
|
||
NOTMATCH = 267,
|
||
MATCHOP = 268,
|
||
FINAL = 269,
|
||
DOT = 270,
|
||
ALL = 271,
|
||
CCL = 272,
|
||
NCCL = 273,
|
||
CHAR = 274,
|
||
OR = 275,
|
||
STAR = 276,
|
||
QUEST = 277,
|
||
PLUS = 278,
|
||
EMPTYRE = 279,
|
||
AND = 280,
|
||
BOR = 281,
|
||
APPEND = 282,
|
||
EQ = 283,
|
||
GE = 284,
|
||
GT = 285,
|
||
LE = 286,
|
||
LT = 287,
|
||
NE = 288,
|
||
IN = 289,
|
||
ARG = 290,
|
||
BLTIN = 291,
|
||
BREAK = 292,
|
||
CLOSE = 293,
|
||
CONTINUE = 294,
|
||
DELETE = 295,
|
||
DO = 296,
|
||
EXIT = 297,
|
||
FOR = 298,
|
||
FUNC = 299,
|
||
SUB = 300,
|
||
GSUB = 301,
|
||
IF = 302,
|
||
INDEX = 303,
|
||
LSUBSTR = 304,
|
||
MATCHFCN = 305,
|
||
NEXT = 306,
|
||
NEXTFILE = 307,
|
||
ADD = 308,
|
||
MINUS = 309,
|
||
MULT = 310,
|
||
DIVIDE = 311,
|
||
MOD = 312,
|
||
ASSIGN = 313,
|
||
ASGNOP = 314,
|
||
ADDEQ = 315,
|
||
SUBEQ = 316,
|
||
MULTEQ = 317,
|
||
DIVEQ = 318,
|
||
MODEQ = 319,
|
||
POWEQ = 320,
|
||
PRINT = 321,
|
||
PRINTF = 322,
|
||
SPRINTF = 323,
|
||
ELSE = 324,
|
||
INTEST = 325,
|
||
CONDEXPR = 326,
|
||
POSTINCR = 327,
|
||
PREINCR = 328,
|
||
POSTDECR = 329,
|
||
PREDECR = 330,
|
||
VAR = 331,
|
||
IVAR = 332,
|
||
VARNF = 333,
|
||
CALL = 334,
|
||
NUMBER = 335,
|
||
STRING = 336,
|
||
REGEXPR = 337,
|
||
GETLINE = 338,
|
||
SUBSTR = 339,
|
||
SPLIT = 340,
|
||
RETURN = 341,
|
||
WHILE = 342,
|
||
CAT = 343,
|
||
UMINUS = 344,
|
||
NOT = 345,
|
||
POWER = 346,
|
||
INCR = 347,
|
||
DECR = 348,
|
||
INDIRECT = 349,
|
||
LASTTOKEN = 350
|
||
};
|
||
#endif
|
||
/* Tokens. */
|
||
#define FIRSTTOKEN 258
|
||
#define PROGRAM 259
|
||
#define PASTAT 260
|
||
#define PASTAT2 261
|
||
#define XBEGIN 262
|
||
#define XEND 263
|
||
#define NL 264
|
||
#define ARRAY 265
|
||
#define MATCH 266
|
||
#define NOTMATCH 267
|
||
#define MATCHOP 268
|
||
#define FINAL 269
|
||
#define DOT 270
|
||
#define ALL 271
|
||
#define CCL 272
|
||
#define NCCL 273
|
||
#define CHAR 274
|
||
#define OR 275
|
||
#define STAR 276
|
||
#define QUEST 277
|
||
#define PLUS 278
|
||
#define EMPTYRE 279
|
||
#define AND 280
|
||
#define BOR 281
|
||
#define APPEND 282
|
||
#define EQ 283
|
||
#define GE 284
|
||
#define GT 285
|
||
#define LE 286
|
||
#define LT 287
|
||
#define NE 288
|
||
#define IN 289
|
||
#define ARG 290
|
||
#define BLTIN 291
|
||
#define BREAK 292
|
||
#define CLOSE 293
|
||
#define CONTINUE 294
|
||
#define DELETE 295
|
||
#define DO 296
|
||
#define EXIT 297
|
||
#define FOR 298
|
||
#define FUNC 299
|
||
#define SUB 300
|
||
#define GSUB 301
|
||
#define IF 302
|
||
#define INDEX 303
|
||
#define LSUBSTR 304
|
||
#define MATCHFCN 305
|
||
#define NEXT 306
|
||
#define NEXTFILE 307
|
||
#define ADD 308
|
||
#define MINUS 309
|
||
#define MULT 310
|
||
#define DIVIDE 311
|
||
#define MOD 312
|
||
#define ASSIGN 313
|
||
#define ASGNOP 314
|
||
#define ADDEQ 315
|
||
#define SUBEQ 316
|
||
#define MULTEQ 317
|
||
#define DIVEQ 318
|
||
#define MODEQ 319
|
||
#define POWEQ 320
|
||
#define PRINT 321
|
||
#define PRINTF 322
|
||
#define SPRINTF 323
|
||
#define ELSE 324
|
||
#define INTEST 325
|
||
#define CONDEXPR 326
|
||
#define POSTINCR 327
|
||
#define PREINCR 328
|
||
#define POSTDECR 329
|
||
#define PREDECR 330
|
||
#define VAR 331
|
||
#define IVAR 332
|
||
#define VARNF 333
|
||
#define CALL 334
|
||
#define NUMBER 335
|
||
#define STRING 336
|
||
#define REGEXPR 337
|
||
#define GETLINE 338
|
||
#define SUBSTR 339
|
||
#define SPLIT 340
|
||
#define RETURN 341
|
||
#define WHILE 342
|
||
#define CAT 343
|
||
#define UMINUS 344
|
||
#define NOT 345
|
||
#define POWER 346
|
||
#define INCR 347
|
||
#define DECR 348
|
||
#define INDIRECT 349
|
||
#define LASTTOKEN 350
|
||
|
||
|
||
|
||
|
||
/* Copy the first part of user declarations. */
|
||
#line 25 "awkgram.y"
|
||
|
||
#include <stdio.h>
|
||
#include <string.h>
|
||
#include "awk.h"
|
||
|
||
void checkdup(Node *list, Cell *item);
|
||
int yywrap(void) { return(1); }
|
||
|
||
Node *beginloc = 0;
|
||
Node *endloc = 0;
|
||
int infunc = 0; /* = 1 if in arglist or body of func */
|
||
int inloop = 0; /* = 1 if in while, for, do */
|
||
char *curfname = 0; /* current function name */
|
||
Node *arglist = 0; /* list of args for current function */
|
||
|
||
|
||
/* Enabling traces. */
|
||
#ifndef YYDEBUG
|
||
# define YYDEBUG 0
|
||
#endif
|
||
|
||
/* Enabling verbose error messages. */
|
||
#ifdef YYERROR_VERBOSE
|
||
# undef YYERROR_VERBOSE
|
||
# define YYERROR_VERBOSE 1
|
||
#else
|
||
# define YYERROR_VERBOSE 0
|
||
#endif
|
||
|
||
/* Enabling the token table. */
|
||
#ifndef YYTOKEN_TABLE
|
||
# define YYTOKEN_TABLE 0
|
||
#endif
|
||
|
||
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||
typedef union YYSTYPE
|
||
#line 41 "awkgram.y"
|
||
{
|
||
Node *p;
|
||
Cell *cp;
|
||
int i;
|
||
char *s;
|
||
}
|
||
/* Line 193 of yacc.c. */
|
||
#line 309 "y.tab.c"
|
||
YYSTYPE;
|
||
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
||
# define YYSTYPE_IS_DECLARED 1
|
||
# define YYSTYPE_IS_TRIVIAL 1
|
||
#endif
|
||
|
||
|
||
|
||
/* Copy the second part of user declarations. */
|
||
|
||
|
||
/* Line 216 of yacc.c. */
|
||
#line 322 "y.tab.c"
|
||
|
||
#ifdef short
|
||
# undef short
|
||
#endif
|
||
|
||
#ifdef YYTYPE_UINT8
|
||
typedef YYTYPE_UINT8 yytype_uint8;
|
||
#else
|
||
typedef unsigned char yytype_uint8;
|
||
#endif
|
||
|
||
#ifdef YYTYPE_INT8
|
||
typedef YYTYPE_INT8 yytype_int8;
|
||
#elif (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
typedef signed char yytype_int8;
|
||
#else
|
||
typedef short int yytype_int8;
|
||
#endif
|
||
|
||
#ifdef YYTYPE_UINT16
|
||
typedef YYTYPE_UINT16 yytype_uint16;
|
||
#else
|
||
typedef unsigned short int yytype_uint16;
|
||
#endif
|
||
|
||
#ifdef YYTYPE_INT16
|
||
typedef YYTYPE_INT16 yytype_int16;
|
||
#else
|
||
typedef short int yytype_int16;
|
||
#endif
|
||
|
||
#ifndef YYSIZE_T
|
||
# ifdef __SIZE_TYPE__
|
||
# define YYSIZE_T __SIZE_TYPE__
|
||
# elif defined size_t
|
||
# define YYSIZE_T size_t
|
||
# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
|
||
# define YYSIZE_T size_t
|
||
# else
|
||
# define YYSIZE_T unsigned int
|
||
# endif
|
||
#endif
|
||
|
||
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
|
||
|
||
#ifndef YY_
|
||
# if defined YYENABLE_NLS && YYENABLE_NLS
|
||
# if ENABLE_NLS
|
||
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
|
||
# define YY_(msgid) dgettext ("bison-runtime", msgid)
|
||
# endif
|
||
# endif
|
||
# ifndef YY_
|
||
# define YY_(msgid) msgid
|
||
# endif
|
||
#endif
|
||
|
||
/* Suppress unused-variable warnings by "using" E. */
|
||
#if ! defined lint || defined __GNUC__
|
||
# define YYUSE(e) ((void) (e))
|
||
#else
|
||
# define YYUSE(e) /* empty */
|
||
#endif
|
||
|
||
/* Identity function, used to suppress warnings about constant conditions. */
|
||
#ifndef lint
|
||
# define YYID(n) (n)
|
||
#else
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static int
|
||
YYID (int i)
|
||
#else
|
||
static int
|
||
YYID (i)
|
||
int i;
|
||
#endif
|
||
{
|
||
return i;
|
||
}
|
||
#endif
|
||
|
||
#if ! defined yyoverflow || YYERROR_VERBOSE
|
||
|
||
/* The parser invokes alloca or malloc; define the necessary symbols. */
|
||
|
||
# ifdef YYSTACK_USE_ALLOCA
|
||
# if YYSTACK_USE_ALLOCA
|
||
# ifdef __GNUC__
|
||
# define YYSTACK_ALLOC __builtin_alloca
|
||
# elif defined __BUILTIN_VA_ARG_INCR
|
||
# include <alloca.h> /* INFRINGES ON USER NAME SPACE */
|
||
# elif defined _AIX
|
||
# define YYSTACK_ALLOC __alloca
|
||
# elif defined _MSC_VER
|
||
# include <malloc.h> /* INFRINGES ON USER NAME SPACE */
|
||
# define alloca _alloca
|
||
# else
|
||
# define YYSTACK_ALLOC alloca
|
||
# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
|
||
# ifndef _STDLIB_H
|
||
# define _STDLIB_H 1
|
||
# endif
|
||
# endif
|
||
# endif
|
||
# endif
|
||
# endif
|
||
|
||
# ifdef YYSTACK_ALLOC
|
||
/* Pacify GCC's `empty if-body' warning. */
|
||
# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
|
||
# ifndef YYSTACK_ALLOC_MAXIMUM
|
||
/* The OS might guarantee only one guard page at the bottom of the stack,
|
||
and a page size can be as small as 4096 bytes. So we cannot safely
|
||
invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
|
||
to allow for a few compiler-allocated temporary stack slots. */
|
||
# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
|
||
# endif
|
||
# else
|
||
# define YYSTACK_ALLOC YYMALLOC
|
||
# define YYSTACK_FREE YYFREE
|
||
# ifndef YYSTACK_ALLOC_MAXIMUM
|
||
# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
|
||
# endif
|
||
# if (defined __cplusplus && ! defined _STDLIB_H \
|
||
&& ! ((defined YYMALLOC || defined malloc) \
|
||
&& (defined YYFREE || defined free)))
|
||
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
|
||
# ifndef _STDLIB_H
|
||
# define _STDLIB_H 1
|
||
# endif
|
||
# endif
|
||
# ifndef YYMALLOC
|
||
# define YYMALLOC malloc
|
||
# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
|
||
# endif
|
||
# endif
|
||
# ifndef YYFREE
|
||
# define YYFREE free
|
||
# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
void free (void *); /* INFRINGES ON USER NAME SPACE */
|
||
# endif
|
||
# endif
|
||
# endif
|
||
#endif /* ! defined yyoverflow || YYERROR_VERBOSE */
|
||
|
||
|
||
#if (! defined yyoverflow \
|
||
&& (! defined __cplusplus \
|
||
|| (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
|
||
|
||
/* A type that is properly aligned for any stack member. */
|
||
union yyalloc
|
||
{
|
||
yytype_int16 yyss;
|
||
YYSTYPE yyvs;
|
||
};
|
||
|
||
/* The size of the maximum gap between one aligned stack and the next. */
|
||
# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
|
||
|
||
/* The size of an array large to enough to hold all stacks, each with
|
||
N elements. */
|
||
# define YYSTACK_BYTES(N) \
|
||
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
|
||
+ YYSTACK_GAP_MAXIMUM)
|
||
|
||
/* Copy COUNT objects from FROM to TO. The source and destination do
|
||
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
|
||
local variables YYSIZE and YYSTACKSIZE give the old and new number of
|
||
elements in the stack, and YYPTR gives the new location of the
|
||
stack. Advance YYPTR to a properly aligned location for the next
|
||
stack. */
|
||
# define YYSTACK_RELOCATE(Stack) \
|
||
do \
|
||
{ \
|
||
YYSIZE_T yynewbytes; \
|
||
YYCOPY (&yyptr->Stack, Stack, yysize); \
|
||
Stack = &yyptr->Stack; \
|
||
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
|
||
yyptr += yynewbytes / sizeof (*yyptr); \
|
||
} \
|
||
while (YYID (0))
|
||
|
||
#endif
|
||
|
||
/* YYFINAL -- State number of the termination state. */
|
||
#define YYFINAL 8
|
||
/* YYLAST -- Last index in YYTABLE. */
|
||
#define YYLAST 4600
|
||
|
||
/* YYNTOKENS -- Number of terminals. */
|
||
#define YYNTOKENS 112
|
||
/* YYNNTS -- Number of nonterminals. */
|
||
#define YYNNTS 49
|
||
/* YYNRULES -- Number of rules. */
|
||
#define YYNRULES 185
|
||
/* YYNRULES -- Number of states. */
|
||
#define YYNSTATES 367
|
||
|
||
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
|
||
#define YYUNDEFTOK 2
|
||
#define YYMAXUTOK 350
|
||
|
||
#define YYTRANSLATE(YYX) \
|
||
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
|
||
|
||
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
|
||
static const yytype_uint8 yytranslate[] =
|
||
{
|
||
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 104, 2, 2,
|
||
12, 16, 103, 101, 9, 102, 2, 15, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 94, 14,
|
||
2, 2, 2, 93, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 18, 2, 19, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 11, 13, 17, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
|
||
5, 6, 7, 8, 10, 20, 21, 22, 23, 24,
|
||
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
||
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
||
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
||
55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
|
||
65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
|
||
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
|
||
85, 86, 87, 88, 89, 90, 91, 92, 95, 96,
|
||
97, 98, 99, 100, 105, 106, 107, 108, 109, 110,
|
||
111
|
||
};
|
||
|
||
#if YYDEBUG
|
||
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
|
||
YYRHS. */
|
||
static const yytype_uint16 yyprhs[] =
|
||
{
|
||
0, 0, 3, 5, 7, 9, 12, 14, 17, 19,
|
||
22, 24, 27, 29, 32, 33, 46, 47, 58, 59,
|
||
68, 70, 72, 77, 79, 82, 84, 87, 88, 90,
|
||
91, 93, 94, 96, 98, 102, 104, 106, 111, 115,
|
||
122, 126, 131, 136, 137, 147, 149, 153, 155, 159,
|
||
163, 169, 173, 177, 181, 185, 189, 195, 198, 200,
|
||
202, 206, 212, 216, 220, 224, 228, 232, 236, 240,
|
||
244, 248, 252, 256, 262, 267, 271, 274, 276, 278,
|
||
282, 286, 288, 292, 293, 295, 299, 301, 303, 305,
|
||
307, 310, 313, 315, 318, 320, 323, 324, 329, 331,
|
||
334, 339, 344, 349, 352, 358, 361, 363, 365, 367,
|
||
370, 373, 376, 377, 378, 388, 392, 395, 397, 402,
|
||
405, 409, 412, 415, 419, 422, 425, 426, 430, 433,
|
||
435, 438, 440, 442, 447, 451, 455, 459, 463, 467,
|
||
471, 474, 477, 480, 484, 489, 491, 495, 500, 503,
|
||
506, 509, 512, 515, 520, 524, 527, 529, 536, 543,
|
||
547, 554, 561, 563, 572, 581, 588, 593, 595, 602,
|
||
609, 618, 627, 636, 643, 645, 647, 652, 654, 657,
|
||
658, 660, 664, 666, 668, 670
|
||
};
|
||
|
||
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
|
||
static const yytype_int16 yyrhs[] =
|
||
{
|
||
113, 0, -1, 130, -1, 1, -1, 35, -1, 114,
|
||
10, -1, 36, -1, 115, 10, -1, 9, -1, 116,
|
||
10, -1, 51, -1, 117, 10, -1, 79, -1, 118,
|
||
10, -1, -1, 53, 12, 129, 14, 127, 137, 14,
|
||
127, 129, 147, 120, 150, -1, -1, 53, 12, 129,
|
||
14, 14, 127, 129, 147, 121, 150, -1, -1, 53,
|
||
12, 159, 44, 159, 147, 122, 150, -1, 86, -1,
|
||
89, -1, 57, 12, 137, 147, -1, 11, -1, 125,
|
||
10, -1, 10, -1, 126, 10, -1, -1, 126, -1,
|
||
-1, 142, -1, -1, 148, -1, 128, -1, 128, 134,
|
||
128, -1, 137, -1, 131, -1, 131, 125, 154, 17,
|
||
-1, 131, 9, 131, -1, 131, 9, 131, 125, 154,
|
||
17, -1, 125, 154, 17, -1, 7, 125, 154, 17,
|
||
-1, 8, 125, 154, 17, -1, -1, 54, 123, 12,
|
||
158, 147, 133, 125, 154, 17, -1, 132, -1, 134,
|
||
128, 132, -1, 137, -1, 135, 116, 137, -1, 157,
|
||
69, 136, -1, 136, 93, 136, 94, 136, -1, 136,
|
||
115, 136, -1, 136, 114, 136, -1, 136, 23, 145,
|
||
-1, 136, 23, 136, -1, 136, 44, 159, -1, 12,
|
||
138, 16, 44, 159, -1, 136, 156, -1, 144, -1,
|
||
156, -1, 157, 69, 137, -1, 137, 93, 137, 94,
|
||
137, -1, 137, 115, 137, -1, 137, 114, 137, -1,
|
||
137, 38, 137, -1, 137, 39, 137, -1, 137, 40,
|
||
137, -1, 137, 41, 137, -1, 137, 42, 137, -1,
|
||
137, 43, 137, -1, 137, 23, 145, -1, 137, 23,
|
||
137, -1, 137, 44, 159, -1, 12, 138, 16, 44,
|
||
159, -1, 137, 13, 95, 157, -1, 137, 13, 95,
|
||
-1, 137, 156, -1, 144, -1, 156, -1, 137, 116,
|
||
137, -1, 138, 116, 137, -1, 136, -1, 139, 116,
|
||
136, -1, -1, 139, -1, 12, 138, 16, -1, 76,
|
||
-1, 77, -1, 10, -1, 14, -1, 142, 10, -1,
|
||
142, 14, -1, 17, -1, 143, 10, -1, 145, -1,
|
||
106, 144, -1, -1, 15, 146, 92, 15, -1, 16,
|
||
-1, 147, 10, -1, 141, 140, 13, 156, -1, 141,
|
||
140, 37, 156, -1, 141, 140, 40, 156, -1, 141,
|
||
140, -1, 50, 159, 18, 135, 19, -1, 50, 159,
|
||
-1, 137, -1, 1, -1, 126, -1, 14, 127, -1,
|
||
47, 149, -1, 49, 149, -1, -1, -1, 117, 151,
|
||
150, 152, 99, 12, 137, 16, 149, -1, 52, 137,
|
||
149, -1, 52, 149, -1, 119, -1, 124, 150, 118,
|
||
150, -1, 124, 150, -1, 125, 154, 143, -1, 61,
|
||
149, -1, 62, 149, -1, 98, 137, 149, -1, 98,
|
||
149, -1, 148, 149, -1, -1, 160, 153, 150, -1,
|
||
14, 127, -1, 150, -1, 154, 150, -1, 55, -1,
|
||
56, -1, 156, 15, 69, 156, -1, 156, 101, 156,
|
||
-1, 156, 102, 156, -1, 156, 103, 156, -1, 156,
|
||
15, 156, -1, 156, 104, 156, -1, 156, 107, 156,
|
||
-1, 102, 156, -1, 101, 156, -1, 106, 156, -1,
|
||
46, 12, 16, -1, 46, 12, 135, 16, -1, 46,
|
||
-1, 89, 12, 16, -1, 89, 12, 135, 16, -1,
|
||
48, 156, -1, 109, 157, -1, 108, 157, -1, 157,
|
||
109, -1, 157, 108, -1, 95, 157, 42, 156, -1,
|
||
95, 42, 156, -1, 95, 157, -1, 95, -1, 58,
|
||
12, 137, 116, 137, 16, -1, 58, 12, 137, 116,
|
||
145, 16, -1, 12, 137, 16, -1, 60, 12, 137,
|
||
116, 145, 16, -1, 60, 12, 137, 116, 137, 16,
|
||
-1, 90, -1, 97, 12, 137, 116, 159, 116, 137,
|
||
16, -1, 97, 12, 137, 116, 159, 116, 145, 16,
|
||
-1, 97, 12, 137, 116, 159, 16, -1, 78, 12,
|
||
135, 16, -1, 91, -1, 155, 12, 145, 116, 137,
|
||
16, -1, 155, 12, 137, 116, 137, 16, -1, 155,
|
||
12, 145, 116, 137, 116, 157, 16, -1, 155, 12,
|
||
137, 116, 137, 116, 157, 16, -1, 96, 12, 137,
|
||
116, 137, 116, 137, 16, -1, 96, 12, 137, 116,
|
||
137, 16, -1, 157, -1, 159, -1, 159, 18, 135,
|
||
19, -1, 87, -1, 110, 156, -1, -1, 86, -1,
|
||
158, 116, 86, -1, 86, -1, 45, -1, 88, -1,
|
||
99, 12, 137, 147, -1
|
||
};
|
||
|
||
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
|
||
static const yytype_uint16 yyrline[] =
|
||
{
|
||
0, 98, 98, 100, 104, 104, 108, 108, 112, 112,
|
||
116, 116, 120, 120, 124, 124, 126, 126, 128, 128,
|
||
133, 134, 138, 142, 142, 146, 146, 150, 151, 155,
|
||
156, 161, 162, 166, 167, 171, 175, 176, 177, 178,
|
||
179, 180, 182, 184, 184, 189, 190, 194, 195, 199,
|
||
200, 202, 204, 206, 207, 212, 213, 214, 215, 216,
|
||
220, 221, 223, 225, 227, 228, 229, 230, 231, 232,
|
||
233, 234, 239, 240, 241, 244, 247, 248, 249, 253,
|
||
254, 258, 259, 263, 264, 265, 269, 269, 273, 273,
|
||
273, 273, 277, 277, 281, 283, 287, 287, 291, 291,
|
||
295, 298, 301, 304, 305, 306, 307, 308, 312, 313,
|
||
317, 319, 321, 321, 321, 323, 324, 325, 326, 327,
|
||
328, 329, 332, 335, 336, 337, 338, 338, 339, 343,
|
||
344, 348, 348, 352, 353, 354, 355, 356, 357, 358,
|
||
359, 360, 361, 362, 363, 364, 365, 366, 367, 368,
|
||
369, 370, 371, 372, 373, 374, 375, 376, 378, 381,
|
||
382, 384, 389, 390, 392, 394, 396, 397, 398, 400,
|
||
405, 407, 412, 414, 416, 420, 421, 422, 423, 427,
|
||
428, 429, 435, 436, 437, 442
|
||
};
|
||
#endif
|
||
|
||
#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
|
||
/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
|
||
First, the terminals, then, starting at YYNTOKENS, nonterminals. */
|
||
static const char *const yytname[] =
|
||
{
|
||
"$end", "error", "$undefined", "FIRSTTOKEN", "PROGRAM", "PASTAT",
|
||
"PASTAT2", "XBEGIN", "XEND", "','", "NL", "'{'", "'('", "'|'", "';'",
|
||
"'/'", "')'", "'}'", "'['", "']'", "ARRAY", "MATCH", "NOTMATCH",
|
||
"MATCHOP", "FINAL", "DOT", "ALL", "CCL", "NCCL", "CHAR", "OR", "STAR",
|
||
"QUEST", "PLUS", "EMPTYRE", "AND", "BOR", "APPEND", "EQ", "GE", "GT",
|
||
"LE", "LT", "NE", "IN", "ARG", "BLTIN", "BREAK", "CLOSE", "CONTINUE",
|
||
"DELETE", "DO", "EXIT", "FOR", "FUNC", "SUB", "GSUB", "IF", "INDEX",
|
||
"LSUBSTR", "MATCHFCN", "NEXT", "NEXTFILE", "ADD", "MINUS", "MULT",
|
||
"DIVIDE", "MOD", "ASSIGN", "ASGNOP", "ADDEQ", "SUBEQ", "MULTEQ", "DIVEQ",
|
||
"MODEQ", "POWEQ", "PRINT", "PRINTF", "SPRINTF", "ELSE", "INTEST",
|
||
"CONDEXPR", "POSTINCR", "PREINCR", "POSTDECR", "PREDECR", "VAR", "IVAR",
|
||
"VARNF", "CALL", "NUMBER", "STRING", "REGEXPR", "'?'", "':'", "GETLINE",
|
||
"SUBSTR", "SPLIT", "RETURN", "WHILE", "CAT", "'+'", "'-'", "'*'", "'%'",
|
||
"UMINUS", "NOT", "POWER", "INCR", "DECR", "INDIRECT", "LASTTOKEN",
|
||
"$accept", "program", "and", "bor", "comma", "do", "else", "for", "@1",
|
||
"@2", "@3", "funcname", "if", "lbrace", "nl", "opt_nl", "opt_pst",
|
||
"opt_simple_stmt", "pas", "pa_pat", "pa_stat", "@4", "pa_stats",
|
||
"patlist", "ppattern", "pattern", "plist", "pplist", "prarg", "print",
|
||
"pst", "rbrace", "re", "reg_expr", "@5", "rparen", "simple_stmt", "st",
|
||
"stmt", "@6", "@7", "@8", "stmtlist", "subop", "term", "var", "varlist",
|
||
"varname", "while", 0
|
||
};
|
||
#endif
|
||
|
||
# ifdef YYPRINT
|
||
/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
|
||
token YYLEX-NUM. */
|
||
static const yytype_uint16 yytoknum[] =
|
||
{
|
||
0, 256, 257, 258, 259, 260, 261, 262, 263, 44,
|
||
264, 123, 40, 124, 59, 47, 41, 125, 91, 93,
|
||
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
|
||
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
|
||
285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
|
||
295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
|
||
305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
|
||
315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
|
||
325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
|
||
335, 336, 337, 63, 58, 338, 339, 340, 341, 342,
|
||
343, 43, 45, 42, 37, 344, 345, 346, 347, 348,
|
||
349, 350
|
||
};
|
||
# endif
|
||
|
||
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
|
||
static const yytype_uint8 yyr1[] =
|
||
{
|
||
0, 112, 113, 113, 114, 114, 115, 115, 116, 116,
|
||
117, 117, 118, 118, 120, 119, 121, 119, 122, 119,
|
||
123, 123, 124, 125, 125, 126, 126, 127, 127, 128,
|
||
128, 129, 129, 130, 130, 131, 132, 132, 132, 132,
|
||
132, 132, 132, 133, 132, 134, 134, 135, 135, 136,
|
||
136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
|
||
137, 137, 137, 137, 137, 137, 137, 137, 137, 137,
|
||
137, 137, 137, 137, 137, 137, 137, 137, 137, 138,
|
||
138, 139, 139, 140, 140, 140, 141, 141, 142, 142,
|
||
142, 142, 143, 143, 144, 144, 146, 145, 147, 147,
|
||
148, 148, 148, 148, 148, 148, 148, 148, 149, 149,
|
||
150, 150, 151, 152, 150, 150, 150, 150, 150, 150,
|
||
150, 150, 150, 150, 150, 150, 153, 150, 150, 154,
|
||
154, 155, 155, 156, 156, 156, 156, 156, 156, 156,
|
||
156, 156, 156, 156, 156, 156, 156, 156, 156, 156,
|
||
156, 156, 156, 156, 156, 156, 156, 156, 156, 156,
|
||
156, 156, 156, 156, 156, 156, 156, 156, 156, 156,
|
||
156, 156, 156, 156, 156, 157, 157, 157, 157, 158,
|
||
158, 158, 159, 159, 159, 160
|
||
};
|
||
|
||
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
|
||
static const yytype_uint8 yyr2[] =
|
||
{
|
||
0, 2, 1, 1, 1, 2, 1, 2, 1, 2,
|
||
1, 2, 1, 2, 0, 12, 0, 10, 0, 8,
|
||
1, 1, 4, 1, 2, 1, 2, 0, 1, 0,
|
||
1, 0, 1, 1, 3, 1, 1, 4, 3, 6,
|
||
3, 4, 4, 0, 9, 1, 3, 1, 3, 3,
|
||
5, 3, 3, 3, 3, 3, 5, 2, 1, 1,
|
||
3, 5, 3, 3, 3, 3, 3, 3, 3, 3,
|
||
3, 3, 3, 5, 4, 3, 2, 1, 1, 3,
|
||
3, 1, 3, 0, 1, 3, 1, 1, 1, 1,
|
||
2, 2, 1, 2, 1, 2, 0, 4, 1, 2,
|
||
4, 4, 4, 2, 5, 2, 1, 1, 1, 2,
|
||
2, 2, 0, 0, 9, 3, 2, 1, 4, 2,
|
||
3, 2, 2, 3, 2, 2, 0, 3, 2, 1,
|
||
2, 1, 1, 4, 3, 3, 3, 3, 3, 3,
|
||
2, 2, 2, 3, 4, 1, 3, 4, 2, 2,
|
||
2, 2, 2, 4, 3, 2, 1, 6, 6, 3,
|
||
6, 6, 1, 8, 8, 6, 4, 1, 6, 6,
|
||
8, 8, 8, 6, 1, 1, 4, 1, 2, 0,
|
||
1, 3, 1, 1, 1, 4
|
||
};
|
||
|
||
/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
|
||
STATE-NUM when YYTABLE doesn't specify something else to do. Zero
|
||
means the default is an error. */
|
||
static const yytype_uint8 yydefact[] =
|
||
{
|
||
0, 3, 88, 89, 0, 33, 2, 30, 1, 0,
|
||
0, 23, 0, 96, 183, 145, 0, 0, 131, 132,
|
||
0, 0, 0, 182, 177, 184, 0, 162, 167, 156,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 36,
|
||
45, 29, 35, 77, 94, 0, 78, 174, 175, 90,
|
||
91, 0, 0, 0, 0, 0, 0, 0, 0, 148,
|
||
174, 20, 21, 0, 0, 0, 0, 0, 0, 155,
|
||
0, 0, 141, 140, 95, 142, 150, 149, 178, 107,
|
||
24, 27, 0, 0, 0, 10, 0, 0, 0, 0,
|
||
0, 86, 87, 0, 0, 112, 117, 0, 0, 106,
|
||
83, 0, 129, 0, 126, 0, 0, 34, 0, 0,
|
||
4, 6, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 76, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 152, 151, 0, 0, 0, 8, 159, 0, 0,
|
||
0, 0, 143, 0, 47, 0, 179, 0, 0, 0,
|
||
146, 0, 154, 0, 0, 0, 25, 28, 128, 27,
|
||
108, 110, 111, 105, 0, 116, 0, 0, 121, 122,
|
||
0, 124, 0, 11, 0, 119, 0, 0, 81, 84,
|
||
103, 58, 59, 174, 125, 40, 130, 0, 38, 0,
|
||
46, 75, 71, 70, 64, 65, 66, 67, 68, 69,
|
||
72, 0, 5, 63, 7, 62, 0, 94, 0, 137,
|
||
134, 135, 136, 138, 139, 60, 0, 41, 42, 9,
|
||
79, 0, 80, 97, 144, 0, 180, 0, 0, 0,
|
||
166, 147, 153, 0, 0, 26, 109, 0, 115, 0,
|
||
32, 175, 0, 123, 0, 113, 12, 0, 92, 120,
|
||
0, 0, 0, 0, 0, 0, 57, 0, 0, 0,
|
||
0, 0, 127, 0, 37, 74, 0, 0, 0, 133,
|
||
176, 73, 48, 98, 0, 43, 0, 94, 0, 94,
|
||
0, 0, 0, 27, 0, 22, 185, 0, 13, 118,
|
||
93, 85, 0, 54, 53, 55, 0, 52, 51, 82,
|
||
100, 101, 102, 49, 0, 61, 0, 0, 181, 99,
|
||
0, 157, 158, 161, 160, 173, 0, 165, 0, 104,
|
||
27, 0, 0, 0, 0, 0, 0, 39, 169, 0,
|
||
168, 0, 0, 0, 0, 94, 0, 0, 18, 0,
|
||
56, 0, 50, 0, 0, 0, 172, 163, 164, 0,
|
||
27, 0, 0, 171, 170, 44, 16, 0, 19, 0,
|
||
0, 0, 114, 17, 14, 0, 15
|
||
};
|
||
|
||
/* YYDEFGOTO[NTERM-NUM]. */
|
||
static const yytype_int16 yydefgoto[] =
|
||
{
|
||
-1, 4, 120, 121, 225, 95, 247, 96, 365, 360,
|
||
351, 63, 97, 98, 160, 158, 5, 239, 6, 39,
|
||
40, 310, 41, 143, 178, 99, 54, 179, 180, 100,
|
||
7, 249, 43, 44, 55, 275, 101, 161, 102, 174,
|
||
287, 187, 103, 45, 46, 47, 227, 48, 104
|
||
};
|
||
|
||
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
|
||
STATE-NUM. */
|
||
#define YYPACT_NINF -322
|
||
static const yytype_int16 yypact[] =
|
||
{
|
||
680, -322, -322, -322, 25, 1583, -322, 17, -322, 34,
|
||
34, -322, 4136, -322, -322, 39, 4490, 16, -322, -322,
|
||
44, 63, 74, -322, -322, -322, 92, -322, -322, 255,
|
||
102, 133, 4490, 4490, 4195, -40, -40, 4490, 811, 113,
|
||
-322, 55, 3462, -322, -322, 143, -4, -35, 76, -322,
|
||
-322, 811, 811, 1674, 62, -12, 3959, 4136, 4490, -4,
|
||
52, -322, -322, 160, 4136, 4136, 4136, 4018, 4490, 83,
|
||
4136, 4136, 66, 66, -322, 66, -322, -322, -322, -322,
|
||
-322, 176, 82, 82, -33, -322, 2198, 188, 190, 82,
|
||
82, -322, -322, 2198, 199, 178, -322, 1424, 811, 3462,
|
||
4254, 82, -322, 879, -322, 4136, 811, 1583, 117, 4136,
|
||
-322, -322, 4136, 4136, 4136, 4136, 4136, 4136, -33, 4136,
|
||
2257, 2316, -4, 4136, 4313, 4490, 4490, 4490, 4490, 4490,
|
||
4136, -322, -322, 4136, 947, 1015, -322, -322, 2375, 173,
|
||
2375, 203, -322, 124, 3462, 2643, 138, 2038, 2038, 140,
|
||
-322, 149, -4, 4490, 2038, 2038, -322, 217, -322, 176,
|
||
217, -322, -322, 212, 2139, -322, 1491, 4136, -322, -322,
|
||
2139, -322, 4136, -322, 1424, 152, 1083, 4136, 3841, 223,
|
||
22, -322, -4, -2, -322, -322, -322, 1424, 34, 1151,
|
||
-322, -40, 3713, -322, 3713, 3713, 3713, 3713, 3713, 3713,
|
||
-322, 2734, -322, 3633, -322, 3553, 2038, 223, 4490, 66,
|
||
169, 169, 66, 66, 66, 3462, 21, -322, -322, -322,
|
||
3462, -33, 3462, -322, -322, 2375, -322, 154, 2375, 2375,
|
||
-322, -322, -4, 2375, 31, -322, -322, 4136, -322, 219,
|
||
-322, -11, 2825, -322, 2825, -322, -322, 1220, -322, 224,
|
||
155, 4372, -33, 4372, 2434, 2493, -4, 2552, 4490, 4490,
|
||
4490, 4372, -322, 811, -322, -322, 4136, 2375, 2375, -4,
|
||
-322, -322, 3462, -322, 4, 226, 2916, 230, 3007, 231,
|
||
1765, 189, 68, 106, -33, 226, 226, 153, -322, -322,
|
||
-322, 204, 4136, 4431, -322, -322, 3772, 4077, 3900, 3841,
|
||
-4, -4, -4, 3841, 1288, 3462, 1856, 1947, -322, -322,
|
||
34, -322, -322, -322, -322, -322, 2375, -322, 2375, -322,
|
||
176, 4136, 239, 245, -33, 192, 4372, -322, -322, 56,
|
||
-322, 56, 811, 3098, 3189, 247, 1558, 3280, 226, 4136,
|
||
-322, 204, 3841, 250, 258, 1356, -322, -322, -322, 239,
|
||
176, 1424, 3371, -322, -322, -322, 226, 1558, -322, 82,
|
||
1424, 239, -322, -322, 226, 1424, -322
|
||
};
|
||
|
||
/* YYPGOTO[NTERM-NUM]. */
|
||
static const yytype_int16 yypgoto[] =
|
||
{
|
||
-322, -322, -146, -83, 200, -322, -322, -322, -322, -322,
|
||
-322, -322, -322, 19, -80, -153, 220, -321, -322, 174,
|
||
171, -322, -322, -44, 14, 526, -174, -322, -322, -322,
|
||
-322, -322, -32, -60, -322, -234, -162, -29, -53, -322,
|
||
-322, -322, -13, -322, 269, -16, -322, -75, -322
|
||
};
|
||
|
||
/* 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 -32
|
||
static const yytype_int16 yytable[] =
|
||
{
|
||
60, 157, 74, 250, 240, 14, 236, 133, 285, 163,
|
||
286, 124, 14, 69, 219, 349, 60, 60, 60, 76,
|
||
77, 60, 149, 151, 38, 8, 60, 49, 51, 52,
|
||
136, 50, 254, 284, 130, 258, 361, 60, 134, 135,
|
||
270, 219, 60, 200, 175, 11, 23, 24, 25, 193,
|
||
186, 56, 60, 23, 162, 25, 64, 165, 106, 259,
|
||
168, 169, 260, 207, 171, 2, 219, 261, 181, 3,
|
||
37, 136, 184, 131, 132, 65, 14, 136, 139, 157,
|
||
141, 186, 186, 60, 183, 176, 66, 319, 338, 216,
|
||
308, 241, 156, 189, 133, 255, 159, 125, 126, 127,
|
||
128, 14, 61, 129, 67, 62, 131, 132, 60, 60,
|
||
60, 60, 60, 60, 70, 356, 156, 23, 325, 25,
|
||
320, 245, 105, 186, 11, 153, 38, 364, 60, 60,
|
||
321, 60, 60, 136, 262, 238, 186, 60, 60, 60,
|
||
224, 243, 23, 24, 25, 71, 271, 254, 60, 136,
|
||
254, 254, 254, 254, 60, 123, 230, 254, 136, 281,
|
||
131, 132, 60, 136, 136, 231, 37, 336, 277, 279,
|
||
273, 291, 146, 129, 240, 265, 60, 295, 60, 60,
|
||
60, 60, 60, 60, 124, 60, 156, 60, 173, 60,
|
||
60, 294, 60, 282, 289, 240, 254, 357, 136, 60,
|
||
166, 136, 167, 157, 60, 317, 60, 263, 341, 322,
|
||
255, 172, 191, 255, 255, 255, 255, 221, 223, 181,
|
||
255, 181, 181, 181, 226, 181, 60, 235, 60, 181,
|
||
237, 246, 136, 283, 290, 183, 309, 183, 183, 183,
|
||
157, 183, 60, 60, 60, 183, 312, 314, 324, 340,
|
||
304, 186, 323, 138, 140, 273, 60, 339, 335, 255,
|
||
60, 107, 60, 348, 60, 293, 353, 296, 297, 298,
|
||
157, 299, 127, 128, 354, 303, 129, 60, 190, 188,
|
||
60, 60, 60, 60, 0, 59, 0, 60, 0, 60,
|
||
60, 60, 186, 0, 181, 0, 0, 68, 358, 0,
|
||
14, 72, 73, 75, 0, 0, 78, 363, 0, 0,
|
||
183, 122, 366, 343, 0, 344, 0, 60, 60, 345,
|
||
0, 60, 122, 0, 0, 0, 60, 75, 0, 332,
|
||
362, 0, 0, 0, 0, 0, 60, 152, 0, 0,
|
||
342, 23, 24, 25, 0, 0, 0, 228, 229, 0,
|
||
0, 0, 0, 0, 233, 234, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 37, 0, 0, 122, 182,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 257,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 209, 210, 211, 212, 213, 214, 0,
|
||
0, 0, 0, 0, 0, 0, 267, 268, 0, 0,
|
||
0, 0, 0, 122, 122, 0, 122, 122, 0, 0,
|
||
0, 0, 232, 122, 122, 0, 0, 274, 0, 0,
|
||
0, 0, 0, 122, 0, 0, 0, 0, 0, 122,
|
||
0, 0, 0, 0, 0, 0, 0, 256, 0, 0,
|
||
140, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 122, 0, 122, 122, 122, 122, 122, 122, 0,
|
||
122, 0, 122, 0, 122, 122, 0, 269, 0, 0,
|
||
316, 318, 0, 0, 122, 0, 0, 0, 0, 122,
|
||
0, 122, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 329, 331, 0, 0,
|
||
0, 122, 0, 122, 0, 0, 0, 0, 0, 0,
|
||
182, 0, 182, 182, 182, 140, 182, 300, 301, 302,
|
||
182, 42, 0, 0, 0, 0, 0, 0, 53, 0,
|
||
0, 122, 0, 0, 0, 122, 0, 122, 0, 122,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 256, 0, 0, 256, 256, 256, 256, 0,
|
||
0, 0, 256, 0, 122, 122, 122, 0, 0, 0,
|
||
0, 0, 144, 145, 0, 0, 0, 0, 0, 0,
|
||
147, 148, 144, 144, 0, 182, 154, 155, 0, 0,
|
||
0, 0, 122, 122, 0, 0, 122, 0, 0, 0,
|
||
0, 256, 164, 0, 0, 0, 0, 0, 0, 170,
|
||
0, 122, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 42, 0, 42, 0, 192, 0, 0, 194, 195,
|
||
196, 197, 198, 199, 0, 201, 203, 205, 0, 206,
|
||
0, 0, 0, 0, 0, 0, 215, 0, 0, 144,
|
||
0, 0, 0, 0, 220, 0, 222, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
-29, 1, 0, 0, 0, 0, 0, -29, -29, 0,
|
||
2, -29, -29, 242, 3, -29, 0, 0, 244, 0,
|
||
0, 0, 0, 53, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, -29, -29, 0, -29, 0,
|
||
0, 0, 0, 0, -29, -29, -29, 0, -29, 0,
|
||
-29, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 272, 0, 0, 276, 278, 0, 0, -29, 280,
|
||
0, 0, 0, 144, 0, 0, -29, -29, -29, -29,
|
||
-29, -29, 0, 0, 0, -29, -29, -29, 0, 0,
|
||
0, -29, -29, 0, 0, 0, -29, 0, -29, -29,
|
||
-29, 0, 305, 306, 307, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 79, 0, 0, 0, 0, 0, 53, 0,
|
||
0, 80, 11, 12, 0, 81, 13, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 333, 0, 334, 0, 0, 337, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 14, 15, 82, 16,
|
||
83, 84, 85, 86, 87, 352, 18, 19, 88, 20,
|
||
0, 21, 89, 90, 0, 0, 0, 0, 0, 0,
|
||
79, 0, 0, 0, 0, 0, 0, 91, 92, 22,
|
||
11, 12, 0, 81, 13, 0, 185, 23, 24, 25,
|
||
26, 27, 28, 0, 0, 0, 29, 30, 31, 93,
|
||
94, 0, 32, 33, 0, 0, 0, 34, 0, 35,
|
||
36, 37, 0, 0, 14, 15, 82, 16, 83, 84,
|
||
85, 86, 87, 0, 18, 19, 88, 20, 0, 21,
|
||
89, 90, 0, 0, 0, 0, 0, 0, 79, 0,
|
||
0, 0, 0, 0, 0, 91, 92, 22, 11, 12,
|
||
0, 81, 13, 0, 217, 23, 24, 25, 26, 27,
|
||
28, 0, 0, 0, 29, 30, 31, 93, 94, 0,
|
||
32, 33, 0, 0, 0, 34, 0, 35, 36, 37,
|
||
0, 0, 14, 15, 82, 16, 83, 84, 85, 86,
|
||
87, 0, 18, 19, 88, 20, 0, 21, 89, 90,
|
||
0, 0, 0, 0, 0, 0, 79, 0, 0, 0,
|
||
0, 0, 0, 91, 92, 22, 11, 12, 0, 81,
|
||
13, 0, 218, 23, 24, 25, 26, 27, 28, 0,
|
||
0, 0, 29, 30, 31, 93, 94, 0, 32, 33,
|
||
0, 0, 0, 34, 0, 35, 36, 37, 0, 0,
|
||
14, 15, 82, 16, 83, 84, 85, 86, 87, 0,
|
||
18, 19, 88, 20, 0, 21, 89, 90, 0, 0,
|
||
0, 0, 0, 0, 79, 0, 0, 0, 0, 0,
|
||
0, 91, 92, 22, 11, 12, 0, 81, 13, 0,
|
||
248, 23, 24, 25, 26, 27, 28, 0, 0, 0,
|
||
29, 30, 31, 93, 94, 0, 32, 33, 0, 0,
|
||
0, 34, 0, 35, 36, 37, 0, 0, 14, 15,
|
||
82, 16, 83, 84, 85, 86, 87, 0, 18, 19,
|
||
88, 20, 0, 21, 89, 90, 0, 0, 0, 0,
|
||
0, 0, 79, 0, 0, 0, 0, 0, 0, 91,
|
||
92, 22, 11, 12, 0, 81, 13, 0, 264, 23,
|
||
24, 25, 26, 27, 28, 0, 0, 0, 29, 30,
|
||
31, 93, 94, 0, 32, 33, 0, 0, 0, 34,
|
||
0, 35, 36, 37, 0, 0, 14, 15, 82, 16,
|
||
83, 84, 85, 86, 87, 0, 18, 19, 88, 20,
|
||
0, 21, 89, 90, 0, 0, 0, 0, 0, 0,
|
||
0, 79, 0, 0, 0, 0, 0, 91, 92, 22,
|
||
288, 11, 12, 0, 81, 13, 0, 23, 24, 25,
|
||
26, 27, 28, 0, 0, 0, 29, 30, 31, 93,
|
||
94, 0, 32, 33, 0, 0, 0, 34, 0, 35,
|
||
36, 37, 0, 0, 0, 14, 15, 82, 16, 83,
|
||
84, 85, 86, 87, 0, 18, 19, 88, 20, 0,
|
||
21, 89, 90, 0, 0, 0, 0, 0, 0, 79,
|
||
0, 0, 0, 0, 0, 0, 91, 92, 22, 11,
|
||
12, 0, 81, 13, 0, 327, 23, 24, 25, 26,
|
||
27, 28, 0, 0, 0, 29, 30, 31, 93, 94,
|
||
0, 32, 33, 0, 0, 0, 34, 0, 35, 36,
|
||
37, 0, 0, 14, 15, 82, 16, 83, 84, 85,
|
||
86, 87, 0, 18, 19, 88, 20, 0, 21, 89,
|
||
90, 0, 0, 0, 0, 0, 0, 79, 0, 0,
|
||
0, 0, 0, 0, 91, 92, 22, 11, 12, 0,
|
||
81, 13, 0, 355, 23, 24, 25, 26, 27, 28,
|
||
0, 0, 0, 29, 30, 31, 93, 94, 0, 32,
|
||
33, 0, 0, 0, 34, 0, 35, 36, 37, 0,
|
||
0, 14, 15, 82, 16, 83, 84, 85, 86, 87,
|
||
0, 18, 19, 88, 20, 0, 21, 89, 90, 0,
|
||
0, 0, 0, 0, 0, 79, 0, 0, 0, 0,
|
||
0, 0, 91, 92, 22, 11, 12, 0, 81, 13,
|
||
0, 0, 23, 24, 25, 26, 27, 28, 0, 0,
|
||
0, 29, 30, 31, 93, 94, 0, 32, 33, 0,
|
||
0, 0, 34, 0, 35, 36, 37, 0, 0, 14,
|
||
15, 82, 16, 83, 84, 85, 86, 87, 0, 18,
|
||
19, 88, 20, 0, 21, 89, 90, 0, 0, 0,
|
||
0, 0, 79, 0, 0, 0, 0, 0, 0, 0,
|
||
91, 92, 22, 12, 0, -31, 13, 0, 0, 0,
|
||
23, 24, 25, 26, 27, 28, 0, 0, 0, 29,
|
||
30, 31, 93, 94, 0, 32, 33, 0, 0, 0,
|
||
34, 0, 35, 36, 37, 0, 14, 15, 0, 16,
|
||
0, 84, 0, 0, 0, 0, 18, 19, 0, 20,
|
||
0, 21, 0, 0, 0, 0, 0, 0, 0, 79,
|
||
0, 0, 0, 0, 0, 0, 0, 91, 92, 22,
|
||
12, 0, 0, 13, -31, 0, 0, 23, 24, 25,
|
||
26, 27, 28, 0, 0, 0, 29, 30, 31, 0,
|
||
9, 10, 32, 33, 11, 12, 0, 34, 13, 35,
|
||
36, 37, 0, 14, 15, 0, 16, 0, 84, 0,
|
||
0, 0, 0, 18, 19, 0, 20, 0, 21, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 14, 15,
|
||
0, 16, 0, 0, 91, 92, 22, 17, 18, 19,
|
||
0, 20, 0, 21, 23, 24, 25, 26, 27, 28,
|
||
0, 0, 0, 29, 30, 31, 0, 0, 0, 32,
|
||
33, 22, 0, 0, 34, 0, 35, 36, 37, 23,
|
||
24, 25, 26, 27, 28, 0, 0, 0, 29, 30,
|
||
31, 0, 0, 136, 32, 33, 57, 108, 0, 34,
|
||
137, 35, 36, 37, 0, 0, 0, 109, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 110,
|
||
111, 0, 112, 113, 114, 115, 116, 117, 118, 14,
|
||
15, 0, 16, 0, 0, 0, 0, 0, 0, 18,
|
||
19, 0, 20, 0, 21, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 22, 0, 0, 0, 0, 0, 0, 0,
|
||
23, 24, 25, 26, 27, 28, 0, 119, 0, 29,
|
||
30, 31, 0, 0, 136, 32, 33, 57, 108, 0,
|
||
58, 315, 35, 36, 37, 0, 0, 0, 109, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
110, 111, 0, 112, 113, 114, 115, 116, 117, 118,
|
||
14, 15, 0, 16, 0, 0, 0, 0, 0, 0,
|
||
18, 19, 0, 20, 0, 21, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 22, 0, 0, 0, 0, 0, 0,
|
||
0, 23, 24, 25, 26, 27, 28, 0, 119, 0,
|
||
29, 30, 31, 0, 0, 136, 32, 33, 57, 108,
|
||
0, 58, 328, 35, 36, 37, 0, 0, 0, 109,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 110, 111, 0, 112, 113, 114, 115, 116, 117,
|
||
118, 14, 15, 0, 16, 0, 0, 0, 0, 0,
|
||
0, 18, 19, 0, 20, 0, 21, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 22, 0, 0, 0, 0, 0,
|
||
0, 0, 23, 24, 25, 26, 27, 28, 0, 119,
|
||
0, 29, 30, 31, 0, 0, 136, 32, 33, 57,
|
||
108, 0, 58, 330, 35, 36, 37, 0, 0, 0,
|
||
109, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 110, 111, 0, 112, 113, 114, 115, 116,
|
||
117, 118, 14, 15, 0, 16, 0, 0, 0, 0,
|
||
0, 0, 18, 19, 0, 20, 0, 21, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 22, 0, 0, 0, 0,
|
||
0, 0, 0, 23, 24, 25, 26, 27, 28, 0,
|
||
119, 0, 29, 30, 31, 0, 0, 136, 32, 33,
|
||
57, 108, 0, 58, 0, 35, 36, 37, 0, 0,
|
||
0, 109, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 110, 111, 0, 112, 113, 114, 115,
|
||
116, 117, 118, 14, 15, 0, 16, 0, 0, 0,
|
||
0, 0, 0, 18, 19, 0, 20, 0, 21, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 22, 0, 0, 0,
|
||
0, 0, 0, 0, 23, 24, 25, 26, 27, 28,
|
||
0, 119, 0, 29, 30, 31, 0, 0, 0, 32,
|
||
33, 0, 0, 0, 58, 0, 35, 36, 37, 156,
|
||
0, 57, 108, 159, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 109, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 110, 111, 0, 112, 113, 114,
|
||
115, 116, 117, 118, 14, 15, 0, 16, 0, 0,
|
||
0, 0, 0, 0, 18, 19, 0, 20, 0, 21,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 156, 0,
|
||
12, 0, 159, 13, 0, 0, 0, 22, 0, 0,
|
||
0, 0, 0, 0, 0, 23, 24, 25, 26, 27,
|
||
28, 0, 119, 0, 29, 30, 31, 0, 0, 0,
|
||
32, 33, 0, 14, 15, 58, 16, 35, 36, 37,
|
||
0, 0, 0, 18, 19, 0, 20, 0, 21, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 202, 0, 12,
|
||
0, 0, 13, 0, 0, 0, 22, 0, 0, 0,
|
||
0, 0, 0, 0, 23, 24, 25, 26, 27, 28,
|
||
0, 0, 0, 29, 30, 31, 0, 0, 0, 32,
|
||
33, 0, 14, 15, 34, 16, 35, 36, 37, 0,
|
||
0, 0, 18, 19, 0, 20, 0, 21, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 204, 0, 12, 0,
|
||
0, 13, 0, 0, 0, 22, 0, 0, 0, 0,
|
||
0, 0, 0, 23, 24, 25, 26, 27, 28, 0,
|
||
0, 0, 29, 30, 31, 0, 0, 0, 32, 33,
|
||
0, 14, 15, 34, 16, 35, 36, 37, 0, 0,
|
||
0, 18, 19, 0, 20, 0, 21, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 219, 0, 12, 0, 0,
|
||
13, 0, 0, 0, 22, 0, 0, 0, 0, 0,
|
||
0, 0, 23, 24, 25, 26, 27, 28, 0, 0,
|
||
0, 29, 30, 31, 0, 0, 0, 32, 33, 0,
|
||
14, 15, 34, 16, 35, 36, 37, 0, 0, 0,
|
||
18, 19, 0, 20, 0, 21, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 202, 0, 292, 0, 0, 13,
|
||
0, 0, 0, 22, 0, 0, 0, 0, 0, 0,
|
||
0, 23, 24, 25, 26, 27, 28, 0, 0, 0,
|
||
29, 30, 31, 0, 0, 0, 32, 33, 0, 14,
|
||
15, 34, 16, 35, 36, 37, 0, 0, 0, 18,
|
||
19, 0, 20, 0, 21, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 204, 0, 292, 0, 0, 13, 0,
|
||
0, 0, 22, 0, 0, 0, 0, 0, 0, 0,
|
||
23, 24, 25, 26, 27, 28, 0, 0, 0, 29,
|
||
30, 31, 0, 0, 0, 32, 33, 0, 14, 15,
|
||
34, 16, 35, 36, 37, 0, 0, 0, 18, 19,
|
||
0, 20, 0, 21, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 219, 0, 292, 0, 0, 13, 0, 0,
|
||
0, 22, 0, 0, 0, 0, 0, 0, 0, 23,
|
||
24, 25, 26, 27, 28, 0, 0, 0, 29, 30,
|
||
31, 0, 0, 0, 32, 33, 0, 14, 15, 34,
|
||
16, 35, 36, 37, 0, 0, 0, 18, 19, 0,
|
||
20, 0, 21, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
22, 0, 0, 0, 0, 0, 0, 0, 23, 24,
|
||
25, 26, 27, 28, 0, 0, 0, 29, 30, 31,
|
||
0, 0, 0, 32, 33, 57, 108, 0, 34, 137,
|
||
35, 36, 37, 0, 0, 0, 109, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 110, 111,
|
||
0, 112, 113, 114, 115, 116, 117, 118, 14, 15,
|
||
0, 16, 0, 0, 0, 0, 0, 0, 18, 19,
|
||
0, 20, 0, 21, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 22, 0, 0, 0, 0, 0, 0, 0, 23,
|
||
24, 25, 26, 27, 28, 0, 119, 0, 29, 30,
|
||
31, 0, 0, 0, 32, 33, 57, 108, 0, 58,
|
||
0, 35, 36, 37, 0, 0, 0, 109, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 110,
|
||
111, 0, 112, 113, 114, 115, 116, 117, 118, 14,
|
||
15, 0, 16, 0, 0, 0, 0, 0, 0, 18,
|
||
19, 0, 20, 0, 21, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 22, 0, 0, 0, 0, 0, 0, 0,
|
||
23, 24, 25, 26, 27, 28, 0, 119, 266, 29,
|
||
30, 31, 0, 0, 0, 32, 33, 57, 108, 0,
|
||
58, 273, 35, 36, 37, 0, 0, 0, 109, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
110, 111, 0, 112, 113, 114, 115, 116, 117, 118,
|
||
14, 15, 0, 16, 0, 0, 0, 0, 0, 0,
|
||
18, 19, 0, 20, 0, 21, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 22, 0, 0, 0, 0, 0, 0,
|
||
0, 23, 24, 25, 26, 27, 28, 0, 119, 0,
|
||
29, 30, 31, 0, 0, 0, 32, 33, 57, 108,
|
||
0, 58, 311, 35, 36, 37, 0, 0, 0, 109,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 110, 111, 0, 112, 113, 114, 115, 116, 117,
|
||
118, 14, 15, 0, 16, 0, 0, 0, 0, 0,
|
||
0, 18, 19, 0, 20, 0, 21, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 22, 0, 0, 0, 0, 0,
|
||
0, 0, 23, 24, 25, 26, 27, 28, 0, 119,
|
||
0, 29, 30, 31, 0, 0, 0, 32, 33, 57,
|
||
108, 0, 58, 313, 35, 36, 37, 0, 0, 0,
|
||
109, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 110, 111, 0, 112, 113, 114, 115, 116,
|
||
117, 118, 14, 15, 0, 16, 0, 0, 0, 0,
|
||
0, 0, 18, 19, 0, 20, 0, 21, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 22, 0, 0, 0, 0,
|
||
0, 0, 0, 23, 24, 25, 26, 27, 28, 0,
|
||
119, 0, 29, 30, 31, 0, 0, 0, 32, 33,
|
||
57, 108, 0, 58, 346, 35, 36, 37, 0, 0,
|
||
0, 109, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 110, 111, 0, 112, 113, 114, 115,
|
||
116, 117, 118, 14, 15, 0, 16, 0, 0, 0,
|
||
0, 0, 0, 18, 19, 0, 20, 0, 21, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 22, 0, 0, 0,
|
||
0, 0, 0, 0, 23, 24, 25, 26, 27, 28,
|
||
0, 119, 0, 29, 30, 31, 0, 0, 0, 32,
|
||
33, 57, 108, 0, 58, 347, 35, 36, 37, 0,
|
||
0, 0, 109, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 110, 111, 0, 112, 113, 114,
|
||
115, 116, 117, 118, 14, 15, 0, 16, 0, 0,
|
||
0, 0, 0, 0, 18, 19, 0, 20, 0, 21,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 22, 0, 0,
|
||
0, 0, 0, 0, 0, 23, 24, 25, 26, 27,
|
||
28, 0, 119, 0, 29, 30, 31, 0, 0, 0,
|
||
32, 33, 57, 108, 350, 58, 0, 35, 36, 37,
|
||
0, 0, 0, 109, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 110, 111, 0, 112, 113,
|
||
114, 115, 116, 117, 118, 14, 15, 0, 16, 0,
|
||
0, 0, 0, 0, 0, 18, 19, 0, 20, 0,
|
||
21, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 22, 0,
|
||
0, 0, 0, 0, 0, 0, 23, 24, 25, 26,
|
||
27, 28, 0, 119, 0, 29, 30, 31, 0, 0,
|
||
0, 32, 33, 57, 108, 0, 58, 359, 35, 36,
|
||
37, 0, 0, 0, 109, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 110, 111, 0, 112,
|
||
113, 114, 115, 116, 117, 118, 14, 15, 0, 16,
|
||
0, 0, 0, 0, 0, 0, 18, 19, 0, 20,
|
||
0, 21, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 22,
|
||
0, 0, 0, 0, 0, 0, 0, 23, 24, 25,
|
||
26, 27, 28, 0, 119, 0, 29, 30, 31, 0,
|
||
0, 0, 32, 33, 57, 108, 0, 58, 0, 35,
|
||
36, 37, 0, 0, 0, 109, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 110, 111, 0,
|
||
112, 113, 114, 115, 116, 117, 118, 14, 15, 0,
|
||
16, 0, 0, 0, 0, 0, 0, 18, 19, 0,
|
||
20, 0, 21, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
22, 0, 0, 0, 0, 0, 0, 0, 23, 24,
|
||
25, 26, 27, 28, 0, 119, 0, 29, 30, 31,
|
||
0, 0, 0, 32, 33, 57, 108, 0, 58, 0,
|
||
35, 36, 37, 0, 0, 0, 109, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 110, 0,
|
||
0, 112, 113, 114, 115, 116, 117, 118, 14, 15,
|
||
0, 16, 0, 0, 0, 0, 0, 0, 18, 19,
|
||
0, 20, 0, 21, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 22, 0, 0, 0, 0, 0, 0, 0, 23,
|
||
24, 25, 26, 27, 28, 57, 108, 0, 29, 30,
|
||
31, 0, 0, 0, 32, 33, 109, 0, 0, 58,
|
||
0, 35, 36, 37, 0, 0, 0, 0, 0, 0,
|
||
0, 112, 113, 114, 115, 116, 117, 118, 14, 15,
|
||
0, 16, 0, 0, 0, 0, 0, 0, 18, 19,
|
||
0, 20, 0, 21, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 22, 0, 0, 0, 0, 0, 0, 0, 23,
|
||
24, 25, 26, 27, 28, 57, -32, 0, 29, 30,
|
||
31, 0, 0, 0, 32, 33, -32, 0, 0, 58,
|
||
0, 35, 36, 37, 0, 0, 0, 0, 0, 0,
|
||
0, -32, -32, -32, -32, -32, -32, -32, 14, 15,
|
||
0, 16, 0, 0, 0, 0, 0, 0, 18, 19,
|
||
0, 20, 0, 21, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 57, 0, 0, 0, 0, 0,
|
||
0, 22, 0, 0, 0, 251, 0, 0, 0, 23,
|
||
24, 25, 26, 27, 28, 0, 0, 110, 111, 30,
|
||
31, 0, 0, 0, 32, 33, 252, 14, 15, 58,
|
||
16, 35, 36, 37, 0, 0, 0, 18, 19, 0,
|
||
20, 0, 21, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
22, 0, 0, 57, 0, 0, 0, 0, 23, 24,
|
||
25, 26, 27, 28, 251, 253, 326, 29, 30, 31,
|
||
0, 0, 0, 32, 33, 0, 110, 111, 58, 0,
|
||
35, 36, 37, 0, 0, 252, 14, 15, 0, 16,
|
||
0, 0, 0, 0, 0, 0, 18, 19, 0, 20,
|
||
0, 21, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 57, 0, 0, 0, 0, 0, 0, 22,
|
||
0, 0, 0, 251, 0, 0, 0, 23, 24, 25,
|
||
26, 27, 28, 0, 253, 110, 29, 30, 31, 0,
|
||
0, 0, 32, 33, 252, 14, 15, 58, 16, 35,
|
||
36, 37, 0, 0, 0, 18, 19, 0, 20, 0,
|
||
21, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 12, 0, 0, 13, 142, 0, 0, 22, 0,
|
||
0, 0, 0, 0, 0, 0, 23, 24, 25, 26,
|
||
27, 28, 0, 0, 0, 29, 30, 31, 0, 0,
|
||
0, 32, 33, 0, 14, 15, 58, 16, 35, 36,
|
||
37, 0, 0, 0, 18, 19, 0, 20, 0, 21,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
12, 0, 0, 13, 150, 0, 0, 22, 0, 0,
|
||
0, 0, 0, 0, 0, 23, 24, 25, 26, 27,
|
||
28, 0, 0, 0, 29, 30, 31, 0, 0, 0,
|
||
32, 33, 0, 14, 15, 34, 16, 35, 36, 37,
|
||
0, 0, 0, 18, 19, 0, 20, 0, 21, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 57,
|
||
0, 0, 0, 0, 0, 0, 22, 0, 0, 0,
|
||
251, 0, 0, 0, 23, 24, 25, 26, 27, 28,
|
||
0, 0, 0, 29, 30, 31, 0, 0, 0, 32,
|
||
33, 252, 14, 15, 34, 16, 35, 36, 37, 0,
|
||
0, 0, 18, 19, 0, 20, 0, 21, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 12, 0,
|
||
0, 13, 0, 0, 0, 22, 0, 0, 0, 0,
|
||
0, 0, 0, 23, 24, 25, 26, 27, 28, 0,
|
||
0, 0, 29, 30, 31, 0, 0, 0, 32, 33,
|
||
0, 14, 15, 58, 16, 35, 36, 37, 0, 0,
|
||
0, 18, 19, 0, 20, 0, 21, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 57, 0, 0,
|
||
13, 0, 0, 0, 22, 0, 0, 0, 0, 0,
|
||
0, 0, 23, 24, 25, 26, 27, 28, 0, 0,
|
||
0, 29, 30, 31, 0, 0, 0, 32, 33, 0,
|
||
14, 15, 34, 16, 35, 36, 37, 0, 0, 0,
|
||
18, 19, 0, 20, 0, 21, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 177, 0, 0, 13,
|
||
0, 0, 0, 22, 0, 0, 0, 0, 0, 0,
|
||
0, 23, 24, 25, 26, 27, 28, 0, 0, 0,
|
||
29, 30, 31, 0, 0, 0, 32, 33, 0, 14,
|
||
15, 34, 16, 35, 36, 37, 0, 0, 0, 18,
|
||
19, 0, 20, 0, 21, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 57, 0, 0, 0, 0,
|
||
0, 0, 22, 0, 0, 0, 0, 0, 0, 0,
|
||
23, 24, 25, 26, 27, 28, 0, 0, 0, 29,
|
||
30, 31, 0, 0, 0, 32, 33, 0, 14, 15,
|
||
34, 16, 35, 36, 37, 0, 0, 0, 18, 19,
|
||
0, 20, 0, 21, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 208, 0, 292, 0, 0, 13, 0, 0,
|
||
0, 22, 0, 0, 0, 0, 0, 0, 0, 23,
|
||
24, 25, 26, 27, 28, 0, 0, 0, 29, 30,
|
||
31, 0, 0, 0, 32, 33, 0, 14, 15, 58,
|
||
16, 35, 36, 37, 0, 0, 0, 18, 19, 0,
|
||
20, 0, 21, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 57, 0, 0, 0, 0, 0, 0,
|
||
22, 0, 0, 0, -32, 0, 0, 0, 23, 24,
|
||
25, 26, 27, 28, 0, 0, 0, 29, 30, 31,
|
||
0, 0, 0, 32, 33, -32, 14, 15, 34, 16,
|
||
35, 36, 37, 0, 0, 0, 18, 19, 0, 20,
|
||
0, 21, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 57, 0, 0, 0, 0, 0, 0, 22,
|
||
0, 0, 0, 0, 0, 0, 0, 23, 24, 25,
|
||
26, 27, 28, 0, 0, 0, 0, 30, 31, 0,
|
||
0, 0, 32, 33, 0, 14, 15, 58, 16, 35,
|
||
36, 37, 0, 0, 0, 18, 19, 0, 20, 0,
|
||
21, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 22, 0,
|
||
0, 0, 0, 0, 0, 0, 23, 24, 25, 26,
|
||
27, 28, 0, 0, 0, 29, 30, 31, 0, 0,
|
||
0, 32, 33, 0, 0, 0, 58, 0, 35, 36,
|
||
37
|
||
};
|
||
|
||
static const yytype_int16 yycheck[] =
|
||
{
|
||
16, 81, 34, 177, 166, 45, 159, 18, 242, 84,
|
||
244, 15, 45, 29, 10, 336, 32, 33, 34, 35,
|
||
36, 37, 66, 67, 5, 0, 42, 10, 9, 10,
|
||
9, 14, 178, 44, 69, 13, 357, 53, 51, 52,
|
||
19, 10, 58, 118, 97, 11, 86, 87, 88, 109,
|
||
103, 12, 68, 86, 83, 88, 12, 86, 39, 37,
|
||
89, 90, 40, 123, 93, 10, 10, 69, 100, 14,
|
||
110, 9, 101, 108, 109, 12, 45, 9, 16, 159,
|
||
92, 134, 135, 99, 100, 98, 12, 19, 322, 133,
|
||
86, 166, 10, 106, 18, 178, 14, 101, 102, 103,
|
||
104, 45, 86, 107, 12, 89, 108, 109, 124, 125,
|
||
126, 127, 128, 129, 12, 349, 10, 86, 292, 88,
|
||
14, 174, 9, 176, 11, 42, 107, 361, 144, 145,
|
||
283, 147, 148, 9, 187, 164, 189, 153, 154, 155,
|
||
16, 170, 86, 87, 88, 12, 221, 293, 164, 9,
|
||
296, 297, 298, 299, 170, 12, 16, 303, 9, 234,
|
||
108, 109, 178, 9, 9, 16, 110, 320, 228, 229,
|
||
16, 16, 12, 107, 336, 191, 192, 252, 194, 195,
|
||
196, 197, 198, 199, 15, 201, 10, 203, 10, 205,
|
||
206, 251, 208, 237, 247, 357, 342, 350, 9, 215,
|
||
12, 9, 12, 283, 220, 16, 222, 188, 16, 284,
|
||
293, 12, 95, 296, 297, 298, 299, 44, 15, 251,
|
||
303, 253, 254, 255, 86, 257, 242, 10, 244, 261,
|
||
18, 79, 9, 14, 10, 251, 10, 253, 254, 255,
|
||
320, 257, 258, 259, 260, 261, 16, 16, 44, 324,
|
||
263, 304, 99, 53, 54, 16, 272, 12, 318, 342,
|
||
276, 41, 278, 16, 280, 251, 16, 253, 254, 255,
|
||
350, 257, 103, 104, 16, 261, 107, 293, 107, 105,
|
||
296, 297, 298, 299, -1, 16, -1, 303, -1, 305,
|
||
306, 307, 345, -1, 326, -1, -1, 42, 351, -1,
|
||
45, 32, 33, 34, -1, -1, 37, 360, -1, -1,
|
||
326, 42, 365, 329, -1, 331, -1, 333, 334, 332,
|
||
-1, 337, 53, -1, -1, -1, 342, 58, -1, 310,
|
||
359, -1, -1, -1, -1, -1, 352, 68, -1, -1,
|
||
326, 86, 87, 88, -1, -1, -1, 147, 148, -1,
|
||
-1, -1, -1, -1, 154, 155, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, 110, -1, -1, 99, 100,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, 179,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 124, 125, 126, 127, 128, 129, -1,
|
||
-1, -1, -1, -1, -1, -1, 206, 207, -1, -1,
|
||
-1, -1, -1, 144, 145, -1, 147, 148, -1, -1,
|
||
-1, -1, 153, 154, 155, -1, -1, 227, -1, -1,
|
||
-1, -1, -1, 164, -1, -1, -1, -1, -1, 170,
|
||
-1, -1, -1, -1, -1, -1, -1, 178, -1, -1,
|
||
250, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, 192, -1, 194, 195, 196, 197, 198, 199, -1,
|
||
201, -1, 203, -1, 205, 206, -1, 208, -1, -1,
|
||
280, 281, -1, -1, 215, -1, -1, -1, -1, 220,
|
||
-1, 222, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, 306, 307, -1, -1,
|
||
-1, 242, -1, 244, -1, -1, -1, -1, -1, -1,
|
||
251, -1, 253, 254, 255, 325, 257, 258, 259, 260,
|
||
261, 5, -1, -1, -1, -1, -1, -1, 12, -1,
|
||
-1, 272, -1, -1, -1, 276, -1, 278, -1, 280,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 293, -1, -1, 296, 297, 298, 299, -1,
|
||
-1, -1, 303, -1, 305, 306, 307, -1, -1, -1,
|
||
-1, -1, 56, 57, -1, -1, -1, -1, -1, -1,
|
||
64, 65, 66, 67, -1, 326, 70, 71, -1, -1,
|
||
-1, -1, 333, 334, -1, -1, 337, -1, -1, -1,
|
||
-1, 342, 86, -1, -1, -1, -1, -1, -1, 93,
|
||
-1, 352, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, 105, -1, 107, -1, 109, -1, -1, 112, 113,
|
||
114, 115, 116, 117, -1, 119, 120, 121, -1, 123,
|
||
-1, -1, -1, -1, -1, -1, 130, -1, -1, 133,
|
||
-1, -1, -1, -1, 138, -1, 140, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
0, 1, -1, -1, -1, -1, -1, 7, 8, -1,
|
||
10, 11, 12, 167, 14, 15, -1, -1, 172, -1,
|
||
-1, -1, -1, 177, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, 45, 46, -1, 48, -1,
|
||
-1, -1, -1, -1, 54, 55, 56, -1, 58, -1,
|
||
60, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, 225, -1, -1, 228, 229, -1, -1, 78, 233,
|
||
-1, -1, -1, 237, -1, -1, 86, 87, 88, 89,
|
||
90, 91, -1, -1, -1, 95, 96, 97, -1, -1,
|
||
-1, 101, 102, -1, -1, -1, 106, -1, 108, 109,
|
||
110, -1, 266, 267, 268, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 1, -1, -1, -1, -1, -1, 292, -1,
|
||
-1, 10, 11, 12, -1, 14, 15, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 316, -1, 318, -1, -1, 321, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, 45, 46, 47, 48,
|
||
49, 50, 51, 52, 53, 339, 55, 56, 57, 58,
|
||
-1, 60, 61, 62, -1, -1, -1, -1, -1, -1,
|
||
1, -1, -1, -1, -1, -1, -1, 76, 77, 78,
|
||
11, 12, -1, 14, 15, -1, 17, 86, 87, 88,
|
||
89, 90, 91, -1, -1, -1, 95, 96, 97, 98,
|
||
99, -1, 101, 102, -1, -1, -1, 106, -1, 108,
|
||
109, 110, -1, -1, 45, 46, 47, 48, 49, 50,
|
||
51, 52, 53, -1, 55, 56, 57, 58, -1, 60,
|
||
61, 62, -1, -1, -1, -1, -1, -1, 1, -1,
|
||
-1, -1, -1, -1, -1, 76, 77, 78, 11, 12,
|
||
-1, 14, 15, -1, 17, 86, 87, 88, 89, 90,
|
||
91, -1, -1, -1, 95, 96, 97, 98, 99, -1,
|
||
101, 102, -1, -1, -1, 106, -1, 108, 109, 110,
|
||
-1, -1, 45, 46, 47, 48, 49, 50, 51, 52,
|
||
53, -1, 55, 56, 57, 58, -1, 60, 61, 62,
|
||
-1, -1, -1, -1, -1, -1, 1, -1, -1, -1,
|
||
-1, -1, -1, 76, 77, 78, 11, 12, -1, 14,
|
||
15, -1, 17, 86, 87, 88, 89, 90, 91, -1,
|
||
-1, -1, 95, 96, 97, 98, 99, -1, 101, 102,
|
||
-1, -1, -1, 106, -1, 108, 109, 110, -1, -1,
|
||
45, 46, 47, 48, 49, 50, 51, 52, 53, -1,
|
||
55, 56, 57, 58, -1, 60, 61, 62, -1, -1,
|
||
-1, -1, -1, -1, 1, -1, -1, -1, -1, -1,
|
||
-1, 76, 77, 78, 11, 12, -1, 14, 15, -1,
|
||
17, 86, 87, 88, 89, 90, 91, -1, -1, -1,
|
||
95, 96, 97, 98, 99, -1, 101, 102, -1, -1,
|
||
-1, 106, -1, 108, 109, 110, -1, -1, 45, 46,
|
||
47, 48, 49, 50, 51, 52, 53, -1, 55, 56,
|
||
57, 58, -1, 60, 61, 62, -1, -1, -1, -1,
|
||
-1, -1, 1, -1, -1, -1, -1, -1, -1, 76,
|
||
77, 78, 11, 12, -1, 14, 15, -1, 17, 86,
|
||
87, 88, 89, 90, 91, -1, -1, -1, 95, 96,
|
||
97, 98, 99, -1, 101, 102, -1, -1, -1, 106,
|
||
-1, 108, 109, 110, -1, -1, 45, 46, 47, 48,
|
||
49, 50, 51, 52, 53, -1, 55, 56, 57, 58,
|
||
-1, 60, 61, 62, -1, -1, -1, -1, -1, -1,
|
||
-1, 1, -1, -1, -1, -1, -1, 76, 77, 78,
|
||
10, 11, 12, -1, 14, 15, -1, 86, 87, 88,
|
||
89, 90, 91, -1, -1, -1, 95, 96, 97, 98,
|
||
99, -1, 101, 102, -1, -1, -1, 106, -1, 108,
|
||
109, 110, -1, -1, -1, 45, 46, 47, 48, 49,
|
||
50, 51, 52, 53, -1, 55, 56, 57, 58, -1,
|
||
60, 61, 62, -1, -1, -1, -1, -1, -1, 1,
|
||
-1, -1, -1, -1, -1, -1, 76, 77, 78, 11,
|
||
12, -1, 14, 15, -1, 17, 86, 87, 88, 89,
|
||
90, 91, -1, -1, -1, 95, 96, 97, 98, 99,
|
||
-1, 101, 102, -1, -1, -1, 106, -1, 108, 109,
|
||
110, -1, -1, 45, 46, 47, 48, 49, 50, 51,
|
||
52, 53, -1, 55, 56, 57, 58, -1, 60, 61,
|
||
62, -1, -1, -1, -1, -1, -1, 1, -1, -1,
|
||
-1, -1, -1, -1, 76, 77, 78, 11, 12, -1,
|
||
14, 15, -1, 17, 86, 87, 88, 89, 90, 91,
|
||
-1, -1, -1, 95, 96, 97, 98, 99, -1, 101,
|
||
102, -1, -1, -1, 106, -1, 108, 109, 110, -1,
|
||
-1, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
||
-1, 55, 56, 57, 58, -1, 60, 61, 62, -1,
|
||
-1, -1, -1, -1, -1, 1, -1, -1, -1, -1,
|
||
-1, -1, 76, 77, 78, 11, 12, -1, 14, 15,
|
||
-1, -1, 86, 87, 88, 89, 90, 91, -1, -1,
|
||
-1, 95, 96, 97, 98, 99, -1, 101, 102, -1,
|
||
-1, -1, 106, -1, 108, 109, 110, -1, -1, 45,
|
||
46, 47, 48, 49, 50, 51, 52, 53, -1, 55,
|
||
56, 57, 58, -1, 60, 61, 62, -1, -1, -1,
|
||
-1, -1, 1, -1, -1, -1, -1, -1, -1, -1,
|
||
76, 77, 78, 12, -1, 14, 15, -1, -1, -1,
|
||
86, 87, 88, 89, 90, 91, -1, -1, -1, 95,
|
||
96, 97, 98, 99, -1, 101, 102, -1, -1, -1,
|
||
106, -1, 108, 109, 110, -1, 45, 46, -1, 48,
|
||
-1, 50, -1, -1, -1, -1, 55, 56, -1, 58,
|
||
-1, 60, -1, -1, -1, -1, -1, -1, -1, 1,
|
||
-1, -1, -1, -1, -1, -1, -1, 76, 77, 78,
|
||
12, -1, -1, 15, 16, -1, -1, 86, 87, 88,
|
||
89, 90, 91, -1, -1, -1, 95, 96, 97, -1,
|
||
7, 8, 101, 102, 11, 12, -1, 106, 15, 108,
|
||
109, 110, -1, 45, 46, -1, 48, -1, 50, -1,
|
||
-1, -1, -1, 55, 56, -1, 58, -1, 60, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, 45, 46,
|
||
-1, 48, -1, -1, 76, 77, 78, 54, 55, 56,
|
||
-1, 58, -1, 60, 86, 87, 88, 89, 90, 91,
|
||
-1, -1, -1, 95, 96, 97, -1, -1, -1, 101,
|
||
102, 78, -1, -1, 106, -1, 108, 109, 110, 86,
|
||
87, 88, 89, 90, 91, -1, -1, -1, 95, 96,
|
||
97, -1, -1, 9, 101, 102, 12, 13, -1, 106,
|
||
16, 108, 109, 110, -1, -1, -1, 23, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, 35,
|
||
36, -1, 38, 39, 40, 41, 42, 43, 44, 45,
|
||
46, -1, 48, -1, -1, -1, -1, -1, -1, 55,
|
||
56, -1, 58, -1, 60, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 78, -1, -1, -1, -1, -1, -1, -1,
|
||
86, 87, 88, 89, 90, 91, -1, 93, -1, 95,
|
||
96, 97, -1, -1, 9, 101, 102, 12, 13, -1,
|
||
106, 16, 108, 109, 110, -1, -1, -1, 23, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
35, 36, -1, 38, 39, 40, 41, 42, 43, 44,
|
||
45, 46, -1, 48, -1, -1, -1, -1, -1, -1,
|
||
55, 56, -1, 58, -1, 60, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 78, -1, -1, -1, -1, -1, -1,
|
||
-1, 86, 87, 88, 89, 90, 91, -1, 93, -1,
|
||
95, 96, 97, -1, -1, 9, 101, 102, 12, 13,
|
||
-1, 106, 16, 108, 109, 110, -1, -1, -1, 23,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, 35, 36, -1, 38, 39, 40, 41, 42, 43,
|
||
44, 45, 46, -1, 48, -1, -1, -1, -1, -1,
|
||
-1, 55, 56, -1, 58, -1, 60, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, 78, -1, -1, -1, -1, -1,
|
||
-1, -1, 86, 87, 88, 89, 90, 91, -1, 93,
|
||
-1, 95, 96, 97, -1, -1, 9, 101, 102, 12,
|
||
13, -1, 106, 16, 108, 109, 110, -1, -1, -1,
|
||
23, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 35, 36, -1, 38, 39, 40, 41, 42,
|
||
43, 44, 45, 46, -1, 48, -1, -1, -1, -1,
|
||
-1, -1, 55, 56, -1, 58, -1, 60, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, 78, -1, -1, -1, -1,
|
||
-1, -1, -1, 86, 87, 88, 89, 90, 91, -1,
|
||
93, -1, 95, 96, 97, -1, -1, 9, 101, 102,
|
||
12, 13, -1, 106, -1, 108, 109, 110, -1, -1,
|
||
-1, 23, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 35, 36, -1, 38, 39, 40, 41,
|
||
42, 43, 44, 45, 46, -1, 48, -1, -1, -1,
|
||
-1, -1, -1, 55, 56, -1, 58, -1, 60, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, 78, -1, -1, -1,
|
||
-1, -1, -1, -1, 86, 87, 88, 89, 90, 91,
|
||
-1, 93, -1, 95, 96, 97, -1, -1, -1, 101,
|
||
102, -1, -1, -1, 106, -1, 108, 109, 110, 10,
|
||
-1, 12, 13, 14, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 23, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, 35, 36, -1, 38, 39, 40,
|
||
41, 42, 43, 44, 45, 46, -1, 48, -1, -1,
|
||
-1, -1, -1, -1, 55, 56, -1, 58, -1, 60,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, 10, -1,
|
||
12, -1, 14, 15, -1, -1, -1, 78, -1, -1,
|
||
-1, -1, -1, -1, -1, 86, 87, 88, 89, 90,
|
||
91, -1, 93, -1, 95, 96, 97, -1, -1, -1,
|
||
101, 102, -1, 45, 46, 106, 48, 108, 109, 110,
|
||
-1, -1, -1, 55, 56, -1, 58, -1, 60, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, 10, -1, 12,
|
||
-1, -1, 15, -1, -1, -1, 78, -1, -1, -1,
|
||
-1, -1, -1, -1, 86, 87, 88, 89, 90, 91,
|
||
-1, -1, -1, 95, 96, 97, -1, -1, -1, 101,
|
||
102, -1, 45, 46, 106, 48, 108, 109, 110, -1,
|
||
-1, -1, 55, 56, -1, 58, -1, 60, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, 10, -1, 12, -1,
|
||
-1, 15, -1, -1, -1, 78, -1, -1, -1, -1,
|
||
-1, -1, -1, 86, 87, 88, 89, 90, 91, -1,
|
||
-1, -1, 95, 96, 97, -1, -1, -1, 101, 102,
|
||
-1, 45, 46, 106, 48, 108, 109, 110, -1, -1,
|
||
-1, 55, 56, -1, 58, -1, 60, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, 10, -1, 12, -1, -1,
|
||
15, -1, -1, -1, 78, -1, -1, -1, -1, -1,
|
||
-1, -1, 86, 87, 88, 89, 90, 91, -1, -1,
|
||
-1, 95, 96, 97, -1, -1, -1, 101, 102, -1,
|
||
45, 46, 106, 48, 108, 109, 110, -1, -1, -1,
|
||
55, 56, -1, 58, -1, 60, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, 10, -1, 12, -1, -1, 15,
|
||
-1, -1, -1, 78, -1, -1, -1, -1, -1, -1,
|
||
-1, 86, 87, 88, 89, 90, 91, -1, -1, -1,
|
||
95, 96, 97, -1, -1, -1, 101, 102, -1, 45,
|
||
46, 106, 48, 108, 109, 110, -1, -1, -1, 55,
|
||
56, -1, 58, -1, 60, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 10, -1, 12, -1, -1, 15, -1,
|
||
-1, -1, 78, -1, -1, -1, -1, -1, -1, -1,
|
||
86, 87, 88, 89, 90, 91, -1, -1, -1, 95,
|
||
96, 97, -1, -1, -1, 101, 102, -1, 45, 46,
|
||
106, 48, 108, 109, 110, -1, -1, -1, 55, 56,
|
||
-1, 58, -1, 60, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 10, -1, 12, -1, -1, 15, -1, -1,
|
||
-1, 78, -1, -1, -1, -1, -1, -1, -1, 86,
|
||
87, 88, 89, 90, 91, -1, -1, -1, 95, 96,
|
||
97, -1, -1, -1, 101, 102, -1, 45, 46, 106,
|
||
48, 108, 109, 110, -1, -1, -1, 55, 56, -1,
|
||
58, -1, 60, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
78, -1, -1, -1, -1, -1, -1, -1, 86, 87,
|
||
88, 89, 90, 91, -1, -1, -1, 95, 96, 97,
|
||
-1, -1, -1, 101, 102, 12, 13, -1, 106, 16,
|
||
108, 109, 110, -1, -1, -1, 23, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, 35, 36,
|
||
-1, 38, 39, 40, 41, 42, 43, 44, 45, 46,
|
||
-1, 48, -1, -1, -1, -1, -1, -1, 55, 56,
|
||
-1, 58, -1, 60, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, 78, -1, -1, -1, -1, -1, -1, -1, 86,
|
||
87, 88, 89, 90, 91, -1, 93, -1, 95, 96,
|
||
97, -1, -1, -1, 101, 102, 12, 13, -1, 106,
|
||
-1, 108, 109, 110, -1, -1, -1, 23, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, 35,
|
||
36, -1, 38, 39, 40, 41, 42, 43, 44, 45,
|
||
46, -1, 48, -1, -1, -1, -1, -1, -1, 55,
|
||
56, -1, 58, -1, 60, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 78, -1, -1, -1, -1, -1, -1, -1,
|
||
86, 87, 88, 89, 90, 91, -1, 93, 94, 95,
|
||
96, 97, -1, -1, -1, 101, 102, 12, 13, -1,
|
||
106, 16, 108, 109, 110, -1, -1, -1, 23, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
35, 36, -1, 38, 39, 40, 41, 42, 43, 44,
|
||
45, 46, -1, 48, -1, -1, -1, -1, -1, -1,
|
||
55, 56, -1, 58, -1, 60, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 78, -1, -1, -1, -1, -1, -1,
|
||
-1, 86, 87, 88, 89, 90, 91, -1, 93, -1,
|
||
95, 96, 97, -1, -1, -1, 101, 102, 12, 13,
|
||
-1, 106, 16, 108, 109, 110, -1, -1, -1, 23,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, 35, 36, -1, 38, 39, 40, 41, 42, 43,
|
||
44, 45, 46, -1, 48, -1, -1, -1, -1, -1,
|
||
-1, 55, 56, -1, 58, -1, 60, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, 78, -1, -1, -1, -1, -1,
|
||
-1, -1, 86, 87, 88, 89, 90, 91, -1, 93,
|
||
-1, 95, 96, 97, -1, -1, -1, 101, 102, 12,
|
||
13, -1, 106, 16, 108, 109, 110, -1, -1, -1,
|
||
23, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 35, 36, -1, 38, 39, 40, 41, 42,
|
||
43, 44, 45, 46, -1, 48, -1, -1, -1, -1,
|
||
-1, -1, 55, 56, -1, 58, -1, 60, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, 78, -1, -1, -1, -1,
|
||
-1, -1, -1, 86, 87, 88, 89, 90, 91, -1,
|
||
93, -1, 95, 96, 97, -1, -1, -1, 101, 102,
|
||
12, 13, -1, 106, 16, 108, 109, 110, -1, -1,
|
||
-1, 23, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 35, 36, -1, 38, 39, 40, 41,
|
||
42, 43, 44, 45, 46, -1, 48, -1, -1, -1,
|
||
-1, -1, -1, 55, 56, -1, 58, -1, 60, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, 78, -1, -1, -1,
|
||
-1, -1, -1, -1, 86, 87, 88, 89, 90, 91,
|
||
-1, 93, -1, 95, 96, 97, -1, -1, -1, 101,
|
||
102, 12, 13, -1, 106, 16, 108, 109, 110, -1,
|
||
-1, -1, 23, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, 35, 36, -1, 38, 39, 40,
|
||
41, 42, 43, 44, 45, 46, -1, 48, -1, -1,
|
||
-1, -1, -1, -1, 55, 56, -1, 58, -1, 60,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, 78, -1, -1,
|
||
-1, -1, -1, -1, -1, 86, 87, 88, 89, 90,
|
||
91, -1, 93, -1, 95, 96, 97, -1, -1, -1,
|
||
101, 102, 12, 13, 14, 106, -1, 108, 109, 110,
|
||
-1, -1, -1, 23, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, 35, 36, -1, 38, 39,
|
||
40, 41, 42, 43, 44, 45, 46, -1, 48, -1,
|
||
-1, -1, -1, -1, -1, 55, 56, -1, 58, -1,
|
||
60, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, 78, -1,
|
||
-1, -1, -1, -1, -1, -1, 86, 87, 88, 89,
|
||
90, 91, -1, 93, -1, 95, 96, 97, -1, -1,
|
||
-1, 101, 102, 12, 13, -1, 106, 16, 108, 109,
|
||
110, -1, -1, -1, 23, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, 35, 36, -1, 38,
|
||
39, 40, 41, 42, 43, 44, 45, 46, -1, 48,
|
||
-1, -1, -1, -1, -1, -1, 55, 56, -1, 58,
|
||
-1, 60, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, 78,
|
||
-1, -1, -1, -1, -1, -1, -1, 86, 87, 88,
|
||
89, 90, 91, -1, 93, -1, 95, 96, 97, -1,
|
||
-1, -1, 101, 102, 12, 13, -1, 106, -1, 108,
|
||
109, 110, -1, -1, -1, 23, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, 35, 36, -1,
|
||
38, 39, 40, 41, 42, 43, 44, 45, 46, -1,
|
||
48, -1, -1, -1, -1, -1, -1, 55, 56, -1,
|
||
58, -1, 60, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
78, -1, -1, -1, -1, -1, -1, -1, 86, 87,
|
||
88, 89, 90, 91, -1, 93, -1, 95, 96, 97,
|
||
-1, -1, -1, 101, 102, 12, 13, -1, 106, -1,
|
||
108, 109, 110, -1, -1, -1, 23, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, 35, -1,
|
||
-1, 38, 39, 40, 41, 42, 43, 44, 45, 46,
|
||
-1, 48, -1, -1, -1, -1, -1, -1, 55, 56,
|
||
-1, 58, -1, 60, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, 78, -1, -1, -1, -1, -1, -1, -1, 86,
|
||
87, 88, 89, 90, 91, 12, 13, -1, 95, 96,
|
||
97, -1, -1, -1, 101, 102, 23, -1, -1, 106,
|
||
-1, 108, 109, 110, -1, -1, -1, -1, -1, -1,
|
||
-1, 38, 39, 40, 41, 42, 43, 44, 45, 46,
|
||
-1, 48, -1, -1, -1, -1, -1, -1, 55, 56,
|
||
-1, 58, -1, 60, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, 78, -1, -1, -1, -1, -1, -1, -1, 86,
|
||
87, 88, 89, 90, 91, 12, 13, -1, 95, 96,
|
||
97, -1, -1, -1, 101, 102, 23, -1, -1, 106,
|
||
-1, 108, 109, 110, -1, -1, -1, -1, -1, -1,
|
||
-1, 38, 39, 40, 41, 42, 43, 44, 45, 46,
|
||
-1, 48, -1, -1, -1, -1, -1, -1, 55, 56,
|
||
-1, 58, -1, 60, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, 12, -1, -1, -1, -1, -1,
|
||
-1, 78, -1, -1, -1, 23, -1, -1, -1, 86,
|
||
87, 88, 89, 90, 91, -1, -1, 35, 36, 96,
|
||
97, -1, -1, -1, 101, 102, 44, 45, 46, 106,
|
||
48, 108, 109, 110, -1, -1, -1, 55, 56, -1,
|
||
58, -1, 60, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
78, -1, -1, 12, -1, -1, -1, -1, 86, 87,
|
||
88, 89, 90, 91, 23, 93, 94, 95, 96, 97,
|
||
-1, -1, -1, 101, 102, -1, 35, 36, 106, -1,
|
||
108, 109, 110, -1, -1, 44, 45, 46, -1, 48,
|
||
-1, -1, -1, -1, -1, -1, 55, 56, -1, 58,
|
||
-1, 60, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 12, -1, -1, -1, -1, -1, -1, 78,
|
||
-1, -1, -1, 23, -1, -1, -1, 86, 87, 88,
|
||
89, 90, 91, -1, 93, 35, 95, 96, 97, -1,
|
||
-1, -1, 101, 102, 44, 45, 46, 106, 48, 108,
|
||
109, 110, -1, -1, -1, 55, 56, -1, 58, -1,
|
||
60, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, 12, -1, -1, 15, 16, -1, -1, 78, -1,
|
||
-1, -1, -1, -1, -1, -1, 86, 87, 88, 89,
|
||
90, 91, -1, -1, -1, 95, 96, 97, -1, -1,
|
||
-1, 101, 102, -1, 45, 46, 106, 48, 108, 109,
|
||
110, -1, -1, -1, 55, 56, -1, 58, -1, 60,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
12, -1, -1, 15, 16, -1, -1, 78, -1, -1,
|
||
-1, -1, -1, -1, -1, 86, 87, 88, 89, 90,
|
||
91, -1, -1, -1, 95, 96, 97, -1, -1, -1,
|
||
101, 102, -1, 45, 46, 106, 48, 108, 109, 110,
|
||
-1, -1, -1, 55, 56, -1, 58, -1, 60, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, 12,
|
||
-1, -1, -1, -1, -1, -1, 78, -1, -1, -1,
|
||
23, -1, -1, -1, 86, 87, 88, 89, 90, 91,
|
||
-1, -1, -1, 95, 96, 97, -1, -1, -1, 101,
|
||
102, 44, 45, 46, 106, 48, 108, 109, 110, -1,
|
||
-1, -1, 55, 56, -1, 58, -1, 60, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, 12, -1,
|
||
-1, 15, -1, -1, -1, 78, -1, -1, -1, -1,
|
||
-1, -1, -1, 86, 87, 88, 89, 90, 91, -1,
|
||
-1, -1, 95, 96, 97, -1, -1, -1, 101, 102,
|
||
-1, 45, 46, 106, 48, 108, 109, 110, -1, -1,
|
||
-1, 55, 56, -1, 58, -1, 60, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, 12, -1, -1,
|
||
15, -1, -1, -1, 78, -1, -1, -1, -1, -1,
|
||
-1, -1, 86, 87, 88, 89, 90, 91, -1, -1,
|
||
-1, 95, 96, 97, -1, -1, -1, 101, 102, -1,
|
||
45, 46, 106, 48, 108, 109, 110, -1, -1, -1,
|
||
55, 56, -1, 58, -1, 60, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, 12, -1, -1, 15,
|
||
-1, -1, -1, 78, -1, -1, -1, -1, -1, -1,
|
||
-1, 86, 87, 88, 89, 90, 91, -1, -1, -1,
|
||
95, 96, 97, -1, -1, -1, 101, 102, -1, 45,
|
||
46, 106, 48, 108, 109, 110, -1, -1, -1, 55,
|
||
56, -1, 58, -1, 60, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, 12, -1, -1, -1, -1,
|
||
-1, -1, 78, -1, -1, -1, -1, -1, -1, -1,
|
||
86, 87, 88, 89, 90, 91, -1, -1, -1, 95,
|
||
96, 97, -1, -1, -1, 101, 102, -1, 45, 46,
|
||
106, 48, 108, 109, 110, -1, -1, -1, 55, 56,
|
||
-1, 58, -1, 60, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 69, -1, 12, -1, -1, 15, -1, -1,
|
||
-1, 78, -1, -1, -1, -1, -1, -1, -1, 86,
|
||
87, 88, 89, 90, 91, -1, -1, -1, 95, 96,
|
||
97, -1, -1, -1, 101, 102, -1, 45, 46, 106,
|
||
48, 108, 109, 110, -1, -1, -1, 55, 56, -1,
|
||
58, -1, 60, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 12, -1, -1, -1, -1, -1, -1,
|
||
78, -1, -1, -1, 23, -1, -1, -1, 86, 87,
|
||
88, 89, 90, 91, -1, -1, -1, 95, 96, 97,
|
||
-1, -1, -1, 101, 102, 44, 45, 46, 106, 48,
|
||
108, 109, 110, -1, -1, -1, 55, 56, -1, 58,
|
||
-1, 60, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 12, -1, -1, -1, -1, -1, -1, 78,
|
||
-1, -1, -1, -1, -1, -1, -1, 86, 87, 88,
|
||
89, 90, 91, -1, -1, -1, -1, 96, 97, -1,
|
||
-1, -1, 101, 102, -1, 45, 46, 106, 48, 108,
|
||
109, 110, -1, -1, -1, 55, 56, -1, 58, -1,
|
||
60, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, 78, -1,
|
||
-1, -1, -1, -1, -1, -1, 86, 87, 88, 89,
|
||
90, 91, -1, -1, -1, 95, 96, 97, -1, -1,
|
||
-1, 101, 102, -1, -1, -1, 106, -1, 108, 109,
|
||
110
|
||
};
|
||
|
||
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
|
||
symbol of state STATE-NUM. */
|
||
static const yytype_uint8 yystos[] =
|
||
{
|
||
0, 1, 10, 14, 113, 128, 130, 142, 0, 7,
|
||
8, 11, 12, 15, 45, 46, 48, 54, 55, 56,
|
||
58, 60, 78, 86, 87, 88, 89, 90, 91, 95,
|
||
96, 97, 101, 102, 106, 108, 109, 110, 125, 131,
|
||
132, 134, 137, 144, 145, 155, 156, 157, 159, 10,
|
||
14, 125, 125, 137, 138, 146, 12, 12, 106, 156,
|
||
157, 86, 89, 123, 12, 12, 12, 12, 42, 157,
|
||
12, 12, 156, 156, 144, 156, 157, 157, 156, 1,
|
||
10, 14, 47, 49, 50, 51, 52, 53, 57, 61,
|
||
62, 76, 77, 98, 99, 117, 119, 124, 125, 137,
|
||
141, 148, 150, 154, 160, 9, 125, 128, 13, 23,
|
||
35, 36, 38, 39, 40, 41, 42, 43, 44, 93,
|
||
114, 115, 156, 12, 15, 101, 102, 103, 104, 107,
|
||
69, 108, 109, 18, 154, 154, 9, 16, 116, 16,
|
||
116, 92, 16, 135, 137, 137, 12, 137, 137, 135,
|
||
16, 135, 156, 42, 137, 137, 10, 126, 127, 14,
|
||
126, 149, 149, 159, 137, 149, 12, 12, 149, 149,
|
||
137, 149, 12, 10, 151, 150, 154, 12, 136, 139,
|
||
140, 144, 156, 157, 149, 17, 150, 153, 131, 154,
|
||
132, 95, 137, 145, 137, 137, 137, 137, 137, 137,
|
||
159, 137, 10, 137, 10, 137, 137, 145, 69, 156,
|
||
156, 156, 156, 156, 156, 137, 135, 17, 17, 10,
|
||
137, 44, 137, 15, 16, 116, 86, 158, 116, 116,
|
||
16, 16, 156, 116, 116, 10, 127, 18, 149, 129,
|
||
148, 159, 137, 149, 137, 150, 79, 118, 17, 143,
|
||
138, 23, 44, 93, 114, 115, 156, 116, 13, 37,
|
||
40, 69, 150, 125, 17, 157, 94, 116, 116, 156,
|
||
19, 159, 137, 16, 116, 147, 137, 145, 137, 145,
|
||
137, 159, 135, 14, 44, 147, 147, 152, 10, 150,
|
||
10, 16, 12, 136, 145, 159, 136, 136, 136, 136,
|
||
156, 156, 156, 136, 154, 137, 137, 137, 86, 10,
|
||
133, 16, 16, 16, 16, 16, 116, 16, 116, 19,
|
||
14, 127, 159, 99, 44, 138, 94, 17, 16, 116,
|
||
16, 116, 125, 137, 137, 145, 127, 137, 147, 12,
|
||
159, 16, 136, 157, 157, 154, 16, 16, 16, 129,
|
||
14, 122, 137, 16, 16, 17, 147, 127, 150, 16,
|
||
121, 129, 149, 150, 147, 120, 150
|
||
};
|
||
|
||
#define yyerrok (yyerrstatus = 0)
|
||
#define yyclearin (yychar = YYEMPTY)
|
||
#define YYEMPTY (-2)
|
||
#define YYEOF 0
|
||
|
||
#define YYACCEPT goto yyacceptlab
|
||
#define YYABORT goto yyabortlab
|
||
#define YYERROR goto yyerrorlab
|
||
|
||
|
||
/* Like YYERROR except do call yyerror. This remains here temporarily
|
||
to ease the transition to the new meaning of YYERROR, for GCC.
|
||
Once GCC version 2 has supplanted version 1, this can go. */
|
||
|
||
#define YYFAIL goto yyerrlab
|
||
|
||
#define YYRECOVERING() (!!yyerrstatus)
|
||
|
||
#define YYBACKUP(Token, Value) \
|
||
do \
|
||
if (yychar == YYEMPTY && yylen == 1) \
|
||
{ \
|
||
yychar = (Token); \
|
||
yylval = (Value); \
|
||
yytoken = YYTRANSLATE (yychar); \
|
||
YYPOPSTACK (1); \
|
||
goto yybackup; \
|
||
} \
|
||
else \
|
||
{ \
|
||
yyerror (YY_("syntax error: cannot back up")); \
|
||
YYERROR; \
|
||
} \
|
||
while (YYID (0))
|
||
|
||
|
||
#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 defined YYLTYPE_IS_TRIVIAL && 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. */
|
||
#if YYDEBUG
|
||
|
||
# ifndef YYFPRINTF
|
||
# include <stdio.h> /* INFRINGES ON USER NAME SPACE */
|
||
# define YYFPRINTF fprintf
|
||
# endif
|
||
|
||
# define YYDPRINTF(Args) \
|
||
do { \
|
||
if (yydebug) \
|
||
YYFPRINTF Args; \
|
||
} while (YYID (0))
|
||
|
||
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
|
||
do { \
|
||
if (yydebug) \
|
||
{ \
|
||
YYFPRINTF (stderr, "%s ", Title); \
|
||
yy_symbol_print (stderr, \
|
||
Type, Value); \
|
||
YYFPRINTF (stderr, "\n"); \
|
||
} \
|
||
} while (YYID (0))
|
||
|
||
|
||
/*--------------------------------.
|
||
| Print this symbol on YYOUTPUT. |
|
||
`--------------------------------*/
|
||
|
||
/*ARGSUSED*/
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static void
|
||
yy_symbol_value_print (FILE *yyoutput, 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
|
||
{
|
||
if (!yyvaluep)
|
||
return;
|
||
# ifdef YYPRINT
|
||
if (yytype < YYNTOKENS)
|
||
YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
|
||
# else
|
||
YYUSE (yyoutput);
|
||
# endif
|
||
switch (yytype)
|
||
{
|
||
default:
|
||
break;
|
||
}
|
||
}
|
||
|
||
|
||
/*--------------------------------.
|
||
| Print this symbol on YYOUTPUT. |
|
||
`--------------------------------*/
|
||
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static void
|
||
yy_symbol_print (FILE *yyoutput, 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 (yyoutput, "token %s (", yytname[yytype]);
|
||
else
|
||
YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
|
||
|
||
yy_symbol_value_print (yyoutput, yytype, yyvaluep);
|
||
YYFPRINTF (yyoutput, ")");
|
||
}
|
||
|
||
/*------------------------------------------------------------------.
|
||
| yy_stack_print -- Print the state stack from its BOTTOM up to its |
|
||
| TOP (included). |
|
||
`------------------------------------------------------------------*/
|
||
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static void
|
||
yy_stack_print (yytype_int16 *bottom, yytype_int16 *top)
|
||
#else
|
||
static void
|
||
yy_stack_print (bottom, top)
|
||
yytype_int16 *bottom;
|
||
yytype_int16 *top;
|
||
#endif
|
||
{
|
||
YYFPRINTF (stderr, "Stack now");
|
||
for (; bottom <= top; ++bottom)
|
||
YYFPRINTF (stderr, " %d", *bottom);
|
||
YYFPRINTF (stderr, "\n");
|
||
}
|
||
|
||
# define YY_STACK_PRINT(Bottom, Top) \
|
||
do { \
|
||
if (yydebug) \
|
||
yy_stack_print ((Bottom), (Top)); \
|
||
} while (YYID (0))
|
||
|
||
|
||
/*------------------------------------------------.
|
||
| Report that the YYRULE is going to be reduced. |
|
||
`------------------------------------------------*/
|
||
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static void
|
||
yy_reduce_print (YYSTYPE *yyvsp, int yyrule)
|
||
#else
|
||
static void
|
||
yy_reduce_print (yyvsp, yyrule)
|
||
YYSTYPE *yyvsp;
|
||
int yyrule;
|
||
#endif
|
||
{
|
||
int yynrhs = yyr2[yyrule];
|
||
int yyi;
|
||
unsigned long int yylno = yyrline[yyrule];
|
||
YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
|
||
yyrule - 1, yylno);
|
||
/* The symbols being reduced. */
|
||
for (yyi = 0; yyi < yynrhs; yyi++)
|
||
{
|
||
fprintf (stderr, " $%d = ", yyi + 1);
|
||
yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
|
||
&(yyvsp[(yyi + 1) - (yynrhs)])
|
||
);
|
||
fprintf (stderr, "\n");
|
||
}
|
||
}
|
||
|
||
# define YY_REDUCE_PRINT(Rule) \
|
||
do { \
|
||
if (yydebug) \
|
||
yy_reduce_print (yyvsp, Rule); \
|
||
} while (YYID (0))
|
||
|
||
/* Nonzero means print parse trace. It is left uninitialized so that
|
||
multiple parsers can coexist. */
|
||
int yydebug;
|
||
#else /* !YYDEBUG */
|
||
# define YYDPRINTF(Args)
|
||
# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
|
||
# define YY_STACK_PRINT(Bottom, Top)
|
||
# define YY_REDUCE_PRINT(Rule)
|
||
#endif /* !YYDEBUG */
|
||
|
||
|
||
/* YYINITDEPTH -- initial size of the parser's stacks. */
|
||
#ifndef YYINITDEPTH
|
||
# define YYINITDEPTH 200
|
||
#endif
|
||
|
||
/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
|
||
if the built-in stack extension method is used).
|
||
|
||
Do not make this value too large; the results are undefined if
|
||
YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
|
||
evaluated with infinite-precision integer arithmetic. */
|
||
|
||
#ifndef YYMAXDEPTH
|
||
# define YYMAXDEPTH 10000
|
||
#endif
|
||
|
||
|
||
|
||
#if YYERROR_VERBOSE
|
||
|
||
# ifndef yystrlen
|
||
# if defined __GLIBC__ && defined _STRING_H
|
||
# define yystrlen strlen
|
||
# else
|
||
/* Return the length of YYSTR. */
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static YYSIZE_T
|
||
yystrlen (const char *yystr)
|
||
#else
|
||
static YYSIZE_T
|
||
yystrlen (yystr)
|
||
const char *yystr;
|
||
#endif
|
||
{
|
||
YYSIZE_T yylen;
|
||
for (yylen = 0; yystr[yylen]; yylen++)
|
||
continue;
|
||
return yylen;
|
||
}
|
||
# endif
|
||
# endif
|
||
|
||
# ifndef yystpcpy
|
||
# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
|
||
# define yystpcpy stpcpy
|
||
# else
|
||
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
|
||
YYDEST. */
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static char *
|
||
yystpcpy (char *yydest, const char *yysrc)
|
||
#else
|
||
static char *
|
||
yystpcpy (yydest, yysrc)
|
||
char *yydest;
|
||
const char *yysrc;
|
||
#endif
|
||
{
|
||
char *yyd = yydest;
|
||
const char *yys = yysrc;
|
||
|
||
while ((*yyd++ = *yys++) != '\0')
|
||
continue;
|
||
|
||
return yyd - 1;
|
||
}
|
||
# endif
|
||
# endif
|
||
|
||
# ifndef yytnamerr
|
||
/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
|
||
quotes and backslashes, so that it's suitable for yyerror. The
|
||
heuristic is that double-quoting is unnecessary unless the string
|
||
contains an apostrophe, a comma, or backslash (other than
|
||
backslash-backslash). YYSTR is taken from yytname. If YYRES is
|
||
null, do not copy; instead, return the length of what the result
|
||
would have been. */
|
||
static YYSIZE_T
|
||
yytnamerr (char *yyres, const char *yystr)
|
||
{
|
||
if (*yystr == '"')
|
||
{
|
||
YYSIZE_T yyn = 0;
|
||
char const *yyp = yystr;
|
||
|
||
for (;;)
|
||
switch (*++yyp)
|
||
{
|
||
case '\'':
|
||
case ',':
|
||
goto do_not_strip_quotes;
|
||
|
||
case '\\':
|
||
if (*++yyp != '\\')
|
||
goto do_not_strip_quotes;
|
||
/* Fall through. */
|
||
default:
|
||
if (yyres)
|
||
yyres[yyn] = *yyp;
|
||
yyn++;
|
||
break;
|
||
|
||
case '"':
|
||
if (yyres)
|
||
yyres[yyn] = '\0';
|
||
return yyn;
|
||
}
|
||
do_not_strip_quotes: ;
|
||
}
|
||
|
||
if (! yyres)
|
||
return yystrlen (yystr);
|
||
|
||
return yystpcpy (yyres, yystr) - yyres;
|
||
}
|
||
# endif
|
||
|
||
/* Copy into YYRESULT an error message about the unexpected token
|
||
YYCHAR while in state YYSTATE. Return the number of bytes copied,
|
||
including the terminating null byte. If YYRESULT is null, do not
|
||
copy anything; just return the number of bytes that would be
|
||
copied. As a special case, return 0 if an ordinary "syntax error"
|
||
message will do. Return YYSIZE_MAXIMUM if overflow occurs during
|
||
size calculation. */
|
||
static YYSIZE_T
|
||
yysyntax_error (char *yyresult, int yystate, int yychar)
|
||
{
|
||
int yyn = yypact[yystate];
|
||
|
||
if (! (YYPACT_NINF < yyn && yyn <= YYLAST))
|
||
return 0;
|
||
else
|
||
{
|
||
int yytype = YYTRANSLATE (yychar);
|
||
YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]);
|
||
YYSIZE_T yysize = yysize0;
|
||
YYSIZE_T yysize1;
|
||
int yysize_overflow = 0;
|
||
enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
|
||
char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
|
||
int yyx;
|
||
|
||
# if 0
|
||
/* This is so xgettext sees the translatable formats that are
|
||
constructed on the fly. */
|
||
YY_("syntax error, unexpected %s");
|
||
YY_("syntax error, unexpected %s, expecting %s");
|
||
YY_("syntax error, unexpected %s, expecting %s or %s");
|
||
YY_("syntax error, unexpected %s, expecting %s or %s or %s");
|
||
YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s");
|
||
# endif
|
||
char *yyfmt;
|
||
char const *yyf;
|
||
static char const yyunexpected[] = "syntax error, unexpected %s";
|
||
static char const yyexpecting[] = ", expecting %s";
|
||
static char const yyor[] = " or %s";
|
||
char yyformat[sizeof yyunexpected
|
||
+ sizeof yyexpecting - 1
|
||
+ ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)
|
||
* (sizeof yyor - 1))];
|
||
char const *yyprefix = yyexpecting;
|
||
|
||
/* Start YYX at -YYN if negative to avoid negative indexes in
|
||
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)
|
||
{
|
||
yycount = 1;
|
||
yysize = yysize0;
|
||
yyformat[sizeof yyunexpected - 1] = '\0';
|
||
break;
|
||
}
|
||
yyarg[yycount++] = yytname[yyx];
|
||
yysize1 = yysize + yytnamerr (0, yytname[yyx]);
|
||
yysize_overflow |= (yysize1 < yysize);
|
||
yysize = yysize1;
|
||
yyfmt = yystpcpy (yyfmt, yyprefix);
|
||
yyprefix = yyor;
|
||
}
|
||
|
||
yyf = YY_(yyformat);
|
||
yysize1 = yysize + yystrlen (yyf);
|
||
yysize_overflow |= (yysize1 < yysize);
|
||
yysize = yysize1;
|
||
|
||
if (yysize_overflow)
|
||
return YYSIZE_MAXIMUM;
|
||
|
||
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. */
|
||
char *yyp = yyresult;
|
||
int yyi = 0;
|
||
while ((*yyp = *yyf) != '\0')
|
||
{
|
||
if (*yyp == '%' && yyf[1] == 's' && yyi < yycount)
|
||
{
|
||
yyp += yytnamerr (yyp, yyarg[yyi++]);
|
||
yyf += 2;
|
||
}
|
||
else
|
||
{
|
||
yyp++;
|
||
yyf++;
|
||
}
|
||
}
|
||
}
|
||
return yysize;
|
||
}
|
||
}
|
||
#endif /* YYERROR_VERBOSE */
|
||
|
||
|
||
/*-----------------------------------------------.
|
||
| Release the memory associated to this symbol. |
|
||
`-----------------------------------------------*/
|
||
|
||
/*ARGSUSED*/
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static void
|
||
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);
|
||
|
||
if (!yymsg)
|
||
yymsg = "Deleting";
|
||
YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
|
||
|
||
switch (yytype)
|
||
{
|
||
|
||
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 look-ahead symbol. */
|
||
int yychar;
|
||
|
||
/* The semantic value of the look-ahead symbol. */
|
||
YYSTYPE yylval;
|
||
|
||
/* Number of syntax errors so far. */
|
||
int yynerrs;
|
||
|
||
|
||
|
||
/*----------.
|
||
| yyparse. |
|
||
`----------*/
|
||
|
||
#ifdef YYPARSE_PARAM
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
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)
|
||
#else
|
||
int
|
||
yyparse ()
|
||
|
||
#endif
|
||
#endif
|
||
{
|
||
|
||
int yystate;
|
||
int yyn;
|
||
int yyresult;
|
||
/* Number of tokens to shift before error messages enabled. */
|
||
int yyerrstatus;
|
||
/* Look-ahead token as an internal (translated) token number. */
|
||
int yytoken = 0;
|
||
#if YYERROR_VERBOSE
|
||
/* Buffer for error messages, and its allocated size. */
|
||
char yymsgbuf[128];
|
||
char *yymsg = yymsgbuf;
|
||
YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
|
||
#endif
|
||
|
||
/* Three stacks and their tools:
|
||
`yyss': related to states,
|
||
`yyvs': related to semantic values,
|
||
`yyls': related to locations.
|
||
|
||
Refer to the stacks thru separate pointers, to allow yyoverflow
|
||
to reallocate them elsewhere. */
|
||
|
||
/* The state stack. */
|
||
yytype_int16 yyssa[YYINITDEPTH];
|
||
yytype_int16 *yyss = yyssa;
|
||
yytype_int16 *yyssp;
|
||
|
||
/* The semantic value stack. */
|
||
YYSTYPE yyvsa[YYINITDEPTH];
|
||
YYSTYPE *yyvs = yyvsa;
|
||
YYSTYPE *yyvsp;
|
||
|
||
|
||
|
||
#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
|
||
|
||
YYSIZE_T yystacksize = YYINITDEPTH;
|
||
|
||
/* The variables used to return semantic value and location from the
|
||
action routines. */
|
||
YYSTYPE yyval;
|
||
|
||
|
||
/* The number of symbols on the RHS of the reduced rule.
|
||
Keep to zero when no symbol should be popped. */
|
||
int yylen = 0;
|
||
|
||
YYDPRINTF ((stderr, "Starting parse\n"));
|
||
|
||
yystate = 0;
|
||
yyerrstatus = 0;
|
||
yynerrs = 0;
|
||
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;
|
||
|
||
/*------------------------------------------------------------.
|
||
| yynewstate -- Push a new state, which is found in yystate. |
|
||
`------------------------------------------------------------*/
|
||
yynewstate:
|
||
/* In all cases, when you get here, the value and location stacks
|
||
have just been pushed. So pushing a state here evens the stacks. */
|
||
yyssp++;
|
||
|
||
yysetstate:
|
||
*yyssp = yystate;
|
||
|
||
if (yyss + yystacksize - 1 <= yyssp)
|
||
{
|
||
/* Get the current used size of the three stacks, in elements. */
|
||
YYSIZE_T yysize = yyssp - yyss + 1;
|
||
|
||
#ifdef yyoverflow
|
||
{
|
||
/* Give user a chance to reallocate the stack. Use copies of
|
||
these so that the &'s don't force the real ones into
|
||
memory. */
|
||
YYSTYPE *yyvs1 = yyvs;
|
||
yytype_int16 *yyss1 = yyss;
|
||
|
||
|
||
/* Each stack pointer address is followed by the size of the
|
||
data in use in that stack, in bytes. This used to be a
|
||
conditional around just the two extra args, but that might
|
||
be undefined if yyoverflow is a macro. */
|
||
yyoverflow (YY_("memory exhausted"),
|
||
&yyss1, yysize * sizeof (*yyssp),
|
||
&yyvs1, yysize * sizeof (*yyvsp),
|
||
|
||
&yystacksize);
|
||
|
||
yyss = yyss1;
|
||
yyvs = yyvs1;
|
||
}
|
||
#else /* no yyoverflow */
|
||
# ifndef YYSTACK_RELOCATE
|
||
goto yyexhaustedlab;
|
||
# else
|
||
/* Extend the stack our own way. */
|
||
if (YYMAXDEPTH <= yystacksize)
|
||
goto yyexhaustedlab;
|
||
yystacksize *= 2;
|
||
if (YYMAXDEPTH < yystacksize)
|
||
yystacksize = YYMAXDEPTH;
|
||
|
||
{
|
||
yytype_int16 *yyss1 = yyss;
|
||
union yyalloc *yyptr =
|
||
(union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
|
||
if (! yyptr)
|
||
goto yyexhaustedlab;
|
||
YYSTACK_RELOCATE (yyss);
|
||
YYSTACK_RELOCATE (yyvs);
|
||
|
||
# undef YYSTACK_RELOCATE
|
||
if (yyss1 != yyssa)
|
||
YYSTACK_FREE (yyss1);
|
||
}
|
||
# endif
|
||
#endif /* no yyoverflow */
|
||
|
||
yyssp = yyss + yysize - 1;
|
||
yyvsp = yyvs + yysize - 1;
|
||
|
||
|
||
YYDPRINTF ((stderr, "Stack size increased to %lu\n",
|
||
(unsigned long int) yystacksize));
|
||
|
||
if (yyss + yystacksize - 1 <= yyssp)
|
||
YYABORT;
|
||
}
|
||
|
||
YYDPRINTF ((stderr, "Entering state %d\n", yystate));
|
||
|
||
goto yybackup;
|
||
|
||
/*-----------.
|
||
| yybackup. |
|
||
`-----------*/
|
||
yybackup:
|
||
|
||
/* Do appropriate processing given the current state. Read a
|
||
look-ahead token if we need one and don't already have one. */
|
||
|
||
/* First try to decide what to do without reference to look-ahead token. */
|
||
yyn = yypact[yystate];
|
||
if (yyn == YYPACT_NINF)
|
||
goto yydefault;
|
||
|
||
/* Not known => get a look-ahead token if don't already have one. */
|
||
|
||
/* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol. */
|
||
if (yychar == YYEMPTY)
|
||
{
|
||
YYDPRINTF ((stderr, "Reading a token: "));
|
||
yychar = YYLEX;
|
||
}
|
||
|
||
if (yychar <= YYEOF)
|
||
{
|
||
yychar = yytoken = YYEOF;
|
||
YYDPRINTF ((stderr, "Now at end of input.\n"));
|
||
}
|
||
else
|
||
{
|
||
yytoken = YYTRANSLATE (yychar);
|
||
YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
|
||
}
|
||
|
||
/* If the proper action on seeing token YYTOKEN is to reduce or to
|
||
detect an error, take that action. */
|
||
yyn += yytoken;
|
||
if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
|
||
goto yydefault;
|
||
yyn = yytable[yyn];
|
||
if (yyn <= 0)
|
||
{
|
||
if (yyn == 0 || yyn == YYTABLE_NINF)
|
||
goto yyerrlab;
|
||
yyn = -yyn;
|
||
goto yyreduce;
|
||
}
|
||
|
||
if (yyn == YYFINAL)
|
||
YYACCEPT;
|
||
|
||
/* Count tokens shifted since error; after three, turn off error
|
||
status. */
|
||
if (yyerrstatus)
|
||
yyerrstatus--;
|
||
|
||
/* Shift the look-ahead token. */
|
||
YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
|
||
|
||
/* Discard the shifted token unless it is eof. */
|
||
if (yychar != YYEOF)
|
||
yychar = YYEMPTY;
|
||
|
||
yystate = yyn;
|
||
*++yyvsp = yylval;
|
||
|
||
goto yynewstate;
|
||
|
||
|
||
/*-----------------------------------------------------------.
|
||
| yydefault -- do the default action for the current state. |
|
||
`-----------------------------------------------------------*/
|
||
yydefault:
|
||
yyn = yydefact[yystate];
|
||
if (yyn == 0)
|
||
goto yyerrlab;
|
||
goto yyreduce;
|
||
|
||
|
||
/*-----------------------------.
|
||
| yyreduce -- Do a reduction. |
|
||
`-----------------------------*/
|
||
yyreduce:
|
||
/* yyn is the number of a rule to reduce with. */
|
||
yylen = yyr2[yyn];
|
||
|
||
/* If YYLEN is nonzero, implement the default value of the action:
|
||
`$$ = $1'.
|
||
|
||
Otherwise, the following line sets YYVAL to garbage.
|
||
This behavior is undocumented and Bison
|
||
users should not rely upon it. Assigning to YYVAL
|
||
unconditionally makes the parser a bit smaller, and it avoids a
|
||
GCC warning that YYVAL may be used uninitialized. */
|
||
yyval = yyvsp[1-yylen];
|
||
|
||
|
||
YY_REDUCE_PRINT (yyn);
|
||
switch (yyn)
|
||
{
|
||
case 2:
|
||
#line 98 "awkgram.y"
|
||
{ if (errorflag==0)
|
||
winner = (Node *)stat3(PROGRAM, beginloc, (yyvsp[(1) - (1)].p), endloc); }
|
||
break;
|
||
|
||
case 3:
|
||
#line 100 "awkgram.y"
|
||
{ yyclearin; bracecheck(); SYNTAX("bailing out"); }
|
||
break;
|
||
|
||
case 14:
|
||
#line 124 "awkgram.y"
|
||
{inloop++;}
|
||
break;
|
||
|
||
case 15:
|
||
#line 125 "awkgram.y"
|
||
{ --inloop; (yyval.p) = stat4(FOR, (yyvsp[(3) - (12)].p), notnull((yyvsp[(6) - (12)].p)), (yyvsp[(9) - (12)].p), (yyvsp[(12) - (12)].p)); }
|
||
break;
|
||
|
||
case 16:
|
||
#line 126 "awkgram.y"
|
||
{inloop++;}
|
||
break;
|
||
|
||
case 17:
|
||
#line 127 "awkgram.y"
|
||
{ --inloop; (yyval.p) = stat4(FOR, (yyvsp[(3) - (10)].p), NIL, (yyvsp[(7) - (10)].p), (yyvsp[(10) - (10)].p)); }
|
||
break;
|
||
|
||
case 18:
|
||
#line 128 "awkgram.y"
|
||
{inloop++;}
|
||
break;
|
||
|
||
case 19:
|
||
#line 129 "awkgram.y"
|
||
{ --inloop; (yyval.p) = stat3(IN, (yyvsp[(3) - (8)].p), makearr((yyvsp[(5) - (8)].p)), (yyvsp[(8) - (8)].p)); }
|
||
break;
|
||
|
||
case 20:
|
||
#line 133 "awkgram.y"
|
||
{ setfname((yyvsp[(1) - (1)].cp)); }
|
||
break;
|
||
|
||
case 21:
|
||
#line 134 "awkgram.y"
|
||
{ setfname((yyvsp[(1) - (1)].cp)); }
|
||
break;
|
||
|
||
case 22:
|
||
#line 138 "awkgram.y"
|
||
{ (yyval.p) = notnull((yyvsp[(3) - (4)].p)); }
|
||
break;
|
||
|
||
case 27:
|
||
#line 150 "awkgram.y"
|
||
{ (yyval.i) = 0; }
|
||
break;
|
||
|
||
case 29:
|
||
#line 155 "awkgram.y"
|
||
{ (yyval.i) = 0; }
|
||
break;
|
||
|
||
case 31:
|
||
#line 161 "awkgram.y"
|
||
{ (yyval.p) = 0; }
|
||
break;
|
||
|
||
case 33:
|
||
#line 166 "awkgram.y"
|
||
{ (yyval.p) = 0; }
|
||
break;
|
||
|
||
case 34:
|
||
#line 167 "awkgram.y"
|
||
{ (yyval.p) = (yyvsp[(2) - (3)].p); }
|
||
break;
|
||
|
||
case 35:
|
||
#line 171 "awkgram.y"
|
||
{ (yyval.p) = notnull((yyvsp[(1) - (1)].p)); }
|
||
break;
|
||
|
||
case 36:
|
||
#line 175 "awkgram.y"
|
||
{ (yyval.p) = stat2(PASTAT, (yyvsp[(1) - (1)].p), stat2(PRINT, rectonode(), NIL)); }
|
||
break;
|
||
|
||
case 37:
|
||
#line 176 "awkgram.y"
|
||
{ (yyval.p) = stat2(PASTAT, (yyvsp[(1) - (4)].p), (yyvsp[(3) - (4)].p)); }
|
||
break;
|
||
|
||
case 38:
|
||
#line 177 "awkgram.y"
|
||
{ (yyval.p) = pa2stat((yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p), stat2(PRINT, rectonode(), NIL)); }
|
||
break;
|
||
|
||
case 39:
|
||
#line 178 "awkgram.y"
|
||
{ (yyval.p) = pa2stat((yyvsp[(1) - (6)].p), (yyvsp[(3) - (6)].p), (yyvsp[(5) - (6)].p)); }
|
||
break;
|
||
|
||
case 40:
|
||
#line 179 "awkgram.y"
|
||
{ (yyval.p) = stat2(PASTAT, NIL, (yyvsp[(2) - (3)].p)); }
|
||
break;
|
||
|
||
case 41:
|
||
#line 181 "awkgram.y"
|
||
{ beginloc = linkum(beginloc, (yyvsp[(3) - (4)].p)); (yyval.p) = 0; }
|
||
break;
|
||
|
||
case 42:
|
||
#line 183 "awkgram.y"
|
||
{ endloc = linkum(endloc, (yyvsp[(3) - (4)].p)); (yyval.p) = 0; }
|
||
break;
|
||
|
||
case 43:
|
||
#line 184 "awkgram.y"
|
||
{infunc++;}
|
||
break;
|
||
|
||
case 44:
|
||
#line 185 "awkgram.y"
|
||
{ infunc--; curfname=0; defn((Cell *)(yyvsp[(2) - (9)].p), (yyvsp[(4) - (9)].p), (yyvsp[(8) - (9)].p)); (yyval.p) = 0; }
|
||
break;
|
||
|
||
case 46:
|
||
#line 190 "awkgram.y"
|
||
{ (yyval.p) = linkum((yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 48:
|
||
#line 195 "awkgram.y"
|
||
{ (yyval.p) = linkum((yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 49:
|
||
#line 199 "awkgram.y"
|
||
{ (yyval.p) = op2((yyvsp[(2) - (3)].i), (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 50:
|
||
#line 201 "awkgram.y"
|
||
{ (yyval.p) = op3(CONDEXPR, notnull((yyvsp[(1) - (5)].p)), (yyvsp[(3) - (5)].p), (yyvsp[(5) - (5)].p)); }
|
||
break;
|
||
|
||
case 51:
|
||
#line 203 "awkgram.y"
|
||
{ (yyval.p) = op2(BOR, notnull((yyvsp[(1) - (3)].p)), notnull((yyvsp[(3) - (3)].p))); }
|
||
break;
|
||
|
||
case 52:
|
||
#line 205 "awkgram.y"
|
||
{ (yyval.p) = op2(AND, notnull((yyvsp[(1) - (3)].p)), notnull((yyvsp[(3) - (3)].p))); }
|
||
break;
|
||
|
||
case 53:
|
||
#line 206 "awkgram.y"
|
||
{ (yyval.p) = op3((yyvsp[(2) - (3)].i), NIL, (yyvsp[(1) - (3)].p), (Node*)makedfa((yyvsp[(3) - (3)].s), 0)); }
|
||
break;
|
||
|
||
case 54:
|
||
#line 208 "awkgram.y"
|
||
{ if (constnode((yyvsp[(3) - (3)].p)))
|
||
(yyval.p) = op3((yyvsp[(2) - (3)].i), NIL, (yyvsp[(1) - (3)].p), (Node*)makedfa(strnode((yyvsp[(3) - (3)].p)), 0));
|
||
else
|
||
(yyval.p) = op3((yyvsp[(2) - (3)].i), (Node *)1, (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 55:
|
||
#line 212 "awkgram.y"
|
||
{ (yyval.p) = op2(INTEST, (yyvsp[(1) - (3)].p), makearr((yyvsp[(3) - (3)].p))); }
|
||
break;
|
||
|
||
case 56:
|
||
#line 213 "awkgram.y"
|
||
{ (yyval.p) = op2(INTEST, (yyvsp[(2) - (5)].p), makearr((yyvsp[(5) - (5)].p))); }
|
||
break;
|
||
|
||
case 57:
|
||
#line 214 "awkgram.y"
|
||
{ (yyval.p) = op2(CAT, (yyvsp[(1) - (2)].p), (yyvsp[(2) - (2)].p)); }
|
||
break;
|
||
|
||
case 60:
|
||
#line 220 "awkgram.y"
|
||
{ (yyval.p) = op2((yyvsp[(2) - (3)].i), (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 61:
|
||
#line 222 "awkgram.y"
|
||
{ (yyval.p) = op3(CONDEXPR, notnull((yyvsp[(1) - (5)].p)), (yyvsp[(3) - (5)].p), (yyvsp[(5) - (5)].p)); }
|
||
break;
|
||
|
||
case 62:
|
||
#line 224 "awkgram.y"
|
||
{ (yyval.p) = op2(BOR, notnull((yyvsp[(1) - (3)].p)), notnull((yyvsp[(3) - (3)].p))); }
|
||
break;
|
||
|
||
case 63:
|
||
#line 226 "awkgram.y"
|
||
{ (yyval.p) = op2(AND, notnull((yyvsp[(1) - (3)].p)), notnull((yyvsp[(3) - (3)].p))); }
|
||
break;
|
||
|
||
case 64:
|
||
#line 227 "awkgram.y"
|
||
{ (yyval.p) = op2((yyvsp[(2) - (3)].i), (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 65:
|
||
#line 228 "awkgram.y"
|
||
{ (yyval.p) = op2((yyvsp[(2) - (3)].i), (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 66:
|
||
#line 229 "awkgram.y"
|
||
{ (yyval.p) = op2((yyvsp[(2) - (3)].i), (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 67:
|
||
#line 230 "awkgram.y"
|
||
{ (yyval.p) = op2((yyvsp[(2) - (3)].i), (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 68:
|
||
#line 231 "awkgram.y"
|
||
{ (yyval.p) = op2((yyvsp[(2) - (3)].i), (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 69:
|
||
#line 232 "awkgram.y"
|
||
{ (yyval.p) = op2((yyvsp[(2) - (3)].i), (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 70:
|
||
#line 233 "awkgram.y"
|
||
{ (yyval.p) = op3((yyvsp[(2) - (3)].i), NIL, (yyvsp[(1) - (3)].p), (Node*)makedfa((yyvsp[(3) - (3)].s), 0)); }
|
||
break;
|
||
|
||
case 71:
|
||
#line 235 "awkgram.y"
|
||
{ if (constnode((yyvsp[(3) - (3)].p)))
|
||
(yyval.p) = op3((yyvsp[(2) - (3)].i), NIL, (yyvsp[(1) - (3)].p), (Node*)makedfa(strnode((yyvsp[(3) - (3)].p)), 0));
|
||
else
|
||
(yyval.p) = op3((yyvsp[(2) - (3)].i), (Node *)1, (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 72:
|
||
#line 239 "awkgram.y"
|
||
{ (yyval.p) = op2(INTEST, (yyvsp[(1) - (3)].p), makearr((yyvsp[(3) - (3)].p))); }
|
||
break;
|
||
|
||
case 73:
|
||
#line 240 "awkgram.y"
|
||
{ (yyval.p) = op2(INTEST, (yyvsp[(2) - (5)].p), makearr((yyvsp[(5) - (5)].p))); }
|
||
break;
|
||
|
||
case 74:
|
||
#line 241 "awkgram.y"
|
||
{
|
||
if (safe) SYNTAX("cmd | getline is unsafe");
|
||
else (yyval.p) = op3(GETLINE, (yyvsp[(4) - (4)].p), itonp((yyvsp[(2) - (4)].i)), (yyvsp[(1) - (4)].p)); }
|
||
break;
|
||
|
||
case 75:
|
||
#line 244 "awkgram.y"
|
||
{
|
||
if (safe) SYNTAX("cmd | getline is unsafe");
|
||
else (yyval.p) = op3(GETLINE, (Node*)0, itonp((yyvsp[(2) - (3)].i)), (yyvsp[(1) - (3)].p)); }
|
||
break;
|
||
|
||
case 76:
|
||
#line 247 "awkgram.y"
|
||
{ (yyval.p) = op2(CAT, (yyvsp[(1) - (2)].p), (yyvsp[(2) - (2)].p)); }
|
||
break;
|
||
|
||
case 79:
|
||
#line 253 "awkgram.y"
|
||
{ (yyval.p) = linkum((yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 80:
|
||
#line 254 "awkgram.y"
|
||
{ (yyval.p) = linkum((yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 82:
|
||
#line 259 "awkgram.y"
|
||
{ (yyval.p) = linkum((yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 83:
|
||
#line 263 "awkgram.y"
|
||
{ (yyval.p) = rectonode(); }
|
||
break;
|
||
|
||
case 85:
|
||
#line 265 "awkgram.y"
|
||
{ (yyval.p) = (yyvsp[(2) - (3)].p); }
|
||
break;
|
||
|
||
case 94:
|
||
#line 282 "awkgram.y"
|
||
{ (yyval.p) = op3(MATCH, NIL, rectonode(), (Node*)makedfa((yyvsp[(1) - (1)].s), 0)); }
|
||
break;
|
||
|
||
case 95:
|
||
#line 283 "awkgram.y"
|
||
{ (yyval.p) = op1(NOT, notnull((yyvsp[(2) - (2)].p))); }
|
||
break;
|
||
|
||
case 96:
|
||
#line 287 "awkgram.y"
|
||
{startreg();}
|
||
break;
|
||
|
||
case 97:
|
||
#line 287 "awkgram.y"
|
||
{ (yyval.s) = (yyvsp[(3) - (4)].s); }
|
||
break;
|
||
|
||
case 100:
|
||
#line 295 "awkgram.y"
|
||
{
|
||
if (safe) SYNTAX("print | is unsafe");
|
||
else (yyval.p) = stat3((yyvsp[(1) - (4)].i), (yyvsp[(2) - (4)].p), itonp((yyvsp[(3) - (4)].i)), (yyvsp[(4) - (4)].p)); }
|
||
break;
|
||
|
||
case 101:
|
||
#line 298 "awkgram.y"
|
||
{
|
||
if (safe) SYNTAX("print >> is unsafe");
|
||
else (yyval.p) = stat3((yyvsp[(1) - (4)].i), (yyvsp[(2) - (4)].p), itonp((yyvsp[(3) - (4)].i)), (yyvsp[(4) - (4)].p)); }
|
||
break;
|
||
|
||
case 102:
|
||
#line 301 "awkgram.y"
|
||
{
|
||
if (safe) SYNTAX("print > is unsafe");
|
||
else (yyval.p) = stat3((yyvsp[(1) - (4)].i), (yyvsp[(2) - (4)].p), itonp((yyvsp[(3) - (4)].i)), (yyvsp[(4) - (4)].p)); }
|
||
break;
|
||
|
||
case 103:
|
||
#line 304 "awkgram.y"
|
||
{ (yyval.p) = stat3((yyvsp[(1) - (2)].i), (yyvsp[(2) - (2)].p), NIL, NIL); }
|
||
break;
|
||
|
||
case 104:
|
||
#line 305 "awkgram.y"
|
||
{ (yyval.p) = stat2(DELETE, makearr((yyvsp[(2) - (5)].p)), (yyvsp[(4) - (5)].p)); }
|
||
break;
|
||
|
||
case 105:
|
||
#line 306 "awkgram.y"
|
||
{ (yyval.p) = stat2(DELETE, makearr((yyvsp[(2) - (2)].p)), 0); }
|
||
break;
|
||
|
||
case 106:
|
||
#line 307 "awkgram.y"
|
||
{ (yyval.p) = exptostat((yyvsp[(1) - (1)].p)); }
|
||
break;
|
||
|
||
case 107:
|
||
#line 308 "awkgram.y"
|
||
{ yyclearin; SYNTAX("illegal statement"); }
|
||
break;
|
||
|
||
case 110:
|
||
#line 317 "awkgram.y"
|
||
{ if (!inloop) SYNTAX("break illegal outside of loops");
|
||
(yyval.p) = stat1(BREAK, NIL); }
|
||
break;
|
||
|
||
case 111:
|
||
#line 319 "awkgram.y"
|
||
{ if (!inloop) SYNTAX("continue illegal outside of loops");
|
||
(yyval.p) = stat1(CONTINUE, NIL); }
|
||
break;
|
||
|
||
case 112:
|
||
#line 321 "awkgram.y"
|
||
{inloop++;}
|
||
break;
|
||
|
||
case 113:
|
||
#line 321 "awkgram.y"
|
||
{--inloop;}
|
||
break;
|
||
|
||
case 114:
|
||
#line 322 "awkgram.y"
|
||
{ (yyval.p) = stat2(DO, (yyvsp[(3) - (9)].p), notnull((yyvsp[(7) - (9)].p))); }
|
||
break;
|
||
|
||
case 115:
|
||
#line 323 "awkgram.y"
|
||
{ (yyval.p) = stat1(EXIT, (yyvsp[(2) - (3)].p)); }
|
||
break;
|
||
|
||
case 116:
|
||
#line 324 "awkgram.y"
|
||
{ (yyval.p) = stat1(EXIT, NIL); }
|
||
break;
|
||
|
||
case 118:
|
||
#line 326 "awkgram.y"
|
||
{ (yyval.p) = stat3(IF, (yyvsp[(1) - (4)].p), (yyvsp[(2) - (4)].p), (yyvsp[(4) - (4)].p)); }
|
||
break;
|
||
|
||
case 119:
|
||
#line 327 "awkgram.y"
|
||
{ (yyval.p) = stat3(IF, (yyvsp[(1) - (2)].p), (yyvsp[(2) - (2)].p), NIL); }
|
||
break;
|
||
|
||
case 120:
|
||
#line 328 "awkgram.y"
|
||
{ (yyval.p) = (yyvsp[(2) - (3)].p); }
|
||
break;
|
||
|
||
case 121:
|
||
#line 329 "awkgram.y"
|
||
{ if (infunc)
|
||
SYNTAX("next is illegal inside a function");
|
||
(yyval.p) = stat1(NEXT, NIL); }
|
||
break;
|
||
|
||
case 122:
|
||
#line 332 "awkgram.y"
|
||
{ if (infunc)
|
||
SYNTAX("nextfile is illegal inside a function");
|
||
(yyval.p) = stat1(NEXTFILE, NIL); }
|
||
break;
|
||
|
||
case 123:
|
||
#line 335 "awkgram.y"
|
||
{ (yyval.p) = stat1(RETURN, (yyvsp[(2) - (3)].p)); }
|
||
break;
|
||
|
||
case 124:
|
||
#line 336 "awkgram.y"
|
||
{ (yyval.p) = stat1(RETURN, NIL); }
|
||
break;
|
||
|
||
case 126:
|
||
#line 338 "awkgram.y"
|
||
{inloop++;}
|
||
break;
|
||
|
||
case 127:
|
||
#line 338 "awkgram.y"
|
||
{ --inloop; (yyval.p) = stat2(WHILE, (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 128:
|
||
#line 339 "awkgram.y"
|
||
{ (yyval.p) = 0; }
|
||
break;
|
||
|
||
case 130:
|
||
#line 344 "awkgram.y"
|
||
{ (yyval.p) = linkum((yyvsp[(1) - (2)].p), (yyvsp[(2) - (2)].p)); }
|
||
break;
|
||
|
||
case 133:
|
||
#line 352 "awkgram.y"
|
||
{ (yyval.p) = op2(DIVEQ, (yyvsp[(1) - (4)].p), (yyvsp[(4) - (4)].p)); }
|
||
break;
|
||
|
||
case 134:
|
||
#line 353 "awkgram.y"
|
||
{ (yyval.p) = op2(ADD, (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 135:
|
||
#line 354 "awkgram.y"
|
||
{ (yyval.p) = op2(MINUS, (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 136:
|
||
#line 355 "awkgram.y"
|
||
{ (yyval.p) = op2(MULT, (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 137:
|
||
#line 356 "awkgram.y"
|
||
{ (yyval.p) = op2(DIVIDE, (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 138:
|
||
#line 357 "awkgram.y"
|
||
{ (yyval.p) = op2(MOD, (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 139:
|
||
#line 358 "awkgram.y"
|
||
{ (yyval.p) = op2(POWER, (yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 140:
|
||
#line 359 "awkgram.y"
|
||
{ (yyval.p) = op1(UMINUS, (yyvsp[(2) - (2)].p)); }
|
||
break;
|
||
|
||
case 141:
|
||
#line 360 "awkgram.y"
|
||
{ (yyval.p) = (yyvsp[(2) - (2)].p); }
|
||
break;
|
||
|
||
case 142:
|
||
#line 361 "awkgram.y"
|
||
{ (yyval.p) = op1(NOT, notnull((yyvsp[(2) - (2)].p))); }
|
||
break;
|
||
|
||
case 143:
|
||
#line 362 "awkgram.y"
|
||
{ (yyval.p) = op2(BLTIN, itonp((yyvsp[(1) - (3)].i)), rectonode()); }
|
||
break;
|
||
|
||
case 144:
|
||
#line 363 "awkgram.y"
|
||
{ (yyval.p) = op2(BLTIN, itonp((yyvsp[(1) - (4)].i)), (yyvsp[(3) - (4)].p)); }
|
||
break;
|
||
|
||
case 145:
|
||
#line 364 "awkgram.y"
|
||
{ (yyval.p) = op2(BLTIN, itonp((yyvsp[(1) - (1)].i)), rectonode()); }
|
||
break;
|
||
|
||
case 146:
|
||
#line 365 "awkgram.y"
|
||
{ (yyval.p) = op2(CALL, celltonode((yyvsp[(1) - (3)].cp),CVAR), NIL); }
|
||
break;
|
||
|
||
case 147:
|
||
#line 366 "awkgram.y"
|
||
{ (yyval.p) = op2(CALL, celltonode((yyvsp[(1) - (4)].cp),CVAR), (yyvsp[(3) - (4)].p)); }
|
||
break;
|
||
|
||
case 148:
|
||
#line 367 "awkgram.y"
|
||
{ (yyval.p) = op1(CLOSE, (yyvsp[(2) - (2)].p)); }
|
||
break;
|
||
|
||
case 149:
|
||
#line 368 "awkgram.y"
|
||
{ (yyval.p) = op1(PREDECR, (yyvsp[(2) - (2)].p)); }
|
||
break;
|
||
|
||
case 150:
|
||
#line 369 "awkgram.y"
|
||
{ (yyval.p) = op1(PREINCR, (yyvsp[(2) - (2)].p)); }
|
||
break;
|
||
|
||
case 151:
|
||
#line 370 "awkgram.y"
|
||
{ (yyval.p) = op1(POSTDECR, (yyvsp[(1) - (2)].p)); }
|
||
break;
|
||
|
||
case 152:
|
||
#line 371 "awkgram.y"
|
||
{ (yyval.p) = op1(POSTINCR, (yyvsp[(1) - (2)].p)); }
|
||
break;
|
||
|
||
case 153:
|
||
#line 372 "awkgram.y"
|
||
{ (yyval.p) = op3(GETLINE, (yyvsp[(2) - (4)].p), itonp((yyvsp[(3) - (4)].i)), (yyvsp[(4) - (4)].p)); }
|
||
break;
|
||
|
||
case 154:
|
||
#line 373 "awkgram.y"
|
||
{ (yyval.p) = op3(GETLINE, NIL, itonp((yyvsp[(2) - (3)].i)), (yyvsp[(3) - (3)].p)); }
|
||
break;
|
||
|
||
case 155:
|
||
#line 374 "awkgram.y"
|
||
{ (yyval.p) = op3(GETLINE, (yyvsp[(2) - (2)].p), NIL, NIL); }
|
||
break;
|
||
|
||
case 156:
|
||
#line 375 "awkgram.y"
|
||
{ (yyval.p) = op3(GETLINE, NIL, NIL, NIL); }
|
||
break;
|
||
|
||
case 157:
|
||
#line 377 "awkgram.y"
|
||
{ (yyval.p) = op2(INDEX, (yyvsp[(3) - (6)].p), (yyvsp[(5) - (6)].p)); }
|
||
break;
|
||
|
||
case 158:
|
||
#line 379 "awkgram.y"
|
||
{ SYNTAX("index() doesn't permit regular expressions");
|
||
(yyval.p) = op2(INDEX, (yyvsp[(3) - (6)].p), (Node*)(yyvsp[(5) - (6)].s)); }
|
||
break;
|
||
|
||
case 159:
|
||
#line 381 "awkgram.y"
|
||
{ (yyval.p) = (yyvsp[(2) - (3)].p); }
|
||
break;
|
||
|
||
case 160:
|
||
#line 383 "awkgram.y"
|
||
{ (yyval.p) = op3(MATCHFCN, NIL, (yyvsp[(3) - (6)].p), (Node*)makedfa((yyvsp[(5) - (6)].s), 1)); }
|
||
break;
|
||
|
||
case 161:
|
||
#line 385 "awkgram.y"
|
||
{ if (constnode((yyvsp[(5) - (6)].p)))
|
||
(yyval.p) = op3(MATCHFCN, NIL, (yyvsp[(3) - (6)].p), (Node*)makedfa(strnode((yyvsp[(5) - (6)].p)), 1));
|
||
else
|
||
(yyval.p) = op3(MATCHFCN, (Node *)1, (yyvsp[(3) - (6)].p), (yyvsp[(5) - (6)].p)); }
|
||
break;
|
||
|
||
case 162:
|
||
#line 389 "awkgram.y"
|
||
{ (yyval.p) = celltonode((yyvsp[(1) - (1)].cp), CCON); }
|
||
break;
|
||
|
||
case 163:
|
||
#line 391 "awkgram.y"
|
||
{ (yyval.p) = op4(SPLIT, (yyvsp[(3) - (8)].p), makearr((yyvsp[(5) - (8)].p)), (yyvsp[(7) - (8)].p), (Node*)STRING); }
|
||
break;
|
||
|
||
case 164:
|
||
#line 393 "awkgram.y"
|
||
{ (yyval.p) = op4(SPLIT, (yyvsp[(3) - (8)].p), makearr((yyvsp[(5) - (8)].p)), (Node*)makedfa((yyvsp[(7) - (8)].s), 1), (Node *)REGEXPR); }
|
||
break;
|
||
|
||
case 165:
|
||
#line 395 "awkgram.y"
|
||
{ (yyval.p) = op4(SPLIT, (yyvsp[(3) - (6)].p), makearr((yyvsp[(5) - (6)].p)), NIL, (Node*)STRING); }
|
||
break;
|
||
|
||
case 166:
|
||
#line 396 "awkgram.y"
|
||
{ (yyval.p) = op1((yyvsp[(1) - (4)].i), (yyvsp[(3) - (4)].p)); }
|
||
break;
|
||
|
||
case 167:
|
||
#line 397 "awkgram.y"
|
||
{ (yyval.p) = celltonode((yyvsp[(1) - (1)].cp), CCON); }
|
||
break;
|
||
|
||
case 168:
|
||
#line 399 "awkgram.y"
|
||
{ (yyval.p) = op4((yyvsp[(1) - (6)].i), NIL, (Node*)makedfa((yyvsp[(3) - (6)].s), 1), (yyvsp[(5) - (6)].p), rectonode()); }
|
||
break;
|
||
|
||
case 169:
|
||
#line 401 "awkgram.y"
|
||
{ if (constnode((yyvsp[(3) - (6)].p)))
|
||
(yyval.p) = op4((yyvsp[(1) - (6)].i), NIL, (Node*)makedfa(strnode((yyvsp[(3) - (6)].p)), 1), (yyvsp[(5) - (6)].p), rectonode());
|
||
else
|
||
(yyval.p) = op4((yyvsp[(1) - (6)].i), (Node *)1, (yyvsp[(3) - (6)].p), (yyvsp[(5) - (6)].p), rectonode()); }
|
||
break;
|
||
|
||
case 170:
|
||
#line 406 "awkgram.y"
|
||
{ (yyval.p) = op4((yyvsp[(1) - (8)].i), NIL, (Node*)makedfa((yyvsp[(3) - (8)].s), 1), (yyvsp[(5) - (8)].p), (yyvsp[(7) - (8)].p)); }
|
||
break;
|
||
|
||
case 171:
|
||
#line 408 "awkgram.y"
|
||
{ if (constnode((yyvsp[(3) - (8)].p)))
|
||
(yyval.p) = op4((yyvsp[(1) - (8)].i), NIL, (Node*)makedfa(strnode((yyvsp[(3) - (8)].p)), 1), (yyvsp[(5) - (8)].p), (yyvsp[(7) - (8)].p));
|
||
else
|
||
(yyval.p) = op4((yyvsp[(1) - (8)].i), (Node *)1, (yyvsp[(3) - (8)].p), (yyvsp[(5) - (8)].p), (yyvsp[(7) - (8)].p)); }
|
||
break;
|
||
|
||
case 172:
|
||
#line 413 "awkgram.y"
|
||
{ (yyval.p) = op3(SUBSTR, (yyvsp[(3) - (8)].p), (yyvsp[(5) - (8)].p), (yyvsp[(7) - (8)].p)); }
|
||
break;
|
||
|
||
case 173:
|
||
#line 415 "awkgram.y"
|
||
{ (yyval.p) = op3(SUBSTR, (yyvsp[(3) - (6)].p), (yyvsp[(5) - (6)].p), NIL); }
|
||
break;
|
||
|
||
case 176:
|
||
#line 421 "awkgram.y"
|
||
{ (yyval.p) = op2(ARRAY, makearr((yyvsp[(1) - (4)].p)), (yyvsp[(3) - (4)].p)); }
|
||
break;
|
||
|
||
case 177:
|
||
#line 422 "awkgram.y"
|
||
{ (yyval.p) = op1(INDIRECT, celltonode((yyvsp[(1) - (1)].cp), CVAR)); }
|
||
break;
|
||
|
||
case 178:
|
||
#line 423 "awkgram.y"
|
||
{ (yyval.p) = op1(INDIRECT, (yyvsp[(2) - (2)].p)); }
|
||
break;
|
||
|
||
case 179:
|
||
#line 427 "awkgram.y"
|
||
{ arglist = (yyval.p) = 0; }
|
||
break;
|
||
|
||
case 180:
|
||
#line 428 "awkgram.y"
|
||
{ arglist = (yyval.p) = celltonode((yyvsp[(1) - (1)].cp),CVAR); }
|
||
break;
|
||
|
||
case 181:
|
||
#line 429 "awkgram.y"
|
||
{
|
||
checkdup((yyvsp[(1) - (3)].p), (yyvsp[(3) - (3)].cp));
|
||
arglist = (yyval.p) = linkum((yyvsp[(1) - (3)].p),celltonode((yyvsp[(3) - (3)].cp),CVAR)); }
|
||
break;
|
||
|
||
case 182:
|
||
#line 435 "awkgram.y"
|
||
{ (yyval.p) = celltonode((yyvsp[(1) - (1)].cp), CVAR); }
|
||
break;
|
||
|
||
case 183:
|
||
#line 436 "awkgram.y"
|
||
{ (yyval.p) = op1(ARG, itonp((yyvsp[(1) - (1)].i))); }
|
||
break;
|
||
|
||
case 184:
|
||
#line 437 "awkgram.y"
|
||
{ (yyval.p) = op1(VARNF, (Node *) (yyvsp[(1) - (1)].cp)); }
|
||
break;
|
||
|
||
case 185:
|
||
#line 442 "awkgram.y"
|
||
{ (yyval.p) = notnull((yyvsp[(3) - (4)].p)); }
|
||
break;
|
||
|
||
|
||
/* Line 1267 of yacc.c. */
|
||
#line 3451 "y.tab.c"
|
||
default: break;
|
||
}
|
||
YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
|
||
|
||
YYPOPSTACK (yylen);
|
||
yylen = 0;
|
||
YY_STACK_PRINT (yyss, yyssp);
|
||
|
||
*++yyvsp = yyval;
|
||
|
||
|
||
/* Now `shift' the result of the reduction. Determine what state
|
||
that goes to, based on the state we popped back to and the rule
|
||
number reduced by. */
|
||
|
||
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;
|
||
|
||
|
||
/*------------------------------------.
|
||
| yyerrlab -- here on detecting error |
|
||
`------------------------------------*/
|
||
yyerrlab:
|
||
/* If not already recovering from an error, report this error. */
|
||
if (!yyerrstatus)
|
||
{
|
||
++yynerrs;
|
||
#if ! YYERROR_VERBOSE
|
||
yyerror (YY_("syntax error"));
|
||
#else
|
||
{
|
||
YYSIZE_T yysize = yysyntax_error (0, yystate, yychar);
|
||
if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM)
|
||
{
|
||
YYSIZE_T yyalloc = 2 * yysize;
|
||
if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM))
|
||
yyalloc = YYSTACK_ALLOC_MAXIMUM;
|
||
if (yymsg != yymsgbuf)
|
||
YYSTACK_FREE (yymsg);
|
||
yymsg = (char *) YYSTACK_ALLOC (yyalloc);
|
||
if (yymsg)
|
||
yymsg_alloc = yyalloc;
|
||
else
|
||
{
|
||
yymsg = yymsgbuf;
|
||
yymsg_alloc = sizeof yymsgbuf;
|
||
}
|
||
}
|
||
|
||
if (0 < yysize && yysize <= yymsg_alloc)
|
||
{
|
||
(void) yysyntax_error (yymsg, yystate, yychar);
|
||
yyerror (yymsg);
|
||
}
|
||
else
|
||
{
|
||
yyerror (YY_("syntax error"));
|
||
if (yysize != 0)
|
||
goto yyexhaustedlab;
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
|
||
|
||
if (yyerrstatus == 3)
|
||
{
|
||
/* If just tried and failed to reuse look-ahead token after an
|
||
error, discard it. */
|
||
|
||
if (yychar <= YYEOF)
|
||
{
|
||
/* Return failure if at end of input. */
|
||
if (yychar == YYEOF)
|
||
YYABORT;
|
||
}
|
||
else
|
||
{
|
||
yydestruct ("Error: discarding",
|
||
yytoken, &yylval);
|
||
yychar = YYEMPTY;
|
||
}
|
||
}
|
||
|
||
/* Else will try to reuse look-ahead token after shifting the error
|
||
token. */
|
||
goto yyerrlab1;
|
||
|
||
|
||
/*---------------------------------------------------.
|
||
| yyerrorlab -- error raised explicitly by YYERROR. |
|
||
`---------------------------------------------------*/
|
||
yyerrorlab:
|
||
|
||
/* Pacify compilers like GCC when the user code never invokes
|
||
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. */
|
||
YYPOPSTACK (yylen);
|
||
yylen = 0;
|
||
YY_STACK_PRINT (yyss, yyssp);
|
||
yystate = *yyssp;
|
||
goto yyerrlab1;
|
||
|
||
|
||
/*-------------------------------------------------------------.
|
||
| yyerrlab1 -- common code for both syntax error and YYERROR. |
|
||
`-------------------------------------------------------------*/
|
||
yyerrlab1:
|
||
yyerrstatus = 3; /* Each real token shifted decrements this. */
|
||
|
||
for (;;)
|
||
{
|
||
yyn = yypact[yystate];
|
||
if (yyn != YYPACT_NINF)
|
||
{
|
||
yyn += YYTERROR;
|
||
if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
|
||
{
|
||
yyn = yytable[yyn];
|
||
if (0 < yyn)
|
||
break;
|
||
}
|
||
}
|
||
|
||
/* Pop the current state because it cannot handle the error token. */
|
||
if (yyssp == yyss)
|
||
YYABORT;
|
||
|
||
|
||
yydestruct ("Error: popping",
|
||
yystos[yystate], yyvsp);
|
||
YYPOPSTACK (1);
|
||
yystate = *yyssp;
|
||
YY_STACK_PRINT (yyss, yyssp);
|
||
}
|
||
|
||
if (yyn == YYFINAL)
|
||
YYACCEPT;
|
||
|
||
*++yyvsp = yylval;
|
||
|
||
|
||
/* Shift the error token. */
|
||
YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
|
||
|
||
yystate = yyn;
|
||
goto yynewstate;
|
||
|
||
|
||
/*-------------------------------------.
|
||
| yyacceptlab -- YYACCEPT comes here. |
|
||
`-------------------------------------*/
|
||
yyacceptlab:
|
||
yyresult = 0;
|
||
goto yyreturn;
|
||
|
||
/*-----------------------------------.
|
||
| yyabortlab -- YYABORT comes here. |
|
||
`-----------------------------------*/
|
||
yyabortlab:
|
||
yyresult = 1;
|
||
goto yyreturn;
|
||
|
||
#ifndef yyoverflow
|
||
/*-------------------------------------------------.
|
||
| yyexhaustedlab -- memory exhaustion comes here. |
|
||
`-------------------------------------------------*/
|
||
yyexhaustedlab:
|
||
yyerror (YY_("memory exhausted"));
|
||
yyresult = 2;
|
||
/* Fall through. */
|
||
#endif
|
||
|
||
yyreturn:
|
||
if (yychar != YYEOF && yychar != YYEMPTY)
|
||
yydestruct ("Cleanup: discarding lookahead",
|
||
yytoken, &yylval);
|
||
/* Do not reclaim the symbols of the rule which action triggered
|
||
this YYABORT or YYACCEPT. */
|
||
YYPOPSTACK (yylen);
|
||
YY_STACK_PRINT (yyss, yyssp);
|
||
while (yyssp != yyss)
|
||
{
|
||
yydestruct ("Cleanup: popping",
|
||
yystos[*yyssp], yyvsp);
|
||
YYPOPSTACK (1);
|
||
}
|
||
#ifndef yyoverflow
|
||
if (yyss != yyssa)
|
||
YYSTACK_FREE (yyss);
|
||
#endif
|
||
#if YYERROR_VERBOSE
|
||
if (yymsg != yymsgbuf)
|
||
YYSTACK_FREE (yymsg);
|
||
#endif
|
||
/* Make sure YYID is used. */
|
||
return YYID (yyresult);
|
||
}
|
||
|
||
|
||
#line 445 "awkgram.y"
|
||
|
||
|
||
void setfname(Cell *p)
|
||
{
|
||
if (isarr(p))
|
||
SYNTAX("%s is an array, not a function", p->nval);
|
||
else if (isfcn(p))
|
||
SYNTAX("you can't define function %s more than once", p->nval);
|
||
curfname = p->nval;
|
||
}
|
||
|
||
int constnode(Node *p)
|
||
{
|
||
return isvalue(p) && ((Cell *) (p->narg[0]))->csub == CCON;
|
||
}
|
||
|
||
char *strnode(Node *p)
|
||
{
|
||
return ((Cell *)(p->narg[0]))->sval;
|
||
}
|
||
|
||
Node *notnull(Node *n)
|
||
{
|
||
switch (n->nobj) {
|
||
case LE: case LT: case EQ: case NE: case GT: case GE:
|
||
case BOR: case AND: case NOT:
|
||
return n;
|
||
default:
|
||
return op2(NE, n, nullnode);
|
||
}
|
||
}
|
||
|
||
void checkdup(Node *vl, Cell *cp) /* check if name already in list */
|
||
{
|
||
char *s = cp->nval;
|
||
for ( ; vl; vl = vl->nnext) {
|
||
if (strcmp(s, ((Cell *)(vl->narg[0]))->nval) == 0) {
|
||
SYNTAX("duplicate argument %s", s);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
|