diff options
Diffstat (limited to 'ipsec-tools/src/racoon/cftoken.c')
-rw-r--r-- | ipsec-tools/src/racoon/cftoken.c | 4836 |
1 files changed, 4836 insertions, 0 deletions
diff --git a/ipsec-tools/src/racoon/cftoken.c b/ipsec-tools/src/racoon/cftoken.c new file mode 100644 index 00000000..7b9bb14f --- /dev/null +++ b/ipsec-tools/src/racoon/cftoken.c @@ -0,0 +1,4836 @@ + +#line 3 "cftoken.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 5 +#define YY_FLEX_SUBMINOR_VERSION 37 +#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) + +/* 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 (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 (((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 ) + +#define YY_END_OF_BUFFER_CHAR 0 + +/* Size of default input buffer. */ +#ifndef YY_BUF_SIZE +#define YY_BUF_SIZE 16384 +#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 + +extern yy_size_t yyleng; + +extern FILE *yyin, *yyout; + +#define EOB_ACT_CONTINUE_SCAN 0 +#define EOB_ACT_END_OF_FILE 1 +#define EOB_ACT_LAST_MATCH 2 + + #define YY_LESS_LINENO(n) + +/* 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 = (yy_hold_char); \ + YY_RESTORE_YY_MORE_OFFSET \ + (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, (yytext_ptr) ) + +#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 */ + +/* Stack of input buffers. */ +static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ +static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ +static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ + +/* 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 ( (yy_buffer_stack) \ + ? (yy_buffer_stack)[(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 (yy_buffer_stack)[(yy_buffer_stack_top)] + +/* yy_hold_char holds the character lost when yytext is formed. */ +static char yy_hold_char; +static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ +yy_size_t yyleng; + +/* Points to current character in buffer. */ +static char *yy_c_buf_p = (char *) 0; +static int yy_init = 0; /* whether we need to initialize */ +static int yy_start = 0; /* start state number */ + +/* Flag which is used to allow yywrap()'s to do buffer switches + * instead of setting up a fresh yyin. A bit of a hack ... + */ +static int yy_did_buffer_switch_on_eof; + +void yyrestart (FILE *input_file ); +void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); +YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); +void yy_delete_buffer (YY_BUFFER_STATE b ); +void yy_flush_buffer (YY_BUFFER_STATE b ); +void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); +void yypop_buffer_state (void ); + +static void yyensure_buffer_stack (void ); +static void yy_load_buffer_state (void ); +static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); + +#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) + +YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); +YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); +YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ); + +void *yyalloc (yy_size_t ); +void *yyrealloc (void *,yy_size_t ); +void yyfree (void * ); + +#define yy_new_buffer yy_create_buffer + +#define yy_set_interactive(is_interactive) \ + { \ + if ( ! YY_CURRENT_BUFFER ){ \ + yyensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + yy_create_buffer(yyin,YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ + } + +#define yy_set_bol(at_bol) \ + { \ + if ( ! YY_CURRENT_BUFFER ){\ + yyensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + yy_create_buffer(yyin,YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ + } + +#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) + +/* Begin user sect3 */ + +typedef unsigned char YY_CHAR; + +FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; + +typedef int yy_state_type; + +extern int yylineno; + +int yylineno = 1; + +extern char *yytext; +#define yytext_ptr yytext + +static yy_state_type yy_get_previous_state (void ); +static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); +static int yy_get_next_buffer (void ); +static void yy_fatal_error (yyconst char msg[] ); + +/* Done after the current pattern has been matched and before the + * corresponding action - sets up yytext. + */ +#define YY_DO_BEFORE_ACTION \ + (yytext_ptr) = yy_bp; \ + (yytext_ptr) -= (yy_more_len); \ + yyleng = (size_t) (yy_cp - (yytext_ptr)); \ + (yy_hold_char) = *yy_cp; \ + *yy_cp = '\0'; \ + (yy_c_buf_p) = yy_cp; + +#define YY_NUM_RULES 307 +#define YY_END_OF_BUFFER 308 +/* 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[1820] = + { 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 308, 306, 302, 303, 306, 304, 306, 306, 298, 298, + 298, 301, 305, 289, 306, 306, 306, 306, 301, 301, + 301, 301, 301, 301, 306, 306, 306, 306, 306, 306, + 306, 306, 306, 306, 306, 306, 306, 306, 306, 301, + 306, 306, 306, 306, 306, 306, 306, 306, 301, 306, + 306, 2, 6, 14, 301, 301, 306, 306, 306, 25, + + 301, 301, 306, 306, 306, 301, 306, 306, 306, 27, + 33, 301, 301, 306, 306, 35, 42, 301, 306, 306, + 306, 96, 103, 93, 301, 301, 301, 301, 306, 306, + 306, 306, 306, 306, 306, 306, 66, 94, 301, 301, + 306, 306, 306, 306, 51, 64, 301, 306, 306, 44, + 49, 112, 306, 301, 301, 301, 306, 111, 123, 301, + 301, 301, 301, 306, 306, 306, 306, 306, 113, 127, + 301, 306, 128, 132, 301, 301, 301, 301, 301, 301, + 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, + 306, 306, 306, 306, 306, 129, 301, 301, 301, 301, + + 306, 306, 306, 306, 190, 191, 204, 306, 306, 302, + 0, 300, 304, 209, 207, 301, 301, 298, 0, 301, + 0, 290, 291, 292, 0, 301, 301, 211, 0, 0, + 0, 301, 301, 0, 301, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 297, 0, 0, 205, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 301, + 301, 0, 0, 0, 0, 301, 0, 0, 297, 0, + + 0, 0, 0, 0, 301, 0, 0, 0, 0, 0, + 0, 0, 0, 301, 0, 301, 0, 301, 0, 0, + 0, 0, 0, 0, 0, 297, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 301, 0, 0, 0, 0, + 0, 301, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 301, 0, 301, 301, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 297, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 209, 209, 207, 301, 299, 301, + 0, 208, 301, 230, 0, 0, 0, 0, 0, 301, + 219, 0, 301, 210, 0, 0, 217, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 256, 245, 294, 0, + 0, 0, 206, 254, 0, 227, 221, 0, 0, 293, + 0, 0, 287, 215, 0, 0, 216, 0, 0, 296, + 0, 0, 0, 0, 0, 18, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 301, 0, + 0, 0, 0, 0, 301, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 301, 0, 0, 0, 301, 0, 0, 0, + 0, 0, 0, 0, 0, 82, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 301, 0, 0, 0, 0, 0, 108, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 136, + 175, 210, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 293, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 209, 207, 220, 0, 0, 0, 0, 289, 0, + 0, 0, 0, 0, 0, 288, 282, 0, 0, 295, + 0, 213, 222, 0, 0, 244, 294, 0, 0, 0, + 229, 0, 0, 0, 0, 0, 0, 293, 246, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, + 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, + 0, 0, 22, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 301, 69, 0, 0, 83, 0, 0, 0, + 0, 80, 0, 0, 0, 0, 0, 0, 0, 0, + 55, 0, 53, 54, 0, 0, 46, 45, 0, 0, + 0, 0, 0, 109, 0, 0, 119, 0, 0, 0, + 0, 0, 0, 118, 0, 0, 0, 133, 174, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 134, 0, 0, + 0, 0, 0, 166, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 173, + + 0, 0, 0, 148, 0, 0, 194, 0, 0, 0, + 0, 0, 0, 193, 0, 0, 225, 0, 0, 0, + 289, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 295, 0, 214, 0, 283, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 247, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 95, 0, 4, 0, 0, 0, 0, 0, + 0, 23, 19, 0, 0, 0, 0, 0, 0, 38, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 79, 70, 0, 0, 0, + 0, 0, 0, 0, 0, 71, 0, 0, 0, 0, + 0, 0, 107, 0, 0, 110, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 169, 0, + 0, 0, 0, 0, 0, 168, 0, 164, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 179, 0, 0, 0, 188, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 286, 0, 0, 0, 0, 0, 0, 269, 0, 0, + + 0, 0, 0, 0, 212, 294, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 270, 271, + 268, 293, 249, 0, 0, 0, 251, 253, 285, 0, + 0, 0, 0, 0, 0, 0, 34, 0, 0, 0, + 0, 0, 124, 104, 5, 0, 0, 0, 0, 0, + 11, 24, 21, 0, 0, 0, 0, 0, 0, 0, + 36, 0, 0, 0, 0, 0, 100, 101, 0, 0, + 0, 0, 85, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 81, 0, 0, 78, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 151, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 182, 0, 0, + 0, 167, 0, 159, 0, 0, 0, 0, 0, 0, + 199, 0, 0, 0, 202, 0, 284, 0, 0, 223, + 255, 0, 0, 243, 260, 261, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 257, 0, 0, 0, + 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, + 0, 15, 50, 0, 26, 0, 1, 0, 0, 0, + + 8, 13, 0, 20, 0, 0, 0, 0, 0, 0, + 0, 0, 97, 0, 0, 99, 0, 0, 0, 0, + 0, 0, 0, 89, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 57, 58, 56, + 52, 48, 47, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 126, 0, 147, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 171, 0, 0, 0, + 0, 0, 0, 160, 140, 0, 154, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, + + 233, 226, 218, 0, 235, 0, 0, 0, 258, 259, + 262, 263, 264, 265, 266, 234, 228, 0, 231, 248, + 250, 252, 0, 0, 0, 0, 0, 65, 0, 0, + 12, 0, 0, 0, 0, 0, 0, 0, 40, 0, + 0, 98, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 68, 67, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 117, 0, + 0, 115, 0, 0, 0, 156, 0, 0, 0, 181, + 0, 0, 0, 180, 0, 0, 0, 0, 172, 0, + 186, 0, 0, 0, 0, 0, 0, 0, 0, 189, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 198, + 0, 0, 0, 192, 203, 0, 236, 0, 0, 0, + 0, 0, 0, 281, 0, 0, 0, 0, 0, 43, + 0, 0, 0, 0, 28, 0, 39, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 88, 91, 84, + 0, 90, 0, 60, 0, 61, 0, 59, 105, 0, + 0, 0, 0, 0, 114, 125, 0, 0, 176, 0, + 177, 0, 0, 0, 0, 141, 137, 170, 0, 0, + 0, 0, 0, 0, 0, 0, 183, 149, 0, 0, + 153, 138, 0, 0, 0, 0, 0, 0, 0, 200, + + 0, 272, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 201, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 77, 0, 0, 0, 0, 0, 0, + 0, 0, 62, 0, 106, 0, 0, 0, 0, 135, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 157, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 238, 0, 0, 0, 240, 242, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, + 0, 0, 0, 0, 0, 37, 0, 0, 74, 73, + 0, 76, 0, 0, 92, 0, 63, 0, 0, 0, + + 0, 0, 178, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 185, 184, 0, 0, 0, 152, 0, 0, + 143, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, + 0, 0, 31, 0, 0, 0, 0, 75, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 237, 239, 241, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 86, 0, 87, 0, 0, 0, 116, 0, 131, 0, + + 139, 0, 0, 142, 163, 0, 0, 0, 0, 161, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 267, + 0, 0, 0, 0, 17, 9, 32, 30, 0, 41, + 102, 72, 0, 0, 0, 0, 0, 0, 155, 150, + 0, 165, 130, 0, 0, 0, 0, 197, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 158, 162, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 278, 277, 280, 279, 29, 0, 0, 0, + 146, 144, 0, 0, 0, 0, 276, 274, 275, 273, + 0, 0, 0, 145, 187, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 120, + 0, 195, 0, 122, 196, 0, 0, 121, 0 + } ; + +static yyconst flex_int32_t 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, 2, 1, 4, 5, 1, 6, 1, 1, 1, + 1, 1, 1, 7, 8, 9, 10, 11, 12, 13, + 14, 15, 16, 17, 18, 19, 20, 21, 22, 1, + 1, 1, 1, 1, 23, 24, 23, 23, 23, 23, + 25, 25, 25, 25, 26, 25, 27, 25, 25, 25, + 25, 25, 25, 28, 25, 25, 25, 25, 25, 25, + 29, 1, 30, 1, 31, 1, 32, 33, 34, 35, + + 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 1, 59, 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, 1 + } ; + +static yyconst flex_int32_t yy_meta[60] = + { 0, + 1, 1, 2, 1, 1, 3, 1, 1, 3, 1, + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, + 5, 1, 6, 6, 7, 7, 7, 7, 1, 1, + 1, 6, 6, 6, 6, 6, 6, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 1, 1 + } ; + +static yyconst flex_int16_t yy_base[1832] = + { 0, + 0, 0, 26, 44, 27, 58, 68, 87, 90, 106, + 103, 114, 134, 136, 98, 143, 196, 0, 165, 167, + 48, 189, 0, 0, 0, 0, 227, 238, 290, 343, + 82, 91, 396, 0, 424, 452, 0, 0, 46, 81, + 2198, 2199, 2195, 2199, 2192, 0, 0, 0, 506, 2140, + 130, 2188, 2199, 2187, 2168, 2167, 2166, 0, 172, 153, + 68, 169, 229, 204, 13, 135, 120, 36, 2132, 222, + 59, 221, 2139, 237, 242, 248, 192, 2155, 2150, 263, + 183, 256, 258, 265, 276, 278, 299, 252, 313, 267, + 239, 2199, 2199, 2199, 314, 323, 309, 140, 326, 2199, + + 330, 324, 337, 275, 2153, 355, 353, 364, 361, 2199, + 2199, 2149, 375, 372, 422, 2199, 2199, 363, 419, 440, + 388, 2199, 2199, 2199, 349, 438, 470, 463, 298, 462, + 307, 498, 500, 513, 519, 2143, 2199, 2199, 2131, 522, + 433, 167, 462, 2145, 2199, 2199, 374, 533, 536, 2199, + 2199, 2199, 2148, 2134, 542, 546, 318, 2199, 2199, 2126, + 550, 566, 554, 79, 557, 386, 571, 547, 2199, 2199, + 2132, 575, 2199, 2199, 2138, 568, 583, 596, 610, 585, + 578, 603, 457, 577, 617, 607, 625, 632, 638, 646, + 655, 616, 2139, 2138, 221, 2199, 2121, 648, 663, 673, + + 367, 664, 583, 660, 2199, 2199, 2199, 275, 655, 2170, + 2167, 2199, 0, 2164, 0, 0, 2163, 2113, 0, 385, + 2132, 2199, 2199, 2199, 2136, 465, 527, 2199, 2120, 2118, + 2112, 677, 678, 2112, 551, 2114, 2117, 2124, 2122, 2107, + 2124, 2103, 2121, 2109, 2116, 2117, 2094, 2114, 2098, 2131, + 2101, 2110, 2099, 2100, 2105, 2199, 2101, 2104, 490, 2098, + 2106, 2103, 2104, 2102, 2096, 2086, 2094, 2085, 2083, 2093, + 2076, 2077, 2082, 2075, 2090, 2091, 2072, 2083, 2085, 248, + 2077, 31, 2083, 2073, 2076, 592, 2066, 432, 2078, 446, + 670, 2079, 2077, 2075, 2061, 697, 2060, 2071, 666, 2058, + + 2072, 2050, 2059, 2054, 612, 2052, 2069, 2051, 2047, 2047, + 2046, 2047, 2063, 695, 2043, 142, 2048, 687, 2042, 676, + 2057, 2058, 2055, 2043, 2036, 2041, 2041, 2034, 2037, 2047, + 2028, 2037, 2029, 2033, 2026, 530, 2031, 368, 2026, 2041, + 2024, 710, 2021, 2020, 687, 2025, 680, 2029, 2022, 696, + 2016, 2015, 2021, 2030, 2026, 2031, 2011, 2016, 695, 2013, + 2019, 2019, 729, 2005, 732, 734, 2023, 2023, 2003, 2012, + 2016, 2003, 550, 2000, 2003, 2011, 2010, 701, 709, 709, + 2008, 706, 2009, 2012, 1991, 1996, 2004, 1989, 2002, 736, + 2005, 714, 707, 1987, 719, 1984, 1985, 723, 723, 1993, + + 1983, 1999, 2019, 1977, 1977, 1976, 1995, 1991, 1974, 1973, + 1985, 728, 1970, 1983, 0, 2013, 0, 0, 0, 748, + 1982, 2199, 752, 2199, 2005, 1962, 1979, 1978, 1962, 553, + 1981, 1961, 763, 2199, 1974, 1964, 2199, 1976, 1973, 1957, + 1956, 1957, 1971, 1956, 1961, 1958, 2199, 2199, 721, 1952, + 1967, 1954, 2199, 2199, 1965, 2199, 2199, 1950, 738, 731, + 777, 1949, 2199, 2199, 1957, 1955, 2199, 1942, 1939, 2199, + 1942, 753, 1945, 1940, 1935, 2199, 739, 1950, 1945, 1947, + 1929, 1941, 1934, 1934, 1942, 1931, 1924, 1926, 772, 1923, + 1930, 1935, 1940, 1930, 774, 1923, 1922, 1927, 1921, 1922, + + 1924, 1928, 1922, 1921, 1928, 1917, 1918, 1912, 1920, 1904, + 1904, 1903, 756, 1913, 1906, 1913, 786, 1934, 1896, 1904, + 1899, 1913, 1894, 750, 764, 2199, 1912, 1899, 1901, 1904, + 1899, 1887, 1887, 1887, 1899, 1899, 1882, 1881, 752, 1881, + 790, 1891, 1880, 1892, 1871, 1881, 2199, 1889, 1880, 1871, + 1883, 1885, 1873, 1870, 1882, 1877, 1885, 1869, 1878, 1868, + 1876, 1862, 1874, 1873, 1857, 1856, 1866, 1867, 1854, 2199, + 1872, 1871, 1867, 1861, 1865, 1862, 767, 1866, 1845, 1859, + 1858, 1846, 1856, 1846, 1856, 769, 1849, 1857, 775, 1831, + 1836, 1836, 1844, 1833, 1842, 1834, 1844, 1833, 1826, 1837, + + 761, 1841, 1823, 1834, 1826, 1836, 1823, 1830, 1827, 1848, + 1816, 1827, 1829, 1826, 1814, 788, 1823, 1825, 1824, 1819, + 1850, 0, 2199, 2199, 1825, 1820, 1820, 1817, 1803, 1809, + 1839, 1818, 773, 1809, 1836, 2199, 2199, 1800, 1815, 1795, + 1804, 1826, 2199, 1798, 1806, 2199, 2199, 1789, 818, 1807, + 1807, 1787, 1801, 1790, 1798, 1793, 1787, 2199, 2199, 807, + 1812, 1818, 1793, 1779, 1787, 1795, 1786, 1781, 1783, 1770, + 1787, 1784, 1788, 1778, 2199, 1761, 1766, 1763, 1763, 1776, + 1763, 1765, 1763, 1778, 1756, 1767, 1754, 1765, 1754, 1756, + 1764, 1752, 2199, 1763, 1759, 1746, 1753, 1750, 1761, 1749, + + 1760, 1748, 1757, 1739, 1740, 1757, 1751, 1750, 1733, 1753, + 1747, 1751, 809, 2199, 1734, 1728, 2199, 1736, 1763, 1745, + 1730, 2199, 1737, 1743, 1721, 1741, 1720, 1734, 1754, 1737, + 2199, 1736, 2199, 2199, 1717, 1725, 2199, 2199, 1724, 1717, + 1732, 1705, 1715, 2199, 1712, 1722, 1707, 1707, 1699, 1703, + 1718, 1714, 1700, 2199, 1694, 1700, 1712, 2199, 1697, 1690, + 1705, 1700, 1694, 1706, 790, 1704, 1689, 1707, 1702, 1688, + 1685, 1698, 1694, 1695, 1698, 1699, 1679, 2199, 1690, 1697, + 1692, 1675, 1689, 2199, 1684, 1673, 1687, 1685, 1675, 1673, + 1662, 1666, 1676, 1668, 1678, 1682, 1680, 1677, 1664, 2199, + + 1657, 1671, 1676, 2199, 1667, 1669, 1654, 1654, 1646, 1659, + 1649, 50, 78, 2199, 137, 239, 2199, 290, 318, 425, + 2199, 492, 616, 604, 614, 789, 784, 808, 788, 796, + 2199, 807, 2199, 796, 2199, 808, 834, 836, 837, 838, + 839, 835, 841, 802, 819, 817, 825, 824, 806, 822, + 827, 846, 851, 851, 855, 818, 2199, 820, 834, 841, + 837, 839, 840, 839, 832, 844, 834, 849, 845, 832, + 847, 838, 2199, 834, 2199, 839, 850, 853, 846, 851, + 840, 879, 2199, 837, 849, 845, 844, 853, 847, 849, + 857, 854, 851, 867, 851, 863, 861, 895, 864, 872, + + 862, 862, 870, 883, 880, 885, 2199, 867, 869, 870, + 870, 871, 877, 894, 882, 2199, 895, 893, 893, 884, + 895, 880, 2199, 890, 884, 2199, 891, 901, 891, 901, + 906, 894, 908, 901, 906, 898, 902, 913, 2199, 905, + 918, 917, 922, 919, 907, 2199, 912, 2199, 926, 919, + 911, 929, 913, 932, 921, 925, 935, 933, 932, 920, + 939, 918, 941, 2199, 961, 943, 925, 2199, 940, 928, + 927, 945, 946, 930, 931, 934, 948, 929, 939, 956, + 943, 943, 943, 956, 952, 961, 954, 983, 979, 947, + 2199, 948, 959, 981, 965, 988, 969, 2199, 988, 990, + + 976, 973, 970, 979, 2199, 961, 999, 999, 999, 997, + 996, 1002, 999, 999, 969, 976, 990, 987, 2199, 2199, + 2199, 974, 2199, 1009, 1007, 1015, 2199, 2199, 2199, 989, + 981, 983, 976, 1002, 998, 997, 2199, 999, 999, 1005, + 992, 1006, 2199, 2199, 2199, 991, 1002, 1007, 1008, 1013, + 2199, 2199, 2199, 1008, 1007, 1004, 1009, 1019, 1005, 1016, + 1022, 1023, 1006, 1024, 1021, 1023, 2199, 2199, 1008, 1011, + 1015, 1023, 2199, 1017, 1013, 1015, 1030, 1024, 1026, 1027, + 1024, 1031, 2199, 1040, 1038, 2199, 1039, 1026, 1044, 1027, + 1033, 1025, 1045, 1037, 1034, 1034, 1040, 1055, 1037, 1039, + + 1039, 1047, 1047, 1047, 1054, 1049, 1045, 1047, 1062, 1059, + 1048, 2199, 1058, 1047, 1052, 1072, 1067, 1055, 1056, 1076, + 1066, 1070, 1076, 1072, 1069, 1078, 1078, 1071, 1085, 1068, + 1083, 1086, 1090, 1073, 1091, 1093, 1089, 2199, 1071, 1092, + 1089, 2199, 1079, 2199, 1100, 1093, 1090, 1083, 1083, 1085, + 2199, 1107, 1097, 1098, 2199, 1100, 2199, 1105, 1113, 2199, + 2199, 1133, 1132, 2199, 2199, 2199, 1106, 1133, 1118, 1116, + 1137, 1136, 1135, 1142, 1139, 1142, 2199, 1145, 1120, 1126, + 1112, 1119, 1146, 1149, 1153, 2199, 1132, 1118, 1119, 1139, + 1135, 2199, 2199, 1134, 2199, 1121, 2199, 1137, 1143, 1142, + + 2199, 2199, 1128, 2199, 1125, 1148, 1123, 1147, 1148, 1148, + 1139, 1153, 2199, 1143, 1151, 2199, 1148, 1143, 1138, 1142, + 1140, 1162, 1148, 2199, 1163, 1181, 1182, 1146, 1142, 1150, + 1156, 1166, 1168, 1158, 1155, 1162, 1171, 2199, 2199, 2199, + 2199, 2199, 2199, 1156, 1174, 1170, 1161, 1172, 1177, 1163, + 1163, 1181, 1165, 2199, 1178, 2199, 1185, 1173, 1189, 1185, + 1174, 1186, 1189, 1190, 1171, 1190, 1198, 1179, 1185, 1179, + 1197, 1190, 1197, 1185, 1184, 1198, 2199, 1203, 1205, 1206, + 1192, 1200, 1212, 2199, 2199, 1196, 2199, 1200, 1216, 1214, + 1217, 1204, 1211, 1205, 1213, 1215, 1218, 1223, 1224, 2199, + + 2199, 2199, 2199, 1212, 2199, 1250, 1215, 1217, 2199, 2199, + 2199, 2199, 2199, 2199, 2199, 2199, 2199, 1232, 2199, 2199, + 2199, 2199, 1224, 1228, 1239, 1239, 1228, 2199, 1237, 1237, + 2199, 1244, 1241, 1242, 1236, 1244, 1242, 1240, 2199, 1251, + 1249, 2199, 1238, 1241, 1235, 1239, 1243, 1241, 1256, 1240, + 1248, 2199, 2199, 1247, 1259, 1246, 1247, 1247, 1250, 1248, + 1259, 1269, 1254, 1254, 1270, 1272, 1267, 1262, 2199, 1269, + 1263, 2199, 1261, 1259, 1281, 2199, 1258, 1283, 1260, 2199, + 1286, 1287, 1288, 2199, 1286, 1265, 1282, 1287, 2199, 1277, + 2199, 1285, 1290, 1270, 1279, 1293, 1294, 1284, 1300, 1302, + + 1299, 1284, 1291, 1290, 1302, 1304, 1291, 1304, 1309, 2199, + 1298, 1310, 1300, 2199, 2199, 1314, 2199, 1332, 1330, 1338, + 1301, 1320, 1318, 2199, 1323, 1324, 1304, 1323, 1321, 2199, + 1308, 1325, 1330, 1326, 1333, 1329, 2199, 1315, 1332, 1336, + 1331, 1323, 1337, 1321, 1339, 1328, 1326, 2199, 2199, 2199, + 1322, 2199, 1323, 2199, 1331, 2199, 1343, 2199, 2199, 1331, + 1349, 1336, 1338, 1347, 2199, 2199, 1349, 1335, 2199, 1347, + 2199, 1344, 1342, 1344, 1345, 2199, 2199, 2199, 1341, 1356, + 1345, 1359, 1345, 1352, 1366, 1345, 2199, 2199, 1366, 1366, + 2199, 2199, 1353, 1354, 1368, 1369, 1366, 1375, 1363, 2199, + + 1360, 2199, 1393, 1398, 1398, 1402, 1385, 1386, 1387, 1385, + 1386, 1376, 2199, 1386, 1387, 1393, 1374, 1381, 1384, 1394, + 1378, 1381, 1388, 2199, 1382, 1397, 1383, 1401, 1394, 1405, + 1405, 1395, 2199, 1393, 2199, 1392, 1399, 1414, 1406, 2199, + 1411, 1405, 1403, 1404, 1406, 1407, 1397, 1414, 1405, 2199, + 1419, 1406, 1423, 1414, 1421, 1412, 1416, 1412, 1419, 1453, + 1421, 1416, 1437, 1429, 2199, 1454, 1452, 1460, 2199, 2199, + 1439, 1440, 1433, 1433, 1441, 1435, 1443, 1445, 1432, 2199, + 1440, 1451, 1446, 1449, 1444, 2199, 1451, 1448, 2199, 2199, + 1448, 2199, 1460, 1457, 2199, 1445, 2199, 1455, 1465, 1465, + + 1462, 1468, 2199, 1465, 1458, 1459, 1452, 1473, 1469, 1474, + 1467, 1468, 2199, 2199, 1473, 1474, 1456, 2199, 1461, 1482, + 2199, 1474, 1483, 1465, 1500, 1503, 1506, 1477, 1485, 1479, + 1487, 1488, 1485, 1477, 1487, 1479, 1486, 2199, 1494, 1491, + 1481, 1488, 2199, 1484, 1482, 1500, 1497, 2199, 1496, 1493, + 1508, 1498, 1493, 1492, 1508, 1505, 1490, 1515, 1514, 1500, + 1507, 1508, 1515, 1519, 1504, 1499, 1516, 1523, 1512, 1516, + 1521, 2199, 2199, 2199, 1521, 1513, 1523, 1515, 1509, 1530, + 1514, 1532, 1516, 1534, 1515, 1529, 1534, 1536, 1525, 1540, + 2199, 1532, 2199, 1533, 1536, 1542, 2199, 1525, 2199, 1548, + + 2199, 1549, 1535, 2199, 2199, 1549, 1546, 1545, 1538, 2199, + 1552, 1551, 1546, 1554, 1549, 1558, 1542, 1560, 1544, 2199, + 1553, 1563, 1555, 1565, 2199, 2199, 2199, 2199, 1551, 2199, + 2199, 2199, 1572, 1566, 1559, 1559, 1551, 1557, 2199, 2199, + 1573, 2199, 2199, 1570, 1575, 1581, 1567, 2199, 1569, 1579, + 1571, 1581, 1567, 1570, 1569, 1572, 1583, 1591, 1578, 1576, + 1590, 2199, 2199, 1578, 1592, 1595, 1586, 1582, 1581, 1584, + 1583, 1586, 2199, 2199, 2199, 2199, 2199, 1593, 1588, 1598, + 2199, 2199, 1590, 1598, 1605, 1602, 2199, 2199, 2199, 2199, + 1605, 1604, 1594, 2199, 2199, 1595, 1596, 1602, 1598, 1611, + + 1612, 1613, 1604, 1615, 1611, 1610, 1613, 1618, 1615, 2199, + 1625, 2199, 1610, 2199, 2199, 1623, 1619, 2199, 2199, 1663, + 1670, 1674, 1668, 1678, 1681, 1683, 1686, 1687, 1691, 1694, + 1688 + } ; + +static yyconst flex_int16_t yy_def[1832] = + { 0, + 1819, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 17, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 33, 1, 1, 1, 1, 1, 1, + 1819, 1819, 1819, 1819, 1820, 1821, 1822, 1823, 1819, 49, + 49, 1824, 1819, 1824, 1819, 1819, 1819, 1825, 1824, 1824, + 1824, 1824, 1824, 1824, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1824, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1824, 1819, + 1819, 1819, 1819, 1819, 1824, 1824, 1819, 1819, 1819, 1819, + + 1824, 1824, 1819, 1819, 1819, 1824, 1819, 1819, 1819, 1819, + 1819, 59, 1824, 1819, 1819, 1819, 1819, 1824, 1819, 1819, + 1819, 1819, 1819, 1819, 59, 1824, 1824, 1824, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 59, 1824, + 1819, 1819, 1819, 1819, 1819, 1819, 59, 1819, 1819, 1819, + 1819, 1819, 1825, 59, 1824, 1824, 1819, 1819, 1819, 59, + 1824, 1824, 1824, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 59, 1819, 1819, 1819, 59, 140, 1824, 1824, 1824, 1824, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 59, 1824, 1824, 1824, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1820, 1819, 1821, 1826, 1827, 1828, 1824, 49, 1829, 1824, + 1819, 1819, 1819, 1819, 1825, 1824, 1824, 1819, 1819, 1819, + 1819, 1824, 1824, 1819, 1824, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1824, + 1824, 1819, 1819, 1819, 1819, 1824, 1819, 1819, 1819, 1819, + + 1819, 1819, 1819, 1819, 1824, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1824, 1819, 1824, 1819, 1824, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1824, 1819, 1819, 1819, 1819, + 1819, 1824, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1824, 1819, 1824, 1824, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1830, 1826, 1831, 1828, 1829, 1824, + 1819, 1819, 1824, 1819, 1819, 1819, 1819, 1819, 1819, 1824, + 1819, 1819, 1824, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1824, 1819, + 1819, 1819, 1819, 1819, 1824, 1819, 1819, 1819, 1819, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1824, 1819, 1819, 1819, 1824, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1824, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1830, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1824, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 0, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819 + } ; + +static yyconst flex_int16_t yy_nxt[2259] = + { 0, + 42, 43, 44, 45, 46, 42, 42, 47, 42, 48, + 49, 50, 50, 51, 50, 50, 50, 50, 50, 50, + 52, 53, 52, 54, 42, 55, 56, 57, 58, 42, + 42, 59, 60, 61, 62, 63, 64, 65, 66, 67, + 42, 68, 69, 70, 71, 72, 73, 42, 74, 75, + 76, 77, 42, 42, 78, 79, 42, 42, 42, 80, + 89, 239, 240, 81, 90, 82, 455, 207, 83, 84, + 481, 247, 85, 216, 86, 87, 88, 80, 91, 147, + 986, 81, 248, 82, 92, 93, 83, 84, 208, 94, + 85, 89, 86, 87, 88, 90, 148, 209, 149, 232, + + 95, 96, 207, 170, 253, 150, 151, 97, 94, 91, + 254, 100, 170, 171, 98, 92, 93, 99, 355, 95, + 96, 172, 171, 208, 101, 102, 97, 100, 987, 103, + 172, 118, 209, 98, 104, 249, 99, 119, 106, 173, + 101, 102, 120, 105, 121, 103, 107, 216, 173, 106, + 104, 108, 109, 244, 245, 122, 123, 107, 216, 105, + 110, 111, 108, 109, 220, 112, 246, 112, 113, 221, + 113, 110, 111, 114, 216, 114, 118, 216, 241, 293, + 242, 988, 119, 115, 1819, 115, 515, 120, 294, 121, + 243, 116, 117, 116, 117, 230, 139, 140, 139, 140, + + 122, 123, 124, 141, 233, 141, 226, 227, 231, 216, + 228, 142, 339, 142, 143, 258, 143, 144, 234, 144, + 147, 229, 145, 146, 145, 146, 269, 125, 126, 127, + 128, 239, 274, 129, 216, 130, 403, 148, 131, 149, + 132, 270, 133, 237, 134, 135, 150, 151, 152, 136, + 989, 238, 404, 137, 138, 153, 250, 255, 154, 152, + 155, 251, 235, 156, 157, 256, 153, 252, 216, 154, + 259, 155, 257, 269, 156, 157, 260, 262, 236, 265, + 263, 266, 478, 265, 158, 266, 261, 267, 289, 244, + 245, 286, 276, 264, 232, 158, 159, 277, 479, 250, + + 275, 268, 246, 278, 251, 268, 413, 280, 273, 283, + 279, 259, 281, 284, 249, 288, 240, 260, 216, 216, + 299, 160, 161, 162, 282, 163, 254, 261, 216, 216, + 285, 249, 164, 165, 262, 216, 166, 263, 167, 990, + 168, 322, 244, 245, 232, 290, 320, 240, 169, 159, + 264, 287, 323, 292, 232, 246, 230, 235, 291, 295, + 216, 262, 991, 249, 263, 296, 350, 240, 216, 231, + 244, 245, 297, 236, 160, 161, 162, 264, 163, 234, + 216, 298, 314, 246, 302, 164, 165, 250, 235, 166, + 216, 167, 251, 168, 232, 303, 262, 259, 252, 263, + + 315, 169, 174, 260, 236, 244, 245, 342, 309, 301, + 233, 304, 264, 261, 306, 239, 409, 537, 246, 440, + 420, 307, 357, 312, 234, 343, 313, 175, 176, 177, + 178, 179, 180, 181, 258, 182, 258, 183, 184, 185, + 186, 187, 188, 216, 189, 190, 191, 192, 193, 194, + 195, 216, 244, 245, 196, 197, 198, 262, 199, 200, + 263, 201, 202, 310, 992, 246, 203, 437, 216, 316, + 216, 311, 308, 264, 204, 216, 241, 487, 338, 489, + 230, 205, 206, 197, 198, 253, 199, 200, 243, 201, + 202, 254, 380, 231, 203, 244, 245, 262, 318, 423, + + 263, 232, 204, 248, 456, 457, 321, 319, 246, 205, + 206, 216, 234, 340, 217, 317, 218, 218, 218, 218, + 218, 218, 218, 218, 218, 218, 217, 216, 217, 217, + 324, 327, 216, 325, 993, 216, 328, 217, 217, 217, + 217, 217, 217, 326, 330, 329, 259, 216, 258, 254, + 331, 216, 260, 336, 262, 216, 216, 263, 216, 216, + 219, 337, 261, 433, 230, 332, 259, 265, 344, 266, + 264, 216, 260, 232, 333, 345, 424, 231, 265, 535, + 266, 573, 261, 574, 348, 237, 359, 235, 216, 268, + 216, 250, 230, 238, 349, 632, 251, 232, 354, 363, + + 268, 216, 252, 236, 259, 352, 358, 1819, 244, 245, + 260, 353, 356, 375, 365, 216, 381, 216, 366, 361, + 261, 246, 411, 364, 237, 367, 239, 240, 994, 465, + 374, 233, 238, 249, 368, 485, 244, 376, 385, 249, + 369, 370, 371, 235, 377, 234, 423, 378, 382, 379, + 269, 250, 386, 216, 995, 504, 251, 387, 254, 372, + 400, 255, 383, 388, 373, 270, 996, 389, 216, 256, + 390, 259, 384, 393, 391, 216, 257, 260, 216, 394, + 392, 395, 216, 216, 263, 396, 265, 261, 266, 269, + 230, 265, 216, 266, 399, 410, 397, 398, 233, 412, + + 216, 407, 216, 406, 270, 414, 235, 241, 268, 242, + 451, 437, 234, 268, 430, 216, 498, 408, 490, 243, + 428, 519, 236, 517, 465, 546, 429, 431, 513, 495, + 544, 437, 465, 430, 216, 547, 431, 216, 559, 216, + 579, 550, 444, 541, 582, 584, 431, 593, 597, 455, + 598, 580, 601, 216, 599, 462, 585, 216, 581, 596, + 465, 216, 565, 602, 445, 465, 606, 594, 216, 605, + 647, 619, 648, 654, 673, 428, 657, 216, 563, 216, + 658, 429, 566, 669, 638, 649, 655, 656, 659, 660, + 661, 216, 662, 720, 650, 216, 663, 624, 643, 722, + + 626, 709, 735, 721, 780, 650, 657, 635, 783, 795, + 658, 771, 825, 685, 216, 649, 826, 713, 810, 811, + 997, 998, 852, 999, 942, 691, 1000, 1001, 632, 837, + 838, 839, 840, 943, 841, 842, 843, 853, 944, 1002, + 737, 1004, 1005, 1006, 1007, 1003, 1009, 1010, 1011, 1008, + 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, + 903, 1022, 1023, 1024, 1025, 1027, 1026, 1028, 1029, 1030, + 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, + 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, + 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, + + 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, + 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, + 1083, 1071, 1072, 1084, 1085, 1086, 1087, 1091, 1093, 1094, + 1095, 1096, 1088, 1097, 1098, 1099, 1100, 1101, 1089, 1092, + 1102, 1103, 1104, 1105, 1106, 1107, 1090, 1108, 1109, 1110, + 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, + 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, + 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1140, + 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1148, 1149, 1150, + 1151, 1152, 1153, 1154, 1155, 1156, 1157, 1158, 1159, 1160, + + 1161, 1162, 1164, 1165, 1163, 1166, 1167, 1168, 1169, 1170, + 647, 1171, 1172, 1173, 1174, 1175, 1176, 1177, 1178, 1179, + 1180, 1181, 1182, 658, 1183, 1184, 1185, 1186, 1187, 1188, + 1190, 1189, 1191, 1192, 1193, 1194, 1195, 1196, 1197, 1198, + 1199, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, + 1209, 1210, 1211, 1212, 1213, 1214, 1215, 1216, 1217, 1218, + 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228, + 1229, 1230, 1231, 1233, 1234, 1235, 1237, 1238, 1239, 1236, + 1240, 1241, 1232, 1242, 1243, 1244, 1245, 1246, 1247, 1248, + 1249, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, + + 1259, 1260, 1261, 1262, 1263, 1264, 1265, 1266, 1267, 1268, + 1269, 1270, 1271, 1272, 1273, 1274, 1275, 1276, 1277, 1278, + 1280, 1281, 1282, 1283, 1284, 1279, 1285, 1286, 1288, 1289, + 1290, 1291, 1292, 1293, 1294, 1295, 1188, 1296, 1189, 1297, + 1287, 1298, 1299, 1300, 1301, 1302, 1303, 1304, 1305, 1306, + 1307, 1309, 1310, 1311, 1312, 1313, 1314, 1315, 1316, 1317, + 1318, 1319, 1320, 1321, 1308, 1322, 1323, 1324, 1325, 1326, + 1327, 1328, 1329, 1330, 1331, 1332, 1333, 1334, 1335, 1336, + 1337, 1338, 1339, 1340, 1341, 1342, 1343, 1344, 1345, 1346, + 1347, 1348, 1349, 1350, 1351, 1352, 1353, 1354, 1355, 1356, + + 1357, 1358, 1359, 1360, 1361, 1362, 1363, 1364, 1365, 1366, + 1367, 1368, 1369, 1370, 1371, 1372, 1373, 1374, 1375, 1376, + 1377, 1378, 1379, 1380, 1381, 1382, 1383, 1384, 1385, 1386, + 1387, 1388, 1389, 1390, 1391, 1392, 1393, 1394, 1395, 1396, + 1397, 1399, 1400, 1401, 1402, 1403, 1404, 1405, 1407, 1408, + 1409, 1410, 1411, 1406, 1412, 1413, 1304, 1398, 1414, 1415, + 1416, 1417, 1418, 1419, 1421, 1420, 1422, 1423, 1424, 1425, + 1426, 1427, 1428, 1429, 1430, 1431, 1432, 1433, 1434, 1435, + 1436, 1437, 1438, 1439, 1440, 1441, 1442, 1443, 1444, 1445, + 1446, 1447, 1448, 1449, 1450, 1451, 1452, 1453, 1454, 1455, + + 1456, 1457, 1458, 1459, 1460, 1461, 1462, 1463, 1464, 1465, + 1466, 1467, 1468, 1469, 1470, 1471, 1472, 1473, 1474, 1475, + 1476, 1477, 1478, 1479, 1480, 1481, 1482, 1483, 1484, 1485, + 1487, 1488, 1489, 1490, 1491, 1492, 1493, 1494, 1495, 1486, + 1496, 1497, 1498, 1499, 1500, 1501, 1502, 1503, 1505, 1506, + 1507, 1508, 1509, 1510, 1511, 1512, 1513, 1514, 1515, 1516, + 1517, 1518, 1504, 1519, 1520, 1521, 1522, 1523, 1524, 1525, + 1526, 1527, 1528, 1529, 1530, 1531, 1532, 1533, 1534, 1535, + 1536, 1537, 1538, 1539, 1540, 1541, 1542, 1543, 1544, 1545, + 1546, 1547, 1548, 1549, 1550, 1551, 1552, 1553, 1554, 1555, + + 1556, 1557, 1558, 1559, 1560, 1561, 1562, 1563, 1564, 1565, + 1566, 1567, 1569, 1568, 1570, 1571, 1572, 1573, 1574, 1576, + 1578, 1579, 1580, 1581, 1582, 1583, 1584, 1585, 1586, 1587, + 1588, 1589, 1590, 1591, 1575, 1577, 1592, 1593, 1594, 1595, + 1596, 1597, 1598, 1599, 1600, 1601, 1602, 1603, 1604, 1605, + 1606, 1607, 1608, 1609, 1610, 1611, 1612, 1613, 1614, 1615, + 1616, 1617, 1618, 1619, 1620, 1621, 1622, 1623, 1624, 1625, + 1626, 1627, 1628, 1630, 1632, 1633, 1634, 1635, 1636, 1637, + 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1629, 1631, + 1646, 1647, 1648, 1649, 1650, 1651, 1652, 1653, 1654, 1655, + + 1656, 1657, 1658, 1659, 1660, 1661, 1662, 1663, 1664, 1665, + 1666, 1667, 1668, 1669, 1670, 1671, 1672, 1673, 1674, 1675, + 1676, 1677, 1678, 1679, 1680, 1681, 1682, 1683, 1684, 1685, + 1686, 1687, 1688, 1689, 1690, 1691, 1692, 1693, 1694, 1695, + 1696, 1697, 1698, 1699, 1700, 1701, 1702, 1703, 1704, 1705, + 1706, 1707, 1708, 1709, 1710, 1711, 1712, 1713, 1714, 1715, + 1716, 1717, 1718, 1719, 1720, 1721, 1722, 1723, 1724, 1725, + 1726, 1727, 1728, 1729, 1730, 1731, 1732, 1733, 1734, 1735, + 1736, 1737, 1738, 1739, 1740, 1741, 1742, 1743, 1744, 1745, + 1746, 1747, 1748, 1749, 1750, 1751, 1752, 1753, 1754, 1755, + + 1756, 1757, 1758, 1759, 1760, 1761, 1762, 1763, 1764, 1765, + 1766, 1767, 1768, 1769, 1770, 1771, 1772, 1773, 1774, 1775, + 1776, 1777, 1778, 1779, 1780, 1781, 1782, 1783, 1784, 1785, + 1786, 1787, 1788, 1789, 1790, 1791, 1792, 1793, 1794, 1795, + 1796, 1797, 1798, 1799, 1800, 1801, 1802, 1803, 1804, 1805, + 1806, 1807, 1808, 1809, 1810, 1811, 1812, 1813, 1814, 1815, + 1816, 1817, 1818, 211, 211, 211, 211, 211, 211, 211, + 213, 215, 213, 213, 213, 213, 213, 214, 214, 214, + 217, 217, 217, 217, 225, 416, 416, 416, 416, 417, + 418, 623, 418, 418, 419, 985, 419, 622, 984, 622, + + 622, 983, 982, 821, 981, 980, 979, 978, 977, 976, + 975, 974, 973, 972, 971, 970, 969, 968, 967, 966, + 965, 964, 963, 962, 961, 960, 959, 958, 957, 956, + 955, 954, 953, 952, 951, 950, 949, 948, 947, 946, + 945, 941, 940, 939, 938, 937, 821, 936, 935, 934, + 933, 932, 931, 930, 929, 928, 821, 927, 926, 925, + 924, 923, 922, 921, 920, 919, 918, 917, 916, 915, + 914, 913, 912, 911, 910, 909, 908, 907, 906, 905, + 904, 902, 901, 900, 899, 898, 897, 896, 895, 894, + 893, 892, 891, 890, 889, 888, 887, 886, 885, 884, + + 883, 882, 881, 880, 879, 878, 877, 876, 859, 875, + 874, 873, 872, 871, 870, 869, 868, 867, 866, 865, + 864, 863, 862, 861, 860, 859, 858, 857, 856, 855, + 854, 851, 850, 849, 848, 847, 846, 845, 844, 836, + 835, 834, 833, 832, 831, 830, 829, 828, 827, 824, + 823, 822, 821, 820, 819, 818, 817, 816, 815, 814, + 813, 812, 809, 808, 807, 806, 805, 804, 803, 802, + 801, 800, 799, 798, 797, 796, 794, 793, 792, 791, + 790, 789, 788, 787, 786, 785, 784, 782, 781, 779, + 778, 777, 776, 775, 774, 773, 772, 770, 769, 768, + + 767, 766, 765, 764, 763, 762, 761, 760, 759, 758, + 757, 756, 755, 754, 753, 752, 751, 750, 749, 748, + 747, 746, 745, 744, 743, 742, 741, 740, 739, 738, + 736, 734, 733, 732, 731, 730, 729, 728, 727, 726, + 725, 724, 723, 719, 718, 717, 716, 715, 714, 712, + 711, 710, 708, 707, 706, 705, 704, 703, 702, 701, + 700, 699, 698, 697, 696, 695, 694, 693, 692, 690, + 689, 688, 687, 686, 684, 683, 682, 681, 680, 679, + 678, 677, 676, 675, 674, 672, 671, 670, 668, 667, + 666, 665, 664, 663, 653, 652, 651, 650, 649, 646, + + 645, 644, 643, 642, 641, 640, 639, 638, 637, 636, + 634, 633, 631, 630, 629, 628, 627, 625, 415, 621, + 620, 618, 617, 616, 615, 614, 613, 612, 611, 610, + 609, 608, 607, 604, 603, 600, 595, 592, 591, 590, + 589, 588, 587, 586, 583, 578, 577, 576, 575, 572, + 571, 570, 569, 568, 567, 564, 562, 561, 560, 558, + 557, 556, 555, 554, 553, 552, 551, 549, 548, 545, + 543, 542, 540, 539, 538, 536, 534, 533, 532, 531, + 530, 529, 528, 527, 526, 525, 524, 523, 522, 521, + 520, 518, 516, 514, 512, 511, 510, 509, 508, 507, + + 506, 505, 503, 502, 501, 500, 499, 497, 496, 494, + 493, 492, 491, 488, 486, 484, 483, 482, 480, 477, + 476, 475, 474, 473, 472, 471, 470, 469, 468, 467, + 466, 465, 464, 463, 462, 461, 460, 459, 458, 455, + 454, 453, 452, 451, 450, 449, 448, 447, 446, 445, + 444, 443, 442, 441, 440, 439, 438, 437, 436, 435, + 434, 432, 427, 426, 425, 422, 421, 1819, 216, 415, + 212, 210, 405, 402, 401, 362, 360, 351, 347, 346, + 341, 335, 334, 305, 300, 272, 271, 258, 249, 224, + 223, 222, 216, 216, 1819, 212, 210, 1819, 41, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819 + } ; + +static yyconst flex_int16_t yy_chk[2259] = + { 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, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, + 5, 65, 65, 3, 5, 3, 282, 39, 3, 3, + 282, 68, 3, 61, 3, 3, 3, 4, 5, 21, + 812, 4, 68, 4, 5, 5, 4, 4, 39, 7, + 4, 6, 4, 4, 4, 6, 21, 39, 21, 61, + + 7, 7, 40, 31, 71, 21, 21, 7, 8, 6, + 71, 9, 32, 31, 7, 6, 6, 7, 164, 8, + 8, 31, 32, 40, 9, 9, 8, 10, 813, 9, + 32, 15, 40, 8, 9, 164, 8, 15, 11, 31, + 10, 10, 15, 9, 15, 10, 11, 316, 32, 12, + 10, 11, 11, 67, 67, 15, 15, 12, 60, 10, + 11, 11, 12, 12, 51, 13, 67, 14, 13, 51, + 14, 12, 12, 13, 62, 14, 16, 59, 66, 98, + 66, 815, 16, 13, 51, 14, 316, 16, 98, 16, + 66, 13, 13, 14, 14, 60, 19, 19, 20, 20, + + 16, 16, 17, 19, 62, 20, 59, 59, 60, 64, + 59, 19, 142, 20, 19, 142, 20, 19, 62, 20, + 22, 59, 19, 19, 20, 20, 77, 17, 17, 17, + 17, 81, 81, 17, 63, 17, 195, 22, 17, 22, + 17, 77, 17, 64, 17, 17, 22, 22, 27, 17, + 816, 64, 195, 17, 17, 27, 70, 72, 27, 28, + 27, 70, 63, 27, 27, 72, 28, 70, 80, 28, + 74, 28, 72, 91, 28, 28, 74, 75, 63, 76, + 75, 76, 280, 88, 27, 88, 74, 76, 91, 82, + 82, 88, 83, 75, 80, 28, 29, 83, 280, 84, + + 82, 76, 82, 83, 84, 88, 208, 85, 80, 86, + 84, 86, 85, 86, 83, 90, 90, 86, 89, 95, + 104, 29, 29, 29, 85, 29, 104, 86, 96, 102, + 87, 208, 29, 29, 87, 101, 29, 87, 29, 818, + 29, 131, 97, 97, 89, 95, 129, 129, 29, 30, + 87, 89, 131, 97, 96, 97, 95, 102, 96, 99, + 106, 99, 819, 131, 99, 101, 157, 157, 118, 95, + 103, 103, 102, 102, 30, 30, 30, 99, 30, 101, + 113, 103, 125, 103, 107, 30, 30, 107, 106, 30, + 220, 30, 107, 30, 118, 108, 109, 108, 107, 109, + + 125, 30, 33, 108, 106, 114, 114, 147, 118, 106, + 113, 109, 109, 108, 113, 201, 201, 338, 114, 338, + 220, 114, 166, 121, 113, 147, 121, 33, 33, 33, + 33, 33, 33, 33, 166, 33, 121, 33, 33, 33, + 33, 33, 33, 126, 33, 33, 33, 33, 33, 33, + 33, 290, 119, 119, 33, 35, 35, 115, 35, 35, + 115, 35, 35, 119, 820, 119, 35, 288, 128, 126, + 226, 120, 115, 115, 35, 127, 141, 288, 141, 290, + 126, 35, 35, 36, 36, 120, 36, 36, 141, 36, + 36, 120, 183, 126, 36, 130, 130, 143, 128, 226, + + 143, 127, 36, 183, 259, 259, 130, 128, 130, 36, + 36, 49, 128, 143, 49, 127, 49, 49, 49, 49, + 49, 49, 49, 49, 49, 49, 49, 140, 49, 49, + 132, 133, 227, 132, 822, 336, 133, 49, 49, 49, + 49, 49, 49, 132, 134, 133, 134, 155, 133, 132, + 135, 156, 134, 140, 135, 161, 235, 135, 430, 163, + 49, 140, 134, 235, 140, 135, 148, 149, 148, 149, + 135, 162, 148, 155, 135, 149, 227, 140, 168, 336, + 168, 373, 148, 373, 155, 156, 168, 163, 177, 149, + 180, 165, 161, 156, 156, 430, 165, 162, 163, 176, + + 168, 178, 165, 163, 167, 161, 167, 176, 172, 172, + 167, 162, 165, 181, 177, 179, 184, 305, 177, 172, + 167, 172, 203, 176, 180, 177, 181, 181, 823, 286, + 180, 178, 180, 184, 178, 286, 182, 182, 186, 203, + 178, 178, 178, 179, 182, 178, 305, 182, 185, 182, + 192, 185, 186, 198, 824, 305, 185, 187, 186, 179, + 192, 187, 185, 188, 179, 192, 825, 188, 199, 187, + 188, 189, 185, 189, 188, 291, 187, 189, 200, 190, + 188, 190, 232, 233, 190, 190, 191, 189, 191, 209, + 198, 204, 318, 204, 191, 202, 190, 190, 199, 204, + + 314, 199, 296, 198, 209, 209, 200, 202, 191, 202, + 299, 320, 199, 204, 233, 342, 299, 200, 291, 202, + 232, 320, 200, 318, 345, 347, 232, 233, 314, 296, + 345, 350, 359, 296, 363, 347, 318, 365, 359, 366, + 378, 350, 379, 342, 380, 382, 296, 390, 393, 392, + 393, 378, 395, 420, 393, 398, 382, 423, 379, 392, + 399, 513, 365, 395, 380, 412, 399, 390, 433, 398, + 449, 412, 449, 459, 477, 365, 460, 489, 363, 495, + 460, 365, 366, 472, 472, 477, 459, 459, 461, 461, + 461, 517, 461, 524, 525, 541, 539, 420, 577, 525, + + 423, 513, 539, 524, 586, 589, 601, 433, 589, 601, + 601, 577, 633, 489, 713, 586, 633, 517, 616, 616, + 826, 827, 660, 828, 765, 495, 828, 829, 517, 649, + 649, 649, 649, 765, 649, 649, 649, 660, 765, 830, + 541, 832, 834, 836, 837, 830, 838, 839, 840, 837, + 841, 842, 843, 844, 845, 846, 847, 848, 849, 850, + 713, 851, 852, 853, 853, 854, 853, 855, 856, 858, + 859, 860, 861, 862, 863, 864, 865, 866, 867, 868, + 869, 870, 871, 872, 874, 876, 877, 878, 879, 880, + 881, 882, 884, 885, 886, 887, 888, 889, 890, 891, + + 892, 893, 894, 895, 896, 897, 898, 898, 899, 900, + 901, 902, 903, 904, 905, 906, 908, 909, 910, 911, + 912, 900, 900, 913, 914, 915, 917, 918, 919, 920, + 921, 922, 917, 924, 925, 927, 928, 929, 917, 918, + 930, 931, 932, 933, 934, 935, 917, 936, 937, 938, + 940, 941, 942, 943, 944, 945, 947, 949, 950, 951, + 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, + 962, 963, 965, 966, 967, 969, 970, 971, 972, 973, + 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, + 984, 985, 986, 987, 988, 989, 990, 992, 993, 994, + + 995, 996, 997, 999, 996, 1000, 1001, 1002, 1003, 1004, + 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, + 1016, 1017, 1018, 1022, 1024, 1025, 1026, 1030, 1031, 1032, + 1033, 1032, 1034, 1035, 1036, 1038, 1039, 1040, 1041, 1042, + 1046, 1047, 1048, 1049, 1050, 1054, 1055, 1056, 1057, 1058, + 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1069, 1070, + 1071, 1072, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, + 1082, 1084, 1085, 1087, 1088, 1089, 1090, 1091, 1092, 1089, + 1093, 1094, 1085, 1095, 1096, 1097, 1098, 1099, 1100, 1101, + 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, + + 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, + 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, + 1133, 1134, 1135, 1136, 1137, 1132, 1139, 1140, 1141, 1143, + 1145, 1146, 1147, 1148, 1149, 1150, 1147, 1152, 1147, 1153, + 1140, 1154, 1156, 1158, 1159, 1162, 1163, 1167, 1168, 1169, + 1170, 1171, 1172, 1173, 1174, 1175, 1176, 1178, 1179, 1180, + 1181, 1182, 1183, 1184, 1170, 1185, 1187, 1188, 1189, 1190, + 1191, 1194, 1196, 1198, 1199, 1200, 1203, 1205, 1206, 1207, + 1208, 1209, 1210, 1211, 1212, 1214, 1215, 1217, 1218, 1219, + 1220, 1221, 1222, 1223, 1225, 1226, 1227, 1228, 1229, 1230, + + 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1244, 1245, 1246, + 1247, 1248, 1249, 1250, 1251, 1252, 1253, 1255, 1257, 1258, + 1259, 1260, 1261, 1262, 1263, 1264, 1265, 1266, 1267, 1268, + 1269, 1270, 1271, 1272, 1273, 1274, 1275, 1276, 1278, 1279, + 1280, 1281, 1282, 1283, 1286, 1288, 1289, 1290, 1291, 1292, + 1293, 1294, 1295, 1290, 1296, 1297, 1296, 1280, 1298, 1299, + 1304, 1306, 1306, 1306, 1307, 1306, 1308, 1318, 1323, 1324, + 1325, 1326, 1327, 1329, 1330, 1332, 1333, 1334, 1335, 1336, + 1337, 1338, 1340, 1341, 1343, 1344, 1345, 1346, 1347, 1348, + 1349, 1350, 1351, 1354, 1355, 1356, 1357, 1358, 1359, 1360, + + 1361, 1362, 1363, 1364, 1365, 1366, 1367, 1368, 1370, 1371, + 1373, 1374, 1375, 1377, 1378, 1379, 1381, 1382, 1383, 1385, + 1386, 1387, 1388, 1390, 1392, 1393, 1394, 1395, 1396, 1397, + 1398, 1399, 1400, 1401, 1402, 1403, 1404, 1405, 1406, 1397, + 1407, 1408, 1409, 1411, 1412, 1413, 1416, 1418, 1419, 1420, + 1421, 1422, 1423, 1425, 1426, 1427, 1428, 1429, 1431, 1432, + 1433, 1434, 1418, 1435, 1436, 1438, 1439, 1440, 1441, 1442, + 1443, 1444, 1445, 1446, 1447, 1451, 1453, 1455, 1457, 1460, + 1461, 1462, 1463, 1464, 1467, 1468, 1470, 1472, 1473, 1474, + 1475, 1479, 1480, 1481, 1482, 1483, 1484, 1485, 1486, 1489, + + 1490, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 1501, 1503, + 1504, 1504, 1505, 1504, 1506, 1507, 1508, 1509, 1510, 1511, + 1512, 1514, 1515, 1516, 1517, 1518, 1519, 1520, 1521, 1522, + 1523, 1525, 1526, 1527, 1510, 1511, 1528, 1529, 1530, 1531, + 1532, 1534, 1536, 1537, 1538, 1539, 1541, 1542, 1543, 1544, + 1545, 1546, 1547, 1548, 1549, 1551, 1552, 1553, 1554, 1555, + 1556, 1557, 1558, 1559, 1560, 1561, 1562, 1563, 1564, 1566, + 1567, 1568, 1571, 1572, 1573, 1574, 1575, 1576, 1577, 1578, + 1579, 1581, 1582, 1583, 1584, 1585, 1587, 1588, 1571, 1572, + 1591, 1593, 1594, 1596, 1598, 1599, 1600, 1601, 1602, 1604, + + 1605, 1606, 1607, 1608, 1609, 1610, 1611, 1612, 1615, 1616, + 1617, 1619, 1620, 1622, 1623, 1624, 1625, 1626, 1627, 1628, + 1629, 1630, 1631, 1632, 1633, 1634, 1635, 1636, 1637, 1639, + 1640, 1641, 1642, 1644, 1645, 1646, 1647, 1649, 1650, 1651, + 1652, 1653, 1654, 1655, 1656, 1657, 1658, 1659, 1660, 1661, + 1662, 1663, 1664, 1665, 1666, 1667, 1668, 1669, 1670, 1671, + 1675, 1676, 1677, 1678, 1679, 1680, 1681, 1682, 1683, 1684, + 1685, 1686, 1687, 1688, 1689, 1690, 1692, 1694, 1695, 1696, + 1698, 1700, 1702, 1703, 1706, 1707, 1708, 1709, 1711, 1712, + 1713, 1714, 1715, 1716, 1717, 1718, 1719, 1721, 1722, 1723, + + 1724, 1729, 1733, 1734, 1735, 1736, 1737, 1738, 1741, 1744, + 1745, 1746, 1747, 1749, 1750, 1751, 1752, 1753, 1754, 1755, + 1756, 1757, 1758, 1759, 1760, 1761, 1764, 1765, 1766, 1767, + 1768, 1769, 1770, 1771, 1772, 1778, 1779, 1780, 1783, 1784, + 1785, 1786, 1791, 1792, 1793, 1796, 1797, 1798, 1799, 1800, + 1801, 1802, 1803, 1804, 1805, 1806, 1807, 1808, 1809, 1811, + 1813, 1816, 1817, 1820, 1820, 1820, 1820, 1820, 1820, 1820, + 1821, 1823, 1821, 1821, 1821, 1821, 1821, 1822, 1822, 1822, + 1824, 1824, 1824, 1824, 1825, 1826, 1826, 1826, 1826, 1827, + 1828, 1831, 1828, 1828, 1829, 811, 1829, 1830, 810, 1830, + + 1830, 809, 808, 807, 806, 805, 803, 802, 801, 799, + 798, 797, 796, 795, 794, 793, 792, 791, 790, 789, + 788, 787, 786, 785, 783, 782, 781, 780, 779, 777, + 776, 775, 774, 773, 772, 771, 770, 769, 768, 767, + 766, 764, 763, 762, 761, 760, 759, 757, 756, 755, + 753, 752, 751, 750, 749, 748, 747, 746, 745, 743, + 742, 741, 740, 739, 736, 735, 732, 730, 729, 728, + 727, 726, 725, 724, 723, 721, 720, 719, 718, 716, + 715, 712, 711, 710, 709, 708, 707, 706, 705, 704, + 703, 702, 701, 700, 699, 698, 697, 696, 695, 694, + + 692, 691, 690, 689, 688, 687, 686, 685, 684, 683, + 682, 681, 680, 679, 678, 677, 676, 674, 673, 672, + 671, 670, 669, 668, 667, 666, 665, 664, 663, 662, + 661, 657, 656, 655, 654, 653, 652, 651, 650, 648, + 645, 644, 642, 641, 640, 639, 638, 635, 634, 632, + 631, 630, 629, 628, 627, 626, 625, 621, 620, 619, + 618, 617, 615, 614, 613, 612, 611, 610, 609, 608, + 607, 606, 605, 604, 603, 602, 600, 599, 598, 597, + 596, 595, 594, 593, 592, 591, 590, 588, 587, 585, + 584, 583, 582, 581, 580, 579, 578, 576, 575, 574, + + 573, 572, 571, 569, 568, 567, 566, 565, 564, 563, + 562, 561, 560, 559, 558, 557, 556, 555, 554, 553, + 552, 551, 550, 549, 548, 546, 545, 544, 543, 542, + 540, 538, 537, 536, 535, 534, 533, 532, 531, 530, + 529, 528, 527, 523, 522, 521, 520, 519, 518, 516, + 515, 514, 512, 511, 510, 509, 508, 507, 506, 505, + 504, 503, 502, 501, 500, 499, 498, 497, 496, 494, + 493, 492, 491, 490, 488, 487, 486, 485, 484, 483, + 482, 481, 480, 479, 478, 475, 474, 473, 471, 469, + 468, 466, 465, 462, 458, 455, 452, 451, 450, 446, + + 445, 444, 443, 442, 441, 440, 439, 438, 436, 435, + 432, 431, 429, 428, 427, 426, 425, 421, 416, 414, + 413, 411, 410, 409, 408, 407, 406, 405, 404, 403, + 402, 401, 400, 397, 396, 394, 391, 389, 388, 387, + 386, 385, 384, 383, 381, 377, 376, 375, 374, 372, + 371, 370, 369, 368, 367, 364, 362, 361, 360, 358, + 357, 356, 355, 354, 353, 352, 351, 349, 348, 346, + 344, 343, 341, 340, 339, 337, 335, 334, 333, 332, + 331, 330, 329, 328, 327, 326, 325, 324, 323, 322, + 321, 319, 317, 315, 313, 312, 311, 310, 309, 308, + + 307, 306, 304, 303, 302, 301, 300, 298, 297, 295, + 294, 293, 292, 289, 287, 285, 284, 283, 281, 279, + 278, 277, 276, 275, 274, 273, 272, 271, 270, 269, + 268, 267, 266, 265, 264, 263, 262, 261, 260, 258, + 257, 255, 254, 253, 252, 251, 250, 249, 248, 247, + 246, 245, 244, 243, 242, 241, 240, 239, 238, 237, + 236, 234, 231, 230, 229, 225, 221, 218, 217, 214, + 211, 210, 197, 194, 193, 175, 171, 160, 154, 153, + 144, 139, 136, 112, 105, 79, 78, 73, 69, 57, + 56, 55, 54, 52, 50, 45, 43, 41, 1819, 1819, + + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819, + 1819, 1819, 1819, 1819, 1819, 1819, 1819, 1819 + } ; + +static yy_state_type yy_last_accepting_state; +static char *yy_last_accepting_cpos; + +extern int yy_flex_debug; +int yy_flex_debug = 0; + +/* The intent behind this definition is that it'll catch + * any uses of REJECT which flex missed. + */ +#define REJECT reject_used_but_not_detected +static int yy_more_flag = 0; +static int yy_more_len = 0; +#define yymore() ((yy_more_flag) = 1) +#define YY_MORE_ADJ (yy_more_len) +#define YY_RESTORE_YY_MORE_OFFSET +char *yytext; +#line 1 "cftoken.l" +/* $NetBSD: cftoken.l,v 1.23.2.1 2012/08/29 08:42:24 tteras Exp $ */ +/* Id: cftoken.l,v 1.53 2006/08/22 18:17:17 manubsd Exp */ +#line 6 "cftoken.l" +/* + * Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 and 2003 WIDE Project. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the project nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#include "config.h" + +#include <sys/types.h> +#include <sys/param.h> +#include <sys/socket.h> + +#include <netinet/in.h> +#include PATH_IPSEC_H + +#include <stdlib.h> +#include <stdio.h> +#include <string.h> +#include <errno.h> +#include <limits.h> +#include <ctype.h> +#include <glob.h> +#ifdef HAVE_STDARG_H +#include <stdarg.h> +#else +#include <varargs.h> +#endif + +#include "var.h" +#include "misc.h" +#include "vmbuf.h" +#include "plog.h" +#include "debug.h" + +#include "algorithm.h" +#include "cfparse_proto.h" +#include "cftoken_proto.h" +#include "localconf.h" +#include "oakley.h" +#include "isakmp_var.h" +#include "isakmp.h" +#include "ipsec_doi.h" +#include "policy.h" +#include "proposal.h" +#include "remoteconf.h" +#ifdef GC +#include "gcmalloc.h" +#endif + +#include "cfparse.h" + +int yyerrorcount = 0; + +#if defined(YIPS_DEBUG) +# define YYDB plog(LLV_DEBUG2, LOCATION, NULL, \ + "begin <%d>%s\n", yy_start, yytext); +# define YYD { \ + plog(LLV_DEBUG2, LOCATION, NULL, "<%d>%s", \ + yy_start, loglevel >= LLV_DEBUG2 ? "\n" : ""); \ +} +#else +# define YYDB +# define YYD +#endif /* defined(YIPS_DEBUG) */ + +#define MAX_INCLUDE_DEPTH 10 + +static struct include_stack { + char *path; + FILE *fp; + YY_BUFFER_STATE prevstate; + int lineno; + glob_t matches; + int matchon; +} incstack[MAX_INCLUDE_DEPTH]; +static int incstackp = 0; + +static int yy_first_time = 1; +/* common seciton */ +/*octet (([01]?{digit}?{digit})|((2([0-4]{digit}))|(25[0-5]))) */ + + + + + + +#line 1665 "cftoken.c" + +#define INITIAL 0 +#define S_INI 1 +#define S_PRIV 2 +#define S_PTH 3 +#define S_LOG 4 +#define S_PAD 5 +#define S_LST 6 +#define S_RTRY 7 +#define S_CFG 8 +#define S_LDAP 9 +#define S_RAD 10 +#define S_ALGST 11 +#define S_ALGCL 12 +#define S_SAINF 13 +#define S_SAINFS 14 +#define S_RMT 15 +#define S_RMTS 16 +#define S_RMTP 17 +#define S_SA 18 +#define S_GSSENC 19 + +#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 + +static int yy_init_globals (void ); + +/* Accessor methods to globals. + These are made visible to non-reentrant scanners for convenience. */ + +int yylex_destroy (void ); + +int yyget_debug (void ); + +void yyset_debug (int debug_flag ); + +YY_EXTRA_TYPE yyget_extra (void ); + +void yyset_extra (YY_EXTRA_TYPE user_defined ); + +FILE *yyget_in (void ); + +void yyset_in (FILE * in_str ); + +FILE *yyget_out (void ); + +void yyset_out (FILE * out_str ); + +yy_size_t yyget_leng (void ); + +char *yyget_text (void ); + +int yyget_lineno (void ); + +void yyset_lineno (int line_number ); + +/* Macros after this point can all be overridden by user definitions in + * section 1. + */ + +#ifndef YY_SKIP_YYWRAP +#ifdef __cplusplus +extern "C" int yywrap (void ); +#else +extern int yywrap (void ); +#endif +#endif + + static void yyunput (int c,char *buf_ptr ); + +#ifndef yytext_ptr +static void yy_flex_strncpy (char *,yyconst char *,int ); +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen (yyconst char * ); +#endif + +#ifndef YY_NO_INPUT + +#ifdef __cplusplus +static int yyinput (void ); +#else +static int input (void ); +#endif + +#endif + +/* Amount of stuff to slurp up with each read. */ +#ifndef YY_READ_BUF_SIZE +#define YY_READ_BUF_SIZE 8192 +#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 ) +#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 (void); + +#define YY_DECL int yylex (void) +#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 break; +#endif + +#define YY_RULE_SETUP \ + YY_USER_ACTION + +/** The main scanner function which does all the work. + */ +YY_DECL +{ + register yy_state_type yy_current_state; + register char *yy_cp, *yy_bp; + register int yy_act; + +#line 142 "cftoken.l" + + + if (yy_first_time) { + BEGIN S_INI; + yy_first_time = 0; + } + + + /* privsep */ +#line 1876 "cftoken.c" + + if ( !(yy_init) ) + { + (yy_init) = 1; + +#ifdef YY_USER_INIT + YY_USER_INIT; +#endif + + if ( ! (yy_start) ) + (yy_start) = 1; /* first start state */ + + if ( ! yyin ) + yyin = stdin; + + if ( ! yyout ) + yyout = stdout; + + if ( ! YY_CURRENT_BUFFER ) { + yyensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + yy_create_buffer(yyin,YY_BUF_SIZE ); + } + + yy_load_buffer_state( ); + } + + while ( 1 ) /* loops until end-of-file is reached */ + { + (yy_more_len) = 0; + if ( (yy_more_flag) ) + { + (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); + (yy_more_flag) = 0; + } + yy_cp = (yy_c_buf_p); + + /* Support of yytext. */ + *yy_cp = (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 = (yy_start); +yy_match: + do + { + register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (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 >= 1820 ) + 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] != 2199 ); + +yy_find_action: + yy_act = yy_accept[yy_current_state]; + if ( yy_act == 0 ) + { /* have to back up */ + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (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 = (yy_hold_char); + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + goto yy_find_action; + +case 1: +YY_RULE_SETUP +#line 151 "cftoken.l" +{ BEGIN S_PRIV; YYDB; return(PRIVSEP); } + YY_BREAK +case 2: +YY_RULE_SETUP +#line 152 "cftoken.l" +{ return(BOC); } + YY_BREAK +case 3: +YY_RULE_SETUP +#line 153 "cftoken.l" +{ YYD; return(USER); } + YY_BREAK +case 4: +YY_RULE_SETUP +#line 154 "cftoken.l" +{ YYD; return(GROUP); } + YY_BREAK +case 5: +YY_RULE_SETUP +#line 155 "cftoken.l" +{ YYD; return(CHROOT); } + YY_BREAK +case 6: +YY_RULE_SETUP +#line 156 "cftoken.l" +{ BEGIN S_INI; return(EOC); } + YY_BREAK +/* path */ +case 7: +YY_RULE_SETUP +#line 159 "cftoken.l" +{ BEGIN S_PTH; YYDB; return(PATH); } + YY_BREAK +case 8: +YY_RULE_SETUP +#line 160 "cftoken.l" +{ YYD; yylval.num = LC_PATHTYPE_INCLUDE; + return(PATHTYPE); } + YY_BREAK +case 9: +YY_RULE_SETUP +#line 162 "cftoken.l" +{ YYD; yylval.num = LC_PATHTYPE_PSK; + return(PATHTYPE); } + YY_BREAK +case 10: +YY_RULE_SETUP +#line 164 "cftoken.l" +{ YYD; yylval.num = LC_PATHTYPE_CERT; + return(PATHTYPE); } + YY_BREAK +case 11: +YY_RULE_SETUP +#line 166 "cftoken.l" +{ YYD; yylval.num = LC_PATHTYPE_SCRIPT; + return(PATHTYPE); } + YY_BREAK +case 12: +YY_RULE_SETUP +#line 168 "cftoken.l" +{ YYD; yylval.num = LC_PATHTYPE_BACKUPSA; + return(PATHTYPE); } + YY_BREAK +case 13: +YY_RULE_SETUP +#line 170 "cftoken.l" +{ YYD; yylval.num = LC_PATHTYPE_PIDFILE; + return(PATHTYPE); } + YY_BREAK +case 14: +YY_RULE_SETUP +#line 172 "cftoken.l" +{ BEGIN S_INI; YYDB; return(EOS); } + YY_BREAK +/* include */ +case 15: +YY_RULE_SETUP +#line 175 "cftoken.l" +{ YYDB; return(INCLUDE); } + YY_BREAK +/* pfkey_buffer */ +case 16: +YY_RULE_SETUP +#line 178 "cftoken.l" +{ YYDB; return(PFKEY_BUFFER); } + YY_BREAK +/* special */ +case 17: +YY_RULE_SETUP +#line 181 "cftoken.l" +{ YYDB; return(COMPLEX_BUNDLE); } + YY_BREAK +/* logging */ +case 18: +YY_RULE_SETUP +#line 184 "cftoken.l" +{ BEGIN S_LOG; YYDB; return(LOGGING); } + YY_BREAK +case 19: +YY_RULE_SETUP +#line 185 "cftoken.l" +{ YYD; yylval.num = LLV_ERROR; return(LOGLEV); } + YY_BREAK +case 20: +YY_RULE_SETUP +#line 186 "cftoken.l" +{ YYD; yylval.num = LLV_WARNING; return(LOGLEV); } + YY_BREAK +case 21: +YY_RULE_SETUP +#line 187 "cftoken.l" +{ YYD; yylval.num = LLV_NOTIFY; return(LOGLEV); } + YY_BREAK +case 22: +YY_RULE_SETUP +#line 188 "cftoken.l" +{ YYD; yylval.num = LLV_INFO; return(LOGLEV); } + YY_BREAK +case 23: +YY_RULE_SETUP +#line 189 "cftoken.l" +{ YYD; yylval.num = LLV_DEBUG; return(LOGLEV); } + YY_BREAK +case 24: +YY_RULE_SETUP +#line 190 "cftoken.l" +{ YYD; yylval.num = LLV_DEBUG2; return(LOGLEV); } + YY_BREAK +case 25: +YY_RULE_SETUP +#line 191 "cftoken.l" +{ BEGIN S_INI; return(EOS); } + YY_BREAK +/* padding */ +case 26: +YY_RULE_SETUP +#line 194 "cftoken.l" +{ BEGIN S_PAD; YYDB; return(PADDING); } + YY_BREAK +case 27: +YY_RULE_SETUP +#line 195 "cftoken.l" +{ return(BOC); } + YY_BREAK +case 28: +YY_RULE_SETUP +#line 196 "cftoken.l" +{ YYD; return(PAD_RANDOMIZE); } + YY_BREAK +case 29: +YY_RULE_SETUP +#line 197 "cftoken.l" +{ YYD; return(PAD_RANDOMIZELEN); } + YY_BREAK +case 30: +YY_RULE_SETUP +#line 198 "cftoken.l" +{ YYD; return(PAD_MAXLEN); } + YY_BREAK +case 31: +YY_RULE_SETUP +#line 199 "cftoken.l" +{ YYD; return(PAD_STRICT); } + YY_BREAK +case 32: +YY_RULE_SETUP +#line 200 "cftoken.l" +{ YYD; return(PAD_EXCLTAIL); } + YY_BREAK +case 33: +YY_RULE_SETUP +#line 201 "cftoken.l" +{ BEGIN S_INI; return(EOC); } + YY_BREAK +/* listen */ +case 34: +YY_RULE_SETUP +#line 204 "cftoken.l" +{ BEGIN S_LST; YYDB; return(LISTEN); } + YY_BREAK +case 35: +YY_RULE_SETUP +#line 205 "cftoken.l" +{ return(BOC); } + YY_BREAK +case 36: +YY_RULE_SETUP +#line 206 "cftoken.l" +{ YYD; return(X_ISAKMP); } + YY_BREAK +case 37: +YY_RULE_SETUP +#line 207 "cftoken.l" +{ YYD; return(X_ISAKMP_NATT); } + YY_BREAK +case 38: +YY_RULE_SETUP +#line 208 "cftoken.l" +{ YYD; return(X_ADMIN); } + YY_BREAK +case 39: +YY_RULE_SETUP +#line 209 "cftoken.l" +{ YYD; return(ADMINSOCK); } + YY_BREAK +case 40: +YY_RULE_SETUP +#line 210 "cftoken.l" +{ YYD; return(DISABLED); } + YY_BREAK +case 41: +YY_RULE_SETUP +#line 211 "cftoken.l" +{ YYD; return(STRICT_ADDRESS); } + YY_BREAK +case 42: +YY_RULE_SETUP +#line 212 "cftoken.l" +{ BEGIN S_INI; return(EOC); } + YY_BREAK +/* radius config */ +case 43: +YY_RULE_SETUP +#line 215 "cftoken.l" +{ BEGIN S_RAD; YYDB; return(RADCFG); } + YY_BREAK +case 44: +YY_RULE_SETUP +#line 216 "cftoken.l" +{ return(BOC); } + YY_BREAK +case 45: +YY_RULE_SETUP +#line 217 "cftoken.l" +{ YYD; return(RAD_AUTH); } + YY_BREAK +case 46: +YY_RULE_SETUP +#line 218 "cftoken.l" +{ YYD; return(RAD_ACCT); } + YY_BREAK +case 47: +YY_RULE_SETUP +#line 219 "cftoken.l" +{ YYD; return(RAD_TIMEOUT); } + YY_BREAK +case 48: +YY_RULE_SETUP +#line 220 "cftoken.l" +{ YYD; return(RAD_RETRIES); } + YY_BREAK +case 49: +YY_RULE_SETUP +#line 221 "cftoken.l" +{ BEGIN S_INI; return(EOC); } + YY_BREAK +/* ldap config */ +case 50: +YY_RULE_SETUP +#line 224 "cftoken.l" +{ BEGIN S_LDAP; YYDB; return(LDAPCFG); } + YY_BREAK +case 51: +YY_RULE_SETUP +#line 225 "cftoken.l" +{ return(BOC); } + YY_BREAK +case 52: +YY_RULE_SETUP +#line 226 "cftoken.l" +{ YYD; return(LDAP_PVER); } + YY_BREAK +case 53: +YY_RULE_SETUP +#line 227 "cftoken.l" +{ YYD; return(LDAP_HOST); } + YY_BREAK +case 54: +YY_RULE_SETUP +#line 228 "cftoken.l" +{ YYD; return(LDAP_PORT); } + YY_BREAK +case 55: +YY_RULE_SETUP +#line 229 "cftoken.l" +{ YYD; return(LDAP_BASE); } + YY_BREAK +case 56: +YY_RULE_SETUP +#line 230 "cftoken.l" +{ YYD; return(LDAP_SUBTREE); } + YY_BREAK +case 57: +YY_RULE_SETUP +#line 231 "cftoken.l" +{ YYD; return(LDAP_BIND_DN); } + YY_BREAK +case 58: +YY_RULE_SETUP +#line 232 "cftoken.l" +{ YYD; return(LDAP_BIND_PW); } + YY_BREAK +case 59: +YY_RULE_SETUP +#line 233 "cftoken.l" +{ YYD; return(LDAP_ATTR_USER); } + YY_BREAK +case 60: +YY_RULE_SETUP +#line 234 "cftoken.l" +{ YYD; return(LDAP_ATTR_ADDR); } + YY_BREAK +case 61: +YY_RULE_SETUP +#line 235 "cftoken.l" +{ YYD; return(LDAP_ATTR_MASK); } + YY_BREAK +case 62: +YY_RULE_SETUP +#line 236 "cftoken.l" +{ YYD; return(LDAP_ATTR_GROUP); } + YY_BREAK +case 63: +YY_RULE_SETUP +#line 237 "cftoken.l" +{ YYD; return(LDAP_ATTR_MEMBER); } + YY_BREAK +case 64: +YY_RULE_SETUP +#line 238 "cftoken.l" +{ BEGIN S_INI; return(EOC); } + YY_BREAK +/* mode_cfg */ +case 65: +YY_RULE_SETUP +#line 241 "cftoken.l" +{ BEGIN S_CFG; YYDB; return(MODECFG); } + YY_BREAK +case 66: +YY_RULE_SETUP +#line 242 "cftoken.l" +{ return(BOC); } + YY_BREAK +case 67: +YY_RULE_SETUP +#line 243 "cftoken.l" +{ YYD; return(CFG_NET4); } + YY_BREAK +case 68: +YY_RULE_SETUP +#line 244 "cftoken.l" +{ YYD; return(CFG_MASK4); } + YY_BREAK +case 69: +YY_RULE_SETUP +#line 245 "cftoken.l" +{ YYD; return(CFG_DNS4); } + YY_BREAK +case 70: +YY_RULE_SETUP +#line 246 "cftoken.l" +{ YYD; return(CFG_NBNS4); } + YY_BREAK +case 71: +YY_RULE_SETUP +#line 247 "cftoken.l" +{ YYD; return(CFG_NBNS4); } + YY_BREAK +case 72: +YY_RULE_SETUP +#line 248 "cftoken.l" +{ YYD; return(CFG_DEFAULT_DOMAIN); } + YY_BREAK +case 73: +YY_RULE_SETUP +#line 249 "cftoken.l" +{ YYD; return(CFG_AUTH_SOURCE); } + YY_BREAK +case 74: +YY_RULE_SETUP +#line 250 "cftoken.l" +{ YYD; return(CFG_AUTH_GROUPS); } + YY_BREAK +case 75: +YY_RULE_SETUP +#line 251 "cftoken.l" +{ YYD; return(CFG_GROUP_SOURCE); } + YY_BREAK +case 76: +YY_RULE_SETUP +#line 252 "cftoken.l" +{ YYD; return(CFG_CONF_SOURCE); } + YY_BREAK +case 77: +YY_RULE_SETUP +#line 253 "cftoken.l" +{ YYD; return(CFG_ACCOUNTING); } + YY_BREAK +case 78: +YY_RULE_SETUP +#line 254 "cftoken.l" +{ YYD; return(CFG_SYSTEM); } + YY_BREAK +case 79: +YY_RULE_SETUP +#line 255 "cftoken.l" +{ YYD; return(CFG_LOCAL); } + YY_BREAK +case 80: +YY_RULE_SETUP +#line 256 "cftoken.l" +{ YYD; return(CFG_NONE); } + YY_BREAK +case 81: +YY_RULE_SETUP +#line 257 "cftoken.l" +{ YYD; return(CFG_RADIUS); } + YY_BREAK +case 82: +YY_RULE_SETUP +#line 258 "cftoken.l" +{ YYD; return(CFG_PAM); } + YY_BREAK +case 83: +YY_RULE_SETUP +#line 259 "cftoken.l" +{ YYD; return(CFG_LDAP); } + YY_BREAK +case 84: +YY_RULE_SETUP +#line 260 "cftoken.l" +{ YYD; return(CFG_POOL_SIZE); } + YY_BREAK +case 85: +YY_RULE_SETUP +#line 261 "cftoken.l" +{ YYD; return(CFG_MOTD); } + YY_BREAK +case 86: +YY_RULE_SETUP +#line 262 "cftoken.l" +{ YYD; return(CFG_AUTH_THROTTLE); } + YY_BREAK +case 87: +YY_RULE_SETUP +#line 263 "cftoken.l" +{ YYD; return(CFG_SPLIT_NETWORK); } + YY_BREAK +case 88: +YY_RULE_SETUP +#line 264 "cftoken.l" +{ YYD; return(CFG_SPLIT_LOCAL); } + YY_BREAK +case 89: +YY_RULE_SETUP +#line 265 "cftoken.l" +{ YYD; return(CFG_SPLIT_INCLUDE); } + YY_BREAK +case 90: +YY_RULE_SETUP +#line 266 "cftoken.l" +{ YYD; return(CFG_SPLIT_DNS); } + YY_BREAK +case 91: +YY_RULE_SETUP +#line 267 "cftoken.l" +{ YYD; return(CFG_PFS_GROUP); } + YY_BREAK +case 92: +YY_RULE_SETUP +#line 268 "cftoken.l" +{ YYD; return(CFG_SAVE_PASSWD); } + YY_BREAK +case 93: +YY_RULE_SETUP +#line 269 "cftoken.l" +{ YYD; return(COMMA); } + YY_BREAK +case 94: +YY_RULE_SETUP +#line 270 "cftoken.l" +{ BEGIN S_INI; return(EOC); } + YY_BREAK +/* timer */ +case 95: +YY_RULE_SETUP +#line 273 "cftoken.l" +{ BEGIN S_RTRY; YYDB; return(RETRY); } + YY_BREAK +case 96: +YY_RULE_SETUP +#line 274 "cftoken.l" +{ return(BOC); } + YY_BREAK +case 97: +YY_RULE_SETUP +#line 275 "cftoken.l" +{ YYD; return(RETRY_COUNTER); } + YY_BREAK +case 98: +YY_RULE_SETUP +#line 276 "cftoken.l" +{ YYD; return(RETRY_INTERVAL); } + YY_BREAK +case 99: +YY_RULE_SETUP +#line 277 "cftoken.l" +{ YYD; return(RETRY_PERSEND); } + YY_BREAK +case 100: +YY_RULE_SETUP +#line 278 "cftoken.l" +{ YYD; return(RETRY_PHASE1); } + YY_BREAK +case 101: +YY_RULE_SETUP +#line 279 "cftoken.l" +{ YYD; return(RETRY_PHASE2); } + YY_BREAK +case 102: +YY_RULE_SETUP +#line 280 "cftoken.l" +{ YYD; return(NATT_KA); } + YY_BREAK +case 103: +YY_RULE_SETUP +#line 281 "cftoken.l" +{ BEGIN S_INI; return(EOC); } + YY_BREAK +/* sainfo */ +case 104: +YY_RULE_SETUP +#line 284 "cftoken.l" +{ BEGIN S_SAINF; YYDB; return(SAINFO); } + YY_BREAK +case 105: +YY_RULE_SETUP +#line 285 "cftoken.l" +{ YYD; return(ANONYMOUS); } + YY_BREAK +case 106: +YY_RULE_SETUP +#line 286 "cftoken.l" +{ YYD; return(CLIENTADDR); } + YY_BREAK +case 107: +YY_RULE_SETUP +#line 287 "cftoken.l" +{ YYD; return(PORTANY); } + YY_BREAK +case 108: +YY_RULE_SETUP +#line 288 "cftoken.l" +{ YYD; return(ANY); } + YY_BREAK +case 109: +YY_RULE_SETUP +#line 289 "cftoken.l" +{ YYD; return(FROM); } + YY_BREAK +case 110: +YY_RULE_SETUP +#line 290 "cftoken.l" +{ YYD; return(GROUP); } + YY_BREAK +/* sainfo spec */ +case 111: +YY_RULE_SETUP +#line 292 "cftoken.l" +{ BEGIN S_SAINFS; return(BOC); } + YY_BREAK +case 112: +YY_RULE_SETUP +#line 293 "cftoken.l" +{ BEGIN S_INI; return(EOS); } + YY_BREAK +case 113: +YY_RULE_SETUP +#line 294 "cftoken.l" +{ BEGIN S_INI; return(EOC); } + YY_BREAK +case 114: +YY_RULE_SETUP +#line 295 "cftoken.l" +{ YYD; return(PFS_GROUP); } + YY_BREAK +case 115: +YY_RULE_SETUP +#line 296 "cftoken.l" +{ YYD; return(REMOTEID); } + YY_BREAK +case 116: +YY_RULE_SETUP +#line 297 "cftoken.l" +{ YYD; return(MY_IDENTIFIER); } + YY_BREAK +case 117: +YY_RULE_SETUP +#line 298 "cftoken.l" +{ YYD; return(LIFETIME); } + YY_BREAK +case 118: +YY_RULE_SETUP +#line 299 "cftoken.l" +{ YYD; return(LIFETYPE_TIME); } + YY_BREAK +case 119: +YY_RULE_SETUP +#line 300 "cftoken.l" +{ YYD; return(LIFETYPE_BYTE); } + YY_BREAK +case 120: +YY_RULE_SETUP +#line 301 "cftoken.l" +{ YYD; yylval.num = algclass_ipsec_enc; return(ALGORITHM_CLASS); } + YY_BREAK +case 121: +YY_RULE_SETUP +#line 302 "cftoken.l" +{ YYD; yylval.num = algclass_ipsec_auth; return(ALGORITHM_CLASS); } + YY_BREAK +case 122: +YY_RULE_SETUP +#line 303 "cftoken.l" +{ YYD; yylval.num = algclass_ipsec_comp; return(ALGORITHM_CLASS); } + YY_BREAK +case 123: +YY_RULE_SETUP +#line 304 "cftoken.l" +{ YYD; return(COMMA); } + YY_BREAK +/* remote */ +case 124: +YY_RULE_SETUP +#line 307 "cftoken.l" +{ BEGIN S_RMT; YYDB; return(REMOTE); } + YY_BREAK +case 125: +YY_RULE_SETUP +#line 308 "cftoken.l" +{ YYD; return(ANONYMOUS); } + YY_BREAK +case 126: +YY_RULE_SETUP +#line 309 "cftoken.l" +{ YYD; return(INHERIT); } + YY_BREAK +case 127: +YY_RULE_SETUP +#line 310 "cftoken.l" +{ BEGIN S_INI; YYDB; return(EOS); } + YY_BREAK +/* remote spec */ +case 128: +YY_RULE_SETUP +#line 312 "cftoken.l" +{ BEGIN S_RMTS; return(BOC); } + YY_BREAK +case 129: +YY_RULE_SETUP +#line 313 "cftoken.l" +{ BEGIN S_INI; return(EOC); } + YY_BREAK +case 130: +YY_RULE_SETUP +#line 314 "cftoken.l" +{ YYD; return(REMOTE_ADDRESS); } + YY_BREAK +case 131: +YY_RULE_SETUP +#line 315 "cftoken.l" +{ YYD; return(EXCHANGE_MODE); } + YY_BREAK +case 132: +YY_RULE_SETUP +#line 316 "cftoken.l" +{ YYD; /* XXX ignored, but to be handled. */ ; } + YY_BREAK +case 133: +YY_RULE_SETUP +#line 317 "cftoken.l" +{ YYD; yylval.num = ISAKMP_ETYPE_BASE; return(EXCHANGETYPE); } + YY_BREAK +case 134: +YY_RULE_SETUP +#line 318 "cftoken.l" +{ YYD; yylval.num = ISAKMP_ETYPE_IDENT; return(EXCHANGETYPE); } + YY_BREAK +case 135: +YY_RULE_SETUP +#line 319 "cftoken.l" +{ YYD; yylval.num = ISAKMP_ETYPE_AGG; return(EXCHANGETYPE); } + YY_BREAK +case 136: +YY_RULE_SETUP +#line 320 "cftoken.l" +{ YYD; return(DOI); } + YY_BREAK +case 137: +YY_RULE_SETUP +#line 321 "cftoken.l" +{ YYD; yylval.num = IPSEC_DOI; return(DOITYPE); } + YY_BREAK +case 138: +YY_RULE_SETUP +#line 322 "cftoken.l" +{ YYD; return(SITUATION); } + YY_BREAK +case 139: +YY_RULE_SETUP +#line 323 "cftoken.l" +{ YYD; yylval.num = IPSECDOI_SIT_IDENTITY_ONLY; return(SITUATIONTYPE); } + YY_BREAK +case 140: +YY_RULE_SETUP +#line 324 "cftoken.l" +{ YYD; yylval.num = IPSECDOI_SIT_SECRECY; return(SITUATIONTYPE); } + YY_BREAK +case 141: +YY_RULE_SETUP +#line 325 "cftoken.l" +{ YYD; yylval.num = IPSECDOI_SIT_INTEGRITY; return(SITUATIONTYPE); } + YY_BREAK +case 142: +YY_RULE_SETUP +#line 326 "cftoken.l" +{ YYD; return(MY_IDENTIFIER); } + YY_BREAK +case 143: +YY_RULE_SETUP +#line 327 "cftoken.l" +{ YYD; return(XAUTH_LOGIN); /* formerly identifier type login */ } + YY_BREAK +case 144: +YY_RULE_SETUP +#line 328 "cftoken.l" +{ YYD; return(PEERS_IDENTIFIER); } + YY_BREAK +case 145: +YY_RULE_SETUP +#line 329 "cftoken.l" +{ YYD; return(VERIFY_IDENTIFIER); } + YY_BREAK +case 146: +YY_RULE_SETUP +#line 330 "cftoken.l" +{ YYD; return(CERTIFICATE_TYPE); } + YY_BREAK +case 147: +YY_RULE_SETUP +#line 331 "cftoken.l" +{ YYD; return(CA_TYPE); } + YY_BREAK +case 148: +YY_RULE_SETUP +#line 332 "cftoken.l" +{ YYD; yylval.num = ISAKMP_CERT_X509SIGN; return(CERT_X509); } + YY_BREAK +case 149: +YY_RULE_SETUP +#line 333 "cftoken.l" +{ YYD; yylval.num = ISAKMP_CERT_PLAINRSA; return(CERT_PLAINRSA); } + YY_BREAK +case 150: +YY_RULE_SETUP +#line 334 "cftoken.l" +{ YYD; return(PEERS_CERTFILE); } + YY_BREAK +case 151: +YY_RULE_SETUP +#line 335 "cftoken.l" +{ YYD; return(DNSSEC); } + YY_BREAK +case 152: +YY_RULE_SETUP +#line 336 "cftoken.l" +{ YYD; return(VERIFY_CERT); } + YY_BREAK +case 153: +YY_RULE_SETUP +#line 337 "cftoken.l" +{ YYD; return(SEND_CERT); } + YY_BREAK +case 154: +YY_RULE_SETUP +#line 338 "cftoken.l" +{ YYD; return(SEND_CR); } + YY_BREAK +case 155: +YY_RULE_SETUP +#line 339 "cftoken.l" +{ YYD; return(MATCH_EMPTY_CR); } + YY_BREAK +case 156: +YY_RULE_SETUP +#line 340 "cftoken.l" +{ YYD; return(DH_GROUP); } + YY_BREAK +case 157: +YY_RULE_SETUP +#line 341 "cftoken.l" +{ YYD; return(NONCE_SIZE); } + YY_BREAK +case 158: +YY_RULE_SETUP +#line 342 "cftoken.l" +{ YYD; return(GENERATE_POLICY); } + YY_BREAK +case 159: +YY_RULE_SETUP +#line 343 "cftoken.l" +{ YYD; yylval.num = GENERATE_POLICY_UNIQUE; return(GENERATE_LEVEL); } + YY_BREAK +case 160: +YY_RULE_SETUP +#line 344 "cftoken.l" +{ YYD; yylval.num = GENERATE_POLICY_REQUIRE; return(GENERATE_LEVEL); } + YY_BREAK +case 161: +YY_RULE_SETUP +#line 345 "cftoken.l" +{ YYD; return(SUPPORT_PROXY); } + YY_BREAK +case 162: +YY_RULE_SETUP +#line 346 "cftoken.l" +{ YYD; return(INITIAL_CONTACT); } + YY_BREAK +case 163: +YY_RULE_SETUP +#line 347 "cftoken.l" +{ YYD; return(NAT_TRAVERSAL); } + YY_BREAK +case 164: +YY_RULE_SETUP +#line 348 "cftoken.l" +{ YYD; return(REMOTE_FORCE_LEVEL); } + YY_BREAK +case 165: +YY_RULE_SETUP +#line 349 "cftoken.l" +{ YYD; return(PROPOSAL_CHECK); } + YY_BREAK +case 166: +YY_RULE_SETUP +#line 350 "cftoken.l" +{ YYD; yylval.num = PROP_CHECK_OBEY; return(PROPOSAL_CHECK_LEVEL); } + YY_BREAK +case 167: +YY_RULE_SETUP +#line 351 "cftoken.l" +{ YYD; yylval.num = PROP_CHECK_STRICT; return(PROPOSAL_CHECK_LEVEL); } + YY_BREAK +case 168: +YY_RULE_SETUP +#line 352 "cftoken.l" +{ YYD; yylval.num = PROP_CHECK_EXACT; return(PROPOSAL_CHECK_LEVEL); } + YY_BREAK +case 169: +YY_RULE_SETUP +#line 353 "cftoken.l" +{ YYD; yylval.num = PROP_CHECK_CLAIM; return(PROPOSAL_CHECK_LEVEL); } + YY_BREAK +case 170: +YY_RULE_SETUP +#line 354 "cftoken.l" +{ YYD; return(KEEPALIVE); } + YY_BREAK +case 171: +YY_RULE_SETUP +#line 355 "cftoken.l" +{ YYD; return(PASSIVE); } + YY_BREAK +case 172: +YY_RULE_SETUP +#line 356 "cftoken.l" +{ YYD; return(LIFETIME); } + YY_BREAK +case 173: +YY_RULE_SETUP +#line 357 "cftoken.l" +{ YYD; return(LIFETYPE_TIME); } + YY_BREAK +case 174: +YY_RULE_SETUP +#line 358 "cftoken.l" +{ YYD; return(LIFETYPE_BYTE); } + YY_BREAK +case 175: +YY_RULE_SETUP +#line 359 "cftoken.l" +{ YYD; return(DPD); } + YY_BREAK +case 176: +YY_RULE_SETUP +#line 360 "cftoken.l" +{ YYD; return(DPD_DELAY); } + YY_BREAK +case 177: +YY_RULE_SETUP +#line 361 "cftoken.l" +{ YYD; return(DPD_RETRY); } + YY_BREAK +case 178: +YY_RULE_SETUP +#line 362 "cftoken.l" +{ YYD; return(DPD_MAXFAIL); } + YY_BREAK +case 179: +YY_RULE_SETUP +#line 363 "cftoken.l" +{ YYD; return(PH1ID); } + YY_BREAK +case 180: +YY_RULE_SETUP +#line 364 "cftoken.l" +{ YYD; return(IKE_FRAG); } + YY_BREAK +case 181: +YY_RULE_SETUP +#line 365 "cftoken.l" +{ YYD; return(ESP_FRAG); } + YY_BREAK +case 182: +YY_RULE_SETUP +#line 366 "cftoken.l" +{ YYD; return(SCRIPT); } + YY_BREAK +case 183: +YY_RULE_SETUP +#line 367 "cftoken.l" +{ YYD; return(PHASE1_UP); } + YY_BREAK +case 184: +YY_RULE_SETUP +#line 368 "cftoken.l" +{ YYD; return(PHASE1_DOWN); } + YY_BREAK +case 185: +YY_RULE_SETUP +#line 369 "cftoken.l" +{ YYD; return(PHASE1_DEAD); } + YY_BREAK +case 186: +YY_RULE_SETUP +#line 370 "cftoken.l" +{ YYD; return(MODE_CFG); } + YY_BREAK +case 187: +YY_RULE_SETUP +#line 371 "cftoken.l" +{ YYD; return(WEAK_PHASE1_CHECK); } + YY_BREAK +case 188: +YY_RULE_SETUP +#line 372 "cftoken.l" +{ YYD; return(REKEY); } + YY_BREAK +/* remote proposal */ +case 189: +YY_RULE_SETUP +#line 374 "cftoken.l" +{ BEGIN S_RMTP; YYDB; return(PROPOSAL); } + YY_BREAK +case 190: +YY_RULE_SETUP +#line 375 "cftoken.l" +{ return(BOC); } + YY_BREAK +case 191: +YY_RULE_SETUP +#line 376 "cftoken.l" +{ BEGIN S_RMTS; return(EOC); } + YY_BREAK +case 192: +YY_RULE_SETUP +#line 377 "cftoken.l" +{ YYD; return(LIFETIME); } + YY_BREAK +case 193: +YY_RULE_SETUP +#line 378 "cftoken.l" +{ YYD; return(LIFETYPE_TIME); } + YY_BREAK +case 194: +YY_RULE_SETUP +#line 379 "cftoken.l" +{ YYD; return(LIFETYPE_BYTE); } + YY_BREAK +case 195: +YY_RULE_SETUP +#line 380 "cftoken.l" +{ YYD; yylval.num = algclass_isakmp_enc; return(ALGORITHM_CLASS); } + YY_BREAK +case 196: +YY_RULE_SETUP +#line 381 "cftoken.l" +{ YYD; yylval.num = algclass_isakmp_ameth; return(ALGORITHM_CLASS); } + YY_BREAK +case 197: +YY_RULE_SETUP +#line 382 "cftoken.l" +{ YYD; yylval.num = algclass_isakmp_hash; return(ALGORITHM_CLASS); } + YY_BREAK +case 198: +YY_RULE_SETUP +#line 383 "cftoken.l" +{ YYD; return(DH_GROUP); } + YY_BREAK +case 199: +YY_RULE_SETUP +#line 384 "cftoken.l" +{ YYD; return(GSS_ID); } + YY_BREAK +case 200: +YY_RULE_SETUP +#line 385 "cftoken.l" +{ YYD; return(GSS_ID); } /* for back compatibility */ + YY_BREAK +/* GSS ID encoding type (global) */ +case 201: +YY_RULE_SETUP +#line 388 "cftoken.l" +{ BEGIN S_GSSENC; YYDB; return(GSS_ID_ENC); } + YY_BREAK +case 202: +YY_RULE_SETUP +#line 389 "cftoken.l" +{ YYD; yylval.num = LC_GSSENC_LATIN1; + return(GSS_ID_ENCTYPE); } + YY_BREAK +case 203: +YY_RULE_SETUP +#line 391 "cftoken.l" +{ YYD; yylval.num = LC_GSSENC_UTF16LE; + return(GSS_ID_ENCTYPE); } + YY_BREAK +case 204: +YY_RULE_SETUP +#line 393 "cftoken.l" +{ BEGIN S_INI; YYDB; return(EOS); } + YY_BREAK +/* parameter */ +case 205: +YY_RULE_SETUP +#line 396 "cftoken.l" +{ YYD; yylval.num = TRUE; return(SWITCH); } + YY_BREAK +case 206: +YY_RULE_SETUP +#line 397 "cftoken.l" +{ YYD; yylval.num = FALSE; return(SWITCH); } + YY_BREAK +/* prefix */ +case 207: +YY_RULE_SETUP +#line 400 "cftoken.l" +{ + YYD; + yytext++; + yylval.num = atoi(yytext); + return(PREFIX); + } + YY_BREAK +/* port number */ +case 208: +YY_RULE_SETUP +#line 408 "cftoken.l" +{ + char *p = yytext; + YYD; + while (*++p != ']') ; + *p = 0; + yytext++; + yylval.num = atoi(yytext); + return(PORT); + } + YY_BREAK +/* address range */ +case 209: +YY_RULE_SETUP +#line 419 "cftoken.l" +{ + YYD; + yytext++; + yylval.val = vmalloc(yyleng + 1); + if (yylval.val == NULL) { + yyerror("vmalloc failed"); + return -1; + } + memcpy(yylval.val->v, yytext, yylval.val->l); + return(ADDRRANGE); + } + YY_BREAK +/* upper protocol */ +case 210: +YY_RULE_SETUP +#line 432 "cftoken.l" +{ YYD; yylval.num = IPPROTO_ESP; return(UL_PROTO); } + YY_BREAK +case 211: +YY_RULE_SETUP +#line 433 "cftoken.l" +{ YYD; yylval.num = IPPROTO_AH; return(UL_PROTO); } + YY_BREAK +case 212: +YY_RULE_SETUP +#line 434 "cftoken.l" +{ YYD; yylval.num = IPPROTO_IPCOMP; return(UL_PROTO); } + YY_BREAK +case 213: +YY_RULE_SETUP +#line 435 "cftoken.l" +{ YYD; yylval.num = IPPROTO_ICMP; return(UL_PROTO); } + YY_BREAK +case 214: +YY_RULE_SETUP +#line 436 "cftoken.l" +{ YYD; yylval.num = IPPROTO_ICMPV6; return(UL_PROTO); } + YY_BREAK +case 215: +YY_RULE_SETUP +#line 437 "cftoken.l" +{ YYD; yylval.num = IPPROTO_TCP; return(UL_PROTO); } + YY_BREAK +case 216: +YY_RULE_SETUP +#line 438 "cftoken.l" +{ YYD; yylval.num = IPPROTO_UDP; return(UL_PROTO); } + YY_BREAK +case 217: +YY_RULE_SETUP +#line 439 "cftoken.l" +{ YYD; yylval.num = IPPROTO_GRE; return(UL_PROTO); } + YY_BREAK +/* algorithm type */ +case 218: +YY_RULE_SETUP +#line 442 "cftoken.l" +{ YYD; yylval.num = algtype_des_iv64; return(ALGORITHMTYPE); } + YY_BREAK +case 219: +YY_RULE_SETUP +#line 443 "cftoken.l" +{ YYD; yylval.num = algtype_des; return(ALGORITHMTYPE); } + YY_BREAK +case 220: +YY_RULE_SETUP +#line 444 "cftoken.l" +{ YYD; yylval.num = algtype_3des; return(ALGORITHMTYPE); } + YY_BREAK +case 221: +YY_RULE_SETUP +#line 445 "cftoken.l" +{ YYD; yylval.num = algtype_rc5; return(ALGORITHMTYPE); } + YY_BREAK +case 222: +YY_RULE_SETUP +#line 446 "cftoken.l" +{ YYD; yylval.num = algtype_idea; return(ALGORITHMTYPE); } + YY_BREAK +case 223: +YY_RULE_SETUP +#line 447 "cftoken.l" +{ YYD; yylval.num = algtype_cast128; return(ALGORITHMTYPE); } + YY_BREAK +case 224: +YY_RULE_SETUP +#line 448 "cftoken.l" +{ YYD; yylval.num = algtype_blowfish; return(ALGORITHMTYPE); } + YY_BREAK +case 225: +YY_RULE_SETUP +#line 449 "cftoken.l" +{ YYD; yylval.num = algtype_3idea; return(ALGORITHMTYPE); } + YY_BREAK +case 226: +YY_RULE_SETUP +#line 450 "cftoken.l" +{ YYD; yylval.num = algtype_des_iv32; return(ALGORITHMTYPE); } + YY_BREAK +case 227: +YY_RULE_SETUP +#line 451 "cftoken.l" +{ YYD; yylval.num = algtype_rc4; return(ALGORITHMTYPE); } + YY_BREAK +case 228: +YY_RULE_SETUP +#line 452 "cftoken.l" +{ YYD; yylval.num = algtype_null_enc; return(ALGORITHMTYPE); } + YY_BREAK +case 229: +YY_RULE_SETUP +#line 453 "cftoken.l" +{ YYD; yylval.num = algtype_null_enc; return(ALGORITHMTYPE); } + YY_BREAK +case 230: +YY_RULE_SETUP +#line 454 "cftoken.l" +{ YYD; yylval.num = algtype_aes; return(ALGORITHMTYPE); } + YY_BREAK +case 231: +YY_RULE_SETUP +#line 455 "cftoken.l" +{ YYD; yylval.num = algtype_aes; return(ALGORITHMTYPE); } + YY_BREAK +case 232: +YY_RULE_SETUP +#line 456 "cftoken.l" +{ YYD; yylval.num = algtype_twofish; return(ALGORITHMTYPE); } + YY_BREAK +case 233: +YY_RULE_SETUP +#line 457 "cftoken.l" +{ YYD; yylval.num = algtype_camellia; return(ALGORITHMTYPE); } + YY_BREAK +case 234: +YY_RULE_SETUP +#line 458 "cftoken.l" +{ YYD; yylval.num = algtype_non_auth; return(ALGORITHMTYPE); } + YY_BREAK +case 235: +YY_RULE_SETUP +#line 459 "cftoken.l" +{ YYD; yylval.num = algtype_hmac_md5; return(ALGORITHMTYPE); } + YY_BREAK +case 236: +YY_RULE_SETUP +#line 460 "cftoken.l" +{ YYD; yylval.num = algtype_hmac_sha1; return(ALGORITHMTYPE); } + YY_BREAK +case 237: +YY_RULE_SETUP +#line 461 "cftoken.l" +{ YYD; yylval.num = algtype_hmac_sha2_256; return(ALGORITHMTYPE); } + YY_BREAK +case 238: +YY_RULE_SETUP +#line 462 "cftoken.l" +{ YYD; yylval.num = algtype_hmac_sha2_256; return(ALGORITHMTYPE); } + YY_BREAK +case 239: +YY_RULE_SETUP +#line 463 "cftoken.l" +{ YYD; yylval.num = algtype_hmac_sha2_384; return(ALGORITHMTYPE); } + YY_BREAK +case 240: +YY_RULE_SETUP +#line 464 "cftoken.l" +{ YYD; yylval.num = algtype_hmac_sha2_384; return(ALGORITHMTYPE); } + YY_BREAK +case 241: +YY_RULE_SETUP +#line 465 "cftoken.l" +{ YYD; yylval.num = algtype_hmac_sha2_512; return(ALGORITHMTYPE); } + YY_BREAK +case 242: +YY_RULE_SETUP +#line 466 "cftoken.l" +{ YYD; yylval.num = algtype_hmac_sha2_512; return(ALGORITHMTYPE); } + YY_BREAK +case 243: +YY_RULE_SETUP +#line 467 "cftoken.l" +{ YYD; yylval.num = algtype_des_mac; return(ALGORITHMTYPE); } + YY_BREAK +case 244: +YY_RULE_SETUP +#line 468 "cftoken.l" +{ YYD; yylval.num = algtype_kpdk; return(ALGORITHMTYPE); } + YY_BREAK +case 245: +YY_RULE_SETUP +#line 469 "cftoken.l" +{ YYD; yylval.num = algtype_md5; return(ALGORITHMTYPE); } + YY_BREAK +case 246: +YY_RULE_SETUP +#line 470 "cftoken.l" +{ YYD; yylval.num = algtype_sha1; return(ALGORITHMTYPE); } + YY_BREAK +case 247: +YY_RULE_SETUP +#line 471 "cftoken.l" +{ YYD; yylval.num = algtype_tiger; return(ALGORITHMTYPE); } + YY_BREAK +case 248: +YY_RULE_SETUP +#line 472 "cftoken.l" +{ YYD; yylval.num = algtype_sha2_256; return(ALGORITHMTYPE); } + YY_BREAK +case 249: +YY_RULE_SETUP +#line 473 "cftoken.l" +{ YYD; yylval.num = algtype_sha2_256; return(ALGORITHMTYPE); } + YY_BREAK +case 250: +YY_RULE_SETUP +#line 474 "cftoken.l" +{ YYD; yylval.num = algtype_sha2_384; return(ALGORITHMTYPE); } + YY_BREAK +case 251: +YY_RULE_SETUP +#line 475 "cftoken.l" +{ YYD; yylval.num = algtype_sha2_384; return(ALGORITHMTYPE); } + YY_BREAK +case 252: +YY_RULE_SETUP +#line 476 "cftoken.l" +{ YYD; yylval.num = algtype_sha2_512; return(ALGORITHMTYPE); } + YY_BREAK +case 253: +YY_RULE_SETUP +#line 477 "cftoken.l" +{ YYD; yylval.num = algtype_sha2_512; return(ALGORITHMTYPE); } + YY_BREAK +case 254: +YY_RULE_SETUP +#line 478 "cftoken.l" +{ YYD; yylval.num = algtype_oui; return(ALGORITHMTYPE); } + YY_BREAK +case 255: +YY_RULE_SETUP +#line 479 "cftoken.l" +{ YYD; yylval.num = algtype_deflate; return(ALGORITHMTYPE); } + YY_BREAK +case 256: +YY_RULE_SETUP +#line 480 "cftoken.l" +{ YYD; yylval.num = algtype_lzs; return(ALGORITHMTYPE); } + YY_BREAK +case 257: +YY_RULE_SETUP +#line 481 "cftoken.l" +{ YYD; yylval.num = algtype_modp768; return(ALGORITHMTYPE); } + YY_BREAK +case 258: +YY_RULE_SETUP +#line 482 "cftoken.l" +{ YYD; yylval.num = algtype_modp1024; return(ALGORITHMTYPE); } + YY_BREAK +case 259: +YY_RULE_SETUP +#line 483 "cftoken.l" +{ YYD; yylval.num = algtype_modp1536; return(ALGORITHMTYPE); } + YY_BREAK +case 260: +YY_RULE_SETUP +#line 484 "cftoken.l" +{ YYD; yylval.num = algtype_ec2n155; return(ALGORITHMTYPE); } + YY_BREAK +case 261: +YY_RULE_SETUP +#line 485 "cftoken.l" +{ YYD; yylval.num = algtype_ec2n185; return(ALGORITHMTYPE); } + YY_BREAK +case 262: +YY_RULE_SETUP +#line 486 "cftoken.l" +{ YYD; yylval.num = algtype_modp2048; return(ALGORITHMTYPE); } + YY_BREAK +case 263: +YY_RULE_SETUP +#line 487 "cftoken.l" +{ YYD; yylval.num = algtype_modp3072; return(ALGORITHMTYPE); } + YY_BREAK +case 264: +YY_RULE_SETUP +#line 488 "cftoken.l" +{ YYD; yylval.num = algtype_modp4096; return(ALGORITHMTYPE); } + YY_BREAK +case 265: +YY_RULE_SETUP +#line 489 "cftoken.l" +{ YYD; yylval.num = algtype_modp6144; return(ALGORITHMTYPE); } + YY_BREAK +case 266: +YY_RULE_SETUP +#line 490 "cftoken.l" +{ YYD; yylval.num = algtype_modp8192; return(ALGORITHMTYPE); } + YY_BREAK +case 267: +YY_RULE_SETUP +#line 491 "cftoken.l" +{ YYD; yylval.num = algtype_psk; return(ALGORITHMTYPE); } + YY_BREAK +case 268: +YY_RULE_SETUP +#line 492 "cftoken.l" +{ YYD; yylval.num = algtype_rsasig; return(ALGORITHMTYPE); } + YY_BREAK +case 269: +YY_RULE_SETUP +#line 493 "cftoken.l" +{ YYD; yylval.num = algtype_dsssig; return(ALGORITHMTYPE); } + YY_BREAK +case 270: +YY_RULE_SETUP +#line 494 "cftoken.l" +{ YYD; yylval.num = algtype_rsaenc; return(ALGORITHMTYPE); } + YY_BREAK +case 271: +YY_RULE_SETUP +#line 495 "cftoken.l" +{ YYD; yylval.num = algtype_rsarev; return(ALGORITHMTYPE); } + YY_BREAK +case 272: +YY_RULE_SETUP +#line 496 "cftoken.l" +{ YYD; yylval.num = algtype_gssapikrb; return(ALGORITHMTYPE); } + YY_BREAK +case 273: +YY_RULE_SETUP +#line 497 "cftoken.l" +{ +#ifdef ENABLE_HYBRID + YYD; yylval.num = algtype_hybrid_rsa_s; return(ALGORITHMTYPE); +#else + yyerror("racoon not configured with --enable-hybrid"); +#endif +} + YY_BREAK +case 274: +YY_RULE_SETUP +#line 504 "cftoken.l" +{ +#ifdef ENABLE_HYBRID + YYD; yylval.num = algtype_hybrid_dss_s; return(ALGORITHMTYPE); +#else + yyerror("racoon not configured with --enable-hybrid"); +#endif +} + YY_BREAK +case 275: +YY_RULE_SETUP +#line 511 "cftoken.l" +{ +#ifdef ENABLE_HYBRID + YYD; yylval.num = algtype_hybrid_rsa_c; return(ALGORITHMTYPE); +#else + yyerror("racoon not configured with --enable-hybrid"); +#endif +} + YY_BREAK +case 276: +YY_RULE_SETUP +#line 518 "cftoken.l" +{ +#ifdef ENABLE_HYBRID + YYD; yylval.num = algtype_hybrid_dss_c; return(ALGORITHMTYPE); +#else + yyerror("racoon not configured with --enable-hybrid"); +#endif +} + YY_BREAK +case 277: +YY_RULE_SETUP +#line 525 "cftoken.l" +{ +#ifdef ENABLE_HYBRID + YYD; yylval.num = algtype_xauth_psk_s; return(ALGORITHMTYPE); +#else + yyerror("racoon not configured with --enable-hybrid"); +#endif +} + YY_BREAK +case 278: +YY_RULE_SETUP +#line 532 "cftoken.l" +{ +#ifdef ENABLE_HYBRID + YYD; yylval.num = algtype_xauth_psk_c; return(ALGORITHMTYPE); +#else + yyerror("racoon not configured with --enable-hybrid"); +#endif +} + YY_BREAK +case 279: +YY_RULE_SETUP +#line 539 "cftoken.l" +{ +#ifdef ENABLE_HYBRID + YYD; yylval.num = algtype_xauth_rsa_s; return(ALGORITHMTYPE); +#else + yyerror("racoon not configured with --enable-hybrid"); +#endif +} + YY_BREAK +case 280: +YY_RULE_SETUP +#line 546 "cftoken.l" +{ +#ifdef ENABLE_HYBRID + YYD; yylval.num = algtype_xauth_rsa_c; return(ALGORITHMTYPE); +#else + yyerror("racoon not configured with --enable-hybrid"); +#endif +} + YY_BREAK +/* identifier type */ +case 281: +YY_RULE_SETUP +#line 556 "cftoken.l" +{ YYD; yylval.num = IDTYPE_USERFQDN; return(IDENTIFIERTYPE); } + YY_BREAK +case 282: +YY_RULE_SETUP +#line 557 "cftoken.l" +{ YYD; yylval.num = IDTYPE_FQDN; return(IDENTIFIERTYPE); } + YY_BREAK +case 283: +YY_RULE_SETUP +#line 558 "cftoken.l" +{ YYD; yylval.num = IDTYPE_KEYID; return(IDENTIFIERTYPE); } + YY_BREAK +case 284: +YY_RULE_SETUP +#line 559 "cftoken.l" +{ YYD; yylval.num = IDTYPE_ADDRESS; return(IDENTIFIERTYPE); } + YY_BREAK +case 285: +YY_RULE_SETUP +#line 560 "cftoken.l" +{ YYD; yylval.num = IDTYPE_SUBNET; return(IDENTIFIERTYPE); } + YY_BREAK +case 286: +YY_RULE_SETUP +#line 561 "cftoken.l" +{ YYD; yylval.num = IDTYPE_ASN1DN; return(IDENTIFIERTYPE); } + YY_BREAK +/* identifier qualifier */ +case 287: +YY_RULE_SETUP +#line 564 "cftoken.l" +{ YYD; yylval.num = IDQUAL_TAG; return(IDENTIFIERQUAL); } + YY_BREAK +case 288: +YY_RULE_SETUP +#line 565 "cftoken.l" +{ YYD; yylval.num = IDQUAL_FILE; return(IDENTIFIERQUAL); } + YY_BREAK +/* units */ +case 289: +YY_RULE_SETUP +#line 568 "cftoken.l" +{ YYD; return(UNITTYPE_BYTE); } + YY_BREAK +case 290: +YY_RULE_SETUP +#line 569 "cftoken.l" +{ YYD; return(UNITTYPE_KBYTES); } + YY_BREAK +case 291: +YY_RULE_SETUP +#line 570 "cftoken.l" +{ YYD; return(UNITTYPE_MBYTES); } + YY_BREAK +case 292: +YY_RULE_SETUP +#line 571 "cftoken.l" +{ YYD; return(UNITTYPE_TBYTES); } + YY_BREAK +case 293: +YY_RULE_SETUP +#line 572 "cftoken.l" +{ YYD; return(UNITTYPE_SEC); } + YY_BREAK +case 294: +YY_RULE_SETUP +#line 573 "cftoken.l" +{ YYD; return(UNITTYPE_MIN); } + YY_BREAK +case 295: +YY_RULE_SETUP +#line 574 "cftoken.l" +{ YYD; return(UNITTYPE_HOUR); } + YY_BREAK +/* boolean */ +case 296: +YY_RULE_SETUP +#line 577 "cftoken.l" +{ YYD; yylval.num = TRUE; return(BOOLEAN); } + YY_BREAK +case 297: +YY_RULE_SETUP +#line 578 "cftoken.l" +{ YYD; yylval.num = FALSE; return(BOOLEAN); } + YY_BREAK +case 298: +YY_RULE_SETUP +#line 580 "cftoken.l" +{ + char *bp; + + YYD; + yylval.num = strtoul(yytext, &bp, 10); + return(NUMBER); + } + YY_BREAK +case 299: +YY_RULE_SETUP +#line 588 "cftoken.l" +{ + char *p; + + YYD; + yylval.val = vmalloc(yyleng + (yyleng & 1) + 1); + if (yylval.val == NULL) { + yyerror("vmalloc failed"); + return -1; + } + + p = yylval.val->v; + *p++ = '0'; + *p++ = 'x'; + + /* fixed string if length is odd. */ + if (yyleng & 1) + *p++ = '0'; + memcpy(p, &yytext[2], yyleng - 1); + + return(HEXSTRING); + } + YY_BREAK +case 300: +/* rule 300 can match eol */ +YY_RULE_SETUP +#line 610 "cftoken.l" +{ + char *p = yytext; + + YYD; + while (*++p != '"') ; + *p = '\0'; + + yylval.val = vmalloc(yyleng - 1); + if (yylval.val == NULL) { + yyerror("vmalloc failed"); + return -1; + } + memcpy(yylval.val->v, &yytext[1], yylval.val->l); + + return(QUOTEDSTRING); + } + YY_BREAK +case 301: +YY_RULE_SETUP +#line 627 "cftoken.l" +{ + YYD; + + yylval.val = vmalloc(yyleng + 1); + if (yylval.val == NULL) { + yyerror("vmalloc failed"); + return -1; + } + memcpy(yylval.val->v, yytext, yylval.val->l); + + return(ADDRSTRING); + } + YY_BREAK +case YY_STATE_EOF(INITIAL): +case YY_STATE_EOF(S_INI): +case YY_STATE_EOF(S_PRIV): +case YY_STATE_EOF(S_PTH): +case YY_STATE_EOF(S_LOG): +case YY_STATE_EOF(S_PAD): +case YY_STATE_EOF(S_LST): +case YY_STATE_EOF(S_RTRY): +case YY_STATE_EOF(S_CFG): +case YY_STATE_EOF(S_LDAP): +case YY_STATE_EOF(S_RAD): +case YY_STATE_EOF(S_ALGST): +case YY_STATE_EOF(S_ALGCL): +case YY_STATE_EOF(S_SAINF): +case YY_STATE_EOF(S_SAINFS): +case YY_STATE_EOF(S_RMT): +case YY_STATE_EOF(S_RMTS): +case YY_STATE_EOF(S_RMTP): +case YY_STATE_EOF(S_SA): +case YY_STATE_EOF(S_GSSENC): +#line 640 "cftoken.l" +{ + yy_delete_buffer(YY_CURRENT_BUFFER); + fclose (incstack[incstackp].fp); + incstack[incstackp].fp = NULL; + racoon_free(incstack[incstackp].path); + incstack[incstackp].path = NULL; + incstackp--; + nextfile: + if (incstack[incstackp].matchon < + incstack[incstackp].matches.gl_pathc) { + char* filepath = incstack[incstackp].matches.gl_pathv[incstack[incstackp].matchon]; + incstack[incstackp].matchon++; + incstackp++; + if (yycf_set_buffer(filepath) != 0) { + incstackp--; + goto nextfile; + } + yy_switch_to_buffer(yy_create_buffer(yyin,YY_BUF_SIZE)); + BEGIN(S_INI); + } else { + globfree(&incstack[incstackp].matches); + if (incstackp == 0) + yyterminate(); + else + yy_switch_to_buffer(incstack[incstackp].prevstate); + } + } + YY_BREAK +/* ... */ +case 302: +YY_RULE_SETUP +#line 669 "cftoken.l" +{ ; } + YY_BREAK +case 303: +/* rule 303 can match eol */ +YY_RULE_SETUP +#line 670 "cftoken.l" +{ incstack[incstackp].lineno++; } + YY_BREAK +case 304: +YY_RULE_SETUP +#line 671 "cftoken.l" +{ YYD; } + YY_BREAK +case 305: +YY_RULE_SETUP +#line 672 "cftoken.l" +{ return(EOS); } + YY_BREAK +case 306: +YY_RULE_SETUP +#line 673 "cftoken.l" +{ yymore(); } + YY_BREAK +case 307: +YY_RULE_SETUP +#line 675 "cftoken.l" +ECHO; + YY_BREAK +#line 3710 "cftoken.c" + + case YY_END_OF_BUFFER: + { + /* Amount of text matched not including the EOB char. */ + int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; + + /* Undo the effects of YY_DO_BEFORE_ACTION. */ + *yy_cp = (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. + */ + (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 ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + { /* This was really a NUL. */ + yy_state_type yy_next_state; + + (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + /* 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 ); + + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + + if ( yy_next_state ) + { + /* Consume the NUL. */ + yy_cp = ++(yy_c_buf_p); + yy_current_state = yy_next_state; + goto yy_match; + } + + else + { + yy_cp = (yy_c_buf_p); + goto yy_find_action; + } + } + + else switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_END_OF_FILE: + { + (yy_did_buffer_switch_on_eof) = 0; + + if ( yywrap( ) ) + { + /* 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. + */ + (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; + + yy_act = YY_STATE_EOF(YY_START); + goto do_action; + } + + else + { + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; + } + break; + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = + (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_match; + + case EOB_ACT_LAST_MATCH: + (yy_c_buf_p) = + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (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 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 (void) +{ + register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + register char *source = (yytext_ptr); + register int number_to_move, i; + int ret_val; + + if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(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 ( (yy_c_buf_p) - (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 = (int) ((yy_c_buf_p) - (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 = (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) ((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 ); + } + 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" ); + + (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]), + (yy_n_chars), num_to_read ); + + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + if ( (yy_n_chars) == 0 ) + { + if ( number_to_move == YY_MORE_ADJ ) + { + ret_val = EOB_ACT_END_OF_FILE; + yyrestart(yyin ); + } + + 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) ((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 = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); + if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); + } + + (yy_n_chars) += number_to_move; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; + + (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 (void) +{ + register yy_state_type yy_current_state; + register char *yy_cp; + + yy_current_state = (yy_start); + + for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) + { + register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (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 >= 1820 ) + 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 ) +{ + register int yy_is_jam; + register char *yy_cp = (yy_c_buf_p); + + register YY_CHAR yy_c = 1; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (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 >= 1820 ) + 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 == 1819); + + return yy_is_jam ? 0 : yy_current_state; +} + + static void yyunput (int c, register char * yy_bp ) +{ + register char *yy_cp; + + yy_cp = (yy_c_buf_p); + + /* undo effects of setting up yytext */ + *yy_cp = (yy_hold_char); + + if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) + { /* need to shift things up to make room */ + /* +2 for EOB chars. */ + register yy_size_t number_to_move = (yy_n_chars) + 2; + register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ + YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; + register char *source = + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; + + while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) + *--dest = *--source; + + yy_cp += (int) (dest - source); + yy_bp += (int) (dest - source); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; + + if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) + YY_FATAL_ERROR( "flex scanner push-back overflow" ); + } + + *--yy_cp = (char) c; + + (yytext_ptr) = yy_bp; + (yy_hold_char) = *yy_cp; + (yy_c_buf_p) = yy_cp; +} + +#ifndef YY_NO_INPUT +#ifdef __cplusplus + static int yyinput (void) +#else + static int input (void) +#endif + +{ + int c; + + *(yy_c_buf_p) = (yy_hold_char); + + if ( *(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 ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + /* This was really a NUL. */ + *(yy_c_buf_p) = '\0'; + + else + { /* need more input */ + yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); + ++(yy_c_buf_p); + + switch ( yy_get_next_buffer( ) ) + { + 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 ); + + /*FALLTHROUGH*/ + + case EOB_ACT_END_OF_FILE: + { + if ( yywrap( ) ) + return EOF; + + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; +#ifdef __cplusplus + return yyinput(); +#else + return input(); +#endif + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = (yytext_ptr) + offset; + break; + } + } + } + + c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ + *(yy_c_buf_p) = '\0'; /* preserve yytext */ + (yy_hold_char) = *++(yy_c_buf_p); + + return c; +} +#endif /* ifndef YY_NO_INPUT */ + +/** Immediately switch to a different input stream. + * @param input_file A readable stream. + * + * @note This function does not reset the start condition to @c INITIAL . + */ + void yyrestart (FILE * input_file ) +{ + + if ( ! YY_CURRENT_BUFFER ){ + yyensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + yy_create_buffer(yyin,YY_BUF_SIZE ); + } + + yy_init_buffer(YY_CURRENT_BUFFER,input_file ); + yy_load_buffer_state( ); +} + +/** Switch to a different input buffer. + * @param new_buffer The new input buffer. + * + */ + void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) +{ + + /* TODO. We should be able to replace this entire function body + * with + * yypop_buffer_state(); + * yypush_buffer_state(new_buffer); + */ + yyensure_buffer_stack (); + if ( YY_CURRENT_BUFFER == new_buffer ) + return; + + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + YY_CURRENT_BUFFER_LVALUE = new_buffer; + yy_load_buffer_state( ); + + /* 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. + */ + (yy_did_buffer_switch_on_eof) = 1; +} + +static void yy_load_buffer_state (void) +{ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; + yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; + (yy_hold_char) = *(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. + * + * @return the allocated buffer state. + */ + YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) +{ + YY_BUFFER_STATE b; + + b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); + + b->yy_buf_size = 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 ); + 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 ); + + return b; +} + +/** Destroy the buffer. + * @param b a buffer created with yy_create_buffer() + * + */ + void yy_delete_buffer (YY_BUFFER_STATE b ) +{ + + 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 ); + + yyfree((void *) b ); +} + +/* 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 ) + +{ + int oerrno = errno; + + yy_flush_buffer(b ); + + 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. + * + */ + void yy_flush_buffer (YY_BUFFER_STATE b ) +{ + 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( ); +} + +/** 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. + * + */ +void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) +{ + if (new_buffer == NULL) + return; + + yyensure_buffer_stack(); + + /* This block is copied from yy_switch_to_buffer. */ + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + /* Only push if top exists. Otherwise, replace top. */ + if (YY_CURRENT_BUFFER) + (yy_buffer_stack_top)++; + YY_CURRENT_BUFFER_LVALUE = new_buffer; + + /* copied from yy_switch_to_buffer. */ + yy_load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; +} + +/** Removes and deletes the top of the stack, if present. + * The next element becomes the new top. + * + */ +void yypop_buffer_state (void) +{ + if (!YY_CURRENT_BUFFER) + return; + + yy_delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + if ((yy_buffer_stack_top) > 0) + --(yy_buffer_stack_top); + + if (YY_CURRENT_BUFFER) { + yy_load_buffer_state( ); + (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 (void) +{ + yy_size_t num_to_alloc; + + if (!(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; + (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc + (num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); + + memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); + + (yy_buffer_stack_max) = num_to_alloc; + (yy_buffer_stack_top) = 0; + return; + } + + if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ + + /* Increase the buffer to prepare for a possible push. */ + int grow_size = 8 /* arbitrary grow size */; + + num_to_alloc = (yy_buffer_stack_max) + grow_size; + (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc + ((yy_buffer_stack), + num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); + + /* zero only the new slots.*/ + memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); + (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 + * + * @return the newly allocated buffer state object. + */ +YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) +{ + 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 ) ); + 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 ); + + 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 + * + * @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 ) +{ + + return yy_scan_bytes(yystr,strlen(yystr) ); +} + +/** 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. + * + * @return the newly allocated buffer state object. + */ +YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) +{ + YY_BUFFER_STATE b; + char *buf; + yy_size_t n; + int i; + + /* Get memory for full buffer, including space for trailing EOB's. */ + n = _yybytes_len + 2; + buf = (char *) yyalloc(n ); + 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 ); + 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 ) +{ + (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] = (yy_hold_char); \ + (yy_c_buf_p) = yytext + yyless_macro_arg; \ + (yy_hold_char) = *(yy_c_buf_p); \ + *(yy_c_buf_p) = '\0'; \ + yyleng = yyless_macro_arg; \ + } \ + while ( 0 ) + +/* Accessor methods (get/set functions) to struct members. */ + +/** Get the current line number. + * + */ +int yyget_lineno (void) +{ + + return yylineno; +} + +/** Get the input stream. + * + */ +FILE *yyget_in (void) +{ + return yyin; +} + +/** Get the output stream. + * + */ +FILE *yyget_out (void) +{ + return yyout; +} + +/** Get the length of the current token. + * + */ +yy_size_t yyget_leng (void) +{ + return yyleng; +} + +/** Get the current token. + * + */ + +char *yyget_text (void) +{ + return yytext; +} + +/** Set the current line number. + * @param line_number + * + */ +void yyset_lineno (int line_number ) +{ + + yylineno = line_number; +} + +/** Set the input stream. This does not discard the current + * input buffer. + * @param in_str A readable stream. + * + * @see yy_switch_to_buffer + */ +void yyset_in (FILE * in_str ) +{ + yyin = in_str ; +} + +void yyset_out (FILE * out_str ) +{ + yyout = out_str ; +} + +int yyget_debug (void) +{ + return yy_flex_debug; +} + +void yyset_debug (int bdebug ) +{ + yy_flex_debug = bdebug ; +} + +static int yy_init_globals (void) +{ + /* Initialization is the same as for the non-reentrant scanner. + * This function is called from yylex_destroy(), so don't allocate here. + */ + + (yy_buffer_stack) = 0; + (yy_buffer_stack_top) = 0; + (yy_buffer_stack_max) = 0; + (yy_c_buf_p) = (char *) 0; + (yy_init) = 0; + (yy_start) = 0; + +/* 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 (void) +{ + + /* Pop the buffer stack, destroying each element. */ + while(YY_CURRENT_BUFFER){ + yy_delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + yypop_buffer_state(); + } + + /* Destroy the stack itself. */ + yyfree((yy_buffer_stack) ); + (yy_buffer_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( ); + + return 0; +} + +/* + * Internal utility routines. + */ + +#ifndef yytext_ptr +static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) +{ + register 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 ) +{ + register int n; + for ( n = 0; s[n]; ++n ) + ; + + return n; +} +#endif + +void *yyalloc (yy_size_t size ) +{ + return (void *) malloc( size ); +} + +void *yyrealloc (void * ptr, yy_size_t size ) +{ + /* 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 ) +{ + free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ +} + +#define YYTABLES_NAME "yytables" + +#line 675 "cftoken.l" + + + +void +yyerror(char *s, ...) +{ + char fmt[512]; + + va_list ap; +#ifdef HAVE_STDARG_H + va_start(ap, s); +#else + va_start(ap); +#endif + snprintf(fmt, sizeof(fmt), "%s:%d: \"%s\" %s\n", + incstack[incstackp].path, incstack[incstackp].lineno, + yytext, s); + plogv(LLV_ERROR, LOCATION, NULL, fmt, ap); + va_end(ap); + + yyerrorcount++; +} + +void +yywarn(char *s, ...) +{ + char fmt[512]; + + va_list ap; +#ifdef HAVE_STDARG_H + va_start(ap, s); +#else + va_start(ap); +#endif + snprintf(fmt, sizeof(fmt), "%s:%d: \"%s\" %s\n", + incstack[incstackp].path, incstack[incstackp].lineno, + yytext, s); + plogv(LLV_WARNING, LOCATION, NULL, fmt, ap); + va_end(ap); +} + +int +yycf_switch_buffer(path) + char *path; +{ + char *filepath = NULL; + + /* got the include file name */ + if (incstackp >= MAX_INCLUDE_DEPTH) { + plog(LLV_ERROR, LOCATION, NULL, + "Includes nested too deeply"); + return -1; + } + + if (glob(path, GLOB_TILDE, NULL, &incstack[incstackp].matches) != 0 || + incstack[incstackp].matches.gl_pathc == 0) { + plog(LLV_ERROR, LOCATION, NULL, + "glob found no matches for path \"%s\"\n", path); + return -1; + } + incstack[incstackp].matchon = 0; + incstack[incstackp].prevstate = YY_CURRENT_BUFFER; + + nextmatch: + if (incstack[incstackp].matchon >= incstack[incstackp].matches.gl_pathc) + return -1; + filepath = + incstack[incstackp].matches.gl_pathv[incstack[incstackp].matchon]; + incstack[incstackp].matchon++; + incstackp++; + + if (yycf_set_buffer(filepath) != 0) { + incstackp--; + goto nextmatch; + } + + yy_switch_to_buffer(yy_create_buffer(yyin,YY_BUF_SIZE)); + + BEGIN(S_INI); + + return 0; +} + +int +yycf_set_buffer(path) + char *path; +{ + yyin = fopen(path, "r"); + if (yyin == NULL) { + fprintf(stderr, "failed to open file %s (%s)\n", + path, strerror(errno)); + plog(LLV_ERROR, LOCATION, NULL, + "failed to open file %s (%s)\n", + path, strerror(errno)); + return -1; + } + + /* initialize */ + incstack[incstackp].fp = yyin; + if (incstack[incstackp].path != NULL) + racoon_free(incstack[incstackp].path); + incstack[incstackp].path = racoon_strdup(path); + STRDUP_FATAL(incstack[incstackp].path); + incstack[incstackp].lineno = 1; + plog(LLV_DEBUG, LOCATION, NULL, + "reading config file %s\n", path); + + return 0; +} + +void +yycf_init_buffer() +{ + int i; + + for (i = 0; i < MAX_INCLUDE_DEPTH; i++) + memset(&incstack[i], 0, sizeof(incstack[i])); + incstackp = 0; +} + +void +yycf_clean_buffer() +{ + int i; + + for (i = 0; i < MAX_INCLUDE_DEPTH; i++) { + if (incstack[i].path != NULL) { + fclose(incstack[i].fp); + racoon_free(incstack[i].path); + incstack[i].path = NULL; + } + } +} + + |