1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-11 05:41:32 +03:00

Whitespace fixup from generated unicode tables.

When running the 'update-unicode' build target, generate files that
conform to pgindent whitespace rules.
This commit is contained in:
Jeff Davis 2024-10-16 12:21:13 -07:00
parent b360d1762b
commit a7f2f6adc2
2 changed files with 5 additions and 5 deletions

View File

@ -92,13 +92,13 @@ typedef enum
CaseTitle = 1, CaseTitle = 1,
CaseUpper = 2, CaseUpper = 2,
NCaseKind NCaseKind
} CaseKind; } CaseKind;
typedef struct typedef struct
{ {
pg_wchar codepoint; /* Unicode codepoint */ pg_wchar codepoint; /* Unicode codepoint */
pg_wchar simplemap[NCaseKind]; pg_wchar simplemap[NCaseKind];
} pg_case_map; } pg_case_map;
/* /*
* Case mapping table. Dense for codepoints < 0x80 (enabling fast lookup), * Case mapping table. Dense for codepoints < 0x80 (enabling fast lookup),

View File

@ -369,19 +369,19 @@ typedef struct
uint32 first; /* Unicode codepoint */ uint32 first; /* Unicode codepoint */
uint32 last; /* Unicode codepoint */ uint32 last; /* Unicode codepoint */
uint8 category; /* General Category */ uint8 category; /* General Category */
} pg_category_range; } pg_category_range;
typedef struct typedef struct
{ {
uint32 first; /* Unicode codepoint */ uint32 first; /* Unicode codepoint */
uint32 last; /* Unicode codepoint */ uint32 last; /* Unicode codepoint */
} pg_unicode_range; } pg_unicode_range;
typedef struct typedef struct
{ {
uint8 category; uint8 category;
uint8 properties; uint8 properties;
} pg_unicode_properties; } pg_unicode_properties;
/* /*
* The properties currently used, in no particular order. Fits in a uint8, but * The properties currently used, in no particular order. Fits in a uint8, but