summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-01-24 10:30:51 +0000
committerNicholas Clark <nick@ccl4.org>2011-01-24 10:30:51 +0000
commit26ea9e123d12cb8db56e9e161eaec98bd295b821 (patch)
tree4324a860211114b3044a6c0e0ec81d40e1b2be2b /embed.fnc
parent858e1d20cc10250fd3c36107b4f5fff9b80332aa (diff)
downloadperl-26ea9e123d12cb8db56e9e161eaec98bd295b821.tar.gz
Break out the generated function Perl_keywords() into keywords.c, a new file.
As it and Perl_yylex() both need FEATURE_IS_ENABLED, feature_is_enabled() is no longer static, and the two macro definitions move from toke.c to perl.h Previously, one had to cut and paste the output of perl_keywords.pl into the middle of toke.c, and it was not clear that it was generated code.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc4
1 files changed, 3 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 1b97c0bcfa..b4fae82c98 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1950,7 +1950,6 @@ s |U8* |add_utf16_textfilter|NN U8 *const s|bool reversed
#endif
s |void |checkcomma |NN const char *s|NN const char *name \
|NN const char *what
-s |bool |feature_is_enabled|NN const char *const name|STRLEN namelen
s |void |force_ident |NN const char *s|int kind
s |void |incline |NN const char *s
s |int |intuit_method |NN char *s|NULLOK GV *gv|NULLOK CV *cv
@@ -2422,4 +2421,7 @@ Anop |void |clone_params_del|NN CLONE_PARAMS *param
: Used in perl.c and toke.c
op |void |populate_isa |NN const char *name|STRLEN len|...
+: Used in keywords.c and toke.c
+op |bool |feature_is_enabled|NN const char *const name|STRLEN namelen
+
: ex: set ts=8 sts=4 sw=4 noet: