From a7f2f6adc240a2823c2344b89e90bb630dea8803 Mon Sep 17 00:00:00 2001 From: Jeff Davis Date: Wed, 16 Oct 2024 12:21:13 -0700 Subject: [PATCH] Whitespace fixup from generated unicode tables. When running the 'update-unicode' build target, generate files that conform to pgindent whitespace rules. --- src/common/unicode/generate-unicode_case_table.pl | 4 ++-- src/common/unicode/generate-unicode_category_table.pl | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/unicode/generate-unicode_case_table.pl b/src/common/unicode/generate-unicode_case_table.pl index 508b05af8e9..464dec04db6 100644 --- a/src/common/unicode/generate-unicode_case_table.pl +++ b/src/common/unicode/generate-unicode_case_table.pl @@ -92,13 +92,13 @@ typedef enum CaseTitle = 1, CaseUpper = 2, NCaseKind -} CaseKind; +} CaseKind; typedef struct { pg_wchar codepoint; /* Unicode codepoint */ pg_wchar simplemap[NCaseKind]; -} pg_case_map; +} pg_case_map; /* * Case mapping table. Dense for codepoints < 0x80 (enabling fast lookup), diff --git a/src/common/unicode/generate-unicode_category_table.pl b/src/common/unicode/generate-unicode_category_table.pl index 12914c02433..d023aa0aafa 100644 --- a/src/common/unicode/generate-unicode_category_table.pl +++ b/src/common/unicode/generate-unicode_category_table.pl @@ -369,19 +369,19 @@ typedef struct uint32 first; /* Unicode codepoint */ uint32 last; /* Unicode codepoint */ uint8 category; /* General Category */ -} pg_category_range; +} pg_category_range; typedef struct { uint32 first; /* Unicode codepoint */ uint32 last; /* Unicode codepoint */ -} pg_unicode_range; +} pg_unicode_range; typedef struct { uint8 category; uint8 properties; -} pg_unicode_properties; +} pg_unicode_properties; /* * The properties currently used, in no particular order. Fits in a uint8, but