diff options
Diffstat (limited to 'src/config.y')
-rw-r--r-- | src/config.y | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/config.y b/src/config.y index c81b370..9a0d333 100644 --- a/src/config.y +++ b/src/config.y @@ -1,6 +1,5 @@ %define api.pure %name-prefix "fastd_config_" -%lex-param {fastd_context *ctx} %lex-param {yyscan_t scanner} %parse-param {fastd_context *ctx} %parse-param {fastd_config *conf} @@ -17,6 +16,8 @@ struct in6_addr addr6; } +%token <str> TOK_ERROR; + %token <num> TOK_INTEGER %token <str> TOK_STRING %token <str> TOK_IDENTIFIER @@ -52,7 +53,7 @@ } %code provides { - #include <fastd.h> + #include <fastd.h> int fastd_config_parse (fastd_context *ctx, fastd_config *conf, void *scanner); } |