summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-10-12 04:50:52 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-10-12 04:50:52 +0000
commite1f15930cb6cb2f68ab17efdb7c081df813554a9 (patch)
treeacf3731484333ee802f786291beda23d50fffed2 /op.c
parent04dc9db9ad04317b0c2997dfa065b4061e90e683 (diff)
downloadperl-e1f15930cb6cb2f68ab17efdb7c081df813554a9.tar.gz
various cleanups
p4raw-id: //depot/perl@4350
Diffstat (limited to 'op.c')
-rw-r--r--op.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/op.c b/op.c
index b0a5bc4fb3..c59940dd4e 100644
--- a/op.c
+++ b/op.c
@@ -6158,8 +6158,10 @@ Perl_peep(pTHX_ register OP *o)
case OP_RV2AV:
case OP_RV2HV:
if (!(o->op_flags & OPf_WANT)
- || o->op_flags & OPf_WANT == OPf_WANT_LIST)
+ || (o->op_flags & OPf_WANT) == OPf_WANT_LIST)
+ {
last_composite = o;
+ }
o->op_seq = PL_op_seqmax++;
break;