X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/fa83b5b6263413f922909c255e021c32c808b32d..09eb7cfbca20b4071e1b90c66713173d118d1d47:/perly.c diff --git a/perly.c b/perly.c index 6de75e5..3edf57d 100644 --- a/perly.c +++ b/perly.c @@ -1,2300 +1,735 @@ -#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, 2007, 2008 by 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; + +/* YYINITDEPTH -- initial size of the parser's stacks. */ +#define YYINITDEPTH 200 + +#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 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() +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, 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, 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, 154, 0, 0, 129, 0, 149, 0, - 54, 54, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 161, 162, 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, 155, 50, - 0, 56, 0, 61, 0, 7, 170, 173, 172, 171, - 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, - 4, 4, 0, 0, 0, 0, 0, 144, 0, 0, - 0, 0, 76, 0, 168, 0, 135, 0, 0, 0, - 0, 0, 164, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 109, 0, 165, 166, 167, 169, 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, 148, 150, 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, 81, 0, 0, 0, 0, 0, 0, - 0, 131, 0, 0, 60, 59, 52, 0, 3, 0, - 152, 0, 0, 112, 0, 41, 0, 42, 0, 0, - 0, 0, 163, 0, 0, 35, 40, 0, 0, 0, - 151, 160, 77, 0, 136, 0, 138, 0, 110, 0, - 0, 0, 0, 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, 117, 0, 122, 128, 114, 64, 153, - 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, 333, 89, 322, - 3, 11, 12, 68, 338, 260, 70, 71, 72, 73, - 74, 75, 76, 266, 78, 267, 256, 258, 261, 269, - 257, 259, 113, 197, 91, 79, 235, 81, 83, 178, - 247, 142, 264, 13, 2, 14, 15, 16, 85, 253, -}; -short yysindex[] = { 0, - 0, 0, -126, 0, 0, 0, -58, 0, 0, 0, - 0, 0, 827, 0, 0, 0, -242, -235, -21, 0, - 0, 0, 0, 0, -33, -33, 0, 11, 0, 1816, - 0, 0, 13, 15, 30, 45, -29, 1816, 67, 68, - 70, 1002, 939, -33, 1236, 1292, -227, 0, 0, -33, - 1816, 1816, 1816, 1816, 1816, 1816, 1173, 0, 1816, 1816, - 1348, -33, -33, -33, -33, 1816, -220, 0, -169, 3558, - -78, -59, 0, 0, -62, 73, 42, 65, 0, 0, - -5, 0, -149, 0, -134, 0, 0, 0, 0, 0, - 1816, 97, 1816, 1847, -5, -149, 0, 0, 0, 0, - 0, 0, 99, 3558, 105, 1407, 939, 0, 1847, 0, - -78, 65, 0, 1816, 0, 107, 0, 1847, -23, 36, - -51, 1816, 0, 65, -82, -82, -82, -54, -54, 57, - -27, -82, -82, 0, -87, 0, 0, 0, 0, 1847, - -5, 0, 1816, 1816, 1816, 1816, 1816, 1816, 1816, 1816, - 1816, 1816, 1816, 1816, 1816, 1816, 1816, 1816, 1816, 1816, - 1816, 1816, 1816, 0, 0, -32, 1816, 1816, 1816, 1816, - 1816, 1816, 1582, 0, 1816, 0, 0, -36, -108, 665, - 0, 1816, 209, 0, -5, 1816, 1816, 1816, 1816, 114, - 1641, 0, 0, 0, -16, 6, 111, 1816, 65, 1697, - 1753, 0, 38, 0, 1816, 74, 0, 0, -251, -251, - 0, -251, -251, -131, 0, 18, 3516, 1847, 1089, 382, - 92, 3558, 3594, 3689, 369, 1060, 482, 285, -82, -82, - 1816, 0, 1816, 0, 128, 33, 23, 58, 25, 69, - 27, 0, -14, 3558, 0, 0, 0, 1816, 0, 131, - 0, 1816, 1816, 0, -251, 0, 134, 0, 136, -251, - 139, 141, 0, 144, -169, 0, 0, 156, 135, 1816, - 0, 0, 0, -12, 0, -10, 0, 1, 0, 71, - 1816, 75, 1816, 29, 86, 1816, 0, 76, 0, 78, - 0, 81, 0, 148, 0, 339, 0, 85, 85, 85, - 85, 1816, 85, 1816, 168, 0, 0, 0, 0, 88, - 0, 3653, 89, 0, 172, 0, 0, 0, 0, 0, - 0, -220, -220, -178, -178, 175, -220, 160, 85, 0, - 0, 0, 0, 0, 0, 85, 203, 0, 0, 85, - 0, 1641, -220, 688, 0, 1816, -220, 180, 0, 0, - 196, 0, 85, 85, 0, -178, 0, -}; -short yyrindex[] = { 0, - 0, 0, 269, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 122, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 2076, 1906, 0, - 0, 2716, 2784, 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, -7, 181, - 2827, 2871, 0, 0, 2142, 1965, 0, 21, 0, 0, - 0, 0, -31, 0, 0, 0, 0, 0, 0, 0, - 2201, 0, 0, 3299, 0, 129, 0, 0, 0, 0, - 0, 0, 0, 197, 0, 0, 213, 0, 3343, 444, - 545, 2312, 0, 0, 0, 2028, 0, 3386, 2827, 0, - 0, 2201, 0, 2437, 2914, 2952, 2990, 606, 723, 2480, - 0, 3063, 3107, 0, 0, 0, 0, 0, 0, 3424, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2548, 0, 0, 0, 0, 883, - 0, 213, 0, 0, 0, 234, 0, 0, 0, 0, - 218, 0, 0, 0, 0, 239, 0, 0, 2591, 0, - 0, 0, 0, 0, 0, 2635, 0, 0, -2, 8, - 0, 22, 24, 525, 0, 0, 3579, 1448, 1504, 3226, - -39, 338, 0, 2490, 3535, 3498, 3462, 3262, 3150, 3188, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1870, 0, 0, 0, 230, 0, 0, - 0, 0, 2201, 0, 37, 0, 0, 0, 0, 251, - 0, 0, 0, 0, 61, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 213, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 238, 0, 0, 0, 0, 0, 0, - 0, 718, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 79, 79, 153, 153, 0, 79, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 260, 79, 883, 0, 0, 79, 0, 0, 0, - 0, 0, 0, 0, 0, 153, 0, -}; -short yygindex[] = { 0, - 0, 0, 0, 300, 278, 0, -26, 0, 892, 1004, - -76, 0, 0, 0, -313, -13, 3871, 3724, 0, 0, - 0, 0, 0, 304, -25, 0, 0, 169, -175, -8, - 53, 152, 384, -161, 901, 0, 0, 0, 0, 281, - 0, -287, 0, 0, 0, 0, 0, 0, 0, 0, -}; -#define YYTABLESIZE 4154 -short yytable[] = { 69, - 20, 85, 62, 62, 85, 207, 62, 203, 167, 180, - 102, 339, 169, 206, 80, 268, 201, 112, 85, 85, - 250, 82, 245, 85, 271, 124, 293, 57, 306, 122, - 307, 171, 121, 15, 334, 335, 167, 84, 18, 341, - 149, 308, 357, 131, 168, 147, 148, 135, 38, 272, - 93, 15, 97, 85, 98, 349, 18, 141, 233, 352, - 172, 67, 16, 170, 17, 112, 38, 169, 149, 99, - 186, 187, 188, 189, 190, 191, 282, 37, 25, 67, - 16, 288, 17, 290, 100, 292, 23, 313, 199, 23, - 231, 57, 195, 196, 305, 37, 112, 336, 337, 168, - 174, 39, 143, 144, 145, 146, 105, 106, 175, 107, - 177, 25, 173, 67, 25, 25, 25, 23, 25, 15, - 25, 25, 179, 25, 315, 287, 326, 147, 148, 209, - 210, 212, 213, 214, 215, 216, 182, 25, 192, 4, - 5, 6, 25, 7, 8, 193, 200, 205, 248, 62, - 289, 273, 20, 236, 237, 238, 239, 240, 241, 243, - 202, 291, 279, 309, 281, 270, 148, 286, 196, 25, - 351, 295, 255, 210, 298, 210, 299, 265, 314, 300, - 330, 301, 167, 302, 274, 20, 276, 278, 20, 20, - 20, 280, 20, 304, 20, 20, 303, 20, 19, 311, - 316, 25, 317, 25, 25, 318, 319, 321, 329, 147, - 148, 20, 332, 331, 149, 340, 20, 284, 342, 285, - 353, 70, 112, 87, 70, 232, 163, 112, 88, 164, - 165, 166, 85, 85, 85, 85, 354, 141, 70, 70, - 141, 85, 346, 20, 51, 147, 148, 85, 85, 251, - 85, 57, 252, 158, 141, 141, 344, 85, 85, 166, - 85, 85, 85, 85, 85, 85, 101, 310, 2, 147, - 148, 156, 196, 70, 36, 20, 34, 20, 20, 159, - 147, 148, 147, 148, 147, 148, 147, 148, 156, 141, - 255, 39, 67, 67, 67, 67, 36, 147, 148, 167, - 34, 43, 147, 148, 43, 43, 43, 21, 43, 96, - 43, 43, 211, 43, 147, 148, 77, 67, 67, 147, - 148, 147, 148, 147, 148, 147, 148, 43, 69, 147, - 148, 149, 43, 348, 25, 25, 25, 25, 25, 25, - 262, 25, 25, 25, 25, 25, 25, 25, 25, 25, - 25, 25, 25, 25, 147, 148, 328, 25, 25, 43, - 25, 25, 25, 25, 25, 147, 148, 147, 148, 25, - 25, 25, 25, 25, 25, 167, 185, 25, 82, 320, - 153, 82, 147, 148, 147, 148, 25, 0, 25, 25, - 0, 43, 0, 0, 43, 82, 82, 162, 0, 0, - 163, 156, 0, 164, 165, 166, 0, 149, 20, 20, - 20, 20, 20, 20, 0, 20, 20, 20, 20, 20, - 20, 20, 20, 20, 20, 20, 20, 20, 0, 167, - 82, 20, 20, 0, 20, 20, 20, 20, 20, 0, - 0, 0, 0, 20, 20, 20, 20, 20, 20, 0, - 0, 20, 70, 70, 70, 70, 0, 0, 0, 167, - 20, 149, 20, 20, 0, 0, 0, 0, 141, 141, - 141, 141, 167, 0, 181, 0, 170, 70, 70, 170, - 170, 170, 0, 170, 154, 170, 170, 154, 170, 150, - 0, 149, 0, 141, 141, 151, 152, 153, 154, 0, - 0, 154, 154, 0, 149, 204, 154, 170, 155, 157, - 158, 159, 160, 161, 162, 0, 0, 163, 0, 0, - 164, 165, 166, 0, 43, 43, 43, 43, 43, 43, - 0, 43, 43, 43, 154, 0, 154, 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, 66, 154, 43, 66, 170, - 0, 0, 167, 153, 154, 0, 43, 171, 43, 43, - 171, 171, 171, 66, 171, 113, 171, 171, 113, 171, - 162, 0, 0, 163, 0, 0, 164, 165, 166, 0, - 0, 0, 113, 113, 149, 0, 0, 113, 171, 82, - 82, 82, 82, 0, 0, 0, 0, 66, 0, 150, - 0, 0, 0, 0, 0, 151, 152, 153, 154, 0, - 0, 294, 0, 0, 82, 82, 297, 113, 155, 157, - 158, 159, 160, 161, 162, 0, 103, 163, 0, 103, - 164, 165, 166, 0, 0, 151, 152, 153, 154, 0, - 0, 0, 0, 103, 103, 0, 0, 0, 103, 0, - 171, 159, 160, 161, 162, 0, 0, 163, 0, 0, - 164, 165, 166, 0, 0, 0, 0, 162, 0, 0, - 163, 0, 0, 164, 165, 166, 0, 0, 103, 0, - 170, 170, 170, 170, 170, 0, 170, 170, 170, 0, - 0, 0, 170, 0, 0, 154, 154, 154, 154, 0, - 0, 0, 0, 170, 154, 170, 170, 170, 170, 170, - 154, 154, 154, 154, 170, 170, 170, 170, 170, 170, - 154, 154, 170, 154, 154, 154, 154, 154, 154, 154, - 0, 170, 154, 170, 170, 154, 154, 154, 94, 0, - 0, 94, 0, 104, 0, 0, 104, 0, 151, 152, - 153, 154, 0, 0, 0, 94, 94, 0, 0, 0, - 104, 104, 0, 0, 0, 104, 161, 162, 0, 249, - 163, 0, 0, 164, 165, 166, 66, 66, 66, 66, - 0, 171, 171, 171, 171, 171, 0, 171, 171, 171, - 94, 0, 350, 171, 0, 104, 113, 113, 113, 113, - 0, 66, 0, 0, 171, 113, 171, 171, 171, 171, - 171, 113, 113, 113, 113, 171, 171, 171, 171, 171, - 171, 113, 113, 171, 113, 113, 113, 113, 113, 113, - 113, 0, 171, 113, 171, 171, 113, 113, 113, 52, - 0, 0, 62, 64, 50, 0, 57, 0, 65, 60, - 0, 59, 0, 0, 0, 0, 0, 103, 103, 103, - 103, 0, 0, 0, 0, 58, 103, 0, 0, 0, - 63, 0, 103, 103, 103, 103, 0, 0, 0, 0, - 0, 0, 103, 103, 67, 103, 103, 103, 103, 103, - 103, 103, 0, 0, 103, 43, 0, 61, 43, 43, - 43, 0, 43, 0, 43, 43, 92, 43, 0, 0, - 4, 5, 6, 108, 7, 8, 117, 0, 0, 0, - 0, 43, 0, 114, 115, 0, 43, 0, 0, 23, - 123, 0, 53, 4, 5, 6, 0, 7, 8, 0, - 0, 0, 136, 137, 138, 139, 0, 0, 0, 0, - 0, 52, 176, 43, 62, 64, 50, 0, 57, 0, - 65, 60, 0, 59, 0, 0, 184, 0, 0, 94, - 94, 94, 94, 0, 104, 104, 104, 104, 0, 0, - 0, 0, 63, 104, 0, 43, 0, 198, 43, 104, - 104, 104, 104, 0, 94, 94, 0, 94, 0, 104, - 104, 0, 104, 104, 104, 104, 104, 104, 104, 61, - 0, 104, 208, 0, 52, 0, 0, 62, 64, 50, - 0, 57, 0, 65, 60, 0, 59, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 23, 0, 0, 53, 63, 0, 0, 0, 246, - 0, 0, 0, 0, 0, 0, 254, 0, 0, 0, - 0, 0, 22, 24, 25, 26, 27, 28, 0, 29, - 30, 31, 61, 0, 0, 32, 0, 0, 33, 34, - 35, 36, 0, 0, 0, 37, 38, 0, 39, 40, - 41, 42, 43, 0, 0, 0, 0, 44, 45, 46, - 47, 48, 49, 0, 23, 51, 0, 53, 0, 0, - 0, 0, 0, 0, 54, 0, 55, 56, 43, 43, - 43, 43, 43, 43, 0, 43, 43, 43, 0, 0, - 167, 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, - 0, 43, 149, 0, 0, 0, 0, 0, 0, 0, - 43, 0, 43, 43, 0, 110, 25, 26, 27, 28, - 88, 29, 30, 31, 0, 52, 0, 32, 62, 64, - 50, 149, 57, 130, 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, 0, 0, 0, 0, 24, 25, - 26, 27, 28, 61, 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, 53, 63, - 51, 0, 323, 324, 325, 0, 327, 0, 0, 54, - 0, 55, 56, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 52, 0, 61, 62, 64, 50, - 0, 57, 343, 65, 60, 0, 59, 0, 0, 345, - 0, 0, 0, 347, 0, 0, 151, 152, 153, 154, - 120, 0, 0, 0, 0, 63, 355, 356, 23, 0, - 0, 53, 0, 160, 161, 162, 0, 0, 163, 0, - 0, 164, 165, 166, 0, 151, 0, 153, 154, 0, - 52, 0, 61, 62, 64, 50, 0, 57, 0, 65, - 60, 0, 59, 161, 162, 0, 0, 163, 0, 0, - 164, 165, 166, 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, 24, - 25, 26, 27, 28, 0, 29, 30, 31, 61, 52, - 134, 32, 62, 64, 50, 0, 57, 194, 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, 0, 0, 0, 87, 0, - 0, 87, 116, 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, 242, 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, 275, 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, 277, 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, 0, 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, - 69, 0, 0, 69, 0, 0, 0, 0, 0, 0, - 38, 0, 39, 40, 41, 42, 43, 69, 69, 0, - 0, 44, 45, 46, 47, 48, 49, 167, 0, 51, - 0, 53, 0, 0, 0, 0, 147, 0, 54, 147, - 55, 56, 0, 24, 25, 26, 27, 28, 0, 29, - 30, 31, 69, 147, 147, 32, 0, 0, 147, 149, - 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, 147, 0, 147, 0, - 0, 0, 0, 0, 54, 130, 55, 56, 130, 24, - 25, 26, 27, 28, 0, 29, 30, 31, 0, 0, - 0, 32, 130, 130, 0, 0, 0, 130, 147, 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, 130, 0, 130, 0, 0, - 54, 0, 55, 56, 0, 0, 0, 0, 154, 0, - 0, 154, 24, 25, 26, 27, 28, 0, 29, 30, - 31, 0, 0, 0, 32, 154, 154, 130, 0, 0, - 154, 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, 140, 0, 154, 140, - 154, 0, 0, 54, 0, 55, 56, 0, 0, 0, - 0, 0, 0, 140, 140, 153, 154, 0, 140, 0, - 0, 69, 69, 69, 69, 0, 0, 0, 0, 0, - 154, 161, 162, 0, 0, 163, 0, 0, 164, 165, - 166, 0, 0, 0, 0, 0, 69, 69, 140, 0, - 0, 0, 0, 0, 0, 0, 0, 147, 147, 147, - 147, 0, 115, 0, 0, 115, 147, 0, 0, 0, - 0, 0, 147, 147, 147, 147, 0, 0, 140, 115, - 115, 0, 147, 147, 115, 147, 147, 147, 147, 147, - 147, 147, 0, 0, 147, 0, 0, 147, 147, 147, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 115, 0, 115, 0, 130, 130, 130, 130, - 0, 156, 0, 0, 156, 130, 0, 0, 0, 0, - 0, 130, 130, 130, 130, 0, 0, 0, 156, 156, - 0, 130, 130, 156, 130, 130, 130, 130, 130, 130, - 130, 0, 0, 130, 0, 0, 130, 130, 130, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 156, 0, 0, 0, 0, 0, 154, - 154, 154, 154, 0, 0, 0, 0, 0, 154, 0, - 0, 0, 0, 0, 154, 154, 154, 154, 0, 0, - 0, 0, 0, 156, 154, 154, 0, 154, 154, 154, - 154, 154, 154, 154, 0, 0, 154, 0, 0, 154, - 154, 154, 0, 0, 0, 0, 0, 140, 140, 140, - 140, 0, 157, 0, 0, 0, 140, 0, 0, 0, - 0, 0, 140, 140, 140, 140, 0, 0, 0, 157, - 157, 0, 140, 140, 157, 140, 140, 140, 140, 140, - 140, 140, 0, 0, 140, 0, 0, 140, 140, 140, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 157, 0, 157, 0, 0, 0, 0, 0, - 0, 0, 0, 115, 115, 115, 115, 0, 0, 0, - 0, 0, 115, 0, 0, 0, 0, 0, 115, 115, - 115, 115, 0, 0, 157, 0, 0, 0, 115, 115, - 0, 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, 0, 0, - 0, 0, 156, 156, 156, 156, 0, 142, 0, 0, - 0, 156, 0, 0, 0, 0, 0, 156, 156, 156, - 156, 0, 0, 0, 142, 142, 0, 156, 156, 142, - 156, 156, 156, 156, 156, 156, 156, 0, 0, 156, - 0, 0, 156, 156, 156, 0, 0, 0, 0, 0, - 107, 0, 0, 107, 0, 0, 0, 142, 0, 142, - 93, 0, 0, 93, 0, 0, 0, 107, 107, 0, - 0, 0, 107, 0, 0, 0, 0, 93, 93, 0, - 0, 0, 93, 0, 0, 0, 0, 0, 0, 142, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 107, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 93, 157, 157, 157, 157, 0, 68, 0, - 0, 68, 157, 0, 0, 0, 0, 0, 157, 157, - 157, 157, 107, 0, 0, 68, 68, 0, 157, 157, - 68, 157, 157, 157, 157, 157, 157, 157, 0, 0, - 157, 0, 0, 157, 157, 157, 0, 0, 0, 0, - 0, 71, 0, 0, 0, 0, 0, 0, 0, 0, - 68, 0, 0, 0, 0, 0, 0, 0, 71, 71, - 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 68, 0, 0, 0, 0, 106, 0, 0, 106, 0, - 0, 71, 0, 71, 0, 0, 0, 0, 0, 0, - 0, 0, 106, 106, 0, 0, 0, 106, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 142, 142, - 142, 142, 0, 71, 0, 0, 0, 142, 0, 0, - 0, 0, 0, 142, 142, 142, 142, 106, 0, 0, - 0, 0, 0, 142, 142, 0, 142, 142, 142, 142, - 142, 142, 142, 0, 0, 142, 0, 0, 142, 142, - 142, 107, 107, 107, 107, 0, 143, 106, 0, 143, - 107, 93, 93, 93, 93, 0, 107, 107, 107, 107, - 93, 0, 0, 143, 143, 0, 107, 107, 143, 107, - 107, 107, 107, 107, 107, 107, 93, 93, 107, 93, - 93, 107, 107, 107, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 143, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 68, - 68, 68, 68, 0, 156, 0, 0, 156, 68, 0, - 0, 0, 0, 0, 68, 68, 68, 68, 0, 0, - 0, 156, 156, 0, 68, 68, 156, 68, 68, 68, - 68, 68, 68, 68, 0, 0, 68, 0, 0, 68, - 68, 68, 71, 71, 71, 71, 0, 113, 0, 0, - 113, 71, 0, 0, 0, 0, 156, 71, 71, 71, - 71, 0, 0, 0, 113, 113, 0, 71, 71, 113, - 71, 71, 71, 71, 71, 71, 71, 0, 0, 71, - 0, 0, 71, 71, 71, 0, 106, 106, 106, 106, - 0, 120, 0, 0, 120, 106, 0, 0, 0, 113, - 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, 98, 0, 0, 98, 0, 0, - 0, 0, 0, 120, 0, 0, 0, 0, 0, 0, - 0, 98, 98, 0, 0, 0, 98, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 143, 143, 143, - 143, 0, 99, 0, 0, 99, 143, 0, 0, 0, - 0, 0, 143, 143, 143, 143, 98, 0, 0, 99, - 99, 0, 143, 143, 99, 143, 143, 143, 143, 143, - 143, 143, 0, 0, 143, 0, 0, 143, 143, 143, - 100, 0, 0, 100, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 99, 0, 0, 100, 100, 0, - 0, 0, 100, 0, 0, 156, 156, 156, 156, 0, - 0, 0, 0, 0, 156, 0, 0, 0, 0, 0, - 156, 156, 156, 156, 0, 0, 0, 0, 0, 0, - 156, 156, 100, 156, 156, 156, 156, 156, 156, 156, - 0, 0, 156, 0, 0, 156, 156, 156, 113, 113, - 113, 113, 0, 96, 0, 0, 96, 113, 0, 0, - 0, 0, 0, 113, 113, 113, 113, 0, 0, 0, - 96, 96, 0, 113, 113, 96, 113, 113, 113, 113, - 113, 113, 113, 0, 0, 113, 0, 0, 113, 113, - 113, 0, 120, 120, 120, 120, 0, 97, 0, 0, - 97, 120, 0, 0, 0, 96, 0, 120, 120, 120, - 120, 0, 0, 0, 97, 97, 0, 120, 120, 97, - 120, 120, 120, 120, 120, 120, 120, 0, 0, 120, - 0, 0, 120, 120, 120, 98, 98, 98, 98, 0, - 95, 0, 0, 95, 98, 0, 0, 0, 0, 97, - 98, 98, 98, 98, 0, 0, 0, 95, 95, 0, - 98, 98, 95, 98, 98, 98, 98, 98, 98, 98, - 0, 0, 0, 99, 99, 99, 99, 0, 83, 0, - 0, 83, 99, 0, 0, 0, 0, 0, 99, 99, - 99, 99, 95, 0, 0, 83, 83, 0, 99, 99, - 83, 99, 99, 99, 99, 99, 99, 99, 0, 0, - 0, 100, 100, 100, 100, 0, 84, 0, 0, 84, - 100, 0, 0, 0, 0, 0, 100, 100, 100, 100, - 83, 0, 0, 84, 84, 0, 100, 100, 84, 100, - 100, 100, 100, 100, 100, 100, 0, 0, 0, 0, - 0, 0, 86, 0, 0, 86, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 84, 86, - 86, 0, 0, 0, 86, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 96, 96, 96, 96, 0, 146, - 0, 0, 146, 96, 0, 0, 0, 0, 0, 96, - 96, 96, 96, 0, 86, 0, 146, 146, 0, 96, - 96, 146, 96, 96, 96, 96, 96, 96, 96, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 97, 97, - 97, 97, 0, 145, 0, 0, 145, 97, 0, 0, - 0, 146, 0, 97, 97, 97, 97, 0, 0, 0, - 145, 145, 0, 97, 97, 145, 97, 97, 97, 97, - 97, 97, 97, 0, 0, 0, 0, 0, 0, 0, - 0, 95, 95, 95, 95, 0, 134, 0, 0, 134, - 95, 0, 0, 0, 0, 145, 95, 95, 95, 95, - 0, 0, 0, 134, 134, 0, 95, 95, 134, 95, - 95, 95, 95, 95, 95, 95, 0, 0, 0, 83, - 83, 83, 83, 0, 105, 0, 0, 105, 83, 0, - 0, 0, 0, 0, 83, 83, 83, 83, 134, 0, - 0, 105, 105, 0, 83, 83, 105, 83, 83, 83, - 83, 83, 83, 83, 0, 0, 0, 84, 84, 84, - 84, 0, 89, 0, 0, 89, 84, 0, 0, 0, - 0, 0, 84, 84, 84, 84, 105, 0, 0, 89, - 89, 0, 84, 84, 89, 84, 84, 84, 84, 84, - 84, 0, 0, 86, 86, 86, 86, 0, 90, 0, - 0, 90, 86, 0, 0, 0, 0, 0, 86, 86, - 0, 0, 0, 0, 89, 90, 90, 0, 86, 86, - 90, 86, 86, 86, 86, 86, 86, 0, 0, 0, - 146, 146, 146, 146, 0, 92, 0, 0, 92, 146, - 0, 0, 0, 0, 0, 146, 146, 0, 0, 0, - 90, 0, 92, 92, 0, 146, 146, 92, 146, 146, - 146, 146, 146, 0, 0, 0, 167, 0, 0, 0, - 0, 0, 0, 0, 145, 145, 145, 145, 0, 91, - 156, 0, 91, 145, 0, 0, 0, 92, 0, 145, - 145, 0, 0, 0, 0, 0, 91, 91, 149, 145, - 145, 91, 145, 145, 145, 145, 145, 0, 167, 0, - 0, 283, 0, 0, 0, 0, 156, 134, 134, 134, - 134, 0, 0, 0, 0, 0, 134, 0, 0, 0, - 0, 91, 134, 134, 0, 0, 0, 0, 0, 0, - 149, 0, 134, 134, 167, 134, 134, 134, 134, 134, - 0, 0, 0, 0, 0, 105, 105, 105, 105, 0, - 0, 0, 0, 0, 105, 0, 0, 0, 0, 0, - 105, 105, 0, 0, 0, 156, 149, 0, 0, 0, - 105, 105, 0, 105, 105, 105, 105, 105, 0, 0, - 0, 0, 0, 89, 89, 89, 89, 0, 0, 0, - 0, 0, 89, 167, 0, 0, 0, 0, 90, 90, - 0, 0, 0, 0, 0, 0, 0, 0, 89, 89, - 103, 89, 89, 89, 89, 89, 111, 90, 119, 90, - 90, 90, 90, 90, 0, 149, 0, 0, 90, 167, - 0, 0, 0, 0, 0, 90, 90, 90, 90, 0, - 0, 0, 0, 0, 90, 90, 0, 90, 90, 90, - 90, 0, 151, 152, 153, 154, 92, 92, 92, 92, - 0, 149, 0, 0, 0, 92, 157, 158, 159, 160, - 161, 162, 0, 0, 163, 0, 0, 164, 165, 166, - 111, 92, 92, 0, 92, 92, 92, 0, 150, 0, - 0, 0, 0, 0, 151, 152, 153, 154, 0, 0, - 91, 91, 91, 91, 0, 0, 0, 155, 157, 158, - 159, 160, 161, 162, 0, 0, 163, 0, 0, 164, - 165, 166, 0, 0, 150, 91, 91, 0, 91, 0, - 151, 152, 153, 154, 0, 0, 0, 0, 0, 234, - 0, 0, 0, 155, 157, 158, 159, 160, 161, 162, - 94, 0, 163, 0, 0, 164, 165, 166, 104, 0, - 0, 0, 109, 263, 0, 118, 0, 0, 0, 0, - 0, 0, 125, 126, 127, 128, 129, 0, 0, 132, - 133, 0, 0, 150, 0, 0, 140, 0, 0, 151, - 152, 153, 154, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 157, 158, 159, 160, 161, 162, 0, - 0, 163, 0, 183, 164, 165, 166, 0, 0, 0, - 0, 0, 0, 0, 0, 151, 152, 153, 154, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 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, - 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, 244, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 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, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 312, -}; -short yycheck[] = { 13, - 59, 41, 36, 36, 44, 93, 36, 59, 91, 86, - 40, 325, 91, 41, 257, 191, 40, 43, 58, 59, - 182, 257, 59, 63, 41, 51, 41, 59, 41, 257, - 41, 91, 46, 41, 322, 323, 91, 59, 41, 327, - 123, 41, 356, 57, 123, 297, 298, 61, 41, 44, - 40, 59, 40, 93, 40, 343, 59, 278, 91, 347, - 123, 41, 41, 123, 41, 91, 59, 91, 123, 40, - 97, 98, 99, 100, 101, 102, 59, 41, 0, 59, - 59, 59, 59, 59, 40, 59, 123, 59, 114, 123, - 123, 123, 106, 107, 270, 59, 122, 276, 277, 123, - 59, 41, 272, 273, 274, 275, 40, 40, 44, 40, - 260, 33, 40, 93, 36, 37, 38, 123, 40, 59, - 42, 43, 257, 45, 286, 93, 302, 297, 298, 143, - 144, 145, 146, 147, 148, 149, 40, 59, 40, 266, - 267, 268, 64, 270, 271, 41, 40, 91, 257, 36, - 93, 41, 0, 167, 168, 169, 170, 171, 172, 173, - 125, 93, 125, 93, 91, 192, 298, 40, 182, 91, - 346, 41, 186, 187, 41, 189, 41, 191, 93, 41, - 93, 41, 91, 40, 198, 33, 200, 201, 36, 37, - 38, 205, 40, 59, 42, 43, 41, 45, 257, 125, - 125, 123, 125, 125, 126, 125, 59, 123, 41, 297, - 298, 59, 41, 125, 123, 41, 64, 231, 59, 233, - 41, 41, 248, 257, 44, 258, 309, 253, 262, 312, - 313, 314, 272, 273, 274, 275, 41, 41, 58, 59, - 44, 281, 40, 91, 123, 297, 298, 287, 288, 41, - 290, 123, 44, 41, 58, 59, 333, 297, 298, 314, - 300, 301, 302, 303, 304, 305, 296, 281, 0, 297, - 298, 63, 286, 93, 41, 123, 59, 125, 126, 41, - 297, 298, 297, 298, 297, 298, 297, 298, 59, 93, - 304, 41, 272, 273, 274, 275, 59, 297, 298, 91, - 41, 33, 297, 298, 36, 37, 38, 8, 40, 32, - 42, 43, 144, 45, 297, 298, 13, 297, 298, 297, - 298, 297, 298, 297, 298, 297, 298, 59, 342, 297, - 298, 123, 64, 342, 256, 257, 258, 259, 260, 261, - 189, 263, 264, 265, 266, 267, 268, 269, 270, 271, - 272, 273, 274, 275, 297, 298, 304, 279, 280, 91, - 282, 283, 284, 285, 286, 297, 298, 297, 298, 291, - 292, 293, 294, 295, 296, 91, 96, 299, 41, 41, - 289, 44, 297, 298, 297, 298, 308, -1, 310, 311, - -1, 123, -1, -1, 126, 58, 59, 306, -1, -1, - 309, 63, -1, 312, 313, 314, -1, 123, 256, 257, - 258, 259, 260, 261, -1, 263, 264, 265, 266, 267, - 268, 269, 270, 271, 272, 273, 274, 275, -1, 91, - 93, 279, 280, -1, 282, 283, 284, 285, 286, -1, - -1, -1, -1, 291, 292, 293, 294, 295, 296, -1, - -1, 299, 272, 273, 274, 275, -1, -1, -1, 91, - 308, 123, 310, 311, -1, -1, -1, -1, 272, 273, - 274, 275, 91, -1, 91, -1, 33, 297, 298, 36, - 37, 38, -1, 40, 41, 42, 43, 44, 45, 281, - -1, 123, -1, 297, 298, 287, 288, 289, 290, -1, - -1, 58, 59, -1, 123, 122, 63, 64, 300, 301, - 302, 303, 304, 305, 306, -1, -1, 309, -1, -1, - 312, 313, 314, -1, 256, 257, 258, 259, 260, 261, - -1, 263, 264, 265, 91, -1, 93, 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, 41, 123, 299, 44, 126, - -1, -1, 91, 289, 290, -1, 308, 33, 310, 311, - 36, 37, 38, 59, 40, 41, 42, 43, 44, 45, - 306, -1, -1, 309, -1, -1, 312, 313, 314, -1, - -1, -1, 58, 59, 123, -1, -1, 63, 64, 272, - 273, 274, 275, -1, -1, -1, -1, 93, -1, 281, - -1, -1, -1, -1, -1, 287, 288, 289, 290, -1, - -1, 248, -1, -1, 297, 298, 253, 93, 300, 301, - 302, 303, 304, 305, 306, -1, 41, 309, -1, 44, - 312, 313, 314, -1, -1, 287, 288, 289, 290, -1, - -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, - 126, 303, 304, 305, 306, -1, -1, 309, -1, -1, - 312, 313, 314, -1, -1, -1, -1, 306, -1, -1, - 309, -1, -1, 312, 313, 314, -1, -1, 93, -1, - 257, 258, 259, 260, 261, -1, 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, 41, -1, - -1, 44, -1, 41, -1, -1, 44, -1, 287, 288, - 289, 290, -1, -1, -1, 58, 59, -1, -1, -1, - 58, 59, -1, -1, -1, 63, 305, 306, -1, 125, - 309, -1, -1, 312, 313, 314, 272, 273, 274, 275, - -1, 257, 258, 259, 260, 261, -1, 263, 264, 265, - 93, -1, 125, 269, -1, 93, 272, 273, 274, 275, - -1, 297, -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, 33, - -1, -1, 36, 37, 38, -1, 40, -1, 42, 43, - -1, 45, -1, -1, -1, -1, -1, 272, 273, 274, - 275, -1, -1, -1, -1, 59, 281, -1, -1, -1, - 64, -1, 287, 288, 289, 290, -1, -1, -1, -1, - -1, -1, 297, 298, 13, 300, 301, 302, 303, 304, - 305, 306, -1, -1, 309, 33, -1, 91, 36, 37, - 38, -1, 40, -1, 42, 43, 26, 45, -1, -1, - 266, 267, 268, 42, 270, 271, 45, -1, -1, -1, - -1, 59, -1, 43, 44, -1, 64, -1, -1, 123, - 50, -1, 126, 266, 267, 268, -1, 270, 271, -1, - -1, -1, 62, 63, 64, 65, -1, -1, -1, -1, - -1, 33, 81, 91, 36, 37, 38, -1, 40, -1, - 42, 43, -1, 45, -1, -1, 95, -1, -1, 272, - 273, 274, 275, -1, 272, 273, 274, 275, -1, -1, - -1, -1, 64, 281, -1, 123, -1, 107, 126, 287, - 288, 289, 290, -1, 297, 298, -1, 300, -1, 297, - 298, -1, 300, 301, 302, 303, 304, 305, 306, 91, - -1, 309, 141, -1, 33, -1, -1, 36, 37, 38, - -1, 40, -1, 42, 43, -1, 45, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 123, -1, -1, 126, 64, -1, -1, -1, 178, - -1, -1, -1, -1, -1, -1, 185, -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, -1, 123, 299, -1, 126, -1, -1, - -1, -1, -1, -1, 308, -1, 310, 311, 256, 257, - 258, 259, 260, 261, -1, 263, 264, 265, -1, -1, - 91, 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, - -1, 299, 123, -1, -1, -1, -1, -1, -1, -1, - 308, -1, 310, 311, -1, 257, 258, 259, 260, 261, - 262, 263, 264, 265, -1, 33, -1, 269, 36, 37, - 38, 123, 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, -1, -1, -1, -1, 257, 258, - 259, 260, 261, 91, 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, 126, 64, - 299, -1, 299, 300, 301, -1, 303, -1, -1, 308, - -1, 310, 311, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 33, -1, 91, 36, 37, 38, - -1, 40, 329, 42, 43, -1, 45, -1, -1, 336, - -1, -1, -1, 340, -1, -1, 287, 288, 289, 290, - 59, -1, -1, -1, -1, 64, 353, 354, 123, -1, - -1, 126, -1, 304, 305, 306, -1, -1, 309, -1, - -1, 312, 313, 314, -1, 287, -1, 289, 290, -1, - 33, -1, 91, 36, 37, 38, -1, 40, -1, 42, - 43, -1, 45, 305, 306, -1, -1, 309, -1, -1, - 312, 313, 314, -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, 257, - 258, 259, 260, 261, -1, 263, 264, 265, 91, 33, - 93, 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, 126, -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, -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, -1, 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, - 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, - 280, -1, 282, 283, 284, 285, 286, 58, 59, -1, - -1, 291, 292, 293, 294, 295, 296, 91, -1, 299, - -1, 126, -1, -1, -1, -1, 41, -1, 308, 44, - 310, 311, -1, 257, 258, 259, 260, 261, -1, 263, - 264, 265, 93, 58, 59, 269, -1, -1, 63, 123, - -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, 91, -1, 93, -1, - -1, -1, -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, 123, -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, 93, -1, -1, - 308, -1, 310, 311, -1, -1, -1, -1, 41, -1, - -1, 44, 257, 258, 259, 260, 261, -1, 263, 264, - 265, -1, -1, -1, 269, 58, 59, 123, -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, 41, -1, 91, 44, - 93, -1, -1, 308, -1, 310, 311, -1, -1, -1, - -1, -1, -1, 58, 59, 289, 290, -1, 63, -1, - -1, 272, 273, 274, 275, -1, -1, -1, -1, -1, - 123, 305, 306, -1, -1, 309, -1, -1, 312, 313, - 314, -1, -1, -1, -1, -1, 297, 298, 93, -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, -1, -1, 123, 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, 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, -1, -1, -1, - -1, -1, -1, 93, -1, -1, -1, -1, -1, 272, - 273, 274, 275, -1, -1, -1, -1, -1, 281, -1, - -1, -1, -1, -1, 287, 288, 289, 290, -1, -1, - -1, -1, -1, 123, 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, -1, 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, -1, -1, - -1, -1, 91, -1, 93, -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, -1, -1, 123, -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, -1, -1, -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, -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, - 41, -1, -1, 44, -1, -1, -1, 91, -1, 93, - 41, -1, -1, 44, -1, -1, -1, 58, 59, -1, - -1, -1, 63, -1, -1, -1, -1, 58, 59, -1, - -1, -1, 63, -1, -1, -1, -1, -1, -1, 123, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 93, 272, 273, 274, 275, -1, 41, -1, - -1, 44, 281, -1, -1, -1, -1, -1, 287, 288, - 289, 290, 123, -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, 41, -1, -1, -1, -1, -1, -1, -1, -1, - 93, -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, - 123, -1, -1, -1, -1, 41, -1, -1, 44, -1, - -1, 91, -1, 93, -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, 123, -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, 272, 273, 274, 275, -1, 41, 123, -1, 44, - 281, 272, 273, 274, 275, -1, 287, 288, 289, 290, - 281, -1, -1, 58, 59, -1, 297, 298, 63, 300, - 301, 302, 303, 304, 305, 306, 297, 298, 309, 300, - 301, 312, 313, 314, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 93, -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, -1, -1, - -1, 58, 59, -1, 297, 298, 63, 300, 301, 302, - 303, 304, 305, 306, -1, -1, 309, -1, -1, 312, - 313, 314, 272, 273, 274, 275, -1, 41, -1, -1, - 44, 281, -1, -1, -1, -1, 93, 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, 272, 273, 274, 275, - -1, 41, -1, -1, 44, 281, -1, -1, -1, 93, - -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, 41, -1, -1, 44, -1, -1, - -1, -1, -1, 93, -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, 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, - 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, - -1, -1, 63, -1, -1, 272, 273, 274, 275, -1, - -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, - 287, 288, 289, 290, -1, -1, -1, -1, -1, -1, - 297, 298, 93, 300, 301, 302, 303, 304, 305, 306, - -1, -1, 309, -1, -1, 312, 313, 314, 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, 272, 273, 274, 275, -1, 41, -1, -1, - 44, 281, -1, -1, -1, 93, -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, 272, 273, 274, 275, -1, - 41, -1, -1, 44, 281, -1, -1, -1, -1, 93, - 287, 288, 289, 290, -1, -1, -1, 58, 59, -1, - 297, 298, 63, 300, 301, 302, 303, 304, 305, 306, - -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, - -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, -1, -1, - -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 93, 58, - 59, -1, -1, -1, 63, -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, -1, 93, -1, 58, 59, -1, 297, - 298, 63, 300, 301, 302, 303, 304, 305, 306, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 272, 273, - 274, 275, -1, 41, -1, -1, 44, 281, -1, -1, - -1, 93, -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, -1, - -1, 272, 273, 274, 275, -1, 41, -1, -1, 44, - 281, -1, -1, -1, -1, 93, 287, 288, 289, 290, - -1, -1, -1, 58, 59, -1, 297, 298, 63, 300, - 301, 302, 303, 304, 305, 306, -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, -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, -1, -1, 272, 273, 274, 275, -1, 41, -1, - -1, 44, 281, -1, -1, -1, -1, -1, 287, 288, - -1, -1, -1, -1, 93, 58, 59, -1, 297, 298, - 63, 300, 301, 302, 303, 304, 305, -1, -1, -1, - 272, 273, 274, 275, -1, 41, -1, -1, 44, 281, - -1, -1, -1, -1, -1, 287, 288, -1, -1, -1, - 93, -1, 58, 59, -1, 297, 298, 63, 300, 301, - 302, 303, 304, -1, -1, -1, 91, -1, -1, -1, - -1, -1, -1, -1, 272, 273, 274, 275, -1, 41, - 63, -1, 44, 281, -1, -1, -1, 93, -1, 287, - 288, -1, -1, -1, -1, -1, 58, 59, 123, 297, - 298, 63, 300, 301, 302, 303, 304, -1, 91, -1, - -1, 58, -1, -1, -1, -1, 63, 272, 273, 274, - 275, -1, -1, -1, -1, -1, 281, -1, -1, -1, - -1, 93, 287, 288, -1, -1, -1, -1, -1, -1, - 123, -1, 297, 298, 91, 300, 301, 302, 303, 304, - -1, -1, -1, -1, -1, 272, 273, 274, 275, -1, - -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, - 287, 288, -1, -1, -1, 63, 123, -1, -1, -1, - 297, 298, -1, 300, 301, 302, 303, 304, -1, -1, - -1, -1, -1, 272, 273, 274, 275, -1, -1, -1, - -1, -1, 281, 91, -1, -1, -1, -1, 25, 26, - -1, -1, -1, -1, -1, -1, -1, -1, 297, 298, - 37, 300, 301, 302, 303, 304, 43, 44, 45, 272, - 273, 274, 275, 50, -1, 123, -1, -1, 281, 91, - -1, -1, -1, -1, -1, 62, 63, 64, 65, -1, - -1, -1, -1, -1, 297, 298, -1, 300, 301, 302, - 303, -1, 287, 288, 289, 290, 272, 273, 274, 275, - -1, 123, -1, -1, -1, 281, 301, 302, 303, 304, - 305, 306, -1, -1, 309, -1, -1, 312, 313, 314, - 107, 297, 298, -1, 300, 301, 302, -1, 281, -1, - -1, -1, -1, -1, 287, 288, 289, 290, -1, -1, - 272, 273, 274, 275, -1, -1, -1, 300, 301, 302, - 303, 304, 305, 306, -1, -1, 309, -1, -1, 312, - 313, 314, -1, -1, 281, 297, 298, -1, 300, -1, - 287, 288, 289, 290, -1, -1, -1, -1, -1, 166, - -1, -1, -1, 300, 301, 302, 303, 304, 305, 306, - 30, -1, 309, -1, -1, 312, 313, 314, 38, -1, - -1, -1, 42, 190, -1, 45, -1, -1, -1, -1, - -1, -1, 52, 53, 54, 55, 56, -1, -1, 59, - 60, -1, -1, 281, -1, -1, 66, -1, -1, 287, - 288, 289, 290, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 301, 302, 303, 304, 305, 306, -1, - -1, 309, -1, 93, 312, 313, 314, -1, -1, -1, - -1, -1, -1, -1, -1, 287, 288, 289, 290, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 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, - 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, 252, -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, 283, -}; -#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 : 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 + +/* 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) + min = parser->stack + 1; + + PerlIO_printf(Perl_debug_log, "\nindex:"); + for (ps = min; ps <= parser->ps; ps++) + PerlIO_printf(Perl_debug_log, " %8d", (int)(ps - parser->stack)); + + 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 + 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) +{ + 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]]); +} + +# 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 */ + +/* 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 yy_parser *parser) +{ + yy_stack_frame *ps = parser->ps; + int i = 0; + + if (!parser->stack) + return; + + YYDPRINTF ((Perl_debug_log, "clearing the parse stack\n")); + + /* Freeing ops on the stack, and the op_latefree / op_latefreed / + * op_attached 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 (i.e. Perl_croak somewhere in yylex() or in one of the + * newFOO() functions), then it's 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 should clearly free the op (making + * sure, for each op we free that 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 { ....; if (...) 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 is + * * attached them to part of a larger tree + * * attached them to PL_compcv + * * attached them to PL_compcv then freed it (as in BEGIN {die } ) + * + * 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 thought should convince you that this + * two-part approach to the reducing ops should handle the first three + * cases above safely. + * + * In the case of attaching to PL_compcv (currently just newATTRSUB + * does this), then we set the op_attached flag on the op that has + * been so attached, then avoid doing the final op_free during + * cleanup, on the assumption that it will happen (or has already + * happened) when PL_compcv is freed. + * + * Note this is fairly fragile mechanism. A more robust approach + * would be to use two of these flag bits as 2-bit reference count + * field for each op, indicating whether it is pointed to from: + * * a parent op + * * the parser stack + * * a CV + * but this would involve reworking all code (core and external) that + * manipulate op trees. + * + * XXX DAPM 17/1/07 I've decided its too fragile for now, and so have + * disabled it */ + +#define DISABLE_STACK_FREE + + +#ifdef DISABLE_STACK_FREE + for (i=0; i< parser->yylen; i++) { + SvREFCNT_dec(ps[-i].compcv); + } + ps -= parser->yylen; #else -#ifdef YYMAXDEPTH -#define YYSTACKSIZE YYMAXDEPTH -#else -#define YYSTACKSIZE 500 -#define YYMAXDEPTH 500 + /* clear any reducing ops (1st pass) */ + + for (i=0; i< parser->yylen; i++) { + LEAVE_SCOPE(ps[-i].savestack_ix); + if (yy_type_tab[yystos[ps[-i].state]] == toketype_opval + && ps[-i].val.opval) { + if ( ! (ps[-i].val.opval->op_attached + && !ps[-i].val.opval->op_latefreed)) + { + if (ps[-i].compcv != PL_compcv) { + PL_compcv = ps[-i].compcv; + PAD_SET_CUR_NOSAVE(CvPADLIST(PL_compcv), 1); + } + op_free(ps[-i].val.opval); + } + } + } #endif + + /* now free whole the stack, including the just-reduced ops */ + + while (ps > parser->stack) { + LEAVE_SCOPE(ps->savestack_ix); + if (yy_type_tab[yystos[ps->state]] == toketype_opval + && ps->val.opval) + { + if (ps->compcv != PL_compcv) { + PL_compcv = ps->compcv; + PAD_SET_CUR_NOSAVE(CvPADLIST(PL_compcv), 1); + } + YYDPRINTF ((Perl_debug_log, "(freeing op)\n")); +#ifndef DISABLE_STACK_FREE + ps->val.opval->op_latefree = 0; + if (!(ps->val.opval->op_attached && !ps->val.opval->op_latefreed)) #endif -int yydebug; -int yynerrs; -int yyerrflag; -int yychar; -YYSTYPE yyval; -YYSTYPE yylval; -#line 624 "perly.y" - /* PROGRAM */ -#line 1315 "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(ptr) -void* ptr; -{ - 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); + op_free(ps->val.opval); + } + SvREFCNT_dec(ps->compcv); + ps--; + } + + Safefree(parser->stack); } + +/*----------. +| yyparse. | +`----------*/ + int -yyparse() +#ifdef PERL_IN_MADLY_C +Perl_madparse (pTHX_ int gramtype) +#else +Perl_yyparse (pTHX_ int gramtype) +#endif { - 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; - extern char *getenv(); + dVAR; + register int yystate; + register int yyn; + int yyresult; + + /* Lookahead token as an internal (translated) token number. */ + int yytoken = 0; + + 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 variable 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(gramtype); +# endif #endif - 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'; + YYDPRINTF ((Perl_debug_log, "Starting parse\n")); + + parser = PL_parser; + + ENTER; /* force parser state cleanup/restoration before we return */ + SAVEPPTR(parser->yylval.pval); + SAVEINT(parser->yychar); + SAVEINT(parser->yyerrstatus); + SAVEINT(parser->stack_size); + SAVEINT(parser->yylen); + SAVEVPTR(parser->stack); + SAVEVPTR(parser->ps); + + /* initialise state for this parse */ + parser->yychar = gramtype; + parser->yyerrstatus = 0; + parser->stack_size = YYINITDEPTH; + parser->yylen = 0; + Newx(parser->stack, YYINITDEPTH, yy_stack_frame); + ps = parser->ps = parser->stack; + ps->state = 0; + SAVEDESTRUCTOR_X(S_clear_yystack, parser); + +/*------------------------------------------------------------. +| yynewstate -- Push a new state, which is found in yystate. | +`------------------------------------------------------------*/ + yynewstate: + + yystate = ps->state; + + YYDPRINTF ((Perl_debug_log, "Entering state %d\n", yystate)); + +#ifndef DISABLE_STACK_FREE + if (yy_type_tab[yystos[yystate]] == toketype_opval && ps->val.opval) { + ps->val.opval->op_latefree = 1; + ps->val.opval->op_latefreed = 0; } #endif - 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) + parser->yylen = 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); - } -#endif + size_t size = ps - parser->stack + 1; + + /* grow the stack? We always leave 1 spare slot, + * in case of a '' -> 'foo' reduction */ + + if (size >= (size_t)parser->stack_size - 1) { + /* this will croak on insufficient memory */ + parser->stack_size *= 2; + Renew(parser->stack, parser->stack_size, yy_stack_frame); + ps = parser->ps = parser->stack + size -1; + + YYDPRINTF((Perl_debug_log, + "parser stack size increased to %lu frames\n", + (unsigned long int)parser->stack_size)); + } } - if ((yyn = yysindex[yystate]) && (yyn += yychar) >= 0 && - yyn <= YYTABLESIZE && yycheck[yyn] == yychar) - { -#if YYDEBUG - if (yydebug) - PerlIO_printf(Perl_debug_log, "yydebug: state %d, shifting to state %d\n", - yystate, yytable[yyn]); + +/* 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->compcv = (CV*)SvREFCNT_inc(PL_compcv); + ps->savestack_ix = PL_savestack_ix; +#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); - } + int i; + for (i=0; i< parser->yylen; i++) { +#ifndef DISABLE_STACK_FREE + 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); + } #endif - yychar = (-1); - goto yyloop; + SvREFCNT_dec(ps[-i].compcv); + } } -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->compcv = (CV*)SvREFCNT_inc(PL_compcv); + ps->savestack_ix = PL_savestack_ix; +#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. */ + SvREFCNT_dec(ps->compcv); + YYPOPSTACK; + /* Pop the rest of the stack. */ + while (ps > parser->stack) { + YYDSYMPRINTF ("Error: popping", yystos[ps->state], &ps->val); + LEAVE_SCOPE(ps->savestack_ix); + if (yy_type_tab[yystos[ps->state]] == toketype_opval + && ps->val.opval) + { + YYDPRINTF ((Perl_debug_log, "(freeing op)\n")); + if (ps->compcv != PL_compcv) { + PL_compcv = ps->compcv; + PAD_SET_CUR_NOSAVE(CvPADLIST(PL_compcv), 1); + } + 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[-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[-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" -{ copline = yyvsp[-9].ival; - yyval.opval = block_end(yyvsp[-7].ival, - append_elem(OP_LINESEQ, scalar(yyvsp[-6].opval), - newSTATEOP(0, yyvsp[-10].pval, - newWHILEOP(0, 1, (LOOP*)Nullop, - scalar(yyvsp[-4].opval), - yyvsp[0].opval, scalar(yyvsp[-2].opval))))); } -break; -case 33: -#line 217 "perly.y" -{ yyval.opval = newSTATEOP(0, - yyvsp[-2].pval, newWHILEOP(0, 1, (LOOP*)Nullop, - 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(0); } -break; -case 54: -#line 284 "perly.y" -{ yyval.ival = start_subparse(CVf_ANON); } -break; -case 55: -#line 288 "perly.y" -{ yyval.ival = start_subparse(CVf_FORMAT); } -break; -case 56: -#line 291 "perly.y" -{ char *name = SvPVx(((SVOP*)yyvsp[0].opval)->op_sv, na); - if (strEQ(name, "BEGIN") || strEQ(name, "END")) - CvUNIQUE_on(compcv); - yyval.opval = yyvsp[0].opval; } -break; -case 57: -#line 298 "perly.y" -{ yyval.opval = Nullop; } -break; -case 59: -#line 302 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 60: -#line 303 "perly.y" -{ yyval.opval = Nullop; expect = XSTATE; } -break; -case 61: -#line 307 "perly.y" -{ package(yyvsp[-1].opval); } -break; -case 62: -#line 309 "perly.y" -{ package(Nullop); } -break; -case 63: -#line 313 "perly.y" -{ CvUNIQUE_on(compcv); /* It's a BEGIN {} */ } -break; -case 64: -#line 315 "perly.y" -{ utilize(yyvsp[-6].ival, yyvsp[-5].ival, yyvsp[-3].opval, yyvsp[-2].opval, yyvsp[-1].opval); } -break; -case 65: -#line 319 "perly.y" -{ yyval.opval = newLOGOP(OP_AND, 0, yyvsp[-2].opval, yyvsp[0].opval); } -break; -case 66: -#line 321 "perly.y" -{ yyval.opval = newLOGOP(yyvsp[-1].ival, 0, yyvsp[-2].opval, yyvsp[0].opval); } -break; -case 68: -#line 326 "perly.y" -{ yyval.opval = yyvsp[-1].opval; } -break; -case 69: -#line 328 "perly.y" -{ yyval.opval = append_elem(OP_LIST, yyvsp[-2].opval, yyvsp[0].opval); } -break; -case 71: -#line 333 "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 336 "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 339 "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 344 "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 349 "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 354 "perly.y" -{ yyval.opval = convert(yyvsp[-1].ival, 0, yyvsp[0].opval); } -break; -case 77: -#line 356 "perly.y" -{ yyval.opval = convert(yyvsp[-3].ival, 0, yyvsp[-1].opval); } -break; -case 78: -#line 358 "perly.y" -{ yyvsp[0].opval = newANONSUB(yyvsp[-1].ival, 0, yyvsp[0].opval); } -break; -case 79: -#line 360 "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 370 "perly.y" -{ yyval.opval = newASSIGNOP(OPf_STACKED, yyvsp[-2].opval, yyvsp[-1].ival, yyvsp[0].opval); } -break; -case 83: -#line 372 "perly.y" -{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } -break; -case 84: -#line 374 "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 378 "perly.y" -{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } -break; -case 86: -#line 380 "perly.y" -{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } -break; -case 87: -#line 382 "perly.y" -{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } -break; -case 88: -#line 384 "perly.y" -{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } -break; -case 89: -#line 386 "perly.y" -{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } -break; -case 90: -#line 388 "perly.y" -{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } -break; -case 91: -#line 390 "perly.y" -{ yyval.opval = newRANGE(yyvsp[-1].ival, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval));} -break; -case 92: -#line 392 "perly.y" -{ yyval.opval = newLOGOP(OP_AND, 0, yyvsp[-2].opval, yyvsp[0].opval); } -break; -case 93: -#line 394 "perly.y" -{ yyval.opval = newLOGOP(OP_OR, 0, yyvsp[-2].opval, yyvsp[0].opval); } -break; -case 94: -#line 396 "perly.y" -{ yyval.opval = newCONDOP(0, yyvsp[-4].opval, yyvsp[-2].opval, yyvsp[0].opval); } -break; -case 95: -#line 398 "perly.y" -{ yyval.opval = bind_match(yyvsp[-1].ival, yyvsp[-2].opval, yyvsp[0].opval); } -break; -case 96: -#line 401 "perly.y" -{ yyval.opval = newUNOP(OP_NEGATE, 0, scalar(yyvsp[0].opval)); } -break; -case 97: -#line 403 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 98: -#line 405 "perly.y" -{ yyval.opval = newUNOP(OP_NOT, 0, scalar(yyvsp[0].opval)); } -break; -case 99: -#line 407 "perly.y" -{ yyval.opval = newUNOP(OP_COMPLEMENT, 0, scalar(yyvsp[0].opval));} -break; -case 100: -#line 409 "perly.y" -{ yyval.opval = newUNOP(OP_REFGEN, 0, mod(yyvsp[0].opval,OP_REFGEN)); } -break; -case 101: -#line 411 "perly.y" -{ yyval.opval = newUNOP(OP_POSTINC, 0, - mod(scalar(yyvsp[-1].opval), OP_POSTINC)); } -break; -case 102: -#line 414 "perly.y" -{ yyval.opval = newUNOP(OP_POSTDEC, 0, - mod(scalar(yyvsp[-1].opval), OP_POSTDEC)); } -break; -case 103: -#line 417 "perly.y" -{ yyval.opval = newUNOP(OP_PREINC, 0, - mod(scalar(yyvsp[0].opval), OP_PREINC)); } -break; -case 104: -#line 420 "perly.y" -{ yyval.opval = newUNOP(OP_PREDEC, 0, - mod(scalar(yyvsp[0].opval), OP_PREDEC)); } -break; -case 105: -#line 423 "perly.y" -{ yyval.opval = localize(yyvsp[0].opval,yyvsp[-1].ival); } -break; -case 106: -#line 425 "perly.y" -{ yyval.opval = sawparens(yyvsp[-1].opval); } -break; -case 107: -#line 427 "perly.y" -{ yyval.opval = sawparens(newNULLLIST()); } -break; -case 108: -#line 429 "perly.y" -{ yyval.opval = newANONLIST(yyvsp[-1].opval); } -break; -case 109: -#line 431 "perly.y" -{ yyval.opval = newANONLIST(Nullop); } -break; -case 110: -#line 433 "perly.y" -{ yyval.opval = newANONHASH(yyvsp[-2].opval); } -break; -case 111: -#line 435 "perly.y" -{ yyval.opval = newANONHASH(Nullop); } -break; -case 112: -#line 437 "perly.y" -{ yyval.opval = newANONSUB(yyvsp[-2].ival, yyvsp[-1].opval, yyvsp[0].opval); } -break; -case 113: -#line 439 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 114: -#line 441 "perly.y" -{ yyval.opval = newBINOP(OP_GELEM, 0, newGVREF(0,yyvsp[-4].opval), yyvsp[-2].opval); } -break; -case 115: -#line 443 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 116: -#line 445 "perly.y" -{ yyval.opval = newBINOP(OP_AELEM, 0, oopsAV(yyvsp[-3].opval), scalar(yyvsp[-1].opval)); } -break; -case 117: -#line 447 "perly.y" -{ yyval.opval = newBINOP(OP_AELEM, 0, - ref(newAVREF(yyvsp[-4].opval),OP_RV2AV), - scalar(yyvsp[-1].opval));} -break; -case 118: -#line 451 "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 455 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 120: -#line 457 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 121: -#line 459 "perly.y" -{ yyval.opval = newUNOP(OP_AV2ARYLEN, 0, ref(yyvsp[0].opval, OP_AV2ARYLEN));} -break; -case 122: -#line 461 "perly.y" -{ yyval.opval = newBINOP(OP_HELEM, 0, oopsHV(yyvsp[-4].opval), jmaybe(yyvsp[-2].opval)); - expect = XOPERATOR; } -break; -case 123: -#line 464 "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 469 "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 474 "perly.y" -{ yyval.opval = newSLICEOP(0, yyvsp[-1].opval, yyvsp[-4].opval); } -break; -case 126: -#line 476 "perly.y" -{ yyval.opval = newSLICEOP(0, yyvsp[-1].opval, Nullop); } -break; -case 127: -#line 478 "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 484 "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 491 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 130: -#line 493 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUB, 0, scalar(yyvsp[0].opval)); } -break; -case 131: -#line 495 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar(yyvsp[-2].opval)); } -break; -case 132: -#line 497 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED, - append_elem(OP_LIST, yyvsp[-1].opval, scalar(yyvsp[-3].opval))); } -break; -case 133: -#line 500 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED, - append_elem(OP_LIST, yyvsp[0].opval, scalar(yyvsp[-1].opval))); } -break; -case 134: -#line 503 "perly.y" -{ yyval.opval = newUNOP(OP_DOFILE, 0, scalar(yyvsp[0].opval)); } -break; -case 135: -#line 505 "perly.y" -{ yyval.opval = newUNOP(OP_NULL, OPf_SPECIAL, scope(yyvsp[0].opval)); } -break; -case 136: -#line 507 "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 515 "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 524 "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 528 "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 533 "perly.y" -{ yyval.opval = newOP(yyvsp[0].ival, OPf_SPECIAL); - hints |= HINT_BLOCK_SCOPE; } -break; -case 141: -#line 536 "perly.y" -{ yyval.opval = newLOOPEX(yyvsp[-1].ival,yyvsp[0].opval); } -break; -case 142: -#line 538 "perly.y" -{ yyval.opval = newUNOP(OP_NOT, 0, scalar(yyvsp[0].opval)); } -break; -case 143: -#line 540 "perly.y" -{ yyval.opval = newOP(yyvsp[0].ival, 0); } -break; -case 144: -#line 542 "perly.y" -{ yyval.opval = newUNOP(yyvsp[-1].ival, 0, yyvsp[0].opval); } -break; -case 145: -#line 544 "perly.y" -{ yyval.opval = newUNOP(yyvsp[-1].ival, 0, yyvsp[0].opval); } -break; -case 146: -#line 546 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED, - append_elem(OP_LIST, yyvsp[0].opval, scalar(yyvsp[-1].opval))); } -break; -case 147: -#line 549 "perly.y" -{ yyval.opval = newOP(yyvsp[0].ival, 0); } -break; -case 148: -#line 551 "perly.y" -{ yyval.opval = newOP(yyvsp[-2].ival, 0); } -break; -case 149: -#line 553 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED, - scalar(yyvsp[0].opval)); } -break; -case 150: -#line 556 "perly.y" -{ yyval.opval = newOP(yyvsp[-2].ival, OPf_SPECIAL); } -break; -case 151: -#line 558 "perly.y" -{ yyval.opval = newUNOP(yyvsp[-3].ival, 0, yyvsp[-1].opval); } -break; -case 152: -#line 560 "perly.y" -{ yyval.opval = pmruntime(yyvsp[-3].opval, yyvsp[-1].opval, Nullop); } -break; -case 153: -#line 562 "perly.y" -{ yyval.opval = pmruntime(yyvsp[-5].opval, yyvsp[-3].opval, yyvsp[-1].opval); } -break; -case 156: -#line 568 "perly.y" -{ yyval.opval = Nullop; } -break; -case 157: -#line 570 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 158: -#line 574 "perly.y" -{ yyval.opval = Nullop; } -break; -case 159: -#line 576 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 160: -#line 578 "perly.y" -{ yyval.opval = yyvsp[-1].opval; } -break; -case 161: -#line 581 "perly.y" -{ yyval.ival = 0; } -break; -case 162: -#line 582 "perly.y" -{ yyval.ival = 1; } -break; -case 163: -#line 586 "perly.y" -{ in_my = 0; yyval.opval = my(yyvsp[0].opval); } -break; -case 164: -#line 590 "perly.y" -{ yyval.opval = newCVREF(yyvsp[-1].ival,yyvsp[0].opval); } -break; -case 165: -#line 594 "perly.y" -{ yyval.opval = newSVREF(yyvsp[0].opval); } -break; -case 166: -#line 598 "perly.y" -{ yyval.opval = newAVREF(yyvsp[0].opval); } -break; -case 167: -#line 602 "perly.y" -{ yyval.opval = newHVREF(yyvsp[0].opval); } -break; -case 168: -#line 606 "perly.y" -{ yyval.opval = newAVREF(yyvsp[0].opval); } -break; -case 169: -#line 610 "perly.y" -{ yyval.opval = newGVREF(0,yyvsp[0].opval); } -break; -case 170: -#line 614 "perly.y" -{ yyval.opval = scalar(yyvsp[0].opval); } -break; -case 171: -#line 616 "perly.y" -{ yyval.opval = scalar(yyvsp[0].opval); } -break; -case 172: -#line 618 "perly.y" -{ yyval.opval = scope(yyvsp[0].opval); } -break; -case 173: -#line 621 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -#line 2215 "perly.c" + SvREFCNT_dec(ps->compcv); + YYPOPSTACK; + } + YYABORT; + } + + YYDSYMPRINTF ("Error: discarding", yytoken, &parser->yylval); + if (yy_type_tab[yytoken] == toketype_opval) + op_free(parser->yylval.opval); + 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) + YYABORT; + + YYDSYMPRINTF ("Error: popping", yystos[ps->state], &ps->val); + LEAVE_SCOPE(ps->savestack_ix); + if (yy_type_tab[yystos[ps->state]] == toketype_opval && ps->val.opval) { + YYDPRINTF ((Perl_debug_log, "(freeing op)\n")); + if (ps->compcv != PL_compcv) { + PL_compcv = ps->compcv; + PAD_SET_CUR_NOSAVE(CvPADLIST(PL_compcv), 1); + } + ps->val.opval->op_latefree = 0; + op_free(ps->val.opval); + } + SvREFCNT_dec(ps->compcv); + 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->compcv = (CV*)SvREFCNT_inc(PL_compcv); + ps->savestack_ix = PL_savestack_ix; +#ifdef DEBUGGING + ps->name =""; #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; + + goto yynewstate; + + + /*-------------------------------------. + | yyacceptlab -- YYACCEPT comes here. | + `-------------------------------------*/ + yyacceptlab: + yyresult = 0; + for (ps=parser->ps; ps > parser->stack; ps--) { + SvREFCNT_dec(ps->compcv); } - *++yyssp = yystate; - *++yyvsp = yyval; - goto yyloop; -yyoverflow: - yyerror("Out of memory for yacc stack"); -yyabort: - retval = 1; -yyaccept: - return retval; + parser->ps = parser->stack; /* disable cleanup */ + goto yyreturn; + + /*-----------------------------------. + | yyabortlab -- YYABORT comes here. | + `-----------------------------------*/ + yyabortlab: + yyresult = 1; + goto yyreturn; + + yyreturn: + LEAVE; /* force parser stack cleanup 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: + */