Made sequence and choice variadic, and added test suite helper functions

This commit is contained in:
Dan Hirsch 2012-05-12 00:40:54 +01:00
parent d13fbbf9c4
commit d5358a724b
5 changed files with 102 additions and 33 deletions

View file

@ -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