Adding additional tests for namespace.
[awesomized/libmemcached] / libmemcached / options / parser.yy
index f9388af394b9c635df389ecbefccf87769fbaa08..f9d1f1e2a5d72cd1dd978b2612e0ba9224db68a3 100644 (file)
 %parse-param { Context *context }
 %parse-param { yyscan_t *scanner }
 %pure-parser
-%require "2.2"
+%require "2.4"
 %start begin
 %verbose
 
 %{
 
-#include <config.h>
-
-#include <stdint.h>
-
 #include <libmemcached/common.h>
 #include <libmemcached/options.hpp>
 
@@ -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
           }
         ;