summaryrefslogtreecommitdiff
path: root/lib/unictype/incb_byname.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unictype/incb_byname.h')
-rw-r--r--lib/unictype/incb_byname.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/lib/unictype/incb_byname.h b/lib/unictype/incb_byname.h
index 7ec38887..5146c546 100644
--- a/lib/unictype/incb_byname.h
+++ b/lib/unictype/incb_byname.h
@@ -1,5 +1,5 @@
-/* ANSI-C code produced by gperf version 3.2 */
-/* Command-line: gperf -m 10 ./unictype/incb_byname.gperf */
+/* ANSI-C code produced by gperf version 3.3 */
+/* Command-line: gperf -m 10 unictype/incb_byname.gperf */
/* Computed positions: -k'1' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
@@ -29,7 +29,7 @@
#error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gperf@gnu.org>."
#endif
-#line 25 "./unictype/incb_byname.gperf"
+#line 25 "unictype/incb_byname.gperf"
struct named_indic_conjunct_break { int name; int indic_conjunct_break; };
#define TOTAL_KEYWORDS 4
@@ -138,20 +138,27 @@ static const struct indic_conjunct_break_stringpool_t indic_conjunct_break_strin
};
#define indic_conjunct_break_stringpool ((const char *) &indic_conjunct_break_stringpool_contents)
+#if (defined __GNUC__ && __GNUC__ + (__GNUC_MINOR__ >= 6) > 4) || (defined __clang__ && __clang_major__ >= 3)
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
+#endif
static const struct named_indic_conjunct_break indic_conjunct_break_names[] =
{
{-1}, {-1}, {-1}, {-1},
-#line 37 "./unictype/incb_byname.gperf"
+#line 37 "unictype/incb_byname.gperf"
{(int)(size_t)&((struct indic_conjunct_break_stringpool_t *)0)->indic_conjunct_break_stringpool_str4, UC_INDIC_CONJUNCT_BREAK_NONE},
{-1},
-#line 39 "./unictype/incb_byname.gperf"
+#line 39 "unictype/incb_byname.gperf"
{(int)(size_t)&((struct indic_conjunct_break_stringpool_t *)0)->indic_conjunct_break_stringpool_str6, UC_INDIC_CONJUNCT_BREAK_LINKER},
-#line 40 "./unictype/incb_byname.gperf"
+#line 40 "unictype/incb_byname.gperf"
{(int)(size_t)&((struct indic_conjunct_break_stringpool_t *)0)->indic_conjunct_break_stringpool_str7, UC_INDIC_CONJUNCT_BREAK_EXTEND},
{-1},
-#line 38 "./unictype/incb_byname.gperf"
+#line 38 "unictype/incb_byname.gperf"
{(int)(size_t)&((struct indic_conjunct_break_stringpool_t *)0)->indic_conjunct_break_stringpool_str9, UC_INDIC_CONJUNCT_BREAK_CONSONANT}
};
+#if (defined __GNUC__ && __GNUC__ + (__GNUC_MINOR__ >= 6) > 4) || (defined __clang__ && __clang_major__ >= 3)
+#pragma GCC diagnostic pop
+#endif
static const struct named_indic_conjunct_break *
uc_indic_conjunct_break_lookup (register const char *str, register size_t len)
@@ -172,5 +179,5 @@ uc_indic_conjunct_break_lookup (register const char *str, register size_t len)
}
}
}
- return 0;
+ return (struct named_indic_conjunct_break *) 0;
}