summaryrefslogtreecommitdiff
path: root/lib/unicase/locale-languages.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-10-24 22:25:44 +0200
committerJörg Frings-Fürst <debian@jff.email>2022-10-24 22:25:44 +0200
commitcb4186bef1b44691db4221406d001a8d40c65b4b (patch)
tree285662381eaa0514f988142bff0c8a9685c84dc0 /lib/unicase/locale-languages.h
parentcc0876a2fa9e703b1064992ab535f3eed57e9c71 (diff)
parent26112352a774737e1ce5580c93654a26c1e82b39 (diff)
Update upstream source from tag 'upstream/1.1'
Update to upstream version '1.1' with Debian dir acc8a9214de592a0bbbdb680385559210b329d52
Diffstat (limited to 'lib/unicase/locale-languages.h')
-rw-r--r--lib/unicase/locale-languages.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/unicase/locale-languages.h b/lib/unicase/locale-languages.h
index 248e2e3..1deb4c4 100644
--- a/lib/unicase/locale-languages.h
+++ b/lib/unicase/locale-languages.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 ./unicase/locale-languages.gperf */
/* Computed positions: -k'1-3' */
@@ -84,9 +84,19 @@ uc_locale_language_hash (register const char *str, register size_t len)
{
default:
hval += asso_values[(unsigned char)str[2]+2];
+#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 2:
hval += asso_values[(unsigned char)str[1]+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 1:
hval += asso_values[(unsigned char)str[0]+3];