Commit 85fbb33e authored by Marcin Siodelski's avatar Marcin Siodelski

[master] Regenerated parsers after merge of #5377.

parent 4ba2136e
This diff is collapsed.
This diff is collapsed.
......@@ -307,6 +307,7 @@ namespace isc { namespace dhcp {
// value
// map_value
// socket_type
// outbound_interface_value
// db_type
// hr_mode
// ncr_protocol_value
......@@ -360,137 +361,140 @@ namespace isc { namespace dhcp {
TOKEN_DHCP_SOCKET_TYPE = 268,
TOKEN_RAW = 269,
TOKEN_UDP = 270,
TOKEN_RE_DETECT = 271,
TOKEN_ECHO_CLIENT_ID = 272,
TOKEN_MATCH_CLIENT_ID = 273,
TOKEN_NEXT_SERVER = 274,
TOKEN_SERVER_HOSTNAME = 275,
TOKEN_BOOT_FILE_NAME = 276,
TOKEN_LEASE_DATABASE = 277,
TOKEN_HOSTS_DATABASE = 278,
TOKEN_TYPE = 279,
TOKEN_MEMFILE = 280,
TOKEN_MYSQL = 281,
TOKEN_POSTGRESQL = 282,
TOKEN_CQL = 283,
TOKEN_USER = 284,
TOKEN_PASSWORD = 285,
TOKEN_HOST = 286,
TOKEN_PORT = 287,
TOKEN_PERSIST = 288,
TOKEN_LFC_INTERVAL = 289,
TOKEN_READONLY = 290,
TOKEN_CONNECT_TIMEOUT = 291,
TOKEN_CONTACT_POINTS = 292,
TOKEN_KEYSPACE = 293,
TOKEN_VALID_LIFETIME = 294,
TOKEN_RENEW_TIMER = 295,
TOKEN_REBIND_TIMER = 296,
TOKEN_DECLINE_PROBATION_PERIOD = 297,
TOKEN_SUBNET4 = 298,
TOKEN_SUBNET_4O6_INTERFACE = 299,
TOKEN_SUBNET_4O6_INTERFACE_ID = 300,
TOKEN_SUBNET_4O6_SUBNET = 301,
TOKEN_OPTION_DEF = 302,
TOKEN_OPTION_DATA = 303,
TOKEN_NAME = 304,
TOKEN_DATA = 305,
TOKEN_CODE = 306,
TOKEN_SPACE = 307,
TOKEN_CSV_FORMAT = 308,
TOKEN_ALWAYS_SEND = 309,
TOKEN_RECORD_TYPES = 310,
TOKEN_ENCAPSULATE = 311,
TOKEN_ARRAY = 312,
TOKEN_SHARED_NETWORKS = 313,
TOKEN_POOLS = 314,
TOKEN_POOL = 315,
TOKEN_USER_CONTEXT = 316,
TOKEN_SUBNET = 317,
TOKEN_INTERFACE = 318,
TOKEN_INTERFACE_ID = 319,
TOKEN_ID = 320,
TOKEN_RAPID_COMMIT = 321,
TOKEN_RESERVATION_MODE = 322,
TOKEN_DISABLED = 323,
TOKEN_OUT_OF_POOL = 324,
TOKEN_ALL = 325,
TOKEN_HOST_RESERVATION_IDENTIFIERS = 326,
TOKEN_CLIENT_CLASSES = 327,
TOKEN_TEST = 328,
TOKEN_CLIENT_CLASS = 329,
TOKEN_RESERVATIONS = 330,
TOKEN_DUID = 331,
TOKEN_HW_ADDRESS = 332,
TOKEN_CIRCUIT_ID = 333,
TOKEN_CLIENT_ID = 334,
TOKEN_HOSTNAME = 335,
TOKEN_FLEX_ID = 336,
TOKEN_RELAY = 337,
TOKEN_IP_ADDRESS = 338,
TOKEN_HOOKS_LIBRARIES = 339,
TOKEN_LIBRARY = 340,
TOKEN_PARAMETERS = 341,
TOKEN_EXPIRED_LEASES_PROCESSING = 342,
TOKEN_RECLAIM_TIMER_WAIT_TIME = 343,
TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 344,
TOKEN_HOLD_RECLAIMED_TIME = 345,
TOKEN_MAX_RECLAIM_LEASES = 346,
TOKEN_MAX_RECLAIM_TIME = 347,
TOKEN_UNWARNED_RECLAIM_CYCLES = 348,
TOKEN_DHCP4O6_PORT = 349,
TOKEN_CONTROL_SOCKET = 350,
TOKEN_SOCKET_TYPE = 351,
TOKEN_SOCKET_NAME = 352,
TOKEN_DHCP_DDNS = 353,
TOKEN_ENABLE_UPDATES = 354,
TOKEN_QUALIFYING_SUFFIX = 355,
TOKEN_SERVER_IP = 356,
TOKEN_SERVER_PORT = 357,
TOKEN_SENDER_IP = 358,
TOKEN_SENDER_PORT = 359,
TOKEN_MAX_QUEUE_SIZE = 360,
TOKEN_NCR_PROTOCOL = 361,
TOKEN_NCR_FORMAT = 362,
TOKEN_ALWAYS_INCLUDE_FQDN = 363,
TOKEN_OVERRIDE_NO_UPDATE = 364,
TOKEN_OVERRIDE_CLIENT_UPDATE = 365,
TOKEN_REPLACE_CLIENT_NAME = 366,
TOKEN_GENERATED_PREFIX = 367,
TOKEN_TCP = 368,
TOKEN_JSON = 369,
TOKEN_WHEN_PRESENT = 370,
TOKEN_NEVER = 371,
TOKEN_ALWAYS = 372,
TOKEN_WHEN_NOT_PRESENT = 373,
TOKEN_LOGGING = 374,
TOKEN_LOGGERS = 375,
TOKEN_OUTPUT_OPTIONS = 376,
TOKEN_OUTPUT = 377,
TOKEN_DEBUGLEVEL = 378,
TOKEN_SEVERITY = 379,
TOKEN_FLUSH = 380,
TOKEN_MAXSIZE = 381,
TOKEN_MAXVER = 382,
TOKEN_DHCP6 = 383,
TOKEN_DHCPDDNS = 384,
TOKEN_CONTROL_AGENT = 385,
TOKEN_TOPLEVEL_JSON = 386,
TOKEN_TOPLEVEL_DHCP4 = 387,
TOKEN_SUB_DHCP4 = 388,
TOKEN_SUB_INTERFACES4 = 389,
TOKEN_SUB_SUBNET4 = 390,
TOKEN_SUB_POOL4 = 391,
TOKEN_SUB_RESERVATION = 392,
TOKEN_SUB_OPTION_DEFS = 393,
TOKEN_SUB_OPTION_DEF = 394,
TOKEN_SUB_OPTION_DATA = 395,
TOKEN_SUB_HOOKS_LIBRARY = 396,
TOKEN_SUB_DHCP_DDNS = 397,
TOKEN_STRING = 398,
TOKEN_INTEGER = 399,
TOKEN_FLOAT = 400,
TOKEN_BOOLEAN = 401
TOKEN_OUTBOUND_INTERFACE = 271,
TOKEN_SAME_AS_INBOUND = 272,
TOKEN_USE_ROUTING = 273,
TOKEN_RE_DETECT = 274,
TOKEN_ECHO_CLIENT_ID = 275,
TOKEN_MATCH_CLIENT_ID = 276,
TOKEN_NEXT_SERVER = 277,
TOKEN_SERVER_HOSTNAME = 278,
TOKEN_BOOT_FILE_NAME = 279,
TOKEN_LEASE_DATABASE = 280,
TOKEN_HOSTS_DATABASE = 281,
TOKEN_TYPE = 282,
TOKEN_MEMFILE = 283,
TOKEN_MYSQL = 284,
TOKEN_POSTGRESQL = 285,
TOKEN_CQL = 286,
TOKEN_USER = 287,
TOKEN_PASSWORD = 288,
TOKEN_HOST = 289,
TOKEN_PORT = 290,
TOKEN_PERSIST = 291,
TOKEN_LFC_INTERVAL = 292,
TOKEN_READONLY = 293,
TOKEN_CONNECT_TIMEOUT = 294,
TOKEN_CONTACT_POINTS = 295,
TOKEN_KEYSPACE = 296,
TOKEN_VALID_LIFETIME = 297,
TOKEN_RENEW_TIMER = 298,
TOKEN_REBIND_TIMER = 299,
TOKEN_DECLINE_PROBATION_PERIOD = 300,
TOKEN_SUBNET4 = 301,
TOKEN_SUBNET_4O6_INTERFACE = 302,
TOKEN_SUBNET_4O6_INTERFACE_ID = 303,
TOKEN_SUBNET_4O6_SUBNET = 304,
TOKEN_OPTION_DEF = 305,
TOKEN_OPTION_DATA = 306,
TOKEN_NAME = 307,
TOKEN_DATA = 308,
TOKEN_CODE = 309,
TOKEN_SPACE = 310,
TOKEN_CSV_FORMAT = 311,
TOKEN_ALWAYS_SEND = 312,
TOKEN_RECORD_TYPES = 313,
TOKEN_ENCAPSULATE = 314,
TOKEN_ARRAY = 315,
TOKEN_SHARED_NETWORKS = 316,
TOKEN_POOLS = 317,
TOKEN_POOL = 318,
TOKEN_USER_CONTEXT = 319,
TOKEN_SUBNET = 320,
TOKEN_INTERFACE = 321,
TOKEN_INTERFACE_ID = 322,
TOKEN_ID = 323,
TOKEN_RAPID_COMMIT = 324,
TOKEN_RESERVATION_MODE = 325,
TOKEN_DISABLED = 326,
TOKEN_OUT_OF_POOL = 327,
TOKEN_ALL = 328,
TOKEN_HOST_RESERVATION_IDENTIFIERS = 329,
TOKEN_CLIENT_CLASSES = 330,
TOKEN_TEST = 331,
TOKEN_CLIENT_CLASS = 332,
TOKEN_RESERVATIONS = 333,
TOKEN_DUID = 334,
TOKEN_HW_ADDRESS = 335,
TOKEN_CIRCUIT_ID = 336,
TOKEN_CLIENT_ID = 337,
TOKEN_HOSTNAME = 338,
TOKEN_FLEX_ID = 339,
TOKEN_RELAY = 340,
TOKEN_IP_ADDRESS = 341,
TOKEN_HOOKS_LIBRARIES = 342,
TOKEN_LIBRARY = 343,
TOKEN_PARAMETERS = 344,
TOKEN_EXPIRED_LEASES_PROCESSING = 345,
TOKEN_RECLAIM_TIMER_WAIT_TIME = 346,
TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 347,
TOKEN_HOLD_RECLAIMED_TIME = 348,
TOKEN_MAX_RECLAIM_LEASES = 349,
TOKEN_MAX_RECLAIM_TIME = 350,
TOKEN_UNWARNED_RECLAIM_CYCLES = 351,
TOKEN_DHCP4O6_PORT = 352,
TOKEN_CONTROL_SOCKET = 353,
TOKEN_SOCKET_TYPE = 354,
TOKEN_SOCKET_NAME = 355,
TOKEN_DHCP_DDNS = 356,
TOKEN_ENABLE_UPDATES = 357,
TOKEN_QUALIFYING_SUFFIX = 358,
TOKEN_SERVER_IP = 359,
TOKEN_SERVER_PORT = 360,
TOKEN_SENDER_IP = 361,
TOKEN_SENDER_PORT = 362,
TOKEN_MAX_QUEUE_SIZE = 363,
TOKEN_NCR_PROTOCOL = 364,
TOKEN_NCR_FORMAT = 365,
TOKEN_ALWAYS_INCLUDE_FQDN = 366,
TOKEN_OVERRIDE_NO_UPDATE = 367,
TOKEN_OVERRIDE_CLIENT_UPDATE = 368,
TOKEN_REPLACE_CLIENT_NAME = 369,
TOKEN_GENERATED_PREFIX = 370,
TOKEN_TCP = 371,
TOKEN_JSON = 372,
TOKEN_WHEN_PRESENT = 373,
TOKEN_NEVER = 374,
TOKEN_ALWAYS = 375,
TOKEN_WHEN_NOT_PRESENT = 376,
TOKEN_LOGGING = 377,
TOKEN_LOGGERS = 378,
TOKEN_OUTPUT_OPTIONS = 379,
TOKEN_OUTPUT = 380,
TOKEN_DEBUGLEVEL = 381,
TOKEN_SEVERITY = 382,
TOKEN_FLUSH = 383,
TOKEN_MAXSIZE = 384,
TOKEN_MAXVER = 385,
TOKEN_DHCP6 = 386,
TOKEN_DHCPDDNS = 387,
TOKEN_CONTROL_AGENT = 388,
TOKEN_TOPLEVEL_JSON = 389,
TOKEN_TOPLEVEL_DHCP4 = 390,
TOKEN_SUB_DHCP4 = 391,
TOKEN_SUB_INTERFACES4 = 392,
TOKEN_SUB_SUBNET4 = 393,
TOKEN_SUB_POOL4 = 394,
TOKEN_SUB_RESERVATION = 395,
TOKEN_SUB_OPTION_DEFS = 396,
TOKEN_SUB_OPTION_DEF = 397,
TOKEN_SUB_OPTION_DATA = 398,
TOKEN_SUB_HOOKS_LIBRARY = 399,
TOKEN_SUB_DHCP_DDNS = 400,
TOKEN_STRING = 401,
TOKEN_INTEGER = 402,
TOKEN_FLOAT = 403,
TOKEN_BOOLEAN = 404
};
};
......@@ -661,6 +665,18 @@ namespace isc { namespace dhcp {
symbol_type
make_UDP (const location_type& l);
static inline
symbol_type
make_OUTBOUND_INTERFACE (const location_type& l);
static inline
symbol_type
make_SAME_AS_INBOUND (const location_type& l);
static inline
symbol_type
make_USE_ROUTING (const location_type& l);
static inline
symbol_type
make_RE_DETECT (const location_type& l);
......@@ -1390,12 +1406,12 @@ namespace isc { namespace dhcp {
enum
{
yyeof_ = 0,
yylast_ = 788, ///< Last index in yytable_.
yynnts_ = 329, ///< Number of nonterminal symbols.
yylast_ = 795, ///< Last index in yytable_.
yynnts_ = 332, ///< Number of nonterminal symbols.
yyfinal_ = 26, ///< Termination state number.
yyterror_ = 1,
yyerrcode_ = 256,
yyntokens_ = 147 ///< Number of tokens.
yyntokens_ = 150 ///< Number of tokens.
};
......@@ -1452,9 +1468,9 @@ namespace isc { namespace dhcp {
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
145, 146
145, 146, 147, 148, 149
};
const unsigned int user_token_number_max_ = 401;
const unsigned int user_token_number_max_ = 404;
const token_number_type undef_token_ = 2;
if (static_cast<int>(t) <= yyeof_)
......@@ -1487,29 +1503,30 @@ namespace isc { namespace dhcp {
{
switch (other.type_get ())
{
case 161: // value
case 165: // map_value
case 203: // socket_type
case 213: // db_type
case 290: // hr_mode
case 433: // ncr_protocol_value
case 441: // replace_client_name_value
case 164: // value
case 168: // map_value
case 206: // socket_type
case 209: // outbound_interface_value
case 219: // db_type
case 296: // hr_mode
case 439: // ncr_protocol_value
case 447: // replace_client_name_value
value.copy< ElementPtr > (other.value);
break;
case 146: // "boolean"
case 149: // "boolean"
value.copy< bool > (other.value);
break;
case 145: // "floating point"
case 148: // "floating point"
value.copy< double > (other.value);
break;
case 144: // "integer"
case 147: // "integer"
value.copy< int64_t > (other.value);
break;
case 143: // "constant string"
case 146: // "constant string"
value.copy< std::string > (other.value);
break;
......@@ -1530,29 +1547,30 @@ namespace isc { namespace dhcp {
(void) v;
switch (this->type_get ())
{
case 161: // value
case 165: // map_value
case 203: // socket_type
case 213: // db_type
case 290: // hr_mode
case 433: // ncr_protocol_value
case 441: // replace_client_name_value
case 164: // value
case 168: // map_value
case 206: // socket_type
case 209: // outbound_interface_value
case 219: // db_type
case 296: // hr_mode
case 439: // ncr_protocol_value
case 447: // replace_client_name_value
value.copy< ElementPtr > (v);
break;
case 146: // "boolean"
case 149: // "boolean"
value.copy< bool > (v);
break;
case 145: // "floating point"
case 148: // "floating point"
value.copy< double > (v);
break;
case 144: // "integer"
case 147: // "integer"
value.copy< int64_t > (v);
break;
case 143: // "constant string"
case 146: // "constant string"
value.copy< std::string > (v);
break;
......@@ -1632,29 +1650,30 @@ namespace isc { namespace dhcp {
// Type destructor.
switch (yytype)
{
case 161: // value
case 165: // map_value
case 203: // socket_type
case 213: // db_type
case 290: // hr_mode
case 433: // ncr_protocol_value
case 441: // replace_client_name_value
case 164: // value
case 168: // map_value
case 206: // socket_type
case 209: // outbound_interface_value
case 219: // db_type
case 296: // hr_mode
case 439: // ncr_protocol_value
case 447: // replace_client_name_value
value.template destroy< ElementPtr > ();
break;
case 146: // "boolean"
case 149: // "boolean"
value.template destroy< bool > ();
break;
case 145: // "floating point"
case 148: // "floating point"
value.template destroy< double > ();
break;
case 144: // "integer"
case 147: // "integer"
value.template destroy< int64_t > ();
break;
case 143: // "constant string"
case 146: // "constant string"
value.template destroy< std::string > ();
break;
......@@ -1681,29 +1700,30 @@ namespace isc { namespace dhcp {
super_type::move(s);
switch (this->type_get ())
{
case 161: // value
case 165: // map_value
case 203: // socket_type
case 213: // db_type
case 290: // hr_mode
case 433: // ncr_protocol_value
case 441: // replace_client_name_value
case 164: // value
case 168: // map_value
case 206: // socket_type
case 209: // outbound_interface_value
case 219: // db_type
case 296: // hr_mode
case 439: // ncr_protocol_value
case 447: // replace_client_name_value
value.move< ElementPtr > (s.value);
break;
case 146: // "boolean"
case 149: // "boolean"
value.move< bool > (s.value);
break;
case 145: // "floating point"
case 148: // "floating point"
value.move< double > (s.value);
break;
case 144: // "integer"
case 147: // "integer"
value.move< int64_t > (s.value);
break;
case 143: // "constant string"
case 146: // "constant string"
value.move< std::string > (s.value);
break;
......@@ -1776,7 +1796,7 @@ namespace isc { namespace dhcp {
365, 366, 367, 368, 369, 370, 371, 372, 373, 374,
375, 376, 377, 378, 379, 380, 381, 382, 383, 384,
385, 386, 387, 388, 389, 390, 391, 392, 393, 394,
395, 396, 397, 398, 399, 400, 401
395, 396, 397, 398, 399, 400, 401, 402, 403, 404
};
return static_cast<token_type> (yytoken_number_[type]);
}
......@@ -1865,6 +1885,24 @@ namespace isc { namespace dhcp {
return symbol_type (token::TOKEN_UDP, l);
}
Dhcp4Parser::symbol_type
Dhcp4Parser::make_OUTBOUND_INTERFACE (const location_type& l)
{
return symbol_type (token::TOKEN_OUTBOUND_INTERFACE, l);
}
Dhcp4Parser::symbol_type
Dhcp4Parser::make_SAME_AS_INBOUND (const location_type& l)
{
return symbol_type (token::TOKEN_SAME_AS_INBOUND, l);
}
Dhcp4Parser::symbol_type
Dhcp4Parser::make_USE_ROUTING (const location_type& l)
{
return symbol_type (token::TOKEN_USE_ROUTING, l);
}
Dhcp4Parser::symbol_type
Dhcp4Parser::make_RE_DETECT (const location_type& l)
{
......@@ -2654,7 +2692,7 @@ namespace isc { namespace dhcp {
#line 14 "dhcp4_parser.yy" // lalr1.cc:377
} } // isc::dhcp
#line 2658 "dhcp4_parser.h" // lalr1.cc:377
#line 2696 "dhcp4_parser.h" // lalr1.cc:377
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment