From 26ea9e123d12cb8db56e9e161eaec98bd295b821 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Mon, 24 Jan 2011 10:30:51 +0000 Subject: 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. --- Makefile.micro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile.micro') diff --git a/Makefile.micro b/Makefile.micro index 86113322d7..ec47c9b914 100644 --- a/Makefile.micro +++ b/Makefile.micro @@ -21,7 +21,7 @@ O = uav$(_O) udeb$(_O) udoio$(_O) udoop$(_O) udump$(_O) \ uregcomp$(_O) uregexec$(_O) urun$(_O) \ uscope$(_O) usv$(_O) utaint$(_O) utoke$(_O) \ unumeric$(_O) ulocale$(_O) umathoms$(_O) \ - uuniversal$(_O) uutf8$(_O) uutil$(_O) uperlapi$(_O) + uuniversal$(_O) uutf8$(_O) uutil$(_O) uperlapi$(_O) ukeywords$(_O) microperl: $(O) $(LD) -o $@ $(O) $(LDFLAGS) $(LIBS) @@ -86,6 +86,9 @@ umro$(_O): $(HE) mro.c uhv$(_O): $(HE) hv.c $(CC) $(CCFLAGS) -o $@ $(CFLAGS) hv.c +ukeywords$(_O): $(HE) keywords.c + $(CC) $(CCFLAGS) -o $@ $(CFLAGS) keywords.c + umg$(_O): $(HE) mg.c $(CC) $(CCFLAGS) -o $@ $(CFLAGS) mg.c -- cgit v1.2.1