diff options
Diffstat (limited to 'regen')
-rwxr-xr-x | regen/feature.pl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/regen/feature.pl b/regen/feature.pl index a6896fe030..8e11f990fa 100755 --- a/regen/feature.pl +++ b/regen/feature.pl @@ -213,14 +213,12 @@ print $h <<EOH; #define HINT_FEATURE_SHIFT $HintShift -#define FEATURE_BUNDLE_DEFAULT 0 EOH my $count; -for (sort values %UniqueBundles) { - (my $key = $_) =~ y/.//d; - next if $key =~ /\D/; - print $h "#define FEATURE_BUNDLE_$key ", ++$count, "\n"; +for (@HintedBundles) { + (my $key = uc) =~ y/.//d; + print $h "#define FEATURE_BUNDLE_$key ", $count++, "\n"; } print $h <<EOH; |