aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-01 15:51:14 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-01 15:51:14 +0200
commit05350ec0ed848cd74bc28cb87c540c6a6f8e22d0 (patch)
treefeaa93a90d4c09cf92c3ad9416ead8ccfc6ab5ad
parent8e9c592f1af6d4e428fe65362cce36a39f5844f0 (diff)
Rename __gbrk_lookup.h to __gbrk.h
-rwxr-xr-xgen/gbrk8
-rw-r--r--include/unicode/__gbrk.h (renamed from include/unicode/__gbrk_lookup.h)6
-rw-r--r--lib/unicode/gbrk/u8gnext.c2
3 files changed, 8 insertions, 8 deletions
diff --git a/gen/gbrk b/gen/gbrk
index 8216beb..ff936c3 100755
--- a/gen/gbrk
+++ b/gen/gbrk
@@ -2,13 +2,13 @@
set -e
cd "${0%/*}/.."
-exec >include/unicode/__gbrk_lookup.h
+exec >include/unicode/__gbrk.h
cat <<C
/* This file is autogenerated by gen/gbrk; DO NOT EDIT. */
-#ifndef MLIB_UNICODE___GBRK_LOOKUP_H
-#define MLIB_UNICODE___GBRK_LOOKUP_H
+#ifndef MLIB_UNICODE___GBRK_H
+#define MLIB_UNICODE___GBRK_H
/* clang-format off */
@@ -93,5 +93,5 @@ END {
cat <<C
};
-#endif /* !MLIB_UNICODE___GBRK_LOOKUP_H */
+#endif /* !MLIB_UNICODE___GBRK_H */
C
diff --git a/include/unicode/__gbrk_lookup.h b/include/unicode/__gbrk.h
index e2c7eef..96ea311 100644
--- a/include/unicode/__gbrk_lookup.h
+++ b/include/unicode/__gbrk.h
@@ -1,7 +1,7 @@
/* This file is autogenerated by gen/gbrk; DO NOT EDIT. */
-#ifndef MLIB_UNICODE___GBRK_LOOKUP_H
-#define MLIB_UNICODE___GBRK_LOOKUP_H
+#ifndef MLIB_UNICODE___GBRK_H
+#define MLIB_UNICODE___GBRK_H
/* clang-format off */
@@ -1564,4 +1564,4 @@ static const struct {
{0x0E01F0, 0x0E0FFF, GBP_CTRL},
};
-#endif /* !MLIB_UNICODE___GBRK_LOOKUP_H */
+#endif /* !MLIB_UNICODE___GBRK_H */
diff --git a/lib/unicode/gbrk/u8gnext.c b/lib/unicode/gbrk/u8gnext.c
index e78a335..f3f7afc 100644
--- a/lib/unicode/gbrk/u8gnext.c
+++ b/lib/unicode/gbrk/u8gnext.c
@@ -2,7 +2,7 @@
#include "__bsearch.h"
#include "mbstring.h"
-#include "unicode/__gbrk_lookup.h"
+#include "unicode/__gbrk.h"
#include "unicode/gbrk.h"
struct gbrk_state {