diff options
author | Zefram <zefram@fysh.org> | 2010-10-13 20:33:41 +0100 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-10-21 05:52:45 -0700 |
commit | e4a21daa4e972fdca58792685dc40f8626070430 (patch) | |
tree | 8f606f8e209adf062b346cceec84ea5528d4b9e4 /toke.c | |
parent | 737c24fc85ea612b3265f06a29053674bfbe17bd (diff) | |
download | perl-e4a21daa4e972fdca58792685dc40f8626070430.tar.gz |
remove redundant lex_end
The lex_end() function is redundant, because the lexer context object
is actually finalised by parser_free(), triggered by the save stack.
The lex_end() function has historically been empty, except when the
PL_doextract global was being misused to store lexer state.
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -750,17 +750,6 @@ Perl_parser_free(pTHX_ const yy_parser *parser) /* - * Perl_lex_end - * Finalizer for lexing operations. Must be called when the parser is - * done with the lexer. - */ - -void -Perl_lex_end(pTHX) -{ -} - -/* =for apidoc AmxU|SV *|PL_parser-E<gt>linestr Buffer scalar containing the chunk currently under consideration of the |