X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/f1b14de9ebe722dfb26594fe50d66e1c2db6471f..d25b073721467bd0812b5dac7fdbfedb2b269c51:/tools/mkcharinfo diff --git a/tools/mkcharinfo b/tools/mkcharinfo index dfcd13d..66f3a00 100755 --- a/tools/mkcharinfo +++ b/tools/mkcharinfo @@ -8,7 +8,7 @@ no if $] >= 5.018, warnings => 'experimental::smartmatch'; use open OUT => ':utf8', ':std'; use Data::Dump 'pp'; -our $VERSION = '1.00'; +our $VERSION = '1.01'; my %info = ( # prepare presentational string for some control(lish) entries @@ -58,8 +58,8 @@ for (sort keys %diinc) { my $cp = $di->{$mnem}; length $mnem == 2 or next; # limit to digraphs my $class = $diinc{$_}; - $info{chr $cp}->{di} //= $mnem; - $info{chr $cp}->{class}->{$class}++; + $info{$cp}->{di} //= $mnem; + $info{$cp}->{class}->{$class}++; } }