Merged TQ's changes. Started on attr_bool and action.

This commit is contained in:
Meredith L. Patterson 2012-05-18 11:44:38 +02:00
parent 5ffea6b7bb
commit 3d5e9399c4
2 changed files with 11 additions and 2 deletions

View file

@ -78,7 +78,7 @@ typedef struct parse_result {
typedef parse_result_t* (*action_t)(parse_result_t *p);
/* Type of a boolean attribute-checking function, used in the attr_bool() parser. */
typedef int (*attr_bool_t)(void *env);
typedef int (*predicate_t)(parse_result_t *p);
typedef struct parser {
parse_result_t* (*fn)(void *env, parse_state_t *state);