summaryrefslogtreecommitdiff
path: root/Cross
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 /Cross
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 'Cross')
-rw-r--r--Cross/Makefile-cross-SH2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cross/Makefile-cross-SH b/Cross/Makefile-cross-SH
index c25b144498..cc17671283 100644
--- a/Cross/Makefile-cross-SH
+++ b/Cross/Makefile-cross-SH
@@ -348,7 +348,7 @@ h = $(h1) $(h2) $(h3) $(h4) $(h5)
c1 = av.c scope.c op.c doop.c doio.c dump.c gv.c hv.c mg.c reentr.c mro.c perl.c
c2 = perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c utf8.c sv.c
-c3 = taint.c toke.c util.c deb.c run.c universal.c pad.c globals.c
+c3 = taint.c toke.c util.c deb.c run.c universal.c pad.c globals.c keywords.c
c4 = perlio.c perlapi.c numeric.c mathoms.c locale.c pp_pack.c pp_sort.c
c5 = $(madlysrc) $(mallocsrc)