summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-01-11 09:58:43 +0800
committerJSDurand <mmemmew@gmail.com>2022-01-11 09:58:43 +0800
commit91016bd3855375796fd1eabd501ebc12491f2655 (patch)
treec4a608966b686c9639a90b92c31c00632532fac8 /src/util.c
parent949888ad5d0cd0f9f9a87f9938a632b3e32df051 (diff)
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.
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index a04ef77..1af8e5e 100644
--- a/src/util.c
+++ b/src/util.c
@@ -12,7 +12,7 @@
Note that the length of the string str is actually 1+length, and
the last character is the null character. */
-unsigned char
+BOOL
read_entire_file(const char *file_name, char **str, NUM *len)
{
long file_size = 0;