Skip to content

Commit 344dedf

Browse files
committed
Remove some whitespace in generated C output
It doesn't match the normal coding style. Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi> Discussion: https://www.postgresql.org/message-id/flat/22016aa9-ca59-15c7-01df-f292cb558c4d@enterprisedb.com
1 parent 4d56115 commit 344dedf

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/backend/utils/mb/Unicode/convutils.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ sub print_from_utf8_combined_map
173173

174174
printf $out "\n/* Combined character map */\n";
175175
printf $out
176-
"static const pg_utf_to_local_combined ULmap${charset}_combined[ %d ] = {",
176+
"static const pg_utf_to_local_combined ULmap${charset}_combined[%d] = {",
177177
scalar(@$table);
178178
my $first = 1;
179179
foreach my $i (sort { $a->{utf8} <=> $b->{utf8} } @$table)
@@ -208,7 +208,7 @@ sub print_to_utf8_combined_map
208208

209209
printf $out "\n/* Combined character map */\n";
210210
printf $out
211-
"static const pg_local_to_utf_combined LUmap${charset}_combined[ %d ] = {",
211+
"static const pg_local_to_utf_combined LUmap${charset}_combined[%d] = {",
212212
scalar(@$table);
213213

214214
my $first = 1;

src/backend/utils/mb/Unicode/euc_jis_2004_to_utf8.map

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3414,7 +3414,7 @@ static const uint32 euc_jis_2004_to_unicode_tree_table[11727] =
34143414
};
34153415

34163416
/* Combined character map */
3417-
static const pg_local_to_utf_combined LUmapEUC_JIS_2004_combined[ 25 ] = {
3417+
static const pg_local_to_utf_combined LUmapEUC_JIS_2004_combined[25] = {
34183418
{0xa4f7, 0x00e3818b, 0x00e3829a}, /* U+304B+309A [2000] */
34193419
{0xa4f8, 0x00e3818d, 0x00e3829a}, /* U+304D+309A [2000] */
34203420
{0xa4f9, 0x00e3818f, 0x00e3829a}, /* U+304F+309A [2000] */

src/backend/utils/mb/Unicode/shift_jis_2004_to_utf8.map

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3205,7 +3205,7 @@ static const uint32 shift_jis_2004_to_unicode_tree_table[11716] =
32053205
};
32063206

32073207
/* Combined character map */
3208-
static const pg_local_to_utf_combined LUmapSHIFT_JIS_2004_combined[ 25 ] = {
3208+
static const pg_local_to_utf_combined LUmapSHIFT_JIS_2004_combined[25] = {
32093209
{0x82f5, 0x00e3818b, 0x00e3829a}, /* U+304B+309A [2000] */
32103210
{0x82f6, 0x00e3818d, 0x00e3829a}, /* U+304D+309A [2000] */
32113211
{0x82f7, 0x00e3818f, 0x00e3829a}, /* U+304F+309A [2000] */

src/backend/utils/mb/Unicode/utf8_to_euc_jis_2004.map

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12538,7 +12538,7 @@ static const uint32 euc_jis_2004_from_unicode_tree_table[39163] =
1253812538
};
1253912539

1254012540
/* Combined character map */
12541-
static const pg_utf_to_local_combined ULmapEUC_JIS_2004_combined[ 25 ] = {
12541+
static const pg_utf_to_local_combined ULmapEUC_JIS_2004_combined[25] = {
1254212542
{0x0000c3a6, 0x0000cc80, 0xabc4}, /* U+00E6+0300 [2000] */
1254312543
{0x0000c994, 0x0000cc80, 0xabc8}, /* U+0254+0300 [2000] */
1254412544
{0x0000c994, 0x0000cc81, 0xabc9}, /* U+0254+0301 [2000] */

src/backend/utils/mb/Unicode/utf8_to_shift_jis_2004.map

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7656,7 +7656,7 @@ static const uint16 shift_jis_2004_from_unicode_tree_table[39196] =
76567656
};
76577657

76587658
/* Combined character map */
7659-
static const pg_utf_to_local_combined ULmapSHIFT_JIS_2004_combined[ 25 ] = {
7659+
static const pg_utf_to_local_combined ULmapSHIFT_JIS_2004_combined[25] = {
76607660
{0x0000c3a6, 0x0000cc80, 0x8663}, /* U+00E6+0300 [2000] */
76617661
{0x0000c994, 0x0000cc80, 0x8667}, /* U+0254+0300 [2000] */
76627662
{0x0000c994, 0x0000cc81, 0x8668}, /* U+0254+0301 [2000] */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy