]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Regen flex/bison
authorFrancis Dupont <fdupont@isc.org>
Tue, 20 Nov 2018 22:58:30 +0000 (22:58 +0000)
committerFrancis Dupont <fdupont@isc.org>
Tue, 20 Nov 2018 22:58:30 +0000 (22:58 +0000)
src/bin/dhcp4/dhcp4_lexer.cc
src/bin/dhcp4/dhcp4_parser.cc
src/bin/dhcp4/dhcp4_parser.h
src/bin/dhcp4/location.hh
src/bin/dhcp4/position.hh
src/bin/dhcp4/stack.hh
src/bin/dhcp6/dhcp6_parser.cc
src/bin/dhcp6/dhcp6_parser.h
src/bin/dhcp6/location.hh
src/bin/dhcp6/position.hh
src/bin/dhcp6/stack.hh

index bb902728c9ba77f9be0c095950f14f0b19a8af87..ccd6b950ae17a491598aae56d59ace1dd36c8b11 100644 (file)
@@ -1,6 +1,6 @@
-#line 2 "dhcp4_lexer.cc"
+#line 1 "dhcp4_lexer.cc"
 
-#line 4 "dhcp4_lexer.cc"
+#line 3 "dhcp4_lexer.cc"
 
 #define  YY_INT_ALIGNED short int
 
@@ -1748,7 +1748,7 @@ using namespace isc::dhcp;
 
 /* To avoid the call to exit... oops! */
 #define YY_FATAL_ERROR(msg) isc::dhcp::Parser4Context::fatal(msg)
-#line 1752 "dhcp4_lexer.cc"
+#line 1751 "dhcp4_lexer.cc"
 /* noyywrap disables automatic rewinding for the next file to parse. Since we
    always parse only a single string, there's no need to do any wraps. And
    using yywrap requires linking with -lfl, which provides the default yywrap
@@ -1774,8 +1774,8 @@ using namespace isc::dhcp;
    by moving it ahead by yyleng bytes. yyleng specifies the length of the
    currently matched token. */
 #define YY_USER_ACTION  driver.loc_.columns(yyleng);
+#line 1777 "dhcp4_lexer.cc"
 #line 1778 "dhcp4_lexer.cc"
-#line 1779 "dhcp4_lexer.cc"
 
 #define INITIAL 0
 #define COMMENT 1
@@ -2103,7 +2103,7 @@ YY_DECL
     }
 
 
-#line 2107 "dhcp4_lexer.cc"
+#line 2106 "dhcp4_lexer.cc"
 
        while ( /*CONSTCOND*/1 )                /* loops until end-of-file is reached */
                {
@@ -4385,7 +4385,7 @@ YY_RULE_SETUP
 #line 1807 "dhcp4_lexer.ll"
 ECHO;
        YY_BREAK
-#line 4389 "dhcp4_lexer.cc"
+#line 4388 "dhcp4_lexer.cc"
 
        case YY_END_OF_BUFFER:
                {
index 3177441deeeda87f0acf0305533f41d0167db7dc..b2462eef828ab5a08084e7e047d2c70b99cf3913 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.0.4.
+// A Bison parser, made by GNU Bison 3.2.1.
 
 // Skeleton implementation for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
 
 // This program is free software: you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // This special exception was added by the Free Software Foundation in
 // version 2.2 of Bison.
 
+// Undocumented macros, especially those whose name start with YY_,
+// are private implementation details.  Do not rely on them.
+
+
 // Take the name prefix into account.
 #define yylex   parser4_lex
 
-// First part of user declarations.
 
-#line 39 "dhcp4_parser.cc" // lalr1.cc:404
-
-# ifndef YY_NULLPTR
-#  if defined __cplusplus && 201103L <= __cplusplus
-#   define YY_NULLPTR nullptr
-#  else
-#   define YY_NULLPTR 0
-#  endif
-# endif
 
 #include "dhcp4_parser.h"
 
-// User implementation prologue.
 
-#line 53 "dhcp4_parser.cc" // lalr1.cc:412
 // Unqualified %code blocks.
-#line 34 "dhcp4_parser.yy" // lalr1.cc:413
+#line 34 "dhcp4_parser.yy" // lalr1.cc:438
 
 #include <dhcp4/parser_context.h>
 
-#line 59 "dhcp4_parser.cc" // lalr1.cc:413
+#line 51 "dhcp4_parser.cc" // lalr1.cc:438
 
 
 #ifndef YY_
 # endif
 #endif
 
+// Whether we are compiled with exception support.
+#ifndef YY_EXCEPTIONS
+# if defined __GNUC__ && !defined __EXCEPTIONS
+#  define YY_EXCEPTIONS 0
+# else
+#  define YY_EXCEPTIONS 1
+# endif
+#endif
+
 #define YYRHSLOC(Rhs, K) ((Rhs)[K].location)
 /* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
    If N is 0, then set CURRENT to the empty location which ends
     {                                           \
       *yycdebug_ << Title << ' ';               \
       yy_print_ (*yycdebug_, Symbol);           \
-      *yycdebug_ << std::endl;                  \
+      *yycdebug_ << '\n';                       \
     }                                           \
   } while (false)
 
 #else // !PARSER4_DEBUG
 
 # define YYCDEBUG if (false) std::cerr
-# define YY_SYMBOL_PRINT(Title, Symbol)  YYUSE(Symbol)
-# define YY_REDUCE_PRINT(Rule)           static_cast<void>(0)
-# define YY_STACK_PRINT()                static_cast<void>(0)
+# define YY_SYMBOL_PRINT(Title, Symbol)  YYUSE (Symbol)
+# define YY_REDUCE_PRINT(Rule)           static_cast<void> (0)
+# define YY_STACK_PRINT()                static_cast<void> (0)
 
 #endif // !PARSER4_DEBUG
 
 #define YYERROR         goto yyerrorlab
 #define YYRECOVERING()  (!!yyerrstatus_)
 
-#line 14 "dhcp4_parser.yy" // lalr1.cc:479
+#line 14 "dhcp4_parser.yy" // lalr1.cc:513
 namespace isc { namespace dhcp {
-#line 145 "dhcp4_parser.cc" // lalr1.cc:479
+#line 146 "dhcp4_parser.cc" // lalr1.cc:513
 
   /* Return YYSTR after stripping away unnecessary quotes and
      backslashes, so that it's suitable for yyerror.  The heuristic is
@@ -202,24 +203,20 @@ namespace isc { namespace dhcp {
 
 
   // by_state.
-  inline
   Dhcp4Parser::by_state::by_state ()
     : state (empty_state)
   {}
 
-  inline
   Dhcp4Parser::by_state::by_state (const by_state& other)
     : state (other.state)
   {}
 
-  inline
   void
   Dhcp4Parser::by_state::clear ()
   {
     state = empty_state;
   }
 
-  inline
   void
   Dhcp4Parser::by_state::move (by_state& that)
   {
@@ -227,12 +224,10 @@ namespace isc { namespace dhcp {
     that.clear ();
   }
 
-  inline
   Dhcp4Parser::by_state::by_state (state_type s)
     : state (s)
   {}
 
-  inline
   Dhcp4Parser::symbol_number_type
   Dhcp4Parser::by_state::type_get () const
   {
@@ -242,16 +237,55 @@ namespace isc { namespace dhcp {
       return yystos_[state];
   }
 
-  inline
   Dhcp4Parser::stack_symbol_type::stack_symbol_type ()
   {}
 
+  Dhcp4Parser::stack_symbol_type::stack_symbol_type (YY_RVREF (stack_symbol_type) that)
+    : super_type (YY_MOVE (that.state), YY_MOVE (that.location))
+  {
+    switch (that.type_get ())
+    {
+      case 185: // value
+      case 189: // map_value
+      case 230: // socket_type
+      case 233: // outbound_interface_value
+      case 255: // db_type
+      case 337: // hr_mode
+      case 486: // ncr_protocol_value
+      case 493: // replace_client_name_value
+        value.YY_MOVE_OR_COPY< ElementPtr > (YY_MOVE (that.value));
+        break;
+
+      case 168: // "boolean"
+        value.YY_MOVE_OR_COPY< bool > (YY_MOVE (that.value));
+        break;
+
+      case 167: // "floating point"
+        value.YY_MOVE_OR_COPY< double > (YY_MOVE (that.value));
+        break;
+
+      case 166: // "integer"
+        value.YY_MOVE_OR_COPY< int64_t > (YY_MOVE (that.value));
+        break;
+
+      case 165: // "constant string"
+        value.YY_MOVE_OR_COPY< std::string > (YY_MOVE (that.value));
+        break;
+
+      default:
+        break;
+    }
 
-  inline
-  Dhcp4Parser::stack_symbol_type::stack_symbol_type (state_type s, symbol_type& that)
-    : super_type (s, that.location)
+#if defined __cplusplus && 201103L <= __cplusplus
+    // that is emptied.
+    that.state = empty_state;
+#endif
+  }
+
+  Dhcp4Parser::stack_symbol_type::stack_symbol_type (state_type s, YY_MOVE_REF (symbol_type) that)
+    : super_type (s, YY_MOVE (that.location))
   {
-      switch (that.type_get ())
+    switch (that.type_get ())
     {
       case 185: // value
       case 189: // map_value
@@ -261,23 +295,23 @@ namespace isc { namespace dhcp {
       case 337: // hr_mode
       case 486: // ncr_protocol_value
       case 493: // replace_client_name_value
-        value.move< ElementPtr > (that.value);
+        value.move< ElementPtr > (YY_MOVE (that.value));
         break;
 
       case 168: // "boolean"
-        value.move< bool > (that.value);
+        value.move< bool > (YY_MOVE (that.value));
         break;
 
       case 167: // "floating point"
-        value.move< double > (that.value);
+        value.move< double > (YY_MOVE (that.value));
         break;
 
       case 166: // "integer"
-        value.move< int64_t > (that.value);
+        value.move< int64_t > (YY_MOVE (that.value));
         break;
 
       case 165: // "constant string"
-        value.move< std::string > (that.value);
+        value.move< std::string > (YY_MOVE (that.value));
         break;
 
       default:
@@ -288,12 +322,12 @@ namespace isc { namespace dhcp {
     that.type = empty_symbol;
   }
 
-  inline
+#if !defined __cplusplus || __cplusplus < 201103L
   Dhcp4Parser::stack_symbol_type&
-  Dhcp4Parser::stack_symbol_type::operator= (const stack_symbol_type& that)
+  Dhcp4Parser::stack_symbol_type::operator= (stack_symbol_type& that)
   {
     state = that.state;
-      switch (that.type_get ())
+    switch (that.type_get ())
     {
       case 185: // value
       case 189: // map_value
@@ -303,23 +337,23 @@ namespace isc { namespace dhcp {
       case 337: // hr_mode
       case 486: // ncr_protocol_value
       case 493: // replace_client_name_value
-        value.copy< ElementPtr > (that.value);
+        value.move< ElementPtr > (that.value);
         break;
 
       case 168: // "boolean"
-        value.copy< bool > (that.value);
+        value.move< bool > (that.value);
         break;
 
       case 167: // "floating point"
-        value.copy< double > (that.value);
+        value.move< double > (that.value);
         break;
 
       case 166: // "integer"
-        value.copy< int64_t > (that.value);
+        value.move< int64_t > (that.value);
         break;
 
       case 165: // "constant string"
-        value.copy< std::string > (that.value);
+        value.move< std::string > (that.value);
         break;
 
       default:
@@ -327,12 +361,13 @@ namespace isc { namespace dhcp {
     }
 
     location = that.location;
+    // that is emptied.
+    that.state = empty_state;
     return *this;
   }
-
+#endif
 
   template <typename Base>
-  inline
   void
   Dhcp4Parser::yy_destroy_ (const char* yymsg, basic_symbol<Base>& yysym) const
   {
@@ -360,86 +395,86 @@ namespace isc { namespace dhcp {
     {
             case 165: // "constant string"
 
-#line 245 "dhcp4_parser.yy" // lalr1.cc:636
+#line 245 "dhcp4_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< std::string > (); }
-#line 366 "dhcp4_parser.cc" // lalr1.cc:636
+#line 401 "dhcp4_parser.cc" // lalr1.cc:672
         break;
 
       case 166: // "integer"
 
-#line 245 "dhcp4_parser.yy" // lalr1.cc:636
+#line 245 "dhcp4_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< int64_t > (); }
-#line 373 "dhcp4_parser.cc" // lalr1.cc:636
+#line 408 "dhcp4_parser.cc" // lalr1.cc:672
         break;
 
       case 167: // "floating point"
 
-#line 245 "dhcp4_parser.yy" // lalr1.cc:636
+#line 245 "dhcp4_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< double > (); }
-#line 380 "dhcp4_parser.cc" // lalr1.cc:636
+#line 415 "dhcp4_parser.cc" // lalr1.cc:672
         break;
 
       case 168: // "boolean"
 
-#line 245 "dhcp4_parser.yy" // lalr1.cc:636
+#line 245 "dhcp4_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< bool > (); }
-#line 387 "dhcp4_parser.cc" // lalr1.cc:636
+#line 422 "dhcp4_parser.cc" // lalr1.cc:672
         break;
 
       case 185: // value
 
-#line 245 "dhcp4_parser.yy" // lalr1.cc:636
+#line 245 "dhcp4_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 394 "dhcp4_parser.cc" // lalr1.cc:636
+#line 429 "dhcp4_parser.cc" // lalr1.cc:672
         break;
 
       case 189: // map_value
 
-#line 245 "dhcp4_parser.yy" // lalr1.cc:636
+#line 245 "dhcp4_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 401 "dhcp4_parser.cc" // lalr1.cc:636
+#line 436 "dhcp4_parser.cc" // lalr1.cc:672
         break;
 
       case 230: // socket_type
 
-#line 245 "dhcp4_parser.yy" // lalr1.cc:636
+#line 245 "dhcp4_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 408 "dhcp4_parser.cc" // lalr1.cc:636
+#line 443 "dhcp4_parser.cc" // lalr1.cc:672
         break;
 
       case 233: // outbound_interface_value
 
-#line 245 "dhcp4_parser.yy" // lalr1.cc:636
+#line 245 "dhcp4_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 415 "dhcp4_parser.cc" // lalr1.cc:636
+#line 450 "dhcp4_parser.cc" // lalr1.cc:672
         break;
 
       case 255: // db_type
 
-#line 245 "dhcp4_parser.yy" // lalr1.cc:636
+#line 245 "dhcp4_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 422 "dhcp4_parser.cc" // lalr1.cc:636
+#line 457 "dhcp4_parser.cc" // lalr1.cc:672
         break;
 
       case 337: // hr_mode
 
-#line 245 "dhcp4_parser.yy" // lalr1.cc:636
+#line 245 "dhcp4_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 429 "dhcp4_parser.cc" // lalr1.cc:636
+#line 464 "dhcp4_parser.cc" // lalr1.cc:672
         break;
 
       case 486: // ncr_protocol_value
 
-#line 245 "dhcp4_parser.yy" // lalr1.cc:636
+#line 245 "dhcp4_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 436 "dhcp4_parser.cc" // lalr1.cc:636
+#line 471 "dhcp4_parser.cc" // lalr1.cc:672
         break;
 
       case 493: // replace_client_name_value
 
-#line 245 "dhcp4_parser.yy" // lalr1.cc:636
+#line 245 "dhcp4_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 443 "dhcp4_parser.cc" // lalr1.cc:636
+#line 478 "dhcp4_parser.cc" // lalr1.cc:672
         break;
 
 
@@ -450,26 +485,27 @@ namespace isc { namespace dhcp {
   }
 #endif
 
-  inline
   void
-  Dhcp4Parser::yypush_ (const char* m, state_type s, symbol_type& sym)
+  Dhcp4Parser::yypush_ (const char* m, YY_MOVE_REF (stack_symbol_type) sym)
   {
-    stack_symbol_type t (s, sym);
-    yypush_ (m, t);
+    if (m)
+      YY_SYMBOL_PRINT (m, sym);
+    yystack_.push (YY_MOVE (sym));
   }
 
-  inline
   void
-  Dhcp4Parser::yypush_ (const char* m, stack_symbol_type& s)
+  Dhcp4Parser::yypush_ (const char* m, state_type s, YY_MOVE_REF (symbol_type) sym)
   {
-    if (m)
-      YY_SYMBOL_PRINT (m, s);
-    yystack_.push (s);
+#if defined __cplusplus && 201103L <= __cplusplus
+    yypush_ (m, stack_symbol_type (s, std::move (sym)));
+#else
+    stack_symbol_type ss (s, sym);
+    yypush_ (m, ss);
+#endif
   }
 
-  inline
   void
-  Dhcp4Parser::yypop_ (unsigned int n)
+  Dhcp4Parser::yypop_ (int n)
   {
     yystack_.pop (n);
   }
@@ -501,7 +537,7 @@ namespace isc { namespace dhcp {
   }
 #endif // PARSER4_DEBUG
 
-  inline Dhcp4Parser::state_type
+  Dhcp4Parser::state_type
   Dhcp4Parser::yy_lr_goto_state_ (state_type yystate, int yysym)
   {
     int yyr = yypgoto_[yysym - yyntokens_] + yystate;
@@ -511,18 +547,24 @@ namespace isc { namespace dhcp {
       return yydefgoto_[yysym - yyntokens_];
   }
 
-  inline bool
+  bool
   Dhcp4Parser::yy_pact_value_is_default_ (int yyvalue)
   {
     return yyvalue == yypact_ninf_;
   }
 
-  inline bool
+  bool
   Dhcp4Parser::yy_table_value_is_error_ (int yyvalue)
   {
     return yyvalue == yytable_ninf_;
   }
 
+  int
+  Dhcp4Parser::operator() ()
+  {
+    return parse ();
+  }
+
   int
   Dhcp4Parser::parse ()
   {
@@ -544,11 +586,11 @@ namespace isc { namespace dhcp {
     /// The return value of parse ().
     int yyresult;
 
-    // FIXME: This shoud be completely indented.  It is not yet to
-    // avoid gratuitous conflicts when merging into the master branch.
+#if YY_EXCEPTIONS
     try
+#endif // YY_EXCEPTIONS
       {
-    YYCDEBUG << "Starting parse" << std::endl;
+    YYCDEBUG << "Starting parse\n";
 
 
     /* Initialize the stack.  The initial state will be set in
@@ -556,11 +598,11 @@ namespace isc { namespace dhcp {
        location values to have been already stored, initialize these
        stacks with a primary value.  */
     yystack_.clear ();
-    yypush_ (YY_NULLPTR, 0, yyla);
+    yypush_ (YY_NULLPTR, 0, YY_MOVE (yyla));
 
     // A new symbol was pushed on the stack.
   yynewstate:
-    YYCDEBUG << "Entering state " << yystack_[0].state << std::endl;
+    YYCDEBUG << "Entering state " << yystack_[0].state << '\n';
 
     // Accept?
     if (yystack_[0].state == yyfinal_)
@@ -570,7 +612,6 @@ namespace isc { namespace dhcp {
 
     // Backup.
   yybackup:
-
     // Try to take a decision without lookahead.
     yyn = yypact_[yystack_[0].state];
     if (yy_pact_value_is_default_ (yyn))
@@ -580,16 +621,20 @@ namespace isc { namespace dhcp {
     if (yyla.empty ())
       {
         YYCDEBUG << "Reading a token: ";
+#if YY_EXCEPTIONS
         try
+#endif // YY_EXCEPTIONS
           {
             symbol_type yylookahead (yylex (ctx));
             yyla.move (yylookahead);
           }
+#if YY_EXCEPTIONS
         catch (const syntax_error& yyexc)
           {
             error (yyexc);
             goto yyerrlab1;
           }
+#endif // YY_EXCEPTIONS
       }
     YY_SYMBOL_PRINT ("Next token is", yyla);
 
@@ -614,7 +659,7 @@ namespace isc { namespace dhcp {
       --yyerrstatus_;
 
     // Shift the lookahead token.
-    yypush_ ("Shifting", yyn, yyla);
+    yypush_ ("Shifting", yyn, YY_MOVE (yyla));
     goto yynewstate;
 
   /*-----------------------------------------------------------.
@@ -633,11 +678,11 @@ namespace isc { namespace dhcp {
     yylen = yyr2_[yyn];
     {
       stack_symbol_type yylhs;
-      yylhs.state = yy_lr_goto_state_(yystack_[yylen].state, yyr1_[yyn]);
+      yylhs.state = yy_lr_goto_state_ (yystack_[yylen].state, yyr1_[yyn]);
       /* Variants are always initialized to an empty instance of the
          correct type. The default '$$ = $1' action is NOT applied
          when using variants.  */
-        switch (yyr1_[yyn])
+      switch (yyr1_[yyn])
     {
       case 185: // value
       case 189: // map_value
@@ -647,23 +692,23 @@ namespace isc { namespace dhcp {
       case 337: // hr_mode
       case 486: // ncr_protocol_value
       case 493: // replace_client_name_value
-        yylhs.value.build< ElementPtr > ();
+        yylhs.value.emplace< ElementPtr > ();
         break;
 
       case 168: // "boolean"
-        yylhs.value.build< bool > ();
+        yylhs.value.emplace< bool > ();
         break;
 
       case 167: // "floating point"
-        yylhs.value.build< double > ();
+        yylhs.value.emplace< double > ();
         break;
 
       case 166: // "integer"
-        yylhs.value.build< int64_t > ();
+        yylhs.value.emplace< int64_t > ();
         break;
 
       case 165: // "constant string"
-        yylhs.value.build< std::string > ();
+        yylhs.value.emplace< std::string > ();
         break;
 
       default:
@@ -671,293 +716,296 @@ namespace isc { namespace dhcp {
     }
 
 
-      // Compute the default @$.
+      // Default location.
       {
         slice<stack_symbol_type, stack_type> slice (yystack_, yylen);
         YYLLOC_DEFAULT (yylhs.location, slice, yylen);
+        yyerror_range[1].location = yylhs.location;
       }
 
       // Perform the reduction.
       YY_REDUCE_PRINT (yyn);
+#if YY_EXCEPTIONS
       try
+#endif // YY_EXCEPTIONS
         {
           switch (yyn)
             {
   case 2:
-#line 254 "dhcp4_parser.yy" // lalr1.cc:859
+#line 254 "dhcp4_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.NO_KEYWORD; }
-#line 690 "dhcp4_parser.cc" // lalr1.cc:859
+#line 738 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 4:
-#line 255 "dhcp4_parser.yy" // lalr1.cc:859
+#line 255 "dhcp4_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.CONFIG; }
-#line 696 "dhcp4_parser.cc" // lalr1.cc:859
+#line 744 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 6:
-#line 256 "dhcp4_parser.yy" // lalr1.cc:859
+#line 256 "dhcp4_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.DHCP4; }
-#line 702 "dhcp4_parser.cc" // lalr1.cc:859
+#line 750 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 8:
-#line 257 "dhcp4_parser.yy" // lalr1.cc:859
+#line 257 "dhcp4_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.INTERFACES_CONFIG; }
-#line 708 "dhcp4_parser.cc" // lalr1.cc:859
+#line 756 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 10:
-#line 258 "dhcp4_parser.yy" // lalr1.cc:859
+#line 258 "dhcp4_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.SUBNET4; }
-#line 714 "dhcp4_parser.cc" // lalr1.cc:859
+#line 762 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 12:
-#line 259 "dhcp4_parser.yy" // lalr1.cc:859
+#line 259 "dhcp4_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.POOLS; }
-#line 720 "dhcp4_parser.cc" // lalr1.cc:859
+#line 768 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 14:
-#line 260 "dhcp4_parser.yy" // lalr1.cc:859
+#line 260 "dhcp4_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.RESERVATIONS; }
-#line 726 "dhcp4_parser.cc" // lalr1.cc:859
+#line 774 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 16:
-#line 261 "dhcp4_parser.yy" // lalr1.cc:859
+#line 261 "dhcp4_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.DHCP4; }
-#line 732 "dhcp4_parser.cc" // lalr1.cc:859
+#line 780 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 18:
-#line 262 "dhcp4_parser.yy" // lalr1.cc:859
+#line 262 "dhcp4_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.OPTION_DEF; }
-#line 738 "dhcp4_parser.cc" // lalr1.cc:859
+#line 786 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 20:
-#line 263 "dhcp4_parser.yy" // lalr1.cc:859
+#line 263 "dhcp4_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.OPTION_DATA; }
-#line 744 "dhcp4_parser.cc" // lalr1.cc:859
+#line 792 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 22:
-#line 264 "dhcp4_parser.yy" // lalr1.cc:859
+#line 264 "dhcp4_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.HOOKS_LIBRARIES; }
-#line 750 "dhcp4_parser.cc" // lalr1.cc:859
+#line 798 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 24:
-#line 265 "dhcp4_parser.yy" // lalr1.cc:859
+#line 265 "dhcp4_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.DHCP_DDNS; }
-#line 756 "dhcp4_parser.cc" // lalr1.cc:859
+#line 804 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 26:
-#line 266 "dhcp4_parser.yy" // lalr1.cc:859
+#line 266 "dhcp4_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.LOGGING; }
-#line 762 "dhcp4_parser.cc" // lalr1.cc:859
+#line 810 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 28:
-#line 267 "dhcp4_parser.yy" // lalr1.cc:859
+#line 267 "dhcp4_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.CONFIG_CONTROL; }
-#line 768 "dhcp4_parser.cc" // lalr1.cc:859
+#line 816 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 30:
-#line 275 "dhcp4_parser.yy" // lalr1.cc:859
+#line 275 "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 774 "dhcp4_parser.cc" // lalr1.cc:859
+#line 822 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 31:
-#line 276 "dhcp4_parser.yy" // lalr1.cc:859
+#line 276 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new DoubleElement(yystack_[0].value.as< double > (), ctx.loc2pos(yystack_[0].location))); }
-#line 780 "dhcp4_parser.cc" // lalr1.cc:859
+#line 828 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 32:
-#line 277 "dhcp4_parser.yy" // lalr1.cc:859
+#line 277 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location))); }
-#line 786 "dhcp4_parser.cc" // lalr1.cc:859
+#line 834 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 33:
-#line 278 "dhcp4_parser.yy" // lalr1.cc:859
+#line 278 "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 792 "dhcp4_parser.cc" // lalr1.cc:859
+#line 840 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 34:
-#line 279 "dhcp4_parser.yy" // lalr1.cc:859
+#line 279 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new NullElement(ctx.loc2pos(yystack_[0].location))); }
-#line 798 "dhcp4_parser.cc" // lalr1.cc:859
+#line 846 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 35:
-#line 280 "dhcp4_parser.yy" // lalr1.cc:859
+#line 280 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 804 "dhcp4_parser.cc" // lalr1.cc:859
+#line 852 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 36:
-#line 281 "dhcp4_parser.yy" // lalr1.cc:859
+#line 281 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 810 "dhcp4_parser.cc" // lalr1.cc:859
+#line 858 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 37:
-#line 284 "dhcp4_parser.yy" // lalr1.cc:859
+#line 284 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // Push back the JSON value on the stack
     ctx.stack_.push_back(yystack_[0].value.as< ElementPtr > ());
 }
-#line 819 "dhcp4_parser.cc" // lalr1.cc:859
+#line 867 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 38:
-#line 289 "dhcp4_parser.yy" // lalr1.cc:859
+#line 289 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // 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 830 "dhcp4_parser.cc" // lalr1.cc:859
+#line 878 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 39:
-#line 294 "dhcp4_parser.yy" // lalr1.cc:859
+#line 294 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // 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 840 "dhcp4_parser.cc" // lalr1.cc:859
+#line 888 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 40:
-#line 300 "dhcp4_parser.yy" // lalr1.cc:859
+#line 300 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 846 "dhcp4_parser.cc" // lalr1.cc:859
+#line 894 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 43:
-#line 307 "dhcp4_parser.yy" // lalr1.cc:859
+#line 307 "dhcp4_parser.yy" // lalr1.cc:907
     {
                   // map containing a single entry
                   ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
                   }
-#line 855 "dhcp4_parser.cc" // lalr1.cc:859
+#line 903 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 44:
-#line 311 "dhcp4_parser.yy" // lalr1.cc:859
+#line 311 "dhcp4_parser.yy" // lalr1.cc:907
     {
                   // 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 > ());
                   }
-#line 865 "dhcp4_parser.cc" // lalr1.cc:859
+#line 913 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 45:
-#line 318 "dhcp4_parser.yy" // lalr1.cc:859
+#line 318 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(l);
 }
-#line 874 "dhcp4_parser.cc" // lalr1.cc:859
+#line 922 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 46:
-#line 321 "dhcp4_parser.yy" // lalr1.cc:859
+#line 321 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // list parsing complete. Put any sanity checking here
 }
-#line 882 "dhcp4_parser.cc" // lalr1.cc:859
+#line 930 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 49:
-#line 329 "dhcp4_parser.yy" // lalr1.cc:859
+#line 329 "dhcp4_parser.yy" // lalr1.cc:907
     {
                   // List consisting of a single element.
                   ctx.stack_.back()->add(yystack_[0].value.as< ElementPtr > ());
                   }
-#line 891 "dhcp4_parser.cc" // lalr1.cc:859
+#line 939 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 50:
-#line 333 "dhcp4_parser.yy" // lalr1.cc:859
+#line 333 "dhcp4_parser.yy" // lalr1.cc:907
     {
                   // List ending with , and a value.
                   ctx.stack_.back()->add(yystack_[0].value.as< ElementPtr > ());
                   }
-#line 900 "dhcp4_parser.cc" // lalr1.cc:859
+#line 948 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 51:
-#line 340 "dhcp4_parser.yy" // lalr1.cc:859
+#line 340 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // List parsing about to start
 }
-#line 908 "dhcp4_parser.cc" // lalr1.cc:859
+#line 956 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 52:
-#line 342 "dhcp4_parser.yy" // lalr1.cc:859
+#line 342 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // list parsing complete. Put any sanity checking here
     //ctx.stack_.pop_back();
 }
-#line 917 "dhcp4_parser.cc" // lalr1.cc:859
+#line 965 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 55:
-#line 351 "dhcp4_parser.yy" // lalr1.cc:859
+#line 351 "dhcp4_parser.yy" // lalr1.cc:907
     {
                           ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
                           ctx.stack_.back()->add(s);
                           }
-#line 926 "dhcp4_parser.cc" // lalr1.cc:859
+#line 974 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 56:
-#line 355 "dhcp4_parser.yy" // lalr1.cc:859
+#line 355 "dhcp4_parser.yy" // lalr1.cc:907
     {
                           ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
                           ctx.stack_.back()->add(s);
                           }
-#line 935 "dhcp4_parser.cc" // lalr1.cc:859
+#line 983 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 57:
-#line 366 "dhcp4_parser.yy" // lalr1.cc:859
+#line 366 "dhcp4_parser.yy" // lalr1.cc:907
     {
     const std::string& where = ctx.contextName();
     const std::string& keyword = yystack_[1].value.as< std::string > ();
     error(yystack_[1].location,
           "got unexpected keyword \"" + keyword + "\" in " + where + " map.");
 }
-#line 946 "dhcp4_parser.cc" // lalr1.cc:859
+#line 994 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 58:
-#line 376 "dhcp4_parser.yy" // lalr1.cc:859
+#line 376 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // 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 957 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1005 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 59:
-#line 381 "dhcp4_parser.yy" // lalr1.cc:859
+#line 381 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // map parsing completed. If we ever want to do any wrap up
     // (maybe some sanity checking), this would be the best place
@@ -966,11 +1014,11 @@ namespace isc { namespace dhcp {
     // Dhcp4 is required
     ctx.require("Dhcp4", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
 }
-#line 970 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1018 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 68:
-#line 405 "dhcp4_parser.yy" // lalr1.cc:859
+#line 405 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // This code is executed when we're about to start parsing
     // the content of the map
@@ -979,302 +1027,302 @@ namespace isc { namespace dhcp {
     ctx.stack_.push_back(m);
     ctx.enter(ctx.DHCP4);
 }
-#line 983 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1031 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 69:
-#line 412 "dhcp4_parser.yy" // lalr1.cc:859
+#line 412 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // No global parameter is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 993 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1041 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 70:
-#line 420 "dhcp4_parser.yy" // lalr1.cc:859
+#line 420 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // Parse the Dhcp4 map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1003 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1051 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 71:
-#line 424 "dhcp4_parser.yy" // lalr1.cc:859
+#line 424 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // No global parameter is required
     // parsing completed
 }
-#line 1012 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1060 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 108:
-#line 471 "dhcp4_parser.yy" // lalr1.cc:859
+#line 471 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("valid-lifetime", prf);
 }
-#line 1021 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1069 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 109:
-#line 476 "dhcp4_parser.yy" // lalr1.cc:859
+#line 476 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("renew-timer", prf);
 }
-#line 1030 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1078 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 110:
-#line 481 "dhcp4_parser.yy" // lalr1.cc:859
+#line 481 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("rebind-timer", prf);
 }
-#line 1039 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1087 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 111:
-#line 486 "dhcp4_parser.yy" // lalr1.cc:859
+#line 486 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr dpp(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("decline-probation-period", dpp);
 }
-#line 1048 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1096 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 112:
-#line 491 "dhcp4_parser.yy" // lalr1.cc:859
+#line 491 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1056 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1104 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 113:
-#line 493 "dhcp4_parser.yy" // lalr1.cc:859
+#line 493 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1066 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1114 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 114:
-#line 499 "dhcp4_parser.yy" // lalr1.cc:859
+#line 499 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr echo(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("echo-client-id", echo);
 }
-#line 1075 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1123 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 115:
-#line 504 "dhcp4_parser.yy" // lalr1.cc:859
+#line 504 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr match(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("match-client-id", match);
 }
-#line 1084 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1132 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 116:
-#line 509 "dhcp4_parser.yy" // lalr1.cc:859
+#line 509 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr prf(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("authoritative", prf);
 }
-#line 1093 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1141 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 117:
-#line 515 "dhcp4_parser.yy" // lalr1.cc:859
+#line 515 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1104 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1152 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 118:
-#line 520 "dhcp4_parser.yy" // lalr1.cc:859
+#line 520 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // No interfaces config param is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1114 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1162 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 128:
-#line 539 "dhcp4_parser.yy" // lalr1.cc:859
+#line 539 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // Parse the interfaces-config map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1124 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1172 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 129:
-#line 543 "dhcp4_parser.yy" // lalr1.cc:859
+#line 543 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // No interfaces config param is required
     // parsing completed
 }
-#line 1133 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1181 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 130:
-#line 548 "dhcp4_parser.yy" // lalr1.cc:859
+#line 548 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1144 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1192 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 131:
-#line 553 "dhcp4_parser.yy" // lalr1.cc:859
+#line 553 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1153 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1201 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 132:
-#line 558 "dhcp4_parser.yy" // lalr1.cc:859
+#line 558 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.DHCP_SOCKET_TYPE);
 }
-#line 1161 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1209 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 133:
-#line 560 "dhcp4_parser.yy" // lalr1.cc:859
+#line 560 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("dhcp-socket-type", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 1170 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1218 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 134:
-#line 565 "dhcp4_parser.yy" // lalr1.cc:859
+#line 565 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("raw", ctx.loc2pos(yystack_[0].location))); }
-#line 1176 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1224 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 135:
-#line 566 "dhcp4_parser.yy" // lalr1.cc:859
+#line 566 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("udp", ctx.loc2pos(yystack_[0].location))); }
-#line 1182 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1230 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 136:
-#line 569 "dhcp4_parser.yy" // lalr1.cc:859
+#line 569 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.OUTBOUND_INTERFACE);
 }
-#line 1190 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1238 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 137:
-#line 571 "dhcp4_parser.yy" // lalr1.cc:859
+#line 571 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("outbound-interface", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 1199 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1247 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 138:
-#line 576 "dhcp4_parser.yy" // lalr1.cc:859
+#line 576 "dhcp4_parser.yy" // lalr1.cc:907
     {
     yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("same-as-inbound", ctx.loc2pos(yystack_[0].location)));
 }
-#line 1207 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1255 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 139:
-#line 578 "dhcp4_parser.yy" // lalr1.cc:859
+#line 578 "dhcp4_parser.yy" // lalr1.cc:907
     {
     yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("use-routing", ctx.loc2pos(yystack_[0].location)));
     }
-#line 1215 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1263 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 140:
-#line 582 "dhcp4_parser.yy" // lalr1.cc:859
+#line 582 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("re-detect", b);
 }
-#line 1224 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1272 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 141:
-#line 588 "dhcp4_parser.yy" // lalr1.cc:859
+#line 588 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1235 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1283 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 142:
-#line 593 "dhcp4_parser.yy" // lalr1.cc:859
+#line 593 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // 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 1246 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1294 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 143:
-#line 600 "dhcp4_parser.yy" // lalr1.cc:859
+#line 600 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1257 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1305 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 144:
-#line 605 "dhcp4_parser.yy" // lalr1.cc:859
+#line 605 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1266 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1314 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 148:
-#line 615 "dhcp4_parser.yy" // lalr1.cc:859
+#line 615 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1274 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1322 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 149:
-#line 617 "dhcp4_parser.yy" // lalr1.cc:859
+#line 617 "dhcp4_parser.yy" // lalr1.cc:907
     {
 
     if ( (string(yystack_[0].value.as< std::string > ()) == "none") ||
@@ -1290,577 +1338,577 @@ namespace isc { namespace dhcp {
               ", supported values are: none, warn, fix, fix-del, del");
     }
 }
-#line 1294 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1342 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 150:
-#line 633 "dhcp4_parser.yy" // lalr1.cc:859
+#line 633 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1305 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1353 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 151:
-#line 638 "dhcp4_parser.yy" // lalr1.cc:859
+#line 638 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // 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 1316 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1364 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 152:
-#line 645 "dhcp4_parser.yy" // lalr1.cc:859
+#line 645 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1327 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1375 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 153:
-#line 650 "dhcp4_parser.yy" // lalr1.cc:859
+#line 650 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1336 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1384 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 158:
-#line 663 "dhcp4_parser.yy" // lalr1.cc:859
+#line 663 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1346 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1394 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 159:
-#line 667 "dhcp4_parser.yy" // lalr1.cc:859
+#line 667 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // The type parameter is required
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 1356 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1404 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 180:
-#line 697 "dhcp4_parser.yy" // lalr1.cc:859
+#line 697 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.DATABASE_TYPE);
 }
-#line 1364 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1412 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 181:
-#line 699 "dhcp4_parser.yy" // lalr1.cc:859
+#line 699 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("type", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 1373 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1421 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 182:
-#line 704 "dhcp4_parser.yy" // lalr1.cc:859
+#line 704 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("memfile", ctx.loc2pos(yystack_[0].location))); }
-#line 1379 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1427 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 183:
-#line 705 "dhcp4_parser.yy" // lalr1.cc:859
+#line 705 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("mysql", ctx.loc2pos(yystack_[0].location))); }
-#line 1385 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1433 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 184:
-#line 706 "dhcp4_parser.yy" // lalr1.cc:859
+#line 706 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("postgresql", ctx.loc2pos(yystack_[0].location))); }
-#line 1391 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1439 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 185:
-#line 707 "dhcp4_parser.yy" // lalr1.cc:859
+#line 707 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("cql", ctx.loc2pos(yystack_[0].location))); }
-#line 1397 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1445 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 186:
-#line 710 "dhcp4_parser.yy" // lalr1.cc:859
+#line 710 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1405 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1453 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 187:
-#line 712 "dhcp4_parser.yy" // lalr1.cc:859
+#line 712 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr user(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("user", user);
     ctx.leave();
 }
-#line 1415 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1463 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 188:
-#line 718 "dhcp4_parser.yy" // lalr1.cc:859
+#line 718 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1423 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1471 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 189:
-#line 720 "dhcp4_parser.yy" // lalr1.cc:859
+#line 720 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr pwd(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("password", pwd);
     ctx.leave();
 }
-#line 1433 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1481 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 190:
-#line 726 "dhcp4_parser.yy" // lalr1.cc:859
+#line 726 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1441 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1489 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 191:
-#line 728 "dhcp4_parser.yy" // lalr1.cc:859
+#line 728 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr h(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("host", h);
     ctx.leave();
 }
-#line 1451 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1499 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 192:
-#line 734 "dhcp4_parser.yy" // lalr1.cc:859
+#line 734 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr p(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("port", p);
 }
-#line 1460 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1508 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 193:
-#line 739 "dhcp4_parser.yy" // lalr1.cc:859
+#line 739 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1468 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1516 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 194:
-#line 741 "dhcp4_parser.yy" // lalr1.cc:859
+#line 741 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("name", name);
     ctx.leave();
 }
-#line 1478 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1526 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 195:
-#line 747 "dhcp4_parser.yy" // lalr1.cc:859
+#line 747 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("persist", n);
 }
-#line 1487 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1535 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 196:
-#line 752 "dhcp4_parser.yy" // lalr1.cc:859
+#line 752 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("lfc-interval", n);
 }
-#line 1496 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1544 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 197:
-#line 757 "dhcp4_parser.yy" // lalr1.cc:859
+#line 757 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("readonly", n);
 }
-#line 1505 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1553 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 198:
-#line 762 "dhcp4_parser.yy" // lalr1.cc:859
+#line 762 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("connect-timeout", n);
 }
-#line 1514 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1562 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 199:
-#line 767 "dhcp4_parser.yy" // lalr1.cc:859
+#line 767 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("request-timeout", n);
 }
-#line 1523 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1571 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 200:
-#line 772 "dhcp4_parser.yy" // lalr1.cc:859
+#line 772 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("tcp-keepalive", n);
 }
-#line 1532 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1580 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 201:
-#line 777 "dhcp4_parser.yy" // lalr1.cc:859
+#line 777 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("tcp-nodelay", n);
 }
-#line 1541 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1589 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 202:
-#line 782 "dhcp4_parser.yy" // lalr1.cc:859
+#line 782 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1549 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1597 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 203:
-#line 784 "dhcp4_parser.yy" // lalr1.cc:859
+#line 784 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1559 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1607 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 204:
-#line 790 "dhcp4_parser.yy" // lalr1.cc:859
+#line 790 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1567 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1615 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 205:
-#line 792 "dhcp4_parser.yy" // lalr1.cc:859
+#line 792 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr ks(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("keyspace", ks);
     ctx.leave();
 }
-#line 1577 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1625 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 206:
-#line 798 "dhcp4_parser.yy" // lalr1.cc:859
+#line 798 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-reconnect-tries", n);
 }
-#line 1586 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1634 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 207:
-#line 803 "dhcp4_parser.yy" // lalr1.cc:859
+#line 803 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("reconnect-wait-time", n);
 }
-#line 1595 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1643 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 208:
-#line 808 "dhcp4_parser.yy" // lalr1.cc:859
+#line 808 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1606 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1654 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 209:
-#line 813 "dhcp4_parser.yy" // lalr1.cc:859
+#line 813 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1615 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1663 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 217:
-#line 829 "dhcp4_parser.yy" // lalr1.cc:859
+#line 829 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr duid(new StringElement("duid", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(duid);
 }
-#line 1624 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1672 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 218:
-#line 834 "dhcp4_parser.yy" // lalr1.cc:859
+#line 834 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr hwaddr(new StringElement("hw-address", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(hwaddr);
 }
-#line 1633 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1681 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 219:
-#line 839 "dhcp4_parser.yy" // lalr1.cc:859
+#line 839 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr circuit(new StringElement("circuit-id", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(circuit);
 }
-#line 1642 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1690 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 220:
-#line 844 "dhcp4_parser.yy" // lalr1.cc:859
+#line 844 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr client(new StringElement("client-id", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(client);
 }
-#line 1651 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1699 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 221:
-#line 849 "dhcp4_parser.yy" // lalr1.cc:859
+#line 849 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr flex_id(new StringElement("flex-id", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(flex_id);
 }
-#line 1660 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1708 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 222:
-#line 854 "dhcp4_parser.yy" // lalr1.cc:859
+#line 854 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1671 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1719 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 223:
-#line 859 "dhcp4_parser.yy" // lalr1.cc:859
+#line 859 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1680 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1728 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 228:
-#line 872 "dhcp4_parser.yy" // lalr1.cc:859
+#line 872 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1690 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1738 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 229:
-#line 876 "dhcp4_parser.yy" // lalr1.cc:859
+#line 876 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // The library hooks parameter is required
     ctx.require("library", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 1700 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1748 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 230:
-#line 882 "dhcp4_parser.yy" // lalr1.cc:859
+#line 882 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // Parse the hooks-libraries list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1710 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1758 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 231:
-#line 886 "dhcp4_parser.yy" // lalr1.cc:859
+#line 886 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // The library hooks parameter is required
     ctx.require("library", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 1720 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1768 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 237:
-#line 901 "dhcp4_parser.yy" // lalr1.cc:859
+#line 901 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1728 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1776 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 238:
-#line 903 "dhcp4_parser.yy" // lalr1.cc:859
+#line 903 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr lib(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("library", lib);
     ctx.leave();
 }
-#line 1738 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1786 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 239:
-#line 909 "dhcp4_parser.yy" // lalr1.cc:859
+#line 909 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1746 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1794 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 240:
-#line 911 "dhcp4_parser.yy" // lalr1.cc:859
+#line 911 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("parameters", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 1755 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1803 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 241:
-#line 917 "dhcp4_parser.yy" // lalr1.cc:859
+#line 917 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1766 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1814 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 242:
-#line 922 "dhcp4_parser.yy" // lalr1.cc:859
+#line 922 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // No expired lease parameter is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1776 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1824 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 251:
-#line 940 "dhcp4_parser.yy" // lalr1.cc:859
+#line 940 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1785 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1833 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 252:
-#line 945 "dhcp4_parser.yy" // lalr1.cc:859
+#line 945 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1794 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1842 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 253:
-#line 950 "dhcp4_parser.yy" // lalr1.cc:859
+#line 950 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr value(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hold-reclaimed-time", value);
 }
-#line 1803 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1851 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 254:
-#line 955 "dhcp4_parser.yy" // lalr1.cc:859
+#line 955 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr value(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-reclaim-leases", value);
 }
-#line 1812 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1860 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 255:
-#line 960 "dhcp4_parser.yy" // lalr1.cc:859
+#line 960 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr value(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-reclaim-time", value);
 }
-#line 1821 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1869 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 256:
-#line 965 "dhcp4_parser.yy" // lalr1.cc:859
+#line 965 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr value(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("unwarned-reclaim-cycles", value);
 }
-#line 1830 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1878 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 257:
-#line 973 "dhcp4_parser.yy" // lalr1.cc:859
+#line 973 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1841 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1889 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 258:
-#line 978 "dhcp4_parser.yy" // lalr1.cc:859
+#line 978 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1850 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1898 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 263:
-#line 998 "dhcp4_parser.yy" // lalr1.cc:859
+#line 998 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1860 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1908 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 264:
-#line 1002 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1002 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // Once we reached this place, the subnet parsing is now complete.
     // If we want to, we can implement default values here.
@@ -1882,294 +1930,294 @@ namespace isc { namespace dhcp {
     ctx.require("subnet", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 1886 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1934 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 265:
-#line 1024 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1024 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // Parse the subnet4 list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1896 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1944 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 266:
-#line 1028 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1028 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // The subnet subnet4 parameter is required
     ctx.require("subnet", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 1906 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1954 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 293:
-#line 1066 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1066 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1914 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1962 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 294:
-#line 1068 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1068 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr subnet(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("subnet", subnet);
     ctx.leave();
 }
-#line 1924 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1972 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 295:
-#line 1074 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1074 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1932 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1980 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 296:
-#line 1076 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1076 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1942 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1990 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 297:
-#line 1082 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1082 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1950 "dhcp4_parser.cc" // lalr1.cc:859
+#line 1998 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 298:
-#line 1084 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1084 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1960 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2008 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 299:
-#line 1090 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1090 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1968 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2016 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 300:
-#line 1092 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1092 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 1978 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2026 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 301:
-#line 1098 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1098 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1986 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2034 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 302:
-#line 1100 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1100 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr iface(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("interface", iface);
     ctx.leave();
 }
-#line 1996 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2044 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 303:
-#line 1106 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1106 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2004 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2052 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 304:
-#line 1108 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1108 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2014 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2062 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 305:
-#line 1114 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1114 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2025 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2073 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 306:
-#line 1119 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1119 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2034 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2082 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 307:
-#line 1124 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1124 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.RESERVATION_MODE);
 }
-#line 2042 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2090 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 308:
-#line 1126 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1126 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("reservation-mode", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 2051 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2099 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 309:
-#line 1131 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1131 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("disabled", ctx.loc2pos(yystack_[0].location))); }
-#line 2057 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2105 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 310:
-#line 1132 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1132 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("out-of-pool", ctx.loc2pos(yystack_[0].location))); }
-#line 2063 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2111 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 311:
-#line 1133 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1133 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("global", ctx.loc2pos(yystack_[0].location))); }
-#line 2069 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2117 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 312:
-#line 1134 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1134 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("all", ctx.loc2pos(yystack_[0].location))); }
-#line 2075 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2123 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 313:
-#line 1137 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1137 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr id(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("id", id);
 }
-#line 2084 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2132 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 314:
-#line 1144 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1144 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2095 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2143 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 315:
-#line 1149 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1149 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2104 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2152 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 320:
-#line 1164 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1164 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2114 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2162 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 321:
-#line 1168 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1168 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
 }
-#line 2122 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2170 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 343:
-#line 1201 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1201 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2133 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2181 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 344:
-#line 1206 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1206 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2142 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2190 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 345:
-#line 1214 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1214 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2151 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2199 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 346:
-#line 1217 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1217 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // parsing completed
 }
-#line 2159 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2207 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 351:
-#line 1233 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1233 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2169 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2217 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 352:
-#line 1237 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1237 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // The name, code and type option def parameters are required.
     ctx.require("name", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
@@ -2177,21 +2225,21 @@ namespace isc { namespace dhcp {
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2181 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2229 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 353:
-#line 1248 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1248 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // Parse the option-def list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2191 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2239 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 354:
-#line 1252 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1252 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // The name, code and type option def parameters are required.
     ctx.require("name", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
@@ -2199,281 +2247,281 @@ namespace isc { namespace dhcp {
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 2203 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2251 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 370:
-#line 1284 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1284 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr code(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("code", code);
 }
-#line 2212 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2260 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 372:
-#line 1291 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1291 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2220 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2268 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 373:
-#line 1293 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1293 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr prf(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("type", prf);
     ctx.leave();
 }
-#line 2230 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2278 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 374:
-#line 1299 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1299 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2238 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2286 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 375:
-#line 1301 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1301 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2248 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2296 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 376:
-#line 1307 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1307 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2256 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2304 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 377:
-#line 1309 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1309 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr space(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("space", space);
     ctx.leave();
 }
-#line 2266 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2314 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 379:
-#line 1317 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1317 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2274 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2322 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 380:
-#line 1319 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1319 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr encap(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("encapsulate", encap);
     ctx.leave();
 }
-#line 2284 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2332 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 381:
-#line 1325 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1325 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr array(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("array", array);
 }
-#line 2293 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2341 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 382:
-#line 1334 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1334 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2304 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2352 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 383:
-#line 1339 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1339 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2313 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2361 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 388:
-#line 1358 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1358 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2323 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2371 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 389:
-#line 1362 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1362 "dhcp4_parser.yy" // lalr1.cc:907
     {
     /// @todo: the code or name parameters are required.
     ctx.stack_.pop_back();
 }
-#line 2332 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2380 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 390:
-#line 1370 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1370 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // Parse the option-data list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2342 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2390 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 391:
-#line 1374 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1374 "dhcp4_parser.yy" // lalr1.cc:907
     {
     /// @todo: the code or name parameters are required.
     // parsing completed
 }
-#line 2351 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2399 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 406:
-#line 1407 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1407 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2359 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2407 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 407:
-#line 1409 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1409 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr data(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("data", data);
     ctx.leave();
 }
-#line 2369 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2417 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 410:
-#line 1419 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1419 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr space(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("csv-format", space);
 }
-#line 2378 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2426 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 411:
-#line 1424 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1424 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr persist(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("always-send", persist);
 }
-#line 2387 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2435 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 412:
-#line 1432 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1432 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2398 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2446 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 413:
-#line 1437 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1437 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2407 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2455 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 418:
-#line 1452 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1452 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2417 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2465 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 419:
-#line 1456 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1456 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // The pool parameter is required.
     ctx.require("pool", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2427 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2475 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 420:
-#line 1462 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1462 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // Parse the pool list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2437 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2485 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 421:
-#line 1466 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1466 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // The pool parameter is required.
     ctx.require("pool", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 2447 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2495 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 431:
-#line 1485 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1485 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2455 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2503 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 432:
-#line 1487 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1487 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr pool(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("pool", pool);
     ctx.leave();
 }
-#line 2465 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2513 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 433:
-#line 1493 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1493 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2473 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2521 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 434:
-#line 1495 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1495 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr parent = ctx.stack_.back();
     ElementPtr user_context = yystack_[0].value.as< ElementPtr > ();
@@ -2496,19 +2544,19 @@ namespace isc { namespace dhcp {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 2500 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2548 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 435:
-#line 1518 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1518 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2508 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2556 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 436:
-#line 1520 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1520 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr parent = ctx.stack_.back();
     ElementPtr user_context(new MapElement(ctx.loc2pos(yystack_[3].location)));
@@ -2533,449 +2581,449 @@ namespace isc { namespace dhcp {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 2537 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2585 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 437:
-#line 1548 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1548 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2548 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2596 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 438:
-#line 1553 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1553 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2557 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2605 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 443:
-#line 1566 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1566 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2567 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2615 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 444:
-#line 1570 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1570 "dhcp4_parser.yy" // lalr1.cc:907
     {
     /// @todo: an identifier parameter is required.
     ctx.stack_.pop_back();
 }
-#line 2576 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2624 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 445:
-#line 1575 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1575 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // Parse the reservations list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2586 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2634 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 446:
-#line 1579 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1579 "dhcp4_parser.yy" // lalr1.cc:907
     {
     /// @todo: an identifier parameter is required.
     // parsing completed
 }
-#line 2595 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2643 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 466:
-#line 1610 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1610 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2603 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2651 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 467:
-#line 1612 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1612 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2613 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2661 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 468:
-#line 1618 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1618 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2621 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2669 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 469:
-#line 1620 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1620 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2631 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2679 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 470:
-#line 1626 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1626 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2639 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2687 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 471:
-#line 1628 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1628 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2649 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2697 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 472:
-#line 1634 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1634 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2657 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2705 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 473:
-#line 1636 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1636 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2667 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2715 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 474:
-#line 1642 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1642 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2678 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2726 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 475:
-#line 1647 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1647 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2687 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2735 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 476:
-#line 1652 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1652 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2695 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2743 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 477:
-#line 1654 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1654 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr d(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("duid", d);
     ctx.leave();
 }
-#line 2705 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2753 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 478:
-#line 1660 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1660 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2713 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2761 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 479:
-#line 1662 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1662 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2723 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2771 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 480:
-#line 1668 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1668 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2731 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2779 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 481:
-#line 1670 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1670 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2741 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2789 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 482:
-#line 1676 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1676 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2749 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2797 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 483:
-#line 1678 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1678 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2759 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2807 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 484:
-#line 1684 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1684 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2767 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2815 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 485:
-#line 1686 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1686 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2777 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2825 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 486:
-#line 1692 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1692 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2785 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2833 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 487:
-#line 1694 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1694 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr host(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hostname", host);
     ctx.leave();
 }
-#line 2795 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2843 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 488:
-#line 1700 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1700 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2806 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2854 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 489:
-#line 1705 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1705 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2815 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2863 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 490:
-#line 1713 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1713 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2826 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2874 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 491:
-#line 1718 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1718 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2835 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2883 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 494:
-#line 1730 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1730 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2846 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2894 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 495:
-#line 1735 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1735 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2855 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2903 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 498:
-#line 1744 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1744 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2865 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2913 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 499:
-#line 1748 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1748 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // 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 2875 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2923 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 516:
-#line 1777 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1777 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2883 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2931 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 517:
-#line 1779 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1779 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr test(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("test", test);
     ctx.leave();
 }
-#line 2893 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2941 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 518:
-#line 1785 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1785 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("only-if-required", b);
 }
-#line 2902 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2950 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 519:
-#line 1794 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1794 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr time(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("dhcp4o6-port", time);
 }
-#line 2911 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2959 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 520:
-#line 1801 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1801 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2922 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2970 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 521:
-#line 1806 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1806 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2931 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2979 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 529:
-#line 1822 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1822 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2939 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2987 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 530:
-#line 1824 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1824 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2949 "dhcp4_parser.cc" // lalr1.cc:859
+#line 2997 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 531:
-#line 1830 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1830 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2957 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3005 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 532:
-#line 1832 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1832 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 2967 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3015 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 533:
-#line 1841 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1841 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2975 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3023 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 534:
-#line 1843 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1843 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr qc = yystack_[0].value.as< ElementPtr > ();
     ctx.stack_.back()->set("dhcp-queue-control", qc);
@@ -3009,651 +3057,653 @@ namespace isc { namespace dhcp {
 
     ctx.leave();
 }
-#line 3013 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3061 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 535:
-#line 1879 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1879 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 3024 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3072 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 536:
-#line 1884 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1884 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // 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 3035 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3083 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 537:
-#line 1891 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1891 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // Parse the dhcp-ddns map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3045 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3093 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 538:
-#line 1895 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1895 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // 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 3055 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3103 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 559:
-#line 1925 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1925 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("enable-updates", b);
 }
-#line 3064 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3112 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 560:
-#line 1930 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1930 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3072 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3120 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 561:
-#line 1932 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1932 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 3082 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3130 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 562:
-#line 1938 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1938 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3090 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3138 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 563:
-#line 1940 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1940 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 3100 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3148 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 564:
-#line 1946 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1946 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr i(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("server-port", i);
 }
-#line 3109 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3157 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 565:
-#line 1951 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1951 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3117 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3165 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 566:
-#line 1953 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1953 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 3127 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3175 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 567:
-#line 1959 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1959 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr i(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("sender-port", i);
 }
-#line 3136 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3184 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 568:
-#line 1964 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1964 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr i(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-queue-size", i);
 }
-#line 3145 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3193 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 569:
-#line 1969 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1969 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NCR_PROTOCOL);
 }
-#line 3153 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3201 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 570:
-#line 1971 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1971 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("ncr-protocol", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 3162 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3210 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 571:
-#line 1977 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1977 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("UDP", ctx.loc2pos(yystack_[0].location))); }
-#line 3168 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3216 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 572:
-#line 1978 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1978 "dhcp4_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("TCP", ctx.loc2pos(yystack_[0].location))); }
-#line 3174 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3222 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 573:
-#line 1981 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1981 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NCR_FORMAT);
 }
-#line 3182 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3230 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 574:
-#line 1983 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1983 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr json(new StringElement("JSON", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ncr-format", json);
     ctx.leave();
 }
-#line 3192 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3240 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 575:
-#line 1989 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1989 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("override-no-update", b);
 }
-#line 3201 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3249 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 576:
-#line 1994 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1994 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("override-client-update", b);
 }
-#line 3210 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3258 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 577:
-#line 1999 "dhcp4_parser.yy" // lalr1.cc:859
+#line 1999 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.REPLACE_CLIENT_NAME);
 }
-#line 3218 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3266 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 578:
-#line 2001 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2001 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("replace-client-name", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 3227 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3275 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 579:
-#line 2007 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2007 "dhcp4_parser.yy" // lalr1.cc:907
     {
       yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("when-present", ctx.loc2pos(yystack_[0].location)));
       }
-#line 3235 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3283 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 580:
-#line 2010 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2010 "dhcp4_parser.yy" // lalr1.cc:907
     {
       yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("never", ctx.loc2pos(yystack_[0].location)));
       }
-#line 3243 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3291 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 581:
-#line 2013 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2013 "dhcp4_parser.yy" // lalr1.cc:907
     {
       yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("always", ctx.loc2pos(yystack_[0].location)));
       }
-#line 3251 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3299 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 582:
-#line 2016 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2016 "dhcp4_parser.yy" // lalr1.cc:907
     {
       yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("when-not-present", ctx.loc2pos(yystack_[0].location)));
       }
-#line 3259 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3307 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 583:
-#line 2019 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2019 "dhcp4_parser.yy" // lalr1.cc:907
     {
       error(yystack_[0].location, "boolean values for the replace-client-name are "
                 "no longer supported");
       }
-#line 3268 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3316 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 584:
-#line 2025 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2025 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3276 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3324 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 585:
-#line 2027 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2027 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 3286 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3334 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 586:
-#line 2033 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2033 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3294 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3342 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 587:
-#line 2035 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2035 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 3304 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3352 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 588:
-#line 2041 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2041 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3312 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3360 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 589:
-#line 2043 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2043 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 3322 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3370 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 590:
-#line 2052 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2052 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3330 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3378 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 591:
-#line 2054 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2054 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("Dhcp6", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 3339 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3387 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 592:
-#line 2059 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2059 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3347 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3395 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 593:
-#line 2061 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2061 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("DhcpDdns", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 3356 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3404 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 594:
-#line 2066 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2066 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3364 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3412 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 595:
-#line 2068 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2068 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("Control-agent", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 3373 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3421 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 596:
-#line 2073 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2073 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 3383 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3431 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 597:
-#line 2077 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2077 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
 }
-#line 3391 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3439 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 598:
-#line 2082 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2082 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 3402 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3450 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 599:
-#line 2087 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2087 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // No config control params are required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3412 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3460 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 600:
-#line 2093 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2093 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // Parse the config-control map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3422 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3470 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 601:
-#line 2097 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2097 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // No config_control params are required
     // parsing completed
 }
-#line 3431 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3479 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 606:
-#line 2112 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2112 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 3442 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3490 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 607:
-#line 2117 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2117 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3451 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3499 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 608:
-#line 2127 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2127 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 3462 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3510 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 609:
-#line 2132 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2132 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3471 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3519 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 610:
-#line 2137 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2137 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // Parse the Logging map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3481 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3529 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 611:
-#line 2141 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2141 "dhcp4_parser.yy" // lalr1.cc:907
     {
     // parsing completed
 }
-#line 3489 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3537 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 615:
-#line 2157 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2157 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 3500 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3548 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 616:
-#line 2162 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2162 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3509 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3557 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 619:
-#line 2174 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2174 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr l(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(l);
     ctx.stack_.push_back(l);
 }
-#line 3519 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3567 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 620:
-#line 2178 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2178 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
 }
-#line 3527 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3575 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 630:
-#line 2195 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2195 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr dl(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("debuglevel", dl);
 }
-#line 3536 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3584 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 631:
-#line 2200 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2200 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3544 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3592 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 632:
-#line 2202 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2202 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("severity", sev);
     ctx.leave();
 }
-#line 3554 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3602 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 633:
-#line 2208 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2208 "dhcp4_parser.yy" // lalr1.cc:907
     {
     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 3565 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3613 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 634:
-#line 2213 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2213 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3574 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3622 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 637:
-#line 2222 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2222 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 3584 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3632 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 638:
-#line 2226 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2226 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
 }
-#line 3592 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3640 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 645:
-#line 2240 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2240 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3600 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3648 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 646:
-#line 2242 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2242 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("output", sev);
     ctx.leave();
 }
-#line 3610 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3658 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 647:
-#line 2248 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2248 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr flush(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("flush", flush);
 }
-#line 3619 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3667 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 648:
-#line 2253 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2253 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr maxsize(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("maxsize", maxsize);
 }
-#line 3628 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3676 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
   case 649:
-#line 2258 "dhcp4_parser.yy" // lalr1.cc:859
+#line 2258 "dhcp4_parser.yy" // lalr1.cc:907
     {
     ElementPtr maxver(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("maxver", maxver);
 }
-#line 3637 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3685 "dhcp4_parser.cc" // lalr1.cc:907
     break;
 
 
-#line 3641 "dhcp4_parser.cc" // lalr1.cc:859
+#line 3689 "dhcp4_parser.cc" // lalr1.cc:907
             default:
               break;
             }
         }
+#if YY_EXCEPTIONS
       catch (const syntax_error& yyexc)
         {
           error (yyexc);
           YYERROR;
         }
+#endif // YY_EXCEPTIONS
       YY_SYMBOL_PRINT ("-> $$ =", yylhs);
       yypop_ (yylen);
       yylen = 0;
       YY_STACK_PRINT ();
 
       // Shift the result of the reduction.
-      yypush_ (YY_NULLPTR, yylhs);
+      yypush_ (YY_NULLPTR, YY_MOVE (yylhs));
     }
     goto yynewstate;
 
@@ -3699,7 +3749,6 @@ namespace isc { namespace dhcp {
        code.  */
     if (false)
       goto yyerrorlab;
-    yyerror_range[1].location = yystack_[yylen - 1].location;
     /* Do not reclaim the symbols of the rule whose action triggered
        this YYERROR.  */
     yypop_ (yylen);
@@ -3742,7 +3791,7 @@ namespace isc { namespace dhcp {
 
       // Shift the error token.
       error_token.state = yyn;
-      yypush_ ("Shifting", error_token);
+      yypush_ ("Shifting", YY_MOVE (error_token));
     }
     goto yynewstate;
 
@@ -3771,12 +3820,12 @@ namespace isc { namespace dhcp {
 
     return yyresult;
   }
+#if YY_EXCEPTIONS
     catch (...)
       {
-        YYCDEBUG << "Exception caught: cleaning lookahead and stack"
-                 << std::endl;
+        YYCDEBUG << "Exception caught: cleaning lookahead and stack\n";
         // Do not try to display the values of the reclaimed symbols,
-        // as their printer might throw an exception.
+        // as their printers might throw an exception.
         if (!yyla.empty ())
           yy_destroy_ (YY_NULLPTR, yyla);
 
@@ -3787,12 +3836,13 @@ namespace isc { namespace dhcp {
           }
         throw;
       }
+#endif // YY_EXCEPTIONS
   }
 
   void
   Dhcp4Parser::error (const syntax_error& yyexc)
   {
-    error (yyexc.location, yyexc.what());
+    error (yyexc.location, yyexc.what ());
   }
 
   // Generate an error message.
@@ -3868,12 +3918,13 @@ namespace isc { namespace dhcp {
         case N:                               \
           yyformat = S;                       \
         break
-        YYCASE_(0, YY_("syntax error"));
-        YYCASE_(1, YY_("syntax error, unexpected %s"));
-        YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
-        YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
-        YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
-        YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
+      default: // Avoid compiler warnings.
+        YYCASE_ (0, YY_("syntax error"));
+        YYCASE_ (1, YY_("syntax error, unexpected %s"));
+        YYCASE_ (2, YY_("syntax error, unexpected %s, expecting %s"));
+        YYCASE_ (3, YY_("syntax error, unexpected %s, expecting %s or %s"));
+        YYCASE_ (4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
+        YYCASE_ (5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
 #undef YYCASE_
       }
 
@@ -3892,11 +3943,11 @@ namespace isc { namespace dhcp {
   }
 
 
-  const short int Dhcp4Parser::yypact_ninf_ = -796;
+  const short Dhcp4Parser::yypact_ninf_ = -796;
 
   const signed char Dhcp4Parser::yytable_ninf_ = -1;
 
-  const short int
+  const short
   Dhcp4Parser::yypact_[] =
   {
      343,  -796,  -796,  -796,  -796,  -796,  -796,  -796,  -796,  -796,
@@ -4006,7 +4057,7 @@ namespace isc { namespace dhcp {
     -796,  -796,  -796,  -796
   };
 
-  const unsigned short int
+  const unsigned short
   Dhcp4Parser::yydefact_[] =
   {
        0,     2,     4,     6,     8,    10,    12,    14,    16,    18,
@@ -4116,7 +4167,7 @@ namespace isc { namespace dhcp {
      648,   649,   640,   646
   };
 
-  const short int
+  const short
   Dhcp4Parser::yypgoto_[] =
   {
     -796,  -796,  -796,  -796,  -796,  -796,  -796,  -796,  -796,  -796,
@@ -4159,7 +4210,7 @@ namespace isc { namespace dhcp {
     -796,  -796,  -796,  -796
   };
 
-  const short int
+  const short
   Dhcp4Parser::yydefgoto_[] =
   {
       -1,    15,    16,    17,    18,    19,    20,    21,    22,    23,
@@ -4202,7 +4253,7 @@ namespace isc { namespace dhcp {
     1032,  1028,  1029,  1030
   };
 
-  const unsigned short int
+  const unsigned short
   Dhcp4Parser::yytable_[] =
   {
       95,   137,   177,   196,   223,   240,   224,   266,   285,   302,
@@ -4308,7 +4359,7 @@ namespace isc { namespace dhcp {
        0,   903,     0,     0,     0,   909
   };
 
-  const short int
+  const short
   Dhcp4Parser::yycheck_[] =
   {
       70,    71,    72,    73,    74,    75,    74,    77,    78,    79,
@@ -4414,7 +4465,7 @@ namespace isc { namespace dhcp {
       -1,   986,    -1,    -1,    -1,   986
   };
 
-  const unsigned short int
+  const unsigned short
   Dhcp4Parser::yystos_[] =
   {
        0,   151,   152,   153,   154,   155,   156,   157,   158,   159,
@@ -4524,7 +4575,7 @@ namespace isc { namespace dhcp {
      166,   166,   537,   165
   };
 
-  const unsigned short int
+  const unsigned short
   Dhcp4Parser::yyr1_[] =
   {
        0,   169,   171,   170,   172,   170,   173,   170,   174,   170,
@@ -4811,7 +4862,7 @@ namespace isc { namespace dhcp {
   };
 
 #if PARSER4_DEBUG
-  const unsigned short int
+  const unsigned short
   Dhcp4Parser::yyrline_[] =
   {
        0,   254,   254,   254,   255,   255,   256,   256,   257,   257,
@@ -4891,18 +4942,18 @@ namespace isc { namespace dhcp {
            i_end = yystack_.end ();
          i != i_end; ++i)
       *yycdebug_ << ' ' << i->state;
-    *yycdebug_ << std::endl;
+    *yycdebug_ << '\n';
   }
 
   // Report on the debug stream that the rule \a yyrule is going to be reduced.
   void
   Dhcp4Parser::yy_reduce_print_ (int yyrule)
   {
-    unsigned int yylno = yyrline_[yyrule];
+    unsigned yylno = yyrline_[yyrule];
     int yynrhs = yyr2_[yyrule];
     // Print the symbols being reduced, and their result.
     *yycdebug_ << "Reducing stack by rule " << yyrule - 1
-               << " (line " << yylno << "):" << std::endl;
+               << " (line " << yylno << "):\n";
     // The symbols being reduced.
     for (int yyi = 0; yyi < yynrhs; yyi++)
       YY_SYMBOL_PRINT ("   $" << yyi + 1 << " =",
@@ -4911,10 +4962,10 @@ namespace isc { namespace dhcp {
 #endif // PARSER4_DEBUG
 
 
-#line 14 "dhcp4_parser.yy" // lalr1.cc:1167
+#line 14 "dhcp4_parser.yy" // lalr1.cc:1218
 } } // isc::dhcp
-#line 4917 "dhcp4_parser.cc" // lalr1.cc:1167
-#line 2263 "dhcp4_parser.yy" // lalr1.cc:1168
+#line 4968 "dhcp4_parser.cc" // lalr1.cc:1218
+#line 2263 "dhcp4_parser.yy" // lalr1.cc:1219
 
 
 void
index 88e4ae3635fd3b009d1a7d23681d28995ffe8a36..f3905efaef4d771c4aeea07d48c5ef251b23ac3c 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.0.4.
+// A Bison parser, made by GNU Bison 3.2.1.
 
 // Skeleton interface for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
 
 // This program is free software: you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -30,6 +30,7 @@
 // This special exception was added by the Free Software Foundation in
 // version 2.2 of Bison.
 
+
 /**
  ** \file dhcp4_parser.h
  ** Define the isc::dhcp::parser class.
 
 // C++ LALR(1) parser skeleton written by Akim Demaille.
 
+// Undocumented macros, especially those whose name start with YY_,
+// are private implementation details.  Do not rely on them.
+
 #ifndef YY_PARSER4_DHCP4_PARSER_H_INCLUDED
 # define YY_PARSER4_DHCP4_PARSER_H_INCLUDED
 // //                    "%code requires" blocks.
-#line 17 "dhcp4_parser.yy" // lalr1.cc:377
+#line 17 "dhcp4_parser.yy" // lalr1.cc:404
 
 #include <string>
 #include <cc/data.h>
@@ -52,7 +56,7 @@ using namespace isc::dhcp;
 using namespace isc::data;
 using namespace std;
 
-#line 56 "dhcp4_parser.h" // lalr1.cc:377
+#line 60 "dhcp4_parser.h" // lalr1.cc:404
 
 # include <cassert>
 # include <cstdlib> // std::abort
@@ -60,7 +64,21 @@ using namespace std;
 # include <stdexcept>
 # include <string>
 # include <vector>
-# include "stack.hh"
+
+// Support move semantics when possible.
+#if defined __cplusplus && 201103L <= __cplusplus
+# define YY_MOVE           std::move
+# define YY_MOVE_OR_COPY   move
+# define YY_MOVE_REF(Type) Type&&
+# define YY_RVREF(Type)    Type&&
+# define YY_COPY(Type)     Type
+#else
+# define YY_MOVE
+# define YY_MOVE_OR_COPY   copy
+# define YY_MOVE_REF(Type) Type&
+# define YY_RVREF(Type)    const Type&
+# define YY_COPY(Type)     const Type&
+#endif
 # include "location.hh"
 #include <typeinfo>
 #ifndef YYASSERT
@@ -87,15 +105,6 @@ using namespace std;
 # define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__))
 #endif
 
-#if !defined _Noreturn \
-     && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112)
-# if defined _MSC_VER && 1200 <= _MSC_VER
-#  define _Noreturn __declspec (noreturn)
-# else
-#  define _Noreturn YY_ATTRIBUTE ((__noreturn__))
-# endif
-#endif
-
 /* Suppress unused-variable warnings by "using" E.  */
 #if ! defined lint || defined __GNUC__
 # define YYUSE(E) ((void) (E))
@@ -103,7 +112,7 @@ using namespace std;
 # define YYUSE(E) /* empty */
 #endif
 
-#if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
+#if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
 /* Suppress an incorrect diagnostic about yylval being uninitialized.  */
 # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
     _Pragma ("GCC diagnostic push") \
@@ -122,6 +131,18 @@ using namespace std;
 # define YY_INITIAL_VALUE(Value) /* Nothing. */
 #endif
 
+# ifndef YY_NULLPTR
+#  if defined __cplusplus
+#   if 201103L <= __cplusplus
+#    define YY_NULLPTR nullptr
+#   else
+#    define YY_NULLPTR 0
+#   endif
+#  else
+#   define YY_NULLPTR ((void*)0)
+#  endif
+# endif
+
 /* Debug traces.  */
 #ifndef PARSER4_DEBUG
 # if defined YYDEBUG
@@ -135,9 +156,128 @@ using namespace std;
 # endif /* ! defined YYDEBUG */
 #endif  /* ! defined PARSER4_DEBUG */
 
-#line 14 "dhcp4_parser.yy" // lalr1.cc:377
+#line 14 "dhcp4_parser.yy" // lalr1.cc:404
 namespace isc { namespace dhcp {
-#line 141 "dhcp4_parser.h" // lalr1.cc:377
+#line 162 "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));
+    }
+
+    /// 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
+  {
+  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_;
+  };
 
 
 
@@ -154,16 +294,17 @@ namespace isc { namespace dhcp {
 
     /// Empty construction.
     variant ()
-      : yytypeid_ (YY_NULLPTR)
+      : yybuffer_ ()
+      , yytypeid_ (YY_NULLPTR)
     {}
 
     /// Construct and fill.
     template <typename T>
-    variant (const T& t)
+    variant (YY_RVREF (T) t)
       : yytypeid_ (&typeid (T))
     {
       YYASSERT (sizeof (T) <= S);
-      new (yyas_<T> ()) T (t);
+      new (yyas_<T> ()) T (YY_MOVE (t));
     }
 
     /// Destruction, allowed only if empty.
@@ -175,30 +316,62 @@ namespace isc { namespace dhcp {
     /// Instantiate an empty \a T in here.
     template <typename T>
     T&
-    build ()
+    emplace ()
     {
       YYASSERT (!yytypeid_);
       YYASSERT (sizeof (T) <= S);
       yytypeid_ = & typeid (T);
-      return *new (yyas_<T> ()) T;
+      return *new (yyas_<T> ()) T ();
     }
 
+# if defined __cplusplus && 201103L <= __cplusplus
+    /// Instantiate a \a T in here from \a t.
+    template <typename T, typename U>
+    T&
+    emplace (U&& u)
+    {
+      YYASSERT (!yytypeid_);
+      YYASSERT (sizeof (T) <= S);
+      yytypeid_ = & typeid (T);
+      return *new (yyas_<T> ()) T (std::forward <U>(u));
+    }
+# else
     /// Instantiate a \a T in here from \a t.
     template <typename T>
     T&
-    build (const T& t)
+    emplace (const T& t)
     {
       YYASSERT (!yytypeid_);
       YYASSERT (sizeof (T) <= S);
       yytypeid_ = & typeid (T);
       return *new (yyas_<T> ()) T (t);
     }
+# endif
+
+    /// Instantiate an empty \a T in here.
+    /// Obsolete, use emplace.
+    template <typename T>
+    T&
+    build ()
+    {
+      return emplace<T> ();
+    }
+
+    /// Instantiate a \a T in here from \a t.
+    /// Obsolete, use emplace.
+    template <typename T>
+    T&
+    build (const T& t)
+    {
+      return emplace<T> (t);
+    }
 
     /// Accessor to a built \a T.
     template <typename T>
     T&
     as ()
     {
+      YYASSERT (yytypeid_);
       YYASSERT (*yytypeid_ == typeid (T));
       YYASSERT (sizeof (T) <= S);
       return *yyas_<T> ();
@@ -209,6 +382,7 @@ namespace isc { namespace dhcp {
     const T&
     as () const
     {
+      YYASSERT (yytypeid_);
       YYASSERT (*yytypeid_ == typeid (T));
       YYASSERT (sizeof (T) <= S);
       return *yyas_<T> ();
@@ -219,7 +393,7 @@ namespace isc { namespace dhcp {
     /// Both variants must be built beforehand, because swapping the actual
     /// data requires reading it (with as()), and this is not possible on
     /// unconstructed variants: it would require some dynamic testing, which
-    /// should not be the variant's responsability.
+    /// should not be the variant's responsibility.
     /// Swapping between built and (possibly) non-built is done with
     /// variant::move ().
     template <typename T>
@@ -238,17 +412,32 @@ namespace isc { namespace dhcp {
     void
     move (self_type& other)
     {
-      build<T> ();
+# if defined __cplusplus && 201103L <= __cplusplus
+      emplace<T> (std::move (other.as<T> ()));
+# else
+      emplace<T> ();
       swap<T> (other);
+# endif
       other.destroy<T> ();
     }
 
+# if defined __cplusplus && 201103L <= __cplusplus
+    /// Move the content of \a other to this.
+    template <typename T>
+    void
+    move (self_type&& other)
+    {
+      emplace<T> (std::move (other.as<T> ()));
+      other.destroy<T> ();
+    }
+#endif
+
     /// Copy the content of \a other to this.
     template <typename T>
     void
     copy (const self_type& other)
     {
-      build<T> (other.as<T> ());
+      emplace<T> (other.as<T> ());
     }
 
     /// Destroy the stored \a T.
@@ -262,7 +451,7 @@ namespace isc { namespace dhcp {
 
   private:
     /// Prohibit blind copies.
-    self_type& operator=(const self_type&);
+    self_type& operator= (const self_type&);
     variant (const self_type&);
 
     /// Accessor to raw memory as \a T.
@@ -312,23 +501,23 @@ namespace isc { namespace dhcp {
       // hr_mode
       // ncr_protocol_value
       // replace_client_name_value
-      char dummy1[sizeof(ElementPtr)];
+      char dummy1[sizeof (ElementPtr)];
 
       // "boolean"
-      char dummy2[sizeof(bool)];
+      char dummy2[sizeof (bool)];
 
       // "floating point"
-      char dummy3[sizeof(double)];
+      char dummy3[sizeof (double)];
 
       // "integer"
-      char dummy4[sizeof(int64_t)];
+      char dummy4[sizeof (int64_t)];
 
       // "constant string"
-      char dummy5[sizeof(std::string)];
+      char dummy5[sizeof (std::string)];
 };
 
     /// Symbol semantic values.
-    typedef variant<sizeof(union_type)> semantic_type;
+    typedef variant<sizeof (union_type)> semantic_type;
 #else
     typedef PARSER4_STYPE semantic_type;
 #endif
@@ -532,7 +721,7 @@ namespace isc { namespace dhcp {
     /// A complete symbol.
     ///
     /// Expects its Base type to provide access to the symbol type
-    /// via type_get().
+    /// via type_get ().
     ///
     /// Provide access to semantic value and location.
     template <typename Base>
@@ -544,28 +733,18 @@ namespace isc { namespace dhcp {
       /// Default constructor.
       basic_symbol ();
 
-      /// Copy constructor.
-      basic_symbol (const basic_symbol& other);
-
-      /// Constructor for valueless symbols, and symbols from each type.
-
-  basic_symbol (typename Base::kind_type t, const location_type& l);
-
-  basic_symbol (typename Base::kind_type t, const ElementPtr v, const location_type& l);
-
-  basic_symbol (typename Base::kind_type t, const bool v, const location_type& l);
-
-  basic_symbol (typename Base::kind_type t, const double v, const location_type& l);
+      /// Move or copy constructor.
+      basic_symbol (YY_RVREF (basic_symbol) other);
 
-  basic_symbol (typename Base::kind_type t, const int64_t v, const location_type& l);
-
-  basic_symbol (typename Base::kind_type t, const std::string v, const location_type& l);
 
+      /// Constructor for valueless symbols, and symbols from each type.
+      basic_symbol (typename Base::kind_type t, YY_RVREF (location_type) l);
+      basic_symbol (typename Base::kind_type t, YY_RVREF (ElementPtr) v, YY_RVREF (location_type) l);
+      basic_symbol (typename Base::kind_type t, YY_RVREF (bool) v, YY_RVREF (location_type) l);
+      basic_symbol (typename Base::kind_type t, YY_RVREF (double) v, YY_RVREF (location_type) l);
+      basic_symbol (typename Base::kind_type t, YY_RVREF (int64_t) v, YY_RVREF (location_type) l);
+      basic_symbol (typename Base::kind_type t, YY_RVREF (std::string) v, YY_RVREF (location_type) l);
 
-      /// Constructor for symbols with semantic value.
-      basic_symbol (typename Base::kind_type t,
-                    const semantic_type& v,
-                    const location_type& l);
 
       /// Destroy the symbol.
       ~basic_symbol ();
@@ -586,8 +765,10 @@ namespace isc { namespace dhcp {
       location_type location;
 
     private:
+#if !defined __cplusplus || __cplusplus < 201103L
       /// Assignment operator.
       basic_symbol& operator= (const basic_symbol& other);
+#endif
     };
 
     /// Type access provider for token (enum) based symbols.
@@ -627,705 +808,710 @@ namespace isc { namespace dhcp {
     /// "External" symbols: returned by the scanner.
     typedef basic_symbol<by_type> symbol_type;
 
+    /// Build a parser object.
+    Dhcp4Parser (isc::dhcp::Parser4Context& ctx_yyarg);
+    virtual ~Dhcp4Parser ();
+
+    /// Parse.  An alias for parse ().
+    /// \returns  0 iff parsing succeeded.
+    int operator() ();
+
+    /// Parse.
+    /// \returns  0 iff parsing succeeded.
+    virtual int parse ();
+
+#if PARSER4_DEBUG
+    /// The current debugging stream.
+    std::ostream& debug_stream () const YY_ATTRIBUTE_PURE;
+    /// Set the current debugging stream.
+    void set_debug_stream (std::ostream &);
+
+    /// Type for debugging levels.
+    typedef int debug_level_type;
+    /// The current debugging level.
+    debug_level_type debug_level () const YY_ATTRIBUTE_PURE;
+    /// Set the current debugging level.
+    void set_debug_level (debug_level_type l);
+#endif
+
+    /// Report a syntax error.
+    /// \param loc    where the syntax error is found.
+    /// \param msg    a description of the syntax error.
+    virtual void error (const location_type& loc, const std::string& msg);
+
+    /// Report a syntax error.
+    void error (const syntax_error& err);
+
     // Symbol constructors declarations.
-    static inline
+    static
     symbol_type
-    make_END (const location_type& l);
+    make_END (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_COMMA (const location_type& l);
+    make_COMMA (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_COLON (const location_type& l);
+    make_COLON (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LSQUARE_BRACKET (const location_type& l);
+    make_LSQUARE_BRACKET (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RSQUARE_BRACKET (const location_type& l);
+    make_RSQUARE_BRACKET (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LCURLY_BRACKET (const location_type& l);
+    make_LCURLY_BRACKET (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RCURLY_BRACKET (const location_type& l);
+    make_RCURLY_BRACKET (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_NULL_TYPE (const location_type& l);
+    make_NULL_TYPE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DHCP4 (const location_type& l);
+    make_DHCP4 (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CONFIG_CONTROL (const location_type& l);
+    make_CONFIG_CONTROL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CONFIG_DATABASES (const location_type& l);
+    make_CONFIG_DATABASES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_INTERFACES_CONFIG (const location_type& l);
+    make_INTERFACES_CONFIG (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_INTERFACES (const location_type& l);
+    make_INTERFACES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DHCP_SOCKET_TYPE (const location_type& l);
+    make_DHCP_SOCKET_TYPE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RAW (const location_type& l);
+    make_RAW (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_UDP (const location_type& l);
+    make_UDP (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_OUTBOUND_INTERFACE (const location_type& l);
+    make_OUTBOUND_INTERFACE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SAME_AS_INBOUND (const location_type& l);
+    make_SAME_AS_INBOUND (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_USE_ROUTING (const location_type& l);
+    make_USE_ROUTING (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RE_DETECT (const location_type& l);
+    make_RE_DETECT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SANITY_CHECKS (const location_type& l);
+    make_SANITY_CHECKS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LEASE_CHECKS (const location_type& l);
+    make_LEASE_CHECKS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ECHO_CLIENT_ID (const location_type& l);
+    make_ECHO_CLIENT_ID (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MATCH_CLIENT_ID (const location_type& l);
+    make_MATCH_CLIENT_ID (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_AUTHORITATIVE (const location_type& l);
+    make_AUTHORITATIVE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_NEXT_SERVER (const location_type& l);
+    make_NEXT_SERVER (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SERVER_HOSTNAME (const location_type& l);
+    make_SERVER_HOSTNAME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_BOOT_FILE_NAME (const location_type& l);
+    make_BOOT_FILE_NAME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LEASE_DATABASE (const location_type& l);
+    make_LEASE_DATABASE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOSTS_DATABASE (const location_type& l);
+    make_HOSTS_DATABASE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOSTS_DATABASES (const location_type& l);
+    make_HOSTS_DATABASES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_TYPE (const location_type& l);
+    make_TYPE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MEMFILE (const location_type& l);
+    make_MEMFILE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MYSQL (const location_type& l);
+    make_MYSQL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_POSTGRESQL (const location_type& l);
+    make_POSTGRESQL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CQL (const location_type& l);
+    make_CQL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_USER (const location_type& l);
+    make_USER (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_PASSWORD (const location_type& l);
+    make_PASSWORD (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOST (const location_type& l);
+    make_HOST (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_PORT (const location_type& l);
+    make_PORT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_PERSIST (const location_type& l);
+    make_PERSIST (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LFC_INTERVAL (const location_type& l);
+    make_LFC_INTERVAL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_READONLY (const location_type& l);
+    make_READONLY (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CONNECT_TIMEOUT (const location_type& l);
+    make_CONNECT_TIMEOUT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CONTACT_POINTS (const location_type& l);
+    make_CONTACT_POINTS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_KEYSPACE (const location_type& l);
+    make_KEYSPACE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MAX_RECONNECT_TRIES (const location_type& l);
+    make_MAX_RECONNECT_TRIES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RECONNECT_WAIT_TIME (const location_type& l);
+    make_RECONNECT_WAIT_TIME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_REQUEST_TIMEOUT (const location_type& l);
+    make_REQUEST_TIMEOUT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_TCP_KEEPALIVE (const location_type& l);
+    make_TCP_KEEPALIVE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_TCP_NODELAY (const location_type& l);
+    make_TCP_NODELAY (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_VALID_LIFETIME (const location_type& l);
+    make_VALID_LIFETIME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RENEW_TIMER (const location_type& l);
+    make_RENEW_TIMER (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_REBIND_TIMER (const location_type& l);
+    make_REBIND_TIMER (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DECLINE_PROBATION_PERIOD (const location_type& l);
+    make_DECLINE_PROBATION_PERIOD (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SERVER_TAG (const location_type& l);
+    make_SERVER_TAG (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUBNET4 (const location_type& l);
+    make_SUBNET4 (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUBNET_4O6_INTERFACE (const location_type& l);
+    make_SUBNET_4O6_INTERFACE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUBNET_4O6_INTERFACE_ID (const location_type& l);
+    make_SUBNET_4O6_INTERFACE_ID (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUBNET_4O6_SUBNET (const location_type& l);
+    make_SUBNET_4O6_SUBNET (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_OPTION_DEF (const location_type& l);
+    make_OPTION_DEF (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_OPTION_DATA (const location_type& l);
+    make_OPTION_DATA (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_NAME (const location_type& l);
+    make_NAME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DATA (const location_type& l);
+    make_DATA (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CODE (const location_type& l);
+    make_CODE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SPACE (const location_type& l);
+    make_SPACE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CSV_FORMAT (const location_type& l);
+    make_CSV_FORMAT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ALWAYS_SEND (const location_type& l);
+    make_ALWAYS_SEND (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RECORD_TYPES (const location_type& l);
+    make_RECORD_TYPES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ENCAPSULATE (const location_type& l);
+    make_ENCAPSULATE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ARRAY (const location_type& l);
+    make_ARRAY (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SHARED_NETWORKS (const location_type& l);
+    make_SHARED_NETWORKS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_POOLS (const location_type& l);
+    make_POOLS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_POOL (const location_type& l);
+    make_POOL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_USER_CONTEXT (const location_type& l);
+    make_USER_CONTEXT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_COMMENT (const location_type& l);
+    make_COMMENT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUBNET (const location_type& l);
+    make_SUBNET (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_INTERFACE (const location_type& l);
+    make_INTERFACE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ID (const location_type& l);
+    make_ID (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RESERVATION_MODE (const location_type& l);
+    make_RESERVATION_MODE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DISABLED (const location_type& l);
+    make_DISABLED (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_OUT_OF_POOL (const location_type& l);
+    make_OUT_OF_POOL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_GLOBAL (const location_type& l);
+    make_GLOBAL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ALL (const location_type& l);
+    make_ALL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOST_RESERVATION_IDENTIFIERS (const location_type& l);
+    make_HOST_RESERVATION_IDENTIFIERS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CLIENT_CLASSES (const location_type& l);
+    make_CLIENT_CLASSES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_REQUIRE_CLIENT_CLASSES (const location_type& l);
+    make_REQUIRE_CLIENT_CLASSES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_TEST (const location_type& l);
+    make_TEST (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ONLY_IF_REQUIRED (const location_type& l);
+    make_ONLY_IF_REQUIRED (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CLIENT_CLASS (const location_type& l);
+    make_CLIENT_CLASS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RESERVATIONS (const location_type& l);
+    make_RESERVATIONS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DUID (const location_type& l);
+    make_DUID (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HW_ADDRESS (const location_type& l);
+    make_HW_ADDRESS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CIRCUIT_ID (const location_type& l);
+    make_CIRCUIT_ID (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CLIENT_ID (const location_type& l);
+    make_CLIENT_ID (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOSTNAME (const location_type& l);
+    make_HOSTNAME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_FLEX_ID (const location_type& l);
+    make_FLEX_ID (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RELAY (const location_type& l);
+    make_RELAY (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_IP_ADDRESS (const location_type& l);
+    make_IP_ADDRESS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_IP_ADDRESSES (const location_type& l);
+    make_IP_ADDRESSES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOOKS_LIBRARIES (const location_type& l);
+    make_HOOKS_LIBRARIES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LIBRARY (const location_type& l);
+    make_LIBRARY (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_PARAMETERS (const location_type& l);
+    make_PARAMETERS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_EXPIRED_LEASES_PROCESSING (const location_type& l);
+    make_EXPIRED_LEASES_PROCESSING (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RECLAIM_TIMER_WAIT_TIME (const location_type& l);
+    make_RECLAIM_TIMER_WAIT_TIME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (const location_type& l);
+    make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOLD_RECLAIMED_TIME (const location_type& l);
+    make_HOLD_RECLAIMED_TIME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MAX_RECLAIM_LEASES (const location_type& l);
+    make_MAX_RECLAIM_LEASES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MAX_RECLAIM_TIME (const location_type& l);
+    make_MAX_RECLAIM_TIME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_UNWARNED_RECLAIM_CYCLES (const location_type& l);
+    make_UNWARNED_RECLAIM_CYCLES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DHCP4O6_PORT (const location_type& l);
+    make_DHCP4O6_PORT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CONTROL_SOCKET (const location_type& l);
+    make_CONTROL_SOCKET (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SOCKET_TYPE (const location_type& l);
+    make_SOCKET_TYPE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SOCKET_NAME (const location_type& l);
+    make_SOCKET_NAME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DHCP_QUEUE_CONTROL (const location_type& l);
+    make_DHCP_QUEUE_CONTROL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DHCP_DDNS (const location_type& l);
+    make_DHCP_DDNS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ENABLE_UPDATES (const location_type& l);
+    make_ENABLE_UPDATES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_QUALIFYING_SUFFIX (const location_type& l);
+    make_QUALIFYING_SUFFIX (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SERVER_IP (const location_type& l);
+    make_SERVER_IP (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SERVER_PORT (const location_type& l);
+    make_SERVER_PORT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SENDER_IP (const location_type& l);
+    make_SENDER_IP (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SENDER_PORT (const location_type& l);
+    make_SENDER_PORT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MAX_QUEUE_SIZE (const location_type& l);
+    make_MAX_QUEUE_SIZE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_NCR_PROTOCOL (const location_type& l);
+    make_NCR_PROTOCOL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_NCR_FORMAT (const location_type& l);
+    make_NCR_FORMAT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_OVERRIDE_NO_UPDATE (const location_type& l);
+    make_OVERRIDE_NO_UPDATE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_OVERRIDE_CLIENT_UPDATE (const location_type& l);
+    make_OVERRIDE_CLIENT_UPDATE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_REPLACE_CLIENT_NAME (const location_type& l);
+    make_REPLACE_CLIENT_NAME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_GENERATED_PREFIX (const location_type& l);
+    make_GENERATED_PREFIX (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_TCP (const location_type& l);
+    make_TCP (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_JSON (const location_type& l);
+    make_JSON (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_WHEN_PRESENT (const location_type& l);
+    make_WHEN_PRESENT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_NEVER (const location_type& l);
+    make_NEVER (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ALWAYS (const location_type& l);
+    make_ALWAYS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_WHEN_NOT_PRESENT (const location_type& l);
+    make_WHEN_NOT_PRESENT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOSTNAME_CHAR_SET (const location_type& l);
+    make_HOSTNAME_CHAR_SET (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOSTNAME_CHAR_REPLACEMENT (const location_type& l);
+    make_HOSTNAME_CHAR_REPLACEMENT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LOGGING (const location_type& l);
+    make_LOGGING (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LOGGERS (const location_type& l);
+    make_LOGGERS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_OUTPUT_OPTIONS (const location_type& l);
+    make_OUTPUT_OPTIONS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_OUTPUT (const location_type& l);
+    make_OUTPUT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DEBUGLEVEL (const location_type& l);
+    make_DEBUGLEVEL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SEVERITY (const location_type& l);
+    make_SEVERITY (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_FLUSH (const location_type& l);
+    make_FLUSH (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MAXSIZE (const location_type& l);
+    make_MAXSIZE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MAXVER (const location_type& l);
+    make_MAXVER (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DHCP6 (const location_type& l);
+    make_DHCP6 (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DHCPDDNS (const location_type& l);
+    make_DHCPDDNS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CONTROL_AGENT (const location_type& l);
+    make_CONTROL_AGENT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_TOPLEVEL_JSON (const location_type& l);
+    make_TOPLEVEL_JSON (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_TOPLEVEL_DHCP4 (const location_type& l);
+    make_TOPLEVEL_DHCP4 (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_DHCP4 (const location_type& l);
+    make_SUB_DHCP4 (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_INTERFACES4 (const location_type& l);
+    make_SUB_INTERFACES4 (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_SUBNET4 (const location_type& l);
+    make_SUB_SUBNET4 (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_POOL4 (const location_type& l);
+    make_SUB_POOL4 (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_RESERVATION (const location_type& l);
+    make_SUB_RESERVATION (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_OPTION_DEFS (const location_type& l);
+    make_SUB_OPTION_DEFS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_OPTION_DEF (const location_type& l);
+    make_SUB_OPTION_DEF (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_OPTION_DATA (const location_type& l);
+    make_SUB_OPTION_DATA (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_HOOKS_LIBRARY (const location_type& l);
+    make_SUB_HOOKS_LIBRARY (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_DHCP_DDNS (const location_type& l);
+    make_SUB_DHCP_DDNS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_LOGGING (const location_type& l);
+    make_SUB_LOGGING (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_CONFIG_CONTROL (const location_type& l);
+    make_SUB_CONFIG_CONTROL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_STRING (const std::string& v, const location_type& l);
+    make_STRING (YY_COPY (std::string) v, YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_INTEGER (const int64_t& v, const location_type& l);
+    make_INTEGER (YY_COPY (int64_t) v, YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_FLOAT (const double& v, const location_type& l);
+    make_FLOAT (YY_COPY (double) v, YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_BOOLEAN (const bool& v, const location_type& l);
-
-
-    /// Build a parser object.
-    Dhcp4Parser (isc::dhcp::Parser4Context& ctx_yyarg);
-    virtual ~Dhcp4Parser ();
-
-    /// Parse.
-    /// \returns  0 iff parsing succeeded.
-    virtual int parse ();
+    make_BOOLEAN (YY_COPY (bool) v, YY_COPY (location_type) l);
 
-#if PARSER4_DEBUG
-    /// The current debugging stream.
-    std::ostream& debug_stream () const YY_ATTRIBUTE_PURE;
-    /// Set the current debugging stream.
-    void set_debug_stream (std::ostream &);
-
-    /// Type for debugging levels.
-    typedef int debug_level_type;
-    /// The current debugging level.
-    debug_level_type debug_level () const YY_ATTRIBUTE_PURE;
-    /// Set the current debugging level.
-    void set_debug_level (debug_level_type l);
-#endif
-
-    /// Report a syntax error.
-    /// \param loc    where the syntax error is found.
-    /// \param msg    a description of the syntax error.
-    virtual void error (const location_type& loc, const std::string& msg);
 
-    /// Report a syntax error.
-    void error (const syntax_error& err);
 
   private:
     /// This class is not copyable.
@@ -1354,7 +1540,7 @@ namespace isc { namespace dhcp {
     /// \param yyvalue   the value to check
     static bool yy_table_value_is_error_ (int yyvalue);
 
-    static const short int yypact_ninf_;
+    static const short yypact_ninf_;
     static const signed char yytable_ninf_;
 
     /// Convert a scanner token number \a t to a symbol number.
@@ -1363,32 +1549,32 @@ namespace isc { namespace dhcp {
     // Tables.
   // YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
   // STATE-NUM.
-  static const short int yypact_[];
+  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 int yydefact_[];
+  static const unsigned short yydefact_[];
 
   // YYPGOTO[NTERM-NUM].
-  static const short int yypgoto_[];
+  static const short yypgoto_[];
 
   // YYDEFGOTO[NTERM-NUM].
-  static const short int yydefgoto_[];
+  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 int yytable_[];
+  static const unsigned short yytable_[];
 
-  static const short int yycheck_[];
+  static const short yycheck_[];
 
   // YYSTOS[STATE-NUM] -- The (internal number of the) accessing
   // symbol of state STATE-NUM.
-  static const unsigned short int yystos_[];
+  static const unsigned short yystos_[];
 
   // YYR1[YYN] -- Symbol number of symbol that rule YYN derives.
-  static const unsigned short int yyr1_[];
+  static const unsigned short yyr1_[];
 
   // YYR2[YYN] -- Number of symbols on the right hand side of rule YYN.
   static const unsigned char yyr2_[];
@@ -1402,14 +1588,15 @@ namespace isc { namespace dhcp {
     static const char* const yytname_[];
 #if PARSER4_DEBUG
   // YYRLINE[YYN] -- Source line where rule number YYN was defined.
-  static const unsigned short int yyrline_[];
+  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.
+    /// Debugging level.
     int yydebug_;
+    /// Debug stream.
     std::ostream* yycdebug_;
 
     /// \brief Display a symbol type, value and location.
@@ -1467,10 +1654,15 @@ namespace isc { namespace dhcp {
       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, symbol_type& sym);
-      /// Assignment, needed by push_back.
-      stack_symbol_type& operator= (const stack_symbol_type& that);
+      stack_symbol_type (state_type s, YY_MOVE_REF (symbol_type) sym);
+#if !defined __cplusplus || __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.
@@ -1482,20 +1674,20 @@ namespace isc { namespace dhcp {
     /// Push a new state on the stack.
     /// \param m    a debug message to display
     ///             if null, no trace is output.
-    /// \param s    the symbol
+    /// \param sym  the symbol
     /// \warning the contents of \a s.value is stolen.
-    void yypush_ (const char* m, stack_symbol_type& s);
+    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 s.value is stolen.
-    void yypush_ (const char* m, state_type s, symbol_type& sym);
+    /// \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 the three stacks.
-    void yypop_ (unsigned int n = 1);
+    /// Pop \a n symbols from the stack.
+    void yypop_ (int n = 1);
 
     /// Constants.
     enum
@@ -1567,12 +1759,12 @@ namespace isc { namespace dhcp {
      155,   156,   157,   158,   159,   160,   161,   162,   163,   164,
      165,   166,   167,   168
     };
-    const unsigned int user_token_number_max_ = 423;
+    const unsigned user_token_number_max_ = 423;
     const token_number_type undef_token_ = 2;
 
-    if (static_cast<int>(t) <= yyeof_)
+    if (static_cast<int> (t) <= yyeof_)
       return yyeof_;
-    else if (static_cast<unsigned int> (t) <= user_token_number_max_)
+    else if (static_cast<unsigned> (t) <= user_token_number_max_)
       return translate_table[t];
     else
       return undef_token_;
@@ -1586,19 +1778,18 @@ namespace isc { namespace dhcp {
 
   // basic_symbol.
   template <typename Base>
-  inline
   Dhcp4Parser::basic_symbol<Base>::basic_symbol ()
     : value ()
+    , location ()
   {}
 
   template <typename Base>
-  inline
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (const basic_symbol& other)
-    : Base (other)
+  Dhcp4Parser::basic_symbol<Base>::basic_symbol (YY_RVREF (basic_symbol) other)
+    : Base (YY_MOVE (other))
     , value ()
-    , location (other.location)
+    , location (YY_MOVE (other.location))
   {
-      switch (other.type_get ())
+    switch (other.type_get ())
     {
       case 185: // value
       case 189: // map_value
@@ -1608,23 +1799,23 @@ namespace isc { namespace dhcp {
       case 337: // hr_mode
       case 486: // ncr_protocol_value
       case 493: // replace_client_name_value
-        value.copy< ElementPtr > (other.value);
+        value.YY_MOVE_OR_COPY< ElementPtr > (YY_MOVE (other.value));
         break;
 
       case 168: // "boolean"
-        value.copy< bool > (other.value);
+        value.YY_MOVE_OR_COPY< bool > (YY_MOVE (other.value));
         break;
 
       case 167: // "floating point"
-        value.copy< double > (other.value);
+        value.YY_MOVE_OR_COPY< double > (YY_MOVE (other.value));
         break;
 
       case 166: // "integer"
-        value.copy< int64_t > (other.value);
+        value.YY_MOVE_OR_COPY< int64_t > (YY_MOVE (other.value));
         break;
 
       case 165: // "constant string"
-        value.copy< std::string > (other.value);
+        value.YY_MOVE_OR_COPY< std::string > (YY_MOVE (other.value));
         break;
 
       default:
@@ -1634,103 +1825,57 @@ namespace isc { namespace dhcp {
   }
 
 
-  template <typename Base>
-  inline
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const semantic_type& v, const location_type& l)
-    : Base (t)
-    , value ()
-    , location (l)
-  {
-    (void) v;
-      switch (this->type_get ())
-    {
-      case 185: // value
-      case 189: // map_value
-      case 230: // socket_type
-      case 233: // outbound_interface_value
-      case 255: // db_type
-      case 337: // hr_mode
-      case 486: // ncr_protocol_value
-      case 493: // replace_client_name_value
-        value.copy< ElementPtr > (v);
-        break;
-
-      case 168: // "boolean"
-        value.copy< bool > (v);
-        break;
-
-      case 167: // "floating point"
-        value.copy< double > (v);
-        break;
-
-      case 166: // "integer"
-        value.copy< int64_t > (v);
-        break;
-
-      case 165: // "constant string"
-        value.copy< std::string > (v);
-        break;
-
-      default:
-        break;
-    }
-}
-
-
   // Implementation of basic_symbol constructor for each type.
-
   template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const location_type& l)
+  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, YY_RVREF (location_type) l)
     : Base (t)
-    , value ()
-    , location (l)
+    , location (YY_MOVE (l))
   {}
 
   template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const ElementPtr v, const location_type& l)
+  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, YY_RVREF (ElementPtr) v, YY_RVREF (location_type) l)
     : Base (t)
-    , value (v)
-    , location (l)
+    , value (YY_MOVE (v))
+    , location (YY_MOVE (l))
   {}
 
   template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const bool v, const location_type& l)
+  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, YY_RVREF (bool) v, YY_RVREF (location_type) l)
     : Base (t)
-    , value (v)
-    , location (l)
+    , value (YY_MOVE (v))
+    , location (YY_MOVE (l))
   {}
 
   template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const double v, const location_type& l)
+  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, YY_RVREF (double) v, YY_RVREF (location_type) l)
     : Base (t)
-    , value (v)
-    , location (l)
+    , value (YY_MOVE (v))
+    , location (YY_MOVE (l))
   {}
 
   template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const int64_t v, const location_type& l)
+  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, YY_RVREF (int64_t) v, YY_RVREF (location_type) l)
     : Base (t)
-    , value (v)
-    , location (l)
+    , value (YY_MOVE (v))
+    , location (YY_MOVE (l))
   {}
 
   template <typename Base>
-  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const std::string v, const location_type& l)
+  Dhcp4Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, YY_RVREF (std::string) v, YY_RVREF (location_type) l)
     : Base (t)
-    , value (v)
-    , location (l)
+    , value (YY_MOVE (v))
+    , location (YY_MOVE (l))
   {}
 
 
+
   template <typename Base>
-  inline
   Dhcp4Parser::basic_symbol<Base>::~basic_symbol ()
   {
     clear ();
   }
 
   template <typename Base>
-  inline
   void
   Dhcp4Parser::basic_symbol<Base>::clear ()
   {
@@ -1745,7 +1890,7 @@ namespace isc { namespace dhcp {
     }
 
     // Type destructor.
-    switch (yytype)
+  switch (yytype)
     {
       case 185: // value
       case 189: // map_value
@@ -1782,7 +1927,6 @@ namespace isc { namespace dhcp {
   }
 
   template <typename Base>
-  inline
   bool
   Dhcp4Parser::basic_symbol<Base>::empty () const
   {
@@ -1790,12 +1934,11 @@ namespace isc { namespace dhcp {
   }
 
   template <typename Base>
-  inline
   void
   Dhcp4Parser::basic_symbol<Base>::move (basic_symbol& s)
   {
-    super_type::move(s);
-      switch (this->type_get ())
+    super_type::move (s);
+    switch (this->type_get ())
     {
       case 185: // value
       case 189: // map_value
@@ -1805,30 +1948,30 @@ namespace isc { namespace dhcp {
       case 337: // hr_mode
       case 486: // ncr_protocol_value
       case 493: // replace_client_name_value
-        value.move< ElementPtr > (s.value);
+        value.move< ElementPtr > (YY_MOVE (s.value));
         break;
 
       case 168: // "boolean"
-        value.move< bool > (s.value);
+        value.move< bool > (YY_MOVE (s.value));
         break;
 
       case 167: // "floating point"
-        value.move< double > (s.value);
+        value.move< double > (YY_MOVE (s.value));
         break;
 
       case 166: // "integer"
-        value.move< int64_t > (s.value);
+        value.move< int64_t > (YY_MOVE (s.value));
         break;
 
       case 165: // "constant string"
-        value.move< std::string > (s.value);
+        value.move< std::string > (YY_MOVE (s.value));
         break;
 
       default:
         break;
     }
 
-    location = s.location;
+    location = YY_MOVE (s.location);
   }
 
   // by_type.
@@ -1876,7 +2019,7 @@ namespace isc { namespace dhcp {
     // YYTOKNUM[NUM] -- (External) token number corresponding to the
     // (internal) symbol number NUM (which must be that of a token).  */
     static
-    const unsigned short int
+    const unsigned short
     yytoken_number_[] =
     {
        0,   256,   257,   258,   259,   260,   261,   262,   263,   264,
@@ -1899,1013 +2042,1181 @@ namespace isc { namespace dhcp {
     };
     return static_cast<token_type> (yytoken_number_[type]);
   }
+
   // Implementation of make_symbol for each symbol type.
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_END (const location_type& l)
+  Dhcp4Parser::make_END (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_END, l);
+    return symbol_type (token::TOKEN_END, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_COMMA (const location_type& l)
+  Dhcp4Parser::make_COMMA (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_COMMA, l);
+    return symbol_type (token::TOKEN_COMMA, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_COLON (const location_type& l)
+  Dhcp4Parser::make_COLON (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_COLON, l);
+    return symbol_type (token::TOKEN_COLON, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LSQUARE_BRACKET (const location_type& l)
+  Dhcp4Parser::make_LSQUARE_BRACKET (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LSQUARE_BRACKET, l);
+    return symbol_type (token::TOKEN_LSQUARE_BRACKET, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RSQUARE_BRACKET (const location_type& l)
+  Dhcp4Parser::make_RSQUARE_BRACKET (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RSQUARE_BRACKET, l);
+    return symbol_type (token::TOKEN_RSQUARE_BRACKET, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LCURLY_BRACKET (const location_type& l)
+  Dhcp4Parser::make_LCURLY_BRACKET (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LCURLY_BRACKET, l);
+    return symbol_type (token::TOKEN_LCURLY_BRACKET, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RCURLY_BRACKET (const location_type& l)
+  Dhcp4Parser::make_RCURLY_BRACKET (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RCURLY_BRACKET, l);
+    return symbol_type (token::TOKEN_RCURLY_BRACKET, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NULL_TYPE (const location_type& l)
+  Dhcp4Parser::make_NULL_TYPE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_NULL_TYPE, l);
+    return symbol_type (token::TOKEN_NULL_TYPE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP4 (const location_type& l)
+  Dhcp4Parser::make_DHCP4 (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DHCP4, l);
+    return symbol_type (token::TOKEN_DHCP4, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONFIG_CONTROL (const location_type& l)
+  Dhcp4Parser::make_CONFIG_CONTROL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CONFIG_CONTROL, l);
+    return symbol_type (token::TOKEN_CONFIG_CONTROL, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONFIG_DATABASES (const location_type& l)
+  Dhcp4Parser::make_CONFIG_DATABASES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CONFIG_DATABASES, l);
+    return symbol_type (token::TOKEN_CONFIG_DATABASES, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_INTERFACES_CONFIG (const location_type& l)
+  Dhcp4Parser::make_INTERFACES_CONFIG (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_INTERFACES_CONFIG, l);
+    return symbol_type (token::TOKEN_INTERFACES_CONFIG, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_INTERFACES (const location_type& l)
+  Dhcp4Parser::make_INTERFACES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_INTERFACES, l);
+    return symbol_type (token::TOKEN_INTERFACES, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP_SOCKET_TYPE (const location_type& l)
+  Dhcp4Parser::make_DHCP_SOCKET_TYPE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DHCP_SOCKET_TYPE, l);
+    return symbol_type (token::TOKEN_DHCP_SOCKET_TYPE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RAW (const location_type& l)
+  Dhcp4Parser::make_RAW (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RAW, l);
+    return symbol_type (token::TOKEN_RAW, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_UDP (const location_type& l)
+  Dhcp4Parser::make_UDP (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_UDP, l);
+    return symbol_type (token::TOKEN_UDP, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OUTBOUND_INTERFACE (const location_type& l)
+  Dhcp4Parser::make_OUTBOUND_INTERFACE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_OUTBOUND_INTERFACE, l);
+    return symbol_type (token::TOKEN_OUTBOUND_INTERFACE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SAME_AS_INBOUND (const location_type& l)
+  Dhcp4Parser::make_SAME_AS_INBOUND (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SAME_AS_INBOUND, l);
+    return symbol_type (token::TOKEN_SAME_AS_INBOUND, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_USE_ROUTING (const location_type& l)
+  Dhcp4Parser::make_USE_ROUTING (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_USE_ROUTING, l);
+    return symbol_type (token::TOKEN_USE_ROUTING, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RE_DETECT (const location_type& l)
+  Dhcp4Parser::make_RE_DETECT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RE_DETECT, l);
+    return symbol_type (token::TOKEN_RE_DETECT, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SANITY_CHECKS (const location_type& l)
+  Dhcp4Parser::make_SANITY_CHECKS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SANITY_CHECKS, l);
+    return symbol_type (token::TOKEN_SANITY_CHECKS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LEASE_CHECKS (const location_type& l)
+  Dhcp4Parser::make_LEASE_CHECKS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LEASE_CHECKS, l);
+    return symbol_type (token::TOKEN_LEASE_CHECKS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ECHO_CLIENT_ID (const location_type& l)
+  Dhcp4Parser::make_ECHO_CLIENT_ID (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ECHO_CLIENT_ID, l);
+    return symbol_type (token::TOKEN_ECHO_CLIENT_ID, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MATCH_CLIENT_ID (const location_type& l)
+  Dhcp4Parser::make_MATCH_CLIENT_ID (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MATCH_CLIENT_ID, l);
+    return symbol_type (token::TOKEN_MATCH_CLIENT_ID, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_AUTHORITATIVE (const location_type& l)
+  Dhcp4Parser::make_AUTHORITATIVE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_AUTHORITATIVE, l);
+    return symbol_type (token::TOKEN_AUTHORITATIVE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NEXT_SERVER (const location_type& l)
+  Dhcp4Parser::make_NEXT_SERVER (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_NEXT_SERVER, l);
+    return symbol_type (token::TOKEN_NEXT_SERVER, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERVER_HOSTNAME (const location_type& l)
+  Dhcp4Parser::make_SERVER_HOSTNAME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SERVER_HOSTNAME, l);
+    return symbol_type (token::TOKEN_SERVER_HOSTNAME, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_BOOT_FILE_NAME (const location_type& l)
+  Dhcp4Parser::make_BOOT_FILE_NAME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_BOOT_FILE_NAME, l);
+    return symbol_type (token::TOKEN_BOOT_FILE_NAME, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LEASE_DATABASE (const location_type& l)
+  Dhcp4Parser::make_LEASE_DATABASE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LEASE_DATABASE, l);
+    return symbol_type (token::TOKEN_LEASE_DATABASE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTS_DATABASE (const location_type& l)
+  Dhcp4Parser::make_HOSTS_DATABASE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOSTS_DATABASE, l);
+    return symbol_type (token::TOKEN_HOSTS_DATABASE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTS_DATABASES (const location_type& l)
+  Dhcp4Parser::make_HOSTS_DATABASES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOSTS_DATABASES, l);
+    return symbol_type (token::TOKEN_HOSTS_DATABASES, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TYPE (const location_type& l)
+  Dhcp4Parser::make_TYPE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_TYPE, l);
+    return symbol_type (token::TOKEN_TYPE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MEMFILE (const location_type& l)
+  Dhcp4Parser::make_MEMFILE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MEMFILE, l);
+    return symbol_type (token::TOKEN_MEMFILE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MYSQL (const location_type& l)
+  Dhcp4Parser::make_MYSQL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MYSQL, l);
+    return symbol_type (token::TOKEN_MYSQL, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_POSTGRESQL (const location_type& l)
+  Dhcp4Parser::make_POSTGRESQL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_POSTGRESQL, l);
+    return symbol_type (token::TOKEN_POSTGRESQL, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CQL (const location_type& l)
+  Dhcp4Parser::make_CQL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CQL, l);
+    return symbol_type (token::TOKEN_CQL, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_USER (const location_type& l)
+  Dhcp4Parser::make_USER (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_USER, l);
+    return symbol_type (token::TOKEN_USER, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PASSWORD (const location_type& l)
+  Dhcp4Parser::make_PASSWORD (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_PASSWORD, l);
+    return symbol_type (token::TOKEN_PASSWORD, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOST (const location_type& l)
+  Dhcp4Parser::make_HOST (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOST, l);
+    return symbol_type (token::TOKEN_HOST, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PORT (const location_type& l)
+  Dhcp4Parser::make_PORT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_PORT, l);
+    return symbol_type (token::TOKEN_PORT, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PERSIST (const location_type& l)
+  Dhcp4Parser::make_PERSIST (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_PERSIST, l);
+    return symbol_type (token::TOKEN_PERSIST, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LFC_INTERVAL (const location_type& l)
+  Dhcp4Parser::make_LFC_INTERVAL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LFC_INTERVAL, l);
+    return symbol_type (token::TOKEN_LFC_INTERVAL, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_READONLY (const location_type& l)
+  Dhcp4Parser::make_READONLY (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_READONLY, l);
+    return symbol_type (token::TOKEN_READONLY, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONNECT_TIMEOUT (const location_type& l)
+  Dhcp4Parser::make_CONNECT_TIMEOUT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CONNECT_TIMEOUT, l);
+    return symbol_type (token::TOKEN_CONNECT_TIMEOUT, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONTACT_POINTS (const location_type& l)
+  Dhcp4Parser::make_CONTACT_POINTS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CONTACT_POINTS, l);
+    return symbol_type (token::TOKEN_CONTACT_POINTS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_KEYSPACE (const location_type& l)
+  Dhcp4Parser::make_KEYSPACE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_KEYSPACE, l);
+    return symbol_type (token::TOKEN_KEYSPACE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_RECONNECT_TRIES (const location_type& l)
+  Dhcp4Parser::make_MAX_RECONNECT_TRIES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MAX_RECONNECT_TRIES, l);
+    return symbol_type (token::TOKEN_MAX_RECONNECT_TRIES, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RECONNECT_WAIT_TIME (const location_type& l)
+  Dhcp4Parser::make_RECONNECT_WAIT_TIME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RECONNECT_WAIT_TIME, l);
+    return symbol_type (token::TOKEN_RECONNECT_WAIT_TIME, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_REQUEST_TIMEOUT (const location_type& l)
+  Dhcp4Parser::make_REQUEST_TIMEOUT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_REQUEST_TIMEOUT, l);
+    return symbol_type (token::TOKEN_REQUEST_TIMEOUT, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TCP_KEEPALIVE (const location_type& l)
+  Dhcp4Parser::make_TCP_KEEPALIVE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_TCP_KEEPALIVE, l);
+    return symbol_type (token::TOKEN_TCP_KEEPALIVE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TCP_NODELAY (const location_type& l)
+  Dhcp4Parser::make_TCP_NODELAY (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_TCP_NODELAY, l);
+    return symbol_type (token::TOKEN_TCP_NODELAY, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_VALID_LIFETIME (const location_type& l)
+  Dhcp4Parser::make_VALID_LIFETIME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_VALID_LIFETIME, l);
+    return symbol_type (token::TOKEN_VALID_LIFETIME, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RENEW_TIMER (const location_type& l)
+  Dhcp4Parser::make_RENEW_TIMER (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RENEW_TIMER, l);
+    return symbol_type (token::TOKEN_RENEW_TIMER, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_REBIND_TIMER (const location_type& l)
+  Dhcp4Parser::make_REBIND_TIMER (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_REBIND_TIMER, l);
+    return symbol_type (token::TOKEN_REBIND_TIMER, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DECLINE_PROBATION_PERIOD (const location_type& l)
+  Dhcp4Parser::make_DECLINE_PROBATION_PERIOD (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DECLINE_PROBATION_PERIOD, l);
+    return symbol_type (token::TOKEN_DECLINE_PROBATION_PERIOD, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERVER_TAG (const location_type& l)
+  Dhcp4Parser::make_SERVER_TAG (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SERVER_TAG, l);
+    return symbol_type (token::TOKEN_SERVER_TAG, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET4 (const location_type& l)
+  Dhcp4Parser::make_SUBNET4 (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUBNET4, l);
+    return symbol_type (token::TOKEN_SUBNET4, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET_4O6_INTERFACE (const location_type& l)
+  Dhcp4Parser::make_SUBNET_4O6_INTERFACE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUBNET_4O6_INTERFACE, l);
+    return symbol_type (token::TOKEN_SUBNET_4O6_INTERFACE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET_4O6_INTERFACE_ID (const location_type& l)
+  Dhcp4Parser::make_SUBNET_4O6_INTERFACE_ID (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUBNET_4O6_INTERFACE_ID, l);
+    return symbol_type (token::TOKEN_SUBNET_4O6_INTERFACE_ID, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET_4O6_SUBNET (const location_type& l)
+  Dhcp4Parser::make_SUBNET_4O6_SUBNET (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUBNET_4O6_SUBNET, l);
+    return symbol_type (token::TOKEN_SUBNET_4O6_SUBNET, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OPTION_DEF (const location_type& l)
+  Dhcp4Parser::make_OPTION_DEF (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_OPTION_DEF, l);
+    return symbol_type (token::TOKEN_OPTION_DEF, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OPTION_DATA (const location_type& l)
+  Dhcp4Parser::make_OPTION_DATA (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_OPTION_DATA, l);
+    return symbol_type (token::TOKEN_OPTION_DATA, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NAME (const location_type& l)
+  Dhcp4Parser::make_NAME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_NAME, l);
+    return symbol_type (token::TOKEN_NAME, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DATA (const location_type& l)
+  Dhcp4Parser::make_DATA (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DATA, l);
+    return symbol_type (token::TOKEN_DATA, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CODE (const location_type& l)
+  Dhcp4Parser::make_CODE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CODE, l);
+    return symbol_type (token::TOKEN_CODE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SPACE (const location_type& l)
+  Dhcp4Parser::make_SPACE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SPACE, l);
+    return symbol_type (token::TOKEN_SPACE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CSV_FORMAT (const location_type& l)
+  Dhcp4Parser::make_CSV_FORMAT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CSV_FORMAT, l);
+    return symbol_type (token::TOKEN_CSV_FORMAT, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ALWAYS_SEND (const location_type& l)
+  Dhcp4Parser::make_ALWAYS_SEND (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ALWAYS_SEND, l);
+    return symbol_type (token::TOKEN_ALWAYS_SEND, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RECORD_TYPES (const location_type& l)
+  Dhcp4Parser::make_RECORD_TYPES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RECORD_TYPES, l);
+    return symbol_type (token::TOKEN_RECORD_TYPES, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ENCAPSULATE (const location_type& l)
+  Dhcp4Parser::make_ENCAPSULATE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ENCAPSULATE, l);
+    return symbol_type (token::TOKEN_ENCAPSULATE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ARRAY (const location_type& l)
+  Dhcp4Parser::make_ARRAY (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ARRAY, l);
+    return symbol_type (token::TOKEN_ARRAY, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SHARED_NETWORKS (const location_type& l)
+  Dhcp4Parser::make_SHARED_NETWORKS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SHARED_NETWORKS, l);
+    return symbol_type (token::TOKEN_SHARED_NETWORKS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_POOLS (const location_type& l)
+  Dhcp4Parser::make_POOLS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_POOLS, l);
+    return symbol_type (token::TOKEN_POOLS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_POOL (const location_type& l)
+  Dhcp4Parser::make_POOL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_POOL, l);
+    return symbol_type (token::TOKEN_POOL, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_USER_CONTEXT (const location_type& l)
+  Dhcp4Parser::make_USER_CONTEXT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_USER_CONTEXT, l);
+    return symbol_type (token::TOKEN_USER_CONTEXT, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_COMMENT (const location_type& l)
+  Dhcp4Parser::make_COMMENT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_COMMENT, l);
+    return symbol_type (token::TOKEN_COMMENT, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUBNET (const location_type& l)
+  Dhcp4Parser::make_SUBNET (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUBNET, l);
+    return symbol_type (token::TOKEN_SUBNET, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_INTERFACE (const location_type& l)
+  Dhcp4Parser::make_INTERFACE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_INTERFACE, l);
+    return symbol_type (token::TOKEN_INTERFACE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ID (const location_type& l)
+  Dhcp4Parser::make_ID (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ID, l);
+    return symbol_type (token::TOKEN_ID, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RESERVATION_MODE (const location_type& l)
+  Dhcp4Parser::make_RESERVATION_MODE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RESERVATION_MODE, l);
+    return symbol_type (token::TOKEN_RESERVATION_MODE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DISABLED (const location_type& l)
+  Dhcp4Parser::make_DISABLED (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DISABLED, l);
+    return symbol_type (token::TOKEN_DISABLED, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OUT_OF_POOL (const location_type& l)
+  Dhcp4Parser::make_OUT_OF_POOL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_OUT_OF_POOL, l);
+    return symbol_type (token::TOKEN_OUT_OF_POOL, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_GLOBAL (const location_type& l)
+  Dhcp4Parser::make_GLOBAL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_GLOBAL, l);
+    return symbol_type (token::TOKEN_GLOBAL, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ALL (const location_type& l)
+  Dhcp4Parser::make_ALL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ALL, l);
+    return symbol_type (token::TOKEN_ALL, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOST_RESERVATION_IDENTIFIERS (const location_type& l)
+  Dhcp4Parser::make_HOST_RESERVATION_IDENTIFIERS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOST_RESERVATION_IDENTIFIERS, l);
+    return symbol_type (token::TOKEN_HOST_RESERVATION_IDENTIFIERS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CLIENT_CLASSES (const location_type& l)
+  Dhcp4Parser::make_CLIENT_CLASSES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CLIENT_CLASSES, l);
+    return symbol_type (token::TOKEN_CLIENT_CLASSES, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_REQUIRE_CLIENT_CLASSES (const location_type& l)
+  Dhcp4Parser::make_REQUIRE_CLIENT_CLASSES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_REQUIRE_CLIENT_CLASSES, l);
+    return symbol_type (token::TOKEN_REQUIRE_CLIENT_CLASSES, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TEST (const location_type& l)
+  Dhcp4Parser::make_TEST (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_TEST, l);
+    return symbol_type (token::TOKEN_TEST, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ONLY_IF_REQUIRED (const location_type& l)
+  Dhcp4Parser::make_ONLY_IF_REQUIRED (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ONLY_IF_REQUIRED, l);
+    return symbol_type (token::TOKEN_ONLY_IF_REQUIRED, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CLIENT_CLASS (const location_type& l)
+  Dhcp4Parser::make_CLIENT_CLASS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CLIENT_CLASS, l);
+    return symbol_type (token::TOKEN_CLIENT_CLASS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RESERVATIONS (const location_type& l)
+  Dhcp4Parser::make_RESERVATIONS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RESERVATIONS, l);
+    return symbol_type (token::TOKEN_RESERVATIONS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DUID (const location_type& l)
+  Dhcp4Parser::make_DUID (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DUID, l);
+    return symbol_type (token::TOKEN_DUID, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HW_ADDRESS (const location_type& l)
+  Dhcp4Parser::make_HW_ADDRESS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HW_ADDRESS, l);
+    return symbol_type (token::TOKEN_HW_ADDRESS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CIRCUIT_ID (const location_type& l)
+  Dhcp4Parser::make_CIRCUIT_ID (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CIRCUIT_ID, l);
+    return symbol_type (token::TOKEN_CIRCUIT_ID, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CLIENT_ID (const location_type& l)
+  Dhcp4Parser::make_CLIENT_ID (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CLIENT_ID, l);
+    return symbol_type (token::TOKEN_CLIENT_ID, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTNAME (const location_type& l)
+  Dhcp4Parser::make_HOSTNAME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOSTNAME, l);
+    return symbol_type (token::TOKEN_HOSTNAME, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_FLEX_ID (const location_type& l)
+  Dhcp4Parser::make_FLEX_ID (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_FLEX_ID, l);
+    return symbol_type (token::TOKEN_FLEX_ID, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RELAY (const location_type& l)
+  Dhcp4Parser::make_RELAY (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RELAY, l);
+    return symbol_type (token::TOKEN_RELAY, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_IP_ADDRESS (const location_type& l)
+  Dhcp4Parser::make_IP_ADDRESS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_IP_ADDRESS, l);
+    return symbol_type (token::TOKEN_IP_ADDRESS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_IP_ADDRESSES (const location_type& l)
+  Dhcp4Parser::make_IP_ADDRESSES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_IP_ADDRESSES, l);
+    return symbol_type (token::TOKEN_IP_ADDRESSES, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOOKS_LIBRARIES (const location_type& l)
+  Dhcp4Parser::make_HOOKS_LIBRARIES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOOKS_LIBRARIES, l);
+    return symbol_type (token::TOKEN_HOOKS_LIBRARIES, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LIBRARY (const location_type& l)
+  Dhcp4Parser::make_LIBRARY (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LIBRARY, l);
+    return symbol_type (token::TOKEN_LIBRARY, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_PARAMETERS (const location_type& l)
+  Dhcp4Parser::make_PARAMETERS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_PARAMETERS, l);
+    return symbol_type (token::TOKEN_PARAMETERS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_EXPIRED_LEASES_PROCESSING (const location_type& l)
+  Dhcp4Parser::make_EXPIRED_LEASES_PROCESSING (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_EXPIRED_LEASES_PROCESSING, l);
+    return symbol_type (token::TOKEN_EXPIRED_LEASES_PROCESSING, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_RECLAIM_TIMER_WAIT_TIME (const location_type& l)
+  Dhcp4Parser::make_RECLAIM_TIMER_WAIT_TIME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RECLAIM_TIMER_WAIT_TIME, l);
+    return symbol_type (token::TOKEN_RECLAIM_TIMER_WAIT_TIME, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (const location_type& l)
+  Dhcp4Parser::make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME, l);
+    return symbol_type (token::TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOLD_RECLAIMED_TIME (const location_type& l)
+  Dhcp4Parser::make_HOLD_RECLAIMED_TIME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOLD_RECLAIMED_TIME, l);
+    return symbol_type (token::TOKEN_HOLD_RECLAIMED_TIME, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_RECLAIM_LEASES (const location_type& l)
+  Dhcp4Parser::make_MAX_RECLAIM_LEASES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MAX_RECLAIM_LEASES, l);
+    return symbol_type (token::TOKEN_MAX_RECLAIM_LEASES, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_RECLAIM_TIME (const location_type& l)
+  Dhcp4Parser::make_MAX_RECLAIM_TIME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MAX_RECLAIM_TIME, l);
+    return symbol_type (token::TOKEN_MAX_RECLAIM_TIME, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_UNWARNED_RECLAIM_CYCLES (const location_type& l)
+  Dhcp4Parser::make_UNWARNED_RECLAIM_CYCLES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_UNWARNED_RECLAIM_CYCLES, l);
+    return symbol_type (token::TOKEN_UNWARNED_RECLAIM_CYCLES, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP4O6_PORT (const location_type& l)
+  Dhcp4Parser::make_DHCP4O6_PORT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DHCP4O6_PORT, l);
+    return symbol_type (token::TOKEN_DHCP4O6_PORT, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONTROL_SOCKET (const location_type& l)
+  Dhcp4Parser::make_CONTROL_SOCKET (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CONTROL_SOCKET, l);
+    return symbol_type (token::TOKEN_CONTROL_SOCKET, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SOCKET_TYPE (const location_type& l)
+  Dhcp4Parser::make_SOCKET_TYPE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SOCKET_TYPE, l);
+    return symbol_type (token::TOKEN_SOCKET_TYPE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SOCKET_NAME (const location_type& l)
+  Dhcp4Parser::make_SOCKET_NAME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SOCKET_NAME, l);
+    return symbol_type (token::TOKEN_SOCKET_NAME, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP_QUEUE_CONTROL (const location_type& l)
+  Dhcp4Parser::make_DHCP_QUEUE_CONTROL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DHCP_QUEUE_CONTROL, l);
+    return symbol_type (token::TOKEN_DHCP_QUEUE_CONTROL, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP_DDNS (const location_type& l)
+  Dhcp4Parser::make_DHCP_DDNS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DHCP_DDNS, l);
+    return symbol_type (token::TOKEN_DHCP_DDNS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ENABLE_UPDATES (const location_type& l)
+  Dhcp4Parser::make_ENABLE_UPDATES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ENABLE_UPDATES, l);
+    return symbol_type (token::TOKEN_ENABLE_UPDATES, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_QUALIFYING_SUFFIX (const location_type& l)
+  Dhcp4Parser::make_QUALIFYING_SUFFIX (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_QUALIFYING_SUFFIX, l);
+    return symbol_type (token::TOKEN_QUALIFYING_SUFFIX, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERVER_IP (const location_type& l)
+  Dhcp4Parser::make_SERVER_IP (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SERVER_IP, l);
+    return symbol_type (token::TOKEN_SERVER_IP, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SERVER_PORT (const location_type& l)
+  Dhcp4Parser::make_SERVER_PORT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SERVER_PORT, l);
+    return symbol_type (token::TOKEN_SERVER_PORT, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SENDER_IP (const location_type& l)
+  Dhcp4Parser::make_SENDER_IP (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SENDER_IP, l);
+    return symbol_type (token::TOKEN_SENDER_IP, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SENDER_PORT (const location_type& l)
+  Dhcp4Parser::make_SENDER_PORT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SENDER_PORT, l);
+    return symbol_type (token::TOKEN_SENDER_PORT, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAX_QUEUE_SIZE (const location_type& l)
+  Dhcp4Parser::make_MAX_QUEUE_SIZE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MAX_QUEUE_SIZE, l);
+    return symbol_type (token::TOKEN_MAX_QUEUE_SIZE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NCR_PROTOCOL (const location_type& l)
+  Dhcp4Parser::make_NCR_PROTOCOL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_NCR_PROTOCOL, l);
+    return symbol_type (token::TOKEN_NCR_PROTOCOL, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NCR_FORMAT (const location_type& l)
+  Dhcp4Parser::make_NCR_FORMAT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_NCR_FORMAT, l);
+    return symbol_type (token::TOKEN_NCR_FORMAT, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OVERRIDE_NO_UPDATE (const location_type& l)
+  Dhcp4Parser::make_OVERRIDE_NO_UPDATE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_OVERRIDE_NO_UPDATE, l);
+    return symbol_type (token::TOKEN_OVERRIDE_NO_UPDATE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OVERRIDE_CLIENT_UPDATE (const location_type& l)
+  Dhcp4Parser::make_OVERRIDE_CLIENT_UPDATE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_OVERRIDE_CLIENT_UPDATE, l);
+    return symbol_type (token::TOKEN_OVERRIDE_CLIENT_UPDATE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_REPLACE_CLIENT_NAME (const location_type& l)
+  Dhcp4Parser::make_REPLACE_CLIENT_NAME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_REPLACE_CLIENT_NAME, l);
+    return symbol_type (token::TOKEN_REPLACE_CLIENT_NAME, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_GENERATED_PREFIX (const location_type& l)
+  Dhcp4Parser::make_GENERATED_PREFIX (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_GENERATED_PREFIX, l);
+    return symbol_type (token::TOKEN_GENERATED_PREFIX, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TCP (const location_type& l)
+  Dhcp4Parser::make_TCP (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_TCP, l);
+    return symbol_type (token::TOKEN_TCP, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_JSON (const location_type& l)
+  Dhcp4Parser::make_JSON (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_JSON, l);
+    return symbol_type (token::TOKEN_JSON, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_WHEN_PRESENT (const location_type& l)
+  Dhcp4Parser::make_WHEN_PRESENT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_WHEN_PRESENT, l);
+    return symbol_type (token::TOKEN_WHEN_PRESENT, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_NEVER (const location_type& l)
+  Dhcp4Parser::make_NEVER (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_NEVER, l);
+    return symbol_type (token::TOKEN_NEVER, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_ALWAYS (const location_type& l)
+  Dhcp4Parser::make_ALWAYS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ALWAYS, l);
+    return symbol_type (token::TOKEN_ALWAYS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_WHEN_NOT_PRESENT (const location_type& l)
+  Dhcp4Parser::make_WHEN_NOT_PRESENT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_WHEN_NOT_PRESENT, l);
+    return symbol_type (token::TOKEN_WHEN_NOT_PRESENT, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTNAME_CHAR_SET (const location_type& l)
+  Dhcp4Parser::make_HOSTNAME_CHAR_SET (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOSTNAME_CHAR_SET, l);
+    return symbol_type (token::TOKEN_HOSTNAME_CHAR_SET, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_HOSTNAME_CHAR_REPLACEMENT (const location_type& l)
+  Dhcp4Parser::make_HOSTNAME_CHAR_REPLACEMENT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOSTNAME_CHAR_REPLACEMENT, l);
+    return symbol_type (token::TOKEN_HOSTNAME_CHAR_REPLACEMENT, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LOGGING (const location_type& l)
+  Dhcp4Parser::make_LOGGING (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LOGGING, l);
+    return symbol_type (token::TOKEN_LOGGING, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_LOGGERS (const location_type& l)
+  Dhcp4Parser::make_LOGGERS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LOGGERS, l);
+    return symbol_type (token::TOKEN_LOGGERS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OUTPUT_OPTIONS (const location_type& l)
+  Dhcp4Parser::make_OUTPUT_OPTIONS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_OUTPUT_OPTIONS, l);
+    return symbol_type (token::TOKEN_OUTPUT_OPTIONS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_OUTPUT (const location_type& l)
+  Dhcp4Parser::make_OUTPUT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_OUTPUT, l);
+    return symbol_type (token::TOKEN_OUTPUT, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DEBUGLEVEL (const location_type& l)
+  Dhcp4Parser::make_DEBUGLEVEL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DEBUGLEVEL, l);
+    return symbol_type (token::TOKEN_DEBUGLEVEL, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SEVERITY (const location_type& l)
+  Dhcp4Parser::make_SEVERITY (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SEVERITY, l);
+    return symbol_type (token::TOKEN_SEVERITY, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_FLUSH (const location_type& l)
+  Dhcp4Parser::make_FLUSH (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_FLUSH, l);
+    return symbol_type (token::TOKEN_FLUSH, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAXSIZE (const location_type& l)
+  Dhcp4Parser::make_MAXSIZE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MAXSIZE, l);
+    return symbol_type (token::TOKEN_MAXSIZE, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_MAXVER (const location_type& l)
+  Dhcp4Parser::make_MAXVER (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MAXVER, l);
+    return symbol_type (token::TOKEN_MAXVER, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCP6 (const location_type& l)
+  Dhcp4Parser::make_DHCP6 (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DHCP6, l);
+    return symbol_type (token::TOKEN_DHCP6, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_DHCPDDNS (const location_type& l)
+  Dhcp4Parser::make_DHCPDDNS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DHCPDDNS, l);
+    return symbol_type (token::TOKEN_DHCPDDNS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_CONTROL_AGENT (const location_type& l)
+  Dhcp4Parser::make_CONTROL_AGENT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CONTROL_AGENT, l);
+    return symbol_type (token::TOKEN_CONTROL_AGENT, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TOPLEVEL_JSON (const location_type& l)
+  Dhcp4Parser::make_TOPLEVEL_JSON (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_TOPLEVEL_JSON, l);
+    return symbol_type (token::TOKEN_TOPLEVEL_JSON, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_TOPLEVEL_DHCP4 (const location_type& l)
+  Dhcp4Parser::make_TOPLEVEL_DHCP4 (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_TOPLEVEL_DHCP4, l);
+    return symbol_type (token::TOKEN_TOPLEVEL_DHCP4, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_DHCP4 (const location_type& l)
+  Dhcp4Parser::make_SUB_DHCP4 (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_DHCP4, l);
+    return symbol_type (token::TOKEN_SUB_DHCP4, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_INTERFACES4 (const location_type& l)
+  Dhcp4Parser::make_SUB_INTERFACES4 (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_INTERFACES4, l);
+    return symbol_type (token::TOKEN_SUB_INTERFACES4, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_SUBNET4 (const location_type& l)
+  Dhcp4Parser::make_SUB_SUBNET4 (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_SUBNET4, l);
+    return symbol_type (token::TOKEN_SUB_SUBNET4, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_POOL4 (const location_type& l)
+  Dhcp4Parser::make_SUB_POOL4 (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_POOL4, l);
+    return symbol_type (token::TOKEN_SUB_POOL4, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_RESERVATION (const location_type& l)
+  Dhcp4Parser::make_SUB_RESERVATION (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_RESERVATION, l);
+    return symbol_type (token::TOKEN_SUB_RESERVATION, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_OPTION_DEFS (const location_type& l)
+  Dhcp4Parser::make_SUB_OPTION_DEFS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_OPTION_DEFS, l);
+    return symbol_type (token::TOKEN_SUB_OPTION_DEFS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_OPTION_DEF (const location_type& l)
+  Dhcp4Parser::make_SUB_OPTION_DEF (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_OPTION_DEF, l);
+    return symbol_type (token::TOKEN_SUB_OPTION_DEF, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_OPTION_DATA (const location_type& l)
+  Dhcp4Parser::make_SUB_OPTION_DATA (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_OPTION_DATA, l);
+    return symbol_type (token::TOKEN_SUB_OPTION_DATA, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_HOOKS_LIBRARY (const location_type& l)
+  Dhcp4Parser::make_SUB_HOOKS_LIBRARY (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_HOOKS_LIBRARY, l);
+    return symbol_type (token::TOKEN_SUB_HOOKS_LIBRARY, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_DHCP_DDNS (const location_type& l)
+  Dhcp4Parser::make_SUB_DHCP_DDNS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_DHCP_DDNS, l);
+    return symbol_type (token::TOKEN_SUB_DHCP_DDNS, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_LOGGING (const location_type& l)
+  Dhcp4Parser::make_SUB_LOGGING (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_LOGGING, l);
+    return symbol_type (token::TOKEN_SUB_LOGGING, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_SUB_CONFIG_CONTROL (const location_type& l)
+  Dhcp4Parser::make_SUB_CONFIG_CONTROL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_CONFIG_CONTROL, l);
+    return symbol_type (token::TOKEN_SUB_CONFIG_CONTROL, YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_STRING (const std::string& v, const location_type& l)
+  Dhcp4Parser::make_STRING (YY_COPY (std::string) v, YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_STRING, v, l);
+    return symbol_type (token::TOKEN_STRING, YY_MOVE (v), YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_INTEGER (const int64_t& v, const location_type& l)
+  Dhcp4Parser::make_INTEGER (YY_COPY (int64_t) v, YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_INTEGER, v, l);
+    return symbol_type (token::TOKEN_INTEGER, YY_MOVE (v), YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_FLOAT (const double& v, const location_type& l)
+  Dhcp4Parser::make_FLOAT (YY_COPY (double) v, YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_FLOAT, v, l);
+    return symbol_type (token::TOKEN_FLOAT, YY_MOVE (v), YY_MOVE (l));
   }
 
+  inline
   Dhcp4Parser::symbol_type
-  Dhcp4Parser::make_BOOLEAN (const bool& v, const location_type& l)
+  Dhcp4Parser::make_BOOLEAN (YY_COPY (bool) v, YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_BOOLEAN, v, l);
+    return symbol_type (token::TOKEN_BOOLEAN, YY_MOVE (v), YY_MOVE (l));
   }
 
 
-#line 14 "dhcp4_parser.yy" // lalr1.cc:377
+#line 14 "dhcp4_parser.yy" // lalr1.cc:404
 } } // isc::dhcp
-#line 2909 "dhcp4_parser.h" // lalr1.cc:377
+#line 3220 "dhcp4_parser.h" // lalr1.cc:404
 
 
 
index 7e23a2ccac4e6235bff281bd9ffdb2365482b554..cc89256d692e49baef7ade49828b607078b75b00 100644 (file)
@@ -1,8 +1,9 @@
-// A Bison parser, made by GNU Bison 3.0.4.
+// Generated 201811202257
+// A Bison parser, made by GNU Bison 3.2.1.
 
 // Locations for Bison parsers in C++
 
-// Copyright (C) 2002-2015 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
 
 // This program is free software: you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 #ifndef YY_PARSER4_LOCATION_HH_INCLUDED
 # define YY_PARSER4_LOCATION_HH_INCLUDED
 
-# include "position.hh"
+# include <algorithm> // std::max
+# include <iostream>
+# include <string>
 
-#line 14 "dhcp4_parser.yy" // location.cc:296
+# ifndef YY_NULLPTR
+#  if defined __cplusplus
+#   if 201103L <= __cplusplus
+#    define YY_NULLPTR nullptr
+#   else
+#    define YY_NULLPTR 0
+#   endif
+#  else
+#   define YY_NULLPTR ((void*)0)
+#  endif
+# endif
+
+#line 14 "dhcp4_parser.yy" // location.cc:339
 namespace isc { namespace dhcp {
-#line 46 "location.hh" // location.cc:296
-  /// Abstract a location.
+#line 60 "location.hh" // location.cc:339
+  /// A point in a source file.
+  class position
+  {
+  public:
+    /// Construct a position.
+    explicit position (std::string* f = YY_NULLPTR,
+                       unsigned l = 1u,
+                       unsigned c = 1u)
+      : filename (f)
+      , line (l)
+      , column (c)
+    {}
+
+
+    /// Initialization.
+    void initialize (std::string* fn = YY_NULLPTR,
+                     unsigned l = 1u,
+                     unsigned c = 1u)
+    {
+      filename = fn;
+      line = l;
+      column = c;
+    }
+
+    /** \name Line and Column related manipulators
+     ** \{ */
+    /// (line related) Advance to the COUNT next lines.
+    void lines (int count = 1)
+    {
+      if (count)
+        {
+          column = 1u;
+          line = add_ (line, count, 1);
+        }
+    }
+
+    /// (column related) Advance to the COUNT next columns.
+    void columns (int count = 1)
+    {
+      column = add_ (column, count, 1);
+    }
+    /** \} */
+
+    /// File name to which this position refers.
+    std::string* filename;
+    /// Current line number.
+    unsigned line;
+    /// Current column number.
+    unsigned column;
+
+  private:
+    /// Compute max (min, lhs+rhs).
+    static unsigned add_ (unsigned lhs, int rhs, int min)
+    {
+      return static_cast<unsigned> (std::max (min,
+                                              static_cast<int> (lhs) + rhs));
+    }
+  };
+
+  /// Add \a width columns, in place.
+  inline position&
+  operator+= (position& res, int width)
+  {
+    res.columns (width);
+    return res;
+  }
+
+  /// Add \a width columns.
+  inline position
+  operator+ (position res, int width)
+  {
+    return res += width;
+  }
+
+  /// Subtract \a width columns, in place.
+  inline position&
+  operator-= (position& res, int width)
+  {
+    return res += -width;
+  }
+
+  /// Subtract \a width columns.
+  inline position
+  operator- (position res, int width)
+  {
+    return res -= width;
+  }
+
+  /// Compare two position objects.
+  inline bool
+  operator== (const position& pos1, const position& pos2)
+  {
+    return (pos1.line == pos2.line
+            && pos1.column == pos2.column
+            && (pos1.filename == pos2.filename
+                || (pos1.filename && pos2.filename
+                    && *pos1.filename == *pos2.filename)));
+  }
+
+  /// Compare two position objects.
+  inline bool
+  operator!= (const position& pos1, const position& pos2)
+  {
+    return !(pos1 == pos2);
+  }
+
+  /** \brief Intercept output stream redirection.
+   ** \param ostr the destination output stream
+   ** \param pos a reference to the position to redirect
+   */
+  template <typename YYChar>
+  std::basic_ostream<YYChar>&
+  operator<< (std::basic_ostream<YYChar>& ostr, const position& pos)
+  {
+    if (pos.filename)
+      ostr << *pos.filename << ':';
+    return ostr << pos.line << '.' << pos.column;
+  }
+
+  /// Two points in a source file.
   class location
   {
   public:
@@ -52,30 +186,27 @@ namespace isc { namespace dhcp {
     location (const position& b, const position& e)
       : begin (b)
       , end (e)
-    {
-    }
+    {}
 
     /// Construct a 0-width location in \a p.
     explicit location (const position& p = position ())
       : begin (p)
       , end (p)
-    {
-    }
+    {}
 
     /// Construct a 0-width location in \a f, \a l, \a c.
     explicit location (std::string* f,
-                       unsigned int l = 1u,
-                       unsigned int c = 1u)
+                       unsigned l = 1u,
+                       unsigned c = 1u)
       : begin (f, l, c)
       , end (f, l, c)
-    {
-    }
+    {}
 
 
     /// Initialization.
     void initialize (std::string* f = YY_NULLPTR,
-                     unsigned int l = 1u,
-                     unsigned int c = 1u)
+                     unsigned l = 1u,
+                     unsigned c = 1u)
     {
       begin.initialize (f, l, c);
       end = begin;
@@ -170,10 +301,10 @@ namespace isc { namespace dhcp {
    ** Avoid duplicate information.
    */
   template <typename YYChar>
-  inline std::basic_ostream<YYChar>&
+  std::basic_ostream<YYChar>&
   operator<< (std::basic_ostream<YYChar>& ostr, const location& loc)
   {
-    unsigned int end_col = 0 < loc.end.column ? loc.end.column - 1 : 0;
+    unsigned end_col = 0 < loc.end.column ? loc.end.column - 1 : 0;
     ostr << loc.begin;
     if (loc.end.filename
         && (!loc.begin.filename
@@ -186,7 +317,7 @@ namespace isc { namespace dhcp {
     return ostr;
   }
 
-#line 14 "dhcp4_parser.yy" // location.cc:296
+#line 14 "dhcp4_parser.yy" // location.cc:339
 } } // isc::dhcp
-#line 192 "location.hh" // location.cc:296
+#line 322 "location.hh" // location.cc:339
 #endif // !YY_PARSER4_LOCATION_HH_INCLUDED
index c60fabbdf87798eaaf77c5d851308166f1c29ecc..c9749a5d1a0a02ea81dfc9f630f3f7cf8ff581e9 100644 (file)
-// A Bison parser, made by GNU Bison 3.0.4.
-
-// Positions for Bison parsers in C++
-
-// Copyright (C) 2002-2015 Free Software Foundation, Inc.
-
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-
-// You should have received a copy of the GNU General Public License
-// along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-// As a special exception, you may create a larger work that contains
-// part or all of the Bison parser skeleton and distribute that work
-// under terms of your choice, so long as that work isn't itself a
-// parser generator using the skeleton or a modified version thereof
-// as a parser skeleton.  Alternatively, if you modify or redistribute
-// the parser skeleton itself, you may (at your option) remove this
-// special exception, which will cause the skeleton and the resulting
-// Bison output files to be licensed under the GNU General Public
-// License without this special exception.
-
-// This special exception was added by the Free Software Foundation in
-// version 2.2 of Bison.
-
-/**
- ** \file position.hh
- ** Define the isc::dhcp::position class.
- */
-
-#ifndef YY_PARSER4_POSITION_HH_INCLUDED
-# define YY_PARSER4_POSITION_HH_INCLUDED
-
-# include <algorithm> // std::max
-# include <iostream>
-# include <string>
-
-# ifndef YY_NULLPTR
-#  if defined __cplusplus && 201103L <= __cplusplus
-#   define YY_NULLPTR nullptr
-#  else
-#   define YY_NULLPTR 0
-#  endif
-# endif
-
-#line 14 "dhcp4_parser.yy" // location.cc:296
-namespace isc { namespace dhcp {
-#line 56 "position.hh" // location.cc:296
-  /// Abstract a position.
-  class position
-  {
-  public:
-    /// Construct a position.
-    explicit position (std::string* f = YY_NULLPTR,
-                       unsigned int l = 1u,
-                       unsigned int c = 1u)
-      : filename (f)
-      , line (l)
-      , column (c)
-    {
-    }
-
-
-    /// Initialization.
-    void initialize (std::string* fn = YY_NULLPTR,
-                     unsigned int l = 1u,
-                     unsigned int c = 1u)
-    {
-      filename = fn;
-      line = l;
-      column = c;
-    }
-
-    /** \name Line and Column related manipulators
-     ** \{ */
-    /// (line related) Advance to the COUNT next lines.
-    void lines (int count = 1)
-    {
-      if (count)
-        {
-          column = 1u;
-          line = add_ (line, count, 1);
-        }
-    }
-
-    /// (column related) Advance to the COUNT next columns.
-    void columns (int count = 1)
-    {
-      column = add_ (column, count, 1);
-    }
-    /** \} */
-
-    /// File name to which this position refers.
-    std::string* filename;
-    /// Current line number.
-    unsigned int line;
-    /// Current column number.
-    unsigned int column;
-
-  private:
-    /// Compute max(min, lhs+rhs) (provided min <= lhs).
-    static unsigned int add_ (unsigned int lhs, int rhs, unsigned int min)
-    {
-      return (0 < rhs || -static_cast<unsigned int>(rhs) < lhs
-              ? rhs + lhs
-              : min);
-    }
-  };
-
-  /// Add \a width columns, in place.
-  inline position&
-  operator+= (position& res, int width)
-  {
-    res.columns (width);
-    return res;
-  }
-
-  /// Add \a width columns.
-  inline position
-  operator+ (position res, int width)
-  {
-    return res += width;
-  }
-
-  /// Subtract \a width columns, in place.
-  inline position&
-  operator-= (position& res, int width)
-  {
-    return res += -width;
-  }
-
-  /// Subtract \a width columns.
-  inline position
-  operator- (position res, int width)
-  {
-    return res -= width;
-  }
-
-  /// Compare two position objects.
-  inline bool
-  operator== (const position& pos1, const position& pos2)
-  {
-    return (pos1.line == pos2.line
-            && pos1.column == pos2.column
-            && (pos1.filename == pos2.filename
-                || (pos1.filename && pos2.filename
-                    && *pos1.filename == *pos2.filename)));
-  }
-
-  /// Compare two position objects.
-  inline bool
-  operator!= (const position& pos1, const position& pos2)
-  {
-    return !(pos1 == pos2);
-  }
-
-  /** \brief Intercept output stream redirection.
-   ** \param ostr the destination output stream
-   ** \param pos a reference to the position to redirect
-   */
-  template <typename YYChar>
-  inline std::basic_ostream<YYChar>&
-  operator<< (std::basic_ostream<YYChar>& ostr, const position& pos)
-  {
-    if (pos.filename)
-      ostr << *pos.filename << ':';
-    return ostr << pos.line << '.' << pos.column;
-  }
-
-#line 14 "dhcp4_parser.yy" // location.cc:296
-} } // isc::dhcp
-#line 180 "position.hh" // location.cc:296
-#endif // !YY_PARSER4_POSITION_HH_INCLUDED
+// Generated 201811202257
+// A Bison parser, made by GNU Bison 3.2.1.
+
+// Starting with Bison 3.2, this file is useless: the structure it
+// used to define is now defined in "location.hh".
+//
+// To get rid of this file:
+// 1. add 'require "3.2"' (or newer) to your grammar file
+// 2. remove references to this file from your build system
+// 3. if you used to include it, include "location.hh" instead.
+
+#include "location.hh"
index 3dd2a2a3934851424d45b935573ab2e9e83f07a8..63282a8b87994b31c5d046ec3ae65b8b769f5eb5 100644 (file)
@@ -1,157 +1,9 @@
-// A Bison parser, made by GNU Bison 3.0.4.
-
-// Stack handling for Bison parsers in C++
-
-// Copyright (C) 2002-2015 Free Software Foundation, Inc.
-
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-
-// You should have received a copy of the GNU General Public License
-// along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-// As a special exception, you may create a larger work that contains
-// part or all of the Bison parser skeleton and distribute that work
-// under terms of your choice, so long as that work isn't itself a
-// parser generator using the skeleton or a modified version thereof
-// as a parser skeleton.  Alternatively, if you modify or redistribute
-// the parser skeleton itself, you may (at your option) remove this
-// special exception, which will cause the skeleton and the resulting
-// Bison output files to be licensed under the GNU General Public
-// License without this special exception.
-
-// This special exception was added by the Free Software Foundation in
-// version 2.2 of Bison.
-
-/**
- ** \file stack.hh
- ** Define the isc::dhcp::stack class.
- */
-
-#ifndef YY_PARSER4_STACK_HH_INCLUDED
-# define YY_PARSER4_STACK_HH_INCLUDED
-
-# include <vector>
-
-#line 14 "dhcp4_parser.yy" // stack.hh:132
-namespace isc { namespace dhcp {
-#line 46 "stack.hh" // stack.hh:132
-  template <class T, class S = std::vector<T> >
-  class stack
-  {
-  public:
-    // Hide our reversed order.
-    typedef typename S::reverse_iterator iterator;
-    typedef typename S::const_reverse_iterator const_iterator;
-
-    stack ()
-      : seq_ ()
-    {
-      seq_.reserve (200);
-    }
-
-    stack (unsigned int n)
-      : seq_ (n)
-    {}
-
-    inline
-    T&
-    operator[] (unsigned int i)
-    {
-      return seq_[seq_.size () - 1 - i];
-    }
-
-    inline
-    const T&
-    operator[] (unsigned int i) const
-    {
-      return seq_[seq_.size () - 1 - i];
-    }
-
-    /// Steal the contents of \a t.
-    ///
-    /// Close to move-semantics.
-    inline
-    void
-    push (T& t)
-    {
-      seq_.push_back (T());
-      operator[](0).move (t);
-    }
-
-    inline
-    void
-    pop (unsigned int n = 1)
-    {
-      for (; n; --n)
-        seq_.pop_back ();
-    }
-
-    void
-    clear ()
-    {
-      seq_.clear ();
-    }
-
-    inline
-    typename S::size_type
-    size () const
-    {
-      return seq_.size ();
-    }
-
-    inline
-    const_iterator
-    begin () const
-    {
-      return seq_.rbegin ();
-    }
-
-    inline
-    const_iterator
-    end () const
-    {
-      return seq_.rend ();
-    }
-
-  private:
-    stack (const stack&);
-    stack& operator= (const stack&);
-    /// The wrapped container.
-    S seq_;
-  };
-
-  /// Present a slice of the top of a stack.
-  template <class T, class S = stack<T> >
-  class slice
-  {
-  public:
-    slice (const S& stack, unsigned int range)
-      : stack_ (stack)
-      , range_ (range)
-    {}
-
-    inline
-    const T&
-    operator [] (unsigned int i) const
-    {
-      return stack_[range_ - i];
-    }
-
-  private:
-    const S& stack_;
-    unsigned int range_;
-  };
-
-#line 14 "dhcp4_parser.yy" // stack.hh:132
-} } // isc::dhcp
-#line 156 "stack.hh" // stack.hh:132
-
-#endif // !YY_PARSER4_STACK_HH_INCLUDED
+// Generated 201811202257
+// A Bison parser, made by GNU Bison 3.2.1.
+
+// Starting with Bison 3.2, this file is useless: the structure it
+// used to define is now defined with the parser itself.
+//
+// To get rid of this file:
+// 1. add 'require "3.2"' (or newer) to your grammar file
+// 2. remove references to this file from your build system.
index 2735633bce2a7865eba5aa4589a6f7fdbf0055bf..1e4267738f7f64d420e569d2daae03438863e24a 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.0.4.
+// A Bison parser, made by GNU Bison 3.2.1.
 
 // Skeleton implementation for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
 
 // This program is free software: you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // This special exception was added by the Free Software Foundation in
 // version 2.2 of Bison.
 
+// Undocumented macros, especially those whose name start with YY_,
+// are private implementation details.  Do not rely on them.
+
+
 // Take the name prefix into account.
 #define yylex   parser6_lex
 
-// First part of user declarations.
 
-#line 39 "dhcp6_parser.cc" // lalr1.cc:404
-
-# ifndef YY_NULLPTR
-#  if defined __cplusplus && 201103L <= __cplusplus
-#   define YY_NULLPTR nullptr
-#  else
-#   define YY_NULLPTR 0
-#  endif
-# endif
 
 #include "dhcp6_parser.h"
 
-// User implementation prologue.
 
-#line 53 "dhcp6_parser.cc" // lalr1.cc:412
 // Unqualified %code blocks.
-#line 34 "dhcp6_parser.yy" // lalr1.cc:413
+#line 34 "dhcp6_parser.yy" // lalr1.cc:438
 
 #include <dhcp6/parser_context.h>
 
-#line 59 "dhcp6_parser.cc" // lalr1.cc:413
+#line 51 "dhcp6_parser.cc" // lalr1.cc:438
 
 
 #ifndef YY_
 # endif
 #endif
 
+// Whether we are compiled with exception support.
+#ifndef YY_EXCEPTIONS
+# if defined __GNUC__ && !defined __EXCEPTIONS
+#  define YY_EXCEPTIONS 0
+# else
+#  define YY_EXCEPTIONS 1
+# endif
+#endif
+
 #define YYRHSLOC(Rhs, K) ((Rhs)[K].location)
 /* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
    If N is 0, then set CURRENT to the empty location which ends
     {                                           \
       *yycdebug_ << Title << ' ';               \
       yy_print_ (*yycdebug_, Symbol);           \
-      *yycdebug_ << std::endl;                  \
+      *yycdebug_ << '\n';                       \
     }                                           \
   } while (false)
 
 #else // !PARSER6_DEBUG
 
 # define YYCDEBUG if (false) std::cerr
-# define YY_SYMBOL_PRINT(Title, Symbol)  YYUSE(Symbol)
-# define YY_REDUCE_PRINT(Rule)           static_cast<void>(0)
-# define YY_STACK_PRINT()                static_cast<void>(0)
+# define YY_SYMBOL_PRINT(Title, Symbol)  YYUSE (Symbol)
+# define YY_REDUCE_PRINT(Rule)           static_cast<void> (0)
+# define YY_STACK_PRINT()                static_cast<void> (0)
 
 #endif // !PARSER6_DEBUG
 
 #define YYERROR         goto yyerrorlab
 #define YYRECOVERING()  (!!yyerrstatus_)
 
-#line 14 "dhcp6_parser.yy" // lalr1.cc:479
+#line 14 "dhcp6_parser.yy" // lalr1.cc:513
 namespace isc { namespace dhcp {
-#line 145 "dhcp6_parser.cc" // lalr1.cc:479
+#line 146 "dhcp6_parser.cc" // lalr1.cc:513
 
   /* Return YYSTR after stripping away unnecessary quotes and
      backslashes, so that it's suitable for yyerror.  The heuristic is
@@ -202,24 +203,20 @@ namespace isc { namespace dhcp {
 
 
   // by_state.
-  inline
   Dhcp6Parser::by_state::by_state ()
     : state (empty_state)
   {}
 
-  inline
   Dhcp6Parser::by_state::by_state (const by_state& other)
     : state (other.state)
   {}
 
-  inline
   void
   Dhcp6Parser::by_state::clear ()
   {
     state = empty_state;
   }
 
-  inline
   void
   Dhcp6Parser::by_state::move (by_state& that)
   {
@@ -227,12 +224,10 @@ namespace isc { namespace dhcp {
     that.clear ();
   }
 
-  inline
   Dhcp6Parser::by_state::by_state (state_type s)
     : state (s)
   {}
 
-  inline
   Dhcp6Parser::symbol_number_type
   Dhcp6Parser::by_state::type_get () const
   {
@@ -242,16 +237,54 @@ namespace isc { namespace dhcp {
       return yystos_[state];
   }
 
-  inline
   Dhcp6Parser::stack_symbol_type::stack_symbol_type ()
   {}
 
+  Dhcp6Parser::stack_symbol_type::stack_symbol_type (YY_RVREF (stack_symbol_type) that)
+    : super_type (YY_MOVE (that.state), YY_MOVE (that.location))
+  {
+    switch (that.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 (that.value));
+        break;
+
+      case 173: // "boolean"
+        value.YY_MOVE_OR_COPY< bool > (YY_MOVE (that.value));
+        break;
+
+      case 172: // "floating point"
+        value.YY_MOVE_OR_COPY< double > (YY_MOVE (that.value));
+        break;
+
+      case 171: // "integer"
+        value.YY_MOVE_OR_COPY< int64_t > (YY_MOVE (that.value));
+        break;
+
+      case 170: // "constant string"
+        value.YY_MOVE_OR_COPY< std::string > (YY_MOVE (that.value));
+        break;
 
-  inline
-  Dhcp6Parser::stack_symbol_type::stack_symbol_type (state_type s, symbol_type& that)
-    : super_type (s, that.location)
+      default:
+        break;
+    }
+
+#if defined __cplusplus && 201103L <= __cplusplus
+    // that is emptied.
+    that.state = empty_state;
+#endif
+  }
+
+  Dhcp6Parser::stack_symbol_type::stack_symbol_type (state_type s, YY_MOVE_REF (symbol_type) that)
+    : super_type (s, YY_MOVE (that.location))
   {
-      switch (that.type_get ())
+    switch (that.type_get ())
     {
       case 191: // value
       case 195: // map_value
@@ -260,23 +293,23 @@ namespace isc { namespace dhcp {
       case 472: // duid_type
       case 507: // ncr_protocol_value
       case 514: // replace_client_name_value
-        value.move< ElementPtr > (that.value);
+        value.move< ElementPtr > (YY_MOVE (that.value));
         break;
 
       case 173: // "boolean"
-        value.move< bool > (that.value);
+        value.move< bool > (YY_MOVE (that.value));
         break;
 
       case 172: // "floating point"
-        value.move< double > (that.value);
+        value.move< double > (YY_MOVE (that.value));
         break;
 
       case 171: // "integer"
-        value.move< int64_t > (that.value);
+        value.move< int64_t > (YY_MOVE (that.value));
         break;
 
       case 170: // "constant string"
-        value.move< std::string > (that.value);
+        value.move< std::string > (YY_MOVE (that.value));
         break;
 
       default:
@@ -287,12 +320,12 @@ namespace isc { namespace dhcp {
     that.type = empty_symbol;
   }
 
-  inline
+#if !defined __cplusplus || __cplusplus < 201103L
   Dhcp6Parser::stack_symbol_type&
-  Dhcp6Parser::stack_symbol_type::operator= (const stack_symbol_type& that)
+  Dhcp6Parser::stack_symbol_type::operator= (stack_symbol_type& that)
   {
     state = that.state;
-      switch (that.type_get ())
+    switch (that.type_get ())
     {
       case 191: // value
       case 195: // map_value
@@ -301,23 +334,23 @@ namespace isc { namespace dhcp {
       case 472: // duid_type
       case 507: // ncr_protocol_value
       case 514: // replace_client_name_value
-        value.copy< ElementPtr > (that.value);
+        value.move< ElementPtr > (that.value);
         break;
 
       case 173: // "boolean"
-        value.copy< bool > (that.value);
+        value.move< bool > (that.value);
         break;
 
       case 172: // "floating point"
-        value.copy< double > (that.value);
+        value.move< double > (that.value);
         break;
 
       case 171: // "integer"
-        value.copy< int64_t > (that.value);
+        value.move< int64_t > (that.value);
         break;
 
       case 170: // "constant string"
-        value.copy< std::string > (that.value);
+        value.move< std::string > (that.value);
         break;
 
       default:
@@ -325,12 +358,13 @@ namespace isc { namespace dhcp {
     }
 
     location = that.location;
+    // that is emptied.
+    that.state = empty_state;
     return *this;
   }
-
+#endif
 
   template <typename Base>
-  inline
   void
   Dhcp6Parser::yy_destroy_ (const char* yymsg, basic_symbol<Base>& yysym) const
   {
@@ -358,79 +392,79 @@ namespace isc { namespace dhcp {
     {
             case 170: // "constant string"
 
-#line 248 "dhcp6_parser.yy" // lalr1.cc:636
+#line 248 "dhcp6_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< std::string > (); }
-#line 364 "dhcp6_parser.cc" // lalr1.cc:636
+#line 398 "dhcp6_parser.cc" // lalr1.cc:672
         break;
 
       case 171: // "integer"
 
-#line 248 "dhcp6_parser.yy" // lalr1.cc:636
+#line 248 "dhcp6_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< int64_t > (); }
-#line 371 "dhcp6_parser.cc" // lalr1.cc:636
+#line 405 "dhcp6_parser.cc" // lalr1.cc:672
         break;
 
       case 172: // "floating point"
 
-#line 248 "dhcp6_parser.yy" // lalr1.cc:636
+#line 248 "dhcp6_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< double > (); }
-#line 378 "dhcp6_parser.cc" // lalr1.cc:636
+#line 412 "dhcp6_parser.cc" // lalr1.cc:672
         break;
 
       case 173: // "boolean"
 
-#line 248 "dhcp6_parser.yy" // lalr1.cc:636
+#line 248 "dhcp6_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< bool > (); }
-#line 385 "dhcp6_parser.cc" // lalr1.cc:636
+#line 419 "dhcp6_parser.cc" // lalr1.cc:672
         break;
 
       case 191: // value
 
-#line 248 "dhcp6_parser.yy" // lalr1.cc:636
+#line 248 "dhcp6_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 392 "dhcp6_parser.cc" // lalr1.cc:636
+#line 426 "dhcp6_parser.cc" // lalr1.cc:672
         break;
 
       case 195: // map_value
 
-#line 248 "dhcp6_parser.yy" // lalr1.cc:636
+#line 248 "dhcp6_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 399 "dhcp6_parser.cc" // lalr1.cc:636
+#line 433 "dhcp6_parser.cc" // lalr1.cc:672
         break;
 
       case 247: // db_type
 
-#line 248 "dhcp6_parser.yy" // lalr1.cc:636
+#line 248 "dhcp6_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 406 "dhcp6_parser.cc" // lalr1.cc:636
+#line 440 "dhcp6_parser.cc" // lalr1.cc:672
         break;
 
       case 336: // hr_mode
 
-#line 248 "dhcp6_parser.yy" // lalr1.cc:636
+#line 248 "dhcp6_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 413 "dhcp6_parser.cc" // lalr1.cc:636
+#line 447 "dhcp6_parser.cc" // lalr1.cc:672
         break;
 
       case 472: // duid_type
 
-#line 248 "dhcp6_parser.yy" // lalr1.cc:636
+#line 248 "dhcp6_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 420 "dhcp6_parser.cc" // lalr1.cc:636
+#line 454 "dhcp6_parser.cc" // lalr1.cc:672
         break;
 
       case 507: // ncr_protocol_value
 
-#line 248 "dhcp6_parser.yy" // lalr1.cc:636
+#line 248 "dhcp6_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 427 "dhcp6_parser.cc" // lalr1.cc:636
+#line 461 "dhcp6_parser.cc" // lalr1.cc:672
         break;
 
       case 514: // replace_client_name_value
 
-#line 248 "dhcp6_parser.yy" // lalr1.cc:636
+#line 248 "dhcp6_parser.yy" // lalr1.cc:672
         { yyoutput << yysym.value.template as< ElementPtr > (); }
-#line 434 "dhcp6_parser.cc" // lalr1.cc:636
+#line 468 "dhcp6_parser.cc" // lalr1.cc:672
         break;
 
 
@@ -441,26 +475,27 @@ namespace isc { namespace dhcp {
   }
 #endif
 
-  inline
   void
-  Dhcp6Parser::yypush_ (const char* m, state_type s, symbol_type& sym)
+  Dhcp6Parser::yypush_ (const char* m, YY_MOVE_REF (stack_symbol_type) sym)
   {
-    stack_symbol_type t (s, sym);
-    yypush_ (m, t);
+    if (m)
+      YY_SYMBOL_PRINT (m, sym);
+    yystack_.push (YY_MOVE (sym));
   }
 
-  inline
   void
-  Dhcp6Parser::yypush_ (const char* m, stack_symbol_type& s)
+  Dhcp6Parser::yypush_ (const char* m, state_type s, YY_MOVE_REF (symbol_type) sym)
   {
-    if (m)
-      YY_SYMBOL_PRINT (m, s);
-    yystack_.push (s);
+#if defined __cplusplus && 201103L <= __cplusplus
+    yypush_ (m, stack_symbol_type (s, std::move (sym)));
+#else
+    stack_symbol_type ss (s, sym);
+    yypush_ (m, ss);
+#endif
   }
 
-  inline
   void
-  Dhcp6Parser::yypop_ (unsigned int n)
+  Dhcp6Parser::yypop_ (int n)
   {
     yystack_.pop (n);
   }
@@ -492,7 +527,7 @@ namespace isc { namespace dhcp {
   }
 #endif // PARSER6_DEBUG
 
-  inline Dhcp6Parser::state_type
+  Dhcp6Parser::state_type
   Dhcp6Parser::yy_lr_goto_state_ (state_type yystate, int yysym)
   {
     int yyr = yypgoto_[yysym - yyntokens_] + yystate;
@@ -502,18 +537,24 @@ namespace isc { namespace dhcp {
       return yydefgoto_[yysym - yyntokens_];
   }
 
-  inline bool
+  bool
   Dhcp6Parser::yy_pact_value_is_default_ (int yyvalue)
   {
     return yyvalue == yypact_ninf_;
   }
 
-  inline bool
+  bool
   Dhcp6Parser::yy_table_value_is_error_ (int yyvalue)
   {
     return yyvalue == yytable_ninf_;
   }
 
+  int
+  Dhcp6Parser::operator() ()
+  {
+    return parse ();
+  }
+
   int
   Dhcp6Parser::parse ()
   {
@@ -535,11 +576,11 @@ namespace isc { namespace dhcp {
     /// The return value of parse ().
     int yyresult;
 
-    // FIXME: This shoud be completely indented.  It is not yet to
-    // avoid gratuitous conflicts when merging into the master branch.
+#if YY_EXCEPTIONS
     try
+#endif // YY_EXCEPTIONS
       {
-    YYCDEBUG << "Starting parse" << std::endl;
+    YYCDEBUG << "Starting parse\n";
 
 
     /* Initialize the stack.  The initial state will be set in
@@ -547,11 +588,11 @@ namespace isc { namespace dhcp {
        location values to have been already stored, initialize these
        stacks with a primary value.  */
     yystack_.clear ();
-    yypush_ (YY_NULLPTR, 0, yyla);
+    yypush_ (YY_NULLPTR, 0, YY_MOVE (yyla));
 
     // A new symbol was pushed on the stack.
   yynewstate:
-    YYCDEBUG << "Entering state " << yystack_[0].state << std::endl;
+    YYCDEBUG << "Entering state " << yystack_[0].state << '\n';
 
     // Accept?
     if (yystack_[0].state == yyfinal_)
@@ -561,7 +602,6 @@ namespace isc { namespace dhcp {
 
     // Backup.
   yybackup:
-
     // Try to take a decision without lookahead.
     yyn = yypact_[yystack_[0].state];
     if (yy_pact_value_is_default_ (yyn))
@@ -571,16 +611,20 @@ namespace isc { namespace dhcp {
     if (yyla.empty ())
       {
         YYCDEBUG << "Reading a token: ";
+#if YY_EXCEPTIONS
         try
+#endif // YY_EXCEPTIONS
           {
             symbol_type yylookahead (yylex (ctx));
             yyla.move (yylookahead);
           }
+#if YY_EXCEPTIONS
         catch (const syntax_error& yyexc)
           {
             error (yyexc);
             goto yyerrlab1;
           }
+#endif // YY_EXCEPTIONS
       }
     YY_SYMBOL_PRINT ("Next token is", yyla);
 
@@ -605,7 +649,7 @@ namespace isc { namespace dhcp {
       --yyerrstatus_;
 
     // Shift the lookahead token.
-    yypush_ ("Shifting", yyn, yyla);
+    yypush_ ("Shifting", yyn, YY_MOVE (yyla));
     goto yynewstate;
 
   /*-----------------------------------------------------------.
@@ -624,11 +668,11 @@ namespace isc { namespace dhcp {
     yylen = yyr2_[yyn];
     {
       stack_symbol_type yylhs;
-      yylhs.state = yy_lr_goto_state_(yystack_[yylen].state, yyr1_[yyn]);
+      yylhs.state = yy_lr_goto_state_ (yystack_[yylen].state, yyr1_[yyn]);
       /* Variants are always initialized to an empty instance of the
          correct type. The default '$$ = $1' action is NOT applied
          when using variants.  */
-        switch (yyr1_[yyn])
+      switch (yyr1_[yyn])
     {
       case 191: // value
       case 195: // map_value
@@ -637,23 +681,23 @@ namespace isc { namespace dhcp {
       case 472: // duid_type
       case 507: // ncr_protocol_value
       case 514: // replace_client_name_value
-        yylhs.value.build< ElementPtr > ();
+        yylhs.value.emplace< ElementPtr > ();
         break;
 
       case 173: // "boolean"
-        yylhs.value.build< bool > ();
+        yylhs.value.emplace< bool > ();
         break;
 
       case 172: // "floating point"
-        yylhs.value.build< double > ();
+        yylhs.value.emplace< double > ();
         break;
 
       case 171: // "integer"
-        yylhs.value.build< int64_t > ();
+        yylhs.value.emplace< int64_t > ();
         break;
 
       case 170: // "constant string"
-        yylhs.value.build< std::string > ();
+        yylhs.value.emplace< std::string > ();
         break;
 
       default:
@@ -661,299 +705,302 @@ namespace isc { namespace dhcp {
     }
 
 
-      // Compute the default @$.
+      // Default location.
       {
         slice<stack_symbol_type, stack_type> slice (yystack_, yylen);
         YYLLOC_DEFAULT (yylhs.location, slice, yylen);
+        yyerror_range[1].location = yylhs.location;
       }
 
       // Perform the reduction.
       YY_REDUCE_PRINT (yyn);
+#if YY_EXCEPTIONS
       try
+#endif // YY_EXCEPTIONS
         {
           switch (yyn)
             {
   case 2:
-#line 257 "dhcp6_parser.yy" // lalr1.cc:859
+#line 257 "dhcp6_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.NO_KEYWORD; }
-#line 680 "dhcp6_parser.cc" // lalr1.cc:859
+#line 727 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 4:
-#line 258 "dhcp6_parser.yy" // lalr1.cc:859
+#line 258 "dhcp6_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.CONFIG; }
-#line 686 "dhcp6_parser.cc" // lalr1.cc:859
+#line 733 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 6:
-#line 259 "dhcp6_parser.yy" // lalr1.cc:859
+#line 259 "dhcp6_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.DHCP6; }
-#line 692 "dhcp6_parser.cc" // lalr1.cc:859
+#line 739 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 8:
-#line 260 "dhcp6_parser.yy" // lalr1.cc:859
+#line 260 "dhcp6_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.INTERFACES_CONFIG; }
-#line 698 "dhcp6_parser.cc" // lalr1.cc:859
+#line 745 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 10:
-#line 261 "dhcp6_parser.yy" // lalr1.cc:859
+#line 261 "dhcp6_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.SUBNET6; }
-#line 704 "dhcp6_parser.cc" // lalr1.cc:859
+#line 751 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 12:
-#line 262 "dhcp6_parser.yy" // lalr1.cc:859
+#line 262 "dhcp6_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.POOLS; }
-#line 710 "dhcp6_parser.cc" // lalr1.cc:859
+#line 757 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 14:
-#line 263 "dhcp6_parser.yy" // lalr1.cc:859
+#line 263 "dhcp6_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.PD_POOLS; }
-#line 716 "dhcp6_parser.cc" // lalr1.cc:859
+#line 763 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 16:
-#line 264 "dhcp6_parser.yy" // lalr1.cc:859
+#line 264 "dhcp6_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.RESERVATIONS; }
-#line 722 "dhcp6_parser.cc" // lalr1.cc:859
+#line 769 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 18:
-#line 265 "dhcp6_parser.yy" // lalr1.cc:859
+#line 265 "dhcp6_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.DHCP6; }
-#line 728 "dhcp6_parser.cc" // lalr1.cc:859
+#line 775 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 20:
-#line 266 "dhcp6_parser.yy" // lalr1.cc:859
+#line 266 "dhcp6_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.OPTION_DEF; }
-#line 734 "dhcp6_parser.cc" // lalr1.cc:859
+#line 781 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 22:
-#line 267 "dhcp6_parser.yy" // lalr1.cc:859
+#line 267 "dhcp6_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.OPTION_DATA; }
-#line 740 "dhcp6_parser.cc" // lalr1.cc:859
+#line 787 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 24:
-#line 268 "dhcp6_parser.yy" // lalr1.cc:859
+#line 268 "dhcp6_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.HOOKS_LIBRARIES; }
-#line 746 "dhcp6_parser.cc" // lalr1.cc:859
+#line 793 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 26:
-#line 269 "dhcp6_parser.yy" // lalr1.cc:859
+#line 269 "dhcp6_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.DHCP_DDNS; }
-#line 752 "dhcp6_parser.cc" // lalr1.cc:859
+#line 799 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 28:
-#line 270 "dhcp6_parser.yy" // lalr1.cc:859
+#line 270 "dhcp6_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.LOGGING; }
-#line 758 "dhcp6_parser.cc" // lalr1.cc:859
+#line 805 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 30:
-#line 271 "dhcp6_parser.yy" // lalr1.cc:859
+#line 271 "dhcp6_parser.yy" // lalr1.cc:907
     { ctx.ctx_ = ctx.CONFIG_CONTROL; }
-#line 764 "dhcp6_parser.cc" // lalr1.cc:859
+#line 811 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 32:
-#line 279 "dhcp6_parser.yy" // lalr1.cc:859
+#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 770 "dhcp6_parser.cc" // lalr1.cc:859
+#line 817 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 33:
-#line 280 "dhcp6_parser.yy" // lalr1.cc:859
+#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 776 "dhcp6_parser.cc" // lalr1.cc:859
+#line 823 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 34:
-#line 281 "dhcp6_parser.yy" // lalr1.cc:859
+#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 782 "dhcp6_parser.cc" // lalr1.cc:859
+#line 829 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 35:
-#line 282 "dhcp6_parser.yy" // lalr1.cc:859
+#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 788 "dhcp6_parser.cc" // lalr1.cc:859
+#line 835 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 36:
-#line 283 "dhcp6_parser.yy" // lalr1.cc:859
+#line 283 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new NullElement(ctx.loc2pos(yystack_[0].location))); }
-#line 794 "dhcp6_parser.cc" // lalr1.cc:859
+#line 841 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 37:
-#line 284 "dhcp6_parser.yy" // lalr1.cc:859
+#line 284 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 800 "dhcp6_parser.cc" // lalr1.cc:859
+#line 847 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 38:
-#line 285 "dhcp6_parser.yy" // lalr1.cc:859
+#line 285 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 806 "dhcp6_parser.cc" // lalr1.cc:859
+#line 853 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 39:
-#line 288 "dhcp6_parser.yy" // lalr1.cc:859
+#line 288 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // Push back the JSON value on the stack
     ctx.stack_.push_back(yystack_[0].value.as< ElementPtr > ());
 }
-#line 815 "dhcp6_parser.cc" // lalr1.cc:859
+#line 862 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 40:
-#line 293 "dhcp6_parser.yy" // lalr1.cc:859
+#line 293 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // 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 826 "dhcp6_parser.cc" // lalr1.cc:859
+#line 873 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 41:
-#line 298 "dhcp6_parser.yy" // lalr1.cc:859
+#line 298 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // 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 836 "dhcp6_parser.cc" // lalr1.cc:859
+#line 883 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 42:
-#line 304 "dhcp6_parser.yy" // lalr1.cc:859
+#line 304 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ctx.stack_.back(); ctx.stack_.pop_back(); }
-#line 842 "dhcp6_parser.cc" // lalr1.cc:859
+#line 889 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 45:
-#line 311 "dhcp6_parser.yy" // lalr1.cc:859
+#line 311 "dhcp6_parser.yy" // lalr1.cc:907
     {
                   // map containing a single entry
                   ctx.stack_.back()->set(yystack_[2].value.as< std::string > (), yystack_[0].value.as< ElementPtr > ());
                   }
-#line 851 "dhcp6_parser.cc" // lalr1.cc:859
+#line 898 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 46:
-#line 315 "dhcp6_parser.yy" // lalr1.cc:859
+#line 315 "dhcp6_parser.yy" // lalr1.cc:907
     {
                   // 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 > ());
                   }
-#line 861 "dhcp6_parser.cc" // lalr1.cc:859
+#line 908 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 47:
-#line 322 "dhcp6_parser.yy" // lalr1.cc:859
+#line 322 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr l(new ListElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(l);
 }
-#line 870 "dhcp6_parser.cc" // lalr1.cc:859
+#line 917 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 48:
-#line 325 "dhcp6_parser.yy" // lalr1.cc:859
+#line 325 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // list parsing complete. Put any sanity checking here
 }
-#line 878 "dhcp6_parser.cc" // lalr1.cc:859
+#line 925 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 51:
-#line 333 "dhcp6_parser.yy" // lalr1.cc:859
+#line 333 "dhcp6_parser.yy" // lalr1.cc:907
     {
                   // List consisting of a single element.
                   ctx.stack_.back()->add(yystack_[0].value.as< ElementPtr > ());
                   }
-#line 887 "dhcp6_parser.cc" // lalr1.cc:859
+#line 934 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 52:
-#line 337 "dhcp6_parser.yy" // lalr1.cc:859
+#line 337 "dhcp6_parser.yy" // lalr1.cc:907
     {
                   // List ending with , and a value.
                   ctx.stack_.back()->add(yystack_[0].value.as< ElementPtr > ());
                   }
-#line 896 "dhcp6_parser.cc" // lalr1.cc:859
+#line 943 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 53:
-#line 344 "dhcp6_parser.yy" // lalr1.cc:859
+#line 344 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // List parsing about to start
 }
-#line 904 "dhcp6_parser.cc" // lalr1.cc:859
+#line 951 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 54:
-#line 346 "dhcp6_parser.yy" // lalr1.cc:859
+#line 346 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // list parsing complete. Put any sanity checking here
     //ctx.stack_.pop_back();
 }
-#line 913 "dhcp6_parser.cc" // lalr1.cc:859
+#line 960 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 57:
-#line 355 "dhcp6_parser.yy" // lalr1.cc:859
+#line 355 "dhcp6_parser.yy" // lalr1.cc:907
     {
                           ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
                           ctx.stack_.back()->add(s);
                           }
-#line 922 "dhcp6_parser.cc" // lalr1.cc:859
+#line 969 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 58:
-#line 359 "dhcp6_parser.yy" // lalr1.cc:859
+#line 359 "dhcp6_parser.yy" // lalr1.cc:907
     {
                           ElementPtr s(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
                           ctx.stack_.back()->add(s);
                           }
-#line 931 "dhcp6_parser.cc" // lalr1.cc:859
+#line 978 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 59:
-#line 370 "dhcp6_parser.yy" // lalr1.cc:859
+#line 370 "dhcp6_parser.yy" // lalr1.cc:907
     {
     const std::string& where = ctx.contextName();
     const std::string& keyword = yystack_[1].value.as< std::string > ();
     error(yystack_[1].location,
           "got unexpected keyword \"" + keyword + "\" in " + where + " map.");
 }
-#line 942 "dhcp6_parser.cc" // lalr1.cc:859
+#line 989 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 60:
-#line 380 "dhcp6_parser.yy" // lalr1.cc:859
+#line 380 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // This code is executed when we're about to start parsing
     // the content of the map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 953 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1000 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 61:
-#line 385 "dhcp6_parser.yy" // lalr1.cc:859
+#line 385 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // map parsing completed. If we ever want to do any wrap up
     // (maybe some sanity checking), this would be the best place
@@ -962,11 +1009,11 @@ namespace isc { namespace dhcp {
     // Dhcp6 is required
     ctx.require("Dhcp6", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
 }
-#line 966 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1013 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 70:
-#line 408 "dhcp6_parser.yy" // lalr1.cc:859
+#line 408 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // This code is executed when we're about to start parsing
     // the content of the map
@@ -975,523 +1022,523 @@ namespace isc { namespace dhcp {
     ctx.stack_.push_back(m);
     ctx.enter(ctx.DHCP6);
 }
-#line 979 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1026 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 71:
-#line 415 "dhcp6_parser.yy" // lalr1.cc:859
+#line 415 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // No global parameter is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 989 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1036 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 72:
-#line 423 "dhcp6_parser.yy" // lalr1.cc:859
+#line 423 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // Parse the Dhcp6 map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 999 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1046 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 73:
-#line 427 "dhcp6_parser.yy" // lalr1.cc:859
+#line 427 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // No global parameter is required
     // parsing completed
 }
-#line 1008 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1055 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 108:
-#line 472 "dhcp6_parser.yy" // lalr1.cc:859
+#line 472 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("preferred-lifetime", prf);
 }
-#line 1017 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1064 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 109:
-#line 477 "dhcp6_parser.yy" // lalr1.cc:859
+#line 477 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("valid-lifetime", prf);
 }
-#line 1026 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1073 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 110:
-#line 482 "dhcp6_parser.yy" // lalr1.cc:859
+#line 482 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("renew-timer", prf);
 }
-#line 1035 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1082 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 111:
-#line 487 "dhcp6_parser.yy" // lalr1.cc:859
+#line 487 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("rebind-timer", prf);
 }
-#line 1044 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1091 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 112:
-#line 492 "dhcp6_parser.yy" // lalr1.cc:859
+#line 492 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr dpp(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("decline-probation-period", dpp);
 }
-#line 1053 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1100 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 113:
-#line 497 "dhcp6_parser.yy" // lalr1.cc:859
+#line 497 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1061 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1108 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 114:
-#line 499 "dhcp6_parser.yy" // lalr1.cc:859
+#line 499 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1071 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1118 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 115:
-#line 505 "dhcp6_parser.yy" // lalr1.cc:859
+#line 505 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1082 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1129 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 116:
-#line 510 "dhcp6_parser.yy" // lalr1.cc:859
+#line 510 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // No interfaces config param is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1092 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1139 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 117:
-#line 516 "dhcp6_parser.yy" // lalr1.cc:859
+#line 516 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // Parse the interfaces-config map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1102 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1149 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 118:
-#line 520 "dhcp6_parser.yy" // lalr1.cc:859
+#line 520 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // No interfaces config param is required
     // parsing completed
 }
-#line 1111 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1158 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 126:
-#line 536 "dhcp6_parser.yy" // lalr1.cc:859
+#line 536 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1122 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1169 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 127:
-#line 541 "dhcp6_parser.yy" // lalr1.cc:859
+#line 541 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1131 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1178 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 128:
-#line 546 "dhcp6_parser.yy" // lalr1.cc:859
+#line 546 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("re-detect", b);
 }
-#line 1140 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1187 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 129:
-#line 552 "dhcp6_parser.yy" // lalr1.cc:859
+#line 552 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1151 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1198 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 130:
-#line 557 "dhcp6_parser.yy" // lalr1.cc:859
+#line 557 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // 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 1162 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1209 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 131:
-#line 564 "dhcp6_parser.yy" // lalr1.cc:859
+#line 564 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1173 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1220 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 132:
-#line 569 "dhcp6_parser.yy" // lalr1.cc:859
+#line 569 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // 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 1184 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1231 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 133:
-#line 576 "dhcp6_parser.yy" // lalr1.cc:859
+#line 576 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1195 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1242 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 134:
-#line 581 "dhcp6_parser.yy" // lalr1.cc:859
+#line 581 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1204 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1251 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 139:
-#line 594 "dhcp6_parser.yy" // lalr1.cc:859
+#line 594 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1214 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1261 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 140:
-#line 598 "dhcp6_parser.yy" // lalr1.cc:859
+#line 598 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // The type parameter is required
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 1224 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1271 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 161:
-#line 628 "dhcp6_parser.yy" // lalr1.cc:859
+#line 628 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.DATABASE_TYPE);
 }
-#line 1232 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1279 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 162:
-#line 630 "dhcp6_parser.yy" // lalr1.cc:859
+#line 630 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("type", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 1241 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1288 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 163:
-#line 635 "dhcp6_parser.yy" // lalr1.cc:859
+#line 635 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("memfile", ctx.loc2pos(yystack_[0].location))); }
-#line 1247 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1294 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 164:
-#line 636 "dhcp6_parser.yy" // lalr1.cc:859
+#line 636 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("mysql", ctx.loc2pos(yystack_[0].location))); }
-#line 1253 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1300 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 165:
-#line 637 "dhcp6_parser.yy" // lalr1.cc:859
+#line 637 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("postgresql", ctx.loc2pos(yystack_[0].location))); }
-#line 1259 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1306 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 166:
-#line 638 "dhcp6_parser.yy" // lalr1.cc:859
+#line 638 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("cql", ctx.loc2pos(yystack_[0].location))); }
-#line 1265 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1312 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 167:
-#line 641 "dhcp6_parser.yy" // lalr1.cc:859
+#line 641 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1273 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1320 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 168:
-#line 643 "dhcp6_parser.yy" // lalr1.cc:859
+#line 643 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr user(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("user", user);
     ctx.leave();
 }
-#line 1283 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1330 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 169:
-#line 649 "dhcp6_parser.yy" // lalr1.cc:859
+#line 649 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1291 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1338 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 170:
-#line 651 "dhcp6_parser.yy" // lalr1.cc:859
+#line 651 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr pwd(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("password", pwd);
     ctx.leave();
 }
-#line 1301 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1348 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 171:
-#line 657 "dhcp6_parser.yy" // lalr1.cc:859
+#line 657 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1309 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1356 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 172:
-#line 659 "dhcp6_parser.yy" // lalr1.cc:859
+#line 659 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr h(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("host", h);
     ctx.leave();
 }
-#line 1319 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1366 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 173:
-#line 665 "dhcp6_parser.yy" // lalr1.cc:859
+#line 665 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr p(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("port", p);
 }
-#line 1328 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1375 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 174:
-#line 670 "dhcp6_parser.yy" // lalr1.cc:859
+#line 670 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1336 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1383 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 175:
-#line 672 "dhcp6_parser.yy" // lalr1.cc:859
+#line 672 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr name(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("name", name);
     ctx.leave();
 }
-#line 1346 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1393 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 176:
-#line 678 "dhcp6_parser.yy" // lalr1.cc:859
+#line 678 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("persist", n);
 }
-#line 1355 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1402 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 177:
-#line 683 "dhcp6_parser.yy" // lalr1.cc:859
+#line 683 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("lfc-interval", n);
 }
-#line 1364 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1411 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 178:
-#line 688 "dhcp6_parser.yy" // lalr1.cc:859
+#line 688 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("readonly", n);
 }
-#line 1373 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1420 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 179:
-#line 693 "dhcp6_parser.yy" // lalr1.cc:859
+#line 693 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("connect-timeout", n);
 }
-#line 1382 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1429 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 180:
-#line 698 "dhcp6_parser.yy" // lalr1.cc:859
+#line 698 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("reconnect-wait-time", n);
 }
-#line 1391 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1438 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 181:
-#line 703 "dhcp6_parser.yy" // lalr1.cc:859
+#line 703 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("request-timeout", n);
 }
-#line 1400 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1447 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 182:
-#line 708 "dhcp6_parser.yy" // lalr1.cc:859
+#line 708 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("tcp-keepalive", n);
 }
-#line 1409 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1456 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 183:
-#line 713 "dhcp6_parser.yy" // lalr1.cc:859
+#line 713 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("tcp-nodelay", n);
 }
-#line 1418 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1465 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 184:
-#line 718 "dhcp6_parser.yy" // lalr1.cc:859
+#line 718 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1426 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1473 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 185:
-#line 720 "dhcp6_parser.yy" // lalr1.cc:859
+#line 720 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1436 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1483 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 186:
-#line 726 "dhcp6_parser.yy" // lalr1.cc:859
+#line 726 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr n(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-reconnect-tries", n);
 }
-#line 1445 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1492 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 187:
-#line 731 "dhcp6_parser.yy" // lalr1.cc:859
+#line 731 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1453 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1500 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 188:
-#line 733 "dhcp6_parser.yy" // lalr1.cc:859
+#line 733 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr ks(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("keyspace", ks);
     ctx.leave();
 }
-#line 1463 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1510 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 189:
-#line 739 "dhcp6_parser.yy" // lalr1.cc:859
+#line 739 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1474 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1521 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 190:
-#line 744 "dhcp6_parser.yy" // lalr1.cc:859
+#line 744 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1483 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1530 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 194:
-#line 754 "dhcp6_parser.yy" // lalr1.cc:859
+#line 754 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1491 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1538 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 195:
-#line 756 "dhcp6_parser.yy" // lalr1.cc:859
+#line 756 "dhcp6_parser.yy" // lalr1.cc:907
     {
 
     if ( (string(yystack_[0].value.as< std::string > ()) == "none") ||
@@ -1507,307 +1554,307 @@ namespace isc { namespace dhcp {
               ", supported values are: none, warn, fix, fix-del, del");
     }
 }
-#line 1511 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1558 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 196:
-#line 772 "dhcp6_parser.yy" // lalr1.cc:859
+#line 772 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1522 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1569 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 197:
-#line 777 "dhcp6_parser.yy" // lalr1.cc:859
+#line 777 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1531 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1578 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 202:
-#line 790 "dhcp6_parser.yy" // lalr1.cc:859
+#line 790 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr duid(new StringElement("duid", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(duid);
 }
-#line 1540 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1587 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 203:
-#line 795 "dhcp6_parser.yy" // lalr1.cc:859
+#line 795 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr duid(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(duid);
 }
-#line 1549 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1596 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 204:
-#line 800 "dhcp6_parser.yy" // lalr1.cc:859
+#line 800 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1560 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1607 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 205:
-#line 805 "dhcp6_parser.yy" // lalr1.cc:859
+#line 805 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1569 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1616 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 211:
-#line 819 "dhcp6_parser.yy" // lalr1.cc:859
+#line 819 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr hwaddr(new StringElement("hw-address", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(hwaddr);
 }
-#line 1578 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1625 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 212:
-#line 824 "dhcp6_parser.yy" // lalr1.cc:859
+#line 824 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr flex_id(new StringElement("flex-id", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(flex_id);
 }
-#line 1587 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1634 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 213:
-#line 831 "dhcp6_parser.yy" // lalr1.cc:859
+#line 831 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1598 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1645 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 214:
-#line 836 "dhcp6_parser.yy" // lalr1.cc:859
+#line 836 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1607 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1654 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 215:
-#line 841 "dhcp6_parser.yy" // lalr1.cc:859
+#line 841 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1618 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1665 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 216:
-#line 846 "dhcp6_parser.yy" // lalr1.cc:859
+#line 846 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1627 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1674 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 221:
-#line 859 "dhcp6_parser.yy" // lalr1.cc:859
+#line 859 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1637 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1684 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 222:
-#line 863 "dhcp6_parser.yy" // lalr1.cc:859
+#line 863 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // The library hooks parameter is required
     ctx.require("library", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 1647 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1694 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 223:
-#line 869 "dhcp6_parser.yy" // lalr1.cc:859
+#line 869 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // Parse the hooks-libraries list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1657 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1704 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 224:
-#line 873 "dhcp6_parser.yy" // lalr1.cc:859
+#line 873 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // The library hooks parameter is required
     ctx.require("library", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 1667 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1714 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 230:
-#line 888 "dhcp6_parser.yy" // lalr1.cc:859
+#line 888 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1675 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1722 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 231:
-#line 890 "dhcp6_parser.yy" // lalr1.cc:859
+#line 890 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr lib(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("library", lib);
     ctx.leave();
 }
-#line 1685 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1732 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 232:
-#line 896 "dhcp6_parser.yy" // lalr1.cc:859
+#line 896 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1693 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1740 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 233:
-#line 898 "dhcp6_parser.yy" // lalr1.cc:859
+#line 898 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("parameters", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 1702 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1749 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 234:
-#line 904 "dhcp6_parser.yy" // lalr1.cc:859
+#line 904 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1713 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1760 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 235:
-#line 909 "dhcp6_parser.yy" // lalr1.cc:859
+#line 909 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // No expired lease parameter is required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1723 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1770 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 244:
-#line 927 "dhcp6_parser.yy" // lalr1.cc:859
+#line 927 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1732 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1779 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 245:
-#line 932 "dhcp6_parser.yy" // lalr1.cc:859
+#line 932 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1741 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1788 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 246:
-#line 937 "dhcp6_parser.yy" // lalr1.cc:859
+#line 937 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr value(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hold-reclaimed-time", value);
 }
-#line 1750 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1797 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 247:
-#line 942 "dhcp6_parser.yy" // lalr1.cc:859
+#line 942 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr value(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-reclaim-leases", value);
 }
-#line 1759 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1806 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 248:
-#line 947 "dhcp6_parser.yy" // lalr1.cc:859
+#line 947 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr value(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-reclaim-time", value);
 }
-#line 1768 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1815 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 249:
-#line 952 "dhcp6_parser.yy" // lalr1.cc:859
+#line 952 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr value(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("unwarned-reclaim-cycles", value);
 }
-#line 1777 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1824 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 250:
-#line 960 "dhcp6_parser.yy" // lalr1.cc:859
+#line 960 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1788 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1835 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 251:
-#line 965 "dhcp6_parser.yy" // lalr1.cc:859
+#line 965 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1797 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1844 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 256:
-#line 985 "dhcp6_parser.yy" // lalr1.cc:859
+#line 985 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 1807 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1854 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 257:
-#line 989 "dhcp6_parser.yy" // lalr1.cc:859
+#line 989 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // Once we reached this place, the subnet parsing is now complete.
     // If we want to, we can implement default values here.
@@ -1829,267 +1876,267 @@ namespace isc { namespace dhcp {
     ctx.require("subnet", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 1833 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1880 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 258:
-#line 1011 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1011 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // Parse the subnet6 list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 1843 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1890 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 259:
-#line 1015 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1015 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // The subnet subnet6 parameter is required
     ctx.require("subnet", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 1853 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1900 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 282:
-#line 1049 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1049 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1861 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1908 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 283:
-#line 1051 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1051 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr subnet(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("subnet", subnet);
     ctx.leave();
 }
-#line 1871 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1918 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 284:
-#line 1057 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1057 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1879 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1926 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 285:
-#line 1059 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1059 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr iface(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("interface", iface);
     ctx.leave();
 }
-#line 1889 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1936 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 286:
-#line 1065 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1065 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1897 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1944 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 287:
-#line 1067 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1067 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1907 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1954 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 288:
-#line 1073 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1073 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 1915 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1962 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 289:
-#line 1075 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1075 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1925 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1972 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 290:
-#line 1081 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1081 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 1936 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1983 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 291:
-#line 1086 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1086 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 1945 "dhcp6_parser.cc" // lalr1.cc:859
+#line 1992 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 292:
-#line 1091 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1091 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.RESERVATION_MODE);
 }
-#line 1953 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2000 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 293:
-#line 1093 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1093 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("reservation-mode", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 1962 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2009 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 294:
-#line 1098 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1098 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("disabled", ctx.loc2pos(yystack_[0].location))); }
-#line 1968 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2015 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 295:
-#line 1099 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1099 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("out-of-pool", ctx.loc2pos(yystack_[0].location))); }
-#line 1974 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2021 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 296:
-#line 1100 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1100 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("global", ctx.loc2pos(yystack_[0].location))); }
-#line 1980 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2027 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 297:
-#line 1101 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1101 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("all", ctx.loc2pos(yystack_[0].location))); }
-#line 1986 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2033 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 298:
-#line 1104 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1104 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr id(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("id", id);
 }
-#line 1995 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2042 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 299:
-#line 1109 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1109 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr rc(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("rapid-commit", rc);
 }
-#line 2004 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2051 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 300:
-#line 1117 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1117 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2015 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2062 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 301:
-#line 1122 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1122 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2024 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2071 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 306:
-#line 1137 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1137 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2034 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2081 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 307:
-#line 1141 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1141 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
 }
-#line 2042 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2089 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 327:
-#line 1172 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1172 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2053 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2100 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 328:
-#line 1177 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1177 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2062 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2109 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 329:
-#line 1185 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1185 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2071 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2118 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 330:
-#line 1188 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1188 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // parsing completed
 }
-#line 2079 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2126 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 335:
-#line 1204 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1204 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2089 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2136 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 336:
-#line 1208 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1208 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // The name, code and type option def parameters are required.
     ctx.require("name", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
@@ -2097,21 +2144,21 @@ namespace isc { namespace dhcp {
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2101 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2148 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 337:
-#line 1219 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1219 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // Parse the option-def list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2111 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2158 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 338:
-#line 1223 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1223 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // The name, code and type option def parameters are required.
     ctx.require("name", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
@@ -2119,280 +2166,280 @@ namespace isc { namespace dhcp {
     ctx.require("type", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 2123 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2170 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 354:
-#line 1255 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1255 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr code(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("code", code);
 }
-#line 2132 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2179 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 356:
-#line 1262 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1262 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2140 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2187 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 357:
-#line 1264 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1264 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr prf(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("type", prf);
     ctx.leave();
 }
-#line 2150 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2197 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 358:
-#line 1270 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1270 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2158 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2205 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 359:
-#line 1272 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1272 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2168 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2215 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 360:
-#line 1278 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1278 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2176 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2223 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 361:
-#line 1280 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1280 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr space(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("space", space);
     ctx.leave();
 }
-#line 2186 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2233 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 363:
-#line 1288 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1288 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2194 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2241 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 364:
-#line 1290 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1290 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr encap(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("encapsulate", encap);
     ctx.leave();
 }
-#line 2204 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2251 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 365:
-#line 1296 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1296 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr array(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("array", array);
 }
-#line 2213 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2260 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 366:
-#line 1305 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1305 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2224 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2271 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 367:
-#line 1310 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1310 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2233 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2280 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 372:
-#line 1329 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1329 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2243 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2290 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 373:
-#line 1333 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1333 "dhcp6_parser.yy" // lalr1.cc:907
     {
     /// @todo: the code or name parameters are required.
     ctx.stack_.pop_back();
 }
-#line 2252 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2299 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 374:
-#line 1341 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1341 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // Parse the option-data list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2262 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2309 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 375:
-#line 1345 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1345 "dhcp6_parser.yy" // lalr1.cc:907
     {
     /// @todo: the code or name parameters are required.
     // parsing completed
 }
-#line 2271 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2318 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 390:
-#line 1378 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1378 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2279 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2326 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 391:
-#line 1380 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1380 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr data(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("data", data);
     ctx.leave();
 }
-#line 2289 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2336 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 394:
-#line 1390 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1390 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr space(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("csv-format", space);
 }
-#line 2298 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2345 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 395:
-#line 1395 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1395 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr persist(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("always-send", persist);
 }
-#line 2307 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2354 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 396:
-#line 1403 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1403 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2318 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2365 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 397:
-#line 1408 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1408 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2327 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2374 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 402:
-#line 1423 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1423 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2337 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2384 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 403:
-#line 1427 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1427 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // The pool parameter is required.
     ctx.require("pool", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2347 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2394 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 404:
-#line 1433 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1433 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // Parse the pool list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2357 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2404 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 405:
-#line 1437 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1437 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // The pool parameter is required.
     ctx.require("pool", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
 }
-#line 2366 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2413 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 415:
-#line 1455 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1455 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2374 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2421 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 416:
-#line 1457 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1457 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr pool(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("pool", pool);
     ctx.leave();
 }
-#line 2384 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2431 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 417:
-#line 1463 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1463 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2392 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2439 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 418:
-#line 1465 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1465 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr parent = ctx.stack_.back();
     ElementPtr user_context = yystack_[0].value.as< ElementPtr > ();
@@ -2415,19 +2462,19 @@ namespace isc { namespace dhcp {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 2419 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2466 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 419:
-#line 1488 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1488 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2427 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2474 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 420:
-#line 1490 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1490 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr parent = ctx.stack_.back();
     ElementPtr user_context(new MapElement(ctx.loc2pos(yystack_[3].location)));
@@ -2452,41 +2499,41 @@ namespace isc { namespace dhcp {
     parent->set("user-context", user_context);
     ctx.leave();
 }
-#line 2456 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2503 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 421:
-#line 1518 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1518 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2467 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2514 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 422:
-#line 1523 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1523 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2476 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2523 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 427:
-#line 1538 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1538 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2486 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2533 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 428:
-#line 1542 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1542 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // The prefix, prefix len and delegated len parameters are required.
     ctx.require("prefix", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
@@ -2494,21 +2541,21 @@ namespace isc { namespace dhcp {
     ctx.require("delegated-len", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     ctx.stack_.pop_back();
 }
-#line 2498 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2545 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 429:
-#line 1550 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1550 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // Parse the pd-pool list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2508 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2555 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 430:
-#line 1554 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1554 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // The prefix, prefix len and delegated len parameters are required.
     ctx.require("prefix", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
@@ -2516,544 +2563,544 @@ namespace isc { namespace dhcp {
     ctx.require("delegated-len", ctx.loc2pos(yystack_[3].location), ctx.loc2pos(yystack_[0].location));
     // parsing completed
 }
-#line 2520 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2567 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 444:
-#line 1579 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1579 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2528 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2575 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 445:
-#line 1581 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1581 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr prf(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("prefix", prf);
     ctx.leave();
 }
-#line 2538 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2585 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 446:
-#line 1587 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1587 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("prefix-len", prf);
 }
-#line 2547 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2594 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 447:
-#line 1592 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1592 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2555 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2602 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 448:
-#line 1594 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1594 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2565 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2612 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 449:
-#line 1600 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1600 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr prf(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("excluded-prefix-len", prf);
 }
-#line 2574 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2621 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 450:
-#line 1605 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1605 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr deleg(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("delegated-len", deleg);
 }
-#line 2583 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2630 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 451:
-#line 1613 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1613 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2594 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2641 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 452:
-#line 1618 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1618 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2603 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2650 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 457:
-#line 1631 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1631 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2613 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2660 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 458:
-#line 1635 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1635 "dhcp6_parser.yy" // lalr1.cc:907
     {
     /// @todo: an identifier parameter is required.
     ctx.stack_.pop_back();
 }
-#line 2622 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2669 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 459:
-#line 1640 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1640 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // Parse the reservations list entry map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 2632 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2679 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 460:
-#line 1644 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1644 "dhcp6_parser.yy" // lalr1.cc:907
     {
     /// @todo: an identifier parameter is required.
     // parsing completed
 }
-#line 2641 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2688 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 476:
-#line 1671 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1671 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2652 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2699 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 477:
-#line 1676 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1676 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2661 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2708 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 478:
-#line 1681 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1681 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2672 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2719 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 479:
-#line 1686 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1686 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2681 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2728 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 480:
-#line 1691 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1691 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2689 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2736 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 481:
-#line 1693 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1693 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr d(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("duid", d);
     ctx.leave();
 }
-#line 2699 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2746 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 482:
-#line 1699 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1699 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2707 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2754 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 483:
-#line 1701 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1701 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2717 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2764 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 484:
-#line 1707 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1707 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2725 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2772 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 485:
-#line 1709 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1709 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr host(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("hostname", host);
     ctx.leave();
 }
-#line 2735 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2782 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 486:
-#line 1715 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1715 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2743 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2790 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 487:
-#line 1717 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1717 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2753 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2800 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 488:
-#line 1723 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1723 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2764 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2811 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 489:
-#line 1728 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1728 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2773 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2820 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 490:
-#line 1736 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1736 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2784 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2831 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 491:
-#line 1741 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1741 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2793 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2840 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 494:
-#line 1750 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1750 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2801 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2848 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 495:
-#line 1752 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1752 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2811 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2858 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 496:
-#line 1761 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1761 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2822 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2869 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 497:
-#line 1766 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1766 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 2831 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2878 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 500:
-#line 1775 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1775 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 2841 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2888 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 501:
-#line 1779 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1779 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // 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 2851 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2898 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 514:
-#line 1804 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1804 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2859 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2906 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 515:
-#line 1806 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1806 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr test(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("test", test);
     ctx.leave();
 }
-#line 2869 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2916 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 516:
-#line 1812 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1812 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("only-if-required", b);
 }
-#line 2878 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2925 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 517:
-#line 1820 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1820 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 2889 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2936 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 518:
-#line 1825 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1825 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // 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 2900 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2947 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 530:
-#line 1847 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1847 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.DUID_TYPE);
 }
-#line 2908 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2955 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 531:
-#line 1849 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1849 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("type", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 2917 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2964 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 532:
-#line 1854 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1854 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("LLT", ctx.loc2pos(yystack_[0].location))); }
-#line 2923 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2970 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 533:
-#line 1855 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1855 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("EN", ctx.loc2pos(yystack_[0].location))); }
-#line 2929 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2976 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 534:
-#line 1856 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1856 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("LL", ctx.loc2pos(yystack_[0].location))); }
-#line 2935 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2982 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 535:
-#line 1859 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1859 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr htype(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("htype", htype);
 }
-#line 2944 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2991 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 536:
-#line 1864 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1864 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 2952 "dhcp6_parser.cc" // lalr1.cc:859
+#line 2999 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 537:
-#line 1866 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1866 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr id(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("identifier", id);
     ctx.leave();
 }
-#line 2962 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3009 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 538:
-#line 1872 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1872 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr time(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("time", time);
 }
-#line 2971 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3018 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 539:
-#line 1877 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1877 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr time(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("enterprise-id", time);
 }
-#line 2980 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3027 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 540:
-#line 1884 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1884 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr time(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("dhcp4o6-port", time);
 }
-#line 2989 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3036 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 541:
-#line 1891 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1891 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 3000 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3047 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 542:
-#line 1896 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1896 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3009 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3056 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 550:
-#line 1912 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1912 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3017 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3064 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 551:
-#line 1914 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1914 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 3027 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3074 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 552:
-#line 1920 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1920 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3035 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3082 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 553:
-#line 1922 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1922 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 3045 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3092 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 554:
-#line 1930 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1930 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3053 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3100 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 555:
-#line 1932 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1932 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr qc = yystack_[0].value.as< ElementPtr > ();
     ctx.stack_.back()->set("dhcp-queue-control", qc);
@@ -3089,651 +3136,653 @@ namespace isc { namespace dhcp {
 
     ctx.leave();
 }
-#line 3093 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3140 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 556:
-#line 1970 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1970 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 3104 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3151 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 557:
-#line 1975 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1975 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // 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 3115 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3162 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 558:
-#line 1982 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1982 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // Parse the dhcp-ddns map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3125 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3172 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 559:
-#line 1986 "dhcp6_parser.yy" // lalr1.cc:859
+#line 1986 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // 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 3135 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3182 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 580:
-#line 2016 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2016 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("enable-updates", b);
 }
-#line 3144 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3191 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 581:
-#line 2021 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2021 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3152 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3199 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 582:
-#line 2023 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2023 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 3162 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3209 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 583:
-#line 2029 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2029 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3170 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3217 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 584:
-#line 2031 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2031 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 3180 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3227 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 585:
-#line 2037 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2037 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr i(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("server-port", i);
 }
-#line 3189 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3236 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 586:
-#line 2042 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2042 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3197 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3244 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 587:
-#line 2044 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2044 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 3207 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3254 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 588:
-#line 2050 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2050 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr i(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("sender-port", i);
 }
-#line 3216 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3263 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 589:
-#line 2055 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2055 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr i(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("max-queue-size", i);
 }
-#line 3225 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3272 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 590:
-#line 2060 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2060 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NCR_PROTOCOL);
 }
-#line 3233 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3280 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 591:
-#line 2062 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2062 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("ncr-protocol", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 3242 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3289 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 592:
-#line 2068 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2068 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("UDP", ctx.loc2pos(yystack_[0].location))); }
-#line 3248 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3295 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 593:
-#line 2069 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2069 "dhcp6_parser.yy" // lalr1.cc:907
     { yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("TCP", ctx.loc2pos(yystack_[0].location))); }
-#line 3254 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3301 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 594:
-#line 2072 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2072 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NCR_FORMAT);
 }
-#line 3262 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3309 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 595:
-#line 2074 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2074 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr json(new StringElement("JSON", ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("ncr-format", json);
     ctx.leave();
 }
-#line 3272 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3319 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 596:
-#line 2080 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2080 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("override-no-update", b);
 }
-#line 3281 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3328 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 597:
-#line 2085 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2085 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr b(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("override-client-update", b);
 }
-#line 3290 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3337 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 598:
-#line 2090 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2090 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.REPLACE_CLIENT_NAME);
 }
-#line 3298 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3345 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 599:
-#line 2092 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2092 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("replace-client-name", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 3307 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3354 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 600:
-#line 2098 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2098 "dhcp6_parser.yy" // lalr1.cc:907
     {
       yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("when-present", ctx.loc2pos(yystack_[0].location)));
       }
-#line 3315 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3362 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 601:
-#line 2101 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2101 "dhcp6_parser.yy" // lalr1.cc:907
     {
       yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("never", ctx.loc2pos(yystack_[0].location)));
       }
-#line 3323 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3370 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 602:
-#line 2104 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2104 "dhcp6_parser.yy" // lalr1.cc:907
     {
       yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("always", ctx.loc2pos(yystack_[0].location)));
       }
-#line 3331 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3378 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 603:
-#line 2107 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2107 "dhcp6_parser.yy" // lalr1.cc:907
     {
       yylhs.value.as< ElementPtr > () = ElementPtr(new StringElement("when-not-present", ctx.loc2pos(yystack_[0].location)));
       }
-#line 3339 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3386 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 604:
-#line 2110 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2110 "dhcp6_parser.yy" // lalr1.cc:907
     {
       error(yystack_[0].location, "boolean values for the replace-client-name are "
                 "no longer supported");
       }
-#line 3348 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3395 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 605:
-#line 2116 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2116 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3356 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3403 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 606:
-#line 2118 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2118 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 3366 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3413 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 607:
-#line 2124 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2124 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3374 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3421 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 608:
-#line 2126 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2126 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 3384 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3431 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 609:
-#line 2132 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2132 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3392 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3439 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 610:
-#line 2134 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2134 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 3402 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3449 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 611:
-#line 2142 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2142 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3410 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3457 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 612:
-#line 2144 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2144 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("Dhcp4", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 3419 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3466 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 613:
-#line 2149 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2149 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3427 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3474 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 614:
-#line 2151 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2151 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("DhcpDdns", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 3436 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3483 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 615:
-#line 2156 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2156 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3444 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3491 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 616:
-#line 2158 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2158 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.back()->set("Control-agent", yystack_[0].value.as< ElementPtr > ());
     ctx.leave();
 }
-#line 3453 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3500 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 617:
-#line 2165 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2165 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 3463 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3510 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 618:
-#line 2169 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2169 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
 }
-#line 3471 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3518 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 619:
-#line 2174 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2174 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 3482 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3529 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 620:
-#line 2179 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2179 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // No config control params are required
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3492 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3539 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 621:
-#line 2185 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2185 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // Parse the config-control map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3502 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3549 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 622:
-#line 2189 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2189 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // No config_control params are required
     // parsing completed
 }
-#line 3511 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3558 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 627:
-#line 2204 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2204 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 3522 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3569 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 628:
-#line 2209 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2209 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3531 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3578 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 629:
-#line 2219 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2219 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 3542 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3589 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 630:
-#line 2224 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2224 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3551 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3598 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 631:
-#line 2229 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2229 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // Parse the Logging map
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.push_back(m);
 }
-#line 3561 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3608 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 632:
-#line 2233 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2233 "dhcp6_parser.yy" // lalr1.cc:907
     {
     // parsing completed
 }
-#line 3569 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3616 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 636:
-#line 2249 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2249 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 3580 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3627 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 637:
-#line 2254 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2254 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3589 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3636 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 640:
-#line 2266 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2266 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr l(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(l);
     ctx.stack_.push_back(l);
 }
-#line 3599 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3646 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 641:
-#line 2270 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2270 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
 }
-#line 3607 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3654 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 651:
-#line 2287 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2287 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr dl(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("debuglevel", dl);
 }
-#line 3616 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3663 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 652:
-#line 2292 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2292 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3624 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3671 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 653:
-#line 2294 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2294 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("severity", sev);
     ctx.leave();
 }
-#line 3634 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3681 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 654:
-#line 2300 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2300 "dhcp6_parser.yy" // lalr1.cc:907
     {
     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 3645 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3692 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 655:
-#line 2305 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2305 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
     ctx.leave();
 }
-#line 3654 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3701 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 658:
-#line 2314 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2314 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr m(new MapElement(ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->add(m);
     ctx.stack_.push_back(m);
 }
-#line 3664 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3711 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 659:
-#line 2318 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2318 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.stack_.pop_back();
 }
-#line 3672 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3719 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 666:
-#line 2332 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2332 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ctx.enter(ctx.NO_KEYWORD);
 }
-#line 3680 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3727 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 667:
-#line 2334 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2334 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr sev(new StringElement(yystack_[0].value.as< std::string > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("output", sev);
     ctx.leave();
 }
-#line 3690 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3737 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 668:
-#line 2340 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2340 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr flush(new BoolElement(yystack_[0].value.as< bool > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("flush", flush);
 }
-#line 3699 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3746 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 669:
-#line 2345 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2345 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr maxsize(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("maxsize", maxsize);
 }
-#line 3708 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3755 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
   case 670:
-#line 2350 "dhcp6_parser.yy" // lalr1.cc:859
+#line 2350 "dhcp6_parser.yy" // lalr1.cc:907
     {
     ElementPtr maxver(new IntElement(yystack_[0].value.as< int64_t > (), ctx.loc2pos(yystack_[0].location)));
     ctx.stack_.back()->set("maxver", maxver);
 }
-#line 3717 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3764 "dhcp6_parser.cc" // lalr1.cc:907
     break;
 
 
-#line 3721 "dhcp6_parser.cc" // lalr1.cc:859
+#line 3768 "dhcp6_parser.cc" // lalr1.cc:907
             default:
               break;
             }
         }
+#if YY_EXCEPTIONS
       catch (const syntax_error& yyexc)
         {
           error (yyexc);
           YYERROR;
         }
+#endif // YY_EXCEPTIONS
       YY_SYMBOL_PRINT ("-> $$ =", yylhs);
       yypop_ (yylen);
       yylen = 0;
       YY_STACK_PRINT ();
 
       // Shift the result of the reduction.
-      yypush_ (YY_NULLPTR, yylhs);
+      yypush_ (YY_NULLPTR, YY_MOVE (yylhs));
     }
     goto yynewstate;
 
@@ -3779,7 +3828,6 @@ namespace isc { namespace dhcp {
        code.  */
     if (false)
       goto yyerrorlab;
-    yyerror_range[1].location = yystack_[yylen - 1].location;
     /* Do not reclaim the symbols of the rule whose action triggered
        this YYERROR.  */
     yypop_ (yylen);
@@ -3822,7 +3870,7 @@ namespace isc { namespace dhcp {
 
       // Shift the error token.
       error_token.state = yyn;
-      yypush_ ("Shifting", error_token);
+      yypush_ ("Shifting", YY_MOVE (error_token));
     }
     goto yynewstate;
 
@@ -3851,12 +3899,12 @@ namespace isc { namespace dhcp {
 
     return yyresult;
   }
+#if YY_EXCEPTIONS
     catch (...)
       {
-        YYCDEBUG << "Exception caught: cleaning lookahead and stack"
-                 << std::endl;
+        YYCDEBUG << "Exception caught: cleaning lookahead and stack\n";
         // Do not try to display the values of the reclaimed symbols,
-        // as their printer might throw an exception.
+        // as their printers might throw an exception.
         if (!yyla.empty ())
           yy_destroy_ (YY_NULLPTR, yyla);
 
@@ -3867,12 +3915,13 @@ namespace isc { namespace dhcp {
           }
         throw;
       }
+#endif // YY_EXCEPTIONS
   }
 
   void
   Dhcp6Parser::error (const syntax_error& yyexc)
   {
-    error (yyexc.location, yyexc.what());
+    error (yyexc.location, yyexc.what ());
   }
 
   // Generate an error message.
@@ -3948,12 +3997,13 @@ namespace isc { namespace dhcp {
         case N:                               \
           yyformat = S;                       \
         break
-        YYCASE_(0, YY_("syntax error"));
-        YYCASE_(1, YY_("syntax error, unexpected %s"));
-        YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
-        YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
-        YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
-        YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
+      default: // Avoid compiler warnings.
+        YYCASE_ (0, YY_("syntax error"));
+        YYCASE_ (1, YY_("syntax error, unexpected %s"));
+        YYCASE_ (2, YY_("syntax error, unexpected %s, expecting %s"));
+        YYCASE_ (3, YY_("syntax error, unexpected %s, expecting %s or %s"));
+        YYCASE_ (4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
+        YYCASE_ (5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
 #undef YYCASE_
       }
 
@@ -3972,11 +4022,11 @@ namespace isc { namespace dhcp {
   }
 
 
-  const short int Dhcp6Parser::yypact_ninf_ = -826;
+  const short Dhcp6Parser::yypact_ninf_ = -826;
 
   const signed char Dhcp6Parser::yytable_ninf_ = -1;
 
-  const short int
+  const short
   Dhcp6Parser::yypact_[] =
   {
      418,  -826,  -826,  -826,  -826,  -826,  -826,  -826,  -826,  -826,
@@ -4091,7 +4141,7 @@ namespace isc { namespace dhcp {
     -826
   };
 
-  const unsigned short int
+  const unsigned short
   Dhcp6Parser::yydefact_[] =
   {
        0,     2,     4,     6,     8,    10,    12,    14,    16,    18,
@@ -4206,7 +4256,7 @@ namespace isc { namespace dhcp {
      667
   };
 
-  const short int
+  const short
   Dhcp6Parser::yypgoto_[] =
   {
     -826,  -826,  -826,  -826,  -826,  -826,  -826,  -826,  -826,  -826,
@@ -4250,7 +4300,7 @@ namespace isc { namespace dhcp {
     -826,  -170,  -826,  -826,  -185,  -826,  -826,  -826,  -826,  -826
   };
 
-  const short int
+  const short
   Dhcp6Parser::yydefgoto_[] =
   {
       -1,    16,    17,    18,    19,    20,    21,    22,    23,    24,
@@ -4294,7 +4344,7 @@ namespace isc { namespace dhcp {
     1063,  1064,  1065,  1072,  1073,  1074,  1079,  1075,  1076,  1077
   };
 
-  const unsigned short int
+  const unsigned short
   Dhcp6Parser::yytable_[] =
   {
      100,   140,   176,   193,   216,   230,   250,   293,   272,   291,
@@ -4402,7 +4452,7 @@ namespace isc { namespace dhcp {
        0,   962,     0,     0,     0,  1005
   };
 
-  const short int
+  const short
   Dhcp6Parser::yycheck_[] =
   {
       74,    75,    76,    77,    78,    79,    80,    83,    82,    83,
@@ -4510,7 +4560,7 @@ namespace isc { namespace dhcp {
       -1,  1032,    -1,    -1,    -1,  1049
   };
 
-  const unsigned short int
+  const unsigned short
   Dhcp6Parser::yystos_[] =
   {
        0,   155,   156,   157,   158,   159,   160,   161,   162,   163,
@@ -4625,7 +4675,7 @@ namespace isc { namespace dhcp {
      170
   };
 
-  const unsigned short int
+  const unsigned short
   Dhcp6Parser::yyr1_[] =
   {
        0,   174,   176,   175,   177,   175,   178,   175,   179,   175,
@@ -4922,7 +4972,7 @@ namespace isc { namespace dhcp {
   };
 
 #if PARSER6_DEBUG
-  const unsigned short int
+  const unsigned short
   Dhcp6Parser::yyrline_[] =
   {
        0,   257,   257,   257,   258,   258,   259,   259,   260,   260,
@@ -5005,18 +5055,18 @@ namespace isc { namespace dhcp {
            i_end = yystack_.end ();
          i != i_end; ++i)
       *yycdebug_ << ' ' << i->state;
-    *yycdebug_ << std::endl;
+    *yycdebug_ << '\n';
   }
 
   // Report on the debug stream that the rule \a yyrule is going to be reduced.
   void
   Dhcp6Parser::yy_reduce_print_ (int yyrule)
   {
-    unsigned int yylno = yyrline_[yyrule];
+    unsigned yylno = yyrline_[yyrule];
     int yynrhs = yyr2_[yyrule];
     // Print the symbols being reduced, and their result.
     *yycdebug_ << "Reducing stack by rule " << yyrule - 1
-               << " (line " << yylno << "):" << std::endl;
+               << " (line " << yylno << "):\n";
     // The symbols being reduced.
     for (int yyi = 0; yyi < yynrhs; yyi++)
       YY_SYMBOL_PRINT ("   $" << yyi + 1 << " =",
@@ -5025,10 +5075,10 @@ namespace isc { namespace dhcp {
 #endif // PARSER6_DEBUG
 
 
-#line 14 "dhcp6_parser.yy" // lalr1.cc:1167
+#line 14 "dhcp6_parser.yy" // lalr1.cc:1218
 } } // isc::dhcp
-#line 5031 "dhcp6_parser.cc" // lalr1.cc:1167
-#line 2355 "dhcp6_parser.yy" // lalr1.cc:1168
+#line 5081 "dhcp6_parser.cc" // lalr1.cc:1218
+#line 2355 "dhcp6_parser.yy" // lalr1.cc:1219
 
 
 void
index 8fd3af5615303a0e58f44ccc539aeb2aa5eddda7..c45bf9c8fea4d39290773e64f6c732f4a8526d72 100644 (file)
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.0.4.
+// A Bison parser, made by GNU Bison 3.2.1.
 
 // Skeleton interface for Bison LALR(1) parsers in C++
 
-// Copyright (C) 2002-2015 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
 
 // This program is free software: you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -30,6 +30,7 @@
 // This special exception was added by the Free Software Foundation in
 // version 2.2 of Bison.
 
+
 /**
  ** \file dhcp6_parser.h
  ** Define the isc::dhcp::parser class.
 
 // C++ LALR(1) parser skeleton written by Akim Demaille.
 
+// Undocumented macros, especially those whose name start with YY_,
+// are private implementation details.  Do not rely on them.
+
 #ifndef YY_PARSER6_DHCP6_PARSER_H_INCLUDED
 # define YY_PARSER6_DHCP6_PARSER_H_INCLUDED
 // //                    "%code requires" blocks.
-#line 17 "dhcp6_parser.yy" // lalr1.cc:377
+#line 17 "dhcp6_parser.yy" // lalr1.cc:404
 
 #include <string>
 #include <cc/data.h>
@@ -52,7 +56,7 @@ using namespace isc::dhcp;
 using namespace isc::data;
 using namespace std;
 
-#line 56 "dhcp6_parser.h" // lalr1.cc:377
+#line 60 "dhcp6_parser.h" // lalr1.cc:404
 
 # include <cassert>
 # include <cstdlib> // std::abort
@@ -60,7 +64,21 @@ using namespace std;
 # include <stdexcept>
 # include <string>
 # include <vector>
-# include "stack.hh"
+
+// Support move semantics when possible.
+#if defined __cplusplus && 201103L <= __cplusplus
+# define YY_MOVE           std::move
+# define YY_MOVE_OR_COPY   move
+# define YY_MOVE_REF(Type) Type&&
+# define YY_RVREF(Type)    Type&&
+# define YY_COPY(Type)     Type
+#else
+# define YY_MOVE
+# define YY_MOVE_OR_COPY   copy
+# define YY_MOVE_REF(Type) Type&
+# define YY_RVREF(Type)    const Type&
+# define YY_COPY(Type)     const Type&
+#endif
 # include "location.hh"
 #include <typeinfo>
 #ifndef YYASSERT
@@ -87,15 +105,6 @@ using namespace std;
 # define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__))
 #endif
 
-#if !defined _Noreturn \
-     && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112)
-# if defined _MSC_VER && 1200 <= _MSC_VER
-#  define _Noreturn __declspec (noreturn)
-# else
-#  define _Noreturn YY_ATTRIBUTE ((__noreturn__))
-# endif
-#endif
-
 /* Suppress unused-variable warnings by "using" E.  */
 #if ! defined lint || defined __GNUC__
 # define YYUSE(E) ((void) (E))
@@ -103,7 +112,7 @@ using namespace std;
 # define YYUSE(E) /* empty */
 #endif
 
-#if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
+#if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
 /* Suppress an incorrect diagnostic about yylval being uninitialized.  */
 # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
     _Pragma ("GCC diagnostic push") \
@@ -122,6 +131,18 @@ using namespace std;
 # define YY_INITIAL_VALUE(Value) /* Nothing. */
 #endif
 
+# ifndef YY_NULLPTR
+#  if defined __cplusplus
+#   if 201103L <= __cplusplus
+#    define YY_NULLPTR nullptr
+#   else
+#    define YY_NULLPTR 0
+#   endif
+#  else
+#   define YY_NULLPTR ((void*)0)
+#  endif
+# endif
+
 /* Debug traces.  */
 #ifndef PARSER6_DEBUG
 # if defined YYDEBUG
@@ -135,9 +156,128 @@ using namespace std;
 # endif /* ! defined YYDEBUG */
 #endif  /* ! defined PARSER6_DEBUG */
 
-#line 14 "dhcp6_parser.yy" // lalr1.cc:377
+#line 14 "dhcp6_parser.yy" // lalr1.cc:404
 namespace isc { namespace dhcp {
-#line 141 "dhcp6_parser.h" // lalr1.cc:377
+#line 162 "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));
+    }
+
+    /// 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
+  {
+  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_;
+  };
 
 
 
@@ -154,16 +294,17 @@ namespace isc { namespace dhcp {
 
     /// Empty construction.
     variant ()
-      : yytypeid_ (YY_NULLPTR)
+      : yybuffer_ ()
+      , yytypeid_ (YY_NULLPTR)
     {}
 
     /// Construct and fill.
     template <typename T>
-    variant (const T& t)
+    variant (YY_RVREF (T) t)
       : yytypeid_ (&typeid (T))
     {
       YYASSERT (sizeof (T) <= S);
-      new (yyas_<T> ()) T (t);
+      new (yyas_<T> ()) T (YY_MOVE (t));
     }
 
     /// Destruction, allowed only if empty.
@@ -175,30 +316,62 @@ namespace isc { namespace dhcp {
     /// Instantiate an empty \a T in here.
     template <typename T>
     T&
-    build ()
+    emplace ()
     {
       YYASSERT (!yytypeid_);
       YYASSERT (sizeof (T) <= S);
       yytypeid_ = & typeid (T);
-      return *new (yyas_<T> ()) T;
+      return *new (yyas_<T> ()) T ();
     }
 
+# if defined __cplusplus && 201103L <= __cplusplus
+    /// Instantiate a \a T in here from \a t.
+    template <typename T, typename U>
+    T&
+    emplace (U&& u)
+    {
+      YYASSERT (!yytypeid_);
+      YYASSERT (sizeof (T) <= S);
+      yytypeid_ = & typeid (T);
+      return *new (yyas_<T> ()) T (std::forward <U>(u));
+    }
+# else
     /// Instantiate a \a T in here from \a t.
     template <typename T>
     T&
-    build (const T& t)
+    emplace (const T& t)
     {
       YYASSERT (!yytypeid_);
       YYASSERT (sizeof (T) <= S);
       yytypeid_ = & typeid (T);
       return *new (yyas_<T> ()) T (t);
     }
+# endif
+
+    /// Instantiate an empty \a T in here.
+    /// Obsolete, use emplace.
+    template <typename T>
+    T&
+    build ()
+    {
+      return emplace<T> ();
+    }
+
+    /// Instantiate a \a T in here from \a t.
+    /// Obsolete, use emplace.
+    template <typename T>
+    T&
+    build (const T& t)
+    {
+      return emplace<T> (t);
+    }
 
     /// Accessor to a built \a T.
     template <typename T>
     T&
     as ()
     {
+      YYASSERT (yytypeid_);
       YYASSERT (*yytypeid_ == typeid (T));
       YYASSERT (sizeof (T) <= S);
       return *yyas_<T> ();
@@ -209,6 +382,7 @@ namespace isc { namespace dhcp {
     const T&
     as () const
     {
+      YYASSERT (yytypeid_);
       YYASSERT (*yytypeid_ == typeid (T));
       YYASSERT (sizeof (T) <= S);
       return *yyas_<T> ();
@@ -219,7 +393,7 @@ namespace isc { namespace dhcp {
     /// Both variants must be built beforehand, because swapping the actual
     /// data requires reading it (with as()), and this is not possible on
     /// unconstructed variants: it would require some dynamic testing, which
-    /// should not be the variant's responsability.
+    /// should not be the variant's responsibility.
     /// Swapping between built and (possibly) non-built is done with
     /// variant::move ().
     template <typename T>
@@ -238,17 +412,32 @@ namespace isc { namespace dhcp {
     void
     move (self_type& other)
     {
-      build<T> ();
+# if defined __cplusplus && 201103L <= __cplusplus
+      emplace<T> (std::move (other.as<T> ()));
+# else
+      emplace<T> ();
       swap<T> (other);
+# endif
+      other.destroy<T> ();
+    }
+
+# if defined __cplusplus && 201103L <= __cplusplus
+    /// Move the content of \a other to this.
+    template <typename T>
+    void
+    move (self_type&& other)
+    {
+      emplace<T> (std::move (other.as<T> ()));
       other.destroy<T> ();
     }
+#endif
 
     /// Copy the content of \a other to this.
     template <typename T>
     void
     copy (const self_type& other)
     {
-      build<T> (other.as<T> ());
+      emplace<T> (other.as<T> ());
     }
 
     /// Destroy the stored \a T.
@@ -262,7 +451,7 @@ namespace isc { namespace dhcp {
 
   private:
     /// Prohibit blind copies.
-    self_type& operator=(const self_type&);
+    self_type& operator= (const self_type&);
     variant (const self_type&);
 
     /// Accessor to raw memory as \a T.
@@ -311,23 +500,23 @@ namespace isc { namespace dhcp {
       // duid_type
       // ncr_protocol_value
       // replace_client_name_value
-      char dummy1[sizeof(ElementPtr)];
+      char dummy1[sizeof (ElementPtr)];
 
       // "boolean"
-      char dummy2[sizeof(bool)];
+      char dummy2[sizeof (bool)];
 
       // "floating point"
-      char dummy3[sizeof(double)];
+      char dummy3[sizeof (double)];
 
       // "integer"
-      char dummy4[sizeof(int64_t)];
+      char dummy4[sizeof (int64_t)];
 
       // "constant string"
-      char dummy5[sizeof(std::string)];
+      char dummy5[sizeof (std::string)];
 };
 
     /// Symbol semantic values.
-    typedef variant<sizeof(union_type)> semantic_type;
+    typedef variant<sizeof (union_type)> semantic_type;
 #else
     typedef PARSER6_STYPE semantic_type;
 #endif
@@ -536,7 +725,7 @@ namespace isc { namespace dhcp {
     /// A complete symbol.
     ///
     /// Expects its Base type to provide access to the symbol type
-    /// via type_get().
+    /// via type_get ().
     ///
     /// Provide access to semantic value and location.
     template <typename Base>
@@ -548,28 +737,18 @@ namespace isc { namespace dhcp {
       /// Default constructor.
       basic_symbol ();
 
-      /// Copy constructor.
-      basic_symbol (const basic_symbol& other);
-
-      /// Constructor for valueless symbols, and symbols from each type.
-
-  basic_symbol (typename Base::kind_type t, const location_type& l);
-
-  basic_symbol (typename Base::kind_type t, const ElementPtr v, const location_type& l);
+      /// Move or copy constructor.
+      basic_symbol (YY_RVREF (basic_symbol) other);
 
-  basic_symbol (typename Base::kind_type t, const bool v, const location_type& l);
-
-  basic_symbol (typename Base::kind_type t, const double v, const location_type& l);
-
-  basic_symbol (typename Base::kind_type t, const int64_t v, const location_type& l);
-
-  basic_symbol (typename Base::kind_type t, const std::string v, const location_type& l);
 
+      /// Constructor for valueless symbols, and symbols from each type.
+      basic_symbol (typename Base::kind_type t, YY_RVREF (location_type) l);
+      basic_symbol (typename Base::kind_type t, YY_RVREF (ElementPtr) v, YY_RVREF (location_type) l);
+      basic_symbol (typename Base::kind_type t, YY_RVREF (bool) v, YY_RVREF (location_type) l);
+      basic_symbol (typename Base::kind_type t, YY_RVREF (double) v, YY_RVREF (location_type) l);
+      basic_symbol (typename Base::kind_type t, YY_RVREF (int64_t) v, YY_RVREF (location_type) l);
+      basic_symbol (typename Base::kind_type t, YY_RVREF (std::string) v, YY_RVREF (location_type) l);
 
-      /// Constructor for symbols with semantic value.
-      basic_symbol (typename Base::kind_type t,
-                    const semantic_type& v,
-                    const location_type& l);
 
       /// Destroy the symbol.
       ~basic_symbol ();
@@ -590,8 +769,10 @@ namespace isc { namespace dhcp {
       location_type location;
 
     private:
+#if !defined __cplusplus || __cplusplus < 201103L
       /// Assignment operator.
       basic_symbol& operator= (const basic_symbol& other);
+#endif
     };
 
     /// Type access provider for token (enum) based symbols.
@@ -631,725 +812,730 @@ namespace isc { namespace dhcp {
     /// "External" symbols: returned by the scanner.
     typedef basic_symbol<by_type> symbol_type;
 
+    /// Build a parser object.
+    Dhcp6Parser (isc::dhcp::Parser6Context& ctx_yyarg);
+    virtual ~Dhcp6Parser ();
+
+    /// Parse.  An alias for parse ().
+    /// \returns  0 iff parsing succeeded.
+    int operator() ();
+
+    /// Parse.
+    /// \returns  0 iff parsing succeeded.
+    virtual int parse ();
+
+#if PARSER6_DEBUG
+    /// The current debugging stream.
+    std::ostream& debug_stream () const YY_ATTRIBUTE_PURE;
+    /// Set the current debugging stream.
+    void set_debug_stream (std::ostream &);
+
+    /// Type for debugging levels.
+    typedef int debug_level_type;
+    /// The current debugging level.
+    debug_level_type debug_level () const YY_ATTRIBUTE_PURE;
+    /// Set the current debugging level.
+    void set_debug_level (debug_level_type l);
+#endif
+
+    /// Report a syntax error.
+    /// \param loc    where the syntax error is found.
+    /// \param msg    a description of the syntax error.
+    virtual void error (const location_type& loc, const std::string& msg);
+
+    /// Report a syntax error.
+    void error (const syntax_error& err);
+
     // Symbol constructors declarations.
-    static inline
+    static
     symbol_type
-    make_END (const location_type& l);
+    make_END (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_COMMA (const location_type& l);
+    make_COMMA (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_COLON (const location_type& l);
+    make_COLON (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LSQUARE_BRACKET (const location_type& l);
+    make_LSQUARE_BRACKET (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RSQUARE_BRACKET (const location_type& l);
+    make_RSQUARE_BRACKET (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LCURLY_BRACKET (const location_type& l);
+    make_LCURLY_BRACKET (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RCURLY_BRACKET (const location_type& l);
+    make_RCURLY_BRACKET (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_NULL_TYPE (const location_type& l);
+    make_NULL_TYPE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DHCP6 (const location_type& l);
+    make_DHCP6 (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CONFIG_CONTROL (const location_type& l);
+    make_CONFIG_CONTROL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CONFIG_DATABASES (const location_type& l);
+    make_CONFIG_DATABASES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_INTERFACES_CONFIG (const location_type& l);
+    make_INTERFACES_CONFIG (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_INTERFACES (const location_type& l);
+    make_INTERFACES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RE_DETECT (const location_type& l);
+    make_RE_DETECT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LEASE_DATABASE (const location_type& l);
+    make_LEASE_DATABASE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOSTS_DATABASE (const location_type& l);
+    make_HOSTS_DATABASE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOSTS_DATABASES (const location_type& l);
+    make_HOSTS_DATABASES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_TYPE (const location_type& l);
+    make_TYPE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MEMFILE (const location_type& l);
+    make_MEMFILE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MYSQL (const location_type& l);
+    make_MYSQL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_POSTGRESQL (const location_type& l);
+    make_POSTGRESQL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CQL (const location_type& l);
+    make_CQL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_USER (const location_type& l);
+    make_USER (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_PASSWORD (const location_type& l);
+    make_PASSWORD (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOST (const location_type& l);
+    make_HOST (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_PORT (const location_type& l);
+    make_PORT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_PERSIST (const location_type& l);
+    make_PERSIST (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LFC_INTERVAL (const location_type& l);
+    make_LFC_INTERVAL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_READONLY (const location_type& l);
+    make_READONLY (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CONNECT_TIMEOUT (const location_type& l);
+    make_CONNECT_TIMEOUT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CONTACT_POINTS (const location_type& l);
+    make_CONTACT_POINTS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MAX_RECONNECT_TRIES (const location_type& l);
+    make_MAX_RECONNECT_TRIES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RECONNECT_WAIT_TIME (const location_type& l);
+    make_RECONNECT_WAIT_TIME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_KEYSPACE (const location_type& l);
+    make_KEYSPACE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_REQUEST_TIMEOUT (const location_type& l);
+    make_REQUEST_TIMEOUT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_TCP_KEEPALIVE (const location_type& l);
+    make_TCP_KEEPALIVE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_TCP_NODELAY (const location_type& l);
+    make_TCP_NODELAY (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_PREFERRED_LIFETIME (const location_type& l);
+    make_PREFERRED_LIFETIME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_VALID_LIFETIME (const location_type& l);
+    make_VALID_LIFETIME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RENEW_TIMER (const location_type& l);
+    make_RENEW_TIMER (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_REBIND_TIMER (const location_type& l);
+    make_REBIND_TIMER (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DECLINE_PROBATION_PERIOD (const location_type& l);
+    make_DECLINE_PROBATION_PERIOD (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SERVER_TAG (const location_type& l);
+    make_SERVER_TAG (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUBNET6 (const location_type& l);
+    make_SUBNET6 (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_OPTION_DEF (const location_type& l);
+    make_OPTION_DEF (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_OPTION_DATA (const location_type& l);
+    make_OPTION_DATA (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_NAME (const location_type& l);
+    make_NAME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DATA (const location_type& l);
+    make_DATA (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CODE (const location_type& l);
+    make_CODE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SPACE (const location_type& l);
+    make_SPACE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CSV_FORMAT (const location_type& l);
+    make_CSV_FORMAT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ALWAYS_SEND (const location_type& l);
+    make_ALWAYS_SEND (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RECORD_TYPES (const location_type& l);
+    make_RECORD_TYPES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ENCAPSULATE (const location_type& l);
+    make_ENCAPSULATE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ARRAY (const location_type& l);
+    make_ARRAY (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_POOLS (const location_type& l);
+    make_POOLS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_POOL (const location_type& l);
+    make_POOL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_PD_POOLS (const location_type& l);
+    make_PD_POOLS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_PREFIX (const location_type& l);
+    make_PREFIX (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_PREFIX_LEN (const location_type& l);
+    make_PREFIX_LEN (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_EXCLUDED_PREFIX (const location_type& l);
+    make_EXCLUDED_PREFIX (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_EXCLUDED_PREFIX_LEN (const location_type& l);
+    make_EXCLUDED_PREFIX_LEN (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DELEGATED_LEN (const location_type& l);
+    make_DELEGATED_LEN (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_USER_CONTEXT (const location_type& l);
+    make_USER_CONTEXT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_COMMENT (const location_type& l);
+    make_COMMENT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUBNET (const location_type& l);
+    make_SUBNET (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_INTERFACE (const location_type& l);
+    make_INTERFACE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_INTERFACE_ID (const location_type& l);
+    make_INTERFACE_ID (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ID (const location_type& l);
+    make_ID (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RAPID_COMMIT (const location_type& l);
+    make_RAPID_COMMIT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RESERVATION_MODE (const location_type& l);
+    make_RESERVATION_MODE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DISABLED (const location_type& l);
+    make_DISABLED (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_OUT_OF_POOL (const location_type& l);
+    make_OUT_OF_POOL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_GLOBAL (const location_type& l);
+    make_GLOBAL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ALL (const location_type& l);
+    make_ALL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SHARED_NETWORKS (const location_type& l);
+    make_SHARED_NETWORKS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MAC_SOURCES (const location_type& l);
+    make_MAC_SOURCES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RELAY_SUPPLIED_OPTIONS (const location_type& l);
+    make_RELAY_SUPPLIED_OPTIONS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOST_RESERVATION_IDENTIFIERS (const location_type& l);
+    make_HOST_RESERVATION_IDENTIFIERS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SANITY_CHECKS (const location_type& l);
+    make_SANITY_CHECKS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LEASE_CHECKS (const location_type& l);
+    make_LEASE_CHECKS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CLIENT_CLASSES (const location_type& l);
+    make_CLIENT_CLASSES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_REQUIRE_CLIENT_CLASSES (const location_type& l);
+    make_REQUIRE_CLIENT_CLASSES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_TEST (const location_type& l);
+    make_TEST (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ONLY_IF_REQUIRED (const location_type& l);
+    make_ONLY_IF_REQUIRED (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CLIENT_CLASS (const location_type& l);
+    make_CLIENT_CLASS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RESERVATIONS (const location_type& l);
+    make_RESERVATIONS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_IP_ADDRESSES (const location_type& l);
+    make_IP_ADDRESSES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_PREFIXES (const location_type& l);
+    make_PREFIXES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DUID (const location_type& l);
+    make_DUID (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HW_ADDRESS (const location_type& l);
+    make_HW_ADDRESS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOSTNAME (const location_type& l);
+    make_HOSTNAME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_FLEX_ID (const location_type& l);
+    make_FLEX_ID (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RELAY (const location_type& l);
+    make_RELAY (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_IP_ADDRESS (const location_type& l);
+    make_IP_ADDRESS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOOKS_LIBRARIES (const location_type& l);
+    make_HOOKS_LIBRARIES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LIBRARY (const location_type& l);
+    make_LIBRARY (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_PARAMETERS (const location_type& l);
+    make_PARAMETERS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_EXPIRED_LEASES_PROCESSING (const location_type& l);
+    make_EXPIRED_LEASES_PROCESSING (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_RECLAIM_TIMER_WAIT_TIME (const location_type& l);
+    make_RECLAIM_TIMER_WAIT_TIME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (const location_type& l);
+    make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOLD_RECLAIMED_TIME (const location_type& l);
+    make_HOLD_RECLAIMED_TIME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MAX_RECLAIM_LEASES (const location_type& l);
+    make_MAX_RECLAIM_LEASES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MAX_RECLAIM_TIME (const location_type& l);
+    make_MAX_RECLAIM_TIME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_UNWARNED_RECLAIM_CYCLES (const location_type& l);
+    make_UNWARNED_RECLAIM_CYCLES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SERVER_ID (const location_type& l);
+    make_SERVER_ID (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LLT (const location_type& l);
+    make_LLT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_EN (const location_type& l);
+    make_EN (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LL (const location_type& l);
+    make_LL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_IDENTIFIER (const location_type& l);
+    make_IDENTIFIER (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HTYPE (const location_type& l);
+    make_HTYPE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_TIME (const location_type& l);
+    make_TIME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ENTERPRISE_ID (const location_type& l);
+    make_ENTERPRISE_ID (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DHCP4O6_PORT (const location_type& l);
+    make_DHCP4O6_PORT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CONTROL_SOCKET (const location_type& l);
+    make_CONTROL_SOCKET (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SOCKET_TYPE (const location_type& l);
+    make_SOCKET_TYPE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SOCKET_NAME (const location_type& l);
+    make_SOCKET_NAME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DHCP_QUEUE_CONTROL (const location_type& l);
+    make_DHCP_QUEUE_CONTROL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DHCP_DDNS (const location_type& l);
+    make_DHCP_DDNS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ENABLE_UPDATES (const location_type& l);
+    make_ENABLE_UPDATES (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_QUALIFYING_SUFFIX (const location_type& l);
+    make_QUALIFYING_SUFFIX (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SERVER_IP (const location_type& l);
+    make_SERVER_IP (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SERVER_PORT (const location_type& l);
+    make_SERVER_PORT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SENDER_IP (const location_type& l);
+    make_SENDER_IP (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SENDER_PORT (const location_type& l);
+    make_SENDER_PORT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MAX_QUEUE_SIZE (const location_type& l);
+    make_MAX_QUEUE_SIZE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_NCR_PROTOCOL (const location_type& l);
+    make_NCR_PROTOCOL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_NCR_FORMAT (const location_type& l);
+    make_NCR_FORMAT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_OVERRIDE_NO_UPDATE (const location_type& l);
+    make_OVERRIDE_NO_UPDATE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_OVERRIDE_CLIENT_UPDATE (const location_type& l);
+    make_OVERRIDE_CLIENT_UPDATE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_REPLACE_CLIENT_NAME (const location_type& l);
+    make_REPLACE_CLIENT_NAME (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_GENERATED_PREFIX (const location_type& l);
+    make_GENERATED_PREFIX (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_UDP (const location_type& l);
+    make_UDP (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_TCP (const location_type& l);
+    make_TCP (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_JSON (const location_type& l);
+    make_JSON (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_WHEN_PRESENT (const location_type& l);
+    make_WHEN_PRESENT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_NEVER (const location_type& l);
+    make_NEVER (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_ALWAYS (const location_type& l);
+    make_ALWAYS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_WHEN_NOT_PRESENT (const location_type& l);
+    make_WHEN_NOT_PRESENT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOSTNAME_CHAR_SET (const location_type& l);
+    make_HOSTNAME_CHAR_SET (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_HOSTNAME_CHAR_REPLACEMENT (const location_type& l);
+    make_HOSTNAME_CHAR_REPLACEMENT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LOGGING (const location_type& l);
+    make_LOGGING (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_LOGGERS (const location_type& l);
+    make_LOGGERS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_OUTPUT_OPTIONS (const location_type& l);
+    make_OUTPUT_OPTIONS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_OUTPUT (const location_type& l);
+    make_OUTPUT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DEBUGLEVEL (const location_type& l);
+    make_DEBUGLEVEL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SEVERITY (const location_type& l);
+    make_SEVERITY (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_FLUSH (const location_type& l);
+    make_FLUSH (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MAXSIZE (const location_type& l);
+    make_MAXSIZE (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_MAXVER (const location_type& l);
+    make_MAXVER (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DHCP4 (const location_type& l);
+    make_DHCP4 (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_DHCPDDNS (const location_type& l);
+    make_DHCPDDNS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_CONTROL_AGENT (const location_type& l);
+    make_CONTROL_AGENT (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_TOPLEVEL_JSON (const location_type& l);
+    make_TOPLEVEL_JSON (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_TOPLEVEL_DHCP6 (const location_type& l);
+    make_TOPLEVEL_DHCP6 (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_DHCP6 (const location_type& l);
+    make_SUB_DHCP6 (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_INTERFACES6 (const location_type& l);
+    make_SUB_INTERFACES6 (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_SUBNET6 (const location_type& l);
+    make_SUB_SUBNET6 (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_POOL6 (const location_type& l);
+    make_SUB_POOL6 (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_PD_POOL (const location_type& l);
+    make_SUB_PD_POOL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_RESERVATION (const location_type& l);
+    make_SUB_RESERVATION (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_OPTION_DEFS (const location_type& l);
+    make_SUB_OPTION_DEFS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_OPTION_DEF (const location_type& l);
+    make_SUB_OPTION_DEF (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_OPTION_DATA (const location_type& l);
+    make_SUB_OPTION_DATA (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_HOOKS_LIBRARY (const location_type& l);
+    make_SUB_HOOKS_LIBRARY (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_DHCP_DDNS (const location_type& l);
+    make_SUB_DHCP_DDNS (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_LOGGING (const location_type& l);
+    make_SUB_LOGGING (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_SUB_CONFIG_CONTROL (const location_type& l);
+    make_SUB_CONFIG_CONTROL (YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_STRING (const std::string& v, const location_type& l);
+    make_STRING (YY_COPY (std::string) v, YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_INTEGER (const int64_t& v, const location_type& l);
+    make_INTEGER (YY_COPY (int64_t) v, YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_FLOAT (const double& v, const location_type& l);
+    make_FLOAT (YY_COPY (double) v, YY_COPY (location_type) l);
 
-    static inline
+    static
     symbol_type
-    make_BOOLEAN (const bool& v, const location_type& l);
-
-
-    /// Build a parser object.
-    Dhcp6Parser (isc::dhcp::Parser6Context& ctx_yyarg);
-    virtual ~Dhcp6Parser ();
-
-    /// Parse.
-    /// \returns  0 iff parsing succeeded.
-    virtual int parse ();
-
-#if PARSER6_DEBUG
-    /// The current debugging stream.
-    std::ostream& debug_stream () const YY_ATTRIBUTE_PURE;
-    /// Set the current debugging stream.
-    void set_debug_stream (std::ostream &);
-
-    /// Type for debugging levels.
-    typedef int debug_level_type;
-    /// The current debugging level.
-    debug_level_type debug_level () const YY_ATTRIBUTE_PURE;
-    /// Set the current debugging level.
-    void set_debug_level (debug_level_type l);
-#endif
+    make_BOOLEAN (YY_COPY (bool) v, YY_COPY (location_type) l);
 
-    /// Report a syntax error.
-    /// \param loc    where the syntax error is found.
-    /// \param msg    a description of the syntax error.
-    virtual void error (const location_type& loc, const std::string& msg);
 
-    /// Report a syntax error.
-    void error (const syntax_error& err);
 
   private:
     /// This class is not copyable.
@@ -1378,7 +1564,7 @@ namespace isc { namespace dhcp {
     /// \param yyvalue   the value to check
     static bool yy_table_value_is_error_ (int yyvalue);
 
-    static const short int yypact_ninf_;
+    static const short yypact_ninf_;
     static const signed char yytable_ninf_;
 
     /// Convert a scanner token number \a t to a symbol number.
@@ -1387,32 +1573,32 @@ namespace isc { namespace dhcp {
     // Tables.
   // YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
   // STATE-NUM.
-  static const short int yypact_[];
+  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 int yydefact_[];
+  static const unsigned short yydefact_[];
 
   // YYPGOTO[NTERM-NUM].
-  static const short int yypgoto_[];
+  static const short yypgoto_[];
 
   // YYDEFGOTO[NTERM-NUM].
-  static const short int yydefgoto_[];
+  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 int yytable_[];
+  static const unsigned short yytable_[];
 
-  static const short int yycheck_[];
+  static const short yycheck_[];
 
   // YYSTOS[STATE-NUM] -- The (internal number of the) accessing
   // symbol of state STATE-NUM.
-  static const unsigned short int yystos_[];
+  static const unsigned short yystos_[];
 
   // YYR1[YYN] -- Symbol number of symbol that rule YYN derives.
-  static const unsigned short int yyr1_[];
+  static const unsigned short yyr1_[];
 
   // YYR2[YYN] -- Number of symbols on the right hand side of rule YYN.
   static const unsigned char yyr2_[];
@@ -1426,14 +1612,15 @@ namespace isc { namespace dhcp {
     static const char* const yytname_[];
 #if PARSER6_DEBUG
   // YYRLINE[YYN] -- Source line where rule number YYN was defined.
-  static const unsigned short int yyrline_[];
+  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.
+    /// Debugging level.
     int yydebug_;
+    /// Debug stream.
     std::ostream* yycdebug_;
 
     /// \brief Display a symbol type, value and location.
@@ -1491,10 +1678,15 @@ namespace isc { namespace dhcp {
       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, symbol_type& sym);
-      /// Assignment, needed by push_back.
-      stack_symbol_type& operator= (const stack_symbol_type& that);
+      stack_symbol_type (state_type s, YY_MOVE_REF (symbol_type) sym);
+#if !defined __cplusplus || __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.
@@ -1506,20 +1698,20 @@ namespace isc { namespace dhcp {
     /// Push a new state on the stack.
     /// \param m    a debug message to display
     ///             if null, no trace is output.
-    /// \param s    the symbol
+    /// \param sym  the symbol
     /// \warning the contents of \a s.value is stolen.
-    void yypush_ (const char* m, stack_symbol_type& s);
+    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 s.value is stolen.
-    void yypush_ (const char* m, state_type s, symbol_type& sym);
+    /// \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 the three stacks.
-    void yypop_ (unsigned int n = 1);
+    /// Pop \a n symbols from the stack.
+    void yypop_ (int n = 1);
 
     /// Constants.
     enum
@@ -1591,12 +1783,12 @@ namespace isc { namespace dhcp {
      155,   156,   157,   158,   159,   160,   161,   162,   163,   164,
      165,   166,   167,   168,   169,   170,   171,   172,   173
     };
-    const unsigned int user_token_number_max_ = 428;
+    const unsigned user_token_number_max_ = 428;
     const token_number_type undef_token_ = 2;
 
-    if (static_cast<int>(t) <= yyeof_)
+    if (static_cast<int> (t) <= yyeof_)
       return yyeof_;
-    else if (static_cast<unsigned int> (t) <= user_token_number_max_)
+    else if (static_cast<unsigned> (t) <= user_token_number_max_)
       return translate_table[t];
     else
       return undef_token_;
@@ -1610,19 +1802,18 @@ namespace isc { namespace dhcp {
 
   // basic_symbol.
   template <typename Base>
-  inline
   Dhcp6Parser::basic_symbol<Base>::basic_symbol ()
     : value ()
+    , location ()
   {}
 
   template <typename Base>
-  inline
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (const basic_symbol& other)
-    : Base (other)
+  Dhcp6Parser::basic_symbol<Base>::basic_symbol (YY_RVREF (basic_symbol) other)
+    : Base (YY_MOVE (other))
     , value ()
-    , location (other.location)
+    , location (YY_MOVE (other.location))
   {
-      switch (other.type_get ())
+    switch (other.type_get ())
     {
       case 191: // value
       case 195: // map_value
@@ -1631,23 +1822,23 @@ namespace isc { namespace dhcp {
       case 472: // duid_type
       case 507: // ncr_protocol_value
       case 514: // replace_client_name_value
-        value.copy< ElementPtr > (other.value);
+        value.YY_MOVE_OR_COPY< ElementPtr > (YY_MOVE (other.value));
         break;
 
       case 173: // "boolean"
-        value.copy< bool > (other.value);
+        value.YY_MOVE_OR_COPY< bool > (YY_MOVE (other.value));
         break;
 
       case 172: // "floating point"
-        value.copy< double > (other.value);
+        value.YY_MOVE_OR_COPY< double > (YY_MOVE (other.value));
         break;
 
       case 171: // "integer"
-        value.copy< int64_t > (other.value);
+        value.YY_MOVE_OR_COPY< int64_t > (YY_MOVE (other.value));
         break;
 
       case 170: // "constant string"
-        value.copy< std::string > (other.value);
+        value.YY_MOVE_OR_COPY< std::string > (YY_MOVE (other.value));
         break;
 
       default:
@@ -1657,102 +1848,57 @@ namespace isc { namespace dhcp {
   }
 
 
-  template <typename Base>
-  inline
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const semantic_type& v, const location_type& l)
-    : Base (t)
-    , value ()
-    , location (l)
-  {
-    (void) v;
-      switch (this->type_get ())
-    {
-      case 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 > (v);
-        break;
-
-      case 173: // "boolean"
-        value.copy< bool > (v);
-        break;
-
-      case 172: // "floating point"
-        value.copy< double > (v);
-        break;
-
-      case 171: // "integer"
-        value.copy< int64_t > (v);
-        break;
-
-      case 170: // "constant string"
-        value.copy< std::string > (v);
-        break;
-
-      default:
-        break;
-    }
-}
-
-
   // Implementation of basic_symbol constructor for each type.
-
   template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const location_type& l)
+  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, YY_RVREF (location_type) l)
     : Base (t)
-    , value ()
-    , location (l)
+    , location (YY_MOVE (l))
   {}
 
   template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const ElementPtr v, const location_type& l)
+  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, YY_RVREF (ElementPtr) v, YY_RVREF (location_type) l)
     : Base (t)
-    , value (v)
-    , location (l)
+    , value (YY_MOVE (v))
+    , location (YY_MOVE (l))
   {}
 
   template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const bool v, const location_type& l)
+  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, YY_RVREF (bool) v, YY_RVREF (location_type) l)
     : Base (t)
-    , value (v)
-    , location (l)
+    , value (YY_MOVE (v))
+    , location (YY_MOVE (l))
   {}
 
   template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const double v, const location_type& l)
+  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, YY_RVREF (double) v, YY_RVREF (location_type) l)
     : Base (t)
-    , value (v)
-    , location (l)
+    , value (YY_MOVE (v))
+    , location (YY_MOVE (l))
   {}
 
   template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const int64_t v, const location_type& l)
+  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, YY_RVREF (int64_t) v, YY_RVREF (location_type) l)
     : Base (t)
-    , value (v)
-    , location (l)
+    , value (YY_MOVE (v))
+    , location (YY_MOVE (l))
   {}
 
   template <typename Base>
-  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, const std::string v, const location_type& l)
+  Dhcp6Parser::basic_symbol<Base>::basic_symbol (typename Base::kind_type t, YY_RVREF (std::string) v, YY_RVREF (location_type) l)
     : Base (t)
-    , value (v)
-    , location (l)
+    , value (YY_MOVE (v))
+    , location (YY_MOVE (l))
   {}
 
 
+
   template <typename Base>
-  inline
   Dhcp6Parser::basic_symbol<Base>::~basic_symbol ()
   {
     clear ();
   }
 
   template <typename Base>
-  inline
   void
   Dhcp6Parser::basic_symbol<Base>::clear ()
   {
@@ -1767,7 +1913,7 @@ namespace isc { namespace dhcp {
     }
 
     // Type destructor.
-    switch (yytype)
+  switch (yytype)
     {
       case 191: // value
       case 195: // map_value
@@ -1803,7 +1949,6 @@ namespace isc { namespace dhcp {
   }
 
   template <typename Base>
-  inline
   bool
   Dhcp6Parser::basic_symbol<Base>::empty () const
   {
@@ -1811,12 +1956,11 @@ namespace isc { namespace dhcp {
   }
 
   template <typename Base>
-  inline
   void
   Dhcp6Parser::basic_symbol<Base>::move (basic_symbol& s)
   {
-    super_type::move(s);
-      switch (this->type_get ())
+    super_type::move (s);
+    switch (this->type_get ())
     {
       case 191: // value
       case 195: // map_value
@@ -1825,30 +1969,30 @@ namespace isc { namespace dhcp {
       case 472: // duid_type
       case 507: // ncr_protocol_value
       case 514: // replace_client_name_value
-        value.move< ElementPtr > (s.value);
+        value.move< ElementPtr > (YY_MOVE (s.value));
         break;
 
       case 173: // "boolean"
-        value.move< bool > (s.value);
+        value.move< bool > (YY_MOVE (s.value));
         break;
 
       case 172: // "floating point"
-        value.move< double > (s.value);
+        value.move< double > (YY_MOVE (s.value));
         break;
 
       case 171: // "integer"
-        value.move< int64_t > (s.value);
+        value.move< int64_t > (YY_MOVE (s.value));
         break;
 
       case 170: // "constant string"
-        value.move< std::string > (s.value);
+        value.move< std::string > (YY_MOVE (s.value));
         break;
 
       default:
         break;
     }
 
-    location = s.location;
+    location = YY_MOVE (s.location);
   }
 
   // by_type.
@@ -1896,7 +2040,7 @@ namespace isc { namespace dhcp {
     // YYTOKNUM[NUM] -- (External) token number corresponding to the
     // (internal) symbol number NUM (which must be that of a token).  */
     static
-    const unsigned short int
+    const unsigned short
     yytoken_number_[] =
     {
        0,   256,   257,   258,   259,   260,   261,   262,   263,   264,
@@ -1920,1043 +2064,1216 @@ namespace isc { namespace dhcp {
     };
     return static_cast<token_type> (yytoken_number_[type]);
   }
+
   // Implementation of make_symbol for each symbol type.
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_END (const location_type& l)
+  Dhcp6Parser::make_END (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_END, l);
+    return symbol_type (token::TOKEN_END, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_COMMA (const location_type& l)
+  Dhcp6Parser::make_COMMA (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_COMMA, l);
+    return symbol_type (token::TOKEN_COMMA, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_COLON (const location_type& l)
+  Dhcp6Parser::make_COLON (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_COLON, l);
+    return symbol_type (token::TOKEN_COLON, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LSQUARE_BRACKET (const location_type& l)
+  Dhcp6Parser::make_LSQUARE_BRACKET (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LSQUARE_BRACKET, l);
+    return symbol_type (token::TOKEN_LSQUARE_BRACKET, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RSQUARE_BRACKET (const location_type& l)
+  Dhcp6Parser::make_RSQUARE_BRACKET (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RSQUARE_BRACKET, l);
+    return symbol_type (token::TOKEN_RSQUARE_BRACKET, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LCURLY_BRACKET (const location_type& l)
+  Dhcp6Parser::make_LCURLY_BRACKET (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LCURLY_BRACKET, l);
+    return symbol_type (token::TOKEN_LCURLY_BRACKET, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RCURLY_BRACKET (const location_type& l)
+  Dhcp6Parser::make_RCURLY_BRACKET (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RCURLY_BRACKET, l);
+    return symbol_type (token::TOKEN_RCURLY_BRACKET, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_NULL_TYPE (const location_type& l)
+  Dhcp6Parser::make_NULL_TYPE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_NULL_TYPE, l);
+    return symbol_type (token::TOKEN_NULL_TYPE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCP6 (const location_type& l)
+  Dhcp6Parser::make_DHCP6 (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DHCP6, l);
+    return symbol_type (token::TOKEN_DHCP6, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONFIG_CONTROL (const location_type& l)
+  Dhcp6Parser::make_CONFIG_CONTROL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CONFIG_CONTROL, l);
+    return symbol_type (token::TOKEN_CONFIG_CONTROL, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONFIG_DATABASES (const location_type& l)
+  Dhcp6Parser::make_CONFIG_DATABASES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CONFIG_DATABASES, l);
+    return symbol_type (token::TOKEN_CONFIG_DATABASES, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_INTERFACES_CONFIG (const location_type& l)
+  Dhcp6Parser::make_INTERFACES_CONFIG (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_INTERFACES_CONFIG, l);
+    return symbol_type (token::TOKEN_INTERFACES_CONFIG, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_INTERFACES (const location_type& l)
+  Dhcp6Parser::make_INTERFACES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_INTERFACES, l);
+    return symbol_type (token::TOKEN_INTERFACES, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RE_DETECT (const location_type& l)
+  Dhcp6Parser::make_RE_DETECT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RE_DETECT, l);
+    return symbol_type (token::TOKEN_RE_DETECT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LEASE_DATABASE (const location_type& l)
+  Dhcp6Parser::make_LEASE_DATABASE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LEASE_DATABASE, l);
+    return symbol_type (token::TOKEN_LEASE_DATABASE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOSTS_DATABASE (const location_type& l)
+  Dhcp6Parser::make_HOSTS_DATABASE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOSTS_DATABASE, l);
+    return symbol_type (token::TOKEN_HOSTS_DATABASE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOSTS_DATABASES (const location_type& l)
+  Dhcp6Parser::make_HOSTS_DATABASES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOSTS_DATABASES, l);
+    return symbol_type (token::TOKEN_HOSTS_DATABASES, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TYPE (const location_type& l)
+  Dhcp6Parser::make_TYPE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_TYPE, l);
+    return symbol_type (token::TOKEN_TYPE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MEMFILE (const location_type& l)
+  Dhcp6Parser::make_MEMFILE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MEMFILE, l);
+    return symbol_type (token::TOKEN_MEMFILE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MYSQL (const location_type& l)
+  Dhcp6Parser::make_MYSQL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MYSQL, l);
+    return symbol_type (token::TOKEN_MYSQL, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_POSTGRESQL (const location_type& l)
+  Dhcp6Parser::make_POSTGRESQL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_POSTGRESQL, l);
+    return symbol_type (token::TOKEN_POSTGRESQL, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CQL (const location_type& l)
+  Dhcp6Parser::make_CQL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CQL, l);
+    return symbol_type (token::TOKEN_CQL, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_USER (const location_type& l)
+  Dhcp6Parser::make_USER (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_USER, l);
+    return symbol_type (token::TOKEN_USER, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PASSWORD (const location_type& l)
+  Dhcp6Parser::make_PASSWORD (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_PASSWORD, l);
+    return symbol_type (token::TOKEN_PASSWORD, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOST (const location_type& l)
+  Dhcp6Parser::make_HOST (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOST, l);
+    return symbol_type (token::TOKEN_HOST, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PORT (const location_type& l)
+  Dhcp6Parser::make_PORT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_PORT, l);
+    return symbol_type (token::TOKEN_PORT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PERSIST (const location_type& l)
+  Dhcp6Parser::make_PERSIST (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_PERSIST, l);
+    return symbol_type (token::TOKEN_PERSIST, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LFC_INTERVAL (const location_type& l)
+  Dhcp6Parser::make_LFC_INTERVAL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LFC_INTERVAL, l);
+    return symbol_type (token::TOKEN_LFC_INTERVAL, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_READONLY (const location_type& l)
+  Dhcp6Parser::make_READONLY (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_READONLY, l);
+    return symbol_type (token::TOKEN_READONLY, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONNECT_TIMEOUT (const location_type& l)
+  Dhcp6Parser::make_CONNECT_TIMEOUT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CONNECT_TIMEOUT, l);
+    return symbol_type (token::TOKEN_CONNECT_TIMEOUT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONTACT_POINTS (const location_type& l)
+  Dhcp6Parser::make_CONTACT_POINTS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CONTACT_POINTS, l);
+    return symbol_type (token::TOKEN_CONTACT_POINTS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAX_RECONNECT_TRIES (const location_type& l)
+  Dhcp6Parser::make_MAX_RECONNECT_TRIES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MAX_RECONNECT_TRIES, l);
+    return symbol_type (token::TOKEN_MAX_RECONNECT_TRIES, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RECONNECT_WAIT_TIME (const location_type& l)
+  Dhcp6Parser::make_RECONNECT_WAIT_TIME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RECONNECT_WAIT_TIME, l);
+    return symbol_type (token::TOKEN_RECONNECT_WAIT_TIME, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_KEYSPACE (const location_type& l)
+  Dhcp6Parser::make_KEYSPACE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_KEYSPACE, l);
+    return symbol_type (token::TOKEN_KEYSPACE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_REQUEST_TIMEOUT (const location_type& l)
+  Dhcp6Parser::make_REQUEST_TIMEOUT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_REQUEST_TIMEOUT, l);
+    return symbol_type (token::TOKEN_REQUEST_TIMEOUT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TCP_KEEPALIVE (const location_type& l)
+  Dhcp6Parser::make_TCP_KEEPALIVE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_TCP_KEEPALIVE, l);
+    return symbol_type (token::TOKEN_TCP_KEEPALIVE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TCP_NODELAY (const location_type& l)
+  Dhcp6Parser::make_TCP_NODELAY (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_TCP_NODELAY, l);
+    return symbol_type (token::TOKEN_TCP_NODELAY, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PREFERRED_LIFETIME (const location_type& l)
+  Dhcp6Parser::make_PREFERRED_LIFETIME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_PREFERRED_LIFETIME, l);
+    return symbol_type (token::TOKEN_PREFERRED_LIFETIME, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_VALID_LIFETIME (const location_type& l)
+  Dhcp6Parser::make_VALID_LIFETIME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_VALID_LIFETIME, l);
+    return symbol_type (token::TOKEN_VALID_LIFETIME, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RENEW_TIMER (const location_type& l)
+  Dhcp6Parser::make_RENEW_TIMER (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RENEW_TIMER, l);
+    return symbol_type (token::TOKEN_RENEW_TIMER, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_REBIND_TIMER (const location_type& l)
+  Dhcp6Parser::make_REBIND_TIMER (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_REBIND_TIMER, l);
+    return symbol_type (token::TOKEN_REBIND_TIMER, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DECLINE_PROBATION_PERIOD (const location_type& l)
+  Dhcp6Parser::make_DECLINE_PROBATION_PERIOD (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DECLINE_PROBATION_PERIOD, l);
+    return symbol_type (token::TOKEN_DECLINE_PROBATION_PERIOD, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SERVER_TAG (const location_type& l)
+  Dhcp6Parser::make_SERVER_TAG (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SERVER_TAG, l);
+    return symbol_type (token::TOKEN_SERVER_TAG, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUBNET6 (const location_type& l)
+  Dhcp6Parser::make_SUBNET6 (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUBNET6, l);
+    return symbol_type (token::TOKEN_SUBNET6, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OPTION_DEF (const location_type& l)
+  Dhcp6Parser::make_OPTION_DEF (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_OPTION_DEF, l);
+    return symbol_type (token::TOKEN_OPTION_DEF, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OPTION_DATA (const location_type& l)
+  Dhcp6Parser::make_OPTION_DATA (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_OPTION_DATA, l);
+    return symbol_type (token::TOKEN_OPTION_DATA, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_NAME (const location_type& l)
+  Dhcp6Parser::make_NAME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_NAME, l);
+    return symbol_type (token::TOKEN_NAME, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DATA (const location_type& l)
+  Dhcp6Parser::make_DATA (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DATA, l);
+    return symbol_type (token::TOKEN_DATA, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CODE (const location_type& l)
+  Dhcp6Parser::make_CODE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CODE, l);
+    return symbol_type (token::TOKEN_CODE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SPACE (const location_type& l)
+  Dhcp6Parser::make_SPACE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SPACE, l);
+    return symbol_type (token::TOKEN_SPACE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CSV_FORMAT (const location_type& l)
+  Dhcp6Parser::make_CSV_FORMAT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CSV_FORMAT, l);
+    return symbol_type (token::TOKEN_CSV_FORMAT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ALWAYS_SEND (const location_type& l)
+  Dhcp6Parser::make_ALWAYS_SEND (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ALWAYS_SEND, l);
+    return symbol_type (token::TOKEN_ALWAYS_SEND, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RECORD_TYPES (const location_type& l)
+  Dhcp6Parser::make_RECORD_TYPES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RECORD_TYPES, l);
+    return symbol_type (token::TOKEN_RECORD_TYPES, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ENCAPSULATE (const location_type& l)
+  Dhcp6Parser::make_ENCAPSULATE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ENCAPSULATE, l);
+    return symbol_type (token::TOKEN_ENCAPSULATE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ARRAY (const location_type& l)
+  Dhcp6Parser::make_ARRAY (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ARRAY, l);
+    return symbol_type (token::TOKEN_ARRAY, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_POOLS (const location_type& l)
+  Dhcp6Parser::make_POOLS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_POOLS, l);
+    return symbol_type (token::TOKEN_POOLS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_POOL (const location_type& l)
+  Dhcp6Parser::make_POOL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_POOL, l);
+    return symbol_type (token::TOKEN_POOL, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PD_POOLS (const location_type& l)
+  Dhcp6Parser::make_PD_POOLS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_PD_POOLS, l);
+    return symbol_type (token::TOKEN_PD_POOLS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PREFIX (const location_type& l)
+  Dhcp6Parser::make_PREFIX (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_PREFIX, l);
+    return symbol_type (token::TOKEN_PREFIX, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PREFIX_LEN (const location_type& l)
+  Dhcp6Parser::make_PREFIX_LEN (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_PREFIX_LEN, l);
+    return symbol_type (token::TOKEN_PREFIX_LEN, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_EXCLUDED_PREFIX (const location_type& l)
+  Dhcp6Parser::make_EXCLUDED_PREFIX (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_EXCLUDED_PREFIX, l);
+    return symbol_type (token::TOKEN_EXCLUDED_PREFIX, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_EXCLUDED_PREFIX_LEN (const location_type& l)
+  Dhcp6Parser::make_EXCLUDED_PREFIX_LEN (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_EXCLUDED_PREFIX_LEN, l);
+    return symbol_type (token::TOKEN_EXCLUDED_PREFIX_LEN, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DELEGATED_LEN (const location_type& l)
+  Dhcp6Parser::make_DELEGATED_LEN (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DELEGATED_LEN, l);
+    return symbol_type (token::TOKEN_DELEGATED_LEN, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_USER_CONTEXT (const location_type& l)
+  Dhcp6Parser::make_USER_CONTEXT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_USER_CONTEXT, l);
+    return symbol_type (token::TOKEN_USER_CONTEXT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_COMMENT (const location_type& l)
+  Dhcp6Parser::make_COMMENT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_COMMENT, l);
+    return symbol_type (token::TOKEN_COMMENT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUBNET (const location_type& l)
+  Dhcp6Parser::make_SUBNET (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUBNET, l);
+    return symbol_type (token::TOKEN_SUBNET, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_INTERFACE (const location_type& l)
+  Dhcp6Parser::make_INTERFACE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_INTERFACE, l);
+    return symbol_type (token::TOKEN_INTERFACE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_INTERFACE_ID (const location_type& l)
+  Dhcp6Parser::make_INTERFACE_ID (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_INTERFACE_ID, l);
+    return symbol_type (token::TOKEN_INTERFACE_ID, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ID (const location_type& l)
+  Dhcp6Parser::make_ID (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ID, l);
+    return symbol_type (token::TOKEN_ID, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RAPID_COMMIT (const location_type& l)
+  Dhcp6Parser::make_RAPID_COMMIT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RAPID_COMMIT, l);
+    return symbol_type (token::TOKEN_RAPID_COMMIT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RESERVATION_MODE (const location_type& l)
+  Dhcp6Parser::make_RESERVATION_MODE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RESERVATION_MODE, l);
+    return symbol_type (token::TOKEN_RESERVATION_MODE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DISABLED (const location_type& l)
+  Dhcp6Parser::make_DISABLED (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DISABLED, l);
+    return symbol_type (token::TOKEN_DISABLED, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OUT_OF_POOL (const location_type& l)
+  Dhcp6Parser::make_OUT_OF_POOL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_OUT_OF_POOL, l);
+    return symbol_type (token::TOKEN_OUT_OF_POOL, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_GLOBAL (const location_type& l)
+  Dhcp6Parser::make_GLOBAL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_GLOBAL, l);
+    return symbol_type (token::TOKEN_GLOBAL, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ALL (const location_type& l)
+  Dhcp6Parser::make_ALL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ALL, l);
+    return symbol_type (token::TOKEN_ALL, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SHARED_NETWORKS (const location_type& l)
+  Dhcp6Parser::make_SHARED_NETWORKS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SHARED_NETWORKS, l);
+    return symbol_type (token::TOKEN_SHARED_NETWORKS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAC_SOURCES (const location_type& l)
+  Dhcp6Parser::make_MAC_SOURCES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MAC_SOURCES, l);
+    return symbol_type (token::TOKEN_MAC_SOURCES, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RELAY_SUPPLIED_OPTIONS (const location_type& l)
+  Dhcp6Parser::make_RELAY_SUPPLIED_OPTIONS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RELAY_SUPPLIED_OPTIONS, l);
+    return symbol_type (token::TOKEN_RELAY_SUPPLIED_OPTIONS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOST_RESERVATION_IDENTIFIERS (const location_type& l)
+  Dhcp6Parser::make_HOST_RESERVATION_IDENTIFIERS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOST_RESERVATION_IDENTIFIERS, l);
+    return symbol_type (token::TOKEN_HOST_RESERVATION_IDENTIFIERS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SANITY_CHECKS (const location_type& l)
+  Dhcp6Parser::make_SANITY_CHECKS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SANITY_CHECKS, l);
+    return symbol_type (token::TOKEN_SANITY_CHECKS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LEASE_CHECKS (const location_type& l)
+  Dhcp6Parser::make_LEASE_CHECKS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LEASE_CHECKS, l);
+    return symbol_type (token::TOKEN_LEASE_CHECKS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CLIENT_CLASSES (const location_type& l)
+  Dhcp6Parser::make_CLIENT_CLASSES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CLIENT_CLASSES, l);
+    return symbol_type (token::TOKEN_CLIENT_CLASSES, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_REQUIRE_CLIENT_CLASSES (const location_type& l)
+  Dhcp6Parser::make_REQUIRE_CLIENT_CLASSES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_REQUIRE_CLIENT_CLASSES, l);
+    return symbol_type (token::TOKEN_REQUIRE_CLIENT_CLASSES, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TEST (const location_type& l)
+  Dhcp6Parser::make_TEST (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_TEST, l);
+    return symbol_type (token::TOKEN_TEST, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ONLY_IF_REQUIRED (const location_type& l)
+  Dhcp6Parser::make_ONLY_IF_REQUIRED (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ONLY_IF_REQUIRED, l);
+    return symbol_type (token::TOKEN_ONLY_IF_REQUIRED, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CLIENT_CLASS (const location_type& l)
+  Dhcp6Parser::make_CLIENT_CLASS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CLIENT_CLASS, l);
+    return symbol_type (token::TOKEN_CLIENT_CLASS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RESERVATIONS (const location_type& l)
+  Dhcp6Parser::make_RESERVATIONS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RESERVATIONS, l);
+    return symbol_type (token::TOKEN_RESERVATIONS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_IP_ADDRESSES (const location_type& l)
+  Dhcp6Parser::make_IP_ADDRESSES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_IP_ADDRESSES, l);
+    return symbol_type (token::TOKEN_IP_ADDRESSES, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PREFIXES (const location_type& l)
+  Dhcp6Parser::make_PREFIXES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_PREFIXES, l);
+    return symbol_type (token::TOKEN_PREFIXES, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DUID (const location_type& l)
+  Dhcp6Parser::make_DUID (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DUID, l);
+    return symbol_type (token::TOKEN_DUID, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HW_ADDRESS (const location_type& l)
+  Dhcp6Parser::make_HW_ADDRESS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HW_ADDRESS, l);
+    return symbol_type (token::TOKEN_HW_ADDRESS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOSTNAME (const location_type& l)
+  Dhcp6Parser::make_HOSTNAME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOSTNAME, l);
+    return symbol_type (token::TOKEN_HOSTNAME, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_FLEX_ID (const location_type& l)
+  Dhcp6Parser::make_FLEX_ID (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_FLEX_ID, l);
+    return symbol_type (token::TOKEN_FLEX_ID, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RELAY (const location_type& l)
+  Dhcp6Parser::make_RELAY (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RELAY, l);
+    return symbol_type (token::TOKEN_RELAY, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_IP_ADDRESS (const location_type& l)
+  Dhcp6Parser::make_IP_ADDRESS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_IP_ADDRESS, l);
+    return symbol_type (token::TOKEN_IP_ADDRESS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOOKS_LIBRARIES (const location_type& l)
+  Dhcp6Parser::make_HOOKS_LIBRARIES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOOKS_LIBRARIES, l);
+    return symbol_type (token::TOKEN_HOOKS_LIBRARIES, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LIBRARY (const location_type& l)
+  Dhcp6Parser::make_LIBRARY (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LIBRARY, l);
+    return symbol_type (token::TOKEN_LIBRARY, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_PARAMETERS (const location_type& l)
+  Dhcp6Parser::make_PARAMETERS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_PARAMETERS, l);
+    return symbol_type (token::TOKEN_PARAMETERS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_EXPIRED_LEASES_PROCESSING (const location_type& l)
+  Dhcp6Parser::make_EXPIRED_LEASES_PROCESSING (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_EXPIRED_LEASES_PROCESSING, l);
+    return symbol_type (token::TOKEN_EXPIRED_LEASES_PROCESSING, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_RECLAIM_TIMER_WAIT_TIME (const location_type& l)
+  Dhcp6Parser::make_RECLAIM_TIMER_WAIT_TIME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_RECLAIM_TIMER_WAIT_TIME, l);
+    return symbol_type (token::TOKEN_RECLAIM_TIMER_WAIT_TIME, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (const location_type& l)
+  Dhcp6Parser::make_FLUSH_RECLAIMED_TIMER_WAIT_TIME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME, l);
+    return symbol_type (token::TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOLD_RECLAIMED_TIME (const location_type& l)
+  Dhcp6Parser::make_HOLD_RECLAIMED_TIME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOLD_RECLAIMED_TIME, l);
+    return symbol_type (token::TOKEN_HOLD_RECLAIMED_TIME, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAX_RECLAIM_LEASES (const location_type& l)
+  Dhcp6Parser::make_MAX_RECLAIM_LEASES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MAX_RECLAIM_LEASES, l);
+    return symbol_type (token::TOKEN_MAX_RECLAIM_LEASES, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAX_RECLAIM_TIME (const location_type& l)
+  Dhcp6Parser::make_MAX_RECLAIM_TIME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MAX_RECLAIM_TIME, l);
+    return symbol_type (token::TOKEN_MAX_RECLAIM_TIME, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_UNWARNED_RECLAIM_CYCLES (const location_type& l)
+  Dhcp6Parser::make_UNWARNED_RECLAIM_CYCLES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_UNWARNED_RECLAIM_CYCLES, l);
+    return symbol_type (token::TOKEN_UNWARNED_RECLAIM_CYCLES, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SERVER_ID (const location_type& l)
+  Dhcp6Parser::make_SERVER_ID (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SERVER_ID, l);
+    return symbol_type (token::TOKEN_SERVER_ID, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LLT (const location_type& l)
+  Dhcp6Parser::make_LLT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LLT, l);
+    return symbol_type (token::TOKEN_LLT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_EN (const location_type& l)
+  Dhcp6Parser::make_EN (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_EN, l);
+    return symbol_type (token::TOKEN_EN, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LL (const location_type& l)
+  Dhcp6Parser::make_LL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LL, l);
+    return symbol_type (token::TOKEN_LL, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_IDENTIFIER (const location_type& l)
+  Dhcp6Parser::make_IDENTIFIER (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_IDENTIFIER, l);
+    return symbol_type (token::TOKEN_IDENTIFIER, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HTYPE (const location_type& l)
+  Dhcp6Parser::make_HTYPE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HTYPE, l);
+    return symbol_type (token::TOKEN_HTYPE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TIME (const location_type& l)
+  Dhcp6Parser::make_TIME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_TIME, l);
+    return symbol_type (token::TOKEN_TIME, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ENTERPRISE_ID (const location_type& l)
+  Dhcp6Parser::make_ENTERPRISE_ID (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ENTERPRISE_ID, l);
+    return symbol_type (token::TOKEN_ENTERPRISE_ID, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCP4O6_PORT (const location_type& l)
+  Dhcp6Parser::make_DHCP4O6_PORT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DHCP4O6_PORT, l);
+    return symbol_type (token::TOKEN_DHCP4O6_PORT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONTROL_SOCKET (const location_type& l)
+  Dhcp6Parser::make_CONTROL_SOCKET (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CONTROL_SOCKET, l);
+    return symbol_type (token::TOKEN_CONTROL_SOCKET, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SOCKET_TYPE (const location_type& l)
+  Dhcp6Parser::make_SOCKET_TYPE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SOCKET_TYPE, l);
+    return symbol_type (token::TOKEN_SOCKET_TYPE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SOCKET_NAME (const location_type& l)
+  Dhcp6Parser::make_SOCKET_NAME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SOCKET_NAME, l);
+    return symbol_type (token::TOKEN_SOCKET_NAME, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCP_QUEUE_CONTROL (const location_type& l)
+  Dhcp6Parser::make_DHCP_QUEUE_CONTROL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DHCP_QUEUE_CONTROL, l);
+    return symbol_type (token::TOKEN_DHCP_QUEUE_CONTROL, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCP_DDNS (const location_type& l)
+  Dhcp6Parser::make_DHCP_DDNS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DHCP_DDNS, l);
+    return symbol_type (token::TOKEN_DHCP_DDNS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ENABLE_UPDATES (const location_type& l)
+  Dhcp6Parser::make_ENABLE_UPDATES (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ENABLE_UPDATES, l);
+    return symbol_type (token::TOKEN_ENABLE_UPDATES, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_QUALIFYING_SUFFIX (const location_type& l)
+  Dhcp6Parser::make_QUALIFYING_SUFFIX (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_QUALIFYING_SUFFIX, l);
+    return symbol_type (token::TOKEN_QUALIFYING_SUFFIX, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SERVER_IP (const location_type& l)
+  Dhcp6Parser::make_SERVER_IP (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SERVER_IP, l);
+    return symbol_type (token::TOKEN_SERVER_IP, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SERVER_PORT (const location_type& l)
+  Dhcp6Parser::make_SERVER_PORT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SERVER_PORT, l);
+    return symbol_type (token::TOKEN_SERVER_PORT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SENDER_IP (const location_type& l)
+  Dhcp6Parser::make_SENDER_IP (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SENDER_IP, l);
+    return symbol_type (token::TOKEN_SENDER_IP, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SENDER_PORT (const location_type& l)
+  Dhcp6Parser::make_SENDER_PORT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SENDER_PORT, l);
+    return symbol_type (token::TOKEN_SENDER_PORT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAX_QUEUE_SIZE (const location_type& l)
+  Dhcp6Parser::make_MAX_QUEUE_SIZE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MAX_QUEUE_SIZE, l);
+    return symbol_type (token::TOKEN_MAX_QUEUE_SIZE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_NCR_PROTOCOL (const location_type& l)
+  Dhcp6Parser::make_NCR_PROTOCOL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_NCR_PROTOCOL, l);
+    return symbol_type (token::TOKEN_NCR_PROTOCOL, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_NCR_FORMAT (const location_type& l)
+  Dhcp6Parser::make_NCR_FORMAT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_NCR_FORMAT, l);
+    return symbol_type (token::TOKEN_NCR_FORMAT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OVERRIDE_NO_UPDATE (const location_type& l)
+  Dhcp6Parser::make_OVERRIDE_NO_UPDATE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_OVERRIDE_NO_UPDATE, l);
+    return symbol_type (token::TOKEN_OVERRIDE_NO_UPDATE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OVERRIDE_CLIENT_UPDATE (const location_type& l)
+  Dhcp6Parser::make_OVERRIDE_CLIENT_UPDATE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_OVERRIDE_CLIENT_UPDATE, l);
+    return symbol_type (token::TOKEN_OVERRIDE_CLIENT_UPDATE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_REPLACE_CLIENT_NAME (const location_type& l)
+  Dhcp6Parser::make_REPLACE_CLIENT_NAME (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_REPLACE_CLIENT_NAME, l);
+    return symbol_type (token::TOKEN_REPLACE_CLIENT_NAME, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_GENERATED_PREFIX (const location_type& l)
+  Dhcp6Parser::make_GENERATED_PREFIX (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_GENERATED_PREFIX, l);
+    return symbol_type (token::TOKEN_GENERATED_PREFIX, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_UDP (const location_type& l)
+  Dhcp6Parser::make_UDP (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_UDP, l);
+    return symbol_type (token::TOKEN_UDP, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TCP (const location_type& l)
+  Dhcp6Parser::make_TCP (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_TCP, l);
+    return symbol_type (token::TOKEN_TCP, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_JSON (const location_type& l)
+  Dhcp6Parser::make_JSON (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_JSON, l);
+    return symbol_type (token::TOKEN_JSON, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_WHEN_PRESENT (const location_type& l)
+  Dhcp6Parser::make_WHEN_PRESENT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_WHEN_PRESENT, l);
+    return symbol_type (token::TOKEN_WHEN_PRESENT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_NEVER (const location_type& l)
+  Dhcp6Parser::make_NEVER (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_NEVER, l);
+    return symbol_type (token::TOKEN_NEVER, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_ALWAYS (const location_type& l)
+  Dhcp6Parser::make_ALWAYS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_ALWAYS, l);
+    return symbol_type (token::TOKEN_ALWAYS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_WHEN_NOT_PRESENT (const location_type& l)
+  Dhcp6Parser::make_WHEN_NOT_PRESENT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_WHEN_NOT_PRESENT, l);
+    return symbol_type (token::TOKEN_WHEN_NOT_PRESENT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOSTNAME_CHAR_SET (const location_type& l)
+  Dhcp6Parser::make_HOSTNAME_CHAR_SET (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOSTNAME_CHAR_SET, l);
+    return symbol_type (token::TOKEN_HOSTNAME_CHAR_SET, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_HOSTNAME_CHAR_REPLACEMENT (const location_type& l)
+  Dhcp6Parser::make_HOSTNAME_CHAR_REPLACEMENT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_HOSTNAME_CHAR_REPLACEMENT, l);
+    return symbol_type (token::TOKEN_HOSTNAME_CHAR_REPLACEMENT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LOGGING (const location_type& l)
+  Dhcp6Parser::make_LOGGING (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LOGGING, l);
+    return symbol_type (token::TOKEN_LOGGING, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_LOGGERS (const location_type& l)
+  Dhcp6Parser::make_LOGGERS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_LOGGERS, l);
+    return symbol_type (token::TOKEN_LOGGERS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OUTPUT_OPTIONS (const location_type& l)
+  Dhcp6Parser::make_OUTPUT_OPTIONS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_OUTPUT_OPTIONS, l);
+    return symbol_type (token::TOKEN_OUTPUT_OPTIONS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_OUTPUT (const location_type& l)
+  Dhcp6Parser::make_OUTPUT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_OUTPUT, l);
+    return symbol_type (token::TOKEN_OUTPUT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DEBUGLEVEL (const location_type& l)
+  Dhcp6Parser::make_DEBUGLEVEL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DEBUGLEVEL, l);
+    return symbol_type (token::TOKEN_DEBUGLEVEL, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SEVERITY (const location_type& l)
+  Dhcp6Parser::make_SEVERITY (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SEVERITY, l);
+    return symbol_type (token::TOKEN_SEVERITY, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_FLUSH (const location_type& l)
+  Dhcp6Parser::make_FLUSH (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_FLUSH, l);
+    return symbol_type (token::TOKEN_FLUSH, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAXSIZE (const location_type& l)
+  Dhcp6Parser::make_MAXSIZE (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MAXSIZE, l);
+    return symbol_type (token::TOKEN_MAXSIZE, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_MAXVER (const location_type& l)
+  Dhcp6Parser::make_MAXVER (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_MAXVER, l);
+    return symbol_type (token::TOKEN_MAXVER, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCP4 (const location_type& l)
+  Dhcp6Parser::make_DHCP4 (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DHCP4, l);
+    return symbol_type (token::TOKEN_DHCP4, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_DHCPDDNS (const location_type& l)
+  Dhcp6Parser::make_DHCPDDNS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_DHCPDDNS, l);
+    return symbol_type (token::TOKEN_DHCPDDNS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_CONTROL_AGENT (const location_type& l)
+  Dhcp6Parser::make_CONTROL_AGENT (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_CONTROL_AGENT, l);
+    return symbol_type (token::TOKEN_CONTROL_AGENT, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TOPLEVEL_JSON (const location_type& l)
+  Dhcp6Parser::make_TOPLEVEL_JSON (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_TOPLEVEL_JSON, l);
+    return symbol_type (token::TOKEN_TOPLEVEL_JSON, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_TOPLEVEL_DHCP6 (const location_type& l)
+  Dhcp6Parser::make_TOPLEVEL_DHCP6 (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_TOPLEVEL_DHCP6, l);
+    return symbol_type (token::TOKEN_TOPLEVEL_DHCP6, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_DHCP6 (const location_type& l)
+  Dhcp6Parser::make_SUB_DHCP6 (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_DHCP6, l);
+    return symbol_type (token::TOKEN_SUB_DHCP6, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_INTERFACES6 (const location_type& l)
+  Dhcp6Parser::make_SUB_INTERFACES6 (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_INTERFACES6, l);
+    return symbol_type (token::TOKEN_SUB_INTERFACES6, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_SUBNET6 (const location_type& l)
+  Dhcp6Parser::make_SUB_SUBNET6 (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_SUBNET6, l);
+    return symbol_type (token::TOKEN_SUB_SUBNET6, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_POOL6 (const location_type& l)
+  Dhcp6Parser::make_SUB_POOL6 (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_POOL6, l);
+    return symbol_type (token::TOKEN_SUB_POOL6, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_PD_POOL (const location_type& l)
+  Dhcp6Parser::make_SUB_PD_POOL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_PD_POOL, l);
+    return symbol_type (token::TOKEN_SUB_PD_POOL, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_RESERVATION (const location_type& l)
+  Dhcp6Parser::make_SUB_RESERVATION (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_RESERVATION, l);
+    return symbol_type (token::TOKEN_SUB_RESERVATION, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_OPTION_DEFS (const location_type& l)
+  Dhcp6Parser::make_SUB_OPTION_DEFS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_OPTION_DEFS, l);
+    return symbol_type (token::TOKEN_SUB_OPTION_DEFS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_OPTION_DEF (const location_type& l)
+  Dhcp6Parser::make_SUB_OPTION_DEF (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_OPTION_DEF, l);
+    return symbol_type (token::TOKEN_SUB_OPTION_DEF, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_OPTION_DATA (const location_type& l)
+  Dhcp6Parser::make_SUB_OPTION_DATA (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_OPTION_DATA, l);
+    return symbol_type (token::TOKEN_SUB_OPTION_DATA, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_HOOKS_LIBRARY (const location_type& l)
+  Dhcp6Parser::make_SUB_HOOKS_LIBRARY (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_HOOKS_LIBRARY, l);
+    return symbol_type (token::TOKEN_SUB_HOOKS_LIBRARY, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_DHCP_DDNS (const location_type& l)
+  Dhcp6Parser::make_SUB_DHCP_DDNS (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_DHCP_DDNS, l);
+    return symbol_type (token::TOKEN_SUB_DHCP_DDNS, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_LOGGING (const location_type& l)
+  Dhcp6Parser::make_SUB_LOGGING (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_LOGGING, l);
+    return symbol_type (token::TOKEN_SUB_LOGGING, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_SUB_CONFIG_CONTROL (const location_type& l)
+  Dhcp6Parser::make_SUB_CONFIG_CONTROL (YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_SUB_CONFIG_CONTROL, l);
+    return symbol_type (token::TOKEN_SUB_CONFIG_CONTROL, YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_STRING (const std::string& v, const location_type& l)
+  Dhcp6Parser::make_STRING (YY_COPY (std::string) v, YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_STRING, v, l);
+    return symbol_type (token::TOKEN_STRING, YY_MOVE (v), YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_INTEGER (const int64_t& v, const location_type& l)
+  Dhcp6Parser::make_INTEGER (YY_COPY (int64_t) v, YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_INTEGER, v, l);
+    return symbol_type (token::TOKEN_INTEGER, YY_MOVE (v), YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_FLOAT (const double& v, const location_type& l)
+  Dhcp6Parser::make_FLOAT (YY_COPY (double) v, YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_FLOAT, v, l);
+    return symbol_type (token::TOKEN_FLOAT, YY_MOVE (v), YY_MOVE (l));
   }
 
+  inline
   Dhcp6Parser::symbol_type
-  Dhcp6Parser::make_BOOLEAN (const bool& v, const location_type& l)
+  Dhcp6Parser::make_BOOLEAN (YY_COPY (bool) v, YY_COPY (location_type) l)
   {
-    return symbol_type (token::TOKEN_BOOLEAN, v, l);
+    return symbol_type (token::TOKEN_BOOLEAN, YY_MOVE (v), YY_MOVE (l));
   }
 
 
-#line 14 "dhcp6_parser.yy" // lalr1.cc:377
+#line 14 "dhcp6_parser.yy" // lalr1.cc:404
 } } // isc::dhcp
-#line 2960 "dhcp6_parser.h" // lalr1.cc:377
+#line 3277 "dhcp6_parser.h" // lalr1.cc:404
 
 
 
index 239704683c8fa2193dfd7c1bd8641c8df96d8a39..d87a94ca6bf4336f12dfbf69f010e4be7a41729a 100644 (file)
@@ -1,8 +1,9 @@
-// A Bison parser, made by GNU Bison 3.0.4.
+// Generated 201811202258
+// A Bison parser, made by GNU Bison 3.2.1.
 
 // Locations for Bison parsers in C++
 
-// Copyright (C) 2002-2015 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018 Free Software Foundation, Inc.
 
 // This program is free software: you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 #ifndef YY_PARSER6_LOCATION_HH_INCLUDED
 # define YY_PARSER6_LOCATION_HH_INCLUDED
 
-# include "position.hh"
+# include <algorithm> // std::max
+# include <iostream>
+# include <string>
 
-#line 14 "dhcp6_parser.yy" // location.cc:296
+# ifndef YY_NULLPTR
+#  if defined __cplusplus
+#   if 201103L <= __cplusplus
+#    define YY_NULLPTR nullptr
+#   else
+#    define YY_NULLPTR 0
+#   endif
+#  else
+#   define YY_NULLPTR ((void*)0)
+#  endif
+# endif
+
+#line 14 "dhcp6_parser.yy" // location.cc:339
 namespace isc { namespace dhcp {
-#line 46 "location.hh" // location.cc:296
-  /// Abstract a location.
+#line 60 "location.hh" // location.cc:339
+  /// A point in a source file.
+  class position
+  {
+  public:
+    /// Construct a position.
+    explicit position (std::string* f = YY_NULLPTR,
+                       unsigned l = 1u,
+                       unsigned c = 1u)
+      : filename (f)
+      , line (l)
+      , column (c)
+    {}
+
+
+    /// Initialization.
+    void initialize (std::string* fn = YY_NULLPTR,
+                     unsigned l = 1u,
+                     unsigned c = 1u)
+    {
+      filename = fn;
+      line = l;
+      column = c;
+    }
+
+    /** \name Line and Column related manipulators
+     ** \{ */
+    /// (line related) Advance to the COUNT next lines.
+    void lines (int count = 1)
+    {
+      if (count)
+        {
+          column = 1u;
+          line = add_ (line, count, 1);
+        }
+    }
+
+    /// (column related) Advance to the COUNT next columns.
+    void columns (int count = 1)
+    {
+      column = add_ (column, count, 1);
+    }
+    /** \} */
+
+    /// File name to which this position refers.
+    std::string* filename;
+    /// Current line number.
+    unsigned line;
+    /// Current column number.
+    unsigned column;
+
+  private:
+    /// Compute max (min, lhs+rhs).
+    static unsigned add_ (unsigned lhs, int rhs, int min)
+    {
+      return static_cast<unsigned> (std::max (min,
+                                              static_cast<int> (lhs) + rhs));
+    }
+  };
+
+  /// Add \a width columns, in place.
+  inline position&
+  operator+= (position& res, int width)
+  {
+    res.columns (width);
+    return res;
+  }
+
+  /// Add \a width columns.
+  inline position
+  operator+ (position res, int width)
+  {
+    return res += width;
+  }
+
+  /// Subtract \a width columns, in place.
+  inline position&
+  operator-= (position& res, int width)
+  {
+    return res += -width;
+  }
+
+  /// Subtract \a width columns.
+  inline position
+  operator- (position res, int width)
+  {
+    return res -= width;
+  }
+
+  /// Compare two position objects.
+  inline bool
+  operator== (const position& pos1, const position& pos2)
+  {
+    return (pos1.line == pos2.line
+            && pos1.column == pos2.column
+            && (pos1.filename == pos2.filename
+                || (pos1.filename && pos2.filename
+                    && *pos1.filename == *pos2.filename)));
+  }
+
+  /// Compare two position objects.
+  inline bool
+  operator!= (const position& pos1, const position& pos2)
+  {
+    return !(pos1 == pos2);
+  }
+
+  /** \brief Intercept output stream redirection.
+   ** \param ostr the destination output stream
+   ** \param pos a reference to the position to redirect
+   */
+  template <typename YYChar>
+  std::basic_ostream<YYChar>&
+  operator<< (std::basic_ostream<YYChar>& ostr, const position& pos)
+  {
+    if (pos.filename)
+      ostr << *pos.filename << ':';
+    return ostr << pos.line << '.' << pos.column;
+  }
+
+  /// Two points in a source file.
   class location
   {
   public:
@@ -52,30 +186,27 @@ namespace isc { namespace dhcp {
     location (const position& b, const position& e)
       : begin (b)
       , end (e)
-    {
-    }
+    {}
 
     /// Construct a 0-width location in \a p.
     explicit location (const position& p = position ())
       : begin (p)
       , end (p)
-    {
-    }
+    {}
 
     /// Construct a 0-width location in \a f, \a l, \a c.
     explicit location (std::string* f,
-                       unsigned int l = 1u,
-                       unsigned int c = 1u)
+                       unsigned l = 1u,
+                       unsigned c = 1u)
       : begin (f, l, c)
       , end (f, l, c)
-    {
-    }
+    {}
 
 
     /// Initialization.
     void initialize (std::string* f = YY_NULLPTR,
-                     unsigned int l = 1u,
-                     unsigned int c = 1u)
+                     unsigned l = 1u,
+                     unsigned c = 1u)
     {
       begin.initialize (f, l, c);
       end = begin;
@@ -170,10 +301,10 @@ namespace isc { namespace dhcp {
    ** Avoid duplicate information.
    */
   template <typename YYChar>
-  inline std::basic_ostream<YYChar>&
+  std::basic_ostream<YYChar>&
   operator<< (std::basic_ostream<YYChar>& ostr, const location& loc)
   {
-    unsigned int end_col = 0 < loc.end.column ? loc.end.column - 1 : 0;
+    unsigned end_col = 0 < loc.end.column ? loc.end.column - 1 : 0;
     ostr << loc.begin;
     if (loc.end.filename
         && (!loc.begin.filename
@@ -186,7 +317,7 @@ namespace isc { namespace dhcp {
     return ostr;
   }
 
-#line 14 "dhcp6_parser.yy" // location.cc:296
+#line 14 "dhcp6_parser.yy" // location.cc:339
 } } // isc::dhcp
-#line 192 "location.hh" // location.cc:296
+#line 322 "location.hh" // location.cc:339
 #endif // !YY_PARSER6_LOCATION_HH_INCLUDED
index 2ee80e6d0a22726887dabd52d10789130b8e5d56..a5b8de040e9f6b76e6847b40613ee36ff7a6958e 100644 (file)
-// A Bison parser, made by GNU Bison 3.0.4.
-
-// Positions for Bison parsers in C++
-
-// Copyright (C) 2002-2015 Free Software Foundation, Inc.
-
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-
-// You should have received a copy of the GNU General Public License
-// along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-// As a special exception, you may create a larger work that contains
-// part or all of the Bison parser skeleton and distribute that work
-// under terms of your choice, so long as that work isn't itself a
-// parser generator using the skeleton or a modified version thereof
-// as a parser skeleton.  Alternatively, if you modify or redistribute
-// the parser skeleton itself, you may (at your option) remove this
-// special exception, which will cause the skeleton and the resulting
-// Bison output files to be licensed under the GNU General Public
-// License without this special exception.
-
-// This special exception was added by the Free Software Foundation in
-// version 2.2 of Bison.
-
-/**
- ** \file position.hh
- ** Define the isc::dhcp::position class.
- */
-
-#ifndef YY_PARSER6_POSITION_HH_INCLUDED
-# define YY_PARSER6_POSITION_HH_INCLUDED
-
-# include <algorithm> // std::max
-# include <iostream>
-# include <string>
-
-# ifndef YY_NULLPTR
-#  if defined __cplusplus && 201103L <= __cplusplus
-#   define YY_NULLPTR nullptr
-#  else
-#   define YY_NULLPTR 0
-#  endif
-# endif
-
-#line 14 "dhcp6_parser.yy" // location.cc:296
-namespace isc { namespace dhcp {
-#line 56 "position.hh" // location.cc:296
-  /// Abstract a position.
-  class position
-  {
-  public:
-    /// Construct a position.
-    explicit position (std::string* f = YY_NULLPTR,
-                       unsigned int l = 1u,
-                       unsigned int c = 1u)
-      : filename (f)
-      , line (l)
-      , column (c)
-    {
-    }
-
-
-    /// Initialization.
-    void initialize (std::string* fn = YY_NULLPTR,
-                     unsigned int l = 1u,
-                     unsigned int c = 1u)
-    {
-      filename = fn;
-      line = l;
-      column = c;
-    }
-
-    /** \name Line and Column related manipulators
-     ** \{ */
-    /// (line related) Advance to the COUNT next lines.
-    void lines (int count = 1)
-    {
-      if (count)
-        {
-          column = 1u;
-          line = add_ (line, count, 1);
-        }
-    }
-
-    /// (column related) Advance to the COUNT next columns.
-    void columns (int count = 1)
-    {
-      column = add_ (column, count, 1);
-    }
-    /** \} */
-
-    /// File name to which this position refers.
-    std::string* filename;
-    /// Current line number.
-    unsigned int line;
-    /// Current column number.
-    unsigned int column;
-
-  private:
-    /// Compute max(min, lhs+rhs) (provided min <= lhs).
-    static unsigned int add_ (unsigned int lhs, int rhs, unsigned int min)
-    {
-      return (0 < rhs || -static_cast<unsigned int>(rhs) < lhs
-              ? rhs + lhs
-              : min);
-    }
-  };
-
-  /// Add \a width columns, in place.
-  inline position&
-  operator+= (position& res, int width)
-  {
-    res.columns (width);
-    return res;
-  }
-
-  /// Add \a width columns.
-  inline position
-  operator+ (position res, int width)
-  {
-    return res += width;
-  }
-
-  /// Subtract \a width columns, in place.
-  inline position&
-  operator-= (position& res, int width)
-  {
-    return res += -width;
-  }
-
-  /// Subtract \a width columns.
-  inline position
-  operator- (position res, int width)
-  {
-    return res -= width;
-  }
-
-  /// Compare two position objects.
-  inline bool
-  operator== (const position& pos1, const position& pos2)
-  {
-    return (pos1.line == pos2.line
-            && pos1.column == pos2.column
-            && (pos1.filename == pos2.filename
-                || (pos1.filename && pos2.filename
-                    && *pos1.filename == *pos2.filename)));
-  }
-
-  /// Compare two position objects.
-  inline bool
-  operator!= (const position& pos1, const position& pos2)
-  {
-    return !(pos1 == pos2);
-  }
-
-  /** \brief Intercept output stream redirection.
-   ** \param ostr the destination output stream
-   ** \param pos a reference to the position to redirect
-   */
-  template <typename YYChar>
-  inline std::basic_ostream<YYChar>&
-  operator<< (std::basic_ostream<YYChar>& ostr, const position& pos)
-  {
-    if (pos.filename)
-      ostr << *pos.filename << ':';
-    return ostr << pos.line << '.' << pos.column;
-  }
-
-#line 14 "dhcp6_parser.yy" // location.cc:296
-} } // isc::dhcp
-#line 180 "position.hh" // location.cc:296
-#endif // !YY_PARSER6_POSITION_HH_INCLUDED
+// Generated 201811202258
+// A Bison parser, made by GNU Bison 3.2.1.
+
+// Starting with Bison 3.2, this file is useless: the structure it
+// used to define is now defined in "location.hh".
+//
+// To get rid of this file:
+// 1. add 'require "3.2"' (or newer) to your grammar file
+// 2. remove references to this file from your build system
+// 3. if you used to include it, include "location.hh" instead.
+
+#include "location.hh"
index db2863a06ef4a89243bf39cc72557573857e8cf7..4a5cf50be75a0f0eb51997d46ada032c35bd0e23 100644 (file)
@@ -1,157 +1,9 @@
-// A Bison parser, made by GNU Bison 3.0.4.
-
-// Stack handling for Bison parsers in C++
-
-// Copyright (C) 2002-2015 Free Software Foundation, Inc.
-
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-
-// You should have received a copy of the GNU General Public License
-// along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-// As a special exception, you may create a larger work that contains
-// part or all of the Bison parser skeleton and distribute that work
-// under terms of your choice, so long as that work isn't itself a
-// parser generator using the skeleton or a modified version thereof
-// as a parser skeleton.  Alternatively, if you modify or redistribute
-// the parser skeleton itself, you may (at your option) remove this
-// special exception, which will cause the skeleton and the resulting
-// Bison output files to be licensed under the GNU General Public
-// License without this special exception.
-
-// This special exception was added by the Free Software Foundation in
-// version 2.2 of Bison.
-
-/**
- ** \file stack.hh
- ** Define the isc::dhcp::stack class.
- */
-
-#ifndef YY_PARSER6_STACK_HH_INCLUDED
-# define YY_PARSER6_STACK_HH_INCLUDED
-
-# include <vector>
-
-#line 14 "dhcp6_parser.yy" // stack.hh:132
-namespace isc { namespace dhcp {
-#line 46 "stack.hh" // stack.hh:132
-  template <class T, class S = std::vector<T> >
-  class stack
-  {
-  public:
-    // Hide our reversed order.
-    typedef typename S::reverse_iterator iterator;
-    typedef typename S::const_reverse_iterator const_iterator;
-
-    stack ()
-      : seq_ ()
-    {
-      seq_.reserve (200);
-    }
-
-    stack (unsigned int n)
-      : seq_ (n)
-    {}
-
-    inline
-    T&
-    operator[] (unsigned int i)
-    {
-      return seq_[seq_.size () - 1 - i];
-    }
-
-    inline
-    const T&
-    operator[] (unsigned int i) const
-    {
-      return seq_[seq_.size () - 1 - i];
-    }
-
-    /// Steal the contents of \a t.
-    ///
-    /// Close to move-semantics.
-    inline
-    void
-    push (T& t)
-    {
-      seq_.push_back (T());
-      operator[](0).move (t);
-    }
-
-    inline
-    void
-    pop (unsigned int n = 1)
-    {
-      for (; n; --n)
-        seq_.pop_back ();
-    }
-
-    void
-    clear ()
-    {
-      seq_.clear ();
-    }
-
-    inline
-    typename S::size_type
-    size () const
-    {
-      return seq_.size ();
-    }
-
-    inline
-    const_iterator
-    begin () const
-    {
-      return seq_.rbegin ();
-    }
-
-    inline
-    const_iterator
-    end () const
-    {
-      return seq_.rend ();
-    }
-
-  private:
-    stack (const stack&);
-    stack& operator= (const stack&);
-    /// The wrapped container.
-    S seq_;
-  };
-
-  /// Present a slice of the top of a stack.
-  template <class T, class S = stack<T> >
-  class slice
-  {
-  public:
-    slice (const S& stack, unsigned int range)
-      : stack_ (stack)
-      , range_ (range)
-    {}
-
-    inline
-    const T&
-    operator [] (unsigned int i) const
-    {
-      return stack_[range_ - i];
-    }
-
-  private:
-    const S& stack_;
-    unsigned int range_;
-  };
-
-#line 14 "dhcp6_parser.yy" // stack.hh:132
-} } // isc::dhcp
-#line 156 "stack.hh" // stack.hh:132
-
-#endif // !YY_PARSER6_STACK_HH_INCLUDED
+// Generated 201811202258
+// A Bison parser, made by GNU Bison 3.2.1.
+
+// Starting with Bison 3.2, this file is useless: the structure it
+// used to define is now defined with the parser itself.
+//
+// To get rid of this file:
+// 1. add 'require "3.2"' (or newer) to your grammar file
+// 2. remove references to this file from your build system.