Commit 5d1ab11b authored by Francis Dupont's avatar Francis Dupont
Browse files

[master] regen flex/bison files

parent 512390ea
This diff is collapsed.
This diff is collapsed.
......@@ -308,6 +308,7 @@ namespace isc { namespace dhcp {
// map_value
// socket_type
// db_type
// hr_mode
// ncr_protocol_value
// replace_client_name_value
char dummy1[sizeof(ElementPtr)];
......@@ -409,80 +410,83 @@ namespace isc { namespace dhcp {
TOKEN_ID = 318,
TOKEN_RAPID_COMMIT = 319,
TOKEN_RESERVATION_MODE = 320,
TOKEN_HOST_RESERVATION_IDENTIFIERS = 321,
TOKEN_CLIENT_CLASSES = 322,
TOKEN_TEST = 323,
TOKEN_CLIENT_CLASS = 324,
TOKEN_RESERVATIONS = 325,
TOKEN_DUID = 326,
TOKEN_HW_ADDRESS = 327,
TOKEN_CIRCUIT_ID = 328,
TOKEN_CLIENT_ID = 329,
TOKEN_HOSTNAME = 330,
TOKEN_FLEX_ID = 331,
TOKEN_RELAY = 332,
TOKEN_IP_ADDRESS = 333,
TOKEN_HOOKS_LIBRARIES = 334,
TOKEN_LIBRARY = 335,
TOKEN_PARAMETERS = 336,
TOKEN_EXPIRED_LEASES_PROCESSING = 337,
TOKEN_RECLAIM_TIMER_WAIT_TIME = 338,
TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 339,
TOKEN_HOLD_RECLAIMED_TIME = 340,
TOKEN_MAX_RECLAIM_LEASES = 341,
TOKEN_MAX_RECLAIM_TIME = 342,
TOKEN_UNWARNED_RECLAIM_CYCLES = 343,
TOKEN_DHCP4O6_PORT = 344,
TOKEN_CONTROL_SOCKET = 345,
TOKEN_SOCKET_TYPE = 346,
TOKEN_SOCKET_NAME = 347,
TOKEN_DHCP_DDNS = 348,
TOKEN_ENABLE_UPDATES = 349,
TOKEN_QUALIFYING_SUFFIX = 350,
TOKEN_SERVER_IP = 351,
TOKEN_SERVER_PORT = 352,
TOKEN_SENDER_IP = 353,
TOKEN_SENDER_PORT = 354,
TOKEN_MAX_QUEUE_SIZE = 355,
TOKEN_NCR_PROTOCOL = 356,
TOKEN_NCR_FORMAT = 357,
TOKEN_ALWAYS_INCLUDE_FQDN = 358,
TOKEN_OVERRIDE_NO_UPDATE = 359,
TOKEN_OVERRIDE_CLIENT_UPDATE = 360,
TOKEN_REPLACE_CLIENT_NAME = 361,
TOKEN_GENERATED_PREFIX = 362,
TOKEN_TCP = 363,
TOKEN_JSON = 364,
TOKEN_WHEN_PRESENT = 365,
TOKEN_NEVER = 366,
TOKEN_ALWAYS = 367,
TOKEN_WHEN_NOT_PRESENT = 368,
TOKEN_LOGGING = 369,
TOKEN_LOGGERS = 370,
TOKEN_OUTPUT_OPTIONS = 371,
TOKEN_OUTPUT = 372,
TOKEN_DEBUGLEVEL = 373,
TOKEN_SEVERITY = 374,
TOKEN_FLUSH = 375,
TOKEN_MAXSIZE = 376,
TOKEN_MAXVER = 377,
TOKEN_DHCP6 = 378,
TOKEN_DHCPDDNS = 379,
TOKEN_TOPLEVEL_JSON = 380,
TOKEN_TOPLEVEL_DHCP4 = 381,
TOKEN_SUB_DHCP4 = 382,
TOKEN_SUB_INTERFACES4 = 383,
TOKEN_SUB_SUBNET4 = 384,
TOKEN_SUB_POOL4 = 385,
TOKEN_SUB_RESERVATION = 386,
TOKEN_SUB_OPTION_DEF = 387,
TOKEN_SUB_OPTION_DATA = 388,
TOKEN_SUB_HOOKS_LIBRARY = 389,
TOKEN_SUB_DHCP_DDNS = 390,
TOKEN_STRING = 391,
TOKEN_INTEGER = 392,
TOKEN_FLOAT = 393,
TOKEN_BOOLEAN = 394
TOKEN_DISABLED = 321,
TOKEN_OUT_OF_POOL = 322,
TOKEN_ALL = 323,
TOKEN_HOST_RESERVATION_IDENTIFIERS = 324,
TOKEN_CLIENT_CLASSES = 325,
TOKEN_TEST = 326,
TOKEN_CLIENT_CLASS = 327,
TOKEN_RESERVATIONS = 328,
TOKEN_DUID = 329,
TOKEN_HW_ADDRESS = 330,
TOKEN_CIRCUIT_ID = 331,
TOKEN_CLIENT_ID = 332,
TOKEN_HOSTNAME = 333,
TOKEN_FLEX_ID = 334,
TOKEN_RELAY = 335,
TOKEN_IP_ADDRESS = 336,
TOKEN_HOOKS_LIBRARIES = 337,
TOKEN_LIBRARY = 338,
TOKEN_PARAMETERS = 339,
TOKEN_EXPIRED_LEASES_PROCESSING = 340,
TOKEN_RECLAIM_TIMER_WAIT_TIME = 341,
TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 342,
TOKEN_HOLD_RECLAIMED_TIME = 343,
TOKEN_MAX_RECLAIM_LEASES = 344,
TOKEN_MAX_RECLAIM_TIME = 345,
TOKEN_UNWARNED_RECLAIM_CYCLES = 346,
TOKEN_DHCP4O6_PORT = 347,
TOKEN_CONTROL_SOCKET = 348,
TOKEN_SOCKET_TYPE = 349,
TOKEN_SOCKET_NAME = 350,
TOKEN_DHCP_DDNS = 351,
TOKEN_ENABLE_UPDATES = 352,
TOKEN_QUALIFYING_SUFFIX = 353,
TOKEN_SERVER_IP = 354,
TOKEN_SERVER_PORT = 355,
TOKEN_SENDER_IP = 356,
TOKEN_SENDER_PORT = 357,
TOKEN_MAX_QUEUE_SIZE = 358,
TOKEN_NCR_PROTOCOL = 359,
TOKEN_NCR_FORMAT = 360,
TOKEN_ALWAYS_INCLUDE_FQDN = 361,
TOKEN_OVERRIDE_NO_UPDATE = 362,
TOKEN_OVERRIDE_CLIENT_UPDATE = 363,
TOKEN_REPLACE_CLIENT_NAME = 364,
TOKEN_GENERATED_PREFIX = 365,
TOKEN_TCP = 366,
TOKEN_JSON = 367,
TOKEN_WHEN_PRESENT = 368,
TOKEN_NEVER = 369,
TOKEN_ALWAYS = 370,
TOKEN_WHEN_NOT_PRESENT = 371,
TOKEN_LOGGING = 372,
TOKEN_LOGGERS = 373,
TOKEN_OUTPUT_OPTIONS = 374,
TOKEN_OUTPUT = 375,
TOKEN_DEBUGLEVEL = 376,
TOKEN_SEVERITY = 377,
TOKEN_FLUSH = 378,
TOKEN_MAXSIZE = 379,
TOKEN_MAXVER = 380,
TOKEN_DHCP6 = 381,
TOKEN_DHCPDDNS = 382,
TOKEN_TOPLEVEL_JSON = 383,
TOKEN_TOPLEVEL_DHCP4 = 384,
TOKEN_SUB_DHCP4 = 385,
TOKEN_SUB_INTERFACES4 = 386,
TOKEN_SUB_SUBNET4 = 387,
TOKEN_SUB_POOL4 = 388,
TOKEN_SUB_RESERVATION = 389,
TOKEN_SUB_OPTION_DEF = 390,
TOKEN_SUB_OPTION_DATA = 391,
TOKEN_SUB_HOOKS_LIBRARY = 392,
TOKEN_SUB_DHCP_DDNS = 393,
TOKEN_STRING = 394,
TOKEN_INTEGER = 395,
TOKEN_FLOAT = 396,
TOKEN_BOOLEAN = 397
};
};
......@@ -853,6 +857,18 @@ namespace isc { namespace dhcp {
symbol_type
make_RESERVATION_MODE (const location_type& l);
static inline
symbol_type
make_DISABLED (const location_type& l);
static inline
symbol_type
make_OUT_OF_POOL (const location_type& l);
static inline
symbol_type
make_ALL (const location_type& l);
static inline
symbol_type
make_HOST_RESERVATION_IDENTIFIERS (const location_type& l);
......@@ -1354,12 +1370,12 @@ namespace isc { namespace dhcp {
enum
{
yyeof_ = 0,
yylast_ = 740, ///< Last index in yytable_.
yynnts_ = 314, ///< Number of nonterminal symbols.
yylast_ = 743, ///< Last index in yytable_.
yynnts_ = 315, ///< Number of nonterminal symbols.
yyfinal_ = 24, ///< Termination state number.
yyterror_ = 1,
yyerrcode_ = 256,
yyntokens_ = 140 ///< Number of tokens.
yyntokens_ = 143 ///< Number of tokens.
};
......@@ -1415,9 +1431,9 @@ namespace isc { namespace dhcp {
105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
135, 136, 137, 138, 139
135, 136, 137, 138, 139, 140, 141, 142
};
const unsigned int user_token_number_max_ = 394;
const unsigned int user_token_number_max_ = 397;
const token_number_type undef_token_ = 2;
if (static_cast<int>(t) <= yyeof_)
......@@ -1450,28 +1466,29 @@ namespace isc { namespace dhcp {
{
switch (other.type_get ())
{
case 153: // value
case 157: // map_value
case 195: // socket_type
case 205: // db_type
case 413: // ncr_protocol_value
case 421: // replace_client_name_value
case 156: // value
case 160: // map_value
case 198: // socket_type
case 208: // db_type
case 285: // hr_mode
case 417: // ncr_protocol_value
case 425: // replace_client_name_value
value.copy< ElementPtr > (other.value);
break;
case 139: // "boolean"
case 142: // "boolean"
value.copy< bool > (other.value);
break;
case 138: // "floating point"
case 141: // "floating point"
value.copy< double > (other.value);
break;
case 137: // "integer"
case 140: // "integer"
value.copy< int64_t > (other.value);
break;
case 136: // "constant string"
case 139: // "constant string"
value.copy< std::string > (other.value);
break;
......@@ -1492,28 +1509,29 @@ namespace isc { namespace dhcp {
(void) v;
switch (this->type_get ())
{
case 153: // value
case 157: // map_value
case 195: // socket_type
case 205: // db_type
case 413: // ncr_protocol_value
case 421: // replace_client_name_value
case 156: // value
case 160: // map_value
case 198: // socket_type
case 208: // db_type
case 285: // hr_mode
case 417: // ncr_protocol_value
case 425: // replace_client_name_value
value.copy< ElementPtr > (v);
break;
case 139: // "boolean"
case 142: // "boolean"
value.copy< bool > (v);
break;
case 138: // "floating point"
case 141: // "floating point"
value.copy< double > (v);
break;
case 137: // "integer"
case 140: // "integer"
value.copy< int64_t > (v);
break;
case 136: // "constant string"
case 139: // "constant string"
value.copy< std::string > (v);
break;
......@@ -1593,28 +1611,29 @@ namespace isc { namespace dhcp {
// Type destructor.
switch (yytype)
{
case 153: // value
case 157: // map_value
case 195: // socket_type
case 205: // db_type
case 413: // ncr_protocol_value
case 421: // replace_client_name_value
case 156: // value
case 160: // map_value
case 198: // socket_type
case 208: // db_type
case 285: // hr_mode
case 417: // ncr_protocol_value
case 425: // replace_client_name_value
value.template destroy< ElementPtr > ();
break;
case 139: // "boolean"
case 142: // "boolean"
value.template destroy< bool > ();
break;
case 138: // "floating point"
case 141: // "floating point"
value.template destroy< double > ();
break;
case 137: // "integer"
case 140: // "integer"
value.template destroy< int64_t > ();
break;
case 136: // "constant string"
case 139: // "constant string"
value.template destroy< std::string > ();
break;
......@@ -1641,28 +1660,29 @@ namespace isc { namespace dhcp {
super_type::move(s);
switch (this->type_get ())
{
case 153: // value
case 157: // map_value
case 195: // socket_type
case 205: // db_type
case 413: // ncr_protocol_value
case 421: // replace_client_name_value
case 156: // value
case 160: // map_value
case 198: // socket_type
case 208: // db_type
case 285: // hr_mode
case 417: // ncr_protocol_value
case 425: // replace_client_name_value
value.move< ElementPtr > (s.value);
break;
case 139: // "boolean"
case 142: // "boolean"
value.move< bool > (s.value);
break;
case 138: // "floating point"
case 141: // "floating point"
value.move< double > (s.value);
break;
case 137: // "integer"
case 140: // "integer"
value.move< int64_t > (s.value);
break;
case 136: // "constant string"
case 139: // "constant string"
value.move< std::string > (s.value);
break;
......@@ -1734,7 +1754,8 @@ namespace isc { namespace dhcp {
355, 356, 357, 358, 359, 360, 361, 362, 363, 364,
365, 366, 367, 368, 369, 370, 371, 372, 373, 374,
375, 376, 377, 378, 379, 380, 381, 382, 383, 384,
385, 386, 387, 388, 389, 390, 391, 392, 393, 394
385, 386, 387, 388, 389, 390, 391, 392, 393, 394,
395, 396, 397
};
return static_cast<token_type> (yytoken_number_[type]);
}
......@@ -2123,6 +2144,24 @@ namespace isc { namespace dhcp {
return symbol_type (token::TOKEN_RESERVATION_MODE, l);
}
Dhcp4Parser::symbol_type
Dhcp4Parser::make_DISABLED (const location_type& l)
{
return symbol_type (token::TOKEN_DISABLED, l);
}
Dhcp4Parser::symbol_type
Dhcp4Parser::make_OUT_OF_POOL (const location_type& l)
{
return symbol_type (token::TOKEN_OUT_OF_POOL, l);
}
Dhcp4Parser::symbol_type
Dhcp4Parser::make_ALL (const location_type& l)
{
return symbol_type (token::TOKEN_ALL, l);
}
Dhcp4Parser::symbol_type
Dhcp4Parser::make_HOST_RESERVATION_IDENTIFIERS (const location_type& l)
{
......@@ -2570,7 +2609,7 @@ namespace isc { namespace dhcp {
#line 14 "dhcp4_parser.yy" // lalr1.cc:377
} } // isc::dhcp
#line 2574 "dhcp4_parser.h" // lalr1.cc:377
#line 2613 "dhcp4_parser.h" // lalr1.cc:377
......
// Generated 201701262348
// Generated 201707061111
// A Bison parser, made by GNU Bison 3.0.4.
// Locations for Bison parsers in C++
......
// Generated 201701262348
// Generated 201707061111
// A Bison parser, made by GNU Bison 3.0.4.
// Positions for Bison parsers in C++
......
// Generated 201701262348
// Generated 201707061111
// A Bison parser, made by GNU Bison 3.0.4.
// Stack handling for Bison parsers in C++
......
This diff is collapsed.
This diff is collapsed.
......@@ -307,6 +307,7 @@ namespace isc { namespace dhcp {
// value
// map_value
// db_type
// hr_mode
// duid_type
// ncr_protocol_value
// replace_client_name_value
......@@ -405,92 +406,95 @@ namespace isc { namespace dhcp {
TOKEN_ID = 314,
TOKEN_RAPID_COMMIT = 315,
TOKEN_RESERVATION_MODE = 316,
TOKEN_MAC_SOURCES = 317,
TOKEN_RELAY_SUPPLIED_OPTIONS = 318,
TOKEN_HOST_RESERVATION_IDENTIFIERS = 319,
TOKEN_CLIENT_CLASSES = 320,
TOKEN_TEST = 321,
TOKEN_CLIENT_CLASS = 322,
TOKEN_RESERVATIONS = 323,
TOKEN_IP_ADDRESSES = 324,
TOKEN_PREFIXES = 325,
TOKEN_DUID = 326,
TOKEN_HW_ADDRESS = 327,
TOKEN_HOSTNAME = 328,
TOKEN_FLEX_ID = 329,
TOKEN_RELAY = 330,
TOKEN_IP_ADDRESS = 331,
TOKEN_HOOKS_LIBRARIES = 332,
TOKEN_LIBRARY = 333,
TOKEN_PARAMETERS = 334,
TOKEN_EXPIRED_LEASES_PROCESSING = 335,
TOKEN_RECLAIM_TIMER_WAIT_TIME = 336,
TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 337,
TOKEN_HOLD_RECLAIMED_TIME = 338,
TOKEN_MAX_RECLAIM_LEASES = 339,
TOKEN_MAX_RECLAIM_TIME = 340,
TOKEN_UNWARNED_RECLAIM_CYCLES = 341,
TOKEN_SERVER_ID = 342,
TOKEN_LLT = 343,
TOKEN_EN = 344,
TOKEN_LL = 345,
TOKEN_IDENTIFIER = 346,
TOKEN_HTYPE = 347,
TOKEN_TIME = 348,
TOKEN_ENTERPRISE_ID = 349,
TOKEN_DHCP4O6_PORT = 350,
TOKEN_CONTROL_SOCKET = 351,
TOKEN_SOCKET_TYPE = 352,
TOKEN_SOCKET_NAME = 353,
TOKEN_DHCP_DDNS = 354,
TOKEN_ENABLE_UPDATES = 355,
TOKEN_QUALIFYING_SUFFIX = 356,
TOKEN_SERVER_IP = 357,
TOKEN_SERVER_PORT = 358,
TOKEN_SENDER_IP = 359,
TOKEN_SENDER_PORT = 360,
TOKEN_MAX_QUEUE_SIZE = 361,
TOKEN_NCR_PROTOCOL = 362,
TOKEN_NCR_FORMAT = 363,
TOKEN_ALWAYS_INCLUDE_FQDN = 364,
TOKEN_OVERRIDE_NO_UPDATE = 365,
TOKEN_OVERRIDE_CLIENT_UPDATE = 366,
TOKEN_REPLACE_CLIENT_NAME = 367,
TOKEN_GENERATED_PREFIX = 368,
TOKEN_UDP = 369,
TOKEN_TCP = 370,
TOKEN_JSON = 371,
TOKEN_WHEN_PRESENT = 372,
TOKEN_NEVER = 373,
TOKEN_ALWAYS = 374,
TOKEN_WHEN_NOT_PRESENT = 375,
TOKEN_LOGGING = 376,
TOKEN_LOGGERS = 377,
TOKEN_OUTPUT_OPTIONS = 378,
TOKEN_OUTPUT = 379,
TOKEN_DEBUGLEVEL = 380,
TOKEN_SEVERITY = 381,
TOKEN_FLUSH = 382,
TOKEN_MAXSIZE = 383,
TOKEN_MAXVER = 384,
TOKEN_DHCP4 = 385,
TOKEN_DHCPDDNS = 386,
TOKEN_TOPLEVEL_JSON = 387,
TOKEN_TOPLEVEL_DHCP6 = 388,
TOKEN_SUB_DHCP6 = 389,
TOKEN_SUB_INTERFACES6 = 390,
TOKEN_SUB_SUBNET6 = 391,
TOKEN_SUB_POOL6 = 392,
TOKEN_SUB_PD_POOL = 393,
TOKEN_SUB_RESERVATION = 394,
TOKEN_SUB_OPTION_DEF = 395,
TOKEN_SUB_OPTION_DATA = 396,
TOKEN_SUB_HOOKS_LIBRARY = 397,
TOKEN_SUB_DHCP_DDNS = 398,
TOKEN_STRING = 399,
TOKEN_INTEGER = 400,
TOKEN_FLOAT = 401,
TOKEN_BOOLEAN = 402
TOKEN_DISABLED = 317,
TOKEN_OUT_OF_POOL = 318,
TOKEN_ALL = 319,
TOKEN_MAC_SOURCES = 320,
TOKEN_RELAY_SUPPLIED_OPTIONS = 321,
TOKEN_HOST_RESERVATION_IDENTIFIERS = 322,
TOKEN_CLIENT_CLASSES = 323,
TOKEN_TEST = 324,
TOKEN_CLIENT_CLASS = 325,
TOKEN_RESERVATIONS = 326,
TOKEN_IP_ADDRESSES = 327,
TOKEN_PREFIXES = 328,
TOKEN_DUID = 329,
TOKEN_HW_ADDRESS = 330,
TOKEN_HOSTNAME = 331,
TOKEN_FLEX_ID = 332,
TOKEN_RELAY = 333,
TOKEN_IP_ADDRESS = 334,
TOKEN_HOOKS_LIBRARIES = 335,
TOKEN_LIBRARY = 336,
TOKEN_PARAMETERS = 337,
TOKEN_EXPIRED_LEASES_PROCESSING = 338,
TOKEN_RECLAIM_TIMER_WAIT_TIME = 339,
TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 340,
TOKEN_HOLD_RECLAIMED_TIME = 341,
TOKEN_MAX_RECLAIM_LEASES = 342,
TOKEN_MAX_RECLAIM_TIME = 343,
TOKEN_UNWARNED_RECLAIM_CYCLES = 344,
TOKEN_SERVER_ID = 345,
TOKEN_LLT = 346,
TOKEN_EN = 347,
TOKEN_LL = 348,
TOKEN_IDENTIFIER = 349,
TOKEN_HTYPE = 350,
TOKEN_TIME = 351,
TOKEN_ENTERPRISE_ID = 352,
TOKEN_DHCP4O6_PORT = 353,
TOKEN_CONTROL_SOCKET = 354,
TOKEN_SOCKET_TYPE = 355,
TOKEN_SOCKET_NAME = 356,
TOKEN_DHCP_DDNS = 357,
TOKEN_ENABLE_UPDATES = 358,
TOKEN_QUALIFYING_SUFFIX = 359,
TOKEN_SERVER_IP = 360,
TOKEN_SERVER_PORT = 361,
TOKEN_SENDER_IP = 362,
TOKEN_SENDER_PORT = 363,
TOKEN_MAX_QUEUE_SIZE = 364,
TOKEN_NCR_PROTOCOL = 365,
TOKEN_NCR_FORMAT = 366,
TOKEN_ALWAYS_INCLUDE_FQDN = 367,
TOKEN_OVERRIDE_NO_UPDATE = 368,
TOKEN_OVERRIDE_CLIENT_UPDATE = 369,
TOKEN_REPLACE_CLIENT_NAME = 370,
TOKEN_GENERATED_PREFIX = 371,
TOKEN_UDP = 372,
TOKEN_TCP = 373,
TOKEN_JSON = 374,
TOKEN_WHEN_PRESENT = 375,
TOKEN_NEVER = 376,
TOKEN_ALWAYS = 377,
TOKEN_WHEN_NOT_PRESENT = 378,
TOKEN_LOGGING = 379,
TOKEN_LOGGERS = 380,
TOKEN_OUTPUT_OPTIONS = 381,
TOKEN_OUTPUT = 382,
TOKEN_DEBUGLEVEL = 383,
TOKEN_SEVERITY = 384,
TOKEN_FLUSH = 385,
TOKEN_MAXSIZE = 386,
TOKEN_MAXVER = 387,
TOKEN_DHCP4 = 388,
TOKEN_DHCPDDNS = 389,
TOKEN_TOPLEVEL_JSON = 390,
TOKEN_TOPLEVEL_DHCP6 = 391,
TOKEN_SUB_DHCP6 = 392,
TOKEN_SUB_INTERFACES6 = 393,
TOKEN_SUB_SUBNET6 = 394,
TOKEN_SUB_POOL6 = 395,