diff options
author | Karl Williamson <khw@cpan.org> | 2014-07-26 22:06:36 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-01-21 22:47:30 -0700 |
commit | 5a7e5385bd8bbdd89b9895cd76e2f12737e8ecad (patch) | |
tree | 4651b91366feee62573403471b79b1ceefb7a5d9 /regen | |
parent | fb4554ea575cd40c27a3dbf2db365721e5cc88a1 (diff) | |
download | perl-5a7e5385bd8bbdd89b9895cd76e2f12737e8ecad.tar.gz |
regen/mk_invlists.pl: Rename function
The new name more clearly reflects its input restrictions
Diffstat (limited to 'regen')
-rw-r--r-- | regen/mk_invlists.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/regen/mk_invlists.pl b/regen/mk_invlists.pl index 9147baf2ca..a659f73434 100644 --- a/regen/mk_invlists.pl +++ b/regen/mk_invlists.pl @@ -86,7 +86,7 @@ sub output_invlist ($$;$) { print $out_fh "};\n"; } -sub mk_invlist_from_cp_list { +sub mk_invlist_from_sorted_cp_list { # Returns an inversion list constructed from the sorted input array of # code points @@ -132,11 +132,11 @@ for my $i (0 .. @$folds_ref - 1) { sub _Perl_Non_Final_Folds { @is_non_final_fold = sort { $a <=> $b } @is_non_final_fold; - return mk_invlist_from_cp_list(\@is_non_final_fold); + return mk_invlist_from_sorted_cp_list(\@is_non_final_fold); } sub UpperLatin1 { - return mk_invlist_from_cp_list([ 128 .. 255 ]); + return mk_invlist_from_sorted_cp_list([ 128 .. 255 ]); } output_invlist("Latin1", [ 0, 256 ]); @@ -270,7 +270,7 @@ for my $charset (get_supported_code_pages()) { # list format. Then simply prepend it to the list of the higher # code points. @latin1_list = sort { $a <=> $b } @latin1_list; - @latin1_list = mk_invlist_from_cp_list(\@latin1_list); + @latin1_list = mk_invlist_from_sorted_cp_list(\@latin1_list); unshift @invlist, @latin1_list; } |