blob: 1951c7b23fe367e0278e8290c9e213a4f0bcda1e [file] [log] [blame]
#line 3 "parser_yang_lex.c"
#define YY_INT_ALIGNED short int
/* A lexical scanner generated by flex */
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 6
#define YY_FLEX_SUBMINOR_VERSION 0
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif
/* First, we deal with platform-specific or compiler-specific issues. */
/* begin standard C headers. */
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
/* end standard C headers. */
/* flex integer type definitions */
#ifndef FLEXINT_H
#define FLEXINT_H
/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
* if you want the limit (max/min) macros for int types.
*/
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS 1
#endif
#include <inttypes.h>
typedef int8_t flex_int8_t;
typedef uint8_t flex_uint8_t;
typedef int16_t flex_int16_t;
typedef uint16_t flex_uint16_t;
typedef int32_t flex_int32_t;
typedef uint32_t flex_uint32_t;
#else
typedef signed char flex_int8_t;
typedef short int flex_int16_t;
typedef int flex_int32_t;
typedef unsigned char flex_uint8_t;
typedef unsigned short int flex_uint16_t;
typedef unsigned int flex_uint32_t;
/* Limits of integral types. */
#ifndef INT8_MIN
#define INT8_MIN (-128)
#endif
#ifndef INT16_MIN
#define INT16_MIN (-32767-1)
#endif
#ifndef INT32_MIN
#define INT32_MIN (-2147483647-1)
#endif
#ifndef INT8_MAX
#define INT8_MAX (127)
#endif
#ifndef INT16_MAX
#define INT16_MAX (32767)
#endif
#ifndef INT32_MAX
#define INT32_MAX (2147483647)
#endif
#ifndef UINT8_MAX
#define UINT8_MAX (255U)
#endif
#ifndef UINT16_MAX
#define UINT16_MAX (65535U)
#endif
#ifndef UINT32_MAX
#define UINT32_MAX (4294967295U)
#endif
#endif /* ! C99 */
#endif /* ! FLEXINT_H */
#ifdef __cplusplus
/* The "const" storage-class-modifier is valid. */
#define YY_USE_CONST
#else /* ! __cplusplus */
/* C99 requires __STDC__ to be defined as 1. */
#if defined (__STDC__)
#define YY_USE_CONST
#endif /* defined (__STDC__) */
#endif /* ! __cplusplus */
#ifdef YY_USE_CONST
#define yyconst const
#else
#define yyconst
#endif
/* Returned upon end-of-file. */
#define YY_NULL 0
/* Promotes a possibly negative, possibly signed char to an unsigned
* integer for use as an array index. If the signed char is negative,
* we want to instead treat it as an 8-bit unsigned char, hence the
* double cast.
*/
#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
/* An opaque pointer. */
#ifndef YY_TYPEDEF_YY_SCANNER_T
#define YY_TYPEDEF_YY_SCANNER_T
typedef void* yyscan_t;
#endif
/* For convenience, these vars (plus the bison vars far below)
are macros in the reentrant scanner. */
#define yyin yyg->yyin_r
#define yyout yyg->yyout_r
#define yyextra yyg->yyextra_r
#define yyleng yyg->yyleng_r
#define yytext yyg->yytext_r
#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
#define yy_flex_debug yyg->yy_flex_debug_r
/* Enter a start condition. This macro really ought to take a parameter,
* but we do it the disgusting crufty way forced on us by the ()-less
* definition of BEGIN.
*/
#define BEGIN yyg->yy_start = 1 + 2 *
/* Translate the current start state into a value that can be later handed
* to BEGIN to return to the state. The YYSTATE alias is for lex
* compatibility.
*/
#define YY_START ((yyg->yy_start - 1) / 2)
#define YYSTATE YY_START
/* Action number for EOF rule of a given start state. */
#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
/* Special action meaning "start processing a new file". */
#define YY_NEW_FILE yyrestart(yyin ,yyscanner )
#define YY_END_OF_BUFFER_CHAR 0
/* Size of default input buffer. */
#ifndef YY_BUF_SIZE
#ifdef __ia64__
/* On IA-64, the buffer size is 16k, not 8k.
* Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
* Ditto for the __ia64__ case accordingly.
*/
#define YY_BUF_SIZE 32768
#else
#define YY_BUF_SIZE 16384
#endif /* __ia64__ */
#endif
/* The state buf must be large enough to hold one state per character in the main buffer.
*/
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
#ifndef YY_TYPEDEF_YY_BUFFER_STATE
#define YY_TYPEDEF_YY_BUFFER_STATE
typedef struct yy_buffer_state *YY_BUFFER_STATE;
#endif
#ifndef YY_TYPEDEF_YY_SIZE_T
#define YY_TYPEDEF_YY_SIZE_T
typedef size_t yy_size_t;
#endif
#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2
#define YY_LESS_LINENO(n)
#define YY_LINENO_REWIND_TO(ptr)
/* Return all but the first "n" matched characters back to the input stream. */
#define yyless(n) \
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
*yy_cp = yyg->yy_hold_char; \
YY_RESTORE_YY_MORE_OFFSET \
yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
#define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
#ifndef YY_STRUCT_YY_BUFFER_STATE
#define YY_STRUCT_YY_BUFFER_STATE
struct yy_buffer_state
{
FILE *yy_input_file;
char *yy_ch_buf; /* input buffer */
char *yy_buf_pos; /* current position in input buffer */
/* Size of input buffer in bytes, not including room for EOB
* characters.
*/
yy_size_t yy_buf_size;
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
yy_size_t yy_n_chars;
/* Whether we "own" the buffer - i.e., we know we created it,
* and can realloc() it to grow it, and should free() it to
* delete it.
*/
int yy_is_our_buffer;
/* Whether this is an "interactive" input source; if so, and
* if we're using stdio for input, then we want to use getc()
* instead of fread(), to make sure we stop fetching input after
* each newline.
*/
int yy_is_interactive;
/* Whether we're considered to be at the beginning of a line.
* If so, '^' rules will be active on the next match, otherwise
* not.
*/
int yy_at_bol;
int yy_bs_lineno; /**< The line count. */
int yy_bs_column; /**< The column count. */
/* Whether to try to fill the input buffer when we reach the
* end of it.
*/
int yy_fill_buffer;
int yy_buffer_status;
#define YY_BUFFER_NEW 0
#define YY_BUFFER_NORMAL 1
/* When an EOF's been seen but there's still some text to process
* then we mark the buffer as YY_EOF_PENDING, to indicate that we
* shouldn't try reading from the input source any more. We might
* still have a bunch of tokens to match, though, because of
* possible backing-up.
*
* When we actually see the EOF, we change the status to "new"
* (via yyrestart()), so that the user can continue scanning by
* just pointing yyin at a new input file.
*/
#define YY_BUFFER_EOF_PENDING 2
};
#endif /* !YY_STRUCT_YY_BUFFER_STATE */
/* We provide macros for accessing buffer states in case in the
* future we want to put the buffer states in a more general
* "scanner state".
*
* Returns the top of the stack, or NULL.
*/
#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
: NULL)
/* Same as previous macro, but useful when we know that the buffer stack is not
* NULL or when we need an lvalue. For internal use only.
*/
#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
void yyrestart (FILE *input_file ,yyscan_t yyscanner );
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
void yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
void yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
void yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
void yypop_buffer_state (yyscan_t yyscanner );
static void yyensure_buffer_stack (yyscan_t yyscanner );
static void yy_load_buffer_state (yyscan_t yyscanner );
static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ,yyscan_t yyscanner );
#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ,yyscanner)
YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );
void *yyalloc (yy_size_t ,yyscan_t yyscanner );
void *yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
void yyfree (void * ,yyscan_t yyscanner );
#define yy_new_buffer yy_create_buffer
#define yy_set_interactive(is_interactive) \
{ \
if ( ! YY_CURRENT_BUFFER ){ \
yyensure_buffer_stack (yyscanner); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}
#define yy_set_bol(at_bol) \
{ \
if ( ! YY_CURRENT_BUFFER ){\
yyensure_buffer_stack (yyscanner); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
/* Begin user sect3 */
#define yywrap(yyscanner) (/*CONSTCOND*/1)
#define YY_SKIP_YYWRAP
typedef unsigned char YY_CHAR;
typedef int yy_state_type;
#define yytext_ptr yytext_r
static yy_state_type yy_get_previous_state (yyscan_t yyscanner );
static yy_state_type yy_try_NUL_trans (yy_state_type current_state ,yyscan_t yyscanner);
static int yy_get_next_buffer (yyscan_t yyscanner );
#if defined(__GNUC__) && __GNUC__ >= 3
__attribute__((__noreturn__))
#endif
static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner );
/* Done after the current pattern has been matched and before the
* corresponding action - sets up yytext.
*/
#define YY_DO_BEFORE_ACTION \
yyg->yytext_ptr = yy_bp; \
yyleng = (size_t) (yy_cp - yy_bp); \
yyg->yy_hold_char = *yy_cp; \
*yy_cp = '\0'; \
yyg->yy_c_buf_p = yy_cp;
#define YY_NUM_RULES 119
#define YY_END_OF_BUFFER 120
/* This struct is not used in this scanner,
but its presence is necessary. */
struct yy_trans_info
{
flex_int32_t yy_verify;
flex_int32_t yy_nxt;
};
static yyconst flex_int16_t yy_accept[561] =
{ 0,
0, 0, 0, 0, 0, 0, 0, 0, 120, 118,
117, 116, 115, 118, 118, 89, 115, 115, 92, 94,
88, 113, 113, 113, 113, 113, 113, 113, 113, 113,
113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
113, 113, 113, 86, 87, 2, 3, 2, 6, 7,
119, 103, 102, 119, 119, 99, 100, 119, 95, 104,
98, 110, 96, 97, 110, 105, 117, 115, 0, 90,
0, 0, 91, 93, 1, 5, 115, 94, 113, 115,
113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
113, 113, 4, 103, 0, 106, 0, 0, 107, 101,
109, 108, 110, 0, 110, 93, 115, 94, 114, 73,
113, 113, 113, 113, 113, 13, 113, 113, 113, 113,
113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
113, 113, 113, 113, 113, 113, 113, 35, 113, 113,
113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
61, 113, 113, 113, 113, 113, 113, 113, 113, 113,
113, 113, 113, 111, 110, 115, 94, 114, 113, 113,
113, 11, 113, 14, 113, 113, 113, 113, 113, 113,
113, 113, 113, 21, 113, 113, 113, 113, 113, 113,
113, 113, 113, 113, 113, 36, 113, 39, 113, 113,
113, 113, 44, 113, 113, 113, 113, 113, 113, 113,
50, 113, 113, 113, 113, 113, 113, 113, 113, 113,
113, 113, 113, 113, 83, 64, 113, 113, 113, 85,
68, 113, 70, 113, 113, 111, 110, 115, 94, 113,
113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
113, 113, 113, 113, 78, 113, 113, 113, 113, 113,
113, 113, 34, 113, 113, 113, 113, 113, 113, 113,
113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
55, 113, 113, 113, 113, 113, 113, 113, 113, 113,
113, 113, 67, 69, 113, 113, 110, 115, 8, 113,
113, 113, 15, 16, 113, 113, 113, 113, 76, 113,
113, 113, 113, 113, 113, 113, 113, 113, 113, 32,
113, 113, 38, 113, 113, 113, 43, 113, 113, 113,
113, 113, 113, 49, 113, 113, 53, 113, 113, 57,
113, 113, 113, 62, 113, 82, 113, 113, 66, 113,
113, 110, 115, 113, 10, 113, 17, 113, 74, 19,
113, 113, 26, 113, 113, 113, 113, 27, 113, 113,
113, 113, 33, 113, 113, 113, 113, 113, 113, 113,
113, 113, 113, 51, 113, 113, 113, 81, 113, 113,
113, 65, 113, 113, 113, 75, 115, 9, 113, 113,
113, 113, 113, 113, 113, 113, 113, 29, 30, 113,
113, 113, 113, 113, 113, 113, 113, 80, 113, 113,
52, 54, 113, 113, 59, 113, 113, 113, 113, 115,
113, 18, 113, 113, 25, 113, 113, 24, 113, 113,
37, 40, 113, 113, 45, 113, 113, 113, 113, 56,
113, 113, 63, 84, 113, 113, 112, 12, 77, 113,
113, 113, 113, 31, 113, 113, 113, 113, 47, 113,
113, 113, 113, 113, 20, 113, 113, 113, 113, 113,
113, 113, 113, 113, 113, 113, 72, 113, 113, 113,
41, 42, 113, 46, 48, 113, 113, 71, 22, 23,
113, 79, 113, 60, 113, 113, 28, 113, 58, 0
} ;
static yyconst YY_CHAR yy_ec[256] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 4, 5, 6, 5, 5, 5, 5, 7, 8,
9, 10, 11, 5, 12, 13, 14, 15, 16, 16,
16, 16, 16, 16, 16, 16, 16, 17, 18, 5,
19, 5, 5, 5, 20, 20, 20, 20, 20, 20,
20, 20, 20, 20, 20, 20, 20, 20, 20, 20,
20, 20, 20, 20, 20, 20, 20, 20, 20, 20,
21, 22, 23, 5, 20, 5, 24, 25, 26, 27,
28, 29, 30, 31, 32, 20, 33, 34, 35, 36,
37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
47, 48, 49, 5, 50, 5, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1
} ;
static yyconst YY_CHAR yy_meta[51] =
{ 0,
1, 2, 2, 2, 3, 2, 2, 3, 3, 3,
3, 4, 4, 3, 4, 4, 5, 2, 3, 6,
3, 2, 3, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 2, 2
} ;
static yyconst flex_uint16_t yy_base[574] =
{ 0,
0, 0, 48, 49, 273, 269, 59, 0, 259, 3209,
51, 3209, 0, 104, 243, 0, 232, 101, 41, 97,
3209, 122, 141, 129, 139, 158, 147, 164, 169, 179,
189, 199, 209, 220, 226, 231, 237, 243, 251, 261,
194, 269, 279, 3209, 3209, 3209, 3209, 226, 3209, 3209,
3209, 112, 3209, 112, 231, 3209, 3209, 215, 107, 3209,
3209, 196, 3209, 3209, 105, 3209, 121, 0, 113, 3209,
126, 192, 3209, 122, 0, 0, 187, 195, 280, 319,
310, 312, 324, 335, 336, 346, 354, 364, 366, 372,
374, 391, 397, 403, 409, 414, 420, 431, 432, 437,
449, 443, 461, 455, 469, 467, 479, 484, 490, 496,
507, 513, 518, 508, 530, 535, 540, 557, 552, 560,
576, 581, 582, 587, 593, 599, 613, 619, 614, 624,
634, 636, 3209, 138, 167, 3209, 221, 190, 3209, 3209,
3209, 3209, 163, 0, 107, 266, 277, 298, 675, 661,
663, 675, 681, 686, 696, 698, 715, 713, 721, 732,
738, 743, 733, 758, 760, 770, 772, 789, 787, 795,
807, 809, 815, 817, 827, 832, 838, 844, 850, 855,
861, 856, 882, 888, 880, 890, 907, 909, 917, 928,
934, 940, 948, 960, 354, 959, 977, 985, 958, 991,
997, 999, 1009, 1011, 1028, 1030, 1038, 1040, 1050, 1058,
1060, 1072, 1077, 0, 127, 159, 329, 1116, 1105, 1107,
1124, 1119, 1129, 1130, 1148, 1149, 1159, 1169, 1167, 1177,
1187, 1189, 1197, 1195, 1207, 1209, 1226, 1215, 1221, 1232,
1238, 1249, 1255, 1257, 1263, 1274, 1280, 1275, 1285, 1299,
1304, 1309, 1310, 1321, 1327, 1329, 1339, 1344, 1349, 1350,
1361, 1367, 1369, 1381, 1387, 1392, 1398, 1404, 1409, 1410,
1421, 1427, 1429, 1446, 1441, 1451, 1452, 1463, 1469, 1471,
1477, 1488, 1494, 1496, 1513, 0, 226, 302, 310, 1508,
1518, 1523, 1535, 1540, 1552, 1558, 1560, 1570, 1580, 1585,
1590, 1600, 1612, 1610, 1618, 1620, 1630, 1632, 1642, 1652,
1644, 1654, 1662, 1672, 1673, 1683, 1684, 1694, 1704, 1712,
1702, 1722, 1732, 1742, 1744, 1750, 1761, 1762, 1772, 1773,
1783, 1793, 1803, 1798, 1808, 1813, 1823, 1825, 1835, 1845,
1840, 1859, 1857, 1865, 1867, 1879, 142, 341, 1885, 1887,
1893, 1904, 1910, 1912, 1922, 1927, 1932, 1942, 1950, 1952,
1960, 1974, 1980, 1986, 1997, 2005, 2003, 2011, 2022, 2023,
2033, 2043, 2041, 2051, 2062, 2068, 2070, 2076, 2082, 2088,
2090, 2100, 2102, 2108, 2119, 2120, 2125, 2140, 2142, 2148,
2159, 2165, 2167, 2173, 2179, 2184, 2185, 2190, 2196, 2207,
2213, 178, 142, 2202, 2219, 2225, 2224, 2230, 2236, 2242,
2244, 2254, 2262, 2264, 2272, 2286, 2284, 2292, 2298, 2303,
2304, 2309, 2321, 2326, 2332, 2338, 2344, 2350, 2356, 2361,
2375, 2383, 2381, 2373, 2393, 2403, 2401, 2411, 2413, 2421,
2431, 2423, 2441, 2443, 2453, 103, 353, 2451, 2463, 2468,
2473, 2483, 2485, 2491, 2497, 2503, 2505, 2515, 2517, 2523,
2525, 2535, 2545, 2556, 2562, 2564, 2570, 2581, 2589, 2591,
2599, 2601, 2618, 2616, 2624, 2635, 2630, 2641, 2652, 369,
2660, 2658, 2666, 2677, 2672, 2695, 2683, 2689, 2694, 2700,
2706, 2712, 2714, 2720, 2726, 2731, 2732, 2743, 2749, 2751,
2757, 2768, 2769, 2774, 2786, 2780, 0, 2788, 2794, 2800,
2805, 2815, 2817, 2823, 2825, 2835, 2843, 2853, 2855, 2865,
2870, 2876, 2887, 2893, 2882, 2904, 2912, 2923, 2924, 2934,
2944, 2942, 2952, 2954, 2962, 2972, 2973, 2984, 2990, 2996,
2995, 3007, 3013, 3015, 3021, 3035, 3040, 3045, 3046, 3057,
3063, 3068, 3074, 3080, 3085, 3103, 3091, 3105, 3111, 3209,
3154, 3160, 3164, 3169, 3174, 3178, 3183, 3188, 3191, 3195,
48, 3199, 3202
} ;
static yyconst flex_int16_t yy_def[574] =
{ 0,
560, 1, 561, 561, 562, 562, 560, 7, 560, 560,
560, 560, 563, 564, 565, 563, 563, 563, 563, 563,
560, 566, 566, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 560, 560, 560, 560, 560, 560, 560,
560, 560, 560, 567, 568, 560, 560, 560, 560, 560,
560, 569, 560, 560, 569, 560, 560, 563, 564, 560,
564, 565, 560, 563, 563, 563, 563, 563, 23, 570,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 92,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 560, 560, 567, 560, 567, 568, 560, 560,
560, 560, 569, 571, 569, 563, 563, 563, 572, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 92, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 573, 569, 563, 563, 572, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 573, 569, 563, 563, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 569, 563, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 569, 563, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 569, 563, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 563,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 563, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 0,
560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
560, 560, 560
} ;
static yyconst flex_uint16_t yy_nxt[3260] =
{ 0,
10, 11, 12, 11, 13, 14, 15, 13, 13, 13,
16, 17, 13, 18, 19, 20, 13, 21, 13, 22,
13, 10, 13, 23, 24, 25, 26, 27, 28, 29,
22, 30, 31, 32, 33, 34, 35, 36, 22, 37,
38, 39, 40, 41, 42, 22, 43, 22, 44, 45,
47, 47, 67, 214, 67, 77, 77, 48, 48, 51,
52, 53, 52, 51, 54, 55, 56, 57, 51, 51,
51, 58, 59, 51, 51, 51, 60, 61, 62, 63,
51, 64, 62, 62, 65, 62, 62, 62, 62, 62,
62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
62, 62, 62, 62, 62, 62, 62, 66, 51, 70,
75, 78, 78, 134, 76, 134, 141, 136, 70, 144,
142, 144, 67, 144, 67, 71, 68, 560, 560, 68,
68, 68, 68, 137, 71, 68, 146, 146, 80, 134,
68, 134, 68, 144, 68, 68, 215, 145, 68, 68,
68, 68, 85, 447, 68, 79, 86, 80, 144, 68,
87, 68, 88, 68, 79, 79, 287, 81, 79, 89,
288, 79, 136, 79, 79, 90, 82, 402, 79, 144,
83, 91, 93, 84, 79, 92, 94, 96, 137, 79,
79, 97, 95, 79, 144, 79, 139, 79, 73, 79,
79, 147, 147, 98, 79, 100, 79, 101, 99, 148,
148, 79, 144, 102, 103, 79, 104, 129, 79, 446,
79, 79, 560, 560, 79, 79, 105, 140, 79, 79,
106, 79, 107, 79, 79, 79, 79, 139, 79, 133,
108, 79, 144, 111, 79, 109, 79, 74, 79, 73,
113, 110, 79, 347, 116, 79, 112, 79, 560, 79,
119, 79, 79, 79, 120, 114, 79, 117, 115, 79,
118, 50, 79, 79, 121, 50, 79, 79, 79, 79,
146, 146, 79, 560, 122, 123, 79, 79, 560, 124,
125, 216, 216, 79, 560, 79, 127, 126, 560, 130,
79, 128, 131, 79, 79, 79, 79, 560, 79, 560,
132, 79, 217, 217, 79, 79, 348, 348, 79, 79,
560, 79, 79, 68, 289, 289, 68, 68, 68, 68,
68, 68, 68, 68, 68, 68, 150, 68, 79, 68,
288, 68, 560, 289, 289, 79, 560, 79, 560, 79,
79, 79, 79, 152, 79, 403, 403, 560, 151, 79,
560, 79, 79, 79, 153, 560, 79, 480, 480, 560,
79, 79, 79, 560, 79, 79, 154, 79, 79, 155,
79, 79, 264, 507, 507, 79, 560, 79, 79, 79,
79, 79, 79, 79, 265, 156, 79, 79, 79, 79,
79, 79, 158, 79, 157, 79, 79, 159, 79, 79,
560, 79, 560, 160, 79, 560, 79, 79, 560, 161,
560, 560, 560, 79, 162, 560, 79, 560, 163, 79,
79, 164, 79, 79, 165, 79, 79, 560, 79, 166,
79, 560, 167, 170, 79, 79, 79, 169, 79, 79,
168, 79, 560, 79, 171, 79, 79, 79, 79, 79,
174, 560, 79, 79, 173, 560, 79, 79, 172, 79,
79, 79, 79, 79, 79, 79, 79, 560, 79, 79,
175, 79, 79, 560, 79, 79, 176, 79, 79, 560,
79, 79, 179, 79, 79, 79, 79, 79, 177, 560,
79, 178, 79, 79, 180, 79, 79, 181, 79, 79,
79, 79, 560, 560, 182, 560, 185, 560, 79, 184,
560, 79, 79, 79, 183, 79, 79, 560, 560, 79,
560, 79, 79, 79, 190, 79, 186, 191, 79, 79,
560, 187, 79, 79, 79, 560, 79, 79, 79, 79,
79, 560, 79, 79, 188, 79, 79, 79, 189, 560,
79, 79, 560, 560, 560, 79, 79, 560, 560, 79,
79, 192, 79, 560, 79, 79, 193, 79, 79, 79,
194, 560, 79, 79, 195, 560, 560, 196, 197, 560,
560, 79, 79, 79, 79, 560, 79, 198, 199, 79,
79, 201, 79, 200, 202, 560, 203, 79, 79, 560,
560, 79, 560, 79, 560, 79, 79, 79, 79, 79,
79, 79, 79, 79, 79, 79, 79, 204, 79, 79,
560, 560, 79, 560, 79, 205, 206, 207, 79, 79,
79, 79, 560, 560, 208, 79, 209, 210, 79, 79,
79, 211, 79, 79, 79, 79, 79, 560, 79, 79,
79, 79, 79, 79, 560, 560, 79, 560, 560, 212,
560, 213, 560, 79, 560, 79, 79, 560, 79, 68,
560, 560, 68, 68, 68, 68, 560, 79, 68, 79,
560, 68, 560, 68, 560, 68, 79, 68, 79, 560,
79, 79, 79, 79, 560, 79, 560, 79, 219, 560,
79, 560, 79, 222, 79, 221, 79, 220, 560, 560,
79, 79, 79, 79, 79, 79, 560, 560, 79, 560,
560, 79, 223, 79, 560, 79, 560, 79, 79, 79,
79, 79, 224, 560, 225, 560, 560, 79, 79, 226,
79, 560, 79, 560, 79, 79, 79, 79, 79, 79,
79, 229, 227, 79, 79, 560, 560, 79, 79, 79,
230, 228, 231, 79, 79, 79, 560, 79, 79, 560,
79, 560, 79, 232, 79, 79, 79, 560, 560, 560,
560, 233, 560, 79, 560, 79, 79, 79, 79, 79,
79, 560, 79, 560, 234, 79, 560, 79, 235, 79,
560, 79, 79, 79, 79, 79, 236, 560, 560, 560,
560, 79, 79, 560, 79, 560, 79, 237, 79, 79,
79, 79, 239, 79, 79, 79, 238, 79, 560, 560,
560, 79, 79, 79, 79, 242, 79, 560, 79, 79,
241, 240, 79, 79, 79, 560, 79, 79, 79, 79,
560, 560, 79, 243, 79, 244, 79, 79, 560, 79,
79, 79, 560, 79, 79, 560, 79, 79, 246, 79,
245, 79, 249, 79, 247, 79, 79, 79, 560, 79,
79, 79, 79, 250, 79, 79, 79, 79, 79, 251,
79, 560, 248, 79, 560, 560, 79, 560, 79, 560,
560, 560, 560, 560, 79, 79, 79, 79, 560, 79,
255, 79, 252, 79, 79, 79, 560, 79, 560, 79,
79, 253, 79, 79, 254, 79, 560, 560, 560, 560,
256, 560, 79, 79, 79, 560, 79, 560, 79, 79,
560, 79, 79, 257, 79, 258, 79, 259, 560, 79,
79, 560, 560, 79, 560, 560, 79, 79, 560, 79,
79, 560, 560, 79, 79, 79, 79, 260, 261, 79,
560, 560, 79, 79, 79, 79, 79, 79, 266, 262,
79, 263, 560, 79, 79, 79, 560, 79, 79, 79,
270, 79, 79, 79, 267, 560, 560, 560, 268, 560,
560, 79, 79, 560, 560, 560, 79, 79, 269, 79,
79, 560, 271, 79, 79, 79, 79, 79, 560, 560,
79, 560, 79, 79, 79, 79, 79, 79, 79, 79,
272, 79, 560, 273, 79, 560, 79, 560, 79, 560,
79, 79, 274, 79, 79, 275, 79, 276, 560, 560,
560, 560, 560, 79, 79, 79, 79, 79, 560, 79,
79, 560, 79, 79, 277, 79, 79, 79, 278, 79,
79, 279, 79, 560, 79, 79, 79, 560, 285, 280,
281, 560, 79, 79, 560, 283, 560, 79, 79, 79,
282, 284, 79, 79, 560, 560, 560, 79, 560, 560,
560, 79, 79, 560, 79, 560, 79, 560, 560, 79,
68, 560, 560, 68, 68, 68, 68, 560, 560, 68,
560, 79, 68, 79, 68, 560, 68, 560, 68, 290,
79, 291, 79, 560, 79, 79, 79, 79, 560, 79,
79, 292, 560, 560, 79, 79, 79, 560, 79, 79,
560, 79, 560, 79, 293, 79, 79, 560, 79, 79,
560, 79, 79, 294, 79, 79, 560, 560, 560, 560,
295, 560, 296, 79, 79, 79, 560, 79, 79, 560,
79, 79, 560, 79, 79, 79, 297, 560, 79, 560,
560, 79, 79, 79, 79, 560, 79, 560, 79, 298,
560, 79, 79, 79, 300, 79, 79, 560, 299, 79,
302, 79, 79, 79, 79, 560, 79, 560, 301, 79,
79, 79, 79, 79, 79, 79, 79, 79, 560, 79,
560, 79, 79, 560, 304, 560, 303, 79, 79, 79,
79, 79, 79, 305, 79, 560, 79, 306, 79, 560,
79, 79, 307, 79, 79, 79, 560, 79, 79, 308,
560, 79, 560, 79, 79, 79, 310, 79, 560, 309,
79, 79, 560, 79, 79, 314, 560, 560, 79, 79,
79, 79, 79, 560, 311, 560, 79, 79, 79, 312,
79, 79, 79, 560, 313, 79, 79, 560, 316, 79,
79, 79, 560, 79, 79, 79, 79, 79, 560, 79,
79, 315, 79, 560, 79, 79, 317, 79, 560, 560,
79, 318, 560, 560, 79, 79, 79, 560, 79, 79,
560, 79, 319, 79, 79, 79, 79, 79, 79, 79,
560, 79, 79, 79, 560, 79, 79, 322, 560, 560,
79, 320, 79, 79, 79, 79, 79, 321, 79, 79,
79, 79, 323, 560, 79, 79, 79, 560, 79, 79,
560, 79, 560, 324, 325, 79, 79, 79, 79, 79,
560, 79, 326, 79, 327, 79, 79, 560, 560, 560,
79, 560, 79, 79, 79, 560, 79, 79, 79, 79,
328, 79, 329, 79, 330, 560, 79, 560, 79, 331,
79, 560, 79, 79, 79, 560, 79, 79, 560, 79,
79, 79, 334, 79, 79, 79, 79, 332, 560, 333,
79, 335, 560, 79, 79, 79, 79, 79, 79, 79,
560, 79, 79, 79, 560, 79, 79, 560, 560, 560,
79, 336, 79, 79, 79, 338, 79, 79, 79, 337,
560, 79, 79, 339, 560, 560, 79, 340, 79, 560,
79, 79, 560, 79, 560, 79, 79, 79, 79, 79,
79, 79, 560, 79, 341, 79, 560, 79, 79, 560,
560, 560, 79, 79, 79, 342, 79, 345, 79, 343,
79, 79, 79, 79, 79, 344, 79, 560, 560, 79,
79, 560, 79, 79, 560, 560, 560, 79, 560, 79,
79, 79, 560, 79, 79, 79, 79, 560, 79, 79,
346, 349, 560, 79, 79, 350, 560, 79, 79, 79,
79, 560, 79, 79, 560, 79, 560, 79, 351, 560,
79, 79, 79, 560, 352, 79, 79, 353, 560, 560,
79, 560, 560, 560, 79, 79, 560, 79, 79, 79,
560, 354, 79, 355, 79, 560, 79, 79, 560, 356,
560, 79, 560, 79, 79, 357, 79, 79, 560, 79,
79, 560, 79, 358, 560, 79, 79, 359, 560, 79,
360, 79, 79, 560, 560, 79, 79, 560, 560, 79,
79, 361, 79, 363, 79, 79, 79, 79, 560, 79,
560, 560, 79, 560, 560, 79, 79, 560, 79, 79,
560, 362, 79, 560, 79, 79, 79, 79, 560, 79,
364, 79, 79, 79, 79, 79, 79, 79, 79, 365,
79, 366, 79, 367, 560, 79, 560, 79, 79, 79,
79, 79, 79, 368, 79, 369, 560, 79, 79, 79,
371, 79, 560, 79, 79, 370, 79, 79, 79, 79,
560, 79, 560, 79, 79, 560, 79, 79, 79, 79,
560, 79, 560, 373, 79, 372, 560, 79, 79, 79,
79, 79, 79, 560, 79, 79, 560, 375, 79, 79,
79, 560, 79, 79, 374, 79, 79, 376, 79, 79,
79, 377, 560, 79, 560, 560, 79, 79, 79, 79,
560, 79, 560, 79, 379, 560, 79, 79, 79, 378,
560, 79, 560, 380, 79, 560, 560, 79, 79, 381,
560, 79, 560, 560, 79, 560, 560, 79, 79, 382,
79, 79, 560, 560, 79, 383, 79, 79, 560, 79,
560, 79, 560, 79, 79, 79, 79, 79, 79, 79,
560, 384, 79, 386, 560, 560, 79, 79, 79, 79,
385, 79, 560, 79, 79, 560, 560, 79, 388, 79,
560, 79, 79, 560, 79, 79, 560, 387, 79, 79,
389, 560, 79, 391, 79, 79, 560, 560, 79, 79,
390, 560, 79, 79, 79, 79, 560, 79, 79, 79,
79, 560, 79, 79, 393, 79, 560, 392, 79, 79,
79, 395, 79, 560, 560, 79, 560, 560, 79, 560,
79, 79, 79, 394, 79, 79, 79, 79, 560, 396,
79, 79, 397, 560, 79, 398, 560, 79, 560, 79,
79, 560, 79, 79, 79, 79, 399, 79, 560, 560,
560, 79, 79, 79, 79, 560, 79, 560, 79, 79,
79, 79, 79, 560, 79, 79, 79, 79, 560, 79,
400, 79, 401, 79, 79, 560, 560, 560, 79, 79,
79, 79, 404, 560, 79, 560, 79, 79, 79, 79,
79, 560, 79, 560, 405, 79, 79, 560, 79, 79,
560, 560, 560, 79, 406, 79, 79, 79, 79, 79,
560, 79, 79, 79, 79, 560, 560, 79, 79, 560,
560, 79, 408, 407, 79, 560, 79, 79, 79, 79,
560, 79, 560, 409, 79, 411, 79, 79, 79, 560,
560, 79, 560, 410, 79, 79, 79, 79, 560, 79,
560, 79, 79, 560, 79, 79, 560, 412, 560, 79,
79, 413, 79, 415, 560, 414, 79, 560, 560, 79,
560, 560, 79, 79, 416, 79, 79, 417, 560, 79,
560, 79, 79, 79, 418, 79, 560, 560, 79, 79,
560, 79, 79, 560, 560, 560, 79, 79, 420, 79,
79, 419, 79, 560, 79, 79, 79, 79, 79, 79,
79, 560, 421, 79, 560, 560, 560, 79, 79, 79,
423, 79, 79, 422, 79, 79, 560, 79, 79, 79,
560, 560, 79, 560, 424, 79, 79, 79, 79, 560,
79, 560, 79, 79, 560, 79, 79, 425, 79, 426,
79, 560, 560, 79, 79, 427, 79, 79, 560, 428,
560, 79, 79, 79, 79, 79, 560, 79, 79, 79,
79, 79, 79, 430, 79, 79, 79, 79, 79, 429,
560, 79, 560, 79, 79, 79, 432, 79, 79, 79,
79, 431, 79, 560, 79, 79, 560, 79, 560, 79,
560, 79, 79, 79, 79, 79, 79, 79, 560, 433,
79, 79, 560, 560, 434, 79, 435, 560, 79, 79,
79, 79, 79, 560, 79, 436, 79, 79, 79, 560,
560, 560, 560, 560, 79, 79, 560, 437, 560, 79,
560, 79, 79, 79, 79, 79, 438, 79, 560, 560,
79, 79, 439, 79, 79, 560, 560, 560, 79, 79,
79, 79, 79, 440, 79, 79, 79, 79, 79, 79,
79, 79, 79, 442, 79, 79, 443, 560, 79, 79,
79, 441, 79, 79, 79, 79, 79, 79, 79, 79,
560, 79, 79, 79, 444, 79, 449, 79, 79, 79,
445, 79, 79, 448, 79, 79, 79, 560, 79, 79,
79, 79, 79, 560, 79, 79, 79, 450, 79, 79,
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
79, 79, 79, 560, 560, 79, 560, 79, 79, 79,
79, 79, 560, 79, 79, 451, 79, 560, 79, 79,
79, 560, 560, 79, 560, 452, 79, 79, 79, 79,
453, 79, 560, 79, 79, 560, 79, 79, 560, 454,
79, 79, 79, 455, 79, 560, 560, 560, 79, 79,
456, 79, 560, 79, 79, 79, 79, 79, 79, 79,
79, 79, 458, 457, 79, 79, 560, 79, 79, 79,
79, 560, 79, 79, 79, 79, 79, 79, 79, 560,
459, 460, 79, 560, 560, 560, 79, 560, 79, 560,
79, 79, 560, 79, 79, 79, 461, 79, 79, 560,
79, 462, 463, 79, 79, 465, 79, 79, 464, 79,
79, 560, 79, 79, 467, 79, 79, 79, 560, 79,
560, 79, 79, 466, 469, 79, 79, 560, 79, 79,
79, 79, 468, 79, 470, 560, 560, 79, 79, 79,
79, 560, 79, 560, 79, 79, 79, 79, 79, 79,
79, 560, 79, 79, 474, 79, 473, 79, 471, 79,
472, 560, 79, 560, 560, 79, 79, 79, 79, 79,
79, 560, 79, 79, 560, 79, 79, 79, 79, 79,
79, 560, 79, 79, 560, 79, 475, 79, 79, 560,
79, 560, 79, 79, 476, 79, 79, 79, 477, 79,
79, 560, 560, 79, 560, 560, 79, 79, 79, 79,
79, 560, 478, 79, 560, 79, 79, 479, 79, 79,
79, 560, 79, 79, 79, 79, 560, 560, 79, 79,
483, 560, 79, 79, 481, 79, 560, 482, 79, 79,
79, 79, 79, 560, 484, 79, 489, 79, 79, 560,
485, 560, 79, 79, 79, 79, 79, 79, 486, 79,
79, 79, 79, 79, 560, 560, 79, 487, 488, 79,
79, 79, 79, 79, 79, 79, 560, 79, 560, 79,
79, 79, 79, 560, 79, 560, 79, 79, 79, 79,
79, 79, 490, 560, 79, 79, 491, 79, 560, 560,
79, 79, 493, 560, 79, 560, 560, 79, 560, 560,
79, 492, 79, 494, 79, 560, 560, 79, 79, 495,
79, 79, 560, 560, 560, 79, 79, 79, 79, 79,
496, 79, 560, 79, 79, 79, 79, 79, 560, 79,
560, 497, 79, 498, 560, 79, 79, 79, 560, 560,
79, 560, 560, 79, 79, 79, 79, 79, 79, 560,
79, 79, 499, 79, 79, 502, 79, 560, 79, 560,
79, 79, 79, 79, 79, 500, 560, 501, 560, 560,
79, 79, 560, 79, 560, 79, 504, 79, 79, 79,
79, 79, 503, 79, 560, 79, 79, 79, 560, 79,
79, 560, 79, 560, 79, 560, 79, 79, 79, 506,
79, 505, 560, 79, 79, 560, 79, 79, 560, 560,
560, 79, 509, 79, 79, 79, 508, 79, 79, 79,
79, 79, 79, 79, 560, 79, 511, 79, 79, 79,
560, 79, 79, 510, 79, 79, 79, 560, 79, 79,
513, 79, 79, 512, 79, 79, 79, 514, 79, 79,
79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
79, 79, 79, 560, 560, 79, 79, 79, 79, 515,
560, 79, 79, 79, 79, 516, 79, 79, 79, 79,
560, 79, 79, 518, 560, 79, 79, 79, 79, 79,
517, 79, 560, 79, 79, 79, 560, 79, 79, 560,
520, 560, 79, 79, 79, 79, 79, 560, 79, 519,
79, 79, 521, 79, 522, 79, 79, 560, 560, 79,
79, 560, 560, 79, 79, 560, 79, 79, 79, 79,
79, 79, 79, 79, 79, 524, 79, 523, 560, 79,
79, 79, 79, 79, 560, 79, 79, 79, 79, 79,
79, 79, 560, 79, 560, 525, 79, 560, 527, 79,
79, 79, 79, 79, 79, 560, 526, 79, 528, 79,
79, 79, 79, 560, 79, 560, 79, 79, 79, 79,
79, 79, 79, 560, 79, 79, 529, 79, 560, 79,
79, 560, 560, 560, 79, 560, 530, 79, 79, 79,
560, 79, 79, 560, 531, 79, 560, 560, 79, 532,
79, 79, 79, 560, 79, 79, 79, 79, 560, 535,
79, 533, 79, 560, 79, 79, 560, 79, 79, 79,
534, 79, 79, 79, 560, 79, 560, 79, 79, 79,
560, 79, 79, 536, 79, 560, 79, 538, 79, 79,
79, 560, 79, 560, 537, 79, 560, 560, 79, 79,
560, 539, 560, 79, 560, 560, 79, 79, 560, 79,
79, 79, 540, 560, 79, 560, 560, 560, 79, 79,
79, 560, 79, 79, 541, 79, 79, 560, 79, 79,
79, 543, 560, 79, 542, 560, 79, 544, 79, 79,
79, 79, 560, 79, 79, 560, 79, 545, 79, 79,
560, 79, 560, 79, 79, 546, 79, 79, 79, 79,
560, 79, 560, 547, 79, 560, 560, 548, 79, 560,
79, 79, 79, 549, 79, 79, 79, 550, 560, 79,
560, 79, 79, 79, 560, 79, 79, 551, 560, 79,
79, 79, 79, 79, 79, 79, 560, 79, 79, 552,
560, 79, 79, 560, 560, 560, 79, 79, 79, 79,
79, 560, 79, 560, 79, 79, 79, 79, 553, 560,
79, 79, 560, 79, 560, 560, 79, 554, 560, 560,
79, 79, 79, 560, 79, 79, 560, 79, 560, 79,
79, 79, 79, 79, 79, 79, 560, 79, 79, 79,
560, 560, 79, 560, 79, 560, 79, 560, 79, 79,
79, 560, 79, 79, 555, 79, 79, 79, 560, 556,
79, 79, 560, 79, 560, 79, 79, 79, 560, 79,
79, 560, 79, 560, 79, 557, 79, 79, 558, 79,
79, 79, 559, 79, 560, 560, 560, 79, 79, 560,
79, 560, 79, 560, 79, 79, 79, 79, 560, 560,
79, 560, 560, 79, 46, 46, 46, 46, 46, 46,
49, 49, 49, 49, 49, 49, 68, 68, 68, 68,
69, 69, 69, 69, 69, 72, 72, 72, 72, 72,
79, 79, 79, 79, 135, 135, 135, 135, 135, 138,
138, 138, 138, 138, 143, 143, 143, 149, 149, 149,
149, 218, 218, 218, 218, 286, 560, 286, 9, 560,
560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
560, 560, 560, 560, 560, 560, 560, 560, 560
} ;
static yyconst flex_int16_t yy_chk[3260] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
3, 4, 11, 571, 11, 19, 19, 3, 4, 7,
7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
7, 7, 7, 7, 7, 7, 7, 7, 7, 14,
18, 20, 20, 52, 18, 52, 59, 54, 69, 446,
59, 65, 67, 145, 67, 14, 22, 71, 71, 22,
22, 22, 22, 54, 69, 22, 74, 74, 22, 134,
22, 134, 22, 215, 22, 23, 145, 65, 23, 23,
23, 23, 24, 403, 23, 24, 24, 23, 347, 23,
24, 23, 25, 23, 24, 25, 215, 23, 24, 25,
216, 24, 135, 27, 25, 25, 23, 347, 25, 143,
23, 25, 27, 23, 26, 26, 27, 28, 135, 27,
28, 28, 27, 26, 402, 29, 138, 26, 72, 28,
26, 77, 77, 28, 29, 30, 28, 30, 29, 78,
78, 29, 62, 30, 30, 31, 31, 41, 30, 402,
41, 30, 137, 137, 31, 32, 32, 58, 31, 41,
32, 31, 33, 41, 32, 33, 41, 55, 32, 48,
33, 32, 287, 34, 33, 33, 34, 17, 33, 15,
35, 33, 35, 287, 36, 34, 34, 36, 9, 34,
37, 35, 34, 37, 37, 35, 36, 36, 35, 38,
36, 6, 37, 36, 37, 5, 37, 39, 38, 37,
146, 146, 38, 0, 38, 38, 39, 40, 0, 38,
39, 147, 147, 39, 0, 42, 40, 39, 0, 42,
40, 40, 43, 40, 42, 43, 79, 0, 42, 0,
43, 42, 148, 148, 43, 79, 288, 288, 43, 79,
0, 43, 79, 80, 289, 289, 80, 80, 80, 80,
80, 80, 80, 80, 80, 80, 81, 80, 82, 80,
217, 80, 0, 217, 217, 81, 0, 82, 0, 81,
83, 82, 81, 83, 82, 348, 348, 0, 82, 83,
0, 84, 85, 83, 84, 0, 83, 447, 447, 0,
84, 85, 86, 0, 84, 85, 85, 84, 85, 86,
87, 86, 195, 480, 480, 86, 0, 195, 86, 87,
88, 195, 89, 87, 195, 87, 87, 195, 90, 88,
91, 89, 89, 88, 88, 89, 88, 90, 89, 91,
0, 90, 0, 91, 90, 0, 91, 92, 0, 92,
0, 0, 0, 93, 92, 0, 92, 0, 92, 94,
92, 92, 93, 92, 92, 95, 93, 0, 94, 93,
96, 0, 94, 97, 95, 94, 97, 96, 95, 96,
95, 95, 0, 96, 98, 97, 96, 98, 99, 97,
101, 0, 97, 100, 100, 0, 98, 99, 99, 102,
98, 99, 100, 98, 99, 101, 100, 0, 102, 100,
102, 104, 102, 0, 101, 102, 103, 103, 101, 0,
104, 101, 105, 106, 104, 105, 103, 104, 103, 0,
103, 104, 106, 103, 105, 107, 106, 106, 105, 106,
108, 105, 0, 0, 107, 0, 109, 0, 107, 108,
0, 107, 110, 108, 107, 109, 108, 0, 0, 109,
0, 110, 109, 111, 114, 110, 110, 114, 110, 112,
0, 111, 111, 114, 113, 0, 111, 114, 112, 111,
114, 0, 112, 113, 112, 112, 115, 113, 113, 0,
113, 116, 0, 0, 0, 115, 117, 0, 0, 115,
116, 115, 115, 0, 116, 117, 116, 116, 119, 117,
117, 0, 117, 118, 118, 0, 0, 119, 120, 0,
0, 119, 118, 120, 119, 0, 118, 120, 120, 118,
120, 121, 121, 120, 122, 0, 123, 122, 123, 0,
0, 121, 0, 124, 0, 121, 122, 123, 121, 125,
122, 123, 124, 122, 123, 126, 124, 124, 125, 124,
0, 0, 125, 0, 126, 125, 126, 127, 126, 127,
129, 126, 0, 0, 127, 128, 128, 129, 127, 129,
130, 130, 127, 129, 128, 127, 129, 0, 128, 130,
131, 128, 132, 130, 0, 0, 130, 0, 0, 131,
0, 132, 0, 131, 0, 132, 131, 0, 132, 149,
0, 0, 149, 149, 149, 149, 0, 150, 149, 151,
0, 149, 0, 149, 0, 149, 150, 149, 151, 0,
150, 152, 151, 150, 0, 151, 0, 153, 151, 0,
152, 0, 154, 154, 152, 153, 153, 152, 0, 0,
153, 154, 155, 153, 156, 154, 0, 0, 154, 0,
0, 155, 155, 156, 0, 155, 0, 156, 155, 158,
156, 157, 157, 0, 158, 0, 0, 159, 158, 159,
157, 0, 158, 0, 157, 158, 159, 157, 160, 163,
159, 161, 159, 159, 161, 0, 0, 160, 163, 162,
162, 160, 163, 161, 160, 163, 0, 161, 162, 0,
161, 0, 162, 164, 164, 162, 165, 0, 0, 0,
0, 165, 0, 164, 0, 165, 166, 164, 167, 165,
164, 0, 165, 0, 166, 166, 0, 167, 167, 166,
0, 167, 166, 169, 167, 168, 168, 0, 0, 0,
0, 170, 169, 0, 168, 0, 169, 169, 168, 169,
170, 168, 171, 171, 170, 172, 170, 170, 0, 0,
0, 173, 171, 174, 172, 174, 171, 0, 172, 171,
173, 172, 174, 175, 173, 0, 174, 173, 176, 174,
0, 0, 175, 175, 177, 176, 175, 176, 0, 175,
178, 176, 0, 177, 176, 0, 179, 177, 179, 178,
177, 180, 182, 178, 180, 179, 178, 181, 0, 179,
180, 182, 179, 183, 180, 182, 181, 180, 182, 184,
181, 0, 181, 181, 0, 0, 185, 0, 183, 0,
0, 0, 0, 0, 184, 185, 186, 183, 0, 185,
188, 183, 185, 184, 183, 186, 0, 184, 0, 186,
184, 186, 186, 187, 187, 188, 0, 0, 0, 0,
188, 0, 187, 189, 188, 0, 187, 0, 188, 187,
0, 188, 189, 189, 190, 190, 189, 191, 0, 189,
191, 0, 0, 190, 0, 0, 192, 190, 0, 191,
190, 0, 0, 191, 193, 192, 191, 192, 193, 192,
0, 0, 192, 193, 199, 196, 194, 193, 196, 193,
193, 194, 0, 199, 196, 194, 0, 199, 196, 194,
199, 196, 194, 197, 197, 0, 0, 0, 197, 0,
0, 198, 197, 0, 0, 0, 197, 200, 198, 197,
198, 0, 200, 201, 198, 202, 200, 198, 0, 0,
200, 0, 201, 200, 202, 203, 201, 204, 202, 201,
202, 202, 0, 203, 203, 0, 204, 0, 203, 0,
204, 203, 204, 204, 205, 205, 206, 206, 0, 0,
0, 0, 0, 205, 207, 206, 208, 205, 0, 206,
205, 0, 206, 207, 207, 208, 209, 207, 208, 208,
207, 208, 208, 0, 210, 209, 211, 0, 213, 209,
209, 0, 209, 210, 0, 211, 0, 210, 212, 211,
210, 212, 211, 213, 0, 0, 0, 212, 0, 0,
0, 212, 213, 0, 212, 0, 213, 0, 0, 213,
218, 0, 0, 218, 218, 218, 218, 0, 0, 218,
0, 219, 218, 220, 218, 0, 218, 0, 218, 219,
219, 220, 220, 0, 219, 222, 220, 219, 0, 220,
221, 221, 0, 0, 222, 223, 224, 0, 222, 221,
0, 222, 0, 221, 223, 224, 221, 0, 223, 224,
0, 223, 224, 225, 225, 226, 0, 0, 0, 0,
226, 0, 227, 225, 226, 227, 0, 225, 226, 0,
225, 226, 0, 229, 227, 228, 228, 0, 227, 0,
0, 227, 229, 230, 228, 0, 229, 0, 228, 229,
0, 228, 230, 231, 231, 232, 230, 0, 230, 230,
233, 234, 231, 233, 232, 0, 231, 0, 232, 231,
234, 232, 233, 235, 234, 236, 233, 234, 0, 233,
0, 238, 235, 0, 236, 0, 235, 239, 236, 235,
238, 236, 237, 237, 238, 0, 239, 238, 240, 0,
239, 237, 239, 239, 241, 237, 0, 240, 237, 240,
0, 240, 0, 241, 240, 242, 242, 241, 0, 241,
241, 243, 0, 244, 242, 246, 0, 0, 242, 245,
243, 242, 244, 0, 243, 0, 244, 243, 245, 244,
246, 248, 245, 0, 245, 245, 247, 0, 249, 246,
248, 249, 0, 246, 248, 247, 246, 248, 0, 247,
249, 247, 247, 0, 249, 250, 250, 249, 0, 0,
251, 251, 0, 0, 250, 252, 253, 0, 250, 251,
0, 250, 252, 251, 252, 253, 251, 254, 252, 253,
0, 252, 253, 255, 0, 256, 254, 256, 0, 0,
254, 254, 255, 254, 256, 257, 255, 255, 256, 255,
258, 256, 257, 0, 257, 259, 260, 0, 257, 258,
0, 257, 0, 258, 259, 260, 258, 261, 259, 260,
0, 259, 260, 262, 262, 263, 261, 0, 0, 0,
261, 0, 262, 261, 263, 0, 262, 264, 263, 262,
263, 263, 264, 265, 265, 0, 264, 0, 266, 266,
264, 0, 265, 264, 267, 0, 265, 266, 0, 265,
268, 266, 269, 267, 266, 269, 270, 267, 0, 268,
267, 270, 0, 268, 269, 270, 268, 271, 269, 270,
0, 269, 270, 272, 0, 273, 271, 0, 0, 0,
271, 271, 272, 271, 273, 273, 272, 275, 273, 272,
0, 273, 274, 274, 0, 0, 275, 276, 277, 0,
275, 274, 0, 275, 0, 274, 276, 277, 274, 278,
276, 277, 0, 276, 277, 279, 0, 280, 278, 0,
0, 0, 278, 281, 279, 278, 280, 284, 279, 279,
280, 279, 281, 280, 282, 282, 281, 0, 0, 281,
283, 0, 284, 282, 0, 0, 0, 282, 0, 283,
282, 284, 0, 283, 290, 284, 283, 0, 284, 285,
285, 290, 0, 290, 291, 291, 0, 290, 285, 292,
290, 0, 285, 291, 0, 285, 0, 291, 292, 0,
291, 293, 292, 0, 293, 292, 294, 294, 0, 0,
293, 0, 0, 0, 293, 294, 0, 293, 295, 294,
0, 295, 294, 296, 296, 0, 297, 295, 0, 296,
0, 295, 0, 296, 295, 297, 298, 296, 0, 297,
296, 0, 297, 298, 0, 298, 299, 299, 0, 298,
300, 300, 298, 0, 0, 299, 301, 0, 0, 299,
300, 301, 299, 303, 300, 301, 302, 300, 0, 301,
0, 0, 301, 0, 0, 302, 304, 0, 303, 302,
0, 302, 302, 0, 305, 304, 306, 303, 0, 304,
304, 303, 304, 305, 303, 306, 307, 305, 308, 306,
305, 307, 306, 308, 0, 307, 0, 308, 309, 307,
311, 308, 307, 309, 308, 310, 0, 309, 310, 311,
312, 309, 0, 311, 309, 311, 311, 310, 313, 312,
0, 310, 0, 312, 310, 0, 312, 313, 314, 315,
0, 313, 0, 315, 313, 314, 0, 314, 315, 316,
317, 314, 315, 0, 314, 315, 0, 317, 316, 317,
318, 0, 316, 317, 316, 316, 317, 318, 321, 318,
319, 319, 0, 318, 0, 0, 318, 321, 320, 319,
0, 321, 0, 319, 321, 0, 319, 320, 322, 320,
0, 320, 0, 322, 320, 0, 0, 322, 323, 323,
0, 322, 0, 0, 322, 0, 0, 323, 324, 324,
325, 323, 0, 0, 323, 325, 326, 324, 0, 325,
0, 324, 0, 325, 324, 326, 325, 327, 328, 326,
0, 326, 326, 328, 0, 0, 327, 328, 329, 330,
327, 328, 0, 327, 328, 0, 0, 329, 330, 331,
0, 329, 330, 0, 329, 330, 0, 329, 331, 332,
332, 0, 331, 334, 334, 331, 0, 0, 332, 333,
333, 0, 332, 334, 335, 332, 0, 334, 333, 336,
334, 0, 333, 335, 336, 333, 0, 335, 336, 337,
335, 338, 336, 0, 0, 336, 0, 0, 337, 0,
338, 339, 337, 337, 338, 337, 341, 338, 0, 339,
339, 340, 340, 0, 339, 341, 0, 339, 0, 341,
340, 0, 341, 343, 340, 342, 342, 340, 0, 0,
0, 344, 343, 345, 342, 0, 343, 0, 342, 343,
344, 342, 345, 0, 344, 346, 345, 344, 0, 345,
345, 349, 346, 350, 346, 0, 0, 0, 346, 351,
349, 346, 350, 0, 349, 0, 350, 349, 351, 350,
352, 0, 351, 0, 351, 351, 353, 0, 354, 352,
0, 0, 0, 352, 352, 353, 352, 354, 355, 353,
0, 354, 353, 356, 354, 0, 0, 355, 357, 0,
0, 355, 356, 355, 355, 0, 356, 357, 358, 356,
0, 357, 0, 357, 357, 360, 359, 358, 360, 0,
0, 358, 0, 358, 358, 359, 361, 360, 0, 359,
0, 360, 359, 0, 360, 361, 0, 361, 0, 361,
362, 362, 361, 363, 0, 362, 363, 0, 0, 362,
0, 0, 364, 362, 363, 363, 362, 364, 0, 363,
0, 364, 363, 365, 365, 364, 0, 0, 364, 367,
0, 366, 365, 0, 0, 0, 365, 368, 367, 365,
366, 366, 367, 0, 366, 367, 368, 366, 369, 370,
368, 0, 368, 368, 0, 0, 0, 369, 370, 371,
371, 369, 370, 369, 369, 370, 0, 373, 371, 372,
0, 0, 371, 0, 372, 371, 373, 374, 372, 0,
373, 0, 372, 373, 0, 372, 374, 374, 375, 375,
374, 0, 0, 374, 376, 376, 377, 375, 0, 378,
0, 375, 378, 376, 375, 377, 0, 376, 379, 377,
376, 378, 377, 380, 380, 378, 381, 379, 378, 379,
0, 379, 0, 380, 379, 381, 382, 380, 383, 381,
380, 381, 381, 0, 384, 382, 0, 383, 0, 382,
0, 383, 382, 384, 383, 385, 386, 384, 0, 383,
384, 387, 0, 0, 385, 386, 386, 0, 385, 386,
387, 385, 386, 0, 387, 388, 388, 387, 389, 0,
0, 0, 0, 0, 390, 388, 0, 389, 0, 388,
0, 389, 388, 390, 389, 391, 391, 390, 0, 0,
390, 392, 392, 393, 391, 0, 0, 0, 391, 394,
392, 391, 393, 393, 392, 395, 393, 392, 394, 393,
396, 397, 394, 397, 395, 394, 398, 0, 395, 396,
397, 395, 399, 396, 397, 398, 396, 397, 404, 398,
0, 399, 398, 400, 400, 399, 406, 404, 399, 401,
401, 404, 400, 404, 404, 405, 400, 0, 401, 400,
407, 406, 401, 0, 405, 401, 408, 408, 405, 407,
406, 405, 409, 407, 406, 408, 407, 406, 410, 408,
411, 409, 408, 0, 0, 409, 0, 410, 409, 411,
412, 410, 0, 411, 410, 411, 411, 0, 413, 412,
414, 0, 0, 412, 0, 412, 412, 413, 415, 414,
414, 413, 0, 414, 413, 0, 414, 415, 0, 415,
417, 415, 416, 416, 415, 0, 0, 0, 418, 417,
417, 416, 0, 417, 419, 416, 417, 418, 416, 420,
421, 418, 420, 419, 418, 422, 0, 419, 420, 421,
419, 0, 420, 421, 422, 420, 421, 423, 422, 0,
421, 422, 424, 0, 0, 0, 423, 0, 425, 0,
423, 424, 0, 423, 426, 424, 424, 425, 424, 0,
427, 425, 426, 426, 425, 428, 428, 426, 427, 427,
426, 0, 429, 427, 430, 428, 427, 430, 0, 428,
0, 429, 428, 429, 432, 429, 430, 0, 429, 434,
430, 431, 431, 430, 433, 0, 0, 433, 434, 432,
431, 0, 434, 0, 431, 434, 433, 431, 432, 435,
433, 0, 432, 433, 439, 432, 437, 437, 435, 436,
436, 0, 435, 0, 0, 435, 437, 438, 436, 439,
437, 0, 436, 437, 0, 436, 438, 440, 439, 442,
438, 0, 439, 438, 0, 439, 440, 441, 442, 0,
440, 0, 442, 440, 441, 442, 441, 443, 443, 444,
441, 0, 0, 441, 0, 0, 443, 448, 444, 445,
443, 0, 444, 443, 0, 444, 448, 445, 445, 449,
448, 0, 445, 448, 450, 445, 0, 0, 449, 451,
451, 0, 449, 450, 449, 449, 0, 450, 451, 452,
450, 453, 451, 0, 452, 451, 457, 454, 452, 0,
453, 0, 452, 455, 453, 452, 454, 453, 454, 456,
454, 457, 455, 454, 0, 0, 455, 455, 456, 455,
457, 458, 456, 459, 457, 456, 0, 457, 0, 460,
458, 461, 459, 0, 458, 0, 459, 458, 460, 459,
461, 462, 460, 0, 461, 460, 461, 461, 0, 0,
462, 463, 463, 0, 462, 0, 0, 462, 0, 0,
463, 462, 464, 464, 463, 0, 0, 463, 465, 465,
466, 464, 0, 0, 0, 464, 467, 465, 464, 466,
466, 465, 0, 466, 465, 467, 466, 468, 0, 467,
0, 467, 467, 469, 0, 469, 468, 470, 0, 0,
468, 0, 0, 468, 469, 471, 470, 472, 469, 0,
470, 469, 470, 470, 471, 475, 472, 0, 471, 0,
472, 471, 474, 472, 473, 473, 0, 474, 0, 0,
475, 474, 0, 473, 0, 474, 477, 473, 474, 475,
473, 476, 476, 475, 0, 477, 475, 478, 0, 477,
476, 0, 477, 0, 476, 0, 478, 476, 479, 479,
478, 478, 0, 478, 482, 0, 481, 479, 0, 0,
0, 479, 483, 482, 479, 481, 481, 482, 485, 481,
482, 483, 481, 484, 0, 483, 486, 485, 483, 487,
0, 485, 484, 484, 485, 488, 484, 0, 487, 484,
489, 486, 487, 487, 488, 487, 490, 490, 488, 489,
486, 488, 491, 489, 486, 490, 489, 486, 492, 490,
493, 491, 490, 0, 0, 491, 494, 492, 491, 493,
0, 492, 495, 493, 492, 494, 493, 496, 497, 494,
0, 495, 494, 497, 0, 495, 496, 497, 495, 498,
496, 497, 0, 496, 497, 499, 0, 500, 498, 0,
499, 0, 498, 501, 499, 498, 500, 0, 499, 498,
500, 499, 501, 500, 502, 503, 501, 0, 0, 501,
504, 0, 0, 502, 503, 0, 506, 502, 503, 504,
502, 503, 505, 504, 508, 506, 504, 505, 0, 506,
509, 505, 506, 508, 0, 505, 510, 508, 505, 509,
508, 511, 0, 509, 0, 510, 509, 0, 512, 510,
511, 512, 510, 513, 511, 0, 511, 511, 513, 514,
512, 515, 513, 0, 512, 0, 513, 512, 514, 513,
515, 516, 514, 0, 515, 514, 515, 515, 0, 517,
516, 0, 0, 0, 516, 0, 516, 516, 517, 518,
0, 519, 517, 0, 517, 517, 0, 0, 518, 518,
519, 520, 518, 0, 519, 518, 521, 519, 0, 522,
520, 520, 522, 0, 520, 521, 0, 520, 525, 521,
521, 522, 521, 523, 0, 522, 0, 525, 522, 524,
0, 525, 523, 523, 525, 0, 523, 526, 524, 523,
526, 0, 524, 0, 524, 524, 0, 0, 527, 526,
0, 527, 0, 526, 0, 0, 526, 527, 0, 528,
529, 527, 528, 0, 527, 0, 0, 0, 528, 529,
530, 0, 528, 529, 529, 528, 529, 0, 532, 530,
531, 531, 0, 530, 530, 0, 530, 532, 533, 531,
534, 532, 0, 531, 532, 0, 531, 533, 535, 534,
0, 533, 0, 534, 533, 534, 534, 535, 536, 537,
0, 535, 0, 535, 535, 0, 0, 536, 537, 0,
538, 536, 537, 538, 536, 537, 539, 539, 0, 538,
0, 541, 540, 538, 0, 539, 538, 540, 0, 539,
541, 540, 539, 542, 541, 540, 0, 541, 540, 543,
0, 544, 542, 0, 0, 0, 542, 545, 543, 542,
544, 0, 543, 0, 544, 543, 545, 544, 546, 0,
545, 546, 0, 545, 0, 0, 547, 547, 0, 0,
546, 548, 549, 0, 546, 547, 0, 546, 0, 547,
548, 549, 547, 550, 548, 549, 0, 548, 549, 551,
0, 0, 550, 0, 552, 0, 550, 0, 551, 550,
553, 0, 551, 552, 551, 551, 554, 552, 0, 553,
552, 555, 0, 553, 0, 554, 553, 557, 0, 554,
555, 0, 554, 0, 555, 555, 557, 555, 556, 556,
557, 558, 558, 557, 0, 0, 0, 559, 556, 0,
558, 0, 556, 0, 558, 556, 559, 558, 0, 0,
559, 0, 0, 559, 561, 561, 561, 561, 561, 561,
562, 562, 562, 562, 562, 562, 563, 563, 563, 563,
564, 564, 564, 564, 564, 565, 565, 565, 565, 565,
566, 566, 566, 566, 567, 567, 567, 567, 567, 568,
568, 568, 568, 568, 569, 569, 569, 570, 570, 570,
570, 572, 572, 572, 572, 573, 0, 573, 560, 560,
560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
560, 560, 560, 560, 560, 560, 560, 560, 560
} ;
/* The intent behind this definition is that it'll catch
* any uses of REJECT which flex missed.
*/
#define REJECT reject_used_but_not_detected
#define yymore() yymore_used_but_not_detected
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
/**
* @file yang.l
* @author Pavol Vican
* @brief YANG parser for libyang (flex grammar)
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
* This source code is licensed under BSD 3-Clause License (the "License").
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/BSD-3-Clause
*/
#define YY_NO_INPUT 1
#include "parser_yang.h"
#include "parser_yang_bis.h"
#define YY_USER_ACTION yylloc->first_line = yylloc->last_line = 0;\
yylloc->first_column = (yylloc->last_column == 1) ? yylloc->last_column: yylloc->last_column +1;\
yylloc->last_column = yylloc->first_column + yyleng - 1;
#define INITIAL 0
#define COMMENT1 1
#define COMMENT2 2
#define PATH 3
#ifndef YY_NO_UNISTD_H
/* Special case for "unistd.h", since it is non-ANSI. We include it way
* down here because we want the user's section 1 to have been scanned first.
* The user has a chance to override it with an option.
*/
#include <unistd.h>
#endif
#ifndef YY_EXTRA_TYPE
#define YY_EXTRA_TYPE void *
#endif
/* Holds the entire state of the reentrant scanner. */
struct yyguts_t
{
/* User-defined. Not touched by flex. */
YY_EXTRA_TYPE yyextra_r;
/* The rest are the same as the globals declared in the non-reentrant scanner. */
FILE *yyin_r, *yyout_r;
size_t yy_buffer_stack_top; /**< index of top of stack. */
size_t yy_buffer_stack_max; /**< capacity of stack. */
YY_BUFFER_STATE * yy_buffer_stack; /**< Stack as an array. */
char yy_hold_char;
yy_size_t yy_n_chars;
yy_size_t yyleng_r;
char *yy_c_buf_p;
int yy_init;
int yy_start;
int yy_did_buffer_switch_on_eof;
int yy_start_stack_ptr;
int yy_start_stack_depth;
int *yy_start_stack;
yy_state_type yy_last_accepting_state;
char* yy_last_accepting_cpos;
int yylineno_r;
int yy_flex_debug_r;
char *yytext_r;
int yy_more_flag;
int yy_more_len;
YYSTYPE * yylval_r;
YYLTYPE * yylloc_r;
}; /* end struct yyguts_t */
static int yy_init_globals (yyscan_t yyscanner );
/* This must go here because YYSTYPE and YYLTYPE are included
* from bison output in section 1.*/
# define yylval yyg->yylval_r
# define yylloc yyg->yylloc_r
int yylex_init (yyscan_t* scanner);
int yylex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
/* Accessor methods to globals.
These are made visible to non-reentrant scanners for convenience. */
int yylex_destroy (yyscan_t yyscanner );
int yyget_debug (yyscan_t yyscanner );
void yyset_debug (int debug_flag ,yyscan_t yyscanner );
YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner );
void yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
FILE *yyget_in (yyscan_t yyscanner );
void yyset_in (FILE * _in_str ,yyscan_t yyscanner );
FILE *yyget_out (yyscan_t yyscanner );
void yyset_out (FILE * _out_str ,yyscan_t yyscanner );
yy_size_t yyget_leng (yyscan_t yyscanner );
char *yyget_text (yyscan_t yyscanner );
int yyget_lineno (yyscan_t yyscanner );
void yyset_lineno (int _line_number ,yyscan_t yyscanner );
int yyget_column (yyscan_t yyscanner );
void yyset_column (int _column_no ,yyscan_t yyscanner );
YYSTYPE * yyget_lval (yyscan_t yyscanner );
void yyset_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );
YYLTYPE *yyget_lloc (yyscan_t yyscanner );
void yyset_lloc (YYLTYPE * yylloc_param ,yyscan_t yyscanner );
/* Macros after this point can all be overridden by user definitions in
* section 1.
*/
#ifndef YY_SKIP_YYWRAP
#ifdef __cplusplus
extern "C" int yywrap (yyscan_t yyscanner );
#else
extern int yywrap (yyscan_t yyscanner );
#endif
#endif
#ifndef YY_NO_UNPUT
#endif
#ifndef yytext_ptr
static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
#endif
#ifdef YY_NEED_STRLEN
static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
#endif
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput (yyscan_t yyscanner );
#else
static int input (yyscan_t yyscanner );
#endif
#endif
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#ifdef __ia64__
/* On IA-64, the buffer size is 16k, not 8k */
#define YY_READ_BUF_SIZE 16384
#else
#define YY_READ_BUF_SIZE 8192
#endif /* __ia64__ */
#endif
/* Copy whatever the last rule matched to the standard output. */
#ifndef ECHO
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
* is returned in "result".
*/
#ifndef YY_INPUT
#define YY_INPUT(buf,result,max_size) \
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
size_t n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
if ( c == '\n' ) \
buf[n++] = (char) c; \
if ( c == EOF && ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
result = n; \
} \
else \
{ \
errno=0; \
while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
{ \
if( errno != EINTR) \
{ \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
break; \
} \
errno=0; \
clearerr(yyin); \
} \
}\
\
#endif
/* No semi-colon after return; correct usage is to write "yyterminate();" -
* we don't want an extra ';' after the "return" because that will cause
* some compilers to complain about unreachable statements.
*/
#ifndef yyterminate
#define yyterminate() return YY_NULL
#endif
/* Number of entries by which start-condition stack grows. */
#ifndef YY_START_STACK_INCR
#define YY_START_STACK_INCR 25
#endif
/* Report a fatal error. */
#ifndef YY_FATAL_ERROR
#define YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner)
#endif
/* end tables serialization structures and prototypes */
/* Default declaration of generated scanner - a define so the user can
* easily add parameters.
*/
#ifndef YY_DECL
#define YY_DECL_IS_OURS 1
extern int yylex \
(YYSTYPE * yylval_param,YYLTYPE * yylloc_param ,yyscan_t yyscanner);
#define YY_DECL int yylex \
(YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner)
#endif /* !YY_DECL */
/* Code executed at the beginning of each rule, after yytext and yyleng
* have been set up.
*/
#ifndef YY_USER_ACTION
#define YY_USER_ACTION
#endif
/* Code executed at the end of each rule. */
#ifndef YY_BREAK
#define YY_BREAK /*LINTED*/break;
#endif
#define YY_RULE_SETUP \
YY_USER_ACTION
/** The main scanner function which does all the work.
*/
YY_DECL
{
yy_state_type yy_current_state;
char *yy_cp, *yy_bp;
int yy_act;
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
yylval = yylval_param;
yylloc = yylloc_param;
if ( !yyg->yy_init )
{
yyg->yy_init = 1;
#ifdef YY_USER_INIT
YY_USER_INIT;
#endif
if ( ! yyg->yy_start )
yyg->yy_start = 1; /* first start state */
if ( ! yyin )
yyin = stdin;
if ( ! yyout )
yyout = stdout;
if ( ! YY_CURRENT_BUFFER ) {
yyensure_buffer_stack (yyscanner);
YY_CURRENT_BUFFER_LVALUE =
yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
}
yy_load_buffer_state(yyscanner );
}
{
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
{
yy_cp = yyg->yy_c_buf_p;
/* Support of yytext. */
*yy_cp = yyg->yy_hold_char;
/* yy_bp points to the position in yy_ch_buf of the start of
* the current run.
*/
yy_bp = yy_cp;
yy_current_state = yyg->yy_start;
yy_match:
do
{
YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
if ( yy_accept[yy_current_state] )
{
yyg->yy_last_accepting_state = yy_current_state;
yyg->yy_last_accepting_cpos = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 561 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
++yy_cp;
}
while ( yy_base[yy_current_state] != 3209 );
yy_find_action:
yy_act = yy_accept[yy_current_state];
if ( yy_act == 0 )
{ /* have to back up */
yy_cp = yyg->yy_last_accepting_cpos;
yy_current_state = yyg->yy_last_accepting_state;
yy_act = yy_accept[yy_current_state];
}
YY_DO_BEFORE_ACTION;
do_action: /* This label is used only to access EOF actions. */
switch ( yy_act )
{ /* beginning of action switch */
case 0: /* must back up */
/* undo the effects of YY_DO_BEFORE_ACTION */
*yy_cp = yyg->yy_hold_char;
yy_cp = yyg->yy_last_accepting_cpos;
yy_current_state = yyg->yy_last_accepting_state;
goto yy_find_action;
case 1:
YY_RULE_SETUP
{BEGIN COMMENT1; }
YY_BREAK
case 2:
case 3:
/* rule 3 can match eol */
YY_RULE_SETUP
YY_BREAK
case 4:
YY_RULE_SETUP
{BEGIN INITIAL; }
YY_BREAK
case 5:
YY_RULE_SETUP
{BEGIN COMMENT2;}
YY_BREAK
case 6:
YY_RULE_SETUP
YY_BREAK
case 7:
/* rule 7 can match eol */
YY_RULE_SETUP
{BEGIN INITIAL; return EOL; }
YY_BREAK
case 8:
YY_RULE_SETUP
{ return ANYXML_KEYWORD; }
YY_BREAK
case 9:
YY_RULE_SETUP
{ return ARGUMENT_KEYWORD; }
YY_BREAK
case 10:
YY_RULE_SETUP
{ BEGIN PATH; return AUGMENT_KEYWORD; }
YY_BREAK
case 11:
YY_RULE_SETUP
{ return BASE_KEYWORD; }
YY_BREAK
case 12:
YY_RULE_SETUP
{ return BELONGS_TO_KEYWORD; }
YY_BREAK
case 13:
YY_RULE_SETUP
{ return BIT_KEYWORD; }
YY_BREAK
case 14:
YY_RULE_SETUP
{ return CASE_KEYWORD; }
YY_BREAK
case 15:
YY_RULE_SETUP
{ return CHOICE_KEYWORD; }
YY_BREAK
case 16:
YY_RULE_SETUP
{ return CONFIG_KEYWORD; }
YY_BREAK
case 17:
YY_RULE_SETUP
{ return CONTACT_KEYWORD; }
YY_BREAK
case 18:
YY_RULE_SETUP
{ return CONTAINER_KEYWORD; }
YY_BREAK
case 19:
YY_RULE_SETUP
{ return DEFAULT_KEYWORD; }
YY_BREAK
case 20:
YY_RULE_SETUP
{ return DESCRIPTION_KEYWORD; }
YY_BREAK
case 21:
YY_RULE_SETUP
{ return ENUM_KEYWORD; }
YY_BREAK
case 22:
YY_RULE_SETUP
{ return ERROR_APP_TAG_KEYWORD; }
YY_BREAK
case 23:
YY_RULE_SETUP
{ return ERROR_MESSAGE_KEYWORD; }
YY_BREAK
case 24:
YY_RULE_SETUP
{ return EXTENSION_KEYWORD; }
YY_BREAK
case 25:
YY_RULE_SETUP
{ BEGIN PATH; return DEVIATION_KEYWORD; }
YY_BREAK
case 26:
YY_RULE_SETUP
{ return DEVIATE_KEYWORD; }
YY_BREAK
case 27:
YY_RULE_SETUP
{ return FEATURE_KEYWORD; }
YY_BREAK
case 28:
YY_RULE_SETUP
{ return FRACTION_DIGITS_KEYWORD; }
YY_BREAK
case 29:
YY_RULE_SETUP
{ return GROUPING_KEYWORD; }
YY_BREAK
case 30:
YY_RULE_SETUP
{ return IDENTITY_KEYWORD; }
YY_BREAK
case 31:
YY_RULE_SETUP
{ return IF_FEATURE_KEYWORD; }
YY_BREAK
case 32:
YY_RULE_SETUP
{ return IMPORT_KEYWORD; }
YY_BREAK
case 33:
YY_RULE_SETUP
{ return INCLUDE_KEYWORD; }
YY_BREAK
case 34:
YY_RULE_SETUP
{ return INPUT_KEYWORD; }
YY_BREAK
case 35:
YY_RULE_SETUP
{ return KEY_KEYWORD; }
YY_BREAK
case 36:
YY_RULE_SETUP
{ return LEAF_KEYWORD; }
YY_BREAK
case 37:
YY_RULE_SETUP
{ return LEAF_LIST_KEYWORD; }
YY_BREAK
case 38:
YY_RULE_SETUP
{ return LENGTH_KEYWORD; }
YY_BREAK
case 39:
YY_RULE_SETUP
{ return LIST_KEYWORD; }
YY_BREAK
case 40:
YY_RULE_SETUP
{ return MANDATORY_KEYWORD; }
YY_BREAK
case 41:
YY_RULE_SETUP
{ return MAX_ELEMENTS_KEYWORD; }
YY_BREAK
case 42:
YY_RULE_SETUP
{ return MIN_ELEMENTS_KEYWORD; }
YY_BREAK
case 43:
YY_RULE_SETUP
{ return MODULE_KEYWORD; }
YY_BREAK
case 44:
YY_RULE_SETUP
{ return MUST_KEYWORD; }
YY_BREAK
case 45:
YY_RULE_SETUP
{ return NAMESPACE_KEYWORD; }
YY_BREAK
case 46:
YY_RULE_SETUP
{ return NOTIFICATION_KEYWORD; }
YY_BREAK
case 47:
YY_RULE_SETUP
{ return ORDERED_BY_KEYWORD; }
YY_BREAK
case 48:
YY_RULE_SETUP
{ return ORGANIZATION_KEYWORD; }
YY_BREAK
case 49:
YY_RULE_SETUP
{ return OUTPUT_KEYWORD; }
YY_BREAK
case 50:
YY_RULE_SETUP
{ BEGIN PATH; return PATH_KEYWORD; }
YY_BREAK
case 51:
YY_RULE_SETUP
{ return PATTERN_KEYWORD; }
YY_BREAK
case 52:
YY_RULE_SETUP
{ return POSITION_KEYWORD; }
YY_BREAK
case 53:
YY_RULE_SETUP
{ return PREFIX_KEYWORD; }
YY_BREAK
case 54:
YY_RULE_SETUP
{ return PRESENCE_KEYWORD; }
YY_BREAK
case 55:
YY_RULE_SETUP
{ return RANGE_KEYWORD; }
YY_BREAK
case 56:
YY_RULE_SETUP
{ return REFERENCE_KEYWORD; }
YY_BREAK
case 57:
YY_RULE_SETUP
{ BEGIN PATH; return REFINE_KEYWORD; }
YY_BREAK
case 58:
YY_RULE_SETUP
{ return REQUIRE_INSTANCE_KEYWORD; }
YY_BREAK
case 59:
YY_RULE_SETUP
{ return REVISION_KEYWORD; }
YY_BREAK
case 60:
YY_RULE_SETUP
{ return REVISION_DATE_KEYWORD; }
YY_BREAK
case 61:
YY_RULE_SETUP
{ return RPC_KEYWORD; }
YY_BREAK
case 62:
YY_RULE_SETUP
{ return STATUS_KEYWORD; }
YY_BREAK
case 63:
YY_RULE_SETUP
{ return SUBMODULE_KEYWORD; }
YY_BREAK
case 64:
YY_RULE_SETUP
{ return TYPE_KEYWORD; }
YY_BREAK
case 65:
YY_RULE_SETUP
{ return TYPEDEF_KEYWORD; }
YY_BREAK
case 66:
YY_RULE_SETUP
{ BEGIN PATH; return UNIQUE_KEYWORD; }
YY_BREAK
case 67:
YY_RULE_SETUP
{ return UNITS_KEYWORD; }
YY_BREAK
case 68:
YY_RULE_SETUP
{ return USES_KEYWORD; }
YY_BREAK
case 69:
YY_RULE_SETUP
{ return VALUE_KEYWORD; }
YY_BREAK
case 70:
YY_RULE_SETUP
{ return WHEN_KEYWORD; }
YY_BREAK
case 71:
YY_RULE_SETUP
{ return YANG_VERSION_KEYWORD; }
YY_BREAK
case 72:
YY_RULE_SETUP
{ return YIN_ELEMENT_KEYWORD; }
YY_BREAK
case 73:
YY_RULE_SETUP
{ return ADD_KEYWORD; }
YY_BREAK
case 74:
YY_RULE_SETUP
{ return CURRENT_KEYWORD; }
YY_BREAK
case 75:
YY_RULE_SETUP
{ return CURRENT_KEYWORD; }
YY_BREAK
case 76:
YY_RULE_SETUP
{ return DELETE_KEYWORD; }
YY_BREAK
case 77:
YY_RULE_SETUP
{ return DEPRECATED_KEYWORD; }
YY_BREAK
case 78:
YY_RULE_SETUP
{ return FALSE_KEYWORD; }
YY_BREAK
case 79:
YY_RULE_SETUP
{ return NOT_SUPPORTED_KEYWORD; }
YY_BREAK
case 80:
YY_RULE_SETUP
{ return OBSOLETE_KEYWORD; }
YY_BREAK
case 81:
YY_RULE_SETUP
{ return REPLACE_KEYWORD; }
YY_BREAK
case 82:
YY_RULE_SETUP
{ return SYSTEM_KEYWORD; }
YY_BREAK
case 83:
YY_RULE_SETUP
{ return TRUE_KEYWORD; }
YY_BREAK
case 84:
YY_RULE_SETUP
{ return UNBOUNDED_KEYWORD; }
YY_BREAK
case 85:
YY_RULE_SETUP
{ return USER_KEYWORD; }
YY_BREAK
case 86:
case 87:
case 88:
case 89:
YY_RULE_SETUP
{ return yytext[0];} /* unsolved problem with concatenate string '+' */
YY_BREAK
case 90:
/* rule 90 can match eol */
YY_RULE_SETUP
{return STRING;}
YY_BREAK
case 91:
/* rule 91 can match eol */
YY_RULE_SETUP
{return STRING;}
YY_BREAK
case 92:
YY_RULE_SETUP
{return ZERO;}
YY_BREAK
case 93:
YY_RULE_SETUP
{return INTEGER;}
YY_BREAK
case 94:
YY_RULE_SETUP
{return NON_NEGATIVE_INTEGER;}
YY_BREAK
case 95:
case 96:
case 97:
case 98:
case 99:
case 100:
YY_RULE_SETUP
{return yytext[0];}
YY_BREAK
case 101:
YY_RULE_SETUP
{return DOUBLEDOT;}
YY_BREAK
case 102:
/* rule 102 can match eol */
YY_RULE_SETUP
{ yylloc->last_column = 1; return EOL;}
YY_BREAK
case 103:
YY_RULE_SETUP
{ return WHITESPACE;}
YY_BREAK
case 104:
case 105:
YY_RULE_SETUP
{BEGIN INITIAL; return yytext[0];}
YY_BREAK
case 106:
/* rule 106 can match eol */
YY_RULE_SETUP
{return STRING;}
YY_BREAK
case 107:
/* rule 107 can match eol */
YY_RULE_SETUP
{return STRING;}
YY_BREAK
case 108:
YY_RULE_SETUP
{BEGIN COMMENT2;}
YY_BREAK
case 109:
YY_RULE_SETUP
{BEGIN COMMENT1;}
YY_BREAK
case 110:
YY_RULE_SETUP
{return IDENTIFIER;}
YY_BREAK
case 111:
YY_RULE_SETUP
{return IDENTIFIERPREFIX;}
YY_BREAK
case 112:
YY_RULE_SETUP
{return REVISION_DATE;}
YY_BREAK
case 113:
YY_RULE_SETUP
{return IDENTIFIER;}
YY_BREAK
case 114:
YY_RULE_SETUP
{return IDENTIFIERPREFIX;}
YY_BREAK
case 115:
YY_RULE_SETUP
{if (yytext[0]=='/') {
switch(yytext[1]) {
case '*': BEGIN COMMENT1; yyless(2); break;
case '/': yyless(2); BEGIN COMMENT2; break;
default: return STRINGS;
}
} else {return STRINGS;} }
YY_BREAK
case 116:
/* rule 116 can match eol */
YY_RULE_SETUP
{ yylloc->last_column = 1; return EOL; }
YY_BREAK
case 117:
YY_RULE_SETUP
{ return WHITESPACE;}
YY_BREAK
case 118:
YY_RULE_SETUP
{ printf("%d: unexpected character '%c'\n",yylineno,*yytext); return ERROR;}
YY_BREAK
case 119:
YY_RULE_SETUP
ECHO;
YY_BREAK
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(COMMENT1):
case YY_STATE_EOF(COMMENT2):
case YY_STATE_EOF(PATH):
yyterminate();
case YY_END_OF_BUFFER:
{
/* Amount of text matched not including the EOB char. */
int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
/* Undo the effects of YY_DO_BEFORE_ACTION. */
*yy_cp = yyg->yy_hold_char;
YY_RESTORE_YY_MORE_OFFSET
if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
{
/* We're scanning a new file or input source. It's
* possible that this happened because the user
* just pointed yyin at a new source and called
* yylex(). If so, then we have to assure
* consistency between YY_CURRENT_BUFFER and our
* globals. Here is the right place to do so, because
* this is the first action (other than possibly a
* back-up) that will match for the new input source.
*/
yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
}
/* Note that here we test for yy_c_buf_p "<=" to the position
* of the first EOB in the buffer, since yy_c_buf_p will
* already have been incremented past the NUL character
* (since all states make transitions on EOB to the
* end-of-buffer state). Contrast this with the test
* in input().
*/
if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
{ /* This was really a NUL. */
yy_state_type yy_next_state;
yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
yy_current_state = yy_get_previous_state( yyscanner );
/* Okay, we're now positioned to make the NUL
* transition. We couldn't have
* yy_get_previous_state() go ahead and do it
* for us because it doesn't know how to deal
* with the possibility of jamming (and we don't
* want to build jamming into it because then it
* will run more slowly).
*/
yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner);
yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
if ( yy_next_state )
{
/* Consume the NUL. */
yy_cp = ++yyg->yy_c_buf_p;
yy_current_state = yy_next_state;
goto yy_match;
}
else
{
yy_cp = yyg->yy_c_buf_p;
goto yy_find_action;
}
}
else switch ( yy_get_next_buffer( yyscanner ) )
{
case EOB_ACT_END_OF_FILE:
{
yyg->yy_did_buffer_switch_on_eof = 0;
if ( yywrap(yyscanner ) )
{
/* Note: because we've taken care in
* yy_get_next_buffer() to have set up
* yytext, we can now set up
* yy_c_buf_p so that if some total
* hoser (like flex itself) wants to
* call the scanner after we return the
* YY_NULL, it'll still work - another
* YY_NULL will get returned.
*/
yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
yy_act = YY_STATE_EOF(YY_START);
goto do_action;
}
else
{
if ( ! yyg->yy_did_buffer_switch_on_eof )
YY_NEW_FILE;
}
break;
}
case EOB_ACT_CONTINUE_SCAN:
yyg->yy_c_buf_p =
yyg->yytext_ptr + yy_amount_of_matched_text;
yy_current_state = yy_get_previous_state( yyscanner );
yy_cp = yyg->yy_c_buf_p;
yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
goto yy_match;
case EOB_ACT_LAST_MATCH:
yyg->yy_c_buf_p =
&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
yy_current_state = yy_get_previous_state( yyscanner );
yy_cp = yyg->yy_c_buf_p;
yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
goto yy_find_action;
}
break;
}
default:
YY_FATAL_ERROR(
"fatal flex scanner internal error--no action found" );
} /* end of action switch */
} /* end of scanning one token */
} /* end of user's declarations */
} /* end of yylex */
/* yy_get_next_buffer - try to read in a new buffer
*
* Returns a code representing an action:
* EOB_ACT_LAST_MATCH -
* EOB_ACT_CONTINUE_SCAN - continue scanning from current position
* EOB_ACT_END_OF_FILE - end of file
*/
static int yy_get_next_buffer (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
char *source = yyg->yytext_ptr;
yy_size_t number_to_move, i;
int ret_val;
if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
YY_FATAL_ERROR(
"fatal flex scanner internal error--end of buffer missed" );
if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
{ /* Don't try to fill the buffer, so this is an EOF. */
if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
{
/* We matched a single character, the EOB, so
* treat this as a final EOF.
*/
return EOB_ACT_END_OF_FILE;
}
else
{
/* We matched some text prior to the EOB, first
* process it.
*/
return EOB_ACT_LAST_MATCH;
}
}
/* Try to read more data. */
/* First move last chars to start of buffer. */
number_to_move = (yy_size_t) (yyg->yy_c_buf_p - yyg->yytext_ptr) - 1;
for ( i = 0; i < number_to_move; ++i )
*(dest++) = *(source++);
if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
/* don't do the read, it's not guaranteed to return an EOF,
* just force an EOF
*/
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
else
{
yy_size_t num_to_read =
YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
while ( num_to_read <= 0 )
{ /* Not enough room in the buffer - grow it. */
/* just a shorter name for the current buffer */
YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
int yy_c_buf_p_offset =
(int) (yyg->yy_c_buf_p - b->yy_ch_buf);
if ( b->yy_is_our_buffer )
{
yy_size_t new_size = b->yy_buf_size * 2;
if ( new_size <= 0 )
b->yy_buf_size += b->yy_buf_size / 8;
else
b->yy_buf_size *= 2;
b->yy_ch_buf = (char *)
/* Include room in for 2 EOB chars. */
yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ,yyscanner );
}
else
/* Can't grow it, we don't own it. */
b->yy_ch_buf = 0;
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR(
"fatal error - scanner input buffer overflow" );
yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
number_to_move - 1;
}
if ( num_to_read > YY_READ_BUF_SIZE )
num_to_read = YY_READ_BUF_SIZE;
/* Read in more data. */
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
yyg->yy_n_chars, num_to_read );
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
}
if ( yyg->yy_n_chars == 0 )
{
if ( number_to_move == YY_MORE_ADJ )
{
ret_val = EOB_ACT_END_OF_FILE;
yyrestart(yyin ,yyscanner);
}
else
{
ret_val = EOB_ACT_LAST_MATCH;
YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
YY_BUFFER_EOF_PENDING;
}
}
else
ret_val = EOB_ACT_CONTINUE_SCAN;
if ((yy_size_t) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
/* Extend the array by 50%, plus the number we really need. */
yy_size_t new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ,yyscanner );
if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
}
yyg->yy_n_chars += number_to_move;
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
return ret_val;
}
/* yy_get_previous_state - get the state just before the EOB char was reached */
static yy_state_type yy_get_previous_state (yyscan_t yyscanner)
{
yy_state_type yy_current_state;
char *yy_cp;
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
yy_current_state = yyg->yy_start;
for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
{
YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
if ( yy_accept[yy_current_state] )
{
yyg->yy_last_accepting_state = yy_current_state;
yyg->yy_last_accepting_cpos = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 561 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
}
return yy_current_state;
}
/* yy_try_NUL_trans - try to make a transition on the NUL character
*
* synopsis
* next_state = yy_try_NUL_trans( current_state );
*/
static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state , yyscan_t yyscanner)
{
int yy_is_jam;
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon options. */
char *yy_cp = yyg->yy_c_buf_p;
YY_CHAR yy_c = 1;
if ( yy_accept[yy_current_state] )
{
yyg->yy_last_accepting_state = yy_current_state;
yyg->yy_last_accepting_cpos = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 561 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
yy_is_jam = (yy_current_state == 560);
(void)yyg;
return yy_is_jam ? 0 : yy_current_state;
}
#ifndef YY_NO_UNPUT
#endif
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput (yyscan_t yyscanner)
#else
static int input (yyscan_t yyscanner)
#endif
{
int c;
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
*yyg->yy_c_buf_p = yyg->yy_hold_char;
if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
{
/* yy_c_buf_p now points to the character we want to return.
* If this occurs *before* the EOB characters, then it's a
* valid NUL; if not, then we've hit the end of the buffer.
*/
if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
/* This was really a NUL. */
*yyg->yy_c_buf_p = '\0';
else
{ /* need more input */
yy_size_t offset = yyg->yy_c_buf_p - yyg->yytext_ptr;
++yyg->yy_c_buf_p;
switch ( yy_get_next_buffer( yyscanner ) )
{
case EOB_ACT_LAST_MATCH:
/* This happens because yy_g_n_b()
* sees that we've accumulated a
* token and flags that we need to
* try matching the token before
* proceeding. But for input(),
* there's no matching to consider.
* So convert the EOB_ACT_LAST_MATCH
* to EOB_ACT_END_OF_FILE.
*/
/* Reset buffer status. */
yyrestart(yyin ,yyscanner);
/*FALLTHROUGH*/
case EOB_ACT_END_OF_FILE:
{
if ( yywrap(yyscanner ) )
return EOF;
if ( ! yyg->yy_did_buffer_switch_on_eof )
YY_NEW_FILE;
#ifdef __cplusplus
return yyinput(yyscanner);
#else
return input(yyscanner);
#endif
}
case EOB_ACT_CONTINUE_SCAN:
yyg->yy_c_buf_p = yyg->yytext_ptr + offset;
break;
}
}
}
c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */
*yyg->yy_c_buf_p = '\0'; /* preserve yytext */
yyg->yy_hold_char = *++yyg->yy_c_buf_p;
return c;
}
#endif /* ifndef YY_NO_INPUT */
/** Immediately switch to a different input stream.
* @param input_file A readable stream.
* @param yyscanner The scanner object.
* @note This function does not reset the start condition to @c INITIAL .
*/
void yyrestart (FILE * input_file , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
if ( ! YY_CURRENT_BUFFER ){
yyensure_buffer_stack (yyscanner);
YY_CURRENT_BUFFER_LVALUE =
yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
}
yy_init_buffer(YY_CURRENT_BUFFER,input_file ,yyscanner);
yy_load_buffer_state(yyscanner );
}
/** Switch to a different input buffer.
* @param new_buffer The new input buffer.
* @param yyscanner The scanner object.
*/
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
/* TODO. We should be able to replace this entire function body
* with
* yypop_buffer_state();
* yypush_buffer_state(new_buffer);
*/
yyensure_buffer_stack (yyscanner);
if ( YY_CURRENT_BUFFER == new_buffer )
return;
if ( YY_CURRENT_BUFFER )
{
/* Flush out information for old buffer. */
*yyg->yy_c_buf_p = yyg->yy_hold_char;
YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
}
YY_CURRENT_BUFFER_LVALUE = new_buffer;
yy_load_buffer_state(yyscanner );
/* We don't actually know whether we did this switch during
* EOF (yywrap()) processing, but the only time this flag
* is looked at is after yywrap() is called, so it's safe
* to go ahead and always set it.
*/
yyg->yy_did_buffer_switch_on_eof = 1;
}
static void yy_load_buffer_state (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
yyg->yy_hold_char = *yyg->yy_c_buf_p;
}
/** Allocate and initialize an input buffer state.
* @param file A readable stream.
* @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
* @param yyscanner The scanner object.
* @return the allocated buffer state.
*/
YY_BUFFER_STATE yy_create_buffer (FILE * file, int size , yyscan_t yyscanner)
{
YY_BUFFER_STATE b;
b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ,yyscanner );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_buf_size = (yy_size_t)size;
/* yy_ch_buf has to be 2 characters longer than the size given because
* we need to put in 2 end-of-buffer characters.
*/
b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ,yyscanner );
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_is_our_buffer = 1;
yy_init_buffer(b,file ,yyscanner);
return b;
}
/** Destroy the buffer.
* @param b a buffer created with yy_create_buffer()
* @param yyscanner The scanner object.
*/
void yy_delete_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
if ( ! b )
return;
if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
if ( b->yy_is_our_buffer )
yyfree((void *) b->yy_ch_buf ,yyscanner );
yyfree((void *) b ,yyscanner );
}
/* Initializes or reinitializes a buffer.
* This function is sometimes called more than once on the same buffer,
* such as during a yyrestart() or at EOF.
*/
static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file , yyscan_t yyscanner)
{
int oerrno = errno;
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
yy_flush_buffer(b ,yyscanner);
b->yy_input_file = file;
b->yy_fill_buffer = 1;
/* If b is the current buffer, then yy_init_buffer was _probably_
* called from yyrestart() or through yy_get_next_buffer.
* In that case, we don't want to reset the lineno or column.
*/
if (b != YY_CURRENT_BUFFER){
b->yy_bs_lineno = 1;
b->yy_bs_column = 0;
}
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
errno = oerrno;
}
/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
* @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
* @param yyscanner The scanner object.
*/
void yy_flush_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
if ( ! b )
return;
b->yy_n_chars = 0;
/* We always need two end-of-buffer characters. The first causes
* a transition to the end-of-buffer state. The second causes
* a jam in that state.
*/
b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
b->yy_buf_pos = &b->yy_ch_buf[0];
b->yy_at_bol = 1;
b->yy_buffer_status = YY_BUFFER_NEW;
if ( b == YY_CURRENT_BUFFER )
yy_load_buffer_state(yyscanner );
}
/** Pushes the new state onto the stack. The new state becomes
* the current state. This function will allocate the stack
* if necessary.
* @param new_buffer The new state.
* @param yyscanner The scanner object.
*/
void yypush_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
if (new_buffer == NULL)
return;
yyensure_buffer_stack(yyscanner);
/* This block is copied from yy_switch_to_buffer. */
if ( YY_CURRENT_BUFFER )
{
/* Flush out information for old buffer. */
*yyg->yy_c_buf_p = yyg->yy_hold_char;
YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
}
/* Only push if top exists. Otherwise, replace top. */
if (YY_CURRENT_BUFFER)
yyg->yy_buffer_stack_top++;
YY_CURRENT_BUFFER_LVALUE = new_buffer;
/* copied from yy_switch_to_buffer. */
yy_load_buffer_state(yyscanner );
yyg->yy_did_buffer_switch_on_eof = 1;
}
/** Removes and deletes the top of the stack, if present.
* The next element becomes the new top.
* @param yyscanner The scanner object.
*/
void yypop_buffer_state (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
if (!YY_CURRENT_BUFFER)
return;
yy_delete_buffer(YY_CURRENT_BUFFER ,yyscanner);
YY_CURRENT_BUFFER_LVALUE = NULL;
if (yyg->yy_buffer_stack_top > 0)
--yyg->yy_buffer_stack_top;
if (YY_CURRENT_BUFFER) {
yy_load_buffer_state(yyscanner );
yyg->yy_did_buffer_switch_on_eof = 1;
}
}
/* Allocates the stack if it does not exist.
* Guarantees space for at least one push.
*/
static void yyensure_buffer_stack (yyscan_t yyscanner)
{
yy_size_t num_to_alloc;
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
if (!yyg->yy_buffer_stack) {
/* First allocation is just for 2 elements, since we don't know if this
* scanner will even need a stack. We use 2 instead of 1 to avoid an
* immediate realloc on the next call.
*/
num_to_alloc = 1; // After all that talk, this was set to 1 anyways...
yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc
(num_to_alloc * sizeof(struct yy_buffer_state*)
, yyscanner);
if ( ! yyg->yy_buffer_stack )
YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*));
yyg->yy_buffer_stack_max = num_to_alloc;
yyg->yy_buffer_stack_top = 0;
return;
}
if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
/* Increase the buffer to prepare for a possible push. */
yy_size_t grow_size = 8 /* arbitrary grow size */;
num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc
(yyg->yy_buffer_stack,
num_to_alloc * sizeof(struct yy_buffer_state*)
, yyscanner);
if ( ! yyg->yy_buffer_stack )
YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
/* zero only the new slots.*/
memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*));
yyg->yy_buffer_stack_max = num_to_alloc;
}
}
/** Setup the input buffer state to scan directly from a user-specified character buffer.
* @param base the character buffer
* @param size the size in bytes of the character buffer
* @param yyscanner The scanner object.
* @return the newly allocated buffer state object.
*/
YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size , yyscan_t yyscanner)
{
YY_BUFFER_STATE b;
if ( size < 2 ||
base[size-2] != YY_END_OF_BUFFER_CHAR ||
base[size-1] != YY_END_OF_BUFFER_CHAR )
/* They forgot to leave room for the EOB's. */
return 0;
b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ,yyscanner );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
b->yy_buf_pos = b->yy_ch_buf = base;
b->yy_is_our_buffer = 0;
b->yy_input_file = 0;
b->yy_n_chars = b->yy_buf_size;
b->yy_is_interactive = 0;
b->yy_at_bol = 1;
b->yy_fill_buffer = 0;
b->yy_buffer_status = YY_BUFFER_NEW;
yy_switch_to_buffer(b ,yyscanner );
return b;
}
/** Setup the input buffer state to scan a string. The next call to yylex() will
* scan from a @e copy of @a str.
* @param yystr a NUL-terminated string to scan
* @param yyscanner The scanner object.
* @return the newly allocated buffer state object.
* @note If you want to scan bytes that may contain NUL values, then use
* yy_scan_bytes() instead.
*/
YY_BUFFER_STATE yy_scan_string (yyconst char * yystr , yyscan_t yyscanner)
{
return yy_scan_bytes(yystr,strlen(yystr) ,yyscanner);
}
/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
* scan from a @e copy of @a bytes.
* @param yybytes the byte buffer to scan
* @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
* @param yyscanner The scanner object.
* @return the newly allocated buffer state object.
*/
YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len , yyscan_t yyscanner)
{
YY_BUFFER_STATE b;
char *buf;
yy_size_t n;
yy_size_t i;
/* Get memory for full buffer, including space for trailing EOB's. */
n = _yybytes_len + 2;
buf = (char *) yyalloc(n ,yyscanner );
if ( ! buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
for ( i = 0; i < _yybytes_len; ++i )
buf[i] = yybytes[i];
buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
b = yy_scan_buffer(buf,n ,yyscanner);
if ( ! b )
YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
/* It's okay to grow etc. this buffer, and we should throw it
* away when we're done.
*/
b->yy_is_our_buffer = 1;
return b;
}
#ifndef YY_EXIT_FAILURE
#define YY_EXIT_FAILURE 2
#endif
static void yy_fatal_error (yyconst char* msg , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
(void)yyg;
(void) fprintf( stderr, "%s\n", msg );
exit( YY_EXIT_FAILURE );
}
/* Redefine yyless() so it works in section 3 code. */
#undef yyless
#define yyless(n) \
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
yytext[yyleng] = yyg->yy_hold_char; \
yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
yyg->yy_hold_char = *yyg->yy_c_buf_p; \
*yyg->yy_c_buf_p = '\0'; \
yyleng = yyless_macro_arg; \
} \
while ( 0 )
/* Accessor methods (get/set functions) to struct members. */
/** Get the user-defined data for this scanner.
* @param yyscanner The scanner object.
*/
YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
return yyextra;
}
/** Get the current line number.
* @param yyscanner The scanner object.
*/
int yyget_lineno (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
if (! YY_CURRENT_BUFFER)
return 0;
return yylineno;
}
/** Get the current column number.
* @param yyscanner The scanner object.
*/
int yyget_column (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
if (! YY_CURRENT_BUFFER)
return 0;
return yycolumn;
}
/** Get the input stream.
* @param yyscanner The scanner object.
*/
FILE *yyget_in (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
return yyin;
}
/** Get the output stream.
* @param yyscanner The scanner object.
*/
FILE *yyget_out (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
return yyout;
}
/** Get the length of the current token.
* @param yyscanner The scanner object.
*/
yy_size_t yyget_leng (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
return yyleng;
}
/** Get the current token.
* @param yyscanner The scanner object.
*/
char *yyget_text (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
return yytext;
}
/** Set the user-defined data. This data is never touched by the scanner.
* @param user_defined The data to be associated with this scanner.
* @param yyscanner The scanner object.
*/
void yyset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
yyextra = user_defined ;
}
/** Set the current line number.
* @param _line_number line number
* @param yyscanner The scanner object.
*/
void yyset_lineno (int _line_number , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
/* lineno is only valid if an input buffer exists. */
if (! YY_CURRENT_BUFFER )
YY_FATAL_ERROR( "yyset_lineno called with no buffer" );
yylineno = _line_number;
}
/** Set the current column.
* @param _column_no column number
* @param yyscanner The scanner object.
*/
void yyset_column (int _column_no , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
/* column is only valid if an input buffer exists. */
if (! YY_CURRENT_BUFFER )
YY_FATAL_ERROR( "yyset_column called with no buffer" );
yycolumn = _column_no;
}
/** Set the input stream. This does not discard the current
* input buffer.
* @param _in_str A readable stream.
* @param yyscanner The scanner object.
* @see yy_switch_to_buffer
*/
void yyset_in (FILE * _in_str , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
yyin = _in_str ;
}
void yyset_out (FILE * _out_str , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
yyout = _out_str ;
}
int yyget_debug (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
return yy_flex_debug;
}
void yyset_debug (int _bdebug , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
yy_flex_debug = _bdebug ;
}
/* Accessor methods for yylval and yylloc */
YYSTYPE * yyget_lval (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
return yylval;
}
void yyset_lval (YYSTYPE * yylval_param , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
yylval = yylval_param;
}
YYLTYPE *yyget_lloc (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
return yylloc;
}
void yyset_lloc (YYLTYPE * yylloc_param , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
yylloc = yylloc_param;
}
/* User-visible API */
/* yylex_init is special because it creates the scanner itself, so it is
* the ONLY reentrant function that doesn't take the scanner as the last argument.
* That's why we explicitly handle the declaration, instead of using our macros.
*/
int yylex_init(yyscan_t* ptr_yy_globals)
{
if (ptr_yy_globals == NULL){
errno = EINVAL;
return 1;
}
*ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), NULL );
if (*ptr_yy_globals == NULL){
errno = ENOMEM;
return 1;
}
/* By setting to 0xAA, we expose bugs in yy_init_globals. Leave at 0x00 for releases. */
memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t));
return yy_init_globals ( *ptr_yy_globals );
}
/* yylex_init_extra has the same functionality as yylex_init, but follows the
* convention of taking the scanner as the last argument. Note however, that
* this is a *pointer* to a scanner, as it will be allocated by this call (and
* is the reason, too, why this function also must handle its own declaration).
* The user defined value in the first argument will be available to yyalloc in
* the yyextra field.
*/
int yylex_init_extra(YY_EXTRA_TYPE yy_user_defined,yyscan_t* ptr_yy_globals )
{
struct yyguts_t dummy_yyguts;
yyset_extra (yy_user_defined, &dummy_yyguts);
if (ptr_yy_globals == NULL){
errno = EINVAL;
return 1;
}
*ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), &dummy_yyguts );
if (*ptr_yy_globals == NULL){
errno = ENOMEM;
return 1;
}
/* By setting to 0xAA, we expose bugs in
yy_init_globals. Leave at 0x00 for releases. */
memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t));
yyset_extra (yy_user_defined, *ptr_yy_globals);
return yy_init_globals ( *ptr_yy_globals );
}
static int yy_init_globals (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
/* Initialization is the same as for the non-reentrant scanner.
* This function is called from yylex_destroy(), so don't allocate here.
*/
yyg->yy_buffer_stack = 0;
yyg->yy_buffer_stack_top = 0;
yyg->yy_buffer_stack_max = 0;
yyg->yy_c_buf_p = (char *) 0;
yyg->yy_init = 0;
yyg->yy_start = 0;
yyg->yy_start_stack_ptr = 0;
yyg->yy_start_stack_depth = 0;
yyg->yy_start_stack = NULL;
/* Defined in main.c */
#ifdef YY_STDINIT
yyin = stdin;
yyout = stdout;
#else
yyin = (FILE *) 0;
yyout = (FILE *) 0;
#endif
/* For future reference: Set errno on error, since we are called by
* yylex_init()
*/
return 0;
}
/* yylex_destroy is for both reentrant and non-reentrant scanners. */
int yylex_destroy (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
/* Pop the buffer stack, destroying each element. */
while(YY_CURRENT_BUFFER){
yy_delete_buffer(YY_CURRENT_BUFFER ,yyscanner );
YY_CURRENT_BUFFER_LVALUE = NULL;
yypop_buffer_state(yyscanner);
}
/* Destroy the stack itself. */
yyfree(yyg->yy_buffer_stack ,yyscanner);
yyg->yy_buffer_stack = NULL;
/* Destroy the start condition stack. */
yyfree(yyg->yy_start_stack ,yyscanner );
yyg->yy_start_stack = NULL;
/* Reset the globals. This is important in a non-reentrant scanner so the next time
* yylex() is called, initialization will occur. */
yy_init_globals( yyscanner);
/* Destroy the main struct (reentrant only). */
yyfree ( yyscanner , yyscanner );
yyscanner = NULL;
return 0;
}
/*
* Internal utility routines.
*/
#ifndef yytext_ptr
static void yy_flex_strncpy (char* s1, yyconst char * s2, int n , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
(void)yyg;
int i;
for ( i = 0; i < n; ++i )
s1[i] = s2[i];
}
#endif
#ifdef YY_NEED_STRLEN
static int yy_flex_strlen (yyconst char * s , yyscan_t yyscanner)
{
int n;
for ( n = 0; s[n]; ++n )
;
return n;
}
#endif
void *yyalloc (yy_size_t size , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
(void)yyg;
return (void *) malloc( size );
}
void *yyrealloc (void * ptr, yy_size_t size , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
(void)yyg;
/* The cast to (char *) in the following accommodates both
* implementations that use char* generic pointers, and those
* that use void* generic pointers. It works with the latter
* because both ANSI C and C++ allow castless assignment from
* any pointer type to void*, and deal with argument conversions
* as though doing an assignment.
*/
return (void *) realloc( (char *) ptr, size );
}
void yyfree (void * ptr , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
(void)yyg;
free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
}
#define YYTABLES_NAME "yytables"