diff options
author | Abhijit Menon-Sen <ams@wiw.org> | 2002-01-02 17:06:27 +0000 |
---|---|---|
committer | Abhijit Menon-Sen <ams@wiw.org> | 2002-01-02 17:06:27 +0000 |
commit | 364daeac4868b98a1fa3ae76f6024a86f1be49bd (patch) | |
tree | 2175f446b58a66f393dab955f168ca0ab622ce8a /op.c | |
parent | b8e786efd92a7027bef701c863eb34e80f132a24 (diff) | |
download | perl-364daeac4868b98a1fa3ae76f6024a86f1be49bd.tar.gz |
Fix misplaced application of #14016.
p4raw-id: //depot/perl@14020
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5929,8 +5929,6 @@ Perl_ck_fun(pTHX_ OP *o) } break; case OA_FILEREF: - if(kid==cLISTOPo->op_last) - cLISTOPo->op_last = newop; if (kid->op_type != OP_GV && kid->op_type != OP_RV2GV) { if (kid->op_type == OP_CONST && (kid->op_private & OPpCONST_BARE)) @@ -5938,6 +5936,8 @@ Perl_ck_fun(pTHX_ OP *o) OP *newop = newGVOP(OP_GV, 0, gv_fetchpv(SvPVx(((SVOP*)kid)->op_sv, n_a), TRUE, SVt_PVIO) ); + if (kid == cLISTOPo->op_last) + cLISTOPo->op_last = newop; op_free(kid); kid = newop; } |