blob: 0637979f7049dd79dd8ee81cfa49f29101451a7e [file] [log] [blame]
Pavol Vicancae54882016-03-30 12:24:43 +02001#ifndef yyHEADER_H
2#define yyHEADER_H 1
3#define yyIN_HEADER 1
4
Pavol Vicancae54882016-03-30 12:24:43 +02005#define YY_INT_ALIGNED short int
6
7/* A lexical scanner generated by flex */
8
9#define FLEX_SCANNER
10#define YY_FLEX_MAJOR_VERSION 2
Pavol Vicana524fbe2016-07-21 13:36:50 +020011#define YY_FLEX_MINOR_VERSION 6
Radek Krejcidce5f972017-09-12 15:47:49 +020012#define YY_FLEX_SUBMINOR_VERSION 4
Pavol Vicancae54882016-03-30 12:24:43 +020013#if YY_FLEX_SUBMINOR_VERSION > 0
14#define FLEX_BETA
15#endif
16
Radek Krejcidce5f972017-09-12 15:47:49 +020017#ifdef yyget_lval
18#define yyget_lval_ALREADY_DEFINED
19#else
20#define yyget_lval yyget_lval
21#endif
22
23#ifdef yyset_lval
24#define yyset_lval_ALREADY_DEFINED
25#else
26#define yyset_lval yyset_lval
27#endif
28
29#ifdef yyget_lloc
30#define yyget_lloc_ALREADY_DEFINED
31#else
32#define yyget_lloc yyget_lloc
33#endif
34
35#ifdef yyset_lloc
36#define yyset_lloc_ALREADY_DEFINED
37#else
38#define yyset_lloc yyset_lloc
39#endif
40
Pavol Vicancae54882016-03-30 12:24:43 +020041/* First, we deal with platform-specific or compiler-specific issues. */
42
43/* begin standard C headers. */
44#include <stdio.h>
45#include <string.h>
46#include <errno.h>
47#include <stdlib.h>
48
49/* end standard C headers. */
50
51/* flex integer type definitions */
52
53#ifndef FLEXINT_H
54#define FLEXINT_H
55
56/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
57
58#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
59
60/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
61 * if you want the limit (max/min) macros for int types.
62 */
63#ifndef __STDC_LIMIT_MACROS
64#define __STDC_LIMIT_MACROS 1
65#endif
66
67#include <inttypes.h>
68typedef int8_t flex_int8_t;
69typedef uint8_t flex_uint8_t;
70typedef int16_t flex_int16_t;
71typedef uint16_t flex_uint16_t;
72typedef int32_t flex_int32_t;
73typedef uint32_t flex_uint32_t;
74#else
75typedef signed char flex_int8_t;
76typedef short int flex_int16_t;
77typedef int flex_int32_t;
78typedef unsigned char flex_uint8_t;
79typedef unsigned short int flex_uint16_t;
80typedef unsigned int flex_uint32_t;
81
82/* Limits of integral types. */
83#ifndef INT8_MIN
84#define INT8_MIN (-128)
85#endif
86#ifndef INT16_MIN
87#define INT16_MIN (-32767-1)
88#endif
89#ifndef INT32_MIN
90#define INT32_MIN (-2147483647-1)
91#endif
92#ifndef INT8_MAX
93#define INT8_MAX (127)
94#endif
95#ifndef INT16_MAX
96#define INT16_MAX (32767)
97#endif
98#ifndef INT32_MAX
99#define INT32_MAX (2147483647)
100#endif
101#ifndef UINT8_MAX
102#define UINT8_MAX (255U)
103#endif
104#ifndef UINT16_MAX
105#define UINT16_MAX (65535U)
106#endif
107#ifndef UINT32_MAX
108#define UINT32_MAX (4294967295U)
109#endif
110
Radek Krejcidce5f972017-09-12 15:47:49 +0200111#ifndef SIZE_MAX
112#define SIZE_MAX (~(size_t)0)
113#endif
114
Pavol Vicancae54882016-03-30 12:24:43 +0200115#endif /* ! C99 */
116
117#endif /* ! FLEXINT_H */
118
Radek Krejcidce5f972017-09-12 15:47:49 +0200119/* begin standard C++ headers. */
120
Radek Krejci51673202016-11-01 17:00:32 +0100121/* TODO: this is always defined, so inline it */
Pavol Vicancae54882016-03-30 12:24:43 +0200122#define yyconst const
Radek Krejci51673202016-11-01 17:00:32 +0100123
124#if defined(__GNUC__) && __GNUC__ >= 3
125#define yynoreturn __attribute__((__noreturn__))
Pavol Vicancae54882016-03-30 12:24:43 +0200126#else
Radek Krejci51673202016-11-01 17:00:32 +0100127#define yynoreturn
Pavol Vicancae54882016-03-30 12:24:43 +0200128#endif
129
130/* An opaque pointer. */
131#ifndef YY_TYPEDEF_YY_SCANNER_T
132#define YY_TYPEDEF_YY_SCANNER_T
133typedef void* yyscan_t;
134#endif
135
136/* For convenience, these vars (plus the bison vars far below)
137 are macros in the reentrant scanner. */
138#define yyin yyg->yyin_r
139#define yyout yyg->yyout_r
140#define yyextra yyg->yyextra_r
141#define yyleng yyg->yyleng_r
142#define yytext yyg->yytext_r
143#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
144#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
145#define yy_flex_debug yyg->yy_flex_debug_r
146
147/* Size of default input buffer. */
148#ifndef YY_BUF_SIZE
Pavol Vicana524fbe2016-07-21 13:36:50 +0200149#ifdef __ia64__
150/* On IA-64, the buffer size is 16k, not 8k.
151 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
152 * Ditto for the __ia64__ case accordingly.
153 */
154#define YY_BUF_SIZE 32768
155#else
Pavol Vicancae54882016-03-30 12:24:43 +0200156#define YY_BUF_SIZE 16384
Pavol Vicana524fbe2016-07-21 13:36:50 +0200157#endif /* __ia64__ */
Pavol Vicancae54882016-03-30 12:24:43 +0200158#endif
159
160#ifndef YY_TYPEDEF_YY_BUFFER_STATE
161#define YY_TYPEDEF_YY_BUFFER_STATE
162typedef struct yy_buffer_state *YY_BUFFER_STATE;
163#endif
164
165#ifndef YY_TYPEDEF_YY_SIZE_T
166#define YY_TYPEDEF_YY_SIZE_T
167typedef size_t yy_size_t;
168#endif
169
170#ifndef YY_STRUCT_YY_BUFFER_STATE
171#define YY_STRUCT_YY_BUFFER_STATE
172struct yy_buffer_state
173 {
174 FILE *yy_input_file;
175
176 char *yy_ch_buf; /* input buffer */
177 char *yy_buf_pos; /* current position in input buffer */
178
179 /* Size of input buffer in bytes, not including room for EOB
180 * characters.
181 */
Radek Krejci51673202016-11-01 17:00:32 +0100182 int yy_buf_size;
Pavol Vicancae54882016-03-30 12:24:43 +0200183
184 /* Number of characters read into yy_ch_buf, not including EOB
185 * characters.
186 */
Radek Krejci51673202016-11-01 17:00:32 +0100187 int yy_n_chars;
Pavol Vicancae54882016-03-30 12:24:43 +0200188
189 /* Whether we "own" the buffer - i.e., we know we created it,
190 * and can realloc() it to grow it, and should free() it to
191 * delete it.
192 */
193 int yy_is_our_buffer;
194
195 /* Whether this is an "interactive" input source; if so, and
196 * if we're using stdio for input, then we want to use getc()
197 * instead of fread(), to make sure we stop fetching input after
198 * each newline.
199 */
200 int yy_is_interactive;
201
202 /* Whether we're considered to be at the beginning of a line.
203 * If so, '^' rules will be active on the next match, otherwise
204 * not.
205 */
206 int yy_at_bol;
207
208 int yy_bs_lineno; /**< The line count. */
209 int yy_bs_column; /**< The column count. */
Radek Krejcidce5f972017-09-12 15:47:49 +0200210
Pavol Vicancae54882016-03-30 12:24:43 +0200211 /* Whether to try to fill the input buffer when we reach the
212 * end of it.
213 */
214 int yy_fill_buffer;
215
216 int yy_buffer_status;
217
218 };
219#endif /* !YY_STRUCT_YY_BUFFER_STATE */
220
Pavol Vicanc82305e2016-11-02 08:55:22 +0100221void yyrestart ( FILE *input_file , yyscan_t yyscanner );
222void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
223YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size , yyscan_t yyscanner );
224void yy_delete_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner );
225void yy_flush_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner );
226void yypush_buffer_state ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
227void yypop_buffer_state ( yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200228
Pavol Vicanc82305e2016-11-02 08:55:22 +0100229YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size , yyscan_t yyscanner );
230YY_BUFFER_STATE yy_scan_string ( const char *yy_str , yyscan_t yyscanner );
231YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len , yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200232
Pavol Vicanc82305e2016-11-02 08:55:22 +0100233void *yyalloc ( yy_size_t , yyscan_t yyscanner );
234void *yyrealloc ( void *, yy_size_t , yyscan_t yyscanner );
235void yyfree ( void * , yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200236
237/* Begin user sect3 */
238
Pavol Vicana524fbe2016-07-21 13:36:50 +0200239#define yywrap(yyscanner) (/*CONSTCOND*/1)
Pavol Vicancae54882016-03-30 12:24:43 +0200240#define YY_SKIP_YYWRAP
241
242#define yytext_ptr yytext_r
243
244#ifdef YY_HEADER_EXPORT_START_CONDITIONS
245#define INITIAL 0
246#define COMMENT1 1
247#define COMMENT2 2
Pavol Vican1a1552f2016-04-04 14:15:32 +0200248#define PATH 3
Pavol Vican52219be2016-09-28 11:11:34 +0200249#define DOUBLEQUOTES 4
Pavol Vican6ab09d82016-10-24 11:30:02 +0200250#define SINGLEQUOTES 5
Pavol Vicancae54882016-03-30 12:24:43 +0200251
252#endif
253
254#ifndef YY_NO_UNISTD_H
255/* Special case for "unistd.h", since it is non-ANSI. We include it way
256 * down here because we want the user's section 1 to have been scanned first.
257 * The user has a chance to override it with an option.
258 */
259#include <unistd.h>
260#endif
261
262#ifndef YY_EXTRA_TYPE
263#define YY_EXTRA_TYPE void *
264#endif
265
266int yylex_init (yyscan_t* scanner);
267
Pavol Vicanc82305e2016-11-02 08:55:22 +0100268int yylex_init_extra ( YY_EXTRA_TYPE user_defined, yyscan_t* scanner);
Pavol Vicancae54882016-03-30 12:24:43 +0200269
270/* Accessor methods to globals.
271 These are made visible to non-reentrant scanners for convenience. */
272
Pavol Vicanc82305e2016-11-02 08:55:22 +0100273int yylex_destroy ( yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200274
Pavol Vicanc82305e2016-11-02 08:55:22 +0100275int yyget_debug ( yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200276
Pavol Vicanc82305e2016-11-02 08:55:22 +0100277void yyset_debug ( int debug_flag , yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200278
Pavol Vicanc82305e2016-11-02 08:55:22 +0100279YY_EXTRA_TYPE yyget_extra ( yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200280
Pavol Vicanc82305e2016-11-02 08:55:22 +0100281void yyset_extra ( YY_EXTRA_TYPE user_defined , yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200282
Pavol Vicanc82305e2016-11-02 08:55:22 +0100283FILE *yyget_in ( yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200284
Pavol Vicanc82305e2016-11-02 08:55:22 +0100285void yyset_in ( FILE * _in_str , yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200286
Pavol Vicanc82305e2016-11-02 08:55:22 +0100287FILE *yyget_out ( yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200288
Pavol Vicanc82305e2016-11-02 08:55:22 +0100289void yyset_out ( FILE * _out_str , yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200290
Pavol Vicanc82305e2016-11-02 08:55:22 +0100291 int yyget_leng ( yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200292
Pavol Vicanc82305e2016-11-02 08:55:22 +0100293char *yyget_text ( yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200294
Pavol Vicanc82305e2016-11-02 08:55:22 +0100295int yyget_lineno ( yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200296
Pavol Vicanc82305e2016-11-02 08:55:22 +0100297void yyset_lineno ( int _line_number , yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200298
Pavol Vicanc82305e2016-11-02 08:55:22 +0100299int yyget_column ( yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200300
Pavol Vicanc82305e2016-11-02 08:55:22 +0100301void yyset_column ( int _column_no , yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200302
Pavol Vicanc82305e2016-11-02 08:55:22 +0100303YYSTYPE * yyget_lval ( yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200304
Pavol Vicanc82305e2016-11-02 08:55:22 +0100305void yyset_lval ( YYSTYPE * yylval_param , yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200306
Pavol Vicanc82305e2016-11-02 08:55:22 +0100307 YYLTYPE *yyget_lloc ( yyscan_t yyscanner );
Pavol Vican4ca887b2016-04-08 09:59:17 +0200308
Pavol Vicanc82305e2016-11-02 08:55:22 +0100309 void yyset_lloc ( YYLTYPE * yylloc_param , yyscan_t yyscanner );
Pavol Vican4ca887b2016-04-08 09:59:17 +0200310
Pavol Vicancae54882016-03-30 12:24:43 +0200311/* Macros after this point can all be overridden by user definitions in
312 * section 1.
313 */
314
315#ifndef YY_SKIP_YYWRAP
316#ifdef __cplusplus
Pavol Vicanc82305e2016-11-02 08:55:22 +0100317extern "C" int yywrap ( yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200318#else
Pavol Vicanc82305e2016-11-02 08:55:22 +0100319extern int yywrap ( yyscan_t yyscanner );
Pavol Vicancae54882016-03-30 12:24:43 +0200320#endif
321#endif
322
323#ifndef yytext_ptr
Pavol Vicanc82305e2016-11-02 08:55:22 +0100324static void yy_flex_strncpy ( char *, const char *, int , yyscan_t yyscanner);
Pavol Vicancae54882016-03-30 12:24:43 +0200325#endif
326
327#ifdef YY_NEED_STRLEN
Pavol Vicanc82305e2016-11-02 08:55:22 +0100328static int yy_flex_strlen ( const char * , yyscan_t yyscanner);
Pavol Vicancae54882016-03-30 12:24:43 +0200329#endif
330
331#ifndef YY_NO_INPUT
332
333#endif
334
335/* Amount of stuff to slurp up with each read. */
336#ifndef YY_READ_BUF_SIZE
Pavol Vicana524fbe2016-07-21 13:36:50 +0200337#ifdef __ia64__
338/* On IA-64, the buffer size is 16k, not 8k */
339#define YY_READ_BUF_SIZE 16384
340#else
Pavol Vicancae54882016-03-30 12:24:43 +0200341#define YY_READ_BUF_SIZE 8192
Pavol Vicana524fbe2016-07-21 13:36:50 +0200342#endif /* __ia64__ */
Pavol Vicancae54882016-03-30 12:24:43 +0200343#endif
344
345/* Number of entries by which start-condition stack grows. */
346#ifndef YY_START_STACK_INCR
347#define YY_START_STACK_INCR 25
348#endif
349
350/* Default declaration of generated scanner - a define so the user can
351 * easily add parameters.
352 */
353#ifndef YY_DECL
354#define YY_DECL_IS_OURS 1
355
356extern int yylex \
Pavol Vicanc82305e2016-11-02 08:55:22 +0100357 (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner);
Pavol Vicancae54882016-03-30 12:24:43 +0200358
359#define YY_DECL int yylex \
Pavol Vican4ca887b2016-04-08 09:59:17 +0200360 (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner)
Pavol Vicancae54882016-03-30 12:24:43 +0200361#endif /* !YY_DECL */
362
363/* yy_get_previous_state - get the state just before the EOB char was reached */
364
365#undef YY_NEW_FILE
366#undef YY_FLUSH_BUFFER
367#undef yy_set_bol
368#undef yy_new_buffer
369#undef yy_set_interactive
370#undef YY_DO_BEFORE_ACTION
371
372#ifdef YY_DECL_IS_OURS
373#undef YY_DECL_IS_OURS
374#undef YY_DECL
375#endif
376
Radek Krejcidce5f972017-09-12 15:47:49 +0200377#ifndef yy_create_buffer_ALREADY_DEFINED
378#undef yy_create_buffer
379#endif
380#ifndef yy_delete_buffer_ALREADY_DEFINED
381#undef yy_delete_buffer
382#endif
383#ifndef yy_scan_buffer_ALREADY_DEFINED
384#undef yy_scan_buffer
385#endif
386#ifndef yy_scan_string_ALREADY_DEFINED
387#undef yy_scan_string
388#endif
389#ifndef yy_scan_bytes_ALREADY_DEFINED
390#undef yy_scan_bytes
391#endif
392#ifndef yy_init_buffer_ALREADY_DEFINED
393#undef yy_init_buffer
394#endif
395#ifndef yy_flush_buffer_ALREADY_DEFINED
396#undef yy_flush_buffer
397#endif
398#ifndef yy_load_buffer_state_ALREADY_DEFINED
399#undef yy_load_buffer_state
400#endif
401#ifndef yy_switch_to_buffer_ALREADY_DEFINED
402#undef yy_switch_to_buffer
403#endif
404#ifndef yypush_buffer_state_ALREADY_DEFINED
405#undef yypush_buffer_state
406#endif
407#ifndef yypop_buffer_state_ALREADY_DEFINED
408#undef yypop_buffer_state
409#endif
410#ifndef yyensure_buffer_stack_ALREADY_DEFINED
411#undef yyensure_buffer_stack
412#endif
413#ifndef yylex_ALREADY_DEFINED
414#undef yylex
415#endif
416#ifndef yyrestart_ALREADY_DEFINED
417#undef yyrestart
418#endif
419#ifndef yylex_init_ALREADY_DEFINED
420#undef yylex_init
421#endif
422#ifndef yylex_init_extra_ALREADY_DEFINED
423#undef yylex_init_extra
424#endif
425#ifndef yylex_destroy_ALREADY_DEFINED
426#undef yylex_destroy
427#endif
428#ifndef yyget_debug_ALREADY_DEFINED
429#undef yyget_debug
430#endif
431#ifndef yyset_debug_ALREADY_DEFINED
432#undef yyset_debug
433#endif
434#ifndef yyget_extra_ALREADY_DEFINED
435#undef yyget_extra
436#endif
437#ifndef yyset_extra_ALREADY_DEFINED
438#undef yyset_extra
439#endif
440#ifndef yyget_in_ALREADY_DEFINED
441#undef yyget_in
442#endif
443#ifndef yyset_in_ALREADY_DEFINED
444#undef yyset_in
445#endif
446#ifndef yyget_out_ALREADY_DEFINED
447#undef yyget_out
448#endif
449#ifndef yyset_out_ALREADY_DEFINED
450#undef yyset_out
451#endif
452#ifndef yyget_leng_ALREADY_DEFINED
453#undef yyget_leng
454#endif
455#ifndef yyget_text_ALREADY_DEFINED
456#undef yyget_text
457#endif
458#ifndef yyget_lineno_ALREADY_DEFINED
459#undef yyget_lineno
460#endif
461#ifndef yyset_lineno_ALREADY_DEFINED
462#undef yyset_lineno
463#endif
464#ifndef yyget_column_ALREADY_DEFINED
465#undef yyget_column
466#endif
467#ifndef yyset_column_ALREADY_DEFINED
468#undef yyset_column
469#endif
470#ifndef yywrap_ALREADY_DEFINED
471#undef yywrap
472#endif
473#ifndef yyget_lval_ALREADY_DEFINED
474#undef yyget_lval
475#endif
476#ifndef yyset_lval_ALREADY_DEFINED
477#undef yyset_lval
478#endif
479#ifndef yyget_lloc_ALREADY_DEFINED
480#undef yyget_lloc
481#endif
482#ifndef yyset_lloc_ALREADY_DEFINED
483#undef yyset_lloc
484#endif
485#ifndef yyalloc_ALREADY_DEFINED
486#undef yyalloc
487#endif
488#ifndef yyrealloc_ALREADY_DEFINED
489#undef yyrealloc
490#endif
491#ifndef yyfree_ALREADY_DEFINED
492#undef yyfree
493#endif
494#ifndef yytext_ALREADY_DEFINED
495#undef yytext
496#endif
497#ifndef yyleng_ALREADY_DEFINED
498#undef yyleng
499#endif
500#ifndef yyin_ALREADY_DEFINED
501#undef yyin
502#endif
503#ifndef yyout_ALREADY_DEFINED
504#undef yyout
505#endif
506#ifndef yy_flex_debug_ALREADY_DEFINED
507#undef yy_flex_debug
508#endif
509#ifndef yylineno_ALREADY_DEFINED
510#undef yylineno
511#endif
512#ifndef yytables_fload_ALREADY_DEFINED
513#undef yytables_fload
514#endif
515#ifndef yytables_destroy_ALREADY_DEFINED
516#undef yytables_destroy
517#endif
518#ifndef yyTABLES_NAME_ALREADY_DEFINED
519#undef yyTABLES_NAME
520#endif
521
Pavol Vicancae54882016-03-30 12:24:43 +0200522#undef yyIN_HEADER
523#endif /* yyHEADER_H */