X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fcsl%2Fscanner.h;h=74fa65dae27331b517d695961cc9c39d83564ae9;hb=e50ced7764a1ddb80aba8f7c8851c4181a2cfc4e;hp=9262e5f82f1eeacf861729b2bc12c0210f864c98;hpb=3645e647825396693c46a4de5d9e45dfde54dabd;p=m6w6%2Flibmemcached diff --git a/libmemcached/csl/scanner.h b/libmemcached/csl/scanner.h index 9262e5f8..74fa65da 100644 --- a/libmemcached/csl/scanner.h +++ b/libmemcached/csl/scanner.h @@ -3,7 +3,7 @@ #define config_IN_HEADER 1 #line 6 "libmemcached/csl/scanner.h" -#line 22 "libmemcached/csl/scanner.l" +#line 39 "libmemcached/csl/scanner.l" #include #include @@ -16,12 +16,14 @@ #pragma GCC diagnostic ignored "-Wunused-parameter" #endif +#define YY_NO_INPUT + #define YY_EXTRA_TYPE Context* -#line 25 "libmemcached/csl/scanner.h" +#line 27 "libmemcached/csl/scanner.h" #define YY_INT_ALIGNED short int @@ -190,11 +192,6 @@ typedef void* yyscan_t; typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif -#ifndef YY_TYPEDEF_YY_SIZE_T -#define YY_TYPEDEF_YY_SIZE_T -typedef size_t yy_size_t; -#endif - /* %if-not-reentrant */ /* %endif */ @@ -203,6 +200,11 @@ typedef size_t yy_size_t; /* %endif */ /* %endif */ +#ifndef YY_TYPEDEF_YY_SIZE_T +#define YY_TYPEDEF_YY_SIZE_T +typedef size_t yy_size_t; +#endif + #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state @@ -225,7 +227,7 @@ struct yy_buffer_state /* Number of characters read into yy_ch_buf, not including EOB * characters. */ - yy_size_t yy_n_chars; + int yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to @@ -281,7 +283,7 @@ void config_pop_buffer_state (yyscan_t yyscanner ); YY_BUFFER_STATE config__scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner ); YY_BUFFER_STATE config__scan_string (yyconst char *yy_str ,yyscan_t yyscanner ); -YY_BUFFER_STATE config__scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner ); +YY_BUFFER_STATE config__scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner ); /* %endif */ @@ -362,7 +364,7 @@ FILE *config_get_out (yyscan_t yyscanner ); void config_set_out (FILE * out_str ,yyscan_t yyscanner ); -yy_size_t config_get_leng (yyscan_t yyscanner ); +int config_get_leng (yyscan_t yyscanner ); char *config_get_text (yyscan_t yyscanner ); @@ -370,6 +372,10 @@ int config_get_lineno (yyscan_t yyscanner ); void config_set_lineno (int line_number ,yyscan_t yyscanner ); +int config_get_column (yyscan_t yyscanner ); + +void config_set_column (int column_no ,yyscan_t yyscanner ); + /* %if-bison-bridge */ YYSTYPE * config_get_lval (yyscan_t yyscanner ); @@ -469,9 +475,9 @@ extern int config_lex \ #undef YY_DECL #endif -#line 201 "libmemcached/csl/scanner.l" +#line 220 "libmemcached/csl/scanner.l" -#line 476 "libmemcached/csl/scanner.h" +#line 482 "libmemcached/csl/scanner.h" #undef config_IN_HEADER #endif /* config_HEADER_H */