X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Foptions%2Fparser.yy;h=f9d1f1e2a5d72cd1dd978b2612e0ba9224db68a3;hb=609d07c5a051c301ce6595747c2f64d3819554f5;hp=f9388af394b9c635df389ecbefccf87769fbaa08;hpb=5a65c28db362c4d62419075c5c9e416fd855a9f9;p=awesomized%2Flibmemcached diff --git a/libmemcached/options/parser.yy b/libmemcached/options/parser.yy index f9388af3..f9d1f1e2 100644 --- a/libmemcached/options/parser.yy +++ b/libmemcached/options/parser.yy @@ -29,16 +29,12 @@ %parse-param { Context *context } %parse-param { yyscan_t *scanner } %pure-parser -%require "2.2" +%require "2.4" %start begin %verbose %{ -#include - -#include - #include #include @@ -450,10 +446,6 @@ string: | QUOTED_STRING { $$= $1; - #if 0 - $$.c_str= $1.c_str +1; // +1 to move use passed the initial quote - $$.size= $1.size -2; // -2 removes the begin and end quote - #endif } ;