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 /keywords.h | |
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 'keywords.h')
-rw-r--r-- | keywords.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/keywords.h b/keywords.h index 7915fc7f5e..b821121780 100644 --- a/keywords.h +++ b/keywords.h @@ -267,4 +267,6 @@ #define KEY_xor 251 #define KEY_y 252 -/* ex: set ro: */ +/* Generated from: + * 28d95638560707fb8bee100dab74c90107c3e000f635e3bd310d4e2501d3b073 regen/keywords.pl + * ex: set ro: */ |