action() works. Will finish DNS tomorrow.

This commit is contained in:
Meredith L. Patterson 2012-05-22 03:57:27 +02:00
parent e2af24fe80
commit f921ece53f
3 changed files with 33 additions and 13 deletions

View file

@ -87,7 +87,7 @@ typedef struct parse_result {
* say, structs) and stuff values for them into the void* in the
* tagged union in parsed_token_t.
*/
typedef parsed_token_t* (*action_t)(parse_result_t *p);
typedef const parsed_token_t* (*action_t)(parse_result_t *p);
/**
* Type of a boolean attribute-checking function, used in the