Remove a dead udp check
[m6w6/libmemcached] / libmemcached / csl / scanner.h
1 #ifndef config_HEADER_H
2 #define config_HEADER_H 1
3 #define config_IN_HEADER 1
4
5 #line 6 "libmemcached/csl/scanner.h"
6 #line 22 "libmemcached/csl/scanner.l"
7
8 #include <libmemcached/csl/common.h>
9 #include <libmemcached/csl/context.h>
10 #include <libmemcached/csl/parser.h>
11 #include <libmemcached/csl/symbol.h>
12
13 #ifndef __INTEL_COMPILER
14 #pragma GCC diagnostic ignored "-Wold-style-cast"
15 #pragma GCC diagnostic ignored "-Wsign-compare"
16 #pragma GCC diagnostic ignored "-Wunused-parameter"
17 #endif
18
19 #define YY_NO_INPUT
20
21 #define YY_EXTRA_TYPE Context*
22
23
24
25
26 #line 27 "libmemcached/csl/scanner.h"
27
28 #define YY_INT_ALIGNED short int
29
30 /* A lexical scanner generated by flex */
31
32 /* %not-for-header */
33
34 #define FLEX_SCANNER
35 #define YY_FLEX_MAJOR_VERSION 2
36 #define YY_FLEX_MINOR_VERSION 5
37 #define YY_FLEX_SUBMINOR_VERSION 35
38 #if YY_FLEX_SUBMINOR_VERSION > 0
39 #define FLEX_BETA
40 #endif
41
42 /* %if-c++-only */
43 /* %endif */
44
45 /* %if-c-only */
46
47 /* %endif */
48
49 /* %if-c-only */
50
51 /* %endif */
52
53 /* First, we deal with platform-specific or compiler-specific issues. */
54
55 /* begin standard C headers. */
56 /* %if-c-only */
57 #include <stdio.h>
58 #include <string.h>
59 #include <errno.h>
60 #include <stdlib.h>
61 /* %endif */
62
63 /* %if-tables-serialization */
64 /* %endif */
65 /* end standard C headers. */
66
67 /* %if-c-or-c++ */
68 /* flex integer type definitions */
69
70 #ifndef FLEXINT_H
71 #define FLEXINT_H
72
73 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
74
75 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
76
77 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
78 * if you want the limit (max/min) macros for int types.
79 */
80 #ifndef __STDC_LIMIT_MACROS
81 #define __STDC_LIMIT_MACROS 1
82 #endif
83
84 #include <inttypes.h>
85 typedef int8_t flex_int8_t;
86 typedef uint8_t flex_uint8_t;
87 typedef int16_t flex_int16_t;
88 typedef uint16_t flex_uint16_t;
89 typedef int32_t flex_int32_t;
90 typedef uint32_t flex_uint32_t;
91 #else
92 typedef signed char flex_int8_t;
93 typedef short int flex_int16_t;
94 typedef int flex_int32_t;
95 typedef unsigned char flex_uint8_t;
96 typedef unsigned short int flex_uint16_t;
97 typedef unsigned int flex_uint32_t;
98 #endif /* ! C99 */
99
100 /* Limits of integral types. */
101 #ifndef INT8_MIN
102 #define INT8_MIN (-128)
103 #endif
104 #ifndef INT16_MIN
105 #define INT16_MIN (-32767-1)
106 #endif
107 #ifndef INT32_MIN
108 #define INT32_MIN (-2147483647-1)
109 #endif
110 #ifndef INT8_MAX
111 #define INT8_MAX (127)
112 #endif
113 #ifndef INT16_MAX
114 #define INT16_MAX (32767)
115 #endif
116 #ifndef INT32_MAX
117 #define INT32_MAX (2147483647)
118 #endif
119 #ifndef UINT8_MAX
120 #define UINT8_MAX (255U)
121 #endif
122 #ifndef UINT16_MAX
123 #define UINT16_MAX (65535U)
124 #endif
125 #ifndef UINT32_MAX
126 #define UINT32_MAX (4294967295U)
127 #endif
128
129 #endif /* ! FLEXINT_H */
130
131 /* %endif */
132
133 /* %if-c++-only */
134 /* %endif */
135
136 #ifdef __cplusplus
137
138 /* The "const" storage-class-modifier is valid. */
139 #define YY_USE_CONST
140
141 #else /* ! __cplusplus */
142
143 /* C99 requires __STDC__ to be defined as 1. */
144 #if defined (__STDC__)
145
146 #define YY_USE_CONST
147
148 #endif /* defined (__STDC__) */
149 #endif /* ! __cplusplus */
150
151 #ifdef YY_USE_CONST
152 #define yyconst const
153 #else
154 #define yyconst
155 #endif
156
157 /* %not-for-header */
158
159 /* %not-for-header */
160
161 /* %if-reentrant */
162
163 /* An opaque pointer. */
164 #ifndef YY_TYPEDEF_YY_SCANNER_T
165 #define YY_TYPEDEF_YY_SCANNER_T
166 typedef void* yyscan_t;
167 #endif
168
169 /* For convenience, these vars (plus the bison vars far below)
170 are macros in the reentrant scanner. */
171 #define yyin yyg->yyin_r
172 #define yyout yyg->yyout_r
173 #define yyextra yyg->yyextra_r
174 #define yyleng yyg->yyleng_r
175 #define yytext yyg->yytext_r
176 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
177 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
178 #define yy_flex_debug yyg->yy_flex_debug_r
179
180 /* %endif */
181
182 /* %if-not-reentrant */
183 /* %endif */
184
185 /* Size of default input buffer. */
186 #ifndef YY_BUF_SIZE
187 #define YY_BUF_SIZE 16384
188 #endif
189
190 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
191 #define YY_TYPEDEF_YY_BUFFER_STATE
192 typedef struct yy_buffer_state *YY_BUFFER_STATE;
193 #endif
194
195 /* %if-not-reentrant */
196 /* %endif */
197
198 /* %if-c-only */
199 /* %if-not-reentrant */
200 /* %endif */
201 /* %endif */
202
203 #ifndef YY_TYPEDEF_YY_SIZE_T
204 #define YY_TYPEDEF_YY_SIZE_T
205 typedef size_t yy_size_t;
206 #endif
207
208 #ifndef YY_STRUCT_YY_BUFFER_STATE
209 #define YY_STRUCT_YY_BUFFER_STATE
210 struct yy_buffer_state
211 {
212 /* %if-c-only */
213 FILE *yy_input_file;
214 /* %endif */
215
216 /* %if-c++-only */
217 /* %endif */
218
219 char *yy_ch_buf; /* input buffer */
220 char *yy_buf_pos; /* current position in input buffer */
221
222 /* Size of input buffer in bytes, not including room for EOB
223 * characters.
224 */
225 yy_size_t yy_buf_size;
226
227 /* Number of characters read into yy_ch_buf, not including EOB
228 * characters.
229 */
230 int yy_n_chars;
231
232 /* Whether we "own" the buffer - i.e., we know we created it,
233 * and can realloc() it to grow it, and should free() it to
234 * delete it.
235 */
236 int yy_is_our_buffer;
237
238 /* Whether this is an "interactive" input source; if so, and
239 * if we're using stdio for input, then we want to use getc()
240 * instead of fread(), to make sure we stop fetching input after
241 * each newline.
242 */
243 int yy_is_interactive;
244
245 /* Whether we're considered to be at the beginning of a line.
246 * If so, '^' rules will be active on the next match, otherwise
247 * not.
248 */
249 int yy_at_bol;
250
251 int yy_bs_lineno; /**< The line count. */
252 int yy_bs_column; /**< The column count. */
253
254 /* Whether to try to fill the input buffer when we reach the
255 * end of it.
256 */
257 int yy_fill_buffer;
258
259 int yy_buffer_status;
260
261 };
262 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
263
264 /* %if-c-only Standard (non-C++) definition */
265 /* %not-for-header */
266
267 /* %endif */
268
269 /* %if-c-only Standard (non-C++) definition */
270
271 /* %if-not-reentrant */
272 /* %not-for-header */
273
274 /* %endif */
275
276 void config_restart (FILE *input_file ,yyscan_t yyscanner );
277 void config__switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
278 YY_BUFFER_STATE config__create_buffer (FILE *file,int size ,yyscan_t yyscanner );
279 void config__delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
280 void config__flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
281 void config_push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
282 void config_pop_buffer_state (yyscan_t yyscanner );
283
284 YY_BUFFER_STATE config__scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
285 YY_BUFFER_STATE config__scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
286 YY_BUFFER_STATE config__scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
287
288 /* %endif */
289
290 void *config_alloc (yy_size_t ,yyscan_t yyscanner );
291 void *config_realloc (void *,yy_size_t ,yyscan_t yyscanner );
292 void config_free (void * ,yyscan_t yyscanner );
293
294 /* %% [1.0] yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here */
295 /* Begin user sect3 */
296
297 #define config_wrap(n) 1
298 #define YY_SKIP_YYWRAP
299
300 #define FLEX_DEBUG
301
302 #define yytext_ptr yytext_r
303
304 /* %if-c-only Standard (non-C++) definition */
305
306 /* %endif */
307
308 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
309 #define INITIAL 0
310
311 #endif
312
313 #ifndef YY_NO_UNISTD_H
314 /* Special case for "unistd.h", since it is non-ANSI. We include it way
315 * down here because we want the user's section 1 to have been scanned first.
316 * The user has a chance to override it with an option.
317 */
318 /* %if-c-only */
319 #include <unistd.h>
320 /* %endif */
321 /* %if-c++-only */
322 /* %endif */
323 #endif
324
325 #ifndef YY_EXTRA_TYPE
326 #define YY_EXTRA_TYPE void *
327 #endif
328
329 /* %if-c-only Reentrant structure and macros (non-C++). */
330 /* %if-reentrant */
331
332 /* %if-c-only */
333
334 /* %endif */
335
336 /* %if-reentrant */
337
338 int config_lex_init (yyscan_t* scanner);
339
340 int config_lex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
341
342 /* %endif */
343
344 /* %endif End reentrant structures and macros. */
345
346 /* Accessor methods to globals.
347 These are made visible to non-reentrant scanners for convenience. */
348
349 int config_lex_destroy (yyscan_t yyscanner );
350
351 int config_get_debug (yyscan_t yyscanner );
352
353 void config_set_debug (int debug_flag ,yyscan_t yyscanner );
354
355 YY_EXTRA_TYPE config_get_extra (yyscan_t yyscanner );
356
357 void config_set_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
358
359 FILE *config_get_in (yyscan_t yyscanner );
360
361 void config_set_in (FILE * in_str ,yyscan_t yyscanner );
362
363 FILE *config_get_out (yyscan_t yyscanner );
364
365 void config_set_out (FILE * out_str ,yyscan_t yyscanner );
366
367 int config_get_leng (yyscan_t yyscanner );
368
369 char *config_get_text (yyscan_t yyscanner );
370
371 int config_get_lineno (yyscan_t yyscanner );
372
373 void config_set_lineno (int line_number ,yyscan_t yyscanner );
374
375 int config_get_column (yyscan_t yyscanner );
376
377 void config_set_column (int column_no ,yyscan_t yyscanner );
378
379 /* %if-bison-bridge */
380
381 YYSTYPE * config_get_lval (yyscan_t yyscanner );
382
383 void config_set_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );
384
385 /* %endif */
386
387 /* Macros after this point can all be overridden by user definitions in
388 * section 1.
389 */
390
391 #ifndef YY_SKIP_YYWRAP
392 #ifdef __cplusplus
393 extern "C" int config_wrap (yyscan_t yyscanner );
394 #else
395 extern int config_wrap (yyscan_t yyscanner );
396 #endif
397 #endif
398
399 /* %not-for-header */
400
401 /* %endif */
402
403 #ifndef yytext_ptr
404 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
405 #endif
406
407 #ifdef YY_NEED_STRLEN
408 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
409 #endif
410
411 #ifndef YY_NO_INPUT
412 /* %if-c-only Standard (non-C++) definition */
413 /* %not-for-header */
414
415 /* %endif */
416 #endif
417
418 /* %if-c-only */
419
420 /* %endif */
421
422 /* Amount of stuff to slurp up with each read. */
423 #ifndef YY_READ_BUF_SIZE
424 #define YY_READ_BUF_SIZE 8192
425 #endif
426
427 /* Number of entries by which start-condition stack grows. */
428 #ifndef YY_START_STACK_INCR
429 #define YY_START_STACK_INCR 25
430 #endif
431
432 /* %if-tables-serialization structures and prototypes */
433 /* %not-for-header */
434
435 /* %not-for-header */
436
437 /* Default declaration of generated scanner - a define so the user can
438 * easily add parameters.
439 */
440 #ifndef YY_DECL
441 #define YY_DECL_IS_OURS 1
442 /* %if-c-only Standard (non-C++) definition */
443
444 extern int config_lex \
445 (YYSTYPE * yylval_param ,yyscan_t yyscanner);
446
447 #define YY_DECL int config_lex \
448 (YYSTYPE * yylval_param , yyscan_t yyscanner)
449 /* %endif */
450 /* %if-c++-only C++ definition */
451 /* %endif */
452 #endif /* !YY_DECL */
453
454 /* %not-for-header */
455
456 /* %if-c++-only */
457 /* %not-for-header */
458
459 /* %endif */
460
461 /* yy_get_previous_state - get the state just before the EOB char was reached */
462
463 /* %if-c-only */
464 /* %not-for-header */
465
466 #undef YY_NEW_FILE
467 #undef YY_FLUSH_BUFFER
468 #undef yy_set_bol
469 #undef yy_new_buffer
470 #undef yy_set_interactive
471 #undef YY_DO_BEFORE_ACTION
472
473 #ifdef YY_DECL_IS_OURS
474 #undef YY_DECL_IS_OURS
475 #undef YY_DECL
476 #endif
477
478 #line 203 "libmemcached/csl/scanner.l"
479
480
481 #line 482 "libmemcached/csl/scanner.h"
482 #undef config_IN_HEADER
483 #endif /* config_HEADER_H */