summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2010-10-13 20:33:41 +0100
committerFather Chrysostomos <sprout@cpan.org>2010-10-21 05:52:45 -0700
commite4a21daa4e972fdca58792685dc40f8626070430 (patch)
tree8f606f8e209adf062b346cceec84ea5528d4b9e4 /toke.c
parent737c24fc85ea612b3265f06a29053674bfbe17bd (diff)
downloadperl-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.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/toke.c b/toke.c
index 68e5aeea04..fa1882dcef 100644
--- a/toke.c
+++ b/toke.c
@@ -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