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

[master] regen flex/bison

parent 0260a628
// Generated 201801020210
// Generated 201804111444
// A Bison parser, made by GNU Bison 3.0.4.
// Locations for Bison parsers in C++
......
// Generated 201801020210
// Generated 201804111444
// A Bison parser, made by GNU Bison 3.0.4.
// Positions for Bison parsers in C++
......
// Generated 201801020210
// Generated 201804111444
// A Bison parser, made by GNU Bison 3.0.4.
// Stack handling for Bison parsers in C++
......
// Generated 201801020209
// Generated 201804111443
// A Bison parser, made by GNU Bison 3.0.4.
// Locations for Bison parsers in C++
......
// Generated 201801020209
// Generated 201804111443
// A Bison parser, made by GNU Bison 3.0.4.
// Positions for Bison parsers in C++
......
// Generated 201801020209
// Generated 201804111443
// 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.
......@@ -428,81 +428,83 @@ namespace isc { namespace dhcp {
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
TOKEN_REQUIRE_CLIENT_CLASSES = 338,
TOKEN_TEST = 339,
TOKEN_ONLY_IF_REQUIRED = 340,
TOKEN_CLIENT_CLASS = 341,
TOKEN_RESERVATIONS = 342,
TOKEN_DUID = 343,
TOKEN_HW_ADDRESS = 344,
TOKEN_CIRCUIT_ID = 345,
TOKEN_CLIENT_ID = 346,
TOKEN_HOSTNAME = 347,
TOKEN_FLEX_ID = 348,
TOKEN_RELAY = 349,
TOKEN_IP_ADDRESS = 350,
TOKEN_HOOKS_LIBRARIES = 351,
TOKEN_LIBRARY = 352,
TOKEN_PARAMETERS = 353,
TOKEN_EXPIRED_LEASES_PROCESSING = 354,
TOKEN_RECLAIM_TIMER_WAIT_TIME = 355,
TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 356,
TOKEN_HOLD_RECLAIMED_TIME = 357,
TOKEN_MAX_RECLAIM_LEASES = 358,
TOKEN_MAX_RECLAIM_TIME = 359,
TOKEN_UNWARNED_RECLAIM_CYCLES = 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_TCP = 380,
TOKEN_JSON = 381,
TOKEN_WHEN_PRESENT = 382,
TOKEN_NEVER = 383,
TOKEN_ALWAYS = 384,
TOKEN_WHEN_NOT_PRESENT = 385,
TOKEN_LOGGING = 386,
TOKEN_LOGGERS = 387,
TOKEN_OUTPUT_OPTIONS = 388,
TOKEN_OUTPUT = 389,
TOKEN_DEBUGLEVEL = 390,
TOKEN_SEVERITY = 391,
TOKEN_FLUSH = 392,
TOKEN_MAXSIZE = 393,
TOKEN_MAXVER = 394,
TOKEN_DHCP6 = 395,
TOKEN_DHCPDDNS = 396,
TOKEN_CONTROL_AGENT = 397,
TOKEN_TOPLEVEL_JSON = 398,
TOKEN_TOPLEVEL_DHCP4 = 399,
TOKEN_SUB_DHCP4 = 400,
TOKEN_SUB_INTERFACES4 = 401,
TOKEN_SUB_SUBNET4 = 402,
TOKEN_SUB_POOL4 = 403,
TOKEN_SUB_RESERVATION = 404,
TOKEN_SUB_OPTION_DEFS = 405,
TOKEN_SUB_OPTION_DEF = 406,
TOKEN_SUB_OPTION_DATA = 407,
TOKEN_SUB_HOOKS_LIBRARY = 408,
TOKEN_SUB_DHCP_DDNS = 409,
TOKEN_SUB_LOGGING = 410,
TOKEN_STRING = 411,
TOKEN_INTEGER = 412,
TOKEN_FLOAT = 413,
TOKEN_BOOLEAN = 414
};
};
......@@ -941,10 +943,18 @@ namespace isc { namespace dhcp {
symbol_type
make_CLIENT_CLASSES (const location_type& l);
static inline
symbol_type
make_REQUIRE_CLIENT_CLASSES (const location_type& l);
static inline
symbol_type
make_TEST (const location_type& l);
static inline
symbol_type
make_ONLY_IF_REQUIRED (const location_type& l);
static inline
symbol_type
make_CLIENT_CLASS (const location_type& l);
......@@ -1446,12 +1456,12 @@ namespace isc { namespace dhcp {
enum
{
yyeof_ = 0,
yylast_ = 923, ///< Last index in yytable_.
yynnts_ = 349, ///< Number of nonterminal symbols.
yylast_ = 933, ///< Last index in yytable_.
yynnts_ = 352, ///< Number of nonterminal symbols.
yyfinal_ = 28, ///< Termination state number.
yyterror_ = 1,
yyerrcode_ = 256,
yyntokens_ = 158 ///< Number of tokens.
yyntokens_ = 160 ///< Number of tokens.
};
......@@ -1509,9 +1519,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
155, 156, 157, 158, 159
};
const unsigned int user_token_number_max_ = 412;
const unsigned int user_token_number_max_ = 414;
const token_number_type undef_token_ = 2;
if (static_cast<int>(t) <= yyeof_)
......@@ -1544,30 +1554,30 @@ namespace isc { namespace dhcp {
{
switch (other.type_get ())
{
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
case 175: // value
case 179: // map_value
case 217: // socket_type
case 220: // outbound_interface_value
case 236: // db_type
case 320: // hr_mode
case 467: // ncr_protocol_value
case 475: // replace_client_name_value
value.copy< ElementPtr > (other.value);
break;
case 157: // "boolean"
case 159: // "boolean"
value.copy< bool > (other.value);
break;
case 156: // "floating point"
case 158: // "floating point"
value.copy< double > (other.value);
break;
case 155: // "integer"
case 157: // "integer"
value.copy< int64_t > (other.value);
break;
case 154: // "constant string"
case 156: // "constant string"
value.copy< std::string > (other.value);
break;
......@@ -1588,30 +1598,30 @@ namespace isc { namespace dhcp {
(void) v;
switch (this->type_get ())
{
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
case 175: // value
case 179: // map_value
case 217: // socket_type
case 220: // outbound_interface_value
case 236: // db_type
case 320: // hr_mode
case 467: // ncr_protocol_value
case 475: // replace_client_name_value
value.copy< ElementPtr > (v);
break;
case 157: // "boolean"
case 159: // "boolean"
value.copy< bool > (v);
break;
case 156: // "floating point"
case 158: // "floating point"
value.copy< double > (v);
break;
case 155: // "integer"
case 157: // "integer"
value.copy< int64_t > (v);
break;
case 154: // "constant string"
case 156: // "constant string"
value.copy< std::string > (v);
break;
......@@ -1691,30 +1701,30 @@ namespace isc { namespace dhcp {
// Type destructor.
switch (yytype)
{
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
case 175: // value
case 179: // map_value
case 217: // socket_type
case 220: // outbound_interface_value
case 236: // db_type
case 320: // hr_mode
case 467: // ncr_protocol_value
case 475: // replace_client_name_value
value.template destroy< ElementPtr > ();
break;
case 157: // "boolean"
case 159: // "boolean"
value.template destroy< bool > ();
break;
case 156: // "floating point"
case 158: // "floating point"
value.template destroy< double > ();
break;
case 155: // "integer"
case 157: // "integer"
value.template destroy< int64_t > ();
break;
case 154: // "constant string"
case 156: // "constant string"
value.template destroy< std::string > ();
break;
......@@ -1741,30 +1751,30 @@ namespace isc { namespace dhcp {
super_type::move(s);
switch (this->type_get ())
{
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
case 175: // value
case 179: // map_value
case 217: // socket_type
case 220: // outbound_interface_value
case 236: // db_type
case 320: // hr_mode
case 467: // ncr_protocol_value
case 475: // replace_client_name_value
value.move< ElementPtr > (s.value);
break;
case 157: // "boolean"
case 159: // "boolean"
value.move< bool > (s.value);
break;
case 156: // "floating point"
case 158: // "floating point"
value.move< double > (s.value);
break;
case 155: // "integer"
case 157: // "integer"
value.move< int64_t > (s.value);
break;
case 154: // "constant string"
case 156: // "constant string"
value.move< std::string > (s.value);
break;
......@@ -1838,7 +1848,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, 412
405, 406, 407, 408, 409, 410, 411, 412, 413, 414
};
return static_cast<token_type> (yytoken_number_[type]);
}
......@@ -2329,12 +2339,24 @@ namespace isc { namespace dhcp {
return symbol_type (token::TOKEN_CLIENT_CLASSES, l);
}
Dhcp4Parser::symbol_type
Dhcp4Parser::make_REQUIRE_CLIENT_CLASSES (const location_type& l)
{
return symbol_type (token::TOKEN_REQUIRE_CLIENT_CLASSES, l);
}
Dhcp4Parser::symbol_type
Dhcp4Parser::make_TEST (const location_type& l)
{
return symbol_type (token::TOKEN_TEST, l);
}
Dhcp4Parser::symbol_type
Dhcp4Parser::make_ONLY_IF_REQUIRED (const location_type& l)
{
return symbol_type (token::TOKEN_ONLY_IF_REQUIRED, l);
}
Dhcp4Parser::symbol_type
Dhcp4Parser::make_CLIENT_CLASS (const location_type& l)
{
......@@ -2782,7 +2804,7 @@ namespace isc { namespace dhcp {
#line 14 "dhcp4_parser.yy" // lalr1.cc:377
} } // isc::dhcp
#line 2786 "dhcp4_parser.h" // lalr1.cc:377
#line 2808 "dhcp4_parser.h" // lalr1.cc:377
......
// Generated 201804061423
// Generated 201804111443
// A Bison parser, made by GNU Bison 3.0.4.
// Locations for Bison parsers in C++
......
// Generated 201804061423
// Generated 201804111443
// A Bison parser, made by GNU Bison 3.0.4.
// Positions for Bison parsers in C++
......
// Generated 201804061423
// Generated 201804111443
// A Bison parser, made by GNU Bison 3.0.4.
// Stack handling for Bison parsers in C++
......
......@@ -294,8 +294,6 @@
/* begin standard C headers. */
/* %if-c-only */
#include <config.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
......
// Generated 201804071317
// Generated 201804111443
// A Bison parser, made by GNU Bison 3.0.4.
// Locations for Bison parsers in C++
......
......@@ -45,8 +45,6 @@
# endif
# endif
#include <config.h>
#include "parser.h"
// User implementation prologue.
......
// Generated 201804071317
// Generated 201804111443
// A Bison parser, made by GNU Bison 3.0.4.
// Positions for Bison parsers in C++
......
// Generated 201804071317
// Generated 201804111443
// A Bison parser, made by GNU Bison 3.0.4.
// Stack handling for Bison parsers in C++
......
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