aboutsummaryrefslogtreecommitdiff
path: root/sys/libunicode/vendor/mkrunetype.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-10-28 11:55:47 -0700
committerNicholas Noll <nbnoll@eml.cc>2021-10-28 11:55:47 -0700
commit6318ddb69ad8380694bbca35ca5a72230c2ee694 (patch)
treee9ef65d79c264d88c2d02402a587c2561b5b1299 /sys/libunicode/vendor/mkrunetype.c
parent189b9e23edfe60b7e82c4c7b6071a3f98799653a (diff)
Feat(libunicode): cleaned up decode/encode
Additionally, decode can now apply backwards on a byte string.
Diffstat (limited to 'sys/libunicode/vendor/mkrunetype.c')
-rw-r--r--sys/libunicode/vendor/mkrunetype.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/libunicode/vendor/mkrunetype.c b/sys/libunicode/vendor/mkrunetype.c
index 0372e2b..fc4301c 100644
--- a/sys/libunicode/vendor/mkrunetype.c
+++ b/sys/libunicode/vendor/mkrunetype.c
@@ -418,7 +418,7 @@ static
void
usage(void)
{
- fprintf(stderr, "usage: mkutf8data <UnicodeData.txt>\n");
+ fprintf(stderr, "usage: mkrunetype <UnicodeData.txt>\n");
exit(1);
}
@@ -564,6 +564,7 @@ main(int argc, char *argv[])
makeis("upper", table.isupper, 1, 0);
makeis("lower", table.islower, 1, 0);
makeis("title", table.istitle, 1, 0);
+ makeis("punct", table.ispunct, 1, 0);
mkto("upper", table.toupper, 1, 0);
mkto("lower", table.tolower, 1, 0);