Closed mingodad closed 11 months ago
Trying to replace global variables in gram_grep I found that parsertl::basic_rules<char, unsigned short>::validate()::accept_ is missing const:
gram_grep
parsertl::basic_rules<char, unsigned short>::validate()::accept_
const
-------------------------- include/parsertl/rules.hpp -------------------------- index 5bf430c..201962c 100644 @@ -664,7 +664,7 @@ namespace parsertl } } - static char_type accept_[] = + static const char_type accept_[] = { '$', 'a', 'c', 'c', 'e', 'p', 't', '\0' };
Done
Trying to replace global variables in
gram_grep
I found thatparsertl::basic_rules<char, unsigned short>::validate()::accept_
is missingconst
: