-#ifndef lint
-static char yysccsid[] = "@(#)yaccpar 1.8 (Berkeley) 01/20/91";
-#endif
-#define YYBYACC 1
-#line 16 "perly.y"
+/* perly.c
+ *
+ * Copyright (c) 2004, 2005, 2006 Larry Wall and others
+ *
+ * You may distribute under the terms of either the GNU General Public
+ * License or the Artistic License, as specified in the README file.
+ *
+ * Note that this file was originally generated as an output from
+ * GNU bison version 1.875, but now the code is statically maintained
+ * and edited; the bits that are dependent on perly.y are now
+ * #included from the files perly.tab and perly.act.
+ *
+ * Here is an important copyright statement from the original, generated
+ * file:
+ *
+ * As a special exception, when this file is copied by Bison into a
+ * Bison output file, you may use that output file without
+ * restriction. This special exception was added by the Free
+ * Software Foundation in version 1.24 of Bison.
+ *
+ * Note that this file is also #included in madly.c, to allow compilation
+ * of a second parser, Perl_madparse, that is identical to Perl_yyparse,
+ * but which includes extra code for dumping the parse tree.
+ * This is controlled by the PERL_IN_MADLY_C define.
+ */
+
#include "EXTERN.h"
+#define PERL_IN_PERLY_C
#include "perl.h"
+typedef unsigned char yytype_uint8;
+typedef signed char yytype_int8;
+typedef unsigned short int yytype_uint16;
+typedef short int yytype_int16;
+typedef signed char yysigned_char;
+
+#ifdef DEBUGGING
+# define YYDEBUG 1
+#else
+# define YYDEBUG 0
+#endif
+
+/* contains all the parser state tables; auto-generated from perly.y */
+#include "perly.tab"
+
+# define YYSIZE_T size_t
+
+#define YYEMPTY (-2)
+#define YYEOF 0
+#define YYTERROR 1
+
+#define YYACCEPT goto yyacceptlab
+#define YYABORT goto yyabortlab
+#define YYERROR goto yyerrlab1
+
+/* Enable debugging if requested. */
+#ifdef DEBUGGING
+
+# define yydebug (DEBUG_p_TEST)
+
+# define YYFPRINTF PerlIO_printf
+
+# define YYDPRINTF(Args) \
+do { \
+ if (yydebug) \
+ YYFPRINTF Args; \
+} while (0)
+
+# define YYDSYMPRINTF(Title, Token, Value) \
+do { \
+ if (yydebug) { \
+ YYFPRINTF (Perl_debug_log, "%s ", Title); \
+ yysymprint (aTHX_ Perl_debug_log, Token, Value); \
+ YYFPRINTF (Perl_debug_log, "\n"); \
+ } \
+} while (0)
+
+/*--------------------------------.
+| Print this symbol on YYOUTPUT. |
+`--------------------------------*/
+
static void
-dep(void)
+yysymprint(pTHX_ PerlIO * const yyoutput, int yytype, const YYSTYPE * const yyvaluep)
{
- deprecate("\"do\" to call subroutines");
+ if (yytype < YYNTOKENS) {
+ YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
+# ifdef YYPRINT
+ YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
+# else
+ YYFPRINTF (yyoutput, "0x%"UVxf, (UV)yyvaluep->ival);
+# endif
+ }
+ else
+ YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
+
+ YYFPRINTF (yyoutput, ")");
}
-#line 16 "perly.c"
-#define YYERRCODE 256
-short yylhs[] = { -1,
- 45, 0, 9, 7, 10, 8, 11, 11, 11, 12,
- 12, 12, 12, 24, 24, 24, 24, 24, 24, 15,
- 15, 15, 14, 14, 42, 42, 13, 13, 13, 13,
- 13, 13, 13, 26, 26, 27, 27, 28, 29, 30,
- 31, 32, 44, 44, 1, 1, 1, 1, 3, 38,
- 38, 46, 4, 5, 6, 39, 40, 40, 41, 41,
- 47, 47, 49, 48, 16, 16, 16, 25, 25, 25,
- 36, 36, 36, 36, 36, 36, 36, 50, 36, 37,
- 37, 17, 17, 17, 17, 17, 17, 17, 17, 17,
- 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
- 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
- 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
- 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
- 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
- 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
- 17, 17, 17, 17, 17, 17, 17, 33, 33, 34,
- 34, 34, 2, 2, 43, 23, 18, 19, 20, 21,
- 22, 35, 35, 35, 35,
-};
-short yylen[] = { 2,
- 0, 2, 4, 0, 4, 0, 0, 2, 2, 2,
- 1, 2, 3, 1, 1, 3, 3, 3, 3, 0,
- 2, 6, 7, 7, 0, 2, 8, 8, 10, 9,
- 8, 11, 3, 0, 1, 0, 1, 1, 1, 1,
- 1, 1, 0, 1, 1, 1, 1, 1, 4, 1,
- 0, 5, 0, 0, 0, 1, 0, 1, 1, 1,
- 3, 2, 0, 7, 3, 3, 1, 2, 3, 1,
- 3, 5, 6, 3, 5, 2, 4, 0, 5, 1,
- 1, 3, 3, 3, 3, 3, 3, 3, 3, 3,
- 3, 3, 3, 5, 3, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 3, 2, 3, 2, 4,
- 3, 4, 1, 5, 1, 4, 5, 4, 1, 1,
- 1, 5, 6, 5, 6, 5, 4, 5, 1, 1,
- 3, 4, 3, 2, 2, 4, 5, 4, 5, 4,
- 5, 1, 2, 2, 1, 2, 2, 2, 1, 3,
- 1, 3, 4, 4, 6, 1, 1, 0, 1, 0,
- 1, 2, 1, 1, 1, 2, 2, 2, 2, 2,
- 2, 1, 1, 1, 1,
-};
-short yydefred[] = { 1,
- 0, 7, 0, 44, 55, 53, 0, 53, 8, 45,
- 9, 11, 0, 46, 47, 48, 0, 0, 0, 62,
- 63, 14, 4, 156, 0, 0, 129, 0, 151, 0,
- 54, 54, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 163, 164, 0,
- 0, 0, 0, 0, 0, 0, 0, 12, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 10, 0, 0,
- 0, 0, 119, 121, 0, 0, 0, 0, 157, 50,
- 0, 56, 0, 61, 0, 7, 172, 175, 174, 173,
- 0, 0, 0, 0, 0, 0, 4, 4, 4, 4,
- 4, 4, 0, 0, 0, 0, 0, 146, 0, 0,
- 0, 0, 76, 0, 170, 0, 135, 0, 0, 0,
- 0, 0, 166, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 109, 0, 167, 168, 169, 171, 0,
- 0, 33, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 101, 102, 0, 0, 0, 0, 0,
- 0, 0, 0, 13, 0, 49, 58, 0, 0, 0,
- 74, 0, 0, 78, 0, 0, 0, 0, 0, 0,
- 0, 4, 150, 152, 0, 0, 0, 0, 0, 0,
- 0, 111, 0, 133, 0, 0, 108, 26, 0, 0,
- 19, 0, 0, 0, 65, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 80, 0, 0, 81, 0, 0, 0, 0, 0,
- 0, 0, 131, 0, 0, 60, 59, 52, 0, 3,
- 0, 154, 0, 0, 112, 0, 41, 0, 42, 0,
- 0, 0, 0, 165, 0, 0, 35, 40, 0, 0,
- 0, 153, 162, 77, 0, 136, 0, 138, 0, 110,
- 0, 0, 0, 0, 0, 140, 0, 0, 0, 118,
- 0, 116, 0, 127, 0, 132, 0, 75, 0, 79,
- 0, 0, 0, 0, 0, 0, 0, 0, 72, 137,
- 139, 126, 0, 124, 0, 0, 141, 117, 0, 122,
- 128, 114, 64, 155, 6, 0, 0, 0, 0, 0,
- 0, 0, 0, 125, 123, 73, 7, 27, 28, 0,
- 0, 23, 24, 0, 31, 0, 0, 0, 21, 0,
- 0, 0, 30, 5, 0, 29, 0, 0, 32, 0,
- 22,
-};
-short yydgoto[] = { 1,
- 9, 66, 10, 18, 95, 17, 86, 337, 89, 326,
- 3, 11, 12, 68, 342, 261, 70, 71, 72, 73,
- 74, 75, 76, 267, 78, 268, 257, 259, 262, 270,
- 258, 260, 113, 197, 91, 79, 236, 81, 83, 178,
- 248, 142, 265, 13, 2, 14, 15, 16, 85, 254,
-};
-short yysindex[] = { 0,
- 0, 0, -120, 0, 0, 0, -50, 0, 0, 0,
- 0, 0, 661, 0, 0, 0, -240, -238, -29, 0,
- 0, 0, 0, 0, -32, -32, 0, -8, 0, 2115,
- 0, 0, -4, 31, 32, 35, -35, 2115, 56, 57,
- 61, 1037, 981, -32, 1100, 1364, -218, 0, 0, -32,
- 2115, 2115, 2115, 2115, 2115, 2115, 1420, 0, 2115, 2115,
- 1476, -32, -32, -32, -32, 2115, -205, 0, 201, 306,
- -63, -62, 0, 0, -24, 67, 45, 65, 0, 0,
- -15, 0, -149, 0, -144, 0, 0, 0, 0, 0,
- 2115, 80, 2115, 841, -15, -149, 0, 0, 0, 0,
- 0, 0, 85, 306, 86, 1535, 981, 0, 841, 0,
- -63, 65, 0, 2115, 0, 88, 0, 841, -28, 4,
- -51, 2115, 0, 65, 340, 340, 340, -76, -76, 49,
- -31, 340, 340, 0, -82, 0, 0, 0, 0, 841,
- -15, 0, 2115, 2115, 2115, 2115, 2115, 2115, 2115, 2115,
- 2115, 2115, 2115, 2115, 2115, 2115, 2115, 2115, 2115, 2115,
- 2115, 2115, 2115, 0, 0, 48, 2115, 2115, 2115, 2115,
- 2115, 2115, 1710, 0, 2115, 0, 0, -43, -116, 241,
- 0, 2115, 1193, 0, -15, 2115, 2115, 2115, 2115, 106,
- 1769, 0, 0, 0, -23, 20, 104, 2115, 65, 1825,
- 1881, 0, 36, 0, 2115, 62, 0, 0, -232, -232,
- 0, -232, -232, -134, 0, -46, 1131, 841, 689, 316,
- 859, 306, 3778, 1980, 3652, 1299, 480, 396, 340, 340,
- 2115, 0, 1944, 2115, 0, 128, -58, 22, -56, 24,
- 33, 28, 0, -19, 306, 0, 0, 0, 2115, 0,
- 134, 0, 2115, 2115, 0, -232, 0, 142, 0, 148,
- -232, 149, 150, 0, 153, 201, 0, 0, 154, 138,
- 2115, 0, 0, 0, -7, 0, 2, 0, 16, 0,
- 70, 2115, 73, 2115, 30, 0, 18, 101, 2115, 0,
- 75, 0, 78, 0, 81, 0, 151, 0, 1247, 0,
- 90, 90, 90, 90, 2115, 90, 2115, 167, 0, 0,
- 0, 0, 103, 0, 3869, 84, 0, 0, 170, 0,
- 0, 0, 0, 0, 0, -205, -205, -207, -207, 176,
- -205, 168, 90, 0, 0, 0, 0, 0, 0, 90,
- 192, 0, 0, 90, 0, 1769, -205, 402, 0, 2115,
- -205, 207, 0, 0, 208, 0, 90, 90, 0, -207,
- 0,
-};
-short yyrindex[] = { 0,
- 0, 0, 265, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 131, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 2156, -17, 0,
- 0, 2675, 2720, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 79, 0, -3, 108,
- 2774, 2860, 0, 0, 2034, 121, 0, 140, 0, 0,
- 0, 0, -33, 0, 0, 0, 0, 0, 0, 0,
- 2203, 0, 0, 3504, 0, 145, 0, 0, 0, 0,
- 0, 0, 0, 3772, 0, 0, 252, 0, 3551, 541,
- 602, 2270, 0, 0, 0, 442, 0, 3587, 2774, 0,
- 0, 2203, 0, 2324, 3010, 3049, 3096, 2911, 2972, 2439,
- 0, 3147, 3193, 0, 0, 0, 0, 0, 0, 3633,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 2522, 0, 0, 0, 0, 925,
- 0, 252, 0, 0, 0, 263, 0, 0, 0, 0,
- 223, 0, 0, 0, 0, 282, 0, 0, 2576, 0,
- 0, 0, 0, 0, 0, 2624, 0, 0, -1, 26,
- 0, 27, 51, 718, 0, 0, 3752, 1576, 1632, 3368,
- 3413, 3799, 0, -38, 3710, 3678, 3060, 3459, 3285, 3332,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 3835, 0, 0, 0, 273, 0,
- 0, 0, 0, 2203, 0, 59, 0, 0, 0, 0,
- 293, 0, 0, 0, 0, 64, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 252, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 296, 0, 0, 0,
- 0, 0, 0, 0, 2380, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 79, 79, 186, 186, 0,
- 79, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 300, 79, 925, 0, 0,
- 79, 0, 0, 0, 0, 0, 0, 0, 0, 186,
- 0,
-};
-short yygindex[] = { 0,
- 0, 0, 0, 349, 328, 0, -48, 0, 679, 378,
- -84, 0, 0, 0, -298, -13, 4075, 2485, 0, 0,
- 0, 0, 0, 363, 908, 0, 0, 233, -168, 38,
- 72, 196, -77, -175, 999, 0, 0, 0, 0, 290,
- 0, -249, 0, 0, 0, 0, 0, 0, 0, 0,
-};
-#define YYTABLESIZE 4359
-short yytable[] = { 69,
- 62, 180, 93, 62, 102, 93, 251, 203, 20, 206,
- 207, 201, 283, 181, 167, 246, 80, 272, 82, 93,
- 93, 296, 269, 149, 93, 57, 149, 169, 171, 84,
- 343, 93, 121, 309, 290, 97, 292, 15, 122, 18,
- 149, 149, 310, 131, 204, 149, 149, 135, 186, 187,
- 188, 189, 190, 191, 93, 15, 311, 18, 317, 168,
- 170, 361, 169, 273, 147, 148, 38, 16, 340, 341,
- 98, 99, 141, 149, 100, 149, 338, 339, 25, 23,
- 291, 345, 293, 62, 38, 16, 295, 233, 316, 57,
- 23, 17, 195, 196, 168, 105, 106, 353, 172, 37,
- 107, 356, 308, 174, 39, 149, 173, 23, 175, 17,
- 177, 25, 179, 319, 25, 25, 25, 37, 25, 182,
- 25, 25, 15, 25, 192, 294, 193, 200, 202, 209,
- 210, 212, 213, 214, 215, 216, 330, 25, 234, 205,
- 249, 62, 25, 271, 274, 4, 5, 6, 70, 7,
- 8, 70, 282, 237, 238, 239, 240, 241, 242, 244,
- 280, 130, 312, 148, 130, 70, 70, 289, 196, 25,
- 231, 297, 256, 210, 298, 210, 300, 266, 130, 130,
- 67, 355, 301, 130, 275, 20, 277, 279, 302, 303,
- 304, 281, 305, 318, 306, 334, 307, 314, 67, 320,
- 70, 25, 321, 25, 25, 322, 19, 333, 335, 323,
- 336, 130, 325, 130, 147, 148, 344, 285, 20, 287,
- 288, 20, 20, 20, 87, 20, 346, 20, 20, 88,
- 20, 350, 67, 93, 93, 93, 93, 166, 147, 148,
- 147, 148, 93, 130, 20, 147, 148, 357, 358, 20,
- 147, 148, 348, 51, 149, 149, 149, 149, 93, 93,
- 101, 93, 93, 149, 2, 147, 148, 57, 313, 149,
- 149, 149, 149, 147, 148, 196, 20, 147, 148, 149,
- 149, 34, 149, 149, 149, 149, 149, 149, 149, 147,
- 148, 149, 160, 256, 149, 149, 149, 43, 147, 148,
- 43, 43, 43, 36, 43, 232, 43, 43, 20, 43,
- 20, 20, 147, 148, 147, 148, 147, 148, 147, 148,
- 147, 148, 161, 43, 147, 148, 147, 148, 43, 147,
- 148, 158, 69, 39, 25, 25, 25, 25, 25, 25,
- 34, 25, 25, 25, 25, 25, 25, 25, 25, 25,
- 25, 25, 25, 25, 36, 43, 21, 25, 25, 96,
- 25, 25, 25, 25, 25, 250, 147, 148, 156, 25,
- 25, 25, 25, 25, 25, 77, 211, 25, 332, 70,
- 70, 70, 70, 352, 263, 185, 25, 43, 25, 25,
- 43, 0, 130, 130, 130, 130, 167, 147, 148, 147,
- 148, 130, 0, 0, 70, 70, 167, 130, 130, 130,
- 130, 67, 67, 67, 67, 0, 0, 130, 130, 0,
- 130, 130, 130, 130, 130, 130, 130, 0, 149, 130,
- 167, 0, 130, 130, 130, 0, 67, 67, 149, 0,
- 0, 20, 20, 20, 20, 20, 20, 0, 20, 20,
- 20, 20, 20, 20, 20, 20, 20, 20, 20, 20,
- 20, 0, 149, 0, 20, 20, 0, 20, 20, 20,
- 20, 20, 143, 144, 145, 146, 20, 20, 20, 20,
- 20, 20, 156, 0, 20, 156, 167, 0, 0, 0,
- 0, 0, 0, 20, 0, 20, 20, 147, 148, 156,
- 156, 0, 0, 0, 156, 0, 4, 5, 6, 0,
- 7, 8, 0, 0, 0, 0, 0, 0, 149, 0,
- 43, 43, 43, 43, 43, 43, 354, 43, 43, 43,
- 0, 0, 156, 43, 156, 0, 43, 43, 43, 43,
- 0, 0, 0, 43, 43, 0, 43, 43, 43, 43,
- 43, 0, 0, 0, 0, 43, 43, 43, 43, 43,
- 43, 0, 0, 43, 156, 0, 0, 0, 0, 0,
- 167, 0, 43, 172, 43, 43, 172, 172, 172, 0,
- 172, 156, 172, 172, 156, 172, 150, 0, 0, 0,
- 0, 0, 151, 152, 153, 154, 0, 0, 156, 156,
- 0, 0, 149, 156, 172, 155, 157, 158, 159, 160,
- 161, 162, 0, 0, 163, 0, 0, 164, 165, 166,
- 0, 162, 0, 0, 163, 0, 0, 164, 165, 166,
- 0, 156, 0, 156, 173, 0, 0, 173, 173, 173,
- 0, 173, 113, 173, 173, 113, 173, 0, 163, 0,
- 0, 164, 165, 166, 0, 0, 0, 0, 0, 113,
- 113, 0, 0, 156, 113, 173, 172, 4, 5, 6,
- 0, 7, 8, 0, 0, 0, 0, 0, 0, 327,
- 328, 329, 0, 331, 153, 154, 0, 0, 0, 0,
- 0, 67, 0, 52, 113, 0, 62, 64, 50, 0,
- 57, 162, 65, 60, 163, 59, 0, 164, 165, 166,
- 347, 0, 0, 156, 156, 156, 156, 349, 0, 58,
- 108, 351, 156, 117, 63, 0, 0, 173, 156, 156,
- 156, 156, 0, 0, 359, 360, 0, 0, 156, 156,
- 0, 156, 156, 156, 156, 156, 156, 156, 0, 0,
- 156, 61, 0, 156, 156, 156, 0, 0, 66, 176,
- 0, 66, 0, 0, 0, 0, 151, 152, 153, 154,
- 0, 0, 0, 184, 0, 0, 66, 0, 0, 167,
- 0, 0, 0, 23, 161, 162, 53, 0, 163, 0,
- 0, 164, 165, 166, 0, 0, 0, 172, 172, 172,
- 172, 172, 0, 172, 172, 172, 0, 0, 0, 172,
- 66, 149, 156, 156, 156, 156, 0, 0, 0, 208,
- 172, 156, 172, 172, 172, 172, 172, 156, 156, 156,
- 156, 172, 172, 172, 172, 172, 172, 156, 156, 172,
- 156, 156, 156, 156, 156, 156, 156, 0, 172, 156,
- 172, 172, 156, 156, 156, 0, 247, 0, 173, 173,
- 173, 173, 173, 255, 173, 173, 173, 0, 0, 0,
- 173, 0, 0, 113, 113, 113, 113, 0, 0, 0,
- 0, 173, 113, 173, 173, 173, 173, 173, 113, 113,
- 113, 113, 173, 173, 173, 173, 173, 173, 113, 113,
- 173, 113, 113, 113, 113, 113, 113, 113, 0, 173,
- 113, 173, 173, 113, 113, 113, 22, 24, 25, 26,
- 27, 28, 0, 29, 30, 31, 0, 0, 0, 32,
- 0, 167, 33, 34, 35, 36, 0, 0, 0, 37,
- 38, 0, 39, 40, 41, 42, 43, 0, 0, 167,
- 112, 44, 45, 46, 47, 48, 49, 43, 124, 51,
- 43, 43, 43, 149, 43, 0, 43, 43, 54, 43,
- 55, 56, 0, 0, 0, 151, 0, 153, 154, 0,
- 0, 149, 0, 43, 0, 0, 0, 0, 43, 66,
- 66, 66, 66, 161, 162, 0, 0, 163, 112, 0,
- 164, 165, 166, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 52, 66, 43, 62, 64, 50, 0,
- 57, 199, 65, 60, 92, 59, 0, 0, 0, 112,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 114, 115, 0, 63, 0, 0, 43, 123, 0,
- 43, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 136, 137, 138, 139, 0, 0, 0, 0, 0, 52,
- 0, 61, 62, 64, 50, 0, 57, 0, 65, 60,
- 0, 59, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 63, 0, 0, 23, 0, 198, 53, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 61, 0, 153,
- 154, 0, 52, 0, 0, 62, 64, 50, 0, 57,
- 0, 65, 60, 0, 59, 161, 162, 153, 0, 163,
- 0, 0, 164, 165, 166, 0, 112, 0, 0, 23,
- 0, 112, 53, 63, 162, 0, 0, 163, 0, 0,
- 164, 165, 166, 0, 0, 0, 0, 0, 0, 0,
- 43, 43, 43, 43, 43, 43, 0, 43, 43, 43,
- 61, 0, 0, 43, 0, 0, 43, 43, 43, 43,
- 0, 0, 0, 43, 43, 0, 43, 43, 43, 43,
- 43, 0, 0, 0, 0, 43, 43, 43, 43, 43,
- 43, 167, 23, 43, 0, 53, 0, 0, 0, 0,
- 0, 0, 43, 252, 43, 43, 253, 110, 25, 26,
- 27, 28, 88, 29, 30, 31, 0, 0, 0, 32,
- 0, 0, 0, 149, 0, 156, 0, 0, 0, 0,
- 38, 0, 39, 40, 41, 42, 43, 0, 0, 0,
- 0, 44, 45, 46, 47, 48, 49, 0, 0, 51,
- 0, 0, 0, 167, 0, 0, 0, 324, 54, 0,
- 55, 56, 0, 24, 25, 26, 27, 28, 0, 29,
- 30, 31, 0, 0, 0, 32, 0, 0, 0, 156,
- 0, 0, 0, 0, 0, 149, 38, 0, 39, 40,
- 41, 42, 43, 0, 0, 0, 0, 44, 45, 46,
- 47, 48, 49, 0, 0, 51, 0, 167, 0, 0,
- 0, 0, 0, 0, 54, 0, 55, 56, 0, 0,
- 0, 0, 0, 0, 0, 0, 116, 25, 26, 27,
- 28, 0, 29, 30, 31, 0, 0, 0, 32, 149,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 38,
- 0, 39, 40, 41, 42, 43, 0, 0, 0, 167,
- 44, 45, 46, 47, 48, 49, 52, 0, 51, 62,
- 64, 50, 0, 57, 0, 65, 60, 54, 59, 55,
- 56, 0, 0, 0, 0, 0, 0, 151, 152, 153,
- 154, 149, 120, 0, 0, 0, 0, 63, 0, 0,
- 0, 157, 158, 159, 160, 161, 162, 0, 0, 163,
- 0, 0, 164, 165, 166, 0, 0, 0, 0, 0,
- 0, 0, 52, 0, 61, 62, 64, 50, 0, 57,
- 130, 65, 60, 0, 59, 0, 0, 0, 0, 0,
- 0, 0, 0, 150, 0, 0, 0, 0, 0, 151,
- 152, 153, 154, 63, 0, 0, 0, 0, 0, 53,
- 0, 0, 155, 157, 158, 159, 160, 161, 162, 0,
- 0, 163, 0, 0, 164, 165, 166, 0, 52, 0,
- 61, 62, 64, 50, 0, 57, 0, 65, 60, 0,
- 59, 0, 0, 0, 0, 0, 0, 150, 0, 0,
- 0, 0, 0, 151, 152, 153, 154, 0, 0, 63,
- 0, 0, 0, 0, 0, 53, 155, 157, 158, 159,
- 160, 161, 162, 0, 0, 163, 0, 0, 164, 165,
- 166, 0, 0, 0, 0, 0, 61, 52, 134, 0,
- 62, 64, 50, 0, 57, 194, 65, 60, 0, 59,
- 0, 0, 0, 0, 0, 151, 152, 153, 154, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 63, 0,
- 0, 53, 160, 161, 162, 0, 0, 163, 0, 0,
- 164, 165, 166, 0, 0, 0, 87, 0, 0, 87,
- 24, 25, 26, 27, 28, 61, 29, 30, 31, 0,
- 0, 0, 32, 87, 87, 0, 0, 0, 87, 0,
- 0, 0, 0, 38, 0, 39, 40, 41, 42, 43,
- 0, 0, 0, 0, 44, 45, 46, 47, 48, 49,
- 53, 0, 51, 0, 0, 0, 0, 0, 87, 0,
- 0, 54, 88, 55, 56, 88, 24, 25, 26, 27,
- 28, 0, 29, 30, 31, 0, 0, 0, 32, 88,
- 88, 0, 0, 0, 88, 0, 0, 0, 0, 38,
- 0, 39, 40, 41, 42, 43, 0, 0, 0, 0,
- 44, 45, 46, 47, 48, 49, 0, 0, 51, 0,
- 0, 0, 0, 0, 88, 0, 0, 54, 0, 55,
- 56, 0, 24, 25, 26, 27, 28, 0, 29, 30,
- 31, 0, 52, 0, 32, 62, 64, 50, 0, 57,
- 243, 65, 60, 0, 59, 38, 0, 39, 40, 41,
- 42, 43, 0, 0, 0, 0, 44, 45, 46, 47,
- 48, 49, 0, 63, 51, 0, 0, 0, 0, 0,
- 0, 0, 0, 54, 0, 55, 56, 0, 0, 0,
- 0, 24, 25, 26, 27, 28, 0, 29, 30, 31,
- 61, 52, 0, 32, 62, 64, 50, 0, 57, 0,
- 65, 60, 0, 59, 38, 0, 39, 40, 41, 42,
- 43, 0, 0, 0, 0, 44, 45, 46, 47, 48,
- 49, 0, 63, 51, 0, 53, 0, 0, 0, 0,
- 0, 0, 54, 0, 55, 56, 0, 87, 87, 87,
- 87, 0, 0, 0, 0, 0, 87, 52, 0, 61,
- 62, 64, 50, 87, 57, 276, 65, 60, 0, 59,
- 0, 0, 87, 87, 0, 87, 87, 87, 87, 87,
- 0, 0, 0, 0, 0, 0, 0, 0, 63, 0,
- 0, 0, 0, 0, 53, 0, 0, 0, 0, 0,
- 0, 0, 0, 88, 88, 88, 88, 0, 0, 0,
- 0, 0, 88, 52, 0, 61, 62, 64, 50, 0,
- 57, 278, 65, 60, 0, 59, 0, 0, 88, 88,
- 0, 88, 88, 88, 88, 88, 0, 0, 0, 0,
- 0, 0, 0, 0, 63, 0, 0, 0, 0, 0,
- 53, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 24, 25, 26, 27,
- 28, 61, 29, 30, 31, 0, 52, 0, 32, 62,
- 64, 50, 0, 57, 286, 65, 60, 0, 59, 38,
- 0, 39, 40, 41, 42, 43, 0, 0, 0, 0,
- 44, 45, 46, 47, 48, 49, 53, 63, 51, 0,
- 0, 0, 0, 0, 0, 0, 0, 54, 0, 55,
- 56, 0, 0, 0, 22, 24, 25, 26, 27, 28,
- 0, 29, 30, 31, 61, 0, 0, 32, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 38, 0,
- 39, 40, 41, 42, 43, 0, 0, 0, 0, 44,
- 45, 46, 47, 48, 49, 0, 0, 51, 0, 53,
- 167, 0, 0, 0, 115, 0, 54, 115, 55, 56,
- 0, 24, 25, 26, 27, 28, 0, 29, 30, 31,
- 0, 115, 115, 32, 0, 0, 115, 0, 0, 0,
- 0, 0, 149, 0, 38, 0, 39, 40, 41, 42,
- 43, 0, 0, 0, 0, 44, 45, 46, 47, 48,
- 49, 0, 0, 51, 115, 0, 115, 0, 0, 0,
- 0, 0, 54, 0, 55, 56, 0, 24, 25, 26,
- 27, 28, 0, 29, 30, 31, 0, 52, 0, 32,
- 62, 64, 50, 0, 57, 0, 65, 60, 0, 59,
- 38, 0, 39, 40, 41, 42, 43, 0, 0, 0,
- 0, 44, 45, 46, 47, 48, 49, 0, 63, 51,
- 0, 0, 0, 0, 0, 0, 0, 0, 54, 0,
- 55, 56, 0, 0, 0, 0, 142, 0, 0, 142,
- 24, 25, 26, 27, 28, 61, 29, 30, 31, 0,
- 0, 0, 32, 142, 142, 0, 0, 0, 142, 0,
- 0, 0, 0, 38, 0, 39, 40, 41, 42, 43,
- 0, 0, 0, 0, 44, 45, 46, 47, 48, 49,
- 53, 0, 51, 158, 0, 0, 158, 0, 142, 0,
- 0, 54, 0, 55, 56, 0, 0, 0, 0, 0,
- 158, 158, 0, 0, 0, 158, 151, 152, 153, 154,
- 0, 0, 0, 0, 0, 0, 0, 0, 142, 0,
- 0, 158, 159, 160, 161, 162, 0, 0, 163, 0,
- 0, 164, 165, 166, 0, 158, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 115, 115, 115, 115, 0,
- 159, 0, 0, 0, 115, 0, 0, 0, 0, 0,
- 115, 115, 115, 115, 0, 158, 0, 159, 159, 0,
- 115, 115, 159, 115, 115, 115, 115, 115, 115, 115,
- 0, 0, 115, 0, 0, 115, 115, 115, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 159, 0, 159, 0, 144, 0, 0, 0, 0, 0,
- 0, 24, 25, 26, 27, 28, 0, 29, 30, 31,
- 0, 144, 144, 32, 0, 0, 144, 0, 0, 0,
- 0, 0, 159, 0, 38, 0, 39, 40, 41, 42,
- 43, 0, 0, 0, 0, 44, 45, 46, 47, 48,
- 49, 0, 0, 51, 144, 0, 144, 0, 0, 0,
- 94, 0, 54, 94, 55, 56, 0, 142, 142, 142,
- 142, 0, 0, 0, 0, 0, 142, 94, 94, 0,
- 0, 0, 142, 142, 142, 142, 144, 0, 0, 0,
- 0, 0, 142, 142, 0, 142, 142, 142, 142, 142,
- 142, 142, 0, 0, 142, 0, 0, 142, 142, 142,
- 0, 0, 94, 0, 158, 158, 158, 158, 0, 107,
- 0, 0, 107, 158, 0, 0, 0, 0, 0, 158,
- 158, 158, 158, 0, 0, 0, 107, 107, 0, 158,
- 158, 107, 158, 158, 158, 158, 158, 158, 158, 90,
- 90, 158, 0, 0, 158, 158, 158, 0, 0, 0,
- 0, 103, 0, 0, 0, 0, 0, 111, 90, 119,
- 0, 107, 0, 0, 90, 0, 0, 0, 0, 0,
- 0, 159, 159, 159, 159, 0, 90, 90, 90, 90,
- 159, 0, 0, 0, 0, 0, 159, 159, 159, 159,
- 0, 107, 68, 0, 0, 68, 159, 159, 0, 159,
- 159, 159, 159, 159, 159, 159, 0, 0, 159, 68,
- 68, 159, 159, 159, 68, 0, 0, 0, 0, 0,
- 0, 111, 0, 0, 0, 144, 144, 144, 144, 0,
- 0, 0, 0, 0, 144, 0, 0, 0, 0, 0,
- 144, 144, 144, 144, 68, 0, 71, 0, 0, 0,
- 144, 144, 0, 144, 144, 144, 144, 144, 144, 144,
- 0, 0, 144, 71, 71, 144, 144, 144, 71, 0,
- 0, 0, 0, 0, 68, 0, 0, 0, 0, 0,
- 235, 94, 94, 94, 94, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 106, 0, 71, 106, 71, 0,
- 0, 0, 0, 0, 264, 0, 94, 94, 0, 94,
- 0, 106, 106, 0, 0, 0, 106, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 71, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 107, 107, 107, 107, 0, 145, 106, 0, 145, 107,
- 0, 0, 0, 0, 0, 107, 107, 107, 107, 0,
- 0, 0, 145, 145, 0, 107, 107, 145, 107, 107,
- 107, 107, 107, 107, 107, 0, 106, 107, 0, 0,
- 107, 107, 107, 0, 0, 0, 0, 0, 0, 0,
- 158, 0, 0, 158, 0, 0, 0, 145, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 158, 158, 0,
- 0, 0, 158, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 68, 68, 68, 68, 0, 0, 0,
- 0, 0, 68, 0, 0, 0, 0, 0, 68, 68,
- 68, 68, 158, 0, 113, 0, 0, 113, 68, 68,
- 0, 68, 68, 68, 68, 68, 68, 68, 0, 0,
- 68, 113, 113, 68, 68, 68, 113, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 71, 71, 71,
- 71, 0, 0, 0, 0, 0, 71, 0, 0, 0,
- 0, 0, 71, 71, 71, 71, 113, 0, 0, 0,
- 0, 0, 71, 71, 0, 71, 71, 71, 71, 71,
- 71, 71, 0, 0, 71, 0, 0, 71, 71, 71,
- 0, 0, 0, 0, 0, 106, 106, 106, 106, 0,
- 120, 0, 0, 120, 106, 0, 0, 0, 0, 0,
- 106, 106, 106, 106, 0, 0, 0, 120, 120, 0,
- 106, 106, 120, 106, 106, 106, 106, 106, 106, 106,
- 0, 0, 106, 0, 0, 106, 106, 106, 0, 0,
- 0, 0, 0, 0, 0, 0, 145, 145, 145, 145,
- 0, 103, 120, 0, 103, 145, 0, 0, 0, 0,
- 0, 145, 145, 145, 145, 0, 0, 0, 103, 103,
- 0, 145, 145, 103, 145, 145, 145, 145, 145, 145,
- 145, 0, 0, 145, 0, 0, 145, 145, 145, 0,
- 0, 158, 158, 158, 158, 0, 0, 0, 0, 0,
- 158, 0, 0, 103, 0, 0, 158, 158, 158, 158,
- 0, 0, 104, 0, 0, 104, 158, 158, 0, 158,
- 158, 158, 158, 158, 158, 158, 0, 0, 158, 104,
- 104, 158, 158, 158, 104, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 113, 113, 113, 113, 0,
- 98, 0, 0, 98, 113, 0, 0, 0, 0, 0,
- 113, 113, 113, 113, 104, 0, 0, 98, 98, 0,
- 113, 113, 98, 113, 113, 113, 113, 113, 113, 113,
- 0, 0, 113, 0, 0, 113, 113, 113, 0, 99,
- 0, 0, 99, 0, 0, 0, 0, 0, 0, 0,
- 89, 0, 98, 89, 0, 0, 99, 99, 0, 0,
- 0, 99, 0, 0, 0, 0, 0, 89, 89, 0,
- 0, 0, 89, 0, 0, 0, 0, 0, 0, 0,
- 0, 120, 120, 120, 120, 0, 100, 0, 0, 100,
- 120, 99, 0, 0, 0, 0, 120, 120, 120, 120,
- 0, 0, 89, 100, 100, 0, 120, 120, 100, 120,
- 120, 120, 120, 120, 120, 120, 0, 0, 120, 0,
- 0, 120, 120, 120, 0, 0, 0, 0, 0, 0,
- 0, 0, 103, 103, 103, 103, 0, 96, 100, 0,
- 96, 103, 0, 0, 0, 0, 0, 103, 103, 103,
- 103, 0, 0, 0, 96, 96, 0, 103, 103, 96,
- 103, 103, 103, 103, 103, 103, 103, 0, 0, 103,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 97, 0, 0, 97, 0, 0, 96,
- 0, 0, 0, 104, 104, 104, 104, 0, 0, 0,
- 97, 97, 104, 0, 0, 97, 0, 0, 104, 104,
- 104, 104, 0, 0, 0, 0, 0, 0, 104, 104,
- 0, 104, 104, 104, 104, 104, 104, 104, 0, 0,
- 104, 98, 98, 98, 98, 97, 0, 0, 0, 0,
- 98, 0, 0, 0, 0, 0, 98, 98, 98, 98,
- 0, 0, 0, 0, 0, 0, 98, 98, 0, 98,
- 98, 98, 98, 98, 98, 98, 0, 0, 0, 0,
- 99, 99, 99, 99, 0, 95, 0, 0, 95, 99,
- 0, 89, 89, 89, 89, 99, 99, 99, 99, 0,
- 89, 0, 95, 95, 0, 99, 99, 95, 99, 99,
- 99, 99, 99, 99, 99, 0, 89, 89, 0, 89,
- 89, 89, 89, 89, 0, 0, 0, 100, 100, 100,
- 100, 0, 83, 0, 0, 83, 100, 95, 0, 0,
- 0, 0, 100, 100, 100, 100, 0, 0, 0, 83,
- 83, 0, 100, 100, 83, 100, 100, 100, 100, 100,
- 100, 100, 0, 0, 0, 0, 0, 0, 84, 0,
- 0, 84, 0, 0, 0, 0, 0, 0, 96, 96,
- 96, 96, 0, 0, 83, 84, 84, 96, 0, 0,
- 84, 0, 0, 96, 96, 96, 96, 0, 0, 0,
- 0, 0, 0, 96, 96, 0, 96, 96, 96, 96,
- 96, 96, 96, 85, 0, 0, 85, 0, 0, 0,
- 84, 0, 0, 0, 97, 97, 97, 97, 0, 0,
- 85, 85, 0, 97, 0, 85, 0, 0, 0, 97,
- 97, 97, 97, 0, 0, 0, 0, 0, 0, 97,
- 97, 0, 97, 97, 97, 97, 97, 97, 97, 86,
- 0, 0, 86, 0, 0, 85, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 86, 86, 0, 0,
- 0, 86, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 148, 0, 0, 148, 0, 0,
- 0, 86, 0, 0, 0, 0, 95, 95, 95, 95,
- 0, 148, 148, 0, 0, 95, 148, 0, 0, 0,
- 0, 95, 95, 95, 95, 0, 0, 0, 0, 0,
- 0, 95, 95, 0, 95, 95, 95, 95, 95, 95,
- 95, 147, 0, 0, 147, 0, 148, 0, 0, 0,
- 0, 0, 0, 83, 83, 83, 83, 0, 147, 147,
- 0, 0, 83, 147, 0, 0, 0, 0, 83, 83,
- 83, 83, 0, 0, 0, 0, 0, 134, 83, 83,
- 134, 83, 83, 83, 83, 83, 83, 83, 0, 84,
- 84, 84, 84, 147, 134, 134, 0, 0, 84, 134,
- 0, 0, 0, 0, 84, 84, 84, 84, 0, 0,
- 0, 0, 0, 0, 84, 84, 0, 84, 84, 84,
- 84, 84, 84, 105, 0, 0, 105, 0, 0, 134,
- 0, 0, 0, 0, 85, 85, 85, 85, 0, 0,
- 105, 105, 0, 85, 0, 105, 0, 0, 0, 85,
- 85, 0, 85, 0, 0, 0, 0, 0, 0, 85,
- 85, 0, 85, 85, 85, 85, 85, 85, 90, 0,
- 0, 90, 0, 0, 0, 105, 0, 0, 0, 0,
- 86, 86, 86, 86, 0, 90, 90, 0, 0, 86,
- 90, 0, 167, 0, 0, 86, 86, 0, 0, 0,
- 92, 0, 0, 92, 0, 86, 86, 0, 86, 86,
- 86, 86, 86, 86, 0, 0, 0, 92, 92, 0,
- 90, 0, 92, 0, 149, 148, 148, 148, 148, 0,
- 0, 0, 0, 0, 148, 0, 0, 0, 0, 0,
- 148, 148, 91, 0, 0, 91, 0, 0, 0, 0,
- 148, 148, 92, 148, 148, 148, 148, 148, 0, 91,
- 91, 0, 143, 0, 91, 143, 0, 0, 0, 0,
- 0, 0, 147, 147, 147, 147, 0, 0, 0, 143,
- 143, 147, 0, 0, 0, 284, 0, 147, 147, 82,
- 156, 0, 82, 0, 91, 0, 0, 147, 147, 0,
- 147, 147, 147, 147, 147, 0, 82, 82, 134, 134,
- 134, 134, 0, 0, 143, 0, 0, 134, 167, 0,
- 0, 0, 0, 134, 134, 69, 0, 0, 69, 0,
- 0, 0, 0, 134, 134, 0, 134, 134, 134, 134,
- 134, 82, 69, 69, 0, 0, 0, 0, 0, 0,
- 149, 0, 0, 0, 105, 105, 105, 105, 0, 0,
- 0, 0, 0, 105, 0, 0, 0, 0, 0, 105,
- 105, 0, 0, 0, 0, 0, 0, 69, 0, 105,
- 105, 156, 105, 105, 105, 105, 105, 0, 151, 152,
- 153, 154, 0, 0, 0, 0, 0, 0, 0, 90,
- 90, 90, 90, 0, 159, 160, 161, 162, 90, 167,
- 163, 0, 0, 164, 165, 166, 0, 0, 0, 0,
- 0, 0, 0, 0, 90, 90, 0, 90, 90, 90,
- 90, 92, 92, 92, 92, 0, 0, 0, 0, 0,
- 92, 149, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 92, 92, 0, 92,
- 92, 92, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 91, 91, 91, 91, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 143, 143, 143, 143, 0, 91, 91,
- 0, 91, 0, 0, 0, 0, 0, 0, 150, 0,
- 0, 0, 0, 0, 151, 152, 153, 154, 143, 143,
- 82, 82, 82, 82, 0, 0, 0, 155, 157, 158,
- 159, 160, 161, 162, 0, 0, 163, 0, 0, 164,
- 165, 166, 0, 0, 0, 82, 82, 0, 0, 0,
- 0, 0, 0, 0, 94, 0, 69, 69, 69, 69,
- 0, 0, 104, 0, 0, 0, 109, 0, 0, 118,
- 0, 0, 0, 0, 0, 0, 125, 126, 127, 128,
- 129, 69, 69, 132, 133, 0, 0, 0, 0, 0,
- 140, 0, 0, 0, 0, 0, 0, 0, 0, 150,
- 0, 0, 0, 0, 0, 151, 152, 153, 154, 0,
- 0, 0, 0, 0, 0, 0, 0, 183, 0, 157,
- 158, 159, 160, 161, 162, 0, 0, 163, 0, 0,
- 164, 165, 166, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 217, 218, 219, 220, 221, 222,
- 223, 224, 225, 226, 227, 228, 229, 230, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 245,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 299, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 315,
-};
-short yycheck[] = { 13,
- 36, 86, 41, 36, 40, 44, 182, 59, 59, 41,
- 93, 40, 59, 91, 91, 59, 257, 41, 257, 58,
- 59, 41, 191, 41, 63, 59, 44, 91, 91, 59,
- 329, 40, 46, 41, 93, 40, 93, 41, 257, 41,
- 58, 59, 41, 57, 122, 63, 123, 61, 97, 98,
- 99, 100, 101, 102, 93, 59, 41, 59, 41, 123,
- 123, 360, 91, 44, 297, 298, 41, 41, 276, 277,
- 40, 40, 278, 91, 40, 93, 326, 327, 0, 123,
- 59, 331, 59, 36, 59, 59, 59, 40, 59, 123,
- 123, 41, 106, 107, 123, 40, 40, 347, 123, 41,
- 40, 351, 271, 59, 41, 123, 40, 123, 44, 59,
- 260, 33, 257, 289, 36, 37, 38, 59, 40, 40,
- 42, 43, 59, 45, 40, 93, 41, 40, 125, 143,
- 144, 145, 146, 147, 148, 149, 305, 59, 91, 91,
- 257, 36, 64, 192, 41, 266, 267, 268, 41, 270,
- 271, 44, 91, 167, 168, 169, 170, 171, 172, 173,
- 125, 41, 93, 298, 44, 58, 59, 40, 182, 91,
- 123, 249, 186, 187, 41, 189, 254, 191, 58, 59,
- 41, 350, 41, 63, 198, 0, 200, 201, 41, 41,
- 41, 205, 40, 93, 41, 93, 59, 125, 59, 125,
- 93, 123, 125, 125, 126, 125, 257, 41, 125, 59,
- 41, 91, 123, 93, 297, 298, 41, 231, 33, 233,
- 234, 36, 37, 38, 257, 40, 59, 42, 43, 262,
- 45, 40, 93, 272, 273, 274, 275, 314, 297, 298,
- 297, 298, 281, 123, 59, 297, 298, 41, 41, 64,
- 297, 298, 337, 123, 272, 273, 274, 275, 297, 298,
- 296, 300, 301, 281, 0, 297, 298, 123, 282, 287,
- 288, 289, 290, 297, 298, 289, 91, 297, 298, 297,
- 298, 59, 300, 301, 302, 303, 304, 305, 306, 297,
- 298, 309, 41, 307, 312, 313, 314, 33, 297, 298,
- 36, 37, 38, 41, 40, 258, 42, 43, 123, 45,
- 125, 126, 297, 298, 297, 298, 297, 298, 297, 298,
- 297, 298, 41, 59, 297, 298, 297, 298, 64, 297,
- 298, 59, 346, 41, 256, 257, 258, 259, 260, 261,
- 41, 263, 264, 265, 266, 267, 268, 269, 270, 271,
- 272, 273, 274, 275, 59, 91, 8, 279, 280, 32,
- 282, 283, 284, 285, 286, 125, 297, 298, 63, 291,
- 292, 293, 294, 295, 296, 13, 144, 299, 307, 272,
- 273, 274, 275, 346, 189, 96, 308, 123, 310, 311,
- 126, -1, 272, 273, 274, 275, 91, 297, 298, 297,
- 298, 281, -1, -1, 297, 298, 91, 287, 288, 289,
- 290, 272, 273, 274, 275, -1, -1, 297, 298, -1,
- 300, 301, 302, 303, 304, 305, 306, -1, 123, 309,
- 91, -1, 312, 313, 314, -1, 297, 298, 123, -1,
- -1, 256, 257, 258, 259, 260, 261, -1, 263, 264,
- 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
- 275, -1, 123, -1, 279, 280, -1, 282, 283, 284,
- 285, 286, 272, 273, 274, 275, 291, 292, 293, 294,
- 295, 296, 41, -1, 299, 44, 91, -1, -1, -1,
- -1, -1, -1, 308, -1, 310, 311, 297, 298, 58,
- 59, -1, -1, -1, 63, -1, 266, 267, 268, -1,
- 270, 271, -1, -1, -1, -1, -1, -1, 123, -1,
- 256, 257, 258, 259, 260, 261, 125, 263, 264, 265,
- -1, -1, 91, 269, 93, -1, 272, 273, 274, 275,
- -1, -1, -1, 279, 280, -1, 282, 283, 284, 285,
- 286, -1, -1, -1, -1, 291, 292, 293, 294, 295,
- 296, -1, -1, 299, 123, -1, -1, -1, -1, -1,
- 91, -1, 308, 33, 310, 311, 36, 37, 38, -1,
- 40, 41, 42, 43, 44, 45, 281, -1, -1, -1,
- -1, -1, 287, 288, 289, 290, -1, -1, 58, 59,
- -1, -1, 123, 63, 64, 300, 301, 302, 303, 304,
- 305, 306, -1, -1, 309, -1, -1, 312, 313, 314,
- -1, 306, -1, -1, 309, -1, -1, 312, 313, 314,
- -1, 91, -1, 93, 33, -1, -1, 36, 37, 38,
- -1, 40, 41, 42, 43, 44, 45, -1, 309, -1,
- -1, 312, 313, 314, -1, -1, -1, -1, -1, 58,
- 59, -1, -1, 123, 63, 64, 126, 266, 267, 268,
- -1, 270, 271, -1, -1, -1, -1, -1, -1, 302,
- 303, 304, -1, 306, 289, 290, -1, -1, -1, -1,
- -1, 13, -1, 33, 93, -1, 36, 37, 38, -1,
- 40, 306, 42, 43, 309, 45, -1, 312, 313, 314,
- 333, -1, -1, 272, 273, 274, 275, 340, -1, 59,
- 42, 344, 281, 45, 64, -1, -1, 126, 287, 288,
- 289, 290, -1, -1, 357, 358, -1, -1, 297, 298,
- -1, 300, 301, 302, 303, 304, 305, 306, -1, -1,
- 309, 91, -1, 312, 313, 314, -1, -1, 41, 81,
- -1, 44, -1, -1, -1, -1, 287, 288, 289, 290,
- -1, -1, -1, 95, -1, -1, 59, -1, -1, 91,
- -1, -1, -1, 123, 305, 306, 126, -1, 309, -1,
- -1, 312, 313, 314, -1, -1, -1, 257, 258, 259,
- 260, 261, -1, 263, 264, 265, -1, -1, -1, 269,
- 93, 123, 272, 273, 274, 275, -1, -1, -1, 141,
- 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, -1, 308, 309,
- 310, 311, 312, 313, 314, -1, 178, -1, 257, 258,
- 259, 260, 261, 185, 263, 264, 265, -1, -1, -1,
- 269, -1, -1, 272, 273, 274, 275, -1, -1, -1,
- -1, 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, -1, 308,
- 309, 310, 311, 312, 313, 314, 256, 257, 258, 259,
- 260, 261, -1, 263, 264, 265, -1, -1, -1, 269,
- -1, 91, 272, 273, 274, 275, -1, -1, -1, 279,
- 280, -1, 282, 283, 284, 285, 286, -1, -1, 91,
- 43, 291, 292, 293, 294, 295, 296, 33, 51, 299,
- 36, 37, 38, 123, 40, -1, 42, 43, 308, 45,
- 310, 311, -1, -1, -1, 287, -1, 289, 290, -1,
- -1, 123, -1, 59, -1, -1, -1, -1, 64, 272,
- 273, 274, 275, 305, 306, -1, -1, 309, 91, -1,
- 312, 313, 314, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 33, 297, 91, 36, 37, 38, -1,
- 40, 114, 42, 43, 26, 45, -1, -1, -1, 122,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 43, 44, -1, 64, -1, -1, 123, 50, -1,
- 126, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 62, 63, 64, 65, -1, -1, -1, -1, -1, 33,
- -1, 91, 36, 37, 38, -1, 40, -1, 42, 43,
- -1, 45, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 64, -1, -1, 123, -1, 107, 126, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 91, -1, 289,
- 290, -1, 33, -1, -1, 36, 37, 38, -1, 40,
- -1, 42, 43, -1, 45, 305, 306, 289, -1, 309,
- -1, -1, 312, 313, 314, -1, 249, -1, -1, 123,
- -1, 254, 126, 64, 306, -1, -1, 309, -1, -1,
- 312, 313, 314, -1, -1, -1, -1, -1, -1, -1,
- 256, 257, 258, 259, 260, 261, -1, 263, 264, 265,
- 91, -1, -1, 269, -1, -1, 272, 273, 274, 275,
- -1, -1, -1, 279, 280, -1, 282, 283, 284, 285,
- 286, -1, -1, -1, -1, 291, 292, 293, 294, 295,
- 296, 91, 123, 299, -1, 126, -1, -1, -1, -1,
- -1, -1, 308, 41, 310, 311, 44, 257, 258, 259,
- 260, 261, 262, 263, 264, 265, -1, -1, -1, 269,
- -1, -1, -1, 123, -1, 63, -1, -1, -1, -1,
- 280, -1, 282, 283, 284, 285, 286, -1, -1, -1,
- -1, 291, 292, 293, 294, 295, 296, -1, -1, 299,
- -1, -1, -1, 91, -1, -1, -1, 41, 308, -1,
- 310, 311, -1, 257, 258, 259, 260, 261, -1, 263,
- 264, 265, -1, -1, -1, 269, -1, -1, -1, 63,
- -1, -1, -1, -1, -1, 123, 280, -1, 282, 283,
- 284, 285, 286, -1, -1, -1, -1, 291, 292, 293,
- 294, 295, 296, -1, -1, 299, -1, 91, -1, -1,
- -1, -1, -1, -1, 308, -1, 310, 311, -1, -1,
- -1, -1, -1, -1, -1, -1, 257, 258, 259, 260,
- 261, -1, 263, 264, 265, -1, -1, -1, 269, 123,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 280,
- -1, 282, 283, 284, 285, 286, -1, -1, -1, 91,
- 291, 292, 293, 294, 295, 296, 33, -1, 299, 36,
- 37, 38, -1, 40, -1, 42, 43, 308, 45, 310,
- 311, -1, -1, -1, -1, -1, -1, 287, 288, 289,
- 290, 123, 59, -1, -1, -1, -1, 64, -1, -1,
- -1, 301, 302, 303, 304, 305, 306, -1, -1, 309,
- -1, -1, 312, 313, 314, -1, -1, -1, -1, -1,
- -1, -1, 33, -1, 91, 36, 37, 38, -1, 40,
- 41, 42, 43, -1, 45, -1, -1, -1, -1, -1,
- -1, -1, -1, 281, -1, -1, -1, -1, -1, 287,
- 288, 289, 290, 64, -1, -1, -1, -1, -1, 126,
- -1, -1, 300, 301, 302, 303, 304, 305, 306, -1,
- -1, 309, -1, -1, 312, 313, 314, -1, 33, -1,
- 91, 36, 37, 38, -1, 40, -1, 42, 43, -1,
- 45, -1, -1, -1, -1, -1, -1, 281, -1, -1,
- -1, -1, -1, 287, 288, 289, 290, -1, -1, 64,
- -1, -1, -1, -1, -1, 126, 300, 301, 302, 303,
- 304, 305, 306, -1, -1, 309, -1, -1, 312, 313,
- 314, -1, -1, -1, -1, -1, 91, 33, 93, -1,
- 36, 37, 38, -1, 40, 41, 42, 43, -1, 45,
- -1, -1, -1, -1, -1, 287, 288, 289, 290, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 64, -1,
- -1, 126, 304, 305, 306, -1, -1, 309, -1, -1,
- 312, 313, 314, -1, -1, -1, 41, -1, -1, 44,
- 257, 258, 259, 260, 261, 91, 263, 264, 265, -1,
- -1, -1, 269, 58, 59, -1, -1, -1, 63, -1,
- -1, -1, -1, 280, -1, 282, 283, 284, 285, 286,
- -1, -1, -1, -1, 291, 292, 293, 294, 295, 296,
- 126, -1, 299, -1, -1, -1, -1, -1, 93, -1,
- -1, 308, 41, 310, 311, 44, 257, 258, 259, 260,
- 261, -1, 263, 264, 265, -1, -1, -1, 269, 58,
- 59, -1, -1, -1, 63, -1, -1, -1, -1, 280,
- -1, 282, 283, 284, 285, 286, -1, -1, -1, -1,
- 291, 292, 293, 294, 295, 296, -1, -1, 299, -1,
- -1, -1, -1, -1, 93, -1, -1, 308, -1, 310,
- 311, -1, 257, 258, 259, 260, 261, -1, 263, 264,
- 265, -1, 33, -1, 269, 36, 37, 38, -1, 40,
- 41, 42, 43, -1, 45, 280, -1, 282, 283, 284,
- 285, 286, -1, -1, -1, -1, 291, 292, 293, 294,
- 295, 296, -1, 64, 299, -1, -1, -1, -1, -1,
- -1, -1, -1, 308, -1, 310, 311, -1, -1, -1,
- -1, 257, 258, 259, 260, 261, -1, 263, 264, 265,
- 91, 33, -1, 269, 36, 37, 38, -1, 40, -1,
- 42, 43, -1, 45, 280, -1, 282, 283, 284, 285,
- 286, -1, -1, -1, -1, 291, 292, 293, 294, 295,
- 296, -1, 64, 299, -1, 126, -1, -1, -1, -1,
- -1, -1, 308, -1, 310, 311, -1, 272, 273, 274,
- 275, -1, -1, -1, -1, -1, 281, 33, -1, 91,
- 36, 37, 38, 288, 40, 41, 42, 43, -1, 45,
- -1, -1, 297, 298, -1, 300, 301, 302, 303, 304,
- -1, -1, -1, -1, -1, -1, -1, -1, 64, -1,
- -1, -1, -1, -1, 126, -1, -1, -1, -1, -1,
- -1, -1, -1, 272, 273, 274, 275, -1, -1, -1,
- -1, -1, 281, 33, -1, 91, 36, 37, 38, -1,
- 40, 41, 42, 43, -1, 45, -1, -1, 297, 298,
- -1, 300, 301, 302, 303, 304, -1, -1, -1, -1,
- -1, -1, -1, -1, 64, -1, -1, -1, -1, -1,
- 126, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 257, 258, 259, 260,
- 261, 91, 263, 264, 265, -1, 33, -1, 269, 36,
- 37, 38, -1, 40, 41, 42, 43, -1, 45, 280,
- -1, 282, 283, 284, 285, 286, -1, -1, -1, -1,
- 291, 292, 293, 294, 295, 296, 126, 64, 299, -1,
- -1, -1, -1, -1, -1, -1, -1, 308, -1, 310,
- 311, -1, -1, -1, 256, 257, 258, 259, 260, 261,
- -1, 263, 264, 265, 91, -1, -1, 269, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 280, -1,
- 282, 283, 284, 285, 286, -1, -1, -1, -1, 291,
- 292, 293, 294, 295, 296, -1, -1, 299, -1, 126,
- 91, -1, -1, -1, 41, -1, 308, 44, 310, 311,
- -1, 257, 258, 259, 260, 261, -1, 263, 264, 265,
- -1, 58, 59, 269, -1, -1, 63, -1, -1, -1,
- -1, -1, 123, -1, 280, -1, 282, 283, 284, 285,
- 286, -1, -1, -1, -1, 291, 292, 293, 294, 295,
- 296, -1, -1, 299, 91, -1, 93, -1, -1, -1,
- -1, -1, 308, -1, 310, 311, -1, 257, 258, 259,
- 260, 261, -1, 263, 264, 265, -1, 33, -1, 269,
- 36, 37, 38, -1, 40, -1, 42, 43, -1, 45,
- 280, -1, 282, 283, 284, 285, 286, -1, -1, -1,
- -1, 291, 292, 293, 294, 295, 296, -1, 64, 299,
- -1, -1, -1, -1, -1, -1, -1, -1, 308, -1,
- 310, 311, -1, -1, -1, -1, 41, -1, -1, 44,
- 257, 258, 259, 260, 261, 91, 263, 264, 265, -1,
- -1, -1, 269, 58, 59, -1, -1, -1, 63, -1,
- -1, -1, -1, 280, -1, 282, 283, 284, 285, 286,
- -1, -1, -1, -1, 291, 292, 293, 294, 295, 296,
- 126, -1, 299, 41, -1, -1, 44, -1, 93, -1,
- -1, 308, -1, 310, 311, -1, -1, -1, -1, -1,
- 58, 59, -1, -1, -1, 63, 287, 288, 289, 290,
- -1, -1, -1, -1, -1, -1, -1, -1, 123, -1,
- -1, 302, 303, 304, 305, 306, -1, -1, 309, -1,
- -1, 312, 313, 314, -1, 93, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 272, 273, 274, 275, -1,
- 41, -1, -1, -1, 281, -1, -1, -1, -1, -1,
- 287, 288, 289, 290, -1, 123, -1, 58, 59, -1,
- 297, 298, 63, 300, 301, 302, 303, 304, 305, 306,
- -1, -1, 309, -1, -1, 312, 313, 314, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 91, -1, 93, -1, 41, -1, -1, -1, -1, -1,
- -1, 257, 258, 259, 260, 261, -1, 263, 264, 265,
- -1, 58, 59, 269, -1, -1, 63, -1, -1, -1,
- -1, -1, 123, -1, 280, -1, 282, 283, 284, 285,
- 286, -1, -1, -1, -1, 291, 292, 293, 294, 295,
- 296, -1, -1, 299, 91, -1, 93, -1, -1, -1,
- 41, -1, 308, 44, 310, 311, -1, 272, 273, 274,
- 275, -1, -1, -1, -1, -1, 281, 58, 59, -1,
- -1, -1, 287, 288, 289, 290, 123, -1, -1, -1,
- -1, -1, 297, 298, -1, 300, 301, 302, 303, 304,
- 305, 306, -1, -1, 309, -1, -1, 312, 313, 314,
- -1, -1, 93, -1, 272, 273, 274, 275, -1, 41,
- -1, -1, 44, 281, -1, -1, -1, -1, -1, 287,
- 288, 289, 290, -1, -1, -1, 58, 59, -1, 297,
- 298, 63, 300, 301, 302, 303, 304, 305, 306, 25,
- 26, 309, -1, -1, 312, 313, 314, -1, -1, -1,
- -1, 37, -1, -1, -1, -1, -1, 43, 44, 45,
- -1, 93, -1, -1, 50, -1, -1, -1, -1, -1,
- -1, 272, 273, 274, 275, -1, 62, 63, 64, 65,
- 281, -1, -1, -1, -1, -1, 287, 288, 289, 290,
- -1, 123, 41, -1, -1, 44, 297, 298, -1, 300,
- 301, 302, 303, 304, 305, 306, -1, -1, 309, 58,
- 59, 312, 313, 314, 63, -1, -1, -1, -1, -1,
- -1, 107, -1, -1, -1, 272, 273, 274, 275, -1,
- -1, -1, -1, -1, 281, -1, -1, -1, -1, -1,
- 287, 288, 289, 290, 93, -1, 41, -1, -1, -1,
- 297, 298, -1, 300, 301, 302, 303, 304, 305, 306,
- -1, -1, 309, 58, 59, 312, 313, 314, 63, -1,
- -1, -1, -1, -1, 123, -1, -1, -1, -1, -1,
- 166, 272, 273, 274, 275, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 41, -1, 91, 44, 93, -1,
- -1, -1, -1, -1, 190, -1, 297, 298, -1, 300,
- -1, 58, 59, -1, -1, -1, 63, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 123, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 272, 273, 274, 275, -1, 41, 93, -1, 44, 281,
- -1, -1, -1, -1, -1, 287, 288, 289, 290, -1,
- -1, -1, 58, 59, -1, 297, 298, 63, 300, 301,
- 302, 303, 304, 305, 306, -1, 123, 309, -1, -1,
- 312, 313, 314, -1, -1, -1, -1, -1, -1, -1,
- 41, -1, -1, 44, -1, -1, -1, 93, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 58, 59, -1,
- -1, -1, 63, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 272, 273, 274, 275, -1, -1, -1,
- -1, -1, 281, -1, -1, -1, -1, -1, 287, 288,
- 289, 290, 93, -1, 41, -1, -1, 44, 297, 298,
- -1, 300, 301, 302, 303, 304, 305, 306, -1, -1,
- 309, 58, 59, 312, 313, 314, 63, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 272, 273, 274,
- 275, -1, -1, -1, -1, -1, 281, -1, -1, -1,
- -1, -1, 287, 288, 289, 290, 93, -1, -1, -1,
- -1, -1, 297, 298, -1, 300, 301, 302, 303, 304,
- 305, 306, -1, -1, 309, -1, -1, 312, 313, 314,
- -1, -1, -1, -1, -1, 272, 273, 274, 275, -1,
- 41, -1, -1, 44, 281, -1, -1, -1, -1, -1,
- 287, 288, 289, 290, -1, -1, -1, 58, 59, -1,
- 297, 298, 63, 300, 301, 302, 303, 304, 305, 306,
- -1, -1, 309, -1, -1, 312, 313, 314, -1, -1,
- -1, -1, -1, -1, -1, -1, 272, 273, 274, 275,
- -1, 41, 93, -1, 44, 281, -1, -1, -1, -1,
- -1, 287, 288, 289, 290, -1, -1, -1, 58, 59,
- -1, 297, 298, 63, 300, 301, 302, 303, 304, 305,
- 306, -1, -1, 309, -1, -1, 312, 313, 314, -1,
- -1, 272, 273, 274, 275, -1, -1, -1, -1, -1,
- 281, -1, -1, 93, -1, -1, 287, 288, 289, 290,
- -1, -1, 41, -1, -1, 44, 297, 298, -1, 300,
- 301, 302, 303, 304, 305, 306, -1, -1, 309, 58,
- 59, 312, 313, 314, 63, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 272, 273, 274, 275, -1,
- 41, -1, -1, 44, 281, -1, -1, -1, -1, -1,
- 287, 288, 289, 290, 93, -1, -1, 58, 59, -1,
- 297, 298, 63, 300, 301, 302, 303, 304, 305, 306,
- -1, -1, 309, -1, -1, 312, 313, 314, -1, 41,
- -1, -1, 44, -1, -1, -1, -1, -1, -1, -1,
- 41, -1, 93, 44, -1, -1, 58, 59, -1, -1,
- -1, 63, -1, -1, -1, -1, -1, 58, 59, -1,
- -1, -1, 63, -1, -1, -1, -1, -1, -1, -1,
- -1, 272, 273, 274, 275, -1, 41, -1, -1, 44,
- 281, 93, -1, -1, -1, -1, 287, 288, 289, 290,
- -1, -1, 93, 58, 59, -1, 297, 298, 63, 300,
- 301, 302, 303, 304, 305, 306, -1, -1, 309, -1,
- -1, 312, 313, 314, -1, -1, -1, -1, -1, -1,
- -1, -1, 272, 273, 274, 275, -1, 41, 93, -1,
- 44, 281, -1, -1, -1, -1, -1, 287, 288, 289,
- 290, -1, -1, -1, 58, 59, -1, 297, 298, 63,
- 300, 301, 302, 303, 304, 305, 306, -1, -1, 309,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 41, -1, -1, 44, -1, -1, 93,
- -1, -1, -1, 272, 273, 274, 275, -1, -1, -1,
- 58, 59, 281, -1, -1, 63, -1, -1, 287, 288,
- 289, 290, -1, -1, -1, -1, -1, -1, 297, 298,
- -1, 300, 301, 302, 303, 304, 305, 306, -1, -1,
- 309, 272, 273, 274, 275, 93, -1, -1, -1, -1,
- 281, -1, -1, -1, -1, -1, 287, 288, 289, 290,
- -1, -1, -1, -1, -1, -1, 297, 298, -1, 300,
- 301, 302, 303, 304, 305, 306, -1, -1, -1, -1,
- 272, 273, 274, 275, -1, 41, -1, -1, 44, 281,
- -1, 272, 273, 274, 275, 287, 288, 289, 290, -1,
- 281, -1, 58, 59, -1, 297, 298, 63, 300, 301,
- 302, 303, 304, 305, 306, -1, 297, 298, -1, 300,
- 301, 302, 303, 304, -1, -1, -1, 272, 273, 274,
- 275, -1, 41, -1, -1, 44, 281, 93, -1, -1,
- -1, -1, 287, 288, 289, 290, -1, -1, -1, 58,
- 59, -1, 297, 298, 63, 300, 301, 302, 303, 304,
- 305, 306, -1, -1, -1, -1, -1, -1, 41, -1,
- -1, 44, -1, -1, -1, -1, -1, -1, 272, 273,
- 274, 275, -1, -1, 93, 58, 59, 281, -1, -1,
- 63, -1, -1, 287, 288, 289, 290, -1, -1, -1,
- -1, -1, -1, 297, 298, -1, 300, 301, 302, 303,
- 304, 305, 306, 41, -1, -1, 44, -1, -1, -1,
- 93, -1, -1, -1, 272, 273, 274, 275, -1, -1,
- 58, 59, -1, 281, -1, 63, -1, -1, -1, 287,
- 288, 289, 290, -1, -1, -1, -1, -1, -1, 297,
- 298, -1, 300, 301, 302, 303, 304, 305, 306, 41,
- -1, -1, 44, -1, -1, 93, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 58, 59, -1, -1,
- -1, 63, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 41, -1, -1, 44, -1, -1,
- -1, 93, -1, -1, -1, -1, 272, 273, 274, 275,
- -1, 58, 59, -1, -1, 281, 63, -1, -1, -1,
- -1, 287, 288, 289, 290, -1, -1, -1, -1, -1,
- -1, 297, 298, -1, 300, 301, 302, 303, 304, 305,
- 306, 41, -1, -1, 44, -1, 93, -1, -1, -1,
- -1, -1, -1, 272, 273, 274, 275, -1, 58, 59,
- -1, -1, 281, 63, -1, -1, -1, -1, 287, 288,
- 289, 290, -1, -1, -1, -1, -1, 41, 297, 298,
- 44, 300, 301, 302, 303, 304, 305, 306, -1, 272,
- 273, 274, 275, 93, 58, 59, -1, -1, 281, 63,
- -1, -1, -1, -1, 287, 288, 289, 290, -1, -1,
- -1, -1, -1, -1, 297, 298, -1, 300, 301, 302,
- 303, 304, 305, 41, -1, -1, 44, -1, -1, 93,
- -1, -1, -1, -1, 272, 273, 274, 275, -1, -1,
- 58, 59, -1, 281, -1, 63, -1, -1, -1, 287,
- 288, -1, 290, -1, -1, -1, -1, -1, -1, 297,
- 298, -1, 300, 301, 302, 303, 304, 305, 41, -1,
- -1, 44, -1, -1, -1, 93, -1, -1, -1, -1,
- 272, 273, 274, 275, -1, 58, 59, -1, -1, 281,
- 63, -1, 91, -1, -1, 287, 288, -1, -1, -1,
- 41, -1, -1, 44, -1, 297, 298, -1, 300, 301,
- 302, 303, 304, 305, -1, -1, -1, 58, 59, -1,
- 93, -1, 63, -1, 123, 272, 273, 274, 275, -1,
- -1, -1, -1, -1, 281, -1, -1, -1, -1, -1,
- 287, 288, 41, -1, -1, 44, -1, -1, -1, -1,
- 297, 298, 93, 300, 301, 302, 303, 304, -1, 58,
- 59, -1, 41, -1, 63, 44, -1, -1, -1, -1,
- -1, -1, 272, 273, 274, 275, -1, -1, -1, 58,
- 59, 281, -1, -1, -1, 58, -1, 287, 288, 41,
- 63, -1, 44, -1, 93, -1, -1, 297, 298, -1,
- 300, 301, 302, 303, 304, -1, 58, 59, 272, 273,
- 274, 275, -1, -1, 93, -1, -1, 281, 91, -1,
- -1, -1, -1, 287, 288, 41, -1, -1, 44, -1,
- -1, -1, -1, 297, 298, -1, 300, 301, 302, 303,
- 304, 93, 58, 59, -1, -1, -1, -1, -1, -1,
- 123, -1, -1, -1, 272, 273, 274, 275, -1, -1,
- -1, -1, -1, 281, -1, -1, -1, -1, -1, 287,
- 288, -1, -1, -1, -1, -1, -1, 93, -1, 297,
- 298, 63, 300, 301, 302, 303, 304, -1, 287, 288,
- 289, 290, -1, -1, -1, -1, -1, -1, -1, 272,
- 273, 274, 275, -1, 303, 304, 305, 306, 281, 91,
- 309, -1, -1, 312, 313, 314, -1, -1, -1, -1,
- -1, -1, -1, -1, 297, 298, -1, 300, 301, 302,
- 303, 272, 273, 274, 275, -1, -1, -1, -1, -1,
- 281, 123, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 297, 298, -1, 300,
- 301, 302, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 272, 273, 274, 275, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 272, 273, 274, 275, -1, 297, 298,
- -1, 300, -1, -1, -1, -1, -1, -1, 281, -1,
- -1, -1, -1, -1, 287, 288, 289, 290, 297, 298,
- 272, 273, 274, 275, -1, -1, -1, 300, 301, 302,
- 303, 304, 305, 306, -1, -1, 309, -1, -1, 312,
- 313, 314, -1, -1, -1, 297, 298, -1, -1, -1,
- -1, -1, -1, -1, 30, -1, 272, 273, 274, 275,
- -1, -1, 38, -1, -1, -1, 42, -1, -1, 45,
- -1, -1, -1, -1, -1, -1, 52, 53, 54, 55,
- 56, 297, 298, 59, 60, -1, -1, -1, -1, -1,
- 66, -1, -1, -1, -1, -1, -1, -1, -1, 281,
- -1, -1, -1, -1, -1, 287, 288, 289, 290, -1,
- -1, -1, -1, -1, -1, -1, -1, 93, -1, 301,
- 302, 303, 304, 305, 306, -1, -1, 309, -1, -1,
- 312, 313, 314, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 150, 151, 152, 153, 154, 155,
- 156, 157, 158, 159, 160, 161, 162, 163, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 175,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 253, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 284,
-};
-#define YYFINAL 1
-#ifndef YYDEBUG
-#define YYDEBUG 0
-#endif
-#define YYMAXTOKEN 314
-#if YYDEBUG
-char *yyname[] = {
-"end-of-file",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-"'!'",0,0,"'$'","'%'","'&'",0,"'('","')'","'*'","'+'","','","'-'",0,0,0,0,0,0,0,
-0,0,0,0,0,"':'","';'",0,0,0,"'?'","'@'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,"'['",0,"']'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,"'{'",0,"'}'","'~'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"WORD","METHOD","FUNCMETH","THING",
-"PMFUNC","PRIVATEREF","FUNC0SUB","UNIOPSUB","LSTOPSUB","LABEL","FORMAT","SUB",
-"ANONSUB","PACKAGE","USE","WHILE","UNTIL","IF","UNLESS","ELSE","ELSIF",
-"CONTINUE","FOR","LOOPEX","DOTDOT","FUNC0","FUNC1","FUNC","UNIOP","LSTOP",
-"RELOP","EQOP","MULOP","ADDOP","DOLSHARP","DO","HASHBRACK","NOAMP","LOCAL","MY",
-"OROP","ANDOP","NOTOP","ASSIGNOP","OROR","ANDAND","BITOROP","BITANDOP",
-"SHIFTOP","MATCHOP","UMINUS","REFGEN","POWOP","PREINC","PREDEC","POSTINC",
-"POSTDEC","ARROW",
-};
-char *yyrule[] = {
-"$accept : prog",
-"$$1 :",
-"prog : $$1 lineseq",
-"block : '{' remember lineseq '}'",
-"remember :",
-"mblock : '{' mremember lineseq '}'",
-"mremember :",
-"lineseq :",
-"lineseq : lineseq decl",
-"lineseq : lineseq line",
-"line : label cond",
-"line : loop",
-"line : label ';'",
-"line : label sideff ';'",
-"sideff : error",
-"sideff : expr",
-"sideff : expr IF expr",
-"sideff : expr UNLESS expr",
-"sideff : expr WHILE expr",
-"sideff : expr UNTIL iexpr",
-"else :",
-"else : ELSE mblock",
-"else : ELSIF '(' mexpr ')' mblock else",
-"cond : IF '(' remember mexpr ')' mblock else",
-"cond : UNLESS '(' remember miexpr ')' mblock else",
-"cont :",
-"cont : CONTINUE block",
-"loop : label WHILE '(' remember mtexpr ')' mblock cont",
-"loop : label UNTIL '(' remember miexpr ')' mblock cont",
-"loop : label FOR MY remember my_scalar '(' mexpr ')' mblock cont",
-"loop : label FOR scalar '(' remember mexpr ')' mblock cont",
-"loop : label FOR '(' remember mexpr ')' mblock cont",
-"loop : label FOR '(' remember mnexpr ';' mtexpr ';' mnexpr ')' mblock",
-"loop : label block cont",
-"nexpr :",
-"nexpr : sideff",
-"texpr :",
-"texpr : expr",
-"iexpr : expr",
-"mexpr : expr",
-"mnexpr : nexpr",
-"mtexpr : texpr",
-"miexpr : iexpr",
-"label :",
-"label : LABEL",
-"decl : format",
-"decl : subrout",
-"decl : package",
-"decl : use",
-"format : FORMAT startformsub formname block",
-"formname : WORD",
-"formname :",
-"subrout : SUB startsub subname proto subbody",
-"startsub :",
-"startanonsub :",
-"startformsub :",
-"subname : WORD",
-"proto :",
-"proto : THING",
-"subbody : block",
-"subbody : ';'",
-"package : PACKAGE WORD ';'",
-"package : PACKAGE ';'",
-"$$2 :",
-"use : USE startsub $$2 WORD WORD listexpr ';'",
-"expr : expr ANDOP expr",
-"expr : expr OROP expr",
-"expr : argexpr",
-"argexpr : argexpr ','",
-"argexpr : argexpr ',' term",
-"argexpr : term",
-"listop : LSTOP indirob argexpr",
-"listop : FUNC '(' indirob expr ')'",
-"listop : term ARROW method '(' listexprcom ')'",
-"listop : METHOD indirob listexpr",
-"listop : FUNCMETH indirob '(' listexprcom ')'",
-"listop : LSTOP listexpr",
-"listop : FUNC '(' listexprcom ')'",
-"$$3 :",
-"listop : LSTOPSUB startanonsub block $$3 listexpr",
-"method : METHOD",
-"method : scalar",
-"term : term ASSIGNOP term",
-"term : term POWOP term",
-"term : term MULOP term",
-"term : term ADDOP term",
-"term : term SHIFTOP term",
-"term : term RELOP term",
-"term : term EQOP term",
-"term : term BITANDOP term",
-"term : term BITOROP term",
-"term : term DOTDOT term",
-"term : term ANDAND term",
-"term : term OROR term",
-"term : term '?' term ':' term",
-"term : term MATCHOP term",
-"term : '-' term",
-"term : '+' term",
-"term : '!' term",
-"term : '~' term",
-"term : REFGEN term",
-"term : term POSTINC",
-"term : term POSTDEC",
-"term : PREINC term",
-"term : PREDEC term",
-"term : local term",
-"term : '(' expr ')'",
-"term : '(' ')'",
-"term : '[' expr ']'",
-"term : '[' ']'",
-"term : HASHBRACK expr ';' '}'",
-"term : HASHBRACK ';' '}'",
-"term : ANONSUB startanonsub proto block",
-"term : scalar",
-"term : star '{' expr ';' '}'",
-"term : star",
-"term : scalar '[' expr ']'",
-"term : term ARROW '[' expr ']'",
-"term : term '[' expr ']'",
-"term : hsh",
-"term : ary",
-"term : arylen",
-"term : scalar '{' expr ';' '}'",
-"term : term ARROW '{' expr ';' '}'",
-"term : term '{' expr ';' '}'",
-"term : '(' expr ')' '[' expr ']'",
-"term : '(' ')' '[' expr ']'",
-"term : ary '[' expr ']'",
-"term : ary '{' expr ';' '}'",
-"term : THING",
-"term : amper",
-"term : amper '(' ')'",
-"term : amper '(' expr ')'",
-"term : NOAMP WORD listexpr",
-"term : DO term",
-"term : DO block",
-"term : DO WORD '(' ')'",
-"term : DO WORD '(' expr ')'",
-"term : DO scalar '(' ')'",
-"term : DO scalar '(' expr ')'",
-"term : term ARROW '(' ')'",
-"term : term ARROW '(' expr ')'",
-"term : LOOPEX",
-"term : LOOPEX term",
-"term : NOTOP argexpr",
-"term : UNIOP",
-"term : UNIOP block",
-"term : UNIOP term",
-"term : UNIOPSUB term",
-"term : FUNC0",
-"term : FUNC0 '(' ')'",
-"term : FUNC0SUB",
-"term : FUNC1 '(' ')'",
-"term : FUNC1 '(' expr ')'",
-"term : PMFUNC '(' term ')'",
-"term : PMFUNC '(' term ',' term ')'",
-"term : WORD",
-"term : listop",
-"listexpr :",
-"listexpr : argexpr",
-"listexprcom :",
-"listexprcom : expr",
-"listexprcom : expr ','",
-"local : LOCAL",
-"local : MY",
-"my_scalar : scalar",
-"amper : '&' indirob",
-"scalar : '$' indirob",
-"ary : '@' indirob",
-"hsh : '%' indirob",
-"arylen : DOLSHARP indirob",
-"star : '*' indirob",
-"indirob : WORD",
-"indirob : scalar",
-"indirob : block",
-"indirob : PRIVATEREF",
-};
-#endif
-#define yyclearin (yychar=(-1))
-#define yyerrok (yyerrflag=0)
-#ifdef YYSTACKSIZE
-#ifndef YYMAXDEPTH
-#define YYMAXDEPTH YYSTACKSIZE
-#endif
-#else
-#ifdef YYMAXDEPTH
-#define YYSTACKSIZE YYMAXDEPTH
-#else
-#define YYSTACKSIZE 500
-#define YYMAXDEPTH 500
-#endif
+
+/* yy_stack_print()
+ * print the top 8 items on the parse stack.
+ */
+
+static void
+yy_stack_print (pTHX_ const yy_parser *parser)
+{
+ const yy_stack_frame *ps, *min;
+
+ min = parser->ps - 8 + 1;
+ if (min <= &parser->stack[0])
+ min = &parser->stack[0] + 1;
+
+ PerlIO_printf(Perl_debug_log, "\nindex:");
+ for (ps = min; ps <= parser->ps; ps++)
+ PerlIO_printf(Perl_debug_log, " %8d", ps - &parser->stack[0]);
+
+ PerlIO_printf(Perl_debug_log, "\nstate:");
+ for (ps = min; ps <= parser->ps; ps++)
+ PerlIO_printf(Perl_debug_log, " %8d", ps->state);
+
+ PerlIO_printf(Perl_debug_log, "\ntoken:");
+ for (ps = min; ps <= parser->ps; ps++)
+ PerlIO_printf(Perl_debug_log, " %8.8s", ps->name);
+
+ PerlIO_printf(Perl_debug_log, "\nvalue:");
+ for (ps = min; ps <= parser->ps; ps++) {
+ switch (yy_type_tab[yystos[ps->state]]) {
+ case toketype_opval:
+ PerlIO_printf(Perl_debug_log, " %8.8s",
+ ps->val.opval
+ ? PL_op_name[ps->val.opval->op_type]
+ : "(Nullop)"
+ );
+ break;
+#ifndef PERL_IN_MADLY_C
+ case toketype_p_tkval:
+ PerlIO_printf(Perl_debug_log, " %8.8s",
+ ps->val.pval ? ps->val.pval : "(NULL)");
+ break;
+
+ case toketype_i_tkval:
#endif
-int yydebug;
-int yynerrs;
-int yyerrflag;
-int yychar;
-YYSTYPE yyval;
-YYSTYPE yylval;
-#line 633 "perly.y"
- /* PROGRAM */
-#line 1360 "perly.c"
-#define YYABORT goto yyabort
-#define YYACCEPT goto yyaccept
-#define YYERROR goto yyerrlab
-
-struct ysv {
- short* yyss;
- YYSTYPE* yyvs;
- int oldyydebug;
- int oldyynerrs;
- int oldyyerrflag;
- int oldyychar;
- YYSTYPE oldyyval;
- YYSTYPE oldyylval;
-};
-
-void
-yydestruct(void *ptr)
+ case toketype_ival:
+ PerlIO_printf(Perl_debug_log, " %8"IVdf, (IV)ps->val.ival);
+ break;
+ default:
+ PerlIO_printf(Perl_debug_log, " %8"UVxf, (UV)ps->val.ival);
+ }
+ }
+ PerlIO_printf(Perl_debug_log, "\n\n");
+}
+
+# define YY_STACK_PRINT(parser) \
+do { \
+ if (yydebug && DEBUG_v_TEST) \
+ yy_stack_print (aTHX_ parser); \
+} while (0)
+
+
+/*------------------------------------------------.
+| Report that the YYRULE is going to be reduced. |
+`------------------------------------------------*/
+
+static void
+yy_reduce_print (pTHX_ int yyrule)
{
- struct ysv* ysave = (struct ysv*)ptr;
- if (ysave->yyss) Safefree(ysave->yyss);
- if (ysave->yyvs) Safefree(ysave->yyvs);
- yydebug = ysave->oldyydebug;
- yynerrs = ysave->oldyynerrs;
- yyerrflag = ysave->oldyyerrflag;
- yychar = ysave->oldyychar;
- yyval = ysave->oldyyval;
- yylval = ysave->oldyylval;
- Safefree(ysave);
+ int yyi;
+ const unsigned int yylineno = yyrline[yyrule];
+ YYFPRINTF (Perl_debug_log, "Reducing stack by rule %d (line %u), ",
+ yyrule - 1, yylineno);
+ /* Print the symbols being reduced, and their result. */
+ for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)
+ YYFPRINTF (Perl_debug_log, "%s ", yytname [yyrhs[yyi]]);
+ YYFPRINTF (Perl_debug_log, "-> %s\n", yytname [yyr1[yyrule]]);
}
-int
-yyparse(void)
+# define YY_REDUCE_PRINT(Rule) \
+do { \
+ if (yydebug) \
+ yy_reduce_print (aTHX_ Rule); \
+} while (0)
+
+#else /* !DEBUGGING */
+# define YYDPRINTF(Args)
+# define YYDSYMPRINTF(Title, Token, Value)
+# define YY_STACK_PRINT(parser)
+# define YY_REDUCE_PRINT(Rule)
+#endif /* !DEBUGGING */
+
+
+/* YYINITDEPTH -- initial size of the parser's stacks. */
+#define YYINITDEPTH 200
+
+/* called during cleanup (via SAVEDESTRUCTOR_X) to free any items on the
+ * parse stack, thus avoiding leaks if we die */
+
+static void
+S_clear_yystack(pTHX_ const void *p)
{
- register int yym, yyn, yystate;
- register short *yyssp;
- register YYSTYPE *yyvsp;
- short* yyss;
- YYSTYPE* yyvs;
- unsigned yystacksize = YYSTACKSIZE;
- int retval = 0;
-#if YYDEBUG
- register char *yys;
-#ifndef __cplusplus
- extern char *getenv();
-#endif
-#endif
+ yy_parser *parser = (yy_parser*) SvPVX((SV*)p);
+ yy_stack_frame *ps = parser->ps;
+ int i;
- struct ysv *ysave = (struct ysv*)safemalloc(sizeof(struct ysv));
- SAVEDESTRUCTOR(yydestruct, ysave);
- ysave->oldyydebug = yydebug;
- ysave->oldyynerrs = yynerrs;
- ysave->oldyyerrflag = yyerrflag;
- ysave->oldyychar = yychar;
- ysave->oldyyval = yyval;
- ysave->oldyylval = yylval;
-
-#if YYDEBUG
- if (yys = getenv("YYDEBUG"))
- {
- yyn = *yys;
- if (yyn >= '0' && yyn <= '9')
- yydebug = yyn - '0';
+ if (ps == &parser->stack[0])
+ return;
+
+ YYDPRINTF ((Perl_debug_log, "clearing the parse stack\n"));
+
+ /* Freeing ops on the stack, and the op_latefree/op_latefreed flags:
+ *
+ * When we pop tokens off the stack during error recovery, or when
+ * we pop all the tokens off the stack after a die during a shift or
+ * reduce (ie Perl_croak somewhere in yylex(), or in one of the
+ * newFOO() functions, then its possible that some of these tokens are
+ * of type opval, pointing to an OP. All these ops are orphans; each is
+ * its own miniature subtree that has not yet been attached to a
+ * larger tree. In this case, we shoould clearly free the op (making
+ * sure, for each op we free thyat we have PL_comppad pointing to the
+ * right place for freeing any SVs attached to the op in threaded
+ * builds.
+ *
+ * However, there is a particular problem if we die in newFOO called
+ * by a reducing action; e.g.
+ *
+ * foo : bar baz boz
+ * { $$ = newFOO($1,$2,$3) }
+ *
+ * where
+ * OP *newFOO { .... croak .... }
+ *
+ * In this case, when we come to clean bar baz and boz off the stack,
+ * we don't know whether newFOO() has already:
+ * * freed them
+ * * left them as it
+ * * attached them to part of a larger tree
+ *
+ * To get round this problem, we set the flag op_latefree on every op
+ * that gets pushed onto the parser stack. If op_free() sees this
+ * flag, it clears the op and frees any children,, but *doesn't* free
+ * the op itself; instead it sets the op_latefreed flag. This means
+ * that we can safely call op_free() multiple times on each stack op.
+ * So, when clearing the stack, we first, for each op that was being
+ * reduced, call op_free with op_latefree=1. This ensures that all ops
+ * hanging off these op are freed, but the reducing ops themselces are
+ * just undefed. Then we set op_latefreed=0 on *all* ops on the stack
+ * and free them. A little though should convince you that this
+ * two-part approach to the reducing ops should handle all three cases
+ * above safely.
+ */
+
+ /* free any reducing ops (1st pass) */
+
+ for (i=0; i< parser->yylen; i++) {
+ if (yy_type_tab[yystos[ps[-i].state]] == toketype_opval
+ && ps[-i].val.opval) {
+ if (ps[-i].comppad != PL_comppad) {
+ PAD_RESTORE_LOCAL(ps[-i].comppad);
+ }
+ op_free(ps[-i].val.opval);
+ }
+ }
+
+ /* now free whole the stack, including the just-reduced ops */
+
+ while (ps > &parser->stack[0]) {
+ if (yy_type_tab[yystos[ps->state]] == toketype_opval
+ && ps->val.opval)
+ {
+ if (ps->comppad != PL_comppad) {
+ PAD_RESTORE_LOCAL(ps->comppad);
+ }
+ YYDPRINTF ((Perl_debug_log, "(freeing op)\n"));
+ ps->val.opval->op_latefree = 0;
+ op_free(ps->val.opval);
+ }
+ ps--;
}
+}
+
+
+
+/*----------.
+| yyparse. |
+`----------*/
+
+int
+#ifdef PERL_IN_MADLY_C
+Perl_madparse (pTHX)
+#else
+Perl_yyparse (pTHX)
#endif
+{
+ dVAR;
+ register int yystate;
+ register int yyn;
+ int yyresult;
- yynerrs = 0;
- yyerrflag = 0;
- yychar = (-1);
-
- /*
- ** Initialize private stacks (yyparse may be called from an action)
- */
- ysave->yyss = yyss = (short*)safemalloc(yystacksize*sizeof(short));
- ysave->yyvs = yyvs = (YYSTYPE*)safemalloc(yystacksize*sizeof(YYSTYPE));
- if (!yyvs || !yyss)
- goto yyoverflow;
-
- yyssp = yyss;
- yyvsp = yyvs;
- *yyssp = yystate = 0;
-
-yyloop:
- if (yyn = yydefred[yystate]) goto yyreduce;
- if (yychar < 0)
- {
- if ((yychar = yylex()) < 0) yychar = 0;
-#if YYDEBUG
- if (yydebug)
- {
- yys = 0;
- if (yychar <= YYMAXTOKEN) yys = yyname[yychar];
- if (!yys) yys = "illegal-symbol";
- PerlIO_printf(Perl_debug_log, "yydebug: state %d, reading %d (%s)\n", yystate,
- yychar, yys);
- }
+ /* Lookahead token as an internal (translated) token number. */
+ int yytoken;
+
+ SV *parser_sv; /* SV whose PVX holds the parser object */
+ register yy_parser *parser; /* the parser object */
+ register yy_stack_frame *ps; /* current parser stack frame */
+
+#define YYPOPSTACK parser->ps = --ps
+#define YYPUSHSTACK parser->ps = ++ps
+
+ /* The variables used to return semantic value and location from the
+ action routines: ie $$. */
+ YYSTYPE yyval;
+
+#ifndef PERL_IN_MADLY_C
+# ifdef PERL_MAD
+ if (PL_madskills)
+ return madparse();
+# endif
#endif
+
+ YYDPRINTF ((Perl_debug_log, "Starting parse\n"));
+
+ ENTER; /* force stack free before we return */
+ SAVEVPTR(PL_parser);
+
+ parser_sv = newSV(sizeof(yy_parser)
+ + (YYINITDEPTH-1) * sizeof(yy_stack_frame));
+ SAVEFREESV(parser_sv);
+ PL_parser = parser = (yy_parser*) SvPVX(parser_sv);
+ ps = (yy_stack_frame*) &parser->stack[0];
+ parser->ps = ps;
+
+ parser->stack_size = YYINITDEPTH;
+
+ /* cleanup the parse stack on premature exit */
+ SAVEDESTRUCTOR_X(S_clear_yystack, (void*) parser_sv);
+
+
+ ps->state = 0;
+ parser->yyerrstatus = 0;
+ parser->yychar = YYEMPTY; /* Cause a token to be read. */
+
+/*------------------------------------------------------------.
+| yynewstate -- Push a new state, which is found in yystate. |
+`------------------------------------------------------------*/
+ yynewstate:
+
+ yystate = ps->state;
+
+ YYDPRINTF ((Perl_debug_log, "Entering state %d\n", yystate));
+
+ if (yy_type_tab[yystos[yystate]] == toketype_opval && ps->val.opval) {
+ ps->val.opval->op_latefree = 1;
+ ps->val.opval->op_latefreed = 0;
}
- if ((yyn = yysindex[yystate]) && (yyn += yychar) >= 0 &&
- yyn <= YYTABLESIZE && yycheck[yyn] == yychar)
+
+ parser->yylen = 0;
+
{
-#if YYDEBUG
- if (yydebug)
- PerlIO_printf(Perl_debug_log, "yydebug: state %d, shifting to state %d\n",
- yystate, yytable[yyn]);
+ size_t size = ps - &parser->stack[0] + 1;
+
+ /* grow the stack? We always leave 1 spare slot,
+ * in case of a '' -> 'foo' reduction */
+
+ if (size >= parser->stack_size - 1) {
+ /* this will croak on insufficient memory */
+ parser->stack_size *= 2;
+ PL_parser = parser =
+ (yy_parser*) SvGROW(parser_sv, sizeof(yy_parser)
+ + (parser->stack_size-1) * sizeof(yy_stack_frame));
+
+ /* readdress any pointers into realloced parser object */
+ ps = parser->ps = &parser->stack[0] + size -1;
+
+ YYDPRINTF((Perl_debug_log,
+ "parser stack size increased to %lu frames\n",
+ (unsigned long int)parser->stack_size));
+ }
+ }
+
+/* Do appropriate processing given the current state. */
+/* Read a lookahead token if we need one and don't already have one. */
+
+ /* First try to decide what to do without reference to lookahead token. */
+
+ yyn = yypact[yystate];
+ if (yyn == YYPACT_NINF)
+ goto yydefault;
+
+ /* Not known => get a lookahead token if don't already have one. */
+
+ /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
+ if (parser->yychar == YYEMPTY) {
+ YYDPRINTF ((Perl_debug_log, "Reading a token: "));
+#ifdef PERL_IN_MADLY_C
+ parser->yychar = PL_madskills ? madlex() : yylex();
+#else
+ parser->yychar = yylex();
#endif
- if (yyssp >= yyss + yystacksize - 1)
- {
- /*
- ** reallocate and recover. Note that pointers
- ** have to be reset, or bad things will happen
- */
- int yyps_index = (yyssp - yyss);
- int yypv_index = (yyvsp - yyvs);
- yystacksize += YYSTACKSIZE;
- ysave->yyvs = yyvs =
- (YYSTYPE*)realloc((char*)yyvs,yystacksize * sizeof(YYSTYPE));
- ysave->yyss = yyss =
- (short*)realloc((char*)yyss,yystacksize * sizeof(short));
- if (!yyvs || !yyss)
- goto yyoverflow;
- yyssp = yyss + yyps_index;
- yyvsp = yyvs + yypv_index;
- }
- *++yyssp = yystate = yytable[yyn];
- *++yyvsp = yylval;
- yychar = (-1);
- if (yyerrflag > 0) --yyerrflag;
- goto yyloop;
+
+# ifdef EBCDIC
+ if (parser->yychar >= 0 && parser->yychar < 255) {
+ parser->yychar = NATIVE_TO_ASCII(parser->yychar);
+ }
+# endif
}
- if ((yyn = yyrindex[yystate]) && (yyn += yychar) >= 0 &&
- yyn <= YYTABLESIZE && yycheck[yyn] == yychar)
- {
- yyn = yytable[yyn];
- goto yyreduce;
+
+ if (parser->yychar <= YYEOF) {
+ parser->yychar = yytoken = YYEOF;
+ YYDPRINTF ((Perl_debug_log, "Now at end of input.\n"));
}
- if (yyerrflag) goto yyinrecovery;
-#ifdef lint
- goto yynewerror;
-#endif
-yynewerror:
- yyerror("syntax error");
-#ifdef lint
- goto yyerrlab;
-#endif
-yyerrlab:
- ++yynerrs;
-yyinrecovery:
- if (yyerrflag < 3)
- {
- yyerrflag = 3;
- for (;;)
- {
- if ((yyn = yysindex[*yyssp]) && (yyn += YYERRCODE) >= 0 &&
- yyn <= YYTABLESIZE && yycheck[yyn] == YYERRCODE)
- {
-#if YYDEBUG
- if (yydebug)
- PerlIO_printf(Perl_debug_log,
- "yydebug: state %d, error recovery shifting to state %d\n",
- *yyssp, yytable[yyn]);
+ else {
+ yytoken = YYTRANSLATE (parser->yychar);
+ YYDSYMPRINTF ("Next token is", yytoken, &parser->yylval);
+ }
+
+ /* 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;
+
+ /* Shift the lookahead token. */
+ YYDPRINTF ((Perl_debug_log, "Shifting token %s, ", yytname[yytoken]));
+
+ /* Discard the token being shifted unless it is eof. */
+ if (parser->yychar != YYEOF)
+ parser->yychar = YYEMPTY;
+
+ YYPUSHSTACK;
+ ps->state = yyn;
+ ps->val = parser->yylval;
+ ps->comppad = PL_comppad;
+#ifdef DEBUGGING
+ ps->name = (const char *)(yytname[yytoken]);
#endif
- if (yyssp >= yyss + yystacksize - 1)
- {
- /*
- ** reallocate and recover. Note that pointers
- ** have to be reset, or bad things will happen
- */
- int yyps_index = (yyssp - yyss);
- int yypv_index = (yyvsp - yyvs);
- yystacksize += YYSTACKSIZE;
- ysave->yyvs = yyvs = (YYSTYPE*)realloc((char*)yyvs,
- yystacksize * sizeof(YYSTYPE));
- ysave->yyss = yyss = (short*)realloc((char*)yyss,
- yystacksize * sizeof(short));
- if (!yyvs || !yyss)
- goto yyoverflow;
- yyssp = yyss + yyps_index;
- yyvsp = yyvs + yypv_index;
- }
- *++yyssp = yystate = yytable[yyn];
- *++yyvsp = yylval;
- goto yyloop;
- }
- else
- {
-#if YYDEBUG
- if (yydebug)
- PerlIO_printf(Perl_debug_log,
- "yydebug: error recovery discarding state %d\n",
- *yyssp);
+
+ /* Count tokens shifted since error; after three, turn off error
+ status. */
+ if (parser->yyerrstatus)
+ parser->yyerrstatus--;
+
+ 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. */
+ parser->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 = ps[1-parser->yylen].val;
+
+ YY_STACK_PRINT(parser);
+ YY_REDUCE_PRINT (yyn);
+
+ switch (yyn) {
+
+
+#define dep() deprecate("\"do\" to call subroutines")
+
+#ifdef PERL_IN_MADLY_C
+# define IVAL(i) (i)->tk_lval.ival
+# define PVAL(p) (p)->tk_lval.pval
+# define TOKEN_GETMAD(a,b,c) token_getmad((a),(b),(c))
+# define TOKEN_FREE(a) token_free(a)
+# define OP_GETMAD(a,b,c) op_getmad((a),(b),(c))
+# define IF_MAD(a,b) (a)
+# define DO_MAD(a) a
+# define MAD
+#else
+# define IVAL(i) (i)
+# define PVAL(p) (p)
+# define TOKEN_GETMAD(a,b,c)
+# define TOKEN_FREE(a)
+# define OP_GETMAD(a,b,c)
+# define IF_MAD(a,b) (b)
+# define DO_MAD(a)
+# undef MAD
#endif
- if (yyssp <= yyss) goto yyabort;
- --yyssp;
- --yyvsp;
- }
- }
+
+/* contains all the rule actions; auto-generated from perly.y */
+#include "perly.act"
+
}
- else
+
+ /* any just-reduced ops with the op_latefreed flag cleared need to be
+ * freed; the rest need the flag resetting */
{
- if (yychar == 0) goto yyabort;
-#if YYDEBUG
- if (yydebug)
- {
- yys = 0;
- if (yychar <= YYMAXTOKEN) yys = yyname[yychar];
- if (!yys) yys = "illegal-symbol";
- PerlIO_printf(Perl_debug_log,
- "yydebug: state %d, error recovery discards token %d (%s)\n",
- yystate, yychar, yys);
- }
-#endif
- yychar = (-1);
- goto yyloop;
+ int i;
+ for (i=0; i< parser->yylen; i++) {
+ if (yy_type_tab[yystos[ps[-i].state]] == toketype_opval
+ && ps[-i].val.opval)
+ {
+ ps[-i].val.opval->op_latefree = 0;
+ if (ps[-i].val.opval->op_latefreed)
+ op_free(ps[-i].val.opval);
+ }
+ }
}
-yyreduce:
-#if YYDEBUG
- if (yydebug)
- PerlIO_printf(Perl_debug_log, "yydebug: state %d, reducing by rule %d (%s)\n",
- yystate, yyn, yyrule[yyn]);
-#endif
- yym = yylen[yyn];
- yyval = yyvsp[1-yym];
- switch (yyn)
- {
-case 1:
-#line 86 "perly.y"
-{
-#if defined(YYDEBUG) && defined(DEBUGGING)
- yydebug = (debug & 1);
+
+ parser->ps = ps -= (parser->yylen-1);
+
+ /* 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. */
+
+ ps->val = yyval;
+ ps->comppad = PL_comppad;
+#ifdef DEBUGGING
+ ps->name = (const char *)(yytname [yyr1[yyn]]);
#endif
- expect = XSTATE;
+
+ yyn = yyr1[yyn];
+
+ yystate = yypgoto[yyn - YYNTOKENS] + ps[-1].state;
+ if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == ps[-1].state)
+ yystate = yytable[yystate];
+ else
+ yystate = yydefgoto[yyn - YYNTOKENS];
+ ps->state = yystate;
+
+ goto yynewstate;
+
+
+ /*------------------------------------.
+ | yyerrlab -- here on detecting error |
+ `------------------------------------*/
+ yyerrlab:
+ /* If not already recovering from an error, report this error. */
+ if (!parser->yyerrstatus) {
+ yyerror ("syntax error");
+ }
+
+
+ if (parser->yyerrstatus == 3) {
+ /* If just tried and failed to reuse lookahead token after an
+ error, discard it. */
+
+ /* Return failure if at end of input. */
+ if (parser->yychar == YYEOF) {
+ /* Pop the error token. */
+ YYPOPSTACK;
+ /* Pop the rest of the stack. */
+ while (ps > &parser->stack[0]) {
+ YYDSYMPRINTF ("Error: popping", yystos[ps->state], &ps->val);
+ if (yy_type_tab[yystos[ps->state]] == toketype_opval
+ && ps->val.opval)
+ {
+ YYDPRINTF ((Perl_debug_log, "(freeing op)\n"));
+ if (ps->comppad != PL_comppad) {
+ PAD_RESTORE_LOCAL(ps->comppad);
+ }
+ ps->val.opval->op_latefree = 0;
+ op_free(ps->val.opval);
}
-break;
-case 2:
-#line 93 "perly.y"
-{ newPROG(yyvsp[0].opval); }
-break;
-case 3:
-#line 97 "perly.y"
-{ if (copline > (line_t)yyvsp[-3].ival)
- copline = yyvsp[-3].ival;
- yyval.opval = block_end(yyvsp[-2].ival, yyvsp[-1].opval); }
-break;
-case 4:
-#line 103 "perly.y"
-{ yyval.ival = block_start(TRUE); }
-break;
-case 5:
-#line 107 "perly.y"
-{ if (copline > (line_t)yyvsp[-3].ival)
- copline = yyvsp[-3].ival;
- yyval.opval = block_end(yyvsp[-2].ival, yyvsp[-1].opval); }
-break;
-case 6:
-#line 113 "perly.y"
-{ yyval.ival = block_start(FALSE); }
-break;
-case 7:
-#line 117 "perly.y"
-{ yyval.opval = Nullop; }
-break;
-case 8:
-#line 119 "perly.y"
-{ yyval.opval = yyvsp[-1].opval; }
-break;
-case 9:
-#line 121 "perly.y"
-{ yyval.opval = append_list(OP_LINESEQ,
- (LISTOP*)yyvsp[-1].opval, (LISTOP*)yyvsp[0].opval);
- pad_reset_pending = TRUE;
- if (yyvsp[-1].opval && yyvsp[0].opval) hints |= HINT_BLOCK_SCOPE; }
-break;
-case 10:
-#line 128 "perly.y"
-{ yyval.opval = newSTATEOP(0, yyvsp[-1].pval, yyvsp[0].opval); }
-break;
-case 12:
-#line 131 "perly.y"
-{ if (yyvsp[-1].pval != Nullch) {
- yyval.opval = newSTATEOP(0, yyvsp[-1].pval, newOP(OP_NULL, 0));
- }
- else {
- yyval.opval = Nullop;
- copline = NOLINE;
- }
- expect = XSTATE; }
-break;
-case 13:
-#line 140 "perly.y"
-{ yyval.opval = newSTATEOP(0, yyvsp[-2].pval, yyvsp[-1].opval);
- expect = XSTATE; }
-break;
-case 14:
-#line 145 "perly.y"
-{ yyval.opval = Nullop; }
-break;
-case 15:
-#line 147 "perly.y"
-{ yyval.opval = yyvsp[0].opval; }
-break;
-case 16:
-#line 149 "perly.y"
-{ yyval.opval = newLOGOP(OP_AND, 0, yyvsp[0].opval, yyvsp[-2].opval); }
-break;
-case 17:
-#line 151 "perly.y"
-{ yyval.opval = newLOGOP(OP_OR, 0, yyvsp[0].opval, yyvsp[-2].opval); }
-break;
-case 18:
-#line 153 "perly.y"
-{ yyval.opval = newLOOPOP(OPf_PARENS, 1, scalar(yyvsp[0].opval), yyvsp[-2].opval); }
-break;
-case 19:
-#line 155 "perly.y"
-{ yyval.opval = newLOOPOP(OPf_PARENS, 1, yyvsp[0].opval, yyvsp[-2].opval);}
-break;
-case 20:
-#line 159 "perly.y"
-{ yyval.opval = Nullop; }
-break;
-case 21:
-#line 161 "perly.y"
-{ yyval.opval = scope(yyvsp[0].opval); }
-break;
-case 22:
-#line 163 "perly.y"
-{ copline = yyvsp[-5].ival;
- yyval.opval = newSTATEOP(0, Nullch,
- newCONDOP(0, yyvsp[-3].opval, scope(yyvsp[-1].opval), yyvsp[0].opval));
- hints |= HINT_BLOCK_SCOPE; }
-break;
-case 23:
-#line 170 "perly.y"
-{ copline = yyvsp[-6].ival;
- yyval.opval = block_end(yyvsp[-4].ival,
- newCONDOP(0, yyvsp[-3].opval, scope(yyvsp[-1].opval), yyvsp[0].opval)); }
-break;
-case 24:
-#line 174 "perly.y"
-{ copline = yyvsp[-6].ival;
- yyval.opval = block_end(yyvsp[-4].ival,
- newCONDOP(0, yyvsp[-3].opval, scope(yyvsp[-1].opval), yyvsp[0].opval)); }
-break;
-case 25:
-#line 180 "perly.y"
-{ yyval.opval = Nullop; }
-break;
-case 26:
-#line 182 "perly.y"
-{ yyval.opval = scope(yyvsp[0].opval); }
-break;
-case 27:
-#line 186 "perly.y"
-{ copline = yyvsp[-6].ival;
- yyval.opval = block_end(yyvsp[-4].ival,
- newSTATEOP(0, yyvsp[-7].pval,
- newWHILEOP(0, 1, (LOOP*)Nullop,
- yyvsp[-6].ival, yyvsp[-3].opval, yyvsp[-1].opval, yyvsp[0].opval))); }
-break;
-case 28:
-#line 192 "perly.y"
-{ copline = yyvsp[-6].ival;
- yyval.opval = block_end(yyvsp[-4].ival,
- newSTATEOP(0, yyvsp[-7].pval,
- newWHILEOP(0, 1, (LOOP*)Nullop,
- yyvsp[-6].ival, yyvsp[-3].opval, yyvsp[-1].opval, yyvsp[0].opval))); }
-break;
-case 29:
-#line 198 "perly.y"
-{ yyval.opval = block_end(yyvsp[-6].ival,
- newFOROP(0, yyvsp[-9].pval, yyvsp[-8].ival, yyvsp[-5].opval, yyvsp[-3].opval, yyvsp[-1].opval, yyvsp[0].opval)); }
-break;
-case 30:
-#line 201 "perly.y"
-{ yyval.opval = block_end(yyvsp[-4].ival,
- newFOROP(0, yyvsp[-8].pval, yyvsp[-7].ival, mod(yyvsp[-6].opval, OP_ENTERLOOP),
- yyvsp[-3].opval, yyvsp[-1].opval, yyvsp[0].opval)); }
-break;
-case 31:
-#line 205 "perly.y"
-{ yyval.opval = block_end(yyvsp[-4].ival,
- newFOROP(0, yyvsp[-7].pval, yyvsp[-6].ival, Nullop, yyvsp[-3].opval, yyvsp[-1].opval, yyvsp[0].opval)); }
-break;
-case 32:
-#line 209 "perly.y"
-{ OP *forop = append_elem(OP_LINESEQ,
- scalar(yyvsp[-6].opval),
- newWHILEOP(0, 1, (LOOP*)Nullop,
- yyvsp[-9].ival, scalar(yyvsp[-4].opval),
- yyvsp[0].opval, scalar(yyvsp[-2].opval)));
- copline = yyvsp[-9].ival;
- yyval.opval = block_end(yyvsp[-7].ival, newSTATEOP(0, yyvsp[-10].pval, forop)); }
-break;
-case 33:
-#line 217 "perly.y"
-{ yyval.opval = newSTATEOP(0, yyvsp[-2].pval,
- newWHILEOP(0, 1, (LOOP*)Nullop,
- NOLINE, Nullop, yyvsp[-1].opval, yyvsp[0].opval)); }
-break;
-case 34:
-#line 223 "perly.y"
-{ yyval.opval = Nullop; }
-break;
-case 36:
-#line 228 "perly.y"
-{ (void)scan_num("1"); yyval.opval = yylval.opval; }
-break;
-case 38:
-#line 233 "perly.y"
-{ yyval.opval = invert(scalar(yyvsp[0].opval)); }
-break;
-case 39:
-#line 237 "perly.y"
-{ yyval.opval = yyvsp[0].opval; intro_my(); }
-break;
-case 40:
-#line 241 "perly.y"
-{ yyval.opval = yyvsp[0].opval; intro_my(); }
-break;
-case 41:
-#line 245 "perly.y"
-{ yyval.opval = yyvsp[0].opval; intro_my(); }
-break;
-case 42:
-#line 249 "perly.y"
-{ yyval.opval = yyvsp[0].opval; intro_my(); }
-break;
-case 43:
-#line 253 "perly.y"
-{ yyval.pval = Nullch; }
-break;
-case 45:
-#line 258 "perly.y"
-{ yyval.ival = 0; }
-break;
-case 46:
-#line 260 "perly.y"
-{ yyval.ival = 0; }
-break;
-case 47:
-#line 262 "perly.y"
-{ yyval.ival = 0; }
-break;
-case 48:
-#line 264 "perly.y"
-{ yyval.ival = 0; }
-break;
-case 49:
-#line 268 "perly.y"
-{ newFORM(yyvsp[-2].ival, yyvsp[-1].opval, yyvsp[0].opval); }
-break;
-case 50:
-#line 271 "perly.y"
-{ yyval.opval = yyvsp[0].opval; }
-break;
-case 51:
-#line 272 "perly.y"
-{ yyval.opval = Nullop; }
-break;
-case 52:
-#line 276 "perly.y"
-{ newSUB(yyvsp[-3].ival, yyvsp[-2].opval, yyvsp[-1].opval, yyvsp[0].opval); }
-break;
-case 53:
-#line 280 "perly.y"
-{ yyval.ival = start_subparse(FALSE, 0); }
-break;
-case 54:
-#line 284 "perly.y"
-{ yyval.ival = start_subparse(FALSE, CVf_ANON); }
-break;
-case 55:
-#line 288 "perly.y"
-{ yyval.ival = start_subparse(TRUE, 0); }
-break;
-case 56:
-#line 291 "perly.y"
-{ char *name = SvPV(((SVOP*)yyvsp[0].opval)->op_sv, na);
- if (strEQ(name, "BEGIN") || strEQ(name, "END")
- || strEQ(name, "INIT"))
- CvUNIQUE_on(compcv);
- yyval.opval = yyvsp[0].opval; }
-break;
-case 57:
-#line 299 "perly.y"
-{ yyval.opval = Nullop; }
-break;
-case 59:
-#line 303 "perly.y"
-{ yyval.opval = yyvsp[0].opval; }
-break;
-case 60:
-#line 304 "perly.y"
-{ yyval.opval = Nullop; expect = XSTATE; }
-break;
-case 61:
-#line 308 "perly.y"
-{ package(yyvsp[-1].opval); }
-break;
-case 62:
-#line 310 "perly.y"
-{ package(Nullop); }
-break;
-case 63:
-#line 314 "perly.y"
-{ CvUNIQUE_on(compcv); /* It's a BEGIN {} */ }
-break;
-case 64:
-#line 316 "perly.y"
-{ utilize(yyvsp[-6].ival, yyvsp[-5].ival, yyvsp[-3].opval, yyvsp[-2].opval, yyvsp[-1].opval); }
-break;
-case 65:
-#line 320 "perly.y"
-{ yyval.opval = newLOGOP(OP_AND, 0, yyvsp[-2].opval, yyvsp[0].opval); }
-break;
-case 66:
-#line 322 "perly.y"
-{ yyval.opval = newLOGOP(yyvsp[-1].ival, 0, yyvsp[-2].opval, yyvsp[0].opval); }
-break;
-case 68:
-#line 327 "perly.y"
-{ yyval.opval = yyvsp[-1].opval; }
-break;
-case 69:
-#line 329 "perly.y"
-{ yyval.opval = append_elem(OP_LIST, yyvsp[-2].opval, yyvsp[0].opval); }
-break;
-case 71:
-#line 334 "perly.y"
-{ yyval.opval = convert(yyvsp[-2].ival, OPf_STACKED,
- prepend_elem(OP_LIST, newGVREF(yyvsp[-2].ival,yyvsp[-1].opval), yyvsp[0].opval) ); }
-break;
-case 72:
-#line 337 "perly.y"
-{ yyval.opval = convert(yyvsp[-4].ival, OPf_STACKED,
- prepend_elem(OP_LIST, newGVREF(yyvsp[-4].ival,yyvsp[-2].opval), yyvsp[-1].opval) ); }
-break;
-case 73:
-#line 340 "perly.y"
-{ yyval.opval = convert(OP_ENTERSUB, OPf_STACKED,
- append_elem(OP_LIST,
- prepend_elem(OP_LIST, scalar(yyvsp[-5].opval), yyvsp[-1].opval),
- newUNOP(OP_METHOD, 0, yyvsp[-3].opval))); }
-break;
-case 74:
-#line 345 "perly.y"
-{ yyval.opval = convert(OP_ENTERSUB, OPf_STACKED,
- append_elem(OP_LIST,
- prepend_elem(OP_LIST, yyvsp[-1].opval, yyvsp[0].opval),
- newUNOP(OP_METHOD, 0, yyvsp[-2].opval))); }
-break;
-case 75:
-#line 350 "perly.y"
-{ yyval.opval = convert(OP_ENTERSUB, OPf_STACKED,
- append_elem(OP_LIST,
- prepend_elem(OP_LIST, yyvsp[-3].opval, yyvsp[-1].opval),
- newUNOP(OP_METHOD, 0, yyvsp[-4].opval))); }
-break;
-case 76:
-#line 355 "perly.y"
-{ yyval.opval = convert(yyvsp[-1].ival, 0, yyvsp[0].opval); }
-break;
-case 77:
-#line 357 "perly.y"
-{ yyval.opval = convert(yyvsp[-3].ival, 0, yyvsp[-1].opval); }
-break;
-case 78:
-#line 359 "perly.y"
-{ yyvsp[0].opval = newANONSUB(yyvsp[-1].ival, 0, yyvsp[0].opval); }
-break;
-case 79:
-#line 361 "perly.y"
-{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED,
- append_elem(OP_LIST,
- prepend_elem(OP_LIST, yyvsp[-2].opval, yyvsp[0].opval), yyvsp[-4].opval)); }
-break;
-case 82:
-#line 371 "perly.y"
-{ yyval.opval = newASSIGNOP(OPf_STACKED, yyvsp[-2].opval, yyvsp[-1].ival, yyvsp[0].opval); }
-break;
-case 83:
-#line 373 "perly.y"
-{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); }
-break;
-case 84:
-#line 375 "perly.y"
-{ if (yyvsp[-1].ival != OP_REPEAT)
- scalar(yyvsp[-2].opval);
- yyval.opval = newBINOP(yyvsp[-1].ival, 0, yyvsp[-2].opval, scalar(yyvsp[0].opval)); }
-break;
-case 85:
-#line 379 "perly.y"
-{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); }
-break;
-case 86:
-#line 381 "perly.y"
-{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); }
-break;
-case 87:
-#line 383 "perly.y"
-{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); }
-break;
-case 88:
-#line 385 "perly.y"
-{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); }
-break;
-case 89:
-#line 387 "perly.y"
-{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); }
-break;
-case 90:
-#line 389 "perly.y"
-{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); }
-break;
-case 91:
-#line 391 "perly.y"
-{ yyval.opval = newRANGE(yyvsp[-1].ival, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval));}
-break;
-case 92:
-#line 393 "perly.y"
-{ yyval.opval = newLOGOP(OP_AND, 0, yyvsp[-2].opval, yyvsp[0].opval); }
-break;
-case 93:
-#line 395 "perly.y"
-{ yyval.opval = newLOGOP(OP_OR, 0, yyvsp[-2].opval, yyvsp[0].opval); }
-break;
-case 94:
-#line 397 "perly.y"
-{ yyval.opval = newCONDOP(0, yyvsp[-4].opval, yyvsp[-2].opval, yyvsp[0].opval); }
-break;
-case 95:
-#line 399 "perly.y"
-{ yyval.opval = bind_match(yyvsp[-1].ival, yyvsp[-2].opval, yyvsp[0].opval); }
-break;
-case 96:
-#line 402 "perly.y"
-{ yyval.opval = newUNOP(OP_NEGATE, 0, scalar(yyvsp[0].opval)); }
-break;
-case 97:
-#line 404 "perly.y"
-{ yyval.opval = yyvsp[0].opval; }
-break;
-case 98:
-#line 406 "perly.y"
-{ yyval.opval = newUNOP(OP_NOT, 0, scalar(yyvsp[0].opval)); }
-break;
-case 99:
-#line 408 "perly.y"
-{ yyval.opval = newUNOP(OP_COMPLEMENT, 0, scalar(yyvsp[0].opval));}
-break;
-case 100:
-#line 410 "perly.y"
-{ yyval.opval = newUNOP(OP_REFGEN, 0, mod(yyvsp[0].opval,OP_REFGEN)); }
-break;
-case 101:
-#line 412 "perly.y"
-{ yyval.opval = newUNOP(OP_POSTINC, 0,
- mod(scalar(yyvsp[-1].opval), OP_POSTINC)); }
-break;
-case 102:
-#line 415 "perly.y"
-{ yyval.opval = newUNOP(OP_POSTDEC, 0,
- mod(scalar(yyvsp[-1].opval), OP_POSTDEC)); }
-break;
-case 103:
-#line 418 "perly.y"
-{ yyval.opval = newUNOP(OP_PREINC, 0,
- mod(scalar(yyvsp[0].opval), OP_PREINC)); }
-break;
-case 104:
-#line 421 "perly.y"
-{ yyval.opval = newUNOP(OP_PREDEC, 0,
- mod(scalar(yyvsp[0].opval), OP_PREDEC)); }
-break;
-case 105:
-#line 424 "perly.y"
-{ yyval.opval = localize(yyvsp[0].opval,yyvsp[-1].ival); }
-break;
-case 106:
-#line 426 "perly.y"
-{ yyval.opval = sawparens(yyvsp[-1].opval); }
-break;
-case 107:
-#line 428 "perly.y"
-{ yyval.opval = sawparens(newNULLLIST()); }
-break;
-case 108:
-#line 430 "perly.y"
-{ yyval.opval = newANONLIST(yyvsp[-1].opval); }
-break;
-case 109:
-#line 432 "perly.y"
-{ yyval.opval = newANONLIST(Nullop); }
-break;
-case 110:
-#line 434 "perly.y"
-{ yyval.opval = newANONHASH(yyvsp[-2].opval); }
-break;
-case 111:
-#line 436 "perly.y"
-{ yyval.opval = newANONHASH(Nullop); }
-break;
-case 112:
-#line 438 "perly.y"
-{ yyval.opval = newANONSUB(yyvsp[-2].ival, yyvsp[-1].opval, yyvsp[0].opval); }
-break;
-case 113:
-#line 440 "perly.y"
-{ yyval.opval = yyvsp[0].opval; }
-break;
-case 114:
-#line 442 "perly.y"
-{ yyval.opval = newBINOP(OP_GELEM, 0, newGVREF(0,yyvsp[-4].opval),
- scalar(yyvsp[-2].opval)); }
-break;
-case 115:
-#line 445 "perly.y"
-{ yyval.opval = yyvsp[0].opval; }
-break;
-case 116:
-#line 447 "perly.y"
-{ yyval.opval = newBINOP(OP_AELEM, 0, oopsAV(yyvsp[-3].opval), scalar(yyvsp[-1].opval)); }
-break;
-case 117:
-#line 449 "perly.y"
-{ yyval.opval = newBINOP(OP_AELEM, 0,
- ref(newAVREF(yyvsp[-4].opval),OP_RV2AV),
- scalar(yyvsp[-1].opval));}
-break;
-case 118:
-#line 453 "perly.y"
-{ assertref(yyvsp[-3].opval); yyval.opval = newBINOP(OP_AELEM, 0,
- ref(newAVREF(yyvsp[-3].opval),OP_RV2AV),
- scalar(yyvsp[-1].opval));}
-break;
-case 119:
-#line 457 "perly.y"
-{ yyval.opval = yyvsp[0].opval; }
-break;
-case 120:
-#line 459 "perly.y"
-{ yyval.opval = yyvsp[0].opval; }
-break;
-case 121:
-#line 461 "perly.y"
-{ yyval.opval = newUNOP(OP_AV2ARYLEN, 0, ref(yyvsp[0].opval, OP_AV2ARYLEN));}
-break;
-case 122:
-#line 463 "perly.y"
-{ yyval.opval = newBINOP(OP_HELEM, 0, oopsHV(yyvsp[-4].opval), jmaybe(yyvsp[-2].opval));
- expect = XOPERATOR; }
-break;
-case 123:
-#line 466 "perly.y"
-{ yyval.opval = newBINOP(OP_HELEM, 0,
- ref(newHVREF(yyvsp[-5].opval),OP_RV2HV),
- jmaybe(yyvsp[-2].opval));
- expect = XOPERATOR; }
-break;
-case 124:
-#line 471 "perly.y"
-{ assertref(yyvsp[-4].opval); yyval.opval = newBINOP(OP_HELEM, 0,
- ref(newHVREF(yyvsp[-4].opval),OP_RV2HV),
- jmaybe(yyvsp[-2].opval));
- expect = XOPERATOR; }
-break;
-case 125:
-#line 476 "perly.y"
-{ yyval.opval = newSLICEOP(0, yyvsp[-1].opval, yyvsp[-4].opval); }
-break;
-case 126:
-#line 478 "perly.y"
-{ yyval.opval = newSLICEOP(0, yyvsp[-1].opval, Nullop); }
-break;
-case 127:
-#line 480 "perly.y"
-{ yyval.opval = prepend_elem(OP_ASLICE,
- newOP(OP_PUSHMARK, 0),
- newLISTOP(OP_ASLICE, 0,
- list(yyvsp[-1].opval),
- ref(yyvsp[-3].opval, OP_ASLICE))); }
-break;
-case 128:
-#line 486 "perly.y"
-{ yyval.opval = prepend_elem(OP_HSLICE,
- newOP(OP_PUSHMARK, 0),
- newLISTOP(OP_HSLICE, 0,
- list(yyvsp[-2].opval),
- ref(oopsHV(yyvsp[-4].opval), OP_HSLICE)));
- expect = XOPERATOR; }
-break;
-case 129:
-#line 493 "perly.y"
-{ yyval.opval = yyvsp[0].opval; }
-break;
-case 130:
-#line 495 "perly.y"
-{ yyval.opval = newUNOP(OP_ENTERSUB, 0, scalar(yyvsp[0].opval)); }
-break;
-case 131:
-#line 497 "perly.y"
-{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar(yyvsp[-2].opval)); }
-break;
-case 132:
-#line 499 "perly.y"
-{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED,
- append_elem(OP_LIST, yyvsp[-1].opval, scalar(yyvsp[-3].opval))); }
-break;
-case 133:
-#line 502 "perly.y"
-{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED,
- append_elem(OP_LIST, yyvsp[0].opval, scalar(yyvsp[-1].opval))); }
-break;
-case 134:
-#line 505 "perly.y"
-{ yyval.opval = newUNOP(OP_DOFILE, 0, scalar(yyvsp[0].opval)); }
-break;
-case 135:
-#line 507 "perly.y"
-{ yyval.opval = newUNOP(OP_NULL, OPf_SPECIAL, scope(yyvsp[0].opval)); }
-break;
-case 136:
-#line 509 "perly.y"
-{ yyval.opval = newUNOP(OP_ENTERSUB,
- OPf_SPECIAL|OPf_STACKED,
- prepend_elem(OP_LIST,
- scalar(newCVREF(
- (OPpENTERSUB_AMPER<<8),
- scalar(yyvsp[-2].opval)
- )),Nullop)); dep();}
-break;
-case 137:
-#line 517 "perly.y"
-{ yyval.opval = newUNOP(OP_ENTERSUB,
- OPf_SPECIAL|OPf_STACKED,
- append_elem(OP_LIST,
- yyvsp[-1].opval,
- scalar(newCVREF(
- (OPpENTERSUB_AMPER<<8),
- scalar(yyvsp[-3].opval)
- )))); dep();}
-break;
-case 138:
-#line 526 "perly.y"
-{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_SPECIAL|OPf_STACKED,
- prepend_elem(OP_LIST,
- scalar(newCVREF(0,scalar(yyvsp[-2].opval))), Nullop)); dep();}
-break;
-case 139:
-#line 530 "perly.y"
-{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_SPECIAL|OPf_STACKED,
- prepend_elem(OP_LIST,
- yyvsp[-1].opval,
- scalar(newCVREF(0,scalar(yyvsp[-3].opval))))); dep();}
-break;
-case 140:
-#line 535 "perly.y"
-{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED,
- newCVREF(0, scalar(yyvsp[-3].opval))); }
-break;
-case 141:
-#line 538 "perly.y"
-{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED,
- append_elem(OP_LIST, yyvsp[-1].opval,
- newCVREF(0, scalar(yyvsp[-4].opval)))); }
-break;
-case 142:
-#line 542 "perly.y"
-{ yyval.opval = newOP(yyvsp[0].ival, OPf_SPECIAL);
- hints |= HINT_BLOCK_SCOPE; }
-break;
-case 143:
-#line 545 "perly.y"
-{ yyval.opval = newLOOPEX(yyvsp[-1].ival,yyvsp[0].opval); }
-break;
-case 144:
-#line 547 "perly.y"
-{ yyval.opval = newUNOP(OP_NOT, 0, scalar(yyvsp[0].opval)); }
-break;
-case 145:
-#line 549 "perly.y"
-{ yyval.opval = newOP(yyvsp[0].ival, 0); }
-break;
-case 146:
-#line 551 "perly.y"
-{ yyval.opval = newUNOP(yyvsp[-1].ival, 0, yyvsp[0].opval); }
-break;
-case 147:
-#line 553 "perly.y"
-{ yyval.opval = newUNOP(yyvsp[-1].ival, 0, yyvsp[0].opval); }
-break;
-case 148:
-#line 555 "perly.y"
-{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED,
- append_elem(OP_LIST, yyvsp[0].opval, scalar(yyvsp[-1].opval))); }
-break;
-case 149:
-#line 558 "perly.y"
-{ yyval.opval = newOP(yyvsp[0].ival, 0); }
-break;
-case 150:
-#line 560 "perly.y"
-{ yyval.opval = newOP(yyvsp[-2].ival, 0); }
-break;
-case 151:
-#line 562 "perly.y"
-{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED,
- scalar(yyvsp[0].opval)); }
-break;
-case 152:
-#line 565 "perly.y"
-{ yyval.opval = newOP(yyvsp[-2].ival, OPf_SPECIAL); }
-break;
-case 153:
-#line 567 "perly.y"
-{ yyval.opval = newUNOP(yyvsp[-3].ival, 0, yyvsp[-1].opval); }
-break;
-case 154:
-#line 569 "perly.y"
-{ yyval.opval = pmruntime(yyvsp[-3].opval, yyvsp[-1].opval, Nullop); }
-break;
-case 155:
-#line 571 "perly.y"
-{ yyval.opval = pmruntime(yyvsp[-5].opval, yyvsp[-3].opval, yyvsp[-1].opval); }
-break;
-case 158:
-#line 577 "perly.y"
-{ yyval.opval = Nullop; }
-break;
-case 159:
-#line 579 "perly.y"
-{ yyval.opval = yyvsp[0].opval; }
-break;
-case 160:
-#line 583 "perly.y"
-{ yyval.opval = Nullop; }
-break;
-case 161:
-#line 585 "perly.y"
-{ yyval.opval = yyvsp[0].opval; }
-break;
-case 162:
-#line 587 "perly.y"
-{ yyval.opval = yyvsp[-1].opval; }
-break;
-case 163:
-#line 590 "perly.y"
-{ yyval.ival = 0; }
-break;
-case 164:
-#line 591 "perly.y"
-{ yyval.ival = 1; }
-break;
-case 165:
-#line 595 "perly.y"
-{ in_my = 0; yyval.opval = my(yyvsp[0].opval); }
-break;
-case 166:
-#line 599 "perly.y"
-{ yyval.opval = newCVREF(yyvsp[-1].ival,yyvsp[0].opval); }
-break;
-case 167:
-#line 603 "perly.y"
-{ yyval.opval = newSVREF(yyvsp[0].opval); }
-break;
-case 168:
-#line 607 "perly.y"
-{ yyval.opval = newAVREF(yyvsp[0].opval); }
-break;
-case 169:
-#line 611 "perly.y"
-{ yyval.opval = newHVREF(yyvsp[0].opval); }
-break;
-case 170:
-#line 615 "perly.y"
-{ yyval.opval = newAVREF(yyvsp[0].opval); }
-break;
-case 171:
-#line 619 "perly.y"
-{ yyval.opval = newGVREF(0,yyvsp[0].opval); }
-break;
-case 172:
-#line 623 "perly.y"
-{ yyval.opval = scalar(yyvsp[0].opval); }
-break;
-case 173:
-#line 625 "perly.y"
-{ yyval.opval = scalar(yyvsp[0].opval); }
-break;
-case 174:
-#line 627 "perly.y"
-{ yyval.opval = scope(yyvsp[0].opval); }
-break;
-case 175:
-#line 630 "perly.y"
-{ yyval.opval = yyvsp[0].opval; }
-break;
-#line 2273 "perly.c"
+ YYPOPSTACK;
+ }
+ YYABORT;
+ }
+
+ YYDSYMPRINTF ("Error: discarding", yytoken, &parser->yylval);
+ parser->yychar = YYEMPTY;
+
}
- yyssp -= yym;
- yystate = *yyssp;
- yyvsp -= yym;
- yym = yylhs[yyn];
- if (yystate == 0 && yym == 0)
- {
-#if YYDEBUG
- if (yydebug)
- PerlIO_printf(Perl_debug_log,
- "yydebug: after reduction, shifting from state 0 to state %d\n",
- YYFINAL);
-#endif
- yystate = YYFINAL;
- *++yyssp = YYFINAL;
- *++yyvsp = yyval;
- if (yychar < 0)
- {
- if ((yychar = yylex()) < 0) yychar = 0;
-#if YYDEBUG
- if (yydebug)
- {
- yys = 0;
- if (yychar <= YYMAXTOKEN) yys = yyname[yychar];
- if (!yys) yys = "illegal-symbol";
- PerlIO_printf(Perl_debug_log, "yydebug: state %d, reading %d (%s)\n",
- YYFINAL, yychar, yys);
- }
-#endif
- }
- if (yychar == 0) goto yyaccept;
- goto yyloop;
+
+ /* Else will try to reuse lookahead token after shifting the error
+ token. */
+ goto yyerrlab1;
+
+
+ /*----------------------------------------------------.
+ | yyerrlab1 -- error raised explicitly by an action. |
+ `----------------------------------------------------*/
+ yyerrlab1:
+ parser->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 (ps == &parser->stack[0])
+ YYABORT;
+
+ YYDSYMPRINTF ("Error: popping", yystos[ps->state], &ps->val);
+ if (yy_type_tab[yystos[ps->state]] == toketype_opval && ps->val.opval) {
+ YYDPRINTF ((Perl_debug_log, "(freeing op)\n"));
+ if (ps->comppad != PL_comppad) {
+ PAD_RESTORE_LOCAL(ps->comppad);
+ }
+ ps->val.opval->op_latefree = 0;
+ op_free(ps->val.opval);
+ }
+ YYPOPSTACK;
+ yystate = ps->state;
+
+ YY_STACK_PRINT(parser);
}
- if ((yyn = yygindex[yym]) && (yyn += yystate) >= 0 &&
- yyn <= YYTABLESIZE && yycheck[yyn] == yystate)
- yystate = yytable[yyn];
- else
- yystate = yydgoto[yym];
-#if YYDEBUG
- if (yydebug)
- PerlIO_printf(Perl_debug_log,
- "yydebug: after reduction, shifting from state %d to state %d\n",
- *yyssp, yystate);
+
+ if (yyn == YYFINAL)
+ YYACCEPT;
+
+ YYDPRINTF ((Perl_debug_log, "Shifting error token, "));
+
+ YYPUSHSTACK;
+ ps->state = yyn;
+ ps->val = parser->yylval;
+ ps->comppad = PL_comppad;
+#ifdef DEBUGGING
+ ps->name ="<err>";
#endif
- if (yyssp >= yyss + yystacksize - 1)
- {
- /*
- ** reallocate and recover. Note that pointers
- ** have to be reset, or bad things will happen
- */
- int yyps_index = (yyssp - yyss);
- int yypv_index = (yyvsp - yyvs);
- yystacksize += YYSTACKSIZE;
- ysave->yyvs = yyvs =
- (YYSTYPE*)realloc((char*)yyvs,yystacksize * sizeof(YYSTYPE));
- ysave->yyss = yyss =
- (short*)realloc((char*)yyss,yystacksize * sizeof(short));
- if (!yyvs || !yyss)
- goto yyoverflow;
- yyssp = yyss + yyps_index;
- yyvsp = yyvs + yypv_index;
- }
- *++yyssp = yystate;
- *++yyvsp = yyval;
- goto yyloop;
-yyoverflow:
- yyerror("Out of memory for yacc stack");
-yyabort:
- retval = 1;
-yyaccept:
- return retval;
+
+ goto yynewstate;
+
+
+ /*-------------------------------------.
+ | yyacceptlab -- YYACCEPT comes here. |
+ `-------------------------------------*/
+ yyacceptlab:
+ yyresult = 0;
+ parser->ps = &parser->stack[0]; /* disable cleanup */
+ goto yyreturn;
+
+ /*-----------------------------------.
+ | yyabortlab -- YYABORT comes here. |
+ `-----------------------------------*/
+ yyabortlab:
+ yyresult = 1;
+ goto yyreturn;
+
+ yyreturn:
+ LEAVE; /* force stack free before we return */
+ return yyresult;
}
+
+/*
+ * Local variables:
+ * c-indentation-style: bsd
+ * c-basic-offset: 4
+ * indent-tabs-mode: t
+ * End:
+ *
+ * ex: set ts=8 sts=4 sw=4 noet:
+ */