Merged TQ's changes. Started on attr_bool and action.
This commit is contained in:
parent
5ffea6b7bb
commit
3d5e9399c4
2 changed files with 11 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue