summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-09-07 17:25:07 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-09-07 17:25:07 +0000
commit349fd7b7286e5fa0d4cd22565b1943fa16790eac (patch)
tree36b7625b6d2a7eed7810513e861c6aa0eb085e45 /op.c
parentf0cd5c3a554e4ef8e1237a87856de1d143ee3531 (diff)
downloadperl-349fd7b7286e5fa0d4cd22565b1943fa16790eac.tar.gz
various fixups for windows
p4raw-id: //depot/perl@4101
Diffstat (limited to 'op.c')
-rw-r--r--op.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/op.c b/op.c
index babe0d7ea3..0053bdd779 100644
--- a/op.c
+++ b/op.c
@@ -1267,19 +1267,19 @@ Perl_mod(pTHX_ OP *o, I32 type)
if (kid->op_type == OP_METHOD_NAMED
|| kid->op_type == OP_METHOD)
{
- OP *new;
+ OP *newop;
if (kid->op_sibling || kid->op_next != kid) {
yyerror("panic: unexpected optree near method call");
break;
}
- NewOp(1101, new, 1, OP);
- new->op_type = OP_RV2CV;
- new->op_ppaddr = PL_ppaddr[OP_RV2CV];
- new->op_next = new;
- kid->op_sibling = new;
- new->op_private |= OPpLVAL_INTRO;
+ NewOp(1101, newop, 1, OP);
+ newop->op_type = OP_RV2CV;
+ newop->op_ppaddr = PL_ppaddr[OP_RV2CV];
+ newop->op_next = newop;
+ kid->op_sibling = newop;
+ newop->op_private |= OPpLVAL_INTRO;
break;
}