diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2007-05-12 19:21:02 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2007-05-12 19:21:02 +0000 |
commit | 5486870fe7f0fd0e99bf9619d5fd857a5b972014 (patch) | |
tree | 9f5b70fdc6e84c85d8ccf54834fcd75578ed3a17 /pp_ctl.c | |
parent | 2f9285f84584cb56950bf07de6ded6ebcdc3d302 (diff) | |
download | perl-5486870fe7f0fd0e99bf9619d5fd857a5b972014.tar.gz |
move PL_rsfp_filters into the parser struct
p4raw-id: //depot/perl@31200
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -2745,7 +2745,7 @@ Perl_sv_compile_2op(pTHX_ SV *sv, OP** startop, const char *code, PAD** padp) STRLEN len; ENTER; - lex_start(sv, NULL); + lex_start(sv, NULL, FALSE); SAVETMPS; /* switch to eval mode */ @@ -3377,9 +3377,7 @@ PP(pp_require) ENTER; SAVETMPS; - lex_start(NULL, tryrsfp); - SAVEGENERICSV(PL_rsfp_filters); - PL_rsfp_filters = NULL; + lex_start(NULL, tryrsfp, TRUE); SAVEHINTS(); PL_hints = 0; @@ -3448,7 +3446,7 @@ PP(pp_entereval) TAINT_PROPER("eval"); ENTER; - lex_start(sv, NULL); + lex_start(sv, NULL, FALSE); SAVETMPS; /* switch to eval mode */ |