summaryrefslogtreecommitdiff
path: root/src/str_partial.h
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/str_partial.h
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/str_partial.h')
-rw-r--r--src/str_partial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/str_partial.h b/src/str_partial.h
index 9d4fbd6..2373555 100644
--- a/src/str_partial.h
+++ b/src/str_partial.h
@@ -3,7 +3,7 @@
/* This is meant to be extended, and only has minimal necessary
fields. */
-typedef str_info (*info_getter) (str *, UNUM);
+typedef str_info (*info_getter) (const str * const restrict , UNUM);
struct str_s {
UNUM size; /* the size in bytes, not in chars */