mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
perltidy: Add option --nooutdent-long-comments
This commit is contained in:
@@ -62,9 +62,9 @@ foreach my $i (@$all)
|
||||
my $code = $i->{code};
|
||||
my $ucs = $i->{ucs};
|
||||
|
||||
# BIG5.TXT maps several BIG5 characters to U+FFFD. The UTF-8 to BIG5 mapping can
|
||||
# contain only one of them. XXX: Doesn't really make sense to include any of them,
|
||||
# but for historical reasons, we map the first one of them.
|
||||
# BIG5.TXT maps several BIG5 characters to U+FFFD. The UTF-8 to BIG5 mapping can
|
||||
# contain only one of them. XXX: Doesn't really make sense to include any of them,
|
||||
# but for historical reasons, we map the first one of them.
|
||||
if ($i->{ucs} == 0xFFFD && $i->{code} != 0xA15A)
|
||||
{
|
||||
$i->{direction} = TO_UNICODE;
|
||||
|
||||
@@ -138,11 +138,11 @@ sub print_conversion_tables_direction
|
||||
print $out "/* src/backend/utils/mb/Unicode/$fname */\n";
|
||||
print $out "/* This file is generated by $this_script */\n\n";
|
||||
|
||||
# Collect regular, non-combined, mappings, and create the radix tree from them.
|
||||
# Collect regular, non-combined, mappings, and create the radix tree from them.
|
||||
my $charmap = &make_charmap($out, $charset, $direction, 0);
|
||||
print_radix_table($out, $tblname, $charmap);
|
||||
|
||||
# Collect combined characters, and create combined character table (if any)
|
||||
# Collect combined characters, and create combined character table (if any)
|
||||
my $charmap_combined = &make_charmap_combined($charset, $direction);
|
||||
|
||||
if (scalar @{$charmap_combined} > 0)
|
||||
|
||||
Reference in New Issue
Block a user