projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fix OSX based compile issue.
[m6w6/libmemcached]
/
libmemcached
/
csl
/
scanner.h
diff --git
a/libmemcached/csl/scanner.h
b/libmemcached/csl/scanner.h
index 9262e5f82f1eeacf861729b2bc12c0210f864c98..6aa08a64206c65554bc2601c879d3b74d735453c 100644
(file)
--- 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"
#define config_IN_HEADER 1
#line 6 "libmemcached/csl/scanner.h"
-#line
22
"libmemcached/csl/scanner.l"
+#line
39
"libmemcached/csl/scanner.l"
#include <libmemcached/csl/common.h>
#include <libmemcached/csl/context.h>
#include <libmemcached/csl/common.h>
#include <libmemcached/csl/context.h>
@@
-14,14
+14,17
@@
#pragma GCC diagnostic ignored "-Wold-style-cast"
#pragma GCC diagnostic ignored "-Wsign-compare"
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wold-style-cast"
#pragma GCC diagnostic ignored "-Wsign-compare"
#pragma GCC diagnostic ignored "-Wunused-parameter"
+#pragma GCC diagnostic ignored "-Wmissing-declarations"
#endif
#endif
+#define YY_NO_INPUT
+
#define YY_EXTRA_TYPE Context*
#define YY_EXTRA_TYPE Context*
-#line 2
5
"libmemcached/csl/scanner.h"
+#line 2
8
"libmemcached/csl/scanner.h"
#define YY_INT_ALIGNED short int
#define YY_INT_ALIGNED short int
@@
-93,7
+96,6
@@
typedef int flex_int32_t;
typedef unsigned char flex_uint8_t;
typedef unsigned short int flex_uint16_t;
typedef unsigned int flex_uint32_t;
typedef unsigned char flex_uint8_t;
typedef unsigned short int flex_uint16_t;
typedef unsigned int flex_uint32_t;
-#endif /* ! C99 */
/* Limits of integral types. */
#ifndef INT8_MIN
/* Limits of integral types. */
#ifndef INT8_MIN
@@
-124,6
+126,8
@@
typedef unsigned int flex_uint32_t;
#define UINT32_MAX (4294967295U)
#endif
#define UINT32_MAX (4294967295U)
#endif
+#endif /* ! C99 */
+
#endif /* ! FLEXINT_H */
/* %endif */
#endif /* ! FLEXINT_H */
/* %endif */
@@
-182,7
+186,15
@@
typedef void* yyscan_t;
/* Size of default input buffer. */
#ifndef YY_BUF_SIZE
/* Size of default input buffer. */
#ifndef YY_BUF_SIZE
+#ifdef __ia64__
+/* On IA-64, the buffer size is 16k, not 8k.
+ * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
+ * Ditto for the __ia64__ case accordingly.
+ */
+#define YY_BUF_SIZE 32768
+#else
#define YY_BUF_SIZE 16384
#define YY_BUF_SIZE 16384
+#endif /* __ia64__ */
#endif
#ifndef YY_TYPEDEF_YY_BUFFER_STATE
#endif
#ifndef YY_TYPEDEF_YY_BUFFER_STATE
@@
-190,11
+202,6
@@
typedef void* yyscan_t;
typedef struct yy_buffer_state *YY_BUFFER_STATE;
#endif
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 */
/* %if-not-reentrant */
/* %endif */
@@
-203,6
+210,11
@@
typedef size_t yy_size_t;
/* %endif */
/* %endif */
/* %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
#ifndef YY_STRUCT_YY_BUFFER_STATE
#define YY_STRUCT_YY_BUFFER_STATE
struct yy_buffer_state
@@
-225,7
+237,7
@@
struct yy_buffer_state
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
-
yy_size_
t yy_n_chars;
+
in
t 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
/* 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
+293,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_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,
in
t len ,yyscan_t yyscanner );
/* %endif */
/* %endif */
@@
-362,7
+374,7
@@
FILE *config_get_out (yyscan_t yyscanner );
void config_set_out (FILE * out_str ,yyscan_t yyscanner );
void config_set_out (FILE * out_str ,yyscan_t yyscanner );
-
yy_size_
t config_get_leng (yyscan_t yyscanner );
+
in
t config_get_leng (yyscan_t yyscanner );
char *config_get_text (yyscan_t yyscanner );
char *config_get_text (yyscan_t yyscanner );
@@
-415,7
+427,12
@@
static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
+#ifdef __ia64__
+/* On IA-64, the buffer size is 16k, not 8k */
+#define YY_READ_BUF_SIZE 16384
+#else
#define YY_READ_BUF_SIZE 8192
#define YY_READ_BUF_SIZE 8192
+#endif /* __ia64__ */
#endif
/* Number of entries by which start-condition stack grows. */
#endif
/* Number of entries by which start-condition stack grows. */
@@
-469,9
+486,9
@@
extern int config_lex \
#undef YY_DECL
#endif
#undef YY_DECL
#endif
-#line 2
01
"libmemcached/csl/scanner.l"
+#line 2
23
"libmemcached/csl/scanner.l"
-#line 4
76
"libmemcached/csl/scanner.h"
+#line 4
93
"libmemcached/csl/scanner.h"
#undef config_IN_HEADER
#endif /* config_HEADER_H */
#undef config_IN_HEADER
#endif /* config_HEADER_H */