X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Foptions%2Fparser.yy;h=d309c2278e0b6691c732cf7e35610390036815d0;hb=f285e1b3821f56a8983b5ce9fb1a0070e7bb0a1c;hp=e950076e1c519af86ec7084f0d954c4c3f04e8e2;hpb=de161b27e5e394ea0ae4a88e58fc9ebb21e821d0;p=awesomized%2Flibmemcached diff --git a/libmemcached/options/parser.yy b/libmemcached/options/parser.yy index e950076e..d309c227 100644 --- a/libmemcached/options/parser.yy +++ b/libmemcached/options/parser.yy @@ -40,7 +40,6 @@ #include #include -#include #include #include #include @@ -51,12 +50,12 @@ int conf_lex(YYSTYPE* lvalp, void* scanner); -#define parser_abort(A, B) do { parser::abort_func((A), (B)); YYABORT; } while (0) +#define parser_abort(A, B) do { (A)->abort((B)); YYABORT; } while (0) inline void config_error(Context *context, yyscan_t *scanner, const char *error) { if (not context->end()) - parser::abort_func(context, error); + context->abort(error); } %}