summaryrefslogtreecommitdiffstats
path: root/parser.gen.c
diff options
context:
space:
mode:
authorStephen Roantree <stroantree@gmail.com>2012-10-24 11:42:25 -0700
committerStephen Roantree <stroantree@gmail.com>2012-10-24 13:50:26 -0700
commit5e25c2a259d2337d38b730d5dc22e7db67ea88cb (patch)
treebf0d88fdad29f2fa9ea25a3ae5de73c8ea7c2297 /parser.gen.c
parent033d9b2fd55b1fef0f17ce91d864c55e07f3ee5d (diff)
Implemented contains operator
Diffstat (limited to 'parser.gen.c')
-rw-r--r--parser.gen.c1370
1 files changed, 743 insertions, 627 deletions
diff --git a/parser.gen.c b/parser.gen.c
index 32a2a205..3c157f48 100644
--- a/parser.gen.c
+++ b/parser.gen.c
@@ -1,8 +1,8 @@
-/* A Bison parser, made by GNU Bison 2.6.2. */
+/* A Bison parser, made by GNU Bison 2.5. */
/* Bison implementation for Yacc-like parsers in C
- Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
+ Copyright (C) 1984, 1989-1990, 2000-2011 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
@@ -44,7 +44,7 @@
#define YYBISON 1
/* Bison version. */
-#define YYBISON_VERSION "2.6.2"
+#define YYBISON_VERSION "2.5"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
@@ -58,11 +58,14 @@
/* Pull parsers. */
#define YYPULL 1
+/* Using locations. */
+#define YYLSP_NEEDED 1
/* Copy the first part of user declarations. */
-/* Line 336 of yacc.c */
+
+/* Line 268 of yacc.c */
#line 1 "parser.y"
#include <stdio.h>
@@ -72,16 +75,14 @@
struct lexer_param;
-/* Line 336 of yacc.c */
-#line 77 "parser.gen.c"
-# ifndef YY_NULL
-# if defined __cplusplus && 201103L <= __cplusplus
-# define YY_NULL nullptr
-# else
-# define YY_NULL 0
-# endif
-# endif
+/* Line 268 of yacc.c */
+#line 81 "parser.gen.c"
+
+/* Enabling traces. */
+#ifndef YYDEBUG
+# define YYDEBUG 0
+#endif
/* Enabling verbose error messages. */
#ifdef YYERROR_VERBOSE
@@ -91,19 +92,14 @@ struct lexer_param;
# define YYERROR_VERBOSE 1
#endif
-/* In a future release of Bison, this section will be replaced
- by #include "parser.gen.h". */
-#ifndef YY_PARSER_GEN_H
-# define YY_PARSER_GEN_H
-/* Enabling traces. */
-#ifndef YYDEBUG
-# define YYDEBUG 0
-#endif
-#if YYDEBUG
-extern int yydebug;
+/* Enabling the token table. */
+#ifndef YYTOKEN_TABLE
+# define YYTOKEN_TABLE 0
#endif
+
/* "%code requires" blocks. */
-/* Line 350 of yacc.c */
+
+/* Line 288 of yacc.c */
#line 9 "parser.y"
#include "locfile.h"
@@ -120,8 +116,9 @@ extern int yydebug;
} while (0)
-/* Line 350 of yacc.c */
-#line 125 "parser.gen.c"
+
+/* Line 288 of yacc.c */
+#line 122 "parser.gen.c"
/* Tokens. */
#ifndef YYTOKENTYPE
@@ -152,27 +149,31 @@ extern int yydebug;
SETDEFINEDOR = 278,
LESSEQ = 279,
GREATEREQ = 280,
- QQSTRING_START = 281,
- QQSTRING_TEXT = 282,
- QQSTRING_INTERP_START = 283,
- QQSTRING_INTERP_END = 284,
- QQSTRING_END = 285
+ CONTAINS = 281,
+ QQSTRING_START = 282,
+ QQSTRING_TEXT = 283,
+ QQSTRING_INTERP_START = 284,
+ QQSTRING_INTERP_END = 285,
+ QQSTRING_END = 286
};
#endif
+
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
{
-/* Line 350 of yacc.c */
+
+/* Line 293 of yacc.c */
#line 27 "parser.y"
jv literal;
block blk;
-/* Line 350 of yacc.c */
-#line 176 "parser.gen.c"
+
+/* Line 293 of yacc.c */
+#line 177 "parser.gen.c"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
@@ -193,25 +194,10 @@ typedef struct YYLTYPE
#endif
-#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 (block* answer, int* errors, struct locfile* locations, struct lexer_param* lexer_param_ptr);
-#else
-int yyparse ();
-#endif
-#endif /* ! YYPARSE_PARAM */
-
-#endif /* !YY_PARSER_GEN_H */
-
/* Copy the second part of user declarations. */
-/* Line 353 of yacc.c */
-#line 89 "parser.y"
+
+/* Line 343 of yacc.c */
+#line 90 "parser.y"
#include "lexer.gen.h"
struct lexer_param {
@@ -278,6 +264,7 @@ static block gen_binop(block a, block b, int op) {
case '>': funcname = "_greater"; break;
case LESSEQ: funcname = "_lesseq"; break;
case GREATEREQ: funcname = "_greatereq"; break;
+ case CONTAINS: funcname = "_contains"; break;
}
assert(funcname);
@@ -303,8 +290,9 @@ static block gen_update(block a, block op, int optype) {
}
-/* Line 353 of yacc.c */
-#line 308 "parser.gen.c"
+
+/* Line 343 of yacc.c */
+#line 296 "parser.gen.c"
#ifdef short
# undef short
@@ -410,7 +398,6 @@ YYID (yyi)
# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
- /* Use EXIT_SUCCESS as a witness for stdlib.h. */
# ifndef EXIT_SUCCESS
# define EXIT_SUCCESS 0
# endif
@@ -504,20 +491,20 @@ union yyalloc
#endif
#if defined YYCOPY_NEEDED && YYCOPY_NEEDED
-/* Copy COUNT objects from SRC to DST. The source and destination do
+/* Copy COUNT objects from FROM to TO. The source and destination do
not overlap. */
# ifndef YYCOPY
# if defined __GNUC__ && 1 < __GNUC__
-# define YYCOPY(Dst, Src, Count) \
- __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src)))
+# define YYCOPY(To, From, Count) \
+ __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
# else
-# define YYCOPY(Dst, Src, Count) \
- do \
- { \
- YYSIZE_T yyi; \
- for (yyi = 0; yyi < (Count); yyi++) \
- (Dst)[yyi] = (Src)[yyi]; \
- } \
+# define YYCOPY(To, From, Count) \
+ do \
+ { \
+ YYSIZE_T yyi; \
+ for (yyi = 0; yyi < (Count); yyi++) \
+ (To)[yyi] = (From)[yyi]; \
+ } \
while (YYID (0))
# endif
# endif
@@ -526,20 +513,20 @@ union yyalloc
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 35
/* YYLAST -- Last index in YYTABLE. */
-#define YYLAST 831
+#define YYLAST 854
/* YYNTOKENS -- Number of terminals. */
-#define YYNTOKENS 50
+#define YYNTOKENS 51
/* YYNNTS -- Number of nonterminals. */
#define YYNNTS 12
/* YYNRULES -- Number of rules. */
-#define YYNRULES 69
+#define YYNRULES 70
/* YYNRULES -- Number of states. */
-#define YYNSTATES 149
+#define YYNSTATES 151
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
-#define YYMAXUTOK 285
+#define YYMAXUTOK 286
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
@@ -550,16 +537,16 @@ 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, 41, 2, 2, 2,
- 43, 44, 39, 37, 33, 38, 45, 40, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 42, 31,
- 35, 34, 36, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 42, 2, 2, 2,
+ 44, 45, 40, 38, 34, 39, 46, 41, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 43, 32,
+ 36, 35, 37, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 46, 2, 47, 2, 2, 2, 2, 2, 2,
+ 2, 47, 2, 48, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 48, 32, 49, 2, 2, 2, 2,
+ 2, 2, 2, 49, 33, 50, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
@@ -575,7 +562,7 @@ static const yytype_uint8 yytranslate[] =
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
+ 25, 26, 27, 28, 29, 30, 31
};
#if YYDEBUG
@@ -586,58 +573,60 @@ static const yytype_uint16 yyprhs[] =
0, 0, 3, 5, 7, 8, 11, 14, 21, 27,
31, 35, 39, 43, 47, 51, 55, 59, 63, 67,
71, 75, 79, 83, 87, 91, 95, 99, 103, 107,
- 111, 115, 119, 121, 123, 127, 133, 142, 143, 146,
- 151, 157, 161, 165, 167, 169, 173, 176, 181, 185,
- 187, 191, 195, 198, 202, 205, 207, 212, 216, 220,
- 225, 229, 230, 232, 236, 240, 244, 248, 250, 256
+ 111, 115, 119, 123, 125, 127, 131, 137, 146, 147,
+ 150, 155, 161, 165, 169, 171, 173, 177, 180, 185,
+ 189, 191, 195, 199, 202, 206, 209, 211, 216, 220,
+ 224, 229, 233, 234, 236, 240, 244, 248, 252, 254,
+ 260
};
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const yytype_int8 yyrhs[] =
{
- 51, 0, -1, 53, -1, 52, -1, -1, 55, 52,
- -1, 55, 53, -1, 59, 9, 41, 4, 32, 53,
- -1, 11, 53, 12, 53, 57, -1, 11, 53, 1,
- -1, 53, 34, 53, -1, 53, 17, 53, -1, 53,
- 16, 53, -1, 53, 8, 53, -1, 53, 23, 53,
- -1, 53, 18, 53, -1, 53, 32, 53, -1, 53,
- 33, 53, -1, 53, 37, 53, -1, 53, 19, 53,
- -1, 53, 38, 53, -1, 53, 20, 53, -1, 53,
- 39, 53, -1, 53, 21, 53, -1, 53, 40, 53,
- -1, 53, 22, 53, -1, 53, 6, 53, -1, 53,
- 7, 53, -1, 53, 35, 53, -1, 53, 36, 53,
- -1, 53, 24, 53, -1, 53, 25, 53, -1, 54,
- -1, 59, -1, 26, 56, 30, -1, 10, 4, 42,
- 53, 31, -1, 10, 4, 43, 4, 44, 42, 53,
- 31, -1, -1, 56, 27, -1, 56, 28, 53, 29,
- -1, 14, 53, 12, 53, 57, -1, 13, 53, 15,
- -1, 58, 32, 58, -1, 59, -1, 45, -1, 59,
- 45, 4, -1, 45, 4, -1, 59, 46, 53, 47,
- -1, 59, 46, 47, -1, 5, -1, 43, 53, 44,
- -1, 46, 53, 47, -1, 46, 47, -1, 48, 60,
- 49, -1, 41, 4, -1, 4, -1, 4, 43, 53,
- 44, -1, 43, 1, 44, -1, 46, 1, 47, -1,
- 59, 46, 1, 47, -1, 48, 1, 49, -1, -1,
- 61, -1, 61, 33, 60, -1, 1, 33, 60, -1,
- 4, 42, 58, -1, 54, 42, 58, -1, 4, -1,
- 43, 53, 44, 42, 58, -1, 43, 1, 44, 42,
- 58, -1
+ 52, 0, -1, 54, -1, 53, -1, -1, 56, 53,
+ -1, 56, 54, -1, 60, 9, 42, 4, 33, 54,
+ -1, 11, 54, 12, 54, 58, -1, 11, 54, 1,
+ -1, 54, 35, 54, -1, 54, 17, 54, -1, 54,
+ 16, 54, -1, 54, 8, 54, -1, 54, 23, 54,
+ -1, 54, 18, 54, -1, 54, 33, 54, -1, 54,
+ 34, 54, -1, 54, 38, 54, -1, 54, 19, 54,
+ -1, 54, 39, 54, -1, 54, 20, 54, -1, 54,
+ 40, 54, -1, 54, 21, 54, -1, 54, 41, 54,
+ -1, 54, 22, 54, -1, 54, 6, 54, -1, 54,
+ 7, 54, -1, 54, 36, 54, -1, 54, 37, 54,
+ -1, 54, 24, 54, -1, 54, 25, 54, -1, 54,
+ 26, 54, -1, 55, -1, 60, -1, 27, 57, 31,
+ -1, 10, 4, 43, 54, 32, -1, 10, 4, 44,
+ 4, 45, 43, 54, 32, -1, -1, 57, 28, -1,
+ 57, 29, 54, 30, -1, 14, 54, 12, 54, 58,
+ -1, 13, 54, 15, -1, 59, 33, 59, -1, 60,
+ -1, 46, -1, 60, 46, 4, -1, 46, 4, -1,
+ 60, 47, 54, 48, -1, 60, 47, 48, -1, 5,
+ -1, 44, 54, 45, -1, 47, 54, 48, -1, 47,
+ 48, -1, 49, 61, 50, -1, 42, 4, -1, 4,
+ -1, 4, 44, 54, 45, -1, 44, 1, 45, -1,
+ 47, 1, 48, -1, 60, 47, 1, 48, -1, 49,
+ 1, 50, -1, -1, 62, -1, 62, 34, 61, -1,
+ 1, 34, 61, -1, 4, 43, 59, -1, 55, 43,
+ 59, -1, 4, -1, 44, 54, 45, 43, 59, -1,
+ 44, 1, 45, 43, 59, -1
};
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const yytype_uint16 yyrline[] =
{
- 0, 183, 183, 186, 191, 194, 199, 203, 210, 213,
- 218, 227, 231, 235, 239, 243, 247, 251, 255, 259,
- 263, 267, 271, 275, 279, 283, 287, 291, 295, 299,
- 303, 307, 311, 315, 320, 325, 331, 339, 342, 345,
- 351, 354, 359, 363, 369, 372, 375, 379, 382, 385,
- 388, 391, 394, 397, 402, 406, 410, 420, 421, 422,
- 423, 426, 429, 430, 431, 434, 437, 440, 444, 447
+ 0, 185, 185, 188, 193, 196, 201, 205, 212, 215,
+ 220, 229, 233, 237, 241, 245, 249, 253, 257, 261,
+ 265, 269, 273, 277, 281, 285, 289, 293, 297, 301,
+ 305, 309, 313, 317, 321, 326, 331, 337, 345, 348,
+ 351, 357, 360, 365, 369, 375, 378, 381, 385, 388,
+ 391, 394, 397, 400, 403, 408, 412, 416, 426, 427,
+ 428, 429, 432, 435, 436, 437, 440, 443, 446, 450,
+ 453
};
#endif
-#if YYDEBUG || YYERROR_VERBOSE || 1
+#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[] =
@@ -646,12 +635,12 @@ static const char *const yytname[] =
"\"==\"", "\"!=\"", "\"//\"", "\"as\"", "\"def\"", "\"if\"", "\"then\"",
"\"else\"", "\"elif\"", "\"end\"", "\"and\"", "\"or\"", "\"|=\"",
"\"+=\"", "\"-=\"", "\"*=\"", "\"/=\"", "\"//=\"", "\"<=\"", "\">=\"",
- "QQSTRING_START", "QQSTRING_TEXT", "QQSTRING_INTERP_START",
- "QQSTRING_INTERP_END", "QQSTRING_END", "';'", "'|'", "','", "'='", "'<'",
- "'>'", "'+'", "'-'", "'*'", "'/'", "'$'", "':'", "'('", "')'", "'.'",
- "'['", "']'", "'{'", "'}'", "$accept", "TopLevel", "FuncDefs", "Exp",
- "String", "FuncDef", "QQString", "ElseBody", "ExpD", "Term", "MkDict",
- "MkDictPair", YY_NULL
+ "\"contains\"", "QQSTRING_START", "QQSTRING_TEXT",
+ "QQSTRING_INTERP_START", "QQSTRING_INTERP_END", "QQSTRING_END", "';'",
+ "'|'", "','", "'='", "'<'", "'>'", "'+'", "'-'", "'*'", "'/'", "'$'",
+ "':'", "'('", "')'", "'.'", "'['", "']'", "'{'", "'}'", "$accept",
+ "TopLevel", "FuncDefs", "Exp", "String", "FuncDef", "QQString",
+ "ElseBody", "ExpD", "Term", "MkDict", "MkDictPair", 0
};
#endif
@@ -663,21 +652,23 @@ 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, 59, 124, 44, 61, 60, 62, 43, 45, 42,
- 47, 36, 58, 40, 41, 46, 91, 93, 123, 125
+ 285, 286, 59, 124, 44, 61, 60, 62, 43, 45,
+ 42, 47, 36, 58, 40, 41, 46, 91, 93, 123,
+ 125
};
# endif
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
static const yytype_uint8 yyr1[] =
{
- 0, 50, 51, 51, 52, 52, 53, 53, 53, 53,
- 53, 53, 53, 53, 53, 53, 53, 53, 53, 53,
- 53, 53, 53, 53, 53, 53, 53, 53, 53, 53,
- 53, 53, 53, 53, 54, 55, 55, 56, 56, 56,
- 57, 57, 58, 58, 59, 59, 59, 59, 59, 59,
- 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
- 59, 60, 60, 60, 60, 61, 61, 61, 61, 61
+ 0, 51, 52, 52, 53, 53, 54, 54, 54, 54,
+ 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
+ 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
+ 54, 54, 54, 54, 54, 55, 56, 56, 57, 57,
+ 57, 58, 58, 59, 59, 60, 60, 60, 60, 60,
+ 60, 60, 60, 60, 60, 60, 60, 60, 60, 60,
+ 60, 60, 61, 61, 61, 61, 62, 62, 62, 62,
+ 62
};
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
@@ -686,10 +677,11 @@ static const yytype_uint8 yyr2[] =
0, 2, 1, 1, 0, 2, 2, 6, 5, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
- 3, 3, 1, 1, 3, 5, 8, 0, 2, 4,
- 5, 3, 3, 1, 1, 3, 2, 4, 3, 1,
- 3, 3, 2, 3, 2, 1, 4, 3, 3, 4,
- 3, 0, 1, 3, 3, 3, 3, 1, 5, 5
+ 3, 3, 3, 1, 1, 3, 5, 8, 0, 2,
+ 4, 5, 3, 3, 1, 1, 3, 2, 4, 3,
+ 1, 3, 3, 2, 3, 2, 1, 4, 3, 3,
+ 4, 3, 0, 1, 3, 3, 3, 3, 1, 5,
+ 5
};
/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM.
@@ -697,264 +689,271 @@ static const yytype_uint8 yyr2[] =
means the default is an error. */
static const yytype_uint8 yydefact[] =
{
- 4, 55, 49, 0, 0, 37, 0, 0, 44, 0,
- 0, 0, 3, 2, 32, 4, 33, 0, 0, 0,
- 0, 0, 54, 0, 0, 46, 0, 52, 0, 0,
- 67, 0, 0, 0, 62, 1, 0, 0, 0, 0,
+ 4, 56, 50, 0, 0, 38, 0, 0, 45, 0,
+ 0, 0, 3, 2, 33, 4, 34, 0, 0, 0,
+ 0, 0, 55, 0, 0, 47, 0, 53, 0, 0,
+ 68, 0, 0, 0, 63, 1, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 5, 6,
- 0, 0, 0, 0, 0, 0, 9, 0, 38, 0,
- 34, 57, 50, 58, 51, 0, 60, 0, 0, 0,
- 0, 53, 0, 26, 27, 13, 12, 11, 15, 19,
- 21, 23, 25, 14, 30, 31, 16, 17, 10, 28,
- 29, 18, 20, 22, 24, 0, 45, 0, 48, 0,
- 56, 0, 0, 0, 0, 0, 64, 65, 43, 0,
- 0, 66, 63, 0, 59, 47, 35, 0, 0, 0,
- 8, 39, 0, 0, 0, 0, 0, 0, 0, 42,
- 69, 68, 7, 0, 41, 0, 36, 0, 40
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 5,
+ 6, 0, 0, 0, 0, 0, 0, 9, 0, 39,
+ 0, 35, 58, 51, 59, 52, 0, 61, 0, 0,
+ 0, 0, 54, 0, 26, 27, 13, 12, 11, 15,
+ 19, 21, 23, 25, 14, 30, 31, 32, 16, 17,
+ 10, 28, 29, 18, 20, 22, 24, 0, 46, 0,
+ 49, 0, 57, 0, 0, 0, 0, 0, 65, 66,
+ 44, 0, 0, 67, 64, 0, 60, 48, 36, 0,
+ 0, 0, 8, 40, 0, 0, 0, 0, 0, 0,
+ 0, 43, 70, 69, 7, 0, 42, 0, 37, 0,
+ 41
};
/* YYDEFGOTO[NTERM-NUM]. */
static const yytype_int16 yydefgoto[] =
{
- -1, 11, 12, 59, 14, 20, 21, 130, 117, 16,
+ -1, 11, 12, 60, 14, 20, 21, 132, 119, 16,
33, 34
};
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
STATE-NUM. */
-#define YYPACT_NINF -75
+#define YYPACT_NINF -76
static const yytype_int16 yypact[] =
{
- 175, -41, -75, 10, 175, -75, 16, 129, 18, 78,
- 64, 28, -75, 645, -75, 175, 52, 175, -27, 295,
- 175, -17, -75, -14, 330, -75, -18, -75, 218, -28,
- -10, 152, -8, -16, 2, -75, 175, 175, 175, 175,
- 175, 175, 175, 175, 175, 175, 175, 175, 175, 175,
- 175, 175, 175, 175, 175, 175, 175, 175, -75, 645,
- 22, 71, 101, 365, 175, 72, -75, 175, -75, 175,
- -75, -75, -75, -75, -75, 73, -75, 146, 34, 400,
- 146, -75, 73, 785, 785, 715, 791, 765, 740, 740,
- 740, 740, 740, 740, 785, 785, 680, 715, 740, 785,
- 785, -15, -15, -75, -75, 76, -75, 37, -75, 253,
- -75, 470, 41, 435, 505, 48, -75, 54, -19, 45,
- 49, 54, -75, 60, -75, -75, -75, 51, 175, 175,
- -75, -75, 146, 146, 146, 175, 175, 540, 575, -75,
- 54, 54, 680, 610, -75, 175, -75, 435, -75
+ 179, -42, -76, 10, 179, -76, 16, 131, 18, 79,
+ 65, 28, -76, 662, -76, 179, 53, 179, -28, 302,
+ 179, -18, -76, -15, 338, -76, -19, -76, 223, -29,
+ -11, 155, -10, 14, 1, -76, 179, 179, 179, 179,
+ 179, 179, 179, 179, 179, 179, 179, 179, 179, 179,
+ 179, 179, 179, 179, 179, 179, 179, 179, 179, -76,
+ 662, -8, 72, 106, 374, 179, 73, -76, 179, -76,
+ 179, -76, -76, -76, -76, -76, 74, -76, 163, 34,
+ 410, 163, -76, 74, 807, 807, 734, 813, 786, 760,
+ 760, 760, 760, 760, 760, 807, 807, 807, 698, 734,
+ 760, 807, 807, -16, -16, -76, -76, 77, -76, 37,
+ -76, 259, -76, 482, 41, 446, 518, 48, -76, 54,
+ -20, 45, 50, 54, -76, 58, -76, -76, -76, 51,
+ 179, 179, -76, -76, 163, 163, 163, 179, 179, 554,
+ 590, -76, 54, 54, 698, 626, -76, 179, -76, 446,
+ -76
};
/* YYPGOTO[NTERM-NUM]. */
static const yytype_int8 yypgoto[] =
{
- -75, -75, 79, 0, -9, 8, -75, -52, -62, -74,
- -63, -75
+ -76, -76, 80, 0, -9, 8, -76, -53, -63, -75,
+ -64, -76
};
/* 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 YYTABLE_NINF, syntax error. */
-#define YYTABLE_NINF -62
+#define YYTABLE_NINF -63
static const yytype_int16 yytable[] =
{
- 13, 32, 17, 118, 19, 75, 118, 24, 15, 28,
- 68, 69, 116, 70, 18, 64, 65, 63, 121, 122,
- 22, 76, 25, 15, 56, 57, 61, 62, 35, 73,
- 71, 79, 77, 81, 80, 82, 83, 84, 85, 86,
- 87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
- 97, 98, 99, 100, 101, 102, 103, 104, 118, 118,
- 118, 60, 109, 105, 111, 29, 32, 113, 30, 114,
- 139, 140, 141, 32, 115, 106, 112, 30, 119, 26,
- 123, 75, 1, 2, 124, 127, 132, 133, 3, 4,
- 5, 134, 135, 136, 58, 148, 0, 61, 62, 5,
- 0, 0, 107, 0, 5, 1, 2, 31, 0, 0,
- 0, 3, 4, -61, 0, 0, 31, 0, 0, 6,
- 0, 7, -61, 8, 9, 27, 10, 5, 137, 138,
- 23, 0, 0, 1, 2, 142, 143, 0, 0, 3,
- 4, 0, 6, 0, 7, 147, 8, 9, 108, 10,
- 1, 2, 0, 78, 0, 5, 1, 2, 0, 0,
- 0, 0, 3, 4, 0, 0, 0, 0, 0, 0,
- 6, 0, 7, 0, 8, 9, 0, 10, 5, 1,
- 2, 0, 0, 0, 0, 3, 4, 6, 0, 7,
- 0, 8, 9, 6, 10, 7, 0, 8, 9, 0,
- 10, 5, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 6, 0, 7, 0,
- 8, 9, 0, 10, 36, 37, 38, 0, 0, 0,
+ 13, 32, 17, 120, 19, 76, 120, 24, 15, 28,
+ 69, 70, 118, 71, 18, 65, 66, 64, 123, 124,
+ 22, 77, 25, 15, 57, 58, 62, 63, 35, 74,
+ 72, 80, 78, 81, 107, 83, 84, 85, 86, 87,
+ 88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
+ 98, 99, 100, 101, 102, 103, 104, 105, 106, 120,
+ 120, 120, 61, 111, 82, 113, 29, 32, 115, 30,
+ 116, 141, 142, 143, 32, 117, 108, 114, 30, 121,
+ 26, 125, 76, 1, 2, 126, 129, 134, 135, 3,
+ 4, 137, 5, 136, 138, 59, 150, 0, 0, 62,
+ 63, 5, 0, 0, 0, 0, 5, 109, 0, 31,
+ 1, 2, 0, 0, 0, -62, 3, 4, 31, 0,
+ 0, 6, 0, 7, -62, 8, 9, 27, 10, 0,
+ 139, 140, 23, 5, 0, 1, 2, 144, 145, 0,
+ 0, 3, 4, 0, 0, 0, 0, 149, 6, 0,
+ 7, 0, 8, 9, 110, 10, 79, 0, 5, 1,
+ 2, 0, 0, 0, 0, 3, 4, 1, 2, 0,
+ 0, 0, 0, 6, 0, 7, 0, 8, 9, 0,
+ 10, 0, 5, 1, 2, 0, 0, 0, 0, 3,
+ 4, 0, 0, 0, 0, 0, 0, 6, 0, 7,
+ 0, 8, 9, 0, 10, 6, 5, 7, 0, 8,
+ 9, 0, 10, 0, 0, 0, 0, 0, 0, 0,
+ 0, 6, 0, 7, 0, 8, 9, 0, 10, 36,
+ 37, 38, 0, 0, 0, 0, 0, 0, 0, 39,
+ 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
+ 0, 0, 0, 0, 0, 0, 50, 51, 52, 53,
+ 54, 55, 56, 57, 58, 36, 37, 38, 0, 0,
+ 0, 75, 0, 0, 0, 39, 40, 41, 42, 43,
+ 44, 45, 46, 47, 48, 49, 0, 0, 0, 0,
+ 0, 0, 50, 51, 52, 53, 54, 55, 56, 57,
+ 58, 0, 0, 67, 0, 0, 0, 127, 36, 37,
+ 38, 0, 0, 0, 68, 0, 0, 0, 39, 40,
+ 41, 42, 43, 44, 45, 46, 47, 48, 49, 0,
+ 0, 0, 0, 0, 0, 50, 51, 52, 53, 54,
+ 55, 56, 57, 58, 36, 37, 38, 0, 0, 0,
0, 0, 0, 0, 39, 40, 41, 42, 43, 44,
- 45, 46, 47, 48, 0, 0, 0, 0, 0, 0,
- 49, 50, 51, 52, 53, 54, 55, 56, 57, 36,
- 37, 38, 0, 0, 0, 74, 0, 0, 0, 39,
- 40, 41, 42, 43, 44, 45, 46, 47, 48, 0,
- 0, 0, 0, 0, 0, 49, 50, 51, 52, 53,
- 54, 55, 56, 57, 0, 0, 66, 0, 0, 0,
- 125, 36, 37, 38, 0, 0, 0, 67, 0, 0,
- 0, 39, 40, 41, 42, 43, 44, 45, 46, 47,
- 48, 0, 0, 0, 0, 0, 0, 49, 50, 51,
- 52, 53, 54, 55, 56, 57, 36, 37, 38, 0,
- 0, 0, 0, 0, 0, 0, 39, 40, 41, 42,
- 43, 44, 45, 46, 47, 48, 0, 0, 0, 0,
- 0, 0, 49, 50, 51, 52, 53, 54, 55, 56,
- 57, 36, 37, 38, 72, 0, 0, 0, 0, 0,
- 0, 39, 40, 41, 42, 43, 44, 45, 46, 47,
- 48, 0, 0, 0, 0, 0, 0, 49, 50, 51,
- 52, 53, 54, 55, 56, 57, 36, 37, 38, 110,
- 0, 0, 0, 0, 0, 0, 39, 40, 41, 42,
- 43, 44, 45, 46, 47, 48, 0, 0, 0, 0,
- 0, 0, 49, 50, 51, 52, 53, 54, 55, 56,
- 57, 36, 37, 38, 120, 0, 0, 0, 128, 129,
- 0, 39, 40, 41, 42, 43, 44, 45, 46, 47,
- 48, 0, 0, 0, 0, 0, 0, 49, 50, 51,
- 52, 53, 54, 55, 56, 57, 36, 37, 38, 0,
+ 45, 46, 47, 48, 49, 0, 0, 0, 0, 0,
+ 0, 50, 51, 52, 53, 54, 55, 56, 57, 58,
+ 36, 37, 38, 73, 0, 0, 0, 0, 0, 0,
+ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
+ 49, 0, 0, 0, 0, 0, 0, 50, 51, 52,
+ 53, 54, 55, 56, 57, 58, 36, 37, 38, 112,
0, 0, 0, 0, 0, 0, 39, 40, 41, 42,
- 43, 44, 45, 46, 47, 48, 0, 0, 0, 0,
- 0, 126, 49, 50, 51, 52, 53, 54, 55, 56,
- 57, 36, 37, 38, 0, 0, 0, 0, 0, 0,
- 0, 39, 40, 41, 42, 43, 44, 45, 46, 47,
- 48, 0, 0, 0, 131, 0, 0, 49, 50, 51,
- 52, 53, 54, 55, 56, 57, 36, 37, 38, 0,
- 0, 0, 0, 0, 0, 144, 39, 40, 41, 42,
- 43, 44, 45, 46, 47, 48, 0, 0, 0, 0,
- 0, 0, 49, 50, 51, 52, 53, 54, 55, 56,
- 57, 36, 37, 38, 0, 0, 0, 145, 0, 0,
- 0, 39, 40, 41, 42, 43, 44, 45, 46, 47,
- 48, 0, 0, 0, 0, 0, 0, 49, 50, 51,
- 52, 53, 54, 55, 56, 57, 36, 37, 38, 0,
- 0, 0, 0, 0, 0, 0, 39, 40, 41, 42,
- 43, 44, 45, 46, 47, 48, 0, 0, 0, 0,
- 0, 146, 49, 50, 51, 52, 53, 54, 55, 56,
- 57, 36, 37, 38, 0, 0, 0, 0, 0, 0,
- 0, 39, 40, 41, 42, 43, 44, 45, 46, 47,
- 48, 0, 0, 0, 0, 0, 0, 49, 50, 51,
- 52, 53, 54, 55, 56, 57, 36, 37, 38, 0,
- 0, 0, 0, 0, 0, 0, 39, 40, 41, 42,
- 43, 44, 45, 46, 47, 48, 0, 0, 0, 0,
+ 43, 44, 45, 46, 47, 48, 49, 0, 0, 0,
+ 0, 0, 0, 50, 51, 52, 53, 54, 55, 56,
+ 57, 58, 36, 37, 38, 122, 0, 0, 0, 130,
+ 131, 0, 39, 40, 41, 42, 43, 44, 45, 46,
+ 47, 48, 49, 0, 0, 0, 0, 0, 0, 50,
+ 51, 52, 53, 54, 55, 56, 57, 58, 36, 37,
+ 38, 0, 0, 0, 0, 0, 0, 0, 39, 40,
+ 41, 42, 43, 44, 45, 46, 47, 48, 49, 0,
+ 0, 0, 0, 0, 128, 50, 51, 52, 53, 54,
+ 55, 56, 57, 58, 36, 37, 38, 0, 0, 0,
+ 0, 0, 0, 0, 39, 40, 41, 42, 43, 44,
+ 45, 46, 47, 48, 49, 0, 0, 0, 133, 0,
+ 0, 50, 51, 52, 53, 54, 55, 56, 57, 58,
+ 36, 37, 38, 0, 0, 0, 0, 0, 0, 146,
+ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
+ 49, 0, 0, 0, 0, 0, 0, 50, 51, 52,
+ 53, 54, 55, 56, 57, 58, 36, 37, 38, 0,
+ 0, 0, 147, 0, 0, 0, 39, 40, 41, 42,
+ 43, 44, 45, 46, 47, 48, 49, 0, 0, 0,
0, 0, 0, 50, 51, 52, 53, 54, 55, 56,
- 57, 36, 37, 38, 0, 0, 0, 0, 0, 0,
- 0, 39, 40, 41, 42, 43, 44, 45, 46, 47,
- 48, 0, 0, 0, 0, 0, 36, 37, 0, 51,
- 52, 53, 54, 55, 56, 57, 39, 40, -62, -62,
- -62, -62, -62, -62, 47, 48, 0, 0, 0, 0,
- 0, 36, 37, 0, -62, 52, 53, 54, 55, 56,
- 57, 39, 0, 0, 0, 0, 0, 0, 0, 47,
- 48, -62, -62, 0, 0, 0, 0, 36, 37, 0,
- 52, 53, 54, 55, 56, 57, 0, 0, 0, -62,
- -62, 0, 0, 0, 0, 47, 48, 0, 0, 0,
- -62, -62, 54, 55, 56, 57, 52, 53, 54, 55,
- 56, 57
+ 57, 58, 36, 37, 38, 0, 0, 0, 0, 0,
+ 0, 0, 39, 40, 41, 42, 43, 44, 45, 46,
+ 47, 48, 49, 0, 0, 0, 0, 0, 148, 50,
+ 51, 52, 53, 54, 55, 56, 57, 58, 36, 37,
+ 38, 0, 0, 0, 0, 0, 0, 0, 39, 40,
+ 41, 42, 43, 44, 45, 46, 47, 48, 49, 0,
+ 0, 0, 0, 0, 0, 50, 51, 52, 53, 54,
+ 55, 56, 57, 58, 36, 37, 38, 0, 0, 0,
+ 0, 0, 0, 0, 39, 40, 41, 42, 43, 44,
+ 45, 46, 47, 48, 49, 0, 0, 0, 0, 0,
+ 0, 0, 51, 52, 53, 54, 55, 56, 57, 58,
+ 36, 37, 38, 0, 0, 0, 0, 0, 0, 0,
+ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
+ 49, 0, 0, 0, 0, 0, 36, 37, 0, 52,
+ 53, 54, 55, 56, 57, 58, 39, 40, -63, -63,
+ -63, -63, -63, -63, 47, 48, 49, 0, 0, 0,
+ 0, 0, 36, 37, 0, -63, 53, 54, 55, 56,
+ 57, 58, 39, 0, 0, 0, 0, 0, 0, 0,
+ 47, 48, 49, -63, -63, 0, 0, 0, 0, 36,
+ 37, 0, 53, 54, 55, 56, 57, 58, 0, 0,
+ 0, -63, -63, -63, 0, 0, 0, 47, 48, 49,
+ 0, 0, 0, -63, -63, 55, 56, 57, 58, 53,
+ 54, 55, 56, 57, 58
};
#define yypact_value_is_default(yystate) \
- ((yystate) == (-75))
+ ((yystate) == (-76))
#define yytable_value_is_error(yytable_value) \
- ((yytable_value) == (-62))
+ ((yytable_value) == (-63))
static const yytype_int16 yycheck[] =
{
- 0, 10, 43, 77, 4, 33, 80, 7, 0, 9,
- 27, 28, 75, 30, 4, 42, 43, 17, 80, 82,
- 4, 49, 4, 15, 39, 40, 45, 46, 0, 47,
- 44, 31, 42, 49, 42, 33, 36, 37, 38, 39,
+ 0, 10, 44, 78, 4, 34, 81, 7, 0, 9,
+ 28, 29, 76, 31, 4, 43, 44, 17, 81, 83,
+ 4, 50, 4, 15, 40, 41, 46, 47, 0, 48,
+ 45, 31, 43, 43, 42, 34, 36, 37, 38, 39,
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
- 50, 51, 52, 53, 54, 55, 56, 57, 132, 133,
- 134, 9, 62, 41, 64, 1, 75, 67, 4, 69,
- 132, 133, 134, 82, 1, 4, 4, 4, 44, 1,
- 4, 33, 4, 5, 47, 44, 32, 42, 10, 11,
- 26, 42, 32, 42, 15, 147, -1, 45, 46, 26,
- -1, -1, 1, -1, 26, 4, 5, 43, -1, -1,
- -1, 10, 11, 49, -1, -1, 43, -1, -1, 41,
- -1, 43, 49, 45, 46, 47, 48, 26, 128, 129,
- 1, -1, -1, 4, 5, 135, 136, -1, -1, 10,
- 11, -1, 41, -1, 43, 145, 45, 46, 47, 48,
- 4, 5, -1, 1, -1, 26, 4, 5, -1, -1,
- -1, -1, 10, 11, -1, -1, -1, -1, -1, -1,
- 41, -1, 43, -1, 45, 46, -1, 48, 26, 4,
- 5, -1, -1, -1, -1, 10, 11, 41, -1, 43,
- -1, 45, 46, 41, 48, 43, -1, 45, 46, -1,
- 48, 26, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 41, -1, 43, -1,
- 45, 46, -1, 48, 6, 7, 8, -1, -1, -1,
+ 50, 51, 52, 53, 54, 55, 56, 57, 58, 134,
+ 135, 136, 9, 63, 50, 65, 1, 76, 68, 4,
+ 70, 134, 135, 136, 83, 1, 4, 4, 4, 45,
+ 1, 4, 34, 4, 5, 48, 45, 33, 43, 10,
+ 11, 33, 27, 43, 43, 15, 149, -1, -1, 46,
+ 47, 27, -1, -1, -1, -1, 27, 1, -1, 44,
+ 4, 5, -1, -1, -1, 50, 10, 11, 44, -1,
+ -1, 42, -1, 44, 50, 46, 47, 48, 49, -1,
+ 130, 131, 1, 27, -1, 4, 5, 137, 138, -1,
+ -1, 10, 11, -1, -1, -1, -1, 147, 42, -1,
+ 44, -1, 46, 47, 48, 49, 1, -1, 27, 4,
+ 5, -1, -1, -1, -1, 10, 11, 4, 5, -1,
+ -1, -1, -1, 42, -1, 44, -1, 46, 47, -1,
+ 49, -1, 27, 4, 5, -1, -1, -1, -1, 10,
+ 11, -1, -1, -1, -1, -1, -1, 42, -1, 44,
+ -1, 46, 47, -1, 49, 42, 27, 44, -1, 46,
+ 47, -1, 49, -1, -1, -1, -1, -1, -1, -1,
+ -1, 42, -1, 44, -1, 46, 47, -1, 49, 6,
+ 7, 8, -1, -1, -1, -1, -1, -1, -1, 16,
+ 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
+ -1, -1, -1, -1, -1, -1, 33, 34, 35, 36,
+ 37, 38, 39, 40, 41, 6, 7, 8, -1, -1,
+ -1, 48, -1, -1, -1, 16, 17, 18, 19, 20,
+ 21, 22, 23, 24, 25, 26, -1, -1, -1, -1,
+ -1, -1, 33, 34, 35, 36, 37, 38, 39, 40,
+ 41, -1, -1, 1, -1, -1, -1, 48, 6, 7,
+ 8, -1, -1, -1, 12, -1, -1, -1, 16, 17,