digraphs: mark reversed matches
[sheet.git] / digraphs.plp
index b62b57774b9f85a425dc9b84ed6b3b26e2c62c0f..075a398ceb6bce8faf7b4424433e44a497f2557b 100644 (file)
@@ -57,6 +57,10 @@ for my $c1group (@chars) {
                                print '<td>';
                                next;
                        }
                                print '<td>';
                                next;
                        }
+                       if (ref $di->{$mnem} ne 'ARRAY') {
+                               printf '<td class="X Xr" title="%s">', quote($mnem);
+                               next;
+                       }
                        my ($codepoint, $name, $prop, $script) = @{ $di->{$mnem} };
 
                        my $glyph = chr $codepoint;
                        my ($codepoint, $name, $prop, $script) = @{ $di->{$mnem} };
 
                        my $glyph = chr $codepoint;