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