diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-23 03:05:11 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-23 03:05:11 +0000 |
commit | afbdaceadfb4213678022d323a8d1b3cea560a4a (patch) | |
tree | af05bd0817445e89ef850e6c4c6d0904b92ad6a9 /op.c | |
parent | 92aa5668606f4f055c218a4b78284d36348495a3 (diff) | |
download | perl-afbdaceadfb4213678022d323a8d1b3cea560a4a.tar.gz |
Purify: #15434 got the test the wrong.
(Is there an approved way of testing "is this an unop"?)
p4raw-id: //depot/perl@15439
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5971,7 +5971,7 @@ 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 ((o->op_flags & OPf_KIDS) && + if (!(o->op_private & 1) && /* if not unop */ kid == cLISTOPo->op_last) cLISTOPo->op_last = newop; op_free(kid); |