summaryrefslogtreecommitdiff
path: root/src/reader.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/reader.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/reader.h')
-rw-r--r--src/reader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.h b/src/reader.h
index 65ee7ef..4351055 100644
--- a/src/reader.h
+++ b/src/reader.h
@@ -5,6 +5,6 @@
#include "utf8.h"
#include "grammar.h"
-Grammar *read_grammar_from_bnf(str *s);
+Grammar *read_grammar_from_bnf(const str * const restrict s);
#endif