From ef6b478a83ff1855aa6cc65f5d898d056825f0fe Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sun, 22 Feb 2015 21:56:57 +0100 Subject: [PATCH] digraphs: distinguishing class for rfc-only in include Vim does not support all entries in the standard, typically characters without modern Unicode code points. --- tools/mkdigraphlist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/mkdigraphlist b/tools/mkdigraphlist index 500abbb..216be6a 100755 --- a/tools/mkdigraphlist +++ b/tools/mkdigraphlist @@ -35,8 +35,8 @@ printf "q{%s}=>[%s],\n", s/(?=[\\}])/\\/gr, join(',', map {"'$_'"} $uninfo->{ $di->{$_} }->[1] // '', # name $vim->{$_} - ? $rfc->{$_} ? 'u-di' : 'u-prop' # vim+rfc or vim-only - : 'u-prop ex', # neither + ? $rfc->{$_} ? 'u-di' : 'u-prop' # vim+rfc or vim only + : $rfc->{$_} ? 'ex' : 'u-prop ex', # rfc only or neither ($uninfo->{ $di->{$_} }->[0] // '') =~ s/ u-di| u-prop| ex//gr, # class $uninfo->{ $di->{$_} }->[4] // (), # string ) for sort keys %{$di}; -- 2.30.0