Commit adb8ccca authored by Francis Dupont's avatar Francis Dupont
Browse files

[trac5096] regen flex/bison files

parent e73d4814
This diff is collapsed.
This diff is collapsed.
......@@ -364,82 +364,83 @@ namespace isc { namespace dhcp {
TOKEN_MEMFILE = 277,
TOKEN_MYSQL = 278,
TOKEN_POSTGRESQL = 279,
TOKEN_USER = 280,
TOKEN_PASSWORD = 281,
TOKEN_HOST = 282,
TOKEN_PERSIST = 283,
TOKEN_LFC_INTERVAL = 284,
TOKEN_READONLY = 285,
TOKEN_CONNECT_TIMEOUT = 286,
TOKEN_VALID_LIFETIME = 287,
TOKEN_RENEW_TIMER = 288,
TOKEN_REBIND_TIMER = 289,
TOKEN_DECLINE_PROBATION_PERIOD = 290,
TOKEN_SUBNET4 = 291,
TOKEN_SUBNET_4O6_INTERFACE = 292,
TOKEN_SUBNET_4O6_INTERFACE_ID = 293,
TOKEN_SUBNET_4O6_SUBNET = 294,
TOKEN_OPTION_DEF = 295,
TOKEN_OPTION_DATA = 296,
TOKEN_NAME = 297,
TOKEN_DATA = 298,
TOKEN_CODE = 299,
TOKEN_SPACE = 300,
TOKEN_CSV_FORMAT = 301,
TOKEN_RECORD_TYPES = 302,
TOKEN_ENCAPSULATE = 303,
TOKEN_ARRAY = 304,
TOKEN_POOLS = 305,
TOKEN_POOL = 306,
TOKEN_SUBNET = 307,
TOKEN_INTERFACE = 308,
TOKEN_INTERFACE_ID = 309,
TOKEN_ID = 310,
TOKEN_RAPID_COMMIT = 311,
TOKEN_RESERVATION_MODE = 312,
TOKEN_HOST_RESERVATION_IDENTIFIERS = 313,
TOKEN_CLIENT_CLASSES = 314,
TOKEN_TEST = 315,
TOKEN_CLIENT_CLASS = 316,
TOKEN_RESERVATIONS = 317,
TOKEN_DUID = 318,
TOKEN_HW_ADDRESS = 319,
TOKEN_CIRCUIT_ID = 320,
TOKEN_CLIENT_ID = 321,
TOKEN_HOSTNAME = 322,
TOKEN_RELAY = 323,
TOKEN_IP_ADDRESS = 324,
TOKEN_HOOKS_LIBRARIES = 325,
TOKEN_LIBRARY = 326,
TOKEN_PARAMETERS = 327,
TOKEN_EXPIRED_LEASES_PROCESSING = 328,
TOKEN_DHCP4O6_PORT = 329,
TOKEN_CONTROL_SOCKET = 330,
TOKEN_SOCKET_TYPE = 331,
TOKEN_SOCKET_NAME = 332,
TOKEN_DHCP_DDNS = 333,
TOKEN_LOGGING = 334,
TOKEN_LOGGERS = 335,
TOKEN_OUTPUT_OPTIONS = 336,
TOKEN_OUTPUT = 337,
TOKEN_DEBUGLEVEL = 338,
TOKEN_SEVERITY = 339,
TOKEN_DHCP6 = 340,
TOKEN_DHCPDDNS = 341,
TOKEN_TOPLEVEL_JSON = 342,
TOKEN_TOPLEVEL_DHCP4 = 343,
TOKEN_SUB_DHCP4 = 344,
TOKEN_SUB_INTERFACES4 = 345,
TOKEN_SUB_SUBNET4 = 346,
TOKEN_SUB_POOL4 = 347,
TOKEN_SUB_RESERVATION = 348,
TOKEN_SUB_OPTION_DEF = 349,
TOKEN_SUB_OPTION_DATA = 350,
TOKEN_SUB_HOOKS_LIBRARY = 351,
TOKEN_STRING = 352,
TOKEN_INTEGER = 353,
TOKEN_FLOAT = 354,
TOKEN_BOOLEAN = 355
TOKEN_CQL = 280,
TOKEN_USER = 281,
TOKEN_PASSWORD = 282,
TOKEN_HOST = 283,
TOKEN_PERSIST = 284,
TOKEN_LFC_INTERVAL = 285,
TOKEN_READONLY = 286,
TOKEN_CONNECT_TIMEOUT = 287,
TOKEN_VALID_LIFETIME = 288,
TOKEN_RENEW_TIMER = 289,
TOKEN_REBIND_TIMER = 290,
TOKEN_DECLINE_PROBATION_PERIOD = 291,
TOKEN_SUBNET4 = 292,
TOKEN_SUBNET_4O6_INTERFACE = 293,
TOKEN_SUBNET_4O6_INTERFACE_ID = 294,
TOKEN_SUBNET_4O6_SUBNET = 295,
TOKEN_OPTION_DEF = 296,
TOKEN_OPTION_DATA = 297,
TOKEN_NAME = 298,
TOKEN_DATA = 299,
TOKEN_CODE = 300,
TOKEN_SPACE = 301,
TOKEN_CSV_FORMAT = 302,
TOKEN_RECORD_TYPES = 303,
TOKEN_ENCAPSULATE = 304,
TOKEN_ARRAY = 305,
TOKEN_POOLS = 306,
TOKEN_POOL = 307,
TOKEN_SUBNET = 308,
TOKEN_INTERFACE = 309,
TOKEN_INTERFACE_ID = 310,
TOKEN_ID = 311,
TOKEN_RAPID_COMMIT = 312,
TOKEN_RESERVATION_MODE = 313,
TOKEN_HOST_RESERVATION_IDENTIFIERS = 314,
TOKEN_CLIENT_CLASSES = 315,
TOKEN_TEST = 316,
TOKEN_CLIENT_CLASS = 317,
TOKEN_RESERVATIONS = 318,
TOKEN_DUID = 319,
TOKEN_HW_ADDRESS = 320,
TOKEN_CIRCUIT_ID = 321,
TOKEN_CLIENT_ID = 322,
TOKEN_HOSTNAME = 323,
TOKEN_RELAY = 324,
TOKEN_IP_ADDRESS = 325,
TOKEN_HOOKS_LIBRARIES = 326,
TOKEN_LIBRARY = 327,
TOKEN_PARAMETERS = 328,
TOKEN_EXPIRED_LEASES_PROCESSING = 329,
TOKEN_DHCP4O6_PORT = 330,
TOKEN_CONTROL_SOCKET = 331,
TOKEN_SOCKET_TYPE = 332,
TOKEN_SOCKET_NAME = 333,
TOKEN_DHCP_DDNS = 334,
TOKEN_LOGGING = 335,
TOKEN_LOGGERS = 336,
TOKEN_OUTPUT_OPTIONS = 337,
TOKEN_OUTPUT = 338,
TOKEN_DEBUGLEVEL = 339,
TOKEN_SEVERITY = 340,
TOKEN_DHCP6 = 341,
TOKEN_DHCPDDNS = 342,
TOKEN_TOPLEVEL_JSON = 343,
TOKEN_TOPLEVEL_DHCP4 = 344,
TOKEN_SUB_DHCP4 = 345,
TOKEN_SUB_INTERFACES4 = 346,
TOKEN_SUB_SUBNET4 = 347,
TOKEN_SUB_POOL4 = 348,
TOKEN_SUB_RESERVATION = 349,
TOKEN_SUB_OPTION_DEF = 350,
TOKEN_SUB_OPTION_DATA = 351,
TOKEN_SUB_HOOKS_LIBRARY = 352,
TOKEN_STRING = 353,
TOKEN_INTEGER = 354,
TOKEN_FLOAT = 355,
TOKEN_BOOLEAN = 356
};
};
......@@ -646,6 +647,10 @@ namespace isc { namespace dhcp {
symbol_type
make_POSTGRESQL (const location_type& l);
static inline
symbol_type
make_CQL (const location_type& l);
static inline
symbol_type
make_USER (const location_type& l);
......@@ -1155,12 +1160,12 @@ namespace isc { namespace dhcp {
enum
{
yyeof_ = 0,
yylast_ = 604, ///< Last index in yytable_.
yylast_ = 605, ///< Last index in yytable_.
yynnts_ = 261, ///< Number of nonterminal symbols.
yyfinal_ = 22, ///< Termination state number.
yyterror_ = 1,
yyerrcode_ = 256,
yyntokens_ = 101 ///< Number of tokens.
yyntokens_ = 102 ///< Number of tokens.
};
......@@ -1212,9 +1217,9 @@ namespace isc { namespace dhcp {
65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
95, 96, 97, 98, 99, 100
95, 96, 97, 98, 99, 100, 101
};
const unsigned int user_token_number_max_ = 355;
const unsigned int user_token_number_max_ = 356;
const token_number_type undef_token_ = 2;
if (static_cast<int>(t) <= yyeof_)
......@@ -1247,24 +1252,24 @@ namespace isc { namespace dhcp {
{
switch (other.type_get ())
{
case 113: // value
case 160: // db_type
case 114: // value
case 161: // db_type
value.copy< ElementPtr > (other.value);
break;
case 100: // "boolean"
case 101: // "boolean"
value.copy< bool > (other.value);
break;
case 99: // "floating point"
case 100: // "floating point"
value.copy< double > (other.value);
break;
case 98: // "integer"
case 99: // "integer"
value.copy< int64_t > (other.value);
break;
case 97: // "constant string"
case 98: // "constant string"
value.copy< std::string > (other.value);
break;
......@@ -1285,24 +1290,24 @@ namespace isc { namespace dhcp {
(void) v;
switch (this->type_get ())
{
case 113: // value
case 160: // db_type
case 114: // value
case 161: // db_type
value.copy< ElementPtr > (v);
break;
case 100: // "boolean"
case 101: // "boolean"
value.copy< bool > (v);
break;
case 99: // "floating point"
case 100: // "floating point"
value.copy< double > (v);
break;
case 98: // "integer"
case 99: // "integer"
value.copy< int64_t > (v);
break;
case 97: // "constant string"
case 98: // "constant string"
value.copy< std::string > (v);
break;
......@@ -1382,24 +1387,24 @@ namespace isc { namespace dhcp {
// Type destructor.
switch (yytype)
{
case 113: // value
case 160: // db_type
case 114: // value
case 161: // db_type
value.template destroy< ElementPtr > ();
break;
case 100: // "boolean"
case 101: // "boolean"
value.template destroy< bool > ();
break;
case 99: // "floating point"
case 100: // "floating point"
value.template destroy< double > ();
break;
case 98: // "integer"
case 99: // "integer"
value.template destroy< int64_t > ();
break;
case 97: // "constant string"
case 98: // "constant string"
value.template destroy< std::string > ();
break;
......@@ -1426,24 +1431,24 @@ namespace isc { namespace dhcp {
super_type::move(s);
switch (this->type_get ())
{
case 113: // value
case 160: // db_type
case 114: // value
case 161: // db_type
value.move< ElementPtr > (s.value);
break;
case 100: // "boolean"
case 101: // "boolean"
value.move< bool > (s.value);
break;
case 99: // "floating point"
case 100: // "floating point"
value.move< double > (s.value);
break;
case 98: // "integer"
case 99: // "integer"
value.move< int64_t > (s.value);
break;
case 97: // "constant string"
case 98: // "constant string"
value.move< std::string > (s.value);
break;
......@@ -1512,7 +1517,7 @@ namespace isc { namespace dhcp {
325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
335, 336, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 348, 349, 350, 351, 352, 353, 354,
355
355, 356
};
return static_cast<token_type> (yytoken_number_[type]);
}
......@@ -1655,6 +1660,12 @@ namespace isc { namespace dhcp {
return symbol_type (token::TOKEN_POSTGRESQL, l);
}
Dhcp4Parser::symbol_type
Dhcp4Parser::make_CQL (const location_type& l)
{
return symbol_type (token::TOKEN_CQL, l);
}
Dhcp4Parser::symbol_type
Dhcp4Parser::make_USER (const location_type& l)
{
......@@ -2114,7 +2125,7 @@ namespace isc { namespace dhcp {
#line 14 "dhcp4_parser.yy" // lalr1.cc:377
} } // isc::dhcp
#line 2118 "dhcp4_parser.h" // lalr1.cc:377
#line 2129 "dhcp4_parser.h" // lalr1.cc:377
......
// Generated 201701101509
// Generated 201701102039
// A Bison parser, made by GNU Bison 3.0.4.
// Locations for Bison parsers in C++
......
// Generated 201701101509
// Generated 201701102039
// A Bison parser, made by GNU Bison 3.0.4.
// Positions for Bison parsers in C++
......
// Generated 201701101509
// Generated 201701102039
// 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.
......@@ -359,97 +359,98 @@ namespace isc { namespace dhcp {
TOKEN_MEMFILE = 271,
TOKEN_MYSQL = 272,
TOKEN_POSTGRESQL = 273,
TOKEN_USER = 274,
TOKEN_PASSWORD = 275,
TOKEN_HOST = 276,
TOKEN_PERSIST = 277,
TOKEN_LFC_INTERVAL = 278,
TOKEN_READONLY = 279,
TOKEN_CONNECT_TIMEOUT = 280,
TOKEN_PREFERRED_LIFETIME = 281,
TOKEN_VALID_LIFETIME = 282,
TOKEN_RENEW_TIMER = 283,
TOKEN_REBIND_TIMER = 284,
TOKEN_DECLINE_PROBATION_PERIOD = 285,
TOKEN_SUBNET6 = 286,
TOKEN_OPTION_DEF = 287,
TOKEN_OPTION_DATA = 288,
TOKEN_NAME = 289,
TOKEN_DATA = 290,
TOKEN_CODE = 291,
TOKEN_SPACE = 292,
TOKEN_CSV_FORMAT = 293,
TOKEN_RECORD_TYPES = 294,
TOKEN_ENCAPSULATE = 295,
TOKEN_ARRAY = 296,
TOKEN_POOLS = 297,
TOKEN_POOL = 298,
TOKEN_PD_POOLS = 299,
TOKEN_PREFIX = 300,
TOKEN_PREFIX_LEN = 301,
TOKEN_EXCLUDED_PREFIX = 302,
TOKEN_EXCLUDED_PREFIX_LEN = 303,
TOKEN_DELEGATED_LEN = 304,
TOKEN_SUBNET = 305,
TOKEN_INTERFACE = 306,
TOKEN_INTERFACE_ID = 307,
TOKEN_ID = 308,
TOKEN_RAPID_COMMIT = 309,
TOKEN_RESERVATION_MODE = 310,
TOKEN_MAC_SOURCES = 311,
TOKEN_RELAY_SUPPLIED_OPTIONS = 312,
TOKEN_HOST_RESERVATION_IDENTIFIERS = 313,
TOKEN_CLIENT_CLASSES = 314,
TOKEN_TEST = 315,
TOKEN_CLIENT_CLASS = 316,
TOKEN_RESERVATIONS = 317,
TOKEN_IP_ADDRESSES = 318,
TOKEN_PREFIXES = 319,
TOKEN_DUID = 320,
TOKEN_HW_ADDRESS = 321,
TOKEN_HOSTNAME = 322,
TOKEN_RELAY = 323,
TOKEN_IP_ADDRESS = 324,
TOKEN_HOOKS_LIBRARIES = 325,
TOKEN_LIBRARY = 326,
TOKEN_PARAMETERS = 327,
TOKEN_EXPIRED_LEASES_PROCESSING = 328,
TOKEN_SERVER_ID = 329,
TOKEN_LLT = 330,
TOKEN_EN = 331,
TOKEN_LL = 332,
TOKEN_IDENTIFIER = 333,
TOKEN_HTYPE = 334,
TOKEN_TIME = 335,
TOKEN_ENTERPRISE_ID = 336,
TOKEN_DHCP4O6_PORT = 337,
TOKEN_CONTROL_SOCKET = 338,
TOKEN_SOCKET_TYPE = 339,
TOKEN_SOCKET_NAME = 340,
TOKEN_DHCP_DDNS = 341,
TOKEN_LOGGING = 342,
TOKEN_LOGGERS = 343,
TOKEN_OUTPUT_OPTIONS = 344,
TOKEN_OUTPUT = 345,
TOKEN_DEBUGLEVEL = 346,
TOKEN_SEVERITY = 347,
TOKEN_DHCP4 = 348,
TOKEN_DHCPDDNS = 349,
TOKEN_TOPLEVEL_JSON = 350,
TOKEN_TOPLEVEL_DHCP6 = 351,
TOKEN_SUB_DHCP6 = 352,
TOKEN_SUB_INTERFACES6 = 353,
TOKEN_SUB_SUBNET6 = 354,
TOKEN_SUB_POOL6 = 355,
TOKEN_SUB_PD_POOL = 356,
TOKEN_SUB_RESERVATION = 357,
TOKEN_SUB_OPTION_DEF = 358,
TOKEN_SUB_OPTION_DATA = 359,
TOKEN_SUB_HOOKS_LIBRARY = 360,
TOKEN_STRING = 361,
TOKEN_INTEGER = 362,
TOKEN_FLOAT = 363,
TOKEN_BOOLEAN = 364
TOKEN_CQL = 274,
TOKEN_USER = 275,
TOKEN_PASSWORD = 276,
TOKEN_HOST = 277,
TOKEN_PERSIST = 278,
TOKEN_LFC_INTERVAL = 279,
TOKEN_READONLY = 280,
TOKEN_CONNECT_TIMEOUT = 281,
TOKEN_PREFERRED_LIFETIME = 282,
TOKEN_VALID_LIFETIME = 283,
TOKEN_RENEW_TIMER = 284,
TOKEN_REBIND_TIMER = 285,
TOKEN_DECLINE_PROBATION_PERIOD = 286,
TOKEN_SUBNET6 = 287,
TOKEN_OPTION_DEF = 288,
TOKEN_OPTION_DATA = 289,
TOKEN_NAME = 290,
TOKEN_DATA = 291,
TOKEN_CODE = 292,
TOKEN_SPACE = 293,
TOKEN_CSV_FORMAT = 294,
TOKEN_RECORD_TYPES = 295,
TOKEN_ENCAPSULATE = 296,
TOKEN_ARRAY = 297,
TOKEN_POOLS = 298,
TOKEN_POOL = 299,
TOKEN_PD_POOLS = 300,
TOKEN_PREFIX = 301,
TOKEN_PREFIX_LEN = 302,
TOKEN_EXCLUDED_PREFIX = 303,
TOKEN_EXCLUDED_PREFIX_LEN = 304,
TOKEN_DELEGATED_LEN = 305,
TOKEN_SUBNET = 306,
TOKEN_INTERFACE = 307,
TOKEN_INTERFACE_ID = 308,
TOKEN_ID = 309,
TOKEN_RAPID_COMMIT = 310,
TOKEN_RESERVATION_MODE = 311,
TOKEN_MAC_SOURCES = 312,
TOKEN_RELAY_SUPPLIED_OPTIONS = 313,
TOKEN_HOST_RESERVATION_IDENTIFIERS = 314,
TOKEN_CLIENT_CLASSES = 315,
TOKEN_TEST = 316,
TOKEN_CLIENT_CLASS = 317,
TOKEN_RESERVATIONS = 318,
TOKEN_IP_ADDRESSES = 319,
TOKEN_PREFIXES = 320,
TOKEN_DUID = 321,
TOKEN_HW_ADDRESS = 322,
TOKEN_HOSTNAME = 323,
TOKEN_RELAY = 324,
TOKEN_IP_ADDRESS = 325,
TOKEN_HOOKS_LIBRARIES = 326,
TOKEN_LIBRARY = 327,
TOKEN_PARAMETERS = 328,
TOKEN_EXPIRED_LEASES_PROCESSING = 329,
TOKEN_SERVER_ID = 330,
TOKEN_LLT = 331,
TOKEN_EN = 332,
TOKEN_LL = 333,
TOKEN_IDENTIFIER = 334,
TOKEN_HTYPE = 335,
TOKEN_TIME = 336,
TOKEN_ENTERPRISE_ID = 337,
TOKEN_DHCP4O6_PORT = 338,
TOKEN_CONTROL_SOCKET = 339,
TOKEN_SOCKET_TYPE = 340,
TOKEN_SOCKET_NAME = 341,
TOKEN_DHCP_DDNS = 342,
TOKEN_LOGGING = 343,
TOKEN_LOGGERS = 344,
TOKEN_OUTPUT_OPTIONS = 345,
TOKEN_OUTPUT = 346,
TOKEN_DEBUGLEVEL = 347,
TOKEN_SEVERITY = 348,
TOKEN_DHCP4 = 349,
TOKEN_DHCPDDNS = 350,
TOKEN_TOPLEVEL_JSON = 351,
TOKEN_TOPLEVEL_DHCP6 = 352,
TOKEN_SUB_DHCP6 = 353,
TOKEN_SUB_INTERFACES6 = 354,
TOKEN_SUB_SUBNET6 = 355,
TOKEN_SUB_POOL6 = 356,
TOKEN_SUB_PD_POOL = 357,
TOKEN_SUB_RESERVATION = 358,
TOKEN_SUB_OPTION_DEF = 359,
TOKEN_SUB_OPTION_DATA = 360,
TOKEN_SUB_HOOKS_LIBRARY = 361,
TOKEN_STRING = 362,
TOKEN_INTEGER = 363,
TOKEN_FLOAT = 364,
TOKEN_BOOLEAN = 365
};
};
......@@ -632,6 +633,10 @@ namespace isc { namespace dhcp {
symbol_type
make_POSTGRESQL (const location_type& l);
static inline
symbol_type
make_CQL (const location_type& l);
static inline
symbol_type
make_USER (const location_type& l);
......@@ -1201,12 +1206,12 @@ namespace isc { namespace dhcp {
enum
{
yyeof_ = 0,
yylast_ = 647, ///< Last index in yytable_.
yylast_ = 648, ///< Last index in yytable_.
yynnts_ = 277, ///< Number of nonterminal symbols.
yyfinal_ = 24, ///< Termination state number.
yyterror_ = 1,
yyerrcode_ = 256,
yyntokens_ = 110 ///< Number of tokens.
yyntokens_ = 111 ///< Number of tokens.
};
......@@ -1259,9 +1264,9 @@ namespace isc { namespace dhcp {
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
105, 106, 107, 108, 109
105, 106, 107, 108, 109, 110
};
const unsigned int user_token_number_max_ = 364;
const unsigned int user_token_number_max_ = 365;
const token_number_type undef_token_ = 2;
if (static_cast<int>(t) <= yyeof_)
......@@ -1294,25 +1299,25 @@ namespace isc { namespace dhcp {
{
switch (other.type_get ())
{
case 123: // value
case 165: // db_type
case 344: // duid_type
case 124: // value
case 166: // db_type
case 345: // duid_type
value.copy< ElementPtr > (other.value);
break;