git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
digraphs: mkdigraphlist: avoid undefinedness warnings
[sheet.git]
/
digraphs.plp
diff --git
a/digraphs.plp
b/digraphs.plp
index ce149628c324a074854e2d7eebacf85341bc6db2..84ac97133fccb16f8e7e3b122e830e604d1b1586 100644
(file)
--- a/
digraphs.plp
+++ b/
digraphs.plp
@@
-23,7
+23,8
@@
Also see <a href="/unicode">common digraphs</a>.</p>
are available as <a href="/digraphs.vim">ex commands</a>.</p>
<:
are available as <a href="/digraphs.vim">ex commands</a>.</p>
<:
-my $di = do 'digraphs.inc.pl';
+my $di = do 'digraphs.inc.pl'
+ or die "Error loading digraphs data: ", $@ // $!;
my @chars = (
[qw{! " % ' ( ) * + , - . /}],
my @chars = (
[qw{! " % ' ( ) * + , - . /}],
@@
-66,7
+67,7
@@
for my $c1group (@chars) {
my @class = ('X', grep {$_} $prop, $script);
$glyph = EscapeHTML($glyph);
my @class = ('X', grep {$_} $prop, $script);
$glyph = EscapeHTML($glyph);
- $glyph = "<span>$glyph</span>" if $
prop
=~ /\bZs\b/;
+ $glyph = "<span>$glyph</span>" if $
script
=~ /\bZs\b/;
printf "\n".'<td class="%s" title="%s">%s',
join(' ', @class), EscapeHTML($desc), $glyph;
printf "\n".'<td class="%s" title="%s">%s',
join(' ', @class), EscapeHTML($desc), $glyph;