aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {