tools: prefix all generated includes by automation comment
[sheet.git] / tools / mkdigraphlist
index a1bfbcd05476d2bd77c6ee52365a1529d26256fd..96ec5349676f5d3f72762e81f7d856f4d89d7b30 100755 (executable)
@@ -141,6 +141,9 @@ for (keys %di) {
 }
 # presentational string for some control(lish) entries
 $info{$_}->{string} = '-' for grep { $di{$_} == 0x00AD } keys %di;
+$info{$_}->{string} = '␣' for grep { $di{$_} == 0x200B } keys %di;
+$info{$_}->{string} = '|' for grep { $di{$_} == 0x200C } keys %di;
+$info{$_}->{string} = '⁀' for grep { $di{$_} == 0x200D } keys %di;
 $info{$_}->{string} = '→' for grep { $di{$_} == 0x200E } keys %di;
 $info{$_}->{string} = '←' for grep { $di{$_} == 0x200F } keys %di;
 
@@ -153,6 +156,7 @@ for my $row (values %info) {
 
 # output perl code of hash
 # (assume no backslashes or curlies, so we can just q{} w/o escaping)
+print "# automatically generated by $0\n";
 print "use utf8;\n";
 print "+{\n";
 printf '(map {$_=>0} qw{%s}),'."\n", join(' ',