blob: 1951c7b23fe367e0278e8290c9e213a4f0bcda1e [file] [log] [blame]
Pavol Vicancae54882016-03-30 12:24:43 +02001
Pavol Vican4ca887b2016-04-08 09:59:17 +02002#line 3 "parser_yang_lex.c"
Pavol Vicancae54882016-03-30 12:24:43 +02003
4#define YY_INT_ALIGNED short int
5
6/* A lexical scanner generated by flex */
7
8#define FLEX_SCANNER
9#define YY_FLEX_MAJOR_VERSION 2
10#define YY_FLEX_MINOR_VERSION 6
11#define YY_FLEX_SUBMINOR_VERSION 0
12#if YY_FLEX_SUBMINOR_VERSION > 0
13#define FLEX_BETA
14#endif
15
16/* First, we deal with platform-specific or compiler-specific issues. */
17
18/* begin standard C headers. */
19#include <stdio.h>
20#include <string.h>
21#include <errno.h>
22#include <stdlib.h>
23
24/* end standard C headers. */
25
26/* flex integer type definitions */
27
28#ifndef FLEXINT_H
29#define FLEXINT_H
30
31/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
32
33#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
34
35/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
36 * if you want the limit (max/min) macros for int types.
37 */
38#ifndef __STDC_LIMIT_MACROS
39#define __STDC_LIMIT_MACROS 1
40#endif
41
42#include <inttypes.h>
43typedef int8_t flex_int8_t;
44typedef uint8_t flex_uint8_t;
45typedef int16_t flex_int16_t;
46typedef uint16_t flex_uint16_t;
47typedef int32_t flex_int32_t;
48typedef uint32_t flex_uint32_t;
49#else
50typedef signed char flex_int8_t;
51typedef short int flex_int16_t;
52typedef int flex_int32_t;
53typedef unsigned char flex_uint8_t;
54typedef unsigned short int flex_uint16_t;
55typedef unsigned int flex_uint32_t;
56
57/* Limits of integral types. */
58#ifndef INT8_MIN
59#define INT8_MIN (-128)
60#endif
61#ifndef INT16_MIN
62#define INT16_MIN (-32767-1)
63#endif
64#ifndef INT32_MIN
65#define INT32_MIN (-2147483647-1)
66#endif
67#ifndef INT8_MAX
68#define INT8_MAX (127)
69#endif
70#ifndef INT16_MAX
71#define INT16_MAX (32767)
72#endif
73#ifndef INT32_MAX
74#define INT32_MAX (2147483647)
75#endif
76#ifndef UINT8_MAX
77#define UINT8_MAX (255U)
78#endif
79#ifndef UINT16_MAX
80#define UINT16_MAX (65535U)
81#endif
82#ifndef UINT32_MAX
83#define UINT32_MAX (4294967295U)
84#endif
85
86#endif /* ! C99 */
87
88#endif /* ! FLEXINT_H */
89
90#ifdef __cplusplus
91
92/* The "const" storage-class-modifier is valid. */
93#define YY_USE_CONST
94
95#else /* ! __cplusplus */
96
97/* C99 requires __STDC__ to be defined as 1. */
98#if defined (__STDC__)
99
100#define YY_USE_CONST
101
102#endif /* defined (__STDC__) */
103#endif /* ! __cplusplus */
104
105#ifdef YY_USE_CONST
106#define yyconst const
107#else
108#define yyconst
109#endif
110
111/* Returned upon end-of-file. */
112#define YY_NULL 0
113
114/* Promotes a possibly negative, possibly signed char to an unsigned
115 * integer for use as an array index. If the signed char is negative,
116 * we want to instead treat it as an 8-bit unsigned char, hence the
117 * double cast.
118 */
119#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
120
121/* An opaque pointer. */
122#ifndef YY_TYPEDEF_YY_SCANNER_T
123#define YY_TYPEDEF_YY_SCANNER_T
124typedef void* yyscan_t;
125#endif
126
127/* For convenience, these vars (plus the bison vars far below)
128 are macros in the reentrant scanner. */
129#define yyin yyg->yyin_r
130#define yyout yyg->yyout_r
131#define yyextra yyg->yyextra_r
132#define yyleng yyg->yyleng_r
133#define yytext yyg->yytext_r
134#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
135#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
136#define yy_flex_debug yyg->yy_flex_debug_r
137
138/* Enter a start condition. This macro really ought to take a parameter,
139 * but we do it the disgusting crufty way forced on us by the ()-less
140 * definition of BEGIN.
141 */
142#define BEGIN yyg->yy_start = 1 + 2 *
143
144/* Translate the current start state into a value that can be later handed
145 * to BEGIN to return to the state. The YYSTATE alias is for lex
146 * compatibility.
147 */
148#define YY_START ((yyg->yy_start - 1) / 2)
149#define YYSTATE YY_START
150
151/* Action number for EOF rule of a given start state. */
152#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
153
154/* Special action meaning "start processing a new file". */
155#define YY_NEW_FILE yyrestart(yyin ,yyscanner )
156
157#define YY_END_OF_BUFFER_CHAR 0
158
159/* Size of default input buffer. */
160#ifndef YY_BUF_SIZE
161#ifdef __ia64__
162/* On IA-64, the buffer size is 16k, not 8k.
163 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
164 * Ditto for the __ia64__ case accordingly.
165 */
166#define YY_BUF_SIZE 32768
167#else
168#define YY_BUF_SIZE 16384
169#endif /* __ia64__ */
170#endif
171
172/* The state buf must be large enough to hold one state per character in the main buffer.
173 */
174#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
175
176#ifndef YY_TYPEDEF_YY_BUFFER_STATE
177#define YY_TYPEDEF_YY_BUFFER_STATE
178typedef struct yy_buffer_state *YY_BUFFER_STATE;
179#endif
180
181#ifndef YY_TYPEDEF_YY_SIZE_T
182#define YY_TYPEDEF_YY_SIZE_T
183typedef size_t yy_size_t;
184#endif
185
186#define EOB_ACT_CONTINUE_SCAN 0
187#define EOB_ACT_END_OF_FILE 1
188#define EOB_ACT_LAST_MATCH 2
189
190 #define YY_LESS_LINENO(n)
191 #define YY_LINENO_REWIND_TO(ptr)
192
193/* Return all but the first "n" matched characters back to the input stream. */
194#define yyless(n) \
195 do \
196 { \
197 /* Undo effects of setting up yytext. */ \
198 int yyless_macro_arg = (n); \
199 YY_LESS_LINENO(yyless_macro_arg);\
200 *yy_cp = yyg->yy_hold_char; \
201 YY_RESTORE_YY_MORE_OFFSET \
202 yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
203 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
204 } \
205 while ( 0 )
206
207#define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
208
209#ifndef YY_STRUCT_YY_BUFFER_STATE
210#define YY_STRUCT_YY_BUFFER_STATE
211struct yy_buffer_state
212 {
213 FILE *yy_input_file;
214
215 char *yy_ch_buf; /* input buffer */
216 char *yy_buf_pos; /* current position in input buffer */
217
218 /* Size of input buffer in bytes, not including room for EOB
219 * characters.
220 */
221 yy_size_t yy_buf_size;
222
223 /* Number of characters read into yy_ch_buf, not including EOB
224 * characters.
225 */
226 yy_size_t yy_n_chars;
227
228 /* Whether we "own" the buffer - i.e., we know we created it,
229 * and can realloc() it to grow it, and should free() it to
230 * delete it.
231 */
232 int yy_is_our_buffer;
233
234 /* Whether this is an "interactive" input source; if so, and
235 * if we're using stdio for input, then we want to use getc()
236 * instead of fread(), to make sure we stop fetching input after
237 * each newline.
238 */
239 int yy_is_interactive;
240
241 /* Whether we're considered to be at the beginning of a line.
242 * If so, '^' rules will be active on the next match, otherwise
243 * not.
244 */
245 int yy_at_bol;
246
247 int yy_bs_lineno; /**< The line count. */
248 int yy_bs_column; /**< The column count. */
249
250 /* Whether to try to fill the input buffer when we reach the
251 * end of it.
252 */
253 int yy_fill_buffer;
254
255 int yy_buffer_status;
256
257#define YY_BUFFER_NEW 0
258#define YY_BUFFER_NORMAL 1
259 /* When an EOF's been seen but there's still some text to process
260 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
261 * shouldn't try reading from the input source any more. We might
262 * still have a bunch of tokens to match, though, because of
263 * possible backing-up.
264 *
265 * When we actually see the EOF, we change the status to "new"
266 * (via yyrestart()), so that the user can continue scanning by
267 * just pointing yyin at a new input file.
268 */
269#define YY_BUFFER_EOF_PENDING 2
270
271 };
272#endif /* !YY_STRUCT_YY_BUFFER_STATE */
273
274/* We provide macros for accessing buffer states in case in the
275 * future we want to put the buffer states in a more general
276 * "scanner state".
277 *
278 * Returns the top of the stack, or NULL.
279 */
280#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
281 ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
282 : NULL)
283
284/* Same as previous macro, but useful when we know that the buffer stack is not
285 * NULL or when we need an lvalue. For internal use only.
286 */
287#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
288
289void yyrestart (FILE *input_file ,yyscan_t yyscanner );
290void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
291YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
292void yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
293void yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
294void yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
295void yypop_buffer_state (yyscan_t yyscanner );
296
297static void yyensure_buffer_stack (yyscan_t yyscanner );
298static void yy_load_buffer_state (yyscan_t yyscanner );
299static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ,yyscan_t yyscanner );
300
301#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ,yyscanner)
302
303YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
304YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
305YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );
306
307void *yyalloc (yy_size_t ,yyscan_t yyscanner );
308void *yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
309void yyfree (void * ,yyscan_t yyscanner );
310
311#define yy_new_buffer yy_create_buffer
312
313#define yy_set_interactive(is_interactive) \
314 { \
315 if ( ! YY_CURRENT_BUFFER ){ \
316 yyensure_buffer_stack (yyscanner); \
317 YY_CURRENT_BUFFER_LVALUE = \
318 yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
319 } \
320 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
321 }
322
323#define yy_set_bol(at_bol) \
324 { \
325 if ( ! YY_CURRENT_BUFFER ){\
326 yyensure_buffer_stack (yyscanner); \
327 YY_CURRENT_BUFFER_LVALUE = \
328 yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
329 } \
330 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
331 }
332
333#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
334
335/* Begin user sect3 */
336
337#define yywrap(yyscanner) (/*CONSTCOND*/1)
338#define YY_SKIP_YYWRAP
339
340typedef unsigned char YY_CHAR;
341
342typedef int yy_state_type;
343
344#define yytext_ptr yytext_r
345
346static yy_state_type yy_get_previous_state (yyscan_t yyscanner );
347static yy_state_type yy_try_NUL_trans (yy_state_type current_state ,yyscan_t yyscanner);
348static int yy_get_next_buffer (yyscan_t yyscanner );
349#if defined(__GNUC__) && __GNUC__ >= 3
350__attribute__((__noreturn__))
351#endif
352static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner );
353
354/* Done after the current pattern has been matched and before the
355 * corresponding action - sets up yytext.
356 */
357#define YY_DO_BEFORE_ACTION \
358 yyg->yytext_ptr = yy_bp; \
359 yyleng = (size_t) (yy_cp - yy_bp); \
360 yyg->yy_hold_char = *yy_cp; \
361 *yy_cp = '\0'; \
362 yyg->yy_c_buf_p = yy_cp;
363
Pavol Vican1a1552f2016-04-04 14:15:32 +0200364#define YY_NUM_RULES 119
365#define YY_END_OF_BUFFER 120
Pavol Vicancae54882016-03-30 12:24:43 +0200366/* This struct is not used in this scanner,
367 but its presence is necessary. */
368struct yy_trans_info
369 {
370 flex_int32_t yy_verify;
371 flex_int32_t yy_nxt;
372 };
Pavol Vican4ca887b2016-04-08 09:59:17 +0200373static yyconst flex_int16_t yy_accept[561] =
Pavol Vicancae54882016-03-30 12:24:43 +0200374 { 0,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200375 0, 0, 0, 0, 0, 0, 0, 0, 120, 118,
376 117, 116, 115, 118, 118, 89, 115, 115, 92, 94,
377 88, 113, 113, 113, 113, 113, 113, 113, 113, 113,
378 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
379 113, 113, 113, 86, 87, 2, 3, 2, 6, 7,
380 119, 103, 102, 119, 119, 99, 100, 119, 95, 104,
381 98, 110, 96, 97, 110, 105, 117, 115, 0, 90,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200382 0, 0, 91, 93, 1, 5, 115, 94, 113, 115,
383 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200384 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
Pavol Vicancae54882016-03-30 12:24:43 +0200385
Pavol Vican1a1552f2016-04-04 14:15:32 +0200386 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
387 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
388 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200389 113, 113, 4, 103, 0, 106, 0, 0, 107, 101,
390 109, 108, 110, 0, 110, 93, 115, 94, 114, 73,
391 113, 113, 113, 113, 113, 13, 113, 113, 113, 113,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200392 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200393 113, 113, 113, 113, 113, 113, 113, 35, 113, 113,
394 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200395 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
Pavol Vicancae54882016-03-30 12:24:43 +0200396
Pavol Vican4ca887b2016-04-08 09:59:17 +0200397 61, 113, 113, 113, 113, 113, 113, 113, 113, 113,
398 113, 113, 113, 111, 110, 115, 94, 114, 113, 113,
399 113, 11, 113, 14, 113, 113, 113, 113, 113, 113,
400 113, 113, 113, 21, 113, 113, 113, 113, 113, 113,
401 113, 113, 113, 113, 113, 36, 113, 39, 113, 113,
402 113, 113, 44, 113, 113, 113, 113, 113, 113, 113,
403 50, 113, 113, 113, 113, 113, 113, 113, 113, 113,
404 113, 113, 113, 113, 83, 64, 113, 113, 113, 85,
405 68, 113, 70, 113, 113, 111, 110, 115, 94, 113,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200406 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
Pavol Vicancae54882016-03-30 12:24:43 +0200407
Pavol Vican4ca887b2016-04-08 09:59:17 +0200408 113, 113, 113, 113, 78, 113, 113, 113, 113, 113,
409 113, 113, 34, 113, 113, 113, 113, 113, 113, 113,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200410 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200411 55, 113, 113, 113, 113, 113, 113, 113, 113, 113,
412 113, 113, 67, 69, 113, 113, 110, 115, 8, 113,
413 113, 113, 15, 16, 113, 113, 113, 113, 76, 113,
414 113, 113, 113, 113, 113, 113, 113, 113, 113, 32,
415 113, 113, 38, 113, 113, 113, 43, 113, 113, 113,
416 113, 113, 113, 49, 113, 113, 53, 113, 113, 57,
417 113, 113, 113, 62, 113, 82, 113, 113, 66, 113,
Pavol Vicancae54882016-03-30 12:24:43 +0200418
Pavol Vican4ca887b2016-04-08 09:59:17 +0200419 113, 110, 115, 113, 10, 113, 17, 113, 74, 19,
420 113, 113, 26, 113, 113, 113, 113, 27, 113, 113,
421 113, 113, 33, 113, 113, 113, 113, 113, 113, 113,
422 113, 113, 113, 51, 113, 113, 113, 81, 113, 113,
423 113, 65, 113, 113, 113, 75, 115, 9, 113, 113,
424 113, 113, 113, 113, 113, 113, 113, 29, 30, 113,
425 113, 113, 113, 113, 113, 113, 113, 80, 113, 113,
426 52, 54, 113, 113, 59, 113, 113, 113, 113, 115,
427 113, 18, 113, 113, 25, 113, 113, 24, 113, 113,
428 37, 40, 113, 113, 45, 113, 113, 113, 113, 56,
Pavol Vicancae54882016-03-30 12:24:43 +0200429
Pavol Vican4ca887b2016-04-08 09:59:17 +0200430 113, 113, 63, 84, 113, 113, 112, 12, 77, 113,
431 113, 113, 113, 31, 113, 113, 113, 113, 47, 113,
432 113, 113, 113, 113, 20, 113, 113, 113, 113, 113,
433 113, 113, 113, 113, 113, 113, 72, 113, 113, 113,
434 41, 42, 113, 46, 48, 113, 113, 71, 22, 23,
435 113, 79, 113, 60, 113, 113, 28, 113, 58, 0
Pavol Vicancae54882016-03-30 12:24:43 +0200436 } ;
437
438static yyconst YY_CHAR yy_ec[256] =
439 { 0,
440 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
441 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
442 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200443 1, 4, 5, 6, 5, 5, 5, 5, 7, 8,
444 9, 10, 11, 5, 12, 13, 14, 15, 16, 16,
445 16, 16, 16, 16, 16, 16, 16, 17, 18, 5,
446 19, 5, 5, 5, 20, 20, 20, 20, 20, 20,
447 20, 20, 20, 20, 20, 20, 20, 20, 20, 20,
448 20, 20, 20, 20, 20, 20, 20, 20, 20, 20,
449 21, 22, 23, 5, 20, 5, 24, 25, 26, 27,
Pavol Vicancae54882016-03-30 12:24:43 +0200450
Pavol Vican4ca887b2016-04-08 09:59:17 +0200451 28, 29, 30, 31, 32, 20, 33, 34, 35, 36,
452 37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
453 47, 48, 49, 5, 50, 5, 1, 1, 1, 1,
Pavol Vicancae54882016-03-30 12:24:43 +0200454 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
455 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
456 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
457 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
458 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
459 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
460 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
461
462 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
463 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
464 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
465 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
466 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
467 1, 1, 1, 1, 1
468 } ;
469
Pavol Vican4ca887b2016-04-08 09:59:17 +0200470static yyconst YY_CHAR yy_meta[51] =
Pavol Vicancae54882016-03-30 12:24:43 +0200471 { 0,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200472 1, 2, 2, 2, 3, 2, 2, 3, 3, 3,
473 3, 4, 4, 3, 4, 4, 5, 2, 3, 6,
474 3, 2, 3, 6, 6, 6, 6, 6, 6, 6,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200475 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200476 6, 6, 6, 6, 6, 6, 6, 6, 2, 2
Pavol Vicancae54882016-03-30 12:24:43 +0200477 } ;
478
Pavol Vican4ca887b2016-04-08 09:59:17 +0200479static yyconst flex_uint16_t yy_base[574] =
Pavol Vicancae54882016-03-30 12:24:43 +0200480 { 0,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200481 0, 0, 48, 49, 273, 269, 59, 0, 259, 3209,
482 51, 3209, 0, 104, 243, 0, 232, 101, 41, 97,
483 3209, 122, 141, 129, 139, 158, 147, 164, 169, 179,
484 189, 199, 209, 220, 226, 231, 237, 243, 251, 261,
485 194, 269, 279, 3209, 3209, 3209, 3209, 226, 3209, 3209,
486 3209, 112, 3209, 112, 231, 3209, 3209, 215, 107, 3209,
487 3209, 196, 3209, 3209, 105, 3209, 121, 0, 113, 3209,
488 126, 192, 3209, 122, 0, 0, 187, 195, 280, 319,
489 310, 312, 324, 335, 336, 346, 354, 364, 366, 372,
490 374, 391, 397, 403, 409, 414, 420, 431, 432, 437,
Pavol Vicancae54882016-03-30 12:24:43 +0200491
Pavol Vican4ca887b2016-04-08 09:59:17 +0200492 449, 443, 461, 455, 469, 467, 479, 484, 490, 496,
493 507, 513, 518, 508, 530, 535, 540, 557, 552, 560,
494 576, 581, 582, 587, 593, 599, 613, 619, 614, 624,
495 634, 636, 3209, 138, 167, 3209, 221, 190, 3209, 3209,
496 3209, 3209, 163, 0, 107, 266, 277, 298, 675, 661,
497 663, 675, 681, 686, 696, 698, 715, 713, 721, 732,
498 738, 743, 733, 758, 760, 770, 772, 789, 787, 795,
499 807, 809, 815, 817, 827, 832, 838, 844, 850, 855,
500 861, 856, 882, 888, 880, 890, 907, 909, 917, 928,
501 934, 940, 948, 960, 354, 959, 977, 985, 958, 991,
Pavol Vicancae54882016-03-30 12:24:43 +0200502
Pavol Vican4ca887b2016-04-08 09:59:17 +0200503 997, 999, 1009, 1011, 1028, 1030, 1038, 1040, 1050, 1058,
504 1060, 1072, 1077, 0, 127, 159, 329, 1116, 1105, 1107,
505 1124, 1119, 1129, 1130, 1148, 1149, 1159, 1169, 1167, 1177,
506 1187, 1189, 1197, 1195, 1207, 1209, 1226, 1215, 1221, 1232,
507 1238, 1249, 1255, 1257, 1263, 1274, 1280, 1275, 1285, 1299,
508 1304, 1309, 1310, 1321, 1327, 1329, 1339, 1344, 1349, 1350,
509 1361, 1367, 1369, 1381, 1387, 1392, 1398, 1404, 1409, 1410,
510 1421, 1427, 1429, 1446, 1441, 1451, 1452, 1463, 1469, 1471,
511 1477, 1488, 1494, 1496, 1513, 0, 226, 302, 310, 1508,
512 1518, 1523, 1535, 1540, 1552, 1558, 1560, 1570, 1580, 1585,
Pavol Vicancae54882016-03-30 12:24:43 +0200513
Pavol Vican4ca887b2016-04-08 09:59:17 +0200514 1590, 1600, 1612, 1610, 1618, 1620, 1630, 1632, 1642, 1652,
515 1644, 1654, 1662, 1672, 1673, 1683, 1684, 1694, 1704, 1712,
516 1702, 1722, 1732, 1742, 1744, 1750, 1761, 1762, 1772, 1773,
517 1783, 1793, 1803, 1798, 1808, 1813, 1823, 1825, 1835, 1845,
518 1840, 1859, 1857, 1865, 1867, 1879, 142, 341, 1885, 1887,
519 1893, 1904, 1910, 1912, 1922, 1927, 1932, 1942, 1950, 1952,
520 1960, 1974, 1980, 1986, 1997, 2005, 2003, 2011, 2022, 2023,
521 2033, 2043, 2041, 2051, 2062, 2068, 2070, 2076, 2082, 2088,
522 2090, 2100, 2102, 2108, 2119, 2120, 2125, 2140, 2142, 2148,
523 2159, 2165, 2167, 2173, 2179, 2184, 2185, 2190, 2196, 2207,
Pavol Vicancae54882016-03-30 12:24:43 +0200524
Pavol Vican4ca887b2016-04-08 09:59:17 +0200525 2213, 178, 142, 2202, 2219, 2225, 2224, 2230, 2236, 2242,
526 2244, 2254, 2262, 2264, 2272, 2286, 2284, 2292, 2298, 2303,
527 2304, 2309, 2321, 2326, 2332, 2338, 2344, 2350, 2356, 2361,
528 2375, 2383, 2381, 2373, 2393, 2403, 2401, 2411, 2413, 2421,
529 2431, 2423, 2441, 2443, 2453, 103, 353, 2451, 2463, 2468,
530 2473, 2483, 2485, 2491, 2497, 2503, 2505, 2515, 2517, 2523,
531 2525, 2535, 2545, 2556, 2562, 2564, 2570, 2581, 2589, 2591,
532 2599, 2601, 2618, 2616, 2624, 2635, 2630, 2641, 2652, 369,
533 2660, 2658, 2666, 2677, 2672, 2695, 2683, 2689, 2694, 2700,
534 2706, 2712, 2714, 2720, 2726, 2731, 2732, 2743, 2749, 2751,
Pavol Vicancae54882016-03-30 12:24:43 +0200535
Pavol Vican4ca887b2016-04-08 09:59:17 +0200536 2757, 2768, 2769, 2774, 2786, 2780, 0, 2788, 2794, 2800,
537 2805, 2815, 2817, 2823, 2825, 2835, 2843, 2853, 2855, 2865,
538 2870, 2876, 2887, 2893, 2882, 2904, 2912, 2923, 2924, 2934,
539 2944, 2942, 2952, 2954, 2962, 2972, 2973, 2984, 2990, 2996,
540 2995, 3007, 3013, 3015, 3021, 3035, 3040, 3045, 3046, 3057,
541 3063, 3068, 3074, 3080, 3085, 3103, 3091, 3105, 3111, 3209,
542 3154, 3160, 3164, 3169, 3174, 3178, 3183, 3188, 3191, 3195,
543 48, 3199, 3202
Pavol Vicancae54882016-03-30 12:24:43 +0200544 } ;
545
Pavol Vican4ca887b2016-04-08 09:59:17 +0200546static yyconst flex_int16_t yy_def[574] =
Pavol Vicancae54882016-03-30 12:24:43 +0200547 { 0,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200548 560, 1, 561, 561, 562, 562, 560, 7, 560, 560,
549 560, 560, 563, 564, 565, 563, 563, 563, 563, 563,
550 560, 566, 566, 23, 23, 23, 23, 23, 23, 23,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200551 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200552 23, 23, 23, 560, 560, 560, 560, 560, 560, 560,
553 560, 560, 560, 567, 568, 560, 560, 560, 560, 560,
554 560, 569, 560, 560, 569, 560, 560, 563, 564, 560,
555 564, 565, 560, 563, 563, 563, 563, 563, 23, 570,
556 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200557 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vicancae54882016-03-30 12:24:43 +0200558
Pavol Vican1a1552f2016-04-04 14:15:32 +0200559 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200560 23, 23, 23, 23, 23, 23, 23, 23, 23, 92,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200561 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200562 23, 23, 560, 560, 567, 560, 567, 568, 560, 560,
563 560, 560, 569, 571, 569, 563, 563, 563, 572, 23,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200564 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
565 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
566 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200567 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
568 23, 23, 23, 23, 92, 23, 23, 23, 23, 23,
Pavol Vicancae54882016-03-30 12:24:43 +0200569
Pavol Vican1a1552f2016-04-04 14:15:32 +0200570 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200571 23, 23, 23, 573, 569, 563, 563, 572, 23, 23,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200572 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
573 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
574 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
575 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
576 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
577 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200578 23, 23, 23, 23, 23, 573, 569, 563, 563, 23,
579 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vicancae54882016-03-30 12:24:43 +0200580
Pavol Vican1a1552f2016-04-04 14:15:32 +0200581 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
582 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
583 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
584 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200585 23, 23, 23, 23, 23, 23, 569, 563, 23, 23,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200586 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200587 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
588 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
589 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
590 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vicancae54882016-03-30 12:24:43 +0200591
Pavol Vican4ca887b2016-04-08 09:59:17 +0200592 23, 569, 563, 23, 23, 23, 23, 23, 23, 23,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200593 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
594 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
595 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200596 23, 23, 23, 23, 23, 569, 563, 23, 23, 23,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200597 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
598 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200599 23, 23, 23, 23, 23, 23, 23, 23, 23, 563,
600 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200601 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vicancae54882016-03-30 12:24:43 +0200602
Pavol Vican4ca887b2016-04-08 09:59:17 +0200603 23, 23, 23, 23, 23, 23, 563, 23, 23, 23,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200604 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
605 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
606 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
607 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200608 23, 23, 23, 23, 23, 23, 23, 23, 23, 0,
609 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
610 560, 560, 560
Pavol Vicancae54882016-03-30 12:24:43 +0200611 } ;
612
Pavol Vican4ca887b2016-04-08 09:59:17 +0200613static yyconst flex_uint16_t yy_nxt[3260] =
Pavol Vicancae54882016-03-30 12:24:43 +0200614 { 0,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200615 10, 11, 12, 11, 13, 14, 15, 13, 13, 13,
616 16, 17, 13, 18, 19, 20, 13, 21, 13, 22,
617 13, 10, 13, 23, 24, 25, 26, 27, 28, 29,
618 22, 30, 31, 32, 33, 34, 35, 36, 22, 37,
619 38, 39, 40, 41, 42, 22, 43, 22, 44, 45,
620 47, 47, 67, 214, 67, 77, 77, 48, 48, 51,
621 52, 53, 52, 51, 54, 55, 56, 57, 51, 51,
622 51, 58, 59, 51, 51, 51, 60, 61, 62, 63,
623 51, 64, 62, 62, 65, 62, 62, 62, 62, 62,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200624 62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
Pavol Vicancae54882016-03-30 12:24:43 +0200625
Pavol Vican4ca887b2016-04-08 09:59:17 +0200626 62, 62, 62, 62, 62, 62, 62, 66, 51, 70,
627 75, 78, 78, 134, 76, 134, 141, 136, 70, 144,
628 142, 144, 67, 144, 67, 71, 68, 560, 560, 68,
629 68, 68, 68, 137, 71, 68, 146, 146, 80, 134,
630 68, 134, 68, 144, 68, 68, 215, 145, 68, 68,
631 68, 68, 85, 447, 68, 79, 86, 80, 144, 68,
632 87, 68, 88, 68, 79, 79, 287, 81, 79, 89,
633 288, 79, 136, 79, 79, 90, 82, 402, 79, 144,
634 83, 91, 93, 84, 79, 92, 94, 96, 137, 79,
635 79, 97, 95, 79, 144, 79, 139, 79, 73, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200636
Pavol Vican4ca887b2016-04-08 09:59:17 +0200637 79, 147, 147, 98, 79, 100, 79, 101, 99, 148,
638 148, 79, 144, 102, 103, 79, 104, 129, 79, 446,
639 79, 79, 560, 560, 79, 79, 105, 140, 79, 79,
640 106, 79, 107, 79, 79, 79, 79, 139, 79, 133,
641 108, 79, 144, 111, 79, 109, 79, 74, 79, 73,
642 113, 110, 79, 347, 116, 79, 112, 79, 560, 79,
643 119, 79, 79, 79, 120, 114, 79, 117, 115, 79,
644 118, 50, 79, 79, 121, 50, 79, 79, 79, 79,
645 146, 146, 79, 560, 122, 123, 79, 79, 560, 124,
646 125, 216, 216, 79, 560, 79, 127, 126, 560, 130,
Pavol Vicancae54882016-03-30 12:24:43 +0200647
Pavol Vican4ca887b2016-04-08 09:59:17 +0200648 79, 128, 131, 79, 79, 79, 79, 560, 79, 560,
649 132, 79, 217, 217, 79, 79, 348, 348, 79, 79,
650 560, 79, 79, 68, 289, 289, 68, 68, 68, 68,
651 68, 68, 68, 68, 68, 68, 150, 68, 79, 68,
652 288, 68, 560, 289, 289, 79, 560, 79, 560, 79,
653 79, 79, 79, 152, 79, 403, 403, 560, 151, 79,
654 560, 79, 79, 79, 153, 560, 79, 480, 480, 560,
655 79, 79, 79, 560, 79, 79, 154, 79, 79, 155,
656 79, 79, 264, 507, 507, 79, 560, 79, 79, 79,
657 79, 79, 79, 79, 265, 156, 79, 79, 79, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200658
Pavol Vican4ca887b2016-04-08 09:59:17 +0200659 79, 79, 158, 79, 157, 79, 79, 159, 79, 79,
660 560, 79, 560, 160, 79, 560, 79, 79, 560, 161,
661 560, 560, 560, 79, 162, 560, 79, 560, 163, 79,
662 79, 164, 79, 79, 165, 79, 79, 560, 79, 166,
663 79, 560, 167, 170, 79, 79, 79, 169, 79, 79,
664 168, 79, 560, 79, 171, 79, 79, 79, 79, 79,
665 174, 560, 79, 79, 173, 560, 79, 79, 172, 79,
666 79, 79, 79, 79, 79, 79, 79, 560, 79, 79,
667 175, 79, 79, 560, 79, 79, 176, 79, 79, 560,
668 79, 79, 179, 79, 79, 79, 79, 79, 177, 560,
Pavol Vicancae54882016-03-30 12:24:43 +0200669
Pavol Vican4ca887b2016-04-08 09:59:17 +0200670 79, 178, 79, 79, 180, 79, 79, 181, 79, 79,
671 79, 79, 560, 560, 182, 560, 185, 560, 79, 184,
672 560, 79, 79, 79, 183, 79, 79, 560, 560, 79,
673 560, 79, 79, 79, 190, 79, 186, 191, 79, 79,
674 560, 187, 79, 79, 79, 560, 79, 79, 79, 79,
675 79, 560, 79, 79, 188, 79, 79, 79, 189, 560,
676 79, 79, 560, 560, 560, 79, 79, 560, 560, 79,
677 79, 192, 79, 560, 79, 79, 193, 79, 79, 79,
678 194, 560, 79, 79, 195, 560, 560, 196, 197, 560,
679 560, 79, 79, 79, 79, 560, 79, 198, 199, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200680
Pavol Vican4ca887b2016-04-08 09:59:17 +0200681 79, 201, 79, 200, 202, 560, 203, 79, 79, 560,
682 560, 79, 560, 79, 560, 79, 79, 79, 79, 79,
683 79, 79, 79, 79, 79, 79, 79, 204, 79, 79,
684 560, 560, 79, 560, 79, 205, 206, 207, 79, 79,
685 79, 79, 560, 560, 208, 79, 209, 210, 79, 79,
686 79, 211, 79, 79, 79, 79, 79, 560, 79, 79,
687 79, 79, 79, 79, 560, 560, 79, 560, 560, 212,
688 560, 213, 560, 79, 560, 79, 79, 560, 79, 68,
689 560, 560, 68, 68, 68, 68, 560, 79, 68, 79,
690 560, 68, 560, 68, 560, 68, 79, 68, 79, 560,
Pavol Vicancae54882016-03-30 12:24:43 +0200691
Pavol Vican4ca887b2016-04-08 09:59:17 +0200692 79, 79, 79, 79, 560, 79, 560, 79, 219, 560,
693 79, 560, 79, 222, 79, 221, 79, 220, 560, 560,
694 79, 79, 79, 79, 79, 79, 560, 560, 79, 560,
695 560, 79, 223, 79, 560, 79, 560, 79, 79, 79,
696 79, 79, 224, 560, 225, 560, 560, 79, 79, 226,
697 79, 560, 79, 560, 79, 79, 79, 79, 79, 79,
698 79, 229, 227, 79, 79, 560, 560, 79, 79, 79,
699 230, 228, 231, 79, 79, 79, 560, 79, 79, 560,
700 79, 560, 79, 232, 79, 79, 79, 560, 560, 560,
701 560, 233, 560, 79, 560, 79, 79, 79, 79, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200702
Pavol Vican4ca887b2016-04-08 09:59:17 +0200703 79, 560, 79, 560, 234, 79, 560, 79, 235, 79,
704 560, 79, 79, 79, 79, 79, 236, 560, 560, 560,
705 560, 79, 79, 560, 79, 560, 79, 237, 79, 79,
706 79, 79, 239, 79, 79, 79, 238, 79, 560, 560,
707 560, 79, 79, 79, 79, 242, 79, 560, 79, 79,
708 241, 240, 79, 79, 79, 560, 79, 79, 79, 79,
709 560, 560, 79, 243, 79, 244, 79, 79, 560, 79,
710 79, 79, 560, 79, 79, 560, 79, 79, 246, 79,
711 245, 79, 249, 79, 247, 79, 79, 79, 560, 79,
712 79, 79, 79, 250, 79, 79, 79, 79, 79, 251,
Pavol Vicancae54882016-03-30 12:24:43 +0200713
Pavol Vican4ca887b2016-04-08 09:59:17 +0200714 79, 560, 248, 79, 560, 560, 79, 560, 79, 560,
715 560, 560, 560, 560, 79, 79, 79, 79, 560, 79,
716 255, 79, 252, 79, 79, 79, 560, 79, 560, 79,
717 79, 253, 79, 79, 254, 79, 560, 560, 560, 560,
718 256, 560, 79, 79, 79, 560, 79, 560, 79, 79,
719 560, 79, 79, 257, 79, 258, 79, 259, 560, 79,
720 79, 560, 560, 79, 560, 560, 79, 79, 560, 79,
721 79, 560, 560, 79, 79, 79, 79, 260, 261, 79,
722 560, 560, 79, 79, 79, 79, 79, 79, 266, 262,
723 79, 263, 560, 79, 79, 79, 560, 79, 79, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200724
Pavol Vican4ca887b2016-04-08 09:59:17 +0200725 270, 79, 79, 79, 267, 560, 560, 560, 268, 560,
726 560, 79, 79, 560, 560, 560, 79, 79, 269, 79,
727 79, 560, 271, 79, 79, 79, 79, 79, 560, 560,
728 79, 560, 79, 79, 79, 79, 79, 79, 79, 79,
729 272, 79, 560, 273, 79, 560, 79, 560, 79, 560,
730 79, 79, 274, 79, 79, 275, 79, 276, 560, 560,
731 560, 560, 560, 79, 79, 79, 79, 79, 560, 79,
732 79, 560, 79, 79, 277, 79, 79, 79, 278, 79,
733 79, 279, 79, 560, 79, 79, 79, 560, 285, 280,
734 281, 560, 79, 79, 560, 283, 560, 79, 79, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200735
Pavol Vican4ca887b2016-04-08 09:59:17 +0200736 282, 284, 79, 79, 560, 560, 560, 79, 560, 560,
737 560, 79, 79, 560, 79, 560, 79, 560, 560, 79,
738 68, 560, 560, 68, 68, 68, 68, 560, 560, 68,
739 560, 79, 68, 79, 68, 560, 68, 560, 68, 290,
740 79, 291, 79, 560, 79, 79, 79, 79, 560, 79,
741 79, 292, 560, 560, 79, 79, 79, 560, 79, 79,
742 560, 79, 560, 79, 293, 79, 79, 560, 79, 79,
743 560, 79, 79, 294, 79, 79, 560, 560, 560, 560,
744 295, 560, 296, 79, 79, 79, 560, 79, 79, 560,
745 79, 79, 560, 79, 79, 79, 297, 560, 79, 560,
Pavol Vicancae54882016-03-30 12:24:43 +0200746
Pavol Vican4ca887b2016-04-08 09:59:17 +0200747 560, 79, 79, 79, 79, 560, 79, 560, 79, 298,
748 560, 79, 79, 79, 300, 79, 79, 560, 299, 79,
749 302, 79, 79, 79, 79, 560, 79, 560, 301, 79,
750 79, 79, 79, 79, 79, 79, 79, 79, 560, 79,
751 560, 79, 79, 560, 304, 560, 303, 79, 79, 79,
752 79, 79, 79, 305, 79, 560, 79, 306, 79, 560,
753 79, 79, 307, 79, 79, 79, 560, 79, 79, 308,
754 560, 79, 560, 79, 79, 79, 310, 79, 560, 309,
755 79, 79, 560, 79, 79, 314, 560, 560, 79, 79,
756 79, 79, 79, 560, 311, 560, 79, 79, 79, 312,
Pavol Vicancae54882016-03-30 12:24:43 +0200757
Pavol Vican4ca887b2016-04-08 09:59:17 +0200758 79, 79, 79, 560, 313, 79, 79, 560, 316, 79,
759 79, 79, 560, 79, 79, 79, 79, 79, 560, 79,
760 79, 315, 79, 560, 79, 79, 317, 79, 560, 560,
761 79, 318, 560, 560, 79, 79, 79, 560, 79, 79,
762 560, 79, 319, 79, 79, 79, 79, 79, 79, 79,
763 560, 79, 79, 79, 560, 79, 79, 322, 560, 560,
764 79, 320, 79, 79, 79, 79, 79, 321, 79, 79,
765 79, 79, 323, 560, 79, 79, 79, 560, 79, 79,
766 560, 79, 560, 324, 325, 79, 79, 79, 79, 79,
767 560, 79, 326, 79, 327, 79, 79, 560, 560, 560,
Pavol Vicancae54882016-03-30 12:24:43 +0200768
Pavol Vican4ca887b2016-04-08 09:59:17 +0200769 79, 560, 79, 79, 79, 560, 79, 79, 79, 79,
770 328, 79, 329, 79, 330, 560, 79, 560, 79, 331,
771 79, 560, 79, 79, 79, 560, 79, 79, 560, 79,
772 79, 79, 334, 79, 79, 79, 79, 332, 560, 333,
773 79, 335, 560, 79, 79, 79, 79, 79, 79, 79,
774 560, 79, 79, 79, 560, 79, 79, 560, 560, 560,
775 79, 336, 79, 79, 79, 338, 79, 79, 79, 337,
776 560, 79, 79, 339, 560, 560, 79, 340, 79, 560,
777 79, 79, 560, 79, 560, 79, 79, 79, 79, 79,
778 79, 79, 560, 79, 341, 79, 560, 79, 79, 560,
Pavol Vicancae54882016-03-30 12:24:43 +0200779
Pavol Vican4ca887b2016-04-08 09:59:17 +0200780 560, 560, 79, 79, 79, 342, 79, 345, 79, 343,
781 79, 79, 79, 79, 79, 344, 79, 560, 560, 79,
782 79, 560, 79, 79, 560, 560, 560, 79, 560, 79,
783 79, 79, 560, 79, 79, 79, 79, 560, 79, 79,
784 346, 349, 560, 79, 79, 350, 560, 79, 79, 79,
785 79, 560, 79, 79, 560, 79, 560, 79, 351, 560,
786 79, 79, 79, 560, 352, 79, 79, 353, 560, 560,
787 79, 560, 560, 560, 79, 79, 560, 79, 79, 79,
788 560, 354, 79, 355, 79, 560, 79, 79, 560, 356,
789 560, 79, 560, 79, 79, 357, 79, 79, 560, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200790
Pavol Vican4ca887b2016-04-08 09:59:17 +0200791 79, 560, 79, 358, 560, 79, 79, 359, 560, 79,
792 360, 79, 79, 560, 560, 79, 79, 560, 560, 79,
793 79, 361, 79, 363, 79, 79, 79, 79, 560, 79,
794 560, 560, 79, 560, 560, 79, 79, 560, 79, 79,
795 560, 362, 79, 560, 79, 79, 79, 79, 560, 79,
796 364, 79, 79, 79, 79, 79, 79, 79, 79, 365,
797 79, 366, 79, 367, 560, 79, 560, 79, 79, 79,
798 79, 79, 79, 368, 79, 369, 560, 79, 79, 79,
799 371, 79, 560, 79, 79, 370, 79, 79, 79, 79,
800 560, 79, 560, 79, 79, 560, 79, 79, 79, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200801
Pavol Vican4ca887b2016-04-08 09:59:17 +0200802 560, 79, 560, 373, 79, 372, 560, 79, 79, 79,
803 79, 79, 79, 560, 79, 79, 560, 375, 79, 79,
804 79, 560, 79, 79, 374, 79, 79, 376, 79, 79,
805 79, 377, 560, 79, 560, 560, 79, 79, 79, 79,
806 560, 79, 560, 79, 379, 560, 79, 79, 79, 378,
807 560, 79, 560, 380, 79, 560, 560, 79, 79, 381,
808 560, 79, 560, 560, 79, 560, 560, 79, 79, 382,
809 79, 79, 560, 560, 79, 383, 79, 79, 560, 79,
810 560, 79, 560, 79, 79, 79, 79, 79, 79, 79,
811 560, 384, 79, 386, 560, 560, 79, 79, 79, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200812
Pavol Vican4ca887b2016-04-08 09:59:17 +0200813 385, 79, 560, 79, 79, 560, 560, 79, 388, 79,
814 560, 79, 79, 560, 79, 79, 560, 387, 79, 79,
815 389, 560, 79, 391, 79, 79, 560, 560, 79, 79,
816 390, 560, 79, 79, 79, 79, 560, 79, 79, 79,
817 79, 560, 79, 79, 393, 79, 560, 392, 79, 79,
818 79, 395, 79, 560, 560, 79, 560, 560, 79, 560,
819 79, 79, 79, 394, 79, 79, 79, 79, 560, 396,
820 79, 79, 397, 560, 79, 398, 560, 79, 560, 79,
821 79, 560, 79, 79, 79, 79, 399, 79, 560, 560,
822 560, 79, 79, 79, 79, 560, 79, 560, 79, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200823
Pavol Vican4ca887b2016-04-08 09:59:17 +0200824 79, 79, 79, 560, 79, 79, 79, 79, 560, 79,
825 400, 79, 401, 79, 79, 560, 560, 560, 79, 79,
826 79, 79, 404, 560, 79, 560, 79, 79, 79, 79,
827 79, 560, 79, 560, 405, 79, 79, 560, 79, 79,
828 560, 560, 560, 79, 406, 79, 79, 79, 79, 79,
829 560, 79, 79, 79, 79, 560, 560, 79, 79, 560,
830 560, 79, 408, 407, 79, 560, 79, 79, 79, 79,
831 560, 79, 560, 409, 79, 411, 79, 79, 79, 560,
832 560, 79, 560, 410, 79, 79, 79, 79, 560, 79,
833 560, 79, 79, 560, 79, 79, 560, 412, 560, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200834
Pavol Vican4ca887b2016-04-08 09:59:17 +0200835 79, 413, 79, 415, 560, 414, 79, 560, 560, 79,
836 560, 560, 79, 79, 416, 79, 79, 417, 560, 79,
837 560, 79, 79, 79, 418, 79, 560, 560, 79, 79,
838 560, 79, 79, 560, 560, 560, 79, 79, 420, 79,
839 79, 419, 79, 560, 79, 79, 79, 79, 79, 79,
840 79, 560, 421, 79, 560, 560, 560, 79, 79, 79,
841 423, 79, 79, 422, 79, 79, 560, 79, 79, 79,
842 560, 560, 79, 560, 424, 79, 79, 79, 79, 560,
843 79, 560, 79, 79, 560, 79, 79, 425, 79, 426,
844 79, 560, 560, 79, 79, 427, 79, 79, 560, 428,
Pavol Vicancae54882016-03-30 12:24:43 +0200845
Pavol Vican4ca887b2016-04-08 09:59:17 +0200846 560, 79, 79, 79, 79, 79, 560, 79, 79, 79,
847 79, 79, 79, 430, 79, 79, 79, 79, 79, 429,
848 560, 79, 560, 79, 79, 79, 432, 79, 79, 79,
849 79, 431, 79, 560, 79, 79, 560, 79, 560, 79,
850 560, 79, 79, 79, 79, 79, 79, 79, 560, 433,
851 79, 79, 560, 560, 434, 79, 435, 560, 79, 79,
852 79, 79, 79, 560, 79, 436, 79, 79, 79, 560,
853 560, 560, 560, 560, 79, 79, 560, 437, 560, 79,
854 560, 79, 79, 79, 79, 79, 438, 79, 560, 560,
855 79, 79, 439, 79, 79, 560, 560, 560, 79, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200856
Pavol Vican4ca887b2016-04-08 09:59:17 +0200857 79, 79, 79, 440, 79, 79, 79, 79, 79, 79,
858 79, 79, 79, 442, 79, 79, 443, 560, 79, 79,
859 79, 441, 79, 79, 79, 79, 79, 79, 79, 79,
860 560, 79, 79, 79, 444, 79, 449, 79, 79, 79,
861 445, 79, 79, 448, 79, 79, 79, 560, 79, 79,
862 79, 79, 79, 560, 79, 79, 79, 450, 79, 79,
863 79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
864 79, 79, 79, 560, 560, 79, 560, 79, 79, 79,
865 79, 79, 560, 79, 79, 451, 79, 560, 79, 79,
866 79, 560, 560, 79, 560, 452, 79, 79, 79, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200867
Pavol Vican4ca887b2016-04-08 09:59:17 +0200868 453, 79, 560, 79, 79, 560, 79, 79, 560, 454,
869 79, 79, 79, 455, 79, 560, 560, 560, 79, 79,
870 456, 79, 560, 79, 79, 79, 79, 79, 79, 79,
871 79, 79, 458, 457, 79, 79, 560, 79, 79, 79,
872 79, 560, 79, 79, 79, 79, 79, 79, 79, 560,
873 459, 460, 79, 560, 560, 560, 79, 560, 79, 560,
874 79, 79, 560, 79, 79, 79, 461, 79, 79, 560,
875 79, 462, 463, 79, 79, 465, 79, 79, 464, 79,
876 79, 560, 79, 79, 467, 79, 79, 79, 560, 79,
877 560, 79, 79, 466, 469, 79, 79, 560, 79, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200878
Pavol Vican4ca887b2016-04-08 09:59:17 +0200879 79, 79, 468, 79, 470, 560, 560, 79, 79, 79,
880 79, 560, 79, 560, 79, 79, 79, 79, 79, 79,
881 79, 560, 79, 79, 474, 79, 473, 79, 471, 79,
882 472, 560, 79, 560, 560, 79, 79, 79, 79, 79,
883 79, 560, 79, 79, 560, 79, 79, 79, 79, 79,
884 79, 560, 79, 79, 560, 79, 475, 79, 79, 560,
885 79, 560, 79, 79, 476, 79, 79, 79, 477, 79,
886 79, 560, 560, 79, 560, 560, 79, 79, 79, 79,
887 79, 560, 478, 79, 560, 79, 79, 479, 79, 79,
888 79, 560, 79, 79, 79, 79, 560, 560, 79, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200889
Pavol Vican4ca887b2016-04-08 09:59:17 +0200890 483, 560, 79, 79, 481, 79, 560, 482, 79, 79,
891 79, 79, 79, 560, 484, 79, 489, 79, 79, 560,
892 485, 560, 79, 79, 79, 79, 79, 79, 486, 79,
893 79, 79, 79, 79, 560, 560, 79, 487, 488, 79,
894 79, 79, 79, 79, 79, 79, 560, 79, 560, 79,
895 79, 79, 79, 560, 79, 560, 79, 79, 79, 79,
896 79, 79, 490, 560, 79, 79, 491, 79, 560, 560,
897 79, 79, 493, 560, 79, 560, 560, 79, 560, 560,
898 79, 492, 79, 494, 79, 560, 560, 79, 79, 495,
899 79, 79, 560, 560, 560, 79, 79, 79, 79, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200900
Pavol Vican4ca887b2016-04-08 09:59:17 +0200901 496, 79, 560, 79, 79, 79, 79, 79, 560, 79,
902 560, 497, 79, 498, 560, 79, 79, 79, 560, 560,
903 79, 560, 560, 79, 79, 79, 79, 79, 79, 560,
904 79, 79, 499, 79, 79, 502, 79, 560, 79, 560,
905 79, 79, 79, 79, 79, 500, 560, 501, 560, 560,
906 79, 79, 560, 79, 560, 79, 504, 79, 79, 79,
907 79, 79, 503, 79, 560, 79, 79, 79, 560, 79,
908 79, 560, 79, 560, 79, 560, 79, 79, 79, 506,
909 79, 505, 560, 79, 79, 560, 79, 79, 560, 560,
910 560, 79, 509, 79, 79, 79, 508, 79, 79, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200911
Pavol Vican4ca887b2016-04-08 09:59:17 +0200912 79, 79, 79, 79, 560, 79, 511, 79, 79, 79,
913 560, 79, 79, 510, 79, 79, 79, 560, 79, 79,
914 513, 79, 79, 512, 79, 79, 79, 514, 79, 79,
915 79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
916 79, 79, 79, 560, 560, 79, 79, 79, 79, 515,
917 560, 79, 79, 79, 79, 516, 79, 79, 79, 79,
918 560, 79, 79, 518, 560, 79, 79, 79, 79, 79,
919 517, 79, 560, 79, 79, 79, 560, 79, 79, 560,
920 520, 560, 79, 79, 79, 79, 79, 560, 79, 519,
921 79, 79, 521, 79, 522, 79, 79, 560, 560, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200922
Pavol Vican4ca887b2016-04-08 09:59:17 +0200923 79, 560, 560, 79, 79, 560, 79, 79, 79, 79,
924 79, 79, 79, 79, 79, 524, 79, 523, 560, 79,
925 79, 79, 79, 79, 560, 79, 79, 79, 79, 79,
926 79, 79, 560, 79, 560, 525, 79, 560, 527, 79,
927 79, 79, 79, 79, 79, 560, 526, 79, 528, 79,
928 79, 79, 79, 560, 79, 560, 79, 79, 79, 79,
929 79, 79, 79, 560, 79, 79, 529, 79, 560, 79,
930 79, 560, 560, 560, 79, 560, 530, 79, 79, 79,
931 560, 79, 79, 560, 531, 79, 560, 560, 79, 532,
932 79, 79, 79, 560, 79, 79, 79, 79, 560, 535,
Pavol Vicancae54882016-03-30 12:24:43 +0200933
Pavol Vican4ca887b2016-04-08 09:59:17 +0200934 79, 533, 79, 560, 79, 79, 560, 79, 79, 79,
935 534, 79, 79, 79, 560, 79, 560, 79, 79, 79,
936 560, 79, 79, 536, 79, 560, 79, 538, 79, 79,
937 79, 560, 79, 560, 537, 79, 560, 560, 79, 79,
938 560, 539, 560, 79, 560, 560, 79, 79, 560, 79,
939 79, 79, 540, 560, 79, 560, 560, 560, 79, 79,
940 79, 560, 79, 79, 541, 79, 79, 560, 79, 79,
941 79, 543, 560, 79, 542, 560, 79, 544, 79, 79,
942 79, 79, 560, 79, 79, 560, 79, 545, 79, 79,
943 560, 79, 560, 79, 79, 546, 79, 79, 79, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200944
Pavol Vican4ca887b2016-04-08 09:59:17 +0200945 560, 79, 560, 547, 79, 560, 560, 548, 79, 560,
946 79, 79, 79, 549, 79, 79, 79, 550, 560, 79,
947 560, 79, 79, 79, 560, 79, 79, 551, 560, 79,
948 79, 79, 79, 79, 79, 79, 560, 79, 79, 552,
949 560, 79, 79, 560, 560, 560, 79, 79, 79, 79,
950 79, 560, 79, 560, 79, 79, 79, 79, 553, 560,
951 79, 79, 560, 79, 560, 560, 79, 554, 560, 560,
952 79, 79, 79, 560, 79, 79, 560, 79, 560, 79,
953 79, 79, 79, 79, 79, 79, 560, 79, 79, 79,
954 560, 560, 79, 560, 79, 560, 79, 560, 79, 79,
Pavol Vicancae54882016-03-30 12:24:43 +0200955
Pavol Vican4ca887b2016-04-08 09:59:17 +0200956 79, 560, 79, 79, 555, 79, 79, 79, 560, 556,
957 79, 79, 560, 79, 560, 79, 79, 79, 560, 79,
958 79, 560, 79, 560, 79, 557, 79, 79, 558, 79,
959 79, 79, 559, 79, 560, 560, 560, 79, 79, 560,
960 79, 560, 79, 560, 79, 79, 79, 79, 560, 560,
961 79, 560, 560, 79, 46, 46, 46, 46, 46, 46,
962 49, 49, 49, 49, 49, 49, 68, 68, 68, 68,
963 69, 69, 69, 69, 69, 72, 72, 72, 72, 72,
964 79, 79, 79, 79, 135, 135, 135, 135, 135, 138,
965 138, 138, 138, 138, 143, 143, 143, 149, 149, 149,
Pavol Vicancae54882016-03-30 12:24:43 +0200966
Pavol Vican4ca887b2016-04-08 09:59:17 +0200967 149, 218, 218, 218, 218, 286, 560, 286, 9, 560,
968 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
969 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
970 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
971 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
972 560, 560, 560, 560, 560, 560, 560, 560, 560
Pavol Vicancae54882016-03-30 12:24:43 +0200973 } ;
974
Pavol Vican4ca887b2016-04-08 09:59:17 +0200975static yyconst flex_int16_t yy_chk[3260] =
Pavol Vicancae54882016-03-30 12:24:43 +0200976 { 0,
977 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
978 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
979 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
980 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
Pavol Vican4ca887b2016-04-08 09:59:17 +0200981 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
982 3, 4, 11, 571, 11, 19, 19, 3, 4, 7,
Pavol Vican1a1552f2016-04-04 14:15:32 +0200983 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
984 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
985 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
986 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
Pavol Vicancae54882016-03-30 12:24:43 +0200987
Pavol Vican4ca887b2016-04-08 09:59:17 +0200988 7, 7, 7, 7, 7, 7, 7, 7, 7, 14,
989 18, 20, 20, 52, 18, 52, 59, 54, 69, 446,
990 59, 65, 67, 145, 67, 14, 22, 71, 71, 22,
991 22, 22, 22, 54, 69, 22, 74, 74, 22, 134,
992 22, 134, 22, 215, 22, 23, 145, 65, 23, 23,
993 23, 23, 24, 403, 23, 24, 24, 23, 347, 23,
994 24, 23, 25, 23, 24, 25, 215, 23, 24, 25,
995 216, 24, 135, 27, 25, 25, 23, 347, 25, 143,
996 23, 25, 27, 23, 26, 26, 27, 28, 135, 27,
997 28, 28, 27, 26, 402, 29, 138, 26, 72, 28,
Pavol Vicancae54882016-03-30 12:24:43 +0200998
Pavol Vican4ca887b2016-04-08 09:59:17 +0200999 26, 77, 77, 28, 29, 30, 28, 30, 29, 78,
1000 78, 29, 62, 30, 30, 31, 31, 41, 30, 402,
1001 41, 30, 137, 137, 31, 32, 32, 58, 31, 41,
1002 32, 31, 33, 41, 32, 33, 41, 55, 32, 48,
1003 33, 32, 287, 34, 33, 33, 34, 17, 33, 15,
1004 35, 33, 35, 287, 36, 34, 34, 36, 9, 34,
1005 37, 35, 34, 37, 37, 35, 36, 36, 35, 38,
1006 36, 6, 37, 36, 37, 5, 37, 39, 38, 37,
1007 146, 146, 38, 0, 38, 38, 39, 40, 0, 38,
1008 39, 147, 147, 39, 0, 42, 40, 39, 0, 42,
Pavol Vicancae54882016-03-30 12:24:43 +02001009
Pavol Vican4ca887b2016-04-08 09:59:17 +02001010 40, 40, 43, 40, 42, 43, 79, 0, 42, 0,
1011 43, 42, 148, 148, 43, 79, 288, 288, 43, 79,
1012 0, 43, 79, 80, 289, 289, 80, 80, 80, 80,
1013 80, 80, 80, 80, 80, 80, 81, 80, 82, 80,
1014 217, 80, 0, 217, 217, 81, 0, 82, 0, 81,
1015 83, 82, 81, 83, 82, 348, 348, 0, 82, 83,
1016 0, 84, 85, 83, 84, 0, 83, 447, 447, 0,
1017 84, 85, 86, 0, 84, 85, 85, 84, 85, 86,
1018 87, 86, 195, 480, 480, 86, 0, 195, 86, 87,
1019 88, 195, 89, 87, 195, 87, 87, 195, 90, 88,
Pavol Vicancae54882016-03-30 12:24:43 +02001020
Pavol Vican4ca887b2016-04-08 09:59:17 +02001021 91, 89, 89, 88, 88, 89, 88, 90, 89, 91,
1022 0, 90, 0, 91, 90, 0, 91, 92, 0, 92,
1023 0, 0, 0, 93, 92, 0, 92, 0, 92, 94,
1024 92, 92, 93, 92, 92, 95, 93, 0, 94, 93,
1025 96, 0, 94, 97, 95, 94, 97, 96, 95, 96,
1026 95, 95, 0, 96, 98, 97, 96, 98, 99, 97,
1027 101, 0, 97, 100, 100, 0, 98, 99, 99, 102,
1028 98, 99, 100, 98, 99, 101, 100, 0, 102, 100,
1029 102, 104, 102, 0, 101, 102, 103, 103, 101, 0,
1030 104, 101, 105, 106, 104, 105, 103, 104, 103, 0,
Pavol Vicancae54882016-03-30 12:24:43 +02001031
Pavol Vican4ca887b2016-04-08 09:59:17 +02001032 103, 104, 106, 103, 105, 107, 106, 106, 105, 106,
1033 108, 105, 0, 0, 107, 0, 109, 0, 107, 108,
1034 0, 107, 110, 108, 107, 109, 108, 0, 0, 109,
1035 0, 110, 109, 111, 114, 110, 110, 114, 110, 112,
1036 0, 111, 111, 114, 113, 0, 111, 114, 112, 111,
1037 114, 0, 112, 113, 112, 112, 115, 113, 113, 0,
1038 113, 116, 0, 0, 0, 115, 117, 0, 0, 115,
1039 116, 115, 115, 0, 116, 117, 116, 116, 119, 117,
1040 117, 0, 117, 118, 118, 0, 0, 119, 120, 0,
1041 0, 119, 118, 120, 119, 0, 118, 120, 120, 118,
Pavol Vicancae54882016-03-30 12:24:43 +02001042
Pavol Vican4ca887b2016-04-08 09:59:17 +02001043 120, 121, 121, 120, 122, 0, 123, 122, 123, 0,
1044 0, 121, 0, 124, 0, 121, 122, 123, 121, 125,
1045 122, 123, 124, 122, 123, 126, 124, 124, 125, 124,
1046 0, 0, 125, 0, 126, 125, 126, 127, 126, 127,
1047 129, 126, 0, 0, 127, 128, 128, 129, 127, 129,
1048 130, 130, 127, 129, 128, 127, 129, 0, 128, 130,
1049 131, 128, 132, 130, 0, 0, 130, 0, 0, 131,
1050 0, 132, 0, 131, 0, 132, 131, 0, 132, 149,
1051 0, 0, 149, 149, 149, 149, 0, 150, 149, 151,
1052 0, 149, 0, 149, 0, 149, 150, 149, 151, 0,
Pavol Vicancae54882016-03-30 12:24:43 +02001053
Pavol Vican4ca887b2016-04-08 09:59:17 +02001054 150, 152, 151, 150, 0, 151, 0, 153, 151, 0,
1055 152, 0, 154, 154, 152, 153, 153, 152, 0, 0,
1056 153, 154, 155, 153, 156, 154, 0, 0, 154, 0,
1057 0, 155, 155, 156, 0, 155, 0, 156, 155, 158,
1058 156, 157, 157, 0, 158, 0, 0, 159, 158, 159,
1059 157, 0, 158, 0, 157, 158, 159, 157, 160, 163,
1060 159, 161, 159, 159, 161, 0, 0, 160, 163, 162,
1061 162, 160, 163, 161, 160, 163, 0, 161, 162, 0,
1062 161, 0, 162, 164, 164, 162, 165, 0, 0, 0,
1063 0, 165, 0, 164, 0, 165, 166, 164, 167, 165,
Pavol Vicancae54882016-03-30 12:24:43 +02001064
Pavol Vican4ca887b2016-04-08 09:59:17 +02001065 164, 0, 165, 0, 166, 166, 0, 167, 167, 166,
1066 0, 167, 166, 169, 167, 168, 168, 0, 0, 0,
1067 0, 170, 169, 0, 168, 0, 169, 169, 168, 169,
1068 170, 168, 171, 171, 170, 172, 170, 170, 0, 0,
1069 0, 173, 171, 174, 172, 174, 171, 0, 172, 171,
1070 173, 172, 174, 175, 173, 0, 174, 173, 176, 174,
1071 0, 0, 175, 175, 177, 176, 175, 176, 0, 175,
1072 178, 176, 0, 177, 176, 0, 179, 177, 179, 178,
1073 177, 180, 182, 178, 180, 179, 178, 181, 0, 179,
1074 180, 182, 179, 183, 180, 182, 181, 180, 182, 184,
Pavol Vicancae54882016-03-30 12:24:43 +02001075
Pavol Vican4ca887b2016-04-08 09:59:17 +02001076 181, 0, 181, 181, 0, 0, 185, 0, 183, 0,
1077 0, 0, 0, 0, 184, 185, 186, 183, 0, 185,
1078 188, 183, 185, 184, 183, 186, 0, 184, 0, 186,
1079 184, 186, 186, 187, 187, 188, 0, 0, 0, 0,
1080 188, 0, 187, 189, 188, 0, 187, 0, 188, 187,
1081 0, 188, 189, 189, 190, 190, 189, 191, 0, 189,
1082 191, 0, 0, 190, 0, 0, 192, 190, 0, 191,
1083 190, 0, 0, 191, 193, 192, 191, 192, 193, 192,
1084 0, 0, 192, 193, 199, 196, 194, 193, 196, 193,
1085 193, 194, 0, 199, 196, 194, 0, 199, 196, 194,
Pavol Vicancae54882016-03-30 12:24:43 +02001086
Pavol Vican4ca887b2016-04-08 09:59:17 +02001087 199, 196, 194, 197, 197, 0, 0, 0, 197, 0,
1088 0, 198, 197, 0, 0, 0, 197, 200, 198, 197,
1089 198, 0, 200, 201, 198, 202, 200, 198, 0, 0,
1090 200, 0, 201, 200, 202, 203, 201, 204, 202, 201,
1091 202, 202, 0, 203, 203, 0, 204, 0, 203, 0,
1092 204, 203, 204, 204, 205, 205, 206, 206, 0, 0,
1093 0, 0, 0, 205, 207, 206, 208, 205, 0, 206,
1094 205, 0, 206, 207, 207, 208, 209, 207, 208, 208,
1095 207, 208, 208, 0, 210, 209, 211, 0, 213, 209,
1096 209, 0, 209, 210, 0, 211, 0, 210, 212, 211,
Pavol Vicancae54882016-03-30 12:24:43 +02001097
Pavol Vican4ca887b2016-04-08 09:59:17 +02001098 210, 212, 211, 213, 0, 0, 0, 212, 0, 0,
1099 0, 212, 213, 0, 212, 0, 213, 0, 0, 213,
1100 218, 0, 0, 218, 218, 218, 218, 0, 0, 218,
1101 0, 219, 218, 220, 218, 0, 218, 0, 218, 219,
1102 219, 220, 220, 0, 219, 222, 220, 219, 0, 220,
1103 221, 221, 0, 0, 222, 223, 224, 0, 222, 221,
1104 0, 222, 0, 221, 223, 224, 221, 0, 223, 224,
1105 0, 223, 224, 225, 225, 226, 0, 0, 0, 0,
1106 226, 0, 227, 225, 226, 227, 0, 225, 226, 0,
1107 225, 226, 0, 229, 227, 228, 228, 0, 227, 0,
Pavol Vicancae54882016-03-30 12:24:43 +02001108
Pavol Vican4ca887b2016-04-08 09:59:17 +02001109 0, 227, 229, 230, 228, 0, 229, 0, 228, 229,
1110 0, 228, 230, 231, 231, 232, 230, 0, 230, 230,
1111 233, 234, 231, 233, 232, 0, 231, 0, 232, 231,
1112 234, 232, 233, 235, 234, 236, 233, 234, 0, 233,
1113 0, 238, 235, 0, 236, 0, 235, 239, 236, 235,
1114 238, 236, 237, 237, 238, 0, 239, 238, 240, 0,
1115 239, 237, 239, 239, 241, 237, 0, 240, 237, 240,
1116 0, 240, 0, 241, 240, 242, 242, 241, 0, 241,
1117 241, 243, 0, 244, 242, 246, 0, 0, 242, 245,
1118 243, 242, 244, 0, 243, 0, 244, 243, 245, 244,
Pavol Vicancae54882016-03-30 12:24:43 +02001119
Pavol Vican4ca887b2016-04-08 09:59:17 +02001120 246, 248, 245, 0, 245, 245, 247, 0, 249, 246,
1121 248, 249, 0, 246, 248, 247, 246, 248, 0, 247,
1122 249, 247, 247, 0, 249, 250, 250, 249, 0, 0,
1123 251, 251, 0, 0, 250, 252, 253, 0, 250, 251,
1124 0, 250, 252, 251, 252, 253, 251, 254, 252, 253,
1125 0, 252, 253, 255, 0, 256, 254, 256, 0, 0,
1126 254, 254, 255, 254, 256, 257, 255, 255, 256, 255,
1127 258, 256, 257, 0, 257, 259, 260, 0, 257, 258,
1128 0, 257, 0, 258, 259, 260, 258, 261, 259, 260,
1129 0, 259, 260, 262, 262, 263, 261, 0, 0, 0,
Pavol Vicancae54882016-03-30 12:24:43 +02001130
Pavol Vican4ca887b2016-04-08 09:59:17 +02001131 261, 0, 262, 261, 263, 0, 262, 264, 263, 262,
1132 263, 263, 264, 265, 265, 0, 264, 0, 266, 266,
1133 264, 0, 265, 264, 267, 0, 265, 266, 0, 265,
1134 268, 266, 269, 267, 266, 269, 270, 267, 0, 268,
1135 267, 270, 0, 268, 269, 270, 268, 271, 269, 270,
1136 0, 269, 270, 272, 0, 273, 271, 0, 0, 0,
1137 271, 271, 272, 271, 273, 273, 272, 275, 273, 272,
1138 0, 273, 274, 274, 0, 0, 275, 276, 277, 0,
1139 275, 274, 0, 275, 0, 274, 276, 277, 274, 278,
1140 276, 277, 0, 276, 277, 279, 0, 280, 278, 0,
Pavol Vicancae54882016-03-30 12:24:43 +02001141
Pavol Vican4ca887b2016-04-08 09:59:17 +02001142 0, 0, 278, 281, 279, 278, 280, 284, 279, 279,
1143 280, 279, 281, 280, 282, 282, 281, 0, 0, 281,
1144 283, 0, 284, 282, 0, 0, 0, 282, 0, 283,
1145 282, 284, 0, 283, 290, 284, 283, 0, 284, 285,
1146 285, 290, 0, 290, 291, 291, 0, 290, 285, 292,
1147 290, 0, 285, 291, 0, 285, 0, 291, 292, 0,
1148 291, 293, 292, 0, 293, 292, 294, 294, 0, 0,
1149 293, 0, 0, 0, 293, 294, 0, 293, 295, 294,
1150 0, 295, 294, 296, 296, 0, 297, 295, 0, 296,
1151 0, 295, 0, 296, 295, 297, 298, 296, 0, 297,
Pavol Vicancae54882016-03-30 12:24:43 +02001152
Pavol Vican4ca887b2016-04-08 09:59:17 +02001153 296, 0, 297, 298, 0, 298, 299, 299, 0, 298,
1154 300, 300, 298, 0, 0, 299, 301, 0, 0, 299,
1155 300, 301, 299, 303, 300, 301, 302, 300, 0, 301,
1156 0, 0, 301, 0, 0, 302, 304, 0, 303, 302,
1157 0, 302, 302, 0, 305, 304, 306, 303, 0, 304,
1158 304, 303, 304, 305, 303, 306, 307, 305, 308, 306,
1159 305, 307, 306, 308, 0, 307, 0, 308, 309, 307,
1160 311, 308, 307, 309, 308, 310, 0, 309, 310, 311,
1161 312, 309, 0, 311, 309, 311, 311, 310, 313, 312,
1162 0, 310, 0, 312, 310, 0, 312, 313, 314, 315,
Pavol Vicancae54882016-03-30 12:24:43 +02001163
Pavol Vican4ca887b2016-04-08 09:59:17 +02001164 0, 313, 0, 315, 313, 314, 0, 314, 315, 316,
1165 317, 314, 315, 0, 314, 315, 0, 317, 316, 317,
1166 318, 0, 316, 317, 316, 316, 317, 318, 321, 318,
1167 319, 319, 0, 318, 0, 0, 318, 321, 320, 319,
1168 0, 321, 0, 319, 321, 0, 319, 320, 322, 320,
1169 0, 320, 0, 322, 320, 0, 0, 322, 323, 323,
1170 0, 322, 0, 0, 322, 0, 0, 323, 324, 324,
1171 325, 323, 0, 0, 323, 325, 326, 324, 0, 325,
1172 0, 324, 0, 325, 324, 326, 325, 327, 328, 326,
1173 0, 326, 326, 328, 0, 0, 327, 328, 329, 330,
Pavol Vicancae54882016-03-30 12:24:43 +02001174
Pavol Vican4ca887b2016-04-08 09:59:17 +02001175 327, 328, 0, 327, 328, 0, 0, 329, 330, 331,
1176 0, 329, 330, 0, 329, 330, 0, 329, 331, 332,
1177 332, 0, 331, 334, 334, 331, 0, 0, 332, 333,
1178 333, 0, 332, 334, 335, 332, 0, 334, 333, 336,
1179 334, 0, 333, 335, 336, 333, 0, 335, 336, 337,
1180 335, 338, 336, 0, 0, 336, 0, 0, 337, 0,
1181 338, 339, 337, 337, 338, 337, 341, 338, 0, 339,
1182 339, 340, 340, 0, 339, 341, 0, 339, 0, 341,
1183 340, 0, 341, 343, 340, 342, 342, 340, 0, 0,
1184 0, 344, 343, 345, 342, 0, 343, 0, 342, 343,
Pavol Vicancae54882016-03-30 12:24:43 +02001185
Pavol Vican4ca887b2016-04-08 09:59:17 +02001186 344, 342, 345, 0, 344, 346, 345, 344, 0, 345,
1187 345, 349, 346, 350, 346, 0, 0, 0, 346, 351,
1188 349, 346, 350, 0, 349, 0, 350, 349, 351, 350,
1189 352, 0, 351, 0, 351, 351, 353, 0, 354, 352,
1190 0, 0, 0, 352, 352, 353, 352, 354, 355, 353,
1191 0, 354, 353, 356, 354, 0, 0, 355, 357, 0,
1192 0, 355, 356, 355, 355, 0, 356, 357, 358, 356,
1193 0, 357, 0, 357, 357, 360, 359, 358, 360, 0,
1194 0, 358, 0, 358, 358, 359, 361, 360, 0, 359,
1195 0, 360, 359, 0, 360, 361, 0, 361, 0, 361,
Pavol Vicancae54882016-03-30 12:24:43 +02001196
Pavol Vican4ca887b2016-04-08 09:59:17 +02001197 362, 362, 361, 363, 0, 362, 363, 0, 0, 362,
1198 0, 0, 364, 362, 363, 363, 362, 364, 0, 363,
1199 0, 364, 363, 365, 365, 364, 0, 0, 364, 367,
1200 0, 366, 365, 0, 0, 0, 365, 368, 367, 365,
1201 366, 366, 367, 0, 366, 367, 368, 366, 369, 370,
1202 368, 0, 368, 368, 0, 0, 0, 369, 370, 371,
1203 371, 369, 370, 369, 369, 370, 0, 373, 371, 372,
1204 0, 0, 371, 0, 372, 371, 373, 374, 372, 0,
1205 373, 0, 372, 373, 0, 372, 374, 374, 375, 375,
1206 374, 0, 0, 374, 376, 376, 377, 375, 0, 378,
Pavol Vicancae54882016-03-30 12:24:43 +02001207
Pavol Vican4ca887b2016-04-08 09:59:17 +02001208 0, 375, 378, 376, 375, 377, 0, 376, 379, 377,
1209 376, 378, 377, 380, 380, 378, 381, 379, 378, 379,
1210 0, 379, 0, 380, 379, 381, 382, 380, 383, 381,
1211 380, 381, 381, 0, 384, 382, 0, 383, 0, 382,
1212 0, 383, 382, 384, 383, 385, 386, 384, 0, 383,
1213 384, 387, 0, 0, 385, 386, 386, 0, 385, 386,
1214 387, 385, 386, 0, 387, 388, 388, 387, 389, 0,
1215 0, 0, 0, 0, 390, 388, 0, 389, 0, 388,
1216 0, 389, 388, 390, 389, 391, 391, 390, 0, 0,
1217 390, 392, 392, 393, 391, 0, 0, 0, 391, 394,
Pavol Vicancae54882016-03-30 12:24:43 +02001218
Pavol Vican4ca887b2016-04-08 09:59:17 +02001219 392, 391, 393, 393, 392, 395, 393, 392, 394, 393,
1220 396, 397, 394, 397, 395, 394, 398, 0, 395, 396,
1221 397, 395, 399, 396, 397, 398, 396, 397, 404, 398,
1222 0, 399, 398, 400, 400, 399, 406, 404, 399, 401,
1223 401, 404, 400, 404, 404, 405, 400, 0, 401, 400,
1224 407, 406, 401, 0, 405, 401, 408, 408, 405, 407,
1225 406, 405, 409, 407, 406, 408, 407, 406, 410, 408,
1226 411, 409, 408, 0, 0, 409, 0, 410, 409, 411,
1227 412, 410, 0, 411, 410, 411, 411, 0, 413, 412,
1228 414, 0, 0, 412, 0, 412, 412, 413, 415, 414,
Pavol Vicancae54882016-03-30 12:24:43 +02001229
Pavol Vican4ca887b2016-04-08 09:59:17 +02001230 414, 413, 0, 414, 413, 0, 414, 415, 0, 415,
1231 417, 415, 416, 416, 415, 0, 0, 0, 418, 417,
1232 417, 416, 0, 417, 419, 416, 417, 418, 416, 420,
1233 421, 418, 420, 419, 418, 422, 0, 419, 420, 421,
1234 419, 0, 420, 421, 422, 420, 421, 423, 422, 0,
1235 421, 422, 424, 0, 0, 0, 423, 0, 425, 0,
1236 423, 424, 0, 423, 426, 424, 424, 425, 424, 0,
1237 427, 425, 426, 426, 425, 428, 428, 426, 427, 427,
1238 426, 0, 429, 427, 430, 428, 427, 430, 0, 428,
1239 0, 429, 428, 429, 432, 429, 430, 0, 429, 434,
Pavol Vicancae54882016-03-30 12:24:43 +02001240
Pavol Vican4ca887b2016-04-08 09:59:17 +02001241 430, 431, 431, 430, 433, 0, 0, 433, 434, 432,
1242 431, 0, 434, 0, 431, 434, 433, 431, 432, 435,
1243 433, 0, 432, 433, 439, 432, 437, 437, 435, 436,
1244 436, 0, 435, 0, 0, 435, 437, 438, 436, 439,
1245 437, 0, 436, 437, 0, 436, 438, 440, 439, 442,
1246 438, 0, 439, 438, 0, 439, 440, 441, 442, 0,
1247 440, 0, 442, 440, 441, 442, 441, 443, 443, 444,
1248 441, 0, 0, 441, 0, 0, 443, 448, 444, 445,
1249 443, 0, 444, 443, 0, 444, 448, 445, 445, 449,
1250 448, 0, 445, 448, 450, 445, 0, 0, 449, 451,
Pavol Vicancae54882016-03-30 12:24:43 +02001251
Pavol Vican4ca887b2016-04-08 09:59:17 +02001252 451, 0, 449, 450, 449, 449, 0, 450, 451, 452,
1253 450, 453, 451, 0, 452, 451, 457, 454, 452, 0,
1254 453, 0, 452, 455, 453, 452, 454, 453, 454, 456,
1255 454, 457, 455, 454, 0, 0, 455, 455, 456, 455,
1256 457, 458, 456, 459, 457, 456, 0, 457, 0, 460,
1257 458, 461, 459, 0, 458, 0, 459, 458, 460, 459,
1258 461, 462, 460, 0, 461, 460, 461, 461, 0, 0,
1259 462, 463, 463, 0, 462, 0, 0, 462, 0, 0,
1260 463, 462, 464, 464, 463, 0, 0, 463, 465, 465,
1261 466, 464, 0, 0, 0, 464, 467, 465, 464, 466,
Pavol Vicancae54882016-03-30 12:24:43 +02001262
Pavol Vican4ca887b2016-04-08 09:59:17 +02001263 466, 465, 0, 466, 465, 467, 466, 468, 0, 467,
1264 0, 467, 467, 469, 0, 469, 468, 470, 0, 0,
1265 468, 0, 0, 468, 469, 471, 470, 472, 469, 0,
1266 470, 469, 470, 470, 471, 475, 472, 0, 471, 0,
1267 472, 471, 474, 472, 473, 473, 0, 474, 0, 0,
1268 475, 474, 0, 473, 0, 474, 477, 473, 474, 475,
1269 473, 476, 476, 475, 0, 477, 475, 478, 0, 477,
1270 476, 0, 477, 0, 476, 0, 478, 476, 479, 479,
1271 478, 478, 0, 478, 482, 0, 481, 479, 0, 0,
1272 0, 479, 483, 482, 479, 481, 481, 482, 485, 481,
Pavol Vicancae54882016-03-30 12:24:43 +02001273
Pavol Vican4ca887b2016-04-08 09:59:17 +02001274 482, 483, 481, 484, 0, 483, 486, 485, 483, 487,
1275 0, 485, 484, 484, 485, 488, 484, 0, 487, 484,
1276 489, 486, 487, 487, 488, 487, 490, 490, 488, 489,
1277 486, 488, 491, 489, 486, 490, 489, 486, 492, 490,
1278 493, 491, 490, 0, 0, 491, 494, 492, 491, 493,
1279 0, 492, 495, 493, 492, 494, 493, 496, 497, 494,
1280 0, 495, 494, 497, 0, 495, 496, 497, 495, 498,
1281 496, 497, 0, 496, 497, 499, 0, 500, 498, 0,
1282 499, 0, 498, 501, 499, 498, 500, 0, 499, 498,
1283 500, 499, 501, 500, 502, 503, 501, 0, 0, 501,
Pavol Vicancae54882016-03-30 12:24:43 +02001284
Pavol Vican4ca887b2016-04-08 09:59:17 +02001285 504, 0, 0, 502, 503, 0, 506, 502, 503, 504,
1286 502, 503, 505, 504, 508, 506, 504, 505, 0, 506,
1287 509, 505, 506, 508, 0, 505, 510, 508, 505, 509,
1288 508, 511, 0, 509, 0, 510, 509, 0, 512, 510,
1289 511, 512, 510, 513, 511, 0, 511, 511, 513, 514,
1290 512, 515, 513, 0, 512, 0, 513, 512, 514, 513,
1291 515, 516, 514, 0, 515, 514, 515, 515, 0, 517,
1292 516, 0, 0, 0, 516, 0, 516, 516, 517, 518,
1293 0, 519, 517, 0, 517, 517, 0, 0, 518, 518,
1294 519, 520, 518, 0, 519, 518, 521, 519, 0, 522,
Pavol Vicancae54882016-03-30 12:24:43 +02001295
Pavol Vican4ca887b2016-04-08 09:59:17 +02001296 520, 520, 522, 0, 520, 521, 0, 520, 525, 521,
1297 521, 522, 521, 523, 0, 522, 0, 525, 522, 524,
1298 0, 525, 523, 523, 525, 0, 523, 526, 524, 523,
1299 526, 0, 524, 0, 524, 524, 0, 0, 527, 526,
1300 0, 527, 0, 526, 0, 0, 526, 527, 0, 528,
1301 529, 527, 528, 0, 527, 0, 0, 0, 528, 529,
1302 530, 0, 528, 529, 529, 528, 529, 0, 532, 530,
1303 531, 531, 0, 530, 530, 0, 530, 532, 533, 531,
1304 534, 532, 0, 531, 532, 0, 531, 533, 535, 534,
1305 0, 533, 0, 534, 533, 534, 534, 535, 536, 537,
Pavol Vicancae54882016-03-30 12:24:43 +02001306
Pavol Vican4ca887b2016-04-08 09:59:17 +02001307 0, 535, 0, 535, 535, 0, 0, 536, 537, 0,
1308 538, 536, 537, 538, 536, 537, 539, 539, 0, 538,
1309 0, 541, 540, 538, 0, 539, 538, 540, 0, 539,
1310 541, 540, 539, 542, 541, 540, 0, 541, 540, 543,
1311 0, 544, 542, 0, 0, 0, 542, 545, 543, 542,
1312 544, 0, 543, 0, 544, 543, 545, 544, 546, 0,
1313 545, 546, 0, 545, 0, 0, 547, 547, 0, 0,
1314 546, 548, 549, 0, 546, 547, 0, 546, 0, 547,
1315 548, 549, 547, 550, 548, 549, 0, 548, 549, 551,
1316 0, 0, 550, 0, 552, 0, 550, 0, 551, 550,
Pavol Vicancae54882016-03-30 12:24:43 +02001317
Pavol Vican4ca887b2016-04-08 09:59:17 +02001318 553, 0, 551, 552, 551, 551, 554, 552, 0, 553,
1319 552, 555, 0, 553, 0, 554, 553, 557, 0, 554,
1320 555, 0, 554, 0, 555, 555, 557, 555, 556, 556,
1321 557, 558, 558, 557, 0, 0, 0, 559, 556, 0,
1322 558, 0, 556, 0, 558, 556, 559, 558, 0, 0,
1323 559, 0, 0, 559, 561, 561, 561, 561, 561, 561,
1324 562, 562, 562, 562, 562, 562, 563, 563, 563, 563,
1325 564, 564, 564, 564, 564, 565, 565, 565, 565, 565,
1326 566, 566, 566, 566, 567, 567, 567, 567, 567, 568,
1327 568, 568, 568, 568, 569, 569, 569, 570, 570, 570,
Pavol Vicancae54882016-03-30 12:24:43 +02001328
Pavol Vican4ca887b2016-04-08 09:59:17 +02001329 570, 572, 572, 572, 572, 573, 0, 573, 560, 560,
1330 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
1331 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
1332 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
1333 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
1334 560, 560, 560, 560, 560, 560, 560, 560, 560
Pavol Vicancae54882016-03-30 12:24:43 +02001335 } ;
1336
1337/* The intent behind this definition is that it'll catch
1338 * any uses of REJECT which flex missed.
1339 */
1340#define REJECT reject_used_but_not_detected
1341#define yymore() yymore_used_but_not_detected
1342#define YY_MORE_ADJ 0
1343#define YY_RESTORE_YY_MORE_OFFSET
Pavol Vicancae54882016-03-30 12:24:43 +02001344/**
1345 * @file yang.l
1346 * @author Pavol Vican
1347 * @brief YANG parser for libyang (flex grammar)
1348 *
1349 * Copyright (c) 2015 CESNET, z.s.p.o.
1350 *
1351 * This source code is licensed under BSD 3-Clause License (the "License").
1352 * You may not use this file except in compliance with the License.
1353 * You may obtain a copy of the License at
1354 *
1355 * https://opensource.org/licenses/BSD-3-Clause
1356 */
1357#define YY_NO_INPUT 1
Pavol Vicancae54882016-03-30 12:24:43 +02001358#include "parser_yang.h"
1359#include "parser_yang_bis.h"
1360
Pavol Vican4ca887b2016-04-08 09:59:17 +02001361#define YY_USER_ACTION yylloc->first_line = yylloc->last_line = 0;\
1362 yylloc->first_column = (yylloc->last_column == 1) ? yylloc->last_column: yylloc->last_column +1;\
1363 yylloc->last_column = yylloc->first_column + yyleng - 1;
1364
Pavol Vicancae54882016-03-30 12:24:43 +02001365#define INITIAL 0
1366#define COMMENT1 1
1367#define COMMENT2 2
Pavol Vican1a1552f2016-04-04 14:15:32 +02001368#define PATH 3
Pavol Vicancae54882016-03-30 12:24:43 +02001369
1370#ifndef YY_NO_UNISTD_H
1371/* Special case for "unistd.h", since it is non-ANSI. We include it way
1372 * down here because we want the user's section 1 to have been scanned first.
1373 * The user has a chance to override it with an option.
1374 */
1375#include <unistd.h>
1376#endif
1377
1378#ifndef YY_EXTRA_TYPE
1379#define YY_EXTRA_TYPE void *
1380#endif
1381
1382/* Holds the entire state of the reentrant scanner. */
1383struct yyguts_t
1384 {
1385
1386 /* User-defined. Not touched by flex. */
1387 YY_EXTRA_TYPE yyextra_r;
1388
1389 /* The rest are the same as the globals declared in the non-reentrant scanner. */
1390 FILE *yyin_r, *yyout_r;
1391 size_t yy_buffer_stack_top; /**< index of top of stack. */
1392 size_t yy_buffer_stack_max; /**< capacity of stack. */
1393 YY_BUFFER_STATE * yy_buffer_stack; /**< Stack as an array. */
1394 char yy_hold_char;
1395 yy_size_t yy_n_chars;
1396 yy_size_t yyleng_r;
1397 char *yy_c_buf_p;
1398 int yy_init;
1399 int yy_start;
1400 int yy_did_buffer_switch_on_eof;
1401 int yy_start_stack_ptr;
1402 int yy_start_stack_depth;
1403 int *yy_start_stack;
1404 yy_state_type yy_last_accepting_state;
1405 char* yy_last_accepting_cpos;
1406
1407 int yylineno_r;
1408 int yy_flex_debug_r;
1409
1410 char *yytext_r;
1411 int yy_more_flag;
1412 int yy_more_len;
1413
1414 YYSTYPE * yylval_r;
1415
Pavol Vican4ca887b2016-04-08 09:59:17 +02001416 YYLTYPE * yylloc_r;
1417
Pavol Vicancae54882016-03-30 12:24:43 +02001418 }; /* end struct yyguts_t */
1419
1420static int yy_init_globals (yyscan_t yyscanner );
1421
1422 /* This must go here because YYSTYPE and YYLTYPE are included
1423 * from bison output in section 1.*/
1424 # define yylval yyg->yylval_r
1425
Pavol Vican4ca887b2016-04-08 09:59:17 +02001426 # define yylloc yyg->yylloc_r
1427
Pavol Vicancae54882016-03-30 12:24:43 +02001428int yylex_init (yyscan_t* scanner);
1429
1430int yylex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
1431
1432/* Accessor methods to globals.
1433 These are made visible to non-reentrant scanners for convenience. */
1434
1435int yylex_destroy (yyscan_t yyscanner );
1436
1437int yyget_debug (yyscan_t yyscanner );
1438
1439void yyset_debug (int debug_flag ,yyscan_t yyscanner );
1440
1441YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner );
1442
1443void yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
1444
1445FILE *yyget_in (yyscan_t yyscanner );
1446
1447void yyset_in (FILE * _in_str ,yyscan_t yyscanner );
1448
1449FILE *yyget_out (yyscan_t yyscanner );
1450
1451void yyset_out (FILE * _out_str ,yyscan_t yyscanner );
1452
1453yy_size_t yyget_leng (yyscan_t yyscanner );
1454
1455char *yyget_text (yyscan_t yyscanner );
1456
1457int yyget_lineno (yyscan_t yyscanner );
1458
1459void yyset_lineno (int _line_number ,yyscan_t yyscanner );
1460
1461int yyget_column (yyscan_t yyscanner );
1462
1463void yyset_column (int _column_no ,yyscan_t yyscanner );
1464
1465YYSTYPE * yyget_lval (yyscan_t yyscanner );
1466
1467void yyset_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );
1468
Pavol Vican4ca887b2016-04-08 09:59:17 +02001469 YYLTYPE *yyget_lloc (yyscan_t yyscanner );
1470
1471 void yyset_lloc (YYLTYPE * yylloc_param ,yyscan_t yyscanner );
1472
Pavol Vicancae54882016-03-30 12:24:43 +02001473/* Macros after this point can all be overridden by user definitions in
1474 * section 1.
1475 */
1476
1477#ifndef YY_SKIP_YYWRAP
1478#ifdef __cplusplus
1479extern "C" int yywrap (yyscan_t yyscanner );
1480#else
1481extern int yywrap (yyscan_t yyscanner );
1482#endif
1483#endif
1484
1485#ifndef YY_NO_UNPUT
1486
1487#endif
1488
1489#ifndef yytext_ptr
1490static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
1491#endif
1492
1493#ifdef YY_NEED_STRLEN
1494static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
1495#endif
1496
1497#ifndef YY_NO_INPUT
1498
1499#ifdef __cplusplus
1500static int yyinput (yyscan_t yyscanner );
1501#else
1502static int input (yyscan_t yyscanner );
1503#endif
1504
1505#endif
1506
1507/* Amount of stuff to slurp up with each read. */
1508#ifndef YY_READ_BUF_SIZE
1509#ifdef __ia64__
1510/* On IA-64, the buffer size is 16k, not 8k */
1511#define YY_READ_BUF_SIZE 16384
1512#else
1513#define YY_READ_BUF_SIZE 8192
1514#endif /* __ia64__ */
1515#endif
1516
1517/* Copy whatever the last rule matched to the standard output. */
1518#ifndef ECHO
1519/* This used to be an fputs(), but since the string might contain NUL's,
1520 * we now use fwrite().
1521 */
1522#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
1523#endif
1524
1525/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
1526 * is returned in "result".
1527 */
1528#ifndef YY_INPUT
1529#define YY_INPUT(buf,result,max_size) \
1530 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
1531 { \
1532 int c = '*'; \
1533 size_t n; \
1534 for ( n = 0; n < max_size && \
1535 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1536 buf[n] = (char) c; \
1537 if ( c == '\n' ) \
1538 buf[n++] = (char) c; \
1539 if ( c == EOF && ferror( yyin ) ) \
1540 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1541 result = n; \
1542 } \
1543 else \
1544 { \
1545 errno=0; \
1546 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
1547 { \
1548 if( errno != EINTR) \
1549 { \
1550 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1551 break; \
1552 } \
1553 errno=0; \
1554 clearerr(yyin); \
1555 } \
1556 }\
1557\
1558
1559#endif
1560
1561/* No semi-colon after return; correct usage is to write "yyterminate();" -
1562 * we don't want an extra ';' after the "return" because that will cause
1563 * some compilers to complain about unreachable statements.
1564 */
1565#ifndef yyterminate
1566#define yyterminate() return YY_NULL
1567#endif
1568
1569/* Number of entries by which start-condition stack grows. */
1570#ifndef YY_START_STACK_INCR
1571#define YY_START_STACK_INCR 25
1572#endif
1573
1574/* Report a fatal error. */
1575#ifndef YY_FATAL_ERROR
1576#define YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner)
1577#endif
1578
1579/* end tables serialization structures and prototypes */
1580
1581/* Default declaration of generated scanner - a define so the user can
1582 * easily add parameters.
1583 */
1584#ifndef YY_DECL
1585#define YY_DECL_IS_OURS 1
1586
1587extern int yylex \
Pavol Vican4ca887b2016-04-08 09:59:17 +02001588 (YYSTYPE * yylval_param,YYLTYPE * yylloc_param ,yyscan_t yyscanner);
Pavol Vicancae54882016-03-30 12:24:43 +02001589
1590#define YY_DECL int yylex \
Pavol Vican4ca887b2016-04-08 09:59:17 +02001591 (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner)
Pavol Vicancae54882016-03-30 12:24:43 +02001592#endif /* !YY_DECL */
1593
1594/* Code executed at the beginning of each rule, after yytext and yyleng
1595 * have been set up.
1596 */
1597#ifndef YY_USER_ACTION
1598#define YY_USER_ACTION
1599#endif
1600
1601/* Code executed at the end of each rule. */
1602#ifndef YY_BREAK
1603#define YY_BREAK /*LINTED*/break;
1604#endif
1605
1606#define YY_RULE_SETUP \
1607 YY_USER_ACTION
1608
1609/** The main scanner function which does all the work.
1610 */
1611YY_DECL
1612{
1613 yy_state_type yy_current_state;
1614 char *yy_cp, *yy_bp;
1615 int yy_act;
1616 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1617
1618 yylval = yylval_param;
1619
Pavol Vican4ca887b2016-04-08 09:59:17 +02001620 yylloc = yylloc_param;
1621
Pavol Vicancae54882016-03-30 12:24:43 +02001622 if ( !yyg->yy_init )
1623 {
1624 yyg->yy_init = 1;
1625
1626#ifdef YY_USER_INIT
1627 YY_USER_INIT;
1628#endif
1629
1630 if ( ! yyg->yy_start )
1631 yyg->yy_start = 1; /* first start state */
1632
1633 if ( ! yyin )
1634 yyin = stdin;
1635
1636 if ( ! yyout )
1637 yyout = stdout;
1638
1639 if ( ! YY_CURRENT_BUFFER ) {
1640 yyensure_buffer_stack (yyscanner);
1641 YY_CURRENT_BUFFER_LVALUE =
1642 yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
1643 }
1644
1645 yy_load_buffer_state(yyscanner );
1646 }
1647
1648 {
Pavol Vicancae54882016-03-30 12:24:43 +02001649
1650 while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
1651 {
1652 yy_cp = yyg->yy_c_buf_p;
1653
1654 /* Support of yytext. */
1655 *yy_cp = yyg->yy_hold_char;
1656
1657 /* yy_bp points to the position in yy_ch_buf of the start of
1658 * the current run.
1659 */
1660 yy_bp = yy_cp;
1661
1662 yy_current_state = yyg->yy_start;
1663yy_match:
1664 do
1665 {
1666 YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
1667 if ( yy_accept[yy_current_state] )
1668 {
1669 yyg->yy_last_accepting_state = yy_current_state;
1670 yyg->yy_last_accepting_cpos = yy_cp;
1671 }
1672 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1673 {
1674 yy_current_state = (int) yy_def[yy_current_state];
Pavol Vican4ca887b2016-04-08 09:59:17 +02001675 if ( yy_current_state >= 561 )
Pavol Vicancae54882016-03-30 12:24:43 +02001676 yy_c = yy_meta[(unsigned int) yy_c];
1677 }
1678 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1679 ++yy_cp;
1680 }
Pavol Vican4ca887b2016-04-08 09:59:17 +02001681 while ( yy_base[yy_current_state] != 3209 );
Pavol Vicancae54882016-03-30 12:24:43 +02001682
1683yy_find_action:
1684 yy_act = yy_accept[yy_current_state];
1685 if ( yy_act == 0 )
1686 { /* have to back up */
1687 yy_cp = yyg->yy_last_accepting_cpos;
1688 yy_current_state = yyg->yy_last_accepting_state;
1689 yy_act = yy_accept[yy_current_state];
1690 }
1691
1692 YY_DO_BEFORE_ACTION;
1693
1694do_action: /* This label is used only to access EOF actions. */
1695
1696 switch ( yy_act )
1697 { /* beginning of action switch */
1698 case 0: /* must back up */
1699 /* undo the effects of YY_DO_BEFORE_ACTION */
1700 *yy_cp = yyg->yy_hold_char;
1701 yy_cp = yyg->yy_last_accepting_cpos;
1702 yy_current_state = yyg->yy_last_accepting_state;
1703 goto yy_find_action;
1704
1705case 1:
1706YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001707{BEGIN COMMENT1; }
1708 YY_BREAK
1709case 2:
Pavol Vicancae54882016-03-30 12:24:43 +02001710case 3:
1711/* rule 3 can match eol */
1712YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001713
1714 YY_BREAK
1715case 4:
1716YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001717{BEGIN INITIAL; }
1718 YY_BREAK
1719case 5:
1720YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001721{BEGIN COMMENT2;}
1722 YY_BREAK
1723case 6:
1724YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001725
1726 YY_BREAK
1727case 7:
1728/* rule 7 can match eol */
1729YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001730{BEGIN INITIAL; return EOL; }
1731 YY_BREAK
1732case 8:
1733YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001734{ return ANYXML_KEYWORD; }
1735 YY_BREAK
1736case 9:
1737YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001738{ return ARGUMENT_KEYWORD; }
1739 YY_BREAK
1740case 10:
1741YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001742{ BEGIN PATH; return AUGMENT_KEYWORD; }
1743 YY_BREAK
1744case 11:
1745YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001746{ return BASE_KEYWORD; }
1747 YY_BREAK
1748case 12:
1749YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001750{ return BELONGS_TO_KEYWORD; }
1751 YY_BREAK
1752case 13:
1753YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001754{ return BIT_KEYWORD; }
1755 YY_BREAK
1756case 14:
1757YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001758{ return CASE_KEYWORD; }
1759 YY_BREAK
1760case 15:
1761YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001762{ return CHOICE_KEYWORD; }
1763 YY_BREAK
1764case 16:
1765YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001766{ return CONFIG_KEYWORD; }
1767 YY_BREAK
1768case 17:
1769YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001770{ return CONTACT_KEYWORD; }
1771 YY_BREAK
1772case 18:
1773YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001774{ return CONTAINER_KEYWORD; }
1775 YY_BREAK
1776case 19:
1777YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001778{ return DEFAULT_KEYWORD; }
1779 YY_BREAK
1780case 20:
1781YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001782{ return DESCRIPTION_KEYWORD; }
1783 YY_BREAK
1784case 21:
1785YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001786{ return ENUM_KEYWORD; }
1787 YY_BREAK
1788case 22:
1789YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001790{ return ERROR_APP_TAG_KEYWORD; }
1791 YY_BREAK
1792case 23:
1793YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001794{ return ERROR_MESSAGE_KEYWORD; }
1795 YY_BREAK
1796case 24:
1797YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001798{ return EXTENSION_KEYWORD; }
1799 YY_BREAK
1800case 25:
1801YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001802{ BEGIN PATH; return DEVIATION_KEYWORD; }
1803 YY_BREAK
1804case 26:
1805YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001806{ return DEVIATE_KEYWORD; }
1807 YY_BREAK
1808case 27:
1809YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001810{ return FEATURE_KEYWORD; }
1811 YY_BREAK
1812case 28:
1813YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001814{ return FRACTION_DIGITS_KEYWORD; }
1815 YY_BREAK
1816case 29:
1817YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001818{ return GROUPING_KEYWORD; }
1819 YY_BREAK
1820case 30:
1821YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001822{ return IDENTITY_KEYWORD; }
1823 YY_BREAK
1824case 31:
1825YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001826{ return IF_FEATURE_KEYWORD; }
1827 YY_BREAK
1828case 32:
1829YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001830{ return IMPORT_KEYWORD; }
1831 YY_BREAK
1832case 33:
1833YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001834{ return INCLUDE_KEYWORD; }
1835 YY_BREAK
1836case 34:
1837YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001838{ return INPUT_KEYWORD; }
1839 YY_BREAK
1840case 35:
1841YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001842{ return KEY_KEYWORD; }
1843 YY_BREAK
1844case 36:
1845YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001846{ return LEAF_KEYWORD; }
1847 YY_BREAK
1848case 37:
1849YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001850{ return LEAF_LIST_KEYWORD; }
1851 YY_BREAK
1852case 38:
1853YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001854{ return LENGTH_KEYWORD; }
1855 YY_BREAK
1856case 39:
1857YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001858{ return LIST_KEYWORD; }
1859 YY_BREAK
1860case 40:
1861YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001862{ return MANDATORY_KEYWORD; }
1863 YY_BREAK
1864case 41:
1865YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001866{ return MAX_ELEMENTS_KEYWORD; }
1867 YY_BREAK
1868case 42:
1869YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001870{ return MIN_ELEMENTS_KEYWORD; }
1871 YY_BREAK
1872case 43:
1873YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001874{ return MODULE_KEYWORD; }
1875 YY_BREAK
1876case 44:
1877YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001878{ return MUST_KEYWORD; }
1879 YY_BREAK
1880case 45:
1881YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001882{ return NAMESPACE_KEYWORD; }
1883 YY_BREAK
1884case 46:
1885YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001886{ return NOTIFICATION_KEYWORD; }
1887 YY_BREAK
1888case 47:
1889YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001890{ return ORDERED_BY_KEYWORD; }
1891 YY_BREAK
1892case 48:
1893YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001894{ return ORGANIZATION_KEYWORD; }
1895 YY_BREAK
1896case 49:
1897YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001898{ return OUTPUT_KEYWORD; }
1899 YY_BREAK
1900case 50:
1901YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001902{ BEGIN PATH; return PATH_KEYWORD; }
1903 YY_BREAK
1904case 51:
1905YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001906{ return PATTERN_KEYWORD; }
1907 YY_BREAK
1908case 52:
1909YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001910{ return POSITION_KEYWORD; }
1911 YY_BREAK
1912case 53:
1913YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001914{ return PREFIX_KEYWORD; }
1915 YY_BREAK
1916case 54:
1917YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001918{ return PRESENCE_KEYWORD; }
1919 YY_BREAK
1920case 55:
1921YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001922{ return RANGE_KEYWORD; }
1923 YY_BREAK
1924case 56:
1925YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001926{ return REFERENCE_KEYWORD; }
1927 YY_BREAK
1928case 57:
1929YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001930{ BEGIN PATH; return REFINE_KEYWORD; }
1931 YY_BREAK
1932case 58:
1933YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001934{ return REQUIRE_INSTANCE_KEYWORD; }
1935 YY_BREAK
1936case 59:
1937YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001938{ return REVISION_KEYWORD; }
1939 YY_BREAK
1940case 60:
1941YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001942{ return REVISION_DATE_KEYWORD; }
1943 YY_BREAK
1944case 61:
1945YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001946{ return RPC_KEYWORD; }
1947 YY_BREAK
1948case 62:
1949YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001950{ return STATUS_KEYWORD; }
1951 YY_BREAK
1952case 63:
1953YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001954{ return SUBMODULE_KEYWORD; }
1955 YY_BREAK
1956case 64:
1957YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001958{ return TYPE_KEYWORD; }
1959 YY_BREAK
1960case 65:
1961YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001962{ return TYPEDEF_KEYWORD; }
1963 YY_BREAK
1964case 66:
1965YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001966{ BEGIN PATH; return UNIQUE_KEYWORD; }
1967 YY_BREAK
1968case 67:
1969YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001970{ return UNITS_KEYWORD; }
1971 YY_BREAK
1972case 68:
1973YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001974{ return USES_KEYWORD; }
1975 YY_BREAK
1976case 69:
1977YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001978{ return VALUE_KEYWORD; }
1979 YY_BREAK
1980case 70:
1981YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001982{ return WHEN_KEYWORD; }
1983 YY_BREAK
1984case 71:
1985YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001986{ return YANG_VERSION_KEYWORD; }
1987 YY_BREAK
1988case 72:
1989YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001990{ return YIN_ELEMENT_KEYWORD; }
1991 YY_BREAK
1992case 73:
1993YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001994{ return ADD_KEYWORD; }
1995 YY_BREAK
1996case 74:
1997YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02001998{ return CURRENT_KEYWORD; }
1999 YY_BREAK
2000case 75:
2001YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002002{ return CURRENT_KEYWORD; }
2003 YY_BREAK
2004case 76:
2005YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002006{ return DELETE_KEYWORD; }
2007 YY_BREAK
2008case 77:
2009YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002010{ return DEPRECATED_KEYWORD; }
2011 YY_BREAK
2012case 78:
2013YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002014{ return FALSE_KEYWORD; }
2015 YY_BREAK
2016case 79:
2017YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002018{ return NOT_SUPPORTED_KEYWORD; }
2019 YY_BREAK
2020case 80:
2021YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002022{ return OBSOLETE_KEYWORD; }
2023 YY_BREAK
2024case 81:
2025YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002026{ return REPLACE_KEYWORD; }
2027 YY_BREAK
2028case 82:
2029YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002030{ return SYSTEM_KEYWORD; }
2031 YY_BREAK
2032case 83:
2033YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002034{ return TRUE_KEYWORD; }
2035 YY_BREAK
2036case 84:
2037YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002038{ return UNBOUNDED_KEYWORD; }
2039 YY_BREAK
2040case 85:
2041YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002042{ return USER_KEYWORD; }
2043 YY_BREAK
2044case 86:
Pavol Vicancae54882016-03-30 12:24:43 +02002045case 87:
Pavol Vicancae54882016-03-30 12:24:43 +02002046case 88:
Pavol Vicancae54882016-03-30 12:24:43 +02002047case 89:
2048YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002049{ return yytext[0];} /* unsolved problem with concatenate string '+' */
2050 YY_BREAK
2051case 90:
Pavol Vican1a1552f2016-04-04 14:15:32 +02002052/* rule 90 can match eol */
Pavol Vicancae54882016-03-30 12:24:43 +02002053YY_RULE_SETUP
Pavol Vican1a1552f2016-04-04 14:15:32 +02002054{return STRING;}
Pavol Vicancae54882016-03-30 12:24:43 +02002055 YY_BREAK
2056case 91:
2057/* rule 91 can match eol */
2058YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002059{return STRING;}
2060 YY_BREAK
2061case 92:
2062YY_RULE_SETUP
Pavol Vican1a1552f2016-04-04 14:15:32 +02002063{return ZERO;}
Pavol Vicancae54882016-03-30 12:24:43 +02002064 YY_BREAK
2065case 93:
2066YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002067{return INTEGER;}
2068 YY_BREAK
Pavol Vican1a1552f2016-04-04 14:15:32 +02002069case 94:
Pavol Vicancae54882016-03-30 12:24:43 +02002070YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002071{return NON_NEGATIVE_INTEGER;}
2072 YY_BREAK
Pavol Vican1a1552f2016-04-04 14:15:32 +02002073case 95:
2074case 96:
2075case 97:
2076case 98:
Pavol Vicancae54882016-03-30 12:24:43 +02002077case 99:
Pavol Vicancae54882016-03-30 12:24:43 +02002078case 100:
Pavol Vicancae54882016-03-30 12:24:43 +02002079YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002080{return yytext[0];}
2081 YY_BREAK
Pavol Vican1a1552f2016-04-04 14:15:32 +02002082case 101:
2083YY_RULE_SETUP
2084{return DOUBLEDOT;}
2085 YY_BREAK
2086case 102:
2087/* rule 102 can match eol */
2088YY_RULE_SETUP
Pavol Vican4ca887b2016-04-08 09:59:17 +02002089{ yylloc->last_column = 1; return EOL;}
Pavol Vican1a1552f2016-04-04 14:15:32 +02002090 YY_BREAK
2091case 103:
2092YY_RULE_SETUP
2093{ return WHITESPACE;}
2094 YY_BREAK
2095case 104:
Pavol Vicancae54882016-03-30 12:24:43 +02002096case 105:
2097YY_RULE_SETUP
Pavol Vican1a1552f2016-04-04 14:15:32 +02002098{BEGIN INITIAL; return yytext[0];}
Pavol Vicancae54882016-03-30 12:24:43 +02002099 YY_BREAK
2100case 106:
2101/* rule 106 can match eol */
2102YY_RULE_SETUP
Pavol Vican1a1552f2016-04-04 14:15:32 +02002103{return STRING;}
Pavol Vicancae54882016-03-30 12:24:43 +02002104 YY_BREAK
2105case 107:
Pavol Vican1a1552f2016-04-04 14:15:32 +02002106/* rule 107 can match eol */
Pavol Vicancae54882016-03-30 12:24:43 +02002107YY_RULE_SETUP
Pavol Vican1a1552f2016-04-04 14:15:32 +02002108{return STRING;}
Pavol Vicancae54882016-03-30 12:24:43 +02002109 YY_BREAK
2110case 108:
Pavol Vican1a1552f2016-04-04 14:15:32 +02002111YY_RULE_SETUP
2112{BEGIN COMMENT2;}
2113 YY_BREAK
Pavol Vicancae54882016-03-30 12:24:43 +02002114case 109:
2115YY_RULE_SETUP
Pavol Vican1a1552f2016-04-04 14:15:32 +02002116{BEGIN COMMENT1;}
Pavol Vicancae54882016-03-30 12:24:43 +02002117 YY_BREAK
2118case 110:
2119YY_RULE_SETUP
Pavol Vican1a1552f2016-04-04 14:15:32 +02002120{return IDENTIFIER;}
Pavol Vicancae54882016-03-30 12:24:43 +02002121 YY_BREAK
2122case 111:
2123YY_RULE_SETUP
Pavol Vican1a1552f2016-04-04 14:15:32 +02002124{return IDENTIFIERPREFIX;}
Pavol Vicancae54882016-03-30 12:24:43 +02002125 YY_BREAK
2126case 112:
2127YY_RULE_SETUP
Pavol Vican1a1552f2016-04-04 14:15:32 +02002128{return REVISION_DATE;}
Pavol Vicancae54882016-03-30 12:24:43 +02002129 YY_BREAK
2130case 113:
2131YY_RULE_SETUP
Pavol Vican1a1552f2016-04-04 14:15:32 +02002132{return IDENTIFIER;}
Pavol Vicancae54882016-03-30 12:24:43 +02002133 YY_BREAK
2134case 114:
2135YY_RULE_SETUP
Pavol Vican1a1552f2016-04-04 14:15:32 +02002136{return IDENTIFIERPREFIX;}
Pavol Vicancae54882016-03-30 12:24:43 +02002137 YY_BREAK
2138case 115:
2139YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002140{if (yytext[0]=='/') {
2141 switch(yytext[1]) {
2142 case '*': BEGIN COMMENT1; yyless(2); break;
2143 case '/': yyless(2); BEGIN COMMENT2; break;
2144 default: return STRINGS;
2145 }
2146 } else {return STRINGS;} }
2147 YY_BREAK
Pavol Vican1a1552f2016-04-04 14:15:32 +02002148case 116:
2149/* rule 116 can match eol */
Pavol Vicancae54882016-03-30 12:24:43 +02002150YY_RULE_SETUP
Pavol Vican4ca887b2016-04-08 09:59:17 +02002151{ yylloc->last_column = 1; return EOL; }
Pavol Vicancae54882016-03-30 12:24:43 +02002152 YY_BREAK
Pavol Vican1a1552f2016-04-04 14:15:32 +02002153case 117:
Pavol Vicancae54882016-03-30 12:24:43 +02002154YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002155{ return WHITESPACE;}
2156 YY_BREAK
Pavol Vican1a1552f2016-04-04 14:15:32 +02002157case 118:
Pavol Vicancae54882016-03-30 12:24:43 +02002158YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002159{ printf("%d: unexpected character '%c'\n",yylineno,*yytext); return ERROR;}
2160 YY_BREAK
Pavol Vican1a1552f2016-04-04 14:15:32 +02002161case 119:
Pavol Vicancae54882016-03-30 12:24:43 +02002162YY_RULE_SETUP
Pavol Vicancae54882016-03-30 12:24:43 +02002163ECHO;
2164 YY_BREAK
Pavol Vicancae54882016-03-30 12:24:43 +02002165case YY_STATE_EOF(INITIAL):
2166case YY_STATE_EOF(COMMENT1):
2167case YY_STATE_EOF(COMMENT2):
Pavol Vicancae54882016-03-30 12:24:43 +02002168case YY_STATE_EOF(PATH):
2169 yyterminate();
2170
2171 case YY_END_OF_BUFFER:
2172 {
2173 /* Amount of text matched not including the EOB char. */
2174 int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
2175
2176 /* Undo the effects of YY_DO_BEFORE_ACTION. */
2177 *yy_cp = yyg->yy_hold_char;
2178 YY_RESTORE_YY_MORE_OFFSET
2179
2180 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
2181 {
2182 /* We're scanning a new file or input source. It's
2183 * possible that this happened because the user
2184 * just pointed yyin at a new source and called
2185 * yylex(). If so, then we have to assure
2186 * consistency between YY_CURRENT_BUFFER and our
2187 * globals. Here is the right place to do so, because
2188 * this is the first action (other than possibly a
2189 * back-up) that will match for the new input source.
2190 */
2191 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2192 YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
2193 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
2194 }
2195
2196 /* Note that here we test for yy_c_buf_p "<=" to the position
2197 * of the first EOB in the buffer, since yy_c_buf_p will
2198 * already have been incremented past the NUL character
2199 * (since all states make transitions on EOB to the
2200 * end-of-buffer state). Contrast this with the test
2201 * in input().
2202 */
2203 if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
2204 { /* This was really a NUL. */
2205 yy_state_type yy_next_state;
2206
2207 yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
2208
2209 yy_current_state = yy_get_previous_state( yyscanner );
2210
2211 /* Okay, we're now positioned to make the NUL
2212 * transition. We couldn't have
2213 * yy_get_previous_state() go ahead and do it
2214 * for us because it doesn't know how to deal
2215 * with the possibility of jamming (and we don't
2216 * want to build jamming into it because then it
2217 * will run more slowly).
2218 */
2219
2220 yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner);
2221
2222 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2223
2224 if ( yy_next_state )
2225 {
2226 /* Consume the NUL. */
2227 yy_cp = ++yyg->yy_c_buf_p;
2228 yy_current_state = yy_next_state;
2229 goto yy_match;
2230 }
2231
2232 else
2233 {
2234 yy_cp = yyg->yy_c_buf_p;
2235 goto yy_find_action;
2236 }
2237 }
2238
2239 else switch ( yy_get_next_buffer( yyscanner ) )
2240 {
2241 case EOB_ACT_END_OF_FILE:
2242 {
2243 yyg->yy_did_buffer_switch_on_eof = 0;
2244
2245 if ( yywrap(yyscanner ) )
2246 {
2247 /* Note: because we've taken care in
2248 * yy_get_next_buffer() to have set up
2249 * yytext, we can now set up
2250 * yy_c_buf_p so that if some total
2251 * hoser (like flex itself) wants to
2252 * call the scanner after we return the
2253 * YY_NULL, it'll still work - another
2254 * YY_NULL will get returned.
2255 */
2256 yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
2257
2258 yy_act = YY_STATE_EOF(YY_START);
2259 goto do_action;
2260 }
2261
2262 else
2263 {
2264 if ( ! yyg->yy_did_buffer_switch_on_eof )
2265 YY_NEW_FILE;
2266 }
2267 break;
2268 }
2269
2270 case EOB_ACT_CONTINUE_SCAN:
2271 yyg->yy_c_buf_p =
2272 yyg->yytext_ptr + yy_amount_of_matched_text;
2273
2274 yy_current_state = yy_get_previous_state( yyscanner );
2275
2276 yy_cp = yyg->yy_c_buf_p;
2277 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2278 goto yy_match;
2279
2280 case EOB_ACT_LAST_MATCH:
2281 yyg->yy_c_buf_p =
2282 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
2283
2284 yy_current_state = yy_get_previous_state( yyscanner );
2285
2286 yy_cp = yyg->yy_c_buf_p;
2287 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
2288 goto yy_find_action;
2289 }
2290 break;
2291 }
2292
2293 default:
2294 YY_FATAL_ERROR(
2295 "fatal flex scanner internal error--no action found" );
2296 } /* end of action switch */
2297 } /* end of scanning one token */
2298 } /* end of user's declarations */
2299} /* end of yylex */
2300
2301/* yy_get_next_buffer - try to read in a new buffer
2302 *
2303 * Returns a code representing an action:
2304 * EOB_ACT_LAST_MATCH -
2305 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
2306 * EOB_ACT_END_OF_FILE - end of file
2307 */
2308static int yy_get_next_buffer (yyscan_t yyscanner)
2309{
2310 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2311 char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
2312 char *source = yyg->yytext_ptr;
2313 yy_size_t number_to_move, i;
2314 int ret_val;
2315
2316 if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
2317 YY_FATAL_ERROR(
2318 "fatal flex scanner internal error--end of buffer missed" );
2319
2320 if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
2321 { /* Don't try to fill the buffer, so this is an EOF. */
2322 if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
2323 {
2324 /* We matched a single character, the EOB, so
2325 * treat this as a final EOF.
2326 */
2327 return EOB_ACT_END_OF_FILE;
2328 }
2329
2330 else
2331 {
2332 /* We matched some text prior to the EOB, first
2333 * process it.
2334 */
2335 return EOB_ACT_LAST_MATCH;
2336 }
2337 }
2338
2339 /* Try to read more data. */
2340
2341 /* First move last chars to start of buffer. */
2342 number_to_move = (yy_size_t) (yyg->yy_c_buf_p - yyg->yytext_ptr) - 1;
2343
2344 for ( i = 0; i < number_to_move; ++i )
2345 *(dest++) = *(source++);
2346
2347 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
2348 /* don't do the read, it's not guaranteed to return an EOF,
2349 * just force an EOF
2350 */
2351 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
2352
2353 else
2354 {
2355 yy_size_t num_to_read =
2356 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
2357
2358 while ( num_to_read <= 0 )
2359 { /* Not enough room in the buffer - grow it. */
2360
2361 /* just a shorter name for the current buffer */
2362 YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
2363
2364 int yy_c_buf_p_offset =
2365 (int) (yyg->yy_c_buf_p - b->yy_ch_buf);
2366
2367 if ( b->yy_is_our_buffer )
2368 {
2369 yy_size_t new_size = b->yy_buf_size * 2;
2370
2371 if ( new_size <= 0 )
2372 b->yy_buf_size += b->yy_buf_size / 8;
2373 else
2374 b->yy_buf_size *= 2;
2375
2376 b->yy_ch_buf = (char *)
2377 /* Include room in for 2 EOB chars. */
2378 yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ,yyscanner );
2379 }
2380 else
2381 /* Can't grow it, we don't own it. */
2382 b->yy_ch_buf = 0;
2383
2384 if ( ! b->yy_ch_buf )
2385 YY_FATAL_ERROR(
2386 "fatal error - scanner input buffer overflow" );
2387
2388 yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
2389
2390 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
2391 number_to_move - 1;
2392
2393 }
2394
2395 if ( num_to_read > YY_READ_BUF_SIZE )
2396 num_to_read = YY_READ_BUF_SIZE;
2397
2398 /* Read in more data. */
2399 YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
2400 yyg->yy_n_chars, num_to_read );
2401
2402 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2403 }
2404
2405 if ( yyg->yy_n_chars == 0 )
2406 {
2407 if ( number_to_move == YY_MORE_ADJ )
2408 {
2409 ret_val = EOB_ACT_END_OF_FILE;
2410 yyrestart(yyin ,yyscanner);
2411 }
2412
2413 else
2414 {
2415 ret_val = EOB_ACT_LAST_MATCH;
2416 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
2417 YY_BUFFER_EOF_PENDING;
2418 }
2419 }
2420
2421 else
2422 ret_val = EOB_ACT_CONTINUE_SCAN;
2423
2424 if ((yy_size_t) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
2425 /* Extend the array by 50%, plus the number we really need. */
2426 yy_size_t new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
2427 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ,yyscanner );
2428 if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
2429 YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
2430 }
2431
2432 yyg->yy_n_chars += number_to_move;
2433 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
2434 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
2435
2436 yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
2437
2438 return ret_val;
2439}
2440
2441/* yy_get_previous_state - get the state just before the EOB char was reached */
2442
2443 static yy_state_type yy_get_previous_state (yyscan_t yyscanner)
2444{
2445 yy_state_type yy_current_state;
2446 char *yy_cp;
2447 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2448
2449 yy_current_state = yyg->yy_start;
2450
2451 for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
2452 {
2453 YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
2454 if ( yy_accept[yy_current_state] )
2455 {
2456 yyg->yy_last_accepting_state = yy_current_state;
2457 yyg->yy_last_accepting_cpos = yy_cp;
2458 }
2459 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2460 {
2461 yy_current_state = (int) yy_def[yy_current_state];
Pavol Vican4ca887b2016-04-08 09:59:17 +02002462 if ( yy_current_state >= 561 )
Pavol Vicancae54882016-03-30 12:24:43 +02002463 yy_c = yy_meta[(unsigned int) yy_c];
2464 }
2465 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2466 }
2467
2468 return yy_current_state;
2469}
2470
2471/* yy_try_NUL_trans - try to make a transition on the NUL character
2472 *
2473 * synopsis
2474 * next_state = yy_try_NUL_trans( current_state );
2475 */
2476 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state , yyscan_t yyscanner)
2477{
2478 int yy_is_jam;
2479 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon options. */
2480 char *yy_cp = yyg->yy_c_buf_p;
2481
2482 YY_CHAR yy_c = 1;
2483 if ( yy_accept[yy_current_state] )
2484 {
2485 yyg->yy_last_accepting_state = yy_current_state;
2486 yyg->yy_last_accepting_cpos = yy_cp;
2487 }
2488 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2489 {
2490 yy_current_state = (int) yy_def[yy_current_state];
Pavol Vican4ca887b2016-04-08 09:59:17 +02002491 if ( yy_current_state >= 561 )
Pavol Vicancae54882016-03-30 12:24:43 +02002492 yy_c = yy_meta[(unsigned int) yy_c];
2493 }
2494 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
Pavol Vican4ca887b2016-04-08 09:59:17 +02002495 yy_is_jam = (yy_current_state == 560);
Pavol Vicancae54882016-03-30 12:24:43 +02002496
2497 (void)yyg;
2498 return yy_is_jam ? 0 : yy_current_state;
2499}
2500
2501#ifndef YY_NO_UNPUT
2502
2503#endif
2504
2505#ifndef YY_NO_INPUT
2506#ifdef __cplusplus
2507 static int yyinput (yyscan_t yyscanner)
2508#else
2509 static int input (yyscan_t yyscanner)
2510#endif
2511
2512{
2513 int c;
2514 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2515
2516 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2517
2518 if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
2519 {
2520 /* yy_c_buf_p now points to the character we want to return.
2521 * If this occurs *before* the EOB characters, then it's a
2522 * valid NUL; if not, then we've hit the end of the buffer.
2523 */
2524 if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
2525 /* This was really a NUL. */
2526 *yyg->yy_c_buf_p = '\0';
2527
2528 else
2529 { /* need more input */
2530 yy_size_t offset = yyg->yy_c_buf_p - yyg->yytext_ptr;
2531 ++yyg->yy_c_buf_p;
2532
2533 switch ( yy_get_next_buffer( yyscanner ) )
2534 {
2535 case EOB_ACT_LAST_MATCH:
2536 /* This happens because yy_g_n_b()
2537 * sees that we've accumulated a
2538 * token and flags that we need to
2539 * try matching the token before
2540 * proceeding. But for input(),
2541 * there's no matching to consider.
2542 * So convert the EOB_ACT_LAST_MATCH
2543 * to EOB_ACT_END_OF_FILE.
2544 */
2545
2546 /* Reset buffer status. */
2547 yyrestart(yyin ,yyscanner);
2548
2549 /*FALLTHROUGH*/
2550
2551 case EOB_ACT_END_OF_FILE:
2552 {
2553 if ( yywrap(yyscanner ) )
2554 return EOF;
2555
2556 if ( ! yyg->yy_did_buffer_switch_on_eof )
2557 YY_NEW_FILE;
2558#ifdef __cplusplus
2559 return yyinput(yyscanner);
2560#else
2561 return input(yyscanner);
2562#endif
2563 }
2564
2565 case EOB_ACT_CONTINUE_SCAN:
2566 yyg->yy_c_buf_p = yyg->yytext_ptr + offset;
2567 break;
2568 }
2569 }
2570 }
2571
2572 c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */
2573 *yyg->yy_c_buf_p = '\0'; /* preserve yytext */
2574 yyg->yy_hold_char = *++yyg->yy_c_buf_p;
2575
2576 return c;
2577}
2578#endif /* ifndef YY_NO_INPUT */
2579
2580/** Immediately switch to a different input stream.
2581 * @param input_file A readable stream.
2582 * @param yyscanner The scanner object.
2583 * @note This function does not reset the start condition to @c INITIAL .
2584 */
2585 void yyrestart (FILE * input_file , yyscan_t yyscanner)
2586{
2587 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2588
2589 if ( ! YY_CURRENT_BUFFER ){
2590 yyensure_buffer_stack (yyscanner);
2591 YY_CURRENT_BUFFER_LVALUE =
2592 yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
2593 }
2594
2595 yy_init_buffer(YY_CURRENT_BUFFER,input_file ,yyscanner);
2596 yy_load_buffer_state(yyscanner );
2597}
2598
2599/** Switch to a different input buffer.
2600 * @param new_buffer The new input buffer.
2601 * @param yyscanner The scanner object.
2602 */
2603 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner)
2604{
2605 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2606
2607 /* TODO. We should be able to replace this entire function body
2608 * with
2609 * yypop_buffer_state();
2610 * yypush_buffer_state(new_buffer);
2611 */
2612 yyensure_buffer_stack (yyscanner);
2613 if ( YY_CURRENT_BUFFER == new_buffer )
2614 return;
2615
2616 if ( YY_CURRENT_BUFFER )
2617 {
2618 /* Flush out information for old buffer. */
2619 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2620 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
2621 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2622 }
2623
2624 YY_CURRENT_BUFFER_LVALUE = new_buffer;
2625 yy_load_buffer_state(yyscanner );
2626
2627 /* We don't actually know whether we did this switch during
2628 * EOF (yywrap()) processing, but the only time this flag
2629 * is looked at is after yywrap() is called, so it's safe
2630 * to go ahead and always set it.
2631 */
2632 yyg->yy_did_buffer_switch_on_eof = 1;
2633}
2634
2635static void yy_load_buffer_state (yyscan_t yyscanner)
2636{
2637 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2638 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2639 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
2640 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
2641 yyg->yy_hold_char = *yyg->yy_c_buf_p;
2642}
2643
2644/** Allocate and initialize an input buffer state.
2645 * @param file A readable stream.
2646 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
2647 * @param yyscanner The scanner object.
2648 * @return the allocated buffer state.
2649 */
2650 YY_BUFFER_STATE yy_create_buffer (FILE * file, int size , yyscan_t yyscanner)
2651{
2652 YY_BUFFER_STATE b;
2653
2654 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ,yyscanner );
2655 if ( ! b )
2656 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2657
2658 b->yy_buf_size = (yy_size_t)size;
2659
2660 /* yy_ch_buf has to be 2 characters longer than the size given because
2661 * we need to put in 2 end-of-buffer characters.
2662 */
2663 b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ,yyscanner );
2664 if ( ! b->yy_ch_buf )
2665 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2666
2667 b->yy_is_our_buffer = 1;
2668
2669 yy_init_buffer(b,file ,yyscanner);
2670
2671 return b;
2672}
2673
2674/** Destroy the buffer.
2675 * @param b a buffer created with yy_create_buffer()
2676 * @param yyscanner The scanner object.
2677 */
2678 void yy_delete_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner)
2679{
2680 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2681
2682 if ( ! b )
2683 return;
2684
2685 if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
2686 YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
2687
2688 if ( b->yy_is_our_buffer )
2689 yyfree((void *) b->yy_ch_buf ,yyscanner );
2690
2691 yyfree((void *) b ,yyscanner );
2692}
2693
2694/* Initializes or reinitializes a buffer.
2695 * This function is sometimes called more than once on the same buffer,
2696 * such as during a yyrestart() or at EOF.
2697 */
2698 static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file , yyscan_t yyscanner)
2699
2700{
2701 int oerrno = errno;
2702 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2703
2704 yy_flush_buffer(b ,yyscanner);
2705
2706 b->yy_input_file = file;
2707 b->yy_fill_buffer = 1;
2708
2709 /* If b is the current buffer, then yy_init_buffer was _probably_
2710 * called from yyrestart() or through yy_get_next_buffer.
2711 * In that case, we don't want to reset the lineno or column.
2712 */
2713 if (b != YY_CURRENT_BUFFER){
2714 b->yy_bs_lineno = 1;
2715 b->yy_bs_column = 0;
2716 }
2717
2718 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
2719
2720 errno = oerrno;
2721}
2722
2723/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
2724 * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
2725 * @param yyscanner The scanner object.
2726 */
2727 void yy_flush_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner)
2728{
2729 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2730 if ( ! b )
2731 return;
2732
2733 b->yy_n_chars = 0;
2734
2735 /* We always need two end-of-buffer characters. The first causes
2736 * a transition to the end-of-buffer state. The second causes
2737 * a jam in that state.
2738 */
2739 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
2740 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
2741
2742 b->yy_buf_pos = &b->yy_ch_buf[0];
2743
2744 b->yy_at_bol = 1;
2745 b->yy_buffer_status = YY_BUFFER_NEW;
2746
2747 if ( b == YY_CURRENT_BUFFER )
2748 yy_load_buffer_state(yyscanner );
2749}
2750
2751/** Pushes the new state onto the stack. The new state becomes
2752 * the current state. This function will allocate the stack
2753 * if necessary.
2754 * @param new_buffer The new state.
2755 * @param yyscanner The scanner object.
2756 */
2757void yypush_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner)
2758{
2759 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2760 if (new_buffer == NULL)
2761 return;
2762
2763 yyensure_buffer_stack(yyscanner);
2764
2765 /* This block is copied from yy_switch_to_buffer. */
2766 if ( YY_CURRENT_BUFFER )
2767 {
2768 /* Flush out information for old buffer. */
2769 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2770 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
2771 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
2772 }
2773
2774 /* Only push if top exists. Otherwise, replace top. */
2775 if (YY_CURRENT_BUFFER)
2776 yyg->yy_buffer_stack_top++;
2777 YY_CURRENT_BUFFER_LVALUE = new_buffer;
2778
2779 /* copied from yy_switch_to_buffer. */
2780 yy_load_buffer_state(yyscanner );
2781 yyg->yy_did_buffer_switch_on_eof = 1;
2782}
2783
2784/** Removes and deletes the top of the stack, if present.
2785 * The next element becomes the new top.
2786 * @param yyscanner The scanner object.
2787 */
2788void yypop_buffer_state (yyscan_t yyscanner)
2789{
2790 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2791 if (!YY_CURRENT_BUFFER)
2792 return;
2793
2794 yy_delete_buffer(YY_CURRENT_BUFFER ,yyscanner);
2795 YY_CURRENT_BUFFER_LVALUE = NULL;
2796 if (yyg->yy_buffer_stack_top > 0)
2797 --yyg->yy_buffer_stack_top;
2798
2799 if (YY_CURRENT_BUFFER) {
2800 yy_load_buffer_state(yyscanner );
2801 yyg->yy_did_buffer_switch_on_eof = 1;
2802 }
2803}
2804
2805/* Allocates the stack if it does not exist.
2806 * Guarantees space for at least one push.
2807 */
2808static void yyensure_buffer_stack (yyscan_t yyscanner)
2809{
2810 yy_size_t num_to_alloc;
2811 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2812
2813 if (!yyg->yy_buffer_stack) {
2814
2815 /* First allocation is just for 2 elements, since we don't know if this
2816 * scanner will even need a stack. We use 2 instead of 1 to avoid an
2817 * immediate realloc on the next call.
2818 */
2819 num_to_alloc = 1; // After all that talk, this was set to 1 anyways...
2820 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc
2821 (num_to_alloc * sizeof(struct yy_buffer_state*)
2822 , yyscanner);
2823 if ( ! yyg->yy_buffer_stack )
2824 YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
2825
2826 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*));
2827
2828 yyg->yy_buffer_stack_max = num_to_alloc;
2829 yyg->yy_buffer_stack_top = 0;
2830 return;
2831 }
2832
2833 if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
2834
2835 /* Increase the buffer to prepare for a possible push. */
2836 yy_size_t grow_size = 8 /* arbitrary grow size */;
2837
2838 num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
2839 yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc
2840 (yyg->yy_buffer_stack,
2841 num_to_alloc * sizeof(struct yy_buffer_state*)
2842 , yyscanner);
2843 if ( ! yyg->yy_buffer_stack )
2844 YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
2845
2846 /* zero only the new slots.*/
2847 memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*));
2848 yyg->yy_buffer_stack_max = num_to_alloc;
2849 }
2850}
2851
2852/** Setup the input buffer state to scan directly from a user-specified character buffer.
2853 * @param base the character buffer
2854 * @param size the size in bytes of the character buffer
2855 * @param yyscanner The scanner object.
2856 * @return the newly allocated buffer state object.
2857 */
2858YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size , yyscan_t yyscanner)
2859{
2860 YY_BUFFER_STATE b;
2861
2862 if ( size < 2 ||
2863 base[size-2] != YY_END_OF_BUFFER_CHAR ||
2864 base[size-1] != YY_END_OF_BUFFER_CHAR )
2865 /* They forgot to leave room for the EOB's. */
2866 return 0;
2867
2868 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ,yyscanner );
2869 if ( ! b )
2870 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
2871
2872 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
2873 b->yy_buf_pos = b->yy_ch_buf = base;
2874 b->yy_is_our_buffer = 0;
2875 b->yy_input_file = 0;
2876 b->yy_n_chars = b->yy_buf_size;
2877 b->yy_is_interactive = 0;
2878 b->yy_at_bol = 1;
2879 b->yy_fill_buffer = 0;
2880 b->yy_buffer_status = YY_BUFFER_NEW;
2881
2882 yy_switch_to_buffer(b ,yyscanner );
2883
2884 return b;
2885}
2886
2887/** Setup the input buffer state to scan a string. The next call to yylex() will
2888 * scan from a @e copy of @a str.
2889 * @param yystr a NUL-terminated string to scan
2890 * @param yyscanner The scanner object.
2891 * @return the newly allocated buffer state object.
2892 * @note If you want to scan bytes that may contain NUL values, then use
2893 * yy_scan_bytes() instead.
2894 */
2895YY_BUFFER_STATE yy_scan_string (yyconst char * yystr , yyscan_t yyscanner)
2896{
2897
2898 return yy_scan_bytes(yystr,strlen(yystr) ,yyscanner);
2899}
2900
2901/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
2902 * scan from a @e copy of @a bytes.
2903 * @param yybytes the byte buffer to scan
2904 * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
2905 * @param yyscanner The scanner object.
2906 * @return the newly allocated buffer state object.
2907 */
2908YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len , yyscan_t yyscanner)
2909{
2910 YY_BUFFER_STATE b;
2911 char *buf;
2912 yy_size_t n;
2913 yy_size_t i;
2914
2915 /* Get memory for full buffer, including space for trailing EOB's. */
2916 n = _yybytes_len + 2;
2917 buf = (char *) yyalloc(n ,yyscanner );
2918 if ( ! buf )
2919 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
2920
2921 for ( i = 0; i < _yybytes_len; ++i )
2922 buf[i] = yybytes[i];
2923
2924 buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
2925
2926 b = yy_scan_buffer(buf,n ,yyscanner);
2927 if ( ! b )
2928 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
2929
2930 /* It's okay to grow etc. this buffer, and we should throw it
2931 * away when we're done.
2932 */
2933 b->yy_is_our_buffer = 1;
2934
2935 return b;
2936}
2937
2938#ifndef YY_EXIT_FAILURE
2939#define YY_EXIT_FAILURE 2
2940#endif
2941
2942static void yy_fatal_error (yyconst char* msg , yyscan_t yyscanner)
2943{
2944 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2945 (void)yyg;
2946 (void) fprintf( stderr, "%s\n", msg );
2947 exit( YY_EXIT_FAILURE );
2948}
2949
2950/* Redefine yyless() so it works in section 3 code. */
2951
2952#undef yyless
2953#define yyless(n) \
2954 do \
2955 { \
2956 /* Undo effects of setting up yytext. */ \
2957 int yyless_macro_arg = (n); \
2958 YY_LESS_LINENO(yyless_macro_arg);\
2959 yytext[yyleng] = yyg->yy_hold_char; \
2960 yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
2961 yyg->yy_hold_char = *yyg->yy_c_buf_p; \
2962 *yyg->yy_c_buf_p = '\0'; \
2963 yyleng = yyless_macro_arg; \
2964 } \
2965 while ( 0 )
2966
2967/* Accessor methods (get/set functions) to struct members. */
2968
2969/** Get the user-defined data for this scanner.
2970 * @param yyscanner The scanner object.
2971 */
2972YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner)
2973{
2974 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2975 return yyextra;
2976}
2977
2978/** Get the current line number.
2979 * @param yyscanner The scanner object.
2980 */
2981int yyget_lineno (yyscan_t yyscanner)
2982{
2983 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2984
2985 if (! YY_CURRENT_BUFFER)
2986 return 0;
2987
2988 return yylineno;
2989}
2990
2991/** Get the current column number.
2992 * @param yyscanner The scanner object.
2993 */
2994int yyget_column (yyscan_t yyscanner)
2995{
2996 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2997
2998 if (! YY_CURRENT_BUFFER)
2999 return 0;
3000
3001 return yycolumn;
3002}
3003
3004/** Get the input stream.
3005 * @param yyscanner The scanner object.
3006 */
3007FILE *yyget_in (yyscan_t yyscanner)
3008{
3009 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3010 return yyin;
3011}
3012
3013/** Get the output stream.
3014 * @param yyscanner The scanner object.
3015 */
3016FILE *yyget_out (yyscan_t yyscanner)
3017{
3018 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3019 return yyout;
3020}
3021
3022/** Get the length of the current token.
3023 * @param yyscanner The scanner object.
3024 */
3025yy_size_t yyget_leng (yyscan_t yyscanner)
3026{
3027 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3028 return yyleng;
3029}
3030
3031/** Get the current token.
3032 * @param yyscanner The scanner object.
3033 */
3034
3035char *yyget_text (yyscan_t yyscanner)
3036{
3037 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3038 return yytext;
3039}
3040
3041/** Set the user-defined data. This data is never touched by the scanner.
3042 * @param user_defined The data to be associated with this scanner.
3043 * @param yyscanner The scanner object.
3044 */
3045void yyset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner)
3046{
3047 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3048 yyextra = user_defined ;
3049}
3050
3051/** Set the current line number.
3052 * @param _line_number line number
3053 * @param yyscanner The scanner object.
3054 */
3055void yyset_lineno (int _line_number , yyscan_t yyscanner)
3056{
3057 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3058
3059 /* lineno is only valid if an input buffer exists. */
3060 if (! YY_CURRENT_BUFFER )
3061 YY_FATAL_ERROR( "yyset_lineno called with no buffer" );
3062
3063 yylineno = _line_number;
3064}
3065
3066/** Set the current column.
3067 * @param _column_no column number
3068 * @param yyscanner The scanner object.
3069 */
3070void yyset_column (int _column_no , yyscan_t yyscanner)
3071{
3072 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3073
3074 /* column is only valid if an input buffer exists. */
3075 if (! YY_CURRENT_BUFFER )
3076 YY_FATAL_ERROR( "yyset_column called with no buffer" );
3077
3078 yycolumn = _column_no;
3079}
3080
3081/** Set the input stream. This does not discard the current
3082 * input buffer.
3083 * @param _in_str A readable stream.
3084 * @param yyscanner The scanner object.
3085 * @see yy_switch_to_buffer
3086 */
3087void yyset_in (FILE * _in_str , yyscan_t yyscanner)
3088{
3089 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3090 yyin = _in_str ;
3091}
3092
3093void yyset_out (FILE * _out_str , yyscan_t yyscanner)
3094{
3095 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3096 yyout = _out_str ;
3097}
3098
3099int yyget_debug (yyscan_t yyscanner)
3100{
3101 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3102 return yy_flex_debug;
3103}
3104
3105void yyset_debug (int _bdebug , yyscan_t yyscanner)
3106{
3107 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3108 yy_flex_debug = _bdebug ;
3109}
3110
3111/* Accessor methods for yylval and yylloc */
3112
3113YYSTYPE * yyget_lval (yyscan_t yyscanner)
3114{
3115 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3116 return yylval;
3117}
3118
3119void yyset_lval (YYSTYPE * yylval_param , yyscan_t yyscanner)
3120{
3121 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3122 yylval = yylval_param;
3123}
3124
Pavol Vican4ca887b2016-04-08 09:59:17 +02003125YYLTYPE *yyget_lloc (yyscan_t yyscanner)
3126{
3127 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3128 return yylloc;
3129}
3130
3131void yyset_lloc (YYLTYPE * yylloc_param , yyscan_t yyscanner)
3132{
3133 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3134 yylloc = yylloc_param;
3135}
3136
Pavol Vicancae54882016-03-30 12:24:43 +02003137/* User-visible API */
3138
3139/* yylex_init is special because it creates the scanner itself, so it is
3140 * the ONLY reentrant function that doesn't take the scanner as the last argument.
3141 * That's why we explicitly handle the declaration, instead of using our macros.
3142 */
3143
3144int yylex_init(yyscan_t* ptr_yy_globals)
3145
3146{
3147 if (ptr_yy_globals == NULL){
3148 errno = EINVAL;
3149 return 1;
3150 }
3151
3152 *ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), NULL );
3153
3154 if (*ptr_yy_globals == NULL){
3155 errno = ENOMEM;
3156 return 1;
3157 }
3158
3159 /* By setting to 0xAA, we expose bugs in yy_init_globals. Leave at 0x00 for releases. */
3160 memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t));
3161
3162 return yy_init_globals ( *ptr_yy_globals );
3163}
3164
3165/* yylex_init_extra has the same functionality as yylex_init, but follows the
3166 * convention of taking the scanner as the last argument. Note however, that
3167 * this is a *pointer* to a scanner, as it will be allocated by this call (and
3168 * is the reason, too, why this function also must handle its own declaration).
3169 * The user defined value in the first argument will be available to yyalloc in
3170 * the yyextra field.
3171 */
3172
3173int yylex_init_extra(YY_EXTRA_TYPE yy_user_defined,yyscan_t* ptr_yy_globals )
3174
3175{
3176 struct yyguts_t dummy_yyguts;
3177
3178 yyset_extra (yy_user_defined, &dummy_yyguts);
3179
3180 if (ptr_yy_globals == NULL){
3181 errno = EINVAL;
3182 return 1;
3183 }
3184
3185 *ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), &dummy_yyguts );
3186
3187 if (*ptr_yy_globals == NULL){
3188 errno = ENOMEM;
3189 return 1;
3190 }
3191
3192 /* By setting to 0xAA, we expose bugs in
3193 yy_init_globals. Leave at 0x00 for releases. */
3194 memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t));
3195
3196 yyset_extra (yy_user_defined, *ptr_yy_globals);
3197
3198 return yy_init_globals ( *ptr_yy_globals );
3199}
3200
3201static int yy_init_globals (yyscan_t yyscanner)
3202{
3203 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3204 /* Initialization is the same as for the non-reentrant scanner.
3205 * This function is called from yylex_destroy(), so don't allocate here.
3206 */
3207
3208 yyg->yy_buffer_stack = 0;
3209 yyg->yy_buffer_stack_top = 0;
3210 yyg->yy_buffer_stack_max = 0;
3211 yyg->yy_c_buf_p = (char *) 0;
3212 yyg->yy_init = 0;
3213 yyg->yy_start = 0;
3214
3215 yyg->yy_start_stack_ptr = 0;
3216 yyg->yy_start_stack_depth = 0;
3217 yyg->yy_start_stack = NULL;
3218
3219/* Defined in main.c */
3220#ifdef YY_STDINIT
3221 yyin = stdin;
3222 yyout = stdout;
3223#else
3224 yyin = (FILE *) 0;
3225 yyout = (FILE *) 0;
3226#endif
3227
3228 /* For future reference: Set errno on error, since we are called by
3229 * yylex_init()
3230 */
3231 return 0;
3232}
3233
3234/* yylex_destroy is for both reentrant and non-reentrant scanners. */
3235int yylex_destroy (yyscan_t yyscanner)
3236{
3237 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3238
3239 /* Pop the buffer stack, destroying each element. */
3240 while(YY_CURRENT_BUFFER){
3241 yy_delete_buffer(YY_CURRENT_BUFFER ,yyscanner );
3242 YY_CURRENT_BUFFER_LVALUE = NULL;
3243 yypop_buffer_state(yyscanner);
3244 }
3245
3246 /* Destroy the stack itself. */
3247 yyfree(yyg->yy_buffer_stack ,yyscanner);
3248 yyg->yy_buffer_stack = NULL;
3249
3250 /* Destroy the start condition stack. */
3251 yyfree(yyg->yy_start_stack ,yyscanner );
3252 yyg->yy_start_stack = NULL;
3253
3254 /* Reset the globals. This is important in a non-reentrant scanner so the next time
3255 * yylex() is called, initialization will occur. */
3256 yy_init_globals( yyscanner);
3257
3258 /* Destroy the main struct (reentrant only). */
3259 yyfree ( yyscanner , yyscanner );
3260 yyscanner = NULL;
3261 return 0;
3262}
3263
3264/*
3265 * Internal utility routines.
3266 */
3267
3268#ifndef yytext_ptr
3269static void yy_flex_strncpy (char* s1, yyconst char * s2, int n , yyscan_t yyscanner)
3270{
3271 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3272 (void)yyg;
3273
3274 int i;
3275 for ( i = 0; i < n; ++i )
3276 s1[i] = s2[i];
3277}
3278#endif
3279
3280#ifdef YY_NEED_STRLEN
3281static int yy_flex_strlen (yyconst char * s , yyscan_t yyscanner)
3282{
3283 int n;
3284 for ( n = 0; s[n]; ++n )
3285 ;
3286
3287 return n;
3288}
3289#endif
3290
3291void *yyalloc (yy_size_t size , yyscan_t yyscanner)
3292{
3293 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3294 (void)yyg;
3295 return (void *) malloc( size );
3296}
3297
3298void *yyrealloc (void * ptr, yy_size_t size , yyscan_t yyscanner)
3299{
3300 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3301 (void)yyg;
3302
3303 /* The cast to (char *) in the following accommodates both
3304 * implementations that use char* generic pointers, and those
3305 * that use void* generic pointers. It works with the latter
3306 * because both ANSI C and C++ allow castless assignment from
3307 * any pointer type to void*, and deal with argument conversions
3308 * as though doing an assignment.
3309 */
3310 return (void *) realloc( (char *) ptr, size );
3311}
3312
3313void yyfree (void * ptr , yyscan_t yyscanner)
3314{
3315 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
3316 (void)yyg;
3317 free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
3318}
3319
3320#define YYTABLES_NAME "yytables"
3321