This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Break out the generated function Perl_keywords() into keywords.c, a new file.
authorNicholas Clark <nick@ccl4.org>
Mon, 24 Jan 2011 10:30:51 +0000 (10:30 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 24 Jan 2011 10:30:51 +0000 (10:30 +0000)
commit26ea9e123d12cb8db56e9e161eaec98bd295b821
tree4324a860211114b3044a6c0e0ec81d40e1b2be2b
parent858e1d20cc10250fd3c36107b4f5fff9b80332aa
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.
17 files changed:
Cross/Makefile-cross-SH
MANIFEST
Makefile.SH
Makefile.micro
NetWare/Makefile
Porting/makerel
embed.fnc
embed.h
keywords.c [new file with mode: 0644]
perl.h
perl_keyword.pl
proto.h
toke.c
vms/descrip_mms.template
win32/Makefile
win32/Makefile.ce
win32/makefile.mk