diff options
author | Abhijit Menon-Sen <ams@wiw.org> | 2001-09-17 23:14:12 +0530 |
---|---|---|
committer | Abhijit Menon-Sen <ams@wiw.org> | 2001-09-17 11:21:40 +0000 |
commit | d2c45030dc616f5607567f346c626dee604321c0 (patch) | |
tree | 09f876b674d555de841aa3987d3ecec2731f0dd4 /op.c | |
parent | 58d344df650fc2c90c32381f9e9363069a38509d (diff) | |
download | perl-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.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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++; |