summaryrefslogtreecommitdiff
path: root/regen/keywords.pl
diff options
context:
space:
mode:
authorLukas Mai <l.mai@web.de>2016-01-08 02:29:09 +0100
committerLukas Mai <l.mai@web.de>2016-01-08 02:29:09 +0100
commit9c096387519b81520f9bffc8b3223dac918d739a (patch)
treec6ad846dedd6084b6e9ec39eca592bfecff6e861 /regen/keywords.pl
parent283304ddd428e4de67f7981af9fd3b60914ca70e (diff)
downloadperl-9c096387519b81520f9bffc8b3223dac918d739a.tar.gz
Deparse.pm lives in lib/B now, not dist/B-Deparse
Diffstat (limited to 'regen/keywords.pl')
-rwxr-xr-xregen/keywords.pl29
1 files changed, 12 insertions, 17 deletions
diff --git a/regen/keywords.pl b/regen/keywords.pl
index b77fd67558..eafe58c480 100755
--- a/regen/keywords.pl
+++ b/regen/keywords.pl
@@ -34,24 +34,19 @@ while (<DATA>) {
}
# If this hash changes, make sure the equivalent hash in
-# dist/B-Deparse/Deparse.pm is also updated.
+# lib/B/Deparse.pm (%feature_keywords) is also updated.
my %feature_kw = (
- given => 'switch',
- when => 'switch',
- default => 'switch',
- # continue is already a keyword
- break => 'switch',
-
- say => 'say',
-
- state => 'state',
-
- evalbytes=>'evalbytes',
-
- __SUB__ => '__SUB__',
-
- fc => 'fc',
- );
+ state => 'state',
+ say => 'say',
+ given => 'switch',
+ when => 'switch',
+ default => 'switch',
+ # continue is already a keyword
+ break => 'switch',
+ evalbytes => 'evalbytes',
+ __SUB__ => '__SUB__',
+ fc => 'fc',
+);
my %pos = map { ($_ => 1) } @{$by_strength{'+'}};