Expanded vtable for methods to determine whether a combinator is ok to use with regular or CF grammars.
This commit is contained in:
parent
8163b3981d
commit
36e1f66de0
25 changed files with 200 additions and 4 deletions
|
|
@ -22,6 +22,8 @@ static HParseResult* parse_token(void *env, HParseState *state) {
|
|||
|
||||
const HParserVtable token_vt = {
|
||||
.parse = parse_token,
|
||||
.isValidRegular = h_true,
|
||||
.isValidCF = h_true,
|
||||
};
|
||||
|
||||
const HParser* h_token(const uint8_t *str, const size_t len) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue