summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorAbhijit Menon-Sen <ams@wiw.org>2001-09-17 23:14:12 +0530
committerAbhijit Menon-Sen <ams@wiw.org>2001-09-17 11:21:40 +0000
commitd2c45030dc616f5607567f346c626dee604321c0 (patch)
tree09f876b674d555de841aa3987d3ecec2731f0dd4 /op.c
parent58d344df650fc2c90c32381f9e9363069a38509d (diff)
downloadperl-d2c45030dc616f5607567f346c626dee604321c0.tar.gz
Re: [PATCH] turn $a.=<F> into an RCATLINE
Message-Id: <20010917174412.B7058@lustre.dyn.wiw.org> p4raw-id: //depot/perl@12047
Diffstat (limited to 'op.c')
-rw-r--r--op.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/op.c b/op.c
index 1c7eb15684..ea5d922a27 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 .= <FH>" into an OP_RCATLINE. AMS 20010811 */
- o->op_next->op_type = OP_RCATLINE;
- o->op_next->op_flags |= OPf_STACKED;
+ /* Turn "$a .= <FH>" 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++;