wrote some more tests, waiting for tq to finish revising harness

This commit is contained in:
Meredith L. Patterson 2012-05-12 00:24:56 +01:00
parent d13fbbf9c4
commit 2c5911c0aa
2 changed files with 42 additions and 14 deletions

View file

@ -155,7 +155,7 @@ const parser_t* choice(const parser_t* p_array[]);
/* Given two parsers, p1 and p2, this parser succeeds in the following cases:
* - if p1 succeeds and p2 fails
* - if both succeed but p1's result is shorter than p2's
* - if both succeed but p1's result is as long as or shorter than p2's
*/
const parser_t* butnot(const parser_t* p1, const parser_t* p2);