summaryrefslogtreecommitdiff
path: root/lib/unictype/pr_byname.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-10-24 22:26:08 +0200
committerJörg Frings-Fürst <debian@jff.email>2022-10-24 22:26:08 +0200
commite97e0882ffc87a91e7818137196f1b74134566df (patch)
tree285662381eaa0514f988142bff0c8a9685c84dc0 /lib/unictype/pr_byname.h
parentcc0876a2fa9e703b1064992ab535f3eed57e9c71 (diff)
parentcb4186bef1b44691db4221406d001a8d40c65b4b (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'lib/unictype/pr_byname.h')
-rw-r--r--lib/unictype/pr_byname.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/lib/unictype/pr_byname.h b/lib/unictype/pr_byname.h
index 377076b..fa9d341 100644
--- a/lib/unictype/pr_byname.h
+++ b/lib/unictype/pr_byname.h
@@ -1,4 +1,4 @@
-/* ANSI-C code produced by gperf version 3.1 */
+/* ANSI-C code produced by gperf version 3.2 */
/* Command-line: gperf -m 10 ./unictype/pr_byname.gperf */
/* Computed positions: -k'1-2,8,14,18,$' */
@@ -71,12 +71,22 @@ properties_hash (register const char *str, register size_t len)
{
default:
hval += asso_values[(unsigned char)str[17]];
+#if defined __cplusplus && (__cplusplus >= 201703L || (__cplusplus >= 201103L && defined __clang_major__ && defined __clang_minor__ && __clang_major__ + (__clang_minor__ >= 9) > 3))
+ [[fallthrough]];
+#elif defined __GNUC__ && __GNUC__ >= 7
+ __attribute__ ((__fallthrough__));
+#endif
/*FALLTHROUGH*/
case 17:
case 16:
case 15:
case 14:
hval += asso_values[(unsigned char)str[13]];
+#if defined __cplusplus && (__cplusplus >= 201703L || (__cplusplus >= 201103L && defined __clang_major__ && defined __clang_minor__ && __clang_major__ + (__clang_minor__ >= 9) > 3))
+ [[fallthrough]];
+#elif defined __GNUC__ && __GNUC__ >= 7
+ __attribute__ ((__fallthrough__));
+#endif
/*FALLTHROUGH*/
case 13:
case 12:
@@ -85,6 +95,11 @@ properties_hash (register const char *str, register size_t len)
case 9:
case 8:
hval += asso_values[(unsigned char)str[7]];
+#if defined __cplusplus && (__cplusplus >= 201703L || (__cplusplus >= 201103L && defined __clang_major__ && defined __clang_minor__ && __clang_major__ + (__clang_minor__ >= 9) > 3))
+ [[fallthrough]];
+#elif defined __GNUC__ && __GNUC__ >= 7
+ __attribute__ ((__fallthrough__));
+#endif
/*FALLTHROUGH*/
case 7:
case 6:
@@ -93,6 +108,11 @@ properties_hash (register const char *str, register size_t len)
case 3:
case 2:
hval += asso_values[(unsigned char)str[1]];
+#if defined __cplusplus && (__cplusplus >= 201703L || (__cplusplus >= 201103L && defined __clang_major__ && defined __clang_minor__ && __clang_major__ + (__clang_minor__ >= 9) > 3))
+ [[fallthrough]];
+#elif defined __GNUC__ && __GNUC__ >= 7
+ __attribute__ ((__fallthrough__));
+#endif
/*FALLTHROUGH*/
case 1:
hval += asso_values[(unsigned char)str[0]];