X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fcsl%2Fcontext.h;h=12e028ddcaeac95c74c33073e273d3957a1cff50;hb=40353ce2b76875202b3d37ad32c645ec18933bed;hp=77fac219bdd79ed2ecca1fd634af9e76c5ca5935;hpb=92c077c9151360149e5a18a0adc222baa234ec80;p=awesomized%2Flibmemcached diff --git a/libmemcached/csl/context.h b/libmemcached/csl/context.h index 77fac219..12e028dd 100644 --- a/libmemcached/csl/context.h +++ b/libmemcached/csl/context.h @@ -61,6 +61,8 @@ public: memc= memc_arg; init_scanner(); rc= MEMCACHED_SUCCESS; + + memc->state.is_parsing= true; } bool end() @@ -106,6 +108,7 @@ public: ~Context() { destroy_scanner(); + memc->state.is_parsing= false; } yytokentype previous_token;