summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-12 20:11:45 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-12 20:11:45 +0000
commit074479712f24612219fbc26003f537afc1d45c31 (patch)
treee3794ff79d796ff18d6ed53bfa1695a53010b40f /dump.c
parent53c32ee0ca763f91425c42ba020b39b9de6c8868 (diff)
downloadperl-074479712f24612219fbc26003f537afc1d45c31.tar.gz
another optimized-OP_SASSIGN bug: ops that were not OA_TARGLEX
were being mistakenly subverted anyway p4raw-id: //depot/perl@5683
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dump.c b/dump.c
index 92a26e8a11..86c56ce8c8 100644
--- a/dump.c
+++ b/dump.c
@@ -429,6 +429,10 @@ Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, OP *o)
}
if (o->op_private) {
SV *tmpsv = newSVpvn("", 0);
+ if (PL_opargs[o->op_type] & OA_TARGLEX) {
+ if (o->op_private & OPpTARGET_MY)
+ sv_catpv(tmpsv, ",TARGET_MY");
+ }
if (o->op_type == OP_AASSIGN) {
if (o->op_private & OPpASSIGN_COMMON)
sv_catpv(tmpsv, ",COMMON");