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