]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#453,!226] Regen bison with version 3.3.2
authorFrancis Dupont <fdupont@isc.org>
Wed, 6 Feb 2019 13:18:57 +0000 (13:18 +0000)
committerTomek Mrugalski <tomek@isc.org>
Fri, 15 Feb 2019 10:27:37 +0000 (05:27 -0500)
31 files changed:
configure.ac
src/bin/agent/agent_parser.cc
src/bin/agent/agent_parser.h
src/bin/agent/location.hh
src/bin/agent/position.hh
src/bin/agent/stack.hh
src/bin/d2/d2_parser.cc
src/bin/d2/d2_parser.h
src/bin/d2/location.hh
src/bin/d2/position.hh
src/bin/d2/stack.hh
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_parser.cc
src/bin/dhcp6/dhcp6_parser.h
src/bin/dhcp6/location.hh
src/bin/dhcp6/position.hh
src/bin/dhcp6/stack.hh
src/bin/netconf/location.hh
src/bin/netconf/netconf_parser.cc
src/bin/netconf/netconf_parser.h
src/bin/netconf/position.hh
src/bin/netconf/stack.hh
src/lib/eval/location.hh
src/lib/eval/parser.cc
src/lib/eval/parser.h
src/lib/eval/position.hh
src/lib/eval/stack.hh

index 1b872cb8ccf6e56524d2e1e81f8ca7b2757dd2e4..d93ffed1b82df59e73a2a5cbe2300477efbdcebb 100644 (file)
@@ -1032,40 +1032,6 @@ AC_SUBST(DISTCHECK_LOG4CPLUS_CONFIGURE_FLAG)
 AC_SUBST(LOG4CPLUS_LIBS)
 AC_SUBST(LOG4CPLUS_INCLUDES)
 
-CPPFLAGS_SAVED=$CPPFLAGS
-CPPFLAGS="$LOG4CPLUS_INCLUDES $CPPFLAGS"
-LIBS_SAVED="$LIBS"
-LIBS="$LOG4CPLUS_LIBS $MULTITHREADING_FLAG $LIBS"
-
-AC_CHECK_HEADERS([log4cplus/logger.h],,AC_MSG_ERROR([Missing required header files.]))
-AC_LINK_IFELSE(
-        [AC_LANG_PROGRAM([#include <log4cplus/logger.h>
-                         ],
-                         [using namespace log4cplus;
-                          Logger logger = Logger::getInstance("main");
-                         ])],
-        [AC_MSG_RESULT([checking for log4cplus library... yes])],
-        [AC_MSG_RESULT([checking for log4cplus library... no])
-         AC_MSG_ERROR([Needs log4cplus library])]
-)
-
-dnl Determine the log4cplus version, used mainly for config.report.
-AC_MSG_CHECKING([log4cplus version])
-cat > conftest.cpp << EOF
-#include <log4cplus/version.h>
-AUTOCONF_LOG4CPLUS_VERSION=LOG4CPLUS_VERSION_STR
-EOF
-
-LOG4CPLUS_VERSION=`$CPPP $CPPFLAGS conftest.cpp | grep '^AUTOCONF_LOG4CPLUS_VERSION=' | $SED -e 's/^AUTOCONF_LOG4CPLUS_VERSION=//' -e 's/[[    ]]//g' -e 's/"//g' 2> /dev/null`
-if test -z "$LOG4CPLUS_VERSION"; then
-  LOG4CPLUS_VERSION="unknown"
-fi
-$RM -f conftest.cpp
-AC_MSG_RESULT([$LOG4CPLUS_VERSION])
-
-CPPFLAGS=$CPPFLAGS_SAVED
-LIBS=$LIBS_SAVED
-
 #
 # Configure Boost header path
 #
index 3b2362e8c6d11861c3b8edc9ead526992b0ab822..52ee220e889f3096937c390a4d359f85de04c7ec 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.2.1.
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Skeleton implementation for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
 
 
 // Unqualified %code blocks.
-#line 33 "agent_parser.yy" // lalr1.cc:438
+#line 33 "agent_parser.yy" // lalr1.cc:435
 
 #include <agent/parser_context.h>
 
-#line 51 "agent_parser.cc" // lalr1.cc:438
+#line 51 "agent_parser.cc" // lalr1.cc:435
 
 
 #ifndef YY_
@@ -88,7 +88,7 @@
         {                                                               \
           (Current).begin = (Current).end = YYRHSLOC (Rhs, 0).end;      \
         }                                                               \
-    while (/*CONSTCOND*/ false)
+    while (false)
 # endif
 
 
 #define YYERROR         goto yyerrorlab
 #define YYRECOVERING()  (!!yyerrstatus_)
 
-#line 14 "agent_parser.yy" // lalr1.cc:513
+#line 14 "agent_parser.yy" // lalr1.cc:510
 namespace isc { namespace agent {
-#line 146 "agent_parser.cc" // lalr1.cc:513
+#line 146 "agent_parser.cc" // lalr1.cc:510
 
   /* Return YYSTR after stripping away unnecessary quotes and
      backslashes, so that it's suitable for yyerror.  The heuristic is
@@ -154,7 +154,7 @@ namespace isc { namespace agent {
   {
     if (*yystr == '"')
       {
-        std::string yyr = "";
+        std::string yyr;
         char const *yyp = yystr;
 
         for (;;)
@@ -167,7 +167,10 @@ namespace isc { namespace agent {
             case '\\':
               if (*++yyp != '\\')
                 goto do_not_strip_quotes;
-              // Fall through.
+              else
+                goto append;
+
+            append:
             default:
               yyr += *yyp;
               break;
@@ -195,6 +198,8 @@ namespace isc { namespace agent {
   AgentParser::~AgentParser ()
   {}
 
+  AgentParser::syntax_error::~syntax_error () YY_NOEXCEPT YY_NOTHROW
+  {}
 
   /*---------------.
   | Symbol types.  |
@@ -203,16 +208,16 @@ namespace isc { namespace agent {
 
 
   // by_state.
-  AgentParser::by_state::by_state ()
+  AgentParser::by_state::by_state () YY_NOEXCEPT
     : state (empty_state)
   {}
 
-  AgentParser::by_state::by_state (const by_state& other)
-    : state (other.state)
+  AgentParser::by_state::by_state (const by_state& that) YY_NOEXCEPT
+    : state (that.state)
   {}
 
   void
-  AgentParser::by_state::clear ()
+  AgentParser::by_state::clear () YY_NOEXCEPT
   {
     state = empty_state;
   }
@@ -224,12 +229,12 @@ namespace isc { namespace agent {
     that.clear ();
   }
 
-  AgentParser::by_state::by_state (state_type s)
+  AgentParser::by_state::by_state (state_type s) YY_NOEXCEPT
     : state (s)
   {}
 
   AgentParser::symbol_number_type
-  AgentParser::by_state::type_get () const
+  AgentParser::by_state::type_get () const YY_NOEXCEPT
   {
     if (state == empty_state)
       return empty_symbol;
@@ -369,65 +374,59 @@ namespace isc { namespace agent {
     std::ostream& yyoutput = yyo;
     YYUSE (yyoutput);
     symbol_number_type yytype = yysym.type_get ();
+#if defined __GNUC__ && ! defined __clang__ && ! defined __ICC && __GNUC__ * 100 + __GNUC_MINOR__ <= 408
     // Avoid a (spurious) G++ 4.8 warning about "array subscript is
     // below array bounds".
     if (yysym.empty ())
       std::abort ();
+#endif
     yyo << (yytype < yyntokens_ ? "token" : "nterm")
         << ' ' << yytname_[yytype] << " ("
         << yysym.location << ": ";
     switch (yytype)
     {
-            case 41: // "constant string"
-
-#line 103 "agent_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< std::string > (); }
-#line 386 "agent_parser.cc" // lalr1.cc:672
+      case 41: // "constant string"
+#line 103 "agent_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < std::string > (); }
+#line 392 "agent_parser.cc" // lalr1.cc:676
         break;
 
       case 42: // "integer"
-
-#line 103 "agent_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< int64_t > (); }
-#line 393 "agent_parser.cc" // lalr1.cc:672
+#line 103 "agent_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < int64_t > (); }
+#line 398 "agent_parser.cc" // lalr1.cc:676
         break;
 
       case 43: // "floating point"
-
-#line 103 "agent_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< double > (); }
-#line 400 "agent_parser.cc" // lalr1.cc:672
+#line 103 "agent_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < double > (); }
+#line 404 "agent_parser.cc" // lalr1.cc:676
         break;
 
       case 44: // "boolean"
-
-#line 103 "agent_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< bool > (); }
-#line 407 "agent_parser.cc" // lalr1.cc:672
+#line 103 "agent_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < bool > (); }
+#line 410 "agent_parser.cc" // lalr1.cc:676
         break;
 
       case 53: // value
-
-#line 103 "agent_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 414 "agent_parser.cc" // lalr1.cc:672
+#line 103 "agent_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 416 "agent_parser.cc" // lalr1.cc:676
         break;
 
       case 56: // map_value
-
-#line 103 "agent_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 421 "agent_parser.cc" // lalr1.cc:672
+#line 103 "agent_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 422 "agent_parser.cc" // lalr1.cc:676
         break;
 
       case 107: // socket_type_value
-
-#line 103 "agent_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 428 "agent_parser.cc" // lalr1.cc:672
+#line 103 "agent_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 428 "agent_parser.cc" // lalr1.cc:676
         break;
 
-
       default:
         break;
     }
@@ -550,17 +549,22 @@ namespace isc { namespace agent {
     yystack_.clear ();
     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 << '\n';
 
     // Accept?
     if (yystack_[0].state == yyfinal_)
-      goto yyacceptlab;
+      YYACCEPT;
 
     goto yybackup;
 
-    // Backup.
+
+  /*-----------.
+  | yybackup.  |
+  `-----------*/
   yybackup:
     // Try to take a decision without lookahead.
     yyn = yypact_[yystack_[0].state];
@@ -581,6 +585,7 @@ namespace isc { namespace agent {
 #if YY_EXCEPTIONS
         catch (const syntax_error& yyexc)
           {
+            YYCDEBUG << "Caught exception: " << yyexc.what() << '\n';
             error (yyexc);
             goto yyerrlab1;
           }
@@ -612,6 +617,7 @@ namespace isc { namespace agent {
     yypush_ ("Shifting", yyn, YY_MOVE (yyla));
     goto yynewstate;
 
+
   /*-----------------------------------------------------------.
   | yydefault -- do the default action for the current state.  |
   `-----------------------------------------------------------*/
@@ -621,8 +627,9 @@ namespace isc { namespace agent {
       goto yyerrlab;
     goto yyreduce;
 
+
   /*-----------------------------.
-  | yyreduce -- Do a reduction.  |
+  | yyreduce -- do a reduction.  |
   `-----------------------------*/
   yyreduce:
     yylen = yyr2_[yyn];
@@ -663,8 +670,8 @@ namespace isc { namespace agent {
 
       // 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;
       }
 
@@ -677,206 +684,206 @@ namespace isc { namespace agent {
           switch (yyn)
             {
   case 2:
-#line 114 "agent_parser.yy" // lalr1.cc:907
+#line 114 "agent_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.NO_KEYWORDS; }
-#line 683 "agent_parser.cc" // lalr1.cc:907
+#line 690 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 4:
-#line 115 "agent_parser.yy" // lalr1.cc:907
+#line 115 "agent_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.CONFIG; }
-#line 689 "agent_parser.cc" // lalr1.cc:907
+#line 696 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 6:
-#line 116 "agent_parser.yy" // lalr1.cc:907
+#line 116 "agent_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.AGENT; }
-#line 695 "agent_parser.cc" // lalr1.cc:907
+#line 702 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 8:
-#line 124 "agent_parser.yy" // lalr1.cc:907
+#line 124 "agent_parser.yy" // lalr1.cc:919
     {
     // Parse the Control-agent map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 705 "agent_parser.cc" // lalr1.cc:907
+#line 712 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 9:
-#line 128 "agent_parser.yy" // lalr1.cc:907
+#line 128 "agent_parser.yy" // lalr1.cc:919
     {
     // parsing completed
 }
-#line 713 "agent_parser.cc" // lalr1.cc:907
+#line 720 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 10:
-#line 135 "agent_parser.yy" // lalr1.cc:907
+#line 135 "agent_parser.yy" // lalr1.cc:919
     {
     // 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 722 "agent_parser.cc" // lalr1.cc:907
+#line 729 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 11:
-#line 141 "agent_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location))); }
-#line 728 "agent_parser.cc" // lalr1.cc:907
+#line 141 "agent_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location))); }
+#line 735 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 12:
-#line 142 "agent_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new DoubleElement(yystack_[0].value.as< double > (), ctx.loc2pos(yystack_[0].location))); }
-#line 734 "agent_parser.cc" // lalr1.cc:907
+#line 142 "agent_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new DoubleElement(yystack_[0].value.as < double > (), ctx.loc2pos(yystack_[0].location))); }
+#line 741 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 13:
-#line 143 "agent_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location))); }
-#line 740 "agent_parser.cc" // lalr1.cc:907
+#line 143 "agent_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location))); }
+#line 747 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 14:
-#line 144 "agent_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location))); }
-#line 746 "agent_parser.cc" // lalr1.cc:907
+#line 144 "agent_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location))); }
+#line 753 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 15:
-#line 145 "agent_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new NullElement(ctx.loc2pos(yystack_[0].location))); }
-#line 752 "agent_parser.cc" // lalr1.cc:907
+#line 145 "agent_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new NullElement(ctx.loc2pos(yystack_[0].location))); }
+#line 759 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 16:
-#line 146 "agent_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 758 "agent_parser.cc" // lalr1.cc:907
+#line 146 "agent_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 765 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 17:
-#line 147 "agent_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 764 "agent_parser.cc" // lalr1.cc:907
+#line 147 "agent_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 771 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 18:
-#line 151 "agent_parser.yy" // lalr1.cc:907
+#line 151 "agent_parser.yy" // lalr1.cc:919
     {
     // 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 775 "agent_parser.cc" // lalr1.cc:907
+#line 782 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 19:
-#line 156 "agent_parser.yy" // lalr1.cc:907
+#line 156 "agent_parser.yy" // lalr1.cc:919
     {
     // 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 785 "agent_parser.cc" // lalr1.cc:907
+#line 792 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 20:
-#line 162 "agent_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 791 "agent_parser.cc" // lalr1.cc:907
+#line 162 "agent_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 798 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 23:
-#line 176 "agent_parser.yy" // lalr1.cc:907
+#line 176 "agent_parser.yy" // lalr1.cc:919
     {
                   // map containing a single entry
-                  ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
+                  ctx.stack_.back()->set(yystack_[2].value.as < std::string > (), yystack_[0].value.as < ElementPtr > ());
                   }
-#line 800 "agent_parser.cc" // lalr1.cc:907
+#line 807 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 24:
-#line 180 "agent_parser.yy" // lalr1.cc:907
+#line 180 "agent_parser.yy" // lalr1.cc:919
     {
                   // map consisting of a shorter map followed by
                   // comma and string:value
-                  ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
+                  ctx.stack_.back()->set(yystack_[2].value.as < std::string > (), yystack_[0].value.as < ElementPtr > ());
                   }
-#line 810 "agent_parser.cc" // lalr1.cc:907
+#line 817 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 25:
-#line 187 "agent_parser.yy" // lalr1.cc:907
+#line 187 "agent_parser.yy" // lalr1.cc:919
     {
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(l);
 }
-#line 819 "agent_parser.cc" // lalr1.cc:907
+#line 826 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 26:
-#line 190 "agent_parser.yy" // lalr1.cc:907
+#line 190 "agent_parser.yy" // lalr1.cc:919
     {
 }
-#line 826 "agent_parser.cc" // lalr1.cc:907
+#line 833 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 29:
-#line 197 "agent_parser.yy" // lalr1.cc:907
+#line 197 "agent_parser.yy" // lalr1.cc:919
     {
                   // 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 835 "agent_parser.cc" // lalr1.cc:907
+#line 842 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 30:
-#line 201 "agent_parser.yy" // lalr1.cc:907
+#line 201 "agent_parser.yy" // lalr1.cc:919
     {
                   // 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 844 "agent_parser.cc" // lalr1.cc:907
+#line 851 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 31:
-#line 214 "agent_parser.yy" // lalr1.cc:907
+#line 214 "agent_parser.yy" // lalr1.cc:919
     {
     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 855 "agent_parser.cc" // lalr1.cc:907
+#line 862 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 32:
-#line 223 "agent_parser.yy" // lalr1.cc:907
+#line 223 "agent_parser.yy" // lalr1.cc:919
     {
     // 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 866 "agent_parser.cc" // lalr1.cc:907
+#line 873 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 33:
-#line 228 "agent_parser.yy" // lalr1.cc:907
+#line 228 "agent_parser.yy" // lalr1.cc:919
     {
     // 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 876 "agent_parser.cc" // lalr1.cc:907
+#line 883 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 42:
-#line 249 "agent_parser.yy" // lalr1.cc:907
+#line 249 "agent_parser.yy" // lalr1.cc:919
     {
 
     // Let's create a MapElement that will represent it, add it to the
@@ -888,60 +895,60 @@ namespace isc { namespace agent {
     ctx.stack_.push_back(m);
     ctx.enter(ctx.AGENT);
 }
-#line 892 "agent_parser.cc" // lalr1.cc:907
+#line 899 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 43:
-#line 259 "agent_parser.yy" // lalr1.cc:907
+#line 259 "agent_parser.yy" // lalr1.cc:919
     {
     // Ok, we're done with parsing control-agent. Let's take the map
     // off the stack.
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 903 "agent_parser.cc" // lalr1.cc:907
+#line 910 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 53:
-#line 281 "agent_parser.yy" // lalr1.cc:907
+#line 281 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 911 "agent_parser.cc" // lalr1.cc:907
+#line 918 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 54:
-#line 283 "agent_parser.yy" // lalr1.cc:907
+#line 283 "agent_parser.yy" // lalr1.cc:919
     {
-    ElementPtr host(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr host(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("http-host", host);
     ctx.leave();
 }
-#line 921 "agent_parser.cc" // lalr1.cc:907
+#line 928 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 55:
-#line 289 "agent_parser.yy" // lalr1.cc:907
+#line 289 "agent_parser.yy" // lalr1.cc:919
     {
-    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("http-port", prf);
 }
-#line 930 "agent_parser.cc" // lalr1.cc:907
+#line 937 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 56:
-#line 294 "agent_parser.yy" // lalr1.cc:907
+#line 294 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 938 "agent_parser.cc" // lalr1.cc:907
+#line 945 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 57:
-#line 296 "agent_parser.yy" // lalr1.cc:907
+#line 296 "agent_parser.yy" // lalr1.cc:919
     {
     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
@@ -961,23 +968,23 @@ namespace isc { namespace agent {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 965 "agent_parser.cc" // lalr1.cc:907
+#line 972 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 58:
-#line 319 "agent_parser.yy" // lalr1.cc:907
+#line 319 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 973 "agent_parser.cc" // lalr1.cc:907
+#line 980 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 59:
-#line 321 "agent_parser.yy" // lalr1.cc:907
+#line 321 "agent_parser.yy" // lalr1.cc:919
     {
     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
@@ -998,442 +1005,442 @@ namespace isc { namespace agent {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 1002 "agent_parser.cc" // lalr1.cc:907
+#line 1009 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 60:
-#line 347 "agent_parser.yy" // lalr1.cc:907
+#line 347 "agent_parser.yy" // lalr1.cc:919
     {
     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 1013 "agent_parser.cc" // lalr1.cc:907
+#line 1020 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 61:
-#line 352 "agent_parser.yy" // lalr1.cc:907
+#line 352 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1022 "agent_parser.cc" // lalr1.cc:907
+#line 1029 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 66:
-#line 365 "agent_parser.yy" // lalr1.cc:907
+#line 365 "agent_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1032 "agent_parser.cc" // lalr1.cc:907
+#line 1039 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 67:
-#line 369 "agent_parser.yy" // lalr1.cc:907
+#line 369 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 1040 "agent_parser.cc" // lalr1.cc:907
+#line 1047 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 73:
-#line 382 "agent_parser.yy" // lalr1.cc:907
+#line 382 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1048 "agent_parser.cc" // lalr1.cc:907
+#line 1055 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 74:
-#line 384 "agent_parser.yy" // lalr1.cc:907
+#line 384 "agent_parser.yy" // lalr1.cc:919
     {
-    ElementPtr lib(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr lib(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("library", lib);
     ctx.leave();
 }
-#line 1058 "agent_parser.cc" // lalr1.cc:907
+#line 1065 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 75:
-#line 390 "agent_parser.yy" // lalr1.cc:907
+#line 390 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1066 "agent_parser.cc" // lalr1.cc:907
+#line 1073 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 76:
-#line 392 "agent_parser.yy" // lalr1.cc:907
+#line 392 "agent_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("parameters", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("parameters", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1075 "agent_parser.cc" // lalr1.cc:907
+#line 1082 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 77:
-#line 400 "agent_parser.yy" // lalr1.cc:907
+#line 400 "agent_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[2].location)));
     ctx.stack_.back()->set("control-sockets", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.CONTROL_SOCKETS);
 }
-#line 1086 "agent_parser.cc" // lalr1.cc:907
+#line 1093 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 78:
-#line 405 "agent_parser.yy" // lalr1.cc:907
+#line 405 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1095 "agent_parser.cc" // lalr1.cc:907
+#line 1102 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 85:
-#line 426 "agent_parser.yy" // lalr1.cc:907
+#line 426 "agent_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("dhcp4", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.SERVER);
 }
-#line 1106 "agent_parser.cc" // lalr1.cc:907
+#line 1113 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 86:
-#line 431 "agent_parser.yy" // lalr1.cc:907
+#line 431 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1115 "agent_parser.cc" // lalr1.cc:907
+#line 1122 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 87:
-#line 437 "agent_parser.yy" // lalr1.cc:907
+#line 437 "agent_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("dhcp6", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.SERVER);
 }
-#line 1126 "agent_parser.cc" // lalr1.cc:907
+#line 1133 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 88:
-#line 442 "agent_parser.yy" // lalr1.cc:907
+#line 442 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1135 "agent_parser.cc" // lalr1.cc:907
+#line 1142 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 89:
-#line 448 "agent_parser.yy" // lalr1.cc:907
+#line 448 "agent_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("d2", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.SERVER);
 }
-#line 1146 "agent_parser.cc" // lalr1.cc:907
+#line 1153 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 90:
-#line 453 "agent_parser.yy" // lalr1.cc:907
+#line 453 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1155 "agent_parser.cc" // lalr1.cc:907
+#line 1162 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 98:
-#line 472 "agent_parser.yy" // lalr1.cc:907
+#line 472 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1163 "agent_parser.cc" // lalr1.cc:907
+#line 1170 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 99:
-#line 474 "agent_parser.yy" // lalr1.cc:907
+#line 474 "agent_parser.yy" // lalr1.cc:919
     {
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 1173 "agent_parser.cc" // lalr1.cc:907
+#line 1180 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 100:
-#line 481 "agent_parser.yy" // lalr1.cc:907
+#line 481 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.SOCKET_TYPE);
 }
-#line 1181 "agent_parser.cc" // lalr1.cc:907
+#line 1188 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 101:
-#line 483 "agent_parser.yy" // lalr1.cc:907
+#line 483 "agent_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("socket-type", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("socket-type", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1190 "agent_parser.cc" // lalr1.cc:907
+#line 1197 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 102:
-#line 489 "agent_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("unix", ctx.loc2pos(yystack_[0].location))); }
-#line 1196 "agent_parser.cc" // lalr1.cc:907
+#line 489 "agent_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("unix", ctx.loc2pos(yystack_[0].location))); }
+#line 1203 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 103:
-#line 495 "agent_parser.yy" // lalr1.cc:907
+#line 495 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1204 "agent_parser.cc" // lalr1.cc:907
+#line 1211 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 104:
-#line 497 "agent_parser.yy" // lalr1.cc:907
+#line 497 "agent_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("Dhcp4", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("Dhcp4", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1213 "agent_parser.cc" // lalr1.cc:907
+#line 1220 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 105:
-#line 502 "agent_parser.yy" // lalr1.cc:907
+#line 502 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1221 "agent_parser.cc" // lalr1.cc:907
+#line 1228 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 106:
-#line 504 "agent_parser.yy" // lalr1.cc:907
+#line 504 "agent_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("Dhcp6", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("Dhcp6", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1230 "agent_parser.cc" // lalr1.cc:907
+#line 1237 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 107:
-#line 509 "agent_parser.yy" // lalr1.cc:907
+#line 509 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1238 "agent_parser.cc" // lalr1.cc:907
+#line 1245 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 108:
-#line 511 "agent_parser.yy" // lalr1.cc:907
+#line 511 "agent_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("DhcpDdns", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("DhcpDdns", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1247 "agent_parser.cc" // lalr1.cc:907
+#line 1254 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 109:
-#line 521 "agent_parser.yy" // lalr1.cc:907
+#line 521 "agent_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("Logging", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.LOGGING);
 }
-#line 1258 "agent_parser.cc" // lalr1.cc:907
+#line 1265 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 110:
-#line 526 "agent_parser.yy" // lalr1.cc:907
+#line 526 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1267 "agent_parser.cc" // lalr1.cc:907
+#line 1274 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 114:
-#line 543 "agent_parser.yy" // lalr1.cc:907
+#line 543 "agent_parser.yy" // lalr1.cc:919
     {
     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 1278 "agent_parser.cc" // lalr1.cc:907
+#line 1285 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 115:
-#line 548 "agent_parser.yy" // lalr1.cc:907
+#line 548 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1287 "agent_parser.cc" // lalr1.cc:907
+#line 1294 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 118:
-#line 560 "agent_parser.yy" // lalr1.cc:907
+#line 560 "agent_parser.yy" // lalr1.cc:919
     {
     ElementPtr l(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(l);
     ctx.stack_.push_back(l);
 }
-#line 1297 "agent_parser.cc" // lalr1.cc:907
+#line 1304 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 119:
-#line 564 "agent_parser.yy" // lalr1.cc:907
+#line 564 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 1305 "agent_parser.cc" // lalr1.cc:907
+#line 1312 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 129:
-#line 581 "agent_parser.yy" // lalr1.cc:907
+#line 581 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1313 "agent_parser.cc" // lalr1.cc:907
+#line 1320 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 130:
-#line 583 "agent_parser.yy" // lalr1.cc:907
+#line 583 "agent_parser.yy" // lalr1.cc:919
     {
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr name(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("name", name);
     ctx.leave();
 }
-#line 1323 "agent_parser.cc" // lalr1.cc:907
+#line 1330 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 131:
-#line 589 "agent_parser.yy" // lalr1.cc:907
+#line 589 "agent_parser.yy" // lalr1.cc:919
     {
-    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 1332 "agent_parser.cc" // lalr1.cc:907
+#line 1339 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 132:
-#line 594 "agent_parser.yy" // lalr1.cc:907
+#line 594 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1340 "agent_parser.cc" // lalr1.cc:907
+#line 1347 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 133:
-#line 596 "agent_parser.yy" // lalr1.cc:907
+#line 596 "agent_parser.yy" // lalr1.cc:919
     {
-    ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr sev(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("severity", sev);
     ctx.leave();
 }
-#line 1350 "agent_parser.cc" // lalr1.cc:907
+#line 1357 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 134:
-#line 602 "agent_parser.yy" // lalr1.cc:907
+#line 602 "agent_parser.yy" // lalr1.cc:919
     {
     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 1361 "agent_parser.cc" // lalr1.cc:907
+#line 1368 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 135:
-#line 607 "agent_parser.yy" // lalr1.cc:907
+#line 607 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1370 "agent_parser.cc" // lalr1.cc:907
+#line 1377 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 138:
-#line 616 "agent_parser.yy" // lalr1.cc:907
+#line 616 "agent_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1380 "agent_parser.cc" // lalr1.cc:907
+#line 1387 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 139:
-#line 620 "agent_parser.yy" // lalr1.cc:907
+#line 620 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 1388 "agent_parser.cc" // lalr1.cc:907
+#line 1395 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 146:
-#line 634 "agent_parser.yy" // lalr1.cc:907
+#line 634 "agent_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1396 "agent_parser.cc" // lalr1.cc:907
+#line 1403 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 147:
-#line 636 "agent_parser.yy" // lalr1.cc:907
+#line 636 "agent_parser.yy" // lalr1.cc:919
     {
-    ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr sev(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("output", sev);
     ctx.leave();
 }
-#line 1406 "agent_parser.cc" // lalr1.cc:907
+#line 1413 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 148:
-#line 642 "agent_parser.yy" // lalr1.cc:907
+#line 642 "agent_parser.yy" // lalr1.cc:919
     {
-    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 1415 "agent_parser.cc" // lalr1.cc:907
+#line 1422 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 149:
-#line 647 "agent_parser.yy" // lalr1.cc:907
+#line 647 "agent_parser.yy" // lalr1.cc:919
     {
-    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 1424 "agent_parser.cc" // lalr1.cc:907
+#line 1431 "agent_parser.cc" // lalr1.cc:919
     break;
 
   case 150:
-#line 652 "agent_parser.yy" // lalr1.cc:907
+#line 652 "agent_parser.yy" // lalr1.cc:919
     {
-    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 1433 "agent_parser.cc" // lalr1.cc:907
+#line 1440 "agent_parser.cc" // lalr1.cc:919
     break;
 
 
-#line 1437 "agent_parser.cc" // lalr1.cc:907
+#line 1444 "agent_parser.cc" // lalr1.cc:919
             default:
               break;
             }
@@ -1441,6 +1448,7 @@ namespace isc { namespace agent {
 #if YY_EXCEPTIONS
       catch (const syntax_error& yyexc)
         {
+          YYCDEBUG << "Caught exception: " << yyexc.what() << '\n';
           error (yyexc);
           YYERROR;
         }
@@ -1455,6 +1463,7 @@ namespace isc { namespace agent {
     }
     goto yynewstate;
 
+
   /*--------------------------------------.
   | yyerrlab -- here on detecting error.  |
   `--------------------------------------*/
@@ -1491,18 +1500,18 @@ namespace isc { namespace agent {
   | 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;
+
     /* Do not reclaim the symbols of the rule whose action triggered
        this YYERROR.  */
     yypop_ (yylen);
     yylen = 0;
     goto yyerrlab1;
 
+
   /*-------------------------------------------------------------.
   | yyerrlab1 -- common code for both syntax error and YYERROR.  |
   `-------------------------------------------------------------*/
@@ -1543,16 +1552,26 @@ namespace isc { namespace agent {
     }
     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);
@@ -2002,10 +2021,10 @@ namespace isc { namespace agent {
 #endif // AGENT_DEBUG
 
 
-#line 14 "agent_parser.yy" // lalr1.cc:1218
+#line 14 "agent_parser.yy" // lalr1.cc:1242
 } } // isc::agent
-#line 2008 "agent_parser.cc" // lalr1.cc:1218
-#line 657 "agent_parser.yy" // lalr1.cc:1219
+#line 2027 "agent_parser.cc" // lalr1.cc:1242
+#line 657 "agent_parser.yy" // lalr1.cc:1243
 
 
 void
index 96a0ff1840396e0bc3297ca2fa178d5bf32e124d..310b5bf7285a7f12a019e0f6024180c5eb8cab71 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.2.1.
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Skeleton interface for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
@@ -44,7 +44,7 @@
 #ifndef YY_AGENT_AGENT_PARSER_H_INCLUDED
 # define YY_AGENT_AGENT_PARSER_H_INCLUDED
 // //                    "%code requires" blocks.
-#line 17 "agent_parser.yy" // lalr1.cc:404
+#line 17 "agent_parser.yy" // lalr1.cc:401
 
 #include <string>
 #include <cc/data.h>
@@ -55,7 +55,7 @@ using namespace isc::agent;
 using namespace isc::data;
 using namespace std;
 
-#line 59 "agent_parser.h" // lalr1.cc:404
+#line 59 "agent_parser.h" // lalr1.cc:401
 
 # include <cassert>
 # include <cstdlib> // std::abort
@@ -84,6 +84,22 @@ using namespace std;
 # 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
@@ -161,193 +177,79 @@ using namespace std;
 # endif /* ! defined YYDEBUG */
 #endif  /* ! defined AGENT_DEBUG */
 
-#line 14 "agent_parser.yy" // lalr1.cc:404
+#line 14 "agent_parser.yy" // lalr1.cc:401
 namespace isc { namespace agent {
-#line 167 "agent_parser.h" // lalr1.cc:404
-
-  /// 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::reverse_iterator iterator;
-    typedef typename S::const_reverse_iterator const_iterator;
-    typedef typename S::size_type size_type;
-
-    stack (size_type n = 200)
-      : seq_ (n)
-    {}
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    T&
-    operator[] (size_type i)
-    {
-      return seq_[size () - 1 - i];
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    T&
-    operator[] (int i)
-    {
-      return operator[] (size_type (i));
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    const T&
-    operator[] (size_type i) const
-    {
-      return seq_[size () - 1 - i];
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    const T&
-    operator[] (int i) const
-    {
-      return operator[] (size_type (i));
-    }
+#line 183 "agent_parser.h" // lalr1.cc:401
 
-    /// 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);
-    }
-
-    void
-    pop (int n = 1)
-    {
-      for (; 0 < n; --n)
-        seq_.pop_back ();
-    }
-
-    void
-    clear ()
-    {
-      seq_.clear ();
-    }
-
-    size_type
-    size () const
-    {
-      return seq_.size ();
-    }
-
-    const_iterator
-    begin () const
-    {
-      return seq_.rbegin ();
-    }
-
-    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 <typename T, typename S = stack<T> >
-  class slice
+  /// A Bison parser.
+  class AgentParser
   {
   public:
-    slice (const S& stack, int range)
-      : stack_ (stack)
-      , range_ (range)
-    {}
-
-    const T&
-    operator[] (int i) const
-    {
-      return stack_[range_ - i];
-    }
-
-  private:
-    const S& stack_;
-    int range_;
-  };
-
-
-
-  /// A char[S] buffer to store and retrieve objects.
+#ifndef AGENT_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 ()
+    semantic_type () YY_NOEXCEPT
       : yybuffer_ ()
       , yytypeid_ (YY_NULLPTR)
     {}
 
     /// Construct and fill.
     template <typename T>
-    variant (YY_RVREF (T) t)
+    semantic_type (YY_RVREF (T) t)
       : yytypeid_ (&typeid (T))
     {
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       new (yyas_<T> ()) T (YY_MOVE (t));
     }
 
     /// Destruction, allowed only if empty.
-    ~variant ()
+    ~semantic_type () YY_NOEXCEPT
     {
       YYASSERT (!yytypeid_);
     }
 
-    /// Instantiate an empty \a T in here.
-    template <typename T>
+# if 201103L <= YY_CPLUSPLUS
+    /// Instantiate a \a T in here from \a t.
+    template <typename T, typename... U>
     T&
-    emplace ()
+    emplace (U&&... u)
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
-      return *new (yyas_<T> ()) T ();
+      return *new (yyas_<T> ()) T (std::forward <U>(u)...);
     }
-
-# if 201103L <= YY_CPLUSPLUS
-    /// Instantiate a \a T in here from \a t.
-    template <typename T, typename U>
+# else
+    /// Instantiate an empty \a T in here.
+    template <typename T>
     T&
-    emplace (U&& u)
+    emplace ()
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
-      return *new (yyas_<T> ()) T (std::forward <U>(u));
+      return *new (yyas_<T> ()) T ();
     }
-# else
+
     /// Instantiate a \a T in here from \a t.
     template <typename T>
     T&
     emplace (const T& t)
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
       return *new (yyas_<T> ()) T (t);
     }
@@ -374,75 +276,75 @@ namespace isc { namespace agent {
     /// Accessor to a built \a T.
     template <typename T>
     T&
-    as ()
+    as () YY_NOEXCEPT
     {
       YYASSERT (yytypeid_);
       YYASSERT (*yytypeid_ == typeid (T));
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (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_);
       YYASSERT (*yytypeid_ == typeid (T));
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (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 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> ());
+      YYASSERT (*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& other)
+    move (self_type& that)
     {
 # if 201103L <= YY_CPLUSPLUS
-      emplace<T> (std::move (other.as<T> ()));
+      emplace<T> (std::move (that.as<T> ()));
 # else
       emplace<T> ();
-      swap<T> (other);
+      swap<T> (that);
 # endif
-      other.destroy<T> ();
+      that.destroy<T> ();
     }
 
 # if 201103L <= YY_CPLUSPLUS
-    /// Move the content of \a other to this.
+    /// Move the content of \a that to this.
     template <typename T>
     void
-    move (self_type&& other)
+    move (self_type&& that)
     {
-      emplace<T> (std::move (other.as<T> ()));
-      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)
     {
-      emplace<T> (other.as<T> ());
+      emplace<T> (that.as<T> ());
     }
 
     /// Destroy the stored \a T.
@@ -457,12 +359,12 @@ namespace isc { namespace agent {
   private:
     /// Prohibit blind copies.
     self_type& operator= (const self_type&);
-    variant (const self_type&);
+    semantic_type (const self_type&);
 
     /// Accessor to raw memory as \a T.
     template <typename T>
     T*
-    yyas_ ()
+    yyas_ () YY_NOEXCEPT
     {
       void *yyp = yybuffer_.yyraw;
       return static_cast<T*> (yyp);
@@ -471,30 +373,12 @@ namespace isc { namespace agent {
     /// 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 AgentParser
-  {
-  public:
-#ifndef AGENT_STYPE
     /// An auxiliary type to compute the largest semantic type.
     union union_type
     {
@@ -514,10 +398,24 @@ namespace isc { namespace agent {
 
       // "constant 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 AGENT_STYPE semantic_type;
 #endif
@@ -527,7 +425,18 @@ namespace isc { namespace agent {
     /// 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;
     };
 
@@ -607,53 +516,150 @@ namespace isc { namespace agent {
       typedef Base super_type;
 
       /// Default constructor.
-      basic_symbol ();
+      basic_symbol ()
+        : value ()
+        , location ()
+      {}
 
-      /// Move or copy constructor.
-      basic_symbol (YY_RVREF (basic_symbol) other);
+#if 201103L <= YY_CPLUSPLUS
+      /// Move constructor.
+      basic_symbol (basic_symbol&& that);
+#endif
 
+      /// Copy constructor.
+      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);
+#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);
+      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);
+#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);
+      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);
+#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);
+      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);
+#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);
+      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);
+#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);
+      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);
+#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);
+      basic_symbol (typename Base::kind_type t, const std::string& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
 #endif
 
-
       /// Destroy the symbol.
-      ~basic_symbol ();
+      ~basic_symbol ()
+      {
+        clear ();
+      }
 
       /// Destroy contents, and record that is empty.
-      void clear ();
+      void 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 53: // value
+      case 56: // map_value
+      case 107: // socket_type_value
+        value.template destroy< ElementPtr > ();
+        break;
+
+      case 44: // "boolean"
+        value.template destroy< bool > ();
+        break;
+
+      case 43: // "floating point"
+        value.template destroy< double > ();
+        break;
+
+      case 42: // "integer"
+        value.template destroy< int64_t > ();
+        break;
+
+      case 41: // "constant string"
+        value.template destroy< std::string > ();
+        break;
+
+      default:
+        break;
+    }
+
+        Base::clear ();
+      }
 
       /// Whether empty.
-      bool empty () const;
+      bool empty () const YY_NOEXCEPT;
 
       /// Destructive move, \a s is emptied into this.
       void move (basic_symbol& s);
@@ -667,7 +673,7 @@ namespace isc { namespace agent {
     private:
 #if YY_CPLUSPLUS < 201103L
       /// Assignment operator.
-      basic_symbol& operator= (const basic_symbol& other);
+      basic_symbol& operator= (const basic_symbol& that);
 #endif
     };
 
@@ -677,8 +683,13 @@ namespace isc { namespace agent {
       /// Default constructor.
       by_type ();
 
+#if 201103L <= YY_CPLUSPLUS
+      /// Move constructor.
+      by_type (by_type&& that);
+#endif
+
       /// Copy constructor.
-      by_type (const by_type& other);
+      by_type (const by_type& that);
 
       /// The symbol type as needed by the constructor.
       typedef token_type kind_type;
@@ -694,10 +705,10 @@ namespace isc { namespace agent {
 
       /// The (internal) type number (corresponding to \a type).
       /// \a empty when empty.
-      symbol_number_type type_get () const;
+      symbol_number_type type_get () const YY_NOEXCEPT;
 
       /// The token.
-      token_type token () const;
+      token_type token () const YY_NOEXCEPT;
 
       /// The symbol type.
       /// \a empty_symbol when empty.
@@ -706,7 +717,81 @@ namespace isc { namespace agent {
     };
 
     /// "External" symbols: returned by the scanner.
-    typedef basic_symbol<by_type> symbol_type;
+    struct symbol_type : basic_symbol<by_type>
+    {
+      /// Superclass.
+      typedef basic_symbol<by_type> super_type;
+
+      /// Empty symbol.
+      symbol_type () {}
+
+      /// 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))
+      {
+        YYASSERT (tok == token::TOKEN_END || 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_CONTROL_AGENT || tok == token::TOKEN_HTTP_HOST || tok == token::TOKEN_HTTP_PORT || tok == token::TOKEN_USER_CONTEXT || tok == token::TOKEN_COMMENT || tok == token::TOKEN_CONTROL_SOCKETS || tok == token::TOKEN_DHCP4_SERVER || tok == token::TOKEN_DHCP6_SERVER || tok == token::TOKEN_D2_SERVER || tok == token::TOKEN_SOCKET_NAME || tok == token::TOKEN_SOCKET_TYPE || tok == token::TOKEN_UNIX || tok == token::TOKEN_HOOKS_LIBRARIES || tok == token::TOKEN_LIBRARY || tok == token::TOKEN_PARAMETERS || tok == token::TOKEN_LOGGING || tok == token::TOKEN_LOGGERS || tok == token::TOKEN_NAME || 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_DHCP4 || tok == token::TOKEN_DHCP6 || tok == token::TOKEN_DHCPDDNS || tok == token::TOKEN_START_JSON || tok == token::TOKEN_START_AGENT || tok == token::TOKEN_START_SUB_AGENT);
+      }
+#else
+      symbol_type (int tok, const location_type& l)
+        : super_type(token_type (tok), l)
+      {
+        YYASSERT (tok == token::TOKEN_END || 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_CONTROL_AGENT || tok == token::TOKEN_HTTP_HOST || tok == token::TOKEN_HTTP_PORT || tok == token::TOKEN_USER_CONTEXT || tok == token::TOKEN_COMMENT || tok == token::TOKEN_CONTROL_SOCKETS || tok == token::TOKEN_DHCP4_SERVER || tok == token::TOKEN_DHCP6_SERVER || tok == token::TOKEN_D2_SERVER || tok == token::TOKEN_SOCKET_NAME || tok == token::TOKEN_SOCKET_TYPE || tok == token::TOKEN_UNIX || tok == token::TOKEN_HOOKS_LIBRARIES || tok == token::TOKEN_LIBRARY || tok == token::TOKEN_PARAMETERS || tok == token::TOKEN_LOGGING || tok == token::TOKEN_LOGGERS || tok == token::TOKEN_NAME || 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_DHCP4 || tok == token::TOKEN_DHCP6 || tok == token::TOKEN_DHCPDDNS || tok == token::TOKEN_START_JSON || tok == token::TOKEN_START_AGENT || tok == token::TOKEN_START_SUB_AGENT);
+      }
+#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))
+      {
+        YYASSERT (tok == token::TOKEN_BOOLEAN);
+      }
+#else
+      symbol_type (int tok, const bool& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (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))
+      {
+        YYASSERT (tok == token::TOKEN_FLOAT);
+      }
+#else
+      symbol_type (int tok, const double& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (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))
+      {
+        YYASSERT (tok == token::TOKEN_INTEGER);
+      }
+#else
+      symbol_type (int tok, const int64_t& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (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))
+      {
+        YYASSERT (tok == token::TOKEN_STRING);
+      }
+#else
+      symbol_type (int tok, const std::string& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (tok == token::TOKEN_STRING);
+      }
+#endif
+    };
 
     /// Build a parser object.
     AgentParser (isc::agent::ParserContext& ctx_yyarg);
@@ -742,179 +827,652 @@ namespace isc { namespace agent {
     /// Report a syntax error.
     void error (const syntax_error& err);
 
-    // Symbol constructors declarations.
-    static
-    symbol_type
-    make_END (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_COMMA (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_COLON (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LSQUARE_BRACKET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RSQUARE_BRACKET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LCURLY_BRACKET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RCURLY_BRACKET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_NULL_TYPE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CONTROL_AGENT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HTTP_HOST (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HTTP_PORT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_USER_CONTEXT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_COMMENT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CONTROL_SOCKETS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DHCP4_SERVER (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DHCP6_SERVER (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_D2_SERVER (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SOCKET_NAME (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SOCKET_TYPE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_UNIX (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HOOKS_LIBRARIES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LIBRARY (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_PARAMETERS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LOGGING (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LOGGERS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_NAME (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_OUTPUT_OPTIONS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_OUTPUT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DEBUGLEVEL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SEVERITY (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_FLUSH (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MAXSIZE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MAXVER (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DHCP4 (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DHCP6 (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DHCPDDNS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_START_JSON (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_START_AGENT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_START_SUB_AGENT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_STRING (YY_COPY (std::string) v, YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_INTEGER (YY_COPY (int64_t) v, YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_FLOAT (YY_COPY (double) v, YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_BOOLEAN (YY_COPY (bool) v, YY_COPY (location_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
+#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_CONTROL_AGENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONTROL_AGENT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONTROL_AGENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONTROL_AGENT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HTTP_HOST (location_type l)
+      {
+        return symbol_type (token::TOKEN_HTTP_HOST, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HTTP_HOST (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HTTP_HOST, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HTTP_PORT (location_type l)
+      {
+        return symbol_type (token::TOKEN_HTTP_PORT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HTTP_PORT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HTTP_PORT, 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_CONTROL_SOCKETS (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONTROL_SOCKETS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONTROL_SOCKETS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONTROL_SOCKETS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DHCP4_SERVER (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCP4_SERVER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCP4_SERVER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCP4_SERVER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DHCP6_SERVER (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCP6_SERVER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCP6_SERVER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCP6_SERVER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_D2_SERVER (location_type l)
+      {
+        return symbol_type (token::TOKEN_D2_SERVER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_D2_SERVER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_D2_SERVER, 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_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_UNIX (location_type l)
+      {
+        return symbol_type (token::TOKEN_UNIX, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_UNIX (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_UNIX, 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_LOGGING (location_type l)
+      {
+        return symbol_type (token::TOKEN_LOGGING, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LOGGING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LOGGING, 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_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_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_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_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_DHCPDDNS (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCPDDNS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCPDDNS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCPDDNS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_START_JSON (location_type l)
+      {
+        return symbol_type (token::TOKEN_START_JSON, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_START_JSON (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_START_JSON, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_START_AGENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_START_AGENT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_START_AGENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_START_AGENT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_START_SUB_AGENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_START_SUB_AGENT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_START_SUB_AGENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_START_SUB_AGENT, 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
 
 
   private:
@@ -1022,26 +1580,26 @@ namespace isc { namespace agent {
     struct by_state
     {
       /// Default constructor.
-      by_state ();
+      by_state () YY_NOEXCEPT;
 
       /// The symbol type as needed by the constructor.
       typedef state_type kind_type;
 
       /// Constructor.
-      by_state (kind_type s);
+      by_state (kind_type s) YY_NOEXCEPT;
 
       /// Copy constructor.
-      by_state (const by_state& other);
+      by_state (const by_state& that) YY_NOEXCEPT;
 
       /// Record that this symbol is empty.
-      void clear ();
+      void clear () YY_NOEXCEPT;
 
       /// 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;
+      symbol_number_type type_get () const YY_NOEXCEPT;
 
       /// The state number used to denote an empty symbol.
       enum { empty_state = -1 };
@@ -1069,6 +1627,130 @@ namespace isc { namespace agent {
 #endif
     };
 
+    /// 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::reverse_iterator iterator;
+      typedef typename S::const_reverse_iterator const_iterator;
+      typedef typename S::size_type size_type;
+
+      stack (size_type n = 200)
+        : seq_ (n)
+      {}
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      T&
+      operator[] (size_type i)
+      {
+        return seq_[size () - 1 - i];
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      T&
+      operator[] (int i)
+      {
+        return operator[] (size_type (i));
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      const T&
+      operator[] (size_type i) const
+      {
+        return seq_[size () - 1 - i];
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      const T&
+      operator[] (int i) const
+      {
+        return operator[] (size_type (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);
+      }
+
+      /// Pop elements from the stack.
+      void
+      pop (int n = 1) YY_NOEXCEPT
+      {
+        for (; 0 < n; --n)
+          seq_.pop_back ();
+      }
+
+      /// Pop all elements from the stack.
+      void
+      clear () YY_NOEXCEPT
+      {
+        seq_.clear ();
+      }
+
+      /// Number of elements on the stack.
+      size_type
+      size () const YY_NOEXCEPT
+      {
+        return seq_.size ();
+      }
+
+      /// Iterator on top of the stack (going downwards).
+      const_iterator
+      begin () const YY_NOEXCEPT
+      {
+        return seq_.rbegin ();
+      }
+
+      /// Bottom of the stack.
+      const_iterator
+      end () const YY_NOEXCEPT
+      {
+        return seq_.rend ();
+      }
+
+      /// Present a slice of the top of a stack.
+      class slice
+      {
+      public:
+        slice (const stack& stack, int range)
+          : stack_ (stack)
+          , range_ (range)
+        {}
+
+        const T&
+        operator[] (int i) const
+        {
+          return stack_[range_ - i];
+        }
+
+      private:
+        const stack& stack_;
+        int range_;
+      };
+
+    private:
+      stack (const stack&);
+      stack& operator= (const stack&);
+      /// The wrapped container.
+      S seq_;
+    };
+
+
     /// Stack type.
     typedef stack<stack_symbol_type> stack_type;
 
@@ -1110,16 +1792,17 @@ namespace isc { namespace agent {
     isc::agent::ParserContext& ctx;
   };
 
-  // Symbol number corresponding to token number t.
   inline
   AgentParser::token_number_type
   AgentParser::yytranslate_ (token_type t)
   {
+    // YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to
+    // TOKEN-NUM as returned by yylex.
     static
     const token_number_type
     translate_table[] =
     {
-     0,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       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,
@@ -1161,47 +1844,36 @@ namespace isc { namespace agent {
       return undef_token_;
   }
 
-  inline
-  AgentParser::syntax_error::syntax_error (const location_type& l, const std::string& m)
-    : std::runtime_error (m)
-    , location (l)
-  {}
-
   // basic_symbol.
+#if 201103L <= YY_CPLUSPLUS
   template <typename Base>
-  AgentParser::basic_symbol<Base>::basic_symbol ()
-    : value ()
-    , location ()
-  {}
-
-  template <typename Base>
-  AgentParser::basic_symbol<Base>::basic_symbol (YY_RVREF (basic_symbol) other)
-    : Base (YY_MOVE (other))
+  AgentParser::basic_symbol<Base>::basic_symbol (basic_symbol&& that)
+    : Base (std::move (that))
     , value ()
-    , location (YY_MOVE (other.location))
+    , location (std::move (that.location))
   {
-    switch (other.type_get ())
+    switch (this->type_get ())
     {
       case 53: // value
       case 56: // map_value
       case 107: // socket_type_value
-        value.YY_MOVE_OR_COPY< ElementPtr > (YY_MOVE (other.value));
+        value.move< ElementPtr > (std::move (that.value));
         break;
 
       case 44: // "boolean"
-        value.YY_MOVE_OR_COPY< bool > (YY_MOVE (other.value));
+        value.move< bool > (std::move (that.value));
         break;
 
       case 43: // "floating point"
-        value.YY_MOVE_OR_COPY< double > (YY_MOVE (other.value));
+        value.move< double > (std::move (that.value));
         break;
 
       case 42: // "integer"
-        value.YY_MOVE_OR_COPY< int64_t > (YY_MOVE (other.value));
+        value.move< int64_t > (std::move (that.value));
         break;
 
       case 41: // "constant string"
-        value.YY_MOVE_OR_COPY< std::string > (YY_MOVE (other.value));
+        value.move< std::string > (std::move (that.value));
         break;
 
       default:
@@ -1209,154 +1881,49 @@ namespace isc { namespace agent {
     }
 
   }
-
-
-  // Implementation of basic_symbol constructor for each type.
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  AgentParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, location_type&& l)
-    : Base (t)
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  AgentParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const location_type& l)
-    : Base (t)
-    , location (l)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  AgentParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, ElementPtr&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  AgentParser::basic_symbol<Base>::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
-  template <typename Base>
-  AgentParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, bool&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  AgentParser::basic_symbol<Base>::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
-  template <typename Base>
-  AgentParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, double&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  AgentParser::basic_symbol<Base>::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
-  template <typename Base>
-  AgentParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, int64_t&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  AgentParser::basic_symbol<Base>::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
-  template <typename Base>
-  AgentParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, std::string&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  AgentParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const std::string& v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
 #endif
 
-
-  template <typename Base>
-  AgentParser::basic_symbol<Base>::~basic_symbol ()
-  {
-    clear ();
-  }
-
   template <typename Base>
-  void
-  AgentParser::basic_symbol<Base>::clear ()
+  AgentParser::basic_symbol<Base>::basic_symbol (const basic_symbol& that)
+    : Base (that)
+    , value ()
+    , location (that.location)
   {
-    // User destructor.
-    symbol_number_type yytype = this->type_get ();
-    basic_symbol<Base>& yysym = *this;
-    (void) yysym;
-    switch (yytype)
-    {
-   default:
-      break;
-    }
-
-    // Type destructor.
-  switch (yytype)
+    switch (this->type_get ())
     {
       case 53: // value
       case 56: // map_value
       case 107: // socket_type_value
-        value.template destroy< ElementPtr > ();
+        value.copy< ElementPtr > (YY_MOVE (that.value));
         break;
 
       case 44: // "boolean"
-        value.template destroy< bool > ();
+        value.copy< bool > (YY_MOVE (that.value));
         break;
 
       case 43: // "floating point"
-        value.template destroy< double > ();
+        value.copy< double > (YY_MOVE (that.value));
         break;
 
       case 42: // "integer"
-        value.template destroy< int64_t > ();
+        value.copy< int64_t > (YY_MOVE (that.value));
         break;
 
       case 41: // "constant string"
-        value.template destroy< std::string > ();
+        value.copy< std::string > (YY_MOVE (that.value));
         break;
 
       default:
         break;
     }
 
-    Base::clear ();
   }
 
+
+
   template <typename Base>
   bool
-  AgentParser::basic_symbol<Base>::empty () const
+  AgentParser::basic_symbol<Base>::empty () const YY_NOEXCEPT
   {
     return Base::type_get () == empty_symbol;
   }
@@ -1403,9 +1970,18 @@ namespace isc { namespace agent {
     : type (empty_symbol)
   {}
 
+#if 201103L <= YY_CPLUSPLUS
+  inline
+  AgentParser::by_type::by_type (by_type&& that)
+    : type (that.type)
+  {
+    that.clear ();
+  }
+#endif
+
   inline
-  AgentParser::by_type::by_type (const by_type& other)
-    : type (other.type)
+  AgentParser::by_type::by_type (const by_type& that)
+    : type (that.type)
   {}
 
   inline
@@ -1430,14 +2006,14 @@ namespace isc { namespace agent {
 
   inline
   int
-  AgentParser::by_type::type_get () const
+  AgentParser::by_type::type_get () const YY_NOEXCEPT
   {
     return type;
   }
 
   inline
   AgentParser::token_type
-  AgentParser::by_type::token () const
+  AgentParser::by_type::token () const YY_NOEXCEPT
   {
     // YYTOKNUM[NUM] -- (External) token number corresponding to the
     // (internal) symbol number NUM (which must be that of a token).  */
@@ -1451,315 +2027,12 @@ namespace isc { namespace agent {
      285,   286,   287,   288,   289,   290,   291,   292,   293,   294,
      295,   296,   297,   298,   299
     };
-    return static_cast<token_type> (yytoken_number_[type]);
-  }
-
-  // Implementation of make_symbol for each symbol type.
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_END (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_END, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_COMMA (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_COMMA, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_COLON (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_COLON, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_LSQUARE_BRACKET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LSQUARE_BRACKET, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_RSQUARE_BRACKET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RSQUARE_BRACKET, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_LCURLY_BRACKET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LCURLY_BRACKET, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_RCURLY_BRACKET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RCURLY_BRACKET, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_NULL_TYPE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_NULL_TYPE, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_CONTROL_AGENT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CONTROL_AGENT, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_HTTP_HOST (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HTTP_HOST, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_HTTP_PORT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HTTP_PORT, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_USER_CONTEXT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_USER_CONTEXT, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_COMMENT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_COMMENT, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_CONTROL_SOCKETS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CONTROL_SOCKETS, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_DHCP4_SERVER (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DHCP4_SERVER, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_DHCP6_SERVER (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DHCP6_SERVER, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_D2_SERVER (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_D2_SERVER, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_SOCKET_NAME (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_NAME, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_SOCKET_TYPE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_TYPE, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_UNIX (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_UNIX, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_HOOKS_LIBRARIES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HOOKS_LIBRARIES, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_LIBRARY (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LIBRARY, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_PARAMETERS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_PARAMETERS, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_LOGGING (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LOGGING, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_LOGGERS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LOGGERS, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_NAME (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_NAME, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_OUTPUT_OPTIONS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT_OPTIONS, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_OUTPUT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_DEBUGLEVEL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DEBUGLEVEL, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_SEVERITY (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SEVERITY, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_FLUSH (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_FLUSH, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_MAXSIZE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_MAXSIZE, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_MAXVER (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_MAXVER, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_DHCP4 (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DHCP4, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_DHCP6 (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DHCP6, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_DHCPDDNS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DHCPDDNS, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_START_JSON (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_START_JSON, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_START_AGENT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_START_AGENT, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_START_SUB_AGENT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_START_SUB_AGENT, YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_STRING (YY_COPY (std::string) v, YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_STRING, YY_MOVE (v), YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_INTEGER (YY_COPY (int64_t) v, YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_INTEGER, YY_MOVE (v), YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_FLOAT (YY_COPY (double) v, YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_FLOAT, YY_MOVE (v), YY_MOVE (l));
-  }
-
-  inline
-  AgentParser::symbol_type
-  AgentParser::make_BOOLEAN (YY_COPY (bool) v, YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_BOOLEAN, YY_MOVE (v), YY_MOVE (l));
+    return token_type (yytoken_number_[type]);
   }
 
-
-#line 14 "agent_parser.yy" // lalr1.cc:404
+#line 14 "agent_parser.yy" // lalr1.cc:401
 } } // isc::agent
-#line 1763 "agent_parser.h" // lalr1.cc:404
+#line 2036 "agent_parser.h" // lalr1.cc:401
 
 
 
index de8e50df63cd3568d1681d9d29b3bd79d9540c11..64793dd38b6f961424df0c6c7ea8f2ec318d26a5 100644 (file)
@@ -1,9 +1,9 @@
-// Generated 201811271343
-// A Bison parser, made by GNU Bison 3.2.1.
+// Generated 201902061315
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Locations for Bison parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
index 86db4af678c46222c27c1ccda32f6bd1c6bae5cb..33fed892d9c13fea11ec6cd3707c819c64f276eb 100644 (file)
@@ -1,5 +1,5 @@
-// Generated 201811271343
-// A Bison parser, made by GNU Bison 3.2.1.
+// Generated 201902061315
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Starting with Bison 3.2, this file is useless: the structure it
 // used to define is now defined in "location.hh".
index 64a6403bcecbc741761ab6f0b569a922b45acd2b..313ad38c24fd1f78dff93a1558cc02514d74a723 100644 (file)
@@ -1,5 +1,5 @@
-// Generated 201811271343
-// A Bison parser, made by GNU Bison 3.2.1.
+// Generated 201902061315
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Starting with Bison 3.2, this file is useless: the structure it
 // used to define is now defined with the parser itself.
index 7633b75e3628ebc77a96f6b3ed50946d088201f4..f05adbc831e7973489f8a9e08035ab4008c0d31f 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.2.4.
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Skeleton implementation for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
 
 
 // Unqualified %code blocks.
-#line 34 "d2_parser.yy" // lalr1.cc:438
+#line 34 "d2_parser.yy" // lalr1.cc:435
 
 #include <d2/parser_context.h>
 
-#line 51 "d2_parser.cc" // lalr1.cc:438
+#line 51 "d2_parser.cc" // lalr1.cc:435
 
 
 #ifndef YY_
@@ -88,7 +88,7 @@
         {                                                               \
           (Current).begin = (Current).end = YYRHSLOC (Rhs, 0).end;      \
         }                                                               \
-    while (/*CONSTCOND*/ false)
+    while (false)
 # endif
 
 
 #define YYERROR         goto yyerrorlab
 #define YYRECOVERING()  (!!yyerrstatus_)
 
-#line 14 "d2_parser.yy" // lalr1.cc:513
+#line 14 "d2_parser.yy" // lalr1.cc:510
 namespace isc { namespace d2 {
-#line 146 "d2_parser.cc" // lalr1.cc:513
+#line 146 "d2_parser.cc" // lalr1.cc:510
 
   /* Return YYSTR after stripping away unnecessary quotes and
      backslashes, so that it's suitable for yyerror.  The heuristic is
@@ -154,7 +154,7 @@ namespace isc { namespace d2 {
   {
     if (*yystr == '"')
       {
-        std::string yyr = "";
+        std::string yyr;
         char const *yyp = yystr;
 
         for (;;)
@@ -167,7 +167,10 @@ namespace isc { namespace d2 {
             case '\\':
               if (*++yyp != '\\')
                 goto do_not_strip_quotes;
-              // Fall through.
+              else
+                goto append;
+
+            append:
             default:
               yyr += *yyp;
               break;
@@ -195,6 +198,8 @@ namespace isc { namespace d2 {
   D2Parser::~D2Parser ()
   {}
 
+  D2Parser::syntax_error::~syntax_error () YY_NOEXCEPT YY_NOTHROW
+  {}
 
   /*---------------.
   | Symbol types.  |
@@ -203,16 +208,16 @@ namespace isc { namespace d2 {
 
 
   // by_state.
-  D2Parser::by_state::by_state ()
+  D2Parser::by_state::by_state () YY_NOEXCEPT
     : state (empty_state)
   {}
 
-  D2Parser::by_state::by_state (const by_state& other)
-    : state (other.state)
+  D2Parser::by_state::by_state (const by_state& that) YY_NOEXCEPT
+    : state (that.state)
   {}
 
   void
-  D2Parser::by_state::clear ()
+  D2Parser::by_state::clear () YY_NOEXCEPT
   {
     state = empty_state;
   }
@@ -224,12 +229,12 @@ namespace isc { namespace d2 {
     that.clear ();
   }
 
-  D2Parser::by_state::by_state (state_type s)
+  D2Parser::by_state::by_state (state_type s) YY_NOEXCEPT
     : state (s)
   {}
 
   D2Parser::symbol_number_type
-  D2Parser::by_state::type_get () const
+  D2Parser::by_state::type_get () const YY_NOEXCEPT
   {
     if (state == empty_state)
       return empty_symbol;
@@ -369,65 +374,59 @@ namespace isc { namespace d2 {
     std::ostream& yyoutput = yyo;
     YYUSE (yyoutput);
     symbol_number_type yytype = yysym.type_get ();
+#if defined __GNUC__ && ! defined __clang__ && ! defined __ICC && __GNUC__ * 100 + __GNUC_MINOR__ <= 408
     // Avoid a (spurious) G++ 4.8 warning about "array subscript is
     // below array bounds".
     if (yysym.empty ())
       std::abort ();
+#endif
     yyo << (yytype < yyntokens_ ? "token" : "nterm")
         << ' ' << yytname_[yytype] << " ("
         << yysym.location << ": ";
     switch (yytype)
     {
-            case 56: // "constant string"
-
-#line 115 "d2_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< std::string > (); }
-#line 386 "d2_parser.cc" // lalr1.cc:672
+      case 56: // "constant string"
+#line 115 "d2_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < std::string > (); }
+#line 392 "d2_parser.cc" // lalr1.cc:676
         break;
 
       case 57: // "integer"
-
-#line 115 "d2_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< int64_t > (); }
-#line 393 "d2_parser.cc" // lalr1.cc:672
+#line 115 "d2_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < int64_t > (); }
+#line 398 "d2_parser.cc" // lalr1.cc:676
         break;
 
       case 58: // "floating point"
-
-#line 115 "d2_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< double > (); }
-#line 400 "d2_parser.cc" // lalr1.cc:672
+#line 115 "d2_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < double > (); }
+#line 404 "d2_parser.cc" // lalr1.cc:676
         break;
 
       case 59: // "boolean"
-
-#line 115 "d2_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< bool > (); }
-#line 407 "d2_parser.cc" // lalr1.cc:672
+#line 115 "d2_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < bool > (); }
+#line 410 "d2_parser.cc" // lalr1.cc:676
         break;
 
       case 71: // value
-
-#line 115 "d2_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 414 "d2_parser.cc" // lalr1.cc:672
+#line 115 "d2_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 416 "d2_parser.cc" // lalr1.cc:676
         break;
 
       case 75: // map_value
-
-#line 115 "d2_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 421 "d2_parser.cc" // lalr1.cc:672
+#line 115 "d2_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 422 "d2_parser.cc" // lalr1.cc:676
         break;
 
       case 99: // ncr_protocol_value
-
-#line 115 "d2_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 428 "d2_parser.cc" // lalr1.cc:672
+#line 115 "d2_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 428 "d2_parser.cc" // lalr1.cc:676
         break;
 
-
       default:
         break;
     }
@@ -550,17 +549,22 @@ namespace isc { namespace d2 {
     yystack_.clear ();
     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 << '\n';
 
     // Accept?
     if (yystack_[0].state == yyfinal_)
-      goto yyacceptlab;
+      YYACCEPT;
 
     goto yybackup;
 
-    // Backup.
+
+  /*-----------.
+  | yybackup.  |
+  `-----------*/
   yybackup:
     // Try to take a decision without lookahead.
     yyn = yypact_[yystack_[0].state];
@@ -581,6 +585,7 @@ namespace isc { namespace d2 {
 #if YY_EXCEPTIONS
         catch (const syntax_error& yyexc)
           {
+            YYCDEBUG << "Caught exception: " << yyexc.what() << '\n';
             error (yyexc);
             goto yyerrlab1;
           }
@@ -612,6 +617,7 @@ namespace isc { namespace d2 {
     yypush_ ("Shifting", yyn, YY_MOVE (yyla));
     goto yynewstate;
 
+
   /*-----------------------------------------------------------.
   | yydefault -- do the default action for the current state.  |
   `-----------------------------------------------------------*/
@@ -621,8 +627,9 @@ namespace isc { namespace d2 {
       goto yyerrlab;
     goto yyreduce;
 
+
   /*-----------------------------.
-  | yyreduce -- Do a reduction.  |
+  | yyreduce -- do a reduction.  |
   `-----------------------------*/
   yyreduce:
     yylen = yyr2_[yyn];
@@ -663,8 +670,8 @@ namespace isc { namespace d2 {
 
       // 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;
       }
 
@@ -677,364 +684,364 @@ namespace isc { namespace d2 {
           switch (yyn)
             {
   case 2:
-#line 124 "d2_parser.yy" // lalr1.cc:907
+#line 124 "d2_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.NO_KEYWORD; }
-#line 683 "d2_parser.cc" // lalr1.cc:907
+#line 690 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 4:
-#line 125 "d2_parser.yy" // lalr1.cc:907
+#line 125 "d2_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.CONFIG; }
-#line 689 "d2_parser.cc" // lalr1.cc:907
+#line 696 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 6:
-#line 126 "d2_parser.yy" // lalr1.cc:907
+#line 126 "d2_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.DHCPDDNS; }
-#line 695 "d2_parser.cc" // lalr1.cc:907
+#line 702 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 8:
-#line 127 "d2_parser.yy" // lalr1.cc:907
+#line 127 "d2_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.TSIG_KEY; }
-#line 701 "d2_parser.cc" // lalr1.cc:907
+#line 708 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 10:
-#line 128 "d2_parser.yy" // lalr1.cc:907
+#line 128 "d2_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.TSIG_KEYS; }
-#line 707 "d2_parser.cc" // lalr1.cc:907
+#line 714 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 12:
-#line 129 "d2_parser.yy" // lalr1.cc:907
+#line 129 "d2_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.DDNS_DOMAIN; }
-#line 713 "d2_parser.cc" // lalr1.cc:907
+#line 720 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 14:
-#line 130 "d2_parser.yy" // lalr1.cc:907
+#line 130 "d2_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.DDNS_DOMAINS; }
-#line 719 "d2_parser.cc" // lalr1.cc:907
+#line 726 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 16:
-#line 131 "d2_parser.yy" // lalr1.cc:907
+#line 131 "d2_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.DNS_SERVERS; }
-#line 725 "d2_parser.cc" // lalr1.cc:907
+#line 732 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 18:
-#line 132 "d2_parser.yy" // lalr1.cc:907
+#line 132 "d2_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.DNS_SERVERS; }
-#line 731 "d2_parser.cc" // lalr1.cc:907
+#line 738 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 20:
-#line 140 "d2_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location))); }
-#line 737 "d2_parser.cc" // lalr1.cc:907
+#line 140 "d2_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location))); }
+#line 744 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 21:
-#line 141 "d2_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new DoubleElement(yystack_[0].value.as< double > (), ctx.loc2pos(yystack_[0].location))); }
-#line 743 "d2_parser.cc" // lalr1.cc:907
+#line 141 "d2_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new DoubleElement(yystack_[0].value.as < double > (), ctx.loc2pos(yystack_[0].location))); }
+#line 750 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 22:
-#line 142 "d2_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location))); }
-#line 749 "d2_parser.cc" // lalr1.cc:907
+#line 142 "d2_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location))); }
+#line 756 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 23:
-#line 143 "d2_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location))); }
-#line 755 "d2_parser.cc" // lalr1.cc:907
+#line 143 "d2_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location))); }
+#line 762 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 24:
-#line 144 "d2_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new NullElement(ctx.loc2pos(yystack_[0].location))); }
-#line 761 "d2_parser.cc" // lalr1.cc:907
+#line 144 "d2_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new NullElement(ctx.loc2pos(yystack_[0].location))); }
+#line 768 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 25:
-#line 145 "d2_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 767 "d2_parser.cc" // lalr1.cc:907
+#line 145 "d2_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 774 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 26:
-#line 146 "d2_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 773 "d2_parser.cc" // lalr1.cc:907
+#line 146 "d2_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 780 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 27:
-#line 149 "d2_parser.yy" // lalr1.cc:907
+#line 149 "d2_parser.yy" // lalr1.cc:919
     {
     // 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 782 "d2_parser.cc" // lalr1.cc:907
+#line 789 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 28:
-#line 154 "d2_parser.yy" // lalr1.cc:907
+#line 154 "d2_parser.yy" // lalr1.cc:919
     {
     // 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 793 "d2_parser.cc" // lalr1.cc:907
+#line 800 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 29:
-#line 159 "d2_parser.yy" // lalr1.cc:907
+#line 159 "d2_parser.yy" // lalr1.cc:919
     {
     // 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 803 "d2_parser.cc" // lalr1.cc:907
+#line 810 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 30:
-#line 165 "d2_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 809 "d2_parser.cc" // lalr1.cc:907
+#line 165 "d2_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 816 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 33:
-#line 172 "d2_parser.yy" // lalr1.cc:907
+#line 172 "d2_parser.yy" // lalr1.cc:919
     {
                   // map containing a single entry
-                  ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
+                  ctx.stack_.back()->set(yystack_[2].value.as < std::string > (), yystack_[0].value.as < ElementPtr > ());
                   }
-#line 818 "d2_parser.cc" // lalr1.cc:907
+#line 825 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 34:
-#line 176 "d2_parser.yy" // lalr1.cc:907
+#line 176 "d2_parser.yy" // lalr1.cc:919
     {
                   // map consisting of a shorter map followed by
                   // comma and string:value
-                  ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
+                  ctx.stack_.back()->set(yystack_[2].value.as < std::string > (), yystack_[0].value.as < ElementPtr > ());
                   }
-#line 828 "d2_parser.cc" // lalr1.cc:907
+#line 835 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 35:
-#line 183 "d2_parser.yy" // lalr1.cc:907
+#line 183 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(l);
 }
-#line 837 "d2_parser.cc" // lalr1.cc:907
+#line 844 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 36:
-#line 186 "d2_parser.yy" // lalr1.cc:907
+#line 186 "d2_parser.yy" // lalr1.cc:919
     {
     // list parsing complete. Put any sanity checking here
 }
-#line 845 "d2_parser.cc" // lalr1.cc:907
+#line 852 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 39:
-#line 194 "d2_parser.yy" // lalr1.cc:907
+#line 194 "d2_parser.yy" // lalr1.cc:919
     {
                   // 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 854 "d2_parser.cc" // lalr1.cc:907
+#line 861 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 40:
-#line 198 "d2_parser.yy" // lalr1.cc:907
+#line 198 "d2_parser.yy" // lalr1.cc:919
     {
                   // 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 863 "d2_parser.cc" // lalr1.cc:907
+#line 870 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 41:
-#line 209 "d2_parser.yy" // lalr1.cc:907
+#line 209 "d2_parser.yy" // lalr1.cc:919
     {
     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 874 "d2_parser.cc" // lalr1.cc:907
+#line 881 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 42:
-#line 219 "d2_parser.yy" // lalr1.cc:907
+#line 219 "d2_parser.yy" // lalr1.cc:919
     {
     // 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 885 "d2_parser.cc" // lalr1.cc:907
+#line 892 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 43:
-#line 224 "d2_parser.yy" // lalr1.cc:907
+#line 224 "d2_parser.yy" // lalr1.cc:919
     {
     // 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 895 "d2_parser.cc" // lalr1.cc:907
+#line 902 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 52:
-#line 246 "d2_parser.yy" // lalr1.cc:907
+#line 246 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("DhcpDdns", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.DHCPDDNS);
 }
-#line 906 "d2_parser.cc" // lalr1.cc:907
+#line 913 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 53:
-#line 251 "d2_parser.yy" // lalr1.cc:907
+#line 251 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 915 "d2_parser.cc" // lalr1.cc:907
+#line 922 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 54:
-#line 256 "d2_parser.yy" // lalr1.cc:907
+#line 256 "d2_parser.yy" // lalr1.cc:919
     {
     // Parse the dhcpddns map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 925 "d2_parser.cc" // lalr1.cc:907
+#line 932 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 55:
-#line 260 "d2_parser.yy" // lalr1.cc:907
+#line 260 "d2_parser.yy" // lalr1.cc:919
     {
     // parsing completed
 }
-#line 933 "d2_parser.cc" // lalr1.cc:907
+#line 940 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 70:
-#line 283 "d2_parser.yy" // lalr1.cc:907
+#line 283 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 941 "d2_parser.cc" // lalr1.cc:907
+#line 948 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 71:
-#line 285 "d2_parser.yy" // lalr1.cc:907
+#line 285 "d2_parser.yy" // lalr1.cc:919
     {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ip-address", s);
     ctx.leave();
 }
-#line 951 "d2_parser.cc" // lalr1.cc:907
+#line 958 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 72:
-#line 291 "d2_parser.yy" // lalr1.cc:907
+#line 291 "d2_parser.yy" // lalr1.cc:919
     {
-    if (yystack_[0].value.as< int64_t > () <= 0 || yystack_[0].value.as< int64_t > () >= 65536 ) {
+    if (yystack_[0].value.as < int64_t > () <= 0 || yystack_[0].value.as < int64_t > () >= 65536 ) {
         error(yystack_[0].location, "port must be greater than zero but less than 65536");
     }
-    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("port", i);
 }
-#line 963 "d2_parser.cc" // lalr1.cc:907
+#line 970 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 73:
-#line 299 "d2_parser.yy" // lalr1.cc:907
+#line 299 "d2_parser.yy" // lalr1.cc:919
     {
-    if (yystack_[0].value.as< int64_t > () <= 0) {
+    if (yystack_[0].value.as < int64_t > () <= 0) {
         error(yystack_[0].location, "dns-server-timeout must be greater than zero");
     } else {
-        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("dns-server-timeout", i);
     }
 }
-#line 976 "d2_parser.cc" // lalr1.cc:907
+#line 983 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 74:
-#line 308 "d2_parser.yy" // lalr1.cc:907
+#line 308 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NCR_PROTOCOL);
 }
-#line 984 "d2_parser.cc" // lalr1.cc:907
+#line 991 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 75:
-#line 310 "d2_parser.yy" // lalr1.cc:907
+#line 310 "d2_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("ncr-protocol", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("ncr-protocol", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 993 "d2_parser.cc" // lalr1.cc:907
+#line 1000 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 76:
-#line 316 "d2_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("UDP", ctx.loc2pos(yystack_[0].location))); }
-#line 999 "d2_parser.cc" // lalr1.cc:907
+#line 316 "d2_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("UDP", ctx.loc2pos(yystack_[0].location))); }
+#line 1006 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 77:
-#line 317 "d2_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("TCP", ctx.loc2pos(yystack_[0].location))); }
-#line 1005 "d2_parser.cc" // lalr1.cc:907
+#line 317 "d2_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("TCP", ctx.loc2pos(yystack_[0].location))); }
+#line 1012 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 78:
-#line 320 "d2_parser.yy" // lalr1.cc:907
+#line 320 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NCR_FORMAT);
 }
-#line 1013 "d2_parser.cc" // lalr1.cc:907
+#line 1020 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 79:
-#line 322 "d2_parser.yy" // lalr1.cc:907
+#line 322 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr json(new StringElement("JSON", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ncr-format", json);
     ctx.leave();
 }
-#line 1023 "d2_parser.cc" // lalr1.cc:907
+#line 1030 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 80:
-#line 328 "d2_parser.yy" // lalr1.cc:907
+#line 328 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1031 "d2_parser.cc" // lalr1.cc:907
+#line 1038 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 81:
-#line 330 "d2_parser.yy" // lalr1.cc:907
+#line 330 "d2_parser.yy" // lalr1.cc:919
     {
     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
@@ -1054,23 +1061,23 @@ namespace isc { namespace d2 {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 1058 "d2_parser.cc" // lalr1.cc:907
+#line 1065 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 82:
-#line 353 "d2_parser.yy" // lalr1.cc:907
+#line 353 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1066 "d2_parser.cc" // lalr1.cc:907
+#line 1073 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 83:
-#line 355 "d2_parser.yy" // lalr1.cc:907
+#line 355 "d2_parser.yy" // lalr1.cc:919
     {
     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
@@ -1091,730 +1098,730 @@ namespace isc { namespace d2 {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 1095 "d2_parser.cc" // lalr1.cc:907
+#line 1102 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 84:
-#line 380 "d2_parser.yy" // lalr1.cc:907
+#line 380 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("forward-ddns", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.FORWARD_DDNS);
 }
-#line 1106 "d2_parser.cc" // lalr1.cc:907
+#line 1113 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 85:
-#line 385 "d2_parser.yy" // lalr1.cc:907
+#line 385 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1115 "d2_parser.cc" // lalr1.cc:907
+#line 1122 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 86:
-#line 390 "d2_parser.yy" // lalr1.cc:907
+#line 390 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("reverse-ddns", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.REVERSE_DDNS);
 }
-#line 1126 "d2_parser.cc" // lalr1.cc:907
+#line 1133 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 87:
-#line 395 "d2_parser.yy" // lalr1.cc:907
+#line 395 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1135 "d2_parser.cc" // lalr1.cc:907
+#line 1142 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 94:
-#line 414 "d2_parser.yy" // lalr1.cc:907
+#line 414 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ddns-domains", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.DDNS_DOMAINS);
 }
-#line 1146 "d2_parser.cc" // lalr1.cc:907
+#line 1153 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 95:
-#line 419 "d2_parser.yy" // lalr1.cc:907
+#line 419 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1155 "d2_parser.cc" // lalr1.cc:907
+#line 1162 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 96:
-#line 424 "d2_parser.yy" // lalr1.cc:907
+#line 424 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(l);
 }
-#line 1164 "d2_parser.cc" // lalr1.cc:907
+#line 1171 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 97:
-#line 427 "d2_parser.yy" // lalr1.cc:907
+#line 427 "d2_parser.yy" // lalr1.cc:919
     {
     // parsing completed
 }
-#line 1172 "d2_parser.cc" // lalr1.cc:907
+#line 1179 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 102:
-#line 439 "d2_parser.yy" // lalr1.cc:907
+#line 439 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1182 "d2_parser.cc" // lalr1.cc:907
+#line 1189 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 103:
-#line 443 "d2_parser.yy" // lalr1.cc:907
+#line 443 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 1190 "d2_parser.cc" // lalr1.cc:907
+#line 1197 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 104:
-#line 447 "d2_parser.yy" // lalr1.cc:907
+#line 447 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1199 "d2_parser.cc" // lalr1.cc:907
+#line 1206 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 105:
-#line 450 "d2_parser.yy" // lalr1.cc:907
+#line 450 "d2_parser.yy" // lalr1.cc:919
     {
     // parsing completed
 }
-#line 1207 "d2_parser.cc" // lalr1.cc:907
+#line 1214 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 114:
-#line 467 "d2_parser.yy" // lalr1.cc:907
+#line 467 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1215 "d2_parser.cc" // lalr1.cc:907
+#line 1222 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 115:
-#line 469 "d2_parser.yy" // lalr1.cc:907
+#line 469 "d2_parser.yy" // lalr1.cc:919
     {
-    if (yystack_[0].value.as< std::string > () == "") {
+    if (yystack_[0].value.as < std::string > () == "") {
         error(yystack_[1].location, "Ddns domain name cannot be blank");
     }
-    ElementPtr elem(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr elem(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr name(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("name", name);
     ctx.leave();
 }
-#line 1229 "d2_parser.cc" // lalr1.cc:907
+#line 1236 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 116:
-#line 479 "d2_parser.yy" // lalr1.cc:907
+#line 479 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1237 "d2_parser.cc" // lalr1.cc:907
+#line 1244 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 117:
-#line 481 "d2_parser.yy" // lalr1.cc:907
+#line 481 "d2_parser.yy" // lalr1.cc:919
     {
-    ElementPtr elem(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr elem(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr name(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("key-name", name);
     ctx.leave();
 }
-#line 1248 "d2_parser.cc" // lalr1.cc:907
+#line 1255 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 118:
-#line 491 "d2_parser.yy" // lalr1.cc:907
+#line 491 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("dns-servers", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.DNS_SERVERS);
 }
-#line 1259 "d2_parser.cc" // lalr1.cc:907
+#line 1266 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 119:
-#line 496 "d2_parser.yy" // lalr1.cc:907
+#line 496 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1268 "d2_parser.cc" // lalr1.cc:907
+#line 1275 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 120:
-#line 501 "d2_parser.yy" // lalr1.cc:907
+#line 501 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(l);
 }
-#line 1277 "d2_parser.cc" // lalr1.cc:907
+#line 1284 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 121:
-#line 504 "d2_parser.yy" // lalr1.cc:907
+#line 504 "d2_parser.yy" // lalr1.cc:919
     {
     // parsing completed
 }
-#line 1285 "d2_parser.cc" // lalr1.cc:907
+#line 1292 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 124:
-#line 512 "d2_parser.yy" // lalr1.cc:907
+#line 512 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1295 "d2_parser.cc" // lalr1.cc:907
+#line 1302 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 125:
-#line 516 "d2_parser.yy" // lalr1.cc:907
+#line 516 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 1303 "d2_parser.cc" // lalr1.cc:907
+#line 1310 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 126:
-#line 520 "d2_parser.yy" // lalr1.cc:907
+#line 520 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1312 "d2_parser.cc" // lalr1.cc:907
+#line 1319 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 127:
-#line 523 "d2_parser.yy" // lalr1.cc:907
+#line 523 "d2_parser.yy" // lalr1.cc:919
     {
     // parsing completed
 }
-#line 1320 "d2_parser.cc" // lalr1.cc:907
+#line 1327 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 136:
-#line 539 "d2_parser.yy" // lalr1.cc:907
+#line 539 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1328 "d2_parser.cc" // lalr1.cc:907
+#line 1335 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 137:
-#line 541 "d2_parser.yy" // lalr1.cc:907
+#line 541 "d2_parser.yy" // lalr1.cc:919
     {
-    if (yystack_[0].value.as< std::string > () != "") {
+    if (yystack_[0].value.as < std::string > () != "") {
         error(yystack_[1].location, "hostname is not yet supported");
     }
-    ElementPtr elem(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr elem(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr name(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hostname", name);
     ctx.leave();
 }
-#line 1342 "d2_parser.cc" // lalr1.cc:907
+#line 1349 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 138:
-#line 551 "d2_parser.yy" // lalr1.cc:907
+#line 551 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1350 "d2_parser.cc" // lalr1.cc:907
+#line 1357 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 139:
-#line 553 "d2_parser.yy" // lalr1.cc:907
+#line 553 "d2_parser.yy" // lalr1.cc:919
     {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ip-address", s);
     ctx.leave();
 }
-#line 1360 "d2_parser.cc" // lalr1.cc:907
+#line 1367 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 140:
-#line 559 "d2_parser.yy" // lalr1.cc:907
+#line 559 "d2_parser.yy" // lalr1.cc:919
     {
-    if (yystack_[0].value.as< int64_t > () <= 0 || yystack_[0].value.as< int64_t > () >= 65536 ) {
+    if (yystack_[0].value.as < int64_t > () <= 0 || yystack_[0].value.as < int64_t > () >= 65536 ) {
         error(yystack_[0].location, "port must be greater than zero but less than 65536");
     }
-    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("port", i);
 }
-#line 1372 "d2_parser.cc" // lalr1.cc:907
+#line 1379 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 141:
-#line 573 "d2_parser.yy" // lalr1.cc:907
+#line 573 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("tsig-keys", l);
     ctx.stack_.push_back(l);
     ctx.enter(ctx.TSIG_KEYS);
 }
-#line 1383 "d2_parser.cc" // lalr1.cc:907
+#line 1390 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 142:
-#line 578 "d2_parser.yy" // lalr1.cc:907
+#line 578 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1392 "d2_parser.cc" // lalr1.cc:907
+#line 1399 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 143:
-#line 583 "d2_parser.yy" // lalr1.cc:907
+#line 583 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(l);
 }
-#line 1401 "d2_parser.cc" // lalr1.cc:907
+#line 1408 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 144:
-#line 586 "d2_parser.yy" // lalr1.cc:907
+#line 586 "d2_parser.yy" // lalr1.cc:919
     {
     // parsing completed
 }
-#line 1409 "d2_parser.cc" // lalr1.cc:907
+#line 1416 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 149:
-#line 598 "d2_parser.yy" // lalr1.cc:907
+#line 598 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1419 "d2_parser.cc" // lalr1.cc:907
+#line 1426 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 150:
-#line 602 "d2_parser.yy" // lalr1.cc:907
+#line 602 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 1427 "d2_parser.cc" // lalr1.cc:907
+#line 1434 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 151:
-#line 606 "d2_parser.yy" // lalr1.cc:907
+#line 606 "d2_parser.yy" // lalr1.cc:919
     {
     // Parse tsig key list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1437 "d2_parser.cc" // lalr1.cc:907
+#line 1444 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 152:
-#line 610 "d2_parser.yy" // lalr1.cc:907
+#line 610 "d2_parser.yy" // lalr1.cc:919
     {
     // parsing completed
 }
-#line 1445 "d2_parser.cc" // lalr1.cc:907
+#line 1452 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 162:
-#line 628 "d2_parser.yy" // lalr1.cc:907
+#line 628 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1453 "d2_parser.cc" // lalr1.cc:907
+#line 1460 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 163:
-#line 630 "d2_parser.yy" // lalr1.cc:907
+#line 630 "d2_parser.yy" // lalr1.cc:919
     {
-    if (yystack_[0].value.as< std::string > () == "") {
+    if (yystack_[0].value.as < std::string > () == "") {
         error(yystack_[1].location, "TSIG key name cannot be blank");
     }
-    ElementPtr elem(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr elem(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr name(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("name", name);
     ctx.leave();
 }
-#line 1467 "d2_parser.cc" // lalr1.cc:907
+#line 1474 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 164:
-#line 640 "d2_parser.yy" // lalr1.cc:907
+#line 640 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1475 "d2_parser.cc" // lalr1.cc:907
+#line 1482 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 165:
-#line 642 "d2_parser.yy" // lalr1.cc:907
+#line 642 "d2_parser.yy" // lalr1.cc:919
     {
-    if (yystack_[0].value.as< std::string > () == "") {
+    if (yystack_[0].value.as < std::string > () == "") {
         error(yystack_[1].location, "TSIG key algorithm cannot be blank");
     }
-    ElementPtr elem(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr elem(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("algorithm", elem);
     ctx.leave();
 }
-#line 1488 "d2_parser.cc" // lalr1.cc:907
+#line 1495 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 166:
-#line 651 "d2_parser.yy" // lalr1.cc:907
+#line 651 "d2_parser.yy" // lalr1.cc:919
     {
-    if (yystack_[0].value.as< int64_t > () < 0 || (yystack_[0].value.as< int64_t > () > 0  && (yystack_[0].value.as< int64_t > () % 8 != 0))) {
+    if (yystack_[0].value.as < int64_t > () < 0 || (yystack_[0].value.as < int64_t > () > 0  && (yystack_[0].value.as < int64_t > () % 8 != 0))) {
         error(yystack_[0].location, "TSIG key digest-bits must either be zero or a positive, multiple of eight");
     }
-    ElementPtr elem(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr elem(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("digest-bits", elem);
 }
-#line 1500 "d2_parser.cc" // lalr1.cc:907
+#line 1507 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 167:
-#line 659 "d2_parser.yy" // lalr1.cc:907
+#line 659 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1508 "d2_parser.cc" // lalr1.cc:907
+#line 1515 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 168:
-#line 661 "d2_parser.yy" // lalr1.cc:907
+#line 661 "d2_parser.yy" // lalr1.cc:919
     {
-    if (yystack_[0].value.as< std::string > () == "") {
+    if (yystack_[0].value.as < std::string > () == "") {
         error(yystack_[1].location, "TSIG key secret cannot be blank");
     }
-    ElementPtr elem(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr elem(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("secret", elem);
     ctx.leave();
 }
-#line 1521 "d2_parser.cc" // lalr1.cc:907
+#line 1528 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 169:
-#line 675 "d2_parser.yy" // lalr1.cc:907
+#line 675 "d2_parser.yy" // lalr1.cc:919
     {
     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 1532 "d2_parser.cc" // lalr1.cc:907
+#line 1539 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 170:
-#line 680 "d2_parser.yy" // lalr1.cc:907
+#line 680 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1541 "d2_parser.cc" // lalr1.cc:907
+#line 1548 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 178:
-#line 696 "d2_parser.yy" // lalr1.cc:907
+#line 696 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1549 "d2_parser.cc" // lalr1.cc:907
+#line 1556 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 179:
-#line 698 "d2_parser.yy" // lalr1.cc:907
+#line 698 "d2_parser.yy" // lalr1.cc:919
     {
-    ElementPtr stype(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 1559 "d2_parser.cc" // lalr1.cc:907
+#line 1566 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 180:
-#line 704 "d2_parser.yy" // lalr1.cc:907
+#line 704 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1567 "d2_parser.cc" // lalr1.cc:907
+#line 1574 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 181:
-#line 706 "d2_parser.yy" // lalr1.cc:907
+#line 706 "d2_parser.yy" // lalr1.cc:919
     {
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 1577 "d2_parser.cc" // lalr1.cc:907
+#line 1584 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 182:
-#line 714 "d2_parser.yy" // lalr1.cc:907
+#line 714 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1585 "d2_parser.cc" // lalr1.cc:907
+#line 1592 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 183:
-#line 716 "d2_parser.yy" // lalr1.cc:907
+#line 716 "d2_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("Dhcp6", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("Dhcp6", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1594 "d2_parser.cc" // lalr1.cc:907
+#line 1601 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 184:
-#line 721 "d2_parser.yy" // lalr1.cc:907
+#line 721 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1602 "d2_parser.cc" // lalr1.cc:907
+#line 1609 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 185:
-#line 723 "d2_parser.yy" // lalr1.cc:907
+#line 723 "d2_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("Dhcp4", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("Dhcp4", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1611 "d2_parser.cc" // lalr1.cc:907
+#line 1618 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 186:
-#line 728 "d2_parser.yy" // lalr1.cc:907
+#line 728 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1619 "d2_parser.cc" // lalr1.cc:907
+#line 1626 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 187:
-#line 730 "d2_parser.yy" // lalr1.cc:907
+#line 730 "d2_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("Control-agent", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("Control-agent", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1628 "d2_parser.cc" // lalr1.cc:907
+#line 1635 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 188:
-#line 740 "d2_parser.yy" // lalr1.cc:907
+#line 740 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("Logging", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.LOGGING);
 }
-#line 1639 "d2_parser.cc" // lalr1.cc:907
+#line 1646 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 189:
-#line 745 "d2_parser.yy" // lalr1.cc:907
+#line 745 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1648 "d2_parser.cc" // lalr1.cc:907
+#line 1655 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 193:
-#line 762 "d2_parser.yy" // lalr1.cc:907
+#line 762 "d2_parser.yy" // lalr1.cc:919
     {
     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 1659 "d2_parser.cc" // lalr1.cc:907
+#line 1666 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 194:
-#line 767 "d2_parser.yy" // lalr1.cc:907
+#line 767 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1668 "d2_parser.cc" // lalr1.cc:907
+#line 1675 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 197:
-#line 779 "d2_parser.yy" // lalr1.cc:907
+#line 779 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr l(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(l);
     ctx.stack_.push_back(l);
 }
-#line 1678 "d2_parser.cc" // lalr1.cc:907
+#line 1685 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 198:
-#line 783 "d2_parser.yy" // lalr1.cc:907
+#line 783 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 1686 "d2_parser.cc" // lalr1.cc:907
+#line 1693 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 208:
-#line 800 "d2_parser.yy" // lalr1.cc:907
+#line 800 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1694 "d2_parser.cc" // lalr1.cc:907
+#line 1701 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 209:
-#line 802 "d2_parser.yy" // lalr1.cc:907
+#line 802 "d2_parser.yy" // lalr1.cc:919
     {
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr name(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("name", name);
     ctx.leave();
 }
-#line 1704 "d2_parser.cc" // lalr1.cc:907
+#line 1711 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 210:
-#line 808 "d2_parser.yy" // lalr1.cc:907
+#line 808 "d2_parser.yy" // lalr1.cc:919
     {
-    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 1713 "d2_parser.cc" // lalr1.cc:907
+#line 1720 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 211:
-#line 812 "d2_parser.yy" // lalr1.cc:907
+#line 812 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1721 "d2_parser.cc" // lalr1.cc:907
+#line 1728 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 212:
-#line 814 "d2_parser.yy" // lalr1.cc:907
+#line 814 "d2_parser.yy" // lalr1.cc:919
     {
-    ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr sev(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("severity", sev);
     ctx.leave();
 }
-#line 1731 "d2_parser.cc" // lalr1.cc:907
+#line 1738 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 213:
-#line 820 "d2_parser.yy" // lalr1.cc:907
+#line 820 "d2_parser.yy" // lalr1.cc:919
     {
     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 1742 "d2_parser.cc" // lalr1.cc:907
+#line 1749 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 214:
-#line 825 "d2_parser.yy" // lalr1.cc:907
+#line 825 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1751 "d2_parser.cc" // lalr1.cc:907
+#line 1758 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 217:
-#line 834 "d2_parser.yy" // lalr1.cc:907
+#line 834 "d2_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1761 "d2_parser.cc" // lalr1.cc:907
+#line 1768 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 218:
-#line 838 "d2_parser.yy" // lalr1.cc:907
+#line 838 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 1769 "d2_parser.cc" // lalr1.cc:907
+#line 1776 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 225:
-#line 852 "d2_parser.yy" // lalr1.cc:907
+#line 852 "d2_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1777 "d2_parser.cc" // lalr1.cc:907
+#line 1784 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 226:
-#line 854 "d2_parser.yy" // lalr1.cc:907
+#line 854 "d2_parser.yy" // lalr1.cc:919
     {
-    ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr sev(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("output", sev);
     ctx.leave();
 }
-#line 1787 "d2_parser.cc" // lalr1.cc:907
+#line 1794 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 227:
-#line 860 "d2_parser.yy" // lalr1.cc:907
+#line 860 "d2_parser.yy" // lalr1.cc:919
     {
-    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 1796 "d2_parser.cc" // lalr1.cc:907
+#line 1803 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 228:
-#line 865 "d2_parser.yy" // lalr1.cc:907
+#line 865 "d2_parser.yy" // lalr1.cc:919
     {
-    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 1805 "d2_parser.cc" // lalr1.cc:907
+#line 1812 "d2_parser.cc" // lalr1.cc:919
     break;
 
   case 229:
-#line 870 "d2_parser.yy" // lalr1.cc:907
+#line 870 "d2_parser.yy" // lalr1.cc:919
     {
-    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 1814 "d2_parser.cc" // lalr1.cc:907
+#line 1821 "d2_parser.cc" // lalr1.cc:919
     break;
 
 
-#line 1818 "d2_parser.cc" // lalr1.cc:907
+#line 1825 "d2_parser.cc" // lalr1.cc:919
             default:
               break;
             }
@@ -1822,6 +1829,7 @@ namespace isc { namespace d2 {
 #if YY_EXCEPTIONS
       catch (const syntax_error& yyexc)
         {
+          YYCDEBUG << "Caught exception: " << yyexc.what() << '\n';
           error (yyexc);
           YYERROR;
         }
@@ -1836,6 +1844,7 @@ namespace isc { namespace d2 {
     }
     goto yynewstate;
 
+
   /*--------------------------------------.
   | yyerrlab -- here on detecting error.  |
   `--------------------------------------*/
@@ -1872,18 +1881,18 @@ namespace isc { namespace d2 {
   | 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;
+
     /* Do not reclaim the symbols of the rule whose action triggered
        this YYERROR.  */
     yypop_ (yylen);
     yylen = 0;
     goto yyerrlab1;
 
+
   /*-------------------------------------------------------------.
   | yyerrlab1 -- common code for both syntax error and YYERROR.  |
   `-------------------------------------------------------------*/
@@ -1924,16 +1933,26 @@ namespace isc { namespace d2 {
     }
     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);
@@ -2491,10 +2510,10 @@ namespace isc { namespace d2 {
 #endif // D2_PARSER_DEBUG
 
 
-#line 14 "d2_parser.yy" // lalr1.cc:1218
+#line 14 "d2_parser.yy" // lalr1.cc:1242
 } } // isc::d2
-#line 2497 "d2_parser.cc" // lalr1.cc:1218
-#line 875 "d2_parser.yy" // lalr1.cc:1219
+#line 2516 "d2_parser.cc" // lalr1.cc:1242
+#line 875 "d2_parser.yy" // lalr1.cc:1243
 
 
 void
index 4ebefde7094e9c5c1b37a4c0b14e3c5b2a126607..0bf09782a225346ac5861725d2b26d00813da19c 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.2.4.
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Skeleton interface for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
@@ -44,7 +44,7 @@
 #ifndef YY_D2_PARSER_D2_PARSER_H_INCLUDED
 # define YY_D2_PARSER_D2_PARSER_H_INCLUDED
 // //                    "%code requires" blocks.
-#line 17 "d2_parser.yy" // lalr1.cc:404
+#line 17 "d2_parser.yy" // lalr1.cc:401
 
 #include <string>
 #include <cc/data.h>
@@ -56,7 +56,7 @@ using namespace isc::d2;
 using namespace isc::data;
 using namespace std;
 
-#line 60 "d2_parser.h" // lalr1.cc:404
+#line 60 "d2_parser.h" // lalr1.cc:401
 
 # include <cassert>
 # include <cstdlib> // std::abort
@@ -85,6 +85,22 @@ using namespace std;
 # 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
@@ -162,193 +178,79 @@ using namespace std;
 # endif /* ! defined YYDEBUG */
 #endif  /* ! defined D2_PARSER_DEBUG */
 
-#line 14 "d2_parser.yy" // lalr1.cc:404
+#line 14 "d2_parser.yy" // lalr1.cc:401
 namespace isc { namespace d2 {
-#line 168 "d2_parser.h" // lalr1.cc:404
-
-  /// 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::reverse_iterator iterator;
-    typedef typename S::const_reverse_iterator const_iterator;
-    typedef typename S::size_type size_type;
-
-    stack (size_type n = 200)
-      : seq_ (n)
-    {}
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    T&
-    operator[] (size_type i)
-    {
-      return seq_[size () - 1 - i];
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    T&
-    operator[] (int i)
-    {
-      return operator[] (size_type (i));
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    const T&
-    operator[] (size_type i) const
-    {
-      return seq_[size () - 1 - i];
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    const T&
-    operator[] (int i) const
-    {
-      return operator[] (size_type (i));
-    }
+#line 184 "d2_parser.h" // lalr1.cc:401
 
-    /// 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);
-    }
-
-    void
-    pop (int n = 1)
-    {
-      for (; 0 < n; --n)
-        seq_.pop_back ();
-    }
-
-    void
-    clear ()
-    {
-      seq_.clear ();
-    }
-
-    size_type
-    size () const
-    {
-      return seq_.size ();
-    }
-
-    const_iterator
-    begin () const
-    {
-      return seq_.rbegin ();
-    }
-
-    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 <typename T, typename S = stack<T> >
-  class slice
+  /// A Bison parser.
+  class D2Parser
   {
   public:
-    slice (const S& stack, int range)
-      : stack_ (stack)
-      , range_ (range)
-    {}
-
-    const T&
-    operator[] (int i) const
-    {
-      return stack_[range_ - i];
-    }
-
-  private:
-    const S& stack_;
-    int range_;
-  };
-
-
-
-  /// A char[S] buffer to store and retrieve objects.
+#ifndef D2_PARSER_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 ()
+    semantic_type () YY_NOEXCEPT
       : yybuffer_ ()
       , yytypeid_ (YY_NULLPTR)
     {}
 
     /// Construct and fill.
     template <typename T>
-    variant (YY_RVREF (T) t)
+    semantic_type (YY_RVREF (T) t)
       : yytypeid_ (&typeid (T))
     {
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       new (yyas_<T> ()) T (YY_MOVE (t));
     }
 
     /// Destruction, allowed only if empty.
-    ~variant ()
+    ~semantic_type () YY_NOEXCEPT
     {
       YYASSERT (!yytypeid_);
     }
 
-    /// Instantiate an empty \a T in here.
-    template <typename T>
+# if 201103L <= YY_CPLUSPLUS
+    /// Instantiate a \a T in here from \a t.
+    template <typename T, typename... U>
     T&
-    emplace ()
+    emplace (U&&... u)
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
-      return *new (yyas_<T> ()) T ();
+      return *new (yyas_<T> ()) T (std::forward <U>(u)...);
     }
-
-# if 201103L <= YY_CPLUSPLUS
-    /// Instantiate a \a T in here from \a t.
-    template <typename T, typename U>
+# else
+    /// Instantiate an empty \a T in here.
+    template <typename T>
     T&
-    emplace (U&& u)
+    emplace ()
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
-      return *new (yyas_<T> ()) T (std::forward <U>(u));
+      return *new (yyas_<T> ()) T ();
     }
-# else
+
     /// Instantiate a \a T in here from \a t.
     template <typename T>
     T&
     emplace (const T& t)
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
       return *new (yyas_<T> ()) T (t);
     }
@@ -375,75 +277,75 @@ namespace isc { namespace d2 {
     /// Accessor to a built \a T.
     template <typename T>
     T&
-    as ()
+    as () YY_NOEXCEPT
     {
       YYASSERT (yytypeid_);
       YYASSERT (*yytypeid_ == typeid (T));
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (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_);
       YYASSERT (*yytypeid_ == typeid (T));
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (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 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> ());
+      YYASSERT (*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& other)
+    move (self_type& that)
     {
 # if 201103L <= YY_CPLUSPLUS
-      emplace<T> (std::move (other.as<T> ()));
+      emplace<T> (std::move (that.as<T> ()));
 # else
       emplace<T> ();
-      swap<T> (other);
+      swap<T> (that);
 # endif
-      other.destroy<T> ();
+      that.destroy<T> ();
     }
 
 # if 201103L <= YY_CPLUSPLUS
-    /// Move the content of \a other to this.
+    /// Move the content of \a that to this.
     template <typename T>
     void
-    move (self_type&& other)
+    move (self_type&& that)
     {
-      emplace<T> (std::move (other.as<T> ()));
-      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)
     {
-      emplace<T> (other.as<T> ());
+      emplace<T> (that.as<T> ());
     }
 
     /// Destroy the stored \a T.
@@ -458,12 +360,12 @@ namespace isc { namespace d2 {
   private:
     /// Prohibit blind copies.
     self_type& operator= (const self_type&);
-    variant (const self_type&);
+    semantic_type (const self_type&);
 
     /// Accessor to raw memory as \a T.
     template <typename T>
     T*
-    yyas_ ()
+    yyas_ () YY_NOEXCEPT
     {
       void *yyp = yybuffer_.yyraw;
       return static_cast<T*> (yyp);
@@ -472,30 +374,12 @@ namespace isc { namespace d2 {
     /// 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 D2Parser
-  {
-  public:
-#ifndef D2_PARSER_STYPE
     /// An auxiliary type to compute the largest semantic type.
     union union_type
     {
@@ -515,10 +399,24 @@ namespace isc { namespace d2 {
 
       // "constant 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 D2_PARSER_STYPE semantic_type;
 #endif
@@ -528,7 +426,18 @@ namespace isc { namespace d2 {
     /// 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;
     };
 
@@ -623,7 +532,10 @@ namespace isc { namespace d2 {
       typedef Base super_type;
 
       /// Default constructor.
-      basic_symbol ();
+      basic_symbol ()
+        : value ()
+        , location ()
+      {}
 
 #if 201103L <= YY_CPLUSPLUS
       /// Move constructor.
@@ -633,48 +545,137 @@ namespace isc { namespace d2 {
       /// Copy constructor.
       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);
+#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);
+      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);
-#else
-      basic_symbol (typename Base::kind_type t, const ElementPtr& v, const location_type& l);
+#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);
-#else
-      basic_symbol (typename Base::kind_type t, const bool& v, const location_type& l);
+#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);
-#else
-      basic_symbol (typename Base::kind_type t, const double& v, const location_type& l);
+#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);
-#else
-      basic_symbol (typename Base::kind_type t, const int64_t& v, const location_type& l);
+#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);
+#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);
+      basic_symbol (typename Base::kind_type t, const std::string& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
 #endif
 
-
       /// Destroy the symbol.
-      ~basic_symbol ();
+      ~basic_symbol ()
+      {
+        clear ();
+      }
 
       /// Destroy contents, and record that is empty.
-      void clear ();
+      void 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 71: // value
+      case 75: // map_value
+      case 99: // ncr_protocol_value
+        value.template destroy< ElementPtr > ();
+        break;
+
+      case 59: // "boolean"
+        value.template destroy< bool > ();
+        break;
+
+      case 58: // "floating point"
+        value.template destroy< double > ();
+        break;
+
+      case 57: // "integer"
+        value.template destroy< int64_t > ();
+        break;
+
+      case 56: // "constant string"
+        value.template destroy< std::string > ();
+        break;
+
+      default:
+        break;
+    }
+
+        Base::clear ();
+      }
 
       /// Whether empty.
-      bool empty () const;
+      bool empty () const YY_NOEXCEPT;
 
       /// Destructive move, \a s is emptied into this.
       void move (basic_symbol& s);
@@ -720,10 +721,10 @@ namespace isc { namespace d2 {
 
       /// The (internal) type number (corresponding to \a type).
       /// \a empty when empty.
-      symbol_number_type type_get () const;
+      symbol_number_type type_get () const YY_NOEXCEPT;
 
       /// The token.
-      token_type token () const;
+      token_type token () const YY_NOEXCEPT;
 
       /// The symbol type.
       /// \a empty_symbol when empty.
@@ -732,7 +733,81 @@ namespace isc { namespace d2 {
     };
 
     /// "External" symbols: returned by the scanner.
-    typedef basic_symbol<by_type> symbol_type;
+    struct symbol_type : basic_symbol<by_type>
+    {
+      /// Superclass.
+      typedef basic_symbol<by_type> super_type;
+
+      /// Empty symbol.
+      symbol_type () {}
+
+      /// 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))
+      {
+        YYASSERT (tok == token::TOKEN_END || 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_DHCP4 || tok == token::TOKEN_CONTROL_AGENT || tok == token::TOKEN_DHCPDDNS || tok == token::TOKEN_IP_ADDRESS || tok == token::TOKEN_PORT || tok == token::TOKEN_DNS_SERVER_TIMEOUT || tok == token::TOKEN_NCR_PROTOCOL || tok == token::TOKEN_UDP || tok == token::TOKEN_TCP || tok == token::TOKEN_NCR_FORMAT || tok == token::TOKEN_JSON || tok == token::TOKEN_USER_CONTEXT || tok == token::TOKEN_COMMENT || tok == token::TOKEN_FORWARD_DDNS || tok == token::TOKEN_REVERSE_DDNS || tok == token::TOKEN_DDNS_DOMAINS || tok == token::TOKEN_KEY_NAME || tok == token::TOKEN_DNS_SERVERS || tok == token::TOKEN_HOSTNAME || tok == token::TOKEN_TSIG_KEYS || tok == token::TOKEN_ALGORITHM || tok == token::TOKEN_DIGEST_BITS || tok == token::TOKEN_SECRET || tok == token::TOKEN_CONTROL_SOCKET || tok == token::TOKEN_SOCKET_TYPE || tok == token::TOKEN_SOCKET_NAME || tok == token::TOKEN_LOGGING || tok == token::TOKEN_LOGGERS || tok == token::TOKEN_NAME || 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_TOPLEVEL_JSON || tok == token::TOKEN_TOPLEVEL_DHCPDDNS || tok == token::TOKEN_SUB_DHCPDDNS || tok == token::TOKEN_SUB_TSIG_KEY || tok == token::TOKEN_SUB_TSIG_KEYS || tok == token::TOKEN_SUB_DDNS_DOMAIN || tok == token::TOKEN_SUB_DDNS_DOMAINS || tok == token::TOKEN_SUB_DNS_SERVER || tok == token::TOKEN_SUB_DNS_SERVERS);
+      }
+#else
+      symbol_type (int tok, const location_type& l)
+        : super_type(token_type (tok), l)
+      {
+        YYASSERT (tok == token::TOKEN_END || 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_DHCP4 || tok == token::TOKEN_CONTROL_AGENT || tok == token::TOKEN_DHCPDDNS || tok == token::TOKEN_IP_ADDRESS || tok == token::TOKEN_PORT || tok == token::TOKEN_DNS_SERVER_TIMEOUT || tok == token::TOKEN_NCR_PROTOCOL || tok == token::TOKEN_UDP || tok == token::TOKEN_TCP || tok == token::TOKEN_NCR_FORMAT || tok == token::TOKEN_JSON || tok == token::TOKEN_USER_CONTEXT || tok == token::TOKEN_COMMENT || tok == token::TOKEN_FORWARD_DDNS || tok == token::TOKEN_REVERSE_DDNS || tok == token::TOKEN_DDNS_DOMAINS || tok == token::TOKEN_KEY_NAME || tok == token::TOKEN_DNS_SERVERS || tok == token::TOKEN_HOSTNAME || tok == token::TOKEN_TSIG_KEYS || tok == token::TOKEN_ALGORITHM || tok == token::TOKEN_DIGEST_BITS || tok == token::TOKEN_SECRET || tok == token::TOKEN_CONTROL_SOCKET || tok == token::TOKEN_SOCKET_TYPE || tok == token::TOKEN_SOCKET_NAME || tok == token::TOKEN_LOGGING || tok == token::TOKEN_LOGGERS || tok == token::TOKEN_NAME || 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_TOPLEVEL_JSON || tok == token::TOKEN_TOPLEVEL_DHCPDDNS || tok == token::TOKEN_SUB_DHCPDDNS || tok == token::TOKEN_SUB_TSIG_KEY || tok == token::TOKEN_SUB_TSIG_KEYS || tok == token::TOKEN_SUB_DDNS_DOMAIN || tok == token::TOKEN_SUB_DDNS_DOMAINS || tok == token::TOKEN_SUB_DNS_SERVER || tok == token::TOKEN_SUB_DNS_SERVERS);
+      }
+#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))
+      {
+        YYASSERT (tok == token::TOKEN_BOOLEAN);
+      }
+#else
+      symbol_type (int tok, const bool& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (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))
+      {
+        YYASSERT (tok == token::TOKEN_FLOAT);
+      }
+#else
+      symbol_type (int tok, const double& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (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))
+      {
+        YYASSERT (tok == token::TOKEN_INTEGER);
+      }
+#else
+      symbol_type (int tok, const int64_t& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (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))
+      {
+        YYASSERT (tok == token::TOKEN_STRING);
+      }
+#else
+      symbol_type (int tok, const std::string& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (tok == token::TOKEN_STRING);
+      }
+#endif
+    };
 
     /// Build a parser object.
     D2Parser (isc::d2::D2ParserContext& ctx_yyarg);
@@ -768,528 +843,876 @@ namespace isc { namespace d2 {
     /// Report a syntax error.
     void error (const syntax_error& err);
 
-    // Symbol constructors declarations.
+    // Implementation of make_symbol for each symbol type.
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_END (location_type l);
+      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);
+      static
+      symbol_type
+      make_END (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_END, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_COMMA (location_type l);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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_DHCP4 (location_type l);
+      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);
+      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_CONTROL_AGENT (location_type l);
+      static
+      symbol_type
+      make_CONTROL_AGENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONTROL_AGENT, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_CONTROL_AGENT (const location_type& l);
+      static
+      symbol_type
+      make_CONTROL_AGENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONTROL_AGENT, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_DHCPDDNS (location_type l);
+      static
+      symbol_type
+      make_DHCPDDNS (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCPDDNS, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_DHCPDDNS (const location_type& l);
+      static
+      symbol_type
+      make_DHCPDDNS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCPDDNS, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_IP_ADDRESS (location_type l);
+      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);
+      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_PORT (location_type l);
+      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);
+      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_DNS_SERVER_TIMEOUT (location_type l);
+      static
+      symbol_type
+      make_DNS_SERVER_TIMEOUT (location_type l)
+      {
+        return symbol_type (token::TOKEN_DNS_SERVER_TIMEOUT, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_DNS_SERVER_TIMEOUT (const location_type& l);
+      static
+      symbol_type
+      make_DNS_SERVER_TIMEOUT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DNS_SERVER_TIMEOUT, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_NCR_PROTOCOL (location_type l);
+      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);
+      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_UDP (location_type l);
+      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);
+      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);
+      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);
+      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_NCR_FORMAT (location_type l);
+      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);
+      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_JSON (location_type l);
+      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);
+      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_USER_CONTEXT (location_type l);
+      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);
+      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);
+      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);
+      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_FORWARD_DDNS (location_type l);
+      static
+      symbol_type
+      make_FORWARD_DDNS (location_type l)
+      {
+        return symbol_type (token::TOKEN_FORWARD_DDNS, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_FORWARD_DDNS (const location_type& l);
+      static
+      symbol_type
+      make_FORWARD_DDNS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_FORWARD_DDNS, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_REVERSE_DDNS (location_type l);
+      static
+      symbol_type
+      make_REVERSE_DDNS (location_type l)
+      {
+        return symbol_type (token::TOKEN_REVERSE_DDNS, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_REVERSE_DDNS (const location_type& l);
+      static
+      symbol_type
+      make_REVERSE_DDNS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_REVERSE_DDNS, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_DDNS_DOMAINS (location_type l);
+      static
+      symbol_type
+      make_DDNS_DOMAINS (location_type l)
+      {
+        return symbol_type (token::TOKEN_DDNS_DOMAINS, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_DDNS_DOMAINS (const location_type& l);
+      static
+      symbol_type
+      make_DDNS_DOMAINS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DDNS_DOMAINS, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_KEY_NAME (location_type l);
+      static
+      symbol_type
+      make_KEY_NAME (location_type l)
+      {
+        return symbol_type (token::TOKEN_KEY_NAME, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_KEY_NAME (const location_type& l);
+      static
+      symbol_type
+      make_KEY_NAME (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_KEY_NAME, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_DNS_SERVERS (location_type l);
+      static
+      symbol_type
+      make_DNS_SERVERS (location_type l)
+      {
+        return symbol_type (token::TOKEN_DNS_SERVERS, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_DNS_SERVERS (const location_type& l);
+      static
+      symbol_type
+      make_DNS_SERVERS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DNS_SERVERS, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_HOSTNAME (location_type l);
+      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);
+      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_TSIG_KEYS (location_type l);
+      static
+      symbol_type
+      make_TSIG_KEYS (location_type l)
+      {
+        return symbol_type (token::TOKEN_TSIG_KEYS, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_TSIG_KEYS (const location_type& l);
+      static
+      symbol_type
+      make_TSIG_KEYS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TSIG_KEYS, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_ALGORITHM (location_type l);
+      static
+      symbol_type
+      make_ALGORITHM (location_type l)
+      {
+        return symbol_type (token::TOKEN_ALGORITHM, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_ALGORITHM (const location_type& l);
+      static
+      symbol_type
+      make_ALGORITHM (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ALGORITHM, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_DIGEST_BITS (location_type l);
+      static
+      symbol_type
+      make_DIGEST_BITS (location_type l)
+      {
+        return symbol_type (token::TOKEN_DIGEST_BITS, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_DIGEST_BITS (const location_type& l);
+      static
+      symbol_type
+      make_DIGEST_BITS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DIGEST_BITS, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_SECRET (location_type l);
+      static
+      symbol_type
+      make_SECRET (location_type l)
+      {
+        return symbol_type (token::TOKEN_SECRET, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_SECRET (const location_type& l);
+      static
+      symbol_type
+      make_SECRET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SECRET, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_CONTROL_SOCKET (location_type l);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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_LOGGING (location_type l);
+      static
+      symbol_type
+      make_LOGGING (location_type l)
+      {
+        return symbol_type (token::TOKEN_LOGGING, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_LOGGING (const location_type& l);
+      static
+      symbol_type
+      make_LOGGING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LOGGING, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_LOGGERS (location_type l);
+      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);
+      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_NAME (location_type l);
+      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);
+      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_OUTPUT_OPTIONS (location_type l);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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_TOPLEVEL_JSON (location_type l);
+      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);
+      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_DHCPDDNS (location_type l);
+      static
+      symbol_type
+      make_TOPLEVEL_DHCPDDNS (location_type l)
+      {
+        return symbol_type (token::TOKEN_TOPLEVEL_DHCPDDNS, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_TOPLEVEL_DHCPDDNS (const location_type& l);
+      static
+      symbol_type
+      make_TOPLEVEL_DHCPDDNS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TOPLEVEL_DHCPDDNS, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_SUB_DHCPDDNS (location_type l);
+      static
+      symbol_type
+      make_SUB_DHCPDDNS (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_DHCPDDNS, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_SUB_DHCPDDNS (const location_type& l);
+      static
+      symbol_type
+      make_SUB_DHCPDDNS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_DHCPDDNS, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_SUB_TSIG_KEY (location_type l);
+      static
+      symbol_type
+      make_SUB_TSIG_KEY (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_TSIG_KEY, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_SUB_TSIG_KEY (const location_type& l);
+      static
+      symbol_type
+      make_SUB_TSIG_KEY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_TSIG_KEY, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_SUB_TSIG_KEYS (location_type l);
+      static
+      symbol_type
+      make_SUB_TSIG_KEYS (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_TSIG_KEYS, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_SUB_TSIG_KEYS (const location_type& l);
+      static
+      symbol_type
+      make_SUB_TSIG_KEYS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_TSIG_KEYS, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_SUB_DDNS_DOMAIN (location_type l);
+      static
+      symbol_type
+      make_SUB_DDNS_DOMAIN (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_DDNS_DOMAIN, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_SUB_DDNS_DOMAIN (const location_type& l);
+      static
+      symbol_type
+      make_SUB_DDNS_DOMAIN (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_DDNS_DOMAIN, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_SUB_DDNS_DOMAINS (location_type l);
+      static
+      symbol_type
+      make_SUB_DDNS_DOMAINS (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_DDNS_DOMAINS, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_SUB_DDNS_DOMAINS (const location_type& l);
+      static
+      symbol_type
+      make_SUB_DDNS_DOMAINS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_DDNS_DOMAINS, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_SUB_DNS_SERVER (location_type l);
+      static
+      symbol_type
+      make_SUB_DNS_SERVER (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_DNS_SERVER, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_SUB_DNS_SERVER (const location_type& l);
+      static
+      symbol_type
+      make_SUB_DNS_SERVER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_DNS_SERVER, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_SUB_DNS_SERVERS (location_type l);
+      static
+      symbol_type
+      make_SUB_DNS_SERVERS (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_DNS_SERVERS, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_SUB_DNS_SERVERS (const location_type& l);
+      static
+      symbol_type
+      make_SUB_DNS_SERVERS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_DNS_SERVERS, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_STRING (std::string v, location_type l);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      static
+      symbol_type
+      make_BOOLEAN (const bool& v, const location_type& l)
+      {
+        return symbol_type (token::TOKEN_BOOLEAN, v, l);
+      }
 #endif
 
 
@@ -1398,26 +1821,26 @@ namespace isc { namespace d2 {
     struct by_state
     {
       /// Default constructor.
-      by_state ();
+      by_state () YY_NOEXCEPT;
 
       /// The symbol type as needed by the constructor.
       typedef state_type kind_type;
 
       /// Constructor.
-      by_state (kind_type s);
+      by_state (kind_type s) YY_NOEXCEPT;
 
       /// Copy constructor.
-      by_state (const by_state& other);
+      by_state (const by_state& that) YY_NOEXCEPT;
 
       /// Record that this symbol is empty.
-      void clear ();
+      void clear () YY_NOEXCEPT;
 
       /// 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;
+      symbol_number_type type_get () const YY_NOEXCEPT;
 
       /// The state number used to denote an empty symbol.
       enum { empty_state = -1 };
@@ -1445,6 +1868,130 @@ namespace isc { namespace d2 {
 #endif
     };
 
+    /// 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::reverse_iterator iterator;
+      typedef typename S::const_reverse_iterator const_iterator;
+      typedef typename S::size_type size_type;
+
+      stack (size_type n = 200)
+        : seq_ (n)
+      {}
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      T&
+      operator[] (size_type i)
+      {
+        return seq_[size () - 1 - i];
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      T&
+      operator[] (int i)
+      {
+        return operator[] (size_type (i));
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      const T&
+      operator[] (size_type i) const
+      {
+        return seq_[size () - 1 - i];
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      const T&
+      operator[] (int i) const
+      {
+        return operator[] (size_type (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);
+      }
+
+      /// Pop elements from the stack.
+      void
+      pop (int n = 1) YY_NOEXCEPT
+      {
+        for (; 0 < n; --n)
+          seq_.pop_back ();
+      }
+
+      /// Pop all elements from the stack.
+      void
+      clear () YY_NOEXCEPT
+      {
+        seq_.clear ();
+      }
+
+      /// Number of elements on the stack.
+      size_type
+      size () const YY_NOEXCEPT
+      {
+        return seq_.size ();
+      }
+
+      /// Iterator on top of the stack (going downwards).
+      const_iterator
+      begin () const YY_NOEXCEPT
+      {
+        return seq_.rbegin ();
+      }
+
+      /// Bottom of the stack.
+      const_iterator
+      end () const YY_NOEXCEPT
+      {
+        return seq_.rend ();
+      }
+
+      /// Present a slice of the top of a stack.
+      class slice
+      {
+      public:
+        slice (const stack& stack, int range)
+          : stack_ (stack)
+          , range_ (range)
+        {}
+
+        const T&
+        operator[] (int i) const
+        {
+          return stack_[range_ - i];
+        }
+
+      private:
+        const stack& stack_;
+        int range_;
+      };
+
+    private:
+      stack (const stack&);
+      stack& operator= (const stack&);
+      /// The wrapped container.
+      S seq_;
+    };
+
+
     /// Stack type.
     typedef stack<stack_symbol_type> stack_type;
 
@@ -1486,16 +2033,17 @@ namespace isc { namespace d2 {
     isc::d2::D2ParserContext& ctx;
   };
 
-  // Symbol number corresponding to token number t.
   inline
   D2Parser::token_number_type
   D2Parser::yytranslate_ (token_type t)
   {
+    // YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to
+    // TOKEN-NUM as returned by yylex.
     static
     const token_number_type
     translate_table[] =
     {
-     0,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       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,
@@ -1539,19 +2087,7 @@ namespace isc { namespace d2 {
       return undef_token_;
   }
 
-  inline
-  D2Parser::syntax_error::syntax_error (const location_type& l, const std::string& m)
-    : std::runtime_error (m)
-    , location (l)
-  {}
-
   // basic_symbol.
-  template <typename Base>
-  D2Parser::basic_symbol<Base>::basic_symbol ()
-    : value ()
-    , location ()
-  {}
-
 #if 201103L <= YY_CPLUSPLUS
   template <typename Base>
   D2Parser::basic_symbol<Base>::basic_symbol (basic_symbol&& that)
@@ -1601,23 +2137,23 @@ namespace isc { namespace d2 {
       case 71: // value
       case 75: // map_value
       case 99: // ncr_protocol_value
-        value.copy< ElementPtr > (that.value);
+        value.copy< ElementPtr > (YY_MOVE (that.value));
         break;
 
       case 59: // "boolean"
-        value.copy< bool > (that.value);
+        value.copy< bool > (YY_MOVE (that.value));
         break;
 
       case 58: // "floating point"
-        value.copy< double > (that.value);
+        value.copy< double > (YY_MOVE (that.value));
         break;
 
       case 57: // "integer"
-        value.copy< int64_t > (that.value);
+        value.copy< int64_t > (YY_MOVE (that.value));
         break;
 
       case 56: // "constant string"
-        value.copy< std::string > (that.value);
+        value.copy< std::string > (YY_MOVE (that.value));
         break;
 
       default:
@@ -1627,162 +2163,20 @@ namespace isc { namespace d2 {
   }
 
 
-  // Implementation of basic_symbol constructor for each type.
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  D2Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, location_type&& l)
-    : Base (t)
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  D2Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const location_type& l)
-    : Base (t)
-    , location (l)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  D2Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, ElementPtr&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  D2Parser::basic_symbol<Base>::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
-  template <typename Base>
-  D2Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, bool&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  D2Parser::basic_symbol<Base>::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
-  template <typename Base>
-  D2Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, double&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  D2Parser::basic_symbol<Base>::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
-  template <typename Base>
-  D2Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, int64_t&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  D2Parser::basic_symbol<Base>::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
-  template <typename Base>
-  D2Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, std::string&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  D2Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const std::string& v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-#endif
-
 
   template <typename Base>
-  D2Parser::basic_symbol<Base>::~basic_symbol ()
+  bool
+  D2Parser::basic_symbol<Base>::empty () const YY_NOEXCEPT
   {
-    clear ();
+    return Base::type_get () == empty_symbol;
   }
 
   template <typename Base>
   void
-  D2Parser::basic_symbol<Base>::clear ()
+  D2Parser::basic_symbol<Base>::move (basic_symbol& s)
   {
-    // 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 71: // value
-      case 75: // map_value
-      case 99: // ncr_protocol_value
-        value.template destroy< ElementPtr > ();
-        break;
-
-      case 59: // "boolean"
-        value.template destroy< bool > ();
-        break;
-
-      case 58: // "floating point"
-        value.template destroy< double > ();
-        break;
-
-      case 57: // "integer"
-        value.template destroy< int64_t > ();
-        break;
-
-      case 56: // "constant string"
-        value.template destroy< std::string > ();
-        break;
-
-      default:
-        break;
-    }
-
-    Base::clear ();
-  }
-
-  template <typename Base>
-  bool
-  D2Parser::basic_symbol<Base>::empty () const
-  {
-    return Base::type_get () == empty_symbol;
-  }
-
-  template <typename Base>
-  void
-  D2Parser::basic_symbol<Base>::move (basic_symbol& s)
-  {
-    super_type::move (s);
-    switch (this->type_get ())
+    super_type::move (s);
+    switch (this->type_get ())
     {
       case 71: // value
       case 75: // map_value
@@ -1855,14 +2249,14 @@ namespace isc { namespace d2 {
 
   inline
   int
-  D2Parser::by_type::type_get () const
+  D2Parser::by_type::type_get () const YY_NOEXCEPT
   {
     return type;
   }
 
   inline
   D2Parser::token_type
-  D2Parser::by_type::token () const
+  D2Parser::by_type::token () const YY_NOEXCEPT
   {
     // YYTOKNUM[NUM] -- (External) token number corresponding to the
     // (internal) symbol number NUM (which must be that of a token).  */
@@ -1877,884 +2271,12 @@ namespace isc { namespace d2 {
      295,   296,   297,   298,   299,   300,   301,   302,   303,   304,
      305,   306,   307,   308,   309,   310,   311,   312,   313,   314
     };
-    return static_cast<token_type> (yytoken_number_[type]);
-  }
-
-  // Implementation of make_symbol for each symbol type.
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_END (location_type l)
-  {
-    return symbol_type (token::TOKEN_END, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_END (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_END, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_COMMA (location_type l)
-  {
-    return symbol_type (token::TOKEN_COMMA, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_COMMA (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_COMMA, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_COLON (location_type l)
-  {
-    return symbol_type (token::TOKEN_COLON, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_COLON (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_COLON, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_LSQUARE_BRACKET (location_type l)
-  {
-    return symbol_type (token::TOKEN_LSQUARE_BRACKET, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_LSQUARE_BRACKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LSQUARE_BRACKET, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_RSQUARE_BRACKET (location_type l)
-  {
-    return symbol_type (token::TOKEN_RSQUARE_BRACKET, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_RSQUARE_BRACKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RSQUARE_BRACKET, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_LCURLY_BRACKET (location_type l)
-  {
-    return symbol_type (token::TOKEN_LCURLY_BRACKET, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_LCURLY_BRACKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LCURLY_BRACKET, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_RCURLY_BRACKET (location_type l)
-  {
-    return symbol_type (token::TOKEN_RCURLY_BRACKET, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_RCURLY_BRACKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RCURLY_BRACKET, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_NULL_TYPE (location_type l)
-  {
-    return symbol_type (token::TOKEN_NULL_TYPE, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_NULL_TYPE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NULL_TYPE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_DHCP6 (location_type l)
-  {
-    return symbol_type (token::TOKEN_DHCP6, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_DHCP6 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP6, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_DHCP4 (location_type l)
-  {
-    return symbol_type (token::TOKEN_DHCP4, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_DHCP4 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP4, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_CONTROL_AGENT (location_type l)
-  {
-    return symbol_type (token::TOKEN_CONTROL_AGENT, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_CONTROL_AGENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONTROL_AGENT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_DHCPDDNS (location_type l)
-  {
-    return symbol_type (token::TOKEN_DHCPDDNS, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_DHCPDDNS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCPDDNS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_IP_ADDRESS (location_type l)
-  {
-    return symbol_type (token::TOKEN_IP_ADDRESS, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_IP_ADDRESS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_IP_ADDRESS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_PORT (location_type l)
-  {
-    return symbol_type (token::TOKEN_PORT, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_PORT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PORT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_DNS_SERVER_TIMEOUT (location_type l)
-  {
-    return symbol_type (token::TOKEN_DNS_SERVER_TIMEOUT, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_DNS_SERVER_TIMEOUT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DNS_SERVER_TIMEOUT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_NCR_PROTOCOL (location_type l)
-  {
-    return symbol_type (token::TOKEN_NCR_PROTOCOL, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_NCR_PROTOCOL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NCR_PROTOCOL, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_UDP (location_type l)
-  {
-    return symbol_type (token::TOKEN_UDP, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_UDP (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_UDP, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_TCP (location_type l)
-  {
-    return symbol_type (token::TOKEN_TCP, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_TCP (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TCP, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_NCR_FORMAT (location_type l)
-  {
-    return symbol_type (token::TOKEN_NCR_FORMAT, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_NCR_FORMAT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NCR_FORMAT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_JSON (location_type l)
-  {
-    return symbol_type (token::TOKEN_JSON, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_JSON (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_JSON, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_USER_CONTEXT (location_type l)
-  {
-    return symbol_type (token::TOKEN_USER_CONTEXT, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_USER_CONTEXT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_USER_CONTEXT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_COMMENT (location_type l)
-  {
-    return symbol_type (token::TOKEN_COMMENT, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_COMMENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_COMMENT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_FORWARD_DDNS (location_type l)
-  {
-    return symbol_type (token::TOKEN_FORWARD_DDNS, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_FORWARD_DDNS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_FORWARD_DDNS, l);
+    return token_type (yytoken_number_[type]);
   }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_REVERSE_DDNS (location_type l)
-  {
-    return symbol_type (token::TOKEN_REVERSE_DDNS, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_REVERSE_DDNS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_REVERSE_DDNS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_DDNS_DOMAINS (location_type l)
-  {
-    return symbol_type (token::TOKEN_DDNS_DOMAINS, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_DDNS_DOMAINS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DDNS_DOMAINS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_KEY_NAME (location_type l)
-  {
-    return symbol_type (token::TOKEN_KEY_NAME, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_KEY_NAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_KEY_NAME, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_DNS_SERVERS (location_type l)
-  {
-    return symbol_type (token::TOKEN_DNS_SERVERS, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_DNS_SERVERS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DNS_SERVERS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_HOSTNAME (location_type l)
-  {
-    return symbol_type (token::TOKEN_HOSTNAME, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_HOSTNAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOSTNAME, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_TSIG_KEYS (location_type l)
-  {
-    return symbol_type (token::TOKEN_TSIG_KEYS, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_TSIG_KEYS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TSIG_KEYS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_ALGORITHM (location_type l)
-  {
-    return symbol_type (token::TOKEN_ALGORITHM, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_ALGORITHM (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ALGORITHM, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_DIGEST_BITS (location_type l)
-  {
-    return symbol_type (token::TOKEN_DIGEST_BITS, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_DIGEST_BITS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DIGEST_BITS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SECRET (location_type l)
-  {
-    return symbol_type (token::TOKEN_SECRET, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SECRET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SECRET, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_CONTROL_SOCKET (location_type l)
-  {
-    return symbol_type (token::TOKEN_CONTROL_SOCKET, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_CONTROL_SOCKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONTROL_SOCKET, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SOCKET_TYPE (location_type l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_TYPE, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SOCKET_TYPE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_TYPE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SOCKET_NAME (location_type l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_NAME, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SOCKET_NAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_NAME, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_LOGGING (location_type l)
-  {
-    return symbol_type (token::TOKEN_LOGGING, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_LOGGING (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LOGGING, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_LOGGERS (location_type l)
-  {
-    return symbol_type (token::TOKEN_LOGGERS, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_LOGGERS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LOGGERS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_NAME (location_type l)
-  {
-    return symbol_type (token::TOKEN_NAME, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_NAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NAME, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_OUTPUT_OPTIONS (location_type l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT_OPTIONS, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_OUTPUT_OPTIONS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT_OPTIONS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_OUTPUT (location_type l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_OUTPUT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_DEBUGLEVEL (location_type l)
-  {
-    return symbol_type (token::TOKEN_DEBUGLEVEL, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_DEBUGLEVEL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DEBUGLEVEL, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SEVERITY (location_type l)
-  {
-    return symbol_type (token::TOKEN_SEVERITY, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SEVERITY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SEVERITY, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_FLUSH (location_type l)
-  {
-    return symbol_type (token::TOKEN_FLUSH, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_FLUSH (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_FLUSH, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_MAXSIZE (location_type l)
-  {
-    return symbol_type (token::TOKEN_MAXSIZE, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_MAXSIZE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAXSIZE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_MAXVER (location_type l)
-  {
-    return symbol_type (token::TOKEN_MAXVER, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_MAXVER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAXVER, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_TOPLEVEL_JSON (location_type l)
-  {
-    return symbol_type (token::TOKEN_TOPLEVEL_JSON, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_TOPLEVEL_JSON (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TOPLEVEL_JSON, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_TOPLEVEL_DHCPDDNS (location_type l)
-  {
-    return symbol_type (token::TOKEN_TOPLEVEL_DHCPDDNS, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_TOPLEVEL_DHCPDDNS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TOPLEVEL_DHCPDDNS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SUB_DHCPDDNS (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_DHCPDDNS, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SUB_DHCPDDNS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_DHCPDDNS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SUB_TSIG_KEY (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_TSIG_KEY, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SUB_TSIG_KEY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_TSIG_KEY, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SUB_TSIG_KEYS (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_TSIG_KEYS, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SUB_TSIG_KEYS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_TSIG_KEYS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SUB_DDNS_DOMAIN (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_DDNS_DOMAIN, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SUB_DDNS_DOMAIN (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_DDNS_DOMAIN, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SUB_DDNS_DOMAINS (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_DDNS_DOMAINS, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SUB_DDNS_DOMAINS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_DDNS_DOMAINS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SUB_DNS_SERVER (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_DNS_SERVER, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SUB_DNS_SERVER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_DNS_SERVER, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SUB_DNS_SERVERS (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_DNS_SERVERS, std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_SUB_DNS_SERVERS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_DNS_SERVERS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_STRING (std::string v, location_type l)
-  {
-    return symbol_type (token::TOKEN_STRING, std::move (v), std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_STRING (const std::string& v, const location_type& l)
-  {
-    return symbol_type (token::TOKEN_STRING, v, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_INTEGER (int64_t v, location_type l)
-  {
-    return symbol_type (token::TOKEN_INTEGER, std::move (v), std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_INTEGER (const int64_t& v, const location_type& l)
-  {
-    return symbol_type (token::TOKEN_INTEGER, v, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_FLOAT (double v, location_type l)
-  {
-    return symbol_type (token::TOKEN_FLOAT, std::move (v), std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_FLOAT (const double& v, const location_type& l)
-  {
-    return symbol_type (token::TOKEN_FLOAT, v, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_BOOLEAN (bool v, location_type l)
-  {
-    return symbol_type (token::TOKEN_BOOLEAN, std::move (v), std::move (l));
-  }
-#else
-  inline
-  D2Parser::symbol_type
-  D2Parser::make_BOOLEAN (const bool& v, const location_type& l)
-  {
-    return symbol_type (token::TOKEN_BOOLEAN, v, l);
-  }
-#endif
 
-#line 14 "d2_parser.yy" // lalr1.cc:404
+#line 14 "d2_parser.yy" // lalr1.cc:401
 } } // isc::d2
-#line 2758 "d2_parser.h" // lalr1.cc:404
+#line 2280 "d2_parser.h" // lalr1.cc:401
 
 
 
index 5af9a7b5143a325f946c565e977febd39c793b7e..5029278948b83707736c98cd0bf84078bd40f3f4 100644 (file)
@@ -1,9 +1,9 @@
-// Generated 201812272324
-// A Bison parser, made by GNU Bison 3.2.4.
+// Generated 201902061316
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Locations for Bison parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
index c3bce9a5946874187fa8dfeb24938828843bd1d7..0f15baa730b0bfc7c00bdded1011aaff048de243 100644 (file)
@@ -1,5 +1,5 @@
-// Generated 201812272324
-// A Bison parser, made by GNU Bison 3.2.4.
+// Generated 201902061316
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Starting with Bison 3.2, this file is useless: the structure it
 // used to define is now defined in "location.hh".
index e72ee252f310a6ae4b5d3eaffee8517153a2f07d..5b081d016876606649d7894ac3db6771cf126908 100644 (file)
@@ -1,5 +1,5 @@
-// Generated 201812272324
-// A Bison parser, made by GNU Bison 3.2.4.
+// Generated 201902061316
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Starting with Bison 3.2, this file is useless: the structure it
 // used to define is now defined with the parser itself.
index adbf9c3dde2eed4ebb64d6a9c21c2d78e6d56d16..55ddee004fc39c572680f5f345e3e024923bb7ab 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.2.4.
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Skeleton implementation for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
 
 
 // Unqualified %code blocks.
-#line 34 "dhcp4_parser.yy" // lalr1.cc:438
+#line 34 "dhcp4_parser.yy" // lalr1.cc:435
 
 #include <dhcp4/parser_context.h>
 
-#line 51 "dhcp4_parser.cc" // lalr1.cc:438
+#line 51 "dhcp4_parser.cc" // lalr1.cc:435
 
 
 #ifndef YY_
@@ -88,7 +88,7 @@
         {                                                               \
           (Current).begin = (Current).end = YYRHSLOC (Rhs, 0).end;      \
         }                                                               \
-    while (/*CONSTCOND*/ false)
+    while (false)
 # endif
 
 
 #define YYERROR         goto yyerrorlab
 #define YYRECOVERING()  (!!yyerrstatus_)
 
-#line 14 "dhcp4_parser.yy" // lalr1.cc:513
+#line 14 "dhcp4_parser.yy" // lalr1.cc:510
 namespace isc { namespace dhcp {
-#line 146 "dhcp4_parser.cc" // lalr1.cc:513
+#line 146 "dhcp4_parser.cc" // lalr1.cc:510
 
   /* Return YYSTR after stripping away unnecessary quotes and
      backslashes, so that it's suitable for yyerror.  The heuristic is
@@ -154,7 +154,7 @@ namespace isc { namespace dhcp {
   {
     if (*yystr == '"')
       {
-        std::string yyr = "";
+        std::string yyr;
         char const *yyp = yystr;
 
         for (;;)
@@ -167,7 +167,10 @@ namespace isc { namespace dhcp {
             case '\\':
               if (*++yyp != '\\')
                 goto do_not_strip_quotes;
-              // Fall through.
+              else
+                goto append;
+
+            append:
             default:
               yyr += *yyp;
               break;
@@ -195,6 +198,8 @@ namespace isc { namespace dhcp {
   Dhcp4Parser::~Dhcp4Parser ()
   {}
 
+  Dhcp4Parser::syntax_error::~syntax_error () YY_NOEXCEPT YY_NOTHROW
+  {}
 
   /*---------------.
   | Symbol types.  |
@@ -203,16 +208,16 @@ namespace isc { namespace dhcp {
 
 
   // by_state.
-  Dhcp4Parser::by_state::by_state ()
+  Dhcp4Parser::by_state::by_state () YY_NOEXCEPT
     : state (empty_state)
   {}
 
-  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)
   {}
 
   void
-  Dhcp4Parser::by_state::clear ()
+  Dhcp4Parser::by_state::clear () YY_NOEXCEPT
   {
     state = empty_state;
   }
@@ -224,12 +229,12 @@ namespace isc { namespace dhcp {
     that.clear ();
   }
 
-  Dhcp4Parser::by_state::by_state (state_type s)
+  Dhcp4Parser::by_state::by_state (state_type s) YY_NOEXCEPT
     : state (s)
   {}
 
   Dhcp4Parser::symbol_number_type
-  Dhcp4Parser::by_state::type_get () const
+  Dhcp4Parser::by_state::type_get () const YY_NOEXCEPT
   {
     if (state == empty_state)
       return empty_symbol;
@@ -384,100 +389,89 @@ namespace isc { namespace dhcp {
     std::ostream& yyoutput = yyo;
     YYUSE (yyoutput);
     symbol_number_type yytype = yysym.type_get ();
+#if defined __GNUC__ && ! defined __clang__ && ! defined __ICC && __GNUC__ * 100 + __GNUC_MINOR__ <= 408
     // Avoid a (spurious) G++ 4.8 warning about "array subscript is
     // below array bounds".
     if (yysym.empty ())
       std::abort ();
+#endif
     yyo << (yytype < yyntokens_ ? "token" : "nterm")
         << ' ' << yytname_[yytype] << " ("
         << yysym.location << ": ";
     switch (yytype)
     {
-            case 168: // "constant string"
-
-#line 248 "dhcp4_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< std::string > (); }
-#line 401 "dhcp4_parser.cc" // lalr1.cc:672
+      case 168: // "constant string"
+#line 248 "dhcp4_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < std::string > (); }
+#line 407 "dhcp4_parser.cc" // lalr1.cc:676
         break;
 
       case 169: // "integer"
-
-#line 248 "dhcp4_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< int64_t > (); }
-#line 408 "dhcp4_parser.cc" // lalr1.cc:672
+#line 248 "dhcp4_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < int64_t > (); }
+#line 413 "dhcp4_parser.cc" // lalr1.cc:676
         break;
 
       case 170: // "floating point"
-
-#line 248 "dhcp4_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< double > (); }
-#line 415 "dhcp4_parser.cc" // lalr1.cc:672
+#line 248 "dhcp4_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < double > (); }
+#line 419 "dhcp4_parser.cc" // lalr1.cc:676
         break;
 
       case 171: // "boolean"
-
-#line 248 "dhcp4_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< bool > (); }
-#line 422 "dhcp4_parser.cc" // lalr1.cc:672
+#line 248 "dhcp4_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < bool > (); }
+#line 425 "dhcp4_parser.cc" // lalr1.cc:676
         break;
 
       case 188: // value
-
-#line 248 "dhcp4_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 429 "dhcp4_parser.cc" // lalr1.cc:672
+#line 248 "dhcp4_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 431 "dhcp4_parser.cc" // lalr1.cc:676
         break;
 
       case 192: // map_value
-
-#line 248 "dhcp4_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 436 "dhcp4_parser.cc" // lalr1.cc:672
+#line 248 "dhcp4_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 437 "dhcp4_parser.cc" // lalr1.cc:676
         break;
 
       case 236: // socket_type
-
-#line 248 "dhcp4_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 443 "dhcp4_parser.cc" // lalr1.cc:672
+#line 248 "dhcp4_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 443 "dhcp4_parser.cc" // lalr1.cc:676
         break;
 
       case 239: // outbound_interface_value
-
-#line 248 "dhcp4_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 450 "dhcp4_parser.cc" // lalr1.cc:672
+#line 248 "dhcp4_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 449 "dhcp4_parser.cc" // lalr1.cc:676
         break;
 
       case 261: // db_type
-
-#line 248 "dhcp4_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 457 "dhcp4_parser.cc" // lalr1.cc:672
+#line 248 "dhcp4_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 455 "dhcp4_parser.cc" // lalr1.cc:676
         break;
 
       case 343: // hr_mode
-
-#line 248 "dhcp4_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 464 "dhcp4_parser.cc" // lalr1.cc:672
+#line 248 "dhcp4_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 461 "dhcp4_parser.cc" // lalr1.cc:676
         break;
 
       case 492: // ncr_protocol_value
-
-#line 248 "dhcp4_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 471 "dhcp4_parser.cc" // lalr1.cc:672
+#line 248 "dhcp4_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 467 "dhcp4_parser.cc" // lalr1.cc:676
         break;
 
       case 499: // replace_client_name_value
-
-#line 248 "dhcp4_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 478 "dhcp4_parser.cc" // lalr1.cc:672
+#line 248 "dhcp4_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 473 "dhcp4_parser.cc" // lalr1.cc:676
         break;
 
-
       default:
         break;
     }
@@ -600,17 +594,22 @@ namespace isc { namespace dhcp {
     yystack_.clear ();
     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 << '\n';
 
     // Accept?
     if (yystack_[0].state == yyfinal_)
-      goto yyacceptlab;
+      YYACCEPT;
 
     goto yybackup;
 
-    // Backup.
+
+  /*-----------.
+  | yybackup.  |
+  `-----------*/
   yybackup:
     // Try to take a decision without lookahead.
     yyn = yypact_[yystack_[0].state];
@@ -631,6 +630,7 @@ namespace isc { namespace dhcp {
 #if YY_EXCEPTIONS
         catch (const syntax_error& yyexc)
           {
+            YYCDEBUG << "Caught exception: " << yyexc.what() << '\n';
             error (yyexc);
             goto yyerrlab1;
           }
@@ -662,6 +662,7 @@ namespace isc { namespace dhcp {
     yypush_ ("Shifting", yyn, YY_MOVE (yyla));
     goto yynewstate;
 
+
   /*-----------------------------------------------------------.
   | yydefault -- do the default action for the current state.  |
   `-----------------------------------------------------------*/
@@ -671,8 +672,9 @@ namespace isc { namespace dhcp {
       goto yyerrlab;
     goto yyreduce;
 
+
   /*-----------------------------.
-  | yyreduce -- Do a reduction.  |
+  | yyreduce -- do a reduction.  |
   `-----------------------------*/
   yyreduce:
     yylen = yyr2_[yyn];
@@ -718,8 +720,8 @@ namespace isc { namespace dhcp {
 
       // 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;
       }
 
@@ -732,280 +734,280 @@ namespace isc { namespace dhcp {
           switch (yyn)
             {
   case 2:
-#line 257 "dhcp4_parser.yy" // lalr1.cc:907
+#line 257 "dhcp4_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.NO_KEYWORD; }
-#line 738 "dhcp4_parser.cc" // lalr1.cc:907
+#line 740 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 4:
-#line 258 "dhcp4_parser.yy" // lalr1.cc:907
+#line 258 "dhcp4_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.CONFIG; }
-#line 744 "dhcp4_parser.cc" // lalr1.cc:907
+#line 746 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 6:
-#line 259 "dhcp4_parser.yy" // lalr1.cc:907
+#line 259 "dhcp4_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.DHCP4; }
-#line 750 "dhcp4_parser.cc" // lalr1.cc:907
+#line 752 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 8:
-#line 260 "dhcp4_parser.yy" // lalr1.cc:907
+#line 260 "dhcp4_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.INTERFACES_CONFIG; }
-#line 756 "dhcp4_parser.cc" // lalr1.cc:907
+#line 758 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 10:
-#line 261 "dhcp4_parser.yy" // lalr1.cc:907
+#line 261 "dhcp4_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.SUBNET4; }
-#line 762 "dhcp4_parser.cc" // lalr1.cc:907
+#line 764 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 12:
-#line 262 "dhcp4_parser.yy" // lalr1.cc:907
+#line 262 "dhcp4_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.POOLS; }
-#line 768 "dhcp4_parser.cc" // lalr1.cc:907
+#line 770 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 14:
-#line 263 "dhcp4_parser.yy" // lalr1.cc:907
+#line 263 "dhcp4_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.RESERVATIONS; }
-#line 774 "dhcp4_parser.cc" // lalr1.cc:907
+#line 776 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 16:
-#line 264 "dhcp4_parser.yy" // lalr1.cc:907
+#line 264 "dhcp4_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.DHCP4; }
-#line 780 "dhcp4_parser.cc" // lalr1.cc:907
+#line 782 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 18:
-#line 265 "dhcp4_parser.yy" // lalr1.cc:907
+#line 265 "dhcp4_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.OPTION_DEF; }
-#line 786 "dhcp4_parser.cc" // lalr1.cc:907
+#line 788 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 20:
-#line 266 "dhcp4_parser.yy" // lalr1.cc:907
+#line 266 "dhcp4_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.OPTION_DATA; }
-#line 792 "dhcp4_parser.cc" // lalr1.cc:907
+#line 794 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 22:
-#line 267 "dhcp4_parser.yy" // lalr1.cc:907
+#line 267 "dhcp4_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.HOOKS_LIBRARIES; }
-#line 798 "dhcp4_parser.cc" // lalr1.cc:907
+#line 800 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 24:
-#line 268 "dhcp4_parser.yy" // lalr1.cc:907
+#line 268 "dhcp4_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.DHCP_DDNS; }
-#line 804 "dhcp4_parser.cc" // lalr1.cc:907
+#line 806 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 26:
-#line 269 "dhcp4_parser.yy" // lalr1.cc:907
+#line 269 "dhcp4_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.LOGGING; }
-#line 810 "dhcp4_parser.cc" // lalr1.cc:907
+#line 812 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 28:
-#line 270 "dhcp4_parser.yy" // lalr1.cc:907
+#line 270 "dhcp4_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.CONFIG_CONTROL; }
-#line 816 "dhcp4_parser.cc" // lalr1.cc:907
+#line 818 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 30:
-#line 278 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location))); }
-#line 822 "dhcp4_parser.cc" // lalr1.cc:907
+#line 278 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location))); }
+#line 824 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 31:
-#line 279 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new DoubleElement(yystack_[0].value.as< double > (), ctx.loc2pos(yystack_[0].location))); }
-#line 828 "dhcp4_parser.cc" // lalr1.cc:907
+#line 279 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new DoubleElement(yystack_[0].value.as < double > (), ctx.loc2pos(yystack_[0].location))); }
+#line 830 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 32:
-#line 280 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location))); }
-#line 834 "dhcp4_parser.cc" // lalr1.cc:907
+#line 280 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location))); }
+#line 836 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 33:
-#line 281 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location))); }
-#line 840 "dhcp4_parser.cc" // lalr1.cc:907
+#line 281 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location))); }
+#line 842 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 34:
-#line 282 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new NullElement(ctx.loc2pos(yystack_[0].location))); }
-#line 846 "dhcp4_parser.cc" // lalr1.cc:907
+#line 282 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new NullElement(ctx.loc2pos(yystack_[0].location))); }
+#line 848 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 35:
-#line 283 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 852 "dhcp4_parser.cc" // lalr1.cc:907
+#line 283 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 854 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 36:
-#line 284 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 858 "dhcp4_parser.cc" // lalr1.cc:907
+#line 284 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 860 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 37:
-#line 287 "dhcp4_parser.yy" // lalr1.cc:907
+#line 287 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // 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 867 "dhcp4_parser.cc" // lalr1.cc:907
+#line 869 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 38:
-#line 292 "dhcp4_parser.yy" // lalr1.cc:907
+#line 292 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // 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 878 "dhcp4_parser.cc" // lalr1.cc:907
+#line 880 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 39:
-#line 297 "dhcp4_parser.yy" // lalr1.cc:907
+#line 297 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // 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 888 "dhcp4_parser.cc" // lalr1.cc:907
+#line 890 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 40:
-#line 303 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 894 "dhcp4_parser.cc" // lalr1.cc:907
+#line 303 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 896 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 43:
-#line 310 "dhcp4_parser.yy" // lalr1.cc:907
+#line 310 "dhcp4_parser.yy" // lalr1.cc:919
     {
                   // map containing a single entry
-                  ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
+                  ctx.stack_.back()->set(yystack_[2].value.as < std::string > (), yystack_[0].value.as < ElementPtr > ());
                   }
-#line 903 "dhcp4_parser.cc" // lalr1.cc:907
+#line 905 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 44:
-#line 314 "dhcp4_parser.yy" // lalr1.cc:907
+#line 314 "dhcp4_parser.yy" // lalr1.cc:919
     {
                   // map consisting of a shorter map followed by
                   // comma and string:value
-                  ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
+                  ctx.stack_.back()->set(yystack_[2].value.as < std::string > (), yystack_[0].value.as < ElementPtr > ());
                   }
-#line 913 "dhcp4_parser.cc" // lalr1.cc:907
+#line 915 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 45:
-#line 321 "dhcp4_parser.yy" // lalr1.cc:907
+#line 321 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(l);
 }
-#line 922 "dhcp4_parser.cc" // lalr1.cc:907
+#line 924 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 46:
-#line 324 "dhcp4_parser.yy" // lalr1.cc:907
+#line 324 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // list parsing complete. Put any sanity checking here
 }
-#line 930 "dhcp4_parser.cc" // lalr1.cc:907
+#line 932 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 49:
-#line 332 "dhcp4_parser.yy" // lalr1.cc:907
+#line 332 "dhcp4_parser.yy" // lalr1.cc:919
     {
                   // 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 939 "dhcp4_parser.cc" // lalr1.cc:907
+#line 941 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 50:
-#line 336 "dhcp4_parser.yy" // lalr1.cc:907
+#line 336 "dhcp4_parser.yy" // lalr1.cc:919
     {
                   // 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 948 "dhcp4_parser.cc" // lalr1.cc:907
+#line 950 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 51:
-#line 343 "dhcp4_parser.yy" // lalr1.cc:907
+#line 343 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // List parsing about to start
 }
-#line 956 "dhcp4_parser.cc" // lalr1.cc:907
+#line 958 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 52:
-#line 345 "dhcp4_parser.yy" // lalr1.cc:907
+#line 345 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // list parsing complete. Put any sanity checking here
     //ctx.stack_.pop_back();
 }
-#line 965 "dhcp4_parser.cc" // lalr1.cc:907
+#line 967 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 55:
-#line 354 "dhcp4_parser.yy" // lalr1.cc:907
+#line 354 "dhcp4_parser.yy" // lalr1.cc:919
     {
-                          ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+                          ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
                           ctx.stack_.back()->add(s);
                           }
-#line 974 "dhcp4_parser.cc" // lalr1.cc:907
+#line 976 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 56:
-#line 358 "dhcp4_parser.yy" // lalr1.cc:907
+#line 358 "dhcp4_parser.yy" // lalr1.cc:919
     {
-                          ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+                          ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
                           ctx.stack_.back()->add(s);
                           }
-#line 983 "dhcp4_parser.cc" // lalr1.cc:907
+#line 985 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 57:
-#line 369 "dhcp4_parser.yy" // lalr1.cc:907
+#line 369 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 994 "dhcp4_parser.cc" // lalr1.cc:907
+#line 996 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 58:
-#line 379 "dhcp4_parser.yy" // lalr1.cc:907
+#line 379 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // 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 1005 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1007 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 59:
-#line 384 "dhcp4_parser.yy" // lalr1.cc:907
+#line 384 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // map parsing completed. If we ever want to do any wrap up
     // (maybe some sanity checking), this would be the best place
@@ -1014,11 +1016,11 @@ namespace isc { namespace dhcp {
     // Dhcp4 is required
     ctx.require("Dhcp4", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
 }
-#line 1018 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1020 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 68:
-#line 408 "dhcp4_parser.yy" // lalr1.cc:907
+#line 408 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // This code is executed when we're about to start parsing
     // the content of the map
@@ -1027,915 +1029,915 @@ namespace isc { namespace dhcp {
     ctx.stack_.push_back(m);
     ctx.enter(ctx.DHCP4);
 }
-#line 1031 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1033 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 69:
-#line 415 "dhcp4_parser.yy" // lalr1.cc:907
+#line 415 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // No global parameter is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1041 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1043 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 70:
-#line 423 "dhcp4_parser.yy" // lalr1.cc:907
+#line 423 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // Parse the Dhcp4 map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1051 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1053 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 71:
-#line 427 "dhcp4_parser.yy" // lalr1.cc:907
+#line 427 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // No global parameter is required
     // parsing completed
 }
-#line 1060 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1062 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 111:
-#line 477 "dhcp4_parser.yy" // lalr1.cc:907
+#line 477 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1069 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1071 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 112:
-#line 482 "dhcp4_parser.yy" // lalr1.cc:907
+#line 482 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1078 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1080 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 113:
-#line 487 "dhcp4_parser.yy" // lalr1.cc:907
+#line 487 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1087 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1089 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 114:
-#line 492 "dhcp4_parser.yy" // lalr1.cc:907
+#line 492 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1096 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1098 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 115:
-#line 497 "dhcp4_parser.yy" // lalr1.cc:907
+#line 497 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1105 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1107 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 116:
-#line 502 "dhcp4_parser.yy" // lalr1.cc:907
+#line 502 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1114 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1116 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 117:
-#line 507 "dhcp4_parser.yy" // lalr1.cc:907
+#line 507 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1123 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1125 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 118:
-#line 512 "dhcp4_parser.yy" // lalr1.cc:907
+#line 512 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1131 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1133 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 119:
-#line 514 "dhcp4_parser.yy" // lalr1.cc:907
+#line 514 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr stag(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 1141 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1143 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 120:
-#line 520 "dhcp4_parser.yy" // lalr1.cc:907
+#line 520 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1150 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1152 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 121:
-#line 525 "dhcp4_parser.yy" // lalr1.cc:907
+#line 525 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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:907
+#line 1161 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 122:
-#line 530 "dhcp4_parser.yy" // lalr1.cc:907
+#line 530 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1168 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1170 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 123:
-#line 536 "dhcp4_parser.yy" // lalr1.cc:907
+#line 536 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 1179 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1181 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 124:
-#line 541 "dhcp4_parser.yy" // lalr1.cc:907
+#line 541 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // No interfaces config param is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1189 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1191 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 134:
-#line 560 "dhcp4_parser.yy" // lalr1.cc:907
+#line 560 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // Parse the interfaces-config map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1199 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1201 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 135:
-#line 564 "dhcp4_parser.yy" // lalr1.cc:907
+#line 564 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // No interfaces config param is required
     // parsing completed
 }
-#line 1208 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1210 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 136:
-#line 569 "dhcp4_parser.yy" // lalr1.cc:907
+#line 569 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 1219 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1221 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 137:
-#line 574 "dhcp4_parser.yy" // lalr1.cc:907
+#line 574 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1228 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1230 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 138:
-#line 579 "dhcp4_parser.yy" // lalr1.cc:907
+#line 579 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.DHCP_SOCKET_TYPE);
 }
-#line 1236 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1238 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 139:
-#line 581 "dhcp4_parser.yy" // lalr1.cc:907
+#line 581 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("dhcp-socket-type", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("dhcp-socket-type", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1245 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1247 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 140:
-#line 586 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("raw", ctx.loc2pos(yystack_[0].location))); }
-#line 1251 "dhcp4_parser.cc" // lalr1.cc:907
+#line 586 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("raw", ctx.loc2pos(yystack_[0].location))); }
+#line 1253 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 141:
-#line 587 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("udp", ctx.loc2pos(yystack_[0].location))); }
-#line 1257 "dhcp4_parser.cc" // lalr1.cc:907
+#line 587 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("udp", ctx.loc2pos(yystack_[0].location))); }
+#line 1259 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 142:
-#line 590 "dhcp4_parser.yy" // lalr1.cc:907
+#line 590 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.OUTBOUND_INTERFACE);
 }
-#line 1265 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1267 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 143:
-#line 592 "dhcp4_parser.yy" // lalr1.cc:907
+#line 592 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("outbound-interface", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("outbound-interface", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1274 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1276 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 144:
-#line 597 "dhcp4_parser.yy" // lalr1.cc:907
+#line 597 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("same-as-inbound", ctx.loc2pos(yystack_[0].location)));
+    yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("same-as-inbound", ctx.loc2pos(yystack_[0].location)));
 }
-#line 1282 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1284 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 145:
-#line 599 "dhcp4_parser.yy" // lalr1.cc:907
+#line 599 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("use-routing", ctx.loc2pos(yystack_[0].location)));
+    yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("use-routing", ctx.loc2pos(yystack_[0].location)));
     }
-#line 1290 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1292 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 146:
-#line 603 "dhcp4_parser.yy" // lalr1.cc:907
+#line 603 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1299 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1301 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 147:
-#line 609 "dhcp4_parser.yy" // lalr1.cc:907
+#line 609 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 1310 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1312 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 148:
-#line 614 "dhcp4_parser.yy" // lalr1.cc:907
+#line 614 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // 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 1321 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1323 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 149:
-#line 621 "dhcp4_parser.yy" // lalr1.cc:907
+#line 621 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 1332 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1334 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 150:
-#line 626 "dhcp4_parser.yy" // lalr1.cc:907
+#line 626 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1341 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1343 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 154:
-#line 636 "dhcp4_parser.yy" // lalr1.cc:907
+#line 636 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1349 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1351 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 155:
-#line 638 "dhcp4_parser.yy" // lalr1.cc:907
+#line 638 "dhcp4_parser.yy" // lalr1.cc:919
     {
 
-    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 1369 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1371 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 156:
-#line 654 "dhcp4_parser.yy" // lalr1.cc:907
+#line 654 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 1380 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1382 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 157:
-#line 659 "dhcp4_parser.yy" // lalr1.cc:907
+#line 659 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // 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 1391 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1393 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 158:
-#line 666 "dhcp4_parser.yy" // lalr1.cc:907
+#line 666 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 1402 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1404 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 159:
-#line 671 "dhcp4_parser.yy" // lalr1.cc:907
+#line 671 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1411 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1413 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 164:
-#line 684 "dhcp4_parser.yy" // lalr1.cc:907
+#line 684 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1421 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1423 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 165:
-#line 688 "dhcp4_parser.yy" // lalr1.cc:907
+#line 688 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // The type parameter is required
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 1431 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1433 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 186:
-#line 718 "dhcp4_parser.yy" // lalr1.cc:907
+#line 718 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.DATABASE_TYPE);
 }
-#line 1439 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1441 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 187:
-#line 720 "dhcp4_parser.yy" // lalr1.cc:907
+#line 720 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("type", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("type", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1448 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1450 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 188:
-#line 725 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("memfile", ctx.loc2pos(yystack_[0].location))); }
-#line 1454 "dhcp4_parser.cc" // lalr1.cc:907
+#line 725 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("memfile", ctx.loc2pos(yystack_[0].location))); }
+#line 1456 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 189:
-#line 726 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("mysql", ctx.loc2pos(yystack_[0].location))); }
-#line 1460 "dhcp4_parser.cc" // lalr1.cc:907
+#line 726 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("mysql", ctx.loc2pos(yystack_[0].location))); }
+#line 1462 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 190:
-#line 727 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("postgresql", ctx.loc2pos(yystack_[0].location))); }
-#line 1466 "dhcp4_parser.cc" // lalr1.cc:907
+#line 727 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("postgresql", ctx.loc2pos(yystack_[0].location))); }
+#line 1468 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 191:
-#line 728 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("cql", ctx.loc2pos(yystack_[0].location))); }
-#line 1472 "dhcp4_parser.cc" // lalr1.cc:907
+#line 728 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("cql", ctx.loc2pos(yystack_[0].location))); }
+#line 1474 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 192:
-#line 731 "dhcp4_parser.yy" // lalr1.cc:907
+#line 731 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1480 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1482 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 193:
-#line 733 "dhcp4_parser.yy" // lalr1.cc:907
+#line 733 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr user(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr user(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("user", user);
     ctx.leave();
 }
-#line 1490 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1492 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 194:
-#line 739 "dhcp4_parser.yy" // lalr1.cc:907
+#line 739 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1498 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1500 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 195:
-#line 741 "dhcp4_parser.yy" // lalr1.cc:907
+#line 741 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr pwd(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr pwd(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("password", pwd);
     ctx.leave();
 }
-#line 1508 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1510 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 196:
-#line 747 "dhcp4_parser.yy" // lalr1.cc:907
+#line 747 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1516 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1518 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 197:
-#line 749 "dhcp4_parser.yy" // lalr1.cc:907
+#line 749 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr h(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr h(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("host", h);
     ctx.leave();
 }
-#line 1526 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1528 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 198:
-#line 755 "dhcp4_parser.yy" // lalr1.cc:907
+#line 755 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1535 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1537 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 199:
-#line 760 "dhcp4_parser.yy" // lalr1.cc:907
+#line 760 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1543 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1545 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 200:
-#line 762 "dhcp4_parser.yy" // lalr1.cc:907
+#line 762 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr name(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("name", name);
     ctx.leave();
 }
-#line 1553 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1555 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 201:
-#line 768 "dhcp4_parser.yy" // lalr1.cc:907
+#line 768 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1562 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1564 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 202:
-#line 773 "dhcp4_parser.yy" // lalr1.cc:907
+#line 773 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1571 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1573 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 203:
-#line 778 "dhcp4_parser.yy" // lalr1.cc:907
+#line 778 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1580 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1582 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 204:
-#line 783 "dhcp4_parser.yy" // lalr1.cc:907
+#line 783 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1589 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1591 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 205:
-#line 788 "dhcp4_parser.yy" // lalr1.cc:907
+#line 788 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1598 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1600 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 206:
-#line 793 "dhcp4_parser.yy" // lalr1.cc:907
+#line 793 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1607 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1609 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 207:
-#line 798 "dhcp4_parser.yy" // lalr1.cc:907
+#line 798 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1616 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1618 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 208:
-#line 803 "dhcp4_parser.yy" // lalr1.cc:907
+#line 803 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1624 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1626 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 209:
-#line 805 "dhcp4_parser.yy" // lalr1.cc:907
+#line 805 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr cp(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 1634 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1636 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 210:
-#line 811 "dhcp4_parser.yy" // lalr1.cc:907
+#line 811 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1642 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1644 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 211:
-#line 813 "dhcp4_parser.yy" // lalr1.cc:907
+#line 813 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr ks(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr ks(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("keyspace", ks);
     ctx.leave();
 }
-#line 1652 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1654 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 212:
-#line 819 "dhcp4_parser.yy" // lalr1.cc:907
+#line 819 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1661 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1663 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 213:
-#line 824 "dhcp4_parser.yy" // lalr1.cc:907
+#line 824 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1670 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1672 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 214:
-#line 829 "dhcp4_parser.yy" // lalr1.cc:907
+#line 829 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 1681 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1683 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 215:
-#line 834 "dhcp4_parser.yy" // lalr1.cc:907
+#line 834 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1690 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1692 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 223:
-#line 850 "dhcp4_parser.yy" // lalr1.cc:907
+#line 850 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr duid(new StringElement("duid", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(duid);
 }
-#line 1699 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1701 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 224:
-#line 855 "dhcp4_parser.yy" // lalr1.cc:907
+#line 855 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr hwaddr(new StringElement("hw-address", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(hwaddr);
 }
-#line 1708 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1710 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 225:
-#line 860 "dhcp4_parser.yy" // lalr1.cc:907
+#line 860 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr circuit(new StringElement("circuit-id", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(circuit);
 }
-#line 1717 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1719 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 226:
-#line 865 "dhcp4_parser.yy" // lalr1.cc:907
+#line 865 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr client(new StringElement("client-id", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(client);
 }
-#line 1726 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1728 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 227:
-#line 870 "dhcp4_parser.yy" // lalr1.cc:907
+#line 870 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr flex_id(new StringElement("flex-id", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(flex_id);
 }
-#line 1735 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1737 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 228:
-#line 875 "dhcp4_parser.yy" // lalr1.cc:907
+#line 875 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 1746 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1748 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 229:
-#line 880 "dhcp4_parser.yy" // lalr1.cc:907
+#line 880 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1755 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1757 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 234:
-#line 893 "dhcp4_parser.yy" // lalr1.cc:907
+#line 893 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1765 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1767 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 235:
-#line 897 "dhcp4_parser.yy" // lalr1.cc:907
+#line 897 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // The library hooks parameter is required
     ctx.require("library", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 1775 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1777 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 236:
-#line 903 "dhcp4_parser.yy" // lalr1.cc:907
+#line 903 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // Parse the hooks-libraries list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1785 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1787 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 237:
-#line 907 "dhcp4_parser.yy" // lalr1.cc:907
+#line 907 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // The library hooks parameter is required
     ctx.require("library", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 1795 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1797 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 243:
-#line 922 "dhcp4_parser.yy" // lalr1.cc:907
+#line 922 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1803 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1805 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 244:
-#line 924 "dhcp4_parser.yy" // lalr1.cc:907
+#line 924 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr lib(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr lib(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("library", lib);
     ctx.leave();
 }
-#line 1813 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1815 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 245:
-#line 930 "dhcp4_parser.yy" // lalr1.cc:907
+#line 930 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1821 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1823 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 246:
-#line 932 "dhcp4_parser.yy" // lalr1.cc:907
+#line 932 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("parameters", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("parameters", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1830 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1832 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 247:
-#line 938 "dhcp4_parser.yy" // lalr1.cc:907
+#line 938 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 1841 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1843 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 248:
-#line 943 "dhcp4_parser.yy" // lalr1.cc:907
+#line 943 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // No expired lease parameter is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1851 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1853 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 257:
-#line 961 "dhcp4_parser.yy" // lalr1.cc:907
+#line 961 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1860 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1862 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 258:
-#line 966 "dhcp4_parser.yy" // lalr1.cc:907
+#line 966 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1869 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1871 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 259:
-#line 971 "dhcp4_parser.yy" // lalr1.cc:907
+#line 971 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1878 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1880 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 260:
-#line 976 "dhcp4_parser.yy" // lalr1.cc:907
+#line 976 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1887 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1889 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 261:
-#line 981 "dhcp4_parser.yy" // lalr1.cc:907
+#line 981 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1896 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1898 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 262:
-#line 986 "dhcp4_parser.yy" // lalr1.cc:907
+#line 986 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 1905 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1907 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 263:
-#line 994 "dhcp4_parser.yy" // lalr1.cc:907
+#line 994 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 1916 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1918 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 264:
-#line 999 "dhcp4_parser.yy" // lalr1.cc:907
+#line 999 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1925 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1927 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 269:
-#line 1019 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1019 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1935 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1937 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 270:
-#line 1023 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1023 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // Once we reached this place, the subnet parsing is now complete.
     // If we want to, we can implement default values here.
@@ -1957,294 +1959,294 @@ namespace isc { namespace dhcp {
     ctx.require("subnet", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 1961 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1963 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 271:
-#line 1045 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1045 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // Parse the subnet4 list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1971 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1973 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 272:
-#line 1049 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1049 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // The subnet subnet4 parameter is required
     ctx.require("subnet", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 1981 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1983 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 302:
-#line 1090 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1090 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1989 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1991 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 303:
-#line 1092 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1092 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr subnet(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr subnet(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("subnet", subnet);
     ctx.leave();
 }
-#line 1999 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2001 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 304:
-#line 1098 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1098 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2007 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2009 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 305:
-#line 1100 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1100 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr iface(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2017 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2019 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 306:
-#line 1106 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1106 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2025 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2027 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 307:
-#line 1108 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1108 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr iface(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2035 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2037 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 308:
-#line 1114 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1114 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2043 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2045 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 309:
-#line 1116 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1116 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr iface(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2053 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2055 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 310:
-#line 1122 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1122 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2061 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2063 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 311:
-#line 1124 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1124 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr iface(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr iface(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("interface", iface);
     ctx.leave();
 }
-#line 2071 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2073 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 312:
-#line 1130 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1130 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2079 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2081 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 313:
-#line 1132 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1132 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr cls(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2089 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2091 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 314:
-#line 1138 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1138 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 2100 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2102 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 315:
-#line 1143 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1143 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2109 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2111 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 316:
-#line 1148 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1148 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.RESERVATION_MODE);
 }
-#line 2117 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2119 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 317:
-#line 1150 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1150 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("reservation-mode", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("reservation-mode", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 2126 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2128 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 318:
-#line 1155 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("disabled", ctx.loc2pos(yystack_[0].location))); }
-#line 2132 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1155 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("disabled", ctx.loc2pos(yystack_[0].location))); }
+#line 2134 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 319:
-#line 1156 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("out-of-pool", ctx.loc2pos(yystack_[0].location))); }
-#line 2138 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1156 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("out-of-pool", ctx.loc2pos(yystack_[0].location))); }
+#line 2140 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 320:
-#line 1157 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("global", ctx.loc2pos(yystack_[0].location))); }
-#line 2144 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1157 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("global", ctx.loc2pos(yystack_[0].location))); }
+#line 2146 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 321:
-#line 1158 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("all", ctx.loc2pos(yystack_[0].location))); }
-#line 2150 "dhcp4_parser.cc" // lalr1.cc:907
+#line 1158 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("all", ctx.loc2pos(yystack_[0].location))); }
+#line 2152 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 322:
-#line 1161 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1161 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 2159 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2161 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 323:
-#line 1168 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1168 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 2170 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2172 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 324:
-#line 1173 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1173 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2179 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2181 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 329:
-#line 1188 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1188 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2189 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2191 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 330:
-#line 1192 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1192 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 2197 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2199 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 355:
-#line 1228 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1228 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 2208 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2210 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 356:
-#line 1233 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1233 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2217 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2219 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 357:
-#line 1241 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1241 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2226 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2228 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 358:
-#line 1244 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1244 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // parsing completed
 }
-#line 2234 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2236 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 363:
-#line 1260 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1260 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2244 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2246 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 364:
-#line 1264 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1264 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // The name, code and type option def parameters are required.
     ctx.require("name", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
@@ -2252,21 +2254,21 @@ namespace isc { namespace dhcp {
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2256 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2258 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 365:
-#line 1275 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1275 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // Parse the option-def list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2266 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2268 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 366:
-#line 1279 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1279 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // The name, code and type option def parameters are required.
     ctx.require("name", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
@@ -2274,284 +2276,284 @@ namespace isc { namespace dhcp {
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 2278 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2280 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 382:
-#line 1311 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1311 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 2287 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2289 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 384:
-#line 1318 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1318 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2295 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2297 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 385:
-#line 1320 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1320 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr prf(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("type", prf);
     ctx.leave();
 }
-#line 2305 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2307 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 386:
-#line 1326 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1326 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2313 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2315 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 387:
-#line 1328 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1328 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr rtypes(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2323 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2325 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 388:
-#line 1334 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1334 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2331 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2333 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 389:
-#line 1336 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1336 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr space(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr space(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("space", space);
     ctx.leave();
 }
-#line 2341 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2343 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 391:
-#line 1344 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1344 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2349 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2351 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 392:
-#line 1346 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1346 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr encap(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr encap(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("encapsulate", encap);
     ctx.leave();
 }
-#line 2359 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2361 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 393:
-#line 1352 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1352 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 2368 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2370 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 394:
-#line 1361 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1361 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 2379 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2381 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 395:
-#line 1366 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1366 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2388 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2390 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 400:
-#line 1385 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1385 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2398 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2400 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 401:
-#line 1389 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1389 "dhcp4_parser.yy" // lalr1.cc:919
     {
     /// @todo: the code or name parameters are required.
     ctx.stack_.pop_back();
 }
-#line 2407 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2409 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 402:
-#line 1397 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1397 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // Parse the option-data list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2417 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2419 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 403:
-#line 1401 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1401 "dhcp4_parser.yy" // lalr1.cc:919
     {
     /// @todo: the code or name parameters are required.
     // parsing completed
 }
-#line 2426 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2428 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 418:
-#line 1434 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1434 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2434 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2436 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 419:
-#line 1436 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1436 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr data(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr data(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("data", data);
     ctx.leave();
 }
-#line 2444 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2446 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 422:
-#line 1446 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1446 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 2453 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2455 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 423:
-#line 1451 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1451 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 2462 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2464 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 424:
-#line 1459 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1459 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 2473 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2475 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 425:
-#line 1464 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1464 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2482 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2484 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 430:
-#line 1479 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1479 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2492 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2494 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 431:
-#line 1483 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1483 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // The pool parameter is required.
     ctx.require("pool", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2502 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2504 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 432:
-#line 1489 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1489 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // Parse the pool list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2512 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2514 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 433:
-#line 1493 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1493 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // The pool parameter is required.
     ctx.require("pool", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 2522 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2524 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 443:
-#line 1512 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1512 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2530 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2532 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 444:
-#line 1514 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1514 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr pool(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr pool(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("pool", pool);
     ctx.leave();
 }
-#line 2540 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2542 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 445:
-#line 1520 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1520 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2548 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2550 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 446:
-#line 1522 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1522 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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
@@ -2571,23 +2573,23 @@ namespace isc { namespace dhcp {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 2575 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2577 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 447:
-#line 1545 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1545 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2583 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2585 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 448:
-#line 1547 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1547 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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
@@ -2608,451 +2610,451 @@ namespace isc { namespace dhcp {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 2612 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2614 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 449:
-#line 1575 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1575 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 2623 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2625 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 450:
-#line 1580 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1580 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2632 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2634 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 455:
-#line 1593 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1593 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2642 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2644 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 456:
-#line 1597 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1597 "dhcp4_parser.yy" // lalr1.cc:919
     {
     /// @todo: an identifier parameter is required.
     ctx.stack_.pop_back();
 }
-#line 2651 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2653 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 457:
-#line 1602 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1602 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // Parse the reservations list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2661 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2663 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 458:
-#line 1606 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1606 "dhcp4_parser.yy" // lalr1.cc:919
     {
     /// @todo: an identifier parameter is required.
     // parsing completed
 }
-#line 2670 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2672 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 478:
-#line 1637 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1637 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2678 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2680 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 479:
-#line 1639 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1639 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr next_server(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2688 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2690 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 480:
-#line 1645 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1645 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2696 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2698 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 481:
-#line 1647 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1647 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr srv(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2706 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2708 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 482:
-#line 1653 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1653 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2714 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2716 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 483:
-#line 1655 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1655 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr bootfile(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2724 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2726 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 484:
-#line 1661 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1661 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2732 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2734 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 485:
-#line 1663 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1663 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr addr(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2742 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2744 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 486:
-#line 1669 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1669 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 2753 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2755 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 487:
-#line 1674 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1674 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2762 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2764 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 488:
-#line 1679 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1679 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2770 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2772 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 489:
-#line 1681 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1681 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr d(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr d(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("duid", d);
     ctx.leave();
 }
-#line 2780 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2782 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 490:
-#line 1687 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1687 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2788 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2790 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 491:
-#line 1689 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1689 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr hw(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2798 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2800 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 492:
-#line 1695 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1695 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2806 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2808 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 493:
-#line 1697 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1697 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr hw(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2816 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2818 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 494:
-#line 1703 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1703 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2824 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2826 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 495:
-#line 1705 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1705 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr hw(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2834 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2836 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 496:
-#line 1711 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1711 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2842 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2844 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 497:
-#line 1713 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1713 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr hw(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2852 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2854 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 498:
-#line 1719 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1719 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2860 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2862 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 499:
-#line 1721 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1721 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr host(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr host(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hostname", host);
     ctx.leave();
 }
-#line 2870 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2872 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 500:
-#line 1727 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1727 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 2881 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2883 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 501:
-#line 1732 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1732 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2890 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2892 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 502:
-#line 1740 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1740 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 2901 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2903 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 503:
-#line 1745 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1745 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2910 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2912 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 506:
-#line 1757 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1757 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 2921 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2923 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 507:
-#line 1762 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1762 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2930 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2932 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 510:
-#line 1771 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1771 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2940 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2942 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 511:
-#line 1775 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1775 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // 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 2950 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2952 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 528:
-#line 1804 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1804 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2958 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2960 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 529:
-#line 1806 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1806 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr test(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr test(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("test", test);
     ctx.leave();
 }
-#line 2968 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2970 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 530:
-#line 1812 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1812 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 2977 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2979 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 531:
-#line 1821 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1821 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 2986 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2988 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 532:
-#line 1828 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1828 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 2997 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2999 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 533:
-#line 1833 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1833 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3006 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3008 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 541:
-#line 1849 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1849 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3014 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3016 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 542:
-#line 1851 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1851 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr stype(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 3024 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3026 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 543:
-#line 1857 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1857 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3032 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3034 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 544:
-#line 1859 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1859 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 3042 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3044 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 545:
-#line 1868 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1868 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3050 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3052 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 546:
-#line 1870 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1870 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr qc = yystack_[0].value.as< ElementPtr > ();
+    ElementPtr qc = yystack_[0].value.as < ElementPtr > ();
     ctx.stack_.back()->set("dhcp-queue-control", qc);
 
     // Doing this manually, because dhcp-queue-control
@@ -3084,617 +3086,617 @@ namespace isc { namespace dhcp {
 
     ctx.leave();
 }
-#line 3088 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3090 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 547:
-#line 1906 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1906 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 3099 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3101 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 548:
-#line 1911 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1911 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // 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 3110 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3112 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 549:
-#line 1918 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1918 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // Parse the dhcp-ddns map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3120 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3122 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 550:
-#line 1922 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1922 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // 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 3130 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3132 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 571:
-#line 1952 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1952 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 3139 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3141 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 572:
-#line 1957 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1957 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3147 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3149 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 573:
-#line 1959 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1959 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 3157 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3159 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 574:
-#line 1965 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1965 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3165 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3167 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 575:
-#line 1967 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1967 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 3175 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3177 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 576:
-#line 1973 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1973 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 3184 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3186 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 577:
-#line 1978 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1978 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3192 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3194 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 578:
-#line 1980 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1980 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 3202 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3204 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 579:
-#line 1986 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1986 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 3211 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3213 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 580:
-#line 1991 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1991 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 3220 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3222 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 581:
-#line 1996 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1996 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NCR_PROTOCOL);
 }
-#line 3228 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3230 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 582:
-#line 1998 "dhcp4_parser.yy" // lalr1.cc:907
+#line 1998 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("ncr-protocol", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("ncr-protocol", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3237 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3239 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 583:
-#line 2004 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("UDP", ctx.loc2pos(yystack_[0].location))); }
-#line 3243 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2004 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("UDP", ctx.loc2pos(yystack_[0].location))); }
+#line 3245 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 584:
-#line 2005 "dhcp4_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("TCP", ctx.loc2pos(yystack_[0].location))); }
-#line 3249 "dhcp4_parser.cc" // lalr1.cc:907
+#line 2005 "dhcp4_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("TCP", ctx.loc2pos(yystack_[0].location))); }
+#line 3251 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 585:
-#line 2008 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2008 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NCR_FORMAT);
 }
-#line 3257 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3259 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 586:
-#line 2010 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2010 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr json(new StringElement("JSON", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ncr-format", json);
     ctx.leave();
 }
-#line 3267 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3269 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 587:
-#line 2016 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2016 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 3276 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3278 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 588:
-#line 2021 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2021 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 3285 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3287 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 589:
-#line 2026 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2026 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.REPLACE_CLIENT_NAME);
 }
-#line 3293 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3295 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 590:
-#line 2028 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2028 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("replace-client-name", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("replace-client-name", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3302 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3304 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 591:
-#line 2034 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2034 "dhcp4_parser.yy" // lalr1.cc:919
     {
-      yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("when-present", ctx.loc2pos(yystack_[0].location)));
+      yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("when-present", ctx.loc2pos(yystack_[0].location)));
       }
-#line 3310 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3312 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 592:
-#line 2037 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2037 "dhcp4_parser.yy" // lalr1.cc:919
     {
-      yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("never", ctx.loc2pos(yystack_[0].location)));
+      yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("never", ctx.loc2pos(yystack_[0].location)));
       }
-#line 3318 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3320 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 593:
-#line 2040 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2040 "dhcp4_parser.yy" // lalr1.cc:919
     {
-      yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("always", ctx.loc2pos(yystack_[0].location)));
+      yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("always", ctx.loc2pos(yystack_[0].location)));
       }
-#line 3326 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3328 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 594:
-#line 2043 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2043 "dhcp4_parser.yy" // lalr1.cc:919
     {
-      yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("when-not-present", ctx.loc2pos(yystack_[0].location)));
+      yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("when-not-present", ctx.loc2pos(yystack_[0].location)));
       }
-#line 3334 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3336 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 595:
-#line 2046 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2046 "dhcp4_parser.yy" // lalr1.cc:919
     {
       error(yystack_[0].location, "boolean values for the replace-client-name are "
                 "no longer supported");
       }
-#line 3343 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3345 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 596:
-#line 2052 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2052 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3351 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3353 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 597:
-#line 2054 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2054 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 3361 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3363 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 598:
-#line 2060 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2060 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3369 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3371 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 599:
-#line 2062 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2062 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 3379 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3381 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 600:
-#line 2068 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2068 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3387 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3389 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 601:
-#line 2070 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2070 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 3397 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3399 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 602:
-#line 2079 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2079 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3405 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3407 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 603:
-#line 2081 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2081 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("Dhcp6", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("Dhcp6", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3414 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3416 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 604:
-#line 2086 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2086 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3422 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3424 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 605:
-#line 2088 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2088 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("DhcpDdns", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("DhcpDdns", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3431 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3433 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 606:
-#line 2093 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2093 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3439 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3441 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 607:
-#line 2095 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2095 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("Control-agent", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("Control-agent", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3448 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3450 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 608:
-#line 2100 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2100 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 3459 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3461 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 609:
-#line 2105 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2105 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // No config control params are required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3469 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3471 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 610:
-#line 2111 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2111 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // Parse the config-control map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3479 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3481 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 611:
-#line 2115 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2115 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // No config_control params are required
     // parsing completed
 }
-#line 3488 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3490 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 615:
-#line 2129 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2129 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 3499 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3501 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 616:
-#line 2134 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2134 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3508 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3510 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 617:
-#line 2144 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2144 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("Logging", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.LOGGING);
 }
-#line 3519 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3521 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 618:
-#line 2149 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2149 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3528 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3530 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 619:
-#line 2154 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2154 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // Parse the Logging map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3538 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3540 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 620:
-#line 2158 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2158 "dhcp4_parser.yy" // lalr1.cc:919
     {
     // parsing completed
 }
-#line 3546 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3548 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 624:
-#line 2174 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2174 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 3557 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3559 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 625:
-#line 2179 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2179 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3566 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3568 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 628:
-#line 2191 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2191 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr l(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(l);
     ctx.stack_.push_back(l);
 }
-#line 3576 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3578 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 629:
-#line 2195 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2195 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 3584 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3586 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 639:
-#line 2212 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2212 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 3593 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3595 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 640:
-#line 2217 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2217 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3601 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3603 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 641:
-#line 2219 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2219 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr sev(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("severity", sev);
     ctx.leave();
 }
-#line 3611 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3613 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 642:
-#line 2225 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2225 "dhcp4_parser.yy" // lalr1.cc:919
     {
     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 3622 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3624 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 643:
-#line 2230 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2230 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3631 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3633 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 646:
-#line 2239 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2239 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 3641 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3643 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 647:
-#line 2243 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2243 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 3649 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3651 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 654:
-#line 2257 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2257 "dhcp4_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3657 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3659 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 655:
-#line 2259 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2259 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr sev(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("output", sev);
     ctx.leave();
 }
-#line 3667 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3669 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 656:
-#line 2265 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2265 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 3676 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3678 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 657:
-#line 2270 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2270 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 3685 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3687 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
   case 658:
-#line 2275 "dhcp4_parser.yy" // lalr1.cc:907
+#line 2275 "dhcp4_parser.yy" // lalr1.cc:919
     {
-    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 3694 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3696 "dhcp4_parser.cc" // lalr1.cc:919
     break;
 
 
-#line 3698 "dhcp4_parser.cc" // lalr1.cc:907
+#line 3700 "dhcp4_parser.cc" // lalr1.cc:919
             default:
               break;
             }
@@ -3702,6 +3704,7 @@ namespace isc { namespace dhcp {
 #if YY_EXCEPTIONS
       catch (const syntax_error& yyexc)
         {
+          YYCDEBUG << "Caught exception: " << yyexc.what() << '\n';
           error (yyexc);
           YYERROR;
         }
@@ -3716,6 +3719,7 @@ namespace isc { namespace dhcp {
     }
     goto yynewstate;
 
+
   /*--------------------------------------.
   | yyerrlab -- here on detecting error.  |
   `--------------------------------------*/
@@ -3752,18 +3756,18 @@ 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;
+
     /* Do not reclaim the symbols of the rule whose action triggered
        this YYERROR.  */
     yypop_ (yylen);
     yylen = 0;
     goto yyerrlab1;
 
+
   /*-------------------------------------------------------------.
   | yyerrlab1 -- common code for both syntax error and YYERROR.  |
   `-------------------------------------------------------------*/
@@ -3804,16 +3808,26 @@ namespace isc { namespace dhcp {
     }
     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);
@@ -4982,10 +4996,10 @@ namespace isc { namespace dhcp {
 #endif // PARSER4_DEBUG
 
 
-#line 14 "dhcp4_parser.yy" // lalr1.cc:1218
+#line 14 "dhcp4_parser.yy" // lalr1.cc:1242
 } } // isc::dhcp
-#line 4988 "dhcp4_parser.cc" // lalr1.cc:1218
-#line 2280 "dhcp4_parser.yy" // lalr1.cc:1219
+#line 5002 "dhcp4_parser.cc" // lalr1.cc:1242
+#line 2280 "dhcp4_parser.yy" // lalr1.cc:1243
 
 
 void
index 0944f5a541970de3b988a69d139e5e4976973223..7f6d505ddda1fa0b427e920f9178f5df18a884c2 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.2.4.
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Skeleton interface for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
@@ -44,7 +44,7 @@
 #ifndef YY_PARSER4_DHCP4_PARSER_H_INCLUDED
 # define YY_PARSER4_DHCP4_PARSER_H_INCLUDED
 // //                    "%code requires" blocks.
-#line 17 "dhcp4_parser.yy" // lalr1.cc:404
+#line 17 "dhcp4_parser.yy" // lalr1.cc:401
 
 #include <string>
 #include <cc/data.h>
@@ -56,7 +56,7 @@ using namespace isc::dhcp;
 using namespace isc::data;
 using namespace std;
 
-#line 60 "dhcp4_parser.h" // lalr1.cc:404
+#line 60 "dhcp4_parser.h" // lalr1.cc:401
 
 # include <cassert>
 # include <cstdlib> // std::abort
@@ -85,6 +85,22 @@ using namespace std;
 # 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
@@ -162,193 +178,79 @@ using namespace std;
 # endif /* ! defined YYDEBUG */
 #endif  /* ! defined PARSER4_DEBUG */
 
-#line 14 "dhcp4_parser.yy" // lalr1.cc:404
+#line 14 "dhcp4_parser.yy" // lalr1.cc:401
 namespace isc { namespace dhcp {
-#line 168 "dhcp4_parser.h" // lalr1.cc:404
-
-  /// 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::reverse_iterator iterator;
-    typedef typename S::const_reverse_iterator const_iterator;
-    typedef typename S::size_type size_type;
-
-    stack (size_type n = 200)
-      : seq_ (n)
-    {}
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    T&
-    operator[] (size_type i)
-    {
-      return seq_[size () - 1 - i];
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    T&
-    operator[] (int i)
-    {
-      return operator[] (size_type (i));
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    const T&
-    operator[] (size_type i) const
-    {
-      return seq_[size () - 1 - i];
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    const T&
-    operator[] (int i) const
-    {
-      return operator[] (size_type (i));
-    }
+#line 184 "dhcp4_parser.h" // lalr1.cc:401
 
-    /// 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);
-    }
-
-    void
-    pop (int n = 1)
-    {
-      for (; 0 < n; --n)
-        seq_.pop_back ();
-    }
-
-    void
-    clear ()
-    {
-      seq_.clear ();
-    }
-
-    size_type
-    size () const
-    {
-      return seq_.size ();
-    }
-
-    const_iterator
-    begin () const
-    {
-      return seq_.rbegin ();
-    }
-
-    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 <typename T, typename S = stack<T> >
-  class slice
+  /// A Bison parser.
+  class Dhcp4Parser
   {
   public:
-    slice (const S& stack, int range)
-      : stack_ (stack)
-      , range_ (range)
-    {}
-
-    const T&
-    operator[] (int i) const
-    {
-      return stack_[range_ - i];
-    }
-
-  private:
-    const S& stack_;
-    int range_;
-  };
-
-
-
-  /// A char[S] buffer to store and retrieve objects.
+#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 ()
+    semantic_type () YY_NOEXCEPT
       : yybuffer_ ()
       , yytypeid_ (YY_NULLPTR)
     {}
 
     /// Construct and fill.
     template <typename T>
-    variant (YY_RVREF (T) t)
+    semantic_type (YY_RVREF (T) t)
       : yytypeid_ (&typeid (T))
     {
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       new (yyas_<T> ()) T (YY_MOVE (t));
     }
 
     /// Destruction, allowed only if empty.
-    ~variant ()
+    ~semantic_type () YY_NOEXCEPT
     {
       YYASSERT (!yytypeid_);
     }
 
-    /// Instantiate an empty \a T in here.
-    template <typename T>
+# if 201103L <= YY_CPLUSPLUS
+    /// Instantiate a \a T in here from \a t.
+    template <typename T, typename... U>
     T&
-    emplace ()
+    emplace (U&&... u)
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
-      return *new (yyas_<T> ()) T ();
+      return *new (yyas_<T> ()) T (std::forward <U>(u)...);
     }
-
-# if 201103L <= YY_CPLUSPLUS
-    /// Instantiate a \a T in here from \a t.
-    template <typename T, typename U>
+# else
+    /// Instantiate an empty \a T in here.
+    template <typename T>
     T&
-    emplace (U&& u)
+    emplace ()
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
-      return *new (yyas_<T> ()) T (std::forward <U>(u));
+      return *new (yyas_<T> ()) T ();
     }
-# else
+
     /// Instantiate a \a T in here from \a t.
     template <typename T>
     T&
     emplace (const T& t)
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
       return *new (yyas_<T> ()) T (t);
     }
@@ -375,75 +277,75 @@ namespace isc { namespace dhcp {
     /// Accessor to a built \a T.
     template <typename T>
     T&
-    as ()
+    as () YY_NOEXCEPT
     {
       YYASSERT (yytypeid_);
       YYASSERT (*yytypeid_ == typeid (T));
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (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_);
       YYASSERT (*yytypeid_ == typeid (T));
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (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 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> ());
+      YYASSERT (*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& other)
+    move (self_type& that)
     {
 # if 201103L <= YY_CPLUSPLUS
-      emplace<T> (std::move (other.as<T> ()));
+      emplace<T> (std::move (that.as<T> ()));
 # else
       emplace<T> ();
-      swap<T> (other);
+      swap<T> (that);
 # endif
-      other.destroy<T> ();
+      that.destroy<T> ();
     }
 
 # if 201103L <= YY_CPLUSPLUS
-    /// Move the content of \a other to this.
+    /// Move the content of \a that to this.
     template <typename T>
     void
-    move (self_type&& other)
+    move (self_type&& that)
     {
-      emplace<T> (std::move (other.as<T> ()));
-      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)
     {
-      emplace<T> (other.as<T> ());
+      emplace<T> (that.as<T> ());
     }
 
     /// Destroy the stored \a T.
@@ -458,12 +360,12 @@ namespace isc { namespace dhcp {
   private:
     /// Prohibit blind copies.
     self_type& operator= (const self_type&);
-    variant (const self_type&);
+    semantic_type (const self_type&);
 
     /// Accessor to raw memory as \a T.
     template <typename T>
     T*
-    yyas_ ()
+    yyas_ () YY_NOEXCEPT
     {
       void *yyp = yybuffer_.yyraw;
       return static_cast<T*> (yyp);
@@ -472,30 +374,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
     {
@@ -520,10 +404,24 @@ namespace isc { namespace dhcp {
 
       // "constant 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
@@ -533,7 +431,18 @@ 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;
     };
 
@@ -740,7 +649,10 @@ namespace isc { namespace dhcp {
       typedef Base super_type;
 
       /// Default constructor.
-      basic_symbol ();
+      basic_symbol ()
+        : value ()
+        , location ()
+      {}
 
 #if 201103L <= YY_CPLUSPLUS
       /// Move constructor.
@@ -750,48 +662,142 @@ namespace isc { namespace dhcp {
       /// Copy constructor.
       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);
+#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);
+      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);
+#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);
+      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);
+#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);
+      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);
+#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);
+      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);
+#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);
+      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);
+#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);
+      basic_symbol (typename Base::kind_type t, const std::string& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
 #endif
 
-
       /// Destroy the symbol.
-      ~basic_symbol ();
+      ~basic_symbol ()
+      {
+        clear ();
+      }
 
       /// Destroy contents, and record that is empty.
-      void clear ();
+      void 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 188: // value
+      case 192: // map_value
+      case 236: // socket_type
+      case 239: // outbound_interface_value
+      case 261: // db_type
+      case 343: // hr_mode
+      case 492: // ncr_protocol_value
+      case 499: // replace_client_name_value
+        value.template destroy< ElementPtr > ();
+        break;
+
+      case 171: // "boolean"
+        value.template destroy< bool > ();
+        break;
+
+      case 170: // "floating point"
+        value.template destroy< double > ();
+        break;
+
+      case 169: // "integer"
+        value.template destroy< int64_t > ();
+        break;
+
+      case 168: // "constant string"
+        value.template destroy< std::string > ();
+        break;
+
+      default:
+        break;
+    }
+
+        Base::clear ();
+      }
 
       /// Whether empty.
-      bool empty () const;
+      bool empty () const YY_NOEXCEPT;
 
       /// Destructive move, \a s is emptied into this.
       void move (basic_symbol& s);
@@ -837,10 +843,10 @@ namespace isc { namespace dhcp {
 
       /// The (internal) type number (corresponding to \a type).
       /// \a empty when empty.
-      symbol_number_type type_get () const;
+      symbol_number_type type_get () const YY_NOEXCEPT;
 
       /// The token.
-      token_type token () const;
+      token_type token () const YY_NOEXCEPT;
 
       /// The symbol type.
       /// \a empty_symbol when empty.
@@ -849,7 +855,81 @@ namespace isc { namespace dhcp {
     };
 
     /// "External" symbols: returned by the scanner.
-    typedef basic_symbol<by_type> symbol_type;
+    struct symbol_type : basic_symbol<by_type>
+    {
+      /// Superclass.
+      typedef basic_symbol<by_type> super_type;
+
+      /// Empty symbol.
+      symbol_type () {}
+
+      /// 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))
+      {
+        YYASSERT (tok == token::TOKEN_END || 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_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_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_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_DECLINE_PROBATION_PERIOD || tok == token::TOKEN_SERVER_TAG || 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_CONTROL_SOCKET || tok == token::TOKEN_SOCKET_TYPE || tok == token::TOKEN_SOCKET_NAME || tok == token::TOKEN_DHCP_QUEUE_CONTROL || 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_LOGGING || 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_DHCP6 || tok == token::TOKEN_DHCPDDNS || tok == token::TOKEN_CONTROL_AGENT || 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_LOGGING || tok == token::TOKEN_SUB_CONFIG_CONTROL);
+      }
+#else
+      symbol_type (int tok, const location_type& l)
+        : super_type(token_type (tok), l)
+      {
+        YYASSERT (tok == token::TOKEN_END || 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_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_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_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_DECLINE_PROBATION_PERIOD || tok == token::TOKEN_SERVER_TAG || 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_CONTROL_SOCKET || tok == token::TOKEN_SOCKET_TYPE || tok == token::TOKEN_SOCKET_NAME || tok == token::TOKEN_DHCP_QUEUE_CONTROL || 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_LOGGING || 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_DHCP6 || tok == token::TOKEN_DHCPDDNS || tok == token::TOKEN_CONTROL_AGENT || 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_LOGGING || 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))
+      {
+        YYASSERT (tok == token::TOKEN_BOOLEAN);
+      }
+#else
+      symbol_type (int tok, const bool& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (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))
+      {
+        YYASSERT (tok == token::TOKEN_FLOAT);
+      }
+#else
+      symbol_type (int tok, const double& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (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))
+      {
+        YYASSERT (tok == token::TOKEN_INTEGER);
+      }
+#else
+      symbol_type (int tok, const int64_t& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (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))
+      {
+        YYASSERT (tok == token::TOKEN_STRING);
+      }
+#else
+      symbol_type (int tok, const std::string& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (tok == token::TOKEN_STRING);
+      }
+#endif
+    };
 
     /// Build a parser object.
     Dhcp4Parser (isc::dhcp::Parser4Context& ctx_yyarg);
@@ -885,1536 +965,2556 @@ namespace isc { namespace dhcp {
     /// Report a syntax error.
     void error (const syntax_error& err);
 
-    // Symbol constructors declarations.
+    // Implementation of make_symbol for each symbol type.
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_END (location_type l);
+      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);
+      static
+      symbol_type
+      make_END (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_END, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_COMMA (location_type l);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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_INTERFACES_CONFIG (location_type l);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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_MAX_RECONNECT_TRIES (location_type l);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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_VALID_LIFETIME (location_type l);
+      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);
+      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_RENEW_TIMER (location_type l);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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_DECLINE_PROBATION_PERIOD (location_type l);
+      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);
+      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);
+      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);
+      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_SUBNET4 (location_type l);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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_CONTROL_SOCKET (location_type l);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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_DHCP_DDNS (location_type l);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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_LOGGING (location_type l);
+      static
+      symbol_type
+      make_LOGGING (location_type l)
+      {
+        return symbol_type (token::TOKEN_LOGGING, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_LOGGING (const location_type& l);
+      static
+      symbol_type
+      make_LOGGING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LOGGING, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_LOGGERS (location_type l);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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_DHCP6 (location_type l);
+      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);
+      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_DHCPDDNS (location_type l);
+      static
+      symbol_type
+      make_DHCPDDNS (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCPDDNS, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_DHCPDDNS (const location_type& l);
+      static
+      symbol_type
+      make_DHCPDDNS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCPDDNS, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_CONTROL_AGENT (location_type l);
+      static
+      symbol_type
+      make_CONTROL_AGENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONTROL_AGENT, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_CONTROL_AGENT (const location_type& l);
+      static
+      symbol_type
+      make_CONTROL_AGENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONTROL_AGENT, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_TOPLEVEL_JSON (location_type l);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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_LOGGING (location_type l);
+      static
+      symbol_type
+      make_SUB_LOGGING (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_LOGGING, std::move (l));
+      }
 #else
-    static
-    symbol_type
-    make_SUB_LOGGING (const location_type& l);
+      static
+      symbol_type
+      make_SUB_LOGGING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_LOGGING, l);
+      }
 #endif
 #if 201103L <= YY_CPLUSPLUS
-    static
-    symbol_type
-    make_SUB_CONFIG_CONTROL (location_type l);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      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);
+      static
+      symbol_type
+      make_BOOLEAN (const bool& v, const location_type& l)
+      {
+        return symbol_type (token::TOKEN_BOOLEAN, v, l);
+      }
 #endif
 
 
@@ -2523,26 +3623,26 @@ namespace isc { namespace dhcp {
     struct by_state
     {
       /// Default constructor.
-      by_state ();
+      by_state () YY_NOEXCEPT;
 
       /// The symbol type as needed by the constructor.
       typedef state_type kind_type;
 
       /// Constructor.
-      by_state (kind_type s);
+      by_state (kind_type s) YY_NOEXCEPT;
 
       /// Copy constructor.
-      by_state (const by_state& other);
+      by_state (const by_state& that) YY_NOEXCEPT;
 
       /// Record that this symbol is empty.
-      void clear ();
+      void clear () YY_NOEXCEPT;
 
       /// 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;
+      symbol_number_type type_get () const YY_NOEXCEPT;
 
       /// The state number used to denote an empty symbol.
       enum { empty_state = -1 };
@@ -2570,6 +3670,130 @@ namespace isc { namespace dhcp {
 #endif
     };
 
+    /// 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::reverse_iterator iterator;
+      typedef typename S::const_reverse_iterator const_iterator;
+      typedef typename S::size_type size_type;
+
+      stack (size_type n = 200)
+        : seq_ (n)
+      {}
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      T&
+      operator[] (size_type i)
+      {
+        return seq_[size () - 1 - i];
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      T&
+      operator[] (int i)
+      {
+        return operator[] (size_type (i));
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      const T&
+      operator[] (size_type i) const
+      {
+        return seq_[size () - 1 - i];
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      const T&
+      operator[] (int i) const
+      {
+        return operator[] (size_type (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);
+      }
+
+      /// Pop elements from the stack.
+      void
+      pop (int n = 1) YY_NOEXCEPT
+      {
+        for (; 0 < n; --n)
+          seq_.pop_back ();
+      }
+
+      /// Pop all elements from the stack.
+      void
+      clear () YY_NOEXCEPT
+      {
+        seq_.clear ();
+      }
+
+      /// Number of elements on the stack.
+      size_type
+      size () const YY_NOEXCEPT
+      {
+        return seq_.size ();
+      }
+
+      /// Iterator on top of the stack (going downwards).
+      const_iterator
+      begin () const YY_NOEXCEPT
+      {
+        return seq_.rbegin ();
+      }
+
+      /// Bottom of the stack.
+      const_iterator
+      end () const YY_NOEXCEPT
+      {
+        return seq_.rend ();
+      }
+
+      /// Present a slice of the top of a stack.
+      class slice
+      {
+      public:
+        slice (const stack& stack, int range)
+          : stack_ (stack)
+          , range_ (range)
+        {}
+
+        const T&
+        operator[] (int i) const
+        {
+          return stack_[range_ - i];
+        }
+
+      private:
+        const stack& stack_;
+        int range_;
+      };
+
+    private:
+      stack (const stack&);
+      stack& operator= (const stack&);
+      /// The wrapped container.
+      S seq_;
+    };
+
+
     /// Stack type.
     typedef stack<stack_symbol_type> stack_type;
 
@@ -2611,16 +3835,17 @@ namespace isc { namespace dhcp {
     isc::dhcp::Parser4Context& ctx;
   };
 
-  // Symbol number corresponding to token number t.
   inline
   Dhcp4Parser::token_number_type
   Dhcp4Parser::yytranslate_ (token_type t)
   {
+    // YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to
+    // TOKEN-NUM as returned by yylex.
     static
     const token_number_type
     translate_table[] =
     {
-     0,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       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,
@@ -2675,19 +3900,7 @@ namespace isc { namespace dhcp {
       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>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol ()
-    : value ()
-    , location ()
-  {}
-
 #if 201103L <= YY_CPLUSPLUS
   template <typename Base>
   Dhcp4Parser::basic_symbol<Base>::basic_symbol (basic_symbol&& that)
@@ -2747,23 +3960,23 @@ namespace isc { namespace dhcp {
       case 343: // hr_mode
       case 492: // ncr_protocol_value
       case 499: // replace_client_name_value
-        value.copy< ElementPtr > (that.value);
+        value.copy< ElementPtr > (YY_MOVE (that.value));
         break;
 
       case 171: // "boolean"
-        value.copy< bool > (that.value);
+        value.copy< bool > (YY_MOVE (that.value));
         break;
 
       case 170: // "floating point"
-        value.copy< double > (that.value);
+        value.copy< double > (YY_MOVE (that.value));
         break;
 
       case 169: // "integer"
-        value.copy< int64_t > (that.value);
+        value.copy< int64_t > (YY_MOVE (that.value));
         break;
 
       case 168: // "constant string"
-        value.copy< std::string > (that.value);
+        value.copy< std::string > (YY_MOVE (that.value));
         break;
 
       default:
@@ -2773,157 +3986,10 @@ namespace isc { namespace dhcp {
   }
 
 
-  // Implementation of basic_symbol constructor for each type.
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, location_type&& l)
-    : Base (t)
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const location_type& l)
-    : Base (t)
-    , location (l)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, ElementPtr&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  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)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, bool&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  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)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, double&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  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)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, int64_t&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  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)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, std::string&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  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)
-  {}
-#endif
-
-
-  template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::~basic_symbol ()
-  {
-    clear ();
-  }
-
-  template <typename Base>
-  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 188: // value
-      case 192: // map_value
-      case 236: // socket_type
-      case 239: // outbound_interface_value
-      case 261: // db_type
-      case 343: // hr_mode
-      case 492: // ncr_protocol_value
-      case 499: // replace_client_name_value
-        value.template destroy< ElementPtr > ();
-        break;
-
-      case 171: // "boolean"
-        value.template destroy< bool > ();
-        break;
-
-      case 170: // "floating point"
-        value.template destroy< double > ();
-        break;
-
-      case 169: // "integer"
-        value.template destroy< int64_t > ();
-        break;
-
-      case 168: // "constant string"
-        value.template destroy< std::string > ();
-        break;
-
-      default:
-        break;
-    }
-
-    Base::clear ();
-  }
 
   template <typename Base>
   bool
-  Dhcp4Parser::basic_symbol<Base>::empty () const
+  Dhcp4Parser::basic_symbol<Base>::empty () const YY_NOEXCEPT
   {
     return Base::type_get () == empty_symbol;
   }
@@ -3011,14 +4077,14 @@ namespace isc { namespace dhcp {
 
   inline
   int
-  Dhcp4Parser::by_type::type_get () const
+  Dhcp4Parser::by_type::type_get () const YY_NOEXCEPT
   {
     return type;
   }
 
   inline
   Dhcp4Parser::token_type
-  Dhcp4Parser::by_type::token () const
+  Dhcp4Parser::by_type::token () const YY_NOEXCEPT
   {
     // YYTOKNUM[NUM] -- (External) token number corresponding to the
     // (internal) symbol number NUM (which must be that of a token).  */
@@ -3045,2564 +4111,12 @@ namespace isc { namespace dhcp {
      415,   416,   417,   418,   419,   420,   421,   422,   423,   424,
      425,   426
     };
-    return static_cast<token_type> (yytoken_number_[type]);
-  }
-
-  // Implementation of make_symbol for each symbol type.
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_END (location_type l)
-  {
-    return symbol_type (token::TOKEN_END, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_END (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_END, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_COMMA (location_type l)
-  {
-    return symbol_type (token::TOKEN_COMMA, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_COMMA (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_COMMA, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_COLON (location_type l)
-  {
-    return symbol_type (token::TOKEN_COLON, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_COLON (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_COLON, l);
+    return token_type (yytoken_number_[type]);
   }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LSQUARE_BRACKET (location_type l)
-  {
-    return symbol_type (token::TOKEN_LSQUARE_BRACKET, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LSQUARE_BRACKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LSQUARE_BRACKET, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RSQUARE_BRACKET (location_type l)
-  {
-    return symbol_type (token::TOKEN_RSQUARE_BRACKET, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RSQUARE_BRACKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RSQUARE_BRACKET, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LCURLY_BRACKET (location_type l)
-  {
-    return symbol_type (token::TOKEN_LCURLY_BRACKET, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LCURLY_BRACKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LCURLY_BRACKET, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RCURLY_BRACKET (location_type l)
-  {
-    return symbol_type (token::TOKEN_RCURLY_BRACKET, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RCURLY_BRACKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RCURLY_BRACKET, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NULL_TYPE (location_type l)
-  {
-    return symbol_type (token::TOKEN_NULL_TYPE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NULL_TYPE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NULL_TYPE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP4 (location_type l)
-  {
-    return symbol_type (token::TOKEN_DHCP4, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP4 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP4, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONFIG_CONTROL (location_type l)
-  {
-    return symbol_type (token::TOKEN_CONFIG_CONTROL, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONFIG_CONTROL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONFIG_CONTROL, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONFIG_DATABASES (location_type l)
-  {
-    return symbol_type (token::TOKEN_CONFIG_DATABASES, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONFIG_DATABASES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONFIG_DATABASES, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_INTERFACES_CONFIG (location_type l)
-  {
-    return symbol_type (token::TOKEN_INTERFACES_CONFIG, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_INTERFACES_CONFIG (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_INTERFACES_CONFIG, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_INTERFACES (location_type l)
-  {
-    return symbol_type (token::TOKEN_INTERFACES, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_INTERFACES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_INTERFACES, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP_SOCKET_TYPE (location_type l)
-  {
-    return symbol_type (token::TOKEN_DHCP_SOCKET_TYPE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP_SOCKET_TYPE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP_SOCKET_TYPE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RAW (location_type l)
-  {
-    return symbol_type (token::TOKEN_RAW, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RAW (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RAW, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_UDP (location_type l)
-  {
-    return symbol_type (token::TOKEN_UDP, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_UDP (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_UDP, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OUTBOUND_INTERFACE (location_type l)
-  {
-    return symbol_type (token::TOKEN_OUTBOUND_INTERFACE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OUTBOUND_INTERFACE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OUTBOUND_INTERFACE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SAME_AS_INBOUND (location_type l)
-  {
-    return symbol_type (token::TOKEN_SAME_AS_INBOUND, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SAME_AS_INBOUND (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SAME_AS_INBOUND, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_USE_ROUTING (location_type l)
-  {
-    return symbol_type (token::TOKEN_USE_ROUTING, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_USE_ROUTING (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_USE_ROUTING, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RE_DETECT (location_type l)
-  {
-    return symbol_type (token::TOKEN_RE_DETECT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RE_DETECT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RE_DETECT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SANITY_CHECKS (location_type l)
-  {
-    return symbol_type (token::TOKEN_SANITY_CHECKS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SANITY_CHECKS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SANITY_CHECKS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LEASE_CHECKS (location_type l)
-  {
-    return symbol_type (token::TOKEN_LEASE_CHECKS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LEASE_CHECKS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LEASE_CHECKS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ECHO_CLIENT_ID (location_type l)
-  {
-    return symbol_type (token::TOKEN_ECHO_CLIENT_ID, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ECHO_CLIENT_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ECHO_CLIENT_ID, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MATCH_CLIENT_ID (location_type l)
-  {
-    return symbol_type (token::TOKEN_MATCH_CLIENT_ID, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MATCH_CLIENT_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MATCH_CLIENT_ID, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_AUTHORITATIVE (location_type l)
-  {
-    return symbol_type (token::TOKEN_AUTHORITATIVE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_AUTHORITATIVE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_AUTHORITATIVE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NEXT_SERVER (location_type l)
-  {
-    return symbol_type (token::TOKEN_NEXT_SERVER, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NEXT_SERVER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NEXT_SERVER, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERVER_HOSTNAME (location_type l)
-  {
-    return symbol_type (token::TOKEN_SERVER_HOSTNAME, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERVER_HOSTNAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SERVER_HOSTNAME, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_BOOT_FILE_NAME (location_type l)
-  {
-    return symbol_type (token::TOKEN_BOOT_FILE_NAME, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_BOOT_FILE_NAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_BOOT_FILE_NAME, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LEASE_DATABASE (location_type l)
-  {
-    return symbol_type (token::TOKEN_LEASE_DATABASE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LEASE_DATABASE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LEASE_DATABASE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTS_DATABASE (location_type l)
-  {
-    return symbol_type (token::TOKEN_HOSTS_DATABASE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTS_DATABASE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOSTS_DATABASE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTS_DATABASES (location_type l)
-  {
-    return symbol_type (token::TOKEN_HOSTS_DATABASES, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTS_DATABASES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOSTS_DATABASES, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TYPE (location_type l)
-  {
-    return symbol_type (token::TOKEN_TYPE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TYPE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TYPE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MEMFILE (location_type l)
-  {
-    return symbol_type (token::TOKEN_MEMFILE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MEMFILE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MEMFILE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MYSQL (location_type l)
-  {
-    return symbol_type (token::TOKEN_MYSQL, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MYSQL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MYSQL, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_POSTGRESQL (location_type l)
-  {
-    return symbol_type (token::TOKEN_POSTGRESQL, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_POSTGRESQL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_POSTGRESQL, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CQL (location_type l)
-  {
-    return symbol_type (token::TOKEN_CQL, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CQL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CQL, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_USER (location_type l)
-  {
-    return symbol_type (token::TOKEN_USER, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_USER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_USER, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PASSWORD (location_type l)
-  {
-    return symbol_type (token::TOKEN_PASSWORD, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PASSWORD (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PASSWORD, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOST (location_type l)
-  {
-    return symbol_type (token::TOKEN_HOST, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOST (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOST, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PORT (location_type l)
-  {
-    return symbol_type (token::TOKEN_PORT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PORT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PORT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PERSIST (location_type l)
-  {
-    return symbol_type (token::TOKEN_PERSIST, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PERSIST (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PERSIST, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LFC_INTERVAL (location_type l)
-  {
-    return symbol_type (token::TOKEN_LFC_INTERVAL, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LFC_INTERVAL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LFC_INTERVAL, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_READONLY (location_type l)
-  {
-    return symbol_type (token::TOKEN_READONLY, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_READONLY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_READONLY, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONNECT_TIMEOUT (location_type l)
-  {
-    return symbol_type (token::TOKEN_CONNECT_TIMEOUT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONNECT_TIMEOUT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONNECT_TIMEOUT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONTACT_POINTS (location_type l)
-  {
-    return symbol_type (token::TOKEN_CONTACT_POINTS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONTACT_POINTS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONTACT_POINTS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_KEYSPACE (location_type l)
-  {
-    return symbol_type (token::TOKEN_KEYSPACE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_KEYSPACE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_KEYSPACE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_RECONNECT_TRIES (location_type l)
-  {
-    return symbol_type (token::TOKEN_MAX_RECONNECT_TRIES, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_RECONNECT_TRIES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_RECONNECT_TRIES, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RECONNECT_WAIT_TIME (location_type l)
-  {
-    return symbol_type (token::TOKEN_RECONNECT_WAIT_TIME, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RECONNECT_WAIT_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RECONNECT_WAIT_TIME, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_REQUEST_TIMEOUT (location_type l)
-  {
-    return symbol_type (token::TOKEN_REQUEST_TIMEOUT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_REQUEST_TIMEOUT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_REQUEST_TIMEOUT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TCP_KEEPALIVE (location_type l)
-  {
-    return symbol_type (token::TOKEN_TCP_KEEPALIVE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TCP_KEEPALIVE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TCP_KEEPALIVE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TCP_NODELAY (location_type l)
-  {
-    return symbol_type (token::TOKEN_TCP_NODELAY, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TCP_NODELAY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TCP_NODELAY, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_VALID_LIFETIME (location_type l)
-  {
-    return symbol_type (token::TOKEN_VALID_LIFETIME, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_VALID_LIFETIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_VALID_LIFETIME, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RENEW_TIMER (location_type l)
-  {
-    return symbol_type (token::TOKEN_RENEW_TIMER, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RENEW_TIMER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RENEW_TIMER, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_REBIND_TIMER (location_type l)
-  {
-    return symbol_type (token::TOKEN_REBIND_TIMER, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_REBIND_TIMER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_REBIND_TIMER, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CALCULATE_TEE_TIMES (location_type l)
-  {
-    return symbol_type (token::TOKEN_CALCULATE_TEE_TIMES, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CALCULATE_TEE_TIMES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CALCULATE_TEE_TIMES, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_T1_PERCENT (location_type l)
-  {
-    return symbol_type (token::TOKEN_T1_PERCENT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_T1_PERCENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_T1_PERCENT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_T2_PERCENT (location_type l)
-  {
-    return symbol_type (token::TOKEN_T2_PERCENT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_T2_PERCENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_T2_PERCENT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DECLINE_PROBATION_PERIOD (location_type l)
-  {
-    return symbol_type (token::TOKEN_DECLINE_PROBATION_PERIOD, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DECLINE_PROBATION_PERIOD (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DECLINE_PROBATION_PERIOD, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERVER_TAG (location_type l)
-  {
-    return symbol_type (token::TOKEN_SERVER_TAG, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERVER_TAG (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SERVER_TAG, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET4 (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUBNET4, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET4 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUBNET4, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET_4O6_INTERFACE (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUBNET_4O6_INTERFACE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET_4O6_INTERFACE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUBNET_4O6_INTERFACE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET_4O6_INTERFACE_ID (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUBNET_4O6_INTERFACE_ID, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET_4O6_INTERFACE_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUBNET_4O6_INTERFACE_ID, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET_4O6_SUBNET (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUBNET_4O6_SUBNET, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET_4O6_SUBNET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUBNET_4O6_SUBNET, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OPTION_DEF (location_type l)
-  {
-    return symbol_type (token::TOKEN_OPTION_DEF, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OPTION_DEF (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OPTION_DEF, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OPTION_DATA (location_type l)
-  {
-    return symbol_type (token::TOKEN_OPTION_DATA, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OPTION_DATA (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OPTION_DATA, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NAME (location_type l)
-  {
-    return symbol_type (token::TOKEN_NAME, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NAME, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DATA (location_type l)
-  {
-    return symbol_type (token::TOKEN_DATA, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DATA (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DATA, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CODE (location_type l)
-  {
-    return symbol_type (token::TOKEN_CODE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CODE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CODE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SPACE (location_type l)
-  {
-    return symbol_type (token::TOKEN_SPACE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SPACE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SPACE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CSV_FORMAT (location_type l)
-  {
-    return symbol_type (token::TOKEN_CSV_FORMAT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CSV_FORMAT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CSV_FORMAT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ALWAYS_SEND (location_type l)
-  {
-    return symbol_type (token::TOKEN_ALWAYS_SEND, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ALWAYS_SEND (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ALWAYS_SEND, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RECORD_TYPES (location_type l)
-  {
-    return symbol_type (token::TOKEN_RECORD_TYPES, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RECORD_TYPES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RECORD_TYPES, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ENCAPSULATE (location_type l)
-  {
-    return symbol_type (token::TOKEN_ENCAPSULATE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ENCAPSULATE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ENCAPSULATE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ARRAY (location_type l)
-  {
-    return symbol_type (token::TOKEN_ARRAY, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ARRAY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ARRAY, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SHARED_NETWORKS (location_type l)
-  {
-    return symbol_type (token::TOKEN_SHARED_NETWORKS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SHARED_NETWORKS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SHARED_NETWORKS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_POOLS (location_type l)
-  {
-    return symbol_type (token::TOKEN_POOLS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_POOLS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_POOLS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_POOL (location_type l)
-  {
-    return symbol_type (token::TOKEN_POOL, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_POOL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_POOL, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_USER_CONTEXT (location_type l)
-  {
-    return symbol_type (token::TOKEN_USER_CONTEXT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_USER_CONTEXT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_USER_CONTEXT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_COMMENT (location_type l)
-  {
-    return symbol_type (token::TOKEN_COMMENT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_COMMENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_COMMENT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUBNET, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUBNET, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_INTERFACE (location_type l)
-  {
-    return symbol_type (token::TOKEN_INTERFACE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_INTERFACE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_INTERFACE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ID (location_type l)
-  {
-    return symbol_type (token::TOKEN_ID, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ID, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RESERVATION_MODE (location_type l)
-  {
-    return symbol_type (token::TOKEN_RESERVATION_MODE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RESERVATION_MODE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RESERVATION_MODE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DISABLED (location_type l)
-  {
-    return symbol_type (token::TOKEN_DISABLED, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DISABLED (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DISABLED, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OUT_OF_POOL (location_type l)
-  {
-    return symbol_type (token::TOKEN_OUT_OF_POOL, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OUT_OF_POOL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OUT_OF_POOL, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_GLOBAL (location_type l)
-  {
-    return symbol_type (token::TOKEN_GLOBAL, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_GLOBAL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_GLOBAL, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ALL (location_type l)
-  {
-    return symbol_type (token::TOKEN_ALL, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ALL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ALL, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOST_RESERVATION_IDENTIFIERS (location_type l)
-  {
-    return symbol_type (token::TOKEN_HOST_RESERVATION_IDENTIFIERS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOST_RESERVATION_IDENTIFIERS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOST_RESERVATION_IDENTIFIERS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CLIENT_CLASSES (location_type l)
-  {
-    return symbol_type (token::TOKEN_CLIENT_CLASSES, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CLIENT_CLASSES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CLIENT_CLASSES, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_REQUIRE_CLIENT_CLASSES (location_type l)
-  {
-    return symbol_type (token::TOKEN_REQUIRE_CLIENT_CLASSES, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_REQUIRE_CLIENT_CLASSES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_REQUIRE_CLIENT_CLASSES, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TEST (location_type l)
-  {
-    return symbol_type (token::TOKEN_TEST, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TEST (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TEST, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ONLY_IF_REQUIRED (location_type l)
-  {
-    return symbol_type (token::TOKEN_ONLY_IF_REQUIRED, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ONLY_IF_REQUIRED (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ONLY_IF_REQUIRED, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CLIENT_CLASS (location_type l)
-  {
-    return symbol_type (token::TOKEN_CLIENT_CLASS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CLIENT_CLASS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CLIENT_CLASS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RESERVATIONS (location_type l)
-  {
-    return symbol_type (token::TOKEN_RESERVATIONS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RESERVATIONS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RESERVATIONS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DUID (location_type l)
-  {
-    return symbol_type (token::TOKEN_DUID, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DUID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DUID, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HW_ADDRESS (location_type l)
-  {
-    return symbol_type (token::TOKEN_HW_ADDRESS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HW_ADDRESS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HW_ADDRESS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CIRCUIT_ID (location_type l)
-  {
-    return symbol_type (token::TOKEN_CIRCUIT_ID, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CIRCUIT_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CIRCUIT_ID, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CLIENT_ID (location_type l)
-  {
-    return symbol_type (token::TOKEN_CLIENT_ID, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CLIENT_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CLIENT_ID, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTNAME (location_type l)
-  {
-    return symbol_type (token::TOKEN_HOSTNAME, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTNAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOSTNAME, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_FLEX_ID (location_type l)
-  {
-    return symbol_type (token::TOKEN_FLEX_ID, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_FLEX_ID (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_FLEX_ID, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RELAY (location_type l)
-  {
-    return symbol_type (token::TOKEN_RELAY, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RELAY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RELAY, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_IP_ADDRESS (location_type l)
-  {
-    return symbol_type (token::TOKEN_IP_ADDRESS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_IP_ADDRESS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_IP_ADDRESS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_IP_ADDRESSES (location_type l)
-  {
-    return symbol_type (token::TOKEN_IP_ADDRESSES, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_IP_ADDRESSES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_IP_ADDRESSES, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOOKS_LIBRARIES (location_type l)
-  {
-    return symbol_type (token::TOKEN_HOOKS_LIBRARIES, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOOKS_LIBRARIES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOOKS_LIBRARIES, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LIBRARY (location_type l)
-  {
-    return symbol_type (token::TOKEN_LIBRARY, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LIBRARY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LIBRARY, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PARAMETERS (location_type l)
-  {
-    return symbol_type (token::TOKEN_PARAMETERS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PARAMETERS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_PARAMETERS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_EXPIRED_LEASES_PROCESSING (location_type l)
-  {
-    return symbol_type (token::TOKEN_EXPIRED_LEASES_PROCESSING, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_EXPIRED_LEASES_PROCESSING (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_EXPIRED_LEASES_PROCESSING, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RECLAIM_TIMER_WAIT_TIME (location_type l)
-  {
-    return symbol_type (token::TOKEN_RECLAIM_TIMER_WAIT_TIME, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RECLAIM_TIMER_WAIT_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_RECLAIM_TIMER_WAIT_TIME, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (location_type l)
-  {
-    return symbol_type (token::TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME, std::move (l));
-  }
-#else
-  inline
-  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);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOLD_RECLAIMED_TIME (location_type l)
-  {
-    return symbol_type (token::TOKEN_HOLD_RECLAIMED_TIME, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOLD_RECLAIMED_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOLD_RECLAIMED_TIME, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_RECLAIM_LEASES (location_type l)
-  {
-    return symbol_type (token::TOKEN_MAX_RECLAIM_LEASES, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_RECLAIM_LEASES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_RECLAIM_LEASES, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_RECLAIM_TIME (location_type l)
-  {
-    return symbol_type (token::TOKEN_MAX_RECLAIM_TIME, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_RECLAIM_TIME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_RECLAIM_TIME, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_UNWARNED_RECLAIM_CYCLES (location_type l)
-  {
-    return symbol_type (token::TOKEN_UNWARNED_RECLAIM_CYCLES, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_UNWARNED_RECLAIM_CYCLES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_UNWARNED_RECLAIM_CYCLES, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP4O6_PORT (location_type l)
-  {
-    return symbol_type (token::TOKEN_DHCP4O6_PORT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP4O6_PORT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP4O6_PORT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONTROL_SOCKET (location_type l)
-  {
-    return symbol_type (token::TOKEN_CONTROL_SOCKET, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONTROL_SOCKET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONTROL_SOCKET, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SOCKET_TYPE (location_type l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_TYPE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SOCKET_TYPE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_TYPE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SOCKET_NAME (location_type l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_NAME, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SOCKET_NAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_NAME, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP_QUEUE_CONTROL (location_type l)
-  {
-    return symbol_type (token::TOKEN_DHCP_QUEUE_CONTROL, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP_QUEUE_CONTROL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP_QUEUE_CONTROL, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP_DDNS (location_type l)
-  {
-    return symbol_type (token::TOKEN_DHCP_DDNS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP_DDNS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP_DDNS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ENABLE_UPDATES (location_type l)
-  {
-    return symbol_type (token::TOKEN_ENABLE_UPDATES, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ENABLE_UPDATES (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ENABLE_UPDATES, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_QUALIFYING_SUFFIX (location_type l)
-  {
-    return symbol_type (token::TOKEN_QUALIFYING_SUFFIX, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_QUALIFYING_SUFFIX (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_QUALIFYING_SUFFIX, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERVER_IP (location_type l)
-  {
-    return symbol_type (token::TOKEN_SERVER_IP, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERVER_IP (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SERVER_IP, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERVER_PORT (location_type l)
-  {
-    return symbol_type (token::TOKEN_SERVER_PORT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERVER_PORT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SERVER_PORT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SENDER_IP (location_type l)
-  {
-    return symbol_type (token::TOKEN_SENDER_IP, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SENDER_IP (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SENDER_IP, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SENDER_PORT (location_type l)
-  {
-    return symbol_type (token::TOKEN_SENDER_PORT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SENDER_PORT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SENDER_PORT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_QUEUE_SIZE (location_type l)
-  {
-    return symbol_type (token::TOKEN_MAX_QUEUE_SIZE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_QUEUE_SIZE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAX_QUEUE_SIZE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NCR_PROTOCOL (location_type l)
-  {
-    return symbol_type (token::TOKEN_NCR_PROTOCOL, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NCR_PROTOCOL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NCR_PROTOCOL, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NCR_FORMAT (location_type l)
-  {
-    return symbol_type (token::TOKEN_NCR_FORMAT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NCR_FORMAT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NCR_FORMAT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OVERRIDE_NO_UPDATE (location_type l)
-  {
-    return symbol_type (token::TOKEN_OVERRIDE_NO_UPDATE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OVERRIDE_NO_UPDATE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OVERRIDE_NO_UPDATE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OVERRIDE_CLIENT_UPDATE (location_type l)
-  {
-    return symbol_type (token::TOKEN_OVERRIDE_CLIENT_UPDATE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OVERRIDE_CLIENT_UPDATE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OVERRIDE_CLIENT_UPDATE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_REPLACE_CLIENT_NAME (location_type l)
-  {
-    return symbol_type (token::TOKEN_REPLACE_CLIENT_NAME, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_REPLACE_CLIENT_NAME (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_REPLACE_CLIENT_NAME, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_GENERATED_PREFIX (location_type l)
-  {
-    return symbol_type (token::TOKEN_GENERATED_PREFIX, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_GENERATED_PREFIX (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_GENERATED_PREFIX, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TCP (location_type l)
-  {
-    return symbol_type (token::TOKEN_TCP, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TCP (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TCP, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_JSON (location_type l)
-  {
-    return symbol_type (token::TOKEN_JSON, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_JSON (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_JSON, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_WHEN_PRESENT (location_type l)
-  {
-    return symbol_type (token::TOKEN_WHEN_PRESENT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_WHEN_PRESENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_WHEN_PRESENT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NEVER (location_type l)
-  {
-    return symbol_type (token::TOKEN_NEVER, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NEVER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_NEVER, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ALWAYS (location_type l)
-  {
-    return symbol_type (token::TOKEN_ALWAYS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ALWAYS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_ALWAYS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_WHEN_NOT_PRESENT (location_type l)
-  {
-    return symbol_type (token::TOKEN_WHEN_NOT_PRESENT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_WHEN_NOT_PRESENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_WHEN_NOT_PRESENT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTNAME_CHAR_SET (location_type l)
-  {
-    return symbol_type (token::TOKEN_HOSTNAME_CHAR_SET, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTNAME_CHAR_SET (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOSTNAME_CHAR_SET, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTNAME_CHAR_REPLACEMENT (location_type l)
-  {
-    return symbol_type (token::TOKEN_HOSTNAME_CHAR_REPLACEMENT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTNAME_CHAR_REPLACEMENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_HOSTNAME_CHAR_REPLACEMENT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LOGGING (location_type l)
-  {
-    return symbol_type (token::TOKEN_LOGGING, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LOGGING (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LOGGING, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LOGGERS (location_type l)
-  {
-    return symbol_type (token::TOKEN_LOGGERS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LOGGERS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_LOGGERS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OUTPUT_OPTIONS (location_type l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT_OPTIONS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OUTPUT_OPTIONS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT_OPTIONS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OUTPUT (location_type l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OUTPUT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DEBUGLEVEL (location_type l)
-  {
-    return symbol_type (token::TOKEN_DEBUGLEVEL, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DEBUGLEVEL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DEBUGLEVEL, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SEVERITY (location_type l)
-  {
-    return symbol_type (token::TOKEN_SEVERITY, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SEVERITY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SEVERITY, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_FLUSH (location_type l)
-  {
-    return symbol_type (token::TOKEN_FLUSH, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_FLUSH (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_FLUSH, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAXSIZE (location_type l)
-  {
-    return symbol_type (token::TOKEN_MAXSIZE, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAXSIZE (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAXSIZE, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAXVER (location_type l)
-  {
-    return symbol_type (token::TOKEN_MAXVER, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAXVER (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_MAXVER, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP6 (location_type l)
-  {
-    return symbol_type (token::TOKEN_DHCP6, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP6 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCP6, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCPDDNS (location_type l)
-  {
-    return symbol_type (token::TOKEN_DHCPDDNS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCPDDNS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_DHCPDDNS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONTROL_AGENT (location_type l)
-  {
-    return symbol_type (token::TOKEN_CONTROL_AGENT, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONTROL_AGENT (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_CONTROL_AGENT, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TOPLEVEL_JSON (location_type l)
-  {
-    return symbol_type (token::TOKEN_TOPLEVEL_JSON, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TOPLEVEL_JSON (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TOPLEVEL_JSON, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TOPLEVEL_DHCP4 (location_type l)
-  {
-    return symbol_type (token::TOKEN_TOPLEVEL_DHCP4, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TOPLEVEL_DHCP4 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_TOPLEVEL_DHCP4, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_DHCP4 (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_DHCP4, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_DHCP4 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_DHCP4, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_INTERFACES4 (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_INTERFACES4, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_INTERFACES4 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_INTERFACES4, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_SUBNET4 (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_SUBNET4, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_SUBNET4 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_SUBNET4, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_POOL4 (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_POOL4, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_POOL4 (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_POOL4, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_RESERVATION (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_RESERVATION, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_RESERVATION (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_RESERVATION, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_OPTION_DEFS (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_OPTION_DEFS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_OPTION_DEFS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_OPTION_DEFS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_OPTION_DEF (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_OPTION_DEF, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_OPTION_DEF (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_OPTION_DEF, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_OPTION_DATA (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_OPTION_DATA, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_OPTION_DATA (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_OPTION_DATA, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_HOOKS_LIBRARY (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_HOOKS_LIBRARY, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_HOOKS_LIBRARY (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_HOOKS_LIBRARY, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_DHCP_DDNS (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_DHCP_DDNS, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_DHCP_DDNS (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_DHCP_DDNS, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_LOGGING (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_LOGGING, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_LOGGING (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_LOGGING, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_CONFIG_CONTROL (location_type l)
-  {
-    return symbol_type (token::TOKEN_SUB_CONFIG_CONTROL, std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_CONFIG_CONTROL (const location_type& l)
-  {
-    return symbol_type (token::TOKEN_SUB_CONFIG_CONTROL, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_STRING (std::string v, location_type l)
-  {
-    return symbol_type (token::TOKEN_STRING, std::move (v), std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_STRING (const std::string& v, const location_type& l)
-  {
-    return symbol_type (token::TOKEN_STRING, v, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_INTEGER (int64_t v, location_type l)
-  {
-    return symbol_type (token::TOKEN_INTEGER, std::move (v), std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_INTEGER (const int64_t& v, const location_type& l)
-  {
-    return symbol_type (token::TOKEN_INTEGER, v, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_FLOAT (double v, location_type l)
-  {
-    return symbol_type (token::TOKEN_FLOAT, std::move (v), std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_FLOAT (const double& v, const location_type& l)
-  {
-    return symbol_type (token::TOKEN_FLOAT, v, l);
-  }
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_BOOLEAN (bool v, location_type l)
-  {
-    return symbol_type (token::TOKEN_BOOLEAN, std::move (v), std::move (l));
-  }
-#else
-  inline
-  Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_BOOLEAN (const bool& v, const location_type& l)
-  {
-    return symbol_type (token::TOKEN_BOOLEAN, v, l);
-  }
-#endif
 
-#line 14 "dhcp4_parser.yy" // lalr1.cc:404
+#line 14 "dhcp4_parser.yy" // lalr1.cc:401
 } } // isc::dhcp
-#line 5606 "dhcp4_parser.h" // lalr1.cc:404
+#line 4120 "dhcp4_parser.h" // lalr1.cc:401
 
 
 
index 4fe0a376d7414d0e8ec9e45faccf78dcb83f8ff0..663585da0caba8d85f5cf221eff2ba3f6dae417e 100644 (file)
@@ -1,9 +1,9 @@
-// Generated 201901101446
-// A Bison parser, made by GNU Bison 3.2.4.
+// Generated 201902061317
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Locations for Bison parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
index 213f63e420722062438125dcfc23e4f34e67016a..26649acbba800579d46a994e30ba87b484d0637c 100644 (file)
@@ -1,5 +1,5 @@
-// Generated 201901101446
-// A Bison parser, made by GNU Bison 3.2.4.
+// Generated 201902061317
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Starting with Bison 3.2, this file is useless: the structure it
 // used to define is now defined in "location.hh".
index da3803f53c14aefdd377db1453683a4c5597f41a..96e3dac018b358d652e560a6a552dbfde1fb36ac 100644 (file)
@@ -1,5 +1,5 @@
-// Generated 201901101446
-// A Bison parser, made by GNU Bison 3.2.4.
+// Generated 201902061317
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Starting with Bison 3.2, this file is useless: the structure it
 // used to define is now defined with the parser itself.
index 4b51c72fc19d6ea121ebcb9207de9b1645e13049..902ceb1a2621e4c44f06d1fa80f38d1cf42e3b86 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.2.1.
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Skeleton implementation for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
 
 
 // Unqualified %code blocks.
-#line 34 "dhcp6_parser.yy" // lalr1.cc:438
+#line 34 "dhcp6_parser.yy" // lalr1.cc:435
 
 #include <dhcp6/parser_context.h>
 
-#line 51 "dhcp6_parser.cc" // lalr1.cc:438
+#line 51 "dhcp6_parser.cc" // lalr1.cc:435
 
 
 #ifndef YY_
@@ -88,7 +88,7 @@
         {                                                               \
           (Current).begin = (Current).end = YYRHSLOC (Rhs, 0).end;      \
         }                                                               \
-    while (/*CONSTCOND*/ false)
+    while (false)
 # endif
 
 
 #define YYERROR         goto yyerrorlab
 #define YYRECOVERING()  (!!yyerrstatus_)
 
-#line 14 "dhcp6_parser.yy" // lalr1.cc:513
+#line 14 "dhcp6_parser.yy" // lalr1.cc:510
 namespace isc { namespace dhcp {
-#line 146 "dhcp6_parser.cc" // lalr1.cc:513
+#line 146 "dhcp6_parser.cc" // lalr1.cc:510
 
   /* Return YYSTR after stripping away unnecessary quotes and
      backslashes, so that it's suitable for yyerror.  The heuristic is
@@ -154,7 +154,7 @@ namespace isc { namespace dhcp {
   {
     if (*yystr == '"')
       {
-        std::string yyr = "";
+        std::string yyr;
         char const *yyp = yystr;
 
         for (;;)
@@ -167,7 +167,10 @@ namespace isc { namespace dhcp {
             case '\\':
               if (*++yyp != '\\')
                 goto do_not_strip_quotes;
-              // Fall through.
+              else
+                goto append;
+
+            append:
             default:
               yyr += *yyp;
               break;
@@ -195,6 +198,8 @@ namespace isc { namespace dhcp {
   Dhcp6Parser::~Dhcp6Parser ()
   {}
 
+  Dhcp6Parser::syntax_error::~syntax_error () YY_NOEXCEPT YY_NOTHROW
+  {}
 
   /*---------------.
   | Symbol types.  |
@@ -203,16 +208,16 @@ namespace isc { namespace dhcp {
 
 
   // by_state.
-  Dhcp6Parser::by_state::by_state ()
+  Dhcp6Parser::by_state::by_state () YY_NOEXCEPT
     : state (empty_state)
   {}
 
-  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)
   {}
 
   void
-  Dhcp6Parser::by_state::clear ()
+  Dhcp6Parser::by_state::clear () YY_NOEXCEPT
   {
     state = empty_state;
   }
@@ -224,12 +229,12 @@ namespace isc { namespace dhcp {
     that.clear ();
   }
 
-  Dhcp6Parser::by_state::by_state (state_type s)
+  Dhcp6Parser::by_state::by_state (state_type s) YY_NOEXCEPT
     : state (s)
   {}
 
   Dhcp6Parser::symbol_number_type
-  Dhcp6Parser::by_state::type_get () const
+  Dhcp6Parser::by_state::type_get () const YY_NOEXCEPT
   {
     if (state == empty_state)
       return empty_symbol;
@@ -381,93 +386,83 @@ namespace isc { namespace dhcp {
     std::ostream& yyoutput = yyo;
     YYUSE (yyoutput);
     symbol_number_type yytype = yysym.type_get ();
+#if defined __GNUC__ && ! defined __clang__ && ! defined __ICC && __GNUC__ * 100 + __GNUC_MINOR__ <= 408
     // Avoid a (spurious) G++ 4.8 warning about "array subscript is
     // below array bounds".
     if (yysym.empty ())
       std::abort ();
+#endif
     yyo << (yytype < yyntokens_ ? "token" : "nterm")
         << ' ' << yytname_[yytype] << " ("
         << yysym.location << ": ";
     switch (yytype)
     {
-            case 170: // "constant string"
-
-#line 248 "dhcp6_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< std::string > (); }
-#line 398 "dhcp6_parser.cc" // lalr1.cc:672
+      case 170: // "constant string"
+#line 248 "dhcp6_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < std::string > (); }
+#line 404 "dhcp6_parser.cc" // lalr1.cc:676
         break;
 
       case 171: // "integer"
-
-#line 248 "dhcp6_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< int64_t > (); }
-#line 405 "dhcp6_parser.cc" // lalr1.cc:672
+#line 248 "dhcp6_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < int64_t > (); }
+#line 410 "dhcp6_parser.cc" // lalr1.cc:676
         break;
 
       case 172: // "floating point"
-
-#line 248 "dhcp6_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< double > (); }
-#line 412 "dhcp6_parser.cc" // lalr1.cc:672
+#line 248 "dhcp6_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < double > (); }
+#line 416 "dhcp6_parser.cc" // lalr1.cc:676
         break;
 
       case 173: // "boolean"
-
-#line 248 "dhcp6_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< bool > (); }
-#line 419 "dhcp6_parser.cc" // lalr1.cc:672
+#line 248 "dhcp6_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < bool > (); }
+#line 422 "dhcp6_parser.cc" // lalr1.cc:676
         break;
 
       case 191: // value
-
-#line 248 "dhcp6_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 426 "dhcp6_parser.cc" // lalr1.cc:672
+#line 248 "dhcp6_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 428 "dhcp6_parser.cc" // lalr1.cc:676
         break;
 
       case 195: // map_value
-
-#line 248 "dhcp6_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 433 "dhcp6_parser.cc" // lalr1.cc:672
+#line 248 "dhcp6_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 434 "dhcp6_parser.cc" // lalr1.cc:676
         break;
 
       case 247: // db_type
-
-#line 248 "dhcp6_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 440 "dhcp6_parser.cc" // lalr1.cc:672
+#line 248 "dhcp6_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 440 "dhcp6_parser.cc" // lalr1.cc:676
         break;
 
       case 336: // hr_mode
-
-#line 248 "dhcp6_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 447 "dhcp6_parser.cc" // lalr1.cc:672
+#line 248 "dhcp6_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 446 "dhcp6_parser.cc" // lalr1.cc:676
         break;
 
       case 472: // duid_type
-
-#line 248 "dhcp6_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 454 "dhcp6_parser.cc" // lalr1.cc:672
+#line 248 "dhcp6_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 452 "dhcp6_parser.cc" // lalr1.cc:676
         break;
 
       case 507: // ncr_protocol_value
-
-#line 248 "dhcp6_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 461 "dhcp6_parser.cc" // lalr1.cc:672
+#line 248 "dhcp6_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 458 "dhcp6_parser.cc" // lalr1.cc:676
         break;
 
       case 514: // replace_client_name_value
-
-#line 248 "dhcp6_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 468 "dhcp6_parser.cc" // lalr1.cc:672
+#line 248 "dhcp6_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 464 "dhcp6_parser.cc" // lalr1.cc:676
         break;
 
-
       default:
         break;
     }
@@ -590,17 +585,22 @@ namespace isc { namespace dhcp {
     yystack_.clear ();
     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 << '\n';
 
     // Accept?
     if (yystack_[0].state == yyfinal_)
-      goto yyacceptlab;
+      YYACCEPT;
 
     goto yybackup;
 
-    // Backup.
+
+  /*-----------.
+  | yybackup.  |
+  `-----------*/
   yybackup:
     // Try to take a decision without lookahead.
     yyn = yypact_[yystack_[0].state];
@@ -621,6 +621,7 @@ namespace isc { namespace dhcp {
 #if YY_EXCEPTIONS
         catch (const syntax_error& yyexc)
           {
+            YYCDEBUG << "Caught exception: " << yyexc.what() << '\n';
             error (yyexc);
             goto yyerrlab1;
           }
@@ -652,6 +653,7 @@ namespace isc { namespace dhcp {
     yypush_ ("Shifting", yyn, YY_MOVE (yyla));
     goto yynewstate;
 
+
   /*-----------------------------------------------------------.
   | yydefault -- do the default action for the current state.  |
   `-----------------------------------------------------------*/
@@ -661,8 +663,9 @@ namespace isc { namespace dhcp {
       goto yyerrlab;
     goto yyreduce;
 
+
   /*-----------------------------.
-  | yyreduce -- Do a reduction.  |
+  | yyreduce -- do a reduction.  |
   `-----------------------------*/
   yyreduce:
     yylen = yyr2_[yyn];
@@ -707,8 +710,8 @@ namespace isc { namespace dhcp {
 
       // 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;
       }
 
@@ -721,286 +724,286 @@ namespace isc { namespace dhcp {
           switch (yyn)
             {
   case 2:
-#line 257 "dhcp6_parser.yy" // lalr1.cc:907
+#line 257 "dhcp6_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.NO_KEYWORD; }
-#line 727 "dhcp6_parser.cc" // lalr1.cc:907
+#line 730 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 4:
-#line 258 "dhcp6_parser.yy" // lalr1.cc:907
+#line 258 "dhcp6_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.CONFIG; }
-#line 733 "dhcp6_parser.cc" // lalr1.cc:907
+#line 736 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 6:
-#line 259 "dhcp6_parser.yy" // lalr1.cc:907
+#line 259 "dhcp6_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.DHCP6; }
-#line 739 "dhcp6_parser.cc" // lalr1.cc:907
+#line 742 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 8:
-#line 260 "dhcp6_parser.yy" // lalr1.cc:907
+#line 260 "dhcp6_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.INTERFACES_CONFIG; }
-#line 745 "dhcp6_parser.cc" // lalr1.cc:907
+#line 748 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 10:
-#line 261 "dhcp6_parser.yy" // lalr1.cc:907
+#line 261 "dhcp6_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.SUBNET6; }
-#line 751 "dhcp6_parser.cc" // lalr1.cc:907
+#line 754 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 12:
-#line 262 "dhcp6_parser.yy" // lalr1.cc:907
+#line 262 "dhcp6_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.POOLS; }
-#line 757 "dhcp6_parser.cc" // lalr1.cc:907
+#line 760 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 14:
-#line 263 "dhcp6_parser.yy" // lalr1.cc:907
+#line 263 "dhcp6_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.PD_POOLS; }
-#line 763 "dhcp6_parser.cc" // lalr1.cc:907
+#line 766 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 16:
-#line 264 "dhcp6_parser.yy" // lalr1.cc:907
+#line 264 "dhcp6_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.RESERVATIONS; }
-#line 769 "dhcp6_parser.cc" // lalr1.cc:907
+#line 772 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 18:
-#line 265 "dhcp6_parser.yy" // lalr1.cc:907
+#line 265 "dhcp6_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.DHCP6; }
-#line 775 "dhcp6_parser.cc" // lalr1.cc:907
+#line 778 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 20:
-#line 266 "dhcp6_parser.yy" // lalr1.cc:907
+#line 266 "dhcp6_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.OPTION_DEF; }
-#line 781 "dhcp6_parser.cc" // lalr1.cc:907
+#line 784 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 22:
-#line 267 "dhcp6_parser.yy" // lalr1.cc:907
+#line 267 "dhcp6_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.OPTION_DATA; }
-#line 787 "dhcp6_parser.cc" // lalr1.cc:907
+#line 790 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 24:
-#line 268 "dhcp6_parser.yy" // lalr1.cc:907
+#line 268 "dhcp6_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.HOOKS_LIBRARIES; }
-#line 793 "dhcp6_parser.cc" // lalr1.cc:907
+#line 796 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 26:
-#line 269 "dhcp6_parser.yy" // lalr1.cc:907
+#line 269 "dhcp6_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.DHCP_DDNS; }
-#line 799 "dhcp6_parser.cc" // lalr1.cc:907
+#line 802 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 28:
-#line 270 "dhcp6_parser.yy" // lalr1.cc:907
+#line 270 "dhcp6_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.LOGGING; }
-#line 805 "dhcp6_parser.cc" // lalr1.cc:907
+#line 808 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 30:
-#line 271 "dhcp6_parser.yy" // lalr1.cc:907
+#line 271 "dhcp6_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.CONFIG_CONTROL; }
-#line 811 "dhcp6_parser.cc" // lalr1.cc:907
+#line 814 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 32:
-#line 279 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location))); }
-#line 817 "dhcp6_parser.cc" // lalr1.cc:907
+#line 279 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location))); }
+#line 820 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 33:
-#line 280 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new DoubleElement(yystack_[0].value.as< double > (), ctx.loc2pos(yystack_[0].location))); }
-#line 823 "dhcp6_parser.cc" // lalr1.cc:907
+#line 280 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new DoubleElement(yystack_[0].value.as < double > (), ctx.loc2pos(yystack_[0].location))); }
+#line 826 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 34:
-#line 281 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location))); }
-#line 829 "dhcp6_parser.cc" // lalr1.cc:907
+#line 281 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location))); }
+#line 832 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 35:
-#line 282 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location))); }
-#line 835 "dhcp6_parser.cc" // lalr1.cc:907
+#line 282 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location))); }
+#line 838 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 36:
-#line 283 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new NullElement(ctx.loc2pos(yystack_[0].location))); }
-#line 841 "dhcp6_parser.cc" // lalr1.cc:907
+#line 283 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new NullElement(ctx.loc2pos(yystack_[0].location))); }
+#line 844 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 37:
-#line 284 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 847 "dhcp6_parser.cc" // lalr1.cc:907
+#line 284 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 850 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 38:
-#line 285 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 853 "dhcp6_parser.cc" // lalr1.cc:907
+#line 285 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 856 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 39:
-#line 288 "dhcp6_parser.yy" // lalr1.cc:907
+#line 288 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // 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 862 "dhcp6_parser.cc" // lalr1.cc:907
+#line 865 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 40:
-#line 293 "dhcp6_parser.yy" // lalr1.cc:907
+#line 293 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // 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 873 "dhcp6_parser.cc" // lalr1.cc:907
+#line 876 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 41:
-#line 298 "dhcp6_parser.yy" // lalr1.cc:907
+#line 298 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // 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 883 "dhcp6_parser.cc" // lalr1.cc:907
+#line 886 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 42:
-#line 304 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 889 "dhcp6_parser.cc" // lalr1.cc:907
+#line 304 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 892 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 45:
-#line 311 "dhcp6_parser.yy" // lalr1.cc:907
+#line 311 "dhcp6_parser.yy" // lalr1.cc:919
     {
                   // map containing a single entry
-                  ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
+                  ctx.stack_.back()->set(yystack_[2].value.as < std::string > (), yystack_[0].value.as < ElementPtr > ());
                   }
-#line 898 "dhcp6_parser.cc" // lalr1.cc:907
+#line 901 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 46:
-#line 315 "dhcp6_parser.yy" // lalr1.cc:907
+#line 315 "dhcp6_parser.yy" // lalr1.cc:919
     {
                   // map consisting of a shorter map followed by
                   // comma and string:value
-                  ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
+                  ctx.stack_.back()->set(yystack_[2].value.as < std::string > (), yystack_[0].value.as < ElementPtr > ());
                   }
-#line 908 "dhcp6_parser.cc" // lalr1.cc:907
+#line 911 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 47:
-#line 322 "dhcp6_parser.yy" // lalr1.cc:907
+#line 322 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(l);
 }
-#line 917 "dhcp6_parser.cc" // lalr1.cc:907
+#line 920 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 48:
-#line 325 "dhcp6_parser.yy" // lalr1.cc:907
+#line 325 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // list parsing complete. Put any sanity checking here
 }
-#line 925 "dhcp6_parser.cc" // lalr1.cc:907
+#line 928 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 51:
-#line 333 "dhcp6_parser.yy" // lalr1.cc:907
+#line 333 "dhcp6_parser.yy" // lalr1.cc:919
     {
                   // 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 934 "dhcp6_parser.cc" // lalr1.cc:907
+#line 937 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 52:
-#line 337 "dhcp6_parser.yy" // lalr1.cc:907
+#line 337 "dhcp6_parser.yy" // lalr1.cc:919
     {
                   // 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 943 "dhcp6_parser.cc" // lalr1.cc:907
+#line 946 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 53:
-#line 344 "dhcp6_parser.yy" // lalr1.cc:907
+#line 344 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // List parsing about to start
 }
-#line 951 "dhcp6_parser.cc" // lalr1.cc:907
+#line 954 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 54:
-#line 346 "dhcp6_parser.yy" // lalr1.cc:907
+#line 346 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // list parsing complete. Put any sanity checking here
     //ctx.stack_.pop_back();
 }
-#line 960 "dhcp6_parser.cc" // lalr1.cc:907
+#line 963 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 57:
-#line 355 "dhcp6_parser.yy" // lalr1.cc:907
+#line 355 "dhcp6_parser.yy" // lalr1.cc:919
     {
-                          ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+                          ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
                           ctx.stack_.back()->add(s);
                           }
-#line 969 "dhcp6_parser.cc" // lalr1.cc:907
+#line 972 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 58:
-#line 359 "dhcp6_parser.yy" // lalr1.cc:907
+#line 359 "dhcp6_parser.yy" // lalr1.cc:919
     {
-                          ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+                          ElementPtr s(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
                           ctx.stack_.back()->add(s);
                           }
-#line 978 "dhcp6_parser.cc" // lalr1.cc:907
+#line 981 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 59:
-#line 370 "dhcp6_parser.yy" // lalr1.cc:907
+#line 370 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 989 "dhcp6_parser.cc" // lalr1.cc:907
+#line 992 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 60:
-#line 380 "dhcp6_parser.yy" // lalr1.cc:907
+#line 380 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // 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 1000 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1003 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 61:
-#line 385 "dhcp6_parser.yy" // lalr1.cc:907
+#line 385 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // map parsing completed. If we ever want to do any wrap up
     // (maybe some sanity checking), this would be the best place
@@ -1009,11 +1012,11 @@ namespace isc { namespace dhcp {
     // Dhcp6 is required
     ctx.require("Dhcp6", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
 }
-#line 1013 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1016 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 70:
-#line 408 "dhcp6_parser.yy" // lalr1.cc:907
+#line 408 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // This code is executed when we're about to start parsing
     // the content of the map
@@ -1022,839 +1025,839 @@ namespace isc { namespace dhcp {
     ctx.stack_.push_back(m);
     ctx.enter(ctx.DHCP6);
 }
-#line 1026 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1029 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 71:
-#line 415 "dhcp6_parser.yy" // lalr1.cc:907
+#line 415 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // No global parameter is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1036 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1039 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 72:
-#line 423 "dhcp6_parser.yy" // lalr1.cc:907
+#line 423 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // Parse the Dhcp6 map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1046 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1049 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 73:
-#line 427 "dhcp6_parser.yy" // lalr1.cc:907
+#line 427 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // No global parameter is required
     // parsing completed
 }
-#line 1055 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1058 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 108:
-#line 472 "dhcp6_parser.yy" // lalr1.cc:907
+#line 472 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1064 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1067 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 109:
-#line 477 "dhcp6_parser.yy" // lalr1.cc:907
+#line 477 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1073 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1076 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 110:
-#line 482 "dhcp6_parser.yy" // lalr1.cc:907
+#line 482 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1082 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1085 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 111:
-#line 487 "dhcp6_parser.yy" // lalr1.cc:907
+#line 487 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1091 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1094 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 112:
-#line 492 "dhcp6_parser.yy" // lalr1.cc:907
+#line 492 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1100 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1103 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 113:
-#line 497 "dhcp6_parser.yy" // lalr1.cc:907
+#line 497 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1108 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1111 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 114:
-#line 499 "dhcp6_parser.yy" // lalr1.cc:907
+#line 499 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr stag(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 1118 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1121 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 115:
-#line 505 "dhcp6_parser.yy" // lalr1.cc:907
+#line 505 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 1129 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1132 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 116:
-#line 510 "dhcp6_parser.yy" // lalr1.cc:907
+#line 510 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // No interfaces config param is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1139 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1142 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 117:
-#line 516 "dhcp6_parser.yy" // lalr1.cc:907
+#line 516 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // Parse the interfaces-config map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1149 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1152 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 118:
-#line 520 "dhcp6_parser.yy" // lalr1.cc:907
+#line 520 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // No interfaces config param is required
     // parsing completed
 }
-#line 1158 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1161 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 126:
-#line 536 "dhcp6_parser.yy" // lalr1.cc:907
+#line 536 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 1169 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1172 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 127:
-#line 541 "dhcp6_parser.yy" // lalr1.cc:907
+#line 541 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1178 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1181 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 128:
-#line 546 "dhcp6_parser.yy" // lalr1.cc:907
+#line 546 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1187 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1190 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 129:
-#line 552 "dhcp6_parser.yy" // lalr1.cc:907
+#line 552 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 1198 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1201 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 130:
-#line 557 "dhcp6_parser.yy" // lalr1.cc:907
+#line 557 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // 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 1209 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1212 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 131:
-#line 564 "dhcp6_parser.yy" // lalr1.cc:907
+#line 564 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 1220 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1223 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 132:
-#line 569 "dhcp6_parser.yy" // lalr1.cc:907
+#line 569 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // 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 1231 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1234 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 133:
-#line 576 "dhcp6_parser.yy" // lalr1.cc:907
+#line 576 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 1242 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1245 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 134:
-#line 581 "dhcp6_parser.yy" // lalr1.cc:907
+#line 581 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1251 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1254 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 139:
-#line 594 "dhcp6_parser.yy" // lalr1.cc:907
+#line 594 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1261 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1264 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 140:
-#line 598 "dhcp6_parser.yy" // lalr1.cc:907
+#line 598 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // The type parameter is required
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 1271 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1274 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 161:
-#line 628 "dhcp6_parser.yy" // lalr1.cc:907
+#line 628 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.DATABASE_TYPE);
 }
-#line 1279 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1282 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 162:
-#line 630 "dhcp6_parser.yy" // lalr1.cc:907
+#line 630 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("type", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("type", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1288 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1291 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 163:
-#line 635 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("memfile", ctx.loc2pos(yystack_[0].location))); }
-#line 1294 "dhcp6_parser.cc" // lalr1.cc:907
+#line 635 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("memfile", ctx.loc2pos(yystack_[0].location))); }
+#line 1297 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 164:
-#line 636 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("mysql", ctx.loc2pos(yystack_[0].location))); }
-#line 1300 "dhcp6_parser.cc" // lalr1.cc:907
+#line 636 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("mysql", ctx.loc2pos(yystack_[0].location))); }
+#line 1303 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 165:
-#line 637 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("postgresql", ctx.loc2pos(yystack_[0].location))); }
-#line 1306 "dhcp6_parser.cc" // lalr1.cc:907
+#line 637 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("postgresql", ctx.loc2pos(yystack_[0].location))); }
+#line 1309 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 166:
-#line 638 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("cql", ctx.loc2pos(yystack_[0].location))); }
-#line 1312 "dhcp6_parser.cc" // lalr1.cc:907
+#line 638 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("cql", ctx.loc2pos(yystack_[0].location))); }
+#line 1315 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 167:
-#line 641 "dhcp6_parser.yy" // lalr1.cc:907
+#line 641 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1320 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1323 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 168:
-#line 643 "dhcp6_parser.yy" // lalr1.cc:907
+#line 643 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr user(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr user(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("user", user);
     ctx.leave();
 }
-#line 1330 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1333 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 169:
-#line 649 "dhcp6_parser.yy" // lalr1.cc:907
+#line 649 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1338 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1341 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 170:
-#line 651 "dhcp6_parser.yy" // lalr1.cc:907
+#line 651 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr pwd(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr pwd(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("password", pwd);
     ctx.leave();
 }
-#line 1348 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1351 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 171:
-#line 657 "dhcp6_parser.yy" // lalr1.cc:907
+#line 657 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1356 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1359 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 172:
-#line 659 "dhcp6_parser.yy" // lalr1.cc:907
+#line 659 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr h(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr h(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("host", h);
     ctx.leave();
 }
-#line 1366 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1369 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 173:
-#line 665 "dhcp6_parser.yy" // lalr1.cc:907
+#line 665 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1375 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1378 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 174:
-#line 670 "dhcp6_parser.yy" // lalr1.cc:907
+#line 670 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1383 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1386 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 175:
-#line 672 "dhcp6_parser.yy" // lalr1.cc:907
+#line 672 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr name(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("name", name);
     ctx.leave();
 }
-#line 1393 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1396 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 176:
-#line 678 "dhcp6_parser.yy" // lalr1.cc:907
+#line 678 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1402 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1405 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 177:
-#line 683 "dhcp6_parser.yy" // lalr1.cc:907
+#line 683 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1411 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1414 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 178:
-#line 688 "dhcp6_parser.yy" // lalr1.cc:907
+#line 688 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1420 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1423 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 179:
-#line 693 "dhcp6_parser.yy" // lalr1.cc:907
+#line 693 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1429 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1432 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 180:
-#line 698 "dhcp6_parser.yy" // lalr1.cc:907
+#line 698 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1438 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1441 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 181:
-#line 703 "dhcp6_parser.yy" // lalr1.cc:907
+#line 703 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1447 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1450 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 182:
-#line 708 "dhcp6_parser.yy" // lalr1.cc:907
+#line 708 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1456 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1459 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 183:
-#line 713 "dhcp6_parser.yy" // lalr1.cc:907
+#line 713 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1465 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1468 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 184:
-#line 718 "dhcp6_parser.yy" // lalr1.cc:907
+#line 718 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1473 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1476 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 185:
-#line 720 "dhcp6_parser.yy" // lalr1.cc:907
+#line 720 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr cp(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 1483 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1486 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 186:
-#line 726 "dhcp6_parser.yy" // lalr1.cc:907
+#line 726 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1492 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1495 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 187:
-#line 731 "dhcp6_parser.yy" // lalr1.cc:907
+#line 731 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1500 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1503 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 188:
-#line 733 "dhcp6_parser.yy" // lalr1.cc:907
+#line 733 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr ks(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr ks(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("keyspace", ks);
     ctx.leave();
 }
-#line 1510 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1513 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 189:
-#line 739 "dhcp6_parser.yy" // lalr1.cc:907
+#line 739 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 1521 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1524 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 190:
-#line 744 "dhcp6_parser.yy" // lalr1.cc:907
+#line 744 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1530 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1533 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 194:
-#line 754 "dhcp6_parser.yy" // lalr1.cc:907
+#line 754 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1538 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1541 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 195:
-#line 756 "dhcp6_parser.yy" // lalr1.cc:907
+#line 756 "dhcp6_parser.yy" // lalr1.cc:919
     {
 
-    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 1558 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1561 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 196:
-#line 772 "dhcp6_parser.yy" // lalr1.cc:907
+#line 772 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 1569 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1572 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 197:
-#line 777 "dhcp6_parser.yy" // lalr1.cc:907
+#line 777 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1578 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1581 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 202:
-#line 790 "dhcp6_parser.yy" // lalr1.cc:907
+#line 790 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr duid(new StringElement("duid", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(duid);
 }
-#line 1587 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1590 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 203:
-#line 795 "dhcp6_parser.yy" // lalr1.cc:907
+#line 795 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr duid(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr duid(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(duid);
 }
-#line 1596 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1599 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 204:
-#line 800 "dhcp6_parser.yy" // lalr1.cc:907
+#line 800 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 1607 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1610 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 205:
-#line 805 "dhcp6_parser.yy" // lalr1.cc:907
+#line 805 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1616 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1619 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 211:
-#line 819 "dhcp6_parser.yy" // lalr1.cc:907
+#line 819 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr hwaddr(new StringElement("hw-address", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(hwaddr);
 }
-#line 1625 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1628 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 212:
-#line 824 "dhcp6_parser.yy" // lalr1.cc:907
+#line 824 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr flex_id(new StringElement("flex-id", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(flex_id);
 }
-#line 1634 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1637 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 213:
-#line 831 "dhcp6_parser.yy" // lalr1.cc:907
+#line 831 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 1645 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1648 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 214:
-#line 836 "dhcp6_parser.yy" // lalr1.cc:907
+#line 836 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1654 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1657 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 215:
-#line 841 "dhcp6_parser.yy" // lalr1.cc:907
+#line 841 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 1665 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1668 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 216:
-#line 846 "dhcp6_parser.yy" // lalr1.cc:907
+#line 846 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1674 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1677 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 221:
-#line 859 "dhcp6_parser.yy" // lalr1.cc:907
+#line 859 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1684 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1687 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 222:
-#line 863 "dhcp6_parser.yy" // lalr1.cc:907
+#line 863 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // The library hooks parameter is required
     ctx.require("library", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 1694 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1697 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 223:
-#line 869 "dhcp6_parser.yy" // lalr1.cc:907
+#line 869 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // Parse the hooks-libraries list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1704 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1707 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 224:
-#line 873 "dhcp6_parser.yy" // lalr1.cc:907
+#line 873 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // The library hooks parameter is required
     ctx.require("library", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 1714 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1717 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 230:
-#line 888 "dhcp6_parser.yy" // lalr1.cc:907
+#line 888 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1722 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1725 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 231:
-#line 890 "dhcp6_parser.yy" // lalr1.cc:907
+#line 890 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr lib(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr lib(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("library", lib);
     ctx.leave();
 }
-#line 1732 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1735 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 232:
-#line 896 "dhcp6_parser.yy" // lalr1.cc:907
+#line 896 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1740 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1743 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 233:
-#line 898 "dhcp6_parser.yy" // lalr1.cc:907
+#line 898 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("parameters", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("parameters", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1749 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1752 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 234:
-#line 904 "dhcp6_parser.yy" // lalr1.cc:907
+#line 904 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 1760 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1763 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 235:
-#line 909 "dhcp6_parser.yy" // lalr1.cc:907
+#line 909 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // No expired lease parameter is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1770 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1773 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 244:
-#line 927 "dhcp6_parser.yy" // lalr1.cc:907
+#line 927 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1779 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1782 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 245:
-#line 932 "dhcp6_parser.yy" // lalr1.cc:907
+#line 932 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1788 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1791 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 246:
-#line 937 "dhcp6_parser.yy" // lalr1.cc:907
+#line 937 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1797 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1800 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 247:
-#line 942 "dhcp6_parser.yy" // lalr1.cc:907
+#line 942 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1806 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1809 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 248:
-#line 947 "dhcp6_parser.yy" // lalr1.cc:907
+#line 947 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1815 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1818 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 249:
-#line 952 "dhcp6_parser.yy" // lalr1.cc:907
+#line 952 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 1824 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1827 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 250:
-#line 960 "dhcp6_parser.yy" // lalr1.cc:907
+#line 960 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 1835 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1838 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 251:
-#line 965 "dhcp6_parser.yy" // lalr1.cc:907
+#line 965 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1844 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1847 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 256:
-#line 985 "dhcp6_parser.yy" // lalr1.cc:907
+#line 985 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1854 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1857 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 257:
-#line 989 "dhcp6_parser.yy" // lalr1.cc:907
+#line 989 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // Once we reached this place, the subnet parsing is now complete.
     // If we want to, we can implement default values here.
@@ -1876,267 +1879,267 @@ namespace isc { namespace dhcp {
     ctx.require("subnet", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 1880 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1883 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 258:
-#line 1011 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1011 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // Parse the subnet6 list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1890 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1893 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 259:
-#line 1015 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1015 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // The subnet subnet6 parameter is required
     ctx.require("subnet", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 1900 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1903 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 282:
-#line 1049 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1049 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1908 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1911 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 283:
-#line 1051 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1051 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr subnet(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr subnet(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("subnet", subnet);
     ctx.leave();
 }
-#line 1918 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1921 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 284:
-#line 1057 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1057 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1926 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1929 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 285:
-#line 1059 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1059 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr iface(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr iface(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("interface", iface);
     ctx.leave();
 }
-#line 1936 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1939 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 286:
-#line 1065 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1065 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1944 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1947 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 287:
-#line 1067 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1067 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr iface(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 1954 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1957 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 288:
-#line 1073 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1073 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1962 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1965 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 289:
-#line 1075 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1075 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr cls(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 1972 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1975 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 290:
-#line 1081 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1081 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 1983 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1986 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 291:
-#line 1086 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1086 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1992 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1995 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 292:
-#line 1091 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1091 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.RESERVATION_MODE);
 }
-#line 2000 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2003 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 293:
-#line 1093 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1093 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("reservation-mode", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("reservation-mode", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 2009 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2012 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 294:
-#line 1098 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("disabled", ctx.loc2pos(yystack_[0].location))); }
-#line 2015 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1098 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("disabled", ctx.loc2pos(yystack_[0].location))); }
+#line 2018 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 295:
-#line 1099 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("out-of-pool", ctx.loc2pos(yystack_[0].location))); }
-#line 2021 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1099 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("out-of-pool", ctx.loc2pos(yystack_[0].location))); }
+#line 2024 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 296:
-#line 1100 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("global", ctx.loc2pos(yystack_[0].location))); }
-#line 2027 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1100 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("global", ctx.loc2pos(yystack_[0].location))); }
+#line 2030 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 297:
-#line 1101 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("all", ctx.loc2pos(yystack_[0].location))); }
-#line 2033 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1101 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("all", ctx.loc2pos(yystack_[0].location))); }
+#line 2036 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 298:
-#line 1104 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1104 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 2042 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2045 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 299:
-#line 1109 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1109 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 2051 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2054 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 300:
-#line 1117 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1117 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 2062 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2065 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 301:
-#line 1122 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1122 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2071 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2074 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 306:
-#line 1137 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1137 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2081 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2084 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 307:
-#line 1141 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1141 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 2089 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2092 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 327:
-#line 1172 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1172 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 2100 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2103 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 328:
-#line 1177 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1177 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2109 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2112 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 329:
-#line 1185 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1185 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2118 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2121 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 330:
-#line 1188 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1188 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // parsing completed
 }
-#line 2126 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2129 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 335:
-#line 1204 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1204 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2136 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2139 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 336:
-#line 1208 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1208 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // The name, code and type option def parameters are required.
     ctx.require("name", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
@@ -2144,21 +2147,21 @@ namespace isc { namespace dhcp {
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2148 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2151 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 337:
-#line 1219 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1219 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // Parse the option-def list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2158 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2161 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 338:
-#line 1223 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1223 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // The name, code and type option def parameters are required.
     ctx.require("name", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
@@ -2166,283 +2169,283 @@ namespace isc { namespace dhcp {
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 2170 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2173 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 354:
-#line 1255 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1255 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 2179 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2182 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 356:
-#line 1262 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1262 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2187 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2190 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 357:
-#line 1264 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1264 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr prf(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("type", prf);
     ctx.leave();
 }
-#line 2197 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2200 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 358:
-#line 1270 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1270 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2205 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2208 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 359:
-#line 1272 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1272 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr rtypes(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2215 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2218 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 360:
-#line 1278 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1278 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2223 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2226 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 361:
-#line 1280 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1280 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr space(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr space(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("space", space);
     ctx.leave();
 }
-#line 2233 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2236 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 363:
-#line 1288 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1288 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2241 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2244 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 364:
-#line 1290 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1290 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr encap(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr encap(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("encapsulate", encap);
     ctx.leave();
 }
-#line 2251 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2254 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 365:
-#line 1296 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1296 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 2260 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2263 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 366:
-#line 1305 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1305 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 2271 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2274 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 367:
-#line 1310 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1310 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2280 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2283 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 372:
-#line 1329 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1329 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2290 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2293 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 373:
-#line 1333 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1333 "dhcp6_parser.yy" // lalr1.cc:919
     {
     /// @todo: the code or name parameters are required.
     ctx.stack_.pop_back();
 }
-#line 2299 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2302 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 374:
-#line 1341 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1341 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // Parse the option-data list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2309 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2312 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 375:
-#line 1345 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1345 "dhcp6_parser.yy" // lalr1.cc:919
     {
     /// @todo: the code or name parameters are required.
     // parsing completed
 }
-#line 2318 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2321 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 390:
-#line 1378 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1378 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2326 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2329 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 391:
-#line 1380 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1380 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr data(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr data(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("data", data);
     ctx.leave();
 }
-#line 2336 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2339 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 394:
-#line 1390 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1390 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 2345 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2348 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 395:
-#line 1395 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1395 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 2354 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2357 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 396:
-#line 1403 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1403 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 2365 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2368 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 397:
-#line 1408 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1408 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2374 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2377 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 402:
-#line 1423 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1423 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2384 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2387 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 403:
-#line 1427 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1427 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // The pool parameter is required.
     ctx.require("pool", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2394 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2397 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 404:
-#line 1433 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1433 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // Parse the pool list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2404 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2407 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 405:
-#line 1437 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1437 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // The pool parameter is required.
     ctx.require("pool", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
 }
-#line 2413 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2416 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 415:
-#line 1455 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1455 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2421 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2424 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 416:
-#line 1457 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1457 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr pool(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr pool(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("pool", pool);
     ctx.leave();
 }
-#line 2431 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2434 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 417:
-#line 1463 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1463 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2439 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2442 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 418:
-#line 1465 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1465 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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
@@ -2462,23 +2465,23 @@ namespace isc { namespace dhcp {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 2466 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2469 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 419:
-#line 1488 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1488 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2474 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2477 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 420:
-#line 1490 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1490 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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
@@ -2499,41 +2502,41 @@ namespace isc { namespace dhcp {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 2503 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2506 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 421:
-#line 1518 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1518 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 2514 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2517 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 422:
-#line 1523 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1523 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2523 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2526 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 427:
-#line 1538 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1538 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2533 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2536 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 428:
-#line 1542 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1542 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // The prefix, prefix len and delegated len parameters are required.
     ctx.require("prefix", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
@@ -2541,21 +2544,21 @@ namespace isc { namespace dhcp {
     ctx.require("delegated-len", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2545 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2548 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 429:
-#line 1550 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1550 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // Parse the pd-pool list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2555 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2558 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 430:
-#line 1554 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1554 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // The prefix, prefix len and delegated len parameters are required.
     ctx.require("prefix", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
@@ -2563,546 +2566,546 @@ namespace isc { namespace dhcp {
     ctx.require("delegated-len", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 2567 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2570 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 444:
-#line 1579 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1579 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2575 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2578 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 445:
-#line 1581 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1581 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr prf(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr prf(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("prefix", prf);
     ctx.leave();
 }
-#line 2585 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2588 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 446:
-#line 1587 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1587 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 2594 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2597 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 447:
-#line 1592 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1592 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2602 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2605 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 448:
-#line 1594 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1594 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr prf(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2612 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2615 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 449:
-#line 1600 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1600 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 2621 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2624 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 450:
-#line 1605 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1605 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 2630 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2633 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 451:
-#line 1613 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1613 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 2641 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2644 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 452:
-#line 1618 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1618 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2650 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2653 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 457:
-#line 1631 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1631 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2660 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2663 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 458:
-#line 1635 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1635 "dhcp6_parser.yy" // lalr1.cc:919
     {
     /// @todo: an identifier parameter is required.
     ctx.stack_.pop_back();
 }
-#line 2669 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2672 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 459:
-#line 1640 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1640 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // Parse the reservations list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2679 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2682 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 460:
-#line 1644 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1644 "dhcp6_parser.yy" // lalr1.cc:919
     {
     /// @todo: an identifier parameter is required.
     // parsing completed
 }
-#line 2688 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2691 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 476:
-#line 1671 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1671 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 2699 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2702 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 477:
-#line 1676 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1676 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2708 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2711 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 478:
-#line 1681 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1681 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 2719 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2722 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 479:
-#line 1686 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1686 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2728 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2731 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 480:
-#line 1691 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1691 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2736 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2739 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 481:
-#line 1693 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1693 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr d(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr d(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("duid", d);
     ctx.leave();
 }
-#line 2746 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2749 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 482:
-#line 1699 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1699 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2754 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2757 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 483:
-#line 1701 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1701 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr hw(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2764 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2767 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 484:
-#line 1707 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1707 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2772 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2775 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 485:
-#line 1709 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1709 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr host(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr host(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hostname", host);
     ctx.leave();
 }
-#line 2782 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2785 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 486:
-#line 1715 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1715 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2790 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2793 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 487:
-#line 1717 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1717 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr hw(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2800 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2803 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 488:
-#line 1723 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1723 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 2811 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2814 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 489:
-#line 1728 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1728 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2820 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2823 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 490:
-#line 1736 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1736 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 2831 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2834 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 491:
-#line 1741 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1741 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2840 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2843 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 494:
-#line 1750 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1750 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2848 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2851 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 495:
-#line 1752 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1752 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr addr(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 2858 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2861 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 496:
-#line 1761 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1761 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 2869 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2872 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 497:
-#line 1766 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1766 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2878 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2881 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 500:
-#line 1775 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1775 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2888 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2891 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 501:
-#line 1779 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1779 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // 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 2898 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2901 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 514:
-#line 1804 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1804 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2906 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2909 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 515:
-#line 1806 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1806 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr test(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr test(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("test", test);
     ctx.leave();
 }
-#line 2916 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2919 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 516:
-#line 1812 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1812 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 2925 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2928 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 517:
-#line 1820 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1820 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 2936 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2939 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 518:
-#line 1825 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1825 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // 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 2947 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2950 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 530:
-#line 1847 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1847 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.DUID_TYPE);
 }
-#line 2955 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2958 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 531:
-#line 1849 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1849 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("type", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("type", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 2964 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2967 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 532:
-#line 1854 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("LLT", ctx.loc2pos(yystack_[0].location))); }
-#line 2970 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1854 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("LLT", ctx.loc2pos(yystack_[0].location))); }
+#line 2973 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 533:
-#line 1855 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("EN", ctx.loc2pos(yystack_[0].location))); }
-#line 2976 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1855 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("EN", ctx.loc2pos(yystack_[0].location))); }
+#line 2979 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 534:
-#line 1856 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("LL", ctx.loc2pos(yystack_[0].location))); }
-#line 2982 "dhcp6_parser.cc" // lalr1.cc:907
+#line 1856 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("LL", ctx.loc2pos(yystack_[0].location))); }
+#line 2985 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 535:
-#line 1859 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1859 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 2991 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2994 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 536:
-#line 1864 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1864 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2999 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3002 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 537:
-#line 1866 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1866 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr id(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr id(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("identifier", id);
     ctx.leave();
 }
-#line 3009 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3012 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 538:
-#line 1872 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1872 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 3018 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3021 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 539:
-#line 1877 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1877 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 3027 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3030 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 540:
-#line 1884 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1884 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 3036 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3039 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 541:
-#line 1891 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1891 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 3047 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3050 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 542:
-#line 1896 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1896 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3056 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3059 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 550:
-#line 1912 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1912 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3064 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3067 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 551:
-#line 1914 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1914 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr stype(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 3074 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3077 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 552:
-#line 1920 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1920 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3082 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3085 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 553:
-#line 1922 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1922 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 3092 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3095 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 554:
-#line 1930 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1930 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3100 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3103 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 555:
-#line 1932 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1932 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr qc = yystack_[0].value.as< ElementPtr > ();
+    ElementPtr qc = yystack_[0].value.as < ElementPtr > ();
     ctx.stack_.back()->set("dhcp-queue-control", qc);
 
     // Doing this manually, because dhcp-queue-control
@@ -3136,617 +3139,617 @@ namespace isc { namespace dhcp {
 
     ctx.leave();
 }
-#line 3140 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3143 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 556:
-#line 1970 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1970 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 3151 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3154 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 557:
-#line 1975 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1975 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // 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 3162 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3165 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 558:
-#line 1982 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1982 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // Parse the dhcp-ddns map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3172 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3175 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 559:
-#line 1986 "dhcp6_parser.yy" // lalr1.cc:907
+#line 1986 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // 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 3182 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3185 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 580:
-#line 2016 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2016 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 3191 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3194 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 581:
-#line 2021 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2021 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3199 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3202 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 582:
-#line 2023 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2023 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 3209 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3212 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 583:
-#line 2029 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2029 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3217 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3220 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 584:
-#line 2031 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2031 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 3227 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3230 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 585:
-#line 2037 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2037 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 3236 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3239 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 586:
-#line 2042 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2042 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3244 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3247 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 587:
-#line 2044 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2044 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 3254 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3257 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 588:
-#line 2050 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2050 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 3263 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3266 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 589:
-#line 2055 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2055 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 3272 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3275 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 590:
-#line 2060 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2060 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NCR_PROTOCOL);
 }
-#line 3280 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3283 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 591:
-#line 2062 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2062 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("ncr-protocol", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("ncr-protocol", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3289 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3292 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 592:
-#line 2068 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("UDP", ctx.loc2pos(yystack_[0].location))); }
-#line 3295 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2068 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("UDP", ctx.loc2pos(yystack_[0].location))); }
+#line 3298 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 593:
-#line 2069 "dhcp6_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("TCP", ctx.loc2pos(yystack_[0].location))); }
-#line 3301 "dhcp6_parser.cc" // lalr1.cc:907
+#line 2069 "dhcp6_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("TCP", ctx.loc2pos(yystack_[0].location))); }
+#line 3304 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 594:
-#line 2072 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2072 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NCR_FORMAT);
 }
-#line 3309 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3312 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 595:
-#line 2074 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2074 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr json(new StringElement("JSON", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ncr-format", json);
     ctx.leave();
 }
-#line 3319 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3322 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 596:
-#line 2080 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2080 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 3328 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3331 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 597:
-#line 2085 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2085 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 3337 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3340 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 598:
-#line 2090 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2090 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.REPLACE_CLIENT_NAME);
 }
-#line 3345 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3348 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 599:
-#line 2092 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2092 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("replace-client-name", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("replace-client-name", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3354 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3357 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 600:
-#line 2098 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2098 "dhcp6_parser.yy" // lalr1.cc:919
     {
-      yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("when-present", ctx.loc2pos(yystack_[0].location)));
+      yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("when-present", ctx.loc2pos(yystack_[0].location)));
       }
-#line 3362 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3365 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 601:
-#line 2101 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2101 "dhcp6_parser.yy" // lalr1.cc:919
     {
-      yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("never", ctx.loc2pos(yystack_[0].location)));
+      yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("never", ctx.loc2pos(yystack_[0].location)));
       }
-#line 3370 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3373 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 602:
-#line 2104 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2104 "dhcp6_parser.yy" // lalr1.cc:919
     {
-      yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("always", ctx.loc2pos(yystack_[0].location)));
+      yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("always", ctx.loc2pos(yystack_[0].location)));
       }
-#line 3378 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3381 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 603:
-#line 2107 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2107 "dhcp6_parser.yy" // lalr1.cc:919
     {
-      yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("when-not-present", ctx.loc2pos(yystack_[0].location)));
+      yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("when-not-present", ctx.loc2pos(yystack_[0].location)));
       }
-#line 3386 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3389 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 604:
-#line 2110 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2110 "dhcp6_parser.yy" // lalr1.cc:919
     {
       error(yystack_[0].location, "boolean values for the replace-client-name are "
                 "no longer supported");
       }
-#line 3395 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3398 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 605:
-#line 2116 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2116 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3403 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3406 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 606:
-#line 2118 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2118 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 3413 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3416 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 607:
-#line 2124 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2124 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3421 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3424 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 608:
-#line 2126 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2126 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 3431 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3434 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 609:
-#line 2132 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2132 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3439 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3442 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 610:
-#line 2134 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2134 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 3449 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3452 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 611:
-#line 2142 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2142 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3457 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3460 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 612:
-#line 2144 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2144 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("Dhcp4", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("Dhcp4", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3466 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3469 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 613:
-#line 2149 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2149 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3474 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3477 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 614:
-#line 2151 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2151 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("DhcpDdns", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("DhcpDdns", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3483 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3486 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 615:
-#line 2156 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2156 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3491 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3494 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 616:
-#line 2158 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2158 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("Control-agent", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("Control-agent", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 3500 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3503 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 617:
-#line 2165 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2165 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 3511 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3514 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 618:
-#line 2170 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2170 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // No config control params are required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3521 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3524 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 619:
-#line 2176 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2176 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // Parse the config-control map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3531 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3534 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 620:
-#line 2180 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2180 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // No config_control params are required
     // parsing completed
 }
-#line 3540 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3543 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 624:
-#line 2194 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2194 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 3551 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3554 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 625:
-#line 2199 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2199 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3560 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3563 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 626:
-#line 2209 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2209 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("Logging", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.LOGGING);
 }
-#line 3571 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3574 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 627:
-#line 2214 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2214 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3580 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3583 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 628:
-#line 2219 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2219 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // Parse the Logging map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3590 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3593 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 629:
-#line 2223 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2223 "dhcp6_parser.yy" // lalr1.cc:919
     {
     // parsing completed
 }
-#line 3598 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3601 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 633:
-#line 2239 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2239 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 3609 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3612 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 634:
-#line 2244 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2244 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3618 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3621 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 637:
-#line 2256 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2256 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr l(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(l);
     ctx.stack_.push_back(l);
 }
-#line 3628 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3631 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 638:
-#line 2260 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2260 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 3636 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3639 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 648:
-#line 2277 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2277 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 3645 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3648 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 649:
-#line 2282 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2282 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3653 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3656 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 650:
-#line 2284 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2284 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr sev(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("severity", sev);
     ctx.leave();
 }
-#line 3663 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3666 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 651:
-#line 2290 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2290 "dhcp6_parser.yy" // lalr1.cc:919
     {
     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 3674 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3677 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 652:
-#line 2295 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2295 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3683 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3686 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 655:
-#line 2304 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2304 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 3693 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3696 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 656:
-#line 2308 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2308 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 3701 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3704 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 663:
-#line 2322 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2322 "dhcp6_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3709 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3712 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 664:
-#line 2324 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2324 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr sev(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("output", sev);
     ctx.leave();
 }
-#line 3719 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3722 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 665:
-#line 2330 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2330 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 3728 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3731 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 666:
-#line 2335 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2335 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 3737 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3740 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
   case 667:
-#line 2340 "dhcp6_parser.yy" // lalr1.cc:907
+#line 2340 "dhcp6_parser.yy" // lalr1.cc:919
     {
-    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 3746 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3749 "dhcp6_parser.cc" // lalr1.cc:919
     break;
 
 
-#line 3750 "dhcp6_parser.cc" // lalr1.cc:907
+#line 3753 "dhcp6_parser.cc" // lalr1.cc:919
             default:
               break;
             }
@@ -3754,6 +3757,7 @@ namespace isc { namespace dhcp {
 #if YY_EXCEPTIONS
       catch (const syntax_error& yyexc)
         {
+          YYCDEBUG << "Caught exception: " << yyexc.what() << '\n';
           error (yyexc);
           YYERROR;
         }
@@ -3768,6 +3772,7 @@ namespace isc { namespace dhcp {
     }
     goto yynewstate;
 
+
   /*--------------------------------------.
   | yyerrlab -- here on detecting error.  |
   `--------------------------------------*/
@@ -3804,18 +3809,18 @@ 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;
+
     /* Do not reclaim the symbols of the rule whose action triggered
        this YYERROR.  */
     yypop_ (yylen);
     yylen = 0;
     goto yyerrlab1;
 
+
   /*-------------------------------------------------------------.
   | yyerrlab1 -- common code for both syntax error and YYERROR.  |
   `-------------------------------------------------------------*/
@@ -3856,16 +3861,26 @@ namespace isc { namespace dhcp {
     }
     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);
@@ -5051,10 +5066,10 @@ namespace isc { namespace dhcp {
 #endif // PARSER6_DEBUG
 
 
-#line 14 "dhcp6_parser.yy" // lalr1.cc:1218
+#line 14 "dhcp6_parser.yy" // lalr1.cc:1242
 } } // isc::dhcp
-#line 5057 "dhcp6_parser.cc" // lalr1.cc:1218
-#line 2345 "dhcp6_parser.yy" // lalr1.cc:1219
+#line 5072 "dhcp6_parser.cc" // lalr1.cc:1242
+#line 2345 "dhcp6_parser.yy" // lalr1.cc:1243
 
 
 void
index fc3f9229f7cd7fbb36d29756e662b1c8924a8c15..da5a2d61461fade453b083650937df3deb565c1f 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.2.1.
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Skeleton interface for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
@@ -44,7 +44,7 @@
 #ifndef YY_PARSER6_DHCP6_PARSER_H_INCLUDED
 # define YY_PARSER6_DHCP6_PARSER_H_INCLUDED
 // //                    "%code requires" blocks.
-#line 17 "dhcp6_parser.yy" // lalr1.cc:404
+#line 17 "dhcp6_parser.yy" // lalr1.cc:401
 
 #include <string>
 #include <cc/data.h>
@@ -56,7 +56,7 @@ using namespace isc::dhcp;
 using namespace isc::data;
 using namespace std;
 
-#line 60 "dhcp6_parser.h" // lalr1.cc:404
+#line 60 "dhcp6_parser.h" // lalr1.cc:401
 
 # include <cassert>
 # include <cstdlib> // std::abort
@@ -85,6 +85,22 @@ using namespace std;
 # 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
@@ -162,193 +178,79 @@ using namespace std;
 # endif /* ! defined YYDEBUG */
 #endif  /* ! defined PARSER6_DEBUG */
 
-#line 14 "dhcp6_parser.yy" // lalr1.cc:404
+#line 14 "dhcp6_parser.yy" // lalr1.cc:401
 namespace isc { namespace dhcp {
-#line 168 "dhcp6_parser.h" // lalr1.cc:404
-
-  /// 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::reverse_iterator iterator;
-    typedef typename S::const_reverse_iterator const_iterator;
-    typedef typename S::size_type size_type;
-
-    stack (size_type n = 200)
-      : seq_ (n)
-    {}
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    T&
-    operator[] (size_type i)
-    {
-      return seq_[size () - 1 - i];
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    T&
-    operator[] (int i)
-    {
-      return operator[] (size_type (i));
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    const T&
-    operator[] (size_type i) const
-    {
-      return seq_[size () - 1 - i];
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    const T&
-    operator[] (int i) const
-    {
-      return operator[] (size_type (i));
-    }
+#line 184 "dhcp6_parser.h" // lalr1.cc:401
 
-    /// 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);
-    }
-
-    void
-    pop (int n = 1)
-    {
-      for (; 0 < n; --n)
-        seq_.pop_back ();
-    }
-
-    void
-    clear ()
-    {
-      seq_.clear ();
-    }
-
-    size_type
-    size () const
-    {
-      return seq_.size ();
-    }
-
-    const_iterator
-    begin () const
-    {
-      return seq_.rbegin ();
-    }
-
-    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 <typename T, typename S = stack<T> >
-  class slice
+  /// A Bison parser.
+  class Dhcp6Parser
   {
   public:
-    slice (const S& stack, int range)
-      : stack_ (stack)
-      , range_ (range)
-    {}
-
-    const T&
-    operator[] (int i) const
-    {
-      return stack_[range_ - i];
-    }
-
-  private:
-    const S& stack_;
-    int range_;
-  };
-
-
-
-  /// A char[S] buffer to store and retrieve objects.
+#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 ()
+    semantic_type () YY_NOEXCEPT
       : yybuffer_ ()
       , yytypeid_ (YY_NULLPTR)
     {}
 
     /// Construct and fill.
     template <typename T>
-    variant (YY_RVREF (T) t)
+    semantic_type (YY_RVREF (T) t)
       : yytypeid_ (&typeid (T))
     {
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       new (yyas_<T> ()) T (YY_MOVE (t));
     }
 
     /// Destruction, allowed only if empty.
-    ~variant ()
+    ~semantic_type () YY_NOEXCEPT
     {
       YYASSERT (!yytypeid_);
     }
 
-    /// Instantiate an empty \a T in here.
-    template <typename T>
+# if 201103L <= YY_CPLUSPLUS
+    /// Instantiate a \a T in here from \a t.
+    template <typename T, typename... U>
     T&
-    emplace ()
+    emplace (U&&... u)
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
-      return *new (yyas_<T> ()) T ();
+      return *new (yyas_<T> ()) T (std::forward <U>(u)...);
     }
-
-# if 201103L <= YY_CPLUSPLUS
-    /// Instantiate a \a T in here from \a t.
-    template <typename T, typename U>
+# else
+    /// Instantiate an empty \a T in here.
+    template <typename T>
     T&
-    emplace (U&& u)
+    emplace ()
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
-      return *new (yyas_<T> ()) T (std::forward <U>(u));
+      return *new (yyas_<T> ()) T ();
     }
-# else
+
     /// Instantiate a \a T in here from \a t.
     template <typename T>
     T&
     emplace (const T& t)
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
       return *new (yyas_<T> ()) T (t);
     }
@@ -375,75 +277,75 @@ namespace isc { namespace dhcp {
     /// Accessor to a built \a T.
     template <typename T>
     T&
-    as ()
+    as () YY_NOEXCEPT
     {
       YYASSERT (yytypeid_);
       YYASSERT (*yytypeid_ == typeid (T));
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (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_);
       YYASSERT (*yytypeid_ == typeid (T));
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (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 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> ());
+      YYASSERT (*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& other)
+    move (self_type& that)
     {
 # if 201103L <= YY_CPLUSPLUS
-      emplace<T> (std::move (other.as<T> ()));
+      emplace<T> (std::move (that.as<T> ()));
 # else
       emplace<T> ();
-      swap<T> (other);
+      swap<T> (that);
 # endif
-      other.destroy<T> ();
+      that.destroy<T> ();
     }
 
 # if 201103L <= YY_CPLUSPLUS
-    /// Move the content of \a other to this.
+    /// Move the content of \a that to this.
     template <typename T>
     void
-    move (self_type&& other)
+    move (self_type&& that)
     {
-      emplace<T> (std::move (other.as<T> ()));
-      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)
     {
-      emplace<T> (other.as<T> ());
+      emplace<T> (that.as<T> ());
     }
 
     /// Destroy the stored \a T.
@@ -458,12 +360,12 @@ namespace isc { namespace dhcp {
   private:
     /// Prohibit blind copies.
     self_type& operator= (const self_type&);
-    variant (const self_type&);
+    semantic_type (const self_type&);
 
     /// Accessor to raw memory as \a T.
     template <typename T>
     T*
-    yyas_ ()
+    yyas_ () YY_NOEXCEPT
     {
       void *yyp = yybuffer_.yyraw;
       return static_cast<T*> (yyp);
@@ -472,30 +374,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
     {
@@ -519,10 +403,24 @@ namespace isc { namespace dhcp {
 
       // "constant 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
@@ -532,7 +430,18 @@ 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;
     };
 
@@ -741,53 +650,154 @@ namespace isc { namespace dhcp {
       typedef Base super_type;
 
       /// Default constructor.
-      basic_symbol ();
+      basic_symbol ()
+        : value ()
+        , location ()
+      {}
 
-      /// Move or copy constructor.
-      basic_symbol (YY_RVREF (basic_symbol) other);
+#if 201103L <= YY_CPLUSPLUS
+      /// Move constructor.
+      basic_symbol (basic_symbol&& that);
+#endif
 
+      /// Copy constructor.
+      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);
+#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);
+      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);
+#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);
+      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);
+#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);
+      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);
+#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);
+      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);
+#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);
+      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);
+#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);
+      basic_symbol (typename Base::kind_type t, const std::string& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
 #endif
 
-
       /// Destroy the symbol.
-      ~basic_symbol ();
+      ~basic_symbol ()
+      {
+        clear ();
+      }
 
       /// Destroy contents, and record that is empty.
-      void clear ();
+      void 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 191: // value
+      case 195: // map_value
+      case 247: // db_type
+      case 336: // hr_mode
+      case 472: // duid_type
+      case 507: // ncr_protocol_value
+      case 514: // replace_client_name_value
+        value.template destroy< ElementPtr > ();
+        break;
+
+      case 173: // "boolean"
+        value.template destroy< bool > ();
+        break;
+
+      case 172: // "floating point"
+        value.template destroy< double > ();
+        break;
+
+      case 171: // "integer"
+        value.template destroy< int64_t > ();
+        break;
+
+      case 170: // "constant string"
+        value.template destroy< std::string > ();
+        break;
+
+      default:
+        break;
+    }
+
+        Base::clear ();
+      }
 
       /// Whether empty.
-      bool empty () const;
+      bool empty () const YY_NOEXCEPT;
 
       /// Destructive move, \a s is emptied into this.
       void move (basic_symbol& s);
@@ -801,7 +811,7 @@ namespace isc { namespace dhcp {
     private:
 #if YY_CPLUSPLUS < 201103L
       /// Assignment operator.
-      basic_symbol& operator= (const basic_symbol& other);
+      basic_symbol& operator= (const basic_symbol& that);
 #endif
     };
 
@@ -811,8 +821,13 @@ namespace isc { namespace dhcp {
       /// Default constructor.
       by_type ();
 
+#if 201103L <= YY_CPLUSPLUS
+      /// Move constructor.
+      by_type (by_type&& that);
+#endif
+
       /// Copy constructor.
-      by_type (const by_type& other);
+      by_type (const by_type& that);
 
       /// The symbol type as needed by the constructor.
       typedef token_type kind_type;
@@ -828,10 +843,10 @@ namespace isc { namespace dhcp {
 
       /// The (internal) type number (corresponding to \a type).
       /// \a empty when empty.
-      symbol_number_type type_get () const;
+      symbol_number_type type_get () const YY_NOEXCEPT;
 
       /// The token.
-      token_type token () const;
+      token_type token () const YY_NOEXCEPT;
 
       /// The symbol type.
       /// \a empty_symbol when empty.
@@ -840,7 +855,81 @@ namespace isc { namespace dhcp {
     };
 
     /// "External" symbols: returned by the scanner.
-    typedef basic_symbol<by_type> symbol_type;
+    struct symbol_type : basic_symbol<by_type>
+    {
+      /// Superclass.
+      typedef basic_symbol<by_type> super_type;
+
+      /// Empty symbol.
+      symbol_type () {}
+
+      /// 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))
+      {
+        YYASSERT (tok == token::TOKEN_END || 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_CONFIG_CONTROL || tok == token::TOKEN_CONFIG_DATABASES || 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_REQUEST_TIMEOUT || tok == token::TOKEN_TCP_KEEPALIVE || tok == token::TOKEN_TCP_NODELAY || tok == token::TOKEN_PREFERRED_LIFETIME || tok == token::TOKEN_VALID_LIFETIME || tok == token::TOKEN_RENEW_TIMER || tok == token::TOKEN_REBIND_TIMER || tok == token::TOKEN_DECLINE_PROBATION_PERIOD || tok == token::TOKEN_SERVER_TAG || 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_CONTROL_SOCKET || tok == token::TOKEN_SOCKET_TYPE || tok == token::TOKEN_SOCKET_NAME || tok == token::TOKEN_DHCP_QUEUE_CONTROL || 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_LOGGING || 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_DHCP4 || tok == token::TOKEN_DHCPDDNS || tok == token::TOKEN_CONTROL_AGENT || 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_LOGGING || tok == token::TOKEN_SUB_CONFIG_CONTROL);
+      }
+#else
+      symbol_type (int tok, const location_type& l)
+        : super_type(token_type (tok), l)
+      {
+        YYASSERT (tok == token::TOKEN_END || 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_CONFIG_CONTROL || tok == token::TOKEN_CONFIG_DATABASES || 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_REQUEST_TIMEOUT || tok == token::TOKEN_TCP_KEEPALIVE || tok == token::TOKEN_TCP_NODELAY || tok == token::TOKEN_PREFERRED_LIFETIME || tok == token::TOKEN_VALID_LIFETIME || tok == token::TOKEN_RENEW_TIMER || tok == token::TOKEN_REBIND_TIMER || tok == token::TOKEN_DECLINE_PROBATION_PERIOD || tok == token::TOKEN_SERVER_TAG || 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_CONTROL_SOCKET || tok == token::TOKEN_SOCKET_TYPE || tok == token::TOKEN_SOCKET_NAME || tok == token::TOKEN_DHCP_QUEUE_CONTROL || 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_LOGGING || 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_DHCP4 || tok == token::TOKEN_DHCPDDNS || tok == token::TOKEN_CONTROL_AGENT || 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_LOGGING || 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))
+      {
+        YYASSERT (tok == token::TOKEN_BOOLEAN);
+      }
+#else
+      symbol_type (int tok, const bool& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (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))
+      {
+        YYASSERT (tok == token::TOKEN_FLOAT);
+      }
+#else
+      symbol_type (int tok, const double& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (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))
+      {
+        YYASSERT (tok == token::TOKEN_INTEGER);
+      }
+#else
+      symbol_type (int tok, const int64_t& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (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))
+      {
+        YYASSERT (tok == token::TOKEN_STRING);
+      }
+#else
+      symbol_type (int tok, const std::string& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (tok == token::TOKEN_STRING);
+      }
+#endif
+    };
 
     /// Build a parser object.
     Dhcp6Parser (isc::dhcp::Parser6Context& ctx_yyarg);
@@ -876,2481 +965,3185 @@ namespace isc { namespace dhcp {
     /// Report a syntax error.
     void error (const syntax_error& err);
 
-    // Symbol constructors declarations.
-    static
-    symbol_type
-    make_END (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_COMMA (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_COLON (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LSQUARE_BRACKET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RSQUARE_BRACKET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LCURLY_BRACKET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RCURLY_BRACKET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_NULL_TYPE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DHCP6 (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CONFIG_CONTROL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CONFIG_DATABASES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_INTERFACES_CONFIG (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_INTERFACES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RE_DETECT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LEASE_DATABASE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HOSTS_DATABASE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HOSTS_DATABASES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_TYPE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MEMFILE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MYSQL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_POSTGRESQL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CQL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_USER (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_PASSWORD (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HOST (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_PORT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_PERSIST (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LFC_INTERVAL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_READONLY (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CONNECT_TIMEOUT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CONTACT_POINTS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MAX_RECONNECT_TRIES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RECONNECT_WAIT_TIME (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_KEYSPACE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_REQUEST_TIMEOUT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_TCP_KEEPALIVE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_TCP_NODELAY (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_PREFERRED_LIFETIME (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_VALID_LIFETIME (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RENEW_TIMER (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_REBIND_TIMER (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DECLINE_PROBATION_PERIOD (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SERVER_TAG (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUBNET6 (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_OPTION_DEF (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_OPTION_DATA (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_NAME (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DATA (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CODE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SPACE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CSV_FORMAT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_ALWAYS_SEND (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RECORD_TYPES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_ENCAPSULATE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_ARRAY (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_POOLS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_POOL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_PD_POOLS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_PREFIX (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_PREFIX_LEN (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_EXCLUDED_PREFIX (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_EXCLUDED_PREFIX_LEN (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DELEGATED_LEN (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_USER_CONTEXT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_COMMENT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUBNET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_INTERFACE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_INTERFACE_ID (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_ID (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RAPID_COMMIT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RESERVATION_MODE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DISABLED (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_OUT_OF_POOL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_GLOBAL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_ALL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SHARED_NETWORKS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MAC_SOURCES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RELAY_SUPPLIED_OPTIONS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HOST_RESERVATION_IDENTIFIERS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SANITY_CHECKS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LEASE_CHECKS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CLIENT_CLASSES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_REQUIRE_CLIENT_CLASSES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_TEST (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_ONLY_IF_REQUIRED (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CLIENT_CLASS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RESERVATIONS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_IP_ADDRESSES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_PREFIXES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DUID (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HW_ADDRESS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HOSTNAME (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_FLEX_ID (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RELAY (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_IP_ADDRESS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HOOKS_LIBRARIES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LIBRARY (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_PARAMETERS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_EXPIRED_LEASES_PROCESSING (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RECLAIM_TIMER_WAIT_TIME (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HOLD_RECLAIMED_TIME (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MAX_RECLAIM_LEASES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MAX_RECLAIM_TIME (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_UNWARNED_RECLAIM_CYCLES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SERVER_ID (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LLT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_EN (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_IDENTIFIER (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HTYPE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_TIME (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_ENTERPRISE_ID (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DHCP4O6_PORT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CONTROL_SOCKET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SOCKET_TYPE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SOCKET_NAME (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DHCP_QUEUE_CONTROL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DHCP_DDNS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_ENABLE_UPDATES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_QUALIFYING_SUFFIX (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SERVER_IP (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SERVER_PORT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SENDER_IP (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SENDER_PORT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MAX_QUEUE_SIZE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_NCR_PROTOCOL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_NCR_FORMAT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_OVERRIDE_NO_UPDATE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_OVERRIDE_CLIENT_UPDATE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_REPLACE_CLIENT_NAME (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_GENERATED_PREFIX (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_UDP (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_TCP (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_JSON (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_WHEN_PRESENT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_NEVER (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_ALWAYS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_WHEN_NOT_PRESENT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HOSTNAME_CHAR_SET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HOSTNAME_CHAR_REPLACEMENT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LOGGING (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LOGGERS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_OUTPUT_OPTIONS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_OUTPUT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DEBUGLEVEL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SEVERITY (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_FLUSH (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MAXSIZE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MAXVER (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DHCP4 (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DHCPDDNS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CONTROL_AGENT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_TOPLEVEL_JSON (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_TOPLEVEL_DHCP6 (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUB_DHCP6 (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUB_INTERFACES6 (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUB_SUBNET6 (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUB_POOL6 (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUB_PD_POOL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUB_RESERVATION (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUB_OPTION_DEFS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUB_OPTION_DEF (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUB_OPTION_DATA (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUB_HOOKS_LIBRARY (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUB_DHCP_DDNS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUB_LOGGING (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUB_CONFIG_CONTROL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_STRING (YY_COPY (std::string) v, YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_INTEGER (YY_COPY (int64_t) v, YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_FLOAT (YY_COPY (double) v, YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_BOOLEAN (YY_COPY (bool) v, YY_COPY (location_type) l);
-
-
-
-  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 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 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 yydefact_[];
-
-  // YYPGOTO[NTERM-NUM].
-  static const short yypgoto_[];
-
-  // YYDEFGOTO[NTERM-NUM].
-  static const short 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 yytable_[];
-
-  static const short yycheck_[];
-
-  // YYSTOS[STATE-NUM] -- The (internal number of the) accessing
-  // symbol of state STATE-NUM.
-  static const unsigned short yystos_[];
-
-  // YYR1[YYN] -- Symbol number of symbol that rule YYN derives.
-  static const unsigned short 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 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 level.
-    int yydebug_;
-    /// Debug stream.
-    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;
-#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 ();
-      /// 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);
-#endif
-    };
-
-    /// 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 sym  the symbol
-    /// \warning the contents of \a s.value is stolen.
-    void yypush_ (const char* m, YY_MOVE_REF (stack_symbol_type) sym);
-
-    /// 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);
-
-    /// Pop \a n symbols from the stack.
-    void yypop_ (int n = 1);
-
-    /// Constants.
-    enum
-    {
-      yyeof_ = 0,
-      yylast_ = 1020,     ///< Last index in yytable_.
-      yynnts_ = 389,  ///< Number of nonterminal symbols.
-      yyfinal_ = 32, ///< Termination state number.
-      yyterror_ = 1,
-      yyerrcode_ = 256,
-      yyntokens_ = 174  ///< 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
-    };
-    const unsigned user_token_number_max_ = 428;
-    const token_number_type undef_token_ = 2;
-
-    if (static_cast<int> (t) <= yyeof_)
-      return yyeof_;
-    else if (static_cast<unsigned> (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>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol ()
-    : value ()
-    , location ()
-  {}
-
-  template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (YY_RVREF (basic_symbol) other)
-    : Base (YY_MOVE (other))
-    , value ()
-    , location (YY_MOVE (other.location))
-  {
-    switch (other.type_get ())
-    {
-      case 191: // value
-      case 195: // map_value
-      case 247: // db_type
-      case 336: // hr_mode
-      case 472: // duid_type
-      case 507: // ncr_protocol_value
-      case 514: // replace_client_name_value
-        value.YY_MOVE_OR_COPY< ElementPtr > (YY_MOVE (other.value));
-        break;
-
-      case 173: // "boolean"
-        value.YY_MOVE_OR_COPY< bool > (YY_MOVE (other.value));
-        break;
-
-      case 172: // "floating point"
-        value.YY_MOVE_OR_COPY< double > (YY_MOVE (other.value));
-        break;
-
-      case 171: // "integer"
-        value.YY_MOVE_OR_COPY< int64_t > (YY_MOVE (other.value));
-        break;
-
-      case 170: // "constant string"
-        value.YY_MOVE_OR_COPY< std::string > (YY_MOVE (other.value));
-        break;
-
-      default:
-        break;
-    }
-
-  }
-
-
-  // Implementation of basic_symbol constructor for each type.
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, location_type&& l)
-    : Base (t)
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const location_type& l)
-    : Base (t)
-    , location (l)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, ElementPtr&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  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)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, bool&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  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)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, double&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  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)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, int64_t&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  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)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, std::string&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  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)
-  {}
-#endif
-
-
-  template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::~basic_symbol ()
-  {
-    clear ();
-  }
-
-  template <typename Base>
-  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 191: // value
-      case 195: // map_value
-      case 247: // db_type
-      case 336: // hr_mode
-      case 472: // duid_type
-      case 507: // ncr_protocol_value
-      case 514: // replace_client_name_value
-        value.template destroy< ElementPtr > ();
-        break;
-
-      case 173: // "boolean"
-        value.template destroy< bool > ();
-        break;
-
-      case 172: // "floating point"
-        value.template destroy< double > ();
-        break;
-
-      case 171: // "integer"
-        value.template destroy< int64_t > ();
-        break;
-
-      case 170: // "constant string"
-        value.template destroy< std::string > ();
-        break;
-
-      default:
-        break;
-    }
-
-    Base::clear ();
-  }
-
-  template <typename Base>
-  bool
-  Dhcp6Parser::basic_symbol<Base>::empty () const
-  {
-    return Base::type_get () == empty_symbol;
-  }
-
-  template <typename Base>
-  void
-  Dhcp6Parser::basic_symbol<Base>::move (basic_symbol& s)
-  {
-    super_type::move (s);
-    switch (this->type_get ())
-    {
-      case 191: // value
-      case 195: // map_value
-      case 247: // db_type
-      case 336: // hr_mode
-      case 472: // duid_type
-      case 507: // ncr_protocol_value
-      case 514: // replace_client_name_value
-        value.move< ElementPtr > (YY_MOVE (s.value));
-        break;
-
-      case 173: // "boolean"
-        value.move< bool > (YY_MOVE (s.value));
-        break;
-
-      case 172: // "floating point"
-        value.move< double > (YY_MOVE (s.value));
-        break;
-
-      case 171: // "integer"
-        value.move< int64_t > (YY_MOVE (s.value));
-        break;
-
-      case 170: // "constant string"
-        value.move< std::string > (YY_MOVE (s.value));
-        break;
-
-      default:
-        break;
-    }
-
-    location = YY_MOVE (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
-    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
-    };
-    return static_cast<token_type> (yytoken_number_[type]);
-  }
-
-  // Implementation of make_symbol for each symbol type.
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_END (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_END, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_COMMA (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_COMMA, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_COLON (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_COLON, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LSQUARE_BRACKET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LSQUARE_BRACKET, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RSQUARE_BRACKET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RSQUARE_BRACKET, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LCURLY_BRACKET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LCURLY_BRACKET, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RCURLY_BRACKET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RCURLY_BRACKET, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_NULL_TYPE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_NULL_TYPE, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCP6 (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DHCP6, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONFIG_CONTROL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CONFIG_CONTROL, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONFIG_DATABASES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CONFIG_DATABASES, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_INTERFACES_CONFIG (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_INTERFACES_CONFIG, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_INTERFACES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_INTERFACES, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RE_DETECT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RE_DETECT, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LEASE_DATABASE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LEASE_DATABASE, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOSTS_DATABASE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HOSTS_DATABASE, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOSTS_DATABASES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HOSTS_DATABASES, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TYPE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_TYPE, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MEMFILE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_MEMFILE, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MYSQL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_MYSQL, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_POSTGRESQL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_POSTGRESQL, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CQL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CQL, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_USER (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_USER, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PASSWORD (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_PASSWORD, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOST (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HOST, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PORT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_PORT, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PERSIST (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_PERSIST, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LFC_INTERVAL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LFC_INTERVAL, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_READONLY (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_READONLY, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONNECT_TIMEOUT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CONNECT_TIMEOUT, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONTACT_POINTS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CONTACT_POINTS, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAX_RECONNECT_TRIES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_MAX_RECONNECT_TRIES, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RECONNECT_WAIT_TIME (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RECONNECT_WAIT_TIME, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_KEYSPACE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_KEYSPACE, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_REQUEST_TIMEOUT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_REQUEST_TIMEOUT, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TCP_KEEPALIVE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_TCP_KEEPALIVE, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TCP_NODELAY (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_TCP_NODELAY, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PREFERRED_LIFETIME (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_PREFERRED_LIFETIME, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_VALID_LIFETIME (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_VALID_LIFETIME, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RENEW_TIMER (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RENEW_TIMER, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_REBIND_TIMER (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_REBIND_TIMER, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DECLINE_PROBATION_PERIOD (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DECLINE_PROBATION_PERIOD, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SERVER_TAG (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SERVER_TAG, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUBNET6 (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SUBNET6, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OPTION_DEF (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_OPTION_DEF, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OPTION_DATA (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_OPTION_DATA, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_NAME (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_NAME, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DATA (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DATA, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CODE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CODE, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SPACE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SPACE, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CSV_FORMAT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CSV_FORMAT, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ALWAYS_SEND (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_ALWAYS_SEND, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RECORD_TYPES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RECORD_TYPES, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ENCAPSULATE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_ENCAPSULATE, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ARRAY (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_ARRAY, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_POOLS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_POOLS, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_POOL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_POOL, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PD_POOLS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_PD_POOLS, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PREFIX (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_PREFIX, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PREFIX_LEN (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_PREFIX_LEN, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_EXCLUDED_PREFIX (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_EXCLUDED_PREFIX, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_EXCLUDED_PREFIX_LEN (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_EXCLUDED_PREFIX_LEN, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DELEGATED_LEN (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DELEGATED_LEN, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_USER_CONTEXT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_USER_CONTEXT, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_COMMENT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_COMMENT, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUBNET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SUBNET, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_INTERFACE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_INTERFACE, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_INTERFACE_ID (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_INTERFACE_ID, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ID (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_ID, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RAPID_COMMIT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RAPID_COMMIT, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RESERVATION_MODE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RESERVATION_MODE, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DISABLED (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DISABLED, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OUT_OF_POOL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_OUT_OF_POOL, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_GLOBAL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_GLOBAL, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ALL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_ALL, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SHARED_NETWORKS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SHARED_NETWORKS, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAC_SOURCES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_MAC_SOURCES, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RELAY_SUPPLIED_OPTIONS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RELAY_SUPPLIED_OPTIONS, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOST_RESERVATION_IDENTIFIERS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HOST_RESERVATION_IDENTIFIERS, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SANITY_CHECKS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SANITY_CHECKS, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LEASE_CHECKS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LEASE_CHECKS, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CLIENT_CLASSES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CLIENT_CLASSES, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_REQUIRE_CLIENT_CLASSES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_REQUIRE_CLIENT_CLASSES, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TEST (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_TEST, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ONLY_IF_REQUIRED (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_ONLY_IF_REQUIRED, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CLIENT_CLASS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CLIENT_CLASS, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RESERVATIONS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RESERVATIONS, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_IP_ADDRESSES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_IP_ADDRESSES, YY_MOVE (l));
-  }
-
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PREFIXES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_PREFIXES, YY_MOVE (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
+#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_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_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_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_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_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_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_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_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_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_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_LOGGING (location_type l)
+      {
+        return symbol_type (token::TOKEN_LOGGING, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LOGGING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LOGGING, 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_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_DHCPDDNS (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCPDDNS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCPDDNS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCPDDNS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CONTROL_AGENT (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONTROL_AGENT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONTROL_AGENT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONTROL_AGENT, 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_LOGGING (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUB_LOGGING, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUB_LOGGING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUB_LOGGING, 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
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DUID (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DUID, YY_MOVE (l));
-  }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HW_ADDRESS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HW_ADDRESS, YY_MOVE (l));
-  }
+  private:
+    /// This class is not copyable.
+    Dhcp6Parser (const Dhcp6Parser&);
+    Dhcp6Parser& operator= (const Dhcp6Parser&);
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOSTNAME (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HOSTNAME, YY_MOVE (l));
-  }
+    /// State numbers.
+    typedef int state_type;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_FLEX_ID (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_FLEX_ID, YY_MOVE (l));
-  }
+    /// 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;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RELAY (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RELAY, YY_MOVE (l));
-  }
+    /// 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);
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_IP_ADDRESS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_IP_ADDRESS, YY_MOVE (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);
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOOKS_LIBRARIES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HOOKS_LIBRARIES, YY_MOVE (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);
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LIBRARY (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LIBRARY, YY_MOVE (l));
-  }
+    static const short yypact_ninf_;
+    static const signed char yytable_ninf_;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PARAMETERS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_PARAMETERS, YY_MOVE (l));
-  }
+    /// Convert a scanner token number \a t to a symbol number.
+    static token_number_type yytranslate_ (token_type t);
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_EXPIRED_LEASES_PROCESSING (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_EXPIRED_LEASES_PROCESSING, YY_MOVE (l));
-  }
+    // Tables.
+  // YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
+  // STATE-NUM.
+  static const short yypact_[];
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RECLAIM_TIMER_WAIT_TIME (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RECLAIM_TIMER_WAIT_TIME, YY_MOVE (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 unsigned short yydefact_[];
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME, YY_MOVE (l));
-  }
+  // YYPGOTO[NTERM-NUM].
+  static const short yypgoto_[];
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOLD_RECLAIMED_TIME (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HOLD_RECLAIMED_TIME, YY_MOVE (l));
-  }
+  // YYDEFGOTO[NTERM-NUM].
+  static const short yydefgoto_[];
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAX_RECLAIM_LEASES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_MAX_RECLAIM_LEASES, YY_MOVE (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 unsigned short yytable_[];
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAX_RECLAIM_TIME (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_MAX_RECLAIM_TIME, YY_MOVE (l));
-  }
+  static const short yycheck_[];
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_UNWARNED_RECLAIM_CYCLES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_UNWARNED_RECLAIM_CYCLES, YY_MOVE (l));
-  }
+  // YYSTOS[STATE-NUM] -- The (internal number of the) accessing
+  // symbol of state STATE-NUM.
+  static const unsigned short yystos_[];
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SERVER_ID (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SERVER_ID, YY_MOVE (l));
-  }
+  // YYR1[YYN] -- Symbol number of symbol that rule YYN derives.
+  static const unsigned short yyr1_[];
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LLT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LLT, YY_MOVE (l));
-  }
+  // YYR2[YYN] -- Number of symbols on the right hand side of rule YYN.
+  static const unsigned char yyr2_[];
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_EN (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_EN, YY_MOVE (l));
-  }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LL, YY_MOVE (l));
-  }
+    /// Convert the symbol name \a n to a form suitable for a diagnostic.
+    static std::string yytnamerr_ (const char *n);
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_IDENTIFIER (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_IDENTIFIER, YY_MOVE (l));
-  }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HTYPE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HTYPE, YY_MOVE (l));
-  }
+    /// 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 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_ ();
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TIME (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_TIME, YY_MOVE (l));
-  }
+    /// Debugging level.
+    int yydebug_;
+    /// Debug stream.
+    std::ostream* yycdebug_;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ENTERPRISE_ID (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_ENTERPRISE_ID, YY_MOVE (l));
-  }
+    /// \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;
+#endif
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCP4O6_PORT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DHCP4O6_PORT, YY_MOVE (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;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONTROL_SOCKET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CONTROL_SOCKET, YY_MOVE (l));
-  }
+  private:
+    /// Type access provider for state based symbols.
+    struct by_state
+    {
+      /// Default constructor.
+      by_state () YY_NOEXCEPT;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SOCKET_TYPE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_TYPE, YY_MOVE (l));
-  }
+      /// The symbol type as needed by the constructor.
+      typedef state_type kind_type;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SOCKET_NAME (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_NAME, YY_MOVE (l));
-  }
+      /// Constructor.
+      by_state (kind_type s) YY_NOEXCEPT;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCP_QUEUE_CONTROL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DHCP_QUEUE_CONTROL, YY_MOVE (l));
-  }
+      /// Copy constructor.
+      by_state (const by_state& that) YY_NOEXCEPT;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCP_DDNS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DHCP_DDNS, YY_MOVE (l));
-  }
+      /// Record that this symbol is empty.
+      void clear () YY_NOEXCEPT;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ENABLE_UPDATES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_ENABLE_UPDATES, YY_MOVE (l));
-  }
+      /// Steal the symbol type from \a that.
+      void move (by_state& that);
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_QUALIFYING_SUFFIX (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_QUALIFYING_SUFFIX, YY_MOVE (l));
-  }
+      /// The (internal) type number (corresponding to \a state).
+      /// \a empty_symbol when empty.
+      symbol_number_type type_get () const YY_NOEXCEPT;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SERVER_IP (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SERVER_IP, YY_MOVE (l));
-  }
+      /// The state number used to denote an empty symbol.
+      enum { empty_state = -1 };
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SERVER_PORT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SERVER_PORT, YY_MOVE (l));
-  }
+      /// The state.
+      /// \a empty when empty.
+      state_type state;
+    };
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SENDER_IP (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SENDER_IP, YY_MOVE (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);
+#endif
+    };
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SENDER_PORT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SENDER_PORT, YY_MOVE (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::reverse_iterator iterator;
+      typedef typename S::const_reverse_iterator const_iterator;
+      typedef typename S::size_type size_type;
+
+      stack (size_type n = 200)
+        : seq_ (n)
+      {}
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      T&
+      operator[] (size_type i)
+      {
+        return seq_[size () - 1 - i];
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      T&
+      operator[] (int i)
+      {
+        return operator[] (size_type (i));
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      const T&
+      operator[] (size_type i) const
+      {
+        return seq_[size () - 1 - i];
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      const T&
+      operator[] (int i) const
+      {
+        return operator[] (size_type (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);
+      }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAX_QUEUE_SIZE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_MAX_QUEUE_SIZE, YY_MOVE (l));
-  }
+      /// Pop elements from the stack.
+      void
+      pop (int n = 1) YY_NOEXCEPT
+      {
+        for (; 0 < n; --n)
+          seq_.pop_back ();
+      }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_NCR_PROTOCOL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_NCR_PROTOCOL, YY_MOVE (l));
-  }
+      /// Pop all elements from the stack.
+      void
+      clear () YY_NOEXCEPT
+      {
+        seq_.clear ();
+      }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_NCR_FORMAT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_NCR_FORMAT, YY_MOVE (l));
-  }
+      /// Number of elements on the stack.
+      size_type
+      size () const YY_NOEXCEPT
+      {
+        return seq_.size ();
+      }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OVERRIDE_NO_UPDATE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_OVERRIDE_NO_UPDATE, YY_MOVE (l));
-  }
+      /// Iterator on top of the stack (going downwards).
+      const_iterator
+      begin () const YY_NOEXCEPT
+      {
+        return seq_.rbegin ();
+      }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OVERRIDE_CLIENT_UPDATE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_OVERRIDE_CLIENT_UPDATE, YY_MOVE (l));
-  }
+      /// Bottom of the stack.
+      const_iterator
+      end () const YY_NOEXCEPT
+      {
+        return seq_.rend ();
+      }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_REPLACE_CLIENT_NAME (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_REPLACE_CLIENT_NAME, YY_MOVE (l));
-  }
+      /// Present a slice of the top of a stack.
+      class slice
+      {
+      public:
+        slice (const stack& stack, int range)
+          : stack_ (stack)
+          , range_ (range)
+        {}
+
+        const T&
+        operator[] (int i) const
+        {
+          return stack_[range_ - i];
+        }
+
+      private:
+        const stack& stack_;
+        int range_;
+      };
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_GENERATED_PREFIX (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_GENERATED_PREFIX, YY_MOVE (l));
-  }
+    private:
+      stack (const stack&);
+      stack& operator= (const stack&);
+      /// The wrapped container.
+      S seq_;
+    };
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_UDP (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_UDP, YY_MOVE (l));
-  }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TCP (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_TCP, YY_MOVE (l));
-  }
+    /// Stack type.
+    typedef stack<stack_symbol_type> stack_type;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_JSON (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_JSON, YY_MOVE (l));
-  }
+    /// The stack.
+    stack_type yystack_;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_WHEN_PRESENT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_WHEN_PRESENT, YY_MOVE (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);
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_NEVER (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_NEVER, YY_MOVE (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);
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ALWAYS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_ALWAYS, YY_MOVE (l));
-  }
+    /// Pop \a n symbols from the stack.
+    void yypop_ (int n = 1);
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_WHEN_NOT_PRESENT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_WHEN_NOT_PRESENT, YY_MOVE (l));
-  }
+    /// Constants.
+    enum
+    {
+      yyeof_ = 0,
+      yylast_ = 1020,     ///< Last index in yytable_.
+      yynnts_ = 389,  ///< Number of nonterminal symbols.
+      yyfinal_ = 32, ///< Termination state number.
+      yyterror_ = 1,
+      yyerrcode_ = 256,
+      yyntokens_ = 174  ///< Number of tokens.
+    };
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOSTNAME_CHAR_SET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HOSTNAME_CHAR_SET, YY_MOVE (l));
-  }
+
+    // User arguments.
+    isc::dhcp::Parser6Context& ctx;
+  };
 
   inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOSTNAME_CHAR_REPLACEMENT (YY_COPY (location_type) l)
+  Dhcp6Parser::token_number_type
+  Dhcp6Parser::yytranslate_ (token_type t)
   {
-    return symbol_type (token::TOKEN_HOSTNAME_CHAR_REPLACEMENT, YY_MOVE (l));
-  }
+    // YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to
+    // TOKEN-NUM as returned by yylex.
+    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
+    };
+    const unsigned user_token_number_max_ = 428;
+    const token_number_type undef_token_ = 2;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LOGGING (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LOGGING, YY_MOVE (l));
+    if (static_cast<int> (t) <= yyeof_)
+      return yyeof_;
+    else if (static_cast<unsigned> (t) <= user_token_number_max_)
+      return translate_table[t];
+    else
+      return undef_token_;
   }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LOGGERS (YY_COPY (location_type) l)
+  // basic_symbol.
+#if 201103L <= YY_CPLUSPLUS
+  template <typename Base>
+  Dhcp6Parser::basic_symbol<Base>::basic_symbol (basic_symbol&& that)
+    : Base (std::move (that))
+    , value ()
+    , location (std::move (that.location))
   {
-    return symbol_type (token::TOKEN_LOGGERS, YY_MOVE (l));
-  }
+    switch (this->type_get ())
+    {
+      case 191: // value
+      case 195: // map_value
+      case 247: // db_type
+      case 336: // hr_mode
+      case 472: // duid_type
+      case 507: // ncr_protocol_value
+      case 514: // replace_client_name_value
+        value.move< ElementPtr > (std::move (that.value));
+        break;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OUTPUT_OPTIONS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT_OPTIONS, YY_MOVE (l));
-  }
+      case 173: // "boolean"
+        value.move< bool > (std::move (that.value));
+        break;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OUTPUT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT, YY_MOVE (l));
-  }
+      case 172: // "floating point"
+        value.move< double > (std::move (that.value));
+        break;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DEBUGLEVEL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DEBUGLEVEL, YY_MOVE (l));
-  }
+      case 171: // "integer"
+        value.move< int64_t > (std::move (that.value));
+        break;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SEVERITY (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SEVERITY, YY_MOVE (l));
-  }
+      case 170: // "constant string"
+        value.move< std::string > (std::move (that.value));
+        break;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_FLUSH (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_FLUSH, YY_MOVE (l));
-  }
+      default:
+        break;
+    }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAXSIZE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_MAXSIZE, YY_MOVE (l));
   }
+#endif
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAXVER (YY_COPY (location_type) l)
+  template <typename Base>
+  Dhcp6Parser::basic_symbol<Base>::basic_symbol (const basic_symbol& that)
+    : Base (that)
+    , value ()
+    , location (that.location)
   {
-    return symbol_type (token::TOKEN_MAXVER, YY_MOVE (l));
-  }
+    switch (this->type_get ())
+    {
+      case 191: // value
+      case 195: // map_value
+      case 247: // db_type
+      case 336: // hr_mode
+      case 472: // duid_type
+      case 507: // ncr_protocol_value
+      case 514: // replace_client_name_value
+        value.copy< ElementPtr > (YY_MOVE (that.value));
+        break;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCP4 (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DHCP4, YY_MOVE (l));
-  }
+      case 173: // "boolean"
+        value.copy< bool > (YY_MOVE (that.value));
+        break;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCPDDNS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DHCPDDNS, YY_MOVE (l));
-  }
+      case 172: // "floating point"
+        value.copy< double > (YY_MOVE (that.value));
+        break;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONTROL_AGENT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CONTROL_AGENT, YY_MOVE (l));
-  }
+      case 171: // "integer"
+        value.copy< int64_t > (YY_MOVE (that.value));
+        break;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TOPLEVEL_JSON (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_TOPLEVEL_JSON, YY_MOVE (l));
-  }
+      case 170: // "constant string"
+        value.copy< std::string > (YY_MOVE (that.value));
+        break;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TOPLEVEL_DHCP6 (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_TOPLEVEL_DHCP6, YY_MOVE (l));
-  }
+      default:
+        break;
+    }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_DHCP6 (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SUB_DHCP6, YY_MOVE (l));
   }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_INTERFACES6 (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SUB_INTERFACES6, YY_MOVE (l));
-  }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_SUBNET6 (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SUB_SUBNET6, YY_MOVE (l));
-  }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_POOL6 (YY_COPY (location_type) l)
+  template <typename Base>
+  bool
+  Dhcp6Parser::basic_symbol<Base>::empty () const YY_NOEXCEPT
   {
-    return symbol_type (token::TOKEN_SUB_POOL6, YY_MOVE (l));
+    return Base::type_get () == empty_symbol;
   }
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_PD_POOL (YY_COPY (location_type) l)
+  template <typename Base>
+  void
+  Dhcp6Parser::basic_symbol<Base>::move (basic_symbol& s)
   {
-    return symbol_type (token::TOKEN_SUB_PD_POOL, YY_MOVE (l));
-  }
+    super_type::move (s);
+    switch (this->type_get ())
+    {
+      case 191: // value
+      case 195: // map_value
+      case 247: // db_type
+      case 336: // hr_mode
+      case 472: // duid_type
+      case 507: // ncr_protocol_value
+      case 514: // replace_client_name_value
+        value.move< ElementPtr > (YY_MOVE (s.value));
+        break;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_RESERVATION (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SUB_RESERVATION, YY_MOVE (l));
-  }
+      case 173: // "boolean"
+        value.move< bool > (YY_MOVE (s.value));
+        break;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_OPTION_DEFS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SUB_OPTION_DEFS, YY_MOVE (l));
-  }
+      case 172: // "floating point"
+        value.move< double > (YY_MOVE (s.value));
+        break;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_OPTION_DEF (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SUB_OPTION_DEF, YY_MOVE (l));
-  }
+      case 171: // "integer"
+        value.move< int64_t > (YY_MOVE (s.value));
+        break;
 
-  inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_OPTION_DATA (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SUB_OPTION_DATA, YY_MOVE (l));
+      case 170: // "constant string"
+        value.move< std::string > (YY_MOVE (s.value));
+        break;
+
+      default:
+        break;
+    }
+
+    location = YY_MOVE (s.location);
   }
 
+  // by_type.
   inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_HOOKS_LIBRARY (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SUB_HOOKS_LIBRARY, YY_MOVE (l));
-  }
+  Dhcp6Parser::by_type::by_type ()
+    : type (empty_symbol)
+  {}
 
+#if 201103L <= YY_CPLUSPLUS
   inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_DHCP_DDNS (YY_COPY (location_type) l)
+  Dhcp6Parser::by_type::by_type (by_type&& that)
+    : type (that.type)
   {
-    return symbol_type (token::TOKEN_SUB_DHCP_DDNS, YY_MOVE (l));
+    that.clear ();
   }
+#endif
 
   inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_LOGGING (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SUB_LOGGING, YY_MOVE (l));
-  }
+  Dhcp6Parser::by_type::by_type (const by_type& that)
+    : type (that.type)
+  {}
 
   inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_CONFIG_CONTROL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SUB_CONFIG_CONTROL, YY_MOVE (l));
-  }
+  Dhcp6Parser::by_type::by_type (token_type t)
+    : type (yytranslate_ (t))
+  {}
 
   inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_STRING (YY_COPY (std::string) v, YY_COPY (location_type) l)
+  void
+  Dhcp6Parser::by_type::clear ()
   {
-    return symbol_type (token::TOKEN_STRING, YY_MOVE (v), YY_MOVE (l));
+    type = empty_symbol;
   }
 
   inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_INTEGER (YY_COPY (int64_t) v, YY_COPY (location_type) l)
+  void
+  Dhcp6Parser::by_type::move (by_type& that)
   {
-    return symbol_type (token::TOKEN_INTEGER, YY_MOVE (v), YY_MOVE (l));
+    type = that.type;
+    that.clear ();
   }
 
   inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_FLOAT (YY_COPY (double) v, YY_COPY (location_type) l)
+  int
+  Dhcp6Parser::by_type::type_get () const YY_NOEXCEPT
   {
-    return symbol_type (token::TOKEN_FLOAT, YY_MOVE (v), YY_MOVE (l));
+    return type;
   }
 
   inline
-  Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_BOOLEAN (YY_COPY (bool) v, YY_COPY (location_type) l)
+  Dhcp6Parser::token_type
+  Dhcp6Parser::by_type::token () const YY_NOEXCEPT
   {
-    return symbol_type (token::TOKEN_BOOLEAN, YY_MOVE (v), YY_MOVE (l));
+    // YYTOKNUM[NUM] -- (External) token number corresponding to the
+    // (internal) symbol number NUM (which must be that of a token).  */
+    static
+    const unsigned short
+    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
+    };
+    return token_type (yytoken_number_[type]);
   }
 
-
-#line 14 "dhcp6_parser.yy" // lalr1.cc:404
+#line 14 "dhcp6_parser.yy" // lalr1.cc:401
 } } // isc::dhcp
-#line 3354 "dhcp6_parser.h" // lalr1.cc:404
+#line 4147 "dhcp6_parser.h" // lalr1.cc:401
 
 
 
index b8566ea6777b2d1dba9e2c177a47646afd1225a4..9e1d9e2b47fa5da54b7f817887b461c65dcb3426 100644 (file)
@@ -1,9 +1,9 @@
-// Generated 201811271343
-// A Bison parser, made by GNU Bison 3.2.1.
+// Generated 201902061317
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Locations for Bison parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
index 86db4af678c46222c27c1ccda32f6bd1c6bae5cb..26649acbba800579d46a994e30ba87b484d0637c 100644 (file)
@@ -1,5 +1,5 @@
-// Generated 201811271343
-// A Bison parser, made by GNU Bison 3.2.1.
+// Generated 201902061317
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Starting with Bison 3.2, this file is useless: the structure it
 // used to define is now defined in "location.hh".
index 64a6403bcecbc741761ab6f0b569a922b45acd2b..96e3dac018b358d652e560a6a552dbfde1fb36ac 100644 (file)
@@ -1,5 +1,5 @@
-// Generated 201811271343
-// A Bison parser, made by GNU Bison 3.2.1.
+// Generated 201902061317
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Starting with Bison 3.2, this file is useless: the structure it
 // used to define is now defined with the parser itself.
index 512cf3f889a88b6f10733d7a499229af82777117..7d07bee884b161328d4b444f272859544233a36f 100644 (file)
@@ -1,9 +1,9 @@
-// Generated 201811271344
-// A Bison parser, made by GNU Bison 3.2.1.
+// Generated 201902061317
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Locations for Bison parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
index 823c6c7431a529d9fc8e1b74416133815e3053c4..3c461fcd60aef0972ac5ed24b45004d9ac3c0cc1 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.2.1.
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Skeleton implementation for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
 
 
 // Unqualified %code blocks.
-#line 33 "netconf_parser.yy" // lalr1.cc:438
+#line 33 "netconf_parser.yy" // lalr1.cc:435
 
 #include <netconf/parser_context.h>
 
-#line 51 "netconf_parser.cc" // lalr1.cc:438
+#line 51 "netconf_parser.cc" // lalr1.cc:435
 
 
 #ifndef YY_
@@ -88,7 +88,7 @@
         {                                                               \
           (Current).begin = (Current).end = YYRHSLOC (Rhs, 0).end;      \
         }                                                               \
-    while (/*CONSTCOND*/ false)
+    while (false)
 # endif
 
 
 #define YYERROR         goto yyerrorlab
 #define YYRECOVERING()  (!!yyerrstatus_)
 
-#line 14 "netconf_parser.yy" // lalr1.cc:513
+#line 14 "netconf_parser.yy" // lalr1.cc:510
 namespace isc { namespace netconf {
-#line 146 "netconf_parser.cc" // lalr1.cc:513
+#line 146 "netconf_parser.cc" // lalr1.cc:510
 
   /* Return YYSTR after stripping away unnecessary quotes and
      backslashes, so that it's suitable for yyerror.  The heuristic is
@@ -154,7 +154,7 @@ namespace isc { namespace netconf {
   {
     if (*yystr == '"')
       {
-        std::string yyr = "";
+        std::string yyr;
         char const *yyp = yystr;
 
         for (;;)
@@ -167,7 +167,10 @@ namespace isc { namespace netconf {
             case '\\':
               if (*++yyp != '\\')
                 goto do_not_strip_quotes;
-              // Fall through.
+              else
+                goto append;
+
+            append:
             default:
               yyr += *yyp;
               break;
@@ -195,6 +198,8 @@ namespace isc { namespace netconf {
   NetconfParser::~NetconfParser ()
   {}
 
+  NetconfParser::syntax_error::~syntax_error () YY_NOEXCEPT YY_NOTHROW
+  {}
 
   /*---------------.
   | Symbol types.  |
@@ -203,16 +208,16 @@ namespace isc { namespace netconf {
 
 
   // by_state.
-  NetconfParser::by_state::by_state ()
+  NetconfParser::by_state::by_state () YY_NOEXCEPT
     : state (empty_state)
   {}
 
-  NetconfParser::by_state::by_state (const by_state& other)
-    : state (other.state)
+  NetconfParser::by_state::by_state (const by_state& that) YY_NOEXCEPT
+    : state (that.state)
   {}
 
   void
-  NetconfParser::by_state::clear ()
+  NetconfParser::by_state::clear () YY_NOEXCEPT
   {
     state = empty_state;
   }
@@ -224,12 +229,12 @@ namespace isc { namespace netconf {
     that.clear ();
   }
 
-  NetconfParser::by_state::by_state (state_type s)
+  NetconfParser::by_state::by_state (state_type s) YY_NOEXCEPT
     : state (s)
   {}
 
   NetconfParser::symbol_number_type
-  NetconfParser::by_state::type_get () const
+  NetconfParser::by_state::type_get () const YY_NOEXCEPT
   {
     if (state == empty_state)
       return empty_symbol;
@@ -369,65 +374,59 @@ namespace isc { namespace netconf {
     std::ostream& yyoutput = yyo;
     YYUSE (yyoutput);
     symbol_number_type yytype = yysym.type_get ();
+#if defined __GNUC__ && ! defined __clang__ && ! defined __ICC && __GNUC__ * 100 + __GNUC_MINOR__ <= 408
     // Avoid a (spurious) G++ 4.8 warning about "array subscript is
     // below array bounds".
     if (yysym.empty ())
       std::abort ();
+#endif
     yyo << (yytype < yyntokens_ ? "token" : "nterm")
         << ' ' << yytname_[yytype] << " ("
         << yysym.location << ": ";
     switch (yytype)
     {
-            case 45: // "constant string"
-
-#line 107 "netconf_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< std::string > (); }
-#line 386 "netconf_parser.cc" // lalr1.cc:672
+      case 45: // "constant string"
+#line 107 "netconf_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < std::string > (); }
+#line 392 "netconf_parser.cc" // lalr1.cc:676
         break;
 
       case 46: // "integer"
-
-#line 107 "netconf_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< int64_t > (); }
-#line 393 "netconf_parser.cc" // lalr1.cc:672
+#line 107 "netconf_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < int64_t > (); }
+#line 398 "netconf_parser.cc" // lalr1.cc:676
         break;
 
       case 47: // "floating point"
-
-#line 107 "netconf_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< double > (); }
-#line 400 "netconf_parser.cc" // lalr1.cc:672
+#line 107 "netconf_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < double > (); }
+#line 404 "netconf_parser.cc" // lalr1.cc:676
         break;
 
       case 48: // "boolean"
-
-#line 107 "netconf_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< bool > (); }
-#line 407 "netconf_parser.cc" // lalr1.cc:672
+#line 107 "netconf_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < bool > (); }
+#line 410 "netconf_parser.cc" // lalr1.cc:676
         break;
 
       case 57: // value
-
-#line 107 "netconf_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 414 "netconf_parser.cc" // lalr1.cc:672
+#line 107 "netconf_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 416 "netconf_parser.cc" // lalr1.cc:676
         break;
 
       case 60: // map_value
-
-#line 107 "netconf_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 421 "netconf_parser.cc" // lalr1.cc:672
+#line 107 "netconf_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 422 "netconf_parser.cc" // lalr1.cc:676
         break;
 
       case 119: // socket_type_value
-
-#line 107 "netconf_parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 428 "netconf_parser.cc" // lalr1.cc:672
+#line 107 "netconf_parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < ElementPtr > (); }
+#line 428 "netconf_parser.cc" // lalr1.cc:676
         break;
 
-
       default:
         break;
     }
@@ -550,17 +549,22 @@ namespace isc { namespace netconf {
     yystack_.clear ();
     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 << '\n';
 
     // Accept?
     if (yystack_[0].state == yyfinal_)
-      goto yyacceptlab;
+      YYACCEPT;
 
     goto yybackup;
 
-    // Backup.
+
+  /*-----------.
+  | yybackup.  |
+  `-----------*/
   yybackup:
     // Try to take a decision without lookahead.
     yyn = yypact_[yystack_[0].state];
@@ -581,6 +585,7 @@ namespace isc { namespace netconf {
 #if YY_EXCEPTIONS
         catch (const syntax_error& yyexc)
           {
+            YYCDEBUG << "Caught exception: " << yyexc.what() << '\n';
             error (yyexc);
             goto yyerrlab1;
           }
@@ -612,6 +617,7 @@ namespace isc { namespace netconf {
     yypush_ ("Shifting", yyn, YY_MOVE (yyla));
     goto yynewstate;
 
+
   /*-----------------------------------------------------------.
   | yydefault -- do the default action for the current state.  |
   `-----------------------------------------------------------*/
@@ -621,8 +627,9 @@ namespace isc { namespace netconf {
       goto yyerrlab;
     goto yyreduce;
 
+
   /*-----------------------------.
-  | yyreduce -- Do a reduction.  |
+  | yyreduce -- do a reduction.  |
   `-----------------------------*/
   yyreduce:
     yylen = yyr2_[yyn];
@@ -663,8 +670,8 @@ namespace isc { namespace netconf {
 
       // 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;
       }
 
@@ -677,206 +684,206 @@ namespace isc { namespace netconf {
           switch (yyn)
             {
   case 2:
-#line 118 "netconf_parser.yy" // lalr1.cc:907
+#line 118 "netconf_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.NO_KEYWORDS; }
-#line 683 "netconf_parser.cc" // lalr1.cc:907
+#line 690 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 4:
-#line 119 "netconf_parser.yy" // lalr1.cc:907
+#line 119 "netconf_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.CONFIG; }
-#line 689 "netconf_parser.cc" // lalr1.cc:907
+#line 696 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 6:
-#line 120 "netconf_parser.yy" // lalr1.cc:907
+#line 120 "netconf_parser.yy" // lalr1.cc:919
     { ctx.ctx_ = ctx.NETCONF; }
-#line 695 "netconf_parser.cc" // lalr1.cc:907
+#line 702 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 8:
-#line 128 "netconf_parser.yy" // lalr1.cc:907
+#line 128 "netconf_parser.yy" // lalr1.cc:919
     {
     // Parse the Netconf map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 705 "netconf_parser.cc" // lalr1.cc:907
+#line 712 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 9:
-#line 132 "netconf_parser.yy" // lalr1.cc:907
+#line 132 "netconf_parser.yy" // lalr1.cc:919
     {
     // parsing completed
 }
-#line 713 "netconf_parser.cc" // lalr1.cc:907
+#line 720 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 10:
-#line 139 "netconf_parser.yy" // lalr1.cc:907
+#line 139 "netconf_parser.yy" // lalr1.cc:919
     {
     // 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 722 "netconf_parser.cc" // lalr1.cc:907
+#line 729 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 11:
-#line 145 "netconf_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location))); }
-#line 728 "netconf_parser.cc" // lalr1.cc:907
+#line 145 "netconf_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new IntElement(yystack_[0].value.as < int64_t > (), ctx.loc2pos(yystack_[0].location))); }
+#line 735 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 12:
-#line 146 "netconf_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new DoubleElement(yystack_[0].value.as< double > (), ctx.loc2pos(yystack_[0].location))); }
-#line 734 "netconf_parser.cc" // lalr1.cc:907
+#line 146 "netconf_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new DoubleElement(yystack_[0].value.as < double > (), ctx.loc2pos(yystack_[0].location))); }
+#line 741 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 13:
-#line 147 "netconf_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location))); }
-#line 740 "netconf_parser.cc" // lalr1.cc:907
+#line 147 "netconf_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location))); }
+#line 747 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 14:
-#line 148 "netconf_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location))); }
-#line 746 "netconf_parser.cc" // lalr1.cc:907
+#line 148 "netconf_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location))); }
+#line 753 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 15:
-#line 149 "netconf_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new NullElement(ctx.loc2pos(yystack_[0].location))); }
-#line 752 "netconf_parser.cc" // lalr1.cc:907
+#line 149 "netconf_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new NullElement(ctx.loc2pos(yystack_[0].location))); }
+#line 759 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 16:
-#line 150 "netconf_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 758 "netconf_parser.cc" // lalr1.cc:907
+#line 150 "netconf_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 765 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 17:
-#line 151 "netconf_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 764 "netconf_parser.cc" // lalr1.cc:907
+#line 151 "netconf_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 771 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 18:
-#line 155 "netconf_parser.yy" // lalr1.cc:907
+#line 155 "netconf_parser.yy" // lalr1.cc:919
     {
     // 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 775 "netconf_parser.cc" // lalr1.cc:907
+#line 782 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 19:
-#line 160 "netconf_parser.yy" // lalr1.cc:907
+#line 160 "netconf_parser.yy" // lalr1.cc:919
     {
     // 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 785 "netconf_parser.cc" // lalr1.cc:907
+#line 792 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 20:
-#line 166 "netconf_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 791 "netconf_parser.cc" // lalr1.cc:907
+#line 166 "netconf_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
+#line 798 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 23:
-#line 180 "netconf_parser.yy" // lalr1.cc:907
+#line 180 "netconf_parser.yy" // lalr1.cc:919
     {
                   // map containing a single entry
-                  ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
+                  ctx.stack_.back()->set(yystack_[2].value.as < std::string > (), yystack_[0].value.as < ElementPtr > ());
                   }
-#line 800 "netconf_parser.cc" // lalr1.cc:907
+#line 807 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 24:
-#line 184 "netconf_parser.yy" // lalr1.cc:907
+#line 184 "netconf_parser.yy" // lalr1.cc:919
     {
                   // map consisting of a shorter map followed by
                   // comma and string:value
-                  ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
+                  ctx.stack_.back()->set(yystack_[2].value.as < std::string > (), yystack_[0].value.as < ElementPtr > ());
                   }
-#line 810 "netconf_parser.cc" // lalr1.cc:907
+#line 817 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 25:
-#line 191 "netconf_parser.yy" // lalr1.cc:907
+#line 191 "netconf_parser.yy" // lalr1.cc:919
     {
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(l);
 }
-#line 819 "netconf_parser.cc" // lalr1.cc:907
+#line 826 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 26:
-#line 194 "netconf_parser.yy" // lalr1.cc:907
+#line 194 "netconf_parser.yy" // lalr1.cc:919
     {
 }
-#line 826 "netconf_parser.cc" // lalr1.cc:907
+#line 833 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 29:
-#line 201 "netconf_parser.yy" // lalr1.cc:907
+#line 201 "netconf_parser.yy" // lalr1.cc:919
     {
                   // 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 835 "netconf_parser.cc" // lalr1.cc:907
+#line 842 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 30:
-#line 205 "netconf_parser.yy" // lalr1.cc:907
+#line 205 "netconf_parser.yy" // lalr1.cc:919
     {
                   // 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 844 "netconf_parser.cc" // lalr1.cc:907
+#line 851 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 31:
-#line 218 "netconf_parser.yy" // lalr1.cc:907
+#line 218 "netconf_parser.yy" // lalr1.cc:919
     {
     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 855 "netconf_parser.cc" // lalr1.cc:907
+#line 862 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 32:
-#line 226 "netconf_parser.yy" // lalr1.cc:907
+#line 226 "netconf_parser.yy" // lalr1.cc:919
     {
     // 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 866 "netconf_parser.cc" // lalr1.cc:907
+#line 873 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 33:
-#line 231 "netconf_parser.yy" // lalr1.cc:907
+#line 231 "netconf_parser.yy" // lalr1.cc:919
     {
     // 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 876 "netconf_parser.cc" // lalr1.cc:907
+#line 883 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 38:
-#line 248 "netconf_parser.yy" // lalr1.cc:907
+#line 248 "netconf_parser.yy" // lalr1.cc:919
     {
 
     // Let's create a MapElement that will represent it, add it to the
@@ -888,60 +895,60 @@ namespace isc { namespace netconf {
     ctx.stack_.push_back(m);
     ctx.enter(ctx.NETCONF);
 }
-#line 892 "netconf_parser.cc" // lalr1.cc:907
+#line 899 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 39:
-#line 258 "netconf_parser.yy" // lalr1.cc:907
+#line 258 "netconf_parser.yy" // lalr1.cc:919
     {
     // Ok, we're done with parsing Netconf. Let's take the map
     // off the stack.
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 903 "netconf_parser.cc" // lalr1.cc:907
+#line 910 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 52:
-#line 285 "netconf_parser.yy" // lalr1.cc:907
+#line 285 "netconf_parser.yy" // lalr1.cc:919
     {
-    ElementPtr flag(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr flag(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("boot-update", flag);
 }
-#line 912 "netconf_parser.cc" // lalr1.cc:907
+#line 919 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 53:
-#line 290 "netconf_parser.yy" // lalr1.cc:907
+#line 290 "netconf_parser.yy" // lalr1.cc:919
     {
-    ElementPtr flag(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr flag(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("subscribe-changes", flag);
 }
-#line 921 "netconf_parser.cc" // lalr1.cc:907
+#line 928 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 54:
-#line 295 "netconf_parser.yy" // lalr1.cc:907
+#line 295 "netconf_parser.yy" // lalr1.cc:919
     {
-    ElementPtr flag(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr flag(new BoolElement(yystack_[0].value.as < bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("validate-changes", flag);
 }
-#line 930 "netconf_parser.cc" // lalr1.cc:907
+#line 937 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 55:
-#line 300 "netconf_parser.yy" // lalr1.cc:907
+#line 300 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 938 "netconf_parser.cc" // lalr1.cc:907
+#line 945 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 56:
-#line 302 "netconf_parser.yy" // lalr1.cc:907
+#line 302 "netconf_parser.yy" // lalr1.cc:919
     {
     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
@@ -961,23 +968,23 @@ namespace isc { namespace netconf {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 965 "netconf_parser.cc" // lalr1.cc:907
+#line 972 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 57:
-#line 325 "netconf_parser.yy" // lalr1.cc:907
+#line 325 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 973 "netconf_parser.cc" // lalr1.cc:907
+#line 980 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 58:
-#line 327 "netconf_parser.yy" // lalr1.cc:907
+#line 327 "netconf_parser.yy" // lalr1.cc:919
     {
     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
@@ -998,479 +1005,479 @@ namespace isc { namespace netconf {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 1002 "netconf_parser.cc" // lalr1.cc:907
+#line 1009 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 59:
-#line 353 "netconf_parser.yy" // lalr1.cc:907
+#line 353 "netconf_parser.yy" // lalr1.cc:919
     {
     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 1013 "netconf_parser.cc" // lalr1.cc:907
+#line 1020 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 60:
-#line 358 "netconf_parser.yy" // lalr1.cc:907
+#line 358 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1022 "netconf_parser.cc" // lalr1.cc:907
+#line 1029 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 65:
-#line 371 "netconf_parser.yy" // lalr1.cc:907
+#line 371 "netconf_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1032 "netconf_parser.cc" // lalr1.cc:907
+#line 1039 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 66:
-#line 375 "netconf_parser.yy" // lalr1.cc:907
+#line 375 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 1040 "netconf_parser.cc" // lalr1.cc:907
+#line 1047 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 72:
-#line 388 "netconf_parser.yy" // lalr1.cc:907
+#line 388 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1048 "netconf_parser.cc" // lalr1.cc:907
+#line 1055 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 73:
-#line 390 "netconf_parser.yy" // lalr1.cc:907
+#line 390 "netconf_parser.yy" // lalr1.cc:919
     {
-    ElementPtr lib(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr lib(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("library", lib);
     ctx.leave();
 }
-#line 1058 "netconf_parser.cc" // lalr1.cc:907
+#line 1065 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 74:
-#line 396 "netconf_parser.yy" // lalr1.cc:907
+#line 396 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1066 "netconf_parser.cc" // lalr1.cc:907
+#line 1073 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 75:
-#line 398 "netconf_parser.yy" // lalr1.cc:907
+#line 398 "netconf_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("parameters", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("parameters", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1075 "netconf_parser.cc" // lalr1.cc:907
+#line 1082 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 76:
-#line 406 "netconf_parser.yy" // lalr1.cc:907
+#line 406 "netconf_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[2].location)));
     ctx.stack_.back()->set("managed-servers", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.MANAGED_SERVERS);
 }
-#line 1086 "netconf_parser.cc" // lalr1.cc:907
+#line 1093 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 77:
-#line 411 "netconf_parser.yy" // lalr1.cc:907
+#line 411 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1095 "netconf_parser.cc" // lalr1.cc:907
+#line 1102 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 87:
-#line 435 "netconf_parser.yy" // lalr1.cc:907
+#line 435 "netconf_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("dhcp4", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.SERVER);
 }
-#line 1106 "netconf_parser.cc" // lalr1.cc:907
+#line 1113 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 88:
-#line 440 "netconf_parser.yy" // lalr1.cc:907
+#line 440 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1115 "netconf_parser.cc" // lalr1.cc:907
+#line 1122 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 89:
-#line 446 "netconf_parser.yy" // lalr1.cc:907
+#line 446 "netconf_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("dhcp6", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.SERVER);
 }
-#line 1126 "netconf_parser.cc" // lalr1.cc:907
+#line 1133 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 90:
-#line 451 "netconf_parser.yy" // lalr1.cc:907
+#line 451 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1135 "netconf_parser.cc" // lalr1.cc:907
+#line 1142 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 91:
-#line 457 "netconf_parser.yy" // lalr1.cc:907
+#line 457 "netconf_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("d2", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.SERVER);
 }
-#line 1146 "netconf_parser.cc" // lalr1.cc:907
+#line 1153 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 92:
-#line 462 "netconf_parser.yy" // lalr1.cc:907
+#line 462 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1155 "netconf_parser.cc" // lalr1.cc:907
+#line 1162 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 93:
-#line 468 "netconf_parser.yy" // lalr1.cc:907
+#line 468 "netconf_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ca", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.SERVER);
 }
-#line 1166 "netconf_parser.cc" // lalr1.cc:907
+#line 1173 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 94:
-#line 473 "netconf_parser.yy" // lalr1.cc:907
+#line 473 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1175 "netconf_parser.cc" // lalr1.cc:907
+#line 1182 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 105:
-#line 495 "netconf_parser.yy" // lalr1.cc:907
+#line 495 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1183 "netconf_parser.cc" // lalr1.cc:907
+#line 1190 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 106:
-#line 497 "netconf_parser.yy" // lalr1.cc:907
+#line 497 "netconf_parser.yy" // lalr1.cc:919
     {
-    ElementPtr model(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr model(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("model", model);
     ctx.leave();
 }
-#line 1193 "netconf_parser.cc" // lalr1.cc:907
+#line 1200 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 107:
-#line 504 "netconf_parser.yy" // lalr1.cc:907
+#line 504 "netconf_parser.yy" // lalr1.cc:919
     {
     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 1204 "netconf_parser.cc" // lalr1.cc:907
+#line 1211 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 108:
-#line 509 "netconf_parser.yy" // lalr1.cc:907
+#line 509 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1213 "netconf_parser.cc" // lalr1.cc:907
+#line 1220 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 117:
-#line 527 "netconf_parser.yy" // lalr1.cc:907
+#line 527 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.SOCKET_TYPE);
 }
-#line 1221 "netconf_parser.cc" // lalr1.cc:907
+#line 1228 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 118:
-#line 529 "netconf_parser.yy" // lalr1.cc:907
+#line 529 "netconf_parser.yy" // lalr1.cc:919
     {
-    ctx.stack_.back()->set("socket-type", yystack_[0].value.as< ElementPtr > ());
+    ctx.stack_.back()->set("socket-type", yystack_[0].value.as < ElementPtr > ());
     ctx.leave();
 }
-#line 1230 "netconf_parser.cc" // lalr1.cc:907
+#line 1237 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 119:
-#line 535 "netconf_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("unix", ctx.loc2pos(yystack_[0].location))); }
-#line 1236 "netconf_parser.cc" // lalr1.cc:907
+#line 535 "netconf_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("unix", ctx.loc2pos(yystack_[0].location))); }
+#line 1243 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 120:
-#line 536 "netconf_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("http", ctx.loc2pos(yystack_[0].location))); }
-#line 1242 "netconf_parser.cc" // lalr1.cc:907
+#line 536 "netconf_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("http", ctx.loc2pos(yystack_[0].location))); }
+#line 1249 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 121:
-#line 537 "netconf_parser.yy" // lalr1.cc:907
-    { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("stdout", ctx.loc2pos(yystack_[0].location))); }
-#line 1248 "netconf_parser.cc" // lalr1.cc:907
+#line 537 "netconf_parser.yy" // lalr1.cc:919
+    { yylhs.value.as < ElementPtr > () = ElementPtr(new StringElement("stdout", ctx.loc2pos(yystack_[0].location))); }
+#line 1255 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 122:
-#line 540 "netconf_parser.yy" // lalr1.cc:907
+#line 540 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1256 "netconf_parser.cc" // lalr1.cc:907
+#line 1263 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 123:
-#line 542 "netconf_parser.yy" // lalr1.cc:907
+#line 542 "netconf_parser.yy" // lalr1.cc:919
     {
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    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 1266 "netconf_parser.cc" // lalr1.cc:907
+#line 1273 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 124:
-#line 549 "netconf_parser.yy" // lalr1.cc:907
+#line 549 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1274 "netconf_parser.cc" // lalr1.cc:907
+#line 1281 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 125:
-#line 551 "netconf_parser.yy" // lalr1.cc:907
+#line 551 "netconf_parser.yy" // lalr1.cc:919
     {
-    ElementPtr url(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr url(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("socket-url", url);
     ctx.leave();
 }
-#line 1284 "netconf_parser.cc" // lalr1.cc:907
+#line 1291 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 126:
-#line 564 "netconf_parser.yy" // lalr1.cc:907
+#line 564 "netconf_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("Logging", m);
     ctx.stack_.push_back(m);
     ctx.enter(ctx.LOGGING);
 }
-#line 1295 "netconf_parser.cc" // lalr1.cc:907
+#line 1302 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 127:
-#line 569 "netconf_parser.yy" // lalr1.cc:907
+#line 569 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1304 "netconf_parser.cc" // lalr1.cc:907
+#line 1311 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 131:
-#line 586 "netconf_parser.yy" // lalr1.cc:907
+#line 586 "netconf_parser.yy" // lalr1.cc:919
     {
     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 1315 "netconf_parser.cc" // lalr1.cc:907
+#line 1322 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 132:
-#line 591 "netconf_parser.yy" // lalr1.cc:907
+#line 591 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1324 "netconf_parser.cc" // lalr1.cc:907
+#line 1331 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 135:
-#line 603 "netconf_parser.yy" // lalr1.cc:907
+#line 603 "netconf_parser.yy" // lalr1.cc:919
     {
     ElementPtr l(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(l);
     ctx.stack_.push_back(l);
 }
-#line 1334 "netconf_parser.cc" // lalr1.cc:907
+#line 1341 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 136:
-#line 607 "netconf_parser.yy" // lalr1.cc:907
+#line 607 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 1342 "netconf_parser.cc" // lalr1.cc:907
+#line 1349 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 146:
-#line 624 "netconf_parser.yy" // lalr1.cc:907
+#line 624 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1350 "netconf_parser.cc" // lalr1.cc:907
+#line 1357 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 147:
-#line 626 "netconf_parser.yy" // lalr1.cc:907
+#line 626 "netconf_parser.yy" // lalr1.cc:919
     {
-    ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr name(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("name", name);
     ctx.leave();
 }
-#line 1360 "netconf_parser.cc" // lalr1.cc:907
+#line 1367 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 148:
-#line 632 "netconf_parser.yy" // lalr1.cc:907
+#line 632 "netconf_parser.yy" // lalr1.cc:919
     {
-    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 1369 "netconf_parser.cc" // lalr1.cc:907
+#line 1376 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 149:
-#line 637 "netconf_parser.yy" // lalr1.cc:907
+#line 637 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1377 "netconf_parser.cc" // lalr1.cc:907
+#line 1384 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 150:
-#line 639 "netconf_parser.yy" // lalr1.cc:907
+#line 639 "netconf_parser.yy" // lalr1.cc:919
     {
-    ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr sev(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("severity", sev);
     ctx.leave();
 }
-#line 1387 "netconf_parser.cc" // lalr1.cc:907
+#line 1394 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 151:
-#line 645 "netconf_parser.yy" // lalr1.cc:907
+#line 645 "netconf_parser.yy" // lalr1.cc:919
     {
     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 1398 "netconf_parser.cc" // lalr1.cc:907
+#line 1405 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 152:
-#line 650 "netconf_parser.yy" // lalr1.cc:907
+#line 650 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1407 "netconf_parser.cc" // lalr1.cc:907
+#line 1414 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 155:
-#line 659 "netconf_parser.yy" // lalr1.cc:907
+#line 659 "netconf_parser.yy" // lalr1.cc:919
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1417 "netconf_parser.cc" // lalr1.cc:907
+#line 1424 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 156:
-#line 663 "netconf_parser.yy" // lalr1.cc:907
+#line 663 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.stack_.pop_back();
 }
-#line 1425 "netconf_parser.cc" // lalr1.cc:907
+#line 1432 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 163:
-#line 677 "netconf_parser.yy" // lalr1.cc:907
+#line 677 "netconf_parser.yy" // lalr1.cc:919
     {
     ctx.enter(ctx.NO_KEYWORDS);
 }
-#line 1433 "netconf_parser.cc" // lalr1.cc:907
+#line 1440 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 164:
-#line 679 "netconf_parser.yy" // lalr1.cc:907
+#line 679 "netconf_parser.yy" // lalr1.cc:919
     {
-    ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
+    ElementPtr sev(new StringElement(yystack_[0].value.as < std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("output", sev);
     ctx.leave();
 }
-#line 1443 "netconf_parser.cc" // lalr1.cc:907
+#line 1450 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 165:
-#line 685 "netconf_parser.yy" // lalr1.cc:907
+#line 685 "netconf_parser.yy" // lalr1.cc:919
     {
-    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 1452 "netconf_parser.cc" // lalr1.cc:907
+#line 1459 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 166:
-#line 690 "netconf_parser.yy" // lalr1.cc:907
+#line 690 "netconf_parser.yy" // lalr1.cc:919
     {
-    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 1461 "netconf_parser.cc" // lalr1.cc:907
+#line 1468 "netconf_parser.cc" // lalr1.cc:919
     break;
 
   case 167:
-#line 695 "netconf_parser.yy" // lalr1.cc:907
+#line 695 "netconf_parser.yy" // lalr1.cc:919
     {
-    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 1470 "netconf_parser.cc" // lalr1.cc:907
+#line 1477 "netconf_parser.cc" // lalr1.cc:919
     break;
 
 
-#line 1474 "netconf_parser.cc" // lalr1.cc:907
+#line 1481 "netconf_parser.cc" // lalr1.cc:919
             default:
               break;
             }
@@ -1478,6 +1485,7 @@ namespace isc { namespace netconf {
 #if YY_EXCEPTIONS
       catch (const syntax_error& yyexc)
         {
+          YYCDEBUG << "Caught exception: " << yyexc.what() << '\n';
           error (yyexc);
           YYERROR;
         }
@@ -1492,6 +1500,7 @@ namespace isc { namespace netconf {
     }
     goto yynewstate;
 
+
   /*--------------------------------------.
   | yyerrlab -- here on detecting error.  |
   `--------------------------------------*/
@@ -1528,18 +1537,18 @@ namespace isc { namespace netconf {
   | 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;
+
     /* Do not reclaim the symbols of the rule whose action triggered
        this YYERROR.  */
     yypop_ (yylen);
     yylen = 0;
     goto yyerrlab1;
 
+
   /*-------------------------------------------------------------.
   | yyerrlab1 -- common code for both syntax error and YYERROR.  |
   `-------------------------------------------------------------*/
@@ -1580,16 +1589,26 @@ namespace isc { namespace netconf {
     }
     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);
@@ -2061,10 +2080,10 @@ namespace isc { namespace netconf {
 #endif // NETCONF_DEBUG
 
 
-#line 14 "netconf_parser.yy" // lalr1.cc:1218
+#line 14 "netconf_parser.yy" // lalr1.cc:1242
 } } // isc::netconf
-#line 2067 "netconf_parser.cc" // lalr1.cc:1218
-#line 700 "netconf_parser.yy" // lalr1.cc:1219
+#line 2086 "netconf_parser.cc" // lalr1.cc:1242
+#line 700 "netconf_parser.yy" // lalr1.cc:1243
 
 
 void
index 30de6c1faaf9bdff0f50f457e09fa0c995d9a644..0f22af0475e9d54d83ef4d214f10da4118fdc0f7 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.2.1.
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Skeleton interface for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
@@ -44,7 +44,7 @@
 #ifndef YY_NETCONF_NETCONF_PARSER_H_INCLUDED
 # define YY_NETCONF_NETCONF_PARSER_H_INCLUDED
 // //                    "%code requires" blocks.
-#line 17 "netconf_parser.yy" // lalr1.cc:404
+#line 17 "netconf_parser.yy" // lalr1.cc:401
 
 #include <string>
 #include <cc/data.h>
@@ -55,7 +55,7 @@ using namespace isc::netconf;
 using namespace isc::data;
 using namespace std;
 
-#line 59 "netconf_parser.h" // lalr1.cc:404
+#line 59 "netconf_parser.h" // lalr1.cc:401
 
 # include <cassert>
 # include <cstdlib> // std::abort
@@ -84,6 +84,22 @@ using namespace std;
 # 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
@@ -161,193 +177,79 @@ using namespace std;
 # endif /* ! defined YYDEBUG */
 #endif  /* ! defined NETCONF_DEBUG */
 
-#line 14 "netconf_parser.yy" // lalr1.cc:404
+#line 14 "netconf_parser.yy" // lalr1.cc:401
 namespace isc { namespace netconf {
-#line 167 "netconf_parser.h" // lalr1.cc:404
-
-  /// 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::reverse_iterator iterator;
-    typedef typename S::const_reverse_iterator const_iterator;
-    typedef typename S::size_type size_type;
-
-    stack (size_type n = 200)
-      : seq_ (n)
-    {}
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    T&
-    operator[] (size_type i)
-    {
-      return seq_[size () - 1 - i];
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    T&
-    operator[] (int i)
-    {
-      return operator[] (size_type (i));
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    const T&
-    operator[] (size_type i) const
-    {
-      return seq_[size () - 1 - i];
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    const T&
-    operator[] (int i) const
-    {
-      return operator[] (size_type (i));
-    }
+#line 183 "netconf_parser.h" // lalr1.cc:401
 
-    /// 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);
-    }
-
-    void
-    pop (int n = 1)
-    {
-      for (; 0 < n; --n)
-        seq_.pop_back ();
-    }
-
-    void
-    clear ()
-    {
-      seq_.clear ();
-    }
-
-    size_type
-    size () const
-    {
-      return seq_.size ();
-    }
-
-    const_iterator
-    begin () const
-    {
-      return seq_.rbegin ();
-    }
-
-    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 <typename T, typename S = stack<T> >
-  class slice
+  /// A Bison parser.
+  class NetconfParser
   {
   public:
-    slice (const S& stack, int range)
-      : stack_ (stack)
-      , range_ (range)
-    {}
-
-    const T&
-    operator[] (int i) const
-    {
-      return stack_[range_ - i];
-    }
-
-  private:
-    const S& stack_;
-    int range_;
-  };
-
-
-
-  /// A char[S] buffer to store and retrieve objects.
+#ifndef NETCONF_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 ()
+    semantic_type () YY_NOEXCEPT
       : yybuffer_ ()
       , yytypeid_ (YY_NULLPTR)
     {}
 
     /// Construct and fill.
     template <typename T>
-    variant (YY_RVREF (T) t)
+    semantic_type (YY_RVREF (T) t)
       : yytypeid_ (&typeid (T))
     {
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       new (yyas_<T> ()) T (YY_MOVE (t));
     }
 
     /// Destruction, allowed only if empty.
-    ~variant ()
+    ~semantic_type () YY_NOEXCEPT
     {
       YYASSERT (!yytypeid_);
     }
 
-    /// Instantiate an empty \a T in here.
-    template <typename T>
+# if 201103L <= YY_CPLUSPLUS
+    /// Instantiate a \a T in here from \a t.
+    template <typename T, typename... U>
     T&
-    emplace ()
+    emplace (U&&... u)
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
-      return *new (yyas_<T> ()) T ();
+      return *new (yyas_<T> ()) T (std::forward <U>(u)...);
     }
-
-# if 201103L <= YY_CPLUSPLUS
-    /// Instantiate a \a T in here from \a t.
-    template <typename T, typename U>
+# else
+    /// Instantiate an empty \a T in here.
+    template <typename T>
     T&
-    emplace (U&& u)
+    emplace ()
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
-      return *new (yyas_<T> ()) T (std::forward <U>(u));
+      return *new (yyas_<T> ()) T ();
     }
-# else
+
     /// Instantiate a \a T in here from \a t.
     template <typename T>
     T&
     emplace (const T& t)
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
       return *new (yyas_<T> ()) T (t);
     }
@@ -374,75 +276,75 @@ namespace isc { namespace netconf {
     /// Accessor to a built \a T.
     template <typename T>
     T&
-    as ()
+    as () YY_NOEXCEPT
     {
       YYASSERT (yytypeid_);
       YYASSERT (*yytypeid_ == typeid (T));
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (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_);
       YYASSERT (*yytypeid_ == typeid (T));
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (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 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> ());
+      YYASSERT (*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& other)
+    move (self_type& that)
     {
 # if 201103L <= YY_CPLUSPLUS
-      emplace<T> (std::move (other.as<T> ()));
+      emplace<T> (std::move (that.as<T> ()));
 # else
       emplace<T> ();
-      swap<T> (other);
+      swap<T> (that);
 # endif
-      other.destroy<T> ();
+      that.destroy<T> ();
     }
 
 # if 201103L <= YY_CPLUSPLUS
-    /// Move the content of \a other to this.
+    /// Move the content of \a that to this.
     template <typename T>
     void
-    move (self_type&& other)
+    move (self_type&& that)
     {
-      emplace<T> (std::move (other.as<T> ()));
-      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)
     {
-      emplace<T> (other.as<T> ());
+      emplace<T> (that.as<T> ());
     }
 
     /// Destroy the stored \a T.
@@ -457,12 +359,12 @@ namespace isc { namespace netconf {
   private:
     /// Prohibit blind copies.
     self_type& operator= (const self_type&);
-    variant (const self_type&);
+    semantic_type (const self_type&);
 
     /// Accessor to raw memory as \a T.
     template <typename T>
     T*
-    yyas_ ()
+    yyas_ () YY_NOEXCEPT
     {
       void *yyp = yybuffer_.yyraw;
       return static_cast<T*> (yyp);
@@ -471,30 +373,12 @@ namespace isc { namespace netconf {
     /// 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 NetconfParser
-  {
-  public:
-#ifndef NETCONF_STYPE
     /// An auxiliary type to compute the largest semantic type.
     union union_type
     {
@@ -514,10 +398,24 @@ namespace isc { namespace netconf {
 
       // "constant 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 NETCONF_STYPE semantic_type;
 #endif
@@ -527,7 +425,18 @@ namespace isc { namespace netconf {
     /// 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;
     };
 
@@ -611,53 +520,150 @@ namespace isc { namespace netconf {
       typedef Base super_type;
 
       /// Default constructor.
-      basic_symbol ();
+      basic_symbol ()
+        : value ()
+        , location ()
+      {}
 
-      /// Move or copy constructor.
-      basic_symbol (YY_RVREF (basic_symbol) other);
+#if 201103L <= YY_CPLUSPLUS
+      /// Move constructor.
+      basic_symbol (basic_symbol&& that);
+#endif
 
+      /// Copy constructor.
+      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);
+#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);
+      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);
+#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);
+      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);
+#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);
+      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);
+#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);
+      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);
+#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);
+      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);
+#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);
+      basic_symbol (typename Base::kind_type t, const std::string& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
 #endif
 
-
       /// Destroy the symbol.
-      ~basic_symbol ();
+      ~basic_symbol ()
+      {
+        clear ();
+      }
 
       /// Destroy contents, and record that is empty.
-      void clear ();
+      void 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 57: // value
+      case 60: // map_value
+      case 119: // socket_type_value
+        value.template destroy< ElementPtr > ();
+        break;
+
+      case 48: // "boolean"
+        value.template destroy< bool > ();
+        break;
+
+      case 47: // "floating point"
+        value.template destroy< double > ();
+        break;
+
+      case 46: // "integer"
+        value.template destroy< int64_t > ();
+        break;
+
+      case 45: // "constant string"
+        value.template destroy< std::string > ();
+        break;
+
+      default:
+        break;
+    }
+
+        Base::clear ();
+      }
 
       /// Whether empty.
-      bool empty () const;
+      bool empty () const YY_NOEXCEPT;
 
       /// Destructive move, \a s is emptied into this.
       void move (basic_symbol& s);
@@ -671,7 +677,7 @@ namespace isc { namespace netconf {
     private:
 #if YY_CPLUSPLUS < 201103L
       /// Assignment operator.
-      basic_symbol& operator= (const basic_symbol& other);
+      basic_symbol& operator= (const basic_symbol& that);
 #endif
     };
 
@@ -681,8 +687,13 @@ namespace isc { namespace netconf {
       /// Default constructor.
       by_type ();
 
+#if 201103L <= YY_CPLUSPLUS
+      /// Move constructor.
+      by_type (by_type&& that);
+#endif
+
       /// Copy constructor.
-      by_type (const by_type& other);
+      by_type (const by_type& that);
 
       /// The symbol type as needed by the constructor.
       typedef token_type kind_type;
@@ -698,10 +709,10 @@ namespace isc { namespace netconf {
 
       /// The (internal) type number (corresponding to \a type).
       /// \a empty when empty.
-      symbol_number_type type_get () const;
+      symbol_number_type type_get () const YY_NOEXCEPT;
 
       /// The token.
-      token_type token () const;
+      token_type token () const YY_NOEXCEPT;
 
       /// The symbol type.
       /// \a empty_symbol when empty.
@@ -710,7 +721,81 @@ namespace isc { namespace netconf {
     };
 
     /// "External" symbols: returned by the scanner.
-    typedef basic_symbol<by_type> symbol_type;
+    struct symbol_type : basic_symbol<by_type>
+    {
+      /// Superclass.
+      typedef basic_symbol<by_type> super_type;
+
+      /// Empty symbol.
+      symbol_type () {}
+
+      /// 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))
+      {
+        YYASSERT (tok == token::TOKEN_END || 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_NETCONF || tok == token::TOKEN_USER_CONTEXT || tok == token::TOKEN_COMMENT || tok == token::TOKEN_BOOT_UPDATE || tok == token::TOKEN_SUBSCRIBE_CHANGES || tok == token::TOKEN_VALIDATE_CHANGES || tok == token::TOKEN_MANAGED_SERVERS || tok == token::TOKEN_DHCP4_SERVER || tok == token::TOKEN_DHCP6_SERVER || tok == token::TOKEN_D2_SERVER || tok == token::TOKEN_CA_SERVER || tok == token::TOKEN_MODEL || tok == token::TOKEN_CONTROL_SOCKET || tok == token::TOKEN_SOCKET_TYPE || tok == token::TOKEN_UNIX || tok == token::TOKEN_HTTP || tok == token::TOKEN_STDOUT || tok == token::TOKEN_SOCKET_NAME || tok == token::TOKEN_SOCKET_URL || tok == token::TOKEN_HOOKS_LIBRARIES || tok == token::TOKEN_LIBRARY || tok == token::TOKEN_PARAMETERS || tok == token::TOKEN_LOGGING || tok == token::TOKEN_LOGGERS || tok == token::TOKEN_NAME || 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_START_JSON || tok == token::TOKEN_START_NETCONF || tok == token::TOKEN_START_SUB_NETCONF);
+      }
+#else
+      symbol_type (int tok, const location_type& l)
+        : super_type(token_type (tok), l)
+      {
+        YYASSERT (tok == token::TOKEN_END || 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_NETCONF || tok == token::TOKEN_USER_CONTEXT || tok == token::TOKEN_COMMENT || tok == token::TOKEN_BOOT_UPDATE || tok == token::TOKEN_SUBSCRIBE_CHANGES || tok == token::TOKEN_VALIDATE_CHANGES || tok == token::TOKEN_MANAGED_SERVERS || tok == token::TOKEN_DHCP4_SERVER || tok == token::TOKEN_DHCP6_SERVER || tok == token::TOKEN_D2_SERVER || tok == token::TOKEN_CA_SERVER || tok == token::TOKEN_MODEL || tok == token::TOKEN_CONTROL_SOCKET || tok == token::TOKEN_SOCKET_TYPE || tok == token::TOKEN_UNIX || tok == token::TOKEN_HTTP || tok == token::TOKEN_STDOUT || tok == token::TOKEN_SOCKET_NAME || tok == token::TOKEN_SOCKET_URL || tok == token::TOKEN_HOOKS_LIBRARIES || tok == token::TOKEN_LIBRARY || tok == token::TOKEN_PARAMETERS || tok == token::TOKEN_LOGGING || tok == token::TOKEN_LOGGERS || tok == token::TOKEN_NAME || 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_START_JSON || tok == token::TOKEN_START_NETCONF || tok == token::TOKEN_START_SUB_NETCONF);
+      }
+#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))
+      {
+        YYASSERT (tok == token::TOKEN_BOOLEAN);
+      }
+#else
+      symbol_type (int tok, const bool& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (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))
+      {
+        YYASSERT (tok == token::TOKEN_FLOAT);
+      }
+#else
+      symbol_type (int tok, const double& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (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))
+      {
+        YYASSERT (tok == token::TOKEN_INTEGER);
+      }
+#else
+      symbol_type (int tok, const int64_t& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (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))
+      {
+        YYASSERT (tok == token::TOKEN_STRING);
+      }
+#else
+      symbol_type (int tok, const std::string& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (tok == token::TOKEN_STRING);
+      }
+#endif
+    };
 
     /// Build a parser object.
     NetconfParser (isc::netconf::ParserContext& ctx_yyarg);
@@ -746,195 +831,712 @@ namespace isc { namespace netconf {
     /// Report a syntax error.
     void error (const syntax_error& err);
 
-    // Symbol constructors declarations.
-    static
-    symbol_type
-    make_END (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_COMMA (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_COLON (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LSQUARE_BRACKET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RSQUARE_BRACKET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LCURLY_BRACKET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RCURLY_BRACKET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_NULL_TYPE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_NETCONF (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_USER_CONTEXT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_COMMENT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_BOOT_UPDATE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUBSCRIBE_CHANGES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_VALIDATE_CHANGES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MANAGED_SERVERS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DHCP4_SERVER (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DHCP6_SERVER (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_D2_SERVER (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CA_SERVER (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MODEL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CONTROL_SOCKET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SOCKET_TYPE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_UNIX (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HTTP (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_STDOUT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SOCKET_NAME (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SOCKET_URL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HOOKS_LIBRARIES (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LIBRARY (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_PARAMETERS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LOGGING (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LOGGERS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_NAME (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_OUTPUT_OPTIONS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_OUTPUT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DEBUGLEVEL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SEVERITY (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_FLUSH (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MAXSIZE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MAXVER (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_START_JSON (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_START_NETCONF (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_START_SUB_NETCONF (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_STRING (YY_COPY (std::string) v, YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_INTEGER (YY_COPY (int64_t) v, YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_FLOAT (YY_COPY (double) v, YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_BOOLEAN (YY_COPY (bool) v, YY_COPY (location_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
+#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_NETCONF (location_type l)
+      {
+        return symbol_type (token::TOKEN_NETCONF, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_NETCONF (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_NETCONF, 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_BOOT_UPDATE (location_type l)
+      {
+        return symbol_type (token::TOKEN_BOOT_UPDATE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_BOOT_UPDATE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_BOOT_UPDATE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUBSCRIBE_CHANGES (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUBSCRIBE_CHANGES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUBSCRIBE_CHANGES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUBSCRIBE_CHANGES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_VALIDATE_CHANGES (location_type l)
+      {
+        return symbol_type (token::TOKEN_VALIDATE_CHANGES, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_VALIDATE_CHANGES (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_VALIDATE_CHANGES, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MANAGED_SERVERS (location_type l)
+      {
+        return symbol_type (token::TOKEN_MANAGED_SERVERS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MANAGED_SERVERS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MANAGED_SERVERS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DHCP4_SERVER (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCP4_SERVER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCP4_SERVER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCP4_SERVER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DHCP6_SERVER (location_type l)
+      {
+        return symbol_type (token::TOKEN_DHCP6_SERVER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DHCP6_SERVER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DHCP6_SERVER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_D2_SERVER (location_type l)
+      {
+        return symbol_type (token::TOKEN_D2_SERVER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_D2_SERVER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_D2_SERVER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CA_SERVER (location_type l)
+      {
+        return symbol_type (token::TOKEN_CA_SERVER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CA_SERVER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CA_SERVER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MODEL (location_type l)
+      {
+        return symbol_type (token::TOKEN_MODEL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MODEL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MODEL, 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_UNIX (location_type l)
+      {
+        return symbol_type (token::TOKEN_UNIX, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_UNIX (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_UNIX, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HTTP (location_type l)
+      {
+        return symbol_type (token::TOKEN_HTTP, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HTTP (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HTTP, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_STDOUT (location_type l)
+      {
+        return symbol_type (token::TOKEN_STDOUT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_STDOUT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_STDOUT, 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_SOCKET_URL (location_type l)
+      {
+        return symbol_type (token::TOKEN_SOCKET_URL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SOCKET_URL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SOCKET_URL, 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_LOGGING (location_type l)
+      {
+        return symbol_type (token::TOKEN_LOGGING, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LOGGING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LOGGING, 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_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_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_START_JSON (location_type l)
+      {
+        return symbol_type (token::TOKEN_START_JSON, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_START_JSON (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_START_JSON, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_START_NETCONF (location_type l)
+      {
+        return symbol_type (token::TOKEN_START_NETCONF, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_START_NETCONF (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_START_NETCONF, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_START_SUB_NETCONF (location_type l)
+      {
+        return symbol_type (token::TOKEN_START_SUB_NETCONF, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_START_SUB_NETCONF (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_START_SUB_NETCONF, 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
 
 
   private:
@@ -1042,26 +1644,26 @@ namespace isc { namespace netconf {
     struct by_state
     {
       /// Default constructor.
-      by_state ();
+      by_state () YY_NOEXCEPT;
 
       /// The symbol type as needed by the constructor.
       typedef state_type kind_type;
 
       /// Constructor.
-      by_state (kind_type s);
+      by_state (kind_type s) YY_NOEXCEPT;
 
       /// Copy constructor.
-      by_state (const by_state& other);
+      by_state (const by_state& that) YY_NOEXCEPT;
 
       /// Record that this symbol is empty.
-      void clear ();
+      void clear () YY_NOEXCEPT;
 
       /// 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;
+      symbol_number_type type_get () const YY_NOEXCEPT;
 
       /// The state number used to denote an empty symbol.
       enum { empty_state = -1 };
@@ -1089,6 +1691,130 @@ namespace isc { namespace netconf {
 #endif
     };
 
+    /// 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::reverse_iterator iterator;
+      typedef typename S::const_reverse_iterator const_iterator;
+      typedef typename S::size_type size_type;
+
+      stack (size_type n = 200)
+        : seq_ (n)
+      {}
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      T&
+      operator[] (size_type i)
+      {
+        return seq_[size () - 1 - i];
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      T&
+      operator[] (int i)
+      {
+        return operator[] (size_type (i));
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      const T&
+      operator[] (size_type i) const
+      {
+        return seq_[size () - 1 - i];
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      const T&
+      operator[] (int i) const
+      {
+        return operator[] (size_type (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);
+      }
+
+      /// Pop elements from the stack.
+      void
+      pop (int n = 1) YY_NOEXCEPT
+      {
+        for (; 0 < n; --n)
+          seq_.pop_back ();
+      }
+
+      /// Pop all elements from the stack.
+      void
+      clear () YY_NOEXCEPT
+      {
+        seq_.clear ();
+      }
+
+      /// Number of elements on the stack.
+      size_type
+      size () const YY_NOEXCEPT
+      {
+        return seq_.size ();
+      }
+
+      /// Iterator on top of the stack (going downwards).
+      const_iterator
+      begin () const YY_NOEXCEPT
+      {
+        return seq_.rbegin ();
+      }
+
+      /// Bottom of the stack.
+      const_iterator
+      end () const YY_NOEXCEPT
+      {
+        return seq_.rend ();
+      }
+
+      /// Present a slice of the top of a stack.
+      class slice
+      {
+      public:
+        slice (const stack& stack, int range)
+          : stack_ (stack)
+          , range_ (range)
+        {}
+
+        const T&
+        operator[] (int i) const
+        {
+          return stack_[range_ - i];
+        }
+
+      private:
+        const stack& stack_;
+        int range_;
+      };
+
+    private:
+      stack (const stack&);
+      stack& operator= (const stack&);
+      /// The wrapped container.
+      S seq_;
+    };
+
+
     /// Stack type.
     typedef stack<stack_symbol_type> stack_type;
 
@@ -1130,18 +1856,17 @@ namespace isc { namespace netconf {
     isc::netconf::ParserContext& ctx;
   };
 
-  // Symbol number corresponding to token number t.
   inline
   NetconfParser::token_number_type
   NetconfParser::yytranslate_ (token_type t)
   {
+    // YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to
+    // TOKEN-NUM as returned by yylex.
     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,
+       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,
@@ -1161,223 +1886,109 @@ namespace isc { namespace netconf {
        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-       2,     2,     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
-    };
-    const unsigned user_token_number_max_ = 303;
-    const token_number_type undef_token_ = 2;
-
-    if (static_cast<int> (t) <= yyeof_)
-      return yyeof_;
-    else if (static_cast<unsigned> (t) <= user_token_number_max_)
-      return translate_table[t];
-    else
-      return undef_token_;
-  }
-
-  inline
-  NetconfParser::syntax_error::syntax_error (const location_type& l, const std::string& m)
-    : std::runtime_error (m)
-    , location (l)
-  {}
-
-  // basic_symbol.
-  template <typename Base>
-  NetconfParser::basic_symbol<Base>::basic_symbol ()
-    : value ()
-    , location ()
-  {}
-
-  template <typename Base>
-  NetconfParser::basic_symbol<Base>::basic_symbol (YY_RVREF (basic_symbol) other)
-    : Base (YY_MOVE (other))
-    , value ()
-    , location (YY_MOVE (other.location))
-  {
-    switch (other.type_get ())
-    {
-      case 57: // value
-      case 60: // map_value
-      case 119: // socket_type_value
-        value.YY_MOVE_OR_COPY< ElementPtr > (YY_MOVE (other.value));
-        break;
-
-      case 48: // "boolean"
-        value.YY_MOVE_OR_COPY< bool > (YY_MOVE (other.value));
-        break;
-
-      case 47: // "floating point"
-        value.YY_MOVE_OR_COPY< double > (YY_MOVE (other.value));
-        break;
-
-      case 46: // "integer"
-        value.YY_MOVE_OR_COPY< int64_t > (YY_MOVE (other.value));
-        break;
-
-      case 45: // "constant string"
-        value.YY_MOVE_OR_COPY< std::string > (YY_MOVE (other.value));
-        break;
-
-      default:
-        break;
-    }
-
-  }
-
-
-  // Implementation of basic_symbol constructor for each type.
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  NetconfParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, location_type&& l)
-    : Base (t)
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  NetconfParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const location_type& l)
-    : Base (t)
-    , location (l)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  NetconfParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, ElementPtr&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  NetconfParser::basic_symbol<Base>::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
-  template <typename Base>
-  NetconfParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, bool&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  NetconfParser::basic_symbol<Base>::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
-  template <typename Base>
-  NetconfParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, double&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  NetconfParser::basic_symbol<Base>::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
-  template <typename Base>
-  NetconfParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, int64_t&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  NetconfParser::basic_symbol<Base>::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
-  template <typename Base>
-  NetconfParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, std::string&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  NetconfParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const std::string& v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-#endif
-
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     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
+    };
+    const unsigned user_token_number_max_ = 303;
+    const token_number_type undef_token_ = 2;
 
-  template <typename Base>
-  NetconfParser::basic_symbol<Base>::~basic_symbol ()
-  {
-    clear ();
+    if (static_cast<int> (t) <= yyeof_)
+      return yyeof_;
+    else if (static_cast<unsigned> (t) <= user_token_number_max_)
+      return translate_table[t];
+    else
+      return undef_token_;
   }
 
+  // basic_symbol.
+#if 201103L <= YY_CPLUSPLUS
   template <typename Base>
-  void
-  NetconfParser::basic_symbol<Base>::clear ()
+  NetconfParser::basic_symbol<Base>::basic_symbol (basic_symbol&& that)
+    : Base (std::move (that))
+    , value ()
+    , location (std::move (that.location))
   {
-    // User destructor.
-    symbol_number_type yytype = this->type_get ();
-    basic_symbol<Base>& yysym = *this;
-    (void) yysym;
-    switch (yytype)
+    switch (this->type_get ())
     {
-   default:
-      break;
+      case 57: // value
+      case 60: // map_value
+      case 119: // socket_type_value
+        value.move< ElementPtr > (std::move (that.value));
+        break;
+
+      case 48: // "boolean"
+        value.move< bool > (std::move (that.value));
+        break;
+
+      case 47: // "floating point"
+        value.move< double > (std::move (that.value));
+        break;
+
+      case 46: // "integer"
+        value.move< int64_t > (std::move (that.value));
+        break;
+
+      case 45: // "constant string"
+        value.move< std::string > (std::move (that.value));
+        break;
+
+      default:
+        break;
     }
 
-    // Type destructor.
-  switch (yytype)
+  }
+#endif
+
+  template <typename Base>
+  NetconfParser::basic_symbol<Base>::basic_symbol (const basic_symbol& that)
+    : Base (that)
+    , value ()
+    , location (that.location)
+  {
+    switch (this->type_get ())
     {
       case 57: // value
       case 60: // map_value
       case 119: // socket_type_value
-        value.template destroy< ElementPtr > ();
+        value.copy< ElementPtr > (YY_MOVE (that.value));
         break;
 
       case 48: // "boolean"
-        value.template destroy< bool > ();
+        value.copy< bool > (YY_MOVE (that.value));
         break;
 
       case 47: // "floating point"
-        value.template destroy< double > ();
+        value.copy< double > (YY_MOVE (that.value));
         break;
 
       case 46: // "integer"
-        value.template destroy< int64_t > ();
+        value.copy< int64_t > (YY_MOVE (that.value));
         break;
 
       case 45: // "constant string"
-        value.template destroy< std::string > ();
+        value.copy< std::string > (YY_MOVE (that.value));
         break;
 
       default:
         break;
     }
 
-    Base::clear ();
   }
 
+
+
   template <typename Base>
   bool
-  NetconfParser::basic_symbol<Base>::empty () const
+  NetconfParser::basic_symbol<Base>::empty () const YY_NOEXCEPT
   {
     return Base::type_get () == empty_symbol;
   }
@@ -1424,9 +2035,18 @@ namespace isc { namespace netconf {
     : type (empty_symbol)
   {}
 
+#if 201103L <= YY_CPLUSPLUS
+  inline
+  NetconfParser::by_type::by_type (by_type&& that)
+    : type (that.type)
+  {
+    that.clear ();
+  }
+#endif
+
   inline
-  NetconfParser::by_type::by_type (const by_type& other)
-    : type (other.type)
+  NetconfParser::by_type::by_type (const by_type& that)
+    : type (that.type)
   {}
 
   inline
@@ -1451,14 +2071,14 @@ namespace isc { namespace netconf {
 
   inline
   int
-  NetconfParser::by_type::type_get () const
+  NetconfParser::by_type::type_get () const YY_NOEXCEPT
   {
     return type;
   }
 
   inline
   NetconfParser::token_type
-  NetconfParser::by_type::token () const
+  NetconfParser::by_type::token () const YY_NOEXCEPT
   {
     // YYTOKNUM[NUM] -- (External) token number corresponding to the
     // (internal) symbol number NUM (which must be that of a token).  */
@@ -1472,343 +2092,12 @@ namespace isc { namespace netconf {
      285,   286,   287,   288,   289,   290,   291,   292,   293,   294,
      295,   296,   297,   298,   299,   300,   301,   302,   303
     };
-    return static_cast<token_type> (yytoken_number_[type]);
-  }
-
-  // Implementation of make_symbol for each symbol type.
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_END (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_END, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_COMMA (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_COMMA, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_COLON (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_COLON, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_LSQUARE_BRACKET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LSQUARE_BRACKET, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_RSQUARE_BRACKET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RSQUARE_BRACKET, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_LCURLY_BRACKET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LCURLY_BRACKET, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_RCURLY_BRACKET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RCURLY_BRACKET, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_NULL_TYPE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_NULL_TYPE, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_NETCONF (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_NETCONF, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_USER_CONTEXT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_USER_CONTEXT, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_COMMENT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_COMMENT, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_BOOT_UPDATE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_BOOT_UPDATE, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_SUBSCRIBE_CHANGES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SUBSCRIBE_CHANGES, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_VALIDATE_CHANGES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_VALIDATE_CHANGES, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_MANAGED_SERVERS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_MANAGED_SERVERS, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_DHCP4_SERVER (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DHCP4_SERVER, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_DHCP6_SERVER (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DHCP6_SERVER, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_D2_SERVER (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_D2_SERVER, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_CA_SERVER (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CA_SERVER, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_MODEL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_MODEL, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_CONTROL_SOCKET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CONTROL_SOCKET, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_SOCKET_TYPE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_TYPE, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_UNIX (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_UNIX, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_HTTP (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HTTP, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_STDOUT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_STDOUT, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_SOCKET_NAME (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_NAME, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_SOCKET_URL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SOCKET_URL, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_HOOKS_LIBRARIES (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HOOKS_LIBRARIES, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_LIBRARY (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LIBRARY, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_PARAMETERS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_PARAMETERS, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_LOGGING (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LOGGING, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_LOGGERS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LOGGERS, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_NAME (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_NAME, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_OUTPUT_OPTIONS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT_OPTIONS, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_OUTPUT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_OUTPUT, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_DEBUGLEVEL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DEBUGLEVEL, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_SEVERITY (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SEVERITY, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_FLUSH (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_FLUSH, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_MAXSIZE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_MAXSIZE, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_MAXVER (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_MAXVER, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_START_JSON (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_START_JSON, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_START_NETCONF (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_START_NETCONF, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_START_SUB_NETCONF (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_START_SUB_NETCONF, YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_STRING (YY_COPY (std::string) v, YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_STRING, YY_MOVE (v), YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_INTEGER (YY_COPY (int64_t) v, YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_INTEGER, YY_MOVE (v), YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_FLOAT (YY_COPY (double) v, YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_FLOAT, YY_MOVE (v), YY_MOVE (l));
-  }
-
-  inline
-  NetconfParser::symbol_type
-  NetconfParser::make_BOOLEAN (YY_COPY (bool) v, YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_BOOLEAN, YY_MOVE (v), YY_MOVE (l));
+    return token_type (yytoken_number_[type]);
   }
 
-
-#line 14 "netconf_parser.yy" // lalr1.cc:404
+#line 14 "netconf_parser.yy" // lalr1.cc:401
 } } // isc::netconf
-#line 1812 "netconf_parser.h" // lalr1.cc:404
+#line 2101 "netconf_parser.h" // lalr1.cc:401
 
 
 
index 5a854e93340eba851eeb8e258b2fdf7395f23c8c..26649acbba800579d46a994e30ba87b484d0637c 100644 (file)
@@ -1,5 +1,5 @@
-// Generated 201811271344
-// A Bison parser, made by GNU Bison 3.2.1.
+// Generated 201902061317
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Starting with Bison 3.2, this file is useless: the structure it
 // used to define is now defined in "location.hh".
index 4fcda222f5ab82d1bb7eb92ca6c370ff7d57d9f6..96e3dac018b358d652e560a6a552dbfde1fb36ac 100644 (file)
@@ -1,5 +1,5 @@
-// Generated 201811271344
-// A Bison parser, made by GNU Bison 3.2.1.
+// Generated 201902061317
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Starting with Bison 3.2, this file is useless: the structure it
 // used to define is now defined with the parser itself.
index dcb0136511b7ce102f4d1dbeccac2a7dfaa61ea4..d51463c197a055e501c35d9f76f3ce12de732b25 100644 (file)
@@ -1,9 +1,9 @@
-// Generated 201811271344
-// A Bison parser, made by GNU Bison 3.2.1.
+// Generated 201902061317
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Locations for Bison parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
index b35e7497f9fc2bb6572360680305c38f31f61912..0ffd8852f847f482a2a370c443e7dfba4dd6773d 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.2.1.
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Skeleton implementation for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
 
 
 // Unqualified %code blocks.
-#line 33 "parser.yy" // lalr1.cc:438
+#line 33 "parser.yy" // lalr1.cc:435
 
 # include "eval_context.h"
 
-#line 51 "parser.cc" // lalr1.cc:438
+#line 51 "parser.cc" // lalr1.cc:435
 
 
 #ifndef YY_
@@ -88,7 +88,7 @@
         {                                                               \
           (Current).begin = (Current).end = YYRHSLOC (Rhs, 0).end;      \
         }                                                               \
-    while (/*CONSTCOND*/ false)
+    while (false)
 # endif
 
 
 #define YYERROR         goto yyerrorlab
 #define YYRECOVERING()  (!!yyerrstatus_)
 
-#line 14 "parser.yy" // lalr1.cc:513
+#line 14 "parser.yy" // lalr1.cc:510
 namespace isc { namespace eval {
-#line 146 "parser.cc" // lalr1.cc:513
+#line 146 "parser.cc" // lalr1.cc:510
 
   /* Return YYSTR after stripping away unnecessary quotes and
      backslashes, so that it's suitable for yyerror.  The heuristic is
@@ -154,7 +154,7 @@ namespace isc { namespace eval {
   {
     if (*yystr == '"')
       {
-        std::string yyr = "";
+        std::string yyr;
         char const *yyp = yystr;
 
         for (;;)
@@ -167,7 +167,10 @@ namespace isc { namespace eval {
             case '\\':
               if (*++yyp != '\\')
                 goto do_not_strip_quotes;
-              // Fall through.
+              else
+                goto append;
+
+            append:
             default:
               yyr += *yyp;
               break;
@@ -195,6 +198,8 @@ namespace isc { namespace eval {
   EvalParser::~EvalParser ()
   {}
 
+  EvalParser::syntax_error::~syntax_error () YY_NOEXCEPT YY_NOTHROW
+  {}
 
   /*---------------.
   | Symbol types.  |
@@ -203,16 +208,16 @@ namespace isc { namespace eval {
 
 
   // by_state.
-  EvalParser::by_state::by_state ()
+  EvalParser::by_state::by_state () YY_NOEXCEPT
     : state (empty_state)
   {}
 
-  EvalParser::by_state::by_state (const by_state& other)
-    : state (other.state)
+  EvalParser::by_state::by_state (const by_state& that) YY_NOEXCEPT
+    : state (that.state)
   {}
 
   void
-  EvalParser::by_state::clear ()
+  EvalParser::by_state::clear () YY_NOEXCEPT
   {
     state = empty_state;
   }
@@ -224,12 +229,12 @@ namespace isc { namespace eval {
     that.clear ();
   }
 
-  EvalParser::by_state::by_state (state_type s)
+  EvalParser::by_state::by_state (state_type s) YY_NOEXCEPT
     : state (s)
   {}
 
   EvalParser::symbol_number_type
-  EvalParser::by_state::type_get () const
+  EvalParser::by_state::type_get () const YY_NOEXCEPT
   {
     if (state == empty_state)
       return empty_symbol;
@@ -426,114 +431,101 @@ namespace isc { namespace eval {
     std::ostream& yyoutput = yyo;
     YYUSE (yyoutput);
     symbol_number_type yytype = yysym.type_get ();
+#if defined __GNUC__ && ! defined __clang__ && ! defined __ICC && __GNUC__ * 100 + __GNUC_MINOR__ <= 408
     // Avoid a (spurious) G++ 4.8 warning about "array subscript is
     // below array bounds".
     if (yysym.empty ())
       std::abort ();
+#endif
     yyo << (yytype < yyntokens_ ? "token" : "nterm")
         << ' ' << yytname_[yytype] << " ("
         << yysym.location << ": ";
     switch (yytype)
     {
-            case 50: // "constant string"
-
-#line 111 "parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< std::string > (); }
-#line 443 "parser.cc" // lalr1.cc:672
+      case 50: // "constant string"
+#line 111 "parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < std::string > (); }
+#line 449 "parser.cc" // lalr1.cc:676
         break;
 
       case 51: // "integer"
-
-#line 111 "parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< std::string > (); }
-#line 450 "parser.cc" // lalr1.cc:672
+#line 111 "parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < std::string > (); }
+#line 455 "parser.cc" // lalr1.cc:676
         break;
 
       case 52: // "constant hexstring"
-
-#line 111 "parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< std::string > (); }
-#line 457 "parser.cc" // lalr1.cc:672
+#line 111 "parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < std::string > (); }
+#line 461 "parser.cc" // lalr1.cc:676
         break;
 
       case 53: // "option name"
-
-#line 111 "parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< std::string > (); }
-#line 464 "parser.cc" // lalr1.cc:672
+#line 111 "parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < std::string > (); }
+#line 467 "parser.cc" // lalr1.cc:676
         break;
 
       case 54: // "ip address"
-
-#line 111 "parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< std::string > (); }
-#line 471 "parser.cc" // lalr1.cc:672
+#line 111 "parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < std::string > (); }
+#line 473 "parser.cc" // lalr1.cc:676
         break;
 
       case 60: // integer_expr
-
-#line 111 "parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< uint32_t > (); }
-#line 478 "parser.cc" // lalr1.cc:672
+#line 111 "parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < uint32_t > (); }
+#line 479 "parser.cc" // lalr1.cc:676
         break;
 
       case 61: // option_code
-
-#line 111 "parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< uint16_t > (); }
-#line 485 "parser.cc" // lalr1.cc:672
+#line 111 "parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < uint16_t > (); }
+#line 485 "parser.cc" // lalr1.cc:676
         break;
 
       case 62: // option_repr_type
-
-#line 111 "parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< TokenOption::RepresentationType > (); }
-#line 492 "parser.cc" // lalr1.cc:672
+#line 111 "parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < TokenOption::RepresentationType > (); }
+#line 491 "parser.cc" // lalr1.cc:676
         break;
 
       case 63: // nest_level
-
-#line 111 "parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< int8_t > (); }
-#line 499 "parser.cc" // lalr1.cc:672
+#line 111 "parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < int8_t > (); }
+#line 497 "parser.cc" // lalr1.cc:676
         break;
 
       case 64: // pkt_metadata
-
-#line 111 "parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< TokenPkt::MetadataType > (); }
-#line 506 "parser.cc" // lalr1.cc:672
+#line 111 "parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < TokenPkt::MetadataType > (); }
+#line 503 "parser.cc" // lalr1.cc:676
         break;
 
       case 65: // enterprise_id
-
-#line 111 "parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< uint32_t > (); }
-#line 513 "parser.cc" // lalr1.cc:672
+#line 111 "parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < uint32_t > (); }
+#line 509 "parser.cc" // lalr1.cc:676
         break;
 
       case 66: // pkt4_field
-
-#line 111 "parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< TokenPkt4::FieldType > (); }
-#line 520 "parser.cc" // lalr1.cc:672
+#line 111 "parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < TokenPkt4::FieldType > (); }
+#line 515 "parser.cc" // lalr1.cc:676
         break;
 
       case 67: // pkt6_field
-
-#line 111 "parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< TokenPkt6::FieldType > (); }
-#line 527 "parser.cc" // lalr1.cc:672
+#line 111 "parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < TokenPkt6::FieldType > (); }
+#line 521 "parser.cc" // lalr1.cc:676
         break;
 
       case 68: // relay6_field
-
-#line 111 "parser.yy" // lalr1.cc:672
-        { yyoutput << yysym.value.template as< TokenRelay6Field::FieldType > (); }
-#line 534 "parser.cc" // lalr1.cc:672
+#line 111 "parser.yy" // lalr1.cc:676
+        { yyoutput << yysym.value.template as < TokenRelay6Field::FieldType > (); }
+#line 527 "parser.cc" // lalr1.cc:676
         break;
 
-
       default:
         break;
     }
@@ -656,17 +648,22 @@ namespace isc { namespace eval {
     yystack_.clear ();
     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 << '\n';
 
     // Accept?
     if (yystack_[0].state == yyfinal_)
-      goto yyacceptlab;
+      YYACCEPT;
 
     goto yybackup;
 
-    // Backup.
+
+  /*-----------.
+  | yybackup.  |
+  `-----------*/
   yybackup:
     // Try to take a decision without lookahead.
     yyn = yypact_[yystack_[0].state];
@@ -687,6 +684,7 @@ namespace isc { namespace eval {
 #if YY_EXCEPTIONS
         catch (const syntax_error& yyexc)
           {
+            YYCDEBUG << "Caught exception: " << yyexc.what() << '\n';
             error (yyexc);
             goto yyerrlab1;
           }
@@ -718,6 +716,7 @@ namespace isc { namespace eval {
     yypush_ ("Shifting", yyn, YY_MOVE (yyla));
     goto yynewstate;
 
+
   /*-----------------------------------------------------------.
   | yydefault -- do the default action for the current state.  |
   `-----------------------------------------------------------*/
@@ -727,8 +726,9 @@ namespace isc { namespace eval {
       goto yyerrlab;
     goto yyreduce;
 
+
   /*-----------------------------.
-  | yyreduce -- Do a reduction.  |
+  | yyreduce -- do a reduction.  |
   `-----------------------------*/
   yyreduce:
     yylen = yyr2_[yyn];
@@ -788,8 +788,8 @@ namespace isc { namespace eval {
 
       // 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;
       }
 
@@ -802,57 +802,57 @@ namespace isc { namespace eval {
           switch (yyn)
             {
   case 6:
-#line 131 "parser.yy" // lalr1.cc:907
+#line 131 "parser.yy" // lalr1.cc:919
     {
                     TokenPtr neg(new TokenNot());
                     ctx.expression.push_back(neg);
                 }
-#line 811 "parser.cc" // lalr1.cc:907
+#line 811 "parser.cc" // lalr1.cc:919
     break;
 
   case 7:
-#line 136 "parser.yy" // lalr1.cc:907
+#line 136 "parser.yy" // lalr1.cc:919
     {
                     TokenPtr neg(new TokenAnd());
                     ctx.expression.push_back(neg);
                 }
-#line 820 "parser.cc" // lalr1.cc:907
+#line 820 "parser.cc" // lalr1.cc:919
     break;
 
   case 8:
-#line 141 "parser.yy" // lalr1.cc:907
+#line 141 "parser.yy" // lalr1.cc:919
     {
                     TokenPtr neg(new TokenOr());
                     ctx.expression.push_back(neg);
                 }
-#line 829 "parser.cc" // lalr1.cc:907
+#line 829 "parser.cc" // lalr1.cc:919
     break;
 
   case 9:
-#line 146 "parser.yy" // lalr1.cc:907
+#line 146 "parser.yy" // lalr1.cc:919
     {
                     TokenPtr eq(new TokenEqual());
                     ctx.expression.push_back(eq);
                 }
-#line 838 "parser.cc" // lalr1.cc:907
+#line 838 "parser.cc" // lalr1.cc:919
     break;
 
   case 10:
-#line 151 "parser.yy" // lalr1.cc:907
+#line 151 "parser.yy" // lalr1.cc:919
     {
-                    TokenPtr opt(new TokenOption(yystack_[3].value.as< uint16_t > (), TokenOption::EXISTS));
+                    TokenPtr opt(new TokenOption(yystack_[3].value.as < uint16_t > (), TokenOption::EXISTS));
                     ctx.expression.push_back(opt);
                 }
-#line 847 "parser.cc" // lalr1.cc:907
+#line 847 "parser.cc" // lalr1.cc:919
     break;
 
   case 11:
-#line 156 "parser.yy" // lalr1.cc:907
+#line 156 "parser.yy" // lalr1.cc:919
     {
                    switch (ctx.getUniverse()) {
                    case Option::V4:
                    {
-                       TokenPtr opt(new TokenRelay4Option(yystack_[3].value.as< uint16_t > (), TokenOption::EXISTS));
+                       TokenPtr opt(new TokenRelay4Option(yystack_[3].value.as < uint16_t > (), TokenOption::EXISTS));
                        ctx.expression.push_back(opt);
                        break;
                    }
@@ -867,16 +867,16 @@ namespace isc { namespace eval {
                        error(yystack_[5].location, "relay4 can only be used in DHCPv4.");
                    }
                 }
-#line 871 "parser.cc" // lalr1.cc:907
+#line 871 "parser.cc" // lalr1.cc:919
     break;
 
   case 12:
-#line 176 "parser.yy" // lalr1.cc:907
+#line 176 "parser.yy" // lalr1.cc:919
     {
                     switch (ctx.getUniverse()) {
                     case Option::V6:
                     {
-                        TokenPtr opt(new TokenRelay6Option(yystack_[8].value.as< int8_t > (), yystack_[3].value.as< uint16_t > (), TokenOption::EXISTS));
+                        TokenPtr opt(new TokenRelay6Option(yystack_[8].value.as < int8_t > (), yystack_[3].value.as < uint16_t > (), TokenOption::EXISTS));
                         ctx.expression.push_back(opt);
                         break;
                     }
@@ -885,51 +885,51 @@ namespace isc { namespace eval {
                         error(yystack_[10].location, "relay6 can only be used in DHCPv6.");
                     }
                 }
-#line 889 "parser.cc" // lalr1.cc:907
+#line 889 "parser.cc" // lalr1.cc:919
     break;
 
   case 13:
-#line 190 "parser.yy" // lalr1.cc:907
+#line 190 "parser.yy" // lalr1.cc:919
     {
                   // Expression: vendor-class[1234].exists
                   //
                   // This token will find option 124 (DHCPv4) or 16 (DHCPv6),
                   // and will check if enterprise-id equals specified value.
-                  TokenPtr exist(new TokenVendorClass(ctx.getUniverse(), yystack_[3].value.as< uint32_t > (), TokenOption::EXISTS));
+                  TokenPtr exist(new TokenVendorClass(ctx.getUniverse(), yystack_[3].value.as < uint32_t > (), TokenOption::EXISTS));
                   ctx.expression.push_back(exist);
               }
-#line 902 "parser.cc" // lalr1.cc:907
+#line 902 "parser.cc" // lalr1.cc:919
     break;
 
   case 14:
-#line 199 "parser.yy" // lalr1.cc:907
+#line 199 "parser.yy" // lalr1.cc:919
     {
                   // Expression: vendor[1234].exists
                   //
                   // This token will find option 125 (DHCPv4) or 17 (DHCPv6),
                   // and will check if enterprise-id equals specified value.
-                  TokenPtr exist(new TokenVendor(ctx.getUniverse(), yystack_[3].value.as< uint32_t > (), TokenOption::EXISTS));
+                  TokenPtr exist(new TokenVendor(ctx.getUniverse(), yystack_[3].value.as < uint32_t > (), TokenOption::EXISTS));
                   ctx.expression.push_back(exist);
               }
-#line 915 "parser.cc" // lalr1.cc:907
+#line 915 "parser.cc" // lalr1.cc:919
     break;
 
   case 15:
-#line 208 "parser.yy" // lalr1.cc:907
+#line 208 "parser.yy" // lalr1.cc:919
     {
                   // Expression vendor[1234].option[123].exists
                   //
                   // This token will check if specified vendor option
                   // exists, has specified enterprise-id and if has
                   // specified suboption.
-                  TokenPtr exist(new TokenVendor(ctx.getUniverse(), yystack_[8].value.as< uint32_t > (), TokenOption::EXISTS, yystack_[3].value.as< uint16_t > ()));
+                  TokenPtr exist(new TokenVendor(ctx.getUniverse(), yystack_[8].value.as < uint32_t > (), TokenOption::EXISTS, yystack_[3].value.as < uint16_t > ()));
                   ctx.expression.push_back(exist);
                }
-#line 929 "parser.cc" // lalr1.cc:907
+#line 929 "parser.cc" // lalr1.cc:919
     break;
 
   case 16:
-#line 218 "parser.yy" // lalr1.cc:907
+#line 218 "parser.yy" // lalr1.cc:919
     {
                   // Expression member('foo')
                   //
@@ -937,59 +937,59 @@ namespace isc { namespace eval {
                   // the specified client class.
                   // To avoid loops at evaluation only already defined and
                   // built-in classes are allowed.
-                  std::string cc = yystack_[1].value.as< std::string > ();
+                  std::string cc = yystack_[1].value.as < std::string > ();
                   if (!ctx.isClientClassDefined(cc)) {
                       error(yystack_[1].location, "Not defined client class '" + cc + "'");
                   }
                   TokenPtr member(new TokenMember(cc));
                   ctx.expression.push_back(member);
               }
-#line 948 "parser.cc" // lalr1.cc:907
+#line 948 "parser.cc" // lalr1.cc:919
     break;
 
   case 17:
-#line 235 "parser.yy" // lalr1.cc:907
+#line 235 "parser.yy" // lalr1.cc:919
     {
-                      TokenPtr str(new TokenString(yystack_[0].value.as< std::string > ()));
+                      TokenPtr str(new TokenString(yystack_[0].value.as < std::string > ()));
                       ctx.expression.push_back(str);
                   }
-#line 957 "parser.cc" // lalr1.cc:907
+#line 957 "parser.cc" // lalr1.cc:919
     break;
 
   case 18:
-#line 240 "parser.yy" // lalr1.cc:907
+#line 240 "parser.yy" // lalr1.cc:919
     {
-                      TokenPtr hex(new TokenHexString(yystack_[0].value.as< std::string > ()));
+                      TokenPtr hex(new TokenHexString(yystack_[0].value.as < std::string > ()));
                       ctx.expression.push_back(hex);
                   }
-#line 966 "parser.cc" // lalr1.cc:907
+#line 966 "parser.cc" // lalr1.cc:919
     break;
 
   case 19:
-#line 245 "parser.yy" // lalr1.cc:907
+#line 245 "parser.yy" // lalr1.cc:919
     {
-                      TokenPtr ip(new TokenIpAddress(yystack_[0].value.as< std::string > ()));
+                      TokenPtr ip(new TokenIpAddress(yystack_[0].value.as < std::string > ()));
                       ctx.expression.push_back(ip);
                   }
-#line 975 "parser.cc" // lalr1.cc:907
+#line 975 "parser.cc" // lalr1.cc:919
     break;
 
   case 20:
-#line 250 "parser.yy" // lalr1.cc:907
+#line 250 "parser.yy" // lalr1.cc:919
     {
-                      TokenPtr opt(new TokenOption(yystack_[3].value.as< uint16_t > (), yystack_[0].value.as< TokenOption::RepresentationType > ()));
+                      TokenPtr opt(new TokenOption(yystack_[3].value.as < uint16_t > (), yystack_[0].value.as < TokenOption::RepresentationType > ()));
                       ctx.expression.push_back(opt);
                   }
-#line 984 "parser.cc" // lalr1.cc:907
+#line 984 "parser.cc" // lalr1.cc:919
     break;
 
   case 21:
-#line 255 "parser.yy" // lalr1.cc:907
+#line 255 "parser.yy" // lalr1.cc:919
     {
                      switch (ctx.getUniverse()) {
                      case Option::V4:
                      {
-                         TokenPtr opt(new TokenRelay4Option(yystack_[3].value.as< uint16_t > (), yystack_[0].value.as< TokenOption::RepresentationType > ()));
+                         TokenPtr opt(new TokenRelay4Option(yystack_[3].value.as < uint16_t > (), yystack_[0].value.as < TokenOption::RepresentationType > ()));
                          ctx.expression.push_back(opt);
                          break;
                      }
@@ -1004,16 +1004,16 @@ namespace isc { namespace eval {
                          error(yystack_[5].location, "relay4 can only be used in DHCPv4.");
                      }
                   }
-#line 1008 "parser.cc" // lalr1.cc:907
+#line 1008 "parser.cc" // lalr1.cc:919
     break;
 
   case 22:
-#line 276 "parser.yy" // lalr1.cc:907
+#line 276 "parser.yy" // lalr1.cc:919
     {
                      switch (ctx.getUniverse()) {
                      case Option::V6:
                      {
-                         TokenPtr opt(new TokenRelay6Option(yystack_[8].value.as< int8_t > (), yystack_[3].value.as< uint16_t > (), yystack_[0].value.as< TokenOption::RepresentationType > ()));
+                         TokenPtr opt(new TokenRelay6Option(yystack_[8].value.as < int8_t > (), yystack_[3].value.as < uint16_t > (), yystack_[0].value.as < TokenOption::RepresentationType > ()));
                          ctx.expression.push_back(opt);
                          break;
                      }
@@ -1022,25 +1022,25 @@ namespace isc { namespace eval {
                          error(yystack_[10].location, "relay6 can only be used in DHCPv6.");
                      }
                   }
-#line 1026 "parser.cc" // lalr1.cc:907
+#line 1026 "parser.cc" // lalr1.cc:919
     break;
 
   case 23:
-#line 291 "parser.yy" // lalr1.cc:907
+#line 291 "parser.yy" // lalr1.cc:919
     {
-                      TokenPtr pkt_metadata(new TokenPkt(yystack_[0].value.as< TokenPkt::MetadataType > ()));
+                      TokenPtr pkt_metadata(new TokenPkt(yystack_[0].value.as < TokenPkt::MetadataType > ()));
                       ctx.expression.push_back(pkt_metadata);
                   }
-#line 1035 "parser.cc" // lalr1.cc:907
+#line 1035 "parser.cc" // lalr1.cc:919
     break;
 
   case 24:
-#line 296 "parser.yy" // lalr1.cc:907
+#line 296 "parser.yy" // lalr1.cc:919
     {
                      switch (ctx.getUniverse()) {
                      case Option::V4:
                      {
-                         TokenPtr pkt4_field(new TokenPkt4(yystack_[0].value.as< TokenPkt4::FieldType > ()));
+                         TokenPtr pkt4_field(new TokenPkt4(yystack_[0].value.as < TokenPkt4::FieldType > ()));
                          ctx.expression.push_back(pkt4_field);
                          break;
                      }
@@ -1049,16 +1049,16 @@ namespace isc { namespace eval {
                          error(yystack_[2].location, "pkt4 can only be used in DHCPv4.");
                      }
                   }
-#line 1053 "parser.cc" // lalr1.cc:907
+#line 1053 "parser.cc" // lalr1.cc:919
     break;
 
   case 25:
-#line 310 "parser.yy" // lalr1.cc:907
+#line 310 "parser.yy" // lalr1.cc:919
     {
                      switch (ctx.getUniverse()) {
                      case Option::V6:
                      {
-                         TokenPtr pkt6_field(new TokenPkt6(yystack_[0].value.as< TokenPkt6::FieldType > ()));
+                         TokenPtr pkt6_field(new TokenPkt6(yystack_[0].value.as < TokenPkt6::FieldType > ()));
                          ctx.expression.push_back(pkt6_field);
                          break;
                      }
@@ -1067,16 +1067,16 @@ namespace isc { namespace eval {
                          error(yystack_[2].location, "pkt6 can only be used in DHCPv6.");
                      }
                   }
-#line 1071 "parser.cc" // lalr1.cc:907
+#line 1071 "parser.cc" // lalr1.cc:919
     break;
 
   case 26:
-#line 324 "parser.yy" // lalr1.cc:907
+#line 324 "parser.yy" // lalr1.cc:919
     {
                      switch (ctx.getUniverse()) {
                      case Option::V6:
                      {
-                         TokenPtr relay6field(new TokenRelay6Field(yystack_[3].value.as< int8_t > (), yystack_[0].value.as< TokenRelay6Field::FieldType > ()));
+                         TokenPtr relay6field(new TokenRelay6Field(yystack_[3].value.as < int8_t > (), yystack_[0].value.as < TokenRelay6Field::FieldType > ()));
                          ctx.expression.push_back(relay6field);
                          break;
                      }
@@ -1085,47 +1085,47 @@ namespace isc { namespace eval {
                          error(yystack_[5].location, "relay6 can only be used in DHCPv6.");
                      }
                   }
-#line 1089 "parser.cc" // lalr1.cc:907
+#line 1089 "parser.cc" // lalr1.cc:919
     break;
 
   case 27:
-#line 339 "parser.yy" // lalr1.cc:907
+#line 339 "parser.yy" // lalr1.cc:919
     {
                       TokenPtr sub(new TokenSubstring());
                       ctx.expression.push_back(sub);
                   }
-#line 1098 "parser.cc" // lalr1.cc:907
+#line 1098 "parser.cc" // lalr1.cc:919
     break;
 
   case 28:
-#line 344 "parser.yy" // lalr1.cc:907
+#line 344 "parser.yy" // lalr1.cc:919
     {
                       TokenPtr conc(new TokenConcat());
                       ctx.expression.push_back(conc);
                   }
-#line 1107 "parser.cc" // lalr1.cc:907
+#line 1107 "parser.cc" // lalr1.cc:919
     break;
 
   case 29:
-#line 349 "parser.yy" // lalr1.cc:907
+#line 349 "parser.yy" // lalr1.cc:919
     {
                       TokenPtr cond(new TokenIfElse());
                       ctx.expression.push_back(cond);
                   }
-#line 1116 "parser.cc" // lalr1.cc:907
+#line 1116 "parser.cc" // lalr1.cc:919
     break;
 
   case 30:
-#line 354 "parser.yy" // lalr1.cc:907
+#line 354 "parser.yy" // lalr1.cc:919
     {
                       TokenPtr tohex(new TokenToHexString());
                       ctx.expression.push_back(tohex);
                   }
-#line 1125 "parser.cc" // lalr1.cc:907
+#line 1125 "parser.cc" // lalr1.cc:919
     break;
 
   case 31:
-#line 359 "parser.yy" // lalr1.cc:907
+#line 359 "parser.yy" // lalr1.cc:919
     {
                     // expression: vendor.enterprise
                     //
@@ -1134,11 +1134,11 @@ namespace isc { namespace eval {
                     TokenPtr vendor(new TokenVendor(ctx.getUniverse(), 0, TokenVendor::ENTERPRISE_ID));
                     ctx.expression.push_back(vendor);
                 }
-#line 1138 "parser.cc" // lalr1.cc:907
+#line 1138 "parser.cc" // lalr1.cc:919
     break;
 
   case 32:
-#line 368 "parser.yy" // lalr1.cc:907
+#line 368 "parser.yy" // lalr1.cc:919
     {
                     // expression: vendor-class.enterprise
                     //
@@ -1148,24 +1148,24 @@ namespace isc { namespace eval {
                                                          TokenVendor::ENTERPRISE_ID));
                     ctx.expression.push_back(vendor);
                 }
-#line 1152 "parser.cc" // lalr1.cc:907
+#line 1152 "parser.cc" // lalr1.cc:919
     break;
 
   case 33:
-#line 378 "parser.yy" // lalr1.cc:907
+#line 378 "parser.yy" // lalr1.cc:919
     {
                     // This token will search for vendor option with
                     // specified enterprise-id.  If found, will search
                     // for specified suboption and finally will return
                     // its content.
-                    TokenPtr opt(new TokenVendor(ctx.getUniverse(), yystack_[8].value.as< uint32_t > (), yystack_[0].value.as< TokenOption::RepresentationType > (), yystack_[3].value.as< uint16_t > ()));
+                    TokenPtr opt(new TokenVendor(ctx.getUniverse(), yystack_[8].value.as < uint32_t > (), yystack_[0].value.as < TokenOption::RepresentationType > (), yystack_[3].value.as < uint16_t > ()));
                     ctx.expression.push_back(opt);
                 }
-#line 1165 "parser.cc" // lalr1.cc:907
+#line 1165 "parser.cc" // lalr1.cc:919
     break;
 
   case 34:
-#line 387 "parser.yy" // lalr1.cc:907
+#line 387 "parser.yy" // lalr1.cc:919
     {
                     // expression: vendor-class[1234].data
                     //
@@ -1174,15 +1174,15 @@ namespace isc { namespace eval {
                     // structure allows multiple of them). If chunk
                     // offset is not specified, we assume the first (0th)
                     // is requested.
-                    TokenPtr vendor_class(new TokenVendorClass(ctx.getUniverse(), yystack_[3].value.as< uint32_t > (),
+                    TokenPtr vendor_class(new TokenVendorClass(ctx.getUniverse(), yystack_[3].value.as < uint32_t > (),
                                                                TokenVendor::DATA, 0));
                     ctx.expression.push_back(vendor_class);
                 }
-#line 1182 "parser.cc" // lalr1.cc:907
+#line 1182 "parser.cc" // lalr1.cc:919
     break;
 
   case 35:
-#line 400 "parser.yy" // lalr1.cc:907
+#line 400 "parser.yy" // lalr1.cc:919
     {
                     // expression: vendor-class[1234].data[5]
                     //
@@ -1190,252 +1190,252 @@ namespace isc { namespace eval {
                     // but chunks of data (typically 1, but the option
                     // structure allows multiple of them). This syntax
                     // specifies which data chunk (tuple) we want.
-                    uint8_t index = ctx.convertUint8(yystack_[1].value.as< std::string > (), yystack_[1].location);
-                    TokenPtr vendor_class(new TokenVendorClass(ctx.getUniverse(), yystack_[6].value.as< uint32_t > (),
+                    uint8_t index = ctx.convertUint8(yystack_[1].value.as < std::string > (), yystack_[1].location);
+                    TokenPtr vendor_class(new TokenVendorClass(ctx.getUniverse(), yystack_[6].value.as < uint32_t > (),
                                                                TokenVendor::DATA, index));
                     ctx.expression.push_back(vendor_class);
                 }
-#line 1199 "parser.cc" // lalr1.cc:907
+#line 1199 "parser.cc" // lalr1.cc:919
     break;
 
   case 36:
-#line 413 "parser.yy" // lalr1.cc:907
+#line 413 "parser.yy" // lalr1.cc:919
     {
-                    TokenPtr integer(new TokenInteger(yystack_[0].value.as< uint32_t > ()));
+                    TokenPtr integer(new TokenInteger(yystack_[0].value.as < uint32_t > ()));
                     ctx.expression.push_back(integer);
                 }
-#line 1208 "parser.cc" // lalr1.cc:907
+#line 1208 "parser.cc" // lalr1.cc:919
     break;
 
   case 37:
-#line 420 "parser.yy" // lalr1.cc:907
+#line 420 "parser.yy" // lalr1.cc:919
     {
-                     yylhs.value.as< uint32_t > () = ctx.convertUint32(yystack_[0].value.as< std::string > (), yystack_[0].location);
+                     yylhs.value.as < uint32_t > () = ctx.convertUint32(yystack_[0].value.as < std::string > (), yystack_[0].location);
                  }
-#line 1216 "parser.cc" // lalr1.cc:907
+#line 1216 "parser.cc" // lalr1.cc:919
     break;
 
   case 38:
-#line 426 "parser.yy" // lalr1.cc:907
+#line 426 "parser.yy" // lalr1.cc:919
     {
-                     yylhs.value.as< uint16_t > () = ctx.convertOptionCode(yystack_[0].value.as< std::string > (), yystack_[0].location);
+                     yylhs.value.as < uint16_t > () = ctx.convertOptionCode(yystack_[0].value.as < std::string > (), yystack_[0].location);
                  }
-#line 1224 "parser.cc" // lalr1.cc:907
+#line 1224 "parser.cc" // lalr1.cc:919
     break;
 
   case 39:
-#line 430 "parser.yy" // lalr1.cc:907
+#line 430 "parser.yy" // lalr1.cc:919
     {
-                     yylhs.value.as< uint16_t > () = ctx.convertOptionName(yystack_[0].value.as< std::string > (), yystack_[0].location);
+                     yylhs.value.as < uint16_t > () = ctx.convertOptionName(yystack_[0].value.as < std::string > (), yystack_[0].location);
                  }
-#line 1232 "parser.cc" // lalr1.cc:907
+#line 1232 "parser.cc" // lalr1.cc:919
     break;
 
   case 40:
-#line 436 "parser.yy" // lalr1.cc:907
+#line 436 "parser.yy" // lalr1.cc:919
     {
-                          yylhs.value.as< TokenOption::RepresentationType > () = TokenOption::TEXTUAL;
+                          yylhs.value.as < TokenOption::RepresentationType > () = TokenOption::TEXTUAL;
                       }
-#line 1240 "parser.cc" // lalr1.cc:907
+#line 1240 "parser.cc" // lalr1.cc:919
     break;
 
   case 41:
-#line 440 "parser.yy" // lalr1.cc:907
+#line 440 "parser.yy" // lalr1.cc:919
     {
-                          yylhs.value.as< TokenOption::RepresentationType > () = TokenOption::HEXADECIMAL;
+                          yylhs.value.as < TokenOption::RepresentationType > () = TokenOption::HEXADECIMAL;
                       }
-#line 1248 "parser.cc" // lalr1.cc:907
+#line 1248 "parser.cc" // lalr1.cc:919
     break;
 
   case 42:
-#line 446 "parser.yy" // lalr1.cc:907
+#line 446 "parser.yy" // lalr1.cc:919
     {
-                     yylhs.value.as< int8_t > () = ctx.convertNestLevelNumber(yystack_[0].value.as< std::string > (), yystack_[0].location);
+                     yylhs.value.as < int8_t > () = ctx.convertNestLevelNumber(yystack_[0].value.as < std::string > (), yystack_[0].location);
                  }
-#line 1256 "parser.cc" // lalr1.cc:907
+#line 1256 "parser.cc" // lalr1.cc:919
     break;
 
   case 43:
-#line 455 "parser.yy" // lalr1.cc:907
+#line 455 "parser.yy" // lalr1.cc:919
     {
-                      yylhs.value.as< TokenPkt::MetadataType > () = TokenPkt::IFACE;
+                      yylhs.value.as < TokenPkt::MetadataType > () = TokenPkt::IFACE;
                   }
-#line 1264 "parser.cc" // lalr1.cc:907
+#line 1264 "parser.cc" // lalr1.cc:919
     break;
 
   case 44:
-#line 459 "parser.yy" // lalr1.cc:907
+#line 459 "parser.yy" // lalr1.cc:919
     {
-                      yylhs.value.as< TokenPkt::MetadataType > () = TokenPkt::SRC;
+                      yylhs.value.as < TokenPkt::MetadataType > () = TokenPkt::SRC;
                   }
-#line 1272 "parser.cc" // lalr1.cc:907
+#line 1272 "parser.cc" // lalr1.cc:919
     break;
 
   case 45:
-#line 463 "parser.yy" // lalr1.cc:907
+#line 463 "parser.yy" // lalr1.cc:919
     {
-                      yylhs.value.as< TokenPkt::MetadataType > () = TokenPkt::DST;
+                      yylhs.value.as < TokenPkt::MetadataType > () = TokenPkt::DST;
                   }
-#line 1280 "parser.cc" // lalr1.cc:907
+#line 1280 "parser.cc" // lalr1.cc:919
     break;
 
   case 46:
-#line 467 "parser.yy" // lalr1.cc:907
+#line 467 "parser.yy" // lalr1.cc:919
     {
-                      yylhs.value.as< TokenPkt::MetadataType > () = TokenPkt::LEN;
+                      yylhs.value.as < TokenPkt::MetadataType > () = TokenPkt::LEN;
                   }
-#line 1288 "parser.cc" // lalr1.cc:907
+#line 1288 "parser.cc" // lalr1.cc:919
     break;
 
   case 47:
-#line 473 "parser.yy" // lalr1.cc:907
+#line 473 "parser.yy" // lalr1.cc:919
     {
-                       yylhs.value.as< uint32_t > () = ctx.convertUint32(yystack_[0].value.as< std::string > (), yystack_[0].location);
+                       yylhs.value.as < uint32_t > () = ctx.convertUint32(yystack_[0].value.as < std::string > (), yystack_[0].location);
                    }
-#line 1296 "parser.cc" // lalr1.cc:907
+#line 1296 "parser.cc" // lalr1.cc:919
     break;
 
   case 48:
-#line 477 "parser.yy" // lalr1.cc:907
+#line 477 "parser.yy" // lalr1.cc:919
     {
-                       yylhs.value.as< uint32_t > () = 0;
+                       yylhs.value.as < uint32_t > () = 0;
                    }
-#line 1304 "parser.cc" // lalr1.cc:907
+#line 1304 "parser.cc" // lalr1.cc:919
     break;
 
   case 49:
-#line 483 "parser.yy" // lalr1.cc:907
+#line 483 "parser.yy" // lalr1.cc:919
     {
-                    yylhs.value.as< TokenPkt4::FieldType > () = TokenPkt4::CHADDR;
+                    yylhs.value.as < TokenPkt4::FieldType > () = TokenPkt4::CHADDR;
                 }
-#line 1312 "parser.cc" // lalr1.cc:907
+#line 1312 "parser.cc" // lalr1.cc:919
     break;
 
   case 50:
-#line 487 "parser.yy" // lalr1.cc:907
+#line 487 "parser.yy" // lalr1.cc:919
     {
-                    yylhs.value.as< TokenPkt4::FieldType > () = TokenPkt4::HLEN;
+                    yylhs.value.as < TokenPkt4::FieldType > () = TokenPkt4::HLEN;
                 }
-#line 1320 "parser.cc" // lalr1.cc:907
+#line 1320 "parser.cc" // lalr1.cc:919
     break;
 
   case 51:
-#line 491 "parser.yy" // lalr1.cc:907
+#line 491 "parser.yy" // lalr1.cc:919
     {
-                    yylhs.value.as< TokenPkt4::FieldType > () = TokenPkt4::HTYPE;
+                    yylhs.value.as < TokenPkt4::FieldType > () = TokenPkt4::HTYPE;
                 }
-#line 1328 "parser.cc" // lalr1.cc:907
+#line 1328 "parser.cc" // lalr1.cc:919
     break;
 
   case 52:
-#line 495 "parser.yy" // lalr1.cc:907
+#line 495 "parser.yy" // lalr1.cc:919
     {
-                    yylhs.value.as< TokenPkt4::FieldType > () = TokenPkt4::CIADDR;
+                    yylhs.value.as < TokenPkt4::FieldType > () = TokenPkt4::CIADDR;
                 }
-#line 1336 "parser.cc" // lalr1.cc:907
+#line 1336 "parser.cc" // lalr1.cc:919
     break;
 
   case 53:
-#line 499 "parser.yy" // lalr1.cc:907
+#line 499 "parser.yy" // lalr1.cc:919
     {
-                    yylhs.value.as< TokenPkt4::FieldType > () = TokenPkt4::GIADDR;
+                    yylhs.value.as < TokenPkt4::FieldType > () = TokenPkt4::GIADDR;
                 }
-#line 1344 "parser.cc" // lalr1.cc:907
+#line 1344 "parser.cc" // lalr1.cc:919
     break;
 
   case 54:
-#line 503 "parser.yy" // lalr1.cc:907
+#line 503 "parser.yy" // lalr1.cc:919
     {
-                    yylhs.value.as< TokenPkt4::FieldType > () = TokenPkt4::YIADDR;
+                    yylhs.value.as < TokenPkt4::FieldType > () = TokenPkt4::YIADDR;
                 }
-#line 1352 "parser.cc" // lalr1.cc:907
+#line 1352 "parser.cc" // lalr1.cc:919
     break;
 
   case 55:
-#line 507 "parser.yy" // lalr1.cc:907
+#line 507 "parser.yy" // lalr1.cc:919
     {
-                    yylhs.value.as< TokenPkt4::FieldType > () = TokenPkt4::SIADDR;
+                    yylhs.value.as < TokenPkt4::FieldType > () = TokenPkt4::SIADDR;
                 }
-#line 1360 "parser.cc" // lalr1.cc:907
+#line 1360 "parser.cc" // lalr1.cc:919
     break;
 
   case 56:
-#line 511 "parser.yy" // lalr1.cc:907
+#line 511 "parser.yy" // lalr1.cc:919
     {
-                    yylhs.value.as< TokenPkt4::FieldType > () = TokenPkt4::MSGTYPE;
+                    yylhs.value.as < TokenPkt4::FieldType > () = TokenPkt4::MSGTYPE;
                  }
-#line 1368 "parser.cc" // lalr1.cc:907
+#line 1368 "parser.cc" // lalr1.cc:919
     break;
 
   case 57:
-#line 515 "parser.yy" // lalr1.cc:907
+#line 515 "parser.yy" // lalr1.cc:919
     {
-                    yylhs.value.as< TokenPkt4::FieldType > () = TokenPkt4::TRANSID;
+                    yylhs.value.as < TokenPkt4::FieldType > () = TokenPkt4::TRANSID;
                  }
-#line 1376 "parser.cc" // lalr1.cc:907
+#line 1376 "parser.cc" // lalr1.cc:919
     break;
 
   case 58:
-#line 521 "parser.yy" // lalr1.cc:907
+#line 521 "parser.yy" // lalr1.cc:919
     {
-                     yylhs.value.as< TokenPkt6::FieldType > () = TokenPkt6::MSGTYPE;
+                     yylhs.value.as < TokenPkt6::FieldType > () = TokenPkt6::MSGTYPE;
                  }
-#line 1384 "parser.cc" // lalr1.cc:907
+#line 1384 "parser.cc" // lalr1.cc:919
     break;
 
   case 59:
-#line 525 "parser.yy" // lalr1.cc:907
+#line 525 "parser.yy" // lalr1.cc:919
     {
-                     yylhs.value.as< TokenPkt6::FieldType > () = TokenPkt6::TRANSID;
+                     yylhs.value.as < TokenPkt6::FieldType > () = TokenPkt6::TRANSID;
                  }
-#line 1392 "parser.cc" // lalr1.cc:907
+#line 1392 "parser.cc" // lalr1.cc:919
     break;
 
   case 60:
-#line 531 "parser.yy" // lalr1.cc:907
+#line 531 "parser.yy" // lalr1.cc:919
     {
-                       yylhs.value.as< TokenRelay6Field::FieldType > () = TokenRelay6Field::PEERADDR;
+                       yylhs.value.as < TokenRelay6Field::FieldType > () = TokenRelay6Field::PEERADDR;
                    }
-#line 1400 "parser.cc" // lalr1.cc:907
+#line 1400 "parser.cc" // lalr1.cc:919
     break;
 
   case 61:
-#line 535 "parser.yy" // lalr1.cc:907
+#line 535 "parser.yy" // lalr1.cc:919
     {
-                       yylhs.value.as< TokenRelay6Field::FieldType > () = TokenRelay6Field::LINKADDR;
+                       yylhs.value.as < TokenRelay6Field::FieldType > () = TokenRelay6Field::LINKADDR;
                    }
-#line 1408 "parser.cc" // lalr1.cc:907
+#line 1408 "parser.cc" // lalr1.cc:919
     break;
 
   case 62:
-#line 541 "parser.yy" // lalr1.cc:907
+#line 541 "parser.yy" // lalr1.cc:919
     {
-                    TokenPtr str(new TokenString(yystack_[0].value.as< std::string > ()));
+                    TokenPtr str(new TokenString(yystack_[0].value.as < std::string > ()));
                     ctx.expression.push_back(str);
                 }
-#line 1417 "parser.cc" // lalr1.cc:907
+#line 1417 "parser.cc" // lalr1.cc:919
     break;
 
   case 63:
-#line 548 "parser.yy" // lalr1.cc:907
+#line 548 "parser.yy" // lalr1.cc:919
     {
-                     TokenPtr str(new TokenString(yystack_[0].value.as< std::string > ()));
+                     TokenPtr str(new TokenString(yystack_[0].value.as < std::string > ()));
                      ctx.expression.push_back(str);
                  }
-#line 1426 "parser.cc" // lalr1.cc:907
+#line 1426 "parser.cc" // lalr1.cc:919
     break;
 
   case 64:
-#line 553 "parser.yy" // lalr1.cc:907
+#line 553 "parser.yy" // lalr1.cc:919
     {
                      TokenPtr str(new TokenString("all"));
                      ctx.expression.push_back(str);
                  }
-#line 1435 "parser.cc" // lalr1.cc:907
+#line 1435 "parser.cc" // lalr1.cc:919
     break;
 
 
-#line 1439 "parser.cc" // lalr1.cc:907
+#line 1439 "parser.cc" // lalr1.cc:919
             default:
               break;
             }
@@ -1443,6 +1443,7 @@ namespace isc { namespace eval {
 #if YY_EXCEPTIONS
       catch (const syntax_error& yyexc)
         {
+          YYCDEBUG << "Caught exception: " << yyexc.what() << '\n';
           error (yyexc);
           YYERROR;
         }
@@ -1457,6 +1458,7 @@ namespace isc { namespace eval {
     }
     goto yynewstate;
 
+
   /*--------------------------------------.
   | yyerrlab -- here on detecting error.  |
   `--------------------------------------*/
@@ -1493,18 +1495,18 @@ namespace isc { namespace eval {
   | 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;
+
     /* Do not reclaim the symbols of the rule whose action triggered
        this YYERROR.  */
     yypop_ (yylen);
     yylen = 0;
     goto yyerrlab1;
 
+
   /*-------------------------------------------------------------.
   | yyerrlab1 -- common code for both syntax error and YYERROR.  |
   `-------------------------------------------------------------*/
@@ -1545,16 +1547,26 @@ namespace isc { namespace eval {
     }
     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);
@@ -1924,10 +1936,10 @@ namespace isc { namespace eval {
 #endif // EVALDEBUG
 
 
-#line 14 "parser.yy" // lalr1.cc:1218
+#line 14 "parser.yy" // lalr1.cc:1242
 } } // isc::eval
-#line 1930 "parser.cc" // lalr1.cc:1218
-#line 559 "parser.yy" // lalr1.cc:1219
+#line 1942 "parser.cc" // lalr1.cc:1242
+#line 559 "parser.yy" // lalr1.cc:1243
 
 void
 isc::eval::EvalParser::error(const location_type& loc,
index 6d5b96d07a5429025ef288a196ea314daf80e217..4c8e540391c14531f8042f5667656e65c5f089b7 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.2.1.
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Skeleton interface for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2019 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
@@ -44,7 +44,7 @@
 #ifndef YY_EVAL_PARSER_H_INCLUDED
 # define YY_EVAL_PARSER_H_INCLUDED
 // //                    "%code requires" blocks.
-#line 17 "parser.yy" // lalr1.cc:404
+#line 17 "parser.yy" // lalr1.cc:401
 
 #include <string>
 #include <eval/token.h>
@@ -55,7 +55,7 @@
 using namespace isc::dhcp;
 using namespace isc::eval;
 
-#line 59 "parser.h" // lalr1.cc:404
+#line 59 "parser.h" // lalr1.cc:401
 
 # include <cassert>
 # include <cstdlib> // std::abort
@@ -84,6 +84,22 @@ using namespace isc::eval;
 # 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
@@ -161,193 +177,79 @@ using namespace isc::eval;
 # endif /* ! defined YYDEBUG */
 #endif  /* ! defined EVALDEBUG */
 
-#line 14 "parser.yy" // lalr1.cc:404
+#line 14 "parser.yy" // lalr1.cc:401
 namespace isc { namespace eval {
-#line 167 "parser.h" // lalr1.cc:404
-
-  /// 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::reverse_iterator iterator;
-    typedef typename S::const_reverse_iterator const_iterator;
-    typedef typename S::size_type size_type;
-
-    stack (size_type n = 200)
-      : seq_ (n)
-    {}
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    T&
-    operator[] (size_type i)
-    {
-      return seq_[size () - 1 - i];
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    T&
-    operator[] (int i)
-    {
-      return operator[] (size_type (i));
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    const T&
-    operator[] (size_type i) const
-    {
-      return seq_[size () - 1 - i];
-    }
-
-    /// Random access.
-    ///
-    /// Index 0 returns the topmost element.
-    const T&
-    operator[] (int i) const
-    {
-      return operator[] (size_type (i));
-    }
+#line 183 "parser.h" // lalr1.cc:401
 
-    /// 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);
-    }
-
-    void
-    pop (int n = 1)
-    {
-      for (; 0 < n; --n)
-        seq_.pop_back ();
-    }
-
-    void
-    clear ()
-    {
-      seq_.clear ();
-    }
-
-    size_type
-    size () const
-    {
-      return seq_.size ();
-    }
-
-    const_iterator
-    begin () const
-    {
-      return seq_.rbegin ();
-    }
-
-    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 <typename T, typename S = stack<T> >
-  class slice
+  /// A Bison parser.
+  class EvalParser
   {
   public:
-    slice (const S& stack, int range)
-      : stack_ (stack)
-      , range_ (range)
-    {}
-
-    const T&
-    operator[] (int i) const
-    {
-      return stack_[range_ - i];
-    }
-
-  private:
-    const S& stack_;
-    int range_;
-  };
-
-
-
-  /// A char[S] buffer to store and retrieve objects.
+#ifndef EVALSTYPE
+  /// 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 ()
+    semantic_type () YY_NOEXCEPT
       : yybuffer_ ()
       , yytypeid_ (YY_NULLPTR)
     {}
 
     /// Construct and fill.
     template <typename T>
-    variant (YY_RVREF (T) t)
+    semantic_type (YY_RVREF (T) t)
       : yytypeid_ (&typeid (T))
     {
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       new (yyas_<T> ()) T (YY_MOVE (t));
     }
 
     /// Destruction, allowed only if empty.
-    ~variant ()
+    ~semantic_type () YY_NOEXCEPT
     {
       YYASSERT (!yytypeid_);
     }
 
-    /// Instantiate an empty \a T in here.
-    template <typename T>
+# if 201103L <= YY_CPLUSPLUS
+    /// Instantiate a \a T in here from \a t.
+    template <typename T, typename... U>
     T&
-    emplace ()
+    emplace (U&&... u)
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
-      return *new (yyas_<T> ()) T ();
+      return *new (yyas_<T> ()) T (std::forward <U>(u)...);
     }
-
-# if 201103L <= YY_CPLUSPLUS
-    /// Instantiate a \a T in here from \a t.
-    template <typename T, typename U>
+# else
+    /// Instantiate an empty \a T in here.
+    template <typename T>
     T&
-    emplace (U&& u)
+    emplace ()
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
-      return *new (yyas_<T> ()) T (std::forward <U>(u));
+      return *new (yyas_<T> ()) T ();
     }
-# else
+
     /// Instantiate a \a T in here from \a t.
     template <typename T>
     T&
     emplace (const T& t)
     {
       YYASSERT (!yytypeid_);
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (sizeof (T) <= size);
       yytypeid_ = & typeid (T);
       return *new (yyas_<T> ()) T (t);
     }
@@ -374,75 +276,75 @@ namespace isc { namespace eval {
     /// Accessor to a built \a T.
     template <typename T>
     T&
-    as ()
+    as () YY_NOEXCEPT
     {
       YYASSERT (yytypeid_);
       YYASSERT (*yytypeid_ == typeid (T));
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (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_);
       YYASSERT (*yytypeid_ == typeid (T));
-      YYASSERT (sizeof (T) <= S);
+      YYASSERT (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 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> ());
+      YYASSERT (*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& other)
+    move (self_type& that)
     {
 # if 201103L <= YY_CPLUSPLUS
-      emplace<T> (std::move (other.as<T> ()));
+      emplace<T> (std::move (that.as<T> ()));
 # else
       emplace<T> ();
-      swap<T> (other);
+      swap<T> (that);
 # endif
-      other.destroy<T> ();
+      that.destroy<T> ();
     }
 
 # if 201103L <= YY_CPLUSPLUS
-    /// Move the content of \a other to this.
+    /// Move the content of \a that to this.
     template <typename T>
     void
-    move (self_type&& other)
+    move (self_type&& that)
     {
-      emplace<T> (std::move (other.as<T> ()));
-      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)
     {
-      emplace<T> (other.as<T> ());
+      emplace<T> (that.as<T> ());
     }
 
     /// Destroy the stored \a T.
@@ -457,12 +359,12 @@ namespace isc { namespace eval {
   private:
     /// Prohibit blind copies.
     self_type& operator= (const self_type&);
-    variant (const self_type&);
+    semantic_type (const self_type&);
 
     /// Accessor to raw memory as \a T.
     template <typename T>
     T*
-    yyas_ ()
+    yyas_ () YY_NOEXCEPT
     {
       void *yyp = yybuffer_.yyraw;
       return static_cast<T*> (yyp);
@@ -471,30 +373,12 @@ namespace isc { namespace eval {
     /// 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 EvalParser
-  {
-  public:
-#ifndef EVALSTYPE
     /// An auxiliary type to compute the largest semantic type.
     union union_type
     {
@@ -529,10 +413,24 @@ namespace isc { namespace eval {
       // integer_expr
       // enterprise_id
       char dummy9[sizeof (uint32_t)];
-};
+    };
+
+    /// 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 EVALSTYPE semantic_type;
 #endif
@@ -542,7 +440,18 @@ namespace isc { namespace eval {
     /// 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;
     };
 
@@ -632,73 +541,221 @@ namespace isc { namespace eval {
       typedef Base super_type;
 
       /// Default constructor.
-      basic_symbol ();
+      basic_symbol ()
+        : value ()
+        , location ()
+      {}
 
-      /// Move or copy constructor.
-      basic_symbol (YY_RVREF (basic_symbol) other);
+#if 201103L <= YY_CPLUSPLUS
+      /// Move constructor.
+      basic_symbol (basic_symbol&& that);
+#endif
 
+      /// Copy constructor.
+      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);
+#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);
+      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, TokenOption::RepresentationType&& v, location_type&& l);
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, TokenOption::RepresentationType&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
 #else
-      basic_symbol (typename Base::kind_type t, const TokenOption::RepresentationType& v, const location_type& l);
+      basic_symbol (typename Base::kind_type t, const TokenOption::RepresentationType& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
 #endif
-# if 201103L <= YY_CPLUSPLUS
-      basic_symbol (typename Base::kind_type t, TokenPkt4::FieldType&& v, location_type&& l);
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, TokenPkt4::FieldType&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
 #else
-      basic_symbol (typename Base::kind_type t, const TokenPkt4::FieldType& v, const location_type& l);
+      basic_symbol (typename Base::kind_type t, const TokenPkt4::FieldType& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
 #endif
-# if 201103L <= YY_CPLUSPLUS
-      basic_symbol (typename Base::kind_type t, TokenPkt6::FieldType&& v, location_type&& l);
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, TokenPkt6::FieldType&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
 #else
-      basic_symbol (typename Base::kind_type t, const TokenPkt6::FieldType& v, const location_type& l);
+      basic_symbol (typename Base::kind_type t, const TokenPkt6::FieldType& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
 #endif
-# if 201103L <= YY_CPLUSPLUS
-      basic_symbol (typename Base::kind_type t, TokenPkt::MetadataType&& v, location_type&& l);
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, TokenPkt::MetadataType&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
 #else
-      basic_symbol (typename Base::kind_type t, const TokenPkt::MetadataType& v, const location_type& l);
+      basic_symbol (typename Base::kind_type t, const TokenPkt::MetadataType& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
 #endif
-# if 201103L <= YY_CPLUSPLUS
-      basic_symbol (typename Base::kind_type t, TokenRelay6Field::FieldType&& v, location_type&& l);
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, TokenRelay6Field::FieldType&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
 #else
-      basic_symbol (typename Base::kind_type t, const TokenRelay6Field::FieldType& v, const location_type& l);
+      basic_symbol (typename Base::kind_type t, const TokenRelay6Field::FieldType& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
 #endif
-# if 201103L <= YY_CPLUSPLUS
-      basic_symbol (typename Base::kind_type t, int8_t&& v, location_type&& l);
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, int8_t&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
 #else
-      basic_symbol (typename Base::kind_type t, const int8_t& v, const location_type& l);
+      basic_symbol (typename Base::kind_type t, const int8_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);
+#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);
+      basic_symbol (typename Base::kind_type t, const std::string& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
 #endif
-# if 201103L <= YY_CPLUSPLUS
-      basic_symbol (typename Base::kind_type t, uint16_t&& v, location_type&& l);
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, uint16_t&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
 #else
-      basic_symbol (typename Base::kind_type t, const uint16_t& v, const location_type& l);
+      basic_symbol (typename Base::kind_type t, const uint16_t& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
 #endif
-# if 201103L <= YY_CPLUSPLUS
-      basic_symbol (typename Base::kind_type t, uint32_t&& v, location_type&& l);
+#if 201103L <= YY_CPLUSPLUS
+      basic_symbol (typename Base::kind_type t, uint32_t&& v, location_type&& l)
+        : Base (t)
+        , value (std::move (v))
+        , location (std::move (l))
+      {}
 #else
-      basic_symbol (typename Base::kind_type t, const uint32_t& v, const location_type& l);
+      basic_symbol (typename Base::kind_type t, const uint32_t& v, const location_type& l)
+        : Base (t)
+        , value (v)
+        , location (l)
+      {}
 #endif
 
-
       /// Destroy the symbol.
-      ~basic_symbol ();
+      ~basic_symbol ()
+      {
+        clear ();
+      }
 
       /// Destroy contents, and record that is empty.
-      void clear ();
+      void 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 62: // option_repr_type
+        value.template destroy< TokenOption::RepresentationType > ();
+        break;
+
+      case 66: // pkt4_field
+        value.template destroy< TokenPkt4::FieldType > ();
+        break;
+
+      case 67: // pkt6_field
+        value.template destroy< TokenPkt6::FieldType > ();
+        break;
+
+      case 64: // pkt_metadata
+        value.template destroy< TokenPkt::MetadataType > ();
+        break;
+
+      case 68: // relay6_field
+        value.template destroy< TokenRelay6Field::FieldType > ();
+        break;
+
+      case 63: // nest_level
+        value.template destroy< int8_t > ();
+        break;
+
+      case 50: // "constant string"
+      case 51: // "integer"
+      case 52: // "constant hexstring"
+      case 53: // "option name"
+      case 54: // "ip address"
+        value.template destroy< std::string > ();
+        break;
+
+      case 61: // option_code
+        value.template destroy< uint16_t > ();
+        break;
+
+      case 60: // integer_expr
+      case 65: // enterprise_id
+        value.template destroy< uint32_t > ();
+        break;
+
+      default:
+        break;
+    }
+
+        Base::clear ();
+      }
 
       /// Whether empty.
-      bool empty () const;
+      bool empty () const YY_NOEXCEPT;
 
       /// Destructive move, \a s is emptied into this.
       void move (basic_symbol& s);
@@ -712,7 +769,7 @@ namespace isc { namespace eval {
     private:
 #if YY_CPLUSPLUS < 201103L
       /// Assignment operator.
-      basic_symbol& operator= (const basic_symbol& other);
+      basic_symbol& operator= (const basic_symbol& that);
 #endif
     };
 
@@ -722,8 +779,13 @@ namespace isc { namespace eval {
       /// Default constructor.
       by_type ();
 
+#if 201103L <= YY_CPLUSPLUS
+      /// Move constructor.
+      by_type (by_type&& that);
+#endif
+
       /// Copy constructor.
-      by_type (const by_type& other);
+      by_type (const by_type& that);
 
       /// The symbol type as needed by the constructor.
       typedef token_type kind_type;
@@ -739,10 +801,10 @@ namespace isc { namespace eval {
 
       /// The (internal) type number (corresponding to \a type).
       /// \a empty when empty.
-      symbol_number_type type_get () const;
+      symbol_number_type type_get () const YY_NOEXCEPT;
 
       /// The token.
-      token_type token () const;
+      token_type token () const YY_NOEXCEPT;
 
       /// The symbol type.
       /// \a empty_symbol when empty.
@@ -751,7 +813,42 @@ namespace isc { namespace eval {
     };
 
     /// "External" symbols: returned by the scanner.
-    typedef basic_symbol<by_type> symbol_type;
+    struct symbol_type : basic_symbol<by_type>
+    {
+      /// Superclass.
+      typedef basic_symbol<by_type> super_type;
+
+      /// Empty symbol.
+      symbol_type () {}
+
+      /// 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))
+      {
+        YYASSERT (tok == token::TOKEN_END || tok == token::TOKEN_LPAREN || tok == token::TOKEN_RPAREN || tok == token::TOKEN_NOT || tok == token::TOKEN_AND || tok == token::TOKEN_OR || tok == token::TOKEN_EQUAL || tok == token::TOKEN_OPTION || tok == token::TOKEN_RELAY4 || tok == token::TOKEN_RELAY6 || tok == token::TOKEN_MEMBER || tok == token::TOKEN_PEERADDR || tok == token::TOKEN_LINKADDR || tok == token::TOKEN_LBRACKET || tok == token::TOKEN_RBRACKET || tok == token::TOKEN_DOT || tok == token::TOKEN_TEXT || tok == token::TOKEN_HEX || tok == token::TOKEN_EXISTS || tok == token::TOKEN_PKT || tok == token::TOKEN_IFACE || tok == token::TOKEN_SRC || tok == token::TOKEN_DST || tok == token::TOKEN_LEN || tok == token::TOKEN_PKT4 || tok == token::TOKEN_CHADDR || tok == token::TOKEN_HLEN || tok == token::TOKEN_HTYPE || tok == token::TOKEN_CIADDR || tok == token::TOKEN_GIADDR || tok == token::TOKEN_YIADDR || tok == token::TOKEN_SIADDR || tok == token::TOKEN_SUBSTRING || tok == token::TOKEN_ALL || tok == token::TOKEN_COMA || tok == token::TOKEN_CONCAT || tok == token::TOKEN_IFELSE || tok == token::TOKEN_TOHEXSTRING || tok == token::TOKEN_PKT6 || tok == token::TOKEN_MSGTYPE || tok == token::TOKEN_TRANSID || tok == token::TOKEN_VENDOR_CLASS || tok == token::TOKEN_VENDOR || tok == token::TOKEN_ANY || tok == token::TOKEN_DATA || tok == token::TOKEN_ENTERPRISE || tok == token::TOKEN_TOPLEVEL_BOOL || tok == token::TOKEN_TOPLEVEL_STRING);
+      }
+#else
+      symbol_type (int tok, const location_type& l)
+        : super_type(token_type (tok), l)
+      {
+        YYASSERT (tok == token::TOKEN_END || tok == token::TOKEN_LPAREN || tok == token::TOKEN_RPAREN || tok == token::TOKEN_NOT || tok == token::TOKEN_AND || tok == token::TOKEN_OR || tok == token::TOKEN_EQUAL || tok == token::TOKEN_OPTION || tok == token::TOKEN_RELAY4 || tok == token::TOKEN_RELAY6 || tok == token::TOKEN_MEMBER || tok == token::TOKEN_PEERADDR || tok == token::TOKEN_LINKADDR || tok == token::TOKEN_LBRACKET || tok == token::TOKEN_RBRACKET || tok == token::TOKEN_DOT || tok == token::TOKEN_TEXT || tok == token::TOKEN_HEX || tok == token::TOKEN_EXISTS || tok == token::TOKEN_PKT || tok == token::TOKEN_IFACE || tok == token::TOKEN_SRC || tok == token::TOKEN_DST || tok == token::TOKEN_LEN || tok == token::TOKEN_PKT4 || tok == token::TOKEN_CHADDR || tok == token::TOKEN_HLEN || tok == token::TOKEN_HTYPE || tok == token::TOKEN_CIADDR || tok == token::TOKEN_GIADDR || tok == token::TOKEN_YIADDR || tok == token::TOKEN_SIADDR || tok == token::TOKEN_SUBSTRING || tok == token::TOKEN_ALL || tok == token::TOKEN_COMA || tok == token::TOKEN_CONCAT || tok == token::TOKEN_IFELSE || tok == token::TOKEN_TOHEXSTRING || tok == token::TOKEN_PKT6 || tok == token::TOKEN_MSGTYPE || tok == token::TOKEN_TRANSID || tok == token::TOKEN_VENDOR_CLASS || tok == token::TOKEN_VENDOR || tok == token::TOKEN_ANY || tok == token::TOKEN_DATA || tok == token::TOKEN_ENTERPRISE || tok == token::TOKEN_TOPLEVEL_BOOL || tok == token::TOKEN_TOPLEVEL_STRING);
+      }
+#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))
+      {
+        YYASSERT (tok == token::TOKEN_STRING || tok == token::TOKEN_INTEGER || tok == token::TOKEN_HEXSTRING || tok == token::TOKEN_OPTION_NAME || tok == token::TOKEN_IP_ADDRESS);
+      }
+#else
+      symbol_type (int tok, const std::string& v, const location_type& l)
+        : super_type(token_type (tok), v, l)
+      {
+        YYASSERT (tok == token::TOKEN_STRING || tok == token::TOKEN_INTEGER || tok == token::TOKEN_HEXSTRING || tok == token::TOKEN_OPTION_NAME || tok == token::TOKEN_IP_ADDRESS);
+      }
+#endif
+    };
 
     /// Build a parser object.
     EvalParser (EvalContext& ctx_yyarg);
@@ -787,219 +884,802 @@ namespace isc { namespace eval {
     /// Report a syntax error.
     void error (const syntax_error& err);
 
-    // Symbol constructors declarations.
-    static
-    symbol_type
-    make_END (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LPAREN (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RPAREN (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_NOT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_AND (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_OR (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_EQUAL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_OPTION (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RELAY4 (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RELAY6 (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MEMBER (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_PEERADDR (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LINKADDR (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LBRACKET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_RBRACKET (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DOT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_TEXT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HEX (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_EXISTS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_PKT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_IFACE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SRC (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DST (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_LEN (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_PKT4 (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CHADDR (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HLEN (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HTYPE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CIADDR (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_GIADDR (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_YIADDR (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SIADDR (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_SUBSTRING (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_ALL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_COMA (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_CONCAT (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_IFELSE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_TOHEXSTRING (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_PKT6 (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_MSGTYPE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_TRANSID (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_VENDOR_CLASS (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_VENDOR (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_ANY (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_DATA (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_ENTERPRISE (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_TOPLEVEL_BOOL (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_TOPLEVEL_STRING (YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_STRING (YY_COPY (std::string) v, YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_INTEGER (YY_COPY (std::string) v, YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_HEXSTRING (YY_COPY (std::string) v, YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_OPTION_NAME (YY_COPY (std::string) v, YY_COPY (location_type) l);
-
-    static
-    symbol_type
-    make_IP_ADDRESS (YY_COPY (std::string) v, YY_COPY (location_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
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LPAREN (location_type l)
+      {
+        return symbol_type (token::TOKEN_LPAREN, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LPAREN (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LPAREN, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RPAREN (location_type l)
+      {
+        return symbol_type (token::TOKEN_RPAREN, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RPAREN (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RPAREN, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_NOT (location_type l)
+      {
+        return symbol_type (token::TOKEN_NOT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_NOT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_NOT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_AND (location_type l)
+      {
+        return symbol_type (token::TOKEN_AND, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_AND (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_AND, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OR (location_type l)
+      {
+        return symbol_type (token::TOKEN_OR, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OR (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OR, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_EQUAL (location_type l)
+      {
+        return symbol_type (token::TOKEN_EQUAL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_EQUAL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_EQUAL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OPTION (location_type l)
+      {
+        return symbol_type (token::TOKEN_OPTION, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OPTION (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OPTION, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RELAY4 (location_type l)
+      {
+        return symbol_type (token::TOKEN_RELAY4, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RELAY4 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RELAY4, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RELAY6 (location_type l)
+      {
+        return symbol_type (token::TOKEN_RELAY6, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RELAY6 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RELAY6, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MEMBER (location_type l)
+      {
+        return symbol_type (token::TOKEN_MEMBER, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MEMBER (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MEMBER, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PEERADDR (location_type l)
+      {
+        return symbol_type (token::TOKEN_PEERADDR, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PEERADDR (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PEERADDR, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LINKADDR (location_type l)
+      {
+        return symbol_type (token::TOKEN_LINKADDR, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LINKADDR (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LINKADDR, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LBRACKET (location_type l)
+      {
+        return symbol_type (token::TOKEN_LBRACKET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LBRACKET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LBRACKET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_RBRACKET (location_type l)
+      {
+        return symbol_type (token::TOKEN_RBRACKET, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_RBRACKET (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_RBRACKET, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DOT (location_type l)
+      {
+        return symbol_type (token::TOKEN_DOT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DOT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DOT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TEXT (location_type l)
+      {
+        return symbol_type (token::TOKEN_TEXT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TEXT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TEXT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HEX (location_type l)
+      {
+        return symbol_type (token::TOKEN_HEX, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HEX (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HEX, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_EXISTS (location_type l)
+      {
+        return symbol_type (token::TOKEN_EXISTS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_EXISTS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_EXISTS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PKT (location_type l)
+      {
+        return symbol_type (token::TOKEN_PKT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PKT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PKT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_IFACE (location_type l)
+      {
+        return symbol_type (token::TOKEN_IFACE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_IFACE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_IFACE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SRC (location_type l)
+      {
+        return symbol_type (token::TOKEN_SRC, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SRC (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SRC, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_DST (location_type l)
+      {
+        return symbol_type (token::TOKEN_DST, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_DST (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_DST, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_LEN (location_type l)
+      {
+        return symbol_type (token::TOKEN_LEN, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_LEN (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_LEN, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PKT4 (location_type l)
+      {
+        return symbol_type (token::TOKEN_PKT4, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PKT4 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PKT4, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CHADDR (location_type l)
+      {
+        return symbol_type (token::TOKEN_CHADDR, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CHADDR (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CHADDR, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HLEN (location_type l)
+      {
+        return symbol_type (token::TOKEN_HLEN, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HLEN (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HLEN, 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_CIADDR (location_type l)
+      {
+        return symbol_type (token::TOKEN_CIADDR, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CIADDR (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CIADDR, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_GIADDR (location_type l)
+      {
+        return symbol_type (token::TOKEN_GIADDR, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_GIADDR (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_GIADDR, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_YIADDR (location_type l)
+      {
+        return symbol_type (token::TOKEN_YIADDR, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_YIADDR (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_YIADDR, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SIADDR (location_type l)
+      {
+        return symbol_type (token::TOKEN_SIADDR, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SIADDR (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SIADDR, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_SUBSTRING (location_type l)
+      {
+        return symbol_type (token::TOKEN_SUBSTRING, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_SUBSTRING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_SUBSTRING, 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_COMA (location_type l)
+      {
+        return symbol_type (token::TOKEN_COMA, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_COMA (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_COMA, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_CONCAT (location_type l)
+      {
+        return symbol_type (token::TOKEN_CONCAT, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_CONCAT (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_CONCAT, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_IFELSE (location_type l)
+      {
+        return symbol_type (token::TOKEN_IFELSE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_IFELSE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_IFELSE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TOHEXSTRING (location_type l)
+      {
+        return symbol_type (token::TOKEN_TOHEXSTRING, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TOHEXSTRING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TOHEXSTRING, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_PKT6 (location_type l)
+      {
+        return symbol_type (token::TOKEN_PKT6, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_PKT6 (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_PKT6, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_MSGTYPE (location_type l)
+      {
+        return symbol_type (token::TOKEN_MSGTYPE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_MSGTYPE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_MSGTYPE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TRANSID (location_type l)
+      {
+        return symbol_type (token::TOKEN_TRANSID, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TRANSID (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TRANSID, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_VENDOR_CLASS (location_type l)
+      {
+        return symbol_type (token::TOKEN_VENDOR_CLASS, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_VENDOR_CLASS (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_VENDOR_CLASS, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_VENDOR (location_type l)
+      {
+        return symbol_type (token::TOKEN_VENDOR, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_VENDOR (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_VENDOR, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_ANY (location_type l)
+      {
+        return symbol_type (token::TOKEN_ANY, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ANY (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ANY, 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_ENTERPRISE (location_type l)
+      {
+        return symbol_type (token::TOKEN_ENTERPRISE, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_ENTERPRISE (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_ENTERPRISE, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TOPLEVEL_BOOL (location_type l)
+      {
+        return symbol_type (token::TOKEN_TOPLEVEL_BOOL, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TOPLEVEL_BOOL (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TOPLEVEL_BOOL, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_TOPLEVEL_STRING (location_type l)
+      {
+        return symbol_type (token::TOKEN_TOPLEVEL_STRING, std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_TOPLEVEL_STRING (const location_type& l)
+      {
+        return symbol_type (token::TOKEN_TOPLEVEL_STRING, 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 (std::string v, location_type l)
+      {
+        return symbol_type (token::TOKEN_INTEGER, std::move (v), std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_INTEGER (const std::string& v, const location_type& l)
+      {
+        return symbol_type (token::TOKEN_INTEGER, v, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_HEXSTRING (std::string v, location_type l)
+      {
+        return symbol_type (token::TOKEN_HEXSTRING, std::move (v), std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_HEXSTRING (const std::string& v, const location_type& l)
+      {
+        return symbol_type (token::TOKEN_HEXSTRING, v, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_OPTION_NAME (std::string v, location_type l)
+      {
+        return symbol_type (token::TOKEN_OPTION_NAME, std::move (v), std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_OPTION_NAME (const std::string& v, const location_type& l)
+      {
+        return symbol_type (token::TOKEN_OPTION_NAME, v, l);
+      }
+#endif
+#if 201103L <= YY_CPLUSPLUS
+      static
+      symbol_type
+      make_IP_ADDRESS (std::string v, location_type l)
+      {
+        return symbol_type (token::TOKEN_IP_ADDRESS, std::move (v), std::move (l));
+      }
+#else
+      static
+      symbol_type
+      make_IP_ADDRESS (const std::string& v, const location_type& l)
+      {
+        return symbol_type (token::TOKEN_IP_ADDRESS, v, l);
+      }
+#endif
 
 
   private:
@@ -1107,26 +1787,26 @@ namespace isc { namespace eval {
     struct by_state
     {
       /// Default constructor.
-      by_state ();
+      by_state () YY_NOEXCEPT;
 
       /// The symbol type as needed by the constructor.
       typedef state_type kind_type;
 
       /// Constructor.
-      by_state (kind_type s);
+      by_state (kind_type s) YY_NOEXCEPT;
 
       /// Copy constructor.
-      by_state (const by_state& other);
+      by_state (const by_state& that) YY_NOEXCEPT;
 
       /// Record that this symbol is empty.
-      void clear ();
+      void clear () YY_NOEXCEPT;
 
       /// 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;
+      symbol_number_type type_get () const YY_NOEXCEPT;
 
       /// The state number used to denote an empty symbol.
       enum { empty_state = -1 };
@@ -1154,6 +1834,130 @@ namespace isc { namespace eval {
 #endif
     };
 
+    /// 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::reverse_iterator iterator;
+      typedef typename S::const_reverse_iterator const_iterator;
+      typedef typename S::size_type size_type;
+
+      stack (size_type n = 200)
+        : seq_ (n)
+      {}
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      T&
+      operator[] (size_type i)
+      {
+        return seq_[size () - 1 - i];
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      T&
+      operator[] (int i)
+      {
+        return operator[] (size_type (i));
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      const T&
+      operator[] (size_type i) const
+      {
+        return seq_[size () - 1 - i];
+      }
+
+      /// Random access.
+      ///
+      /// Index 0 returns the topmost element.
+      const T&
+      operator[] (int i) const
+      {
+        return operator[] (size_type (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);
+      }
+
+      /// Pop elements from the stack.
+      void
+      pop (int n = 1) YY_NOEXCEPT
+      {
+        for (; 0 < n; --n)
+          seq_.pop_back ();
+      }
+
+      /// Pop all elements from the stack.
+      void
+      clear () YY_NOEXCEPT
+      {
+        seq_.clear ();
+      }
+
+      /// Number of elements on the stack.
+      size_type
+      size () const YY_NOEXCEPT
+      {
+        return seq_.size ();
+      }
+
+      /// Iterator on top of the stack (going downwards).
+      const_iterator
+      begin () const YY_NOEXCEPT
+      {
+        return seq_.rbegin ();
+      }
+
+      /// Bottom of the stack.
+      const_iterator
+      end () const YY_NOEXCEPT
+      {
+        return seq_.rend ();
+      }
+
+      /// Present a slice of the top of a stack.
+      class slice
+      {
+      public:
+        slice (const stack& stack, int range)
+          : stack_ (stack)
+          , range_ (range)
+        {}
+
+        const T&
+        operator[] (int i) const
+        {
+          return stack_[range_ - i];
+        }
+
+      private:
+        const stack& stack_;
+        int range_;
+      };
+
+    private:
+      stack (const stack&);
+      stack& operator= (const stack&);
+      /// The wrapped container.
+      S seq_;
+    };
+
+
     /// Stack type.
     typedef stack<stack_symbol_type> stack_type;
 
@@ -1195,16 +1999,17 @@ namespace isc { namespace eval {
     EvalContext& ctx;
   };
 
-  // Symbol number corresponding to token number t.
   inline
   EvalParser::token_number_type
   EvalParser::yytranslate_ (token_type t)
   {
+    // YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to
+    // TOKEN-NUM as returned by yylex.
     static
     const token_number_type
     translate_table[] =
     {
-     0,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       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,
@@ -1247,271 +2052,94 @@ namespace isc { namespace eval {
       return undef_token_;
   }
 
-  inline
-  EvalParser::syntax_error::syntax_error (const location_type& l, const std::string& m)
-    : std::runtime_error (m)
-    , location (l)
-  {}
-
   // basic_symbol.
+#if 201103L <= YY_CPLUSPLUS
   template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol ()
-    : value ()
-    , location ()
-  {}
-
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (YY_RVREF (basic_symbol) other)
-    : Base (YY_MOVE (other))
+  EvalParser::basic_symbol<Base>::basic_symbol (basic_symbol&& that)
+    : Base (std::move (that))
     , value ()
-    , location (YY_MOVE (other.location))
+    , location (std::move (that.location))
   {
-    switch (other.type_get ())
+    switch (this->type_get ())
     {
       case 62: // option_repr_type
-        value.YY_MOVE_OR_COPY< TokenOption::RepresentationType > (YY_MOVE (other.value));
+        value.move< TokenOption::RepresentationType > (std::move (that.value));
         break;
 
       case 66: // pkt4_field
-        value.YY_MOVE_OR_COPY< TokenPkt4::FieldType > (YY_MOVE (other.value));
+        value.move< TokenPkt4::FieldType > (std::move (that.value));
         break;
 
       case 67: // pkt6_field
-        value.YY_MOVE_OR_COPY< TokenPkt6::FieldType > (YY_MOVE (other.value));
+        value.move< TokenPkt6::FieldType > (std::move (that.value));
         break;
 
       case 64: // pkt_metadata
-        value.YY_MOVE_OR_COPY< TokenPkt::MetadataType > (YY_MOVE (other.value));
+        value.move< TokenPkt::MetadataType > (std::move (that.value));
         break;
 
       case 68: // relay6_field
-        value.YY_MOVE_OR_COPY< TokenRelay6Field::FieldType > (YY_MOVE (other.value));
+        value.move< TokenRelay6Field::FieldType > (std::move (that.value));
         break;
 
       case 63: // nest_level
-        value.YY_MOVE_OR_COPY< int8_t > (YY_MOVE (other.value));
-        break;
-
-      case 50: // "constant string"
-      case 51: // "integer"
-      case 52: // "constant hexstring"
-      case 53: // "option name"
-      case 54: // "ip address"
-        value.YY_MOVE_OR_COPY< std::string > (YY_MOVE (other.value));
+        value.move< int8_t > (std::move (that.value));
         break;
 
-      case 61: // option_code
-        value.YY_MOVE_OR_COPY< uint16_t > (YY_MOVE (other.value));
-        break;
-
-      case 60: // integer_expr
-      case 65: // enterprise_id
-        value.YY_MOVE_OR_COPY< uint32_t > (YY_MOVE (other.value));
-        break;
-
-      default:
-        break;
-    }
-
-  }
-
-
-  // Implementation of basic_symbol constructor for each type.
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, location_type&& l)
-    : Base (t)
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const location_type& l)
-    : Base (t)
-    , location (l)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, TokenOption::RepresentationType&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const TokenOption::RepresentationType& v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, TokenPkt4::FieldType&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const TokenPkt4::FieldType& v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, TokenPkt6::FieldType&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const TokenPkt6::FieldType& v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, TokenPkt::MetadataType&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const TokenPkt::MetadataType& v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, TokenRelay6Field::FieldType&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const TokenRelay6Field::FieldType& v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, int8_t&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const int8_t& v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, std::string&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const std::string& v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, uint16_t&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const uint16_t& v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-#endif
-# if 201103L <= YY_CPLUSPLUS
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, uint32_t&& v, location_type&& l)
-    : Base (t)
-    , value (std::move (v))
-    , location (std::move (l))
-  {}
-#else
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const uint32_t& v, const location_type& l)
-    : Base (t)
-    , value (v)
-    , location (l)
-  {}
-#endif
+      case 50: // "constant string"
+      case 51: // "integer"
+      case 52: // "constant hexstring"
+      case 53: // "option name"
+      case 54: // "ip address"
+        value.move< std::string > (std::move (that.value));
+        break;
+
+      case 61: // option_code
+        value.move< uint16_t > (std::move (that.value));
+        break;
 
+      case 60: // integer_expr
+      case 65: // enterprise_id
+        value.move< uint32_t > (std::move (that.value));
+        break;
+
+      default:
+        break;
+    }
 
-  template <typename Base>
-  EvalParser::basic_symbol<Base>::~basic_symbol ()
-  {
-    clear ();
   }
+#endif
 
   template <typename Base>
-  void
-  EvalParser::basic_symbol<Base>::clear ()
+  EvalParser::basic_symbol<Base>::basic_symbol (const basic_symbol& that)
+    : Base (that)
+    , value ()
+    , location (that.location)
   {
-    // User destructor.
-    symbol_number_type yytype = this->type_get ();
-    basic_symbol<Base>& yysym = *this;
-    (void) yysym;
-    switch (yytype)
-    {
-   default:
-      break;
-    }
-
-    // Type destructor.
-  switch (yytype)
+    switch (this->type_get ())
     {
       case 62: // option_repr_type
-        value.template destroy< TokenOption::RepresentationType > ();
+        value.copy< TokenOption::RepresentationType > (YY_MOVE (that.value));
         break;
 
       case 66: // pkt4_field
-        value.template destroy< TokenPkt4::FieldType > ();
+        value.copy< TokenPkt4::FieldType > (YY_MOVE (that.value));
         break;
 
       case 67: // pkt6_field
-        value.template destroy< TokenPkt6::FieldType > ();
+        value.copy< TokenPkt6::FieldType > (YY_MOVE (that.value));
         break;
 
       case 64: // pkt_metadata
-        value.template destroy< TokenPkt::MetadataType > ();
+        value.copy< TokenPkt::MetadataType > (YY_MOVE (that.value));
         break;
 
       case 68: // relay6_field
-        value.template destroy< TokenRelay6Field::FieldType > ();
+        value.copy< TokenRelay6Field::FieldType > (YY_MOVE (that.value));
         break;
 
       case 63: // nest_level
-        value.template destroy< int8_t > ();
+        value.copy< int8_t > (YY_MOVE (that.value));
         break;
 
       case 50: // "constant string"
@@ -1519,28 +2147,29 @@ namespace isc { namespace eval {
       case 52: // "constant hexstring"
       case 53: // "option name"
       case 54: // "ip address"
-        value.template destroy< std::string > ();
+        value.copy< std::string > (YY_MOVE (that.value));
         break;
 
       case 61: // option_code
-        value.template destroy< uint16_t > ();
+        value.copy< uint16_t > (YY_MOVE (that.value));
         break;
 
       case 60: // integer_expr
       case 65: // enterprise_id
-        value.template destroy< uint32_t > ();
+        value.copy< uint32_t > (YY_MOVE (that.value));
         break;
 
       default:
         break;
     }
 
-    Base::clear ();
   }
 
+
+
   template <typename Base>
   bool
-  EvalParser::basic_symbol<Base>::empty () const
+  EvalParser::basic_symbol<Base>::empty () const YY_NOEXCEPT
   {
     return Base::type_get () == empty_symbol;
   }
@@ -1606,9 +2235,18 @@ namespace isc { namespace eval {
     : type (empty_symbol)
   {}
 
+#if 201103L <= YY_CPLUSPLUS
+  inline
+  EvalParser::by_type::by_type (by_type&& that)
+    : type (that.type)
+  {
+    that.clear ();
+  }
+#endif
+
   inline
-  EvalParser::by_type::by_type (const by_type& other)
-    : type (other.type)
+  EvalParser::by_type::by_type (const by_type& that)
+    : type (that.type)
   {}
 
   inline
@@ -1633,14 +2271,14 @@ namespace isc { namespace eval {
 
   inline
   int
-  EvalParser::by_type::type_get () const
+  EvalParser::by_type::type_get () const YY_NOEXCEPT
   {
     return type;
   }
 
   inline
   EvalParser::token_type
-  EvalParser::by_type::token () const
+  EvalParser::by_type::token () const YY_NOEXCEPT
   {
     // YYTOKNUM[NUM] -- (External) token number corresponding to the
     // (internal) symbol number NUM (which must be that of a token).  */
@@ -1655,385 +2293,12 @@ namespace isc { namespace eval {
      295,   296,   297,   298,   299,   300,   301,   302,   303,   304,
      305,   306,   307,   308,   309
     };
-    return static_cast<token_type> (yytoken_number_[type]);
-  }
-
-  // Implementation of make_symbol for each symbol type.
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_END (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_END, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_LPAREN (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LPAREN, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_RPAREN (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RPAREN, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_NOT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_NOT, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_AND (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_AND, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_OR (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_OR, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_EQUAL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_EQUAL, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_OPTION (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_OPTION, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_RELAY4 (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RELAY4, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_RELAY6 (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RELAY6, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_MEMBER (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_MEMBER, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_PEERADDR (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_PEERADDR, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_LINKADDR (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LINKADDR, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_LBRACKET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LBRACKET, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_RBRACKET (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_RBRACKET, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_DOT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DOT, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_TEXT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_TEXT, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_HEX (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HEX, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_EXISTS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_EXISTS, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_PKT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_PKT, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_IFACE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_IFACE, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_SRC (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SRC, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_DST (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DST, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_LEN (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_LEN, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_PKT4 (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_PKT4, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_CHADDR (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CHADDR, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_HLEN (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HLEN, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_HTYPE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HTYPE, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_CIADDR (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CIADDR, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_GIADDR (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_GIADDR, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_YIADDR (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_YIADDR, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_SIADDR (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SIADDR, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_SUBSTRING (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_SUBSTRING, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_ALL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_ALL, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_COMA (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_COMA, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_CONCAT (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_CONCAT, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_IFELSE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_IFELSE, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_TOHEXSTRING (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_TOHEXSTRING, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_PKT6 (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_PKT6, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_MSGTYPE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_MSGTYPE, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_TRANSID (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_TRANSID, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_VENDOR_CLASS (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_VENDOR_CLASS, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_VENDOR (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_VENDOR, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_ANY (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_ANY, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_DATA (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_DATA, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_ENTERPRISE (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_ENTERPRISE, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_TOPLEVEL_BOOL (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_TOPLEVEL_BOOL, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_TOPLEVEL_STRING (YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_TOPLEVEL_STRING, YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_STRING (YY_COPY (std::string) v, YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_STRING, YY_MOVE (v), YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_INTEGER (YY_COPY (std::string) v, YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_INTEGER, YY_MOVE (v), YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_HEXSTRING (YY_COPY (std::string) v, YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_HEXSTRING, YY_MOVE (v), YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_OPTION_NAME (YY_COPY (std::string) v, YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_OPTION_NAME, YY_MOVE (v), YY_MOVE (l));
-  }
-
-  inline
-  EvalParser::symbol_type
-  EvalParser::make_IP_ADDRESS (YY_COPY (std::string) v, YY_COPY (location_type) l)
-  {
-    return symbol_type (token::TOKEN_IP_ADDRESS, YY_MOVE (v), YY_MOVE (l));
+    return token_type (yytoken_number_[type]);
   }
 
-
-#line 14 "parser.yy" // lalr1.cc:404
+#line 14 "parser.yy" // lalr1.cc:401
 } } // isc::eval
-#line 2037 "parser.h" // lalr1.cc:404
+#line 2302 "parser.h" // lalr1.cc:401
 
 
 
index 5a854e93340eba851eeb8e258b2fdf7395f23c8c..26649acbba800579d46a994e30ba87b484d0637c 100644 (file)
@@ -1,5 +1,5 @@
-// Generated 201811271344
-// A Bison parser, made by GNU Bison 3.2.1.
+// Generated 201902061317
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Starting with Bison 3.2, this file is useless: the structure it
 // used to define is now defined in "location.hh".
index 4fcda222f5ab82d1bb7eb92ca6c370ff7d57d9f6..96e3dac018b358d652e560a6a552dbfde1fb36ac 100644 (file)
@@ -1,5 +1,5 @@
-// Generated 201811271344
-// A Bison parser, made by GNU Bison 3.2.1.
+// Generated 201902061317
+// A Bison parser, made by GNU Bison 3.3.2.
 
 // Starting with Bison 3.2, this file is useless: the structure it
 // used to define is now defined with the parser itself.