summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2007-05-12 19:21:02 +0000
committerDave Mitchell <davem@fdisolutions.com>2007-05-12 19:21:02 +0000
commit5486870fe7f0fd0e99bf9619d5fd857a5b972014 (patch)
tree9f5b70fdc6e84c85d8ccf54834fcd75578ed3a17 /pp_ctl.c
parent2f9285f84584cb56950bf07de6ded6ebcdc3d302 (diff)
downloadperl-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.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 60b6b0a47d..032ffaa4c6 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -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 */