#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 #include #include #include /* %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 . 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 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 214 #define YY_END_OF_BUFFER 215 /* 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[2061] = { 0, 207, 207, 0, 0, 0, 0, 0, 0, 0, 0, 215, 213, 10, 11, 213, 1, 207, 204, 207, 207, 213, 206, 205, 213, 213, 213, 213, 213, 200, 201, 213, 213, 213, 202, 203, 5, 5, 5, 213, 213, 213, 10, 11, 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, 1, 207, 207, 0, 206, 207, 3, 2, 6, 0, 207, 0, 0, 0, 0, 0, 0, 4, 0, 0, 9, 0, 196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 197, 199, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 88, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 212, 210, 0, 209, 208, 0, 0, 0, 0, 0, 0, 0, 173, 0, 172, 0, 0, 94, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 0, 0, 0, 0, 211, 208, 0, 0, 0, 0, 0, 0, 174, 0, 176, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 98, 0, 0, 0, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 120, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 79, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 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, 0, 0, 0, 0, 0, 117, 0, 0, 34, 0, 0, 38, 0, 0, 0, 0, 0, 0, 12, 178, 177, 0, 0, 0, 130, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 109, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 131, 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, 7, 0, 0, 179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 111, 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, 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, 85, 0, 0, 0, 0, 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, 136, 105, 0, 0, 0, 0, 0, 0, 110, 35, 0, 0, 0, 0, 0, 46, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 112, 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, 74, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 155, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 125, 0, 0, 0, 0, 0, 0, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 39, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 53, 0, 0, 0, 122, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 156, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 87, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 161, 0, 0, 0, 159, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 183, 0, 0, 0, 0, 0, 0, 0, 0, 0, 123, 0, 0, 0, 0, 0, 0, 0, 127, 0, 0, 0, 0, 0, 0, 0, 108, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 22, 0, 132, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 165, 0, 0, 0, 0, 77, 0, 0, 0, 0, 0, 0, 135, 0, 37, 0, 154, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 62, 0, 0, 0, 0, 0, 0, 0, 101, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 187, 0, 78, 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 162, 0, 0, 160, 0, 0, 151, 150, 0, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 175, 0, 0, 0, 0, 0, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 144, 0, 0, 0, 153, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 133, 0, 15, 0, 0, 43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 164, 0, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 128, 0, 0, 0, 119, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 0, 84, 0, 181, 0, 0, 186, 0, 104, 0, 0, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 189, 0, 0, 114, 30, 0, 0, 0, 149, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 184, 0, 157, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 0, 27, 0, 0, 163, 0, 0, 0, 51, 0, 0, 0, 0, 0, 106, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 0, 0, 103, 0, 0, 0, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 134, 0, 0, 0, 29, 0, 0, 0, 185, 0, 0, 0, 0, 0, 145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 188, 0, 76, 0, 47, 0, 0, 0, 182, 180, 0, 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 169, 0, 0, 0, 0, 0, 0, 0, 0, 142, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 89, 0, 0, 0, 0, 0, 48, 0, 0, 0, 0, 147, 0, 0, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 170, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 148, 0, 158, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 152, 0, 0, 0, 0, 0, 0, 0, 0, 0, 141, 0, 58, 57, 19, 0, 166, 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, 140, 0, 0, 0, 0, 50, 0, 63, 0, 45, 168, 0, 95, 0, 0, 0, 0, 0, 0, 0, 0, 75, 0, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 70, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 71, 0, 0, 0, 0, 146, 0, 0, 0, 0, 191, 194, 167, 0, 115, 96, 0, 0, 0, 0, 0, 0, 0, 0, 67, 0, 0, 0, 0, 0, 0, 0, 0, 138, 0, 0, 0, 0, 0, 0, 143, 0, 69, 0, 61, 0, 0, 0, 0, 0, 0, 97, 0, 0, 0, 0, 0, 0, 0, 137, 0, 0, 171, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 68, 0, 0, 0, 0, 26, 24, 0, 0, 0, 73, 0, 0, 99, 0, 65, 0, 0, 0, 0, 0, 0, 0, 0, 64, 0, 139, 25, 190, 0 } ; static const YY_CHAR yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 5, 6, 7, 5, 5, 5, 5, 5, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16, 14, 17, 14, 18, 14, 14, 14, 19, 5, 20, 5, 21, 22, 5, 23, 24, 25, 26, 27, 28, 5, 29, 5, 30, 5, 31, 5, 32, 33, 34, 5, 35, 36, 37, 38, 39, 40, 5, 41, 5, 42, 43, 44, 5, 45, 5, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 5, 73, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5 } ; static const YY_CHAR yy_meta[74] = { 0, 1, 1, 2, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static const flex_int16_t yy_base[2069] = { 0, 0, 72, 21, 31, 43, 51, 54, 60, 91, 99, 2447, 2448, 34, 2443, 145, 0, 207, 2448, 214, 221, 13, 228, 2448, 2423, 118, 25, 2, 6, 2448, 2448, 73, 11, 17, 2448, 2448, 2448, 104, 2431, 2384, 0, 2421, 108, 2438, 24, 262, 2448, 2380, 67, 2386, 84, 75, 88, 224, 91, 89, 290, 220, 2378, 206, 285, 236, 204, 197, 60, 232, 2387, 247, 294, 315, 307, 286, 2370, 212, 325, 354, 328, 2389, 0, 366, 382, 397, 411, 404, 2448, 0, 2448, 419, 425, 249, 319, 238, 331, 399, 329, 2448, 2386, 2427, 2448, 404, 2448, 438, 2414, 405, 2383, 415, 10, 409, 311, 411, 418, 428, 2424, 0, 499, 418, 2366, 2363, 2367, 402, 2363, 80, 2371, 216, 2357, 2358, 2363, 78, 2373, 2356, 2365, 2355, 2364, 221, 2355, 223, 2356, 2354, 400, 2402, 2406, 2346, 2399, 2339, 174, 2360, 2360, 2354, 278, 2347, 2345, 2346, 2338, 2343, 2337, 423, 2348, 346, 2333, 2332, 2346, 405, 2332, 420, 355, 2326, 495, 407, 428, 2347, 2344, 2345, 428, 2343, 2378, 2377, 2323, 2323, 433, 2324, 433, 2316, 2333, 2325, 0, 446, 462, 471, 464, 476, 481, 2324, 2448, 2369, 486, 2318, 466, 479, 485, 2372, 510, 2371, 502, 2370, 2448, 2448, 548, 2369, 521, 2328, 2320, 2307, 2318, 2322, 2323, 2303, 2314, 2318, 2315, 2314, 478, 518, 2352, 2316, 2297, 2294, 2302, 2297, 2311, 2307, 2298, 2294, 2306, 2306, 2297, 2281, 2285, 2298, 2300, 2297, 2289, 2279, 2297, 2448, 2292, 505, 2330, 2276, 2285, 2327, 2274, 2284, 2287, 518, 2283, 2322, 2267, 2269, 2280, 2318, 2263, 2321, 2275, 2255, 2270, 542, 2260, 2266, 524, 2257, 2255, 2255, 2261, 2252, 2251, 2258, 2248, 2307, 2263, 2262, 2256, 498, 2263, 2258, 2250, 2240, 2255, 2254, 2249, 2253, 2234, 2250, 2236, 2242, 2249, 2231, 457, 2236, 2233, 2232, 2227, 2241, 551, 2240, 2283, 2242, 529, 2233, 552, 2448, 2448, 554, 2448, 2448, 2220, 536, 543, 2268, 559, 2278, 553, 2448, 2277, 2448, 2271, 603, 2448, 552, 2211, 2220, 2268, 2228, 2211, 2228, 2264, 2224, 2207, 2213, 2265, 2220, 2223, 2214, 2217, 2203, 2214, 2258, 2252, 2210, 2207, 594, 2213, 2253, 2188, 2246, 2199, 2194, 2191, 2242, 2199, 2188, 2204, 2238, 2184, 601, 2198, 2183, 2196, 2194, 2192, 2192, 2191, 2186, 2193, 2188, 2184, 570, 2182, 2185, 2180, 2166, 2178, 2174, 2224, 563, 2218, 2448, 2182, 2216, 2166, 2165, 2164, 2157, 2159, 2171, 2162, 2169, 2150, 2167, 2162, 581, 2209, 2162, 2159, 2162, 2448, 2161, 2150, 2150, 2162, 547, 2137, 2138, 2159, 2150, 2140, 2191, 2136, 2150, 584, 2136, 2148, 2147, 2146, 2141, 2183, 2143, 2142, 2141, 2140, 2183, 2142, 2122, 2180, 2448, 2122, 2121, 629, 2134, 2448, 2448, 2133, 2122, 2114, 572, 2173, 2172, 2448, 2171, 2448, 607, 655, 610, 2170, 2112, 2123, 2162, 2115, 2117, 2119, 2106, 2114, 2102, 2448, 2107, 2100, 2112, 2115, 2102, 2101, 2448, 595, 2103, 2100, 613, 2098, 2100, 2448, 2145, 2107, 2104, 2089, 2102, 2097, 637, 2104, 2092, 2085, 2136, 2448, 2083, 2099, 2133, 2094, 2091, 2092, 2076, 2085, 2127, 2078, 2077, 2072, 2071, 2122, 2066, 626, 2085, 2059, 2066, 2071, 2081, 2115, 2119, 2448, 2064, 2060, 2058, 2067, 2066, 2060, 2067, 2051, 2051, 2061, 2049, 2063, 2063, 2051, 2047, 2045, 2448, 2102, 2448, 2044, 2055, 2094, 2039, 2044, 2053, 2047, 2041, 2050, 2092, 2086, 2048, 2032, 2027, 2047, 2022, 2028, 631, 2042, 2035, 2039, 2022, 2080, 2021, 2021, 2072, 2017, 2018, 2017, 2448, 2030, 2067, 2448, 2018, 2016, 2448, 2027, 2063, 2023, 2007, 2024, 2064, 2448, 2448, 2448, 630, 621, 681, 2448, 2015, 2014, 294, 2021, 2001, 2011, 2053, 1998, 2051, 1996, 2006, 2048, 1993, 2000, 1993, 2005, 1987, 1987, 2002, 2001, 603, 2000, 1999, 1999, 1981, 1986, 2027, 1994, 1991, 1985, 2030, 1974, 1990, 1989, 2448, 1974, 1971, 2029, 1984, 1976, 1982, 1973, 1981, 1966, 1982, 1964, 1976, 1968, 640, 1959, 1958, 1952, 1957, 1972, 1969, 1970, 1949, 1959, 1965, 2008, 1963, 1955, 1946, 2448, 1947, 1949, 1958, 1950, 1955, 1994, 1993, 1944, 16, 1953, 1990, 1935, 1988, 1935, 1938, 1931, 2448, 1945, 1924, 1928, 1942, 1934, 1979, 1931, 1938, 1976, 2448, 1921, 1935, 1934, 1937, 1918, 1970, 1969, 1916, 1967, 1927, 1911, 1964, 1963, 2448, 1908, 1922, 1921, 679, 1922, 1921, 1957, 1921, 1916, 1899, 1904, 1906, 2448, 1912, 1902, 2448, 654, 666, 1896, 1894, 1901, 1911, 1903, 1890, 1884, 1896, 1895, 1940, 659, 1944, 1898, 649, 20, 242, 210, 437, 541, 577, 564, 585, 646, 649, 641, 698, 651, 661, 664, 703, 666, 660, 664, 662, 664, 711, 717, 675, 676, 2448, 679, 675, 666, 681, 686, 683, 686, 685, 673, 687, 685, 693, 729, 691, 736, 737, 687, 679, 689, 736, 694, 744, 2448, 745, 698, 700, 696, 690, 693, 751, 747, 710, 699, 712, 2448, 702, 713, 702, 715, 705, 718, 762, 763, 706, 717, 702, 725, 704, 710, 765, 729, 713, 725, 769, 770, 717, 772, 736, 731, 736, 734, 778, 720, 732, 735, 739, 731, 728, 2448, 792, 751, 752, 742, 745, 756, 741, 748, 754, 746, 760, 800, 776, 763, 768, 765, 747, 754, 768, 813, 770, 767, 768, 766, 775, 2448, 771, 766, 781, 778, 764, 766, 785, 782, 770, 777, 778, 787, 791, 827, 789, 780, 778, 777, 788, 784, 840, 787, 798, 783, 784, 790, 806, 796, 2448, 806, 806, 799, 810, 808, 853, 795, 797, 812, 799, 798, 860, 817, 803, 809, 807, 2448, 2448, 817, 822, 827, 815, 825, 827, 2448, 2448, 828, 815, 833, 820, 814, 2448, 819, 837, 824, 874, 825, 877, 823, 827, 845, 886, 2448, 2448, 831, 835, 834, 831, 891, 844, 834, 835, 831, 844, 855, 856, 851, 852, 854, 847, 849, 845, 851, 851, 853, 868, 851, 910, 867, 872, 849, 872, 858, 857, 2448, 864, 865, 865, 878, 916, 874, 864, 879, 880, 867, 899, 907, 876, 871, 926, 927, 889, 929, 2448, 935, 878, 894, 898, 939, 889, 888, 883, 884, 896, 891, 887, 890, 891, 901, 910, 947, 894, 913, 905, 900, 958, 915, 916, 907, 2448, 921, 910, 913, 921, 923, 908, 924, 918, 965, 931, 915, 916, 2448, 932, 935, 918, 977, 920, 939, 2448, 938, 941, 927, 922, 940, 980, 938, 934, 931, 984, 985, 947, 933, 951, 950, 951, 937, 952, 944, 951, 941, 959, 958, 945, 962, 2448, 954, 960, 963, 1008, 2448, 957, 962, 1006, 958, 970, 964, 965, 963, 965, 975, 1020, 964, 965, 965, 1024, 968, 980, 973, 2448, 969, 977, 975, 1026, 968, 989, 975, 977, 983, 991, 982, 987, 997, 998, 1003, 1044, 1016, 1021, 1003, 1000, 996, 1010, 993, 993, 2448, 994, 1054, 997, 2448, 1008, 998, 1018, 1017, 1008, 1019, 1062, 1023, 1016, 1020, 1024, 1007, 1024, 1015, 1070, 1017, 2448, 1067, 1016, 1019, 1037, 1019, 1020, 1020, 1041, 1038, 1043, 1044, 1030, 1038, 1047, 1027, 1042, 1049, 1091, 2448, 1092, 1093, 1035, 1045, 1055, 1039, 1059, 1047, 1043, 1050, 1059, 1047, 1054, 1055, 1067, 1108, 1055, 1053, 1055, 1072, 1113, 1063, 1062, 1068, 1066, 1064, 1059, 1120, 1071, 1122, 1118, 1124, 2448, 1081, 1074, 1065, 1084, 1072, 1082, 1083, 1079, 1092, 1092, 2448, 1076, 1072, 1079, 2448, 1080, 1140, 1099, 1080, 1099, 1100, 1102, 1141, 1094, 1148, 1149, 1099, 1097, 1108, 1107, 1091, 1096, 1114, 2448, 1136, 1127, 1159, 1099, 1121, 1116, 1116, 1120, 1165, 2448, 1108, 1108, 1111, 1128, 1123, 1127, 1122, 2448, 1114, 1131, 1111, 1132, 1122, 1173, 1126, 2448, 1140, 1140, 1178, 1125, 1134, 1182, 1140, 1145, 1131, 1191, 1134, 1145, 1137, 1143, 1139, 1157, 1158, 1159, 2448, 2448, 1158, 2448, 1143, 1154, 1145, 1164, 1157, 1155, 1148, 1160, 1204, 1168, 1157, 1164, 1165, 1171, 2448, 1164, 1216, 1157, 1218, 2448, 1219, 1161, 1167, 1174, 1218, 1180, 2448, 1181, 2448, 1168, 2448, 1170, 1184, 1189, 1172, 1231, 1188, 1189, 1229, 1181, 1186, 1237, 1233, 1186, 1240, 2448, 1191, 1188, 1243, 1244, 1201, 1202, 1204, 2448, 2448, 1243, 1192, 1208, 1251, 1193, 1205, 1210, 1225, 1256, 2448, 1213, 1206, 1215, 1206, 1217, 2448, 1262, 1199, 1210, 1225, 1261, 1213, 1224, 1225, 1226, 1223, 1267, 1230, 1220, 1230, 1236, 1223, 1219, 1279, 1275, 1233, 1277, 1284, 1241, 2448, 1242, 1236, 1245, 1246, 1243, 1233, 1236, 1236, 1241, 1296, 1243, 1298, 1241, 1246, 1301, 1297, 1238, 1253, 1246, 1250, 1263, 1264, 1262, 1311, 2448, 1265, 2448, 2448, 1270, 1262, 1272, 1257, 1313, 1260, 1260, 1321, 1265, 1275, 1324, 2448, 1272, 1273, 1275, 1328, 1269, 1272, 2448, 1290, 1291, 2448, 1291, 1279, 2448, 2448, 1292, 1275, 1295, 1282, 1341, 1291, 2448, 1343, 1292, 1345, 1325, 2448, 1347, 1304, 1349, 1300, 1347, 2448, 1295, 1354, 1304, 1298, 1295, 1298, 1300, 1317, 1356, 1309, 1321, 1324, 1312, 1315, 1308, 1315, 1306, 2448, 1314, 1329, 1314, 2448, 1316, 1317, 1332, 1332, 1335, 1335, 1332, 1376, 1338, 1330, 2448, 1331, 2448, 1341, 1333, 2448, 1339, 1344, 1345, 1342, 1386, 1334, 1349, 1350, 1342, 2448, 1339, 1340, 1340, 1346, 1345, 1343, 1397, 1358, 2448, 1399, 1346, 2448, 1347, 1348, 1354, 2448, 1363, 1357, 1412, 1359, 1352, 1364, 1359, 1369, 1380, 1373, 1379, 1375, 2448, 1384, 2448, 1381, 2448, 1378, 1401, 2448, 1428, 2448, 1386, 1371, 1431, 2448, 1432, 1389, 1394, 1376, 1436, 1432, 1396, 1393, 1389, 1382, 1437, 1395, 1396, 1386, 1391, 1403, 1448, 1403, 1451, 1447, 1410, 1407, 1451, 1399, 1404, 1402, 1461, 1417, 1405, 1464, 1460, 1423, 1467, 1428, 1417, 1411, 1471, 1413, 1414, 1428, 1431, 1431, 1477, 1419, 1436, 1432, 1430, 1437, 1421, 1479, 1480, 1481, 1444, 1437, 1436, 1436, 1431, 1449, 2448, 1440, 1446, 1451, 1438, 1439, 1438, 1440, 1495, 1436, 1454, 1503, 1461, 1474, 2448, 1506, 1459, 2448, 2448, 1450, 1461, 1510, 2448, 1456, 1461, 1459, 1509, 1467, 1472, 1460, 1476, 1466, 1464, 1478, 1465, 2448, 1467, 2448, 1470, 1521, 1464, 1469, 1529, 1477, 1487, 1488, 2448, 1534, 1487, 1531, 2448, 1482, 1538, 2448, 1481, 1496, 1484, 2448, 1494, 1495, 1544, 1502, 1506, 2448, 1542, 1508, 1484, 1502, 1503, 1512, 1494, 1501, 1513, 1512, 1503, 1553, 1505, 1501, 1561, 1503, 1504, 1564, 1560, 1566, 1516, 1568, 1521, 1526, 1519, 2448, 1572, 1573, 2448, 1522, 1575, 1517, 2448, 1520, 1530, 1574, 1522, 1537, 1524, 1539, 1525, 1532, 1532, 1587, 1544, 1545, 1533, 1532, 1592, 1545, 2448, 1589, 1540, 1537, 2448, 1551, 1538, 1559, 2448, 1556, 1601, 1554, 1551, 1552, 2448, 1605, 1564, 1547, 1549, 1565, 1558, 1548, 1564, 1565, 1574, 1564, 1616, 1576, 1560, 1569, 1615, 2448, 1573, 1622, 2448, 1571, 2448, 1565, 2448, 1572, 1626, 1622, 2448, 2448, 1585, 2448, 1625, 1587, 1588, 1573, 1574, 1582, 1636, 1584, 1633, 1634, 1589, 2448, 1584, 1602, 1589, 1596, 2448, 1593, 1598, 1596, 1648, 1649, 1597, 1594, 1594, 2448, 1609, 1610, 1611, 2448, 1612, 1602, 1614, 1659, 1612, 1661, 1603, 1611, 1612, 1625, 2448, 1626, 1607, 1608, 1615, 1617, 2448, 1631, 1628, 1668, 1629, 2448, 1633, 1618, 1618, 1633, 1626, 1625, 1636, 1623, 2448, 1639, 1627, 1630, 1686, 1626, 1645, 1647, 1638, 1647, 1649, 1653, 2448, 2448, 1646, 1637, 1696, 1639, 1698, 1699, 1700, 1658, 1702, 2448, 1644, 2448, 1699, 1661, 1662, 1649, 1657, 1668, 1655, 1666, 1652, 1650, 1658, 1657, 1662, 1654, 1719, 1672, 1673, 1663, 1680, 1679, 1720, 1664, 1683, 1684, 2448, 1689, 1682, 1687, 1688, 1733, 1690, 1693, 1680, 1689, 2448, 1738, 2448, 2448, 2448, 1699, 2448, 1740, 1682, 1742, 1743, 1686, 1745, 1693, 1742, 1743, 1705, 1745, 1691, 1695, 1713, 1754, 1713, 2448, 1704, 1694, 1753, 1719, 1712, 1708, 1762, 1705, 1707, 1706, 1713, 1709, 1711, 2448, 1716, 1726, 1711, 1719, 2448, 1714, 2448, 1726, 2448, 2448, 1731, 2448, 1732, 1732, 1723, 1779, 1723, 1733, 1718, 1731, 2448, 1733, 1741, 1786, 1727, 1729, 1726, 1750, 2448, 1737, 1744, 1745, 1748, 1737, 1791, 1738, 1746, 1755, 1754, 1757, 1750, 1745, 1745, 1757, 1752, 2448, 1763, 1751, 1804, 1755, 1767, 1812, 2448, 1758, 1770, 1815, 1764, 1766, 1764, 1765, 1820, 1773, 1760, 1775, 1780, 1825, 1826, 1827, 1784, 1829, 1830, 1774, 1778, 1774, 1790, 1773, 1785, 1779, 2448, 1795, 1839, 2448, 1796, 1781, 1799, 1790, 2448, 1791, 1805, 1801, 1794, 2448, 2448, 2448, 1848, 2448, 2448, 1791, 1799, 1794, 1847, 1813, 1810, 1855, 1816, 2448, 1857, 1799, 1859, 1802, 1815, 1814, 1815, 1805, 2448, 1806, 1866, 1819, 1828, 1821, 1865, 2448, 1812, 2448, 1824, 2448, 1868, 1874, 1816, 1832, 1877, 1878, 2448, 1835, 1829, 1822, 1842, 1839, 1831, 1835, 2448, 1882, 1831, 2448, 2448, 1831, 1839, 1886, 1846, 1839, 1894, 1842, 1842, 1838, 1840, 1899, 1900, 1842, 1858, 1843, 2448, 1904, 1851, 1858, 1907, 2448, 2448, 1860, 1909, 1857, 2448, 1861, 1860, 2448, 1861, 2448, 1855, 1855, 1872, 1873, 1918, 1864, 1920, 1921, 2448, 1922, 2448, 2448, 2448, 2448, 1928, 1931, 1934, 1935, 1937, 1940, 1943, 1946 } ; static const flex_int16_t yy_def[2069] = { 0, 2061, 2061, 2062, 2062, 2061, 2061, 2061, 2061, 2061, 2061, 2060, 2060, 2060, 2060, 2060, 2063, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2064, 2060, 2060, 2060, 2065, 15, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2066, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2063, 2060, 2060, 2060, 2060, 2060, 2060, 2067, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2064, 2060, 2065, 2060, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2068, 45, 2066, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2067, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2068, 2060, 2060, 114, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 45, 45, 45, 45, 45, 45, 2060, 45, 2060, 45, 114, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 2060, 2060, 2060, 45, 45, 45, 45, 45, 2060, 45, 2060, 45, 114, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 2060, 45, 45, 2060, 45, 45, 2060, 45, 45, 45, 2060, 2060, 2060, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 2060, 45, 45, 45, 45, 45, 45, 2060, 2060, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 2060, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 2060, 45, 2060, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 2060, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 2060, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 2060, 45, 45, 2060, 2060, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 2060, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 2060, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 2060, 45, 2060, 45, 45, 2060, 45, 2060, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 2060, 2060, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 2060, 45, 45, 2060, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 2060, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 2060, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 2060, 45, 2060, 45, 2060, 45, 45, 45, 2060, 2060, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 2060, 2060, 2060, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 2060, 45, 2060, 45, 2060, 2060, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 2060, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 2060, 2060, 2060, 45, 2060, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 2060, 45, 2060, 45, 2060, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 2060, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 45, 45, 45, 2060, 2060, 45, 45, 45, 2060, 45, 45, 2060, 45, 2060, 45, 45, 45, 45, 45, 45, 45, 45, 2060, 45, 2060, 2060, 2060, 0, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060 } ; static const flex_int16_t yy_nxt[2522] = { 0, 2060, 13, 14, 13, 2060, 15, 16, 2060, 17, 18, 19, 20, 21, 22, 22, 22, 22, 22, 23, 24, 84, 778, 37, 14, 37, 85, 25, 26, 38, 100, 843, 27, 37, 14, 37, 42, 28, 42, 38, 90, 91, 29, 197, 30, 13, 14, 13, 89, 90, 25, 31, 91, 13, 14, 13, 13, 14, 13, 32, 40, 779, 13, 14, 13, 33, 40, 101, 90, 91, 197, 89, 34, 35, 13, 14, 13, 93, 15, 16, 94, 17, 18, 19, 20, 21, 22, 22, 22, 22, 22, 23, 24, 13, 14, 13, 89, 39, 103, 25, 26, 13, 14, 13, 27, 39, 42, 105, 42, 28, 42, 106, 42, 41, 29, 107, 30, 110, 111, 92, 138, 41, 25, 31, 103, 225, 226, 87, 139, 87, 105, 32, 88, 88, 88, 88, 88, 33, 107, 106, 110, 216, 111, 217, 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, 45, 49, 45, 50, 45, 51, 45, 52, 45, 45, 45, 45, 53, 54, 45, 55, 45, 45, 56, 45, 45, 57, 58, 59, 60, 61, 62, 63, 64, 65, 51, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 55, 45, 45, 45, 45, 45, 79, 247, 80, 80, 80, 80, 80, 79, 105, 82, 82, 82, 82, 82, 248, 81, 83, 83, 83, 83, 83, 79, 81, 82, 82, 82, 82, 82, 136, 81, 108, 105, 103, 119, 844, 137, 81, 120, 81, 165, 109, 121, 135, 166, 122, 81, 219, 123, 232, 845, 233, 124, 81, 108, 235, 220, 221, 187, 115, 81, 45, 185, 140, 131, 116, 132, 45, 117, 109, 45, 236, 45, 141, 45, 142, 45, 133, 113, 144, 145, 45, 45, 146, 45, 45, 187, 134, 185, 147, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 125, 161, 45, 126, 127, 162, 45, 128, 129, 148, 45, 107, 252, 149, 199, 163, 253, 150, 45, 186, 130, 707, 45, 110, 45, 114, 262, 156, 708, 151, 153, 185, 154, 152, 155, 157, 187, 158, 174, 175, 167, 199, 159, 160, 168, 186, 180, 169, 108, 83, 83, 83, 83, 83, 170, 171, 181, 188, 109, 172, 173, 182, 81, 79, 190, 80, 80, 80, 80, 80, 275, 108, 263, 176, 276, 87, 177, 87, 81, 100, 88, 88, 88, 88, 88, 81, 178, 83, 83, 83, 83, 83, 79, 179, 82, 82, 82, 82, 82, 186, 81, 81, 88, 88, 88, 88, 88, 81, 88, 88, 88, 88, 88, 99, 194, 196, 101, 198, 200, 212, 99, 201, 267, 81, 202, 189, 239, 194, 213, 240, 81, 198, 214, 241, 287, 288, 201, 268, 269, 270, 200, 196, 194, 295, 207, 198, 200, 202, 201, 272, 99, 308, 273, 274, 99, 208, 289, 296, 99, 198, 290, 260, 309, 304, 291, 846, 99, 310, 302, 308, 99, 318, 99, 99, 205, 278, 309, 310, 316, 308, 319, 320, 206, 206, 206, 206, 206, 424, 309, 425, 310, 206, 206, 206, 206, 206, 206, 311, 375, 318, 313, 316, 312, 324, 320, 339, 322, 319, 340, 435, 279, 280, 281, 316, 206, 206, 206, 206, 206, 206, 366, 282, 389, 283, 408, 284, 285, 409, 286, 322, 324, 325, 325, 325, 325, 325, 327, 367, 341, 394, 325, 325, 325, 325, 325, 325, 342, 322, 438, 395, 438, 376, 343, 443, 377, 445, 529, 447, 390, 441, 847, 436, 443, 325, 325, 325, 325, 325, 325, 442, 322, 438, 391, 439, 473, 539, 488, 573, 445, 540, 474, 489, 443, 513, 431, 447, 450, 450, 450, 450, 450, 451, 848, 514, 849, 450, 450, 450, 450, 450, 450, 503, 504, 549, 567, 573, 505, 550, 577, 568, 578, 679, 615, 850, 530, 573, 596, 616, 450, 450, 450, 450, 450, 450, 597, 703, 598, 599, 600, 490, 601, 604, 702, 726, 491, 577, 727, 578, 45, 45, 45, 45, 45, 579, 605, 636, 606, 45, 45, 45, 45, 45, 45, 703, 812, 637, 701, 754, 755, 702, 824, 704, 825, 680, 851, 813, 840, 841, 852, 842, 45, 45, 45, 45, 45, 45, 836, 853, 854, 855, 856, 857, 837, 858, 859, 825, 860, 861, 824, 862, 865, 866, 867, 863, 868, 869, 870, 864, 871, 872, 873, 874, 875, 876, 877, 878, 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, 890, 891, 889, 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, 919, 920, 921, 922, 923, 924, 925, 926, 927, 929, 930, 931, 934, 935, 936, 928, 939, 937, 932, 940, 941, 942, 933, 938, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 954, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1002, 1003, 1004, 1005, 1001, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1026, 1027, 1028, 1025, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1075, 1098, 1099, 1074, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1140, 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1149, 1150, 1151, 1152, 1153, 1154, 1155, 1156, 1157, 1158, 1148, 1159, 1160, 1161, 1162, 1163, 1164, 1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172, 1173, 1174, 1175, 1176, 1177, 1178, 1179, 1180, 1123, 1181, 1182, 1183, 1184, 1185, 1186, 1187, 1188, 1189, 1190, 1192, 1191, 1193, 1194, 1195, 1196, 1197, 1198, 1199, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212, 1213, 1214, 1215, 1216, 1217, 1190, 1191, 1218, 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228, 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1237, 1239, 1240, 1241, 1236, 1242, 1243, 1244, 1245, 1246, 1247, 1248, 1249, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1259, 1260, 1261, 1262, 1263, 1264, 1265, 1266, 1267, 1268, 1269, 1270, 1271, 1272, 1273, 1274, 1275, 1276, 1277, 1278, 1279, 1280, 1238, 1281, 1282, 1283, 1284, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 1292, 1293, 1294, 1295, 1296, 1297, 1298, 1299, 1300, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 1314, 1315, 1316, 1317, 1318, 1319, 1320, 1321, 1322, 1300, 1323, 1324, 1325, 1326, 1327, 1301, 1328, 1329, 1330, 1331, 1332, 1333, 1334, 1335, 1336, 1337, 1338, 1339, 1340, 1341, 1342, 1343, 1344, 1345, 1346, 1347, 1348, 1349, 1350, 1351, 1352, 1353, 1354, 1355, 1356, 1357, 1358, 1359, 1360, 1361, 1362, 1363, 1364, 1365, 1366, 1367, 1368, 1369, 1370, 1371, 1372, 1373, 1374, 1375, 1377, 1378, 1379, 1380, 1381, 1382, 1383, 1384, 1385, 1386, 1387, 1388, 1389, 1390, 1391, 1392, 1393, 1394, 1395, 1396, 1397, 1398, 1399, 1400, 1401, 1402, 1403, 1404, 1406, 1407, 1408, 1409, 1410, 1411, 1412, 1413, 1414, 1415, 1416, 1417, 1418, 1419, 1420, 1421, 1422, 1423, 1424, 1425, 1397, 1426, 1427, 1428, 1376, 1429, 1430, 1431, 1432, 1433, 1434, 1435, 1436, 1437, 1438, 1439, 1440, 1441, 1442, 1443, 1444, 1445, 1447, 1405, 1448, 1449, 1450, 1451, 1452, 1446, 1453, 1454, 1455, 1456, 1457, 1458, 1459, 1460, 1461, 1462, 1463, 1464, 1465, 1466, 1467, 1468, 1470, 1471, 1474, 1472, 1469, 1473, 1475, 1476, 1477, 1478, 1479, 1480, 1481, 1482, 1483, 1484, 1485, 1487, 1488, 1489, 1490, 1486, 1491, 1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 1500, 1501, 1502, 1503, 1504, 1505, 1506, 1507, 1508, 1487, 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, 1537, 1538, 1539, 1540, 1541, 1542, 1543, 1544, 1545, 1546, 1547, 1548, 1552, 1549, 1553, 1554, 1550, 1555, 1556, 1551, 1557, 1558, 1559, 1560, 1561, 1562, 1563, 1564, 1565, 1566, 1567, 1568, 1569, 1570, 1571, 1572, 1573, 1574, 1575, 1576, 1577, 1579, 1580, 1581, 1582, 1583, 1584, 1585, 1586, 1587, 1588, 1578, 1589, 1590, 1591, 1592, 1566, 1593, 1594, 1595, 1596, 1597, 1598, 1599, 1601, 1602, 1603, 1604, 1605, 1606, 1607, 1608, 1609, 1610, 1611, 1612, 1613, 1614, 1615, 1616, 1617, 1618, 1619, 1620, 1621, 1622, 1623, 1624, 1625, 1626, 1627, 1628, 1629, 1630, 1631, 1632, 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, 1651, 1652, 1653, 1654, 1655, 1656, 1657, 1600, 1658, 1659, 1660, 1661, 1662, 1663, 1664, 1665, 1666, 1667, 1668, 1669, 1670, 1644, 1671, 1672, 1673, 1674, 1675, 1676, 1677, 1678, 1679, 1680, 1681, 1682, 1683, 1684, 1685, 1686, 1687, 1688, 1689, 1690, 1691, 1692, 1693, 1694, 1695, 1696, 1697, 1698, 1699, 1700, 1701, 1702, 1703, 1704, 1705, 1706, 1707, 1708, 1709, 1710, 1711, 1712, 1713, 1714, 1715, 1716, 1717, 1718, 1719, 1720, 1721, 1722, 1723, 1724, 1725, 1726, 1727, 1728, 1729, 1730, 1731, 1732, 1733, 1734, 1735, 1736, 1737, 1738, 1739, 1740, 1741, 1742, 1743, 1744, 1745, 1746, 1747, 1748, 1749, 1750, 1751, 1752, 1753, 1754, 1755, 1756, 1757, 1758, 1759, 1760, 1762, 1763, 1764, 1765, 1761, 1766, 1767, 1768, 1769, 1770, 1771, 1772, 1773, 1774, 1775, 1776, 1777, 1778, 1779, 1780, 1781, 1782, 1783, 1784, 1785, 1786, 1787, 1788, 1789, 1790, 1791, 1792, 1793, 1794, 1795, 1796, 1797, 1798, 1799, 1800, 1801, 1802, 1803, 1804, 1805, 1806, 1807, 1808, 1809, 1810, 1811, 1812, 1813, 1814, 1815, 1816, 1817, 1818, 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, 1853, 1854, 1852, 1855, 1856, 1857, 1858, 1859, 1860, 1861, 1862, 1863, 1864, 1865, 1866, 1867, 1868, 1869, 1870, 1871, 1872, 1873, 1874, 1875, 1876, 1877, 1878, 1879, 1880, 1881, 1882, 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, 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, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2021, 2020, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 2051, 2052, 2053, 2054, 2055, 2056, 2057, 2058, 2059, 12, 12, 12, 36, 36, 36, 78, 97, 78, 99, 99, 99, 112, 112, 112, 184, 839, 184, 203, 203, 203, 838, 835, 834, 833, 832, 831, 830, 829, 828, 827, 826, 823, 822, 821, 820, 819, 818, 817, 816, 815, 814, 811, 810, 809, 808, 807, 806, 805, 804, 803, 802, 801, 800, 799, 798, 797, 796, 795, 794, 793, 792, 791, 790, 789, 788, 787, 786, 785, 784, 783, 782, 781, 780, 777, 776, 775, 774, 773, 772, 771, 770, 769, 768, 767, 766, 765, 764, 763, 762, 761, 760, 759, 758, 757, 756, 753, 752, 751, 750, 749, 748, 747, 746, 745, 744, 743, 742, 741, 740, 739, 738, 737, 736, 735, 734, 733, 732, 731, 730, 729, 728, 725, 724, 723, 722, 721, 720, 719, 718, 717, 716, 715, 714, 713, 712, 711, 710, 709, 706, 705, 701, 700, 699, 698, 697, 696, 695, 694, 693, 692, 691, 690, 689, 688, 687, 686, 685, 684, 683, 682, 681, 678, 677, 676, 675, 674, 673, 672, 671, 670, 669, 668, 667, 666, 665, 664, 663, 662, 661, 660, 659, 658, 657, 656, 655, 654, 653, 652, 651, 650, 649, 648, 647, 646, 645, 644, 643, 642, 641, 640, 639, 638, 635, 634, 633, 632, 631, 630, 629, 628, 627, 626, 625, 624, 623, 622, 621, 620, 619, 618, 617, 614, 613, 612, 611, 610, 609, 608, 607, 603, 602, 595, 594, 593, 592, 591, 590, 589, 588, 587, 586, 585, 584, 583, 582, 581, 580, 576, 575, 574, 572, 571, 570, 569, 566, 565, 564, 563, 562, 561, 560, 559, 558, 557, 556, 555, 554, 553, 552, 551, 548, 547, 546, 545, 544, 543, 542, 541, 538, 537, 536, 535, 534, 533, 532, 531, 528, 527, 526, 525, 524, 523, 522, 521, 520, 519, 518, 517, 516, 515, 512, 511, 510, 509, 508, 507, 506, 502, 501, 500, 499, 498, 497, 496, 495, 494, 493, 492, 487, 486, 485, 484, 483, 482, 481, 480, 479, 478, 477, 476, 475, 472, 471, 470, 469, 468, 467, 466, 465, 464, 463, 462, 461, 460, 459, 458, 457, 456, 455, 454, 453, 452, 449, 448, 446, 444, 440, 437, 434, 433, 432, 430, 429, 428, 427, 426, 423, 422, 421, 420, 419, 418, 417, 416, 415, 414, 413, 412, 411, 410, 407, 406, 405, 404, 403, 402, 401, 400, 399, 398, 397, 396, 393, 392, 388, 387, 386, 385, 384, 383, 382, 381, 380, 379, 378, 374, 373, 372, 371, 370, 369, 368, 365, 364, 363, 362, 361, 360, 359, 358, 357, 356, 355, 354, 353, 352, 351, 350, 349, 348, 347, 346, 345, 344, 338, 337, 336, 335, 334, 333, 332, 331, 330, 329, 328, 326, 204, 323, 321, 317, 315, 314, 307, 306, 305, 303, 301, 300, 299, 298, 297, 294, 293, 292, 277, 271, 266, 265, 264, 261, 259, 258, 257, 256, 255, 254, 251, 250, 249, 246, 245, 244, 243, 242, 238, 237, 234, 231, 230, 229, 228, 227, 224, 223, 222, 218, 215, 211, 210, 209, 204, 195, 193, 192, 191, 183, 164, 143, 118, 104, 102, 43, 98, 96, 95, 86, 43, 2060, 11, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060 } ; static const flex_int16_t yy_chk[2522] = { 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 21, 653, 3, 3, 3, 21, 1, 1, 3, 44, 718, 1, 4, 4, 4, 13, 1, 13, 4, 27, 28, 1, 106, 1, 5, 5, 5, 26, 32, 1, 1, 33, 6, 6, 6, 7, 7, 7, 1, 7, 653, 8, 8, 8, 1, 8, 44, 27, 28, 106, 26, 1, 1, 2, 2, 2, 32, 2, 2, 33, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 9, 9, 9, 31, 5, 48, 2, 2, 10, 10, 10, 2, 6, 37, 50, 37, 2, 42, 51, 42, 9, 2, 52, 2, 54, 55, 31, 64, 10, 2, 2, 48, 127, 127, 25, 64, 25, 50, 2, 25, 25, 25, 25, 25, 2, 52, 51, 54, 121, 55, 121, 2, 2, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 17, 144, 17, 17, 17, 17, 17, 19, 62, 19, 19, 19, 19, 19, 144, 17, 20, 20, 20, 20, 20, 22, 19, 22, 22, 22, 22, 22, 63, 20, 53, 62, 57, 59, 719, 63, 22, 59, 17, 73, 53, 59, 62, 73, 59, 19, 123, 59, 133, 720, 133, 59, 20, 53, 135, 123, 123, 91, 57, 22, 45, 89, 65, 61, 57, 61, 45, 57, 53, 45, 135, 45, 65, 45, 65, 45, 61, 56, 67, 67, 45, 45, 67, 45, 56, 91, 61, 89, 67, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 60, 71, 56, 60, 60, 71, 56, 60, 60, 68, 56, 69, 148, 68, 108, 71, 148, 68, 56, 90, 60, 583, 56, 76, 56, 56, 157, 70, 583, 68, 69, 92, 69, 68, 69, 70, 94, 70, 75, 75, 74, 108, 70, 70, 74, 90, 76, 74, 75, 79, 79, 79, 79, 79, 74, 74, 76, 92, 75, 74, 74, 76, 79, 80, 94, 80, 80, 80, 80, 80, 164, 75, 157, 75, 164, 81, 75, 81, 80, 99, 81, 81, 81, 81, 81, 79, 75, 83, 83, 83, 83, 83, 82, 75, 82, 82, 82, 82, 82, 93, 83, 80, 87, 87, 87, 87, 87, 82, 88, 88, 88, 88, 88, 101, 103, 105, 99, 107, 109, 119, 101, 110, 161, 83, 111, 93, 138, 115, 119, 138, 82, 155, 119, 138, 167, 167, 180, 161, 161, 161, 178, 105, 103, 172, 115, 107, 109, 111, 110, 163, 101, 185, 163, 163, 101, 115, 168, 172, 101, 155, 168, 155, 186, 180, 168, 721, 101, 187, 178, 188, 101, 196, 101, 101, 114, 166, 189, 190, 194, 185, 197, 198, 114, 114, 114, 114, 114, 296, 186, 296, 187, 114, 114, 114, 114, 114, 114, 188, 253, 196, 190, 194, 189, 202, 198, 220, 200, 197, 220, 306, 166, 166, 166, 208, 114, 114, 114, 114, 114, 114, 245, 166, 265, 166, 281, 166, 166, 281, 166, 200, 202, 206, 206, 206, 206, 206, 208, 245, 221, 268, 206, 206, 206, 206, 206, 206, 221, 302, 308, 268, 311, 253, 221, 316, 253, 318, 399, 320, 265, 315, 722, 306, 327, 206, 206, 206, 206, 206, 206, 315, 302, 308, 265, 311, 349, 409, 363, 443, 318, 409, 349, 363, 316, 383, 302, 320, 325, 325, 325, 325, 325, 327, 723, 383, 724, 325, 325, 325, 325, 325, 325, 375, 375, 418, 436, 443, 375, 418, 449, 436, 449, 549, 483, 725, 399, 451, 470, 483, 325, 325, 325, 325, 325, 325, 470, 578, 470, 470, 470, 363, 470, 473, 577, 601, 363, 449, 601, 449, 450, 450, 450, 450, 450, 451, 473, 504, 473, 450, 450, 450, 450, 450, 450, 578, 689, 504, 579, 629, 629, 577, 702, 579, 703, 549, 726, 689, 717, 717, 727, 717, 450, 450, 450, 450, 450, 450, 714, 728, 729, 730, 731, 732, 714, 733, 734, 703, 735, 736, 702, 737, 738, 739, 740, 737, 741, 742, 744, 737, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 762, 765, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, 804, 804, 805, 806, 807, 802, 809, 808, 804, 810, 811, 813, 804, 808, 814, 815, 816, 817, 818, 819, 820, 821, 822, 823, 824, 825, 826, 827, 828, 829, 830, 831, 832, 833, 834, 835, 836, 837, 839, 840, 841, 842, 843, 844, 845, 846, 847, 848, 849, 850, 851, 852, 853, 825, 854, 855, 856, 857, 858, 859, 860, 861, 862, 863, 864, 865, 866, 868, 869, 870, 871, 872, 873, 874, 875, 876, 877, 873, 878, 879, 880, 881, 882, 883, 886, 887, 888, 889, 890, 891, 894, 895, 896, 897, 898, 900, 901, 902, 903, 904, 901, 905, 906, 907, 908, 909, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 954, 978, 979, 953, 980, 981, 982, 983, 984, 985, 986, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1001, 1002, 1003, 1004, 1005, 1006, 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, 1034, 1035, 1036, 1037, 1039, 1040, 1041, 1029, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1004, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1076, 1075, 1077, 1078, 1079, 1080, 1081, 1083, 1084, 1085, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1104, 1074, 1075, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1123, 1124, 1125, 1126, 1127, 1123, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1140, 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1148, 1149, 1150, 1151, 1152, 1153, 1154, 1156, 1157, 1158, 1159, 1160, 1161, 1162, 1163, 1164, 1165, 1167, 1168, 1124, 1169, 1171, 1172, 1173, 1174, 1175, 1176, 1177, 1178, 1179, 1180, 1181, 1182, 1183, 1184, 1185, 1186, 1187, 1188, 1190, 1191, 1192, 1193, 1194, 1195, 1196, 1197, 1198, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1208, 1209, 1210, 1211, 1212, 1213, 1214, 1190, 1216, 1217, 1218, 1219, 1220, 1191, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228, 1229, 1230, 1231, 1232, 1233, 1236, 1238, 1239, 1240, 1241, 1242, 1243, 1244, 1245, 1246, 1247, 1248, 1249, 1250, 1251, 1253, 1254, 1255, 1256, 1258, 1259, 1260, 1261, 1262, 1263, 1265, 1267, 1269, 1270, 1271, 1272, 1273, 1274, 1275, 1276, 1277, 1278, 1279, 1280, 1281, 1282, 1284, 1285, 1286, 1287, 1288, 1289, 1290, 1293, 1294, 1295, 1296, 1297, 1298, 1299, 1300, 1301, 1303, 1304, 1305, 1306, 1307, 1309, 1310, 1311, 1312, 1313, 1314, 1315, 1316, 1317, 1318, 1319, 1320, 1321, 1322, 1323, 1324, 1325, 1326, 1327, 1328, 1329, 1300, 1330, 1331, 1333, 1276, 1334, 1335, 1336, 1337, 1338, 1339, 1340, 1341, 1342, 1343, 1344, 1345, 1346, 1347, 1348, 1349, 1350, 1351, 1309, 1352, 1353, 1354, 1355, 1356, 1350, 1358, 1361, 1362, 1363, 1364, 1365, 1366, 1367, 1368, 1369, 1370, 1371, 1373, 1374, 1375, 1376, 1377, 1378, 1381, 1380, 1376, 1380, 1383, 1384, 1387, 1388, 1389, 1390, 1391, 1392, 1394, 1395, 1396, 1397, 1399, 1400, 1401, 1396, 1402, 1403, 1405, 1406, 1407, 1408, 1409, 1410, 1411, 1412, 1413, 1414, 1415, 1416, 1417, 1418, 1419, 1420, 1397, 1421, 1423, 1424, 1425, 1427, 1428, 1429, 1430, 1431, 1432, 1433, 1434, 1435, 1436, 1438, 1440, 1441, 1443, 1444, 1445, 1446, 1447, 1448, 1449, 1450, 1451, 1453, 1454, 1455, 1456, 1457, 1458, 1459, 1460, 1462, 1463, 1465, 1466, 1467, 1469, 1470, 1469, 1471, 1472, 1469, 1473, 1474, 1469, 1475, 1476, 1477, 1478, 1479, 1480, 1482, 1484, 1486, 1487, 1489, 1491, 1492, 1493, 1495, 1496, 1497, 1498, 1499, 1500, 1501, 1502, 1503, 1504, 1505, 1506, 1507, 1508, 1509, 1510, 1511, 1501, 1512, 1513, 1514, 1515, 1487, 1516, 1517, 1518, 1519, 1520, 1520, 1521, 1522, 1523, 1524, 1525, 1526, 1527, 1528, 1529, 1530, 1531, 1532, 1533, 1534, 1535, 1536, 1537, 1538, 1539, 1540, 1541, 1542, 1543, 1544, 1545, 1546, 1547, 1548, 1549, 1550, 1551, 1552, 1554, 1555, 1556, 1557, 1558, 1559, 1560, 1561, 1562, 1563, 1564, 1565, 1566, 1568, 1569, 1572, 1573, 1574, 1576, 1577, 1578, 1579, 1580, 1581, 1582, 1583, 1521, 1584, 1585, 1586, 1587, 1589, 1591, 1592, 1593, 1594, 1595, 1596, 1597, 1598, 1566, 1600, 1601, 1602, 1604, 1605, 1607, 1608, 1609, 1611, 1612, 1613, 1614, 1615, 1617, 1618, 1619, 1620, 1621, 1622, 1623, 1624, 1625, 1626, 1627, 1628, 1629, 1630, 1631, 1632, 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1643, 1644, 1646, 1647, 1648, 1650, 1651, 1652, 1653, 1654, 1655, 1656, 1657, 1658, 1659, 1660, 1661, 1662, 1663, 1664, 1665, 1666, 1668, 1669, 1670, 1672, 1673, 1674, 1676, 1677, 1678, 1679, 1680, 1682, 1683, 1684, 1685, 1686, 1687, 1688, 1689, 1690, 1691, 1692, 1693, 1694, 1695, 1696, 1697, 1699, 1700, 1702, 1704, 1706, 1707, 1708, 1702, 1711, 1713, 1714, 1715, 1716, 1717, 1718, 1719, 1720, 1721, 1722, 1723, 1725, 1726, 1727, 1728, 1730, 1731, 1732, 1733, 1734, 1735, 1736, 1737, 1739, 1740, 1741, 1743, 1744, 1745, 1746, 1747, 1748, 1749, 1750, 1751, 1752, 1754, 1755, 1756, 1757, 1758, 1760, 1761, 1762, 1763, 1765, 1766, 1767, 1768, 1769, 1770, 1771, 1772, 1774, 1775, 1776, 1777, 1778, 1779, 1780, 1781, 1782, 1783, 1784, 1787, 1788, 1789, 1790, 1791, 1792, 1793, 1794, 1795, 1797, 1799, 1800, 1801, 1802, 1803, 1804, 1805, 1806, 1807, 1808, 1809, 1810, 1811, 1809, 1812, 1813, 1814, 1815, 1816, 1817, 1818, 1819, 1820, 1821, 1822, 1824, 1825, 1826, 1827, 1828, 1829, 1830, 1831, 1832, 1834, 1838, 1840, 1841, 1842, 1843, 1844, 1845, 1846, 1847, 1848, 1849, 1850, 1851, 1852, 1853, 1854, 1855, 1857, 1858, 1859, 1860, 1861, 1862, 1863, 1864, 1865, 1866, 1867, 1868, 1869, 1871, 1872, 1873, 1874, 1876, 1878, 1881, 1883, 1884, 1885, 1886, 1887, 1888, 1889, 1890, 1892, 1893, 1894, 1895, 1896, 1897, 1898, 1900, 1901, 1902, 1903, 1904, 1905, 1906, 1907, 1908, 1909, 1910, 1911, 1912, 1913, 1914, 1915, 1917, 1918, 1919, 1920, 1921, 1922, 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, 1950, 1951, 1953, 1954, 1955, 1956, 1958, 1959, 1960, 1961, 1965, 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1986, 1987, 1988, 1989, 1990, 1991, 1993, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2007, 2009, 2010, 2012, 2013, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2032, 2033, 2034, 2035, 2038, 2039, 2040, 2042, 2043, 2045, 2047, 2048, 2049, 2050, 2051, 2052, 2053, 2054, 2056, 2061, 2061, 2061, 2062, 2062, 2062, 2063, 2064, 2063, 2065, 2065, 2065, 2066, 2066, 2066, 2067, 716, 2067, 2068, 2068, 2068, 715, 713, 712, 711, 710, 709, 708, 707, 706, 705, 704, 700, 699, 697, 696, 695, 694, 693, 692, 691, 690, 688, 687, 686, 684, 683, 682, 681, 680, 679, 678, 677, 676, 675, 674, 673, 672, 670, 669, 668, 667, 666, 665, 664, 663, 662, 660, 659, 658, 657, 656, 655, 654, 652, 651, 650, 649, 648, 647, 646, 645, 643, 642, 641, 640, 639, 638, 637, 636, 635, 634, 633, 632, 631, 630, 628, 627, 626, 625, 624, 623, 622, 621, 620, 619, 618, 617, 616, 614, 613, 612, 611, 610, 609, 608, 607, 606, 605, 604, 603, 602, 600, 599, 598, 597, 596, 595, 594, 593, 592, 591, 590, 589, 588, 587, 586, 585, 584, 582, 581, 573, 572, 571, 570, 569, 568, 566, 565, 563, 562, 560, 559, 558, 557, 556, 555, 554, 553, 552, 551, 550, 548, 547, 546, 545, 544, 543, 542, 541, 540, 539, 538, 537, 536, 535, 534, 533, 532, 530, 528, 527, 526, 525, 524, 523, 522, 521, 520, 519, 518, 517, 516, 515, 514, 513, 511, 510, 509, 508, 507, 506, 505, 503, 502, 501, 500, 499, 498, 497, 496, 495, 494, 493, 492, 491, 490, 489, 487, 486, 485, 484, 482, 481, 480, 479, 478, 477, 475, 474, 472, 471, 468, 467, 466, 465, 464, 463, 461, 460, 459, 458, 457, 456, 455, 454, 453, 452, 447, 445, 444, 442, 441, 440, 437, 435, 434, 432, 431, 430, 429, 428, 427, 426, 425, 424, 423, 422, 421, 420, 419, 417, 416, 415, 414, 413, 412, 411, 410, 408, 407, 406, 405, 403, 402, 401, 400, 398, 397, 396, 395, 394, 393, 392, 391, 390, 389, 388, 387, 386, 384, 382, 381, 380, 379, 378, 377, 376, 374, 373, 372, 371, 370, 369, 368, 367, 366, 365, 364, 362, 361, 360, 359, 358, 357, 356, 355, 354, 353, 352, 351, 350, 348, 347, 346, 345, 344, 343, 342, 341, 340, 339, 338, 337, 336, 335, 334, 333, 332, 331, 330, 329, 328, 324, 322, 319, 317, 314, 307, 305, 304, 303, 301, 300, 299, 298, 297, 295, 294, 293, 292, 291, 290, 289, 288, 287, 286, 285, 284, 283, 282, 280, 279, 278, 277, 276, 275, 274, 273, 272, 271, 270, 269, 267, 266, 264, 263, 262, 261, 260, 259, 258, 257, 256, 255, 254, 252, 251, 250, 249, 248, 247, 246, 244, 242, 241, 240, 239, 238, 237, 236, 235, 234, 233, 232, 231, 230, 229, 228, 227, 226, 225, 224, 223, 222, 219, 218, 217, 216, 215, 214, 213, 212, 211, 210, 209, 207, 203, 201, 199, 195, 193, 191, 183, 182, 181, 179, 177, 176, 175, 174, 173, 171, 170, 169, 165, 162, 160, 159, 158, 156, 154, 153, 152, 151, 150, 149, 147, 146, 145, 143, 142, 141, 140, 139, 137, 136, 134, 132, 131, 130, 129, 128, 126, 125, 124, 122, 120, 118, 117, 116, 112, 104, 102, 97, 96, 77, 72, 66, 58, 49, 47, 43, 41, 39, 38, 24, 14, 11, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060, 2060 } ; 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[214] = { 0, 146, 148, 150, 155, 156, 161, 162, 163, 175, 178, 183, 190, 199, 208, 217, 226, 235, 244, 254, 263, 272, 281, 290, 299, 308, 317, 326, 335, 344, 353, 362, 371, 380, 389, 401, 410, 419, 428, 439, 450, 461, 472, 483, 494, 505, 516, 527, 536, 545, 554, 565, 574, 585, 596, 607, 618, 630, 642, 654, 665, 676, 685, 694, 703, 712, 721, 732, 743, 754, 765, 776, 787, 798, 809, 819, 830, 839, 849, 863, 879, 888, 897, 906, 915, 937, 959, 968, 978, 987, 998, 1007, 1016, 1025, 1034, 1043, 1054, 1065, 1076, 1086, 1095, 1106, 1117, 1128, 1139, 1151, 1160, 1169, 1178, 1187, 1196, 1205, 1214, 1223, 1232, 1242, 1253, 1265, 1274, 1283, 1293, 1303, 1313, 1323, 1333, 1343, 1352, 1362, 1371, 1380, 1389, 1398, 1408, 1418, 1427, 1437, 1446, 1455, 1464, 1473, 1482, 1491, 1500, 1509, 1518, 1527, 1536, 1545, 1554, 1563, 1572, 1581, 1590, 1599, 1608, 1617, 1626, 1635, 1644, 1653, 1662, 1671, 1680, 1689, 1698, 1707, 1716, 1725, 1734, 1743, 1752, 1764, 1776, 1786, 1796, 1806, 1816, 1826, 1836, 1846, 1856, 1866, 1875, 1884, 1893, 1902, 1913, 1924, 1937, 1950, 1963, 1972, 1981, 1990, 1999, 2008, 2109, 2125, 2174, 2182, 2197, 2198, 2199, 2200, 2201, 2202, 2204, 2222, 2235, 2240, 2244, 2246, 2248, 2250 } ; /* 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-2022 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 #include #include #include #include #include #include #include #include /* 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 . */ # 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 2088 "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 95 "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 2114 "dhcp4_lexer.cc" #line 2115 "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 /* %endif */ /* %if-c++-only */ /* %endif */ #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif /* %if-c-only Reentrant structure and macros (non-C++). */ /* %if-reentrant */ /* %if-c-only */ static int yy_init_globals ( void ); /* %endif */ /* %if-reentrant */ /* %endif */ /* %endif End reentrant structures and macros. */ /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ int yylex_destroy ( void ); int yyget_debug ( void ); void yyset_debug ( int debug_flag ); YY_EXTRA_TYPE yyget_extra ( void ); void yyset_extra ( YY_EXTRA_TYPE user_defined ); FILE *yyget_in ( void ); void yyset_in ( FILE * _in_str ); FILE *yyget_out ( void ); void yyset_out ( FILE * _out_str ); int yyget_leng ( void ); char *yyget_text ( void ); int yyget_lineno ( void ); void yyset_lineno ( int _line_number ); /* %if-bison-bridge */ /* %endif */ /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap ( void ); #else extern int yywrap ( void ); #endif #endif /* %not-for-header */ #ifndef YY_NO_UNPUT #endif /* %ok-for-header */ /* %endif */ #ifndef yytext_ptr static void yy_flex_strncpy ( char *, const char *, int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen ( const char * ); #endif #ifndef YY_NO_INPUT /* %if-c-only Standard (non-C++) definition */ /* %not-for-header */ #ifdef __cplusplus static int yyinput ( void ); #else static int input ( void ); #endif /* %ok-for-header */ /* %endif */ #endif /* %if-c-only */ /* %endif */ /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k */ #define YY_READ_BUF_SIZE 16384 #else #define YY_READ_BUF_SIZE 8192 #endif /* __ia64__ */ #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* %if-c-only Standard (non-C++) definition */ /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) /* %endif */ /* %if-c++-only C++ definition */ /* %endif */ #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ /* %% [5.0] fread()/read() definition of YY_INPUT goes here unless we're doing C++ \ */\ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ int n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(yyin); \ } \ }\ \ /* %if-c++-only C++ definition \ */\ /* %endif */ #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR /* %if-c-only */ #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) /* %endif */ /* %if-c++-only */ /* %endif */ #endif /* %if-tables-serialization structures and prototypes */ /* %not-for-header */ /* %ok-for-header */ /* %not-for-header */ /* %tables-yydmap generated elements */ /* %endif */ /* end tables serialization structures and prototypes */ /* %ok-for-header */ /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 /* %if-c-only Standard (non-C++) definition */ extern int yylex (void); #define YY_DECL int yylex (void) /* %endif */ /* %if-c++-only C++ definition */ /* %endif */ #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK /*LINTED*/break; #endif /* %% [6.0] YY_RULE_SETUP definition goes here */ #define YY_RULE_SETUP \ YY_USER_ACTION /* %not-for-header */ /** The main scanner function which does all the work. */ YY_DECL { yy_state_type yy_current_state; char *yy_cp, *yy_bp; int yy_act; if ( !(yy_init) ) { (yy_init) = 1; #ifdef YY_USER_INIT YY_USER_INIT; #endif if ( ! (yy_start) ) (yy_start) = 1; /* first start state */ if ( ! yyin ) /* %if-c-only */ yyin = stdin; /* %endif */ /* %if-c++-only */ /* %endif */ if ( ! yyout ) /* %if-c-only */ yyout = stdout; /* %endif */ /* %if-c++-only */ /* %endif */ if ( ! YY_CURRENT_BUFFER ) { yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = yy_create_buffer( yyin, YY_BUF_SIZE ); } yy_load_buffer_state( ); } { /* %% [7.0] user's declarations go here */ #line 101 "dhcp4_lexer.ll" #line 105 "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 2443 "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 >= 2061 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; ++yy_cp; } while ( yy_current_state != 2060 ); 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 < 214 ) fprintf( stderr, "--accepting rule at line %ld (\"%s\")\n", (long)yy_rule_linenum[yy_act], yytext ); else if ( yy_act == 214 ) fprintf( stderr, "--accepting default rule (\"%s\")\n", yytext ); else if ( yy_act == 215 ) 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 146 "dhcp4_lexer.ll" ; YY_BREAK case 2: YY_RULE_SETUP #line 148 "dhcp4_lexer.ll" ; YY_BREAK case 3: YY_RULE_SETUP #line 150 "dhcp4_lexer.ll" { BEGIN(COMMENT); comment_start_line = driver.loc_.end.line;; } YY_BREAK case 4: YY_RULE_SETUP #line 155 "dhcp4_lexer.ll" BEGIN(INITIAL); YY_BREAK case 5: YY_RULE_SETUP #line 156 "dhcp4_lexer.ll" ; YY_BREAK case YY_STATE_EOF(COMMENT): #line 157 "dhcp4_lexer.ll" { isc_throw(Dhcp4ParseError, "Comment not closed. (/* in line " << comment_start_line); } YY_BREAK case 6: YY_RULE_SETUP #line 161 "dhcp4_lexer.ll" BEGIN(DIR_ENTER); YY_BREAK case 7: YY_RULE_SETUP #line 162 "dhcp4_lexer.ll" BEGIN(DIR_INCLUDE); YY_BREAK case 8: YY_RULE_SETUP #line 163 "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 172 "dhcp4_lexer.ll" { isc_throw(Dhcp4ParseError, "Directive not closed."); } YY_BREAK case 9: YY_RULE_SETUP #line 175 "dhcp4_lexer.ll" BEGIN(INITIAL); YY_BREAK case 10: YY_RULE_SETUP #line 178 "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 183 "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 190 "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 199 "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 208 "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 217 "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 226 "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 17: YY_RULE_SETUP #line 235 "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 18: YY_RULE_SETUP #line 244 "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 19: YY_RULE_SETUP #line 254 "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 20: YY_RULE_SETUP #line 263 "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 21: YY_RULE_SETUP #line 272 "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 22: YY_RULE_SETUP #line 281 "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 23: YY_RULE_SETUP #line 290 "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 24: YY_RULE_SETUP #line 299 "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 25: YY_RULE_SETUP #line 308 "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 26: YY_RULE_SETUP #line 317 "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 27: YY_RULE_SETUP #line 326 "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 28: YY_RULE_SETUP #line 335 "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 29: YY_RULE_SETUP #line 344 "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 30: YY_RULE_SETUP #line 353 "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 31: YY_RULE_SETUP #line 362 "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 32: YY_RULE_SETUP #line 371 "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 33: YY_RULE_SETUP #line 380 "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 34: YY_RULE_SETUP #line 389 "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 35: YY_RULE_SETUP #line 401 "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 36: YY_RULE_SETUP #line 410 "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 37: YY_RULE_SETUP #line 419 "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 38: YY_RULE_SETUP #line 428 "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 39: YY_RULE_SETUP #line 439 "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 40: YY_RULE_SETUP #line 450 "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 41: YY_RULE_SETUP #line 461 "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 42: YY_RULE_SETUP #line 472 "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 43: YY_RULE_SETUP #line 483 "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 44: YY_RULE_SETUP #line 494 "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 45: YY_RULE_SETUP #line 505 "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 46: YY_RULE_SETUP #line 516 "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 47: YY_RULE_SETUP #line 527 "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 48: YY_RULE_SETUP #line 536 "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 49: YY_RULE_SETUP #line 545 "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 50: YY_RULE_SETUP #line 554 "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 51: YY_RULE_SETUP #line 565 "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 52: YY_RULE_SETUP #line 574 "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 53: YY_RULE_SETUP #line 585 "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 54: YY_RULE_SETUP #line 596 "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 55: YY_RULE_SETUP #line 607 "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 56: YY_RULE_SETUP #line 618 "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 57: YY_RULE_SETUP #line 630 "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 58: YY_RULE_SETUP #line 642 "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 59: YY_RULE_SETUP #line 654 "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 60: YY_RULE_SETUP #line 665 "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 61: YY_RULE_SETUP #line 676 "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 62: YY_RULE_SETUP #line 685 "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 63: YY_RULE_SETUP #line 694 "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 64: YY_RULE_SETUP #line 703 "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 65: YY_RULE_SETUP #line 712 "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 66: YY_RULE_SETUP #line 721 "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 67: YY_RULE_SETUP #line 732 "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 68: YY_RULE_SETUP #line 743 "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 69: YY_RULE_SETUP #line 754 "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 70: YY_RULE_SETUP #line 765 "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 71: YY_RULE_SETUP #line 776 "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 72: YY_RULE_SETUP #line 787 "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 73: YY_RULE_SETUP #line 798 "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 74: YY_RULE_SETUP #line 809 "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 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_STORE_EXTENDED_INFO(driver.loc_); default: return isc::dhcp::Dhcp4Parser::make_STRING("store-extended-info", driver.loc_); } } YY_BREAK case 76: YY_RULE_SETUP #line 830 "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 77: YY_RULE_SETUP #line 839 "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 78: YY_RULE_SETUP #line 849 "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 79: YY_RULE_SETUP #line 863 "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 80: YY_RULE_SETUP #line 879 "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 81: YY_RULE_SETUP #line 888 "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 82: YY_RULE_SETUP #line 897 "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 83: YY_RULE_SETUP #line 906 "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 84: YY_RULE_SETUP #line 915 "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 85: YY_RULE_SETUP #line 937 "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 86: YY_RULE_SETUP #line 959 "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 87: YY_RULE_SETUP #line 968 "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 88: YY_RULE_SETUP #line 978 "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 89: YY_RULE_SETUP #line 987 "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 90: YY_RULE_SETUP #line 998 "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 91: YY_RULE_SETUP #line 1007 "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 92: YY_RULE_SETUP #line 1016 "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 93: YY_RULE_SETUP #line 1025 "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 94: YY_RULE_SETUP #line 1034 "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 95: YY_RULE_SETUP #line 1043 "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 96: YY_RULE_SETUP #line 1054 "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 97: YY_RULE_SETUP #line 1065 "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 98: YY_RULE_SETUP #line 1076 "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 99: YY_RULE_SETUP #line 1086 "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 100: YY_RULE_SETUP #line 1095 "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 101: YY_RULE_SETUP #line 1106 "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 102: YY_RULE_SETUP #line 1117 "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 103: YY_RULE_SETUP #line 1128 "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 104: YY_RULE_SETUP #line 1139 "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 105: YY_RULE_SETUP #line 1151 "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 106: YY_RULE_SETUP #line 1160 "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 107: YY_RULE_SETUP #line 1169 "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 108: YY_RULE_SETUP #line 1178 "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 109: YY_RULE_SETUP #line 1187 "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 110: YY_RULE_SETUP #line 1196 "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 111: YY_RULE_SETUP #line 1205 "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 112: YY_RULE_SETUP #line 1214 "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 113: YY_RULE_SETUP #line 1223 "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 114: YY_RULE_SETUP #line 1232 "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 115: YY_RULE_SETUP #line 1242 "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 116: YY_RULE_SETUP #line 1253 "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 117: YY_RULE_SETUP #line 1265 "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 118: YY_RULE_SETUP #line 1274 "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 119: YY_RULE_SETUP #line 1283 "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 120: YY_RULE_SETUP #line 1293 "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 121: YY_RULE_SETUP #line 1303 "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 122: YY_RULE_SETUP #line 1313 "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 123: YY_RULE_SETUP #line 1323 "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 124: YY_RULE_SETUP #line 1333 "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 125: YY_RULE_SETUP #line 1343 "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 126: YY_RULE_SETUP #line 1352 "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 127: YY_RULE_SETUP #line 1362 "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 128: YY_RULE_SETUP #line 1371 "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 129: YY_RULE_SETUP #line 1380 "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 130: YY_RULE_SETUP #line 1389 "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 131: YY_RULE_SETUP #line 1398 "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 132: YY_RULE_SETUP #line 1408 "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 133: YY_RULE_SETUP #line 1418 "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 134: YY_RULE_SETUP #line 1427 "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 135: YY_RULE_SETUP #line 1437 "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 136: YY_RULE_SETUP #line 1446 "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 137: YY_RULE_SETUP #line 1455 "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 138: YY_RULE_SETUP #line 1464 "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 139: YY_RULE_SETUP #line 1473 "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 140: YY_RULE_SETUP #line 1482 "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 141: YY_RULE_SETUP #line 1491 "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 142: YY_RULE_SETUP #line 1500 "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 143: YY_RULE_SETUP #line 1509 "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 144: YY_RULE_SETUP #line 1518 "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 145: YY_RULE_SETUP #line 1527 "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 146: YY_RULE_SETUP #line 1536 "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 147: YY_RULE_SETUP #line 1545 "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 148: YY_RULE_SETUP #line 1554 "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 149: YY_RULE_SETUP #line 1563 "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 150: YY_RULE_SETUP #line 1572 "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 151: YY_RULE_SETUP #line 1581 "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 152: YY_RULE_SETUP #line 1590 "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 153: YY_RULE_SETUP #line 1599 "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 154: YY_RULE_SETUP #line 1608 "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 155: YY_RULE_SETUP #line 1617 "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 156: YY_RULE_SETUP #line 1626 "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 157: YY_RULE_SETUP #line 1635 "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 158: YY_RULE_SETUP #line 1644 "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 159: YY_RULE_SETUP #line 1653 "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 160: YY_RULE_SETUP #line 1662 "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 161: YY_RULE_SETUP #line 1671 "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 162: YY_RULE_SETUP #line 1680 "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 163: YY_RULE_SETUP #line 1689 "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 164: YY_RULE_SETUP #line 1698 "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 165: YY_RULE_SETUP #line 1707 "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 166: YY_RULE_SETUP #line 1716 "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 167: YY_RULE_SETUP #line 1725 "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 168: YY_RULE_SETUP #line 1734 "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 169: YY_RULE_SETUP #line 1743 "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 170: YY_RULE_SETUP #line 1752 "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 171: YY_RULE_SETUP #line 1764 "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 172: YY_RULE_SETUP #line 1776 "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 173: YY_RULE_SETUP #line 1786 "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 174: YY_RULE_SETUP #line 1796 "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 175: YY_RULE_SETUP #line 1806 "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 176: YY_RULE_SETUP #line 1816 "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 177: YY_RULE_SETUP #line 1826 "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 178: YY_RULE_SETUP #line 1836 "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 179: YY_RULE_SETUP #line 1846 "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 180: YY_RULE_SETUP #line 1856 "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 181: YY_RULE_SETUP #line 1866 "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 182: YY_RULE_SETUP #line 1875 "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 183: YY_RULE_SETUP #line 1884 "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 184: YY_RULE_SETUP #line 1893 "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 185: YY_RULE_SETUP #line 1902 "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 186: YY_RULE_SETUP #line 1913 "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 187: YY_RULE_SETUP #line 1924 "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 188: YY_RULE_SETUP #line 1937 "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 189: YY_RULE_SETUP #line 1950 "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 190: YY_RULE_SETUP #line 1963 "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 191: YY_RULE_SETUP #line 1972 "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 192: YY_RULE_SETUP #line 1981 "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 193: YY_RULE_SETUP #line 1990 "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 194: YY_RULE_SETUP #line 1999 "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 195: YY_RULE_SETUP #line 2008 "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(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 196: /* rule 196 can match eol */ YY_RULE_SETUP #line 2109 "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 197: /* rule 197 can match eol */ YY_RULE_SETUP #line 2125 "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 198: YY_RULE_SETUP #line 2174 "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 199: YY_RULE_SETUP #line 2182 "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 200: YY_RULE_SETUP #line 2197 "dhcp4_lexer.ll" { return isc::dhcp::Dhcp4Parser::make_LSQUARE_BRACKET(driver.loc_); } YY_BREAK case 201: YY_RULE_SETUP #line 2198 "dhcp4_lexer.ll" { return isc::dhcp::Dhcp4Parser::make_RSQUARE_BRACKET(driver.loc_); } YY_BREAK case 202: YY_RULE_SETUP #line 2199 "dhcp4_lexer.ll" { return isc::dhcp::Dhcp4Parser::make_LCURLY_BRACKET(driver.loc_); } YY_BREAK case 203: YY_RULE_SETUP #line 2200 "dhcp4_lexer.ll" { return isc::dhcp::Dhcp4Parser::make_RCURLY_BRACKET(driver.loc_); } YY_BREAK case 204: YY_RULE_SETUP #line 2201 "dhcp4_lexer.ll" { return isc::dhcp::Dhcp4Parser::make_COMMA(driver.loc_); } YY_BREAK case 205: YY_RULE_SETUP #line 2202 "dhcp4_lexer.ll" { return isc::dhcp::Dhcp4Parser::make_COLON(driver.loc_); } YY_BREAK case 206: YY_RULE_SETUP #line 2204 "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(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 207: YY_RULE_SETUP #line 2222 "dhcp4_lexer.ll" { /* A floating point was found. */ std::string tmp(yytext); double fp = 0.0; try { fp = boost::lexical_cast(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 208: YY_RULE_SETUP #line 2235 "dhcp4_lexer.ll" { string tmp(yytext); return isc::dhcp::Dhcp4Parser::make_BOOLEAN(tmp == "true", driver.loc_); } YY_BREAK case 209: YY_RULE_SETUP #line 2240 "dhcp4_lexer.ll" { return isc::dhcp::Dhcp4Parser::make_NULL_TYPE(driver.loc_); } YY_BREAK case 210: YY_RULE_SETUP #line 2244 "dhcp4_lexer.ll" driver.error (driver.loc_, "JSON true reserved keyword is lower case only"); YY_BREAK case 211: YY_RULE_SETUP #line 2246 "dhcp4_lexer.ll" driver.error (driver.loc_, "JSON false reserved keyword is lower case only"); YY_BREAK case 212: YY_RULE_SETUP #line 2248 "dhcp4_lexer.ll" driver.error (driver.loc_, "JSON null reserved keyword is lower case only"); YY_BREAK case 213: YY_RULE_SETUP #line 2250 "dhcp4_lexer.ll" driver.error (driver.loc_, "Invalid character: " + std::string(yytext)); YY_BREAK case YY_STATE_EOF(INITIAL): #line 2252 "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 214: YY_RULE_SETUP #line 2275 "dhcp4_lexer.ll" ECHO; YY_BREAK #line 5310 "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 >= 2061 ) 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 >= 2061 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; yy_is_jam = (yy_current_state == 2060); 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 2275 "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_ = ""; 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(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__ */