X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fcsl%2Fcontext.h;h=64d1f2f35028b02052eba95493145c8cc06cf720;hb=02c768d4e3b6da33c974ff4d95701a23097096fb;hp=97303c50bf09f463e4566391356a4ed30cf79bbd;hpb=8a971e97129f99102be7452b91865325d58b4a70;p=m6w6%2Flibmemcached diff --git a/libmemcached/csl/context.h b/libmemcached/csl/context.h index 97303c50..64d1f2f3 100644 --- a/libmemcached/csl/context.h +++ b/libmemcached/csl/context.h @@ -37,8 +37,8 @@ #pragma once -#include -#include +#include "libmemcached/csl/common.h" +#include "libmemcached/csl/parser.h" class Context { @@ -106,8 +106,8 @@ public: return _hostname; } - void abort(const char *, yytokentype, const char *); - void error(const char *, yytokentype, const char* ); + void abort(const char *, config_tokentype, const char *); + void error(const char *, config_tokentype, const char* ); ~Context() { @@ -116,7 +116,7 @@ public: memc->state.is_parsing= false; } - yytokentype previous_token; + config_tokentype previous_token; void *scanner; const char *buf; const char *begin;