Whitespace fixup from generated unicode tables.
authorJeff Davis <[email protected]>
Wed, 16 Oct 2024 19:21:13 +0000 (12:21 -0700)
committerJeff Davis <[email protected]>
Wed, 16 Oct 2024 19:21:13 +0000 (12:21 -0700)
When running the 'update-unicode' build target, generate files that
conform to pgindent whitespace rules.

src/common/unicode/generate-unicode_case_table.pl
src/common/unicode/generate-unicode_category_table.pl

index 508b05af8e9e19bdb1da0d442a33facca9cf19e2..464dec04db6610f27d889355aff852f346f3aaa2 100644 (file)
@@ -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),
index 12914c0243399561d98925f1a966be863ab17d25..d023aa0aafa2281f466b3267ca31b374371f64f3 100644 (file)
@@ -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