diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2007-05-15 21:51:03 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2007-05-15 21:51:03 +0000 |
commit | 56b27c9aa7f7f437454756acd9a09e4d194e45fe (patch) | |
tree | fd1e131eb80bca0dcb3a25056bc9cf1af63d336d /toke.c | |
parent | 69bdead35873e670ffd15dfa42a90b25b12af16c (diff) | |
download | perl-56b27c9aa7f7f437454756acd9a09e4d194e45fe.tar.gz |
change 31200 broke src filters used within an eval
eg BEGIN { eval q(use MyFilter) } would ignore the filter
p4raw-id: //depot/perl@31225
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -686,7 +686,7 @@ Perl_lex_start(pTHX_ SV *line, PerlIO *rsfp, bool new_filter) parser->lex_state = LEX_NORMAL; parser->expect = XSTATE; parser->rsfp = rsfp; - parser->rsfp_filters = (new_filter || !oparser) ? NULL + parser->rsfp_filters = (new_filter || !oparser) ? newAV() : (AV*)SvREFCNT_inc(oparser->rsfp_filters); Newx(parser->lex_brackstack, 120, char); |