diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-01-24 11:06:50 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-01-24 11:13:21 +0000 |
commit | f133ac5ddfc5d70fa61dd22a319c90b6c5016bc0 (patch) | |
tree | 084781d3bbe1ee1ec6177e934eaea361b6bf103d /Cross | |
parent | 26ea9e123d12cb8db56e9e161eaec98bd295b821 (diff) | |
download | perl-f133ac5ddfc5d70fa61dd22a319c90b6c5016bc0.tar.gz |
Merge perl_keyword.pl into regen/keywords.pl, to generate keywords.[ch]
Prepend + or - in front of all the keyword names in __DATA__ to mark weak and
strong keywords, needed for keyword.c
As keywords.c needs Devel::Tokenizer::C 0.05, not a core module (and not a
common module either) we can no longer run it as part of regen.pl. So store
the sha256 of the source in the generated files, and use this in to check that
they are not stale (in t/porting/regen.t)
Diffstat (limited to 'Cross')
-rw-r--r-- | Cross/Makefile-cross-SH | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Cross/Makefile-cross-SH b/Cross/Makefile-cross-SH index cc17671283..2ea58f5a9d 100644 --- a/Cross/Makefile-cross-SH +++ b/Cross/Makefile-cross-SH @@ -846,7 +846,6 @@ CHMOD_W = chmod +w # The following files are generated automatically # embed.pl: proto.h embed.h embedvar.h global.sym # perlapi.h perlapi.c -# keywords.pl: keywords.h # opcode.pl: opcode.h opnames.h pp_proto.h # regcomp.pl: regnodes.h # warnings.pl: warnings.h lib/warnings.pm @@ -857,7 +856,7 @@ CHMOD_W = chmod +w # with your existing copy of perl # (make regen_headers is kept for backwards compatibility) -AUTOGEN_FILES = keywords.h opcode.h opnames.h pp_proto.h proto.h \ +AUTOGEN_FILES = opcode.h opnames.h pp_proto.h proto.h \ embed.h embedvar.h global.sym \ perlapi.h perlapi.c regnodes.h \ warnings.h lib/warnings.pm |