From 6318ddb69ad8380694bbca35ca5a72230c2ee694 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Thu, 28 Oct 2021 11:55:47 -0700 Subject: Feat(libunicode): cleaned up decode/encode Additionally, decode can now apply backwards on a byte string. --- sys/libunicode/vendor/mkrunetype.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/libunicode/vendor/mkrunetype.c') 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 \n"); + fprintf(stderr, "usage: mkrunetype \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); -- cgit v1.2.1