summaryrefslogtreecommitdiff
path: root/embed.fnc
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 /embed.fnc
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 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 0 insertions, 2 deletions
diff --git a/embed.fnc b/embed.fnc
index a89730c589..3fc1164bfa 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -611,8 +611,6 @@ s |OP* |opt_scalarhv |NN OP* rep_op
s |OP* |is_inplace_av |NN OP* o|NULLOK OP* oright
#endif
Ap |void |leave_scope |I32 base
-: Used in pp_ctl.c, and by Data::Alias
-EXp |void |lex_end
: Used in various files
p |void |lex_start |NULLOK SV* line|NULLOK PerlIO *rsfp
: Public lexer API