diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 14:53:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 14:53:22 +0000 |
commit | 52c021ee0b0c6ad2128ed550c694aad0d11d4c3f (patch) | |
tree | 83cf8627b94336cf4bee7479b9749263bbfd3a06 /src/bin/dhcp4/dhcp4_lexer.cc | |
parent | Initial commit. (diff) | |
download | isc-kea-52c021ee0b0c6ad2128ed550c694aad0d11d4c3f.tar.xz isc-kea-52c021ee0b0c6ad2128ed550c694aad0d11d4c3f.zip |
Adding upstream version 2.5.7.upstream/2.5.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/bin/dhcp4/dhcp4_lexer.cc')
-rw-r--r-- | src/bin/dhcp4/dhcp4_lexer.cc | 6955 |
1 files changed, 6955 insertions, 0 deletions
diff --git a/src/bin/dhcp4/dhcp4_lexer.cc b/src/bin/dhcp4/dhcp4_lexer.cc new file mode 100644 index 0000000..8c31752 --- /dev/null +++ b/src/bin/dhcp4/dhcp4_lexer.cc @@ -0,0 +1,6955 @@ +#line 1 "dhcp4_lexer.cc" + +#line 3 "dhcp4_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 parser4__create_buffer +#define yy_delete_buffer parser4__delete_buffer +#define yy_scan_buffer parser4__scan_buffer +#define yy_scan_string parser4__scan_string +#define yy_scan_bytes parser4__scan_bytes +#define yy_init_buffer parser4__init_buffer +#define yy_flush_buffer parser4__flush_buffer +#define yy_load_buffer_state parser4__load_buffer_state +#define yy_switch_to_buffer parser4__switch_to_buffer +#define yypush_buffer_state parser4_push_buffer_state +#define yypop_buffer_state parser4_pop_buffer_state +#define yyensure_buffer_stack parser4_ensure_buffer_stack +#define yy_flex_debug parser4__flex_debug +#define yyin parser4_in +#define yyleng parser4_leng +#define yylex parser4_lex +#define yylineno parser4_lineno +#define yyout parser4_out +#define yyrestart parser4_restart +#define yytext parser4_text +#define yywrap parser4_wrap +#define yyalloc parser4_alloc +#define yyrealloc parser4_realloc +#define yyfree parser4_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 parser4__create_buffer_ALREADY_DEFINED +#else +#define yy_create_buffer parser4__create_buffer +#endif + +#ifdef yy_delete_buffer +#define parser4__delete_buffer_ALREADY_DEFINED +#else +#define yy_delete_buffer parser4__delete_buffer +#endif + +#ifdef yy_scan_buffer +#define parser4__scan_buffer_ALREADY_DEFINED +#else +#define yy_scan_buffer parser4__scan_buffer +#endif + +#ifdef yy_scan_string +#define parser4__scan_string_ALREADY_DEFINED +#else +#define yy_scan_string parser4__scan_string +#endif + +#ifdef yy_scan_bytes +#define parser4__scan_bytes_ALREADY_DEFINED +#else +#define yy_scan_bytes parser4__scan_bytes +#endif + +#ifdef yy_init_buffer +#define parser4__init_buffer_ALREADY_DEFINED +#else +#define yy_init_buffer parser4__init_buffer +#endif + +#ifdef yy_flush_buffer +#define parser4__flush_buffer_ALREADY_DEFINED +#else +#define yy_flush_buffer parser4__flush_buffer +#endif + +#ifdef yy_load_buffer_state +#define parser4__load_buffer_state_ALREADY_DEFINED +#else +#define yy_load_buffer_state parser4__load_buffer_state +#endif + +#ifdef yy_switch_to_buffer +#define parser4__switch_to_buffer_ALREADY_DEFINED +#else +#define yy_switch_to_buffer parser4__switch_to_buffer +#endif + +#ifdef yypush_buffer_state +#define parser4_push_buffer_state_ALREADY_DEFINED +#else +#define yypush_buffer_state parser4_push_buffer_state +#endif + +#ifdef yypop_buffer_state +#define parser4_pop_buffer_state_ALREADY_DEFINED +#else +#define yypop_buffer_state parser4_pop_buffer_state +#endif + +#ifdef yyensure_buffer_stack +#define parser4_ensure_buffer_stack_ALREADY_DEFINED +#else +#define yyensure_buffer_stack parser4_ensure_buffer_stack +#endif + +#ifdef yylex +#define parser4_lex_ALREADY_DEFINED +#else +#define yylex parser4_lex +#endif + +#ifdef yyrestart +#define parser4_restart_ALREADY_DEFINED +#else +#define yyrestart parser4_restart +#endif + +#ifdef yylex_init +#define parser4_lex_init_ALREADY_DEFINED +#else +#define yylex_init parser4_lex_init +#endif + +#ifdef yylex_init_extra +#define parser4_lex_init_extra_ALREADY_DEFINED +#else +#define yylex_init_extra parser4_lex_init_extra +#endif + +#ifdef yylex_destroy +#define parser4_lex_destroy_ALREADY_DEFINED +#else +#define yylex_destroy parser4_lex_destroy +#endif + +#ifdef yyget_debug +#define parser4_get_debug_ALREADY_DEFINED +#else +#define yyget_debug parser4_get_debug +#endif + +#ifdef yyset_debug +#define parser4_set_debug_ALREADY_DEFINED +#else +#define yyset_debug parser4_set_debug +#endif + +#ifdef yyget_extra +#define parser4_get_extra_ALREADY_DEFINED +#else +#define yyget_extra parser4_get_extra +#endif + +#ifdef yyset_extra +#define parser4_set_extra_ALREADY_DEFINED +#else +#define yyset_extra parser4_set_extra +#endif + +#ifdef yyget_in +#define parser4_get_in_ALREADY_DEFINED +#else +#define yyget_in parser4_get_in +#endif + +#ifdef yyset_in +#define parser4_set_in_ALREADY_DEFINED +#else +#define yyset_in parser4_set_in +#endif + +#ifdef yyget_out +#define parser4_get_out_ALREADY_DEFINED +#else +#define yyget_out parser4_get_out +#endif + +#ifdef yyset_out +#define parser4_set_out_ALREADY_DEFINED +#else +#define yyset_out parser4_set_out +#endif + +#ifdef yyget_leng +#define parser4_get_leng_ALREADY_DEFINED +#else +#define yyget_leng parser4_get_leng +#endif + +#ifdef yyget_text +#define parser4_get_text_ALREADY_DEFINED +#else +#define yyget_text parser4_get_text +#endif + +#ifdef yyget_lineno +#define parser4_get_lineno_ALREADY_DEFINED +#else +#define yyget_lineno parser4_get_lineno +#endif + +#ifdef yyset_lineno +#define parser4_set_lineno_ALREADY_DEFINED +#else +#define yyset_lineno parser4_set_lineno +#endif + +#ifdef yywrap +#define parser4_wrap_ALREADY_DEFINED +#else +#define yywrap parser4_wrap +#endif + +/* %endif */ + +#ifdef yyalloc +#define parser4_alloc_ALREADY_DEFINED +#else +#define yyalloc parser4_alloc +#endif + +#ifdef yyrealloc +#define parser4_realloc_ALREADY_DEFINED +#else +#define yyrealloc parser4_realloc +#endif + +#ifdef yyfree +#define parser4_free_ALREADY_DEFINED +#else +#define yyfree parser4_free +#endif + +/* %if-c-only */ + +#ifdef yytext +#define parser4_text_ALREADY_DEFINED +#else +#define yytext parser4_text +#endif + +#ifdef yyleng +#define parser4_leng_ALREADY_DEFINED +#else +#define yyleng parser4_leng +#endif + +#ifdef yyin +#define parser4_in_ALREADY_DEFINED +#else +#define yyin parser4_in +#endif + +#ifdef yyout +#define parser4_out_ALREADY_DEFINED +#else +#define yyout parser4_out +#endif + +#ifdef yy_flex_debug +#define parser4__flex_debug_ALREADY_DEFINED +#else +#define yy_flex_debug parser4__flex_debug +#endif + +#ifdef yylineno +#define parser4_lineno_ALREADY_DEFINED +#else +#define yylineno parser4_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 parser4_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 234 +#define YY_END_OF_BUFFER 235 +/* 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[2356] = + { 0, + 227, 227, 0, 0, 0, 0, 0, 0, 0, 0, + 235, 233, 10, 11, 233, 1, 227, 224, 227, 227, + 233, 226, 225, 233, 233, 233, 233, 233, 220, 221, + 233, 233, 233, 222, 223, 5, 5, 5, 233, 233, + 233, 10, 11, 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, 1, + 227, 227, 0, 226, 227, 3, 2, 6, 0, 227, + 0, 0, 0, 0, 0, 0, 4, 0, 0, 9, + + 0, 216, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 218, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 217, 219, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 102, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 232, 230, 0, 229, 228, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, + 0, 188, 0, 0, 108, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 105, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 18, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 19, 0, 0, 0, 0, 0, 231, 228, 0, 0, + 0, 0, 0, 0, 0, 190, 0, 0, 192, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 112, 0, 0, 0, 0, 0, 0, + + 92, 0, 0, 0, 0, 0, 0, 136, 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, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 96, 0, 0, 42, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 132, 0, 0, 35, 0, 0, 39, 0, + 0, 0, 0, 0, 0, 0, 0, 12, 194, 193, + 0, 0, 0, 0, 0, 146, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 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, 0, 0, 0, + 0, 0, 0, 0, 37, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 95, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 147, 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, 0, 0, 0, 0, 7, 0, 0, 195, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 107, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 126, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 122, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 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, 0, 0, 0, + 0, 140, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 152, 119, 0, 0, 0, 0, 0, 0, 125, 36, + 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, + + 43, 97, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 86, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 171, 0, 0, 0, 0, 0, 0, 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, 141, 0, 0, 0, 0, 0, 0, + 0, 0, 59, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 40, 0, 0, 0, 0, 0, 34, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 128, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 69, 0, 0, 0, 0, 0, 0, 58, + + 0, 0, 0, 138, 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, 0, 0, 0, 101, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 177, 0, 0, 0, 175, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 199, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 139, 0, 0, 0, 0, 0, 0, + 0, 143, 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, 137, 0, 0, 23, 0, 148, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 181, 0, 94, 0, 0, 0, 0, 89, + + 0, 0, 0, 0, 0, 0, 0, 151, 0, 38, + 0, 170, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 67, 0, + 0, 0, 0, 0, 0, 0, 115, 116, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 93, 0, 0, 0, 0, 0, 60, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 145, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 203, 0, 0, 90, 106, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, + 178, 0, 0, 176, 0, 0, 167, 166, 0, 0, + 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, + 0, 0, 0, 0, 0, 191, 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, 160, 0, 0, 0, 169, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 149, 0, 15, 0, 0, 44, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 180, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 46, 65, 0, 0, + 144, 0, 0, 0, 135, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 57, 0, 98, 0, 0, 197, 0, 0, 0, 0, + 0, 0, 202, 0, 118, 0, 0, 0, 209, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 14, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 133, 0, 0, 0, + 47, 0, 0, 0, 0, 0, 0, 205, 0, 0, + 129, 31, 0, 0, 0, 165, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 200, 0, 173, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 29, 0, 0, 0, 0, 0, 28, + 0, 0, 179, 0, 0, 0, 56, 0, 0, 0, + 214, 0, 0, 121, 120, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 61, 0, 0, 0, 0, 0, 0, 117, + 0, 0, 0, 45, 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, 30, + 0, 0, 0, 0, 0, 201, 0, 0, 0, 0, + + 0, 161, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, + 0, 0, 204, 0, 88, 0, 51, 0, 0, 0, + 0, 198, 0, 81, 0, 0, 196, 0, 32, 0, + 0, 0, 0, 0, 0, 0, 0, 85, 0, 0, + 0, 0, 17, 0, 0, 0, 0, 0, 0, 185, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 158, 0, 0, 0, 134, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 103, 0, 0, 0, 0, + 54, 0, 52, 0, 0, 0, 0, 48, 163, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 72, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 186, 0, 0, 13, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 164, 0, + 174, 0, 0, 0, 0, 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, 157, 0, 63, 62, 20, 0, 182, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 82, 0, 114, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 156, 0, 0, 0, + 0, 0, 0, 55, 0, 68, 0, 49, 184, 0, + 109, 0, 0, 0, 0, 0, 0, 0, 0, 87, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 78, 0, 0, 0, 0, 0, 0, 16, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 53, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 76, 0, 0, 0, 0, 0, 0, 0, 0, + + 213, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 84, 33, 0, 0, 0, 77, 0, 0, 0, + 0, 162, 0, 0, 0, 0, 0, 0, 207, 210, + 183, 0, 130, 110, 0, 0, 0, 0, 0, 0, + 0, 83, 0, 0, 73, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 154, 0, 0, 0, 0, + 0, 0, 159, 0, 0, 75, 0, 66, 0, 0, + 0, 0, 0, 0, 0, 0, 111, 0, 0, 0, + 0, 0, 0, 0, 0, 153, 0, 0, 187, 0, + + 212, 208, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 74, 0, 0, 0, 0, 0, 27, 25, 0, 0, + 0, 0, 79, 0, 0, 113, 0, 0, 71, 0, + 80, 0, 0, 211, 0, 0, 0, 0, 0, 70, + 0, 155, 26, 206, 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, 30, 31, 32, 33, 5, 34, 35, 36, + 5, 37, 38, 39, 40, 41, 42, 43, 44, 5, + 45, 46, 47, 5, 48, 5, 49, 50, 51, 52, + + 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, + 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, + 73, 74, 75, 5, 76, 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[77] = + { 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, 1, 1, 1 + } ; + +static const flex_int16_t yy_base[2364] = + { 0, + 0, 75, 21, 28, 39, 47, 53, 61, 95, 103, + 2805, 2806, 31, 2801, 151, 0, 216, 2806, 223, 230, + 13, 237, 2806, 2781, 124, 17, 4, 34, 2806, 2806, + 23, 43, 64, 2806, 2806, 2806, 56, 2789, 2739, 0, + 2779, 106, 2796, 2, 274, 2806, 2735, 85, 90, 2741, + 98, 77, 231, 235, 97, 200, 304, 229, 2733, 318, + 218, 62, 219, 220, 214, 257, 2742, 298, 307, 342, + 328, 229, 2725, 21, 347, 392, 327, 2744, 293, 0, + 404, 420, 435, 452, 445, 2806, 0, 2806, 409, 460, + 203, 228, 317, 260, 354, 343, 2806, 2741, 2785, 2806, + + 300, 2806, 474, 2772, 342, 254, 2738, 368, 17, 363, + 2777, 366, 402, 418, 335, 2781, 0, 538, 439, 2720, + 2717, 2721, 432, 2717, 299, 2725, 432, 2711, 2712, 2717, + 76, 2727, 2710, 2719, 2709, 2718, 390, 438, 63, 2711, + 2709, 428, 2760, 2764, 2707, 2700, 2756, 2693, 441, 2714, + 2714, 2708, 243, 2701, 2699, 2700, 2692, 2697, 2691, 444, + 2702, 395, 2687, 2686, 2700, 464, 2686, 434, 455, 2680, + 508, 242, 447, 2701, 2698, 2699, 458, 2697, 2735, 2734, + 475, 198, 2678, 472, 2679, 482, 2671, 2688, 2680, 2682, + 0, 484, 490, 507, 500, 514, 518, 2678, 2806, 2726, + + 546, 552, 2672, 511, 545, 553, 557, 2729, 556, 2728, + 550, 2727, 2806, 2806, 599, 393, 562, 2683, 2675, 2662, + 2673, 2677, 2678, 2658, 2669, 2673, 2670, 2669, 465, 532, + 2710, 2671, 2652, 2649, 2657, 2652, 2666, 2662, 2653, 2649, + 2661, 2661, 2649, 2651, 2654, 2634, 2638, 2651, 2653, 2650, + 2642, 2632, 2650, 2806, 2635, 2644, 82, 2685, 2628, 2637, + 2682, 2626, 2636, 2639, 526, 2635, 2677, 2619, 2621, 2632, + 2673, 575, 2615, 16, 2628, 2608, 2623, 570, 2613, 2619, + 476, 2610, 2608, 2608, 2614, 2605, 2604, 2611, 2601, 2663, + 2616, 2615, 2609, 538, 2616, 2611, 2603, 2593, 2608, 2594, + + 2606, 2601, 2605, 2586, 2602, 2588, 2594, 2601, 2583, 533, + 2588, 2585, 2584, 599, 2583, 2578, 2592, 577, 2591, 2637, + 2593, 607, 2584, 2572, 592, 2806, 2806, 594, 2806, 2806, + 2570, 572, 587, 600, 2621, 608, 2631, 596, 607, 2806, + 2630, 2806, 2624, 660, 2806, 2583, 593, 2560, 2569, 2620, + 2577, 2560, 2577, 2616, 2573, 2556, 2562, 2617, 2569, 2572, + 2563, 2566, 2552, 2563, 2610, 2604, 2559, 2556, 516, 2562, + 2605, 2537, 2598, 2548, 2543, 2537, 2539, 2542, 2592, 2546, + 2535, 2551, 2588, 2531, 632, 2545, 2530, 2529, 2542, 2540, + 2538, 2538, 2537, 2532, 2539, 2534, 2530, 576, 2528, 2531, + + 2526, 2512, 2524, 2520, 2573, 600, 603, 2567, 2806, 2511, + 2527, 2564, 2511, 2510, 2509, 2502, 2504, 2516, 2507, 2514, + 2495, 2512, 2507, 659, 2557, 2507, 2504, 2507, 2806, 2506, + 285, 2496, 2508, 605, 2483, 2484, 2505, 2496, 2486, 2478, + 2539, 2481, 2495, 615, 2481, 2493, 2492, 2491, 2486, 2531, + 2488, 2487, 2486, 2485, 2468, 2476, 2529, 2485, 2465, 2526, + 2806, 2465, 2464, 684, 2477, 2475, 2806, 2806, 2475, 2464, + 2456, 641, 2513, 2517, 2516, 2806, 2515, 628, 2806, 655, + 713, 2471, 654, 2513, 2452, 2463, 2505, 2455, 2457, 2459, + 2446, 2454, 2442, 2806, 2447, 2440, 2452, 2455, 2442, 2441, + + 2806, 691, 2443, 2440, 651, 2438, 2440, 2806, 2488, 2447, + 2444, 2429, 2443, 2441, 2441, 2435, 687, 2442, 2430, 2423, + 2477, 2806, 2421, 2437, 2474, 2432, 2430, 2428, 2429, 2413, + 2422, 2467, 2415, 2414, 2409, 2408, 2462, 2403, 643, 2422, + 2396, 2403, 2408, 2418, 2455, 2459, 2806, 2401, 2397, 691, + 2395, 2450, 2403, 2402, 2396, 2403, 2387, 2387, 2397, 2385, + 2399, 2399, 2387, 2383, 2381, 2806, 2390, 2440, 2806, 2379, + 2390, 2432, 2374, 2373, 2378, 2387, 2381, 2375, 2384, 2429, + 2423, 2382, 2366, 2361, 2419, 2380, 2355, 2361, 669, 2375, + 2368, 2372, 2355, 2416, 2354, 2354, 2408, 2350, 2351, 2350, + + 2348, 2365, 2806, 2361, 2401, 2806, 2349, 2347, 2806, 2358, + 2397, 2396, 2353, 2337, 2354, 2397, 680, 2806, 2806, 2806, + 631, 669, 668, 2334, 709, 2806, 2344, 2343, 682, 2350, + 2330, 2340, 2385, 2327, 2383, 2325, 2335, 2380, 2322, 2329, + 2322, 2324, 2333, 2315, 2315, 2330, 2329, 2313, 680, 2327, + 2326, 2326, 2308, 2313, 2357, 2321, 2318, 2312, 2360, 2301, + 2316, 2316, 2314, 2314, 2806, 2299, 2296, 2357, 2309, 2301, + 2307, 2298, 2306, 2291, 2345, 2306, 2288, 2300, 2292, 606, + 2283, 2282, 2276, 2281, 2296, 2293, 2294, 2273, 2283, 2289, + 2335, 2287, 2279, 2270, 2806, 2271, 2273, 2268, 2281, 2273, + + 2272, 2277, 2319, 2318, 2266, 742, 2275, 2315, 2257, 2313, + 2257, 2260, 2253, 2268, 2806, 2266, 2245, 2249, 2263, 2258, + 2254, 2302, 2251, 2258, 2299, 2806, 2241, 2255, 2250, 12, + 73, 251, 357, 398, 374, 475, 495, 632, 690, 712, + 2806, 656, 672, 692, 755, 698, 701, 702, 700, 758, + 721, 718, 704, 711, 715, 708, 2806, 724, 716, 2806, + 736, 750, 750, 742, 758, 720, 717, 718, 727, 739, + 733, 723, 719, 733, 734, 784, 745, 791, 748, 749, + 788, 793, 744, 744, 750, 760, 765, 751, 754, 757, + 766, 766, 750, 810, 760, 770, 773, 814, 774, 767, + + 771, 768, 770, 820, 821, 782, 829, 783, 785, 2806, + 788, 783, 774, 789, 794, 791, 793, 795, 794, 782, + 796, 794, 802, 841, 800, 848, 849, 796, 788, 798, + 849, 805, 857, 2806, 858, 808, 810, 806, 800, 816, + 804, 814, 866, 862, 822, 811, 824, 2806, 814, 815, + 826, 815, 828, 818, 831, 878, 879, 880, 820, 831, + 816, 839, 830, 819, 825, 883, 844, 828, 840, 887, + 888, 832, 839, 891, 852, 847, 852, 850, 897, 836, + 848, 851, 855, 847, 844, 2806, 911, 867, 868, 856, + 870, 860, 863, 874, 859, 866, 872, 873, 865, 879, + + 903, 895, 924, 925, 899, 872, 886, 891, 888, 870, + 877, 891, 939, 893, 890, 891, 889, 898, 2806, 894, + 889, 904, 901, 887, 889, 908, 904, 906, 895, 902, + 904, 913, 956, 919, 958, 917, 907, 905, 904, 915, + 911, 970, 914, 925, 910, 911, 917, 933, 929, 924, + 974, 2806, 935, 935, 928, 939, 937, 985, 924, 926, + 938, 946, 944, 931, 929, 994, 948, 934, 940, 938, + 2806, 2806, 948, 953, 958, 946, 956, 958, 2806, 2806, + 959, 946, 964, 951, 953, 946, 963, 2806, 952, 970, + 957, 1010, 958, 960, 1014, 957, 961, 979, 1023, 2806, + + 2806, 2806, 965, 969, 968, 965, 981, 1029, 979, 969, + 970, 966, 979, 990, 991, 986, 1033, 988, 990, 983, + 985, 981, 987, 987, 989, 1004, 987, 1049, 1003, 1008, + 985, 1008, 994, 993, 2806, 1000, 1001, 1053, 1054, 1003, + 1016, 1057, 1012, 1002, 1017, 1011, 1019, 1006, 1037, 1047, + 1035, 1043, 1055, 1072, 1018, 1013, 1072, 1073, 1032, 1075, + 2806, 1081, 1021, 1037, 1041, 1085, 1032, 1031, 1026, 1027, + 1039, 1034, 1030, 1039, 1034, 1035, 1045, 1056, 1098, 1046, + 1043, 1061, 1053, 1048, 1109, 1063, 1064, 1055, 2806, 1069, + 1058, 1061, 1069, 1071, 1056, 1068, 1073, 1070, 1068, 1118, + + 1081, 1065, 1066, 2806, 1082, 1085, 1068, 1085, 1080, 1132, + 1072, 1091, 2806, 1090, 1093, 1079, 1074, 1092, 1135, 1090, + 1086, 1083, 1139, 1140, 1099, 1085, 1103, 1103, 1103, 1104, + 1105, 1091, 1106, 1098, 1105, 1095, 1096, 1114, 1113, 1100, + 1117, 2806, 1109, 1115, 1118, 1166, 1110, 2806, 1113, 1118, + 1166, 1114, 1126, 1120, 1121, 1119, 1116, 1122, 1132, 1180, + 1121, 1122, 1122, 1184, 1125, 1137, 1130, 2806, 1126, 1134, + 1132, 1186, 1125, 1147, 1133, 1134, 1135, 1136, 1142, 1150, + 1141, 1146, 1156, 1157, 1158, 1163, 1207, 1175, 1204, 1187, + 1179, 1184, 2806, 1167, 1163, 1159, 1173, 1156, 1156, 2806, + + 1157, 1220, 1160, 2806, 1171, 1161, 1181, 1180, 1171, 1182, + 1228, 1178, 1187, 1180, 1184, 1188, 1171, 1188, 1189, 1184, + 1242, 1186, 2806, 1239, 1183, 1186, 1204, 1186, 1187, 1187, + 1208, 1205, 1193, 1211, 1199, 1213, 1199, 1207, 1216, 1196, + 1211, 1218, 1263, 1206, 1260, 2806, 1266, 1267, 1206, 1216, + 1226, 1210, 1230, 1218, 1214, 1221, 1230, 1218, 1225, 1226, + 1238, 1282, 1226, 1284, 1225, 1224, 1228, 1245, 1289, 1236, + 1235, 1241, 1242, 1240, 1238, 1233, 1297, 1245, 1299, 1295, + 1301, 2806, 1239, 1256, 1249, 1240, 1259, 1247, 1257, 1258, + 1254, 1249, 1268, 1268, 2806, 1253, 1249, 1255, 2806, 1256, + + 1319, 1275, 1256, 1275, 1276, 1278, 1320, 1270, 1327, 1328, + 1278, 1283, 1277, 1275, 1286, 1285, 1269, 1274, 1280, 1293, + 2806, 1307, 1320, 1308, 1322, 1309, 1344, 1281, 1303, 1298, + 1298, 1302, 1350, 2806, 1290, 1290, 1293, 1310, 1305, 1309, + 1304, 2806, 1313, 1297, 1314, 1294, 1315, 1305, 1304, 1360, + 1311, 2806, 1328, 1328, 1369, 1313, 1322, 1372, 1327, 1332, + 1318, 1381, 1321, 1322, 1336, 1334, 1326, 1332, 1328, 1346, + 1347, 1348, 2806, 1387, 1339, 2806, 1349, 2806, 1334, 1345, + 1336, 1355, 1348, 1346, 1339, 1351, 1398, 1359, 1348, 1355, + 1356, 1362, 2806, 1355, 2806, 1410, 1360, 1349, 1413, 2806, + + 1414, 1353, 1359, 1360, 1367, 1414, 1373, 2806, 1374, 2806, + 1361, 2806, 1361, 1364, 1378, 1383, 1366, 1428, 1382, 1383, + 1426, 1389, 1376, 1381, 1435, 1431, 1381, 1438, 2806, 1386, + 1383, 1441, 1442, 1396, 1397, 1399, 2806, 2806, 1391, 1386, + 1443, 1389, 1405, 1451, 1390, 1402, 1391, 1408, 1451, 1434, + 1435, 1427, 1460, 2806, 1414, 1407, 1416, 1407, 1418, 2806, + 1466, 1400, 1411, 1426, 1465, 1414, 1425, 1411, 1427, 1428, + 1425, 1472, 1432, 1434, 1423, 1433, 1439, 1426, 1424, 1489, + 1485, 1440, 1487, 1493, 1447, 2806, 1433, 1449, 1440, 1443, + 1452, 1453, 1450, 1440, 1443, 1443, 1444, 1455, 1450, 1508, + + 1452, 1510, 1450, 1455, 1514, 1510, 1448, 1463, 1456, 1459, + 1472, 1473, 1471, 1523, 2806, 1469, 1475, 2806, 2806, 1480, + 1472, 1473, 1483, 1468, 1527, 1471, 1471, 1535, 1536, 1477, + 1487, 1539, 2806, 1484, 1485, 1487, 1543, 1484, 1482, 1485, + 2806, 1502, 1507, 2806, 1504, 1492, 2806, 2806, 1505, 1488, + 1508, 1509, 1495, 1497, 1559, 1506, 2806, 1561, 1507, 1501, + 1564, 1529, 1547, 1562, 1549, 2806, 1568, 1524, 1572, 1519, + 1569, 2806, 1514, 1576, 1523, 1517, 1514, 1517, 1519, 1577, + 1537, 1579, 1529, 1541, 1544, 1541, 1533, 1536, 1531, 1539, + 1530, 2806, 1538, 1553, 1538, 2806, 1540, 1597, 1542, 1599, + + 1558, 1558, 1561, 1561, 1558, 1605, 1564, 1565, 1557, 1558, + 2806, 1559, 2806, 1569, 1561, 2806, 1567, 1573, 1574, 1571, + 1618, 1563, 1578, 1579, 1571, 2806, 1581, 1569, 1570, 1570, + 1571, 1577, 1576, 1574, 1631, 1589, 2806, 2806, 1633, 1577, + 2806, 1578, 1579, 1585, 2806, 1594, 1582, 1590, 1647, 1592, + 1584, 1597, 1591, 1601, 1612, 1605, 1611, 1601, 1659, 1609, + 2806, 1618, 2806, 1615, 1663, 2806, 1613, 1641, 1642, 1648, + 1633, 1641, 2806, 1670, 2806, 1625, 1610, 1673, 2806, 1674, + 1628, 1633, 1615, 1678, 1619, 1675, 1639, 1632, 1628, 1621, + 1629, 1681, 1636, 1637, 1627, 1632, 1644, 1698, 1649, 1700, + + 1647, 1697, 1658, 1658, 1654, 1701, 1646, 1651, 1649, 1711, + 1652, 1660, 1666, 1654, 1716, 1712, 1672, 1719, 1677, 1666, + 1660, 1723, 1662, 1663, 1677, 1727, 1681, 1681, 1730, 1731, + 1670, 1687, 1683, 1681, 1688, 1672, 1733, 1734, 1735, 1695, + 1688, 1687, 1687, 1682, 1683, 1701, 2806, 1692, 1698, 1703, + 1690, 1691, 1690, 1692, 1750, 1693, 2806, 1689, 1707, 1759, + 2806, 1714, 1728, 1742, 1741, 1730, 1732, 2806, 1766, 1716, + 2806, 2806, 1707, 1718, 1770, 2806, 1724, 1715, 1720, 1718, + 1771, 1726, 1731, 1717, 1720, 1736, 1725, 1723, 1737, 1724, + 2806, 1726, 2806, 1744, 1731, 1743, 1790, 1730, 1735, 1798, + + 1743, 1753, 1754, 2806, 1802, 1739, 1799, 1754, 1801, 2806, + 1749, 1808, 2806, 1748, 1763, 1751, 2806, 1761, 1762, 1814, + 2806, 1769, 1773, 2806, 2806, 1812, 1775, 1751, 1769, 1770, + 1779, 1761, 1768, 1780, 1779, 1770, 1823, 1772, 1768, 1773, + 1832, 1771, 1772, 1835, 1831, 1837, 1784, 1839, 1789, 1779, + 1795, 1788, 2806, 1844, 1822, 1846, 1828, 1843, 1849, 2806, + 1795, 1851, 1790, 2806, 1792, 1794, 1804, 1851, 1796, 1811, + 1798, 1860, 1814, 1800, 1807, 1807, 1865, 1819, 1820, 1807, + 1809, 1823, 1809, 1874, 1824, 2806, 1871, 1819, 1816, 2806, + 1832, 1819, 1832, 1819, 1840, 2806, 1837, 1885, 1835, 1832, + + 1833, 2806, 1889, 1845, 1828, 1830, 1846, 1839, 1829, 1845, + 1846, 1855, 1845, 1900, 1857, 1841, 1850, 1899, 1905, 2806, + 1855, 1907, 2806, 1853, 2806, 1847, 2806, 1854, 1911, 1912, + 1909, 2806, 1910, 2806, 1892, 1898, 2806, 1870, 2806, 1914, + 1863, 1874, 1875, 1860, 1861, 1869, 1926, 2806, 1871, 1923, + 1924, 1876, 2806, 1871, 1889, 1871, 1877, 1890, 1885, 2806, + 1882, 1887, 1885, 1940, 1881, 1895, 1945, 1890, 1887, 1887, + 2806, 1902, 1903, 1904, 2806, 1905, 1895, 1907, 1955, 1905, + 1957, 1896, 1904, 1905, 1918, 2806, 1919, 1900, 1901, 1908, + 2806, 1910, 2806, 1924, 1921, 1964, 1922, 2806, 2806, 1926, + + 1952, 1953, 1951, 1914, 1914, 1923, 1930, 1923, 1922, 1933, + 1920, 2806, 1936, 1924, 1927, 1986, 1923, 1942, 1984, 1945, + 1938, 1937, 1946, 1948, 1952, 2806, 1991, 1943, 2806, 1949, + 1941, 2003, 1943, 2005, 2006, 2007, 1962, 2009, 2806, 1948, + 2806, 2006, 1965, 1966, 1953, 1961, 1972, 1959, 1970, 1956, + 1954, 1962, 1961, 1966, 1958, 2003, 2027, 2009, 2029, 1979, + 1968, 1981, 1971, 1988, 1987, 2031, 1972, 1991, 1992, 2806, + 1997, 1990, 2032, 1996, 1983, 1998, 2046, 2000, 2003, 1998, + 2003, 1992, 2001, 2806, 2055, 2806, 2806, 2806, 2013, 2806, + 2057, 1996, 2059, 2060, 2000, 2062, 2007, 2059, 2060, 2019, + + 2062, 2005, 2009, 2027, 2071, 2027, 2054, 2806, 2050, 2806, + 2020, 2014, 2011, 2073, 2036, 2029, 2025, 2082, 2022, 2024, + 2023, 2030, 2076, 2027, 2089, 2030, 2806, 2035, 2045, 2047, + 2049, 2032, 2040, 2806, 2035, 2806, 2047, 2806, 2806, 2053, + 2806, 2055, 2055, 2046, 2105, 2046, 2056, 2041, 2054, 2806, + 2056, 2087, 2093, 2065, 2063, 2115, 2053, 2055, 2052, 2076, + 2806, 2063, 2070, 2071, 2074, 2124, 2064, 2806, 2121, 2065, + 2073, 2082, 2068, 2084, 2083, 2086, 2079, 2074, 2074, 2086, + 2083, 2806, 2094, 2082, 2138, 2086, 2098, 2126, 2147, 2148, + 2092, 2806, 2092, 2104, 2152, 2098, 2100, 2098, 2099, 2157, + + 2806, 2107, 2094, 2109, 2114, 2106, 2112, 2164, 2165, 2166, + 2120, 2168, 2169, 2110, 2114, 2111, 2127, 2110, 2122, 2116, + 2178, 2806, 2806, 2123, 2134, 2181, 2806, 2135, 2120, 2138, + 2129, 2806, 2130, 2144, 2140, 2133, 2128, 2134, 2806, 2806, + 2806, 2192, 2806, 2806, 2132, 2140, 2135, 2191, 2154, 2151, + 2199, 2806, 2195, 2158, 2806, 2202, 2141, 2204, 2144, 2157, + 2156, 2157, 2147, 2159, 2155, 2806, 2150, 2213, 2163, 2172, + 2165, 2212, 2806, 2163, 2157, 2806, 2169, 2806, 2216, 2222, + 2161, 2177, 2225, 2178, 2227, 2228, 2806, 2182, 2176, 2169, + 2189, 2176, 2188, 2179, 2183, 2806, 2233, 2179, 2806, 2189, + + 2806, 2806, 2180, 2188, 2238, 2195, 2188, 2200, 2247, 2192, + 2192, 2188, 2190, 2205, 2253, 2254, 2193, 2209, 2194, 2211, + 2806, 2259, 2203, 2210, 2262, 2203, 2806, 2806, 2213, 2265, + 2210, 2267, 2806, 2215, 2214, 2806, 2270, 2216, 2806, 2210, + 2806, 2210, 2227, 2806, 2228, 2276, 2219, 2278, 2279, 2806, + 2280, 2806, 2806, 2806, 2806, 2286, 2289, 2292, 2293, 2295, + 2298, 2301, 2304 + } ; + +static const flex_int16_t yy_def[2364] = + { 0, + 2356, 2356, 2357, 2357, 2356, 2356, 2356, 2356, 2356, 2356, + 2355, 2355, 2355, 2355, 2355, 2358, 2355, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2359, + 2355, 2355, 2355, 2360, 15, 2355, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2361, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 2358, + 2355, 2355, 2355, 2355, 2355, 2355, 2362, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2359, 2355, + + 2360, 2355, 2355, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2363, 45, 2361, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2362, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2363, 2355, 2355, 118, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 2355, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 2355, 2355, 2355, 2355, 2355, 2355, + 2355, 45, 45, 45, 45, 45, 45, 45, 45, 2355, + 45, 2355, 45, 118, 2355, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 2355, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 2355, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2355, 45, 45, 45, 45, 45, 2355, 2355, 2355, 45, + 45, 45, 45, 45, 45, 2355, 45, 45, 2355, 45, + 118, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 2355, 45, 45, 45, 45, 45, 45, + + 2355, 45, 45, 45, 45, 45, 45, 2355, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2355, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2355, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2355, 45, 45, 2355, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 2355, 45, 45, 2355, 45, 45, 2355, 45, + 45, 45, 2355, 45, 45, 45, 45, 2355, 2355, 2355, + 45, 45, 45, 45, 45, 2355, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 2355, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 2355, 45, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 2355, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2355, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2355, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2355, 45, 45, 2355, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 2355, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 2355, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 2355, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2355, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 2355, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2355, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2355, 2355, 45, 45, 45, 45, 45, 45, 2355, 2355, + 45, 45, 45, 45, 45, 45, 45, 2355, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 2355, + + 2355, 2355, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 2355, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2355, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 2355, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 2355, 45, 45, 45, 45, 45, 45, + 45, 45, 2355, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2355, 45, 45, 45, 45, 45, 2355, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 2355, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 2355, 45, 45, 45, 45, 45, 45, 2355, + + 45, 45, 45, 2355, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 2355, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2355, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2355, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 2355, 45, 45, 45, 2355, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2355, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 2355, 45, 45, 45, 45, 45, 45, + 45, 2355, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2355, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 2355, 45, 45, 2355, 45, 2355, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 2355, 45, 2355, 45, 45, 45, 45, 2355, + + 45, 45, 45, 45, 45, 45, 45, 2355, 45, 2355, + 45, 2355, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 2355, 45, + 45, 45, 45, 45, 45, 45, 2355, 2355, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 2355, 45, 45, 45, 45, 45, 2355, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2355, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 2355, 45, 45, 2355, 2355, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 2355, 45, 45, 45, 45, 45, 45, 45, + 2355, 45, 45, 2355, 45, 45, 2355, 2355, 45, 45, + 45, 45, 45, 45, 45, 45, 2355, 45, 45, 45, + 45, 45, 45, 45, 45, 2355, 45, 45, 45, 45, + 45, 2355, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2355, 45, 45, 45, 2355, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2355, 45, 2355, 45, 45, 2355, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2355, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2355, 2355, 45, 45, + 2355, 45, 45, 45, 2355, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2355, 45, 2355, 45, 45, 2355, 45, 45, 45, 45, + 45, 45, 2355, 45, 2355, 45, 45, 45, 2355, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2355, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2355, 45, 45, 45, + 2355, 45, 45, 45, 45, 45, 45, 2355, 45, 45, + 2355, 2355, 45, 45, 45, 2355, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2355, 45, 2355, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 2355, 45, 45, 45, 45, 45, 2355, + 45, 45, 2355, 45, 45, 45, 2355, 45, 45, 45, + 2355, 45, 45, 2355, 2355, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 2355, 45, 45, 45, 45, 45, 45, 2355, + 45, 45, 45, 2355, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2355, 45, 45, 45, 2355, + 45, 45, 45, 45, 45, 2355, 45, 45, 45, 45, + + 45, 2355, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 2355, + 45, 45, 2355, 45, 2355, 45, 2355, 45, 45, 45, + 45, 2355, 45, 2355, 45, 45, 2355, 45, 2355, 45, + 45, 45, 45, 45, 45, 45, 45, 2355, 45, 45, + 45, 45, 2355, 45, 45, 45, 45, 45, 45, 2355, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2355, 45, 45, 45, 2355, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2355, 45, 45, 45, 45, + 2355, 45, 2355, 45, 45, 45, 45, 2355, 2355, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2355, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2355, 45, 45, 2355, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 2355, 45, + 2355, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 2355, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 2355, 45, 2355, 2355, 2355, 45, 2355, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 2355, 45, 2355, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 2355, 45, 45, 45, + 45, 45, 45, 2355, 45, 2355, 45, 2355, 2355, 45, + 2355, 45, 45, 45, 45, 45, 45, 45, 45, 2355, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2355, 45, 45, 45, 45, 45, 45, 2355, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2355, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2355, 45, 45, 45, 45, 45, 45, 45, 45, + + 2355, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 2355, 2355, 45, 45, 45, 2355, 45, 45, 45, + 45, 2355, 45, 45, 45, 45, 45, 45, 2355, 2355, + 2355, 45, 2355, 2355, 45, 45, 45, 45, 45, 45, + 45, 2355, 45, 45, 2355, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 2355, 45, 45, 45, 45, + 45, 45, 2355, 45, 45, 2355, 45, 2355, 45, 45, + 45, 45, 45, 45, 45, 45, 2355, 45, 45, 45, + 45, 45, 45, 45, 45, 2355, 45, 45, 2355, 45, + + 2355, 2355, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 2355, 45, 45, 45, 45, 45, 2355, 2355, 45, 45, + 45, 45, 2355, 45, 45, 2355, 45, 45, 2355, 45, + 2355, 45, 45, 2355, 45, 45, 45, 45, 45, 2355, + 45, 2355, 2355, 2355, 0, 2355, 2355, 2355, 2355, 2355, + 2355, 2355, 2355 + } ; + +static const flex_int16_t yy_nxt[2883] = + { 0, + 2355, 13, 14, 13, 2355, 15, 16, 102, 17, 18, + 19, 20, 21, 22, 22, 22, 22, 22, 23, 24, + 86, 409, 37, 14, 37, 87, 25, 26, 38, 37, + 14, 37, 42, 27, 42, 38, 2355, 2355, 28, 91, + 13, 14, 13, 92, 29, 91, 30, 103, 13, 14, + 13, 205, 25, 31, 13, 14, 13, 42, 40, 42, + 872, 32, 13, 14, 13, 91, 40, 33, 410, 170, + 93, 94, 92, 171, 34, 35, 13, 14, 13, 205, + 15, 16, 92, 17, 18, 19, 20, 21, 22, 22, + 22, 22, 22, 23, 24, 39, 13, 14, 13, 93, + + 93, 25, 26, 39, 13, 14, 13, 42, 27, 42, + 135, 95, 136, 28, 109, 246, 41, 105, 106, 29, + 108, 30, 114, 137, 41, 234, 235, 25, 31, 96, + 389, 247, 89, 138, 89, 873, 32, 90, 90, 90, + 90, 90, 33, 109, 105, 106, 108, 390, 114, 34, + 35, 44, 44, 44, 45, 45, 46, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 47, 45, 45, + 45, 45, 45, 48, 45, 49, 50, 45, 51, 45, + 45, 52, 45, 45, 53, 45, 45, 45, 45, 54, + 55, 45, 56, 45, 45, 45, 57, 45, 45, 58, + + 59, 60, 61, 62, 63, 64, 65, 66, 52, 67, + 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, + 78, 79, 45, 45, 45, 45, 45, 81, 115, 82, + 82, 82, 82, 82, 81, 192, 84, 84, 84, 84, + 84, 108, 83, 85, 85, 85, 85, 85, 81, 83, + 84, 84, 84, 84, 84, 115, 83, 110, 315, 112, + 193, 105, 192, 83, 316, 111, 129, 108, 83, 130, + 131, 113, 140, 132, 133, 83, 142, 166, 139, 141, + 202, 167, 83, 110, 143, 112, 134, 193, 119, 83, + 45, 168, 192, 111, 120, 574, 45, 121, 45, 45, + + 113, 45, 301, 302, 45, 102, 202, 45, 144, 117, + 264, 145, 45, 45, 265, 45, 45, 874, 146, 195, + 147, 115, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 103, 106, 575, 115, 45, + 149, 150, 114, 45, 151, 153, 194, 45, 190, 154, + 152, 211, 225, 155, 226, 45, 123, 875, 110, 45, + 124, 45, 118, 106, 125, 156, 111, 126, 186, 157, + 127, 161, 194, 201, 128, 194, 193, 211, 187, 162, + 158, 163, 159, 188, 160, 172, 164, 165, 345, 173, + + 204, 208, 174, 206, 111, 275, 179, 180, 876, 175, + 176, 197, 201, 196, 177, 178, 112, 85, 85, 85, + 85, 85, 90, 90, 90, 90, 90, 204, 113, 208, + 83, 81, 206, 82, 82, 82, 82, 82, 241, 877, + 242, 209, 181, 89, 182, 89, 83, 183, 90, 90, + 90, 90, 90, 210, 276, 346, 83, 184, 85, 85, + 85, 85, 85, 81, 185, 84, 84, 84, 84, 84, + 209, 83, 83, 90, 90, 90, 90, 90, 83, 101, + 201, 210, 221, 228, 206, 878, 101, 250, 243, 259, + 251, 222, 229, 230, 252, 223, 285, 83, 216, 286, + + 287, 244, 260, 288, 83, 245, 309, 289, 303, 217, + 208, 209, 304, 272, 280, 273, 305, 210, 291, 101, + 310, 325, 326, 101, 419, 359, 505, 101, 360, 281, + 282, 283, 506, 327, 420, 101, 398, 325, 314, 101, + 318, 101, 101, 214, 327, 320, 326, 879, 336, 326, + 325, 215, 215, 215, 215, 215, 292, 293, 294, 327, + 215, 215, 215, 215, 215, 215, 328, 295, 333, 296, + 330, 297, 298, 329, 299, 300, 334, 336, 337, 338, + 414, 339, 341, 343, 333, 361, 215, 215, 215, 215, + 215, 215, 399, 362, 333, 400, 450, 433, 451, 363, + + 434, 338, 334, 341, 340, 338, 337, 339, 341, 455, + 347, 343, 344, 344, 344, 344, 344, 463, 467, 415, + 467, 344, 344, 344, 344, 344, 344, 407, 470, 341, + 472, 473, 477, 416, 475, 478, 472, 522, 471, 477, + 538, 539, 523, 459, 467, 540, 468, 344, 344, 344, + 344, 344, 344, 548, 621, 763, 822, 823, 473, 472, + 475, 477, 478, 549, 566, 483, 578, 589, 550, 567, + 579, 590, 464, 481, 481, 481, 481, 481, 616, 735, + 621, 763, 481, 481, 481, 481, 481, 481, 622, 609, + 623, 616, 665, 524, 610, 687, 620, 666, 525, 880, + + 881, 698, 652, 764, 765, 688, 761, 616, 481, 481, + 481, 481, 481, 481, 760, 653, 622, 654, 623, 767, + 625, 762, 882, 883, 884, 568, 45, 45, 45, 45, + 45, 764, 761, 765, 736, 45, 45, 45, 45, 45, + 45, 642, 770, 791, 885, 643, 792, 848, 888, 771, + 762, 889, 849, 644, 890, 645, 646, 647, 648, 649, + 886, 45, 45, 45, 45, 45, 45, 891, 892, 893, + 894, 887, 895, 896, 897, 898, 899, 900, 901, 902, + 904, 903, 906, 907, 905, 908, 909, 910, 911, 850, + 912, 913, 914, 915, 916, 917, 919, 920, 924, 921, + + 922, 918, 923, 925, 926, 927, 902, 901, 903, 904, + 905, 928, 929, 930, 931, 932, 933, 934, 935, 936, + 937, 938, 939, 940, 941, 942, 943, 944, 945, 948, + 949, 950, 946, 951, 952, 953, 947, 954, 955, 956, + 957, 958, 959, 960, 961, 963, 964, 965, 966, 967, + 968, 969, 970, 971, 972, 973, 974, 975, 962, 977, + 976, 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, 1006, + 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, + + 1017, 1018, 1019, 1020, 1022, 1023, 1024, 1027, 1028, 1029, + 1021, 1032, 1030, 1025, 1033, 1034, 1035, 1026, 1031, 1036, + 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, + 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, + 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, + 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1049, + 1076, 1077, 1050, 1078, 1079, 1053, 1080, 1081, 1082, 1083, + 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, + 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, + 1104, 1106, 1107, 1108, 1109, 1105, 1110, 1111, 1112, 1113, + + 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, + 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1134, + 1135, 1136, 1133, 1137, 1138, 1139, 1140, 1141, 1142, 1143, + 1144, 1145, 1146, 1147, 1148, 1149, 1150, 1151, 1152, 1153, + 1154, 1155, 1156, 1157, 1158, 1159, 1160, 1161, 1162, 1163, + 1164, 1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172, 1173, + 1174, 1175, 1176, 1177, 1178, 1179, 1180, 1181, 1182, 1183, + 1184, 1185, 1186, 1187, 1188, 1189, 1190, 1193, 1191, 1194, + 1195, 1192, 1196, 1197, 1198, 1199, 1200, 1201, 1202, 1203, + 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212, 1213, + + 1214, 1215, 1189, 1188, 1216, 1190, 1191, 1192, 1217, 1218, + 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228, + 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, + 1239, 1240, 1241, 1242, 1243, 1244, 1245, 1246, 1248, 1249, + 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1259, + 1260, 1261, 1262, 1263, 1264, 1265, 1266, 1267, 1268, 1269, + 1270, 1271, 1272, 1273, 1274, 1276, 1277, 1278, 1279, 1280, + 1281, 1282, 1283, 1284, 1285, 1275, 1286, 1287, 1288, 1289, + 1290, 1291, 1292, 1293, 1294, 1295, 1296, 1297, 1298, 1299, + 1300, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1247, 1308, + + 1309, 1310, 1311, 1312, 1313, 1314, 1315, 1316, 1317, 1318, + 1319, 1320, 1321, 1322, 1323, 1325, 1324, 1326, 1327, 1328, + 1329, 1330, 1331, 1332, 1333, 1334, 1335, 1336, 1337, 1338, + 1339, 1340, 1341, 1342, 1343, 1344, 1345, 1346, 1347, 1348, + 1349, 1350, 1322, 1324, 1325, 1326, 1351, 1352, 1353, 1354, + 1355, 1356, 1357, 1358, 1359, 1360, 1361, 1362, 1363, 1364, + 1365, 1366, 1367, 1368, 1369, 1370, 1371, 1372, 1373, 1374, + 1375, 1376, 1378, 1380, 1381, 1382, 1377, 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, 1415, + 1416, 1417, 1418, 1419, 1420, 1421, 1422, 1423, 1424, 1379, + 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, 1453, 1452, 1454, + 1455, 1456, 1457, 1458, 1459, 1460, 1461, 1462, 1463, 1464, + 1465, 1466, 1467, 1468, 1469, 1470, 1471, 1472, 1473, 1474, + 1475, 1450, 1476, 1449, 1452, 1451, 1453, 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, 1502, 1503, 1504, 1505, 1506, 1507, 1508, 1509, + 1510, 1511, 1512, 1513, 1514, 1515, 1516, 1517, 1518, 1519, + 1520, 1521, 1522, 1523, 1524, 1525, 1526, 1527, 1528, 1529, + 1530, 1531, 1532, 1533, 1534, 1535, 1536, 1538, 1539, 1540, + 1541, 1542, 1543, 1544, 1545, 1546, 1547, 1548, 1549, 1550, + 1551, 1552, 1553, 1554, 1555, 1556, 1557, 1558, 1559, 1560, + 1561, 1562, 1563, 1564, 1565, 1566, 1567, 1568, 1569, 1570, + 1571, 1572, 1574, 1575, 1576, 1577, 1578, 1579, 1580, 1581, + 1582, 1583, 1584, 1585, 1586, 1587, 1588, 1589, 1590, 1563, + 1564, 1591, 1537, 1565, 1592, 1593, 1594, 1595, 1596, 1597, + + 1598, 1599, 1600, 1601, 1602, 1603, 1604, 1605, 1606, 1607, + 1608, 1609, 1610, 1611, 1612, 1613, 1614, 1615, 1573, 1616, + 1617, 1618, 1619, 1621, 1622, 1623, 1624, 1625, 1626, 1627, + 1620, 1628, 1629, 1630, 1631, 1632, 1633, 1634, 1635, 1636, + 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1647, + 1648, 1649, 1650, 1646, 1651, 1652, 1653, 1654, 1655, 1656, + 1657, 1658, 1659, 1660, 1661, 1662, 1663, 1664, 1665, 1666, + 1668, 1669, 1670, 1673, 1667, 1672, 1674, 1675, 1676, 1677, + 1678, 1679, 1680, 1681, 1682, 1683, 1684, 1685, 1686, 1687, + 1688, 1689, 1690, 1691, 1692, 1693, 1671, 1669, 1694, 1668, + + 1695, 1672, 1696, 1697, 1698, 1699, 1700, 1701, 1702, 1703, + 1704, 1705, 1706, 1707, 1708, 1709, 1710, 1711, 1712, 1713, + 1714, 1715, 1716, 1717, 1671, 1718, 1719, 1720, 1721, 1722, + 1723, 1724, 1725, 1726, 1727, 1728, 1729, 1730, 1731, 1732, + 1733, 1734, 1735, 1736, 1737, 1738, 1739, 1740, 1741, 1745, + 1742, 1746, 1747, 1743, 1748, 1749, 1744, 1750, 1751, 1752, + 1753, 1754, 1755, 1756, 1757, 1758, 1759, 1760, 1761, 1762, + 1763, 1764, 1766, 1765, 1767, 1768, 1769, 1770, 1771, 1772, + 1773, 1774, 1775, 1776, 1777, 1778, 1781, 1782, 1783, 1779, + 1784, 1785, 1786, 1787, 1788, 1789, 1790, 1763, 1764, 1765, + + 1780, 1766, 1767, 1791, 1792, 1793, 1794, 1795, 1796, 1797, + 1798, 1799, 1800, 1801, 1802, 1803, 1804, 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, 1858, 1857, + 1859, 1860, 1861, 1862, 1863, 1864, 1865, 1805, 1866, 1867, + 1868, 1869, 1870, 1871, 1872, 1873, 1874, 1875, 1876, 1877, + 1878, 1879, 1880, 1856, 1881, 1855, 1857, 1858, 1882, 1859, + + 1883, 1884, 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, 1933, 1935, 1960, + 1961, 1962, 1963, 1964, 1965, 1966, 1967, 1968, 1969, 1970, + 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, + + 1981, 1982, 1983, 1984, 1985, 1986, 1987, 1988, 1989, 1990, + 1991, 1992, 1993, 1994, 1996, 1997, 1998, 1999, 1995, 2000, + 2001, 2002, 2004, 2003, 2005, 2006, 2007, 2008, 2009, 2010, + 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, + 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2002, 2003, + 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, 2056, 2057, 2082, 2058, 2083, 2084, 2085, + 2086, 2087, 2088, 2089, 2090, 2091, 2092, 2093, 2094, 2095, + 2096, 2097, 2098, 2099, 2100, 2101, 2102, 2104, 2105, 2103, + 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, 2107, 2109, + 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, 2165, 2166, 2167, 2168, 2169, 2170, 2171, 2172, 2173, + + 2174, 2175, 2176, 2177, 2152, 2178, 2153, 2179, 2180, 2181, + 2182, 2183, 2184, 2185, 2186, 2187, 2188, 2190, 2189, 2191, + 2192, 2193, 2194, 2195, 2196, 2197, 2198, 2199, 2200, 2201, + 2202, 2203, 2204, 2205, 2206, 2207, 2208, 2209, 2210, 2211, + 2212, 2213, 2214, 2188, 2189, 2215, 2216, 2217, 2218, 2219, + 2220, 2221, 2222, 2223, 2224, 2225, 2226, 2227, 2228, 2229, + 2230, 2231, 2232, 2233, 2234, 2235, 2236, 2237, 2238, 2239, + 2240, 2241, 2242, 2243, 2244, 2245, 2246, 2221, 2247, 2248, + 2249, 2250, 2251, 2252, 2253, 2254, 2255, 2256, 2257, 2258, + 2259, 2260, 2261, 2262, 2263, 2264, 2265, 2266, 2267, 2268, + + 2269, 2270, 2271, 2272, 2273, 2274, 2275, 2276, 2277, 2278, + 2279, 2280, 2281, 2282, 2283, 2284, 2285, 2286, 2287, 2288, + 2289, 2290, 2291, 2292, 2293, 2294, 2295, 2296, 2297, 2298, + 2299, 2300, 2301, 2302, 2303, 2304, 2305, 2306, 2308, 2307, + 2309, 2310, 2311, 2312, 2313, 2314, 2315, 2316, 2317, 2318, + 2319, 2320, 2321, 2322, 2323, 2324, 2325, 2326, 2327, 2328, + 2329, 2330, 2331, 2332, 2333, 2334, 2335, 2336, 2337, 2338, + 2339, 2340, 2341, 2342, 2343, 2344, 2345, 2346, 2347, 2348, + 2349, 2350, 2351, 2352, 2353, 2354, 12, 12, 12, 36, + 36, 36, 80, 99, 80, 101, 101, 101, 116, 116, + + 116, 191, 871, 191, 212, 212, 212, 870, 869, 868, + 867, 866, 865, 864, 863, 862, 861, 860, 859, 858, + 857, 856, 855, 854, 853, 852, 851, 847, 846, 845, + 844, 843, 842, 841, 840, 839, 838, 837, 836, 835, + 834, 833, 832, 831, 830, 829, 828, 827, 826, 825, + 824, 821, 820, 819, 818, 817, 816, 815, 814, 813, + 812, 811, 810, 809, 808, 807, 806, 805, 804, 803, + 802, 801, 800, 799, 798, 797, 796, 795, 794, 793, + 790, 789, 788, 787, 786, 785, 784, 783, 782, 781, + 780, 779, 778, 777, 776, 775, 774, 773, 772, 769, + + 768, 766, 760, 759, 758, 757, 756, 755, 754, 753, + 752, 751, 750, 749, 748, 747, 746, 745, 744, 743, + 742, 741, 740, 739, 738, 737, 734, 733, 732, 731, + 730, 729, 728, 727, 726, 725, 724, 723, 722, 721, + 720, 719, 718, 717, 716, 715, 714, 713, 712, 711, + 710, 709, 708, 707, 706, 705, 704, 703, 702, 701, + 700, 699, 697, 696, 695, 694, 693, 692, 691, 690, + 689, 686, 685, 684, 683, 682, 681, 680, 679, 678, + 677, 676, 675, 674, 673, 672, 671, 670, 669, 668, + 667, 664, 663, 662, 661, 660, 659, 658, 657, 656, + + 655, 651, 650, 641, 640, 639, 638, 637, 636, 635, + 634, 633, 632, 631, 630, 629, 628, 627, 626, 624, + 620, 619, 618, 617, 615, 614, 613, 612, 611, 608, + 607, 606, 605, 604, 603, 602, 601, 600, 599, 598, + 597, 596, 595, 594, 593, 592, 591, 588, 587, 586, + 585, 584, 583, 582, 581, 580, 577, 576, 573, 572, + 571, 570, 569, 565, 564, 563, 562, 561, 560, 559, + 558, 557, 556, 555, 554, 553, 552, 551, 547, 546, + 545, 544, 543, 542, 541, 537, 536, 535, 534, 533, + 532, 531, 530, 529, 528, 527, 526, 521, 520, 519, + + 518, 517, 516, 515, 514, 513, 512, 511, 510, 509, + 508, 507, 504, 503, 502, 501, 500, 499, 498, 497, + 496, 495, 494, 493, 492, 491, 490, 489, 488, 487, + 486, 485, 484, 482, 480, 479, 476, 474, 469, 466, + 465, 462, 461, 460, 458, 457, 456, 454, 453, 452, + 449, 448, 447, 446, 445, 444, 443, 442, 441, 440, + 439, 438, 437, 436, 435, 432, 431, 430, 429, 428, + 427, 426, 425, 424, 423, 422, 421, 418, 417, 413, + 412, 411, 408, 406, 405, 404, 403, 402, 401, 397, + 396, 395, 394, 393, 392, 391, 388, 387, 386, 385, + + 384, 383, 382, 381, 380, 379, 378, 377, 376, 375, + 374, 373, 372, 371, 370, 369, 368, 367, 366, 365, + 364, 358, 357, 356, 355, 354, 353, 352, 351, 350, + 349, 348, 213, 342, 340, 335, 332, 331, 324, 323, + 322, 321, 319, 317, 313, 312, 311, 308, 307, 306, + 290, 284, 279, 278, 277, 274, 271, 270, 269, 268, + 267, 266, 263, 262, 261, 258, 257, 256, 255, 254, + 253, 249, 248, 240, 239, 238, 237, 236, 233, 232, + 231, 227, 224, 220, 219, 218, 213, 207, 203, 200, + 199, 198, 189, 169, 148, 122, 107, 104, 43, 100, + + 98, 97, 88, 43, 2355, 11, 2355, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, + 2355, 2355 + } ; + +static const flex_int16_t yy_chk[2883] = + { 0, + 0, 1, 1, 1, 0, 1, 1, 44, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 21, 274, 3, 3, 3, 21, 1, 1, 3, 4, + 4, 4, 13, 1, 13, 4, 0, 0, 1, 26, + 5, 5, 5, 27, 1, 31, 1, 44, 6, 6, + 6, 109, 1, 1, 7, 7, 7, 37, 7, 37, + 730, 1, 8, 8, 8, 26, 8, 1, 274, 74, + 28, 31, 27, 74, 1, 1, 2, 2, 2, 109, + 2, 2, 32, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 5, 9, 9, 9, 28, + + 33, 2, 2, 6, 10, 10, 10, 42, 2, 42, + 62, 32, 62, 2, 52, 139, 9, 48, 49, 2, + 51, 2, 55, 62, 10, 131, 131, 2, 2, 33, + 257, 139, 25, 62, 25, 731, 2, 25, 25, 25, + 25, 25, 2, 52, 48, 49, 51, 257, 55, 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, 15, 15, 15, 17, 56, 17, + 17, 17, 17, 17, 19, 91, 19, 19, 19, 19, + 19, 63, 17, 20, 20, 20, 20, 20, 22, 19, + 22, 22, 22, 22, 22, 56, 20, 53, 182, 54, + 92, 58, 91, 22, 182, 53, 61, 63, 17, 61, + 61, 54, 64, 61, 61, 19, 65, 72, 63, 64, + 106, 72, 20, 53, 65, 54, 61, 92, 58, 22, + 45, 72, 94, 53, 58, 431, 45, 58, 45, 45, + + 54, 45, 172, 172, 45, 101, 106, 45, 66, 57, + 153, 66, 45, 45, 153, 45, 57, 732, 66, 94, + 66, 79, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 101, 60, 431, 79, 57, + 68, 68, 77, 57, 68, 69, 93, 57, 79, 69, + 68, 115, 125, 69, 125, 57, 60, 733, 70, 57, + 60, 57, 57, 60, 60, 69, 70, 60, 77, 69, + 60, 71, 96, 105, 60, 93, 95, 115, 77, 71, + 70, 71, 70, 77, 70, 75, 71, 71, 216, 75, + + 108, 112, 75, 110, 70, 162, 76, 76, 734, 75, + 75, 96, 105, 95, 75, 75, 76, 81, 81, 81, + 81, 81, 89, 89, 89, 89, 89, 108, 76, 112, + 81, 82, 110, 82, 82, 82, 82, 82, 137, 735, + 137, 113, 76, 83, 76, 83, 82, 76, 83, 83, + 83, 83, 83, 114, 162, 216, 81, 76, 85, 85, + 85, 85, 85, 84, 76, 84, 84, 84, 84, 84, + 113, 85, 82, 90, 90, 90, 90, 90, 84, 103, + 119, 114, 123, 127, 160, 736, 103, 142, 138, 149, + 142, 123, 127, 127, 142, 123, 168, 85, 119, 168, + + 168, 138, 149, 169, 84, 138, 177, 169, 173, 119, + 181, 184, 173, 160, 166, 160, 173, 186, 171, 103, + 177, 192, 193, 103, 281, 229, 369, 103, 229, 166, + 166, 166, 369, 194, 281, 103, 265, 195, 181, 103, + 184, 103, 103, 118, 197, 186, 196, 737, 204, 193, + 192, 118, 118, 118, 118, 118, 171, 171, 171, 194, + 118, 118, 118, 118, 118, 118, 195, 171, 201, 171, + 197, 171, 171, 196, 171, 171, 202, 204, 205, 206, + 278, 207, 209, 211, 217, 230, 118, 118, 118, 118, + 118, 118, 265, 230, 201, 265, 310, 294, 310, 230, + + 294, 272, 202, 318, 314, 206, 205, 207, 209, 314, + 217, 211, 215, 215, 215, 215, 215, 322, 325, 278, + 328, 215, 215, 215, 215, 215, 215, 272, 332, 318, + 333, 334, 338, 278, 336, 339, 347, 385, 332, 407, + 398, 398, 385, 318, 325, 398, 328, 215, 215, 215, + 215, 215, 215, 406, 478, 621, 680, 680, 334, 333, + 336, 338, 339, 406, 424, 347, 434, 444, 407, 424, + 434, 444, 322, 344, 344, 344, 344, 344, 472, 589, + 478, 621, 344, 344, 344, 344, 344, 344, 480, 464, + 480, 483, 517, 385, 464, 539, 550, 517, 385, 738, + + 739, 550, 505, 622, 623, 539, 617, 472, 344, 344, + 344, 344, 344, 344, 625, 505, 480, 505, 480, 625, + 483, 617, 740, 742, 743, 424, 481, 481, 481, 481, + 481, 622, 617, 623, 589, 481, 481, 481, 481, 481, + 481, 502, 629, 649, 744, 502, 649, 706, 746, 629, + 617, 747, 706, 502, 748, 502, 502, 502, 502, 502, + 745, 481, 481, 481, 481, 481, 481, 749, 750, 751, + 752, 745, 753, 754, 755, 756, 758, 759, 761, 762, + 764, 763, 766, 767, 765, 768, 769, 770, 771, 706, + 772, 773, 774, 775, 776, 777, 778, 779, 781, 780, + + 780, 777, 780, 782, 783, 784, 762, 761, 763, 764, + 765, 785, 786, 787, 788, 789, 790, 791, 792, 793, + 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, + 804, 805, 802, 806, 807, 808, 802, 809, 811, 812, + 813, 814, 815, 816, 817, 818, 819, 820, 821, 822, + 823, 824, 825, 826, 827, 828, 829, 830, 817, 831, + 830, 832, 833, 835, 836, 837, 838, 839, 840, 841, + 842, 843, 844, 845, 846, 847, 849, 850, 851, 852, + 853, 854, 855, 856, 857, 858, 859, 860, 861, 862, + 863, 864, 865, 866, 867, 868, 869, 870, 871, 872, + + 873, 874, 875, 876, 877, 878, 878, 879, 880, 881, + 876, 883, 882, 878, 884, 885, 887, 878, 882, 888, + 889, 890, 891, 892, 893, 894, 895, 896, 897, 898, + 899, 900, 901, 902, 903, 904, 905, 906, 907, 908, + 909, 910, 911, 912, 913, 914, 915, 916, 917, 918, + 920, 921, 922, 923, 924, 925, 926, 927, 928, 901, + 929, 930, 902, 931, 932, 905, 933, 934, 935, 936, + 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, + 947, 948, 949, 950, 951, 953, 954, 955, 956, 957, + 958, 959, 960, 961, 962, 958, 963, 964, 965, 966, + + 967, 968, 969, 970, 973, 974, 975, 976, 977, 978, + 981, 982, 983, 984, 985, 986, 987, 989, 990, 991, + 992, 993, 990, 994, 995, 996, 997, 998, 999, 1003, + 1004, 1005, 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, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, + 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1054, 1052, 1055, + 1056, 1053, 1057, 1058, 1059, 1060, 1062, 1063, 1064, 1065, + 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, + + 1076, 1077, 1050, 1049, 1078, 1051, 1052, 1053, 1079, 1080, + 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1090, 1091, + 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, + 1102, 1103, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, + 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, + 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, + 1134, 1135, 1136, 1137, 1138, 1139, 1140, 1141, 1143, 1144, + 1145, 1146, 1147, 1149, 1150, 1138, 1151, 1152, 1153, 1154, + 1155, 1156, 1157, 1158, 1159, 1160, 1161, 1162, 1163, 1164, + 1165, 1166, 1167, 1169, 1170, 1171, 1172, 1173, 1110, 1174, + + 1175, 1176, 1177, 1178, 1179, 1180, 1181, 1182, 1183, 1184, + 1185, 1186, 1187, 1188, 1189, 1191, 1190, 1192, 1194, 1195, + 1196, 1197, 1198, 1199, 1201, 1202, 1203, 1205, 1206, 1207, + 1208, 1209, 1210, 1211, 1212, 1213, 1214, 1215, 1216, 1217, + 1218, 1219, 1188, 1190, 1191, 1192, 1220, 1221, 1222, 1224, + 1225, 1226, 1227, 1228, 1229, 1230, 1231, 1232, 1233, 1234, + 1235, 1236, 1237, 1238, 1239, 1240, 1241, 1242, 1243, 1244, + 1245, 1247, 1248, 1249, 1250, 1251, 1247, 1252, 1253, 1254, + 1255, 1256, 1257, 1258, 1259, 1260, 1261, 1262, 1263, 1264, + 1265, 1266, 1267, 1268, 1269, 1270, 1271, 1272, 1273, 1274, + + 1275, 1276, 1277, 1278, 1279, 1280, 1281, 1283, 1284, 1285, + 1286, 1287, 1288, 1289, 1290, 1291, 1292, 1293, 1294, 1248, + 1296, 1297, 1298, 1300, 1301, 1302, 1303, 1304, 1305, 1306, + 1307, 1308, 1309, 1310, 1311, 1312, 1313, 1314, 1315, 1316, + 1317, 1318, 1319, 1320, 1322, 1323, 1324, 1326, 1325, 1327, + 1328, 1329, 1330, 1331, 1332, 1333, 1335, 1336, 1337, 1338, + 1339, 1340, 1341, 1343, 1344, 1345, 1346, 1347, 1348, 1349, + 1350, 1323, 1351, 1322, 1325, 1324, 1326, 1353, 1354, 1355, + 1356, 1357, 1358, 1359, 1360, 1361, 1362, 1363, 1364, 1365, + 1366, 1367, 1368, 1369, 1370, 1371, 1372, 1374, 1375, 1377, + + 1379, 1380, 1381, 1382, 1383, 1384, 1385, 1386, 1387, 1388, + 1389, 1390, 1391, 1392, 1394, 1396, 1397, 1398, 1399, 1401, + 1402, 1403, 1404, 1405, 1406, 1407, 1409, 1411, 1413, 1414, + 1415, 1416, 1417, 1418, 1419, 1420, 1421, 1422, 1423, 1424, + 1425, 1426, 1427, 1428, 1430, 1431, 1432, 1433, 1434, 1435, + 1436, 1439, 1440, 1441, 1442, 1443, 1444, 1445, 1446, 1447, + 1448, 1449, 1450, 1451, 1452, 1453, 1455, 1456, 1457, 1458, + 1459, 1461, 1462, 1463, 1464, 1465, 1466, 1467, 1468, 1469, + 1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477, 1478, 1450, + 1451, 1479, 1421, 1452, 1480, 1481, 1482, 1483, 1484, 1485, + + 1487, 1488, 1489, 1490, 1491, 1492, 1493, 1494, 1495, 1496, + 1497, 1498, 1499, 1500, 1501, 1502, 1503, 1504, 1461, 1505, + 1506, 1507, 1508, 1509, 1510, 1511, 1512, 1513, 1514, 1516, + 1508, 1517, 1520, 1521, 1522, 1523, 1524, 1525, 1526, 1527, + 1528, 1529, 1530, 1531, 1532, 1534, 1535, 1536, 1537, 1538, + 1539, 1540, 1542, 1537, 1542, 1543, 1545, 1546, 1549, 1550, + 1551, 1552, 1553, 1554, 1555, 1556, 1558, 1559, 1560, 1561, + 1562, 1563, 1564, 1567, 1561, 1565, 1568, 1569, 1570, 1571, + 1573, 1574, 1575, 1576, 1577, 1578, 1579, 1580, 1581, 1582, + 1583, 1584, 1585, 1586, 1587, 1588, 1564, 1563, 1589, 1562, + + 1590, 1565, 1591, 1593, 1594, 1595, 1597, 1598, 1599, 1600, + 1601, 1602, 1603, 1604, 1605, 1606, 1607, 1608, 1609, 1610, + 1612, 1614, 1615, 1617, 1564, 1618, 1619, 1620, 1621, 1622, + 1623, 1624, 1625, 1627, 1628, 1629, 1630, 1631, 1632, 1633, + 1634, 1635, 1636, 1639, 1640, 1642, 1643, 1644, 1646, 1647, + 1646, 1648, 1649, 1646, 1650, 1651, 1646, 1652, 1653, 1654, + 1655, 1656, 1657, 1658, 1659, 1660, 1662, 1664, 1665, 1667, + 1668, 1669, 1671, 1670, 1672, 1674, 1676, 1677, 1678, 1680, + 1681, 1682, 1683, 1684, 1685, 1686, 1688, 1689, 1690, 1687, + 1691, 1692, 1693, 1694, 1695, 1696, 1697, 1668, 1669, 1670, + + 1687, 1671, 1672, 1698, 1699, 1700, 1701, 1702, 1703, 1704, + 1705, 1706, 1707, 1708, 1709, 1709, 1710, 1711, 1712, 1713, + 1714, 1715, 1716, 1717, 1718, 1719, 1720, 1721, 1722, 1723, + 1724, 1725, 1726, 1727, 1728, 1729, 1730, 1731, 1732, 1733, + 1734, 1735, 1736, 1737, 1738, 1739, 1740, 1741, 1742, 1743, + 1744, 1745, 1746, 1748, 1749, 1750, 1751, 1752, 1753, 1754, + 1755, 1756, 1758, 1759, 1760, 1762, 1763, 1764, 1766, 1765, + 1767, 1769, 1770, 1773, 1774, 1775, 1777, 1710, 1778, 1779, + 1780, 1781, 1782, 1783, 1784, 1785, 1786, 1787, 1788, 1789, + 1790, 1792, 1794, 1764, 1795, 1763, 1765, 1766, 1796, 1767, + + 1797, 1798, 1799, 1800, 1801, 1802, 1803, 1805, 1806, 1807, + 1808, 1809, 1811, 1812, 1814, 1815, 1816, 1818, 1819, 1820, + 1822, 1823, 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, 1854, + 1855, 1856, 1857, 1858, 1859, 1861, 1862, 1863, 1865, 1866, + 1867, 1868, 1869, 1870, 1871, 1872, 1873, 1874, 1875, 1876, + 1877, 1878, 1879, 1880, 1881, 1882, 1883, 1855, 1857, 1884, + 1885, 1887, 1888, 1889, 1891, 1892, 1893, 1894, 1895, 1897, + 1898, 1899, 1900, 1901, 1903, 1904, 1905, 1906, 1907, 1908, + + 1909, 1910, 1911, 1912, 1913, 1914, 1915, 1916, 1917, 1918, + 1919, 1921, 1922, 1924, 1926, 1928, 1929, 1930, 1924, 1931, + 1933, 1935, 1938, 1936, 1940, 1941, 1942, 1943, 1944, 1945, + 1946, 1947, 1949, 1950, 1951, 1952, 1954, 1955, 1956, 1957, + 1958, 1959, 1961, 1962, 1963, 1964, 1965, 1966, 1935, 1936, + 1967, 1968, 1969, 1970, 1972, 1973, 1974, 1976, 1977, 1978, + 1979, 1980, 1981, 1982, 1983, 1984, 1985, 1987, 1988, 1989, + 1990, 1992, 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003, + 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013, 2014, + 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, + + 2025, 2027, 2028, 2001, 2002, 2030, 2003, 2031, 2032, 2033, + 2034, 2035, 2036, 2037, 2038, 2040, 2042, 2043, 2044, 2045, + 2046, 2047, 2048, 2049, 2050, 2051, 2052, 2053, 2054, 2052, + 2055, 2056, 2057, 2058, 2059, 2060, 2061, 2062, 2063, 2064, + 2065, 2066, 2067, 2068, 2069, 2071, 2072, 2073, 2074, 2075, + 2076, 2077, 2078, 2079, 2080, 2081, 2082, 2083, 2056, 2058, + 2085, 2089, 2091, 2092, 2093, 2094, 2095, 2096, 2097, 2098, + 2099, 2100, 2101, 2102, 2103, 2104, 2105, 2106, 2107, 2109, + 2111, 2112, 2113, 2114, 2115, 2116, 2117, 2118, 2119, 2120, + 2121, 2122, 2123, 2124, 2125, 2126, 2128, 2129, 2130, 2131, + + 2132, 2133, 2135, 2137, 2107, 2140, 2109, 2142, 2143, 2144, + 2145, 2146, 2147, 2148, 2149, 2151, 2152, 2154, 2153, 2155, + 2156, 2157, 2158, 2159, 2160, 2162, 2163, 2164, 2165, 2166, + 2167, 2169, 2170, 2171, 2172, 2173, 2174, 2175, 2176, 2177, + 2178, 2179, 2180, 2152, 2153, 2181, 2183, 2184, 2185, 2186, + 2187, 2188, 2189, 2190, 2191, 2193, 2194, 2195, 2196, 2197, + 2198, 2199, 2200, 2202, 2203, 2204, 2205, 2206, 2207, 2208, + 2209, 2210, 2211, 2212, 2213, 2214, 2215, 2188, 2216, 2217, + 2218, 2219, 2220, 2221, 2224, 2225, 2226, 2228, 2229, 2230, + 2231, 2233, 2234, 2235, 2236, 2237, 2238, 2242, 2245, 2246, + + 2247, 2248, 2249, 2250, 2251, 2253, 2254, 2256, 2257, 2258, + 2259, 2260, 2261, 2262, 2263, 2264, 2265, 2267, 2268, 2269, + 2270, 2271, 2272, 2274, 2275, 2277, 2279, 2280, 2281, 2282, + 2283, 2284, 2285, 2286, 2288, 2289, 2290, 2291, 2292, 2291, + 2293, 2294, 2295, 2297, 2298, 2300, 2303, 2304, 2305, 2306, + 2307, 2308, 2309, 2310, 2311, 2312, 2313, 2314, 2315, 2316, + 2317, 2318, 2319, 2320, 2322, 2323, 2324, 2325, 2326, 2329, + 2330, 2331, 2332, 2334, 2335, 2337, 2338, 2340, 2342, 2343, + 2345, 2346, 2347, 2348, 2349, 2351, 2356, 2356, 2356, 2357, + 2357, 2357, 2358, 2359, 2358, 2360, 2360, 2360, 2361, 2361, + + 2361, 2362, 729, 2362, 2363, 2363, 2363, 728, 727, 725, + 724, 723, 722, 721, 720, 719, 718, 717, 716, 714, + 713, 712, 711, 710, 709, 708, 707, 705, 704, 703, + 702, 701, 700, 699, 698, 697, 696, 694, 693, 692, + 691, 690, 689, 688, 687, 686, 685, 684, 683, 682, + 681, 679, 678, 677, 676, 675, 674, 673, 672, 671, + 670, 669, 668, 667, 666, 664, 663, 662, 661, 660, + 659, 658, 657, 656, 655, 654, 653, 652, 651, 650, + 648, 647, 646, 645, 644, 643, 642, 641, 640, 639, + 638, 637, 636, 635, 634, 633, 632, 631, 630, 628, + + 627, 624, 616, 615, 614, 613, 612, 611, 610, 608, + 607, 605, 604, 602, 601, 600, 599, 598, 597, 596, + 595, 594, 593, 592, 591, 590, 588, 587, 586, 585, + 584, 583, 582, 581, 580, 579, 578, 577, 576, 575, + 574, 573, 572, 571, 570, 568, 567, 565, 564, 563, + 562, 561, 560, 559, 558, 557, 556, 555, 554, 553, + 552, 551, 549, 548, 546, 545, 544, 543, 542, 541, + 540, 538, 537, 536, 535, 534, 533, 532, 531, 530, + 529, 528, 527, 526, 525, 524, 523, 521, 520, 519, + 518, 516, 515, 514, 513, 512, 511, 510, 509, 507, + + 506, 504, 503, 500, 499, 498, 497, 496, 495, 493, + 492, 491, 490, 489, 488, 487, 486, 485, 484, 482, + 477, 475, 474, 473, 471, 470, 469, 466, 465, 463, + 462, 460, 459, 458, 457, 456, 455, 454, 453, 452, + 451, 450, 449, 448, 447, 446, 445, 443, 442, 441, + 440, 439, 438, 437, 436, 435, 433, 432, 430, 428, + 427, 426, 425, 423, 422, 421, 420, 419, 418, 417, + 416, 415, 414, 413, 412, 411, 410, 408, 405, 404, + 403, 402, 401, 400, 399, 397, 396, 395, 394, 393, + 392, 391, 390, 389, 388, 387, 386, 384, 383, 382, + + 381, 380, 379, 378, 377, 376, 375, 374, 373, 372, + 371, 370, 368, 367, 366, 365, 364, 363, 362, 361, + 360, 359, 358, 357, 356, 355, 354, 353, 352, 351, + 350, 349, 348, 346, 343, 341, 337, 335, 331, 324, + 323, 321, 320, 319, 317, 316, 315, 313, 312, 311, + 309, 308, 307, 306, 305, 304, 303, 302, 301, 300, + 299, 298, 297, 296, 295, 293, 292, 291, 290, 289, + 288, 287, 286, 285, 284, 283, 282, 280, 279, 277, + 276, 275, 273, 271, 270, 269, 268, 267, 266, 264, + 263, 262, 261, 260, 259, 258, 256, 255, 253, 252, + + 251, 250, 249, 248, 247, 246, 245, 244, 243, 242, + 241, 240, 239, 238, 237, 236, 235, 234, 233, 232, + 231, 228, 227, 226, 225, 224, 223, 222, 221, 220, + 219, 218, 212, 210, 208, 203, 200, 198, 190, 189, + 188, 187, 185, 183, 180, 179, 178, 176, 175, 174, + 170, 167, 165, 164, 163, 161, 159, 158, 157, 156, + 155, 154, 152, 151, 150, 148, 147, 146, 145, 144, + 143, 141, 140, 136, 135, 134, 133, 132, 130, 129, + 128, 126, 124, 122, 121, 120, 116, 111, 107, 104, + 99, 98, 78, 73, 67, 59, 50, 47, 43, 41, + + 39, 38, 24, 14, 11, 2355, 2355, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, + 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, 2355, + 2355, 2355 + } ; + +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[234] = + { 0, + 147, 149, 151, 156, 157, 162, 163, 164, 176, 179, + 184, 191, 200, 209, 218, 227, 236, 245, 254, 264, + 273, 282, 291, 300, 309, 318, 327, 336, 345, 354, + 363, 372, 381, 390, 399, 411, 420, 429, 438, 449, + 460, 471, 482, 493, 504, 515, 526, 537, 548, 559, + 570, 579, 588, 597, 608, 619, 628, 639, 650, 661, + 672, 684, 696, 708, 719, 730, 739, 748, 757, 768, + 777, 786, 797, 808, 819, 830, 841, 852, 863, 874, + 885, 894, 903, 912, 922, 933, 943, 954, 963, 973, + 987, 1003, 1012, 1021, 1030, 1039, 1048, 1057, 1079, 1101, + + 1110, 1120, 1129, 1140, 1149, 1158, 1167, 1176, 1185, 1196, + 1207, 1218, 1228, 1237, 1248, 1259, 1270, 1281, 1293, 1302, + 1311, 1320, 1329, 1338, 1347, 1356, 1365, 1374, 1383, 1393, + 1404, 1416, 1425, 1434, 1443, 1453, 1463, 1473, 1483, 1493, + 1503, 1512, 1522, 1531, 1540, 1549, 1558, 1568, 1578, 1587, + 1597, 1606, 1615, 1624, 1633, 1642, 1651, 1660, 1669, 1678, + 1687, 1696, 1705, 1714, 1723, 1732, 1741, 1750, 1759, 1768, + 1777, 1786, 1795, 1804, 1813, 1822, 1831, 1840, 1849, 1858, + 1867, 1876, 1885, 1894, 1903, 1912, 1924, 1936, 1946, 1956, + 1966, 1976, 1986, 1996, 2006, 2016, 2026, 2035, 2044, 2053, + + 2062, 2073, 2084, 2097, 2110, 2123, 2132, 2141, 2150, 2159, + 2168, 2177, 2186, 2195, 2207, 2308, 2324, 2373, 2381, 2396, + 2397, 2398, 2399, 2400, 2401, 2403, 2421, 2434, 2439, 2443, + 2445, 2447, 2449 + } ; + +/* 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 "dhcp4_lexer.ll" +/* Copyright (C) 2016-2024 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 "dhcp4_lexer.ll" + +/* Generated files do not make clang static analyser so happy */ +#ifndef __clang_analyzer__ + +#include <cctype> +#include <cerrno> +#include <climits> +#include <cstdint> +#include <cstdlib> +#include <string> +#include <dhcp4/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::Parser4Context::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::Parser4Context::fatal(msg) +#line 2268 "dhcp4_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 96 "dhcp4_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 2294 "dhcp4_lexer.cc" +#line 2295 "dhcp4_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 102 "dhcp4_lexer.ll" + + + +#line 106 "dhcp4_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 Parser4Context::PARSER_JSON: + default: + return isc::dhcp::Dhcp4Parser::make_TOPLEVEL_JSON(driver.loc_); + case Parser4Context::PARSER_DHCP4: + return isc::dhcp::Dhcp4Parser::make_TOPLEVEL_DHCP4(driver.loc_); + case Parser4Context::SUBPARSER_DHCP4: + return isc::dhcp::Dhcp4Parser::make_SUB_DHCP4(driver.loc_); + case Parser4Context::PARSER_INTERFACES: + return isc::dhcp::Dhcp4Parser::make_SUB_INTERFACES4(driver.loc_); + case Parser4Context::PARSER_SUBNET4: + return isc::dhcp::Dhcp4Parser::make_SUB_SUBNET4(driver.loc_); + case Parser4Context::PARSER_POOL4: + return isc::dhcp::Dhcp4Parser::make_SUB_POOL4(driver.loc_); + case Parser4Context::PARSER_HOST_RESERVATION: + return isc::dhcp::Dhcp4Parser::make_SUB_RESERVATION(driver.loc_); + case Parser4Context::PARSER_OPTION_DEFS: + return isc::dhcp::Dhcp4Parser::make_SUB_OPTION_DEFS(driver.loc_); + case Parser4Context::PARSER_OPTION_DEF: + return isc::dhcp::Dhcp4Parser::make_SUB_OPTION_DEF(driver.loc_); + case Parser4Context::PARSER_OPTION_DATA: + return isc::dhcp::Dhcp4Parser::make_SUB_OPTION_DATA(driver.loc_); + case Parser4Context::PARSER_HOOKS_LIBRARY: + return isc::dhcp::Dhcp4Parser::make_SUB_HOOKS_LIBRARY(driver.loc_); + case Parser4Context::PARSER_DHCP_DDNS: + return isc::dhcp::Dhcp4Parser::make_SUB_DHCP_DDNS(driver.loc_); + case Parser4Context::PARSER_CONFIG_CONTROL: + return isc::dhcp::Dhcp4Parser::make_SUB_CONFIG_CONTROL(driver.loc_); + } + } + + +#line 2623 "dhcp4_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 >= 2356 ) + yy_c = yy_meta[yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; + ++yy_cp; + } + while ( yy_current_state != 2355 ); + 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 < 234 ) + fprintf( stderr, "--accepting rule at line %ld (\"%s\")\n", + (long)yy_rule_linenum[yy_act], yytext ); + else if ( yy_act == 234 ) + fprintf( stderr, "--accepting default rule (\"%s\")\n", + yytext ); + else if ( yy_act == 235 ) + 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 147 "dhcp4_lexer.ll" +; + YY_BREAK +case 2: +YY_RULE_SETUP +#line 149 "dhcp4_lexer.ll" +; + YY_BREAK +case 3: +YY_RULE_SETUP +#line 151 "dhcp4_lexer.ll" +{ + BEGIN(COMMENT); + comment_start_line = driver.loc_.end.line;; +} + YY_BREAK +case 4: +YY_RULE_SETUP +#line 156 "dhcp4_lexer.ll" +BEGIN(INITIAL); + YY_BREAK +case 5: +YY_RULE_SETUP +#line 157 "dhcp4_lexer.ll" +; + YY_BREAK +case YY_STATE_EOF(COMMENT): +#line 158 "dhcp4_lexer.ll" +{ + isc_throw(Dhcp4ParseError, "Comment not closed. (/* in line " << comment_start_line); +} + YY_BREAK +case 6: +YY_RULE_SETUP +#line 162 "dhcp4_lexer.ll" +BEGIN(DIR_ENTER); + YY_BREAK +case 7: +YY_RULE_SETUP +#line 163 "dhcp4_lexer.ll" +BEGIN(DIR_INCLUDE); + YY_BREAK +case 8: +YY_RULE_SETUP +#line 164 "dhcp4_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 173 "dhcp4_lexer.ll" +{ + isc_throw(Dhcp4ParseError, "Directive not closed."); +} + YY_BREAK +case 9: +YY_RULE_SETUP +#line 176 "dhcp4_lexer.ll" +BEGIN(INITIAL); + YY_BREAK +case 10: +YY_RULE_SETUP +#line 179 "dhcp4_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 184 "dhcp4_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 191 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::CONFIG: + return isc::dhcp::Dhcp4Parser::make_DHCP4(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("Dhcp4", driver.loc_); + } +} + YY_BREAK +case 13: +YY_RULE_SETUP +#line 200 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_INTERFACES_CONFIG(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("interfaces-config", driver.loc_); + } +} + YY_BREAK +case 14: +YY_RULE_SETUP +#line 209 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_SANITY_CHECKS(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("sanity-checks", driver.loc_); + } +} + YY_BREAK +case 15: +YY_RULE_SETUP +#line 218 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::SANITY_CHECKS: + return isc::dhcp::Dhcp4Parser::make_LEASE_CHECKS(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("lease-checks", driver.loc_); + } +} + YY_BREAK +case 16: +YY_RULE_SETUP +#line 227 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::SANITY_CHECKS: + return isc::dhcp::Dhcp4Parser::make_EXTENDED_INFO_CHECKS(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("extended-info-checks", driver.loc_); + } +} + YY_BREAK +case 17: +YY_RULE_SETUP +#line 236 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::INTERFACES_CONFIG: + return isc::dhcp::Dhcp4Parser::make_DHCP_SOCKET_TYPE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("dhcp-socket-type", driver.loc_); + } +} + YY_BREAK +case 18: +YY_RULE_SETUP +#line 245 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_SOCKET_TYPE: + return isc::dhcp::Dhcp4Parser::make_RAW(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("raw", driver.loc_); + } +} + YY_BREAK +case 19: +YY_RULE_SETUP +#line 254 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_SOCKET_TYPE: + case isc::dhcp::Parser4Context::NCR_PROTOCOL: + return isc::dhcp::Dhcp4Parser::make_UDP(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("udp", driver.loc_); + } +} + YY_BREAK +case 20: +YY_RULE_SETUP +#line 264 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case Parser4Context::INTERFACES_CONFIG: + return isc::dhcp::Dhcp4Parser::make_OUTBOUND_INTERFACE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("outbound-interface", driver.loc_); + } +} + YY_BREAK +case 21: +YY_RULE_SETUP +#line 273 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case Parser4Context::OUTBOUND_INTERFACE: + return Dhcp4Parser::make_SAME_AS_INBOUND(driver.loc_); + default: + return Dhcp4Parser::make_STRING("same-as-inbound", driver.loc_); + } +} + YY_BREAK +case 22: +YY_RULE_SETUP +#line 282 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case Parser4Context::OUTBOUND_INTERFACE: + return Dhcp4Parser::make_USE_ROUTING(driver.loc_); + default: + return Dhcp4Parser::make_STRING("use-routing", driver.loc_); + } +} + YY_BREAK +case 23: +YY_RULE_SETUP +#line 291 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::INTERFACES_CONFIG: + return isc::dhcp::Dhcp4Parser::make_INTERFACES(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("interfaces", driver.loc_); + } +} + YY_BREAK +case 24: +YY_RULE_SETUP +#line 300 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::INTERFACES_CONFIG: + return isc::dhcp::Dhcp4Parser::make_RE_DETECT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("re-detect", driver.loc_); + } +} + YY_BREAK +case 25: +YY_RULE_SETUP +#line 309 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::INTERFACES_CONFIG: + return isc::dhcp::Dhcp4Parser::make_SERVICE_SOCKETS_REQUIRE_ALL(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("service-sockets-require-all", driver.loc_); + } +} + YY_BREAK +case 26: +YY_RULE_SETUP +#line 318 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::INTERFACES_CONFIG: + return isc::dhcp::Dhcp4Parser::make_SERVICE_SOCKETS_RETRY_WAIT_TIME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("service-sockets-retry-wait-time", driver.loc_); + } +} + YY_BREAK +case 27: +YY_RULE_SETUP +#line 327 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::INTERFACES_CONFIG: + return isc::dhcp::Dhcp4Parser::make_SERVICE_SOCKETS_MAX_RETRIES(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("service-sockets-max-retries", driver.loc_); + } +} + YY_BREAK +case 28: +YY_RULE_SETUP +#line 336 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_LEASE_DATABASE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("lease-database", driver.loc_); + } +} + YY_BREAK +case 29: +YY_RULE_SETUP +#line 345 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_HOSTS_DATABASE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("hosts-database", driver.loc_); + } +} + YY_BREAK +case 30: +YY_RULE_SETUP +#line 354 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_HOSTS_DATABASES(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("hosts-databases", driver.loc_); + } +} + YY_BREAK +case 31: +YY_RULE_SETUP +#line 363 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_CONFIG_CONTROL(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("config-control", driver.loc_); + } +} + YY_BREAK +case 32: +YY_RULE_SETUP +#line 372 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::CONFIG_CONTROL: + return isc::dhcp::Dhcp4Parser::make_CONFIG_DATABASES(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("config-databases", driver.loc_); + } +} + YY_BREAK +case 33: +YY_RULE_SETUP +#line 381 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::CONFIG_CONTROL: + return isc::dhcp::Dhcp4Parser::make_CONFIG_FETCH_WAIT_TIME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("config-fetch-wait-time", driver.loc_); + } +} + YY_BREAK +case 34: +YY_RULE_SETUP +#line 390 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + return isc::dhcp::Dhcp4Parser::make_READONLY(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("readonly", driver.loc_); + } +} + YY_BREAK +case 35: +YY_RULE_SETUP +#line 399 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::OPTION_DEF: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_TYPE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("type", driver.loc_); + } +} + YY_BREAK +case 36: +YY_RULE_SETUP +#line 411 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DATABASE_TYPE: + return isc::dhcp::Dhcp4Parser::make_MEMFILE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("memfile", driver.loc_); + } +} + YY_BREAK +case 37: +YY_RULE_SETUP +#line 420 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DATABASE_TYPE: + return isc::dhcp::Dhcp4Parser::make_MYSQL(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("mysql", driver.loc_); + } +} + YY_BREAK +case 38: +YY_RULE_SETUP +#line 429 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DATABASE_TYPE: + return isc::dhcp::Dhcp4Parser::make_POSTGRESQL(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("postgresql", driver.loc_); + } +} + YY_BREAK +case 39: +YY_RULE_SETUP +#line 438 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_USER(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("user", driver.loc_); + } +} + YY_BREAK +case 40: +YY_RULE_SETUP +#line 449 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_PASSWORD(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("password", driver.loc_); + } +} + YY_BREAK +case 41: +YY_RULE_SETUP +#line 460 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_HOST(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("host", driver.loc_); + } +} + YY_BREAK +case 42: +YY_RULE_SETUP +#line 471 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_PORT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("port", driver.loc_); + } +} + YY_BREAK +case 43: +YY_RULE_SETUP +#line 482 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_PERSIST(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("persist", driver.loc_); + } +} + YY_BREAK +case 44: +YY_RULE_SETUP +#line 493 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_LFC_INTERVAL(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("lfc-interval", driver.loc_); + } +} + YY_BREAK +case 45: +YY_RULE_SETUP +#line 504 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_CONNECT_TIMEOUT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("connect-timeout", driver.loc_); + } +} + YY_BREAK +case 46: +YY_RULE_SETUP +#line 515 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_READ_TIMEOUT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("read-timeout", driver.loc_); + } +} + YY_BREAK +case 47: +YY_RULE_SETUP +#line 526 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_WRITE_TIMEOUT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("write-timeout", driver.loc_); + } +} + YY_BREAK +case 48: +YY_RULE_SETUP +#line 537 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_TCP_USER_TIMEOUT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("tcp-user-timeout", driver.loc_); + } +} + YY_BREAK +case 49: +YY_RULE_SETUP +#line 548 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_RECONNECT_WAIT_TIME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("reconnect-wait-time", driver.loc_); + } +} + YY_BREAK +case 50: +YY_RULE_SETUP +#line 559 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_ON_FAIL(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("on-fail", driver.loc_); + } +} + YY_BREAK +case 51: +YY_RULE_SETUP +#line 570 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DATABASE_ON_FAIL: + return isc::dhcp::Dhcp4Parser::make_STOP_RETRY_EXIT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("stop-retry-exit", driver.loc_); + } +} + YY_BREAK +case 52: +YY_RULE_SETUP +#line 579 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DATABASE_ON_FAIL: + return isc::dhcp::Dhcp4Parser::make_SERVE_RETRY_EXIT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("serve-retry-exit", driver.loc_); + } +} + YY_BREAK +case 53: +YY_RULE_SETUP +#line 588 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DATABASE_ON_FAIL: + return isc::dhcp::Dhcp4Parser::make_SERVE_RETRY_CONTINUE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("serve-retry-continue", driver.loc_); + } +} + YY_BREAK +case 54: +YY_RULE_SETUP +#line 597 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_RETRY_ON_STARTUP(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("retry-on-startup", driver.loc_); + } +} + YY_BREAK +case 55: +YY_RULE_SETUP +#line 608 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_MAX_RECONNECT_TRIES(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("max-reconnect-tries", driver.loc_); + } +} + YY_BREAK +case 56: +YY_RULE_SETUP +#line 619 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + return isc::dhcp::Dhcp4Parser::make_MAX_ROW_ERRORS(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("max-row-errors", driver.loc_); + } +} + YY_BREAK +case 57: +YY_RULE_SETUP +#line 628 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_TRUST_ANCHOR(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("trust-anchor", driver.loc_); + } +} + YY_BREAK +case 58: +YY_RULE_SETUP +#line 639 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_CERT_FILE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("cert-file", driver.loc_); + } +} + YY_BREAK +case 59: +YY_RULE_SETUP +#line 650 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_KEY_FILE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("key-file", driver.loc_); + } +} + YY_BREAK +case 60: +YY_RULE_SETUP +#line 661 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + return isc::dhcp::Dhcp4Parser::make_CIPHER_LIST(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("cipher-list", driver.loc_); + } +} + YY_BREAK +case 61: +YY_RULE_SETUP +#line 672 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + case isc::dhcp::Parser4Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp4Parser::make_VALID_LIFETIME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("valid-lifetime", driver.loc_); + } +} + YY_BREAK +case 62: +YY_RULE_SETUP +#line 684 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + case isc::dhcp::Parser4Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp4Parser::make_MIN_VALID_LIFETIME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("min-valid-lifetime", driver.loc_); + } +} + YY_BREAK +case 63: +YY_RULE_SETUP +#line 696 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + case isc::dhcp::Parser4Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp4Parser::make_MAX_VALID_LIFETIME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("max-valid-lifetime", driver.loc_); + } +} + YY_BREAK +case 64: +YY_RULE_SETUP +#line 708 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_RENEW_TIMER(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("renew-timer", driver.loc_); + } +} + YY_BREAK +case 65: +YY_RULE_SETUP +#line 719 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_REBIND_TIMER(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("rebind-timer", driver.loc_); + } +} + YY_BREAK +case 66: +YY_RULE_SETUP +#line 730 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_DECLINE_PROBATION_PERIOD(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("decline-probation-period", driver.loc_); + } +} + YY_BREAK +case 67: +YY_RULE_SETUP +#line 739 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_SERVER_TAG(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("server-tag", driver.loc_); + } +} + YY_BREAK +case 68: +YY_RULE_SETUP +#line 748 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_PARKED_PACKET_LIMIT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("parked-packet-limit", driver.loc_); + } +} + YY_BREAK +case 69: +YY_RULE_SETUP +#line 757 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_ALLOCATOR(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("allocator", driver.loc_); + } +} + YY_BREAK +case 70: +YY_RULE_SETUP +#line 768 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_STATISTIC_DEFAULT_SAMPLE_COUNT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("statistic-default-sample-count", driver.loc_); + } +} + YY_BREAK +case 71: +YY_RULE_SETUP +#line 777 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_STATISTIC_DEFAULT_SAMPLE_AGE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("statistic-default-sample-age", driver.loc_); + } +} + YY_BREAK +case 72: +YY_RULE_SETUP +#line 786 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_DDNS_SEND_UPDATES(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ddns-send-updates", driver.loc_); + } +} + YY_BREAK +case 73: +YY_RULE_SETUP +#line 797 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_DDNS_OVERRIDE_NO_UPDATE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ddns-override-no-update", driver.loc_); + } +} + YY_BREAK +case 74: +YY_RULE_SETUP +#line 808 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_DDNS_OVERRIDE_CLIENT_UPDATE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ddns-override-client-update", driver.loc_); + } +} + YY_BREAK +case 75: +YY_RULE_SETUP +#line 819 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_DDNS_REPLACE_CLIENT_NAME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ddns-replace-client-name", driver.loc_); + } +} + YY_BREAK +case 76: +YY_RULE_SETUP +#line 830 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_DDNS_GENERATED_PREFIX(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ddns-generated-prefix", driver.loc_); + } +} + YY_BREAK +case 77: +YY_RULE_SETUP +#line 841 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_DDNS_QUALIFYING_SUFFIX(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ddns-qualifying-suffix", driver.loc_); + } +} + YY_BREAK +case 78: +YY_RULE_SETUP +#line 852 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_DDNS_UPDATE_ON_RENEW(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ddns-update-on-renew", driver.loc_); + } +} + YY_BREAK +case 79: +YY_RULE_SETUP +#line 863 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_DDNS_USE_CONFLICT_RESOLUTION(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ddns-use-conflict-resolution", driver.loc_); + } +} + YY_BREAK +case 80: +YY_RULE_SETUP +#line 874 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_DDNS_CONFLICT_RESOLUTION_MODE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ddns-conflict-resolution-mode", driver.loc_); + } +} + YY_BREAK +case 81: +YY_RULE_SETUP +#line 885 "dhcp4_lexer.ll" +{ + if (driver.ctx_ == isc::dhcp::Parser4Context::DDNS_CONFLICT_RESOLUTION_MODE) { + return isc::dhcp::Dhcp4Parser::make_CHECK_WITH_DHCID(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp4Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 82: +YY_RULE_SETUP +#line 894 "dhcp4_lexer.ll" +{ + if (driver.ctx_ == isc::dhcp::Parser4Context::DDNS_CONFLICT_RESOLUTION_MODE) { + return isc::dhcp::Dhcp4Parser::make_NO_CHECK_WITH_DHCID(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp4Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 83: +YY_RULE_SETUP +#line 903 "dhcp4_lexer.ll" +{ + if (driver.ctx_ == isc::dhcp::Parser4Context::DDNS_CONFLICT_RESOLUTION_MODE) { + return isc::dhcp::Dhcp4Parser::make_CHECK_EXISTS_WITH_DHCID(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp4Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 84: +YY_RULE_SETUP +#line 912 "dhcp4_lexer.ll" +{ + if (driver.ctx_ == isc::dhcp::Parser4Context::DDNS_CONFLICT_RESOLUTION_MODE) { + return isc::dhcp::Dhcp4Parser::make_NO_CHECK_WITHOUT_DHCID(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp4Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 85: +YY_RULE_SETUP +#line 922 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_DDNS_TTL_PERCENT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ddns-ttl-percent", driver.loc_); + } +} + YY_BREAK +case 86: +YY_RULE_SETUP +#line 933 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_SUBNET4(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("subnet4", driver.loc_); + } +} + YY_BREAK +case 87: +YY_RULE_SETUP +#line 943 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_STORE_EXTENDED_INFO(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("store-extended-info", driver.loc_); + } +} + YY_BREAK +case 88: +YY_RULE_SETUP +#line 954 "dhcp4_lexer.ll" +{ + switch (driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_SHARED_NETWORKS(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("shared-networks", driver.loc_); + } +} + YY_BREAK +case 89: +YY_RULE_SETUP +#line 963 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp4Parser::make_OPTION_DEF(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("option-def", driver.loc_); + } +} + YY_BREAK +case 90: +YY_RULE_SETUP +#line 973 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + case isc::dhcp::Parser4Context::POOLS: + case isc::dhcp::Parser4Context::RESERVATIONS: + case isc::dhcp::Parser4Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp4Parser::make_OPTION_DATA(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("option-data", driver.loc_); + } +} + YY_BREAK +case 91: +YY_RULE_SETUP +#line 987 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LEASE_DATABASE: + case isc::dhcp::Parser4Context::HOSTS_DATABASE: + case isc::dhcp::Parser4Context::CONFIG_DATABASE: + case isc::dhcp::Parser4Context::OPTION_DEF: + case isc::dhcp::Parser4Context::OPTION_DATA: + case isc::dhcp::Parser4Context::CLIENT_CLASSES: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + case isc::dhcp::Parser4Context::LOGGERS: + return isc::dhcp::Dhcp4Parser::make_NAME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("name", driver.loc_); + } +} + YY_BREAK +case 92: +YY_RULE_SETUP +#line 1003 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::OPTION_DATA: + return isc::dhcp::Dhcp4Parser::make_DATA(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("data", driver.loc_); + } +} + YY_BREAK +case 93: +YY_RULE_SETUP +#line 1012 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::OPTION_DATA: + return isc::dhcp::Dhcp4Parser::make_ALWAYS_SEND(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("always-send", driver.loc_); + } +} + YY_BREAK +case 94: +YY_RULE_SETUP +#line 1021 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::OPTION_DATA: + return isc::dhcp::Dhcp4Parser::make_NEVER_SEND(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("never-send", driver.loc_); + } +} + YY_BREAK +case 95: +YY_RULE_SETUP +#line 1030 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::SUBNET4: + return isc::dhcp::Dhcp4Parser::make_POOLS(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("pools", driver.loc_); + } +} + YY_BREAK +case 96: +YY_RULE_SETUP +#line 1039 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::POOLS: + return isc::dhcp::Dhcp4Parser::make_POOL(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("pool", driver.loc_); + } +} + YY_BREAK +case 97: +YY_RULE_SETUP +#line 1048 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::POOLS: + return isc::dhcp::Dhcp4Parser::make_POOL_ID(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("pool-id", driver.loc_); + } +} + YY_BREAK +case 98: +YY_RULE_SETUP +#line 1057 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::INTERFACES_CONFIG: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::POOLS: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + case isc::dhcp::Parser4Context::OPTION_DEF: + case isc::dhcp::Parser4Context::OPTION_DATA: + case isc::dhcp::Parser4Context::RESERVATIONS: + case isc::dhcp::Parser4Context::CLIENT_CLASSES: + case isc::dhcp::Parser4Context::CONTROL_SOCKET: + case isc::dhcp::Parser4Context::DHCP_QUEUE_CONTROL: + case isc::dhcp::Parser4Context::DHCP_MULTI_THREADING: + case isc::dhcp::Parser4Context::LOGGERS: + case isc::dhcp::Parser4Context::DHCP_DDNS: + return isc::dhcp::Dhcp4Parser::make_USER_CONTEXT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("user-context", driver.loc_); + } +} + YY_BREAK +case 99: +YY_RULE_SETUP +#line 1079 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::INTERFACES_CONFIG: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::POOLS: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + case isc::dhcp::Parser4Context::OPTION_DEF: + case isc::dhcp::Parser4Context::OPTION_DATA: + case isc::dhcp::Parser4Context::RESERVATIONS: + case isc::dhcp::Parser4Context::CLIENT_CLASSES: + case isc::dhcp::Parser4Context::CONTROL_SOCKET: + case isc::dhcp::Parser4Context::DHCP_QUEUE_CONTROL: + case isc::dhcp::Parser4Context::DHCP_MULTI_THREADING: + case isc::dhcp::Parser4Context::LOGGERS: + case isc::dhcp::Parser4Context::DHCP_DDNS: + return isc::dhcp::Dhcp4Parser::make_COMMENT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("comment", driver.loc_); + } +} + YY_BREAK +case 100: +YY_RULE_SETUP +#line 1101 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::SUBNET4: + return isc::dhcp::Dhcp4Parser::make_SUBNET(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("subnet", driver.loc_); + } +} + YY_BREAK +case 101: +YY_RULE_SETUP +#line 1110 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_INTERFACE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("interface", driver.loc_); + } +} + YY_BREAK +case 102: +YY_RULE_SETUP +#line 1120 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::SUBNET4: + return isc::dhcp::Dhcp4Parser::make_ID(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("id", driver.loc_); + } +} + YY_BREAK +case 103: +YY_RULE_SETUP +#line 1129 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_RESERVATION_MODE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("reservation-mode", driver.loc_); + } +} + YY_BREAK +case 104: +YY_RULE_SETUP +#line 1140 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::RESERVATION_MODE: + return isc::dhcp::Dhcp4Parser::make_DISABLED(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("disabled", driver.loc_); + } +} + YY_BREAK +case 105: +YY_RULE_SETUP +#line 1149 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::RESERVATION_MODE: + return isc::dhcp::Dhcp4Parser::make_DISABLED(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("off", driver.loc_); + } +} + YY_BREAK +case 106: +YY_RULE_SETUP +#line 1158 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::RESERVATION_MODE: + return isc::dhcp::Dhcp4Parser::make_OUT_OF_POOL(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("out-of-pool", driver.loc_); + } +} + YY_BREAK +case 107: +YY_RULE_SETUP +#line 1167 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::RESERVATION_MODE: + return isc::dhcp::Dhcp4Parser::make_GLOBAL(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("global", driver.loc_); + } +} + YY_BREAK +case 108: +YY_RULE_SETUP +#line 1176 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::RESERVATION_MODE: + return isc::dhcp::Dhcp4Parser::make_ALL(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("all", driver.loc_); + } +} + YY_BREAK +case 109: +YY_RULE_SETUP +#line 1185 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_RESERVATIONS_GLOBAL(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("reservations-global", driver.loc_); + } +} + YY_BREAK +case 110: +YY_RULE_SETUP +#line 1196 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_RESERVATIONS_IN_SUBNET(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("reservations-in-subnet", driver.loc_); + } +} + YY_BREAK +case 111: +YY_RULE_SETUP +#line 1207 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_RESERVATIONS_OUT_OF_POOL(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("reservations-out-of-pool", driver.loc_); + } +} + YY_BREAK +case 112: +YY_RULE_SETUP +#line 1218 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::OPTION_DEF: + case isc::dhcp::Parser4Context::OPTION_DATA: + return isc::dhcp::Dhcp4Parser::make_CODE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("code", driver.loc_); + } +} + YY_BREAK +case 113: +YY_RULE_SETUP +#line 1228 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_HOST_RESERVATION_IDENTIFIERS(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("host-reservation-identifiers", driver.loc_); + } +} + YY_BREAK +case 114: +YY_RULE_SETUP +#line 1237 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_CALCULATE_TEE_TIMES(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("calculate-tee-times", driver.loc_); + } +} + YY_BREAK +case 115: +YY_RULE_SETUP +#line 1248 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_T1_PERCENT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("t1-percent", driver.loc_); + } +} + YY_BREAK +case 116: +YY_RULE_SETUP +#line 1259 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_T2_PERCENT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("t2-percent", driver.loc_); + } +} + YY_BREAK +case 117: +YY_RULE_SETUP +#line 1270 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_CACHE_THRESHOLD(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("cache-threshold", driver.loc_); + } +} + YY_BREAK +case 118: +YY_RULE_SETUP +#line 1281 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_CACHE_MAX_AGE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("cache-max-age", driver.loc_); + } +} + YY_BREAK +case 119: +YY_RULE_SETUP +#line 1293 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_LOGGERS(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("loggers", driver.loc_); + } +} + YY_BREAK +case 120: +YY_RULE_SETUP +#line 1302 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LOGGERS: + return isc::dhcp::Dhcp4Parser::make_OUTPUT_OPTIONS(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("output_options", driver.loc_); + } +} + YY_BREAK +case 121: +YY_RULE_SETUP +#line 1311 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LOGGERS: + return isc::dhcp::Dhcp4Parser::make_OUTPUT_OPTIONS(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("output-options", driver.loc_); + } +} + YY_BREAK +case 122: +YY_RULE_SETUP +#line 1320 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::OUTPUT_OPTIONS: + return isc::dhcp::Dhcp4Parser::make_OUTPUT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("output", driver.loc_); + } +} + YY_BREAK +case 123: +YY_RULE_SETUP +#line 1329 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LOGGERS: + return isc::dhcp::Dhcp4Parser::make_DEBUGLEVEL(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("debuglevel", driver.loc_); + } +} + YY_BREAK +case 124: +YY_RULE_SETUP +#line 1338 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::OUTPUT_OPTIONS: + return isc::dhcp::Dhcp4Parser::make_FLUSH(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("flush", driver.loc_); + } +} + YY_BREAK +case 125: +YY_RULE_SETUP +#line 1347 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::OUTPUT_OPTIONS: + return isc::dhcp::Dhcp4Parser::make_MAXSIZE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("maxsize", driver.loc_); + } +} + YY_BREAK +case 126: +YY_RULE_SETUP +#line 1356 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::OUTPUT_OPTIONS: + return isc::dhcp::Dhcp4Parser::make_MAXVER(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("maxver", driver.loc_); + } +} + YY_BREAK +case 127: +YY_RULE_SETUP +#line 1365 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::OUTPUT_OPTIONS: + return isc::dhcp::Dhcp4Parser::make_PATTERN(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("pattern", driver.loc_); + } +} + YY_BREAK +case 128: +YY_RULE_SETUP +#line 1374 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::LOGGERS: + return isc::dhcp::Dhcp4Parser::make_SEVERITY(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("severity", driver.loc_); + } +} + YY_BREAK +case 129: +YY_RULE_SETUP +#line 1383 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::RESERVATIONS: + return isc::dhcp::Dhcp4Parser::make_CLIENT_CLASSES(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("client-classes", driver.loc_); + } +} + YY_BREAK +case 130: +YY_RULE_SETUP +#line 1393 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::POOLS: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_REQUIRE_CLIENT_CLASSES(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("require-client-classes", driver.loc_); + } +} + YY_BREAK +case 131: +YY_RULE_SETUP +#line 1404 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::POOLS: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + case isc::dhcp::Parser4Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp4Parser::make_CLIENT_CLASS(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("client-class", driver.loc_); + } +} + YY_BREAK +case 132: +YY_RULE_SETUP +#line 1416 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp4Parser::make_TEST(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("test", driver.loc_); + } +} + YY_BREAK +case 133: +YY_RULE_SETUP +#line 1425 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp4Parser::make_TEMPLATE_TEST(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("template-test", driver.loc_); + } +} + YY_BREAK +case 134: +YY_RULE_SETUP +#line 1434 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp4Parser::make_ONLY_IF_REQUIRED(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("only-if-required", driver.loc_); + } +} + YY_BREAK +case 135: +YY_RULE_SETUP +#line 1443 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + return isc::dhcp::Dhcp4Parser::make_RESERVATIONS(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("reservations", driver.loc_); + } +} + YY_BREAK +case 136: +YY_RULE_SETUP +#line 1453 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS: + case isc::dhcp::Parser4Context::RESERVATIONS: + return isc::dhcp::Dhcp4Parser::make_DUID(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("duid", driver.loc_); + } +} + YY_BREAK +case 137: +YY_RULE_SETUP +#line 1463 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS: + case isc::dhcp::Parser4Context::RESERVATIONS: + return isc::dhcp::Dhcp4Parser::make_HW_ADDRESS(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("hw-address", driver.loc_); + } +} + YY_BREAK +case 138: +YY_RULE_SETUP +#line 1473 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS: + case isc::dhcp::Parser4Context::RESERVATIONS: + return isc::dhcp::Dhcp4Parser::make_CLIENT_ID(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("client-id", driver.loc_); + } +} + YY_BREAK +case 139: +YY_RULE_SETUP +#line 1483 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS: + case isc::dhcp::Parser4Context::RESERVATIONS: + return isc::dhcp::Dhcp4Parser::make_CIRCUIT_ID(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("circuit-id", driver.loc_); + } +} + YY_BREAK +case 140: +YY_RULE_SETUP +#line 1493 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS: + case isc::dhcp::Parser4Context::RESERVATIONS: + return isc::dhcp::Dhcp4Parser::make_FLEX_ID(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("flex-id", driver.loc_); + } +} + YY_BREAK +case 141: +YY_RULE_SETUP +#line 1503 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::RESERVATIONS: + return isc::dhcp::Dhcp4Parser::make_HOSTNAME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("hostname", driver.loc_); + } +} + YY_BREAK +case 142: +YY_RULE_SETUP +#line 1512 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::OPTION_DEF: + case isc::dhcp::Parser4Context::OPTION_DATA: + return isc::dhcp::Dhcp4Parser::make_SPACE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("space", driver.loc_); + } +} + YY_BREAK +case 143: +YY_RULE_SETUP +#line 1522 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::OPTION_DATA: + return isc::dhcp::Dhcp4Parser::make_CSV_FORMAT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("csv-format", driver.loc_); + } +} + YY_BREAK +case 144: +YY_RULE_SETUP +#line 1531 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::OPTION_DEF: + return isc::dhcp::Dhcp4Parser::make_RECORD_TYPES(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("record-types", driver.loc_); + } +} + YY_BREAK +case 145: +YY_RULE_SETUP +#line 1540 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::OPTION_DEF: + return isc::dhcp::Dhcp4Parser::make_ENCAPSULATE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("encapsulate", driver.loc_); + } +} + YY_BREAK +case 146: +YY_RULE_SETUP +#line 1549 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::OPTION_DEF: + return isc::dhcp::Dhcp4Parser::make_ARRAY(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("array", driver.loc_); + } +} + YY_BREAK +case 147: +YY_RULE_SETUP +#line 1558 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_RELAY(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("relay", driver.loc_); + } +} + YY_BREAK +case 148: +YY_RULE_SETUP +#line 1568 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::RELAY: + case isc::dhcp::Parser4Context::RESERVATIONS: + return isc::dhcp::Dhcp4Parser::make_IP_ADDRESS(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ip-address", driver.loc_); + } +} + YY_BREAK +case 149: +YY_RULE_SETUP +#line 1578 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::RELAY: + return isc::dhcp::Dhcp4Parser::make_IP_ADDRESSES(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ip-addresses", driver.loc_); + } +} + YY_BREAK +case 150: +YY_RULE_SETUP +#line 1587 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_HOOKS_LIBRARIES(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("hooks-libraries", driver.loc_); + } +} + YY_BREAK +case 151: +YY_RULE_SETUP +#line 1597 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::HOOKS_LIBRARIES: + return isc::dhcp::Dhcp4Parser::make_PARAMETERS(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("parameters", driver.loc_); + } +} + YY_BREAK +case 152: +YY_RULE_SETUP +#line 1606 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::HOOKS_LIBRARIES: + return isc::dhcp::Dhcp4Parser::make_LIBRARY(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("library", driver.loc_); + } +} + YY_BREAK +case 153: +YY_RULE_SETUP +#line 1615 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_EXPIRED_LEASES_PROCESSING(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("expired-leases-processing", driver.loc_); + } +} + YY_BREAK +case 154: +YY_RULE_SETUP +#line 1624 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING: + return isc::dhcp::Dhcp4Parser::make_RECLAIM_TIMER_WAIT_TIME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("reclaim-timer-wait-time", driver.loc_); + } +} + YY_BREAK +case 155: +YY_RULE_SETUP +#line 1633 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING: + return isc::dhcp::Dhcp4Parser::make_FLUSH_RECLAIMED_TIMER_WAIT_TIME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("flush-reclaimed-timer-wait-time", driver.loc_); + } +} + YY_BREAK +case 156: +YY_RULE_SETUP +#line 1642 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING: + return isc::dhcp::Dhcp4Parser::make_HOLD_RECLAIMED_TIME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("hold-reclaimed-time", driver.loc_); + } +} + YY_BREAK +case 157: +YY_RULE_SETUP +#line 1651 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING: + return isc::dhcp::Dhcp4Parser::make_MAX_RECLAIM_LEASES(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("max-reclaim-leases", driver.loc_); + } +} + YY_BREAK +case 158: +YY_RULE_SETUP +#line 1660 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING: + return isc::dhcp::Dhcp4Parser::make_MAX_RECLAIM_TIME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("max-reclaim-time", driver.loc_); + } +} + YY_BREAK +case 159: +YY_RULE_SETUP +#line 1669 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING: + return isc::dhcp::Dhcp4Parser::make_UNWARNED_RECLAIM_CYCLES(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("unwarned-reclaim-cycles", driver.loc_); + } +} + YY_BREAK +case 160: +YY_RULE_SETUP +#line 1678 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_DHCP4O6_PORT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("dhcp4o6-port", driver.loc_); + } +} + YY_BREAK +case 161: +YY_RULE_SETUP +#line 1687 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_DHCP_MULTI_THREADING(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("multi-threading", driver.loc_); + } +} + YY_BREAK +case 162: +YY_RULE_SETUP +#line 1696 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_MULTI_THREADING: + return isc::dhcp::Dhcp4Parser::make_ENABLE_MULTI_THREADING(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("enable-multi-threading", driver.loc_); + } +} + YY_BREAK +case 163: +YY_RULE_SETUP +#line 1705 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_MULTI_THREADING: + return isc::dhcp::Dhcp4Parser::make_THREAD_POOL_SIZE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("thread-pool-size", driver.loc_); + } +} + YY_BREAK +case 164: +YY_RULE_SETUP +#line 1714 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_MULTI_THREADING: + return isc::dhcp::Dhcp4Parser::make_PACKET_QUEUE_SIZE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("packet-queue-size", driver.loc_); + } +} + YY_BREAK +case 165: +YY_RULE_SETUP +#line 1723 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_CONTROL_SOCKET(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("control-socket", driver.loc_); + } +} + YY_BREAK +case 166: +YY_RULE_SETUP +#line 1732 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::CONTROL_SOCKET: + return isc::dhcp::Dhcp4Parser::make_SOCKET_TYPE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("socket-type", driver.loc_); + } +} + YY_BREAK +case 167: +YY_RULE_SETUP +#line 1741 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::CONTROL_SOCKET: + return isc::dhcp::Dhcp4Parser::make_SOCKET_NAME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("socket-name", driver.loc_); + } +} + YY_BREAK +case 168: +YY_RULE_SETUP +#line 1750 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_DHCP_QUEUE_CONTROL(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("dhcp-queue-control", driver.loc_); + } +} + YY_BREAK +case 169: +YY_RULE_SETUP +#line 1759 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_QUEUE_CONTROL: + return isc::dhcp::Dhcp4Parser::make_ENABLE_QUEUE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("enable-queue", driver.loc_); + } +} + YY_BREAK +case 170: +YY_RULE_SETUP +#line 1768 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_QUEUE_CONTROL: + return isc::dhcp::Dhcp4Parser::make_QUEUE_TYPE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("queue-type", driver.loc_); + } +} + YY_BREAK +case 171: +YY_RULE_SETUP +#line 1777 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_QUEUE_CONTROL: + return isc::dhcp::Dhcp4Parser::make_CAPACITY(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("capacity", driver.loc_); + } +} + YY_BREAK +case 172: +YY_RULE_SETUP +#line 1786 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_DHCP_DDNS(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("dhcp-ddns", driver.loc_); + } +} + YY_BREAK +case 173: +YY_RULE_SETUP +#line 1795 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_DDNS: + return isc::dhcp::Dhcp4Parser::make_ENABLE_UPDATES(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("enable-updates", driver.loc_); + } +} + YY_BREAK +case 174: +YY_RULE_SETUP +#line 1804 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_DDNS: + return isc::dhcp::Dhcp4Parser::make_QUALIFYING_SUFFIX(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("qualifying-suffix", driver.loc_); + } +} + YY_BREAK +case 175: +YY_RULE_SETUP +#line 1813 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_DDNS: + return isc::dhcp::Dhcp4Parser::make_SERVER_IP(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("server-ip", driver.loc_); + } +} + YY_BREAK +case 176: +YY_RULE_SETUP +#line 1822 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_DDNS: + return isc::dhcp::Dhcp4Parser::make_SERVER_PORT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("server-port", driver.loc_); + } +} + YY_BREAK +case 177: +YY_RULE_SETUP +#line 1831 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_DDNS: + return isc::dhcp::Dhcp4Parser::make_SENDER_IP(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("sender-ip", driver.loc_); + } +} + YY_BREAK +case 178: +YY_RULE_SETUP +#line 1840 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_DDNS: + return isc::dhcp::Dhcp4Parser::make_SENDER_PORT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("sender-port", driver.loc_); + } +} + YY_BREAK +case 179: +YY_RULE_SETUP +#line 1849 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_DDNS: + return isc::dhcp::Dhcp4Parser::make_MAX_QUEUE_SIZE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("max-queue-size", driver.loc_); + } +} + YY_BREAK +case 180: +YY_RULE_SETUP +#line 1858 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_DDNS: + return isc::dhcp::Dhcp4Parser::make_NCR_PROTOCOL(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ncr-protocol", driver.loc_); + } +} + YY_BREAK +case 181: +YY_RULE_SETUP +#line 1867 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_DDNS: + return isc::dhcp::Dhcp4Parser::make_NCR_FORMAT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ncr-format", driver.loc_); + } +} + YY_BREAK +case 182: +YY_RULE_SETUP +#line 1876 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_DDNS: + return isc::dhcp::Dhcp4Parser::make_OVERRIDE_NO_UPDATE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("override-no-update", driver.loc_); + } +} + YY_BREAK +case 183: +YY_RULE_SETUP +#line 1885 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_DDNS: + return isc::dhcp::Dhcp4Parser::make_OVERRIDE_CLIENT_UPDATE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("override-client-update", driver.loc_); + } +} + YY_BREAK +case 184: +YY_RULE_SETUP +#line 1894 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_DDNS: + return isc::dhcp::Dhcp4Parser::make_REPLACE_CLIENT_NAME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("replace-client-name", driver.loc_); + } +} + YY_BREAK +case 185: +YY_RULE_SETUP +#line 1903 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP_DDNS: + return isc::dhcp::Dhcp4Parser::make_GENERATED_PREFIX(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("generated-prefix", driver.loc_); + } +} + YY_BREAK +case 186: +YY_RULE_SETUP +#line 1912 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::DHCP_DDNS: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_HOSTNAME_CHAR_SET(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("hostname-char-set", driver.loc_); + } +} + YY_BREAK +case 187: +YY_RULE_SETUP +#line 1924 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::DHCP_DDNS: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_HOSTNAME_CHAR_REPLACEMENT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("hostname-char-replacement", driver.loc_); + } +} + YY_BREAK +case 188: +YY_RULE_SETUP +#line 1936 "dhcp4_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser4Context::NCR_PROTOCOL) { + return isc::dhcp::Dhcp4Parser::make_UDP(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp4Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 189: +YY_RULE_SETUP +#line 1946 "dhcp4_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser4Context::NCR_PROTOCOL) { + return isc::dhcp::Dhcp4Parser::make_TCP(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp4Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 190: +YY_RULE_SETUP +#line 1956 "dhcp4_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser4Context::NCR_FORMAT) { + return isc::dhcp::Dhcp4Parser::make_JSON(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp4Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 191: +YY_RULE_SETUP +#line 1966 "dhcp4_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) { + return isc::dhcp::Dhcp4Parser::make_WHEN_PRESENT(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp4Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 192: +YY_RULE_SETUP +#line 1976 "dhcp4_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) { + return isc::dhcp::Dhcp4Parser::make_WHEN_PRESENT(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp4Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 193: +YY_RULE_SETUP +#line 1986 "dhcp4_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) { + return isc::dhcp::Dhcp4Parser::make_NEVER(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp4Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 194: +YY_RULE_SETUP +#line 1996 "dhcp4_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) { + return isc::dhcp::Dhcp4Parser::make_NEVER(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp4Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 195: +YY_RULE_SETUP +#line 2006 "dhcp4_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) { + return isc::dhcp::Dhcp4Parser::make_ALWAYS(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp4Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 196: +YY_RULE_SETUP +#line 2016 "dhcp4_lexer.ll" +{ + /* dhcp-ddns value keywords are case insensitive */ + if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) { + return isc::dhcp::Dhcp4Parser::make_WHEN_NOT_PRESENT(driver.loc_); + } + std::string tmp(yytext+1); + tmp.resize(tmp.size() - 1); + return isc::dhcp::Dhcp4Parser::make_STRING(tmp, driver.loc_); +} + YY_BREAK +case 197: +YY_RULE_SETUP +#line 2026 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::SUBNET4: + return isc::dhcp::Dhcp4Parser::make_SUBNET_4O6_INTERFACE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("4o6-interface", driver.loc_); + } +} + YY_BREAK +case 198: +YY_RULE_SETUP +#line 2035 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::SUBNET4: + return isc::dhcp::Dhcp4Parser::make_SUBNET_4O6_INTERFACE_ID(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("4o6-interface-id", driver.loc_); + } +} + YY_BREAK +case 199: +YY_RULE_SETUP +#line 2044 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::SUBNET4: + return isc::dhcp::Dhcp4Parser::make_SUBNET_4O6_SUBNET(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("4o6-subnet", driver.loc_); + } +} + YY_BREAK +case 200: +YY_RULE_SETUP +#line 2053 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_ECHO_CLIENT_ID(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("echo-client-id", driver.loc_); + } +} + YY_BREAK +case 201: +YY_RULE_SETUP +#line 2062 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_MATCH_CLIENT_ID(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("match-client-id", driver.loc_); + } +} + YY_BREAK +case 202: +YY_RULE_SETUP +#line 2073 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + return isc::dhcp::Dhcp4Parser::make_AUTHORITATIVE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("authoritative", driver.loc_); + } +} + YY_BREAK +case 203: +YY_RULE_SETUP +#line 2084 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + case isc::dhcp::Parser4Context::RESERVATIONS: + case isc::dhcp::Parser4Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp4Parser::make_NEXT_SERVER(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("next-server", driver.loc_); + } +} + YY_BREAK +case 204: +YY_RULE_SETUP +#line 2097 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + case isc::dhcp::Parser4Context::RESERVATIONS: + case isc::dhcp::Parser4Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp4Parser::make_SERVER_HOSTNAME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("server-hostname", driver.loc_); + } +} + YY_BREAK +case 205: +YY_RULE_SETUP +#line 2110 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + case isc::dhcp::Parser4Context::RESERVATIONS: + case isc::dhcp::Parser4Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp4Parser::make_BOOT_FILE_NAME(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("boot-file-name", driver.loc_); + } +} + YY_BREAK +case 206: +YY_RULE_SETUP +#line 2123 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_EARLY_GLOBAL_RESERVATIONS_LOOKUP(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("early-global-reservations-lookup", driver.loc_); + } +} + YY_BREAK +case 207: +YY_RULE_SETUP +#line 2132 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_IP_RESERVATIONS_UNIQUE(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ip-reservations-unique", driver.loc_); + } +} + YY_BREAK +case 208: +YY_RULE_SETUP +#line 2141 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_RESERVATIONS_LOOKUP_FIRST(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("reservations-lookup-first", driver.loc_); + } +} + YY_BREAK +case 209: +YY_RULE_SETUP +#line 2150 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + return isc::dhcp::Dhcp4Parser::make_COMPATIBILITY(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("compatibility", driver.loc_); + } +} + YY_BREAK +case 210: +YY_RULE_SETUP +#line 2159 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::COMPATIBILITY: + return isc::dhcp::Dhcp4Parser::make_LENIENT_OPTION_PARSING(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("lenient-option-parsing", driver.loc_); + } +} + YY_BREAK +case 211: +YY_RULE_SETUP +#line 2168 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::COMPATIBILITY: + return isc::dhcp::Dhcp4Parser::make_IGNORE_DHCP_SERVER_ID(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ignore-dhcp-server-identifier", driver.loc_); + } +} + YY_BREAK +case 212: +YY_RULE_SETUP +#line 2177 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::COMPATIBILITY: + return isc::dhcp::Dhcp4Parser::make_IGNORE_RAI_LINK_SEL(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("ignore-rai-link-selection", driver.loc_); + } +} + YY_BREAK +case 213: +YY_RULE_SETUP +#line 2186 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::COMPATIBILITY: + return isc::dhcp::Dhcp4Parser::make_EXCLUDE_FIRST_LAST_24(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("exclude-first-last-24", driver.loc_); + } +} + YY_BREAK +case 214: +YY_RULE_SETUP +#line 2195 "dhcp4_lexer.ll" +{ + switch(driver.ctx_) { + case isc::dhcp::Parser4Context::DHCP4: + case isc::dhcp::Parser4Context::SUBNET4: + case isc::dhcp::Parser4Context::SHARED_NETWORK: + case isc::dhcp::Parser4Context::CLIENT_CLASSES: + return isc::dhcp::Dhcp4Parser::make_OFFER_LFT(driver.loc_); + default: + return isc::dhcp::Dhcp4Parser::make_STRING("offer-lifetime", driver.loc_); + } +} + YY_BREAK +case 215: +YY_RULE_SETUP +#line 2207 "dhcp4_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::Dhcp4Parser::make_STRING(decoded, driver.loc_); +} + YY_BREAK +case 216: +/* rule 216 can match eol */ +YY_RULE_SETUP +#line 2308 "dhcp4_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 217: +/* rule 217 can match eol */ +YY_RULE_SETUP +#line 2324 "dhcp4_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 218: +YY_RULE_SETUP +#line 2373 "dhcp4_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 219: +YY_RULE_SETUP +#line 2381 "dhcp4_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 220: +YY_RULE_SETUP +#line 2396 "dhcp4_lexer.ll" +{ return isc::dhcp::Dhcp4Parser::make_LSQUARE_BRACKET(driver.loc_); } + YY_BREAK +case 221: +YY_RULE_SETUP +#line 2397 "dhcp4_lexer.ll" +{ return isc::dhcp::Dhcp4Parser::make_RSQUARE_BRACKET(driver.loc_); } + YY_BREAK +case 222: +YY_RULE_SETUP +#line 2398 "dhcp4_lexer.ll" +{ return isc::dhcp::Dhcp4Parser::make_LCURLY_BRACKET(driver.loc_); } + YY_BREAK +case 223: +YY_RULE_SETUP +#line 2399 "dhcp4_lexer.ll" +{ return isc::dhcp::Dhcp4Parser::make_RCURLY_BRACKET(driver.loc_); } + YY_BREAK +case 224: +YY_RULE_SETUP +#line 2400 "dhcp4_lexer.ll" +{ return isc::dhcp::Dhcp4Parser::make_COMMA(driver.loc_); } + YY_BREAK +case 225: +YY_RULE_SETUP +#line 2401 "dhcp4_lexer.ll" +{ return isc::dhcp::Dhcp4Parser::make_COLON(driver.loc_); } + YY_BREAK +case 226: +YY_RULE_SETUP +#line 2403 "dhcp4_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::Dhcp4Parser::make_INTEGER(integer, driver.loc_); +} + YY_BREAK +case 227: +YY_RULE_SETUP +#line 2421 "dhcp4_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::Dhcp4Parser::make_FLOAT(fp, driver.loc_); +} + YY_BREAK +case 228: +YY_RULE_SETUP +#line 2434 "dhcp4_lexer.ll" +{ + string tmp(yytext); + return isc::dhcp::Dhcp4Parser::make_BOOLEAN(tmp == "true", driver.loc_); +} + YY_BREAK +case 229: +YY_RULE_SETUP +#line 2439 "dhcp4_lexer.ll" +{ + return isc::dhcp::Dhcp4Parser::make_NULL_TYPE(driver.loc_); +} + YY_BREAK +case 230: +YY_RULE_SETUP +#line 2443 "dhcp4_lexer.ll" +driver.error (driver.loc_, "JSON true reserved keyword is lower case only"); + YY_BREAK +case 231: +YY_RULE_SETUP +#line 2445 "dhcp4_lexer.ll" +driver.error (driver.loc_, "JSON false reserved keyword is lower case only"); + YY_BREAK +case 232: +YY_RULE_SETUP +#line 2447 "dhcp4_lexer.ll" +driver.error (driver.loc_, "JSON null reserved keyword is lower case only"); + YY_BREAK +case 233: +YY_RULE_SETUP +#line 2449 "dhcp4_lexer.ll" +driver.error (driver.loc_, "Invalid character: " + std::string(yytext)); + YY_BREAK +case YY_STATE_EOF(INITIAL): +#line 2451 "dhcp4_lexer.ll" +{ + if (driver.states_.empty()) { + return isc::dhcp::Dhcp4Parser::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(); + } + parser4__delete_buffer(YY_CURRENT_BUFFER); + parser4__switch_to_buffer(driver.states_.back()); + driver.states_.pop_back(); + + BEGIN(DIR_EXIT); +} + YY_BREAK +case 234: +YY_RULE_SETUP +#line 2474 "dhcp4_lexer.ll" +ECHO; + YY_BREAK +#line 5747 "dhcp4_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 >= 2356 ) + 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 >= 2356 ) + yy_c = yy_meta[yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; + yy_is_jam = (yy_current_state == 2355); + + 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 2474 "dhcp4_lexer.ll" + + +using namespace isc::dhcp; + +void +Parser4Context::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 = parser4__scan_bytes(str.c_str(), str.size()); + if (!buffer) { + fatal("cannot scan string"); + /* fatal() throws an exception so this can't be reached */ + } +} + +void +Parser4Context::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 dhcp4_lexer.cc header for available definitions */ + buffer = parser4__create_buffer(f, 65536 /*buffer size*/); + if (!buffer) { + fatal("cannot scan file " + filename); + } + parser4__switch_to_buffer(buffer); +} + +void +Parser4Context::scanEnd() { + if (sfile_) + fclose(sfile_); + sfile_ = 0; + static_cast<void>(parser4_lex_destroy()); + /* Close files */ + while (!sfiles_.empty()) { + FILE* f = sfiles_.back(); + if (f) { + fclose(f); + } + sfiles_.pop_back(); + } + /* Delete states */ + while (!states_.empty()) { + parser4__delete_buffer(states_.back()); + states_.pop_back(); + } +} + +void +Parser4Context::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 = parser4__create_buffer(f, 65536 /*buffer size*/); + if (!buffer) { + fatal( "Can't scan include file " + filename); + } + parser4__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__ */ + |