More on the macro debugging and expansion.
[p5sagit/p5-mst-13.2.git] / perly.c
diff --git a/perly.c b/perly.c
index bc32318..5dae052 100644 (file)
--- a/perly.c
+++ b/perly.c
-char rcsid[] = "$Header: perly.c,v 1.0 87/12/18 15:53:31 root Exp $";
-/*
- * $Log:       perly.c,v $
- * Revision 1.0  87/12/18  15:53:31  root
- * Initial revision
- * 
- */
-
-bool preprocess = FALSE;
-bool assume_n = FALSE;
-bool assume_p = FALSE;
-bool doswitches = FALSE;
-char *filename;
-char *e_tmpname = "/tmp/perl-eXXXXXX";
-FILE *e_fp = Nullfp;
-ARG *l();
-
-main(argc,argv,env)
-register int argc;
-register char **argv;
-register char **env;
-{
-    register STR *str;
-    register char *s;
-    char *index();
-
-    linestr = str_new(80);
-    str = str_make("-I/usr/lib/perl ");        /* first used for -I flags */
-    for (argc--,argv++; argc; argc--,argv++) {
-       if (argv[0][0] != '-' || !argv[0][1])
-           break;
-      reswitch:
-       switch (argv[0][1]) {
-#ifdef DEBUGGING
-       case 'D':
-           debug = atoi(argv[0]+2);
-#ifdef YYDEBUG
-           yydebug = (debug & 1);
+#ifndef lint
+/* static char yysccsid[] = "@(#)yaccpar 1.8 (Berkeley) 01/20/91"; */
 #endif
-           break;
+#define YYBYACC 1
+#line 16 "perly.y"
+#include "EXTERN.h"
+#define PERL_IN_PERLY_C
+#include "perl.h"
+#ifdef EBCDIC
+#undef YYDEBUG
 #endif
-       case 'e':
-           if (!e_fp) {
-               mktemp(e_tmpname);
-               e_fp = fopen(e_tmpname,"w");
-           }
-           if (argv[1])
-               fputs(argv[1],e_fp);
-           putc('\n', e_fp);
-           argc--,argv++;
-           break;
-       case 'i':
-           inplace = savestr(argv[0]+2);
-           argvoutstab = stabent("ARGVOUT",TRUE);
-           break;
-       case 'I':
-           str_cat(str,argv[0]);
-           str_cat(str," ");
-           if (!argv[0][2]) {
-               str_cat(str,argv[1]);
-               argc--,argv++;
-               str_cat(str," ");
-           }
-           break;
-       case 'n':
-           assume_n = TRUE;
-           strcpy(argv[0], argv[0]+1);
-           goto reswitch;
-       case 'p':
-           assume_p = TRUE;
-           strcpy(argv[0], argv[0]+1);
-           goto reswitch;
-       case 'P':
-           preprocess = TRUE;
-           strcpy(argv[0], argv[0]+1);
-           goto reswitch;
-       case 's':
-           doswitches = TRUE;
-           strcpy(argv[0], argv[0]+1);
-           goto reswitch;
-       case 'v':
-           version();
-           exit(0);
-       case '-':
-           argc--,argv++;
-           goto switch_end;
-       case 0:
-           break;
-       default:
-           fatal("Unrecognized switch: %s\n",argv[0]);
-       }
-    }
-  switch_end:
-    if (e_fp) {
-       fclose(e_fp);
-       argc++,argv--;
-       argv[0] = e_tmpname;
-    }
-
-    str_set(&str_no,No);
-    str_set(&str_yes,Yes);
-    init_eval();
-
-    /* open script */
-
-    if (argv[0] == Nullch)
-       argv[0] = "-";
-    filename = savestr(argv[0]);
-    if (strEQ(filename,"-"))
-       argv[0] = "";
-    if (preprocess) {
-       sprintf(buf, "\
-/bin/sed -e '/^[^#]/b' \
- -e '/^#[      ]*include[      ]/b' \
- -e '/^#[      ]*define[       ]/b' \
- -e '/^#[      ]*if[   ]/b' \
- -e '/^#[      ]*ifdef[        ]/b' \
- -e '/^#[      ]*else/b' \
- -e '/^#[      ]*endif/b' \
- -e 's/^#.*//' \
- %s | /lib/cpp -C %s-",
-         argv[0], str_get(str));
-       rsfp = popen(buf,"r");
-    }
-    else if (!*argv[0])
-       rsfp = stdin;
-    else
-       rsfp = fopen(argv[0],"r");
-    if (rsfp == Nullfp)
-       fatal("Perl script \"%s\" doesn't seem to exist.\n",filename);
-    str_free(str);             /* free -I directories */
-
-    defstab = stabent("_",TRUE);
-
-    /* init tokener */
-
-    bufptr = str_get(linestr);
-
-    /* now parse the report spec */
-
-    if (yyparse())
-       fatal("Execution aborted due to compilation errors.\n");
-
-    if (e_fp) {
-       e_fp = Nullfp;
-       UNLINK(e_tmpname);
-    }
-    argc--,argv++;     /* skip name of script */
-    if (doswitches) {
-       for (; argc > 0 && **argv == '-'; argc--,argv++) {
-           if (argv[0][1] == '-') {
-               argc--,argv++;
-               break;
-           }
-           str_numset(stabent(argv[0]+1,TRUE)->stab_val,(double)1.0);
-       }
-    }
-    if (argvstab = stabent("ARGV",FALSE)) {
-       for (; argc > 0; argc--,argv++) {
-           apush(argvstab->stab_array,str_make(argv[0]));
-       }
-    }
-    if (envstab = stabent("ENV",FALSE)) {
-       for (; *env; env++) {
-           if (!(s = index(*env,'=')))
-               continue;
-           *s++ = '\0';
-           str = str_make(s);
-           str->str_link.str_magic = envstab;
-           hstore(envstab->stab_hash,*env,str);
-           *--s = '=';
-       }
-    }
-    sigstab = stabent("SIG",FALSE);
-
-    magicalize("!#?^~=-%0123456789.+&*(),\\/[|");
-
-    (tmpstab = stabent("0",FALSE)) && str_set(STAB_STR(tmpstab),filename);
-    (tmpstab = stabent("$",FALSE)) &&
-       str_numset(STAB_STR(tmpstab),(double)getpid());
-
-    tmpstab = stabent("stdin",TRUE);
-    tmpstab->stab_io = stio_new();
-    tmpstab->stab_io->fp = stdin;
-
-    tmpstab = stabent("stdout",TRUE);
-    tmpstab->stab_io = stio_new();
-    tmpstab->stab_io->fp = stdout;
-    defoutstab = tmpstab;
-    curoutstab = tmpstab;
-
-    tmpstab = stabent("stderr",TRUE);
-    tmpstab->stab_io = stio_new();
-    tmpstab->stab_io->fp = stderr;
-
-    setjmp(top_env);   /* sets goto_targ on longjump */
-
-#ifdef DEBUGGING
-    if (debug & 1024)
-       dump_cmd(main_root,Nullcmd);
-    if (debug)
-       fprintf(stderr,"\nEXECUTING...\n\n");
+#define dep() deprecate_old("\"do\" to call subroutines")
+
+/* stuff included here to make perly_c.diff apply better */
+
+#define yydebug            PL_yydebug
+#define yynerrs            PL_yynerrs
+#define yyerrflag   PL_yyerrflag
+#define yychar     PL_yychar
+#define yyval      PL_yyval
+#define yylval     PL_yylval
+
+struct ysv {
+    short* yyss;
+    YYSTYPE* yyvs;
+    int oldyydebug;
+    int oldyynerrs;
+    int oldyyerrflag;
+    int oldyychar;
+    YYSTYPE oldyyval;
+    YYSTYPE oldyylval;
+};
+
+static void yydestruct(pTHX_ void *ptr);
+
+#line 51 "perly.y"
+#if 0 /* get this from perly.h instead */
+#line 54 "perly.y"
+typedef union {
+    I32        ival;
+    char *pval;
+    OP *opval;
+    GV *gvval;
+} YYSTYPE;
+#line 62 "perly.y"
+#endif /* 0 */
+
+#ifdef USE_PURE_BISON
+#define YYLEX_PARAM (&yychar)
+#define yylex yylex_r
 #endif
 
-    /* do it */
-
-    (void) cmd_exec(main_root);
-
-    if (goto_targ)
-       fatal("Can't find label \"%s\"--aborting.\n",goto_targ);
-    exit(0);
-}
-
-magicalize(list)
-register char *list;
-{
-    register STAB *stab;
-    char sym[2];
-
-    sym[1] = '\0';
-    while (*sym = *list++) {
-       if (stab = stabent(sym,FALSE)) {
-           stab->stab_flags = SF_VMAGIC;
-           stab->stab_val->str_link.str_magic = stab;
-       }
-    }
-}
-
-#define RETURN(retval) return (bufptr = s,retval)
-#define OPERATOR(retval) return (expectterm = TRUE,bufptr = s,retval)
-#define TERM(retval) return (expectterm = FALSE,bufptr = s,retval)
-#define LOOPX(f) return (yylval.ival = f,expectterm = FALSE,bufptr = s,LOOPEX)
-#define UNI(f) return (yylval.ival = f,expectterm = TRUE,bufptr = s,UNIOP)
-#define FUN0(f) return (yylval.ival = f,expectterm = FALSE,bufptr = s,FUNC0)
-#define FUN1(f) return (yylval.ival = f,expectterm = FALSE,bufptr = s,FUNC1)
-#define FUN2(f) return (yylval.ival = f,expectterm = FALSE,bufptr = s,FUNC2)
-#define FUN3(f) return (yylval.ival = f,expectterm = FALSE,bufptr = s,FUNC3)
-#define SFUN(f) return (yylval.ival = f,expectterm = FALSE,bufptr = s,STABFUN)
-
-yylex()
-{
-    register char *s = bufptr;
-    register char *d;
-    register int tmp;
-    static bool in_format = FALSE;
-    static bool firstline = TRUE;
-
-  retry:
-#ifdef YYDEBUG
-    if (yydebug)
-       if (index(s,'\n'))
-           fprintf(stderr,"Tokener at %s",s);
-       else
-           fprintf(stderr,"Tokener at %s\n",s);
+#line 54 "perly.c"
+#define YYERRCODE 256
+static short yylhs[] = {                                        -1,
+    0,    9,    7,    6,   10,    8,   11,   11,   11,   12,
+   12,   12,   12,   25,   25,   25,   25,   25,   25,   25,
+   15,   15,   15,   14,   14,   43,   43,   13,   13,   13,
+   13,   13,   13,   13,   27,   27,   28,   28,   29,   30,
+   31,   32,   33,   54,   54,    1,    1,    1,    1,    1,
+    2,   39,   39,   47,   55,    3,    4,    5,   40,   41,
+   41,   45,   45,   45,   46,   46,   42,   42,   56,   58,
+   57,   16,   16,   16,   16,   26,   26,   26,   37,   37,
+   37,   37,   37,   37,   37,   37,   59,   37,   38,   38,
+   18,   18,   18,   18,   18,   18,   18,   18,   18,   18,
+   18,   50,   50,   50,   50,   50,   50,   50,   50,   50,
+   50,   50,   50,   50,   50,   51,   51,   51,   51,   51,
+   51,   51,   51,   52,   52,   52,   52,   52,   53,   53,
+   53,   53,   53,   53,   17,   17,   17,   17,   17,   17,
+   17,   17,   17,   17,   17,   17,   17,   17,   17,   17,
+   17,   17,   17,   17,   17,   17,   17,   17,   17,   17,
+   17,   17,   17,   17,   17,   17,   17,   17,   17,   17,
+   17,   17,   17,   17,   17,   48,   48,   49,   49,   49,
+   49,   49,   34,   34,   35,   35,   35,   44,   24,   19,
+   20,   21,   22,   23,   36,   36,   36,   36,
+};
+static short yylen[] = {                                         2,
+    2,    4,    0,    0,    4,    0,    0,    2,    2,    2,
+    1,    2,    3,    1,    1,    3,    3,    3,    3,    3,
+    0,    2,    6,    7,    7,    0,    2,    8,    8,   10,
+    9,    8,   11,    3,    0,    1,    0,    1,    1,    1,
+    1,    1,    1,    0,    1,    1,    1,    1,    1,    1,
+    4,    1,    0,    6,    6,    0,    0,    0,    1,    0,
+    1,    0,    2,    1,    2,    1,    1,    1,    3,    0,
+    7,    3,    3,    3,    1,    2,    3,    1,    3,    5,
+    6,    3,    3,    5,    2,    4,    0,    5,    1,    1,
+    5,    4,    5,    4,    5,    6,    5,    4,    5,    4,
+    3,    3,    3,    3,    3,    3,    3,    3,    3,    3,
+    3,    3,    3,    3,    3,    2,    2,    2,    2,    2,
+    2,    2,    2,    3,    2,    4,    3,    5,    2,    2,
+    4,    5,    4,    5,    1,    1,    1,    1,    5,    2,
+    1,    2,    3,    2,    1,    1,    1,    1,    1,    1,
+    6,    5,    4,    5,    1,    1,    3,    4,    3,    1,
+    2,    2,    1,    2,    2,    2,    1,    3,    1,    3,
+    4,    4,    6,    1,    1,    3,    2,    3,    2,    1,
+    1,    1,    0,    1,    0,    1,    2,    1,    2,    2,
+    2,    2,    2,    2,    1,    1,    1,    1,
+};
+static short yydefred[] = {                                      4,
+    0,    7,    0,   45,   58,   56,    0,   56,   56,    8,
+   46,    9,   11,   48,    0,   47,   49,   50,    0,    0,
+    0,   70,    0,   14,    3,  174,    0,    0,  155,    0,
+  169,    0,   57,   57,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+   12,    0,    0,    0,    0,    0,    0,    0,   10,    0,
+    0,    0,    0,    0,  147,  149,    0,    0,    0,    0,
+  175,  141,  135,  136,  137,  138,   52,    0,   59,    0,
+   69,    0,    0,    7,  195,  198,  197,  196,    0,    0,
+    0,    0,    0,    0,    3,    3,    3,    3,    3,    3,
+    0,    0,    0,    0,    0,  164,    0,    0,    0,    0,
+   85,    0,  193,    0,  130,    0,    0,    0,    0,    0,
+    0,    0,  180,  182,  181,    0,  189,    0,    0,    0,
+    0,    0,    0,    0,    0,  125,    0,    0,    0,  190,
+  191,  192,  194,    0,   34,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,  120,  121,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+   13,    0,   51,   61,    0,    0,    0,    0,   83,    0,
+    0,   87,    0,    0,    0,    0,    0,    0,    0,    3,
+  168,  170,    0,    0,    0,    0,    0,    0,    0,  127,
+    0,  159,  179,    0,    0,  176,    0,    0,  124,   27,
+    0,    0,   19,    0,    0,    0,    0,    0,   72,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,   89,    0,    0,   90,    0,
+    0,  101,    0,    0,    0,    0,    0,    0,    0,  157,
+    0,    0,    0,    0,    0,    0,    2,    0,    0,  172,
+    0,    0,    0,   42,    0,   43,    0,    0,    0,    0,
+  188,    0,    0,   36,   41,    0,    0,    0,  171,  187,
+   86,    0,  131,    0,  133,    0,  126,  178,   65,    0,
+    0,    0,    0,   98,    0,    0,    0,    0,  100,   94,
+    0,   92,    0,  153,    0,  158,   63,   68,   67,   55,
+    0,   54,   84,    0,   88,  128,    0,    0,    0,    0,
+    0,    0,    0,    0,   80,  132,  134,  152,    0,    0,
+    0,   99,   93,    0,   97,   95,  154,   91,   71,  173,
+    6,    0,    0,    0,    0,    0,    0,    0,    0,  151,
+   96,   81,    7,   28,   29,    0,    0,   24,   25,    0,
+   32,    0,    0,    0,   22,    0,    0,    0,   31,    5,
+    0,   30,    0,    0,   33,    0,   23,
+};
+static short yydgoto[] = {                                       1,
+   10,   11,   20,  103,   19,    2,   94,  373,   97,  362,
+    3,   12,   13,   69,  378,  288,   71,   72,   73,   74,
+   75,   76,   77,   78,  294,   80,  295,  284,  286,  289,
+  297,  285,  287,  121,  215,   99,   81,  260,   88,   90,
+  195,  330,  155,  292,  274,  226,   14,   82,  136,   83,
+   84,   85,   86,   15,   16,   17,   18,   92,  281,
+};
+static short yysindex[] = {                                      0,
+    0,    0, -236,    0,    0,    0, -231,    0,    0,    0,
+    0,    0,    0,    0,  819,    0,    0,    0, -211, -209,
+    3,    0, -209,    0,    0,    0,  -32,  -32,    0,   23,
+    0, 2213,    0,    0,   28,   30,   32,   33,  -18, 2213,
+   42,   52,   64, 1004,  940,  -32, 1149, 1268, -168, 2213,
+  174,  -32, 2213, 2213, 2213, 2213, 2213, 2213, 1328, 1413,
+    0, 2213, 2213,  -32,  -32,  -32,  -32, -173,    0,  607,
+  404,  -27,  -71,  -67,    0,    0,  -12,   68,   66,   94,
+    0,    0,    0,    0,    0,    0,    0,   27,    0, -108,
+    0, -100, -108,    0,    0,    0,    0,    0, 2213,  122,
+ 2213,  743,   27, -108,    0,    0,    0,    0,    0,    0,
+  125,  404,  135, 1454,  940,    0,  743,    0,  -71,   94,
+    0, 2213,    0,  140,    0,  743,  -25,   38,   -8, 2213,
+  743, 1562,    0,    0,    0, -114,    0,   94,  245,  245,
+  245, -123, -123,  106,  -34,    0,  -53,  245,  245,    0,
+    0,    0,    0,   27,    0, 2213, 2213, 2213, 2213, 2213,
+ 2213, 2213, 2213, 2213, 2213, 2213, 2213, 2213, 2213, 2213,
+ 2213, 2213, 2213, 2213, 2213, 2213, 2213, 2213,    0,    0,
+  -26, 2213, 1723, 2213, 2213, 2213, 2213, 2213, 2213, 1796,
+    0, 2213,    0,    0,  -90,  -48,  -90,  285,    0, 2213,
+  -35,    0,  -90, 2213, 2213, 2213, 2213,  182, 1859,    0,
+    0,    0,   -2,  -42,  180, 2213,   94, 1932, 2004,    0,
+  102,    0,    0,   13,  -21,    0, 2213,  142,    0,    0,
+  184,  184,    0,  184,  184,  184,  -51,  -51,    0,  296,
+  743,  386,  683, -158,  404,  643, 1034, 1034, 1067, 1345,
+  960, -112,  245,  245, 2213,    0, 2140, 2213,    0,  216,
+  120,    0,   40,  127,  123,  214,  132,  217,  136,    0,
+   77,  404,   -3,  -47, 2213,  -47,    0,  220, 2213,    0,
+ 2213,   27,  184,    0,  224,    0,  240,  184,  244,  246,
+    0,  261,  607,    0,    0,  267,  227, 2213,    0,    0,
+    0,   88,    0,   95,    0,   98,    0,    0,    0,  236,
+ 2213, 2213,  139,    0,  117,  239, 2213,  194,    0,    0,
+  206,    0,  213,    0,  218,    0,    0,    0,    0,    0,
+  293,    0,    0,  585,    0,    0,  221,  221,  221,  221,
+ 2213,  221, 2213,  325,    0,    0,    0,    0,  243,  703,
+  255,    0,    0,  327,    0,    0,    0,    0,    0,    0,
+    0, -173, -173, -240, -240,  351, -173,  332,  221,    0,
+    0,    0,    0,    0,    0,  221,  354,    0,    0,  221,
+    0, 1859, -173,  350,    0, 2213, -173,  360,    0,    0,
+  361,    0,  221,  221,    0, -240,    0,
+};
+static short yyrindex[] = {                                      0,
+    0,    0,  371,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,  289,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,   16,
+ 2282,    0,    0, 2401, 2566,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,   90,    0,  -16,
+ 1607, 2620, 2673, 2721,    0,    0, 2769, 2856,    0,  -38,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,  -54,
+    0,    0,  -54,    0,    0,    0,    0,    0, 2566,    0,
+    0, 4274,    0, -115,    0,    0,    0,    0,    0,    0,
+    0, 1886,    0,    0,  374,    0, 4339,  467,  532, 3224,
+    0,    0,    0, 3005,    0, 4394, 2673,    0,    0, 2566,
+ 4404,    0,    0,    0,    0, 3055,    0, 3459, 3695, 3746,
+ 3801, 3582, 3630, 3127,    0,    0,    0, 3866, 3914,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0, 3175,    0,    0,  -43,    0,  -43,  880,    0,  374,
+    0,    0,  303,  390,    0,    0,    0,    0,  389,    0,
+    0,    0,    0,  422,    0,    0, 3510,    0,    0,    0,
+    0,    0,    0,    0, 3291,    0,    0, 3346,    0,    0,
+    8,   12,    0,   61,   62,   65, 1479, 1642,    0, 2274,
+ 4445, 4493, 4120, 4168, 2421,    0, 4697, 4745, 4630, 4591,
+ 4543, 4219, 4000, 4055,    0,    0,    0,    0,    0, 3411,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0, 2474,  -30,    0,  405,    0,    0,    0,    0,    0,
+ 2566,    0,   78,    0,    0,    0,    0,  432,    0,    0,
+    0,    0,   81,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,  374,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,  415,    0,    0,    0,    0,    0,    0, 1201,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,   90,   90,  186,  186,    0,   90,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,  435,   90,  880,    0,    0,   90,    0,    0,    0,
+    0,    0,    0,    0,    0,  186,    0,
+};
+static short yygindex[] = {                                      0,
+    0,    0,   50,  453,    0,    0,  -22,    0,   63,  153,
+  -93,    0,    0,    0, -346,  -15, 2480,    0, 1744,  437,
+  439,    0,    0,    0,  481,  755,    0,    0,  341, -186,
+  124,  170,  313,  -88, -183,   49,    0,    0,    0,  498,
+  -66,  247,  225,    0, -156,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,
+};
+#define YYTABLESIZE 5051
+static short yytable[] = {                                      70,
+  198,  300,   75,   64,   60,  280,  228,   60,  279,   64,
+  199,  328,  183,  257,  219,   62,  278,   64,  379,  186,
+   75,  110,  296,  188,   15,   21,  197,  170,   64,    4,
+    5,    6,  129,    7,    8,  376,  377,  203,  299,  229,
+  276,  222,   15,  145,  147,   87,  282,   89,   18,  397,
+  221,  185,   39,  308,   75,  187,  160,   22,   23,  160,
+    9,   91,  101,  184,  258,  186,   18,  105,   60,  106,
+   39,  107,  108,  160,  160,   25,  100,   68,  160,   62,
+  319,  113,  204,  205,  206,  207,  208,  209,  130,   26,
+   25,  114,   64,  122,  123,  182,  255,  185,  213,  214,
+  137,   16,   17,  115,  154,   20,  116,  190,  160,  125,
+  189,  344,  150,  151,  152,  153,  224,  326,   38,   16,
+   17,   40,   26,   20,  191,   26,   26,   26,  345,   26,
+  167,   26,   26,  354,   26,  346,   38,  192,  347,   15,
+  231,  232,  234,  235,  236,  237,  238,  239,   26,   25,
+  193,  194,  177,   26,  366,  178,  196,  352,  179,  180,
+  181,  200,  220,  216,  210,  202,  261,  263,  264,  265,
+  266,  267,  268,  269,  271,  211,  167,  168,  318,  218,
+   26,  321,   60,  225,  214,   21,  331,  298,  283,  232,
+  323,  232,  335,  293,  325,  181,  227,  351,  177,  391,
+  302,  178,  304,  306,  179,  180,  181,  273,  275,   64,
+   66,  310,   26,  132,   26,   26,  230,   64,   21,  320,
+  301,   21,   21,   21,   95,   21,  307,   21,   21,   96,
+   21,  256,  311,   75,   75,   75,   75,   65,  309,  313,
+   75,  315,  316,   60,   21,  164,  161,  162,  163,   21,
+  163,  165,  166,  167,  168,  317,  327,  161,  162,  163,
+  333,   75,   75,   75,  337,  161,  162,  163,  169,  171,
+  172,  173,  174,  175,  176,  177,   21,  109,  178,  384,
+  338,  179,  180,  181,  339,  343,  340,  160,  160,  160,
+  160,  161,  162,  163,  160,  349,  160,  161,  162,  163,
+  341,  214,  160,  160,  160,  160,  322,  342,   21,  324,
+   21,   21,  161,  162,  163,  160,  160,  160,  355,  160,
+  160,  160,  160,  160,  160,  160,  160,  283,  348,  160,
+  356,  353,  160,  160,  160,  370,  329,  357,  329,  161,
+  162,  163,  358,  361,  336,   26,   26,   26,   26,   26,
+   26,  359,   26,   26,   26,   26,   26,   26,   26,   26,
+   26,   26,   26,   26,   26,  369,   70,  372,   26,   26,
+    1,   26,   26,   26,   26,   26,  161,  162,  163,  371,
+   26,   26,   26,   26,   26,   26,   26,  161,  162,  163,
+  382,  380,   26,  386,  161,  162,  163,  161,  162,  163,
+  393,  394,   26,   44,   26,   26,   44,   44,   44,  277,
+   44,   53,   44,   44,  185,   44,  161,  162,  163,  161,
+  162,  163,  161,  162,  163,   62,  161,  162,  163,   44,
+   37,  161,  162,  163,   44,  161,  162,  163,  161,  162,
+  163,   21,   21,   21,   21,   21,   21,   35,   21,   21,
+   21,   21,   21,   21,   21,   21,   21,   21,   21,   21,
+   21,   44,  186,  183,   21,   21,  170,   21,   21,   21,
+   21,   21,   40,   37,  390,   35,   21,   21,   21,   21,
+   21,   21,   21,  161,  162,  163,  104,  134,   21,  135,
+  363,  364,  365,   44,  367,   79,   44,  233,   21,  195,
+   21,   21,  195,  195,  195,  388,  195,  174,  195,  195,
+  174,  195,  368,  161,  162,  163,  161,  162,  163,  290,
+   93,  383,  332,    0,  174,  174,    0,    0,  385,  174,
+  195,    0,  387,    0,    0,  161,  162,  163,  161,  162,
+  163,    0,  161,  162,  163,  395,  396,    0,    0,    0,
+    4,    5,    6,    0,    7,    8,    0,  195,  178,  174,
+    0,  179,  180,  181,  196,    0,    0,  196,  196,  196,
+    0,  196,  145,  196,  196,  145,  196,    0,    0,    0,
+    0,    9,  165,  166,  167,  168,  374,  375,    0,  145,
+  145,  381,  195,    0,  145,  196,    0,    0,    0,    0,
+  171,  172,  173,  174,  175,  176,  177,  389,    0,  178,
+    0,  392,  179,  180,  181,    4,    5,    6,    0,    7,
+    8,    0,    0,    0,  145,  360,   44,   44,   44,   44,
+   44,   44,    0,   44,   44,   44,    0,    0,    0,   44,
+    0,    0,   44,   44,   44,   44,    9,  170,    0,   44,
+   44,    0,   44,   44,   44,   44,   44,  196,    0,    0,
+    0,   44,   44,   44,   44,   44,   44,    0,    0,    0,
+    0,    0,  165,   44,  167,  168,    0,    0,    0,    0,
+    0,    0,    0,   44,  164,   44,   44,    0,    0,    0,
+  165,  166,  167,  168,    0,  176,  177,    0,    0,  178,
+  312,    0,  179,  180,  181,  170,    0,  169,  171,  172,
+  173,  174,  175,  176,  177,    0,    0,  178,    0,    0,
+  179,  180,  181,  195,  195,  195,  195,  195,    0,  195,
+  195,  195,    0,    0,    0,  195,    0,    0,  174,  174,
+  174,  174,    0,    0,    0,  174,  195,  174,  195,  195,
+  195,  195,  195,  174,  174,  174,  174,  195,  195,  195,
+  195,  195,  195,    0,    0,  170,  174,  174,  174,  195,
+  174,  174,  174,  174,  174,  174,  174,  174,    0,  195,
+  174,  195,  195,  174,  174,  174,    0,    0,  196,  196,
+  196,  196,  196,    0,  196,  196,  196,    0,    0,  120,
+  196,    0,    0,  145,  145,  145,  145,  138,    0,    0,
+  145,  196,  145,  196,  196,  196,  196,  196,  145,  145,
+  145,  145,  196,  196,  196,  196,  196,  196,    0,    0,
+    0,  145,  145,  145,  196,  145,  145,  145,  145,  145,
+  145,  145,  145,    0,  196,  145,  196,  196,  145,  145,
+  145,   54,    0,  120,   64,   66,   52,    0,   59,    0,
+   67,   63,    0,   62,    0,  164,    0,    0,    0,    0,
+    0,  165,  166,  167,  168,    0,  217,   61,  156,  157,
+  158,  159,   65,    0,  120,  160,    0,    0,  169,  171,
+  172,  173,  174,  175,  176,  177,    0,    0,  178,    0,
+    0,  179,  180,  181,    0,    0,  161,  162,  163,   60,
+    0,    0,   44,    0,    0,   44,   44,   44,    0,   44,
+    0,   44,   44,  164,   44,    0,    0,    0,    0,  165,
+  166,  167,  168,    0,    0,    0,    0,    0,   44,    0,
+    0,   25,    0,   44,   55,    0,  169,  171,  172,  173,
+  174,  175,  176,  177,    0,    0,  178,    0,    0,  179,
+  180,  181,    0,    0,    0,    0,    0,    0,    0,    0,
+   44,    0,   54,    0,    0,   64,   66,   52,    0,   59,
+    0,   67,   63,  164,   62,    0,    0,    0,    0,  165,
+  166,  167,  168,  177,    0,    0,  178,    0,    0,  179,
+  180,  181,   44,   65,    0,   44,    0,  171,  172,  173,
+  174,  175,  176,  177,    0,    0,  178,    0,    0,  179,
+  180,  181,    0,    0,    0,    0,    0,    0,    0,  120,
+   60,  167,  168,    0,    0,  120,   54,    0,    0,   64,
+   66,   52,    0,   59,    0,   67,   63,    0,   62,    0,
+    0,    0,  176,  177,    0,    0,  178,    0,    0,  179,
+  180,  181,   25,    0,    0,   55,    0,   65,    0,    0,
+    0,    0,    0,    0,   24,   26,   27,   28,   29,   30,
+    0,   31,   32,   33,    0,    0,    0,   34,    0,    0,
+   35,   36,   37,   38,   60,    0,    0,   39,   40,    0,
+   41,   42,   43,   44,   45,    0,    0,    0,    0,   46,
+   47,   48,   49,   50,   51,    0,    0,    0,    0,    0,
+    0,   53,    0,    0,    0,    0,   25,    0,    0,   55,
+    0,   56,    0,   57,   58,   44,   44,   44,   44,   44,
+   44,    0,   44,   44,   44,    0,    0,    0,   44,    0,
+    0,   44,   44,   44,   44,    0,    0,    0,   44,   44,
+    0,   44,   44,   44,   44,   44,    0,    0,    0,    0,
+   44,   44,   44,   44,   44,   44,    0,    0,    0,    0,
+    0,   54,   44,    0,   64,   66,   52,    0,   59,    0,
+   67,   63,   44,   62,   44,   44,  118,   27,   28,   29,
+   30,   96,   31,   32,   33,    0,    0,    0,   34,    0,
+    0,    0,   65,    0,    0,    0,    0,    0,    0,   40,
+    0,   41,   42,   43,   44,   45,    0,    0,    0,    0,
+   46,   47,   48,   49,   50,   51,    0,    0,    0,   60,
+    0,  139,   53,    0,  139,    0,  165,  166,  167,  168,
+    0,    0,   56,    0,   57,   58,    0,    0,  139,  139,
+   26,   27,   28,   29,   30,    0,   31,   32,   33,  176,
+  177,   25,   34,  178,   55,    0,  179,  180,  181,    0,
+    0,    0,    0,   40,    0,   41,   42,   43,   44,   45,
+    0,    0,    0,  139,   46,   47,   48,   49,   50,   51,
+   54,    0,    0,   64,   66,   52,   53,   59,    0,   67,
+   63,    0,   62,    0,    0,    0,   56,    0,   57,   58,
+  165,  166,  167,  168,    0,    0,  128,    0,    0,    0,
+    0,   65,    0,    0,    0,    0,    0,    0,    0,    0,
+  173,  174,  175,  176,  177,    0,    0,  178,    0,    0,
+  179,  180,  181,  165,  166,  167,  168,    0,   60,    0,
+   54,    0,    0,   64,   66,   52,    0,   59,  144,   67,
+   63,    0,   62,    0,  174,  175,  176,  177,    0,    0,
+  178,    0,    0,  179,  180,  181,    0,    0,    0,    0,
+    0,   65,    0,   55,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,  124,   27,   28,   29,   30,
+    0,   31,   32,   33,    0,    0,    0,   34,   60,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,   40,    0,
+   41,   42,   43,   44,   45,    0,    0,    0,    0,   46,
+   47,   48,   49,   50,   51,   54,    0,    0,   64,   66,
+   52,   53,   59,   55,   67,   63,    0,   62,    0,    0,
+    0,   56,    0,   57,   58,    0,    0,    0,    0,    0,
+    0,    0,  139,  139,  139,  139,   65,    0,    0,  139,
+    0,    0,    0,    0,    0,    0,   54,    0,    0,   64,
+   66,   52,    0,   59,  212,   67,   63,    0,   62,    0,
+  139,  139,  139,   60,  139,  146,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,   65,    0,   73,
+    0,    0,   73,    0,   26,   27,   28,   29,   30,    0,
+   31,   32,   33,    0,    0,    0,   34,   73,   55,    0,
+    0,    0,    0,    0,   60,    0,    0,   40,    0,   41,
+   42,   43,   44,   45,    0,    0,    0,    0,   46,   47,
+   48,   49,   50,   51,    0,    0,    0,    0,    0,    0,
+   53,   73,    0,    0,    0,    0,    0,    0,    0,   55,
+   56,    0,   57,   58,   26,   27,   28,   29,   30,    0,
+   31,   32,   33,    0,   54,    0,   34,   64,   66,   52,
+    0,   59,  223,   67,   63,    0,   62,   40,    0,   41,
+   42,   43,   44,   45,    0,    0,    0,    0,   46,   47,
+   48,   49,   50,   51,    0,   65,    0,    0,    0,    0,
+   53,  165,  166,  167,  168,    0,    0,    0,    0,    0,
+   56,    0,   57,   58,    0,    0,    0,   78,    0,    0,
+   78,    0,   60,  175,  176,  177,    0,    0,  178,    0,
+    0,  179,  180,  181,   78,   78,    0,    0,    0,   26,
+   27,   28,   29,   30,    0,   31,   32,   33,    0,    0,
+    0,   34,   74,    0,    0,   74,    0,   55,    0,    0,
+    0,    0,   40,    0,   41,   42,   43,   44,   45,   78,
+   74,    0,    0,   46,   47,   48,   49,   50,   51,    0,
+   26,   27,   28,   29,   30,   53,   31,   32,   33,    0,
+    0,    0,   34,    0,    0,   56,    0,   57,   58,    0,
+    0,    0,    0,   40,   74,   41,   42,   43,   44,   45,
+    0,    0,    0,    0,   46,   47,   48,   49,   50,   51,
+   73,   73,   73,   73,    0,   54,   53,   73,   64,   66,
+   52,    0,   59,  262,   67,   63,   56,   62,   57,   58,
+   98,   98,    0,    0,    0,    0,    0,    0,   73,   73,
+    0,    0,  111,    0,    0,    0,   65,    0,  119,   98,
+  127,    0,    0,    0,  133,   98,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,   98,   98,   98,
+   98,    0,    0,   60,    0,    0,    0,    0,   26,   27,
+   28,   29,   30,    0,   31,   32,   33,    0,   54,    0,
+   34,   64,   66,   52,    0,   59,  270,   67,   63,    0,
+   62,   40,    0,   41,   42,   43,   44,   45,   55,    0,
+    0,    0,   46,   47,   48,   49,   50,   51,  119,   65,
+    0,    0,    0,    0,   53,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,   56,    0,   57,   58,   78,   78,
+   78,   78,    0,    0,    0,   78,   60,    0,    0,    0,
+    0,   54,    0,    0,   64,   66,   52,    0,   59,    0,
+   67,   63,    0,   62,    0,    0,   78,   78,   78,    0,
+    0,    0,    0,   74,   74,   74,   74,    0,    0,    0,
+   74,   55,   65,    0,  259,    0,  161,    0,    0,  161,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,   74,   74,  161,  161,    0,    0,    0,    0,   60,
+    0,  291,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,   54,    0,    0,   64,   66,   52,
+    0,   59,  303,   67,   63,    0,   62,    0,  161,   26,
+   27,   28,   29,   30,   55,   31,   32,   33,    0,    0,
+    0,   34,    0,    0,    0,   65,    0,    0,    0,    0,
+    0,    0,   40,    0,   41,   42,   43,   44,   45,    0,
+    0,    0,    0,   46,   47,   48,   49,   50,   51,    0,
+    0,    0,   60,    0,    0,   53,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,   56,   54,   57,   58,   64,
+   66,   52,    0,   59,  305,   67,   63,    0,   62,    0,
+    0,    0,   26,   27,   28,   29,   30,   55,   31,   32,
+   33,    0,    0,    0,   34,    0,    0,   65,    0,    0,
+    0,    0,    0,    0,    0,   40,    0,   41,   42,   43,
+   44,   45,    0,    0,    0,    0,   46,   47,   48,   49,
+   50,   51,    0,    0,   60,    0,    0,    0,   53,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,   56,    0,
+   57,   58,    0,    0,   24,   26,   27,   28,   29,   30,
+    0,   31,   32,   33,    0,    0,    0,   34,    0,   55,
+    0,    0,    0,    0,    0,    0,    0,    0,   40,    0,
+   41,   42,   43,   44,   45,    0,    0,    0,    0,   46,
+   47,   48,   49,   50,   51,    0,    0,  161,  161,  161,
+  161,   53,    0,    0,  161,    0,    0,    0,    0,    0,
+    0,   56,   54,   57,   58,   64,   66,   52,    0,   59,
+  314,   67,   63,    0,   62,  161,  161,  161,   26,   27,
+   28,   29,   30,    0,   31,   32,   33,    0,    0,    0,
+   34,    0,    0,   65,    0,    0,    0,    0,    0,    0,
+    0,   40,    0,   41,   42,   43,   44,   45,    0,    0,
+    0,    0,   46,   47,   48,   49,   50,   51,    0,    0,
+   60,    0,    0,    0,   53,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,   56,   54,   57,   58,   64,   66,
+   52,    0,   59,    0,   67,   63,    0,   62,    0,    0,
+   26,   27,   28,   29,   30,   55,   31,   32,   33,    0,
+    0,    0,   34,    0,    0,    0,   65,    0,    0,    0,
+    0,    0,    0,   40,    0,   41,   42,   43,   44,   45,
+    0,    0,    0,    0,   46,   47,   48,   49,   50,   51,
+    0,    0,    0,   60,    0,    0,   53,    0,    0,    0,
+    0,    0,    0,    0,  111,    0,   56,  111,   57,   58,
+    0,    0,  167,    0,    0,  167,    0,    0,    0,    0,
+    0,  111,  111,    0,    0,    0,  111,    0,   55,  167,
+  167,    0,    0,    0,  167,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,  111,    0,    0,    0,
+    0,    0,    0,    0,  167,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,   26,   27,   28,   29,
+   30,    0,   31,   32,   33,    0,    0,    0,   34,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,   40,
+    0,   41,   42,   43,   44,   45,    0,    0,    0,    0,
+   46,   47,   48,   49,   50,   51,    0,    0,    0,    0,
+    0,  163,   53,    0,  163,    0,    0,    0,    0,    0,
+    0,    0,   56,    0,   57,   58,    0,    0,  163,  163,
+    0,  102,    0,  163,  102,    0,    0,    0,    0,   26,
+   27,   28,   29,   30,    0,   31,   32,   33,  102,  102,
+    0,   34,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,   40,  163,   41,   42,   43,   44,   45,    0,
+    0,    0,    0,   46,   47,   48,   49,   50,   51,    0,
+    0,  102,    0,  102,   77,   53,    0,   77,    0,  112,
+    0,    0,    0,  117,    0,   56,  126,   57,   58,  131,
+    0,   77,   77,  139,  140,  141,  142,  143,    0,    0,
+    0,  148,  149,    0,    0,  111,  111,  111,  111,    0,
+    0,    0,  111,  167,  167,  167,  167,    0,    0,    0,
+  167,    0,  167,    0,    0,    0,   77,    0,  167,  167,
+  167,  167,    0,  111,  111,  111,    0,  111,    0,    0,
+  201,  167,  167,  167,    0,  167,  167,  167,  167,  167,
+  167,  167,  167,    0,    0,  167,    0,    0,  167,  167,
+  167,    0,    0,    0,    0,    0,  183,    0,    0,  183,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,  183,  183,    0,    0,    0,  183,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,  240,  241,  242,  243,  244,  245,  246,
+  247,  248,  249,  250,  251,  252,  253,  254,  183,    0,
+  150,    0,    0,  150,    0,    0,    0,    0,    0,    0,
+    0,  272,  163,  163,  163,  163,    0,  150,  150,  163,
+    0,  163,  150,    0,    0,    0,    0,  163,  163,  163,
+  163,    0,  102,  102,  102,  102,    0,    0,    0,  102,
+  163,  163,  163,    0,  163,  163,  163,  163,  163,  163,
+  163,  163,  150,  145,  163,    0,  145,  163,  163,  163,
+  102,  102,  102,    0,    0,    0,    0,    0,    0,    0,
+  145,  145,    0,    0,    0,  145,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,   77,   77,   77,   77,    0,
+    0,    0,   77,    0,    0,    0,    0,    0,  334,    0,
+    0,  148,    0,    0,  148,  145,    0,    0,    0,    0,
+    0,    0,    0,   77,   77,   77,    0,    0,  148,  148,
+    0,    0,    0,  148,    0,    0,    0,    0,    0,    0,
+    0,  350,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,  146,
+    0,    0,  146,  148,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,  146,  146,    0,    0,
+    0,  146,    0,    0,    0,    0,    0,  183,  183,  183,
+  183,    0,    0,    0,  183,    0,  183,    0,    0,    0,
+    0,    0,  183,  183,  183,  183,    0,    0,    0,    0,
+    0,  146,    0,    0,    0,  183,  183,  183,    0,  183,
+  183,  183,  183,  183,  183,  183,  183,    0,    0,  183,
+    0,    0,  183,  183,  183,    0,    0,    0,    0,    0,
+    0,  150,  150,  150,  150,    0,  156,    0,  150,  156,
+  150,    0,    0,    0,    0,    0,  150,  150,  150,  150,
+    0,    0,    0,  156,  156,    0,    0,    0,  156,  150,
+  150,  150,    0,  150,  150,  150,  150,  150,  150,  150,
+  150,    0,    0,  150,    0,    0,  150,  150,  150,    0,
+    0,    0,    0,    0,  145,  145,  145,  145,  156,    0,
+    0,  145,    0,  145,    0,    0,    0,    0,    0,  145,
+  145,  145,  145,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,  145,  145,  145,    0,  145,  145,  145,  145,
+  145,  145,  145,  145,    0,    0,  145,    0,    0,  145,
+  145,  145,  148,  148,  148,  148,    0,    0,    0,  148,
+    0,  148,    0,    0,    0,    0,    0,  148,  148,  148,
+  148,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+  148,  148,  148,    0,  148,  148,  148,  148,  148,  148,
+  148,  148,    0,    0,  148,    0,    0,  148,  148,  148,
+  146,  146,  146,  146,    0,  174,    0,  146,  174,  146,
+    0,    0,    0,    0,    0,  146,  146,  146,  146,    0,
+    0,    0,  174,  174,    0,    0,    0,  174,  146,  146,
+  146,    0,  146,  146,  146,  146,  146,  146,  146,  146,
+    0,    0,  146,    0,    0,  146,  146,  146,    0,    0,
+    0,    0,    0,    0,    0,  177,    0,  174,  177,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,  177,  177,    0,    0,    0,  177,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,  156,  156,  156,
+  156,    0,    0,    0,  156,    0,  156,    0,    0,    0,
+    0,    0,  156,  156,  156,  156,    0,  177,    0,    0,
+    0,    0,    0,    0,    0,  156,  156,  156,    0,  156,
+  156,  156,  156,  156,  156,  156,  156,  144,    0,  156,
+  144,    0,  156,  156,  156,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,  144,  144,    0,    0,    0,  144,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,   76,    0,    0,   76,  144,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,   76,   76,    0,    0,    0,   76,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,  184,    0,    0,   76,    0,    0,
+    0,    0,    0,    0,    0,    0,  174,  174,  174,  174,
+    0,  184,  184,  174,    0,  174,  184,    0,    0,    0,
+    0,  174,  174,  174,  174,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,  174,  174,  174,    0,  174,  174,
+  174,  174,  174,  174,  174,  174,  184,    0,  174,    0,
+    0,  174,  174,  174,    0,    0,  177,  177,  177,  177,
+    0,   66,    0,  177,   66,  177,    0,    0,    0,    0,
+    0,  177,  177,  177,  177,    0,    0,    0,   66,   66,
+    0,    0,    0,   66,  177,  177,  177,    0,  177,  177,
+  177,  177,  177,  177,  177,  177,    0,    0,  177,    0,
+    0,  177,  177,  177,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,   66,    0,    0,  143,    0,    0,  143,
+    0,    0,    0,    0,    0,    0,    0,    0,  144,  144,
+  144,  144,    0,  143,  143,  144,    0,  144,  143,    0,
+    0,    0,    0,  144,  144,  144,  144,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,  144,  144,  144,    0,
+  144,  144,  144,  144,  144,  144,  144,  144,  143,    0,
+  144,    0,    0,  144,  144,  144,   76,   76,   76,   76,
+    0,   82,    0,   76,   82,   76,    0,    0,    0,    0,
+    0,   76,   76,   76,   76,    0,    0,    0,   82,   82,
+    0,    0,    0,   82,   76,   76,   76,    0,   76,   76,
+   76,   76,   76,   76,   76,   76,    0,    0,   76,    0,
+    0,   76,   76,   76,    0,  184,  184,  184,  184,  162,
+    0,    0,  184,   82,  184,    0,    0,    0,    0,    0,
+  184,  184,  184,  184,    0,    0,  162,  162,    0,    0,
+    0,  162,    0,  184,  184,  184,    0,  184,  184,  184,
+  184,  184,  184,  184,  184,    0,    0,  184,    0,    0,
+  184,  184,  184,    0,    0,    0,    0,    0,    0,    0,
+   79,  162,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,   66,   66,   66,   66,    0,   79,   79,   66,
+    0,   66,   79,    0,    0,    0,    0,   66,   66,   66,
+   66,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+   66,   66,   66,    0,   66,   66,   66,   66,   66,   66,
+   66,   66,   79,    0,   66,    0,    0,   66,   66,   66,
+    0,    0,    0,    0,    0,    0,    0,  143,  143,  143,
+  143,    0,  122,    0,  143,  122,  143,    0,    0,    0,
+    0,    0,  143,  143,  143,  143,    0,    0,    0,  122,
+  122,    0,    0,    0,  122,  143,  143,  143,    0,  143,
+  143,  143,  143,  143,  143,  143,  143,    0,    0,  143,
+    0,    0,  143,  143,  143,    0,    0,    0,    0,    0,
+  123,    0,    0,  123,  122,    0,    0,    0,    0,    0,
+    0,    0,   82,   82,   82,   82,    0,  123,  123,   82,
+    0,   82,  123,    0,    0,    0,    0,   82,   82,   82,
+   82,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+   82,   82,   82,    0,   82,   82,   82,   82,   82,   82,
+   82,   82,  123,    0,   82,    0,    0,   82,   82,   82,
+  162,  162,  162,  162,    0,  118,    0,  162,  118,  162,
+    0,    0,    0,    0,    0,  162,  162,  162,  162,    0,
+    0,    0,  118,  118,    0,    0,    0,  118,  162,  162,
+  162,    0,  162,  162,  162,  162,  162,  162,  162,  162,
+    0,    0,  162,    0,    0,  162,  162,  162,    0,    0,
+    0,   79,   79,   79,   79,    0,  119,  118,   79,  119,
+   79,    0,    0,    0,    0,    0,   79,   79,   79,   79,
+    0,    0,    0,  119,  119,    0,    0,    0,  119,   79,
+   79,   79,    0,   79,   79,   79,   79,   79,   79,   79,
+   79,    0,    0,   79,    0,    0,   79,   79,   79,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,  119,    0,
+    0,  140,    0,    0,  140,    0,    0,    0,    0,    0,
+    0,    0,    0,  122,  122,  122,  122,    0,  140,  140,
+  122,    0,  122,  140,    0,    0,    0,    0,  122,  122,
+  122,  122,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,  122,  122,  122,    0,  122,  122,  122,  122,  122,
+  122,  122,  122,  140,    0,  122,    0,    0,    0,    0,
+    0,  123,  123,  123,  123,    0,  116,    0,  123,  116,
+  123,    0,    0,    0,    0,    0,  123,  123,  123,  123,
+    0,    0,    0,  116,  116,    0,    0,    0,  116,  123,
+  123,  123,    0,  123,  123,  123,  123,  123,  123,  123,
+  123,    0,    0,  123,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,  117,    0,    0,  117,  116,    0,
+    0,    0,    0,    0,    0,    0,  118,  118,  118,  118,
+    0,  117,  117,  118,    0,  118,  117,    0,    0,    0,
+    0,  118,  118,  118,  118,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,  118,  118,  118,    0,  118,  118,
+  118,  118,  118,  118,  118,  118,  117,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,  119,  119,  119,
+  119,    0,    0,    0,  119,    0,  119,    0,    0,    0,
+    0,    0,  119,  119,  119,  119,    0,    0,    0,    0,
+  115,    0,    0,  115,    0,  119,  119,  119,    0,  119,
+  119,  119,  119,  119,  119,  119,  119,  115,  115,    0,
+    0,    0,  115,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,  140,  140,  140,  140,    0,    0,    0,  140,
+    0,  140,    0,    0,    0,    0,    0,  140,  140,  140,
+  140,    0,  115,    0,    0,  103,    0,    0,  103,    0,
+  140,  140,  140,    0,  140,  140,  140,  140,  140,  140,
+  140,  140,  103,  103,    0,    0,    0,  103,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,  116,  116,  116,
+  116,    0,    0,    0,  116,    0,  116,  103,    0,    0,
+    0,    0,  116,  116,  116,  116,    0,    0,    0,    0,
+  104,    0,    0,  104,    0,  116,  116,  116,    0,  116,
+  116,  116,  116,  116,  116,  116,  116,  104,  104,    0,
+    0,    0,  104,    0,    0,  117,  117,  117,  117,    0,
+    0,    0,  117,    0,  117,    0,    0,    0,    0,    0,
+  117,  117,  117,  117,    0,    0,    0,    0,  105,    0,
+    0,  105,  104,  117,  117,  117,    0,  117,  117,  117,
+  117,  117,  117,  117,  117,  105,  105,    0,    0,    0,
+  105,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,  106,
+  105,    0,  106,    0,    0,    0,    0,    0,    0,    0,
+    0,  115,  115,  115,  115,    0,  106,  106,  115,    0,
+  115,  106,    0,    0,    0,    0,  115,  115,  115,  115,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,  115,
+  115,  115,    0,  115,  115,  115,  115,  115,  115,  115,
+  115,  106,    0,    0,  166,    0,    0,  166,    0,    0,
+    0,    0,    0,    0,    0,    0,  103,  103,  103,  103,
+    0,  166,  166,  103,    0,  103,  166,    0,    0,    0,
+    0,  103,  103,  103,  103,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,  103,  103,  103,    0,  103,  103,
+  103,  103,  103,  103,  103,  103,  166,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,  165,
+    0,    0,  165,    0,    0,    0,    0,    0,    0,    0,
+    0,  104,  104,  104,  104,    0,  165,  165,  104,    0,
+  104,  165,    0,    0,    0,    0,  104,  104,  104,  104,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,  104,
+  104,  104,    0,  104,  104,  104,  104,  104,  104,  104,
+    0,  165,    0,    0,  129,    0,    0,  129,    0,  105,
+  105,  105,  105,    0,  142,    0,  105,  142,  105,    0,
+    0,  129,  129,    0,  105,  105,  129,  105,    0,    0,
+    0,  142,  142,    0,    0,    0,  142,  105,  105,  105,
+    0,  105,  105,  105,  105,  105,  105,  105,    0,    0,
+    0,    0,    0,    0,    0,  107,  129,    0,  107,    0,
+  106,  106,  106,  106,    0,    0,  142,  106,    0,  106,
+    0,    0,  107,  107,    0,  106,  106,  107,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,  106,  106,
+  106,    0,  106,  106,  106,  106,  106,  106,  106,    0,
+    0,    0,    0,  108,    0,    0,  108,  107,    0,    0,
+    0,    0,    0,    0,    0,  166,  166,  166,  166,    0,
+  108,  108,  166,    0,  166,  108,    0,    0,    0,    0,
+  166,  166,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,  166,  166,  166,    0,  166,  166,  166,
+  166,  166,  166,  109,    0,  108,  109,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+  109,  109,    0,    0,    0,  109,    0,    0,    0,    0,
+  165,  165,  165,  165,    0,    0,    0,  165,    0,  165,
+    0,    0,    0,    0,    0,  165,  165,    0,    0,    0,
+    0,  110,    0,    0,  110,  109,    0,    0,  165,  165,
+  165,    0,  165,  165,  165,  165,  165,  165,  110,  110,
+    0,    0,    0,  110,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,  129,  129,  129,  129,    0,
+  112,    0,  129,  112,  129,  142,  142,  142,  142,    0,
+  129,  129,  142,  110,  142,    0,    0,  112,  112,    0,
+  142,  142,  112,  129,  129,  129,    0,  129,  129,  129,
+  129,  129,  129,  142,  142,  142,    0,  142,  142,  142,
+  142,  142,  142,    0,    0,    0,  107,  107,  107,  107,
+    0,    0,  112,  107,    0,  107,    0,    0,    0,    0,
+    0,    0,  107,    0,    0,    0,    0,  113,    0,    0,
+  113,    0,    0,    0,  107,  107,  107,    0,  107,  107,
+  107,  107,  107,  107,  113,  113,    0,    0,    0,  113,
+    0,    0,    0,    0,  108,  108,  108,  108,    0,    0,
+    0,  108,    0,  108,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,  114,    0,    0,  114,  113,
+    0,    0,  108,  108,  108,    0,  108,  108,  108,  108,
+  108,  108,  114,  114,    0,    0,    0,  114,    0,    0,
+    0,    0,    0,    0,  109,  109,  109,  109,    0,    0,
+    0,  109,    0,  109,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,  114,    0,    0,
+    0,    0,  109,  109,  109,    0,  109,  109,  109,  109,
+  109,  109,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,  110,  110,  110,  110,    0,    0,    0,  110,
+    0,  110,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+  110,  110,  110,    0,  110,  110,  110,  110,  110,    0,
+    0,  112,  112,  112,  112,    0,    0,    0,  112,    0,
+  112,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,  112,
+  112,  112,    0,  112,  112,  112,  112,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,  113,  113,
+  113,  113,    0,    0,    0,  113,    0,  113,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,  113,  113,  113,    0,
+  113,  113,  113,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,  114,  114,  114,  114,
+    0,    0,    0,  114,    0,  114,    0,    0,    0,    0,
+    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
+    0,    0,    0,    0,  114,  114,  114,    0,  114,  114,
+  114,
+};
+static short yycheck[] = {                                      15,
+   94,   44,   41,   36,   59,   41,   41,  123,   44,   36,
+   99,   59,   40,   40,   40,   59,  200,   36,  365,   91,
+   59,   40,  209,   91,   41,  257,   93,   63,   59,  266,
+  267,  268,   48,  270,  271,  276,  277,  104,   41,   93,
+  197,  130,   59,   59,   60,  257,  203,  257,   41,  396,
+   59,  123,   41,   41,   93,  123,   41,    8,    9,   44,
+  297,   59,   40,   91,   91,   91,   59,   40,  123,   40,
+   59,   40,   40,   58,   59,  123,   28,   15,   63,  123,
+   41,   40,  105,  106,  107,  108,  109,  110,  257,    0,
+  123,   40,  123,   45,   46,  123,  123,  123,  114,  115,
+   52,   41,   41,   40,  278,   41,   44,   40,   93,   47,
+  123,  298,   64,   65,   66,   67,  132,   41,   41,   59,
+   59,   41,   33,   59,   59,   36,   37,   38,   41,   40,
+  289,   42,   43,  317,   45,   41,   59,   44,   41,   59,
+  156,  157,  158,  159,  160,  161,  162,  163,   59,  123,
+   88,  260,  311,   64,  341,  314,  257,   41,  317,  318,
+  319,   40,  125,  115,   40,  103,  182,  183,  184,  185,
+  186,  187,  188,  189,  190,   41,  289,  290,   59,   40,
+   91,   59,  298,  298,  200,    0,  275,  210,  204,  205,
+   59,  207,  281,  209,   59,  319,   91,   59,  311,  386,
+  216,  314,  218,  219,  317,  318,  319,  298,  257,   36,
+   37,  227,  123,   40,  125,  126,  154,   36,   33,   93,
+   41,   36,   37,   38,  257,   40,  125,   42,   43,  262,
+   45,  258,   91,  272,  273,  274,  275,   64,  260,  255,
+  279,  257,  258,  298,   59,  281,  300,  301,  302,   64,
+  302,  287,  288,  289,  290,   40,  260,  300,  301,  302,
+   41,  300,  301,  302,   41,  300,  301,  302,  304,  305,
+  306,  307,  308,  309,  310,  311,   91,  296,  314,  373,
+   41,  317,  318,  319,   41,   59,   41,  272,  273,  274,
+  275,  300,  301,  302,  279,  311,  281,  300,  301,  302,
+   40,  317,  287,  288,  289,  290,   93,   41,  123,   93,
+  125,  126,  300,  301,  302,  300,  301,  302,  125,  304,
+  305,  306,  307,  308,  309,  310,  311,  343,   93,  314,
+  125,   93,  317,  318,  319,   93,  274,  125,  276,  300,
+  301,  302,  125,  123,  282,  256,  257,  258,  259,  260,
+  261,   59,  263,  264,  265,  266,  267,  268,  269,  270,
+  271,  272,  273,  274,  275,   41,  382,   41,  279,  280,
+    0,  282,  283,  284,  285,  286,  300,  301,  302,  125,
+  291,  292,  293,  294,  295,  296,  297,  300,  301,  302,
+   59,   41,  303,   40,  300,  301,  302,  300,  301,  302,
+   41,   41,  313,   33,  315,  316,   36,   37,   38,  125,
+   40,  123,   42,   43,   41,   45,  300,  301,  302,  300,
+  301,  302,  300,  301,  302,  123,  300,  301,  302,   59,
+   41,  300,  301,  302,   64,  300,  301,  302,  300,  301,
+  302,  256,  257,  258,  259,  260,  261,   59,  263,  264,
+  265,  266,  267,  268,  269,  270,  271,  272,  273,  274,
+  275,   91,   41,   59,  279,  280,   63,  282,  283,  284,
+  285,  286,   41,   59,  125,   41,  291,  292,  293,  294,
+  295,  296,  297,  300,  301,  302,   34,   51,  303,   51,
+  338,  339,  340,  123,  342,   15,  126,  157,  313,   33,
+  315,  316,   36,   37,   38,  382,   40,   41,   42,   43,
+   44,   45,  343,  300,  301,  302,  300,  301,  302,  207,
+   23,  369,  276,   -1,   58,   59,   -1,   -1,  376,   63,
+   64,   -1,  380,   -1,   -1,  300,  301,  302,  300,  301,
+  302,   -1,  300,  301,  302,  393,  394,   -1,   -1,   -1,
+  266,  267,  268,   -1,  270,  271,   -1,   91,  314,   93,
+   -1,  317,  318,  319,   33,   -1,   -1,   36,   37,   38,
+   -1,   40,   41,   42,   43,   44,   45,   -1,   -1,   -1,
+   -1,  297,  287,  288,  289,  290,  362,  363,   -1,   58,
+   59,  367,  126,   -1,   63,   64,   -1,   -1,   -1,   -1,
+  305,  306,  307,  308,  309,  310,  311,  383,   -1,  314,
+   -1,  387,  317,  318,  319,  266,  267,  268,   -1,  270,
+  271,   -1,   -1,   -1,   93,   41,  256,  257,  258,  259,
+  260,  261,   -1,  263,  264,  265,   -1,   -1,   -1,  269,
+   -1,   -1,  272,  273,  274,  275,  297,   63,   -1,  279,
+  280,   -1,  282,  283,  284,  285,  286,  126,   -1,   -1,
+   -1,  291,  292,  293,  294,  295,  296,   -1,   -1,   -1,
+   -1,   -1,  287,  303,  289,  290,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,  313,  281,  315,  316,   -1,   -1,   -1,
+  287,  288,  289,  290,   -1,  310,  311,   -1,   -1,  314,
+   58,   -1,  317,  318,  319,   63,   -1,  304,  305,  306,
+  307,  308,  309,  310,  311,   -1,   -1,  314,   -1,   -1,
+  317,  318,  319,  257,  258,  259,  260,  261,   -1,  263,
+  264,  265,   -1,   -1,   -1,  269,   -1,   -1,  272,  273,
+  274,  275,   -1,   -1,   -1,  279,  280,  281,  282,  283,
+  284,  285,  286,  287,  288,  289,  290,  291,  292,  293,
+  294,  295,  296,   -1,   -1,   63,  300,  301,  302,  303,
+  304,  305,  306,  307,  308,  309,  310,  311,   -1,  313,
+  314,  315,  316,  317,  318,  319,   -1,   -1,  257,  258,
+  259,  260,  261,   -1,  263,  264,  265,   -1,   -1,   45,
+  269,   -1,   -1,  272,  273,  274,  275,   53,   -1,   -1,
+  279,  280,  281,  282,  283,  284,  285,  286,  287,  288,
+  289,  290,  291,  292,  293,  294,  295,  296,   -1,   -1,
+   -1,  300,  301,  302,  303,  304,  305,  306,  307,  308,
+  309,  310,  311,   -1,  313,  314,  315,  316,  317,  318,
+  319,   33,   -1,   99,   36,   37,   38,   -1,   40,   -1,
+   42,   43,   -1,   45,   -1,  281,   -1,   -1,   -1,   -1,
+   -1,  287,  288,  289,  290,   -1,  122,   59,  272,  273,
+  274,  275,   64,   -1,  130,  279,   -1,   -1,  304,  305,
+  306,  307,  308,  309,  310,  311,   -1,   -1,  314,   -1,
+   -1,  317,  318,  319,   -1,   -1,  300,  301,  302,   91,
+   -1,   -1,   33,   -1,   -1,   36,   37,   38,   -1,   40,
+   -1,   42,   43,  281,   45,   -1,   -1,   -1,   -1,  287,
+  288,  289,  290,   -1,   -1,   -1,   -1,   -1,   59,   -1,
+   -1,  123,   -1,   64,  126,   -1,  304,  305,  306,  307,
+  308,  309,  310,  311,   -1,   -1,  314,   -1,   -1,  317,
+  318,  319,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   91,   -1,   33,   -1,   -1,   36,   37,   38,   -1,   40,
+   -1,   42,   43,  281,   45,   -1,   -1,   -1,   -1,  287,
+  288,  289,  290,  311,   -1,   -1,  314,   -1,   -1,  317,
+  318,  319,  123,   64,   -1,  126,   -1,  305,  306,  307,
+  308,  309,  310,  311,   -1,   -1,  314,   -1,   -1,  317,
+  318,  319,   -1,   -1,   -1,   -1,   -1,   -1,   -1,  275,
+   91,  289,  290,   -1,   -1,  281,   33,   -1,   -1,   36,
+   37,   38,   -1,   40,   -1,   42,   43,   -1,   45,   -1,
+   -1,   -1,  310,  311,   -1,   -1,  314,   -1,   -1,  317,
+  318,  319,  123,   -1,   -1,  126,   -1,   64,   -1,   -1,
+   -1,   -1,   -1,   -1,  256,  257,  258,  259,  260,  261,
+   -1,  263,  264,  265,   -1,   -1,   -1,  269,   -1,   -1,
+  272,  273,  274,  275,   91,   -1,   -1,  279,  280,   -1,
+  282,  283,  284,  285,  286,   -1,   -1,   -1,   -1,  291,
+  292,  293,  294,  295,  296,   -1,   -1,   -1,   -1,   -1,
+   -1,  303,   -1,   -1,   -1,   -1,  123,   -1,   -1,  126,
+   -1,  313,   -1,  315,  316,  256,  257,  258,  259,  260,
+  261,   -1,  263,  264,  265,   -1,   -1,   -1,  269,   -1,
+   -1,  272,  273,  274,  275,   -1,   -1,   -1,  279,  280,
+   -1,  282,  283,  284,  285,  286,   -1,   -1,   -1,   -1,
+  291,  292,  293,  294,  295,  296,   -1,   -1,   -1,   -1,
+   -1,   33,  303,   -1,   36,   37,   38,   -1,   40,   -1,
+   42,   43,  313,   45,  315,  316,  257,  258,  259,  260,
+  261,  262,  263,  264,  265,   -1,   -1,   -1,  269,   -1,
+   -1,   -1,   64,   -1,   -1,   -1,   -1,   -1,   -1,  280,
+   -1,  282,  283,  284,  285,  286,   -1,   -1,   -1,   -1,
+  291,  292,  293,  294,  295,  296,   -1,   -1,   -1,   91,
+   -1,   41,  303,   -1,   44,   -1,  287,  288,  289,  290,
+   -1,   -1,  313,   -1,  315,  316,   -1,   -1,   58,   59,
+  257,  258,  259,  260,  261,   -1,  263,  264,  265,  310,
+  311,  123,  269,  314,  126,   -1,  317,  318,  319,   -1,
+   -1,   -1,   -1,  280,   -1,  282,  283,  284,  285,  286,
+   -1,   -1,   -1,   93,  291,  292,  293,  294,  295,  296,
+   33,   -1,   -1,   36,   37,   38,  303,   40,   -1,   42,
+   43,   -1,   45,   -1,   -1,   -1,  313,   -1,  315,  316,
+  287,  288,  289,  290,   -1,   -1,   59,   -1,   -1,   -1,
+   -1,   64,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+  307,  308,  309,  310,  311,   -1,   -1,  314,   -1,   -1,
+  317,  318,  319,  287,  288,  289,  290,   -1,   91,   -1,
+   33,   -1,   -1,   36,   37,   38,   -1,   40,   41,   42,
+   43,   -1,   45,   -1,  308,  309,  310,  311,   -1,   -1,
+  314,   -1,   -1,  317,  318,  319,   -1,   -1,   -1,   -1,
+   -1,   64,   -1,  126,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,  257,  258,  259,  260,  261,
+   -1,  263,  264,  265,   -1,   -1,   -1,  269,   91,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,  280,   -1,
+  282,  283,  284,  285,  286,   -1,   -1,   -1,   -1,  291,
+  292,  293,  294,  295,  296,   33,   -1,   -1,   36,   37,
+   38,  303,   40,  126,   42,   43,   -1,   45,   -1,   -1,
+   -1,  313,   -1,  315,  316,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,  272,  273,  274,  275,   64,   -1,   -1,  279,
+   -1,   -1,   -1,   -1,   -1,   -1,   33,   -1,   -1,   36,
+   37,   38,   -1,   40,   41,   42,   43,   -1,   45,   -1,
+  300,  301,  302,   91,  304,   93,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   64,   -1,   41,
+   -1,   -1,   44,   -1,  257,  258,  259,  260,  261,   -1,
+  263,  264,  265,   -1,   -1,   -1,  269,   59,  126,   -1,
+   -1,   -1,   -1,   -1,   91,   -1,   -1,  280,   -1,  282,
+  283,  284,  285,  286,   -1,   -1,   -1,   -1,  291,  292,
+  293,  294,  295,  296,   -1,   -1,   -1,   -1,   -1,   -1,
+  303,   93,   -1,   -1,   -1,   -1,   -1,   -1,   -1,  126,
+  313,   -1,  315,  316,  257,  258,  259,  260,  261,   -1,
+  263,  264,  265,   -1,   33,   -1,  269,   36,   37,   38,
+   -1,   40,   41,   42,   43,   -1,   45,  280,   -1,  282,
+  283,  284,  285,  286,   -1,   -1,   -1,   -1,  291,  292,
+  293,  294,  295,  296,   -1,   64,   -1,   -1,   -1,   -1,
+  303,  287,  288,  289,  290,   -1,   -1,   -1,   -1,   -1,
+  313,   -1,  315,  316,   -1,   -1,   -1,   41,   -1,   -1,
+   44,   -1,   91,  309,  310,  311,   -1,   -1,  314,   -1,
+   -1,  317,  318,  319,   58,   59,   -1,   -1,   -1,  257,
+  258,  259,  260,  261,   -1,  263,  264,  265,   -1,   -1,
+   -1,  269,   41,   -1,   -1,   44,   -1,  126,   -1,   -1,
+   -1,   -1,  280,   -1,  282,  283,  284,  285,  286,   93,
+   59,   -1,   -1,  291,  292,  293,  294,  295,  296,   -1,
+  257,  258,  259,  260,  261,  303,  263,  264,  265,   -1,
+   -1,   -1,  269,   -1,   -1,  313,   -1,  315,  316,   -1,
+   -1,   -1,   -1,  280,   93,  282,  283,  284,  285,  286,
+   -1,   -1,   -1,   -1,  291,  292,  293,  294,  295,  296,
+  272,  273,  274,  275,   -1,   33,  303,  279,   36,   37,
+   38,   -1,   40,   41,   42,   43,  313,   45,  315,  316,
+   27,   28,   -1,   -1,   -1,   -1,   -1,   -1,  300,  301,
+   -1,   -1,   39,   -1,   -1,   -1,   64,   -1,   45,   46,
+   47,   -1,   -1,   -1,   51,   52,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   64,   65,   66,
+   67,   -1,   -1,   91,   -1,   -1,   -1,   -1,  257,  258,
+  259,  260,  261,   -1,  263,  264,  265,   -1,   33,   -1,
+  269,   36,   37,   38,   -1,   40,   41,   42,   43,   -1,
+   45,  280,   -1,  282,  283,  284,  285,  286,  126,   -1,
+   -1,   -1,  291,  292,  293,  294,  295,  296,  115,   64,
+   -1,   -1,   -1,   -1,  303,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,  313,   -1,  315,  316,  272,  273,
+  274,  275,   -1,   -1,   -1,  279,   91,   -1,   -1,   -1,
+   -1,   33,   -1,   -1,   36,   37,   38,   -1,   40,   -1,
+   42,   43,   -1,   45,   -1,   -1,  300,  301,  302,   -1,
+   -1,   -1,   -1,  272,  273,  274,  275,   -1,   -1,   -1,
+  279,  126,   64,   -1,  181,   -1,   41,   -1,   -1,   44,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,  300,  301,   58,   59,   -1,   -1,   -1,   -1,   91,
+   -1,  208,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   33,   -1,   -1,   36,   37,   38,
+   -1,   40,   41,   42,   43,   -1,   45,   -1,   93,  257,
+  258,  259,  260,  261,  126,  263,  264,  265,   -1,   -1,
+   -1,  269,   -1,   -1,   -1,   64,   -1,   -1,   -1,   -1,
+   -1,   -1,  280,   -1,  282,  283,  284,  285,  286,   -1,
+   -1,   -1,   -1,  291,  292,  293,  294,  295,  296,   -1,
+   -1,   -1,   91,   -1,   -1,  303,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,  313,   33,  315,  316,   36,
+   37,   38,   -1,   40,   41,   42,   43,   -1,   45,   -1,
+   -1,   -1,  257,  258,  259,  260,  261,  126,  263,  264,
+  265,   -1,   -1,   -1,  269,   -1,   -1,   64,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,  280,   -1,  282,  283,  284,
+  285,  286,   -1,   -1,   -1,   -1,  291,  292,  293,  294,
+  295,  296,   -1,   -1,   91,   -1,   -1,   -1,  303,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,  313,   -1,
+  315,  316,   -1,   -1,  256,  257,  258,  259,  260,  261,
+   -1,  263,  264,  265,   -1,   -1,   -1,  269,   -1,  126,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,  280,   -1,
+  282,  283,  284,  285,  286,   -1,   -1,   -1,   -1,  291,
+  292,  293,  294,  295,  296,   -1,   -1,  272,  273,  274,
+  275,  303,   -1,   -1,  279,   -1,   -1,   -1,   -1,   -1,
+   -1,  313,   33,  315,  316,   36,   37,   38,   -1,   40,
+   41,   42,   43,   -1,   45,  300,  301,  302,  257,  258,
+  259,  260,  261,   -1,  263,  264,  265,   -1,   -1,   -1,
+  269,   -1,   -1,   64,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,  280,   -1,  282,  283,  284,  285,  286,   -1,   -1,
+   -1,   -1,  291,  292,  293,  294,  295,  296,   -1,   -1,
+   91,   -1,   -1,   -1,  303,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,  313,   33,  315,  316,   36,   37,
+   38,   -1,   40,   -1,   42,   43,   -1,   45,   -1,   -1,
+  257,  258,  259,  260,  261,  126,  263,  264,  265,   -1,
+   -1,   -1,  269,   -1,   -1,   -1,   64,   -1,   -1,   -1,
+   -1,   -1,   -1,  280,   -1,  282,  283,  284,  285,  286,
+   -1,   -1,   -1,   -1,  291,  292,  293,  294,  295,  296,
+   -1,   -1,   -1,   91,   -1,   -1,  303,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   41,   -1,  313,   44,  315,  316,
+   -1,   -1,   41,   -1,   -1,   44,   -1,   -1,   -1,   -1,
+   -1,   58,   59,   -1,   -1,   -1,   63,   -1,  126,   58,
+   59,   -1,   -1,   -1,   63,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   93,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   93,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,  257,  258,  259,  260,
+  261,   -1,  263,  264,  265,   -1,   -1,   -1,  269,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,  280,
+   -1,  282,  283,  284,  285,  286,   -1,   -1,   -1,   -1,
+  291,  292,  293,  294,  295,  296,   -1,   -1,   -1,   -1,
+   -1,   41,  303,   -1,   44,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,  313,   -1,  315,  316,   -1,   -1,   58,   59,
+   -1,   41,   -1,   63,   44,   -1,   -1,   -1,   -1,  257,
+  258,  259,  260,  261,   -1,  263,  264,  265,   58,   59,
+   -1,  269,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,  280,   93,  282,  283,  284,  285,  286,   -1,
+   -1,   -1,   -1,  291,  292,  293,  294,  295,  296,   -1,
+   -1,   32,   -1,   93,   41,  303,   -1,   44,   -1,   40,
+   -1,   -1,   -1,   44,   -1,  313,   47,  315,  316,   50,
+   -1,   58,   59,   54,   55,   56,   57,   58,   -1,   -1,
+   -1,   62,   63,   -1,   -1,  272,  273,  274,  275,   -1,
+   -1,   -1,  279,  272,  273,  274,  275,   -1,   -1,   -1,
+  279,   -1,  281,   -1,   -1,   -1,   93,   -1,  287,  288,
+  289,  290,   -1,  300,  301,  302,   -1,  304,   -1,   -1,
+  101,  300,  301,  302,   -1,  304,  305,  306,  307,  308,
+  309,  310,  311,   -1,   -1,  314,   -1,   -1,  317,  318,
+  319,   -1,   -1,   -1,   -1,   -1,   41,   -1,   -1,   44,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   58,   59,   -1,   -1,   -1,   63,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,  164,  165,  166,  167,  168,  169,  170,
+  171,  172,  173,  174,  175,  176,  177,  178,   93,   -1,
+   41,   -1,   -1,   44,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,  192,  272,  273,  274,  275,   -1,   58,   59,  279,
+   -1,  281,   63,   -1,   -1,   -1,   -1,  287,  288,  289,
+  290,   -1,  272,  273,  274,  275,   -1,   -1,   -1,  279,
+  300,  301,  302,   -1,  304,  305,  306,  307,  308,  309,
+  310,  311,   93,   41,  314,   -1,   44,  317,  318,  319,
+  300,  301,  302,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   58,   59,   -1,   -1,   -1,   63,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,  272,  273,  274,  275,   -1,
+   -1,   -1,  279,   -1,   -1,   -1,   -1,   -1,  279,   -1,
+   -1,   41,   -1,   -1,   44,   93,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,  300,  301,  302,   -1,   -1,   58,   59,
+   -1,   -1,   -1,   63,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,  312,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   41,
+   -1,   -1,   44,   93,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   58,   59,   -1,   -1,
+   -1,   63,   -1,   -1,   -1,   -1,   -1,  272,  273,  274,
+  275,   -1,   -1,   -1,  279,   -1,  281,   -1,   -1,   -1,
+   -1,   -1,  287,  288,  289,  290,   -1,   -1,   -1,   -1,
+   -1,   93,   -1,   -1,   -1,  300,  301,  302,   -1,  304,
+  305,  306,  307,  308,  309,  310,  311,   -1,   -1,  314,
+   -1,   -1,  317,  318,  319,   -1,   -1,   -1,   -1,   -1,
+   -1,  272,  273,  274,  275,   -1,   41,   -1,  279,   44,
+  281,   -1,   -1,   -1,   -1,   -1,  287,  288,  289,  290,
+   -1,   -1,   -1,   58,   59,   -1,   -1,   -1,   63,  300,
+  301,  302,   -1,  304,  305,  306,  307,  308,  309,  310,
+  311,   -1,   -1,  314,   -1,   -1,  317,  318,  319,   -1,
+   -1,   -1,   -1,   -1,  272,  273,  274,  275,   93,   -1,
+   -1,  279,   -1,  281,   -1,   -1,   -1,   -1,   -1,  287,
+  288,  289,  290,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,  300,  301,  302,   -1,  304,  305,  306,  307,
+  308,  309,  310,  311,   -1,   -1,  314,   -1,   -1,  317,
+  318,  319,  272,  273,  274,  275,   -1,   -1,   -1,  279,
+   -1,  281,   -1,   -1,   -1,   -1,   -1,  287,  288,  289,
+  290,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+  300,  301,  302,   -1,  304,  305,  306,  307,  308,  309,
+  310,  311,   -1,   -1,  314,   -1,   -1,  317,  318,  319,
+  272,  273,  274,  275,   -1,   41,   -1,  279,   44,  281,
+   -1,   -1,   -1,   -1,   -1,  287,  288,  289,  290,   -1,
+   -1,   -1,   58,   59,   -1,   -1,   -1,   63,  300,  301,
+  302,   -1,  304,  305,  306,  307,  308,  309,  310,  311,
+   -1,   -1,  314,   -1,   -1,  317,  318,  319,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   41,   -1,   93,   44,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   58,   59,   -1,   -1,   -1,   63,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,  272,  273,  274,
+  275,   -1,   -1,   -1,  279,   -1,  281,   -1,   -1,   -1,
+   -1,   -1,  287,  288,  289,  290,   -1,   93,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,  300,  301,  302,   -1,  304,
+  305,  306,  307,  308,  309,  310,  311,   41,   -1,  314,
+   44,   -1,  317,  318,  319,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   58,   59,   -1,   -1,   -1,   63,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   41,   -1,   -1,   44,   93,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   58,   59,   -1,   -1,   -1,   63,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   41,   -1,   -1,   93,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,  272,  273,  274,  275,
+   -1,   58,   59,  279,   -1,  281,   63,   -1,   -1,   -1,
+   -1,  287,  288,  289,  290,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,  300,  301,  302,   -1,  304,  305,
+  306,  307,  308,  309,  310,  311,   93,   -1,  314,   -1,
+   -1,  317,  318,  319,   -1,   -1,  272,  273,  274,  275,
+   -1,   41,   -1,  279,   44,  281,   -1,   -1,   -1,   -1,
+   -1,  287,  288,  289,  290,   -1,   -1,   -1,   58,   59,
+   -1,   -1,   -1,   63,  300,  301,  302,   -1,  304,  305,
+  306,  307,  308,  309,  310,  311,   -1,   -1,  314,   -1,
+   -1,  317,  318,  319,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   93,   -1,   -1,   41,   -1,   -1,   44,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,  272,  273,
+  274,  275,   -1,   58,   59,  279,   -1,  281,   63,   -1,
+   -1,   -1,   -1,  287,  288,  289,  290,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,  300,  301,  302,   -1,
+  304,  305,  306,  307,  308,  309,  310,  311,   93,   -1,
+  314,   -1,   -1,  317,  318,  319,  272,  273,  274,  275,
+   -1,   41,   -1,  279,   44,  281,   -1,   -1,   -1,   -1,
+   -1,  287,  288,  289,  290,   -1,   -1,   -1,   58,   59,
+   -1,   -1,   -1,   63,  300,  301,  302,   -1,  304,  305,
+  306,  307,  308,  309,  310,  311,   -1,   -1,  314,   -1,
+   -1,  317,  318,  319,   -1,  272,  273,  274,  275,   41,
+   -1,   -1,  279,   93,  281,   -1,   -1,   -1,   -1,   -1,
+  287,  288,  289,  290,   -1,   -1,   58,   59,   -1,   -1,
+   -1,   63,   -1,  300,  301,  302,   -1,  304,  305,  306,
+  307,  308,  309,  310,  311,   -1,   -1,  314,   -1,   -1,
+  317,  318,  319,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   41,   93,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,  272,  273,  274,  275,   -1,   58,   59,  279,
+   -1,  281,   63,   -1,   -1,   -1,   -1,  287,  288,  289,
+  290,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+  300,  301,  302,   -1,  304,  305,  306,  307,  308,  309,
+  310,  311,   93,   -1,  314,   -1,   -1,  317,  318,  319,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,  272,  273,  274,
+  275,   -1,   41,   -1,  279,   44,  281,   -1,   -1,   -1,
+   -1,   -1,  287,  288,  289,  290,   -1,   -1,   -1,   58,
+   59,   -1,   -1,   -1,   63,  300,  301,  302,   -1,  304,
+  305,  306,  307,  308,  309,  310,  311,   -1,   -1,  314,
+   -1,   -1,  317,  318,  319,   -1,   -1,   -1,   -1,   -1,
+   41,   -1,   -1,   44,   93,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,  272,  273,  274,  275,   -1,   58,   59,  279,
+   -1,  281,   63,   -1,   -1,   -1,   -1,  287,  288,  289,
+  290,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+  300,  301,  302,   -1,  304,  305,  306,  307,  308,  309,
+  310,  311,   93,   -1,  314,   -1,   -1,  317,  318,  319,
+  272,  273,  274,  275,   -1,   41,   -1,  279,   44,  281,
+   -1,   -1,   -1,   -1,   -1,  287,  288,  289,  290,   -1,
+   -1,   -1,   58,   59,   -1,   -1,   -1,   63,  300,  301,
+  302,   -1,  304,  305,  306,  307,  308,  309,  310,  311,
+   -1,   -1,  314,   -1,   -1,  317,  318,  319,   -1,   -1,
+   -1,  272,  273,  274,  275,   -1,   41,   93,  279,   44,
+  281,   -1,   -1,   -1,   -1,   -1,  287,  288,  289,  290,
+   -1,   -1,   -1,   58,   59,   -1,   -1,   -1,   63,  300,
+  301,  302,   -1,  304,  305,  306,  307,  308,  309,  310,
+  311,   -1,   -1,  314,   -1,   -1,  317,  318,  319,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   93,   -1,
+   -1,   41,   -1,   -1,   44,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,  272,  273,  274,  275,   -1,   58,   59,
+  279,   -1,  281,   63,   -1,   -1,   -1,   -1,  287,  288,
+  289,  290,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,  300,  301,  302,   -1,  304,  305,  306,  307,  308,
+  309,  310,  311,   93,   -1,  314,   -1,   -1,   -1,   -1,
+   -1,  272,  273,  274,  275,   -1,   41,   -1,  279,   44,
+  281,   -1,   -1,   -1,   -1,   -1,  287,  288,  289,  290,
+   -1,   -1,   -1,   58,   59,   -1,   -1,   -1,   63,  300,
+  301,  302,   -1,  304,  305,  306,  307,  308,  309,  310,
+  311,   -1,   -1,  314,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   41,   -1,   -1,   44,   93,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,  272,  273,  274,  275,
+   -1,   58,   59,  279,   -1,  281,   63,   -1,   -1,   -1,
+   -1,  287,  288,  289,  290,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,  300,  301,  302,   -1,  304,  305,
+  306,  307,  308,  309,  310,  311,   93,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,  272,  273,  274,
+  275,   -1,   -1,   -1,  279,   -1,  281,   -1,   -1,   -1,
+   -1,   -1,  287,  288,  289,  290,   -1,   -1,   -1,   -1,
+   41,   -1,   -1,   44,   -1,  300,  301,  302,   -1,  304,
+  305,  306,  307,  308,  309,  310,  311,   58,   59,   -1,
+   -1,   -1,   63,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,  272,  273,  274,  275,   -1,   -1,   -1,  279,
+   -1,  281,   -1,   -1,   -1,   -1,   -1,  287,  288,  289,
+  290,   -1,   93,   -1,   -1,   41,   -1,   -1,   44,   -1,
+  300,  301,  302,   -1,  304,  305,  306,  307,  308,  309,
+  310,  311,   58,   59,   -1,   -1,   -1,   63,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,  272,  273,  274,
+  275,   -1,   -1,   -1,  279,   -1,  281,   93,   -1,   -1,
+   -1,   -1,  287,  288,  289,  290,   -1,   -1,   -1,   -1,
+   41,   -1,   -1,   44,   -1,  300,  301,  302,   -1,  304,
+  305,  306,  307,  308,  309,  310,  311,   58,   59,   -1,
+   -1,   -1,   63,   -1,   -1,  272,  273,  274,  275,   -1,
+   -1,   -1,  279,   -1,  281,   -1,   -1,   -1,   -1,   -1,
+  287,  288,  289,  290,   -1,   -1,   -1,   -1,   41,   -1,
+   -1,   44,   93,  300,  301,  302,   -1,  304,  305,  306,
+  307,  308,  309,  310,  311,   58,   59,   -1,   -1,   -1,
+   63,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   41,
+   93,   -1,   44,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,  272,  273,  274,  275,   -1,   58,   59,  279,   -1,
+  281,   63,   -1,   -1,   -1,   -1,  287,  288,  289,  290,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,  300,
+  301,  302,   -1,  304,  305,  306,  307,  308,  309,  310,
+  311,   93,   -1,   -1,   41,   -1,   -1,   44,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,  272,  273,  274,  275,
+   -1,   58,   59,  279,   -1,  281,   63,   -1,   -1,   -1,
+   -1,  287,  288,  289,  290,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,  300,  301,  302,   -1,  304,  305,
+  306,  307,  308,  309,  310,  311,   93,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   41,
+   -1,   -1,   44,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,  272,  273,  274,  275,   -1,   58,   59,  279,   -1,
+  281,   63,   -1,   -1,   -1,   -1,  287,  288,  289,  290,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,  300,
+  301,  302,   -1,  304,  305,  306,  307,  308,  309,  310,
+   -1,   93,   -1,   -1,   41,   -1,   -1,   44,   -1,  272,
+  273,  274,  275,   -1,   41,   -1,  279,   44,  281,   -1,
+   -1,   58,   59,   -1,  287,  288,   63,  290,   -1,   -1,
+   -1,   58,   59,   -1,   -1,   -1,   63,  300,  301,  302,
+   -1,  304,  305,  306,  307,  308,  309,  310,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   41,   93,   -1,   44,   -1,
+  272,  273,  274,  275,   -1,   -1,   93,  279,   -1,  281,
+   -1,   -1,   58,   59,   -1,  287,  288,   63,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,  300,  301,
+  302,   -1,  304,  305,  306,  307,  308,  309,  310,   -1,
+   -1,   -1,   -1,   41,   -1,   -1,   44,   93,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,  272,  273,  274,  275,   -1,
+   58,   59,  279,   -1,  281,   63,   -1,   -1,   -1,   -1,
+  287,  288,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,  300,  301,  302,   -1,  304,  305,  306,
+  307,  308,  309,   41,   -1,   93,   44,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   58,   59,   -1,   -1,   -1,   63,   -1,   -1,   -1,   -1,
+  272,  273,  274,  275,   -1,   -1,   -1,  279,   -1,  281,
+   -1,   -1,   -1,   -1,   -1,  287,  288,   -1,   -1,   -1,
+   -1,   41,   -1,   -1,   44,   93,   -1,   -1,  300,  301,
+  302,   -1,  304,  305,  306,  307,  308,  309,   58,   59,
+   -1,   -1,   -1,   63,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,  272,  273,  274,  275,   -1,
+   41,   -1,  279,   44,  281,  272,  273,  274,  275,   -1,
+  287,  288,  279,   93,  281,   -1,   -1,   58,   59,   -1,
+  287,  288,   63,  300,  301,  302,   -1,  304,  305,  306,
+  307,  308,  309,  300,  301,  302,   -1,  304,  305,  306,
+  307,  308,  309,   -1,   -1,   -1,  272,  273,  274,  275,
+   -1,   -1,   93,  279,   -1,  281,   -1,   -1,   -1,   -1,
+   -1,   -1,  288,   -1,   -1,   -1,   -1,   41,   -1,   -1,
+   44,   -1,   -1,   -1,  300,  301,  302,   -1,  304,  305,
+  306,  307,  308,  309,   58,   59,   -1,   -1,   -1,   63,
+   -1,   -1,   -1,   -1,  272,  273,  274,  275,   -1,   -1,
+   -1,  279,   -1,  281,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   41,   -1,   -1,   44,   93,
+   -1,   -1,  300,  301,  302,   -1,  304,  305,  306,  307,
+  308,  309,   58,   59,   -1,   -1,   -1,   63,   -1,   -1,
+   -1,   -1,   -1,   -1,  272,  273,  274,  275,   -1,   -1,
+   -1,  279,   -1,  281,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   93,   -1,   -1,
+   -1,   -1,  300,  301,  302,   -1,  304,  305,  306,  307,
+  308,  309,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,  272,  273,  274,  275,   -1,   -1,   -1,  279,
+   -1,  281,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+  300,  301,  302,   -1,  304,  305,  306,  307,  308,   -1,
+   -1,  272,  273,  274,  275,   -1,   -1,   -1,  279,   -1,
+  281,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,  300,
+  301,  302,   -1,  304,  305,  306,  307,   -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,  272,  273,
+  274,  275,   -1,   -1,   -1,  279,   -1,  281,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,  300,  301,  302,   -1,
+  304,  305,  306,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,  272,  273,  274,  275,
+   -1,   -1,   -1,  279,   -1,  281,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,   -1,
+   -1,   -1,   -1,   -1,  300,  301,  302,   -1,  304,  305,
+  306,
+};
+#define YYFINAL 1
+#ifndef YYDEBUG
+#define YYDEBUG 0
 #endif
-    switch (*s) {
-    default:
-       fprintf(stderr,
-           "Unrecognized character %c in file %s line %d--ignoring.\n",
-            *s++,filename,line);
-       goto retry;
-    case 0:
-       s = str_get(linestr);
-       *s = '\0';
-       if (firstline && (assume_n || assume_p)) {
-           firstline = FALSE;
-           str_set(linestr,"while (<>) {");
-           s = str_get(linestr);
-           goto retry;
-       }
-       if (!rsfp)
-           RETURN(0);
-       if (in_format) {
-           yylval.formval = load_format();     /* leaves . in buffer */
-           in_format = FALSE;
-           s = str_get(linestr);
-           TERM(FORMLIST);
-       }
-       line++;
-       if ((s = str_gets(linestr, rsfp)) == Nullch) {
-           if (preprocess)
-               pclose(rsfp);
-           else if (rsfp != stdin)
-               fclose(rsfp);
-           rsfp = Nullfp;
-           if (assume_n || assume_p) {
-               str_set(linestr,assume_p ? "}continue{print;" : "");
-               str_cat(linestr,"}");
-               s = str_get(linestr);
-               goto retry;
-           }
-           s = str_get(linestr);
-           RETURN(0);
-       }
-#ifdef DEBUG
-       else if (firstline) {
-           char *showinput();
-           s = showinput();
-       }
+#define YYMAXTOKEN 319
+#if YYDEBUG
+static char *yyname[] = {
+"end-of-file",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+"'!'",0,0,"'$'","'%'","'&'",0,"'('","')'","'*'","'+'","','","'-'",0,0,0,0,0,0,0,
+0,0,0,0,0,"':'","';'",0,0,0,"'?'","'@'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,"'['",0,"']'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,"'{'",0,"'}'","'~'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"WORD","METHOD","FUNCMETH","THING",
+"PMFUNC","PRIVATEREF","FUNC0SUB","UNIOPSUB","LSTOPSUB","LABEL","FORMAT","SUB",
+"ANONSUB","PACKAGE","USE","WHILE","UNTIL","IF","UNLESS","ELSE","ELSIF",
+"CONTINUE","FOR","LOOPEX","DOTDOT","FUNC0","FUNC1","FUNC","UNIOP","LSTOP",
+"RELOP","EQOP","MULOP","ADDOP","DOLSHARP","DO","HASHBRACK","NOAMP","LOCAL","MY",
+"MYSUB","COLONATTR","PREC_LOW","OROP","DOROP","ANDOP","NOTOP","ASSIGNOP","OROR",
+"DORDOR","ANDAND","BITOROP","BITANDOP","SHIFTOP","MATCHOP","UMINUS","REFGEN",
+"POWOP","PREINC","PREDEC","POSTINC","POSTDEC","ARROW",
+};
+static char *yyrule[] = {
+"$accept : prog",
+"prog : progstart lineseq",
+"block : '{' remember lineseq '}'",
+"remember :",
+"progstart :",
+"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",
+"sideff : expr FOR expr",
+"else :",
+"else : ELSE mblock",
+"else : ELSIF '(' mexpr ')' mblock else",
+"cond : IF '(' remember mexpr ')' mblock else",
+"cond : UNLESS '(' remember miexpr ')' mblock else",
+"cont :",
+"cont : CONTINUE block",
+"loop : label WHILE '(' remember mtexpr ')' mblock cont",
+"loop : label UNTIL '(' remember miexpr ')' mblock cont",
+"loop : label FOR MY remember my_scalar '(' mexpr ')' mblock cont",
+"loop : label FOR scalar '(' remember mexpr ')' mblock cont",
+"loop : label FOR '(' remember mexpr ')' mblock cont",
+"loop : label FOR '(' remember mnexpr ';' mtexpr ';' mnexpr ')' mblock",
+"loop : label block cont",
+"nexpr :",
+"nexpr : sideff",
+"texpr :",
+"texpr : expr",
+"iexpr : expr",
+"mexpr : expr",
+"mnexpr : nexpr",
+"mtexpr : texpr",
+"miexpr : iexpr",
+"label :",
+"label : LABEL",
+"decl : format",
+"decl : subrout",
+"decl : mysubrout",
+"decl : package",
+"decl : use",
+"format : FORMAT startformsub formname block",
+"formname : WORD",
+"formname :",
+"mysubrout : MYSUB startsub subname proto subattrlist subbody",
+"subrout : SUB startsub subname proto subattrlist subbody",
+"startsub :",
+"startanonsub :",
+"startformsub :",
+"subname : WORD",
+"proto :",
+"proto : THING",
+"subattrlist :",
+"subattrlist : COLONATTR THING",
+"subattrlist : COLONATTR",
+"myattrlist : COLONATTR THING",
+"myattrlist : COLONATTR",
+"subbody : block",
+"subbody : ';'",
+"package : PACKAGE WORD ';'",
+"$$1 :",
+"use : USE startsub $$1 WORD WORD listexpr ';'",
+"expr : expr ANDOP expr",
+"expr : expr OROP expr",
+"expr : expr DOROP expr",
+"expr : argexpr",
+"argexpr : argexpr ','",
+"argexpr : argexpr ',' term",
+"argexpr : term",
+"listop : LSTOP indirob argexpr",
+"listop : FUNC '(' indirob expr ')'",
+"listop : term ARROW method '(' listexprcom ')'",
+"listop : term ARROW method",
+"listop : METHOD indirob listexpr",
+"listop : FUNCMETH indirob '(' listexprcom ')'",
+"listop : LSTOP listexpr",
+"listop : FUNC '(' listexprcom ')'",
+"$$2 :",
+"listop : LSTOPSUB startanonsub block $$2 listexpr",
+"method : METHOD",
+"method : scalar",
+"subscripted : star '{' expr ';' '}'",
+"subscripted : scalar '[' expr ']'",
+"subscripted : term ARROW '[' expr ']'",
+"subscripted : subscripted '[' expr ']'",
+"subscripted : scalar '{' expr ';' '}'",
+"subscripted : term ARROW '{' expr ';' '}'",
+"subscripted : subscripted '{' expr ';' '}'",
+"subscripted : term ARROW '(' ')'",
+"subscripted : term ARROW '(' expr ')'",
+"subscripted : subscripted '(' expr ')'",
+"subscripted : subscripted '(' ')'",
+"termbinop : term ASSIGNOP term",
+"termbinop : term POWOP term",
+"termbinop : term MULOP term",
+"termbinop : term ADDOP term",
+"termbinop : term SHIFTOP term",
+"termbinop : term RELOP term",
+"termbinop : term EQOP term",
+"termbinop : term BITANDOP term",
+"termbinop : term BITOROP term",
+"termbinop : term DOTDOT term",
+"termbinop : term ANDAND term",
+"termbinop : term OROR term",
+"termbinop : term DORDOR term",
+"termbinop : term MATCHOP term",
+"termunop : '-' term",
+"termunop : '+' term",
+"termunop : '!' term",
+"termunop : '~' term",
+"termunop : term POSTINC",
+"termunop : term POSTDEC",
+"termunop : PREINC term",
+"termunop : PREDEC term",
+"anonymous : '[' expr ']'",
+"anonymous : '[' ']'",
+"anonymous : HASHBRACK expr ';' '}'",
+"anonymous : HASHBRACK ';' '}'",
+"anonymous : ANONSUB startanonsub proto subattrlist block",
+"termdo : DO term",
+"termdo : DO block",
+"termdo : DO WORD '(' ')'",
+"termdo : DO WORD '(' expr ')'",
+"termdo : DO scalar '(' ')'",
+"termdo : DO scalar '(' expr ')'",
+"term : termbinop",
+"term : termunop",
+"term : anonymous",
+"term : termdo",
+"term : term '?' term ':' term",
+"term : REFGEN term",
+"term : myattrterm",
+"term : LOCAL term",
+"term : '(' expr ')'",
+"term : '(' ')'",
+"term : scalar",
+"term : star",
+"term : hsh",
+"term : ary",
+"term : arylen",
+"term : subscripted",
+"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 : 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",
+"myattrterm : MY myterm myattrlist",
+"myattrterm : MY myterm",
+"myterm : '(' expr ')'",
+"myterm : '(' ')'",
+"myterm : scalar",
+"myterm : hsh",
+"myterm : ary",
+"listexpr :",
+"listexpr : argexpr",
+"listexprcom :",
+"listexprcom : expr",
+"listexprcom : expr ','",
+"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
-       firstline = FALSE;
-       goto retry;
-    case ' ': case '\t':
-       s++;
-       goto retry;
-    case '\n':
-    case '#':
-       if (preprocess && s == str_get(linestr) &&
-              s[1] == ' ' && isdigit(s[2])) {
-           line = atoi(s+2)-1;
-           for (s += 2; isdigit(*s); s++) ;
-           while (*s && isspace(*s)) s++;
-           if (filename)
-               safefree(filename);
-           s[strlen(s)-1] = '\0';      /* wipe out newline */
-           filename = savestr(s);
-           s = str_get(linestr);
-       }
-       *s = '\0';
-       if (lex_newlines)
-           RETURN('\n');
-       goto retry;
-    case '+':
-    case '-':
-       if (s[1] == *s) {
-           s++;
-           if (*s++ == '+')
-               RETURN(INC);
-           else
-               RETURN(DEC);
-       }
-       /* FALL THROUGH */
-    case '*':
-    case '%':
-    case '^':
-    case '~':
-    case '(':
-    case ',':
-    case ':':
-    case ';':
-    case '{':
-    case '[':
-       tmp = *s++;
-       OPERATOR(tmp);
-    case ')':
-    case ']':
-    case '}':
-       tmp = *s++;
-       TERM(tmp);
-    case '&':
-       s++;
-       tmp = *s++;
-       if (tmp == '&')
-           OPERATOR(ANDAND);
-       s--;
-       OPERATOR('&');
-    case '|':
-       s++;
-       tmp = *s++;
-       if (tmp == '|')
-           OPERATOR(OROR);
-       s--;
-       OPERATOR('|');
-    case '=':
-       s++;
-       tmp = *s++;
-       if (tmp == '=')
-           OPERATOR(EQ);
-       if (tmp == '~')
-           OPERATOR(MATCH);
-       s--;
-       OPERATOR('=');
-    case '!':
-       s++;
-       tmp = *s++;
-       if (tmp == '=')
-           OPERATOR(NE);
-       if (tmp == '~')
-           OPERATOR(NMATCH);
-       s--;
-       OPERATOR('!');
-    case '<':
-       if (expectterm) {
-           s = scanstr(s);
-           TERM(RSTRING);
-       }
-       s++;
-       tmp = *s++;
-       if (tmp == '<')
-           OPERATOR(LS);
-       if (tmp == '=')
-           OPERATOR(LE);
-       s--;
-       OPERATOR('<');
-    case '>':
-       s++;
-       tmp = *s++;
-       if (tmp == '>')
-           OPERATOR(RS);
-       if (tmp == '=')
-           OPERATOR(GE);
-       s--;
-       OPERATOR('>');
-
-#define SNARFWORD \
-       d = tokenbuf; \
-       while (isalpha(*s) || isdigit(*s) || *s == '_') \
-           *d++ = *s++; \
-       *d = '\0'; \
-       d = tokenbuf;
-
-    case '$':
-       if (s[1] == '#' && (isalpha(s[2]) || s[2] == '_')) {
-           s++;
-           s = scanreg(s,tokenbuf);
-           yylval.stabval = aadd(stabent(tokenbuf,TRUE));
-           TERM(ARYLEN);
-       }
-       s = scanreg(s,tokenbuf);
-       yylval.stabval = stabent(tokenbuf,TRUE);
-       TERM(REG);
-
-    case '@':
-       s = scanreg(s,tokenbuf);
-       yylval.stabval = aadd(stabent(tokenbuf,TRUE));
-       TERM(ARY);
-
-    case '/':                  /* may either be division or pattern */
-    case '?':                  /* may either be conditional or pattern */
-       if (expectterm) {
-           s = scanpat(s);
-           TERM(PATTERN);
-       }
-       tmp = *s++;
-       OPERATOR(tmp);
-
-    case '.':
-       if (!expectterm || !isdigit(s[1])) {
-           s++;
-           tmp = *s++;
-           if (tmp == '.')
-               OPERATOR(DOTDOT);
-           s--;
-           OPERATOR('.');
-       }
-       /* FALL THROUGH */
-    case '0': case '1': case '2': case '3': case '4':
-    case '5': case '6': case '7': case '8': case '9':
-    case '\'': case '"': case '`':
-       s = scanstr(s);
-       TERM(RSTRING);
-
-    case '_':
-       SNARFWORD;
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'a': case 'A':
-       SNARFWORD;
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'b': case 'B':
-       SNARFWORD;
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'c': case 'C':
-       SNARFWORD;
-       if (strEQ(d,"continue"))
-           OPERATOR(CONTINUE);
-       if (strEQ(d,"chdir"))
-           UNI(O_CHDIR);
-       if (strEQ(d,"close"))
-           OPERATOR(CLOSE);
-       if (strEQ(d,"crypt"))
-           FUN2(O_CRYPT);
-       if (strEQ(d,"chop"))
-           OPERATOR(CHOP);
-       if (strEQ(d,"chmod")) {
-           yylval.ival = O_CHMOD;
-           OPERATOR(PRINT);
-       }
-       if (strEQ(d,"chown")) {
-           yylval.ival = O_CHOWN;
-           OPERATOR(PRINT);
-       }
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'd': case 'D':
-       SNARFWORD;
-       if (strEQ(d,"do"))
-           OPERATOR(DO);
-       if (strEQ(d,"die"))
-           UNI(O_DIE);
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'e': case 'E':
-       SNARFWORD;
-       if (strEQ(d,"else"))
-           OPERATOR(ELSE);
-       if (strEQ(d,"elsif"))
-           OPERATOR(ELSIF);
-       if (strEQ(d,"eq") || strEQ(d,"EQ"))
-           OPERATOR(SEQ);
-       if (strEQ(d,"exit"))
-           UNI(O_EXIT);
-       if (strEQ(d,"eof"))
-           TERM(FEOF);
-       if (strEQ(d,"exp"))
-           FUN1(O_EXP);
-       if (strEQ(d,"each"))
-           SFUN(O_EACH);
-       if (strEQ(d,"exec")) {
-           yylval.ival = O_EXEC;
-           OPERATOR(PRINT);
-       }
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'f': case 'F':
-       SNARFWORD;
-       if (strEQ(d,"for"))
-           OPERATOR(FOR);
-       if (strEQ(d,"format")) {
-           in_format = TRUE;
-           OPERATOR(FORMAT);
-       }
-       if (strEQ(d,"fork"))
-           FUN0(O_FORK);
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'g': case 'G':
-       SNARFWORD;
-       if (strEQ(d,"gt") || strEQ(d,"GT"))
-           OPERATOR(SGT);
-       if (strEQ(d,"ge") || strEQ(d,"GE"))
-           OPERATOR(SGE);
-       if (strEQ(d,"goto"))
-           LOOPX(O_GOTO);
-       if (strEQ(d,"gmtime"))
-           FUN1(O_GMTIME);
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'h': case 'H':
-       SNARFWORD;
-       if (strEQ(d,"hex"))
-           FUN1(O_HEX);
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'i': case 'I':
-       SNARFWORD;
-       if (strEQ(d,"if"))
-           OPERATOR(IF);
-       if (strEQ(d,"index"))
-           FUN2(O_INDEX);
-       if (strEQ(d,"int"))
-           FUN1(O_INT);
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'j': case 'J':
-       SNARFWORD;
-       if (strEQ(d,"join"))
-           OPERATOR(JOIN);
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'k': case 'K':
-       SNARFWORD;
-       if (strEQ(d,"keys"))
-           SFUN(O_KEYS);
-       if (strEQ(d,"kill")) {
-           yylval.ival = O_KILL;
-           OPERATOR(PRINT);
-       }
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'l': case 'L':
-       SNARFWORD;
-       if (strEQ(d,"last"))
-           LOOPX(O_LAST);
-       if (strEQ(d,"length"))
-           FUN1(O_LENGTH);
-       if (strEQ(d,"lt") || strEQ(d,"LT"))
-           OPERATOR(SLT);
-       if (strEQ(d,"le") || strEQ(d,"LE"))
-           OPERATOR(SLE);
-       if (strEQ(d,"localtime"))
-           FUN1(O_LOCALTIME);
-       if (strEQ(d,"log"))
-           FUN1(O_LOG);
-       if (strEQ(d,"link"))
-           FUN2(O_LINK);
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'm': case 'M':
-       SNARFWORD;
-       if (strEQ(d,"m")) {
-           s = scanpat(s-1);
-           TERM(PATTERN);
-       }
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'n': case 'N':
-       SNARFWORD;
-       if (strEQ(d,"next"))
-           LOOPX(O_NEXT);
-       if (strEQ(d,"ne") || strEQ(d,"NE"))
-           OPERATOR(SNE);
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'o': case 'O':
-       SNARFWORD;
-       if (strEQ(d,"open"))
-           OPERATOR(OPEN);
-       if (strEQ(d,"ord"))
-           FUN1(O_ORD);
-       if (strEQ(d,"oct"))
-           FUN1(O_OCT);
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'p': case 'P':
-       SNARFWORD;
-       if (strEQ(d,"print")) {
-           yylval.ival = O_PRINT;
-           OPERATOR(PRINT);
-       }
-       if (strEQ(d,"printf")) {
-           yylval.ival = O_PRTF;
-           OPERATOR(PRINT);
-       }
-       if (strEQ(d,"push")) {
-           yylval.ival = O_PUSH;
-           OPERATOR(PUSH);
-       }
-       if (strEQ(d,"pop"))
-           OPERATOR(POP);
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'q': case 'Q':
-       SNARFWORD;
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'r': case 'R':
-       SNARFWORD;
-       if (strEQ(d,"reset"))
-           UNI(O_RESET);
-       if (strEQ(d,"redo"))
-           LOOPX(O_REDO);
-       if (strEQ(d,"rename"))
-           FUN2(O_RENAME);
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 's': case 'S':
-       SNARFWORD;
-       if (strEQ(d,"s")) {
-           s = scansubst(s);
-           TERM(SUBST);
-       }
-       if (strEQ(d,"shift"))
-           TERM(SHIFT);
-       if (strEQ(d,"split"))
-           TERM(SPLIT);
-       if (strEQ(d,"substr"))
-           FUN3(O_SUBSTR);
-       if (strEQ(d,"sprintf"))
-           OPERATOR(SPRINTF);
-       if (strEQ(d,"sub"))
-           OPERATOR(SUB);
-       if (strEQ(d,"select"))
-           OPERATOR(SELECT);
-       if (strEQ(d,"seek"))
-           OPERATOR(SEEK);
-       if (strEQ(d,"stat"))
-           OPERATOR(STAT);
-       if (strEQ(d,"sqrt"))
-           FUN1(O_SQRT);
-       if (strEQ(d,"sleep"))
-           UNI(O_SLEEP);
-       if (strEQ(d,"system")) {
-           yylval.ival = O_SYSTEM;
-           OPERATOR(PRINT);
-       }
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 't': case 'T':
-       SNARFWORD;
-       if (strEQ(d,"tr")) {
-           s = scantrans(s);
-           TERM(TRANS);
-       }
-       if (strEQ(d,"tell"))
-           TERM(TELL);
-       if (strEQ(d,"time"))
-           FUN0(O_TIME);
-       if (strEQ(d,"times"))
-           FUN0(O_TMS);
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'u': case 'U':
-       SNARFWORD;
-       if (strEQ(d,"using"))
-           OPERATOR(USING);
-       if (strEQ(d,"until"))
-           OPERATOR(UNTIL);
-       if (strEQ(d,"unless"))
-           OPERATOR(UNLESS);
-       if (strEQ(d,"umask"))
-           FUN1(O_UMASK);
-       if (strEQ(d,"unshift")) {
-           yylval.ival = O_UNSHIFT;
-           OPERATOR(PUSH);
-       }
-       if (strEQ(d,"unlink")) {
-           yylval.ival = O_UNLINK;
-           OPERATOR(PRINT);
-       }
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'v': case 'V':
-       SNARFWORD;
-       if (strEQ(d,"values"))
-           SFUN(O_VALUES);
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'w': case 'W':
-       SNARFWORD;
-       if (strEQ(d,"write"))
-           TERM(WRITE);
-       if (strEQ(d,"while"))
-           OPERATOR(WHILE);
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'x': case 'X':
-       SNARFWORD;
-       if (!expectterm && strEQ(d,"x"))
-           OPERATOR('x');
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'y': case 'Y':
-       SNARFWORD;
-       if (strEQ(d,"y")) {
-           s = scantrans(s);
-           TERM(TRANS);
-       }
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    case 'z': case 'Z':
-       SNARFWORD;
-       yylval.cval = savestr(d);
-       OPERATOR(WORD);
-    }
-}
-
-STAB *
-stabent(name,add)
-register char *name;
-int add;
-{
-    register STAB *stab;
-
-    for (stab = stab_index[*name]; stab; stab = stab->stab_next) {
-       if (strEQ(name,stab->stab_name))
-           return stab;
-    }
-    
-    /* no entry--should we add one? */
-
-    if (add) {
-       stab = (STAB *) safemalloc(sizeof(STAB));
-       bzero((char*)stab, sizeof(STAB));
-       stab->stab_name = savestr(name);
-       stab->stab_val = str_new(0);
-       stab->stab_next = stab_index[*name];
-       stab_index[*name] = stab;
-       return stab;
-    }
-    return Nullstab;
-}
-
-STIO *
-stio_new()
-{
-    STIO *stio = (STIO *) safemalloc(sizeof(STIO));
-
-    bzero((char*)stio, sizeof(STIO));
-    stio->page_len = 60;
-    return stio;
-}
-
-char *
-scanreg(s,dest)
-register char *s;
-char *dest;
-{
-    register char *d;
-
-    s++;
-    d = dest;
-    while (isalpha(*s) || isdigit(*s) || *s == '_')
-       *d++ = *s++;
-    *d = '\0';
-    d = dest;
-    if (!*d) {
-       *d = *s++;
-       if (*d == '{') {
-           d = dest;
-           while (*s && *s != '}')
-               *d++ = *s++;
-           *d = '\0';
-           d = dest;
-           if (*s)
-               s++;
-       }
-       else
-           d[1] = '\0';
-    }
-    if (*d == '^' && !isspace(*s))
-       *d = *s++ & 31;
-    return s;
-}
-
-STR *
-scanconst(string)
-char *string;
-{
-    register STR *retstr;
-    register char *t;
-    register char *d;
-
-    if (index(string,'|')) {
-       return Nullstr;
-    }
-    retstr = str_make(string);
-    t = str_get(retstr);
-    for (d=t; *d; ) {
-       switch (*d) {
-       case '.': case '[': case '$': case '(': case ')': case '|':
-           *d = '\0';
-           break;
-       case '\\':
-           if (index("wWbB0123456789",d[1])) {
-               *d = '\0';
-               break;
-           }
-           strcpy(d,d+1);
-           switch(*d) {
-           case 'n':
-               *d = '\n';
-               break;
-           case 't':
-               *d = '\t';
-               break;
-           case 'f':
-               *d = '\f';
-               break;
-           case 'r':
-               *d = '\r';
-               break;
-           }
-           /* FALL THROUGH */
-       default:
-           if (d[1] == '*' || d[1] == '+' || d[1] == '?') {
-               *d = '\0';
-               break;
-           }
-           d++;
-       }
-    }
-    if (!*t) {
-       str_free(retstr);
-       return Nullstr;
-    }
-    retstr->str_cur = strlen(retstr->str_ptr); /* XXX cheating here */
-    return retstr;
-}
-
-char *
-scanpat(s)
-register char *s;
-{
-    register SPAT *spat = (SPAT *) safemalloc(sizeof (SPAT));
-    register char *d;
-
-    bzero((char *)spat, sizeof(SPAT));
-    spat->spat_next = spat_root;       /* link into spat list */
-    spat_root = spat;
-    init_compex(&spat->spat_compex);
-
-    switch (*s++) {
-    case 'm':
-       s++;
-       break;
-    case '/':
-       break;
-    case '?':
-       spat->spat_flags |= SPAT_USE_ONCE;
-       break;
-    default:
-       fatal("Search pattern not found:\n%s",str_get(linestr));
-    }
-    s = cpytill(tokenbuf,s,s[-1]);
-    if (!*s)
-       fatal("Search pattern not terminated:\n%s",str_get(linestr));
-    s++;
-    if (*tokenbuf == '^') {
-       spat->spat_first = scanconst(tokenbuf+1);
-       if (spat->spat_first) {
-           spat->spat_flen = strlen(spat->spat_first->str_ptr);
-           if (spat->spat_flen == strlen(tokenbuf+1))
-               spat->spat_flags |= SPAT_SCANALL;
-       }
-    }
-    else {
-       spat->spat_flags |= SPAT_SCANFIRST;
-       spat->spat_first = scanconst(tokenbuf);
-       if (spat->spat_first) {
-           spat->spat_flen = strlen(spat->spat_first->str_ptr);
-           if (spat->spat_flen == strlen(tokenbuf))
-               spat->spat_flags |= SPAT_SCANALL;
-       }
-    }  
-    if (d = compile(&spat->spat_compex,tokenbuf,TRUE,FALSE))
-       fatal(d);
-    yylval.arg = make_match(O_MATCH,stab_to_arg(A_STAB,defstab),spat);
-    return s;
-}
-
-char *
-scansubst(s)
-register char *s;
-{
-    register SPAT *spat = (SPAT *) safemalloc(sizeof (SPAT));
-    register char *d;
-
-    bzero((char *)spat, sizeof(SPAT));
-    spat->spat_next = spat_root;       /* link into spat list */
-    spat_root = spat;
-    init_compex(&spat->spat_compex);
-
-    s = cpytill(tokenbuf,s+1,*s);
-    if (!*s)
-       fatal("Substitution pattern not terminated:\n%s",str_get(linestr));
-    for (d=tokenbuf; *d; d++) {
-       if (*d == '$' && d[1] && d[-1] != '\\' && d[1] != '|') {
-           register ARG *arg;
-
-           spat->spat_runtime = arg = op_new(1);
-           arg->arg_type = O_ITEM;
-           arg[1].arg_type = A_DOUBLE;
-           arg[1].arg_ptr.arg_str = str_make(tokenbuf);
-           goto get_repl;              /* skip compiling for now */
-       }
-    }
-    if (*tokenbuf == '^') {
-       spat->spat_first = scanconst(tokenbuf+1);
-       if (spat->spat_first)
-           spat->spat_flen = strlen(spat->spat_first->str_ptr);
-    }
-    else {
-       spat->spat_flags |= SPAT_SCANFIRST;
-       spat->spat_first = scanconst(tokenbuf);
-       if (spat->spat_first)
-           spat->spat_flen = strlen(spat->spat_first->str_ptr);
-    }  
-    if (d = compile(&spat->spat_compex,tokenbuf,TRUE,FALSE))
-       fatal(d);
-get_repl:
-    s = scanstr(s);
-    if (!*s)
-       fatal("Substitution replacement not terminated:\n%s",str_get(linestr));
-    spat->spat_repl = yylval.arg;
-    if (*s == 'g') {
-       s++;
-       spat->spat_flags &= ~SPAT_USE_ONCE;
-    }
-    else
-       spat->spat_flags |= SPAT_USE_ONCE;
-    yylval.arg = make_match(O_SUBST,stab_to_arg(A_STAB,defstab),spat);
-    return s;
-}
-
-ARG *
-make_split(stab,arg)
-register STAB *stab;
-register ARG *arg;
-{
-    if (arg->arg_type != O_MATCH) {
-       register SPAT *spat = (SPAT *) safemalloc(sizeof (SPAT));
-       register char *d;
-
-       bzero((char *)spat, sizeof(SPAT));
-       spat->spat_next = spat_root;    /* link into spat list */
-       spat_root = spat;
-       init_compex(&spat->spat_compex);
-
-       spat->spat_runtime = arg;
-       arg = make_match(O_MATCH,stab_to_arg(A_STAB,defstab),spat);
-    }
-    arg->arg_type = O_SPLIT;
-    arg[2].arg_ptr.arg_spat->spat_repl = stab_to_arg(A_STAB,aadd(stab));
-    return arg;
-}
-
-char *
-expand_charset(s)
-register char *s;
-{
-    char t[512];
-    register char *d = t;
-    register int i;
-
-    while (*s) {
-       if (s[1] == '-' && s[2]) {
-           for (i = s[0]; i <= s[2]; i++)
-               *d++ = i;
-           s += 3;
-       }
-       else
-           *d++ = *s++;
-    }
-    *d = '\0';
-    return savestr(t);
-}
-
-char *
-scantrans(s)
-register char *s;
-{
-    ARG *arg =
-       l(make_op(O_TRANS,2,stab_to_arg(A_STAB,defstab),Nullarg,Nullarg,0));
-    register char *t;
-    register char *r;
-    register char *tbl = safemalloc(256);
-    register int i;
-
-    arg[2].arg_type = A_NULL;
-    arg[2].arg_ptr.arg_cval = tbl;
-    for (i=0; i<256; i++)
-       tbl[i] = 0;
-    s = scanstr(s);
-    if (!*s)
-       fatal("Translation pattern not terminated:\n%s",str_get(linestr));
-    t = expand_charset(str_get(yylval.arg[1].arg_ptr.arg_str));
-    free_arg(yylval.arg);
-    s = scanstr(s-1);
-    if (!*s)
-       fatal("Translation replacement not terminated:\n%s",str_get(linestr));
-    r = expand_charset(str_get(yylval.arg[1].arg_ptr.arg_str));
-    free_arg(yylval.arg);
-    yylval.arg = arg;
-    if (!*r) {
-       safefree(r);
-       r = t;
-    }
-    for (i = 0; t[i]; i++) {
-       if (!r[i])
-           r[i] = r[i-1];
-       tbl[t[i] & 0377] = r[i];
-    }
-    if (r != t)
-       safefree(r);
-    safefree(t);
-    return s;
-}
-
-CMD *
-block_head(tail)
-register CMD *tail;
-{
-    if (tail == Nullcmd) {
-       return tail;
-    }
-    return tail->c_head;
-}
-
-CMD *
-append_line(head,tail)
-register CMD *head;
-register CMD *tail;
-{
-    if (tail == Nullcmd)
-       return head;
-    if (!tail->c_head)                 /* make sure tail is well formed */
-       tail->c_head = tail;
-    if (head != Nullcmd) {
-       tail = tail->c_head;            /* get to start of tail list */
-       if (!head->c_head)
-           head->c_head = head;        /* start a new head list */
-       while (head->c_next) {
-           head->c_next->c_head = head->c_head;
-           head = head->c_next;        /* get to end of head list */
-       }
-       head->c_next = tail;            /* link to end of old list */
-       tail->c_head = head->c_head;    /* propagate head pointer */
-    }
-    while (tail->c_next) {
-       tail->c_next->c_head = tail->c_head;
-       tail = tail->c_next;
-    }
-    return tail;
-}
-
-CMD *
-make_acmd(type,stab,cond,arg)
-int type;
-STAB *stab;
-ARG *cond;
-ARG *arg;
-{
-    register CMD *cmd = (CMD *) safemalloc(sizeof (CMD));
-
-    bzero((char *)cmd, sizeof(CMD));
-    cmd->c_type = type;
-    cmd->ucmd.acmd.ac_stab = stab;
-    cmd->ucmd.acmd.ac_expr = arg;
-    cmd->c_expr = cond;
-    if (cond) {
-       opt_arg(cmd,1);
-       cmd->c_flags |= CF_COND;
-    }
-    return cmd;
-}
-
-CMD *
-make_ccmd(type,arg,cblock)
-int type;
-register ARG *arg;
-struct compcmd cblock;
-{
-    register CMD *cmd = (CMD *) safemalloc(sizeof (CMD));
+#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
+#endif
+#line 795 "perly.y"
+ /* PROGRAM */
 
-    bzero((char *)cmd, sizeof(CMD));
-    cmd->c_type = type;
-    cmd->c_expr = arg;
-    cmd->ucmd.ccmd.cc_true = cblock.comp_true;
-    cmd->ucmd.ccmd.cc_alt = cblock.comp_alt;
-    if (arg) {
-       opt_arg(cmd,1);
-       cmd->c_flags |= CF_COND;
-    }
-    return cmd;
-}
+/* more stuff added to make perly_c.diff easier to apply */
 
-void
-opt_arg(cmd,fliporflop)
-register CMD *cmd;
-int fliporflop;
+#ifdef yyparse
+#undef yyparse
+#endif
+#define yyparse() Perl_yyparse(pTHX)
+
+#line 1508 "perly.c"
+#define YYABORT goto yyabort
+#define YYACCEPT goto yyaccept
+#define YYERROR goto yyerrlab
+int
+yyparse()
 {
-    register ARG *arg;
-    int opt = CFT_EVAL;
-    int sure = 0;
-    ARG *arg2;
-    char *tmps;        /* for True macro */
-    int context = 0;   /* 0 = normal, 1 = before &&, 2 = before || */
-    int flp = fliporflop;
-
-    if (!cmd)
-       return;
-    arg = cmd->c_expr;
-
-    /* Turn "if (!expr)" into "unless (expr)" */
-
-    while (arg->arg_type == O_NOT && arg[1].arg_type == A_EXPR) {
-       cmd->c_flags ^= CF_INVERT;              /* flip sense of cmd */
-       cmd->c_expr = arg[1].arg_ptr.arg_arg;   /* hoist the rest of expr */
-       free_arg(arg);
-       arg = cmd->c_expr;                      /* here we go again */
-    }
-
-    if (!arg->arg_len) {               /* sanity check */
-       cmd->c_flags |= opt;
-       return;
-    }
-
-    /* for "cond .. cond" we set up for the initial check */
-
-    if (arg->arg_type == O_FLIP)
-       context |= 4;
-
-    /* for "cond && expr" and "cond || expr" we can ignore expr, sort of */
-
-    if (arg->arg_type == O_AND)
-       context |= 1;
-    else if (arg->arg_type == O_OR)
-       context |= 2;
-    if (context && arg[flp].arg_type == A_EXPR) {
-       arg = arg[flp].arg_ptr.arg_arg;
-       flp = 1;
-    }
-
-    if (arg[flp].arg_flags & (AF_PRE|AF_POST)) {
-       cmd->c_flags |= opt;
-       return;                         /* side effect, can't optimize */
-    }
+    register int yym, yyn, yystate;
+    register short *yyssp;
+    register YYSTYPE *yyvsp;
+    short* yyss;
+    YYSTYPE* yyvs;
+    unsigned yystacksize = YYSTACKSIZE;
+    int retval = 0;
+#if YYDEBUG
+    register char *yys;
+#endif
 
-    if (arg->arg_type == O_ITEM || arg->arg_type == O_FLIP ||
-      arg->arg_type == O_AND || arg->arg_type == O_OR) {
-       if (arg[flp].arg_type == A_SINGLE) {
-           opt = (str_true(arg[flp].arg_ptr.arg_str) ? CFT_TRUE : CFT_FALSE);
-           cmd->c_first = arg[flp].arg_ptr.arg_str;
-           goto literal;
-       }
-       else if (arg[flp].arg_type == A_STAB || arg[flp].arg_type == A_LVAL) {
-           cmd->c_stab  = arg[flp].arg_ptr.arg_stab;
-           opt = CFT_REG;
-         literal:
-           if (!context) {     /* no && or ||? */
-               free_arg(arg);
-               cmd->c_expr = Nullarg;
-           }
-           if (!(context & 1))
-               cmd->c_flags |= CF_EQSURE;
-           if (!(context & 2))
-               cmd->c_flags |= CF_NESURE;
-       }
-    }
-    else if (arg->arg_type == O_MATCH || arg->arg_type == O_SUBST ||
-             arg->arg_type == O_NMATCH || arg->arg_type == O_NSUBST) {
-       if ((arg[1].arg_type == A_STAB || arg[1].arg_type == A_LVAL) &&
-               arg[2].arg_type == A_SPAT &&
-               arg[2].arg_ptr.arg_spat->spat_first ) {
-           cmd->c_stab  = arg[1].arg_ptr.arg_stab;
-           cmd->c_first = arg[2].arg_ptr.arg_spat->spat_first;
-           cmd->c_flen  = arg[2].arg_ptr.arg_spat->spat_flen;
-           if (arg[2].arg_ptr.arg_spat->spat_flags & SPAT_SCANALL &&
-               (arg->arg_type == O_MATCH || arg->arg_type == O_NMATCH) )
-               sure |= CF_EQSURE;              /* (SUBST must be forced even */
-                                               /* if we know it will work.) */
-           arg[2].arg_ptr.arg_spat->spat_first = Nullstr;
-           arg[2].arg_ptr.arg_spat->spat_flen = 0; /* only one chk */
-           sure |= CF_NESURE;          /* normally only sure if it fails */
-           if (arg->arg_type == O_NMATCH || arg->arg_type == O_NSUBST)
-               cmd->c_flags |= CF_FIRSTNEG;
-           if (context & 1) {          /* only sure if thing is false */
-               if (cmd->c_flags & CF_FIRSTNEG)
-                   sure &= ~CF_NESURE;
-               else
-                   sure &= ~CF_EQSURE;
-           }
-           else if (context & 2) {     /* only sure if thing is true */
-               if (cmd->c_flags & CF_FIRSTNEG)
-                   sure &= ~CF_EQSURE;
-               else
-                   sure &= ~CF_NESURE;
-           }
-           if (sure & (CF_EQSURE|CF_NESURE)) { /* if we know anything*/
-               if (arg[2].arg_ptr.arg_spat->spat_flags & SPAT_SCANFIRST)
-                   opt = CFT_SCAN;
-               else
-                   opt = CFT_ANCHOR;
-               if (sure == (CF_EQSURE|CF_NESURE)       /* really sure? */
-                   && arg->arg_type == O_MATCH
-                   && context & 4
-                   && fliporflop == 1) {
-                   arg[2].arg_type = A_SINGLE;         /* don't do twice */
-                   arg[2].arg_ptr.arg_str = &str_yes;
-               }
-               cmd->c_flags |= sure;
-           }
-       }
-    }
-    else if (arg->arg_type == O_SEQ || arg->arg_type == O_SNE ||
-            arg->arg_type == O_SLT || arg->arg_type == O_SGT) {
-       if (arg[1].arg_type == A_STAB || arg[1].arg_type == A_LVAL) {
-           if (arg[2].arg_type == A_SINGLE) {
-               cmd->c_stab  = arg[1].arg_ptr.arg_stab;
-               cmd->c_first = arg[2].arg_ptr.arg_str;
-               cmd->c_flen  = 30000;
-               switch (arg->arg_type) {
-               case O_SLT: case O_SGT:
-                   sure |= CF_EQSURE;
-                   cmd->c_flags |= CF_FIRSTNEG;
-                   break;
-               case O_SNE:
-                   cmd->c_flags |= CF_FIRSTNEG;
-                   /* FALL THROUGH */
-               case O_SEQ:
-                   sure |= CF_NESURE|CF_EQSURE;
-                   break;
-               }
-               if (context & 1) {      /* only sure if thing is false */
-                   if (cmd->c_flags & CF_FIRSTNEG)
-                       sure &= ~CF_NESURE;
-                   else
-                       sure &= ~CF_EQSURE;
-               }
-               else if (context & 2) { /* only sure if thing is true */
-                   if (cmd->c_flags & CF_FIRSTNEG)
-                       sure &= ~CF_EQSURE;
-                   else
-                       sure &= ~CF_NESURE;
-               }
-               if (sure & (CF_EQSURE|CF_NESURE)) {
-                   opt = CFT_STROP;
-                   cmd->c_flags |= sure;
-               }
-           }
-       }
-    }
-    else if (arg->arg_type == O_ASSIGN &&
-            (arg[1].arg_type == A_STAB || arg[1].arg_type == A_LVAL) &&
-            arg[1].arg_ptr.arg_stab == defstab &&
-            arg[2].arg_type == A_EXPR ) {
-       arg2 = arg[2].arg_ptr.arg_arg;
-       if (arg2->arg_type == O_ITEM && arg2[1].arg_type == A_READ) {
-           opt = CFT_GETS;
-           cmd->c_stab = arg2[1].arg_ptr.arg_stab;
-           if (!(arg2[1].arg_ptr.arg_stab->stab_io->flags & IOF_ARGV)) {
-               free_arg(arg2);
-               free_arg(arg);
-               cmd->c_expr = Nullarg;
-           }
-       }
-    }
-    else if (arg->arg_type == O_CHOP &&
-            (arg[1].arg_type == A_STAB || arg[1].arg_type == A_LVAL) ) {
-       opt = CFT_CHOP;
-       cmd->c_stab = arg[1].arg_ptr.arg_stab;
-       free_arg(arg);
-       cmd->c_expr = Nullarg;
+    struct ysv *ysave;
+#ifdef USE_ITHREADS
+    ENTER;                     /* force yydestruct() before we return */
+#endif
+    New(73, ysave, 1, struct ysv);
+    SAVEDESTRUCTOR_X(yydestruct, ysave);
+    ysave->oldyydebug  = yydebug;
+    ysave->oldyynerrs  = yynerrs;
+    ysave->oldyyerrflag        = yyerrflag;
+    ysave->oldyychar   = yychar;
+    ysave->oldyyval    = yyval;
+    ysave->oldyylval   = yylval;
+
+#if YYDEBUG
+    if ((yys = getenv("YYDEBUG")))
+    {
+        yyn = *yys;
+        if (yyn >= '0' && yyn <= '9')
+            yydebug = yyn - '0';
     }
-    if (context & 4)
-       opt |= CF_FLIP;
-    cmd->c_flags |= opt;
+#endif
 
-    if (cmd->c_flags & CF_FLIP) {
-       if (fliporflop == 1) {
-           arg = cmd->c_expr;  /* get back to O_FLIP arg */
-           arg[3].arg_ptr.arg_cmd = (CMD*)safemalloc(sizeof(CMD));
-           bcopy((char *)cmd, (char *)arg[3].arg_ptr.arg_cmd, sizeof(CMD));
-           arg[4].arg_ptr.arg_cmd = (CMD*)safemalloc(sizeof(CMD));
-           bcopy((char *)cmd, (char *)arg[4].arg_ptr.arg_cmd, sizeof(CMD));
-           opt_arg(arg[4].arg_ptr.arg_cmd,2);
-           arg->arg_len = 2;           /* this is a lie */
-       }
-       else {
-           if ((opt & CF_OPTIMIZE) == CFT_EVAL)
-               cmd->c_flags = (cmd->c_flags & ~CF_OPTIMIZE) | CFT_UNFLIP;
-       }
+    yynerrs = 0;
+    yyerrflag = 0;
+    yychar = (-1);
+
+    /*
+    ** Initialize private stacks (yyparse may be called from an action)
+    */
+    New(73, yyss, yystacksize, short);
+    New(73, yyvs, yystacksize, YYSTYPE);
+    ysave->yyss = yyss;
+    ysave->yyvs = yyvs;
+    if (!yyvs || !yyss)
+       goto yyoverflow;
+
+    yyssp = yyss;
+    yyvsp = yyvs;
+    *yyssp = yystate = 0;
+
+yyloop:
+    if ((yyn = yydefred[yystate])) goto yyreduce;
+    if (yychar < 0)
+    {
+        if ((yychar = yylex()) < 0) yychar = 0;
+#if YYDEBUG
+        if (yydebug)
+        {
+            yys = 0;
+            if (yychar <= YYMAXTOKEN) yys = yyname[yychar];
+            if (!yys) yys = "illegal-symbol";
+            PerlIO_printf(Perl_debug_log, "yydebug: state %d, reading %d (%s)\n", yystate,
+                    yychar, yys);
+        }
+#endif
     }
-}
-
-ARG *
-mod_match(type,left,pat)
-register ARG *left;
-register ARG *pat;
-{
-
-    register SPAT *spat;
-    register ARG *newarg;
-
-    if ((pat->arg_type == O_MATCH ||
-        pat->arg_type == O_SUBST ||
-        pat->arg_type == O_TRANS ||
-        pat->arg_type == O_SPLIT
-       ) &&
-       pat[1].arg_ptr.arg_stab == defstab ) {
-       switch (pat->arg_type) {
-       case O_MATCH:
-           newarg = make_op(type == O_MATCH ? O_MATCH : O_NMATCH,
-               pat->arg_len,
-               left,Nullarg,Nullarg,0);
-           break;
-       case O_SUBST:
-           newarg = l(make_op(type == O_MATCH ? O_SUBST : O_NSUBST,
-               pat->arg_len,
-               left,Nullarg,Nullarg,0));
-           break;
-       case O_TRANS:
-           newarg = l(make_op(type == O_MATCH ? O_TRANS : O_NTRANS,
-               pat->arg_len,
-               left,Nullarg,Nullarg,0));
-           break;
-       case O_SPLIT:
-           newarg = make_op(type == O_MATCH ? O_SPLIT : O_SPLIT,
-               pat->arg_len,
-               left,Nullarg,Nullarg,0);
-           break;
-       }
-       if (pat->arg_len >= 2) {
-           newarg[2].arg_type = pat[2].arg_type;
-           newarg[2].arg_ptr = pat[2].arg_ptr;
-           newarg[2].arg_flags = pat[2].arg_flags;
-           if (pat->arg_len >= 3) {
-               newarg[3].arg_type = pat[3].arg_type;
-               newarg[3].arg_ptr = pat[3].arg_ptr;
-               newarg[3].arg_flags = pat[3].arg_flags;
-           }
-       }
-       safefree((char*)pat);
+    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]);
+#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 = Renew(yyvs, yystacksize, YYSTYPE);
+           ysave->yyss = Renew(yyss, yystacksize, 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;
     }
-    else {
-       spat = (SPAT *) safemalloc(sizeof (SPAT));
-       bzero((char *)spat, sizeof(SPAT));
-       spat->spat_next = spat_root;    /* link into spat list */
-       spat_root = spat;
-       init_compex(&spat->spat_compex);
-
-       spat->spat_runtime = pat;
-       newarg = make_op(type,2,left,Nullarg,Nullarg,0);
-       newarg[2].arg_type = A_SPAT;
-       newarg[2].arg_ptr.arg_spat = spat;
-       newarg[2].arg_flags = AF_SPECIAL;
+    if ((yyn = yyrindex[yystate]) && (yyn += yychar) >= 0 &&
+            yyn <= YYTABLESIZE && yycheck[yyn] == yychar)
+    {
+        yyn = yytable[yyn];
+        goto yyreduce;
     }
+    if (yyerrflag) goto yyinrecovery;
+#ifdef lint
 
-    return newarg;
-}
-
-CMD *
-add_label(lbl,cmd)
-char *lbl;
-register CMD *cmd;
-{
-    if (cmd)
-       cmd->c_label = lbl;
-    return cmd;
-}
-
-CMD *
-addcond(cmd, arg)
-register CMD *cmd;
-register ARG *arg;
-{
-    cmd->c_expr = arg;
-    opt_arg(cmd,1);
-    cmd->c_flags |= CF_COND;
-    return cmd;
-}
-
-CMD *
-addloop(cmd, arg)
-register CMD *cmd;
-register ARG *arg;
-{
-    cmd->c_expr = arg;
-    opt_arg(cmd,1);
-    cmd->c_flags |= CF_COND|CF_LOOP;
-    if (cmd->c_type == C_BLOCK)
-       cmd->c_flags &= ~CF_COND;
-    else {
-       arg = cmd->ucmd.acmd.ac_expr;
-       if (arg && arg->arg_type == O_ITEM && arg[1].arg_type == A_CMD)
-           cmd->c_flags &= ~CF_COND;  /* "do {} while" happens at least once */
-       if (arg && arg->arg_type == O_SUBR)
-           cmd->c_flags &= ~CF_COND;  /* likewise for "do subr() while" */
-    }
-    return cmd;
-}
+#endif
 
-CMD *
-invert(cmd)
-register CMD *cmd;
-{
-    cmd->c_flags ^= CF_INVERT;
-    return cmd;
-}
+    yyerror("syntax error");
+#ifdef lint
 
-yyerror(s)
-char *s;
-{
-    char tmpbuf[128];
-    char *tname = tmpbuf;
+#endif
 
-    if (yychar > 256) {
-       tname = tokename[yychar-256];
-       if (strEQ(tname,"word"))
-           strcpy(tname,tokenbuf);
-       else if (strEQ(tname,"register"))
-           sprintf(tname,"$%s",tokenbuf);
-       else if (strEQ(tname,"array_length"))
-           sprintf(tname,"$#%s",tokenbuf);
+    ++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 = Renew(yyvs, yystacksize, YYSTYPE);
+                   ysave->yyss = Renew(yyss, yystacksize, 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 if (!yychar)
-       strcpy(tname,"EOF");
-    else if (yychar < 32)
-       sprintf(tname,"^%c",yychar+64);
-    else if (yychar == 127)
-       strcpy(tname,"^?");
     else
-       sprintf(tname,"%c",yychar);
-    printf("%s in file %s at line %d, next token \"%s\"\n",
-      s,filename,line,tname);
-}
-
-char *
-scanstr(s)
-register char *s;
-{
-    register char term;
-    register char *d;
-    register ARG *arg;
-    register bool makesingle = FALSE;
-    char *leave = "\\$nrtfb0123456789";        /* which backslash sequences to keep */
-
-    arg = op_new(1);
-    yylval.arg = arg;
-    arg->arg_type = O_ITEM;
-
-    switch (*s) {
-    default:                   /* a substitution replacement */
-       arg[1].arg_type = A_DOUBLE;
-       makesingle = TRUE;      /* maybe disable runtime scanning */
-       term = *s;
-       if (term == '\'')
-           leave = Nullch;
-       goto snarf_it;
-    case '0':
-       {
-           long i;
-           int shift;
-
-           arg[1].arg_type = A_SINGLE;
-           if (s[1] == 'x') {
-               shift = 4;
-               s += 2;
-           }
-           else if (s[1] == '.')
-               goto decimal;
-           else
-               shift = 3;
-           i = 0;
-           for (;;) {
-               switch (*s) {
-               default:
-                   goto out;
-               case '8': case '9':
-                   if (shift != 4)
-                       fatal("Illegal octal digit at line %d",line);
-                   /* FALL THROUGH */
-               case '0': case '1': case '2': case '3': case '4':
-               case '5': case '6': case '7':
-                   i <<= shift;
-                   i += *s++ & 15;
-                   break;
-               case 'a': case 'b': case 'c': case 'd': case 'e': case 'f':
-               case 'A': case 'B': case 'C': case 'D': case 'E': case 'F':
-                   if (shift != 4)
-                       goto out;
-                   i <<= 4;
-                   i += (*s++ & 7) + 9;
-                   break;
-               }
-           }
-         out:
-           sprintf(tokenbuf,"%d",i);
-           arg[1].arg_ptr.arg_str = str_make(tokenbuf);
-       }
-       break;
-    case '1': case '2': case '3': case '4': case '5':
-    case '6': case '7': case '8': case '9': case '.':
-      decimal:
-       arg[1].arg_type = A_SINGLE;
-       d = tokenbuf;
-       while (isdigit(*s) || *s == '_')
-           *d++ = *s++;
-       if (*s == '.' && index("0123456789eE",s[1]))
-           *d++ = *s++;
-       while (isdigit(*s) || *s == '_')
-           *d++ = *s++;
-       if (index("eE",*s) && index("+-0123456789",s[1]))
-           *d++ = *s++;
-       if (*s == '+' || *s == '-')
-           *d++ = *s++;
-       while (isdigit(*s))
-           *d++ = *s++;
-       *d = '\0';
-       arg[1].arg_ptr.arg_str = str_make(tokenbuf);
-       break;
-    case '\'':
-       arg[1].arg_type = A_SINGLE;
-       term = *s;
-       leave = Nullch;
-       goto snarf_it;
-
-    case '<':
-       arg[1].arg_type = A_READ;
-       s = cpytill(tokenbuf,s+1,'>');
-       if (!*tokenbuf)
-           strcpy(tokenbuf,"ARGV");
-       if (*s)
-           s++;
-       if (rsfp == stdin && strEQ(tokenbuf,"stdin"))
-           fatal("Can't get both program and data from <stdin>\n");
-       arg[1].arg_ptr.arg_stab = stabent(tokenbuf,TRUE);
-       arg[1].arg_ptr.arg_stab->stab_io = stio_new();
-       if (strEQ(tokenbuf,"ARGV")) {
-           aadd(arg[1].arg_ptr.arg_stab);
-           arg[1].arg_ptr.arg_stab->stab_io->flags |= IOF_ARGV|IOF_START;
-       }
-       break;
-    case '"': 
-       arg[1].arg_type = A_DOUBLE;
-       makesingle = TRUE;      /* maybe disable runtime scanning */
-       term = *s;
-       goto snarf_it;
-    case '`':
-       arg[1].arg_type = A_BACKTICK;
-       term = *s;
-      snarf_it:
-       {
-           STR *tmpstr;
-           int sqstart = line;
-           char *tmps;
-
-           tmpstr = str_new(strlen(s));
-           s = str_append_till(tmpstr,s+1,term,leave);
-           while (!*s) {       /* multiple line string? */
-               s = str_gets(linestr, rsfp);
-               if (!*s)
-                   fatal("EOF in string at line %d\n",sqstart);
-               line++;
-               s = str_append_till(tmpstr,s,term,leave);
-           }
-           s++;
-           if (term == '\'') {
-               arg[1].arg_ptr.arg_str = tmpstr;
-               break;
-           }
-           tmps = s;
-           s = d = tmpstr->str_ptr;    /* assuming shrinkage only */
-           while (*s) {
-               if (*s == '$' && s[1]) {
-                   makesingle = FALSE; /* force interpretation */
-                   if (!isalpha(s[1])) {       /* an internal register? */
-                       int len;
-
-                       len = scanreg(s,tokenbuf) - s;
-                       stabent(tokenbuf,TRUE); /* make sure it's created */
-                       while (len--)
-                           *d++ = *s++;
-                       continue;
-                   }
-               }
-               else if (*s == '\\' && s[1]) {
-                   s++;
-                   switch (*s) {
-                   default:
-                     defchar:
-                       if (!leave || index(leave,*s))
-                           *d++ = '\\';
-                       *d++ = *s++;
-                       continue;
-                   case '0': case '1': case '2': case '3':
-                   case '4': case '5': case '6': case '7':
-                       *d = *s++ - '0';
-                       if (index("01234567",*s)) {
-                           *d <<= 3;
-                           *d += *s++ - '0';
-                       }
-                       else if (!index('`"',term)) {   /* oops, a subpattern */
-                           s--;
-                           goto defchar;
-                       }
-                       if (index("01234567",*s)) {
-                           *d <<= 3;
-                           *d += *s++ - '0';
-                       }
-                       d++;
-                       continue;
-                   case 'b':
-                       *d++ = '\b';
-                       break;
-                   case 'n':
-                       *d++ = '\n';
-                       break;
-                   case 'r':
-                       *d++ = '\r';
-                       break;
-                   case 'f':
-                       *d++ = '\f';
-                       break;
-                   case 't':
-                       *d++ = '\t';
-                       break;
-                   }
-                   s++;
-                   continue;
-               }
-               *d++ = *s++;
-           }
-           *d = '\0';
-           if (arg[1].arg_type == A_DOUBLE) {
-               if (makesingle)
-                   arg[1].arg_type = A_SINGLE; /* now we can optimize on it */
-               else
-                   leave = "\\";
-               for (d = s = tmpstr->str_ptr; *s; *d++ = *s++) {
-                   if (*s == '\\' && (!leave || index(leave,s[1])))
-                       s++;
-               }
-               *d = '\0';
-           }
-           tmpstr->str_cur = d - tmpstr->str_ptr;      /* XXX cheat */
-           arg[1].arg_ptr.arg_str = tmpstr;
-           s = tmps;
-           break;
-       }
+    {
+        if (yychar == 0) goto yyabort;
+#if YYDEBUG
+        if (yydebug)
+        {
+            yys = 0;
+            if (yychar <= YYMAXTOKEN) yys = yyname[yychar];
+            if (!yys) yys = "illegal-symbol";
+            PerlIO_printf(Perl_debug_log, "yydebug: state %d, error recovery discards token %d (%s)\n",
+                    yystate, yychar, yys);
+        }
+#endif
+        yychar = (-1);
+        goto yyloop;
     }
-    return s;
-}
-
-ARG *
-make_op(type,newlen,arg1,arg2,arg3,dolist)
-int type;
-int newlen;
-ARG *arg1;
-ARG *arg2;
-ARG *arg3;
-int dolist;
+yyreduce:
+#if YYDEBUG
+    if (yydebug)
+        PerlIO_printf(Perl_debug_log, "yydebug: state %d, reducing by rule %d (%s)\n",
+                yystate, yyn, yyrule[yyn]);
+#endif
+    yym = yylen[yyn];
+    yyval = yyvsp[1-yym];
+    switch (yyn)
+    {
+case 1:
+#line 131 "perly.y"
+{ yyval.ival = yyvsp[-1].ival; newPROG(block_end(yyvsp[-1].ival,yyvsp[0].opval)); }
+break;
+case 2:
+#line 136 "perly.y"
+{ if (PL_copline > (line_t)yyvsp[-3].ival)
+                             PL_copline = (line_t)yyvsp[-3].ival;
+                         yyval.opval = block_end(yyvsp[-2].ival, yyvsp[-1].opval); }
+break;
+case 3:
+#line 142 "perly.y"
+{ yyval.ival = block_start(TRUE); }
+break;
+case 4:
+#line 146 "perly.y"
 {
-    register ARG *arg;
-    register ARG *chld;
-    register int doarg;
-
-    arg = op_new(newlen);
-    arg->arg_type = type;
-    doarg = opargs[type];
-    if (chld = arg1) {
-       if (!(doarg & 1))
-           arg[1].arg_flags |= AF_SPECIAL;
-       if (doarg & 16)
-           arg[1].arg_flags |= AF_NUMERIC;
-       if (chld->arg_type == O_ITEM &&
-           (hoistable[chld[1].arg_type] || chld[1].arg_type == A_LVAL) ) {
-           arg[1].arg_type = chld[1].arg_type;
-           arg[1].arg_ptr = chld[1].arg_ptr;
-           arg[1].arg_flags |= chld[1].arg_flags;
-           free_arg(chld);
-       }
-       else {
-           arg[1].arg_type = A_EXPR;
-           arg[1].arg_ptr.arg_arg = chld;
-           if (dolist & 1) {
-               if (chld->arg_type == O_LIST) {
-                   if (newlen == 1) {  /* we can hoist entire list */
-                       chld->arg_type = type;
-                       free_arg(arg);
-                       arg = chld;
-                   }
-                   else {
-                       arg[1].arg_flags |= AF_SPECIAL;
-                   }
+#if defined(YYDEBUG) && defined(DEBUGGING)
+                   yydebug = (DEBUG_p_TEST);
+#endif
+                   PL_expect = XSTATE; yyval.ival = block_start(TRUE);
                }
-               else if (chld->arg_type == O_ARRAY && chld->arg_len == 1)
-                   arg[1].arg_flags |= AF_SPECIAL;
-           }
-       }
-    }
-    if (chld = arg2) {
-       if (!(doarg & 2))
-           arg[2].arg_flags |= AF_SPECIAL;
-       if (doarg & 32)
-           arg[2].arg_flags |= AF_NUMERIC;
-       if (chld->arg_type == O_ITEM && 
-           (hoistable[chld[1].arg_type] || 
-            (type == O_ASSIGN && 
-             (chld[1].arg_type == A_READ ||
-              chld[1].arg_type == A_DOUBLE ||
-              chld[1].arg_type == A_BACKTICK ) ) ) ) {
-           arg[2].arg_type = chld[1].arg_type;
-           arg[2].arg_ptr = chld[1].arg_ptr;
-           free_arg(chld);
-       }
-       else {
-           arg[2].arg_type = A_EXPR;
-           arg[2].arg_ptr.arg_arg = chld;
-           if ((dolist & 2) &&
-             (chld->arg_type == O_LIST ||
-              (chld->arg_type == O_ARRAY && chld->arg_len == 1) ))
-               arg[2].arg_flags |= AF_SPECIAL;
-       }
-    }
-    if (chld = arg3) {
-       if (!(doarg & 4))
-           arg[3].arg_flags |= AF_SPECIAL;
-       if (doarg & 64)
-           arg[3].arg_flags |= AF_NUMERIC;
-       if (chld->arg_type == O_ITEM && hoistable[chld[1].arg_type]) {
-           arg[3].arg_type = chld[1].arg_type;
-           arg[3].arg_ptr = chld[1].arg_ptr;
-           free_arg(chld);
-       }
-       else {
-           arg[3].arg_type = A_EXPR;
-           arg[3].arg_ptr.arg_arg = chld;
-           if ((dolist & 4) &&
-             (chld->arg_type == O_LIST ||
-              (chld->arg_type == O_ARRAY && chld->arg_len == 1) ))
-               arg[3].arg_flags |= AF_SPECIAL;
-       }
-    }
-#ifdef DEBUGGING
-    if (debug & 16) {
-       fprintf(stderr,"%lx <= make_op(%s",arg,opname[arg->arg_type]);
-       if (arg1)
-           fprintf(stderr,",%s=%lx",
-               argname[arg[1].arg_type],arg[1].arg_ptr.arg_arg);
-       if (arg2)
-           fprintf(stderr,",%s=%lx",
-               argname[arg[2].arg_type],arg[2].arg_ptr.arg_arg);
-       if (arg3)
-           fprintf(stderr,",%s=%lx",
-               argname[arg[3].arg_type],arg[3].arg_ptr.arg_arg);
-       fprintf(stderr,")\n");
+break;
+case 5:
+#line 156 "perly.y"
+{ if (PL_copline > (line_t)yyvsp[-3].ival)
+                             PL_copline = (line_t)yyvsp[-3].ival;
+                         yyval.opval = block_end(yyvsp[-2].ival, yyvsp[-1].opval); }
+break;
+case 6:
+#line 162 "perly.y"
+{ yyval.ival = block_start(FALSE); }
+break;
+case 7:
+#line 167 "perly.y"
+{ yyval.opval = Nullop; }
+break;
+case 8:
+#line 169 "perly.y"
+{ yyval.opval = yyvsp[-1].opval; }
+break;
+case 9:
+#line 171 "perly.y"
+{   yyval.opval = append_list(OP_LINESEQ,
+                               (LISTOP*)yyvsp[-1].opval, (LISTOP*)yyvsp[0].opval);
+                           PL_pad_reset_pending = TRUE;
+                           if (yyvsp[-1].opval && yyvsp[0].opval) PL_hints |= HINT_BLOCK_SCOPE; }
+break;
+case 10:
+#line 179 "perly.y"
+{ yyval.opval = newSTATEOP(0, yyvsp[-1].pval, yyvsp[0].opval); }
+break;
+case 12:
+#line 182 "perly.y"
+{ if (yyvsp[-1].pval != Nullch) {
+                             yyval.opval = newSTATEOP(0, yyvsp[-1].pval, newOP(OP_NULL, 0));
+                           }
+                           else {
+                             yyval.opval = Nullop;
+                             PL_copline = NOLINE;
+                           }
+                           PL_expect = XSTATE; }
+break;
+case 13:
+#line 191 "perly.y"
+{ yyval.opval = newSTATEOP(0, yyvsp[-2].pval, yyvsp[-1].opval);
+                         PL_expect = XSTATE; }
+break;
+case 14:
+#line 197 "perly.y"
+{ yyval.opval = Nullop; }
+break;
+case 15:
+#line 199 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 16:
+#line 201 "perly.y"
+{ yyval.opval = newLOGOP(OP_AND, 0, yyvsp[0].opval, yyvsp[-2].opval); }
+break;
+case 17:
+#line 203 "perly.y"
+{ yyval.opval = newLOGOP(OP_OR, 0, yyvsp[0].opval, yyvsp[-2].opval); }
+break;
+case 18:
+#line 205 "perly.y"
+{ yyval.opval = newLOOPOP(OPf_PARENS, 1, scalar(yyvsp[0].opval), yyvsp[-2].opval); }
+break;
+case 19:
+#line 207 "perly.y"
+{ yyval.opval = newLOOPOP(OPf_PARENS, 1, yyvsp[0].opval, yyvsp[-2].opval);}
+break;
+case 20:
+#line 209 "perly.y"
+{ yyval.opval = newFOROP(0, Nullch, (line_t)yyvsp[-1].ival,
+                                       Nullop, yyvsp[0].opval, yyvsp[-2].opval, Nullop); }
+break;
+case 21:
+#line 215 "perly.y"
+{ yyval.opval = Nullop; }
+break;
+case 22:
+#line 217 "perly.y"
+{ (yyvsp[0].opval)->op_flags |= OPf_PARENS; yyval.opval = scope(yyvsp[0].opval); }
+break;
+case 23:
+#line 219 "perly.y"
+{ PL_copline = (line_t)yyvsp[-5].ival;
+                           yyval.opval = newCONDOP(0, yyvsp[-3].opval, scope(yyvsp[-1].opval), yyvsp[0].opval);
+                           PL_hints |= HINT_BLOCK_SCOPE; }
+break;
+case 24:
+#line 226 "perly.y"
+{ PL_copline = (line_t)yyvsp[-6].ival;
+                           yyval.opval = block_end(yyvsp[-4].ival,
+                                  newCONDOP(0, yyvsp[-3].opval, scope(yyvsp[-1].opval), yyvsp[0].opval)); }
+break;
+case 25:
+#line 230 "perly.y"
+{ PL_copline = (line_t)yyvsp[-6].ival;
+                           yyval.opval = block_end(yyvsp[-4].ival,
+                                  newCONDOP(0, yyvsp[-3].opval, scope(yyvsp[-1].opval), yyvsp[0].opval)); }
+break;
+case 26:
+#line 237 "perly.y"
+{ yyval.opval = Nullop; }
+break;
+case 27:
+#line 239 "perly.y"
+{ yyval.opval = scope(yyvsp[0].opval); }
+break;
+case 28:
+#line 244 "perly.y"
+{ PL_copline = (line_t)yyvsp[-6].ival;
+                           yyval.opval = block_end(yyvsp[-4].ival,
+                                  newSTATEOP(0, yyvsp[-7].pval,
+                                    newWHILEOP(0, 1, (LOOP*)Nullop,
+                                               yyvsp[-6].ival, yyvsp[-3].opval, yyvsp[-1].opval, yyvsp[0].opval))); }
+break;
+case 29:
+#line 250 "perly.y"
+{ PL_copline = (line_t)yyvsp[-6].ival;
+                           yyval.opval = block_end(yyvsp[-4].ival,
+                                  newSTATEOP(0, yyvsp[-7].pval,
+                                    newWHILEOP(0, 1, (LOOP*)Nullop,
+                                               yyvsp[-6].ival, yyvsp[-3].opval, yyvsp[-1].opval, yyvsp[0].opval))); }
+break;
+case 30:
+#line 256 "perly.y"
+{ yyval.opval = block_end(yyvsp[-6].ival,
+                                newFOROP(0, yyvsp[-9].pval, (line_t)yyvsp[-8].ival, yyvsp[-5].opval, yyvsp[-3].opval, yyvsp[-1].opval, yyvsp[0].opval)); }
+break;
+case 31:
+#line 259 "perly.y"
+{ yyval.opval = block_end(yyvsp[-4].ival,
+                                newFOROP(0, yyvsp[-8].pval, (line_t)yyvsp[-7].ival, mod(yyvsp[-6].opval, OP_ENTERLOOP),
+                                         yyvsp[-3].opval, yyvsp[-1].opval, yyvsp[0].opval)); }
+break;
+case 32:
+#line 263 "perly.y"
+{ yyval.opval = block_end(yyvsp[-4].ival,
+                                newFOROP(0, yyvsp[-7].pval, (line_t)yyvsp[-6].ival, Nullop, yyvsp[-3].opval, yyvsp[-1].opval, yyvsp[0].opval)); }
+break;
+case 33:
+#line 267 "perly.y"
+{ OP *forop;
+                         PL_copline = (line_t)yyvsp[-9].ival;
+                         forop = newSTATEOP(0, yyvsp[-10].pval,
+                                           newWHILEOP(0, 1, (LOOP*)Nullop,
+                                               yyvsp[-9].ival, scalar(yyvsp[-4].opval),
+                                               yyvsp[0].opval, yyvsp[-2].opval));
+                         if (yyvsp[-6].opval) {
+                               forop = append_elem(OP_LINESEQ,
+                                        newSTATEOP(0, (yyvsp[-10].pval?savepv(yyvsp[-10].pval):Nullch),
+                                                  yyvsp[-6].opval),
+                                       forop);
+                         }
+
+                         yyval.opval = block_end(yyvsp[-7].ival, forop); }
+break;
+case 34:
+#line 282 "perly.y"
+{ yyval.opval = newSTATEOP(0, yyvsp[-2].pval,
+                                newWHILEOP(0, 1, (LOOP*)Nullop,
+                                           NOLINE, Nullop, yyvsp[-1].opval, yyvsp[0].opval)); }
+break;
+case 35:
+#line 289 "perly.y"
+{ yyval.opval = Nullop; }
+break;
+case 37:
+#line 295 "perly.y"
+{ (void)scan_num("1", &yylval); yyval.opval = yylval.opval; }
+break;
+case 39:
+#line 301 "perly.y"
+{ yyval.opval = invert(scalar(yyvsp[0].opval)); }
+break;
+case 40:
+#line 306 "perly.y"
+{ yyval.opval = yyvsp[0].opval; intro_my(); }
+break;
+case 41:
+#line 310 "perly.y"
+{ yyval.opval = yyvsp[0].opval; intro_my(); }
+break;
+case 42:
+#line 314 "perly.y"
+{ yyval.opval = yyvsp[0].opval; intro_my(); }
+break;
+case 43:
+#line 318 "perly.y"
+{ yyval.opval = yyvsp[0].opval; intro_my(); }
+break;
+case 44:
+#line 323 "perly.y"
+{ yyval.pval = Nullch; }
+break;
+case 46:
+#line 329 "perly.y"
+{ yyval.ival = 0; }
+break;
+case 47:
+#line 331 "perly.y"
+{ yyval.ival = 0; }
+break;
+case 48:
+#line 333 "perly.y"
+{ yyval.ival = 0; }
+break;
+case 49:
+#line 335 "perly.y"
+{ yyval.ival = 0; }
+break;
+case 50:
+#line 337 "perly.y"
+{ yyval.ival = 0; }
+break;
+case 51:
+#line 341 "perly.y"
+{ newFORM(yyvsp[-2].ival, yyvsp[-1].opval, yyvsp[0].opval); }
+break;
+case 52:
+#line 344 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 53:
+#line 345 "perly.y"
+{ yyval.opval = Nullop; }
+break;
+case 54:
+#line 350 "perly.y"
+{ newMYSUB(yyvsp[-4].ival, yyvsp[-3].opval, yyvsp[-2].opval, yyvsp[-1].opval, yyvsp[0].opval); }
+break;
+case 55:
+#line 355 "perly.y"
+{ newATTRSUB(yyvsp[-4].ival, yyvsp[-3].opval, yyvsp[-2].opval, yyvsp[-1].opval, yyvsp[0].opval); }
+break;
+case 56:
+#line 359 "perly.y"
+{ yyval.ival = start_subparse(FALSE, 0); }
+break;
+case 57:
+#line 363 "perly.y"
+{ yyval.ival = start_subparse(FALSE, CVf_ANON); }
+break;
+case 58:
+#line 367 "perly.y"
+{ yyval.ival = start_subparse(TRUE, 0); }
+break;
+case 59:
+#line 371 "perly.y"
+{ STRLEN n_a; char *name = SvPV(((SVOP*)yyvsp[0].opval)->op_sv,n_a);
+                         if (strEQ(name, "BEGIN") || strEQ(name, "END")
+                             || strEQ(name, "INIT") || strEQ(name, "CHECK"))
+                             CvSPECIAL_on(PL_compcv);
+                         yyval.opval = yyvsp[0].opval; }
+break;
+case 60:
+#line 380 "perly.y"
+{ yyval.opval = Nullop; }
+break;
+case 62:
+#line 386 "perly.y"
+{ yyval.opval = Nullop; }
+break;
+case 63:
+#line 388 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 64:
+#line 390 "perly.y"
+{ yyval.opval = Nullop; }
+break;
+case 65:
+#line 395 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 66:
+#line 397 "perly.y"
+{ yyval.opval = Nullop; }
+break;
+case 67:
+#line 401 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 68:
+#line 402 "perly.y"
+{ yyval.opval = Nullop; PL_expect = XSTATE; }
+break;
+case 69:
+#line 406 "perly.y"
+{ package(yyvsp[-1].opval); }
+break;
+case 70:
+#line 410 "perly.y"
+{ CvSPECIAL_on(PL_compcv); /* It's a BEGIN {} */ }
+break;
+case 71:
+#line 412 "perly.y"
+{ utilize(yyvsp[-6].ival, yyvsp[-5].ival, yyvsp[-3].opval, yyvsp[-2].opval, yyvsp[-1].opval); }
+break;
+case 72:
+#line 417 "perly.y"
+{ yyval.opval = newLOGOP(OP_AND, 0, yyvsp[-2].opval, yyvsp[0].opval); }
+break;
+case 73:
+#line 419 "perly.y"
+{ yyval.opval = newLOGOP(yyvsp[-1].ival, 0, yyvsp[-2].opval, yyvsp[0].opval); }
+break;
+case 74:
+#line 421 "perly.y"
+{ yyval.opval = newLOGOP(OP_DOR, 0, yyvsp[-2].opval, yyvsp[0].opval); }
+break;
+case 76:
+#line 427 "perly.y"
+{ yyval.opval = yyvsp[-1].opval; }
+break;
+case 77:
+#line 429 "perly.y"
+{ yyval.opval = append_elem(OP_LIST, yyvsp[-2].opval, yyvsp[0].opval); }
+break;
+case 79:
+#line 435 "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 80:
+#line 438 "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 81:
+#line 441 "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 82:
+#line 446 "perly.y"
+{ yyval.opval = convert(OP_ENTERSUB, OPf_STACKED,
+                               append_elem(OP_LIST, scalar(yyvsp[-2].opval),
+                                   newUNOP(OP_METHOD, 0, yyvsp[0].opval))); }
+break;
+case 83:
+#line 450 "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 84:
+#line 455 "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 85:
+#line 460 "perly.y"
+{ yyval.opval = convert(yyvsp[-1].ival, 0, yyvsp[0].opval); }
+break;
+case 86:
+#line 462 "perly.y"
+{ yyval.opval = convert(yyvsp[-3].ival, 0, yyvsp[-1].opval); }
+break;
+case 87:
+#line 464 "perly.y"
+{ yyvsp[0].opval = newANONATTRSUB(yyvsp[-1].ival, 0, Nullop, yyvsp[0].opval); }
+break;
+case 88:
+#line 466 "perly.y"
+{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED,
+                                append_elem(OP_LIST,
+                                  prepend_elem(OP_LIST, yyvsp[-2].opval, yyvsp[0].opval), yyvsp[-4].opval)); }
+break;
+case 91:
+#line 480 "perly.y"
+{ yyval.opval = newBINOP(OP_GELEM, 0, yyvsp[-4].opval, scalar(yyvsp[-2].opval)); }
+break;
+case 92:
+#line 482 "perly.y"
+{ yyval.opval = newBINOP(OP_AELEM, 0, oopsAV(yyvsp[-3].opval), scalar(yyvsp[-1].opval)); }
+break;
+case 93:
+#line 484 "perly.y"
+{ yyval.opval = newBINOP(OP_AELEM, 0,
+                                       ref(newAVREF(yyvsp[-4].opval),OP_RV2AV),
+                                       scalar(yyvsp[-1].opval));}
+break;
+case 94:
+#line 488 "perly.y"
+{ yyval.opval = newBINOP(OP_AELEM, 0,
+                                       ref(newAVREF(yyvsp[-3].opval),OP_RV2AV),
+                                       scalar(yyvsp[-1].opval));}
+break;
+case 95:
+#line 492 "perly.y"
+{ yyval.opval = newBINOP(OP_HELEM, 0, oopsHV(yyvsp[-4].opval), jmaybe(yyvsp[-2].opval));
+                           PL_expect = XOPERATOR; }
+break;
+case 96:
+#line 495 "perly.y"
+{ yyval.opval = newBINOP(OP_HELEM, 0,
+                                       ref(newHVREF(yyvsp[-5].opval),OP_RV2HV),
+                                       jmaybe(yyvsp[-2].opval));
+                           PL_expect = XOPERATOR; }
+break;
+case 97:
+#line 500 "perly.y"
+{ yyval.opval = newBINOP(OP_HELEM, 0,
+                                       ref(newHVREF(yyvsp[-4].opval),OP_RV2HV),
+                                       jmaybe(yyvsp[-2].opval));
+                           PL_expect = XOPERATOR; }
+break;
+case 98:
+#line 505 "perly.y"
+{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED,
+                                  newCVREF(0, scalar(yyvsp[-3].opval))); }
+break;
+case 99:
+#line 508 "perly.y"
+{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED,
+                                  append_elem(OP_LIST, yyvsp[-1].opval,
+                                      newCVREF(0, scalar(yyvsp[-4].opval)))); }
+break;
+case 100:
+#line 513 "perly.y"
+{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED,
+                                  append_elem(OP_LIST, yyvsp[-1].opval,
+                                              newCVREF(0, scalar(yyvsp[-3].opval)))); }
+break;
+case 101:
+#line 517 "perly.y"
+{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED,
+                                  newCVREF(0, scalar(yyvsp[-2].opval))); }
+break;
+case 102:
+#line 523 "perly.y"
+{ yyval.opval = newASSIGNOP(OPf_STACKED, yyvsp[-2].opval, yyvsp[-1].ival, yyvsp[0].opval); }
+break;
+case 103:
+#line 525 "perly.y"
+{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); }
+break;
+case 104:
+#line 527 "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 105:
+#line 531 "perly.y"
+{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); }
+break;
+case 106:
+#line 533 "perly.y"
+{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); }
+break;
+case 107:
+#line 535 "perly.y"
+{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); }
+break;
+case 108:
+#line 537 "perly.y"
+{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); }
+break;
+case 109:
+#line 539 "perly.y"
+{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); }
+break;
+case 110:
+#line 541 "perly.y"
+{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); }
+break;
+case 111:
+#line 543 "perly.y"
+{ yyval.opval = newRANGE(yyvsp[-1].ival, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval));}
+break;
+case 112:
+#line 545 "perly.y"
+{ yyval.opval = newLOGOP(OP_AND, 0, yyvsp[-2].opval, yyvsp[0].opval); }
+break;
+case 113:
+#line 547 "perly.y"
+{ yyval.opval = newLOGOP(OP_OR, 0, yyvsp[-2].opval, yyvsp[0].opval); }
+break;
+case 114:
+#line 549 "perly.y"
+{ yyval.opval = newLOGOP(OP_DOR, 0, yyvsp[-2].opval, yyvsp[0].opval); }
+break;
+case 115:
+#line 551 "perly.y"
+{ yyval.opval = bind_match(yyvsp[-1].ival, yyvsp[-2].opval, yyvsp[0].opval); }
+break;
+case 116:
+#line 556 "perly.y"
+{ yyval.opval = newUNOP(OP_NEGATE, 0, scalar(yyvsp[0].opval)); }
+break;
+case 117:
+#line 558 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 118:
+#line 560 "perly.y"
+{ yyval.opval = newUNOP(OP_NOT, 0, scalar(yyvsp[0].opval)); }
+break;
+case 119:
+#line 562 "perly.y"
+{ yyval.opval = newUNOP(OP_COMPLEMENT, 0, scalar(yyvsp[0].opval));}
+break;
+case 120:
+#line 564 "perly.y"
+{ yyval.opval = newUNOP(OP_POSTINC, 0,
+                                       mod(scalar(yyvsp[-1].opval), OP_POSTINC)); }
+break;
+case 121:
+#line 567 "perly.y"
+{ yyval.opval = newUNOP(OP_POSTDEC, 0,
+                                       mod(scalar(yyvsp[-1].opval), OP_POSTDEC)); }
+break;
+case 122:
+#line 570 "perly.y"
+{ yyval.opval = newUNOP(OP_PREINC, 0,
+                                       mod(scalar(yyvsp[0].opval), OP_PREINC)); }
+break;
+case 123:
+#line 573 "perly.y"
+{ yyval.opval = newUNOP(OP_PREDEC, 0,
+                                       mod(scalar(yyvsp[0].opval), OP_PREDEC)); }
+break;
+case 124:
+#line 580 "perly.y"
+{ yyval.opval = newANONLIST(yyvsp[-1].opval); }
+break;
+case 125:
+#line 582 "perly.y"
+{ yyval.opval = newANONLIST(Nullop); }
+break;
+case 126:
+#line 584 "perly.y"
+{ yyval.opval = newANONHASH(yyvsp[-2].opval); }
+break;
+case 127:
+#line 586 "perly.y"
+{ yyval.opval = newANONHASH(Nullop); }
+break;
+case 128:
+#line 588 "perly.y"
+{ yyval.opval = newANONATTRSUB(yyvsp[-3].ival, yyvsp[-2].opval, yyvsp[-1].opval, yyvsp[0].opval); }
+break;
+case 129:
+#line 594 "perly.y"
+{ yyval.opval = dofile(yyvsp[0].opval); }
+break;
+case 130:
+#line 596 "perly.y"
+{ yyval.opval = newUNOP(OP_NULL, OPf_SPECIAL, scope(yyvsp[0].opval)); }
+break;
+case 131:
+#line 598 "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 132:
+#line 606 "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 133:
+#line 615 "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 134:
+#line 619 "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 139:
+#line 631 "perly.y"
+{ yyval.opval = newCONDOP(0, yyvsp[-4].opval, yyvsp[-2].opval, yyvsp[0].opval); }
+break;
+case 140:
+#line 633 "perly.y"
+{ yyval.opval = newUNOP(OP_REFGEN, 0, mod(yyvsp[0].opval,OP_REFGEN)); }
+break;
+case 141:
+#line 635 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 142:
+#line 637 "perly.y"
+{ yyval.opval = localize(yyvsp[0].opval,yyvsp[-1].ival); }
+break;
+case 143:
+#line 639 "perly.y"
+{ yyval.opval = sawparens(yyvsp[-1].opval); }
+break;
+case 144:
+#line 641 "perly.y"
+{ yyval.opval = sawparens(newNULLLIST()); }
+break;
+case 145:
+#line 643 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 146:
+#line 645 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 147:
+#line 647 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 148:
+#line 649 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 149:
+#line 651 "perly.y"
+{ yyval.opval = newUNOP(OP_AV2ARYLEN, 0, ref(yyvsp[0].opval, OP_AV2ARYLEN));}
+break;
+case 150:
+#line 653 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 151:
+#line 655 "perly.y"
+{ yyval.opval = newSLICEOP(0, yyvsp[-1].opval, yyvsp[-4].opval); }
+break;
+case 152:
+#line 657 "perly.y"
+{ yyval.opval = newSLICEOP(0, yyvsp[-1].opval, Nullop); }
+break;
+case 153:
+#line 659 "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 154:
+#line 665 "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)));
+                           PL_expect = XOPERATOR; }
+break;
+case 155:
+#line 672 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 156:
+#line 674 "perly.y"
+{ yyval.opval = newUNOP(OP_ENTERSUB, 0, scalar(yyvsp[0].opval)); }
+break;
+case 157:
+#line 676 "perly.y"
+{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar(yyvsp[-2].opval)); }
+break;
+case 158:
+#line 678 "perly.y"
+{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED,
+                           append_elem(OP_LIST, yyvsp[-1].opval, scalar(yyvsp[-3].opval))); }
+break;
+case 159:
+#line 681 "perly.y"
+{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED,
+                           append_elem(OP_LIST, yyvsp[0].opval, scalar(yyvsp[-1].opval))); }
+break;
+case 160:
+#line 684 "perly.y"
+{ yyval.opval = newOP(yyvsp[0].ival, OPf_SPECIAL);
+                           PL_hints |= HINT_BLOCK_SCOPE; }
+break;
+case 161:
+#line 687 "perly.y"
+{ yyval.opval = newLOOPEX(yyvsp[-1].ival,yyvsp[0].opval); }
+break;
+case 162:
+#line 689 "perly.y"
+{ yyval.opval = newUNOP(OP_NOT, 0, scalar(yyvsp[0].opval)); }
+break;
+case 163:
+#line 691 "perly.y"
+{ yyval.opval = newOP(yyvsp[0].ival, 0); }
+break;
+case 164:
+#line 693 "perly.y"
+{ yyval.opval = newUNOP(yyvsp[-1].ival, 0, yyvsp[0].opval); }
+break;
+case 165:
+#line 695 "perly.y"
+{ yyval.opval = newUNOP(yyvsp[-1].ival, 0, yyvsp[0].opval); }
+break;
+case 166:
+#line 697 "perly.y"
+{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED,
+                           append_elem(OP_LIST, yyvsp[0].opval, scalar(yyvsp[-1].opval))); }
+break;
+case 167:
+#line 700 "perly.y"
+{ yyval.opval = newOP(yyvsp[0].ival, 0); }
+break;
+case 168:
+#line 702 "perly.y"
+{ yyval.opval = newOP(yyvsp[-2].ival, 0); }
+break;
+case 169:
+#line 704 "perly.y"
+{ yyval.opval = newUNOP(OP_ENTERSUB, OPf_STACKED,
+                               scalar(yyvsp[0].opval)); }
+break;
+case 170:
+#line 707 "perly.y"
+{ yyval.opval = newOP(yyvsp[-2].ival, OPf_SPECIAL); }
+break;
+case 171:
+#line 709 "perly.y"
+{ yyval.opval = newUNOP(yyvsp[-3].ival, 0, yyvsp[-1].opval); }
+break;
+case 172:
+#line 711 "perly.y"
+{ yyval.opval = pmruntime(yyvsp[-3].opval, yyvsp[-1].opval, Nullop); }
+break;
+case 173:
+#line 713 "perly.y"
+{ yyval.opval = pmruntime(yyvsp[-5].opval, yyvsp[-3].opval, yyvsp[-1].opval); }
+break;
+case 176:
+#line 720 "perly.y"
+{ yyval.opval = my_attrs(yyvsp[-1].opval,yyvsp[0].opval); }
+break;
+case 177:
+#line 722 "perly.y"
+{ yyval.opval = localize(yyvsp[0].opval,yyvsp[-1].ival); }
+break;
+case 178:
+#line 727 "perly.y"
+{ yyval.opval = sawparens(yyvsp[-1].opval); }
+break;
+case 179:
+#line 729 "perly.y"
+{ yyval.opval = sawparens(newNULLLIST()); }
+break;
+case 180:
+#line 731 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 181:
+#line 733 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 182:
+#line 735 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 183:
+#line 740 "perly.y"
+{ yyval.opval = Nullop; }
+break;
+case 184:
+#line 742 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 185:
+#line 746 "perly.y"
+{ yyval.opval = Nullop; }
+break;
+case 186:
+#line 748 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+case 187:
+#line 750 "perly.y"
+{ yyval.opval = yyvsp[-1].opval; }
+break;
+case 188:
+#line 756 "perly.y"
+{ PL_in_my = 0; yyval.opval = my(yyvsp[0].opval); }
+break;
+case 189:
+#line 760 "perly.y"
+{ yyval.opval = newCVREF(yyvsp[-1].ival,yyvsp[0].opval); }
+break;
+case 190:
+#line 764 "perly.y"
+{ yyval.opval = newSVREF(yyvsp[0].opval); }
+break;
+case 191:
+#line 768 "perly.y"
+{ yyval.opval = newAVREF(yyvsp[0].opval); }
+break;
+case 192:
+#line 772 "perly.y"
+{ yyval.opval = newHVREF(yyvsp[0].opval); }
+break;
+case 193:
+#line 776 "perly.y"
+{ yyval.opval = newAVREF(yyvsp[0].opval); }
+break;
+case 194:
+#line 780 "perly.y"
+{ yyval.opval = newGVREF(0,yyvsp[0].opval); }
+break;
+case 195:
+#line 785 "perly.y"
+{ yyval.opval = scalar(yyvsp[0].opval); }
+break;
+case 196:
+#line 787 "perly.y"
+{ yyval.opval = scalar(yyvsp[0].opval);  }
+break;
+case 197:
+#line 789 "perly.y"
+{ yyval.opval = scope(yyvsp[0].opval); }
+break;
+case 198:
+#line 792 "perly.y"
+{ yyval.opval = yyvsp[0].opval; }
+break;
+#line 2562 "perly.c"
     }
+    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
-    evalstatic(arg);           /* see if we can consolidate anything */
-    return arg;
-}
-
-/* turn 123 into 123 == $. */
-
-ARG *
-flipflip(arg)
-register ARG *arg;
-{
-    if (arg && arg->arg_type == O_ITEM && arg[1].arg_type == A_SINGLE) {
-       arg = (ARG*)saferealloc((char*)arg,3*sizeof(ARG));
-       arg->arg_type = O_EQ;
-       arg->arg_len = 2;
-       arg[2].arg_type = A_STAB;
-       arg[2].arg_flags = 0;
-       arg[2].arg_ptr.arg_stab = stabent(".",TRUE);
-    }
-    return arg;
-}
-
-void
-evalstatic(arg)
-register ARG *arg;
-{
-    register STR *str;
-    register STR *s1;
-    register STR *s2;
-    double value;              /* must not be register */
-    register char *tmps;
-    int i;
-    double exp(), log(), sqrt(), modf();
-    char *crypt();
-
-    if (!arg || !arg->arg_len)
-       return;
-
-    if (arg[1].arg_type == A_SINGLE &&
-        (arg->arg_len == 1 || arg[2].arg_type == A_SINGLE) ) {
-       str = str_new(0);
-       s1 = arg[1].arg_ptr.arg_str;
-       if (arg->arg_len > 1)
-           s2 = arg[2].arg_ptr.arg_str;
-       else
-           s2 = Nullstr;
-       switch (arg->arg_type) {
-       default:
-           str_free(str);
-           str = Nullstr;              /* can't be evaluated yet */
-           break;
-       case O_CONCAT:
-           str_sset(str,s1);
-           str_scat(str,s2);
-           break;
-       case O_REPEAT:
-           i = (int)str_gnum(s2);
-           while (i--)
-               str_scat(str,s1);
-           break;
-       case O_MULTIPLY:
-           value = str_gnum(s1);
-           str_numset(str,value * str_gnum(s2));
-           break;
-       case O_DIVIDE:
-           value = str_gnum(s1);
-           str_numset(str,value / str_gnum(s2));
-           break;
-       case O_MODULO:
-           value = str_gnum(s1);
-           str_numset(str,(double)(((long)value) % ((long)str_gnum(s2))));
-           break;
-       case O_ADD:
-           value = str_gnum(s1);
-           str_numset(str,value + str_gnum(s2));
-           break;
-       case O_SUBTRACT:
-           value = str_gnum(s1);
-           str_numset(str,value - str_gnum(s2));
-           break;
-       case O_LEFT_SHIFT:
-           value = str_gnum(s1);
-           str_numset(str,(double)(((long)value) << ((long)str_gnum(s2))));
-           break;
-       case O_RIGHT_SHIFT:
-           value = str_gnum(s1);
-           str_numset(str,(double)(((long)value) >> ((long)str_gnum(s2))));
-           break;
-       case O_LT:
-           value = str_gnum(s1);
-           str_numset(str,(double)(value < str_gnum(s2)));
-           break;
-       case O_GT:
-           value = str_gnum(s1);
-           str_numset(str,(double)(value > str_gnum(s2)));
-           break;
-       case O_LE:
-           value = str_gnum(s1);
-           str_numset(str,(double)(value <= str_gnum(s2)));
-           break;
-       case O_GE:
-           value = str_gnum(s1);
-           str_numset(str,(double)(value >= str_gnum(s2)));
-           break;
-       case O_EQ:
-           value = str_gnum(s1);
-           str_numset(str,(double)(value == str_gnum(s2)));
-           break;
-       case O_NE:
-           value = str_gnum(s1);
-           str_numset(str,(double)(value != str_gnum(s2)));
-           break;
-       case O_BIT_AND:
-           value = str_gnum(s1);
-           str_numset(str,(double)(((long)value) & ((long)str_gnum(s2))));
-           break;
-       case O_XOR:
-           value = str_gnum(s1);
-           str_numset(str,(double)(((long)value) ^ ((long)str_gnum(s2))));
-           break;
-       case O_BIT_OR:
-           value = str_gnum(s1);
-           str_numset(str,(double)(((long)value) | ((long)str_gnum(s2))));
-           break;
-       case O_AND:
-           if (str_true(s1))
-               str = str_make(str_get(s2));
-           else
-               str = str_make(str_get(s1));
-           break;
-       case O_OR:
-           if (str_true(s1))
-               str = str_make(str_get(s1));
-           else
-               str = str_make(str_get(s2));
-           break;
-       case O_COND_EXPR:
-           if (arg[3].arg_type != A_SINGLE) {
-               str_free(str);
-               str = Nullstr;
-           }
-           else {
-               str = str_make(str_get(str_true(s1) ? s2 : arg[3].arg_ptr.arg_str));
-               str_free(arg[3].arg_ptr.arg_str);
-           }
-           break;
-       case O_NEGATE:
-           str_numset(str,(double)(-str_gnum(s1)));
-           break;
-       case O_NOT:
-           str_numset(str,(double)(!str_true(s1)));
-           break;
-       case O_COMPLEMENT:
-           str_numset(str,(double)(~(long)str_gnum(s1)));
-           break;
-       case O_LENGTH:
-           str_numset(str, (double)str_len(s1));
-           break;
-       case O_SUBSTR:
-           if (arg[3].arg_type != A_SINGLE || stabent("[",FALSE)) {
-               str_free(str);          /* making the fallacious assumption */
-               str = Nullstr;          /* that any $[ occurs before substr()*/
-           }
-           else {
-               char *beg;
-               int len = (int)str_gnum(s2);
-               int tmp;
-
-               for (beg = str_get(s1); *beg && len > 0; beg++,len--) ;
-               len = (int)str_gnum(arg[3].arg_ptr.arg_str);
-               str_free(arg[3].arg_ptr.arg_str);
-               if (len > (tmp = strlen(beg)))
-                   len = tmp;
-               str_nset(str,beg,len);
-           }
-           break;
-       case O_SLT:
-           tmps = str_get(s1);
-           str_numset(str,(double)(strLT(tmps,str_get(s2))));
-           break;
-       case O_SGT:
-           tmps = str_get(s1);
-           str_numset(str,(double)(strGT(tmps,str_get(s2))));
-           break;
-       case O_SLE:
-           tmps = str_get(s1);
-           str_numset(str,(double)(strLE(tmps,str_get(s2))));
-           break;
-       case O_SGE:
-           tmps = str_get(s1);
-           str_numset(str,(double)(strGE(tmps,str_get(s2))));
-           break;
-       case O_SEQ:
-           tmps = str_get(s1);
-           str_numset(str,(double)(strEQ(tmps,str_get(s2))));
-           break;
-       case O_SNE:
-           tmps = str_get(s1);
-           str_numset(str,(double)(strNE(tmps,str_get(s2))));
-           break;
-       case O_CRYPT:
-           tmps = str_get(s1);
-           str_set(str,crypt(tmps,str_get(s2)));
-           break;
-       case O_EXP:
-           str_numset(str,exp(str_gnum(s1)));
-           break;
-       case O_LOG:
-           str_numset(str,log(str_gnum(s1)));
-           break;
-       case O_SQRT:
-           str_numset(str,sqrt(str_gnum(s1)));
-           break;
-       case O_INT:
-           modf(str_gnum(s1),&value);
-           str_numset(str,value);
-           break;
-       case O_ORD:
-           str_numset(str,(double)(*str_get(s1)));
-           break;
-       }
-       if (str) {
-           arg->arg_type = O_ITEM;     /* note arg1 type is already SINGLE */
-           str_free(s1);
-           str_free(s2);
-           arg[1].arg_ptr.arg_str = str;
-       }
-    }
-}
-
-ARG *
-l(arg)
-register ARG *arg;
-{
-    register int i;
-    register ARG *arg1;
-
-    arg->arg_flags |= AF_COMMON;       /* XXX should cross-match */
-
-    /* see if it's an array reference */
-
-    if (arg[1].arg_type == A_EXPR) {
-       arg1 = arg[1].arg_ptr.arg_arg;
-
-       if (arg1->arg_type == O_LIST && arg->arg_type != O_ITEM) {
-                                               /* assign to list */
-           arg[1].arg_flags |= AF_SPECIAL;
-           arg[2].arg_flags |= AF_SPECIAL;
-           for (i = arg1->arg_len; i >= 1; i--) {
-               switch (arg1[i].arg_type) {
-               case A_STAB: case A_LVAL:
-                   arg1[i].arg_type = A_LVAL;
-                   break;
-               case A_EXPR: case A_LEXPR:
-                   arg1[i].arg_type = A_LEXPR;
-                   if (arg1[i].arg_ptr.arg_arg->arg_type == O_ARRAY)
-                       arg1[i].arg_ptr.arg_arg->arg_type = O_LARRAY;
-                   else if (arg1[i].arg_ptr.arg_arg->arg_type == O_HASH)
-                       arg1[i].arg_ptr.arg_arg->arg_type = O_LHASH;
-                   if (arg1[i].arg_ptr.arg_arg->arg_type == O_LARRAY)
-                       break;
-                   if (arg1[i].arg_ptr.arg_arg->arg_type == O_LHASH)
-                       break;
-                   /* FALL THROUGH */
-               default:
-                   sprintf(tokenbuf,
-                     "Illegal item (%s) as lvalue",argname[arg1[i].arg_type]);
-                   yyerror(tokenbuf);
-               }
-           }
-       }
-       else if (arg1->arg_type == O_ARRAY) {
-           if (arg1->arg_len == 1 && arg->arg_type != O_ITEM) {
-                                               /* assign to array */
-               arg[1].arg_flags |= AF_SPECIAL;
-               arg[2].arg_flags |= AF_SPECIAL;
-           }
-           else
-               arg1->arg_type = O_LARRAY;      /* assign to array elem */
-       }
-       else if (arg1->arg_type == O_HASH)
-           arg1->arg_type = O_LHASH;
-       else {
-           sprintf(tokenbuf,
-             "Illegal expression (%s) as lvalue",opname[arg1->arg_type]);
-           yyerror(tokenbuf);
-       }
-       arg[1].arg_type = A_LEXPR;
-#ifdef DEBUGGING
-       if (debug & 16)
-           fprintf(stderr,"lval LEXPR\n");
+        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
-       return arg;
-    }
-
-    /* not an array reference, should be a register name */
-
-    if (arg[1].arg_type != A_STAB && arg[1].arg_type != A_LVAL) {
-       sprintf(tokenbuf,
-         "Illegal item (%s) as lvalue",argname[arg[1].arg_type]);
-       yyerror(tokenbuf);
+        }
+        if (yychar == 0) goto yyaccept;
+        goto yyloop;
     }
-    arg[1].arg_type = A_LVAL;
-#ifdef DEBUGGING
-    if (debug & 16)
-       fprintf(stderr,"lval LVAL\n");
+    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);
 #endif
-    return arg;
-}
-
-ARG *
-addflags(i,flags,arg)
-register ARG *arg;
-{
-    arg[i].arg_flags |= flags;
-    return arg;
-}
-
-ARG *
-hide_ary(arg)
-ARG *arg;
-{
-    if (arg->arg_type == O_ARRAY)
-       return make_op(O_ITEM,1,arg,Nullarg,Nullarg,0);
-    return arg;
-}
-
-ARG *
-make_list(arg)
-register ARG *arg;
-{
-    register int i;
-    register ARG *node;
-    register ARG *nxtnode;
-    register int j;
-    STR *tmpstr;
-
-    if (!arg) {
-       arg = op_new(0);
-       arg->arg_type = O_LIST;
-    }
-    if (arg->arg_type != O_COMMA) {
-       arg->arg_flags |= AF_LISTISH;   /* see listish() below */
-       return arg;
-    }
-    for (i = 2, node = arg; ; i++) {
-       if (node->arg_len < 2)
-           break;
-        if (node[2].arg_type != A_EXPR)
-           break;
-       node = node[2].arg_ptr.arg_arg;
-       if (node->arg_type != O_COMMA)
-           break;
+    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 = Renew(yyvs, yystacksize, YYSTYPE);
+       ysave->yyss = Renew(yyss, yystacksize, short);
+       if (!yyvs || !yyss)
+        goto yyoverflow;
+       yyssp = yyss + yyps_index;
+       yyvsp = yyvs + yypv_index;
     }
-    if (i > 2) {
-       node = arg;
-       arg = op_new(i);
-       tmpstr = arg->arg_ptr.arg_str;
-       *arg = *node;           /* copy everything except the STR */
-       arg->arg_ptr.arg_str = tmpstr;
-       for (j = 1; ; ) {
-           arg[j++] = node[1];
-           if (j >= i) {
-               arg[j] = node[2];
-               free_arg(node);
-               break;
-           }
-           nxtnode = node[2].arg_ptr.arg_arg;
-           free_arg(node);
-           node = nxtnode;
-       }
-    }
-    arg->arg_type = O_LIST;
-    arg->arg_len = i;
-    return arg;
-}
-
-/* turn a single item into a list */
-
-ARG *
-listish(arg)
-ARG *arg;
-{
-    if (arg->arg_flags & AF_LISTISH)
-       arg = make_op(O_LIST,1,arg,Nullarg,Nullarg,0);
-    return arg;
-}
-
-ARG *
-stab_to_arg(atype,stab)
-int atype;
-register STAB *stab;
-{
-    register ARG *arg;
-
-    arg = op_new(1);
-    arg->arg_type = O_ITEM;
-    arg[1].arg_type = atype;
-    arg[1].arg_ptr.arg_stab = stab;
-    return arg;
-}
-
-ARG *
-cval_to_arg(cval)
-register char *cval;
-{
-    register ARG *arg;
-
-    arg = op_new(1);
-    arg->arg_type = O_ITEM;
-    arg[1].arg_type = A_SINGLE;
-    arg[1].arg_ptr.arg_str = str_make(cval);
-    safefree(cval);
-    return arg;
-}
-
-ARG *
-op_new(numargs)
-int numargs;
-{
-    register ARG *arg;
-
-    arg = (ARG*)safemalloc((numargs + 1) * sizeof (ARG));
-    bzero((char *)arg, (numargs + 1) * sizeof (ARG));
-    arg->arg_ptr.arg_str = str_new(0);
-    arg->arg_len = numargs;
-    return arg;
-}
-
-void
-free_arg(arg)
-ARG *arg;
-{
-    str_free(arg->arg_ptr.arg_str);
-    safefree((char*)arg);
-}
-
-ARG *
-make_match(type,expr,spat)
-int type;
-ARG *expr;
-SPAT *spat;
-{
-    register ARG *arg;
-
-    arg = make_op(type,2,expr,Nullarg,Nullarg,0);
-
-    arg[2].arg_type = A_SPAT;
-    arg[2].arg_ptr.arg_spat = spat;
-#ifdef DEBUGGING
-    if (debug & 16)
-       fprintf(stderr,"make_match SPAT=%lx\n",spat);
+    *++yyssp = yystate;
+    *++yyvsp = yyval;
+    goto yyloop;
+yyoverflow:
+    yyerror("Out of memory for yacc stack");
+yyabort:
+    retval = 1;
+yyaccept:
+#ifdef USE_ITHREADS
+    LEAVE;                     /* force yydestruct() before we return */
 #endif
-
-    if (type == O_SUBST || type == O_NSUBST) {
-       if (arg[1].arg_type != A_STAB)
-           yyerror("Illegal lvalue");
-       arg[1].arg_type = A_LVAL;
-    }
-    return arg;
-}
-
-ARG *
-cmd_to_arg(cmd)
-CMD *cmd;
-{
-    register ARG *arg;
-
-    arg = op_new(1);
-    arg->arg_type = O_ITEM;
-    arg[1].arg_type = A_CMD;
-    arg[1].arg_ptr.arg_cmd = cmd;
-    return arg;
+    return retval;
 }
 
-CMD *
-wopt(cmd)
-register CMD *cmd;
+static void
+yydestruct(pTHX_ void *ptr)
 {
-    register CMD *tail;
-    register ARG *arg = cmd->c_expr;
-    char *tmps;        /* used by True macro */
-
-    /* hoist "while (<channel>)" up into command block */
-
-    if (arg && arg->arg_type == O_ITEM && arg[1].arg_type == A_READ) {
-       cmd->c_flags &= ~CF_OPTIMIZE;   /* clear optimization type */
-       cmd->c_flags |= CFT_GETS;       /* and set it to do the input */
-       cmd->c_stab = arg[1].arg_ptr.arg_stab;
-       if (arg[1].arg_ptr.arg_stab->stab_io->flags & IOF_ARGV) {
-           cmd->c_expr = l(make_op(O_ASSIGN, 2,        /* fake up "$_ =" */
-              stab_to_arg(A_LVAL,defstab), arg, Nullarg,1 ));
-       }
-       else {
-           free_arg(arg);
-           cmd->c_expr = Nullarg;
-       }
-    }
-
-    /* First find the end of the true list */
-
-    if (cmd->ucmd.ccmd.cc_true == Nullcmd)
-       return cmd;
-    for (tail = cmd->ucmd.ccmd.cc_true; tail->c_next; tail = tail->c_next) ;
-
-    /* if there's a continue block, link it to true block and find end */
-
-    if (cmd->ucmd.ccmd.cc_alt != Nullcmd) {
-       tail->c_next = cmd->ucmd.ccmd.cc_alt;
-       for ( ; tail->c_next; tail = tail->c_next) ;
-    }
-
-    /* Here's the real trick: link the end of the list back to the beginning,
-     * inserting a "last" block to break out of the loop.  This saves one or
-     * two procedure calls every time through the loop, because of how cmd_exec
-     * does tail recursion.
-     */
-
-    tail->c_next = (CMD *) safemalloc(sizeof (CMD));
-    tail = tail->c_next;
-    if (!cmd->ucmd.ccmd.cc_alt)
-       cmd->ucmd.ccmd.cc_alt = tail;   /* every loop has a continue now */
-
-    bcopy((char *)cmd, (char *)tail, sizeof(CMD));
-    tail->c_type = C_EXPR;
-    tail->c_flags ^= CF_INVERT;                /* turn into "last unless" */
-    tail->c_next = tail->ucmd.ccmd.cc_true;    /* loop directly back to top */
-    tail->ucmd.acmd.ac_expr = make_op(O_LAST,0,Nullarg,Nullarg,Nullarg,0);
-    tail->ucmd.acmd.ac_stab = Nullstab;
-    return cmd;
-}
-
-FCMD *
-load_format()
-{
-    FCMD froot;
-    FCMD *flinebeg;
-    register FCMD *fprev = &froot;
-    register FCMD *fcmd;
-    register char *s;
-    register char *t;
-    register char tmpchar;
-    bool noblank;
-
-    while ((s = str_gets(linestr,rsfp)) != Nullch) {
-       line++;
-       if (strEQ(s,".\n")) {
-           bufptr = s;
-           return froot.f_next;
-       }
-       if (*s == '#')
-           continue;
-       flinebeg = Nullfcmd;
-       noblank = FALSE;
-       while (*s) {
-           fcmd = (FCMD *)safemalloc(sizeof (FCMD));
-           bzero((char*)fcmd, sizeof (FCMD));
-           fprev->f_next = fcmd;
-           fprev = fcmd;
-           for (t=s; *t && *t != '@' && *t != '^'; t++) {
-               if (*t == '~') {
-                   noblank = TRUE;
-                   *t = ' ';
-               }
-           }
-           tmpchar = *t;
-           *t = '\0';
-           fcmd->f_pre = savestr(s);
-           fcmd->f_presize = strlen(s);
-           *t = tmpchar;
-           s = t;
-           if (!*s) {
-               if (noblank)
-                   fcmd->f_flags |= FC_NOBLANK;
-               break;
-           }
-           if (!flinebeg)
-               flinebeg = fcmd;                /* start values here */
-           if (*s++ == '^')
-               fcmd->f_flags |= FC_CHOP;       /* for doing text filling */
-           switch (*s) {
-           case '*':
-               fcmd->f_type = F_LINES;
-               *s = '\0';
-               break;
-           case '<':
-               fcmd->f_type = F_LEFT;
-               while (*s == '<')
-                   s++;
-               break;
-           case '>':
-               fcmd->f_type = F_RIGHT;
-               while (*s == '>')
-                   s++;
-               break;
-           case '|':
-               fcmd->f_type = F_CENTER;
-               while (*s == '|')
-                   s++;
-               break;
-           default:
-               fcmd->f_type = F_LEFT;
-               break;
-           }
-           if (fcmd->f_flags & FC_CHOP && *s == '.') {
-               fcmd->f_flags |= FC_MORE;
-               while (*s == '.')
-                   s++;
-           }
-           fcmd->f_size = s-t;
-       }
-       if (flinebeg) {
-         again:
-           if ((bufptr = str_gets(linestr ,rsfp)) == Nullch)
-               goto badform;
-           line++;
-           if (strEQ(bufptr,".\n")) {
-               yyerror("Missing values line");
-               return froot.f_next;
-           }
-           if (*bufptr == '#')
-               goto again;
-           lex_newlines = TRUE;
-           while (flinebeg || *bufptr) {
-               switch(yylex()) {
-               default:
-                   yyerror("Bad value in format");
-                   *bufptr = '\0';
-                   break;
-               case '\n':
-                   if (flinebeg)
-                       yyerror("Missing value in format");
-                   *bufptr = '\0';
-                   break;
-               case REG:
-                   yylval.arg = stab_to_arg(A_LVAL,yylval.stabval);
-                   /* FALL THROUGH */
-               case RSTRING:
-                   if (!flinebeg)
-                       yyerror("Extra value in format");
-                   else {
-                       flinebeg->f_expr = yylval.arg;
-                       do {
-                           flinebeg = flinebeg->f_next;
-                       } while (flinebeg && flinebeg->f_size == 0);
-                   }
-                   break;
-               case ',': case ';':
-                   continue;
-               }
-           }
-           lex_newlines = FALSE;
-       }
-    }
-  badform:
-    bufptr = str_get(linestr);
-    yyerror("Format not terminated");
-    return froot.f_next;
+    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);
 }