έχεις δίκιο, άμα δεν το δεις ολοκληρωμένο δεν μπορείς να καταλάβεις τη χρησιμότητά του.
ποστάρω απλά το 1/10 που έχω έτοιμο μέχρι στιγμής, μόλις τελειώσει όλο το πρότζεκτ θα το βάλω για να δεις εν τέλει ότι δεν είναι και τόσο άχρηστο
εντιτ:είναι τρία αρχεία που χωρίζονται με ίσον
εντιτ2: δεν το παίρνει όλο γιατί είναι 6-7 χιλιάδες γραμμές....
/* Identify Bison output. */
#define YYBISON 1
/* Bison version. */
#define YYBISON_VERSION "2.4.2"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
/* Pure parsers. */
#define YYPURE 0
/* Push parsers. */
#define YYPUSH 0
/* Pull parsers. */
#define YYPULL 1
/* Using locations. */
#define YYLSP_NEEDED 0
/* Copy the first part of user declarations. */
/* Line 189 of yacc.c */
#line 1 "parser.y"
#include <stdio.h>
#include <iostream>
#include <vector>
#include <string>
#include <fstream>
int yyerror (char* yaccProvidedMessage);
int yylex (void);
extern int yylineno;
extern char* yytext;
extern FILE* yyin;
/* Line 189 of yacc.c */
#line 88 "parser.cpp"
/* 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
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
ID = 258,
STRING = 259,
INTEGER = 260,
REAL = 261,
IF = 262,
ELSE = 263,
WHILE = 264,
FOR = 265,
FUNCTION = 266,
RETURN = 267,
BREAK = 268,
CONTINUE = 269,
AND = 270,
NOT = 271,
OR = 272,
LOCAL = 273,
TRUE = 274,
FALSE = 275,
NIL = 276,
PLUS = 277,
MINUS = 278,
ASSIGN = 279,
STAR = 280,
SLASH = 281,
MODULE = 282,
EQUAL = 283,
NOTEQUAL = 284,
INCREMENT = 285,
DECREMENT = 286,
LOWER = 287,
GREATER = 288,
LOWEREQUAL = 289,
GREATEREQUAL = 290,
SQUAREBEGIN = 291,
SQUAREEND = 292,
BLOCKBEGIN = 293,
BLOCKEND = 294,
PARBEGIN = 295,
PAREND = 296,
COLON = 297,
COMMA = 298,
SEMICOLON = 299,
DOUBLECOLON = 300,
DOT = 301,
DOUBLEDOT = 302,
UMINUS = 303
};
#endif
/* Tokens. */
#define ID 258
#define STRING 259
#define INTEGER 260
#define REAL 261
#define IF 262
#define ELSE 263
#define WHILE 264
#define FOR 265
#define FUNCTION 266
#define RETURN 267
#define BREAK 268
#define CONTINUE 269
#define AND 270
#define NOT 271
#define OR 272
#define LOCAL 273
#define TRUE 274
#define FALSE 275
#define NIL 276
#define PLUS 277
#define MINUS 278
#define ASSIGN 279
#define STAR 280
#define SLASH 281
#define MODULE 282
#define EQUAL 283
#define NOTEQUAL 284
#define INCREMENT 285
#define DECREMENT 286
#define LOWER 287
#define GREATER 288
#define LOWEREQUAL 289
#define GREATEREQUAL 290
#define SQUAREBEGIN 291
#define SQUAREEND 292
#define BLOCKBEGIN 293
#define BLOCKEND 294
#define PARBEGIN 295
#define PAREND 296
#define COLON 297
#define COMMA 298
#define SEMICOLON 299
#define DOUBLECOLON 300
#define DOT 301
#define DOUBLEDOT 302
#define UMINUS 303
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
{
/* Line 214 of yacc.c */
#line 17 "parser.y"
int intValue;
double realValue;
char* stringValue;
/* Line 214 of yacc.c */
#line 228 "parser.cpp"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
/* Copy the second part of user declarations. */
/* Line 264 of yacc.c */
#line 240 "parser.cpp"
#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 yyi)
#else
static int
YYID (yyi)
int yyi;
#endif
{
return yyi;
}
#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_alloc;
YYSTYPE yyvs_alloc;
};
/* 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_alloc, Stack)
do
{
YYSIZE_T yynewbytes;
YYCOPY (&yyptr->Stack_alloc, Stack, yysize);
Stack = &yyptr->Stack_alloc;
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM;
yyptr += yynewbytes / sizeof (*yyptr);
}
while (YYID (0))
#endif
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 70
/* YYLAST -- Last index in YYTABLE. */
#define YYLAST 524
/* YYNTOKENS -- Number of terminals. */
#define YYNTOKENS 49
/* YYNNTS -- Number of nonterminals. */
#define YYNNTS 33
/* YYNRULES -- Number of rules. */
#define YYNRULES 94
/* YYNRULES -- Number of states. */
#define YYNSTATES 162
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
#define YYMAXUTOK 303
#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, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
45, 46, 47, 48
};
#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, 8, 10, 12, 14, 16, 19,
22, 24, 26, 28, 29, 32, 34, 38, 40, 42,
44, 46, 48, 50, 52, 54, 56, 58, 60, 62,
64, 66, 70, 73, 76, 79, 82, 85, 88, 90,
94, 96, 98, 100, 104, 106, 108, 111, 114, 116,
120, 125, 129, 134, 139, 142, 149, 151, 153, 157,
162, 163, 165, 169, 171, 175, 179, 181, 183, 185,
187, 188, 192, 198, 202, 209, 210, 212, 214, 216,
218, 220, 222, 224, 225, 227, 231, 233, 237, 244,
247, 248, 254, 264, 267
};
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const yytype_int8 yyrhs[] =
{
50, 0, -1, 52, -1, 53, 44, -1, 77, -1,
79, -1, 80, -1, 81, -1, 13, 44, -1, 14,
44, -1, 71, -1, 72, -1, 44, -1, -1, 51,
52, -1, 56, -1, 53, 54, 53, -1, 55, -1,
22, -1, 23, -1, 25, -1, 26, -1, 27, -1,
33, -1, 35, -1, 32, -1, 34, -1, 28, -1,
29, -1, 15, -1, 17, -1, 40, 53, 41, -1,
23, 53, -1, 16, 53, -1, 30, 58, -1, 58,
30, -1, 31, 58, -1, 58, 31, -1, 57, -1,
58, 24, 53, -1, 58, -1, 60, -1, 66, -1,
40, 72, 41, -1, 74, -1, 3, -1, 18, 3,
-1, 45, 3, -1, 59, -1, 58, 46, 3, -1,
58, 36, 53, 37, -1, 60, 46, 3, -1, 60,
36, 53, 36, -1, 60, 40, 64, 41, -1, 58,
61, -1, 40, 72, 41, 40, 64, 41, -1, 62,
-1, 63, -1, 40, 64, 41, -1, 47, 40, 64,
41, -1, -1, 53, -1, 53, 43, 65, -1, 53,
-1, 53, 43, 65, -1, 36, 67, 37, -1, 64,
-1, 68, -1, 70, -1, 69, -1, -1, 70, 43,
68, -1, 38, 53, 42, 53, 39, -1, 38, 52,
39, -1, 11, 73, 40, 75, 41, 71, -1, -1,
3, -1, 5, -1, 6, -1, 4, -1, 21, -1,
19, -1, 20, -1, -1, 3, -1, 3, 43, 76,
-1, 3, -1, 3, 43, 76, -1, 7, 40, 53,
41, 51, 78, -1, 8, 51, -1, -1, 9, 40,
53, 41, 51, -1, 10, 40, 64, 44, 53, 44,
64, 41, 51, -1, 12, 44, -1, 12, 53, 44,
-1
};
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const yytype_uint8 yyrline[] =
{
0, 49, 49, 52, 53, 54, 55, 56, 57, 58,
59, 60, 61, 64, 65, 68, 69, 70, 73, 74,
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
85, 88, 89, 90, 91, 92, 93, 94, 95, 98,
101, 102, 103, 104, 105, 108, 109, 110, 111, 114,
115, 116, 117, 120, 121, 122, 125, 126, 129, 132,
135, 136, 137, 140, 141, 144, 147, 148, 151, 152,
155, 156, 159, 162, 165, 168, 169, 172, 173, 174,
175, 176, 177, 180, 181, 182, 185, 186, 189, 192,
193, 196, 199, 202, 203
};
#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", "ID", "STRING", "INTEGER", "REAL", "IF",
"ELSE", "WHILE", "FOR", "FUNCTION", "RETURN", "BREAK", "CONTINUE", "AND",
"NOT", "OR", "LOCAL", "TRUE", "FALSE", "NIL", "PLUS", "MINUS", "ASSIGN",
"STAR", "SLASH", "MODULE", "EQUAL", "NOTEQUAL", "INCREMENT", "DECREMENT",
"LOWER", "GREATER", "LOWEREQUAL", "GREATEREQUAL", "SQUAREBEGIN",
"SQUAREEND", "BLOCKBEGIN", "BLOCKEND", "PARBEGIN", "PAREND", "COLON",
"COMMA", "SEMICOLON", "DOUBLECOLON", "DOT", "DOUBLEDOT", "UMINUS",
"$accept", "program", "stmt", "stmts", "expr", "op", "term",
"assignexpr", "primary", "lvalue", "member", "call", "callsuffx",
"normcall", "methodcall", "elist", "elist2", "objectdef",
"elistorindexed", "indexed", "indexed2", "indexedelem", "block",
"funcdef", "fid", "const", "idlist", "idlist2", "ifstmt", "elsestmt",
"whilestmt", "forstmt", "returnstmt", 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, 264,
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
295, 296, 297, 298, 299, 300, 301, 302, 303
};
# endif
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
static const yytype_uint8 yyr1[] =
{
0, 49, 50, 51, 51, 51, 51, 51, 51, 51,
51, 51, 51, 52, 52, 53, 53, 53, 54, 54,
54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
54, 55, 55, 55, 55, 55, 55, 55, 55, 56,
57, 57, 57, 57, 57, 58, 58, 58, 58, 59,
59, 59, 59, 60, 60, 60, 61, 61, 62, 63,
64, 64, 64, 65, 65, 66, 67, 67, 68, 68,
69, 69, 70, 71, 72, 73, 73, 74, 74, 74,
74, 74, 74, 75, 75, 75, 76, 76, 77, 78,
78, 79, 80, 81, 81
};
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
static const yytype_uint8 yyr2[] =
{
0, 2, 1, 2, 1, 1, 1, 1, 2, 2,
1, 1, 1, 0, 2, 1, 3, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 3, 2, 2, 2, 2, 2, 2, 1, 3,
1, 1, 1, 3, 1, 1, 2, 2, 1, 3,
4, 3, 4, 4, 2, 6, 1, 1, 3, 4,
0, 1, 3, 1, 3, 3, 1, 1, 1, 1,
0, 3, 5, 3, 6, 0, 1, 1, 1, 1,
1, 1, 1, 0, 1, 3, 1, 3, 6, 2,
0, 5, 9, 2, 3
};
/* 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[] =
{
13, 45, 79, 77, 78, 0, 0, 0, 75, 0,
0, 0, 0, 0, 81, 82, 80, 0, 0, 0,
60, 13, 0, 12, 0, 0, 13, 2, 0, 17,
15, 38, 40, 48, 41, 42, 10, 11, 44, 4,
5, 6, 7, 0, 0, 60, 76, 0, 93, 0,
8, 9, 33, 46, 32, 0, 34, 0, 36, 0,
61, 66, 0, 67, 69, 68, 0, 0, 0, 47,
1, 14, 29, 30, 18, 19, 20, 21, 22, 27,
28, 25, 23, 26, 24, 3, 0, 0, 35, 37,
0, 60, 0, 0, 54, 56, 57, 0, 60, 0,
0, 0, 0, 83, 94, 0, 0, 0, 65, 70,
73, 31, 43, 16, 39, 0, 0, 49, 60, 0,
0, 51, 0, 0, 0, 84, 0, 0, 0, 63,
62, 71, 60, 50, 58, 0, 52, 53, 90, 91,
0, 0, 0, 0, 0, 0, 59, 0, 88, 60,
86, 85, 74, 72, 64, 55, 89, 0, 0, 0,
87, 92
};
/* YYDEFGOTO[NTERM-NUM]. */
static const yytype_int16 yydefgoto[] =
{
-1, 25, 26, 27, 28, 86, 29, 30, 31, 32,
33, 34, 94, 95, 96, 61, 130, 35, 62, 63,
64, 65, 36, 37, 47, 38, 126, 151, 39, 148,
40, 41, 42
};
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
STATE-NUM. */
#define YYPACT_NINF -122
static const yytype_int16 yypact[] =
{
138, -122, -122, -122, -122, -35, -33, -31, 14, 24,
-11, -5, 204, 34, -122, -122, -122, 204, 1, 1,
181, 138, 81, -122, 46, 53, 138, -122, 228, -122,
-122, -122, 27, -122, -24, -122, -122, -122, -122, -122,
-122, -122, -122, 204, 204, 204, -122, 16, -122, 251,
-122, -122, -122, -122, -122, 50, -26, -24, -26, 204,
297, -122, 25, -122, -122, 22, 31, 362, 30, -122,
-122, -122, -122, -122, -122, -122, -122, -122, -122, -122,
-122, -122, -122, -122, -122, -122, 204, 204, -122, -122,
204, 204, 63, 32, -122, -122, -122, 204, 204, 72,
383, 404, 36, 73, -122, 42, 341, 204, -122, 52,
-122, -122, 51, 489, 489, 446, 54, -122, 204, 467,
55, -122, 138, 138, 204, 60, 64, 51, 204, 319,
-122, -122, 204, -122, -122, 65, -122, -122, 86, -122,
274, 104, 70, 425, 204, 75, -122, 138, -122, 204,
71, -122, -122, -122, -122, -122, -122, 77, 104, 138,
-122, -122
};
/* YYPGOTO[NTERM-NUM]. */
static const yytype_int8 yypgoto[] =
{
-122, -122, -121, -3, -9, -122, -122, -122, -122, 6,
-122, 13, -122, -122, -122, -39, -22, -122, -122, 4,
-122, -122, -18, -7, -122, -122, -122, -38, -122, -122,
-122, -122, -122
};
/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
positive, shift that token. If negative, reduce the rule which
number is the opposite. If zero, do what YYDEFACT says.
If YYTABLE_NINF, syntax error. */
#define YYTABLE_NINF -1
static const yytype_uint8 yytable[] =
{
49, 138, 139, 52, 1, 43, 102, 44, 54, 45,
90, 60, 97, 67, 91, 68, 98, 46, 66, 13,
92, 93, 99, 71, 56, 58, 156, 1, 2, 3,
4, 57, 57, 50, 100, 101, 60, 53, 161, 51,
12, 55, 13, 14, 15, 16, 24, 17, 105, 69,
106, 87, 116, 70, 18, 19, 103, 88, 89, 120,
20, 8, 108, 90, 22, 109, 117, 91, 48, 24,
110, 112, 118, 92, 93, 121, 125, 113, 114, 135,
124, 115, 60, 127, 1, 2, 3, 4, 119, 60,
59, 132, 8, 145, 147, 134, 137, 12, 129, 13,
14, 15, 16, 141, 17, 142, 146, 150, 21, 60,
157, 18, 19, 131, 158, 140, 155, 20, 159, 143,
160, 22, 154, 60, 152, 0, 24, 0, 0, 0,
0, 0, 0, 0, 0, 129, 0, 0, 0, 0,
60, 1, 2, 3, 4, 5, 0, 6, 7, 8,
9, 10, 11, 0, 12, 0, 13, 14, 15, 16,
0, 17, 0, 0, 0, 0, 0, 0, 18, 19,
0, 0, 0, 0, 20, 0, 21, 0, 22, 0,
0, 0, 23, 24, 1, 2, 3, 4, 0, 0,
0, 0, 0, 0, 0, 0, 0, 12, 0, 13,
14, 15, 16, 0, 17, 0, 0, 1, 2, 3,
4, 18, 19, 0, 0, 0, 0, 20, 0, 59,
12, 22, 13, 14, 15, 16, 24, 17, 0, 0,
0, 0, 0, 0, 18, 19, 0, 0, 0, 0,
20, 0, 0, 72, 22, 73, 0, 0, 0, 24,
74, 75, 0, 76, 77, 78, 79, 80, 0, 0,
81, 82, 83, 84, 0, 0, 72, 0, 73, 0,
0, 0, 85, 74, 75, 0, 76, 77, 78, 79,
80, 0, 0, 81, 82, 83, 84, 0, 0, 72,
0, 73, 0, 0, 0, 104, 74, 75, 0, 76,
77, 78, 79, 80, 0, 0, 81, 82, 83, 84,
0, 0, 72, 0, 73, 0, 0, 0, 149, 74,
75, 0, 76, 77, 78, 79, 80, 0, 0, 81,
82, 83, 84, 0, 72, 0, 73, 0, 0, 0,
107, 74, 75, 0, 76, 77, 78, 79, 80, 0,
0, 81, 82, 83, 84, 0, 72, 0, 73, 0,
0, 0, 144, 74, 75, 0, 76, 77, 78, 79,
80, 0, 0, 81, 82, 83, 84, 72, 0, 73,
0, 0, 0, 128, 74, 75, 0, 76, 77, 78,
79, 80, 0, 0, 81, 82, 83, 84, 72, 0,
73, 0, 0, 111, 0, 74, 75, 0, 76, 77,
78, 79, 80, 0, 0, 81, 82, 83, 84, 72,
0, 73, 0, 0, 122, 0, 74, 75, 0, 76,
77, 78, 79, 80, 0, 0, 81, 82, 83, 84,
72, 0, 73, 0, 0, 123, 0, 74, 75, 0,
76, 77, 78, 79, 80, 0, 0, 81, 82, 83,
84, 72, 0, 73, 153, 0, 0, 0, 74, 75,
0, 76, 77, 78, 79, 80, 0, 0, 81, 82,
83, 84, 72, 133, 73, 0, 0, 0, 0, 74,
75, 0, 76, 77, 78, 79, 80, 0, 0, 81,
82, 83, 84, 136, 72, 0, 73, 0, 0, 0,
0, 74, 75, 0, 76, 77, 78, 79, 80, 0,
0, 81, 82, 83, 84
};
static const yytype_int16 yycheck[] =
{
9, 122, 123, 12, 3, 40, 45, 40, 17, 40,
36, 20, 36, 22, 40, 22, 40, 3, 21, 18,
46, 47, 46, 26, 18, 19, 147, 3, 4, 5,
6, 18, 19, 44, 43, 44, 45, 3, 159, 44,
16, 40, 18, 19, 20, 21, 45, 23, 55, 3,
59, 24, 91, 0, 30, 31, 40, 30, 31, 98,
36, 11, 37, 36, 40, 43, 3, 40, 44, 45,
39, 41, 40, 46, 47, 3, 3, 86, 87, 118,
44, 90, 91, 41, 3, 4, 5, 6, 97, 98,
38, 40, 11, 132, 8, 41, 41, 16, 107, 18,
19, 20, 21, 43, 23, 41, 41, 3, 38, 118,
149, 30, 31, 109, 43, 124, 41, 36, 41, 128,
158, 40, 144, 132, 142, -1, 45, -1, -1, -1,
-1, -1, -1, -1, -1, 144, -1, -1, -1, -1,
149, 3, 4, 5, 6, 7, -1, 9, 10, 11,
12, 13, 14, -1, 16, -1, 18, 19, 20, 21,
-1, 23, -1, -1, -1, -1, -1, -1, 30, 31,
-1, -1, -1, -1, 36, -1, 38, -1, 40, -1,
-1, -1, 44, 45, 3, 4, 5, 6, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 16, -1, 18,
19, 20, 21, -1, 23, -1, -1, 3, 4, 5,
6, 30, 31, -1, -1, -1, -1, 36, -1, 38,
16, 40, 18, 19, 20, 21, 45, 23, -1, -1,
-1, -1, -1, -1, 30, 31, -1, -1, -1, -1,
36, -1, -1, 15, 40, 17, -1, -1, -1, 45,
22, 23, -1, 25, 26, 27, 28, 29, -1, -1,
32, 33, 34, 35, -1, -1, 15, -1, 17, -1,
-1, -1, 44, 22, 23, -1, 25, 26, 27, 28,
29, -1, -1, 32, 33, 34, 35, -1, -1, 15,
-1, 17, -1, -1, -1, 44, 22, 23, -1, 25,
26, 27, 28, 29, -1, -1, 32, 33, 34, 35,
-1, -1, 15, -1, 17, -1, -1, -1, 44, 22,
23, -1, 25, 26, 27, 28, 29, -1, -1, 32,
33, 34, 35, -1, 15, -1, 17, -1, -1, -1,
43, 22, 23, -1, 25, 26, 27, 28, 29, -1,
-1, 32, 33, 34, 35, -1, 15, -1, 17, -1,
-1, -1, 43, 22, 23, -1, 25, 26, 27, 28,
29, -1, -1, 32, 33, 34, 35, 15, -1, 17,
-1, -1, -1, 42, 22, 23, -1, 25, 26, 27,
28, 29, -1, -1, 32, 33, 34, 35, 15, -1,
17, -1, -1, 41, -1, 22, 23, -1, 25, 26,
27, 28, 29, -1, -1, 32, 33, 34, 35, 15,
-1, 17, -1, -1, 41, -1, 22, 23, -1, 25,
26, 27, 28, 29, -1, -1, 32, 33, 34, &nb