diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:15:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:15:43 +0000 |
commit | f5f56e1a1c4d9e9496fcb9d81131066a964ccd23 (patch) | |
tree | 49e44c6f87febed37efb953ab5485aa49f6481a7 /src/bin/dhcp6/dhcp6_lexer.cc | |
parent | Initial commit. (diff) | |
download | isc-kea-upstream.tar.xz isc-kea-upstream.zip |
Adding upstream version 2.4.1.upstream/2.4.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/bin/dhcp6/dhcp6_lexer.cc')
-rw-r--r-- | src/bin/dhcp6/dhcp6_lexer.cc | 6819 |
1 files changed, 6819 insertions, 0 deletions
diff --git a/src/bin/dhcp6/dhcp6_lexer.cc b/src/bin/dhcp6/dhcp6_lexer.cc new file mode 100644 index 0000000..de80673 --- /dev/null +++ b/src/bin/dhcp6/dhcp6_lexer.cc @@ -0,0 +1,6819 @@ +#line 1 "dhcp6_lexer.cc" + +#line 3 "dhcp6_lexer.cc" + +#define YY_INT_ALIGNED short int + +/* A lexical scanner generated by flex */ + +/* %not-for-header */ +/* %if-c-only */ +/* %if-not-reentrant */ +#define yy_create_buffer parser6__create_buffer +#define yy_delete_buffer parser6__delete_buffer +#define yy_scan_buffer parser6__scan_buffer +#define yy_scan_string parser6__scan_string +#define yy_scan_bytes parser6__scan_bytes +#define yy_init_buffer parser6__init_buffer +#define yy_flush_buffer parser6__flush_buffer +#define yy_load_buffer_state parser6__load_buffer_state +#define yy_switch_to_buffer parser6__switch_to_buffer +#define yypush_buffer_state parser6_push_buffer_state +#define yypop_buffer_state parser6_pop_buffer_state +#define yyensure_buffer_stack parser6_ensure_buffer_stack +#define yy_flex_debug parser6__flex_debug +#define yyin parser6_in +#define yyleng parser6_leng +#define yylex parser6_lex +#define yylineno parser6_lineno +#define yyout parser6_out +#define yyrestart parser6_restart +#define yytext parser6_text +#define yywrap parser6_wrap +#define yyalloc parser6_alloc +#define yyrealloc parser6_realloc +#define yyfree parser6_free + +/* %endif */ +/* %endif */ +/* %ok-for-header */ + +#define FLEX_SCANNER +#define YY_FLEX_MAJOR_VERSION 2 +#define YY_FLEX_MINOR_VERSION 6 +#define YY_FLEX_SUBMINOR_VERSION 4 +#if YY_FLEX_SUBMINOR_VERSION > 0 +#define FLEX_BETA +#endif + +/* %if-c++-only */ +/* %endif */ + +/* %if-c-only */ +#ifdef yy_create_buffer +#define parser6__create_buffer_ALREADY_DEFINED +#else +#define yy_create_buffer parser6__create_buffer +#endif + +#ifdef yy_delete_buffer +#define parser6__delete_buffer_ALREADY_DEFINED +#else +#define yy_delete_buffer parser6__delete_buffer +#endif + +#ifdef yy_scan_buffer +#define parser6__scan_buffer_ALREADY_DEFINED +#else +#define yy_scan_buffer parser6__scan_buffer +#endif + +#ifdef yy_scan_string +#define parser6__scan_string_ALREADY_DEFINED +#else +#define yy_scan_string parser6__scan_string +#endif + +#ifdef yy_scan_bytes +#define parser6__scan_bytes_ALREADY_DEFINED +#else +#define yy_scan_bytes parser6__scan_bytes +#endif + +#ifdef yy_init_buffer +#define parser6__init_buffer_ALREADY_DEFINED +#else +#define yy_init_buffer parser6__init_buffer +#endif + +#ifdef yy_flush_buffer +#define parser6__flush_buffer_ALREADY_DEFINED +#else +#define yy_flush_buffer parser6__flush_buffer +#endif + +#ifdef yy_load_buffer_state +#define parser6__load_buffer_state_ALREADY_DEFINED +#else +#define yy_load_buffer_state parser6__load_buffer_state +#endif + +#ifdef yy_switch_to_buffer +#define parser6__switch_to_buffer_ALREADY_DEFINED +#else +#define yy_switch_to_buffer parser6__switch_to_buffer +#endif + +#ifdef yypush_buffer_state +#define parser6_push_buffer_state_ALREADY_DEFINED +#else +#define yypush_buffer_state parser6_push_buffer_state +#endif + +#ifdef yypop_buffer_state +#define parser6_pop_buffer_state_ALREADY_DEFINED +#else +#define yypop_buffer_state parser6_pop_buffer_state +#endif + +#ifdef yyensure_buffer_stack +#define parser6_ensure_buffer_stack_ALREADY_DEFINED +#else +#define yyensure_buffer_stack parser6_ensure_buffer_stack +#endif + +#ifdef yylex +#define parser6_lex_ALREADY_DEFINED +#else +#define yylex parser6_lex +#endif + +#ifdef yyrestart +#define parser6_restart_ALREADY_DEFINED +#else +#define yyrestart parser6_restart +#endif + +#ifdef yylex_init +#define parser6_lex_init_ALREADY_DEFINED +#else +#define yylex_init parser6_lex_init +#endif + +#ifdef yylex_init_extra +#define parser6_lex_init_extra_ALREADY_DEFINED +#else +#define yylex_init_extra parser6_lex_init_extra +#endif + +#ifdef yylex_destroy +#define parser6_lex_destroy_ALREADY_DEFINED +#else +#define yylex_destroy parser6_lex_destroy +#endif + +#ifdef yyget_debug +#define parser6_get_debug_ALREADY_DEFINED +#else +#define yyget_debug parser6_get_debug +#endif + +#ifdef yyset_debug +#define parser6_set_debug_ALREADY_DEFINED +#else +#define yyset_debug parser6_set_debug +#endif + +#ifdef yyget_extra +#define parser6_get_extra_ALREADY_DEFINED +#else +#define yyget_extra parser6_get_extra +#endif + +#ifdef yyset_extra +#define parser6_set_extra_ALREADY_DEFINED +#else +#define yyset_extra parser6_set_extra +#endif + +#ifdef yyget_in +#define parser6_get_in_ALREADY_DEFINED +#else +#define yyget_in parser6_get_in +#endif + +#ifdef yyset_in +#define parser6_set_in_ALREADY_DEFINED +#else +#define yyset_in parser6_set_in +#endif + +#ifdef yyget_out +#define parser6_get_out_ALREADY_DEFINED +#else +#define yyget_out parser6_get_out +#endif + +#ifdef yyset_out +#define parser6_set_out_ALREADY_DEFINED +#else +#define yyset_out parser6_set_out +#endif + +#ifdef yyget_leng +#define parser6_get_leng_ALREADY_DEFINED +#else +#define yyget_leng parser6_get_leng +#endif + +#ifdef yyget_text +#define parser6_get_text_ALREADY_DEFINED +#else +#define yyget_text parser6_get_text +#endif + +#ifdef yyget_lineno +#define parser6_get_lineno_ALREADY_DEFINED +#else +#define yyget_lineno parser6_get_lineno +#endif + +#ifdef yyset_lineno +#define parser6_set_lineno_ALREADY_DEFINED +#else +#define yyset_lineno parser6_set_lineno +#endif + +#ifdef yywrap +#define parser6_wrap_ALREADY_DEFINED +#else +#define yywrap parser6_wrap +#endif + +/* %endif */ + +#ifdef yyalloc +#define parser6_alloc_ALREADY_DEFINED +#else +#define yyalloc parser6_alloc +#endif + +#ifdef yyrealloc +#define parser6_realloc_ALREADY_DEFINED +#else +#define yyrealloc parser6_realloc +#endif + +#ifdef yyfree +#define parser6_free_ALREADY_DEFINED +#else +#define yyfree parser6_free +#endif + +/* %if-c-only */ + +#ifdef yytext +#define parser6_text_ALREADY_DEFINED +#else +#define yytext parser6_text +#endif + +#ifdef yyleng +#define parser6_leng_ALREADY_DEFINED +#else +#define yyleng parser6_leng +#endif + +#ifdef yyin +#define parser6_in_ALREADY_DEFINED +#else +#define yyin parser6_in +#endif + +#ifdef yyout +#define parser6_out_ALREADY_DEFINED +#else +#define yyout parser6_out +#endif + +#ifdef yy_flex_debug +#define parser6__flex_debug_ALREADY_DEFINED +#else +#define yy_flex_debug parser6__flex_debug +#endif + +#ifdef yylineno +#define parser6_lineno_ALREADY_DEFINED +#else +#define yylineno parser6_lineno +#endif + +/* %endif */ + +/* First, we deal with platform-specific or compiler-specific issues. */ + +/* begin standard C headers. */ +/* %if-c-only */ +#include <stdio.h> +#include <string.h> +#include <errno.h> +#include <stdlib.h> +/* %endif */ + +/* %if-tables-serialization */ +/* %endif */ +/* end standard C headers. */ + +/* %if-c-or-c++ */ +/* 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 + +#ifndef SIZE_MAX +#define SIZE_MAX (~(size_t)0) +#endif + +#endif /* ! C99 */ + +#endif /* ! FLEXINT_H */ + +/* %endif */ + +/* begin standard C++ headers. */ +/* %if-c++-only */ +/* %endif */ + +/* TODO: this is always defined, so inline it */ +#define yyconst const + +#if defined(__GNUC__) && __GNUC__ >= 3 +#define yynoreturn __attribute__((__noreturn__)) +#else +#define yynoreturn +#endif + +/* %not-for-header */ +/* Returned upon end-of-file. */ +#define YY_NULL 0 +/* %ok-for-header */ + +/* %not-for-header */ +/* Promotes a possibly negative, possibly signed char to an + * integer in range [0..255] for use as an array index. + */ +#define YY_SC_TO_UI(c) ((YY_CHAR) (c)) +/* %ok-for-header */ + +/* %if-reentrant */ +/* %endif */ + +/* %if-not-reentrant */ + +/* %endif */ + +/* 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 +#ifdef __ia64__ +/* On IA-64, the buffer size is 16k, not 8k. + * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. + * Ditto for the __ia64__ case accordingly. + */ +#define YY_BUF_SIZE 32768 +#else +#define YY_BUF_SIZE 16384 +#endif /* __ia64__ */ +#endif + +/* The state buf must be large enough to hold one state per character in the main buffer. + */ +#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) + +#ifndef YY_TYPEDEF_YY_BUFFER_STATE +#define YY_TYPEDEF_YY_BUFFER_STATE +typedef struct yy_buffer_state *YY_BUFFER_STATE; +#endif + +#ifndef YY_TYPEDEF_YY_SIZE_T +#define YY_TYPEDEF_YY_SIZE_T +typedef size_t yy_size_t; +#endif + +/* %if-not-reentrant */ +extern int yyleng; +/* %endif */ + +/* %if-c-only */ +/* %if-not-reentrant */ +extern FILE *yyin, *yyout; +/* %endif */ +/* %endif */ + +#define EOB_ACT_CONTINUE_SCAN 0 +#define EOB_ACT_END_OF_FILE 1 +#define EOB_ACT_LAST_MATCH 2 + + #define YY_LESS_LINENO(n) + #define YY_LINENO_REWIND_TO(ptr) + +/* Return all but the first "n" matched characters back to the input stream. */ +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up yytext. */ \ + int yyless_macro_arg = (n); \ + YY_LESS_LINENO(yyless_macro_arg);\ + *yy_cp = (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 + { +/* %if-c-only */ + FILE *yy_input_file; +/* %endif */ + +/* %if-c++-only */ +/* %endif */ + + 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. + */ + int yy_buf_size; + + /* Number of characters read into yy_ch_buf, not including EOB + * characters. + */ + int 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 */ + +/* %if-c-only Standard (non-C++) definition */ +/* %not-for-header */ +/* %if-not-reentrant */ + +/* 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 = NULL; /**< Stack as an array. */ +/* %endif */ +/* %ok-for-header */ + +/* %endif */ + +/* 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)] + +/* %if-c-only Standard (non-C++) definition */ + +/* %if-not-reentrant */ +/* %not-for-header */ +/* yy_hold_char holds the character lost when yytext is formed. */ +static char yy_hold_char; +static int yy_n_chars; /* number of characters read into yy_ch_buf */ +int yyleng; + +/* Points to current character in buffer. */ +static char *yy_c_buf_p = NULL; +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; +/* %ok-for-header */ + +/* %endif */ + +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 ( const char *yy_str ); +YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len ); + +/* %endif */ + +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) + +/* %% [1.0] yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here */ +/* Begin user sect3 */ + +#define parser6_wrap() (/*CONSTCOND*/1) +#define YY_SKIP_YYWRAP + +#define FLEX_DEBUG +typedef flex_uint8_t YY_CHAR; + +FILE *yyin = NULL, *yyout = NULL; + +typedef int yy_state_type; + +extern int yylineno; +int yylineno = 1; + +extern char *yytext; +#ifdef yytext_ptr +#undef yytext_ptr +#endif +#define yytext_ptr yytext + +/* %% [1.5] DFA */ + +/* %if-c-only Standard (non-C++) definition */ + +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 yynoreturn yy_fatal_error ( const char* msg ); + +/* %endif */ + +/* 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; \ +/* %% [2.0] code to fiddle yytext and yyleng for yymore() goes here \ */\ + yyleng = (int) (yy_cp - yy_bp); \ + (yy_hold_char) = *yy_cp; \ + *yy_cp = '\0'; \ +/* %% [3.0] code to copy yytext_ptr to yytext[] goes here, if %array \ */\ + (yy_c_buf_p) = yy_cp; +/* %% [4.0] data tables for the DFA and the user's section 1 definitions go here */ +#define YY_NUM_RULES 231 +#define YY_END_OF_BUFFER 232 +/* 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 const flex_int16_t yy_accept[2206] = + { 0, + 224, 224, 0, 0, 0, 0, 0, 0, 0, 0, + 232, 230, 10, 11, 230, 1, 224, 221, 224, 224, + 230, 223, 222, 230, 230, 230, 230, 230, 217, 218, + 230, 230, 230, 219, 220, 5, 5, 5, 230, 230, + 230, 10, 11, 0, 0, 212, 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, 1, 224, + 224, 0, 223, 224, 3, 2, 6, 0, 224, 0, + 0, 0, 0, 0, 0, 4, 0, 0, 9, 0, + + 213, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 215, 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, 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, 2, 0, 0, + 0, 0, 0, 0, 0, 8, 0, 0, 181, 0, + + 0, 182, 0, 0, 0, 0, 0, 0, 0, 214, + 216, 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, 127, + 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, 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, + 229, 227, 0, 226, 225, 0, 0, 0, 0, 0, + 180, 0, 28, 0, 27, 0, 0, 134, 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, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 131, + + 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 228, 225, 0, 0, 0, + 0, 29, 0, 31, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 138, 0, 0, 0, 0, + 0, 0, 110, 0, 0, 0, 0, 0, 0, 0, + 0, 165, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 61, 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, 109, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 120, 0, 0, 62, 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, 159, + 0, 185, 0, 55, 0, 59, 0, 0, 0, 0, + + 0, 37, 34, 33, 0, 0, 0, 0, 173, 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, 150, 0, 0, 0, 0, 0, + 0, 0, 0, 184, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 57, 0, 0, + 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 113, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 174, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 169, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 7, 35, 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, 0, 0, 133, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 152, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 149, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 115, 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, 124, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 123, 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, 168, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 178, + 147, 0, 0, 0, 0, 0, 0, 0, 151, 56, + 0, 0, 0, 0, 0, 0, 70, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 153, 0, 0, 63, + 121, 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, 104, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 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, 130, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 167, 0, 0, 0, 0, 0, + 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, 0, 60, + + 0, 114, 0, 0, 0, 164, 0, 0, 0, 0, + 0, 54, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 155, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, + 0, 0, 0, 0, 77, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 206, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 125, 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, 41, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, + 0, 179, 14, 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, 170, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 154, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 166, 183, 0, + 40, 0, 175, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, + 0, 112, 0, 0, 107, 0, 0, 0, 0, 0, + 177, 0, 0, 58, 0, 116, 0, 204, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 89, 0, 0, 0, 0, 0, 0, + 0, 143, 144, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 111, 0, 0, 0, 79, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 172, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 139, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 108, 132, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 86, 0, 0, 0, 0, 0, 17, 0, 15, + 0, 0, 201, 200, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 30, 0, 0, 0, + + 158, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 194, 0, 0, 203, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 126, 0, 163, 0, + 46, 0, 0, 64, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, + 0, 92, 0, 0, 128, 66, 87, 0, 0, 171, + 0, 0, 0, 0, 162, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 76, 0, 122, + 0, 0, 0, 146, 0, 0, 0, 210, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 119, 0, 0, 0, 0, 186, 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, + 0, 45, 0, 0, 0, 0, 0, 0, 0, 0, + 160, 0, 0, 0, 67, 0, 0, 0, 156, 51, + 0, 0, 0, 199, 38, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, + 0, 0, 0, 48, 0, 0, 18, 0, 0, 0, + 75, 0, 0, 0, 0, 0, 148, 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, 83, 0, 145, 0, 0, 0, 65, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 117, 0, 0, 0, 0, 0, 0, + 176, 0, 0, 0, 50, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 195, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 106, 0, 71, 0, + 0, 0, 0, 36, 0, 52, 0, 0, 0, 0, + 0, 0, 0, 103, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 192, 0, 0, 0, 0, 161, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 129, 0, 0, 0, 0, 0, 72, 0, 0, + 0, 0, 68, 197, 0, 0, 0, 0, 0, 0, + 0, 0, 95, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 25, 39, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 198, 0, + 0, 13, 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, 202, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 191, 0, 85, 0, 84, 0, 21, 0, 80, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 142, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 118, 0, 0, + + 0, 190, 0, 0, 0, 0, 0, 74, 0, 0, + 90, 0, 69, 0, 23, 0, 135, 0, 0, 0, + 0, 0, 0, 0, 0, 105, 0, 0, 0, 0, + 0, 0, 0, 101, 0, 0, 0, 0, 0, 47, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 73, 0, 0, 0, 0, 0, + 0, 99, 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, + 53, 0, 0, 100, 0, 0, 0, 0, 196, 0, + + 0, 0, 0, 208, 211, 82, 81, 22, 0, 140, + 157, 136, 0, 0, 0, 0, 0, 0, 0, 0, + 96, 0, 0, 0, 0, 0, 0, 0, 0, 188, + 0, 0, 0, 0, 0, 0, 193, 0, 98, 0, + 88, 0, 0, 0, 0, 0, 0, 137, 0, 0, + 0, 0, 0, 0, 0, 187, 0, 0, 26, 209, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 97, 0, 0, 0, 0, + 44, 42, 0, 0, 0, 102, 0, 0, 141, 0, + 94, 0, 0, 0, 0, 0, 0, 0, 0, 93, + + 0, 189, 43, 207, 0 + } ; + +static const YY_CHAR yy_ec[256] = + { 0, + 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, + 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 4, 5, 6, 7, 5, 5, 5, 5, 5, + 5, 8, 9, 10, 11, 12, 13, 14, 15, 16, + 14, 17, 14, 18, 14, 14, 14, 19, 5, 20, + 5, 21, 22, 5, 23, 24, 25, 26, 27, 28, + 5, 29, 5, 30, 5, 31, 5, 32, 33, 34, + 5, 35, 36, 37, 38, 39, 40, 5, 41, 5, + 42, 43, 44, 5, 45, 5, 46, 47, 48, 49, + + 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + 70, 71, 72, 5, 73, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5 + } ; + +static const YY_CHAR yy_meta[74] = + { 0, + 1, 1, 2, 1, 1, 3, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 const flex_int16_t yy_base[2214] = + { 0, + 0, 72, 21, 31, 43, 51, 54, 60, 91, 99, + 2596, 2597, 34, 2592, 145, 0, 207, 2597, 214, 221, + 13, 228, 2597, 2572, 118, 25, 2, 6, 2597, 2597, + 73, 11, 17, 2597, 2597, 2597, 104, 2580, 2533, 0, + 2570, 108, 2587, 24, 256, 2597, 67, 2536, 2556, 84, + 75, 2556, 88, 226, 91, 89, 284, 196, 206, 219, + 208, 235, 241, 60, 277, 2536, 279, 291, 253, 293, + 316, 2519, 282, 317, 356, 325, 2538, 305, 0, 378, + 385, 406, 415, 422, 2597, 0, 2597, 429, 436, 218, + 219, 287, 333, 354, 342, 2597, 2535, 2576, 2597, 382, + + 2597, 428, 346, 2533, 2574, 356, 10, 336, 409, 186, + 417, 314, 319, 2573, 0, 489, 416, 2515, 409, 2514, + 2515, 2521, 409, 2507, 2508, 2513, 412, 2523, 2506, 2515, + 2505, 415, 416, 290, 2508, 2506, 425, 2495, 2553, 412, + 2498, 2551, 2491, 440, 2512, 2512, 2506, 440, 2499, 2497, + 2498, 2490, 2495, 2489, 435, 2500, 467, 2485, 2484, 2498, + 462, 2536, 2483, 437, 2495, 446, 2483, 497, 2484, 483, + 2496, 2493, 2494, 472, 2492, 2527, 2526, 486, 464, 2473, + 2477, 483, 2473, 2465, 2482, 2474, 2476, 0, 487, 498, + 484, 505, 500, 503, 2472, 2597, 525, 2467, 2597, 516, + + 501, 2597, 2521, 535, 2520, 536, 2519, 532, 2518, 2597, + 2597, 578, 513, 542, 2477, 2469, 2473, 2474, 2454, 2465, + 2467, 2466, 509, 517, 2504, 2468, 2449, 2446, 2454, 2460, + 2448, 2462, 2458, 2449, 2458, 2458, 2453, 2445, 2447, 2450, + 2430, 2434, 2447, 2449, 2446, 2438, 2428, 2431, 2445, 2597, + 2431, 2439, 80, 2477, 2423, 2432, 2474, 2421, 2431, 2471, + 555, 2430, 2469, 2414, 2416, 2427, 2465, 547, 2469, 2423, + 2403, 2418, 570, 2408, 2414, 531, 2405, 2403, 529, 2403, + 2409, 2400, 2399, 2412, 2405, 2395, 2406, 2410, 2409, 2403, + 550, 2410, 2405, 2397, 2387, 2402, 2397, 2401, 2382, 2398, + + 2384, 2390, 2397, 2379, 537, 2384, 2381, 2380, 289, 2379, + 2374, 2388, 2387, 582, 2386, 2389, 2371, 2379, 2367, 562, + 2597, 2597, 584, 2597, 2597, 2365, 192, 2412, 586, 2423, + 2597, 579, 2597, 2422, 2597, 2416, 633, 2597, 2378, 538, + 2355, 2374, 2357, 2374, 2410, 2370, 2360, 2412, 2367, 2370, + 2361, 2364, 2350, 2361, 572, 2400, 2358, 2355, 2356, 604, + 2360, 2400, 2335, 2347, 2342, 2339, 2335, 2337, 2340, 2387, + 2344, 2333, 2349, 2383, 2329, 612, 2342, 2342, 2325, 2326, + 2339, 2337, 2335, 2335, 2334, 2329, 2336, 2331, 2316, 576, + 2325, 2328, 2323, 574, 2322, 2318, 2368, 569, 581, 2597, + + 2327, 2361, 2311, 2310, 2303, 2305, 2317, 2308, 2315, 2296, + 2313, 2305, 2301, 2306, 634, 2353, 2306, 612, 2303, 2306, + 2306, 2304, 573, 2294, 2306, 604, 2281, 2282, 2303, 2294, + 2284, 2281, 2295, 614, 2281, 2293, 2292, 2291, 2286, 2328, + 2288, 2287, 2286, 2285, 2268, 2276, 2326, 2285, 2324, 2264, + 2322, 2264, 659, 2277, 2275, 2597, 2597, 2275, 633, 2317, + 2316, 2597, 2315, 2597, 640, 688, 2274, 653, 2313, 2307, + 2260, 2262, 2264, 2251, 2248, 2597, 2253, 2246, 2258, 2261, + 2248, 2247, 2597, 2257, 658, 2248, 2245, 2257, 624, 2242, + 2244, 2597, 2289, 2249, 2234, 2236, 2247, 2245, 2245, 2239, + + 679, 2246, 2234, 2227, 2278, 2597, 2225, 2241, 2275, 2279, + 2235, 2229, 2231, 2232, 2216, 2225, 2267, 2218, 2217, 2212, + 2211, 2213, 2209, 2205, 627, 2224, 2198, 2205, 2210, 2203, + 2219, 2253, 2257, 2597, 2202, 2198, 682, 2206, 2205, 2199, + 2206, 2191, 2201, 2189, 2203, 2203, 2191, 2187, 2192, 2188, + 2183, 2597, 2192, 2239, 2597, 2181, 2180, 2173, 2190, 2229, + 2228, 2173, 2172, 2177, 2186, 2180, 2174, 2183, 685, 2220, + 2182, 2166, 2161, 2157, 2163, 344, 2177, 2170, 2174, 2157, + 2215, 2156, 2156, 2207, 2152, 2153, 2152, 2150, 2167, 2597, + 2163, 2597, 2200, 2597, 2151, 2597, 2161, 2197, 2196, 2156, + + 2199, 2597, 2597, 2597, 539, 665, 2139, 719, 2597, 661, + 2157, 2137, 2147, 2189, 2188, 2133, 2143, 2185, 2130, 2137, + 2130, 2138, 2141, 2123, 2123, 2138, 2137, 2121, 591, 2135, + 2134, 2118, 2133, 2115, 2162, 2129, 2126, 2166, 2110, 2112, + 2124, 2124, 2122, 2122, 2597, 2107, 2104, 2162, 2117, 2109, + 2115, 2106, 2114, 2597, 2099, 2110, 2114, 2096, 2108, 2100, + 605, 2091, 2090, 2084, 2089, 2086, 2101, 2100, 2101, 2080, + 2090, 2096, 2139, 2094, 2093, 2085, 2076, 2597, 2077, 2079, + 2597, 2074, 2080, 2085, 2124, 2123, 16, 2084, 2121, 2066, + 2119, 2066, 2069, 2067, 2069, 2060, 2075, 2597, 2073, 2059, + + 721, 2051, 2055, 2071, 2068, 2063, 2059, 2104, 2056, 2063, + 2101, 2597, 2047, 2045, 2059, 2058, 2061, 2095, 2094, 2041, + 2092, 2052, 2036, 2089, 2088, 2597, 2029, 91, 348, 689, + 368, 442, 448, 552, 664, 632, 642, 634, 651, 644, + 2597, 2597, 692, 704, 673, 676, 695, 689, 678, 674, + 688, 689, 699, 742, 702, 702, 741, 744, 698, 695, + 700, 710, 715, 701, 704, 707, 716, 716, 700, 757, + 719, 711, 722, 762, 725, 718, 718, 720, 724, 730, + 770, 733, 777, 735, 736, 2597, 739, 734, 725, 740, + 745, 742, 739, 746, 745, 733, 747, 745, 753, 789, + + 751, 796, 797, 741, 754, 740, 750, 797, 755, 805, + 2597, 806, 762, 760, 762, 758, 752, 768, 813, 809, + 772, 761, 2597, 763, 774, 763, 776, 766, 779, 823, + 782, 767, 826, 827, 770, 785, 2597, 779, 773, 784, + 769, 780, 793, 784, 773, 779, 834, 798, 782, 782, + 795, 839, 840, 787, 805, 800, 805, 802, 846, 788, + 800, 801, 808, 799, 796, 2597, 862, 819, 820, 808, + 822, 812, 815, 826, 817, 823, 824, 868, 844, 818, + 832, 814, 821, 835, 880, 837, 834, 832, 2597, 836, + 831, 846, 843, 829, 831, 850, 847, 848, 836, 843, + + 844, 853, 892, 858, 894, 856, 846, 860, 846, 845, + 851, 907, 854, 849, 850, 856, 872, 855, 909, 864, + 911, 2597, 875, 875, 868, 879, 877, 922, 864, 866, + 881, 882, 870, 868, 930, 887, 873, 879, 877, 2597, + 2597, 893, 892, 893, 898, 886, 896, 898, 2597, 2597, + 898, 900, 887, 905, 892, 894, 2597, 891, 909, 896, + 896, 947, 894, 898, 916, 957, 2597, 918, 959, 2597, + 2597, 904, 918, 918, 963, 911, 910, 914, 908, 924, + 969, 922, 912, 913, 909, 919, 923, 934, 935, 930, + 932, 925, 927, 923, 940, 930, 945, 928, 987, 944, + + 949, 926, 949, 935, 934, 2597, 941, 943, 992, 993, + 945, 958, 996, 943, 958, 952, 977, 985, 1007, 955, + 1004, 966, 1006, 2597, 1012, 955, 974, 964, 963, 958, + 959, 971, 966, 962, 980, 966, 967, 977, 986, 1022, + 973, 971, 989, 982, 977, 1030, 1036, 993, 984, 2597, + 998, 989, 997, 999, 984, 1000, 990, 1002, 999, 997, + 1044, 1010, 994, 995, 2597, 1011, 1014, 997, 999, 1057, + 1000, 1019, 2597, 1018, 1021, 1008, 1003, 1021, 1009, 1062, + 1020, 1016, 1013, 1066, 1015, 1068, 1030, 1016, 1034, 1034, + 1034, 1020, 1035, 1027, 1023, 1041, 1040, 1027, 1044, 2597, + + 1028, 2597, 1037, 1084, 1037, 2597, 1045, 1048, 1041, 1095, + 1042, 2597, 1045, 1050, 1094, 1045, 1046, 1058, 1052, 1053, + 1051, 1062, 1107, 1051, 1052, 1110, 1111, 1055, 1067, 1060, + 2597, 1057, 1065, 1063, 1114, 1056, 1077, 1063, 1064, 1065, + 1066, 1072, 1080, 1071, 1085, 1086, 1087, 1103, 1108, 2597, + 1090, 1095, 1078, 1078, 2597, 1079, 1081, 1092, 1082, 1102, + 1101, 1092, 1103, 1146, 1088, 1108, 1101, 1105, 1109, 1092, + 1109, 1110, 1101, 1156, 1103, 1107, 2597, 1154, 1105, 1123, + 1105, 1105, 1126, 1123, 1163, 1112, 1130, 1118, 1132, 1118, + 1126, 1135, 1115, 1130, 1137, 1179, 1180, 2597, 1133, 1182, + + 1183, 1125, 1135, 1145, 1129, 1149, 1132, 1134, 1134, 1141, + 1150, 1138, 1145, 1140, 1147, 1159, 1200, 1147, 1202, 1147, + 1164, 1205, 1155, 1159, 1157, 1155, 1150, 1211, 1162, 1159, + 1214, 1164, 1216, 1212, 1218, 1171, 2597, 1160, 1177, 1170, + 1161, 1180, 1174, 1169, 1180, 1181, 1177, 1189, 2597, 1173, + 1169, 2597, 2597, 1175, 1235, 1194, 1175, 1194, 1195, 1197, + 1236, 1189, 1243, 1244, 1197, 1202, 1196, 1194, 1205, 1187, + 1192, 1198, 1232, 1223, 1255, 1210, 1210, 1214, 1259, 1202, + 1202, 1205, 1222, 1217, 1221, 1216, 2597, 1213, 1209, 1226, + 1206, 1227, 1217, 1216, 1269, 1222, 2597, 1236, 1234, 1237, + + 1221, 1230, 1235, 1240, 1226, 1286, 1239, 1244, 1231, 1245, + 1243, 1235, 1241, 1237, 1255, 1256, 1257, 2597, 2597, 1255, + 2597, 1257, 2597, 1242, 1253, 1244, 1263, 1256, 1254, 1306, + 1263, 1260, 1304, 1268, 1257, 1264, 1269, 1266, 1272, 2597, + 1265, 2597, 1257, 1318, 2597, 1319, 1266, 1273, 1317, 1279, + 2597, 1280, 1268, 2597, 1278, 2597, 1269, 2597, 1269, 1270, + 1273, 1287, 1292, 1275, 1286, 1335, 1292, 1293, 1333, 1289, + 1340, 1336, 1342, 2597, 1293, 1290, 1345, 1346, 1303, 1304, + 1306, 2597, 2597, 1298, 1293, 1347, 1296, 1312, 1296, 1308, + 1297, 1328, 1359, 2597, 1316, 1307, 1318, 2597, 1363, 1300, + + 1311, 1326, 1362, 1314, 1325, 1313, 1327, 1328, 1325, 1369, + 1332, 1334, 1323, 1333, 1339, 1327, 1327, 1382, 1378, 1379, + 1385, 1343, 2597, 1345, 1344, 1346, 1338, 1341, 1350, 1351, + 1348, 1338, 1341, 1341, 1400, 1347, 1402, 1349, 1404, 1347, + 1352, 1408, 2597, 1366, 1345, 1360, 1353, 1356, 1369, 1372, + 1371, 1369, 1418, 1372, 2597, 2597, 1368, 1378, 1363, 1419, + 1366, 1426, 1382, 1368, 1429, 1430, 1431, 1375, 1385, 1434, + 1391, 2597, 1383, 1384, 1386, 1439, 1382, 2597, 1399, 2597, + 1398, 1388, 2597, 2597, 1401, 1384, 1404, 1405, 1391, 1393, + 1452, 1402, 1454, 1403, 1397, 1436, 2597, 1458, 1408, 1455, + + 2597, 1403, 1462, 1412, 1406, 1403, 1406, 1408, 1404, 1426, + 1465, 1418, 1430, 1433, 1430, 1422, 1425, 1418, 1478, 1426, + 2597, 1424, 1423, 2597, 1425, 1484, 1437, 1428, 1482, 1444, + 1444, 1447, 1447, 1444, 1488, 1450, 2597, 1442, 2597, 1443, + 2597, 1453, 1445, 2597, 1494, 1456, 1457, 1454, 1498, 1446, + 1461, 1501, 1463, 1455, 2597, 1452, 1452, 1458, 1457, 1455, + 1509, 2597, 1471, 1471, 2597, 2597, 2597, 1512, 1459, 2597, + 1476, 1461, 1462, 1468, 2597, 1477, 1524, 1472, 1464, 1470, + 1480, 1492, 1485, 1491, 1481, 1536, 1489, 2597, 1498, 2597, + 1495, 1540, 1515, 2597, 1499, 1484, 1544, 2597, 1545, 1502, + + 1507, 1489, 1549, 1550, 1546, 1510, 1507, 1503, 1496, 1503, + 1552, 1510, 1511, 2597, 1501, 1517, 1515, 1564, 2597, 1502, + 1561, 1525, 1526, 1522, 1566, 1514, 1519, 1517, 1576, 1532, + 1520, 1579, 1575, 1530, 1582, 1543, 1532, 1526, 1586, 1528, + 1537, 1530, 1544, 1547, 1592, 1534, 1551, 1547, 1545, 1538, + 1553, 1537, 1595, 1596, 1597, 1598, 1561, 1554, 1553, 1553, + 1548, 2597, 1556, 1562, 1553, 1554, 1553, 1555, 1610, 1556, + 2597, 1552, 1570, 1619, 2597, 1589, 1621, 1574, 2597, 2597, + 1565, 1576, 1625, 2597, 2597, 1571, 1576, 1574, 1624, 1582, + 1587, 1573, 1576, 1593, 1582, 1580, 1580, 1582, 2597, 1640, + + 1586, 1595, 1638, 1581, 1587, 1647, 1596, 1606, 1607, 2597, + 1652, 1605, 1649, 2597, 1600, 1608, 2597, 1599, 1614, 1602, + 2597, 1612, 1613, 1614, 1663, 1621, 2597, 1660, 1626, 1602, + 1620, 1621, 1622, 1631, 1613, 1619, 1621, 1633, 1632, 1623, + 1673, 1625, 1621, 1622, 1623, 1678, 1684, 1634, 1686, 1639, + 1629, 1645, 1638, 2597, 1691, 2597, 1640, 1693, 1635, 2597, + 1638, 1648, 1692, 1640, 1655, 1642, 1701, 1658, 1644, 1651, + 1651, 1662, 1663, 2597, 1657, 1652, 1666, 1652, 1712, 1665, + 2597, 1709, 1660, 1657, 2597, 1671, 1658, 1679, 1675, 1677, + 1722, 1675, 1672, 1680, 1674, 2597, 1727, 1668, 1670, 1686, + + 1679, 1680, 1670, 1686, 1687, 1681, 1697, 1687, 1739, 1699, + 1683, 1692, 1738, 1696, 1745, 1694, 2597, 1688, 2597, 1695, + 1749, 1750, 1747, 2597, 1709, 2597, 1749, 1711, 1712, 1697, + 1698, 1706, 1760, 2597, 1708, 1757, 1758, 1713, 1708, 1726, + 1723, 1714, 1727, 1722, 2597, 1719, 1724, 1722, 1774, 1775, + 1723, 1720, 1734, 1721, 2597, 1736, 1737, 1738, 1739, 2597, + 1729, 1741, 1786, 1739, 1744, 1789, 1731, 1739, 1733, 1741, + 1754, 2597, 1755, 1736, 1737, 1744, 1746, 2597, 1760, 1757, + 1797, 1758, 2597, 2597, 1762, 1747, 1747, 1762, 1755, 1754, + 1765, 1752, 2597, 1768, 1756, 1759, 1815, 1755, 1774, 1765, + + 1777, 1770, 1769, 1778, 1780, 1784, 2597, 2597, 1777, 1768, + 1768, 1828, 1771, 1830, 1772, 1832, 1790, 1834, 2597, 1776, + 1836, 2597, 1832, 1794, 1791, 1796, 1783, 1791, 1802, 1789, + 1800, 1786, 1784, 1792, 1791, 1796, 1788, 1853, 1806, 1807, + 1797, 1814, 1813, 1854, 1798, 1817, 1818, 2597, 1823, 1816, + 1865, 1822, 1809, 1824, 1869, 1826, 1829, 1816, 1825, 1826, + 2597, 1875, 2597, 1828, 2597, 1837, 2597, 1878, 2597, 1820, + 1880, 1827, 1882, 1825, 1884, 1832, 1881, 1882, 1844, 1884, + 1830, 1834, 1852, 1893, 1852, 2597, 1843, 1833, 1892, 1858, + 1851, 1847, 1901, 1844, 1846, 1845, 1852, 2597, 1848, 1907, + + 1851, 2597, 1856, 1866, 1851, 1859, 1861, 2597, 1862, 1856, + 2597, 1868, 2597, 1864, 2597, 1874, 2597, 1875, 1875, 1866, + 1922, 1866, 1876, 1861, 1874, 2597, 1876, 1884, 1929, 1870, + 1872, 1869, 1893, 2597, 1880, 1887, 1888, 1891, 1880, 2597, + 1934, 1881, 1889, 1898, 1897, 1900, 1901, 1902, 1895, 1890, + 1891, 1891, 1903, 1898, 2597, 1909, 1897, 1950, 1901, 1913, + 1958, 2597, 1904, 1916, 1961, 1910, 1912, 1910, 1911, 1966, + 1919, 1906, 1921, 1926, 1971, 1972, 1973, 1974, 1975, 1932, + 1977, 1978, 1979, 1923, 1927, 1923, 1939, 1922, 1934, 1928, + 2597, 1944, 1988, 2597, 1945, 1930, 1948, 1939, 2597, 1940, + + 1954, 1950, 1943, 2597, 2597, 2597, 2597, 2597, 1997, 2597, + 2597, 2597, 1940, 1948, 1943, 1996, 1962, 1959, 2004, 1965, + 2597, 2006, 1948, 2008, 1951, 1964, 1963, 1964, 1954, 2597, + 1955, 2015, 1968, 1977, 1970, 2014, 2597, 1961, 2597, 1973, + 2597, 2017, 2023, 1965, 1981, 2026, 2027, 2597, 1984, 1978, + 1971, 1991, 1988, 1980, 1984, 2597, 2031, 1980, 2597, 2597, + 1980, 1988, 2035, 1995, 1988, 2043, 1991, 1991, 1987, 1989, + 2048, 2049, 1991, 2007, 1992, 2597, 2053, 2000, 2007, 2056, + 2597, 2597, 2009, 2058, 2006, 2597, 2010, 2009, 2597, 2010, + 2597, 2004, 2004, 2021, 2022, 2067, 2013, 2069, 2070, 2597, + + 2071, 2597, 2597, 2597, 2597, 2077, 2080, 2083, 2084, 2086, + 2089, 2092, 2095 + } ; + +static const flex_int16_t yy_def[2214] = + { 0, + 2206, 2206, 2207, 2207, 2206, 2206, 2206, 2206, 2206, 2206, + 2205, 2205, 2205, 2205, 2205, 2208, 2205, 2205, 2205, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2209, + 2205, 2205, 2205, 2210, 15, 2205, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2211, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 2208, 2205, + 2205, 2205, 2205, 2205, 2205, 2212, 2205, 2205, 2205, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2209, 2205, 2210, + + 2205, 2205, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 2213, 45, 2211, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 2212, 2205, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 45, 45, 2205, 45, + + 45, 2205, 45, 45, 45, 45, 45, 45, 2213, 2205, + 2205, 116, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 2205, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 45, 45, 45, 45, + 2205, 45, 2205, 45, 2205, 45, 116, 2205, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 2205, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2205, 2205, 2205, 45, 45, + 45, 2205, 45, 2205, 45, 116, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2205, 45, 45, 45, 45, + 45, 45, 2205, 45, 45, 45, 45, 45, 45, 45, + 45, 2205, 45, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 2205, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 2205, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2205, 45, 45, 2205, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 2205, + 45, 2205, 45, 2205, 45, 2205, 45, 45, 45, 2205, + + 45, 2205, 2205, 2205, 45, 45, 45, 45, 2205, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 2205, 45, 45, 45, 45, 45, + 45, 45, 45, 2205, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 2205, 45, 45, + 2205, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 2205, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2205, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2205, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2205, 2205, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2205, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2205, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 2205, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2205, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2205, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 2205, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2205, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 2205, + 2205, 45, 45, 45, 45, 45, 45, 45, 2205, 2205, + 45, 45, 45, 45, 45, 45, 2205, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2205, 45, 45, 2205, + 2205, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 2205, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 2205, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 2205, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 2205, 45, 45, 45, 45, 45, + 45, 45, 2205, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 2205, + + 45, 2205, 45, 45, 45, 2205, 45, 45, 45, 45, + 45, 2205, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2205, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 2205, + 45, 45, 45, 45, 2205, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2205, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 2205, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2205, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 2205, 45, + 45, 2205, 2205, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2205, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2205, 45, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 2205, 2205, 45, + 2205, 45, 2205, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 2205, + 45, 2205, 45, 45, 2205, 45, 45, 45, 45, 45, + 2205, 45, 45, 2205, 45, 2205, 45, 2205, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 2205, 45, 45, 45, 45, 45, 45, + 45, 2205, 2205, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 2205, 45, 45, 45, 2205, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 2205, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 2205, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 2205, 2205, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2205, 45, 45, 45, 45, 45, 2205, 45, 2205, + 45, 45, 2205, 2205, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2205, 45, 45, 45, + + 2205, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2205, 45, 45, 2205, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2205, 45, 2205, 45, + 2205, 45, 45, 2205, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 2205, 45, 45, 45, 45, 45, + 45, 2205, 45, 45, 2205, 2205, 2205, 45, 45, 2205, + 45, 45, 45, 45, 2205, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 2205, 45, 2205, + 45, 45, 45, 2205, 45, 45, 45, 2205, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 2205, 45, 45, 45, 45, 2205, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2205, 45, 45, 45, 45, 45, 45, 45, 45, + 2205, 45, 45, 45, 2205, 45, 45, 45, 2205, 2205, + 45, 45, 45, 2205, 2205, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 2205, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 2205, + 45, 45, 45, 2205, 45, 45, 2205, 45, 45, 45, + 2205, 45, 45, 45, 45, 45, 2205, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 2205, 45, 2205, 45, 45, 45, 2205, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 2205, 45, 45, 45, 45, 45, 45, + 2205, 45, 45, 45, 2205, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2205, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2205, 45, 2205, 45, + 45, 45, 45, 2205, 45, 2205, 45, 45, 45, 45, + 45, 45, 45, 2205, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 2205, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 2205, 45, 45, 45, 45, 2205, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2205, 45, 45, 45, 45, 45, 2205, 45, 45, + 45, 45, 2205, 2205, 45, 45, 45, 45, 45, 45, + 45, 45, 2205, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 45, 2205, 2205, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 2205, 45, + 45, 2205, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 2205, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2205, 45, 2205, 45, 2205, 45, 2205, 45, 2205, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2205, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 2205, 45, 45, + + 45, 2205, 45, 45, 45, 45, 45, 2205, 45, 45, + 2205, 45, 2205, 45, 2205, 45, 2205, 45, 45, 45, + 45, 45, 45, 45, 45, 2205, 45, 45, 45, 45, + 45, 45, 45, 2205, 45, 45, 45, 45, 45, 2205, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 2205, 45, 45, 45, 45, 45, + 45, 2205, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2205, 45, 45, 2205, 45, 45, 45, 45, 2205, 45, + + 45, 45, 45, 2205, 2205, 2205, 2205, 2205, 45, 2205, + 2205, 2205, 45, 45, 45, 45, 45, 45, 45, 45, + 2205, 45, 45, 45, 45, 45, 45, 45, 45, 2205, + 45, 45, 45, 45, 45, 45, 2205, 45, 2205, 45, + 2205, 45, 45, 45, 45, 45, 45, 2205, 45, 45, + 45, 45, 45, 45, 45, 2205, 45, 45, 2205, 2205, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2205, 45, 45, 45, 45, + 2205, 2205, 45, 45, 45, 2205, 45, 45, 2205, 45, + 2205, 45, 45, 45, 45, 45, 45, 45, 45, 2205, + + 45, 2205, 2205, 2205, 0, 2205, 2205, 2205, 2205, 2205, + 2205, 2205, 2205 + } ; + +static const flex_int16_t yy_nxt[2671] = + { 0, + 2205, 13, 14, 13, 2205, 15, 16, 2205, 17, 18, + 19, 20, 21, 22, 22, 22, 22, 22, 23, 24, + 85, 823, 37, 14, 37, 86, 25, 26, 38, 101, + 2205, 27, 37, 14, 37, 42, 28, 42, 38, 91, + 92, 29, 201, 30, 13, 14, 13, 90, 91, 25, + 31, 92, 13, 14, 13, 13, 14, 13, 32, 40, + 824, 13, 14, 13, 33, 40, 102, 91, 92, 201, + 90, 34, 35, 13, 14, 13, 94, 15, 16, 95, + 17, 18, 19, 20, 21, 22, 22, 22, 22, 22, + 23, 24, 13, 14, 13, 90, 39, 103, 25, 26, + + 13, 14, 13, 27, 39, 42, 106, 42, 28, 42, + 107, 42, 41, 29, 109, 30, 112, 113, 93, 137, + 41, 25, 31, 103, 138, 381, 88, 139, 88, 106, + 32, 89, 89, 89, 89, 89, 33, 109, 107, 112, + 864, 113, 382, 34, 35, 44, 44, 44, 45, 45, + 46, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 47, 45, 45, + 48, 49, 50, 45, 51, 52, 53, 45, 45, 45, + 45, 54, 55, 45, 56, 45, 45, 57, 45, 45, + 58, 45, 59, 60, 61, 62, 63, 64, 65, 51, + + 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, + 76, 77, 78, 45, 45, 45, 45, 45, 80, 205, + 81, 81, 81, 81, 81, 80, 103, 83, 83, 83, + 83, 83, 459, 82, 84, 84, 84, 84, 84, 80, + 82, 83, 83, 83, 83, 83, 205, 82, 189, 190, + 110, 119, 117, 131, 82, 120, 82, 106, 118, 121, + 111, 459, 122, 82, 125, 123, 132, 126, 127, 124, + 82, 128, 129, 110, 189, 190, 133, 82, 45, 109, + 106, 45, 45, 45, 130, 45, 45, 45, 111, 115, + 135, 134, 45, 45, 333, 45, 45, 136, 153, 445, + + 154, 45, 155, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 191, 140, 45, 167, 144, 145, + 45, 168, 146, 113, 45, 141, 148, 142, 147, 241, + 149, 202, 45, 156, 150, 208, 45, 207, 45, 116, + 112, 157, 191, 158, 720, 242, 151, 113, 159, 160, + 152, 161, 169, 189, 162, 163, 170, 187, 208, 171, + 176, 177, 203, 112, 207, 164, 172, 173, 165, 191, + 110, 174, 175, 184, 190, 197, 200, 101, 185, 192, + 111, 84, 84, 84, 84, 84, 80, 865, 81, 81, + + 81, 81, 81, 178, 82, 179, 721, 194, 180, 181, + 193, 82, 200, 197, 88, 868, 88, 250, 182, 89, + 89, 89, 89, 89, 102, 183, 80, 82, 83, 83, + 83, 83, 83, 100, 82, 84, 84, 84, 84, 84, + 100, 82, 89, 89, 89, 89, 89, 204, 82, 89, + 89, 89, 89, 89, 206, 197, 216, 222, 228, 229, + 235, 251, 236, 238, 82, 217, 223, 224, 230, 218, + 100, 82, 213, 204, 100, 204, 239, 270, 100, 237, + 240, 245, 206, 214, 246, 255, 100, 260, 247, 869, + 100, 285, 100, 100, 211, 286, 281, 870, 256, 282, + + 283, 268, 212, 212, 212, 212, 212, 288, 261, 275, + 322, 212, 212, 212, 212, 212, 212, 304, 338, 205, + 206, 310, 320, 271, 276, 277, 278, 311, 321, 322, + 321, 305, 330, 322, 212, 212, 212, 212, 212, 212, + 320, 298, 289, 290, 291, 299, 309, 327, 314, 300, + 320, 329, 325, 292, 321, 293, 324, 294, 295, 330, + 296, 332, 334, 336, 327, 390, 349, 351, 323, 350, + 327, 743, 339, 332, 412, 352, 408, 483, 459, 329, + 404, 353, 484, 563, 332, 334, 409, 340, 456, 413, + 336, 337, 337, 337, 337, 337, 399, 440, 743, 441, + + 337, 337, 337, 337, 337, 337, 425, 468, 334, 426, + 456, 456, 461, 463, 489, 463, 871, 506, 391, 535, + 490, 392, 507, 337, 337, 337, 337, 337, 337, 536, + 405, 334, 564, 457, 530, 461, 523, 524, 525, 552, + 531, 463, 526, 537, 553, 450, 466, 466, 466, 466, + 466, 767, 798, 799, 768, 466, 466, 466, 466, 466, + 466, 557, 567, 576, 596, 558, 568, 577, 601, 597, + 508, 605, 633, 606, 872, 509, 669, 873, 466, 466, + 466, 466, 466, 466, 645, 634, 670, 681, 601, 646, + 712, 874, 682, 875, 866, 713, 601, 554, 605, 744, + + 606, 45, 45, 45, 45, 45, 867, 876, 877, 623, + 45, 45, 45, 45, 45, 45, 608, 624, 747, 625, + 626, 627, 628, 629, 742, 748, 837, 744, 878, 746, + 879, 838, 880, 45, 45, 45, 45, 45, 45, 881, + 882, 883, 884, 885, 886, 887, 888, 889, 890, 891, + 892, 894, 893, 879, 895, 896, 878, 897, 898, 899, + 900, 901, 902, 903, 904, 905, 906, 907, 908, 909, + 839, 910, 911, 912, 913, 914, 917, 918, 919, 915, + 920, 921, 922, 916, 923, 924, 925, 926, 927, 928, + 929, 930, 931, 932, 933, 934, 935, 936, 937, 938, + + 939, 940, 941, 942, 943, 944, 945, 947, 948, 946, + 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, + 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, + 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, + 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, + 989, 990, 991, 992, 994, 995, 998, 999, 1000, 1001, + 993, 1003, 996, 1004, 1005, 1002, 997, 1006, 1007, 1008, + 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, + 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, + 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, + + 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1018, 1046, 1047, + 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, + 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1067, 1068, + 1069, 1070, 1066, 1071, 1072, 1073, 1074, 1075, 1076, 1077, + 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, + 1088, 1089, 1090, 1091, 1092, 1094, 1095, 1096, 1093, 1097, + 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, + 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, + 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1128, + 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, + + 1127, 1139, 1140, 1141, 1142, 1143, 1144, 1145, 1146, 1147, + 1148, 1149, 1150, 1151, 1152, 1153, 1154, 1155, 1156, 1157, + 1158, 1159, 1160, 1161, 1162, 1163, 1164, 1165, 1166, 1167, + 1168, 1169, 1170, 1171, 1149, 1172, 1173, 1148, 1174, 1175, + 1176, 1177, 1178, 1179, 1180, 1181, 1182, 1183, 1184, 1185, + 1186, 1187, 1188, 1189, 1190, 1191, 1192, 1193, 1194, 1195, + 1196, 1197, 1198, 1201, 1202, 1203, 1204, 1199, 1205, 1206, + 1207, 1208, 1209, 1210, 1211, 1212, 1213, 1214, 1215, 1216, + 1217, 1218, 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1227, + 1228, 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1226, + + 1237, 1238, 1239, 1240, 1241, 1242, 1243, 1244, 1245, 1246, + 1247, 1248, 1249, 1250, 1251, 1252, 1253, 1254, 1255, 1256, + 1200, 1257, 1258, 1259, 1260, 1261, 1262, 1263, 1264, 1265, + 1266, 1267, 1268, 1269, 1270, 1271, 1272, 1273, 1275, 1274, + 1276, 1277, 1278, 1279, 1280, 1281, 1282, 1283, 1284, 1285, + 1286, 1287, 1288, 1289, 1290, 1291, 1292, 1293, 1294, 1295, + 1296, 1297, 1298, 1299, 1300, 1273, 1274, 1301, 1302, 1303, + 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, + 1314, 1315, 1316, 1317, 1318, 1319, 1320, 1321, 1323, 1325, + 1326, 1327, 1322, 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, 1324, 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, 1398, 1399, 1400, 1401, 1402, 1403, + 1404, 1405, 1406, 1407, 1408, 1409, 1410, 1411, 1412, 1413, + 1414, 1392, 1415, 1416, 1417, 1418, 1419, 1393, 1420, 1421, + 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, 1477, 1478, 1479, 1480, 1481, 1482, + 1483, 1484, 1485, 1486, 1487, 1488, 1489, 1490, 1491, 1492, + 1493, 1494, 1495, 1496, 1497, 1498, 1499, 1500, 1501, 1503, + 1504, 1505, 1506, 1507, 1508, 1509, 1510, 1511, 1512, 1513, + 1514, 1515, 1516, 1517, 1518, 1519, 1520, 1521, 1522, 1523, + 1524, 1496, 1525, 1526, 1527, 1528, 1476, 1529, 1530, 1531, + + 1532, 1533, 1534, 1535, 1536, 1537, 1538, 1539, 1540, 1541, + 1542, 1543, 1502, 1544, 1545, 1546, 1547, 1549, 1550, 1551, + 1552, 1553, 1554, 1555, 1548, 1556, 1557, 1558, 1559, 1560, + 1561, 1562, 1563, 1564, 1565, 1566, 1567, 1568, 1569, 1570, + 1571, 1572, 1573, 1574, 1575, 1577, 1578, 1580, 1579, 1576, + 1581, 1582, 1583, 1584, 1585, 1586, 1587, 1588, 1589, 1590, + 1591, 1592, 1593, 1594, 1595, 1596, 1597, 1598, 1599, 1600, + 1601, 1602, 1603, 1604, 1605, 1606, 1607, 1608, 1609, 1610, + 1611, 1612, 1613, 1614, 1615, 1593, 1616, 1617, 1618, 1619, + 1620, 1621, 1622, 1623, 1624, 1625, 1626, 1627, 1628, 1629, + + 1630, 1631, 1632, 1633, 1634, 1635, 1636, 1637, 1638, 1639, + 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, + 1650, 1651, 1652, 1653, 1654, 1655, 1656, 1657, 1658, 1662, + 1659, 1663, 1664, 1660, 1665, 1666, 1661, 1667, 1668, 1669, + 1670, 1671, 1672, 1673, 1674, 1675, 1676, 1677, 1678, 1679, + 1680, 1681, 1682, 1683, 1684, 1685, 1686, 1687, 1689, 1690, + 1691, 1692, 1693, 1694, 1695, 1696, 1697, 1698, 1688, 1699, + 1700, 1701, 1702, 1676, 1703, 1704, 1705, 1706, 1707, 1708, + 1709, 1710, 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, 1711, + 1769, 1770, 1771, 1772, 1773, 1774, 1776, 1777, 1778, 1779, + 1775, 1780, 1781, 1755, 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, 1819, 1820, 1821, 1822, 1823, 1824, 1825, 1826, 1827, + + 1828, 1829, 1830, 1831, 1832, 1833, 1834, 1835, 1836, 1837, + 1838, 1839, 1840, 1841, 1842, 1843, 1844, 1845, 1846, 1847, + 1848, 1849, 1850, 1851, 1852, 1853, 1854, 1855, 1856, 1857, + 1858, 1859, 1860, 1861, 1862, 1863, 1864, 1865, 1866, 1867, + 1868, 1869, 1870, 1871, 1872, 1873, 1874, 1875, 1876, 1877, + 1878, 1879, 1881, 1882, 1883, 1884, 1880, 1885, 1886, 1887, + 1888, 1889, 1890, 1891, 1892, 1893, 1894, 1895, 1896, 1897, + 1898, 1899, 1900, 1901, 1902, 1903, 1904, 1905, 1906, 1907, + 1908, 1909, 1910, 1911, 1912, 1913, 1914, 1915, 1916, 1917, + 1918, 1919, 1920, 1921, 1922, 1923, 1924, 1925, 1926, 1927, + + 1928, 1929, 1930, 1931, 1932, 1933, 1934, 1935, 1936, 1937, + 1938, 1939, 1940, 1941, 1942, 1943, 1944, 1945, 1946, 1947, + 1948, 1949, 1950, 1951, 1952, 1953, 1954, 1955, 1956, 1957, + 1958, 1959, 1960, 1961, 1962, 1963, 1964, 1965, 1966, 1967, + 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, + 1978, 1979, 1980, 1981, 1983, 1984, 1982, 1985, 1986, 1987, + 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, + 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, + 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, + 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, + + 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, + 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, + 2048, 2049, 2050, 2051, 2052, 2053, 2054, 2055, 2056, 2057, + 2058, 2059, 2060, 2061, 2062, 2063, 2064, 2065, 2066, 2067, + 2068, 2069, 2070, 2071, 2072, 2073, 2074, 2075, 2076, 2077, + 2078, 2079, 2080, 2081, 2082, 2083, 2084, 2085, 2086, 2087, + 2088, 2089, 2090, 2091, 2092, 2093, 2094, 2095, 2096, 2097, + 2098, 2099, 2100, 2101, 2102, 2103, 2104, 2105, 2106, 2107, + 2108, 2109, 2110, 2111, 2112, 2113, 2114, 2115, 2116, 2117, + 2118, 2119, 2120, 2121, 2122, 2123, 2124, 2125, 2126, 2127, + + 2128, 2129, 2130, 2131, 2132, 2133, 2134, 2135, 2136, 2137, + 2138, 2139, 2140, 2141, 2142, 2143, 2144, 2145, 2146, 2147, + 2148, 2149, 2150, 2151, 2152, 2153, 2154, 2155, 2156, 2157, + 2158, 2159, 2160, 2161, 2162, 2163, 2164, 2166, 2165, 2167, + 2168, 2169, 2170, 2171, 2172, 2173, 2174, 2175, 2176, 2177, + 2178, 2179, 2180, 2181, 2182, 2183, 2184, 2185, 2186, 2187, + 2188, 2189, 2190, 2191, 2192, 2193, 2194, 2195, 2196, 2197, + 2198, 2199, 2200, 2201, 2202, 2203, 2204, 12, 12, 12, + 36, 36, 36, 79, 98, 79, 100, 100, 100, 114, + 114, 114, 188, 863, 188, 209, 209, 209, 862, 861, + + 860, 859, 858, 857, 856, 855, 854, 853, 852, 851, + 850, 849, 848, 847, 846, 845, 844, 843, 842, 841, + 840, 836, 835, 834, 833, 832, 831, 830, 829, 828, + 827, 826, 825, 822, 821, 820, 819, 818, 817, 816, + 815, 814, 813, 812, 811, 810, 809, 808, 807, 806, + 805, 804, 803, 802, 801, 800, 797, 796, 795, 794, + 793, 792, 791, 790, 789, 788, 787, 786, 785, 784, + 783, 782, 781, 780, 779, 778, 777, 776, 775, 774, + 773, 772, 771, 770, 769, 766, 765, 764, 763, 762, + 761, 760, 759, 758, 757, 756, 755, 754, 753, 752, + + 751, 750, 749, 745, 742, 741, 740, 739, 738, 737, + 736, 735, 734, 733, 732, 731, 730, 729, 728, 727, + 726, 725, 724, 723, 722, 719, 718, 717, 716, 715, + 714, 711, 710, 709, 708, 707, 706, 705, 704, 703, + 702, 701, 700, 699, 698, 697, 696, 695, 694, 693, + 692, 691, 690, 689, 688, 687, 686, 685, 684, 683, + 680, 679, 678, 677, 676, 675, 674, 673, 672, 671, + 668, 667, 666, 665, 664, 663, 662, 661, 660, 659, + 658, 657, 656, 655, 654, 653, 652, 651, 650, 649, + 648, 647, 644, 643, 642, 641, 640, 639, 638, 637, + + 636, 635, 632, 631, 630, 622, 621, 620, 619, 618, + 617, 616, 615, 614, 613, 612, 611, 610, 609, 607, + 604, 603, 602, 600, 599, 598, 595, 594, 593, 592, + 591, 590, 589, 588, 587, 586, 585, 584, 583, 582, + 581, 580, 579, 578, 575, 574, 573, 572, 571, 570, + 569, 566, 565, 562, 561, 560, 559, 556, 555, 551, + 550, 549, 548, 547, 546, 545, 544, 543, 542, 541, + 540, 539, 538, 534, 533, 532, 529, 528, 527, 522, + 521, 520, 519, 518, 517, 516, 515, 514, 513, 512, + 511, 510, 505, 504, 503, 502, 501, 500, 499, 498, + + 497, 496, 495, 494, 493, 492, 491, 488, 487, 486, + 485, 482, 481, 480, 479, 478, 477, 476, 475, 474, + 473, 472, 471, 470, 469, 467, 465, 464, 462, 460, + 458, 455, 454, 453, 452, 451, 449, 448, 447, 446, + 444, 443, 442, 439, 438, 437, 436, 435, 434, 433, + 432, 431, 430, 429, 428, 427, 424, 423, 422, 421, + 420, 419, 418, 417, 416, 415, 414, 411, 410, 407, + 406, 403, 402, 401, 400, 398, 397, 396, 395, 394, + 393, 389, 388, 387, 386, 385, 384, 383, 380, 379, + 378, 377, 376, 375, 374, 373, 372, 371, 370, 369, + + 368, 367, 366, 365, 364, 363, 362, 361, 360, 359, + 358, 357, 356, 355, 354, 348, 347, 346, 345, 344, + 343, 342, 341, 210, 335, 333, 331, 328, 326, 319, + 318, 317, 316, 315, 313, 312, 308, 307, 306, 303, + 302, 301, 297, 287, 284, 280, 279, 274, 273, 272, + 269, 267, 266, 265, 264, 263, 262, 259, 258, 257, + 254, 253, 252, 249, 248, 244, 243, 234, 233, 232, + 231, 227, 226, 225, 221, 220, 219, 215, 210, 199, + 198, 196, 195, 186, 166, 143, 108, 105, 104, 43, + 99, 97, 96, 87, 43, 2205, 11, 2205, 2205, 2205, + + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205 + } ; + +static const flex_int16_t yy_chk[2671] = + { 0, + 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 21, 687, 3, 3, 3, 21, 1, 1, 3, 44, + 0, 1, 4, 4, 4, 13, 1, 13, 4, 27, + 28, 1, 107, 1, 5, 5, 5, 26, 32, 1, + 1, 33, 6, 6, 6, 7, 7, 7, 1, 7, + 687, 8, 8, 8, 1, 8, 44, 27, 28, 107, + 26, 1, 1, 2, 2, 2, 32, 2, 2, 33, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 9, 9, 9, 31, 5, 47, 2, 2, + + 10, 10, 10, 2, 6, 37, 50, 37, 2, 42, + 51, 42, 9, 2, 53, 2, 55, 56, 31, 64, + 10, 2, 2, 47, 64, 253, 25, 64, 25, 50, + 2, 25, 25, 25, 25, 25, 2, 53, 51, 55, + 728, 56, 253, 2, 2, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 17, 110, + 17, 17, 17, 17, 17, 19, 58, 19, 19, 19, + 19, 19, 327, 17, 20, 20, 20, 20, 20, 22, + 19, 22, 22, 22, 22, 22, 110, 20, 90, 91, + 54, 59, 58, 61, 22, 59, 17, 62, 58, 59, + 54, 327, 59, 19, 60, 59, 61, 60, 60, 59, + 20, 60, 60, 54, 90, 91, 61, 22, 45, 69, + 62, 45, 45, 45, 60, 45, 45, 45, 54, 57, + 63, 62, 45, 45, 309, 45, 57, 63, 69, 309, + + 69, 45, 69, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 92, 65, 57, 73, 67, 67, + 57, 73, 67, 78, 57, 65, 68, 65, 67, 134, + 68, 108, 57, 70, 68, 113, 57, 112, 57, 57, + 76, 70, 92, 70, 576, 134, 68, 78, 70, 70, + 68, 71, 74, 93, 71, 71, 74, 78, 113, 74, + 75, 75, 108, 76, 112, 71, 74, 74, 71, 95, + 75, 74, 74, 76, 94, 103, 106, 100, 76, 93, + 75, 80, 80, 80, 80, 80, 81, 729, 81, 81, + + 81, 81, 81, 75, 80, 75, 576, 95, 75, 75, + 94, 81, 106, 103, 82, 731, 82, 140, 75, 82, + 82, 82, 82, 82, 100, 75, 83, 80, 83, 83, + 83, 83, 83, 102, 81, 84, 84, 84, 84, 84, + 102, 83, 88, 88, 88, 88, 88, 109, 84, 89, + 89, 89, 89, 89, 111, 117, 119, 123, 127, 127, + 132, 140, 132, 133, 83, 119, 123, 123, 127, 119, + 102, 84, 117, 155, 102, 109, 133, 157, 102, 132, + 133, 137, 111, 117, 137, 144, 102, 148, 137, 732, + 102, 166, 102, 102, 116, 166, 164, 733, 144, 164, + + 164, 155, 116, 116, 116, 116, 116, 168, 148, 161, + 191, 116, 116, 116, 116, 116, 116, 174, 213, 178, + 182, 179, 189, 157, 161, 161, 161, 179, 190, 194, + 193, 174, 201, 191, 116, 116, 116, 116, 116, 116, + 192, 170, 168, 168, 168, 170, 178, 197, 182, 170, + 189, 200, 194, 168, 190, 168, 193, 168, 168, 201, + 168, 204, 206, 208, 214, 261, 223, 224, 192, 223, + 197, 605, 213, 268, 279, 224, 276, 355, 340, 200, + 273, 224, 355, 423, 204, 206, 276, 214, 320, 279, + 208, 212, 212, 212, 212, 212, 268, 305, 605, 305, + + 212, 212, 212, 212, 212, 212, 291, 340, 314, 291, + 323, 320, 329, 332, 360, 399, 734, 376, 261, 398, + 360, 261, 376, 212, 212, 212, 212, 212, 212, 398, + 273, 314, 423, 323, 394, 329, 390, 390, 390, 415, + 394, 332, 390, 399, 415, 314, 337, 337, 337, 337, + 337, 629, 661, 661, 629, 337, 337, 337, 337, 337, + 337, 418, 426, 434, 453, 418, 426, 434, 459, 453, + 376, 465, 489, 465, 735, 376, 525, 736, 337, 337, + 337, 337, 337, 337, 501, 489, 525, 537, 468, 501, + 569, 737, 537, 738, 730, 569, 459, 415, 465, 606, + + 465, 466, 466, 466, 466, 466, 730, 739, 740, 485, + 466, 466, 466, 466, 466, 466, 468, 485, 610, 485, + 485, 485, 485, 485, 608, 610, 701, 606, 743, 608, + 744, 701, 745, 466, 466, 466, 466, 466, 466, 746, + 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, + 756, 757, 756, 744, 758, 759, 743, 760, 761, 762, + 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, + 701, 773, 774, 775, 776, 777, 778, 779, 780, 777, + 781, 782, 783, 777, 784, 785, 787, 788, 789, 790, + 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, + + 801, 802, 803, 804, 805, 806, 807, 808, 809, 807, + 810, 812, 813, 814, 815, 816, 817, 818, 819, 820, + 821, 822, 824, 825, 826, 827, 828, 829, 830, 831, + 832, 833, 834, 835, 836, 838, 839, 840, 841, 842, + 843, 844, 845, 846, 847, 848, 849, 850, 851, 852, + 853, 854, 855, 856, 857, 858, 859, 860, 861, 862, + 856, 863, 858, 864, 865, 862, 858, 867, 868, 869, + 870, 871, 872, 873, 874, 875, 876, 877, 878, 879, + 880, 881, 882, 883, 884, 885, 886, 887, 888, 890, + 891, 892, 893, 894, 895, 896, 897, 898, 899, 900, + + 901, 902, 903, 904, 905, 906, 907, 879, 908, 909, + 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, + 920, 921, 923, 924, 925, 926, 927, 928, 929, 930, + 931, 932, 928, 933, 934, 935, 936, 937, 938, 939, + 942, 943, 944, 945, 946, 947, 948, 951, 952, 953, + 954, 955, 956, 958, 959, 960, 961, 962, 959, 963, + 964, 965, 966, 968, 969, 972, 973, 974, 975, 976, + 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, + 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, + 997, 998, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1007, + + 995, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, + 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1025, 1026, 1027, + 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, + 1038, 1039, 1040, 1041, 1018, 1042, 1043, 1017, 1044, 1045, + 1046, 1047, 1048, 1049, 1051, 1052, 1053, 1054, 1055, 1056, + 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1066, 1067, + 1068, 1069, 1070, 1071, 1072, 1074, 1075, 1070, 1076, 1077, + 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, + 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, + 1098, 1099, 1101, 1103, 1104, 1105, 1107, 1108, 1109, 1096, + + 1110, 1111, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, + 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, + 1070, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1140, + 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1148, 1151, 1149, + 1152, 1153, 1154, 1156, 1157, 1158, 1159, 1160, 1161, 1162, + 1163, 1164, 1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172, + 1173, 1174, 1175, 1176, 1178, 1148, 1149, 1179, 1180, 1181, + 1182, 1183, 1184, 1185, 1186, 1187, 1188, 1189, 1190, 1191, + 1192, 1193, 1194, 1195, 1196, 1197, 1199, 1200, 1201, 1202, + 1203, 1204, 1200, 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, + 1232, 1233, 1234, 1235, 1236, 1238, 1239, 1240, 1241, 1242, + 1243, 1244, 1201, 1245, 1246, 1247, 1248, 1250, 1251, 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, 1279, 1280, 1281, 1282, 1283, 1284, + 1285, 1286, 1288, 1289, 1290, 1291, 1292, 1293, 1294, 1295, + 1296, 1273, 1298, 1299, 1300, 1301, 1302, 1274, 1303, 1304, + 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 1314, + + 1315, 1316, 1317, 1320, 1322, 1324, 1325, 1326, 1327, 1328, + 1329, 1330, 1331, 1332, 1333, 1334, 1335, 1336, 1337, 1338, + 1339, 1341, 1343, 1344, 1346, 1347, 1348, 1349, 1350, 1352, + 1353, 1355, 1357, 1359, 1360, 1361, 1362, 1363, 1364, 1365, + 1366, 1367, 1368, 1369, 1370, 1371, 1372, 1373, 1375, 1376, + 1377, 1378, 1379, 1380, 1381, 1384, 1385, 1386, 1387, 1388, + 1389, 1390, 1391, 1392, 1393, 1395, 1396, 1397, 1399, 1400, + 1401, 1402, 1403, 1404, 1405, 1406, 1407, 1408, 1409, 1410, + 1411, 1412, 1413, 1414, 1415, 1416, 1417, 1418, 1419, 1420, + 1421, 1392, 1422, 1424, 1425, 1426, 1369, 1427, 1428, 1429, + + 1430, 1431, 1432, 1433, 1434, 1435, 1436, 1437, 1438, 1439, + 1440, 1441, 1399, 1442, 1444, 1445, 1446, 1447, 1448, 1449, + 1450, 1451, 1452, 1453, 1446, 1454, 1457, 1458, 1459, 1460, + 1461, 1462, 1463, 1464, 1465, 1466, 1467, 1468, 1469, 1470, + 1471, 1473, 1474, 1475, 1476, 1477, 1479, 1481, 1479, 1476, + 1482, 1485, 1486, 1487, 1488, 1489, 1490, 1491, 1492, 1493, + 1494, 1495, 1496, 1498, 1499, 1500, 1502, 1503, 1504, 1505, + 1506, 1507, 1508, 1509, 1510, 1511, 1512, 1513, 1514, 1515, + 1516, 1517, 1518, 1519, 1520, 1496, 1522, 1523, 1525, 1526, + 1527, 1528, 1529, 1530, 1531, 1532, 1533, 1534, 1535, 1536, + + 1538, 1540, 1542, 1543, 1545, 1546, 1547, 1548, 1549, 1550, + 1551, 1552, 1553, 1554, 1556, 1557, 1558, 1559, 1560, 1561, + 1563, 1564, 1568, 1569, 1571, 1572, 1573, 1574, 1576, 1577, + 1576, 1578, 1579, 1576, 1580, 1581, 1576, 1582, 1583, 1584, + 1585, 1586, 1587, 1589, 1591, 1592, 1593, 1595, 1596, 1597, + 1599, 1600, 1601, 1602, 1603, 1604, 1605, 1606, 1607, 1608, + 1609, 1610, 1611, 1612, 1613, 1615, 1616, 1617, 1606, 1618, + 1620, 1621, 1622, 1593, 1623, 1624, 1625, 1626, 1627, 1628, + 1628, 1629, 1630, 1631, 1632, 1633, 1634, 1635, 1636, 1637, + 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, + + 1648, 1649, 1650, 1651, 1652, 1653, 1654, 1655, 1656, 1657, + 1658, 1659, 1660, 1661, 1663, 1664, 1665, 1666, 1667, 1668, + 1669, 1670, 1672, 1673, 1674, 1676, 1677, 1678, 1681, 1682, + 1683, 1686, 1687, 1688, 1689, 1690, 1691, 1692, 1693, 1629, + 1694, 1695, 1696, 1697, 1698, 1700, 1701, 1702, 1703, 1704, + 1700, 1705, 1706, 1676, 1707, 1708, 1709, 1711, 1712, 1713, + 1715, 1716, 1718, 1719, 1720, 1722, 1723, 1724, 1725, 1726, + 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, 1755, 1757, 1758, 1759, + + 1761, 1762, 1763, 1764, 1765, 1766, 1767, 1768, 1769, 1770, + 1771, 1772, 1773, 1775, 1776, 1777, 1778, 1779, 1780, 1782, + 1783, 1784, 1786, 1787, 1788, 1789, 1790, 1791, 1792, 1793, + 1794, 1795, 1797, 1798, 1799, 1800, 1801, 1802, 1803, 1804, + 1805, 1806, 1807, 1808, 1809, 1810, 1811, 1812, 1813, 1814, + 1815, 1816, 1818, 1820, 1821, 1822, 1816, 1823, 1825, 1827, + 1828, 1829, 1830, 1831, 1832, 1833, 1835, 1836, 1837, 1838, + 1839, 1840, 1841, 1842, 1843, 1844, 1846, 1847, 1848, 1849, + 1850, 1851, 1852, 1853, 1854, 1856, 1857, 1858, 1859, 1861, + 1862, 1863, 1864, 1865, 1866, 1867, 1868, 1869, 1870, 1871, + + 1873, 1874, 1875, 1876, 1877, 1879, 1880, 1881, 1882, 1885, + 1886, 1887, 1888, 1889, 1890, 1891, 1892, 1894, 1895, 1896, + 1897, 1898, 1899, 1900, 1901, 1902, 1903, 1904, 1905, 1906, + 1909, 1910, 1911, 1912, 1913, 1914, 1915, 1916, 1917, 1918, + 1920, 1921, 1923, 1924, 1925, 1926, 1927, 1928, 1929, 1930, + 1931, 1932, 1933, 1934, 1935, 1936, 1934, 1937, 1938, 1939, + 1940, 1941, 1942, 1943, 1944, 1945, 1946, 1947, 1949, 1950, + 1951, 1952, 1953, 1954, 1955, 1956, 1957, 1958, 1959, 1960, + 1962, 1964, 1966, 1968, 1970, 1971, 1972, 1973, 1974, 1975, + 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985, + + 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, + 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007, 2009, + 2010, 2012, 2014, 2016, 2018, 2019, 2020, 2021, 2022, 2023, + 2024, 2025, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2035, + 2036, 2037, 2038, 2039, 2041, 2042, 2043, 2044, 2045, 2046, + 2047, 2048, 2049, 2050, 2051, 2052, 2053, 2054, 2056, 2057, + 2058, 2059, 2060, 2061, 2063, 2064, 2065, 2066, 2067, 2068, + 2069, 2070, 2071, 2072, 2073, 2074, 2075, 2076, 2077, 2078, + 2079, 2080, 2081, 2082, 2083, 2084, 2085, 2086, 2087, 2088, + 2089, 2090, 2092, 2093, 2095, 2096, 2097, 2098, 2100, 2101, + + 2102, 2103, 2109, 2113, 2114, 2115, 2116, 2117, 2118, 2119, + 2120, 2122, 2123, 2124, 2125, 2126, 2127, 2128, 2129, 2131, + 2132, 2133, 2134, 2135, 2136, 2138, 2140, 2142, 2143, 2144, + 2145, 2146, 2147, 2149, 2150, 2151, 2152, 2153, 2152, 2154, + 2155, 2157, 2158, 2161, 2162, 2163, 2164, 2165, 2166, 2167, + 2168, 2169, 2170, 2171, 2172, 2173, 2174, 2175, 2177, 2178, + 2179, 2180, 2183, 2184, 2185, 2187, 2188, 2190, 2192, 2193, + 2194, 2195, 2196, 2197, 2198, 2199, 2201, 2206, 2206, 2206, + 2207, 2207, 2207, 2208, 2209, 2208, 2210, 2210, 2210, 2211, + 2211, 2211, 2212, 727, 2212, 2213, 2213, 2213, 725, 724, + + 723, 722, 721, 720, 719, 718, 717, 716, 715, 714, + 713, 711, 710, 709, 708, 707, 706, 705, 704, 703, + 702, 700, 699, 697, 696, 695, 694, 693, 692, 691, + 690, 689, 688, 686, 685, 684, 683, 682, 680, 679, + 677, 676, 675, 674, 673, 672, 671, 670, 669, 668, + 667, 666, 665, 664, 663, 662, 660, 659, 658, 657, + 656, 655, 653, 652, 651, 650, 649, 648, 647, 646, + 644, 643, 642, 641, 640, 639, 638, 637, 636, 635, + 634, 633, 632, 631, 630, 628, 627, 626, 625, 624, + 623, 622, 621, 620, 619, 618, 617, 616, 615, 614, + + 613, 612, 611, 607, 601, 600, 599, 598, 597, 595, + 593, 591, 589, 588, 587, 586, 585, 584, 583, 582, + 581, 580, 579, 578, 577, 575, 574, 573, 572, 571, + 570, 568, 567, 566, 565, 564, 563, 562, 561, 560, + 559, 558, 557, 556, 554, 553, 551, 550, 549, 548, + 547, 546, 545, 544, 543, 542, 541, 540, 539, 538, + 536, 535, 533, 532, 531, 530, 529, 528, 527, 526, + 524, 523, 522, 521, 520, 519, 518, 517, 516, 515, + 514, 513, 512, 511, 510, 509, 508, 507, 505, 504, + 503, 502, 500, 499, 498, 497, 496, 495, 494, 493, + + 491, 490, 488, 487, 486, 484, 482, 481, 480, 479, + 478, 477, 475, 474, 473, 472, 471, 470, 469, 467, + 463, 461, 460, 458, 455, 454, 452, 451, 450, 449, + 448, 447, 446, 445, 444, 443, 442, 441, 440, 439, + 438, 437, 436, 435, 433, 432, 431, 430, 429, 428, + 427, 425, 424, 422, 421, 420, 419, 417, 416, 414, + 413, 412, 411, 410, 409, 408, 407, 406, 405, 404, + 403, 402, 401, 397, 396, 395, 393, 392, 391, 389, + 388, 387, 386, 385, 384, 383, 382, 381, 380, 379, + 378, 377, 375, 374, 373, 372, 371, 370, 369, 368, + + 367, 366, 365, 364, 363, 362, 361, 359, 358, 357, + 356, 354, 353, 352, 351, 350, 349, 348, 347, 346, + 345, 344, 343, 342, 341, 339, 336, 334, 330, 328, + 326, 319, 318, 317, 316, 315, 313, 312, 311, 310, + 308, 307, 306, 304, 303, 302, 301, 300, 299, 298, + 297, 296, 295, 294, 293, 292, 290, 289, 288, 287, + 286, 285, 284, 283, 282, 281, 280, 278, 277, 275, + 274, 272, 271, 270, 269, 267, 266, 265, 264, 263, + 262, 260, 259, 258, 257, 256, 255, 254, 252, 251, + 249, 248, 247, 246, 245, 244, 243, 242, 241, 240, + + 239, 238, 237, 236, 235, 234, 233, 232, 231, 230, + 229, 228, 227, 226, 225, 222, 221, 220, 219, 218, + 217, 216, 215, 209, 207, 205, 203, 198, 195, 187, + 186, 185, 184, 183, 181, 180, 177, 176, 175, 173, + 172, 171, 169, 167, 165, 163, 162, 160, 159, 158, + 156, 154, 153, 152, 151, 150, 149, 147, 146, 145, + 143, 142, 141, 139, 138, 136, 135, 131, 130, 129, + 128, 126, 125, 124, 122, 121, 120, 118, 114, 105, + 104, 98, 97, 77, 72, 66, 52, 49, 48, 43, + 41, 39, 38, 24, 14, 11, 2205, 2205, 2205, 2205, + + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, + 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205, 2205 + } ; + +static yy_state_type yy_last_accepting_state; +static char *yy_last_accepting_cpos; + +extern int yy_flex_debug; +int yy_flex_debug = 1; + +static const flex_int16_t yy_rule_linenum[231] = + { 0, + 148, 150, 152, 157, 158, 163, 164, 165, 177, 180, + 185, 192, 201, 210, 219, 228, 237, 246, 255, 264, + 273, 282, 291, 300, 309, 321, 333, 343, 353, 363, + 373, 383, 392, 402, 412, 422, 432, 441, 450, 459, + 468, 477, 486, 495, 504, 513, 522, 531, 540, 549, + 558, 567, 576, 585, 594, 607, 616, 625, 634, 645, + 656, 667, 678, 690, 701, 712, 723, 734, 745, 756, + 767, 776, 785, 794, 805, 814, 825, 836, 847, 858, + 870, 882, 894, 906, 918, 930, 941, 952, 961, 970, + 979, 990, 1001, 1010, 1019, 1030, 1041, 1052, 1063, 1074, + + 1085, 1096, 1107, 1118, 1128, 1139, 1148, 1157, 1172, 1188, + 1197, 1206, 1215, 1224, 1233, 1242, 1251, 1260, 1269, 1278, + 1287, 1296, 1320, 1344, 1353, 1363, 1373, 1382, 1392, 1403, + 1412, 1421, 1430, 1439, 1448, 1459, 1470, 1481, 1491, 1500, + 1509, 1518, 1529, 1540, 1551, 1562, 1573, 1582, 1591, 1600, + 1609, 1618, 1627, 1636, 1645, 1654, 1664, 1676, 1689, 1698, + 1707, 1716, 1726, 1736, 1745, 1756, 1766, 1775, 1785, 1795, + 1804, 1813, 1822, 1831, 1841, 1850, 1859, 1868, 1877, 1886, + 1895, 1904, 1913, 1922, 1931, 1940, 1949, 1958, 1967, 1976, + 1985, 1994, 2003, 2012, 2021, 2030, 2039, 2048, 2057, 2066, + + 2075, 2084, 2093, 2102, 2111, 2120, 2129, 2138, 2147, 2156, + 2165, 2174, 2275, 2291, 2340, 2348, 2363, 2364, 2365, 2366, + 2367, 2368, 2370, 2388, 2401, 2406, 2410, 2412, 2414, 2416 + } ; + +/* The intent behind this definition is that it'll catch + * any uses of REJECT which flex missed. + */ +#define REJECT reject_used_but_not_detected +#define yymore() yymore_used_but_not_detected +#define YY_MORE_ADJ 0 +#define YY_RESTORE_YY_MORE_OFFSET +char *yytext; +#line 1 "dhcp6_lexer.ll" +/* Copyright (C) 2016-2023 Internet Systems Consortium, Inc. ("ISC") + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#line 8 "dhcp6_lexer.ll" + +/* Generated files do not make clang static analyser so happy */ +#ifndef __clang_analyzer__ + +#include <cctype> +#include <cerrno> +#include <climits> +#include <cstdlib> +#include <string> +#include <dhcp6/parser_context.h> +#include <asiolink/io_address.h> +#include <boost/lexical_cast.hpp> +#include <exceptions/exceptions.h> + +/* Please avoid C++ style comments (// ... eol) as they break flex 2.6.2 */ + +/* Work around an incompatibility in flex (at least versions + 2.5.31 through 2.5.33): it generates code that does + not conform to C89. See Debian bug 333231 + <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333231>. */ +# undef yywrap +# define yywrap() 1 + +namespace { + +bool start_token_flag = false; + +isc::dhcp::Parser6Context::ParserType start_token_value; +unsigned int comment_start_line = 0; + +using namespace isc::dhcp; + +}; + +/* To avoid the call to exit... oops! */ +#define YY_FATAL_ERROR(msg) isc::dhcp::Parser6Context::fatal(msg) +#line 2170 "dhcp6_lexer.cc" +/* noyywrap disables automatic rewinding for the next file to parse. Since we + always parse only a single string, there's no need to do any wraps. And + using yywrap requires linking with -lfl, which provides the default yywrap + implementation that always returns 1 anyway. */ +/* nounput simplifies the lexer, by removing support for putting a character + back into the input stream. We never use such capability anyway. */ +/* batch means that we'll never use the generated lexer interactively. */ +/* avoid to get static global variables to remain with C++. */ +/* in last resort %option reentrant */ +/* Enables debug mode. To see the debug messages, one needs to also set + yy_flex_debug to 1, then the debug messages will be printed on stderr. */ +/* I have no idea what this option does, except it was specified in the bison + examples and Postgres folks added it to remove gcc 4.3 warnings. Let's + be on the safe side and keep it. */ +#define YY_NO_INPUT 1 + +/* These are not token expressions yet, just convenience expressions that + can be used during actual token definitions. Note some can match + incorrect inputs (e.g., IP addresses) which must be checked. */ +/* for errors */ +#line 95 "dhcp6_lexer.ll" +/* This code run each time a pattern is matched. It updates the location + by moving it ahead by yyleng bytes. yyleng specifies the length of the + currently matched token. */ +#define YY_USER_ACTION driver.loc_.columns(yyleng); +#line 2196 "dhcp6_lexer.cc" +#line 2197 "dhcp6_lexer.cc" + +#define INITIAL 0 +#define COMMENT 1 +#define DIR_ENTER 2 +#define DIR_INCLUDE 3 +#define DIR_EXIT 4 + +#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. + */ +/* %if-c-only */ +#include <unistd.h> +/* %endif */ +/* %if-c++-only */ +/* %endif */ +#endif + +#ifndef YY_EXTRA_TYPE +#define YY_EXTRA_TYPE void * +#endif + +/* %if-c-only Reentrant structure and macros (non-C++). */ +/* %if-reentrant */ +/* %if-c-only */ + +static int yy_init_globals ( void ); + +/* %endif */ +/* %if-reentrant */ +/* %endif */ +/* %endif End reentrant structures and macros. */ + +/* 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 ); + + int yyget_leng ( void ); + +char *yyget_text ( void ); + +int yyget_lineno ( void ); + +void yyset_lineno ( int _line_number ); + +/* %if-bison-bridge */ +/* %endif */ + +/* 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 + +/* %not-for-header */ +#ifndef YY_NO_UNPUT + +#endif +/* %ok-for-header */ + +/* %endif */ + +#ifndef yytext_ptr +static void yy_flex_strncpy ( char *, const char *, int ); +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen ( const char * ); +#endif + +#ifndef YY_NO_INPUT +/* %if-c-only Standard (non-C++) definition */ +/* %not-for-header */ +#ifdef __cplusplus +static int yyinput ( void ); +#else +static int input ( void ); +#endif +/* %ok-for-header */ + +/* %endif */ +#endif + +/* %if-c-only */ + +/* %endif */ + +/* Amount of stuff to slurp up with each read. */ +#ifndef YY_READ_BUF_SIZE +#ifdef __ia64__ +/* On IA-64, the buffer size is 16k, not 8k */ +#define YY_READ_BUF_SIZE 16384 +#else +#define YY_READ_BUF_SIZE 8192 +#endif /* __ia64__ */ +#endif + +/* Copy whatever the last rule matched to the standard output. */ +#ifndef ECHO +/* %if-c-only Standard (non-C++) definition */ +/* This used to be an fputs(), but since the string might contain NUL's, + * we now use fwrite(). + */ +#define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) +/* %endif */ +/* %if-c++-only C++ definition */ +/* %endif */ +#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) \ +/* %% [5.0] fread()/read() definition of YY_INPUT goes here unless we're doing C++ \ */\ + if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ + { \ + int c = '*'; \ + int 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 = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ + { \ + if( errno != EINTR) \ + { \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + break; \ + } \ + errno=0; \ + clearerr(yyin); \ + } \ + }\ +\ +/* %if-c++-only C++ definition \ */\ +/* %endif */ + +#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 +/* %if-c-only */ +#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) +/* %endif */ +/* %if-c++-only */ +/* %endif */ +#endif + +/* %if-tables-serialization structures and prototypes */ +/* %not-for-header */ +/* %ok-for-header */ + +/* %not-for-header */ +/* %tables-yydmap generated elements */ +/* %endif */ +/* end tables serialization structures and prototypes */ + +/* %ok-for-header */ + +/* Default declaration of generated scanner - a define so the user can + * easily add parameters. + */ +#ifndef YY_DECL +#define YY_DECL_IS_OURS 1 +/* %if-c-only Standard (non-C++) definition */ + +extern int yylex (void); + +#define YY_DECL int yylex (void) +/* %endif */ +/* %if-c++-only C++ definition */ +/* %endif */ +#endif /* !YY_DECL */ + +/* Code executed at the beginning of each rule, after yytext and yyleng + * have been set up. + */ +#ifndef YY_USER_ACTION +#define YY_USER_ACTION +#endif + +/* Code executed at the end of each rule. */ +#ifndef YY_BREAK +#define YY_BREAK /*LINTED*/break; +#endif + +/* %% [6.0] YY_RULE_SETUP definition goes here */ +#define YY_RULE_SETUP \ + YY_USER_ACTION + +/* %not-for-header */ +/** The main scanner function which does all the work. + */ +YY_DECL +{ + yy_state_type yy_current_state; + char *yy_cp, *yy_bp; + int yy_act; + + 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 ) +/* %if-c-only */ + yyin = stdin; +/* %endif */ +/* %if-c++-only */ +/* %endif */ + + if ( ! yyout ) +/* %if-c-only */ + yyout = stdout; +/* %endif */ +/* %if-c++-only */ +/* %endif */ + + if ( ! YY_CURRENT_BUFFER ) { + yyensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + yy_create_buffer( yyin, YY_BUF_SIZE ); + } + + yy_load_buffer_state( ); + } + + { +/* %% [7.0] user's declarations go here */ +#line 101 "dhcp6_lexer.ll" + + + +#line 105 "dhcp6_lexer.ll" + /* This part of the code is copied over to the verbatim to the top + of the generated yylex function. Explanation: + http://www.gnu.org/software/bison/manual/html_node/Multiple-start_002dsymbols.html */ + + /* Code run each time yylex is called. */ + driver.loc_.step(); + + if (start_token_flag) { + start_token_flag = false; + switch (start_token_value) { + case Parser6Context::PARSER_JSON: + default: + return isc::dhcp::Dhcp6Parser::make_TOPLEVEL_JSON(driver.loc_); + case Parser6Context::PARSER_DHCP6: + return isc::dhcp::Dhcp6Parser::make_TOPLEVEL_DHCP6(driver.loc_); + case Parser6Context::SUBPARSER_DHCP6: + return isc::dhcp::Dhcp6Parser::make_SUB_DHCP6(driver.loc_); + case Parser6Context::PARSER_INTERFACES: + return isc::dhcp::Dhcp6Parser::make_SUB_INTERFACES6(driver.loc_); + case Parser6Context::PARSER_SUBNET6: + return isc::dhcp::Dhcp6Parser::make_SUB_SUBNET6(driver.loc_); + case Parser6Context::PARSER_POOL6: + return isc::dhcp::Dhcp6Parser::make_SUB_POOL6(driver.loc_); + case Parser6Context::PARSER_PD_POOL: + return isc::dhcp::Dhcp6Parser::make_SUB_PD_POOL(driver.loc_); + case Parser6Context::PARSER_HOST_RESERVATION: + return isc::dhcp::Dhcp6Parser::make_SUB_RESERVATION(driver.loc_); + case Parser6Context::PARSER_OPTION_DEFS: + return isc::dhcp::Dhcp6Parser::make_SUB_OPTION_DEFS(driver.loc_); + case Parser6Context::PARSER_OPTION_DEF: + return isc::dhcp::Dhcp6Parser::make_SUB_OPTION_DEF(driver.loc_); + case Parser6Context::PARSER_OPTION_DATA: + return isc::dhcp::Dhcp6Parser::make_SUB_OPTION_DATA(driver.loc_); + case Parser6Context::PARSER_HOOKS_LIBRARY: + return isc::dhcp::Dhcp6Parser::make_SUB_HOOKS_LIBRARY(driver.loc_); + case Parser6Context::PARSER_DHCP_DDNS: + return isc::dhcp::Dhcp6Parser::make_SUB_DHCP_DDNS(driver.loc_); + case Parser6Context::PARSER_CONFIG_CONTROL: + return isc::dhcp::Dhcp6Parser::make_SUB_CONFIG_CONTROL(driver.loc_); + } + } + + +#line 2527 "dhcp6_lexer.cc" + + while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ + { +/* %% [8.0] yymore()-related code goes here */ + 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; + +/* %% [9.0] code to set up and find next match goes here */ + yy_current_state = (yy_start); +yy_match: + do + { + 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 >= 2206 ) + yy_c = yy_meta[yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; + ++yy_cp; + } + while ( yy_current_state != 2205 ); + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + +yy_find_action: +/* %% [10.0] code to find the action number goes here */ + yy_act = yy_accept[yy_current_state]; + + YY_DO_BEFORE_ACTION; + +/* %% [11.0] code for yylineno update goes here */ + +do_action: /* This label is used only to access EOF actions. */ + +/* %% [12.0] debug code goes here */ + if ( yy_flex_debug ) + { + if ( yy_act == 0 ) + fprintf( stderr, "--scanner backing up\n" ); + else if ( yy_act < 231 ) + fprintf( stderr, "--accepting rule at line %ld (\"%s\")\n", + (long)yy_rule_linenum[yy_act], yytext ); + else if ( yy_act == 231 ) + fprintf( stderr, "--accepting default rule (\"%s\")\n", + yytext ); + else if ( yy_act == 232 ) + fprintf( stderr, "--(end of buffer or a NUL)\n" ); + else + fprintf( stderr, "--EOF (start condition %d)\n", YY_START ); + } + + switch ( yy_act ) + { /* beginning of action switch */ +/* %% [13.0] actions go here */ + 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 148 "dhcp6_lexer.ll" +; + YY_BREAK +case 2: +YY_RULE_SETUP +#line 150 "dhcp6_lexer.ll" +; + YY_BREAK +case 3: +YY_RULE_SETUP +#line 152 "dhcp6_lexer.ll" +{ + BEGIN(COMMENT); + comment_start_line = driver.loc_.end.line;; +} + YY_BREAK +case 4: +YY_RULE_SETUP +#line 157 "dhcp6_lexer.ll" +BEGIN(INITIAL); + YY_BREAK +case 5: +YY_RULE_SETUP +#line 158 "dhcp6_lexer.ll" +; + YY_BREAK +case YY_STATE_EOF(COMMENT): +#line 159 "dhcp6_lexer.ll" +{ + isc_throw(Dhcp6ParseError, "Comment not closed. (/* in line " << comment_start_line); +} + YY_BREAK +case 6: +YY_RULE_SETUP +#line 163 "dhcp6_lexer.ll" +BEGIN(DIR_ENTER); + YY_BREAK +case 7: +YY_RULE_SETUP +#line 164 "dhcp6_lexer.ll" +BEGIN(DIR_INCLUDE); + YY_BREAK +case 8: +YY_RULE_SETUP +#line 165 "dhcp6_lexer.ll" +{ + /* Include directive. */ + + /* Extract the filename. */ + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + + driver.includeFile(tmp); +} + YY_BREAK +case YY_STATE_EOF(DIR_ENTER): +case YY_STATE_EOF(DIR_INCLUDE): +case YY_STATE_EOF(DIR_EXIT): +#line 174 "dhcp6_lexer.ll" +{ + isc_throw(Dhcp6ParseError, "Directive not closed."); +} + YY_BREAK +case 9: +YY_RULE_SETUP +#line 177 "dhcp6_lexer.ll" +BEGIN(INITIAL); + YY_BREAK +case 10: +YY_RULE_SETUP +#line 180 "dhcp6_lexer.ll" +{ + /* Ok, we found a with space. Let's ignore it and update loc variable. */ + driver.loc_.step(); +} + YY_BREAK +case 11: +/* rule 11 can match eol */ +YY_RULE_SETUP +#line 185 "dhcp6_lexer.ll" +{ + /* Newline found. Let's update the location and continue. */ + driver.loc_.lines(yyleng); + driver.loc_.step(); +} + YY_BREAK +case 12: +YY_RULE_SETUP +#line 192 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_DDNS: + return isc::dhcp::Dhcp6Parser::make_ENABLE_UPDATES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("enable-updates", driver.loc_); + } +} + YY_BREAK +case 13: +YY_RULE_SETUP +#line 201 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_DDNS: + return isc::dhcp::Dhcp6Parser::make_QUALIFYING_SUFFIX(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("qualifying-suffix", driver.loc_); + } +} + YY_BREAK +case 14: +YY_RULE_SETUP +#line 210 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_DDNS: + return isc::dhcp::Dhcp6Parser::make_SERVER_IP(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("server-ip", driver.loc_); + } +} + YY_BREAK +case 15: +YY_RULE_SETUP +#line 219 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_DDNS: + return isc::dhcp::Dhcp6Parser::make_SERVER_PORT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("server-port", driver.loc_); + } +} + YY_BREAK +case 16: +YY_RULE_SETUP +#line 228 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_DDNS: + return isc::dhcp::Dhcp6Parser::make_SENDER_IP(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("sender-ip", driver.loc_); + } +} + YY_BREAK +case 17: +YY_RULE_SETUP +#line 237 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_DDNS: + return isc::dhcp::Dhcp6Parser::make_SENDER_PORT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("sender-port", driver.loc_); + } +} + YY_BREAK +case 18: +YY_RULE_SETUP +#line 246 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_DDNS: + return isc::dhcp::Dhcp6Parser::make_MAX_QUEUE_SIZE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("max-queue-size", driver.loc_); + } +} + YY_BREAK +case 19: +YY_RULE_SETUP +#line 255 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_DDNS: + return isc::dhcp::Dhcp6Parser::make_NCR_PROTOCOL(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("ncr-protocol", driver.loc_); + } +} + YY_BREAK +case 20: +YY_RULE_SETUP +#line 264 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_DDNS: + return isc::dhcp::Dhcp6Parser::make_NCR_FORMAT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("ncr-format", driver.loc_); + } +} + YY_BREAK +case 21: +YY_RULE_SETUP +#line 273 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_DDNS: + return isc::dhcp::Dhcp6Parser::make_OVERRIDE_NO_UPDATE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("override-no-update", driver.loc_); + } +} + YY_BREAK +case 22: +YY_RULE_SETUP +#line 282 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_DDNS: + return isc::dhcp::Dhcp6Parser::make_OVERRIDE_CLIENT_UPDATE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("override-client-update", driver.loc_); + } +} + YY_BREAK +case 23: +YY_RULE_SETUP +#line 291 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_DDNS: + return isc::dhcp::Dhcp6Parser::make_REPLACE_CLIENT_NAME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("replace-client-name", driver.loc_); + } +} + YY_BREAK +case 24: +YY_RULE_SETUP +#line 300 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_DDNS: + return isc::dhcp::Dhcp6Parser::make_GENERATED_PREFIX(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("generated-prefix", driver.loc_); + } +} + YY_BREAK +case 25: +YY_RULE_SETUP +#line 309 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::DHCP_DDNS: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_HOSTNAME_CHAR_SET(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("hostname-char-set", driver.loc_); + } +} + YY_BREAK +case 26: +YY_RULE_SETUP +#line 321 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::DHCP_DDNS: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_HOSTNAME_CHAR_REPLACEMENT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("hostname-char-replacement", driver.loc_); + } +} + YY_BREAK +case 27: +YY_RULE_SETUP +#line 333 "dhcp6_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser6Context::NCR_PROTOCOL) { + return isc::dhcp::Dhcp6Parser::make_UDP(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp6Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 28: +YY_RULE_SETUP +#line 343 "dhcp6_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser6Context::NCR_PROTOCOL) { + return isc::dhcp::Dhcp6Parser::make_TCP(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp6Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 29: +YY_RULE_SETUP +#line 353 "dhcp6_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser6Context::NCR_FORMAT) { + return isc::dhcp::Dhcp6Parser::make_JSON(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp6Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 30: +YY_RULE_SETUP +#line 363 "dhcp6_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser6Context::REPLACE_CLIENT_NAME) { + return isc::dhcp::Dhcp6Parser::make_WHEN_PRESENT(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp6Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 31: +YY_RULE_SETUP +#line 373 "dhcp6_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser6Context::REPLACE_CLIENT_NAME) { + return isc::dhcp::Dhcp6Parser::make_WHEN_PRESENT(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp6Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 32: +YY_RULE_SETUP +#line 383 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::REPLACE_CLIENT_NAME: + return isc::dhcp::Dhcp6Parser::make_NEVER(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("never", driver.loc_); + } +} + YY_BREAK +case 33: +YY_RULE_SETUP +#line 392 "dhcp6_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser6Context::REPLACE_CLIENT_NAME) { + return isc::dhcp::Dhcp6Parser::make_NEVER(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp6Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 34: +YY_RULE_SETUP +#line 402 "dhcp6_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser6Context::REPLACE_CLIENT_NAME) { + return isc::dhcp::Dhcp6Parser::make_NEVER(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp6Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 35: +YY_RULE_SETUP +#line 412 "dhcp6_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser6Context::REPLACE_CLIENT_NAME) { + return isc::dhcp::Dhcp6Parser::make_ALWAYS(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp6Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 36: +YY_RULE_SETUP +#line 422 "dhcp6_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser6Context::REPLACE_CLIENT_NAME) { + return isc::dhcp::Dhcp6Parser::make_WHEN_NOT_PRESENT(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp6Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 37: +YY_RULE_SETUP +#line 432 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::CONFIG: + return isc::dhcp::Dhcp6Parser::make_DHCP6(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("Dhcp6", driver.loc_); + } +} + YY_BREAK +case 38: +YY_RULE_SETUP +#line 441 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_DATA_DIRECTORY(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("data-directory", driver.loc_); + } +} + YY_BREAK +case 39: +YY_RULE_SETUP +#line 450 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_INTERFACES_CONFIG(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("interfaces-config", driver.loc_); + } +} + YY_BREAK +case 40: +YY_RULE_SETUP +#line 459 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::INTERFACES_CONFIG: + return isc::dhcp::Dhcp6Parser::make_INTERFACES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("interfaces", driver.loc_); + } +} + YY_BREAK +case 41: +YY_RULE_SETUP +#line 468 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::INTERFACES_CONFIG: + return isc::dhcp::Dhcp6Parser::make_RE_DETECT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("re-detect", driver.loc_); + } +} + YY_BREAK +case 42: +YY_RULE_SETUP +#line 477 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::INTERFACES_CONFIG: + return isc::dhcp::Dhcp6Parser::make_SERVICE_SOCKETS_REQUIRE_ALL(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("service-sockets-require-all", driver.loc_); + } +} + YY_BREAK +case 43: +YY_RULE_SETUP +#line 486 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::INTERFACES_CONFIG: + return isc::dhcp::Dhcp6Parser::make_SERVICE_SOCKETS_RETRY_WAIT_TIME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("service-sockets-retry-wait-time", driver.loc_); + } +} + YY_BREAK +case 44: +YY_RULE_SETUP +#line 495 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::INTERFACES_CONFIG: + return isc::dhcp::Dhcp6Parser::make_SERVICE_SOCKETS_MAX_RETRIES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("service-sockets-max-retries", driver.loc_); + } +} + YY_BREAK +case 45: +YY_RULE_SETUP +#line 504 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_SANITY_CHECKS(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("sanity-checks", driver.loc_); + } +} + YY_BREAK +case 46: +YY_RULE_SETUP +#line 513 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::SANITY_CHECKS: + return isc::dhcp::Dhcp6Parser::make_LEASE_CHECKS(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("lease-checks", driver.loc_); + } +} + YY_BREAK +case 47: +YY_RULE_SETUP +#line 522 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::SANITY_CHECKS: + return isc::dhcp::Dhcp6Parser::make_EXTENDED_INFO_CHECKS(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("extended-info-checks", driver.loc_); + } +} + YY_BREAK +case 48: +YY_RULE_SETUP +#line 531 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_LEASE_DATABASE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("lease-database", driver.loc_); + } +} + YY_BREAK +case 49: +YY_RULE_SETUP +#line 540 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_HOSTS_DATABASE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("hosts-database", driver.loc_); + } +} + YY_BREAK +case 50: +YY_RULE_SETUP +#line 549 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_HOSTS_DATABASES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("hosts-databases", driver.loc_); + } +} + YY_BREAK +case 51: +YY_RULE_SETUP +#line 558 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_CONFIG_CONTROL(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("config-control", driver.loc_); + } +} + YY_BREAK +case 52: +YY_RULE_SETUP +#line 567 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::CONFIG_CONTROL: + return isc::dhcp::Dhcp6Parser::make_CONFIG_DATABASES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("config-databases", driver.loc_); + } +} + YY_BREAK +case 53: +YY_RULE_SETUP +#line 576 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::CONFIG_CONTROL: + return isc::dhcp::Dhcp6Parser::make_CONFIG_FETCH_WAIT_TIME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("config-fetch-wait-time", driver.loc_); + } +} + YY_BREAK +case 54: +YY_RULE_SETUP +#line 585 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + return isc::dhcp::Dhcp6Parser::make_READONLY(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("readonly", driver.loc_); + } +} + YY_BREAK +case 55: +YY_RULE_SETUP +#line 594 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::OPTION_DEF: + case isc::dhcp::Parser6Context::SERVER_ID: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_TYPE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("type", driver.loc_); + } +} + YY_BREAK +case 56: +YY_RULE_SETUP +#line 607 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DATABASE_TYPE: + return isc::dhcp::Dhcp6Parser::make_MEMFILE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("memfile", driver.loc_); + } +} + YY_BREAK +case 57: +YY_RULE_SETUP +#line 616 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DATABASE_TYPE: + return isc::dhcp::Dhcp6Parser::make_MYSQL(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("mysql", driver.loc_); + } +} + YY_BREAK +case 58: +YY_RULE_SETUP +#line 625 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DATABASE_TYPE: + return isc::dhcp::Dhcp6Parser::make_POSTGRESQL(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("postgresql", driver.loc_); + } +} + YY_BREAK +case 59: +YY_RULE_SETUP +#line 634 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_USER(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("user", driver.loc_); + } +} + YY_BREAK +case 60: +YY_RULE_SETUP +#line 645 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_PASSWORD(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("password", driver.loc_); + } +} + YY_BREAK +case 61: +YY_RULE_SETUP +#line 656 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_HOST(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("host", driver.loc_); + } +} + YY_BREAK +case 62: +YY_RULE_SETUP +#line 667 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_PORT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("port", driver.loc_); + } +} + YY_BREAK +case 63: +YY_RULE_SETUP +#line 678 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::SERVER_ID: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_PERSIST(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("persist", driver.loc_); + } +} + YY_BREAK +case 64: +YY_RULE_SETUP +#line 690 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_LFC_INTERVAL(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("lfc-interval", driver.loc_); + } +} + YY_BREAK +case 65: +YY_RULE_SETUP +#line 701 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_CONNECT_TIMEOUT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("connect-timeout", driver.loc_); + } +} + YY_BREAK +case 66: +YY_RULE_SETUP +#line 712 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_READ_TIMEOUT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("read-timeout", driver.loc_); + } +} + YY_BREAK +case 67: +YY_RULE_SETUP +#line 723 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_WRITE_TIMEOUT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("write-timeout", driver.loc_); + } +} + YY_BREAK +case 68: +YY_RULE_SETUP +#line 734 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_TCP_USER_TIMEOUT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("tcp-user-timeout", driver.loc_); + } +} + YY_BREAK +case 69: +YY_RULE_SETUP +#line 745 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_RECONNECT_WAIT_TIME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("reconnect-wait-time", driver.loc_); + } +} + YY_BREAK +case 70: +YY_RULE_SETUP +#line 756 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_ON_FAIL(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("on-fail", driver.loc_); + } +} + YY_BREAK +case 71: +YY_RULE_SETUP +#line 767 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DATABASE_ON_FAIL: + return isc::dhcp::Dhcp6Parser::make_STOP_RETRY_EXIT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("stop-retry-exit", driver.loc_); + } +} + YY_BREAK +case 72: +YY_RULE_SETUP +#line 776 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DATABASE_ON_FAIL: + return isc::dhcp::Dhcp6Parser::make_SERVE_RETRY_EXIT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("serve-retry-exit", driver.loc_); + } +} + YY_BREAK +case 73: +YY_RULE_SETUP +#line 785 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DATABASE_ON_FAIL: + return isc::dhcp::Dhcp6Parser::make_SERVE_RETRY_CONTINUE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("serve-retry-continue", driver.loc_); + } +} + YY_BREAK +case 74: +YY_RULE_SETUP +#line 794 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_MAX_RECONNECT_TRIES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("max-reconnect-tries", driver.loc_); + } +} + YY_BREAK +case 75: +YY_RULE_SETUP +#line 805 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + return isc::dhcp::Dhcp6Parser::make_MAX_ROW_ERRORS(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("max-row-errors", driver.loc_); + } +} + YY_BREAK +case 76: +YY_RULE_SETUP +#line 814 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_TRUST_ANCHOR(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("trust-anchor", driver.loc_); + } +} + YY_BREAK +case 77: +YY_RULE_SETUP +#line 825 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_CERT_FILE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("cert-file", driver.loc_); + } +} + YY_BREAK +case 78: +YY_RULE_SETUP +#line 836 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_KEY_FILE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("key-file", driver.loc_); + } +} + YY_BREAK +case 79: +YY_RULE_SETUP +#line 847 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_CIPHER_LIST(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("cipher-list", driver.loc_); + } +} + YY_BREAK +case 80: +YY_RULE_SETUP +#line 858 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + case isc::dhcp::Parser6Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp6Parser::make_PREFERRED_LIFETIME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("preferred-lifetime", driver.loc_); + } +} + YY_BREAK +case 81: +YY_RULE_SETUP +#line 870 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + case isc::dhcp::Parser6Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp6Parser::make_MIN_PREFERRED_LIFETIME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("min-preferred-lifetime", driver.loc_); + } +} + YY_BREAK +case 82: +YY_RULE_SETUP +#line 882 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + case isc::dhcp::Parser6Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp6Parser::make_MAX_PREFERRED_LIFETIME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("max-preferred-lifetime", driver.loc_); + } +} + YY_BREAK +case 83: +YY_RULE_SETUP +#line 894 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + case isc::dhcp::Parser6Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp6Parser::make_VALID_LIFETIME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("valid-lifetime", driver.loc_); + } +} + YY_BREAK +case 84: +YY_RULE_SETUP +#line 906 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + case isc::dhcp::Parser6Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp6Parser::make_MIN_VALID_LIFETIME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("min-valid-lifetime", driver.loc_); + } +} + YY_BREAK +case 85: +YY_RULE_SETUP +#line 918 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + case isc::dhcp::Parser6Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp6Parser::make_MAX_VALID_LIFETIME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("max-valid-lifetime", driver.loc_); + } +} + YY_BREAK +case 86: +YY_RULE_SETUP +#line 930 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_RENEW_TIMER(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("renew-timer", driver.loc_); + } +} + YY_BREAK +case 87: +YY_RULE_SETUP +#line 941 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_REBIND_TIMER(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("rebind-timer", driver.loc_); + } +} + YY_BREAK +case 88: +YY_RULE_SETUP +#line 952 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_DECLINE_PROBATION_PERIOD(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("decline-probation-period", driver.loc_); + } +} + YY_BREAK +case 89: +YY_RULE_SETUP +#line 961 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_SERVER_TAG(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("server-tag", driver.loc_); + } +} + YY_BREAK +case 90: +YY_RULE_SETUP +#line 970 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_PARKED_PACKET_LIMIT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("parked-packet-limit", driver.loc_); + } +} + YY_BREAK +case 91: +YY_RULE_SETUP +#line 979 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_ALLOCATOR(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("allocator", driver.loc_); + } +} + YY_BREAK +case 92: +YY_RULE_SETUP +#line 990 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_PD_ALLOCATOR(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("pd-allocator", driver.loc_); + } +} + YY_BREAK +case 93: +YY_RULE_SETUP +#line 1001 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_STATISTIC_DEFAULT_SAMPLE_COUNT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("statistic-default-sample-count", driver.loc_); + } +} + YY_BREAK +case 94: +YY_RULE_SETUP +#line 1010 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_STATISTIC_DEFAULT_SAMPLE_AGE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("statistic-default-sample-age", driver.loc_); + } +} + YY_BREAK +case 95: +YY_RULE_SETUP +#line 1019 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_DDNS_SEND_UPDATES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("ddns-send-updates", driver.loc_); + } +} + YY_BREAK +case 96: +YY_RULE_SETUP +#line 1030 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_DDNS_OVERRIDE_NO_UPDATE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("ddns-override-no-update", driver.loc_); + } +} + YY_BREAK +case 97: +YY_RULE_SETUP +#line 1041 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_DDNS_OVERRIDE_CLIENT_UPDATE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("ddns-override-client-update", driver.loc_); + } +} + YY_BREAK +case 98: +YY_RULE_SETUP +#line 1052 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_DDNS_REPLACE_CLIENT_NAME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("ddns-replace-client-name", driver.loc_); + } +} + YY_BREAK +case 99: +YY_RULE_SETUP +#line 1063 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_DDNS_GENERATED_PREFIX(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("ddns-generated-prefix", driver.loc_); + } +} + YY_BREAK +case 100: +YY_RULE_SETUP +#line 1074 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_DDNS_QUALIFYING_SUFFIX(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("ddns-qualifying-suffix", driver.loc_); + } +} + YY_BREAK +case 101: +YY_RULE_SETUP +#line 1085 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_DDNS_UPDATE_ON_RENEW(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("ddns-update-on-renew", driver.loc_); + } +} + YY_BREAK +case 102: +YY_RULE_SETUP +#line 1096 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_DDNS_USE_CONFLICT_RESOLUTION(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("ddns-use-conflict-resolution", driver.loc_); + } +} + YY_BREAK +case 103: +YY_RULE_SETUP +#line 1107 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_DDNS_TTL_PERCENT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("ddns-ttl-percent", driver.loc_); + } +} + YY_BREAK +case 104: +YY_RULE_SETUP +#line 1118 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_SUBNET6(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("subnet6", driver.loc_); + } +} + YY_BREAK +case 105: +YY_RULE_SETUP +#line 1128 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_STORE_EXTENDED_INFO(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("store-extended-info", driver.loc_); + } +} + YY_BREAK +case 106: +YY_RULE_SETUP +#line 1139 "dhcp6_lexer.ll" +{ + switch (driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return Dhcp6Parser::make_SHARED_NETWORKS(driver.loc_); + default: + return Dhcp6Parser::make_STRING("shared-networks", driver.loc_); + } +} + YY_BREAK +case 107: +YY_RULE_SETUP +#line 1148 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_OPTION_DEF(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("option-def", driver.loc_); + } +} + YY_BREAK +case 108: +YY_RULE_SETUP +#line 1157 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::POOLS: + case isc::dhcp::Parser6Context::PD_POOLS: + case isc::dhcp::Parser6Context::RESERVATIONS: + case isc::dhcp::Parser6Context::CLIENT_CLASSES: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_OPTION_DATA(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("option-data", driver.loc_); + } +} + YY_BREAK +case 109: +YY_RULE_SETUP +#line 1172 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LEASE_DATABASE: + case isc::dhcp::Parser6Context::HOSTS_DATABASE: + case isc::dhcp::Parser6Context::OPTION_DEF: + case isc::dhcp::Parser6Context::OPTION_DATA: + case isc::dhcp::Parser6Context::CLIENT_CLASSES: + case isc::dhcp::Parser6Context::LOGGERS: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + case isc::dhcp::Parser6Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp6Parser::make_NAME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("name", driver.loc_); + } +} + YY_BREAK +case 110: +YY_RULE_SETUP +#line 1188 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::OPTION_DATA: + return isc::dhcp::Dhcp6Parser::make_DATA(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("data", driver.loc_); + } +} + YY_BREAK +case 111: +YY_RULE_SETUP +#line 1197 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::OPTION_DATA: + return isc::dhcp::Dhcp6Parser::make_ALWAYS_SEND(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("always-send", driver.loc_); + } +} + YY_BREAK +case 112: +YY_RULE_SETUP +#line 1206 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::OPTION_DATA: + return isc::dhcp::Dhcp6Parser::make_NEVER_SEND(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("never-send", driver.loc_); + } +} + YY_BREAK +case 113: +YY_RULE_SETUP +#line 1215 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::SUBNET6: + return isc::dhcp::Dhcp6Parser::make_POOLS(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("pools", driver.loc_); + } +} + YY_BREAK +case 114: +YY_RULE_SETUP +#line 1224 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::SUBNET6: + return isc::dhcp::Dhcp6Parser::make_PD_POOLS(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("pd-pools", driver.loc_); + } +} + YY_BREAK +case 115: +YY_RULE_SETUP +#line 1233 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::PD_POOLS: + return isc::dhcp::Dhcp6Parser::make_PREFIX(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("prefix", driver.loc_); + } +} + YY_BREAK +case 116: +YY_RULE_SETUP +#line 1242 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::PD_POOLS: + return isc::dhcp::Dhcp6Parser::make_PREFIX_LEN(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("prefix-len", driver.loc_); + } +} + YY_BREAK +case 117: +YY_RULE_SETUP +#line 1251 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::PD_POOLS: + return isc::dhcp::Dhcp6Parser::make_EXCLUDED_PREFIX(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("excluded-prefix", driver.loc_); + } +} + YY_BREAK +case 118: +YY_RULE_SETUP +#line 1260 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::PD_POOLS: + return isc::dhcp::Dhcp6Parser::make_EXCLUDED_PREFIX_LEN(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("excluded-prefix-len", driver.loc_); + } +} + YY_BREAK +case 119: +YY_RULE_SETUP +#line 1269 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::PD_POOLS: + return isc::dhcp::Dhcp6Parser::make_DELEGATED_LEN(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("delegated-len", driver.loc_); + } +} + YY_BREAK +case 120: +YY_RULE_SETUP +#line 1278 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::POOLS: + return isc::dhcp::Dhcp6Parser::make_POOL(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("pool", driver.loc_); + } +} + YY_BREAK +case 121: +YY_RULE_SETUP +#line 1287 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::POOLS: + return isc::dhcp::Dhcp6Parser::make_POOL_ID(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("pool-id", driver.loc_); + } +} + YY_BREAK +case 122: +YY_RULE_SETUP +#line 1296 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::INTERFACES_CONFIG: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::POOLS: + case isc::dhcp::Parser6Context::PD_POOLS: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + case isc::dhcp::Parser6Context::OPTION_DEF: + case isc::dhcp::Parser6Context::OPTION_DATA: + case isc::dhcp::Parser6Context::RESERVATIONS: + case isc::dhcp::Parser6Context::CLIENT_CLASSES: + case isc::dhcp::Parser6Context::SERVER_ID: + case isc::dhcp::Parser6Context::CONTROL_SOCKET: + case isc::dhcp::Parser6Context::DHCP_QUEUE_CONTROL: + case isc::dhcp::Parser6Context::DHCP_MULTI_THREADING: + case isc::dhcp::Parser6Context::LOGGERS: + case isc::dhcp::Parser6Context::DHCP_DDNS: + return isc::dhcp::Dhcp6Parser::make_USER_CONTEXT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("user-context", driver.loc_); + } +} + YY_BREAK +case 123: +YY_RULE_SETUP +#line 1320 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::INTERFACES_CONFIG: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::POOLS: + case isc::dhcp::Parser6Context::PD_POOLS: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + case isc::dhcp::Parser6Context::OPTION_DEF: + case isc::dhcp::Parser6Context::OPTION_DATA: + case isc::dhcp::Parser6Context::RESERVATIONS: + case isc::dhcp::Parser6Context::CLIENT_CLASSES: + case isc::dhcp::Parser6Context::SERVER_ID: + case isc::dhcp::Parser6Context::CONTROL_SOCKET: + case isc::dhcp::Parser6Context::DHCP_QUEUE_CONTROL: + case isc::dhcp::Parser6Context::DHCP_MULTI_THREADING: + case isc::dhcp::Parser6Context::LOGGERS: + case isc::dhcp::Parser6Context::DHCP_DDNS: + return isc::dhcp::Dhcp6Parser::make_COMMENT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("comment", driver.loc_); + } +} + YY_BREAK +case 124: +YY_RULE_SETUP +#line 1344 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::SUBNET6: + return isc::dhcp::Dhcp6Parser::make_SUBNET(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("subnet", driver.loc_); + } +} + YY_BREAK +case 125: +YY_RULE_SETUP +#line 1353 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_INTERFACE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("interface", driver.loc_); + } +} + YY_BREAK +case 126: +YY_RULE_SETUP +#line 1363 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_INTERFACE_ID(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("interface-id", driver.loc_); + } +} + YY_BREAK +case 127: +YY_RULE_SETUP +#line 1373 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::SUBNET6: + return isc::dhcp::Dhcp6Parser::make_ID(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("id", driver.loc_); + } +} + YY_BREAK +case 128: +YY_RULE_SETUP +#line 1382 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_RAPID_COMMIT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("rapid-commit", driver.loc_); + } +} + YY_BREAK +case 129: +YY_RULE_SETUP +#line 1392 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_RESERVATION_MODE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("reservation-mode", driver.loc_); + } +} + YY_BREAK +case 130: +YY_RULE_SETUP +#line 1403 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::RESERVATION_MODE: + return isc::dhcp::Dhcp6Parser::make_DISABLED(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("disabled", driver.loc_); + } +} + YY_BREAK +case 131: +YY_RULE_SETUP +#line 1412 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::RESERVATION_MODE: + return isc::dhcp::Dhcp6Parser::make_DISABLED(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("off", driver.loc_); + } +} + YY_BREAK +case 132: +YY_RULE_SETUP +#line 1421 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::RESERVATION_MODE: + return isc::dhcp::Dhcp6Parser::make_OUT_OF_POOL(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("out-of-pool", driver.loc_); + } +} + YY_BREAK +case 133: +YY_RULE_SETUP +#line 1430 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::RESERVATION_MODE: + return isc::dhcp::Dhcp6Parser::make_GLOBAL(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("global", driver.loc_); + } +} + YY_BREAK +case 134: +YY_RULE_SETUP +#line 1439 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::RESERVATION_MODE: + return isc::dhcp::Dhcp6Parser::make_ALL(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("all", driver.loc_); + } +} + YY_BREAK +case 135: +YY_RULE_SETUP +#line 1448 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_RESERVATIONS_GLOBAL(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("reservations-global", driver.loc_); + } +} + YY_BREAK +case 136: +YY_RULE_SETUP +#line 1459 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_RESERVATIONS_IN_SUBNET(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("reservations-in-subnet", driver.loc_); + } +} + YY_BREAK +case 137: +YY_RULE_SETUP +#line 1470 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_RESERVATIONS_OUT_OF_POOL(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("reservations-out-of-pool", driver.loc_); + } +} + YY_BREAK +case 138: +YY_RULE_SETUP +#line 1481 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::OPTION_DEF: + case isc::dhcp::Parser6Context::OPTION_DATA: + return isc::dhcp::Dhcp6Parser::make_CODE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("code", driver.loc_); + } +} + YY_BREAK +case 139: +YY_RULE_SETUP +#line 1491 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_MAC_SOURCES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("mac-sources", driver.loc_); + } +} + YY_BREAK +case 140: +YY_RULE_SETUP +#line 1500 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_RELAY_SUPPLIED_OPTIONS(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("relay-supplied-options", driver.loc_); + } +} + YY_BREAK +case 141: +YY_RULE_SETUP +#line 1509 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_HOST_RESERVATION_IDENTIFIERS(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("host-reservation-identifiers", driver.loc_); + } +} + YY_BREAK +case 142: +YY_RULE_SETUP +#line 1518 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_CALCULATE_TEE_TIMES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("calculate-tee-times", driver.loc_); + } +} + YY_BREAK +case 143: +YY_RULE_SETUP +#line 1529 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_T1_PERCENT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("t1-percent", driver.loc_); + } +} + YY_BREAK +case 144: +YY_RULE_SETUP +#line 1540 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_T2_PERCENT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("t2-percent", driver.loc_); + } +} + YY_BREAK +case 145: +YY_RULE_SETUP +#line 1551 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_CACHE_THRESHOLD(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("cache-threshold", driver.loc_); + } +} + YY_BREAK +case 146: +YY_RULE_SETUP +#line 1562 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_CACHE_MAX_AGE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("cache-max-age", driver.loc_); + } +} + YY_BREAK +case 147: +YY_RULE_SETUP +#line 1573 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_LOGGERS(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("loggers", driver.loc_); + } +} + YY_BREAK +case 148: +YY_RULE_SETUP +#line 1582 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LOGGERS: + return isc::dhcp::Dhcp6Parser::make_OUTPUT_OPTIONS(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("output_options", driver.loc_); + } +} + YY_BREAK +case 149: +YY_RULE_SETUP +#line 1591 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::OUTPUT_OPTIONS: + return isc::dhcp::Dhcp6Parser::make_OUTPUT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("output", driver.loc_); + } +} + YY_BREAK +case 150: +YY_RULE_SETUP +#line 1600 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::OUTPUT_OPTIONS: + return isc::dhcp::Dhcp6Parser::make_FLUSH(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("flush", driver.loc_); + } +} + YY_BREAK +case 151: +YY_RULE_SETUP +#line 1609 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::OUTPUT_OPTIONS: + return isc::dhcp::Dhcp6Parser::make_MAXSIZE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("maxsize", driver.loc_); + } +} + YY_BREAK +case 152: +YY_RULE_SETUP +#line 1618 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::OUTPUT_OPTIONS: + return isc::dhcp::Dhcp6Parser::make_MAXVER(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("maxver", driver.loc_); + } +} + YY_BREAK +case 153: +YY_RULE_SETUP +#line 1627 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::OUTPUT_OPTIONS: + return isc::dhcp::Dhcp6Parser::make_PATTERN(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("pattern", driver.loc_); + } +} + YY_BREAK +case 154: +YY_RULE_SETUP +#line 1636 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LOGGERS: + return isc::dhcp::Dhcp6Parser::make_DEBUGLEVEL(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("debuglevel", driver.loc_); + } +} + YY_BREAK +case 155: +YY_RULE_SETUP +#line 1645 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::LOGGERS: + return isc::dhcp::Dhcp6Parser::make_SEVERITY(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("severity", driver.loc_); + } +} + YY_BREAK +case 156: +YY_RULE_SETUP +#line 1654 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::RESERVATIONS: + return isc::dhcp::Dhcp6Parser::make_CLIENT_CLASSES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("client-classes", driver.loc_); + } +} + YY_BREAK +case 157: +YY_RULE_SETUP +#line 1664 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::POOLS: + case isc::dhcp::Parser6Context::PD_POOLS: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_REQUIRE_CLIENT_CLASSES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("require-client-classes", driver.loc_); + } +} + YY_BREAK +case 158: +YY_RULE_SETUP +#line 1676 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::POOLS: + case isc::dhcp::Parser6Context::PD_POOLS: + case isc::dhcp::Parser6Context::CLIENT_CLASSES: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_CLIENT_CLASS(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("client-class", driver.loc_); + } +} + YY_BREAK +case 159: +YY_RULE_SETUP +#line 1689 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp6Parser::make_TEST(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("test", driver.loc_); + } +} + YY_BREAK +case 160: +YY_RULE_SETUP +#line 1698 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp6Parser::make_TEMPLATE_TEST(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("template-test", driver.loc_); + } +} + YY_BREAK +case 161: +YY_RULE_SETUP +#line 1707 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp6Parser::make_ONLY_IF_REQUIRED(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("only-if-required", driver.loc_); + } +} + YY_BREAK +case 162: +YY_RULE_SETUP +#line 1716 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + case isc::dhcp::Parser6Context::SUBNET6: + return isc::dhcp::Dhcp6Parser::make_RESERVATIONS(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("reservations", driver.loc_); + } +} + YY_BREAK +case 163: +YY_RULE_SETUP +#line 1726 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::RESERVATIONS: + case isc::dhcp::Parser6Context::RELAY: + return isc::dhcp::Dhcp6Parser::make_IP_ADDRESSES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("ip-addresses", driver.loc_); + } +} + YY_BREAK +case 164: +YY_RULE_SETUP +#line 1736 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::RESERVATIONS: + return isc::dhcp::Dhcp6Parser::make_PREFIXES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("prefixes", driver.loc_); + } +} + YY_BREAK +case 165: +YY_RULE_SETUP +#line 1745 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::MAC_SOURCES: + case isc::dhcp::Parser6Context::HOST_RESERVATION_IDENTIFIERS: + case isc::dhcp::Parser6Context::RESERVATIONS: + return isc::dhcp::Dhcp6Parser::make_DUID(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("duid", driver.loc_); + } +} + YY_BREAK +case 166: +YY_RULE_SETUP +#line 1756 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::HOST_RESERVATION_IDENTIFIERS: + case isc::dhcp::Parser6Context::RESERVATIONS: + return isc::dhcp::Dhcp6Parser::make_HW_ADDRESS(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("hw-address", driver.loc_); + } +} + YY_BREAK +case 167: +YY_RULE_SETUP +#line 1766 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::RESERVATIONS: + return isc::dhcp::Dhcp6Parser::make_HOSTNAME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("hostname", driver.loc_); + } +} + YY_BREAK +case 168: +YY_RULE_SETUP +#line 1775 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::HOST_RESERVATION_IDENTIFIERS: + case isc::dhcp::Parser6Context::RESERVATIONS: + return isc::dhcp::Dhcp6Parser::make_FLEX_ID(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("flex-id", driver.loc_); + } +} + YY_BREAK +case 169: +YY_RULE_SETUP +#line 1785 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::OPTION_DEF: + case isc::dhcp::Parser6Context::OPTION_DATA: + return isc::dhcp::Dhcp6Parser::make_SPACE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("space", driver.loc_); + } +} + YY_BREAK +case 170: +YY_RULE_SETUP +#line 1795 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::OPTION_DATA: + return isc::dhcp::Dhcp6Parser::make_CSV_FORMAT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("csv-format", driver.loc_); + } +} + YY_BREAK +case 171: +YY_RULE_SETUP +#line 1804 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::OPTION_DEF: + return isc::dhcp::Dhcp6Parser::make_RECORD_TYPES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("record-types", driver.loc_); + } +} + YY_BREAK +case 172: +YY_RULE_SETUP +#line 1813 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::OPTION_DEF: + return isc::dhcp::Dhcp6Parser::make_ENCAPSULATE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("encapsulate", driver.loc_); + } +} + YY_BREAK +case 173: +YY_RULE_SETUP +#line 1822 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::OPTION_DEF: + return isc::dhcp::Dhcp6Parser::make_ARRAY(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("array", driver.loc_); + } +} + YY_BREAK +case 174: +YY_RULE_SETUP +#line 1831 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::SUBNET6: + case isc::dhcp::Parser6Context::SHARED_NETWORK: + return isc::dhcp::Dhcp6Parser::make_RELAY(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("relay", driver.loc_); + } +} + YY_BREAK +case 175: +YY_RULE_SETUP +#line 1841 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::RELAY: + return isc::dhcp::Dhcp6Parser::make_IP_ADDRESS(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("ip-address", driver.loc_); + } +} + YY_BREAK +case 176: +YY_RULE_SETUP +#line 1850 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_HOOKS_LIBRARIES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("hooks-libraries", driver.loc_); + } +} + YY_BREAK +case 177: +YY_RULE_SETUP +#line 1859 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::HOOKS_LIBRARIES: + return isc::dhcp::Dhcp6Parser::make_PARAMETERS(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("parameters", driver.loc_); + } +} + YY_BREAK +case 178: +YY_RULE_SETUP +#line 1868 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::HOOKS_LIBRARIES: + return isc::dhcp::Dhcp6Parser::make_LIBRARY(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("library", driver.loc_); + } +} + YY_BREAK +case 179: +YY_RULE_SETUP +#line 1877 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_SERVER_ID(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("server-id", driver.loc_); + } +} + YY_BREAK +case 180: +YY_RULE_SETUP +#line 1886 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DUID_TYPE: + return isc::dhcp::Dhcp6Parser::make_LLT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("LLT", driver.loc_); + } +} + YY_BREAK +case 181: +YY_RULE_SETUP +#line 1895 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DUID_TYPE: + return isc::dhcp::Dhcp6Parser::make_EN(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("EN", driver.loc_); + } +} + YY_BREAK +case 182: +YY_RULE_SETUP +#line 1904 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DUID_TYPE: + return isc::dhcp::Dhcp6Parser::make_LL(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("LL", driver.loc_); + } +} + YY_BREAK +case 183: +YY_RULE_SETUP +#line 1913 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::SERVER_ID: + return isc::dhcp::Dhcp6Parser::make_IDENTIFIER(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("identifier", driver.loc_); + } +} + YY_BREAK +case 184: +YY_RULE_SETUP +#line 1922 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::SERVER_ID: + return isc::dhcp::Dhcp6Parser::make_HTYPE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("htype", driver.loc_); + } +} + YY_BREAK +case 185: +YY_RULE_SETUP +#line 1931 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::SERVER_ID: + return isc::dhcp::Dhcp6Parser::make_TIME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("time", driver.loc_); + } +} + YY_BREAK +case 186: +YY_RULE_SETUP +#line 1940 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::SERVER_ID: + return isc::dhcp::Dhcp6Parser::make_ENTERPRISE_ID(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("enterprise-id", driver.loc_); + } +} + YY_BREAK +case 187: +YY_RULE_SETUP +#line 1949 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_EXPIRED_LEASES_PROCESSING(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("expired-leases-processing", driver.loc_); + } +} + YY_BREAK +case 188: +YY_RULE_SETUP +#line 1958 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::EXPIRED_LEASES_PROCESSING: + return isc::dhcp::Dhcp6Parser::make_RECLAIM_TIMER_WAIT_TIME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("reclaim-timer-wait-time", driver.loc_); + } +} + YY_BREAK +case 189: +YY_RULE_SETUP +#line 1967 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::EXPIRED_LEASES_PROCESSING: + return isc::dhcp::Dhcp6Parser::make_FLUSH_RECLAIMED_TIMER_WAIT_TIME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("flush-reclaimed-timer-wait-time", driver.loc_); + } +} + YY_BREAK +case 190: +YY_RULE_SETUP +#line 1976 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::EXPIRED_LEASES_PROCESSING: + return isc::dhcp::Dhcp6Parser::make_HOLD_RECLAIMED_TIME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("hold-reclaimed-time", driver.loc_); + } +} + YY_BREAK +case 191: +YY_RULE_SETUP +#line 1985 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::EXPIRED_LEASES_PROCESSING: + return isc::dhcp::Dhcp6Parser::make_MAX_RECLAIM_LEASES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("max-reclaim-leases", driver.loc_); + } +} + YY_BREAK +case 192: +YY_RULE_SETUP +#line 1994 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::EXPIRED_LEASES_PROCESSING: + return isc::dhcp::Dhcp6Parser::make_MAX_RECLAIM_TIME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("max-reclaim-time", driver.loc_); + } +} + YY_BREAK +case 193: +YY_RULE_SETUP +#line 2003 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::EXPIRED_LEASES_PROCESSING: + return isc::dhcp::Dhcp6Parser::make_UNWARNED_RECLAIM_CYCLES(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("unwarned-reclaim-cycles", driver.loc_); + } +} + YY_BREAK +case 194: +YY_RULE_SETUP +#line 2012 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_DHCP4O6_PORT(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("dhcp4o6-port", driver.loc_); + } +} + YY_BREAK +case 195: +YY_RULE_SETUP +#line 2021 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_DHCP_MULTI_THREADING(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("multi-threading", driver.loc_); + } +} + YY_BREAK +case 196: +YY_RULE_SETUP +#line 2030 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_MULTI_THREADING: + return isc::dhcp::Dhcp6Parser::make_ENABLE_MULTI_THREADING(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("enable-multi-threading", driver.loc_); + } +} + YY_BREAK +case 197: +YY_RULE_SETUP +#line 2039 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_MULTI_THREADING: + return isc::dhcp::Dhcp6Parser::make_THREAD_POOL_SIZE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("thread-pool-size", driver.loc_); + } +} + YY_BREAK +case 198: +YY_RULE_SETUP +#line 2048 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_MULTI_THREADING: + return isc::dhcp::Dhcp6Parser::make_PACKET_QUEUE_SIZE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("packet-queue-size", driver.loc_); + } +} + YY_BREAK +case 199: +YY_RULE_SETUP +#line 2057 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_CONTROL_SOCKET(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("control-socket", driver.loc_); + } +} + YY_BREAK +case 200: +YY_RULE_SETUP +#line 2066 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::CONTROL_SOCKET: + return isc::dhcp::Dhcp6Parser::make_SOCKET_TYPE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("socket-type", driver.loc_); + } +} + YY_BREAK +case 201: +YY_RULE_SETUP +#line 2075 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::CONTROL_SOCKET: + return isc::dhcp::Dhcp6Parser::make_SOCKET_NAME(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("socket-name", driver.loc_); + } +} + YY_BREAK +case 202: +YY_RULE_SETUP +#line 2084 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_DHCP_QUEUE_CONTROL(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("dhcp-queue-control", driver.loc_); + } +} + YY_BREAK +case 203: +YY_RULE_SETUP +#line 2093 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_QUEUE_CONTROL: + return isc::dhcp::Dhcp6Parser::make_ENABLE_QUEUE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("enable-queue", driver.loc_); + } +} + YY_BREAK +case 204: +YY_RULE_SETUP +#line 2102 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_QUEUE_CONTROL: + return isc::dhcp::Dhcp6Parser::make_QUEUE_TYPE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("queue-type", driver.loc_); + } +} + YY_BREAK +case 205: +YY_RULE_SETUP +#line 2111 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP_QUEUE_CONTROL: + return isc::dhcp::Dhcp6Parser::make_CAPACITY(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("capacity", driver.loc_); + } +} + YY_BREAK +case 206: +YY_RULE_SETUP +#line 2120 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_DHCP_DDNS(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("dhcp-ddns", driver.loc_); + } +} + YY_BREAK +case 207: +YY_RULE_SETUP +#line 2129 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_EARLY_GLOBAL_RESERVATIONS_LOOKUP(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("early-global-reservations-lookup", driver.loc_); + } +} + YY_BREAK +case 208: +YY_RULE_SETUP +#line 2138 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_IP_RESERVATIONS_UNIQUE(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("ip-reservations-unique", driver.loc_); + } +} + YY_BREAK +case 209: +YY_RULE_SETUP +#line 2147 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_RESERVATIONS_LOOKUP_FIRST(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("reservations-lookup-first", driver.loc_); + } +} + YY_BREAK +case 210: +YY_RULE_SETUP +#line 2156 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::DHCP6: + return isc::dhcp::Dhcp6Parser::make_COMPATIBILITY(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("compatibility", driver.loc_); + } +} + YY_BREAK +case 211: +YY_RULE_SETUP +#line 2165 "dhcp6_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser6Context::COMPATIBILITY: + return isc::dhcp::Dhcp6Parser::make_LENIENT_OPTION_PARSING(driver.loc_); + default: + return isc::dhcp::Dhcp6Parser::make_STRING("lenient-option-parsing", driver.loc_); + } +} + YY_BREAK +case 212: +YY_RULE_SETUP +#line 2174 "dhcp6_lexer.ll" +{ + /* A string has been matched. It contains the actual string and single quotes. + We need to get those quotes out of the way and just use its content, e.g. + for 'foo' we should get foo */ + std::string raw(yytext+1); + size_t len = raw.size() - 1; + raw.resize(len); + std::string decoded; + decoded.reserve(len); + for (size_t pos = 0; pos < len; ++pos) { + int b = 0; + char c = raw[pos]; + switch (c) { + case '"': + /* impossible condition */ + driver.error(driver.loc_, "Bad quote in \"" + raw + "\""); + break; + case '\\': + ++pos; + if (pos >= len) { + /* impossible condition */ + driver.error(driver.loc_, "Overflow escape in \"" + raw + "\""); + } + c = raw[pos]; + switch (c) { + case '"': + case '\\': + case '/': + decoded.push_back(c); + break; + case 'b': + decoded.push_back('\b'); + break; + case 'f': + decoded.push_back('\f'); + break; + case 'n': + decoded.push_back('\n'); + break; + case 'r': + decoded.push_back('\r'); + break; + case 't': + decoded.push_back('\t'); + break; + case 'u': + /* support only \u0000 to \u00ff */ + ++pos; + if (pos + 4 > len) { + /* impossible condition */ + driver.error(driver.loc_, + "Overflow unicode escape in \"" + raw + "\""); + } + if ((raw[pos] != '0') || (raw[pos + 1] != '0')) { + driver.error(driver.loc_, + "Unsupported unicode escape in \"" + raw + "\"", + pos + 1); + } + pos += 2; + c = raw[pos]; + if ((c >= '0') && (c <= '9')) { + b = (c - '0') << 4; + } else if ((c >= 'A') && (c <= 'F')) { + b = (c - 'A' + 10) << 4; + } else if ((c >= 'a') && (c <= 'f')) { + b = (c - 'a' + 10) << 4; + } else { + /* impossible condition */ + driver.error(driver.loc_, "Not hexadecimal in unicode escape in \"" + raw + "\""); + } + pos++; + c = raw[pos]; + if ((c >= '0') && (c <= '9')) { + b |= c - '0'; + } else if ((c >= 'A') && (c <= 'F')) { + b |= c - 'A' + 10; + } else if ((c >= 'a') && (c <= 'f')) { + b |= c - 'a' + 10; + } else { + /* impossible condition */ + driver.error(driver.loc_, "Not hexadecimal in unicode escape in \"" + raw + "\""); + } + decoded.push_back(static_cast<char>(b & 0xff)); + break; + default: + /* impossible condition */ + driver.error(driver.loc_, "Bad escape in \"" + raw + "\""); + } + break; + default: + if ((c >= 0) && (c < 0x20)) { + /* impossible condition */ + driver.error(driver.loc_, "Invalid control in \"" + raw + "\""); + } + decoded.push_back(c); + } + } + + return isc::dhcp::Dhcp6Parser::make_STRING(decoded, driver.loc_); +} + YY_BREAK +case 213: +/* rule 213 can match eol */ +YY_RULE_SETUP +#line 2275 "dhcp6_lexer.ll" +{ + /* Bad string with a forbidden control character inside */ + std::string raw(yytext+1); + size_t len = raw.size() - 1; + size_t pos = 0; + for (; pos < len; ++pos) { + char c = raw[pos]; + if ((c >= 0) && (c < 0x20)) { + break; + } + } + driver.error(driver.loc_, + "Invalid control in " + std::string(yytext), + pos + 1); +} + YY_BREAK +case 214: +/* rule 214 can match eol */ +YY_RULE_SETUP +#line 2291 "dhcp6_lexer.ll" +{ + /* Bad string with a bad escape inside */ + std::string raw(yytext+1); + size_t len = raw.size() - 1; + size_t pos = 0; + bool found = false; + for (; pos < len; ++pos) { + if (found) { + break; + } + char c = raw[pos]; + if (c == '\\') { + ++pos; + c = raw[pos]; + switch (c) { + case '"': + case '\\': + case '/': + case 'b': + case 'f': + case 'n': + case 'r': + case 't': + break; + case 'u': + if ((pos + 4 > len) || + !std::isxdigit(raw[pos + 1]) || + !std::isxdigit(raw[pos + 2]) || + !std::isxdigit(raw[pos + 3]) || + !std::isxdigit(raw[pos + 4])) { + found = true; + } + break; + default: + found = true; + break; + } + } + } + /* The rule stops on the first " including on \" so add ... in this case */ + std::string trailer = ""; + if (raw[len - 1] == '\\') { + trailer = "..."; + } + driver.error(driver.loc_, + "Bad escape in " + std::string(yytext) + trailer, + pos); +} + YY_BREAK +case 215: +YY_RULE_SETUP +#line 2340 "dhcp6_lexer.ll" +{ + /* Bad string with an open escape at the end */ + std::string raw(yytext+1); + driver.error(driver.loc_, + "Overflow escape in " + std::string(yytext), + raw.size() + 1); +} + YY_BREAK +case 216: +YY_RULE_SETUP +#line 2348 "dhcp6_lexer.ll" +{ + /* Bad string with an open unicode escape at the end */ + std::string raw(yytext+1); + size_t pos = raw.size() - 1; + for (; pos > 0; --pos) { + char c = raw[pos]; + if (c == 'u') { + break; + } + } + driver.error(driver.loc_, + "Overflow unicode escape in " + std::string(yytext), + pos + 1); +} + YY_BREAK +case 217: +YY_RULE_SETUP +#line 2363 "dhcp6_lexer.ll" +{ return isc::dhcp::Dhcp6Parser::make_LSQUARE_BRACKET(driver.loc_); } + YY_BREAK +case 218: +YY_RULE_SETUP +#line 2364 "dhcp6_lexer.ll" +{ return isc::dhcp::Dhcp6Parser::make_RSQUARE_BRACKET(driver.loc_); } + YY_BREAK +case 219: +YY_RULE_SETUP +#line 2365 "dhcp6_lexer.ll" +{ return isc::dhcp::Dhcp6Parser::make_LCURLY_BRACKET(driver.loc_); } + YY_BREAK +case 220: +YY_RULE_SETUP +#line 2366 "dhcp6_lexer.ll" +{ return isc::dhcp::Dhcp6Parser::make_RCURLY_BRACKET(driver.loc_); } + YY_BREAK +case 221: +YY_RULE_SETUP +#line 2367 "dhcp6_lexer.ll" +{ return isc::dhcp::Dhcp6Parser::make_COMMA(driver.loc_); } + YY_BREAK +case 222: +YY_RULE_SETUP +#line 2368 "dhcp6_lexer.ll" +{ return isc::dhcp::Dhcp6Parser::make_COLON(driver.loc_); } + YY_BREAK +case 223: +YY_RULE_SETUP +#line 2370 "dhcp6_lexer.ll" +{ + /* An integer was found. */ + std::string tmp(yytext); + int64_t integer = 0; + try { + /* In substring we want to use negative values (e.g. -1). + In enterprise-id we need to use values up to 0xffffffff. + To cover both of those use cases, we need at least + int64_t. */ + integer = boost::lexical_cast<int64_t>(tmp); + } catch (const boost::bad_lexical_cast &) { + driver.error(driver.loc_, "Failed to convert " + tmp + " to an integer."); + } + + /* The parser needs the string form as double conversion is no lossless */ + return isc::dhcp::Dhcp6Parser::make_INTEGER(integer, driver.loc_); +} + YY_BREAK +case 224: +YY_RULE_SETUP +#line 2388 "dhcp6_lexer.ll" +{ + /* A floating point was found. */ + std::string tmp(yytext); + double fp = 0.0; + try { + fp = boost::lexical_cast<double>(tmp); + } catch (const boost::bad_lexical_cast &) { + driver.error(driver.loc_, "Failed to convert " + tmp + " to a floating point."); + } + + return isc::dhcp::Dhcp6Parser::make_FLOAT(fp, driver.loc_); +} + YY_BREAK +case 225: +YY_RULE_SETUP +#line 2401 "dhcp6_lexer.ll" +{ + string tmp(yytext); + return isc::dhcp::Dhcp6Parser::make_BOOLEAN(tmp == "true", driver.loc_); +} + YY_BREAK +case 226: +YY_RULE_SETUP +#line 2406 "dhcp6_lexer.ll" +{ + return isc::dhcp::Dhcp6Parser::make_NULL_TYPE(driver.loc_); +} + YY_BREAK +case 227: +YY_RULE_SETUP +#line 2410 "dhcp6_lexer.ll" +driver.error (driver.loc_, "JSON true reserved keyword is lower case only"); + YY_BREAK +case 228: +YY_RULE_SETUP +#line 2412 "dhcp6_lexer.ll" +driver.error (driver.loc_, "JSON false reserved keyword is lower case only"); + YY_BREAK +case 229: +YY_RULE_SETUP +#line 2414 "dhcp6_lexer.ll" +driver.error (driver.loc_, "JSON null reserved keyword is lower case only"); + YY_BREAK +case 230: +YY_RULE_SETUP +#line 2416 "dhcp6_lexer.ll" +driver.error (driver.loc_, "Invalid character: " + std::string(yytext)); + YY_BREAK +case YY_STATE_EOF(INITIAL): +#line 2418 "dhcp6_lexer.ll" +{ + if (driver.states_.empty()) { + return isc::dhcp::Dhcp6Parser::make_END(driver.loc_); + } + driver.loc_ = driver.locs_.back(); + driver.locs_.pop_back(); + driver.file_ = driver.files_.back(); + driver.files_.pop_back(); + if (driver.sfile_) { + fclose(driver.sfile_); + driver.sfile_ = 0; + } + if (!driver.sfiles_.empty()) { + driver.sfile_ = driver.sfiles_.back(); + driver.sfiles_.pop_back(); + } + parser6__delete_buffer(YY_CURRENT_BUFFER); + parser6__switch_to_buffer(driver.states_.back()); + driver.states_.pop_back(); + + BEGIN(DIR_EXIT); +} + YY_BREAK +case 231: +YY_RULE_SETUP +#line 2441 "dhcp6_lexer.ll" +ECHO; + YY_BREAK +#line 5611 "dhcp6_lexer.cc" + + 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; +/* %if-c-only */ + YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; +/* %endif */ +/* %if-c++-only */ +/* %endif */ + 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 + { +/* %% [14.0] code to do back-up for compressed tables and set up yy_cp goes here */ + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + 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 user's declarations */ +} /* end of yylex */ +/* %ok-for-header */ + +/* %if-c++-only */ +/* %not-for-header */ +/* %ok-for-header */ + +/* %endif */ + +/* 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 + */ +/* %if-c-only */ +static int yy_get_next_buffer (void) +/* %endif */ +/* %if-c++-only */ +/* %endif */ +{ + char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + char *source = (yytext_ptr); + 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 + { + int 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 ) + { + int 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, + (yy_size_t) (b->yy_buf_size + 2) ); + } + else + /* Can't grow it, we don't own it. */ + b->yy_ch_buf = NULL; + + 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_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { + /* Extend the array by 50%, plus the number we really need. */ + int 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, (yy_size_t) new_size ); + if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); + /* "- 2" to take care of EOB's */ + YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); + } + + (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 */ + +/* %if-c-only */ +/* %not-for-header */ + static yy_state_type yy_get_previous_state (void) +/* %endif */ +/* %if-c++-only */ +/* %endif */ +{ + yy_state_type yy_current_state; + char *yy_cp; + +/* %% [15.0] code to get the start state into yy_current_state goes here */ + yy_current_state = (yy_start); + + for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) + { +/* %% [16.0] code to find the next state goes here */ + 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 >= 2206 ) + yy_c = yy_meta[yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + 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 ); + */ +/* %if-c-only */ + static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) +/* %endif */ +/* %if-c++-only */ +/* %endif */ +{ + int yy_is_jam; + /* %% [17.0] code to find the next state, and perhaps do backing up, goes here */ + char *yy_cp = (yy_c_buf_p); + + 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 >= 2206 ) + yy_c = yy_meta[yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; + yy_is_jam = (yy_current_state == 2205); + + return yy_is_jam ? 0 : yy_current_state; +} + +#ifndef YY_NO_UNPUT +/* %if-c-only */ + +/* %endif */ +#endif + +/* %if-c-only */ +#ifndef YY_NO_INPUT +#ifdef __cplusplus + static int yyinput (void) +#else + static int input (void) +#endif + +/* %endif */ +/* %if-c++-only */ +/* %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 */ + int offset = (int) ((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 0; + + 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); + +/* %% [19.0] update BOL and yylineno */ + + return c; +} +/* %if-c-only */ +#endif /* ifndef YY_NO_INPUT */ +/* %endif */ + +/** 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 . + */ +/* %if-c-only */ + void yyrestart (FILE * input_file ) +/* %endif */ +/* %if-c++-only */ +/* %endif */ +{ + + 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( ); +} + +/* %if-c++-only */ +/* %endif */ + +/** Switch to a different input buffer. + * @param new_buffer The new input buffer. + * + */ +/* %if-c-only */ + void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) +/* %endif */ +/* %if-c++-only */ +/* %endif */ +{ + + /* 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; +} + +/* %if-c-only */ +static void yy_load_buffer_state (void) +/* %endif */ +/* %if-c++-only */ +/* %endif */ +{ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; +/* %if-c-only */ + yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; +/* %endif */ +/* %if-c++-only */ +/* %endif */ + (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. + */ +/* %if-c-only */ + YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) +/* %endif */ +/* %if-c++-only */ +/* %endif */ +{ + 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( (yy_size_t) (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; +} + +/* %if-c++-only */ +/* %endif */ + +/** Destroy the buffer. + * @param b a buffer created with yy_create_buffer() + * + */ +/* %if-c-only */ + void yy_delete_buffer (YY_BUFFER_STATE b ) +/* %endif */ +/* %if-c++-only */ +/* %endif */ +{ + + 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. + */ +/* %if-c-only */ + static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) +/* %endif */ +/* %if-c++-only */ +/* %endif */ + +{ + int oerrno = errno; + + yy_flush_buffer( b ); + +/* %if-c-only */ + b->yy_input_file = file; +/* %endif */ +/* %if-c++-only */ +/* %endif */ + 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; + } + +/* %if-c-only */ + + b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; + +/* %endif */ +/* %if-c++-only */ +/* %endif */ + 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. + * + */ +/* %if-c-only */ + void yy_flush_buffer (YY_BUFFER_STATE b ) +/* %endif */ +/* %if-c++-only */ +/* %endif */ +{ + 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( ); +} + +/* %if-c-or-c++ */ +/** 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. + * + */ +/* %if-c-only */ +void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) +/* %endif */ +/* %if-c++-only */ +/* %endif */ +{ + 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; +} +/* %endif */ + +/* %if-c-or-c++ */ +/** Removes and deletes the top of the stack, if present. + * The next element becomes the new top. + * + */ +/* %if-c-only */ +void yypop_buffer_state (void) +/* %endif */ +/* %if-c++-only */ +/* %endif */ +{ + 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; + } +} +/* %endif */ + +/* %if-c-or-c++ */ +/* Allocates the stack if it does not exist. + * Guarantees space for at least one push. + */ +/* %if-c-only */ +static void yyensure_buffer_stack (void) +/* %endif */ +/* %if-c++-only */ +/* %endif */ +{ + 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; /* After all that talk, this was set to 1 anyways... */ + (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. */ + yy_size_t 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; + } +} +/* %endif */ + +/* %if-c-only */ +/** 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 NULL; + + 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 = (int) (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 = NULL; + 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; +} +/* %endif */ + +/* %if-c-only */ +/** 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 (const char * yystr ) +{ + + return yy_scan_bytes( yystr, (int) strlen(yystr) ); +} +/* %endif */ + +/* %if-c-only */ +/** 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 (const char * yybytes, int _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 = (yy_size_t) (_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; +} +/* %endif */ + +#ifndef YY_EXIT_FAILURE +#define YY_EXIT_FAILURE 2 +#endif + +/* %if-c-only */ +static void yynoreturn yy_fatal_error (const char* msg ) +{ + fprintf( stderr, "%s\n", msg ); + exit( YY_EXIT_FAILURE ); +} +/* %endif */ +/* %if-c++-only */ +/* %endif */ + +/* 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. */ + +/* %if-c-only */ +/* %if-reentrant */ +/* %endif */ + +/** 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. + * + */ +int yyget_leng (void) +{ + return yyleng; +} + +/** Get the current token. + * + */ + +char *yyget_text (void) +{ + return yytext; +} + +/* %if-reentrant */ +/* %endif */ + +/** Set the current line number. + * @param _line_number 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 ; +} + +/* %endif */ + +/* %if-reentrant */ +/* %if-bison-bridge */ +/* %endif */ +/* %endif if-c-only */ + +/* %if-c-only */ +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) = NULL; + (yy_buffer_stack_top) = 0; + (yy_buffer_stack_max) = 0; + (yy_c_buf_p) = NULL; + (yy_init) = 0; + (yy_start) = 0; + +/* Defined in main.c */ +#ifdef YY_STDINIT + yyin = stdin; + yyout = stdout; +#else + yyin = NULL; + yyout = NULL; +#endif + + /* For future reference: Set errno on error, since we are called by + * yylex_init() + */ + return 0; +} +/* %endif */ + +/* %if-c-only SNIP! this currently causes conflicts with the c++ scanner */ +/* 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( ); + +/* %if-reentrant */ +/* %endif */ + return 0; +} +/* %endif */ + +/* + * Internal utility routines. + */ + +#ifndef yytext_ptr +static void yy_flex_strncpy (char* s1, const char * s2, int n ) +{ + + int i; + for ( i = 0; i < n; ++i ) + s1[i] = s2[i]; +} +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen (const char * s ) +{ + int n; + for ( n = 0; s[n]; ++n ) + ; + + return n; +} +#endif + +void *yyalloc (yy_size_t size ) +{ + return 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 realloc(ptr, size); +} + +void yyfree (void * ptr ) +{ + free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ +} + +/* %if-tables-serialization definitions */ +/* %define-yytables The name for this specific scanner's tables. */ +#define YYTABLES_NAME "yytables" +/* %endif */ + +/* %ok-for-header */ + +#line 2441 "dhcp6_lexer.ll" + + +using namespace isc::dhcp; + +void +Parser6Context::scanStringBegin(const std::string& str, ParserType parser_type) +{ + start_token_flag = true; + start_token_value = parser_type; + + file_ = "<string>"; + sfile_ = 0; + loc_.initialize(&file_); + yy_flex_debug = trace_scanning_; + YY_BUFFER_STATE buffer; + buffer = parser6__scan_bytes(str.c_str(), str.size()); + if (!buffer) { + fatal("cannot scan string"); + /* fatal() throws an exception so this can't be reached */ + } +} + +void +Parser6Context::scanFileBegin(FILE * f, + const std::string& filename, + ParserType parser_type) +{ + start_token_flag = true; + start_token_value = parser_type; + + file_ = filename; + sfile_ = f; + loc_.initialize(&file_); + yy_flex_debug = trace_scanning_; + YY_BUFFER_STATE buffer; + + /* See dhcp6_lexer.cc header for available definitions */ + buffer = parser6__create_buffer(f, 65536 /*buffer size*/); + if (!buffer) { + fatal("cannot scan file " + filename); + } + parser6__switch_to_buffer(buffer); +} + +void +Parser6Context::scanEnd() { + if (sfile_) + fclose(sfile_); + sfile_ = 0; + static_cast<void>(parser6_lex_destroy()); + /* Close files */ + while (!sfiles_.empty()) { + FILE* f = sfiles_.back(); + if (f) { + fclose(f); + } + sfiles_.pop_back(); + } + /* Delete states */ + while (!states_.empty()) { + parser6__delete_buffer(states_.back()); + states_.pop_back(); + } +} + +void +Parser6Context::includeFile(const std::string& filename) { + if (states_.size() > 10) { + fatal("Too many nested include."); + } + + FILE* f = fopen(filename.c_str(), "r"); + if (!f) { + fatal("Can't open include file " + filename); + } + if (sfile_) { + sfiles_.push_back(sfile_); + } + sfile_ = f; + states_.push_back(YY_CURRENT_BUFFER); + YY_BUFFER_STATE buffer; + buffer = parser6__create_buffer(f, 65536 /*buffer size*/); + if (!buffer) { + fatal( "Can't scan include file " + filename); + } + parser6__switch_to_buffer(buffer); + files_.push_back(file_); + file_ = filename; + locs_.push_back(loc_); + loc_.initialize(&file_); + + BEGIN(INITIAL); +} + +namespace { +/** To avoid unused function error */ +class Dummy { + /* cppcheck-suppress unusedPrivateFunction */ + void dummy() { yy_fatal_error("Fix me: how to disable its definition?"); } +}; +} +#endif /* !__clang_analyzer__ */ + |