]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1386] Regenerated parsers
authorThomas Markwalder <tmark@isc.org>
Wed, 21 Oct 2020 17:54:51 +0000 (13:54 -0400)
committerThomas Markwalder <tmark@isc.org>
Wed, 21 Oct 2020 18:19:53 +0000 (14:19 -0400)
Regenerated parsers for kea-dhcp4/6 for !976

src/bin/dhcp4/dhcp4_lexer.cc
src/bin/dhcp4/dhcp4_parser.cc
src/bin/dhcp4/dhcp4_parser.h
src/bin/dhcp4/location.hh
src/bin/dhcp4/position.hh
src/bin/dhcp4/stack.hh

src/bin/dhcp6/dhcp6_lexer.cc
src/bin/dhcp6/dhcp6_parser.cc
src/bin/dhcp6/dhcp6_parser.h
src/bin/dhcp6/location.hh
src/bin/dhcp6/position.hh
src/bin/dhcp6/stack.hh

12 files changed:
src/bin/dhcp4/dhcp4_lexer.cc
src/bin/dhcp4/dhcp4_parser.cc
src/bin/dhcp4/dhcp4_parser.h
src/bin/dhcp4/location.hh
src/bin/dhcp4/position.hh
src/bin/dhcp4/stack.hh
src/bin/dhcp6/dhcp6_lexer.cc
src/bin/dhcp6/dhcp6_parser.cc
src/bin/dhcp6/dhcp6_parser.h
src/bin/dhcp6/location.hh
src/bin/dhcp6/position.hh
src/bin/dhcp6/stack.hh

index 9669c1d3f3030e4cb92ecffdd519a18dfcec0b36..a28fb4a9f49c8c48f7fd4c54fb03b94591678f4c 100644 (file)
@@ -1,6 +1,6 @@
-#line 1 "dhcp4_lexer.cc"
+#line 2 "dhcp4_lexer.cc"
 
-#line 3 "dhcp4_lexer.cc"
+#line 4 "dhcp4_lexer.cc"
 
 #define  YY_INT_ALIGNED short int
 
@@ -1994,7 +1994,7 @@ using namespace isc::dhcp;
 
 /* To avoid the call to exit... oops! */
 #define YY_FATAL_ERROR(msg) isc::dhcp::Parser4Context::fatal(msg)
-#line 1997 "dhcp4_lexer.cc"
+#line 1998 "dhcp4_lexer.cc"
 /* noyywrap disables automatic rewinding for the next file to parse. Since we
    always parse only a single string, there's no need to do any wraps. And
    using yywrap requires linking with -lfl, which provides the default yywrap
@@ -2020,8 +2020,8 @@ using namespace isc::dhcp;
    by moving it ahead by yyleng bytes. yyleng specifies the length of the
    currently matched token. */
 #define YY_USER_ACTION  driver.loc_.columns(yyleng);
-#line 2023 "dhcp4_lexer.cc"
 #line 2024 "dhcp4_lexer.cc"
+#line 2025 "dhcp4_lexer.cc"
 
 #define INITIAL 0
 #define COMMENT 1
@@ -2349,7 +2349,7 @@ YY_DECL
     }
 
 
-#line 2352 "dhcp4_lexer.cc"
+#line 2353 "dhcp4_lexer.cc"
 
        while ( /*CONSTCOND*/1 )                /* loops until end-of-file is reached */
                {
@@ -5001,7 +5001,7 @@ YY_RULE_SETUP
 #line 2095 "dhcp4_lexer.ll"
 ECHO;
        YY_BREAK
-#line 5004 "dhcp4_lexer.cc"
+#line 5005 "dhcp4_lexer.cc"
 
        case YY_END_OF_BUFFER:
                {
index 65ca29f5e06e214e29edfda1a3f89afe011b61a5..372c8516e17ea5d9e87091a12c8c5367ed3766f7 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.0.4.
+// A Bison parser, made by GNU Bison 3.7.2.
 
 // Skeleton implementation for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2020 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
 // This special exception was added by the Free Software Foundation in
 // version 2.2 of Bison.
 
+// DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
+// especially those whose name start with YY_ or yy_.  They are
+// private implementation details that can be changed or removed.
+
+
 // Take the name prefix into account.
 #define yylex   parser4_lex
 
-// First part of user declarations.
-
-#line 39 "dhcp4_parser.cc" // lalr1.cc:404
 
-# ifndef YY_NULLPTR
-#  if defined __cplusplus && 201103L <= __cplusplus
-#   define YY_NULLPTR nullptr
-#  else
-#   define YY_NULLPTR 0
-#  endif
-# endif
 
 #include "dhcp4_parser.h"
 
-// User implementation prologue.
 
-#line 53 "dhcp4_parser.cc" // lalr1.cc:412
 // Unqualified %code blocks.
-#line 34 "dhcp4_parser.yy" // lalr1.cc:413
+#line 34 "dhcp4_parser.yy"
 
 #include <dhcp4/parser_context.h>
 
-#line 59 "dhcp4_parser.cc" // lalr1.cc:413
+#line 52 "dhcp4_parser.cc"
 
 
 #ifndef YY_
 # endif
 #endif
 
+
+// Whether we are compiled with exception support.
+#ifndef YY_EXCEPTIONS
+# if defined __GNUC__ && !defined __EXCEPTIONS
+#  define YY_EXCEPTIONS 0
+# else
+#  define YY_EXCEPTIONS 1
+# endif
+#endif
+
 #define YYRHSLOC(Rhs, K) ((Rhs)[K].location)
 /* 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
         {                                                               \
           (Current).begin = (Current).end = YYRHSLOC (Rhs, 0).end;      \
         }                                                               \
-    while (/*CONSTCOND*/ false)
+    while (false)
 # endif
 
 
-// Suppress unused-variable warnings by "using" E.
-#define YYUSE(E) ((void) (E))
-
 // Enable debugging if requested.
 #if PARSER4_DEBUG
 
     {                                           \
       *yycdebug_ << Title << ' ';               \
       yy_print_ (*yycdebug_, Symbol);           \
-      *yycdebug_ << std::endl;                  \
+      *yycdebug_ << '\n';                       \
     }                                           \
   } while (false)
 
 # define YY_STACK_PRINT()               \
   do {                                  \
     if (yydebug_)                       \
-      yystack_print_ ();                \
+      yy_stack_print_ ();                \
   } while (false)
 
 #else // !PARSER4_DEBUG
 
 # define YYCDEBUG if (false) std::cerr
-# define YY_SYMBOL_PRINT(Title, Symbol)  YYUSE(Symbol)
-# define YY_REDUCE_PRINT(Rule)           static_cast<void>(0)
-# define YY_STACK_PRINT()                static_cast<void>(0)
+# define YY_SYMBOL_PRINT(Title, Symbol)  YYUSE (Symbol)
+# define YY_REDUCE_PRINT(Rule)           static_cast<void> (0)
+# define YY_STACK_PRINT()                static_cast<void> (0)
 
 #endif // !PARSER4_DEBUG
 
 #define YYERROR         goto yyerrorlab
 #define YYRECOVERING()  (!!yyerrstatus_)
 
-#line 14 "dhcp4_parser.yy" // lalr1.cc:479
+#line 14 "dhcp4_parser.yy"
 namespace isc { namespace dhcp {
-#line 145 "dhcp4_parser.cc" // lalr1.cc:479
-
-  /* Return 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.  */
-  std::string
-  Dhcp4Parser::yytnamerr_ (const char *yystr)
-  {
-    if (*yystr == '"')
-      {
-        std::string yyr = "";
-        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:
-              yyr += *yyp;
-              break;
-
-            case '"':
-              return yyr;
-            }
-      do_not_strip_quotes: ;
-      }
-
-    return yystr;
-  }
-
+#line 145 "dhcp4_parser.cc"
 
   /// Build a parser object.
   Dhcp4Parser::Dhcp4Parser (isc::dhcp::Parser4Context& ctx_yyarg)
-    :
 #if PARSER4_DEBUG
-      yydebug_ (false),
+    : yydebug_ (false),
       yycdebug_ (&std::cerr),
+#else
+    :
 #endif
       ctx (ctx_yyarg)
   {}
@@ -194,32 +157,30 @@ namespace isc { namespace dhcp {
   Dhcp4Parser::~Dhcp4Parser ()
   {}
 
+  Dhcp4Parser::syntax_error::~syntax_error () YY_NOEXCEPT YY_NOTHROW
+  {}
 
   /*---------------.
-  | Symbol types.  |
+  | symbol kinds.  |
   `---------------*/
 
 
 
   // by_state.
-  inline
-  Dhcp4Parser::by_state::by_state ()
+  Dhcp4Parser::by_state::by_state () YY_NOEXCEPT
     : state (empty_state)
   {}
 
-  inline
-  Dhcp4Parser::by_state::by_state (const by_state& other)
-    : state (other.state)
+  Dhcp4Parser::by_state::by_state (const by_state& that) YY_NOEXCEPT
+    : state (that.state)
   {}
 
-  inline
   void
-  Dhcp4Parser::by_state::clear ()
+  Dhcp4Parser::by_state::clear () YY_NOEXCEPT
   {
     state = empty_state;
   }
 
-  inline
   void
   Dhcp4Parser::by_state::move (by_state& that)
   {
@@ -227,57 +188,94 @@ namespace isc { namespace dhcp {
     that.clear ();
   }
 
-  inline
-  Dhcp4Parser::by_state::by_state (state_type s)
+  Dhcp4Parser::by_state::by_state (state_type s) YY_NOEXCEPT
     : state (s)
   {}
 
-  inline
-  Dhcp4Parser::symbol_number_type
-  Dhcp4Parser::by_state::type_get () const
+  Dhcp4Parser::symbol_kind_type
+  Dhcp4Parser::by_state::kind () const YY_NOEXCEPT
   {
     if (state == empty_state)
-      return empty_symbol;
+      return symbol_kind::S_YYEMPTY;
     else
-      return yystos_[state];
+      return YY_CAST (symbol_kind_type, yystos_[+state]);
   }
 
-  inline
   Dhcp4Parser::stack_symbol_type::stack_symbol_type ()
   {}
 
+  Dhcp4Parser::stack_symbol_type::stack_symbol_type (YY_RVREF (stack_symbol_type) that)
+    : super_type (YY_MOVE (that.state), YY_MOVE (that.location))
+  {
+    switch (that.kind ())
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_socket_type: // socket_type
+      case symbol_kind::S_outbound_interface_value: // outbound_interface_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+        value.YY_MOVE_OR_COPY< ElementPtr > (YY_MOVE (that.value));
+        break;
+
+      case symbol_kind::S_BOOLEAN: // "boolean"
+        value.YY_MOVE_OR_COPY< bool > (YY_MOVE (that.value));
+        break;
+
+      case symbol_kind::S_FLOAT: // "floating point"
+        value.YY_MOVE_OR_COPY< double > (YY_MOVE (that.value));
+        break;
+
+      case symbol_kind::S_INTEGER: // "integer"
+        value.YY_MOVE_OR_COPY< int64_t > (YY_MOVE (that.value));
+        break;
+
+      case symbol_kind::S_STRING: // "constant string"
+        value.YY_MOVE_OR_COPY< std::string > (YY_MOVE (that.value));
+        break;
+
+      default:
+        break;
+    }
 
-  inline
-  Dhcp4Parser::stack_symbol_type::stack_symbol_type (state_type s, symbol_type& that)
-    : super_type (s, that.location)
+#if 201103L <= YY_CPLUSPLUS
+    // that is emptied.
+    that.state = empty_state;
+#endif
+  }
+
+  Dhcp4Parser::stack_symbol_type::stack_symbol_type (state_type s, YY_MOVE_REF (symbol_type) that)
+    : super_type (s, YY_MOVE (that.location))
   {
-      switch (that.type_get ())
-    {
-      case 210: // value
-      case 214: // map_value
-      case 255: // ddns_replace_client_name_value
-      case 280: // socket_type
-      case 283: // outbound_interface_value
-      case 305: // db_type
-      case 399: // hr_mode
-      case 554: // ncr_protocol_value
-        value.move< ElementPtr > (that.value);
+    switch (that.kind ())
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_socket_type: // socket_type
+      case symbol_kind::S_outbound_interface_value: // outbound_interface_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+        value.move< ElementPtr > (YY_MOVE (that.value));
         break;
 
-      case 194: // "boolean"
-        value.move< bool > (that.value);
+      case symbol_kind::S_BOOLEAN: // "boolean"
+        value.move< bool > (YY_MOVE (that.value));
         break;
 
-      case 193: // "floating point"
-        value.move< double > (that.value);
+      case symbol_kind::S_FLOAT: // "floating point"
+        value.move< double > (YY_MOVE (that.value));
         break;
 
-      case 192: // "integer"
-        value.move< int64_t > (that.value);
+      case symbol_kind::S_INTEGER: // "integer"
+        value.move< int64_t > (YY_MOVE (that.value));
         break;
 
-      case 191: // "constant string"
-        value.move< std::string > (that.value);
+      case symbol_kind::S_STRING: // "constant string"
+        value.move< std::string > (YY_MOVE (that.value));
         break;
 
       default:
@@ -285,40 +283,40 @@ namespace isc { namespace dhcp {
     }
 
     // that is emptied.
-    that.type = empty_symbol;
+    that.kind_ = symbol_kind::S_YYEMPTY;
   }
 
-  inline
+#if YY_CPLUSPLUS < 201103L
   Dhcp4Parser::stack_symbol_type&
   Dhcp4Parser::stack_symbol_type::operator= (const stack_symbol_type& that)
   {
     state = that.state;
-      switch (that.type_get ())
-    {
-      case 210: // value
-      case 214: // map_value
-      case 255: // ddns_replace_client_name_value
-      case 280: // socket_type
-      case 283: // outbound_interface_value
-      case 305: // db_type
-      case 399: // hr_mode
-      case 554: // ncr_protocol_value
+    switch (that.kind ())
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_socket_type: // socket_type
+      case symbol_kind::S_outbound_interface_value: // outbound_interface_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
         value.copy< ElementPtr > (that.value);
         break;
 
-      case 194: // "boolean"
+      case symbol_kind::S_BOOLEAN: // "boolean"
         value.copy< bool > (that.value);
         break;
 
-      case 193: // "floating point"
+      case symbol_kind::S_FLOAT: // "floating point"
         value.copy< double > (that.value);
         break;
 
-      case 192: // "integer"
+      case symbol_kind::S_INTEGER: // "integer"
         value.copy< int64_t > (that.value);
         break;
 
-      case 191: // "constant string"
+      case symbol_kind::S_STRING: // "constant string"
         value.copy< std::string > (that.value);
         break;
 
@@ -330,9 +328,51 @@ namespace isc { namespace dhcp {
     return *this;
   }
 
+  Dhcp4Parser::stack_symbol_type&
+  Dhcp4Parser::stack_symbol_type::operator= (stack_symbol_type& that)
+  {
+    state = that.state;
+    switch (that.kind ())
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_socket_type: // socket_type
+      case symbol_kind::S_outbound_interface_value: // outbound_interface_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+        value.move< ElementPtr > (that.value);
+        break;
+
+      case symbol_kind::S_BOOLEAN: // "boolean"
+        value.move< bool > (that.value);
+        break;
+
+      case symbol_kind::S_FLOAT: // "floating point"
+        value.move< double > (that.value);
+        break;
+
+      case symbol_kind::S_INTEGER: // "integer"
+        value.move< int64_t > (that.value);
+        break;
+
+      case symbol_kind::S_STRING: // "constant string"
+        value.move< std::string > (that.value);
+        break;
+
+      default:
+        break;
+    }
+
+    location = that.location;
+    // that is emptied.
+    that.state = empty_state;
+    return *this;
+  }
+#endif
 
   template <typename Base>
-  inline
   void
   Dhcp4Parser::yy_destroy_ (const char* yymsg, basic_symbol<Base>& yysym) const
   {
@@ -343,133 +383,121 @@ namespace isc { namespace dhcp {
 #if PARSER4_DEBUG
   template <typename Base>
   void
-  Dhcp4Parser::yy_print_ (std::ostream& yyo,
-                                     const basic_symbol<Base>& yysym) const
+  Dhcp4Parser::yy_print_ (std::ostream& yyo, const basic_symbol<Base>& yysym) const
   {
     std::ostream& yyoutput = yyo;
     YYUSE (yyoutput);
-    symbol_number_type yytype = yysym.type_get ();
-    // Avoid a (spurious) G++ 4.8 warning about "array subscript is
-    // below array bounds".
     if (yysym.empty ())
-      std::abort ();
-    yyo << (yytype < yyntokens_ ? "token" : "nterm")
-        << ' ' << yytname_[yytype] << " ("
-        << yysym.location << ": ";
-    switch (yytype)
-    {
-            case 191: // "constant string"
-
-#line 273 "dhcp4_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< std::string > (); }
-#line 366 "dhcp4_parser.cc" // lalr1.cc:636
+      yyo << "empty symbol";
+    else
+      {
+        symbol_kind_type yykind = yysym.kind ();
+        yyo << (yykind < YYNTOKENS ? "token" : "nterm")
+            << ' ' << yysym.name () << " ("
+            << yysym.location << ": ";
+        switch (yykind)
+    {
+      case symbol_kind::S_STRING: // "constant string"
+#line 273 "dhcp4_parser.yy"
+                 { yyoutput << yysym.value.template as < std::string > (); }
+#line 404 "dhcp4_parser.cc"
         break;
 
-      case 192: // "integer"
-
-#line 273 "dhcp4_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< int64_t > (); }
-#line 373 "dhcp4_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_INTEGER: // "integer"
+#line 273 "dhcp4_parser.yy"
+                 { yyoutput << yysym.value.template as < int64_t > (); }
+#line 410 "dhcp4_parser.cc"
         break;
 
-      case 193: // "floating point"
-
-#line 273 "dhcp4_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< double > (); }
-#line 380 "dhcp4_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_FLOAT: // "floating point"
+#line 273 "dhcp4_parser.yy"
+                 { yyoutput << yysym.value.template as < double > (); }
+#line 416 "dhcp4_parser.cc"
         break;
 
-      case 194: // "boolean"
-
-#line 273 "dhcp4_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< bool > (); }
-#line 387 "dhcp4_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_BOOLEAN: // "boolean"
+#line 273 "dhcp4_parser.yy"
+                 { yyoutput << yysym.value.template as < bool > (); }
+#line 422 "dhcp4_parser.cc"
         break;
 
-      case 210: // value
-
-#line 273 "dhcp4_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 394 "dhcp4_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_value: // value
+#line 273 "dhcp4_parser.yy"
+                 { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 428 "dhcp4_parser.cc"
         break;
 
-      case 214: // map_value
-
-#line 273 "dhcp4_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 401 "dhcp4_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_map_value: // map_value
+#line 273 "dhcp4_parser.yy"
+                 { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 434 "dhcp4_parser.cc"
         break;
 
-      case 255: // ddns_replace_client_name_value
-
-#line 273 "dhcp4_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 408 "dhcp4_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+#line 273 "dhcp4_parser.yy"
+                 { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 440 "dhcp4_parser.cc"
         break;
 
-      case 280: // socket_type
-
-#line 273 "dhcp4_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 415 "dhcp4_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_socket_type: // socket_type
+#line 273 "dhcp4_parser.yy"
+                 { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 446 "dhcp4_parser.cc"
         break;
 
-      case 283: // outbound_interface_value
-
-#line 273 "dhcp4_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 422 "dhcp4_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_outbound_interface_value: // outbound_interface_value
+#line 273 "dhcp4_parser.yy"
+                 { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 452 "dhcp4_parser.cc"
         break;
 
-      case 305: // db_type
-
-#line 273 "dhcp4_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 429 "dhcp4_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_db_type: // db_type
+#line 273 "dhcp4_parser.yy"
+                 { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 458 "dhcp4_parser.cc"
         break;
 
-      case 399: // hr_mode
-
-#line 273 "dhcp4_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 436 "dhcp4_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_hr_mode: // hr_mode
+#line 273 "dhcp4_parser.yy"
+                 { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 464 "dhcp4_parser.cc"
         break;
 
-      case 554: // ncr_protocol_value
-
-#line 273 "dhcp4_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 443 "dhcp4_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+#line 273 "dhcp4_parser.yy"
+                 { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 470 "dhcp4_parser.cc"
         break;
 
-
       default:
         break;
     }
-    yyo << ')';
+        yyo << ')';
+      }
   }
 #endif
 
-  inline
   void
-  Dhcp4Parser::yypush_ (const char* m, state_type s, symbol_type& sym)
+  Dhcp4Parser::yypush_ (const char* m, YY_MOVE_REF (stack_symbol_type) sym)
   {
-    stack_symbol_type t (s, sym);
-    yypush_ (m, t);
+    if (m)
+      YY_SYMBOL_PRINT (m, sym);
+    yystack_.push (YY_MOVE (sym));
   }
 
-  inline
   void
-  Dhcp4Parser::yypush_ (const char* m, stack_symbol_type& s)
+  Dhcp4Parser::yypush_ (const char* m, state_type s, YY_MOVE_REF (symbol_type) sym)
   {
-    if (m)
-      YY_SYMBOL_PRINT (m, s);
-    yystack_.push (s);
+#if 201103L <= YY_CPLUSPLUS
+    yypush_ (m, stack_symbol_type (s, std::move (sym)));
+#else
+    stack_symbol_type ss (s, sym);
+    yypush_ (m, ss);
+#endif
   }
 
-  inline
   void
-  Dhcp4Parser::yypop_ (unsigned int n)
+  Dhcp4Parser::yypop_ (int n)
   {
     yystack_.pop (n);
   }
@@ -501,32 +529,37 @@ namespace isc { namespace dhcp {
   }
 #endif // PARSER4_DEBUG
 
-  inline Dhcp4Parser::state_type
+  Dhcp4Parser::state_type
   Dhcp4Parser::yy_lr_goto_state_ (state_type yystate, int yysym)
   {
-    int yyr = yypgoto_[yysym - yyntokens_] + yystate;
+    int yyr = yypgoto_[yysym - YYNTOKENS] + yystate;
     if (0 <= yyr && yyr <= yylast_ && yycheck_[yyr] == yystate)
       return yytable_[yyr];
     else
-      return yydefgoto_[yysym - yyntokens_];
+      return yydefgoto_[yysym - YYNTOKENS];
   }
 
-  inline bool
+  bool
   Dhcp4Parser::yy_pact_value_is_default_ (int yyvalue)
   {
     return yyvalue == yypact_ninf_;
   }
 
-  inline bool
+  bool
   Dhcp4Parser::yy_table_value_is_error_ (int yyvalue)
   {
     return yyvalue == yytable_ninf_;
   }
 
+  int
+  Dhcp4Parser::operator() ()
+  {
+    return parse ();
+  }
+
   int
   Dhcp4Parser::parse ()
   {
-    // State.
     int yyn;
     /// Length of the RHS of the rule being reduced.
     int yylen = 0;
@@ -544,11 +577,11 @@ namespace isc { namespace dhcp {
     /// The return value of parse ().
     int yyresult;
 
-    // FIXME: This shoud be completely indented.  It is not yet to
-    // avoid gratuitous conflicts when merging into the master branch.
+#if YY_EXCEPTIONS
     try
+#endif // YY_EXCEPTIONS
       {
-    YYCDEBUG << "Starting parse" << std::endl;
+    YYCDEBUG << "Starting parse\n";
 
 
     /* Initialize the stack.  The initial state will be set in
@@ -556,48 +589,70 @@ namespace isc { namespace dhcp {
        location values to have been already stored, initialize these
        stacks with a primary value.  */
     yystack_.clear ();
-    yypush_ (YY_NULLPTR, 0, yyla);
+    yypush_ (YY_NULLPTR, 0, YY_MOVE (yyla));
 
-    // A new symbol was pushed on the stack.
+  /*-----------------------------------------------.
+  | yynewstate -- push a new symbol on the stack.  |
+  `-----------------------------------------------*/
   yynewstate:
-    YYCDEBUG << "Entering state " << yystack_[0].state << std::endl;
+    YYCDEBUG << "Entering state " << int (yystack_[0].state) << '\n';
+    YY_STACK_PRINT ();
 
     // Accept?
     if (yystack_[0].state == yyfinal_)
-      goto yyacceptlab;
+      YYACCEPT;
 
     goto yybackup;
 
-    // Backup.
-  yybackup:
 
+  /*-----------.
+  | yybackup.  |
+  `-----------*/
+  yybackup:
     // Try to take a decision without lookahead.
-    yyn = yypact_[yystack_[0].state];
+    yyn = yypact_[+yystack_[0].state];
     if (yy_pact_value_is_default_ (yyn))
       goto yydefault;
 
     // Read a lookahead token.
     if (yyla.empty ())
       {
-        YYCDEBUG << "Reading a token: ";
+        YYCDEBUG << "Reading a token\n";
+#if YY_EXCEPTIONS
         try
+#endif // YY_EXCEPTIONS
           {
             symbol_type yylookahead (yylex (ctx));
             yyla.move (yylookahead);
           }
+#if YY_EXCEPTIONS
         catch (const syntax_error& yyexc)
           {
+            YYCDEBUG << "Caught exception: " << yyexc.what() << '\n';
             error (yyexc);
             goto yyerrlab1;
           }
+#endif // YY_EXCEPTIONS
       }
     YY_SYMBOL_PRINT ("Next token is", yyla);
 
+    if (yyla.kind () == symbol_kind::S_YYerror)
+    {
+      // The scanner already issued an error message, process directly
+      // to error recovery.  But do not keep the error token as
+      // lookahead, it is too special and may lead us to an endless
+      // loop in error recovery. */
+      yyla.kind_ = symbol_kind::S_YYUNDEF;
+      goto yyerrlab1;
+    }
+
     /* If the proper action on seeing token YYLA.TYPE is to reduce or
        to detect an error, take that action.  */
-    yyn += yyla.type_get ();
-    if (yyn < 0 || yylast_ < yyn || yycheck_[yyn] != yyla.type_get ())
-      goto yydefault;
+    yyn += yyla.kind ();
+    if (yyn < 0 || yylast_ < yyn || yycheck_[yyn] != yyla.kind ())
+      {
+        goto yydefault;
+      }
 
     // Reduce or error.
     yyn = yytable_[yyn];
@@ -614,56 +669,58 @@ namespace isc { namespace dhcp {
       --yyerrstatus_;
 
     // Shift the lookahead token.
-    yypush_ ("Shifting", yyn, yyla);
+    yypush_ ("Shifting", state_type (yyn), YY_MOVE (yyla));
     goto yynewstate;
 
+
   /*-----------------------------------------------------------.
   | yydefault -- do the default action for the current state.  |
   `-----------------------------------------------------------*/
   yydefault:
-    yyn = yydefact_[yystack_[0].state];
+    yyn = yydefact_[+yystack_[0].state];
     if (yyn == 0)
       goto yyerrlab;
     goto yyreduce;
 
+
   /*-----------------------------.
-  | yyreduce -- Do a reduction.  |
+  | yyreduce -- do a reduction.  |
   `-----------------------------*/
   yyreduce:
     yylen = yyr2_[yyn];
     {
       stack_symbol_type yylhs;
-      yylhs.state = yy_lr_goto_state_(yystack_[yylen].state, yyr1_[yyn]);
+      yylhs.state = yy_lr_goto_state_ (yystack_[yylen].state, yyr1_[yyn]);
       /* Variants are always initialized to an empty instance of the
          correct type. The default '$$ = $1' action is NOT applied
          when using variants.  */
-        switch (yyr1_[yyn])
-    {
-      case 210: // value
-      case 214: // map_value
-      case 255: // ddns_replace_client_name_value
-      case 280: // socket_type
-      case 283: // outbound_interface_value
-      case 305: // db_type
-      case 399: // hr_mode
-      case 554: // ncr_protocol_value
-        yylhs.value.build< ElementPtr > ();
+      switch (yyr1_[yyn])
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_socket_type: // socket_type
+      case symbol_kind::S_outbound_interface_value: // outbound_interface_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+        yylhs.value.emplace< ElementPtr > ();
         break;
 
-      case 194: // "boolean"
-        yylhs.value.build< bool > ();
+      case symbol_kind::S_BOOLEAN: // "boolean"
+        yylhs.value.emplace< bool > ();
         break;
 
-      case 193: // "floating point"
-        yylhs.value.build< double > ();
+      case symbol_kind::S_FLOAT: // "floating point"
+        yylhs.value.emplace< double > ();
         break;
 
-      case 192: // "integer"
-        yylhs.value.build< int64_t > ();
+      case symbol_kind::S_INTEGER: // "integer"
+        yylhs.value.emplace< int64_t > ();
         break;
 
-      case 191: // "constant string"
-        yylhs.value.build< std::string > ();
+      case symbol_kind::S_STRING: // "constant string"
+        yylhs.value.emplace< std::string > ();
         break;
 
       default:
@@ -671,290 +728,293 @@ namespace isc { namespace dhcp {
     }
 
 
-      // Compute the default @$.
+      // Default location.
       {
-        slice<stack_symbol_type, stack_type> slice (yystack_, yylen);
-        YYLLOC_DEFAULT (yylhs.location, slice, yylen);
+        stack_type::slice range (yystack_, yylen);
+        YYLLOC_DEFAULT (yylhs.location, range, yylen);
+        yyerror_range[1].location = yylhs.location;
       }
 
       // Perform the reduction.
       YY_REDUCE_PRINT (yyn);
+#if YY_EXCEPTIONS
       try
+#endif // YY_EXCEPTIONS
         {
           switch (yyn)
             {
-  case 2:
-#line 282 "dhcp4_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.NO_KEYWORD; }
-#line 690 "dhcp4_parser.cc" // lalr1.cc:859
+  case 2: // $@1: %empty
+#line 282 "dhcp4_parser.yy"
+                     { ctx.ctx_ = ctx.NO_KEYWORD; }
+#line 750 "dhcp4_parser.cc"
     break;
 
-  case 4:
-#line 283 "dhcp4_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.CONFIG; }
-#line 696 "dhcp4_parser.cc" // lalr1.cc:859
+  case 4: // $@2: %empty
+#line 283 "dhcp4_parser.yy"
+                      { ctx.ctx_ = ctx.CONFIG; }
+#line 756 "dhcp4_parser.cc"
     break;
 
-  case 6:
-#line 284 "dhcp4_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.DHCP4; }
-#line 702 "dhcp4_parser.cc" // lalr1.cc:859
+  case 6: // $@3: %empty
+#line 284 "dhcp4_parser.yy"
+                 { ctx.ctx_ = ctx.DHCP4; }
+#line 762 "dhcp4_parser.cc"
     break;
 
-  case 8:
-#line 285 "dhcp4_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.INTERFACES_CONFIG; }
-#line 708 "dhcp4_parser.cc" // lalr1.cc:859
+  case 8: // $@4: %empty
+#line 285 "dhcp4_parser.yy"
+                       { ctx.ctx_ = ctx.INTERFACES_CONFIG; }
+#line 768 "dhcp4_parser.cc"
     break;
 
-  case 10:
-#line 286 "dhcp4_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.SUBNET4; }
-#line 714 "dhcp4_parser.cc" // lalr1.cc:859
+  case 10: // $@5: %empty
+#line 286 "dhcp4_parser.yy"
+                   { ctx.ctx_ = ctx.SUBNET4; }
+#line 774 "dhcp4_parser.cc"
     break;
 
-  case 12:
-#line 287 "dhcp4_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.POOLS; }
-#line 720 "dhcp4_parser.cc" // lalr1.cc:859
+  case 12: // $@6: %empty
+#line 287 "dhcp4_parser.yy"
+                 { ctx.ctx_ = ctx.POOLS; }
+#line 780 "dhcp4_parser.cc"
     break;
 
-  case 14:
-#line 288 "dhcp4_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.RESERVATIONS; }
-#line 726 "dhcp4_parser.cc" // lalr1.cc:859
+  case 14: // $@7: %empty
+#line 288 "dhcp4_parser.yy"
+                       { ctx.ctx_ = ctx.RESERVATIONS; }
+#line 786 "dhcp4_parser.cc"
     break;
 
-  case 16:
-#line 289 "dhcp4_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.DHCP4; }
-#line 732 "dhcp4_parser.cc" // lalr1.cc:859
+  case 16: // $@8: %empty
+#line 289 "dhcp4_parser.yy"
+                       { ctx.ctx_ = ctx.DHCP4; }
+#line 792 "dhcp4_parser.cc"
     break;
 
-  case 18:
-#line 290 "dhcp4_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.OPTION_DEF; }
-#line 738 "dhcp4_parser.cc" // lalr1.cc:859
+  case 18: // $@9: %empty
+#line 290 "dhcp4_parser.yy"
+                      { ctx.ctx_ = ctx.OPTION_DEF; }
+#line 798 "dhcp4_parser.cc"
     break;
 
-  case 20:
-#line 291 "dhcp4_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.OPTION_DATA; }
-#line 744 "dhcp4_parser.cc" // lalr1.cc:859
+  case 20: // $@10: %empty
+#line 291 "dhcp4_parser.yy"
+                       { ctx.ctx_ = ctx.OPTION_DATA; }
+#line 804 "dhcp4_parser.cc"
     break;
 
-  case 22:
-#line 292 "dhcp4_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.HOOKS_LIBRARIES; }
-#line 750 "dhcp4_parser.cc" // lalr1.cc:859
+  case 22: // $@11: %empty
+#line 292 "dhcp4_parser.yy"
+                         { ctx.ctx_ = ctx.HOOKS_LIBRARIES; }
+#line 810 "dhcp4_parser.cc"
     break;
 
-  case 24:
-#line 293 "dhcp4_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.DHCP_DDNS; }
-#line 756 "dhcp4_parser.cc" // lalr1.cc:859
+  case 24: // $@12: %empty
+#line 293 "dhcp4_parser.yy"
+                     { ctx.ctx_ = ctx.DHCP_DDNS; }
+#line 816 "dhcp4_parser.cc"
     break;
 
-  case 26:
-#line 294 "dhcp4_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.CONFIG_CONTROL; }
-#line 762 "dhcp4_parser.cc" // lalr1.cc:859
+  case 26: // $@13: %empty
+#line 294 "dhcp4_parser.yy"
+                          { ctx.ctx_ = ctx.CONFIG_CONTROL; }
+#line 822 "dhcp4_parser.cc"
     break;
 
-  case 28:
-#line 302 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location))); }
-#line 768 "dhcp4_parser.cc" // lalr1.cc:859
+  case 28: // value: "integer"
+#line 302 "dhcp4_parser.yy"
+               { yylhs.value.as < ElementPtr > () = ElementPtr(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location))); }
+#line 828 "dhcp4_parser.cc"
     break;
 
-  case 29:
-#line 303 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new DoubleElement(yystack_[0].value.as< double > (), ctx.loc2pos(yystack_[0].location))); }
-#line 774 "dhcp4_parser.cc" // lalr1.cc:859
+  case 29: // value: "floating point"
+#line 303 "dhcp4_parser.yy"
+             { yylhs.value.as < ElementPtr > () = ElementPtr(new DoubleElement(yystack_[0].value.as < double > (), ctx.loc2pos(yystack_[0].location))); }
+#line 834 "dhcp4_parser.cc"
     break;
 
-  case 30:
-#line 304 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location))); }
-#line 780 "dhcp4_parser.cc" // lalr1.cc:859
+  case 30: // value: "boolean"
+#line 304 "dhcp4_parser.yy"
+               { yylhs.value.as < ElementPtr > () = ElementPtr(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location))); }
+#line 840 "dhcp4_parser.cc"
     break;
 
-  case 31:
-#line 305 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location))); }
-#line 786 "dhcp4_parser.cc" // lalr1.cc:859
+  case 31: // value: "constant string"
+#line 305 "dhcp4_parser.yy"
+              { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location))); }
+#line 846 "dhcp4_parser.cc"
     break;
 
-  case 32:
-#line 306 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new NullElement(ctx.loc2pos(yystack_[0].location))); }
-#line 792 "dhcp4_parser.cc" // lalr1.cc:859
+  case 32: // value: "null"
+#line 306 "dhcp4_parser.yy"
+                 { yylhs.value.as < ElementPtr > () = ElementPtr(new NullElement(ctx.loc2pos(yystack_[0].location))); }
+#line 852 "dhcp4_parser.cc"
     break;
 
-  case 33:
-#line 307 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 798 "dhcp4_parser.cc" // lalr1.cc:859
+  case 33: // value: map2
+#line 307 "dhcp4_parser.yy"
+            { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 858 "dhcp4_parser.cc"
     break;
 
-  case 34:
-#line 308 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 804 "dhcp4_parser.cc" // lalr1.cc:859
+  case 34: // value: list_generic
+#line 308 "dhcp4_parser.yy"
+                    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 864 "dhcp4_parser.cc"
     break;
 
-  case 35:
-#line 311 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 35: // sub_json: value
+#line 311 "dhcp4_parser.yy"
+                {
     // Push back the JSON value on the stack
-    ctx.stack_.push_back(yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.push_back(yystack_[0].value.as < ElementPtr > ());
 }
-#line 813 "dhcp4_parser.cc" // lalr1.cc:859
+#line 873 "dhcp4_parser.cc"
     break;
 
-  case 36:
-#line 316 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 36: // $@14: %empty
+#line 316 "dhcp4_parser.yy"
+                     {
     // This code is executed when we're about to start parsing
     // the content of the map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 824 "dhcp4_parser.cc" // lalr1.cc:859
+#line 884 "dhcp4_parser.cc"
     break;
 
-  case 37:
-#line 321 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 37: // map2: "{" $@14 map_content "}"
+#line 321 "dhcp4_parser.yy"
+                             {
     // map parsing completed. If we ever want to do any wrap up
     // (maybe some sanity checking), this would be the best place
     // for it.
 }
-#line 834 "dhcp4_parser.cc" // lalr1.cc:859
+#line 894 "dhcp4_parser.cc"
     break;
 
-  case 38:
-#line 327 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 840 "dhcp4_parser.cc" // lalr1.cc:859
+  case 38: // map_value: map2
+#line 327 "dhcp4_parser.yy"
+                { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 900 "dhcp4_parser.cc"
     break;
 
-  case 41:
-#line 334 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 41: // not_empty_map: "constant string" ":" value
+#line 334 "dhcp4_parser.yy"
+                                  {
                   // map containing a single entry
-                  ctx.unique(yystack_[2].value.as< std::string > (), ctx.loc2pos(yystack_[2].location));
-                  ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
+                  ctx.unique(yystack_[2].value.as < std::string > (), ctx.loc2pos(yystack_[2].location));
+                  ctx.stack_.back()->set(yystack_[2].value.as < std::string > (), yystack_[0].value.as < ElementPtr > ());
                   }
-#line 850 "dhcp4_parser.cc" // lalr1.cc:859
+#line 910 "dhcp4_parser.cc"
     break;
 
-  case 42:
-#line 339 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 42: // not_empty_map: not_empty_map "," "constant string" ":" value
+#line 339 "dhcp4_parser.yy"
+                                                      {
                   // map consisting of a shorter map followed by
                   // comma and string:value
-                  ctx.unique(yystack_[2].value.as< std::string > (), ctx.loc2pos(yystack_[2].location));
-                  ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
+                  ctx.unique(yystack_[2].value.as < std::string > (), ctx.loc2pos(yystack_[2].location));
+                  ctx.stack_.back()->set(yystack_[2].value.as < std::string > (), yystack_[0].value.as < ElementPtr > ());
                   }
-#line 861 "dhcp4_parser.cc" // lalr1.cc:859
+#line 921 "dhcp4_parser.cc"
     break;
 
-  case 43:
-#line 347 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 43: // $@15: %empty
+#line 347 "dhcp4_parser.yy"
+                              {
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(l);
 }
-#line 870 "dhcp4_parser.cc" // lalr1.cc:859
+#line 930 "dhcp4_parser.cc"
     break;
 
-  case 44:
-#line 350 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 44: // list_generic: "[" $@15 list_content "]"
+#line 350 "dhcp4_parser.yy"
+                               {
     // list parsing complete. Put any sanity checking here
 }
-#line 878 "dhcp4_parser.cc" // lalr1.cc:859
+#line 938 "dhcp4_parser.cc"
     break;
 
-  case 47:
-#line 358 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 47: // not_empty_list: value
+#line 358 "dhcp4_parser.yy"
+                      {
                   // List consisting of a single element.
-                  ctx.stack_.back()->add(yystack_[0].value.as< ElementPtr > ());
+                  ctx.stack_.back()->add(yystack_[0].value.as < ElementPtr > ());
                   }
-#line 887 "dhcp4_parser.cc" // lalr1.cc:859
+#line 947 "dhcp4_parser.cc"
     break;
 
-  case 48:
-#line 362 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 48: // not_empty_list: not_empty_list "," value
+#line 362 "dhcp4_parser.yy"
+                                           {
                   // List ending with , and a value.
-                  ctx.stack_.back()->add(yystack_[0].value.as< ElementPtr > ());
+                  ctx.stack_.back()->add(yystack_[0].value.as < ElementPtr > ());
                   }
-#line 896 "dhcp4_parser.cc" // lalr1.cc:859
+#line 956 "dhcp4_parser.cc"
     break;
 
-  case 49:
-#line 369 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 49: // $@16: %empty
+#line 369 "dhcp4_parser.yy"
+                              {
     // List parsing about to start
 }
-#line 904 "dhcp4_parser.cc" // lalr1.cc:859
+#line 964 "dhcp4_parser.cc"
     break;
 
-  case 50:
-#line 371 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 50: // list_strings: "[" $@16 list_strings_content "]"
+#line 371 "dhcp4_parser.yy"
+                                       {
     // list parsing complete. Put any sanity checking here
     //ctx.stack_.pop_back();
 }
-#line 913 "dhcp4_parser.cc" // lalr1.cc:859
+#line 973 "dhcp4_parser.cc"
     break;
 
-  case 53:
-#line 380 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-                          ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 53: // not_empty_list_strings: "constant string"
+#line 380 "dhcp4_parser.yy"
+                               {
+                          ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
                           ctx.stack_.back()->add(s);
                           }
-#line 922 "dhcp4_parser.cc" // lalr1.cc:859
+#line 982 "dhcp4_parser.cc"
     break;
 
-  case 54:
-#line 384 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-                          ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 54: // not_empty_list_strings: not_empty_list_strings "," "constant string"
+#line 384 "dhcp4_parser.yy"
+                                                            {
+                          ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
                           ctx.stack_.back()->add(s);
                           }
-#line 931 "dhcp4_parser.cc" // lalr1.cc:859
+#line 991 "dhcp4_parser.cc"
     break;
 
-  case 55:
-#line 395 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 55: // unknown_map_entry: "constant string" ":"
+#line 395 "dhcp4_parser.yy"
+                                {
     const std::string& where = ctx.contextName();
-    const std::string& keyword = yystack_[1].value.as< std::string > ();
+    const std::string& keyword = yystack_[1].value.as < std::string > ();
     error(yystack_[1].location,
           "got unexpected keyword \"" + keyword + "\" in " + where + " map.");
 }
-#line 942 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1002 "dhcp4_parser.cc"
     break;
 
-  case 56:
-#line 404 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 56: // $@17: %empty
+#line 404 "dhcp4_parser.yy"
+                           {
     // This code is executed when we're about to start parsing
     // the content of the map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 953 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1013 "dhcp4_parser.cc"
     break;
 
-  case 57:
-#line 409 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 57: // syntax_map: "{" $@17 global_object "}"
+#line 409 "dhcp4_parser.yy"
+                               {
     // map parsing completed. If we ever want to do any wrap up
     // (maybe some sanity checking), this would be the best place
     // for it.
@@ -962,12 +1022,12 @@ namespace isc { namespace dhcp {
     // Dhcp4 is required
     ctx.require("Dhcp4", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
 }
-#line 966 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1026 "dhcp4_parser.cc"
     break;
 
-  case 58:
-#line 419 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 58: // $@18: %empty
+#line 419 "dhcp4_parser.yy"
+                     {
     // This code is executed when we're about to start parsing
     // the content of the map
     // Prevent against duplicate.
@@ -977,1332 +1037,1332 @@ namespace isc { namespace dhcp {
     ctx.stack_.push_back(m);
     ctx.enter(ctx.DHCP4);
 }
-#line 981 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1041 "dhcp4_parser.cc"
     break;
 
-  case 59:
-#line 428 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 59: // global_object: "Dhcp4" $@18 ":" "{" global_params "}"
+#line 428 "dhcp4_parser.yy"
+                                                    {
     // No global parameter is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 991 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1051 "dhcp4_parser.cc"
     break;
 
-  case 60:
-#line 436 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 60: // $@19: %empty
+#line 436 "dhcp4_parser.yy"
+                          {
     // Parse the Dhcp4 map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1001 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1061 "dhcp4_parser.cc"
     break;
 
-  case 61:
-#line 440 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 61: // sub_dhcp4: "{" $@19 global_params "}"
+#line 440 "dhcp4_parser.yy"
+                               {
     // No global parameter is required
     // parsing completed
 }
-#line 1010 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1070 "dhcp4_parser.cc"
     break;
 
-  case 121:
-#line 510 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 121: // valid_lifetime: "valid-lifetime" ":" "integer"
+#line 510 "dhcp4_parser.yy"
+                                             {
     ctx.unique("valid-lifetime", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("valid-lifetime", prf);
 }
-#line 1020 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1080 "dhcp4_parser.cc"
     break;
 
-  case 122:
-#line 516 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 122: // min_valid_lifetime: "min-valid-lifetime" ":" "integer"
+#line 516 "dhcp4_parser.yy"
+                                                     {
     ctx.unique("min-valid-lifetime", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("min-valid-lifetime", prf);
 }
-#line 1030 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1090 "dhcp4_parser.cc"
     break;
 
-  case 123:
-#line 522 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 123: // max_valid_lifetime: "max-valid-lifetime" ":" "integer"
+#line 522 "dhcp4_parser.yy"
+                                                     {
     ctx.unique("max-valid-lifetime", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-valid-lifetime", prf);
 }
-#line 1040 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1100 "dhcp4_parser.cc"
     break;
 
-  case 124:
-#line 528 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 124: // renew_timer: "renew-timer" ":" "integer"
+#line 528 "dhcp4_parser.yy"
+                                       {
     ctx.unique("renew-timer", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("renew-timer", prf);
 }
-#line 1050 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1110 "dhcp4_parser.cc"
     break;
 
-  case 125:
-#line 534 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 125: // rebind_timer: "rebind-timer" ":" "integer"
+#line 534 "dhcp4_parser.yy"
+                                         {
     ctx.unique("rebind-timer", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("rebind-timer", prf);
 }
-#line 1060 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1120 "dhcp4_parser.cc"
     break;
 
-  case 126:
-#line 540 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 126: // calculate_tee_times: "calculate-tee-times" ":" "boolean"
+#line 540 "dhcp4_parser.yy"
+                                                       {
     ctx.unique("calculate-tee-times", ctx.loc2pos(yystack_[2].location));
-    ElementPtr ctt(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr ctt(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("calculate-tee-times", ctt);
 }
-#line 1070 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1130 "dhcp4_parser.cc"
     break;
 
-  case 127:
-#line 546 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 127: // t1_percent: "t1-percent" ":" "floating point"
+#line 546 "dhcp4_parser.yy"
+                                   {
     ctx.unique("t1-percent", ctx.loc2pos(yystack_[2].location));
-    ElementPtr t1(new DoubleElement(yystack_[0].value.as< double > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr t1(new DoubleElement(yystack_[0].value.as < double > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("t1-percent", t1);
 }
-#line 1080 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1140 "dhcp4_parser.cc"
     break;
 
-  case 128:
-#line 552 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 128: // t2_percent: "t2-percent" ":" "floating point"
+#line 552 "dhcp4_parser.yy"
+                                   {
     ctx.unique("t2-percent", ctx.loc2pos(yystack_[2].location));
-    ElementPtr t2(new DoubleElement(yystack_[0].value.as< double > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr t2(new DoubleElement(yystack_[0].value.as < double > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("t2-percent", t2);
 }
-#line 1090 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1150 "dhcp4_parser.cc"
     break;
 
-  case 129:
-#line 558 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 129: // cache_threshold: "cache-threshold" ":" "floating point"
+#line 558 "dhcp4_parser.yy"
+                                             {
     ctx.unique("cache-threshold", ctx.loc2pos(yystack_[2].location));
-    ElementPtr ct(new DoubleElement(yystack_[0].value.as< double > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr ct(new DoubleElement(yystack_[0].value.as < double > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("cache-threshold", ct);
 }
-#line 1100 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1160 "dhcp4_parser.cc"
     break;
 
-  case 130:
-#line 564 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 130: // cache_max_age: "cache-max-age" ":" "integer"
+#line 564 "dhcp4_parser.yy"
+                                           {
     ctx.unique("cache-max-age", ctx.loc2pos(yystack_[2].location));
-    ElementPtr cm(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr cm(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("cache-max-age", cm);
 }
-#line 1110 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1170 "dhcp4_parser.cc"
     break;
 
-  case 131:
-#line 570 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 131: // decline_probation_period: "decline-probation-period" ":" "integer"
+#line 570 "dhcp4_parser.yy"
+                                                                 {
     ctx.unique("decline-probation-period", ctx.loc2pos(yystack_[2].location));
-    ElementPtr dpp(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr dpp(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("decline-probation-period", dpp);
 }
-#line 1120 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1180 "dhcp4_parser.cc"
     break;
 
-  case 132:
-#line 576 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 132: // $@20: %empty
+#line 576 "dhcp4_parser.yy"
+                       {
     ctx.unique("server-tag", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1129 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1189 "dhcp4_parser.cc"
     break;
 
-  case 133:
-#line 579 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr stag(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 133: // server_tag: "server-tag" $@20 ":" "constant string"
+#line 579 "dhcp4_parser.yy"
+               {
+    ElementPtr stag(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("server-tag", stag);
     ctx.leave();
 }
-#line 1139 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1199 "dhcp4_parser.cc"
     break;
 
-  case 134:
-#line 585 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 134: // echo_client_id: "echo-client-id" ":" "boolean"
+#line 585 "dhcp4_parser.yy"
+                                             {
     ctx.unique("echo-client-id", ctx.loc2pos(yystack_[2].location));
-    ElementPtr echo(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr echo(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("echo-client-id", echo);
 }
-#line 1149 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1209 "dhcp4_parser.cc"
     break;
 
-  case 135:
-#line 591 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 135: // match_client_id: "match-client-id" ":" "boolean"
+#line 591 "dhcp4_parser.yy"
+                                               {
     ctx.unique("match-client-id", ctx.loc2pos(yystack_[2].location));
-    ElementPtr match(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr match(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("match-client-id", match);
 }
-#line 1159 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1219 "dhcp4_parser.cc"
     break;
 
-  case 136:
-#line 597 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 136: // authoritative: "authoritative" ":" "boolean"
+#line 597 "dhcp4_parser.yy"
+                                           {
     ctx.unique("authoritative", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("authoritative", prf);
 }
-#line 1169 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1229 "dhcp4_parser.cc"
     break;
 
-  case 137:
-#line 603 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 137: // ddns_send_updates: "ddns-send-updates" ":" "boolean"
+#line 603 "dhcp4_parser.yy"
+                                                   {
     ctx.unique("ddns-send-updates", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ddns-send-updates", b);
 }
-#line 1179 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1239 "dhcp4_parser.cc"
     break;
 
-  case 138:
-#line 609 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 138: // ddns_override_no_update: "ddns-override-no-update" ":" "boolean"
+#line 609 "dhcp4_parser.yy"
+                                                               {
     ctx.unique("ddns-override-no-update", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ddns-override-no-update", b);
 }
-#line 1189 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1249 "dhcp4_parser.cc"
     break;
 
-  case 139:
-#line 615 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 139: // ddns_override_client_update: "ddns-override-client-update" ":" "boolean"
+#line 615 "dhcp4_parser.yy"
+                                                                       {
     ctx.unique("ddns-override-client-update", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ddns-override-client-update", b);
 }
-#line 1199 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1259 "dhcp4_parser.cc"
     break;
 
-  case 140:
-#line 621 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 140: // $@21: %empty
+#line 621 "dhcp4_parser.yy"
+                                                   {
     ctx.enter(ctx.REPLACE_CLIENT_NAME);
     ctx.unique("ddns-replace-client-name", ctx.loc2pos(yystack_[0].location));
 }
-#line 1208 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1268 "dhcp4_parser.cc"
     break;
 
-  case 141:
-#line 624 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set("ddns-replace-client-name", yystack_[0].value.as< ElementPtr > ());
+  case 141: // ddns_replace_client_name: "ddns-replace-client-name" $@21 ":" ddns_replace_client_name_value
+#line 624 "dhcp4_parser.yy"
+                                       {
+    ctx.stack_.back()->set("ddns-replace-client-name", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1217 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1277 "dhcp4_parser.cc"
     break;
 
-  case 142:
-#line 630 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-      yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("when-present", ctx.loc2pos(yystack_[0].location)));
+  case 142: // ddns_replace_client_name_value: "when-present"
+#line 630 "dhcp4_parser.yy"
+                 {
+      yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("when-present", ctx.loc2pos(yystack_[0].location)));
       }
-#line 1225 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1285 "dhcp4_parser.cc"
     break;
 
-  case 143:
-#line 633 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-      yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("never", ctx.loc2pos(yystack_[0].location)));
+  case 143: // ddns_replace_client_name_value: "never"
+#line 633 "dhcp4_parser.yy"
+          {
+      yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("never", ctx.loc2pos(yystack_[0].location)));
       }
-#line 1233 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1293 "dhcp4_parser.cc"
     break;
 
-  case 144:
-#line 636 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-      yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("always", ctx.loc2pos(yystack_[0].location)));
+  case 144: // ddns_replace_client_name_value: "always"
+#line 636 "dhcp4_parser.yy"
+           {
+      yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("always", ctx.loc2pos(yystack_[0].location)));
       }
-#line 1241 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1301 "dhcp4_parser.cc"
     break;
 
-  case 145:
-#line 639 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-      yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("when-not-present", ctx.loc2pos(yystack_[0].location)));
+  case 145: // ddns_replace_client_name_value: "when-not-present"
+#line 639 "dhcp4_parser.yy"
+                     {
+      yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("when-not-present", ctx.loc2pos(yystack_[0].location)));
       }
-#line 1249 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1309 "dhcp4_parser.cc"
     break;
 
-  case 146:
-#line 642 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 146: // ddns_replace_client_name_value: "boolean"
+#line 642 "dhcp4_parser.yy"
+            {
       error(yystack_[0].location, "boolean values for the replace-client-name are "
                 "no longer supported");
       }
-#line 1258 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1318 "dhcp4_parser.cc"
     break;
 
-  case 147:
-#line 648 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 147: // $@22: %empty
+#line 648 "dhcp4_parser.yy"
+                                             {
     ctx.unique("ddns-generated-prefix", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1267 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1327 "dhcp4_parser.cc"
     break;
 
-  case 148:
-#line 651 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 148: // ddns_generated_prefix: "ddns-generated-prefix" $@22 ":" "constant string"
+#line 651 "dhcp4_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ddns-generated-prefix", s);
     ctx.leave();
 }
-#line 1277 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1337 "dhcp4_parser.cc"
     break;
 
-  case 149:
-#line 657 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 149: // $@23: %empty
+#line 657 "dhcp4_parser.yy"
+                                               {
     ctx.unique("ddns-qualifying-suffix", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1286 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1346 "dhcp4_parser.cc"
     break;
 
-  case 150:
-#line 660 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 150: // ddns_qualifying_suffix: "ddns-qualifying-suffix" $@23 ":" "constant string"
+#line 660 "dhcp4_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ddns-qualifying-suffix", s);
     ctx.leave();
 }
-#line 1296 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1356 "dhcp4_parser.cc"
     break;
 
-  case 151:
-#line 666 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 151: // ddns_update_on_renew: "ddns-update-on-renew" ":" "boolean"
+#line 666 "dhcp4_parser.yy"
+                                                         {
     ctx.unique("ddns-update-on-renew", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ddns-update-on-renew", b);
 }
-#line 1306 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1366 "dhcp4_parser.cc"
     break;
 
-  case 152:
-#line 672 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 152: // ddns_use_conflict_resolution: "ddns-use-conflict-resolution" ":" "boolean"
+#line 672 "dhcp4_parser.yy"
+                                                                         {
     ctx.unique("ddns-use-conflict-resolution", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ddns-use-conflict-resolution", b);
 }
-#line 1316 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1376 "dhcp4_parser.cc"
     break;
 
-  case 153:
-#line 678 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 153: // $@24: %empty
+#line 678 "dhcp4_parser.yy"
+                                     {
     ctx.unique("hostname-char-set", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1325 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1385 "dhcp4_parser.cc"
     break;
 
-  case 154:
-#line 681 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 154: // hostname_char_set: "hostname-char-set" $@24 ":" "constant string"
+#line 681 "dhcp4_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hostname-char-set", s);
     ctx.leave();
 }
-#line 1335 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1395 "dhcp4_parser.cc"
     break;
 
-  case 155:
-#line 687 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 155: // $@25: %empty
+#line 687 "dhcp4_parser.yy"
+                                                     {
     ctx.unique("hostname-char-replacement", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1344 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1404 "dhcp4_parser.cc"
     break;
 
-  case 156:
-#line 690 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 156: // hostname_char_replacement: "hostname-char-replacement" $@25 ":" "constant string"
+#line 690 "dhcp4_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hostname-char-replacement", s);
     ctx.leave();
 }
-#line 1354 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1414 "dhcp4_parser.cc"
     break;
 
-  case 157:
-#line 696 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 157: // store_extended_info: "store-extended-info" ":" "boolean"
+#line 696 "dhcp4_parser.yy"
+                                                       {
     ctx.unique("store-extended-info", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("store-extended-info", b);
 }
-#line 1364 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1424 "dhcp4_parser.cc"
     break;
 
-  case 158:
-#line 702 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 158: // statistic_default_sample_count: "statistic-default-sample-count" ":" "integer"
+#line 702 "dhcp4_parser.yy"
+                                                                             {
     ctx.unique("statistic-default-sample-count", ctx.loc2pos(yystack_[2].location));
-    ElementPtr count(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr count(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("statistic-default-sample-count", count);
 }
-#line 1374 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1434 "dhcp4_parser.cc"
     break;
 
-  case 159:
-#line 708 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 159: // statistic_default_sample_age: "statistic-default-sample-age" ":" "integer"
+#line 708 "dhcp4_parser.yy"
+                                                                         {
     ctx.unique("statistic-default-sample-age", ctx.loc2pos(yystack_[2].location));
-    ElementPtr age(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr age(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("statistic-default-sample-age", age);
 }
-#line 1384 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1444 "dhcp4_parser.cc"
     break;
 
-  case 160:
-#line 714 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 160: // ip_reservations_unique: "ip-reservations-unique" ":" "boolean"
+#line 714 "dhcp4_parser.yy"
+                                                             {
     ctx.unique("ip-reservations-unique", ctx.loc2pos(yystack_[2].location));
-    ElementPtr unique(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr unique(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ip-reservations-unique", unique);
 }
-#line 1394 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1454 "dhcp4_parser.cc"
     break;
 
-  case 161:
-#line 720 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 161: // $@26: %empty
+#line 720 "dhcp4_parser.yy"
+                                     {
     ctx.unique("interfaces-config", ctx.loc2pos(yystack_[0].location));
     ElementPtr i(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("interfaces-config", i);
     ctx.stack_.push_back(i);
     ctx.enter(ctx.INTERFACES_CONFIG);
 }
-#line 1406 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1466 "dhcp4_parser.cc"
     break;
 
-  case 162:
-#line 726 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 162: // interfaces_config: "interfaces-config" $@26 ":" "{" interfaces_config_params "}"
+#line 726 "dhcp4_parser.yy"
+                                                               {
     // No interfaces config param is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1416 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1476 "dhcp4_parser.cc"
     break;
 
-  case 172:
-#line 745 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 172: // $@27: %empty
+#line 745 "dhcp4_parser.yy"
+                                {
     // Parse the interfaces-config map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1426 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1486 "dhcp4_parser.cc"
     break;
 
-  case 173:
-#line 749 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 173: // sub_interfaces4: "{" $@27 interfaces_config_params "}"
+#line 749 "dhcp4_parser.yy"
+                                          {
     // No interfaces config param is required
     // parsing completed
 }
-#line 1435 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1495 "dhcp4_parser.cc"
     break;
 
-  case 174:
-#line 754 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 174: // $@28: %empty
+#line 754 "dhcp4_parser.yy"
+                            {
     ctx.unique("interfaces", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("interfaces", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1447 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1507 "dhcp4_parser.cc"
     break;
 
-  case 175:
-#line 760 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 175: // interfaces_list: "interfaces" $@28 ":" list_strings
+#line 760 "dhcp4_parser.yy"
+                     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1456 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1516 "dhcp4_parser.cc"
     break;
 
-  case 176:
-#line 765 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 176: // $@29: %empty
+#line 765 "dhcp4_parser.yy"
+                                   {
     ctx.unique("dhcp-socket-type", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.DHCP_SOCKET_TYPE);
 }
-#line 1465 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1525 "dhcp4_parser.cc"
     break;
 
-  case 177:
-#line 768 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set("dhcp-socket-type", yystack_[0].value.as< ElementPtr > ());
+  case 177: // dhcp_socket_type: "dhcp-socket-type" $@29 ":" socket_type
+#line 768 "dhcp4_parser.yy"
+                    {
+    ctx.stack_.back()->set("dhcp-socket-type", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1474 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1534 "dhcp4_parser.cc"
     break;
 
-  case 178:
-#line 773 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("raw", ctx.loc2pos(yystack_[0].location))); }
-#line 1480 "dhcp4_parser.cc" // lalr1.cc:859
+  case 178: // socket_type: "raw"
+#line 773 "dhcp4_parser.yy"
+                 { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("raw", ctx.loc2pos(yystack_[0].location))); }
+#line 1540 "dhcp4_parser.cc"
     break;
 
-  case 179:
-#line 774 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("udp", ctx.loc2pos(yystack_[0].location))); }
-#line 1486 "dhcp4_parser.cc" // lalr1.cc:859
+  case 179: // socket_type: "udp"
+#line 774 "dhcp4_parser.yy"
+                 { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("udp", ctx.loc2pos(yystack_[0].location))); }
+#line 1546 "dhcp4_parser.cc"
     break;
 
-  case 180:
-#line 777 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 180: // $@30: %empty
+#line 777 "dhcp4_parser.yy"
+                                       {
     ctx.unique("outbound-interface", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.OUTBOUND_INTERFACE);
 }
-#line 1495 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1555 "dhcp4_parser.cc"
     break;
 
-  case 181:
-#line 780 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set("outbound-interface", yystack_[0].value.as< ElementPtr > ());
+  case 181: // outbound_interface: "outbound-interface" $@30 ":" outbound_interface_value
+#line 780 "dhcp4_parser.yy"
+                                 {
+    ctx.stack_.back()->set("outbound-interface", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1504 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1564 "dhcp4_parser.cc"
     break;
 
-  case 182:
-#line 785 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("same-as-inbound", ctx.loc2pos(yystack_[0].location)));
+  case 182: // outbound_interface_value: "same-as-inbound"
+#line 785 "dhcp4_parser.yy"
+                                          {
+    yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("same-as-inbound", ctx.loc2pos(yystack_[0].location)));
 }
-#line 1512 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1572 "dhcp4_parser.cc"
     break;
 
-  case 183:
-#line 787 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("use-routing", ctx.loc2pos(yystack_[0].location)));
+  case 183: // outbound_interface_value: "use-routing"
+#line 787 "dhcp4_parser.yy"
+                {
+    yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("use-routing", ctx.loc2pos(yystack_[0].location)));
     }
-#line 1520 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1580 "dhcp4_parser.cc"
     break;
 
-  case 184:
-#line 791 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 184: // re_detect: "re-detect" ":" "boolean"
+#line 791 "dhcp4_parser.yy"
+                                   {
     ctx.unique("re-detect", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("re-detect", b);
 }
-#line 1530 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1590 "dhcp4_parser.cc"
     break;
 
-  case 185:
-#line 798 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 185: // $@31: %empty
+#line 798 "dhcp4_parser.yy"
+                               {
     ctx.unique("lease-database", ctx.loc2pos(yystack_[0].location));
     ElementPtr i(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("lease-database", i);
     ctx.stack_.push_back(i);
     ctx.enter(ctx.LEASE_DATABASE);
 }
-#line 1542 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1602 "dhcp4_parser.cc"
     break;
 
-  case 186:
-#line 804 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 186: // lease_database: "lease-database" $@31 ":" "{" database_map_params "}"
+#line 804 "dhcp4_parser.yy"
+                                                          {
     // The type parameter is required
     ctx.require("type", ctx.loc2pos(yystack_[2].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1553 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1613 "dhcp4_parser.cc"
     break;
 
-  case 187:
-#line 811 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 187: // $@32: %empty
+#line 811 "dhcp4_parser.yy"
+                             {
     ctx.unique("sanity-checks", ctx.loc2pos(yystack_[0].location));
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("sanity-checks", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.SANITY_CHECKS);
 }
-#line 1565 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1625 "dhcp4_parser.cc"
     break;
 
-  case 188:
-#line 817 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 188: // sanity_checks: "sanity-checks" $@32 ":" "{" sanity_checks_params "}"
+#line 817 "dhcp4_parser.yy"
+                                                           {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1574 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1634 "dhcp4_parser.cc"
     break;
 
-  case 192:
-#line 827 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 192: // $@33: %empty
+#line 827 "dhcp4_parser.yy"
+                           {
     ctx.unique("lease-checks", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1583 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1643 "dhcp4_parser.cc"
     break;
 
-  case 193:
-#line 830 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 193: // lease_checks: "lease-checks" $@33 ":" "constant string"
+#line 830 "dhcp4_parser.yy"
+               {
 
-    if ( (string(yystack_[0].value.as< std::string > ()) == "none") ||
-         (string(yystack_[0].value.as< std::string > ()) == "warn") ||
-         (string(yystack_[0].value.as< std::string > ()) == "fix") ||
-         (string(yystack_[0].value.as< std::string > ()) == "fix-del") ||
-         (string(yystack_[0].value.as< std::string > ()) == "del")) {
-        ElementPtr user(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    if ( (string(yystack_[0].value.as < std::string > ()) == "none") ||
+         (string(yystack_[0].value.as < std::string > ()) == "warn") ||
+         (string(yystack_[0].value.as < std::string > ()) == "fix") ||
+         (string(yystack_[0].value.as < std::string > ()) == "fix-del") ||
+         (string(yystack_[0].value.as < std::string > ()) == "del")) {
+        ElementPtr user(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
         ctx.stack_.back()->set("lease-checks", user);
         ctx.leave();
     } else {
-        error(yystack_[0].location, "Unsupported 'lease-checks value: " + string(yystack_[0].value.as< std::string > ()) +
+        error(yystack_[0].location, "Unsupported 'lease-checks value: " + string(yystack_[0].value.as < std::string > ()) +
               ", supported values are: none, warn, fix, fix-del, del");
     }
 }
-#line 1603 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1663 "dhcp4_parser.cc"
     break;
 
-  case 194:
-#line 846 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 194: // $@34: %empty
+#line 846 "dhcp4_parser.yy"
+                               {
     ctx.unique("hosts-database", ctx.loc2pos(yystack_[0].location));
     ElementPtr i(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hosts-database", i);
     ctx.stack_.push_back(i);
     ctx.enter(ctx.HOSTS_DATABASE);
 }
-#line 1615 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1675 "dhcp4_parser.cc"
     break;
 
-  case 195:
-#line 852 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 195: // hosts_database: "hosts-database" $@34 ":" "{" database_map_params "}"
+#line 852 "dhcp4_parser.yy"
+                                                          {
     // The type parameter is required
     ctx.require("type", ctx.loc2pos(yystack_[2].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1626 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1686 "dhcp4_parser.cc"
     break;
 
-  case 196:
-#line 859 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 196: // $@35: %empty
+#line 859 "dhcp4_parser.yy"
+                                 {
     ctx.unique("hosts-databases", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hosts-databases", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.HOSTS_DATABASE);
 }
-#line 1638 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1698 "dhcp4_parser.cc"
     break;
 
-  case 197:
-#line 865 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 197: // hosts_databases: "hosts-databases" $@35 ":" "[" database_list "]"
+#line 865 "dhcp4_parser.yy"
+                                                      {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1647 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1707 "dhcp4_parser.cc"
     break;
 
-  case 202:
-#line 878 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 202: // $@36: %empty
+#line 878 "dhcp4_parser.yy"
+                         {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1657 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1717 "dhcp4_parser.cc"
     break;
 
-  case 203:
-#line 882 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 203: // database: "{" $@36 database_map_params "}"
+#line 882 "dhcp4_parser.yy"
+                                     {
     // The type parameter is required
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 1667 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1727 "dhcp4_parser.cc"
     break;
 
-  case 227:
-#line 915 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 227: // $@37: %empty
+#line 915 "dhcp4_parser.yy"
+                    {
     ctx.unique("type", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.DATABASE_TYPE);
 }
-#line 1676 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1736 "dhcp4_parser.cc"
     break;
 
-  case 228:
-#line 918 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set("type", yystack_[0].value.as< ElementPtr > ());
+  case 228: // database_type: "type" $@37 ":" db_type
+#line 918 "dhcp4_parser.yy"
+                {
+    ctx.stack_.back()->set("type", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1685 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1745 "dhcp4_parser.cc"
     break;
 
-  case 229:
-#line 923 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("memfile", ctx.loc2pos(yystack_[0].location))); }
-#line 1691 "dhcp4_parser.cc" // lalr1.cc:859
+  case 229: // db_type: "memfile"
+#line 923 "dhcp4_parser.yy"
+                 { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("memfile", ctx.loc2pos(yystack_[0].location))); }
+#line 1751 "dhcp4_parser.cc"
     break;
 
-  case 230:
-#line 924 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("mysql", ctx.loc2pos(yystack_[0].location))); }
-#line 1697 "dhcp4_parser.cc" // lalr1.cc:859
+  case 230: // db_type: "mysql"
+#line 924 "dhcp4_parser.yy"
+               { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("mysql", ctx.loc2pos(yystack_[0].location))); }
+#line 1757 "dhcp4_parser.cc"
     break;
 
-  case 231:
-#line 925 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("postgresql", ctx.loc2pos(yystack_[0].location))); }
-#line 1703 "dhcp4_parser.cc" // lalr1.cc:859
+  case 231: // db_type: "postgresql"
+#line 925 "dhcp4_parser.yy"
+                    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("postgresql", ctx.loc2pos(yystack_[0].location))); }
+#line 1763 "dhcp4_parser.cc"
     break;
 
-  case 232:
-#line 926 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("cql", ctx.loc2pos(yystack_[0].location))); }
-#line 1709 "dhcp4_parser.cc" // lalr1.cc:859
+  case 232: // db_type: "cql"
+#line 926 "dhcp4_parser.yy"
+             { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("cql", ctx.loc2pos(yystack_[0].location))); }
+#line 1769 "dhcp4_parser.cc"
     break;
 
-  case 233:
-#line 929 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 233: // $@38: %empty
+#line 929 "dhcp4_parser.yy"
+           {
     ctx.unique("user", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1718 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1778 "dhcp4_parser.cc"
     break;
 
-  case 234:
-#line 932 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr user(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 234: // user: "user" $@38 ":" "constant string"
+#line 932 "dhcp4_parser.yy"
+               {
+    ElementPtr user(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("user", user);
     ctx.leave();
 }
-#line 1728 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1788 "dhcp4_parser.cc"
     break;
 
-  case 235:
-#line 938 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 235: // $@39: %empty
+#line 938 "dhcp4_parser.yy"
+                   {
     ctx.unique("password", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1737 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1797 "dhcp4_parser.cc"
     break;
 
-  case 236:
-#line 941 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr pwd(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 236: // password: "password" $@39 ":" "constant string"
+#line 941 "dhcp4_parser.yy"
+               {
+    ElementPtr pwd(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("password", pwd);
     ctx.leave();
 }
-#line 1747 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1807 "dhcp4_parser.cc"
     break;
 
-  case 237:
-#line 947 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 237: // $@40: %empty
+#line 947 "dhcp4_parser.yy"
+           {
     ctx.unique("host", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1756 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1816 "dhcp4_parser.cc"
     break;
 
-  case 238:
-#line 950 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr h(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 238: // host: "host" $@40 ":" "constant string"
+#line 950 "dhcp4_parser.yy"
+               {
+    ElementPtr h(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("host", h);
     ctx.leave();
 }
-#line 1766 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1826 "dhcp4_parser.cc"
     break;
 
-  case 239:
-#line 956 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 239: // port: "port" ":" "integer"
+#line 956 "dhcp4_parser.yy"
+                         {
     ctx.unique("port", ctx.loc2pos(yystack_[2].location));
-    ElementPtr p(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr p(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("port", p);
 }
-#line 1776 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1836 "dhcp4_parser.cc"
     break;
 
-  case 240:
-#line 962 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 240: // $@41: %empty
+#line 962 "dhcp4_parser.yy"
+           {
     ctx.unique("name", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1785 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1845 "dhcp4_parser.cc"
     break;
 
-  case 241:
-#line 965 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 241: // name: "name" $@41 ":" "constant string"
+#line 965 "dhcp4_parser.yy"
+               {
+    ElementPtr name(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("name", name);
     ctx.leave();
 }
-#line 1795 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1855 "dhcp4_parser.cc"
     break;
 
-  case 242:
-#line 971 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 242: // persist: "persist" ":" "boolean"
+#line 971 "dhcp4_parser.yy"
+                               {
     ctx.unique("persist", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("persist", n);
 }
-#line 1805 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1865 "dhcp4_parser.cc"
     break;
 
-  case 243:
-#line 977 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 243: // lfc_interval: "lfc-interval" ":" "integer"
+#line 977 "dhcp4_parser.yy"
+                                         {
     ctx.unique("lfc-interval", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("lfc-interval", n);
 }
-#line 1815 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1875 "dhcp4_parser.cc"
     break;
 
-  case 244:
-#line 983 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 244: // readonly: "readonly" ":" "boolean"
+#line 983 "dhcp4_parser.yy"
+                                 {
     ctx.unique("readonly", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("readonly", n);
 }
-#line 1825 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1885 "dhcp4_parser.cc"
     break;
 
-  case 245:
-#line 989 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 245: // connect_timeout: "connect-timeout" ":" "integer"
+#line 989 "dhcp4_parser.yy"
+                                               {
     ctx.unique("connect-timeout", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("connect-timeout", n);
 }
-#line 1835 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1895 "dhcp4_parser.cc"
     break;
 
-  case 246:
-#line 995 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 246: // request_timeout: "request-timeout" ":" "integer"
+#line 995 "dhcp4_parser.yy"
+                                               {
     ctx.unique("request-timeout", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("request-timeout", n);
 }
-#line 1845 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1905 "dhcp4_parser.cc"
     break;
 
-  case 247:
-#line 1001 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 247: // tcp_keepalive: "tcp-keepalive" ":" "integer"
+#line 1001 "dhcp4_parser.yy"
+                                           {
     ctx.unique("tcp-keepalive", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("tcp-keepalive", n);
 }
-#line 1855 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1915 "dhcp4_parser.cc"
     break;
 
-  case 248:
-#line 1007 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 248: // tcp_nodelay: "tcp-nodelay" ":" "boolean"
+#line 1007 "dhcp4_parser.yy"
+                                       {
     ctx.unique("tcp-nodelay", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("tcp-nodelay", n);
 }
-#line 1865 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1925 "dhcp4_parser.cc"
     break;
 
-  case 249:
-#line 1013 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 249: // $@42: %empty
+#line 1013 "dhcp4_parser.yy"
+                               {
     ctx.unique("contact-points", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1874 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1934 "dhcp4_parser.cc"
     break;
 
-  case 250:
-#line 1016 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr cp(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 250: // contact_points: "contact-points" $@42 ":" "constant string"
+#line 1016 "dhcp4_parser.yy"
+               {
+    ElementPtr cp(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("contact-points", cp);
     ctx.leave();
 }
-#line 1884 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1944 "dhcp4_parser.cc"
     break;
 
-  case 251:
-#line 1022 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 251: // $@43: %empty
+#line 1022 "dhcp4_parser.yy"
+                   {
     ctx.unique("keyspace", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1893 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1953 "dhcp4_parser.cc"
     break;
 
-  case 252:
-#line 1025 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr ks(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 252: // keyspace: "keyspace" $@43 ":" "constant string"
+#line 1025 "dhcp4_parser.yy"
+               {
+    ElementPtr ks(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("keyspace", ks);
     ctx.leave();
 }
-#line 1903 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1963 "dhcp4_parser.cc"
     break;
 
-  case 253:
-#line 1031 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 253: // $@44: %empty
+#line 1031 "dhcp4_parser.yy"
+                         {
     ctx.unique("consistency", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1912 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1972 "dhcp4_parser.cc"
     break;
 
-  case 254:
-#line 1034 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr c(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 254: // consistency: "consistency" $@44 ":" "constant string"
+#line 1034 "dhcp4_parser.yy"
+               {
+    ElementPtr c(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("consistency", c);
     ctx.leave();
 }
-#line 1922 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1982 "dhcp4_parser.cc"
     break;
 
-  case 255:
-#line 1040 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 255: // $@45: %empty
+#line 1040 "dhcp4_parser.yy"
+                                       {
     ctx.unique("serial-consistency", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1931 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1991 "dhcp4_parser.cc"
     break;
 
-  case 256:
-#line 1043 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr c(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 256: // serial_consistency: "serial-consistency" $@45 ":" "constant string"
+#line 1043 "dhcp4_parser.yy"
+               {
+    ElementPtr c(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("serial-consistency", c);
     ctx.leave();
 }
-#line 1941 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2001 "dhcp4_parser.cc"
     break;
 
-  case 257:
-#line 1049 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 257: // max_reconnect_tries: "max-reconnect-tries" ":" "integer"
+#line 1049 "dhcp4_parser.yy"
+                                                       {
     ctx.unique("max-reconnect-tries", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-reconnect-tries", n);
 }
-#line 1951 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2011 "dhcp4_parser.cc"
     break;
 
-  case 258:
-#line 1055 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 258: // reconnect_wait_time: "reconnect-wait-time" ":" "integer"
+#line 1055 "dhcp4_parser.yy"
+                                                       {
     ctx.unique("reconnect-wait-time", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("reconnect-wait-time", n);
 }
-#line 1961 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2021 "dhcp4_parser.cc"
     break;
 
-  case 259:
-#line 1061 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 259: // max_row_errors: "max-row-errors" ":" "integer"
+#line 1061 "dhcp4_parser.yy"
+                                             {
     ctx.unique("max-row-errors", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-row-errors", n);
 }
-#line 1971 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2031 "dhcp4_parser.cc"
     break;
 
-  case 260:
-#line 1068 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 260: // $@46: %empty
+#line 1068 "dhcp4_parser.yy"
+                                                           {
     ctx.unique("host-reservation-identifiers", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("host-reservation-identifiers", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.HOST_RESERVATION_IDENTIFIERS);
 }
-#line 1983 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2043 "dhcp4_parser.cc"
     break;
 
-  case 261:
-#line 1074 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 261: // host_reservation_identifiers: "host-reservation-identifiers" $@46 ":" "[" host_reservation_identifiers_list "]"
+#line 1074 "dhcp4_parser.yy"
+                                                                          {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1992 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2052 "dhcp4_parser.cc"
     break;
 
-  case 269:
-#line 1090 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 269: // duid_id: "duid"
+#line 1090 "dhcp4_parser.yy"
+               {
     ElementPtr duid(new StringElement("duid", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(duid);
 }
-#line 2001 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2061 "dhcp4_parser.cc"
     break;
 
-  case 270:
-#line 1095 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 270: // hw_address_id: "hw-address"
+#line 1095 "dhcp4_parser.yy"
+                           {
     ElementPtr hwaddr(new StringElement("hw-address", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(hwaddr);
 }
-#line 2010 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2070 "dhcp4_parser.cc"
     break;
 
-  case 271:
-#line 1100 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 271: // circuit_id: "circuit-id"
+#line 1100 "dhcp4_parser.yy"
+                        {
     ElementPtr circuit(new StringElement("circuit-id", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(circuit);
 }
-#line 2019 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2079 "dhcp4_parser.cc"
     break;
 
-  case 272:
-#line 1105 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 272: // client_id: "client-id"
+#line 1105 "dhcp4_parser.yy"
+                      {
     ElementPtr client(new StringElement("client-id", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(client);
 }
-#line 2028 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2088 "dhcp4_parser.cc"
     break;
 
-  case 273:
-#line 1110 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 273: // flex_id: "flex-id"
+#line 1110 "dhcp4_parser.yy"
+                 {
     ElementPtr flex_id(new StringElement("flex-id", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(flex_id);
 }
-#line 2037 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2097 "dhcp4_parser.cc"
     break;
 
-  case 274:
-#line 1117 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 274: // $@47: %empty
+#line 1117 "dhcp4_parser.yy"
+                                           {
     ctx.unique("multi-threading", ctx.loc2pos(yystack_[0].location));
     ElementPtr mt(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("multi-threading", mt);
     ctx.stack_.push_back(mt);
     ctx.enter(ctx.DHCP_MULTI_THREADING);
 }
-#line 2049 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2109 "dhcp4_parser.cc"
     break;
 
-  case 275:
-#line 1123 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 275: // dhcp_multi_threading: "multi-threading" $@47 ":" "{" multi_threading_params "}"
+#line 1123 "dhcp4_parser.yy"
+                                                             {
     // The enable parameter is required.
     ctx.require("enable-multi-threading", ctx.loc2pos(yystack_[2].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2060 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2120 "dhcp4_parser.cc"
     break;
 
-  case 284:
-#line 1142 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 284: // enable_multi_threading: "enable-multi-threading" ":" "boolean"
+#line 1142 "dhcp4_parser.yy"
+                                                             {
     ctx.unique("enable-multi-threading", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("enable-multi-threading", b);
 }
-#line 2070 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2130 "dhcp4_parser.cc"
     break;
 
-  case 285:
-#line 1148 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 285: // thread_pool_size: "thread-pool-size" ":" "integer"
+#line 1148 "dhcp4_parser.yy"
+                                                 {
     ctx.unique("thread-pool-size", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("thread-pool-size", prf);
 }
-#line 2080 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2140 "dhcp4_parser.cc"
     break;
 
-  case 286:
-#line 1154 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 286: // packet_queue_size: "packet-queue-size" ":" "integer"
+#line 1154 "dhcp4_parser.yy"
+                                                   {
     ctx.unique("packet-queue-size", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("packet-queue-size", prf);
 }
-#line 2090 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2150 "dhcp4_parser.cc"
     break;
 
-  case 287:
-#line 1160 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 287: // $@48: %empty
+#line 1160 "dhcp4_parser.yy"
+                                 {
     ctx.unique("hooks-libraries", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hooks-libraries", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.HOOKS_LIBRARIES);
 }
-#line 2102 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2162 "dhcp4_parser.cc"
     break;
 
-  case 288:
-#line 1166 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 288: // hooks_libraries: "hooks-libraries" $@48 ":" "[" hooks_libraries_list "]"
+#line 1166 "dhcp4_parser.yy"
+                                                             {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2111 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2171 "dhcp4_parser.cc"
     break;
 
-  case 293:
-#line 1179 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 293: // $@49: %empty
+#line 1179 "dhcp4_parser.yy"
+                              {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2121 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2181 "dhcp4_parser.cc"
     break;
 
-  case 294:
-#line 1183 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 294: // hooks_library: "{" $@49 hooks_params "}"
+#line 1183 "dhcp4_parser.yy"
+                              {
     // The library hooks parameter is required
     ctx.require("library", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2131 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2191 "dhcp4_parser.cc"
     break;
 
-  case 295:
-#line 1189 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 295: // $@50: %empty
+#line 1189 "dhcp4_parser.yy"
+                                  {
     // Parse the hooks-libraries list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2141 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2201 "dhcp4_parser.cc"
     break;
 
-  case 296:
-#line 1193 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 296: // sub_hooks_library: "{" $@50 hooks_params "}"
+#line 1193 "dhcp4_parser.yy"
+                              {
     // The library hooks parameter is required
     ctx.require("library", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 2151 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2211 "dhcp4_parser.cc"
     break;
 
-  case 302:
-#line 1208 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 302: // $@51: %empty
+#line 1208 "dhcp4_parser.yy"
+                 {
     ctx.unique("library", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2160 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2220 "dhcp4_parser.cc"
     break;
 
-  case 303:
-#line 1211 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr lib(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 303: // library: "library" $@51 ":" "constant string"
+#line 1211 "dhcp4_parser.yy"
+               {
+    ElementPtr lib(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("library", lib);
     ctx.leave();
 }
-#line 2170 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2230 "dhcp4_parser.cc"
     break;
 
-  case 304:
-#line 1217 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 304: // $@52: %empty
+#line 1217 "dhcp4_parser.yy"
+                       {
     ctx.unique("parameters", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2179 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2239 "dhcp4_parser.cc"
     break;
 
-  case 305:
-#line 1220 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set("parameters", yystack_[0].value.as< ElementPtr > ());
+  case 305: // parameters: "parameters" $@52 ":" map_value
+#line 1220 "dhcp4_parser.yy"
+                  {
+    ctx.stack_.back()->set("parameters", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 2188 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2248 "dhcp4_parser.cc"
     break;
 
-  case 306:
-#line 1226 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 306: // $@53: %empty
+#line 1226 "dhcp4_parser.yy"
+                                                     {
     ctx.unique("expired-leases-processing", ctx.loc2pos(yystack_[0].location));
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("expired-leases-processing", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.EXPIRED_LEASES_PROCESSING);
 }
-#line 2200 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2260 "dhcp4_parser.cc"
     break;
 
-  case 307:
-#line 1232 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 307: // expired_leases_processing: "expired-leases-processing" $@53 ":" "{" expired_leases_params "}"
+#line 1232 "dhcp4_parser.yy"
+                                                            {
     // No expired lease parameter is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2210 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2270 "dhcp4_parser.cc"
     break;
 
-  case 316:
-#line 1250 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 316: // reclaim_timer_wait_time: "reclaim-timer-wait-time" ":" "integer"
+#line 1250 "dhcp4_parser.yy"
+                                                               {
     ctx.unique("reclaim-timer-wait-time", ctx.loc2pos(yystack_[2].location));
-    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("reclaim-timer-wait-time", value);
 }
-#line 2220 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2280 "dhcp4_parser.cc"
     break;
 
-  case 317:
-#line 1256 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 317: // flush_reclaimed_timer_wait_time: "flush-reclaimed-timer-wait-time" ":" "integer"
+#line 1256 "dhcp4_parser.yy"
+                                                                               {
     ctx.unique("flush-reclaimed-timer-wait-time", ctx.loc2pos(yystack_[2].location));
-    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("flush-reclaimed-timer-wait-time", value);
 }
-#line 2230 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2290 "dhcp4_parser.cc"
     break;
 
-  case 318:
-#line 1262 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 318: // hold_reclaimed_time: "hold-reclaimed-time" ":" "integer"
+#line 1262 "dhcp4_parser.yy"
+                                                       {
     ctx.unique("hold-reclaimed-time", ctx.loc2pos(yystack_[2].location));
-    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("hold-reclaimed-time", value);
 }
-#line 2240 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2300 "dhcp4_parser.cc"
     break;
 
-  case 319:
-#line 1268 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 319: // max_reclaim_leases: "max-reclaim-leases" ":" "integer"
+#line 1268 "dhcp4_parser.yy"
+                                                     {
     ctx.unique("max-reclaim-leases", ctx.loc2pos(yystack_[2].location));
-    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("max-reclaim-leases", value);
 }
-#line 2250 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2310 "dhcp4_parser.cc"
     break;
 
-  case 320:
-#line 1274 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 320: // max_reclaim_time: "max-reclaim-time" ":" "integer"
+#line 1274 "dhcp4_parser.yy"
+                                                 {
     ctx.unique("max-reclaim-time", ctx.loc2pos(yystack_[2].location));
-    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("max-reclaim-time", value);
 }
-#line 2260 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2320 "dhcp4_parser.cc"
     break;
 
-  case 321:
-#line 1280 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 321: // unwarned_reclaim_cycles: "unwarned-reclaim-cycles" ":" "integer"
+#line 1280 "dhcp4_parser.yy"
+                                                               {
     ctx.unique("unwarned-reclaim-cycles", ctx.loc2pos(yystack_[2].location));
-    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("unwarned-reclaim-cycles", value);
 }
-#line 2270 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2330 "dhcp4_parser.cc"
     break;
 
-  case 322:
-#line 1289 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 322: // $@54: %empty
+#line 1289 "dhcp4_parser.yy"
+                      {
     ctx.unique("subnet4", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("subnet4", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.SUBNET4);
 }
-#line 2282 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2342 "dhcp4_parser.cc"
     break;
 
-  case 323:
-#line 1295 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 323: // subnet4_list: "subnet4" $@54 ":" "[" subnet4_list_content "]"
+#line 1295 "dhcp4_parser.yy"
+                                                             {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2291 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2351 "dhcp4_parser.cc"
     break;
 
-  case 328:
-#line 1315 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 328: // $@55: %empty
+#line 1315 "dhcp4_parser.yy"
+                        {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2301 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2361 "dhcp4_parser.cc"
     break;
 
-  case 329:
-#line 1319 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 329: // subnet4: "{" $@55 subnet4_params "}"
+#line 1319 "dhcp4_parser.yy"
+                                {
     // Once we reached this place, the subnet parsing is now complete.
     // If we want to, we can implement default values here.
     // In particular we can do things like this:
@@ -2323,624 +2383,624 @@ namespace isc { namespace dhcp {
     ctx.require("subnet", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2327 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2387 "dhcp4_parser.cc"
     break;
 
-  case 330:
-#line 1341 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 330: // $@56: %empty
+#line 1341 "dhcp4_parser.yy"
+                            {
     // Parse the subnet4 list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2337 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2397 "dhcp4_parser.cc"
     break;
 
-  case 331:
-#line 1345 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 331: // sub_subnet4: "{" $@56 subnet4_params "}"
+#line 1345 "dhcp4_parser.yy"
+                                {
     // The subnet subnet4 parameter is required
     ctx.require("subnet", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 2347 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2407 "dhcp4_parser.cc"
     break;
 
-  case 376:
-#line 1401 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 376: // $@57: %empty
+#line 1401 "dhcp4_parser.yy"
+               {
     ctx.unique("subnet", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2356 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2416 "dhcp4_parser.cc"
     break;
 
-  case 377:
-#line 1404 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr subnet(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 377: // subnet: "subnet" $@57 ":" "constant string"
+#line 1404 "dhcp4_parser.yy"
+               {
+    ElementPtr subnet(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("subnet", subnet);
     ctx.leave();
 }
-#line 2366 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2426 "dhcp4_parser.cc"
     break;
 
-  case 378:
-#line 1410 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 378: // $@58: %empty
+#line 1410 "dhcp4_parser.yy"
+                                           {
     ctx.unique("4o6-interface", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2375 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2435 "dhcp4_parser.cc"
     break;
 
-  case 379:
-#line 1413 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr iface(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 379: // subnet_4o6_interface: "4o6-interface" $@58 ":" "constant string"
+#line 1413 "dhcp4_parser.yy"
+               {
+    ElementPtr iface(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("4o6-interface", iface);
     ctx.leave();
 }
-#line 2385 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2445 "dhcp4_parser.cc"
     break;
 
-  case 380:
-#line 1419 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 380: // $@59: %empty
+#line 1419 "dhcp4_parser.yy"
+                                                 {
     ctx.unique("4o6-interface-id", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2394 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2454 "dhcp4_parser.cc"
     break;
 
-  case 381:
-#line 1422 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr iface(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 381: // subnet_4o6_interface_id: "4o6-interface-id" $@59 ":" "constant string"
+#line 1422 "dhcp4_parser.yy"
+               {
+    ElementPtr iface(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("4o6-interface-id", iface);
     ctx.leave();
 }
-#line 2404 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2464 "dhcp4_parser.cc"
     break;
 
-  case 382:
-#line 1428 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 382: // $@60: %empty
+#line 1428 "dhcp4_parser.yy"
+                                     {
     ctx.unique("4o6-subnet", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2413 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2473 "dhcp4_parser.cc"
     break;
 
-  case 383:
-#line 1431 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr iface(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 383: // subnet_4o6_subnet: "4o6-subnet" $@60 ":" "constant string"
+#line 1431 "dhcp4_parser.yy"
+               {
+    ElementPtr iface(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("4o6-subnet", iface);
     ctx.leave();
 }
-#line 2423 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2483 "dhcp4_parser.cc"
     break;
 
-  case 384:
-#line 1437 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 384: // $@61: %empty
+#line 1437 "dhcp4_parser.yy"
+                     {
     ctx.unique("interface", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2432 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2492 "dhcp4_parser.cc"
     break;
 
-  case 385:
-#line 1440 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr iface(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 385: // interface: "interface" $@61 ":" "constant string"
+#line 1440 "dhcp4_parser.yy"
+               {
+    ElementPtr iface(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("interface", iface);
     ctx.leave();
 }
-#line 2442 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2502 "dhcp4_parser.cc"
     break;
 
-  case 386:
-#line 1446 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 386: // $@62: %empty
+#line 1446 "dhcp4_parser.yy"
+                           {
     ctx.unique("client-class", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2451 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2511 "dhcp4_parser.cc"
     break;
 
-  case 387:
-#line 1449 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr cls(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 387: // client_class: "client-class" $@62 ":" "constant string"
+#line 1449 "dhcp4_parser.yy"
+               {
+    ElementPtr cls(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("client-class", cls);
     ctx.leave();
 }
-#line 2461 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2521 "dhcp4_parser.cc"
     break;
 
-  case 388:
-#line 1455 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 388: // $@63: %empty
+#line 1455 "dhcp4_parser.yy"
+                                               {
     ctx.unique("require-client-classes", ctx.loc2pos(yystack_[0].location));
     ElementPtr c(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("require-client-classes", c);
     ctx.stack_.push_back(c);
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2473 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2533 "dhcp4_parser.cc"
     break;
 
-  case 389:
-#line 1461 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 389: // require_client_classes: "require-client-classes" $@63 ":" list_strings
+#line 1461 "dhcp4_parser.yy"
+                     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2482 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2542 "dhcp4_parser.cc"
     break;
 
-  case 390:
-#line 1466 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 390: // $@64: %empty
+#line 1466 "dhcp4_parser.yy"
+                                   {
     ctx.unique("reservation-mode", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.RESERVATION_MODE);
 }
-#line 2491 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2551 "dhcp4_parser.cc"
     break;
 
-  case 391:
-#line 1469 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set("reservation-mode", yystack_[0].value.as< ElementPtr > ());
+  case 391: // reservation_mode: "reservation-mode" $@64 ":" hr_mode
+#line 1469 "dhcp4_parser.yy"
+                {
+    ctx.stack_.back()->set("reservation-mode", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 2500 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2560 "dhcp4_parser.cc"
     break;
 
-  case 392:
-#line 1474 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("disabled", ctx.loc2pos(yystack_[0].location))); }
-#line 2506 "dhcp4_parser.cc" // lalr1.cc:859
+  case 392: // hr_mode: "disabled"
+#line 1474 "dhcp4_parser.yy"
+                  { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("disabled", ctx.loc2pos(yystack_[0].location))); }
+#line 2566 "dhcp4_parser.cc"
     break;
 
-  case 393:
-#line 1475 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("out-of-pool", ctx.loc2pos(yystack_[0].location))); }
-#line 2512 "dhcp4_parser.cc" // lalr1.cc:859
+  case 393: // hr_mode: "out-of-pool"
+#line 1475 "dhcp4_parser.yy"
+                     { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("out-of-pool", ctx.loc2pos(yystack_[0].location))); }
+#line 2572 "dhcp4_parser.cc"
     break;
 
-  case 394:
-#line 1476 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("global", ctx.loc2pos(yystack_[0].location))); }
-#line 2518 "dhcp4_parser.cc" // lalr1.cc:859
+  case 394: // hr_mode: "global"
+#line 1476 "dhcp4_parser.yy"
+                { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("global", ctx.loc2pos(yystack_[0].location))); }
+#line 2578 "dhcp4_parser.cc"
     break;
 
-  case 395:
-#line 1477 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("all", ctx.loc2pos(yystack_[0].location))); }
-#line 2524 "dhcp4_parser.cc" // lalr1.cc:859
+  case 395: // hr_mode: "all"
+#line 1477 "dhcp4_parser.yy"
+             { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("all", ctx.loc2pos(yystack_[0].location))); }
+#line 2584 "dhcp4_parser.cc"
     break;
 
-  case 396:
-#line 1480 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 396: // id: "id" ":" "integer"
+#line 1480 "dhcp4_parser.yy"
+                     {
     ctx.unique("id", ctx.loc2pos(yystack_[2].location));
-    ElementPtr id(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr id(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("id", id);
 }
-#line 2534 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2594 "dhcp4_parser.cc"
     break;
 
-  case 397:
-#line 1488 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 397: // $@65: %empty
+#line 1488 "dhcp4_parser.yy"
+                                 {
     ctx.unique("shared-networks", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("shared-networks", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.SHARED_NETWORK);
 }
-#line 2546 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2606 "dhcp4_parser.cc"
     break;
 
-  case 398:
-#line 1494 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 398: // shared_networks: "shared-networks" $@65 ":" "[" shared_networks_content "]"
+#line 1494 "dhcp4_parser.yy"
+                                                                {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2555 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2615 "dhcp4_parser.cc"
     break;
 
-  case 403:
-#line 1509 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 403: // $@66: %empty
+#line 1509 "dhcp4_parser.yy"
+                               {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2565 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2625 "dhcp4_parser.cc"
     break;
 
-  case 404:
-#line 1513 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 404: // shared_network: "{" $@66 shared_network_params "}"
+#line 1513 "dhcp4_parser.yy"
+                                       {
     ctx.stack_.pop_back();
 }
-#line 2573 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2633 "dhcp4_parser.cc"
     break;
 
-  case 444:
-#line 1564 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 444: // $@67: %empty
+#line 1564 "dhcp4_parser.yy"
+                            {
     ctx.unique("option-def", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("option-def", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.OPTION_DEF);
 }
-#line 2585 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2645 "dhcp4_parser.cc"
     break;
 
-  case 445:
-#line 1570 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 445: // option_def_list: "option-def" $@67 ":" "[" option_def_list_content "]"
+#line 1570 "dhcp4_parser.yy"
+                                                                {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2594 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2654 "dhcp4_parser.cc"
     break;
 
-  case 446:
-#line 1578 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 446: // $@68: %empty
+#line 1578 "dhcp4_parser.yy"
+                                    {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2603 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2663 "dhcp4_parser.cc"
     break;
 
-  case 447:
-#line 1581 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 447: // sub_option_def_list: "{" $@68 option_def_list "}"
+#line 1581 "dhcp4_parser.yy"
+                                 {
     // parsing completed
 }
-#line 2611 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2671 "dhcp4_parser.cc"
     break;
 
-  case 452:
-#line 1597 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 452: // $@69: %empty
+#line 1597 "dhcp4_parser.yy"
+                                 {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2621 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2681 "dhcp4_parser.cc"
     break;
 
-  case 453:
-#line 1601 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 453: // option_def_entry: "{" $@69 option_def_params "}"
+#line 1601 "dhcp4_parser.yy"
+                                   {
     // The name, code and type option def parameters are required.
     ctx.require("name", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.require("code", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2633 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2693 "dhcp4_parser.cc"
     break;
 
-  case 454:
-#line 1612 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 454: // $@70: %empty
+#line 1612 "dhcp4_parser.yy"
+                               {
     // Parse the option-def list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2643 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2703 "dhcp4_parser.cc"
     break;
 
-  case 455:
-#line 1616 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 455: // sub_option_def: "{" $@70 option_def_params "}"
+#line 1616 "dhcp4_parser.yy"
+                                   {
     // The name, code and type option def parameters are required.
     ctx.require("name", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.require("code", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 2655 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2715 "dhcp4_parser.cc"
     break;
 
-  case 471:
-#line 1648 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 471: // code: "code" ":" "integer"
+#line 1648 "dhcp4_parser.yy"
+                         {
     ctx.unique("code", ctx.loc2pos(yystack_[2].location));
-    ElementPtr code(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr code(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("code", code);
 }
-#line 2665 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2725 "dhcp4_parser.cc"
     break;
 
-  case 473:
-#line 1656 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 473: // $@71: %empty
+#line 1656 "dhcp4_parser.yy"
+                      {
     ctx.unique("type", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2674 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2734 "dhcp4_parser.cc"
     break;
 
-  case 474:
-#line 1659 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr prf(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 474: // option_def_type: "type" $@71 ":" "constant string"
+#line 1659 "dhcp4_parser.yy"
+               {
+    ElementPtr prf(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("type", prf);
     ctx.leave();
 }
-#line 2684 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2744 "dhcp4_parser.cc"
     break;
 
-  case 475:
-#line 1665 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 475: // $@72: %empty
+#line 1665 "dhcp4_parser.yy"
+                                      {
     ctx.unique("record-types", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2693 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2753 "dhcp4_parser.cc"
     break;
 
-  case 476:
-#line 1668 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr rtypes(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 476: // option_def_record_types: "record-types" $@72 ":" "constant string"
+#line 1668 "dhcp4_parser.yy"
+               {
+    ElementPtr rtypes(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("record-types", rtypes);
     ctx.leave();
 }
-#line 2703 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2763 "dhcp4_parser.cc"
     break;
 
-  case 477:
-#line 1674 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 477: // $@73: %empty
+#line 1674 "dhcp4_parser.yy"
+             {
     ctx.unique("space", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2712 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2772 "dhcp4_parser.cc"
     break;
 
-  case 478:
-#line 1677 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr space(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 478: // space: "space" $@73 ":" "constant string"
+#line 1677 "dhcp4_parser.yy"
+               {
+    ElementPtr space(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("space", space);
     ctx.leave();
 }
-#line 2722 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2782 "dhcp4_parser.cc"
     break;
 
-  case 480:
-#line 1685 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 480: // $@74: %empty
+#line 1685 "dhcp4_parser.yy"
+                                    {
     ctx.unique("encapsulate", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2731 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2791 "dhcp4_parser.cc"
     break;
 
-  case 481:
-#line 1688 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr encap(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 481: // option_def_encapsulate: "encapsulate" $@74 ":" "constant string"
+#line 1688 "dhcp4_parser.yy"
+               {
+    ElementPtr encap(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("encapsulate", encap);
     ctx.leave();
 }
-#line 2741 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2801 "dhcp4_parser.cc"
     break;
 
-  case 482:
-#line 1694 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 482: // option_def_array: "array" ":" "boolean"
+#line 1694 "dhcp4_parser.yy"
+                                      {
     ctx.unique("array", ctx.loc2pos(yystack_[2].location));
-    ElementPtr array(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr array(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("array", array);
 }
-#line 2751 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2811 "dhcp4_parser.cc"
     break;
 
-  case 483:
-#line 1704 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 483: // $@75: %empty
+#line 1704 "dhcp4_parser.yy"
+                              {
     ctx.unique("option-data", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("option-data", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.OPTION_DATA);
 }
-#line 2763 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2823 "dhcp4_parser.cc"
     break;
 
-  case 484:
-#line 1710 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 484: // option_data_list: "option-data" $@75 ":" "[" option_data_list_content "]"
+#line 1710 "dhcp4_parser.yy"
+                                                                 {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2772 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2832 "dhcp4_parser.cc"
     break;
 
-  case 489:
-#line 1729 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 489: // $@76: %empty
+#line 1729 "dhcp4_parser.yy"
+                                  {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2782 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2842 "dhcp4_parser.cc"
     break;
 
-  case 490:
-#line 1733 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 490: // option_data_entry: "{" $@76 option_data_params "}"
+#line 1733 "dhcp4_parser.yy"
+                                    {
     /// @todo: the code or name parameters are required.
     ctx.stack_.pop_back();
 }
-#line 2791 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2851 "dhcp4_parser.cc"
     break;
 
-  case 491:
-#line 1741 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 491: // $@77: %empty
+#line 1741 "dhcp4_parser.yy"
+                                {
     // Parse the option-data list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2801 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2861 "dhcp4_parser.cc"
     break;
 
-  case 492:
-#line 1745 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 492: // sub_option_data: "{" $@77 option_data_params "}"
+#line 1745 "dhcp4_parser.yy"
+                                    {
     /// @todo: the code or name parameters are required.
     // parsing completed
 }
-#line 2810 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2870 "dhcp4_parser.cc"
     break;
 
-  case 507:
-#line 1778 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 507: // $@78: %empty
+#line 1778 "dhcp4_parser.yy"
+                       {
     ctx.unique("data", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2819 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2879 "dhcp4_parser.cc"
     break;
 
-  case 508:
-#line 1781 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr data(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 508: // option_data_data: "data" $@78 ":" "constant string"
+#line 1781 "dhcp4_parser.yy"
+               {
+    ElementPtr data(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("data", data);
     ctx.leave();
 }
-#line 2829 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2889 "dhcp4_parser.cc"
     break;
 
-  case 511:
-#line 1791 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 511: // option_data_csv_format: "csv-format" ":" "boolean"
+#line 1791 "dhcp4_parser.yy"
+                                                 {
     ctx.unique("csv-format", ctx.loc2pos(yystack_[2].location));
-    ElementPtr space(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr space(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("csv-format", space);
 }
-#line 2839 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2899 "dhcp4_parser.cc"
     break;
 
-  case 512:
-#line 1797 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 512: // option_data_always_send: "always-send" ":" "boolean"
+#line 1797 "dhcp4_parser.yy"
+                                                   {
     ctx.unique("always-send", ctx.loc2pos(yystack_[2].location));
-    ElementPtr persist(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr persist(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("always-send", persist);
 }
-#line 2849 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2909 "dhcp4_parser.cc"
     break;
 
-  case 513:
-#line 1806 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 513: // $@79: %empty
+#line 1806 "dhcp4_parser.yy"
+                  {
     ctx.unique("pools", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("pools", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.POOLS);
 }
-#line 2861 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2921 "dhcp4_parser.cc"
     break;
 
-  case 514:
-#line 1812 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 514: // pools_list: "pools" $@79 ":" "[" pools_list_content "]"
+#line 1812 "dhcp4_parser.yy"
+                                                           {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2870 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2930 "dhcp4_parser.cc"
     break;
 
-  case 519:
-#line 1827 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 519: // $@80: %empty
+#line 1827 "dhcp4_parser.yy"
+                                {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2880 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2940 "dhcp4_parser.cc"
     break;
 
-  case 520:
-#line 1831 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 520: // pool_list_entry: "{" $@80 pool_params "}"
+#line 1831 "dhcp4_parser.yy"
+                             {
     // The pool parameter is required.
     ctx.require("pool", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2890 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2950 "dhcp4_parser.cc"
     break;
 
-  case 521:
-#line 1837 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 521: // $@81: %empty
+#line 1837 "dhcp4_parser.yy"
+                          {
     // Parse the pool list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2900 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2960 "dhcp4_parser.cc"
     break;
 
-  case 522:
-#line 1841 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 522: // sub_pool4: "{" $@81 pool_params "}"
+#line 1841 "dhcp4_parser.yy"
+                             {
     // The pool parameter is required.
     ctx.require("pool", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 2910 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2970 "dhcp4_parser.cc"
     break;
 
-  case 532:
-#line 1860 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 532: // $@82: %empty
+#line 1860 "dhcp4_parser.yy"
+                 {
     ctx.unique("pool", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2919 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2979 "dhcp4_parser.cc"
     break;
 
-  case 533:
-#line 1863 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr pool(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 533: // pool_entry: "pool" $@82 ":" "constant string"
+#line 1863 "dhcp4_parser.yy"
+               {
+    ElementPtr pool(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("pool", pool);
     ctx.leave();
 }
-#line 2929 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2989 "dhcp4_parser.cc"
     break;
 
-  case 534:
-#line 1869 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 534: // $@83: %empty
+#line 1869 "dhcp4_parser.yy"
+                           {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2937 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2997 "dhcp4_parser.cc"
     break;
 
-  case 535:
-#line 1871 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 535: // user_context: "user-context" $@83 ":" map_value
+#line 1871 "dhcp4_parser.yy"
+                  {
     ElementPtr parent = ctx.stack_.back();
-    ElementPtr user_context = yystack_[0].value.as< ElementPtr > ();
+    ElementPtr user_context = yystack_[0].value.as < ElementPtr > ();
     ConstElementPtr old = parent->get("user-context");
 
     // Handle already existing user context
@@ -2960,23 +3020,23 @@ namespace isc { namespace dhcp {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 2964 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3024 "dhcp4_parser.cc"
     break;
 
-  case 536:
-#line 1894 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 536: // $@84: %empty
+#line 1894 "dhcp4_parser.yy"
+                 {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2972 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3032 "dhcp4_parser.cc"
     break;
 
-  case 537:
-#line 1896 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 537: // comment: "comment" $@84 ":" "constant string"
+#line 1896 "dhcp4_parser.yy"
+               {
     ElementPtr parent = ctx.stack_.back();
     ElementPtr user_context(new MapElement(ctx.loc2pos(yystack_[3].location)));
-    ElementPtr comment(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr comment(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     user_context->set("comment", comment);
 
     // Handle already existing user context
@@ -2997,1092 +3057,1096 @@ namespace isc { namespace dhcp {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 3001 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3061 "dhcp4_parser.cc"
     break;
 
-  case 538:
-#line 1924 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 538: // $@85: %empty
+#line 1924 "dhcp4_parser.yy"
+                           {
     ctx.unique("reservations", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("reservations", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.RESERVATIONS);
 }
-#line 3013 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3073 "dhcp4_parser.cc"
     break;
 
-  case 539:
-#line 1930 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 539: // reservations: "reservations" $@85 ":" "[" reservations_list "]"
+#line 1930 "dhcp4_parser.yy"
+                                                          {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3022 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3082 "dhcp4_parser.cc"
     break;
 
-  case 544:
-#line 1943 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 544: // $@86: %empty
+#line 1943 "dhcp4_parser.yy"
+                            {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 3032 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3092 "dhcp4_parser.cc"
     break;
 
-  case 545:
-#line 1947 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 545: // reservation: "{" $@86 reservation_params "}"
+#line 1947 "dhcp4_parser.yy"
+                                    {
     /// @todo: an identifier parameter is required.
     ctx.stack_.pop_back();
 }
-#line 3041 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3101 "dhcp4_parser.cc"
     break;
 
-  case 546:
-#line 1952 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 546: // $@87: %empty
+#line 1952 "dhcp4_parser.yy"
+                                {
     // Parse the reservations list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3051 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3111 "dhcp4_parser.cc"
     break;
 
-  case 547:
-#line 1956 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 547: // sub_reservation: "{" $@87 reservation_params "}"
+#line 1956 "dhcp4_parser.yy"
+                                    {
     /// @todo: an identifier parameter is required.
     // parsing completed
 }
-#line 3060 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3120 "dhcp4_parser.cc"
     break;
 
-  case 567:
-#line 1987 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 567: // $@88: %empty
+#line 1987 "dhcp4_parser.yy"
+                         {
     ctx.unique("next-server", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3069 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3129 "dhcp4_parser.cc"
     break;
 
-  case 568:
-#line 1990 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr next_server(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 568: // next_server: "next-server" $@88 ":" "constant string"
+#line 1990 "dhcp4_parser.yy"
+               {
+    ElementPtr next_server(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("next-server", next_server);
     ctx.leave();
 }
-#line 3079 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3139 "dhcp4_parser.cc"
     break;
 
-  case 569:
-#line 1996 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 569: // $@89: %empty
+#line 1996 "dhcp4_parser.yy"
+                                 {
     ctx.unique("server-hostname", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3088 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3148 "dhcp4_parser.cc"
     break;
 
-  case 570:
-#line 1999 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr srv(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 570: // server_hostname: "server-hostname" $@89 ":" "constant string"
+#line 1999 "dhcp4_parser.yy"
+               {
+    ElementPtr srv(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("server-hostname", srv);
     ctx.leave();
 }
-#line 3098 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3158 "dhcp4_parser.cc"
     break;
 
-  case 571:
-#line 2005 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 571: // $@90: %empty
+#line 2005 "dhcp4_parser.yy"
+                               {
     ctx.unique("boot-file-name", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3107 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3167 "dhcp4_parser.cc"
     break;
 
-  case 572:
-#line 2008 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr bootfile(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 572: // boot_file_name: "boot-file-name" $@90 ":" "constant string"
+#line 2008 "dhcp4_parser.yy"
+               {
+    ElementPtr bootfile(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("boot-file-name", bootfile);
     ctx.leave();
 }
-#line 3117 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3177 "dhcp4_parser.cc"
     break;
 
-  case 573:
-#line 2014 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 573: // $@91: %empty
+#line 2014 "dhcp4_parser.yy"
+                       {
     ctx.unique("ip-address", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3126 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3186 "dhcp4_parser.cc"
     break;
 
-  case 574:
-#line 2017 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr addr(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 574: // ip_address: "ip-address" $@91 ":" "constant string"
+#line 2017 "dhcp4_parser.yy"
+               {
+    ElementPtr addr(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ip-address", addr);
     ctx.leave();
 }
-#line 3136 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3196 "dhcp4_parser.cc"
     break;
 
-  case 575:
-#line 2023 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 575: // $@92: %empty
+#line 2023 "dhcp4_parser.yy"
+                           {
     ctx.unique("ip-addresses", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ip-addresses", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3148 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3208 "dhcp4_parser.cc"
     break;
 
-  case 576:
-#line 2029 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 576: // ip_addresses: "ip-addresses" $@92 ":" list_strings
+#line 2029 "dhcp4_parser.yy"
+                     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3157 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3217 "dhcp4_parser.cc"
     break;
 
-  case 577:
-#line 2034 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 577: // $@93: %empty
+#line 2034 "dhcp4_parser.yy"
+           {
     ctx.unique("duid", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3166 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3226 "dhcp4_parser.cc"
     break;
 
-  case 578:
-#line 2037 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr d(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 578: // duid: "duid" $@93 ":" "constant string"
+#line 2037 "dhcp4_parser.yy"
+               {
+    ElementPtr d(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("duid", d);
     ctx.leave();
 }
-#line 3176 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3236 "dhcp4_parser.cc"
     break;
 
-  case 579:
-#line 2043 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 579: // $@94: %empty
+#line 2043 "dhcp4_parser.yy"
+                       {
     ctx.unique("hw-address", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3185 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3245 "dhcp4_parser.cc"
     break;
 
-  case 580:
-#line 2046 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr hw(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 580: // hw_address: "hw-address" $@94 ":" "constant string"
+#line 2046 "dhcp4_parser.yy"
+               {
+    ElementPtr hw(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hw-address", hw);
     ctx.leave();
 }
-#line 3195 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3255 "dhcp4_parser.cc"
     break;
 
-  case 581:
-#line 2052 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 581: // $@95: %empty
+#line 2052 "dhcp4_parser.yy"
+                           {
     ctx.unique("client-id", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3204 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3264 "dhcp4_parser.cc"
     break;
 
-  case 582:
-#line 2055 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr hw(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 582: // client_id_value: "client-id" $@95 ":" "constant string"
+#line 2055 "dhcp4_parser.yy"
+               {
+    ElementPtr hw(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("client-id", hw);
     ctx.leave();
 }
-#line 3214 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3274 "dhcp4_parser.cc"
     break;
 
-  case 583:
-#line 2061 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 583: // $@96: %empty
+#line 2061 "dhcp4_parser.yy"
+                             {
     ctx.unique("circuit-id", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3223 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3283 "dhcp4_parser.cc"
     break;
 
-  case 584:
-#line 2064 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr hw(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 584: // circuit_id_value: "circuit-id" $@96 ":" "constant string"
+#line 2064 "dhcp4_parser.yy"
+               {
+    ElementPtr hw(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("circuit-id", hw);
     ctx.leave();
 }
-#line 3233 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3293 "dhcp4_parser.cc"
     break;
 
-  case 585:
-#line 2070 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 585: // $@97: %empty
+#line 2070 "dhcp4_parser.yy"
+                       {
     ctx.unique("flex-id", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3242 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3302 "dhcp4_parser.cc"
     break;
 
-  case 586:
-#line 2073 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr hw(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 586: // flex_id_value: "flex-id" $@97 ":" "constant string"
+#line 2073 "dhcp4_parser.yy"
+               {
+    ElementPtr hw(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("flex-id", hw);
     ctx.leave();
 }
-#line 3252 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3312 "dhcp4_parser.cc"
     break;
 
-  case 587:
-#line 2079 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 587: // $@98: %empty
+#line 2079 "dhcp4_parser.yy"
+                   {
     ctx.unique("hostname", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3261 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3321 "dhcp4_parser.cc"
     break;
 
-  case 588:
-#line 2082 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr host(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 588: // hostname: "hostname" $@98 ":" "constant string"
+#line 2082 "dhcp4_parser.yy"
+               {
+    ElementPtr host(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hostname", host);
     ctx.leave();
 }
-#line 3271 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3331 "dhcp4_parser.cc"
     break;
 
-  case 589:
-#line 2088 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 589: // $@99: %empty
+#line 2088 "dhcp4_parser.yy"
+                                           {
     ctx.unique("client-classes", ctx.loc2pos(yystack_[0].location));
     ElementPtr c(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("client-classes", c);
     ctx.stack_.push_back(c);
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3283 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3343 "dhcp4_parser.cc"
     break;
 
-  case 590:
-#line 2094 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 590: // reservation_client_classes: "client-classes" $@99 ":" list_strings
+#line 2094 "dhcp4_parser.yy"
+                     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3292 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3352 "dhcp4_parser.cc"
     break;
 
-  case 591:
-#line 2102 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 591: // $@100: %empty
+#line 2102 "dhcp4_parser.yy"
+             {
     ctx.unique("relay", ctx.loc2pos(yystack_[0].location));
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("relay", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.RELAY);
 }
-#line 3304 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3364 "dhcp4_parser.cc"
     break;
 
-  case 592:
-#line 2108 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 592: // relay: "relay" $@100 ":" "{" relay_map "}"
+#line 2108 "dhcp4_parser.yy"
+                                                {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3313 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3373 "dhcp4_parser.cc"
     break;
 
-  case 595:
-#line 2120 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 595: // $@101: %empty
+#line 2120 "dhcp4_parser.yy"
+                               {
     ctx.unique("client-classes", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("client-classes", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.CLIENT_CLASSES);
 }
-#line 3325 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3385 "dhcp4_parser.cc"
     break;
 
-  case 596:
-#line 2126 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 596: // client_classes: "client-classes" $@101 ":" "[" client_classes_list "]"
+#line 2126 "dhcp4_parser.yy"
+                                                            {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3334 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3394 "dhcp4_parser.cc"
     break;
 
-  case 599:
-#line 2135 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 599: // $@102: %empty
+#line 2135 "dhcp4_parser.yy"
+                                   {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 3344 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3404 "dhcp4_parser.cc"
     break;
 
-  case 600:
-#line 2139 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 600: // client_class_entry: "{" $@102 client_class_params "}"
+#line 2139 "dhcp4_parser.yy"
+                                     {
     // The name client class parameter is required.
     ctx.require("name", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 3354 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3414 "dhcp4_parser.cc"
     break;
 
-  case 617:
-#line 2168 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 617: // $@103: %empty
+#line 2168 "dhcp4_parser.yy"
+                        {
     ctx.unique("test", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3363 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3423 "dhcp4_parser.cc"
     break;
 
-  case 618:
-#line 2171 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr test(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 618: // client_class_test: "test" $@103 ":" "constant string"
+#line 2171 "dhcp4_parser.yy"
+               {
+    ElementPtr test(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("test", test);
     ctx.leave();
 }
-#line 3373 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3433 "dhcp4_parser.cc"
     break;
 
-  case 619:
-#line 2177 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 619: // only_if_required: "only-if-required" ":" "boolean"
+#line 2177 "dhcp4_parser.yy"
+                                                 {
     ctx.unique("only-if-required", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("only-if-required", b);
 }
-#line 3383 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3443 "dhcp4_parser.cc"
     break;
 
-  case 620:
-#line 2185 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 620: // dhcp4o6_port: "dhcp4o6-port" ":" "integer"
+#line 2185 "dhcp4_parser.yy"
+                                         {
     ctx.unique("dhcp4o6-port", ctx.loc2pos(yystack_[2].location));
-    ElementPtr time(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr time(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("dhcp4o6-port", time);
 }
-#line 3393 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3453 "dhcp4_parser.cc"
     break;
 
-  case 621:
-#line 2193 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 621: // $@104: %empty
+#line 2193 "dhcp4_parser.yy"
+                               {
     ctx.unique("control-socket", ctx.loc2pos(yystack_[0].location));
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("control-socket", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.CONTROL_SOCKET);
 }
-#line 3405 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3465 "dhcp4_parser.cc"
     break;
 
-  case 622:
-#line 2199 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 622: // control_socket: "control-socket" $@104 ":" "{" control_socket_params "}"
+#line 2199 "dhcp4_parser.yy"
+                                                            {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3414 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3474 "dhcp4_parser.cc"
     break;
 
-  case 630:
-#line 2215 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 630: // $@105: %empty
+#line 2215 "dhcp4_parser.yy"
+                                 {
     ctx.unique("socket-type", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3423 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3483 "dhcp4_parser.cc"
     break;
 
-  case 631:
-#line 2218 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr stype(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 631: // control_socket_type: "socket-type" $@105 ":" "constant string"
+#line 2218 "dhcp4_parser.yy"
+               {
+    ElementPtr stype(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("socket-type", stype);
     ctx.leave();
 }
-#line 3433 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3493 "dhcp4_parser.cc"
     break;
 
-  case 632:
-#line 2224 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 632: // $@106: %empty
+#line 2224 "dhcp4_parser.yy"
+                                 {
     ctx.unique("socket-name", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3442 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3502 "dhcp4_parser.cc"
     break;
 
-  case 633:
-#line 2227 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 633: // control_socket_name: "socket-name" $@106 ":" "constant string"
+#line 2227 "dhcp4_parser.yy"
+               {
+    ElementPtr name(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("socket-name", name);
     ctx.leave();
 }
-#line 3452 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3512 "dhcp4_parser.cc"
     break;
 
-  case 634:
-#line 2236 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 634: // $@107: %empty
+#line 2236 "dhcp4_parser.yy"
+                                       {
     ctx.unique("dhcp-queue-control", ctx.loc2pos(yystack_[0].location));
     ElementPtr qc(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("dhcp-queue-control", qc);
     ctx.stack_.push_back(qc);
     ctx.enter(ctx.DHCP_QUEUE_CONTROL);
 }
-#line 3464 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3524 "dhcp4_parser.cc"
     break;
 
-  case 635:
-#line 2242 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 635: // dhcp_queue_control: "dhcp-queue-control" $@107 ":" "{" queue_control_params "}"
+#line 2242 "dhcp4_parser.yy"
+                                                           {
     // The enable queue parameter is required.
     ctx.require("enable-queue", ctx.loc2pos(yystack_[2].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3475 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3535 "dhcp4_parser.cc"
     break;
 
-  case 644:
-#line 2261 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 644: // enable_queue: "enable-queue" ":" "boolean"
+#line 2261 "dhcp4_parser.yy"
+                                         {
     ctx.unique("enable-queue", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("enable-queue", b);
 }
-#line 3485 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3545 "dhcp4_parser.cc"
     break;
 
-  case 645:
-#line 2267 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 645: // $@108: %empty
+#line 2267 "dhcp4_parser.yy"
+                       {
     ctx.unique("queue-type", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3494 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3554 "dhcp4_parser.cc"
     break;
 
-  case 646:
-#line 2270 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr qt(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 646: // queue_type: "queue-type" $@108 ":" "constant string"
+#line 2270 "dhcp4_parser.yy"
+               {
+    ElementPtr qt(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("queue-type", qt);
     ctx.leave();
 }
-#line 3504 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3564 "dhcp4_parser.cc"
     break;
 
-  case 647:
-#line 2276 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 647: // capacity: "capacity" ":" "integer"
+#line 2276 "dhcp4_parser.yy"
+                                 {
     ctx.unique("capacity", ctx.loc2pos(yystack_[2].location));
-    ElementPtr c(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr c(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("capacity", c);
 }
-#line 3514 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3574 "dhcp4_parser.cc"
     break;
 
-  case 648:
-#line 2282 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ctx.unique(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location));
+  case 648: // $@109: %empty
+#line 2282 "dhcp4_parser.yy"
+                            {
+    ctx.unique(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3523 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3583 "dhcp4_parser.cc"
     break;
 
-  case 649:
-#line 2285 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set(yystack_[3].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
+  case 649: // arbitrary_map_entry: "constant string" $@109 ":" value
+#line 2285 "dhcp4_parser.yy"
+              {
+    ctx.stack_.back()->set(yystack_[3].value.as < std::string > (), yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3532 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3592 "dhcp4_parser.cc"
     break;
 
-  case 650:
-#line 2292 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 650: // $@110: %empty
+#line 2292 "dhcp4_parser.yy"
+                     {
     ctx.unique("dhcp-ddns", ctx.loc2pos(yystack_[0].location));
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("dhcp-ddns", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.DHCP_DDNS);
 }
-#line 3544 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3604 "dhcp4_parser.cc"
     break;
 
-  case 651:
-#line 2298 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 651: // dhcp_ddns: "dhcp-ddns" $@110 ":" "{" dhcp_ddns_params "}"
+#line 2298 "dhcp4_parser.yy"
+                                                       {
     // The enable updates DHCP DDNS parameter is required.
     ctx.require("enable-updates", ctx.loc2pos(yystack_[2].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3555 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3615 "dhcp4_parser.cc"
     break;
 
-  case 652:
-#line 2305 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 652: // $@111: %empty
+#line 2305 "dhcp4_parser.yy"
+                              {
     // Parse the dhcp-ddns map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3565 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3625 "dhcp4_parser.cc"
     break;
 
-  case 653:
-#line 2309 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 653: // sub_dhcp_ddns: "{" $@111 dhcp_ddns_params "}"
+#line 2309 "dhcp4_parser.yy"
+                                  {
     // The enable updates DHCP DDNS parameter is required.
     ctx.require("enable-updates", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 3575 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3635 "dhcp4_parser.cc"
     break;
 
-  case 674:
-#line 2339 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 674: // enable_updates: "enable-updates" ":" "boolean"
+#line 2339 "dhcp4_parser.yy"
+                                             {
     ctx.unique("enable-updates", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("enable-updates", b);
 }
-#line 3585 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3645 "dhcp4_parser.cc"
     break;
 
-  case 675:
-#line 2345 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 675: // $@112: %empty
+#line 2345 "dhcp4_parser.yy"
+                     {
     ctx.unique("server-ip", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3594 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3654 "dhcp4_parser.cc"
     break;
 
-  case 676:
-#line 2348 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 676: // server_ip: "server-ip" $@112 ":" "constant string"
+#line 2348 "dhcp4_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("server-ip", s);
     ctx.leave();
 }
-#line 3604 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3664 "dhcp4_parser.cc"
     break;
 
-  case 677:
-#line 2354 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 677: // server_port: "server-port" ":" "integer"
+#line 2354 "dhcp4_parser.yy"
+                                       {
     ctx.unique("server-port", ctx.loc2pos(yystack_[2].location));
-    ElementPtr i(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr i(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("server-port", i);
 }
-#line 3614 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3674 "dhcp4_parser.cc"
     break;
 
-  case 678:
-#line 2360 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 678: // $@113: %empty
+#line 2360 "dhcp4_parser.yy"
+                     {
     ctx.unique("sender-ip", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3623 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3683 "dhcp4_parser.cc"
     break;
 
-  case 679:
-#line 2363 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 679: // sender_ip: "sender-ip" $@113 ":" "constant string"
+#line 2363 "dhcp4_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("sender-ip", s);
     ctx.leave();
 }
-#line 3633 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3693 "dhcp4_parser.cc"
     break;
 
-  case 680:
-#line 2369 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 680: // sender_port: "sender-port" ":" "integer"
+#line 2369 "dhcp4_parser.yy"
+                                       {
     ctx.unique("sender-port", ctx.loc2pos(yystack_[2].location));
-    ElementPtr i(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr i(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("sender-port", i);
 }
-#line 3643 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3703 "dhcp4_parser.cc"
     break;
 
-  case 681:
-#line 2375 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 681: // max_queue_size: "max-queue-size" ":" "integer"
+#line 2375 "dhcp4_parser.yy"
+                                             {
     ctx.unique("max-queue-size", ctx.loc2pos(yystack_[2].location));
-    ElementPtr i(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr i(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-queue-size", i);
 }
-#line 3653 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3713 "dhcp4_parser.cc"
     break;
 
-  case 682:
-#line 2381 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 682: // $@114: %empty
+#line 2381 "dhcp4_parser.yy"
+                           {
     ctx.unique("ncr-protocol", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NCR_PROTOCOL);
 }
-#line 3662 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3722 "dhcp4_parser.cc"
     break;
 
-  case 683:
-#line 2384 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set("ncr-protocol", yystack_[0].value.as< ElementPtr > ());
+  case 683: // ncr_protocol: "ncr-protocol" $@114 ":" ncr_protocol_value
+#line 2384 "dhcp4_parser.yy"
+                           {
+    ctx.stack_.back()->set("ncr-protocol", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3671 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3731 "dhcp4_parser.cc"
     break;
 
-  case 684:
-#line 2390 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("UDP", ctx.loc2pos(yystack_[0].location))); }
-#line 3677 "dhcp4_parser.cc" // lalr1.cc:859
+  case 684: // ncr_protocol_value: "udp"
+#line 2390 "dhcp4_parser.yy"
+        { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("UDP", ctx.loc2pos(yystack_[0].location))); }
+#line 3737 "dhcp4_parser.cc"
     break;
 
-  case 685:
-#line 2391 "dhcp4_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("TCP", ctx.loc2pos(yystack_[0].location))); }
-#line 3683 "dhcp4_parser.cc" // lalr1.cc:859
+  case 685: // ncr_protocol_value: "tcp"
+#line 2391 "dhcp4_parser.yy"
+        { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("TCP", ctx.loc2pos(yystack_[0].location))); }
+#line 3743 "dhcp4_parser.cc"
     break;
 
-  case 686:
-#line 2394 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 686: // $@115: %empty
+#line 2394 "dhcp4_parser.yy"
+                       {
     ctx.unique("ncr-format", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NCR_FORMAT);
 }
-#line 3692 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3752 "dhcp4_parser.cc"
     break;
 
-  case 687:
-#line 2397 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 687: // ncr_format: "ncr-format" $@115 ":" "JSON"
+#line 2397 "dhcp4_parser.yy"
+             {
     ElementPtr json(new StringElement("JSON", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ncr-format", json);
     ctx.leave();
 }
-#line 3702 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3762 "dhcp4_parser.cc"
     break;
 
-  case 688:
-#line 2404 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 688: // $@116: %empty
+#line 2404 "dhcp4_parser.yy"
+                                         {
     ctx.unique("qualifying-suffix", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3711 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3771 "dhcp4_parser.cc"
     break;
 
-  case 689:
-#line 2407 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 689: // dep_qualifying_suffix: "qualifying-suffix" $@116 ":" "constant string"
+#line 2407 "dhcp4_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("qualifying-suffix", s);
     ctx.leave();
 }
-#line 3721 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3781 "dhcp4_parser.cc"
     break;
 
-  case 690:
-#line 2414 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 690: // dep_override_no_update: "override-no-update" ":" "boolean"
+#line 2414 "dhcp4_parser.yy"
+                                                         {
     ctx.unique("override-no-update", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("override-no-update", b);
 }
-#line 3731 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3791 "dhcp4_parser.cc"
     break;
 
-  case 691:
-#line 2421 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 691: // dep_override_client_update: "override-client-update" ":" "boolean"
+#line 2421 "dhcp4_parser.yy"
+                                                                 {
     ctx.unique("override-client-update", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("override-client-update", b);
 }
-#line 3741 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3801 "dhcp4_parser.cc"
     break;
 
-  case 692:
-#line 2428 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 692: // $@117: %empty
+#line 2428 "dhcp4_parser.yy"
+                                             {
     ctx.unique("replace-client-name", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.REPLACE_CLIENT_NAME);
 }
-#line 3750 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3810 "dhcp4_parser.cc"
     break;
 
-  case 693:
-#line 2431 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set("replace-client-name", yystack_[0].value.as< ElementPtr > ());
+  case 693: // dep_replace_client_name: "replace-client-name" $@117 ":" ddns_replace_client_name_value
+#line 2431 "dhcp4_parser.yy"
+                                       {
+    ctx.stack_.back()->set("replace-client-name", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3759 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3819 "dhcp4_parser.cc"
     break;
 
-  case 694:
-#line 2437 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 694: // $@118: %empty
+#line 2437 "dhcp4_parser.yy"
+                                       {
     ctx.unique("generated-prefix", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3768 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3828 "dhcp4_parser.cc"
     break;
 
-  case 695:
-#line 2440 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 695: // dep_generated_prefix: "generated-prefix" $@118 ":" "constant string"
+#line 2440 "dhcp4_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("generated-prefix", s);
     ctx.leave();
 }
-#line 3778 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3838 "dhcp4_parser.cc"
     break;
 
-  case 696:
-#line 2447 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 696: // $@119: %empty
+#line 2447 "dhcp4_parser.yy"
+                                         {
     ctx.unique("hostname-char-set", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3787 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3847 "dhcp4_parser.cc"
     break;
 
-  case 697:
-#line 2450 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 697: // dep_hostname_char_set: "hostname-char-set" $@119 ":" "constant string"
+#line 2450 "dhcp4_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hostname-char-set", s);
     ctx.leave();
 }
-#line 3797 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3857 "dhcp4_parser.cc"
     break;
 
-  case 698:
-#line 2457 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 698: // $@120: %empty
+#line 2457 "dhcp4_parser.yy"
+                                                         {
     ctx.unique("hostname-char-replacement", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3806 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3866 "dhcp4_parser.cc"
     break;
 
-  case 699:
-#line 2460 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 699: // dep_hostname_char_replacement: "hostname-char-replacement" $@120 ":" "constant string"
+#line 2460 "dhcp4_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hostname-char-replacement", s);
     ctx.leave();
 }
-#line 3816 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3876 "dhcp4_parser.cc"
     break;
 
-  case 700:
-#line 2469 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 700: // $@121: %empty
+#line 2469 "dhcp4_parser.yy"
+                               {
     ctx.unique("config-control", ctx.loc2pos(yystack_[0].location));
     ElementPtr i(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("config-control", i);
     ctx.stack_.push_back(i);
     ctx.enter(ctx.CONFIG_CONTROL);
 }
-#line 3828 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3888 "dhcp4_parser.cc"
     break;
 
-  case 701:
-#line 2475 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 701: // config_control: "config-control" $@121 ":" "{" config_control_params "}"
+#line 2475 "dhcp4_parser.yy"
+                                                            {
     // No config control params are required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3838 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3898 "dhcp4_parser.cc"
     break;
 
-  case 702:
-#line 2481 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 702: // $@122: %empty
+#line 2481 "dhcp4_parser.yy"
+                                   {
     // Parse the config-control map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3848 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3908 "dhcp4_parser.cc"
     break;
 
-  case 703:
-#line 2485 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 703: // sub_config_control: "{" $@122 config_control_params "}"
+#line 2485 "dhcp4_parser.yy"
+                                       {
     // No config_control params are required
     // parsing completed
 }
-#line 3857 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3917 "dhcp4_parser.cc"
     break;
 
-  case 708:
-#line 2500 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 708: // $@123: %empty
+#line 2500 "dhcp4_parser.yy"
+                                   {
     ctx.unique("config-databases", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("config-databases", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.CONFIG_DATABASE);
 }
-#line 3869 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3929 "dhcp4_parser.cc"
     break;
 
-  case 709:
-#line 2506 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 709: // config_databases: "config-databases" $@123 ":" "[" database_list "]"
+#line 2506 "dhcp4_parser.yy"
+                                                      {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3878 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3938 "dhcp4_parser.cc"
     break;
 
-  case 710:
-#line 2511 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 710: // config_fetch_wait_time: "config-fetch-wait-time" ":" "integer"
+#line 2511 "dhcp4_parser.yy"
+                                                             {
     ctx.unique("config-fetch-wait-time", ctx.loc2pos(yystack_[2].location));
-    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("config-fetch-wait-time", value);
 }
-#line 3888 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3948 "dhcp4_parser.cc"
     break;
 
-  case 711:
-#line 2519 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 711: // $@124: %empty
+#line 2519 "dhcp4_parser.yy"
+                 {
     ctx.unique("loggers", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("loggers", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.LOGGERS);
 }
-#line 3900 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3960 "dhcp4_parser.cc"
     break;
 
-  case 712:
-#line 2525 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 712: // loggers: "loggers" $@124 ":" "[" loggers_entries "]"
+#line 2525 "dhcp4_parser.yy"
+                                                         {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3909 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3969 "dhcp4_parser.cc"
     break;
 
-  case 715:
-#line 2537 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 715: // $@125: %empty
+#line 2537 "dhcp4_parser.yy"
+                             {
     ElementPtr l(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(l);
     ctx.stack_.push_back(l);
 }
-#line 3919 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3979 "dhcp4_parser.cc"
     break;
 
-  case 716:
-#line 2541 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 716: // logger_entry: "{" $@125 logger_params "}"
+#line 2541 "dhcp4_parser.yy"
+                               {
     ctx.stack_.pop_back();
 }
-#line 3927 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3987 "dhcp4_parser.cc"
     break;
 
-  case 726:
-#line 2558 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 726: // debuglevel: "debuglevel" ":" "integer"
+#line 2558 "dhcp4_parser.yy"
+                                     {
     ctx.unique("debuglevel", ctx.loc2pos(yystack_[2].location));
-    ElementPtr dl(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr dl(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("debuglevel", dl);
 }
-#line 3937 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3997 "dhcp4_parser.cc"
     break;
 
-  case 727:
-#line 2564 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 727: // $@126: %empty
+#line 2564 "dhcp4_parser.yy"
+                   {
     ctx.unique("severity", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3946 "dhcp4_parser.cc" // lalr1.cc:859
+#line 4006 "dhcp4_parser.cc"
     break;
 
-  case 728:
-#line 2567 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 728: // severity: "severity" $@126 ":" "constant string"
+#line 2567 "dhcp4_parser.yy"
+               {
+    ElementPtr sev(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("severity", sev);
     ctx.leave();
 }
-#line 3956 "dhcp4_parser.cc" // lalr1.cc:859
+#line 4016 "dhcp4_parser.cc"
     break;
 
-  case 729:
-#line 2573 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 729: // $@127: %empty
+#line 2573 "dhcp4_parser.yy"
+                                    {
     ctx.unique("output_options", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("output_options", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.OUTPUT_OPTIONS);
 }
-#line 3968 "dhcp4_parser.cc" // lalr1.cc:859
+#line 4028 "dhcp4_parser.cc"
     break;
 
-  case 730:
-#line 2579 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 730: // output_options_list: "output_options" $@127 ":" "[" output_options_list_content "]"
+#line 2579 "dhcp4_parser.yy"
+                                                                    {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3977 "dhcp4_parser.cc" // lalr1.cc:859
+#line 4037 "dhcp4_parser.cc"
     break;
 
-  case 733:
-#line 2588 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 733: // $@128: %empty
+#line 2588 "dhcp4_parser.yy"
+                             {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 3987 "dhcp4_parser.cc" // lalr1.cc:859
+#line 4047 "dhcp4_parser.cc"
     break;
 
-  case 734:
-#line 2592 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 734: // output_entry: "{" $@128 output_params_list "}"
+#line 2592 "dhcp4_parser.yy"
+                                    {
     ctx.stack_.pop_back();
 }
-#line 3995 "dhcp4_parser.cc" // lalr1.cc:859
+#line 4055 "dhcp4_parser.cc"
     break;
 
-  case 742:
-#line 2607 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 742: // $@129: %empty
+#line 2607 "dhcp4_parser.yy"
+               {
     ctx.unique("output", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 4004 "dhcp4_parser.cc" // lalr1.cc:859
+#line 4064 "dhcp4_parser.cc"
     break;
 
-  case 743:
-#line 2610 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 743: // output: "output" $@129 ":" "constant string"
+#line 2610 "dhcp4_parser.yy"
+               {
+    ElementPtr sev(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("output", sev);
     ctx.leave();
 }
-#line 4014 "dhcp4_parser.cc" // lalr1.cc:859
+#line 4074 "dhcp4_parser.cc"
     break;
 
-  case 744:
-#line 2616 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 744: // flush: "flush" ":" "boolean"
+#line 2616 "dhcp4_parser.yy"
+                           {
     ctx.unique("flush", ctx.loc2pos(yystack_[2].location));
-    ElementPtr flush(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr flush(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("flush", flush);
 }
-#line 4024 "dhcp4_parser.cc" // lalr1.cc:859
+#line 4084 "dhcp4_parser.cc"
     break;
 
-  case 745:
-#line 2622 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 745: // maxsize: "maxsize" ":" "integer"
+#line 2622 "dhcp4_parser.yy"
+                               {
     ctx.unique("maxsize", ctx.loc2pos(yystack_[2].location));
-    ElementPtr maxsize(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr maxsize(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("maxsize", maxsize);
 }
-#line 4034 "dhcp4_parser.cc" // lalr1.cc:859
+#line 4094 "dhcp4_parser.cc"
     break;
 
-  case 746:
-#line 2628 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 746: // maxver: "maxver" ":" "integer"
+#line 2628 "dhcp4_parser.yy"
+                             {
     ctx.unique("maxver", ctx.loc2pos(yystack_[2].location));
-    ElementPtr maxver(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr maxver(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("maxver", maxver);
 }
-#line 4044 "dhcp4_parser.cc" // lalr1.cc:859
+#line 4104 "dhcp4_parser.cc"
     break;
 
-  case 747:
-#line 2634 "dhcp4_parser.yy" // lalr1.cc:859
-    {
+  case 747: // $@130: %empty
+#line 2634 "dhcp4_parser.yy"
+                 {
     ctx.unique("pattern", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 4053 "dhcp4_parser.cc" // lalr1.cc:859
+#line 4113 "dhcp4_parser.cc"
     break;
 
-  case 748:
-#line 2637 "dhcp4_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 748: // pattern: "pattern" $@130 ":" "constant string"
+#line 2637 "dhcp4_parser.yy"
+               {
+    ElementPtr sev(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("pattern", sev);
     ctx.leave();
 }
-#line 4063 "dhcp4_parser.cc" // lalr1.cc:859
+#line 4123 "dhcp4_parser.cc"
     break;
 
 
-#line 4067 "dhcp4_parser.cc" // lalr1.cc:859
+#line 4127 "dhcp4_parser.cc"
+
             default:
               break;
             }
         }
+#if YY_EXCEPTIONS
       catch (const syntax_error& yyexc)
         {
+          YYCDEBUG << "Caught exception: " << yyexc.what() << '\n';
           error (yyexc);
           YYERROR;
         }
+#endif // YY_EXCEPTIONS
       YY_SYMBOL_PRINT ("-> $$ =", yylhs);
       yypop_ (yylen);
       yylen = 0;
-      YY_STACK_PRINT ();
 
       // Shift the result of the reduction.
-      yypush_ (YY_NULLPTR, yylhs);
+      yypush_ (YY_NULLPTR, YY_MOVE (yylhs));
     }
     goto yynewstate;
 
+
   /*--------------------------------------.
   | yyerrlab -- here on detecting error.  |
   `--------------------------------------*/
@@ -4091,7 +4155,9 @@ namespace isc { namespace dhcp {
     if (!yyerrstatus_)
       {
         ++yynerrs_;
-        error (yyla.location, yysyntax_error_ (yystack_[0].state, yyla));
+        context yyctx (*this, yyla);
+        std::string msg = yysyntax_error_ (yyctx);
+        error (yyla.location, YY_MOVE (msg));
       }
 
 
@@ -4102,7 +4168,7 @@ namespace isc { namespace dhcp {
            error, discard it.  */
 
         // Return failure if at end of input.
-        if (yyla.type_get () == yyeof_)
+        if (yyla.kind () == symbol_kind::S_YYEOF)
           YYABORT;
         else if (!yyla.empty ())
           {
@@ -4119,69 +4185,81 @@ namespace isc { namespace dhcp {
   | 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.  */
+    /* Pacify compilers when the user code never invokes YYERROR and
+       the label yyerrorlab therefore never appears in user code.  */
     if (false)
-      goto yyerrorlab;
-    yyerror_range[1].location = yystack_[yylen - 1].location;
+      YYERROR;
+
     /* Do not reclaim the symbols of the rule whose action triggered
        this YYERROR.  */
     yypop_ (yylen);
     yylen = 0;
+    YY_STACK_PRINT ();
     goto yyerrlab1;
 
+
   /*-------------------------------------------------------------.
   | yyerrlab1 -- common code for both syntax error and YYERROR.  |
   `-------------------------------------------------------------*/
   yyerrlab1:
     yyerrstatus_ = 3;   // Each real token shifted decrements this.
-    {
-      stack_symbol_type error_token;
-      for (;;)
-        {
-          yyn = yypact_[yystack_[0].state];
-          if (!yy_pact_value_is_default_ (yyn))
-            {
-              yyn += yyterror_;
-              if (0 <= yyn && yyn <= yylast_ && yycheck_[yyn] == yyterror_)
-                {
-                  yyn = yytable_[yyn];
-                  if (0 < yyn)
-                    break;
-                }
-            }
+    // Pop stack until we find a state that shifts the error token.
+    for (;;)
+      {
+        yyn = yypact_[+yystack_[0].state];
+        if (!yy_pact_value_is_default_ (yyn))
+          {
+            yyn += symbol_kind::S_YYerror;
+            if (0 <= yyn && yyn <= yylast_
+                && yycheck_[yyn] == symbol_kind::S_YYerror)
+              {
+                yyn = yytable_[yyn];
+                if (0 < yyn)
+                  break;
+              }
+          }
 
-          // Pop the current state because it cannot handle the error token.
-          if (yystack_.size () == 1)
-            YYABORT;
+        // Pop the current state because it cannot handle the error token.
+        if (yystack_.size () == 1)
+          YYABORT;
 
-          yyerror_range[1].location = yystack_[0].location;
-          yy_destroy_ ("Error: popping", yystack_[0]);
-          yypop_ ();
-          YY_STACK_PRINT ();
-        }
+        yyerror_range[1].location = yystack_[0].location;
+        yy_destroy_ ("Error: popping", yystack_[0]);
+        yypop_ ();
+        YY_STACK_PRINT ();
+      }
+    {
+      stack_symbol_type error_token;
 
       yyerror_range[2].location = yyla.location;
       YYLLOC_DEFAULT (error_token.location, yyerror_range, 2);
 
       // Shift the error token.
-      error_token.state = yyn;
-      yypush_ ("Shifting", error_token);
+      error_token.state = state_type (yyn);
+      yypush_ ("Shifting", YY_MOVE (error_token));
     }
     goto yynewstate;
 
-    // Accept.
+
+  /*-------------------------------------.
+  | yyacceptlab -- YYACCEPT comes here.  |
+  `-------------------------------------*/
   yyacceptlab:
     yyresult = 0;
     goto yyreturn;
 
-    // Abort.
+
+  /*-----------------------------------.
+  | yyabortlab -- YYABORT comes here.  |
+  `-----------------------------------*/
   yyabortlab:
     yyresult = 1;
     goto yyreturn;
 
+
+  /*-----------------------------------------------------.
+  | yyreturn -- parsing is finished, return the result.  |
+  `-----------------------------------------------------*/
   yyreturn:
     if (!yyla.empty ())
       yy_destroy_ ("Cleanup: discarding lookahead", yyla);
@@ -4189,6 +4267,7 @@ namespace isc { namespace dhcp {
     /* Do not reclaim the symbols of the rule whose action triggered
        this YYABORT or YYACCEPT.  */
     yypop_ (yylen);
+    YY_STACK_PRINT ();
     while (1 < yystack_.size ())
       {
         yy_destroy_ ("Cleanup: popping", yystack_[0]);
@@ -4197,12 +4276,12 @@ namespace isc { namespace dhcp {
 
     return yyresult;
   }
+#if YY_EXCEPTIONS
     catch (...)
       {
-        YYCDEBUG << "Exception caught: cleaning lookahead and stack"
-                 << std::endl;
+        YYCDEBUG << "Exception caught: cleaning lookahead and stack\n";
         // Do not try to display the values of the reclaimed symbols,
-        // as their printer might throw an exception.
+        // as their printers might throw an exception.
         if (!yyla.empty ())
           yy_destroy_ (YY_NULLPTR, yyla);
 
@@ -4213,26 +4292,109 @@ namespace isc { namespace dhcp {
           }
         throw;
       }
+#endif // YY_EXCEPTIONS
   }
 
   void
   Dhcp4Parser::error (const syntax_error& yyexc)
   {
-    error (yyexc.location, yyexc.what());
+    error (yyexc.location, yyexc.what ());
   }
 
-  // Generate an error message.
+  /* Return 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.  */
   std::string
-  Dhcp4Parser::yysyntax_error_ (state_type yystate, const symbol_type& yyla) const
+  Dhcp4Parser::yytnamerr_ (const char *yystr)
   {
-    // Number of reported tokens (one for the "unexpected", one per
-    // "expected").
-    size_t yycount = 0;
-    // Its maximum.
-    enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
-    // Arguments of yyformat.
-    char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
+    if (*yystr == '"')
+      {
+        std::string yyr;
+        char const *yyp = yystr;
 
+        for (;;)
+          switch (*++yyp)
+            {
+            case '\'':
+            case ',':
+              goto do_not_strip_quotes;
+
+            case '\\':
+              if (*++yyp != '\\')
+                goto do_not_strip_quotes;
+              else
+                goto append;
+
+            append:
+            default:
+              yyr += *yyp;
+              break;
+
+            case '"':
+              return yyr;
+            }
+      do_not_strip_quotes: ;
+      }
+
+    return yystr;
+  }
+
+  std::string
+  Dhcp4Parser::symbol_name (symbol_kind_type yysymbol)
+  {
+    return yytnamerr_ (yytname_[yysymbol]);
+  }
+
+
+
+  // Dhcp4Parser::context.
+  Dhcp4Parser::context::context (const Dhcp4Parser& yyparser, const symbol_type& yyla)
+    : yyparser_ (yyparser)
+    , yyla_ (yyla)
+  {}
+
+  int
+  Dhcp4Parser::context::expected_tokens (symbol_kind_type yyarg[], int yyargn) const
+  {
+    // Actual number of expected tokens
+    int yycount = 0;
+
+    int yyn = yypact_[+yyparser_.yystack_[0].state];
+    if (!yy_pact_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;
+        for (int yyx = yyxbegin; yyx < yyxend; ++yyx)
+          if (yycheck_[yyx + yyn] == yyx && yyx != symbol_kind::S_YYerror
+              && !yy_table_value_is_error_ (yytable_[yyx + yyn]))
+            {
+              if (!yyarg)
+                ++yycount;
+              else if (yycount == yyargn)
+                return 0;
+              else
+                yyarg[yycount++] = YY_CAST (symbol_kind_type, yyx);
+            }
+      }
+
+    if (yyarg && yycount == 0 && 0 < yyargn)
+      yyarg[0] = symbol_kind::S_YYEMPTY;
+    return yycount;
+  }
+
+
+
+  int
+  Dhcp4Parser::yy_syntax_error_arguments_ (const context& yyctx,
+                                                 symbol_kind_type yyarg[], int yyargn) const
+  {
     /* There are many possibilities here to consider:
        - If this state is a consistent state with a default action, then
          the only way this function was invoked is if the default action
@@ -4251,41 +4413,32 @@ namespace isc { namespace dhcp {
        - 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.
+         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 (!yyla.empty ())
+
+    if (!yyctx.lookahead ().empty ())
       {
-        int yytoken = yyla.type_get ();
-        yyarg[yycount++] = yytname_[yytoken];
-        int yyn = yypact_[yystate];
-        if (!yy_pact_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_;
-            for (int yyx = yyxbegin; yyx < yyxend; ++yyx)
-              if (yycheck_[yyx + yyn] == yyx && yyx != yyterror_
-                  && !yy_table_value_is_error_ (yytable_[yyx + yyn]))
-                {
-                  if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
-                    {
-                      yycount = 1;
-                      break;
-                    }
-                  else
-                    yyarg[yycount++] = yytname_[yyx];
-                }
-          }
+        if (yyarg)
+          yyarg[0] = yyctx.token ();
+        int yyn = yyctx.expected_tokens (yyarg ? yyarg + 1 : yyarg, yyargn - 1);
+        return yyn + 1;
       }
+    return 0;
+  }
+
+  // Generate an error message.
+  std::string
+  Dhcp4Parser::yysyntax_error_ (const context& yyctx) const
+  {
+    // Its maximum.
+    enum { YYARGS_MAX = 5 };
+    // Arguments of yyformat.
+    symbol_kind_type yyarg[YYARGS_MAX];
+    int yycount = yy_syntax_error_arguments_ (yyctx, yyarg, YYARGS_MAX);
 
     char const* yyformat = YY_NULLPTR;
     switch (yycount)
@@ -4294,22 +4447,23 @@ namespace isc { namespace dhcp {
         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"));
+      default: // Avoid compiler warnings.
+        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_
       }
 
     std::string yyres;
     // Argument number.
-    size_t yyi = 0;
+    std::ptrdiff_t yyi = 0;
     for (char const* yyp = yyformat; *yyp; ++yyp)
       if (yyp[0] == '%' && yyp[1] == 's' && yyi < yycount)
         {
-          yyres += yytnamerr_ (yyarg[yyi++]);
+          yyres += symbol_name (yyarg[yyi++]);
           ++yyp;
         }
       else
@@ -4318,11 +4472,11 @@ namespace isc { namespace dhcp {
   }
 
 
-  const short int Dhcp4Parser::yypact_ninf_ = -924;
+  const short Dhcp4Parser::yypact_ninf_ = -924;
 
   const signed char Dhcp4Parser::yytable_ninf_ = -1;
 
-  const short int
+  const short
   Dhcp4Parser::yypact_[] =
   {
      168,  -924,  -924,  -924,  -924,  -924,  -924,  -924,  -924,  -924,
@@ -4447,7 +4601,7 @@ namespace isc { namespace dhcp {
       34,  -924,   845,  -924,  -924,  -924,   846,  -924,  -924,  -924
   };
 
-  const unsigned short int
+  const short
   Dhcp4Parser::yydefact_[] =
   {
        0,     2,     4,     6,     8,    10,    12,    14,    16,    18,
@@ -4572,7 +4726,7 @@ namespace isc { namespace dhcp {
        0,   734,     0,   744,   745,   746,     0,   736,   743,   748
   };
 
-  const short int
+  const short
   Dhcp4Parser::yypgoto_[] =
   {
     -924,  -924,  -924,  -924,  -924,  -924,  -924,  -924,  -924,  -924,
@@ -4618,7 +4772,7 @@ namespace isc { namespace dhcp {
     -924,  -924,  -924,  -924,  -924,  -924,  -924
   };
 
-  const short int
+  const short
   Dhcp4Parser::yydefgoto_[] =
   {
       -1,    14,    15,    16,    17,    18,    19,    20,    21,    22,
@@ -4664,7 +4818,7 @@ namespace isc { namespace dhcp {
     1179,  1185,  1180,  1181,  1182,  1183,  1189
   };
 
-  const unsigned short int
+  const short
   Dhcp4Parser::yytable_[] =
   {
      143,   206,   225,   270,   287,   271,   313,   332,   349,   369,
@@ -4789,7 +4943,7 @@ namespace isc { namespace dhcp {
     1041,     0,     0,  1047
   };
 
-  const short int
+  const short
   Dhcp4Parser::yycheck_[] =
   {
       67,    68,    69,    70,    71,    70,    73,    74,    75,    76,
@@ -4914,7 +5068,7 @@ namespace isc { namespace dhcp {
     1135,    -1,    -1,  1135
   };
 
-  const unsigned short int
+  const short
   Dhcp4Parser::yystos_[] =
   {
        0,   178,   179,   180,   181,   182,   183,   184,   185,   186,
@@ -5039,7 +5193,7 @@ namespace isc { namespace dhcp {
        3,     8,     4,   194,   192,   192,     4,   594,   191,   191
   };
 
-  const unsigned short int
+  const short
   Dhcp4Parser::yyr1_[] =
   {
        0,   195,   197,   196,   198,   196,   199,   196,   200,   196,
@@ -5119,7 +5273,7 @@ namespace isc { namespace dhcp {
      594,   594,   596,   595,   597,   598,   599,   601,   600
   };
 
-  const unsigned char
+  const signed char
   Dhcp4Parser::yyr2_[] =
   {
        0,     2,     0,     3,     0,     3,     0,     3,     0,     3,
@@ -5200,31 +5354,32 @@ namespace isc { namespace dhcp {
   };
 
 
-
+#if PARSER4_DEBUG || 1
   // YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
-  // First, the terminals, then, starting at \a yyntokens_, nonterminals.
+  // First, the terminals, then, starting at \a YYNTOKENS, nonterminals.
   const char*
   const Dhcp4Parser::yytname_[] =
   {
-  "\"end of file\"", "error", "$undefined", "\",\"", "\":\"", "\"[\"",
-  "\"]\"", "\"{\"", "\"}\"", "\"null\"", "\"Dhcp4\"", "\"config-control\"",
-  "\"config-databases\"", "\"config-fetch-wait-time\"",
-  "\"interfaces-config\"", "\"interfaces\"", "\"dhcp-socket-type\"",
-  "\"raw\"", "\"udp\"", "\"outbound-interface\"", "\"same-as-inbound\"",
-  "\"use-routing\"", "\"re-detect\"", "\"sanity-checks\"",
-  "\"lease-checks\"", "\"echo-client-id\"", "\"match-client-id\"",
-  "\"authoritative\"", "\"next-server\"", "\"server-hostname\"",
-  "\"boot-file-name\"", "\"lease-database\"", "\"hosts-database\"",
-  "\"hosts-databases\"", "\"type\"", "\"memfile\"", "\"mysql\"",
-  "\"postgresql\"", "\"cql\"", "\"user\"", "\"password\"", "\"host\"",
-  "\"port\"", "\"persist\"", "\"lfc-interval\"", "\"readonly\"",
-  "\"connect-timeout\"", "\"contact-points\"", "\"keyspace\"",
-  "\"consistency\"", "\"serial-consistency\"", "\"max-reconnect-tries\"",
-  "\"reconnect-wait-time\"", "\"request-timeout\"", "\"tcp-keepalive\"",
-  "\"tcp-nodelay\"", "\"max-row-errors\"", "\"valid-lifetime\"",
-  "\"min-valid-lifetime\"", "\"max-valid-lifetime\"", "\"renew-timer\"",
-  "\"rebind-timer\"", "\"calculate-tee-times\"", "\"t1-percent\"",
-  "\"t2-percent\"", "\"cache-threshold\"", "\"cache-max-age\"",
+  "\"end of file\"", "error", "\"invalid token\"", "\",\"", "\":\"",
+  "\"[\"", "\"]\"", "\"{\"", "\"}\"", "\"null\"", "\"Dhcp4\"",
+  "\"config-control\"", "\"config-databases\"",
+  "\"config-fetch-wait-time\"", "\"interfaces-config\"", "\"interfaces\"",
+  "\"dhcp-socket-type\"", "\"raw\"", "\"udp\"", "\"outbound-interface\"",
+  "\"same-as-inbound\"", "\"use-routing\"", "\"re-detect\"",
+  "\"sanity-checks\"", "\"lease-checks\"", "\"echo-client-id\"",
+  "\"match-client-id\"", "\"authoritative\"", "\"next-server\"",
+  "\"server-hostname\"", "\"boot-file-name\"", "\"lease-database\"",
+  "\"hosts-database\"", "\"hosts-databases\"", "\"type\"", "\"memfile\"",
+  "\"mysql\"", "\"postgresql\"", "\"cql\"", "\"user\"", "\"password\"",
+  "\"host\"", "\"port\"", "\"persist\"", "\"lfc-interval\"",
+  "\"readonly\"", "\"connect-timeout\"", "\"contact-points\"",
+  "\"keyspace\"", "\"consistency\"", "\"serial-consistency\"",
+  "\"max-reconnect-tries\"", "\"reconnect-wait-time\"",
+  "\"request-timeout\"", "\"tcp-keepalive\"", "\"tcp-nodelay\"",
+  "\"max-row-errors\"", "\"valid-lifetime\"", "\"min-valid-lifetime\"",
+  "\"max-valid-lifetime\"", "\"renew-timer\"", "\"rebind-timer\"",
+  "\"calculate-tee-times\"", "\"t1-percent\"", "\"t2-percent\"",
+  "\"cache-threshold\"", "\"cache-max-age\"",
   "\"decline-probation-period\"", "\"server-tag\"",
   "\"statistic-default-sample-count\"", "\"statistic-default-sample-age\"",
   "\"ddns-send-updates\"", "\"ddns-override-no-update\"",
@@ -5368,9 +5523,11 @@ namespace isc { namespace dhcp {
   "output_params_list", "output_params", "output", "$@129", "flush",
   "maxsize", "maxver", "pattern", "$@130", YY_NULLPTR
   };
+#endif
+
 
 #if PARSER4_DEBUG
-  const unsigned short int
+  const short
   Dhcp4Parser::yyrline_[] =
   {
        0,   282,   282,   282,   283,   283,   284,   284,   285,   285,
@@ -5450,28 +5607,26 @@ namespace isc { namespace dhcp {
     2603,  2604,  2607,  2607,  2616,  2622,  2628,  2634,  2634
   };
 
-  // Print the state stack on the debug stream.
   void
-  Dhcp4Parser::yystack_print_ ()
+  Dhcp4Parser::yy_stack_print_ () const
   {
     *yycdebug_ << "Stack now";
     for (stack_type::const_iterator
            i = yystack_.begin (),
            i_end = yystack_.end ();
          i != i_end; ++i)
-      *yycdebug_ << ' ' << i->state;
-    *yycdebug_ << std::endl;
+      *yycdebug_ << ' ' << int (i->state);
+    *yycdebug_ << '\n';
   }
 
-  // Report on the debug stream that the rule \a yyrule is going to be reduced.
   void
-  Dhcp4Parser::yy_reduce_print_ (int yyrule)
+  Dhcp4Parser::yy_reduce_print_ (int yyrule) const
   {
-    unsigned int yylno = yyrline_[yyrule];
+    int yylno = yyrline_[yyrule];
     int yynrhs = yyr2_[yyrule];
     // Print the symbols being reduced, and their result.
     *yycdebug_ << "Reducing stack by rule " << yyrule - 1
-               << " (line " << yylno << "):" << std::endl;
+               << " (line " << yylno << "):\n";
     // The symbols being reduced.
     for (int yyi = 0; yyi < yynrhs; yyi++)
       YY_SYMBOL_PRINT ("   $" << yyi + 1 << " =",
@@ -5480,10 +5635,11 @@ namespace isc { namespace dhcp {
 #endif // PARSER4_DEBUG
 
 
-#line 14 "dhcp4_parser.yy" // lalr1.cc:1167
+#line 14 "dhcp4_parser.yy"
 } } // isc::dhcp
-#line 5486 "dhcp4_parser.cc" // lalr1.cc:1167
-#line 2643 "dhcp4_parser.yy" // lalr1.cc:1168
+#line 5641 "dhcp4_parser.cc"
+
+#line 2643 "dhcp4_parser.yy"
 
 
 void
index 07083a6ef0d120f92bcd252b02011810ccf58ffa..d7bce59900895777032d8277d723fe0c324a6a8a 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.0.4.
+// A Bison parser, made by GNU Bison 3.7.2.
 
 // Skeleton interface for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2020 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
@@ -30,6 +30,7 @@
 // This special exception was added by the Free Software Foundation in
 // version 2.2 of Bison.
 
+
 /**
  ** \file dhcp4_parser.h
  ** Define the isc::dhcp::parser class.
 
 // C++ LALR(1) parser skeleton written by Akim Demaille.
 
+// DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
+// especially those whose name start with YY_ or yy_.  They are
+// private implementation details that can be changed or removed.
+
 #ifndef YY_PARSER4_DHCP4_PARSER_H_INCLUDED
 # define YY_PARSER4_DHCP4_PARSER_H_INCLUDED
-// //                    "%code requires" blocks.
-#line 17 "dhcp4_parser.yy" // lalr1.cc:377
+// "%code requires" blocks.
+#line 17 "dhcp4_parser.yy"
 
 #include <string>
 #include <cc/data.h>
@@ -52,7 +57,7 @@ using namespace isc::dhcp;
 using namespace isc::data;
 using namespace std;
 
-#line 56 "dhcp4_parser.h" // lalr1.cc:377
+#line 61 "dhcp4_parser.h"
 
 # include <cassert>
 # include <cstdlib> // std::abort
@@ -60,39 +65,64 @@ using namespace std;
 # include <stdexcept>
 # include <string>
 # include <vector>
-# include "stack.hh"
+
+#if defined __cplusplus
+# define YY_CPLUSPLUS __cplusplus
+#else
+# define YY_CPLUSPLUS 199711L
+#endif
+
+// Support move semantics when possible.
+#if 201103L <= YY_CPLUSPLUS
+# define YY_MOVE           std::move
+# define YY_MOVE_OR_COPY   move
+# define YY_MOVE_REF(Type) Type&&
+# define YY_RVREF(Type)    Type&&
+# define YY_COPY(Type)     Type
+#else
+# define YY_MOVE
+# define YY_MOVE_OR_COPY   copy
+# define YY_MOVE_REF(Type) Type&
+# define YY_RVREF(Type)    const Type&
+# define YY_COPY(Type)     const Type&
+#endif
+
+// Support noexcept when possible.
+#if 201103L <= YY_CPLUSPLUS
+# define YY_NOEXCEPT noexcept
+# define YY_NOTHROW
+#else
+# define YY_NOEXCEPT
+# define YY_NOTHROW throw ()
+#endif
+
+// Support constexpr when possible.
+#if 201703 <= YY_CPLUSPLUS
+# define YY_CONSTEXPR constexpr
+#else
+# define YY_CONSTEXPR
+#endif
 # include "location.hh"
 #include <typeinfo>
-#ifndef YYASSERT
+#ifndef YY_ASSERT
 # include <cassert>
-# define YYASSERT assert
+# define YY_ASSERT assert
 #endif
 
 
-#ifndef YY_ATTRIBUTE
-# if (defined __GNUC__                                               \
-      && (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__)))  \
-     || defined __SUNPRO_C && 0x5110 <= __SUNPRO_C
-#  define YY_ATTRIBUTE(Spec) __attribute__(Spec)
+#ifndef YY_ATTRIBUTE_PURE
+# if defined __GNUC__ && 2 < __GNUC__ + (96 <= __GNUC_MINOR__)
+#  define YY_ATTRIBUTE_PURE __attribute__ ((__pure__))
 # else
-#  define YY_ATTRIBUTE(Spec) /* empty */
+#  define YY_ATTRIBUTE_PURE
 # endif
 #endif
 
-#ifndef YY_ATTRIBUTE_PURE
-# define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))
-#endif
-
 #ifndef YY_ATTRIBUTE_UNUSED
-# define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__))
-#endif
-
-#if !defined _Noreturn \
-     && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112)
-# if defined _MSC_VER && 1200 <= _MSC_VER
-#  define _Noreturn __declspec (noreturn)
+# if defined __GNUC__ && 2 < __GNUC__ + (7 <= __GNUC_MINOR__)
+#  define YY_ATTRIBUTE_UNUSED __attribute__ ((__unused__))
 # else
-#  define _Noreturn YY_ATTRIBUTE ((__noreturn__))
+#  define YY_ATTRIBUTE_UNUSED
 # endif
 #endif
 
@@ -103,13 +133,13 @@ using namespace std;
 # define YYUSE(E) /* empty */
 #endif
 
-#if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
+#if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
 /* Suppress an incorrect diagnostic about yylval being uninitialized.  */
-# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
-    _Pragma ("GCC diagnostic push") \
-    _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\
+# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN                            \
+    _Pragma ("GCC diagnostic push")                                     \
+    _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")              \
     _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
-# define YY_IGNORE_MAYBE_UNINITIALIZED_END \
+# define YY_IGNORE_MAYBE_UNINITIALIZED_END      \
     _Pragma ("GCC diagnostic pop")
 #else
 # define YY_INITIAL_VALUE(Value) Value
@@ -122,6 +152,39 @@ using namespace std;
 # define YY_INITIAL_VALUE(Value) /* Nothing. */
 #endif
 
+#if defined __cplusplus && defined __GNUC__ && ! defined __ICC && 6 <= __GNUC__
+# define YY_IGNORE_USELESS_CAST_BEGIN                          \
+    _Pragma ("GCC diagnostic push")                            \
+    _Pragma ("GCC diagnostic ignored \"-Wuseless-cast\"")
+# define YY_IGNORE_USELESS_CAST_END            \
+    _Pragma ("GCC diagnostic pop")
+#endif
+#ifndef YY_IGNORE_USELESS_CAST_BEGIN
+# define YY_IGNORE_USELESS_CAST_BEGIN
+# define YY_IGNORE_USELESS_CAST_END
+#endif
+
+# ifndef YY_CAST
+#  ifdef __cplusplus
+#   define YY_CAST(Type, Val) static_cast<Type> (Val)
+#   define YY_REINTERPRET_CAST(Type, Val) reinterpret_cast<Type> (Val)
+#  else
+#   define YY_CAST(Type, Val) ((Type) (Val))
+#   define YY_REINTERPRET_CAST(Type, Val) ((Type) (Val))
+#  endif
+# endif
+# ifndef YY_NULLPTR
+#  if defined __cplusplus
+#   if 201103L <= __cplusplus
+#    define YY_NULLPTR nullptr
+#   else
+#    define YY_NULLPTR 0
+#   endif
+#  else
+#   define YY_NULLPTR ((void*)0)
+#  endif
+# endif
+
 /* Debug traces.  */
 #ifndef PARSER4_DEBUG
 # if defined YYDEBUG
@@ -135,120 +198,182 @@ using namespace std;
 # endif /* ! defined YYDEBUG */
 #endif  /* ! defined PARSER4_DEBUG */
 
-#line 14 "dhcp4_parser.yy" // lalr1.cc:377
+#line 14 "dhcp4_parser.yy"
 namespace isc { namespace dhcp {
-#line 141 "dhcp4_parser.h" // lalr1.cc:377
+#line 204 "dhcp4_parser.h"
+
 
 
 
-  /// A char[S] buffer to store and retrieve objects.
+  /// A Bison parser.
+  class Dhcp4Parser
+  {
+  public:
+#ifndef PARSER4_STYPE
+  /// A buffer to store and retrieve objects.
   ///
   /// Sort of a variant, but does not keep track of the nature
   /// of the stored data, since that knowledge is available
-  /// via the current state.
-  template <size_t S>
-  struct variant
+  /// via the current parser state.
+  class semantic_type
   {
+  public:
     /// Type of *this.
-    typedef variant<S> self_type;
+    typedef semantic_type self_type;
 
     /// Empty construction.
-    variant ()
-      : yytypeid_ (YY_NULLPTR)
+    semantic_type () YY_NOEXCEPT
+      : yybuffer_ ()
+      , yytypeid_ (YY_NULLPTR)
     {}
 
     /// Construct and fill.
     template <typename T>
-    variant (const T& t)
+    semantic_type (YY_RVREF (T) t)
       : yytypeid_ (&typeid (T))
     {
-      YYASSERT (sizeof (T) <= S);
-      new (yyas_<T> ()) T (t);
+      YY_ASSERT (sizeof (T) <= size);
+      new (yyas_<T> ()) T (YY_MOVE (t));
     }
 
+#if 201103L <= YY_CPLUSPLUS
+    /// Non copyable.
+    semantic_type (const self_type&) = delete;
+    /// Non copyable.
+    self_type& operator= (const self_type&) = delete;
+#endif
+
     /// Destruction, allowed only if empty.
-    ~variant ()
+    ~semantic_type () YY_NOEXCEPT
     {
-      YYASSERT (!yytypeid_);
+      YY_ASSERT (!yytypeid_);
     }
 
+# if 201103L <= YY_CPLUSPLUS
+    /// Instantiate a \a T in here from \a t.
+    template <typename T, typename... U>
+    T&
+    emplace (U&&... u)
+    {
+      YY_ASSERT (!yytypeid_);
+      YY_ASSERT (sizeof (T) <= size);
+      yytypeid_ = & typeid (T);
+      return *new (yyas_<T> ()) T (std::forward <U>(u)...);
+    }
+# else
     /// Instantiate an empty \a T in here.
     template <typename T>
     T&
-    build ()
+    emplace ()
     {
-      YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YY_ASSERT (!yytypeid_);
+      YY_ASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
-      return *new (yyas_<T> ()) T;
+      return *new (yyas_<T> ()) T ();
     }
 
     /// Instantiate a \a T in here from \a t.
     template <typename T>
     T&
-    build (const T& t)
+    emplace (const T& t)
     {
-      YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YY_ASSERT (!yytypeid_);
+      YY_ASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
       return *new (yyas_<T> ()) T (t);
     }
+# endif
+
+    /// Instantiate an empty \a T in here.
+    /// Obsolete, use emplace.
+    template <typename T>
+    T&
+    build ()
+    {
+      return emplace<T> ();
+    }
+
+    /// Instantiate a \a T in here from \a t.
+    /// Obsolete, use emplace.
+    template <typename T>
+    T&
+    build (const T& t)
+    {
+      return emplace<T> (t);
+    }
 
     /// Accessor to a built \a T.
     template <typename T>
     T&
-    as ()
+    as () YY_NOEXCEPT
     {
-      YYASSERT (*yytypeid_ == typeid (T));
-      YYASSERT (sizeof (T) <= S);
+      YY_ASSERT (yytypeid_);
+      YY_ASSERT (*yytypeid_ == typeid (T));
+      YY_ASSERT (sizeof (T) <= size);
       return *yyas_<T> ();
     }
 
     /// Const accessor to a built \a T (for %printer).
     template <typename T>
     const T&
-    as () const
+    as () const YY_NOEXCEPT
     {
-      YYASSERT (*yytypeid_ == typeid (T));
-      YYASSERT (sizeof (T) <= S);
+      YY_ASSERT (yytypeid_);
+      YY_ASSERT (*yytypeid_ == typeid (T));
+      YY_ASSERT (sizeof (T) <= size);
       return *yyas_<T> ();
     }
 
-    /// Swap the content with \a other, of same type.
+    /// Swap the content with \a that, of same type.
     ///
     /// Both variants must be built beforehand, because swapping the actual
     /// data requires reading it (with as()), and this is not possible on
     /// unconstructed variants: it would require some dynamic testing, which
-    /// should not be the variant's responsability.
+    /// should not be the variant's responsibility.
     /// Swapping between built and (possibly) non-built is done with
-    /// variant::move ().
+    /// self_type::move ().
     template <typename T>
     void
-    swap (self_type& other)
+    swap (self_type& that) YY_NOEXCEPT
     {
-      YYASSERT (yytypeid_);
-      YYASSERT (*yytypeid_ == *other.yytypeid_);
-      std::swap (as<T> (), other.as<T> ());
+      YY_ASSERT (yytypeid_);
+      YY_ASSERT (*yytypeid_ == *that.yytypeid_);
+      std::swap (as<T> (), that.as<T> ());
     }
 
-    /// Move the content of \a other to this.
+    /// Move the content of \a that to this.
     ///
-    /// Destroys \a other.
+    /// Destroys \a that.
+    template <typename T>
+    void
+    move (self_type& that)
+    {
+# if 201103L <= YY_CPLUSPLUS
+      emplace<T> (std::move (that.as<T> ()));
+# else
+      emplace<T> ();
+      swap<T> (that);
+# endif
+      that.destroy<T> ();
+    }
+
+# if 201103L <= YY_CPLUSPLUS
+    /// Move the content of \a that to this.
     template <typename T>
     void
-    move (self_type& other)
+    move (self_type&& that)
     {
-      build<T> ();
-      swap<T> (other);
-      other.destroy<T> ();
+      emplace<T> (std::move (that.as<T> ()));
+      that.destroy<T> ();
     }
+#endif
 
-    /// Copy the content of \a other to this.
+    /// Copy the content of \a that to this.
     template <typename T>
     void
-    copy (const self_type& other)
+    copy (const self_type& that)
     {
-      build<T> (other.as<T> ());
+      emplace<T> (that.as<T> ());
     }
 
     /// Destroy the stored \a T.
@@ -261,14 +386,17 @@ namespace isc { namespace dhcp {
     }
 
   private:
-    /// Prohibit blind copies.
-    self_type& operator=(const self_type&);
-    variant (const self_type&);
+#if YY_CPLUSPLUS < 201103L
+    /// Non copyable.
+    semantic_type (const self_type&);
+    /// Non copyable.
+    self_type& operator= (const self_type&);
+#endif
 
     /// Accessor to raw memory as \a T.
     template <typename T>
     T*
-    yyas_ ()
+    yyas_ () YY_NOEXCEPT
     {
       void *yyp = yybuffer_.yyraw;
       return static_cast<T*> (yyp);
@@ -277,30 +405,12 @@ namespace isc { namespace dhcp {
     /// Const accessor to raw memory as \a T.
     template <typename T>
     const T*
-    yyas_ () const
+    yyas_ () const YY_NOEXCEPT
     {
       const void *yyp = yybuffer_.yyraw;
       return static_cast<const T*> (yyp);
      }
 
-    union
-    {
-      /// Strongest alignment constraints.
-      long double yyalign_me;
-      /// A buffer large enough to store any of the semantic values.
-      char yyraw[S];
-    } yybuffer_;
-
-    /// Whether the content is built: if defined, the name of the stored type.
-    const std::type_info *yytypeid_;
-  };
-
-
-  /// A Bison parser.
-  class Dhcp4Parser
-  {
-  public:
-#ifndef PARSER4_STYPE
     /// An auxiliary type to compute the largest semantic type.
     union union_type
     {
@@ -312,23 +422,37 @@ namespace isc { namespace dhcp {
       // db_type
       // hr_mode
       // ncr_protocol_value
-      char dummy1[sizeof(ElementPtr)];
+      char dummy1[sizeof (ElementPtr)];
 
       // "boolean"
-      char dummy2[sizeof(bool)];
+      char dummy2[sizeof (bool)];
 
       // "floating point"
-      char dummy3[sizeof(double)];
+      char dummy3[sizeof (double)];
 
       // "integer"
-      char dummy4[sizeof(int64_t)];
+      char dummy4[sizeof (int64_t)];
 
       // "constant string"
-      char dummy5[sizeof(std::string)];
-};
+      char dummy5[sizeof (std::string)];
+    };
+
+    /// The size of the largest semantic type.
+    enum { size = sizeof (union_type) };
+
+    /// A buffer to store semantic values.
+    union
+    {
+      /// Strongest alignment constraints.
+      long double yyalign_me;
+      /// A buffer large enough to store any of the semantic values.
+      char yyraw[size];
+    } yybuffer_;
+
+    /// Whether the content is built: if defined, the name of the stored type.
+    const std::type_info *yytypeid_;
+  };
 
-    /// Symbol semantic values.
-    typedef variant<sizeof(union_type)> semantic_type;
 #else
     typedef PARSER4_STYPE semantic_type;
 #endif
@@ -338,227 +462,855 @@ namespace isc { namespace dhcp {
     /// Syntax errors thrown from user actions.
     struct syntax_error : std::runtime_error
     {
-      syntax_error (const location_type& l, const std::string& m);
+      syntax_error (const location_type& l, const std::string& m)
+        : std::runtime_error (m)
+        , location (l)
+      {}
+
+      syntax_error (const syntax_error& s)
+        : std::runtime_error (s.what ())
+        , location (s.location)
+      {}
+
+      ~syntax_error () YY_NOEXCEPT YY_NOTHROW;
+
       location_type location;
     };
 
-    /// Tokens.
+    /// Token kinds.
     struct token
     {
-      enum yytokentype
-      {
-        TOKEN_END = 0,
-        TOKEN_COMMA = 258,
-        TOKEN_COLON = 259,
-        TOKEN_LSQUARE_BRACKET = 260,
-        TOKEN_RSQUARE_BRACKET = 261,
-        TOKEN_LCURLY_BRACKET = 262,
-        TOKEN_RCURLY_BRACKET = 263,
-        TOKEN_NULL_TYPE = 264,
-        TOKEN_DHCP4 = 265,
-        TOKEN_CONFIG_CONTROL = 266,
-        TOKEN_CONFIG_DATABASES = 267,
-        TOKEN_CONFIG_FETCH_WAIT_TIME = 268,
-        TOKEN_INTERFACES_CONFIG = 269,
-        TOKEN_INTERFACES = 270,
-        TOKEN_DHCP_SOCKET_TYPE = 271,
-        TOKEN_RAW = 272,
-        TOKEN_UDP = 273,
-        TOKEN_OUTBOUND_INTERFACE = 274,
-        TOKEN_SAME_AS_INBOUND = 275,
-        TOKEN_USE_ROUTING = 276,
-        TOKEN_RE_DETECT = 277,
-        TOKEN_SANITY_CHECKS = 278,
-        TOKEN_LEASE_CHECKS = 279,
-        TOKEN_ECHO_CLIENT_ID = 280,
-        TOKEN_MATCH_CLIENT_ID = 281,
-        TOKEN_AUTHORITATIVE = 282,
-        TOKEN_NEXT_SERVER = 283,
-        TOKEN_SERVER_HOSTNAME = 284,
-        TOKEN_BOOT_FILE_NAME = 285,
-        TOKEN_LEASE_DATABASE = 286,
-        TOKEN_HOSTS_DATABASE = 287,
-        TOKEN_HOSTS_DATABASES = 288,
-        TOKEN_TYPE = 289,
-        TOKEN_MEMFILE = 290,
-        TOKEN_MYSQL = 291,
-        TOKEN_POSTGRESQL = 292,
-        TOKEN_CQL = 293,
-        TOKEN_USER = 294,
-        TOKEN_PASSWORD = 295,
-        TOKEN_HOST = 296,
-        TOKEN_PORT = 297,
-        TOKEN_PERSIST = 298,
-        TOKEN_LFC_INTERVAL = 299,
-        TOKEN_READONLY = 300,
-        TOKEN_CONNECT_TIMEOUT = 301,
-        TOKEN_CONTACT_POINTS = 302,
-        TOKEN_KEYSPACE = 303,
-        TOKEN_CONSISTENCY = 304,
-        TOKEN_SERIAL_CONSISTENCY = 305,
-        TOKEN_MAX_RECONNECT_TRIES = 306,
-        TOKEN_RECONNECT_WAIT_TIME = 307,
-        TOKEN_REQUEST_TIMEOUT = 308,
-        TOKEN_TCP_KEEPALIVE = 309,
-        TOKEN_TCP_NODELAY = 310,
-        TOKEN_MAX_ROW_ERRORS = 311,
-        TOKEN_VALID_LIFETIME = 312,
-        TOKEN_MIN_VALID_LIFETIME = 313,
-        TOKEN_MAX_VALID_LIFETIME = 314,
-        TOKEN_RENEW_TIMER = 315,
-        TOKEN_REBIND_TIMER = 316,
-        TOKEN_CALCULATE_TEE_TIMES = 317,
-        TOKEN_T1_PERCENT = 318,
-        TOKEN_T2_PERCENT = 319,
-        TOKEN_CACHE_THRESHOLD = 320,
-        TOKEN_CACHE_MAX_AGE = 321,
-        TOKEN_DECLINE_PROBATION_PERIOD = 322,
-        TOKEN_SERVER_TAG = 323,
-        TOKEN_STATISTIC_DEFAULT_SAMPLE_COUNT = 324,
-        TOKEN_STATISTIC_DEFAULT_SAMPLE_AGE = 325,
-        TOKEN_DDNS_SEND_UPDATES = 326,
-        TOKEN_DDNS_OVERRIDE_NO_UPDATE = 327,
-        TOKEN_DDNS_OVERRIDE_CLIENT_UPDATE = 328,
-        TOKEN_DDNS_REPLACE_CLIENT_NAME = 329,
-        TOKEN_DDNS_GENERATED_PREFIX = 330,
-        TOKEN_DDNS_QUALIFYING_SUFFIX = 331,
-        TOKEN_DDNS_UPDATE_ON_RENEW = 332,
-        TOKEN_DDNS_USE_CONFLICT_RESOLUTION = 333,
-        TOKEN_STORE_EXTENDED_INFO = 334,
-        TOKEN_SUBNET4 = 335,
-        TOKEN_SUBNET_4O6_INTERFACE = 336,
-        TOKEN_SUBNET_4O6_INTERFACE_ID = 337,
-        TOKEN_SUBNET_4O6_SUBNET = 338,
-        TOKEN_OPTION_DEF = 339,
-        TOKEN_OPTION_DATA = 340,
-        TOKEN_NAME = 341,
-        TOKEN_DATA = 342,
-        TOKEN_CODE = 343,
-        TOKEN_SPACE = 344,
-        TOKEN_CSV_FORMAT = 345,
-        TOKEN_ALWAYS_SEND = 346,
-        TOKEN_RECORD_TYPES = 347,
-        TOKEN_ENCAPSULATE = 348,
-        TOKEN_ARRAY = 349,
-        TOKEN_SHARED_NETWORKS = 350,
-        TOKEN_POOLS = 351,
-        TOKEN_POOL = 352,
-        TOKEN_USER_CONTEXT = 353,
-        TOKEN_COMMENT = 354,
-        TOKEN_SUBNET = 355,
-        TOKEN_INTERFACE = 356,
-        TOKEN_ID = 357,
-        TOKEN_RESERVATION_MODE = 358,
-        TOKEN_DISABLED = 359,
-        TOKEN_OUT_OF_POOL = 360,
-        TOKEN_GLOBAL = 361,
-        TOKEN_ALL = 362,
-        TOKEN_HOST_RESERVATION_IDENTIFIERS = 363,
-        TOKEN_CLIENT_CLASSES = 364,
-        TOKEN_REQUIRE_CLIENT_CLASSES = 365,
-        TOKEN_TEST = 366,
-        TOKEN_ONLY_IF_REQUIRED = 367,
-        TOKEN_CLIENT_CLASS = 368,
-        TOKEN_RESERVATIONS = 369,
-        TOKEN_DUID = 370,
-        TOKEN_HW_ADDRESS = 371,
-        TOKEN_CIRCUIT_ID = 372,
-        TOKEN_CLIENT_ID = 373,
-        TOKEN_HOSTNAME = 374,
-        TOKEN_FLEX_ID = 375,
-        TOKEN_RELAY = 376,
-        TOKEN_IP_ADDRESS = 377,
-        TOKEN_IP_ADDRESSES = 378,
-        TOKEN_HOOKS_LIBRARIES = 379,
-        TOKEN_LIBRARY = 380,
-        TOKEN_PARAMETERS = 381,
-        TOKEN_EXPIRED_LEASES_PROCESSING = 382,
-        TOKEN_RECLAIM_TIMER_WAIT_TIME = 383,
-        TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 384,
-        TOKEN_HOLD_RECLAIMED_TIME = 385,
-        TOKEN_MAX_RECLAIM_LEASES = 386,
-        TOKEN_MAX_RECLAIM_TIME = 387,
-        TOKEN_UNWARNED_RECLAIM_CYCLES = 388,
-        TOKEN_DHCP4O6_PORT = 389,
-        TOKEN_DHCP_MULTI_THREADING = 390,
-        TOKEN_ENABLE_MULTI_THREADING = 391,
-        TOKEN_THREAD_POOL_SIZE = 392,
-        TOKEN_PACKET_QUEUE_SIZE = 393,
-        TOKEN_CONTROL_SOCKET = 394,
-        TOKEN_SOCKET_TYPE = 395,
-        TOKEN_SOCKET_NAME = 396,
-        TOKEN_DHCP_QUEUE_CONTROL = 397,
-        TOKEN_ENABLE_QUEUE = 398,
-        TOKEN_QUEUE_TYPE = 399,
-        TOKEN_CAPACITY = 400,
-        TOKEN_DHCP_DDNS = 401,
-        TOKEN_ENABLE_UPDATES = 402,
-        TOKEN_QUALIFYING_SUFFIX = 403,
-        TOKEN_SERVER_IP = 404,
-        TOKEN_SERVER_PORT = 405,
-        TOKEN_SENDER_IP = 406,
-        TOKEN_SENDER_PORT = 407,
-        TOKEN_MAX_QUEUE_SIZE = 408,
-        TOKEN_NCR_PROTOCOL = 409,
-        TOKEN_NCR_FORMAT = 410,
-        TOKEN_OVERRIDE_NO_UPDATE = 411,
-        TOKEN_OVERRIDE_CLIENT_UPDATE = 412,
-        TOKEN_REPLACE_CLIENT_NAME = 413,
-        TOKEN_GENERATED_PREFIX = 414,
-        TOKEN_TCP = 415,
-        TOKEN_JSON = 416,
-        TOKEN_WHEN_PRESENT = 417,
-        TOKEN_NEVER = 418,
-        TOKEN_ALWAYS = 419,
-        TOKEN_WHEN_NOT_PRESENT = 420,
-        TOKEN_HOSTNAME_CHAR_SET = 421,
-        TOKEN_HOSTNAME_CHAR_REPLACEMENT = 422,
-        TOKEN_IP_RESERVATIONS_UNIQUE = 423,
-        TOKEN_LOGGERS = 424,
-        TOKEN_OUTPUT_OPTIONS = 425,
-        TOKEN_OUTPUT = 426,
-        TOKEN_DEBUGLEVEL = 427,
-        TOKEN_SEVERITY = 428,
-        TOKEN_FLUSH = 429,
-        TOKEN_MAXSIZE = 430,
-        TOKEN_MAXVER = 431,
-        TOKEN_PATTERN = 432,
-        TOKEN_TOPLEVEL_JSON = 433,
-        TOKEN_TOPLEVEL_DHCP4 = 434,
-        TOKEN_SUB_DHCP4 = 435,
-        TOKEN_SUB_INTERFACES4 = 436,
-        TOKEN_SUB_SUBNET4 = 437,
-        TOKEN_SUB_POOL4 = 438,
-        TOKEN_SUB_RESERVATION = 439,
-        TOKEN_SUB_OPTION_DEFS = 440,
-        TOKEN_SUB_OPTION_DEF = 441,
-        TOKEN_SUB_OPTION_DATA = 442,
-        TOKEN_SUB_HOOKS_LIBRARY = 443,
-        TOKEN_SUB_DHCP_DDNS = 444,
-        TOKEN_SUB_CONFIG_CONTROL = 445,
-        TOKEN_STRING = 446,
-        TOKEN_INTEGER = 447,
-        TOKEN_FLOAT = 448,
-        TOKEN_BOOLEAN = 449
+      enum token_kind_type
+      {
+        TOKEN_PARSER4_EMPTY = -2,
+    TOKEN_END = 0,                 // "end of file"
+    TOKEN_PARSER4_error = 256,     // error
+    TOKEN_PARSER4_UNDEF = 257,     // "invalid token"
+    TOKEN_COMMA = 258,             // ","
+    TOKEN_COLON = 259,             // ":"
+    TOKEN_LSQUARE_BRACKET = 260,   // "["
+    TOKEN_RSQUARE_BRACKET = 261,   // "]"
+    TOKEN_LCURLY_BRACKET = 262,    // "{"
+    TOKEN_RCURLY_BRACKET = 263,    // "}"
+    TOKEN_NULL_TYPE = 264,         // "null"
+    TOKEN_DHCP4 = 265,             // "Dhcp4"
+    TOKEN_CONFIG_CONTROL = 266,    // "config-control"
+    TOKEN_CONFIG_DATABASES = 267,  // "config-databases"
+    TOKEN_CONFIG_FETCH_WAIT_TIME = 268, // "config-fetch-wait-time"
+    TOKEN_INTERFACES_CONFIG = 269, // "interfaces-config"
+    TOKEN_INTERFACES = 270,        // "interfaces"
+    TOKEN_DHCP_SOCKET_TYPE = 271,  // "dhcp-socket-type"
+    TOKEN_RAW = 272,               // "raw"
+    TOKEN_UDP = 273,               // "udp"
+    TOKEN_OUTBOUND_INTERFACE = 274, // "outbound-interface"
+    TOKEN_SAME_AS_INBOUND = 275,   // "same-as-inbound"
+    TOKEN_USE_ROUTING = 276,       // "use-routing"
+    TOKEN_RE_DETECT = 277,         // "re-detect"
+    TOKEN_SANITY_CHECKS = 278,     // "sanity-checks"
+    TOKEN_LEASE_CHECKS = 279,      // "lease-checks"
+    TOKEN_ECHO_CLIENT_ID = 280,    // "echo-client-id"
+    TOKEN_MATCH_CLIENT_ID = 281,   // "match-client-id"
+    TOKEN_AUTHORITATIVE = 282,     // "authoritative"
+    TOKEN_NEXT_SERVER = 283,       // "next-server"
+    TOKEN_SERVER_HOSTNAME = 284,   // "server-hostname"
+    TOKEN_BOOT_FILE_NAME = 285,    // "boot-file-name"
+    TOKEN_LEASE_DATABASE = 286,    // "lease-database"
+    TOKEN_HOSTS_DATABASE = 287,    // "hosts-database"
+    TOKEN_HOSTS_DATABASES = 288,   // "hosts-databases"
+    TOKEN_TYPE = 289,              // "type"
+    TOKEN_MEMFILE = 290,           // "memfile"
+    TOKEN_MYSQL = 291,             // "mysql"
+    TOKEN_POSTGRESQL = 292,        // "postgresql"
+    TOKEN_CQL = 293,               // "cql"
+    TOKEN_USER = 294,              // "user"
+    TOKEN_PASSWORD = 295,          // "password"
+    TOKEN_HOST = 296,              // "host"
+    TOKEN_PORT = 297,              // "port"
+    TOKEN_PERSIST = 298,           // "persist"
+    TOKEN_LFC_INTERVAL = 299,      // "lfc-interval"
+    TOKEN_READONLY = 300,          // "readonly"
+    TOKEN_CONNECT_TIMEOUT = 301,   // "connect-timeout"
+    TOKEN_CONTACT_POINTS = 302,    // "contact-points"
+    TOKEN_KEYSPACE = 303,          // "keyspace"
+    TOKEN_CONSISTENCY = 304,       // "consistency"
+    TOKEN_SERIAL_CONSISTENCY = 305, // "serial-consistency"
+    TOKEN_MAX_RECONNECT_TRIES = 306, // "max-reconnect-tries"
+    TOKEN_RECONNECT_WAIT_TIME = 307, // "reconnect-wait-time"
+    TOKEN_REQUEST_TIMEOUT = 308,   // "request-timeout"
+    TOKEN_TCP_KEEPALIVE = 309,     // "tcp-keepalive"
+    TOKEN_TCP_NODELAY = 310,       // "tcp-nodelay"
+    TOKEN_MAX_ROW_ERRORS = 311,    // "max-row-errors"
+    TOKEN_VALID_LIFETIME = 312,    // "valid-lifetime"
+    TOKEN_MIN_VALID_LIFETIME = 313, // "min-valid-lifetime"
+    TOKEN_MAX_VALID_LIFETIME = 314, // "max-valid-lifetime"
+    TOKEN_RENEW_TIMER = 315,       // "renew-timer"
+    TOKEN_REBIND_TIMER = 316,      // "rebind-timer"
+    TOKEN_CALCULATE_TEE_TIMES = 317, // "calculate-tee-times"
+    TOKEN_T1_PERCENT = 318,        // "t1-percent"
+    TOKEN_T2_PERCENT = 319,        // "t2-percent"
+    TOKEN_CACHE_THRESHOLD = 320,   // "cache-threshold"
+    TOKEN_CACHE_MAX_AGE = 321,     // "cache-max-age"
+    TOKEN_DECLINE_PROBATION_PERIOD = 322, // "decline-probation-period"
+    TOKEN_SERVER_TAG = 323,        // "server-tag"
+    TOKEN_STATISTIC_DEFAULT_SAMPLE_COUNT = 324, // "statistic-default-sample-count"
+    TOKEN_STATISTIC_DEFAULT_SAMPLE_AGE = 325, // "statistic-default-sample-age"
+    TOKEN_DDNS_SEND_UPDATES = 326, // "ddns-send-updates"
+    TOKEN_DDNS_OVERRIDE_NO_UPDATE = 327, // "ddns-override-no-update"
+    TOKEN_DDNS_OVERRIDE_CLIENT_UPDATE = 328, // "ddns-override-client-update"
+    TOKEN_DDNS_REPLACE_CLIENT_NAME = 329, // "ddns-replace-client-name"
+    TOKEN_DDNS_GENERATED_PREFIX = 330, // "ddns-generated-prefix"
+    TOKEN_DDNS_QUALIFYING_SUFFIX = 331, // "ddns-qualifying-suffix"
+    TOKEN_DDNS_UPDATE_ON_RENEW = 332, // "ddns-update-on-renew"
+    TOKEN_DDNS_USE_CONFLICT_RESOLUTION = 333, // "ddns-use-conflict-resolution"
+    TOKEN_STORE_EXTENDED_INFO = 334, // "store-extended-info"
+    TOKEN_SUBNET4 = 335,           // "subnet4"
+    TOKEN_SUBNET_4O6_INTERFACE = 336, // "4o6-interface"
+    TOKEN_SUBNET_4O6_INTERFACE_ID = 337, // "4o6-interface-id"
+    TOKEN_SUBNET_4O6_SUBNET = 338, // "4o6-subnet"
+    TOKEN_OPTION_DEF = 339,        // "option-def"
+    TOKEN_OPTION_DATA = 340,       // "option-data"
+    TOKEN_NAME = 341,              // "name"
+    TOKEN_DATA = 342,              // "data"
+    TOKEN_CODE = 343,              // "code"
+    TOKEN_SPACE = 344,             // "space"
+    TOKEN_CSV_FORMAT = 345,        // "csv-format"
+    TOKEN_ALWAYS_SEND = 346,       // "always-send"
+    TOKEN_RECORD_TYPES = 347,      // "record-types"
+    TOKEN_ENCAPSULATE = 348,       // "encapsulate"
+    TOKEN_ARRAY = 349,             // "array"
+    TOKEN_SHARED_NETWORKS = 350,   // "shared-networks"
+    TOKEN_POOLS = 351,             // "pools"
+    TOKEN_POOL = 352,              // "pool"
+    TOKEN_USER_CONTEXT = 353,      // "user-context"
+    TOKEN_COMMENT = 354,           // "comment"
+    TOKEN_SUBNET = 355,            // "subnet"
+    TOKEN_INTERFACE = 356,         // "interface"
+    TOKEN_ID = 357,                // "id"
+    TOKEN_RESERVATION_MODE = 358,  // "reservation-mode"
+    TOKEN_DISABLED = 359,          // "disabled"
+    TOKEN_OUT_OF_POOL = 360,       // "out-of-pool"
+    TOKEN_GLOBAL = 361,            // "global"
+    TOKEN_ALL = 362,               // "all"
+    TOKEN_HOST_RESERVATION_IDENTIFIERS = 363, // "host-reservation-identifiers"
+    TOKEN_CLIENT_CLASSES = 364,    // "client-classes"
+    TOKEN_REQUIRE_CLIENT_CLASSES = 365, // "require-client-classes"
+    TOKEN_TEST = 366,              // "test"
+    TOKEN_ONLY_IF_REQUIRED = 367,  // "only-if-required"
+    TOKEN_CLIENT_CLASS = 368,      // "client-class"
+    TOKEN_RESERVATIONS = 369,      // "reservations"
+    TOKEN_DUID = 370,              // "duid"
+    TOKEN_HW_ADDRESS = 371,        // "hw-address"
+    TOKEN_CIRCUIT_ID = 372,        // "circuit-id"
+    TOKEN_CLIENT_ID = 373,         // "client-id"
+    TOKEN_HOSTNAME = 374,          // "hostname"
+    TOKEN_FLEX_ID = 375,           // "flex-id"
+    TOKEN_RELAY = 376,             // "relay"
+    TOKEN_IP_ADDRESS = 377,        // "ip-address"
+    TOKEN_IP_ADDRESSES = 378,      // "ip-addresses"
+    TOKEN_HOOKS_LIBRARIES = 379,   // "hooks-libraries"
+    TOKEN_LIBRARY = 380,           // "library"
+    TOKEN_PARAMETERS = 381,        // "parameters"
+    TOKEN_EXPIRED_LEASES_PROCESSING = 382, // "expired-leases-processing"
+    TOKEN_RECLAIM_TIMER_WAIT_TIME = 383, // "reclaim-timer-wait-time"
+    TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 384, // "flush-reclaimed-timer-wait-time"
+    TOKEN_HOLD_RECLAIMED_TIME = 385, // "hold-reclaimed-time"
+    TOKEN_MAX_RECLAIM_LEASES = 386, // "max-reclaim-leases"
+    TOKEN_MAX_RECLAIM_TIME = 387,  // "max-reclaim-time"
+    TOKEN_UNWARNED_RECLAIM_CYCLES = 388, // "unwarned-reclaim-cycles"
+    TOKEN_DHCP4O6_PORT = 389,      // "dhcp4o6-port"
+    TOKEN_DHCP_MULTI_THREADING = 390, // "multi-threading"
+    TOKEN_ENABLE_MULTI_THREADING = 391, // "enable-multi-threading"
+    TOKEN_THREAD_POOL_SIZE = 392,  // "thread-pool-size"
+    TOKEN_PACKET_QUEUE_SIZE = 393, // "packet-queue-size"
+    TOKEN_CONTROL_SOCKET = 394,    // "control-socket"
+    TOKEN_SOCKET_TYPE = 395,       // "socket-type"
+    TOKEN_SOCKET_NAME = 396,       // "socket-name"
+    TOKEN_DHCP_QUEUE_CONTROL = 397, // "dhcp-queue-control"
+    TOKEN_ENABLE_QUEUE = 398,      // "enable-queue"
+    TOKEN_QUEUE_TYPE = 399,        // "queue-type"
+    TOKEN_CAPACITY = 400,          // "capacity"
+    TOKEN_DHCP_DDNS = 401,         // "dhcp-ddns"
+    TOKEN_ENABLE_UPDATES = 402,    // "enable-updates"
+    TOKEN_QUALIFYING_SUFFIX = 403, // "qualifying-suffix"
+    TOKEN_SERVER_IP = 404,         // "server-ip"
+    TOKEN_SERVER_PORT = 405,       // "server-port"
+    TOKEN_SENDER_IP = 406,         // "sender-ip"
+    TOKEN_SENDER_PORT = 407,       // "sender-port"
+    TOKEN_MAX_QUEUE_SIZE = 408,    // "max-queue-size"
+    TOKEN_NCR_PROTOCOL = 409,      // "ncr-protocol"
+    TOKEN_NCR_FORMAT = 410,        // "ncr-format"
+    TOKEN_OVERRIDE_NO_UPDATE = 411, // "override-no-update"
+    TOKEN_OVERRIDE_CLIENT_UPDATE = 412, // "override-client-update"
+    TOKEN_REPLACE_CLIENT_NAME = 413, // "replace-client-name"
+    TOKEN_GENERATED_PREFIX = 414,  // "generated-prefix"
+    TOKEN_TCP = 415,               // "tcp"
+    TOKEN_JSON = 416,              // "JSON"
+    TOKEN_WHEN_PRESENT = 417,      // "when-present"
+    TOKEN_NEVER = 418,             // "never"
+    TOKEN_ALWAYS = 419,            // "always"
+    TOKEN_WHEN_NOT_PRESENT = 420,  // "when-not-present"
+    TOKEN_HOSTNAME_CHAR_SET = 421, // "hostname-char-set"
+    TOKEN_HOSTNAME_CHAR_REPLACEMENT = 422, // "hostname-char-replacement"
+    TOKEN_IP_RESERVATIONS_UNIQUE = 423, // "ip-reservations-unique"
+    TOKEN_LOGGERS = 424,           // "loggers"
+    TOKEN_OUTPUT_OPTIONS = 425,    // "output_options"
+    TOKEN_OUTPUT = 426,            // "output"
+    TOKEN_DEBUGLEVEL = 427,        // "debuglevel"
+    TOKEN_SEVERITY = 428,          // "severity"
+    TOKEN_FLUSH = 429,             // "flush"
+    TOKEN_MAXSIZE = 430,           // "maxsize"
+    TOKEN_MAXVER = 431,            // "maxver"
+    TOKEN_PATTERN = 432,           // "pattern"
+    TOKEN_TOPLEVEL_JSON = 433,     // TOPLEVEL_JSON
+    TOKEN_TOPLEVEL_DHCP4 = 434,    // TOPLEVEL_DHCP4
+    TOKEN_SUB_DHCP4 = 435,         // SUB_DHCP4
+    TOKEN_SUB_INTERFACES4 = 436,   // SUB_INTERFACES4
+    TOKEN_SUB_SUBNET4 = 437,       // SUB_SUBNET4
+    TOKEN_SUB_POOL4 = 438,         // SUB_POOL4
+    TOKEN_SUB_RESERVATION = 439,   // SUB_RESERVATION
+    TOKEN_SUB_OPTION_DEFS = 440,   // SUB_OPTION_DEFS
+    TOKEN_SUB_OPTION_DEF = 441,    // SUB_OPTION_DEF
+    TOKEN_SUB_OPTION_DATA = 442,   // SUB_OPTION_DATA
+    TOKEN_SUB_HOOKS_LIBRARY = 443, // SUB_HOOKS_LIBRARY
+    TOKEN_SUB_DHCP_DDNS = 444,     // SUB_DHCP_DDNS
+    TOKEN_SUB_CONFIG_CONTROL = 445, // SUB_CONFIG_CONTROL
+    TOKEN_STRING = 446,            // "constant string"
+    TOKEN_INTEGER = 447,           // "integer"
+    TOKEN_FLOAT = 448,             // "floating point"
+    TOKEN_BOOLEAN = 449            // "boolean"
       };
+      /// Backward compatibility alias (Bison 3.6).
+      typedef token_kind_type yytokentype;
     };
 
-    /// (External) token type, as returned by yylex.
-    typedef token::yytokentype token_type;
+    /// Token kind, as returned by yylex.
+    typedef token::yytokentype token_kind_type;
 
-    /// Symbol type: an internal symbol number.
-    typedef int symbol_number_type;
+    /// Backward compatibility alias (Bison 3.6).
+    typedef token_kind_type token_type;
+
+    /// Symbol kinds.
+    struct symbol_kind
+    {
+      enum symbol_kind_type
+      {
+        YYNTOKENS = 195, ///< Number of tokens.
+        S_YYEMPTY = -2,
+        S_YYEOF = 0,                             // "end of file"
+        S_YYerror = 1,                           // error
+        S_YYUNDEF = 2,                           // "invalid token"
+        S_COMMA = 3,                             // ","
+        S_COLON = 4,                             // ":"
+        S_LSQUARE_BRACKET = 5,                   // "["
+        S_RSQUARE_BRACKET = 6,                   // "]"
+        S_LCURLY_BRACKET = 7,                    // "{"
+        S_RCURLY_BRACKET = 8,                    // "}"
+        S_NULL_TYPE = 9,                         // "null"
+        S_DHCP4 = 10,                            // "Dhcp4"
+        S_CONFIG_CONTROL = 11,                   // "config-control"
+        S_CONFIG_DATABASES = 12,                 // "config-databases"
+        S_CONFIG_FETCH_WAIT_TIME = 13,           // "config-fetch-wait-time"
+        S_INTERFACES_CONFIG = 14,                // "interfaces-config"
+        S_INTERFACES = 15,                       // "interfaces"
+        S_DHCP_SOCKET_TYPE = 16,                 // "dhcp-socket-type"
+        S_RAW = 17,                              // "raw"
+        S_UDP = 18,                              // "udp"
+        S_OUTBOUND_INTERFACE = 19,               // "outbound-interface"
+        S_SAME_AS_INBOUND = 20,                  // "same-as-inbound"
+        S_USE_ROUTING = 21,                      // "use-routing"
+        S_RE_DETECT = 22,                        // "re-detect"
+        S_SANITY_CHECKS = 23,                    // "sanity-checks"
+        S_LEASE_CHECKS = 24,                     // "lease-checks"
+        S_ECHO_CLIENT_ID = 25,                   // "echo-client-id"
+        S_MATCH_CLIENT_ID = 26,                  // "match-client-id"
+        S_AUTHORITATIVE = 27,                    // "authoritative"
+        S_NEXT_SERVER = 28,                      // "next-server"
+        S_SERVER_HOSTNAME = 29,                  // "server-hostname"
+        S_BOOT_FILE_NAME = 30,                   // "boot-file-name"
+        S_LEASE_DATABASE = 31,                   // "lease-database"
+        S_HOSTS_DATABASE = 32,                   // "hosts-database"
+        S_HOSTS_DATABASES = 33,                  // "hosts-databases"
+        S_TYPE = 34,                             // "type"
+        S_MEMFILE = 35,                          // "memfile"
+        S_MYSQL = 36,                            // "mysql"
+        S_POSTGRESQL = 37,                       // "postgresql"
+        S_CQL = 38,                              // "cql"
+        S_USER = 39,                             // "user"
+        S_PASSWORD = 40,                         // "password"
+        S_HOST = 41,                             // "host"
+        S_PORT = 42,                             // "port"
+        S_PERSIST = 43,                          // "persist"
+        S_LFC_INTERVAL = 44,                     // "lfc-interval"
+        S_READONLY = 45,                         // "readonly"
+        S_CONNECT_TIMEOUT = 46,                  // "connect-timeout"
+        S_CONTACT_POINTS = 47,                   // "contact-points"
+        S_KEYSPACE = 48,                         // "keyspace"
+        S_CONSISTENCY = 49,                      // "consistency"
+        S_SERIAL_CONSISTENCY = 50,               // "serial-consistency"
+        S_MAX_RECONNECT_TRIES = 51,              // "max-reconnect-tries"
+        S_RECONNECT_WAIT_TIME = 52,              // "reconnect-wait-time"
+        S_REQUEST_TIMEOUT = 53,                  // "request-timeout"
+        S_TCP_KEEPALIVE = 54,                    // "tcp-keepalive"
+        S_TCP_NODELAY = 55,                      // "tcp-nodelay"
+        S_MAX_ROW_ERRORS = 56,                   // "max-row-errors"
+        S_VALID_LIFETIME = 57,                   // "valid-lifetime"
+        S_MIN_VALID_LIFETIME = 58,               // "min-valid-lifetime"
+        S_MAX_VALID_LIFETIME = 59,               // "max-valid-lifetime"
+        S_RENEW_TIMER = 60,                      // "renew-timer"
+        S_REBIND_TIMER = 61,                     // "rebind-timer"
+        S_CALCULATE_TEE_TIMES = 62,              // "calculate-tee-times"
+        S_T1_PERCENT = 63,                       // "t1-percent"
+        S_T2_PERCENT = 64,                       // "t2-percent"
+        S_CACHE_THRESHOLD = 65,                  // "cache-threshold"
+        S_CACHE_MAX_AGE = 66,                    // "cache-max-age"
+        S_DECLINE_PROBATION_PERIOD = 67,         // "decline-probation-period"
+        S_SERVER_TAG = 68,                       // "server-tag"
+        S_STATISTIC_DEFAULT_SAMPLE_COUNT = 69,   // "statistic-default-sample-count"
+        S_STATISTIC_DEFAULT_SAMPLE_AGE = 70,     // "statistic-default-sample-age"
+        S_DDNS_SEND_UPDATES = 71,                // "ddns-send-updates"
+        S_DDNS_OVERRIDE_NO_UPDATE = 72,          // "ddns-override-no-update"
+        S_DDNS_OVERRIDE_CLIENT_UPDATE = 73,      // "ddns-override-client-update"
+        S_DDNS_REPLACE_CLIENT_NAME = 74,         // "ddns-replace-client-name"
+        S_DDNS_GENERATED_PREFIX = 75,            // "ddns-generated-prefix"
+        S_DDNS_QUALIFYING_SUFFIX = 76,           // "ddns-qualifying-suffix"
+        S_DDNS_UPDATE_ON_RENEW = 77,             // "ddns-update-on-renew"
+        S_DDNS_USE_CONFLICT_RESOLUTION = 78,     // "ddns-use-conflict-resolution"
+        S_STORE_EXTENDED_INFO = 79,              // "store-extended-info"
+        S_SUBNET4 = 80,                          // "subnet4"
+        S_SUBNET_4O6_INTERFACE = 81,             // "4o6-interface"
+        S_SUBNET_4O6_INTERFACE_ID = 82,          // "4o6-interface-id"
+        S_SUBNET_4O6_SUBNET = 83,                // "4o6-subnet"
+        S_OPTION_DEF = 84,                       // "option-def"
+        S_OPTION_DATA = 85,                      // "option-data"
+        S_NAME = 86,                             // "name"
+        S_DATA = 87,                             // "data"
+        S_CODE = 88,                             // "code"
+        S_SPACE = 89,                            // "space"
+        S_CSV_FORMAT = 90,                       // "csv-format"
+        S_ALWAYS_SEND = 91,                      // "always-send"
+        S_RECORD_TYPES = 92,                     // "record-types"
+        S_ENCAPSULATE = 93,                      // "encapsulate"
+        S_ARRAY = 94,                            // "array"
+        S_SHARED_NETWORKS = 95,                  // "shared-networks"
+        S_POOLS = 96,                            // "pools"
+        S_POOL = 97,                             // "pool"
+        S_USER_CONTEXT = 98,                     // "user-context"
+        S_COMMENT = 99,                          // "comment"
+        S_SUBNET = 100,                          // "subnet"
+        S_INTERFACE = 101,                       // "interface"
+        S_ID = 102,                              // "id"
+        S_RESERVATION_MODE = 103,                // "reservation-mode"
+        S_DISABLED = 104,                        // "disabled"
+        S_OUT_OF_POOL = 105,                     // "out-of-pool"
+        S_GLOBAL = 106,                          // "global"
+        S_ALL = 107,                             // "all"
+        S_HOST_RESERVATION_IDENTIFIERS = 108,    // "host-reservation-identifiers"
+        S_CLIENT_CLASSES = 109,                  // "client-classes"
+        S_REQUIRE_CLIENT_CLASSES = 110,          // "require-client-classes"
+        S_TEST = 111,                            // "test"
+        S_ONLY_IF_REQUIRED = 112,                // "only-if-required"
+        S_CLIENT_CLASS = 113,                    // "client-class"
+        S_RESERVATIONS = 114,                    // "reservations"
+        S_DUID = 115,                            // "duid"
+        S_HW_ADDRESS = 116,                      // "hw-address"
+        S_CIRCUIT_ID = 117,                      // "circuit-id"
+        S_CLIENT_ID = 118,                       // "client-id"
+        S_HOSTNAME = 119,                        // "hostname"
+        S_FLEX_ID = 120,                         // "flex-id"
+        S_RELAY = 121,                           // "relay"
+        S_IP_ADDRESS = 122,                      // "ip-address"
+        S_IP_ADDRESSES = 123,                    // "ip-addresses"
+        S_HOOKS_LIBRARIES = 124,                 // "hooks-libraries"
+        S_LIBRARY = 125,                         // "library"
+        S_PARAMETERS = 126,                      // "parameters"
+        S_EXPIRED_LEASES_PROCESSING = 127,       // "expired-leases-processing"
+        S_RECLAIM_TIMER_WAIT_TIME = 128,         // "reclaim-timer-wait-time"
+        S_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 129, // "flush-reclaimed-timer-wait-time"
+        S_HOLD_RECLAIMED_TIME = 130,             // "hold-reclaimed-time"
+        S_MAX_RECLAIM_LEASES = 131,              // "max-reclaim-leases"
+        S_MAX_RECLAIM_TIME = 132,                // "max-reclaim-time"
+        S_UNWARNED_RECLAIM_CYCLES = 133,         // "unwarned-reclaim-cycles"
+        S_DHCP4O6_PORT = 134,                    // "dhcp4o6-port"
+        S_DHCP_MULTI_THREADING = 135,            // "multi-threading"
+        S_ENABLE_MULTI_THREADING = 136,          // "enable-multi-threading"
+        S_THREAD_POOL_SIZE = 137,                // "thread-pool-size"
+        S_PACKET_QUEUE_SIZE = 138,               // "packet-queue-size"
+        S_CONTROL_SOCKET = 139,                  // "control-socket"
+        S_SOCKET_TYPE = 140,                     // "socket-type"
+        S_SOCKET_NAME = 141,                     // "socket-name"
+        S_DHCP_QUEUE_CONTROL = 142,              // "dhcp-queue-control"
+        S_ENABLE_QUEUE = 143,                    // "enable-queue"
+        S_QUEUE_TYPE = 144,                      // "queue-type"
+        S_CAPACITY = 145,                        // "capacity"
+        S_DHCP_DDNS = 146,                       // "dhcp-ddns"
+        S_ENABLE_UPDATES = 147,                  // "enable-updates"
+        S_QUALIFYING_SUFFIX = 148,               // "qualifying-suffix"
+        S_SERVER_IP = 149,                       // "server-ip"
+        S_SERVER_PORT = 150,                     // "server-port"
+        S_SENDER_IP = 151,                       // "sender-ip"
+        S_SENDER_PORT = 152,                     // "sender-port"
+        S_MAX_QUEUE_SIZE = 153,                  // "max-queue-size"
+        S_NCR_PROTOCOL = 154,                    // "ncr-protocol"
+        S_NCR_FORMAT = 155,                      // "ncr-format"
+        S_OVERRIDE_NO_UPDATE = 156,              // "override-no-update"
+        S_OVERRIDE_CLIENT_UPDATE = 157,          // "override-client-update"
+        S_REPLACE_CLIENT_NAME = 158,             // "replace-client-name"
+        S_GENERATED_PREFIX = 159,                // "generated-prefix"
+        S_TCP = 160,                             // "tcp"
+        S_JSON = 161,                            // "JSON"
+        S_WHEN_PRESENT = 162,                    // "when-present"
+        S_NEVER = 163,                           // "never"
+        S_ALWAYS = 164,                          // "always"
+        S_WHEN_NOT_PRESENT = 165,                // "when-not-present"
+        S_HOSTNAME_CHAR_SET = 166,               // "hostname-char-set"
+        S_HOSTNAME_CHAR_REPLACEMENT = 167,       // "hostname-char-replacement"
+        S_IP_RESERVATIONS_UNIQUE = 168,          // "ip-reservations-unique"
+        S_LOGGERS = 169,                         // "loggers"
+        S_OUTPUT_OPTIONS = 170,                  // "output_options"
+        S_OUTPUT = 171,                          // "output"
+        S_DEBUGLEVEL = 172,                      // "debuglevel"
+        S_SEVERITY = 173,                        // "severity"
+        S_FLUSH = 174,                           // "flush"
+        S_MAXSIZE = 175,                         // "maxsize"
+        S_MAXVER = 176,                          // "maxver"
+        S_PATTERN = 177,                         // "pattern"
+        S_TOPLEVEL_JSON = 178,                   // TOPLEVEL_JSON
+        S_TOPLEVEL_DHCP4 = 179,                  // TOPLEVEL_DHCP4
+        S_SUB_DHCP4 = 180,                       // SUB_DHCP4
+        S_SUB_INTERFACES4 = 181,                 // SUB_INTERFACES4
+        S_SUB_SUBNET4 = 182,                     // SUB_SUBNET4
+        S_SUB_POOL4 = 183,                       // SUB_POOL4
+        S_SUB_RESERVATION = 184,                 // SUB_RESERVATION
+        S_SUB_OPTION_DEFS = 185,                 // SUB_OPTION_DEFS
+        S_SUB_OPTION_DEF = 186,                  // SUB_OPTION_DEF
+        S_SUB_OPTION_DATA = 187,                 // SUB_OPTION_DATA
+        S_SUB_HOOKS_LIBRARY = 188,               // SUB_HOOKS_LIBRARY
+        S_SUB_DHCP_DDNS = 189,                   // SUB_DHCP_DDNS
+        S_SUB_CONFIG_CONTROL = 190,              // SUB_CONFIG_CONTROL
+        S_STRING = 191,                          // "constant string"
+        S_INTEGER = 192,                         // "integer"
+        S_FLOAT = 193,                           // "floating point"
+        S_BOOLEAN = 194,                         // "boolean"
+        S_YYACCEPT = 195,                        // $accept
+        S_start = 196,                           // start
+        S_197_1 = 197,                           // $@1
+        S_198_2 = 198,                           // $@2
+        S_199_3 = 199,                           // $@3
+        S_200_4 = 200,                           // $@4
+        S_201_5 = 201,                           // $@5
+        S_202_6 = 202,                           // $@6
+        S_203_7 = 203,                           // $@7
+        S_204_8 = 204,                           // $@8
+        S_205_9 = 205,                           // $@9
+        S_206_10 = 206,                          // $@10
+        S_207_11 = 207,                          // $@11
+        S_208_12 = 208,                          // $@12
+        S_209_13 = 209,                          // $@13
+        S_value = 210,                           // value
+        S_sub_json = 211,                        // sub_json
+        S_map2 = 212,                            // map2
+        S_213_14 = 213,                          // $@14
+        S_map_value = 214,                       // map_value
+        S_map_content = 215,                     // map_content
+        S_not_empty_map = 216,                   // not_empty_map
+        S_list_generic = 217,                    // list_generic
+        S_218_15 = 218,                          // $@15
+        S_list_content = 219,                    // list_content
+        S_not_empty_list = 220,                  // not_empty_list
+        S_list_strings = 221,                    // list_strings
+        S_222_16 = 222,                          // $@16
+        S_list_strings_content = 223,            // list_strings_content
+        S_not_empty_list_strings = 224,          // not_empty_list_strings
+        S_unknown_map_entry = 225,               // unknown_map_entry
+        S_syntax_map = 226,                      // syntax_map
+        S_227_17 = 227,                          // $@17
+        S_global_object = 228,                   // global_object
+        S_229_18 = 229,                          // $@18
+        S_sub_dhcp4 = 230,                       // sub_dhcp4
+        S_231_19 = 231,                          // $@19
+        S_global_params = 232,                   // global_params
+        S_global_param = 233,                    // global_param
+        S_valid_lifetime = 234,                  // valid_lifetime
+        S_min_valid_lifetime = 235,              // min_valid_lifetime
+        S_max_valid_lifetime = 236,              // max_valid_lifetime
+        S_renew_timer = 237,                     // renew_timer
+        S_rebind_timer = 238,                    // rebind_timer
+        S_calculate_tee_times = 239,             // calculate_tee_times
+        S_t1_percent = 240,                      // t1_percent
+        S_t2_percent = 241,                      // t2_percent
+        S_cache_threshold = 242,                 // cache_threshold
+        S_cache_max_age = 243,                   // cache_max_age
+        S_decline_probation_period = 244,        // decline_probation_period
+        S_server_tag = 245,                      // server_tag
+        S_246_20 = 246,                          // $@20
+        S_echo_client_id = 247,                  // echo_client_id
+        S_match_client_id = 248,                 // match_client_id
+        S_authoritative = 249,                   // authoritative
+        S_ddns_send_updates = 250,               // ddns_send_updates
+        S_ddns_override_no_update = 251,         // ddns_override_no_update
+        S_ddns_override_client_update = 252,     // ddns_override_client_update
+        S_ddns_replace_client_name = 253,        // ddns_replace_client_name
+        S_254_21 = 254,                          // $@21
+        S_ddns_replace_client_name_value = 255,  // ddns_replace_client_name_value
+        S_ddns_generated_prefix = 256,           // ddns_generated_prefix
+        S_257_22 = 257,                          // $@22
+        S_ddns_qualifying_suffix = 258,          // ddns_qualifying_suffix
+        S_259_23 = 259,                          // $@23
+        S_ddns_update_on_renew = 260,            // ddns_update_on_renew
+        S_ddns_use_conflict_resolution = 261,    // ddns_use_conflict_resolution
+        S_hostname_char_set = 262,               // hostname_char_set
+        S_263_24 = 263,                          // $@24
+        S_hostname_char_replacement = 264,       // hostname_char_replacement
+        S_265_25 = 265,                          // $@25
+        S_store_extended_info = 266,             // store_extended_info
+        S_statistic_default_sample_count = 267,  // statistic_default_sample_count
+        S_statistic_default_sample_age = 268,    // statistic_default_sample_age
+        S_ip_reservations_unique = 269,          // ip_reservations_unique
+        S_interfaces_config = 270,               // interfaces_config
+        S_271_26 = 271,                          // $@26
+        S_interfaces_config_params = 272,        // interfaces_config_params
+        S_interfaces_config_param = 273,         // interfaces_config_param
+        S_sub_interfaces4 = 274,                 // sub_interfaces4
+        S_275_27 = 275,                          // $@27
+        S_interfaces_list = 276,                 // interfaces_list
+        S_277_28 = 277,                          // $@28
+        S_dhcp_socket_type = 278,                // dhcp_socket_type
+        S_279_29 = 279,                          // $@29
+        S_socket_type = 280,                     // socket_type
+        S_outbound_interface = 281,              // outbound_interface
+        S_282_30 = 282,                          // $@30
+        S_outbound_interface_value = 283,        // outbound_interface_value
+        S_re_detect = 284,                       // re_detect
+        S_lease_database = 285,                  // lease_database
+        S_286_31 = 286,                          // $@31
+        S_sanity_checks = 287,                   // sanity_checks
+        S_288_32 = 288,                          // $@32
+        S_sanity_checks_params = 289,            // sanity_checks_params
+        S_sanity_checks_param = 290,             // sanity_checks_param
+        S_lease_checks = 291,                    // lease_checks
+        S_292_33 = 292,                          // $@33
+        S_hosts_database = 293,                  // hosts_database
+        S_294_34 = 294,                          // $@34
+        S_hosts_databases = 295,                 // hosts_databases
+        S_296_35 = 296,                          // $@35
+        S_database_list = 297,                   // database_list
+        S_not_empty_database_list = 298,         // not_empty_database_list
+        S_database = 299,                        // database
+        S_300_36 = 300,                          // $@36
+        S_database_map_params = 301,             // database_map_params
+        S_database_map_param = 302,              // database_map_param
+        S_database_type = 303,                   // database_type
+        S_304_37 = 304,                          // $@37
+        S_db_type = 305,                         // db_type
+        S_user = 306,                            // user
+        S_307_38 = 307,                          // $@38
+        S_password = 308,                        // password
+        S_309_39 = 309,                          // $@39
+        S_host = 310,                            // host
+        S_311_40 = 311,                          // $@40
+        S_port = 312,                            // port
+        S_name = 313,                            // name
+        S_314_41 = 314,                          // $@41
+        S_persist = 315,                         // persist
+        S_lfc_interval = 316,                    // lfc_interval
+        S_readonly = 317,                        // readonly
+        S_connect_timeout = 318,                 // connect_timeout
+        S_request_timeout = 319,                 // request_timeout
+        S_tcp_keepalive = 320,                   // tcp_keepalive
+        S_tcp_nodelay = 321,                     // tcp_nodelay
+        S_contact_points = 322,                  // contact_points
+        S_323_42 = 323,                          // $@42
+        S_keyspace = 324,                        // keyspace
+        S_325_43 = 325,                          // $@43
+        S_consistency = 326,                     // consistency
+        S_327_44 = 327,                          // $@44
+        S_serial_consistency = 328,              // serial_consistency
+        S_329_45 = 329,                          // $@45
+        S_max_reconnect_tries = 330,             // max_reconnect_tries
+        S_reconnect_wait_time = 331,             // reconnect_wait_time
+        S_max_row_errors = 332,                  // max_row_errors
+        S_host_reservation_identifiers = 333,    // host_reservation_identifiers
+        S_334_46 = 334,                          // $@46
+        S_host_reservation_identifiers_list = 335, // host_reservation_identifiers_list
+        S_host_reservation_identifier = 336,     // host_reservation_identifier
+        S_duid_id = 337,                         // duid_id
+        S_hw_address_id = 338,                   // hw_address_id
+        S_circuit_id = 339,                      // circuit_id
+        S_client_id = 340,                       // client_id
+        S_flex_id = 341,                         // flex_id
+        S_dhcp_multi_threading = 342,            // dhcp_multi_threading
+        S_343_47 = 343,                          // $@47
+        S_multi_threading_params = 344,          // multi_threading_params
+        S_multi_threading_param = 345,           // multi_threading_param
+        S_enable_multi_threading = 346,          // enable_multi_threading
+        S_thread_pool_size = 347,                // thread_pool_size
+        S_packet_queue_size = 348,               // packet_queue_size
+        S_hooks_libraries = 349,                 // hooks_libraries
+        S_350_48 = 350,                          // $@48
+        S_hooks_libraries_list = 351,            // hooks_libraries_list
+        S_not_empty_hooks_libraries_list = 352,  // not_empty_hooks_libraries_list
+        S_hooks_library = 353,                   // hooks_library
+        S_354_49 = 354,                          // $@49
+        S_sub_hooks_library = 355,               // sub_hooks_library
+        S_356_50 = 356,                          // $@50
+        S_hooks_params = 357,                    // hooks_params
+        S_hooks_param = 358,                     // hooks_param
+        S_library = 359,                         // library
+        S_360_51 = 360,                          // $@51
+        S_parameters = 361,                      // parameters
+        S_362_52 = 362,                          // $@52
+        S_expired_leases_processing = 363,       // expired_leases_processing
+        S_364_53 = 364,                          // $@53
+        S_expired_leases_params = 365,           // expired_leases_params
+        S_expired_leases_param = 366,            // expired_leases_param
+        S_reclaim_timer_wait_time = 367,         // reclaim_timer_wait_time
+        S_flush_reclaimed_timer_wait_time = 368, // flush_reclaimed_timer_wait_time
+        S_hold_reclaimed_time = 369,             // hold_reclaimed_time
+        S_max_reclaim_leases = 370,              // max_reclaim_leases
+        S_max_reclaim_time = 371,                // max_reclaim_time
+        S_unwarned_reclaim_cycles = 372,         // unwarned_reclaim_cycles
+        S_subnet4_list = 373,                    // subnet4_list
+        S_374_54 = 374,                          // $@54
+        S_subnet4_list_content = 375,            // subnet4_list_content
+        S_not_empty_subnet4_list = 376,          // not_empty_subnet4_list
+        S_subnet4 = 377,                         // subnet4
+        S_378_55 = 378,                          // $@55
+        S_sub_subnet4 = 379,                     // sub_subnet4
+        S_380_56 = 380,                          // $@56
+        S_subnet4_params = 381,                  // subnet4_params
+        S_subnet4_param = 382,                   // subnet4_param
+        S_subnet = 383,                          // subnet
+        S_384_57 = 384,                          // $@57
+        S_subnet_4o6_interface = 385,            // subnet_4o6_interface
+        S_386_58 = 386,                          // $@58
+        S_subnet_4o6_interface_id = 387,         // subnet_4o6_interface_id
+        S_388_59 = 388,                          // $@59
+        S_subnet_4o6_subnet = 389,               // subnet_4o6_subnet
+        S_390_60 = 390,                          // $@60
+        S_interface = 391,                       // interface
+        S_392_61 = 392,                          // $@61
+        S_client_class = 393,                    // client_class
+        S_394_62 = 394,                          // $@62
+        S_require_client_classes = 395,          // require_client_classes
+        S_396_63 = 396,                          // $@63
+        S_reservation_mode = 397,                // reservation_mode
+        S_398_64 = 398,                          // $@64
+        S_hr_mode = 399,                         // hr_mode
+        S_id = 400,                              // id
+        S_shared_networks = 401,                 // shared_networks
+        S_402_65 = 402,                          // $@65
+        S_shared_networks_content = 403,         // shared_networks_content
+        S_shared_networks_list = 404,            // shared_networks_list
+        S_shared_network = 405,                  // shared_network
+        S_406_66 = 406,                          // $@66
+        S_shared_network_params = 407,           // shared_network_params
+        S_shared_network_param = 408,            // shared_network_param
+        S_option_def_list = 409,                 // option_def_list
+        S_410_67 = 410,                          // $@67
+        S_sub_option_def_list = 411,             // sub_option_def_list
+        S_412_68 = 412,                          // $@68
+        S_option_def_list_content = 413,         // option_def_list_content
+        S_not_empty_option_def_list = 414,       // not_empty_option_def_list
+        S_option_def_entry = 415,                // option_def_entry
+        S_416_69 = 416,                          // $@69
+        S_sub_option_def = 417,                  // sub_option_def
+        S_418_70 = 418,                          // $@70
+        S_option_def_params = 419,               // option_def_params
+        S_not_empty_option_def_params = 420,     // not_empty_option_def_params
+        S_option_def_param = 421,                // option_def_param
+        S_option_def_name = 422,                 // option_def_name
+        S_code = 423,                            // code
+        S_option_def_code = 424,                 // option_def_code
+        S_option_def_type = 425,                 // option_def_type
+        S_426_71 = 426,                          // $@71
+        S_option_def_record_types = 427,         // option_def_record_types
+        S_428_72 = 428,                          // $@72
+        S_space = 429,                           // space
+        S_430_73 = 430,                          // $@73
+        S_option_def_space = 431,                // option_def_space
+        S_option_def_encapsulate = 432,          // option_def_encapsulate
+        S_433_74 = 433,                          // $@74
+        S_option_def_array = 434,                // option_def_array
+        S_option_data_list = 435,                // option_data_list
+        S_436_75 = 436,                          // $@75
+        S_option_data_list_content = 437,        // option_data_list_content
+        S_not_empty_option_data_list = 438,      // not_empty_option_data_list
+        S_option_data_entry = 439,               // option_data_entry
+        S_440_76 = 440,                          // $@76
+        S_sub_option_data = 441,                 // sub_option_data
+        S_442_77 = 442,                          // $@77
+        S_option_data_params = 443,              // option_data_params
+        S_not_empty_option_data_params = 444,    // not_empty_option_data_params
+        S_option_data_param = 445,               // option_data_param
+        S_option_data_name = 446,                // option_data_name
+        S_option_data_data = 447,                // option_data_data
+        S_448_78 = 448,                          // $@78
+        S_option_data_code = 449,                // option_data_code
+        S_option_data_space = 450,               // option_data_space
+        S_option_data_csv_format = 451,          // option_data_csv_format
+        S_option_data_always_send = 452,         // option_data_always_send
+        S_pools_list = 453,                      // pools_list
+        S_454_79 = 454,                          // $@79
+        S_pools_list_content = 455,              // pools_list_content
+        S_not_empty_pools_list = 456,            // not_empty_pools_list
+        S_pool_list_entry = 457,                 // pool_list_entry
+        S_458_80 = 458,                          // $@80
+        S_sub_pool4 = 459,                       // sub_pool4
+        S_460_81 = 460,                          // $@81
+        S_pool_params = 461,                     // pool_params
+        S_pool_param = 462,                      // pool_param
+        S_pool_entry = 463,                      // pool_entry
+        S_464_82 = 464,                          // $@82
+        S_user_context = 465,                    // user_context
+        S_466_83 = 466,                          // $@83
+        S_comment = 467,                         // comment
+        S_468_84 = 468,                          // $@84
+        S_reservations = 469,                    // reservations
+        S_470_85 = 470,                          // $@85
+        S_reservations_list = 471,               // reservations_list
+        S_not_empty_reservations_list = 472,     // not_empty_reservations_list
+        S_reservation = 473,                     // reservation
+        S_474_86 = 474,                          // $@86
+        S_sub_reservation = 475,                 // sub_reservation
+        S_476_87 = 476,                          // $@87
+        S_reservation_params = 477,              // reservation_params
+        S_not_empty_reservation_params = 478,    // not_empty_reservation_params
+        S_reservation_param = 479,               // reservation_param
+        S_next_server = 480,                     // next_server
+        S_481_88 = 481,                          // $@88
+        S_server_hostname = 482,                 // server_hostname
+        S_483_89 = 483,                          // $@89
+        S_boot_file_name = 484,                  // boot_file_name
+        S_485_90 = 485,                          // $@90
+        S_ip_address = 486,                      // ip_address
+        S_487_91 = 487,                          // $@91
+        S_ip_addresses = 488,                    // ip_addresses
+        S_489_92 = 489,                          // $@92
+        S_duid = 490,                            // duid
+        S_491_93 = 491,                          // $@93
+        S_hw_address = 492,                      // hw_address
+        S_493_94 = 493,                          // $@94
+        S_client_id_value = 494,                 // client_id_value
+        S_495_95 = 495,                          // $@95
+        S_circuit_id_value = 496,                // circuit_id_value
+        S_497_96 = 497,                          // $@96
+        S_flex_id_value = 498,                   // flex_id_value
+        S_499_97 = 499,                          // $@97
+        S_hostname = 500,                        // hostname
+        S_501_98 = 501,                          // $@98
+        S_reservation_client_classes = 502,      // reservation_client_classes
+        S_503_99 = 503,                          // $@99
+        S_relay = 504,                           // relay
+        S_505_100 = 505,                         // $@100
+        S_relay_map = 506,                       // relay_map
+        S_client_classes = 507,                  // client_classes
+        S_508_101 = 508,                         // $@101
+        S_client_classes_list = 509,             // client_classes_list
+        S_client_class_entry = 510,              // client_class_entry
+        S_511_102 = 511,                         // $@102
+        S_client_class_params = 512,             // client_class_params
+        S_not_empty_client_class_params = 513,   // not_empty_client_class_params
+        S_client_class_param = 514,              // client_class_param
+        S_client_class_name = 515,               // client_class_name
+        S_client_class_test = 516,               // client_class_test
+        S_517_103 = 517,                         // $@103
+        S_only_if_required = 518,                // only_if_required
+        S_dhcp4o6_port = 519,                    // dhcp4o6_port
+        S_control_socket = 520,                  // control_socket
+        S_521_104 = 521,                         // $@104
+        S_control_socket_params = 522,           // control_socket_params
+        S_control_socket_param = 523,            // control_socket_param
+        S_control_socket_type = 524,             // control_socket_type
+        S_525_105 = 525,                         // $@105
+        S_control_socket_name = 526,             // control_socket_name
+        S_527_106 = 527,                         // $@106
+        S_dhcp_queue_control = 528,              // dhcp_queue_control
+        S_529_107 = 529,                         // $@107
+        S_queue_control_params = 530,            // queue_control_params
+        S_queue_control_param = 531,             // queue_control_param
+        S_enable_queue = 532,                    // enable_queue
+        S_queue_type = 533,                      // queue_type
+        S_534_108 = 534,                         // $@108
+        S_capacity = 535,                        // capacity
+        S_arbitrary_map_entry = 536,             // arbitrary_map_entry
+        S_537_109 = 537,                         // $@109
+        S_dhcp_ddns = 538,                       // dhcp_ddns
+        S_539_110 = 539,                         // $@110
+        S_sub_dhcp_ddns = 540,                   // sub_dhcp_ddns
+        S_541_111 = 541,                         // $@111
+        S_dhcp_ddns_params = 542,                // dhcp_ddns_params
+        S_dhcp_ddns_param = 543,                 // dhcp_ddns_param
+        S_enable_updates = 544,                  // enable_updates
+        S_server_ip = 545,                       // server_ip
+        S_546_112 = 546,                         // $@112
+        S_server_port = 547,                     // server_port
+        S_sender_ip = 548,                       // sender_ip
+        S_549_113 = 549,                         // $@113
+        S_sender_port = 550,                     // sender_port
+        S_max_queue_size = 551,                  // max_queue_size
+        S_ncr_protocol = 552,                    // ncr_protocol
+        S_553_114 = 553,                         // $@114
+        S_ncr_protocol_value = 554,              // ncr_protocol_value
+        S_ncr_format = 555,                      // ncr_format
+        S_556_115 = 556,                         // $@115
+        S_dep_qualifying_suffix = 557,           // dep_qualifying_suffix
+        S_558_116 = 558,                         // $@116
+        S_dep_override_no_update = 559,          // dep_override_no_update
+        S_dep_override_client_update = 560,      // dep_override_client_update
+        S_dep_replace_client_name = 561,         // dep_replace_client_name
+        S_562_117 = 562,                         // $@117
+        S_dep_generated_prefix = 563,            // dep_generated_prefix
+        S_564_118 = 564,                         // $@118
+        S_dep_hostname_char_set = 565,           // dep_hostname_char_set
+        S_566_119 = 566,                         // $@119
+        S_dep_hostname_char_replacement = 567,   // dep_hostname_char_replacement
+        S_568_120 = 568,                         // $@120
+        S_config_control = 569,                  // config_control
+        S_570_121 = 570,                         // $@121
+        S_sub_config_control = 571,              // sub_config_control
+        S_572_122 = 572,                         // $@122
+        S_config_control_params = 573,           // config_control_params
+        S_config_control_param = 574,            // config_control_param
+        S_config_databases = 575,                // config_databases
+        S_576_123 = 576,                         // $@123
+        S_config_fetch_wait_time = 577,          // config_fetch_wait_time
+        S_loggers = 578,                         // loggers
+        S_579_124 = 579,                         // $@124
+        S_loggers_entries = 580,                 // loggers_entries
+        S_logger_entry = 581,                    // logger_entry
+        S_582_125 = 582,                         // $@125
+        S_logger_params = 583,                   // logger_params
+        S_logger_param = 584,                    // logger_param
+        S_debuglevel = 585,                      // debuglevel
+        S_severity = 586,                        // severity
+        S_587_126 = 587,                         // $@126
+        S_output_options_list = 588,             // output_options_list
+        S_589_127 = 589,                         // $@127
+        S_output_options_list_content = 590,     // output_options_list_content
+        S_output_entry = 591,                    // output_entry
+        S_592_128 = 592,                         // $@128
+        S_output_params_list = 593,              // output_params_list
+        S_output_params = 594,                   // output_params
+        S_output = 595,                          // output
+        S_596_129 = 596,                         // $@129
+        S_flush = 597,                           // flush
+        S_maxsize = 598,                         // maxsize
+        S_maxver = 599,                          // maxver
+        S_pattern = 600,                         // pattern
+        S_601_130 = 601                          // $@130
+      };
+    };
 
-    /// The symbol type number to denote an empty symbol.
-    enum { empty_symbol = -2 };
+    /// (Internal) symbol kind.
+    typedef symbol_kind::symbol_kind_type symbol_kind_type;
 
-    /// Internal symbol number for tokens (subsumed by symbol_number_type).
-    typedef unsigned char token_number_type;
+    /// The number of tokens.
+    static const symbol_kind_type YYNTOKENS = symbol_kind::YYNTOKENS;
 
     /// A complete symbol.
     ///
-    /// Expects its Base type to provide access to the symbol type
-    /// via type_get().
+    /// Expects its Base type to provide access to the symbol kind
+    /// via kind ().
     ///
     /// Provide access to semantic value and location.
     template <typename Base>
@@ -568,39 +1320,202 @@ namespace isc { namespace dhcp {
       typedef Base super_type;
 
       /// Default constructor.
-      basic_symbol ();
+      basic_symbol ()
+        : value ()
+        , location ()
+      {}
+
+#if 201103L <= YY_CPLUSPLUS
+      /// Move constructor.
+      basic_symbol (basic_symbol&& that)
+        : Base (std::move (that))
+        , value ()
+        , location (std::move (that.location))
+      {
+        switch (this->kind ())
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_socket_type: // socket_type
+      case symbol_kind::S_outbound_interface_value: // outbound_interface_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+        value.move< ElementPtr > (std::move (that.value));
+        break;
+
+      case symbol_kind::S_BOOLEAN: // "boolean"
+        value.move< bool > (std::move (that.value));
+        break;
+
+      case symbol_kind::S_FLOAT: // "floating point"
+        value.move< double > (std::move (that.value));
+        break;
+
+      case symbol_kind::S_INTEGER: // "integer"
+        value.move< int64_t > (std::move (that.value));
+        break;
+
+      case symbol_kind::S_STRING: // "constant string"
+        value.move< std::string > (std::move (that.value));
+        break;
+
+      default:
+        break;
+    }
+
+      }
+#endif
 
       /// Copy constructor.
-      basic_symbol (const basic_symbol& other);
+      basic_symbol (const basic_symbol& that);
 
       /// Constructor for valueless symbols, and symbols from each type.
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, location_type&& l)
+        : Base (t)
+        , location (std::move (l))
+      {}
+#else
+      basic_symbol (typename Base::kind_type t, const location_type& l)
+        : Base (t)
+        , location (l)
+      {}
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, ElementPtr&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
+#else
+      basic_symbol (typename Base::kind_type t, const ElementPtr& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, bool&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
+#else
+      basic_symbol (typename Base::kind_type t, const bool& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, double&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
+#else
+      basic_symbol (typename Base::kind_type t, const double& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, int64_t&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
+#else
+      basic_symbol (typename Base::kind_type t, const int64_t& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, std::string&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
+#else
+      basic_symbol (typename Base::kind_type t, const std::string& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
+#endif
 
-  basic_symbol (typename Base::kind_type t, const location_type& l);
+      /// Destroy the symbol.
+      ~basic_symbol ()
+      {
+        clear ();
+      }
 
-  basic_symbol (typename Base::kind_type t, const ElementPtr v, const location_type& l);
+      /// Destroy contents, and record that is empty.
+      void clear ()
+      {
+        // User destructor.
+        symbol_kind_type yykind = this->kind ();
+        basic_symbol<Base>& yysym = *this;
+        (void) yysym;
+        switch (yykind)
+        {
+       default:
+          break;
+        }
+
+        // Value type destructor.
+switch (yykind)
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_socket_type: // socket_type
+      case symbol_kind::S_outbound_interface_value: // outbound_interface_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+        value.template destroy< ElementPtr > ();
+        break;
 
-  basic_symbol (typename Base::kind_type t, const bool v, const location_type& l);
+      case symbol_kind::S_BOOLEAN: // "boolean"
+        value.template destroy< bool > ();
+        break;
 
-  basic_symbol (typename Base::kind_type t, const double v, const location_type& l);
+      case symbol_kind::S_FLOAT: // "floating point"
+        value.template destroy< double > ();
+        break;
 
-  basic_symbol (typename Base::kind_type t, const int64_t v, const location_type& l);
+      case symbol_kind::S_INTEGER: // "integer"
+        value.template destroy< int64_t > ();
+        break;
 
-  basic_symbol (typename Base::kind_type t, const std::string v, const location_type& l);
+      case symbol_kind::S_STRING: // "constant string"
+        value.template destroy< std::string > ();
+        break;
 
+      default:
+        break;
+    }
 
-      /// Constructor for symbols with semantic value.
-      basic_symbol (typename Base::kind_type t,
-                    const semantic_type& v,
-                    const location_type& l);
+        Base::clear ();
+      }
 
-      /// Destroy the symbol.
-      ~basic_symbol ();
+      /// The user-facing name of this symbol.
+      std::string name () const YY_NOEXCEPT
+      {
+        return Dhcp4Parser::symbol_name (this->kind ());
+      }
 
-      /// Destroy contents, and record that is empty.
-      void clear ();
+      /// Backward compatibility (Bison 3.6).
+      symbol_kind_type type_get () const YY_NOEXCEPT;
 
       /// Whether empty.
-      bool empty () const;
+      bool empty () const YY_NOEXCEPT;
 
       /// Destructive move, \a s is emptied into this.
       void move (basic_symbol& s);
@@ -612,2591 +1527,3665 @@ namespace isc { namespace dhcp {
       location_type location;
 
     private:
+#if YY_CPLUSPLUS < 201103L
       /// Assignment operator.
-      basic_symbol& operator= (const basic_symbol& other);
+      basic_symbol& operator= (const basic_symbol& that);
+#endif
     };
 
     /// Type access provider for token (enum) based symbols.
-    struct by_type
+    struct by_kind
     {
       /// Default constructor.
-      by_type ();
+      by_kind ();
+
+#if 201103L <= YY_CPLUSPLUS
+      /// Move constructor.
+      by_kind (by_kind&& that);
+#endif
 
       /// Copy constructor.
-      by_type (const by_type& other);
+      by_kind (const by_kind& that);
 
-      /// The symbol type as needed by the constructor.
-      typedef token_type kind_type;
+      /// The symbol kind as needed by the constructor.
+      typedef token_kind_type kind_type;
 
       /// Constructor from (external) token numbers.
-      by_type (kind_type t);
+      by_kind (kind_type t);
 
       /// Record that this symbol is empty.
       void clear ();
 
-      /// Steal the symbol type from \a that.
-      void move (by_type& that);
+      /// Steal the symbol kind from \a that.
+      void move (by_kind& that);
 
       /// The (internal) type number (corresponding to \a type).
       /// \a empty when empty.
-      symbol_number_type type_get () const;
+      symbol_kind_type kind () const YY_NOEXCEPT;
 
-      /// The token.
-      token_type token () const;
+      /// Backward compatibility (Bison 3.6).
+      symbol_kind_type type_get () const YY_NOEXCEPT;
 
-      /// The symbol type.
-      /// \a empty_symbol when empty.
-      /// An int, not token_number_type, to be able to store empty_symbol.
-      int type;
+      /// The symbol kind.
+      /// \a S_YYEMPTY when empty.
+      symbol_kind_type kind_;
     };
 
-    /// "External" symbols: returned by the scanner.
-    typedef basic_symbol<by_type> symbol_type;
-
-    // Symbol constructors declarations.
-    static inline
-    symbol_type
-    make_END (const location_type& l);
-
-    static inline
-    symbol_type
-    make_COMMA (const location_type& l);
-
-    static inline
-    symbol_type
-    make_COLON (const location_type& l);
-
-    static inline
-    symbol_type
-    make_LSQUARE_BRACKET (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RSQUARE_BRACKET (const location_type& l);
-
-    static inline
-    symbol_type
-    make_LCURLY_BRACKET (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RCURLY_BRACKET (const location_type& l);
-
-    static inline
-    symbol_type
-    make_NULL_TYPE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DHCP4 (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CONFIG_CONTROL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CONFIG_DATABASES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CONFIG_FETCH_WAIT_TIME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_INTERFACES_CONFIG (const location_type& l);
-
-    static inline
-    symbol_type
-    make_INTERFACES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DHCP_SOCKET_TYPE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RAW (const location_type& l);
-
-    static inline
-    symbol_type
-    make_UDP (const location_type& l);
-
-    static inline
-    symbol_type
-    make_OUTBOUND_INTERFACE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SAME_AS_INBOUND (const location_type& l);
-
-    static inline
-    symbol_type
-    make_USE_ROUTING (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RE_DETECT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SANITY_CHECKS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_LEASE_CHECKS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ECHO_CLIENT_ID (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MATCH_CLIENT_ID (const location_type& l);
-
-    static inline
-    symbol_type
-    make_AUTHORITATIVE (const location_type& l);
+    /// Backward compatibility for a private implementation detail (Bison 3.6).
+    typedef by_kind by_type;
 
-    static inline
-    symbol_type
-    make_NEXT_SERVER (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SERVER_HOSTNAME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_BOOT_FILE_NAME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_LEASE_DATABASE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOSTS_DATABASE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOSTS_DATABASES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_TYPE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MEMFILE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MYSQL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_POSTGRESQL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CQL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_USER (const location_type& l);
-
-    static inline
-    symbol_type
-    make_PASSWORD (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOST (const location_type& l);
+    /// "External" symbols: returned by the scanner.
+    struct symbol_type : basic_symbol<by_kind>
+    {
+      /// Superclass.
+      typedef basic_symbol<by_kind> super_type;
 
-    static inline
-    symbol_type
-    make_PORT (const location_type& l);
+      /// Empty symbol.
+      symbol_type () {}
 
-    static inline
-    symbol_type
-    make_PERSIST (const location_type& l);
+      /// Constructor for valueless symbols, and symbols from each type.
+#if 201103L <= YY_CPLUSPLUS
+      symbol_type (int tok, location_type l)
+        : super_type(token_type (tok), std::move (l))
+      {
+        YY_ASSERT (tok == token::TOKEN_END || tok == token::TOKEN_PARSER4_error || tok == token::TOKEN_PARSER4_UNDEF || tok == token::TOKEN_COMMA || tok == token::TOKEN_COLON || tok == token::TOKEN_LSQUARE_BRACKET || tok == token::TOKEN_RSQUARE_BRACKET || tok == token::TOKEN_LCURLY_BRACKET || tok == token::TOKEN_RCURLY_BRACKET || tok == token::TOKEN_NULL_TYPE || tok == token::TOKEN_DHCP4 || tok == token::TOKEN_CONFIG_CONTROL || tok == token::TOKEN_CONFIG_DATABASES || tok == token::TOKEN_CONFIG_FETCH_WAIT_TIME || tok == token::TOKEN_INTERFACES_CONFIG || tok == token::TOKEN_INTERFACES || tok == token::TOKEN_DHCP_SOCKET_TYPE || tok == token::TOKEN_RAW || tok == token::TOKEN_UDP || tok == token::TOKEN_OUTBOUND_INTERFACE || tok == token::TOKEN_SAME_AS_INBOUND || tok == token::TOKEN_USE_ROUTING || tok == token::TOKEN_RE_DETECT || tok == token::TOKEN_SANITY_CHECKS || tok == token::TOKEN_LEASE_CHECKS || tok == token::TOKEN_ECHO_CLIENT_ID || tok == token::TOKEN_MATCH_CLIENT_ID || tok == token::TOKEN_AUTHORITATIVE || tok == token::TOKEN_NEXT_SERVER || tok == token::TOKEN_SERVER_HOSTNAME || tok == token::TOKEN_BOOT_FILE_NAME || tok == token::TOKEN_LEASE_DATABASE || tok == token::TOKEN_HOSTS_DATABASE || tok == token::TOKEN_HOSTS_DATABASES || tok == token::TOKEN_TYPE || tok == token::TOKEN_MEMFILE || tok == token::TOKEN_MYSQL || tok == token::TOKEN_POSTGRESQL || tok == token::TOKEN_CQL || tok == token::TOKEN_USER || tok == token::TOKEN_PASSWORD || tok == token::TOKEN_HOST || tok == token::TOKEN_PORT || tok == token::TOKEN_PERSIST || tok == token::TOKEN_LFC_INTERVAL || tok == token::TOKEN_READONLY || tok == token::TOKEN_CONNECT_TIMEOUT || tok == token::TOKEN_CONTACT_POINTS || tok == token::TOKEN_KEYSPACE || tok == token::TOKEN_CONSISTENCY || tok == token::TOKEN_SERIAL_CONSISTENCY || tok == token::TOKEN_MAX_RECONNECT_TRIES || tok == token::TOKEN_RECONNECT_WAIT_TIME || tok == token::TOKEN_REQUEST_TIMEOUT || tok == token::TOKEN_TCP_KEEPALIVE || tok == token::TOKEN_TCP_NODELAY || tok == token::TOKEN_MAX_ROW_ERRORS || tok == token::TOKEN_VALID_LIFETIME || tok == token::TOKEN_MIN_VALID_LIFETIME || tok == token::TOKEN_MAX_VALID_LIFETIME || tok == token::TOKEN_RENEW_TIMER || tok == token::TOKEN_REBIND_TIMER || tok == token::TOKEN_CALCULATE_TEE_TIMES || tok == token::TOKEN_T1_PERCENT || tok == token::TOKEN_T2_PERCENT || tok == token::TOKEN_CACHE_THRESHOLD || tok == token::TOKEN_CACHE_MAX_AGE || tok == token::TOKEN_DECLINE_PROBATION_PERIOD || tok == token::TOKEN_SERVER_TAG || tok == token::TOKEN_STATISTIC_DEFAULT_SAMPLE_COUNT || tok == token::TOKEN_STATISTIC_DEFAULT_SAMPLE_AGE || tok == token::TOKEN_DDNS_SEND_UPDATES || tok == token::TOKEN_DDNS_OVERRIDE_NO_UPDATE || tok == token::TOKEN_DDNS_OVERRIDE_CLIENT_UPDATE || tok == token::TOKEN_DDNS_REPLACE_CLIENT_NAME || tok == token::TOKEN_DDNS_GENERATED_PREFIX || tok == token::TOKEN_DDNS_QUALIFYING_SUFFIX || tok == token::TOKEN_DDNS_UPDATE_ON_RENEW || tok == token::TOKEN_DDNS_USE_CONFLICT_RESOLUTION || tok == token::TOKEN_STORE_EXTENDED_INFO || tok == token::TOKEN_SUBNET4 || tok == token::TOKEN_SUBNET_4O6_INTERFACE || tok == token::TOKEN_SUBNET_4O6_INTERFACE_ID || tok == token::TOKEN_SUBNET_4O6_SUBNET || tok == token::TOKEN_OPTION_DEF || tok == token::TOKEN_OPTION_DATA || tok == token::TOKEN_NAME || tok == token::TOKEN_DATA || tok == token::TOKEN_CODE || tok == token::TOKEN_SPACE || tok == token::TOKEN_CSV_FORMAT || tok == token::TOKEN_ALWAYS_SEND || tok == token::TOKEN_RECORD_TYPES || tok == token::TOKEN_ENCAPSULATE || tok == token::TOKEN_ARRAY || tok == token::TOKEN_SHARED_NETWORKS || tok == token::TOKEN_POOLS || tok == token::TOKEN_POOL || tok == token::TOKEN_USER_CONTEXT || tok == token::TOKEN_COMMENT || tok == token::TOKEN_SUBNET || tok == token::TOKEN_INTERFACE || tok == token::TOKEN_ID || tok == token::TOKEN_RESERVATION_MODE || tok == token::TOKEN_DISABLED || tok == token::TOKEN_OUT_OF_POOL || tok == token::TOKEN_GLOBAL || tok == token::TOKEN_ALL || tok == token::TOKEN_HOST_RESERVATION_IDENTIFIERS || tok == token::TOKEN_CLIENT_CLASSES || tok == token::TOKEN_REQUIRE_CLIENT_CLASSES || tok == token::TOKEN_TEST || tok == token::TOKEN_ONLY_IF_REQUIRED || tok == token::TOKEN_CLIENT_CLASS || tok == token::TOKEN_RESERVATIONS || tok == token::TOKEN_DUID || tok == token::TOKEN_HW_ADDRESS || tok == token::TOKEN_CIRCUIT_ID || tok == token::TOKEN_CLIENT_ID || tok == token::TOKEN_HOSTNAME || tok == token::TOKEN_FLEX_ID || tok == token::TOKEN_RELAY || tok == token::TOKEN_IP_ADDRESS || tok == token::TOKEN_IP_ADDRESSES || tok == token::TOKEN_HOOKS_LIBRARIES || tok == token::TOKEN_LIBRARY || tok == token::TOKEN_PARAMETERS || tok == token::TOKEN_EXPIRED_LEASES_PROCESSING || tok == token::TOKEN_RECLAIM_TIMER_WAIT_TIME || tok == token::TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME || tok == token::TOKEN_HOLD_RECLAIMED_TIME || tok == token::TOKEN_MAX_RECLAIM_LEASES || tok == token::TOKEN_MAX_RECLAIM_TIME || tok == token::TOKEN_UNWARNED_RECLAIM_CYCLES || tok == token::TOKEN_DHCP4O6_PORT || tok == token::TOKEN_DHCP_MULTI_THREADING || tok == token::TOKEN_ENABLE_MULTI_THREADING || tok == token::TOKEN_THREAD_POOL_SIZE || tok == token::TOKEN_PACKET_QUEUE_SIZE || tok == token::TOKEN_CONTROL_SOCKET || tok == token::TOKEN_SOCKET_TYPE || tok == token::TOKEN_SOCKET_NAME || tok == token::TOKEN_DHCP_QUEUE_CONTROL || tok == token::TOKEN_ENABLE_QUEUE || tok == token::TOKEN_QUEUE_TYPE || tok == token::TOKEN_CAPACITY || tok == token::TOKEN_DHCP_DDNS || tok == token::TOKEN_ENABLE_UPDATES || tok == token::TOKEN_QUALIFYING_SUFFIX || tok == token::TOKEN_SERVER_IP || tok == token::TOKEN_SERVER_PORT || tok == token::TOKEN_SENDER_IP || tok == token::TOKEN_SENDER_PORT || tok == token::TOKEN_MAX_QUEUE_SIZE || tok == token::TOKEN_NCR_PROTOCOL || tok == token::TOKEN_NCR_FORMAT || tok == token::TOKEN_OVERRIDE_NO_UPDATE || tok == token::TOKEN_OVERRIDE_CLIENT_UPDATE || tok == token::TOKEN_REPLACE_CLIENT_NAME || tok == token::TOKEN_GENERATED_PREFIX || tok == token::TOKEN_TCP || tok == token::TOKEN_JSON || tok == token::TOKEN_WHEN_PRESENT || tok == token::TOKEN_NEVER || tok == token::TOKEN_ALWAYS || tok == token::TOKEN_WHEN_NOT_PRESENT || tok == token::TOKEN_HOSTNAME_CHAR_SET || tok == token::TOKEN_HOSTNAME_CHAR_REPLACEMENT || tok == token::TOKEN_IP_RESERVATIONS_UNIQUE || tok == token::TOKEN_LOGGERS || tok == token::TOKEN_OUTPUT_OPTIONS || tok == token::TOKEN_OUTPUT || tok == token::TOKEN_DEBUGLEVEL || tok == token::TOKEN_SEVERITY || tok == token::TOKEN_FLUSH || tok == token::TOKEN_MAXSIZE || tok == token::TOKEN_MAXVER || tok == token::TOKEN_PATTERN || tok == token::TOKEN_TOPLEVEL_JSON || tok == token::TOKEN_TOPLEVEL_DHCP4 || tok == token::TOKEN_SUB_DHCP4 || tok == token::TOKEN_SUB_INTERFACES4 || tok == token::TOKEN_SUB_SUBNET4 || tok == token::TOKEN_SUB_POOL4 || tok == token::TOKEN_SUB_RESERVATION || tok == token::TOKEN_SUB_OPTION_DEFS || tok == token::TOKEN_SUB_OPTION_DEF || tok == token::TOKEN_SUB_OPTION_DATA || tok == token::TOKEN_SUB_HOOKS_LIBRARY || tok == token::TOKEN_SUB_DHCP_DDNS || tok == token::TOKEN_SUB_CONFIG_CONTROL);
+      }
+#else
+      symbol_type (int tok, const location_type& l)
+        : super_type(token_type (tok), l)
+      {
+        YY_ASSERT (tok == token::TOKEN_END || tok == token::TOKEN_PARSER4_error || tok == token::TOKEN_PARSER4_UNDEF || tok == token::TOKEN_COMMA || tok == token::TOKEN_COLON || tok == token::TOKEN_LSQUARE_BRACKET || tok == token::TOKEN_RSQUARE_BRACKET || tok == token::TOKEN_LCURLY_BRACKET || tok == token::TOKEN_RCURLY_BRACKET || tok == token::TOKEN_NULL_TYPE || tok == token::TOKEN_DHCP4 || tok == token::TOKEN_CONFIG_CONTROL || tok == token::TOKEN_CONFIG_DATABASES || tok == token::TOKEN_CONFIG_FETCH_WAIT_TIME || tok == token::TOKEN_INTERFACES_CONFIG || tok == token::TOKEN_INTERFACES || tok == token::TOKEN_DHCP_SOCKET_TYPE || tok == token::TOKEN_RAW || tok == token::TOKEN_UDP || tok == token::TOKEN_OUTBOUND_INTERFACE || tok == token::TOKEN_SAME_AS_INBOUND || tok == token::TOKEN_USE_ROUTING || tok == token::TOKEN_RE_DETECT || tok == token::TOKEN_SANITY_CHECKS || tok == token::TOKEN_LEASE_CHECKS || tok == token::TOKEN_ECHO_CLIENT_ID || tok == token::TOKEN_MATCH_CLIENT_ID || tok == token::TOKEN_AUTHORITATIVE || tok == token::TOKEN_NEXT_SERVER || tok == token::TOKEN_SERVER_HOSTNAME || tok == token::TOKEN_BOOT_FILE_NAME || tok == token::TOKEN_LEASE_DATABASE || tok == token::TOKEN_HOSTS_DATABASE || tok == token::TOKEN_HOSTS_DATABASES || tok == token::TOKEN_TYPE || tok == token::TOKEN_MEMFILE || tok == token::TOKEN_MYSQL || tok == token::TOKEN_POSTGRESQL || tok == token::TOKEN_CQL || tok == token::TOKEN_USER || tok == token::TOKEN_PASSWORD || tok == token::TOKEN_HOST || tok == token::TOKEN_PORT || tok == token::TOKEN_PERSIST || tok == token::TOKEN_LFC_INTERVAL || tok == token::TOKEN_READONLY || tok == token::TOKEN_CONNECT_TIMEOUT || tok == token::TOKEN_CONTACT_POINTS || tok == token::TOKEN_KEYSPACE || tok == token::TOKEN_CONSISTENCY || tok == token::TOKEN_SERIAL_CONSISTENCY || tok == token::TOKEN_MAX_RECONNECT_TRIES || tok == token::TOKEN_RECONNECT_WAIT_TIME || tok == token::TOKEN_REQUEST_TIMEOUT || tok == token::TOKEN_TCP_KEEPALIVE || tok == token::TOKEN_TCP_NODELAY || tok == token::TOKEN_MAX_ROW_ERRORS || tok == token::TOKEN_VALID_LIFETIME || tok == token::TOKEN_MIN_VALID_LIFETIME || tok == token::TOKEN_MAX_VALID_LIFETIME || tok == token::TOKEN_RENEW_TIMER || tok == token::TOKEN_REBIND_TIMER || tok == token::TOKEN_CALCULATE_TEE_TIMES || tok == token::TOKEN_T1_PERCENT || tok == token::TOKEN_T2_PERCENT || tok == token::TOKEN_CACHE_THRESHOLD || tok == token::TOKEN_CACHE_MAX_AGE || tok == token::TOKEN_DECLINE_PROBATION_PERIOD || tok == token::TOKEN_SERVER_TAG || tok == token::TOKEN_STATISTIC_DEFAULT_SAMPLE_COUNT || tok == token::TOKEN_STATISTIC_DEFAULT_SAMPLE_AGE || tok == token::TOKEN_DDNS_SEND_UPDATES || tok == token::TOKEN_DDNS_OVERRIDE_NO_UPDATE || tok == token::TOKEN_DDNS_OVERRIDE_CLIENT_UPDATE || tok == token::TOKEN_DDNS_REPLACE_CLIENT_NAME || tok == token::TOKEN_DDNS_GENERATED_PREFIX || tok == token::TOKEN_DDNS_QUALIFYING_SUFFIX || tok == token::TOKEN_DDNS_UPDATE_ON_RENEW || tok == token::TOKEN_DDNS_USE_CONFLICT_RESOLUTION || tok == token::TOKEN_STORE_EXTENDED_INFO || tok == token::TOKEN_SUBNET4 || tok == token::TOKEN_SUBNET_4O6_INTERFACE || tok == token::TOKEN_SUBNET_4O6_INTERFACE_ID || tok == token::TOKEN_SUBNET_4O6_SUBNET || tok == token::TOKEN_OPTION_DEF || tok == token::TOKEN_OPTION_DATA || tok == token::TOKEN_NAME || tok == token::TOKEN_DATA || tok == token::TOKEN_CODE || tok == token::TOKEN_SPACE || tok == token::TOKEN_CSV_FORMAT || tok == token::TOKEN_ALWAYS_SEND || tok == token::TOKEN_RECORD_TYPES || tok == token::TOKEN_ENCAPSULATE || tok == token::TOKEN_ARRAY || tok == token::TOKEN_SHARED_NETWORKS || tok == token::TOKEN_POOLS || tok == token::TOKEN_POOL || tok == token::TOKEN_USER_CONTEXT || tok == token::TOKEN_COMMENT || tok == token::TOKEN_SUBNET || tok == token::TOKEN_INTERFACE || tok == token::TOKEN_ID || tok == token::TOKEN_RESERVATION_MODE || tok == token::TOKEN_DISABLED || tok == token::TOKEN_OUT_OF_POOL || tok == token::TOKEN_GLOBAL || tok == token::TOKEN_ALL || tok == token::TOKEN_HOST_RESERVATION_IDENTIFIERS || tok == token::TOKEN_CLIENT_CLASSES || tok == token::TOKEN_REQUIRE_CLIENT_CLASSES || tok == token::TOKEN_TEST || tok == token::TOKEN_ONLY_IF_REQUIRED || tok == token::TOKEN_CLIENT_CLASS || tok == token::TOKEN_RESERVATIONS || tok == token::TOKEN_DUID || tok == token::TOKEN_HW_ADDRESS || tok == token::TOKEN_CIRCUIT_ID || tok == token::TOKEN_CLIENT_ID || tok == token::TOKEN_HOSTNAME || tok == token::TOKEN_FLEX_ID || tok == token::TOKEN_RELAY || tok == token::TOKEN_IP_ADDRESS || tok == token::TOKEN_IP_ADDRESSES || tok == token::TOKEN_HOOKS_LIBRARIES || tok == token::TOKEN_LIBRARY || tok == token::TOKEN_PARAMETERS || tok == token::TOKEN_EXPIRED_LEASES_PROCESSING || tok == token::TOKEN_RECLAIM_TIMER_WAIT_TIME || tok == token::TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME || tok == token::TOKEN_HOLD_RECLAIMED_TIME || tok == token::TOKEN_MAX_RECLAIM_LEASES || tok == token::TOKEN_MAX_RECLAIM_TIME || tok == token::TOKEN_UNWARNED_RECLAIM_CYCLES || tok == token::TOKEN_DHCP4O6_PORT || tok == token::TOKEN_DHCP_MULTI_THREADING || tok == token::TOKEN_ENABLE_MULTI_THREADING || tok == token::TOKEN_THREAD_POOL_SIZE || tok == token::TOKEN_PACKET_QUEUE_SIZE || tok == token::TOKEN_CONTROL_SOCKET || tok == token::TOKEN_SOCKET_TYPE || tok == token::TOKEN_SOCKET_NAME || tok == token::TOKEN_DHCP_QUEUE_CONTROL || tok == token::TOKEN_ENABLE_QUEUE || tok == token::TOKEN_QUEUE_TYPE || tok == token::TOKEN_CAPACITY || tok == token::TOKEN_DHCP_DDNS || tok == token::TOKEN_ENABLE_UPDATES || tok == token::TOKEN_QUALIFYING_SUFFIX || tok == token::TOKEN_SERVER_IP || tok == token::TOKEN_SERVER_PORT || tok == token::TOKEN_SENDER_IP || tok == token::TOKEN_SENDER_PORT || tok == token::TOKEN_MAX_QUEUE_SIZE || tok == token::TOKEN_NCR_PROTOCOL || tok == token::TOKEN_NCR_FORMAT || tok == token::TOKEN_OVERRIDE_NO_UPDATE || tok == token::TOKEN_OVERRIDE_CLIENT_UPDATE || tok == token::TOKEN_REPLACE_CLIENT_NAME || tok == token::TOKEN_GENERATED_PREFIX || tok == token::TOKEN_TCP || tok == token::TOKEN_JSON || tok == token::TOKEN_WHEN_PRESENT || tok == token::TOKEN_NEVER || tok == token::TOKEN_ALWAYS || tok == token::TOKEN_WHEN_NOT_PRESENT || tok == token::TOKEN_HOSTNAME_CHAR_SET || tok == token::TOKEN_HOSTNAME_CHAR_REPLACEMENT || tok == token::TOKEN_IP_RESERVATIONS_UNIQUE || tok == token::TOKEN_LOGGERS || tok == token::TOKEN_OUTPUT_OPTIONS || tok == token::TOKEN_OUTPUT || tok == token::TOKEN_DEBUGLEVEL || tok == token::TOKEN_SEVERITY || tok == token::TOKEN_FLUSH || tok == token::TOKEN_MAXSIZE || tok == token::TOKEN_MAXVER || tok == token::TOKEN_PATTERN || tok == token::TOKEN_TOPLEVEL_JSON || tok == token::TOKEN_TOPLEVEL_DHCP4 || tok == token::TOKEN_SUB_DHCP4 || tok == token::TOKEN_SUB_INTERFACES4 || tok == token::TOKEN_SUB_SUBNET4 || tok == token::TOKEN_SUB_POOL4 || tok == token::TOKEN_SUB_RESERVATION || tok == token::TOKEN_SUB_OPTION_DEFS || tok == token::TOKEN_SUB_OPTION_DEF || tok == token::TOKEN_SUB_OPTION_DATA || tok == token::TOKEN_SUB_HOOKS_LIBRARY || tok == token::TOKEN_SUB_DHCP_DDNS || tok == token::TOKEN_SUB_CONFIG_CONTROL);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      symbol_type (int tok, bool v, location_type l)
+        : super_type(token_type (tok), std::move (v), std::move (l))
+      {
+        YY_ASSERT (tok == token::TOKEN_BOOLEAN);
+      }
+#else
+      symbol_type (int tok, const bool& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YY_ASSERT (tok == token::TOKEN_BOOLEAN);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      symbol_type (int tok, double v, location_type l)
+        : super_type(token_type (tok), std::move (v), std::move (l))
+      {
+        YY_ASSERT (tok == token::TOKEN_FLOAT);
+      }
+#else
+      symbol_type (int tok, const double& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YY_ASSERT (tok == token::TOKEN_FLOAT);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      symbol_type (int tok, int64_t v, location_type l)
+        : super_type(token_type (tok), std::move (v), std::move (l))
+      {
+        YY_ASSERT (tok == token::TOKEN_INTEGER);
+      }
+#else
+      symbol_type (int tok, const int64_t& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YY_ASSERT (tok == token::TOKEN_INTEGER);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      symbol_type (int tok, std::string v, location_type l)
+        : super_type(token_type (tok), std::move (v), std::move (l))
+      {
+        YY_ASSERT (tok == token::TOKEN_STRING);
+      }
+#else
+      symbol_type (int tok, const std::string& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YY_ASSERT (tok == token::TOKEN_STRING);
+      }
+#endif
+    };
 
-    static inline
-    symbol_type
-    make_LFC_INTERVAL (const location_type& l);
+    /// Build a parser object.
+    Dhcp4Parser (isc::dhcp::Parser4Context& ctx_yyarg);
+    virtual ~Dhcp4Parser ();
 
-    static inline
-    symbol_type
-    make_READONLY (const location_type& l);
+#if 201103L <= YY_CPLUSPLUS
+    /// Non copyable.
+    Dhcp4Parser (const Dhcp4Parser&) = delete;
+    /// Non copyable.
+    Dhcp4Parser& operator= (const Dhcp4Parser&) = delete;
+#endif
 
-    static inline
-    symbol_type
-    make_CONNECT_TIMEOUT (const location_type& l);
+    /// Parse.  An alias for parse ().
+    /// \returns  0 iff parsing succeeded.
+    int operator() ();
 
-    static inline
-    symbol_type
-    make_CONTACT_POINTS (const location_type& l);
+    /// Parse.
+    /// \returns  0 iff parsing succeeded.
+    virtual int parse ();
 
-    static inline
-    symbol_type
-    make_KEYSPACE (const location_type& l);
+#if PARSER4_DEBUG
+    /// The current debugging stream.
+    std::ostream& debug_stream () const YY_ATTRIBUTE_PURE;
+    /// Set the current debugging stream.
+    void set_debug_stream (std::ostream &);
 
-    static inline
-    symbol_type
-    make_CONSISTENCY (const location_type& l);
+    /// Type for debugging levels.
+    typedef int debug_level_type;
+    /// The current debugging level.
+    debug_level_type debug_level () const YY_ATTRIBUTE_PURE;
+    /// Set the current debugging level.
+    void set_debug_level (debug_level_type l);
+#endif
 
-    static inline
-    symbol_type
-    make_SERIAL_CONSISTENCY (const location_type& l);
+    /// Report a syntax error.
+    /// \param loc    where the syntax error is found.
+    /// \param msg    a description of the syntax error.
+    virtual void error (const location_type& loc, const std::string& msg);
 
-    static inline
-    symbol_type
-    make_MAX_RECONNECT_TRIES (const location_type& l);
+    /// Report a syntax error.
+    void error (const syntax_error& err);
 
-    static inline
-    symbol_type
-    make_RECONNECT_WAIT_TIME (const location_type& l);
+    /// The user-facing name of the symbol whose (internal) number is
+    /// YYSYMBOL.  No bounds checking.
+    static std::string symbol_name (symbol_kind_type yysymbol);
 
-    static inline
-    symbol_type
-    make_REQUEST_TIMEOUT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_TCP_KEEPALIVE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_TCP_NODELAY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MAX_ROW_ERRORS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_VALID_LIFETIME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MIN_VALID_LIFETIME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MAX_VALID_LIFETIME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RENEW_TIMER (const location_type& l);
-
-    static inline
-    symbol_type
-    make_REBIND_TIMER (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CALCULATE_TEE_TIMES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_T1_PERCENT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_T2_PERCENT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CACHE_THRESHOLD (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CACHE_MAX_AGE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DECLINE_PROBATION_PERIOD (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SERVER_TAG (const location_type& l);
-
-    static inline
-    symbol_type
-    make_STATISTIC_DEFAULT_SAMPLE_COUNT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_STATISTIC_DEFAULT_SAMPLE_AGE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DDNS_SEND_UPDATES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DDNS_OVERRIDE_NO_UPDATE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DDNS_OVERRIDE_CLIENT_UPDATE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DDNS_REPLACE_CLIENT_NAME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DDNS_GENERATED_PREFIX (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DDNS_QUALIFYING_SUFFIX (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DDNS_UPDATE_ON_RENEW (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DDNS_USE_CONFLICT_RESOLUTION (const location_type& l);
-
-    static inline
-    symbol_type
-    make_STORE_EXTENDED_INFO (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUBNET4 (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUBNET_4O6_INTERFACE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUBNET_4O6_INTERFACE_ID (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUBNET_4O6_SUBNET (const location_type& l);
-
-    static inline
-    symbol_type
-    make_OPTION_DEF (const location_type& l);
-
-    static inline
-    symbol_type
-    make_OPTION_DATA (const location_type& l);
-
-    static inline
-    symbol_type
-    make_NAME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DATA (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CODE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SPACE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CSV_FORMAT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ALWAYS_SEND (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RECORD_TYPES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ENCAPSULATE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ARRAY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SHARED_NETWORKS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_POOLS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_POOL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_USER_CONTEXT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_COMMENT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUBNET (const location_type& l);
-
-    static inline
-    symbol_type
-    make_INTERFACE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ID (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RESERVATION_MODE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DISABLED (const location_type& l);
-
-    static inline
-    symbol_type
-    make_OUT_OF_POOL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_GLOBAL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ALL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOST_RESERVATION_IDENTIFIERS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CLIENT_CLASSES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_REQUIRE_CLIENT_CLASSES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_TEST (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ONLY_IF_REQUIRED (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CLIENT_CLASS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RESERVATIONS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DUID (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HW_ADDRESS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CIRCUIT_ID (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CLIENT_ID (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOSTNAME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_FLEX_ID (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RELAY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_IP_ADDRESS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_IP_ADDRESSES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOOKS_LIBRARIES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_LIBRARY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_PARAMETERS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_EXPIRED_LEASES_PROCESSING (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RECLAIM_TIMER_WAIT_TIME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOLD_RECLAIMED_TIME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MAX_RECLAIM_LEASES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MAX_RECLAIM_TIME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_UNWARNED_RECLAIM_CYCLES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DHCP4O6_PORT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DHCP_MULTI_THREADING (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ENABLE_MULTI_THREADING (const location_type& l);
-
-    static inline
-    symbol_type
-    make_THREAD_POOL_SIZE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_PACKET_QUEUE_SIZE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CONTROL_SOCKET (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SOCKET_TYPE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SOCKET_NAME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DHCP_QUEUE_CONTROL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ENABLE_QUEUE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_QUEUE_TYPE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CAPACITY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DHCP_DDNS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ENABLE_UPDATES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_QUALIFYING_SUFFIX (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SERVER_IP (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SERVER_PORT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SENDER_IP (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SENDER_PORT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MAX_QUEUE_SIZE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_NCR_PROTOCOL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_NCR_FORMAT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_OVERRIDE_NO_UPDATE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_OVERRIDE_CLIENT_UPDATE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_REPLACE_CLIENT_NAME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_GENERATED_PREFIX (const location_type& l);
-
-    static inline
-    symbol_type
-    make_TCP (const location_type& l);
-
-    static inline
-    symbol_type
-    make_JSON (const location_type& l);
-
-    static inline
-    symbol_type
-    make_WHEN_PRESENT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_NEVER (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ALWAYS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_WHEN_NOT_PRESENT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOSTNAME_CHAR_SET (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOSTNAME_CHAR_REPLACEMENT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_IP_RESERVATIONS_UNIQUE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_LOGGERS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_OUTPUT_OPTIONS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_OUTPUT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DEBUGLEVEL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SEVERITY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_FLUSH (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MAXSIZE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MAXVER (const location_type& l);
-
-    static inline
-    symbol_type
-    make_PATTERN (const location_type& l);
-
-    static inline
-    symbol_type
-    make_TOPLEVEL_JSON (const location_type& l);
-
-    static inline
-    symbol_type
-    make_TOPLEVEL_DHCP4 (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_DHCP4 (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_INTERFACES4 (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_SUBNET4 (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_POOL4 (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_RESERVATION (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_OPTION_DEFS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_OPTION_DEF (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_OPTION_DATA (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_HOOKS_LIBRARY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_DHCP_DDNS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_CONFIG_CONTROL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_STRING (const std::string& v, const location_type& l);
-
-    static inline
-    symbol_type
-    make_INTEGER (const int64_t& v, const location_type& l);
-
-    static inline
-    symbol_type
-    make_FLOAT (const double& v, const location_type& l);
-
-    static inline
-    symbol_type
-    make_BOOLEAN (const bool& v, const location_type& l);
-
-
-    /// Build a parser object.
-    Dhcp4Parser (isc::dhcp::Parser4Context& ctx_yyarg);
-    virtual ~Dhcp4Parser ();
-
-    /// Parse.
-    /// \returns  0 iff parsing succeeded.
-    virtual int parse ();
-
-#if PARSER4_DEBUG
-    /// The current debugging stream.
-    std::ostream& debug_stream () const YY_ATTRIBUTE_PURE;
-    /// Set the current debugging stream.
-    void set_debug_stream (std::ostream &);
-
-    /// Type for debugging levels.
-    typedef int debug_level_type;
-    /// The current debugging level.
-    debug_level_type debug_level () const YY_ATTRIBUTE_PURE;
-    /// Set the current debugging level.
-    void set_debug_level (debug_level_type l);
+    // Implementation of make_symbol for each symbol type.
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_END (location_type l)
+      {
+        return symbol_type (token::TOKEN_END, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_END (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_END, l);
+      }
 #endif
-
-    /// Report a syntax error.
-    /// \param loc    where the syntax error is found.
-    /// \param msg    a description of the syntax error.
-    virtual void error (const location_type& loc, const std::string& msg);
-
-    /// Report a syntax error.
-    void error (const syntax_error& err);
-
-  private:
-    /// This class is not copyable.
-    Dhcp4Parser (const Dhcp4Parser&);
-    Dhcp4Parser& operator= (const Dhcp4Parser&);
-
-    /// State numbers.
-    typedef int state_type;
-
-    /// Generate an error message.
-    /// \param yystate   the state where the error occurred.
-    /// \param yyla      the lookahead token.
-    virtual std::string yysyntax_error_ (state_type yystate,
-                                         const symbol_type& yyla) const;
-
-    /// Compute post-reduction state.
-    /// \param yystate   the current state
-    /// \param yysym     the nonterminal to push on the stack
-    state_type yy_lr_goto_state_ (state_type yystate, int yysym);
-
-    /// Whether the given \c yypact_ value indicates a defaulted state.
-    /// \param yyvalue   the value to check
-    static bool yy_pact_value_is_default_ (int yyvalue);
-
-    /// Whether the given \c yytable_ value indicates a syntax error.
-    /// \param yyvalue   the value to check
-    static bool yy_table_value_is_error_ (int yyvalue);
-
-    static const short int yypact_ninf_;
-    static const signed char yytable_ninf_;
-
-    /// Convert a scanner token number \a t to a symbol number.
-    static token_number_type yytranslate_ (token_type t);
-
-    // Tables.
-  // YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
-  // STATE-NUM.
-  static const short int yypact_[];
-
-  // YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
-  // Performed when YYTABLE does not specify something else to do.  Zero
-  // means the default is an error.
-  static const unsigned short int yydefact_[];
-
-  // YYPGOTO[NTERM-NUM].
-  static const short int yypgoto_[];
-
-  // YYDEFGOTO[NTERM-NUM].
-  static const short int yydefgoto_[];
-
-  // YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM.  If
-  // positive, shift that token.  If negative, reduce the rule whose
-  // number is the opposite.  If YYTABLE_NINF, syntax error.
-  static const unsigned short int yytable_[];
-
-  static const short int yycheck_[];
-
-  // YYSTOS[STATE-NUM] -- The (internal number of the) accessing
-  // symbol of state STATE-NUM.
-  static const unsigned short int yystos_[];
-
-  // YYR1[YYN] -- Symbol number of symbol that rule YYN derives.
-  static const unsigned short int yyr1_[];
-
-  // YYR2[YYN] -- Number of symbols on the right hand side of rule YYN.
-  static const unsigned char yyr2_[];
-
-
-    /// Convert the symbol name \a n to a form suitable for a diagnostic.
-    static std::string yytnamerr_ (const char *n);
-
-
-    /// For a symbol, its name in clear.
-    static const char* const yytname_[];
-#if PARSER4_DEBUG
-  // YYRLINE[YYN] -- Source line where rule number YYN was defined.
-  static const unsigned short int yyrline_[];
-    /// Report on the debug stream that the rule \a r is going to be reduced.
-    virtual void yy_reduce_print_ (int r);
-    /// Print the state stack on the debug stream.
-    virtual void yystack_print_ ();
-
-    // Debugging.
-    int yydebug_;
-    std::ostream* yycdebug_;
-
-    /// \brief Display a symbol type, value and location.
-    /// \param yyo    The output stream.
-    /// \param yysym  The symbol.
-    template <typename Base>
-    void yy_print_ (std::ostream& yyo, const basic_symbol<Base>& yysym) const;
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PARSER4_error (location_type l)
+      {
+        return symbol_type (token::TOKEN_PARSER4_error, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PARSER4_error (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PARSER4_error, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PARSER4_UNDEF (location_type l)
+      {
+        return symbol_type (token::TOKEN_PARSER4_UNDEF, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PARSER4_UNDEF (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PARSER4_UNDEF, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_COMMA (location_type l)
+      {
+        return symbol_type (token::TOKEN_COMMA, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_COMMA (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_COMMA, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_COLON (location_type l)
+      {
+        return symbol_type (token::TOKEN_COLON, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_COLON (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_COLON, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LSQUARE_BRACKET (location_type l)
+      {
+        return symbol_type (token::TOKEN_LSQUARE_BRACKET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LSQUARE_BRACKET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LSQUARE_BRACKET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RSQUARE_BRACKET (location_type l)
+      {
+        return symbol_type (token::TOKEN_RSQUARE_BRACKET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RSQUARE_BRACKET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RSQUARE_BRACKET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LCURLY_BRACKET (location_type l)
+      {
+        return symbol_type (token::TOKEN_LCURLY_BRACKET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LCURLY_BRACKET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LCURLY_BRACKET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RCURLY_BRACKET (location_type l)
+      {
+        return symbol_type (token::TOKEN_RCURLY_BRACKET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RCURLY_BRACKET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RCURLY_BRACKET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_NULL_TYPE (location_type l)
+      {
+        return symbol_type (token::TOKEN_NULL_TYPE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_NULL_TYPE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_NULL_TYPE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DHCP4 (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCP4, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCP4 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCP4, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CONFIG_CONTROL (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONFIG_CONTROL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONFIG_CONTROL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONFIG_CONTROL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CONFIG_DATABASES (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONFIG_DATABASES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONFIG_DATABASES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONFIG_DATABASES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CONFIG_FETCH_WAIT_TIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONFIG_FETCH_WAIT_TIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONFIG_FETCH_WAIT_TIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONFIG_FETCH_WAIT_TIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_INTERFACES_CONFIG (location_type l)
+      {
+        return symbol_type (token::TOKEN_INTERFACES_CONFIG, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_INTERFACES_CONFIG (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_INTERFACES_CONFIG, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_INTERFACES (location_type l)
+      {
+        return symbol_type (token::TOKEN_INTERFACES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_INTERFACES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_INTERFACES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DHCP_SOCKET_TYPE (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCP_SOCKET_TYPE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCP_SOCKET_TYPE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCP_SOCKET_TYPE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RAW (location_type l)
+      {
+        return symbol_type (token::TOKEN_RAW, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RAW (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RAW, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_UDP (location_type l)
+      {
+        return symbol_type (token::TOKEN_UDP, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_UDP (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_UDP, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OUTBOUND_INTERFACE (location_type l)
+      {
+        return symbol_type (token::TOKEN_OUTBOUND_INTERFACE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OUTBOUND_INTERFACE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OUTBOUND_INTERFACE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SAME_AS_INBOUND (location_type l)
+      {
+        return symbol_type (token::TOKEN_SAME_AS_INBOUND, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SAME_AS_INBOUND (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SAME_AS_INBOUND, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_USE_ROUTING (location_type l)
+      {
+        return symbol_type (token::TOKEN_USE_ROUTING, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_USE_ROUTING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_USE_ROUTING, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RE_DETECT (location_type l)
+      {
+        return symbol_type (token::TOKEN_RE_DETECT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RE_DETECT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RE_DETECT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SANITY_CHECKS (location_type l)
+      {
+        return symbol_type (token::TOKEN_SANITY_CHECKS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SANITY_CHECKS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SANITY_CHECKS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LEASE_CHECKS (location_type l)
+      {
+        return symbol_type (token::TOKEN_LEASE_CHECKS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LEASE_CHECKS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LEASE_CHECKS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ECHO_CLIENT_ID (location_type l)
+      {
+        return symbol_type (token::TOKEN_ECHO_CLIENT_ID, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ECHO_CLIENT_ID (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ECHO_CLIENT_ID, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MATCH_CLIENT_ID (location_type l)
+      {
+        return symbol_type (token::TOKEN_MATCH_CLIENT_ID, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MATCH_CLIENT_ID (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MATCH_CLIENT_ID, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_AUTHORITATIVE (location_type l)
+      {
+        return symbol_type (token::TOKEN_AUTHORITATIVE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_AUTHORITATIVE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_AUTHORITATIVE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_NEXT_SERVER (location_type l)
+      {
+        return symbol_type (token::TOKEN_NEXT_SERVER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_NEXT_SERVER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_NEXT_SERVER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SERVER_HOSTNAME (location_type l)
+      {
+        return symbol_type (token::TOKEN_SERVER_HOSTNAME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SERVER_HOSTNAME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SERVER_HOSTNAME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_BOOT_FILE_NAME (location_type l)
+      {
+        return symbol_type (token::TOKEN_BOOT_FILE_NAME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_BOOT_FILE_NAME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_BOOT_FILE_NAME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LEASE_DATABASE (location_type l)
+      {
+        return symbol_type (token::TOKEN_LEASE_DATABASE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LEASE_DATABASE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LEASE_DATABASE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOSTS_DATABASE (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOSTS_DATABASE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOSTS_DATABASE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOSTS_DATABASE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOSTS_DATABASES (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOSTS_DATABASES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOSTS_DATABASES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOSTS_DATABASES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TYPE (location_type l)
+      {
+        return symbol_type (token::TOKEN_TYPE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TYPE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TYPE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MEMFILE (location_type l)
+      {
+        return symbol_type (token::TOKEN_MEMFILE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MEMFILE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MEMFILE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MYSQL (location_type l)
+      {
+        return symbol_type (token::TOKEN_MYSQL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MYSQL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MYSQL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_POSTGRESQL (location_type l)
+      {
+        return symbol_type (token::TOKEN_POSTGRESQL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_POSTGRESQL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_POSTGRESQL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CQL (location_type l)
+      {
+        return symbol_type (token::TOKEN_CQL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CQL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CQL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_USER (location_type l)
+      {
+        return symbol_type (token::TOKEN_USER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_USER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_USER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PASSWORD (location_type l)
+      {
+        return symbol_type (token::TOKEN_PASSWORD, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PASSWORD (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PASSWORD, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOST (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOST, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOST (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOST, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PORT (location_type l)
+      {
+        return symbol_type (token::TOKEN_PORT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PORT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PORT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PERSIST (location_type l)
+      {
+        return symbol_type (token::TOKEN_PERSIST, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PERSIST (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PERSIST, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LFC_INTERVAL (location_type l)
+      {
+        return symbol_type (token::TOKEN_LFC_INTERVAL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LFC_INTERVAL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LFC_INTERVAL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_READONLY (location_type l)
+      {
+        return symbol_type (token::TOKEN_READONLY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_READONLY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_READONLY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CONNECT_TIMEOUT (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONNECT_TIMEOUT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONNECT_TIMEOUT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONNECT_TIMEOUT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CONTACT_POINTS (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONTACT_POINTS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONTACT_POINTS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONTACT_POINTS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_KEYSPACE (location_type l)
+      {
+        return symbol_type (token::TOKEN_KEYSPACE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_KEYSPACE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_KEYSPACE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CONSISTENCY (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONSISTENCY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONSISTENCY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONSISTENCY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SERIAL_CONSISTENCY (location_type l)
+      {
+        return symbol_type (token::TOKEN_SERIAL_CONSISTENCY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SERIAL_CONSISTENCY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SERIAL_CONSISTENCY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAX_RECONNECT_TRIES (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAX_RECONNECT_TRIES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAX_RECONNECT_TRIES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAX_RECONNECT_TRIES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RECONNECT_WAIT_TIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_RECONNECT_WAIT_TIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RECONNECT_WAIT_TIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RECONNECT_WAIT_TIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_REQUEST_TIMEOUT (location_type l)
+      {
+        return symbol_type (token::TOKEN_REQUEST_TIMEOUT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_REQUEST_TIMEOUT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_REQUEST_TIMEOUT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TCP_KEEPALIVE (location_type l)
+      {
+        return symbol_type (token::TOKEN_TCP_KEEPALIVE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TCP_KEEPALIVE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TCP_KEEPALIVE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TCP_NODELAY (location_type l)
+      {
+        return symbol_type (token::TOKEN_TCP_NODELAY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TCP_NODELAY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TCP_NODELAY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAX_ROW_ERRORS (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAX_ROW_ERRORS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAX_ROW_ERRORS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAX_ROW_ERRORS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_VALID_LIFETIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_VALID_LIFETIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_VALID_LIFETIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_VALID_LIFETIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MIN_VALID_LIFETIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_MIN_VALID_LIFETIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MIN_VALID_LIFETIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MIN_VALID_LIFETIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAX_VALID_LIFETIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAX_VALID_LIFETIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAX_VALID_LIFETIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAX_VALID_LIFETIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RENEW_TIMER (location_type l)
+      {
+        return symbol_type (token::TOKEN_RENEW_TIMER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RENEW_TIMER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RENEW_TIMER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_REBIND_TIMER (location_type l)
+      {
+        return symbol_type (token::TOKEN_REBIND_TIMER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_REBIND_TIMER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_REBIND_TIMER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CALCULATE_TEE_TIMES (location_type l)
+      {
+        return symbol_type (token::TOKEN_CALCULATE_TEE_TIMES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CALCULATE_TEE_TIMES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CALCULATE_TEE_TIMES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_T1_PERCENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_T1_PERCENT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_T1_PERCENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_T1_PERCENT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_T2_PERCENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_T2_PERCENT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_T2_PERCENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_T2_PERCENT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CACHE_THRESHOLD (location_type l)
+      {
+        return symbol_type (token::TOKEN_CACHE_THRESHOLD, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CACHE_THRESHOLD (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CACHE_THRESHOLD, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CACHE_MAX_AGE (location_type l)
+      {
+        return symbol_type (token::TOKEN_CACHE_MAX_AGE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CACHE_MAX_AGE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CACHE_MAX_AGE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DECLINE_PROBATION_PERIOD (location_type l)
+      {
+        return symbol_type (token::TOKEN_DECLINE_PROBATION_PERIOD, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DECLINE_PROBATION_PERIOD (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DECLINE_PROBATION_PERIOD, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SERVER_TAG (location_type l)
+      {
+        return symbol_type (token::TOKEN_SERVER_TAG, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SERVER_TAG (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SERVER_TAG, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_STATISTIC_DEFAULT_SAMPLE_COUNT (location_type l)
+      {
+        return symbol_type (token::TOKEN_STATISTIC_DEFAULT_SAMPLE_COUNT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_STATISTIC_DEFAULT_SAMPLE_COUNT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_STATISTIC_DEFAULT_SAMPLE_COUNT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_STATISTIC_DEFAULT_SAMPLE_AGE (location_type l)
+      {
+        return symbol_type (token::TOKEN_STATISTIC_DEFAULT_SAMPLE_AGE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_STATISTIC_DEFAULT_SAMPLE_AGE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_STATISTIC_DEFAULT_SAMPLE_AGE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DDNS_SEND_UPDATES (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_SEND_UPDATES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DDNS_SEND_UPDATES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_SEND_UPDATES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DDNS_OVERRIDE_NO_UPDATE (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_OVERRIDE_NO_UPDATE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DDNS_OVERRIDE_NO_UPDATE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_OVERRIDE_NO_UPDATE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DDNS_OVERRIDE_CLIENT_UPDATE (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_OVERRIDE_CLIENT_UPDATE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DDNS_OVERRIDE_CLIENT_UPDATE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_OVERRIDE_CLIENT_UPDATE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DDNS_REPLACE_CLIENT_NAME (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_REPLACE_CLIENT_NAME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DDNS_REPLACE_CLIENT_NAME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_REPLACE_CLIENT_NAME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DDNS_GENERATED_PREFIX (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_GENERATED_PREFIX, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DDNS_GENERATED_PREFIX (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_GENERATED_PREFIX, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DDNS_QUALIFYING_SUFFIX (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_QUALIFYING_SUFFIX, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DDNS_QUALIFYING_SUFFIX (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_QUALIFYING_SUFFIX, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DDNS_UPDATE_ON_RENEW (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_UPDATE_ON_RENEW, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DDNS_UPDATE_ON_RENEW (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_UPDATE_ON_RENEW, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DDNS_USE_CONFLICT_RESOLUTION (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_USE_CONFLICT_RESOLUTION, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DDNS_USE_CONFLICT_RESOLUTION (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_USE_CONFLICT_RESOLUTION, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_STORE_EXTENDED_INFO (location_type l)
+      {
+        return symbol_type (token::TOKEN_STORE_EXTENDED_INFO, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_STORE_EXTENDED_INFO (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_STORE_EXTENDED_INFO, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUBNET4 (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUBNET4, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUBNET4 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUBNET4, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUBNET_4O6_INTERFACE (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUBNET_4O6_INTERFACE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUBNET_4O6_INTERFACE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUBNET_4O6_INTERFACE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUBNET_4O6_INTERFACE_ID (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUBNET_4O6_INTERFACE_ID, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUBNET_4O6_INTERFACE_ID (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUBNET_4O6_INTERFACE_ID, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUBNET_4O6_SUBNET (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUBNET_4O6_SUBNET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUBNET_4O6_SUBNET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUBNET_4O6_SUBNET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OPTION_DEF (location_type l)
+      {
+        return symbol_type (token::TOKEN_OPTION_DEF, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OPTION_DEF (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OPTION_DEF, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OPTION_DATA (location_type l)
+      {
+        return symbol_type (token::TOKEN_OPTION_DATA, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OPTION_DATA (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OPTION_DATA, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_NAME (location_type l)
+      {
+        return symbol_type (token::TOKEN_NAME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_NAME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_NAME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DATA (location_type l)
+      {
+        return symbol_type (token::TOKEN_DATA, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DATA (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DATA, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CODE (location_type l)
+      {
+        return symbol_type (token::TOKEN_CODE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CODE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CODE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SPACE (location_type l)
+      {
+        return symbol_type (token::TOKEN_SPACE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SPACE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SPACE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CSV_FORMAT (location_type l)
+      {
+        return symbol_type (token::TOKEN_CSV_FORMAT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CSV_FORMAT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CSV_FORMAT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ALWAYS_SEND (location_type l)
+      {
+        return symbol_type (token::TOKEN_ALWAYS_SEND, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ALWAYS_SEND (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ALWAYS_SEND, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RECORD_TYPES (location_type l)
+      {
+        return symbol_type (token::TOKEN_RECORD_TYPES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RECORD_TYPES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RECORD_TYPES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ENCAPSULATE (location_type l)
+      {
+        return symbol_type (token::TOKEN_ENCAPSULATE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ENCAPSULATE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ENCAPSULATE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ARRAY (location_type l)
+      {
+        return symbol_type (token::TOKEN_ARRAY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ARRAY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ARRAY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SHARED_NETWORKS (location_type l)
+      {
+        return symbol_type (token::TOKEN_SHARED_NETWORKS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SHARED_NETWORKS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SHARED_NETWORKS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_POOLS (location_type l)
+      {
+        return symbol_type (token::TOKEN_POOLS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_POOLS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_POOLS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_POOL (location_type l)
+      {
+        return symbol_type (token::TOKEN_POOL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_POOL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_POOL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_USER_CONTEXT (location_type l)
+      {
+        return symbol_type (token::TOKEN_USER_CONTEXT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_USER_CONTEXT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_USER_CONTEXT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_COMMENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_COMMENT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_COMMENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_COMMENT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUBNET (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUBNET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUBNET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUBNET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_INTERFACE (location_type l)
+      {
+        return symbol_type (token::TOKEN_INTERFACE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_INTERFACE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_INTERFACE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ID (location_type l)
+      {
+        return symbol_type (token::TOKEN_ID, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ID (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ID, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RESERVATION_MODE (location_type l)
+      {
+        return symbol_type (token::TOKEN_RESERVATION_MODE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RESERVATION_MODE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RESERVATION_MODE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DISABLED (location_type l)
+      {
+        return symbol_type (token::TOKEN_DISABLED, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DISABLED (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DISABLED, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OUT_OF_POOL (location_type l)
+      {
+        return symbol_type (token::TOKEN_OUT_OF_POOL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OUT_OF_POOL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OUT_OF_POOL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_GLOBAL (location_type l)
+      {
+        return symbol_type (token::TOKEN_GLOBAL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_GLOBAL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_GLOBAL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ALL (location_type l)
+      {
+        return symbol_type (token::TOKEN_ALL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ALL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ALL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOST_RESERVATION_IDENTIFIERS (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOST_RESERVATION_IDENTIFIERS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOST_RESERVATION_IDENTIFIERS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOST_RESERVATION_IDENTIFIERS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CLIENT_CLASSES (location_type l)
+      {
+        return symbol_type (token::TOKEN_CLIENT_CLASSES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CLIENT_CLASSES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CLIENT_CLASSES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_REQUIRE_CLIENT_CLASSES (location_type l)
+      {
+        return symbol_type (token::TOKEN_REQUIRE_CLIENT_CLASSES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_REQUIRE_CLIENT_CLASSES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_REQUIRE_CLIENT_CLASSES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TEST (location_type l)
+      {
+        return symbol_type (token::TOKEN_TEST, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TEST (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TEST, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ONLY_IF_REQUIRED (location_type l)
+      {
+        return symbol_type (token::TOKEN_ONLY_IF_REQUIRED, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ONLY_IF_REQUIRED (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ONLY_IF_REQUIRED, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CLIENT_CLASS (location_type l)
+      {
+        return symbol_type (token::TOKEN_CLIENT_CLASS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CLIENT_CLASS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CLIENT_CLASS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RESERVATIONS (location_type l)
+      {
+        return symbol_type (token::TOKEN_RESERVATIONS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RESERVATIONS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RESERVATIONS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DUID (location_type l)
+      {
+        return symbol_type (token::TOKEN_DUID, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DUID (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DUID, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HW_ADDRESS (location_type l)
+      {
+        return symbol_type (token::TOKEN_HW_ADDRESS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HW_ADDRESS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HW_ADDRESS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CIRCUIT_ID (location_type l)
+      {
+        return symbol_type (token::TOKEN_CIRCUIT_ID, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CIRCUIT_ID (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CIRCUIT_ID, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CLIENT_ID (location_type l)
+      {
+        return symbol_type (token::TOKEN_CLIENT_ID, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CLIENT_ID (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CLIENT_ID, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOSTNAME (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOSTNAME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOSTNAME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOSTNAME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_FLEX_ID (location_type l)
+      {
+        return symbol_type (token::TOKEN_FLEX_ID, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_FLEX_ID (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_FLEX_ID, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RELAY (location_type l)
+      {
+        return symbol_type (token::TOKEN_RELAY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RELAY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RELAY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_IP_ADDRESS (location_type l)
+      {
+        return symbol_type (token::TOKEN_IP_ADDRESS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_IP_ADDRESS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_IP_ADDRESS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_IP_ADDRESSES (location_type l)
+      {
+        return symbol_type (token::TOKEN_IP_ADDRESSES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_IP_ADDRESSES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_IP_ADDRESSES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOOKS_LIBRARIES (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOOKS_LIBRARIES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOOKS_LIBRARIES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOOKS_LIBRARIES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LIBRARY (location_type l)
+      {
+        return symbol_type (token::TOKEN_LIBRARY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LIBRARY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LIBRARY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PARAMETERS (location_type l)
+      {
+        return symbol_type (token::TOKEN_PARAMETERS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PARAMETERS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PARAMETERS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_EXPIRED_LEASES_PROCESSING (location_type l)
+      {
+        return symbol_type (token::TOKEN_EXPIRED_LEASES_PROCESSING, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_EXPIRED_LEASES_PROCESSING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_EXPIRED_LEASES_PROCESSING, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RECLAIM_TIMER_WAIT_TIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_RECLAIM_TIMER_WAIT_TIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RECLAIM_TIMER_WAIT_TIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RECLAIM_TIMER_WAIT_TIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOLD_RECLAIMED_TIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOLD_RECLAIMED_TIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOLD_RECLAIMED_TIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOLD_RECLAIMED_TIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAX_RECLAIM_LEASES (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAX_RECLAIM_LEASES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAX_RECLAIM_LEASES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAX_RECLAIM_LEASES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAX_RECLAIM_TIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAX_RECLAIM_TIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAX_RECLAIM_TIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAX_RECLAIM_TIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_UNWARNED_RECLAIM_CYCLES (location_type l)
+      {
+        return symbol_type (token::TOKEN_UNWARNED_RECLAIM_CYCLES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_UNWARNED_RECLAIM_CYCLES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_UNWARNED_RECLAIM_CYCLES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DHCP4O6_PORT (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCP4O6_PORT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCP4O6_PORT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCP4O6_PORT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DHCP_MULTI_THREADING (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCP_MULTI_THREADING, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCP_MULTI_THREADING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCP_MULTI_THREADING, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ENABLE_MULTI_THREADING (location_type l)
+      {
+        return symbol_type (token::TOKEN_ENABLE_MULTI_THREADING, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ENABLE_MULTI_THREADING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ENABLE_MULTI_THREADING, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_THREAD_POOL_SIZE (location_type l)
+      {
+        return symbol_type (token::TOKEN_THREAD_POOL_SIZE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_THREAD_POOL_SIZE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_THREAD_POOL_SIZE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PACKET_QUEUE_SIZE (location_type l)
+      {
+        return symbol_type (token::TOKEN_PACKET_QUEUE_SIZE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PACKET_QUEUE_SIZE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PACKET_QUEUE_SIZE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CONTROL_SOCKET (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONTROL_SOCKET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONTROL_SOCKET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONTROL_SOCKET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SOCKET_TYPE (location_type l)
+      {
+        return symbol_type (token::TOKEN_SOCKET_TYPE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SOCKET_TYPE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SOCKET_TYPE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SOCKET_NAME (location_type l)
+      {
+        return symbol_type (token::TOKEN_SOCKET_NAME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SOCKET_NAME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SOCKET_NAME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DHCP_QUEUE_CONTROL (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCP_QUEUE_CONTROL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCP_QUEUE_CONTROL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCP_QUEUE_CONTROL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ENABLE_QUEUE (location_type l)
+      {
+        return symbol_type (token::TOKEN_ENABLE_QUEUE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ENABLE_QUEUE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ENABLE_QUEUE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_QUEUE_TYPE (location_type l)
+      {
+        return symbol_type (token::TOKEN_QUEUE_TYPE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_QUEUE_TYPE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_QUEUE_TYPE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CAPACITY (location_type l)
+      {
+        return symbol_type (token::TOKEN_CAPACITY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CAPACITY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CAPACITY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DHCP_DDNS (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCP_DDNS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCP_DDNS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCP_DDNS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ENABLE_UPDATES (location_type l)
+      {
+        return symbol_type (token::TOKEN_ENABLE_UPDATES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ENABLE_UPDATES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ENABLE_UPDATES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_QUALIFYING_SUFFIX (location_type l)
+      {
+        return symbol_type (token::TOKEN_QUALIFYING_SUFFIX, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_QUALIFYING_SUFFIX (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_QUALIFYING_SUFFIX, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SERVER_IP (location_type l)
+      {
+        return symbol_type (token::TOKEN_SERVER_IP, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SERVER_IP (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SERVER_IP, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SERVER_PORT (location_type l)
+      {
+        return symbol_type (token::TOKEN_SERVER_PORT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SERVER_PORT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SERVER_PORT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SENDER_IP (location_type l)
+      {
+        return symbol_type (token::TOKEN_SENDER_IP, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SENDER_IP (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SENDER_IP, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SENDER_PORT (location_type l)
+      {
+        return symbol_type (token::TOKEN_SENDER_PORT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SENDER_PORT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SENDER_PORT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAX_QUEUE_SIZE (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAX_QUEUE_SIZE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAX_QUEUE_SIZE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAX_QUEUE_SIZE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_NCR_PROTOCOL (location_type l)
+      {
+        return symbol_type (token::TOKEN_NCR_PROTOCOL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_NCR_PROTOCOL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_NCR_PROTOCOL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_NCR_FORMAT (location_type l)
+      {
+        return symbol_type (token::TOKEN_NCR_FORMAT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_NCR_FORMAT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_NCR_FORMAT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OVERRIDE_NO_UPDATE (location_type l)
+      {
+        return symbol_type (token::TOKEN_OVERRIDE_NO_UPDATE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OVERRIDE_NO_UPDATE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OVERRIDE_NO_UPDATE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OVERRIDE_CLIENT_UPDATE (location_type l)
+      {
+        return symbol_type (token::TOKEN_OVERRIDE_CLIENT_UPDATE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OVERRIDE_CLIENT_UPDATE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OVERRIDE_CLIENT_UPDATE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_REPLACE_CLIENT_NAME (location_type l)
+      {
+        return symbol_type (token::TOKEN_REPLACE_CLIENT_NAME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_REPLACE_CLIENT_NAME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_REPLACE_CLIENT_NAME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_GENERATED_PREFIX (location_type l)
+      {
+        return symbol_type (token::TOKEN_GENERATED_PREFIX, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_GENERATED_PREFIX (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_GENERATED_PREFIX, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TCP (location_type l)
+      {
+        return symbol_type (token::TOKEN_TCP, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TCP (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TCP, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_JSON (location_type l)
+      {
+        return symbol_type (token::TOKEN_JSON, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_JSON (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_JSON, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_WHEN_PRESENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_WHEN_PRESENT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_WHEN_PRESENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_WHEN_PRESENT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_NEVER (location_type l)
+      {
+        return symbol_type (token::TOKEN_NEVER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_NEVER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_NEVER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ALWAYS (location_type l)
+      {
+        return symbol_type (token::TOKEN_ALWAYS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ALWAYS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ALWAYS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_WHEN_NOT_PRESENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_WHEN_NOT_PRESENT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_WHEN_NOT_PRESENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_WHEN_NOT_PRESENT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOSTNAME_CHAR_SET (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOSTNAME_CHAR_SET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOSTNAME_CHAR_SET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOSTNAME_CHAR_SET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOSTNAME_CHAR_REPLACEMENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOSTNAME_CHAR_REPLACEMENT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOSTNAME_CHAR_REPLACEMENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOSTNAME_CHAR_REPLACEMENT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_IP_RESERVATIONS_UNIQUE (location_type l)
+      {
+        return symbol_type (token::TOKEN_IP_RESERVATIONS_UNIQUE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_IP_RESERVATIONS_UNIQUE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_IP_RESERVATIONS_UNIQUE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LOGGERS (location_type l)
+      {
+        return symbol_type (token::TOKEN_LOGGERS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LOGGERS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LOGGERS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OUTPUT_OPTIONS (location_type l)
+      {
+        return symbol_type (token::TOKEN_OUTPUT_OPTIONS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OUTPUT_OPTIONS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OUTPUT_OPTIONS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OUTPUT (location_type l)
+      {
+        return symbol_type (token::TOKEN_OUTPUT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OUTPUT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OUTPUT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DEBUGLEVEL (location_type l)
+      {
+        return symbol_type (token::TOKEN_DEBUGLEVEL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DEBUGLEVEL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DEBUGLEVEL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SEVERITY (location_type l)
+      {
+        return symbol_type (token::TOKEN_SEVERITY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SEVERITY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SEVERITY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_FLUSH (location_type l)
+      {
+        return symbol_type (token::TOKEN_FLUSH, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_FLUSH (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_FLUSH, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAXSIZE (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAXSIZE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAXSIZE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAXSIZE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAXVER (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAXVER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAXVER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAXVER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PATTERN (location_type l)
+      {
+        return symbol_type (token::TOKEN_PATTERN, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PATTERN (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PATTERN, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TOPLEVEL_JSON (location_type l)
+      {
+        return symbol_type (token::TOKEN_TOPLEVEL_JSON, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TOPLEVEL_JSON (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TOPLEVEL_JSON, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TOPLEVEL_DHCP4 (location_type l)
+      {
+        return symbol_type (token::TOKEN_TOPLEVEL_DHCP4, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TOPLEVEL_DHCP4 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TOPLEVEL_DHCP4, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_DHCP4 (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_DHCP4, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_DHCP4 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_DHCP4, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_INTERFACES4 (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_INTERFACES4, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_INTERFACES4 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_INTERFACES4, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_SUBNET4 (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_SUBNET4, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_SUBNET4 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_SUBNET4, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_POOL4 (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_POOL4, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_POOL4 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_POOL4, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_RESERVATION (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_RESERVATION, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_RESERVATION (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_RESERVATION, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_OPTION_DEFS (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_OPTION_DEFS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_OPTION_DEFS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_OPTION_DEFS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_OPTION_DEF (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_OPTION_DEF, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_OPTION_DEF (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_OPTION_DEF, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_OPTION_DATA (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_OPTION_DATA, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_OPTION_DATA (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_OPTION_DATA, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_HOOKS_LIBRARY (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_HOOKS_LIBRARY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_HOOKS_LIBRARY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_HOOKS_LIBRARY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_DHCP_DDNS (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_DHCP_DDNS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_DHCP_DDNS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_DHCP_DDNS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_CONFIG_CONTROL (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_CONFIG_CONTROL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_CONFIG_CONTROL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_CONFIG_CONTROL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_STRING (std::string v, location_type l)
+      {
+        return symbol_type (token::TOKEN_STRING, std::move (v), std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_STRING (const std::string& v, const location_type& l)
+      {
+        return symbol_type (token::TOKEN_STRING, v, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_INTEGER (int64_t v, location_type l)
+      {
+        return symbol_type (token::TOKEN_INTEGER, std::move (v), std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_INTEGER (const int64_t& v, const location_type& l)
+      {
+        return symbol_type (token::TOKEN_INTEGER, v, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_FLOAT (double v, location_type l)
+      {
+        return symbol_type (token::TOKEN_FLOAT, std::move (v), std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_FLOAT (const double& v, const location_type& l)
+      {
+        return symbol_type (token::TOKEN_FLOAT, v, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_BOOLEAN (bool v, location_type l)
+      {
+        return symbol_type (token::TOKEN_BOOLEAN, std::move (v), std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_BOOLEAN (const bool& v, const location_type& l)
+      {
+        return symbol_type (token::TOKEN_BOOLEAN, v, l);
+      }
 #endif
 
-    /// \brief Reclaim the memory associated to a symbol.
-    /// \param yymsg     Why this token is reclaimed.
-    ///                  If null, print nothing.
-    /// \param yysym     The symbol.
-    template <typename Base>
-    void yy_destroy_ (const char* yymsg, basic_symbol<Base>& yysym) const;
-
-  private:
-    /// Type access provider for state based symbols.
-    struct by_state
-    {
-      /// Default constructor.
-      by_state ();
-
-      /// The symbol type as needed by the constructor.
-      typedef state_type kind_type;
-
-      /// Constructor.
-      by_state (kind_type s);
-
-      /// Copy constructor.
-      by_state (const by_state& other);
-
-      /// Record that this symbol is empty.
-      void clear ();
-
-      /// Steal the symbol type from \a that.
-      void move (by_state& that);
-
-      /// The (internal) type number (corresponding to \a state).
-      /// \a empty_symbol when empty.
-      symbol_number_type type_get () const;
-
-      /// The state number used to denote an empty symbol.
-      enum { empty_state = -1 };
-
-      /// The state.
-      /// \a empty when empty.
-      state_type state;
-    };
-
-    /// "Internal" symbol: element of the stack.
-    struct stack_symbol_type : basic_symbol<by_state>
-    {
-      /// Superclass.
-      typedef basic_symbol<by_state> super_type;
-      /// Construct an empty symbol.
-      stack_symbol_type ();
-      /// Steal the contents from \a sym to build this.
-      stack_symbol_type (state_type s, symbol_type& sym);
-      /// Assignment, needed by push_back.
-      stack_symbol_type& operator= (const stack_symbol_type& that);
-    };
-
-    /// Stack type.
-    typedef stack<stack_symbol_type> stack_type;
-
-    /// The stack.
-    stack_type yystack_;
-
-    /// Push a new state on the stack.
-    /// \param m    a debug message to display
-    ///             if null, no trace is output.
-    /// \param s    the symbol
-    /// \warning the contents of \a s.value is stolen.
-    void yypush_ (const char* m, stack_symbol_type& s);
-
-    /// Push a new look ahead token on the state on the stack.
-    /// \param m    a debug message to display
-    ///             if null, no trace is output.
-    /// \param s    the state
-    /// \param sym  the symbol (for its value and location).
-    /// \warning the contents of \a s.value is stolen.
-    void yypush_ (const char* m, state_type s, symbol_type& sym);
-
-    /// Pop \a n symbols the three stacks.
-    void yypop_ (unsigned int n = 1);
-
-    /// Constants.
-    enum
-    {
-      yyeof_ = 0,
-      yylast_ = 1193,     ///< Last index in yytable_.
-      yynnts_ = 407,  ///< Number of nonterminal symbols.
-      yyfinal_ = 28, ///< Termination state number.
-      yyterror_ = 1,
-      yyerrcode_ = 256,
-      yyntokens_ = 195  ///< Number of tokens.
-    };
-
-
-    // User arguments.
-    isc::dhcp::Parser4Context& ctx;
-  };
-
-  // Symbol number corresponding to token number t.
-  inline
-  Dhcp4Parser::token_number_type
-  Dhcp4Parser::yytranslate_ (token_type t)
-  {
-    static
-    const token_number_type
-    translate_table[] =
-    {
-     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,   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
-    };
-    const unsigned int user_token_number_max_ = 449;
-    const token_number_type undef_token_ = 2;
-
-    if (static_cast<int>(t) <= yyeof_)
-      return yyeof_;
-    else if (static_cast<unsigned int> (t) <= user_token_number_max_)
-      return translate_table[t];
-    else
-      return undef_token_;
-  }
-
-  inline
-  Dhcp4Parser::syntax_error::syntax_error (const location_type& l, const std::string& m)
-    : std::runtime_error (m)
-    , location (l)
-  {}
-
-  // basic_symbol.
-  template <typename Base>
-  inline
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol ()
-    : value ()
-  {}
-
-  template <typename Base>
-  inline
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (const basic_symbol& other)
-    : Base (other)
-    , value ()
-    , location (other.location)
-  {
-      switch (other.type_get ())
-    {
-      case 210: // value
-      case 214: // map_value
-      case 255: // ddns_replace_client_name_value
-      case 280: // socket_type
-      case 283: // outbound_interface_value
-      case 305: // db_type
-      case 399: // hr_mode
-      case 554: // ncr_protocol_value
-        value.copy< ElementPtr > (other.value);
-        break;
-
-      case 194: // "boolean"
-        value.copy< bool > (other.value);
-        break;
-
-      case 193: // "floating point"
-        value.copy< double > (other.value);
-        break;
-
-      case 192: // "integer"
-        value.copy< int64_t > (other.value);
-        break;
-
-      case 191: // "constant string"
-        value.copy< std::string > (other.value);
-        break;
-
-      default:
-        break;
-    }
-
-  }
-
-
-  template <typename Base>
-  inline
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const semantic_type& v, const location_type& l)
-    : Base (t)
-    , value ()
-    , location (l)
-  {
-    (void) v;
-      switch (this->type_get ())
-    {
-      case 210: // value
-      case 214: // map_value
-      case 255: // ddns_replace_client_name_value
-      case 280: // socket_type
-      case 283: // outbound_interface_value
-      case 305: // db_type
-      case 399: // hr_mode
-      case 554: // ncr_protocol_value
-        value.copy< ElementPtr > (v);
-        break;
-
-      case 194: // "boolean"
-        value.copy< bool > (v);
-        break;
-
-      case 193: // "floating point"
-        value.copy< double > (v);
-        break;
-
-      case 192: // "integer"
-        value.copy< int64_t > (v);
-        break;
-
-      case 191: // "constant string"
-        value.copy< std::string > (v);
-        break;
-
-      default:
-        break;
-    }
-}
-
-
-  // Implementation of basic_symbol constructor for each type.
-
-  template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const location_type& l)
-    : Base (t)
-    , value ()
-    , location (l)
-  {}
-
-  template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const ElementPtr v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-
-  template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const bool v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-
-  template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const double v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-
-  template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const int64_t v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-
-  template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const std::string v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-
-
-  template <typename Base>
-  inline
-  Dhcp4Parser::basic_symbol<Base>::~basic_symbol ()
-  {
-    clear ();
-  }
-
-  template <typename Base>
-  inline
-  void
-  Dhcp4Parser::basic_symbol<Base>::clear ()
-  {
-    // User destructor.
-    symbol_number_type yytype = this->type_get ();
-    basic_symbol<Base>& yysym = *this;
-    (void) yysym;
-    switch (yytype)
-    {
-   default:
-      break;
-    }
-
-    // Type destructor.
-    switch (yytype)
-    {
-      case 210: // value
-      case 214: // map_value
-      case 255: // ddns_replace_client_name_value
-      case 280: // socket_type
-      case 283: // outbound_interface_value
-      case 305: // db_type
-      case 399: // hr_mode
-      case 554: // ncr_protocol_value
-        value.template destroy< ElementPtr > ();
-        break;
-
-      case 194: // "boolean"
-        value.template destroy< bool > ();
-        break;
-
-      case 193: // "floating point"
-        value.template destroy< double > ();
-        break;
-
-      case 192: // "integer"
-        value.template destroy< int64_t > ();
-        break;
-
-      case 191: // "constant string"
-        value.template destroy< std::string > ();
-        break;
-
-      default:
-        break;
-    }
-
-    Base::clear ();
-  }
-
-  template <typename Base>
-  inline
-  bool
-  Dhcp4Parser::basic_symbol<Base>::empty () const
-  {
-    return Base::type_get () == empty_symbol;
-  }
-
-  template <typename Base>
-  inline
-  void
-  Dhcp4Parser::basic_symbol<Base>::move (basic_symbol& s)
-  {
-    super_type::move(s);
-      switch (this->type_get ())
-    {
-      case 210: // value
-      case 214: // map_value
-      case 255: // ddns_replace_client_name_value
-      case 280: // socket_type
-      case 283: // outbound_interface_value
-      case 305: // db_type
-      case 399: // hr_mode
-      case 554: // ncr_protocol_value
-        value.move< ElementPtr > (s.value);
-        break;
-
-      case 194: // "boolean"
-        value.move< bool > (s.value);
-        break;
-
-      case 193: // "floating point"
-        value.move< double > (s.value);
-        break;
-
-      case 192: // "integer"
-        value.move< int64_t > (s.value);
-        break;
-
-      case 191: // "constant string"
-        value.move< std::string > (s.value);
-        break;
-
-      default:
-        break;
-    }
-
-    location = s.location;
-  }
-
-  // by_type.
-  inline
-  Dhcp4Parser::by_type::by_type ()
-    : type (empty_symbol)
-  {}
-
-  inline
-  Dhcp4Parser::by_type::by_type (const by_type& other)
-    : type (other.type)
-  {}
-
-  inline
-  Dhcp4Parser::by_type::by_type (token_type t)
-    : type (yytranslate_ (t))
-  {}
-
-  inline
-  void
-  Dhcp4Parser::by_type::clear ()
-  {
-    type = empty_symbol;
-  }
-
-  inline
-  void
-  Dhcp4Parser::by_type::move (by_type& that)
-  {
-    type = that.type;
-    that.clear ();
-  }
-
-  inline
-  int
-  Dhcp4Parser::by_type::type_get () const
-  {
-    return type;
-  }
-
-  inline
-  Dhcp4Parser::token_type
-  Dhcp4Parser::by_type::token () const
-  {
-    // YYTOKNUM[NUM] -- (External) token number corresponding to the
-    // (internal) symbol number NUM (which must be that of a token).  */
-    static
-    const unsigned short int
-    yytoken_number_[] =
-    {
-       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,   381,   382,   383,   384,
-     385,   386,   387,   388,   389,   390,   391,   392,   393,   394,
-     395,   396,   397,   398,   399,   400,   401,   402,   403,   404,
-     405,   406,   407,   408,   409,   410,   411,   412,   413,   414,
-     415,   416,   417,   418,   419,   420,   421,   422,   423,   424,
-     425,   426,   427,   428,   429,   430,   431,   432,   433,   434,
-     435,   436,   437,   438,   439,   440,   441,   442,   443,   444,
-     445,   446,   447,   448,   449
-    };
-    return static_cast<token_type> (yytoken_number_[type]);
-  }
-  // Implementation of make_symbol for each symbol type.
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_END (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_END, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_COMMA (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_COMMA, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_COLON (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_COLON, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LSQUARE_BRACKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LSQUARE_BRACKET, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RSQUARE_BRACKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RSQUARE_BRACKET, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LCURLY_BRACKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LCURLY_BRACKET, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RCURLY_BRACKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RCURLY_BRACKET, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NULL_TYPE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NULL_TYPE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP4 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP4, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONFIG_CONTROL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONFIG_CONTROL, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONFIG_DATABASES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONFIG_DATABASES, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONFIG_FETCH_WAIT_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONFIG_FETCH_WAIT_TIME, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_INTERFACES_CONFIG (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_INTERFACES_CONFIG, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_INTERFACES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_INTERFACES, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP_SOCKET_TYPE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP_SOCKET_TYPE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RAW (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RAW, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_UDP (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_UDP, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OUTBOUND_INTERFACE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OUTBOUND_INTERFACE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SAME_AS_INBOUND (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SAME_AS_INBOUND, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_USE_ROUTING (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_USE_ROUTING, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RE_DETECT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RE_DETECT, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SANITY_CHECKS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SANITY_CHECKS, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LEASE_CHECKS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LEASE_CHECKS, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ECHO_CLIENT_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ECHO_CLIENT_ID, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MATCH_CLIENT_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MATCH_CLIENT_ID, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_AUTHORITATIVE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_AUTHORITATIVE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NEXT_SERVER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NEXT_SERVER, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERVER_HOSTNAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SERVER_HOSTNAME, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_BOOT_FILE_NAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_BOOT_FILE_NAME, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LEASE_DATABASE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LEASE_DATABASE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTS_DATABASE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOSTS_DATABASE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTS_DATABASES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOSTS_DATABASES, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TYPE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TYPE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MEMFILE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MEMFILE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MYSQL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MYSQL, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_POSTGRESQL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_POSTGRESQL, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CQL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CQL, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_USER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_USER, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PASSWORD (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PASSWORD, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOST (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOST, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PORT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PORT, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PERSIST (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PERSIST, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LFC_INTERVAL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LFC_INTERVAL, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_READONLY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_READONLY, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONNECT_TIMEOUT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONNECT_TIMEOUT, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONTACT_POINTS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONTACT_POINTS, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_KEYSPACE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_KEYSPACE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONSISTENCY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONSISTENCY, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERIAL_CONSISTENCY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SERIAL_CONSISTENCY, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_RECONNECT_TRIES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_RECONNECT_TRIES, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RECONNECT_WAIT_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RECONNECT_WAIT_TIME, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_REQUEST_TIMEOUT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_REQUEST_TIMEOUT, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TCP_KEEPALIVE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TCP_KEEPALIVE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TCP_NODELAY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TCP_NODELAY, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_ROW_ERRORS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_ROW_ERRORS, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_VALID_LIFETIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_VALID_LIFETIME, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MIN_VALID_LIFETIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MIN_VALID_LIFETIME, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_VALID_LIFETIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_VALID_LIFETIME, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RENEW_TIMER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RENEW_TIMER, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_REBIND_TIMER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_REBIND_TIMER, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CALCULATE_TEE_TIMES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CALCULATE_TEE_TIMES, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_T1_PERCENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_T1_PERCENT, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_T2_PERCENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_T2_PERCENT, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CACHE_THRESHOLD (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CACHE_THRESHOLD, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CACHE_MAX_AGE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CACHE_MAX_AGE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DECLINE_PROBATION_PERIOD (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DECLINE_PROBATION_PERIOD, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERVER_TAG (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SERVER_TAG, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_STATISTIC_DEFAULT_SAMPLE_COUNT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_STATISTIC_DEFAULT_SAMPLE_COUNT, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_STATISTIC_DEFAULT_SAMPLE_AGE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_STATISTIC_DEFAULT_SAMPLE_AGE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DDNS_SEND_UPDATES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_SEND_UPDATES, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DDNS_OVERRIDE_NO_UPDATE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_OVERRIDE_NO_UPDATE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DDNS_OVERRIDE_CLIENT_UPDATE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_OVERRIDE_CLIENT_UPDATE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DDNS_REPLACE_CLIENT_NAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_REPLACE_CLIENT_NAME, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DDNS_GENERATED_PREFIX (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_GENERATED_PREFIX, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DDNS_QUALIFYING_SUFFIX (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_QUALIFYING_SUFFIX, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DDNS_UPDATE_ON_RENEW (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_UPDATE_ON_RENEW, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DDNS_USE_CONFLICT_RESOLUTION (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_USE_CONFLICT_RESOLUTION, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_STORE_EXTENDED_INFO (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_STORE_EXTENDED_INFO, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET4 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUBNET4, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET_4O6_INTERFACE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUBNET_4O6_INTERFACE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET_4O6_INTERFACE_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUBNET_4O6_INTERFACE_ID, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET_4O6_SUBNET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUBNET_4O6_SUBNET, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OPTION_DEF (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OPTION_DEF, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OPTION_DATA (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OPTION_DATA, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NAME, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DATA (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DATA, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CODE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CODE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SPACE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SPACE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CSV_FORMAT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CSV_FORMAT, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ALWAYS_SEND (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ALWAYS_SEND, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RECORD_TYPES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RECORD_TYPES, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ENCAPSULATE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ENCAPSULATE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ARRAY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ARRAY, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SHARED_NETWORKS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SHARED_NETWORKS, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_POOLS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_POOLS, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_POOL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_POOL, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_USER_CONTEXT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_USER_CONTEXT, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_COMMENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_COMMENT, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUBNET, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_INTERFACE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_INTERFACE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ID, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RESERVATION_MODE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RESERVATION_MODE, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DISABLED (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DISABLED, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OUT_OF_POOL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OUT_OF_POOL, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_GLOBAL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_GLOBAL, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ALL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ALL, l);
-  }
-
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOST_RESERVATION_IDENTIFIERS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOST_RESERVATION_IDENTIFIERS, l);
-  }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CLIENT_CLASSES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CLIENT_CLASSES, l);
-  }
+    class context
+    {
+    public:
+      context (const Dhcp4Parser& yyparser, const symbol_type& yyla);
+      const symbol_type& lookahead () const { return yyla_; }
+      symbol_kind_type token () const { return yyla_.kind (); }
+      const location_type& location () const { return yyla_.location; }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_REQUIRE_CLIENT_CLASSES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_REQUIRE_CLIENT_CLASSES, l);
-  }
+      /// Put in YYARG at most YYARGN of the expected tokens, and return the
+      /// number of tokens stored in YYARG.  If YYARG is null, return the
+      /// number of expected tokens (guaranteed to be less than YYNTOKENS).
+      int expected_tokens (symbol_kind_type yyarg[], int yyargn) const;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TEST (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TEST, l);
-  }
+    private:
+      const Dhcp4Parser& yyparser_;
+      const symbol_type& yyla_;
+    };
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ONLY_IF_REQUIRED (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ONLY_IF_REQUIRED, l);
-  }
+  private:
+#if YY_CPLUSPLUS < 201103L
+    /// Non copyable.
+    Dhcp4Parser (const Dhcp4Parser&);
+    /// Non copyable.
+    Dhcp4Parser& operator= (const Dhcp4Parser&);
+#endif
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CLIENT_CLASS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CLIENT_CLASS, l);
-  }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RESERVATIONS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RESERVATIONS, l);
-  }
+    /// Stored state numbers (used for stacks).
+    typedef short state_type;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DUID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DUID, l);
-  }
+    /// The arguments of the error message.
+    int yy_syntax_error_arguments_ (const context& yyctx,
+                                    symbol_kind_type yyarg[], int yyargn) const;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HW_ADDRESS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HW_ADDRESS, l);
-  }
+    /// Generate an error message.
+    /// \param yyctx     the context in which the error occurred.
+    virtual std::string yysyntax_error_ (const context& yyctx) const;
+    /// Compute post-reduction state.
+    /// \param yystate   the current state
+    /// \param yysym     the nonterminal to push on the stack
+    static state_type yy_lr_goto_state_ (state_type yystate, int yysym);
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CIRCUIT_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CIRCUIT_ID, l);
-  }
+    /// Whether the given \c yypact_ value indicates a defaulted state.
+    /// \param yyvalue   the value to check
+    static bool yy_pact_value_is_default_ (int yyvalue);
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CLIENT_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CLIENT_ID, l);
-  }
+    /// Whether the given \c yytable_ value indicates a syntax error.
+    /// \param yyvalue   the value to check
+    static bool yy_table_value_is_error_ (int yyvalue);
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTNAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOSTNAME, l);
-  }
+    static const short yypact_ninf_;
+    static const signed char yytable_ninf_;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_FLEX_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_FLEX_ID, l);
-  }
+    /// Convert a scanner token kind \a t to a symbol kind.
+    /// In theory \a t should be a token_kind_type, but character literals
+    /// are valid, yet not members of the token_type enum.
+    static symbol_kind_type yytranslate_ (int t);
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RELAY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RELAY, l);
-  }
+    /// Convert the symbol name \a n to a form suitable for a diagnostic.
+    static std::string yytnamerr_ (const char *yystr);
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_IP_ADDRESS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_IP_ADDRESS, l);
-  }
+    /// For a symbol, its name in clear.
+    static const char* const yytname_[];
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_IP_ADDRESSES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_IP_ADDRESSES, l);
-  }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOOKS_LIBRARIES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOOKS_LIBRARIES, l);
-  }
+    // Tables.
+    // YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
+    // STATE-NUM.
+    static const short yypact_[];
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LIBRARY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LIBRARY, l);
-  }
+    // YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
+    // Performed when YYTABLE does not specify something else to do.  Zero
+    // means the default is an error.
+    static const short yydefact_[];
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PARAMETERS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PARAMETERS, l);
-  }
+    // YYPGOTO[NTERM-NUM].
+    static const short yypgoto_[];
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_EXPIRED_LEASES_PROCESSING (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_EXPIRED_LEASES_PROCESSING, l);
-  }
+    // YYDEFGOTO[NTERM-NUM].
+    static const short yydefgoto_[];
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RECLAIM_TIMER_WAIT_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RECLAIM_TIMER_WAIT_TIME, l);
-  }
+    // YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM.  If
+    // positive, shift that token.  If negative, reduce the rule whose
+    // number is the opposite.  If YYTABLE_NINF, syntax error.
+    static const short yytable_[];
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME, l);
-  }
+    static const short yycheck_[];
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOLD_RECLAIMED_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOLD_RECLAIMED_TIME, l);
-  }
+    // YYSTOS[STATE-NUM] -- The (internal number of the) accessing
+    // symbol of state STATE-NUM.
+    static const short yystos_[];
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_RECLAIM_LEASES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_RECLAIM_LEASES, l);
-  }
+    // YYR1[YYN] -- Symbol number of symbol that rule YYN derives.
+    static const short yyr1_[];
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_RECLAIM_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_RECLAIM_TIME, l);
-  }
+    // YYR2[YYN] -- Number of symbols on the right hand side of rule YYN.
+    static const signed char yyr2_[];
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_UNWARNED_RECLAIM_CYCLES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_UNWARNED_RECLAIM_CYCLES, l);
-  }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP4O6_PORT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP4O6_PORT, l);
-  }
+#if PARSER4_DEBUG
+    // YYRLINE[YYN] -- Source line where rule number YYN was defined.
+    static const short yyrline_[];
+    /// Report on the debug stream that the rule \a r is going to be reduced.
+    virtual void yy_reduce_print_ (int r) const;
+    /// Print the state stack on the debug stream.
+    virtual void yy_stack_print_ () const;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP_MULTI_THREADING (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP_MULTI_THREADING, l);
-  }
+    /// Debugging level.
+    int yydebug_;
+    /// Debug stream.
+    std::ostream* yycdebug_;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ENABLE_MULTI_THREADING (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ENABLE_MULTI_THREADING, l);
-  }
+    /// \brief Display a symbol kind, value and location.
+    /// \param yyo    The output stream.
+    /// \param yysym  The symbol.
+    template <typename Base>
+    void yy_print_ (std::ostream& yyo, const basic_symbol<Base>& yysym) const;
+#endif
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_THREAD_POOL_SIZE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_THREAD_POOL_SIZE, l);
-  }
+    /// \brief Reclaim the memory associated to a symbol.
+    /// \param yymsg     Why this token is reclaimed.
+    ///                  If null, print nothing.
+    /// \param yysym     The symbol.
+    template <typename Base>
+    void yy_destroy_ (const char* yymsg, basic_symbol<Base>& yysym) const;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PACKET_QUEUE_SIZE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PACKET_QUEUE_SIZE, l);
-  }
+  private:
+    /// Type access provider for state based symbols.
+    struct by_state
+    {
+      /// Default constructor.
+      by_state () YY_NOEXCEPT;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONTROL_SOCKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONTROL_SOCKET, l);
-  }
+      /// The symbol kind as needed by the constructor.
+      typedef state_type kind_type;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SOCKET_TYPE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_TYPE, l);
-  }
+      /// Constructor.
+      by_state (kind_type s) YY_NOEXCEPT;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SOCKET_NAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_NAME, l);
-  }
+      /// Copy constructor.
+      by_state (const by_state& that) YY_NOEXCEPT;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP_QUEUE_CONTROL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP_QUEUE_CONTROL, l);
-  }
+      /// Record that this symbol is empty.
+      void clear () YY_NOEXCEPT;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ENABLE_QUEUE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ENABLE_QUEUE, l);
-  }
+      /// Steal the symbol kind from \a that.
+      void move (by_state& that);
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_QUEUE_TYPE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_QUEUE_TYPE, l);
-  }
+      /// The symbol kind (corresponding to \a state).
+      /// \a symbol_kind::S_YYEMPTY when empty.
+      symbol_kind_type kind () const YY_NOEXCEPT;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CAPACITY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CAPACITY, l);
-  }
+      /// The state number used to denote an empty symbol.
+      /// We use the initial state, as it does not have a value.
+      enum { empty_state = 0 };
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP_DDNS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP_DDNS, l);
-  }
+      /// The state.
+      /// \a empty when empty.
+      state_type state;
+    };
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ENABLE_UPDATES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ENABLE_UPDATES, l);
-  }
+    /// "Internal" symbol: element of the stack.
+    struct stack_symbol_type : basic_symbol<by_state>
+    {
+      /// Superclass.
+      typedef basic_symbol<by_state> super_type;
+      /// Construct an empty symbol.
+      stack_symbol_type ();
+      /// Move or copy construction.
+      stack_symbol_type (YY_RVREF (stack_symbol_type) that);
+      /// Steal the contents from \a sym to build this.
+      stack_symbol_type (state_type s, YY_MOVE_REF (symbol_type) sym);
+#if YY_CPLUSPLUS < 201103L
+      /// Assignment, needed by push_back by some old implementations.
+      /// Moves the contents of that.
+      stack_symbol_type& operator= (stack_symbol_type& that);
+
+      /// Assignment, needed by push_back by other implementations.
+      /// Needed by some other old implementations.
+      stack_symbol_type& operator= (const stack_symbol_type& that);
+#endif
+    };
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_QUALIFYING_SUFFIX (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_QUALIFYING_SUFFIX, l);
-  }
+    /// A stack with random access from its top.
+    template <typename T, typename S = std::vector<T> >
+    class stack
+    {
+    public:
+      // Hide our reversed order.
+      typedef typename S::iterator iterator;
+      typedef typename S::const_iterator const_iterator;
+      typedef typename S::size_type size_type;
+      typedef typename std::ptrdiff_t index_type;
+
+      stack (size_type n = 200)
+        : seq_ (n)
+      {}
+
+#if 201103L <= YY_CPLUSPLUS
+      /// Non copyable.
+      stack (const stack&) = delete;
+      /// Non copyable.
+      stack& operator= (const stack&) = delete;
+#endif
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERVER_IP (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SERVER_IP, l);
-  }
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      const T&
+      operator[] (index_type i) const
+      {
+        return seq_[size_type (size () - 1 - i)];
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      T&
+      operator[] (index_type i)
+      {
+        return seq_[size_type (size () - 1 - i)];
+      }
+
+      /// Steal the contents of \a t.
+      ///
+      /// Close to move-semantics.
+      void
+      push (YY_MOVE_REF (T) t)
+      {
+        seq_.push_back (T ());
+        operator[] (0).move (t);
+      }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERVER_PORT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SERVER_PORT, l);
-  }
+      /// Pop elements from the stack.
+      void
+      pop (std::ptrdiff_t n = 1) YY_NOEXCEPT
+      {
+        for (; 0 < n; --n)
+          seq_.pop_back ();
+      }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SENDER_IP (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SENDER_IP, l);
-  }
+      /// Pop all elements from the stack.
+      void
+      clear () YY_NOEXCEPT
+      {
+        seq_.clear ();
+      }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SENDER_PORT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SENDER_PORT, l);
-  }
+      /// Number of elements on the stack.
+      index_type
+      size () const YY_NOEXCEPT
+      {
+        return index_type (seq_.size ());
+      }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_QUEUE_SIZE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_QUEUE_SIZE, l);
-  }
+      /// Iterator on top of the stack (going downwards).
+      const_iterator
+      begin () const YY_NOEXCEPT
+      {
+        return seq_.begin ();
+      }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NCR_PROTOCOL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NCR_PROTOCOL, l);
-  }
+      /// Bottom of the stack.
+      const_iterator
+      end () const YY_NOEXCEPT
+      {
+        return seq_.end ();
+      }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NCR_FORMAT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NCR_FORMAT, l);
-  }
+      /// Present a slice of the top of a stack.
+      class slice
+      {
+      public:
+        slice (const stack& stack, index_type range)
+          : stack_ (stack)
+          , range_ (range)
+        {}
+
+        const T&
+        operator[] (index_type i) const
+        {
+          return stack_[range_ - i];
+        }
+
+      private:
+        const stack& stack_;
+        index_type range_;
+      };
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OVERRIDE_NO_UPDATE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OVERRIDE_NO_UPDATE, l);
-  }
+    private:
+#if YY_CPLUSPLUS < 201103L
+      /// Non copyable.
+      stack (const stack&);
+      /// Non copyable.
+      stack& operator= (const stack&);
+#endif
+      /// The wrapped container.
+      S seq_;
+    };
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OVERRIDE_CLIENT_UPDATE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OVERRIDE_CLIENT_UPDATE, l);
-  }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_REPLACE_CLIENT_NAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_REPLACE_CLIENT_NAME, l);
-  }
+    /// Stack type.
+    typedef stack<stack_symbol_type> stack_type;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_GENERATED_PREFIX (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_GENERATED_PREFIX, l);
-  }
+    /// The stack.
+    stack_type yystack_;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TCP (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TCP, l);
-  }
+    /// Push a new state on the stack.
+    /// \param m    a debug message to display
+    ///             if null, no trace is output.
+    /// \param sym  the symbol
+    /// \warning the contents of \a s.value is stolen.
+    void yypush_ (const char* m, YY_MOVE_REF (stack_symbol_type) sym);
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_JSON (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_JSON, l);
-  }
+    /// Push a new look ahead token on the state on the stack.
+    /// \param m    a debug message to display
+    ///             if null, no trace is output.
+    /// \param s    the state
+    /// \param sym  the symbol (for its value and location).
+    /// \warning the contents of \a sym.value is stolen.
+    void yypush_ (const char* m, state_type s, YY_MOVE_REF (symbol_type) sym);
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_WHEN_PRESENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_WHEN_PRESENT, l);
-  }
+    /// Pop \a n symbols from the stack.
+    void yypop_ (int n = 1);
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NEVER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NEVER, l);
-  }
+    /// Constants.
+    enum
+    {
+      yylast_ = 1193,     ///< Last index in yytable_.
+      yynnts_ = 407,  ///< Number of nonterminal symbols.
+      yyfinal_ = 28 ///< Termination state number.
+    };
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ALWAYS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ALWAYS, l);
-  }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_WHEN_NOT_PRESENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_WHEN_NOT_PRESENT, l);
-  }
+    // User arguments.
+    isc::dhcp::Parser4Context& ctx;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTNAME_CHAR_SET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOSTNAME_CHAR_SET, l);
-  }
+  };
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTNAME_CHAR_REPLACEMENT (const location_type& l)
+  inline
+  Dhcp4Parser::symbol_kind_type
+  Dhcp4Parser::yytranslate_ (int t)
   {
-    return symbol_type (token::TOKEN_HOSTNAME_CHAR_REPLACEMENT, l);
-  }
+    // YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to
+    // TOKEN-NUM as returned by yylex.
+    static
+    const unsigned char
+    translate_table[] =
+    {
+       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,   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
+    };
+    // Last valid token kind.
+    const int code_max = 449;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_IP_RESERVATIONS_UNIQUE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_IP_RESERVATIONS_UNIQUE, l);
+    if (t <= 0)
+      return symbol_kind::S_YYEOF;
+    else if (t <= code_max)
+      return YY_CAST (symbol_kind_type, translate_table[t]);
+    else
+      return symbol_kind::S_YYUNDEF;
   }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LOGGERS (const location_type& l)
+  // basic_symbol.
+  template <typename Base>
+  Dhcp4Parser::basic_symbol<Base>::basic_symbol (const basic_symbol& that)
+    : Base (that)
+    , value ()
+    , location (that.location)
   {
-    return symbol_type (token::TOKEN_LOGGERS, l);
-  }
+    switch (this->kind ())
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_socket_type: // socket_type
+      case symbol_kind::S_outbound_interface_value: // outbound_interface_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+        value.copy< ElementPtr > (YY_MOVE (that.value));
+        break;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OUTPUT_OPTIONS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT_OPTIONS, l);
-  }
+      case symbol_kind::S_BOOLEAN: // "boolean"
+        value.copy< bool > (YY_MOVE (that.value));
+        break;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OUTPUT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT, l);
-  }
+      case symbol_kind::S_FLOAT: // "floating point"
+        value.copy< double > (YY_MOVE (that.value));
+        break;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DEBUGLEVEL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DEBUGLEVEL, l);
-  }
+      case symbol_kind::S_INTEGER: // "integer"
+        value.copy< int64_t > (YY_MOVE (that.value));
+        break;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SEVERITY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SEVERITY, l);
-  }
+      case symbol_kind::S_STRING: // "constant string"
+        value.copy< std::string > (YY_MOVE (that.value));
+        break;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_FLUSH (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_FLUSH, l);
-  }
+      default:
+        break;
+    }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAXSIZE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAXSIZE, l);
   }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAXVER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAXVER, l);
-  }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PATTERN (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PATTERN, l);
-  }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TOPLEVEL_JSON (const location_type& l)
+  template <typename Base>
+  Dhcp4Parser::symbol_kind_type
+  Dhcp4Parser::basic_symbol<Base>::type_get () const YY_NOEXCEPT
   {
-    return symbol_type (token::TOKEN_TOPLEVEL_JSON, l);
+    return this->kind ();
   }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TOPLEVEL_DHCP4 (const location_type& l)
+  template <typename Base>
+  bool
+  Dhcp4Parser::basic_symbol<Base>::empty () const YY_NOEXCEPT
   {
-    return symbol_type (token::TOKEN_TOPLEVEL_DHCP4, l);
+    return this->kind () == symbol_kind::S_YYEMPTY;
   }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_DHCP4 (const location_type& l)
+  template <typename Base>
+  void
+  Dhcp4Parser::basic_symbol<Base>::move (basic_symbol& s)
   {
-    return symbol_type (token::TOKEN_SUB_DHCP4, l);
-  }
+    super_type::move (s);
+    switch (this->kind ())
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_socket_type: // socket_type
+      case symbol_kind::S_outbound_interface_value: // outbound_interface_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+        value.move< ElementPtr > (YY_MOVE (s.value));
+        break;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_INTERFACES4 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_INTERFACES4, l);
-  }
+      case symbol_kind::S_BOOLEAN: // "boolean"
+        value.move< bool > (YY_MOVE (s.value));
+        break;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_SUBNET4 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_SUBNET4, l);
-  }
+      case symbol_kind::S_FLOAT: // "floating point"
+        value.move< double > (YY_MOVE (s.value));
+        break;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_POOL4 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_POOL4, l);
-  }
+      case symbol_kind::S_INTEGER: // "integer"
+        value.move< int64_t > (YY_MOVE (s.value));
+        break;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_RESERVATION (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_RESERVATION, l);
-  }
+      case symbol_kind::S_STRING: // "constant string"
+        value.move< std::string > (YY_MOVE (s.value));
+        break;
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_OPTION_DEFS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_OPTION_DEFS, l);
-  }
+      default:
+        break;
+    }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_OPTION_DEF (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_OPTION_DEF, l);
+    location = YY_MOVE (s.location);
   }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_OPTION_DATA (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_OPTION_DATA, l);
-  }
+  // by_kind.
+  inline
+  Dhcp4Parser::by_kind::by_kind ()
+    : kind_ (symbol_kind::S_YYEMPTY)
+  {}
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_HOOKS_LIBRARY (const location_type& l)
+#if 201103L <= YY_CPLUSPLUS
+  inline
+  Dhcp4Parser::by_kind::by_kind (by_kind&& that)
+    : kind_ (that.kind_)
   {
-    return symbol_type (token::TOKEN_SUB_HOOKS_LIBRARY, l);
+    that.clear ();
   }
+#endif
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_DHCP_DDNS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_DHCP_DDNS, l);
-  }
+  inline
+  Dhcp4Parser::by_kind::by_kind (const by_kind& that)
+    : kind_ (that.kind_)
+  {}
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_CONFIG_CONTROL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_CONFIG_CONTROL, l);
-  }
+  inline
+  Dhcp4Parser::by_kind::by_kind (token_kind_type t)
+    : kind_ (yytranslate_ (t))
+  {}
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_STRING (const std::string& v, const location_type& l)
+  inline
+  void
+  Dhcp4Parser::by_kind::clear ()
   {
-    return symbol_type (token::TOKEN_STRING, v, l);
+    kind_ = symbol_kind::S_YYEMPTY;
   }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_INTEGER (const int64_t& v, const location_type& l)
+  inline
+  void
+  Dhcp4Parser::by_kind::move (by_kind& that)
   {
-    return symbol_type (token::TOKEN_INTEGER, v, l);
+    kind_ = that.kind_;
+    that.clear ();
   }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_FLOAT (const double& v, const location_type& l)
+  inline
+  Dhcp4Parser::symbol_kind_type
+  Dhcp4Parser::by_kind::kind () const YY_NOEXCEPT
   {
-    return symbol_type (token::TOKEN_FLOAT, v, l);
+    return kind_;
   }
 
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_BOOLEAN (const bool& v, const location_type& l)
+  inline
+  Dhcp4Parser::symbol_kind_type
+  Dhcp4Parser::by_kind::type_get () const YY_NOEXCEPT
   {
-    return symbol_type (token::TOKEN_BOOLEAN, v, l);
+    return this->kind ();
   }
 
-
-#line 14 "dhcp4_parser.yy" // lalr1.cc:377
+#line 14 "dhcp4_parser.yy"
 } } // isc::dhcp
-#line 3200 "dhcp4_parser.h" // lalr1.cc:377
+#line 5189 "dhcp4_parser.h"
 
 
 
index 7e23a2ccac4e6235bff281bd9ffdb2365482b554..874f94b29a0b241da6e61d049b65eee848fe4dd9 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.0.4.
+// A Bison parser, made by GNU Bison 3.7.2.
 
 // Locations for Bison parsers in C++
 
-// Copyright (C) 2002-2015 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2020 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
 #ifndef YY_PARSER4_LOCATION_HH_INCLUDED
 # define YY_PARSER4_LOCATION_HH_INCLUDED
 
-# include "position.hh"
+# include <iostream>
+# include <string>
 
-#line 14 "dhcp4_parser.yy" // location.cc:296
+# ifndef YY_NULLPTR
+#  if defined __cplusplus
+#   if 201103L <= __cplusplus
+#    define YY_NULLPTR nullptr
+#   else
+#    define YY_NULLPTR 0
+#   endif
+#  else
+#   define YY_NULLPTR ((void*)0)
+#  endif
+# endif
+
+#line 14 "dhcp4_parser.yy"
 namespace isc { namespace dhcp {
-#line 46 "location.hh" // location.cc:296
-  /// Abstract a location.
+#line 59 "location.hh"
+
+  /// A point in a source file.
+  class position
+  {
+  public:
+    /// Type for file name.
+    typedef const std::string filename_type;
+    /// Type for line and column numbers.
+    typedef int counter_type;
+
+    /// Construct a position.
+    explicit position (filename_type* f = YY_NULLPTR,
+                       counter_type l = 1,
+                       counter_type c = 1)
+      : filename (f)
+      , line (l)
+      , column (c)
+    {}
+
+
+    /// Initialization.
+    void initialize (filename_type* fn = YY_NULLPTR,
+                     counter_type l = 1,
+                     counter_type c = 1)
+    {
+      filename = fn;
+      line = l;
+      column = c;
+    }
+
+    /** \name Line and Column related manipulators
+     ** \{ */
+    /// (line related) Advance to the COUNT next lines.
+    void lines (counter_type count = 1)
+    {
+      if (count)
+        {
+          column = 1;
+          line = add_ (line, count, 1);
+        }
+    }
+
+    /// (column related) Advance to the COUNT next columns.
+    void columns (counter_type count = 1)
+    {
+      column = add_ (column, count, 1);
+    }
+    /** \} */
+
+    /// File name to which this position refers.
+    filename_type* filename;
+    /// Current line number.
+    counter_type line;
+    /// Current column number.
+    counter_type column;
+
+  private:
+    /// Compute max (min, lhs+rhs).
+    static counter_type add_ (counter_type lhs, counter_type rhs, counter_type min)
+    {
+      return lhs + rhs < min ? min : lhs + rhs;
+    }
+  };
+
+  /// Add \a width columns, in place.
+  inline position&
+  operator+= (position& res, position::counter_type width)
+  {
+    res.columns (width);
+    return res;
+  }
+
+  /// Add \a width columns.
+  inline position
+  operator+ (position res, position::counter_type width)
+  {
+    return res += width;
+  }
+
+  /// Subtract \a width columns, in place.
+  inline position&
+  operator-= (position& res, position::counter_type width)
+  {
+    return res += -width;
+  }
+
+  /// Subtract \a width columns.
+  inline position
+  operator- (position res, position::counter_type width)
+  {
+    return res -= width;
+  }
+
+  /** \brief Intercept output stream redirection.
+   ** \param ostr the destination output stream
+   ** \param pos a reference to the position to redirect
+   */
+  template <typename YYChar>
+  std::basic_ostream<YYChar>&
+  operator<< (std::basic_ostream<YYChar>& ostr, const position& pos)
+  {
+    if (pos.filename)
+      ostr << *pos.filename << ':';
+    return ostr << pos.line << '.' << pos.column;
+  }
+
+  /// Two points in a source file.
   class location
   {
   public:
+    /// Type for file name.
+    typedef position::filename_type filename_type;
+    /// Type for line and column numbers.
+    typedef position::counter_type counter_type;
 
     /// Construct a location from \a b to \a e.
     location (const position& b, const position& e)
       : begin (b)
       , end (e)
-    {
-    }
+    {}
 
     /// Construct a 0-width location in \a p.
     explicit location (const position& p = position ())
       : begin (p)
       , end (p)
-    {
-    }
+    {}
 
     /// Construct a 0-width location in \a f, \a l, \a c.
-    explicit location (std::string* f,
-                       unsigned int l = 1u,
-                       unsigned int c = 1u)
+    explicit location (filename_type* f,
+                       counter_type l = 1,
+                       counter_type c = 1)
       : begin (f, l, c)
       , end (f, l, c)
-    {
-    }
+    {}
 
 
     /// Initialization.
-    void initialize (std::string* f = YY_NULLPTR,
-                     unsigned int l = 1u,
-                     unsigned int c = 1u)
+    void initialize (filename_type* f = YY_NULLPTR,
+                     counter_type l = 1,
+                     counter_type c = 1)
     {
       begin.initialize (f, l, c);
       end = begin;
@@ -91,13 +211,13 @@ namespace isc { namespace dhcp {
     }
 
     /// Extend the current location to the COUNT next columns.
-    void columns (int count = 1)
+    void columns (counter_type count = 1)
     {
       end += count;
     }
 
     /// Extend the current location to the COUNT next lines.
-    void lines (int count = 1)
+    void lines (counter_type count = 1)
     {
       end.lines (count);
     }
@@ -112,57 +232,49 @@ namespace isc { namespace dhcp {
   };
 
   /// Join two locations, in place.
-  inline location& operator+= (location& res, const location& end)
+  inline location&
+  operator+= (location& res, const location& end)
   {
     res.end = end.end;
     return res;
   }
 
   /// Join two locations.
-  inline location operator+ (location res, const location& end)
+  inline location
+  operator+ (location res, const location& end)
   {
     return res += end;
   }
 
   /// Add \a width columns to the end position, in place.
-  inline location& operator+= (location& res, int width)
+  inline location&
+  operator+= (location& res, location::counter_type width)
   {
     res.columns (width);
     return res;
   }
 
   /// Add \a width columns to the end position.
-  inline location operator+ (location res, int width)
+  inline location
+  operator+ (location res, location::counter_type width)
   {
     return res += width;
   }
 
   /// Subtract \a width columns to the end position, in place.
-  inline location& operator-= (location& res, int width)
+  inline location&
+  operator-= (location& res, location::counter_type width)
   {
     return res += -width;
   }
 
   /// Subtract \a width columns to the end position.
-  inline location operator- (location res, int width)
+  inline location
+  operator- (location res, location::counter_type width)
   {
     return res -= width;
   }
 
-  /// Compare two location objects.
-  inline bool
-  operator== (const location& loc1, const location& loc2)
-  {
-    return loc1.begin == loc2.begin && loc1.end == loc2.end;
-  }
-
-  /// Compare two location objects.
-  inline bool
-  operator!= (const location& loc1, const location& loc2)
-  {
-    return !(loc1 == loc2);
-  }
-
   /** \brief Intercept output stream redirection.
    ** \param ostr the destination output stream
    ** \param loc a reference to the location to redirect
@@ -170,10 +282,11 @@ namespace isc { namespace dhcp {
    ** Avoid duplicate information.
    */
   template <typename YYChar>
-  inline std::basic_ostream<YYChar>&
+  std::basic_ostream<YYChar>&
   operator<< (std::basic_ostream<YYChar>& ostr, const location& loc)
   {
-    unsigned int end_col = 0 < loc.end.column ? loc.end.column - 1 : 0;
+    location::counter_type end_col
+      = 0 < loc.end.column ? loc.end.column - 1 : 0;
     ostr << loc.begin;
     if (loc.end.filename
         && (!loc.begin.filename
@@ -186,7 +299,8 @@ namespace isc { namespace dhcp {
     return ostr;
   }
 
-#line 14 "dhcp4_parser.yy" // location.cc:296
+#line 14 "dhcp4_parser.yy"
 } } // isc::dhcp
-#line 192 "location.hh" // location.cc:296
+#line 305 "location.hh"
+
 #endif // !YY_PARSER4_LOCATION_HH_INCLUDED
index c60fabbdf87798eaaf77c5d851308166f1c29ecc..037a25d3817a44f1b60a7845d8a985ff6ae9130c 100644 (file)
-// A Bison parser, made by GNU Bison 3.0.4.
+// A Bison parser, made by GNU Bison 3.7.2.
 
-// Positions for Bison parsers in C++
+// Starting with Bison 3.2, this file is useless: the structure it
+// used to define is now defined in "location.hh".
+//
+// To get rid of this file:
+// 1. add '%require "3.2"' (or newer) to your grammar file
+// 2. remove references to this file from your build system
+// 3. if you used to include it, include "location.hh" instead.
 
-// Copyright (C) 2002-2015 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.
-
-/**
- ** \file position.hh
- ** Define the isc::dhcp::position class.
- */
-
-#ifndef YY_PARSER4_POSITION_HH_INCLUDED
-# define YY_PARSER4_POSITION_HH_INCLUDED
-
-# include <algorithm> // std::max
-# include <iostream>
-# include <string>
-
-# ifndef YY_NULLPTR
-#  if defined __cplusplus && 201103L <= __cplusplus
-#   define YY_NULLPTR nullptr
-#  else
-#   define YY_NULLPTR 0
-#  endif
-# endif
-
-#line 14 "dhcp4_parser.yy" // location.cc:296
-namespace isc { namespace dhcp {
-#line 56 "position.hh" // location.cc:296
-  /// Abstract a position.
-  class position
-  {
-  public:
-    /// Construct a position.
-    explicit position (std::string* f = YY_NULLPTR,
-                       unsigned int l = 1u,
-                       unsigned int c = 1u)
-      : filename (f)
-      , line (l)
-      , column (c)
-    {
-    }
-
-
-    /// Initialization.
-    void initialize (std::string* fn = YY_NULLPTR,
-                     unsigned int l = 1u,
-                     unsigned int c = 1u)
-    {
-      filename = fn;
-      line = l;
-      column = c;
-    }
-
-    /** \name Line and Column related manipulators
-     ** \{ */
-    /// (line related) Advance to the COUNT next lines.
-    void lines (int count = 1)
-    {
-      if (count)
-        {
-          column = 1u;
-          line = add_ (line, count, 1);
-        }
-    }
-
-    /// (column related) Advance to the COUNT next columns.
-    void columns (int count = 1)
-    {
-      column = add_ (column, count, 1);
-    }
-    /** \} */
-
-    /// File name to which this position refers.
-    std::string* filename;
-    /// Current line number.
-    unsigned int line;
-    /// Current column number.
-    unsigned int column;
-
-  private:
-    /// Compute max(min, lhs+rhs) (provided min <= lhs).
-    static unsigned int add_ (unsigned int lhs, int rhs, unsigned int min)
-    {
-      return (0 < rhs || -static_cast<unsigned int>(rhs) < lhs
-              ? rhs + lhs
-              : min);
-    }
-  };
-
-  /// Add \a width columns, in place.
-  inline position&
-  operator+= (position& res, int width)
-  {
-    res.columns (width);
-    return res;
-  }
-
-  /// Add \a width columns.
-  inline position
-  operator+ (position res, int width)
-  {
-    return res += width;
-  }
-
-  /// Subtract \a width columns, in place.
-  inline position&
-  operator-= (position& res, int width)
-  {
-    return res += -width;
-  }
-
-  /// Subtract \a width columns.
-  inline position
-  operator- (position res, int width)
-  {
-    return res -= width;
-  }
-
-  /// Compare two position objects.
-  inline bool
-  operator== (const position& pos1, const position& pos2)
-  {
-    return (pos1.line == pos2.line
-            && pos1.column == pos2.column
-            && (pos1.filename == pos2.filename
-                || (pos1.filename && pos2.filename
-                    && *pos1.filename == *pos2.filename)));
-  }
-
-  /// Compare two position objects.
-  inline bool
-  operator!= (const position& pos1, const position& pos2)
-  {
-    return !(pos1 == pos2);
-  }
-
-  /** \brief Intercept output stream redirection.
-   ** \param ostr the destination output stream
-   ** \param pos a reference to the position to redirect
-   */
-  template <typename YYChar>
-  inline std::basic_ostream<YYChar>&
-  operator<< (std::basic_ostream<YYChar>& ostr, const position& pos)
-  {
-    if (pos.filename)
-      ostr << *pos.filename << ':';
-    return ostr << pos.line << '.' << pos.column;
-  }
-
-#line 14 "dhcp4_parser.yy" // location.cc:296
-} } // isc::dhcp
-#line 180 "position.hh" // location.cc:296
-#endif // !YY_PARSER4_POSITION_HH_INCLUDED
+#include "location.hh"
index 3dd2a2a3934851424d45b935573ab2e9e83f07a8..8a74ee5c1bb86cbc658551a773ca39e4a177ec5b 100644 (file)
@@ -1,157 +1,8 @@
-// A Bison parser, made by GNU Bison 3.0.4.
-
-// Stack handling for Bison parsers in C++
-
-// Copyright (C) 2002-2015 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.
-
-/**
- ** \file stack.hh
- ** Define the isc::dhcp::stack class.
- */
-
-#ifndef YY_PARSER4_STACK_HH_INCLUDED
-# define YY_PARSER4_STACK_HH_INCLUDED
-
-# include <vector>
-
-#line 14 "dhcp4_parser.yy" // stack.hh:132
-namespace isc { namespace dhcp {
-#line 46 "stack.hh" // stack.hh:132
-  template <class T, class S = std::vector<T> >
-  class stack
-  {
-  public:
-    // Hide our reversed order.
-    typedef typename S::reverse_iterator iterator;
-    typedef typename S::const_reverse_iterator const_iterator;
-
-    stack ()
-      : seq_ ()
-    {
-      seq_.reserve (200);
-    }
-
-    stack (unsigned int n)
-      : seq_ (n)
-    {}
-
-    inline
-    T&
-    operator[] (unsigned int i)
-    {
-      return seq_[seq_.size () - 1 - i];
-    }
-
-    inline
-    const T&
-    operator[] (unsigned int i) const
-    {
-      return seq_[seq_.size () - 1 - i];
-    }
-
-    /// Steal the contents of \a t.
-    ///
-    /// Close to move-semantics.
-    inline
-    void
-    push (T& t)
-    {
-      seq_.push_back (T());
-      operator[](0).move (t);
-    }
-
-    inline
-    void
-    pop (unsigned int n = 1)
-    {
-      for (; n; --n)
-        seq_.pop_back ();
-    }
-
-    void
-    clear ()
-    {
-      seq_.clear ();
-    }
-
-    inline
-    typename S::size_type
-    size () const
-    {
-      return seq_.size ();
-    }
-
-    inline
-    const_iterator
-    begin () const
-    {
-      return seq_.rbegin ();
-    }
-
-    inline
-    const_iterator
-    end () const
-    {
-      return seq_.rend ();
-    }
-
-  private:
-    stack (const stack&);
-    stack& operator= (const stack&);
-    /// The wrapped container.
-    S seq_;
-  };
-
-  /// Present a slice of the top of a stack.
-  template <class T, class S = stack<T> >
-  class slice
-  {
-  public:
-    slice (const S& stack, unsigned int range)
-      : stack_ (stack)
-      , range_ (range)
-    {}
-
-    inline
-    const T&
-    operator [] (unsigned int i) const
-    {
-      return stack_[range_ - i];
-    }
-
-  private:
-    const S& stack_;
-    unsigned int range_;
-  };
-
-#line 14 "dhcp4_parser.yy" // stack.hh:132
-} } // isc::dhcp
-#line 156 "stack.hh" // stack.hh:132
-
-#endif // !YY_PARSER4_STACK_HH_INCLUDED
+// A Bison parser, made by GNU Bison 3.7.2.
+
+// Starting with Bison 3.2, this file is useless: the structure it
+// used to define is now defined with the parser itself.
+//
+// To get rid of this file:
+// 1. add '%require "3.2"' (or newer) to your grammar file
+// 2. remove references to this file from your build system.
index 0b794a1fd5a83e1c1a145a0fbc8ad99458b89037..da9787b9cd4d2b45f3ad475750dffedee21a58eb 100644 (file)
@@ -1,6 +1,6 @@
-#line 1 "dhcp6_lexer.cc"
+#line 2 "dhcp6_lexer.cc"
 
-#line 3 "dhcp6_lexer.cc"
+#line 4 "dhcp6_lexer.cc"
 
 #define  YY_INT_ALIGNED short int
 
@@ -2015,7 +2015,7 @@ using namespace isc::dhcp;
 
 /* To avoid the call to exit... oops! */
 #define YY_FATAL_ERROR(msg) isc::dhcp::Parser6Context::fatal(msg)
-#line 2018 "dhcp6_lexer.cc"
+#line 2019 "dhcp6_lexer.cc"
 /* noyywrap disables automatic rewinding for the next file to parse. Since we
    always parse only a single string, there's no need to do any wraps. And
    using yywrap requires linking with -lfl, which provides the default yywrap
@@ -2041,8 +2041,8 @@ using namespace isc::dhcp;
    by moving it ahead by yyleng bytes. yyleng specifies the length of the
    currently matched token. */
 #define YY_USER_ACTION  driver.loc_.columns(yyleng);
-#line 2044 "dhcp6_lexer.cc"
 #line 2045 "dhcp6_lexer.cc"
+#line 2046 "dhcp6_lexer.cc"
 
 #define INITIAL 0
 #define COMMENT 1
@@ -2372,7 +2372,7 @@ YY_DECL
     }
 
 
-#line 2375 "dhcp6_lexer.cc"
+#line 2376 "dhcp6_lexer.cc"
 
        while ( /*CONSTCOND*/1 )                /* loops until end-of-file is reached */
                {
@@ -5106,7 +5106,7 @@ YY_RULE_SETUP
 #line 2157 "dhcp6_lexer.ll"
 ECHO;
        YY_BREAK
-#line 5109 "dhcp6_lexer.cc"
+#line 5110 "dhcp6_lexer.cc"
 
        case YY_END_OF_BUFFER:
                {
index 06d5fd3ecb22b2bd200c2f16af70126a506860e9..5a6f24abd67497fefc4b5e96081f12e41c7d5d81 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.0.4.
+// A Bison parser, made by GNU Bison 3.7.2.
 
 // Skeleton implementation for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2020 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
 // This special exception was added by the Free Software Foundation in
 // version 2.2 of Bison.
 
+// DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
+// especially those whose name start with YY_ or yy_.  They are
+// private implementation details that can be changed or removed.
+
+
 // Take the name prefix into account.
 #define yylex   parser6_lex
 
-// First part of user declarations.
-
-#line 39 "dhcp6_parser.cc" // lalr1.cc:404
 
-# ifndef YY_NULLPTR
-#  if defined __cplusplus && 201103L <= __cplusplus
-#   define YY_NULLPTR nullptr
-#  else
-#   define YY_NULLPTR 0
-#  endif
-# endif
 
 #include "dhcp6_parser.h"
 
-// User implementation prologue.
 
-#line 53 "dhcp6_parser.cc" // lalr1.cc:412
 // Unqualified %code blocks.
-#line 34 "dhcp6_parser.yy" // lalr1.cc:413
+#line 34 "dhcp6_parser.yy"
 
 #include <dhcp6/parser_context.h>
 
-#line 59 "dhcp6_parser.cc" // lalr1.cc:413
+#line 52 "dhcp6_parser.cc"
 
 
 #ifndef YY_
 # endif
 #endif
 
+
+// Whether we are compiled with exception support.
+#ifndef YY_EXCEPTIONS
+# if defined __GNUC__ && !defined __EXCEPTIONS
+#  define YY_EXCEPTIONS 0
+# else
+#  define YY_EXCEPTIONS 1
+# endif
+#endif
+
 #define YYRHSLOC(Rhs, K) ((Rhs)[K].location)
 /* 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
         {                                                               \
           (Current).begin = (Current).end = YYRHSLOC (Rhs, 0).end;      \
         }                                                               \
-    while (/*CONSTCOND*/ false)
+    while (false)
 # endif
 
 
-// Suppress unused-variable warnings by "using" E.
-#define YYUSE(E) ((void) (E))
-
 // Enable debugging if requested.
 #if PARSER6_DEBUG
 
     {                                           \
       *yycdebug_ << Title << ' ';               \
       yy_print_ (*yycdebug_, Symbol);           \
-      *yycdebug_ << std::endl;                  \
+      *yycdebug_ << '\n';                       \
     }                                           \
   } while (false)
 
 # define YY_STACK_PRINT()               \
   do {                                  \
     if (yydebug_)                       \
-      yystack_print_ ();                \
+      yy_stack_print_ ();                \
   } while (false)
 
 #else // !PARSER6_DEBUG
 
 # define YYCDEBUG if (false) std::cerr
-# define YY_SYMBOL_PRINT(Title, Symbol)  YYUSE(Symbol)
-# define YY_REDUCE_PRINT(Rule)           static_cast<void>(0)
-# define YY_STACK_PRINT()                static_cast<void>(0)
+# define YY_SYMBOL_PRINT(Title, Symbol)  YYUSE (Symbol)
+# define YY_REDUCE_PRINT(Rule)           static_cast<void> (0)
+# define YY_STACK_PRINT()                static_cast<void> (0)
 
 #endif // !PARSER6_DEBUG
 
 #define YYERROR         goto yyerrorlab
 #define YYRECOVERING()  (!!yyerrstatus_)
 
-#line 14 "dhcp6_parser.yy" // lalr1.cc:479
+#line 14 "dhcp6_parser.yy"
 namespace isc { namespace dhcp {
-#line 145 "dhcp6_parser.cc" // lalr1.cc:479
-
-  /* Return 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.  */
-  std::string
-  Dhcp6Parser::yytnamerr_ (const char *yystr)
-  {
-    if (*yystr == '"')
-      {
-        std::string yyr = "";
-        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:
-              yyr += *yyp;
-              break;
-
-            case '"':
-              return yyr;
-            }
-      do_not_strip_quotes: ;
-      }
-
-    return yystr;
-  }
-
+#line 145 "dhcp6_parser.cc"
 
   /// Build a parser object.
   Dhcp6Parser::Dhcp6Parser (isc::dhcp::Parser6Context& ctx_yyarg)
-    :
 #if PARSER6_DEBUG
-      yydebug_ (false),
+    : yydebug_ (false),
       yycdebug_ (&std::cerr),
+#else
+    :
 #endif
       ctx (ctx_yyarg)
   {}
@@ -194,32 +157,30 @@ namespace isc { namespace dhcp {
   Dhcp6Parser::~Dhcp6Parser ()
   {}
 
+  Dhcp6Parser::syntax_error::~syntax_error () YY_NOEXCEPT YY_NOTHROW
+  {}
 
   /*---------------.
-  | Symbol types.  |
+  | symbol kinds.  |
   `---------------*/
 
 
 
   // by_state.
-  inline
-  Dhcp6Parser::by_state::by_state ()
+  Dhcp6Parser::by_state::by_state () YY_NOEXCEPT
     : state (empty_state)
   {}
 
-  inline
-  Dhcp6Parser::by_state::by_state (const by_state& other)
-    : state (other.state)
+  Dhcp6Parser::by_state::by_state (const by_state& that) YY_NOEXCEPT
+    : state (that.state)
   {}
 
-  inline
   void
-  Dhcp6Parser::by_state::clear ()
+  Dhcp6Parser::by_state::clear () YY_NOEXCEPT
   {
     state = empty_state;
   }
 
-  inline
   void
   Dhcp6Parser::by_state::move (by_state& that)
   {
@@ -227,56 +188,92 @@ namespace isc { namespace dhcp {
     that.clear ();
   }
 
-  inline
-  Dhcp6Parser::by_state::by_state (state_type s)
+  Dhcp6Parser::by_state::by_state (state_type s) YY_NOEXCEPT
     : state (s)
   {}
 
-  inline
-  Dhcp6Parser::symbol_number_type
-  Dhcp6Parser::by_state::type_get () const
+  Dhcp6Parser::symbol_kind_type
+  Dhcp6Parser::by_state::kind () const YY_NOEXCEPT
   {
     if (state == empty_state)
-      return empty_symbol;
+      return symbol_kind::S_YYEMPTY;
     else
-      return yystos_[state];
+      return YY_CAST (symbol_kind_type, yystos_[+state]);
   }
 
-  inline
   Dhcp6Parser::stack_symbol_type::stack_symbol_type ()
   {}
 
+  Dhcp6Parser::stack_symbol_type::stack_symbol_type (YY_RVREF (stack_symbol_type) that)
+    : super_type (YY_MOVE (that.state), YY_MOVE (that.location))
+  {
+    switch (that.kind ())
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_duid_type: // duid_type
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+        value.YY_MOVE_OR_COPY< ElementPtr > (YY_MOVE (that.value));
+        break;
+
+      case symbol_kind::S_BOOLEAN: // "boolean"
+        value.YY_MOVE_OR_COPY< bool > (YY_MOVE (that.value));
+        break;
+
+      case symbol_kind::S_FLOAT: // "floating point"
+        value.YY_MOVE_OR_COPY< double > (YY_MOVE (that.value));
+        break;
+
+      case symbol_kind::S_INTEGER: // "integer"
+        value.YY_MOVE_OR_COPY< int64_t > (YY_MOVE (that.value));
+        break;
 
-  inline
-  Dhcp6Parser::stack_symbol_type::stack_symbol_type (state_type s, symbol_type& that)
-    : super_type (s, that.location)
+      case symbol_kind::S_STRING: // "constant string"
+        value.YY_MOVE_OR_COPY< std::string > (YY_MOVE (that.value));
+        break;
+
+      default:
+        break;
+    }
+
+#if 201103L <= YY_CPLUSPLUS
+    // that is emptied.
+    that.state = empty_state;
+#endif
+  }
+
+  Dhcp6Parser::stack_symbol_type::stack_symbol_type (state_type s, YY_MOVE_REF (symbol_type) that)
+    : super_type (s, YY_MOVE (that.location))
   {
-      switch (that.type_get ())
-    {
-      case 219: // value
-      case 223: // map_value
-      case 264: // ddns_replace_client_name_value
-      case 304: // db_type
-      case 405: // hr_mode
-      case 541: // duid_type
-      case 584: // ncr_protocol_value
-        value.move< ElementPtr > (that.value);
+    switch (that.kind ())
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_duid_type: // duid_type
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+        value.move< ElementPtr > (YY_MOVE (that.value));
         break;
 
-      case 202: // "boolean"
-        value.move< bool > (that.value);
+      case symbol_kind::S_BOOLEAN: // "boolean"
+        value.move< bool > (YY_MOVE (that.value));
         break;
 
-      case 201: // "floating point"
-        value.move< double > (that.value);
+      case symbol_kind::S_FLOAT: // "floating point"
+        value.move< double > (YY_MOVE (that.value));
         break;
 
-      case 200: // "integer"
-        value.move< int64_t > (that.value);
+      case symbol_kind::S_INTEGER: // "integer"
+        value.move< int64_t > (YY_MOVE (that.value));
         break;
 
-      case 199: // "constant string"
-        value.move< std::string > (that.value);
+      case symbol_kind::S_STRING: // "constant string"
+        value.move< std::string > (YY_MOVE (that.value));
         break;
 
       default:
@@ -284,39 +281,39 @@ namespace isc { namespace dhcp {
     }
 
     // that is emptied.
-    that.type = empty_symbol;
+    that.kind_ = symbol_kind::S_YYEMPTY;
   }
 
-  inline
+#if YY_CPLUSPLUS < 201103L
   Dhcp6Parser::stack_symbol_type&
   Dhcp6Parser::stack_symbol_type::operator= (const stack_symbol_type& that)
   {
     state = that.state;
-      switch (that.type_get ())
-    {
-      case 219: // value
-      case 223: // map_value
-      case 264: // ddns_replace_client_name_value
-      case 304: // db_type
-      case 405: // hr_mode
-      case 541: // duid_type
-      case 584: // ncr_protocol_value
+    switch (that.kind ())
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_duid_type: // duid_type
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
         value.copy< ElementPtr > (that.value);
         break;
 
-      case 202: // "boolean"
+      case symbol_kind::S_BOOLEAN: // "boolean"
         value.copy< bool > (that.value);
         break;
 
-      case 201: // "floating point"
+      case symbol_kind::S_FLOAT: // "floating point"
         value.copy< double > (that.value);
         break;
 
-      case 200: // "integer"
+      case symbol_kind::S_INTEGER: // "integer"
         value.copy< int64_t > (that.value);
         break;
 
-      case 199: // "constant string"
+      case symbol_kind::S_STRING: // "constant string"
         value.copy< std::string > (that.value);
         break;
 
@@ -328,9 +325,50 @@ namespace isc { namespace dhcp {
     return *this;
   }
 
+  Dhcp6Parser::stack_symbol_type&
+  Dhcp6Parser::stack_symbol_type::operator= (stack_symbol_type& that)
+  {
+    state = that.state;
+    switch (that.kind ())
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_duid_type: // duid_type
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+        value.move< ElementPtr > (that.value);
+        break;
+
+      case symbol_kind::S_BOOLEAN: // "boolean"
+        value.move< bool > (that.value);
+        break;
+
+      case symbol_kind::S_FLOAT: // "floating point"
+        value.move< double > (that.value);
+        break;
+
+      case symbol_kind::S_INTEGER: // "integer"
+        value.move< int64_t > (that.value);
+        break;
+
+      case symbol_kind::S_STRING: // "constant string"
+        value.move< std::string > (that.value);
+        break;
+
+      default:
+        break;
+    }
+
+    location = that.location;
+    // that is emptied.
+    that.state = empty_state;
+    return *this;
+  }
+#endif
 
   template <typename Base>
-  inline
   void
   Dhcp6Parser::yy_destroy_ (const char* yymsg, basic_symbol<Base>& yysym) const
   {
@@ -341,126 +379,115 @@ namespace isc { namespace dhcp {
 #if PARSER6_DEBUG
   template <typename Base>
   void
-  Dhcp6Parser::yy_print_ (std::ostream& yyo,
-                                     const basic_symbol<Base>& yysym) const
+  Dhcp6Parser::yy_print_ (std::ostream& yyo, const basic_symbol<Base>& yysym) const
   {
     std::ostream& yyoutput = yyo;
     YYUSE (yyoutput);
-    symbol_number_type yytype = yysym.type_get ();
-    // Avoid a (spurious) G++ 4.8 warning about "array subscript is
-    // below array bounds".
     if (yysym.empty ())
-      std::abort ();
-    yyo << (yytype < yyntokens_ ? "token" : "nterm")
-        << ' ' << yytname_[yytype] << " ("
-        << yysym.location << ": ";
-    switch (yytype)
-    {
-            case 199: // "constant string"
-
-#line 279 "dhcp6_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< std::string > (); }
-#line 364 "dhcp6_parser.cc" // lalr1.cc:636
+      yyo << "empty symbol";
+    else
+      {
+        symbol_kind_type yykind = yysym.kind ();
+        yyo << (yykind < YYNTOKENS ? "token" : "nterm")
+            << ' ' << yysym.name () << " ("
+            << yysym.location << ": ";
+        switch (yykind)
+    {
+      case symbol_kind::S_STRING: // "constant string"
+#line 279 "dhcp6_parser.yy"
+                 { yyoutput << yysym.value.template as < std::string > (); }
+#line 400 "dhcp6_parser.cc"
         break;
 
-      case 200: // "integer"
-
-#line 279 "dhcp6_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< int64_t > (); }
-#line 371 "dhcp6_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_INTEGER: // "integer"
+#line 279 "dhcp6_parser.yy"
+                 { yyoutput << yysym.value.template as < int64_t > (); }
+#line 406 "dhcp6_parser.cc"
         break;
 
-      case 201: // "floating point"
-
-#line 279 "dhcp6_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< double > (); }
-#line 378 "dhcp6_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_FLOAT: // "floating point"
+#line 279 "dhcp6_parser.yy"
+                 { yyoutput << yysym.value.template as < double > (); }
+#line 412 "dhcp6_parser.cc"
         break;
 
-      case 202: // "boolean"
-
-#line 279 "dhcp6_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< bool > (); }
-#line 385 "dhcp6_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_BOOLEAN: // "boolean"
+#line 279 "dhcp6_parser.yy"
+                 { yyoutput << yysym.value.template as < bool > (); }
+#line 418 "dhcp6_parser.cc"
         break;
 
-      case 219: // value
-
-#line 279 "dhcp6_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 392 "dhcp6_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_value: // value
+#line 279 "dhcp6_parser.yy"
+                 { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 424 "dhcp6_parser.cc"
         break;
 
-      case 223: // map_value
-
-#line 279 "dhcp6_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 399 "dhcp6_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_map_value: // map_value
+#line 279 "dhcp6_parser.yy"
+                 { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 430 "dhcp6_parser.cc"
         break;
 
-      case 264: // ddns_replace_client_name_value
-
-#line 279 "dhcp6_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 406 "dhcp6_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+#line 279 "dhcp6_parser.yy"
+                 { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 436 "dhcp6_parser.cc"
         break;
 
-      case 304: // db_type
-
-#line 279 "dhcp6_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 413 "dhcp6_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_db_type: // db_type
+#line 279 "dhcp6_parser.yy"
+                 { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 442 "dhcp6_parser.cc"
         break;
 
-      case 405: // hr_mode
-
-#line 279 "dhcp6_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 420 "dhcp6_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_hr_mode: // hr_mode
+#line 279 "dhcp6_parser.yy"
+                 { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 448 "dhcp6_parser.cc"
         break;
 
-      case 541: // duid_type
-
-#line 279 "dhcp6_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 427 "dhcp6_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_duid_type: // duid_type
+#line 279 "dhcp6_parser.yy"
+                 { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 454 "dhcp6_parser.cc"
         break;
 
-      case 584: // ncr_protocol_value
-
-#line 279 "dhcp6_parser.yy" // lalr1.cc:636
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 434 "dhcp6_parser.cc" // lalr1.cc:636
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+#line 279 "dhcp6_parser.yy"
+                 { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 460 "dhcp6_parser.cc"
         break;
 
-
       default:
         break;
     }
-    yyo << ')';
+        yyo << ')';
+      }
   }
 #endif
 
-  inline
   void
-  Dhcp6Parser::yypush_ (const char* m, state_type s, symbol_type& sym)
+  Dhcp6Parser::yypush_ (const char* m, YY_MOVE_REF (stack_symbol_type) sym)
   {
-    stack_symbol_type t (s, sym);
-    yypush_ (m, t);
+    if (m)
+      YY_SYMBOL_PRINT (m, sym);
+    yystack_.push (YY_MOVE (sym));
   }
 
-  inline
   void
-  Dhcp6Parser::yypush_ (const char* m, stack_symbol_type& s)
+  Dhcp6Parser::yypush_ (const char* m, state_type s, YY_MOVE_REF (symbol_type) sym)
   {
-    if (m)
-      YY_SYMBOL_PRINT (m, s);
-    yystack_.push (s);
+#if 201103L <= YY_CPLUSPLUS
+    yypush_ (m, stack_symbol_type (s, std::move (sym)));
+#else
+    stack_symbol_type ss (s, sym);
+    yypush_ (m, ss);
+#endif
   }
 
-  inline
   void
-  Dhcp6Parser::yypop_ (unsigned int n)
+  Dhcp6Parser::yypop_ (int n)
   {
     yystack_.pop (n);
   }
@@ -492,32 +519,37 @@ namespace isc { namespace dhcp {
   }
 #endif // PARSER6_DEBUG
 
-  inline Dhcp6Parser::state_type
+  Dhcp6Parser::state_type
   Dhcp6Parser::yy_lr_goto_state_ (state_type yystate, int yysym)
   {
-    int yyr = yypgoto_[yysym - yyntokens_] + yystate;
+    int yyr = yypgoto_[yysym - YYNTOKENS] + yystate;
     if (0 <= yyr && yyr <= yylast_ && yycheck_[yyr] == yystate)
       return yytable_[yyr];
     else
-      return yydefgoto_[yysym - yyntokens_];
+      return yydefgoto_[yysym - YYNTOKENS];
   }
 
-  inline bool
+  bool
   Dhcp6Parser::yy_pact_value_is_default_ (int yyvalue)
   {
     return yyvalue == yypact_ninf_;
   }
 
-  inline bool
+  bool
   Dhcp6Parser::yy_table_value_is_error_ (int yyvalue)
   {
     return yyvalue == yytable_ninf_;
   }
 
+  int
+  Dhcp6Parser::operator() ()
+  {
+    return parse ();
+  }
+
   int
   Dhcp6Parser::parse ()
   {
-    // State.
     int yyn;
     /// Length of the RHS of the rule being reduced.
     int yylen = 0;
@@ -535,11 +567,11 @@ namespace isc { namespace dhcp {
     /// The return value of parse ().
     int yyresult;
 
-    // FIXME: This shoud be completely indented.  It is not yet to
-    // avoid gratuitous conflicts when merging into the master branch.
+#if YY_EXCEPTIONS
     try
+#endif // YY_EXCEPTIONS
       {
-    YYCDEBUG << "Starting parse" << std::endl;
+    YYCDEBUG << "Starting parse\n";
 
 
     /* Initialize the stack.  The initial state will be set in
@@ -547,48 +579,70 @@ namespace isc { namespace dhcp {
        location values to have been already stored, initialize these
        stacks with a primary value.  */
     yystack_.clear ();
-    yypush_ (YY_NULLPTR, 0, yyla);
+    yypush_ (YY_NULLPTR, 0, YY_MOVE (yyla));
 
-    // A new symbol was pushed on the stack.
+  /*-----------------------------------------------.
+  | yynewstate -- push a new symbol on the stack.  |
+  `-----------------------------------------------*/
   yynewstate:
-    YYCDEBUG << "Entering state " << yystack_[0].state << std::endl;
+    YYCDEBUG << "Entering state " << int (yystack_[0].state) << '\n';
+    YY_STACK_PRINT ();
 
     // Accept?
     if (yystack_[0].state == yyfinal_)
-      goto yyacceptlab;
+      YYACCEPT;
 
     goto yybackup;
 
-    // Backup.
-  yybackup:
 
+  /*-----------.
+  | yybackup.  |
+  `-----------*/
+  yybackup:
     // Try to take a decision without lookahead.
-    yyn = yypact_[yystack_[0].state];
+    yyn = yypact_[+yystack_[0].state];
     if (yy_pact_value_is_default_ (yyn))
       goto yydefault;
 
     // Read a lookahead token.
     if (yyla.empty ())
       {
-        YYCDEBUG << "Reading a token: ";
+        YYCDEBUG << "Reading a token\n";
+#if YY_EXCEPTIONS
         try
+#endif // YY_EXCEPTIONS
           {
             symbol_type yylookahead (yylex (ctx));
             yyla.move (yylookahead);
           }
+#if YY_EXCEPTIONS
         catch (const syntax_error& yyexc)
           {
+            YYCDEBUG << "Caught exception: " << yyexc.what() << '\n';
             error (yyexc);
             goto yyerrlab1;
           }
+#endif // YY_EXCEPTIONS
       }
     YY_SYMBOL_PRINT ("Next token is", yyla);
 
+    if (yyla.kind () == symbol_kind::S_YYerror)
+    {
+      // The scanner already issued an error message, process directly
+      // to error recovery.  But do not keep the error token as
+      // lookahead, it is too special and may lead us to an endless
+      // loop in error recovery. */
+      yyla.kind_ = symbol_kind::S_YYUNDEF;
+      goto yyerrlab1;
+    }
+
     /* If the proper action on seeing token YYLA.TYPE is to reduce or
        to detect an error, take that action.  */
-    yyn += yyla.type_get ();
-    if (yyn < 0 || yylast_ < yyn || yycheck_[yyn] != yyla.type_get ())
-      goto yydefault;
+    yyn += yyla.kind ();
+    if (yyn < 0 || yylast_ < yyn || yycheck_[yyn] != yyla.kind ())
+      {
+        goto yydefault;
+      }
 
     // Reduce or error.
     yyn = yytable_[yyn];
@@ -605,55 +659,57 @@ namespace isc { namespace dhcp {
       --yyerrstatus_;
 
     // Shift the lookahead token.
-    yypush_ ("Shifting", yyn, yyla);
+    yypush_ ("Shifting", state_type (yyn), YY_MOVE (yyla));
     goto yynewstate;
 
+
   /*-----------------------------------------------------------.
   | yydefault -- do the default action for the current state.  |
   `-----------------------------------------------------------*/
   yydefault:
-    yyn = yydefact_[yystack_[0].state];
+    yyn = yydefact_[+yystack_[0].state];
     if (yyn == 0)
       goto yyerrlab;
     goto yyreduce;
 
+
   /*-----------------------------.
-  | yyreduce -- Do a reduction.  |
+  | yyreduce -- do a reduction.  |
   `-----------------------------*/
   yyreduce:
     yylen = yyr2_[yyn];
     {
       stack_symbol_type yylhs;
-      yylhs.state = yy_lr_goto_state_(yystack_[yylen].state, yyr1_[yyn]);
+      yylhs.state = yy_lr_goto_state_ (yystack_[yylen].state, yyr1_[yyn]);
       /* Variants are always initialized to an empty instance of the
          correct type. The default '$$ = $1' action is NOT applied
          when using variants.  */
-        switch (yyr1_[yyn])
-    {
-      case 219: // value
-      case 223: // map_value
-      case 264: // ddns_replace_client_name_value
-      case 304: // db_type
-      case 405: // hr_mode
-      case 541: // duid_type
-      case 584: // ncr_protocol_value
-        yylhs.value.build< ElementPtr > ();
+      switch (yyr1_[yyn])
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_duid_type: // duid_type
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+        yylhs.value.emplace< ElementPtr > ();
         break;
 
-      case 202: // "boolean"
-        yylhs.value.build< bool > ();
+      case symbol_kind::S_BOOLEAN: // "boolean"
+        yylhs.value.emplace< bool > ();
         break;
 
-      case 201: // "floating point"
-        yylhs.value.build< double > ();
+      case symbol_kind::S_FLOAT: // "floating point"
+        yylhs.value.emplace< double > ();
         break;
 
-      case 200: // "integer"
-        yylhs.value.build< int64_t > ();
+      case symbol_kind::S_INTEGER: // "integer"
+        yylhs.value.emplace< int64_t > ();
         break;
 
-      case 199: // "constant string"
-        yylhs.value.build< std::string > ();
+      case symbol_kind::S_STRING: // "constant string"
+        yylhs.value.emplace< std::string > ();
         break;
 
       default:
@@ -661,296 +717,299 @@ namespace isc { namespace dhcp {
     }
 
 
-      // Compute the default @$.
+      // Default location.
       {
-        slice<stack_symbol_type, stack_type> slice (yystack_, yylen);
-        YYLLOC_DEFAULT (yylhs.location, slice, yylen);
+        stack_type::slice range (yystack_, yylen);
+        YYLLOC_DEFAULT (yylhs.location, range, yylen);
+        yyerror_range[1].location = yylhs.location;
       }
 
       // Perform the reduction.
       YY_REDUCE_PRINT (yyn);
+#if YY_EXCEPTIONS
       try
+#endif // YY_EXCEPTIONS
         {
           switch (yyn)
             {
-  case 2:
-#line 288 "dhcp6_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.NO_KEYWORD; }
-#line 680 "dhcp6_parser.cc" // lalr1.cc:859
+  case 2: // $@1: %empty
+#line 288 "dhcp6_parser.yy"
+                     { ctx.ctx_ = ctx.NO_KEYWORD; }
+#line 739 "dhcp6_parser.cc"
     break;
 
-  case 4:
-#line 289 "dhcp6_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.CONFIG; }
-#line 686 "dhcp6_parser.cc" // lalr1.cc:859
+  case 4: // $@2: %empty
+#line 289 "dhcp6_parser.yy"
+                      { ctx.ctx_ = ctx.CONFIG; }
+#line 745 "dhcp6_parser.cc"
     break;
 
-  case 6:
-#line 290 "dhcp6_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.DHCP6; }
-#line 692 "dhcp6_parser.cc" // lalr1.cc:859
+  case 6: // $@3: %empty
+#line 290 "dhcp6_parser.yy"
+                 { ctx.ctx_ = ctx.DHCP6; }
+#line 751 "dhcp6_parser.cc"
     break;
 
-  case 8:
-#line 291 "dhcp6_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.INTERFACES_CONFIG; }
-#line 698 "dhcp6_parser.cc" // lalr1.cc:859
+  case 8: // $@4: %empty
+#line 291 "dhcp6_parser.yy"
+                       { ctx.ctx_ = ctx.INTERFACES_CONFIG; }
+#line 757 "dhcp6_parser.cc"
     break;
 
-  case 10:
-#line 292 "dhcp6_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.SUBNET6; }
-#line 704 "dhcp6_parser.cc" // lalr1.cc:859
+  case 10: // $@5: %empty
+#line 292 "dhcp6_parser.yy"
+                   { ctx.ctx_ = ctx.SUBNET6; }
+#line 763 "dhcp6_parser.cc"
     break;
 
-  case 12:
-#line 293 "dhcp6_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.POOLS; }
-#line 710 "dhcp6_parser.cc" // lalr1.cc:859
+  case 12: // $@6: %empty
+#line 293 "dhcp6_parser.yy"
+                 { ctx.ctx_ = ctx.POOLS; }
+#line 769 "dhcp6_parser.cc"
     break;
 
-  case 14:
-#line 294 "dhcp6_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.PD_POOLS; }
-#line 716 "dhcp6_parser.cc" // lalr1.cc:859
+  case 14: // $@7: %empty
+#line 294 "dhcp6_parser.yy"
+                   { ctx.ctx_ = ctx.PD_POOLS; }
+#line 775 "dhcp6_parser.cc"
     break;
 
-  case 16:
-#line 295 "dhcp6_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.RESERVATIONS; }
-#line 722 "dhcp6_parser.cc" // lalr1.cc:859
+  case 16: // $@8: %empty
+#line 295 "dhcp6_parser.yy"
+                       { ctx.ctx_ = ctx.RESERVATIONS; }
+#line 781 "dhcp6_parser.cc"
     break;
 
-  case 18:
-#line 296 "dhcp6_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.DHCP6; }
-#line 728 "dhcp6_parser.cc" // lalr1.cc:859
+  case 18: // $@9: %empty
+#line 296 "dhcp6_parser.yy"
+                       { ctx.ctx_ = ctx.DHCP6; }
+#line 787 "dhcp6_parser.cc"
     break;
 
-  case 20:
-#line 297 "dhcp6_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.OPTION_DEF; }
-#line 734 "dhcp6_parser.cc" // lalr1.cc:859
+  case 20: // $@10: %empty
+#line 297 "dhcp6_parser.yy"
+                      { ctx.ctx_ = ctx.OPTION_DEF; }
+#line 793 "dhcp6_parser.cc"
     break;
 
-  case 22:
-#line 298 "dhcp6_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.OPTION_DATA; }
-#line 740 "dhcp6_parser.cc" // lalr1.cc:859
+  case 22: // $@11: %empty
+#line 298 "dhcp6_parser.yy"
+                       { ctx.ctx_ = ctx.OPTION_DATA; }
+#line 799 "dhcp6_parser.cc"
     break;
 
-  case 24:
-#line 299 "dhcp6_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.HOOKS_LIBRARIES; }
-#line 746 "dhcp6_parser.cc" // lalr1.cc:859
+  case 24: // $@12: %empty
+#line 299 "dhcp6_parser.yy"
+                         { ctx.ctx_ = ctx.HOOKS_LIBRARIES; }
+#line 805 "dhcp6_parser.cc"
     break;
 
-  case 26:
-#line 300 "dhcp6_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.DHCP_DDNS; }
-#line 752 "dhcp6_parser.cc" // lalr1.cc:859
+  case 26: // $@13: %empty
+#line 300 "dhcp6_parser.yy"
+                     { ctx.ctx_ = ctx.DHCP_DDNS; }
+#line 811 "dhcp6_parser.cc"
     break;
 
-  case 28:
-#line 301 "dhcp6_parser.yy" // lalr1.cc:859
-    { ctx.ctx_ = ctx.CONFIG_CONTROL; }
-#line 758 "dhcp6_parser.cc" // lalr1.cc:859
+  case 28: // $@14: %empty
+#line 301 "dhcp6_parser.yy"
+                          { ctx.ctx_ = ctx.CONFIG_CONTROL; }
+#line 817 "dhcp6_parser.cc"
     break;
 
-  case 30:
-#line 309 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location))); }
-#line 764 "dhcp6_parser.cc" // lalr1.cc:859
+  case 30: // value: "integer"
+#line 309 "dhcp6_parser.yy"
+               { yylhs.value.as < ElementPtr > () = ElementPtr(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location))); }
+#line 823 "dhcp6_parser.cc"
     break;
 
-  case 31:
-#line 310 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new DoubleElement(yystack_[0].value.as< double > (), ctx.loc2pos(yystack_[0].location))); }
-#line 770 "dhcp6_parser.cc" // lalr1.cc:859
+  case 31: // value: "floating point"
+#line 310 "dhcp6_parser.yy"
+             { yylhs.value.as < ElementPtr > () = ElementPtr(new DoubleElement(yystack_[0].value.as < double > (), ctx.loc2pos(yystack_[0].location))); }
+#line 829 "dhcp6_parser.cc"
     break;
 
-  case 32:
-#line 311 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location))); }
-#line 776 "dhcp6_parser.cc" // lalr1.cc:859
+  case 32: // value: "boolean"
+#line 311 "dhcp6_parser.yy"
+               { yylhs.value.as < ElementPtr > () = ElementPtr(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location))); }
+#line 835 "dhcp6_parser.cc"
     break;
 
-  case 33:
-#line 312 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location))); }
-#line 782 "dhcp6_parser.cc" // lalr1.cc:859
+  case 33: // value: "constant string"
+#line 312 "dhcp6_parser.yy"
+              { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location))); }
+#line 841 "dhcp6_parser.cc"
     break;
 
-  case 34:
-#line 313 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new NullElement(ctx.loc2pos(yystack_[0].location))); }
-#line 788 "dhcp6_parser.cc" // lalr1.cc:859
+  case 34: // value: "null"
+#line 313 "dhcp6_parser.yy"
+                 { yylhs.value.as < ElementPtr > () = ElementPtr(new NullElement(ctx.loc2pos(yystack_[0].location))); }
+#line 847 "dhcp6_parser.cc"
     break;
 
-  case 35:
-#line 314 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 794 "dhcp6_parser.cc" // lalr1.cc:859
+  case 35: // value: map2
+#line 314 "dhcp6_parser.yy"
+            { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 853 "dhcp6_parser.cc"
     break;
 
-  case 36:
-#line 315 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 800 "dhcp6_parser.cc" // lalr1.cc:859
+  case 36: // value: list_generic
+#line 315 "dhcp6_parser.yy"
+                    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 859 "dhcp6_parser.cc"
     break;
 
-  case 37:
-#line 318 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 37: // sub_json: value
+#line 318 "dhcp6_parser.yy"
+                {
     // Push back the JSON value on the stack
-    ctx.stack_.push_back(yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.push_back(yystack_[0].value.as < ElementPtr > ());
 }
-#line 809 "dhcp6_parser.cc" // lalr1.cc:859
+#line 868 "dhcp6_parser.cc"
     break;
 
-  case 38:
-#line 323 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 38: // $@15: %empty
+#line 323 "dhcp6_parser.yy"
+                     {
     // This code is executed when we're about to start parsing
     // the content of the map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 820 "dhcp6_parser.cc" // lalr1.cc:859
+#line 879 "dhcp6_parser.cc"
     break;
 
-  case 39:
-#line 328 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 39: // map2: "{" $@15 map_content "}"
+#line 328 "dhcp6_parser.yy"
+                             {
     // map parsing completed. If we ever want to do any wrap up
     // (maybe some sanity checking), this would be the best place
     // for it.
 }
-#line 830 "dhcp6_parser.cc" // lalr1.cc:859
+#line 889 "dhcp6_parser.cc"
     break;
 
-  case 40:
-#line 334 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 836 "dhcp6_parser.cc" // lalr1.cc:859
+  case 40: // map_value: map2
+#line 334 "dhcp6_parser.yy"
+                { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 895 "dhcp6_parser.cc"
     break;
 
-  case 43:
-#line 341 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 43: // not_empty_map: "constant string" ":" value
+#line 341 "dhcp6_parser.yy"
+                                  {
                   // map containing a single entry
-                  ctx.unique(yystack_[2].value.as< std::string > (), ctx.loc2pos(yystack_[2].location));
-                  ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
+                  ctx.unique(yystack_[2].value.as < std::string > (), ctx.loc2pos(yystack_[2].location));
+                  ctx.stack_.back()->set(yystack_[2].value.as < std::string > (), yystack_[0].value.as < ElementPtr > ());
                   }
-#line 846 "dhcp6_parser.cc" // lalr1.cc:859
+#line 905 "dhcp6_parser.cc"
     break;
 
-  case 44:
-#line 346 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 44: // not_empty_map: not_empty_map "," "constant string" ":" value
+#line 346 "dhcp6_parser.yy"
+                                                      {
                   // map consisting of a shorter map followed by
                   // comma and string:value
-                  ctx.unique(yystack_[2].value.as< std::string > (), ctx.loc2pos(yystack_[2].location));
-                  ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
+                  ctx.unique(yystack_[2].value.as < std::string > (), ctx.loc2pos(yystack_[2].location));
+                  ctx.stack_.back()->set(yystack_[2].value.as < std::string > (), yystack_[0].value.as < ElementPtr > ());
                   }
-#line 857 "dhcp6_parser.cc" // lalr1.cc:859
+#line 916 "dhcp6_parser.cc"
     break;
 
-  case 45:
-#line 354 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 45: // $@16: %empty
+#line 354 "dhcp6_parser.yy"
+                              {
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(l);
 }
-#line 866 "dhcp6_parser.cc" // lalr1.cc:859
+#line 925 "dhcp6_parser.cc"
     break;
 
-  case 46:
-#line 357 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 46: // list_generic: "[" $@16 list_content "]"
+#line 357 "dhcp6_parser.yy"
+                               {
     // list parsing complete. Put any sanity checking here
 }
-#line 874 "dhcp6_parser.cc" // lalr1.cc:859
+#line 933 "dhcp6_parser.cc"
     break;
 
-  case 49:
-#line 365 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 49: // not_empty_list: value
+#line 365 "dhcp6_parser.yy"
+                      {
                   // List consisting of a single element.
-                  ctx.stack_.back()->add(yystack_[0].value.as< ElementPtr > ());
+                  ctx.stack_.back()->add(yystack_[0].value.as < ElementPtr > ());
                   }
-#line 883 "dhcp6_parser.cc" // lalr1.cc:859
+#line 942 "dhcp6_parser.cc"
     break;
 
-  case 50:
-#line 369 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 50: // not_empty_list: not_empty_list "," value
+#line 369 "dhcp6_parser.yy"
+                                           {
                   // List ending with , and a value.
-                  ctx.stack_.back()->add(yystack_[0].value.as< ElementPtr > ());
+                  ctx.stack_.back()->add(yystack_[0].value.as < ElementPtr > ());
                   }
-#line 892 "dhcp6_parser.cc" // lalr1.cc:859
+#line 951 "dhcp6_parser.cc"
     break;
 
-  case 51:
-#line 376 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 51: // $@17: %empty
+#line 376 "dhcp6_parser.yy"
+                              {
     // List parsing about to start
 }
-#line 900 "dhcp6_parser.cc" // lalr1.cc:859
+#line 959 "dhcp6_parser.cc"
     break;
 
-  case 52:
-#line 378 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 52: // list_strings: "[" $@17 list_strings_content "]"
+#line 378 "dhcp6_parser.yy"
+                                       {
     // list parsing complete. Put any sanity checking here
     //ctx.stack_.pop_back();
 }
-#line 909 "dhcp6_parser.cc" // lalr1.cc:859
+#line 968 "dhcp6_parser.cc"
     break;
 
-  case 55:
-#line 387 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-                          ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 55: // not_empty_list_strings: "constant string"
+#line 387 "dhcp6_parser.yy"
+                               {
+                          ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
                           ctx.stack_.back()->add(s);
                           }
-#line 918 "dhcp6_parser.cc" // lalr1.cc:859
+#line 977 "dhcp6_parser.cc"
     break;
 
-  case 56:
-#line 391 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-                          ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 56: // not_empty_list_strings: not_empty_list_strings "," "constant string"
+#line 391 "dhcp6_parser.yy"
+                                                            {
+                          ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
                           ctx.stack_.back()->add(s);
                           }
-#line 927 "dhcp6_parser.cc" // lalr1.cc:859
+#line 986 "dhcp6_parser.cc"
     break;
 
-  case 57:
-#line 402 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 57: // unknown_map_entry: "constant string" ":"
+#line 402 "dhcp6_parser.yy"
+                                {
     const std::string& where = ctx.contextName();
-    const std::string& keyword = yystack_[1].value.as< std::string > ();
+    const std::string& keyword = yystack_[1].value.as < std::string > ();
     error(yystack_[1].location,
           "got unexpected keyword \"" + keyword + "\" in " + where + " map.");
 }
-#line 938 "dhcp6_parser.cc" // lalr1.cc:859
+#line 997 "dhcp6_parser.cc"
     break;
 
-  case 58:
-#line 411 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 58: // $@18: %empty
+#line 411 "dhcp6_parser.yy"
+                           {
     // This code is executed when we're about to start parsing
     // the content of the map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 949 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1008 "dhcp6_parser.cc"
     break;
 
-  case 59:
-#line 416 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 59: // syntax_map: "{" $@18 global_object "}"
+#line 416 "dhcp6_parser.yy"
+                               {
     // map parsing completed. If we ever want to do any wrap up
     // (maybe some sanity checking), this would be the best place
     // for it.
@@ -958,12 +1017,12 @@ namespace isc { namespace dhcp {
     // Dhcp6 is required
     ctx.require("Dhcp6", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
 }
-#line 962 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1021 "dhcp6_parser.cc"
     break;
 
-  case 60:
-#line 426 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 60: // $@19: %empty
+#line 426 "dhcp6_parser.yy"
+                     {
     // This code is executed when we're about to start parsing
     // the content of the map
     // Prevent against duplicate.
@@ -973,1320 +1032,1320 @@ namespace isc { namespace dhcp {
     ctx.stack_.push_back(m);
     ctx.enter(ctx.DHCP6);
 }
-#line 977 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1036 "dhcp6_parser.cc"
     break;
 
-  case 61:
-#line 435 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 61: // global_object: "Dhcp6" $@19 ":" "{" global_params "}"
+#line 435 "dhcp6_parser.yy"
+                                                    {
     // No global parameter is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 987 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1046 "dhcp6_parser.cc"
     break;
 
-  case 62:
-#line 443 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 62: // $@20: %empty
+#line 443 "dhcp6_parser.yy"
+                          {
     // Parse the Dhcp6 map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 997 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1056 "dhcp6_parser.cc"
     break;
 
-  case 63:
-#line 447 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 63: // sub_dhcp6: "{" $@20 global_params "}"
+#line 447 "dhcp6_parser.yy"
+                               {
     // No global parameter is required
     // parsing completed
 }
-#line 1006 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1065 "dhcp6_parser.cc"
     break;
 
-  case 124:
-#line 518 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 124: // $@21: %empty
+#line 518 "dhcp6_parser.yy"
+                               {
     ctx.unique("data-directory", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1015 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1074 "dhcp6_parser.cc"
     break;
 
-  case 125:
-#line 521 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr datadir(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 125: // data_directory: "data-directory" $@21 ":" "constant string"
+#line 521 "dhcp6_parser.yy"
+               {
+    ElementPtr datadir(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("data-directory", datadir);
     ctx.leave();
 }
-#line 1025 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1084 "dhcp6_parser.cc"
     break;
 
-  case 126:
-#line 527 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 126: // preferred_lifetime: "preferred-lifetime" ":" "integer"
+#line 527 "dhcp6_parser.yy"
+                                                     {
     ctx.unique("preferred-lifetime", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("preferred-lifetime", prf);
 }
-#line 1035 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1094 "dhcp6_parser.cc"
     break;
 
-  case 127:
-#line 533 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 127: // min_preferred_lifetime: "min-preferred-lifetime" ":" "integer"
+#line 533 "dhcp6_parser.yy"
+                                                             {
     ctx.unique("min-preferred-lifetime", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("min-preferred-lifetime", prf);
 }
-#line 1045 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1104 "dhcp6_parser.cc"
     break;
 
-  case 128:
-#line 539 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 128: // max_preferred_lifetime: "max-preferred-lifetime" ":" "integer"
+#line 539 "dhcp6_parser.yy"
+                                                             {
     ctx.unique("max-preferred-lifetime", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-preferred-lifetime", prf);
 }
-#line 1055 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1114 "dhcp6_parser.cc"
     break;
 
-  case 129:
-#line 545 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 129: // valid_lifetime: "valid-lifetime" ":" "integer"
+#line 545 "dhcp6_parser.yy"
+                                             {
     ctx.unique("valid-lifetime", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("valid-lifetime", prf);
 }
-#line 1065 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1124 "dhcp6_parser.cc"
     break;
 
-  case 130:
-#line 551 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 130: // min_valid_lifetime: "min-valid-lifetime" ":" "integer"
+#line 551 "dhcp6_parser.yy"
+                                                     {
     ctx.unique("min-valid-lifetime", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("min-valid-lifetime", prf);
 }
-#line 1075 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1134 "dhcp6_parser.cc"
     break;
 
-  case 131:
-#line 557 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 131: // max_valid_lifetime: "max-valid-lifetime" ":" "integer"
+#line 557 "dhcp6_parser.yy"
+                                                     {
     ctx.unique("max-valid-lifetime", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-valid-lifetime", prf);
 }
-#line 1085 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1144 "dhcp6_parser.cc"
     break;
 
-  case 132:
-#line 563 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 132: // renew_timer: "renew-timer" ":" "integer"
+#line 563 "dhcp6_parser.yy"
+                                       {
     ctx.unique("renew-timer", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("renew-timer", prf);
 }
-#line 1095 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1154 "dhcp6_parser.cc"
     break;
 
-  case 133:
-#line 569 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 133: // rebind_timer: "rebind-timer" ":" "integer"
+#line 569 "dhcp6_parser.yy"
+                                         {
     ctx.unique("rebind-timer", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("rebind-timer", prf);
 }
-#line 1105 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1164 "dhcp6_parser.cc"
     break;
 
-  case 134:
-#line 575 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 134: // calculate_tee_times: "calculate-tee-times" ":" "boolean"
+#line 575 "dhcp6_parser.yy"
+                                                       {
     ctx.unique("calculate-tee-times", ctx.loc2pos(yystack_[2].location));
-    ElementPtr ctt(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr ctt(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("calculate-tee-times", ctt);
 }
-#line 1115 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1174 "dhcp6_parser.cc"
     break;
 
-  case 135:
-#line 581 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 135: // t1_percent: "t1-percent" ":" "floating point"
+#line 581 "dhcp6_parser.yy"
+                                   {
     ctx.unique("t1-percent", ctx.loc2pos(yystack_[2].location));
-    ElementPtr t1(new DoubleElement(yystack_[0].value.as< double > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr t1(new DoubleElement(yystack_[0].value.as < double > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("t1-percent", t1);
 }
-#line 1125 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1184 "dhcp6_parser.cc"
     break;
 
-  case 136:
-#line 587 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 136: // t2_percent: "t2-percent" ":" "floating point"
+#line 587 "dhcp6_parser.yy"
+                                   {
     ctx.unique("t2-percent", ctx.loc2pos(yystack_[2].location));
-    ElementPtr t2(new DoubleElement(yystack_[0].value.as< double > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr t2(new DoubleElement(yystack_[0].value.as < double > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("t2-percent", t2);
 }
-#line 1135 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1194 "dhcp6_parser.cc"
     break;
 
-  case 137:
-#line 593 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 137: // cache_threshold: "cache-threshold" ":" "floating point"
+#line 593 "dhcp6_parser.yy"
+                                             {
     ctx.unique("cache-threshold", ctx.loc2pos(yystack_[2].location));
-    ElementPtr ct(new DoubleElement(yystack_[0].value.as< double > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr ct(new DoubleElement(yystack_[0].value.as < double > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("cache-threshold", ct);
 }
-#line 1145 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1204 "dhcp6_parser.cc"
     break;
 
-  case 138:
-#line 599 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 138: // cache_max_age: "cache-max-age" ":" "integer"
+#line 599 "dhcp6_parser.yy"
+                                           {
     ctx.unique("cache-max-age", ctx.loc2pos(yystack_[2].location));
-    ElementPtr cm(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr cm(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("cache-max-age", cm);
 }
-#line 1155 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1214 "dhcp6_parser.cc"
     break;
 
-  case 139:
-#line 605 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 139: // decline_probation_period: "decline-probation-period" ":" "integer"
+#line 605 "dhcp6_parser.yy"
+                                                                 {
     ctx.unique("decline-probation-period", ctx.loc2pos(yystack_[2].location));
-    ElementPtr dpp(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr dpp(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("decline-probation-period", dpp);
 }
-#line 1165 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1224 "dhcp6_parser.cc"
     break;
 
-  case 140:
-#line 611 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 140: // ddns_send_updates: "ddns-send-updates" ":" "boolean"
+#line 611 "dhcp6_parser.yy"
+                                                   {
     ctx.unique("ddns-send-updates", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ddns-send-updates", b);
 }
-#line 1175 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1234 "dhcp6_parser.cc"
     break;
 
-  case 141:
-#line 617 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 141: // ddns_override_no_update: "ddns-override-no-update" ":" "boolean"
+#line 617 "dhcp6_parser.yy"
+                                                               {
     ctx.unique("ddns-override-no-update", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ddns-override-no-update", b);
 }
-#line 1185 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1244 "dhcp6_parser.cc"
     break;
 
-  case 142:
-#line 623 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 142: // ddns_override_client_update: "ddns-override-client-update" ":" "boolean"
+#line 623 "dhcp6_parser.yy"
+                                                                       {
     ctx.unique("ddns-override-client-update", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ddns-override-client-update", b);
 }
-#line 1195 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1254 "dhcp6_parser.cc"
     break;
 
-  case 143:
-#line 629 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 143: // $@22: %empty
+#line 629 "dhcp6_parser.yy"
+                                                   {
     ctx.unique("ddns-replace-client-name", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.REPLACE_CLIENT_NAME);
 }
-#line 1204 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1263 "dhcp6_parser.cc"
     break;
 
-  case 144:
-#line 632 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set("ddns-replace-client-name", yystack_[0].value.as< ElementPtr > ());
+  case 144: // ddns_replace_client_name: "ddns-replace-client-name" $@22 ":" ddns_replace_client_name_value
+#line 632 "dhcp6_parser.yy"
+                                       {
+    ctx.stack_.back()->set("ddns-replace-client-name", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1213 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1272 "dhcp6_parser.cc"
     break;
 
-  case 145:
-#line 638 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-      yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("when-present", ctx.loc2pos(yystack_[0].location)));
+  case 145: // ddns_replace_client_name_value: "when-present"
+#line 638 "dhcp6_parser.yy"
+                 {
+      yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("when-present", ctx.loc2pos(yystack_[0].location)));
       }
-#line 1221 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1280 "dhcp6_parser.cc"
     break;
 
-  case 146:
-#line 641 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-      yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("never", ctx.loc2pos(yystack_[0].location)));
+  case 146: // ddns_replace_client_name_value: "never"
+#line 641 "dhcp6_parser.yy"
+          {
+      yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("never", ctx.loc2pos(yystack_[0].location)));
       }
-#line 1229 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1288 "dhcp6_parser.cc"
     break;
 
-  case 147:
-#line 644 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-      yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("always", ctx.loc2pos(yystack_[0].location)));
+  case 147: // ddns_replace_client_name_value: "always"
+#line 644 "dhcp6_parser.yy"
+           {
+      yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("always", ctx.loc2pos(yystack_[0].location)));
       }
-#line 1237 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1296 "dhcp6_parser.cc"
     break;
 
-  case 148:
-#line 647 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-      yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("when-not-present", ctx.loc2pos(yystack_[0].location)));
+  case 148: // ddns_replace_client_name_value: "when-not-present"
+#line 647 "dhcp6_parser.yy"
+                     {
+      yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("when-not-present", ctx.loc2pos(yystack_[0].location)));
       }
-#line 1245 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1304 "dhcp6_parser.cc"
     break;
 
-  case 149:
-#line 650 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 149: // ddns_replace_client_name_value: "boolean"
+#line 650 "dhcp6_parser.yy"
+            {
       error(yystack_[0].location, "boolean values for the replace-client-name are "
                 "no longer supported");
       }
-#line 1254 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1313 "dhcp6_parser.cc"
     break;
 
-  case 150:
-#line 656 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 150: // $@23: %empty
+#line 656 "dhcp6_parser.yy"
+                                             {
     ctx.unique("ddns-generated-prefix", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1263 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1322 "dhcp6_parser.cc"
     break;
 
-  case 151:
-#line 659 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 151: // ddns_generated_prefix: "ddns-generated-prefix" $@23 ":" "constant string"
+#line 659 "dhcp6_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ddns-generated-prefix", s);
     ctx.leave();
 }
-#line 1273 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1332 "dhcp6_parser.cc"
     break;
 
-  case 152:
-#line 665 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 152: // $@24: %empty
+#line 665 "dhcp6_parser.yy"
+                                               {
     ctx.unique("ddns-qualifying-suffix", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1282 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1341 "dhcp6_parser.cc"
     break;
 
-  case 153:
-#line 668 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 153: // ddns_qualifying_suffix: "ddns-qualifying-suffix" $@24 ":" "constant string"
+#line 668 "dhcp6_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ddns-qualifying-suffix", s);
     ctx.leave();
 }
-#line 1292 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1351 "dhcp6_parser.cc"
     break;
 
-  case 154:
-#line 674 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 154: // ddns_update_on_renew: "ddns-update-on-renew" ":" "boolean"
+#line 674 "dhcp6_parser.yy"
+                                                         {
     ctx.unique("ddns-update-on-renew", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ddns-update-on-renew", b);
 }
-#line 1302 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1361 "dhcp6_parser.cc"
     break;
 
-  case 155:
-#line 680 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 155: // ddns_use_conflict_resolution: "ddns-use-conflict-resolution" ":" "boolean"
+#line 680 "dhcp6_parser.yy"
+                                                                         {
     ctx.unique("ddns-use-conflict-resolution", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ddns-use-conflict-resolution", b);
 }
-#line 1312 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1371 "dhcp6_parser.cc"
     break;
 
-  case 156:
-#line 686 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 156: // $@25: %empty
+#line 686 "dhcp6_parser.yy"
+                                     {
     ctx.unique("hostname-char-set", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1321 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1380 "dhcp6_parser.cc"
     break;
 
-  case 157:
-#line 689 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 157: // hostname_char_set: "hostname-char-set" $@25 ":" "constant string"
+#line 689 "dhcp6_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hostname-char-set", s);
     ctx.leave();
 }
-#line 1331 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1390 "dhcp6_parser.cc"
     break;
 
-  case 158:
-#line 695 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 158: // $@26: %empty
+#line 695 "dhcp6_parser.yy"
+                                                     {
     ctx.unique("hostname-char-replacement", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1340 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1399 "dhcp6_parser.cc"
     break;
 
-  case 159:
-#line 698 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 159: // hostname_char_replacement: "hostname-char-replacement" $@26 ":" "constant string"
+#line 698 "dhcp6_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hostname-char-replacement", s);
     ctx.leave();
 }
-#line 1350 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1409 "dhcp6_parser.cc"
     break;
 
-  case 160:
-#line 704 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 160: // store_extended_info: "store-extended-info" ":" "boolean"
+#line 704 "dhcp6_parser.yy"
+                                                       {
     ctx.unique("store-extended-info", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("store-extended-info", b);
 }
-#line 1360 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1419 "dhcp6_parser.cc"
     break;
 
-  case 161:
-#line 710 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 161: // statistic_default_sample_count: "statistic-default-sample-count" ":" "integer"
+#line 710 "dhcp6_parser.yy"
+                                                                             {
     ctx.unique("statistic-default-sample-count", ctx.loc2pos(yystack_[2].location));
-    ElementPtr count(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr count(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("statistic-default-sample-count", count);
 }
-#line 1370 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1429 "dhcp6_parser.cc"
     break;
 
-  case 162:
-#line 716 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 162: // statistic_default_sample_age: "statistic-default-sample-age" ":" "integer"
+#line 716 "dhcp6_parser.yy"
+                                                                         {
     ctx.unique("statistic-default-sample-age", ctx.loc2pos(yystack_[2].location));
-    ElementPtr age(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr age(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("statistic-default-sample-age", age);
 }
-#line 1380 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1439 "dhcp6_parser.cc"
     break;
 
-  case 163:
-#line 722 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 163: // $@27: %empty
+#line 722 "dhcp6_parser.yy"
+                       {
     ctx.unique("server-tag", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1389 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1448 "dhcp6_parser.cc"
     break;
 
-  case 164:
-#line 725 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr stag(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 164: // server_tag: "server-tag" $@27 ":" "constant string"
+#line 725 "dhcp6_parser.yy"
+               {
+    ElementPtr stag(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("server-tag", stag);
     ctx.leave();
 }
-#line 1399 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1458 "dhcp6_parser.cc"
     break;
 
-  case 165:
-#line 731 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 165: // ip_reservations_unique: "ip-reservations-unique" ":" "boolean"
+#line 731 "dhcp6_parser.yy"
+                                                             {
     ctx.unique("ip-reservations-unique", ctx.loc2pos(yystack_[2].location));
-    ElementPtr unique(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr unique(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ip-reservations-unique", unique);
 }
-#line 1409 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1468 "dhcp6_parser.cc"
     break;
 
-  case 166:
-#line 737 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 166: // $@28: %empty
+#line 737 "dhcp6_parser.yy"
+                                     {
     ctx.unique("interfaces-config", ctx.loc2pos(yystack_[0].location));
     ElementPtr i(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("interfaces-config", i);
     ctx.stack_.push_back(i);
     ctx.enter(ctx.INTERFACES_CONFIG);
 }
-#line 1421 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1480 "dhcp6_parser.cc"
     break;
 
-  case 167:
-#line 743 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 167: // interfaces_config: "interfaces-config" $@28 ":" "{" interfaces_config_params "}"
+#line 743 "dhcp6_parser.yy"
+                                                               {
     // No interfaces config param is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1431 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1490 "dhcp6_parser.cc"
     break;
 
-  case 168:
-#line 749 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 168: // $@29: %empty
+#line 749 "dhcp6_parser.yy"
+                                {
     // Parse the interfaces-config map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1441 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1500 "dhcp6_parser.cc"
     break;
 
-  case 169:
-#line 753 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 169: // sub_interfaces6: "{" $@29 interfaces_config_params "}"
+#line 753 "dhcp6_parser.yy"
+                                          {
     // No interfaces config param is required
     // parsing completed
 }
-#line 1450 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1509 "dhcp6_parser.cc"
     break;
 
-  case 177:
-#line 769 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 177: // $@30: %empty
+#line 769 "dhcp6_parser.yy"
+                            {
     ctx.unique("interfaces", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("interfaces", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1462 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1521 "dhcp6_parser.cc"
     break;
 
-  case 178:
-#line 775 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 178: // interfaces_list: "interfaces" $@30 ":" list_strings
+#line 775 "dhcp6_parser.yy"
+                     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1471 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1530 "dhcp6_parser.cc"
     break;
 
-  case 179:
-#line 780 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 179: // re_detect: "re-detect" ":" "boolean"
+#line 780 "dhcp6_parser.yy"
+                                   {
     ctx.unique("re-detect", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("re-detect", b);
 }
-#line 1481 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1540 "dhcp6_parser.cc"
     break;
 
-  case 180:
-#line 786 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 180: // $@31: %empty
+#line 786 "dhcp6_parser.yy"
+                               {
     ctx.unique("lease-database", ctx.loc2pos(yystack_[0].location));
     ElementPtr i(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("lease-database", i);
     ctx.stack_.push_back(i);
     ctx.enter(ctx.LEASE_DATABASE);
 }
-#line 1493 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1552 "dhcp6_parser.cc"
     break;
 
-  case 181:
-#line 792 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 181: // lease_database: "lease-database" $@31 ":" "{" database_map_params "}"
+#line 792 "dhcp6_parser.yy"
+                                                          {
     // The type parameter is required
     ctx.require("type", ctx.loc2pos(yystack_[2].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1504 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1563 "dhcp6_parser.cc"
     break;
 
-  case 182:
-#line 799 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 182: // $@32: %empty
+#line 799 "dhcp6_parser.yy"
+                               {
     ctx.unique("hosts-database", ctx.loc2pos(yystack_[0].location));
     ElementPtr i(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hosts-database", i);
     ctx.stack_.push_back(i);
     ctx.enter(ctx.HOSTS_DATABASE);
 }
-#line 1516 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1575 "dhcp6_parser.cc"
     break;
 
-  case 183:
-#line 805 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 183: // hosts_database: "hosts-database" $@32 ":" "{" database_map_params "}"
+#line 805 "dhcp6_parser.yy"
+                                                          {
     // The type parameter is required
     ctx.require("type", ctx.loc2pos(yystack_[2].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1527 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1586 "dhcp6_parser.cc"
     break;
 
-  case 184:
-#line 812 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 184: // $@33: %empty
+#line 812 "dhcp6_parser.yy"
+                                 {
     ctx.unique("hosts-databases", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hosts-databases", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.HOSTS_DATABASE);
 }
-#line 1539 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1598 "dhcp6_parser.cc"
     break;
 
-  case 185:
-#line 818 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 185: // hosts_databases: "hosts-databases" $@33 ":" "[" database_list "]"
+#line 818 "dhcp6_parser.yy"
+                                                      {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1548 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1607 "dhcp6_parser.cc"
     break;
 
-  case 190:
-#line 831 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 190: // $@34: %empty
+#line 831 "dhcp6_parser.yy"
+                         {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1558 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1617 "dhcp6_parser.cc"
     break;
 
-  case 191:
-#line 835 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 191: // database: "{" $@34 database_map_params "}"
+#line 835 "dhcp6_parser.yy"
+                                     {
     // The type parameter is required
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 1568 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1627 "dhcp6_parser.cc"
     break;
 
-  case 215:
-#line 868 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 215: // $@35: %empty
+#line 868 "dhcp6_parser.yy"
+                    {
     ctx.unique("type", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.DATABASE_TYPE);
 }
-#line 1577 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1636 "dhcp6_parser.cc"
     break;
 
-  case 216:
-#line 871 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set("type", yystack_[0].value.as< ElementPtr > ());
+  case 216: // database_type: "type" $@35 ":" db_type
+#line 871 "dhcp6_parser.yy"
+                {
+    ctx.stack_.back()->set("type", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1586 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1645 "dhcp6_parser.cc"
     break;
 
-  case 217:
-#line 876 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("memfile", ctx.loc2pos(yystack_[0].location))); }
-#line 1592 "dhcp6_parser.cc" // lalr1.cc:859
+  case 217: // db_type: "memfile"
+#line 876 "dhcp6_parser.yy"
+                 { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("memfile", ctx.loc2pos(yystack_[0].location))); }
+#line 1651 "dhcp6_parser.cc"
     break;
 
-  case 218:
-#line 877 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("mysql", ctx.loc2pos(yystack_[0].location))); }
-#line 1598 "dhcp6_parser.cc" // lalr1.cc:859
+  case 218: // db_type: "mysql"
+#line 877 "dhcp6_parser.yy"
+               { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("mysql", ctx.loc2pos(yystack_[0].location))); }
+#line 1657 "dhcp6_parser.cc"
     break;
 
-  case 219:
-#line 878 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("postgresql", ctx.loc2pos(yystack_[0].location))); }
-#line 1604 "dhcp6_parser.cc" // lalr1.cc:859
+  case 219: // db_type: "postgresql"
+#line 878 "dhcp6_parser.yy"
+                    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("postgresql", ctx.loc2pos(yystack_[0].location))); }
+#line 1663 "dhcp6_parser.cc"
     break;
 
-  case 220:
-#line 879 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("cql", ctx.loc2pos(yystack_[0].location))); }
-#line 1610 "dhcp6_parser.cc" // lalr1.cc:859
+  case 220: // db_type: "cql"
+#line 879 "dhcp6_parser.yy"
+             { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("cql", ctx.loc2pos(yystack_[0].location))); }
+#line 1669 "dhcp6_parser.cc"
     break;
 
-  case 221:
-#line 882 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 221: // $@36: %empty
+#line 882 "dhcp6_parser.yy"
+           {
     ctx.unique("user", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1619 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1678 "dhcp6_parser.cc"
     break;
 
-  case 222:
-#line 885 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr user(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 222: // user: "user" $@36 ":" "constant string"
+#line 885 "dhcp6_parser.yy"
+               {
+    ElementPtr user(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("user", user);
     ctx.leave();
 }
-#line 1629 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1688 "dhcp6_parser.cc"
     break;
 
-  case 223:
-#line 891 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 223: // $@37: %empty
+#line 891 "dhcp6_parser.yy"
+                   {
     ctx.unique("password", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1638 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1697 "dhcp6_parser.cc"
     break;
 
-  case 224:
-#line 894 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr pwd(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 224: // password: "password" $@37 ":" "constant string"
+#line 894 "dhcp6_parser.yy"
+               {
+    ElementPtr pwd(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("password", pwd);
     ctx.leave();
 }
-#line 1648 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1707 "dhcp6_parser.cc"
     break;
 
-  case 225:
-#line 900 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 225: // $@38: %empty
+#line 900 "dhcp6_parser.yy"
+           {
     ctx.unique("host", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1657 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1716 "dhcp6_parser.cc"
     break;
 
-  case 226:
-#line 903 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr h(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 226: // host: "host" $@38 ":" "constant string"
+#line 903 "dhcp6_parser.yy"
+               {
+    ElementPtr h(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("host", h);
     ctx.leave();
 }
-#line 1667 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1726 "dhcp6_parser.cc"
     break;
 
-  case 227:
-#line 909 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 227: // port: "port" ":" "integer"
+#line 909 "dhcp6_parser.yy"
+                         {
     ctx.unique("port", ctx.loc2pos(yystack_[2].location));
-    ElementPtr p(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr p(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("port", p);
 }
-#line 1677 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1736 "dhcp6_parser.cc"
     break;
 
-  case 228:
-#line 915 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 228: // $@39: %empty
+#line 915 "dhcp6_parser.yy"
+           {
     ctx.unique("name", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1686 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1745 "dhcp6_parser.cc"
     break;
 
-  case 229:
-#line 918 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 229: // name: "name" $@39 ":" "constant string"
+#line 918 "dhcp6_parser.yy"
+               {
+    ElementPtr name(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("name", name);
     ctx.leave();
 }
-#line 1696 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1755 "dhcp6_parser.cc"
     break;
 
-  case 230:
-#line 924 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 230: // persist: "persist" ":" "boolean"
+#line 924 "dhcp6_parser.yy"
+                               {
     ctx.unique("persist", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("persist", n);
 }
-#line 1706 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1765 "dhcp6_parser.cc"
     break;
 
-  case 231:
-#line 930 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 231: // lfc_interval: "lfc-interval" ":" "integer"
+#line 930 "dhcp6_parser.yy"
+                                         {
     ctx.unique("lfc-interval", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("lfc-interval", n);
 }
-#line 1716 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1775 "dhcp6_parser.cc"
     break;
 
-  case 232:
-#line 936 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 232: // readonly: "readonly" ":" "boolean"
+#line 936 "dhcp6_parser.yy"
+                                 {
     ctx.unique("readonly", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("readonly", n);
 }
-#line 1726 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1785 "dhcp6_parser.cc"
     break;
 
-  case 233:
-#line 942 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 233: // connect_timeout: "connect-timeout" ":" "integer"
+#line 942 "dhcp6_parser.yy"
+                                               {
     ctx.unique("connect-timeout", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("connect-timeout", n);
 }
-#line 1736 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1795 "dhcp6_parser.cc"
     break;
 
-  case 234:
-#line 948 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 234: // reconnect_wait_time: "reconnect-wait-time" ":" "integer"
+#line 948 "dhcp6_parser.yy"
+                                                       {
     ctx.unique("reconnect-wait-time", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("reconnect-wait-time", n);
 }
-#line 1746 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1805 "dhcp6_parser.cc"
     break;
 
-  case 235:
-#line 954 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 235: // max_row_errors: "max-row-errors" ":" "integer"
+#line 954 "dhcp6_parser.yy"
+                                             {
     ctx.unique("max-row-errors", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-row-errors", n);
 }
-#line 1756 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1815 "dhcp6_parser.cc"
     break;
 
-  case 236:
-#line 960 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 236: // request_timeout: "request-timeout" ":" "integer"
+#line 960 "dhcp6_parser.yy"
+                                               {
     ctx.unique("request-timeout", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("request-timeout", n);
 }
-#line 1766 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1825 "dhcp6_parser.cc"
     break;
 
-  case 237:
-#line 966 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 237: // tcp_keepalive: "tcp-keepalive" ":" "integer"
+#line 966 "dhcp6_parser.yy"
+                                           {
     ctx.unique("tcp-keepalive", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("tcp-keepalive", n);
 }
-#line 1776 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1835 "dhcp6_parser.cc"
     break;
 
-  case 238:
-#line 972 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 238: // tcp_nodelay: "tcp-nodelay" ":" "boolean"
+#line 972 "dhcp6_parser.yy"
+                                       {
     ctx.unique("tcp-nodelay", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("tcp-nodelay", n);
 }
-#line 1786 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1845 "dhcp6_parser.cc"
     break;
 
-  case 239:
-#line 978 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 239: // $@40: %empty
+#line 978 "dhcp6_parser.yy"
+                               {
     ctx.unique("contact-points", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1795 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1854 "dhcp6_parser.cc"
     break;
 
-  case 240:
-#line 981 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr cp(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 240: // contact_points: "contact-points" $@40 ":" "constant string"
+#line 981 "dhcp6_parser.yy"
+               {
+    ElementPtr cp(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("contact-points", cp);
     ctx.leave();
 }
-#line 1805 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1864 "dhcp6_parser.cc"
     break;
 
-  case 241:
-#line 987 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 241: // max_reconnect_tries: "max-reconnect-tries" ":" "integer"
+#line 987 "dhcp6_parser.yy"
+                                                       {
     ctx.unique("max-reconnect-tries", ctx.loc2pos(yystack_[2].location));
-    ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr n(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-reconnect-tries", n);
 }
-#line 1815 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1874 "dhcp6_parser.cc"
     break;
 
-  case 242:
-#line 993 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 242: // $@41: %empty
+#line 993 "dhcp6_parser.yy"
+                   {
     ctx.unique("keyspace", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1824 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1883 "dhcp6_parser.cc"
     break;
 
-  case 243:
-#line 996 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr ks(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 243: // keyspace: "keyspace" $@41 ":" "constant string"
+#line 996 "dhcp6_parser.yy"
+               {
+    ElementPtr ks(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("keyspace", ks);
     ctx.leave();
 }
-#line 1834 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1893 "dhcp6_parser.cc"
     break;
 
-  case 244:
-#line 1002 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 244: // $@42: %empty
+#line 1002 "dhcp6_parser.yy"
+                         {
     ctx.unique("consistency", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1843 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1902 "dhcp6_parser.cc"
     break;
 
-  case 245:
-#line 1005 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr c(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 245: // consistency: "consistency" $@42 ":" "constant string"
+#line 1005 "dhcp6_parser.yy"
+               {
+    ElementPtr c(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("consistency", c);
     ctx.leave();
 }
-#line 1853 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1912 "dhcp6_parser.cc"
     break;
 
-  case 246:
-#line 1011 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 246: // $@43: %empty
+#line 1011 "dhcp6_parser.yy"
+                                       {
     ctx.unique("serial-consistency", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1862 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1921 "dhcp6_parser.cc"
     break;
 
-  case 247:
-#line 1014 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr c(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 247: // serial_consistency: "serial-consistency" $@43 ":" "constant string"
+#line 1014 "dhcp6_parser.yy"
+               {
+    ElementPtr c(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("serial-consistency", c);
     ctx.leave();
 }
-#line 1872 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1931 "dhcp6_parser.cc"
     break;
 
-  case 248:
-#line 1020 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 248: // $@44: %empty
+#line 1020 "dhcp6_parser.yy"
+                             {
     ctx.unique("sanity-checks", ctx.loc2pos(yystack_[0].location));
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("sanity-checks", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.SANITY_CHECKS);
 }
-#line 1884 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1943 "dhcp6_parser.cc"
     break;
 
-  case 249:
-#line 1026 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 249: // sanity_checks: "sanity-checks" $@44 ":" "{" sanity_checks_params "}"
+#line 1026 "dhcp6_parser.yy"
+                                                           {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1893 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1952 "dhcp6_parser.cc"
     break;
 
-  case 253:
-#line 1036 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 253: // $@45: %empty
+#line 1036 "dhcp6_parser.yy"
+                           {
     ctx.unique("lease-checks", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1902 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1961 "dhcp6_parser.cc"
     break;
 
-  case 254:
-#line 1039 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 254: // lease_checks: "lease-checks" $@45 ":" "constant string"
+#line 1039 "dhcp6_parser.yy"
+               {
 
-    if ( (string(yystack_[0].value.as< std::string > ()) == "none") ||
-         (string(yystack_[0].value.as< std::string > ()) == "warn") ||
-         (string(yystack_[0].value.as< std::string > ()) == "fix") ||
-         (string(yystack_[0].value.as< std::string > ()) == "fix-del") ||
-         (string(yystack_[0].value.as< std::string > ()) == "del")) {
-        ElementPtr user(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    if ( (string(yystack_[0].value.as < std::string > ()) == "none") ||
+         (string(yystack_[0].value.as < std::string > ()) == "warn") ||
+         (string(yystack_[0].value.as < std::string > ()) == "fix") ||
+         (string(yystack_[0].value.as < std::string > ()) == "fix-del") ||
+         (string(yystack_[0].value.as < std::string > ()) == "del")) {
+        ElementPtr user(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
         ctx.stack_.back()->set("lease-checks", user);
         ctx.leave();
     } else {
-        error(yystack_[0].location, "Unsupported 'lease-checks value: " + string(yystack_[0].value.as< std::string > ()) +
+        error(yystack_[0].location, "Unsupported 'lease-checks value: " + string(yystack_[0].value.as < std::string > ()) +
               ", supported values are: none, warn, fix, fix-del, del");
     }
 }
-#line 1922 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1981 "dhcp6_parser.cc"
     break;
 
-  case 255:
-#line 1055 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 255: // $@46: %empty
+#line 1055 "dhcp6_parser.yy"
+                         {
     ctx.unique("mac-sources", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("mac-sources", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.MAC_SOURCES);
 }
-#line 1934 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1993 "dhcp6_parser.cc"
     break;
 
-  case 256:
-#line 1061 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 256: // mac_sources: "mac-sources" $@46 ":" "[" mac_sources_list "]"
+#line 1061 "dhcp6_parser.yy"
+                                                         {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1943 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2002 "dhcp6_parser.cc"
     break;
 
-  case 261:
-#line 1074 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 261: // duid_id: "duid"
+#line 1074 "dhcp6_parser.yy"
+               {
     ElementPtr duid(new StringElement("duid", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(duid);
 }
-#line 1952 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2011 "dhcp6_parser.cc"
     break;
 
-  case 262:
-#line 1079 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr duid(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 262: // string_id: "constant string"
+#line 1079 "dhcp6_parser.yy"
+                   {
+    ElementPtr duid(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(duid);
 }
-#line 1961 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2020 "dhcp6_parser.cc"
     break;
 
-  case 263:
-#line 1084 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 263: // $@47: %empty
+#line 1084 "dhcp6_parser.yy"
+                                                           {
     ctx.unique("host-reservation-identifiers", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("host-reservation-identifiers", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.HOST_RESERVATION_IDENTIFIERS);
 }
-#line 1973 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2032 "dhcp6_parser.cc"
     break;
 
-  case 264:
-#line 1090 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 264: // host_reservation_identifiers: "host-reservation-identifiers" $@47 ":" "[" host_reservation_identifiers_list "]"
+#line 1090 "dhcp6_parser.yy"
+                                                                          {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1982 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2041 "dhcp6_parser.cc"
     break;
 
-  case 270:
-#line 1104 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 270: // hw_address_id: "hw-address"
+#line 1104 "dhcp6_parser.yy"
+                           {
     ElementPtr hwaddr(new StringElement("hw-address", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(hwaddr);
 }
-#line 1991 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2050 "dhcp6_parser.cc"
     break;
 
-  case 271:
-#line 1109 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 271: // flex_id: "flex-id"
+#line 1109 "dhcp6_parser.yy"
+                  {
     ElementPtr flex_id(new StringElement("flex-id", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(flex_id);
 }
-#line 2000 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2059 "dhcp6_parser.cc"
     break;
 
-  case 272:
-#line 1116 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 272: // $@48: %empty
+#line 1116 "dhcp6_parser.yy"
+                                               {
     ctx.unique("relay-supplied-options", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("relay-supplied-options", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2012 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2071 "dhcp6_parser.cc"
     break;
 
-  case 273:
-#line 1122 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 273: // relay_supplied_options: "relay-supplied-options" $@48 ":" "[" list_content "]"
+#line 1122 "dhcp6_parser.yy"
+                                                     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2021 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2080 "dhcp6_parser.cc"
     break;
 
-  case 274:
-#line 1129 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 274: // $@49: %empty
+#line 1129 "dhcp6_parser.yy"
+                                           {
     ctx.unique("multi-threading", ctx.loc2pos(yystack_[0].location));
     ElementPtr mt(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("multi-threading", mt);
     ctx.stack_.push_back(mt);
     ctx.enter(ctx.DHCP_MULTI_THREADING);
 }
-#line 2033 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2092 "dhcp6_parser.cc"
     break;
 
-  case 275:
-#line 1135 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 275: // dhcp_multi_threading: "multi-threading" $@49 ":" "{" multi_threading_params "}"
+#line 1135 "dhcp6_parser.yy"
+                                                             {
     // The enable parameter is required.
     ctx.require("enable-multi-threading", ctx.loc2pos(yystack_[2].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2044 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2103 "dhcp6_parser.cc"
     break;
 
-  case 284:
-#line 1154 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 284: // enable_multi_threading: "enable-multi-threading" ":" "boolean"
+#line 1154 "dhcp6_parser.yy"
+                                                             {
     ctx.unique("enable-multi-threading", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("enable-multi-threading", b);
 }
-#line 2054 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2113 "dhcp6_parser.cc"
     break;
 
-  case 285:
-#line 1160 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 285: // thread_pool_size: "thread-pool-size" ":" "integer"
+#line 1160 "dhcp6_parser.yy"
+                                                 {
     ctx.unique("thread-pool-size", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("thread-pool-size", prf);
 }
-#line 2064 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2123 "dhcp6_parser.cc"
     break;
 
-  case 286:
-#line 1166 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 286: // packet_queue_size: "packet-queue-size" ":" "integer"
+#line 1166 "dhcp6_parser.yy"
+                                                   {
     ctx.unique("packet-queue-size", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("packet-queue-size", prf);
 }
-#line 2074 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2133 "dhcp6_parser.cc"
     break;
 
-  case 287:
-#line 1172 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 287: // $@50: %empty
+#line 1172 "dhcp6_parser.yy"
+                                 {
     ctx.unique("hooks-libraries", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hooks-libraries", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.HOOKS_LIBRARIES);
 }
-#line 2086 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2145 "dhcp6_parser.cc"
     break;
 
-  case 288:
-#line 1178 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 288: // hooks_libraries: "hooks-libraries" $@50 ":" "[" hooks_libraries_list "]"
+#line 1178 "dhcp6_parser.yy"
+                                                             {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2095 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2154 "dhcp6_parser.cc"
     break;
 
-  case 293:
-#line 1191 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 293: // $@51: %empty
+#line 1191 "dhcp6_parser.yy"
+                              {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2105 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2164 "dhcp6_parser.cc"
     break;
 
-  case 294:
-#line 1195 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 294: // hooks_library: "{" $@51 hooks_params "}"
+#line 1195 "dhcp6_parser.yy"
+                              {
     // The library hooks parameter is required
     ctx.require("library", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2115 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2174 "dhcp6_parser.cc"
     break;
 
-  case 295:
-#line 1201 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 295: // $@52: %empty
+#line 1201 "dhcp6_parser.yy"
+                                  {
     // Parse the hooks-libraries list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2125 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2184 "dhcp6_parser.cc"
     break;
 
-  case 296:
-#line 1205 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 296: // sub_hooks_library: "{" $@52 hooks_params "}"
+#line 1205 "dhcp6_parser.yy"
+                              {
     // The library hooks parameter is required
     ctx.require("library", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 2135 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2194 "dhcp6_parser.cc"
     break;
 
-  case 302:
-#line 1220 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 302: // $@53: %empty
+#line 1220 "dhcp6_parser.yy"
+                 {
     ctx.unique("library", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2144 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2203 "dhcp6_parser.cc"
     break;
 
-  case 303:
-#line 1223 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr lib(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 303: // library: "library" $@53 ":" "constant string"
+#line 1223 "dhcp6_parser.yy"
+               {
+    ElementPtr lib(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("library", lib);
     ctx.leave();
 }
-#line 2154 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2213 "dhcp6_parser.cc"
     break;
 
-  case 304:
-#line 1229 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 304: // $@54: %empty
+#line 1229 "dhcp6_parser.yy"
+                       {
     ctx.unique("parameters", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2163 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2222 "dhcp6_parser.cc"
     break;
 
-  case 305:
-#line 1232 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set("parameters", yystack_[0].value.as< ElementPtr > ());
+  case 305: // parameters: "parameters" $@54 ":" map_value
+#line 1232 "dhcp6_parser.yy"
+                  {
+    ctx.stack_.back()->set("parameters", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 2172 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2231 "dhcp6_parser.cc"
     break;
 
-  case 306:
-#line 1238 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 306: // $@55: %empty
+#line 1238 "dhcp6_parser.yy"
+                                                     {
     ctx.unique("expired-leases-processing", ctx.loc2pos(yystack_[0].location));
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("expired-leases-processing", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.EXPIRED_LEASES_PROCESSING);
 }
-#line 2184 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2243 "dhcp6_parser.cc"
     break;
 
-  case 307:
-#line 1244 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 307: // expired_leases_processing: "expired-leases-processing" $@55 ":" "{" expired_leases_params "}"
+#line 1244 "dhcp6_parser.yy"
+                                                            {
     // No expired lease parameter is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2194 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2253 "dhcp6_parser.cc"
     break;
 
-  case 316:
-#line 1262 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 316: // reclaim_timer_wait_time: "reclaim-timer-wait-time" ":" "integer"
+#line 1262 "dhcp6_parser.yy"
+                                                               {
     ctx.unique("reclaim-timer-wait-time", ctx.loc2pos(yystack_[2].location));
-    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("reclaim-timer-wait-time", value);
 }
-#line 2204 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2263 "dhcp6_parser.cc"
     break;
 
-  case 317:
-#line 1268 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 317: // flush_reclaimed_timer_wait_time: "flush-reclaimed-timer-wait-time" ":" "integer"
+#line 1268 "dhcp6_parser.yy"
+                                                                               {
     ctx.unique("flush-reclaimed-timer-wait-time", ctx.loc2pos(yystack_[2].location));
-    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("flush-reclaimed-timer-wait-time", value);
 }
-#line 2214 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2273 "dhcp6_parser.cc"
     break;
 
-  case 318:
-#line 1274 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 318: // hold_reclaimed_time: "hold-reclaimed-time" ":" "integer"
+#line 1274 "dhcp6_parser.yy"
+                                                       {
     ctx.unique("hold-reclaimed-time", ctx.loc2pos(yystack_[2].location));
-    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("hold-reclaimed-time", value);
 }
-#line 2224 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2283 "dhcp6_parser.cc"
     break;
 
-  case 319:
-#line 1280 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 319: // max_reclaim_leases: "max-reclaim-leases" ":" "integer"
+#line 1280 "dhcp6_parser.yy"
+                                                     {
     ctx.unique("max-reclaim-leases", ctx.loc2pos(yystack_[2].location));
-    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("max-reclaim-leases", value);
 }
-#line 2234 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2293 "dhcp6_parser.cc"
     break;
 
-  case 320:
-#line 1286 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 320: // max_reclaim_time: "max-reclaim-time" ":" "integer"
+#line 1286 "dhcp6_parser.yy"
+                                                 {
     ctx.unique("max-reclaim-time", ctx.loc2pos(yystack_[2].location));
-    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("max-reclaim-time", value);
 }
-#line 2244 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2303 "dhcp6_parser.cc"
     break;
 
-  case 321:
-#line 1292 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 321: // unwarned_reclaim_cycles: "unwarned-reclaim-cycles" ":" "integer"
+#line 1292 "dhcp6_parser.yy"
+                                                               {
     ctx.unique("unwarned-reclaim-cycles", ctx.loc2pos(yystack_[2].location));
-    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("unwarned-reclaim-cycles", value);
 }
-#line 2254 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2313 "dhcp6_parser.cc"
     break;
 
-  case 322:
-#line 1301 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 322: // $@56: %empty
+#line 1301 "dhcp6_parser.yy"
+                      {
     ctx.unique("subnet6", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("subnet6", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.SUBNET6);
 }
-#line 2266 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2325 "dhcp6_parser.cc"
     break;
 
-  case 323:
-#line 1307 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 323: // subnet6_list: "subnet6" $@56 ":" "[" subnet6_list_content "]"
+#line 1307 "dhcp6_parser.yy"
+                                                             {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2275 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2334 "dhcp6_parser.cc"
     break;
 
-  case 328:
-#line 1327 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 328: // $@57: %empty
+#line 1327 "dhcp6_parser.yy"
+                        {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2285 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2344 "dhcp6_parser.cc"
     break;
 
-  case 329:
-#line 1331 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 329: // subnet6: "{" $@57 subnet6_params "}"
+#line 1331 "dhcp6_parser.yy"
+                                {
     // Once we reached this place, the subnet parsing is now complete.
     // If we want to, we can implement default values here.
     // In particular we can do things like this:
@@ -2307,596 +2366,596 @@ namespace isc { namespace dhcp {
     ctx.require("subnet", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2311 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2370 "dhcp6_parser.cc"
     break;
 
-  case 330:
-#line 1353 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 330: // $@58: %empty
+#line 1353 "dhcp6_parser.yy"
+                            {
     // Parse the subnet6 list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2321 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2380 "dhcp6_parser.cc"
     break;
 
-  case 331:
-#line 1357 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 331: // sub_subnet6: "{" $@58 subnet6_params "}"
+#line 1357 "dhcp6_parser.yy"
+                                {
     // The subnet subnet6 parameter is required
     ctx.require("subnet", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 2331 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2390 "dhcp6_parser.cc"
     break;
 
-  case 374:
-#line 1411 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 374: // $@59: %empty
+#line 1411 "dhcp6_parser.yy"
+               {
     ctx.unique("subnet", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2340 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2399 "dhcp6_parser.cc"
     break;
 
-  case 375:
-#line 1414 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr subnet(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 375: // subnet: "subnet" $@59 ":" "constant string"
+#line 1414 "dhcp6_parser.yy"
+               {
+    ElementPtr subnet(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("subnet", subnet);
     ctx.leave();
 }
-#line 2350 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2409 "dhcp6_parser.cc"
     break;
 
-  case 376:
-#line 1420 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 376: // $@60: %empty
+#line 1420 "dhcp6_parser.yy"
+                     {
     ctx.unique("interface", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2359 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2418 "dhcp6_parser.cc"
     break;
 
-  case 377:
-#line 1423 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr iface(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 377: // interface: "interface" $@60 ":" "constant string"
+#line 1423 "dhcp6_parser.yy"
+               {
+    ElementPtr iface(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("interface", iface);
     ctx.leave();
 }
-#line 2369 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2428 "dhcp6_parser.cc"
     break;
 
-  case 378:
-#line 1429 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 378: // $@61: %empty
+#line 1429 "dhcp6_parser.yy"
+                           {
     ctx.unique("interface-id", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2378 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2437 "dhcp6_parser.cc"
     break;
 
-  case 379:
-#line 1432 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr iface(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 379: // interface_id: "interface-id" $@61 ":" "constant string"
+#line 1432 "dhcp6_parser.yy"
+               {
+    ElementPtr iface(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("interface-id", iface);
     ctx.leave();
 }
-#line 2388 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2447 "dhcp6_parser.cc"
     break;
 
-  case 380:
-#line 1438 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 380: // $@62: %empty
+#line 1438 "dhcp6_parser.yy"
+                           {
     ctx.unique("client-class", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2397 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2456 "dhcp6_parser.cc"
     break;
 
-  case 381:
-#line 1441 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr cls(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 381: // client_class: "client-class" $@62 ":" "constant string"
+#line 1441 "dhcp6_parser.yy"
+               {
+    ElementPtr cls(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("client-class", cls);
     ctx.leave();
 }
-#line 2407 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2466 "dhcp6_parser.cc"
     break;
 
-  case 382:
-#line 1447 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 382: // $@63: %empty
+#line 1447 "dhcp6_parser.yy"
+                                               {
     ctx.unique("require-client-classes", ctx.loc2pos(yystack_[0].location));
     ElementPtr c(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("require-client-classes", c);
     ctx.stack_.push_back(c);
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2419 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2478 "dhcp6_parser.cc"
     break;
 
-  case 383:
-#line 1453 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 383: // require_client_classes: "require-client-classes" $@63 ":" list_strings
+#line 1453 "dhcp6_parser.yy"
+                     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2428 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2487 "dhcp6_parser.cc"
     break;
 
-  case 384:
-#line 1458 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 384: // $@64: %empty
+#line 1458 "dhcp6_parser.yy"
+                                   {
     ctx.unique("reservation-mode", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.RESERVATION_MODE);
 }
-#line 2437 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2496 "dhcp6_parser.cc"
     break;
 
-  case 385:
-#line 1461 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set("reservation-mode", yystack_[0].value.as< ElementPtr > ());
+  case 385: // reservation_mode: "reservation-mode" $@64 ":" hr_mode
+#line 1461 "dhcp6_parser.yy"
+                {
+    ctx.stack_.back()->set("reservation-mode", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 2446 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2505 "dhcp6_parser.cc"
     break;
 
-  case 386:
-#line 1466 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("disabled", ctx.loc2pos(yystack_[0].location))); }
-#line 2452 "dhcp6_parser.cc" // lalr1.cc:859
+  case 386: // hr_mode: "disabled"
+#line 1466 "dhcp6_parser.yy"
+                  { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("disabled", ctx.loc2pos(yystack_[0].location))); }
+#line 2511 "dhcp6_parser.cc"
     break;
 
-  case 387:
-#line 1467 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("out-of-pool", ctx.loc2pos(yystack_[0].location))); }
-#line 2458 "dhcp6_parser.cc" // lalr1.cc:859
+  case 387: // hr_mode: "out-of-pool"
+#line 1467 "dhcp6_parser.yy"
+                     { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("out-of-pool", ctx.loc2pos(yystack_[0].location))); }
+#line 2517 "dhcp6_parser.cc"
     break;
 
-  case 388:
-#line 1468 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("global", ctx.loc2pos(yystack_[0].location))); }
-#line 2464 "dhcp6_parser.cc" // lalr1.cc:859
+  case 388: // hr_mode: "global"
+#line 1468 "dhcp6_parser.yy"
+                { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("global", ctx.loc2pos(yystack_[0].location))); }
+#line 2523 "dhcp6_parser.cc"
     break;
 
-  case 389:
-#line 1469 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("all", ctx.loc2pos(yystack_[0].location))); }
-#line 2470 "dhcp6_parser.cc" // lalr1.cc:859
+  case 389: // hr_mode: "all"
+#line 1469 "dhcp6_parser.yy"
+             { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("all", ctx.loc2pos(yystack_[0].location))); }
+#line 2529 "dhcp6_parser.cc"
     break;
 
-  case 390:
-#line 1472 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 390: // id: "id" ":" "integer"
+#line 1472 "dhcp6_parser.yy"
+                     {
     ctx.unique("id", ctx.loc2pos(yystack_[2].location));
-    ElementPtr id(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr id(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("id", id);
 }
-#line 2480 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2539 "dhcp6_parser.cc"
     break;
 
-  case 391:
-#line 1478 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 391: // rapid_commit: "rapid-commit" ":" "boolean"
+#line 1478 "dhcp6_parser.yy"
+                                         {
     ctx.unique("rapid-commit", ctx.loc2pos(yystack_[2].location));
-    ElementPtr rc(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr rc(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("rapid-commit", rc);
 }
-#line 2490 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2549 "dhcp6_parser.cc"
     break;
 
-  case 392:
-#line 1486 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 392: // $@65: %empty
+#line 1486 "dhcp6_parser.yy"
+                                 {
     ctx.unique("shared-networks", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("shared-networks", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.SHARED_NETWORK);
 }
-#line 2502 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2561 "dhcp6_parser.cc"
     break;
 
-  case 393:
-#line 1492 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 393: // shared_networks: "shared-networks" $@65 ":" "[" shared_networks_content "]"
+#line 1492 "dhcp6_parser.yy"
+                                                                {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2511 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2570 "dhcp6_parser.cc"
     break;
 
-  case 398:
-#line 1507 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 398: // $@66: %empty
+#line 1507 "dhcp6_parser.yy"
+                               {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2521 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2580 "dhcp6_parser.cc"
     break;
 
-  case 399:
-#line 1511 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 399: // shared_network: "{" $@66 shared_network_params "}"
+#line 1511 "dhcp6_parser.yy"
+                                       {
     ctx.stack_.pop_back();
 }
-#line 2529 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2588 "dhcp6_parser.cc"
     break;
 
-  case 439:
-#line 1562 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 439: // $@67: %empty
+#line 1562 "dhcp6_parser.yy"
+                            {
     ctx.unique("option-def", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("option-def", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.OPTION_DEF);
 }
-#line 2541 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2600 "dhcp6_parser.cc"
     break;
 
-  case 440:
-#line 1568 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 440: // option_def_list: "option-def" $@67 ":" "[" option_def_list_content "]"
+#line 1568 "dhcp6_parser.yy"
+                                                                {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2550 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2609 "dhcp6_parser.cc"
     break;
 
-  case 441:
-#line 1576 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 441: // $@68: %empty
+#line 1576 "dhcp6_parser.yy"
+                                    {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2559 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2618 "dhcp6_parser.cc"
     break;
 
-  case 442:
-#line 1579 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 442: // sub_option_def_list: "{" $@68 option_def_list "}"
+#line 1579 "dhcp6_parser.yy"
+                                 {
     // parsing completed
 }
-#line 2567 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2626 "dhcp6_parser.cc"
     break;
 
-  case 447:
-#line 1595 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 447: // $@69: %empty
+#line 1595 "dhcp6_parser.yy"
+                                 {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2577 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2636 "dhcp6_parser.cc"
     break;
 
-  case 448:
-#line 1599 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 448: // option_def_entry: "{" $@69 option_def_params "}"
+#line 1599 "dhcp6_parser.yy"
+                                   {
     // The name, code and type option def parameters are required.
     ctx.require("name", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.require("code", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2589 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2648 "dhcp6_parser.cc"
     break;
 
-  case 449:
-#line 1610 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 449: // $@70: %empty
+#line 1610 "dhcp6_parser.yy"
+                               {
     // Parse the option-def list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2599 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2658 "dhcp6_parser.cc"
     break;
 
-  case 450:
-#line 1614 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 450: // sub_option_def: "{" $@70 option_def_params "}"
+#line 1614 "dhcp6_parser.yy"
+                                   {
     // The name, code and type option def parameters are required.
     ctx.require("name", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.require("code", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 2611 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2670 "dhcp6_parser.cc"
     break;
 
-  case 466:
-#line 1646 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 466: // code: "code" ":" "integer"
+#line 1646 "dhcp6_parser.yy"
+                         {
     ctx.unique("code", ctx.loc2pos(yystack_[2].location));
-    ElementPtr code(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr code(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("code", code);
 }
-#line 2621 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2680 "dhcp6_parser.cc"
     break;
 
-  case 468:
-#line 1654 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 468: // $@71: %empty
+#line 1654 "dhcp6_parser.yy"
+                      {
     ctx.unique("type", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2630 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2689 "dhcp6_parser.cc"
     break;
 
-  case 469:
-#line 1657 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr prf(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 469: // option_def_type: "type" $@71 ":" "constant string"
+#line 1657 "dhcp6_parser.yy"
+               {
+    ElementPtr prf(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("type", prf);
     ctx.leave();
 }
-#line 2640 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2699 "dhcp6_parser.cc"
     break;
 
-  case 470:
-#line 1663 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 470: // $@72: %empty
+#line 1663 "dhcp6_parser.yy"
+                                      {
     ctx.unique("record-types", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2649 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2708 "dhcp6_parser.cc"
     break;
 
-  case 471:
-#line 1666 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr rtypes(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 471: // option_def_record_types: "record-types" $@72 ":" "constant string"
+#line 1666 "dhcp6_parser.yy"
+               {
+    ElementPtr rtypes(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("record-types", rtypes);
     ctx.leave();
 }
-#line 2659 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2718 "dhcp6_parser.cc"
     break;
 
-  case 472:
-#line 1672 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 472: // $@73: %empty
+#line 1672 "dhcp6_parser.yy"
+             {
     ctx.unique("space", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2668 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2727 "dhcp6_parser.cc"
     break;
 
-  case 473:
-#line 1675 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr space(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 473: // space: "space" $@73 ":" "constant string"
+#line 1675 "dhcp6_parser.yy"
+               {
+    ElementPtr space(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("space", space);
     ctx.leave();
 }
-#line 2678 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2737 "dhcp6_parser.cc"
     break;
 
-  case 475:
-#line 1683 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 475: // $@74: %empty
+#line 1683 "dhcp6_parser.yy"
+                                    {
     ctx.unique("encapsulate", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2687 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2746 "dhcp6_parser.cc"
     break;
 
-  case 476:
-#line 1686 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr encap(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 476: // option_def_encapsulate: "encapsulate" $@74 ":" "constant string"
+#line 1686 "dhcp6_parser.yy"
+               {
+    ElementPtr encap(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("encapsulate", encap);
     ctx.leave();
 }
-#line 2697 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2756 "dhcp6_parser.cc"
     break;
 
-  case 477:
-#line 1692 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 477: // option_def_array: "array" ":" "boolean"
+#line 1692 "dhcp6_parser.yy"
+                                      {
     ctx.unique("array", ctx.loc2pos(yystack_[2].location));
-    ElementPtr array(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr array(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("array", array);
 }
-#line 2707 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2766 "dhcp6_parser.cc"
     break;
 
-  case 478:
-#line 1702 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 478: // $@75: %empty
+#line 1702 "dhcp6_parser.yy"
+                              {
     ctx.unique("option-data", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("option-data", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.OPTION_DATA);
 }
-#line 2719 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2778 "dhcp6_parser.cc"
     break;
 
-  case 479:
-#line 1708 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 479: // option_data_list: "option-data" $@75 ":" "[" option_data_list_content "]"
+#line 1708 "dhcp6_parser.yy"
+                                                                 {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2728 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2787 "dhcp6_parser.cc"
     break;
 
-  case 484:
-#line 1727 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 484: // $@76: %empty
+#line 1727 "dhcp6_parser.yy"
+                                  {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2738 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2797 "dhcp6_parser.cc"
     break;
 
-  case 485:
-#line 1731 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 485: // option_data_entry: "{" $@76 option_data_params "}"
+#line 1731 "dhcp6_parser.yy"
+                                    {
     /// @todo: the code or name parameters are required.
     ctx.stack_.pop_back();
 }
-#line 2747 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2806 "dhcp6_parser.cc"
     break;
 
-  case 486:
-#line 1739 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 486: // $@77: %empty
+#line 1739 "dhcp6_parser.yy"
+                                {
     // Parse the option-data list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2757 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2816 "dhcp6_parser.cc"
     break;
 
-  case 487:
-#line 1743 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 487: // sub_option_data: "{" $@77 option_data_params "}"
+#line 1743 "dhcp6_parser.yy"
+                                    {
     /// @todo: the code or name parameters are required.
     // parsing completed
 }
-#line 2766 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2825 "dhcp6_parser.cc"
     break;
 
-  case 502:
-#line 1776 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 502: // $@78: %empty
+#line 1776 "dhcp6_parser.yy"
+                       {
     ctx.unique("data", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2775 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2834 "dhcp6_parser.cc"
     break;
 
-  case 503:
-#line 1779 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr data(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 503: // option_data_data: "data" $@78 ":" "constant string"
+#line 1779 "dhcp6_parser.yy"
+               {
+    ElementPtr data(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("data", data);
     ctx.leave();
 }
-#line 2785 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2844 "dhcp6_parser.cc"
     break;
 
-  case 506:
-#line 1789 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 506: // option_data_csv_format: "csv-format" ":" "boolean"
+#line 1789 "dhcp6_parser.yy"
+                                                 {
     ctx.unique("csv-format", ctx.loc2pos(yystack_[2].location));
-    ElementPtr space(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr space(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("csv-format", space);
 }
-#line 2795 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2854 "dhcp6_parser.cc"
     break;
 
-  case 507:
-#line 1795 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 507: // option_data_always_send: "always-send" ":" "boolean"
+#line 1795 "dhcp6_parser.yy"
+                                                   {
     ctx.unique("always-send", ctx.loc2pos(yystack_[2].location));
-    ElementPtr persist(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr persist(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("always-send", persist);
 }
-#line 2805 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2864 "dhcp6_parser.cc"
     break;
 
-  case 508:
-#line 1804 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 508: // $@79: %empty
+#line 1804 "dhcp6_parser.yy"
+                  {
     ctx.unique("pools", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("pools", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.POOLS);
 }
-#line 2817 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2876 "dhcp6_parser.cc"
     break;
 
-  case 509:
-#line 1810 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 509: // pools_list: "pools" $@79 ":" "[" pools_list_content "]"
+#line 1810 "dhcp6_parser.yy"
+                                                           {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2826 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2885 "dhcp6_parser.cc"
     break;
 
-  case 514:
-#line 1825 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 514: // $@80: %empty
+#line 1825 "dhcp6_parser.yy"
+                                {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2836 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2895 "dhcp6_parser.cc"
     break;
 
-  case 515:
-#line 1829 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 515: // pool_list_entry: "{" $@80 pool_params "}"
+#line 1829 "dhcp6_parser.yy"
+                             {
     // The pool parameter is required.
     ctx.require("pool", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2846 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2905 "dhcp6_parser.cc"
     break;
 
-  case 516:
-#line 1835 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 516: // $@81: %empty
+#line 1835 "dhcp6_parser.yy"
+                          {
     // Parse the pool list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2856 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2915 "dhcp6_parser.cc"
     break;
 
-  case 517:
-#line 1839 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 517: // sub_pool6: "{" $@81 pool_params "}"
+#line 1839 "dhcp6_parser.yy"
+                             {
     // The pool parameter is required.
     ctx.require("pool", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 2866 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2925 "dhcp6_parser.cc"
     break;
 
-  case 527:
-#line 1858 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 527: // $@82: %empty
+#line 1858 "dhcp6_parser.yy"
+                 {
     ctx.unique("pool", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2875 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2934 "dhcp6_parser.cc"
     break;
 
-  case 528:
-#line 1861 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr pool(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 528: // pool_entry: "pool" $@82 ":" "constant string"
+#line 1861 "dhcp6_parser.yy"
+               {
+    ElementPtr pool(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("pool", pool);
     ctx.leave();
 }
-#line 2885 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2944 "dhcp6_parser.cc"
     break;
 
-  case 529:
-#line 1867 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 529: // $@83: %empty
+#line 1867 "dhcp6_parser.yy"
+                           {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2893 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2952 "dhcp6_parser.cc"
     break;
 
-  case 530:
-#line 1869 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 530: // user_context: "user-context" $@83 ":" map_value
+#line 1869 "dhcp6_parser.yy"
+                  {
     ElementPtr parent = ctx.stack_.back();
-    ElementPtr user_context = yystack_[0].value.as< ElementPtr > ();
+    ElementPtr user_context = yystack_[0].value.as < ElementPtr > ();
     ConstElementPtr old = parent->get("user-context");
 
     // Handle already existing user context
@@ -2916,23 +2975,23 @@ namespace isc { namespace dhcp {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 2920 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2979 "dhcp6_parser.cc"
     break;
 
-  case 531:
-#line 1892 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 531: // $@84: %empty
+#line 1892 "dhcp6_parser.yy"
+                 {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2928 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2987 "dhcp6_parser.cc"
     break;
 
-  case 532:
-#line 1894 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 532: // comment: "comment" $@84 ":" "constant string"
+#line 1894 "dhcp6_parser.yy"
+               {
     ElementPtr parent = ctx.stack_.back();
     ElementPtr user_context(new MapElement(ctx.loc2pos(yystack_[3].location)));
-    ElementPtr comment(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr comment(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     user_context->set("comment", comment);
 
     // Handle already existing user context
@@ -2953,1259 +3012,1263 @@ namespace isc { namespace dhcp {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 2957 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3016 "dhcp6_parser.cc"
     break;
 
-  case 533:
-#line 1922 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 533: // $@85: %empty
+#line 1922 "dhcp6_parser.yy"
+                        {
     ctx.unique("pd-pools", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("pd-pools", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.PD_POOLS);
 }
-#line 2969 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3028 "dhcp6_parser.cc"
     break;
 
-  case 534:
-#line 1928 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 534: // pd_pools_list: "pd-pools" $@85 ":" "[" pd_pools_list_content "]"
+#line 1928 "dhcp6_parser.yy"
+                                                              {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2978 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3037 "dhcp6_parser.cc"
     break;
 
-  case 539:
-#line 1943 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 539: // $@86: %empty
+#line 1943 "dhcp6_parser.yy"
+                              {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2988 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3047 "dhcp6_parser.cc"
     break;
 
-  case 540:
-#line 1947 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 540: // pd_pool_entry: "{" $@86 pd_pool_params "}"
+#line 1947 "dhcp6_parser.yy"
+                                {
     // The prefix, prefix len and delegated len parameters are required.
     ctx.require("prefix", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.require("prefix-len", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.require("delegated-len", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 3000 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3059 "dhcp6_parser.cc"
     break;
 
-  case 541:
-#line 1955 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 541: // $@87: %empty
+#line 1955 "dhcp6_parser.yy"
+                            {
     // Parse the pd-pool list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3010 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3069 "dhcp6_parser.cc"
     break;
 
-  case 542:
-#line 1959 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 542: // sub_pd_pool: "{" $@87 pd_pool_params "}"
+#line 1959 "dhcp6_parser.yy"
+                                {
     // The prefix, prefix len and delegated len parameters are required.
     ctx.require("prefix", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.require("prefix-len", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.require("delegated-len", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 3022 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3081 "dhcp6_parser.cc"
     break;
 
-  case 556:
-#line 1984 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 556: // $@88: %empty
+#line 1984 "dhcp6_parser.yy"
+                  {
     ctx.unique("prefix", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3031 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3090 "dhcp6_parser.cc"
     break;
 
-  case 557:
-#line 1987 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr prf(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 557: // pd_prefix: "prefix" $@88 ":" "constant string"
+#line 1987 "dhcp6_parser.yy"
+               {
+    ElementPtr prf(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("prefix", prf);
     ctx.leave();
 }
-#line 3041 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3100 "dhcp6_parser.cc"
     break;
 
-  case 558:
-#line 1993 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 558: // pd_prefix_len: "prefix-len" ":" "integer"
+#line 1993 "dhcp6_parser.yy"
+                                        {
     ctx.unique("prefix-len", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("prefix-len", prf);
 }
-#line 3051 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3110 "dhcp6_parser.cc"
     break;
 
-  case 559:
-#line 1999 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 559: // $@89: %empty
+#line 1999 "dhcp6_parser.yy"
+                                 {
     ctx.unique("excluded-prefix", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3060 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3119 "dhcp6_parser.cc"
     break;
 
-  case 560:
-#line 2002 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr prf(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 560: // excluded_prefix: "excluded-prefix" $@89 ":" "constant string"
+#line 2002 "dhcp6_parser.yy"
+               {
+    ElementPtr prf(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("excluded-prefix", prf);
     ctx.leave();
 }
-#line 3070 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3129 "dhcp6_parser.cc"
     break;
 
-  case 561:
-#line 2008 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 561: // excluded_prefix_len: "excluded-prefix-len" ":" "integer"
+#line 2008 "dhcp6_parser.yy"
+                                                       {
     ctx.unique("excluded-prefix-len", ctx.loc2pos(yystack_[2].location));
-    ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("excluded-prefix-len", prf);
 }
-#line 3080 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3139 "dhcp6_parser.cc"
     break;
 
-  case 562:
-#line 2014 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 562: // pd_delegated_len: "delegated-len" ":" "integer"
+#line 2014 "dhcp6_parser.yy"
+                                              {
     ctx.unique("delegated-len", ctx.loc2pos(yystack_[2].location));
-    ElementPtr deleg(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr deleg(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("delegated-len", deleg);
 }
-#line 3090 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3149 "dhcp6_parser.cc"
     break;
 
-  case 563:
-#line 2023 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 563: // $@90: %empty
+#line 2023 "dhcp6_parser.yy"
+                           {
     ctx.unique("reservations", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("reservations", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.RESERVATIONS);
 }
-#line 3102 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3161 "dhcp6_parser.cc"
     break;
 
-  case 564:
-#line 2029 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 564: // reservations: "reservations" $@90 ":" "[" reservations_list "]"
+#line 2029 "dhcp6_parser.yy"
+                                                          {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3111 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3170 "dhcp6_parser.cc"
     break;
 
-  case 569:
-#line 2042 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 569: // $@91: %empty
+#line 2042 "dhcp6_parser.yy"
+                            {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 3121 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3180 "dhcp6_parser.cc"
     break;
 
-  case 570:
-#line 2046 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 570: // reservation: "{" $@91 reservation_params "}"
+#line 2046 "dhcp6_parser.yy"
+                                    {
     /// @todo: an identifier parameter is required.
     ctx.stack_.pop_back();
 }
-#line 3130 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3189 "dhcp6_parser.cc"
     break;
 
-  case 571:
-#line 2051 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 571: // $@92: %empty
+#line 2051 "dhcp6_parser.yy"
+                                {
     // Parse the reservations list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3140 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3199 "dhcp6_parser.cc"
     break;
 
-  case 572:
-#line 2055 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 572: // sub_reservation: "{" $@92 reservation_params "}"
+#line 2055 "dhcp6_parser.yy"
+                                    {
     /// @todo: an identifier parameter is required.
     // parsing completed
 }
-#line 3149 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3208 "dhcp6_parser.cc"
     break;
 
-  case 588:
-#line 2082 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 588: // $@93: %empty
+#line 2082 "dhcp6_parser.yy"
+                           {
     ctx.unique("ip-addresses", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ip-addresses", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3161 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3220 "dhcp6_parser.cc"
     break;
 
-  case 589:
-#line 2088 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 589: // ip_addresses: "ip-addresses" $@93 ":" list_strings
+#line 2088 "dhcp6_parser.yy"
+                     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3170 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3229 "dhcp6_parser.cc"
     break;
 
-  case 590:
-#line 2093 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 590: // $@94: %empty
+#line 2093 "dhcp6_parser.yy"
+                   {
     ctx.unique("prefixes", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("prefixes", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3182 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3241 "dhcp6_parser.cc"
     break;
 
-  case 591:
-#line 2099 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 591: // prefixes: "prefixes" $@94 ":" list_strings
+#line 2099 "dhcp6_parser.yy"
+                     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3191 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3250 "dhcp6_parser.cc"
     break;
 
-  case 592:
-#line 2104 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 592: // $@95: %empty
+#line 2104 "dhcp6_parser.yy"
+           {
     ctx.unique("duid", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3200 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3259 "dhcp6_parser.cc"
     break;
 
-  case 593:
-#line 2107 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr d(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 593: // duid: "duid" $@95 ":" "constant string"
+#line 2107 "dhcp6_parser.yy"
+               {
+    ElementPtr d(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("duid", d);
     ctx.leave();
 }
-#line 3210 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3269 "dhcp6_parser.cc"
     break;
 
-  case 594:
-#line 2113 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 594: // $@96: %empty
+#line 2113 "dhcp6_parser.yy"
+                       {
     ctx.unique("hw-address", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3219 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3278 "dhcp6_parser.cc"
     break;
 
-  case 595:
-#line 2116 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr hw(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 595: // hw_address: "hw-address" $@96 ":" "constant string"
+#line 2116 "dhcp6_parser.yy"
+               {
+    ElementPtr hw(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hw-address", hw);
     ctx.leave();
 }
-#line 3229 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3288 "dhcp6_parser.cc"
     break;
 
-  case 596:
-#line 2122 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 596: // $@97: %empty
+#line 2122 "dhcp6_parser.yy"
+                   {
     ctx.unique("hostname", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3238 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3297 "dhcp6_parser.cc"
     break;
 
-  case 597:
-#line 2125 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr host(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 597: // hostname: "hostname" $@97 ":" "constant string"
+#line 2125 "dhcp6_parser.yy"
+               {
+    ElementPtr host(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hostname", host);
     ctx.leave();
 }
-#line 3248 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3307 "dhcp6_parser.cc"
     break;
 
-  case 598:
-#line 2131 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 598: // $@98: %empty
+#line 2131 "dhcp6_parser.yy"
+                       {
     ctx.unique("flex-id", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3257 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3316 "dhcp6_parser.cc"
     break;
 
-  case 599:
-#line 2134 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr hw(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 599: // flex_id_value: "flex-id" $@98 ":" "constant string"
+#line 2134 "dhcp6_parser.yy"
+               {
+    ElementPtr hw(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("flex-id", hw);
     ctx.leave();
 }
-#line 3267 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3326 "dhcp6_parser.cc"
     break;
 
-  case 600:
-#line 2140 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 600: // $@99: %empty
+#line 2140 "dhcp6_parser.yy"
+                                           {
     ctx.unique("client-classes", ctx.loc2pos(yystack_[0].location));
     ElementPtr c(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("client-classes", c);
     ctx.stack_.push_back(c);
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3279 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3338 "dhcp6_parser.cc"
     break;
 
-  case 601:
-#line 2146 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 601: // reservation_client_classes: "client-classes" $@99 ":" list_strings
+#line 2146 "dhcp6_parser.yy"
+                     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3288 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3347 "dhcp6_parser.cc"
     break;
 
-  case 602:
-#line 2154 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 602: // $@100: %empty
+#line 2154 "dhcp6_parser.yy"
+             {
     ctx.unique("relay", ctx.loc2pos(yystack_[0].location));
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("relay", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.RELAY);
 }
-#line 3300 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3359 "dhcp6_parser.cc"
     break;
 
-  case 603:
-#line 2160 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 603: // relay: "relay" $@100 ":" "{" relay_map "}"
+#line 2160 "dhcp6_parser.yy"
+                                                {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3309 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3368 "dhcp6_parser.cc"
     break;
 
-  case 606:
-#line 2169 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 606: // $@101: %empty
+#line 2169 "dhcp6_parser.yy"
+                       {
     ctx.unique("ip-address", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3318 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3377 "dhcp6_parser.cc"
     break;
 
-  case 607:
-#line 2172 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr addr(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 607: // ip_address: "ip-address" $@101 ":" "constant string"
+#line 2172 "dhcp6_parser.yy"
+               {
+    ElementPtr addr(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ip-address", addr);
     ctx.leave();
 }
-#line 3328 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3387 "dhcp6_parser.cc"
     break;
 
-  case 608:
-#line 2181 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 608: // $@102: %empty
+#line 2181 "dhcp6_parser.yy"
+                               {
     ctx.unique("client-classes", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("client-classes", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.CLIENT_CLASSES);
 }
-#line 3340 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3399 "dhcp6_parser.cc"
     break;
 
-  case 609:
-#line 2187 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 609: // client_classes: "client-classes" $@102 ":" "[" client_classes_list "]"
+#line 2187 "dhcp6_parser.yy"
+                                                            {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3349 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3408 "dhcp6_parser.cc"
     break;
 
-  case 612:
-#line 2196 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 612: // $@103: %empty
+#line 2196 "dhcp6_parser.yy"
+                                   {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 3359 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3418 "dhcp6_parser.cc"
     break;
 
-  case 613:
-#line 2200 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 613: // client_class_entry: "{" $@103 client_class_params "}"
+#line 2200 "dhcp6_parser.yy"
+                                     {
     // The name client class parameter is required.
     ctx.require("name", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 3369 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3428 "dhcp6_parser.cc"
     break;
 
-  case 626:
-#line 2225 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 626: // $@104: %empty
+#line 2225 "dhcp6_parser.yy"
+                        {
     ctx.unique("test", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3378 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3437 "dhcp6_parser.cc"
     break;
 
-  case 627:
-#line 2228 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr test(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 627: // client_class_test: "test" $@104 ":" "constant string"
+#line 2228 "dhcp6_parser.yy"
+               {
+    ElementPtr test(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("test", test);
     ctx.leave();
 }
-#line 3388 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3447 "dhcp6_parser.cc"
     break;
 
-  case 628:
-#line 2234 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 628: // only_if_required: "only-if-required" ":" "boolean"
+#line 2234 "dhcp6_parser.yy"
+                                                 {
     ctx.unique("only-if-required", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("only-if-required", b);
 }
-#line 3398 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3457 "dhcp6_parser.cc"
     break;
 
-  case 629:
-#line 2243 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 629: // $@105: %empty
+#line 2243 "dhcp6_parser.yy"
+                     {
     ctx.unique("server-id", ctx.loc2pos(yystack_[0].location));
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("server-id", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.SERVER_ID);
 }
-#line 3410 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3469 "dhcp6_parser.cc"
     break;
 
-  case 630:
-#line 2249 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 630: // server_id: "server-id" $@105 ":" "{" server_id_params "}"
+#line 2249 "dhcp6_parser.yy"
+                                                       {
     // The type parameter is required.
     ctx.require("type", ctx.loc2pos(yystack_[2].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3421 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3480 "dhcp6_parser.cc"
     break;
 
-  case 642:
-#line 2271 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 642: // $@106: %empty
+#line 2271 "dhcp6_parser.yy"
+                     {
     ctx.unique("type", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.DUID_TYPE);
 }
-#line 3430 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3489 "dhcp6_parser.cc"
     break;
 
-  case 643:
-#line 2274 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set("type", yystack_[0].value.as< ElementPtr > ());
+  case 643: // server_id_type: "type" $@106 ":" duid_type
+#line 2274 "dhcp6_parser.yy"
+                  {
+    ctx.stack_.back()->set("type", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3439 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3498 "dhcp6_parser.cc"
     break;
 
-  case 644:
-#line 2279 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("LLT", ctx.loc2pos(yystack_[0].location))); }
-#line 3445 "dhcp6_parser.cc" // lalr1.cc:859
+  case 644: // duid_type: "LLT"
+#line 2279 "dhcp6_parser.yy"
+               { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("LLT", ctx.loc2pos(yystack_[0].location))); }
+#line 3504 "dhcp6_parser.cc"
     break;
 
-  case 645:
-#line 2280 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("EN", ctx.loc2pos(yystack_[0].location))); }
-#line 3451 "dhcp6_parser.cc" // lalr1.cc:859
+  case 645: // duid_type: "EN"
+#line 2280 "dhcp6_parser.yy"
+              { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("EN", ctx.loc2pos(yystack_[0].location))); }
+#line 3510 "dhcp6_parser.cc"
     break;
 
-  case 646:
-#line 2281 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("LL", ctx.loc2pos(yystack_[0].location))); }
-#line 3457 "dhcp6_parser.cc" // lalr1.cc:859
+  case 646: // duid_type: "LL"
+#line 2281 "dhcp6_parser.yy"
+              { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("LL", ctx.loc2pos(yystack_[0].location))); }
+#line 3516 "dhcp6_parser.cc"
     break;
 
-  case 647:
-#line 2284 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 647: // htype: "htype" ":" "integer"
+#line 2284 "dhcp6_parser.yy"
+                           {
     ctx.unique("htype", ctx.loc2pos(yystack_[2].location));
-    ElementPtr htype(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr htype(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("htype", htype);
 }
-#line 3467 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3526 "dhcp6_parser.cc"
     break;
 
-  case 648:
-#line 2290 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 648: // $@107: %empty
+#line 2290 "dhcp6_parser.yy"
+                       {
     ctx.unique("identifier", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3476 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3535 "dhcp6_parser.cc"
     break;
 
-  case 649:
-#line 2293 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr id(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 649: // identifier: "identifier" $@107 ":" "constant string"
+#line 2293 "dhcp6_parser.yy"
+               {
+    ElementPtr id(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("identifier", id);
     ctx.leave();
 }
-#line 3486 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3545 "dhcp6_parser.cc"
     break;
 
-  case 650:
-#line 2299 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 650: // time: "time" ":" "integer"
+#line 2299 "dhcp6_parser.yy"
+                         {
     ctx.unique("time", ctx.loc2pos(yystack_[2].location));
-    ElementPtr time(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr time(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("time", time);
 }
-#line 3496 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3555 "dhcp6_parser.cc"
     break;
 
-  case 651:
-#line 2305 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 651: // enterprise_id: "enterprise-id" ":" "integer"
+#line 2305 "dhcp6_parser.yy"
+                                           {
     ctx.unique("enterprise-id", ctx.loc2pos(yystack_[2].location));
-    ElementPtr time(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr time(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("enterprise-id", time);
 }
-#line 3506 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3565 "dhcp6_parser.cc"
     break;
 
-  case 652:
-#line 2313 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 652: // dhcp4o6_port: "dhcp4o6-port" ":" "integer"
+#line 2313 "dhcp6_parser.yy"
+                                         {
     ctx.unique("dhcp4o6-port", ctx.loc2pos(yystack_[2].location));
-    ElementPtr time(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr time(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("dhcp4o6-port", time);
 }
-#line 3516 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3575 "dhcp6_parser.cc"
     break;
 
-  case 653:
-#line 2321 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 653: // $@108: %empty
+#line 2321 "dhcp6_parser.yy"
+                               {
     ctx.unique("control-socket", ctx.loc2pos(yystack_[0].location));
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("control-socket", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.CONTROL_SOCKET);
 }
-#line 3528 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3587 "dhcp6_parser.cc"
     break;
 
-  case 654:
-#line 2327 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 654: // control_socket: "control-socket" $@108 ":" "{" control_socket_params "}"
+#line 2327 "dhcp6_parser.yy"
+                                                            {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3537 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3596 "dhcp6_parser.cc"
     break;
 
-  case 662:
-#line 2343 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 662: // $@109: %empty
+#line 2343 "dhcp6_parser.yy"
+                         {
     ctx.unique("socket-type", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3546 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3605 "dhcp6_parser.cc"
     break;
 
-  case 663:
-#line 2346 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr stype(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 663: // socket_type: "socket-type" $@109 ":" "constant string"
+#line 2346 "dhcp6_parser.yy"
+               {
+    ElementPtr stype(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("socket-type", stype);
     ctx.leave();
 }
-#line 3556 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3615 "dhcp6_parser.cc"
     break;
 
-  case 664:
-#line 2352 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 664: // $@110: %empty
+#line 2352 "dhcp6_parser.yy"
+                         {
     ctx.unique("socket-name", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3565 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3624 "dhcp6_parser.cc"
     break;
 
-  case 665:
-#line 2355 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 665: // socket_name: "socket-name" $@110 ":" "constant string"
+#line 2355 "dhcp6_parser.yy"
+               {
+    ElementPtr name(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("socket-name", name);
     ctx.leave();
 }
-#line 3575 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3634 "dhcp6_parser.cc"
     break;
 
-  case 666:
-#line 2364 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 666: // $@111: %empty
+#line 2364 "dhcp6_parser.yy"
+                                       {
     ctx.unique("dhcp-queue-control", ctx.loc2pos(yystack_[0].location));
     ElementPtr qc(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("dhcp-queue-control", qc);
     ctx.stack_.push_back(qc);
     ctx.enter(ctx.DHCP_QUEUE_CONTROL);
 }
-#line 3587 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3646 "dhcp6_parser.cc"
     break;
 
-  case 667:
-#line 2370 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 667: // dhcp_queue_control: "dhcp-queue-control" $@111 ":" "{" queue_control_params "}"
+#line 2370 "dhcp6_parser.yy"
+                                                           {
     // The enable queue parameter is required.
     ctx.require("enable-queue", ctx.loc2pos(yystack_[2].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3598 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3657 "dhcp6_parser.cc"
     break;
 
-  case 676:
-#line 2389 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 676: // enable_queue: "enable-queue" ":" "boolean"
+#line 2389 "dhcp6_parser.yy"
+                                         {
     ctx.unique("enable-queue", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("enable-queue", b);
 }
-#line 3608 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3667 "dhcp6_parser.cc"
     break;
 
-  case 677:
-#line 2395 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 677: // $@112: %empty
+#line 2395 "dhcp6_parser.yy"
+                       {
     ctx.unique("queue-type", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3617 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3676 "dhcp6_parser.cc"
     break;
 
-  case 678:
-#line 2398 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr qt(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 678: // queue_type: "queue-type" $@112 ":" "constant string"
+#line 2398 "dhcp6_parser.yy"
+               {
+    ElementPtr qt(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("queue-type", qt);
     ctx.leave();
 }
-#line 3627 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3686 "dhcp6_parser.cc"
     break;
 
-  case 679:
-#line 2404 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 679: // capacity: "capacity" ":" "integer"
+#line 2404 "dhcp6_parser.yy"
+                                 {
     ctx.unique("capacity", ctx.loc2pos(yystack_[2].location));
-    ElementPtr c(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr c(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("capacity", c);
 }
-#line 3637 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3696 "dhcp6_parser.cc"
     break;
 
-  case 680:
-#line 2410 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ctx.unique(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location));
+  case 680: // $@113: %empty
+#line 2410 "dhcp6_parser.yy"
+                            {
+    ctx.unique(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3646 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3705 "dhcp6_parser.cc"
     break;
 
-  case 681:
-#line 2413 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set(yystack_[3].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
+  case 681: // arbitrary_map_entry: "constant string" $@113 ":" value
+#line 2413 "dhcp6_parser.yy"
+              {
+    ctx.stack_.back()->set(yystack_[3].value.as < std::string > (), yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3655 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3714 "dhcp6_parser.cc"
     break;
 
-  case 682:
-#line 2420 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 682: // $@114: %empty
+#line 2420 "dhcp6_parser.yy"
+                     {
     ctx.unique("dhcp-ddns", ctx.loc2pos(yystack_[0].location));
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("dhcp-ddns", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.DHCP_DDNS);
 }
-#line 3667 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3726 "dhcp6_parser.cc"
     break;
 
-  case 683:
-#line 2426 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 683: // dhcp_ddns: "dhcp-ddns" $@114 ":" "{" dhcp_ddns_params "}"
+#line 2426 "dhcp6_parser.yy"
+                                                       {
     // The enable updates DHCP DDNS parameter is required.
     ctx.require("enable-updates", ctx.loc2pos(yystack_[2].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3678 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3737 "dhcp6_parser.cc"
     break;
 
-  case 684:
-#line 2433 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 684: // $@115: %empty
+#line 2433 "dhcp6_parser.yy"
+                              {
     // Parse the dhcp-ddns map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3688 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3747 "dhcp6_parser.cc"
     break;
 
-  case 685:
-#line 2437 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 685: // sub_dhcp_ddns: "{" $@115 dhcp_ddns_params "}"
+#line 2437 "dhcp6_parser.yy"
+                                  {
     // The enable updates DHCP DDNS parameter is required.
     ctx.require("enable-updates", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 3698 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3757 "dhcp6_parser.cc"
     break;
 
-  case 706:
-#line 2467 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 706: // enable_updates: "enable-updates" ":" "boolean"
+#line 2467 "dhcp6_parser.yy"
+                                             {
     ctx.unique("enable-updates", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("enable-updates", b);
 }
-#line 3708 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3767 "dhcp6_parser.cc"
     break;
 
-  case 707:
-#line 2474 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 707: // $@116: %empty
+#line 2474 "dhcp6_parser.yy"
+                                         {
     ctx.unique("qualifying-suffix", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3717 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3776 "dhcp6_parser.cc"
     break;
 
-  case 708:
-#line 2477 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 708: // dep_qualifying_suffix: "qualifying-suffix" $@116 ":" "constant string"
+#line 2477 "dhcp6_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("qualifying-suffix", s);
     ctx.leave();
 }
-#line 3727 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3786 "dhcp6_parser.cc"
     break;
 
-  case 709:
-#line 2483 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 709: // $@117: %empty
+#line 2483 "dhcp6_parser.yy"
+                     {
     ctx.unique("server-ip", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3736 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3795 "dhcp6_parser.cc"
     break;
 
-  case 710:
-#line 2486 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 710: // server_ip: "server-ip" $@117 ":" "constant string"
+#line 2486 "dhcp6_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("server-ip", s);
     ctx.leave();
 }
-#line 3746 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3805 "dhcp6_parser.cc"
     break;
 
-  case 711:
-#line 2492 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 711: // server_port: "server-port" ":" "integer"
+#line 2492 "dhcp6_parser.yy"
+                                       {
     ctx.unique("server-port", ctx.loc2pos(yystack_[2].location));
-    ElementPtr i(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr i(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("server-port", i);
 }
-#line 3756 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3815 "dhcp6_parser.cc"
     break;
 
-  case 712:
-#line 2498 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 712: // $@118: %empty
+#line 2498 "dhcp6_parser.yy"
+                     {
     ctx.unique("sender-ip", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3765 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3824 "dhcp6_parser.cc"
     break;
 
-  case 713:
-#line 2501 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 713: // sender_ip: "sender-ip" $@118 ":" "constant string"
+#line 2501 "dhcp6_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("sender-ip", s);
     ctx.leave();
 }
-#line 3775 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3834 "dhcp6_parser.cc"
     break;
 
-  case 714:
-#line 2507 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 714: // sender_port: "sender-port" ":" "integer"
+#line 2507 "dhcp6_parser.yy"
+                                       {
     ctx.unique("sender-port", ctx.loc2pos(yystack_[2].location));
-    ElementPtr i(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr i(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("sender-port", i);
 }
-#line 3785 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3844 "dhcp6_parser.cc"
     break;
 
-  case 715:
-#line 2513 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 715: // max_queue_size: "max-queue-size" ":" "integer"
+#line 2513 "dhcp6_parser.yy"
+                                             {
     ctx.unique("max-queue-size", ctx.loc2pos(yystack_[2].location));
-    ElementPtr i(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr i(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-queue-size", i);
 }
-#line 3795 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3854 "dhcp6_parser.cc"
     break;
 
-  case 716:
-#line 2519 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 716: // $@119: %empty
+#line 2519 "dhcp6_parser.yy"
+                           {
     ctx.unique("ncr-protocol", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NCR_PROTOCOL);
 }
-#line 3804 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3863 "dhcp6_parser.cc"
     break;
 
-  case 717:
-#line 2522 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set("ncr-protocol", yystack_[0].value.as< ElementPtr > ());
+  case 717: // ncr_protocol: "ncr-protocol" $@119 ":" ncr_protocol_value
+#line 2522 "dhcp6_parser.yy"
+                           {
+    ctx.stack_.back()->set("ncr-protocol", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3813 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3872 "dhcp6_parser.cc"
     break;
 
-  case 718:
-#line 2528 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("UDP", ctx.loc2pos(yystack_[0].location))); }
-#line 3819 "dhcp6_parser.cc" // lalr1.cc:859
+  case 718: // ncr_protocol_value: "UDP"
+#line 2528 "dhcp6_parser.yy"
+        { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("UDP", ctx.loc2pos(yystack_[0].location))); }
+#line 3878 "dhcp6_parser.cc"
     break;
 
-  case 719:
-#line 2529 "dhcp6_parser.yy" // lalr1.cc:859
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("TCP", ctx.loc2pos(yystack_[0].location))); }
-#line 3825 "dhcp6_parser.cc" // lalr1.cc:859
+  case 719: // ncr_protocol_value: "TCP"
+#line 2529 "dhcp6_parser.yy"
+        { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("TCP", ctx.loc2pos(yystack_[0].location))); }
+#line 3884 "dhcp6_parser.cc"
     break;
 
-  case 720:
-#line 2532 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 720: // $@120: %empty
+#line 2532 "dhcp6_parser.yy"
+                       {
     ctx.unique("ncr-format", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NCR_FORMAT);
 }
-#line 3834 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3893 "dhcp6_parser.cc"
     break;
 
-  case 721:
-#line 2535 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 721: // ncr_format: "ncr-format" $@120 ":" "JSON"
+#line 2535 "dhcp6_parser.yy"
+             {
     ElementPtr json(new StringElement("JSON", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ncr-format", json);
     ctx.leave();
 }
-#line 3844 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3903 "dhcp6_parser.cc"
     break;
 
-  case 722:
-#line 2542 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 722: // dep_override_no_update: "override-no-update" ":" "boolean"
+#line 2542 "dhcp6_parser.yy"
+                                                         {
     ctx.unique("override-no-update", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("override-no-update", b);
 }
-#line 3854 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3913 "dhcp6_parser.cc"
     break;
 
-  case 723:
-#line 2549 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 723: // dep_override_client_update: "override-client-update" ":" "boolean"
+#line 2549 "dhcp6_parser.yy"
+                                                                 {
     ctx.unique("override-client-update", ctx.loc2pos(yystack_[2].location));
-    ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr b(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("override-client-update", b);
 }
-#line 3864 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3923 "dhcp6_parser.cc"
     break;
 
-  case 724:
-#line 2556 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 724: // $@121: %empty
+#line 2556 "dhcp6_parser.yy"
+                                             {
     ctx.unique("replace-client-name", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.REPLACE_CLIENT_NAME);
 }
-#line 3873 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3932 "dhcp6_parser.cc"
     break;
 
-  case 725:
-#line 2559 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ctx.stack_.back()->set("replace-client-name", yystack_[0].value.as< ElementPtr > ());
+  case 725: // dep_replace_client_name: "replace-client-name" $@121 ":" ddns_replace_client_name_value
+#line 2559 "dhcp6_parser.yy"
+                                       {
+    ctx.stack_.back()->set("replace-client-name", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3882 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3941 "dhcp6_parser.cc"
     break;
 
-  case 726:
-#line 2565 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 726: // $@122: %empty
+#line 2565 "dhcp6_parser.yy"
+                                       {
     ctx.unique("generated-prefix", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3891 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3950 "dhcp6_parser.cc"
     break;
 
-  case 727:
-#line 2568 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 727: // dep_generated_prefix: "generated-prefix" $@122 ":" "constant string"
+#line 2568 "dhcp6_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("generated-prefix", s);
     ctx.leave();
 }
-#line 3901 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3960 "dhcp6_parser.cc"
     break;
 
-  case 728:
-#line 2575 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 728: // $@123: %empty
+#line 2575 "dhcp6_parser.yy"
+                                         {
     ctx.unique("hostname-char-set", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3910 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3969 "dhcp6_parser.cc"
     break;
 
-  case 729:
-#line 2578 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 729: // dep_hostname_char_set: "hostname-char-set" $@123 ":" "constant string"
+#line 2578 "dhcp6_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hostname-char-set", s);
     ctx.leave();
 }
-#line 3920 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3979 "dhcp6_parser.cc"
     break;
 
-  case 730:
-#line 2585 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 730: // $@124: %empty
+#line 2585 "dhcp6_parser.yy"
+                                                         {
     ctx.unique("hostname-char-replacement", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3929 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3988 "dhcp6_parser.cc"
     break;
 
-  case 731:
-#line 2588 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 731: // dep_hostname_char_replacement: "hostname-char-replacement" $@124 ":" "constant string"
+#line 2588 "dhcp6_parser.yy"
+               {
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hostname-char-replacement", s);
     ctx.leave();
 }
-#line 3939 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3998 "dhcp6_parser.cc"
     break;
 
-  case 732:
-#line 2597 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 732: // $@125: %empty
+#line 2597 "dhcp6_parser.yy"
+                               {
     ctx.unique("config-control", ctx.loc2pos(yystack_[0].location));
     ElementPtr i(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("config-control", i);
     ctx.stack_.push_back(i);
     ctx.enter(ctx.CONFIG_CONTROL);
 }
-#line 3951 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4010 "dhcp6_parser.cc"
     break;
 
-  case 733:
-#line 2603 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 733: // config_control: "config-control" $@125 ":" "{" config_control_params "}"
+#line 2603 "dhcp6_parser.yy"
+                                                            {
     // No config control params are required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3961 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4020 "dhcp6_parser.cc"
     break;
 
-  case 734:
-#line 2609 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 734: // $@126: %empty
+#line 2609 "dhcp6_parser.yy"
+                                   {
     // Parse the config-control map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3971 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4030 "dhcp6_parser.cc"
     break;
 
-  case 735:
-#line 2613 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 735: // sub_config_control: "{" $@126 config_control_params "}"
+#line 2613 "dhcp6_parser.yy"
+                                       {
     // No config_control params are required
     // parsing completed
 }
-#line 3980 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4039 "dhcp6_parser.cc"
     break;
 
-  case 740:
-#line 2628 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 740: // $@127: %empty
+#line 2628 "dhcp6_parser.yy"
+                                   {
     ctx.unique("config-databases", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("config-databases", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.CONFIG_DATABASE);
 }
-#line 3992 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4051 "dhcp6_parser.cc"
     break;
 
-  case 741:
-#line 2634 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 741: // config_databases: "config-databases" $@127 ":" "[" database_list "]"
+#line 2634 "dhcp6_parser.yy"
+                                                      {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 4001 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4060 "dhcp6_parser.cc"
     break;
 
-  case 742:
-#line 2639 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 742: // config_fetch_wait_time: "config-fetch-wait-time" ":" "integer"
+#line 2639 "dhcp6_parser.yy"
+                                                             {
     ctx.unique("config-fetch-wait-time", ctx.loc2pos(yystack_[2].location));
-    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("config-fetch-wait-time", value);
 }
-#line 4011 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4070 "dhcp6_parser.cc"
     break;
 
-  case 743:
-#line 2647 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 743: // $@128: %empty
+#line 2647 "dhcp6_parser.yy"
+                 {
     ctx.unique("loggers", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("loggers", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.LOGGERS);
 }
-#line 4023 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4082 "dhcp6_parser.cc"
     break;
 
-  case 744:
-#line 2653 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 744: // loggers: "loggers" $@128 ":" "[" loggers_entries "]"
+#line 2653 "dhcp6_parser.yy"
+                                                         {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 4032 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4091 "dhcp6_parser.cc"
     break;
 
-  case 747:
-#line 2665 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 747: // $@129: %empty
+#line 2665 "dhcp6_parser.yy"
+                             {
     ElementPtr l(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(l);
     ctx.stack_.push_back(l);
 }
-#line 4042 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4101 "dhcp6_parser.cc"
     break;
 
-  case 748:
-#line 2669 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 748: // logger_entry: "{" $@129 logger_params "}"
+#line 2669 "dhcp6_parser.yy"
+                               {
     ctx.stack_.pop_back();
 }
-#line 4050 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4109 "dhcp6_parser.cc"
     break;
 
-  case 758:
-#line 2686 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 758: // debuglevel: "debuglevel" ":" "integer"
+#line 2686 "dhcp6_parser.yy"
+                                     {
     ctx.unique("debuglevel", ctx.loc2pos(yystack_[2].location));
-    ElementPtr dl(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr dl(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("debuglevel", dl);
 }
-#line 4060 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4119 "dhcp6_parser.cc"
     break;
 
-  case 759:
-#line 2692 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 759: // $@130: %empty
+#line 2692 "dhcp6_parser.yy"
+                   {
     ctx.unique("severity", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 4069 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4128 "dhcp6_parser.cc"
     break;
 
-  case 760:
-#line 2695 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 760: // severity: "severity" $@130 ":" "constant string"
+#line 2695 "dhcp6_parser.yy"
+               {
+    ElementPtr sev(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("severity", sev);
     ctx.leave();
 }
-#line 4079 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4138 "dhcp6_parser.cc"
     break;
 
-  case 761:
-#line 2701 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 761: // $@131: %empty
+#line 2701 "dhcp6_parser.yy"
+                                    {
     ctx.unique("output_options", ctx.loc2pos(yystack_[0].location));
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("output_options", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.OUTPUT_OPTIONS);
 }
-#line 4091 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4150 "dhcp6_parser.cc"
     break;
 
-  case 762:
-#line 2707 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 762: // output_options_list: "output_options" $@131 ":" "[" output_options_list_content "]"
+#line 2707 "dhcp6_parser.yy"
+                                                                    {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 4100 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4159 "dhcp6_parser.cc"
     break;
 
-  case 765:
-#line 2716 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 765: // $@132: %empty
+#line 2716 "dhcp6_parser.yy"
+                             {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 4110 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4169 "dhcp6_parser.cc"
     break;
 
-  case 766:
-#line 2720 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 766: // output_entry: "{" $@132 output_params_list "}"
+#line 2720 "dhcp6_parser.yy"
+                                    {
     ctx.stack_.pop_back();
 }
-#line 4118 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4177 "dhcp6_parser.cc"
     break;
 
-  case 774:
-#line 2735 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 774: // $@133: %empty
+#line 2735 "dhcp6_parser.yy"
+               {
     ctx.unique("output", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 4127 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4186 "dhcp6_parser.cc"
     break;
 
-  case 775:
-#line 2738 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 775: // output: "output" $@133 ":" "constant string"
+#line 2738 "dhcp6_parser.yy"
+               {
+    ElementPtr sev(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("output", sev);
     ctx.leave();
 }
-#line 4137 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4196 "dhcp6_parser.cc"
     break;
 
-  case 776:
-#line 2744 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 776: // flush: "flush" ":" "boolean"
+#line 2744 "dhcp6_parser.yy"
+                           {
     ctx.unique("flush", ctx.loc2pos(yystack_[2].location));
-    ElementPtr flush(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr flush(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("flush", flush);
 }
-#line 4147 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4206 "dhcp6_parser.cc"
     break;
 
-  case 777:
-#line 2750 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 777: // maxsize: "maxsize" ":" "integer"
+#line 2750 "dhcp6_parser.yy"
+                               {
     ctx.unique("maxsize", ctx.loc2pos(yystack_[2].location));
-    ElementPtr maxsize(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr maxsize(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("maxsize", maxsize);
 }
-#line 4157 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4216 "dhcp6_parser.cc"
     break;
 
-  case 778:
-#line 2756 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 778: // maxver: "maxver" ":" "integer"
+#line 2756 "dhcp6_parser.yy"
+                             {
     ctx.unique("maxver", ctx.loc2pos(yystack_[2].location));
-    ElementPtr maxver(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr maxver(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("maxver", maxver);
 }
-#line 4167 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4226 "dhcp6_parser.cc"
     break;
 
-  case 779:
-#line 2762 "dhcp6_parser.yy" // lalr1.cc:859
-    {
+  case 779: // $@134: %empty
+#line 2762 "dhcp6_parser.yy"
+                 {
     ctx.unique("pattern", ctx.loc2pos(yystack_[0].location));
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 4176 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4235 "dhcp6_parser.cc"
     break;
 
-  case 780:
-#line 2765 "dhcp6_parser.yy" // lalr1.cc:859
-    {
-    ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+  case 780: // pattern: "pattern" $@134 ":" "constant string"
+#line 2765 "dhcp6_parser.yy"
+               {
+    ElementPtr sev(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("pattern", sev);
     ctx.leave();
 }
-#line 4186 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4245 "dhcp6_parser.cc"
     break;
 
 
-#line 4190 "dhcp6_parser.cc" // lalr1.cc:859
+#line 4249 "dhcp6_parser.cc"
+
             default:
               break;
             }
         }
+#if YY_EXCEPTIONS
       catch (const syntax_error& yyexc)
         {
+          YYCDEBUG << "Caught exception: " << yyexc.what() << '\n';
           error (yyexc);
           YYERROR;
         }
+#endif // YY_EXCEPTIONS
       YY_SYMBOL_PRINT ("-> $$ =", yylhs);
       yypop_ (yylen);
       yylen = 0;
-      YY_STACK_PRINT ();
 
       // Shift the result of the reduction.
-      yypush_ (YY_NULLPTR, yylhs);
+      yypush_ (YY_NULLPTR, YY_MOVE (yylhs));
     }
     goto yynewstate;
 
+
   /*--------------------------------------.
   | yyerrlab -- here on detecting error.  |
   `--------------------------------------*/
@@ -4214,7 +4277,9 @@ namespace isc { namespace dhcp {
     if (!yyerrstatus_)
       {
         ++yynerrs_;
-        error (yyla.location, yysyntax_error_ (yystack_[0].state, yyla));
+        context yyctx (*this, yyla);
+        std::string msg = yysyntax_error_ (yyctx);
+        error (yyla.location, YY_MOVE (msg));
       }
 
 
@@ -4225,7 +4290,7 @@ namespace isc { namespace dhcp {
            error, discard it.  */
 
         // Return failure if at end of input.
-        if (yyla.type_get () == yyeof_)
+        if (yyla.kind () == symbol_kind::S_YYEOF)
           YYABORT;
         else if (!yyla.empty ())
           {
@@ -4242,69 +4307,81 @@ namespace isc { namespace dhcp {
   | 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.  */
+    /* Pacify compilers when the user code never invokes YYERROR and
+       the label yyerrorlab therefore never appears in user code.  */
     if (false)
-      goto yyerrorlab;
-    yyerror_range[1].location = yystack_[yylen - 1].location;
+      YYERROR;
+
     /* Do not reclaim the symbols of the rule whose action triggered
        this YYERROR.  */
     yypop_ (yylen);
     yylen = 0;
+    YY_STACK_PRINT ();
     goto yyerrlab1;
 
+
   /*-------------------------------------------------------------.
   | yyerrlab1 -- common code for both syntax error and YYERROR.  |
   `-------------------------------------------------------------*/
   yyerrlab1:
     yyerrstatus_ = 3;   // Each real token shifted decrements this.
-    {
-      stack_symbol_type error_token;
-      for (;;)
-        {
-          yyn = yypact_[yystack_[0].state];
-          if (!yy_pact_value_is_default_ (yyn))
-            {
-              yyn += yyterror_;
-              if (0 <= yyn && yyn <= yylast_ && yycheck_[yyn] == yyterror_)
-                {
-                  yyn = yytable_[yyn];
-                  if (0 < yyn)
-                    break;
-                }
-            }
+    // Pop stack until we find a state that shifts the error token.
+    for (;;)
+      {
+        yyn = yypact_[+yystack_[0].state];
+        if (!yy_pact_value_is_default_ (yyn))
+          {
+            yyn += symbol_kind::S_YYerror;
+            if (0 <= yyn && yyn <= yylast_
+                && yycheck_[yyn] == symbol_kind::S_YYerror)
+              {
+                yyn = yytable_[yyn];
+                if (0 < yyn)
+                  break;
+              }
+          }
 
-          // Pop the current state because it cannot handle the error token.
-          if (yystack_.size () == 1)
-            YYABORT;
+        // Pop the current state because it cannot handle the error token.
+        if (yystack_.size () == 1)
+          YYABORT;
 
-          yyerror_range[1].location = yystack_[0].location;
-          yy_destroy_ ("Error: popping", yystack_[0]);
-          yypop_ ();
-          YY_STACK_PRINT ();
-        }
+        yyerror_range[1].location = yystack_[0].location;
+        yy_destroy_ ("Error: popping", yystack_[0]);
+        yypop_ ();
+        YY_STACK_PRINT ();
+      }
+    {
+      stack_symbol_type error_token;
 
       yyerror_range[2].location = yyla.location;
       YYLLOC_DEFAULT (error_token.location, yyerror_range, 2);
 
       // Shift the error token.
-      error_token.state = yyn;
-      yypush_ ("Shifting", error_token);
+      error_token.state = state_type (yyn);
+      yypush_ ("Shifting", YY_MOVE (error_token));
     }
     goto yynewstate;
 
-    // Accept.
+
+  /*-------------------------------------.
+  | yyacceptlab -- YYACCEPT comes here.  |
+  `-------------------------------------*/
   yyacceptlab:
     yyresult = 0;
     goto yyreturn;
 
-    // Abort.
+
+  /*-----------------------------------.
+  | yyabortlab -- YYABORT comes here.  |
+  `-----------------------------------*/
   yyabortlab:
     yyresult = 1;
     goto yyreturn;
 
+
+  /*-----------------------------------------------------.
+  | yyreturn -- parsing is finished, return the result.  |
+  `-----------------------------------------------------*/
   yyreturn:
     if (!yyla.empty ())
       yy_destroy_ ("Cleanup: discarding lookahead", yyla);
@@ -4312,6 +4389,7 @@ namespace isc { namespace dhcp {
     /* Do not reclaim the symbols of the rule whose action triggered
        this YYABORT or YYACCEPT.  */
     yypop_ (yylen);
+    YY_STACK_PRINT ();
     while (1 < yystack_.size ())
       {
         yy_destroy_ ("Cleanup: popping", yystack_[0]);
@@ -4320,12 +4398,12 @@ namespace isc { namespace dhcp {
 
     return yyresult;
   }
+#if YY_EXCEPTIONS
     catch (...)
       {
-        YYCDEBUG << "Exception caught: cleaning lookahead and stack"
-                 << std::endl;
+        YYCDEBUG << "Exception caught: cleaning lookahead and stack\n";
         // Do not try to display the values of the reclaimed symbols,
-        // as their printer might throw an exception.
+        // as their printers might throw an exception.
         if (!yyla.empty ())
           yy_destroy_ (YY_NULLPTR, yyla);
 
@@ -4336,26 +4414,109 @@ namespace isc { namespace dhcp {
           }
         throw;
       }
+#endif // YY_EXCEPTIONS
   }
 
   void
   Dhcp6Parser::error (const syntax_error& yyexc)
   {
-    error (yyexc.location, yyexc.what());
+    error (yyexc.location, yyexc.what ());
   }
 
-  // Generate an error message.
+  /* Return 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.  */
   std::string
-  Dhcp6Parser::yysyntax_error_ (state_type yystate, const symbol_type& yyla) const
+  Dhcp6Parser::yytnamerr_ (const char *yystr)
   {
-    // Number of reported tokens (one for the "unexpected", one per
-    // "expected").
-    size_t yycount = 0;
-    // Its maximum.
-    enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
-    // Arguments of yyformat.
-    char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
+    if (*yystr == '"')
+      {
+        std::string yyr;
+        char const *yyp = yystr;
 
+        for (;;)
+          switch (*++yyp)
+            {
+            case '\'':
+            case ',':
+              goto do_not_strip_quotes;
+
+            case '\\':
+              if (*++yyp != '\\')
+                goto do_not_strip_quotes;
+              else
+                goto append;
+
+            append:
+            default:
+              yyr += *yyp;
+              break;
+
+            case '"':
+              return yyr;
+            }
+      do_not_strip_quotes: ;
+      }
+
+    return yystr;
+  }
+
+  std::string
+  Dhcp6Parser::symbol_name (symbol_kind_type yysymbol)
+  {
+    return yytnamerr_ (yytname_[yysymbol]);
+  }
+
+
+
+  // Dhcp6Parser::context.
+  Dhcp6Parser::context::context (const Dhcp6Parser& yyparser, const symbol_type& yyla)
+    : yyparser_ (yyparser)
+    , yyla_ (yyla)
+  {}
+
+  int
+  Dhcp6Parser::context::expected_tokens (symbol_kind_type yyarg[], int yyargn) const
+  {
+    // Actual number of expected tokens
+    int yycount = 0;
+
+    int yyn = yypact_[+yyparser_.yystack_[0].state];
+    if (!yy_pact_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;
+        for (int yyx = yyxbegin; yyx < yyxend; ++yyx)
+          if (yycheck_[yyx + yyn] == yyx && yyx != symbol_kind::S_YYerror
+              && !yy_table_value_is_error_ (yytable_[yyx + yyn]))
+            {
+              if (!yyarg)
+                ++yycount;
+              else if (yycount == yyargn)
+                return 0;
+              else
+                yyarg[yycount++] = YY_CAST (symbol_kind_type, yyx);
+            }
+      }
+
+    if (yyarg && yycount == 0 && 0 < yyargn)
+      yyarg[0] = symbol_kind::S_YYEMPTY;
+    return yycount;
+  }
+
+
+
+  int
+  Dhcp6Parser::yy_syntax_error_arguments_ (const context& yyctx,
+                                                 symbol_kind_type yyarg[], int yyargn) const
+  {
     /* There are many possibilities here to consider:
        - If this state is a consistent state with a default action, then
          the only way this function was invoked is if the default action
@@ -4374,41 +4535,32 @@ namespace isc { namespace dhcp {
        - 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.
+         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 (!yyla.empty ())
+
+    if (!yyctx.lookahead ().empty ())
       {
-        int yytoken = yyla.type_get ();
-        yyarg[yycount++] = yytname_[yytoken];
-        int yyn = yypact_[yystate];
-        if (!yy_pact_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_;
-            for (int yyx = yyxbegin; yyx < yyxend; ++yyx)
-              if (yycheck_[yyx + yyn] == yyx && yyx != yyterror_
-                  && !yy_table_value_is_error_ (yytable_[yyx + yyn]))
-                {
-                  if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
-                    {
-                      yycount = 1;
-                      break;
-                    }
-                  else
-                    yyarg[yycount++] = yytname_[yyx];
-                }
-          }
+        if (yyarg)
+          yyarg[0] = yyctx.token ();
+        int yyn = yyctx.expected_tokens (yyarg ? yyarg + 1 : yyarg, yyargn - 1);
+        return yyn + 1;
       }
+    return 0;
+  }
+
+  // Generate an error message.
+  std::string
+  Dhcp6Parser::yysyntax_error_ (const context& yyctx) const
+  {
+    // Its maximum.
+    enum { YYARGS_MAX = 5 };
+    // Arguments of yyformat.
+    symbol_kind_type yyarg[YYARGS_MAX];
+    int yycount = yy_syntax_error_arguments_ (yyctx, yyarg, YYARGS_MAX);
 
     char const* yyformat = YY_NULLPTR;
     switch (yycount)
@@ -4417,22 +4569,23 @@ namespace isc { namespace dhcp {
         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"));
+      default: // Avoid compiler warnings.
+        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_
       }
 
     std::string yyres;
     // Argument number.
-    size_t yyi = 0;
+    std::ptrdiff_t yyi = 0;
     for (char const* yyp = yyformat; *yyp; ++yyp)
       if (yyp[0] == '%' && yyp[1] == 's' && yyi < yycount)
         {
-          yyres += yytnamerr_ (yyarg[yyi++]);
+          yyres += symbol_name (yyarg[yyi++]);
           ++yyp;
         }
       else
@@ -4441,11 +4594,11 @@ namespace isc { namespace dhcp {
   }
 
 
-  const short int Dhcp6Parser::yypact_ninf_ = -949;
+  const short Dhcp6Parser::yypact_ninf_ = -949;
 
   const signed char Dhcp6Parser::yytable_ninf_ = -1;
 
-  const short int
+  const short
   Dhcp6Parser::yypact_[] =
   {
      190,  -949,  -949,  -949,  -949,  -949,  -949,  -949,  -949,  -949,
@@ -4577,7 +4730,7 @@ namespace isc { namespace dhcp {
      895,  -949,  -949,  -949
   };
 
-  const unsigned short int
+  const short
   Dhcp6Parser::yydefact_[] =
   {
        0,     2,     4,     6,     8,    10,    12,    14,    16,    18,
@@ -4709,7 +4862,7 @@ namespace isc { namespace dhcp {
        0,   768,   775,   780
   };
 
-  const short int
+  const short
   Dhcp6Parser::yypgoto_[] =
   {
     -949,  -949,  -949,  -949,  -949,  -949,  -949,  -949,  -949,  -949,
@@ -4757,7 +4910,7 @@ namespace isc { namespace dhcp {
     -949,  -949,  -949,  -949,  -949,  -949,  -949
   };
 
-  const short int
+  const short
   Dhcp6Parser::yydefgoto_[] =
   {
       -1,    15,    16,    17,    18,    19,    20,    21,    22,    23,
@@ -4805,7 +4958,7 @@ namespace isc { namespace dhcp {
     1243,  1249,  1244,  1245,  1246,  1247,  1253
   };
 
-  const unsigned short int
+  const short
   Dhcp6Parser::yytable_[] =
   {
      149,   211,   228,   271,   285,   305,    38,   327,   346,   363,
@@ -4935,7 +5088,7 @@ namespace isc { namespace dhcp {
     1099
   };
 
-  const short int
+  const short
   Dhcp6Parser::yycheck_[] =
   {
       71,    72,    73,    74,    75,    76,    16,    78,    79,    80,
@@ -5065,7 +5218,7 @@ namespace isc { namespace dhcp {
     1192
   };
 
-  const unsigned short int
+  const short
   Dhcp6Parser::yystos_[] =
   {
        0,   185,   186,   187,   188,   189,   190,   191,   192,   193,
@@ -5197,7 +5350,7 @@ namespace isc { namespace dhcp {
        4,   622,   199,   199
   };
 
-  const unsigned short int
+  const short
   Dhcp6Parser::yyr1_[] =
   {
        0,   203,   205,   204,   206,   204,   207,   204,   208,   204,
@@ -5281,7 +5434,7 @@ namespace isc { namespace dhcp {
      628
   };
 
-  const unsigned char
+  const signed char
   Dhcp6Parser::yyr2_[] =
   {
        0,     2,     0,     3,     0,     3,     0,     3,     0,     3,
@@ -5366,15 +5519,15 @@ namespace isc { namespace dhcp {
   };
 
 
-
+#if PARSER6_DEBUG || 1
   // YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
-  // First, the terminals, then, starting at \a yyntokens_, nonterminals.
+  // First, the terminals, then, starting at \a YYNTOKENS, nonterminals.
   const char*
   const Dhcp6Parser::yytname_[] =
   {
-  "\"end of file\"", "error", "$undefined", "\",\"", "\":\"", "\"[\"",
-  "\"]\"", "\"{\"", "\"}\"", "\"null\"", "\"Dhcp6\"", "\"data-directory\"",
-  "\"config-control\"", "\"config-databases\"",
+  "\"end of file\"", "error", "\"invalid token\"", "\",\"", "\":\"",
+  "\"[\"", "\"]\"", "\"{\"", "\"}\"", "\"null\"", "\"Dhcp6\"",
+  "\"data-directory\"", "\"config-control\"", "\"config-databases\"",
   "\"config-fetch-wait-time\"", "\"interfaces-config\"", "\"interfaces\"",
   "\"re-detect\"", "\"lease-database\"", "\"hosts-database\"",
   "\"hosts-databases\"", "\"type\"", "\"memfile\"", "\"mysql\"",
@@ -5541,9 +5694,11 @@ namespace isc { namespace dhcp {
   "output_params_list", "output_params", "output", "$@133", "flush",
   "maxsize", "maxver", "pattern", "$@134", YY_NULLPTR
   };
+#endif
+
 
 #if PARSER6_DEBUG
-  const unsigned short int
+  const short
   Dhcp6Parser::yyrline_[] =
   {
        0,   288,   288,   288,   289,   289,   290,   290,   291,   291,
@@ -5627,28 +5782,26 @@ namespace isc { namespace dhcp {
     2762
   };
 
-  // Print the state stack on the debug stream.
   void
-  Dhcp6Parser::yystack_print_ ()
+  Dhcp6Parser::yy_stack_print_ () const
   {
     *yycdebug_ << "Stack now";
     for (stack_type::const_iterator
            i = yystack_.begin (),
            i_end = yystack_.end ();
          i != i_end; ++i)
-      *yycdebug_ << ' ' << i->state;
-    *yycdebug_ << std::endl;
+      *yycdebug_ << ' ' << int (i->state);
+    *yycdebug_ << '\n';
   }
 
-  // Report on the debug stream that the rule \a yyrule is going to be reduced.
   void
-  Dhcp6Parser::yy_reduce_print_ (int yyrule)
+  Dhcp6Parser::yy_reduce_print_ (int yyrule) const
   {
-    unsigned int yylno = yyrline_[yyrule];
+    int yylno = yyrline_[yyrule];
     int yynrhs = yyr2_[yyrule];
     // Print the symbols being reduced, and their result.
     *yycdebug_ << "Reducing stack by rule " << yyrule - 1
-               << " (line " << yylno << "):" << std::endl;
+               << " (line " << yylno << "):\n";
     // The symbols being reduced.
     for (int yyi = 0; yyi < yynrhs; yyi++)
       YY_SYMBOL_PRINT ("   $" << yyi + 1 << " =",
@@ -5657,10 +5810,11 @@ namespace isc { namespace dhcp {
 #endif // PARSER6_DEBUG
 
 
-#line 14 "dhcp6_parser.yy" // lalr1.cc:1167
+#line 14 "dhcp6_parser.yy"
 } } // isc::dhcp
-#line 5663 "dhcp6_parser.cc" // lalr1.cc:1167
-#line 2771 "dhcp6_parser.yy" // lalr1.cc:1168
+#line 5816 "dhcp6_parser.cc"
+
+#line 2771 "dhcp6_parser.yy"
 
 
 void
index b6cb6e538f789207ae011d306c70ed201f06fe46..0301471ea285f847d1fe4d897160000cc5d0862e 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.0.4.
+// A Bison parser, made by GNU Bison 3.7.2.
 
 // Skeleton interface for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2020 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
@@ -30,6 +30,7 @@
 // This special exception was added by the Free Software Foundation in
 // version 2.2 of Bison.
 
+
 /**
  ** \file dhcp6_parser.h
  ** Define the isc::dhcp::parser class.
 
 // C++ LALR(1) parser skeleton written by Akim Demaille.
 
+// DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
+// especially those whose name start with YY_ or yy_.  They are
+// private implementation details that can be changed or removed.
+
 #ifndef YY_PARSER6_DHCP6_PARSER_H_INCLUDED
 # define YY_PARSER6_DHCP6_PARSER_H_INCLUDED
-// //                    "%code requires" blocks.
-#line 17 "dhcp6_parser.yy" // lalr1.cc:377
+// "%code requires" blocks.
+#line 17 "dhcp6_parser.yy"
 
 #include <string>
 #include <cc/data.h>
@@ -52,7 +57,7 @@ using namespace isc::dhcp;
 using namespace isc::data;
 using namespace std;
 
-#line 56 "dhcp6_parser.h" // lalr1.cc:377
+#line 61 "dhcp6_parser.h"
 
 # include <cassert>
 # include <cstdlib> // std::abort
@@ -60,39 +65,64 @@ using namespace std;
 # include <stdexcept>
 # include <string>
 # include <vector>
-# include "stack.hh"
+
+#if defined __cplusplus
+# define YY_CPLUSPLUS __cplusplus
+#else
+# define YY_CPLUSPLUS 199711L
+#endif
+
+// Support move semantics when possible.
+#if 201103L <= YY_CPLUSPLUS
+# define YY_MOVE           std::move
+# define YY_MOVE_OR_COPY   move
+# define YY_MOVE_REF(Type) Type&&
+# define YY_RVREF(Type)    Type&&
+# define YY_COPY(Type)     Type
+#else
+# define YY_MOVE
+# define YY_MOVE_OR_COPY   copy
+# define YY_MOVE_REF(Type) Type&
+# define YY_RVREF(Type)    const Type&
+# define YY_COPY(Type)     const Type&
+#endif
+
+// Support noexcept when possible.
+#if 201103L <= YY_CPLUSPLUS
+# define YY_NOEXCEPT noexcept
+# define YY_NOTHROW
+#else
+# define YY_NOEXCEPT
+# define YY_NOTHROW throw ()
+#endif
+
+// Support constexpr when possible.
+#if 201703 <= YY_CPLUSPLUS
+# define YY_CONSTEXPR constexpr
+#else
+# define YY_CONSTEXPR
+#endif
 # include "location.hh"
 #include <typeinfo>
-#ifndef YYASSERT
+#ifndef YY_ASSERT
 # include <cassert>
-# define YYASSERT assert
+# define YY_ASSERT assert
 #endif
 
 
-#ifndef YY_ATTRIBUTE
-# if (defined __GNUC__                                               \
-      && (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__)))  \
-     || defined __SUNPRO_C && 0x5110 <= __SUNPRO_C
-#  define YY_ATTRIBUTE(Spec) __attribute__(Spec)
+#ifndef YY_ATTRIBUTE_PURE
+# if defined __GNUC__ && 2 < __GNUC__ + (96 <= __GNUC_MINOR__)
+#  define YY_ATTRIBUTE_PURE __attribute__ ((__pure__))
 # else
-#  define YY_ATTRIBUTE(Spec) /* empty */
+#  define YY_ATTRIBUTE_PURE
 # endif
 #endif
 
-#ifndef YY_ATTRIBUTE_PURE
-# define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))
-#endif
-
 #ifndef YY_ATTRIBUTE_UNUSED
-# define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__))
-#endif
-
-#if !defined _Noreturn \
-     && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112)
-# if defined _MSC_VER && 1200 <= _MSC_VER
-#  define _Noreturn __declspec (noreturn)
+# if defined __GNUC__ && 2 < __GNUC__ + (7 <= __GNUC_MINOR__)
+#  define YY_ATTRIBUTE_UNUSED __attribute__ ((__unused__))
 # else
-#  define _Noreturn YY_ATTRIBUTE ((__noreturn__))
+#  define YY_ATTRIBUTE_UNUSED
 # endif
 #endif
 
@@ -103,13 +133,13 @@ using namespace std;
 # define YYUSE(E) /* empty */
 #endif
 
-#if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
+#if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
 /* Suppress an incorrect diagnostic about yylval being uninitialized.  */
-# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
-    _Pragma ("GCC diagnostic push") \
-    _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\
+# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN                            \
+    _Pragma ("GCC diagnostic push")                                     \
+    _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")              \
     _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
-# define YY_IGNORE_MAYBE_UNINITIALIZED_END \
+# define YY_IGNORE_MAYBE_UNINITIALIZED_END      \
     _Pragma ("GCC diagnostic pop")
 #else
 # define YY_INITIAL_VALUE(Value) Value
@@ -122,6 +152,39 @@ using namespace std;
 # define YY_INITIAL_VALUE(Value) /* Nothing. */
 #endif
 
+#if defined __cplusplus && defined __GNUC__ && ! defined __ICC && 6 <= __GNUC__
+# define YY_IGNORE_USELESS_CAST_BEGIN                          \
+    _Pragma ("GCC diagnostic push")                            \
+    _Pragma ("GCC diagnostic ignored \"-Wuseless-cast\"")
+# define YY_IGNORE_USELESS_CAST_END            \
+    _Pragma ("GCC diagnostic pop")
+#endif
+#ifndef YY_IGNORE_USELESS_CAST_BEGIN
+# define YY_IGNORE_USELESS_CAST_BEGIN
+# define YY_IGNORE_USELESS_CAST_END
+#endif
+
+# ifndef YY_CAST
+#  ifdef __cplusplus
+#   define YY_CAST(Type, Val) static_cast<Type> (Val)
+#   define YY_REINTERPRET_CAST(Type, Val) reinterpret_cast<Type> (Val)
+#  else
+#   define YY_CAST(Type, Val) ((Type) (Val))
+#   define YY_REINTERPRET_CAST(Type, Val) ((Type) (Val))
+#  endif
+# endif
+# ifndef YY_NULLPTR
+#  if defined __cplusplus
+#   if 201103L <= __cplusplus
+#    define YY_NULLPTR nullptr
+#   else
+#    define YY_NULLPTR 0
+#   endif
+#  else
+#   define YY_NULLPTR ((void*)0)
+#  endif
+# endif
+
 /* Debug traces.  */
 #ifndef PARSER6_DEBUG
 # if defined YYDEBUG
@@ -135,120 +198,182 @@ using namespace std;
 # endif /* ! defined YYDEBUG */
 #endif  /* ! defined PARSER6_DEBUG */
 
-#line 14 "dhcp6_parser.yy" // lalr1.cc:377
+#line 14 "dhcp6_parser.yy"
 namespace isc { namespace dhcp {
-#line 141 "dhcp6_parser.h" // lalr1.cc:377
+#line 204 "dhcp6_parser.h"
+
 
 
 
-  /// A char[S] buffer to store and retrieve objects.
+  /// A Bison parser.
+  class Dhcp6Parser
+  {
+  public:
+#ifndef PARSER6_STYPE
+  /// A buffer to store and retrieve objects.
   ///
   /// Sort of a variant, but does not keep track of the nature
   /// of the stored data, since that knowledge is available
-  /// via the current state.
-  template <size_t S>
-  struct variant
+  /// via the current parser state.
+  class semantic_type
   {
+  public:
     /// Type of *this.
-    typedef variant<S> self_type;
+    typedef semantic_type self_type;
 
     /// Empty construction.
-    variant ()
-      : yytypeid_ (YY_NULLPTR)
+    semantic_type () YY_NOEXCEPT
+      : yybuffer_ ()
+      , yytypeid_ (YY_NULLPTR)
     {}
 
     /// Construct and fill.
     template <typename T>
-    variant (const T& t)
+    semantic_type (YY_RVREF (T) t)
       : yytypeid_ (&typeid (T))
     {
-      YYASSERT (sizeof (T) <= S);
-      new (yyas_<T> ()) T (t);
+      YY_ASSERT (sizeof (T) <= size);
+      new (yyas_<T> ()) T (YY_MOVE (t));
     }
 
+#if 201103L <= YY_CPLUSPLUS
+    /// Non copyable.
+    semantic_type (const self_type&) = delete;
+    /// Non copyable.
+    self_type& operator= (const self_type&) = delete;
+#endif
+
     /// Destruction, allowed only if empty.
-    ~variant ()
+    ~semantic_type () YY_NOEXCEPT
     {
-      YYASSERT (!yytypeid_);
+      YY_ASSERT (!yytypeid_);
     }
 
+# if 201103L <= YY_CPLUSPLUS
+    /// Instantiate a \a T in here from \a t.
+    template <typename T, typename... U>
+    T&
+    emplace (U&&... u)
+    {
+      YY_ASSERT (!yytypeid_);
+      YY_ASSERT (sizeof (T) <= size);
+      yytypeid_ = & typeid (T);
+      return *new (yyas_<T> ()) T (std::forward <U>(u)...);
+    }
+# else
     /// Instantiate an empty \a T in here.
     template <typename T>
     T&
-    build ()
+    emplace ()
     {
-      YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YY_ASSERT (!yytypeid_);
+      YY_ASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
-      return *new (yyas_<T> ()) T;
+      return *new (yyas_<T> ()) T ();
     }
 
     /// Instantiate a \a T in here from \a t.
     template <typename T>
     T&
-    build (const T& t)
+    emplace (const T& t)
     {
-      YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YY_ASSERT (!yytypeid_);
+      YY_ASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
       return *new (yyas_<T> ()) T (t);
     }
+# endif
+
+    /// Instantiate an empty \a T in here.
+    /// Obsolete, use emplace.
+    template <typename T>
+    T&
+    build ()
+    {
+      return emplace<T> ();
+    }
+
+    /// Instantiate a \a T in here from \a t.
+    /// Obsolete, use emplace.
+    template <typename T>
+    T&
+    build (const T& t)
+    {
+      return emplace<T> (t);
+    }
 
     /// Accessor to a built \a T.
     template <typename T>
     T&
-    as ()
+    as () YY_NOEXCEPT
     {
-      YYASSERT (*yytypeid_ == typeid (T));
-      YYASSERT (sizeof (T) <= S);
+      YY_ASSERT (yytypeid_);
+      YY_ASSERT (*yytypeid_ == typeid (T));
+      YY_ASSERT (sizeof (T) <= size);
       return *yyas_<T> ();
     }
 
     /// Const accessor to a built \a T (for %printer).
     template <typename T>
     const T&
-    as () const
+    as () const YY_NOEXCEPT
     {
-      YYASSERT (*yytypeid_ == typeid (T));
-      YYASSERT (sizeof (T) <= S);
+      YY_ASSERT (yytypeid_);
+      YY_ASSERT (*yytypeid_ == typeid (T));
+      YY_ASSERT (sizeof (T) <= size);
       return *yyas_<T> ();
     }
 
-    /// Swap the content with \a other, of same type.
+    /// Swap the content with \a that, of same type.
     ///
     /// Both variants must be built beforehand, because swapping the actual
     /// data requires reading it (with as()), and this is not possible on
     /// unconstructed variants: it would require some dynamic testing, which
-    /// should not be the variant's responsability.
+    /// should not be the variant's responsibility.
     /// Swapping between built and (possibly) non-built is done with
-    /// variant::move ().
+    /// self_type::move ().
     template <typename T>
     void
-    swap (self_type& other)
+    swap (self_type& that) YY_NOEXCEPT
     {
-      YYASSERT (yytypeid_);
-      YYASSERT (*yytypeid_ == *other.yytypeid_);
-      std::swap (as<T> (), other.as<T> ());
+      YY_ASSERT (yytypeid_);
+      YY_ASSERT (*yytypeid_ == *that.yytypeid_);
+      std::swap (as<T> (), that.as<T> ());
     }
 
-    /// Move the content of \a other to this.
+    /// Move the content of \a that to this.
     ///
-    /// Destroys \a other.
+    /// Destroys \a that.
+    template <typename T>
+    void
+    move (self_type& that)
+    {
+# if 201103L <= YY_CPLUSPLUS
+      emplace<T> (std::move (that.as<T> ()));
+# else
+      emplace<T> ();
+      swap<T> (that);
+# endif
+      that.destroy<T> ();
+    }
+
+# if 201103L <= YY_CPLUSPLUS
+    /// Move the content of \a that to this.
     template <typename T>
     void
-    move (self_type& other)
+    move (self_type&& that)
     {
-      build<T> ();
-      swap<T> (other);
-      other.destroy<T> ();
+      emplace<T> (std::move (that.as<T> ()));
+      that.destroy<T> ();
     }
+#endif
 
-    /// Copy the content of \a other to this.
+    /// Copy the content of \a that to this.
     template <typename T>
     void
-    copy (const self_type& other)
+    copy (const self_type& that)
     {
-      build<T> (other.as<T> ());
+      emplace<T> (that.as<T> ());
     }
 
     /// Destroy the stored \a T.
@@ -261,14 +386,17 @@ namespace isc { namespace dhcp {
     }
 
   private:
-    /// Prohibit blind copies.
-    self_type& operator=(const self_type&);
-    variant (const self_type&);
+#if YY_CPLUSPLUS < 201103L
+    /// Non copyable.
+    semantic_type (const self_type&);
+    /// Non copyable.
+    self_type& operator= (const self_type&);
+#endif
 
     /// Accessor to raw memory as \a T.
     template <typename T>
     T*
-    yyas_ ()
+    yyas_ () YY_NOEXCEPT
     {
       void *yyp = yybuffer_.yyraw;
       return static_cast<T*> (yyp);
@@ -277,30 +405,12 @@ namespace isc { namespace dhcp {
     /// Const accessor to raw memory as \a T.
     template <typename T>
     const T*
-    yyas_ () const
+    yyas_ () const YY_NOEXCEPT
     {
       const void *yyp = yybuffer_.yyraw;
       return static_cast<const T*> (yyp);
      }
 
-    union
-    {
-      /// Strongest alignment constraints.
-      long double yyalign_me;
-      /// A buffer large enough to store any of the semantic values.
-      char yyraw[S];
-    } yybuffer_;
-
-    /// Whether the content is built: if defined, the name of the stored type.
-    const std::type_info *yytypeid_;
-  };
-
-
-  /// A Bison parser.
-  class Dhcp6Parser
-  {
-  public:
-#ifndef PARSER6_STYPE
     /// An auxiliary type to compute the largest semantic type.
     union union_type
     {
@@ -311,23 +421,37 @@ namespace isc { namespace dhcp {
       // hr_mode
       // duid_type
       // ncr_protocol_value
-      char dummy1[sizeof(ElementPtr)];
+      char dummy1[sizeof (ElementPtr)];
 
       // "boolean"
-      char dummy2[sizeof(bool)];
+      char dummy2[sizeof (bool)];
 
       // "floating point"
-      char dummy3[sizeof(double)];
+      char dummy3[sizeof (double)];
 
       // "integer"
-      char dummy4[sizeof(int64_t)];
+      char dummy4[sizeof (int64_t)];
 
       // "constant string"
-      char dummy5[sizeof(std::string)];
-};
+      char dummy5[sizeof (std::string)];
+    };
+
+    /// The size of the largest semantic type.
+    enum { size = sizeof (union_type) };
+
+    /// A buffer to store semantic values.
+    union
+    {
+      /// Strongest alignment constraints.
+      long double yyalign_me;
+      /// A buffer large enough to store any of the semantic values.
+      char yyraw[size];
+    } yybuffer_;
+
+    /// Whether the content is built: if defined, the name of the stored type.
+    const std::type_info *yytypeid_;
+  };
 
-    /// Symbol semantic values.
-    typedef variant<sizeof(union_type)> semantic_type;
 #else
     typedef PARSER6_STYPE semantic_type;
 #endif
@@ -337,235 +461,891 @@ namespace isc { namespace dhcp {
     /// Syntax errors thrown from user actions.
     struct syntax_error : std::runtime_error
     {
-      syntax_error (const location_type& l, const std::string& m);
+      syntax_error (const location_type& l, const std::string& m)
+        : std::runtime_error (m)
+        , location (l)
+      {}
+
+      syntax_error (const syntax_error& s)
+        : std::runtime_error (s.what ())
+        , location (s.location)
+      {}
+
+      ~syntax_error () YY_NOEXCEPT YY_NOTHROW;
+
       location_type location;
     };
 
-    /// Tokens.
+    /// Token kinds.
     struct token
     {
-      enum yytokentype
-      {
-        TOKEN_END = 0,
-        TOKEN_COMMA = 258,
-        TOKEN_COLON = 259,
-        TOKEN_LSQUARE_BRACKET = 260,
-        TOKEN_RSQUARE_BRACKET = 261,
-        TOKEN_LCURLY_BRACKET = 262,
-        TOKEN_RCURLY_BRACKET = 263,
-        TOKEN_NULL_TYPE = 264,
-        TOKEN_DHCP6 = 265,
-        TOKEN_DATA_DIRECTORY = 266,
-        TOKEN_CONFIG_CONTROL = 267,
-        TOKEN_CONFIG_DATABASES = 268,
-        TOKEN_CONFIG_FETCH_WAIT_TIME = 269,
-        TOKEN_INTERFACES_CONFIG = 270,
-        TOKEN_INTERFACES = 271,
-        TOKEN_RE_DETECT = 272,
-        TOKEN_LEASE_DATABASE = 273,
-        TOKEN_HOSTS_DATABASE = 274,
-        TOKEN_HOSTS_DATABASES = 275,
-        TOKEN_TYPE = 276,
-        TOKEN_MEMFILE = 277,
-        TOKEN_MYSQL = 278,
-        TOKEN_POSTGRESQL = 279,
-        TOKEN_CQL = 280,
-        TOKEN_USER = 281,
-        TOKEN_PASSWORD = 282,
-        TOKEN_HOST = 283,
-        TOKEN_PORT = 284,
-        TOKEN_PERSIST = 285,
-        TOKEN_LFC_INTERVAL = 286,
-        TOKEN_READONLY = 287,
-        TOKEN_CONNECT_TIMEOUT = 288,
-        TOKEN_CONTACT_POINTS = 289,
-        TOKEN_MAX_RECONNECT_TRIES = 290,
-        TOKEN_RECONNECT_WAIT_TIME = 291,
-        TOKEN_KEYSPACE = 292,
-        TOKEN_CONSISTENCY = 293,
-        TOKEN_SERIAL_CONSISTENCY = 294,
-        TOKEN_REQUEST_TIMEOUT = 295,
-        TOKEN_TCP_KEEPALIVE = 296,
-        TOKEN_TCP_NODELAY = 297,
-        TOKEN_MAX_ROW_ERRORS = 298,
-        TOKEN_PREFERRED_LIFETIME = 299,
-        TOKEN_MIN_PREFERRED_LIFETIME = 300,
-        TOKEN_MAX_PREFERRED_LIFETIME = 301,
-        TOKEN_VALID_LIFETIME = 302,
-        TOKEN_MIN_VALID_LIFETIME = 303,
-        TOKEN_MAX_VALID_LIFETIME = 304,
-        TOKEN_RENEW_TIMER = 305,
-        TOKEN_REBIND_TIMER = 306,
-        TOKEN_CALCULATE_TEE_TIMES = 307,
-        TOKEN_T1_PERCENT = 308,
-        TOKEN_T2_PERCENT = 309,
-        TOKEN_CACHE_THRESHOLD = 310,
-        TOKEN_CACHE_MAX_AGE = 311,
-        TOKEN_DECLINE_PROBATION_PERIOD = 312,
-        TOKEN_SERVER_TAG = 313,
-        TOKEN_STATISTIC_DEFAULT_SAMPLE_COUNT = 314,
-        TOKEN_STATISTIC_DEFAULT_SAMPLE_AGE = 315,
-        TOKEN_DDNS_SEND_UPDATES = 316,
-        TOKEN_DDNS_OVERRIDE_NO_UPDATE = 317,
-        TOKEN_DDNS_OVERRIDE_CLIENT_UPDATE = 318,
-        TOKEN_DDNS_REPLACE_CLIENT_NAME = 319,
-        TOKEN_DDNS_GENERATED_PREFIX = 320,
-        TOKEN_DDNS_QUALIFYING_SUFFIX = 321,
-        TOKEN_DDNS_UPDATE_ON_RENEW = 322,
-        TOKEN_DDNS_USE_CONFLICT_RESOLUTION = 323,
-        TOKEN_STORE_EXTENDED_INFO = 324,
-        TOKEN_SUBNET6 = 325,
-        TOKEN_OPTION_DEF = 326,
-        TOKEN_OPTION_DATA = 327,
-        TOKEN_NAME = 328,
-        TOKEN_DATA = 329,
-        TOKEN_CODE = 330,
-        TOKEN_SPACE = 331,
-        TOKEN_CSV_FORMAT = 332,
-        TOKEN_ALWAYS_SEND = 333,
-        TOKEN_RECORD_TYPES = 334,
-        TOKEN_ENCAPSULATE = 335,
-        TOKEN_ARRAY = 336,
-        TOKEN_POOLS = 337,
-        TOKEN_POOL = 338,
-        TOKEN_PD_POOLS = 339,
-        TOKEN_PREFIX = 340,
-        TOKEN_PREFIX_LEN = 341,
-        TOKEN_EXCLUDED_PREFIX = 342,
-        TOKEN_EXCLUDED_PREFIX_LEN = 343,
-        TOKEN_DELEGATED_LEN = 344,
-        TOKEN_USER_CONTEXT = 345,
-        TOKEN_COMMENT = 346,
-        TOKEN_SUBNET = 347,
-        TOKEN_INTERFACE = 348,
-        TOKEN_INTERFACE_ID = 349,
-        TOKEN_ID = 350,
-        TOKEN_RAPID_COMMIT = 351,
-        TOKEN_RESERVATION_MODE = 352,
-        TOKEN_DISABLED = 353,
-        TOKEN_OUT_OF_POOL = 354,
-        TOKEN_GLOBAL = 355,
-        TOKEN_ALL = 356,
-        TOKEN_SHARED_NETWORKS = 357,
-        TOKEN_MAC_SOURCES = 358,
-        TOKEN_RELAY_SUPPLIED_OPTIONS = 359,
-        TOKEN_HOST_RESERVATION_IDENTIFIERS = 360,
-        TOKEN_SANITY_CHECKS = 361,
-        TOKEN_LEASE_CHECKS = 362,
-        TOKEN_CLIENT_CLASSES = 363,
-        TOKEN_REQUIRE_CLIENT_CLASSES = 364,
-        TOKEN_TEST = 365,
-        TOKEN_ONLY_IF_REQUIRED = 366,
-        TOKEN_CLIENT_CLASS = 367,
-        TOKEN_RESERVATIONS = 368,
-        TOKEN_IP_ADDRESSES = 369,
-        TOKEN_PREFIXES = 370,
-        TOKEN_DUID = 371,
-        TOKEN_HW_ADDRESS = 372,
-        TOKEN_HOSTNAME = 373,
-        TOKEN_FLEX_ID = 374,
-        TOKEN_RELAY = 375,
-        TOKEN_IP_ADDRESS = 376,
-        TOKEN_HOOKS_LIBRARIES = 377,
-        TOKEN_LIBRARY = 378,
-        TOKEN_PARAMETERS = 379,
-        TOKEN_EXPIRED_LEASES_PROCESSING = 380,
-        TOKEN_RECLAIM_TIMER_WAIT_TIME = 381,
-        TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 382,
-        TOKEN_HOLD_RECLAIMED_TIME = 383,
-        TOKEN_MAX_RECLAIM_LEASES = 384,
-        TOKEN_MAX_RECLAIM_TIME = 385,
-        TOKEN_UNWARNED_RECLAIM_CYCLES = 386,
-        TOKEN_SERVER_ID = 387,
-        TOKEN_LLT = 388,
-        TOKEN_EN = 389,
-        TOKEN_LL = 390,
-        TOKEN_IDENTIFIER = 391,
-        TOKEN_HTYPE = 392,
-        TOKEN_TIME = 393,
-        TOKEN_ENTERPRISE_ID = 394,
-        TOKEN_DHCP4O6_PORT = 395,
-        TOKEN_DHCP_MULTI_THREADING = 396,
-        TOKEN_ENABLE_MULTI_THREADING = 397,
-        TOKEN_THREAD_POOL_SIZE = 398,
-        TOKEN_PACKET_QUEUE_SIZE = 399,
-        TOKEN_CONTROL_SOCKET = 400,
-        TOKEN_SOCKET_TYPE = 401,
-        TOKEN_SOCKET_NAME = 402,
-        TOKEN_DHCP_QUEUE_CONTROL = 403,
-        TOKEN_ENABLE_QUEUE = 404,
-        TOKEN_QUEUE_TYPE = 405,
-        TOKEN_CAPACITY = 406,
-        TOKEN_DHCP_DDNS = 407,
-        TOKEN_ENABLE_UPDATES = 408,
-        TOKEN_QUALIFYING_SUFFIX = 409,
-        TOKEN_SERVER_IP = 410,
-        TOKEN_SERVER_PORT = 411,
-        TOKEN_SENDER_IP = 412,
-        TOKEN_SENDER_PORT = 413,
-        TOKEN_MAX_QUEUE_SIZE = 414,
-        TOKEN_NCR_PROTOCOL = 415,
-        TOKEN_NCR_FORMAT = 416,
-        TOKEN_OVERRIDE_NO_UPDATE = 417,
-        TOKEN_OVERRIDE_CLIENT_UPDATE = 418,
-        TOKEN_REPLACE_CLIENT_NAME = 419,
-        TOKEN_GENERATED_PREFIX = 420,
-        TOKEN_UDP = 421,
-        TOKEN_TCP = 422,
-        TOKEN_JSON = 423,
-        TOKEN_WHEN_PRESENT = 424,
-        TOKEN_NEVER = 425,
-        TOKEN_ALWAYS = 426,
-        TOKEN_WHEN_NOT_PRESENT = 427,
-        TOKEN_HOSTNAME_CHAR_SET = 428,
-        TOKEN_HOSTNAME_CHAR_REPLACEMENT = 429,
-        TOKEN_IP_RESERVATIONS_UNIQUE = 430,
-        TOKEN_LOGGERS = 431,
-        TOKEN_OUTPUT_OPTIONS = 432,
-        TOKEN_OUTPUT = 433,
-        TOKEN_DEBUGLEVEL = 434,
-        TOKEN_SEVERITY = 435,
-        TOKEN_FLUSH = 436,
-        TOKEN_MAXSIZE = 437,
-        TOKEN_MAXVER = 438,
-        TOKEN_PATTERN = 439,
-        TOKEN_TOPLEVEL_JSON = 440,
-        TOKEN_TOPLEVEL_DHCP6 = 441,
-        TOKEN_SUB_DHCP6 = 442,
-        TOKEN_SUB_INTERFACES6 = 443,
-        TOKEN_SUB_SUBNET6 = 444,
-        TOKEN_SUB_POOL6 = 445,
-        TOKEN_SUB_PD_POOL = 446,
-        TOKEN_SUB_RESERVATION = 447,
-        TOKEN_SUB_OPTION_DEFS = 448,
-        TOKEN_SUB_OPTION_DEF = 449,
-        TOKEN_SUB_OPTION_DATA = 450,
-        TOKEN_SUB_HOOKS_LIBRARY = 451,
-        TOKEN_SUB_DHCP_DDNS = 452,
-        TOKEN_SUB_CONFIG_CONTROL = 453,
-        TOKEN_STRING = 454,
-        TOKEN_INTEGER = 455,
-        TOKEN_FLOAT = 456,
-        TOKEN_BOOLEAN = 457
+      enum token_kind_type
+      {
+        TOKEN_PARSER6_EMPTY = -2,
+    TOKEN_END = 0,                 // "end of file"
+    TOKEN_PARSER6_error = 256,     // error
+    TOKEN_PARSER6_UNDEF = 257,     // "invalid token"
+    TOKEN_COMMA = 258,             // ","
+    TOKEN_COLON = 259,             // ":"
+    TOKEN_LSQUARE_BRACKET = 260,   // "["
+    TOKEN_RSQUARE_BRACKET = 261,   // "]"
+    TOKEN_LCURLY_BRACKET = 262,    // "{"
+    TOKEN_RCURLY_BRACKET = 263,    // "}"
+    TOKEN_NULL_TYPE = 264,         // "null"
+    TOKEN_DHCP6 = 265,             // "Dhcp6"
+    TOKEN_DATA_DIRECTORY = 266,    // "data-directory"
+    TOKEN_CONFIG_CONTROL = 267,    // "config-control"
+    TOKEN_CONFIG_DATABASES = 268,  // "config-databases"
+    TOKEN_CONFIG_FETCH_WAIT_TIME = 269, // "config-fetch-wait-time"
+    TOKEN_INTERFACES_CONFIG = 270, // "interfaces-config"
+    TOKEN_INTERFACES = 271,        // "interfaces"
+    TOKEN_RE_DETECT = 272,         // "re-detect"
+    TOKEN_LEASE_DATABASE = 273,    // "lease-database"
+    TOKEN_HOSTS_DATABASE = 274,    // "hosts-database"
+    TOKEN_HOSTS_DATABASES = 275,   // "hosts-databases"
+    TOKEN_TYPE = 276,              // "type"
+    TOKEN_MEMFILE = 277,           // "memfile"
+    TOKEN_MYSQL = 278,             // "mysql"
+    TOKEN_POSTGRESQL = 279,        // "postgresql"
+    TOKEN_CQL = 280,               // "cql"
+    TOKEN_USER = 281,              // "user"
+    TOKEN_PASSWORD = 282,          // "password"
+    TOKEN_HOST = 283,              // "host"
+    TOKEN_PORT = 284,              // "port"
+    TOKEN_PERSIST = 285,           // "persist"
+    TOKEN_LFC_INTERVAL = 286,      // "lfc-interval"
+    TOKEN_READONLY = 287,          // "readonly"
+    TOKEN_CONNECT_TIMEOUT = 288,   // "connect-timeout"
+    TOKEN_CONTACT_POINTS = 289,    // "contact-points"
+    TOKEN_MAX_RECONNECT_TRIES = 290, // "max-reconnect-tries"
+    TOKEN_RECONNECT_WAIT_TIME = 291, // "reconnect-wait-time"
+    TOKEN_KEYSPACE = 292,          // "keyspace"
+    TOKEN_CONSISTENCY = 293,       // "consistency"
+    TOKEN_SERIAL_CONSISTENCY = 294, // "serial-consistency"
+    TOKEN_REQUEST_TIMEOUT = 295,   // "request-timeout"
+    TOKEN_TCP_KEEPALIVE = 296,     // "tcp-keepalive"
+    TOKEN_TCP_NODELAY = 297,       // "tcp-nodelay"
+    TOKEN_MAX_ROW_ERRORS = 298,    // "max-row-errors"
+    TOKEN_PREFERRED_LIFETIME = 299, // "preferred-lifetime"
+    TOKEN_MIN_PREFERRED_LIFETIME = 300, // "min-preferred-lifetime"
+    TOKEN_MAX_PREFERRED_LIFETIME = 301, // "max-preferred-lifetime"
+    TOKEN_VALID_LIFETIME = 302,    // "valid-lifetime"
+    TOKEN_MIN_VALID_LIFETIME = 303, // "min-valid-lifetime"
+    TOKEN_MAX_VALID_LIFETIME = 304, // "max-valid-lifetime"
+    TOKEN_RENEW_TIMER = 305,       // "renew-timer"
+    TOKEN_REBIND_TIMER = 306,      // "rebind-timer"
+    TOKEN_CALCULATE_TEE_TIMES = 307, // "calculate-tee-times"
+    TOKEN_T1_PERCENT = 308,        // "t1-percent"
+    TOKEN_T2_PERCENT = 309,        // "t2-percent"
+    TOKEN_CACHE_THRESHOLD = 310,   // "cache-threshold"
+    TOKEN_CACHE_MAX_AGE = 311,     // "cache-max-age"
+    TOKEN_DECLINE_PROBATION_PERIOD = 312, // "decline-probation-period"
+    TOKEN_SERVER_TAG = 313,        // "server-tag"
+    TOKEN_STATISTIC_DEFAULT_SAMPLE_COUNT = 314, // "statistic-default-sample-count"
+    TOKEN_STATISTIC_DEFAULT_SAMPLE_AGE = 315, // "statistic-default-sample-age"
+    TOKEN_DDNS_SEND_UPDATES = 316, // "ddns-send-updates"
+    TOKEN_DDNS_OVERRIDE_NO_UPDATE = 317, // "ddns-override-no-update"
+    TOKEN_DDNS_OVERRIDE_CLIENT_UPDATE = 318, // "ddns-override-client-update"
+    TOKEN_DDNS_REPLACE_CLIENT_NAME = 319, // "ddns-replace-client-name"
+    TOKEN_DDNS_GENERATED_PREFIX = 320, // "ddns-generated-prefix"
+    TOKEN_DDNS_QUALIFYING_SUFFIX = 321, // "ddns-qualifying-suffix"
+    TOKEN_DDNS_UPDATE_ON_RENEW = 322, // "ddns-update-on-renew"
+    TOKEN_DDNS_USE_CONFLICT_RESOLUTION = 323, // "ddns-use-conflict-resolution"
+    TOKEN_STORE_EXTENDED_INFO = 324, // "store-extended-info"
+    TOKEN_SUBNET6 = 325,           // "subnet6"
+    TOKEN_OPTION_DEF = 326,        // "option-def"
+    TOKEN_OPTION_DATA = 327,       // "option-data"
+    TOKEN_NAME = 328,              // "name"
+    TOKEN_DATA = 329,              // "data"
+    TOKEN_CODE = 330,              // "code"
+    TOKEN_SPACE = 331,             // "space"
+    TOKEN_CSV_FORMAT = 332,        // "csv-format"
+    TOKEN_ALWAYS_SEND = 333,       // "always-send"
+    TOKEN_RECORD_TYPES = 334,      // "record-types"
+    TOKEN_ENCAPSULATE = 335,       // "encapsulate"
+    TOKEN_ARRAY = 336,             // "array"
+    TOKEN_POOLS = 337,             // "pools"
+    TOKEN_POOL = 338,              // "pool"
+    TOKEN_PD_POOLS = 339,          // "pd-pools"
+    TOKEN_PREFIX = 340,            // "prefix"
+    TOKEN_PREFIX_LEN = 341,        // "prefix-len"
+    TOKEN_EXCLUDED_PREFIX = 342,   // "excluded-prefix"
+    TOKEN_EXCLUDED_PREFIX_LEN = 343, // "excluded-prefix-len"
+    TOKEN_DELEGATED_LEN = 344,     // "delegated-len"
+    TOKEN_USER_CONTEXT = 345,      // "user-context"
+    TOKEN_COMMENT = 346,           // "comment"
+    TOKEN_SUBNET = 347,            // "subnet"
+    TOKEN_INTERFACE = 348,         // "interface"
+    TOKEN_INTERFACE_ID = 349,      // "interface-id"
+    TOKEN_ID = 350,                // "id"
+    TOKEN_RAPID_COMMIT = 351,      // "rapid-commit"
+    TOKEN_RESERVATION_MODE = 352,  // "reservation-mode"
+    TOKEN_DISABLED = 353,          // "disabled"
+    TOKEN_OUT_OF_POOL = 354,       // "out-of-pool"
+    TOKEN_GLOBAL = 355,            // "global"
+    TOKEN_ALL = 356,               // "all"
+    TOKEN_SHARED_NETWORKS = 357,   // "shared-networks"
+    TOKEN_MAC_SOURCES = 358,       // "mac-sources"
+    TOKEN_RELAY_SUPPLIED_OPTIONS = 359, // "relay-supplied-options"
+    TOKEN_HOST_RESERVATION_IDENTIFIERS = 360, // "host-reservation-identifiers"
+    TOKEN_SANITY_CHECKS = 361,     // "sanity-checks"
+    TOKEN_LEASE_CHECKS = 362,      // "lease-checks"
+    TOKEN_CLIENT_CLASSES = 363,    // "client-classes"
+    TOKEN_REQUIRE_CLIENT_CLASSES = 364, // "require-client-classes"
+    TOKEN_TEST = 365,              // "test"
+    TOKEN_ONLY_IF_REQUIRED = 366,  // "only-if-required"
+    TOKEN_CLIENT_CLASS = 367,      // "client-class"
+    TOKEN_RESERVATIONS = 368,      // "reservations"
+    TOKEN_IP_ADDRESSES = 369,      // "ip-addresses"
+    TOKEN_PREFIXES = 370,          // "prefixes"
+    TOKEN_DUID = 371,              // "duid"
+    TOKEN_HW_ADDRESS = 372,        // "hw-address"
+    TOKEN_HOSTNAME = 373,          // "hostname"
+    TOKEN_FLEX_ID = 374,           // "flex-id"
+    TOKEN_RELAY = 375,             // "relay"
+    TOKEN_IP_ADDRESS = 376,        // "ip-address"
+    TOKEN_HOOKS_LIBRARIES = 377,   // "hooks-libraries"
+    TOKEN_LIBRARY = 378,           // "library"
+    TOKEN_PARAMETERS = 379,        // "parameters"
+    TOKEN_EXPIRED_LEASES_PROCESSING = 380, // "expired-leases-processing"
+    TOKEN_RECLAIM_TIMER_WAIT_TIME = 381, // "reclaim-timer-wait-time"
+    TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 382, // "flush-reclaimed-timer-wait-time"
+    TOKEN_HOLD_RECLAIMED_TIME = 383, // "hold-reclaimed-time"
+    TOKEN_MAX_RECLAIM_LEASES = 384, // "max-reclaim-leases"
+    TOKEN_MAX_RECLAIM_TIME = 385,  // "max-reclaim-time"
+    TOKEN_UNWARNED_RECLAIM_CYCLES = 386, // "unwarned-reclaim-cycles"
+    TOKEN_SERVER_ID = 387,         // "server-id"
+    TOKEN_LLT = 388,               // "LLT"
+    TOKEN_EN = 389,                // "EN"
+    TOKEN_LL = 390,                // "LL"
+    TOKEN_IDENTIFIER = 391,        // "identifier"
+    TOKEN_HTYPE = 392,             // "htype"
+    TOKEN_TIME = 393,              // "time"
+    TOKEN_ENTERPRISE_ID = 394,     // "enterprise-id"
+    TOKEN_DHCP4O6_PORT = 395,      // "dhcp4o6-port"
+    TOKEN_DHCP_MULTI_THREADING = 396, // "multi-threading"
+    TOKEN_ENABLE_MULTI_THREADING = 397, // "enable-multi-threading"
+    TOKEN_THREAD_POOL_SIZE = 398,  // "thread-pool-size"
+    TOKEN_PACKET_QUEUE_SIZE = 399, // "packet-queue-size"
+    TOKEN_CONTROL_SOCKET = 400,    // "control-socket"
+    TOKEN_SOCKET_TYPE = 401,       // "socket-type"
+    TOKEN_SOCKET_NAME = 402,       // "socket-name"
+    TOKEN_DHCP_QUEUE_CONTROL = 403, // "dhcp-queue-control"
+    TOKEN_ENABLE_QUEUE = 404,      // "enable-queue"
+    TOKEN_QUEUE_TYPE = 405,        // "queue-type"
+    TOKEN_CAPACITY = 406,          // "capacity"
+    TOKEN_DHCP_DDNS = 407,         // "dhcp-ddns"
+    TOKEN_ENABLE_UPDATES = 408,    // "enable-updates"
+    TOKEN_QUALIFYING_SUFFIX = 409, // "qualifying-suffix"
+    TOKEN_SERVER_IP = 410,         // "server-ip"
+    TOKEN_SERVER_PORT = 411,       // "server-port"
+    TOKEN_SENDER_IP = 412,         // "sender-ip"
+    TOKEN_SENDER_PORT = 413,       // "sender-port"
+    TOKEN_MAX_QUEUE_SIZE = 414,    // "max-queue-size"
+    TOKEN_NCR_PROTOCOL = 415,      // "ncr-protocol"
+    TOKEN_NCR_FORMAT = 416,        // "ncr-format"
+    TOKEN_OVERRIDE_NO_UPDATE = 417, // "override-no-update"
+    TOKEN_OVERRIDE_CLIENT_UPDATE = 418, // "override-client-update"
+    TOKEN_REPLACE_CLIENT_NAME = 419, // "replace-client-name"
+    TOKEN_GENERATED_PREFIX = 420,  // "generated-prefix"
+    TOKEN_UDP = 421,               // "UDP"
+    TOKEN_TCP = 422,               // "TCP"
+    TOKEN_JSON = 423,              // "JSON"
+    TOKEN_WHEN_PRESENT = 424,      // "when-present"
+    TOKEN_NEVER = 425,             // "never"
+    TOKEN_ALWAYS = 426,            // "always"
+    TOKEN_WHEN_NOT_PRESENT = 427,  // "when-not-present"
+    TOKEN_HOSTNAME_CHAR_SET = 428, // "hostname-char-set"
+    TOKEN_HOSTNAME_CHAR_REPLACEMENT = 429, // "hostname-char-replacement"
+    TOKEN_IP_RESERVATIONS_UNIQUE = 430, // "ip-reservations-unique"
+    TOKEN_LOGGERS = 431,           // "loggers"
+    TOKEN_OUTPUT_OPTIONS = 432,    // "output_options"
+    TOKEN_OUTPUT = 433,            // "output"
+    TOKEN_DEBUGLEVEL = 434,        // "debuglevel"
+    TOKEN_SEVERITY = 435,          // "severity"
+    TOKEN_FLUSH = 436,             // "flush"
+    TOKEN_MAXSIZE = 437,           // "maxsize"
+    TOKEN_MAXVER = 438,            // "maxver"
+    TOKEN_PATTERN = 439,           // "pattern"
+    TOKEN_TOPLEVEL_JSON = 440,     // TOPLEVEL_JSON
+    TOKEN_TOPLEVEL_DHCP6 = 441,    // TOPLEVEL_DHCP6
+    TOKEN_SUB_DHCP6 = 442,         // SUB_DHCP6
+    TOKEN_SUB_INTERFACES6 = 443,   // SUB_INTERFACES6
+    TOKEN_SUB_SUBNET6 = 444,       // SUB_SUBNET6
+    TOKEN_SUB_POOL6 = 445,         // SUB_POOL6
+    TOKEN_SUB_PD_POOL = 446,       // SUB_PD_POOL
+    TOKEN_SUB_RESERVATION = 447,   // SUB_RESERVATION
+    TOKEN_SUB_OPTION_DEFS = 448,   // SUB_OPTION_DEFS
+    TOKEN_SUB_OPTION_DEF = 449,    // SUB_OPTION_DEF
+    TOKEN_SUB_OPTION_DATA = 450,   // SUB_OPTION_DATA
+    TOKEN_SUB_HOOKS_LIBRARY = 451, // SUB_HOOKS_LIBRARY
+    TOKEN_SUB_DHCP_DDNS = 452,     // SUB_DHCP_DDNS
+    TOKEN_SUB_CONFIG_CONTROL = 453, // SUB_CONFIG_CONTROL
+    TOKEN_STRING = 454,            // "constant string"
+    TOKEN_INTEGER = 455,           // "integer"
+    TOKEN_FLOAT = 456,             // "floating point"
+    TOKEN_BOOLEAN = 457            // "boolean"
       };
+      /// Backward compatibility alias (Bison 3.6).
+      typedef token_kind_type yytokentype;
     };
 
-    /// (External) token type, as returned by yylex.
-    typedef token::yytokentype token_type;
+    /// Token kind, as returned by yylex.
+    typedef token::yytokentype token_kind_type;
 
-    /// Symbol type: an internal symbol number.
-    typedef int symbol_number_type;
+    /// Backward compatibility alias (Bison 3.6).
+    typedef token_kind_type token_type;
+
+    /// Symbol kinds.
+    struct symbol_kind
+    {
+      enum symbol_kind_type
+      {
+        YYNTOKENS = 203, ///< Number of tokens.
+        S_YYEMPTY = -2,
+        S_YYEOF = 0,                             // "end of file"
+        S_YYerror = 1,                           // error
+        S_YYUNDEF = 2,                           // "invalid token"
+        S_COMMA = 3,                             // ","
+        S_COLON = 4,                             // ":"
+        S_LSQUARE_BRACKET = 5,                   // "["
+        S_RSQUARE_BRACKET = 6,                   // "]"
+        S_LCURLY_BRACKET = 7,                    // "{"
+        S_RCURLY_BRACKET = 8,                    // "}"
+        S_NULL_TYPE = 9,                         // "null"
+        S_DHCP6 = 10,                            // "Dhcp6"
+        S_DATA_DIRECTORY = 11,                   // "data-directory"
+        S_CONFIG_CONTROL = 12,                   // "config-control"
+        S_CONFIG_DATABASES = 13,                 // "config-databases"
+        S_CONFIG_FETCH_WAIT_TIME = 14,           // "config-fetch-wait-time"
+        S_INTERFACES_CONFIG = 15,                // "interfaces-config"
+        S_INTERFACES = 16,                       // "interfaces"
+        S_RE_DETECT = 17,                        // "re-detect"
+        S_LEASE_DATABASE = 18,                   // "lease-database"
+        S_HOSTS_DATABASE = 19,                   // "hosts-database"
+        S_HOSTS_DATABASES = 20,                  // "hosts-databases"
+        S_TYPE = 21,                             // "type"
+        S_MEMFILE = 22,                          // "memfile"
+        S_MYSQL = 23,                            // "mysql"
+        S_POSTGRESQL = 24,                       // "postgresql"
+        S_CQL = 25,                              // "cql"
+        S_USER = 26,                             // "user"
+        S_PASSWORD = 27,                         // "password"
+        S_HOST = 28,                             // "host"
+        S_PORT = 29,                             // "port"
+        S_PERSIST = 30,                          // "persist"
+        S_LFC_INTERVAL = 31,                     // "lfc-interval"
+        S_READONLY = 32,                         // "readonly"
+        S_CONNECT_TIMEOUT = 33,                  // "connect-timeout"
+        S_CONTACT_POINTS = 34,                   // "contact-points"
+        S_MAX_RECONNECT_TRIES = 35,              // "max-reconnect-tries"
+        S_RECONNECT_WAIT_TIME = 36,              // "reconnect-wait-time"
+        S_KEYSPACE = 37,                         // "keyspace"
+        S_CONSISTENCY = 38,                      // "consistency"
+        S_SERIAL_CONSISTENCY = 39,               // "serial-consistency"
+        S_REQUEST_TIMEOUT = 40,                  // "request-timeout"
+        S_TCP_KEEPALIVE = 41,                    // "tcp-keepalive"
+        S_TCP_NODELAY = 42,                      // "tcp-nodelay"
+        S_MAX_ROW_ERRORS = 43,                   // "max-row-errors"
+        S_PREFERRED_LIFETIME = 44,               // "preferred-lifetime"
+        S_MIN_PREFERRED_LIFETIME = 45,           // "min-preferred-lifetime"
+        S_MAX_PREFERRED_LIFETIME = 46,           // "max-preferred-lifetime"
+        S_VALID_LIFETIME = 47,                   // "valid-lifetime"
+        S_MIN_VALID_LIFETIME = 48,               // "min-valid-lifetime"
+        S_MAX_VALID_LIFETIME = 49,               // "max-valid-lifetime"
+        S_RENEW_TIMER = 50,                      // "renew-timer"
+        S_REBIND_TIMER = 51,                     // "rebind-timer"
+        S_CALCULATE_TEE_TIMES = 52,              // "calculate-tee-times"
+        S_T1_PERCENT = 53,                       // "t1-percent"
+        S_T2_PERCENT = 54,                       // "t2-percent"
+        S_CACHE_THRESHOLD = 55,                  // "cache-threshold"
+        S_CACHE_MAX_AGE = 56,                    // "cache-max-age"
+        S_DECLINE_PROBATION_PERIOD = 57,         // "decline-probation-period"
+        S_SERVER_TAG = 58,                       // "server-tag"
+        S_STATISTIC_DEFAULT_SAMPLE_COUNT = 59,   // "statistic-default-sample-count"
+        S_STATISTIC_DEFAULT_SAMPLE_AGE = 60,     // "statistic-default-sample-age"
+        S_DDNS_SEND_UPDATES = 61,                // "ddns-send-updates"
+        S_DDNS_OVERRIDE_NO_UPDATE = 62,          // "ddns-override-no-update"
+        S_DDNS_OVERRIDE_CLIENT_UPDATE = 63,      // "ddns-override-client-update"
+        S_DDNS_REPLACE_CLIENT_NAME = 64,         // "ddns-replace-client-name"
+        S_DDNS_GENERATED_PREFIX = 65,            // "ddns-generated-prefix"
+        S_DDNS_QUALIFYING_SUFFIX = 66,           // "ddns-qualifying-suffix"
+        S_DDNS_UPDATE_ON_RENEW = 67,             // "ddns-update-on-renew"
+        S_DDNS_USE_CONFLICT_RESOLUTION = 68,     // "ddns-use-conflict-resolution"
+        S_STORE_EXTENDED_INFO = 69,              // "store-extended-info"
+        S_SUBNET6 = 70,                          // "subnet6"
+        S_OPTION_DEF = 71,                       // "option-def"
+        S_OPTION_DATA = 72,                      // "option-data"
+        S_NAME = 73,                             // "name"
+        S_DATA = 74,                             // "data"
+        S_CODE = 75,                             // "code"
+        S_SPACE = 76,                            // "space"
+        S_CSV_FORMAT = 77,                       // "csv-format"
+        S_ALWAYS_SEND = 78,                      // "always-send"
+        S_RECORD_TYPES = 79,                     // "record-types"
+        S_ENCAPSULATE = 80,                      // "encapsulate"
+        S_ARRAY = 81,                            // "array"
+        S_POOLS = 82,                            // "pools"
+        S_POOL = 83,                             // "pool"
+        S_PD_POOLS = 84,                         // "pd-pools"
+        S_PREFIX = 85,                           // "prefix"
+        S_PREFIX_LEN = 86,                       // "prefix-len"
+        S_EXCLUDED_PREFIX = 87,                  // "excluded-prefix"
+        S_EXCLUDED_PREFIX_LEN = 88,              // "excluded-prefix-len"
+        S_DELEGATED_LEN = 89,                    // "delegated-len"
+        S_USER_CONTEXT = 90,                     // "user-context"
+        S_COMMENT = 91,                          // "comment"
+        S_SUBNET = 92,                           // "subnet"
+        S_INTERFACE = 93,                        // "interface"
+        S_INTERFACE_ID = 94,                     // "interface-id"
+        S_ID = 95,                               // "id"
+        S_RAPID_COMMIT = 96,                     // "rapid-commit"
+        S_RESERVATION_MODE = 97,                 // "reservation-mode"
+        S_DISABLED = 98,                         // "disabled"
+        S_OUT_OF_POOL = 99,                      // "out-of-pool"
+        S_GLOBAL = 100,                          // "global"
+        S_ALL = 101,                             // "all"
+        S_SHARED_NETWORKS = 102,                 // "shared-networks"
+        S_MAC_SOURCES = 103,                     // "mac-sources"
+        S_RELAY_SUPPLIED_OPTIONS = 104,          // "relay-supplied-options"
+        S_HOST_RESERVATION_IDENTIFIERS = 105,    // "host-reservation-identifiers"
+        S_SANITY_CHECKS = 106,                   // "sanity-checks"
+        S_LEASE_CHECKS = 107,                    // "lease-checks"
+        S_CLIENT_CLASSES = 108,                  // "client-classes"
+        S_REQUIRE_CLIENT_CLASSES = 109,          // "require-client-classes"
+        S_TEST = 110,                            // "test"
+        S_ONLY_IF_REQUIRED = 111,                // "only-if-required"
+        S_CLIENT_CLASS = 112,                    // "client-class"
+        S_RESERVATIONS = 113,                    // "reservations"
+        S_IP_ADDRESSES = 114,                    // "ip-addresses"
+        S_PREFIXES = 115,                        // "prefixes"
+        S_DUID = 116,                            // "duid"
+        S_HW_ADDRESS = 117,                      // "hw-address"
+        S_HOSTNAME = 118,                        // "hostname"
+        S_FLEX_ID = 119,                         // "flex-id"
+        S_RELAY = 120,                           // "relay"
+        S_IP_ADDRESS = 121,                      // "ip-address"
+        S_HOOKS_LIBRARIES = 122,                 // "hooks-libraries"
+        S_LIBRARY = 123,                         // "library"
+        S_PARAMETERS = 124,                      // "parameters"
+        S_EXPIRED_LEASES_PROCESSING = 125,       // "expired-leases-processing"
+        S_RECLAIM_TIMER_WAIT_TIME = 126,         // "reclaim-timer-wait-time"
+        S_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 127, // "flush-reclaimed-timer-wait-time"
+        S_HOLD_RECLAIMED_TIME = 128,             // "hold-reclaimed-time"
+        S_MAX_RECLAIM_LEASES = 129,              // "max-reclaim-leases"
+        S_MAX_RECLAIM_TIME = 130,                // "max-reclaim-time"
+        S_UNWARNED_RECLAIM_CYCLES = 131,         // "unwarned-reclaim-cycles"
+        S_SERVER_ID = 132,                       // "server-id"
+        S_LLT = 133,                             // "LLT"
+        S_EN = 134,                              // "EN"
+        S_LL = 135,                              // "LL"
+        S_IDENTIFIER = 136,                      // "identifier"
+        S_HTYPE = 137,                           // "htype"
+        S_TIME = 138,                            // "time"
+        S_ENTERPRISE_ID = 139,                   // "enterprise-id"
+        S_DHCP4O6_PORT = 140,                    // "dhcp4o6-port"
+        S_DHCP_MULTI_THREADING = 141,            // "multi-threading"
+        S_ENABLE_MULTI_THREADING = 142,          // "enable-multi-threading"
+        S_THREAD_POOL_SIZE = 143,                // "thread-pool-size"
+        S_PACKET_QUEUE_SIZE = 144,               // "packet-queue-size"
+        S_CONTROL_SOCKET = 145,                  // "control-socket"
+        S_SOCKET_TYPE = 146,                     // "socket-type"
+        S_SOCKET_NAME = 147,                     // "socket-name"
+        S_DHCP_QUEUE_CONTROL = 148,              // "dhcp-queue-control"
+        S_ENABLE_QUEUE = 149,                    // "enable-queue"
+        S_QUEUE_TYPE = 150,                      // "queue-type"
+        S_CAPACITY = 151,                        // "capacity"
+        S_DHCP_DDNS = 152,                       // "dhcp-ddns"
+        S_ENABLE_UPDATES = 153,                  // "enable-updates"
+        S_QUALIFYING_SUFFIX = 154,               // "qualifying-suffix"
+        S_SERVER_IP = 155,                       // "server-ip"
+        S_SERVER_PORT = 156,                     // "server-port"
+        S_SENDER_IP = 157,                       // "sender-ip"
+        S_SENDER_PORT = 158,                     // "sender-port"
+        S_MAX_QUEUE_SIZE = 159,                  // "max-queue-size"
+        S_NCR_PROTOCOL = 160,                    // "ncr-protocol"
+        S_NCR_FORMAT = 161,                      // "ncr-format"
+        S_OVERRIDE_NO_UPDATE = 162,              // "override-no-update"
+        S_OVERRIDE_CLIENT_UPDATE = 163,          // "override-client-update"
+        S_REPLACE_CLIENT_NAME = 164,             // "replace-client-name"
+        S_GENERATED_PREFIX = 165,                // "generated-prefix"
+        S_UDP = 166,                             // "UDP"
+        S_TCP = 167,                             // "TCP"
+        S_JSON = 168,                            // "JSON"
+        S_WHEN_PRESENT = 169,                    // "when-present"
+        S_NEVER = 170,                           // "never"
+        S_ALWAYS = 171,                          // "always"
+        S_WHEN_NOT_PRESENT = 172,                // "when-not-present"
+        S_HOSTNAME_CHAR_SET = 173,               // "hostname-char-set"
+        S_HOSTNAME_CHAR_REPLACEMENT = 174,       // "hostname-char-replacement"
+        S_IP_RESERVATIONS_UNIQUE = 175,          // "ip-reservations-unique"
+        S_LOGGERS = 176,                         // "loggers"
+        S_OUTPUT_OPTIONS = 177,                  // "output_options"
+        S_OUTPUT = 178,                          // "output"
+        S_DEBUGLEVEL = 179,                      // "debuglevel"
+        S_SEVERITY = 180,                        // "severity"
+        S_FLUSH = 181,                           // "flush"
+        S_MAXSIZE = 182,                         // "maxsize"
+        S_MAXVER = 183,                          // "maxver"
+        S_PATTERN = 184,                         // "pattern"
+        S_TOPLEVEL_JSON = 185,                   // TOPLEVEL_JSON
+        S_TOPLEVEL_DHCP6 = 186,                  // TOPLEVEL_DHCP6
+        S_SUB_DHCP6 = 187,                       // SUB_DHCP6
+        S_SUB_INTERFACES6 = 188,                 // SUB_INTERFACES6
+        S_SUB_SUBNET6 = 189,                     // SUB_SUBNET6
+        S_SUB_POOL6 = 190,                       // SUB_POOL6
+        S_SUB_PD_POOL = 191,                     // SUB_PD_POOL
+        S_SUB_RESERVATION = 192,                 // SUB_RESERVATION
+        S_SUB_OPTION_DEFS = 193,                 // SUB_OPTION_DEFS
+        S_SUB_OPTION_DEF = 194,                  // SUB_OPTION_DEF
+        S_SUB_OPTION_DATA = 195,                 // SUB_OPTION_DATA
+        S_SUB_HOOKS_LIBRARY = 196,               // SUB_HOOKS_LIBRARY
+        S_SUB_DHCP_DDNS = 197,                   // SUB_DHCP_DDNS
+        S_SUB_CONFIG_CONTROL = 198,              // SUB_CONFIG_CONTROL
+        S_STRING = 199,                          // "constant string"
+        S_INTEGER = 200,                         // "integer"
+        S_FLOAT = 201,                           // "floating point"
+        S_BOOLEAN = 202,                         // "boolean"
+        S_YYACCEPT = 203,                        // $accept
+        S_start = 204,                           // start
+        S_205_1 = 205,                           // $@1
+        S_206_2 = 206,                           // $@2
+        S_207_3 = 207,                           // $@3
+        S_208_4 = 208,                           // $@4
+        S_209_5 = 209,                           // $@5
+        S_210_6 = 210,                           // $@6
+        S_211_7 = 211,                           // $@7
+        S_212_8 = 212,                           // $@8
+        S_213_9 = 213,                           // $@9
+        S_214_10 = 214,                          // $@10
+        S_215_11 = 215,                          // $@11
+        S_216_12 = 216,                          // $@12
+        S_217_13 = 217,                          // $@13
+        S_218_14 = 218,                          // $@14
+        S_value = 219,                           // value
+        S_sub_json = 220,                        // sub_json
+        S_map2 = 221,                            // map2
+        S_222_15 = 222,                          // $@15
+        S_map_value = 223,                       // map_value
+        S_map_content = 224,                     // map_content
+        S_not_empty_map = 225,                   // not_empty_map
+        S_list_generic = 226,                    // list_generic
+        S_227_16 = 227,                          // $@16
+        S_list_content = 228,                    // list_content
+        S_not_empty_list = 229,                  // not_empty_list
+        S_list_strings = 230,                    // list_strings
+        S_231_17 = 231,                          // $@17
+        S_list_strings_content = 232,            // list_strings_content
+        S_not_empty_list_strings = 233,          // not_empty_list_strings
+        S_unknown_map_entry = 234,               // unknown_map_entry
+        S_syntax_map = 235,                      // syntax_map
+        S_236_18 = 236,                          // $@18
+        S_global_object = 237,                   // global_object
+        S_238_19 = 238,                          // $@19
+        S_sub_dhcp6 = 239,                       // sub_dhcp6
+        S_240_20 = 240,                          // $@20
+        S_global_params = 241,                   // global_params
+        S_global_param = 242,                    // global_param
+        S_data_directory = 243,                  // data_directory
+        S_244_21 = 244,                          // $@21
+        S_preferred_lifetime = 245,              // preferred_lifetime
+        S_min_preferred_lifetime = 246,          // min_preferred_lifetime
+        S_max_preferred_lifetime = 247,          // max_preferred_lifetime
+        S_valid_lifetime = 248,                  // valid_lifetime
+        S_min_valid_lifetime = 249,              // min_valid_lifetime
+        S_max_valid_lifetime = 250,              // max_valid_lifetime
+        S_renew_timer = 251,                     // renew_timer
+        S_rebind_timer = 252,                    // rebind_timer
+        S_calculate_tee_times = 253,             // calculate_tee_times
+        S_t1_percent = 254,                      // t1_percent
+        S_t2_percent = 255,                      // t2_percent
+        S_cache_threshold = 256,                 // cache_threshold
+        S_cache_max_age = 257,                   // cache_max_age
+        S_decline_probation_period = 258,        // decline_probation_period
+        S_ddns_send_updates = 259,               // ddns_send_updates
+        S_ddns_override_no_update = 260,         // ddns_override_no_update
+        S_ddns_override_client_update = 261,     // ddns_override_client_update
+        S_ddns_replace_client_name = 262,        // ddns_replace_client_name
+        S_263_22 = 263,                          // $@22
+        S_ddns_replace_client_name_value = 264,  // ddns_replace_client_name_value
+        S_ddns_generated_prefix = 265,           // ddns_generated_prefix
+        S_266_23 = 266,                          // $@23
+        S_ddns_qualifying_suffix = 267,          // ddns_qualifying_suffix
+        S_268_24 = 268,                          // $@24
+        S_ddns_update_on_renew = 269,            // ddns_update_on_renew
+        S_ddns_use_conflict_resolution = 270,    // ddns_use_conflict_resolution
+        S_hostname_char_set = 271,               // hostname_char_set
+        S_272_25 = 272,                          // $@25
+        S_hostname_char_replacement = 273,       // hostname_char_replacement
+        S_274_26 = 274,                          // $@26
+        S_store_extended_info = 275,             // store_extended_info
+        S_statistic_default_sample_count = 276,  // statistic_default_sample_count
+        S_statistic_default_sample_age = 277,    // statistic_default_sample_age
+        S_server_tag = 278,                      // server_tag
+        S_279_27 = 279,                          // $@27
+        S_ip_reservations_unique = 280,          // ip_reservations_unique
+        S_interfaces_config = 281,               // interfaces_config
+        S_282_28 = 282,                          // $@28
+        S_sub_interfaces6 = 283,                 // sub_interfaces6
+        S_284_29 = 284,                          // $@29
+        S_interfaces_config_params = 285,        // interfaces_config_params
+        S_interfaces_config_param = 286,         // interfaces_config_param
+        S_interfaces_list = 287,                 // interfaces_list
+        S_288_30 = 288,                          // $@30
+        S_re_detect = 289,                       // re_detect
+        S_lease_database = 290,                  // lease_database
+        S_291_31 = 291,                          // $@31
+        S_hosts_database = 292,                  // hosts_database
+        S_293_32 = 293,                          // $@32
+        S_hosts_databases = 294,                 // hosts_databases
+        S_295_33 = 295,                          // $@33
+        S_database_list = 296,                   // database_list
+        S_not_empty_database_list = 297,         // not_empty_database_list
+        S_database = 298,                        // database
+        S_299_34 = 299,                          // $@34
+        S_database_map_params = 300,             // database_map_params
+        S_database_map_param = 301,              // database_map_param
+        S_database_type = 302,                   // database_type
+        S_303_35 = 303,                          // $@35
+        S_db_type = 304,                         // db_type
+        S_user = 305,                            // user
+        S_306_36 = 306,                          // $@36
+        S_password = 307,                        // password
+        S_308_37 = 308,                          // $@37
+        S_host = 309,                            // host
+        S_310_38 = 310,                          // $@38
+        S_port = 311,                            // port
+        S_name = 312,                            // name
+        S_313_39 = 313,                          // $@39
+        S_persist = 314,                         // persist
+        S_lfc_interval = 315,                    // lfc_interval
+        S_readonly = 316,                        // readonly
+        S_connect_timeout = 317,                 // connect_timeout
+        S_reconnect_wait_time = 318,             // reconnect_wait_time
+        S_max_row_errors = 319,                  // max_row_errors
+        S_request_timeout = 320,                 // request_timeout
+        S_tcp_keepalive = 321,                   // tcp_keepalive
+        S_tcp_nodelay = 322,                     // tcp_nodelay
+        S_contact_points = 323,                  // contact_points
+        S_324_40 = 324,                          // $@40
+        S_max_reconnect_tries = 325,             // max_reconnect_tries
+        S_keyspace = 326,                        // keyspace
+        S_327_41 = 327,                          // $@41
+        S_consistency = 328,                     // consistency
+        S_329_42 = 329,                          // $@42
+        S_serial_consistency = 330,              // serial_consistency
+        S_331_43 = 331,                          // $@43
+        S_sanity_checks = 332,                   // sanity_checks
+        S_333_44 = 333,                          // $@44
+        S_sanity_checks_params = 334,            // sanity_checks_params
+        S_sanity_checks_param = 335,             // sanity_checks_param
+        S_lease_checks = 336,                    // lease_checks
+        S_337_45 = 337,                          // $@45
+        S_mac_sources = 338,                     // mac_sources
+        S_339_46 = 339,                          // $@46
+        S_mac_sources_list = 340,                // mac_sources_list
+        S_mac_sources_value = 341,               // mac_sources_value
+        S_duid_id = 342,                         // duid_id
+        S_string_id = 343,                       // string_id
+        S_host_reservation_identifiers = 344,    // host_reservation_identifiers
+        S_345_47 = 345,                          // $@47
+        S_host_reservation_identifiers_list = 346, // host_reservation_identifiers_list
+        S_host_reservation_identifier = 347,     // host_reservation_identifier
+        S_hw_address_id = 348,                   // hw_address_id
+        S_flex_id = 349,                         // flex_id
+        S_relay_supplied_options = 350,          // relay_supplied_options
+        S_351_48 = 351,                          // $@48
+        S_dhcp_multi_threading = 352,            // dhcp_multi_threading
+        S_353_49 = 353,                          // $@49
+        S_multi_threading_params = 354,          // multi_threading_params
+        S_multi_threading_param = 355,           // multi_threading_param
+        S_enable_multi_threading = 356,          // enable_multi_threading
+        S_thread_pool_size = 357,                // thread_pool_size
+        S_packet_queue_size = 358,               // packet_queue_size
+        S_hooks_libraries = 359,                 // hooks_libraries
+        S_360_50 = 360,                          // $@50
+        S_hooks_libraries_list = 361,            // hooks_libraries_list
+        S_not_empty_hooks_libraries_list = 362,  // not_empty_hooks_libraries_list
+        S_hooks_library = 363,                   // hooks_library
+        S_364_51 = 364,                          // $@51
+        S_sub_hooks_library = 365,               // sub_hooks_library
+        S_366_52 = 366,                          // $@52
+        S_hooks_params = 367,                    // hooks_params
+        S_hooks_param = 368,                     // hooks_param
+        S_library = 369,                         // library
+        S_370_53 = 370,                          // $@53
+        S_parameters = 371,                      // parameters
+        S_372_54 = 372,                          // $@54
+        S_expired_leases_processing = 373,       // expired_leases_processing
+        S_374_55 = 374,                          // $@55
+        S_expired_leases_params = 375,           // expired_leases_params
+        S_expired_leases_param = 376,            // expired_leases_param
+        S_reclaim_timer_wait_time = 377,         // reclaim_timer_wait_time
+        S_flush_reclaimed_timer_wait_time = 378, // flush_reclaimed_timer_wait_time
+        S_hold_reclaimed_time = 379,             // hold_reclaimed_time
+        S_max_reclaim_leases = 380,              // max_reclaim_leases
+        S_max_reclaim_time = 381,                // max_reclaim_time
+        S_unwarned_reclaim_cycles = 382,         // unwarned_reclaim_cycles
+        S_subnet6_list = 383,                    // subnet6_list
+        S_384_56 = 384,                          // $@56
+        S_subnet6_list_content = 385,            // subnet6_list_content
+        S_not_empty_subnet6_list = 386,          // not_empty_subnet6_list
+        S_subnet6 = 387,                         // subnet6
+        S_388_57 = 388,                          // $@57
+        S_sub_subnet6 = 389,                     // sub_subnet6
+        S_390_58 = 390,                          // $@58
+        S_subnet6_params = 391,                  // subnet6_params
+        S_subnet6_param = 392,                   // subnet6_param
+        S_subnet = 393,                          // subnet
+        S_394_59 = 394,                          // $@59
+        S_interface = 395,                       // interface
+        S_396_60 = 396,                          // $@60
+        S_interface_id = 397,                    // interface_id
+        S_398_61 = 398,                          // $@61
+        S_client_class = 399,                    // client_class
+        S_400_62 = 400,                          // $@62
+        S_require_client_classes = 401,          // require_client_classes
+        S_402_63 = 402,                          // $@63
+        S_reservation_mode = 403,                // reservation_mode
+        S_404_64 = 404,                          // $@64
+        S_hr_mode = 405,                         // hr_mode
+        S_id = 406,                              // id
+        S_rapid_commit = 407,                    // rapid_commit
+        S_shared_networks = 408,                 // shared_networks
+        S_409_65 = 409,                          // $@65
+        S_shared_networks_content = 410,         // shared_networks_content
+        S_shared_networks_list = 411,            // shared_networks_list
+        S_shared_network = 412,                  // shared_network
+        S_413_66 = 413,                          // $@66
+        S_shared_network_params = 414,           // shared_network_params
+        S_shared_network_param = 415,            // shared_network_param
+        S_option_def_list = 416,                 // option_def_list
+        S_417_67 = 417,                          // $@67
+        S_sub_option_def_list = 418,             // sub_option_def_list
+        S_419_68 = 419,                          // $@68
+        S_option_def_list_content = 420,         // option_def_list_content
+        S_not_empty_option_def_list = 421,       // not_empty_option_def_list
+        S_option_def_entry = 422,                // option_def_entry
+        S_423_69 = 423,                          // $@69
+        S_sub_option_def = 424,                  // sub_option_def
+        S_425_70 = 425,                          // $@70
+        S_option_def_params = 426,               // option_def_params
+        S_not_empty_option_def_params = 427,     // not_empty_option_def_params
+        S_option_def_param = 428,                // option_def_param
+        S_option_def_name = 429,                 // option_def_name
+        S_code = 430,                            // code
+        S_option_def_code = 431,                 // option_def_code
+        S_option_def_type = 432,                 // option_def_type
+        S_433_71 = 433,                          // $@71
+        S_option_def_record_types = 434,         // option_def_record_types
+        S_435_72 = 435,                          // $@72
+        S_space = 436,                           // space
+        S_437_73 = 437,                          // $@73
+        S_option_def_space = 438,                // option_def_space
+        S_option_def_encapsulate = 439,          // option_def_encapsulate
+        S_440_74 = 440,                          // $@74
+        S_option_def_array = 441,                // option_def_array
+        S_option_data_list = 442,                // option_data_list
+        S_443_75 = 443,                          // $@75
+        S_option_data_list_content = 444,        // option_data_list_content
+        S_not_empty_option_data_list = 445,      // not_empty_option_data_list
+        S_option_data_entry = 446,               // option_data_entry
+        S_447_76 = 447,                          // $@76
+        S_sub_option_data = 448,                 // sub_option_data
+        S_449_77 = 449,                          // $@77
+        S_option_data_params = 450,              // option_data_params
+        S_not_empty_option_data_params = 451,    // not_empty_option_data_params
+        S_option_data_param = 452,               // option_data_param
+        S_option_data_name = 453,                // option_data_name
+        S_option_data_data = 454,                // option_data_data
+        S_455_78 = 455,                          // $@78
+        S_option_data_code = 456,                // option_data_code
+        S_option_data_space = 457,               // option_data_space
+        S_option_data_csv_format = 458,          // option_data_csv_format
+        S_option_data_always_send = 459,         // option_data_always_send
+        S_pools_list = 460,                      // pools_list
+        S_461_79 = 461,                          // $@79
+        S_pools_list_content = 462,              // pools_list_content
+        S_not_empty_pools_list = 463,            // not_empty_pools_list
+        S_pool_list_entry = 464,                 // pool_list_entry
+        S_465_80 = 465,                          // $@80
+        S_sub_pool6 = 466,                       // sub_pool6
+        S_467_81 = 467,                          // $@81
+        S_pool_params = 468,                     // pool_params
+        S_pool_param = 469,                      // pool_param
+        S_pool_entry = 470,                      // pool_entry
+        S_471_82 = 471,                          // $@82
+        S_user_context = 472,                    // user_context
+        S_473_83 = 473,                          // $@83
+        S_comment = 474,                         // comment
+        S_475_84 = 475,                          // $@84
+        S_pd_pools_list = 476,                   // pd_pools_list
+        S_477_85 = 477,                          // $@85
+        S_pd_pools_list_content = 478,           // pd_pools_list_content
+        S_not_empty_pd_pools_list = 479,         // not_empty_pd_pools_list
+        S_pd_pool_entry = 480,                   // pd_pool_entry
+        S_481_86 = 481,                          // $@86
+        S_sub_pd_pool = 482,                     // sub_pd_pool
+        S_483_87 = 483,                          // $@87
+        S_pd_pool_params = 484,                  // pd_pool_params
+        S_pd_pool_param = 485,                   // pd_pool_param
+        S_pd_prefix = 486,                       // pd_prefix
+        S_487_88 = 487,                          // $@88
+        S_pd_prefix_len = 488,                   // pd_prefix_len
+        S_excluded_prefix = 489,                 // excluded_prefix
+        S_490_89 = 490,                          // $@89
+        S_excluded_prefix_len = 491,             // excluded_prefix_len
+        S_pd_delegated_len = 492,                // pd_delegated_len
+        S_reservations = 493,                    // reservations
+        S_494_90 = 494,                          // $@90
+        S_reservations_list = 495,               // reservations_list
+        S_not_empty_reservations_list = 496,     // not_empty_reservations_list
+        S_reservation = 497,                     // reservation
+        S_498_91 = 498,                          // $@91
+        S_sub_reservation = 499,                 // sub_reservation
+        S_500_92 = 500,                          // $@92
+        S_reservation_params = 501,              // reservation_params
+        S_not_empty_reservation_params = 502,    // not_empty_reservation_params
+        S_reservation_param = 503,               // reservation_param
+        S_ip_addresses = 504,                    // ip_addresses
+        S_505_93 = 505,                          // $@93
+        S_prefixes = 506,                        // prefixes
+        S_507_94 = 507,                          // $@94
+        S_duid = 508,                            // duid
+        S_509_95 = 509,                          // $@95
+        S_hw_address = 510,                      // hw_address
+        S_511_96 = 511,                          // $@96
+        S_hostname = 512,                        // hostname
+        S_513_97 = 513,                          // $@97
+        S_flex_id_value = 514,                   // flex_id_value
+        S_515_98 = 515,                          // $@98
+        S_reservation_client_classes = 516,      // reservation_client_classes
+        S_517_99 = 517,                          // $@99
+        S_relay = 518,                           // relay
+        S_519_100 = 519,                         // $@100
+        S_relay_map = 520,                       // relay_map
+        S_ip_address = 521,                      // ip_address
+        S_522_101 = 522,                         // $@101
+        S_client_classes = 523,                  // client_classes
+        S_524_102 = 524,                         // $@102
+        S_client_classes_list = 525,             // client_classes_list
+        S_client_class_entry = 526,              // client_class_entry
+        S_527_103 = 527,                         // $@103
+        S_client_class_params = 528,             // client_class_params
+        S_not_empty_client_class_params = 529,   // not_empty_client_class_params
+        S_client_class_param = 530,              // client_class_param
+        S_client_class_name = 531,               // client_class_name
+        S_client_class_test = 532,               // client_class_test
+        S_533_104 = 533,                         // $@104
+        S_only_if_required = 534,                // only_if_required
+        S_server_id = 535,                       // server_id
+        S_536_105 = 536,                         // $@105
+        S_server_id_params = 537,                // server_id_params
+        S_server_id_param = 538,                 // server_id_param
+        S_server_id_type = 539,                  // server_id_type
+        S_540_106 = 540,                         // $@106
+        S_duid_type = 541,                       // duid_type
+        S_htype = 542,                           // htype
+        S_identifier = 543,                      // identifier
+        S_544_107 = 544,                         // $@107
+        S_time = 545,                            // time
+        S_enterprise_id = 546,                   // enterprise_id
+        S_dhcp4o6_port = 547,                    // dhcp4o6_port
+        S_control_socket = 548,                  // control_socket
+        S_549_108 = 549,                         // $@108
+        S_control_socket_params = 550,           // control_socket_params
+        S_control_socket_param = 551,            // control_socket_param
+        S_socket_type = 552,                     // socket_type
+        S_553_109 = 553,                         // $@109
+        S_socket_name = 554,                     // socket_name
+        S_555_110 = 555,                         // $@110
+        S_dhcp_queue_control = 556,              // dhcp_queue_control
+        S_557_111 = 557,                         // $@111
+        S_queue_control_params = 558,            // queue_control_params
+        S_queue_control_param = 559,             // queue_control_param
+        S_enable_queue = 560,                    // enable_queue
+        S_queue_type = 561,                      // queue_type
+        S_562_112 = 562,                         // $@112
+        S_capacity = 563,                        // capacity
+        S_arbitrary_map_entry = 564,             // arbitrary_map_entry
+        S_565_113 = 565,                         // $@113
+        S_dhcp_ddns = 566,                       // dhcp_ddns
+        S_567_114 = 567,                         // $@114
+        S_sub_dhcp_ddns = 568,                   // sub_dhcp_ddns
+        S_569_115 = 569,                         // $@115
+        S_dhcp_ddns_params = 570,                // dhcp_ddns_params
+        S_dhcp_ddns_param = 571,                 // dhcp_ddns_param
+        S_enable_updates = 572,                  // enable_updates
+        S_dep_qualifying_suffix = 573,           // dep_qualifying_suffix
+        S_574_116 = 574,                         // $@116
+        S_server_ip = 575,                       // server_ip
+        S_576_117 = 576,                         // $@117
+        S_server_port = 577,                     // server_port
+        S_sender_ip = 578,                       // sender_ip
+        S_579_118 = 579,                         // $@118
+        S_sender_port = 580,                     // sender_port
+        S_max_queue_size = 581,                  // max_queue_size
+        S_ncr_protocol = 582,                    // ncr_protocol
+        S_583_119 = 583,                         // $@119
+        S_ncr_protocol_value = 584,              // ncr_protocol_value
+        S_ncr_format = 585,                      // ncr_format
+        S_586_120 = 586,                         // $@120
+        S_dep_override_no_update = 587,          // dep_override_no_update
+        S_dep_override_client_update = 588,      // dep_override_client_update
+        S_dep_replace_client_name = 589,         // dep_replace_client_name
+        S_590_121 = 590,                         // $@121
+        S_dep_generated_prefix = 591,            // dep_generated_prefix
+        S_592_122 = 592,                         // $@122
+        S_dep_hostname_char_set = 593,           // dep_hostname_char_set
+        S_594_123 = 594,                         // $@123
+        S_dep_hostname_char_replacement = 595,   // dep_hostname_char_replacement
+        S_596_124 = 596,                         // $@124
+        S_config_control = 597,                  // config_control
+        S_598_125 = 598,                         // $@125
+        S_sub_config_control = 599,              // sub_config_control
+        S_600_126 = 600,                         // $@126
+        S_config_control_params = 601,           // config_control_params
+        S_config_control_param = 602,            // config_control_param
+        S_config_databases = 603,                // config_databases
+        S_604_127 = 604,                         // $@127
+        S_config_fetch_wait_time = 605,          // config_fetch_wait_time
+        S_loggers = 606,                         // loggers
+        S_607_128 = 607,                         // $@128
+        S_loggers_entries = 608,                 // loggers_entries
+        S_logger_entry = 609,                    // logger_entry
+        S_610_129 = 610,                         // $@129
+        S_logger_params = 611,                   // logger_params
+        S_logger_param = 612,                    // logger_param
+        S_debuglevel = 613,                      // debuglevel
+        S_severity = 614,                        // severity
+        S_615_130 = 615,                         // $@130
+        S_output_options_list = 616,             // output_options_list
+        S_617_131 = 617,                         // $@131
+        S_output_options_list_content = 618,     // output_options_list_content
+        S_output_entry = 619,                    // output_entry
+        S_620_132 = 620,                         // $@132
+        S_output_params_list = 621,              // output_params_list
+        S_output_params = 622,                   // output_params
+        S_output = 623,                          // output
+        S_624_133 = 624,                         // $@133
+        S_flush = 625,                           // flush
+        S_maxsize = 626,                         // maxsize
+        S_maxver = 627,                          // maxver
+        S_pattern = 628,                         // pattern
+        S_629_134 = 629                          // $@134
+      };
+    };
 
-    /// The symbol type number to denote an empty symbol.
-    enum { empty_symbol = -2 };
+    /// (Internal) symbol kind.
+    typedef symbol_kind::symbol_kind_type symbol_kind_type;
 
-    /// Internal symbol number for tokens (subsumed by symbol_number_type).
-    typedef unsigned char token_number_type;
+    /// The number of tokens.
+    static const symbol_kind_type YYNTOKENS = symbol_kind::YYNTOKENS;
 
     /// A complete symbol.
     ///
-    /// Expects its Base type to provide access to the symbol type
-    /// via type_get().
+    /// Expects its Base type to provide access to the symbol kind
+    /// via kind ().
     ///
     /// Provide access to semantic value and location.
     template <typename Base>
@@ -575,39 +1355,200 @@ namespace isc { namespace dhcp {
       typedef Base super_type;
 
       /// Default constructor.
-      basic_symbol ();
+      basic_symbol ()
+        : value ()
+        , location ()
+      {}
+
+#if 201103L <= YY_CPLUSPLUS
+      /// Move constructor.
+      basic_symbol (basic_symbol&& that)
+        : Base (std::move (that))
+        , value ()
+        , location (std::move (that.location))
+      {
+        switch (this->kind ())
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_duid_type: // duid_type
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+        value.move< ElementPtr > (std::move (that.value));
+        break;
+
+      case symbol_kind::S_BOOLEAN: // "boolean"
+        value.move< bool > (std::move (that.value));
+        break;
+
+      case symbol_kind::S_FLOAT: // "floating point"
+        value.move< double > (std::move (that.value));
+        break;
+
+      case symbol_kind::S_INTEGER: // "integer"
+        value.move< int64_t > (std::move (that.value));
+        break;
+
+      case symbol_kind::S_STRING: // "constant string"
+        value.move< std::string > (std::move (that.value));
+        break;
+
+      default:
+        break;
+    }
+
+      }
+#endif
 
       /// Copy constructor.
-      basic_symbol (const basic_symbol& other);
+      basic_symbol (const basic_symbol& that);
 
       /// Constructor for valueless symbols, and symbols from each type.
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, location_type&& l)
+        : Base (t)
+        , location (std::move (l))
+      {}
+#else
+      basic_symbol (typename Base::kind_type t, const location_type& l)
+        : Base (t)
+        , location (l)
+      {}
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, ElementPtr&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
+#else
+      basic_symbol (typename Base::kind_type t, const ElementPtr& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, bool&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
+#else
+      basic_symbol (typename Base::kind_type t, const bool& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, double&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
+#else
+      basic_symbol (typename Base::kind_type t, const double& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, int64_t&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
+#else
+      basic_symbol (typename Base::kind_type t, const int64_t& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, std::string&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
+#else
+      basic_symbol (typename Base::kind_type t, const std::string& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
+#endif
 
-  basic_symbol (typename Base::kind_type t, const location_type& l);
+      /// Destroy the symbol.
+      ~basic_symbol ()
+      {
+        clear ();
+      }
 
-  basic_symbol (typename Base::kind_type t, const ElementPtr v, const location_type& l);
+      /// Destroy contents, and record that is empty.
+      void clear ()
+      {
+        // User destructor.
+        symbol_kind_type yykind = this->kind ();
+        basic_symbol<Base>& yysym = *this;
+        (void) yysym;
+        switch (yykind)
+        {
+       default:
+          break;
+        }
+
+        // Value type destructor.
+switch (yykind)
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_duid_type: // duid_type
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+        value.template destroy< ElementPtr > ();
+        break;
 
-  basic_symbol (typename Base::kind_type t, const bool v, const location_type& l);
+      case symbol_kind::S_BOOLEAN: // "boolean"
+        value.template destroy< bool > ();
+        break;
 
-  basic_symbol (typename Base::kind_type t, const double v, const location_type& l);
+      case symbol_kind::S_FLOAT: // "floating point"
+        value.template destroy< double > ();
+        break;
 
-  basic_symbol (typename Base::kind_type t, const int64_t v, const location_type& l);
+      case symbol_kind::S_INTEGER: // "integer"
+        value.template destroy< int64_t > ();
+        break;
 
-  basic_symbol (typename Base::kind_type t, const std::string v, const location_type& l);
+      case symbol_kind::S_STRING: // "constant string"
+        value.template destroy< std::string > ();
+        break;
 
+      default:
+        break;
+    }
 
-      /// Constructor for symbols with semantic value.
-      basic_symbol (typename Base::kind_type t,
-                    const semantic_type& v,
-                    const location_type& l);
+        Base::clear ();
+      }
 
-      /// Destroy the symbol.
-      ~basic_symbol ();
+      /// The user-facing name of this symbol.
+      std::string name () const YY_NOEXCEPT
+      {
+        return Dhcp6Parser::symbol_name (this->kind ());
+      }
 
-      /// Destroy contents, and record that is empty.
-      void clear ();
+      /// Backward compatibility (Bison 3.6).
+      symbol_kind_type type_get () const YY_NOEXCEPT;
 
       /// Whether empty.
-      bool empty () const;
+      bool empty () const YY_NOEXCEPT;
 
       /// Destructive move, \a s is emptied into this.
       void move (basic_symbol& s);
@@ -619,2669 +1560,3784 @@ namespace isc { namespace dhcp {
       location_type location;
 
     private:
+#if YY_CPLUSPLUS < 201103L
       /// Assignment operator.
-      basic_symbol& operator= (const basic_symbol& other);
+      basic_symbol& operator= (const basic_symbol& that);
+#endif
     };
 
     /// Type access provider for token (enum) based symbols.
-    struct by_type
+    struct by_kind
     {
       /// Default constructor.
-      by_type ();
+      by_kind ();
+
+#if 201103L <= YY_CPLUSPLUS
+      /// Move constructor.
+      by_kind (by_kind&& that);
+#endif
 
       /// Copy constructor.
-      by_type (const by_type& other);
+      by_kind (const by_kind& that);
 
-      /// The symbol type as needed by the constructor.
-      typedef token_type kind_type;
+      /// The symbol kind as needed by the constructor.
+      typedef token_kind_type kind_type;
 
       /// Constructor from (external) token numbers.
-      by_type (kind_type t);
+      by_kind (kind_type t);
 
       /// Record that this symbol is empty.
       void clear ();
 
-      /// Steal the symbol type from \a that.
-      void move (by_type& that);
+      /// Steal the symbol kind from \a that.
+      void move (by_kind& that);
 
       /// The (internal) type number (corresponding to \a type).
       /// \a empty when empty.
-      symbol_number_type type_get () const;
+      symbol_kind_type kind () const YY_NOEXCEPT;
 
-      /// The token.
-      token_type token () const;
+      /// Backward compatibility (Bison 3.6).
+      symbol_kind_type type_get () const YY_NOEXCEPT;
 
-      /// The symbol type.
-      /// \a empty_symbol when empty.
-      /// An int, not token_number_type, to be able to store empty_symbol.
-      int type;
+      /// The symbol kind.
+      /// \a S_YYEMPTY when empty.
+      symbol_kind_type kind_;
     };
 
-    /// "External" symbols: returned by the scanner.
-    typedef basic_symbol<by_type> symbol_type;
-
-    // Symbol constructors declarations.
-    static inline
-    symbol_type
-    make_END (const location_type& l);
-
-    static inline
-    symbol_type
-    make_COMMA (const location_type& l);
-
-    static inline
-    symbol_type
-    make_COLON (const location_type& l);
-
-    static inline
-    symbol_type
-    make_LSQUARE_BRACKET (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RSQUARE_BRACKET (const location_type& l);
-
-    static inline
-    symbol_type
-    make_LCURLY_BRACKET (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RCURLY_BRACKET (const location_type& l);
-
-    static inline
-    symbol_type
-    make_NULL_TYPE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DHCP6 (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DATA_DIRECTORY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CONFIG_CONTROL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CONFIG_DATABASES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CONFIG_FETCH_WAIT_TIME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_INTERFACES_CONFIG (const location_type& l);
-
-    static inline
-    symbol_type
-    make_INTERFACES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RE_DETECT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_LEASE_DATABASE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOSTS_DATABASE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOSTS_DATABASES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_TYPE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MEMFILE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MYSQL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_POSTGRESQL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CQL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_USER (const location_type& l);
-
-    static inline
-    symbol_type
-    make_PASSWORD (const location_type& l);
+    /// Backward compatibility for a private implementation detail (Bison 3.6).
+    typedef by_kind by_type;
 
-    static inline
-    symbol_type
-    make_HOST (const location_type& l);
-
-    static inline
-    symbol_type
-    make_PORT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_PERSIST (const location_type& l);
-
-    static inline
-    symbol_type
-    make_LFC_INTERVAL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_READONLY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CONNECT_TIMEOUT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CONTACT_POINTS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MAX_RECONNECT_TRIES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RECONNECT_WAIT_TIME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_KEYSPACE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CONSISTENCY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SERIAL_CONSISTENCY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_REQUEST_TIMEOUT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_TCP_KEEPALIVE (const location_type& l);
+    /// "External" symbols: returned by the scanner.
+    struct symbol_type : basic_symbol<by_kind>
+    {
+      /// Superclass.
+      typedef basic_symbol<by_kind> super_type;
 
-    static inline
-    symbol_type
-    make_TCP_NODELAY (const location_type& l);
+      /// Empty symbol.
+      symbol_type () {}
 
-    static inline
-    symbol_type
-    make_MAX_ROW_ERRORS (const location_type& l);
+      /// Constructor for valueless symbols, and symbols from each type.
+#if 201103L <= YY_CPLUSPLUS
+      symbol_type (int tok, location_type l)
+        : super_type(token_type (tok), std::move (l))
+      {
+        YY_ASSERT (tok == token::TOKEN_END || tok == token::TOKEN_PARSER6_error || tok == token::TOKEN_PARSER6_UNDEF || tok == token::TOKEN_COMMA || tok == token::TOKEN_COLON || tok == token::TOKEN_LSQUARE_BRACKET || tok == token::TOKEN_RSQUARE_BRACKET || tok == token::TOKEN_LCURLY_BRACKET || tok == token::TOKEN_RCURLY_BRACKET || tok == token::TOKEN_NULL_TYPE || tok == token::TOKEN_DHCP6 || tok == token::TOKEN_DATA_DIRECTORY || tok == token::TOKEN_CONFIG_CONTROL || tok == token::TOKEN_CONFIG_DATABASES || tok == token::TOKEN_CONFIG_FETCH_WAIT_TIME || tok == token::TOKEN_INTERFACES_CONFIG || tok == token::TOKEN_INTERFACES || tok == token::TOKEN_RE_DETECT || tok == token::TOKEN_LEASE_DATABASE || tok == token::TOKEN_HOSTS_DATABASE || tok == token::TOKEN_HOSTS_DATABASES || tok == token::TOKEN_TYPE || tok == token::TOKEN_MEMFILE || tok == token::TOKEN_MYSQL || tok == token::TOKEN_POSTGRESQL || tok == token::TOKEN_CQL || tok == token::TOKEN_USER || tok == token::TOKEN_PASSWORD || tok == token::TOKEN_HOST || tok == token::TOKEN_PORT || tok == token::TOKEN_PERSIST || tok == token::TOKEN_LFC_INTERVAL || tok == token::TOKEN_READONLY || tok == token::TOKEN_CONNECT_TIMEOUT || tok == token::TOKEN_CONTACT_POINTS || tok == token::TOKEN_MAX_RECONNECT_TRIES || tok == token::TOKEN_RECONNECT_WAIT_TIME || tok == token::TOKEN_KEYSPACE || tok == token::TOKEN_CONSISTENCY || tok == token::TOKEN_SERIAL_CONSISTENCY || tok == token::TOKEN_REQUEST_TIMEOUT || tok == token::TOKEN_TCP_KEEPALIVE || tok == token::TOKEN_TCP_NODELAY || tok == token::TOKEN_MAX_ROW_ERRORS || tok == token::TOKEN_PREFERRED_LIFETIME || tok == token::TOKEN_MIN_PREFERRED_LIFETIME || tok == token::TOKEN_MAX_PREFERRED_LIFETIME || tok == token::TOKEN_VALID_LIFETIME || tok == token::TOKEN_MIN_VALID_LIFETIME || tok == token::TOKEN_MAX_VALID_LIFETIME || tok == token::TOKEN_RENEW_TIMER || tok == token::TOKEN_REBIND_TIMER || tok == token::TOKEN_CALCULATE_TEE_TIMES || tok == token::TOKEN_T1_PERCENT || tok == token::TOKEN_T2_PERCENT || tok == token::TOKEN_CACHE_THRESHOLD || tok == token::TOKEN_CACHE_MAX_AGE || tok == token::TOKEN_DECLINE_PROBATION_PERIOD || tok == token::TOKEN_SERVER_TAG || tok == token::TOKEN_STATISTIC_DEFAULT_SAMPLE_COUNT || tok == token::TOKEN_STATISTIC_DEFAULT_SAMPLE_AGE || tok == token::TOKEN_DDNS_SEND_UPDATES || tok == token::TOKEN_DDNS_OVERRIDE_NO_UPDATE || tok == token::TOKEN_DDNS_OVERRIDE_CLIENT_UPDATE || tok == token::TOKEN_DDNS_REPLACE_CLIENT_NAME || tok == token::TOKEN_DDNS_GENERATED_PREFIX || tok == token::TOKEN_DDNS_QUALIFYING_SUFFIX || tok == token::TOKEN_DDNS_UPDATE_ON_RENEW || tok == token::TOKEN_DDNS_USE_CONFLICT_RESOLUTION || tok == token::TOKEN_STORE_EXTENDED_INFO || tok == token::TOKEN_SUBNET6 || tok == token::TOKEN_OPTION_DEF || tok == token::TOKEN_OPTION_DATA || tok == token::TOKEN_NAME || tok == token::TOKEN_DATA || tok == token::TOKEN_CODE || tok == token::TOKEN_SPACE || tok == token::TOKEN_CSV_FORMAT || tok == token::TOKEN_ALWAYS_SEND || tok == token::TOKEN_RECORD_TYPES || tok == token::TOKEN_ENCAPSULATE || tok == token::TOKEN_ARRAY || tok == token::TOKEN_POOLS || tok == token::TOKEN_POOL || tok == token::TOKEN_PD_POOLS || tok == token::TOKEN_PREFIX || tok == token::TOKEN_PREFIX_LEN || tok == token::TOKEN_EXCLUDED_PREFIX || tok == token::TOKEN_EXCLUDED_PREFIX_LEN || tok == token::TOKEN_DELEGATED_LEN || tok == token::TOKEN_USER_CONTEXT || tok == token::TOKEN_COMMENT || tok == token::TOKEN_SUBNET || tok == token::TOKEN_INTERFACE || tok == token::TOKEN_INTERFACE_ID || tok == token::TOKEN_ID || tok == token::TOKEN_RAPID_COMMIT || tok == token::TOKEN_RESERVATION_MODE || tok == token::TOKEN_DISABLED || tok == token::TOKEN_OUT_OF_POOL || tok == token::TOKEN_GLOBAL || tok == token::TOKEN_ALL || tok == token::TOKEN_SHARED_NETWORKS || tok == token::TOKEN_MAC_SOURCES || tok == token::TOKEN_RELAY_SUPPLIED_OPTIONS || tok == token::TOKEN_HOST_RESERVATION_IDENTIFIERS || tok == token::TOKEN_SANITY_CHECKS || tok == token::TOKEN_LEASE_CHECKS || tok == token::TOKEN_CLIENT_CLASSES || tok == token::TOKEN_REQUIRE_CLIENT_CLASSES || tok == token::TOKEN_TEST || tok == token::TOKEN_ONLY_IF_REQUIRED || tok == token::TOKEN_CLIENT_CLASS || tok == token::TOKEN_RESERVATIONS || tok == token::TOKEN_IP_ADDRESSES || tok == token::TOKEN_PREFIXES || tok == token::TOKEN_DUID || tok == token::TOKEN_HW_ADDRESS || tok == token::TOKEN_HOSTNAME || tok == token::TOKEN_FLEX_ID || tok == token::TOKEN_RELAY || tok == token::TOKEN_IP_ADDRESS || tok == token::TOKEN_HOOKS_LIBRARIES || tok == token::TOKEN_LIBRARY || tok == token::TOKEN_PARAMETERS || tok == token::TOKEN_EXPIRED_LEASES_PROCESSING || tok == token::TOKEN_RECLAIM_TIMER_WAIT_TIME || tok == token::TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME || tok == token::TOKEN_HOLD_RECLAIMED_TIME || tok == token::TOKEN_MAX_RECLAIM_LEASES || tok == token::TOKEN_MAX_RECLAIM_TIME || tok == token::TOKEN_UNWARNED_RECLAIM_CYCLES || tok == token::TOKEN_SERVER_ID || tok == token::TOKEN_LLT || tok == token::TOKEN_EN || tok == token::TOKEN_LL || tok == token::TOKEN_IDENTIFIER || tok == token::TOKEN_HTYPE || tok == token::TOKEN_TIME || tok == token::TOKEN_ENTERPRISE_ID || tok == token::TOKEN_DHCP4O6_PORT || tok == token::TOKEN_DHCP_MULTI_THREADING || tok == token::TOKEN_ENABLE_MULTI_THREADING || tok == token::TOKEN_THREAD_POOL_SIZE || tok == token::TOKEN_PACKET_QUEUE_SIZE || tok == token::TOKEN_CONTROL_SOCKET || tok == token::TOKEN_SOCKET_TYPE || tok == token::TOKEN_SOCKET_NAME || tok == token::TOKEN_DHCP_QUEUE_CONTROL || tok == token::TOKEN_ENABLE_QUEUE || tok == token::TOKEN_QUEUE_TYPE || tok == token::TOKEN_CAPACITY || tok == token::TOKEN_DHCP_DDNS || tok == token::TOKEN_ENABLE_UPDATES || tok == token::TOKEN_QUALIFYING_SUFFIX || tok == token::TOKEN_SERVER_IP || tok == token::TOKEN_SERVER_PORT || tok == token::TOKEN_SENDER_IP || tok == token::TOKEN_SENDER_PORT || tok == token::TOKEN_MAX_QUEUE_SIZE || tok == token::TOKEN_NCR_PROTOCOL || tok == token::TOKEN_NCR_FORMAT || tok == token::TOKEN_OVERRIDE_NO_UPDATE || tok == token::TOKEN_OVERRIDE_CLIENT_UPDATE || tok == token::TOKEN_REPLACE_CLIENT_NAME || tok == token::TOKEN_GENERATED_PREFIX || tok == token::TOKEN_UDP || tok == token::TOKEN_TCP || tok == token::TOKEN_JSON || tok == token::TOKEN_WHEN_PRESENT || tok == token::TOKEN_NEVER || tok == token::TOKEN_ALWAYS || tok == token::TOKEN_WHEN_NOT_PRESENT || tok == token::TOKEN_HOSTNAME_CHAR_SET || tok == token::TOKEN_HOSTNAME_CHAR_REPLACEMENT || tok == token::TOKEN_IP_RESERVATIONS_UNIQUE || tok == token::TOKEN_LOGGERS || tok == token::TOKEN_OUTPUT_OPTIONS || tok == token::TOKEN_OUTPUT || tok == token::TOKEN_DEBUGLEVEL || tok == token::TOKEN_SEVERITY || tok == token::TOKEN_FLUSH || tok == token::TOKEN_MAXSIZE || tok == token::TOKEN_MAXVER || tok == token::TOKEN_PATTERN || tok == token::TOKEN_TOPLEVEL_JSON || tok == token::TOKEN_TOPLEVEL_DHCP6 || tok == token::TOKEN_SUB_DHCP6 || tok == token::TOKEN_SUB_INTERFACES6 || tok == token::TOKEN_SUB_SUBNET6 || tok == token::TOKEN_SUB_POOL6 || tok == token::TOKEN_SUB_PD_POOL || tok == token::TOKEN_SUB_RESERVATION || tok == token::TOKEN_SUB_OPTION_DEFS || tok == token::TOKEN_SUB_OPTION_DEF || tok == token::TOKEN_SUB_OPTION_DATA || tok == token::TOKEN_SUB_HOOKS_LIBRARY || tok == token::TOKEN_SUB_DHCP_DDNS || tok == token::TOKEN_SUB_CONFIG_CONTROL);
+      }
+#else
+      symbol_type (int tok, const location_type& l)
+        : super_type(token_type (tok), l)
+      {
+        YY_ASSERT (tok == token::TOKEN_END || tok == token::TOKEN_PARSER6_error || tok == token::TOKEN_PARSER6_UNDEF || tok == token::TOKEN_COMMA || tok == token::TOKEN_COLON || tok == token::TOKEN_LSQUARE_BRACKET || tok == token::TOKEN_RSQUARE_BRACKET || tok == token::TOKEN_LCURLY_BRACKET || tok == token::TOKEN_RCURLY_BRACKET || tok == token::TOKEN_NULL_TYPE || tok == token::TOKEN_DHCP6 || tok == token::TOKEN_DATA_DIRECTORY || tok == token::TOKEN_CONFIG_CONTROL || tok == token::TOKEN_CONFIG_DATABASES || tok == token::TOKEN_CONFIG_FETCH_WAIT_TIME || tok == token::TOKEN_INTERFACES_CONFIG || tok == token::TOKEN_INTERFACES || tok == token::TOKEN_RE_DETECT || tok == token::TOKEN_LEASE_DATABASE || tok == token::TOKEN_HOSTS_DATABASE || tok == token::TOKEN_HOSTS_DATABASES || tok == token::TOKEN_TYPE || tok == token::TOKEN_MEMFILE || tok == token::TOKEN_MYSQL || tok == token::TOKEN_POSTGRESQL || tok == token::TOKEN_CQL || tok == token::TOKEN_USER || tok == token::TOKEN_PASSWORD || tok == token::TOKEN_HOST || tok == token::TOKEN_PORT || tok == token::TOKEN_PERSIST || tok == token::TOKEN_LFC_INTERVAL || tok == token::TOKEN_READONLY || tok == token::TOKEN_CONNECT_TIMEOUT || tok == token::TOKEN_CONTACT_POINTS || tok == token::TOKEN_MAX_RECONNECT_TRIES || tok == token::TOKEN_RECONNECT_WAIT_TIME || tok == token::TOKEN_KEYSPACE || tok == token::TOKEN_CONSISTENCY || tok == token::TOKEN_SERIAL_CONSISTENCY || tok == token::TOKEN_REQUEST_TIMEOUT || tok == token::TOKEN_TCP_KEEPALIVE || tok == token::TOKEN_TCP_NODELAY || tok == token::TOKEN_MAX_ROW_ERRORS || tok == token::TOKEN_PREFERRED_LIFETIME || tok == token::TOKEN_MIN_PREFERRED_LIFETIME || tok == token::TOKEN_MAX_PREFERRED_LIFETIME || tok == token::TOKEN_VALID_LIFETIME || tok == token::TOKEN_MIN_VALID_LIFETIME || tok == token::TOKEN_MAX_VALID_LIFETIME || tok == token::TOKEN_RENEW_TIMER || tok == token::TOKEN_REBIND_TIMER || tok == token::TOKEN_CALCULATE_TEE_TIMES || tok == token::TOKEN_T1_PERCENT || tok == token::TOKEN_T2_PERCENT || tok == token::TOKEN_CACHE_THRESHOLD || tok == token::TOKEN_CACHE_MAX_AGE || tok == token::TOKEN_DECLINE_PROBATION_PERIOD || tok == token::TOKEN_SERVER_TAG || tok == token::TOKEN_STATISTIC_DEFAULT_SAMPLE_COUNT || tok == token::TOKEN_STATISTIC_DEFAULT_SAMPLE_AGE || tok == token::TOKEN_DDNS_SEND_UPDATES || tok == token::TOKEN_DDNS_OVERRIDE_NO_UPDATE || tok == token::TOKEN_DDNS_OVERRIDE_CLIENT_UPDATE || tok == token::TOKEN_DDNS_REPLACE_CLIENT_NAME || tok == token::TOKEN_DDNS_GENERATED_PREFIX || tok == token::TOKEN_DDNS_QUALIFYING_SUFFIX || tok == token::TOKEN_DDNS_UPDATE_ON_RENEW || tok == token::TOKEN_DDNS_USE_CONFLICT_RESOLUTION || tok == token::TOKEN_STORE_EXTENDED_INFO || tok == token::TOKEN_SUBNET6 || tok == token::TOKEN_OPTION_DEF || tok == token::TOKEN_OPTION_DATA || tok == token::TOKEN_NAME || tok == token::TOKEN_DATA || tok == token::TOKEN_CODE || tok == token::TOKEN_SPACE || tok == token::TOKEN_CSV_FORMAT || tok == token::TOKEN_ALWAYS_SEND || tok == token::TOKEN_RECORD_TYPES || tok == token::TOKEN_ENCAPSULATE || tok == token::TOKEN_ARRAY || tok == token::TOKEN_POOLS || tok == token::TOKEN_POOL || tok == token::TOKEN_PD_POOLS || tok == token::TOKEN_PREFIX || tok == token::TOKEN_PREFIX_LEN || tok == token::TOKEN_EXCLUDED_PREFIX || tok == token::TOKEN_EXCLUDED_PREFIX_LEN || tok == token::TOKEN_DELEGATED_LEN || tok == token::TOKEN_USER_CONTEXT || tok == token::TOKEN_COMMENT || tok == token::TOKEN_SUBNET || tok == token::TOKEN_INTERFACE || tok == token::TOKEN_INTERFACE_ID || tok == token::TOKEN_ID || tok == token::TOKEN_RAPID_COMMIT || tok == token::TOKEN_RESERVATION_MODE || tok == token::TOKEN_DISABLED || tok == token::TOKEN_OUT_OF_POOL || tok == token::TOKEN_GLOBAL || tok == token::TOKEN_ALL || tok == token::TOKEN_SHARED_NETWORKS || tok == token::TOKEN_MAC_SOURCES || tok == token::TOKEN_RELAY_SUPPLIED_OPTIONS || tok == token::TOKEN_HOST_RESERVATION_IDENTIFIERS || tok == token::TOKEN_SANITY_CHECKS || tok == token::TOKEN_LEASE_CHECKS || tok == token::TOKEN_CLIENT_CLASSES || tok == token::TOKEN_REQUIRE_CLIENT_CLASSES || tok == token::TOKEN_TEST || tok == token::TOKEN_ONLY_IF_REQUIRED || tok == token::TOKEN_CLIENT_CLASS || tok == token::TOKEN_RESERVATIONS || tok == token::TOKEN_IP_ADDRESSES || tok == token::TOKEN_PREFIXES || tok == token::TOKEN_DUID || tok == token::TOKEN_HW_ADDRESS || tok == token::TOKEN_HOSTNAME || tok == token::TOKEN_FLEX_ID || tok == token::TOKEN_RELAY || tok == token::TOKEN_IP_ADDRESS || tok == token::TOKEN_HOOKS_LIBRARIES || tok == token::TOKEN_LIBRARY || tok == token::TOKEN_PARAMETERS || tok == token::TOKEN_EXPIRED_LEASES_PROCESSING || tok == token::TOKEN_RECLAIM_TIMER_WAIT_TIME || tok == token::TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME || tok == token::TOKEN_HOLD_RECLAIMED_TIME || tok == token::TOKEN_MAX_RECLAIM_LEASES || tok == token::TOKEN_MAX_RECLAIM_TIME || tok == token::TOKEN_UNWARNED_RECLAIM_CYCLES || tok == token::TOKEN_SERVER_ID || tok == token::TOKEN_LLT || tok == token::TOKEN_EN || tok == token::TOKEN_LL || tok == token::TOKEN_IDENTIFIER || tok == token::TOKEN_HTYPE || tok == token::TOKEN_TIME || tok == token::TOKEN_ENTERPRISE_ID || tok == token::TOKEN_DHCP4O6_PORT || tok == token::TOKEN_DHCP_MULTI_THREADING || tok == token::TOKEN_ENABLE_MULTI_THREADING || tok == token::TOKEN_THREAD_POOL_SIZE || tok == token::TOKEN_PACKET_QUEUE_SIZE || tok == token::TOKEN_CONTROL_SOCKET || tok == token::TOKEN_SOCKET_TYPE || tok == token::TOKEN_SOCKET_NAME || tok == token::TOKEN_DHCP_QUEUE_CONTROL || tok == token::TOKEN_ENABLE_QUEUE || tok == token::TOKEN_QUEUE_TYPE || tok == token::TOKEN_CAPACITY || tok == token::TOKEN_DHCP_DDNS || tok == token::TOKEN_ENABLE_UPDATES || tok == token::TOKEN_QUALIFYING_SUFFIX || tok == token::TOKEN_SERVER_IP || tok == token::TOKEN_SERVER_PORT || tok == token::TOKEN_SENDER_IP || tok == token::TOKEN_SENDER_PORT || tok == token::TOKEN_MAX_QUEUE_SIZE || tok == token::TOKEN_NCR_PROTOCOL || tok == token::TOKEN_NCR_FORMAT || tok == token::TOKEN_OVERRIDE_NO_UPDATE || tok == token::TOKEN_OVERRIDE_CLIENT_UPDATE || tok == token::TOKEN_REPLACE_CLIENT_NAME || tok == token::TOKEN_GENERATED_PREFIX || tok == token::TOKEN_UDP || tok == token::TOKEN_TCP || tok == token::TOKEN_JSON || tok == token::TOKEN_WHEN_PRESENT || tok == token::TOKEN_NEVER || tok == token::TOKEN_ALWAYS || tok == token::TOKEN_WHEN_NOT_PRESENT || tok == token::TOKEN_HOSTNAME_CHAR_SET || tok == token::TOKEN_HOSTNAME_CHAR_REPLACEMENT || tok == token::TOKEN_IP_RESERVATIONS_UNIQUE || tok == token::TOKEN_LOGGERS || tok == token::TOKEN_OUTPUT_OPTIONS || tok == token::TOKEN_OUTPUT || tok == token::TOKEN_DEBUGLEVEL || tok == token::TOKEN_SEVERITY || tok == token::TOKEN_FLUSH || tok == token::TOKEN_MAXSIZE || tok == token::TOKEN_MAXVER || tok == token::TOKEN_PATTERN || tok == token::TOKEN_TOPLEVEL_JSON || tok == token::TOKEN_TOPLEVEL_DHCP6 || tok == token::TOKEN_SUB_DHCP6 || tok == token::TOKEN_SUB_INTERFACES6 || tok == token::TOKEN_SUB_SUBNET6 || tok == token::TOKEN_SUB_POOL6 || tok == token::TOKEN_SUB_PD_POOL || tok == token::TOKEN_SUB_RESERVATION || tok == token::TOKEN_SUB_OPTION_DEFS || tok == token::TOKEN_SUB_OPTION_DEF || tok == token::TOKEN_SUB_OPTION_DATA || tok == token::TOKEN_SUB_HOOKS_LIBRARY || tok == token::TOKEN_SUB_DHCP_DDNS || tok == token::TOKEN_SUB_CONFIG_CONTROL);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      symbol_type (int tok, bool v, location_type l)
+        : super_type(token_type (tok), std::move (v), std::move (l))
+      {
+        YY_ASSERT (tok == token::TOKEN_BOOLEAN);
+      }
+#else
+      symbol_type (int tok, const bool& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YY_ASSERT (tok == token::TOKEN_BOOLEAN);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      symbol_type (int tok, double v, location_type l)
+        : super_type(token_type (tok), std::move (v), std::move (l))
+      {
+        YY_ASSERT (tok == token::TOKEN_FLOAT);
+      }
+#else
+      symbol_type (int tok, const double& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YY_ASSERT (tok == token::TOKEN_FLOAT);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      symbol_type (int tok, int64_t v, location_type l)
+        : super_type(token_type (tok), std::move (v), std::move (l))
+      {
+        YY_ASSERT (tok == token::TOKEN_INTEGER);
+      }
+#else
+      symbol_type (int tok, const int64_t& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YY_ASSERT (tok == token::TOKEN_INTEGER);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      symbol_type (int tok, std::string v, location_type l)
+        : super_type(token_type (tok), std::move (v), std::move (l))
+      {
+        YY_ASSERT (tok == token::TOKEN_STRING);
+      }
+#else
+      symbol_type (int tok, const std::string& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YY_ASSERT (tok == token::TOKEN_STRING);
+      }
+#endif
+    };
 
-    static inline
-    symbol_type
-    make_PREFERRED_LIFETIME (const location_type& l);
+    /// Build a parser object.
+    Dhcp6Parser (isc::dhcp::Parser6Context& ctx_yyarg);
+    virtual ~Dhcp6Parser ();
 
-    static inline
-    symbol_type
-    make_MIN_PREFERRED_LIFETIME (const location_type& l);
+#if 201103L <= YY_CPLUSPLUS
+    /// Non copyable.
+    Dhcp6Parser (const Dhcp6Parser&) = delete;
+    /// Non copyable.
+    Dhcp6Parser& operator= (const Dhcp6Parser&) = delete;
+#endif
 
-    static inline
-    symbol_type
-    make_MAX_PREFERRED_LIFETIME (const location_type& l);
+    /// Parse.  An alias for parse ().
+    /// \returns  0 iff parsing succeeded.
+    int operator() ();
 
-    static inline
-    symbol_type
-    make_VALID_LIFETIME (const location_type& l);
+    /// Parse.
+    /// \returns  0 iff parsing succeeded.
+    virtual int parse ();
 
-    static inline
-    symbol_type
-    make_MIN_VALID_LIFETIME (const location_type& l);
+#if PARSER6_DEBUG
+    /// The current debugging stream.
+    std::ostream& debug_stream () const YY_ATTRIBUTE_PURE;
+    /// Set the current debugging stream.
+    void set_debug_stream (std::ostream &);
 
-    static inline
-    symbol_type
-    make_MAX_VALID_LIFETIME (const location_type& l);
+    /// Type for debugging levels.
+    typedef int debug_level_type;
+    /// The current debugging level.
+    debug_level_type debug_level () const YY_ATTRIBUTE_PURE;
+    /// Set the current debugging level.
+    void set_debug_level (debug_level_type l);
+#endif
 
-    static inline
-    symbol_type
-    make_RENEW_TIMER (const location_type& l);
+    /// Report a syntax error.
+    /// \param loc    where the syntax error is found.
+    /// \param msg    a description of the syntax error.
+    virtual void error (const location_type& loc, const std::string& msg);
 
-    static inline
-    symbol_type
-    make_REBIND_TIMER (const location_type& l);
+    /// Report a syntax error.
+    void error (const syntax_error& err);
 
-    static inline
-    symbol_type
-    make_CALCULATE_TEE_TIMES (const location_type& l);
+    /// The user-facing name of the symbol whose (internal) number is
+    /// YYSYMBOL.  No bounds checking.
+    static std::string symbol_name (symbol_kind_type yysymbol);
 
-    static inline
-    symbol_type
-    make_T1_PERCENT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_T2_PERCENT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CACHE_THRESHOLD (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CACHE_MAX_AGE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DECLINE_PROBATION_PERIOD (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SERVER_TAG (const location_type& l);
-
-    static inline
-    symbol_type
-    make_STATISTIC_DEFAULT_SAMPLE_COUNT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_STATISTIC_DEFAULT_SAMPLE_AGE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DDNS_SEND_UPDATES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DDNS_OVERRIDE_NO_UPDATE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DDNS_OVERRIDE_CLIENT_UPDATE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DDNS_REPLACE_CLIENT_NAME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DDNS_GENERATED_PREFIX (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DDNS_QUALIFYING_SUFFIX (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DDNS_UPDATE_ON_RENEW (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DDNS_USE_CONFLICT_RESOLUTION (const location_type& l);
-
-    static inline
-    symbol_type
-    make_STORE_EXTENDED_INFO (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUBNET6 (const location_type& l);
-
-    static inline
-    symbol_type
-    make_OPTION_DEF (const location_type& l);
-
-    static inline
-    symbol_type
-    make_OPTION_DATA (const location_type& l);
-
-    static inline
-    symbol_type
-    make_NAME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DATA (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CODE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SPACE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CSV_FORMAT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ALWAYS_SEND (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RECORD_TYPES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ENCAPSULATE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ARRAY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_POOLS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_POOL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_PD_POOLS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_PREFIX (const location_type& l);
-
-    static inline
-    symbol_type
-    make_PREFIX_LEN (const location_type& l);
-
-    static inline
-    symbol_type
-    make_EXCLUDED_PREFIX (const location_type& l);
-
-    static inline
-    symbol_type
-    make_EXCLUDED_PREFIX_LEN (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DELEGATED_LEN (const location_type& l);
-
-    static inline
-    symbol_type
-    make_USER_CONTEXT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_COMMENT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUBNET (const location_type& l);
-
-    static inline
-    symbol_type
-    make_INTERFACE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_INTERFACE_ID (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ID (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RAPID_COMMIT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RESERVATION_MODE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DISABLED (const location_type& l);
-
-    static inline
-    symbol_type
-    make_OUT_OF_POOL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_GLOBAL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ALL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SHARED_NETWORKS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MAC_SOURCES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RELAY_SUPPLIED_OPTIONS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOST_RESERVATION_IDENTIFIERS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SANITY_CHECKS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_LEASE_CHECKS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CLIENT_CLASSES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_REQUIRE_CLIENT_CLASSES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_TEST (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ONLY_IF_REQUIRED (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CLIENT_CLASS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RESERVATIONS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_IP_ADDRESSES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_PREFIXES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DUID (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HW_ADDRESS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOSTNAME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_FLEX_ID (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RELAY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_IP_ADDRESS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOOKS_LIBRARIES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_LIBRARY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_PARAMETERS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_EXPIRED_LEASES_PROCESSING (const location_type& l);
-
-    static inline
-    symbol_type
-    make_RECLAIM_TIMER_WAIT_TIME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOLD_RECLAIMED_TIME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MAX_RECLAIM_LEASES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MAX_RECLAIM_TIME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_UNWARNED_RECLAIM_CYCLES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SERVER_ID (const location_type& l);
-
-    static inline
-    symbol_type
-    make_LLT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_EN (const location_type& l);
-
-    static inline
-    symbol_type
-    make_LL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_IDENTIFIER (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HTYPE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_TIME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ENTERPRISE_ID (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DHCP4O6_PORT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DHCP_MULTI_THREADING (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ENABLE_MULTI_THREADING (const location_type& l);
-
-    static inline
-    symbol_type
-    make_THREAD_POOL_SIZE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_PACKET_QUEUE_SIZE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CONTROL_SOCKET (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SOCKET_TYPE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SOCKET_NAME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DHCP_QUEUE_CONTROL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ENABLE_QUEUE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_QUEUE_TYPE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_CAPACITY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DHCP_DDNS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ENABLE_UPDATES (const location_type& l);
-
-    static inline
-    symbol_type
-    make_QUALIFYING_SUFFIX (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SERVER_IP (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SERVER_PORT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SENDER_IP (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SENDER_PORT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MAX_QUEUE_SIZE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_NCR_PROTOCOL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_NCR_FORMAT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_OVERRIDE_NO_UPDATE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_OVERRIDE_CLIENT_UPDATE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_REPLACE_CLIENT_NAME (const location_type& l);
-
-    static inline
-    symbol_type
-    make_GENERATED_PREFIX (const location_type& l);
-
-    static inline
-    symbol_type
-    make_UDP (const location_type& l);
-
-    static inline
-    symbol_type
-    make_TCP (const location_type& l);
-
-    static inline
-    symbol_type
-    make_JSON (const location_type& l);
-
-    static inline
-    symbol_type
-    make_WHEN_PRESENT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_NEVER (const location_type& l);
-
-    static inline
-    symbol_type
-    make_ALWAYS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_WHEN_NOT_PRESENT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOSTNAME_CHAR_SET (const location_type& l);
-
-    static inline
-    symbol_type
-    make_HOSTNAME_CHAR_REPLACEMENT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_IP_RESERVATIONS_UNIQUE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_LOGGERS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_OUTPUT_OPTIONS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_OUTPUT (const location_type& l);
-
-    static inline
-    symbol_type
-    make_DEBUGLEVEL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SEVERITY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_FLUSH (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MAXSIZE (const location_type& l);
-
-    static inline
-    symbol_type
-    make_MAXVER (const location_type& l);
-
-    static inline
-    symbol_type
-    make_PATTERN (const location_type& l);
-
-    static inline
-    symbol_type
-    make_TOPLEVEL_JSON (const location_type& l);
-
-    static inline
-    symbol_type
-    make_TOPLEVEL_DHCP6 (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_DHCP6 (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_INTERFACES6 (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_SUBNET6 (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_POOL6 (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_PD_POOL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_RESERVATION (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_OPTION_DEFS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_OPTION_DEF (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_OPTION_DATA (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_HOOKS_LIBRARY (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_DHCP_DDNS (const location_type& l);
-
-    static inline
-    symbol_type
-    make_SUB_CONFIG_CONTROL (const location_type& l);
-
-    static inline
-    symbol_type
-    make_STRING (const std::string& v, const location_type& l);
-
-    static inline
-    symbol_type
-    make_INTEGER (const int64_t& v, const location_type& l);
-
-    static inline
-    symbol_type
-    make_FLOAT (const double& v, const location_type& l);
-
-    static inline
-    symbol_type
-    make_BOOLEAN (const bool& v, const location_type& l);
-
-
-    /// Build a parser object.
-    Dhcp6Parser (isc::dhcp::Parser6Context& ctx_yyarg);
-    virtual ~Dhcp6Parser ();
-
-    /// Parse.
-    /// \returns  0 iff parsing succeeded.
-    virtual int parse ();
-
-#if PARSER6_DEBUG
-    /// The current debugging stream.
-    std::ostream& debug_stream () const YY_ATTRIBUTE_PURE;
-    /// Set the current debugging stream.
-    void set_debug_stream (std::ostream &);
-
-    /// Type for debugging levels.
-    typedef int debug_level_type;
-    /// The current debugging level.
-    debug_level_type debug_level () const YY_ATTRIBUTE_PURE;
-    /// Set the current debugging level.
-    void set_debug_level (debug_level_type l);
+    // Implementation of make_symbol for each symbol type.
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_END (location_type l)
+      {
+        return symbol_type (token::TOKEN_END, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_END (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_END, l);
+      }
 #endif
-
-    /// Report a syntax error.
-    /// \param loc    where the syntax error is found.
-    /// \param msg    a description of the syntax error.
-    virtual void error (const location_type& loc, const std::string& msg);
-
-    /// Report a syntax error.
-    void error (const syntax_error& err);
-
-  private:
-    /// This class is not copyable.
-    Dhcp6Parser (const Dhcp6Parser&);
-    Dhcp6Parser& operator= (const Dhcp6Parser&);
-
-    /// State numbers.
-    typedef int state_type;
-
-    /// Generate an error message.
-    /// \param yystate   the state where the error occurred.
-    /// \param yyla      the lookahead token.
-    virtual std::string yysyntax_error_ (state_type yystate,
-                                         const symbol_type& yyla) const;
-
-    /// Compute post-reduction state.
-    /// \param yystate   the current state
-    /// \param yysym     the nonterminal to push on the stack
-    state_type yy_lr_goto_state_ (state_type yystate, int yysym);
-
-    /// Whether the given \c yypact_ value indicates a defaulted state.
-    /// \param yyvalue   the value to check
-    static bool yy_pact_value_is_default_ (int yyvalue);
-
-    /// Whether the given \c yytable_ value indicates a syntax error.
-    /// \param yyvalue   the value to check
-    static bool yy_table_value_is_error_ (int yyvalue);
-
-    static const short int yypact_ninf_;
-    static const signed char yytable_ninf_;
-
-    /// Convert a scanner token number \a t to a symbol number.
-    static token_number_type yytranslate_ (token_type t);
-
-    // Tables.
-  // YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
-  // STATE-NUM.
-  static const short int yypact_[];
-
-  // YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
-  // Performed when YYTABLE does not specify something else to do.  Zero
-  // means the default is an error.
-  static const unsigned short int yydefact_[];
-
-  // YYPGOTO[NTERM-NUM].
-  static const short int yypgoto_[];
-
-  // YYDEFGOTO[NTERM-NUM].
-  static const short int yydefgoto_[];
-
-  // YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM.  If
-  // positive, shift that token.  If negative, reduce the rule whose
-  // number is the opposite.  If YYTABLE_NINF, syntax error.
-  static const unsigned short int yytable_[];
-
-  static const short int yycheck_[];
-
-  // YYSTOS[STATE-NUM] -- The (internal number of the) accessing
-  // symbol of state STATE-NUM.
-  static const unsigned short int yystos_[];
-
-  // YYR1[YYN] -- Symbol number of symbol that rule YYN derives.
-  static const unsigned short int yyr1_[];
-
-  // YYR2[YYN] -- Number of symbols on the right hand side of rule YYN.
-  static const unsigned char yyr2_[];
-
-
-    /// Convert the symbol name \a n to a form suitable for a diagnostic.
-    static std::string yytnamerr_ (const char *n);
-
-
-    /// For a symbol, its name in clear.
-    static const char* const yytname_[];
-#if PARSER6_DEBUG
-  // YYRLINE[YYN] -- Source line where rule number YYN was defined.
-  static const unsigned short int yyrline_[];
-    /// Report on the debug stream that the rule \a r is going to be reduced.
-    virtual void yy_reduce_print_ (int r);
-    /// Print the state stack on the debug stream.
-    virtual void yystack_print_ ();
-
-    // Debugging.
-    int yydebug_;
-    std::ostream* yycdebug_;
-
-    /// \brief Display a symbol type, value and location.
-    /// \param yyo    The output stream.
-    /// \param yysym  The symbol.
-    template <typename Base>
-    void yy_print_ (std::ostream& yyo, const basic_symbol<Base>& yysym) const;
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PARSER6_error (location_type l)
+      {
+        return symbol_type (token::TOKEN_PARSER6_error, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PARSER6_error (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PARSER6_error, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PARSER6_UNDEF (location_type l)
+      {
+        return symbol_type (token::TOKEN_PARSER6_UNDEF, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PARSER6_UNDEF (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PARSER6_UNDEF, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_COMMA (location_type l)
+      {
+        return symbol_type (token::TOKEN_COMMA, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_COMMA (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_COMMA, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_COLON (location_type l)
+      {
+        return symbol_type (token::TOKEN_COLON, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_COLON (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_COLON, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LSQUARE_BRACKET (location_type l)
+      {
+        return symbol_type (token::TOKEN_LSQUARE_BRACKET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LSQUARE_BRACKET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LSQUARE_BRACKET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RSQUARE_BRACKET (location_type l)
+      {
+        return symbol_type (token::TOKEN_RSQUARE_BRACKET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RSQUARE_BRACKET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RSQUARE_BRACKET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LCURLY_BRACKET (location_type l)
+      {
+        return symbol_type (token::TOKEN_LCURLY_BRACKET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LCURLY_BRACKET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LCURLY_BRACKET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RCURLY_BRACKET (location_type l)
+      {
+        return symbol_type (token::TOKEN_RCURLY_BRACKET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RCURLY_BRACKET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RCURLY_BRACKET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_NULL_TYPE (location_type l)
+      {
+        return symbol_type (token::TOKEN_NULL_TYPE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_NULL_TYPE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_NULL_TYPE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DHCP6 (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCP6, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCP6 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCP6, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DATA_DIRECTORY (location_type l)
+      {
+        return symbol_type (token::TOKEN_DATA_DIRECTORY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DATA_DIRECTORY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DATA_DIRECTORY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CONFIG_CONTROL (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONFIG_CONTROL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONFIG_CONTROL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONFIG_CONTROL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CONFIG_DATABASES (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONFIG_DATABASES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONFIG_DATABASES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONFIG_DATABASES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CONFIG_FETCH_WAIT_TIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONFIG_FETCH_WAIT_TIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONFIG_FETCH_WAIT_TIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONFIG_FETCH_WAIT_TIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_INTERFACES_CONFIG (location_type l)
+      {
+        return symbol_type (token::TOKEN_INTERFACES_CONFIG, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_INTERFACES_CONFIG (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_INTERFACES_CONFIG, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_INTERFACES (location_type l)
+      {
+        return symbol_type (token::TOKEN_INTERFACES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_INTERFACES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_INTERFACES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RE_DETECT (location_type l)
+      {
+        return symbol_type (token::TOKEN_RE_DETECT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RE_DETECT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RE_DETECT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LEASE_DATABASE (location_type l)
+      {
+        return symbol_type (token::TOKEN_LEASE_DATABASE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LEASE_DATABASE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LEASE_DATABASE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOSTS_DATABASE (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOSTS_DATABASE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOSTS_DATABASE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOSTS_DATABASE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOSTS_DATABASES (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOSTS_DATABASES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOSTS_DATABASES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOSTS_DATABASES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TYPE (location_type l)
+      {
+        return symbol_type (token::TOKEN_TYPE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TYPE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TYPE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MEMFILE (location_type l)
+      {
+        return symbol_type (token::TOKEN_MEMFILE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MEMFILE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MEMFILE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MYSQL (location_type l)
+      {
+        return symbol_type (token::TOKEN_MYSQL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MYSQL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MYSQL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_POSTGRESQL (location_type l)
+      {
+        return symbol_type (token::TOKEN_POSTGRESQL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_POSTGRESQL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_POSTGRESQL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CQL (location_type l)
+      {
+        return symbol_type (token::TOKEN_CQL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CQL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CQL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_USER (location_type l)
+      {
+        return symbol_type (token::TOKEN_USER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_USER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_USER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PASSWORD (location_type l)
+      {
+        return symbol_type (token::TOKEN_PASSWORD, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PASSWORD (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PASSWORD, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOST (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOST, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOST (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOST, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PORT (location_type l)
+      {
+        return symbol_type (token::TOKEN_PORT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PORT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PORT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PERSIST (location_type l)
+      {
+        return symbol_type (token::TOKEN_PERSIST, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PERSIST (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PERSIST, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LFC_INTERVAL (location_type l)
+      {
+        return symbol_type (token::TOKEN_LFC_INTERVAL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LFC_INTERVAL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LFC_INTERVAL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_READONLY (location_type l)
+      {
+        return symbol_type (token::TOKEN_READONLY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_READONLY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_READONLY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CONNECT_TIMEOUT (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONNECT_TIMEOUT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONNECT_TIMEOUT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONNECT_TIMEOUT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CONTACT_POINTS (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONTACT_POINTS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONTACT_POINTS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONTACT_POINTS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAX_RECONNECT_TRIES (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAX_RECONNECT_TRIES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAX_RECONNECT_TRIES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAX_RECONNECT_TRIES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RECONNECT_WAIT_TIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_RECONNECT_WAIT_TIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RECONNECT_WAIT_TIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RECONNECT_WAIT_TIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_KEYSPACE (location_type l)
+      {
+        return symbol_type (token::TOKEN_KEYSPACE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_KEYSPACE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_KEYSPACE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CONSISTENCY (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONSISTENCY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONSISTENCY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONSISTENCY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SERIAL_CONSISTENCY (location_type l)
+      {
+        return symbol_type (token::TOKEN_SERIAL_CONSISTENCY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SERIAL_CONSISTENCY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SERIAL_CONSISTENCY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_REQUEST_TIMEOUT (location_type l)
+      {
+        return symbol_type (token::TOKEN_REQUEST_TIMEOUT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_REQUEST_TIMEOUT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_REQUEST_TIMEOUT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TCP_KEEPALIVE (location_type l)
+      {
+        return symbol_type (token::TOKEN_TCP_KEEPALIVE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TCP_KEEPALIVE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TCP_KEEPALIVE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TCP_NODELAY (location_type l)
+      {
+        return symbol_type (token::TOKEN_TCP_NODELAY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TCP_NODELAY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TCP_NODELAY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAX_ROW_ERRORS (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAX_ROW_ERRORS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAX_ROW_ERRORS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAX_ROW_ERRORS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PREFERRED_LIFETIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_PREFERRED_LIFETIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PREFERRED_LIFETIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PREFERRED_LIFETIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MIN_PREFERRED_LIFETIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_MIN_PREFERRED_LIFETIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MIN_PREFERRED_LIFETIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MIN_PREFERRED_LIFETIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAX_PREFERRED_LIFETIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAX_PREFERRED_LIFETIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAX_PREFERRED_LIFETIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAX_PREFERRED_LIFETIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_VALID_LIFETIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_VALID_LIFETIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_VALID_LIFETIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_VALID_LIFETIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MIN_VALID_LIFETIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_MIN_VALID_LIFETIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MIN_VALID_LIFETIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MIN_VALID_LIFETIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAX_VALID_LIFETIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAX_VALID_LIFETIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAX_VALID_LIFETIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAX_VALID_LIFETIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RENEW_TIMER (location_type l)
+      {
+        return symbol_type (token::TOKEN_RENEW_TIMER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RENEW_TIMER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RENEW_TIMER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_REBIND_TIMER (location_type l)
+      {
+        return symbol_type (token::TOKEN_REBIND_TIMER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_REBIND_TIMER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_REBIND_TIMER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CALCULATE_TEE_TIMES (location_type l)
+      {
+        return symbol_type (token::TOKEN_CALCULATE_TEE_TIMES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CALCULATE_TEE_TIMES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CALCULATE_TEE_TIMES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_T1_PERCENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_T1_PERCENT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_T1_PERCENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_T1_PERCENT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_T2_PERCENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_T2_PERCENT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_T2_PERCENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_T2_PERCENT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CACHE_THRESHOLD (location_type l)
+      {
+        return symbol_type (token::TOKEN_CACHE_THRESHOLD, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CACHE_THRESHOLD (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CACHE_THRESHOLD, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CACHE_MAX_AGE (location_type l)
+      {
+        return symbol_type (token::TOKEN_CACHE_MAX_AGE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CACHE_MAX_AGE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CACHE_MAX_AGE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DECLINE_PROBATION_PERIOD (location_type l)
+      {
+        return symbol_type (token::TOKEN_DECLINE_PROBATION_PERIOD, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DECLINE_PROBATION_PERIOD (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DECLINE_PROBATION_PERIOD, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SERVER_TAG (location_type l)
+      {
+        return symbol_type (token::TOKEN_SERVER_TAG, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SERVER_TAG (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SERVER_TAG, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_STATISTIC_DEFAULT_SAMPLE_COUNT (location_type l)
+      {
+        return symbol_type (token::TOKEN_STATISTIC_DEFAULT_SAMPLE_COUNT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_STATISTIC_DEFAULT_SAMPLE_COUNT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_STATISTIC_DEFAULT_SAMPLE_COUNT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_STATISTIC_DEFAULT_SAMPLE_AGE (location_type l)
+      {
+        return symbol_type (token::TOKEN_STATISTIC_DEFAULT_SAMPLE_AGE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_STATISTIC_DEFAULT_SAMPLE_AGE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_STATISTIC_DEFAULT_SAMPLE_AGE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DDNS_SEND_UPDATES (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_SEND_UPDATES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DDNS_SEND_UPDATES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_SEND_UPDATES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DDNS_OVERRIDE_NO_UPDATE (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_OVERRIDE_NO_UPDATE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DDNS_OVERRIDE_NO_UPDATE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_OVERRIDE_NO_UPDATE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DDNS_OVERRIDE_CLIENT_UPDATE (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_OVERRIDE_CLIENT_UPDATE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DDNS_OVERRIDE_CLIENT_UPDATE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_OVERRIDE_CLIENT_UPDATE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DDNS_REPLACE_CLIENT_NAME (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_REPLACE_CLIENT_NAME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DDNS_REPLACE_CLIENT_NAME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_REPLACE_CLIENT_NAME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DDNS_GENERATED_PREFIX (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_GENERATED_PREFIX, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DDNS_GENERATED_PREFIX (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_GENERATED_PREFIX, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DDNS_QUALIFYING_SUFFIX (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_QUALIFYING_SUFFIX, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DDNS_QUALIFYING_SUFFIX (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_QUALIFYING_SUFFIX, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DDNS_UPDATE_ON_RENEW (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_UPDATE_ON_RENEW, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DDNS_UPDATE_ON_RENEW (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_UPDATE_ON_RENEW, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DDNS_USE_CONFLICT_RESOLUTION (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_USE_CONFLICT_RESOLUTION, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DDNS_USE_CONFLICT_RESOLUTION (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_USE_CONFLICT_RESOLUTION, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_STORE_EXTENDED_INFO (location_type l)
+      {
+        return symbol_type (token::TOKEN_STORE_EXTENDED_INFO, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_STORE_EXTENDED_INFO (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_STORE_EXTENDED_INFO, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUBNET6 (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUBNET6, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUBNET6 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUBNET6, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OPTION_DEF (location_type l)
+      {
+        return symbol_type (token::TOKEN_OPTION_DEF, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OPTION_DEF (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OPTION_DEF, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OPTION_DATA (location_type l)
+      {
+        return symbol_type (token::TOKEN_OPTION_DATA, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OPTION_DATA (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OPTION_DATA, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_NAME (location_type l)
+      {
+        return symbol_type (token::TOKEN_NAME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_NAME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_NAME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DATA (location_type l)
+      {
+        return symbol_type (token::TOKEN_DATA, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DATA (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DATA, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CODE (location_type l)
+      {
+        return symbol_type (token::TOKEN_CODE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CODE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CODE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SPACE (location_type l)
+      {
+        return symbol_type (token::TOKEN_SPACE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SPACE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SPACE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CSV_FORMAT (location_type l)
+      {
+        return symbol_type (token::TOKEN_CSV_FORMAT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CSV_FORMAT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CSV_FORMAT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ALWAYS_SEND (location_type l)
+      {
+        return symbol_type (token::TOKEN_ALWAYS_SEND, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ALWAYS_SEND (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ALWAYS_SEND, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RECORD_TYPES (location_type l)
+      {
+        return symbol_type (token::TOKEN_RECORD_TYPES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RECORD_TYPES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RECORD_TYPES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ENCAPSULATE (location_type l)
+      {
+        return symbol_type (token::TOKEN_ENCAPSULATE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ENCAPSULATE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ENCAPSULATE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ARRAY (location_type l)
+      {
+        return symbol_type (token::TOKEN_ARRAY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ARRAY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ARRAY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_POOLS (location_type l)
+      {
+        return symbol_type (token::TOKEN_POOLS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_POOLS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_POOLS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_POOL (location_type l)
+      {
+        return symbol_type (token::TOKEN_POOL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_POOL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_POOL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PD_POOLS (location_type l)
+      {
+        return symbol_type (token::TOKEN_PD_POOLS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PD_POOLS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PD_POOLS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PREFIX (location_type l)
+      {
+        return symbol_type (token::TOKEN_PREFIX, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PREFIX (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PREFIX, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PREFIX_LEN (location_type l)
+      {
+        return symbol_type (token::TOKEN_PREFIX_LEN, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PREFIX_LEN (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PREFIX_LEN, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_EXCLUDED_PREFIX (location_type l)
+      {
+        return symbol_type (token::TOKEN_EXCLUDED_PREFIX, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_EXCLUDED_PREFIX (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_EXCLUDED_PREFIX, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_EXCLUDED_PREFIX_LEN (location_type l)
+      {
+        return symbol_type (token::TOKEN_EXCLUDED_PREFIX_LEN, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_EXCLUDED_PREFIX_LEN (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_EXCLUDED_PREFIX_LEN, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DELEGATED_LEN (location_type l)
+      {
+        return symbol_type (token::TOKEN_DELEGATED_LEN, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DELEGATED_LEN (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DELEGATED_LEN, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_USER_CONTEXT (location_type l)
+      {
+        return symbol_type (token::TOKEN_USER_CONTEXT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_USER_CONTEXT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_USER_CONTEXT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_COMMENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_COMMENT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_COMMENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_COMMENT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUBNET (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUBNET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUBNET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUBNET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_INTERFACE (location_type l)
+      {
+        return symbol_type (token::TOKEN_INTERFACE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_INTERFACE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_INTERFACE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_INTERFACE_ID (location_type l)
+      {
+        return symbol_type (token::TOKEN_INTERFACE_ID, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_INTERFACE_ID (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_INTERFACE_ID, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ID (location_type l)
+      {
+        return symbol_type (token::TOKEN_ID, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ID (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ID, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RAPID_COMMIT (location_type l)
+      {
+        return symbol_type (token::TOKEN_RAPID_COMMIT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RAPID_COMMIT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RAPID_COMMIT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RESERVATION_MODE (location_type l)
+      {
+        return symbol_type (token::TOKEN_RESERVATION_MODE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RESERVATION_MODE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RESERVATION_MODE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DISABLED (location_type l)
+      {
+        return symbol_type (token::TOKEN_DISABLED, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DISABLED (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DISABLED, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OUT_OF_POOL (location_type l)
+      {
+        return symbol_type (token::TOKEN_OUT_OF_POOL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OUT_OF_POOL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OUT_OF_POOL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_GLOBAL (location_type l)
+      {
+        return symbol_type (token::TOKEN_GLOBAL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_GLOBAL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_GLOBAL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ALL (location_type l)
+      {
+        return symbol_type (token::TOKEN_ALL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ALL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ALL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SHARED_NETWORKS (location_type l)
+      {
+        return symbol_type (token::TOKEN_SHARED_NETWORKS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SHARED_NETWORKS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SHARED_NETWORKS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAC_SOURCES (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAC_SOURCES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAC_SOURCES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAC_SOURCES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RELAY_SUPPLIED_OPTIONS (location_type l)
+      {
+        return symbol_type (token::TOKEN_RELAY_SUPPLIED_OPTIONS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RELAY_SUPPLIED_OPTIONS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RELAY_SUPPLIED_OPTIONS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOST_RESERVATION_IDENTIFIERS (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOST_RESERVATION_IDENTIFIERS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOST_RESERVATION_IDENTIFIERS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOST_RESERVATION_IDENTIFIERS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SANITY_CHECKS (location_type l)
+      {
+        return symbol_type (token::TOKEN_SANITY_CHECKS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SANITY_CHECKS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SANITY_CHECKS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LEASE_CHECKS (location_type l)
+      {
+        return symbol_type (token::TOKEN_LEASE_CHECKS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LEASE_CHECKS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LEASE_CHECKS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CLIENT_CLASSES (location_type l)
+      {
+        return symbol_type (token::TOKEN_CLIENT_CLASSES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CLIENT_CLASSES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CLIENT_CLASSES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_REQUIRE_CLIENT_CLASSES (location_type l)
+      {
+        return symbol_type (token::TOKEN_REQUIRE_CLIENT_CLASSES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_REQUIRE_CLIENT_CLASSES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_REQUIRE_CLIENT_CLASSES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TEST (location_type l)
+      {
+        return symbol_type (token::TOKEN_TEST, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TEST (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TEST, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ONLY_IF_REQUIRED (location_type l)
+      {
+        return symbol_type (token::TOKEN_ONLY_IF_REQUIRED, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ONLY_IF_REQUIRED (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ONLY_IF_REQUIRED, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CLIENT_CLASS (location_type l)
+      {
+        return symbol_type (token::TOKEN_CLIENT_CLASS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CLIENT_CLASS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CLIENT_CLASS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RESERVATIONS (location_type l)
+      {
+        return symbol_type (token::TOKEN_RESERVATIONS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RESERVATIONS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RESERVATIONS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_IP_ADDRESSES (location_type l)
+      {
+        return symbol_type (token::TOKEN_IP_ADDRESSES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_IP_ADDRESSES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_IP_ADDRESSES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PREFIXES (location_type l)
+      {
+        return symbol_type (token::TOKEN_PREFIXES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PREFIXES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PREFIXES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DUID (location_type l)
+      {
+        return symbol_type (token::TOKEN_DUID, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DUID (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DUID, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HW_ADDRESS (location_type l)
+      {
+        return symbol_type (token::TOKEN_HW_ADDRESS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HW_ADDRESS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HW_ADDRESS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOSTNAME (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOSTNAME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOSTNAME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOSTNAME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_FLEX_ID (location_type l)
+      {
+        return symbol_type (token::TOKEN_FLEX_ID, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_FLEX_ID (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_FLEX_ID, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RELAY (location_type l)
+      {
+        return symbol_type (token::TOKEN_RELAY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RELAY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RELAY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_IP_ADDRESS (location_type l)
+      {
+        return symbol_type (token::TOKEN_IP_ADDRESS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_IP_ADDRESS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_IP_ADDRESS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOOKS_LIBRARIES (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOOKS_LIBRARIES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOOKS_LIBRARIES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOOKS_LIBRARIES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LIBRARY (location_type l)
+      {
+        return symbol_type (token::TOKEN_LIBRARY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LIBRARY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LIBRARY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PARAMETERS (location_type l)
+      {
+        return symbol_type (token::TOKEN_PARAMETERS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PARAMETERS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PARAMETERS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_EXPIRED_LEASES_PROCESSING (location_type l)
+      {
+        return symbol_type (token::TOKEN_EXPIRED_LEASES_PROCESSING, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_EXPIRED_LEASES_PROCESSING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_EXPIRED_LEASES_PROCESSING, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RECLAIM_TIMER_WAIT_TIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_RECLAIM_TIMER_WAIT_TIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RECLAIM_TIMER_WAIT_TIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RECLAIM_TIMER_WAIT_TIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOLD_RECLAIMED_TIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOLD_RECLAIMED_TIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOLD_RECLAIMED_TIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOLD_RECLAIMED_TIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAX_RECLAIM_LEASES (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAX_RECLAIM_LEASES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAX_RECLAIM_LEASES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAX_RECLAIM_LEASES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAX_RECLAIM_TIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAX_RECLAIM_TIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAX_RECLAIM_TIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAX_RECLAIM_TIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_UNWARNED_RECLAIM_CYCLES (location_type l)
+      {
+        return symbol_type (token::TOKEN_UNWARNED_RECLAIM_CYCLES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_UNWARNED_RECLAIM_CYCLES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_UNWARNED_RECLAIM_CYCLES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SERVER_ID (location_type l)
+      {
+        return symbol_type (token::TOKEN_SERVER_ID, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SERVER_ID (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SERVER_ID, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LLT (location_type l)
+      {
+        return symbol_type (token::TOKEN_LLT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LLT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LLT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_EN (location_type l)
+      {
+        return symbol_type (token::TOKEN_EN, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_EN (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_EN, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LL (location_type l)
+      {
+        return symbol_type (token::TOKEN_LL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_IDENTIFIER (location_type l)
+      {
+        return symbol_type (token::TOKEN_IDENTIFIER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_IDENTIFIER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_IDENTIFIER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HTYPE (location_type l)
+      {
+        return symbol_type (token::TOKEN_HTYPE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HTYPE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HTYPE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TIME (location_type l)
+      {
+        return symbol_type (token::TOKEN_TIME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TIME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TIME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ENTERPRISE_ID (location_type l)
+      {
+        return symbol_type (token::TOKEN_ENTERPRISE_ID, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ENTERPRISE_ID (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ENTERPRISE_ID, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DHCP4O6_PORT (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCP4O6_PORT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCP4O6_PORT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCP4O6_PORT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DHCP_MULTI_THREADING (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCP_MULTI_THREADING, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCP_MULTI_THREADING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCP_MULTI_THREADING, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ENABLE_MULTI_THREADING (location_type l)
+      {
+        return symbol_type (token::TOKEN_ENABLE_MULTI_THREADING, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ENABLE_MULTI_THREADING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ENABLE_MULTI_THREADING, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_THREAD_POOL_SIZE (location_type l)
+      {
+        return symbol_type (token::TOKEN_THREAD_POOL_SIZE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_THREAD_POOL_SIZE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_THREAD_POOL_SIZE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PACKET_QUEUE_SIZE (location_type l)
+      {
+        return symbol_type (token::TOKEN_PACKET_QUEUE_SIZE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PACKET_QUEUE_SIZE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PACKET_QUEUE_SIZE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CONTROL_SOCKET (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONTROL_SOCKET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONTROL_SOCKET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONTROL_SOCKET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SOCKET_TYPE (location_type l)
+      {
+        return symbol_type (token::TOKEN_SOCKET_TYPE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SOCKET_TYPE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SOCKET_TYPE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SOCKET_NAME (location_type l)
+      {
+        return symbol_type (token::TOKEN_SOCKET_NAME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SOCKET_NAME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SOCKET_NAME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DHCP_QUEUE_CONTROL (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCP_QUEUE_CONTROL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCP_QUEUE_CONTROL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCP_QUEUE_CONTROL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ENABLE_QUEUE (location_type l)
+      {
+        return symbol_type (token::TOKEN_ENABLE_QUEUE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ENABLE_QUEUE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ENABLE_QUEUE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_QUEUE_TYPE (location_type l)
+      {
+        return symbol_type (token::TOKEN_QUEUE_TYPE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_QUEUE_TYPE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_QUEUE_TYPE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CAPACITY (location_type l)
+      {
+        return symbol_type (token::TOKEN_CAPACITY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CAPACITY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CAPACITY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DHCP_DDNS (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCP_DDNS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCP_DDNS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCP_DDNS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ENABLE_UPDATES (location_type l)
+      {
+        return symbol_type (token::TOKEN_ENABLE_UPDATES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ENABLE_UPDATES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ENABLE_UPDATES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_QUALIFYING_SUFFIX (location_type l)
+      {
+        return symbol_type (token::TOKEN_QUALIFYING_SUFFIX, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_QUALIFYING_SUFFIX (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_QUALIFYING_SUFFIX, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SERVER_IP (location_type l)
+      {
+        return symbol_type (token::TOKEN_SERVER_IP, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SERVER_IP (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SERVER_IP, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SERVER_PORT (location_type l)
+      {
+        return symbol_type (token::TOKEN_SERVER_PORT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SERVER_PORT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SERVER_PORT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SENDER_IP (location_type l)
+      {
+        return symbol_type (token::TOKEN_SENDER_IP, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SENDER_IP (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SENDER_IP, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SENDER_PORT (location_type l)
+      {
+        return symbol_type (token::TOKEN_SENDER_PORT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SENDER_PORT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SENDER_PORT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAX_QUEUE_SIZE (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAX_QUEUE_SIZE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAX_QUEUE_SIZE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAX_QUEUE_SIZE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_NCR_PROTOCOL (location_type l)
+      {
+        return symbol_type (token::TOKEN_NCR_PROTOCOL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_NCR_PROTOCOL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_NCR_PROTOCOL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_NCR_FORMAT (location_type l)
+      {
+        return symbol_type (token::TOKEN_NCR_FORMAT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_NCR_FORMAT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_NCR_FORMAT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OVERRIDE_NO_UPDATE (location_type l)
+      {
+        return symbol_type (token::TOKEN_OVERRIDE_NO_UPDATE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OVERRIDE_NO_UPDATE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OVERRIDE_NO_UPDATE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OVERRIDE_CLIENT_UPDATE (location_type l)
+      {
+        return symbol_type (token::TOKEN_OVERRIDE_CLIENT_UPDATE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OVERRIDE_CLIENT_UPDATE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OVERRIDE_CLIENT_UPDATE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_REPLACE_CLIENT_NAME (location_type l)
+      {
+        return symbol_type (token::TOKEN_REPLACE_CLIENT_NAME, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_REPLACE_CLIENT_NAME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_REPLACE_CLIENT_NAME, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_GENERATED_PREFIX (location_type l)
+      {
+        return symbol_type (token::TOKEN_GENERATED_PREFIX, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_GENERATED_PREFIX (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_GENERATED_PREFIX, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_UDP (location_type l)
+      {
+        return symbol_type (token::TOKEN_UDP, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_UDP (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_UDP, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TCP (location_type l)
+      {
+        return symbol_type (token::TOKEN_TCP, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TCP (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TCP, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_JSON (location_type l)
+      {
+        return symbol_type (token::TOKEN_JSON, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_JSON (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_JSON, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_WHEN_PRESENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_WHEN_PRESENT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_WHEN_PRESENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_WHEN_PRESENT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_NEVER (location_type l)
+      {
+        return symbol_type (token::TOKEN_NEVER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_NEVER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_NEVER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ALWAYS (location_type l)
+      {
+        return symbol_type (token::TOKEN_ALWAYS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ALWAYS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ALWAYS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_WHEN_NOT_PRESENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_WHEN_NOT_PRESENT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_WHEN_NOT_PRESENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_WHEN_NOT_PRESENT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOSTNAME_CHAR_SET (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOSTNAME_CHAR_SET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOSTNAME_CHAR_SET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOSTNAME_CHAR_SET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HOSTNAME_CHAR_REPLACEMENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_HOSTNAME_CHAR_REPLACEMENT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HOSTNAME_CHAR_REPLACEMENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HOSTNAME_CHAR_REPLACEMENT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_IP_RESERVATIONS_UNIQUE (location_type l)
+      {
+        return symbol_type (token::TOKEN_IP_RESERVATIONS_UNIQUE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_IP_RESERVATIONS_UNIQUE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_IP_RESERVATIONS_UNIQUE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LOGGERS (location_type l)
+      {
+        return symbol_type (token::TOKEN_LOGGERS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LOGGERS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LOGGERS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OUTPUT_OPTIONS (location_type l)
+      {
+        return symbol_type (token::TOKEN_OUTPUT_OPTIONS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OUTPUT_OPTIONS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OUTPUT_OPTIONS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OUTPUT (location_type l)
+      {
+        return symbol_type (token::TOKEN_OUTPUT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OUTPUT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OUTPUT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DEBUGLEVEL (location_type l)
+      {
+        return symbol_type (token::TOKEN_DEBUGLEVEL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DEBUGLEVEL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DEBUGLEVEL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SEVERITY (location_type l)
+      {
+        return symbol_type (token::TOKEN_SEVERITY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SEVERITY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SEVERITY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_FLUSH (location_type l)
+      {
+        return symbol_type (token::TOKEN_FLUSH, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_FLUSH (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_FLUSH, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAXSIZE (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAXSIZE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAXSIZE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAXSIZE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MAXVER (location_type l)
+      {
+        return symbol_type (token::TOKEN_MAXVER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MAXVER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MAXVER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PATTERN (location_type l)
+      {
+        return symbol_type (token::TOKEN_PATTERN, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PATTERN (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PATTERN, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TOPLEVEL_JSON (location_type l)
+      {
+        return symbol_type (token::TOKEN_TOPLEVEL_JSON, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TOPLEVEL_JSON (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TOPLEVEL_JSON, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TOPLEVEL_DHCP6 (location_type l)
+      {
+        return symbol_type (token::TOKEN_TOPLEVEL_DHCP6, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TOPLEVEL_DHCP6 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TOPLEVEL_DHCP6, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_DHCP6 (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_DHCP6, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_DHCP6 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_DHCP6, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_INTERFACES6 (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_INTERFACES6, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_INTERFACES6 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_INTERFACES6, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_SUBNET6 (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_SUBNET6, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_SUBNET6 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_SUBNET6, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_POOL6 (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_POOL6, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_POOL6 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_POOL6, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_PD_POOL (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_PD_POOL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_PD_POOL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_PD_POOL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_RESERVATION (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_RESERVATION, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_RESERVATION (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_RESERVATION, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_OPTION_DEFS (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_OPTION_DEFS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_OPTION_DEFS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_OPTION_DEFS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_OPTION_DEF (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_OPTION_DEF, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_OPTION_DEF (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_OPTION_DEF, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_OPTION_DATA (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_OPTION_DATA, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_OPTION_DATA (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_OPTION_DATA, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_HOOKS_LIBRARY (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_HOOKS_LIBRARY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_HOOKS_LIBRARY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_HOOKS_LIBRARY, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_DHCP_DDNS (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_DHCP_DDNS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_DHCP_DDNS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_DHCP_DDNS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUB_CONFIG_CONTROL (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_CONFIG_CONTROL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_CONFIG_CONTROL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_CONFIG_CONTROL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_STRING (std::string v, location_type l)
+      {
+        return symbol_type (token::TOKEN_STRING, std::move (v), std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_STRING (const std::string& v, const location_type& l)
+      {
+        return symbol_type (token::TOKEN_STRING, v, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_INTEGER (int64_t v, location_type l)
+      {
+        return symbol_type (token::TOKEN_INTEGER, std::move (v), std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_INTEGER (const int64_t& v, const location_type& l)
+      {
+        return symbol_type (token::TOKEN_INTEGER, v, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_FLOAT (double v, location_type l)
+      {
+        return symbol_type (token::TOKEN_FLOAT, std::move (v), std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_FLOAT (const double& v, const location_type& l)
+      {
+        return symbol_type (token::TOKEN_FLOAT, v, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_BOOLEAN (bool v, location_type l)
+      {
+        return symbol_type (token::TOKEN_BOOLEAN, std::move (v), std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_BOOLEAN (const bool& v, const location_type& l)
+      {
+        return symbol_type (token::TOKEN_BOOLEAN, v, l);
+      }
 #endif
 
-    /// \brief Reclaim the memory associated to a symbol.
-    /// \param yymsg     Why this token is reclaimed.
-    ///                  If null, print nothing.
-    /// \param yysym     The symbol.
-    template <typename Base>
-    void yy_destroy_ (const char* yymsg, basic_symbol<Base>& yysym) const;
-
-  private:
-    /// Type access provider for state based symbols.
-    struct by_state
-    {
-      /// Default constructor.
-      by_state ();
-
-      /// The symbol type as needed by the constructor.
-      typedef state_type kind_type;
-
-      /// Constructor.
-      by_state (kind_type s);
-
-      /// Copy constructor.
-      by_state (const by_state& other);
-
-      /// Record that this symbol is empty.
-      void clear ();
-
-      /// Steal the symbol type from \a that.
-      void move (by_state& that);
-
-      /// The (internal) type number (corresponding to \a state).
-      /// \a empty_symbol when empty.
-      symbol_number_type type_get () const;
-
-      /// The state number used to denote an empty symbol.
-      enum { empty_state = -1 };
-
-      /// The state.
-      /// \a empty when empty.
-      state_type state;
-    };
-
-    /// "Internal" symbol: element of the stack.
-    struct stack_symbol_type : basic_symbol<by_state>
-    {
-      /// Superclass.
-      typedef basic_symbol<by_state> super_type;
-      /// Construct an empty symbol.
-      stack_symbol_type ();
-      /// Steal the contents from \a sym to build this.
-      stack_symbol_type (state_type s, symbol_type& sym);
-      /// Assignment, needed by push_back.
-      stack_symbol_type& operator= (const stack_symbol_type& that);
-    };
-
-    /// Stack type.
-    typedef stack<stack_symbol_type> stack_type;
-
-    /// The stack.
-    stack_type yystack_;
-
-    /// Push a new state on the stack.
-    /// \param m    a debug message to display
-    ///             if null, no trace is output.
-    /// \param s    the symbol
-    /// \warning the contents of \a s.value is stolen.
-    void yypush_ (const char* m, stack_symbol_type& s);
-
-    /// Push a new look ahead token on the state on the stack.
-    /// \param m    a debug message to display
-    ///             if null, no trace is output.
-    /// \param s    the state
-    /// \param sym  the symbol (for its value and location).
-    /// \warning the contents of \a s.value is stolen.
-    void yypush_ (const char* m, state_type s, symbol_type& sym);
-
-    /// Pop \a n symbols the three stacks.
-    void yypop_ (unsigned int n = 1);
-
-    /// Constants.
-    enum
-    {
-      yyeof_ = 0,
-      yylast_ = 1240,     ///< Last index in yytable_.
-      yynnts_ = 427,  ///< Number of nonterminal symbols.
-      yyfinal_ = 30, ///< Termination state number.
-      yyterror_ = 1,
-      yyerrcode_ = 256,
-      yyntokens_ = 203  ///< Number of tokens.
-    };
-
-
-    // User arguments.
-    isc::dhcp::Parser6Context& ctx;
-  };
-
-  // Symbol number corresponding to token number t.
-  inline
-  Dhcp6Parser::token_number_type
-  Dhcp6Parser::yytranslate_ (token_type t)
-  {
-    static
-    const token_number_type
-    translate_table[] =
-    {
-     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,   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
-    };
-    const unsigned int user_token_number_max_ = 457;
-    const token_number_type undef_token_ = 2;
-
-    if (static_cast<int>(t) <= yyeof_)
-      return yyeof_;
-    else if (static_cast<unsigned int> (t) <= user_token_number_max_)
-      return translate_table[t];
-    else
-      return undef_token_;
-  }
-
-  inline
-  Dhcp6Parser::syntax_error::syntax_error (const location_type& l, const std::string& m)
-    : std::runtime_error (m)
-    , location (l)
-  {}
-
-  // basic_symbol.
-  template <typename Base>
-  inline
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol ()
-    : value ()
-  {}
-
-  template <typename Base>
-  inline
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (const basic_symbol& other)
-    : Base (other)
-    , value ()
-    , location (other.location)
-  {
-      switch (other.type_get ())
-    {
-      case 219: // value
-      case 223: // map_value
-      case 264: // ddns_replace_client_name_value
-      case 304: // db_type
-      case 405: // hr_mode
-      case 541: // duid_type
-      case 584: // ncr_protocol_value
-        value.copy< ElementPtr > (other.value);
-        break;
-
-      case 202: // "boolean"
-        value.copy< bool > (other.value);
-        break;
-
-      case 201: // "floating point"
-        value.copy< double > (other.value);
-        break;
-
-      case 200: // "integer"
-        value.copy< int64_t > (other.value);
-        break;
-
-      case 199: // "constant string"
-        value.copy< std::string > (other.value);
-        break;
-
-      default:
-        break;
-    }
-
-  }
-
-
-  template <typename Base>
-  inline
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const semantic_type& v, const location_type& l)
-    : Base (t)
-    , value ()
-    , location (l)
-  {
-    (void) v;
-      switch (this->type_get ())
-    {
-      case 219: // value
-      case 223: // map_value
-      case 264: // ddns_replace_client_name_value
-      case 304: // db_type
-      case 405: // hr_mode
-      case 541: // duid_type
-      case 584: // ncr_protocol_value
-        value.copy< ElementPtr > (v);
-        break;
-
-      case 202: // "boolean"
-        value.copy< bool > (v);
-        break;
-
-      case 201: // "floating point"
-        value.copy< double > (v);
-        break;
-
-      case 200: // "integer"
-        value.copy< int64_t > (v);
-        break;
-
-      case 199: // "constant string"
-        value.copy< std::string > (v);
-        break;
-
-      default:
-        break;
-    }
-}
-
-
-  // Implementation of basic_symbol constructor for each type.
-
-  template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const location_type& l)
-    : Base (t)
-    , value ()
-    , location (l)
-  {}
-
-  template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const ElementPtr v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-
-  template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const bool v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-
-  template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const double v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-
-  template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const int64_t v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-
-  template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const std::string v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-
-
-  template <typename Base>
-  inline
-  Dhcp6Parser::basic_symbol<Base>::~basic_symbol ()
-  {
-    clear ();
-  }
-
-  template <typename Base>
-  inline
-  void
-  Dhcp6Parser::basic_symbol<Base>::clear ()
-  {
-    // User destructor.
-    symbol_number_type yytype = this->type_get ();
-    basic_symbol<Base>& yysym = *this;
-    (void) yysym;
-    switch (yytype)
-    {
-   default:
-      break;
-    }
-
-    // Type destructor.
-    switch (yytype)
-    {
-      case 219: // value
-      case 223: // map_value
-      case 264: // ddns_replace_client_name_value
-      case 304: // db_type
-      case 405: // hr_mode
-      case 541: // duid_type
-      case 584: // ncr_protocol_value
-        value.template destroy< ElementPtr > ();
-        break;
-
-      case 202: // "boolean"
-        value.template destroy< bool > ();
-        break;
-
-      case 201: // "floating point"
-        value.template destroy< double > ();
-        break;
-
-      case 200: // "integer"
-        value.template destroy< int64_t > ();
-        break;
-
-      case 199: // "constant string"
-        value.template destroy< std::string > ();
-        break;
-
-      default:
-        break;
-    }
-
-    Base::clear ();
-  }
-
-  template <typename Base>
-  inline
-  bool
-  Dhcp6Parser::basic_symbol<Base>::empty () const
-  {
-    return Base::type_get () == empty_symbol;
-  }
-
-  template <typename Base>
-  inline
-  void
-  Dhcp6Parser::basic_symbol<Base>::move (basic_symbol& s)
-  {
-    super_type::move(s);
-      switch (this->type_get ())
-    {
-      case 219: // value
-      case 223: // map_value
-      case 264: // ddns_replace_client_name_value
-      case 304: // db_type
-      case 405: // hr_mode
-      case 541: // duid_type
-      case 584: // ncr_protocol_value
-        value.move< ElementPtr > (s.value);
-        break;
-
-      case 202: // "boolean"
-        value.move< bool > (s.value);
-        break;
-
-      case 201: // "floating point"
-        value.move< double > (s.value);
-        break;
-
-      case 200: // "integer"
-        value.move< int64_t > (s.value);
-        break;
-
-      case 199: // "constant string"
-        value.move< std::string > (s.value);
-        break;
-
-      default:
-        break;
-    }
-
-    location = s.location;
-  }
-
-  // by_type.
-  inline
-  Dhcp6Parser::by_type::by_type ()
-    : type (empty_symbol)
-  {}
-
-  inline
-  Dhcp6Parser::by_type::by_type (const by_type& other)
-    : type (other.type)
-  {}
-
-  inline
-  Dhcp6Parser::by_type::by_type (token_type t)
-    : type (yytranslate_ (t))
-  {}
-
-  inline
-  void
-  Dhcp6Parser::by_type::clear ()
-  {
-    type = empty_symbol;
-  }
-
-  inline
-  void
-  Dhcp6Parser::by_type::move (by_type& that)
-  {
-    type = that.type;
-    that.clear ();
-  }
-
-  inline
-  int
-  Dhcp6Parser::by_type::type_get () const
-  {
-    return type;
-  }
-
-  inline
-  Dhcp6Parser::token_type
-  Dhcp6Parser::by_type::token () const
-  {
-    // YYTOKNUM[NUM] -- (External) token number corresponding to the
-    // (internal) symbol number NUM (which must be that of a token).  */
-    static
-    const unsigned short int
-    yytoken_number_[] =
-    {
-       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,   381,   382,   383,   384,
-     385,   386,   387,   388,   389,   390,   391,   392,   393,   394,
-     395,   396,   397,   398,   399,   400,   401,   402,   403,   404,
-     405,   406,   407,   408,   409,   410,   411,   412,   413,   414,
-     415,   416,   417,   418,   419,   420,   421,   422,   423,   424,
-     425,   426,   427,   428,   429,   430,   431,   432,   433,   434,
-     435,   436,   437,   438,   439,   440,   441,   442,   443,   444,
-     445,   446,   447,   448,   449,   450,   451,   452,   453,   454,
-     455,   456,   457
-    };
-    return static_cast<token_type> (yytoken_number_[type]);
-  }
-  // Implementation of make_symbol for each symbol type.
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_END (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_END, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_COMMA (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_COMMA, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_COLON (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_COLON, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LSQUARE_BRACKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LSQUARE_BRACKET, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RSQUARE_BRACKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RSQUARE_BRACKET, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LCURLY_BRACKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LCURLY_BRACKET, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RCURLY_BRACKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RCURLY_BRACKET, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_NULL_TYPE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NULL_TYPE, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCP6 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP6, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DATA_DIRECTORY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DATA_DIRECTORY, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONFIG_CONTROL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONFIG_CONTROL, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONFIG_DATABASES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONFIG_DATABASES, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONFIG_FETCH_WAIT_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONFIG_FETCH_WAIT_TIME, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_INTERFACES_CONFIG (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_INTERFACES_CONFIG, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_INTERFACES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_INTERFACES, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RE_DETECT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RE_DETECT, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LEASE_DATABASE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LEASE_DATABASE, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOSTS_DATABASE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOSTS_DATABASE, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOSTS_DATABASES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOSTS_DATABASES, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TYPE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TYPE, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MEMFILE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MEMFILE, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MYSQL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MYSQL, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_POSTGRESQL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_POSTGRESQL, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CQL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CQL, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_USER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_USER, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PASSWORD (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PASSWORD, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOST (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOST, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PORT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PORT, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PERSIST (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PERSIST, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LFC_INTERVAL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LFC_INTERVAL, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_READONLY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_READONLY, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONNECT_TIMEOUT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONNECT_TIMEOUT, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONTACT_POINTS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONTACT_POINTS, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAX_RECONNECT_TRIES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_RECONNECT_TRIES, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RECONNECT_WAIT_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RECONNECT_WAIT_TIME, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_KEYSPACE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_KEYSPACE, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONSISTENCY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONSISTENCY, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SERIAL_CONSISTENCY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SERIAL_CONSISTENCY, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_REQUEST_TIMEOUT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_REQUEST_TIMEOUT, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TCP_KEEPALIVE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TCP_KEEPALIVE, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TCP_NODELAY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TCP_NODELAY, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAX_ROW_ERRORS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_ROW_ERRORS, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PREFERRED_LIFETIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PREFERRED_LIFETIME, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MIN_PREFERRED_LIFETIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MIN_PREFERRED_LIFETIME, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAX_PREFERRED_LIFETIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_PREFERRED_LIFETIME, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_VALID_LIFETIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_VALID_LIFETIME, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MIN_VALID_LIFETIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MIN_VALID_LIFETIME, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAX_VALID_LIFETIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_VALID_LIFETIME, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RENEW_TIMER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RENEW_TIMER, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_REBIND_TIMER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_REBIND_TIMER, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CALCULATE_TEE_TIMES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CALCULATE_TEE_TIMES, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_T1_PERCENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_T1_PERCENT, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_T2_PERCENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_T2_PERCENT, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CACHE_THRESHOLD (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CACHE_THRESHOLD, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CACHE_MAX_AGE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CACHE_MAX_AGE, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DECLINE_PROBATION_PERIOD (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DECLINE_PROBATION_PERIOD, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SERVER_TAG (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SERVER_TAG, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_STATISTIC_DEFAULT_SAMPLE_COUNT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_STATISTIC_DEFAULT_SAMPLE_COUNT, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_STATISTIC_DEFAULT_SAMPLE_AGE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_STATISTIC_DEFAULT_SAMPLE_AGE, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DDNS_SEND_UPDATES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_SEND_UPDATES, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DDNS_OVERRIDE_NO_UPDATE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_OVERRIDE_NO_UPDATE, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DDNS_OVERRIDE_CLIENT_UPDATE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_OVERRIDE_CLIENT_UPDATE, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DDNS_REPLACE_CLIENT_NAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_REPLACE_CLIENT_NAME, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DDNS_GENERATED_PREFIX (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_GENERATED_PREFIX, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DDNS_QUALIFYING_SUFFIX (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_QUALIFYING_SUFFIX, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DDNS_UPDATE_ON_RENEW (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_UPDATE_ON_RENEW, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DDNS_USE_CONFLICT_RESOLUTION (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_USE_CONFLICT_RESOLUTION, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_STORE_EXTENDED_INFO (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_STORE_EXTENDED_INFO, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUBNET6 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUBNET6, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OPTION_DEF (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OPTION_DEF, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OPTION_DATA (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OPTION_DATA, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_NAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NAME, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DATA (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DATA, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CODE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CODE, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SPACE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SPACE, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CSV_FORMAT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CSV_FORMAT, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ALWAYS_SEND (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ALWAYS_SEND, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RECORD_TYPES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RECORD_TYPES, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ENCAPSULATE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ENCAPSULATE, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ARRAY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ARRAY, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_POOLS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_POOLS, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_POOL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_POOL, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PD_POOLS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PD_POOLS, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PREFIX (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PREFIX, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PREFIX_LEN (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PREFIX_LEN, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_EXCLUDED_PREFIX (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_EXCLUDED_PREFIX, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_EXCLUDED_PREFIX_LEN (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_EXCLUDED_PREFIX_LEN, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DELEGATED_LEN (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DELEGATED_LEN, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_USER_CONTEXT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_USER_CONTEXT, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_COMMENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_COMMENT, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUBNET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUBNET, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_INTERFACE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_INTERFACE, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_INTERFACE_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_INTERFACE_ID, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ID, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RAPID_COMMIT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RAPID_COMMIT, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RESERVATION_MODE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RESERVATION_MODE, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DISABLED (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DISABLED, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OUT_OF_POOL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OUT_OF_POOL, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_GLOBAL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_GLOBAL, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ALL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ALL, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SHARED_NETWORKS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SHARED_NETWORKS, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAC_SOURCES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAC_SOURCES, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RELAY_SUPPLIED_OPTIONS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RELAY_SUPPLIED_OPTIONS, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOST_RESERVATION_IDENTIFIERS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOST_RESERVATION_IDENTIFIERS, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SANITY_CHECKS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SANITY_CHECKS, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LEASE_CHECKS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LEASE_CHECKS, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CLIENT_CLASSES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CLIENT_CLASSES, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_REQUIRE_CLIENT_CLASSES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_REQUIRE_CLIENT_CLASSES, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TEST (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TEST, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ONLY_IF_REQUIRED (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ONLY_IF_REQUIRED, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CLIENT_CLASS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CLIENT_CLASS, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RESERVATIONS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RESERVATIONS, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_IP_ADDRESSES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_IP_ADDRESSES, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PREFIXES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PREFIXES, l);
-  }
-
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DUID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DUID, l);
-  }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HW_ADDRESS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HW_ADDRESS, l);
-  }
+    class context
+    {
+    public:
+      context (const Dhcp6Parser& yyparser, const symbol_type& yyla);
+      const symbol_type& lookahead () const { return yyla_; }
+      symbol_kind_type token () const { return yyla_.kind (); }
+      const location_type& location () const { return yyla_.location; }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOSTNAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOSTNAME, l);
-  }
+      /// Put in YYARG at most YYARGN of the expected tokens, and return the
+      /// number of tokens stored in YYARG.  If YYARG is null, return the
+      /// number of expected tokens (guaranteed to be less than YYNTOKENS).
+      int expected_tokens (symbol_kind_type yyarg[], int yyargn) const;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_FLEX_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_FLEX_ID, l);
-  }
+    private:
+      const Dhcp6Parser& yyparser_;
+      const symbol_type& yyla_;
+    };
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RELAY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RELAY, l);
-  }
+  private:
+#if YY_CPLUSPLUS < 201103L
+    /// Non copyable.
+    Dhcp6Parser (const Dhcp6Parser&);
+    /// Non copyable.
+    Dhcp6Parser& operator= (const Dhcp6Parser&);
+#endif
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_IP_ADDRESS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_IP_ADDRESS, l);
-  }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOOKS_LIBRARIES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOOKS_LIBRARIES, l);
-  }
+    /// Stored state numbers (used for stacks).
+    typedef short state_type;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LIBRARY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LIBRARY, l);
-  }
+    /// The arguments of the error message.
+    int yy_syntax_error_arguments_ (const context& yyctx,
+                                    symbol_kind_type yyarg[], int yyargn) const;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PARAMETERS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PARAMETERS, l);
-  }
+    /// Generate an error message.
+    /// \param yyctx     the context in which the error occurred.
+    virtual std::string yysyntax_error_ (const context& yyctx) const;
+    /// Compute post-reduction state.
+    /// \param yystate   the current state
+    /// \param yysym     the nonterminal to push on the stack
+    static state_type yy_lr_goto_state_ (state_type yystate, int yysym);
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_EXPIRED_LEASES_PROCESSING (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_EXPIRED_LEASES_PROCESSING, l);
-  }
+    /// Whether the given \c yypact_ value indicates a defaulted state.
+    /// \param yyvalue   the value to check
+    static bool yy_pact_value_is_default_ (int yyvalue);
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RECLAIM_TIMER_WAIT_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RECLAIM_TIMER_WAIT_TIME, l);
-  }
+    /// Whether the given \c yytable_ value indicates a syntax error.
+    /// \param yyvalue   the value to check
+    static bool yy_table_value_is_error_ (int yyvalue);
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME, l);
-  }
+    static const short yypact_ninf_;
+    static const signed char yytable_ninf_;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOLD_RECLAIMED_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOLD_RECLAIMED_TIME, l);
-  }
+    /// Convert a scanner token kind \a t to a symbol kind.
+    /// In theory \a t should be a token_kind_type, but character literals
+    /// are valid, yet not members of the token_type enum.
+    static symbol_kind_type yytranslate_ (int t);
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAX_RECLAIM_LEASES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_RECLAIM_LEASES, l);
-  }
+    /// Convert the symbol name \a n to a form suitable for a diagnostic.
+    static std::string yytnamerr_ (const char *yystr);
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAX_RECLAIM_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_RECLAIM_TIME, l);
-  }
+    /// For a symbol, its name in clear.
+    static const char* const yytname_[];
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_UNWARNED_RECLAIM_CYCLES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_UNWARNED_RECLAIM_CYCLES, l);
-  }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SERVER_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SERVER_ID, l);
-  }
+    // Tables.
+    // YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
+    // STATE-NUM.
+    static const short yypact_[];
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LLT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LLT, l);
-  }
+    // YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
+    // Performed when YYTABLE does not specify something else to do.  Zero
+    // means the default is an error.
+    static const short yydefact_[];
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_EN (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_EN, l);
-  }
+    // YYPGOTO[NTERM-NUM].
+    static const short yypgoto_[];
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LL, l);
-  }
+    // YYDEFGOTO[NTERM-NUM].
+    static const short yydefgoto_[];
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_IDENTIFIER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_IDENTIFIER, l);
-  }
+    // YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM.  If
+    // positive, shift that token.  If negative, reduce the rule whose
+    // number is the opposite.  If YYTABLE_NINF, syntax error.
+    static const short yytable_[];
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HTYPE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HTYPE, l);
-  }
+    static const short yycheck_[];
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TIME, l);
-  }
+    // YYSTOS[STATE-NUM] -- The (internal number of the) accessing
+    // symbol of state STATE-NUM.
+    static const short yystos_[];
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ENTERPRISE_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ENTERPRISE_ID, l);
-  }
+    // YYR1[YYN] -- Symbol number of symbol that rule YYN derives.
+    static const short yyr1_[];
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCP4O6_PORT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP4O6_PORT, l);
-  }
+    // YYR2[YYN] -- Number of symbols on the right hand side of rule YYN.
+    static const signed char yyr2_[];
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCP_MULTI_THREADING (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP_MULTI_THREADING, l);
-  }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ENABLE_MULTI_THREADING (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ENABLE_MULTI_THREADING, l);
-  }
+#if PARSER6_DEBUG
+    // YYRLINE[YYN] -- Source line where rule number YYN was defined.
+    static const short yyrline_[];
+    /// Report on the debug stream that the rule \a r is going to be reduced.
+    virtual void yy_reduce_print_ (int r) const;
+    /// Print the state stack on the debug stream.
+    virtual void yy_stack_print_ () const;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_THREAD_POOL_SIZE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_THREAD_POOL_SIZE, l);
-  }
+    /// Debugging level.
+    int yydebug_;
+    /// Debug stream.
+    std::ostream* yycdebug_;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PACKET_QUEUE_SIZE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PACKET_QUEUE_SIZE, l);
-  }
+    /// \brief Display a symbol kind, value and location.
+    /// \param yyo    The output stream.
+    /// \param yysym  The symbol.
+    template <typename Base>
+    void yy_print_ (std::ostream& yyo, const basic_symbol<Base>& yysym) const;
+#endif
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONTROL_SOCKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONTROL_SOCKET, l);
-  }
+    /// \brief Reclaim the memory associated to a symbol.
+    /// \param yymsg     Why this token is reclaimed.
+    ///                  If null, print nothing.
+    /// \param yysym     The symbol.
+    template <typename Base>
+    void yy_destroy_ (const char* yymsg, basic_symbol<Base>& yysym) const;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SOCKET_TYPE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_TYPE, l);
-  }
+  private:
+    /// Type access provider for state based symbols.
+    struct by_state
+    {
+      /// Default constructor.
+      by_state () YY_NOEXCEPT;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SOCKET_NAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_NAME, l);
-  }
+      /// The symbol kind as needed by the constructor.
+      typedef state_type kind_type;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCP_QUEUE_CONTROL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP_QUEUE_CONTROL, l);
-  }
+      /// Constructor.
+      by_state (kind_type s) YY_NOEXCEPT;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ENABLE_QUEUE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ENABLE_QUEUE, l);
-  }
+      /// Copy constructor.
+      by_state (const by_state& that) YY_NOEXCEPT;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_QUEUE_TYPE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_QUEUE_TYPE, l);
-  }
+      /// Record that this symbol is empty.
+      void clear () YY_NOEXCEPT;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CAPACITY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CAPACITY, l);
-  }
+      /// Steal the symbol kind from \a that.
+      void move (by_state& that);
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCP_DDNS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP_DDNS, l);
-  }
+      /// The symbol kind (corresponding to \a state).
+      /// \a symbol_kind::S_YYEMPTY when empty.
+      symbol_kind_type kind () const YY_NOEXCEPT;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ENABLE_UPDATES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ENABLE_UPDATES, l);
-  }
+      /// The state number used to denote an empty symbol.
+      /// We use the initial state, as it does not have a value.
+      enum { empty_state = 0 };
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_QUALIFYING_SUFFIX (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_QUALIFYING_SUFFIX, l);
-  }
+      /// The state.
+      /// \a empty when empty.
+      state_type state;
+    };
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SERVER_IP (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SERVER_IP, l);
-  }
+    /// "Internal" symbol: element of the stack.
+    struct stack_symbol_type : basic_symbol<by_state>
+    {
+      /// Superclass.
+      typedef basic_symbol<by_state> super_type;
+      /// Construct an empty symbol.
+      stack_symbol_type ();
+      /// Move or copy construction.
+      stack_symbol_type (YY_RVREF (stack_symbol_type) that);
+      /// Steal the contents from \a sym to build this.
+      stack_symbol_type (state_type s, YY_MOVE_REF (symbol_type) sym);
+#if YY_CPLUSPLUS < 201103L
+      /// Assignment, needed by push_back by some old implementations.
+      /// Moves the contents of that.
+      stack_symbol_type& operator= (stack_symbol_type& that);
+
+      /// Assignment, needed by push_back by other implementations.
+      /// Needed by some other old implementations.
+      stack_symbol_type& operator= (const stack_symbol_type& that);
+#endif
+    };
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SERVER_PORT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SERVER_PORT, l);
-  }
+    /// A stack with random access from its top.
+    template <typename T, typename S = std::vector<T> >
+    class stack
+    {
+    public:
+      // Hide our reversed order.
+      typedef typename S::iterator iterator;
+      typedef typename S::const_iterator const_iterator;
+      typedef typename S::size_type size_type;
+      typedef typename std::ptrdiff_t index_type;
+
+      stack (size_type n = 200)
+        : seq_ (n)
+      {}
+
+#if 201103L <= YY_CPLUSPLUS
+      /// Non copyable.
+      stack (const stack&) = delete;
+      /// Non copyable.
+      stack& operator= (const stack&) = delete;
+#endif
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SENDER_IP (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SENDER_IP, l);
-  }
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      const T&
+      operator[] (index_type i) const
+      {
+        return seq_[size_type (size () - 1 - i)];
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      T&
+      operator[] (index_type i)
+      {
+        return seq_[size_type (size () - 1 - i)];
+      }
+
+      /// Steal the contents of \a t.
+      ///
+      /// Close to move-semantics.
+      void
+      push (YY_MOVE_REF (T) t)
+      {
+        seq_.push_back (T ());
+        operator[] (0).move (t);
+      }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SENDER_PORT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SENDER_PORT, l);
-  }
+      /// Pop elements from the stack.
+      void
+      pop (std::ptrdiff_t n = 1) YY_NOEXCEPT
+      {
+        for (; 0 < n; --n)
+          seq_.pop_back ();
+      }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAX_QUEUE_SIZE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_QUEUE_SIZE, l);
-  }
+      /// Pop all elements from the stack.
+      void
+      clear () YY_NOEXCEPT
+      {
+        seq_.clear ();
+      }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_NCR_PROTOCOL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NCR_PROTOCOL, l);
-  }
+      /// Number of elements on the stack.
+      index_type
+      size () const YY_NOEXCEPT
+      {
+        return index_type (seq_.size ());
+      }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_NCR_FORMAT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NCR_FORMAT, l);
-  }
+      /// Iterator on top of the stack (going downwards).
+      const_iterator
+      begin () const YY_NOEXCEPT
+      {
+        return seq_.begin ();
+      }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OVERRIDE_NO_UPDATE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OVERRIDE_NO_UPDATE, l);
-  }
+      /// Bottom of the stack.
+      const_iterator
+      end () const YY_NOEXCEPT
+      {
+        return seq_.end ();
+      }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OVERRIDE_CLIENT_UPDATE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OVERRIDE_CLIENT_UPDATE, l);
-  }
+      /// Present a slice of the top of a stack.
+      class slice
+      {
+      public:
+        slice (const stack& stack, index_type range)
+          : stack_ (stack)
+          , range_ (range)
+        {}
+
+        const T&
+        operator[] (index_type i) const
+        {
+          return stack_[range_ - i];
+        }
+
+      private:
+        const stack& stack_;
+        index_type range_;
+      };
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_REPLACE_CLIENT_NAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_REPLACE_CLIENT_NAME, l);
-  }
+    private:
+#if YY_CPLUSPLUS < 201103L
+      /// Non copyable.
+      stack (const stack&);
+      /// Non copyable.
+      stack& operator= (const stack&);
+#endif
+      /// The wrapped container.
+      S seq_;
+    };
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_GENERATED_PREFIX (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_GENERATED_PREFIX, l);
-  }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_UDP (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_UDP, l);
-  }
+    /// Stack type.
+    typedef stack<stack_symbol_type> stack_type;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TCP (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TCP, l);
-  }
+    /// The stack.
+    stack_type yystack_;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_JSON (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_JSON, l);
-  }
+    /// Push a new state on the stack.
+    /// \param m    a debug message to display
+    ///             if null, no trace is output.
+    /// \param sym  the symbol
+    /// \warning the contents of \a s.value is stolen.
+    void yypush_ (const char* m, YY_MOVE_REF (stack_symbol_type) sym);
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_WHEN_PRESENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_WHEN_PRESENT, l);
-  }
+    /// Push a new look ahead token on the state on the stack.
+    /// \param m    a debug message to display
+    ///             if null, no trace is output.
+    /// \param s    the state
+    /// \param sym  the symbol (for its value and location).
+    /// \warning the contents of \a sym.value is stolen.
+    void yypush_ (const char* m, state_type s, YY_MOVE_REF (symbol_type) sym);
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_NEVER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NEVER, l);
-  }
+    /// Pop \a n symbols from the stack.
+    void yypop_ (int n = 1);
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ALWAYS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ALWAYS, l);
-  }
+    /// Constants.
+    enum
+    {
+      yylast_ = 1240,     ///< Last index in yytable_.
+      yynnts_ = 427,  ///< Number of nonterminal symbols.
+      yyfinal_ = 30 ///< Termination state number.
+    };
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_WHEN_NOT_PRESENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_WHEN_NOT_PRESENT, l);
-  }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOSTNAME_CHAR_SET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOSTNAME_CHAR_SET, l);
-  }
+    // User arguments.
+    isc::dhcp::Parser6Context& ctx;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOSTNAME_CHAR_REPLACEMENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOSTNAME_CHAR_REPLACEMENT, l);
-  }
+  };
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_IP_RESERVATIONS_UNIQUE (const location_type& l)
+  inline
+  Dhcp6Parser::symbol_kind_type
+  Dhcp6Parser::yytranslate_ (int t)
   {
-    return symbol_type (token::TOKEN_IP_RESERVATIONS_UNIQUE, l);
-  }
+    // YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to
+    // TOKEN-NUM as returned by yylex.
+    static
+    const unsigned char
+    translate_table[] =
+    {
+       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,   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
+    };
+    // Last valid token kind.
+    const int code_max = 457;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LOGGERS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LOGGERS, l);
+    if (t <= 0)
+      return symbol_kind::S_YYEOF;
+    else if (t <= code_max)
+      return YY_CAST (symbol_kind_type, translate_table[t]);
+    else
+      return symbol_kind::S_YYUNDEF;
   }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OUTPUT_OPTIONS (const location_type& l)
+  // basic_symbol.
+  template <typename Base>
+  Dhcp6Parser::basic_symbol<Base>::basic_symbol (const basic_symbol& that)
+    : Base (that)
+    , value ()
+    , location (that.location)
   {
-    return symbol_type (token::TOKEN_OUTPUT_OPTIONS, l);
-  }
+    switch (this->kind ())
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_duid_type: // duid_type
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+        value.copy< ElementPtr > (YY_MOVE (that.value));
+        break;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OUTPUT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT, l);
-  }
+      case symbol_kind::S_BOOLEAN: // "boolean"
+        value.copy< bool > (YY_MOVE (that.value));
+        break;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DEBUGLEVEL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DEBUGLEVEL, l);
-  }
+      case symbol_kind::S_FLOAT: // "floating point"
+        value.copy< double > (YY_MOVE (that.value));
+        break;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SEVERITY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SEVERITY, l);
-  }
+      case symbol_kind::S_INTEGER: // "integer"
+        value.copy< int64_t > (YY_MOVE (that.value));
+        break;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_FLUSH (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_FLUSH, l);
-  }
+      case symbol_kind::S_STRING: // "constant string"
+        value.copy< std::string > (YY_MOVE (that.value));
+        break;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAXSIZE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAXSIZE, l);
-  }
+      default:
+        break;
+    }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAXVER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAXVER, l);
   }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PATTERN (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PATTERN, l);
-  }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TOPLEVEL_JSON (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TOPLEVEL_JSON, l);
-  }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TOPLEVEL_DHCP6 (const location_type& l)
+  template <typename Base>
+  Dhcp6Parser::symbol_kind_type
+  Dhcp6Parser::basic_symbol<Base>::type_get () const YY_NOEXCEPT
   {
-    return symbol_type (token::TOKEN_TOPLEVEL_DHCP6, l);
+    return this->kind ();
   }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_DHCP6 (const location_type& l)
+  template <typename Base>
+  bool
+  Dhcp6Parser::basic_symbol<Base>::empty () const YY_NOEXCEPT
   {
-    return symbol_type (token::TOKEN_SUB_DHCP6, l);
+    return this->kind () == symbol_kind::S_YYEMPTY;
   }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_INTERFACES6 (const location_type& l)
+  template <typename Base>
+  void
+  Dhcp6Parser::basic_symbol<Base>::move (basic_symbol& s)
   {
-    return symbol_type (token::TOKEN_SUB_INTERFACES6, l);
-  }
+    super_type::move (s);
+    switch (this->kind ())
+    {
+      case symbol_kind::S_value: // value
+      case symbol_kind::S_map_value: // map_value
+      case symbol_kind::S_ddns_replace_client_name_value: // ddns_replace_client_name_value
+      case symbol_kind::S_db_type: // db_type
+      case symbol_kind::S_hr_mode: // hr_mode
+      case symbol_kind::S_duid_type: // duid_type
+      case symbol_kind::S_ncr_protocol_value: // ncr_protocol_value
+        value.move< ElementPtr > (YY_MOVE (s.value));
+        break;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_SUBNET6 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_SUBNET6, l);
-  }
+      case symbol_kind::S_BOOLEAN: // "boolean"
+        value.move< bool > (YY_MOVE (s.value));
+        break;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_POOL6 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_POOL6, l);
-  }
+      case symbol_kind::S_FLOAT: // "floating point"
+        value.move< double > (YY_MOVE (s.value));
+        break;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_PD_POOL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_PD_POOL, l);
-  }
+      case symbol_kind::S_INTEGER: // "integer"
+        value.move< int64_t > (YY_MOVE (s.value));
+        break;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_RESERVATION (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_RESERVATION, l);
-  }
+      case symbol_kind::S_STRING: // "constant string"
+        value.move< std::string > (YY_MOVE (s.value));
+        break;
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_OPTION_DEFS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_OPTION_DEFS, l);
-  }
+      default:
+        break;
+    }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_OPTION_DEF (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_OPTION_DEF, l);
+    location = YY_MOVE (s.location);
   }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_OPTION_DATA (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_OPTION_DATA, l);
-  }
+  // by_kind.
+  inline
+  Dhcp6Parser::by_kind::by_kind ()
+    : kind_ (symbol_kind::S_YYEMPTY)
+  {}
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_HOOKS_LIBRARY (const location_type& l)
+#if 201103L <= YY_CPLUSPLUS
+  inline
+  Dhcp6Parser::by_kind::by_kind (by_kind&& that)
+    : kind_ (that.kind_)
   {
-    return symbol_type (token::TOKEN_SUB_HOOKS_LIBRARY, l);
+    that.clear ();
   }
+#endif
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_DHCP_DDNS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_DHCP_DDNS, l);
-  }
+  inline
+  Dhcp6Parser::by_kind::by_kind (const by_kind& that)
+    : kind_ (that.kind_)
+  {}
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_CONFIG_CONTROL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_CONFIG_CONTROL, l);
-  }
+  inline
+  Dhcp6Parser::by_kind::by_kind (token_kind_type t)
+    : kind_ (yytranslate_ (t))
+  {}
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_STRING (const std::string& v, const location_type& l)
+  inline
+  void
+  Dhcp6Parser::by_kind::clear ()
   {
-    return symbol_type (token::TOKEN_STRING, v, l);
+    kind_ = symbol_kind::S_YYEMPTY;
   }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_INTEGER (const int64_t& v, const location_type& l)
+  inline
+  void
+  Dhcp6Parser::by_kind::move (by_kind& that)
   {
-    return symbol_type (token::TOKEN_INTEGER, v, l);
+    kind_ = that.kind_;
+    that.clear ();
   }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_FLOAT (const double& v, const location_type& l)
+  inline
+  Dhcp6Parser::symbol_kind_type
+  Dhcp6Parser::by_kind::kind () const YY_NOEXCEPT
   {
-    return symbol_type (token::TOKEN_FLOAT, v, l);
+    return kind_;
   }
 
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_BOOLEAN (const bool& v, const location_type& l)
+  inline
+  Dhcp6Parser::symbol_kind_type
+  Dhcp6Parser::by_kind::type_get () const YY_NOEXCEPT
   {
-    return symbol_type (token::TOKEN_BOOLEAN, v, l);
+    return this->kind ();
   }
 
-
-#line 14 "dhcp6_parser.yy" // lalr1.cc:377
+#line 14 "dhcp6_parser.yy"
 } } // isc::dhcp
-#line 3285 "dhcp6_parser.h" // lalr1.cc:377
+#line 5341 "dhcp6_parser.h"
 
 
 
index 239704683c8fa2193dfd7c1bd8641c8df96d8a39..a8d79e7bb09d5d3a97383540b235b207e31b125d 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.0.4.
+// A Bison parser, made by GNU Bison 3.7.2.
 
 // Locations for Bison parsers in C++
 
-// Copyright (C) 2002-2015 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2020 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
 #ifndef YY_PARSER6_LOCATION_HH_INCLUDED
 # define YY_PARSER6_LOCATION_HH_INCLUDED
 
-# include "position.hh"
+# include <iostream>
+# include <string>
 
-#line 14 "dhcp6_parser.yy" // location.cc:296
+# ifndef YY_NULLPTR
+#  if defined __cplusplus
+#   if 201103L <= __cplusplus
+#    define YY_NULLPTR nullptr
+#   else
+#    define YY_NULLPTR 0
+#   endif
+#  else
+#   define YY_NULLPTR ((void*)0)
+#  endif
+# endif
+
+#line 14 "dhcp6_parser.yy"
 namespace isc { namespace dhcp {
-#line 46 "location.hh" // location.cc:296
-  /// Abstract a location.
+#line 59 "location.hh"
+
+  /// A point in a source file.
+  class position
+  {
+  public:
+    /// Type for file name.
+    typedef const std::string filename_type;
+    /// Type for line and column numbers.
+    typedef int counter_type;
+
+    /// Construct a position.
+    explicit position (filename_type* f = YY_NULLPTR,
+                       counter_type l = 1,
+                       counter_type c = 1)
+      : filename (f)
+      , line (l)
+      , column (c)
+    {}
+
+
+    /// Initialization.
+    void initialize (filename_type* fn = YY_NULLPTR,
+                     counter_type l = 1,
+                     counter_type c = 1)
+    {
+      filename = fn;
+      line = l;
+      column = c;
+    }
+
+    /** \name Line and Column related manipulators
+     ** \{ */
+    /// (line related) Advance to the COUNT next lines.
+    void lines (counter_type count = 1)
+    {
+      if (count)
+        {
+          column = 1;
+          line = add_ (line, count, 1);
+        }
+    }
+
+    /// (column related) Advance to the COUNT next columns.
+    void columns (counter_type count = 1)
+    {
+      column = add_ (column, count, 1);
+    }
+    /** \} */
+
+    /// File name to which this position refers.
+    filename_type* filename;
+    /// Current line number.
+    counter_type line;
+    /// Current column number.
+    counter_type column;
+
+  private:
+    /// Compute max (min, lhs+rhs).
+    static counter_type add_ (counter_type lhs, counter_type rhs, counter_type min)
+    {
+      return lhs + rhs < min ? min : lhs + rhs;
+    }
+  };
+
+  /// Add \a width columns, in place.
+  inline position&
+  operator+= (position& res, position::counter_type width)
+  {
+    res.columns (width);
+    return res;
+  }
+
+  /// Add \a width columns.
+  inline position
+  operator+ (position res, position::counter_type width)
+  {
+    return res += width;
+  }
+
+  /// Subtract \a width columns, in place.
+  inline position&
+  operator-= (position& res, position::counter_type width)
+  {
+    return res += -width;
+  }
+
+  /// Subtract \a width columns.
+  inline position
+  operator- (position res, position::counter_type width)
+  {
+    return res -= width;
+  }
+
+  /** \brief Intercept output stream redirection.
+   ** \param ostr the destination output stream
+   ** \param pos a reference to the position to redirect
+   */
+  template <typename YYChar>
+  std::basic_ostream<YYChar>&
+  operator<< (std::basic_ostream<YYChar>& ostr, const position& pos)
+  {
+    if (pos.filename)
+      ostr << *pos.filename << ':';
+    return ostr << pos.line << '.' << pos.column;
+  }
+
+  /// Two points in a source file.
   class location
   {
   public:
+    /// Type for file name.
+    typedef position::filename_type filename_type;
+    /// Type for line and column numbers.
+    typedef position::counter_type counter_type;
 
     /// Construct a location from \a b to \a e.
     location (const position& b, const position& e)
       : begin (b)
       , end (e)
-    {
-    }
+    {}
 
     /// Construct a 0-width location in \a p.
     explicit location (const position& p = position ())
       : begin (p)
       , end (p)
-    {
-    }
+    {}
 
     /// Construct a 0-width location in \a f, \a l, \a c.
-    explicit location (std::string* f,
-                       unsigned int l = 1u,
-                       unsigned int c = 1u)
+    explicit location (filename_type* f,
+                       counter_type l = 1,
+                       counter_type c = 1)
       : begin (f, l, c)
       , end (f, l, c)
-    {
-    }
+    {}
 
 
     /// Initialization.
-    void initialize (std::string* f = YY_NULLPTR,
-                     unsigned int l = 1u,
-                     unsigned int c = 1u)
+    void initialize (filename_type* f = YY_NULLPTR,
+                     counter_type l = 1,
+                     counter_type c = 1)
     {
       begin.initialize (f, l, c);
       end = begin;
@@ -91,13 +211,13 @@ namespace isc { namespace dhcp {
     }
 
     /// Extend the current location to the COUNT next columns.
-    void columns (int count = 1)
+    void columns (counter_type count = 1)
     {
       end += count;
     }
 
     /// Extend the current location to the COUNT next lines.
-    void lines (int count = 1)
+    void lines (counter_type count = 1)
     {
       end.lines (count);
     }
@@ -112,57 +232,49 @@ namespace isc { namespace dhcp {
   };
 
   /// Join two locations, in place.
-  inline location& operator+= (location& res, const location& end)
+  inline location&
+  operator+= (location& res, const location& end)
   {
     res.end = end.end;
     return res;
   }
 
   /// Join two locations.
-  inline location operator+ (location res, const location& end)
+  inline location
+  operator+ (location res, const location& end)
   {
     return res += end;
   }
 
   /// Add \a width columns to the end position, in place.
-  inline location& operator+= (location& res, int width)
+  inline location&
+  operator+= (location& res, location::counter_type width)
   {
     res.columns (width);
     return res;
   }
 
   /// Add \a width columns to the end position.
-  inline location operator+ (location res, int width)
+  inline location
+  operator+ (location res, location::counter_type width)
   {
     return res += width;
   }
 
   /// Subtract \a width columns to the end position, in place.
-  inline location& operator-= (location& res, int width)
+  inline location&
+  operator-= (location& res, location::counter_type width)
   {
     return res += -width;
   }
 
   /// Subtract \a width columns to the end position.
-  inline location operator- (location res, int width)
+  inline location
+  operator- (location res, location::counter_type width)
   {
     return res -= width;
   }
 
-  /// Compare two location objects.
-  inline bool
-  operator== (const location& loc1, const location& loc2)
-  {
-    return loc1.begin == loc2.begin && loc1.end == loc2.end;
-  }
-
-  /// Compare two location objects.
-  inline bool
-  operator!= (const location& loc1, const location& loc2)
-  {
-    return !(loc1 == loc2);
-  }
-
   /** \brief Intercept output stream redirection.
    ** \param ostr the destination output stream
    ** \param loc a reference to the location to redirect
@@ -170,10 +282,11 @@ namespace isc { namespace dhcp {
    ** Avoid duplicate information.
    */
   template <typename YYChar>
-  inline std::basic_ostream<YYChar>&
+  std::basic_ostream<YYChar>&
   operator<< (std::basic_ostream<YYChar>& ostr, const location& loc)
   {
-    unsigned int end_col = 0 < loc.end.column ? loc.end.column - 1 : 0;
+    location::counter_type end_col
+      = 0 < loc.end.column ? loc.end.column - 1 : 0;
     ostr << loc.begin;
     if (loc.end.filename
         && (!loc.begin.filename
@@ -186,7 +299,8 @@ namespace isc { namespace dhcp {
     return ostr;
   }
 
-#line 14 "dhcp6_parser.yy" // location.cc:296
+#line 14 "dhcp6_parser.yy"
 } } // isc::dhcp
-#line 192 "location.hh" // location.cc:296
+#line 305 "location.hh"
+
 #endif // !YY_PARSER6_LOCATION_HH_INCLUDED
index 2ee80e6d0a22726887dabd52d10789130b8e5d56..037a25d3817a44f1b60a7845d8a985ff6ae9130c 100644 (file)
-// A Bison parser, made by GNU Bison 3.0.4.
+// A Bison parser, made by GNU Bison 3.7.2.
 
-// Positions for Bison parsers in C++
+// Starting with Bison 3.2, this file is useless: the structure it
+// used to define is now defined in "location.hh".
+//
+// To get rid of this file:
+// 1. add '%require "3.2"' (or newer) to your grammar file
+// 2. remove references to this file from your build system
+// 3. if you used to include it, include "location.hh" instead.
 
-// Copyright (C) 2002-2015 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.
-
-/**
- ** \file position.hh
- ** Define the isc::dhcp::position class.
- */
-
-#ifndef YY_PARSER6_POSITION_HH_INCLUDED
-# define YY_PARSER6_POSITION_HH_INCLUDED
-
-# include <algorithm> // std::max
-# include <iostream>
-# include <string>
-
-# ifndef YY_NULLPTR
-#  if defined __cplusplus && 201103L <= __cplusplus
-#   define YY_NULLPTR nullptr
-#  else
-#   define YY_NULLPTR 0
-#  endif
-# endif
-
-#line 14 "dhcp6_parser.yy" // location.cc:296
-namespace isc { namespace dhcp {
-#line 56 "position.hh" // location.cc:296
-  /// Abstract a position.
-  class position
-  {
-  public:
-    /// Construct a position.
-    explicit position (std::string* f = YY_NULLPTR,
-                       unsigned int l = 1u,
-                       unsigned int c = 1u)
-      : filename (f)
-      , line (l)
-      , column (c)
-    {
-    }
-
-
-    /// Initialization.
-    void initialize (std::string* fn = YY_NULLPTR,
-                     unsigned int l = 1u,
-                     unsigned int c = 1u)
-    {
-      filename = fn;
-      line = l;
-      column = c;
-    }
-
-    /** \name Line and Column related manipulators
-     ** \{ */
-    /// (line related) Advance to the COUNT next lines.
-    void lines (int count = 1)
-    {
-      if (count)
-        {
-          column = 1u;
-          line = add_ (line, count, 1);
-        }
-    }
-
-    /// (column related) Advance to the COUNT next columns.
-    void columns (int count = 1)
-    {
-      column = add_ (column, count, 1);
-    }
-    /** \} */
-
-    /// File name to which this position refers.
-    std::string* filename;
-    /// Current line number.
-    unsigned int line;
-    /// Current column number.
-    unsigned int column;
-
-  private:
-    /// Compute max(min, lhs+rhs) (provided min <= lhs).
-    static unsigned int add_ (unsigned int lhs, int rhs, unsigned int min)
-    {
-      return (0 < rhs || -static_cast<unsigned int>(rhs) < lhs
-              ? rhs + lhs
-              : min);
-    }
-  };
-
-  /// Add \a width columns, in place.
-  inline position&
-  operator+= (position& res, int width)
-  {
-    res.columns (width);
-    return res;
-  }
-
-  /// Add \a width columns.
-  inline position
-  operator+ (position res, int width)
-  {
-    return res += width;
-  }
-
-  /// Subtract \a width columns, in place.
-  inline position&
-  operator-= (position& res, int width)
-  {
-    return res += -width;
-  }
-
-  /// Subtract \a width columns.
-  inline position
-  operator- (position res, int width)
-  {
-    return res -= width;
-  }
-
-  /// Compare two position objects.
-  inline bool
-  operator== (const position& pos1, const position& pos2)
-  {
-    return (pos1.line == pos2.line
-            && pos1.column == pos2.column
-            && (pos1.filename == pos2.filename
-                || (pos1.filename && pos2.filename
-                    && *pos1.filename == *pos2.filename)));
-  }
-
-  /// Compare two position objects.
-  inline bool
-  operator!= (const position& pos1, const position& pos2)
-  {
-    return !(pos1 == pos2);
-  }
-
-  /** \brief Intercept output stream redirection.
-   ** \param ostr the destination output stream
-   ** \param pos a reference to the position to redirect
-   */
-  template <typename YYChar>
-  inline std::basic_ostream<YYChar>&
-  operator<< (std::basic_ostream<YYChar>& ostr, const position& pos)
-  {
-    if (pos.filename)
-      ostr << *pos.filename << ':';
-    return ostr << pos.line << '.' << pos.column;
-  }
-
-#line 14 "dhcp6_parser.yy" // location.cc:296
-} } // isc::dhcp
-#line 180 "position.hh" // location.cc:296
-#endif // !YY_PARSER6_POSITION_HH_INCLUDED
+#include "location.hh"
index db2863a06ef4a89243bf39cc72557573857e8cf7..8a74ee5c1bb86cbc658551a773ca39e4a177ec5b 100644 (file)
@@ -1,157 +1,8 @@
-// A Bison parser, made by GNU Bison 3.0.4.
-
-// Stack handling for Bison parsers in C++
-
-// Copyright (C) 2002-2015 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.
-
-/**
- ** \file stack.hh
- ** Define the isc::dhcp::stack class.
- */
-
-#ifndef YY_PARSER6_STACK_HH_INCLUDED
-# define YY_PARSER6_STACK_HH_INCLUDED
-
-# include <vector>
-
-#line 14 "dhcp6_parser.yy" // stack.hh:132
-namespace isc { namespace dhcp {
-#line 46 "stack.hh" // stack.hh:132
-  template <class T, class S = std::vector<T> >
-  class stack
-  {
-  public:
-    // Hide our reversed order.
-    typedef typename S::reverse_iterator iterator;
-    typedef typename S::const_reverse_iterator const_iterator;
-
-    stack ()
-      : seq_ ()
-    {
-      seq_.reserve (200);
-    }
-
-    stack (unsigned int n)
-      : seq_ (n)
-    {}
-
-    inline
-    T&
-    operator[] (unsigned int i)
-    {
-      return seq_[seq_.size () - 1 - i];
-    }
-
-    inline
-    const T&
-    operator[] (unsigned int i) const
-    {
-      return seq_[seq_.size () - 1 - i];
-    }
-
-    /// Steal the contents of \a t.
-    ///
-    /// Close to move-semantics.
-    inline
-    void
-    push (T& t)
-    {
-      seq_.push_back (T());
-      operator[](0).move (t);
-    }
-
-    inline
-    void
-    pop (unsigned int n = 1)
-    {
-      for (; n; --n)
-        seq_.pop_back ();
-    }
-
-    void
-    clear ()
-    {
-      seq_.clear ();
-    }
-
-    inline
-    typename S::size_type
-    size () const
-    {
-      return seq_.size ();
-    }
-
-    inline
-    const_iterator
-    begin () const
-    {
-      return seq_.rbegin ();
-    }
-
-    inline
-    const_iterator
-    end () const
-    {
-      return seq_.rend ();
-    }
-
-  private:
-    stack (const stack&);
-    stack& operator= (const stack&);
-    /// The wrapped container.
-    S seq_;
-  };
-
-  /// Present a slice of the top of a stack.
-  template <class T, class S = stack<T> >
-  class slice
-  {
-  public:
-    slice (const S& stack, unsigned int range)
-      : stack_ (stack)
-      , range_ (range)
-    {}
-
-    inline
-    const T&
-    operator [] (unsigned int i) const
-    {
-      return stack_[range_ - i];
-    }
-
-  private:
-    const S& stack_;
-    unsigned int range_;
-  };
-
-#line 14 "dhcp6_parser.yy" // stack.hh:132
-} } // isc::dhcp
-#line 156 "stack.hh" // stack.hh:132
-
-#endif // !YY_PARSER6_STACK_HH_INCLUDED
+// A Bison parser, made by GNU Bison 3.7.2.
+
+// Starting with Bison 3.2, this file is useless: the structure it
+// used to define is now defined with the parser itself.
+//
+// To get rid of this file:
+// 1. add '%require "3.2"' (or newer) to your grammar file
+// 2. remove references to this file from your build system.