2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[master] regen flex/bison

This commit is contained in:
Francis Dupont
2018-03-27 12:28:06 +00:00
parent 8cb31ee020
commit a2ae14652d
12 changed files with 5463 additions and 5302 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -372,136 +372,137 @@ namespace isc { namespace dhcp {
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_MAX_RECONNECT_TRIES = 297,
TOKEN_RECONNECT_WAIT_TIME = 298,
TOKEN_REQUEST_TIMEOUT = 299,
TOKEN_TCP_KEEPALIVE = 300,
TOKEN_TCP_NODELAY = 301,
TOKEN_VALID_LIFETIME = 302,
TOKEN_RENEW_TIMER = 303,
TOKEN_REBIND_TIMER = 304,
TOKEN_DECLINE_PROBATION_PERIOD = 305,
TOKEN_SUBNET4 = 306,
TOKEN_SUBNET_4O6_INTERFACE = 307,
TOKEN_SUBNET_4O6_INTERFACE_ID = 308,
TOKEN_SUBNET_4O6_SUBNET = 309,
TOKEN_OPTION_DEF = 310,
TOKEN_OPTION_DATA = 311,
TOKEN_NAME = 312,
TOKEN_DATA = 313,
TOKEN_CODE = 314,
TOKEN_SPACE = 315,
TOKEN_CSV_FORMAT = 316,
TOKEN_ALWAYS_SEND = 317,
TOKEN_RECORD_TYPES = 318,
TOKEN_ENCAPSULATE = 319,
TOKEN_ARRAY = 320,
TOKEN_SHARED_NETWORKS = 321,
TOKEN_POOLS = 322,
TOKEN_POOL = 323,
TOKEN_USER_CONTEXT = 324,
TOKEN_COMMENT = 325,
TOKEN_SUBNET = 326,
TOKEN_INTERFACE = 327,
TOKEN_INTERFACE_ID = 328,
TOKEN_ID = 329,
TOKEN_RAPID_COMMIT = 330,
TOKEN_RESERVATION_MODE = 331,
TOKEN_DISABLED = 332,
TOKEN_OUT_OF_POOL = 333,
TOKEN_ALL = 334,
TOKEN_HOST_RESERVATION_IDENTIFIERS = 335,
TOKEN_CLIENT_CLASSES = 336,
TOKEN_TEST = 337,
TOKEN_CLIENT_CLASS = 338,
TOKEN_RESERVATIONS = 339,
TOKEN_DUID = 340,
TOKEN_HW_ADDRESS = 341,
TOKEN_CIRCUIT_ID = 342,
TOKEN_CLIENT_ID = 343,
TOKEN_HOSTNAME = 344,
TOKEN_FLEX_ID = 345,
TOKEN_RELAY = 346,
TOKEN_IP_ADDRESS = 347,
TOKEN_HOOKS_LIBRARIES = 348,
TOKEN_LIBRARY = 349,
TOKEN_PARAMETERS = 350,
TOKEN_EXPIRED_LEASES_PROCESSING = 351,
TOKEN_RECLAIM_TIMER_WAIT_TIME = 352,
TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 353,
TOKEN_HOLD_RECLAIMED_TIME = 354,
TOKEN_MAX_RECLAIM_LEASES = 355,
TOKEN_MAX_RECLAIM_TIME = 356,
TOKEN_UNWARNED_RECLAIM_CYCLES = 357,
TOKEN_DHCP4O6_PORT = 358,
TOKEN_CONTROL_SOCKET = 359,
TOKEN_SOCKET_TYPE = 360,
TOKEN_SOCKET_NAME = 361,
TOKEN_DHCP_DDNS = 362,
TOKEN_ENABLE_UPDATES = 363,
TOKEN_QUALIFYING_SUFFIX = 364,
TOKEN_SERVER_IP = 365,
TOKEN_SERVER_PORT = 366,
TOKEN_SENDER_IP = 367,
TOKEN_SENDER_PORT = 368,
TOKEN_MAX_QUEUE_SIZE = 369,
TOKEN_NCR_PROTOCOL = 370,
TOKEN_NCR_FORMAT = 371,
TOKEN_ALWAYS_INCLUDE_FQDN = 372,
TOKEN_OVERRIDE_NO_UPDATE = 373,
TOKEN_OVERRIDE_CLIENT_UPDATE = 374,
TOKEN_REPLACE_CLIENT_NAME = 375,
TOKEN_GENERATED_PREFIX = 376,
TOKEN_TCP = 377,
TOKEN_JSON = 378,
TOKEN_WHEN_PRESENT = 379,
TOKEN_NEVER = 380,
TOKEN_ALWAYS = 381,
TOKEN_WHEN_NOT_PRESENT = 382,
TOKEN_LOGGING = 383,
TOKEN_LOGGERS = 384,
TOKEN_OUTPUT_OPTIONS = 385,
TOKEN_OUTPUT = 386,
TOKEN_DEBUGLEVEL = 387,
TOKEN_SEVERITY = 388,
TOKEN_FLUSH = 389,
TOKEN_MAXSIZE = 390,
TOKEN_MAXVER = 391,
TOKEN_DHCP6 = 392,
TOKEN_DHCPDDNS = 393,
TOKEN_CONTROL_AGENT = 394,
TOKEN_TOPLEVEL_JSON = 395,
TOKEN_TOPLEVEL_DHCP4 = 396,
TOKEN_SUB_DHCP4 = 397,
TOKEN_SUB_INTERFACES4 = 398,
TOKEN_SUB_SUBNET4 = 399,
TOKEN_SUB_POOL4 = 400,
TOKEN_SUB_RESERVATION = 401,
TOKEN_SUB_OPTION_DEFS = 402,
TOKEN_SUB_OPTION_DEF = 403,
TOKEN_SUB_OPTION_DATA = 404,
TOKEN_SUB_HOOKS_LIBRARY = 405,
TOKEN_SUB_DHCP_DDNS = 406,
TOKEN_SUB_LOGGING = 407,
TOKEN_STRING = 408,
TOKEN_INTEGER = 409,
TOKEN_FLOAT = 410,
TOKEN_BOOLEAN = 411
TOKEN_HOSTS_DATABASES = 282,
TOKEN_TYPE = 283,
TOKEN_MEMFILE = 284,
TOKEN_MYSQL = 285,
TOKEN_POSTGRESQL = 286,
TOKEN_CQL = 287,
TOKEN_USER = 288,
TOKEN_PASSWORD = 289,
TOKEN_HOST = 290,
TOKEN_PORT = 291,
TOKEN_PERSIST = 292,
TOKEN_LFC_INTERVAL = 293,
TOKEN_READONLY = 294,
TOKEN_CONNECT_TIMEOUT = 295,
TOKEN_CONTACT_POINTS = 296,
TOKEN_KEYSPACE = 297,
TOKEN_MAX_RECONNECT_TRIES = 298,
TOKEN_RECONNECT_WAIT_TIME = 299,
TOKEN_REQUEST_TIMEOUT = 300,
TOKEN_TCP_KEEPALIVE = 301,
TOKEN_TCP_NODELAY = 302,
TOKEN_VALID_LIFETIME = 303,
TOKEN_RENEW_TIMER = 304,
TOKEN_REBIND_TIMER = 305,
TOKEN_DECLINE_PROBATION_PERIOD = 306,
TOKEN_SUBNET4 = 307,
TOKEN_SUBNET_4O6_INTERFACE = 308,
TOKEN_SUBNET_4O6_INTERFACE_ID = 309,
TOKEN_SUBNET_4O6_SUBNET = 310,
TOKEN_OPTION_DEF = 311,
TOKEN_OPTION_DATA = 312,
TOKEN_NAME = 313,
TOKEN_DATA = 314,
TOKEN_CODE = 315,
TOKEN_SPACE = 316,
TOKEN_CSV_FORMAT = 317,
TOKEN_ALWAYS_SEND = 318,
TOKEN_RECORD_TYPES = 319,
TOKEN_ENCAPSULATE = 320,
TOKEN_ARRAY = 321,
TOKEN_SHARED_NETWORKS = 322,
TOKEN_POOLS = 323,
TOKEN_POOL = 324,
TOKEN_USER_CONTEXT = 325,
TOKEN_COMMENT = 326,
TOKEN_SUBNET = 327,
TOKEN_INTERFACE = 328,
TOKEN_INTERFACE_ID = 329,
TOKEN_ID = 330,
TOKEN_RAPID_COMMIT = 331,
TOKEN_RESERVATION_MODE = 332,
TOKEN_DISABLED = 333,
TOKEN_OUT_OF_POOL = 334,
TOKEN_ALL = 335,
TOKEN_HOST_RESERVATION_IDENTIFIERS = 336,
TOKEN_CLIENT_CLASSES = 337,
TOKEN_TEST = 338,
TOKEN_CLIENT_CLASS = 339,
TOKEN_RESERVATIONS = 340,
TOKEN_DUID = 341,
TOKEN_HW_ADDRESS = 342,
TOKEN_CIRCUIT_ID = 343,
TOKEN_CLIENT_ID = 344,
TOKEN_HOSTNAME = 345,
TOKEN_FLEX_ID = 346,
TOKEN_RELAY = 347,
TOKEN_IP_ADDRESS = 348,
TOKEN_HOOKS_LIBRARIES = 349,
TOKEN_LIBRARY = 350,
TOKEN_PARAMETERS = 351,
TOKEN_EXPIRED_LEASES_PROCESSING = 352,
TOKEN_RECLAIM_TIMER_WAIT_TIME = 353,
TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 354,
TOKEN_HOLD_RECLAIMED_TIME = 355,
TOKEN_MAX_RECLAIM_LEASES = 356,
TOKEN_MAX_RECLAIM_TIME = 357,
TOKEN_UNWARNED_RECLAIM_CYCLES = 358,
TOKEN_DHCP4O6_PORT = 359,
TOKEN_CONTROL_SOCKET = 360,
TOKEN_SOCKET_TYPE = 361,
TOKEN_SOCKET_NAME = 362,
TOKEN_DHCP_DDNS = 363,
TOKEN_ENABLE_UPDATES = 364,
TOKEN_QUALIFYING_SUFFIX = 365,
TOKEN_SERVER_IP = 366,
TOKEN_SERVER_PORT = 367,
TOKEN_SENDER_IP = 368,
TOKEN_SENDER_PORT = 369,
TOKEN_MAX_QUEUE_SIZE = 370,
TOKEN_NCR_PROTOCOL = 371,
TOKEN_NCR_FORMAT = 372,
TOKEN_ALWAYS_INCLUDE_FQDN = 373,
TOKEN_OVERRIDE_NO_UPDATE = 374,
TOKEN_OVERRIDE_CLIENT_UPDATE = 375,
TOKEN_REPLACE_CLIENT_NAME = 376,
TOKEN_GENERATED_PREFIX = 377,
TOKEN_TCP = 378,
TOKEN_JSON = 379,
TOKEN_WHEN_PRESENT = 380,
TOKEN_NEVER = 381,
TOKEN_ALWAYS = 382,
TOKEN_WHEN_NOT_PRESENT = 383,
TOKEN_LOGGING = 384,
TOKEN_LOGGERS = 385,
TOKEN_OUTPUT_OPTIONS = 386,
TOKEN_OUTPUT = 387,
TOKEN_DEBUGLEVEL = 388,
TOKEN_SEVERITY = 389,
TOKEN_FLUSH = 390,
TOKEN_MAXSIZE = 391,
TOKEN_MAXVER = 392,
TOKEN_DHCP6 = 393,
TOKEN_DHCPDDNS = 394,
TOKEN_CONTROL_AGENT = 395,
TOKEN_TOPLEVEL_JSON = 396,
TOKEN_TOPLEVEL_DHCP4 = 397,
TOKEN_SUB_DHCP4 = 398,
TOKEN_SUB_INTERFACES4 = 399,
TOKEN_SUB_SUBNET4 = 400,
TOKEN_SUB_POOL4 = 401,
TOKEN_SUB_RESERVATION = 402,
TOKEN_SUB_OPTION_DEFS = 403,
TOKEN_SUB_OPTION_DEF = 404,
TOKEN_SUB_OPTION_DATA = 405,
TOKEN_SUB_HOOKS_LIBRARY = 406,
TOKEN_SUB_DHCP_DDNS = 407,
TOKEN_SUB_LOGGING = 408,
TOKEN_STRING = 409,
TOKEN_INTEGER = 410,
TOKEN_FLOAT = 411,
TOKEN_BOOLEAN = 412
};
};
@@ -716,6 +717,10 @@ namespace isc { namespace dhcp {
symbol_type
make_HOSTS_DATABASE (const location_type& l);
static inline
symbol_type
make_HOSTS_DATABASES (const location_type& l);
static inline
symbol_type
make_TYPE (const location_type& l);
@@ -1441,12 +1446,12 @@ namespace isc { namespace dhcp {
enum
{
yyeof_ = 0,
yylast_ = 906, ///< Last index in yytable_.
yynnts_ = 343, ///< Number of nonterminal symbols.
yylast_ = 923, ///< Last index in yytable_.
yynnts_ = 349, ///< Number of nonterminal symbols.
yyfinal_ = 28, ///< Termination state number.
yyterror_ = 1,
yyerrcode_ = 256,
yyntokens_ = 157 ///< Number of tokens.
yyntokens_ = 158 ///< Number of tokens.
};
@@ -1504,9 +1509,9 @@ namespace isc { namespace dhcp {
125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
155, 156
155, 156, 157
};
const unsigned int user_token_number_max_ = 411;
const unsigned int user_token_number_max_ = 412;
const token_number_type undef_token_ = 2;
if (static_cast<int>(t) <= yyeof_)
@@ -1539,30 +1544,30 @@ namespace isc { namespace dhcp {
{
switch (other.type_get ())
{
case 172: // value
case 176: // map_value
case 214: // socket_type
case 217: // outbound_interface_value
case 227: // db_type
case 309: // hr_mode
case 455: // ncr_protocol_value
case 463: // replace_client_name_value
case 173: // value
case 177: // map_value
case 215: // socket_type
case 218: // outbound_interface_value
case 234: // db_type
case 316: // hr_mode
case 462: // ncr_protocol_value
case 470: // replace_client_name_value
value.copy< ElementPtr > (other.value);
break;
case 156: // "boolean"
case 157: // "boolean"
value.copy< bool > (other.value);
break;
case 155: // "floating point"
case 156: // "floating point"
value.copy< double > (other.value);
break;
case 154: // "integer"
case 155: // "integer"
value.copy< int64_t > (other.value);
break;
case 153: // "constant string"
case 154: // "constant string"
value.copy< std::string > (other.value);
break;
@@ -1583,30 +1588,30 @@ namespace isc { namespace dhcp {
(void) v;
switch (this->type_get ())
{
case 172: // value
case 176: // map_value
case 214: // socket_type
case 217: // outbound_interface_value
case 227: // db_type
case 309: // hr_mode
case 455: // ncr_protocol_value
case 463: // replace_client_name_value
case 173: // value
case 177: // map_value
case 215: // socket_type
case 218: // outbound_interface_value
case 234: // db_type
case 316: // hr_mode
case 462: // ncr_protocol_value
case 470: // replace_client_name_value
value.copy< ElementPtr > (v);
break;
case 156: // "boolean"
case 157: // "boolean"
value.copy< bool > (v);
break;
case 155: // "floating point"
case 156: // "floating point"
value.copy< double > (v);
break;
case 154: // "integer"
case 155: // "integer"
value.copy< int64_t > (v);
break;
case 153: // "constant string"
case 154: // "constant string"
value.copy< std::string > (v);
break;
@@ -1686,30 +1691,30 @@ namespace isc { namespace dhcp {
// Type destructor.
switch (yytype)
{
case 172: // value
case 176: // map_value
case 214: // socket_type
case 217: // outbound_interface_value
case 227: // db_type
case 309: // hr_mode
case 455: // ncr_protocol_value
case 463: // replace_client_name_value
case 173: // value
case 177: // map_value
case 215: // socket_type
case 218: // outbound_interface_value
case 234: // db_type
case 316: // hr_mode
case 462: // ncr_protocol_value
case 470: // replace_client_name_value
value.template destroy< ElementPtr > ();
break;
case 156: // "boolean"
case 157: // "boolean"
value.template destroy< bool > ();
break;
case 155: // "floating point"
case 156: // "floating point"
value.template destroy< double > ();
break;
case 154: // "integer"
case 155: // "integer"
value.template destroy< int64_t > ();
break;
case 153: // "constant string"
case 154: // "constant string"
value.template destroy< std::string > ();
break;
@@ -1736,30 +1741,30 @@ namespace isc { namespace dhcp {
super_type::move(s);
switch (this->type_get ())
{
case 172: // value
case 176: // map_value
case 214: // socket_type
case 217: // outbound_interface_value
case 227: // db_type
case 309: // hr_mode
case 455: // ncr_protocol_value
case 463: // replace_client_name_value
case 173: // value
case 177: // map_value
case 215: // socket_type
case 218: // outbound_interface_value
case 234: // db_type
case 316: // hr_mode
case 462: // ncr_protocol_value
case 470: // replace_client_name_value
value.move< ElementPtr > (s.value);
break;
case 156: // "boolean"
case 157: // "boolean"
value.move< bool > (s.value);
break;
case 155: // "floating point"
case 156: // "floating point"
value.move< double > (s.value);
break;
case 154: // "integer"
case 155: // "integer"
value.move< int64_t > (s.value);
break;
case 153: // "constant string"
case 154: // "constant string"
value.move< std::string > (s.value);
break;
@@ -1833,7 +1838,7 @@ namespace isc { namespace dhcp {
375, 376, 377, 378, 379, 380, 381, 382, 383, 384,
385, 386, 387, 388, 389, 390, 391, 392, 393, 394,
395, 396, 397, 398, 399, 400, 401, 402, 403, 404,
405, 406, 407, 408, 409, 410, 411
405, 406, 407, 408, 409, 410, 411, 412
};
return static_cast<token_type> (yytoken_number_[type]);
}
@@ -1988,6 +1993,12 @@ namespace isc { namespace dhcp {
return symbol_type (token::TOKEN_HOSTS_DATABASE, l);
}
Dhcp4Parser::symbol_type
Dhcp4Parser::make_HOSTS_DATABASES (const location_type& l)
{
return symbol_type (token::TOKEN_HOSTS_DATABASES, l);
}
Dhcp4Parser::symbol_type
Dhcp4Parser::make_TYPE (const location_type& l)
{
@@ -2771,7 +2782,7 @@ namespace isc { namespace dhcp {
#line 14 "dhcp4_parser.yy" // lalr1.cc:377
} } // isc::dhcp
#line 2775 "dhcp4_parser.h" // lalr1.cc:377
#line 2786 "dhcp4_parser.h" // lalr1.cc:377

View File

@@ -1,4 +1,4 @@
// Generated 201803221856
// Generated 201803271227
// A Bison parser, made by GNU Bison 3.0.4.
// Locations for Bison parsers in C++

View File

@@ -1,4 +1,4 @@
// Generated 201803221856
// Generated 201803271227
// A Bison parser, made by GNU Bison 3.0.4.
// Positions for Bison parsers in C++

View File

@@ -1,4 +1,4 @@
// Generated 201803221856
// Generated 201803271227
// A Bison parser, made by GNU Bison 3.0.4.
// Stack handling for Bison parsers in C++

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -360,152 +360,153 @@ namespace isc { namespace dhcp {
TOKEN_RE_DETECT = 268,
TOKEN_LEASE_DATABASE = 269,
TOKEN_HOSTS_DATABASE = 270,
TOKEN_TYPE = 271,
TOKEN_MEMFILE = 272,
TOKEN_MYSQL = 273,
TOKEN_POSTGRESQL = 274,
TOKEN_CQL = 275,
TOKEN_USER = 276,
TOKEN_PASSWORD = 277,
TOKEN_HOST = 278,
TOKEN_PORT = 279,
TOKEN_PERSIST = 280,
TOKEN_LFC_INTERVAL = 281,
TOKEN_READONLY = 282,
TOKEN_CONNECT_TIMEOUT = 283,
TOKEN_CONTACT_POINTS = 284,
TOKEN_MAX_RECONNECT_TRIES = 285,
TOKEN_RECONNECT_WAIT_TIME = 286,
TOKEN_KEYSPACE = 287,
TOKEN_REQUEST_TIMEOUT = 288,
TOKEN_TCP_KEEPALIVE = 289,
TOKEN_TCP_NODELAY = 290,
TOKEN_PREFERRED_LIFETIME = 291,
TOKEN_VALID_LIFETIME = 292,
TOKEN_RENEW_TIMER = 293,
TOKEN_REBIND_TIMER = 294,
TOKEN_DECLINE_PROBATION_PERIOD = 295,
TOKEN_SUBNET6 = 296,
TOKEN_OPTION_DEF = 297,
TOKEN_OPTION_DATA = 298,
TOKEN_NAME = 299,
TOKEN_DATA = 300,
TOKEN_CODE = 301,
TOKEN_SPACE = 302,
TOKEN_CSV_FORMAT = 303,
TOKEN_ALWAYS_SEND = 304,
TOKEN_RECORD_TYPES = 305,
TOKEN_ENCAPSULATE = 306,
TOKEN_ARRAY = 307,
TOKEN_POOLS = 308,
TOKEN_POOL = 309,
TOKEN_PD_POOLS = 310,
TOKEN_PREFIX = 311,
TOKEN_PREFIX_LEN = 312,
TOKEN_EXCLUDED_PREFIX = 313,
TOKEN_EXCLUDED_PREFIX_LEN = 314,
TOKEN_DELEGATED_LEN = 315,
TOKEN_USER_CONTEXT = 316,
TOKEN_COMMENT = 317,
TOKEN_SUBNET = 318,
TOKEN_INTERFACE = 319,
TOKEN_INTERFACE_ID = 320,
TOKEN_ID = 321,
TOKEN_RAPID_COMMIT = 322,
TOKEN_RESERVATION_MODE = 323,
TOKEN_DISABLED = 324,
TOKEN_OUT_OF_POOL = 325,
TOKEN_ALL = 326,
TOKEN_SHARED_NETWORKS = 327,
TOKEN_MAC_SOURCES = 328,
TOKEN_RELAY_SUPPLIED_OPTIONS = 329,
TOKEN_HOST_RESERVATION_IDENTIFIERS = 330,
TOKEN_CLIENT_CLASSES = 331,
TOKEN_TEST = 332,
TOKEN_CLIENT_CLASS = 333,
TOKEN_RESERVATIONS = 334,
TOKEN_IP_ADDRESSES = 335,
TOKEN_PREFIXES = 336,
TOKEN_DUID = 337,
TOKEN_HW_ADDRESS = 338,
TOKEN_HOSTNAME = 339,
TOKEN_FLEX_ID = 340,
TOKEN_RELAY = 341,
TOKEN_IP_ADDRESS = 342,
TOKEN_HOOKS_LIBRARIES = 343,
TOKEN_LIBRARY = 344,
TOKEN_PARAMETERS = 345,
TOKEN_EXPIRED_LEASES_PROCESSING = 346,
TOKEN_RECLAIM_TIMER_WAIT_TIME = 347,
TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 348,
TOKEN_HOLD_RECLAIMED_TIME = 349,
TOKEN_MAX_RECLAIM_LEASES = 350,
TOKEN_MAX_RECLAIM_TIME = 351,
TOKEN_UNWARNED_RECLAIM_CYCLES = 352,
TOKEN_SERVER_ID = 353,
TOKEN_LLT = 354,
TOKEN_EN = 355,
TOKEN_LL = 356,
TOKEN_IDENTIFIER = 357,
TOKEN_HTYPE = 358,
TOKEN_TIME = 359,
TOKEN_ENTERPRISE_ID = 360,
TOKEN_DHCP4O6_PORT = 361,
TOKEN_CONTROL_SOCKET = 362,
TOKEN_SOCKET_TYPE = 363,
TOKEN_SOCKET_NAME = 364,
TOKEN_DHCP_DDNS = 365,
TOKEN_ENABLE_UPDATES = 366,
TOKEN_QUALIFYING_SUFFIX = 367,
TOKEN_SERVER_IP = 368,
TOKEN_SERVER_PORT = 369,
TOKEN_SENDER_IP = 370,
TOKEN_SENDER_PORT = 371,
TOKEN_MAX_QUEUE_SIZE = 372,
TOKEN_NCR_PROTOCOL = 373,
TOKEN_NCR_FORMAT = 374,
TOKEN_ALWAYS_INCLUDE_FQDN = 375,
TOKEN_OVERRIDE_NO_UPDATE = 376,
TOKEN_OVERRIDE_CLIENT_UPDATE = 377,
TOKEN_REPLACE_CLIENT_NAME = 378,
TOKEN_GENERATED_PREFIX = 379,
TOKEN_UDP = 380,
TOKEN_TCP = 381,
TOKEN_JSON = 382,
TOKEN_WHEN_PRESENT = 383,
TOKEN_NEVER = 384,
TOKEN_ALWAYS = 385,
TOKEN_WHEN_NOT_PRESENT = 386,
TOKEN_LOGGING = 387,
TOKEN_LOGGERS = 388,
TOKEN_OUTPUT_OPTIONS = 389,
TOKEN_OUTPUT = 390,
TOKEN_DEBUGLEVEL = 391,
TOKEN_SEVERITY = 392,
TOKEN_FLUSH = 393,
TOKEN_MAXSIZE = 394,
TOKEN_MAXVER = 395,
TOKEN_DHCP4 = 396,
TOKEN_DHCPDDNS = 397,
TOKEN_CONTROL_AGENT = 398,
TOKEN_TOPLEVEL_JSON = 399,
TOKEN_TOPLEVEL_DHCP6 = 400,
TOKEN_SUB_DHCP6 = 401,
TOKEN_SUB_INTERFACES6 = 402,
TOKEN_SUB_SUBNET6 = 403,
TOKEN_SUB_POOL6 = 404,
TOKEN_SUB_PD_POOL = 405,
TOKEN_SUB_RESERVATION = 406,
TOKEN_SUB_OPTION_DEFS = 407,
TOKEN_SUB_OPTION_DEF = 408,
TOKEN_SUB_OPTION_DATA = 409,
TOKEN_SUB_HOOKS_LIBRARY = 410,
TOKEN_SUB_DHCP_DDNS = 411,
TOKEN_SUB_LOGGING = 412,
TOKEN_STRING = 413,
TOKEN_INTEGER = 414,
TOKEN_FLOAT = 415,
TOKEN_BOOLEAN = 416
TOKEN_HOSTS_DATABASES = 271,
TOKEN_TYPE = 272,
TOKEN_MEMFILE = 273,
TOKEN_MYSQL = 274,
TOKEN_POSTGRESQL = 275,
TOKEN_CQL = 276,
TOKEN_USER = 277,
TOKEN_PASSWORD = 278,
TOKEN_HOST = 279,
TOKEN_PORT = 280,
TOKEN_PERSIST = 281,
TOKEN_LFC_INTERVAL = 282,
TOKEN_READONLY = 283,
TOKEN_CONNECT_TIMEOUT = 284,
TOKEN_CONTACT_POINTS = 285,
TOKEN_MAX_RECONNECT_TRIES = 286,
TOKEN_RECONNECT_WAIT_TIME = 287,
TOKEN_KEYSPACE = 288,
TOKEN_REQUEST_TIMEOUT = 289,
TOKEN_TCP_KEEPALIVE = 290,
TOKEN_TCP_NODELAY = 291,
TOKEN_PREFERRED_LIFETIME = 292,
TOKEN_VALID_LIFETIME = 293,
TOKEN_RENEW_TIMER = 294,
TOKEN_REBIND_TIMER = 295,
TOKEN_DECLINE_PROBATION_PERIOD = 296,
TOKEN_SUBNET6 = 297,
TOKEN_OPTION_DEF = 298,
TOKEN_OPTION_DATA = 299,
TOKEN_NAME = 300,
TOKEN_DATA = 301,
TOKEN_CODE = 302,
TOKEN_SPACE = 303,
TOKEN_CSV_FORMAT = 304,
TOKEN_ALWAYS_SEND = 305,
TOKEN_RECORD_TYPES = 306,
TOKEN_ENCAPSULATE = 307,
TOKEN_ARRAY = 308,
TOKEN_POOLS = 309,
TOKEN_POOL = 310,
TOKEN_PD_POOLS = 311,
TOKEN_PREFIX = 312,
TOKEN_PREFIX_LEN = 313,
TOKEN_EXCLUDED_PREFIX = 314,
TOKEN_EXCLUDED_PREFIX_LEN = 315,
TOKEN_DELEGATED_LEN = 316,
TOKEN_USER_CONTEXT = 317,
TOKEN_COMMENT = 318,
TOKEN_SUBNET = 319,
TOKEN_INTERFACE = 320,
TOKEN_INTERFACE_ID = 321,
TOKEN_ID = 322,
TOKEN_RAPID_COMMIT = 323,
TOKEN_RESERVATION_MODE = 324,
TOKEN_DISABLED = 325,
TOKEN_OUT_OF_POOL = 326,
TOKEN_ALL = 327,
TOKEN_SHARED_NETWORKS = 328,
TOKEN_MAC_SOURCES = 329,
TOKEN_RELAY_SUPPLIED_OPTIONS = 330,
TOKEN_HOST_RESERVATION_IDENTIFIERS = 331,
TOKEN_CLIENT_CLASSES = 332,
TOKEN_TEST = 333,
TOKEN_CLIENT_CLASS = 334,
TOKEN_RESERVATIONS = 335,
TOKEN_IP_ADDRESSES = 336,
TOKEN_PREFIXES = 337,
TOKEN_DUID = 338,
TOKEN_HW_ADDRESS = 339,
TOKEN_HOSTNAME = 340,
TOKEN_FLEX_ID = 341,
TOKEN_RELAY = 342,
TOKEN_IP_ADDRESS = 343,
TOKEN_HOOKS_LIBRARIES = 344,
TOKEN_LIBRARY = 345,
TOKEN_PARAMETERS = 346,
TOKEN_EXPIRED_LEASES_PROCESSING = 347,
TOKEN_RECLAIM_TIMER_WAIT_TIME = 348,
TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 349,
TOKEN_HOLD_RECLAIMED_TIME = 350,
TOKEN_MAX_RECLAIM_LEASES = 351,
TOKEN_MAX_RECLAIM_TIME = 352,
TOKEN_UNWARNED_RECLAIM_CYCLES = 353,
TOKEN_SERVER_ID = 354,
TOKEN_LLT = 355,
TOKEN_EN = 356,
TOKEN_LL = 357,
TOKEN_IDENTIFIER = 358,
TOKEN_HTYPE = 359,
TOKEN_TIME = 360,
TOKEN_ENTERPRISE_ID = 361,
TOKEN_DHCP4O6_PORT = 362,
TOKEN_CONTROL_SOCKET = 363,
TOKEN_SOCKET_TYPE = 364,
TOKEN_SOCKET_NAME = 365,
TOKEN_DHCP_DDNS = 366,
TOKEN_ENABLE_UPDATES = 367,
TOKEN_QUALIFYING_SUFFIX = 368,
TOKEN_SERVER_IP = 369,
TOKEN_SERVER_PORT = 370,
TOKEN_SENDER_IP = 371,
TOKEN_SENDER_PORT = 372,
TOKEN_MAX_QUEUE_SIZE = 373,
TOKEN_NCR_PROTOCOL = 374,
TOKEN_NCR_FORMAT = 375,
TOKEN_ALWAYS_INCLUDE_FQDN = 376,
TOKEN_OVERRIDE_NO_UPDATE = 377,
TOKEN_OVERRIDE_CLIENT_UPDATE = 378,
TOKEN_REPLACE_CLIENT_NAME = 379,
TOKEN_GENERATED_PREFIX = 380,
TOKEN_UDP = 381,
TOKEN_TCP = 382,
TOKEN_JSON = 383,
TOKEN_WHEN_PRESENT = 384,
TOKEN_NEVER = 385,
TOKEN_ALWAYS = 386,
TOKEN_WHEN_NOT_PRESENT = 387,
TOKEN_LOGGING = 388,
TOKEN_LOGGERS = 389,
TOKEN_OUTPUT_OPTIONS = 390,
TOKEN_OUTPUT = 391,
TOKEN_DEBUGLEVEL = 392,
TOKEN_SEVERITY = 393,
TOKEN_FLUSH = 394,
TOKEN_MAXSIZE = 395,
TOKEN_MAXVER = 396,
TOKEN_DHCP4 = 397,
TOKEN_DHCPDDNS = 398,
TOKEN_CONTROL_AGENT = 399,
TOKEN_TOPLEVEL_JSON = 400,
TOKEN_TOPLEVEL_DHCP6 = 401,
TOKEN_SUB_DHCP6 = 402,
TOKEN_SUB_INTERFACES6 = 403,
TOKEN_SUB_SUBNET6 = 404,
TOKEN_SUB_POOL6 = 405,
TOKEN_SUB_PD_POOL = 406,
TOKEN_SUB_RESERVATION = 407,
TOKEN_SUB_OPTION_DEFS = 408,
TOKEN_SUB_OPTION_DEF = 409,
TOKEN_SUB_OPTION_DATA = 410,
TOKEN_SUB_HOOKS_LIBRARY = 411,
TOKEN_SUB_DHCP_DDNS = 412,
TOKEN_SUB_LOGGING = 413,
TOKEN_STRING = 414,
TOKEN_INTEGER = 415,
TOKEN_FLOAT = 416,
TOKEN_BOOLEAN = 417
};
};
@@ -676,6 +677,10 @@ namespace isc { namespace dhcp {
symbol_type
make_HOSTS_DATABASE (const location_type& l);
static inline
symbol_type
make_HOSTS_DATABASES (const location_type& l);
static inline
symbol_type
make_TYPE (const location_type& l);
@@ -1465,12 +1470,12 @@ namespace isc { namespace dhcp {
enum
{
yyeof_ = 0,
yylast_ = 951, ///< Last index in yytable_.
yynnts_ = 357, ///< Number of nonterminal symbols.
yylast_ = 953, ///< Last index in yytable_.
yynnts_ = 363, ///< Number of nonterminal symbols.
yyfinal_ = 30, ///< Termination state number.
yyterror_ = 1,
yyerrcode_ = 256,
yyntokens_ = 162 ///< Number of tokens.
yyntokens_ = 163 ///< Number of tokens.
};
@@ -1528,9 +1533,9 @@ namespace isc { namespace dhcp {
125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
155, 156, 157, 158, 159, 160, 161
155, 156, 157, 158, 159, 160, 161, 162
};
const unsigned int user_token_number_max_ = 416;
const unsigned int user_token_number_max_ = 417;
const token_number_type undef_token_ = 2;
if (static_cast<int>(t) <= yyeof_)
@@ -1563,29 +1568,29 @@ namespace isc { namespace dhcp {
{
switch (other.type_get ())
{
case 178: // value
case 182: // map_value
case 226: // db_type
case 307: // hr_mode
case 441: // duid_type
case 474: // ncr_protocol_value
case 482: // replace_client_name_value
case 179: // value
case 183: // map_value
case 233: // db_type
case 314: // hr_mode
case 448: // duid_type
case 481: // ncr_protocol_value
case 489: // replace_client_name_value
value.copy< ElementPtr > (other.value);
break;
case 161: // "boolean"
case 162: // "boolean"
value.copy< bool > (other.value);
break;
case 160: // "floating point"
case 161: // "floating point"
value.copy< double > (other.value);
break;
case 159: // "integer"
case 160: // "integer"
value.copy< int64_t > (other.value);
break;
case 158: // "constant string"
case 159: // "constant string"
value.copy< std::string > (other.value);
break;
@@ -1606,29 +1611,29 @@ namespace isc { namespace dhcp {
(void) v;
switch (this->type_get ())
{
case 178: // value
case 182: // map_value
case 226: // db_type
case 307: // hr_mode
case 441: // duid_type
case 474: // ncr_protocol_value
case 482: // replace_client_name_value
case 179: // value
case 183: // map_value
case 233: // db_type
case 314: // hr_mode
case 448: // duid_type
case 481: // ncr_protocol_value
case 489: // replace_client_name_value
value.copy< ElementPtr > (v);
break;
case 161: // "boolean"
case 162: // "boolean"
value.copy< bool > (v);
break;
case 160: // "floating point"
case 161: // "floating point"
value.copy< double > (v);
break;
case 159: // "integer"
case 160: // "integer"
value.copy< int64_t > (v);
break;
case 158: // "constant string"
case 159: // "constant string"
value.copy< std::string > (v);
break;
@@ -1708,29 +1713,29 @@ namespace isc { namespace dhcp {
// Type destructor.
switch (yytype)
{
case 178: // value
case 182: // map_value
case 226: // db_type
case 307: // hr_mode
case 441: // duid_type
case 474: // ncr_protocol_value
case 482: // replace_client_name_value
case 179: // value
case 183: // map_value
case 233: // db_type
case 314: // hr_mode
case 448: // duid_type
case 481: // ncr_protocol_value
case 489: // replace_client_name_value
value.template destroy< ElementPtr > ();
break;
case 161: // "boolean"
case 162: // "boolean"
value.template destroy< bool > ();
break;
case 160: // "floating point"
case 161: // "floating point"
value.template destroy< double > ();
break;
case 159: // "integer"
case 160: // "integer"
value.template destroy< int64_t > ();
break;
case 158: // "constant string"
case 159: // "constant string"
value.template destroy< std::string > ();
break;
@@ -1757,29 +1762,29 @@ namespace isc { namespace dhcp {
super_type::move(s);
switch (this->type_get ())
{
case 178: // value
case 182: // map_value
case 226: // db_type
case 307: // hr_mode
case 441: // duid_type
case 474: // ncr_protocol_value
case 482: // replace_client_name_value
case 179: // value
case 183: // map_value
case 233: // db_type
case 314: // hr_mode
case 448: // duid_type
case 481: // ncr_protocol_value
case 489: // replace_client_name_value
value.move< ElementPtr > (s.value);
break;
case 161: // "boolean"
case 162: // "boolean"
value.move< bool > (s.value);
break;
case 160: // "floating point"
case 161: // "floating point"
value.move< double > (s.value);
break;
case 159: // "integer"
case 160: // "integer"
value.move< int64_t > (s.value);
break;
case 158: // "constant string"
case 159: // "constant string"
value.move< std::string > (s.value);
break;
@@ -1854,7 +1859,7 @@ namespace isc { namespace dhcp {
385, 386, 387, 388, 389, 390, 391, 392, 393, 394,
395, 396, 397, 398, 399, 400, 401, 402, 403, 404,
405, 406, 407, 408, 409, 410, 411, 412, 413, 414,
415, 416
415, 416, 417
};
return static_cast<token_type> (yytoken_number_[type]);
}
@@ -1943,6 +1948,12 @@ namespace isc { namespace dhcp {
return symbol_type (token::TOKEN_HOSTS_DATABASE, l);
}
Dhcp6Parser::symbol_type
Dhcp6Parser::make_HOSTS_DATABASES (const location_type& l)
{
return symbol_type (token::TOKEN_HOSTS_DATABASES, l);
}
Dhcp6Parser::symbol_type
Dhcp6Parser::make_TYPE (const location_type& l)
{
@@ -2822,7 +2833,7 @@ namespace isc { namespace dhcp {
#line 14 "dhcp6_parser.yy" // lalr1.cc:377
} } // isc::dhcp
#line 2826 "dhcp6_parser.h" // lalr1.cc:377
#line 2837 "dhcp6_parser.h" // lalr1.cc:377

View File

@@ -1,4 +1,4 @@
// Generated 201803221857
// Generated 201803271227
// A Bison parser, made by GNU Bison 3.0.4.
// Locations for Bison parsers in C++

View File

@@ -1,4 +1,4 @@
// Generated 201803221857
// Generated 201803271227
// A Bison parser, made by GNU Bison 3.0.4.
// Positions for Bison parsers in C++

View File

@@ -1,4 +1,4 @@
// Generated 201803221857
// Generated 201803271227
// A Bison parser, made by GNU Bison 3.0.4.
// Stack handling for Bison parsers in C++