add h_in (counterpart to h_not_in)
This commit is contained in:
parent
7678e8dd68
commit
2d5b90e174
2 changed files with 18 additions and 3 deletions
|
|
@ -224,6 +224,13 @@ const HParser* h_whitespace(const HParser* p);
|
|||
*/
|
||||
const HParser* h_action(const HParser* p, const HAction a);
|
||||
|
||||
/**
|
||||
* Parse a single character in the given charset.
|
||||
*
|
||||
* Result token type: TT_UINT
|
||||
*/
|
||||
const HParser* h_in(const uint8_t *charset, size_t length);
|
||||
|
||||
/**
|
||||
* Parse a single character *NOT* in the given charset.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue