Message-Id: <13737.12300.950886.821143@alias-2.pr.mcs.net>
Subject: [PATCH] @a=@a=qw(1) not working, both 5.004_04 and 5.004_71
p4raw-id: //depot/perl@1458
curop->op_type == OP_PADANY) {
repl_has_vars = 1;
}
+ else if (curop->op_type == OP_PUSHRE)
+ ; /* Okay here, dangerous in newASSIGNOP */
else
break;
}
if (lastop->op_type != OP_GV) /* funny deref? */
break;
}
+ else if (curop->op_type == OP_PUSHRE) {
+ if (((PMOP*)curop)->op_pmreplroot) {
+ GV *gv = (GV*)((PMOP*)curop)->op_pmreplroot;
+ if (gv == defgv || SvCUR(gv) == generation)
+ break;
+ SvCUR(gv) = generation;
+ }
+ }
else
break;
}
0x00000040, /* padav */
0x00000040, /* padhv */
0x00000040, /* padany */
- 0x00000600, /* pushre */
+ 0x00000640, /* pushre */
0x00000144, /* rv2gv */
0x00000144, /* rv2sv */
0x00000114, /* av2arylen */
padhv private hash ck_null d0
padany private something ck_null d0
-pushre push regexp ck_null /
+pushre push regexp ck_null d/
# References and stuff.