From: Abhijit Menon-Sen Date: Mon, 17 Sep 2001 17:44:12 +0000 (+0530) Subject: Re: [PATCH] turn $a.= into an RCATLINE X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d2c45030dc616f5607567f346c626dee604321c0;p=p5sagit%2Fp5-mst-13.2.git Re: [PATCH] turn $a.= into an RCATLINE Message-Id: <20010917174412.B7058@lustre.dyn.wiw.org> p4raw-id: //depot/perl@12047 --- diff --git a/op.c b/op.c index 1c7eb15..ea5d922 100644 --- a/op.c +++ b/op.c @@ -6940,10 +6940,12 @@ Perl_peep(pTHX_ register OP *o) && o->op_next->op_next->op_type == OP_CONCAT && (o->op_next->op_next->op_flags & OPf_STACKED)) { - /* Turn "$a .= " into an OP_RCATLINE. AMS 20010811 */ - o->op_next->op_type = OP_RCATLINE; - o->op_next->op_flags |= OPf_STACKED; + /* Turn "$a .= " into an OP_RCATLINE. AMS 20010917 */ + o->op_type = OP_RCATLINE; + o->op_flags |= OPf_STACKED; + o->op_ppaddr = PL_ppaddr[OP_RCATLINE]; op_null(o->op_next->op_next); + op_null(o->op_next); } o->op_seq = PL_op_seqmax++;