X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=perly.c;h=18f8606bffd669b98605c3dbe6bb577ea442f9e9;hb=0626a780e6ccb4eb0c4c4129aa294a3687905605;hp=280069f98c18b4cd05a5a4a90e11b2b1579bca50;hpb=bbce6d69784bf43b0e69e8d312042d65f258af23;p=p5sagit%2Fp5-mst-13.2.git diff --git a/perly.c b/perly.c index 280069f..18f8606 100644 --- a/perly.c +++ b/perly.c @@ -1,2345 +1,715 @@ -#ifndef lint -static char yysccsid[] = "@(#)yaccpar 1.8 (Berkeley) 01/20/91"; -#endif -#define YYBYACC 1 -#line 16 "perly.y" +/* perly.c + * + * Copyright (c) 2004, 2005, 2006 Larry Wall and others + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + * Note that this file was originally generated as an output from + * GNU bison version 1.875, but now the code is statically maintained + * and edited; the bits that are dependent on perly.y are now #included + * from the files perly.tab and perly.act. + * + * Here is an important copyright statement from the original, generated + * file: + * + * As a special exception, when this file is copied by Bison into a + * Bison output file, you may use that output file without + * restriction. This special exception was added by the Free + * Software Foundation in version 1.24 of Bison. + */ + + +/* allow stack size to grow effectively without limit */ +#define YYMAXDEPTH 10000000 + #include "EXTERN.h" +#define PERL_IN_PERLY_C #include "perl.h" +typedef signed char yysigned_char; + +#ifdef DEBUGGING +# define YYDEBUG 1 +#else +# define YYDEBUG 0 +#endif + +/* contains all the parser state tables; auto-generated from perly.y */ +#include "perly.tab" + +# define YYSIZE_T size_t + +#define yyerrok (yyerrstatus = 0) +#define yyclearin (yychar = YYEMPTY) +#define YYEMPTY (-2) +#define YYEOF 0 + +#define YYACCEPT goto yyacceptlab +#define YYABORT goto yyabortlab +#define YYERROR goto yyerrlab1 + + +/* Like YYERROR except do call yyerror. This remains here temporarily + to ease the transition to the new meaning of YYERROR, for GCC. + Once GCC version 2 has supplanted version 1, this can go. */ + +#define YYFAIL goto yyerrlab + +#define YYRECOVERING() (!!yyerrstatus) + +#define YYBACKUP(Token, Value) \ +do \ + if (yychar == YYEMPTY && yylen == 1) { \ + yychar = (Token); \ + yylval = (Value); \ + yytoken = YYTRANSLATE (yychar); \ + YYPOPSTACK; \ + goto yybackup; \ + } \ + else { \ + yyerror ("syntax error: cannot back up"); \ + YYERROR; \ + } \ +while (0) + +#define YYTERROR 1 +#define YYERRCODE 256 + +/* 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 (Perl_debug_log, Token, Value); \ + YYFPRINTF (Perl_debug_log, "\n"); \ + } \ +} while (0) + +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ + static void -dep() +yysymprint(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, ")"); } -#define YYERRCODE 256 -short yylhs[] = { -1, - 40, 0, 7, 5, 8, 6, 9, 9, 9, 10, - 10, 10, 10, 22, 22, 22, 22, 22, 22, 13, - 13, 13, 12, 12, 12, 12, 37, 37, 11, 11, - 11, 11, 11, 11, 11, 11, 11, 24, 24, 25, - 25, 26, 27, 28, 29, 30, 39, 39, 1, 1, - 1, 1, 3, 3, 41, 41, 36, 36, 4, 42, - 42, 43, 14, 14, 14, 23, 23, 23, 34, 34, - 34, 34, 34, 34, 34, 34, 35, 35, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 15, 15, 31, 31, 32, 32, 32, 2, 2, 38, - 21, 16, 17, 18, 19, 20, 33, 33, 33, 33, -}; -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, 4, 4, 0, 2, 8, 8, - 5, 5, 10, 9, 8, 11, 3, 0, 1, 0, - 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, - 1, 1, 4, 3, 5, 5, 0, 1, 0, 3, - 2, 6, 3, 3, 1, 2, 3, 1, 3, 5, - 6, 3, 5, 2, 4, 4, 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, 48, 59, 59, 0, 59, 8, 49, - 9, 11, 0, 50, 51, 52, 0, 0, 0, 61, - 0, 14, 4, 151, 0, 0, 126, 0, 146, 0, - 59, 59, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 158, 159, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, - 0, 0, 116, 118, 0, 0, 0, 0, 152, 0, - 54, 0, 60, 0, 7, 167, 170, 169, 168, 0, - 0, 0, 0, 0, 0, 4, 0, 4, 0, 4, - 0, 4, 0, 4, 4, 0, 0, 0, 0, 0, - 165, 0, 132, 0, 0, 0, 0, 0, 161, 0, - 0, 0, 0, 74, 0, 141, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 106, 0, 162, 163, - 164, 166, 0, 0, 37, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 98, 99, 0, 0, - 0, 0, 0, 0, 0, 0, 13, 0, 53, 58, - 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 4, 145, - 147, 0, 0, 0, 0, 0, 0, 108, 0, 130, - 0, 0, 0, 105, 28, 0, 0, 19, 0, 0, - 0, 63, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 77, 0, - 78, 0, 0, 0, 0, 0, 0, 0, 128, 0, - 0, 56, 55, 0, 3, 0, 149, 0, 76, 109, - 0, 45, 0, 31, 46, 0, 32, 0, 0, 0, - 0, 25, 0, 26, 160, 0, 0, 39, 44, 0, - 0, 0, 148, 157, 75, 0, 133, 0, 135, 0, - 107, 0, 0, 0, 0, 0, 0, 0, 115, 0, - 113, 0, 124, 0, 129, 62, 73, 0, 0, 0, - 0, 6, 21, 0, 0, 0, 0, 0, 0, 70, - 134, 136, 123, 0, 121, 0, 0, 114, 0, 119, - 125, 111, 150, 0, 0, 0, 7, 0, 0, 0, - 0, 0, 0, 122, 120, 71, 29, 30, 23, 0, - 0, 24, 0, 35, 0, 0, 5, 0, 0, 0, - 34, 22, 33, 0, 36, -}; -short yydgoto[] = { 1, - 9, 66, 10, 17, 85, 337, 88, 313, 3, 11, - 12, 68, 272, 268, 70, 71, 72, 73, 74, 75, - 76, 278, 78, 279, 262, 265, 269, 281, 263, 266, - 124, 204, 90, 79, 242, 181, 145, 276, 13, 2, - 14, 15, 16, -}; -short yysindex[] = { 0, - 0, 0, -118, 0, 0, 0, -52, 0, 0, 0, - 0, 0, 616, 0, 0, 0, -117, -225, -12, 0, - -219, 0, 0, 0, -28, -28, 0, 32, 0, 2245, - 0, 0, -7, -6, 3, 22, -35, 2245, 38, 44, - 48, -28, 1004, 1067, -196, 0, 0, -28, 2245, 948, - 1343, 2245, 2245, 2245, 2245, 2245, 1399, 0, 2245, 2245, - 1455, -28, -28, -28, -28, 2245, -215, 0, 192, 3934, - -67, -50, 0, 0, -10, 71, 64, 81, 0, 4, - 0, -114, 0, -115, 0, 0, 0, 0, 0, 2245, - 115, 2245, 3934, 4, -114, 0, 4, 0, 4, 0, - 4, 0, 4, 0, 0, 125, 3934, 126, 1518, 948, - 0, 130, 0, 2305, -24, 46, -56, 2245, 0, 81, - 0, -67, 81, 0, 2245, 0, 2305, -77, -77, -77, - -81, -81, 83, -21, -77, -77, 0, -84, 0, 0, - 0, 0, 2305, 4, 0, 2245, 2245, 2245, 2245, 2245, - 2245, 2245, 2245, 2245, 2245, 2245, 2245, 2245, 2245, 2245, - 2245, 2245, 2245, 2245, 2245, 2245, 0, 0, -17, 2245, - 2245, 2245, 2245, 2245, 2245, 1794, 0, 2245, 0, 0, - -36, 2245, -49, 0, 2245, 326, 2245, 4, 2245, -215, - 2245, -215, 2245, -156, 2245, -156, 143, 1850, 0, 0, - 0, -2, 13, 140, 2245, 1906, 1969, 0, 58, 0, - 81, 2245, 95, 0, 0, -164, -164, 0, -164, -164, - -109, 0, -48, 2384, 2305, 2819, 941, 1031, 3934, 3894, - 3965, 3724, 359, 435, 1190, -77, -77, 2245, 0, 2245, - 0, 149, -80, 21, -65, 23, 82, 56, 0, 8, - 3934, 0, 0, 136, 0, 155, 0, 2245, 0, 0, - -164, 0, 167, 0, 0, 169, 0, -164, 172, 101, - 174, 0, 185, 0, 0, 198, 192, 0, 0, 201, - 202, 2245, 0, 0, 0, 11, 0, 17, 0, 19, - 0, 84, 2245, 139, 2245, 69, 91, 2245, 0, 153, - 0, 158, 0, 161, 0, 0, 0, 400, 101, 101, - 101, 0, 0, 2245, 101, 2245, 101, 2245, 247, 0, - 0, 0, 0, 105, 0, 1734, 175, 0, 261, 0, - 0, 0, 0, -215, -215, -156, 0, 269, -156, 279, - -215, 268, 101, 0, 0, 0, 0, 0, 0, 278, - 101, 0, 101, 0, 1850, -215, 0, -156, -215, 300, - 0, 0, 0, 101, 0, -}; -short yyrindex[] = { 0, - 0, 0, 220, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 2453, 2118, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 3021, - 3064, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 65, 0, -14, -29, - 3121, 3189, 0, 0, 2353, 2177, 0, 309, 0, 0, - 0, -33, 0, 0, 0, 0, 0, 0, 0, 2520, - 0, 0, 843, 0, 230, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 1177, 0, 0, 319, - 0, 2285, 0, 1241, 3121, 0, 0, 2520, 0, 2588, - 496, 557, 2651, 0, 0, 0, 1692, 674, 3387, 3470, - 110, 3299, 2719, 0, 3518, 3592, 0, 0, 0, 0, - 0, 0, 2038, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 2786, 0, 0, - 0, 302, 892, 0, 319, 0, 2520, 0, 325, 65, - 0, 65, 0, 164, 0, 164, 0, 312, 0, 0, - 0, 0, 331, 0, 0, 0, 0, 0, 0, 0, - 2886, 0, 2954, 0, 0, 10, 12, 0, 34, 53, - 1047, 0, 0, 1185, 3811, 3827, 3719, 3767, 1294, 0, - 1636, 1580, 1129, 3871, -4, 3636, 3674, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1572, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 59, 0, 0, 0, 0, 0, 0, 333, 0, 0, - 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 319, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 322, 0, 0, - 0, 0, 0, 0, 0, -23, 0, 0, 0, 0, - 0, 0, 0, 65, 65, 164, 0, 0, 164, 0, - 65, 0, 0, 0, 0, 0, 0, 0, 0, 892, - 0, 0, 0, 0, 347, 65, 0, 164, 65, 0, - 0, 0, 0, 0, 0, -}; -short yygindex[] = { 0, - 0, 0, 0, 60, -19, 0, 4247, 768, -83, 0, - 0, 0, -192, -13, 3466, 2324, 0, 0, 0, 0, - 0, 377, 955, 0, 0, 245, -173, 39, 75, 204, - -68, -168, 966, 0, 0, 313, 335, 0, 0, 0, - 0, 0, 0, -}; -#define YYTABLESIZE 4435 -short yytable[] = { 69, - 62, 183, 209, 274, 105, 23, 20, 62, 214, 170, - 294, 68, 299, 170, 68, 207, 256, 91, 62, 213, - 91, 184, 252, 172, 280, 57, 15, 301, 68, 68, - 117, 82, 96, 98, 91, 91, 83, 84, 283, 83, - 174, 152, 100, 134, 15, 152, 83, 138, 305, 210, - 18, 320, 42, 83, 83, 171, 284, 321, 83, 322, - 118, 102, 144, 68, 27, 18, 172, 21, 18, 91, - 42, 92, 173, 240, 16, 255, 189, 108, 191, 300, - 193, 302, 195, 109, 197, 198, 23, 110, 83, 57, - 94, 95, 16, 17, 23, 202, 203, 27, 171, 41, - 27, 27, 27, 43, 27, 238, 27, 27, 319, 27, - 176, 17, 175, 254, 304, 23, 23, 41, 259, 270, - 271, 15, 177, 27, 178, 23, 23, 327, 27, 329, - 150, 151, 216, 217, 219, 220, 221, 222, 223, 80, - 338, 182, 340, 349, 23, 180, 352, 4, 5, 6, - 100, 7, 8, 100, 185, 27, 243, 244, 245, 246, - 247, 248, 250, 20, 199, 362, 200, 100, 100, 206, - 208, 203, 100, 212, 303, 261, 323, 217, 62, 282, - 285, 217, 291, 328, 277, 293, 151, 27, 298, 27, - 27, 286, 288, 290, 306, 307, 20, 344, 292, 20, - 20, 20, 100, 20, 19, 20, 20, 309, 20, 310, - 150, 151, 311, 314, 150, 151, 4, 5, 6, 2, - 7, 8, 20, 312, 296, 315, 297, 20, 86, 150, - 151, 166, 169, 87, 167, 168, 169, 316, 150, 151, - 239, 317, 68, 68, 68, 68, 150, 151, 91, 91, - 91, 91, 47, 350, 20, 47, 47, 47, 104, 47, - 318, 47, 47, 325, 47, 68, 68, 83, 83, 83, - 83, 91, 91, 150, 151, 91, 83, 330, 47, 324, - 83, 83, 331, 47, 203, 332, 20, 343, 20, 20, - 83, 83, 150, 151, 83, 83, 83, 83, 83, 345, - 83, 346, 150, 151, 261, 150, 151, 150, 151, 351, - 47, 150, 151, 150, 151, 150, 151, 150, 151, 353, - 27, 27, 27, 27, 27, 27, 355, 27, 27, 27, - 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, - 364, 69, 47, 27, 27, 47, 27, 27, 27, 65, - 150, 151, 57, 27, 27, 27, 27, 27, 27, 155, - 153, 27, 27, 150, 151, 40, 257, 65, 27, 258, - 38, 156, 27, 43, 27, 27, 150, 151, 150, 151, - 40, 100, 100, 100, 100, 150, 151, 38, 159, 77, - 100, 218, 342, 360, 100, 100, 100, 100, 273, 150, - 151, 65, 357, 0, 100, 100, 0, 188, 100, 100, - 100, 100, 100, 0, 100, 100, 170, 0, 100, 20, - 20, 20, 20, 20, 20, 0, 20, 20, 20, 20, - 20, 20, 20, 20, 20, 20, 20, 20, 20, 0, - 333, 0, 20, 20, 0, 20, 20, 20, 152, 170, - 0, 0, 20, 20, 20, 20, 20, 20, 0, 0, - 20, 20, 159, 146, 147, 148, 149, 20, 0, 0, - 0, 20, 0, 20, 20, 47, 47, 47, 47, 47, - 47, 152, 47, 47, 47, 0, 150, 151, 47, 0, - 170, 47, 47, 47, 47, 0, 0, 0, 47, 47, - 0, 47, 47, 47, 0, 0, 0, 0, 47, 47, - 47, 47, 47, 47, 0, 0, 47, 47, 0, 0, - 0, 0, 152, 47, 264, 170, 267, 47, 167, 47, - 47, 167, 167, 167, 0, 167, 151, 167, 167, 151, - 167, 0, 0, 4, 5, 6, 0, 7, 8, 0, - 0, 0, 0, 151, 151, 0, 0, 152, 151, 167, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 65, 65, 65, 65, 0, 0, 151, 0, 151, 168, - 0, 0, 168, 168, 168, 0, 168, 110, 168, 168, - 110, 168, 0, 65, 65, 0, 153, 0, 0, 0, - 154, 155, 156, 157, 110, 110, 0, 0, 151, 110, - 168, 167, 0, 0, 158, 160, 161, 162, 163, 0, - 164, 165, 0, 0, 166, 0, 0, 167, 168, 169, - 0, 0, 0, 154, 155, 156, 157, 0, 52, 110, - 0, 62, 64, 48, 0, 57, 0, 65, 60, 0, - 59, 163, 0, 164, 165, 0, 0, 166, 347, 348, - 167, 168, 169, 0, 58, 354, 0, 0, 0, 63, - 153, 0, 168, 0, 154, 155, 156, 157, 0, 0, - 361, 0, 0, 363, 0, 0, 0, 0, 158, 160, - 161, 162, 163, 0, 164, 165, 61, 0, 166, 0, - 0, 167, 168, 169, 95, 0, 0, 95, 0, 154, - 155, 156, 157, 0, 0, 0, 0, 0, 0, 0, - 0, 95, 95, 0, 0, 0, 95, 0, 23, 164, - 165, 53, 0, 166, 0, 0, 167, 168, 169, 0, - 0, 0, 167, 167, 167, 167, 167, 0, 167, 167, - 167, 0, 0, 0, 167, 0, 95, 151, 151, 151, - 151, 0, 0, 0, 0, 167, 151, 167, 167, 167, - 151, 151, 151, 151, 167, 167, 167, 167, 167, 167, - 151, 151, 167, 167, 151, 151, 151, 151, 151, 167, - 151, 151, 0, 167, 151, 167, 167, 151, 151, 151, - 0, 0, 0, 168, 168, 168, 168, 168, 0, 168, - 168, 168, 0, 0, 0, 168, 0, 0, 110, 110, - 110, 110, 0, 0, 0, 0, 168, 110, 168, 168, - 168, 110, 110, 110, 110, 168, 168, 168, 168, 168, - 168, 110, 110, 168, 168, 110, 110, 110, 110, 110, - 168, 110, 110, 0, 168, 110, 168, 168, 110, 110, - 110, 22, 24, 25, 26, 27, 28, 0, 29, 30, - 31, 0, 0, 143, 32, 0, 143, 33, 34, 35, - 36, 0, 0, 0, 37, 38, 0, 39, 40, 41, - 143, 143, 0, 0, 42, 43, 44, 45, 46, 47, - 0, 0, 49, 50, 0, 0, 0, 0, 0, 51, - 0, 0, 0, 54, 47, 55, 56, 47, 47, 47, - 0, 47, 0, 47, 47, 143, 47, 0, 0, 0, - 0, 0, 0, 0, 0, 95, 95, 95, 95, 0, - 47, 0, 0, 0, 95, 47, 0, 0, 95, 95, - 95, 95, 0, 0, 0, 0, 0, 0, 95, 95, - 0, 0, 95, 95, 95, 95, 95, 0, 95, 95, - 52, 0, 47, 62, 64, 48, 0, 57, 0, 65, - 60, 91, 59, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 120, 123, 0, 0, 111, 0, 0, - 0, 63, 0, 119, 47, 125, 0, 47, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 139, 140, 141, - 142, 170, 0, 0, 0, 0, 52, 0, 61, 62, - 64, 48, 0, 57, 123, 65, 60, 0, 59, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 152, 0, 0, 0, 63, 0, 0, - 23, 0, 123, 53, 0, 205, 334, 335, 336, 211, - 0, 0, 339, 0, 341, 0, 0, 64, 0, 0, - 64, 0, 0, 0, 61, 0, 0, 0, 0, 52, - 0, 0, 62, 64, 48, 64, 57, 0, 65, 60, - 356, 59, 0, 0, 143, 143, 143, 143, 358, 0, - 359, 170, 0, 0, 0, 116, 23, 0, 0, 53, - 63, 365, 0, 0, 0, 0, 123, 143, 143, 64, - 0, 123, 0, 0, 0, 0, 0, 47, 47, 47, - 47, 47, 47, 152, 47, 47, 47, 61, 0, 0, - 47, 0, 0, 47, 47, 47, 47, 0, 0, 87, - 47, 47, 87, 47, 47, 47, 0, 0, 0, 0, - 47, 47, 47, 47, 47, 47, 87, 87, 47, 47, - 0, 87, 53, 0, 0, 47, 0, 0, 0, 47, - 0, 47, 47, 0, 121, 25, 26, 27, 28, 87, - 29, 30, 31, 0, 0, 0, 32, 138, 0, 0, - 138, 87, 0, 0, 0, 88, 0, 38, 88, 39, - 40, 41, 0, 0, 138, 138, 42, 43, 44, 45, - 46, 47, 88, 88, 49, 50, 165, 88, 0, 166, - 0, 51, 167, 168, 169, 54, 0, 55, 56, 0, - 112, 25, 26, 27, 28, 0, 29, 30, 31, 138, - 0, 0, 32, 0, 0, 0, 0, 88, 0, 0, - 170, 131, 0, 38, 131, 39, 40, 41, 0, 0, - 0, 0, 42, 43, 44, 45, 46, 47, 131, 131, - 49, 50, 0, 131, 0, 0, 0, 51, 0, 0, - 0, 54, 152, 55, 56, 0, 0, 156, 64, 64, - 64, 64, 0, 24, 25, 26, 27, 28, 0, 29, - 30, 31, 0, 131, 79, 32, 165, 79, 0, 166, - 0, 64, 167, 168, 169, 0, 38, 0, 39, 40, - 41, 79, 79, 0, 0, 42, 43, 44, 45, 46, - 47, 0, 0, 49, 50, 0, 0, 0, 0, 0, - 51, 0, 0, 0, 54, 52, 55, 56, 62, 64, - 48, 0, 57, 0, 65, 60, 79, 59, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 87, 87, 87, 87, 0, 0, 63, 0, 0, 87, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 87, 87, 0, 0, 87, 87, 87, - 87, 52, 0, 61, 62, 64, 48, 0, 57, 133, - 65, 60, 0, 59, 0, 0, 0, 0, 138, 138, - 138, 138, 0, 0, 0, 0, 88, 88, 88, 88, - 0, 0, 63, 0, 0, 23, 0, 0, 53, 0, - 0, 138, 138, 0, 0, 0, 156, 157, 0, 88, - 88, 0, 0, 88, 0, 0, 0, 52, 0, 61, - 62, 64, 48, 0, 57, 165, 65, 60, 166, 59, - 0, 167, 168, 169, 0, 0, 0, 0, 0, 0, - 0, 0, 131, 131, 131, 131, 0, 0, 63, 0, - 0, 131, 0, 0, 53, 131, 131, 0, 0, 0, - 0, 0, 0, 0, 0, 131, 131, 0, 0, 131, - 131, 131, 131, 131, 0, 61, 0, 137, 0, 0, - 52, 0, 0, 62, 64, 48, 0, 57, 201, 65, - 60, 0, 59, 0, 0, 79, 79, 79, 79, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 53, 63, 0, 0, 0, 0, 0, 0, 79, 79, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, - 25, 26, 27, 28, 0, 29, 30, 31, 61, 0, - 0, 32, 67, 0, 0, 67, 0, 0, 0, 0, - 89, 0, 38, 89, 39, 40, 41, 0, 0, 67, - 67, 42, 43, 44, 45, 46, 47, 89, 89, 49, - 50, 0, 89, 53, 0, 0, 51, 0, 0, 0, - 54, 0, 55, 56, 0, 24, 25, 26, 27, 28, - 0, 29, 30, 31, 67, 0, 0, 32, 0, 0, - 0, 0, 89, 0, 0, 0, 90, 0, 38, 90, - 39, 40, 41, 0, 0, 0, 0, 42, 43, 44, - 45, 46, 47, 90, 90, 49, 50, 0, 90, 0, - 0, 0, 51, 0, 0, 0, 54, 0, 55, 56, - 0, 24, 25, 26, 27, 28, 0, 29, 30, 31, - 0, 0, 0, 32, 0, 0, 0, 0, 90, 0, - 0, 0, 142, 0, 38, 142, 39, 40, 41, 0, - 0, 0, 0, 42, 43, 44, 45, 46, 47, 142, - 142, 49, 50, 0, 142, 0, 0, 0, 51, 0, - 0, 0, 54, 0, 55, 56, 0, 0, 0, 0, - 0, 0, 0, 0, 24, 25, 26, 27, 28, 0, - 29, 30, 31, 0, 142, 0, 32, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 159, 38, 0, 39, - 40, 41, 0, 0, 0, 0, 42, 43, 44, 45, - 46, 47, 0, 0, 49, 50, 0, 0, 0, 0, - 0, 51, 0, 0, 170, 54, 52, 55, 56, 62, - 64, 48, 0, 57, 249, 65, 60, 0, 59, 0, - 0, 0, 0, 67, 67, 67, 67, 0, 0, 0, - 0, 89, 89, 89, 89, 0, 152, 63, 0, 0, - 89, 0, 0, 0, 0, 0, 67, 67, 0, 0, - 0, 0, 0, 0, 89, 89, 0, 0, 89, 89, - 89, 0, 52, 0, 61, 62, 64, 48, 0, 57, - 0, 65, 60, 0, 59, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 90, 90, 90, - 90, 0, 0, 63, 0, 0, 90, 0, 0, 53, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 90, 90, 0, 0, 90, 90, 0, 0, 52, 0, - 61, 62, 64, 48, 0, 57, 287, 65, 60, 0, - 59, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 142, 142, 142, 142, 0, 0, 63, - 0, 0, 142, 0, 0, 53, 142, 142, 0, 0, - 0, 0, 0, 0, 0, 0, 142, 142, 0, 0, - 142, 142, 142, 142, 142, 0, 61, 0, 0, 0, - 0, 52, 0, 0, 62, 64, 48, 0, 57, 289, - 65, 60, 0, 59, 153, 0, 0, 0, 154, 155, - 156, 157, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 53, 63, 160, 161, 162, 163, 0, 164, 165, - 0, 0, 166, 0, 0, 167, 168, 169, 0, 0, - 24, 25, 26, 27, 28, 0, 29, 30, 31, 61, - 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 38, 0, 39, 40, 41, 102, 0, - 0, 102, 42, 43, 44, 45, 46, 47, 0, 0, - 49, 50, 0, 0, 53, 102, 102, 51, 0, 0, - 102, 54, 0, 55, 56, 22, 24, 25, 26, 27, - 28, 0, 29, 30, 31, 0, 0, 0, 32, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, - 102, 39, 40, 41, 0, 0, 0, 0, 42, 43, - 44, 45, 46, 47, 0, 0, 49, 50, 0, 0, - 0, 0, 0, 51, 0, 0, 0, 54, 144, 55, - 56, 144, 24, 25, 26, 27, 28, 0, 29, 30, - 31, 0, 0, 0, 32, 144, 144, 0, 0, 0, - 144, 0, 0, 0, 0, 38, 0, 39, 40, 41, - 0, 0, 0, 0, 42, 43, 44, 45, 46, 47, - 0, 0, 49, 50, 0, 0, 0, 0, 144, 51, - 144, 0, 0, 54, 0, 55, 56, 127, 0, 0, - 127, 0, 0, 0, 0, 24, 25, 26, 27, 28, - 0, 29, 30, 31, 127, 127, 0, 32, 0, 127, - 144, 0, 0, 0, 0, 0, 0, 0, 38, 0, - 39, 40, 41, 0, 0, 0, 0, 42, 43, 44, - 45, 46, 47, 0, 0, 49, 50, 127, 0, 127, - 0, 0, 51, 0, 0, 0, 54, 52, 55, 56, - 62, 64, 48, 0, 57, 0, 65, 60, 0, 59, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, - 0, 0, 0, 0, 0, 0, 0, 0, 63, 102, - 102, 102, 102, 0, 0, 0, 0, 0, 102, 0, - 0, 0, 102, 102, 0, 151, 0, 0, 151, 0, - 0, 0, 102, 102, 0, 61, 102, 102, 102, 102, - 102, 0, 151, 151, 0, 0, 0, 151, 89, 89, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 106, 0, 0, 0, 0, 89, 115, 0, 0, 0, - 53, 89, 0, 122, 0, 151, 0, 151, 0, 0, - 0, 0, 0, 0, 0, 89, 89, 89, 89, 144, - 144, 144, 144, 112, 0, 170, 112, 0, 144, 0, - 0, 0, 144, 144, 144, 144, 0, 151, 0, 0, - 112, 112, 144, 144, 0, 112, 144, 144, 144, 144, - 144, 0, 144, 144, 0, 0, 144, 152, 0, 144, - 144, 144, 0, 122, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 112, 0, 112, 0, 0, 127, 127, - 127, 127, 0, 0, 0, 0, 0, 127, 0, 0, - 0, 127, 127, 127, 127, 0, 0, 0, 0, 0, - 0, 127, 127, 0, 170, 127, 127, 127, 127, 127, - 0, 127, 127, 0, 0, 127, 0, 0, 127, 127, - 127, 0, 241, 137, 0, 0, 137, 0, 0, 0, - 0, 24, 25, 26, 27, 28, 152, 29, 30, 31, - 137, 137, 0, 32, 0, 137, 0, 0, 0, 0, - 275, 0, 0, 0, 38, 0, 39, 40, 41, 0, - 0, 0, 0, 42, 43, 44, 45, 46, 47, 0, - 0, 49, 50, 0, 0, 137, 0, 0, 51, 0, - 0, 0, 54, 0, 55, 56, 151, 151, 151, 151, - 153, 0, 0, 153, 0, 151, 0, 0, 0, 151, - 151, 151, 151, 0, 0, 137, 0, 153, 153, 151, - 151, 0, 153, 151, 151, 151, 151, 151, 0, 151, - 151, 156, 157, 151, 0, 0, 151, 151, 151, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 164, - 165, 0, 153, 166, 0, 0, 167, 168, 169, 0, - 0, 0, 0, 0, 112, 112, 112, 112, 139, 0, - 0, 0, 0, 112, 0, 0, 0, 112, 112, 112, - 112, 0, 153, 0, 0, 139, 139, 112, 112, 0, - 139, 112, 112, 112, 112, 112, 0, 112, 112, 0, - 0, 112, 0, 0, 112, 112, 112, 0, 154, 155, - 156, 157, 0, 0, 0, 0, 0, 0, 139, 0, - 139, 0, 0, 160, 161, 162, 163, 0, 164, 165, - 0, 154, 166, 0, 0, 167, 168, 169, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 154, 154, - 139, 0, 0, 154, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 137, 137, 137, 137, 0, 0, - 0, 0, 0, 137, 0, 0, 0, 137, 137, 137, - 137, 154, 0, 154, 0, 0, 0, 137, 137, 0, - 0, 137, 137, 137, 137, 137, 0, 137, 137, 104, - 0, 137, 104, 0, 137, 137, 137, 0, 0, 0, - 0, 0, 0, 154, 0, 0, 104, 104, 0, 0, - 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 153, 153, 153, 153, 0, 0, 0, 0, 0, - 153, 0, 0, 0, 153, 153, 153, 153, 0, 0, - 0, 104, 0, 0, 153, 153, 0, 0, 153, 153, - 153, 153, 153, 0, 153, 153, 66, 0, 153, 66, - 0, 153, 153, 153, 0, 0, 0, 0, 0, 0, - 0, 104, 0, 66, 66, 0, 0, 0, 66, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 139, - 139, 139, 139, 0, 0, 0, 0, 0, 139, 0, - 0, 0, 139, 139, 139, 139, 0, 0, 66, 0, - 0, 0, 139, 139, 0, 0, 139, 139, 139, 139, - 139, 0, 139, 139, 0, 0, 139, 0, 0, 139, - 139, 139, 0, 0, 0, 0, 0, 0, 66, 170, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 154, 154, 154, 154, 69, 0, 0, 0, - 0, 154, 0, 0, 0, 154, 154, 154, 154, 0, - 0, 152, 0, 69, 69, 154, 154, 0, 69, 154, - 154, 154, 154, 154, 0, 154, 154, 0, 0, 154, - 0, 0, 154, 154, 154, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 69, 0, 69, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 104, 104, 104, 104, 103, 0, 0, 103, 0, 104, - 0, 0, 0, 104, 104, 104, 104, 0, 69, 0, - 0, 103, 103, 104, 104, 0, 103, 104, 104, 104, - 104, 104, 0, 104, 104, 0, 0, 104, 0, 0, - 104, 104, 104, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 103, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 66, 66, 66, - 66, 153, 0, 0, 153, 0, 66, 0, 0, 0, - 66, 66, 66, 66, 0, 0, 103, 0, 153, 153, - 66, 66, 0, 153, 66, 66, 66, 66, 66, 0, - 66, 66, 0, 0, 66, 0, 0, 66, 66, 66, - 0, 0, 0, 154, 140, 156, 157, 140, 0, 0, - 0, 0, 0, 153, 0, 0, 0, 0, 0, 0, - 0, 140, 140, 164, 165, 0, 140, 166, 0, 0, - 167, 168, 169, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 140, 69, 69, 69, - 69, 110, 0, 0, 110, 0, 69, 0, 0, 0, - 69, 69, 69, 69, 0, 0, 0, 0, 110, 110, - 69, 69, 0, 110, 69, 69, 69, 69, 69, 0, - 69, 69, 0, 0, 69, 0, 0, 69, 69, 69, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 110, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 103, 103, 103, 103, 117, - 0, 0, 117, 0, 103, 0, 0, 0, 103, 103, - 103, 103, 0, 0, 0, 0, 117, 117, 103, 103, - 0, 117, 103, 103, 103, 103, 103, 0, 103, 103, - 0, 0, 103, 0, 0, 103, 103, 103, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 117, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 153, 153, 153, 153, 0, 0, 0, 0, - 0, 153, 0, 0, 0, 153, 153, 153, 153, 0, - 0, 0, 0, 0, 0, 153, 153, 0, 0, 153, - 153, 153, 153, 153, 0, 153, 153, 0, 0, 153, - 0, 0, 153, 153, 153, 140, 140, 140, 140, 101, - 0, 0, 101, 0, 140, 0, 0, 0, 140, 140, - 140, 140, 0, 0, 0, 0, 101, 101, 140, 140, - 0, 101, 140, 140, 140, 140, 140, 0, 140, 140, - 0, 0, 140, 0, 0, 140, 140, 140, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 101, 110, 110, 110, 110, 0, 0, 0, 0, - 0, 110, 0, 0, 0, 110, 110, 110, 110, 0, - 0, 0, 0, 0, 0, 110, 110, 0, 0, 110, - 110, 110, 110, 110, 0, 110, 110, 96, 0, 110, - 96, 0, 110, 110, 110, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 96, 96, 0, 0, 0, 96, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 117, 117, 117, 117, 0, 0, 0, 0, 0, 117, - 0, 0, 0, 117, 117, 117, 117, 0, 0, 96, - 0, 0, 0, 117, 117, 0, 0, 117, 117, 117, - 117, 117, 0, 117, 117, 93, 0, 117, 0, 0, - 117, 117, 117, 107, 0, 0, 0, 0, 114, 0, - 97, 0, 0, 97, 0, 0, 127, 128, 129, 130, - 131, 132, 0, 0, 135, 136, 0, 97, 97, 0, - 0, 143, 97, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 186, 93, 0, - 0, 93, 97, 0, 0, 0, 0, 0, 0, 0, - 101, 101, 101, 101, 0, 93, 93, 0, 0, 101, - 93, 0, 0, 101, 101, 101, 101, 0, 0, 0, - 0, 0, 0, 101, 101, 0, 0, 101, 101, 101, - 101, 101, 0, 101, 101, 0, 0, 101, 0, 0, - 93, 0, 0, 0, 0, 0, 0, 0, 224, 225, - 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, - 236, 237, 94, 0, 0, 94, 0, 0, 0, 0, - 0, 0, 0, 251, 0, 0, 0, 0, 0, 94, - 94, 0, 0, 0, 94, 0, 0, 0, 96, 96, - 96, 96, 0, 0, 0, 0, 0, 96, 0, 0, - 0, 96, 96, 96, 96, 0, 92, 0, 0, 92, - 0, 96, 96, 0, 94, 96, 96, 96, 96, 96, - 0, 96, 96, 92, 92, 0, 0, 0, 92, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 80, 0, 0, 80, 0, 0, - 0, 0, 0, 308, 0, 0, 0, 0, 92, 0, - 0, 80, 80, 0, 0, 0, 80, 0, 0, 0, - 0, 97, 97, 97, 97, 0, 0, 0, 0, 0, - 97, 0, 0, 0, 97, 97, 97, 97, 0, 81, - 326, 0, 81, 0, 97, 97, 80, 0, 97, 97, - 97, 97, 97, 0, 97, 97, 81, 81, 0, 0, - 0, 81, 0, 0, 0, 0, 0, 0, 0, 93, - 93, 93, 93, 0, 0, 0, 0, 0, 93, 0, - 0, 0, 93, 93, 93, 93, 0, 82, 0, 0, - 82, 81, 93, 93, 170, 0, 93, 93, 93, 93, - 93, 0, 93, 93, 82, 82, 0, 0, 0, 82, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 152, 0, 0, 0, - 0, 84, 0, 0, 84, 0, 0, 0, 0, 82, - 0, 0, 0, 94, 94, 94, 94, 85, 84, 84, - 85, 0, 94, 84, 0, 0, 94, 94, 94, 94, - 0, 0, 0, 0, 85, 85, 94, 94, 0, 85, - 94, 94, 94, 94, 94, 0, 94, 94, 0, 0, - 0, 0, 0, 84, 0, 0, 0, 92, 92, 92, - 92, 86, 0, 0, 86, 0, 92, 0, 0, 85, - 92, 92, 92, 92, 0, 0, 0, 0, 86, 86, - 92, 92, 0, 86, 92, 92, 92, 92, 92, 0, - 92, 92, 0, 0, 0, 80, 80, 80, 80, 0, - 0, 295, 0, 0, 80, 0, 159, 0, 80, 80, - 80, 80, 0, 86, 0, 0, 0, 0, 80, 80, - 0, 0, 80, 80, 80, 80, 80, 0, 80, 80, - 0, 0, 0, 0, 170, 0, 0, 0, 0, 0, - 81, 81, 81, 81, 0, 0, 159, 0, 0, 81, - 0, 0, 0, 81, 81, 81, 81, 0, 154, 155, - 156, 157, 0, 81, 81, 0, 152, 81, 81, 81, - 81, 81, 0, 81, 170, 162, 163, 0, 164, 165, - 0, 0, 166, 0, 0, 167, 168, 169, 82, 82, - 82, 82, 0, 0, 0, 0, 0, 82, 0, 0, - 0, 82, 82, 0, 82, 170, 152, 0, 0, 0, - 0, 82, 82, 0, 0, 82, 82, 82, 82, 82, - 0, 82, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 84, 84, 84, 84, 0, 152, 0, 0, - 0, 84, 0, 0, 0, 0, 84, 0, 85, 85, - 85, 85, 0, 0, 0, 84, 84, 85, 0, 84, - 84, 84, 84, 84, 0, 0, 0, 0, 0, 0, - 0, 85, 85, 0, 0, 85, 85, 85, 85, 85, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 86, 86, 86, 86, 0, 0, 0, 0, - 0, 86, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 86, 86, 0, 0, 86, - 86, 86, 86, 86, 153, 0, 0, 0, 154, 155, - 156, 157, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 158, 160, 161, 162, 163, 0, 164, 165, - 0, 0, 166, 0, 0, 167, 168, 169, 0, 0, - 0, 0, 0, 0, 153, 0, 0, 0, 154, 155, - 156, 157, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 158, 160, 161, 162, 163, 0, 164, 165, - 0, 0, 166, 0, 0, 167, 168, 169, 0, 154, - 155, 156, 157, 0, 0, 0, 0, 0, 0, 67, - 0, 0, 0, 81, 0, 161, 162, 163, 0, 164, - 165, 0, 0, 166, 0, 0, 167, 168, 169, 97, - 99, 101, 103, 0, 0, 0, 0, 0, 0, 113, - 0, 0, 0, 0, 0, 0, 0, 126, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 179, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 187, 0, 0, 190, 0, 192, 0, 194, 0, 196, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 215, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 253, 0, 0, - 0, 0, 0, 0, 260, -}; -short yycheck[] = { 13, - 36, 85, 59, 196, 40, 123, 59, 36, 93, 91, - 59, 41, 93, 91, 44, 40, 185, 41, 36, 41, - 44, 90, 59, 91, 198, 59, 41, 93, 58, 59, - 44, 257, 40, 40, 58, 59, 41, 257, 41, 44, - 91, 123, 40, 57, 59, 123, 59, 61, 41, 118, - 41, 41, 41, 58, 59, 123, 44, 41, 63, 41, - 257, 40, 278, 93, 0, 6, 91, 8, 59, 93, - 59, 40, 123, 91, 41, 125, 96, 40, 98, 59, - 100, 59, 102, 40, 104, 105, 123, 40, 93, 123, - 31, 32, 59, 41, 123, 109, 110, 33, 123, 41, - 36, 37, 38, 41, 40, 123, 42, 43, 282, 45, - 40, 59, 123, 182, 59, 123, 123, 59, 187, 276, - 277, 59, 59, 59, 44, 123, 123, 59, 64, 298, - 295, 296, 146, 147, 148, 149, 150, 151, 152, 257, - 314, 257, 316, 336, 123, 260, 339, 266, 267, 268, - 41, 270, 271, 44, 40, 91, 170, 171, 172, 173, - 174, 175, 176, 0, 40, 358, 41, 58, 59, 40, - 125, 185, 63, 91, 93, 189, 93, 191, 36, 199, - 41, 195, 125, 93, 198, 91, 296, 123, 40, 125, - 126, 205, 206, 207, 59, 41, 33, 93, 212, 36, - 37, 38, 93, 40, 257, 42, 43, 41, 45, 41, - 295, 296, 41, 40, 295, 296, 266, 267, 268, 0, - 270, 271, 59, 123, 238, 41, 240, 64, 257, 295, - 296, 309, 314, 262, 312, 313, 314, 40, 295, 296, - 258, 41, 272, 273, 274, 275, 295, 296, 272, 273, - 274, 275, 33, 337, 91, 36, 37, 38, 294, 40, - 59, 42, 43, 125, 45, 295, 296, 272, 273, 274, - 275, 295, 296, 295, 296, 299, 281, 125, 59, 293, - 285, 286, 125, 64, 298, 125, 123, 41, 125, 126, - 295, 296, 295, 296, 299, 300, 301, 302, 303, 125, - 305, 41, 295, 296, 318, 295, 296, 295, 296, 41, - 91, 295, 296, 295, 296, 295, 296, 295, 296, 41, - 256, 257, 258, 259, 260, 261, 59, 263, 264, 265, - 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, - 41, 355, 123, 279, 280, 126, 282, 283, 284, 41, - 295, 296, 123, 289, 290, 291, 292, 293, 294, 41, - 59, 297, 298, 295, 296, 41, 41, 59, 304, 44, - 59, 41, 308, 41, 310, 311, 295, 296, 295, 296, - 59, 272, 273, 274, 275, 295, 296, 41, 63, 13, - 281, 147, 318, 355, 285, 286, 287, 288, 195, 295, - 296, 93, 125, -1, 295, 296, -1, 95, 299, 300, - 301, 302, 303, -1, 305, 306, 91, -1, 309, 256, - 257, 258, 259, 260, 261, -1, 263, 264, 265, 266, - 267, 268, 269, 270, 271, 272, 273, 274, 275, -1, - 41, -1, 279, 280, -1, 282, 283, 284, 123, 91, - -1, -1, 289, 290, 291, 292, 293, 294, -1, -1, - 297, 298, 63, 272, 273, 274, 275, 304, -1, -1, - -1, 308, -1, 310, 311, 256, 257, 258, 259, 260, - 261, 123, 263, 264, 265, -1, 295, 296, 269, -1, - 91, 272, 273, 274, 275, -1, -1, -1, 279, 280, - -1, 282, 283, 284, -1, -1, -1, -1, 289, 290, - 291, 292, 293, 294, -1, -1, 297, 298, -1, -1, - -1, -1, 123, 304, 190, 91, 192, 308, 33, 310, - 311, 36, 37, 38, -1, 40, 41, 42, 43, 44, - 45, -1, -1, 266, 267, 268, -1, 270, 271, -1, - -1, -1, -1, 58, 59, -1, -1, 123, 63, 64, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 272, 273, 274, 275, -1, -1, 91, -1, 93, 33, - -1, -1, 36, 37, 38, -1, 40, 41, 42, 43, - 44, 45, -1, 295, 296, -1, 281, -1, -1, -1, - 285, 286, 287, 288, 58, 59, -1, -1, 123, 63, - 64, 126, -1, -1, 299, 300, 301, 302, 303, -1, - 305, 306, -1, -1, 309, -1, -1, 312, 313, 314, - -1, -1, -1, 285, 286, 287, 288, -1, 33, 93, - -1, 36, 37, 38, -1, 40, -1, 42, 43, -1, - 45, 303, -1, 305, 306, -1, -1, 309, 334, 335, - 312, 313, 314, -1, 59, 341, -1, -1, -1, 64, - 281, -1, 126, -1, 285, 286, 287, 288, -1, -1, - 356, -1, -1, 359, -1, -1, -1, -1, 299, 300, - 301, 302, 303, -1, 305, 306, 91, -1, 309, -1, - -1, 312, 313, 314, 41, -1, -1, 44, -1, 285, - 286, 287, 288, -1, -1, -1, -1, -1, -1, -1, - -1, 58, 59, -1, -1, -1, 63, -1, 123, 305, - 306, 126, -1, 309, -1, -1, 312, 313, 314, -1, - -1, -1, 257, 258, 259, 260, 261, -1, 263, 264, - 265, -1, -1, -1, 269, -1, 93, 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, - -1, -1, -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, 256, 257, 258, 259, 260, 261, -1, 263, 264, - 265, -1, -1, 41, 269, -1, 44, 272, 273, 274, - 275, -1, -1, -1, 279, 280, -1, 282, 283, 284, - 58, 59, -1, -1, 289, 290, 291, 292, 293, 294, - -1, -1, 297, 298, -1, -1, -1, -1, -1, 304, - -1, -1, -1, 308, 33, 310, 311, 36, 37, 38, - -1, 40, -1, 42, 43, 93, 45, -1, -1, -1, - -1, -1, -1, -1, -1, 272, 273, 274, 275, -1, - 59, -1, -1, -1, 281, 64, -1, -1, 285, 286, - 287, 288, -1, -1, -1, -1, -1, -1, 295, 296, - -1, -1, 299, 300, 301, 302, 303, -1, 305, 306, - 33, -1, 91, 36, 37, 38, -1, 40, -1, 42, - 43, 26, 45, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 49, 50, -1, -1, 42, -1, -1, - -1, 64, -1, 48, 123, 50, -1, 126, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 62, 63, 64, - 65, 91, -1, -1, -1, -1, 33, -1, 91, 36, - 37, 38, -1, 40, 90, 42, 43, -1, 45, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 123, -1, -1, -1, 64, -1, -1, - 123, -1, 118, 126, -1, 110, 309, 310, 311, 125, - -1, -1, 315, -1, 317, -1, -1, 41, -1, -1, - 44, -1, -1, -1, 91, -1, -1, -1, -1, 33, - -1, -1, 36, 37, 38, 59, 40, -1, 42, 43, - 343, 45, -1, -1, 272, 273, 274, 275, 351, -1, - 353, 91, -1, -1, -1, 59, 123, -1, -1, 126, - 64, 364, -1, -1, -1, -1, 182, 295, 296, 93, - -1, 187, -1, -1, -1, -1, -1, 256, 257, 258, - 259, 260, 261, 123, 263, 264, 265, 91, -1, -1, - 269, -1, -1, 272, 273, 274, 275, -1, -1, 41, - 279, 280, 44, 282, 283, 284, -1, -1, -1, -1, - 289, 290, 291, 292, 293, 294, 58, 59, 297, 298, - -1, 63, 126, -1, -1, 304, -1, -1, -1, 308, - -1, 310, 311, -1, 257, 258, 259, 260, 261, 262, - 263, 264, 265, -1, -1, -1, 269, 41, -1, -1, - 44, 93, -1, -1, -1, 41, -1, 280, 44, 282, - 283, 284, -1, -1, 58, 59, 289, 290, 291, 292, - 293, 294, 58, 59, 297, 298, 306, 63, -1, 309, - -1, 304, 312, 313, 314, 308, -1, 310, 311, -1, - 257, 258, 259, 260, 261, -1, 263, 264, 265, 93, - -1, -1, 269, -1, -1, -1, -1, 93, -1, -1, - 91, 41, -1, 280, 44, 282, 283, 284, -1, -1, - -1, -1, 289, 290, 291, 292, 293, 294, 58, 59, - 297, 298, -1, 63, -1, -1, -1, 304, -1, -1, - -1, 308, 123, 310, 311, -1, -1, 287, 272, 273, - 274, 275, -1, 257, 258, 259, 260, 261, -1, 263, - 264, 265, -1, 93, 41, 269, 306, 44, -1, 309, - -1, 295, 312, 313, 314, -1, 280, -1, 282, 283, - 284, 58, 59, -1, -1, 289, 290, 291, 292, 293, - 294, -1, -1, 297, 298, -1, -1, -1, -1, -1, - 304, -1, -1, -1, 308, 33, 310, 311, 36, 37, - 38, -1, 40, -1, 42, 43, 93, 45, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 272, 273, 274, 275, -1, -1, 64, -1, -1, 281, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 295, 296, -1, -1, 299, 300, 301, - 302, 33, -1, 91, 36, 37, 38, -1, 40, 41, - 42, 43, -1, 45, -1, -1, -1, -1, 272, 273, - 274, 275, -1, -1, -1, -1, 272, 273, 274, 275, - -1, -1, 64, -1, -1, 123, -1, -1, 126, -1, - -1, 295, 296, -1, -1, -1, 287, 288, -1, 295, - 296, -1, -1, 299, -1, -1, -1, 33, -1, 91, - 36, 37, 38, -1, 40, 306, 42, 43, 309, 45, - -1, 312, 313, 314, -1, -1, -1, -1, -1, -1, - -1, -1, 272, 273, 274, 275, -1, -1, 64, -1, - -1, 281, -1, -1, 126, 285, 286, -1, -1, -1, - -1, -1, -1, -1, -1, 295, 296, -1, -1, 299, - 300, 301, 302, 303, -1, 91, -1, 93, -1, -1, - 33, -1, -1, 36, 37, 38, -1, 40, 41, 42, - 43, -1, 45, -1, -1, 272, 273, 274, 275, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 126, 64, -1, -1, -1, -1, -1, -1, 295, 296, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, - 258, 259, 260, 261, -1, 263, 264, 265, 91, -1, - -1, 269, 41, -1, -1, 44, -1, -1, -1, -1, - 41, -1, 280, 44, 282, 283, 284, -1, -1, 58, - 59, 289, 290, 291, 292, 293, 294, 58, 59, 297, - 298, -1, 63, 126, -1, -1, 304, -1, -1, -1, - 308, -1, 310, 311, -1, 257, 258, 259, 260, 261, - -1, 263, 264, 265, 93, -1, -1, 269, -1, -1, - -1, -1, 93, -1, -1, -1, 41, -1, 280, 44, - 282, 283, 284, -1, -1, -1, -1, 289, 290, 291, - 292, 293, 294, 58, 59, 297, 298, -1, 63, -1, - -1, -1, 304, -1, -1, -1, 308, -1, 310, 311, - -1, 257, 258, 259, 260, 261, -1, 263, 264, 265, - -1, -1, -1, 269, -1, -1, -1, -1, 93, -1, - -1, -1, 41, -1, 280, 44, 282, 283, 284, -1, - -1, -1, -1, 289, 290, 291, 292, 293, 294, 58, - 59, 297, 298, -1, 63, -1, -1, -1, 304, -1, - -1, -1, 308, -1, 310, 311, -1, -1, -1, -1, - -1, -1, -1, -1, 257, 258, 259, 260, 261, -1, - 263, 264, 265, -1, 93, -1, 269, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 63, 280, -1, 282, - 283, 284, -1, -1, -1, -1, 289, 290, 291, 292, - 293, 294, -1, -1, 297, 298, -1, -1, -1, -1, - -1, 304, -1, -1, 91, 308, 33, 310, 311, 36, - 37, 38, -1, 40, 41, 42, 43, -1, 45, -1, - -1, -1, -1, 272, 273, 274, 275, -1, -1, -1, - -1, 272, 273, 274, 275, -1, 123, 64, -1, -1, - 281, -1, -1, -1, -1, -1, 295, 296, -1, -1, - -1, -1, -1, -1, 295, 296, -1, -1, 299, 300, - 301, -1, 33, -1, 91, 36, 37, 38, -1, 40, - -1, 42, 43, -1, 45, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 272, 273, 274, - 275, -1, -1, 64, -1, -1, 281, -1, -1, 126, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 295, 296, -1, -1, 299, 300, -1, -1, 33, -1, - 91, 36, 37, 38, -1, 40, 41, 42, 43, -1, - 45, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 272, 273, 274, 275, -1, -1, 64, - -1, -1, 281, -1, -1, 126, 285, 286, -1, -1, - -1, -1, -1, -1, -1, -1, 295, 296, -1, -1, - 299, 300, 301, 302, 303, -1, 91, -1, -1, -1, - -1, 33, -1, -1, 36, 37, 38, -1, 40, 41, - 42, 43, -1, 45, 281, -1, -1, -1, 285, 286, - 287, 288, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 126, 64, 300, 301, 302, 303, -1, 305, 306, - -1, -1, 309, -1, -1, 312, 313, 314, -1, -1, - 257, 258, 259, 260, 261, -1, 263, 264, 265, 91, - -1, -1, 269, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 280, -1, 282, 283, 284, 41, -1, - -1, 44, 289, 290, 291, 292, 293, 294, -1, -1, - 297, 298, -1, -1, 126, 58, 59, 304, -1, -1, - 63, 308, -1, 310, 311, 256, 257, 258, 259, 260, - 261, -1, 263, 264, 265, -1, -1, -1, 269, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 280, - 93, 282, 283, 284, -1, -1, -1, -1, 289, 290, - 291, 292, 293, 294, -1, -1, 297, 298, -1, -1, - -1, -1, -1, 304, -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, -1, -1, -1, -1, 280, -1, 282, 283, 284, - -1, -1, -1, -1, 289, 290, 291, 292, 293, 294, - -1, -1, 297, 298, -1, -1, -1, -1, 91, 304, - 93, -1, -1, 308, -1, 310, 311, 41, -1, -1, - 44, -1, -1, -1, -1, 257, 258, 259, 260, 261, - -1, 263, 264, 265, 58, 59, -1, 269, -1, 63, - 123, -1, -1, -1, -1, -1, -1, -1, 280, -1, - 282, 283, 284, -1, -1, -1, -1, 289, 290, 291, - 292, 293, 294, -1, -1, 297, 298, 91, -1, 93, - -1, -1, 304, -1, -1, -1, 308, 33, 310, 311, - 36, 37, 38, -1, 40, -1, 42, 43, -1, 45, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, - -1, -1, -1, -1, -1, -1, -1, -1, 64, 272, - 273, 274, 275, -1, -1, -1, -1, -1, 281, -1, - -1, -1, 285, 286, -1, 41, -1, -1, 44, -1, - -1, -1, 295, 296, -1, 91, 299, 300, 301, 302, - 303, -1, 58, 59, -1, -1, -1, 63, 25, 26, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 37, -1, -1, -1, -1, 42, 43, -1, -1, -1, - 126, 48, -1, 50, -1, 91, -1, 93, -1, -1, - -1, -1, -1, -1, -1, 62, 63, 64, 65, 272, - 273, 274, 275, 41, -1, 91, 44, -1, 281, -1, - -1, -1, 285, 286, 287, 288, -1, 123, -1, -1, - 58, 59, 295, 296, -1, 63, 299, 300, 301, 302, - 303, -1, 305, 306, -1, -1, 309, 123, -1, 312, - 313, 314, -1, 110, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 91, -1, 93, -1, -1, 272, 273, - 274, 275, -1, -1, -1, -1, -1, 281, -1, -1, - -1, 285, 286, 287, 288, -1, -1, -1, -1, -1, - -1, 295, 296, -1, 91, 299, 300, 301, 302, 303, - -1, 305, 306, -1, -1, 309, -1, -1, 312, 313, - 314, -1, 169, 41, -1, -1, 44, -1, -1, -1, - -1, 257, 258, 259, 260, 261, 123, 263, 264, 265, - 58, 59, -1, 269, -1, 63, -1, -1, -1, -1, - 197, -1, -1, -1, 280, -1, 282, 283, 284, -1, - -1, -1, -1, 289, 290, 291, 292, 293, 294, -1, - -1, 297, 298, -1, -1, 93, -1, -1, 304, -1, - -1, -1, 308, -1, 310, 311, 272, 273, 274, 275, - 41, -1, -1, 44, -1, 281, -1, -1, -1, 285, - 286, 287, 288, -1, -1, 123, -1, 58, 59, 295, - 296, -1, 63, 299, 300, 301, 302, 303, -1, 305, - 306, 287, 288, 309, -1, -1, 312, 313, 314, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 305, - 306, -1, 93, 309, -1, -1, 312, 313, 314, -1, - -1, -1, -1, -1, 272, 273, 274, 275, 41, -1, - -1, -1, -1, 281, -1, -1, -1, 285, 286, 287, - 288, -1, 123, -1, -1, 58, 59, 295, 296, -1, - 63, 299, 300, 301, 302, 303, -1, 305, 306, -1, - -1, 309, -1, -1, 312, 313, 314, -1, 285, 286, - 287, 288, -1, -1, -1, -1, -1, -1, 91, -1, - 93, -1, -1, 300, 301, 302, 303, -1, 305, 306, - -1, 41, 309, -1, -1, 312, 313, 314, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, - 123, -1, -1, 63, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 272, 273, 274, 275, -1, -1, - -1, -1, -1, 281, -1, -1, -1, 285, 286, 287, - 288, 91, -1, 93, -1, -1, -1, 295, 296, -1, - -1, 299, 300, 301, 302, 303, -1, 305, 306, 41, - -1, 309, 44, -1, 312, 313, 314, -1, -1, -1, - -1, -1, -1, 123, -1, -1, 58, 59, -1, -1, - -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 272, 273, 274, 275, -1, -1, -1, -1, -1, - 281, -1, -1, -1, 285, 286, 287, 288, -1, -1, - -1, 93, -1, -1, 295, 296, -1, -1, 299, 300, - 301, 302, 303, -1, 305, 306, 41, -1, 309, 44, - -1, 312, 313, 314, -1, -1, -1, -1, -1, -1, - -1, 123, -1, 58, 59, -1, -1, -1, 63, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 272, - 273, 274, 275, -1, -1, -1, -1, -1, 281, -1, - -1, -1, 285, 286, 287, 288, -1, -1, 93, -1, - -1, -1, 295, 296, -1, -1, 299, 300, 301, 302, - 303, -1, 305, 306, -1, -1, 309, -1, -1, 312, - 313, 314, -1, -1, -1, -1, -1, -1, 123, 91, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 272, 273, 274, 275, 41, -1, -1, -1, - -1, 281, -1, -1, -1, 285, 286, 287, 288, -1, - -1, 123, -1, 58, 59, 295, 296, -1, 63, 299, - 300, 301, 302, 303, -1, 305, 306, -1, -1, 309, - -1, -1, 312, 313, 314, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 272, 273, 274, 275, 41, -1, -1, 44, -1, 281, - -1, -1, -1, 285, 286, 287, 288, -1, 123, -1, - -1, 58, 59, 295, 296, -1, 63, 299, 300, 301, - 302, 303, -1, 305, 306, -1, -1, 309, -1, -1, - 312, 313, 314, -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, 41, -1, -1, 44, -1, 281, -1, -1, -1, - 285, 286, 287, 288, -1, -1, 123, -1, 58, 59, - 295, 296, -1, 63, 299, 300, 301, 302, 303, -1, - 305, 306, -1, -1, 309, -1, -1, 312, 313, 314, - -1, -1, -1, 285, 41, 287, 288, 44, -1, -1, - -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, - -1, 58, 59, 305, 306, -1, 63, 309, -1, -1, - 312, 313, 314, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 93, 272, 273, 274, - 275, 41, -1, -1, 44, -1, 281, -1, -1, -1, - 285, 286, 287, 288, -1, -1, -1, -1, 58, 59, - 295, 296, -1, 63, 299, 300, 301, 302, 303, -1, - 305, 306, -1, -1, 309, -1, -1, 312, 313, 314, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 272, 273, 274, 275, 41, - -1, -1, 44, -1, 281, -1, -1, -1, 285, 286, - 287, 288, -1, -1, -1, -1, 58, 59, 295, 296, - -1, 63, 299, 300, 301, 302, 303, -1, 305, 306, - -1, -1, 309, -1, -1, 312, 313, 314, -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, -1, -1, -1, - -1, 281, -1, -1, -1, 285, 286, 287, 288, -1, - -1, -1, -1, -1, -1, 295, 296, -1, -1, 299, - 300, 301, 302, 303, -1, 305, 306, -1, -1, 309, - -1, -1, 312, 313, 314, 272, 273, 274, 275, 41, - -1, -1, 44, -1, 281, -1, -1, -1, 285, 286, - 287, 288, -1, -1, -1, -1, 58, 59, 295, 296, - -1, 63, 299, 300, 301, 302, 303, -1, 305, 306, - -1, -1, 309, -1, -1, 312, 313, 314, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 93, 272, 273, 274, 275, -1, -1, -1, -1, - -1, 281, -1, -1, -1, 285, 286, 287, 288, -1, - -1, -1, -1, -1, -1, 295, 296, -1, -1, 299, - 300, 301, 302, 303, -1, 305, 306, 41, -1, 309, - 44, -1, 312, 313, 314, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 272, 273, 274, 275, -1, -1, -1, -1, -1, 281, - -1, -1, -1, 285, 286, 287, 288, -1, -1, 93, - -1, -1, -1, 295, 296, -1, -1, 299, 300, 301, - 302, 303, -1, 305, 306, 30, -1, 309, -1, -1, - 312, 313, 314, 38, -1, -1, -1, -1, 43, -1, - 41, -1, -1, 44, -1, -1, 51, 52, 53, 54, - 55, 56, -1, -1, 59, 60, -1, 58, 59, -1, - -1, 66, 63, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 92, 41, -1, - -1, 44, 93, -1, -1, -1, -1, -1, -1, -1, - 272, 273, 274, 275, -1, 58, 59, -1, -1, 281, - 63, -1, -1, 285, 286, 287, 288, -1, -1, -1, - -1, -1, -1, 295, 296, -1, -1, 299, 300, 301, - 302, 303, -1, 305, 306, -1, -1, 309, -1, -1, - 93, -1, -1, -1, -1, -1, -1, -1, 153, 154, - 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, - 165, 166, 41, -1, -1, 44, -1, -1, -1, -1, - -1, -1, -1, 178, -1, -1, -1, -1, -1, 58, - 59, -1, -1, -1, 63, -1, -1, -1, 272, 273, - 274, 275, -1, -1, -1, -1, -1, 281, -1, -1, - -1, 285, 286, 287, 288, -1, 41, -1, -1, 44, - -1, 295, 296, -1, 93, 299, 300, 301, 302, 303, - -1, 305, 306, 58, 59, -1, -1, -1, 63, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, - -1, -1, -1, 258, -1, -1, -1, -1, 93, -1, - -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, - -1, 272, 273, 274, 275, -1, -1, -1, -1, -1, - 281, -1, -1, -1, 285, 286, 287, 288, -1, 41, - 295, -1, 44, -1, 295, 296, 93, -1, 299, 300, - 301, 302, 303, -1, 305, 306, 58, 59, -1, -1, - -1, 63, -1, -1, -1, -1, -1, -1, -1, 272, - 273, 274, 275, -1, -1, -1, -1, -1, 281, -1, - -1, -1, 285, 286, 287, 288, -1, 41, -1, -1, - 44, 93, 295, 296, 91, -1, 299, 300, 301, 302, - 303, -1, 305, 306, 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, -1, -1, 93, - -1, -1, -1, 272, 273, 274, 275, 41, 58, 59, - 44, -1, 281, 63, -1, -1, 285, 286, 287, 288, - -1, -1, -1, -1, 58, 59, 295, 296, -1, 63, - 299, 300, 301, 302, 303, -1, 305, 306, -1, -1, - -1, -1, -1, 93, -1, -1, -1, 272, 273, 274, - 275, 41, -1, -1, 44, -1, 281, -1, -1, 93, - 285, 286, 287, 288, -1, -1, -1, -1, 58, 59, - 295, 296, -1, 63, 299, 300, 301, 302, 303, -1, - 305, 306, -1, -1, -1, 272, 273, 274, 275, -1, - -1, 58, -1, -1, 281, -1, 63, -1, 285, 286, - 287, 288, -1, 93, -1, -1, -1, -1, 295, 296, - -1, -1, 299, 300, 301, 302, 303, -1, 305, 306, - -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, - 272, 273, 274, 275, -1, -1, 63, -1, -1, 281, - -1, -1, -1, 285, 286, 287, 288, -1, 285, 286, - 287, 288, -1, 295, 296, -1, 123, 299, 300, 301, - 302, 303, -1, 305, 91, 302, 303, -1, 305, 306, - -1, -1, 309, -1, -1, 312, 313, 314, 272, 273, - 274, 275, -1, -1, -1, -1, -1, 281, -1, -1, - -1, 285, 286, -1, 288, 91, 123, -1, -1, -1, - -1, 295, 296, -1, -1, 299, 300, 301, 302, 303, - -1, 305, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 272, 273, 274, 275, -1, 123, -1, -1, - -1, 281, -1, -1, -1, -1, 286, -1, 272, 273, - 274, 275, -1, -1, -1, 295, 296, 281, -1, 299, - 300, 301, 302, 303, -1, -1, -1, -1, -1, -1, - -1, 295, 296, -1, -1, 299, 300, 301, 302, 303, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 272, 273, 274, 275, -1, -1, -1, -1, - -1, 281, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 295, 296, -1, -1, 299, - 300, 301, 302, 303, 281, -1, -1, -1, 285, 286, - 287, 288, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 299, 300, 301, 302, 303, -1, 305, 306, - -1, -1, 309, -1, -1, 312, 313, 314, -1, -1, - -1, -1, -1, -1, 281, -1, -1, -1, 285, 286, - 287, 288, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 299, 300, 301, 302, 303, -1, 305, 306, - -1, -1, 309, -1, -1, 312, 313, 314, -1, 285, - 286, 287, 288, -1, -1, -1, -1, -1, -1, 13, - -1, -1, -1, 17, -1, 301, 302, 303, -1, 305, - 306, -1, -1, 309, -1, -1, 312, 313, 314, 33, - 34, 35, 36, -1, -1, -1, -1, -1, -1, 43, - -1, -1, -1, -1, -1, -1, -1, 51, -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, 80, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 94, -1, -1, 97, -1, 99, -1, 101, -1, 103, - -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, - 144, -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, 181, -1, -1, - -1, -1, -1, -1, 188, -}; -#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","RELOP","EQOP", -"MULOP","ADDOP","DOLSHARP","DO","HASHBRACK","NOAMP","LOCAL","MY","OROP","ANDOP", -"NOTOP","LSTOP","ASSIGNOP","OROR","ANDAND","BITOROP","BITANDOP","UNIOP", -"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", -"cond : IF block block else", -"cond : UNLESS block block else", -"cont :", -"cont : CONTINUE block", -"loop : label WHILE '(' remember mtexpr ')' mblock cont", -"loop : label UNTIL '(' remember miexpr ')' mblock cont", -"loop : label WHILE block block cont", -"loop : label UNTIL block block 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 startsub WORD block", -"format : FORMAT startsub block", -"subrout : SUB startsub WORD proto block", -"subrout : SUB startsub WORD proto ';'", -"proto :", -"proto : THING", -"startsub :", -"package : PACKAGE WORD ';'", -"package : PACKAGE ';'", -"use : USE startsub 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 ')'", -"listop : LSTOPSUB startsub block 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 startsub 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 -#endif -#else -#ifdef YYMAXDEPTH -#define YYSTACKSIZE YYMAXDEPTH -#else -#define YYSTACKSIZE 500 -#define YYMAXDEPTH 500 -#endif + +/* yy_stack_print() + * print the top 8 items on the parse stack. The args have the same + * meanings as the local vars in yyparse() of the same name */ + +static void +yy_stack_print (pTHX_ const short *yyss, const short *yyssp, const YYSTYPE *yyvs, const char**yyns) +{ + int i; + int start = 1; + int count = (int)(yyssp - yyss); + + if (count > 8) { + start = count - 8 + 1; + count = 8; + } + + PerlIO_printf(Perl_debug_log, "\nindex:"); + for (i=0; i < count; i++) + PerlIO_printf(Perl_debug_log, " %8d", start+i); + PerlIO_printf(Perl_debug_log, "\nstate:"); + for (i=0, yyss += start; i < count; i++, yyss++) + PerlIO_printf(Perl_debug_log, " %8d", *yyss); + PerlIO_printf(Perl_debug_log, "\ntoken:"); + for (i=0, yyns += start; i < count; i++, yyns++) + PerlIO_printf(Perl_debug_log, " %8.8s", *yyns); + PerlIO_printf(Perl_debug_log, "\nvalue:"); + for (i=0, yyvs += start; i < count; i++, yyvs++) + PerlIO_printf(Perl_debug_log, " %8"UVxf, (UV)yyvs->ival); + PerlIO_printf(Perl_debug_log, "\n\n"); +} + +# define YY_STACK_PRINT(yyss, yyssp, yyvs, yyns) \ +do { \ + if (yydebug && DEBUG_v_TEST) \ + yy_stack_print (aTHX_ (yyss), (yyssp), (yyvs), (yyns)); \ +} 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(yyss, yyssp, yyvs, yyns) +# define YY_REDUCE_PRINT(Rule) +#endif /* !DEBUGGING */ + + +/* YYINITDEPTH -- initial size of the parser's stacks. */ +#ifndef YYINITDEPTH +# define YYINITDEPTH 200 #endif -int yydebug; -int yynerrs; -int yyerrflag; -int yychar; -YYSTYPE yyval; -YYSTYPE yylval; -#line 616 "perly.y" - /* PROGRAM */ -#line 1369 "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; + + +#if YYERROR_VERBOSE +# ifndef yystrlen +# if defined (__GLIBC__) && defined (_STRING_H) +# define yystrlen strlen +# else +/* Return the length of YYSTR. */ +static YYSIZE_T +yystrlen (const char *yystr) +{ + register const char *yys = yystr; + + while (*yys++ != '\0') + continue; + + return yys - yystr - 1; +} +# endif +# endif + +# ifndef yystpcpy +# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) +# define yystpcpy stpcpy +# else +/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in + YYDEST. */ +static char * +yystpcpy (pTHX_ char *yydest, const char *yysrc) { - 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); + register char *yyd = yydest; + register const char *yys = yysrc; + + while ((*yyd++ = *yys++) != '\0') + continue; + + return yyd - 1; } +# endif +# endif + +#endif /* !YYERROR_VERBOSE */ + +/*----------. +| yyparse. | +`----------*/ int -yyparse() +Perl_yyparse (pTHX) { - register int yym, yyn, yystate; + dVAR; + int yychar; /* The lookahead symbol. */ + YYSTYPE yylval; /* The semantic value of the lookahead symbol. */ + int yynerrs; /* Number of syntax errors so far. */ + register int yystate; + register int yyn; + int yyresult; + + /* Number of tokens to shift before error messages enabled. */ + int yyerrstatus; + /* Lookahead token as an internal (translated) token number. */ + int yytoken = 0; + + /* two stacks and their tools: + yyss: related to states, + yyvs: related to semantic values, + + Refer to the stacks thru separate pointers, to allow yyoverflow + to reallocate them elsewhere. */ + + /* The state stack. */ + short *yyss; register short *yyssp; + + /* The semantic value stack. */ + YYSTYPE *yyvs; register YYSTYPE *yyvsp; - short* yyss; - YYSTYPE* yyvs; - unsigned yystacksize = YYSTACKSIZE; - int retval = 0; -#if YYDEBUG - register char *yys; - extern char *getenv(); + + /* for ease of re-allocation and automatic freeing, have two SVs whose + * SvPVX points to the stacks */ + SV *yyss_sv, *yyvs_sv; + +#ifdef DEBUGGING + /* maintain also a stack of token/rule names for debugging with -Dpv */ + const char **yyns, **yynsp; + SV *yyns_sv; +# define YYPOPSTACK (yyvsp--, yyssp--, yynsp--) +#else +# define YYPOPSTACK (yyvsp--, yyssp--) #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'; - } + + YYSIZE_T yystacksize = YYINITDEPTH; + + /* The variables used to return semantic value and location from the + action routines. */ + YYSTYPE yyval; + + + /* When reducing, the number of symbols on the RHS of the reduced + rule. */ + int yylen; + +#ifdef PERL_MAD + if (PL_madskills) + return madparse(); #endif - yynerrs = 0; - yyerrflag = 0; - yychar = (-1); + YYDPRINTF ((Perl_debug_log, "Starting parse\n")); - /* - ** 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; + ENTER; /* force stack free before we return */ + SAVEVPTR(PL_yycharp); + SAVEVPTR(PL_yylvalp); + PL_yycharp = &yychar; /* so PL_yyerror() can access it */ + PL_yylvalp = &yylval; /* so various functions in toke.c can access it */ + yyss_sv = newSV(YYINITDEPTH * sizeof(short)); + yyvs_sv = newSV(YYINITDEPTH * sizeof(YYSTYPE)); + SAVEFREESV(yyss_sv); + SAVEFREESV(yyvs_sv); + yyss = (short *) SvPVX(yyss_sv); + yyvs = (YYSTYPE *) SvPVX(yyvs_sv); + /* note that elements zero of yyvs and yyns are not used */ yyssp = yyss; yyvsp = yyvs; - *yyssp = yystate = 0; - -yyloop: - if (yyn = yydefred[yystate]) goto yyreduce; - if (yychar < 0) - { - if ((yychar = yylex()) < 0) yychar = 0; -#if YYDEBUG - if (yydebug) - { - yys = 0; - if (yychar <= YYMAXTOKEN) yys = yyname[yychar]; - if (!yys) yys = "illegal-symbol"; - PerlIO_printf(Perl_debug_log, "yydebug: state %d, reading %d (%s)\n", yystate, - yychar, yys); - } +#ifdef DEBUGGING + yyns_sv = newSV(YYINITDEPTH * sizeof(char *)); + SAVEFREESV(yyns_sv); + /* XXX This seems strange to cast char * to char ** */ + yyns = (const char **) SvPVX(yyns_sv); + yynsp = yyns; #endif + + yystate = 0; + yyerrstatus = 0; + yynerrs = 0; + yychar = YYEMPTY; /* Cause a token to be read. */ + + + + YYDPRINTF ((Perl_debug_log, "Entering state %d\n", yystate)); + + goto yysetstate; + +/*------------------------------------------------------------. +| yynewstate -- Push a new state, which is found in yystate. | +`------------------------------------------------------------*/ + yynewstate: + /* In all cases, when you get here, the value and location stacks + have just been pushed. so pushing a state here evens the stacks. + */ + yyssp++; + + yysetstate: + *yyssp = yystate; + + if (yyss + yystacksize - 1 <= yyssp) { + /* Get the current used size of the three stacks, in elements. */ + const YYSIZE_T yysize = yyssp - yyss + 1; + + /* Extend the stack our own way. */ + if (YYMAXDEPTH <= yystacksize) + goto yyoverflowlab; + yystacksize *= 2; + if (YYMAXDEPTH < yystacksize) + yystacksize = YYMAXDEPTH; + + SvGROW(yyss_sv, yystacksize * sizeof(short)); + SvGROW(yyvs_sv, yystacksize * sizeof(YYSTYPE)); + yyss = (short *) SvPVX(yyss_sv); + yyvs = (YYSTYPE *) SvPVX(yyvs_sv); +#ifdef DEBUGGING + SvGROW(yyns_sv, yystacksize * sizeof(char *)); + /* XXX This seems strange to cast char * to char ** */ + yyns = (const char **) SvPVX(yyns_sv); + if (! yyns) + goto yyoverflowlab; + yynsp = yyns + yysize - 1; +#endif + if (!yyss || ! yyvs) + goto yyoverflowlab; + + yyssp = yyss + yysize - 1; + yyvsp = yyvs + yysize - 1; + + + YYDPRINTF ((Perl_debug_log, "Stack size increased to %lu\n", + (unsigned long int) yystacksize)); + + if (yyss + yystacksize - 1 <= yyssp) + YYABORT; } - 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]); + + goto yybackup; + + /*-----------. + | yybackup. | + `-----------*/ + yybackup: + +/* Do appropriate processing given the current state. */ +/* Read a lookahead token if we need one and don't already have one. */ +/* yyresume: */ + + /* 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 (yychar == YYEMPTY) { + YYDPRINTF ((Perl_debug_log, "Reading a token: ")); +#ifdef PERL_MAD + yychar = PL_madskills ? madlex() : yylex(); +#else + 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 (yychar >= 0 && yychar < 255) { + yychar = NATIVE_TO_ASCII(yychar); + } +# endif } - if ((yyn = yyrindex[yystate]) && (yyn += yychar) >= 0 && - yyn <= YYTABLESIZE && yycheck[yyn] == yychar) - { - yyn = yytable[yyn]; - goto yyreduce; + + if (yychar <= YYEOF) { + 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]); -#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); -#endif - if (yyssp <= yyss) goto yyabort; - --yyssp; - --yyvsp; - } - } + else { + yytoken = YYTRANSLATE (yychar); + YYDSYMPRINTF ("Next token is", yytoken, &yylval); } - else - { - 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); - } + + /* 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 (yychar != YYEOF) + yychar = YYEMPTY; + + *++yyvsp = yylval; +#ifdef DEBUGGING + *++yynsp = (const char *)(yytname[yytoken]); #endif - yychar = (-1); - goto yyloop; + + + /* Count tokens shifted since error; after three, turn off error + status. */ + if (yyerrstatus) + yyerrstatus--; + + yystate = yyn; + YYDPRINTF ((Perl_debug_log, "Entering state %d\n", yystate)); + + goto yynewstate; + + + /*-----------------------------------------------------------. + | yydefault -- do the default action for the current state. | + `-----------------------------------------------------------*/ + yydefault: + yyn = yydefact[yystate]; + if (yyn == 0) + goto yyerrlab; + goto yyreduce; + + + /*-----------------------------. + | yyreduce -- Do a reduction. | + `-----------------------------*/ + yyreduce: + /* yyn is the number of a rule to reduce with. */ + yylen = yyr2[yyn]; + + /* If YYLEN is nonzero, implement the default value of the action: + "$$ = $1". + + Otherwise, the following line sets YYVAL to garbage. + This behavior is undocumented and Bison + users should not rely upon it. Assigning to YYVAL + unconditionally makes the parser a bit smaller, and it avoids a + GCC warning that YYVAL may be used uninitialized. */ + yyval = yyvsp[1-yylen]; + + + YY_REDUCE_PRINT (yyn); + switch (yyn) { + +/* contains all the rule actions; auto-generated from perly.y */ + +#define dep() deprecate("\"do\" to call subroutines") +#include "perly.act" + } -yyreduce: -#if YYDEBUG - if (yydebug) - PerlIO_printf(Perl_debug_log, "yydebug: state %d, reducing by rule %d (%s)\n", - yystate, yyn, yyrule[yyn]); + + yyvsp -= yylen; + yyssp -= yylen; +#ifdef DEBUGGING + yynsp -= yylen; #endif - yym = yylen[yyn]; - yyval = yyvsp[1-yym]; - switch (yyn) - { -case 1: -#line 85 "perly.y" -{ -#if defined(YYDEBUG) && defined(DEBUGGING) - yydebug = (debug & 1); + + + *++yyvsp = yyval; +#ifdef DEBUGGING + *++yynsp = (const char *)(yytname [yyr1[yyn]]); #endif - expect = XSTATE; + + /* Now shift the result of the reduction. Determine what state + that goes to, based on the state we popped back to and the rule + number reduced by. */ + + yyn = yyr1[yyn]; + + yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; + if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) + yystate = yytable[yystate]; + else + yystate = yydefgoto[yyn - YYNTOKENS]; + + YYDPRINTF ((Perl_debug_log, "Entering state %d\n", yystate)); + +#ifdef DEBUGGING + /* tmp push yystate for stack print; this is normally pushed later in + * yynewstate */ + yyssp++; + *yyssp = yystate; + YY_STACK_PRINT (yyss, yyssp, yyvs, yyns); + yyssp--; +#endif + + goto yynewstate; + + + /*------------------------------------. + | yyerrlab -- here on detecting error | + `------------------------------------*/ + yyerrlab: + /* If not already recovering from an error, report this error. */ + if (!yyerrstatus) { + ++yynerrs; +#if YYERROR_VERBOSE + yyn = yypact[yystate]; + + if (YYPACT_NINF < yyn && yyn < YYLAST) { + YYSIZE_T yysize = 0; + const int yytype = YYTRANSLATE (yychar); + char *yymsg; + int yyx, yycount; + + yycount = 0; + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. */ + for (yyx = yyn < 0 ? -yyn : 0; + yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) + yysize += yystrlen (yytname[yyx]) + 15, yycount++; + yysize += yystrlen ("syntax error, unexpected ") + 1; + yysize += yystrlen (yytname[yytype]); + Newx(yymsg, yysize, char *); + if (yymsg != 0) { + const char *yyp = yystpcpy (yymsg, "syntax error, unexpected "); + yyp = yystpcpy (yyp, yytname[yytype]); + + if (yycount < 5) { + yycount = 0; + for (yyx = yyn < 0 ? -yyn : 0; + yyx < (int) (sizeof (yytname) / sizeof (char *)); + yyx++) + { + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) { + const char *yyq = ! yycount ? + ", expecting " : " or "; + yyp = yystpcpy (yyp, yyq); + yyp = yystpcpy (yyp, yytname[yyx]); + yycount++; + } + } } -break; -case 2: -#line 92 "perly.y" -{ newPROG(yyvsp[0].opval); } -break; -case 3: -#line 96 "perly.y" -{ yyval.opval = block_end(yyvsp[-3].ival,yyvsp[-2].ival,yyvsp[-1].opval); } -break; -case 4: -#line 100 "perly.y" -{ yyval.ival = block_start(TRUE); } -break; -case 5: -#line 104 "perly.y" -{ yyval.opval = block_end(yyvsp[-3].ival,yyvsp[-2].ival,yyvsp[-1].opval); } -break; -case 6: -#line 108 "perly.y" -{ yyval.ival = block_start(FALSE); } -break; -case 7: -#line 112 "perly.y" -{ yyval.opval = Nullop; } -break; -case 8: -#line 114 "perly.y" -{ yyval.opval = yyvsp[-1].opval; } -break; -case 9: -#line 116 "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 123 "perly.y" -{ yyval.opval = newSTATEOP(0, yyvsp[-1].pval, yyvsp[0].opval); } -break; -case 12: -#line 126 "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 135 "perly.y" -{ yyval.opval = newSTATEOP(0, yyvsp[-2].pval, yyvsp[-1].opval); - expect = XSTATE; } -break; -case 14: -#line 140 "perly.y" -{ yyval.opval = Nullop; } -break; -case 15: -#line 142 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 16: -#line 144 "perly.y" -{ yyval.opval = newLOGOP(OP_AND, 0, yyvsp[0].opval, yyvsp[-2].opval); } -break; -case 17: -#line 146 "perly.y" -{ yyval.opval = newLOGOP(OP_OR, 0, yyvsp[0].opval, yyvsp[-2].opval); } -break; -case 18: -#line 148 "perly.y" -{ yyval.opval = newLOOPOP(OPf_PARENS, 1, scalar(yyvsp[0].opval), yyvsp[-2].opval); } -break; -case 19: -#line 150 "perly.y" -{ yyval.opval = newLOOPOP(OPf_PARENS, 1, yyvsp[0].opval, yyvsp[-2].opval);} -break; -case 20: -#line 154 "perly.y" -{ yyval.opval = Nullop; } -break; -case 21: -#line 156 "perly.y" -{ yyval.opval = scope(yyvsp[0].opval); } -break; -case 22: -#line 158 "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 165 "perly.y" -{ copline = yyvsp[-6].ival; - yyval.opval = block_end(yyvsp[-6].ival, yyvsp[-4].ival, - newCONDOP(0, yyvsp[-3].opval, scope(yyvsp[-1].opval), yyvsp[0].opval)); } -break; -case 24: -#line 169 "perly.y" -{ copline = yyvsp[-6].ival; - yyval.opval = block_end(yyvsp[-6].ival, yyvsp[-4].ival, - newCONDOP(0, yyvsp[-3].opval, scope(yyvsp[-1].opval), yyvsp[0].opval)); } -break; -case 25: -#line 173 "perly.y" -{ copline = yyvsp[-3].ival; - deprecate("if BLOCK BLOCK"); - yyval.opval = newCONDOP(0, scope(yyvsp[-2].opval), scope(yyvsp[-1].opval), yyvsp[0].opval); } -break; -case 26: -#line 177 "perly.y" -{ copline = yyvsp[-3].ival; - deprecate("unless BLOCK BLOCK"); - yyval.opval = newCONDOP(0, invert(scalar(scope(yyvsp[-2].opval))), - scope(yyvsp[-1].opval), yyvsp[0].opval); } -break; -case 27: -#line 184 "perly.y" -{ yyval.opval = Nullop; } -break; -case 28: -#line 186 "perly.y" -{ yyval.opval = scope(yyvsp[0].opval); } -break; -case 29: -#line 190 "perly.y" -{ copline = yyvsp[-6].ival; - yyval.opval = block_end(yyvsp[-6].ival, yyvsp[-4].ival, - newSTATEOP(0, yyvsp[-7].pval, - newWHILEOP(0, 1, (LOOP*)Nullop, - yyvsp[-3].opval, yyvsp[-1].opval, yyvsp[0].opval))); } -break; -case 30: -#line 196 "perly.y" -{ copline = yyvsp[-6].ival; - yyval.opval = block_end(yyvsp[-6].ival, yyvsp[-4].ival, - newSTATEOP(0, yyvsp[-7].pval, - newWHILEOP(0, 1, (LOOP*)Nullop, - yyvsp[-3].opval, yyvsp[-1].opval, yyvsp[0].opval))); } -break; -case 31: -#line 202 "perly.y" -{ copline = yyvsp[-3].ival; - yyval.opval = newWHILEOP(0, 1, (LOOP*)Nullop, - scope(yyvsp[-2].opval), yyvsp[-1].opval, yyvsp[0].opval); } -break; -case 32: -#line 206 "perly.y" -{ copline = yyvsp[-3].ival; - yyval.opval = newWHILEOP(0, 1, (LOOP*)Nullop, - invert(scalar(scope(yyvsp[-2].opval))), - yyvsp[-1].opval, yyvsp[0].opval); } -break; -case 33: -#line 211 "perly.y" -{ yyval.opval = block_end(yyvsp[-8].ival, 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 34: -#line 214 "perly.y" -{ yyval.opval = block_end(yyvsp[-7].ival, 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 35: -#line 218 "perly.y" -{ yyval.opval = block_end(yyvsp[-6].ival, yyvsp[-4].ival, - newFOROP(0, yyvsp[-7].pval, yyvsp[-6].ival, Nullop, yyvsp[-3].opval, yyvsp[-1].opval, yyvsp[0].opval)); } -break; -case 36: -#line 222 "perly.y" -{ copline = yyvsp[-9].ival; - yyval.opval = block_end(yyvsp[-9].ival, 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 37: -#line 230 "perly.y" -{ yyval.opval = newSTATEOP(0, - yyvsp[-2].pval, newWHILEOP(0, 1, (LOOP*)Nullop, - Nullop, yyvsp[-1].opval, yyvsp[0].opval)); } -break; -case 38: -#line 236 "perly.y" -{ yyval.opval = Nullop; } -break; -case 40: -#line 241 "perly.y" -{ (void)scan_num("1"); yyval.opval = yylval.opval; } -break; -case 42: -#line 246 "perly.y" -{ yyval.opval = invert(scalar(yyvsp[0].opval)); } -break; -case 43: -#line 250 "perly.y" -{ yyval.opval = yyvsp[0].opval; intro_my(); } -break; -case 44: -#line 254 "perly.y" -{ yyval.opval = yyvsp[0].opval; intro_my(); } -break; -case 45: -#line 258 "perly.y" -{ yyval.opval = yyvsp[0].opval; intro_my(); } -break; -case 46: -#line 262 "perly.y" -{ yyval.opval = yyvsp[0].opval; intro_my(); } -break; -case 47: -#line 266 "perly.y" -{ yyval.pval = Nullch; } -break; -case 49: -#line 271 "perly.y" -{ yyval.ival = 0; } -break; -case 50: -#line 273 "perly.y" -{ yyval.ival = 0; } -break; -case 51: -#line 275 "perly.y" -{ yyval.ival = 0; } -break; -case 52: -#line 277 "perly.y" -{ yyval.ival = 0; } -break; -case 53: -#line 281 "perly.y" -{ newFORM(yyvsp[-2].ival, yyvsp[-1].opval, yyvsp[0].opval); } -break; -case 54: -#line 283 "perly.y" -{ newFORM(yyvsp[-1].ival, Nullop, yyvsp[0].opval); } -break; -case 55: -#line 287 "perly.y" -{ newSUB(yyvsp[-3].ival, yyvsp[-2].opval, yyvsp[-1].opval, yyvsp[0].opval); } -break; -case 56: -#line 289 "perly.y" -{ newSUB(yyvsp[-3].ival, yyvsp[-2].opval, yyvsp[-1].opval, Nullop); expect = XSTATE; } -break; -case 57: -#line 293 "perly.y" -{ yyval.opval = Nullop; } -break; -case 59: -#line 298 "perly.y" -{ yyval.ival = start_subparse(); } -break; -case 60: -#line 302 "perly.y" -{ package(yyvsp[-1].opval); } -break; -case 61: -#line 304 "perly.y" -{ package(Nullop); } -break; -case 62: -#line 308 "perly.y" -{ utilize(yyvsp[-5].ival, yyvsp[-4].ival, yyvsp[-3].opval, yyvsp[-2].opval, yyvsp[-1].opval); } -break; -case 63: -#line 312 "perly.y" -{ yyval.opval = newLOGOP(OP_AND, 0, yyvsp[-2].opval, yyvsp[0].opval); } -break; -case 64: -#line 314 "perly.y" -{ yyval.opval = newLOGOP(yyvsp[-1].ival, 0, yyvsp[-2].opval, yyvsp[0].opval); } -break; -case 66: -#line 319 "perly.y" -{ yyval.opval = yyvsp[-1].opval; } -break; -case 67: -#line 321 "perly.y" -{ yyval.opval = append_elem(OP_LIST, yyvsp[-2].opval, yyvsp[0].opval); } -break; -case 69: -#line 326 "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 70: -#line 329 "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 71: -#line 332 "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 72: -#line 337 "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 73: -#line 342 "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 74: -#line 347 "perly.y" -{ yyval.opval = convert(yyvsp[-1].ival, 0, yyvsp[0].opval); } -break; -case 75: -#line 349 "perly.y" -{ yyval.opval = convert(yyvsp[-3].ival, 0, yyvsp[-1].opval); } -break; -case 76: -#line 351 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED, - append_elem(OP_LIST, - prepend_elem(OP_LIST, newANONSUB(yyvsp[-2].ival, 0, yyvsp[-1].opval), yyvsp[0].opval), - yyvsp[-3].opval)); } -break; -case 79: -#line 362 "perly.y" -{ yyval.opval = newASSIGNOP(OPf_STACKED, yyvsp[-2].opval, yyvsp[-1].ival, yyvsp[0].opval); } -break; -case 80: -#line 364 "perly.y" -{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } -break; -case 81: -#line 366 "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 82: -#line 370 "perly.y" -{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(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" -{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } -break; -case 85: -#line 376 "perly.y" -{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } -break; -case 86: -#line 378 "perly.y" -{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } -break; -case 87: -#line 380 "perly.y" -{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } -break; -case 88: -#line 382 "perly.y" -{ yyval.opval = newRANGE(yyvsp[-1].ival, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval));} -break; -case 89: -#line 384 "perly.y" -{ yyval.opval = newLOGOP(OP_AND, 0, yyvsp[-2].opval, yyvsp[0].opval); } -break; -case 90: -#line 386 "perly.y" -{ yyval.opval = newLOGOP(OP_OR, 0, yyvsp[-2].opval, yyvsp[0].opval); } -break; -case 91: -#line 388 "perly.y" -{ yyval.opval = newCONDOP(0, yyvsp[-4].opval, yyvsp[-2].opval, yyvsp[0].opval); } -break; -case 92: -#line 390 "perly.y" -{ yyval.opval = bind_match(yyvsp[-1].ival, yyvsp[-2].opval, yyvsp[0].opval); } -break; -case 93: -#line 393 "perly.y" -{ yyval.opval = newUNOP(OP_NEGATE, 0, scalar(yyvsp[0].opval)); } -break; -case 94: -#line 395 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 95: -#line 397 "perly.y" -{ yyval.opval = newUNOP(OP_NOT, 0, scalar(yyvsp[0].opval)); } -break; -case 96: -#line 399 "perly.y" -{ yyval.opval = newUNOP(OP_COMPLEMENT, 0, scalar(yyvsp[0].opval));} -break; -case 97: -#line 401 "perly.y" -{ yyval.opval = newUNOP(OP_REFGEN, 0, mod(yyvsp[0].opval,OP_REFGEN)); } -break; -case 98: -#line 403 "perly.y" -{ yyval.opval = newUNOP(OP_POSTINC, 0, - mod(scalar(yyvsp[-1].opval), OP_POSTINC)); } -break; -case 99: -#line 406 "perly.y" -{ yyval.opval = newUNOP(OP_POSTDEC, 0, - mod(scalar(yyvsp[-1].opval), OP_POSTDEC)); } -break; -case 100: -#line 409 "perly.y" -{ yyval.opval = newUNOP(OP_PREINC, 0, - mod(scalar(yyvsp[0].opval), OP_PREINC)); } -break; -case 101: -#line 412 "perly.y" -{ yyval.opval = newUNOP(OP_PREDEC, 0, - mod(scalar(yyvsp[0].opval), OP_PREDEC)); } -break; -case 102: -#line 415 "perly.y" -{ yyval.opval = localize(yyvsp[0].opval,yyvsp[-1].ival); } -break; -case 103: -#line 417 "perly.y" -{ yyval.opval = sawparens(yyvsp[-1].opval); } -break; -case 104: -#line 419 "perly.y" -{ yyval.opval = sawparens(newNULLLIST()); } -break; -case 105: -#line 421 "perly.y" -{ yyval.opval = newANONLIST(yyvsp[-1].opval); } -break; -case 106: -#line 423 "perly.y" -{ yyval.opval = newANONLIST(Nullop); } -break; -case 107: -#line 425 "perly.y" -{ yyval.opval = newANONHASH(yyvsp[-2].opval); } -break; -case 108: -#line 427 "perly.y" -{ yyval.opval = newANONHASH(Nullop); } -break; -case 109: -#line 429 "perly.y" -{ yyval.opval = newANONSUB(yyvsp[-2].ival, yyvsp[-1].opval, yyvsp[0].opval); } -break; -case 110: -#line 431 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 111: -#line 433 "perly.y" -{ yyval.opval = newBINOP(OP_GELEM, 0, newGVREF(0,yyvsp[-4].opval), yyvsp[-2].opval); } -break; -case 112: -#line 435 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 113: -#line 437 "perly.y" -{ yyval.opval = newBINOP(OP_AELEM, 0, oopsAV(yyvsp[-3].opval), scalar(yyvsp[-1].opval)); } -break; -case 114: -#line 439 "perly.y" -{ yyval.opval = newBINOP(OP_AELEM, 0, - ref(newAVREF(yyvsp[-4].opval),OP_RV2AV), - scalar(yyvsp[-1].opval));} -break; -case 115: -#line 443 "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 116: -#line 447 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 117: -#line 449 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 118: -#line 451 "perly.y" -{ yyval.opval = newUNOP(OP_AV2ARYLEN, 0, ref(yyvsp[0].opval, OP_AV2ARYLEN));} -break; -case 119: -#line 453 "perly.y" -{ yyval.opval = newBINOP(OP_HELEM, 0, oopsHV(yyvsp[-4].opval), jmaybe(yyvsp[-2].opval)); - expect = XOPERATOR; } -break; -case 120: -#line 456 "perly.y" -{ yyval.opval = newBINOP(OP_HELEM, 0, - ref(newHVREF(yyvsp[-5].opval),OP_RV2HV), - jmaybe(yyvsp[-2].opval)); - expect = XOPERATOR; } -break; -case 121: -#line 461 "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 122: -#line 466 "perly.y" -{ yyval.opval = newSLICEOP(0, yyvsp[-1].opval, yyvsp[-4].opval); } -break; -case 123: -#line 468 "perly.y" -{ yyval.opval = newSLICEOP(0, yyvsp[-1].opval, Nullop); } -break; -case 124: -#line 470 "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 125: -#line 476 "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 126: -#line 483 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 127: -#line 485 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUB, 0, scalar(yyvsp[0].opval)); } -break; -case 128: -#line 487 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar(yyvsp[-2].opval)); } -break; -case 129: -#line 489 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED, - append_elem(OP_LIST, yyvsp[-1].opval, scalar(yyvsp[-3].opval))); } -break; -case 130: -#line 492 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED, - append_elem(OP_LIST, yyvsp[0].opval, scalar(yyvsp[-1].opval))); } -break; -case 131: -#line 495 "perly.y" -{ yyval.opval = newUNOP(OP_DOFILE, 0, scalar(yyvsp[0].opval)); } -break; -case 132: -#line 497 "perly.y" -{ yyval.opval = newUNOP(OP_NULL, OPf_SPECIAL, scope(yyvsp[0].opval)); } -break; -case 133: -#line 499 "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 134: -#line 507 "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 135: -#line 516 "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 136: -#line 520 "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 137: -#line 525 "perly.y" -{ yyval.opval = newOP(yyvsp[0].ival, OPf_SPECIAL); - hints |= HINT_BLOCK_SCOPE; } -break; -case 138: -#line 528 "perly.y" -{ yyval.opval = newLOOPEX(yyvsp[-1].ival,yyvsp[0].opval); } -break; -case 139: -#line 530 "perly.y" -{ yyval.opval = newUNOP(OP_NOT, 0, scalar(yyvsp[0].opval)); } -break; -case 140: -#line 532 "perly.y" -{ yyval.opval = newOP(yyvsp[0].ival, 0); } -break; -case 141: -#line 534 "perly.y" -{ yyval.opval = newUNOP(yyvsp[-1].ival, 0, yyvsp[0].opval); } -break; -case 142: -#line 536 "perly.y" -{ yyval.opval = newUNOP(yyvsp[-1].ival, 0, yyvsp[0].opval); } -break; -case 143: -#line 538 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED, - append_elem(OP_LIST, yyvsp[0].opval, scalar(yyvsp[-1].opval))); } -break; -case 144: -#line 541 "perly.y" -{ yyval.opval = newOP(yyvsp[0].ival, 0); } -break; -case 145: -#line 543 "perly.y" -{ yyval.opval = newOP(yyvsp[-2].ival, 0); } -break; -case 146: -#line 545 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUB, 0, - scalar(yyvsp[0].opval)); } -break; -case 147: -#line 548 "perly.y" -{ yyval.opval = newOP(yyvsp[-2].ival, OPf_SPECIAL); } -break; -case 148: -#line 550 "perly.y" -{ yyval.opval = newUNOP(yyvsp[-3].ival, 0, yyvsp[-1].opval); } -break; -case 149: -#line 552 "perly.y" -{ yyval.opval = pmruntime(yyvsp[-3].opval, yyvsp[-1].opval, Nullop); } -break; -case 150: -#line 554 "perly.y" -{ yyval.opval = pmruntime(yyvsp[-5].opval, yyvsp[-3].opval, yyvsp[-1].opval); } -break; -case 153: -#line 560 "perly.y" -{ yyval.opval = Nullop; } -break; -case 154: -#line 562 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 155: -#line 566 "perly.y" -{ yyval.opval = Nullop; } -break; -case 156: -#line 568 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -case 157: -#line 570 "perly.y" -{ yyval.opval = yyvsp[-1].opval; } -break; -case 158: -#line 573 "perly.y" -{ yyval.ival = 0; } -break; -case 159: -#line 574 "perly.y" -{ yyval.ival = 1; } -break; -case 160: -#line 578 "perly.y" -{ in_my = 0; yyval.opval = my(yyvsp[0].opval); } -break; -case 161: -#line 582 "perly.y" -{ yyval.opval = newCVREF(yyvsp[-1].ival,yyvsp[0].opval); } -break; -case 162: -#line 586 "perly.y" -{ yyval.opval = newSVREF(yyvsp[0].opval); } -break; -case 163: -#line 590 "perly.y" -{ yyval.opval = newAVREF(yyvsp[0].opval); } -break; -case 164: -#line 594 "perly.y" -{ yyval.opval = newHVREF(yyvsp[0].opval); } -break; -case 165: -#line 598 "perly.y" -{ yyval.opval = newAVREF(yyvsp[0].opval); } -break; -case 166: -#line 602 "perly.y" -{ yyval.opval = newGVREF(0,yyvsp[0].opval); } -break; -case 167: -#line 606 "perly.y" -{ yyval.opval = scalar(yyvsp[0].opval); } -break; -case 168: -#line 608 "perly.y" -{ yyval.opval = scalar(yyvsp[0].opval); } -break; -case 169: -#line 610 "perly.y" -{ yyval.opval = scope(yyvsp[0].opval); } -break; -case 170: -#line 613 "perly.y" -{ yyval.opval = yyvsp[0].opval; } -break; -#line 2261 "perly.c" + yyerror (yymsg); + YYSTACK_FREE (yymsg); + } + else + yyerror ("syntax error; also virtual memory exhausted"); + } + else +#endif /* YYERROR_VERBOSE */ + yyerror ("syntax error"); } - 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; + + + if (yyerrstatus == 3) { + /* If just tried and failed to reuse lookahead token after an + error, discard it. */ + + /* Return failure if at end of input. */ + if (yychar == YYEOF) { + /* Pop the error token. */ + YYPOPSTACK; + /* Pop the rest of the stack. */ + while (yyss < yyssp) { + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp); + YYPOPSTACK; + } + YYABORT; + } + + YYDSYMPRINTF ("Error: discarding", yytoken, &yylval); + yychar = YYEMPTY; + } - 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); + + /* Else will try to reuse lookahead token after shifting the error + token. */ + goto yyerrlab1; + + + /*----------------------------------------------------. + | yyerrlab1 -- error raised explicitly by an action. | + `----------------------------------------------------*/ + yyerrlab1: + yyerrstatus = 3; /* Each real token shifted decrements this. */ + + for (;;) { + yyn = yypact[yystate]; + if (yyn != YYPACT_NINF) { + yyn += YYTERROR; + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) { + yyn = yytable[yyn]; + if (0 < yyn) + break; + } + } + + /* Pop the current state because it cannot handle the error token. */ + if (yyssp == yyss) + YYABORT; + + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp); + yyvsp--; +#ifdef DEBUGGING + yynsp--; #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; + yystate = *--yyssp; + + YY_STACK_PRINT (yyss, yyssp, yyvs, yyns); } - *++yyssp = yystate; - *++yyvsp = yyval; - goto yyloop; -yyoverflow: - yyerror("Out of memory for yacc stack"); -yyabort: - retval = 1; -yyaccept: - return retval; + + if (yyn == YYFINAL) + YYACCEPT; + + YYDPRINTF ((Perl_debug_log, "Shifting error token, ")); + + *++yyvsp = yylval; +#ifdef DEBUGGING + *++yynsp =""; +#endif + + yystate = yyn; + YYDPRINTF ((Perl_debug_log, "Entering state %d\n", yystate)); + + goto yynewstate; + + + /*-------------------------------------. + | yyacceptlab -- YYACCEPT comes here. | + `-------------------------------------*/ + yyacceptlab: + yyresult = 0; + goto yyreturn; + + /*-----------------------------------. + | yyabortlab -- YYABORT comes here. | + `-----------------------------------*/ + yyabortlab: + yyresult = 1; + goto yyreturn; + + /*----------------------------------------------. + | yyoverflowlab -- parser overflow comes here. | + `----------------------------------------------*/ + yyoverflowlab: + yyerror ("parser stack overflow"); + yyresult = 2; + /* Fall through. */ + + yyreturn: + + LEAVE; /* force stack free before we return */ + + return yyresult; } + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */