Fix spurious GVSV OPpOUR_INTRO
Stephen McCamant [Sat, 6 Jan 2001 15:25:02 +0000 (07:25 -0800)]
Message-ID: <14935.41722.239364.55174@soda.csua.berkeley.edu>

p4raw-id: //depot/perl@8363

dump.c
op.c

diff --git a/dump.c b/dump.c
index e20fe36..5bc7349 100644 (file)
--- a/dump.c
+++ b/dump.c
@@ -455,6 +455,7 @@ Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, OP *o)
        }
        else if (o->op_type == OP_ENTERSUB ||
                 o->op_type == OP_RV2SV ||
+                o->op_type == OP_GVSV ||
                 o->op_type == OP_RV2AV ||
                 o->op_type == OP_RV2HV ||
                 o->op_type == OP_RV2GV ||
diff --git a/op.c b/op.c
index 3cbfd6d..379b0b9 100644 (file)
--- a/op.c
+++ b/op.c
@@ -5451,6 +5451,7 @@ Perl_ck_rvconst(pTHX_ register OP *o)
 #else
            kid->op_sv = SvREFCNT_inc(gv);
 #endif
+           kid->op_private = 0;
            kid->op_ppaddr = PL_ppaddr[OP_GV];
        }
     }