From 91016bd3855375796fd1eabd501ebc12491f2655 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Tue, 11 Jan 2022 09:58:43 +0800 Subject: Add the framework for character classes. Now we have the potential to recognize character classes. But the most important task for us now is to experiment with ((B)RN)GLR algorithms, so we leave the character classes at the present state for a moment. --- src/utf8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utf8.h') diff --git a/src/utf8.h b/src/utf8.h index 5b3c9f2..f5e7be1 100644 --- a/src/utf8.h +++ b/src/utf8.h @@ -20,6 +20,6 @@ typedef enum UTF8_State_e UTF8_State; utf8 *new_utf8(char *string, UNUM size); -unsigned char encode(NUM code_point, str *result); +BOOL encode(NUM code_point, str *result); #endif -- cgit v1.2.3-18-g5258