diff options
-rw-r--r-- | usr.sbin/unbound/util/configlexer.c | 3850 | ||||
-rw-r--r-- | usr.sbin/unbound/util/configparser.c | 3811 | ||||
-rw-r--r-- | usr.sbin/unbound/util/configparser.h | 314 |
3 files changed, 0 insertions, 7975 deletions
diff --git a/usr.sbin/unbound/util/configlexer.c b/usr.sbin/unbound/util/configlexer.c deleted file mode 100644 index 132e42c5b07..00000000000 --- a/usr.sbin/unbound/util/configlexer.c +++ /dev/null @@ -1,3850 +0,0 @@ -#include "config.h" -#include "util/configyyrename.h" - -#line 3 "<stdout>" - -#define YY_INT_ALIGNED short int - -/* A lexical scanner generated by flex */ - -#define FLEX_SCANNER -#define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 -#define YY_FLEX_SUBMINOR_VERSION 35 -#if YY_FLEX_SUBMINOR_VERSION > 0 -#define FLEX_BETA -#endif - -/* First, we deal with platform-specific or compiler-specific issues. */ - -/* begin standard C headers. */ -#include <stdio.h> -#include <string.h> -#include <errno.h> -#include <stdlib.h> - -/* end standard C headers. */ - -/* flex integer type definitions */ - -#ifndef FLEXINT_H -#define FLEXINT_H - -/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ - -#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L - -/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, - * if you want the limit (max/min) macros for int types. - */ -#ifndef __STDC_LIMIT_MACROS -#define __STDC_LIMIT_MACROS 1 -#endif - -#include <inttypes.h> -typedef int8_t flex_int8_t; -typedef uint8_t flex_uint8_t; -typedef int16_t flex_int16_t; -typedef uint16_t flex_uint16_t; -typedef int32_t flex_int32_t; -typedef uint32_t flex_uint32_t; -#else -typedef signed char flex_int8_t; -typedef short int flex_int16_t; -typedef int flex_int32_t; -typedef unsigned char flex_uint8_t; -typedef unsigned short int flex_uint16_t; -typedef unsigned int flex_uint32_t; -#endif /* ! C99 */ - -/* Limits of integral types. */ -#ifndef INT8_MIN -#define INT8_MIN (-128) -#endif -#ifndef INT16_MIN -#define INT16_MIN (-32767-1) -#endif -#ifndef INT32_MIN -#define INT32_MIN (-2147483647-1) -#endif -#ifndef INT8_MAX -#define INT8_MAX (127) -#endif -#ifndef INT16_MAX -#define INT16_MAX (32767) -#endif -#ifndef INT32_MAX -#define INT32_MAX (2147483647) -#endif -#ifndef UINT8_MAX -#define UINT8_MAX (255U) -#endif -#ifndef UINT16_MAX -#define UINT16_MAX (65535U) -#endif -#ifndef UINT32_MAX -#define UINT32_MAX (4294967295U) -#endif - -#endif /* ! FLEXINT_H */ - -#ifdef __cplusplus - -/* The "const" storage-class-modifier is valid. */ -#define YY_USE_CONST - -#else /* ! __cplusplus */ - -/* C99 requires __STDC__ to be defined as 1. */ -#if defined (__STDC__) - -#define YY_USE_CONST - -#endif /* defined (__STDC__) */ -#endif /* ! __cplusplus */ - -#ifdef YY_USE_CONST -#define yyconst const -#else -#define yyconst -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN (yy_start) = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START (((yy_start) - 1) / 2) -#define YYSTATE YY_START - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart(yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#ifndef YY_BUF_SIZE -#define YY_BUF_SIZE 16384 -#endif - -/* The state buf must be large enough to hold one state per character in the main buffer. - */ -#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) - -#ifndef YY_TYPEDEF_YY_BUFFER_STATE -#define YY_TYPEDEF_YY_BUFFER_STATE -typedef struct yy_buffer_state *YY_BUFFER_STATE; -#endif - -extern int yyleng; - -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - - #define YY_LESS_LINENO(n) - -/* Return all but the first "n" matched characters back to the input stream. */ -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - int yyless_macro_arg = (n); \ - YY_LESS_LINENO(yyless_macro_arg);\ - *yy_cp = (yy_hold_char); \ - YY_RESTORE_YY_MORE_OFFSET \ - (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) yyunput( c, (yytext_ptr) ) - -#ifndef YY_TYPEDEF_YY_SIZE_T -#define YY_TYPEDEF_YY_SIZE_T -typedef size_t yy_size_t; -#endif - -#ifndef YY_STRUCT_YY_BUFFER_STATE -#define YY_STRUCT_YY_BUFFER_STATE -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - 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 */ - -/* Stack of input buffers. */ -static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ -static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ -static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - * - * Returns the top of the stack, or NULL. - */ -#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ - ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ - : NULL) - -/* Same as previous macro, but useful when we know that the buffer stack is not - * NULL or when we need an lvalue. For internal use only. - */ -#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; -static 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 = (char *) 0; -static int yy_init = 0; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart (FILE *input_file ); -void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); -YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); -void yy_delete_buffer (YY_BUFFER_STATE b ); -void yy_flush_buffer (YY_BUFFER_STATE b ); -void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); -void yypop_buffer_state (void ); - -static void yyensure_buffer_stack (void ); -static void yy_load_buffer_state (void ); -static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); - -#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) - -YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); -YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); -YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); - -void *yyalloc (yy_size_t ); -void *yyrealloc (void *,yy_size_t ); -void yyfree (void * ); - -#define yy_new_buffer yy_create_buffer - -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! YY_CURRENT_BUFFER ){ \ - yyensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ - yy_create_buffer(yyin,YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ - } - -#define yy_set_bol(at_bol) \ - { \ - if ( ! YY_CURRENT_BUFFER ){\ - yyensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ - yy_create_buffer(yyin,YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ - } - -#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) - -/* Begin user sect3 */ - -typedef unsigned char YY_CHAR; - -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; - -typedef int yy_state_type; - -extern int yylineno; - -int yylineno = 1; - -extern char *yytext; -#define yytext_ptr yytext - -static yy_state_type yy_get_previous_state (void ); -static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); -static int yy_get_next_buffer (void ); -static void yy_fatal_error (yyconst char msg[] ); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - (yytext_ptr) = yy_bp; \ - (yytext_ptr) -= (yy_more_len); \ - yyleng = (size_t) (yy_cp - (yytext_ptr)); \ - (yy_hold_char) = *yy_cp; \ - *yy_cp = '\0'; \ - (yy_c_buf_p) = yy_cp; - -#define YY_NUM_RULES 138 -#define YY_END_OF_BUFFER 139 -/* This struct is not used in this scanner, - but its presence is necessary. */ -struct yy_trans_info - { - flex_int32_t yy_verify; - flex_int32_t yy_nxt; - }; -static yyconst flex_int16_t yy_accept[1303] = - { 0, - 1, 1, 120, 120, 124, 124, 128, 128, 132, 132, - 1, 1, 139, 136, 1, 118, 118, 137, 2, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 137, 120, - 121, 121, 122, 137, 124, 125, 125, 126, 137, 131, - 128, 129, 129, 130, 137, 132, 133, 133, 134, 137, - 135, 119, 2, 123, 135, 137, 136, 0, 1, 2, - 2, 2, 2, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 120, 0, - 124, 0, 131, 0, 128, 132, 0, 135, 0, 2, - 2, 135, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 135, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 135, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 62, 136, 136, 136, 136, 136, 6, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 135, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 135, 136, - - 136, 136, 136, 27, 136, 136, 136, 136, 136, 12, - 13, 136, 15, 14, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 116, 136, - 136, 136, 136, 3, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 135, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - - 136, 136, 136, 136, 136, 136, 136, 127, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 30, 136, 136, 136, 136, 136, 136, 136, 31, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 75, 127, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 74, 136, 136, 136, 136, 136, - - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 60, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 20, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 28, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 29, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 22, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 25, 26, 136, 136, 136, 63, 64, - 136, 61, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 5, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 77, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 102, 101, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 32, 136, 136, 136, 136, - - 136, 136, 65, 136, 136, 136, 136, 136, 136, 98, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 51, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 100, 136, 136, 136, - 136, 136, 136, 136, 4, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 95, 136, 136, 136, 136, - - 136, 136, 136, 110, 96, 136, 21, 136, 136, 136, - 136, 67, 68, 66, 136, 136, 136, 136, 136, 136, - 73, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 97, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 59, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 17, 136, 136, 136, 16, - 136, 82, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 39, 40, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 72, 136, 136, 136, 136, 136, 136, 136, 136, - - 136, 136, 136, 136, 136, 76, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 115, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 86, 136, 90, 136, 136, 136, 136, 71, - 136, 136, 108, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 89, 136, 136, 136, - 136, 41, 42, 136, 47, 91, 136, 103, 99, 136, - 35, 136, 93, 136, 136, 136, 136, 136, 7, 136, - 58, 107, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - - 136, 136, 136, 136, 136, 78, 136, 136, 117, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 92, 34, 36, 136, 136, 136, 136, 136, 57, - 136, 136, 136, 111, 18, 19, 136, 136, 136, 136, - 136, 136, 55, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 113, 136, 136, 33, 136, 136, 136, 136, - 136, 136, 11, 136, 136, 136, 136, 136, 136, 10, - 136, 136, 37, 136, 112, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 85, 84, 136, 114, 109, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - - 43, 136, 136, 136, 136, 136, 38, 136, 136, 136, - 79, 81, 136, 136, 136, 83, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 23, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 106, 136, 136, 136, 136, 136, 136, - 136, 24, 136, 9, 136, 136, 104, 48, 136, 136, - 136, 88, 136, 69, 136, 136, 136, 50, 54, 49, - 136, 44, 136, 8, 136, 136, 87, 136, 136, 136, - 53, 136, 45, 136, 105, 136, 136, 80, 70, 52, - 46, 136, 136, 136, 136, 56, 136, 136, 136, 136, - - 94, 0 - } ; - -static yyconst flex_int32_t yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 2, 1, 5, 6, 1, 1, 1, 7, 1, - 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, - 9, 10, 1, 11, 1, 1, 1, 12, 1, 1, - 1, 1, 1, 1, 13, 14, 15, 16, 17, 18, - 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, - 1, 39, 1, 1, 1, 1, 40, 41, 42, 43, - - 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yyconst flex_int32_t yy_meta[66] = - { 0, - 1, 2, 3, 4, 5, 1, 6, 1, 1, 1, - 1, 7, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yyconst flex_int16_t yy_base[1317] = - { 0, - 0, 0, 63, 66, 69, 71, 77, 83, 88, 91, - 129, 135, 489, 442, 95, 3745, 3745, 3745, 107, 110, - 142, 140, 108, 50, 159, 147, 121, 148, 158, 174, - 191, 176, 190, 216, 225, 235, 214, 246, 116, 438, - 3745, 3745, 3745, 94, 437, 3745, 3745, 3745, 96, 430, - 435, 3745, 3745, 3745, 214, 333, 3745, 3745, 3745, 102, - 299, 3745, 289, 3745, 184, 293, 249, 297, 111, 0, - 301, 0, 0, 219, 223, 163, 272, 250, 284, 288, - 285, 282, 309, 292, 287, 290, 302, 314, 232, 296, - 336, 294, 319, 345, 328, 331, 330, 346, 337, 334, - - 358, 349, 369, 364, 355, 187, 371, 370, 137, 375, - 385, 381, 376, 383, 393, 395, 397, 403, 239, 154, - 229, 199, 186, 442, 176, 115, 277, 90, 449, 457, - 0, 426, 413, 411, 431, 443, 439, 435, 432, 456, - 464, 488, 462, 448, 466, 445, 472, 469, 473, 489, - 495, 493, 500, 459, 496, 517, 520, 522, 519, 529, - 525, 537, 545, 535, 544, 531, 547, 532, 552, 546, - 543, 570, 562, 564, 549, 565, 566, 579, 569, 580, - 593, 604, 602, 606, 589, 596, 597, 607, 609, 603, - 619, 630, 624, 616, 639, 631, 633, 650, 651, 652, - - 623, 642, 658, 657, 643, 667, 645, 670, 668, 672, - 674, 684, 675, 690, 686, 689, 694, 695, 702, 710, - 712, 718, 713, 717, 724, 722, 740, 731, 723, 751, - 732, 755, 745, 742, 765, 762, 761, 758, 753, 773, - 750, 791, 782, 836, 780, 788, 778, 785, 787, 807, - 820, 813, 815, 817, 826, 829, 840, 837, 841, 842, - 860, 857, 872, 877, 862, 869, 884, 882, 885, 888, - 886, 898, 894, 897, 901, 904, 920, 909, 917, 911, - 929, 916, 938, 3745, 941, 919, 927, 936, 943, 3745, - 931, 932, 946, 944, 966, 979, 959, 958, 984, 968, - - 976, 973, 971, 1004, 972, 975, 1017, 994, 996, 1000, - 1008, 1011, 1016, 1018, 1010, 1024, 1035, 1039, 1015, 1043, - 1050, 1063, 1052, 1047, 1055, 776, 1057, 1059, 1061, 1075, - 1067, 1072, 1083, 1091, 1089, 1093, 1101, 1079, 1099, 1105, - 1112, 1107, 1108, 1094, 1116, 1110, 1103, 1121, 1118, 1126, - 1138, 1122, 1146, 1149, 1142, 1152, 1162, 1153, 1158, 1160, - 1165, 1148, 1164, 1189, 1168, 1191, 1204, 1187, 1192, 1199, - 1207, 1206, 1209, 1195, 1197, 1193, 1190, 1221, 1217, 1223, - 1228, 1231, 1226, 1229, 1242, 1244, 1235, 1247, 1248, 1253, - 1258, 1257, 1262, 1272, 1265, 1274, 1270, 1268, 1291, 1295, - - 1299, 1284, 1306, 3745, 1290, 1308, 1301, 1294, 1309, 3745, - 3745, 1310, 3745, 3745, 1304, 1314, 1334, 1318, 1364, 1343, - 1332, 1328, 1354, 1316, 1345, 1359, 1347, 1372, 1375, 1365, - 1369, 1386, 1389, 1391, 1393, 1392, 1401, 1404, 1402, 1414, - 1415, 1409, 1420, 1419, 1430, 1424, 1418, 1421, 3745, 1434, - 1429, 1438, 1452, 3745, 1441, 1448, 1451, 1450, 1453, 1449, - 1456, 1465, 1477, 1467, 1468, 1482, 1479, 1492, 1487, 1478, - 1495, 1498, 1489, 1511, 1519, 1514, 1505, 1508, 1530, 1513, - 1527, 1528, 1516, 1532, 1526, 1525, 1537, 1576, 1538, 1541, - 1546, 1548, 1550, 1553, 1564, 1578, 1594, 1577, 1569, 1572, - - 1589, 1596, 1599, 1586, 1605, 1615, 1614, 3745, 1629, 1627, - 1612, 1622, 1628, 1634, 1617, 1632, 1626, 1638, 1639, 1642, - 3745, 1653, 1645, 1662, 1666, 1665, 1675, 1682, 3745, 1685, - 1683, 1688, 1681, 1670, 1697, 1694, 1701, 1680, 1698, 1705, - 1707, 1702, 1719, 1712, 1715, 1723, 1732, 1733, 1726, 1742, - 1729, 1692, 1752, 1739, 1741, 1751, 1747, 1746, 396, 1757, - 1767, 1763, 1762, 3745, 76, 1766, 1768, 1771, 1759, 1781, - 1794, 1778, 1786, 1796, 1789, 1797, 1806, 1793, 1808, 1810, - 1803, 1820, 1813, 1830, 1814, 1821, 1831, 1826, 1833, 1828, - 1844, 1847, 1848, 1842, 3745, 1869, 1852, 1856, 1860, 1871, - - 1886, 1872, 1875, 1892, 1889, 1895, 1896, 1893, 1883, 1887, - 1908, 1910, 1904, 1911, 1925, 1918, 3745, 1922, 1931, 1930, - 1933, 1932, 1936, 1937, 1940, 1950, 1954, 3745, 1959, 1964, - 1953, 1976, 1979, 1978, 1984, 1967, 1980, 1982, 1988, 1977, - 1991, 1994, 3745, 1992, 2002, 2003, 2004, 2007, 2006, 2012, - 2013, 2017, 2009, 2030, 2018, 2021, 2024, 2026, 2029, 2033, - 2028, 2039, 3745, 2067, 2044, 2054, 2056, 2057, 2059, 2073, - 2055, 2064, 2065, 2068, 2085, 2086, 2091, 2092, 2089, 2088, - 2102, 2100, 2104, 2115, 2126, 2123, 3745, 2127, 2114, 2119, - 2143, 2133, 2125, 2130, 2134, 2151, 2137, 2139, 2150, 2153, - - 2148, 2147, 2164, 2180, 2177, 2159, 2160, 2175, 2174, 2188, - 2187, 2178, 2197, 3745, 3745, 2205, 2202, 2201, 3745, 3745, - 2212, 3745, 2213, 2217, 2207, 2206, 2215, 2208, 2226, 2221, - 2235, 2224, 2227, 2248, 2237, 2250, 3745, 2239, 2245, 2260, - 2247, 2249, 2251, 2268, 2275, 2264, 2265, 2276, 2283, 3745, - 2288, 2274, 2278, 2304, 2305, 2291, 2294, 2308, 2296, 2317, - 2311, 2320, 2310, 2307, 2323, 2315, 2312, 2332, 2334, 2333, - 2337, 2341, 2348, 2351, 2364, 2350, 3745, 3745, 2365, 2368, - 2360, 2355, 2385, 2372, 2352, 2383, 2382, 2391, 2387, 2392, - 2361, 2389, 2410, 2399, 2409, 3745, 2421, 2424, 2416, 2429, - - 2417, 2432, 3745, 2420, 2426, 2434, 2431, 2444, 2445, 3745, - 2447, 2442, 2459, 2465, 2471, 2466, 2455, 2468, 2480, 2474, - 2469, 2472, 2489, 2492, 2482, 2506, 2513, 2514, 2508, 2518, - 2493, 2501, 2502, 2503, 2524, 2525, 2526, 2510, 2529, 3745, - 2538, 2528, 2540, 2533, 2542, 2553, 2547, 2549, 2537, 2550, - 2551, 2545, 2562, 2556, 2574, 2559, 3745, 2578, 2584, 2583, - 2573, 2593, 2577, 2580, 3745, 2607, 2617, 2588, 2609, 2622, - 2619, 2618, 2605, 2613, 2610, 2632, 2633, 2637, 2631, 2620, - 2636, 2661, 2662, 2670, 2665, 2655, 2675, 2660, 2669, 2664, - 2654, 2678, 2663, 2682, 2671, 3745, 2681, 2686, 2693, 2689, - - 2696, 2698, 2705, 3745, 3745, 2703, 3745, 2706, 2699, 2710, - 2712, 3745, 3745, 3745, 2713, 2728, 2726, 2734, 2736, 2729, - 3745, 2740, 2730, 2748, 2731, 2739, 2756, 2757, 2744, 2753, - 3745, 2755, 2762, 2754, 2776, 2788, 2766, 2789, 2795, 2793, - 2796, 2784, 2786, 2808, 2800, 3745, 2790, 2804, 2807, 2814, - 2828, 2821, 2827, 2833, 2841, 3745, 2829, 2823, 2831, 3745, - 2845, 3745, 2853, 2836, 2835, 2849, 2866, 2852, 2858, 2878, - 2876, 2870, 2884, 2879, 3745, 3745, 2880, 2890, 2891, 2886, - 2894, 2896, 2897, 2910, 2869, 2901, 2905, 2911, 2913, 2919, - 2914, 3745, 2933, 2940, 2923, 2932, 2947, 2944, 2949, 2938, - - 2952, 2953, 2950, 2954, 2955, 3745, 2959, 2966, 2965, 2968, - 2967, 2977, 2970, 2986, 2988, 2971, 2989, 3745, 2999, 2979, - 3000, 2991, 3004, 2994, 2995, 3012, 3015, 3010, 3014, 3029, - 3028, 3030, 3745, 3024, 3745, 3031, 3042, 3049, 3053, 3745, - 3048, 3047, 3745, 3061, 3067, 3066, 3069, 3065, 3077, 3074, - 3058, 3080, 3082, 3092, 3086, 3081, 3745, 3094, 3093, 3095, - 3113, 3745, 3745, 3111, 3745, 3745, 3116, 3745, 3745, 3117, - 3745, 3118, 3745, 3127, 3125, 3119, 3106, 3129, 3745, 3131, - 3745, 3745, 3136, 3130, 3142, 3148, 3149, 3150, 3139, 3146, - 3153, 3155, 3158, 3152, 3160, 3162, 3157, 3161, 3173, 3166, - - 3182, 3177, 3197, 3198, 3201, 3745, 3187, 3206, 3745, 3211, - 3209, 3200, 3194, 3208, 3204, 3221, 3216, 3210, 3229, 3222, - 3230, 3745, 3745, 3745, 3231, 3243, 3252, 3239, 3237, 3745, - 3259, 3242, 3260, 3745, 3745, 3745, 3262, 3253, 3256, 3267, - 3269, 3268, 3745, 3270, 3279, 3286, 3278, 3298, 3300, 3308, - 3307, 3309, 3745, 3305, 3302, 3745, 3312, 3303, 3313, 3317, - 3318, 3324, 3745, 3304, 3328, 3321, 3329, 3344, 3349, 3745, - 3348, 3345, 3745, 3359, 3745, 3341, 3362, 3364, 3366, 3369, - 3355, 3356, 3368, 3377, 3374, 3745, 3745, 3381, 3745, 3745, - 3379, 3372, 3383, 3391, 3393, 3406, 3395, 3386, 3394, 3396, - - 3745, 3414, 3408, 3424, 3423, 3419, 3745, 3422, 3420, 3435, - 3745, 3745, 3429, 3436, 3439, 3745, 3440, 3443, 3438, 3453, - 3469, 3462, 3458, 3454, 3470, 3472, 3456, 3467, 3476, 3483, - 3745, 3490, 3487, 3484, 3491, 3492, 3489, 3500, 3501, 3493, - 3510, 3502, 3504, 3745, 3511, 3519, 3526, 3530, 3532, 3531, - 3540, 3745, 3541, 3745, 3543, 3539, 3745, 3745, 3537, 3547, - 3549, 3745, 3550, 3745, 3553, 3556, 3557, 3745, 3745, 3745, - 3560, 3745, 3558, 3745, 3565, 3563, 3745, 3568, 3575, 3579, - 3745, 3591, 3745, 3593, 3745, 3582, 3595, 3745, 3745, 3745, - 3745, 3597, 3583, 3598, 3590, 3745, 3589, 3600, 3588, 3608, - - 3745, 3745, 3653, 3660, 3667, 3674, 3681, 82, 3688, 3695, - 3702, 3709, 3716, 3723, 3730, 3737 - } ; - -static yyconst flex_int16_t yy_def[1317] = - { 0, - 1302, 1, 1303, 1303, 1304, 1304, 1305, 1305, 1306, 1306, - 1307, 1307, 1302, 1308, 1302, 1302, 1302, 1302, 1309, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1310, - 1302, 1302, 1302, 1310, 1311, 1302, 1302, 1302, 1311, 1312, - 1302, 1302, 1302, 1302, 1312, 1313, 1302, 1302, 1302, 1313, - 1314, 1302, 1315, 1302, 1314, 1314, 1308, 1308, 1302, 1316, - 1309, 1316, 1309, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1310, 1310, - 1311, 1311, 1312, 1312, 1302, 1313, 1313, 1314, 1314, 1315, - 1315, 1314, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1314, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1314, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1302, 1308, 1308, 1308, 1308, 1308, 1302, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1314, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1314, 1308, - - 1308, 1308, 1308, 1302, 1308, 1308, 1308, 1308, 1308, 1302, - 1302, 1308, 1302, 1302, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1302, 1308, - 1308, 1308, 1308, 1302, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1314, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1302, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1302, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1302, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1302, 1314, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1302, 1308, 1308, 1308, 1308, 1308, - - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1302, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1302, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1302, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1302, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1302, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1302, 1302, 1308, 1308, 1308, 1302, 1302, - 1308, 1302, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1302, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1302, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1302, 1302, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1302, 1308, 1308, 1308, 1308, - - 1308, 1308, 1302, 1308, 1308, 1308, 1308, 1308, 1308, 1302, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1302, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1302, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1302, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1302, 1308, 1308, 1308, 1308, - - 1308, 1308, 1308, 1302, 1302, 1308, 1302, 1308, 1308, 1308, - 1308, 1302, 1302, 1302, 1308, 1308, 1308, 1308, 1308, 1308, - 1302, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1302, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1302, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1302, 1308, 1308, 1308, 1302, - 1308, 1302, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1302, 1302, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1302, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - - 1308, 1308, 1308, 1308, 1308, 1302, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1302, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1302, 1308, 1302, 1308, 1308, 1308, 1308, 1302, - 1308, 1308, 1302, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1302, 1308, 1308, 1308, - 1308, 1302, 1302, 1308, 1302, 1302, 1308, 1302, 1302, 1308, - 1302, 1308, 1302, 1308, 1308, 1308, 1308, 1308, 1302, 1308, - 1302, 1302, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - - 1308, 1308, 1308, 1308, 1308, 1302, 1308, 1308, 1302, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1302, 1302, 1302, 1308, 1308, 1308, 1308, 1308, 1302, - 1308, 1308, 1308, 1302, 1302, 1302, 1308, 1308, 1308, 1308, - 1308, 1308, 1302, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1302, 1308, 1308, 1302, 1308, 1308, 1308, 1308, - 1308, 1308, 1302, 1308, 1308, 1308, 1308, 1308, 1308, 1302, - 1308, 1308, 1302, 1308, 1302, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1302, 1302, 1308, 1302, 1302, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - - 1302, 1308, 1308, 1308, 1308, 1308, 1302, 1308, 1308, 1308, - 1302, 1302, 1308, 1308, 1308, 1302, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1302, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1308, 1308, 1302, 1308, 1308, 1308, 1308, 1308, 1308, - 1308, 1302, 1308, 1302, 1308, 1308, 1302, 1302, 1308, 1308, - 1308, 1302, 1308, 1302, 1308, 1308, 1308, 1302, 1302, 1302, - 1308, 1302, 1308, 1302, 1308, 1308, 1302, 1308, 1308, 1308, - 1302, 1308, 1302, 1308, 1302, 1308, 1308, 1302, 1302, 1302, - 1302, 1308, 1308, 1308, 1308, 1302, 1308, 1308, 1308, 1308, - - 1302, 0, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, - 1302, 1302, 1302, 1302, 1302, 1302 - } ; - -static yyconst flex_int16_t yy_nxt[3811] = - { 0, - 14, 15, 16, 17, 18, 19, 18, 14, 14, 14, - 14, 18, 20, 14, 21, 22, 23, 24, 14, 25, - 26, 27, 28, 29, 30, 31, 32, 33, 14, 34, - 35, 36, 37, 38, 14, 14, 14, 14, 39, 20, - 14, 21, 22, 23, 24, 14, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 14, 34, 35, 36, 37, - 38, 14, 14, 14, 14, 41, 42, 43, 41, 42, - 43, 46, 47, 46, 47, 48, 86, 48, 51, 52, - 53, 54, 67, 18, 51, 52, 53, 54, 68, 18, - 57, 58, 59, 57, 58, 59, 69, 119, 119, 121, - - 70, 44, 121, 86, 44, 126, 126, 49, 72, 49, - 72, 72, 69, 72, 129, 55, 70, 67, 72, 67, - 67, 55, 67, 84, 74, 75, 60, 67, 129, 60, - 15, 16, 17, 62, 63, 64, 15, 16, 17, 62, - 63, 64, 76, 85, 174, 73, 68, 92, 68, 65, - 84, 74, 75, 127, 77, 65, 80, 119, 119, 68, - 81, 78, 89, 82, 93, 90, 83, 66, 79, 76, - 85, 87, 91, 66, 92, 68, 65, 125, 68, 88, - 68, 77, 65, 80, 94, 68, 68, 81, 78, 89, - 82, 93, 90, 83, 135, 79, 68, 68, 87, 91, - - 95, 68, 121, 97, 96, 121, 88, 98, 100, 132, - 101, 94, 68, 171, 68, 123, 102, 123, 123, 103, - 123, 135, 129, 99, 124, 68, 104, 95, 68, 68, - 97, 96, 105, 133, 98, 100, 132, 101, 134, 115, - 171, 108, 106, 102, 116, 107, 103, 112, 149, 113, - 99, 109, 68, 104, 68, 110, 111, 68, 117, 105, - 133, 68, 118, 68, 114, 134, 115, 122, 108, 106, - 68, 116, 107, 68, 112, 149, 113, 120, 109, 137, - 126, 126, 110, 111, 68, 117, 136, 68, 68, 118, - 72, 114, 72, 72, 128, 72, 128, 128, 67, 128, - - 67, 67, 72, 67, 72, 72, 137, 72, 67, 138, - 68, 139, 72, 136, 140, 141, 142, 144, 145, 146, - 68, 150, 68, 68, 154, 68, 68, 131, 68, 148, - 68, 147, 68, 143, 68, 155, 138, 129, 139, 73, - 68, 140, 141, 159, 144, 145, 146, 68, 150, 160, - 151, 154, 68, 152, 161, 156, 148, 68, 147, 157, - 143, 163, 155, 158, 162, 164, 68, 153, 68, 68, - 159, 127, 68, 165, 68, 68, 160, 151, 166, 170, - 152, 161, 156, 68, 68, 167, 157, 68, 163, 168, - 158, 162, 164, 68, 153, 169, 68, 176, 175, 173, - - 165, 172, 68, 179, 647, 166, 170, 68, 68, 68, - 178, 182, 167, 68, 68, 180, 168, 177, 187, 68, - 183, 68, 169, 68, 176, 175, 173, 181, 172, 186, - 179, 68, 184, 68, 68, 68, 125, 178, 182, 192, - 185, 68, 180, 123, 177, 123, 123, 183, 123, 68, - 128, 68, 128, 128, 181, 128, 186, 188, 72, 184, - 72, 72, 189, 72, 129, 190, 191, 185, 124, 68, - 68, 194, 193, 68, 200, 122, 120, 68, 201, 203, - 68, 68, 202, 68, 188, 205, 68, 204, 1302, 189, - 212, 1302, 190, 191, 68, 131, 1302, 68, 206, 193, - - 68, 200, 68, 195, 68, 201, 203, 68, 196, 202, - 68, 68, 205, 197, 204, 207, 211, 212, 208, 198, - 199, 209, 210, 213, 214, 206, 68, 68, 1302, 216, - 195, 68, 215, 68, 68, 196, 219, 1302, 68, 217, - 197, 220, 207, 211, 221, 208, 198, 199, 209, 210, - 213, 218, 222, 223, 1302, 68, 235, 68, 68, 215, - 68, 224, 225, 68, 226, 227, 217, 68, 220, 68, - 68, 228, 229, 68, 230, 68, 239, 1302, 218, 237, - 223, 68, 68, 68, 68, 68, 231, 68, 224, 225, - 68, 226, 227, 233, 234, 232, 236, 238, 228, 229, - - 68, 230, 68, 68, 68, 241, 237, 68, 68, 244, - 240, 242, 247, 231, 250, 1302, 249, 68, 68, 245, - 233, 234, 232, 236, 238, 251, 248, 129, 256, 252, - 263, 68, 241, 243, 68, 68, 246, 240, 255, 247, - 68, 68, 68, 249, 68, 68, 245, 68, 253, 254, - 267, 257, 251, 248, 68, 256, 252, 68, 258, 259, - 243, 68, 68, 246, 260, 255, 261, 264, 68, 68, - 265, 68, 262, 266, 269, 253, 254, 68, 257, 1302, - 68, 68, 275, 68, 272, 258, 259, 1302, 68, 68, - 68, 260, 271, 261, 264, 68, 68, 265, 268, 262, - - 266, 269, 270, 273, 276, 68, 68, 274, 68, 277, - 68, 272, 68, 68, 280, 282, 283, 278, 281, 271, - 279, 284, 68, 1302, 68, 268, 285, 68, 68, 270, - 273, 276, 68, 68, 274, 290, 277, 289, 291, 288, - 68, 280, 282, 283, 278, 281, 286, 279, 68, 287, - 68, 68, 292, 285, 294, 68, 68, 293, 295, 298, - 68, 68, 68, 296, 289, 291, 288, 299, 304, 68, - 68, 297, 1302, 286, 305, 308, 287, 1302, 68, 292, - 68, 294, 303, 68, 293, 306, 298, 404, 68, 68, - 296, 68, 300, 68, 299, 301, 68, 302, 297, 68, - - 68, 305, 308, 68, 307, 309, 319, 311, 320, 303, - 321, 68, 306, 323, 68, 322, 129, 1302, 68, 300, - 68, 310, 301, 68, 302, 68, 68, 325, 1302, 68, - 1302, 307, 309, 319, 311, 320, 1302, 321, 324, 1302, - 323, 327, 322, 328, 326, 68, 332, 333, 310, 312, - 313, 68, 1302, 68, 330, 68, 331, 329, 68, 314, - 1302, 315, 316, 317, 68, 324, 318, 68, 327, 335, - 328, 326, 334, 1302, 68, 68, 312, 313, 68, 68, - 68, 330, 337, 331, 329, 338, 314, 336, 315, 316, - 317, 340, 339, 318, 341, 68, 335, 1302, 68, 334, - - 68, 345, 344, 346, 342, 348, 347, 68, 1302, 337, - 68, 349, 338, 350, 336, 68, 352, 343, 340, 339, - 68, 341, 68, 68, 68, 351, 68, 353, 345, 344, - 346, 342, 68, 347, 356, 68, 68, 355, 349, 68, - 350, 354, 68, 352, 343, 357, 362, 68, 358, 68, - 359, 361, 351, 360, 68, 68, 363, 68, 68, 1302, - 368, 356, 365, 366, 355, 68, 364, 68, 354, 68, - 68, 367, 357, 362, 68, 358, 68, 359, 361, 68, - 360, 68, 68, 363, 68, 369, 370, 368, 371, 365, - 366, 372, 375, 364, 374, 1302, 68, 68, 367, 373, - - 376, 377, 383, 382, 68, 1302, 68, 1302, 387, 68, - 68, 68, 369, 68, 68, 371, 378, 68, 372, 375, - 389, 374, 68, 379, 384, 386, 373, 376, 377, 383, - 382, 380, 68, 385, 68, 387, 388, 390, 68, 391, - 393, 381, 68, 378, 392, 397, 68, 389, 68, 68, - 379, 395, 386, 68, 68, 68, 68, 394, 380, 396, - 385, 1302, 68, 388, 390, 399, 391, 393, 381, 398, - 400, 392, 397, 68, 1302, 401, 402, 68, 395, 403, - 405, 68, 406, 410, 394, 68, 396, 407, 129, 408, - 68, 409, 399, 68, 411, 68, 398, 68, 412, 68, - - 413, 68, 401, 402, 414, 68, 403, 405, 415, 406, - 68, 416, 1302, 68, 407, 417, 408, 68, 409, 419, - 418, 68, 420, 423, 421, 422, 424, 68, 425, 68, - 429, 68, 68, 430, 1302, 426, 432, 68, 416, 68, - 427, 68, 417, 68, 428, 68, 68, 418, 68, 420, - 68, 421, 422, 424, 68, 425, 68, 429, 431, 68, - 68, 433, 426, 432, 68, 435, 436, 427, 437, 438, - 439, 428, 440, 1302, 441, 1302, 68, 443, 1302, 1302, - 68, 442, 446, 434, 68, 431, 68, 68, 433, 444, - 68, 68, 435, 436, 450, 437, 68, 439, 68, 440, - - 68, 441, 68, 68, 443, 445, 68, 447, 442, 446, - 434, 448, 451, 452, 453, 449, 444, 1302, 454, 455, - 1302, 460, 456, 459, 457, 68, 458, 68, 68, 68, - 68, 68, 445, 68, 447, 68, 461, 68, 465, 451, - 452, 467, 68, 462, 68, 68, 455, 68, 460, 456, - 459, 457, 463, 458, 464, 68, 466, 468, 1302, 68, - 469, 68, 470, 461, 68, 1302, 68, 68, 467, 68, - 462, 473, 472, 68, 474, 475, 1302, 471, 476, 463, - 68, 464, 68, 466, 468, 68, 68, 469, 477, 470, - 480, 68, 479, 481, 478, 68, 68, 488, 473, 472, - - 68, 474, 475, 68, 471, 476, 68, 482, 68, 483, - 68, 1302, 68, 491, 484, 477, 485, 480, 486, 479, - 481, 478, 68, 489, 494, 497, 487, 508, 68, 129, - 490, 495, 68, 68, 482, 492, 483, 68, 493, 68, - 491, 484, 68, 485, 68, 486, 68, 68, 68, 496, - 489, 494, 68, 487, 68, 1302, 68, 490, 495, 504, - 1302, 505, 492, 509, 506, 493, 68, 1302, 507, 1302, - 68, 510, 68, 511, 1302, 1302, 496, 498, 1302, 499, - 1302, 68, 500, 68, 512, 68, 504, 501, 505, 513, - 509, 506, 68, 502, 503, 507, 514, 68, 510, 515, - - 511, 517, 68, 68, 498, 516, 499, 68, 520, 500, - 68, 512, 521, 68, 501, 1302, 513, 518, 522, 523, - 502, 503, 519, 514, 68, 531, 515, 68, 517, 68, - 68, 68, 516, 524, 525, 520, 527, 528, 526, 68, - 68, 529, 68, 530, 518, 522, 523, 68, 533, 519, - 535, 532, 68, 68, 534, 1302, 68, 68, 68, 68, - 524, 525, 68, 527, 528, 526, 536, 68, 68, 543, - 530, 544, 68, 538, 537, 533, 68, 535, 532, 68, - 539, 534, 540, 541, 542, 548, 68, 68, 68, 68, - 68, 68, 547, 536, 68, 545, 543, 546, 544, 551, - - 538, 537, 552, 68, 550, 68, 68, 539, 553, 540, - 541, 542, 548, 549, 555, 68, 68, 68, 554, 547, - 68, 556, 545, 557, 546, 68, 558, 68, 559, 552, - 68, 550, 561, 68, 560, 553, 68, 562, 564, 565, - 549, 555, 566, 68, 563, 554, 68, 567, 556, 68, - 557, 68, 68, 576, 68, 559, 568, 68, 1302, 561, - 569, 560, 570, 68, 68, 68, 129, 1302, 68, 566, - 68, 563, 578, 579, 567, 68, 68, 577, 581, 68, - 576, 582, 580, 568, 68, 583, 68, 569, 68, 570, - 571, 68, 572, 587, 588, 589, 573, 1302, 574, 578, - - 579, 590, 68, 575, 577, 581, 584, 68, 582, 580, - 68, 593, 591, 585, 68, 68, 68, 571, 592, 572, - 587, 588, 589, 573, 68, 574, 595, 68, 590, 596, - 575, 586, 68, 584, 68, 594, 597, 68, 593, 591, - 585, 598, 599, 68, 601, 592, 600, 603, 604, 608, - 68, 1302, 68, 68, 602, 68, 596, 605, 586, 607, - 68, 610, 594, 606, 68, 68, 68, 68, 598, 599, - 68, 601, 68, 600, 603, 604, 68, 68, 611, 609, - 68, 602, 612, 68, 605, 613, 607, 614, 610, 615, - 606, 68, 616, 1302, 1302, 618, 617, 626, 619, 640, - - 68, 622, 620, 68, 68, 611, 609, 621, 68, 612, - 624, 623, 613, 68, 614, 627, 628, 625, 68, 68, - 68, 68, 618, 68, 626, 619, 68, 629, 622, 620, - 68, 630, 68, 631, 621, 68, 68, 624, 623, 68, - 68, 632, 627, 68, 625, 68, 633, 634, 635, 636, - 68, 639, 643, 68, 629, 637, 638, 68, 630, 641, - 631, 68, 1302, 1302, 68, 642, 655, 68, 632, 646, - 68, 68, 645, 633, 634, 635, 636, 68, 639, 68, - 68, 644, 637, 638, 68, 68, 648, 649, 656, 68, - 68, 652, 642, 650, 653, 68, 646, 68, 651, 645, - - 68, 68, 654, 658, 68, 68, 68, 1302, 644, 68, - 657, 659, 660, 648, 649, 661, 68, 663, 652, 68, - 650, 653, 664, 662, 68, 651, 666, 68, 665, 654, - 658, 68, 68, 667, 68, 68, 668, 657, 659, 660, - 671, 68, 661, 669, 68, 670, 68, 672, 68, 664, - 662, 68, 68, 666, 673, 665, 674, 676, 68, 68, - 667, 677, 680, 668, 68, 675, 68, 671, 68, 68, - 669, 68, 670, 678, 672, 683, 681, 682, 1302, 679, - 68, 673, 68, 674, 676, 68, 68, 685, 677, 680, - 68, 684, 675, 686, 68, 689, 688, 687, 68, 690, - - 678, 691, 683, 1302, 682, 694, 679, 68, 695, 68, - 68, 692, 693, 68, 685, 697, 696, 698, 684, 1302, - 699, 68, 689, 688, 68, 68, 700, 68, 691, 1302, - 68, 68, 694, 68, 68, 695, 1302, 706, 692, 693, - 705, 1302, 68, 696, 1302, 701, 68, 699, 68, 68, - 702, 1302, 703, 700, 704, 711, 68, 707, 709, 708, - 68, 714, 710, 68, 706, 715, 712, 705, 68, 68, - 68, 68, 701, 716, 68, 68, 713, 702, 68, 703, - 717, 704, 711, 718, 707, 709, 708, 719, 68, 710, - 720, 68, 68, 712, 721, 722, 724, 68, 723, 730, - - 716, 725, 68, 713, 726, 68, 727, 717, 728, 731, - 718, 733, 729, 1302, 68, 68, 68, 68, 68, 732, - 68, 721, 68, 724, 737, 723, 68, 734, 725, 68, - 68, 726, 68, 727, 736, 728, 735, 740, 744, 729, - 68, 68, 68, 739, 68, 68, 732, 68, 738, 741, - 68, 68, 742, 743, 734, 68, 68, 747, 1302, 68, - 745, 736, 68, 735, 68, 744, 68, 68, 68, 746, - 739, 68, 753, 748, 749, 738, 741, 68, 750, 742, - 743, 751, 68, 752, 747, 757, 754, 745, 756, 758, - 755, 759, 68, 68, 68, 68, 746, 68, 760, 753, - - 748, 761, 68, 68, 762, 68, 68, 763, 751, 765, - 752, 68, 757, 754, 766, 756, 758, 755, 759, 767, - 769, 764, 770, 68, 68, 760, 68, 68, 761, 68, - 68, 762, 768, 771, 763, 772, 765, 1302, 68, 774, - 68, 766, 68, 773, 778, 1302, 767, 769, 764, 775, - 776, 781, 68, 68, 777, 779, 1302, 68, 782, 768, - 780, 68, 772, 68, 68, 68, 774, 783, 68, 784, - 773, 68, 68, 787, 792, 68, 775, 68, 781, 788, - 785, 68, 779, 786, 793, 68, 68, 780, 68, 68, - 789, 68, 790, 791, 783, 794, 784, 68, 68, 796, - - 787, 792, 68, 797, 799, 795, 788, 785, 802, 798, - 786, 793, 68, 68, 801, 68, 68, 789, 68, 790, - 791, 800, 794, 803, 1302, 68, 68, 804, 1302, 805, - 797, 808, 795, 806, 809, 68, 798, 810, 1302, 68, - 68, 801, 807, 68, 68, 68, 68, 812, 800, 814, - 68, 68, 811, 68, 804, 68, 805, 813, 808, 68, - 806, 809, 68, 815, 68, 68, 817, 816, 818, 807, - 819, 826, 820, 68, 812, 68, 814, 68, 821, 811, - 822, 824, 823, 68, 813, 68, 68, 68, 68, 68, - 815, 825, 832, 817, 816, 818, 827, 819, 68, 820, - - 829, 828, 68, 68, 830, 821, 68, 822, 824, 823, - 831, 833, 68, 68, 68, 1302, 68, 834, 825, 832, - 835, 68, 840, 827, 837, 836, 68, 829, 828, 68, - 838, 830, 68, 839, 68, 846, 841, 831, 843, 842, - 845, 848, 68, 68, 834, 68, 68, 835, 68, 68, - 68, 837, 836, 68, 844, 68, 847, 838, 68, 864, - 839, 68, 846, 841, 849, 843, 842, 845, 850, 853, - 68, 68, 68, 851, 852, 68, 857, 856, 1302, 68, - 859, 844, 858, 847, 854, 860, 68, 855, 68, 68, - 68, 849, 863, 68, 865, 850, 853, 870, 68, 68, - - 851, 852, 68, 68, 856, 861, 68, 859, 862, 858, - 68, 854, 860, 866, 855, 867, 868, 869, 871, 863, - 68, 68, 872, 68, 870, 68, 873, 68, 875, 68, - 68, 876, 861, 877, 1302, 862, 878, 68, 874, 882, - 866, 879, 867, 868, 869, 871, 880, 68, 68, 872, - 883, 1302, 881, 873, 68, 68, 1302, 889, 68, 68, - 877, 885, 68, 884, 68, 874, 882, 68, 879, 68, - 68, 886, 68, 880, 887, 890, 1302, 883, 888, 881, - 68, 891, 68, 68, 889, 68, 893, 892, 885, 894, - 884, 896, 898, 68, 895, 899, 900, 68, 886, 897, - - 908, 887, 890, 68, 68, 888, 68, 68, 891, 68, - 68, 902, 68, 893, 892, 901, 894, 915, 68, 898, - 68, 895, 899, 903, 904, 905, 897, 68, 906, 907, - 68, 68, 910, 909, 911, 912, 913, 914, 902, 68, - 68, 68, 901, 916, 68, 917, 68, 919, 68, 1302, - 903, 68, 68, 921, 923, 906, 68, 918, 1302, 910, - 909, 911, 68, 68, 68, 922, 68, 68, 927, 920, - 916, 68, 924, 931, 925, 68, 68, 930, 68, 926, - 68, 928, 929, 68, 918, 68, 933, 68, 68, 68, - 934, 68, 922, 932, 68, 927, 920, 68, 935, 924, - - 68, 925, 936, 937, 930, 939, 926, 941, 928, 929, - 938, 68, 68, 933, 940, 68, 68, 934, 68, 944, - 932, 68, 68, 942, 943, 935, 68, 945, 1302, 936, - 937, 68, 939, 946, 941, 947, 949, 938, 948, 950, - 951, 940, 956, 68, 1302, 68, 944, 68, 68, 952, - 942, 68, 957, 953, 945, 68, 68, 68, 68, 954, - 68, 958, 947, 949, 955, 948, 950, 951, 959, 68, - 68, 68, 963, 960, 68, 68, 952, 961, 964, 957, - 953, 962, 965, 966, 967, 970, 954, 968, 958, 972, - 969, 955, 68, 68, 973, 974, 971, 975, 68, 68, - - 68, 68, 68, 68, 976, 964, 977, 68, 68, 68, - 966, 967, 978, 68, 968, 979, 68, 969, 982, 68, - 68, 973, 974, 971, 68, 980, 981, 68, 984, 983, - 985, 68, 986, 977, 68, 988, 68, 68, 987, 978, - 992, 68, 979, 68, 68, 982, 990, 1302, 68, 991, - 68, 68, 980, 981, 989, 984, 983, 985, 993, 986, - 995, 994, 997, 996, 68, 987, 68, 68, 68, 68, - 1000, 1002, 68, 990, 68, 1003, 991, 68, 68, 998, - 999, 989, 68, 1004, 1001, 993, 68, 995, 994, 997, - 996, 68, 68, 68, 68, 68, 1005, 1000, 1002, 1006, - - 68, 1302, 1003, 1007, 68, 1008, 998, 999, 1009, 1010, - 1004, 1001, 1011, 1012, 68, 1014, 1015, 1013, 1018, 1302, - 1016, 1302, 68, 1005, 68, 1302, 68, 68, 68, 1017, - 1007, 68, 1008, 68, 68, 1009, 1010, 1019, 68, 1011, - 1012, 1022, 68, 1015, 1013, 68, 68, 1016, 1020, 1024, - 1023, 1021, 68, 1026, 1027, 1032, 1017, 1025, 1028, 68, - 1033, 68, 1029, 1035, 1019, 68, 68, 68, 1022, 68, - 1030, 68, 1031, 68, 68, 1020, 1024, 1023, 1021, 68, - 1026, 1027, 1032, 68, 1025, 1028, 1034, 68, 1036, 1029, - 68, 68, 1038, 1037, 1039, 1040, 68, 1030, 1041, 1031, - - 1042, 1043, 1302, 1044, 68, 1302, 1050, 68, 68, 1045, - 1046, 1047, 1302, 1034, 68, 1036, 68, 68, 68, 1038, - 1037, 1039, 68, 1048, 68, 1041, 1049, 1042, 68, 68, - 1044, 1051, 68, 1050, 68, 68, 1045, 1046, 1047, 68, - 1052, 1053, 1055, 68, 1057, 1054, 1056, 1059, 68, 68, - 1048, 68, 68, 1049, 1058, 1062, 1060, 68, 1051, 1061, - 1063, 68, 1064, 1065, 1066, 1068, 1069, 1052, 1053, 1055, - 68, 68, 1054, 1056, 1059, 1070, 68, 1071, 68, 1073, - 1067, 1058, 68, 1060, 1076, 68, 1061, 68, 68, 1064, - 68, 68, 68, 68, 1075, 1072, 1074, 68, 1077, 1079, - - 1081, 1080, 1070, 68, 68, 68, 68, 1067, 68, 68, - 1082, 1076, 1084, 1078, 1085, 68, 1083, 68, 1302, 1088, - 1086, 1075, 1072, 1074, 68, 1077, 68, 68, 1080, 68, - 1087, 1090, 68, 68, 1092, 1094, 1091, 68, 68, 1084, - 1078, 1085, 68, 1083, 1089, 1095, 1088, 1086, 68, 1093, - 68, 1097, 68, 68, 1098, 1096, 1099, 1087, 1090, 1302, - 1302, 1092, 68, 1091, 1302, 1100, 68, 68, 68, 68, - 1103, 1089, 1095, 1101, 1102, 1104, 1093, 1106, 1097, 1108, - 68, 1098, 1096, 1105, 1107, 68, 68, 68, 1109, 1111, - 1110, 68, 1100, 1115, 1302, 1112, 68, 1103, 1116, 68, - - 1101, 1102, 1104, 68, 68, 68, 1108, 68, 1114, 1118, - 1105, 1107, 68, 1113, 1119, 68, 1111, 1110, 68, 68, - 68, 1117, 1112, 1121, 68, 1116, 1120, 1122, 1123, 1124, - 68, 68, 68, 68, 1125, 1114, 1118, 1126, 1302, 1128, - 1113, 1119, 1130, 1132, 68, 1129, 1127, 1302, 1117, 68, - 1121, 68, 1131, 1120, 68, 68, 68, 68, 1133, 1134, - 1135, 1136, 1137, 68, 1126, 68, 1128, 68, 68, 68, - 1132, 1143, 1129, 1127, 68, 1138, 1139, 68, 1140, 1131, - 68, 1141, 1144, 1142, 68, 1133, 68, 68, 68, 1137, - 68, 68, 1146, 68, 1145, 68, 68, 1147, 68, 68, - - 68, 1148, 1138, 1139, 68, 1140, 1150, 1149, 1141, 1144, - 1142, 68, 1153, 1151, 1152, 68, 1154, 1164, 1155, 1146, - 68, 1145, 1156, 1159, 1147, 68, 1158, 1163, 1148, 1157, - 1302, 1161, 68, 1150, 1149, 68, 68, 1160, 68, 68, - 1151, 1152, 68, 1154, 68, 1155, 68, 68, 68, 68, - 1159, 1162, 1166, 1158, 68, 1165, 1157, 1169, 1161, 68, - 68, 1167, 1168, 1170, 1160, 1171, 1172, 68, 68, 68, - 1173, 1175, 1174, 1302, 1176, 68, 1178, 68, 1162, 1166, - 68, 68, 1165, 1179, 1169, 1180, 1177, 1181, 1167, 1168, - 68, 68, 1171, 1172, 68, 1183, 1182, 68, 68, 1174, - - 68, 1176, 1184, 1178, 1185, 68, 68, 68, 68, 1186, - 1179, 1187, 1180, 1177, 1181, 1188, 68, 68, 1189, 1302, - 1190, 1191, 1183, 1182, 68, 1192, 1193, 1194, 1302, 1184, - 1197, 1185, 1201, 1195, 1199, 1302, 68, 1196, 68, 1302, - 68, 68, 68, 68, 1198, 68, 68, 68, 1191, 1202, - 68, 68, 1192, 1193, 1194, 68, 68, 1197, 1200, 68, - 1195, 1199, 68, 1203, 1196, 1204, 68, 68, 1205, 1206, - 1207, 1198, 1208, 1302, 1209, 1215, 1202, 1211, 1210, 68, - 1212, 1214, 68, 68, 1213, 1200, 68, 68, 1216, 1217, - 1203, 1220, 1204, 68, 68, 1205, 1206, 68, 1218, 1208, - - 68, 1209, 68, 1222, 68, 1210, 68, 68, 1214, 1219, - 68, 1213, 68, 1221, 1227, 68, 1217, 68, 1220, 68, - 1223, 68, 1224, 1226, 68, 1218, 1225, 1228, 1229, 68, - 1222, 68, 68, 68, 68, 1231, 1219, 1230, 1232, 1233, - 1221, 1227, 1234, 1235, 68, 1237, 68, 1223, 1238, 1224, - 1226, 1302, 68, 1225, 1228, 1229, 1240, 68, 68, 1239, - 68, 68, 68, 1241, 1230, 1232, 1233, 68, 1242, 1234, - 1235, 1236, 1237, 68, 68, 1238, 68, 68, 68, 1243, - 1244, 68, 1245, 1240, 1247, 1246, 1239, 1252, 1249, 1248, - 1241, 68, 68, 1250, 68, 1242, 68, 1251, 1236, 1253, - - 68, 1254, 1257, 1258, 1262, 68, 1243, 68, 68, 1245, - 68, 1247, 1246, 1264, 68, 1249, 1248, 1256, 1255, 1259, - 1250, 68, 68, 1260, 1251, 68, 1253, 68, 68, 68, - 68, 68, 1261, 1263, 1265, 1267, 1266, 1268, 68, 68, - 68, 1269, 68, 1270, 1256, 1255, 1259, 1271, 68, 68, - 1260, 1272, 1302, 1273, 1274, 1275, 1276, 68, 1277, 1261, - 1263, 1265, 1267, 1266, 68, 1278, 1279, 1281, 68, 68, - 68, 1283, 1282, 1284, 1271, 68, 1285, 68, 68, 68, - 1273, 68, 1275, 1276, 1280, 68, 1288, 68, 68, 1286, - 1289, 68, 1278, 1279, 68, 68, 68, 1287, 68, 1282, - - 1284, 68, 1290, 68, 1291, 1292, 68, 1293, 1302, 1296, - 1297, 1280, 1294, 68, 1295, 1298, 1286, 68, 1300, 1301, - 68, 68, 1302, 1302, 1287, 1299, 68, 68, 68, 68, - 1302, 68, 1292, 68, 1293, 68, 68, 1297, 68, 1294, - 1302, 1295, 1298, 1302, 1302, 1300, 68, 1302, 1302, 1302, - 1302, 1302, 1299, 40, 40, 40, 40, 40, 40, 40, - 45, 45, 45, 45, 45, 45, 45, 50, 50, 50, - 50, 50, 50, 50, 56, 56, 56, 56, 56, 56, - 56, 61, 61, 61, 61, 61, 61, 61, 71, 71, - 1302, 71, 71, 71, 71, 119, 119, 1302, 1302, 1302, - - 119, 119, 121, 121, 1302, 1302, 121, 1302, 121, 123, - 1302, 1302, 1302, 1302, 1302, 123, 126, 126, 1302, 1302, - 1302, 126, 126, 128, 1302, 1302, 1302, 1302, 1302, 128, - 130, 130, 1302, 130, 130, 130, 130, 72, 72, 1302, - 72, 72, 72, 72, 13, 1302, 1302, 1302, 1302, 1302, - 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, - 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, - 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, - 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, - 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, - - 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302 - } ; - -static yyconst flex_int16_t yy_chk[3811] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 3, 3, 3, 4, 4, - 4, 5, 5, 6, 6, 5, 24, 6, 7, 7, - 7, 7, 1308, 7, 8, 8, 8, 8, 24, 8, - 9, 9, 9, 10, 10, 10, 15, 44, 44, 49, - - 15, 3, 49, 24, 4, 60, 60, 5, 19, 6, - 19, 19, 69, 19, 565, 7, 69, 39, 19, 39, - 39, 8, 39, 23, 20, 20, 9, 39, 128, 10, - 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, - 12, 12, 20, 23, 109, 19, 23, 27, 20, 11, - 23, 20, 20, 126, 21, 12, 22, 120, 120, 27, - 22, 21, 26, 22, 28, 26, 22, 11, 21, 20, - 23, 25, 26, 12, 27, 109, 11, 125, 22, 25, - 21, 21, 12, 22, 29, 26, 28, 22, 21, 26, - 22, 28, 26, 22, 76, 21, 29, 25, 25, 26, - - 30, 76, 122, 31, 30, 122, 25, 31, 32, 65, - 33, 29, 30, 106, 32, 55, 33, 55, 55, 33, - 55, 76, 65, 31, 123, 106, 33, 30, 33, 31, - 31, 30, 34, 74, 31, 32, 65, 33, 75, 37, - 106, 35, 34, 33, 37, 34, 33, 36, 89, 36, - 31, 35, 37, 33, 34, 35, 35, 74, 38, 34, - 74, 75, 38, 35, 36, 75, 37, 121, 35, 34, - 89, 37, 34, 36, 36, 89, 36, 119, 35, 78, - 127, 127, 35, 35, 38, 38, 77, 67, 78, 38, - 63, 36, 63, 63, 66, 63, 66, 66, 68, 66, - - 68, 68, 71, 68, 71, 71, 78, 71, 68, 79, - 77, 80, 71, 77, 81, 82, 83, 84, 85, 86, - 82, 90, 79, 81, 92, 85, 80, 63, 86, 88, - 84, 87, 92, 83, 90, 93, 79, 61, 80, 71, - 87, 81, 82, 95, 84, 85, 86, 83, 90, 96, - 91, 92, 88, 91, 97, 93, 88, 93, 87, 94, - 83, 99, 93, 94, 98, 100, 95, 91, 97, 96, - 95, 56, 100, 101, 91, 99, 96, 91, 102, 105, - 91, 97, 93, 94, 98, 103, 94, 102, 99, 103, - 94, 98, 100, 105, 91, 104, 101, 111, 110, 108, - - 101, 107, 104, 113, 559, 102, 105, 103, 108, 107, - 112, 116, 103, 110, 113, 114, 103, 111, 134, 112, - 117, 114, 104, 111, 111, 110, 108, 115, 107, 133, - 113, 115, 118, 116, 559, 117, 51, 112, 116, 139, - 132, 118, 114, 124, 111, 124, 124, 117, 124, 134, - 129, 133, 129, 129, 115, 129, 133, 135, 130, 118, - 130, 130, 136, 130, 132, 137, 138, 132, 50, 135, - 139, 141, 140, 138, 143, 45, 40, 137, 144, 146, - 14, 136, 145, 146, 135, 148, 144, 147, 13, 136, - 154, 0, 137, 138, 140, 130, 0, 154, 149, 140, - - 143, 143, 141, 142, 145, 144, 146, 148, 142, 145, - 147, 149, 148, 142, 147, 150, 153, 154, 151, 142, - 142, 151, 152, 155, 156, 149, 142, 150, 0, 158, - 142, 152, 157, 151, 155, 142, 160, 0, 153, 158, - 142, 161, 150, 153, 162, 151, 142, 142, 151, 152, - 155, 159, 163, 164, 0, 156, 175, 159, 157, 157, - 158, 165, 166, 161, 167, 168, 158, 160, 161, 166, - 168, 169, 170, 164, 171, 162, 179, 0, 159, 177, - 164, 171, 165, 163, 170, 167, 172, 175, 165, 166, - 169, 167, 168, 174, 174, 173, 176, 178, 169, 170, - - 173, 171, 174, 176, 177, 181, 177, 179, 172, 183, - 180, 182, 185, 172, 188, 0, 187, 178, 180, 184, - 174, 174, 173, 176, 178, 189, 186, 185, 194, 190, - 201, 181, 181, 182, 186, 187, 184, 180, 193, 185, - 183, 190, 182, 187, 184, 188, 184, 189, 191, 192, - 205, 195, 189, 186, 194, 194, 190, 191, 196, 197, - 182, 201, 193, 184, 198, 193, 199, 202, 192, 196, - 203, 197, 200, 204, 207, 191, 192, 195, 195, 0, - 202, 205, 213, 207, 210, 196, 197, 0, 198, 199, - 200, 198, 209, 199, 202, 204, 203, 203, 206, 200, - - 204, 207, 208, 211, 214, 206, 209, 212, 208, 215, - 210, 210, 211, 213, 217, 219, 219, 216, 218, 209, - 216, 220, 212, 0, 215, 206, 221, 216, 214, 208, - 211, 214, 217, 218, 212, 225, 215, 224, 226, 223, - 219, 217, 219, 219, 216, 218, 222, 216, 220, 222, - 221, 223, 227, 221, 229, 224, 222, 228, 230, 233, - 226, 229, 225, 231, 224, 226, 223, 234, 237, 228, - 231, 232, 0, 222, 238, 241, 222, 0, 227, 227, - 234, 229, 236, 233, 228, 239, 233, 326, 241, 230, - 231, 239, 235, 232, 234, 235, 238, 235, 232, 237, - - 236, 238, 241, 235, 240, 242, 245, 243, 246, 236, - 247, 240, 239, 249, 326, 248, 247, 0, 245, 235, - 243, 242, 235, 248, 235, 249, 246, 251, 0, 242, - 0, 240, 242, 245, 243, 246, 0, 247, 250, 0, - 249, 253, 248, 254, 252, 250, 258, 258, 242, 244, - 244, 252, 0, 253, 256, 254, 257, 255, 251, 244, - 0, 244, 244, 244, 255, 250, 244, 256, 253, 260, - 254, 252, 259, 0, 244, 258, 244, 244, 257, 259, - 260, 256, 262, 257, 255, 263, 244, 261, 244, 244, - 244, 265, 264, 244, 266, 262, 260, 0, 261, 259, - - 265, 269, 268, 270, 267, 272, 271, 266, 0, 262, - 263, 273, 263, 274, 261, 264, 276, 267, 265, 264, - 268, 266, 267, 269, 271, 275, 270, 277, 269, 268, - 270, 267, 273, 271, 280, 274, 272, 279, 273, 275, - 274, 278, 276, 276, 267, 281, 287, 278, 282, 280, - 283, 286, 275, 285, 282, 279, 288, 286, 277, 0, - 294, 280, 291, 292, 279, 287, 289, 281, 278, 291, - 292, 293, 281, 287, 288, 282, 283, 283, 286, 285, - 285, 289, 294, 288, 293, 295, 296, 294, 297, 291, - 292, 298, 301, 289, 300, 0, 298, 297, 293, 299, - - 302, 303, 306, 305, 295, 0, 300, 0, 309, 303, - 305, 302, 295, 306, 301, 297, 304, 296, 298, 301, - 311, 300, 299, 304, 307, 308, 299, 302, 303, 306, - 305, 304, 308, 307, 309, 309, 310, 312, 310, 313, - 315, 304, 304, 304, 314, 319, 311, 311, 315, 312, - 304, 317, 308, 319, 313, 307, 314, 316, 304, 318, - 307, 0, 316, 310, 312, 321, 313, 315, 304, 320, - 322, 314, 319, 317, 0, 323, 324, 318, 317, 325, - 327, 320, 328, 332, 316, 324, 318, 329, 321, 330, - 323, 331, 321, 325, 333, 327, 320, 328, 334, 329, - - 335, 322, 323, 324, 336, 331, 325, 327, 337, 328, - 332, 338, 0, 330, 329, 339, 330, 338, 331, 341, - 340, 333, 342, 345, 343, 344, 346, 335, 347, 334, - 349, 336, 344, 350, 0, 348, 352, 339, 338, 337, - 348, 347, 339, 340, 348, 342, 343, 340, 346, 342, - 341, 343, 344, 346, 345, 347, 349, 349, 351, 348, - 352, 353, 348, 352, 350, 354, 355, 348, 356, 357, - 358, 348, 359, 0, 360, 0, 351, 362, 0, 0, - 355, 361, 365, 353, 353, 351, 362, 354, 353, 363, - 356, 358, 354, 355, 368, 356, 359, 358, 360, 359, - - 357, 360, 363, 361, 362, 364, 365, 366, 361, 365, - 353, 367, 369, 370, 371, 367, 363, 0, 371, 372, - 0, 377, 373, 376, 374, 368, 375, 364, 377, 366, - 369, 376, 364, 374, 366, 375, 378, 370, 382, 369, - 370, 384, 367, 379, 372, 371, 372, 373, 377, 373, - 376, 374, 380, 375, 381, 379, 383, 385, 0, 378, - 386, 380, 387, 378, 383, 0, 381, 384, 384, 382, - 379, 390, 389, 387, 391, 392, 0, 388, 393, 380, - 385, 381, 386, 383, 385, 388, 389, 386, 394, 387, - 397, 390, 396, 398, 395, 392, 391, 405, 390, 389, - - 393, 391, 392, 395, 388, 393, 398, 399, 397, 400, - 394, 0, 396, 408, 401, 394, 402, 397, 403, 396, - 398, 395, 402, 406, 415, 418, 403, 424, 405, 399, - 407, 416, 408, 400, 399, 409, 400, 401, 412, 407, - 408, 401, 415, 402, 403, 403, 406, 409, 412, 417, - 406, 415, 416, 403, 424, 0, 418, 407, 416, 420, - 0, 421, 409, 425, 422, 412, 422, 0, 423, 0, - 421, 426, 417, 427, 0, 0, 417, 419, 0, 419, - 0, 420, 419, 425, 428, 427, 420, 419, 421, 429, - 425, 422, 423, 419, 419, 423, 430, 426, 426, 431, - - 427, 433, 419, 430, 419, 432, 419, 431, 436, 419, - 428, 428, 437, 429, 419, 0, 429, 434, 438, 439, - 419, 419, 435, 430, 432, 447, 431, 433, 433, 434, - 436, 435, 432, 440, 441, 436, 443, 444, 442, 437, - 439, 445, 438, 446, 434, 438, 439, 442, 450, 435, - 452, 448, 440, 441, 451, 0, 447, 444, 443, 448, - 440, 441, 446, 443, 444, 442, 453, 451, 445, 460, - 446, 461, 450, 455, 453, 450, 452, 452, 448, 455, - 456, 451, 457, 458, 459, 465, 456, 460, 458, 457, - 453, 459, 464, 453, 461, 462, 460, 463, 461, 468, - - 455, 453, 469, 462, 467, 464, 465, 456, 470, 457, - 458, 459, 465, 466, 472, 463, 470, 467, 471, 464, - 466, 473, 462, 474, 463, 469, 475, 473, 476, 469, - 468, 467, 478, 471, 477, 470, 472, 479, 481, 482, - 466, 472, 483, 477, 480, 471, 478, 484, 473, 474, - 474, 480, 476, 489, 483, 476, 485, 475, 0, 478, - 486, 477, 487, 486, 485, 481, 482, 0, 479, 483, - 484, 480, 491, 492, 484, 487, 489, 490, 494, 490, - 489, 495, 493, 485, 491, 496, 492, 486, 493, 487, - 488, 494, 488, 498, 499, 500, 488, 0, 488, 491, - - 492, 501, 495, 488, 490, 494, 497, 499, 495, 493, - 500, 504, 502, 497, 488, 498, 496, 488, 503, 488, - 498, 499, 500, 488, 504, 488, 506, 501, 501, 507, - 488, 497, 497, 497, 502, 505, 509, 503, 504, 502, - 497, 510, 511, 505, 513, 503, 512, 515, 516, 520, - 511, 0, 507, 506, 514, 515, 507, 517, 497, 519, - 512, 523, 505, 518, 517, 510, 513, 509, 510, 511, - 516, 513, 514, 512, 515, 516, 518, 519, 524, 522, - 520, 514, 525, 523, 517, 526, 519, 527, 523, 528, - 518, 522, 530, 0, 0, 531, 530, 538, 531, 552, - - 524, 534, 532, 526, 525, 524, 522, 533, 534, 525, - 536, 535, 526, 527, 527, 539, 540, 537, 538, 533, - 528, 531, 531, 530, 538, 531, 532, 541, 534, 532, - 552, 542, 536, 543, 533, 535, 539, 536, 535, 537, - 542, 544, 539, 540, 537, 541, 545, 546, 547, 548, - 544, 551, 555, 545, 541, 549, 550, 543, 542, 553, - 543, 546, 0, 0, 549, 554, 569, 551, 544, 558, - 547, 548, 557, 545, 546, 547, 548, 554, 551, 555, - 550, 556, 549, 550, 558, 557, 560, 561, 570, 556, - 553, 566, 554, 562, 567, 560, 558, 569, 563, 557, - - 563, 562, 568, 572, 566, 561, 567, 0, 556, 568, - 571, 573, 574, 560, 561, 575, 572, 577, 566, 570, - 562, 567, 578, 576, 573, 563, 580, 575, 579, 568, - 572, 578, 571, 581, 574, 576, 582, 571, 573, 574, - 585, 581, 575, 583, 577, 584, 579, 586, 580, 578, - 576, 583, 585, 580, 587, 579, 588, 590, 582, 586, - 581, 591, 594, 582, 588, 589, 590, 585, 584, 587, - 583, 589, 584, 592, 586, 598, 596, 597, 0, 593, - 594, 587, 591, 588, 590, 592, 593, 600, 591, 594, - 597, 599, 589, 601, 598, 603, 602, 601, 599, 604, - - 592, 605, 598, 0, 597, 608, 593, 596, 609, 600, - 602, 606, 607, 603, 600, 611, 610, 612, 599, 0, - 613, 609, 603, 602, 601, 610, 614, 605, 605, 0, - 604, 608, 608, 606, 607, 609, 0, 618, 606, 607, - 616, 0, 613, 610, 0, 615, 611, 613, 612, 614, - 615, 0, 615, 614, 615, 623, 616, 619, 621, 620, - 618, 626, 622, 615, 618, 627, 624, 616, 620, 619, - 622, 621, 615, 629, 623, 624, 625, 615, 625, 615, - 630, 615, 623, 631, 619, 621, 620, 632, 626, 622, - 633, 631, 627, 624, 634, 635, 637, 629, 636, 644, - - 629, 638, 630, 625, 639, 636, 640, 630, 641, 645, - 631, 647, 642, 0, 632, 640, 634, 633, 637, 646, - 638, 634, 635, 637, 651, 636, 639, 648, 638, 641, - 644, 639, 642, 640, 650, 641, 649, 654, 658, 642, - 645, 646, 647, 653, 649, 648, 646, 653, 652, 655, - 650, 651, 656, 657, 648, 652, 655, 661, 0, 656, - 659, 650, 657, 649, 658, 658, 661, 659, 654, 660, - 653, 660, 667, 662, 664, 652, 655, 662, 664, 656, - 657, 665, 665, 666, 661, 671, 668, 659, 670, 672, - 669, 673, 666, 671, 667, 668, 660, 669, 674, 667, - - 662, 675, 672, 673, 676, 664, 674, 677, 665, 679, - 666, 670, 671, 668, 680, 670, 672, 669, 673, 681, - 683, 678, 684, 675, 676, 674, 680, 679, 675, 677, - 678, 676, 682, 685, 677, 686, 679, 0, 682, 689, - 681, 680, 683, 688, 692, 0, 681, 683, 678, 690, - 691, 695, 689, 684, 691, 693, 0, 690, 696, 682, - 694, 686, 686, 693, 685, 688, 689, 697, 694, 698, - 688, 692, 695, 701, 706, 697, 690, 698, 695, 702, - 699, 691, 693, 700, 707, 702, 701, 694, 699, 696, - 703, 700, 704, 705, 697, 708, 698, 706, 707, 710, - - 701, 706, 703, 711, 713, 709, 702, 699, 718, 712, - 700, 707, 709, 708, 717, 705, 712, 703, 704, 704, - 705, 716, 708, 721, 0, 711, 710, 723, 0, 724, - 711, 727, 709, 725, 728, 713, 712, 729, 0, 718, - 717, 717, 726, 716, 726, 725, 728, 731, 716, 733, - 721, 723, 730, 727, 723, 724, 724, 732, 727, 730, - 725, 728, 732, 734, 729, 733, 736, 735, 738, 726, - 739, 746, 740, 731, 731, 735, 733, 738, 741, 730, - 742, 744, 743, 739, 732, 741, 734, 742, 736, 743, - 734, 745, 753, 736, 735, 738, 747, 739, 740, 740, - - 749, 748, 746, 747, 751, 741, 744, 742, 744, 743, - 752, 754, 752, 745, 748, 0, 753, 755, 745, 753, - 756, 749, 761, 747, 758, 757, 751, 749, 748, 756, - 759, 751, 757, 760, 759, 767, 762, 752, 764, 763, - 766, 769, 754, 755, 755, 764, 758, 756, 763, 761, - 767, 758, 757, 766, 765, 760, 768, 759, 762, 785, - 760, 765, 767, 762, 770, 764, 763, 766, 771, 774, - 768, 770, 769, 772, 773, 771, 779, 776, 0, 772, - 781, 765, 780, 768, 775, 782, 773, 775, 776, 774, - 785, 770, 784, 782, 786, 771, 774, 791, 781, 791, - - 772, 773, 775, 779, 776, 783, 780, 781, 783, 780, - 784, 775, 782, 787, 775, 788, 789, 790, 792, 784, - 787, 786, 793, 783, 791, 789, 794, 792, 797, 788, - 790, 798, 783, 799, 0, 783, 800, 794, 795, 804, - 787, 801, 788, 789, 790, 792, 802, 795, 793, 793, - 805, 0, 802, 794, 799, 801, 0, 812, 804, 797, - 799, 807, 798, 806, 805, 795, 804, 800, 801, 807, - 802, 808, 806, 802, 809, 813, 0, 805, 811, 802, - 812, 814, 808, 809, 812, 811, 816, 815, 807, 817, - 806, 819, 821, 817, 818, 822, 823, 813, 808, 820, - - 831, 809, 813, 814, 816, 811, 818, 821, 814, 815, - 822, 825, 820, 816, 815, 824, 817, 838, 819, 821, - 825, 818, 822, 826, 827, 828, 820, 823, 829, 830, - 824, 831, 833, 832, 834, 835, 836, 837, 825, 832, - 833, 834, 824, 839, 826, 841, 829, 843, 838, 0, - 826, 827, 828, 845, 847, 829, 830, 842, 0, 833, - 832, 834, 835, 836, 837, 846, 842, 839, 849, 844, - 839, 844, 848, 853, 848, 849, 841, 852, 843, 848, - 845, 850, 851, 852, 842, 847, 855, 848, 850, 851, - 856, 846, 846, 854, 854, 849, 844, 856, 858, 848, - - 853, 848, 859, 860, 852, 862, 848, 864, 850, 851, - 861, 861, 855, 855, 863, 863, 858, 856, 864, 868, - 854, 860, 859, 866, 867, 858, 868, 869, 0, 859, - 860, 862, 862, 870, 864, 871, 873, 861, 872, 874, - 875, 863, 879, 873, 0, 866, 868, 869, 875, 876, - 866, 874, 880, 877, 869, 867, 872, 871, 880, 878, - 870, 881, 871, 873, 878, 872, 874, 875, 882, 879, - 876, 877, 885, 883, 881, 878, 876, 884, 886, 880, - 877, 884, 887, 888, 889, 892, 878, 890, 881, 894, - 891, 878, 891, 886, 895, 897, 893, 898, 888, 882, - - 883, 893, 890, 885, 899, 886, 900, 889, 884, 895, - 888, 889, 901, 887, 890, 902, 892, 891, 908, 897, - 894, 895, 897, 893, 898, 903, 906, 900, 909, 908, - 910, 899, 911, 900, 901, 916, 902, 909, 915, 901, - 920, 906, 902, 903, 908, 908, 918, 0, 910, 919, - 911, 915, 903, 906, 917, 909, 908, 910, 922, 911, - 924, 923, 926, 925, 917, 915, 916, 920, 923, 925, - 929, 932, 918, 918, 919, 933, 919, 926, 922, 927, - 928, 917, 929, 934, 930, 922, 924, 924, 923, 926, - 925, 930, 934, 932, 927, 928, 935, 929, 932, 936, - - 933, 0, 933, 937, 937, 938, 927, 928, 939, 940, - 934, 930, 941, 942, 935, 944, 945, 943, 949, 0, - 947, 0, 942, 935, 943, 0, 936, 938, 947, 948, - 937, 940, 938, 939, 941, 939, 940, 950, 945, 941, - 942, 952, 948, 945, 943, 949, 944, 947, 951, 954, - 953, 951, 950, 957, 958, 965, 948, 955, 959, 952, - 966, 958, 961, 968, 950, 953, 951, 957, 952, 959, - 963, 954, 964, 965, 964, 951, 954, 953, 951, 955, - 957, 958, 965, 961, 955, 959, 967, 966, 969, 961, - 968, 963, 971, 970, 972, 973, 969, 963, 974, 964, - - 977, 978, 0, 979, 967, 0, 985, 985, 972, 980, - 981, 982, 0, 967, 971, 969, 970, 974, 977, 971, - 970, 972, 973, 983, 980, 974, 984, 977, 978, 979, - 979, 986, 981, 985, 982, 983, 980, 981, 982, 986, - 987, 988, 990, 987, 993, 989, 991, 995, 984, 988, - 983, 989, 991, 984, 994, 998, 996, 990, 986, 997, - 999, 995, 1000, 1001, 1002, 1004, 1005, 987, 988, 990, - 996, 993, 989, 991, 995, 1007, 1000, 1008, 994, 1010, - 1003, 994, 998, 996, 1013, 997, 997, 999, 1003, 1000, - 1001, 1002, 1004, 1005, 1012, 1009, 1011, 1007, 1014, 1015, - - 1017, 1016, 1007, 1009, 1008, 1011, 1010, 1003, 1013, 1016, - 1019, 1013, 1021, 1014, 1022, 1012, 1020, 1020, 0, 1025, - 1023, 1012, 1009, 1011, 1014, 1014, 1015, 1017, 1016, 1022, - 1024, 1027, 1024, 1025, 1029, 1031, 1028, 1019, 1021, 1021, - 1014, 1022, 1023, 1020, 1026, 1032, 1025, 1023, 1028, 1030, - 1026, 1036, 1029, 1027, 1037, 1034, 1038, 1024, 1027, 0, - 0, 1029, 1034, 1028, 0, 1039, 1031, 1030, 1032, 1036, - 1042, 1026, 1032, 1039, 1041, 1044, 1030, 1046, 1036, 1048, - 1037, 1037, 1034, 1045, 1047, 1042, 1041, 1038, 1049, 1051, - 1050, 1039, 1039, 1055, 0, 1052, 1051, 1042, 1056, 1044, - - 1039, 1041, 1044, 1048, 1046, 1045, 1048, 1047, 1054, 1059, - 1045, 1047, 1050, 1053, 1060, 1049, 1051, 1050, 1052, 1056, - 1053, 1058, 1052, 1064, 1055, 1056, 1061, 1067, 1070, 1072, - 1054, 1059, 1058, 1060, 1074, 1054, 1059, 1075, 0, 1077, - 1053, 1060, 1080, 1084, 1077, 1078, 1076, 0, 1058, 1064, - 1064, 1061, 1083, 1061, 1067, 1070, 1072, 1076, 1085, 1086, - 1087, 1088, 1089, 1075, 1075, 1074, 1077, 1078, 1084, 1080, - 1084, 1095, 1078, 1076, 1083, 1090, 1091, 1089, 1092, 1083, - 1085, 1093, 1096, 1094, 1090, 1085, 1086, 1087, 1088, 1089, - 1094, 1091, 1098, 1092, 1097, 1097, 1093, 1099, 1095, 1098, - - 1096, 1100, 1090, 1091, 1100, 1092, 1102, 1101, 1093, 1096, - 1094, 1099, 1105, 1103, 1104, 1102, 1107, 1118, 1108, 1098, - 1101, 1097, 1110, 1113, 1099, 1107, 1112, 1117, 1100, 1111, - 0, 1115, 1113, 1102, 1101, 1103, 1104, 1114, 1112, 1105, - 1103, 1104, 1115, 1107, 1108, 1108, 1114, 1111, 1118, 1110, - 1113, 1116, 1120, 1112, 1117, 1119, 1111, 1126, 1115, 1116, - 1120, 1121, 1125, 1127, 1114, 1128, 1129, 1119, 1121, 1125, - 1131, 1133, 1132, 0, 1137, 1129, 1139, 1128, 1116, 1120, - 1132, 1126, 1119, 1140, 1126, 1141, 1138, 1142, 1121, 1125, - 1127, 1138, 1128, 1129, 1139, 1145, 1144, 1131, 1133, 1132, - - 1137, 1137, 1146, 1139, 1147, 1140, 1142, 1141, 1144, 1148, - 1140, 1149, 1141, 1138, 1142, 1150, 1147, 1145, 1151, 0, - 1152, 1154, 1145, 1144, 1146, 1155, 1157, 1158, 0, 1146, - 1161, 1147, 1166, 1159, 1164, 0, 1148, 1160, 1149, 0, - 1155, 1158, 1164, 1154, 1162, 1151, 1150, 1152, 1154, 1167, - 1157, 1159, 1155, 1157, 1158, 1160, 1161, 1161, 1165, 1166, - 1159, 1164, 1162, 1168, 1160, 1169, 1165, 1167, 1171, 1172, - 1174, 1162, 1176, 0, 1177, 1183, 1167, 1179, 1178, 1176, - 1180, 1182, 1168, 1172, 1181, 1165, 1171, 1169, 1184, 1185, - 1168, 1192, 1169, 1181, 1182, 1171, 1172, 1174, 1188, 1176, - - 1177, 1177, 1178, 1194, 1179, 1178, 1183, 1180, 1182, 1191, - 1192, 1181, 1185, 1193, 1199, 1184, 1185, 1191, 1192, 1188, - 1195, 1193, 1196, 1198, 1198, 1188, 1197, 1200, 1202, 1194, - 1194, 1195, 1199, 1197, 1200, 1204, 1191, 1203, 1205, 1206, - 1193, 1199, 1208, 1209, 1196, 1213, 1203, 1195, 1214, 1196, - 1198, 0, 1202, 1197, 1200, 1202, 1217, 1206, 1209, 1215, - 1208, 1205, 1204, 1218, 1203, 1205, 1206, 1213, 1219, 1208, - 1209, 1210, 1213, 1210, 1214, 1214, 1219, 1215, 1217, 1220, - 1221, 1218, 1222, 1217, 1224, 1223, 1215, 1229, 1226, 1225, - 1218, 1220, 1224, 1227, 1227, 1219, 1223, 1228, 1210, 1230, - - 1222, 1232, 1235, 1236, 1240, 1228, 1220, 1221, 1225, 1222, - 1226, 1224, 1223, 1242, 1229, 1226, 1225, 1234, 1233, 1237, - 1227, 1230, 1234, 1238, 1228, 1233, 1230, 1237, 1232, 1235, - 1236, 1240, 1239, 1241, 1243, 1246, 1245, 1247, 1238, 1239, - 1242, 1248, 1243, 1249, 1234, 1233, 1237, 1250, 1241, 1245, - 1238, 1251, 0, 1253, 1255, 1256, 1259, 1246, 1260, 1239, - 1241, 1243, 1246, 1245, 1247, 1261, 1263, 1266, 1248, 1250, - 1249, 1271, 1267, 1273, 1250, 1259, 1275, 1256, 1251, 1253, - 1253, 1255, 1256, 1259, 1265, 1260, 1279, 1261, 1263, 1276, - 1280, 1265, 1261, 1263, 1266, 1267, 1273, 1278, 1271, 1267, - - 1273, 1276, 1282, 1275, 1284, 1286, 1278, 1287, 0, 1294, - 1295, 1265, 1292, 1279, 1293, 1297, 1276, 1280, 1299, 1300, - 1286, 1293, 0, 0, 1278, 1298, 1299, 1297, 1295, 1282, - 0, 1284, 1286, 1287, 1287, 1292, 1294, 1295, 1298, 1292, - 0, 1293, 1297, 0, 0, 1299, 1300, 0, 0, 0, - 0, 0, 1298, 1303, 1303, 1303, 1303, 1303, 1303, 1303, - 1304, 1304, 1304, 1304, 1304, 1304, 1304, 1305, 1305, 1305, - 1305, 1305, 1305, 1305, 1306, 1306, 1306, 1306, 1306, 1306, - 1306, 1307, 1307, 1307, 1307, 1307, 1307, 1307, 1309, 1309, - 0, 1309, 1309, 1309, 1309, 1310, 1310, 0, 0, 0, - - 1310, 1310, 1311, 1311, 0, 0, 1311, 0, 1311, 1312, - 0, 0, 0, 0, 0, 1312, 1313, 1313, 0, 0, - 0, 1313, 1313, 1314, 0, 0, 0, 0, 0, 1314, - 1315, 1315, 0, 1315, 1315, 1315, 1315, 1316, 1316, 0, - 1316, 1316, 1316, 1316, 1302, 1302, 1302, 1302, 1302, 1302, - 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, - 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, - 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, - 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, - 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, - - 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302 - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -extern int yy_flex_debug; -int yy_flex_debug = 0; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -static int yy_more_flag = 0; -static int yy_more_len = 0; -#define yymore() ((yy_more_flag) = 1) -#define YY_MORE_ADJ (yy_more_len) -#define YY_RESTORE_YY_MORE_OFFSET -char *yytext; -#line 1 "util/configlexer.lex" -#line 2 "util/configlexer.lex" -/* - * configlexer.lex - lexical analyzer for unbound config file - * - * Copyright (c) 2001-2006, NLnet Labs. All rights reserved - * - * See LICENSE for the license. - * - */ - -#include <ctype.h> -#include <string.h> -#include <strings.h> - -#include "util/config_file.h" -#include "util/configparser.h" -void ub_c_error(const char *message); - -#if 0 -#define LEXOUT(s) printf s /* used ONLY when debugging */ -#else -#define LEXOUT(s) -#endif - -/** avoid warning in about fwrite return value */ -#define ECHO ub_c_error_msg("syntax error at text: %s", yytext) - -/** A parser variable, this is a statement in the config file which is - * of the form variable: value1 value2 ... nargs is the number of values. */ -#define YDVAR(nargs, var) \ - num_args=(nargs); \ - LEXOUT(("v(%s%d) ", yytext, num_args)); \ - if(num_args > 0) { BEGIN(val); } \ - return (var); - -struct inc_state { - char* filename; - int line; -}; -static struct inc_state parse_stack[MAXINCLUDES]; -static YY_BUFFER_STATE include_stack[MAXINCLUDES]; -static int config_include_stack_ptr = 0; -static int inc_prev = 0; -static int num_args = 0; - -static void config_start_include(const char* filename) -{ - FILE *input; - if(strlen(filename) == 0) { - ub_c_error_msg("empty include file name"); - return; - } - if(config_include_stack_ptr >= MAXINCLUDES) { - ub_c_error_msg("includes nested too deeply, skipped (>%d)", MAXINCLUDES); - return; - } - if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot, - strlen(cfg_parser->chroot)) == 0) { - filename += strlen(cfg_parser->chroot); - } - input = fopen(filename, "r"); - if(!input) { - ub_c_error_msg("cannot open include file '%s': %s", - filename, strerror(errno)); - return; - } - LEXOUT(("switch_to_include_file(%s) ", filename)); - parse_stack[config_include_stack_ptr].filename = cfg_parser->filename; - parse_stack[config_include_stack_ptr].line = cfg_parser->line; - include_stack[config_include_stack_ptr] = YY_CURRENT_BUFFER; - cfg_parser->filename = strdup(filename); - cfg_parser->line = 1; - yy_switch_to_buffer(yy_create_buffer(input,YY_BUF_SIZE)); - ++config_include_stack_ptr; -} - -static void config_end_include(void) -{ - --config_include_stack_ptr; - free(cfg_parser->filename); - cfg_parser->filename = parse_stack[config_include_stack_ptr].filename; - cfg_parser->line = parse_stack[config_include_stack_ptr].line; - yy_delete_buffer(YY_CURRENT_BUFFER); - yy_switch_to_buffer(include_stack[config_include_stack_ptr]); -} - -#ifndef yy_set_bol /* compat definition, for flex 2.4.6 */ -#define yy_set_bol(at_bol) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer(yyin,YY_BUF_SIZE ); \ - yy_current_buffer->yy_ch_buf[0] = ((at_bol)?'\n':' '); \ - } -#endif - -#define YY_NO_INPUT 1 -#line 100 "util/configlexer.lex" -#ifndef YY_NO_UNPUT -#define YY_NO_UNPUT 1 -#endif -#ifndef YY_NO_INPUT -#define YY_NO_INPUT 1 -#endif - -#line 1829 "<stdout>" - -#define INITIAL 0 -#define quotedstring 1 -#define singlequotedstr 2 -#define include 3 -#define include_quoted 4 -#define val 5 - -#ifndef YY_NO_UNISTD_H -/* Special case for "unistd.h", since it is non-ANSI. We include it way - * down here because we want the user's section 1 to have been scanned first. - * The user has a chance to override it with an option. - */ -#include <unistd.h> -#endif - -#ifndef YY_EXTRA_TYPE -#define YY_EXTRA_TYPE void * -#endif - -static int yy_init_globals (void ); - -/* Accessor methods to globals. - These are made visible to non-reentrant scanners for convenience. */ - -int yylex_destroy (void ); - -int yyget_debug (void ); - -void yyset_debug (int debug_flag ); - -YY_EXTRA_TYPE yyget_extra (void ); - -void yyset_extra (YY_EXTRA_TYPE user_defined ); - -FILE *yyget_in (void ); - -void yyset_in (FILE * in_str ); - -FILE *yyget_out (void ); - -void yyset_out (FILE * out_str ); - -int yyget_leng (void ); - -char *yyget_text (void ); - -int yyget_lineno (void ); - -void yyset_lineno (int line_number ); - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap (void ); -#else -extern int yywrap (void ); -#endif -#endif - -#ifndef yytext_ptr -static void yy_flex_strncpy (char *,yyconst char *,int ); -#endif - -#ifdef YY_NEED_STRLEN -static int yy_flex_strlen (yyconst char * ); -#endif - -#ifndef YY_NO_INPUT - -#ifdef __cplusplus -static int yyinput (void ); -#else -static int input (void ); -#endif - -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#define YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ - { \ - int c = '*'; \ - unsigned n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else \ - { \ - errno=0; \ - while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ - { \ - if( errno != EINTR) \ - { \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - break; \ - } \ - errno=0; \ - clearerr(yyin); \ - } \ - }\ -\ - -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* end tables serialization structures and prototypes */ - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL_IS_OURS 1 - -extern int yylex (void); - -#define YY_DECL int yylex (void) -#endif /* !YY_DECL */ - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -/** The main scanner function which does all the work. - */ -YY_DECL -{ - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - -#line 120 "util/configlexer.lex" - -#line 2016 "<stdout>" - - if ( !(yy_init) ) - { - (yy_init) = 1; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! (yy_start) ) - (yy_start) = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! YY_CURRENT_BUFFER ) { - yyensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = - yy_create_buffer(yyin,YY_BUF_SIZE ); - } - - yy_load_buffer_state( ); - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - (yy_more_len) = 0; - if ( (yy_more_flag) ) - { - (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); - (yy_more_flag) = 0; - } - yy_cp = (yy_c_buf_p); - - /* Support of yytext. */ - *yy_cp = (yy_hold_char); - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = (yy_start); -yy_match: - do - { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 1303 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - ++yy_cp; - } - while ( yy_base[yy_current_state] != 3745 ); - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - if ( yy_act == 0 ) - { /* have to back up */ - yy_cp = (yy_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); - yy_act = yy_accept[yy_current_state]; - } - - YY_DO_BEFORE_ACTION; - -do_action: /* This label is used only to access EOF actions. */ - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = (yy_hold_char); - yy_cp = (yy_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 121 "util/configlexer.lex" -{ - LEXOUT(("SP ")); /* ignore */ } - YY_BREAK -case 2: -YY_RULE_SETUP -#line 123 "util/configlexer.lex" -{ - /* note that flex makes the longest match and '.' is any but not nl */ - LEXOUT(("comment(%s) ", yytext)); /* ignore */ } - YY_BREAK -case 3: -YY_RULE_SETUP -#line 126 "util/configlexer.lex" -{ YDVAR(0, VAR_SERVER) } - YY_BREAK -case 4: -YY_RULE_SETUP -#line 127 "util/configlexer.lex" -{ YDVAR(1, VAR_NUM_THREADS) } - YY_BREAK -case 5: -YY_RULE_SETUP -#line 128 "util/configlexer.lex" -{ YDVAR(1, VAR_VERBOSITY) } - YY_BREAK -case 6: -YY_RULE_SETUP -#line 129 "util/configlexer.lex" -{ YDVAR(1, VAR_PORT) } - YY_BREAK -case 7: -YY_RULE_SETUP -#line 130 "util/configlexer.lex" -{ YDVAR(1, VAR_OUTGOING_RANGE) } - YY_BREAK -case 8: -YY_RULE_SETUP -#line 131 "util/configlexer.lex" -{ YDVAR(1, VAR_OUTGOING_PORT_PERMIT) } - YY_BREAK -case 9: -YY_RULE_SETUP -#line 132 "util/configlexer.lex" -{ YDVAR(1, VAR_OUTGOING_PORT_AVOID) } - YY_BREAK -case 10: -YY_RULE_SETUP -#line 133 "util/configlexer.lex" -{ YDVAR(1, VAR_OUTGOING_NUM_TCP) } - YY_BREAK -case 11: -YY_RULE_SETUP -#line 134 "util/configlexer.lex" -{ YDVAR(1, VAR_INCOMING_NUM_TCP) } - YY_BREAK -case 12: -YY_RULE_SETUP -#line 135 "util/configlexer.lex" -{ YDVAR(1, VAR_DO_IP4) } - YY_BREAK -case 13: -YY_RULE_SETUP -#line 136 "util/configlexer.lex" -{ YDVAR(1, VAR_DO_IP6) } - YY_BREAK -case 14: -YY_RULE_SETUP -#line 137 "util/configlexer.lex" -{ YDVAR(1, VAR_DO_UDP) } - YY_BREAK -case 15: -YY_RULE_SETUP -#line 138 "util/configlexer.lex" -{ YDVAR(1, VAR_DO_TCP) } - YY_BREAK -case 16: -YY_RULE_SETUP -#line 139 "util/configlexer.lex" -{ YDVAR(1, VAR_TCP_UPSTREAM) } - YY_BREAK -case 17: -YY_RULE_SETUP -#line 140 "util/configlexer.lex" -{ YDVAR(1, VAR_SSL_UPSTREAM) } - YY_BREAK -case 18: -YY_RULE_SETUP -#line 141 "util/configlexer.lex" -{ YDVAR(1, VAR_SSL_SERVICE_KEY) } - YY_BREAK -case 19: -YY_RULE_SETUP -#line 142 "util/configlexer.lex" -{ YDVAR(1, VAR_SSL_SERVICE_PEM) } - YY_BREAK -case 20: -YY_RULE_SETUP -#line 143 "util/configlexer.lex" -{ YDVAR(1, VAR_SSL_PORT) } - YY_BREAK -case 21: -YY_RULE_SETUP -#line 144 "util/configlexer.lex" -{ YDVAR(1, VAR_DO_DAEMONIZE) } - YY_BREAK -case 22: -YY_RULE_SETUP -#line 145 "util/configlexer.lex" -{ YDVAR(1, VAR_INTERFACE) } - YY_BREAK -case 23: -YY_RULE_SETUP -#line 146 "util/configlexer.lex" -{ YDVAR(1, VAR_OUTGOING_INTERFACE) } - YY_BREAK -case 24: -YY_RULE_SETUP -#line 147 "util/configlexer.lex" -{ YDVAR(1, VAR_INTERFACE_AUTOMATIC) } - YY_BREAK -case 25: -YY_RULE_SETUP -#line 148 "util/configlexer.lex" -{ YDVAR(1, VAR_SO_RCVBUF) } - YY_BREAK -case 26: -YY_RULE_SETUP -#line 149 "util/configlexer.lex" -{ YDVAR(1, VAR_SO_SNDBUF) } - YY_BREAK -case 27: -YY_RULE_SETUP -#line 150 "util/configlexer.lex" -{ YDVAR(1, VAR_CHROOT) } - YY_BREAK -case 28: -YY_RULE_SETUP -#line 151 "util/configlexer.lex" -{ YDVAR(1, VAR_USERNAME) } - YY_BREAK -case 29: -YY_RULE_SETUP -#line 152 "util/configlexer.lex" -{ YDVAR(1, VAR_DIRECTORY) } - YY_BREAK -case 30: -YY_RULE_SETUP -#line 153 "util/configlexer.lex" -{ YDVAR(1, VAR_LOGFILE) } - YY_BREAK -case 31: -YY_RULE_SETUP -#line 154 "util/configlexer.lex" -{ YDVAR(1, VAR_PIDFILE) } - YY_BREAK -case 32: -YY_RULE_SETUP -#line 155 "util/configlexer.lex" -{ YDVAR(1, VAR_ROOT_HINTS) } - YY_BREAK -case 33: -YY_RULE_SETUP -#line 156 "util/configlexer.lex" -{ YDVAR(1, VAR_EDNS_BUFFER_SIZE) } - YY_BREAK -case 34: -YY_RULE_SETUP -#line 157 "util/configlexer.lex" -{ YDVAR(1, VAR_MSG_BUFFER_SIZE) } - YY_BREAK -case 35: -YY_RULE_SETUP -#line 158 "util/configlexer.lex" -{ YDVAR(1, VAR_MSG_CACHE_SIZE) } - YY_BREAK -case 36: -YY_RULE_SETUP -#line 159 "util/configlexer.lex" -{ YDVAR(1, VAR_MSG_CACHE_SLABS) } - YY_BREAK -case 37: -YY_RULE_SETUP -#line 160 "util/configlexer.lex" -{ YDVAR(1, VAR_RRSET_CACHE_SIZE) } - YY_BREAK -case 38: -YY_RULE_SETUP -#line 161 "util/configlexer.lex" -{ YDVAR(1, VAR_RRSET_CACHE_SLABS) } - YY_BREAK -case 39: -YY_RULE_SETUP -#line 162 "util/configlexer.lex" -{ YDVAR(1, VAR_CACHE_MAX_TTL) } - YY_BREAK -case 40: -YY_RULE_SETUP -#line 163 "util/configlexer.lex" -{ YDVAR(1, VAR_CACHE_MIN_TTL) } - YY_BREAK -case 41: -YY_RULE_SETUP -#line 164 "util/configlexer.lex" -{ YDVAR(1, VAR_INFRA_HOST_TTL) } - YY_BREAK -case 42: -YY_RULE_SETUP -#line 165 "util/configlexer.lex" -{ YDVAR(1, VAR_INFRA_LAME_TTL) } - YY_BREAK -case 43: -YY_RULE_SETUP -#line 166 "util/configlexer.lex" -{ YDVAR(1, VAR_INFRA_CACHE_SLABS) } - YY_BREAK -case 44: -YY_RULE_SETUP -#line 167 "util/configlexer.lex" -{ YDVAR(1, VAR_INFRA_CACHE_NUMHOSTS) } - YY_BREAK -case 45: -YY_RULE_SETUP -#line 168 "util/configlexer.lex" -{ YDVAR(1, VAR_INFRA_CACHE_LAME_SIZE) } - YY_BREAK -case 46: -YY_RULE_SETUP -#line 169 "util/configlexer.lex" -{ YDVAR(1, VAR_NUM_QUERIES_PER_THREAD) } - YY_BREAK -case 47: -YY_RULE_SETUP -#line 170 "util/configlexer.lex" -{ YDVAR(1, VAR_JOSTLE_TIMEOUT) } - YY_BREAK -case 48: -YY_RULE_SETUP -#line 171 "util/configlexer.lex" -{ YDVAR(1, VAR_TARGET_FETCH_POLICY) } - YY_BREAK -case 49: -YY_RULE_SETUP -#line 172 "util/configlexer.lex" -{ YDVAR(1, VAR_HARDEN_SHORT_BUFSIZE) } - YY_BREAK -case 50: -YY_RULE_SETUP -#line 173 "util/configlexer.lex" -{ YDVAR(1, VAR_HARDEN_LARGE_QUERIES) } - YY_BREAK -case 51: -YY_RULE_SETUP -#line 174 "util/configlexer.lex" -{ YDVAR(1, VAR_HARDEN_GLUE) } - YY_BREAK -case 52: -YY_RULE_SETUP -#line 175 "util/configlexer.lex" -{ YDVAR(1, VAR_HARDEN_DNSSEC_STRIPPED) } - YY_BREAK -case 53: -YY_RULE_SETUP -#line 176 "util/configlexer.lex" -{ YDVAR(1, VAR_HARDEN_BELOW_NXDOMAIN) } - YY_BREAK -case 54: -YY_RULE_SETUP -#line 177 "util/configlexer.lex" -{ YDVAR(1, VAR_HARDEN_REFERRAL_PATH) } - YY_BREAK -case 55: -YY_RULE_SETUP -#line 178 "util/configlexer.lex" -{ YDVAR(1, VAR_USE_CAPS_FOR_ID) } - YY_BREAK -case 56: -YY_RULE_SETUP -#line 179 "util/configlexer.lex" -{ YDVAR(1, VAR_UNWANTED_REPLY_THRESHOLD) } - YY_BREAK -case 57: -YY_RULE_SETUP -#line 180 "util/configlexer.lex" -{ YDVAR(1, VAR_PRIVATE_ADDRESS) } - YY_BREAK -case 58: -YY_RULE_SETUP -#line 181 "util/configlexer.lex" -{ YDVAR(1, VAR_PRIVATE_DOMAIN) } - YY_BREAK -case 59: -YY_RULE_SETUP -#line 182 "util/configlexer.lex" -{ YDVAR(1, VAR_PREFETCH_KEY) } - YY_BREAK -case 60: -YY_RULE_SETUP -#line 183 "util/configlexer.lex" -{ YDVAR(1, VAR_PREFETCH) } - YY_BREAK -case 61: -YY_RULE_SETUP -#line 184 "util/configlexer.lex" -{ YDVAR(0, VAR_STUB_ZONE) } - YY_BREAK -case 62: -YY_RULE_SETUP -#line 185 "util/configlexer.lex" -{ YDVAR(1, VAR_NAME) } - YY_BREAK -case 63: -YY_RULE_SETUP -#line 186 "util/configlexer.lex" -{ YDVAR(1, VAR_STUB_ADDR) } - YY_BREAK -case 64: -YY_RULE_SETUP -#line 187 "util/configlexer.lex" -{ YDVAR(1, VAR_STUB_HOST) } - YY_BREAK -case 65: -YY_RULE_SETUP -#line 188 "util/configlexer.lex" -{ YDVAR(1, VAR_STUB_PRIME) } - YY_BREAK -case 66: -YY_RULE_SETUP -#line 189 "util/configlexer.lex" -{ YDVAR(0, VAR_FORWARD_ZONE) } - YY_BREAK -case 67: -YY_RULE_SETUP -#line 190 "util/configlexer.lex" -{ YDVAR(1, VAR_FORWARD_ADDR) } - YY_BREAK -case 68: -YY_RULE_SETUP -#line 191 "util/configlexer.lex" -{ YDVAR(1, VAR_FORWARD_HOST) } - YY_BREAK -case 69: -YY_RULE_SETUP -#line 192 "util/configlexer.lex" -{ YDVAR(1, VAR_DO_NOT_QUERY_ADDRESS) } - YY_BREAK -case 70: -YY_RULE_SETUP -#line 193 "util/configlexer.lex" -{ YDVAR(1, VAR_DO_NOT_QUERY_LOCALHOST) } - YY_BREAK -case 71: -YY_RULE_SETUP -#line 194 "util/configlexer.lex" -{ YDVAR(2, VAR_ACCESS_CONTROL) } - YY_BREAK -case 72: -YY_RULE_SETUP -#line 195 "util/configlexer.lex" -{ YDVAR(1, VAR_HIDE_IDENTITY) } - YY_BREAK -case 73: -YY_RULE_SETUP -#line 196 "util/configlexer.lex" -{ YDVAR(1, VAR_HIDE_VERSION) } - YY_BREAK -case 74: -YY_RULE_SETUP -#line 197 "util/configlexer.lex" -{ YDVAR(1, VAR_IDENTITY) } - YY_BREAK -case 75: -YY_RULE_SETUP -#line 198 "util/configlexer.lex" -{ YDVAR(1, VAR_VERSION) } - YY_BREAK -case 76: -YY_RULE_SETUP -#line 199 "util/configlexer.lex" -{ YDVAR(1, VAR_MODULE_CONF) } - YY_BREAK -case 77: -YY_RULE_SETUP -#line 200 "util/configlexer.lex" -{ YDVAR(1, VAR_DLV_ANCHOR) } - YY_BREAK -case 78: -YY_RULE_SETUP -#line 201 "util/configlexer.lex" -{ YDVAR(1, VAR_DLV_ANCHOR_FILE) } - YY_BREAK -case 79: -YY_RULE_SETUP -#line 202 "util/configlexer.lex" -{ YDVAR(1, VAR_TRUST_ANCHOR_FILE) } - YY_BREAK -case 80: -YY_RULE_SETUP -#line 203 "util/configlexer.lex" -{ YDVAR(1, VAR_AUTO_TRUST_ANCHOR_FILE) } - YY_BREAK -case 81: -YY_RULE_SETUP -#line 204 "util/configlexer.lex" -{ YDVAR(1, VAR_TRUSTED_KEYS_FILE) } - YY_BREAK -case 82: -YY_RULE_SETUP -#line 205 "util/configlexer.lex" -{ YDVAR(1, VAR_TRUST_ANCHOR) } - YY_BREAK -case 83: -YY_RULE_SETUP -#line 206 "util/configlexer.lex" -{ YDVAR(1, VAR_VAL_OVERRIDE_DATE) } - YY_BREAK -case 84: -YY_RULE_SETUP -#line 207 "util/configlexer.lex" -{ YDVAR(1, VAR_VAL_SIG_SKEW_MIN) } - YY_BREAK -case 85: -YY_RULE_SETUP -#line 208 "util/configlexer.lex" -{ YDVAR(1, VAR_VAL_SIG_SKEW_MAX) } - YY_BREAK -case 86: -YY_RULE_SETUP -#line 209 "util/configlexer.lex" -{ YDVAR(1, VAR_BOGUS_TTL) } - YY_BREAK -case 87: -YY_RULE_SETUP -#line 210 "util/configlexer.lex" -{ YDVAR(1, VAR_VAL_CLEAN_ADDITIONAL) } - YY_BREAK -case 88: -YY_RULE_SETUP -#line 211 "util/configlexer.lex" -{ YDVAR(1, VAR_VAL_PERMISSIVE_MODE) } - YY_BREAK -case 89: -YY_RULE_SETUP -#line 212 "util/configlexer.lex" -{ YDVAR(1, VAR_IGNORE_CD_FLAG) } - YY_BREAK -case 90: -YY_RULE_SETUP -#line 213 "util/configlexer.lex" -{ YDVAR(1, VAR_VAL_LOG_LEVEL) } - YY_BREAK -case 91: -YY_RULE_SETUP -#line 214 "util/configlexer.lex" -{ YDVAR(1, VAR_KEY_CACHE_SIZE) } - YY_BREAK -case 92: -YY_RULE_SETUP -#line 215 "util/configlexer.lex" -{ YDVAR(1, VAR_KEY_CACHE_SLABS) } - YY_BREAK -case 93: -YY_RULE_SETUP -#line 216 "util/configlexer.lex" -{ YDVAR(1, VAR_NEG_CACHE_SIZE) } - YY_BREAK -case 94: -YY_RULE_SETUP -#line 217 "util/configlexer.lex" -{ - YDVAR(1, VAR_VAL_NSEC3_KEYSIZE_ITERATIONS) } - YY_BREAK -case 95: -YY_RULE_SETUP -#line 219 "util/configlexer.lex" -{ YDVAR(1, VAR_ADD_HOLDDOWN) } - YY_BREAK -case 96: -YY_RULE_SETUP -#line 220 "util/configlexer.lex" -{ YDVAR(1, VAR_DEL_HOLDDOWN) } - YY_BREAK -case 97: -YY_RULE_SETUP -#line 221 "util/configlexer.lex" -{ YDVAR(1, VAR_KEEP_MISSING) } - YY_BREAK -case 98: -YY_RULE_SETUP -#line 222 "util/configlexer.lex" -{ YDVAR(1, VAR_USE_SYSLOG) } - YY_BREAK -case 99: -YY_RULE_SETUP -#line 223 "util/configlexer.lex" -{ YDVAR(1, VAR_LOG_TIME_ASCII) } - YY_BREAK -case 100: -YY_RULE_SETUP -#line 224 "util/configlexer.lex" -{ YDVAR(1, VAR_LOG_QUERIES) } - YY_BREAK -case 101: -YY_RULE_SETUP -#line 225 "util/configlexer.lex" -{ YDVAR(2, VAR_LOCAL_ZONE) } - YY_BREAK -case 102: -YY_RULE_SETUP -#line 226 "util/configlexer.lex" -{ YDVAR(1, VAR_LOCAL_DATA) } - YY_BREAK -case 103: -YY_RULE_SETUP -#line 227 "util/configlexer.lex" -{ YDVAR(1, VAR_LOCAL_DATA_PTR) } - YY_BREAK -case 104: -YY_RULE_SETUP -#line 228 "util/configlexer.lex" -{ YDVAR(1, VAR_STATISTICS_INTERVAL) } - YY_BREAK -case 105: -YY_RULE_SETUP -#line 229 "util/configlexer.lex" -{ YDVAR(1, VAR_STATISTICS_CUMULATIVE) } - YY_BREAK -case 106: -YY_RULE_SETUP -#line 230 "util/configlexer.lex" -{ YDVAR(1, VAR_EXTENDED_STATISTICS) } - YY_BREAK -case 107: -YY_RULE_SETUP -#line 231 "util/configlexer.lex" -{ YDVAR(0, VAR_REMOTE_CONTROL) } - YY_BREAK -case 108: -YY_RULE_SETUP -#line 232 "util/configlexer.lex" -{ YDVAR(1, VAR_CONTROL_ENABLE) } - YY_BREAK -case 109: -YY_RULE_SETUP -#line 233 "util/configlexer.lex" -{ YDVAR(1, VAR_CONTROL_INTERFACE) } - YY_BREAK -case 110: -YY_RULE_SETUP -#line 234 "util/configlexer.lex" -{ YDVAR(1, VAR_CONTROL_PORT) } - YY_BREAK -case 111: -YY_RULE_SETUP -#line 235 "util/configlexer.lex" -{ YDVAR(1, VAR_SERVER_KEY_FILE) } - YY_BREAK -case 112: -YY_RULE_SETUP -#line 236 "util/configlexer.lex" -{ YDVAR(1, VAR_SERVER_CERT_FILE) } - YY_BREAK -case 113: -YY_RULE_SETUP -#line 237 "util/configlexer.lex" -{ YDVAR(1, VAR_CONTROL_KEY_FILE) } - YY_BREAK -case 114: -YY_RULE_SETUP -#line 238 "util/configlexer.lex" -{ YDVAR(1, VAR_CONTROL_CERT_FILE) } - YY_BREAK -case 115: -YY_RULE_SETUP -#line 239 "util/configlexer.lex" -{ YDVAR(1, VAR_PYTHON_SCRIPT) } - YY_BREAK -case 116: -YY_RULE_SETUP -#line 240 "util/configlexer.lex" -{ YDVAR(0, VAR_PYTHON) } - YY_BREAK -case 117: -YY_RULE_SETUP -#line 241 "util/configlexer.lex" -{ YDVAR(1, VAR_DOMAIN_INSECURE) } - YY_BREAK -case 118: -/* rule 118 can match eol */ -YY_RULE_SETUP -#line 242 "util/configlexer.lex" -{ LEXOUT(("NL\n")); cfg_parser->line++; } - YY_BREAK -/* Quoted strings. Strip leading and ending quotes */ -case 119: -YY_RULE_SETUP -#line 245 "util/configlexer.lex" -{ BEGIN(quotedstring); LEXOUT(("QS ")); } - YY_BREAK -case YY_STATE_EOF(quotedstring): -#line 246 "util/configlexer.lex" -{ - yyerror("EOF inside quoted string"); - if(--num_args == 0) { BEGIN(INITIAL); } - else { BEGIN(val); } -} - YY_BREAK -case 120: -YY_RULE_SETUP -#line 251 "util/configlexer.lex" -{ LEXOUT(("STR(%s) ", yytext)); yymore(); } - YY_BREAK -case 121: -/* rule 121 can match eol */ -YY_RULE_SETUP -#line 252 "util/configlexer.lex" -{ yyerror("newline inside quoted string, no end \""); - cfg_parser->line++; BEGIN(INITIAL); } - YY_BREAK -case 122: -YY_RULE_SETUP -#line 254 "util/configlexer.lex" -{ - LEXOUT(("QE ")); - if(--num_args == 0) { BEGIN(INITIAL); } - else { BEGIN(val); } - yytext[yyleng - 1] = '\0'; - yylval.str = strdup(yytext); - if(!yylval.str) - yyerror("out of memory"); - return STRING_ARG; -} - YY_BREAK -/* Single Quoted strings. Strip leading and ending quotes */ -case 123: -YY_RULE_SETUP -#line 266 "util/configlexer.lex" -{ BEGIN(singlequotedstr); LEXOUT(("SQS ")); } - YY_BREAK -case YY_STATE_EOF(singlequotedstr): -#line 267 "util/configlexer.lex" -{ - yyerror("EOF inside quoted string"); - if(--num_args == 0) { BEGIN(INITIAL); } - else { BEGIN(val); } -} - YY_BREAK -case 124: -YY_RULE_SETUP -#line 272 "util/configlexer.lex" -{ LEXOUT(("STR(%s) ", yytext)); yymore(); } - YY_BREAK -case 125: -/* rule 125 can match eol */ -YY_RULE_SETUP -#line 273 "util/configlexer.lex" -{ yyerror("newline inside quoted string, no end '"); - cfg_parser->line++; BEGIN(INITIAL); } - YY_BREAK -case 126: -YY_RULE_SETUP -#line 275 "util/configlexer.lex" -{ - LEXOUT(("SQE ")); - if(--num_args == 0) { BEGIN(INITIAL); } - else { BEGIN(val); } - yytext[yyleng - 1] = '\0'; - yylval.str = strdup(yytext); - if(!yylval.str) - yyerror("out of memory"); - return STRING_ARG; -} - YY_BREAK -/* include: directive */ -case 127: -YY_RULE_SETUP -#line 287 "util/configlexer.lex" -{ - LEXOUT(("v(%s) ", yytext)); inc_prev = YYSTATE; BEGIN(include); } - YY_BREAK -case YY_STATE_EOF(include): -#line 289 "util/configlexer.lex" -{ - yyerror("EOF inside include directive"); - BEGIN(inc_prev); -} - YY_BREAK -case 128: -YY_RULE_SETUP -#line 293 "util/configlexer.lex" -{ LEXOUT(("ISP ")); /* ignore */ } - YY_BREAK -case 129: -/* rule 129 can match eol */ -YY_RULE_SETUP -#line 294 "util/configlexer.lex" -{ LEXOUT(("NL\n")); cfg_parser->line++;} - YY_BREAK -case 130: -YY_RULE_SETUP -#line 295 "util/configlexer.lex" -{ LEXOUT(("IQS ")); BEGIN(include_quoted); } - YY_BREAK -case 131: -YY_RULE_SETUP -#line 296 "util/configlexer.lex" -{ - LEXOUT(("Iunquotedstr(%s) ", yytext)); - config_start_include(yytext); - BEGIN(inc_prev); -} - YY_BREAK -case YY_STATE_EOF(include_quoted): -#line 301 "util/configlexer.lex" -{ - yyerror("EOF inside quoted string"); - BEGIN(inc_prev); -} - YY_BREAK -case 132: -YY_RULE_SETUP -#line 305 "util/configlexer.lex" -{ LEXOUT(("ISTR(%s) ", yytext)); yymore(); } - YY_BREAK -case 133: -/* rule 133 can match eol */ -YY_RULE_SETUP -#line 306 "util/configlexer.lex" -{ yyerror("newline before \" in include name"); - cfg_parser->line++; BEGIN(inc_prev); } - YY_BREAK -case 134: -YY_RULE_SETUP -#line 308 "util/configlexer.lex" -{ - LEXOUT(("IQE ")); - yytext[yyleng - 1] = '\0'; - config_start_include(yytext); - BEGIN(inc_prev); -} - YY_BREAK -case YY_STATE_EOF(INITIAL): -case YY_STATE_EOF(val): -#line 314 "util/configlexer.lex" -{ - yy_set_bol(1); /* Set beginning of line, so "^" rules match. */ - if (config_include_stack_ptr == 0) { - yyterminate(); - } else { - fclose(yyin); - config_end_include(); - } -} - YY_BREAK -case 135: -YY_RULE_SETUP -#line 324 "util/configlexer.lex" -{ LEXOUT(("unquotedstr(%s) ", yytext)); - if(--num_args == 0) { BEGIN(INITIAL); } - yylval.str = strdup(yytext); return STRING_ARG; } - YY_BREAK -case 136: -YY_RULE_SETUP -#line 328 "util/configlexer.lex" -{ - ub_c_error_msg("unknown keyword '%s'", yytext); - } - YY_BREAK -case 137: -YY_RULE_SETUP -#line 332 "util/configlexer.lex" -{ - ub_c_error_msg("stray '%s'", yytext); - } - YY_BREAK -case 138: -YY_RULE_SETUP -#line 336 "util/configlexer.lex" -ECHO; - YY_BREAK -#line 2887 "<stdout>" - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = (yy_hold_char); - YY_RESTORE_YY_MORE_OFFSET - - if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between YY_CURRENT_BUFFER and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state( ); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++(yy_c_buf_p); - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = (yy_c_buf_p); - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer( ) ) - { - case EOB_ACT_END_OF_FILE: - { - (yy_did_buffer_switch_on_eof) = 0; - - if ( yywrap( ) ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! (yy_did_buffer_switch_on_eof) ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - (yy_c_buf_p) = - (yytext_ptr) + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state( ); - - yy_cp = (yy_c_buf_p); - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - (yy_c_buf_p) = - &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; - - yy_current_state = yy_get_previous_state( ); - - yy_cp = (yy_c_buf_p); - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ -} /* end of yylex */ - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ -static int yy_get_next_buffer (void) -{ - register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; - register char *source = (yytext_ptr); - register int number_to_move, i; - int ret_val; - - if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) - { - /* We matched a single character, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; - - else - { - 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; - - 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,b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - - number_to_move - 1; - - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), - (yy_n_chars), (size_t) num_to_read ); - - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - if ( (yy_n_chars) == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart(yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { - /* Extend the array by 50%, plus the number we really need. */ - yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); - if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); - } - - (yy_n_chars) += number_to_move; - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; - - (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; - - return ret_val; -} - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - - static yy_state_type yy_get_previous_state (void) -{ - register yy_state_type yy_current_state; - register char *yy_cp; - - yy_current_state = (yy_start); - - for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) - { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 1303 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; -} - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) -{ - register int yy_is_jam; - register char *yy_cp = (yy_c_buf_p); - - register YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 1303 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 1302); - - return yy_is_jam ? 0 : yy_current_state; -} - -#ifndef YY_NO_INPUT -#ifdef __cplusplus - static int yyinput (void) -#else - static int input (void) -#endif - -{ - int c; - - *(yy_c_buf_p) = (yy_hold_char); - - if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) - /* This was really a NUL. */ - *(yy_c_buf_p) = '\0'; - - else - { /* need more input */ - int offset = (yy_c_buf_p) - (yytext_ptr); - ++(yy_c_buf_p); - - switch ( yy_get_next_buffer( ) ) - { - case EOB_ACT_LAST_MATCH: - /* This happens because yy_g_n_b() - * sees that we've accumulated a - * token and flags that we need to - * try matching the token before - * proceeding. But for input(), - * there's no matching to consider. - * So convert the EOB_ACT_LAST_MATCH - * to EOB_ACT_END_OF_FILE. - */ - - /* Reset buffer status. */ - yyrestart(yyin ); - - /*FALLTHROUGH*/ - - case EOB_ACT_END_OF_FILE: - { - if ( yywrap( ) ) - return EOF; - - if ( ! (yy_did_buffer_switch_on_eof) ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - (yy_c_buf_p) = (yytext_ptr) + offset; - break; - } - } - } - - c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ - *(yy_c_buf_p) = '\0'; /* preserve yytext */ - (yy_hold_char) = *++(yy_c_buf_p); - - return c; -} -#endif /* ifndef YY_NO_INPUT */ - -/** Immediately switch to a different input stream. - * @param input_file A readable stream. - * - * @note This function does not reset the start condition to @c INITIAL . - */ - void yyrestart (FILE * input_file ) -{ - - if ( ! YY_CURRENT_BUFFER ){ - yyensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = - yy_create_buffer(yyin,YY_BUF_SIZE ); - } - - yy_init_buffer(YY_CURRENT_BUFFER,input_file ); - yy_load_buffer_state( ); -} - -/** Switch to a different input buffer. - * @param new_buffer The new input buffer. - * - */ - void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) -{ - - /* TODO. We should be able to replace this entire function body - * with - * yypop_buffer_state(); - * yypush_buffer_state(new_buffer); - */ - yyensure_buffer_stack (); - if ( YY_CURRENT_BUFFER == new_buffer ) - return; - - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - YY_CURRENT_BUFFER_LVALUE = new_buffer; - yy_load_buffer_state( ); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - (yy_did_buffer_switch_on_eof) = 1; -} - -static void yy_load_buffer_state (void) -{ - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; - yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; - (yy_hold_char) = *(yy_c_buf_p); -} - -/** Allocate and initialize an input buffer state. - * @param file A readable stream. - * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. - * - * @return the allocated buffer state. - */ - YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) -{ - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer(b,file ); - - return b; -} - -/** Destroy the buffer. - * @param b a buffer created with yy_create_buffer() - * - */ - void yy_delete_buffer (YY_BUFFER_STATE b ) -{ - - if ( ! b ) - return; - - if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ - YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yyfree((void *) b->yy_ch_buf ); - - yyfree((void *) b ); -} - -#ifndef __cplusplus -extern int isatty (int ); -#endif /* __cplusplus */ - -/* Initializes or reinitializes a buffer. - * This function is sometimes called more than once on the same buffer, - * such as during a yyrestart() or at EOF. - */ - static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) - -{ - int oerrno = errno; - - yy_flush_buffer(b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - - /* If b is the current buffer, then yy_init_buffer was _probably_ - * called from yyrestart() or through yy_get_next_buffer. - * In that case, we don't want to reset the lineno or column. - */ - if (b != YY_CURRENT_BUFFER){ - b->yy_bs_lineno = 1; - b->yy_bs_column = 0; - } - - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; - - errno = oerrno; -} - -/** Discard all buffered characters. On the next scan, YY_INPUT will be called. - * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. - * - */ - void yy_flush_buffer (YY_BUFFER_STATE b ) -{ - if ( ! b ) - return; - - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == YY_CURRENT_BUFFER ) - yy_load_buffer_state( ); -} - -/** Pushes the new state onto the stack. The new state becomes - * the current state. This function will allocate the stack - * if necessary. - * @param new_buffer The new state. - * - */ -void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) -{ - if (new_buffer == NULL) - return; - - yyensure_buffer_stack(); - - /* This block is copied from yy_switch_to_buffer. */ - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - /* Only push if top exists. Otherwise, replace top. */ - if (YY_CURRENT_BUFFER) - (yy_buffer_stack_top)++; - YY_CURRENT_BUFFER_LVALUE = new_buffer; - - /* copied from yy_switch_to_buffer. */ - yy_load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; -} - -/** Removes and deletes the top of the stack, if present. - * The next element becomes the new top. - * - */ -void yypop_buffer_state (void) -{ - if (!YY_CURRENT_BUFFER) - return; - - yy_delete_buffer(YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - if ((yy_buffer_stack_top) > 0) - --(yy_buffer_stack_top); - - if (YY_CURRENT_BUFFER) { - yy_load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; - } -} - -/* Allocates the stack if it does not exist. - * Guarantees space for at least one push. - */ -static void yyensure_buffer_stack (void) -{ - int num_to_alloc; - - if (!(yy_buffer_stack)) { - - /* First allocation is just for 2 elements, since we don't know if this - * scanner will even need a stack. We use 2 instead of 1 to avoid an - * immediate realloc on the next call. - */ - num_to_alloc = 1; - (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc - (num_to_alloc * sizeof(struct yy_buffer_state*) - ); - if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); - - memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); - - (yy_buffer_stack_max) = num_to_alloc; - (yy_buffer_stack_top) = 0; - return; - } - - if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ - - /* Increase the buffer to prepare for a possible push. */ - int grow_size = 8 /* arbitrary grow size */; - - num_to_alloc = (yy_buffer_stack_max) + grow_size; - (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc - ((yy_buffer_stack), - num_to_alloc * sizeof(struct yy_buffer_state*) - ); - if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); - - /* zero only the new slots.*/ - memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); - (yy_buffer_stack_max) = num_to_alloc; - } -} - -/** Setup the input buffer state to scan directly from a user-specified character buffer. - * @param base the character buffer - * @param size the size in bytes of the character buffer - * - * @return the newly allocated buffer state object. - */ -YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) -{ - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer(b ); - - return b; -} - -/** Setup the input buffer state to scan a string. The next call to yylex() will - * scan from a @e copy of @a str. - * @param yystr a NUL-terminated string to scan - * - * @return the newly allocated buffer state object. - * @note If you want to scan bytes that may contain NUL values, then use - * yy_scan_bytes() instead. - */ -YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) -{ - - return yy_scan_bytes(yystr,strlen(yystr) ); -} - -/** Setup the input buffer state to scan the given bytes. The next call to yylex() will - * scan from a @e copy of @a bytes. - * @param bytes the byte buffer to scan - * @param len the number of bytes in the buffer pointed to by @a bytes. - * - * @return the newly allocated buffer state object. - */ -YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, 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 = _yybytes_len + 2; - buf = (char *) yyalloc(n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < _yybytes_len; ++i ) - buf[i] = yybytes[i]; - - buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer(buf,n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; -} - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -static void yy_fatal_error (yyconst char* msg ) -{ - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); -} - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - int yyless_macro_arg = (n); \ - YY_LESS_LINENO(yyless_macro_arg);\ - yytext[yyleng] = (yy_hold_char); \ - (yy_c_buf_p) = yytext + yyless_macro_arg; \ - (yy_hold_char) = *(yy_c_buf_p); \ - *(yy_c_buf_p) = '\0'; \ - yyleng = yyless_macro_arg; \ - } \ - while ( 0 ) - -/* Accessor methods (get/set functions) to struct members. */ - -/** Get the current line number. - * - */ -int yyget_lineno (void) -{ - - return yylineno; -} - -/** Get the input stream. - * - */ -FILE *yyget_in (void) -{ - return yyin; -} - -/** Get the output stream. - * - */ -FILE *yyget_out (void) -{ - return yyout; -} - -/** Get the length of the current token. - * - */ -int yyget_leng (void) -{ - return yyleng; -} - -/** Get the current token. - * - */ - -char *yyget_text (void) -{ - return yytext; -} - -/** Set the current line number. - * @param line_number - * - */ -void yyset_lineno (int line_number ) -{ - - yylineno = line_number; -} - -/** Set the input stream. This does not discard the current - * input buffer. - * @param in_str A readable stream. - * - * @see yy_switch_to_buffer - */ -void yyset_in (FILE * in_str ) -{ - yyin = in_str ; -} - -void yyset_out (FILE * out_str ) -{ - yyout = out_str ; -} - -int yyget_debug (void) -{ - return yy_flex_debug; -} - -void yyset_debug (int bdebug ) -{ - yy_flex_debug = bdebug ; -} - -static int yy_init_globals (void) -{ - /* Initialization is the same as for the non-reentrant scanner. - * This function is called from yylex_destroy(), so don't allocate here. - */ - - (yy_buffer_stack) = 0; - (yy_buffer_stack_top) = 0; - (yy_buffer_stack_max) = 0; - (yy_c_buf_p) = (char *) 0; - (yy_init) = 0; - (yy_start) = 0; - -/* Defined in main.c */ -#ifdef YY_STDINIT - yyin = stdin; - yyout = stdout; -#else - yyin = (FILE *) 0; - yyout = (FILE *) 0; -#endif - - /* For future reference: Set errno on error, since we are called by - * yylex_init() - */ - return 0; -} - -/* yylex_destroy is for both reentrant and non-reentrant scanners. */ -int yylex_destroy (void) -{ - - /* Pop the buffer stack, destroying each element. */ - while(YY_CURRENT_BUFFER){ - yy_delete_buffer(YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - yypop_buffer_state(); - } - - /* Destroy the stack itself. */ - yyfree((yy_buffer_stack) ); - (yy_buffer_stack) = NULL; - - /* Reset the globals. This is important in a non-reentrant scanner so the next time - * yylex() is called, initialization will occur. */ - yy_init_globals( ); - - return 0; -} - -/* - * Internal utility routines. - */ - -#ifndef yytext_ptr -static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) -{ - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; -} -#endif - -#ifdef YY_NEED_STRLEN -static int yy_flex_strlen (yyconst char * s ) -{ - register int n; - for ( n = 0; s[n]; ++n ) - ; - - return n; -} -#endif - -void *yyalloc (yy_size_t size ) -{ - return (void *) malloc( size ); -} - -void *yyrealloc (void * ptr, yy_size_t size ) -{ - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); -} - -void yyfree (void * ptr ) -{ - free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ -} - -#define YYTABLES_NAME "yytables" - -#line 336 "util/configlexer.lex" - - - diff --git a/usr.sbin/unbound/util/configparser.c b/usr.sbin/unbound/util/configparser.c deleted file mode 100644 index 1fe21ad58c4..00000000000 --- a/usr.sbin/unbound/util/configparser.c +++ /dev/null @@ -1,3811 +0,0 @@ -/* A Bison parser, made by GNU Bison 2.5. */ - -/* Bison implementation for Yacc-like parsers in C - - Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -/* As a special exception, you may create a larger work that contains - part or all of the Bison parser skeleton and distribute that work - under terms of your choice, so long as that work isn't itself a - parser generator using the skeleton or a modified version thereof - as a parser skeleton. Alternatively, if you modify or redistribute - the parser skeleton itself, you may (at your option) remove this - special exception, which will cause the skeleton and the resulting - Bison output files to be licensed under the GNU General Public - License without this special exception. - - This special exception was added by the Free Software Foundation in - version 2.2 of Bison. */ - -/* C LALR(1) parser skeleton written by Richard Stallman, by - simplifying the original so-called "semantic" parser. */ - -/* All symbols defined below should begin with yy or YY, to avoid - infringing on user name space. This should be done even for local - variables, as they might otherwise be expanded by user macros. - There are some unavoidable exceptions within include files to - define necessary library symbols; they are noted "INFRINGES ON - USER NAME SPACE" below. */ - -/* Identify Bison output. */ -#define YYBISON 1 - -/* Bison version. */ -#define YYBISON_VERSION "2.5" - -/* Skeleton name. */ -#define YYSKELETON_NAME "yacc.c" - -/* Pure parsers. */ -#define YYPURE 0 - -/* Push parsers. */ -#define YYPUSH 0 - -/* Pull parsers. */ -#define YYPULL 1 - -/* Using locations. */ -#define YYLSP_NEEDED 0 - - - -/* Copy the first part of user declarations. */ - -/* Line 268 of yacc.c */ -#line 38 "util/configparser.y" - -#include "config.h" - -#include <stdarg.h> -#include <stdio.h> -#include <string.h> -#include <stdlib.h> -#include <assert.h> - -#include "util/configyyrename.h" -#include "util/config_file.h" -#include "util/net_help.h" - -int ub_c_lex(void); -void ub_c_error(const char *message); - -/* these need to be global, otherwise they cannot be used inside yacc */ -extern struct config_parser_state* cfg_parser; - -#if 0 -#define OUTYY(s) printf s /* used ONLY when debugging */ -#else -#define OUTYY(s) -#endif - - - -/* Line 268 of yacc.c */ -#line 99 "util/configparser.c" - -/* Enabling traces. */ -#ifndef YYDEBUG -# define YYDEBUG 0 -#endif - -/* Enabling verbose error messages. */ -#ifdef YYERROR_VERBOSE -# undef YYERROR_VERBOSE -# define YYERROR_VERBOSE 1 -#else -# define YYERROR_VERBOSE 0 -#endif - -/* Enabling the token table. */ -#ifndef YYTOKEN_TABLE -# define YYTOKEN_TABLE 0 -#endif - - -/* Tokens. */ -#ifndef YYTOKENTYPE -# define YYTOKENTYPE - /* Put the tokens into the symbol table, so that GDB and other debuggers - know about them. */ - enum yytokentype { - SPACE = 258, - LETTER = 259, - NEWLINE = 260, - COMMENT = 261, - COLON = 262, - ANY = 263, - ZONESTR = 264, - STRING_ARG = 265, - VAR_SERVER = 266, - VAR_VERBOSITY = 267, - VAR_NUM_THREADS = 268, - VAR_PORT = 269, - VAR_OUTGOING_RANGE = 270, - VAR_INTERFACE = 271, - VAR_DO_IP4 = 272, - VAR_DO_IP6 = 273, - VAR_DO_UDP = 274, - VAR_DO_TCP = 275, - VAR_CHROOT = 276, - VAR_USERNAME = 277, - VAR_DIRECTORY = 278, - VAR_LOGFILE = 279, - VAR_PIDFILE = 280, - VAR_MSG_CACHE_SIZE = 281, - VAR_MSG_CACHE_SLABS = 282, - VAR_NUM_QUERIES_PER_THREAD = 283, - VAR_RRSET_CACHE_SIZE = 284, - VAR_RRSET_CACHE_SLABS = 285, - VAR_OUTGOING_NUM_TCP = 286, - VAR_INFRA_HOST_TTL = 287, - VAR_INFRA_LAME_TTL = 288, - VAR_INFRA_CACHE_SLABS = 289, - VAR_INFRA_CACHE_NUMHOSTS = 290, - VAR_INFRA_CACHE_LAME_SIZE = 291, - VAR_NAME = 292, - VAR_STUB_ZONE = 293, - VAR_STUB_HOST = 294, - VAR_STUB_ADDR = 295, - VAR_TARGET_FETCH_POLICY = 296, - VAR_HARDEN_SHORT_BUFSIZE = 297, - VAR_HARDEN_LARGE_QUERIES = 298, - VAR_FORWARD_ZONE = 299, - VAR_FORWARD_HOST = 300, - VAR_FORWARD_ADDR = 301, - VAR_DO_NOT_QUERY_ADDRESS = 302, - VAR_HIDE_IDENTITY = 303, - VAR_HIDE_VERSION = 304, - VAR_IDENTITY = 305, - VAR_VERSION = 306, - VAR_HARDEN_GLUE = 307, - VAR_MODULE_CONF = 308, - VAR_TRUST_ANCHOR_FILE = 309, - VAR_TRUST_ANCHOR = 310, - VAR_VAL_OVERRIDE_DATE = 311, - VAR_BOGUS_TTL = 312, - VAR_VAL_CLEAN_ADDITIONAL = 313, - VAR_VAL_PERMISSIVE_MODE = 314, - VAR_INCOMING_NUM_TCP = 315, - VAR_MSG_BUFFER_SIZE = 316, - VAR_KEY_CACHE_SIZE = 317, - VAR_KEY_CACHE_SLABS = 318, - VAR_TRUSTED_KEYS_FILE = 319, - VAR_VAL_NSEC3_KEYSIZE_ITERATIONS = 320, - VAR_USE_SYSLOG = 321, - VAR_OUTGOING_INTERFACE = 322, - VAR_ROOT_HINTS = 323, - VAR_DO_NOT_QUERY_LOCALHOST = 324, - VAR_CACHE_MAX_TTL = 325, - VAR_HARDEN_DNSSEC_STRIPPED = 326, - VAR_ACCESS_CONTROL = 327, - VAR_LOCAL_ZONE = 328, - VAR_LOCAL_DATA = 329, - VAR_INTERFACE_AUTOMATIC = 330, - VAR_STATISTICS_INTERVAL = 331, - VAR_DO_DAEMONIZE = 332, - VAR_USE_CAPS_FOR_ID = 333, - VAR_STATISTICS_CUMULATIVE = 334, - VAR_OUTGOING_PORT_PERMIT = 335, - VAR_OUTGOING_PORT_AVOID = 336, - VAR_DLV_ANCHOR_FILE = 337, - VAR_DLV_ANCHOR = 338, - VAR_NEG_CACHE_SIZE = 339, - VAR_HARDEN_REFERRAL_PATH = 340, - VAR_PRIVATE_ADDRESS = 341, - VAR_PRIVATE_DOMAIN = 342, - VAR_REMOTE_CONTROL = 343, - VAR_CONTROL_ENABLE = 344, - VAR_CONTROL_INTERFACE = 345, - VAR_CONTROL_PORT = 346, - VAR_SERVER_KEY_FILE = 347, - VAR_SERVER_CERT_FILE = 348, - VAR_CONTROL_KEY_FILE = 349, - VAR_CONTROL_CERT_FILE = 350, - VAR_EXTENDED_STATISTICS = 351, - VAR_LOCAL_DATA_PTR = 352, - VAR_JOSTLE_TIMEOUT = 353, - VAR_STUB_PRIME = 354, - VAR_UNWANTED_REPLY_THRESHOLD = 355, - VAR_LOG_TIME_ASCII = 356, - VAR_DOMAIN_INSECURE = 357, - VAR_PYTHON = 358, - VAR_PYTHON_SCRIPT = 359, - VAR_VAL_SIG_SKEW_MIN = 360, - VAR_VAL_SIG_SKEW_MAX = 361, - VAR_CACHE_MIN_TTL = 362, - VAR_VAL_LOG_LEVEL = 363, - VAR_AUTO_TRUST_ANCHOR_FILE = 364, - VAR_KEEP_MISSING = 365, - VAR_ADD_HOLDDOWN = 366, - VAR_DEL_HOLDDOWN = 367, - VAR_SO_RCVBUF = 368, - VAR_EDNS_BUFFER_SIZE = 369, - VAR_PREFETCH = 370, - VAR_PREFETCH_KEY = 371, - VAR_SO_SNDBUF = 372, - VAR_HARDEN_BELOW_NXDOMAIN = 373, - VAR_IGNORE_CD_FLAG = 374, - VAR_LOG_QUERIES = 375, - VAR_TCP_UPSTREAM = 376, - VAR_SSL_UPSTREAM = 377, - VAR_SSL_SERVICE_KEY = 378, - VAR_SSL_SERVICE_PEM = 379, - VAR_SSL_PORT = 380 - }; -#endif -/* Tokens. */ -#define SPACE 258 -#define LETTER 259 -#define NEWLINE 260 -#define COMMENT 261 -#define COLON 262 -#define ANY 263 -#define ZONESTR 264 -#define STRING_ARG 265 -#define VAR_SERVER 266 -#define VAR_VERBOSITY 267 -#define VAR_NUM_THREADS 268 -#define VAR_PORT 269 -#define VAR_OUTGOING_RANGE 270 -#define VAR_INTERFACE 271 -#define VAR_DO_IP4 272 -#define VAR_DO_IP6 273 -#define VAR_DO_UDP 274 -#define VAR_DO_TCP 275 -#define VAR_CHROOT 276 -#define VAR_USERNAME 277 -#define VAR_DIRECTORY 278 -#define VAR_LOGFILE 279 -#define VAR_PIDFILE 280 -#define VAR_MSG_CACHE_SIZE 281 -#define VAR_MSG_CACHE_SLABS 282 -#define VAR_NUM_QUERIES_PER_THREAD 283 -#define VAR_RRSET_CACHE_SIZE 284 -#define VAR_RRSET_CACHE_SLABS 285 -#define VAR_OUTGOING_NUM_TCP 286 -#define VAR_INFRA_HOST_TTL 287 -#define VAR_INFRA_LAME_TTL 288 -#define VAR_INFRA_CACHE_SLABS 289 -#define VAR_INFRA_CACHE_NUMHOSTS 290 -#define VAR_INFRA_CACHE_LAME_SIZE 291 -#define VAR_NAME 292 -#define VAR_STUB_ZONE 293 -#define VAR_STUB_HOST 294 -#define VAR_STUB_ADDR 295 -#define VAR_TARGET_FETCH_POLICY 296 -#define VAR_HARDEN_SHORT_BUFSIZE 297 -#define VAR_HARDEN_LARGE_QUERIES 298 -#define VAR_FORWARD_ZONE 299 -#define VAR_FORWARD_HOST 300 -#define VAR_FORWARD_ADDR 301 -#define VAR_DO_NOT_QUERY_ADDRESS 302 -#define VAR_HIDE_IDENTITY 303 -#define VAR_HIDE_VERSION 304 -#define VAR_IDENTITY 305 -#define VAR_VERSION 306 -#define VAR_HARDEN_GLUE 307 -#define VAR_MODULE_CONF 308 -#define VAR_TRUST_ANCHOR_FILE 309 -#define VAR_TRUST_ANCHOR 310 -#define VAR_VAL_OVERRIDE_DATE 311 -#define VAR_BOGUS_TTL 312 -#define VAR_VAL_CLEAN_ADDITIONAL 313 -#define VAR_VAL_PERMISSIVE_MODE 314 -#define VAR_INCOMING_NUM_TCP 315 -#define VAR_MSG_BUFFER_SIZE 316 -#define VAR_KEY_CACHE_SIZE 317 -#define VAR_KEY_CACHE_SLABS 318 -#define VAR_TRUSTED_KEYS_FILE 319 -#define VAR_VAL_NSEC3_KEYSIZE_ITERATIONS 320 -#define VAR_USE_SYSLOG 321 -#define VAR_OUTGOING_INTERFACE 322 -#define VAR_ROOT_HINTS 323 -#define VAR_DO_NOT_QUERY_LOCALHOST 324 -#define VAR_CACHE_MAX_TTL 325 -#define VAR_HARDEN_DNSSEC_STRIPPED 326 -#define VAR_ACCESS_CONTROL 327 -#define VAR_LOCAL_ZONE 328 -#define VAR_LOCAL_DATA 329 -#define VAR_INTERFACE_AUTOMATIC 330 -#define VAR_STATISTICS_INTERVAL 331 -#define VAR_DO_DAEMONIZE 332 -#define VAR_USE_CAPS_FOR_ID 333 -#define VAR_STATISTICS_CUMULATIVE 334 -#define VAR_OUTGOING_PORT_PERMIT 335 -#define VAR_OUTGOING_PORT_AVOID 336 -#define VAR_DLV_ANCHOR_FILE 337 -#define VAR_DLV_ANCHOR 338 -#define VAR_NEG_CACHE_SIZE 339 -#define VAR_HARDEN_REFERRAL_PATH 340 -#define VAR_PRIVATE_ADDRESS 341 -#define VAR_PRIVATE_DOMAIN 342 -#define VAR_REMOTE_CONTROL 343 -#define VAR_CONTROL_ENABLE 344 -#define VAR_CONTROL_INTERFACE 345 -#define VAR_CONTROL_PORT 346 -#define VAR_SERVER_KEY_FILE 347 -#define VAR_SERVER_CERT_FILE 348 -#define VAR_CONTROL_KEY_FILE 349 -#define VAR_CONTROL_CERT_FILE 350 -#define VAR_EXTENDED_STATISTICS 351 -#define VAR_LOCAL_DATA_PTR 352 -#define VAR_JOSTLE_TIMEOUT 353 -#define VAR_STUB_PRIME 354 -#define VAR_UNWANTED_REPLY_THRESHOLD 355 -#define VAR_LOG_TIME_ASCII 356 -#define VAR_DOMAIN_INSECURE 357 -#define VAR_PYTHON 358 -#define VAR_PYTHON_SCRIPT 359 -#define VAR_VAL_SIG_SKEW_MIN 360 -#define VAR_VAL_SIG_SKEW_MAX 361 -#define VAR_CACHE_MIN_TTL 362 -#define VAR_VAL_LOG_LEVEL 363 -#define VAR_AUTO_TRUST_ANCHOR_FILE 364 -#define VAR_KEEP_MISSING 365 -#define VAR_ADD_HOLDDOWN 366 -#define VAR_DEL_HOLDDOWN 367 -#define VAR_SO_RCVBUF 368 -#define VAR_EDNS_BUFFER_SIZE 369 -#define VAR_PREFETCH 370 -#define VAR_PREFETCH_KEY 371 -#define VAR_SO_SNDBUF 372 -#define VAR_HARDEN_BELOW_NXDOMAIN 373 -#define VAR_IGNORE_CD_FLAG 374 -#define VAR_LOG_QUERIES 375 -#define VAR_TCP_UPSTREAM 376 -#define VAR_SSL_UPSTREAM 377 -#define VAR_SSL_SERVICE_KEY 378 -#define VAR_SSL_SERVICE_PEM 379 -#define VAR_SSL_PORT 380 - - - - -#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE -{ - -/* Line 293 of yacc.c */ -#line 64 "util/configparser.y" - - char* str; - - - -/* Line 293 of yacc.c */ -#line 391 "util/configparser.c" -} YYSTYPE; -# define YYSTYPE_IS_TRIVIAL 1 -# define yystype YYSTYPE /* obsolescent; will be withdrawn */ -# define YYSTYPE_IS_DECLARED 1 -#endif - - -/* Copy the second part of user declarations. */ - - -/* Line 343 of yacc.c */ -#line 403 "util/configparser.c" - -#ifdef short -# undef short -#endif - -#ifdef YYTYPE_UINT8 -typedef YYTYPE_UINT8 yytype_uint8; -#else -typedef unsigned char yytype_uint8; -#endif - -#ifdef YYTYPE_INT8 -typedef YYTYPE_INT8 yytype_int8; -#elif (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -typedef signed char yytype_int8; -#else -typedef short int yytype_int8; -#endif - -#ifdef YYTYPE_UINT16 -typedef YYTYPE_UINT16 yytype_uint16; -#else -typedef unsigned short int yytype_uint16; -#endif - -#ifdef YYTYPE_INT16 -typedef YYTYPE_INT16 yytype_int16; -#else -typedef short int yytype_int16; -#endif - -#ifndef YYSIZE_T -# ifdef __SIZE_TYPE__ -# define YYSIZE_T __SIZE_TYPE__ -# elif defined size_t -# define YYSIZE_T size_t -# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t -# else -# define YYSIZE_T unsigned int -# endif -#endif - -#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) - -#ifndef YY_ -# if defined YYENABLE_NLS && YYENABLE_NLS -# if ENABLE_NLS -# include <libintl.h> /* INFRINGES ON USER NAME SPACE */ -# define YY_(msgid) dgettext ("bison-runtime", msgid) -# endif -# endif -# ifndef YY_ -# define YY_(msgid) msgid -# endif -#endif - -/* Suppress unused-variable warnings by "using" E. */ -#if ! defined lint || defined __GNUC__ -# define YYUSE(e) ((void) (e)) -#else -# define YYUSE(e) /* empty */ -#endif - -/* Identity function, used to suppress warnings about constant conditions. */ -#ifndef lint -# define YYID(n) (n) -#else -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -static int -YYID (int yyi) -#else -static int -YYID (yyi) - int yyi; -#endif -{ - return yyi; -} -#endif - -#if ! defined yyoverflow || YYERROR_VERBOSE - -/* The parser invokes alloca or malloc; define the necessary symbols. */ - -# ifdef YYSTACK_USE_ALLOCA -# if YYSTACK_USE_ALLOCA -# ifdef __GNUC__ -# define YYSTACK_ALLOC __builtin_alloca -# elif defined __BUILTIN_VA_ARG_INCR -# include <alloca.h> /* INFRINGES ON USER NAME SPACE */ -# elif defined _AIX -# define YYSTACK_ALLOC __alloca -# elif defined _MSC_VER -# include <malloc.h> /* INFRINGES ON USER NAME SPACE */ -# define alloca _alloca -# else -# define YYSTACK_ALLOC alloca -# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ -# ifndef EXIT_SUCCESS -# define EXIT_SUCCESS 0 -# endif -# endif -# endif -# endif -# endif - -# ifdef YYSTACK_ALLOC - /* Pacify GCC's `empty if-body' warning. */ -# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0)) -# ifndef YYSTACK_ALLOC_MAXIMUM - /* The OS might guarantee only one guard page at the bottom of the stack, - and a page size can be as small as 4096 bytes. So we cannot safely - invoke alloca (N) if N exceeds 4096. Use a slightly smaller number - to allow for a few compiler-allocated temporary stack slots. */ -# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ -# endif -# else -# define YYSTACK_ALLOC YYMALLOC -# define YYSTACK_FREE YYFREE -# ifndef YYSTACK_ALLOC_MAXIMUM -# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM -# endif -# if (defined __cplusplus && ! defined EXIT_SUCCESS \ - && ! ((defined YYMALLOC || defined malloc) \ - && (defined YYFREE || defined free))) -# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ -# ifndef EXIT_SUCCESS -# define EXIT_SUCCESS 0 -# endif -# endif -# ifndef YYMALLOC -# define YYMALLOC malloc -# if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ -# endif -# endif -# ifndef YYFREE -# define YYFREE free -# if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -void free (void *); /* INFRINGES ON USER NAME SPACE */ -# endif -# endif -# endif -#endif /* ! defined yyoverflow || YYERROR_VERBOSE */ - - -#if (! defined yyoverflow \ - && (! defined __cplusplus \ - || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) - -/* A type that is properly aligned for any stack member. */ -union yyalloc -{ - yytype_int16 yyss_alloc; - YYSTYPE yyvs_alloc; -}; - -/* The size of the maximum gap between one aligned stack and the next. */ -# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) - -/* The size of an array large to enough to hold all stacks, each with - N elements. */ -# define YYSTACK_BYTES(N) \ - ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ - + YYSTACK_GAP_MAXIMUM) - -# define YYCOPY_NEEDED 1 - -/* Relocate STACK from its old location to the new one. The - local variables YYSIZE and YYSTACKSIZE give the old and new number of - elements in the stack, and YYPTR gives the new location of the - stack. Advance YYPTR to a properly aligned location for the next - stack. */ -# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ - do \ - { \ - YYSIZE_T yynewbytes; \ - YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ - Stack = &yyptr->Stack_alloc; \ - yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ - yyptr += yynewbytes / sizeof (*yyptr); \ - } \ - while (YYID (0)) - -#endif - -#if defined YYCOPY_NEEDED && YYCOPY_NEEDED -/* Copy COUNT objects from FROM to TO. The source and destination do - not overlap. */ -# ifndef YYCOPY -# if defined __GNUC__ && 1 < __GNUC__ -# define YYCOPY(To, From, Count) \ - __builtin_memcpy (To, From, (Count) * sizeof (*(From))) -# else -# define YYCOPY(To, From, Count) \ - do \ - { \ - YYSIZE_T yyi; \ - for (yyi = 0; yyi < (Count); yyi++) \ - (To)[yyi] = (From)[yyi]; \ - } \ - while (YYID (0)) -# endif -# endif -#endif /* !YYCOPY_NEEDED */ - -/* YYFINAL -- State number of the termination state. */ -#define YYFINAL 2 -/* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 229 - -/* YYNTOKENS -- Number of terminals. */ -#define YYNTOKENS 126 -/* YYNNTS -- Number of nonterminals. */ -#define YYNNTS 129 -/* YYNRULES -- Number of rules. */ -#define YYNRULES 245 -/* YYNRULES -- Number of states. */ -#define YYNSTATES 359 - -/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ -#define YYUNDEFTOK 2 -#define YYMAXUTOK 380 - -#define YYTRANSLATE(YYX) \ - ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) - -/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ -static const yytype_uint8 yytranslate[] = -{ - 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, - 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, - 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, - 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, - 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, - 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, - 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, - 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, - 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, - 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, - 125 -}; - -#if YYDEBUG -/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in - YYRHS. */ -static const yytype_uint16 yyprhs[] = -{ - 0, 0, 3, 4, 7, 10, 13, 16, 19, 22, - 24, 27, 28, 30, 32, 34, 36, 38, 40, 42, - 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, - 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, - 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, - 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, - 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, - 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, - 164, 166, 168, 170, 172, 174, 176, 178, 180, 182, - 184, 186, 188, 190, 192, 194, 196, 198, 200, 202, - 204, 206, 208, 210, 212, 214, 216, 218, 220, 222, - 225, 226, 228, 230, 232, 234, 236, 239, 240, 242, - 244, 246, 249, 252, 255, 258, 261, 264, 267, 270, - 273, 276, 279, 282, 285, 288, 291, 294, 297, 300, - 303, 306, 309, 312, 315, 318, 321, 324, 327, 330, - 333, 336, 339, 342, 345, 348, 351, 354, 357, 360, - 363, 366, 369, 372, 375, 378, 381, 384, 387, 390, - 393, 396, 399, 402, 405, 408, 411, 414, 417, 420, - 423, 426, 429, 432, 435, 438, 441, 444, 447, 450, - 453, 456, 459, 462, 465, 468, 472, 475, 478, 481, - 484, 487, 490, 493, 496, 499, 502, 505, 508, 511, - 514, 517, 520, 523, 526, 530, 533, 536, 539, 542, - 545, 548, 551, 554, 557, 559, 562, 563, 565, 567, - 569, 571, 573, 575, 577, 580, 583, 586, 589, 592, - 595, 598, 600, 603, 604, 606 -}; - -/* YYRHS -- A `-1'-separated list of the rules' RHS. */ -static const yytype_int16 yyrhs[] = -{ - 127, 0, -1, -1, 127, 128, -1, 129, 130, -1, - 132, 133, -1, 135, 136, -1, 251, 252, -1, 241, - 242, -1, 11, -1, 130, 131, -1, -1, 138, -1, - 139, -1, 143, -1, 146, -1, 152, -1, 153, -1, - 154, -1, 155, -1, 144, -1, 165, -1, 166, -1, - 167, -1, 168, -1, 169, -1, 186, -1, 187, -1, - 188, -1, 190, -1, 191, -1, 149, -1, 192, -1, - 193, -1, 196, -1, 194, -1, 195, -1, 197, -1, - 198, -1, 199, -1, 210, -1, 178, -1, 179, -1, - 180, -1, 181, -1, 200, -1, 213, -1, 174, -1, - 176, -1, 214, -1, 219, -1, 220, -1, 221, -1, - 150, -1, 185, -1, 228, -1, 229, -1, 175, -1, - 224, -1, 162, -1, 145, -1, 170, -1, 211, -1, - 217, -1, 201, -1, 212, -1, 231, -1, 232, -1, - 151, -1, 140, -1, 161, -1, 204, -1, 141, -1, - 147, -1, 148, -1, 171, -1, 172, -1, 230, -1, - 203, -1, 205, -1, 206, -1, 142, -1, 233, -1, - 189, -1, 209, -1, 163, -1, 177, -1, 215, -1, - 216, -1, 218, -1, 223, -1, 173, -1, 225, -1, - 226, -1, 227, -1, 182, -1, 184, -1, 207, -1, - 208, -1, 183, -1, 202, -1, 222, -1, 164, -1, - 156, -1, 157, -1, 158, -1, 159, -1, 160, -1, - 38, -1, 133, 134, -1, -1, 234, -1, 235, -1, - 236, -1, 237, -1, 44, -1, 136, 137, -1, -1, - 238, -1, 239, -1, 240, -1, 13, 10, -1, 12, - 10, -1, 76, 10, -1, 79, 10, -1, 96, 10, - -1, 14, 10, -1, 16, 10, -1, 67, 10, -1, - 15, 10, -1, 80, 10, -1, 81, 10, -1, 31, - 10, -1, 60, 10, -1, 75, 10, -1, 17, 10, - -1, 18, 10, -1, 19, 10, -1, 20, 10, -1, - 121, 10, -1, 122, 10, -1, 123, 10, -1, 124, - 10, -1, 125, 10, -1, 77, 10, -1, 66, 10, - -1, 101, 10, -1, 120, 10, -1, 21, 10, -1, - 22, 10, -1, 23, 10, -1, 24, 10, -1, 25, - 10, -1, 68, 10, -1, 82, 10, -1, 83, 10, - -1, 109, 10, -1, 54, 10, -1, 64, 10, -1, - 55, 10, -1, 102, 10, -1, 48, 10, -1, 49, - 10, -1, 50, 10, -1, 51, 10, -1, 113, 10, - -1, 117, 10, -1, 114, 10, -1, 61, 10, -1, - 26, 10, -1, 27, 10, -1, 28, 10, -1, 98, - 10, -1, 29, 10, -1, 30, 10, -1, 32, 10, - -1, 33, 10, -1, 35, 10, -1, 36, 10, -1, - 34, 10, -1, 41, 10, -1, 42, 10, -1, 43, - 10, -1, 52, 10, -1, 71, 10, -1, 118, 10, - -1, 85, 10, -1, 78, 10, -1, 86, 10, -1, - 87, 10, -1, 115, 10, -1, 116, 10, -1, 100, - 10, -1, 47, 10, -1, 69, 10, -1, 72, 10, - 10, -1, 53, 10, -1, 56, 10, -1, 105, 10, - -1, 106, 10, -1, 70, 10, -1, 107, 10, -1, - 57, 10, -1, 58, 10, -1, 59, 10, -1, 119, - 10, -1, 108, 10, -1, 65, 10, -1, 111, 10, - -1, 112, 10, -1, 110, 10, -1, 62, 10, -1, - 63, 10, -1, 84, 10, -1, 73, 10, 10, -1, - 74, 10, -1, 97, 10, -1, 37, 10, -1, 39, - 10, -1, 40, 10, -1, 99, 10, -1, 37, 10, - -1, 45, 10, -1, 46, 10, -1, 88, -1, 242, - 243, -1, -1, 244, -1, 246, -1, 245, -1, 247, - -1, 248, -1, 249, -1, 250, -1, 89, 10, -1, - 91, 10, -1, 90, 10, -1, 92, 10, -1, 93, - 10, -1, 94, 10, -1, 95, 10, -1, 103, -1, - 252, 253, -1, -1, 254, -1, 104, 10, -1 -}; - -/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ -static const yytype_uint16 yyrline[] = -{ - 0, 109, 109, 109, 110, 110, 111, 111, 112, 116, - 121, 122, 123, 123, 123, 124, 124, 125, 125, 125, - 126, 126, 126, 127, 127, 127, 128, 128, 129, 129, - 130, 130, 131, 131, 132, 132, 133, 133, 134, 134, - 135, 135, 136, 136, 136, 137, 137, 137, 138, 138, - 138, 139, 139, 140, 140, 141, 141, 142, 142, 143, - 143, 143, 144, 144, 145, 145, 146, 146, 146, 147, - 147, 148, 148, 149, 149, 150, 150, 150, 151, 151, - 152, 152, 153, 153, 154, 154, 155, 155, 156, 156, - 156, 157, 157, 158, 158, 158, 159, 159, 159, 160, - 160, 160, 161, 161, 161, 162, 162, 162, 164, 176, - 177, 178, 178, 178, 178, 180, 192, 193, 194, 194, - 194, 196, 205, 214, 225, 234, 243, 252, 265, 280, - 289, 298, 307, 316, 325, 334, 343, 352, 361, 370, - 379, 388, 395, 402, 411, 420, 434, 443, 452, 459, - 466, 473, 481, 488, 495, 502, 509, 517, 525, 533, - 540, 547, 556, 565, 572, 579, 587, 595, 608, 619, - 627, 640, 649, 658, 666, 679, 688, 696, 705, 713, - 726, 733, 743, 753, 763, 773, 783, 793, 803, 810, - 817, 826, 835, 844, 851, 861, 875, 882, 900, 913, - 926, 935, 944, 953, 963, 973, 982, 991, 998, 1007, - 1016, 1025, 1033, 1046, 1054, 1076, 1083, 1098, 1108, 1115, - 1122, 1132, 1142, 1149, 1156, 1161, 1162, 1163, 1163, 1163, - 1164, 1164, 1164, 1165, 1167, 1177, 1186, 1193, 1200, 1207, - 1214, 1221, 1226, 1227, 1228, 1230 -}; -#endif - -#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE -/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. - First, the terminals, then, starting at YYNTOKENS, nonterminals. */ -static const char *const yytname[] = -{ - "$end", "error", "$undefined", "SPACE", "LETTER", "NEWLINE", "COMMENT", - "COLON", "ANY", "ZONESTR", "STRING_ARG", "VAR_SERVER", "VAR_VERBOSITY", - "VAR_NUM_THREADS", "VAR_PORT", "VAR_OUTGOING_RANGE", "VAR_INTERFACE", - "VAR_DO_IP4", "VAR_DO_IP6", "VAR_DO_UDP", "VAR_DO_TCP", "VAR_CHROOT", - "VAR_USERNAME", "VAR_DIRECTORY", "VAR_LOGFILE", "VAR_PIDFILE", - "VAR_MSG_CACHE_SIZE", "VAR_MSG_CACHE_SLABS", - "VAR_NUM_QUERIES_PER_THREAD", "VAR_RRSET_CACHE_SIZE", - "VAR_RRSET_CACHE_SLABS", "VAR_OUTGOING_NUM_TCP", "VAR_INFRA_HOST_TTL", - "VAR_INFRA_LAME_TTL", "VAR_INFRA_CACHE_SLABS", - "VAR_INFRA_CACHE_NUMHOSTS", "VAR_INFRA_CACHE_LAME_SIZE", "VAR_NAME", - "VAR_STUB_ZONE", "VAR_STUB_HOST", "VAR_STUB_ADDR", - "VAR_TARGET_FETCH_POLICY", "VAR_HARDEN_SHORT_BUFSIZE", - "VAR_HARDEN_LARGE_QUERIES", "VAR_FORWARD_ZONE", "VAR_FORWARD_HOST", - "VAR_FORWARD_ADDR", "VAR_DO_NOT_QUERY_ADDRESS", "VAR_HIDE_IDENTITY", - "VAR_HIDE_VERSION", "VAR_IDENTITY", "VAR_VERSION", "VAR_HARDEN_GLUE", - "VAR_MODULE_CONF", "VAR_TRUST_ANCHOR_FILE", "VAR_TRUST_ANCHOR", - "VAR_VAL_OVERRIDE_DATE", "VAR_BOGUS_TTL", "VAR_VAL_CLEAN_ADDITIONAL", - "VAR_VAL_PERMISSIVE_MODE", "VAR_INCOMING_NUM_TCP", "VAR_MSG_BUFFER_SIZE", - "VAR_KEY_CACHE_SIZE", "VAR_KEY_CACHE_SLABS", "VAR_TRUSTED_KEYS_FILE", - "VAR_VAL_NSEC3_KEYSIZE_ITERATIONS", "VAR_USE_SYSLOG", - "VAR_OUTGOING_INTERFACE", "VAR_ROOT_HINTS", "VAR_DO_NOT_QUERY_LOCALHOST", - "VAR_CACHE_MAX_TTL", "VAR_HARDEN_DNSSEC_STRIPPED", "VAR_ACCESS_CONTROL", - "VAR_LOCAL_ZONE", "VAR_LOCAL_DATA", "VAR_INTERFACE_AUTOMATIC", - "VAR_STATISTICS_INTERVAL", "VAR_DO_DAEMONIZE", "VAR_USE_CAPS_FOR_ID", - "VAR_STATISTICS_CUMULATIVE", "VAR_OUTGOING_PORT_PERMIT", - "VAR_OUTGOING_PORT_AVOID", "VAR_DLV_ANCHOR_FILE", "VAR_DLV_ANCHOR", - "VAR_NEG_CACHE_SIZE", "VAR_HARDEN_REFERRAL_PATH", "VAR_PRIVATE_ADDRESS", - "VAR_PRIVATE_DOMAIN", "VAR_REMOTE_CONTROL", "VAR_CONTROL_ENABLE", - "VAR_CONTROL_INTERFACE", "VAR_CONTROL_PORT", "VAR_SERVER_KEY_FILE", - "VAR_SERVER_CERT_FILE", "VAR_CONTROL_KEY_FILE", "VAR_CONTROL_CERT_FILE", - "VAR_EXTENDED_STATISTICS", "VAR_LOCAL_DATA_PTR", "VAR_JOSTLE_TIMEOUT", - "VAR_STUB_PRIME", "VAR_UNWANTED_REPLY_THRESHOLD", "VAR_LOG_TIME_ASCII", - "VAR_DOMAIN_INSECURE", "VAR_PYTHON", "VAR_PYTHON_SCRIPT", - "VAR_VAL_SIG_SKEW_MIN", "VAR_VAL_SIG_SKEW_MAX", "VAR_CACHE_MIN_TTL", - "VAR_VAL_LOG_LEVEL", "VAR_AUTO_TRUST_ANCHOR_FILE", "VAR_KEEP_MISSING", - "VAR_ADD_HOLDDOWN", "VAR_DEL_HOLDDOWN", "VAR_SO_RCVBUF", - "VAR_EDNS_BUFFER_SIZE", "VAR_PREFETCH", "VAR_PREFETCH_KEY", - "VAR_SO_SNDBUF", "VAR_HARDEN_BELOW_NXDOMAIN", "VAR_IGNORE_CD_FLAG", - "VAR_LOG_QUERIES", "VAR_TCP_UPSTREAM", "VAR_SSL_UPSTREAM", - "VAR_SSL_SERVICE_KEY", "VAR_SSL_SERVICE_PEM", "VAR_SSL_PORT", "$accept", - "toplevelvars", "toplevelvar", "serverstart", "contents_server", - "content_server", "stubstart", "contents_stub", "content_stub", - "forwardstart", "contents_forward", "content_forward", - "server_num_threads", "server_verbosity", "server_statistics_interval", - "server_statistics_cumulative", "server_extended_statistics", - "server_port", "server_interface", "server_outgoing_interface", - "server_outgoing_range", "server_outgoing_port_permit", - "server_outgoing_port_avoid", "server_outgoing_num_tcp", - "server_incoming_num_tcp", "server_interface_automatic", "server_do_ip4", - "server_do_ip6", "server_do_udp", "server_do_tcp", "server_tcp_upstream", - "server_ssl_upstream", "server_ssl_service_key", - "server_ssl_service_pem", "server_ssl_port", "server_do_daemonize", - "server_use_syslog", "server_log_time_ascii", "server_log_queries", - "server_chroot", "server_username", "server_directory", "server_logfile", - "server_pidfile", "server_root_hints", "server_dlv_anchor_file", - "server_dlv_anchor", "server_auto_trust_anchor_file", - "server_trust_anchor_file", "server_trusted_keys_file", - "server_trust_anchor", "server_domain_insecure", "server_hide_identity", - "server_hide_version", "server_identity", "server_version", - "server_so_rcvbuf", "server_so_sndbuf", "server_edns_buffer_size", - "server_msg_buffer_size", "server_msg_cache_size", - "server_msg_cache_slabs", "server_num_queries_per_thread", - "server_jostle_timeout", "server_rrset_cache_size", - "server_rrset_cache_slabs", "server_infra_host_ttl", - "server_infra_lame_ttl", "server_infra_cache_numhosts", - "server_infra_cache_lame_size", "server_infra_cache_slabs", - "server_target_fetch_policy", "server_harden_short_bufsize", - "server_harden_large_queries", "server_harden_glue", - "server_harden_dnssec_stripped", "server_harden_below_nxdomain", - "server_harden_referral_path", "server_use_caps_for_id", - "server_private_address", "server_private_domain", "server_prefetch", - "server_prefetch_key", "server_unwanted_reply_threshold", - "server_do_not_query_address", "server_do_not_query_localhost", - "server_access_control", "server_module_conf", - "server_val_override_date", "server_val_sig_skew_min", - "server_val_sig_skew_max", "server_cache_max_ttl", - "server_cache_min_ttl", "server_bogus_ttl", - "server_val_clean_additional", "server_val_permissive_mode", - "server_ignore_cd_flag", "server_val_log_level", - "server_val_nsec3_keysize_iterations", "server_add_holddown", - "server_del_holddown", "server_keep_missing", "server_key_cache_size", - "server_key_cache_slabs", "server_neg_cache_size", "server_local_zone", - "server_local_data", "server_local_data_ptr", "stub_name", "stub_host", - "stub_addr", "stub_prime", "forward_name", "forward_host", - "forward_addr", "rcstart", "contents_rc", "content_rc", - "rc_control_enable", "rc_control_port", "rc_control_interface", - "rc_server_key_file", "rc_server_cert_file", "rc_control_key_file", - "rc_control_cert_file", "pythonstart", "contents_py", "content_py", - "py_script", 0 -}; -#endif - -# ifdef YYPRINT -/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to - token YYLEX-NUM. */ -static const yytype_uint16 yytoknum[] = -{ - 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, - 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, - 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, - 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, - 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, - 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, - 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, - 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, - 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, - 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, - 375, 376, 377, 378, 379, 380 -}; -# endif - -/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ -static const yytype_uint8 yyr1[] = -{ - 0, 126, 127, 127, 128, 128, 128, 128, 128, 129, - 130, 130, 131, 131, 131, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 131, 131, 131, 131, 132, 133, - 133, 134, 134, 134, 134, 135, 136, 136, 137, 137, - 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, - 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, - 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, - 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, - 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, - 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, - 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, - 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, - 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, - 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, - 237, 238, 239, 240, 241, 242, 242, 243, 243, 243, - 243, 243, 243, 243, 244, 245, 246, 247, 248, 249, - 250, 251, 252, 252, 253, 254 -}; - -/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ -static const yytype_uint8 yyr2[] = -{ - 0, 2, 0, 2, 2, 2, 2, 2, 2, 1, - 2, 0, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, - 0, 1, 1, 1, 1, 1, 2, 0, 1, 1, - 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 1, 2, 0, 1, 1, 1, - 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, - 2, 1, 2, 0, 1, 2 -}; - -/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM. - Performed when YYTABLE doesn't specify something else to do. Zero - means the default is an error. */ -static const yytype_uint8 yydefact[] = -{ - 2, 0, 1, 9, 108, 115, 224, 241, 3, 11, - 110, 117, 226, 243, 4, 5, 6, 8, 7, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 10, 12, 13, 69, 72, - 81, 14, 20, 60, 15, 73, 74, 31, 53, 68, - 16, 17, 18, 19, 103, 104, 105, 106, 107, 70, - 59, 85, 102, 21, 22, 23, 24, 25, 61, 75, - 76, 91, 47, 57, 48, 86, 41, 42, 43, 44, - 95, 99, 96, 54, 26, 27, 28, 83, 29, 30, - 32, 33, 35, 36, 34, 37, 38, 39, 45, 64, - 100, 78, 71, 79, 80, 97, 98, 84, 40, 62, - 65, 46, 49, 87, 88, 63, 89, 50, 51, 52, - 101, 90, 58, 92, 93, 94, 55, 56, 77, 66, - 67, 82, 0, 0, 0, 0, 109, 111, 112, 113, - 114, 0, 0, 0, 116, 118, 119, 120, 0, 0, - 0, 0, 0, 0, 0, 225, 227, 229, 228, 230, - 231, 232, 233, 0, 242, 244, 122, 121, 126, 129, - 127, 135, 136, 137, 138, 148, 149, 150, 151, 152, - 169, 170, 171, 173, 174, 132, 175, 176, 179, 177, - 178, 180, 181, 182, 193, 161, 162, 163, 164, 183, - 196, 157, 159, 197, 202, 203, 204, 133, 168, 211, - 212, 158, 207, 145, 128, 153, 194, 200, 184, 0, - 0, 215, 134, 123, 144, 187, 124, 130, 131, 154, - 155, 213, 186, 188, 189, 125, 216, 172, 192, 146, - 160, 198, 199, 201, 206, 156, 210, 208, 209, 165, - 167, 190, 191, 166, 185, 205, 147, 139, 140, 141, - 142, 143, 217, 218, 219, 220, 221, 222, 223, 234, - 236, 235, 237, 238, 239, 240, 245, 195, 214 -}; - -/* YYDEFGOTO[NTERM-NUM]. */ -static const yytype_int16 yydefgoto[] = -{ - -1, 1, 8, 9, 14, 115, 10, 15, 216, 11, - 16, 224, 116, 117, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, - 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, - 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, - 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, - 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, - 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, - 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, - 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, - 204, 205, 206, 207, 208, 209, 210, 211, 217, 218, - 219, 220, 225, 226, 227, 12, 17, 235, 236, 237, - 238, 239, 240, 241, 242, 13, 18, 244, 245 -}; - -/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing - STATE-NUM. */ -#define YYPACT_NINF -80 -static const yytype_int16 yypact[] = -{ - -80, 76, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -12, 40, 46, 32, -79, 16, - 17, 18, 22, 23, 24, 68, 71, 72, 105, 106, - 107, 108, 109, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 130, 131, 132, 133, 134, 135, - 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, - 146, 147, 148, 149, 150, 151, 152, 153, 155, 156, - 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, - 167, 168, 170, 171, 172, 173, 174, 175, 176, 177, - 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, - 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, - 198, 199, 200, 201, 202, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, 203, 204, 205, 206, -80, -80, -80, -80, - -80, 207, 208, 209, -80, -80, -80, -80, 210, 211, - 212, 213, 214, 215, 216, -80, -80, -80, -80, -80, - -80, -80, -80, 217, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, 218, - 219, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80 -}; - -/* YYPGOTO[NTERM-NUM]. */ -static const yytype_int8 yypgoto[] = -{ - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, - -80, -80, -80, -80, -80, -80, -80, -80, -80 -}; - -/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If - positive, shift that token. If negative, reduce the rule which - number is the opposite. If YYTABLE_NINF, syntax error. */ -#define YYTABLE_NINF -1 -static const yytype_uint16 yytable[] = -{ - 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, - 39, 40, 41, 42, 43, 243, 246, 247, 248, 44, - 45, 46, 249, 250, 251, 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, 73, 74, 75, 76, 77, 78, 79, 80, 81, - 82, 83, 84, 85, 86, 87, 2, 212, 252, 213, - 214, 253, 254, 221, 88, 89, 90, 3, 91, 92, - 93, 222, 223, 94, 95, 96, 97, 98, 99, 100, - 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, - 111, 112, 113, 114, 4, 255, 256, 257, 258, 259, - 5, 228, 229, 230, 231, 232, 233, 234, 260, 261, - 262, 263, 264, 265, 266, 267, 268, 269, 270, 215, - 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 6, 295, 296, 297, 298, 299, - 300, 301, 302, 303, 304, 305, 306, 307, 308, 7, - 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, - 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, - 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, - 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, - 349, 350, 351, 352, 353, 354, 355, 356, 357, 358 -}; - -#define yypact_value_is_default(yystate) \ - ((yystate) == (-80)) - -#define yytable_value_is_error(yytable_value) \ - YYID (0) - -static const yytype_uint8 yycheck[] = -{ - 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, - 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, - 32, 33, 34, 35, 36, 104, 10, 10, 10, 41, - 42, 43, 10, 10, 10, 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, 73, 74, 75, 76, 77, 78, 79, 80, 81, - 82, 83, 84, 85, 86, 87, 0, 37, 10, 39, - 40, 10, 10, 37, 96, 97, 98, 11, 100, 101, - 102, 45, 46, 105, 106, 107, 108, 109, 110, 111, - 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, - 122, 123, 124, 125, 38, 10, 10, 10, 10, 10, - 44, 89, 90, 91, 92, 93, 94, 95, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 99, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 88, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 103, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10 -}; - -/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing - symbol of state STATE-NUM. */ -static const yytype_uint8 yystos[] = -{ - 0, 127, 0, 11, 38, 44, 88, 103, 128, 129, - 132, 135, 241, 251, 130, 133, 136, 242, 252, 12, - 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, - 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - 33, 34, 35, 36, 41, 42, 43, 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, 73, 74, 75, 76, 77, 78, 79, - 80, 81, 82, 83, 84, 85, 86, 87, 96, 97, - 98, 100, 101, 102, 105, 106, 107, 108, 109, 110, - 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, - 121, 122, 123, 124, 125, 131, 138, 139, 140, 141, - 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, - 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, - 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, - 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, - 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, - 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, - 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, - 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, - 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, - 232, 233, 37, 39, 40, 99, 134, 234, 235, 236, - 237, 37, 45, 46, 137, 238, 239, 240, 89, 90, - 91, 92, 93, 94, 95, 243, 244, 245, 246, 247, - 248, 249, 250, 104, 253, 254, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 10, 10, 10, 10, 10, 10, 10, 10, 10 -}; - -#define yyerrok (yyerrstatus = 0) -#define yyclearin (yychar = YYEMPTY) -#define YYEMPTY (-2) -#define YYEOF 0 - -#define YYACCEPT goto yyacceptlab -#define YYABORT goto yyabortlab -#define YYERROR goto yyerrorlab - - -/* Like YYERROR except do call yyerror. This remains here temporarily - to ease the transition to the new meaning of YYERROR, for GCC. - Once GCC version 2 has supplanted version 1, this can go. However, - YYFAIL appears to be in use. Nevertheless, it is formally deprecated - in Bison 2.4.2's NEWS entry, where a plan to phase it out is - discussed. */ - -#define YYFAIL goto yyerrlab -#if defined YYFAIL - /* This is here to suppress warnings from the GCC cpp's - -Wunused-macros. Normally we don't worry about that warning, but - some users do, and we want to make it easy for users to remove - YYFAIL uses, which will produce warnings from Bison 2.5. */ -#endif - -#define YYRECOVERING() (!!yyerrstatus) - -#define YYBACKUP(Token, Value) \ -do \ - if (yychar == YYEMPTY && yylen == 1) \ - { \ - yychar = (Token); \ - yylval = (Value); \ - YYPOPSTACK (1); \ - goto yybackup; \ - } \ - else \ - { \ - yyerror (YY_("syntax error: cannot back up")); \ - YYERROR; \ - } \ -while (YYID (0)) - - -#define YYTERROR 1 -#define YYERRCODE 256 - - -/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N]. - If N is 0, then set CURRENT to the empty location which ends - the previous symbol: RHS[0] (always defined). */ - -#define YYRHSLOC(Rhs, K) ((Rhs)[K]) -#ifndef YYLLOC_DEFAULT -# define YYLLOC_DEFAULT(Current, Rhs, N) \ - do \ - if (YYID (N)) \ - { \ - (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ - (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ - (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ - (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ - } \ - else \ - { \ - (Current).first_line = (Current).last_line = \ - YYRHSLOC (Rhs, 0).last_line; \ - (Current).first_column = (Current).last_column = \ - YYRHSLOC (Rhs, 0).last_column; \ - } \ - while (YYID (0)) -#endif - - -/* This macro is provided for backward compatibility. */ - -#ifndef YY_LOCATION_PRINT -# define YY_LOCATION_PRINT(File, Loc) ((void) 0) -#endif - - -/* YYLEX -- calling `yylex' with the right arguments. */ - -#ifdef YYLEX_PARAM -# define YYLEX yylex (YYLEX_PARAM) -#else -# define YYLEX yylex () -#endif - -/* Enable debugging if requested. */ -#if YYDEBUG - -# ifndef YYFPRINTF -# include <stdio.h> /* INFRINGES ON USER NAME SPACE */ -# define YYFPRINTF fprintf -# endif - -# define YYDPRINTF(Args) \ -do { \ - if (yydebug) \ - YYFPRINTF Args; \ -} while (YYID (0)) - -# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ -do { \ - if (yydebug) \ - { \ - YYFPRINTF (stderr, "%s ", Title); \ - yy_symbol_print (stderr, \ - Type, Value); \ - YYFPRINTF (stderr, "\n"); \ - } \ -} while (YYID (0)) - - -/*--------------------------------. -| Print this symbol on YYOUTPUT. | -`--------------------------------*/ - -/*ARGSUSED*/ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -static void -yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) -#else -static void -yy_symbol_value_print (yyoutput, yytype, yyvaluep) - FILE *yyoutput; - int yytype; - YYSTYPE const * const yyvaluep; -#endif -{ - if (!yyvaluep) - return; -# ifdef YYPRINT - if (yytype < YYNTOKENS) - YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); -# else - YYUSE (yyoutput); -# endif - switch (yytype) - { - default: - break; - } -} - - -/*--------------------------------. -| Print this symbol on YYOUTPUT. | -`--------------------------------*/ - -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -static void -yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) -#else -static void -yy_symbol_print (yyoutput, yytype, yyvaluep) - FILE *yyoutput; - int yytype; - YYSTYPE const * const yyvaluep; -#endif -{ - if (yytype < YYNTOKENS) - YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); - else - YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); - - yy_symbol_value_print (yyoutput, yytype, yyvaluep); - YYFPRINTF (yyoutput, ")"); -} - -/*------------------------------------------------------------------. -| yy_stack_print -- Print the state stack from its BOTTOM up to its | -| TOP (included). | -`------------------------------------------------------------------*/ - -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -static void -yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) -#else -static void -yy_stack_print (yybottom, yytop) - yytype_int16 *yybottom; - yytype_int16 *yytop; -#endif -{ - YYFPRINTF (stderr, "Stack now"); - for (; yybottom <= yytop; yybottom++) - { - int yybot = *yybottom; - YYFPRINTF (stderr, " %d", yybot); - } - YYFPRINTF (stderr, "\n"); -} - -# define YY_STACK_PRINT(Bottom, Top) \ -do { \ - if (yydebug) \ - yy_stack_print ((Bottom), (Top)); \ -} while (YYID (0)) - - -/*------------------------------------------------. -| Report that the YYRULE is going to be reduced. | -`------------------------------------------------*/ - -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -static void -yy_reduce_print (YYSTYPE *yyvsp, int yyrule) -#else -static void -yy_reduce_print (yyvsp, yyrule) - YYSTYPE *yyvsp; - int yyrule; -#endif -{ - int yynrhs = yyr2[yyrule]; - int yyi; - unsigned long int yylno = yyrline[yyrule]; - YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", - yyrule - 1, yylno); - /* The symbols being reduced. */ - for (yyi = 0; yyi < yynrhs; yyi++) - { - YYFPRINTF (stderr, " $%d = ", yyi + 1); - yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], - &(yyvsp[(yyi + 1) - (yynrhs)]) - ); - YYFPRINTF (stderr, "\n"); - } -} - -# define YY_REDUCE_PRINT(Rule) \ -do { \ - if (yydebug) \ - yy_reduce_print (yyvsp, Rule); \ -} while (YYID (0)) - -/* Nonzero means print parse trace. It is left uninitialized so that - multiple parsers can coexist. */ -int yydebug; -#else /* !YYDEBUG */ -# define YYDPRINTF(Args) -# define YY_SYMBOL_PRINT(Title, Type, Value, Location) -# define YY_STACK_PRINT(Bottom, Top) -# define YY_REDUCE_PRINT(Rule) -#endif /* !YYDEBUG */ - - -/* YYINITDEPTH -- initial size of the parser's stacks. */ -#ifndef YYINITDEPTH -# define YYINITDEPTH 200 -#endif - -/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only - if the built-in stack extension method is used). - - Do not make this value too large; the results are undefined if - YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) - evaluated with infinite-precision integer arithmetic. */ - -#ifndef YYMAXDEPTH -# define YYMAXDEPTH 10000 -#endif - - -#if YYERROR_VERBOSE - -# ifndef yystrlen -# if defined __GLIBC__ && defined _STRING_H -# define yystrlen strlen -# else -/* Return the length of YYSTR. */ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -static YYSIZE_T -yystrlen (const char *yystr) -#else -static YYSIZE_T -yystrlen (yystr) - const char *yystr; -#endif -{ - YYSIZE_T yylen; - for (yylen = 0; yystr[yylen]; yylen++) - continue; - return yylen; -} -# endif -# endif - -# ifndef yystpcpy -# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE -# define yystpcpy stpcpy -# else -/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in - YYDEST. */ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -static char * -yystpcpy (char *yydest, const char *yysrc) -#else -static char * -yystpcpy (yydest, yysrc) - char *yydest; - const char *yysrc; -#endif -{ - char *yyd = yydest; - const char *yys = yysrc; - - while ((*yyd++ = *yys++) != '\0') - continue; - - return yyd - 1; -} -# endif -# endif - -# ifndef yytnamerr -/* Copy to YYRES the contents of YYSTR after stripping away unnecessary - quotes and backslashes, so that it's suitable for yyerror. The - heuristic is that double-quoting is unnecessary unless the string - contains an apostrophe, a comma, or backslash (other than - backslash-backslash). YYSTR is taken from yytname. If YYRES is - null, do not copy; instead, return the length of what the result - would have been. */ -static YYSIZE_T -yytnamerr (char *yyres, const char *yystr) -{ - if (*yystr == '"') - { - YYSIZE_T yyn = 0; - char const *yyp = yystr; - - for (;;) - switch (*++yyp) - { - case '\'': - case ',': - goto do_not_strip_quotes; - - case '\\': - if (*++yyp != '\\') - goto do_not_strip_quotes; - /* Fall through. */ - default: - if (yyres) - yyres[yyn] = *yyp; - yyn++; - break; - - case '"': - if (yyres) - yyres[yyn] = '\0'; - return yyn; - } - do_not_strip_quotes: ; - } - - if (! yyres) - return yystrlen (yystr); - - return yystpcpy (yyres, yystr) - yyres; -} -# endif - -/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message - about the unexpected token YYTOKEN for the state stack whose top is - YYSSP. - - Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is - not large enough to hold the message. In that case, also set - *YYMSG_ALLOC to the required number of bytes. Return 2 if the - required number of bytes is too large to store. */ -static int -yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, - yytype_int16 *yyssp, int yytoken) -{ - YYSIZE_T yysize0 = yytnamerr (0, yytname[yytoken]); - YYSIZE_T yysize = yysize0; - YYSIZE_T yysize1; - enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; - /* Internationalized format string. */ - const char *yyformat = 0; - /* Arguments of yyformat. */ - char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; - /* Number of reported tokens (one for the "unexpected", one per - "expected"). */ - int yycount = 0; - - /* There are many possibilities here to consider: - - Assume YYFAIL is not used. It's too flawed to consider. See - <http://lists.gnu.org/archive/html/bison-patches/2009-12/msg00024.html> - for details. YYERROR is fine as it does not invoke this - function. - - If this state is a consistent state with a default action, then - the only way this function was invoked is if the default action - is an error action. In that case, don't check for expected - tokens because there are none. - - The only way there can be no lookahead present (in yychar) is if - this state is a consistent state with a default action. Thus, - detecting the absence of a lookahead is sufficient to determine - that there is no unexpected or expected token to report. In that - case, just report a simple "syntax error". - - Don't assume there isn't a lookahead just because this state is a - consistent state with a default action. There might have been a - previous inconsistent state, consistent state with a non-default - action, or user semantic action that manipulated yychar. - - Of course, the expected token list depends on states to have - correct lookahead information, and it depends on the parser not - to perform extra reductions after fetching a lookahead from the - scanner and before detecting a syntax error. Thus, state merging - (from LALR or IELR) and default reductions corrupt the expected - token list. However, the list is correct for canonical LR with - one exception: it will still contain any token that will not be - accepted due to an error action in a later state. - */ - if (yytoken != YYEMPTY) - { - int yyn = yypact[*yyssp]; - yyarg[yycount++] = yytname[yytoken]; - if (!yypact_value_is_default (yyn)) - { - /* Start YYX at -YYN if negative to avoid negative indexes in - YYCHECK. In other words, skip the first -YYN actions for - this state because they are default actions. */ - int yyxbegin = yyn < 0 ? -yyn : 0; - /* Stay within bounds of both yycheck and yytname. */ - int yychecklim = YYLAST - yyn + 1; - int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; - int yyx; - - for (yyx = yyxbegin; yyx < yyxend; ++yyx) - if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR - && !yytable_value_is_error (yytable[yyx + yyn])) - { - if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) - { - yycount = 1; - yysize = yysize0; - break; - } - yyarg[yycount++] = yytname[yyx]; - yysize1 = yysize + yytnamerr (0, yytname[yyx]); - if (! (yysize <= yysize1 - && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) - return 2; - yysize = yysize1; - } - } - } - - switch (yycount) - { -# define YYCASE_(N, S) \ - case N: \ - yyformat = S; \ - break - YYCASE_(0, YY_("syntax error")); - YYCASE_(1, YY_("syntax error, unexpected %s")); - YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s")); - YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s")); - YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s")); - YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s")); -# undef YYCASE_ - } - - yysize1 = yysize + yystrlen (yyformat); - if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) - return 2; - yysize = yysize1; - - if (*yymsg_alloc < yysize) - { - *yymsg_alloc = 2 * yysize; - if (! (yysize <= *yymsg_alloc - && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM)) - *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM; - return 1; - } - - /* Avoid sprintf, as that infringes on the user's name space. - Don't have undefined behavior even if the translation - produced a string with the wrong number of "%s"s. */ - { - char *yyp = *yymsg; - int yyi = 0; - while ((*yyp = *yyformat) != '\0') - if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount) - { - yyp += yytnamerr (yyp, yyarg[yyi++]); - yyformat += 2; - } - else - { - yyp++; - yyformat++; - } - } - return 0; -} -#endif /* YYERROR_VERBOSE */ - -/*-----------------------------------------------. -| Release the memory associated to this symbol. | -`-----------------------------------------------*/ - -/*ARGSUSED*/ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -static void -yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) -#else -static void -yydestruct (yymsg, yytype, yyvaluep) - const char *yymsg; - int yytype; - YYSTYPE *yyvaluep; -#endif -{ - YYUSE (yyvaluep); - - if (!yymsg) - yymsg = "Deleting"; - YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); - - switch (yytype) - { - - default: - break; - } -} - - -/* Prevent warnings from -Wmissing-prototypes. */ -#ifdef YYPARSE_PARAM -#if defined __STDC__ || defined __cplusplus -int yyparse (void *YYPARSE_PARAM); -#else -int yyparse (); -#endif -#else /* ! YYPARSE_PARAM */ -#if defined __STDC__ || defined __cplusplus -int yyparse (void); -#else -int yyparse (); -#endif -#endif /* ! YYPARSE_PARAM */ - - -/* The lookahead symbol. */ -int yychar; - -/* The semantic value of the lookahead symbol. */ -YYSTYPE yylval; - -/* Number of syntax errors so far. */ -int yynerrs; - - -/*----------. -| yyparse. | -`----------*/ - -#ifdef YYPARSE_PARAM -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -int -yyparse (void *YYPARSE_PARAM) -#else -int -yyparse (YYPARSE_PARAM) - void *YYPARSE_PARAM; -#endif -#else /* ! YYPARSE_PARAM */ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -int -yyparse (void) -#else -int -yyparse () - -#endif -#endif -{ - int yystate; - /* Number of tokens to shift before error messages enabled. */ - int yyerrstatus; - - /* The stacks and their tools: - `yyss': related to states. - `yyvs': related to semantic values. - - Refer to the stacks thru separate pointers, to allow yyoverflow - to reallocate them elsewhere. */ - - /* The state stack. */ - yytype_int16 yyssa[YYINITDEPTH]; - yytype_int16 *yyss; - yytype_int16 *yyssp; - - /* The semantic value stack. */ - YYSTYPE yyvsa[YYINITDEPTH]; - YYSTYPE *yyvs; - YYSTYPE *yyvsp; - - YYSIZE_T yystacksize; - - int yyn; - int yyresult; - /* Lookahead token as an internal (translated) token number. */ - int yytoken; - /* The variables used to return semantic value and location from the - action routines. */ - YYSTYPE yyval; - -#if YYERROR_VERBOSE - /* Buffer for error messages, and its allocated size. */ - char yymsgbuf[128]; - char *yymsg = yymsgbuf; - YYSIZE_T yymsg_alloc = sizeof yymsgbuf; -#endif - -#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) - - /* The number of symbols on the RHS of the reduced rule. - Keep to zero when no symbol should be popped. */ - int yylen = 0; - - yytoken = 0; - yyss = yyssa; - yyvs = yyvsa; - yystacksize = YYINITDEPTH; - - YYDPRINTF ((stderr, "Starting parse\n")); - - yystate = 0; - yyerrstatus = 0; - yynerrs = 0; - yychar = YYEMPTY; /* Cause a token to be read. */ - - /* Initialize stack pointers. - Waste one element of value and location stack - so that they stay on the same level as the state stack. - The wasted elements are never initialized. */ - yyssp = yyss; - yyvsp = yyvs; - - goto yysetstate; - -/*------------------------------------------------------------. -| yynewstate -- Push a new state, which is found in yystate. | -`------------------------------------------------------------*/ - yynewstate: - /* In all cases, when you get here, the value and location stacks - have just been pushed. So pushing a state here evens the stacks. */ - yyssp++; - - yysetstate: - *yyssp = yystate; - - if (yyss + yystacksize - 1 <= yyssp) - { - /* Get the current used size of the three stacks, in elements. */ - YYSIZE_T yysize = yyssp - yyss + 1; - -#ifdef yyoverflow - { - /* Give user a chance to reallocate the stack. Use copies of - these so that the &'s don't force the real ones into - memory. */ - YYSTYPE *yyvs1 = yyvs; - yytype_int16 *yyss1 = yyss; - - /* Each stack pointer address is followed by the size of the - data in use in that stack, in bytes. This used to be a - conditional around just the two extra args, but that might - be undefined if yyoverflow is a macro. */ - yyoverflow (YY_("memory exhausted"), - &yyss1, yysize * sizeof (*yyssp), - &yyvs1, yysize * sizeof (*yyvsp), - &yystacksize); - - yyss = yyss1; - yyvs = yyvs1; - } -#else /* no yyoverflow */ -# ifndef YYSTACK_RELOCATE - goto yyexhaustedlab; -# else - /* Extend the stack our own way. */ - if (YYMAXDEPTH <= yystacksize) - goto yyexhaustedlab; - yystacksize *= 2; - if (YYMAXDEPTH < yystacksize) - yystacksize = YYMAXDEPTH; - - { - yytype_int16 *yyss1 = yyss; - union yyalloc *yyptr = - (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); - if (! yyptr) - goto yyexhaustedlab; - YYSTACK_RELOCATE (yyss_alloc, yyss); - YYSTACK_RELOCATE (yyvs_alloc, yyvs); -# undef YYSTACK_RELOCATE - if (yyss1 != yyssa) - YYSTACK_FREE (yyss1); - } -# endif -#endif /* no yyoverflow */ - - yyssp = yyss + yysize - 1; - yyvsp = yyvs + yysize - 1; - - YYDPRINTF ((stderr, "Stack size increased to %lu\n", - (unsigned long int) yystacksize)); - - if (yyss + yystacksize - 1 <= yyssp) - YYABORT; - } - - YYDPRINTF ((stderr, "Entering state %d\n", yystate)); - - if (yystate == YYFINAL) - YYACCEPT; - - goto yybackup; - -/*-----------. -| yybackup. | -`-----------*/ -yybackup: - - /* Do appropriate processing given the current state. Read a - lookahead token if we need one and don't already have one. */ - - /* First try to decide what to do without reference to lookahead token. */ - yyn = yypact[yystate]; - if (yypact_value_is_default (yyn)) - goto yydefault; - - /* Not known => get a lookahead token if don't already have one. */ - - /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ - if (yychar == YYEMPTY) - { - YYDPRINTF ((stderr, "Reading a token: ")); - yychar = YYLEX; - } - - if (yychar <= YYEOF) - { - yychar = yytoken = YYEOF; - YYDPRINTF ((stderr, "Now at end of input.\n")); - } - else - { - yytoken = YYTRANSLATE (yychar); - YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); - } - - /* If the proper action on seeing token YYTOKEN is to reduce or to - detect an error, take that action. */ - yyn += yytoken; - if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) - goto yydefault; - yyn = yytable[yyn]; - if (yyn <= 0) - { - if (yytable_value_is_error (yyn)) - goto yyerrlab; - yyn = -yyn; - goto yyreduce; - } - - /* Count tokens shifted since error; after three, turn off error - status. */ - if (yyerrstatus) - yyerrstatus--; - - /* Shift the lookahead token. */ - YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); - - /* Discard the shifted token. */ - yychar = YYEMPTY; - - yystate = yyn; - *++yyvsp = yylval; - - goto yynewstate; - - -/*-----------------------------------------------------------. -| yydefault -- do the default action for the current state. | -`-----------------------------------------------------------*/ -yydefault: - yyn = yydefact[yystate]; - if (yyn == 0) - goto yyerrlab; - goto yyreduce; - - -/*-----------------------------. -| yyreduce -- Do a reduction. | -`-----------------------------*/ -yyreduce: - /* yyn is the number of a rule to reduce with. */ - yylen = yyr2[yyn]; - - /* If YYLEN is nonzero, implement the default value of the action: - `$$ = $1'. - - Otherwise, the following line sets YYVAL to garbage. - This behavior is undocumented and Bison - users should not rely upon it. Assigning to YYVAL - unconditionally makes the parser a bit smaller, and it avoids a - GCC warning that YYVAL may be used uninitialized. */ - yyval = yyvsp[1-yylen]; - - - YY_REDUCE_PRINT (yyn); - switch (yyn) - { - case 9: - -/* Line 1806 of yacc.c */ -#line 117 "util/configparser.y" - { - OUTYY(("\nP(server:)\n")); - } - break; - - case 108: - -/* Line 1806 of yacc.c */ -#line 165 "util/configparser.y" - { - struct config_stub* s; - OUTYY(("\nP(stub_zone:)\n")); - s = (struct config_stub*)calloc(1, sizeof(struct config_stub)); - if(s) { - s->next = cfg_parser->cfg->stubs; - cfg_parser->cfg->stubs = s; - } else - yyerror("out of memory"); - } - break; - - case 115: - -/* Line 1806 of yacc.c */ -#line 181 "util/configparser.y" - { - struct config_stub* s; - OUTYY(("\nP(forward_zone:)\n")); - s = (struct config_stub*)calloc(1, sizeof(struct config_stub)); - if(s) { - s->next = cfg_parser->cfg->forwards; - cfg_parser->cfg->forwards = s; - } else - yyerror("out of memory"); - } - break; - - case 121: - -/* Line 1806 of yacc.c */ -#line 197 "util/configparser.y" - { - OUTYY(("P(server_num_threads:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) - yyerror("number expected"); - else cfg_parser->cfg->num_threads = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 122: - -/* Line 1806 of yacc.c */ -#line 206 "util/configparser.y" - { - OUTYY(("P(server_verbosity:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) - yyerror("number expected"); - else cfg_parser->cfg->verbosity = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 123: - -/* Line 1806 of yacc.c */ -#line 215 "util/configparser.y" - { - OUTYY(("P(server_statistics_interval:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "") == 0 || strcmp((yyvsp[(2) - (2)].str), "0") == 0) - cfg_parser->cfg->stat_interval = 0; - else if(atoi((yyvsp[(2) - (2)].str)) == 0) - yyerror("number expected"); - else cfg_parser->cfg->stat_interval = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 124: - -/* Line 1806 of yacc.c */ -#line 226 "util/configparser.y" - { - OUTYY(("P(server_statistics_cumulative:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->stat_cumulative = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 125: - -/* Line 1806 of yacc.c */ -#line 235 "util/configparser.y" - { - OUTYY(("P(server_extended_statistics:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->stat_extended = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 126: - -/* Line 1806 of yacc.c */ -#line 244 "util/configparser.y" - { - OUTYY(("P(server_port:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0) - yyerror("port number expected"); - else cfg_parser->cfg->port = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 127: - -/* Line 1806 of yacc.c */ -#line 253 "util/configparser.y" - { - OUTYY(("P(server_interface:%s)\n", (yyvsp[(2) - (2)].str))); - if(cfg_parser->cfg->num_ifs == 0) - cfg_parser->cfg->ifs = calloc(1, sizeof(char*)); - else cfg_parser->cfg->ifs = realloc(cfg_parser->cfg->ifs, - (cfg_parser->cfg->num_ifs+1)*sizeof(char*)); - if(!cfg_parser->cfg->ifs) - yyerror("out of memory"); - else - cfg_parser->cfg->ifs[cfg_parser->cfg->num_ifs++] = (yyvsp[(2) - (2)].str); - } - break; - - case 128: - -/* Line 1806 of yacc.c */ -#line 266 "util/configparser.y" - { - OUTYY(("P(server_outgoing_interface:%s)\n", (yyvsp[(2) - (2)].str))); - if(cfg_parser->cfg->num_out_ifs == 0) - cfg_parser->cfg->out_ifs = calloc(1, sizeof(char*)); - else cfg_parser->cfg->out_ifs = realloc( - cfg_parser->cfg->out_ifs, - (cfg_parser->cfg->num_out_ifs+1)*sizeof(char*)); - if(!cfg_parser->cfg->out_ifs) - yyerror("out of memory"); - else - cfg_parser->cfg->out_ifs[ - cfg_parser->cfg->num_out_ifs++] = (yyvsp[(2) - (2)].str); - } - break; - - case 129: - -/* Line 1806 of yacc.c */ -#line 281 "util/configparser.y" - { - OUTYY(("P(server_outgoing_range:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0) - yyerror("number expected"); - else cfg_parser->cfg->outgoing_num_ports = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 130: - -/* Line 1806 of yacc.c */ -#line 290 "util/configparser.y" - { - OUTYY(("P(server_outgoing_port_permit:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_mark_ports((yyvsp[(2) - (2)].str), 1, - cfg_parser->cfg->outgoing_avail_ports, 65536)) - yyerror("port number or range (\"low-high\") expected"); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 131: - -/* Line 1806 of yacc.c */ -#line 299 "util/configparser.y" - { - OUTYY(("P(server_outgoing_port_avoid:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_mark_ports((yyvsp[(2) - (2)].str), 0, - cfg_parser->cfg->outgoing_avail_ports, 65536)) - yyerror("port number or range (\"low-high\") expected"); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 132: - -/* Line 1806 of yacc.c */ -#line 308 "util/configparser.y" - { - OUTYY(("P(server_outgoing_num_tcp:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) - yyerror("number expected"); - else cfg_parser->cfg->outgoing_num_tcp = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 133: - -/* Line 1806 of yacc.c */ -#line 317 "util/configparser.y" - { - OUTYY(("P(server_incoming_num_tcp:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) - yyerror("number expected"); - else cfg_parser->cfg->incoming_num_tcp = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 134: - -/* Line 1806 of yacc.c */ -#line 326 "util/configparser.y" - { - OUTYY(("P(server_interface_automatic:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->if_automatic = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 135: - -/* Line 1806 of yacc.c */ -#line 335 "util/configparser.y" - { - OUTYY(("P(server_do_ip4:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->do_ip4 = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 136: - -/* Line 1806 of yacc.c */ -#line 344 "util/configparser.y" - { - OUTYY(("P(server_do_ip6:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->do_ip6 = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 137: - -/* Line 1806 of yacc.c */ -#line 353 "util/configparser.y" - { - OUTYY(("P(server_do_udp:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->do_udp = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 138: - -/* Line 1806 of yacc.c */ -#line 362 "util/configparser.y" - { - OUTYY(("P(server_do_tcp:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->do_tcp = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 139: - -/* Line 1806 of yacc.c */ -#line 371 "util/configparser.y" - { - OUTYY(("P(server_tcp_upstream:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->tcp_upstream = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 140: - -/* Line 1806 of yacc.c */ -#line 380 "util/configparser.y" - { - OUTYY(("P(server_ssl_upstream:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->ssl_upstream = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 141: - -/* Line 1806 of yacc.c */ -#line 389 "util/configparser.y" - { - OUTYY(("P(server_ssl_service_key:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->ssl_service_key); - cfg_parser->cfg->ssl_service_key = (yyvsp[(2) - (2)].str); - } - break; - - case 142: - -/* Line 1806 of yacc.c */ -#line 396 "util/configparser.y" - { - OUTYY(("P(server_ssl_service_pem:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->ssl_service_pem); - cfg_parser->cfg->ssl_service_pem = (yyvsp[(2) - (2)].str); - } - break; - - case 143: - -/* Line 1806 of yacc.c */ -#line 403 "util/configparser.y" - { - OUTYY(("P(server_ssl_port:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0) - yyerror("port number expected"); - else cfg_parser->cfg->ssl_port = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 144: - -/* Line 1806 of yacc.c */ -#line 412 "util/configparser.y" - { - OUTYY(("P(server_do_daemonize:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->do_daemonize = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 145: - -/* Line 1806 of yacc.c */ -#line 421 "util/configparser.y" - { - OUTYY(("P(server_use_syslog:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->use_syslog = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); -#if !defined(HAVE_SYSLOG_H) && !defined(UB_ON_WINDOWS) - if(strcmp((yyvsp[(2) - (2)].str), "yes") == 0) - yyerror("no syslog services are available. " - "(reconfigure and compile to add)"); -#endif - free((yyvsp[(2) - (2)].str)); - } - break; - - case 146: - -/* Line 1806 of yacc.c */ -#line 435 "util/configparser.y" - { - OUTYY(("P(server_log_time_ascii:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->log_time_ascii = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 147: - -/* Line 1806 of yacc.c */ -#line 444 "util/configparser.y" - { - OUTYY(("P(server_log_queries:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->log_queries = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 148: - -/* Line 1806 of yacc.c */ -#line 453 "util/configparser.y" - { - OUTYY(("P(server_chroot:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->chrootdir); - cfg_parser->cfg->chrootdir = (yyvsp[(2) - (2)].str); - } - break; - - case 149: - -/* Line 1806 of yacc.c */ -#line 460 "util/configparser.y" - { - OUTYY(("P(server_username:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->username); - cfg_parser->cfg->username = (yyvsp[(2) - (2)].str); - } - break; - - case 150: - -/* Line 1806 of yacc.c */ -#line 467 "util/configparser.y" - { - OUTYY(("P(server_directory:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->directory); - cfg_parser->cfg->directory = (yyvsp[(2) - (2)].str); - } - break; - - case 151: - -/* Line 1806 of yacc.c */ -#line 474 "util/configparser.y" - { - OUTYY(("P(server_logfile:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->logfile); - cfg_parser->cfg->logfile = (yyvsp[(2) - (2)].str); - cfg_parser->cfg->use_syslog = 0; - } - break; - - case 152: - -/* Line 1806 of yacc.c */ -#line 482 "util/configparser.y" - { - OUTYY(("P(server_pidfile:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->pidfile); - cfg_parser->cfg->pidfile = (yyvsp[(2) - (2)].str); - } - break; - - case 153: - -/* Line 1806 of yacc.c */ -#line 489 "util/configparser.y" - { - OUTYY(("P(server_root_hints:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_strlist_insert(&cfg_parser->cfg->root_hints, (yyvsp[(2) - (2)].str))) - yyerror("out of memory"); - } - break; - - case 154: - -/* Line 1806 of yacc.c */ -#line 496 "util/configparser.y" - { - OUTYY(("P(server_dlv_anchor_file:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->dlv_anchor_file); - cfg_parser->cfg->dlv_anchor_file = (yyvsp[(2) - (2)].str); - } - break; - - case 155: - -/* Line 1806 of yacc.c */ -#line 503 "util/configparser.y" - { - OUTYY(("P(server_dlv_anchor:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_strlist_insert(&cfg_parser->cfg->dlv_anchor_list, (yyvsp[(2) - (2)].str))) - yyerror("out of memory"); - } - break; - - case 156: - -/* Line 1806 of yacc.c */ -#line 510 "util/configparser.y" - { - OUTYY(("P(server_auto_trust_anchor_file:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_strlist_insert(&cfg_parser->cfg-> - auto_trust_anchor_file_list, (yyvsp[(2) - (2)].str))) - yyerror("out of memory"); - } - break; - - case 157: - -/* Line 1806 of yacc.c */ -#line 518 "util/configparser.y" - { - OUTYY(("P(server_trust_anchor_file:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_strlist_insert(&cfg_parser->cfg-> - trust_anchor_file_list, (yyvsp[(2) - (2)].str))) - yyerror("out of memory"); - } - break; - - case 158: - -/* Line 1806 of yacc.c */ -#line 526 "util/configparser.y" - { - OUTYY(("P(server_trusted_keys_file:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_strlist_insert(&cfg_parser->cfg-> - trusted_keys_file_list, (yyvsp[(2) - (2)].str))) - yyerror("out of memory"); - } - break; - - case 159: - -/* Line 1806 of yacc.c */ -#line 534 "util/configparser.y" - { - OUTYY(("P(server_trust_anchor:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_strlist_insert(&cfg_parser->cfg->trust_anchor_list, (yyvsp[(2) - (2)].str))) - yyerror("out of memory"); - } - break; - - case 160: - -/* Line 1806 of yacc.c */ -#line 541 "util/configparser.y" - { - OUTYY(("P(server_domain_insecure:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_strlist_insert(&cfg_parser->cfg->domain_insecure, (yyvsp[(2) - (2)].str))) - yyerror("out of memory"); - } - break; - - case 161: - -/* Line 1806 of yacc.c */ -#line 548 "util/configparser.y" - { - OUTYY(("P(server_hide_identity:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->hide_identity = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 162: - -/* Line 1806 of yacc.c */ -#line 557 "util/configparser.y" - { - OUTYY(("P(server_hide_version:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->hide_version = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 163: - -/* Line 1806 of yacc.c */ -#line 566 "util/configparser.y" - { - OUTYY(("P(server_identity:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->identity); - cfg_parser->cfg->identity = (yyvsp[(2) - (2)].str); - } - break; - - case 164: - -/* Line 1806 of yacc.c */ -#line 573 "util/configparser.y" - { - OUTYY(("P(server_version:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->version); - cfg_parser->cfg->version = (yyvsp[(2) - (2)].str); - } - break; - - case 165: - -/* Line 1806 of yacc.c */ -#line 580 "util/configparser.y" - { - OUTYY(("P(server_so_rcvbuf:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_parse_memsize((yyvsp[(2) - (2)].str), &cfg_parser->cfg->so_rcvbuf)) - yyerror("buffer size expected"); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 166: - -/* Line 1806 of yacc.c */ -#line 588 "util/configparser.y" - { - OUTYY(("P(server_so_sndbuf:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_parse_memsize((yyvsp[(2) - (2)].str), &cfg_parser->cfg->so_sndbuf)) - yyerror("buffer size expected"); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 167: - -/* Line 1806 of yacc.c */ -#line 596 "util/configparser.y" - { - OUTYY(("P(server_edns_buffer_size:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0) - yyerror("number expected"); - else if (atoi((yyvsp[(2) - (2)].str)) < 12) - yyerror("edns buffer size too small"); - else if (atoi((yyvsp[(2) - (2)].str)) > 65535) - cfg_parser->cfg->edns_buffer_size = 65535; - else cfg_parser->cfg->edns_buffer_size = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 168: - -/* Line 1806 of yacc.c */ -#line 609 "util/configparser.y" - { - OUTYY(("P(server_msg_buffer_size:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0) - yyerror("number expected"); - else if (atoi((yyvsp[(2) - (2)].str)) < 4096) - yyerror("message buffer size too small (use 4096)"); - else cfg_parser->cfg->msg_buffer_size = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 169: - -/* Line 1806 of yacc.c */ -#line 620 "util/configparser.y" - { - OUTYY(("P(server_msg_cache_size:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_parse_memsize((yyvsp[(2) - (2)].str), &cfg_parser->cfg->msg_cache_size)) - yyerror("memory size expected"); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 170: - -/* Line 1806 of yacc.c */ -#line 628 "util/configparser.y" - { - OUTYY(("P(server_msg_cache_slabs:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0) - yyerror("number expected"); - else { - cfg_parser->cfg->msg_cache_slabs = atoi((yyvsp[(2) - (2)].str)); - if(!is_pow2(cfg_parser->cfg->msg_cache_slabs)) - yyerror("must be a power of 2"); - } - free((yyvsp[(2) - (2)].str)); - } - break; - - case 171: - -/* Line 1806 of yacc.c */ -#line 641 "util/configparser.y" - { - OUTYY(("P(server_num_queries_per_thread:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0) - yyerror("number expected"); - else cfg_parser->cfg->num_queries_per_thread = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 172: - -/* Line 1806 of yacc.c */ -#line 650 "util/configparser.y" - { - OUTYY(("P(server_jostle_timeout:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) - yyerror("number expected"); - else cfg_parser->cfg->jostle_time = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 173: - -/* Line 1806 of yacc.c */ -#line 659 "util/configparser.y" - { - OUTYY(("P(server_rrset_cache_size:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_parse_memsize((yyvsp[(2) - (2)].str), &cfg_parser->cfg->rrset_cache_size)) - yyerror("memory size expected"); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 174: - -/* Line 1806 of yacc.c */ -#line 667 "util/configparser.y" - { - OUTYY(("P(server_rrset_cache_slabs:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0) - yyerror("number expected"); - else { - cfg_parser->cfg->rrset_cache_slabs = atoi((yyvsp[(2) - (2)].str)); - if(!is_pow2(cfg_parser->cfg->rrset_cache_slabs)) - yyerror("must be a power of 2"); - } - free((yyvsp[(2) - (2)].str)); - } - break; - - case 175: - -/* Line 1806 of yacc.c */ -#line 680 "util/configparser.y" - { - OUTYY(("P(server_infra_host_ttl:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) - yyerror("number expected"); - else cfg_parser->cfg->host_ttl = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 176: - -/* Line 1806 of yacc.c */ -#line 689 "util/configparser.y" - { - OUTYY(("P(server_infra_lame_ttl:%s)\n", (yyvsp[(2) - (2)].str))); - verbose(VERB_DETAIL, "ignored infra-lame-ttl: %s (option " - "removed, use infra-host-ttl)", (yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 177: - -/* Line 1806 of yacc.c */ -#line 697 "util/configparser.y" - { - OUTYY(("P(server_infra_cache_numhosts:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0) - yyerror("number expected"); - else cfg_parser->cfg->infra_cache_numhosts = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 178: - -/* Line 1806 of yacc.c */ -#line 706 "util/configparser.y" - { - OUTYY(("P(server_infra_cache_lame_size:%s)\n", (yyvsp[(2) - (2)].str))); - verbose(VERB_DETAIL, "ignored infra-cache-lame-size: %s " - "(option removed, use infra-cache-numhosts)", (yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 179: - -/* Line 1806 of yacc.c */ -#line 714 "util/configparser.y" - { - OUTYY(("P(server_infra_cache_slabs:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0) - yyerror("number expected"); - else { - cfg_parser->cfg->infra_cache_slabs = atoi((yyvsp[(2) - (2)].str)); - if(!is_pow2(cfg_parser->cfg->infra_cache_slabs)) - yyerror("must be a power of 2"); - } - free((yyvsp[(2) - (2)].str)); - } - break; - - case 180: - -/* Line 1806 of yacc.c */ -#line 727 "util/configparser.y" - { - OUTYY(("P(server_target_fetch_policy:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->target_fetch_policy); - cfg_parser->cfg->target_fetch_policy = (yyvsp[(2) - (2)].str); - } - break; - - case 181: - -/* Line 1806 of yacc.c */ -#line 734 "util/configparser.y" - { - OUTYY(("P(server_harden_short_bufsize:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->harden_short_bufsize = - (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 182: - -/* Line 1806 of yacc.c */ -#line 744 "util/configparser.y" - { - OUTYY(("P(server_harden_large_queries:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->harden_large_queries = - (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 183: - -/* Line 1806 of yacc.c */ -#line 754 "util/configparser.y" - { - OUTYY(("P(server_harden_glue:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->harden_glue = - (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 184: - -/* Line 1806 of yacc.c */ -#line 764 "util/configparser.y" - { - OUTYY(("P(server_harden_dnssec_stripped:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->harden_dnssec_stripped = - (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 185: - -/* Line 1806 of yacc.c */ -#line 774 "util/configparser.y" - { - OUTYY(("P(server_harden_below_nxdomain:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->harden_below_nxdomain = - (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 186: - -/* Line 1806 of yacc.c */ -#line 784 "util/configparser.y" - { - OUTYY(("P(server_harden_referral_path:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->harden_referral_path = - (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 187: - -/* Line 1806 of yacc.c */ -#line 794 "util/configparser.y" - { - OUTYY(("P(server_use_caps_for_id:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->use_caps_bits_for_id = - (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 188: - -/* Line 1806 of yacc.c */ -#line 804 "util/configparser.y" - { - OUTYY(("P(server_private_address:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_strlist_insert(&cfg_parser->cfg->private_address, (yyvsp[(2) - (2)].str))) - yyerror("out of memory"); - } - break; - - case 189: - -/* Line 1806 of yacc.c */ -#line 811 "util/configparser.y" - { - OUTYY(("P(server_private_domain:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_strlist_insert(&cfg_parser->cfg->private_domain, (yyvsp[(2) - (2)].str))) - yyerror("out of memory"); - } - break; - - case 190: - -/* Line 1806 of yacc.c */ -#line 818 "util/configparser.y" - { - OUTYY(("P(server_prefetch:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->prefetch = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 191: - -/* Line 1806 of yacc.c */ -#line 827 "util/configparser.y" - { - OUTYY(("P(server_prefetch_key:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->prefetch_key = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 192: - -/* Line 1806 of yacc.c */ -#line 836 "util/configparser.y" - { - OUTYY(("P(server_unwanted_reply_threshold:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) - yyerror("number expected"); - else cfg_parser->cfg->unwanted_threshold = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 193: - -/* Line 1806 of yacc.c */ -#line 845 "util/configparser.y" - { - OUTYY(("P(server_do_not_query_address:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_strlist_insert(&cfg_parser->cfg->donotqueryaddrs, (yyvsp[(2) - (2)].str))) - yyerror("out of memory"); - } - break; - - case 194: - -/* Line 1806 of yacc.c */ -#line 852 "util/configparser.y" - { - OUTYY(("P(server_do_not_query_localhost:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->donotquery_localhost = - (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 195: - -/* Line 1806 of yacc.c */ -#line 862 "util/configparser.y" - { - OUTYY(("P(server_access_control:%s %s)\n", (yyvsp[(2) - (3)].str), (yyvsp[(3) - (3)].str))); - if(strcmp((yyvsp[(3) - (3)].str), "deny")!=0 && strcmp((yyvsp[(3) - (3)].str), "refuse")!=0 && - strcmp((yyvsp[(3) - (3)].str), "allow")!=0 && - strcmp((yyvsp[(3) - (3)].str), "allow_snoop")!=0) { - yyerror("expected deny, refuse, allow or allow_snoop " - "in access control action"); - } else { - if(!cfg_str2list_insert(&cfg_parser->cfg->acls, (yyvsp[(2) - (3)].str), (yyvsp[(3) - (3)].str))) - fatal_exit("out of memory adding acl"); - } - } - break; - - case 196: - -/* Line 1806 of yacc.c */ -#line 876 "util/configparser.y" - { - OUTYY(("P(server_module_conf:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->module_conf); - cfg_parser->cfg->module_conf = (yyvsp[(2) - (2)].str); - } - break; - - case 197: - -/* Line 1806 of yacc.c */ -#line 883 "util/configparser.y" - { - OUTYY(("P(server_val_override_date:%s)\n", (yyvsp[(2) - (2)].str))); - if(strlen((yyvsp[(2) - (2)].str)) == 0 || strcmp((yyvsp[(2) - (2)].str), "0") == 0) { - cfg_parser->cfg->val_date_override = 0; - } else if(strlen((yyvsp[(2) - (2)].str)) == 14) { - cfg_parser->cfg->val_date_override = - cfg_convert_timeval((yyvsp[(2) - (2)].str)); - if(!cfg_parser->cfg->val_date_override) - yyerror("bad date/time specification"); - } else { - if(atoi((yyvsp[(2) - (2)].str)) == 0) - yyerror("number expected"); - cfg_parser->cfg->val_date_override = atoi((yyvsp[(2) - (2)].str)); - } - free((yyvsp[(2) - (2)].str)); - } - break; - - case 198: - -/* Line 1806 of yacc.c */ -#line 901 "util/configparser.y" - { - OUTYY(("P(server_val_sig_skew_min:%s)\n", (yyvsp[(2) - (2)].str))); - if(strlen((yyvsp[(2) - (2)].str)) == 0 || strcmp((yyvsp[(2) - (2)].str), "0") == 0) { - cfg_parser->cfg->val_sig_skew_min = 0; - } else { - cfg_parser->cfg->val_sig_skew_min = atoi((yyvsp[(2) - (2)].str)); - if(!cfg_parser->cfg->val_sig_skew_min) - yyerror("number expected"); - } - free((yyvsp[(2) - (2)].str)); - } - break; - - case 199: - -/* Line 1806 of yacc.c */ -#line 914 "util/configparser.y" - { - OUTYY(("P(server_val_sig_skew_max:%s)\n", (yyvsp[(2) - (2)].str))); - if(strlen((yyvsp[(2) - (2)].str)) == 0 || strcmp((yyvsp[(2) - (2)].str), "0") == 0) { - cfg_parser->cfg->val_sig_skew_max = 0; - } else { - cfg_parser->cfg->val_sig_skew_max = atoi((yyvsp[(2) - (2)].str)); - if(!cfg_parser->cfg->val_sig_skew_max) - yyerror("number expected"); - } - free((yyvsp[(2) - (2)].str)); - } - break; - - case 200: - -/* Line 1806 of yacc.c */ -#line 927 "util/configparser.y" - { - OUTYY(("P(server_cache_max_ttl:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) - yyerror("number expected"); - else cfg_parser->cfg->max_ttl = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 201: - -/* Line 1806 of yacc.c */ -#line 936 "util/configparser.y" - { - OUTYY(("P(server_cache_min_ttl:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) - yyerror("number expected"); - else cfg_parser->cfg->min_ttl = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 202: - -/* Line 1806 of yacc.c */ -#line 945 "util/configparser.y" - { - OUTYY(("P(server_bogus_ttl:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) - yyerror("number expected"); - else cfg_parser->cfg->bogus_ttl = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 203: - -/* Line 1806 of yacc.c */ -#line 954 "util/configparser.y" - { - OUTYY(("P(server_val_clean_additional:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->val_clean_additional = - (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 204: - -/* Line 1806 of yacc.c */ -#line 964 "util/configparser.y" - { - OUTYY(("P(server_val_permissive_mode:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->val_permissive_mode = - (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 205: - -/* Line 1806 of yacc.c */ -#line 974 "util/configparser.y" - { - OUTYY(("P(server_ignore_cd_flag:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->ignore_cd = (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 206: - -/* Line 1806 of yacc.c */ -#line 983 "util/configparser.y" - { - OUTYY(("P(server_val_log_level:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) - yyerror("number expected"); - else cfg_parser->cfg->val_log_level = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 207: - -/* Line 1806 of yacc.c */ -#line 992 "util/configparser.y" - { - OUTYY(("P(server_val_nsec3_keysize_iterations:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->val_nsec3_key_iterations); - cfg_parser->cfg->val_nsec3_key_iterations = (yyvsp[(2) - (2)].str); - } - break; - - case 208: - -/* Line 1806 of yacc.c */ -#line 999 "util/configparser.y" - { - OUTYY(("P(server_add_holddown:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) - yyerror("number expected"); - else cfg_parser->cfg->add_holddown = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 209: - -/* Line 1806 of yacc.c */ -#line 1008 "util/configparser.y" - { - OUTYY(("P(server_del_holddown:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) - yyerror("number expected"); - else cfg_parser->cfg->del_holddown = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 210: - -/* Line 1806 of yacc.c */ -#line 1017 "util/configparser.y" - { - OUTYY(("P(server_keep_missing:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0 && strcmp((yyvsp[(2) - (2)].str), "0") != 0) - yyerror("number expected"); - else cfg_parser->cfg->keep_missing = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 211: - -/* Line 1806 of yacc.c */ -#line 1026 "util/configparser.y" - { - OUTYY(("P(server_key_cache_size:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_parse_memsize((yyvsp[(2) - (2)].str), &cfg_parser->cfg->key_cache_size)) - yyerror("memory size expected"); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 212: - -/* Line 1806 of yacc.c */ -#line 1034 "util/configparser.y" - { - OUTYY(("P(server_key_cache_slabs:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0) - yyerror("number expected"); - else { - cfg_parser->cfg->key_cache_slabs = atoi((yyvsp[(2) - (2)].str)); - if(!is_pow2(cfg_parser->cfg->key_cache_slabs)) - yyerror("must be a power of 2"); - } - free((yyvsp[(2) - (2)].str)); - } - break; - - case 213: - -/* Line 1806 of yacc.c */ -#line 1047 "util/configparser.y" - { - OUTYY(("P(server_neg_cache_size:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_parse_memsize((yyvsp[(2) - (2)].str), &cfg_parser->cfg->neg_cache_size)) - yyerror("memory size expected"); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 214: - -/* Line 1806 of yacc.c */ -#line 1055 "util/configparser.y" - { - OUTYY(("P(server_local_zone:%s %s)\n", (yyvsp[(2) - (3)].str), (yyvsp[(3) - (3)].str))); - if(strcmp((yyvsp[(3) - (3)].str), "static")!=0 && strcmp((yyvsp[(3) - (3)].str), "deny")!=0 && - strcmp((yyvsp[(3) - (3)].str), "refuse")!=0 && strcmp((yyvsp[(3) - (3)].str), "redirect")!=0 && - strcmp((yyvsp[(3) - (3)].str), "transparent")!=0 && strcmp((yyvsp[(3) - (3)].str), "nodefault")!=0 - && strcmp((yyvsp[(3) - (3)].str), "typetransparent")!=0) - yyerror("local-zone type: expected static, deny, " - "refuse, redirect, transparent, " - "typetransparent or nodefault"); - else if(strcmp((yyvsp[(3) - (3)].str), "nodefault")==0) { - if(!cfg_strlist_insert(&cfg_parser->cfg-> - local_zones_nodefault, (yyvsp[(2) - (3)].str))) - fatal_exit("out of memory adding local-zone"); - free((yyvsp[(3) - (3)].str)); - } else { - if(!cfg_str2list_insert(&cfg_parser->cfg->local_zones, - (yyvsp[(2) - (3)].str), (yyvsp[(3) - (3)].str))) - fatal_exit("out of memory adding local-zone"); - } - } - break; - - case 215: - -/* Line 1806 of yacc.c */ -#line 1077 "util/configparser.y" - { - OUTYY(("P(server_local_data:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_strlist_insert(&cfg_parser->cfg->local_data, (yyvsp[(2) - (2)].str))) - fatal_exit("out of memory adding local-data"); - } - break; - - case 216: - -/* Line 1806 of yacc.c */ -#line 1084 "util/configparser.y" - { - char* ptr; - OUTYY(("P(server_local_data_ptr:%s)\n", (yyvsp[(2) - (2)].str))); - ptr = cfg_ptr_reverse((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - if(ptr) { - if(!cfg_strlist_insert(&cfg_parser->cfg-> - local_data, ptr)) - fatal_exit("out of memory adding local-data"); - } else { - yyerror("local-data-ptr could not be reversed"); - } - } - break; - - case 217: - -/* Line 1806 of yacc.c */ -#line 1099 "util/configparser.y" - { - OUTYY(("P(name:%s)\n", (yyvsp[(2) - (2)].str))); - if(cfg_parser->cfg->stubs->name) - yyerror("stub name override, there must be one name " - "for one stub-zone"); - free(cfg_parser->cfg->stubs->name); - cfg_parser->cfg->stubs->name = (yyvsp[(2) - (2)].str); - } - break; - - case 218: - -/* Line 1806 of yacc.c */ -#line 1109 "util/configparser.y" - { - OUTYY(("P(stub-host:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_strlist_insert(&cfg_parser->cfg->stubs->hosts, (yyvsp[(2) - (2)].str))) - yyerror("out of memory"); - } - break; - - case 219: - -/* Line 1806 of yacc.c */ -#line 1116 "util/configparser.y" - { - OUTYY(("P(stub-addr:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_strlist_insert(&cfg_parser->cfg->stubs->addrs, (yyvsp[(2) - (2)].str))) - yyerror("out of memory"); - } - break; - - case 220: - -/* Line 1806 of yacc.c */ -#line 1123 "util/configparser.y" - { - OUTYY(("P(stub-prime:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->stubs->isprime = - (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 221: - -/* Line 1806 of yacc.c */ -#line 1133 "util/configparser.y" - { - OUTYY(("P(name:%s)\n", (yyvsp[(2) - (2)].str))); - if(cfg_parser->cfg->forwards->name) - yyerror("forward name override, there must be one " - "name for one forward-zone"); - free(cfg_parser->cfg->forwards->name); - cfg_parser->cfg->forwards->name = (yyvsp[(2) - (2)].str); - } - break; - - case 222: - -/* Line 1806 of yacc.c */ -#line 1143 "util/configparser.y" - { - OUTYY(("P(forward-host:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_strlist_insert(&cfg_parser->cfg->forwards->hosts, (yyvsp[(2) - (2)].str))) - yyerror("out of memory"); - } - break; - - case 223: - -/* Line 1806 of yacc.c */ -#line 1150 "util/configparser.y" - { - OUTYY(("P(forward-addr:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_strlist_insert(&cfg_parser->cfg->forwards->addrs, (yyvsp[(2) - (2)].str))) - yyerror("out of memory"); - } - break; - - case 224: - -/* Line 1806 of yacc.c */ -#line 1157 "util/configparser.y" - { - OUTYY(("\nP(remote-control:)\n")); - } - break; - - case 234: - -/* Line 1806 of yacc.c */ -#line 1168 "util/configparser.y" - { - OUTYY(("P(control_enable:%s)\n", (yyvsp[(2) - (2)].str))); - if(strcmp((yyvsp[(2) - (2)].str), "yes") != 0 && strcmp((yyvsp[(2) - (2)].str), "no") != 0) - yyerror("expected yes or no."); - else cfg_parser->cfg->remote_control_enable = - (strcmp((yyvsp[(2) - (2)].str), "yes")==0); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 235: - -/* Line 1806 of yacc.c */ -#line 1178 "util/configparser.y" - { - OUTYY(("P(control_port:%s)\n", (yyvsp[(2) - (2)].str))); - if(atoi((yyvsp[(2) - (2)].str)) == 0) - yyerror("control port number expected"); - else cfg_parser->cfg->control_port = atoi((yyvsp[(2) - (2)].str)); - free((yyvsp[(2) - (2)].str)); - } - break; - - case 236: - -/* Line 1806 of yacc.c */ -#line 1187 "util/configparser.y" - { - OUTYY(("P(control_interface:%s)\n", (yyvsp[(2) - (2)].str))); - if(!cfg_strlist_insert(&cfg_parser->cfg->control_ifs, (yyvsp[(2) - (2)].str))) - yyerror("out of memory"); - } - break; - - case 237: - -/* Line 1806 of yacc.c */ -#line 1194 "util/configparser.y" - { - OUTYY(("P(rc_server_key_file:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->server_key_file); - cfg_parser->cfg->server_key_file = (yyvsp[(2) - (2)].str); - } - break; - - case 238: - -/* Line 1806 of yacc.c */ -#line 1201 "util/configparser.y" - { - OUTYY(("P(rc_server_cert_file:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->server_cert_file); - cfg_parser->cfg->server_cert_file = (yyvsp[(2) - (2)].str); - } - break; - - case 239: - -/* Line 1806 of yacc.c */ -#line 1208 "util/configparser.y" - { - OUTYY(("P(rc_control_key_file:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->control_key_file); - cfg_parser->cfg->control_key_file = (yyvsp[(2) - (2)].str); - } - break; - - case 240: - -/* Line 1806 of yacc.c */ -#line 1215 "util/configparser.y" - { - OUTYY(("P(rc_control_cert_file:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->control_cert_file); - cfg_parser->cfg->control_cert_file = (yyvsp[(2) - (2)].str); - } - break; - - case 241: - -/* Line 1806 of yacc.c */ -#line 1222 "util/configparser.y" - { - OUTYY(("\nP(python:)\n")); - } - break; - - case 245: - -/* Line 1806 of yacc.c */ -#line 1231 "util/configparser.y" - { - OUTYY(("P(python-script:%s)\n", (yyvsp[(2) - (2)].str))); - free(cfg_parser->cfg->python_script); - cfg_parser->cfg->python_script = (yyvsp[(2) - (2)].str); - } - break; - - - -/* Line 1806 of yacc.c */ -#line 3577 "util/configparser.c" - default: break; - } - /* User semantic actions sometimes alter yychar, and that requires - that yytoken be updated with the new translation. We take the - approach of translating immediately before every use of yytoken. - One alternative is translating here after every semantic action, - but that translation would be missed if the semantic action invokes - YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or - if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an - incorrect destructor might then be invoked immediately. In the - case of YYERROR or YYBACKUP, subsequent parser actions might lead - to an incorrect destructor call or verbose syntax error message - before the lookahead is translated. */ - YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); - - YYPOPSTACK (yylen); - yylen = 0; - YY_STACK_PRINT (yyss, yyssp); - - *++yyvsp = yyval; - - /* Now `shift' the result of the reduction. Determine what state - that goes to, based on the state we popped back to and the rule - number reduced by. */ - - yyn = yyr1[yyn]; - - yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; - if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) - yystate = yytable[yystate]; - else - yystate = yydefgoto[yyn - YYNTOKENS]; - - goto yynewstate; - - -/*------------------------------------. -| yyerrlab -- here on detecting error | -`------------------------------------*/ -yyerrlab: - /* Make sure we have latest lookahead translation. See comments at - user semantic actions for why this is necessary. */ - yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar); - - /* If not already recovering from an error, report this error. */ - if (!yyerrstatus) - { - ++yynerrs; -#if ! YYERROR_VERBOSE - yyerror (YY_("syntax error")); -#else -# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \ - yyssp, yytoken) - { - char const *yymsgp = YY_("syntax error"); - int yysyntax_error_status; - yysyntax_error_status = YYSYNTAX_ERROR; - if (yysyntax_error_status == 0) - yymsgp = yymsg; - else if (yysyntax_error_status == 1) - { - if (yymsg != yymsgbuf) - YYSTACK_FREE (yymsg); - yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc); - if (!yymsg) - { - yymsg = yymsgbuf; - yymsg_alloc = sizeof yymsgbuf; - yysyntax_error_status = 2; - } - else - { - yysyntax_error_status = YYSYNTAX_ERROR; - yymsgp = yymsg; - } - } - yyerror (yymsgp); - if (yysyntax_error_status == 2) - goto yyexhaustedlab; - } -# undef YYSYNTAX_ERROR -#endif - } - - - - if (yyerrstatus == 3) - { - /* If just tried and failed to reuse lookahead token after an - error, discard it. */ - - if (yychar <= YYEOF) - { - /* Return failure if at end of input. */ - if (yychar == YYEOF) - YYABORT; - } - else - { - yydestruct ("Error: discarding", - yytoken, &yylval); - yychar = YYEMPTY; - } - } - - /* Else will try to reuse lookahead token after shifting the error - token. */ - goto yyerrlab1; - - -/*---------------------------------------------------. -| yyerrorlab -- error raised explicitly by YYERROR. | -`---------------------------------------------------*/ -yyerrorlab: - - /* Pacify compilers like GCC when the user code never invokes - YYERROR and the label yyerrorlab therefore never appears in user - code. */ - if (/*CONSTCOND*/ 0) - goto yyerrorlab; - - /* Do not reclaim the symbols of the rule which action triggered - this YYERROR. */ - YYPOPSTACK (yylen); - yylen = 0; - YY_STACK_PRINT (yyss, yyssp); - yystate = *yyssp; - goto yyerrlab1; - - -/*-------------------------------------------------------------. -| yyerrlab1 -- common code for both syntax error and YYERROR. | -`-------------------------------------------------------------*/ -yyerrlab1: - yyerrstatus = 3; /* Each real token shifted decrements this. */ - - for (;;) - { - yyn = yypact[yystate]; - if (!yypact_value_is_default (yyn)) - { - yyn += YYTERROR; - if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) - { - yyn = yytable[yyn]; - if (0 < yyn) - break; - } - } - - /* Pop the current state because it cannot handle the error token. */ - if (yyssp == yyss) - YYABORT; - - - yydestruct ("Error: popping", - yystos[yystate], yyvsp); - YYPOPSTACK (1); - yystate = *yyssp; - YY_STACK_PRINT (yyss, yyssp); - } - - *++yyvsp = yylval; - - - /* Shift the error token. */ - YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); - - yystate = yyn; - goto yynewstate; - - -/*-------------------------------------. -| yyacceptlab -- YYACCEPT comes here. | -`-------------------------------------*/ -yyacceptlab: - yyresult = 0; - goto yyreturn; - -/*-----------------------------------. -| yyabortlab -- YYABORT comes here. | -`-----------------------------------*/ -yyabortlab: - yyresult = 1; - goto yyreturn; - -#if !defined(yyoverflow) || YYERROR_VERBOSE -/*-------------------------------------------------. -| yyexhaustedlab -- memory exhaustion comes here. | -`-------------------------------------------------*/ -yyexhaustedlab: - yyerror (YY_("memory exhausted")); - yyresult = 2; - /* Fall through. */ -#endif - -yyreturn: - if (yychar != YYEMPTY) - { - /* Make sure we have latest lookahead translation. See comments at - user semantic actions for why this is necessary. */ - yytoken = YYTRANSLATE (yychar); - yydestruct ("Cleanup: discarding lookahead", - yytoken, &yylval); - } - /* Do not reclaim the symbols of the rule which action triggered - this YYABORT or YYACCEPT. */ - YYPOPSTACK (yylen); - YY_STACK_PRINT (yyss, yyssp); - while (yyssp != yyss) - { - yydestruct ("Cleanup: popping", - yystos[*yyssp], yyvsp); - YYPOPSTACK (1); - } -#ifndef yyoverflow - if (yyss != yyssa) - YYSTACK_FREE (yyss); -#endif -#if YYERROR_VERBOSE - if (yymsg != yymsgbuf) - YYSTACK_FREE (yymsg); -#endif - /* Make sure YYID is used. */ - return YYID (yyresult); -} - - - -/* Line 2067 of yacc.c */ -#line 1236 "util/configparser.y" - - -/* parse helper routines could be here */ - diff --git a/usr.sbin/unbound/util/configparser.h b/usr.sbin/unbound/util/configparser.h deleted file mode 100644 index fc3bffad97b..00000000000 --- a/usr.sbin/unbound/util/configparser.h +++ /dev/null @@ -1,314 +0,0 @@ -/* A Bison parser, made by GNU Bison 2.5. */ - -/* Bison interface for Yacc-like parsers in C - - Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -/* As a special exception, you may create a larger work that contains - part or all of the Bison parser skeleton and distribute that work - under terms of your choice, so long as that work isn't itself a - parser generator using the skeleton or a modified version thereof - as a parser skeleton. Alternatively, if you modify or redistribute - the parser skeleton itself, you may (at your option) remove this - special exception, which will cause the skeleton and the resulting - Bison output files to be licensed under the GNU General Public - License without this special exception. - - This special exception was added by the Free Software Foundation in - version 2.2 of Bison. */ - - -/* Tokens. */ -#ifndef YYTOKENTYPE -# define YYTOKENTYPE - /* Put the tokens into the symbol table, so that GDB and other debuggers - know about them. */ - enum yytokentype { - SPACE = 258, - LETTER = 259, - NEWLINE = 260, - COMMENT = 261, - COLON = 262, - ANY = 263, - ZONESTR = 264, - STRING_ARG = 265, - VAR_SERVER = 266, - VAR_VERBOSITY = 267, - VAR_NUM_THREADS = 268, - VAR_PORT = 269, - VAR_OUTGOING_RANGE = 270, - VAR_INTERFACE = 271, - VAR_DO_IP4 = 272, - VAR_DO_IP6 = 273, - VAR_DO_UDP = 274, - VAR_DO_TCP = 275, - VAR_CHROOT = 276, - VAR_USERNAME = 277, - VAR_DIRECTORY = 278, - VAR_LOGFILE = 279, - VAR_PIDFILE = 280, - VAR_MSG_CACHE_SIZE = 281, - VAR_MSG_CACHE_SLABS = 282, - VAR_NUM_QUERIES_PER_THREAD = 283, - VAR_RRSET_CACHE_SIZE = 284, - VAR_RRSET_CACHE_SLABS = 285, - VAR_OUTGOING_NUM_TCP = 286, - VAR_INFRA_HOST_TTL = 287, - VAR_INFRA_LAME_TTL = 288, - VAR_INFRA_CACHE_SLABS = 289, - VAR_INFRA_CACHE_NUMHOSTS = 290, - VAR_INFRA_CACHE_LAME_SIZE = 291, - VAR_NAME = 292, - VAR_STUB_ZONE = 293, - VAR_STUB_HOST = 294, - VAR_STUB_ADDR = 295, - VAR_TARGET_FETCH_POLICY = 296, - VAR_HARDEN_SHORT_BUFSIZE = 297, - VAR_HARDEN_LARGE_QUERIES = 298, - VAR_FORWARD_ZONE = 299, - VAR_FORWARD_HOST = 300, - VAR_FORWARD_ADDR = 301, - VAR_DO_NOT_QUERY_ADDRESS = 302, - VAR_HIDE_IDENTITY = 303, - VAR_HIDE_VERSION = 304, - VAR_IDENTITY = 305, - VAR_VERSION = 306, - VAR_HARDEN_GLUE = 307, - VAR_MODULE_CONF = 308, - VAR_TRUST_ANCHOR_FILE = 309, - VAR_TRUST_ANCHOR = 310, - VAR_VAL_OVERRIDE_DATE = 311, - VAR_BOGUS_TTL = 312, - VAR_VAL_CLEAN_ADDITIONAL = 313, - VAR_VAL_PERMISSIVE_MODE = 314, - VAR_INCOMING_NUM_TCP = 315, - VAR_MSG_BUFFER_SIZE = 316, - VAR_KEY_CACHE_SIZE = 317, - VAR_KEY_CACHE_SLABS = 318, - VAR_TRUSTED_KEYS_FILE = 319, - VAR_VAL_NSEC3_KEYSIZE_ITERATIONS = 320, - VAR_USE_SYSLOG = 321, - VAR_OUTGOING_INTERFACE = 322, - VAR_ROOT_HINTS = 323, - VAR_DO_NOT_QUERY_LOCALHOST = 324, - VAR_CACHE_MAX_TTL = 325, - VAR_HARDEN_DNSSEC_STRIPPED = 326, - VAR_ACCESS_CONTROL = 327, - VAR_LOCAL_ZONE = 328, - VAR_LOCAL_DATA = 329, - VAR_INTERFACE_AUTOMATIC = 330, - VAR_STATISTICS_INTERVAL = 331, - VAR_DO_DAEMONIZE = 332, - VAR_USE_CAPS_FOR_ID = 333, - VAR_STATISTICS_CUMULATIVE = 334, - VAR_OUTGOING_PORT_PERMIT = 335, - VAR_OUTGOING_PORT_AVOID = 336, - VAR_DLV_ANCHOR_FILE = 337, - VAR_DLV_ANCHOR = 338, - VAR_NEG_CACHE_SIZE = 339, - VAR_HARDEN_REFERRAL_PATH = 340, - VAR_PRIVATE_ADDRESS = 341, - VAR_PRIVATE_DOMAIN = 342, - VAR_REMOTE_CONTROL = 343, - VAR_CONTROL_ENABLE = 344, - VAR_CONTROL_INTERFACE = 345, - VAR_CONTROL_PORT = 346, - VAR_SERVER_KEY_FILE = 347, - VAR_SERVER_CERT_FILE = 348, - VAR_CONTROL_KEY_FILE = 349, - VAR_CONTROL_CERT_FILE = 350, - VAR_EXTENDED_STATISTICS = 351, - VAR_LOCAL_DATA_PTR = 352, - VAR_JOSTLE_TIMEOUT = 353, - VAR_STUB_PRIME = 354, - VAR_UNWANTED_REPLY_THRESHOLD = 355, - VAR_LOG_TIME_ASCII = 356, - VAR_DOMAIN_INSECURE = 357, - VAR_PYTHON = 358, - VAR_PYTHON_SCRIPT = 359, - VAR_VAL_SIG_SKEW_MIN = 360, - VAR_VAL_SIG_SKEW_MAX = 361, - VAR_CACHE_MIN_TTL = 362, - VAR_VAL_LOG_LEVEL = 363, - VAR_AUTO_TRUST_ANCHOR_FILE = 364, - VAR_KEEP_MISSING = 365, - VAR_ADD_HOLDDOWN = 366, - VAR_DEL_HOLDDOWN = 367, - VAR_SO_RCVBUF = 368, - VAR_EDNS_BUFFER_SIZE = 369, - VAR_PREFETCH = 370, - VAR_PREFETCH_KEY = 371, - VAR_SO_SNDBUF = 372, - VAR_HARDEN_BELOW_NXDOMAIN = 373, - VAR_IGNORE_CD_FLAG = 374, - VAR_LOG_QUERIES = 375, - VAR_TCP_UPSTREAM = 376, - VAR_SSL_UPSTREAM = 377, - VAR_SSL_SERVICE_KEY = 378, - VAR_SSL_SERVICE_PEM = 379, - VAR_SSL_PORT = 380 - }; -#endif -/* Tokens. */ -#define SPACE 258 -#define LETTER 259 -#define NEWLINE 260 -#define COMMENT 261 -#define COLON 262 -#define ANY 263 -#define ZONESTR 264 -#define STRING_ARG 265 -#define VAR_SERVER 266 -#define VAR_VERBOSITY 267 -#define VAR_NUM_THREADS 268 -#define VAR_PORT 269 -#define VAR_OUTGOING_RANGE 270 -#define VAR_INTERFACE 271 -#define VAR_DO_IP4 272 -#define VAR_DO_IP6 273 -#define VAR_DO_UDP 274 -#define VAR_DO_TCP 275 -#define VAR_CHROOT 276 -#define VAR_USERNAME 277 -#define VAR_DIRECTORY 278 -#define VAR_LOGFILE 279 -#define VAR_PIDFILE 280 -#define VAR_MSG_CACHE_SIZE 281 -#define VAR_MSG_CACHE_SLABS 282 -#define VAR_NUM_QUERIES_PER_THREAD 283 -#define VAR_RRSET_CACHE_SIZE 284 -#define VAR_RRSET_CACHE_SLABS 285 -#define VAR_OUTGOING_NUM_TCP 286 -#define VAR_INFRA_HOST_TTL 287 -#define VAR_INFRA_LAME_TTL 288 -#define VAR_INFRA_CACHE_SLABS 289 -#define VAR_INFRA_CACHE_NUMHOSTS 290 -#define VAR_INFRA_CACHE_LAME_SIZE 291 -#define VAR_NAME 292 -#define VAR_STUB_ZONE 293 -#define VAR_STUB_HOST 294 -#define VAR_STUB_ADDR 295 -#define VAR_TARGET_FETCH_POLICY 296 -#define VAR_HARDEN_SHORT_BUFSIZE 297 -#define VAR_HARDEN_LARGE_QUERIES 298 -#define VAR_FORWARD_ZONE 299 -#define VAR_FORWARD_HOST 300 -#define VAR_FORWARD_ADDR 301 -#define VAR_DO_NOT_QUERY_ADDRESS 302 -#define VAR_HIDE_IDENTITY 303 -#define VAR_HIDE_VERSION 304 -#define VAR_IDENTITY 305 -#define VAR_VERSION 306 -#define VAR_HARDEN_GLUE 307 -#define VAR_MODULE_CONF 308 -#define VAR_TRUST_ANCHOR_FILE 309 -#define VAR_TRUST_ANCHOR 310 -#define VAR_VAL_OVERRIDE_DATE 311 -#define VAR_BOGUS_TTL 312 -#define VAR_VAL_CLEAN_ADDITIONAL 313 -#define VAR_VAL_PERMISSIVE_MODE 314 -#define VAR_INCOMING_NUM_TCP 315 -#define VAR_MSG_BUFFER_SIZE 316 -#define VAR_KEY_CACHE_SIZE 317 -#define VAR_KEY_CACHE_SLABS 318 -#define VAR_TRUSTED_KEYS_FILE 319 -#define VAR_VAL_NSEC3_KEYSIZE_ITERATIONS 320 -#define VAR_USE_SYSLOG 321 -#define VAR_OUTGOING_INTERFACE 322 -#define VAR_ROOT_HINTS 323 -#define VAR_DO_NOT_QUERY_LOCALHOST 324 -#define VAR_CACHE_MAX_TTL 325 -#define VAR_HARDEN_DNSSEC_STRIPPED 326 -#define VAR_ACCESS_CONTROL 327 -#define VAR_LOCAL_ZONE 328 -#define VAR_LOCAL_DATA 329 -#define VAR_INTERFACE_AUTOMATIC 330 -#define VAR_STATISTICS_INTERVAL 331 -#define VAR_DO_DAEMONIZE 332 -#define VAR_USE_CAPS_FOR_ID 333 -#define VAR_STATISTICS_CUMULATIVE 334 -#define VAR_OUTGOING_PORT_PERMIT 335 -#define VAR_OUTGOING_PORT_AVOID 336 -#define VAR_DLV_ANCHOR_FILE 337 -#define VAR_DLV_ANCHOR 338 -#define VAR_NEG_CACHE_SIZE 339 -#define VAR_HARDEN_REFERRAL_PATH 340 -#define VAR_PRIVATE_ADDRESS 341 -#define VAR_PRIVATE_DOMAIN 342 -#define VAR_REMOTE_CONTROL 343 -#define VAR_CONTROL_ENABLE 344 -#define VAR_CONTROL_INTERFACE 345 -#define VAR_CONTROL_PORT 346 -#define VAR_SERVER_KEY_FILE 347 -#define VAR_SERVER_CERT_FILE 348 -#define VAR_CONTROL_KEY_FILE 349 -#define VAR_CONTROL_CERT_FILE 350 -#define VAR_EXTENDED_STATISTICS 351 -#define VAR_LOCAL_DATA_PTR 352 -#define VAR_JOSTLE_TIMEOUT 353 -#define VAR_STUB_PRIME 354 -#define VAR_UNWANTED_REPLY_THRESHOLD 355 -#define VAR_LOG_TIME_ASCII 356 -#define VAR_DOMAIN_INSECURE 357 -#define VAR_PYTHON 358 -#define VAR_PYTHON_SCRIPT 359 -#define VAR_VAL_SIG_SKEW_MIN 360 -#define VAR_VAL_SIG_SKEW_MAX 361 -#define VAR_CACHE_MIN_TTL 362 -#define VAR_VAL_LOG_LEVEL 363 -#define VAR_AUTO_TRUST_ANCHOR_FILE 364 -#define VAR_KEEP_MISSING 365 -#define VAR_ADD_HOLDDOWN 366 -#define VAR_DEL_HOLDDOWN 367 -#define VAR_SO_RCVBUF 368 -#define VAR_EDNS_BUFFER_SIZE 369 -#define VAR_PREFETCH 370 -#define VAR_PREFETCH_KEY 371 -#define VAR_SO_SNDBUF 372 -#define VAR_HARDEN_BELOW_NXDOMAIN 373 -#define VAR_IGNORE_CD_FLAG 374 -#define VAR_LOG_QUERIES 375 -#define VAR_TCP_UPSTREAM 376 -#define VAR_SSL_UPSTREAM 377 -#define VAR_SSL_SERVICE_KEY 378 -#define VAR_SSL_SERVICE_PEM 379 -#define VAR_SSL_PORT 380 - - - - -#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE -{ - -/* Line 2068 of yacc.c */ -#line 64 "util/configparser.y" - - char* str; - - - -/* Line 2068 of yacc.c */ -#line 306 "util/configparser.h" -} YYSTYPE; -# define YYSTYPE_IS_TRIVIAL 1 -# define yystype YYSTYPE /* obsolescent; will be withdrawn */ -# define YYSTYPE_IS_DECLARED 1 -#endif - -extern YYSTYPE yylval; - - |