Made sequence and choice variadic, and added test suite helper functions
This commit is contained in:
parent
d13fbbf9c4
commit
d5358a724b
5 changed files with 102 additions and 33 deletions
|
|
@ -36,4 +36,5 @@ parse_result_t* do_parse(const parser_t* parser, parse_state_t *state);
|
|||
void put_cached(parse_state_t *ps, const parser_t *p, parse_result_t *cached);
|
||||
guint djbhash(const uint8_t *buf, size_t len);
|
||||
char* write_result_unamb(const parsed_token_t* tok);
|
||||
void pprint(const parsed_token_t* tok, int indent, int delta);
|
||||
#endif // #ifndef HAMMER_INTERNAL__H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue