/* -*- buffer-read-only: t -*- !!!!!!! DO NOT EDIT THIS FILE !!!!!!! This file is built by regen_perly.pl from perly.y. Any changes made here will be lost! */ case 2: #line 161 "perly.y" { parser->expect = XSTATE; (yyval.ival) = 0; } break; case 3: #line 166 "perly.y" { newPROG(block_end((ps[-1].val.ival),(ps[0].val.opval))); PL_compiling.cop_seq = 0; (yyval.ival) = 0; } break; case 4: #line 172 "perly.y" { parser->expect = XTERM; (yyval.ival) = 0; } break; case 5: #line 177 "perly.y" { PL_eval_root = (ps[0].val.opval); (yyval.ival) = 0; } break; case 6: #line 182 "perly.y" { parser->expect = XBLOCK; (yyval.ival) = 0; } break; case 7: #line 187 "perly.y" { PL_pad_reset_pending = TRUE; PL_eval_root = (ps[0].val.opval); (yyval.ival) = 0; yyunlex(); parser->yychar = yytoken = YYEOF; } break; case 8: #line 195 "perly.y" { parser->expect = XSTATE; (yyval.ival) = 0; } break; case 9: #line 200 "perly.y" { PL_pad_reset_pending = TRUE; PL_eval_root = (ps[0].val.opval); (yyval.ival) = 0; yyunlex(); parser->yychar = yytoken = YYEOF; } break; case 10: #line 208 "perly.y" { parser->expect = XSTATE; (yyval.ival) = 0; } break; case 11: #line 213 "perly.y" { PL_pad_reset_pending = TRUE; PL_eval_root = (ps[0].val.opval); (yyval.ival) = 0; yyunlex(); parser->yychar = yytoken = YYEOF; } break; case 12: #line 221 "perly.y" { parser->expect = XSTATE; (yyval.ival) = 0; } break; case 13: #line 226 "perly.y" { PL_eval_root = (ps[0].val.opval); (yyval.ival) = 0; } break; case 14: #line 231 "perly.y" { parser->expect = XSTATE; (yyval.ival) = 0; } break; case 15: #line 236 "perly.y" { PL_eval_root = (ps[0].val.opval); (yyval.ival) = 0; } break; case 16: #line 245 "perly.y" { (yyval.ival) = KW_SUB_named_sig; } break; case 17: #line 247 "perly.y" { (yyval.ival) = KW_METHOD_named; } break; case 18: #line 252 "perly.y" { if (parser->copline > (line_t)(ps[-3].val.ival)) parser->copline = (line_t)(ps[-3].val.ival); (yyval.opval) = block_end((ps[-2].val.ival), (ps[-1].val.opval)); } break; case 19: #line 259 "perly.y" { (yyval.opval) = NULL; } break; case 20: #line 264 "perly.y" { if (parser->copline > (line_t)(ps[-6].val.ival)) parser->copline = (line_t)(ps[-6].val.ival); (yyval.opval) = block_end((ps[-5].val.ival), (ps[-2].val.opval)); } break; case 21: #line 271 "perly.y" { (yyval.ival) = block_start(TRUE); parser->parsed_sub = 0; } break; case 22: #line 276 "perly.y" { if (parser->copline > (line_t)(ps[-3].val.ival)) parser->copline = (line_t)(ps[-3].val.ival); (yyval.opval) = block_end((ps[-2].val.ival), (ps[-1].val.opval)); } break; case 23: #line 283 "perly.y" { (yyval.ival) = block_start(FALSE); parser->parsed_sub = 0; } break; case 25: #line 292 "perly.y" { parser->in_my = 1; } break; case 26: #line 294 "perly.y" { parser->in_my = 0; intro_my(); } break; case 27: #line 296 "perly.y" { (yyval.opval) = (ps[-2].val.opval); } break; case 29: #line 303 "perly.y" { (yyval.opval) = op_append_list(OP_LINESEQ, (ps[-1].val.opval), (ps[0].val.opval)); PL_pad_reset_pending = TRUE; if ((ps[-1].val.opval) && (ps[0].val.opval)) PL_hints |= HINT_BLOCK_SCOPE; } break; case 31: #line 314 "perly.y" { (yyval.opval) = op_append_list(OP_LINESEQ, (ps[-1].val.opval), (ps[0].val.opval)); PL_pad_reset_pending = TRUE; if ((ps[-1].val.opval) && (ps[0].val.opval)) PL_hints |= HINT_BLOCK_SCOPE; } break; case 32: #line 323 "perly.y" { (yyval.opval) = (ps[0].val.opval) ? newSTATEOP(0, NULL, (ps[0].val.opval)) : NULL; } break; case 33: #line 327 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 34: #line 331 "perly.y" { SV *label = cSVOPx_sv((ps[-1].val.opval)); (yyval.opval) = newSTATEOP(SvFLAGS(label) & SVf_UTF8, savepv(SvPVX_const(label)), (ps[0].val.opval)); op_free((ps[-1].val.opval)); } break; case 35: #line 338 "perly.y" { SV *label = cSVOPx_sv((ps[-1].val.opval)); (yyval.opval) = newSTATEOP(SvFLAGS(label) & SVf_UTF8, savepv(SvPVX_const(label)), (ps[0].val.opval)); op_free((ps[-1].val.opval)); } break; case 36: #line 348 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 37: #line 350 "perly.y" { CV *fmtcv = PL_compcv; newFORM((ps[-2].val.ival), (ps[-1].val.opval), (ps[0].val.opval)); (yyval.opval) = NULL; if (CvOUTSIDE(fmtcv) && !CvEVAL(CvOUTSIDE(fmtcv))) { pad_add_weakref(fmtcv); } parser->parsed_sub = 1; } break; case 38: #line 362 "perly.y" { init_named_cv(PL_compcv, (ps[-1].val.opval)); parser->in_my = 0; parser->in_my_stash = NULL; } break; case 39: #line 368 "perly.y" { SvREFCNT_inc_simple_void(PL_compcv); (ps[-5].val.opval)->op_type == OP_CONST ? newATTRSUB((ps[-4].val.ival), (ps[-5].val.opval), (ps[-2].val.opval), (ps[-1].val.opval), (ps[0].val.opval)) : newMYSUB((ps[-4].val.ival), (ps[-5].val.opval), (ps[-2].val.opval), (ps[-1].val.opval), (ps[0].val.opval)) ; (yyval.opval) = NULL; intro_my(); parser->parsed_sub = 1; } break; case 40: #line 383 "perly.y" { init_named_cv(PL_compcv, (ps[-1].val.opval)); if((ps[-2].val.ival) == KW_METHOD_named) { croak_kw_unless_class("method"); class_prepare_method_parse(PL_compcv); } parser->in_my = 0; parser->in_my_stash = NULL; } break; case 41: #line 393 "perly.y" { OP *body = (ps[0].val.opval); SvREFCNT_inc_simple_void(PL_compcv); if((ps[-5].val.ival) == KW_METHOD_named) { body = class_wrap_method_body(body); } (ps[-4].val.opval)->op_type == OP_CONST ? newATTRSUB((ps[-3].val.ival), (ps[-4].val.opval), NULL, (ps[-1].val.opval), body) : newMYSUB( (ps[-3].val.ival), (ps[-4].val.opval), NULL, (ps[-1].val.opval), body) ; (yyval.opval) = NULL; intro_my(); parser->parsed_sub = 1; } break; case 42: #line 409 "perly.y" { switch((ps[-1].val.ival)) { case KEY_ADJUST: croak_kw_unless_class("ADJUST"); class_prepare_method_parse(PL_compcv); break; default: NOT_REACHED; } } break; case 43: #line 420 "perly.y" { OP *body = (ps[0].val.opval); SvREFCNT_inc_simple_void(PL_compcv); CV *cv; switch((ps[-3].val.ival)) { case KEY_ADJUST: body = class_wrap_method_body(body); cv = newATTRSUB((ps[-2].val.ival), NULL, NULL, NULL, body); class_add_ADJUST(PL_curstash, cv); break; } (yyval.opval) = NULL; } break; case 44: #line 440 "perly.y" { package((ps[-1].val.opval)); if ((ps[-2].val.opval)) package_version((ps[-2].val.opval)); (yyval.opval) = NULL; } break; case 45: #line 447 "perly.y" { package((ps[-1].val.opval)); if ((ps[-2].val.opval)) package_version((ps[-2].val.opval)); (yyval.opval) = NULL; class_setup_stash(PL_curstash); } break; case 46: #line 455 "perly.y" { CvSPECIAL_on(PL_compcv); /* It's a BEGIN {} */ } break; case 47: #line 459 "perly.y" { SvREFCNT_inc_simple_void(PL_compcv); utilize((ps[-6].val.ival), (ps[-5].val.ival), (ps[-3].val.opval), (ps[-2].val.opval), (ps[-1].val.opval)); parser->parsed_sub = 1; (yyval.opval) = NULL; } break; case 48: #line 466 "perly.y" { (yyval.opval) = block_end((ps[-4].val.ival), newCONDOP(0, (ps[-3].val.opval), op_scope((ps[-1].val.opval)), (ps[0].val.opval))); parser->copline = (line_t)(ps[-6].val.ival); } break; case 49: #line 472 "perly.y" { (yyval.opval) = block_end((ps[-4].val.ival), newCONDOP(0, (ps[-3].val.opval), (ps[0].val.opval), op_scope((ps[-1].val.opval)))); parser->copline = (line_t)(ps[-6].val.ival); } break; case 50: #line 478 "perly.y" { (yyval.opval) = block_end((ps[-3].val.ival), newGIVENOP((ps[-2].val.opval), op_scope((ps[0].val.opval)), 0)); parser->copline = (line_t)(ps[-5].val.ival); } break; case 51: #line 483 "perly.y" { (yyval.opval) = block_end((ps[-3].val.ival), newWHENOP((ps[-2].val.opval), op_scope((ps[0].val.opval)))); } break; case 52: #line 485 "perly.y" { (yyval.opval) = newWHENOP(0, op_scope((ps[0].val.opval))); } break; case 53: #line 487 "perly.y" { (yyval.opval) = block_end((ps[-5].val.ival), newWHILEOP(0, 1, NULL, (ps[-4].val.opval), (ps[-1].val.opval), (ps[0].val.opval), (ps[-2].val.ival))); parser->copline = (line_t)(ps[-7].val.ival); } break; case 54: #line 494 "perly.y" { (yyval.opval) = block_end((ps[-5].val.ival), newWHILEOP(0, 1, NULL, (ps[-4].val.opval), (ps[-1].val.opval), (ps[0].val.opval), (ps[-2].val.ival))); parser->copline = (line_t)(ps[-7].val.ival); } break; case 55: #line 501 "perly.y" { parser->expect = XTERM; } break; case 56: #line 503 "perly.y" { parser->expect = XTERM; } break; case 57: #line 506 "perly.y" { OP *initop = (ps[-9].val.opval); OP *forop = newWHILEOP(0, 1, NULL, scalar((ps[-6].val.opval)), (ps[0].val.opval), (ps[-2].val.opval), (ps[-3].val.ival)); if (initop) { forop = op_prepend_elem(OP_LINESEQ, initop, op_append_elem(OP_LINESEQ, newOP(OP_UNSTACK, OPf_SPECIAL), forop)); } PL_hints |= HINT_BLOCK_SCOPE; (yyval.opval) = block_end((ps[-10].val.ival), forop); parser->copline = (line_t)(ps[-12].val.ival); } break; case 58: #line 521 "perly.y" { (yyval.opval) = block_end((ps[-6].val.ival), newFOROP(0, (ps[-5].val.opval), (ps[-3].val.opval), (ps[-1].val.opval), (ps[0].val.opval))); parser->copline = (line_t)(ps[-8].val.ival); } break; case 59: #line 526 "perly.y" { if ((ps[-6].val.opval)->op_type == OP_PADSV) /* degenerate case of 1 var: for my ($x) .... Flag it so it can be special-cased in newFOROP */ (ps[-6].val.opval)->op_flags |= OPf_PARENS; (yyval.opval) = block_end((ps[-8].val.ival), newFOROP(0, (ps[-6].val.opval), (ps[-3].val.opval), (ps[-1].val.opval), (ps[0].val.opval))); parser->copline = (line_t)(ps[-10].val.ival); } break; case 60: #line 535 "perly.y" { (yyval.opval) = block_end((ps[-4].val.ival), newFOROP(0, op_lvalue((ps[-6].val.opval), OP_ENTERLOOP), (ps[-3].val.opval), (ps[-1].val.opval), (ps[0].val.opval))); parser->copline = (line_t)(ps[-7].val.ival); } break; case 61: #line 541 "perly.y" { parser->in_my = 0; (yyval.opval) = my((ps[0].val.opval)); } break; case 62: #line 543 "perly.y" { (yyval.opval) = block_end( (ps[-7].val.ival), newFOROP(0, op_lvalue( newUNOP(OP_REFGEN, 0, (ps[-5].val.opval)), OP_ENTERLOOP), (ps[-3].val.opval), (ps[-1].val.opval), (ps[0].val.opval)) ); parser->copline = (line_t)(ps[-9].val.ival); } break; case 63: #line 556 "perly.y" { (yyval.opval) = block_end((ps[-4].val.ival), newFOROP( 0, op_lvalue(newUNOP(OP_REFGEN, 0, (ps[-6].val.opval)), OP_ENTERLOOP), (ps[-3].val.opval), (ps[-1].val.opval), (ps[0].val.opval))); parser->copline = (line_t)(ps[-8].val.ival); } break; case 64: #line 564 "perly.y" { (yyval.opval) = block_end((ps[-4].val.ival), newFOROP(0, NULL, (ps[-3].val.opval), (ps[-1].val.opval), (ps[0].val.opval))); parser->copline = (line_t)(ps[-6].val.ival); } break; case 65: #line 570 "perly.y" { if(!(ps[0].val.opval)) { yyerror("catch block requires a (VAR)"); YYERROR; } } break; case 66: #line 577 "perly.y" { (yyval.opval) = newTRYCATCHOP(0, (ps[-6].val.opval), (ps[-3].val.opval), block_end((ps[-4].val.ival), op_scope((ps[-1].val.opval)))); if((ps[0].val.opval)) (yyval.opval) = op_wrap_finally((yyval.opval), (ps[0].val.opval)); parser->copline = (line_t)(ps[-7].val.ival); } break; case 67: #line 585 "perly.y" { /* a block is a loop that happens once */ (yyval.opval) = newWHILEOP(0, 1, NULL, NULL, (ps[-1].val.opval), (ps[0].val.opval), 0); } break; case 68: #line 591 "perly.y" { package((ps[-2].val.opval)); if ((ps[-3].val.opval)) { package_version((ps[-3].val.opval)); } } break; case 69: #line 598 "perly.y" { /* a block is a loop that happens once */ (yyval.opval) = newWHILEOP(0, 1, NULL, NULL, block_end((ps[-3].val.ival), (ps[-1].val.opval)), NULL, 0); if (parser->copline > (line_t)(ps[-4].val.ival)) parser->copline = (line_t)(ps[-4].val.ival); } break; case 70: #line 606 "perly.y" { package((ps[-3].val.opval)); if ((ps[-4].val.opval)) { package_version((ps[-4].val.opval)); } class_setup_stash(PL_curstash); if ((ps[-2].val.opval)) { class_apply_attributes(PL_curstash, (ps[-2].val.opval)); } } break; case 71: #line 618 "perly.y" { /* a block is a loop that happens once */ (yyval.opval) = newWHILEOP(0, 1, NULL, NULL, block_end((ps[-3].val.ival), (ps[-1].val.opval)), NULL, 0); if (parser->copline > (line_t)(ps[-4].val.ival)) parser->copline = (line_t)(ps[-4].val.ival); } break; case 72: #line 626 "perly.y" { (yyval.opval) = (ps[-1].val.opval); } break; case 73: #line 630 "perly.y" { (yyval.opval) = (ps[-1].val.opval); } break; case 74: #line 634 "perly.y" { (yyval.opval) = newDEFEROP(0, op_scope((ps[0].val.opval))); } break; case 75: #line 638 "perly.y" { /* diag_listed_as: Unimplemented */ (yyval.opval) = newLISTOP(OP_DIE, 0, newOP(OP_PUSHMARK, 0), newSVOP(OP_CONST, 0, newSVpvs("Unimplemented"))); } break; case 76: #line 644 "perly.y" { (yyval.opval) = NULL; parser->copline = NOLINE; } break; case 77: #line 652 "perly.y" { OP *list; if ((ps[0].val.opval)) { OP *term = (ps[0].val.opval); list = op_append_elem(OP_LIST, (ps[-1].val.opval), term); } else { list = (ps[-1].val.opval); } if (parser->copline == NOLINE) parser->copline = CopLINE(PL_curcop)-1; else parser->copline--; (yyval.opval) = newSTATEOP(0, NULL, op_convert_list(OP_FORMLINE, 0, list)); } break; case 79: #line 671 "perly.y" { (yyval.opval) = op_unscope((ps[-1].val.opval)); } break; case 81: #line 679 "perly.y" { (yyval.opval) = NULL; } break; case 82: #line 681 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 83: #line 683 "perly.y" { (yyval.opval) = newLOGOP(OP_AND, 0, (ps[0].val.opval), (ps[-2].val.opval)); } break; case 84: #line 685 "perly.y" { (yyval.opval) = newLOGOP(OP_OR, 0, (ps[0].val.opval), (ps[-2].val.opval)); } break; case 85: #line 687 "perly.y" { (yyval.opval) = newLOOPOP(OPf_PARENS, 1, scalar((ps[0].val.opval)), (ps[-2].val.opval)); } break; case 86: #line 689 "perly.y" { (yyval.opval) = newLOOPOP(OPf_PARENS, 1, (ps[0].val.opval), (ps[-2].val.opval)); } break; case 87: #line 691 "perly.y" { (yyval.opval) = newFOROP(0, NULL, (ps[0].val.opval), (ps[-2].val.opval), NULL); parser->copline = (line_t)(ps[-1].val.ival); } break; case 88: #line 694 "perly.y" { (yyval.opval) = newWHENOP((ps[0].val.opval), op_scope((ps[-2].val.opval))); } break; case 90: #line 701 "perly.y" { ((ps[0].val.opval))->op_flags |= OPf_PARENS; (yyval.opval) = op_scope((ps[0].val.opval)); } break; case 91: #line 706 "perly.y" { parser->copline = (line_t)(ps[-5].val.ival); (yyval.opval) = newCONDOP(0, newSTATEOP(OPf_SPECIAL,NULL,(ps[-3].val.opval)), op_scope((ps[-1].val.opval)), (ps[0].val.opval)); PL_hints |= HINT_BLOCK_SCOPE; } break; case 93: #line 718 "perly.y" { (yyval.opval) = op_scope((ps[0].val.opval)); } break; case 94: #line 723 "perly.y" { (yyval.opval) = NULL; } break; case 95: #line 725 "perly.y" { (yyval.opval) = op_scope((ps[0].val.opval)); } break; case 96: #line 730 "perly.y" { (yyval.ival) = (PL_min_intro_pending && PL_max_intro_pending >= PL_min_intro_pending); intro_my(); } break; case 99: #line 742 "perly.y" { YYSTYPE tmplval; (void)scan_num("1", &tmplval); (yyval.opval) = tmplval.opval; } break; case 101: #line 750 "perly.y" { (yyval.opval) = invert(scalar((ps[0].val.opval))); } break; case 102: #line 755 "perly.y" { (yyval.opval) = (ps[0].val.opval); intro_my(); } break; case 103: #line 759 "perly.y" { (yyval.opval) = (ps[0].val.opval); intro_my(); } break; case 104: #line 762 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 106: #line 767 "perly.y" { (yyval.ival) = start_subparse(FALSE, 0); SAVEFREESV(PL_compcv); } break; case 107: #line 773 "perly.y" { (yyval.ival) = start_subparse(FALSE, CVf_ANON); SAVEFREESV(PL_compcv); } break; case 108: #line 778 "perly.y" { (yyval.ival) = start_subparse(TRUE, 0); SAVEFREESV(PL_compcv); } break; case 114: #line 797 "perly.y" { OP *attrlist = (ps[0].val.opval); if(attrlist && !PL_parser->sig_seen) attrlist = apply_builtin_cv_attributes(PL_compcv, attrlist); (yyval.opval) = attrlist; } break; case 115: #line 804 "perly.y" { (yyval.opval) = NULL; } break; case 116: #line 809 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 117: #line 811 "perly.y" { (yyval.opval) = NULL; } break; case 118: #line 822 "perly.y" { parser->in_my = 0; (yyval.opval) = NULL; } break; case 119: #line 824 "perly.y" { parser->in_my = 0; (yyval.opval) = (ps[0].val.opval); } break; case 120: #line 829 "perly.y" { (yyval.ival) = '@'; } break; case 121: #line 831 "perly.y" { (yyval.ival) = '%'; } break; case 122: #line 835 "perly.y" { I32 sigil = (ps[-2].val.ival); OP *var = (ps[-1].val.opval); OP *defop = (ps[0].val.opval); if (parser->sig_slurpy) yyerror("Multiple slurpy parameters not allowed"); parser->sig_slurpy = (char)sigil; if (defop) yyerror("A slurpy parameter may not have " "a default value"); (yyval.opval) = var ? newSTATEOP(0, NULL, var) : NULL; } break; case 124: #line 856 "perly.y" { (yyval.opval) = newARGDEFELEMOP(0, newOP(OP_NULL, 0), parser->sig_elems); } break; case 125: #line 858 "perly.y" { I32 flags = 0; if ((ps[-1].val.ival) == OP_DORASSIGN) flags |= OPpARG_IF_UNDEF << 8; if ((ps[-1].val.ival) == OP_ORASSIGN) flags |= OPpARG_IF_FALSE << 8; (yyval.opval) = newARGDEFELEMOP(flags, (ps[0].val.opval), parser->sig_elems); } break; case 126: #line 871 "perly.y" { OP *var = (ps[-1].val.opval); OP *defop = (ps[0].val.opval); if (parser->sig_slurpy) yyerror("Slurpy parameter not last"); parser->sig_elems++; if (defop) { parser->sig_optelems++; OP *defexpr = cLOGOPx(defop)->op_first; if ( defexpr->op_type == OP_NULL && !(defexpr->op_flags & OPf_KIDS)) { /* handle '$=' special case */ if (var) yyerror("Optional parameter " "lacks default expression"); op_free(defop); } else { /* a normal '=default' expression */ if (var) { var->op_flags |= OPf_STACKED; (void)op_sibling_splice(var, NULL, 0, defop); scalar(defop); } else var = newUNOP(OP_NULL, 0, defop); LINKLIST(var); /* NB: normally the first child of a * logop is executed before the logop, * and it pushes a boolean result * ready for the logop. For ARGDEFELEM, * the op itself does the boolean * calculation, so set the first op to * it instead. */ var->op_next = defop; defexpr->op_next = var; } } else { if (parser->sig_optelems) yyerror("Mandatory parameter " "follows optional parameter"); } (yyval.opval) = var ? newSTATEOP(0, NULL, var) : NULL; } break; case 127: #line 931 "perly.y" { parser->in_my = KEY_sigvar; (yyval.opval) = (ps[0].val.opval); } break; case 128: #line 933 "perly.y" { parser->in_my = KEY_sigvar; (yyval.opval) = (ps[0].val.opval); } break; case 129: #line 939 "perly.y" { (yyval.opval) = (ps[-1].val.opval); } break; case 130: #line 941 "perly.y" { (yyval.opval) = op_append_list(OP_LINESEQ, (ps[-2].val.opval), (ps[0].val.opval)); } break; case 131: #line 945 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 136: #line 962 "perly.y" { (yyval.opval) = (ps[-1].val.opval); } break; case 137: #line 965 "perly.y" { ENTER; SAVEIV(parser->sig_elems); SAVEIV(parser->sig_optelems); SAVEI8(parser->sig_slurpy); parser->sig_elems = 0; parser->sig_optelems = 0; parser->sig_slurpy = 0; parser->in_my = KEY_sigvar; } break; case 138: #line 976 "perly.y" { OP *sigops = (ps[0].val.opval); struct op_argcheck_aux *aux; OP *check; if (!FEATURE_SIGNATURES_IS_ENABLED && !CvIsMETHOD(PL_compcv)) Perl_croak(aTHX_ "Experimental " "subroutine signatures not enabled"); /* We shouldn't get here otherwise */ aux = (struct op_argcheck_aux*) PerlMemShared_malloc( sizeof(struct op_argcheck_aux)); aux->params = parser->sig_elems; aux->opt_params = parser->sig_optelems; aux->slurpy = parser->sig_slurpy; check = newUNOP_AUX(OP_ARGCHECK, 0, NULL, (UNOP_AUX_item *)aux); sigops = op_prepend_elem(OP_LINESEQ, check, sigops); sigops = op_prepend_elem(OP_LINESEQ, newSTATEOP(0, NULL, NULL), sigops); /* a nextstate at the end handles context * correctly for an empty sub body */ sigops = op_append_elem(OP_LINESEQ, sigops, newSTATEOP(0, NULL, NULL)); /* wrap the list of arg ops in a NULL aux op. This serves two purposes. First, it makes the arg list a separate subtree from the body of the sub, and secondly the null op may in future be upgraded to an OP_SIGNATURE when implemented. For now leave it as ex-argcheck */ (yyval.opval) = newUNOP_AUX(OP_ARGCHECK, 0, sigops, NULL); op_null((yyval.opval)); CvSIGNATURE_on(PL_compcv); parser->in_my = 0; /* tell the toker that attrributes can follow * this sig, but only so that the toker * can skip through any (illegal) trailing * attribute text then give a useful error * message about "attributes before sig", * rather than falling over ina mess at * unrecognised syntax. */ parser->expect = XATTRBLOCK; parser->sig_seen = TRUE; LEAVE; } break; case 140: #line 1033 "perly.y" { (yyval.opval) = NULL; } break; case 141: #line 1039 "perly.y" { if (parser->copline > (line_t)(ps[-2].val.ival)) parser->copline = (line_t)(ps[-2].val.ival); (yyval.opval) = block_end((ps[-3].val.ival), (ps[-1].val.opval)); } break; case 143: #line 1051 "perly.y" { (yyval.opval) = NULL; } break; case 144: #line 1056 "perly.y" { if (parser->copline > (line_t)(ps[-2].val.ival)) parser->copline = (line_t)(ps[-2].val.ival); (yyval.opval) = block_end((ps[-4].val.ival), op_append_list(OP_LINESEQ, (ps[-3].val.opval), (ps[-1].val.opval))); } break; case 145: #line 1067 "perly.y" { (yyval.opval) = newLOGOP(OP_AND, 0, (ps[-2].val.opval), (ps[0].val.opval)); } break; case 146: #line 1069 "perly.y" { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); } break; case 147: #line 1071 "perly.y" { (yyval.opval) = newLOGOP((ps[-1].val.ival), 0, (ps[-2].val.opval), (ps[0].val.opval)); } break; case 148: #line 1073 "perly.y" { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); } break; case 150: #line 1079 "perly.y" { (yyval.opval) = (ps[-1].val.opval); } break; case 151: #line 1081 "perly.y" { OP* term = (ps[0].val.opval); (yyval.opval) = op_append_elem(OP_LIST, (ps[-2].val.opval), term); } break; case 153: #line 1090 "perly.y" { (yyval.opval) = op_convert_list((ps[-2].val.ival), OPf_STACKED, op_prepend_elem(OP_LIST, newGVREF((ps[-2].val.ival),(ps[-1].val.opval)), (ps[0].val.opval)) ); } break; case 154: #line 1094 "perly.y" { (yyval.opval) = op_convert_list((ps[-4].val.ival), OPf_STACKED, op_prepend_elem(OP_LIST, newGVREF((ps[-4].val.ival),(ps[-2].val.opval)), (ps[-1].val.opval)) ); } break; case 155: #line 1098 "perly.y" { (yyval.opval) = op_convert_list(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, op_prepend_elem(OP_LIST, scalar((ps[-5].val.opval)), (ps[-1].val.opval)), newMETHOP(OP_METHOD, 0, (ps[-3].val.opval)))); } break; case 156: #line 1104 "perly.y" { (yyval.opval) = op_convert_list(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, scalar((ps[-2].val.opval)), newMETHOP(OP_METHOD, 0, (ps[0].val.opval)))); } break; case 157: #line 1109 "perly.y" { (yyval.opval) = op_convert_list(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, op_prepend_elem(OP_LIST, (ps[-1].val.opval), (ps[0].val.opval)), newMETHOP(OP_METHOD, 0, (ps[-2].val.opval)))); } break; case 158: #line 1115 "perly.y" { (yyval.opval) = op_convert_list(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, op_prepend_elem(OP_LIST, (ps[-3].val.opval), (ps[-1].val.opval)), newMETHOP(OP_METHOD, 0, (ps[-4].val.opval)))); } break; case 159: #line 1121 "perly.y" { (yyval.opval) = op_convert_list((ps[-1].val.ival), 0, (ps[0].val.opval)); } break; case 160: #line 1123 "perly.y" { (yyval.opval) = op_convert_list((ps[-3].val.ival), 0, (ps[-1].val.opval)); } break; case 161: #line 1125 "perly.y" { (yyval.opval) = op_convert_list((ps[-3].val.ival), 0, (ps[-1].val.opval)); } break; case 162: #line 1127 "perly.y" { SvREFCNT_inc_simple_void(PL_compcv); (yyval.opval) = newANONATTRSUB((ps[-1].val.ival), 0, NULL, (ps[0].val.opval)); } break; case 163: #line 1130 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, op_prepend_elem(OP_LIST, (ps[-1].val.opval), (ps[0].val.opval)), (ps[-4].val.opval))); } break; case 166: #line 1145 "perly.y" { (yyval.opval) = newBINOP(OP_GELEM, 0, (ps[-4].val.opval), scalar((ps[-2].val.opval))); } break; case 167: #line 1147 "perly.y" { (yyval.opval) = newBINOP(OP_AELEM, 0, oopsAV((ps[-3].val.opval)), scalar((ps[-1].val.opval))); } break; case 168: #line 1150 "perly.y" { (yyval.opval) = newBINOP(OP_AELEM, 0, ref(newAVREF((ps[-4].val.opval)),OP_RV2AV), scalar((ps[-1].val.opval))); } break; case 169: #line 1155 "perly.y" { (yyval.opval) = newBINOP(OP_AELEM, 0, ref(newAVREF((ps[-3].val.opval)),OP_RV2AV), scalar((ps[-1].val.opval))); } break; case 170: #line 1160 "perly.y" { (yyval.opval) = newBINOP(OP_HELEM, 0, oopsHV((ps[-4].val.opval)), jmaybe((ps[-2].val.opval))); } break; case 171: #line 1163 "perly.y" { (yyval.opval) = newBINOP(OP_HELEM, 0, ref(newHVREF((ps[-5].val.opval)),OP_RV2HV), jmaybe((ps[-2].val.opval))); } break; case 172: #line 1167 "perly.y" { (yyval.opval) = newBINOP(OP_HELEM, 0, ref(newHVREF((ps[-4].val.opval)),OP_RV2HV), jmaybe((ps[-2].val.opval))); } break; case 173: #line 1171 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, newCVREF(0, scalar((ps[-3].val.opval)))); if (parser->expect == XBLOCK) parser->expect = XOPERATOR; } break; case 174: #line 1177 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, (ps[-1].val.opval), newCVREF(0, scalar((ps[-4].val.opval))))); if (parser->expect == XBLOCK) parser->expect = XOPERATOR; } break; case 175: #line 1185 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, (ps[-1].val.opval), newCVREF(0, scalar((ps[-3].val.opval))))); if (parser->expect == XBLOCK) parser->expect = XOPERATOR; } break; case 176: #line 1192 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, newCVREF(0, scalar((ps[-2].val.opval)))); if (parser->expect == XBLOCK) parser->expect = XOPERATOR; } break; case 177: #line 1198 "perly.y" { (yyval.opval) = newSLICEOP(0, (ps[-1].val.opval), (ps[-4].val.opval)); } break; case 178: #line 1200 "perly.y" { (yyval.opval) = newSLICEOP(0, (ps[-1].val.opval), (ps[-3].val.opval)); } break; case 179: #line 1202 "perly.y" { (yyval.opval) = newSLICEOP(0, (ps[-1].val.opval), NULL); } break; case 180: #line 1207 "perly.y" { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); } break; case 181: #line 1209 "perly.y" { (yyval.opval) = newASSIGNOP(OPf_STACKED, (ps[-2].val.opval), (ps[-1].val.ival), (ps[0].val.opval)); } break; case 182: #line 1211 "perly.y" { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); } break; case 183: #line 1213 "perly.y" { (yyval.opval) = newBINOP((ps[-1].val.ival), 0, scalar((ps[-2].val.opval)), scalar((ps[0].val.opval))); } break; case 184: #line 1215 "perly.y" { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); } break; case 185: #line 1217 "perly.y" { if ((ps[-1].val.ival) != OP_REPEAT) scalar((ps[-2].val.opval)); (yyval.opval) = newBINOP((ps[-1].val.ival), 0, (ps[-2].val.opval), scalar((ps[0].val.opval))); } break; case 186: #line 1222 "perly.y" { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); } break; case 187: #line 1224 "perly.y" { (yyval.opval) = newBINOP((ps[-1].val.ival), 0, scalar((ps[-2].val.opval)), scalar((ps[0].val.opval))); } break; case 188: #line 1226 "perly.y" { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); } break; case 189: #line 1228 "perly.y" { (yyval.opval) = newBINOP((ps[-1].val.ival), 0, scalar((ps[-2].val.opval)), scalar((ps[0].val.opval))); } break; case 190: #line 1230 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 191: #line 1232 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 192: #line 1234 "perly.y" { (yyval.opval) = newBINOP((ps[-1].val.ival), 0, scalar((ps[-2].val.opval)), scalar((ps[0].val.opval))); } break; case 193: #line 1236 "perly.y" { (yyval.opval) = newBINOP((ps[-1].val.ival), 0, scalar((ps[-2].val.opval)), scalar((ps[0].val.opval))); } break; case 194: #line 1238 "perly.y" { (yyval.opval) = newRANGE((ps[-1].val.ival), scalar((ps[-2].val.opval)), scalar((ps[0].val.opval))); } break; case 195: #line 1240 "perly.y" { (yyval.opval) = newLOGOP(OP_AND, 0, (ps[-2].val.opval), (ps[0].val.opval)); } break; case 196: #line 1242 "perly.y" { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); } break; case 197: #line 1244 "perly.y" { (yyval.opval) = newLOGOP(OP_OR, 0, (ps[-2].val.opval), (ps[0].val.opval)); } break; case 198: #line 1246 "perly.y" { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); } break; case 199: #line 1248 "perly.y" { (yyval.opval) = newLOGOP(OP_DOR, 0, (ps[-2].val.opval), (ps[0].val.opval)); } break; case 200: #line 1250 "perly.y" { (yyval.opval) = bind_match((ps[-1].val.ival), (ps[-2].val.opval), (ps[0].val.opval)); } break; case 201: #line 1252 "perly.y" { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); } break; case 202: #line 1256 "perly.y" { (yyval.opval) = cmpchain_finish((ps[0].val.opval)); } break; case 203: #line 1258 "perly.y" { (yyval.opval) = newBINOP((ps[-1].val.ival), 0, scalar((ps[-2].val.opval)), scalar((ps[0].val.opval))); } break; case 204: #line 1260 "perly.y" { yyerror("syntax error"); YYERROR; } break; case 205: #line 1262 "perly.y" { yyerror("syntax error"); YYERROR; } break; case 206: #line 1264 "perly.y" { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); } break; case 207: #line 1268 "perly.y" { (yyval.opval) = cmpchain_start((ps[-1].val.ival), (ps[-2].val.opval), (ps[0].val.opval)); } break; case 208: #line 1270 "perly.y" { (yyval.opval) = cmpchain_extend((ps[-1].val.ival), (ps[-2].val.opval), (ps[0].val.opval)); } break; case 209: #line 1274 "perly.y" { (yyval.opval) = cmpchain_finish((ps[0].val.opval)); } break; case 210: #line 1276 "perly.y" { (yyval.opval) = newBINOP((ps[-1].val.ival), 0, scalar((ps[-2].val.opval)), scalar((ps[0].val.opval))); } break; case 211: #line 1278 "perly.y" { yyerror("syntax error"); YYERROR; } break; case 212: #line 1280 "perly.y" { yyerror("syntax error"); YYERROR; } break; case 213: #line 1284 "perly.y" { (yyval.opval) = cmpchain_start((ps[-1].val.ival), (ps[-2].val.opval), (ps[0].val.opval)); } break; case 214: #line 1286 "perly.y" { (yyval.opval) = cmpchain_extend((ps[-1].val.ival), (ps[-2].val.opval), (ps[0].val.opval)); } break; case 215: #line 1291 "perly.y" { (yyval.opval) = newUNOP(OP_NEGATE, 0, scalar((ps[0].val.opval))); } break; case 216: #line 1293 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 217: #line 1296 "perly.y" { (yyval.opval) = newUNOP(OP_NOT, 0, scalar((ps[0].val.opval))); } break; case 218: #line 1298 "perly.y" { (yyval.opval) = newUNOP((ps[-1].val.ival), 0, scalar((ps[0].val.opval))); } break; case 219: #line 1300 "perly.y" { (yyval.opval) = newUNOP(OP_POSTINC, 0, op_lvalue(scalar((ps[-1].val.opval)), OP_POSTINC)); } break; case 220: #line 1303 "perly.y" { (yyval.opval) = newUNOP(OP_POSTDEC, 0, op_lvalue(scalar((ps[-1].val.opval)), OP_POSTDEC));} break; case 221: #line 1306 "perly.y" { (yyval.opval) = op_convert_list(OP_JOIN, 0, op_append_elem( OP_LIST, newSVREF(scalar( newSVOP(OP_CONST,0, newSVpvs("\"")) )), (ps[-1].val.opval) )); } break; case 222: #line 1317 "perly.y" { (yyval.opval) = newUNOP(OP_PREINC, 0, op_lvalue(scalar((ps[0].val.opval)), OP_PREINC)); } break; case 223: #line 1320 "perly.y" { (yyval.opval) = newUNOP(OP_PREDEC, 0, op_lvalue(scalar((ps[0].val.opval)), OP_PREDEC)); } break; case 224: #line 1328 "perly.y" { (yyval.opval) = newANONLIST((ps[-1].val.opval)); } break; case 225: #line 1330 "perly.y" { (yyval.opval) = newANONHASH((ps[-2].val.opval)); } break; case 226: #line 1332 "perly.y" { SvREFCNT_inc_simple_void(PL_compcv); (yyval.opval) = newANONATTRSUB((ps[-3].val.ival), (ps[-2].val.opval), (ps[-1].val.opval), (ps[0].val.opval)); } break; case 227: #line 1335 "perly.y" { SvREFCNT_inc_simple_void(PL_compcv); (yyval.opval) = newANONATTRSUB((ps[-2].val.ival), NULL, (ps[-1].val.opval), (ps[0].val.opval)); } break; case 228: #line 1338 "perly.y" { croak_kw_unless_class("method"); class_prepare_method_parse(PL_compcv); } break; case 229: #line 1343 "perly.y" { OP *body = (ps[0].val.opval); SvREFCNT_inc_simple_void(PL_compcv); body = class_wrap_method_body(body); (yyval.opval) = newANONATTRSUB((ps[-3].val.ival), NULL, (ps[-1].val.opval), body); } break; case 230: #line 1354 "perly.y" { (yyval.opval) = dofile((ps[0].val.opval), (ps[-1].val.ival));} break; case 231: #line 1356 "perly.y" { (yyval.opval) = newUNOP(OP_NULL, OPf_SPECIAL, op_scope((ps[0].val.opval)));} break; case 236: #line 1364 "perly.y" { (yyval.opval) = newCONDOP(0, (ps[-4].val.opval), (ps[-2].val.opval), (ps[0].val.opval)); } break; case 237: #line 1366 "perly.y" { (yyval.opval) = newUNOP(OP_REFGEN, 0, (ps[0].val.opval)); } break; case 238: #line 1368 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 239: #line 1370 "perly.y" { (yyval.opval) = localize((ps[0].val.opval),0); } break; case 240: #line 1372 "perly.y" { (yyval.opval) = sawparens((ps[-1].val.opval)); } break; case 241: #line 1374 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 242: #line 1376 "perly.y" { (yyval.opval) = sawparens(newNULLLIST()); } break; case 243: #line 1378 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 244: #line 1380 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 245: #line 1382 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 246: #line 1384 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 247: #line 1386 "perly.y" { (yyval.opval) = newUNOP(OP_AV2ARYLEN, 0, ref((ps[0].val.opval), OP_AV2ARYLEN));} break; case 248: #line 1388 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 249: #line 1390 "perly.y" { (yyval.opval) = op_prepend_elem(OP_ASLICE, newOP(OP_PUSHMARK, 0), newLISTOP(OP_ASLICE, 0, list((ps[-1].val.opval)), ref((ps[-3].val.opval), OP_ASLICE))); if ((yyval.opval) && (ps[-3].val.opval)) (yyval.opval)->op_private |= (ps[-3].val.opval)->op_private & OPpSLICEWARNING; } break; case 250: #line 1400 "perly.y" { (yyval.opval) = op_prepend_elem(OP_KVASLICE, newOP(OP_PUSHMARK, 0), newLISTOP(OP_KVASLICE, 0, list((ps[-1].val.opval)), ref(oopsAV((ps[-3].val.opval)), OP_KVASLICE))); if ((yyval.opval) && (ps[-3].val.opval)) (yyval.opval)->op_private |= (ps[-3].val.opval)->op_private & OPpSLICEWARNING; } break; case 251: #line 1410 "perly.y" { (yyval.opval) = op_prepend_elem(OP_HSLICE, newOP(OP_PUSHMARK, 0), newLISTOP(OP_HSLICE, 0, list((ps[-2].val.opval)), ref(oopsHV((ps[-4].val.opval)), OP_HSLICE))); if ((yyval.opval) && (ps[-4].val.opval)) (yyval.opval)->op_private |= (ps[-4].val.opval)->op_private & OPpSLICEWARNING; } break; case 252: #line 1420 "perly.y" { (yyval.opval) = op_prepend_elem(OP_KVHSLICE, newOP(OP_PUSHMARK, 0), newLISTOP(OP_KVHSLICE, 0, list((ps[-2].val.opval)), ref((ps[-4].val.opval), OP_KVHSLICE))); if ((yyval.opval) && (ps[-4].val.opval)) (yyval.opval)->op_private |= (ps[-4].val.opval)->op_private & OPpSLICEWARNING; } break; case 253: #line 1430 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 254: #line 1432 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, 0, scalar((ps[0].val.opval))); } break; case 255: #line 1434 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[-2].val.opval))); } break; case 256: #line 1437 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, (ps[-1].val.opval), scalar((ps[-3].val.opval)))); } break; case 257: #line 1442 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, (ps[0].val.opval), scalar((ps[-1].val.opval)))); } break; case 258: #line 1446 "perly.y" { (yyval.opval) = newSVREF((ps[-3].val.opval)); } break; case 259: #line 1448 "perly.y" { (yyval.opval) = newAVREF((ps[-3].val.opval)); } break; case 260: #line 1450 "perly.y" { (yyval.opval) = newHVREF((ps[-3].val.opval)); } break; case 261: #line 1452 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, 0, scalar(newCVREF((ps[-1].val.ival),(ps[-3].val.opval)))); } break; case 262: #line 1455 "perly.y" { (yyval.opval) = newGVREF(0,(ps[-3].val.opval)); } break; case 263: #line 1457 "perly.y" { (yyval.opval) = newOP((ps[0].val.ival), OPf_SPECIAL); PL_hints |= HINT_BLOCK_SCOPE; } break; case 264: #line 1460 "perly.y" { (yyval.opval) = newLOOPEX((ps[-1].val.ival),(ps[0].val.opval)); } break; case 265: #line 1462 "perly.y" { (yyval.opval) = newUNOP(OP_NOT, 0, scalar((ps[0].val.opval))); } break; case 266: #line 1464 "perly.y" { (yyval.opval) = newOP((ps[0].val.ival), 0); } break; case 267: #line 1466 "perly.y" { (yyval.opval) = newUNOP((ps[-1].val.ival), 0, (ps[0].val.opval)); } break; case 268: #line 1468 "perly.y" { (yyval.opval) = newUNOP((ps[-1].val.ival), 0, (ps[0].val.opval)); } break; case 269: #line 1470 "perly.y" { (yyval.opval) = newOP(OP_REQUIRE, (ps[0].val.ival) ? OPf_SPECIAL : 0); } break; case 270: #line 1472 "perly.y" { (yyval.opval) = newUNOP(OP_REQUIRE, (ps[-1].val.ival) ? OPf_SPECIAL : 0, (ps[0].val.opval)); } break; case 271: #line 1474 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[0].val.opval))); } break; case 272: #line 1476 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, (ps[0].val.opval), scalar((ps[-1].val.opval)))); } break; case 273: #line 1479 "perly.y" { (yyval.opval) = newOP((ps[0].val.ival), 0); } break; case 274: #line 1481 "perly.y" { (yyval.opval) = newOP((ps[-2].val.ival), 0);} break; case 275: #line 1483 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 276: #line 1485 "perly.y" { (yyval.opval) = (ps[-2].val.opval); } break; case 277: #line 1487 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[0].val.opval))); } break; case 278: #line 1489 "perly.y" { (yyval.opval) = ((ps[-2].val.ival) == OP_NOT) ? newUNOP((ps[-2].val.ival), 0, newSVOP(OP_CONST, 0, newSViv(0))) : newOP((ps[-2].val.ival), OPf_SPECIAL); } break; case 279: #line 1493 "perly.y" { (yyval.opval) = newUNOP((ps[-3].val.ival), 0, (ps[-1].val.opval)); } break; case 280: #line 1495 "perly.y" { if ( (ps[0].val.opval)->op_type != OP_TRANS && (ps[0].val.opval)->op_type != OP_TRANSR && (((PMOP*)(ps[0].val.opval))->op_pmflags & PMf_HAS_CV)) { (yyval.ival) = start_subparse(FALSE, CVf_ANON); SAVEFREESV(PL_compcv); } else (yyval.ival) = 0; } break; case 281: #line 1506 "perly.y" { (yyval.opval) = pmruntime((ps[-5].val.opval), (ps[-2].val.opval), (ps[-1].val.opval), 1, (ps[-4].val.ival)); } break; case 285: #line 1515 "perly.y" { (yyval.opval) = my_attrs((ps[-1].val.opval),(ps[0].val.opval)); } break; case 286: #line 1517 "perly.y" { (yyval.opval) = localize((ps[0].val.opval),1); } break; case 287: #line 1519 "perly.y" { (yyval.opval) = newUNOP(OP_REFGEN, 0, my_attrs((ps[-1].val.opval),(ps[0].val.opval))); } break; case 288: #line 1521 "perly.y" { (yyval.opval) = newUNOP(OP_REFGEN, 0, localize((ps[0].val.opval),1)); } break; case 289: #line 1526 "perly.y" { (yyval.opval) = sawparens((ps[-1].val.opval)); } break; case 290: #line 1528 "perly.y" { (yyval.opval) = sawparens(newNULLLIST()); } break; case 291: #line 1531 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 292: #line 1533 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 293: #line 1535 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 294: #line 1540 "perly.y" { (yyval.pval) = PadnamelistARRAY(PL_comppad_name)[(ps[0].val.opval)->op_targ]; op_free((ps[0].val.opval)); } break; case 295: #line 1545 "perly.y" { (yyval.pval) = PadnamelistARRAY(PL_comppad_name)[(ps[0].val.opval)->op_targ]; op_free((ps[0].val.opval)); } break; case 296: #line 1550 "perly.y" { (yyval.pval) = PadnamelistARRAY(PL_comppad_name)[(ps[0].val.opval)->op_targ]; op_free((ps[0].val.opval)); } break; case 297: #line 1558 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 298: #line 1560 "perly.y" { (yyval.opval) = NULL; } break; case 300: #line 1566 "perly.y" { parser->in_my = 0; if((ps[0].val.opval)) class_apply_field_attributes((PADNAME *)(ps[-1].val.pval), (ps[0].val.opval)); (yyval.opval) = newOP(OP_NULL, 0); } break; case 301: #line 1573 "perly.y" { parser->in_my = 0; if((ps[-1].val.opval)) class_apply_field_attributes((PADNAME *)(ps[-2].val.pval), (ps[-1].val.opval)); ENTER; class_prepare_initfield_parse(); } break; case 302: #line 1581 "perly.y" { class_set_field_defop((PADNAME *)(ps[-4].val.pval), (ps[-2].val.ival), (ps[0].val.opval)); LEAVE; (yyval.opval) = newOP(OP_NULL, 0); } break; case 308: #line 1601 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; case 309: #line 1607 "perly.y" { parser->in_my = 0; (yyval.opval) = my((ps[0].val.opval)); } break; case 310: #line 1612 "perly.y" { (yyval.opval) = (ps[-1].val.opval); } break; case 311: #line 1614 "perly.y" { (yyval.opval) = op_append_elem(OP_LIST, (ps[-2].val.opval), (ps[0].val.opval)); } break; case 313: #line 1621 "perly.y" { parser->in_my = 0; (yyval.opval) = (ps[0].val.opval); } break; case 321: #line 1638 "perly.y" { (yyval.opval) = newCVREF((ps[-1].val.ival),(ps[0].val.opval)); } break; case 322: #line 1642 "perly.y" { (yyval.opval) = newSVREF((ps[0].val.opval)); } break; case 323: #line 1646 "perly.y" { (yyval.opval) = newAVREF((ps[0].val.opval)); if ((yyval.opval)) (yyval.opval)->op_private |= (ps[-1].val.ival); } break; case 324: #line 1652 "perly.y" { (yyval.opval) = newHVREF((ps[0].val.opval)); if ((yyval.opval)) (yyval.opval)->op_private |= (ps[-1].val.ival); } break; case 325: #line 1658 "perly.y" { (yyval.opval) = newAVREF((ps[0].val.opval)); } break; case 326: #line 1660 "perly.y" { (yyval.opval) = newAVREF((ps[-3].val.opval)); } break; case 327: #line 1664 "perly.y" { (yyval.opval) = newGVREF(0,(ps[0].val.opval)); } break; case 329: #line 1669 "perly.y" { (yyval.opval) = newAVREF((ps[-2].val.opval)); } break; case 331: #line 1674 "perly.y" { (yyval.opval) = newHVREF((ps[-2].val.opval)); } break; case 333: #line 1679 "perly.y" { (yyval.opval) = newGVREF(0,(ps[-2].val.opval)); } break; case 334: #line 1684 "perly.y" { (yyval.opval) = scalar((ps[0].val.opval)); } break; case 335: #line 1686 "perly.y" { (yyval.opval) = scalar((ps[0].val.opval)); } break; case 336: #line 1688 "perly.y" { (yyval.opval) = op_scope((ps[0].val.opval)); } break; case 337: #line 1691 "perly.y" { (yyval.opval) = (ps[0].val.opval); } break; default: break; /* Generated from: * 404f5c053415e3ead8d5b0e39c35188e47e522bbccd25374bdcf5128f1b93ccc perly.y * acf1cbfd2545faeaaa58b1cf0cf9d7f98b5be0752eb7a54528ef904a9e2e1ca7 regen_perly.pl * ex: set ro: */