Commit eb68451c authored by Francis Dupont's avatar Francis Dupont

trac5036: regen

parent 7b0d7c25
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#define FLEX_SCANNER #define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 6 #define YY_FLEX_MINOR_VERSION 6
#define YY_FLEX_SUBMINOR_VERSION 0 #define YY_FLEX_SUBMINOR_VERSION 1
#if YY_FLEX_SUBMINOR_VERSION > 0 #if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA #define FLEX_BETA
#endif #endif
...@@ -136,25 +136,13 @@ typedef unsigned int flex_uint32_t; ...@@ -136,25 +136,13 @@ typedef unsigned int flex_uint32_t;
/* %if-c++-only */ /* %if-c++-only */
/* %endif */ /* %endif */
#ifdef __cplusplus /* TODO: this is always defined, so inline it */
/* 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 #define yyconst const
#if defined(__GNUC__) && __GNUC__ >= 3
#define yynoreturn __attribute__((__noreturn__))
#else #else
#define yyconst #define yynoreturn
#endif #endif
/* %not-for-header */ /* %not-for-header */
...@@ -229,7 +217,7 @@ typedef size_t yy_size_t; ...@@ -229,7 +217,7 @@ typedef size_t yy_size_t;
#endif #endif
/* %if-not-reentrant */ /* %if-not-reentrant */
extern yy_size_t parser6_leng; extern int parser6_leng;
/* %endif */ /* %endif */
/* %if-c-only */ /* %if-c-only */
...@@ -278,7 +266,7 @@ struct yy_buffer_state ...@@ -278,7 +266,7 @@ struct yy_buffer_state
/* Size of input buffer in bytes, not including room for EOB /* Size of input buffer in bytes, not including room for EOB
* characters. * characters.
*/ */
yy_size_t yy_buf_size; int yy_buf_size;
/* Number of characters read into yy_ch_buf, not including EOB /* Number of characters read into yy_ch_buf, not including EOB
* characters. * characters.
...@@ -339,7 +327,7 @@ struct yy_buffer_state ...@@ -339,7 +327,7 @@ struct yy_buffer_state
/* Stack of input buffers. */ /* Stack of input buffers. */
static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ 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 size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */
/* %endif */ /* %endif */
/* %ok-for-header */ /* %ok-for-header */
...@@ -368,10 +356,10 @@ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ ...@@ -368,10 +356,10 @@ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
/* yy_hold_char holds the character lost when parser6_text is formed. */ /* yy_hold_char holds the character lost when parser6_text is formed. */
static char yy_hold_char; static char yy_hold_char;
static int yy_n_chars; /* number of characters read into yy_ch_buf */ static int yy_n_chars; /* number of characters read into yy_ch_buf */
yy_size_t parser6_leng; int parser6_leng;
/* Points to current character in buffer. */ /* Points to current character in buffer. */
static char *yy_c_buf_p = (char *) 0; static char *yy_c_buf_p = NULL;
static int yy_init = 0; /* whether we need to initialize */ static int yy_init = 0; /* whether we need to initialize */
static int yy_start = 0; /* start state number */ static int yy_start = 0; /* start state number */
...@@ -399,7 +387,7 @@ static void parser6__init_buffer (YY_BUFFER_STATE b,FILE *file ); ...@@ -399,7 +387,7 @@ static void parser6__init_buffer (YY_BUFFER_STATE b,FILE *file );
YY_BUFFER_STATE parser6__scan_buffer (char *base,yy_size_t size ); YY_BUFFER_STATE parser6__scan_buffer (char *base,yy_size_t size );
YY_BUFFER_STATE parser6__scan_string (yyconst char *yy_str ); YY_BUFFER_STATE parser6__scan_string (yyconst char *yy_str );
YY_BUFFER_STATE parser6__scan_bytes (yyconst char *bytes,yy_size_t len ); YY_BUFFER_STATE parser6__scan_bytes (yyconst char *bytes,int len );
/* %endif */ /* %endif */
...@@ -441,7 +429,7 @@ void parser6_free (void * ); ...@@ -441,7 +429,7 @@ void parser6_free (void * );
typedef unsigned char YY_CHAR; typedef unsigned char YY_CHAR;
FILE *parser6_in = (FILE *) 0, *parser6_out = (FILE *) 0; FILE *parser6_in = NULL, *parser6_out = NULL;
typedef int yy_state_type; typedef int yy_state_type;
...@@ -462,10 +450,7 @@ extern char *parser6_text; ...@@ -462,10 +450,7 @@ extern char *parser6_text;
static yy_state_type yy_get_previous_state (void ); static yy_state_type yy_get_previous_state (void );
static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
static int yy_get_next_buffer (void ); static int yy_get_next_buffer (void );
#if defined(__GNUC__) && __GNUC__ >= 3 static void yynoreturn yy_fatal_error (yyconst char* msg );
__attribute__((__noreturn__))
#endif
static void yy_fatal_error (yyconst char msg[] );
/* %endif */ /* %endif */
...@@ -475,7 +460,7 @@ static void yy_fatal_error (yyconst char msg[] ); ...@@ -475,7 +460,7 @@ static void yy_fatal_error (yyconst char msg[] );
#define YY_DO_BEFORE_ACTION \ #define YY_DO_BEFORE_ACTION \
(yytext_ptr) = yy_bp; \ (yytext_ptr) = yy_bp; \
/* %% [2.0] code to fiddle parser6_text and parser6_leng for yymore() goes here \ */\ /* %% [2.0] code to fiddle parser6_text and parser6_leng for yymore() goes here \ */\
parser6_leng = (size_t) (yy_cp - yy_bp); \ parser6_leng = (int) (yy_cp - yy_bp); \
(yy_hold_char) = *yy_cp; \ (yy_hold_char) = *yy_cp; \
*yy_cp = '\0'; \ *yy_cp = '\0'; \
/* %% [3.0] code to copy yytext_ptr to parser6_text[] goes here, if %array \ */\ /* %% [3.0] code to copy yytext_ptr to parser6_text[] goes here, if %array \ */\
...@@ -1130,7 +1115,7 @@ unsigned int comment_start_line = 0; ...@@ -1130,7 +1115,7 @@ unsigned int comment_start_line = 0;
// by moving it ahead by parser6_leng bytes. parser6_leng specifies the length of the // by moving it ahead by parser6_leng bytes. parser6_leng specifies the length of the
// currently matched token. // currently matched token.
#define YY_USER_ACTION driver.loc_.columns(parser6_leng); #define YY_USER_ACTION driver.loc_.columns(parser6_leng);
#line 1134 "dhcp6_lexer.cc" #line 1119 "dhcp6_lexer.cc"
#define INITIAL 0 #define INITIAL 0
#define COMMENT 1 #define COMMENT 1
...@@ -1186,7 +1171,7 @@ FILE *parser6_get_out (void ); ...@@ -1186,7 +1171,7 @@ FILE *parser6_get_out (void );
void parser6_set_out (FILE * _out_str ); void parser6_set_out (FILE * _out_str );
yy_size_t parser6_get_leng (void ); int parser6_get_leng (void );
char *parser6_get_text (void ); char *parser6_get_text (void );
...@@ -1260,7 +1245,7 @@ static int input (void ); ...@@ -1260,7 +1245,7 @@ static int input (void );
/* This used to be an fputs(), but since the string might contain NUL's, /* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite(). * we now use fwrite().
*/ */
#define ECHO do { if (fwrite( parser6_text, parser6_leng, 1, parser6_out )) {} } while (0) #define ECHO do { if (fwrite( parser6_text, (size_t) parser6_leng, 1, parser6_out )) {} } while (0)
/* %endif */ /* %endif */
/* %if-c++-only C++ definition */ /* %if-c++-only C++ definition */
/* %endif */ /* %endif */
...@@ -1288,7 +1273,7 @@ static int input (void ); ...@@ -1288,7 +1273,7 @@ static int input (void );
else \ else \
{ \ { \
errno=0; \ errno=0; \
while ( (result = fread(buf, 1, max_size, parser6_in))==0 && ferror(parser6_in)) \ while ( (result = (int) fread(buf, 1, max_size, parser6_in))==0 && ferror(parser6_in)) \
{ \ { \
if( errno != EINTR) \ if( errno != EINTR) \
{ \ { \
...@@ -1456,7 +1441,7 @@ YY_DECL ...@@ -1456,7 +1441,7 @@ YY_DECL
} }
#line 1460 "dhcp6_lexer.cc" #line 1445 "dhcp6_lexer.cc"
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
{ {
...@@ -1488,7 +1473,7 @@ yy_match: ...@@ -1488,7 +1473,7 @@ yy_match:
if ( yy_current_state >= 759 ) if ( yy_current_state >= 759 )
yy_c = yy_meta[(unsigned int) yy_c]; yy_c = yy_meta[(unsigned int) yy_c];
} }
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c];
++yy_cp; ++yy_cp;
} }
while ( yy_current_state != 758 ); while ( yy_current_state != 758 );
...@@ -2810,7 +2795,7 @@ YY_RULE_SETUP ...@@ -2810,7 +2795,7 @@ YY_RULE_SETUP
#line 1069 "dhcp6_lexer.ll" #line 1069 "dhcp6_lexer.ll"
ECHO; ECHO;
YY_BREAK YY_BREAK
#line 2814 "dhcp6_lexer.cc" #line 2799 "dhcp6_lexer.cc"
case YY_END_OF_BUFFER: case YY_END_OF_BUFFER:
{ {
...@@ -3013,7 +2998,7 @@ static int yy_get_next_buffer (void) ...@@ -3013,7 +2998,7 @@ static int yy_get_next_buffer (void)
else else
{ {
yy_size_t num_to_read = int num_to_read =
YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
while ( num_to_read <= 0 ) while ( num_to_read <= 0 )
...@@ -3027,7 +3012,7 @@ static int yy_get_next_buffer (void) ...@@ -3027,7 +3012,7 @@ static int yy_get_next_buffer (void)
if ( b->yy_is_our_buffer ) if ( b->yy_is_our_buffer )
{ {
yy_size_t new_size = b->yy_buf_size * 2; int new_size = b->yy_buf_size * 2;
if ( new_size <= 0 ) if ( new_size <= 0 )
b->yy_buf_size += b->yy_buf_size / 8; b->yy_buf_size += b->yy_buf_size / 8;
...@@ -3040,7 +3025,7 @@ static int yy_get_next_buffer (void) ...@@ -3040,7 +3025,7 @@ static int yy_get_next_buffer (void)
} }
else else
/* Can't grow it, we don't own it. */ /* Can't grow it, we don't own it. */
b->yy_ch_buf = 0; b->yy_ch_buf = NULL;
if ( ! b->yy_ch_buf ) if ( ! b->yy_ch_buf )
YY_FATAL_ERROR( YY_FATAL_ERROR(
...@@ -3130,7 +3115,7 @@ static int yy_get_next_buffer (void) ...@@ -3130,7 +3115,7 @@ static int yy_get_next_buffer (void)
if ( yy_current_state >= 759 ) if ( yy_current_state >= 759 )
yy_c = yy_meta[(unsigned int) yy_c]; yy_c = yy_meta[(unsigned int) yy_c];
} }
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c];
} }
return yy_current_state; return yy_current_state;
...@@ -3163,7 +3148,7 @@ static int yy_get_next_buffer (void) ...@@ -3163,7 +3148,7 @@ static int yy_get_next_buffer (void)
if ( yy_current_state >= 759 ) if ( yy_current_state >= 759 )
yy_c = yy_meta[(unsigned int) yy_c]; yy_c = yy_meta[(unsigned int) yy_c];
} }
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c];
yy_is_jam = (yy_current_state == 758); yy_is_jam = (yy_current_state == 758);
return yy_is_jam ? 0 : yy_current_state; return yy_is_jam ? 0 : yy_current_state;
...@@ -3203,7 +3188,7 @@ static int yy_get_next_buffer (void) ...@@ -3203,7 +3188,7 @@ static int yy_get_next_buffer (void)
else else
{ /* need more input */ { /* need more input */
yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); int offset = (yy_c_buf_p) - (yytext_ptr);
++(yy_c_buf_p); ++(yy_c_buf_p);
switch ( yy_get_next_buffer( ) ) switch ( yy_get_next_buffer( ) )
...@@ -3227,7 +3212,7 @@ static int yy_get_next_buffer (void) ...@@ -3227,7 +3212,7 @@ static int yy_get_next_buffer (void)
case EOB_ACT_END_OF_FILE: case EOB_ACT_END_OF_FILE:
{ {
if ( parser6_wrap( ) ) if ( parser6_wrap( ) )
return EOF; return 0;
if ( ! (yy_did_buffer_switch_on_eof) ) if ( ! (yy_did_buffer_switch_on_eof) )
YY_NEW_FILE; YY_NEW_FILE;
...@@ -3543,7 +3528,7 @@ static void parser6_ensure_buffer_stack (void) ...@@ -3543,7 +3528,7 @@ static void parser6_ensure_buffer_stack (void)
/* %if-c++-only */ /* %if-c++-only */
/* %endif */ /* %endif */
{ {
yy_size_t num_to_alloc; int num_to_alloc;
if (!(yy_buffer_stack)) { if (!(yy_buffer_stack)) {
...@@ -3551,7 +3536,7 @@ static void parser6_ensure_buffer_stack (void) ...@@ -3551,7 +3536,7 @@ static void parser6_ensure_buffer_stack (void)
* scanner will even need a stack. We use 2 instead of 1 to avoid an * scanner will even need a stack. We use 2 instead of 1 to avoid an
* immediate realloc on the next call. * immediate realloc on the next call.
*/ */
num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
(yy_buffer_stack) = (struct yy_buffer_state**)parser6_alloc (yy_buffer_stack) = (struct yy_buffer_state**)parser6_alloc
(num_to_alloc * sizeof(struct yy_buffer_state*) (num_to_alloc * sizeof(struct yy_buffer_state*)
); );
...@@ -3600,7 +3585,7 @@ YY_BUFFER_STATE parser6__scan_buffer (char * base, yy_size_t size ) ...@@ -3600,7 +3585,7 @@ YY_BUFFER_STATE parser6__scan_buffer (char * base, yy_size_t size )
base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-2] != YY_END_OF_BUFFER_CHAR ||
base[size-1] != YY_END_OF_BUFFER_CHAR ) base[size-1] != YY_END_OF_BUFFER_CHAR )
/* They forgot to leave room for the EOB's. */ /* They forgot to leave room for the EOB's. */
return 0; return NULL;
b = (YY_BUFFER_STATE) parser6_alloc(sizeof( struct yy_buffer_state ) ); b = (YY_BUFFER_STATE) parser6_alloc(sizeof( struct yy_buffer_state ) );
if ( ! b ) if ( ! b )
...@@ -3609,7 +3594,7 @@ YY_BUFFER_STATE parser6__scan_buffer (char * base, yy_size_t size ) ...@@ -3609,7 +3594,7 @@ YY_BUFFER_STATE parser6__scan_buffer (char * base, yy_size_t size )
b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
b->yy_buf_pos = b->yy_ch_buf = base; b->yy_buf_pos = b->yy_ch_buf = base;
b->yy_is_our_buffer = 0; b->yy_is_our_buffer = 0;
b->yy_input_file = 0; b->yy_input_file = NULL;
b->yy_n_chars = b->yy_buf_size; b->yy_n_chars = b->yy_buf_size;
b->yy_is_interactive = 0; b->yy_is_interactive = 0;
b->yy_at_bol = 1; b->yy_at_bol = 1;
...@@ -3634,7 +3619,7 @@ YY_BUFFER_STATE parser6__scan_buffer (char * base, yy_size_t size ) ...@@ -3634,7 +3619,7 @@ YY_BUFFER_STATE parser6__scan_buffer (char * base, yy_size_t size )
YY_BUFFER_STATE parser6__scan_string (yyconst char * yystr ) YY_BUFFER_STATE parser6__scan_string (yyconst char * yystr )
{ {
return parser6__scan_bytes(yystr,strlen(yystr) ); return parser6__scan_bytes(yystr,(int) strlen(yystr) );
} }
/* %endif */ /* %endif */
...@@ -3646,7 +3631,7 @@ YY_BUFFER_STATE parser6__scan_string (yyconst char * yystr ) ...@@ -3646,7 +3631,7 @@ YY_BUFFER_STATE parser6__scan_string (yyconst char * yystr )
* *
* @return the newly allocated buffer state object. * @return the newly allocated buffer state object.
*/ */
YY_BUFFER_STATE parser6__scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) YY_BUFFER_STATE parser6__scan_bytes (yyconst char * yybytes, int _yybytes_len )
{ {
YY_BUFFER_STATE b; YY_BUFFER_STATE b;
char *buf; char *buf;
...@@ -3654,7 +3639,7 @@ YY_BUFFER_STATE parser6__scan_bytes (yyconst char * yybytes, yy_size_t _yybyte ...@@ -3654,7 +3639,7 @@ YY_BUFFER_STATE parser6__scan_bytes (yyconst char * yybytes, yy_size_t _yybyte
yy_size_t i; yy_size_t i;
/* Get memory for full buffer, including space for trailing EOB's. */ /* Get memory for full buffer, including space for trailing EOB's. */
n = _yybytes_len + 2; n = (yy_size_t) _yybytes_len + 2;
buf = (char *) parser6_alloc(n ); buf = (char *) parser6_alloc(n );
if ( ! buf ) if ( ! buf )
YY_FATAL_ERROR( "out of dynamic memory in parser6__scan_bytes()" ); YY_FATAL_ERROR( "out of dynamic memory in parser6__scan_bytes()" );
...@@ -3682,7 +3667,7 @@ YY_BUFFER_STATE parser6__scan_bytes (yyconst char * yybytes, yy_size_t _yybyte ...@@ -3682,7 +3667,7 @@ YY_BUFFER_STATE parser6__scan_bytes (yyconst char * yybytes, yy_size_t _yybyte
#endif #endif
/* %if-c-only */ /* %if-c-only */
static void yy_fatal_error (yyconst char* msg ) static void yynoreturn yy_fatal_error (yyconst char* msg )
{ {
(void) fprintf( stderr, "%s\n", msg ); (void) fprintf( stderr, "%s\n", msg );
exit( YY_EXIT_FAILURE ); exit( YY_EXIT_FAILURE );
...@@ -3742,7 +3727,7 @@ FILE *parser6_get_out (void) ...@@ -3742,7 +3727,7 @@ FILE *parser6_get_out (void)
/** Get the length of the current token. /** Get the length of the current token.
* *
*/ */
yy_size_t parser6_get_leng (void) int parser6_get_leng (void)
{ {
return parser6_leng; return parser6_leng;
} }
...@@ -3809,10 +3794,10 @@ static int yy_init_globals (void) ...@@ -3809,10 +3794,10 @@ static int yy_init_globals (void)
* This function is called from parser6_lex_destroy(), so don't allocate here. * This function is called from parser6_lex_destroy(), so don't allocate here.
*/ */
(yy_buffer_stack) = 0; (yy_buffer_stack) = NULL;
(yy_buffer_stack_top) = 0; (yy_buffer_stack_top) = 0;
(yy_buffer_stack_max) = 0; (yy_buffer_stack_max) = 0;
(yy_c_buf_p) = (char *) 0; (yy_c_buf_p) = NULL;
(yy_init) = 0; (yy_init) = 0;
(yy_start) = 0; (yy_start) = 0;
...@@ -3821,8 +3806,8 @@ static int yy_init_globals (void) ...@@ -3821,8 +3806,8 @@ static int yy_init_globals (void)
parser6_in = stdin; parser6_in = stdin;
parser6_out = stdout; parser6_out = stdout;
#else #else
parser6_in = (FILE *) 0; parser6_in = NULL;
parser6_out = (FILE *) 0; parser6_out = NULL;
#endif #endif
/* For future reference: Set errno on error, since we are called by /* For future reference: Set errno on error, since we are called by
...@@ -3885,7 +3870,7 @@ static int yy_flex_strlen (yyconst char * s ) ...@@ -3885,7 +3870,7 @@ static int yy_flex_strlen (yyconst char * s )
void *parser6_alloc (yy_size_t size ) void *parser6_alloc (yy_size_t size )
{ {
return (void *) malloc( size ); return malloc(size);
} }
void *parser6_realloc (void * ptr, yy_size_t size ) void *parser6_realloc (void * ptr, yy_size_t size )
...@@ -3898,7 +3883,7 @@ void *parser6_realloc (void * ptr, yy_size_t size ) ...@@ -3898,7 +3883,7 @@ void *parser6_realloc (void * ptr, yy_size_t size )
* any pointer type to void*, and deal with argument conversions * any pointer type to void*, and deal with argument conversions
* as though doing an assignment. * as though doing an assignment.
*/ */
return (void *) realloc( (char *) ptr, size ); return realloc(ptr, size);
} }
void parser6_free (void * ptr ) void parser6_free (void * ptr )
......
...@@ -1310,16 +1310,16 @@ namespace isc { namespace dhcp { ...@@ -1310,16 +1310,16 @@ namespace isc { namespace dhcp {
#line 1311 "dhcp6_parser.cc" // lalr1.cc:859 #line 1311 "dhcp6_parser.cc" // lalr1.cc:859
break; break;
case 155: case 156:
#line 628 "dhcp6_parser.yy" // lalr1.cc:859 #line 630 "dhcp6_parser.yy" // lalr1.cc:859
{ {
ctx.enter(ctx.NO_KEYWORD); ctx.enter(ctx.NO_KEYWORD);
} }
#line 1319 "dhcp6_parser.cc" // lalr1.cc:859 #line 1319 "dhcp6_parser.cc" // lalr1.cc:859
break; break;
case 156: case 157:
#line 630 "dhcp6_parser.yy" // lalr1.cc:859 #line 632 "dhcp6_parser.yy" // lalr1.cc:859
{ {
ElementPtr lib(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location))); ElementPtr lib(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
ctx.stack_.back()->set("library", lib); ctx.stack_.back()->set("library", lib);
...@@ -1328,16 +1328,16 @@ namespace isc { namespace dhcp { ...@@ -1328,16 +1328,16 @@ namespace isc { namespace dhcp {
#line 1329 "dhcp6_parser.cc" // lalr1.cc:859 #line 1329 "dhcp6_parser.cc" // lalr1.cc:859
break; break;
case 157: case 158:
#line 636 "dhcp6_parser.yy" // lalr1.cc:859 #line 638 "dhcp6_parser.yy" // lalr1.cc:859
{ {
ctx.enter(ctx.NO_KEYWORD); ctx.enter(ctx.NO_KEYWORD);
} }
#line 1337 "dhcp6_parser.cc" // lalr1.cc:859 #line 1337 "dhcp6_parser.cc" // lalr1.cc:859
break; break;
case 158: case 159:
#line 638 "dhcp6_parser.yy" // lalr1.cc:859 #line 640 "dhcp6_parser.yy" // lalr1.cc:859
{ {
ctx.stack_.back()->set("parameters", yystack_[0].value.as< ElementPtr > ()); ctx.stack_.back()->set("parameters", yystack_[0].value.as< ElementPtr > ());
ctx.leave(); ctx.leave();
...@@ -1345,8 +1345,8 @@ namespace isc { namespace dhcp { ...@@ -1345,8 +1345,8 @@ namespace isc { namespace dhcp {
#line 1346 "dhcp6_parser.cc" // lalr1.cc:859 #line 1346 "dhcp6_parser.cc" // lalr1.cc:859
break; break;
case 159: case 160:
#line 644 "dhcp6_parser.yy" // lalr1.cc:859 #line 646 "dhcp6_parser.yy" // lalr1.cc:859
{ {
ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location))); ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
ctx.stack_.back()->set("expired-leases-processing", m); ctx.stack_.back()->set("expired-leases-processing", m);
...@@ -1356,8 +1356,8 @@ namespace isc { namespace dhcp { ...@@ -1356,8 +1356,8 @@ namespace isc { namespace dhcp {
#line 1357 "dhcp6_parser.cc" // lalr1.cc:859 #line 1357 "dhcp6_parser.cc" // lalr1.cc:859
break; break;
case 160: case 161:
#line 649 "dhcp6_parser.yy" // lalr1.cc:859 #line 651 "dhcp6_parser.yy" // lalr1.cc:859
{ {
ctx.stack_.pop_back(); ctx.stack_.pop_back();
ctx.leave(); ctx.leave();
...@@ -1365,8 +1365,8 @@ namespace isc { namespace dhcp { ...@@ -1365,8 +1365,8 @@ namespace isc { namespace dhcp {
#line 1366 "dhcp6_parser.cc" // lalr1.cc:859 #line 1366 "dhcp6_parser.cc" // lalr1.cc:859
break; break;
case 163: case 164:
#line 661 "dhcp6_parser.yy" // lalr1.cc:859 #line 663 "dhcp6_parser.yy" // lalr1.cc:859
{ {
ElementPtr value(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location))); ElementPtr value(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), value); ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), value);
...@@ -1374,8 +1374,8 @@ namespace isc { namespace dhcp { ...@@ -1374,8 +1374,8 @@ namespace isc { namespace dhcp {
#line 1375 "dhcp6_parser.cc" // lalr1.cc:859 #line 1375 "dhcp6_parser.cc" // lalr1.cc:859
break; break;
case 164: case 165:
#line 669 "dhcp6_parser.yy" // lalr1.cc:859 #line 671 "dhcp6_parser.yy" // lalr1.cc:859
{ {
ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location))); ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
ctx.stack_.back()->set("subnet6", l); ctx.stack_.back()->set("subnet6", l);
...@@ -1385,8 +1385,8 @@ namespace isc { namespace dhcp { ...@@ -1385,8 +1385,8 @@ namespace isc { namespace dhcp {
#line 1386 "dhcp6_parser.cc" // lalr1.cc:859 #line 1386 "dhcp6_parser.cc" // lalr1.cc:859
break; break;