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/reader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/reader.h') 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 -- cgit v1.2.3-18-g5258