mirror of
https://github.com/postgres/postgres.git
synced 2025-12-07 12:02:30 +03:00
pgindent run for 9.5
This commit is contained in:
@@ -23,7 +23,7 @@ open(FILE, $in_file) || die("cannot open $in_file");
|
||||
|
||||
while (<FILE>)
|
||||
{
|
||||
next if (! m/<a u="([0-9A-F]+)" b="([0-9A-F ]+)"/);
|
||||
next if (!m/<a u="([0-9A-F]+)" b="([0-9A-F ]+)"/);
|
||||
$u = $1;
|
||||
$c = $2;
|
||||
$c =~ s/ //g;
|
||||
@@ -42,7 +42,7 @@ while (<FILE>)
|
||||
printf STDERR "Warning: duplicate GB18030: %08x\n", $code;
|
||||
next;
|
||||
}
|
||||
$arrayu{$utf} = $code;
|
||||
$arrayu{$utf} = $code;
|
||||
$arrayc{$code} = $utf;
|
||||
$count++;
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ print FILE "/*\n";
|
||||
print FILE " * This file was generated by UCS_to_SHIFT_JIS_2004.pl\n";
|
||||
print FILE " */\n";
|
||||
print FILE
|
||||
"static const pg_utf_to_local_combined ULmapSHIFT_JIS_2004_combined[] = {\n";
|
||||
"static const pg_utf_to_local_combined ULmapSHIFT_JIS_2004_combined[] = {\n";
|
||||
|
||||
for $index (sort { $a cmp $b } keys(%array1))
|
||||
{
|
||||
@@ -212,7 +212,7 @@ print FILE "/*\n";
|
||||
print FILE " * This file was generated by UCS_to_SHIFT_JIS_2004.pl\n";
|
||||
print FILE " */\n";
|
||||
print FILE
|
||||
"static const pg_local_to_utf_combined LUmapSHIFT_JIS_2004_combined[] = {\n";
|
||||
"static const pg_local_to_utf_combined LUmapSHIFT_JIS_2004_combined[] = {\n";
|
||||
|
||||
for $index (sort { $a <=> $b } keys(%array1))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user