Debian Codegraph @

libsmartcols/src/filter-scanner.h

raw
1 #ifndef yyHEADER_H
2 #define yyHEADER_H 1
3 #define yyIN_HEADER 1
4
5 #line 5 "libsmartcols/src/filter-scanner.h"
6
7 #line 7 "libsmartcols/src/filter-scanner.h"
8
9 #define YY_INT_ALIGNED short int
10
11 /* A lexical scanner generated by flex */
12
13 #define FLEX_SCANNER
14 #define YY_FLEX_MAJOR_VERSION 2
15 #define YY_FLEX_MINOR_VERSION 6
16 #define YY_FLEX_SUBMINOR_VERSION 4
17 #if YY_FLEX_SUBMINOR_VERSION > 0
18 #define FLEX_BETA
19 #endif
20
21 #ifdef yyget_lval
22 #define yyget_lval_ALREADY_DEFINED
23 #else
24 #define yyget_lval yyget_lval
25 #endif
26
27 #ifdef yyset_lval
28 #define yyset_lval_ALREADY_DEFINED
29 #else
30 #define yyset_lval yyset_lval
31 #endif
32
33 /* First, we deal with platform-specific or compiler-specific issues. */
34
35 /* begin standard C headers. */
36 #include <stdio.h>
37 #include <string.h>
38 #include <errno.h>
39 #include <stdlib.h>
40
41 /* end standard C headers. */
42
43 /* flex integer type definitions */
44
45 #ifndef FLEXINT_H
46 #define FLEXINT_H
47
48 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
49
50 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
51
52 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
53 * if you want the limit (max/min) macros for int types.
54 */
55 #ifndef __STDC_LIMIT_MACROS
56 #define __STDC_LIMIT_MACROS 1
57 #endif
58
59 #include <inttypes.h>
60 typedef int8_t flex_int8_t;
61 typedef uint8_t flex_uint8_t;
62 typedef int16_t flex_int16_t;
63 typedef uint16_t flex_uint16_t;
64 typedef int32_t flex_int32_t;
65 typedef uint32_t flex_uint32_t;
66 #else
67 typedef signed char flex_int8_t;
68 typedef short int flex_int16_t;
69 typedef int flex_int32_t;
70 typedef unsigned char flex_uint8_t;
71 typedef unsigned short int flex_uint16_t;
72 typedef unsigned int flex_uint32_t;
73
74 /* Limits of integral types. */
75 #ifndef INT8_MIN
76 #define INT8_MIN (-128)
77 #endif
78 #ifndef INT16_MIN
79 #define INT16_MIN (-32767-1)
80 #endif
81 #ifndef INT32_MIN
82 #define INT32_MIN (-2147483647-1)
83 #endif
84 #ifndef INT8_MAX
85 #define INT8_MAX (127)
86 #endif
87 #ifndef INT16_MAX
88 #define INT16_MAX (32767)
89 #endif
90 #ifndef INT32_MAX
91 #define INT32_MAX (2147483647)
92 #endif
93 #ifndef UINT8_MAX
94 #define UINT8_MAX (255U)
95 #endif
96 #ifndef UINT16_MAX
97 #define UINT16_MAX (65535U)
98 #endif
99 #ifndef UINT32_MAX
100 #define UINT32_MAX (4294967295U)
101 #endif
102
103 #ifndef SIZE_MAX
104 #define SIZE_MAX (~(size_t)0)
105 #endif
106
107 #endif /* ! C99 */
108
109 #endif /* ! FLEXINT_H */
110
111 /* begin standard C++ headers. */
112
113 /* TODO: this is always defined, so inline it */
114 #define yyconst const
115
116 #if defined(__GNUC__) && __GNUC__ >= 3
117 #define yynoreturn __attribute__((__noreturn__))
118 #else
119 #define yynoreturn
120 #endif
121
122 /* An opaque pointer. */
123 #ifndef YY_TYPEDEF_YY_SCANNER_T
124 #define YY_TYPEDEF_YY_SCANNER_T
125 typedef void* yyscan_t;
126 #endif
127
128 /* For convenience, these vars (plus the bison vars far below)
129 are macros in the reentrant scanner. */
130 #define yyin yyg->yyin_r
131 #define yyout yyg->yyout_r
132 #define yyextra yyg->yyextra_r
133 #define yyleng yyg->yyleng_r
134 #define yytext yyg->yytext_r
135 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
136 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
137 #define yy_flex_debug yyg->yy_flex_debug_r
138
139 /* Size of default input buffer. */
140 #ifndef YY_BUF_SIZE
141 #ifdef __ia64__
142 /* On IA-64, the buffer size is 16k, not 8k.
143 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
144 * Ditto for the __ia64__ case accordingly.
145 */
146 #define YY_BUF_SIZE 32768
147 #else
148 #define YY_BUF_SIZE 16384
149 #endif /* __ia64__ */
150 #endif
151
152 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
153 #define YY_TYPEDEF_YY_BUFFER_STATE
154 typedef struct yy_buffer_state *YY_BUFFER_STATE;
155 #endif
156
157 #ifndef YY_TYPEDEF_YY_SIZE_T
158 #define YY_TYPEDEF_YY_SIZE_T
159 typedef size_t yy_size_t;
160 #endif
161
162 #ifndef YY_STRUCT_YY_BUFFER_STATE
163 #define YY_STRUCT_YY_BUFFER_STATE
164 struct yy_buffer_state
165 {
166 FILE *yy_input_file;
167
168 char *yy_ch_buf; /* input buffer */
169 char *yy_buf_pos; /* current position in input buffer */
170
171 /* Size of input buffer in bytes, not including room for EOB
172 * characters.
173 */
174 int yy_buf_size;
175
176 /* Number of characters read into yy_ch_buf, not including EOB
177 * characters.
178 */
179 int yy_n_chars;
180
181 /* Whether we "own" the buffer - i.e., we know we created it,
182 * and can realloc() it to grow it, and should free() it to
183 * delete it.
184 */
185 int yy_is_our_buffer;
186
187 /* Whether this is an "interactive" input source; if so, and
188 * if we're using stdio for input, then we want to use getc()
189 * instead of fread(), to make sure we stop fetching input after
190 * each newline.
191 */
192 int yy_is_interactive;
193
194 /* Whether we're considered to be at the beginning of a line.
195 * If so, '^' rules will be active on the next match, otherwise
196 * not.
197 */
198 int yy_at_bol;
199
200 int yy_bs_lineno; /**< The line count. */
201 int yy_bs_column; /**< The column count. */
202
203 /* Whether to try to fill the input buffer when we reach the
204 * end of it.
205 */
206 int yy_fill_buffer;
207
208 int yy_buffer_status;
209
210 };
211 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
212
213 void yyrestart ( FILE *input_file , yyscan_t yyscanner );
214 void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
215 YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size , yyscan_t yyscanner );
216 void yy_delete_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner );
217 void yy_flush_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner );
218 void yypush_buffer_state ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
219 void yypop_buffer_state ( yyscan_t yyscanner );
220
221 YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size , yyscan_t yyscanner );
222 YY_BUFFER_STATE yy_scan_string ( const char *yy_str , yyscan_t yyscanner );
223 YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len , yyscan_t yyscanner );
224
225 void *yyalloc ( yy_size_t , yyscan_t yyscanner );
226 void *yyrealloc ( void *, yy_size_t , yyscan_t yyscanner );
227 void yyfree ( void * , yyscan_t yyscanner );
228
229 #define yywrap(yyscanner) (/*CONSTCOND*/1)
230 #define YY_SKIP_YYWRAP
231
232 #define yytext_ptr yytext_r
233
234 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
235 #define INITIAL 0
236
237 #endif
238
239 #ifndef YY_NO_UNISTD_H
240 /* Special case for "unistd.h", since it is non-ANSI. We include it way
241 * down here because we want the user's section 1 to have been scanned first.
242 * The user has a chance to override it with an option.
243 */
244 #include <unistd.h>
245 #endif
246
247 #define YY_EXTRA_TYPE struct libscols_filter *
248
249 int yylex_init (yyscan_t* scanner);
250
251 int yylex_init_extra ( YY_EXTRA_TYPE user_defined, yyscan_t* scanner);
252
253 /* Accessor methods to globals.
254 These are made visible to non-reentrant scanners for convenience. */
255
256 int yylex_destroy ( yyscan_t yyscanner );
257
258 int yyget_debug ( yyscan_t yyscanner );
259
260 void yyset_debug ( int debug_flag , yyscan_t yyscanner );
261
262 YY_EXTRA_TYPE yyget_extra ( yyscan_t yyscanner );
263
264 void yyset_extra ( YY_EXTRA_TYPE user_defined , yyscan_t yyscanner );
265
266 FILE *yyget_in ( yyscan_t yyscanner );
267
268 void yyset_in ( FILE * _in_str , yyscan_t yyscanner );
269
270 FILE *yyget_out ( yyscan_t yyscanner );
271
272 void yyset_out ( FILE * _out_str , yyscan_t yyscanner );
273
274 int yyget_leng ( yyscan_t yyscanner );
275
276 char *yyget_text ( yyscan_t yyscanner );
277
278 int yyget_lineno ( yyscan_t yyscanner );
279
280 void yyset_lineno ( int _line_number , yyscan_t yyscanner );
281
282 int yyget_column ( yyscan_t yyscanner );
283
284 void yyset_column ( int _column_no , yyscan_t yyscanner );
285
286 YYSTYPE * yyget_lval ( yyscan_t yyscanner );
287
288 void yyset_lval ( YYSTYPE * yylval_param , yyscan_t yyscanner );
289
290 /* Macros after this point can all be overridden by user definitions in
291 * section 1.
292 */
293
294 #ifndef YY_SKIP_YYWRAP
295 #ifdef __cplusplus
296 extern "C" int yywrap ( yyscan_t yyscanner );
297 #else
298 extern int yywrap ( yyscan_t yyscanner );
299 #endif
300 #endif
301
302 #ifndef yytext_ptr
303 static void yy_flex_strncpy ( char *, const char *, int , yyscan_t yyscanner);
304 #endif
305
306 #ifdef YY_NEED_STRLEN
307 static int yy_flex_strlen ( const char * , yyscan_t yyscanner);
308 #endif
309
310 #ifndef YY_NO_INPUT
311
312 #endif
313
314 /* Amount of stuff to slurp up with each read. */
315 #ifndef YY_READ_BUF_SIZE
316 #ifdef __ia64__
317 /* On IA-64, the buffer size is 16k, not 8k */
318 #define YY_READ_BUF_SIZE 16384
319 #else
320 #define YY_READ_BUF_SIZE 8192
321 #endif /* __ia64__ */
322 #endif
323
324 /* Number of entries by which start-condition stack grows. */
325 #ifndef YY_START_STACK_INCR
326 #define YY_START_STACK_INCR 25
327 #endif
328
329 /* Default declaration of generated scanner - a define so the user can
330 * easily add parameters.
331 */
332 #ifndef YY_DECL
333 #define YY_DECL_IS_OURS 1
334
335 extern int yylex \
336 (YYSTYPE * yylval_param , yyscan_t yyscanner);
337
338 #define YY_DECL int yylex \
339 (YYSTYPE * yylval_param , yyscan_t yyscanner)
340 #endif /* !YY_DECL */
341
342 /* yy_get_previous_state - get the state just before the EOB char was reached */
343
344 #undef YY_NEW_FILE
345 #undef YY_FLUSH_BUFFER
346 #undef yy_set_bol
347 #undef yy_new_buffer
348 #undef yy_set_interactive
349 #undef YY_DO_BEFORE_ACTION
350
351 #ifdef YY_DECL_IS_OURS
352 #undef YY_DECL_IS_OURS
353 #undef YY_DECL
354 #endif
355
356 #ifndef yy_create_buffer_ALREADY_DEFINED
357 #undef yy_create_buffer
358 #endif
359 #ifndef yy_delete_buffer_ALREADY_DEFINED
360 #undef yy_delete_buffer
361 #endif
362 #ifndef yy_scan_buffer_ALREADY_DEFINED
363 #undef yy_scan_buffer
364 #endif
365 #ifndef yy_scan_string_ALREADY_DEFINED
366 #undef yy_scan_string
367 #endif
368 #ifndef yy_scan_bytes_ALREADY_DEFINED
369 #undef yy_scan_bytes
370 #endif
371 #ifndef yy_init_buffer_ALREADY_DEFINED
372 #undef yy_init_buffer
373 #endif
374 #ifndef yy_flush_buffer_ALREADY_DEFINED
375 #undef yy_flush_buffer
376 #endif
377 #ifndef yy_load_buffer_state_ALREADY_DEFINED
378 #undef yy_load_buffer_state
379 #endif
380 #ifndef yy_switch_to_buffer_ALREADY_DEFINED
381 #undef yy_switch_to_buffer
382 #endif
383 #ifndef yypush_buffer_state_ALREADY_DEFINED
384 #undef yypush_buffer_state
385 #endif
386 #ifndef yypop_buffer_state_ALREADY_DEFINED
387 #undef yypop_buffer_state
388 #endif
389 #ifndef yyensure_buffer_stack_ALREADY_DEFINED
390 #undef yyensure_buffer_stack
391 #endif
392 #ifndef yylex_ALREADY_DEFINED
393 #undef yylex
394 #endif
395 #ifndef yyrestart_ALREADY_DEFINED
396 #undef yyrestart
397 #endif
398 #ifndef yylex_init_ALREADY_DEFINED
399 #undef yylex_init
400 #endif
401 #ifndef yylex_init_extra_ALREADY_DEFINED
402 #undef yylex_init_extra
403 #endif
404 #ifndef yylex_destroy_ALREADY_DEFINED
405 #undef yylex_destroy
406 #endif
407 #ifndef yyget_debug_ALREADY_DEFINED
408 #undef yyget_debug
409 #endif
410 #ifndef yyset_debug_ALREADY_DEFINED
411 #undef yyset_debug
412 #endif
413 #ifndef yyget_extra_ALREADY_DEFINED
414 #undef yyget_extra
415 #endif
416 #ifndef yyset_extra_ALREADY_DEFINED
417 #undef yyset_extra
418 #endif
419 #ifndef yyget_in_ALREADY_DEFINED
420 #undef yyget_in
421 #endif
422 #ifndef yyset_in_ALREADY_DEFINED
423 #undef yyset_in
424 #endif
425 #ifndef yyget_out_ALREADY_DEFINED
426 #undef yyget_out
427 #endif
428 #ifndef yyset_out_ALREADY_DEFINED
429 #undef yyset_out
430 #endif
431 #ifndef yyget_leng_ALREADY_DEFINED
432 #undef yyget_leng
433 #endif
434 #ifndef yyget_text_ALREADY_DEFINED
435 #undef yyget_text
436 #endif
437 #ifndef yyget_lineno_ALREADY_DEFINED
438 #undef yyget_lineno
439 #endif
440 #ifndef yyset_lineno_ALREADY_DEFINED
441 #undef yyset_lineno
442 #endif
443 #ifndef yyget_column_ALREADY_DEFINED
444 #undef yyget_column
445 #endif
446 #ifndef yyset_column_ALREADY_DEFINED
447 #undef yyset_column
448 #endif
449 #ifndef yywrap_ALREADY_DEFINED
450 #undef yywrap
451 #endif
452 #ifndef yyget_lval_ALREADY_DEFINED
453 #undef yyget_lval
454 #endif
455 #ifndef yyset_lval_ALREADY_DEFINED
456 #undef yyset_lval
457 #endif
458 #ifndef yyget_lloc_ALREADY_DEFINED
459 #undef yyget_lloc
460 #endif
461 #ifndef yyset_lloc_ALREADY_DEFINED
462 #undef yyset_lloc
463 #endif
464 #ifndef yyalloc_ALREADY_DEFINED
465 #undef yyalloc
466 #endif
467 #ifndef yyrealloc_ALREADY_DEFINED
468 #undef yyrealloc
469 #endif
470 #ifndef yyfree_ALREADY_DEFINED
471 #undef yyfree
472 #endif
473 #ifndef yytext_ALREADY_DEFINED
474 #undef yytext
475 #endif
476 #ifndef yyleng_ALREADY_DEFINED
477 #undef yyleng
478 #endif
479 #ifndef yyin_ALREADY_DEFINED
480 #undef yyin
481 #endif
482 #ifndef yyout_ALREADY_DEFINED
483 #undef yyout
484 #endif
485 #ifndef yy_flex_debug_ALREADY_DEFINED
486 #undef yy_flex_debug
487 #endif
488 #ifndef yylineno_ALREADY_DEFINED
489 #undef yylineno
490 #endif
491 #ifndef yytables_fload_ALREADY_DEFINED
492 #undef yytables_fload
493 #endif
494 #ifndef yytables_destroy_ALREADY_DEFINED
495 #undef yytables_destroy
496 #endif
497 #ifndef yyTABLES_NAME_ALREADY_DEFINED
498 #undef yyTABLES_NAME
499 #endif
500
501 #line 97 "libsmartcols/src/filter-scanner.l"
502
503 #line 503 "libsmartcols/src/filter-scanner.h"
504 #undef yyIN_HEADER
505 #endif /* yyHEADER_H */