diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2007-05-12 22:17:40 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2007-05-12 22:17:40 +0000 |
commit | 12bd6ede29d13c215438daf78d15695e487886b0 (patch) | |
tree | 78ba457776b01252a85ffb3957bce4289c26f607 /sv.c | |
parent | 5afb0a623b9b99b8da0168b2f2a3030d9165d7ff (diff) | |
download | perl-12bd6ede29d13c215438daf78d15695e487886b0.tar.gz |
move PL_in_my and PL_in_my_stash into the PL_parser struct
p4raw-id: //depot/perl@31203
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9579,6 +9579,8 @@ Perl_parser_dup(pTHX_ const yy_parser *proto, CLONE_PARAMS* param) parser->rsfp = fp_dup(proto->rsfp, '<', param); /* rsfp_filters entries have fake IoDIRP() */ parser->rsfp_filters= av_dup_inc(proto->rsfp_filters, param); + parser->in_my = proto->in_my; + parser->in_my_stash = hv_dup(proto->in_my_stash, param); parser->linestr = sv_dup_inc(proto->linestr, param); @@ -11266,8 +11268,6 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags, PL_subline = proto_perl->Isubline; PL_subname = sv_dup_inc(proto_perl->Isubname, param); - PL_in_my = proto_perl->Iin_my; - PL_in_my_stash = hv_dup(proto_perl->Iin_my_stash, param); #ifdef FCRYPT PL_cryptseen = proto_perl->Icryptseen; #endif |