diff --git a/src/bin/agent/agent_lexer.cc b/src/bin/agent/agent_lexer.cc index 6c83046955..169e7ff5a4 100644 --- a/src/bin/agent/agent_lexer.cc +++ b/src/bin/agent/agent_lexer.cc @@ -1520,13 +1520,13 @@ int yy_flex_debug = 1; static const flex_int16_t yy_rule_linenum[70] = { 0, - 134, 136, 138, 143, 144, 149, 150, 151, 163, 166, - 171, 178, 187, 196, 205, 218, 231, 240, 249, 258, - 267, 276, 285, 294, 303, 312, 321, 330, 339, 348, - 357, 366, 375, 384, 393, 402, 411, 420, 429, 438, - 447, 456, 465, 474, 483, 492, 501, 510, 519, 528, - 537, 638, 654, 703, 711, 726, 727, 728, 729, 730, - 731, 733, 751, 764, 769, 773, 775, 777, 779 + 135, 137, 139, 144, 145, 150, 151, 152, 164, 167, + 172, 179, 188, 197, 206, 219, 232, 241, 250, 259, + 268, 277, 286, 295, 304, 313, 322, 331, 340, 349, + 358, 367, 376, 385, 394, 403, 412, 421, 430, 439, + 448, 457, 466, 475, 484, 493, 502, 511, 520, 529, + 538, 639, 655, 704, 712, 727, 728, 729, 730, 731, + 732, 734, 752, 765, 770, 774, 776, 778, 780 } ; /* The intent behind this definition is that it'll catch @@ -1538,7 +1538,7 @@ static const flex_int16_t yy_rule_linenum[70] = #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "agent_lexer.ll" -/* Copyright (C) 2017-2022 Internet Systems Consortium, Inc. ("ISC") +/* Copyright (C) 2017-2023 Internet Systems Consortium, Inc. ("ISC") This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this @@ -1551,6 +1551,7 @@ char *yytext; #include #include #include +#include #include #include #include @@ -1582,7 +1583,7 @@ using isc::agent::AgentParser; /* To avoid the call to exit... oops! */ #define YY_FATAL_ERROR(msg) isc::agent::ParserContext::fatal(msg) -#line 1585 "agent_lexer.cc" +#line 1586 "agent_lexer.cc" /* noyywrap disables automatic rewinding for the next file to parse. Since we always parse only a single string, there's no need to do any wraps. And using yywrap requires linking with -lfl, which provides the default yywrap @@ -1603,13 +1604,13 @@ using isc::agent::AgentParser; can be used during actual token definitions. Note some can match incorrect inputs (e.g., IP addresses) which must be checked. */ /* for errors */ -#line 97 "agent_lexer.ll" +#line 98 "agent_lexer.ll" /* This code run each time a pattern is matched. It updates the location by moving it ahead by yyleng bytes. yyleng specifies the length of the currently matched token. */ #define YY_USER_ACTION driver.loc_.columns(yyleng); -#line 1611 "agent_lexer.cc" #line 1612 "agent_lexer.cc" +#line 1613 "agent_lexer.cc" #define INITIAL 0 #define COMMENT 1 @@ -1891,11 +1892,11 @@ YY_DECL { /* %% [7.0] user's declarations go here */ -#line 103 "agent_lexer.ll" +#line 104 "agent_lexer.ll" -#line 107 "agent_lexer.ll" +#line 108 "agent_lexer.ll" /* This part of the code is copied over to the verbatim to the top of the generated yylex function. Explanation: http://www.gnu.org/software/bison/manual/html_node/Multiple-start_002dsymbols.html */ @@ -1923,7 +1924,7 @@ YY_DECL } -#line 1926 "agent_lexer.cc" +#line 1927 "agent_lexer.cc" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { @@ -2001,17 +2002,17 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 134 "agent_lexer.ll" +#line 135 "agent_lexer.ll" ; YY_BREAK case 2: YY_RULE_SETUP -#line 136 "agent_lexer.ll" +#line 137 "agent_lexer.ll" ; YY_BREAK case 3: YY_RULE_SETUP -#line 138 "agent_lexer.ll" +#line 139 "agent_lexer.ll" { BEGIN(COMMENT); comment_start_line = driver.loc_.end.line;; @@ -2019,33 +2020,33 @@ YY_RULE_SETUP YY_BREAK case 4: YY_RULE_SETUP -#line 143 "agent_lexer.ll" +#line 144 "agent_lexer.ll" BEGIN(INITIAL); YY_BREAK case 5: YY_RULE_SETUP -#line 144 "agent_lexer.ll" +#line 145 "agent_lexer.ll" ; YY_BREAK case YY_STATE_EOF(COMMENT): -#line 145 "agent_lexer.ll" +#line 146 "agent_lexer.ll" { isc_throw(ParseError, "Comment not closed. (/* in line " << comment_start_line); } YY_BREAK case 6: YY_RULE_SETUP -#line 149 "agent_lexer.ll" +#line 150 "agent_lexer.ll" BEGIN(DIR_ENTER); YY_BREAK case 7: YY_RULE_SETUP -#line 150 "agent_lexer.ll" +#line 151 "agent_lexer.ll" BEGIN(DIR_INCLUDE); YY_BREAK case 8: YY_RULE_SETUP -#line 151 "agent_lexer.ll" +#line 152 "agent_lexer.ll" { /* Include directive. */ @@ -2059,19 +2060,19 @@ YY_RULE_SETUP case YY_STATE_EOF(DIR_ENTER): case YY_STATE_EOF(DIR_INCLUDE): case YY_STATE_EOF(DIR_EXIT): -#line 160 "agent_lexer.ll" +#line 161 "agent_lexer.ll" { isc_throw(ParseError, "Directive not closed."); } YY_BREAK case 9: YY_RULE_SETUP -#line 163 "agent_lexer.ll" +#line 164 "agent_lexer.ll" BEGIN(INITIAL); YY_BREAK case 10: YY_RULE_SETUP -#line 166 "agent_lexer.ll" +#line 167 "agent_lexer.ll" { /* Ok, we found a with space. Let's ignore it and update loc variable. */ driver.loc_.step(); @@ -2080,7 +2081,7 @@ YY_RULE_SETUP case 11: /* rule 11 can match eol */ YY_RULE_SETUP -#line 171 "agent_lexer.ll" +#line 172 "agent_lexer.ll" { /* Newline found. Let's update the location and continue. */ driver.loc_.lines(yyleng); @@ -2089,7 +2090,7 @@ YY_RULE_SETUP YY_BREAK case 12: YY_RULE_SETUP -#line 178 "agent_lexer.ll" +#line 179 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::CONFIG: @@ -2101,7 +2102,7 @@ YY_RULE_SETUP YY_BREAK case 13: YY_RULE_SETUP -#line 187 "agent_lexer.ll" +#line 188 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AGENT: @@ -2113,7 +2114,7 @@ YY_RULE_SETUP YY_BREAK case 14: YY_RULE_SETUP -#line 196 "agent_lexer.ll" +#line 197 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AGENT: @@ -2125,7 +2126,7 @@ YY_RULE_SETUP YY_BREAK case 15: YY_RULE_SETUP -#line 205 "agent_lexer.ll" +#line 206 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AGENT: @@ -2141,7 +2142,7 @@ YY_RULE_SETUP YY_BREAK case 16: YY_RULE_SETUP -#line 218 "agent_lexer.ll" +#line 219 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AGENT: @@ -2157,7 +2158,7 @@ YY_RULE_SETUP YY_BREAK case 17: YY_RULE_SETUP -#line 231 "agent_lexer.ll" +#line 232 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AGENT: @@ -2169,7 +2170,7 @@ YY_RULE_SETUP YY_BREAK case 18: YY_RULE_SETUP -#line 240 "agent_lexer.ll" +#line 241 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AUTHENTICATION: @@ -2181,7 +2182,7 @@ YY_RULE_SETUP YY_BREAK case 19: YY_RULE_SETUP -#line 249 "agent_lexer.ll" +#line 250 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AUTH_TYPE: @@ -2193,7 +2194,7 @@ YY_RULE_SETUP YY_BREAK case 20: YY_RULE_SETUP -#line 258 "agent_lexer.ll" +#line 259 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AUTHENTICATION: @@ -2205,7 +2206,7 @@ YY_RULE_SETUP YY_BREAK case 21: YY_RULE_SETUP -#line 267 "agent_lexer.ll" +#line 268 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AUTHENTICATION: @@ -2217,7 +2218,7 @@ YY_RULE_SETUP YY_BREAK case 22: YY_RULE_SETUP -#line 276 "agent_lexer.ll" +#line 277 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AUTHENTICATION: @@ -2229,7 +2230,7 @@ YY_RULE_SETUP YY_BREAK case 23: YY_RULE_SETUP -#line 285 "agent_lexer.ll" +#line 286 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::CLIENTS: @@ -2241,7 +2242,7 @@ YY_RULE_SETUP YY_BREAK case 24: YY_RULE_SETUP -#line 294 "agent_lexer.ll" +#line 295 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::CLIENTS: @@ -2253,7 +2254,7 @@ YY_RULE_SETUP YY_BREAK case 25: YY_RULE_SETUP -#line 303 "agent_lexer.ll" +#line 304 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::CLIENTS: @@ -2265,7 +2266,7 @@ YY_RULE_SETUP YY_BREAK case 26: YY_RULE_SETUP -#line 312 "agent_lexer.ll" +#line 313 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::CLIENTS: @@ -2277,7 +2278,7 @@ YY_RULE_SETUP YY_BREAK case 27: YY_RULE_SETUP -#line 321 "agent_lexer.ll" +#line 322 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AGENT: @@ -2289,7 +2290,7 @@ YY_RULE_SETUP YY_BREAK case 28: YY_RULE_SETUP -#line 330 "agent_lexer.ll" +#line 331 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AGENT: @@ -2301,7 +2302,7 @@ YY_RULE_SETUP YY_BREAK case 29: YY_RULE_SETUP -#line 339 "agent_lexer.ll" +#line 340 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AGENT: @@ -2313,7 +2314,7 @@ YY_RULE_SETUP YY_BREAK case 30: YY_RULE_SETUP -#line 348 "agent_lexer.ll" +#line 349 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AGENT: @@ -2325,7 +2326,7 @@ YY_RULE_SETUP YY_BREAK case 31: YY_RULE_SETUP -#line 357 "agent_lexer.ll" +#line 358 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AGENT: @@ -2337,7 +2338,7 @@ YY_RULE_SETUP YY_BREAK case 32: YY_RULE_SETUP -#line 366 "agent_lexer.ll" +#line 367 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::CONTROL_SOCKETS: @@ -2349,7 +2350,7 @@ YY_RULE_SETUP YY_BREAK case 33: YY_RULE_SETUP -#line 375 "agent_lexer.ll" +#line 376 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::CONTROL_SOCKETS: @@ -2361,7 +2362,7 @@ YY_RULE_SETUP YY_BREAK case 34: YY_RULE_SETUP -#line 384 "agent_lexer.ll" +#line 385 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::CONTROL_SOCKETS: @@ -2373,7 +2374,7 @@ YY_RULE_SETUP YY_BREAK case 35: YY_RULE_SETUP -#line 393 "agent_lexer.ll" +#line 394 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::SERVER: @@ -2385,7 +2386,7 @@ YY_RULE_SETUP YY_BREAK case 36: YY_RULE_SETUP -#line 402 "agent_lexer.ll" +#line 403 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::SERVER: @@ -2397,7 +2398,7 @@ YY_RULE_SETUP YY_BREAK case 37: YY_RULE_SETUP -#line 411 "agent_lexer.ll" +#line 412 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::SOCKET_TYPE: @@ -2409,7 +2410,7 @@ YY_RULE_SETUP YY_BREAK case 38: YY_RULE_SETUP -#line 420 "agent_lexer.ll" +#line 421 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AGENT: @@ -2421,7 +2422,7 @@ YY_RULE_SETUP YY_BREAK case 39: YY_RULE_SETUP -#line 429 "agent_lexer.ll" +#line 430 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::HOOKS_LIBRARIES: @@ -2433,7 +2434,7 @@ YY_RULE_SETUP YY_BREAK case 40: YY_RULE_SETUP -#line 438 "agent_lexer.ll" +#line 439 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::HOOKS_LIBRARIES: @@ -2445,7 +2446,7 @@ YY_RULE_SETUP YY_BREAK case 41: YY_RULE_SETUP -#line 447 "agent_lexer.ll" +#line 448 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::AGENT: @@ -2457,7 +2458,7 @@ YY_RULE_SETUP YY_BREAK case 42: YY_RULE_SETUP -#line 456 "agent_lexer.ll" +#line 457 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::LOGGERS: @@ -2469,7 +2470,7 @@ YY_RULE_SETUP YY_BREAK case 43: YY_RULE_SETUP -#line 465 "agent_lexer.ll" +#line 466 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::LOGGERS: @@ -2481,7 +2482,7 @@ YY_RULE_SETUP YY_BREAK case 44: YY_RULE_SETUP -#line 474 "agent_lexer.ll" +#line 475 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::OUTPUT_OPTIONS: @@ -2493,7 +2494,7 @@ YY_RULE_SETUP YY_BREAK case 45: YY_RULE_SETUP -#line 483 "agent_lexer.ll" +#line 484 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::OUTPUT_OPTIONS: @@ -2505,7 +2506,7 @@ YY_RULE_SETUP YY_BREAK case 46: YY_RULE_SETUP -#line 492 "agent_lexer.ll" +#line 493 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::OUTPUT_OPTIONS: @@ -2517,7 +2518,7 @@ YY_RULE_SETUP YY_BREAK case 47: YY_RULE_SETUP -#line 501 "agent_lexer.ll" +#line 502 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::OUTPUT_OPTIONS: @@ -2529,7 +2530,7 @@ YY_RULE_SETUP YY_BREAK case 48: YY_RULE_SETUP -#line 510 "agent_lexer.ll" +#line 511 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::OUTPUT_OPTIONS: @@ -2541,7 +2542,7 @@ YY_RULE_SETUP YY_BREAK case 49: YY_RULE_SETUP -#line 519 "agent_lexer.ll" +#line 520 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::LOGGERS: @@ -2553,7 +2554,7 @@ YY_RULE_SETUP YY_BREAK case 50: YY_RULE_SETUP -#line 528 "agent_lexer.ll" +#line 529 "agent_lexer.ll" { switch(driver.ctx_) { case ParserContext::LOGGERS: @@ -2565,7 +2566,7 @@ YY_RULE_SETUP YY_BREAK case 51: YY_RULE_SETUP -#line 537 "agent_lexer.ll" +#line 538 "agent_lexer.ll" { /* A string has been matched. It contains the actual string and single quotes. We need to get those quotes out of the way and just use its content, e.g. @@ -2670,7 +2671,7 @@ YY_RULE_SETUP case 52: /* rule 52 can match eol */ YY_RULE_SETUP -#line 638 "agent_lexer.ll" +#line 639 "agent_lexer.ll" { /* Bad string with a forbidden control character inside */ std::string raw(yytext+1); @@ -2690,7 +2691,7 @@ YY_RULE_SETUP case 53: /* rule 53 can match eol */ YY_RULE_SETUP -#line 654 "agent_lexer.ll" +#line 655 "agent_lexer.ll" { /* Bad string with a bad escape inside */ std::string raw(yytext+1); @@ -2742,7 +2743,7 @@ YY_RULE_SETUP YY_BREAK case 54: YY_RULE_SETUP -#line 703 "agent_lexer.ll" +#line 704 "agent_lexer.ll" { /* Bad string with an open escape at the end */ std::string raw(yytext+1); @@ -2753,7 +2754,7 @@ YY_RULE_SETUP YY_BREAK case 55: YY_RULE_SETUP -#line 711 "agent_lexer.ll" +#line 712 "agent_lexer.ll" { /* Bad string with an open unicode escape at the end */ std::string raw(yytext+1); @@ -2771,37 +2772,37 @@ YY_RULE_SETUP YY_BREAK case 56: YY_RULE_SETUP -#line 726 "agent_lexer.ll" +#line 727 "agent_lexer.ll" { return AgentParser::make_LSQUARE_BRACKET(driver.loc_); } YY_BREAK case 57: YY_RULE_SETUP -#line 727 "agent_lexer.ll" +#line 728 "agent_lexer.ll" { return AgentParser::make_RSQUARE_BRACKET(driver.loc_); } YY_BREAK case 58: YY_RULE_SETUP -#line 728 "agent_lexer.ll" +#line 729 "agent_lexer.ll" { return AgentParser::make_LCURLY_BRACKET(driver.loc_); } YY_BREAK case 59: YY_RULE_SETUP -#line 729 "agent_lexer.ll" +#line 730 "agent_lexer.ll" { return AgentParser::make_RCURLY_BRACKET(driver.loc_); } YY_BREAK case 60: YY_RULE_SETUP -#line 730 "agent_lexer.ll" +#line 731 "agent_lexer.ll" { return AgentParser::make_COMMA(driver.loc_); } YY_BREAK case 61: YY_RULE_SETUP -#line 731 "agent_lexer.ll" +#line 732 "agent_lexer.ll" { return AgentParser::make_COLON(driver.loc_); } YY_BREAK case 62: YY_RULE_SETUP -#line 733 "agent_lexer.ll" +#line 734 "agent_lexer.ll" { /* An integer was found. */ std::string tmp(yytext); @@ -2822,7 +2823,7 @@ YY_RULE_SETUP YY_BREAK case 63: YY_RULE_SETUP -#line 751 "agent_lexer.ll" +#line 752 "agent_lexer.ll" { /* A floating point was found. */ std::string tmp(yytext); @@ -2838,7 +2839,7 @@ YY_RULE_SETUP YY_BREAK case 64: YY_RULE_SETUP -#line 764 "agent_lexer.ll" +#line 765 "agent_lexer.ll" { string tmp(yytext); return AgentParser::make_BOOLEAN(tmp == "true", driver.loc_); @@ -2846,33 +2847,33 @@ YY_RULE_SETUP YY_BREAK case 65: YY_RULE_SETUP -#line 769 "agent_lexer.ll" +#line 770 "agent_lexer.ll" { return AgentParser::make_NULL_TYPE(driver.loc_); } YY_BREAK case 66: YY_RULE_SETUP -#line 773 "agent_lexer.ll" +#line 774 "agent_lexer.ll" driver.error (driver.loc_, "JSON true reserved keyword is lower case only"); YY_BREAK case 67: YY_RULE_SETUP -#line 775 "agent_lexer.ll" +#line 776 "agent_lexer.ll" driver.error (driver.loc_, "JSON false reserved keyword is lower case only"); YY_BREAK case 68: YY_RULE_SETUP -#line 777 "agent_lexer.ll" +#line 778 "agent_lexer.ll" driver.error (driver.loc_, "JSON null reserved keyword is lower case only"); YY_BREAK case 69: YY_RULE_SETUP -#line 779 "agent_lexer.ll" +#line 780 "agent_lexer.ll" driver.error (driver.loc_, "Invalid character: " + std::string(yytext)); YY_BREAK case YY_STATE_EOF(INITIAL): -#line 781 "agent_lexer.ll" +#line 782 "agent_lexer.ll" { if (driver.states_.empty()) { return AgentParser::make_END(driver.loc_); @@ -2898,10 +2899,10 @@ case YY_STATE_EOF(INITIAL): YY_BREAK case 70: YY_RULE_SETUP -#line 804 "agent_lexer.ll" +#line 805 "agent_lexer.ll" ECHO; YY_BREAK -#line 2904 "agent_lexer.cc" +#line 2905 "agent_lexer.cc" case YY_END_OF_BUFFER: { @@ -4006,7 +4007,7 @@ void yyfree (void * ptr ) /* %ok-for-header */ -#line 804 "agent_lexer.ll" +#line 805 "agent_lexer.ll" using namespace isc::dhcp; diff --git a/src/bin/agent/location.hh b/src/bin/agent/location.hh index 3f820cc25f..6170e72e71 100644 --- a/src/bin/agent/location.hh +++ b/src/bin/agent/location.hh @@ -1,3 +1,4 @@ +// Generated 202308031547 // A Bison parser, made by GNU Bison 3.8.2. // Locations for Bison parsers in C++ diff --git a/src/bin/d2/d2_lexer.cc b/src/bin/d2/d2_lexer.cc index b4266b48ec..9a6c359c24 100644 --- a/src/bin/d2/d2_lexer.cc +++ b/src/bin/d2/d2_lexer.cc @@ -1078,13 +1078,13 @@ int yy_flex_debug = 1; static const flex_int16_t yy_rule_linenum[68] = { 0, - 136, 138, 140, 145, 146, 151, 152, 153, 165, 168, - 173, 179, 188, 199, 210, 219, 228, 237, 247, 257, - 267, 284, 301, 310, 319, 329, 341, 351, 362, 371, - 381, 391, 401, 410, 419, 428, 437, 446, 455, 464, - 473, 482, 491, 500, 509, 518, 531, 540, 549, 650, - 666, 715, 723, 738, 739, 740, 741, 742, 743, 745, - 763, 776, 781, 785, 787, 789, 791 + 137, 139, 141, 146, 147, 152, 153, 154, 166, 169, + 174, 180, 189, 200, 211, 220, 229, 238, 248, 258, + 268, 285, 302, 311, 320, 330, 342, 352, 363, 372, + 382, 392, 402, 411, 420, 429, 438, 447, 456, 465, + 474, 483, 492, 501, 510, 519, 532, 541, 550, 651, + 667, 716, 724, 739, 740, 741, 742, 743, 744, 746, + 764, 777, 782, 786, 788, 790, 792 } ; /* The intent behind this definition is that it'll catch @@ -1109,6 +1109,7 @@ char *yytext; #include #include #include +#include #include #include #include @@ -1136,7 +1137,7 @@ unsigned int comment_start_line = 0; /* To avoid the call to exit... oops! */ #define YY_FATAL_ERROR(msg) isc::d2::D2ParserContext::fatal(msg) -#line 1139 "d2_lexer.cc" +#line 1140 "d2_lexer.cc" /* noyywrap disables automatic rewinding for the next file to parse. Since we always parse only a single string, there's no need to do any wraps. And using yywrap requires linking with -lfl, which provides the default yywrap @@ -1157,13 +1158,13 @@ unsigned int comment_start_line = 0; can be used during actual token definitions. Note some can match incorrect inputs (e.g., IP addresses) which must be checked. */ /* for errors */ -#line 93 "d2_lexer.ll" +#line 94 "d2_lexer.ll" /* This code run each time a pattern is matched. It updates the location by moving it ahead by yyleng bytes. yyleng specifies the length of the currently matched token. */ #define YY_USER_ACTION driver.loc_.columns(yyleng); -#line 1165 "d2_lexer.cc" #line 1166 "d2_lexer.cc" +#line 1167 "d2_lexer.cc" #define INITIAL 0 #define COMMENT 1 @@ -1445,11 +1446,11 @@ YY_DECL { /* %% [7.0] user's declarations go here */ -#line 99 "d2_lexer.ll" +#line 100 "d2_lexer.ll" -#line 103 "d2_lexer.ll" +#line 104 "d2_lexer.ll" /* This part of the code is copied over to the verbatim to the top of the generated yylex function. Explanation: http://www.gnu.org/software/bison/manual/html_node/Multiple-start_002dsymbols.html */ @@ -1483,7 +1484,7 @@ YY_DECL } -#line 1486 "d2_lexer.cc" +#line 1487 "d2_lexer.cc" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { @@ -1561,17 +1562,17 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 136 "d2_lexer.ll" +#line 137 "d2_lexer.ll" ; YY_BREAK case 2: YY_RULE_SETUP -#line 138 "d2_lexer.ll" +#line 139 "d2_lexer.ll" ; YY_BREAK case 3: YY_RULE_SETUP -#line 140 "d2_lexer.ll" +#line 141 "d2_lexer.ll" { BEGIN(COMMENT); comment_start_line = driver.loc_.end.line;; @@ -1579,33 +1580,33 @@ YY_RULE_SETUP YY_BREAK case 4: YY_RULE_SETUP -#line 145 "d2_lexer.ll" +#line 146 "d2_lexer.ll" BEGIN(INITIAL); YY_BREAK case 5: YY_RULE_SETUP -#line 146 "d2_lexer.ll" +#line 147 "d2_lexer.ll" ; YY_BREAK case YY_STATE_EOF(COMMENT): -#line 147 "d2_lexer.ll" +#line 148 "d2_lexer.ll" { isc_throw(D2ParseError, "Comment not closed. (/* in line " << comment_start_line); } YY_BREAK case 6: YY_RULE_SETUP -#line 151 "d2_lexer.ll" +#line 152 "d2_lexer.ll" BEGIN(DIR_ENTER); YY_BREAK case 7: YY_RULE_SETUP -#line 152 "d2_lexer.ll" +#line 153 "d2_lexer.ll" BEGIN(DIR_INCLUDE); YY_BREAK case 8: YY_RULE_SETUP -#line 153 "d2_lexer.ll" +#line 154 "d2_lexer.ll" { /* Include directive. */ @@ -1619,19 +1620,19 @@ YY_RULE_SETUP case YY_STATE_EOF(DIR_ENTER): case YY_STATE_EOF(DIR_INCLUDE): case YY_STATE_EOF(DIR_EXIT): -#line 162 "d2_lexer.ll" +#line 163 "d2_lexer.ll" { isc_throw(D2ParseError, "Directive not closed."); } YY_BREAK case 9: YY_RULE_SETUP -#line 165 "d2_lexer.ll" +#line 166 "d2_lexer.ll" BEGIN(INITIAL); YY_BREAK case 10: YY_RULE_SETUP -#line 168 "d2_lexer.ll" +#line 169 "d2_lexer.ll" { /* Ok, we found a with space. Let's ignore it and update loc variable. */ driver.loc_.step(); @@ -1640,7 +1641,7 @@ YY_RULE_SETUP case 11: /* rule 11 can match eol */ YY_RULE_SETUP -#line 173 "d2_lexer.ll" +#line 174 "d2_lexer.ll" { /* Newline found. Let's update the location and continue. */ driver.loc_.lines(yyleng); @@ -1649,7 +1650,7 @@ YY_RULE_SETUP YY_BREAK case 12: YY_RULE_SETUP -#line 179 "d2_lexer.ll" +#line 180 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::CONFIG: @@ -1661,7 +1662,7 @@ YY_RULE_SETUP YY_BREAK case 13: YY_RULE_SETUP -#line 188 "d2_lexer.ll" +#line 189 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::DHCPDDNS: @@ -1675,7 +1676,7 @@ YY_RULE_SETUP YY_BREAK case 14: YY_RULE_SETUP -#line 199 "d2_lexer.ll" +#line 200 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::DHCPDDNS: @@ -1689,7 +1690,7 @@ YY_RULE_SETUP YY_BREAK case 15: YY_RULE_SETUP -#line 210 "d2_lexer.ll" +#line 211 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::DHCPDDNS: @@ -1701,7 +1702,7 @@ YY_RULE_SETUP YY_BREAK case 16: YY_RULE_SETUP -#line 219 "d2_lexer.ll" +#line 220 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::DHCPDDNS: @@ -1713,7 +1714,7 @@ YY_RULE_SETUP YY_BREAK case 17: YY_RULE_SETUP -#line 228 "d2_lexer.ll" +#line 229 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::DHCPDDNS: @@ -1725,7 +1726,7 @@ YY_RULE_SETUP YY_BREAK case 18: YY_RULE_SETUP -#line 237 "d2_lexer.ll" +#line 238 "d2_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::d2::D2ParserContext::NCR_PROTOCOL) { @@ -1738,7 +1739,7 @@ YY_RULE_SETUP YY_BREAK case 19: YY_RULE_SETUP -#line 247 "d2_lexer.ll" +#line 248 "d2_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::d2::D2ParserContext::NCR_PROTOCOL) { @@ -1751,7 +1752,7 @@ YY_RULE_SETUP YY_BREAK case 20: YY_RULE_SETUP -#line 257 "d2_lexer.ll" +#line 258 "d2_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::d2::D2ParserContext::NCR_FORMAT) { @@ -1764,7 +1765,7 @@ YY_RULE_SETUP YY_BREAK case 21: YY_RULE_SETUP -#line 267 "d2_lexer.ll" +#line 268 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::DHCPDDNS: @@ -1784,7 +1785,7 @@ YY_RULE_SETUP YY_BREAK case 22: YY_RULE_SETUP -#line 284 "d2_lexer.ll" +#line 285 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::DHCPDDNS: @@ -1804,7 +1805,7 @@ YY_RULE_SETUP YY_BREAK case 23: YY_RULE_SETUP -#line 301 "d2_lexer.ll" +#line 302 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::DHCPDDNS: @@ -1816,7 +1817,7 @@ YY_RULE_SETUP YY_BREAK case 24: YY_RULE_SETUP -#line 310 "d2_lexer.ll" +#line 311 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::DHCPDDNS: @@ -1828,7 +1829,7 @@ YY_RULE_SETUP YY_BREAK case 25: YY_RULE_SETUP -#line 319 "d2_lexer.ll" +#line 320 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::FORWARD_DDNS: @@ -1841,7 +1842,7 @@ YY_RULE_SETUP YY_BREAK case 26: YY_RULE_SETUP -#line 329 "d2_lexer.ll" +#line 330 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::DDNS_DOMAIN: @@ -1856,7 +1857,7 @@ YY_RULE_SETUP YY_BREAK case 27: YY_RULE_SETUP -#line 341 "d2_lexer.ll" +#line 342 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::DDNS_DOMAIN: @@ -1869,7 +1870,7 @@ YY_RULE_SETUP YY_BREAK case 28: YY_RULE_SETUP -#line 351 "d2_lexer.ll" +#line 352 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::DNS_SERVER: @@ -1882,7 +1883,7 @@ YY_RULE_SETUP YY_BREAK case 29: YY_RULE_SETUP -#line 362 "d2_lexer.ll" +#line 363 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::DHCPDDNS: @@ -1894,7 +1895,7 @@ YY_RULE_SETUP YY_BREAK case 30: YY_RULE_SETUP -#line 371 "d2_lexer.ll" +#line 372 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::TSIG_KEY: @@ -1907,7 +1908,7 @@ YY_RULE_SETUP YY_BREAK case 31: YY_RULE_SETUP -#line 381 "d2_lexer.ll" +#line 382 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::TSIG_KEY: @@ -1920,7 +1921,7 @@ YY_RULE_SETUP YY_BREAK case 32: YY_RULE_SETUP -#line 391 "d2_lexer.ll" +#line 392 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::TSIG_KEY: @@ -1933,7 +1934,7 @@ YY_RULE_SETUP YY_BREAK case 33: YY_RULE_SETUP -#line 401 "d2_lexer.ll" +#line 402 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::DHCPDDNS: @@ -1945,7 +1946,7 @@ YY_RULE_SETUP YY_BREAK case 34: YY_RULE_SETUP -#line 410 "d2_lexer.ll" +#line 411 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::CONTROL_SOCKET: @@ -1957,7 +1958,7 @@ YY_RULE_SETUP YY_BREAK case 35: YY_RULE_SETUP -#line 419 "d2_lexer.ll" +#line 420 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::CONTROL_SOCKET: @@ -1969,7 +1970,7 @@ YY_RULE_SETUP YY_BREAK case 36: YY_RULE_SETUP -#line 428 "d2_lexer.ll" +#line 429 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::DHCPDDNS: @@ -1981,7 +1982,7 @@ YY_RULE_SETUP YY_BREAK case 37: YY_RULE_SETUP -#line 437 "d2_lexer.ll" +#line 438 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::HOOKS_LIBRARIES: @@ -1993,7 +1994,7 @@ YY_RULE_SETUP YY_BREAK case 38: YY_RULE_SETUP -#line 446 "d2_lexer.ll" +#line 447 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::HOOKS_LIBRARIES: @@ -2005,7 +2006,7 @@ YY_RULE_SETUP YY_BREAK case 39: YY_RULE_SETUP -#line 455 "d2_lexer.ll" +#line 456 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::DHCPDDNS: @@ -2017,7 +2018,7 @@ YY_RULE_SETUP YY_BREAK case 40: YY_RULE_SETUP -#line 464 "d2_lexer.ll" +#line 465 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::LOGGERS: @@ -2029,7 +2030,7 @@ YY_RULE_SETUP YY_BREAK case 41: YY_RULE_SETUP -#line 473 "d2_lexer.ll" +#line 474 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::OUTPUT_OPTIONS: @@ -2041,7 +2042,7 @@ YY_RULE_SETUP YY_BREAK case 42: YY_RULE_SETUP -#line 482 "d2_lexer.ll" +#line 483 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::OUTPUT_OPTIONS: @@ -2053,7 +2054,7 @@ YY_RULE_SETUP YY_BREAK case 43: YY_RULE_SETUP -#line 491 "d2_lexer.ll" +#line 492 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::OUTPUT_OPTIONS: @@ -2065,7 +2066,7 @@ YY_RULE_SETUP YY_BREAK case 44: YY_RULE_SETUP -#line 500 "d2_lexer.ll" +#line 501 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::OUTPUT_OPTIONS: @@ -2077,7 +2078,7 @@ YY_RULE_SETUP YY_BREAK case 45: YY_RULE_SETUP -#line 509 "d2_lexer.ll" +#line 510 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::OUTPUT_OPTIONS: @@ -2089,7 +2090,7 @@ YY_RULE_SETUP YY_BREAK case 46: YY_RULE_SETUP -#line 518 "d2_lexer.ll" +#line 519 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::LOGGERS: @@ -2105,7 +2106,7 @@ YY_RULE_SETUP YY_BREAK case 47: YY_RULE_SETUP -#line 531 "d2_lexer.ll" +#line 532 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::LOGGERS: @@ -2117,7 +2118,7 @@ YY_RULE_SETUP YY_BREAK case 48: YY_RULE_SETUP -#line 540 "d2_lexer.ll" +#line 541 "d2_lexer.ll" { switch(driver.ctx_) { case isc::d2::D2ParserContext::LOGGERS: @@ -2129,7 +2130,7 @@ YY_RULE_SETUP YY_BREAK case 49: YY_RULE_SETUP -#line 549 "d2_lexer.ll" +#line 550 "d2_lexer.ll" { /* A string has been matched. It contains the actual string and single quotes. We need to get those quotes out of the way and just use its content, e.g. @@ -2234,7 +2235,7 @@ YY_RULE_SETUP case 50: /* rule 50 can match eol */ YY_RULE_SETUP -#line 650 "d2_lexer.ll" +#line 651 "d2_lexer.ll" { /* Bad string with a forbidden control character inside */ std::string raw(yytext+1); @@ -2254,7 +2255,7 @@ YY_RULE_SETUP case 51: /* rule 51 can match eol */ YY_RULE_SETUP -#line 666 "d2_lexer.ll" +#line 667 "d2_lexer.ll" { /* Bad string with a bad escape inside */ std::string raw(yytext+1); @@ -2306,7 +2307,7 @@ YY_RULE_SETUP YY_BREAK case 52: YY_RULE_SETUP -#line 715 "d2_lexer.ll" +#line 716 "d2_lexer.ll" { /* Bad string with an open escape at the end */ std::string raw(yytext+1); @@ -2317,7 +2318,7 @@ YY_RULE_SETUP YY_BREAK case 53: YY_RULE_SETUP -#line 723 "d2_lexer.ll" +#line 724 "d2_lexer.ll" { /* Bad string with an open unicode escape at the end */ std::string raw(yytext+1); @@ -2335,37 +2336,37 @@ YY_RULE_SETUP YY_BREAK case 54: YY_RULE_SETUP -#line 738 "d2_lexer.ll" +#line 739 "d2_lexer.ll" { return isc::d2::D2Parser::make_LSQUARE_BRACKET(driver.loc_); } YY_BREAK case 55: YY_RULE_SETUP -#line 739 "d2_lexer.ll" +#line 740 "d2_lexer.ll" { return isc::d2::D2Parser::make_RSQUARE_BRACKET(driver.loc_); } YY_BREAK case 56: YY_RULE_SETUP -#line 740 "d2_lexer.ll" +#line 741 "d2_lexer.ll" { return isc::d2::D2Parser::make_LCURLY_BRACKET(driver.loc_); } YY_BREAK case 57: YY_RULE_SETUP -#line 741 "d2_lexer.ll" +#line 742 "d2_lexer.ll" { return isc::d2::D2Parser::make_RCURLY_BRACKET(driver.loc_); } YY_BREAK case 58: YY_RULE_SETUP -#line 742 "d2_lexer.ll" +#line 743 "d2_lexer.ll" { return isc::d2::D2Parser::make_COMMA(driver.loc_); } YY_BREAK case 59: YY_RULE_SETUP -#line 743 "d2_lexer.ll" +#line 744 "d2_lexer.ll" { return isc::d2::D2Parser::make_COLON(driver.loc_); } YY_BREAK case 60: YY_RULE_SETUP -#line 745 "d2_lexer.ll" +#line 746 "d2_lexer.ll" { /* An integer was found. */ std::string tmp(yytext); @@ -2386,7 +2387,7 @@ YY_RULE_SETUP YY_BREAK case 61: YY_RULE_SETUP -#line 763 "d2_lexer.ll" +#line 764 "d2_lexer.ll" { /* A floating point was found. */ std::string tmp(yytext); @@ -2402,7 +2403,7 @@ YY_RULE_SETUP YY_BREAK case 62: YY_RULE_SETUP -#line 776 "d2_lexer.ll" +#line 777 "d2_lexer.ll" { string tmp(yytext); return isc::d2::D2Parser::make_BOOLEAN(tmp == "true", driver.loc_); @@ -2410,33 +2411,33 @@ YY_RULE_SETUP YY_BREAK case 63: YY_RULE_SETUP -#line 781 "d2_lexer.ll" +#line 782 "d2_lexer.ll" { return isc::d2::D2Parser::make_NULL_TYPE(driver.loc_); } YY_BREAK case 64: YY_RULE_SETUP -#line 785 "d2_lexer.ll" +#line 786 "d2_lexer.ll" driver.error (driver.loc_, "JSON true reserved keyword is lower case only"); YY_BREAK case 65: YY_RULE_SETUP -#line 787 "d2_lexer.ll" +#line 788 "d2_lexer.ll" driver.error (driver.loc_, "JSON false reserved keyword is lower case only"); YY_BREAK case 66: YY_RULE_SETUP -#line 789 "d2_lexer.ll" +#line 790 "d2_lexer.ll" driver.error (driver.loc_, "JSON null reserved keyword is lower case only"); YY_BREAK case 67: YY_RULE_SETUP -#line 791 "d2_lexer.ll" +#line 792 "d2_lexer.ll" driver.error (driver.loc_, "Invalid character: " + std::string(yytext)); YY_BREAK case YY_STATE_EOF(INITIAL): -#line 793 "d2_lexer.ll" +#line 794 "d2_lexer.ll" { if (driver.states_.empty()) { return isc::d2::D2Parser::make_END(driver.loc_); @@ -2462,10 +2463,10 @@ case YY_STATE_EOF(INITIAL): YY_BREAK case 68: YY_RULE_SETUP -#line 816 "d2_lexer.ll" +#line 817 "d2_lexer.ll" ECHO; YY_BREAK -#line 2468 "d2_lexer.cc" +#line 2469 "d2_lexer.cc" case YY_END_OF_BUFFER: { @@ -3570,7 +3571,7 @@ void yyfree (void * ptr ) /* %ok-for-header */ -#line 816 "d2_lexer.ll" +#line 817 "d2_lexer.ll" using namespace isc::dhcp; diff --git a/src/bin/d2/location.hh b/src/bin/d2/location.hh index 4145366614..7b82fcdd8f 100644 --- a/src/bin/d2/location.hh +++ b/src/bin/d2/location.hh @@ -1,3 +1,4 @@ +// Generated 202308031547 // A Bison parser, made by GNU Bison 3.8.2. // Locations for Bison parsers in C++ diff --git a/src/bin/dhcp4/dhcp4_lexer.cc b/src/bin/dhcp4/dhcp4_lexer.cc index 0ec7bc4e3e..6d95b80585 100644 --- a/src/bin/dhcp4/dhcp4_lexer.cc +++ b/src/bin/dhcp4/dhcp4_lexer.cc @@ -2171,32 +2171,32 @@ int yy_flex_debug = 1; static const flex_int16_t yy_rule_linenum[232] = { 0, - 146, 148, 150, 155, 156, 161, 162, 163, 175, 178, - 183, 190, 199, 208, 217, 226, 235, 244, 253, 263, - 272, 281, 290, 299, 308, 317, 326, 335, 344, 353, - 362, 371, 380, 389, 398, 410, 419, 428, 437, 448, - 459, 470, 481, 492, 503, 514, 525, 536, 547, 558, - 569, 578, 587, 596, 607, 616, 627, 638, 649, 660, - 672, 684, 696, 707, 718, 727, 736, 745, 756, 765, - 774, 785, 796, 807, 818, 829, 840, 851, 862, 873, - 882, 891, 900, 910, 921, 931, 942, 951, 961, 975, - 991, 1000, 1009, 1018, 1027, 1036, 1045, 1067, 1089, 1098, + 147, 149, 151, 156, 157, 162, 163, 164, 176, 179, + 184, 191, 200, 209, 218, 227, 236, 245, 254, 264, + 273, 282, 291, 300, 309, 318, 327, 336, 345, 354, + 363, 372, 381, 390, 399, 411, 420, 429, 438, 449, + 460, 471, 482, 493, 504, 515, 526, 537, 548, 559, + 570, 579, 588, 597, 608, 617, 628, 639, 650, 661, + 673, 685, 697, 708, 719, 728, 737, 746, 757, 766, + 775, 786, 797, 808, 819, 830, 841, 852, 863, 874, + 883, 892, 901, 911, 922, 932, 943, 952, 962, 976, + 992, 1001, 1010, 1019, 1028, 1037, 1046, 1068, 1090, 1099, - 1108, 1117, 1128, 1137, 1146, 1155, 1164, 1173, 1184, 1195, - 1206, 1216, 1225, 1236, 1247, 1258, 1269, 1281, 1290, 1299, - 1308, 1317, 1326, 1335, 1344, 1353, 1362, 1372, 1383, 1395, - 1404, 1413, 1422, 1432, 1442, 1452, 1462, 1472, 1482, 1491, - 1501, 1510, 1519, 1528, 1537, 1547, 1557, 1566, 1576, 1585, - 1594, 1603, 1612, 1621, 1630, 1639, 1648, 1657, 1666, 1675, - 1684, 1693, 1702, 1711, 1720, 1729, 1738, 1747, 1756, 1765, - 1774, 1783, 1792, 1801, 1810, 1819, 1828, 1837, 1846, 1855, - 1864, 1873, 1882, 1891, 1903, 1915, 1925, 1935, 1945, 1955, - 1965, 1975, 1985, 1995, 2005, 2014, 2023, 2032, 2041, 2052, + 1109, 1118, 1129, 1138, 1147, 1156, 1165, 1174, 1185, 1196, + 1207, 1217, 1226, 1237, 1248, 1259, 1270, 1282, 1291, 1300, + 1309, 1318, 1327, 1336, 1345, 1354, 1363, 1373, 1384, 1396, + 1405, 1414, 1423, 1433, 1443, 1453, 1463, 1473, 1483, 1492, + 1502, 1511, 1520, 1529, 1538, 1548, 1558, 1567, 1577, 1586, + 1595, 1604, 1613, 1622, 1631, 1640, 1649, 1658, 1667, 1676, + 1685, 1694, 1703, 1712, 1721, 1730, 1739, 1748, 1757, 1766, + 1775, 1784, 1793, 1802, 1811, 1820, 1829, 1838, 1847, 1856, + 1865, 1874, 1883, 1892, 1904, 1916, 1926, 1936, 1946, 1956, + 1966, 1976, 1986, 1996, 2006, 2015, 2024, 2033, 2042, 2053, - 2063, 2076, 2089, 2102, 2111, 2120, 2129, 2138, 2147, 2156, - 2165, 2174, 2186, 2287, 2303, 2352, 2360, 2375, 2376, 2377, - 2378, 2379, 2380, 2382, 2400, 2413, 2418, 2422, 2424, 2426, - 2428 + 2064, 2077, 2090, 2103, 2112, 2121, 2130, 2139, 2148, 2157, + 2166, 2175, 2187, 2288, 2304, 2353, 2361, 2376, 2377, 2378, + 2379, 2380, 2381, 2383, 2401, 2414, 2419, 2423, 2425, 2427, + 2429 } ; /* The intent behind this definition is that it'll catch @@ -2221,6 +2221,7 @@ char *yytext; #include #include #include +#include #include #include #include @@ -2250,7 +2251,7 @@ using namespace isc::dhcp; /* To avoid the call to exit... oops! */ #define YY_FATAL_ERROR(msg) isc::dhcp::Parser4Context::fatal(msg) -#line 2253 "dhcp4_lexer.cc" +#line 2254 "dhcp4_lexer.cc" /* noyywrap disables automatic rewinding for the next file to parse. Since we always parse only a single string, there's no need to do any wraps. And using yywrap requires linking with -lfl, which provides the default yywrap @@ -2271,13 +2272,13 @@ using namespace isc::dhcp; can be used during actual token definitions. Note some can match incorrect inputs (e.g., IP addresses) which must be checked. */ /* for errors */ -#line 95 "dhcp4_lexer.ll" +#line 96 "dhcp4_lexer.ll" /* This code run each time a pattern is matched. It updates the location by moving it ahead by yyleng bytes. yyleng specifies the length of the currently matched token. */ #define YY_USER_ACTION driver.loc_.columns(yyleng); -#line 2279 "dhcp4_lexer.cc" #line 2280 "dhcp4_lexer.cc" +#line 2281 "dhcp4_lexer.cc" #define INITIAL 0 #define COMMENT 1 @@ -2559,11 +2560,11 @@ YY_DECL { /* %% [7.0] user's declarations go here */ -#line 101 "dhcp4_lexer.ll" +#line 102 "dhcp4_lexer.ll" -#line 105 "dhcp4_lexer.ll" +#line 106 "dhcp4_lexer.ll" /* This part of the code is copied over to the verbatim to the top of the generated yylex function. Explanation: http://www.gnu.org/software/bison/manual/html_node/Multiple-start_002dsymbols.html */ @@ -2605,7 +2606,7 @@ YY_DECL } -#line 2608 "dhcp4_lexer.cc" +#line 2609 "dhcp4_lexer.cc" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { @@ -2683,17 +2684,17 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 146 "dhcp4_lexer.ll" +#line 147 "dhcp4_lexer.ll" ; YY_BREAK case 2: YY_RULE_SETUP -#line 148 "dhcp4_lexer.ll" +#line 149 "dhcp4_lexer.ll" ; YY_BREAK case 3: YY_RULE_SETUP -#line 150 "dhcp4_lexer.ll" +#line 151 "dhcp4_lexer.ll" { BEGIN(COMMENT); comment_start_line = driver.loc_.end.line;; @@ -2701,33 +2702,33 @@ YY_RULE_SETUP YY_BREAK case 4: YY_RULE_SETUP -#line 155 "dhcp4_lexer.ll" +#line 156 "dhcp4_lexer.ll" BEGIN(INITIAL); YY_BREAK case 5: YY_RULE_SETUP -#line 156 "dhcp4_lexer.ll" +#line 157 "dhcp4_lexer.ll" ; YY_BREAK case YY_STATE_EOF(COMMENT): -#line 157 "dhcp4_lexer.ll" +#line 158 "dhcp4_lexer.ll" { isc_throw(Dhcp4ParseError, "Comment not closed. (/* in line " << comment_start_line); } YY_BREAK case 6: YY_RULE_SETUP -#line 161 "dhcp4_lexer.ll" +#line 162 "dhcp4_lexer.ll" BEGIN(DIR_ENTER); YY_BREAK case 7: YY_RULE_SETUP -#line 162 "dhcp4_lexer.ll" +#line 163 "dhcp4_lexer.ll" BEGIN(DIR_INCLUDE); YY_BREAK case 8: YY_RULE_SETUP -#line 163 "dhcp4_lexer.ll" +#line 164 "dhcp4_lexer.ll" { /* Include directive. */ @@ -2741,19 +2742,19 @@ YY_RULE_SETUP case YY_STATE_EOF(DIR_ENTER): case YY_STATE_EOF(DIR_INCLUDE): case YY_STATE_EOF(DIR_EXIT): -#line 172 "dhcp4_lexer.ll" +#line 173 "dhcp4_lexer.ll" { isc_throw(Dhcp4ParseError, "Directive not closed."); } YY_BREAK case 9: YY_RULE_SETUP -#line 175 "dhcp4_lexer.ll" +#line 176 "dhcp4_lexer.ll" BEGIN(INITIAL); YY_BREAK case 10: YY_RULE_SETUP -#line 178 "dhcp4_lexer.ll" +#line 179 "dhcp4_lexer.ll" { /* Ok, we found a with space. Let's ignore it and update loc variable. */ driver.loc_.step(); @@ -2762,7 +2763,7 @@ YY_RULE_SETUP case 11: /* rule 11 can match eol */ YY_RULE_SETUP -#line 183 "dhcp4_lexer.ll" +#line 184 "dhcp4_lexer.ll" { /* Newline found. Let's update the location and continue. */ driver.loc_.lines(yyleng); @@ -2771,7 +2772,7 @@ YY_RULE_SETUP YY_BREAK case 12: YY_RULE_SETUP -#line 190 "dhcp4_lexer.ll" +#line 191 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::CONFIG: @@ -2783,7 +2784,7 @@ YY_RULE_SETUP YY_BREAK case 13: YY_RULE_SETUP -#line 199 "dhcp4_lexer.ll" +#line 200 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -2795,7 +2796,7 @@ YY_RULE_SETUP YY_BREAK case 14: YY_RULE_SETUP -#line 208 "dhcp4_lexer.ll" +#line 209 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -2807,7 +2808,7 @@ YY_RULE_SETUP YY_BREAK case 15: YY_RULE_SETUP -#line 217 "dhcp4_lexer.ll" +#line 218 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::SANITY_CHECKS: @@ -2819,7 +2820,7 @@ YY_RULE_SETUP YY_BREAK case 16: YY_RULE_SETUP -#line 226 "dhcp4_lexer.ll" +#line 227 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::SANITY_CHECKS: @@ -2831,7 +2832,7 @@ YY_RULE_SETUP YY_BREAK case 17: YY_RULE_SETUP -#line 235 "dhcp4_lexer.ll" +#line 236 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::INTERFACES_CONFIG: @@ -2843,7 +2844,7 @@ YY_RULE_SETUP YY_BREAK case 18: YY_RULE_SETUP -#line 244 "dhcp4_lexer.ll" +#line 245 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_SOCKET_TYPE: @@ -2855,7 +2856,7 @@ YY_RULE_SETUP YY_BREAK case 19: YY_RULE_SETUP -#line 253 "dhcp4_lexer.ll" +#line 254 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_SOCKET_TYPE: @@ -2868,7 +2869,7 @@ YY_RULE_SETUP YY_BREAK case 20: YY_RULE_SETUP -#line 263 "dhcp4_lexer.ll" +#line 264 "dhcp4_lexer.ll" { switch(driver.ctx_) { case Parser4Context::INTERFACES_CONFIG: @@ -2880,7 +2881,7 @@ YY_RULE_SETUP YY_BREAK case 21: YY_RULE_SETUP -#line 272 "dhcp4_lexer.ll" +#line 273 "dhcp4_lexer.ll" { switch(driver.ctx_) { case Parser4Context::OUTBOUND_INTERFACE: @@ -2892,7 +2893,7 @@ YY_RULE_SETUP YY_BREAK case 22: YY_RULE_SETUP -#line 281 "dhcp4_lexer.ll" +#line 282 "dhcp4_lexer.ll" { switch(driver.ctx_) { case Parser4Context::OUTBOUND_INTERFACE: @@ -2904,7 +2905,7 @@ YY_RULE_SETUP YY_BREAK case 23: YY_RULE_SETUP -#line 290 "dhcp4_lexer.ll" +#line 291 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::INTERFACES_CONFIG: @@ -2916,7 +2917,7 @@ YY_RULE_SETUP YY_BREAK case 24: YY_RULE_SETUP -#line 299 "dhcp4_lexer.ll" +#line 300 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::INTERFACES_CONFIG: @@ -2928,7 +2929,7 @@ YY_RULE_SETUP YY_BREAK case 25: YY_RULE_SETUP -#line 308 "dhcp4_lexer.ll" +#line 309 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::INTERFACES_CONFIG: @@ -2940,7 +2941,7 @@ YY_RULE_SETUP YY_BREAK case 26: YY_RULE_SETUP -#line 317 "dhcp4_lexer.ll" +#line 318 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::INTERFACES_CONFIG: @@ -2952,7 +2953,7 @@ YY_RULE_SETUP YY_BREAK case 27: YY_RULE_SETUP -#line 326 "dhcp4_lexer.ll" +#line 327 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::INTERFACES_CONFIG: @@ -2964,7 +2965,7 @@ YY_RULE_SETUP YY_BREAK case 28: YY_RULE_SETUP -#line 335 "dhcp4_lexer.ll" +#line 336 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -2976,7 +2977,7 @@ YY_RULE_SETUP YY_BREAK case 29: YY_RULE_SETUP -#line 344 "dhcp4_lexer.ll" +#line 345 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -2988,7 +2989,7 @@ YY_RULE_SETUP YY_BREAK case 30: YY_RULE_SETUP -#line 353 "dhcp4_lexer.ll" +#line 354 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3000,7 +3001,7 @@ YY_RULE_SETUP YY_BREAK case 31: YY_RULE_SETUP -#line 362 "dhcp4_lexer.ll" +#line 363 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3012,7 +3013,7 @@ YY_RULE_SETUP YY_BREAK case 32: YY_RULE_SETUP -#line 371 "dhcp4_lexer.ll" +#line 372 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::CONFIG_CONTROL: @@ -3024,7 +3025,7 @@ YY_RULE_SETUP YY_BREAK case 33: YY_RULE_SETUP -#line 380 "dhcp4_lexer.ll" +#line 381 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::CONFIG_CONTROL: @@ -3036,7 +3037,7 @@ YY_RULE_SETUP YY_BREAK case 34: YY_RULE_SETUP -#line 389 "dhcp4_lexer.ll" +#line 390 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::HOSTS_DATABASE: @@ -3048,7 +3049,7 @@ YY_RULE_SETUP YY_BREAK case 35: YY_RULE_SETUP -#line 398 "dhcp4_lexer.ll" +#line 399 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3063,7 +3064,7 @@ YY_RULE_SETUP YY_BREAK case 36: YY_RULE_SETUP -#line 410 "dhcp4_lexer.ll" +#line 411 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DATABASE_TYPE: @@ -3075,7 +3076,7 @@ YY_RULE_SETUP YY_BREAK case 37: YY_RULE_SETUP -#line 419 "dhcp4_lexer.ll" +#line 420 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DATABASE_TYPE: @@ -3087,7 +3088,7 @@ YY_RULE_SETUP YY_BREAK case 38: YY_RULE_SETUP -#line 428 "dhcp4_lexer.ll" +#line 429 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DATABASE_TYPE: @@ -3099,7 +3100,7 @@ YY_RULE_SETUP YY_BREAK case 39: YY_RULE_SETUP -#line 437 "dhcp4_lexer.ll" +#line 438 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3113,7 +3114,7 @@ YY_RULE_SETUP YY_BREAK case 40: YY_RULE_SETUP -#line 448 "dhcp4_lexer.ll" +#line 449 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3127,7 +3128,7 @@ YY_RULE_SETUP YY_BREAK case 41: YY_RULE_SETUP -#line 459 "dhcp4_lexer.ll" +#line 460 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3141,7 +3142,7 @@ YY_RULE_SETUP YY_BREAK case 42: YY_RULE_SETUP -#line 470 "dhcp4_lexer.ll" +#line 471 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3155,7 +3156,7 @@ YY_RULE_SETUP YY_BREAK case 43: YY_RULE_SETUP -#line 481 "dhcp4_lexer.ll" +#line 482 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3169,7 +3170,7 @@ YY_RULE_SETUP YY_BREAK case 44: YY_RULE_SETUP -#line 492 "dhcp4_lexer.ll" +#line 493 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3183,7 +3184,7 @@ YY_RULE_SETUP YY_BREAK case 45: YY_RULE_SETUP -#line 503 "dhcp4_lexer.ll" +#line 504 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3197,7 +3198,7 @@ YY_RULE_SETUP YY_BREAK case 46: YY_RULE_SETUP -#line 514 "dhcp4_lexer.ll" +#line 515 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3211,7 +3212,7 @@ YY_RULE_SETUP YY_BREAK case 47: YY_RULE_SETUP -#line 525 "dhcp4_lexer.ll" +#line 526 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3225,7 +3226,7 @@ YY_RULE_SETUP YY_BREAK case 48: YY_RULE_SETUP -#line 536 "dhcp4_lexer.ll" +#line 537 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3239,7 +3240,7 @@ YY_RULE_SETUP YY_BREAK case 49: YY_RULE_SETUP -#line 547 "dhcp4_lexer.ll" +#line 548 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3253,7 +3254,7 @@ YY_RULE_SETUP YY_BREAK case 50: YY_RULE_SETUP -#line 558 "dhcp4_lexer.ll" +#line 559 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3267,7 +3268,7 @@ YY_RULE_SETUP YY_BREAK case 51: YY_RULE_SETUP -#line 569 "dhcp4_lexer.ll" +#line 570 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DATABASE_ON_FAIL: @@ -3279,7 +3280,7 @@ YY_RULE_SETUP YY_BREAK case 52: YY_RULE_SETUP -#line 578 "dhcp4_lexer.ll" +#line 579 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DATABASE_ON_FAIL: @@ -3291,7 +3292,7 @@ YY_RULE_SETUP YY_BREAK case 53: YY_RULE_SETUP -#line 587 "dhcp4_lexer.ll" +#line 588 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DATABASE_ON_FAIL: @@ -3303,7 +3304,7 @@ YY_RULE_SETUP YY_BREAK case 54: YY_RULE_SETUP -#line 596 "dhcp4_lexer.ll" +#line 597 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3317,7 +3318,7 @@ YY_RULE_SETUP YY_BREAK case 55: YY_RULE_SETUP -#line 607 "dhcp4_lexer.ll" +#line 608 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3329,7 +3330,7 @@ YY_RULE_SETUP YY_BREAK case 56: YY_RULE_SETUP -#line 616 "dhcp4_lexer.ll" +#line 617 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3343,7 +3344,7 @@ YY_RULE_SETUP YY_BREAK case 57: YY_RULE_SETUP -#line 627 "dhcp4_lexer.ll" +#line 628 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3357,7 +3358,7 @@ YY_RULE_SETUP YY_BREAK case 58: YY_RULE_SETUP -#line 638 "dhcp4_lexer.ll" +#line 639 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3371,7 +3372,7 @@ YY_RULE_SETUP YY_BREAK case 59: YY_RULE_SETUP -#line 649 "dhcp4_lexer.ll" +#line 650 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3385,7 +3386,7 @@ YY_RULE_SETUP YY_BREAK case 60: YY_RULE_SETUP -#line 660 "dhcp4_lexer.ll" +#line 661 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3400,7 +3401,7 @@ YY_RULE_SETUP YY_BREAK case 61: YY_RULE_SETUP -#line 672 "dhcp4_lexer.ll" +#line 673 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3415,7 +3416,7 @@ YY_RULE_SETUP YY_BREAK case 62: YY_RULE_SETUP -#line 684 "dhcp4_lexer.ll" +#line 685 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3430,7 +3431,7 @@ YY_RULE_SETUP YY_BREAK case 63: YY_RULE_SETUP -#line 696 "dhcp4_lexer.ll" +#line 697 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3444,7 +3445,7 @@ YY_RULE_SETUP YY_BREAK case 64: YY_RULE_SETUP -#line 707 "dhcp4_lexer.ll" +#line 708 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3458,7 +3459,7 @@ YY_RULE_SETUP YY_BREAK case 65: YY_RULE_SETUP -#line 718 "dhcp4_lexer.ll" +#line 719 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3470,7 +3471,7 @@ YY_RULE_SETUP YY_BREAK case 66: YY_RULE_SETUP -#line 727 "dhcp4_lexer.ll" +#line 728 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3482,7 +3483,7 @@ YY_RULE_SETUP YY_BREAK case 67: YY_RULE_SETUP -#line 736 "dhcp4_lexer.ll" +#line 737 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3494,7 +3495,7 @@ YY_RULE_SETUP YY_BREAK case 68: YY_RULE_SETUP -#line 745 "dhcp4_lexer.ll" +#line 746 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3508,7 +3509,7 @@ YY_RULE_SETUP YY_BREAK case 69: YY_RULE_SETUP -#line 756 "dhcp4_lexer.ll" +#line 757 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3520,7 +3521,7 @@ YY_RULE_SETUP YY_BREAK case 70: YY_RULE_SETUP -#line 765 "dhcp4_lexer.ll" +#line 766 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3532,7 +3533,7 @@ YY_RULE_SETUP YY_BREAK case 71: YY_RULE_SETUP -#line 774 "dhcp4_lexer.ll" +#line 775 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3546,7 +3547,7 @@ YY_RULE_SETUP YY_BREAK case 72: YY_RULE_SETUP -#line 785 "dhcp4_lexer.ll" +#line 786 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3560,7 +3561,7 @@ YY_RULE_SETUP YY_BREAK case 73: YY_RULE_SETUP -#line 796 "dhcp4_lexer.ll" +#line 797 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3574,7 +3575,7 @@ YY_RULE_SETUP YY_BREAK case 74: YY_RULE_SETUP -#line 807 "dhcp4_lexer.ll" +#line 808 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3588,7 +3589,7 @@ YY_RULE_SETUP YY_BREAK case 75: YY_RULE_SETUP -#line 818 "dhcp4_lexer.ll" +#line 819 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3602,7 +3603,7 @@ YY_RULE_SETUP YY_BREAK case 76: YY_RULE_SETUP -#line 829 "dhcp4_lexer.ll" +#line 830 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3616,7 +3617,7 @@ YY_RULE_SETUP YY_BREAK case 77: YY_RULE_SETUP -#line 840 "dhcp4_lexer.ll" +#line 841 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3630,7 +3631,7 @@ YY_RULE_SETUP YY_BREAK case 78: YY_RULE_SETUP -#line 851 "dhcp4_lexer.ll" +#line 852 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3644,7 +3645,7 @@ YY_RULE_SETUP YY_BREAK case 79: YY_RULE_SETUP -#line 862 "dhcp4_lexer.ll" +#line 863 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3658,7 +3659,7 @@ YY_RULE_SETUP YY_BREAK case 80: YY_RULE_SETUP -#line 873 "dhcp4_lexer.ll" +#line 874 "dhcp4_lexer.ll" { if (driver.ctx_ == isc::dhcp::Parser4Context::DDNS_CONFLICT_RESOLUTION_MODE) { return isc::dhcp::Dhcp4Parser::make_CHECK_WITH_DHCID(driver.loc_); @@ -3670,7 +3671,7 @@ YY_RULE_SETUP YY_BREAK case 81: YY_RULE_SETUP -#line 882 "dhcp4_lexer.ll" +#line 883 "dhcp4_lexer.ll" { if (driver.ctx_ == isc::dhcp::Parser4Context::DDNS_CONFLICT_RESOLUTION_MODE) { return isc::dhcp::Dhcp4Parser::make_NO_CHECK_WITH_DHCID(driver.loc_); @@ -3682,7 +3683,7 @@ YY_RULE_SETUP YY_BREAK case 82: YY_RULE_SETUP -#line 891 "dhcp4_lexer.ll" +#line 892 "dhcp4_lexer.ll" { if (driver.ctx_ == isc::dhcp::Parser4Context::DDNS_CONFLICT_RESOLUTION_MODE) { return isc::dhcp::Dhcp4Parser::make_CHECK_EXISTS_WITH_DHCID(driver.loc_); @@ -3694,7 +3695,7 @@ YY_RULE_SETUP YY_BREAK case 83: YY_RULE_SETUP -#line 900 "dhcp4_lexer.ll" +#line 901 "dhcp4_lexer.ll" { if (driver.ctx_ == isc::dhcp::Parser4Context::DDNS_CONFLICT_RESOLUTION_MODE) { return isc::dhcp::Dhcp4Parser::make_NO_CHECK_WITHOUT_DHCID(driver.loc_); @@ -3706,7 +3707,7 @@ YY_RULE_SETUP YY_BREAK case 84: YY_RULE_SETUP -#line 910 "dhcp4_lexer.ll" +#line 911 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3720,7 +3721,7 @@ YY_RULE_SETUP YY_BREAK case 85: YY_RULE_SETUP -#line 921 "dhcp4_lexer.ll" +#line 922 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3733,7 +3734,7 @@ YY_RULE_SETUP YY_BREAK case 86: YY_RULE_SETUP -#line 931 "dhcp4_lexer.ll" +#line 932 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3747,7 +3748,7 @@ YY_RULE_SETUP YY_BREAK case 87: YY_RULE_SETUP -#line 942 "dhcp4_lexer.ll" +#line 943 "dhcp4_lexer.ll" { switch (driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3759,7 +3760,7 @@ YY_RULE_SETUP YY_BREAK case 88: YY_RULE_SETUP -#line 951 "dhcp4_lexer.ll" +#line 952 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3772,7 +3773,7 @@ YY_RULE_SETUP YY_BREAK case 89: YY_RULE_SETUP -#line 961 "dhcp4_lexer.ll" +#line 962 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3789,7 +3790,7 @@ YY_RULE_SETUP YY_BREAK case 90: YY_RULE_SETUP -#line 975 "dhcp4_lexer.ll" +#line 976 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LEASE_DATABASE: @@ -3808,7 +3809,7 @@ YY_RULE_SETUP YY_BREAK case 91: YY_RULE_SETUP -#line 991 "dhcp4_lexer.ll" +#line 992 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::OPTION_DATA: @@ -3820,7 +3821,7 @@ YY_RULE_SETUP YY_BREAK case 92: YY_RULE_SETUP -#line 1000 "dhcp4_lexer.ll" +#line 1001 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::OPTION_DATA: @@ -3832,7 +3833,7 @@ YY_RULE_SETUP YY_BREAK case 93: YY_RULE_SETUP -#line 1009 "dhcp4_lexer.ll" +#line 1010 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::OPTION_DATA: @@ -3844,7 +3845,7 @@ YY_RULE_SETUP YY_BREAK case 94: YY_RULE_SETUP -#line 1018 "dhcp4_lexer.ll" +#line 1019 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::SUBNET4: @@ -3856,7 +3857,7 @@ YY_RULE_SETUP YY_BREAK case 95: YY_RULE_SETUP -#line 1027 "dhcp4_lexer.ll" +#line 1028 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::POOLS: @@ -3868,7 +3869,7 @@ YY_RULE_SETUP YY_BREAK case 96: YY_RULE_SETUP -#line 1036 "dhcp4_lexer.ll" +#line 1037 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::POOLS: @@ -3880,7 +3881,7 @@ YY_RULE_SETUP YY_BREAK case 97: YY_RULE_SETUP -#line 1045 "dhcp4_lexer.ll" +#line 1046 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3905,7 +3906,7 @@ YY_RULE_SETUP YY_BREAK case 98: YY_RULE_SETUP -#line 1067 "dhcp4_lexer.ll" +#line 1068 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3930,7 +3931,7 @@ YY_RULE_SETUP YY_BREAK case 99: YY_RULE_SETUP -#line 1089 "dhcp4_lexer.ll" +#line 1090 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::SUBNET4: @@ -3942,7 +3943,7 @@ YY_RULE_SETUP YY_BREAK case 100: YY_RULE_SETUP -#line 1098 "dhcp4_lexer.ll" +#line 1099 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::SUBNET4: @@ -3955,7 +3956,7 @@ YY_RULE_SETUP YY_BREAK case 101: YY_RULE_SETUP -#line 1108 "dhcp4_lexer.ll" +#line 1109 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::SUBNET4: @@ -3967,7 +3968,7 @@ YY_RULE_SETUP YY_BREAK case 102: YY_RULE_SETUP -#line 1117 "dhcp4_lexer.ll" +#line 1118 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -3981,7 +3982,7 @@ YY_RULE_SETUP YY_BREAK case 103: YY_RULE_SETUP -#line 1128 "dhcp4_lexer.ll" +#line 1129 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::RESERVATION_MODE: @@ -3993,7 +3994,7 @@ YY_RULE_SETUP YY_BREAK case 104: YY_RULE_SETUP -#line 1137 "dhcp4_lexer.ll" +#line 1138 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::RESERVATION_MODE: @@ -4005,7 +4006,7 @@ YY_RULE_SETUP YY_BREAK case 105: YY_RULE_SETUP -#line 1146 "dhcp4_lexer.ll" +#line 1147 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::RESERVATION_MODE: @@ -4017,7 +4018,7 @@ YY_RULE_SETUP YY_BREAK case 106: YY_RULE_SETUP -#line 1155 "dhcp4_lexer.ll" +#line 1156 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::RESERVATION_MODE: @@ -4029,7 +4030,7 @@ YY_RULE_SETUP YY_BREAK case 107: YY_RULE_SETUP -#line 1164 "dhcp4_lexer.ll" +#line 1165 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::RESERVATION_MODE: @@ -4041,7 +4042,7 @@ YY_RULE_SETUP YY_BREAK case 108: YY_RULE_SETUP -#line 1173 "dhcp4_lexer.ll" +#line 1174 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4055,7 +4056,7 @@ YY_RULE_SETUP YY_BREAK case 109: YY_RULE_SETUP -#line 1184 "dhcp4_lexer.ll" +#line 1185 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4069,7 +4070,7 @@ YY_RULE_SETUP YY_BREAK case 110: YY_RULE_SETUP -#line 1195 "dhcp4_lexer.ll" +#line 1196 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4083,7 +4084,7 @@ YY_RULE_SETUP YY_BREAK case 111: YY_RULE_SETUP -#line 1206 "dhcp4_lexer.ll" +#line 1207 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::OPTION_DEF: @@ -4096,7 +4097,7 @@ YY_RULE_SETUP YY_BREAK case 112: YY_RULE_SETUP -#line 1216 "dhcp4_lexer.ll" +#line 1217 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4108,7 +4109,7 @@ YY_RULE_SETUP YY_BREAK case 113: YY_RULE_SETUP -#line 1225 "dhcp4_lexer.ll" +#line 1226 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4122,7 +4123,7 @@ YY_RULE_SETUP YY_BREAK case 114: YY_RULE_SETUP -#line 1236 "dhcp4_lexer.ll" +#line 1237 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4136,7 +4137,7 @@ YY_RULE_SETUP YY_BREAK case 115: YY_RULE_SETUP -#line 1247 "dhcp4_lexer.ll" +#line 1248 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4150,7 +4151,7 @@ YY_RULE_SETUP YY_BREAK case 116: YY_RULE_SETUP -#line 1258 "dhcp4_lexer.ll" +#line 1259 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4164,7 +4165,7 @@ YY_RULE_SETUP YY_BREAK case 117: YY_RULE_SETUP -#line 1269 "dhcp4_lexer.ll" +#line 1270 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4178,7 +4179,7 @@ YY_RULE_SETUP YY_BREAK case 118: YY_RULE_SETUP -#line 1281 "dhcp4_lexer.ll" +#line 1282 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4190,7 +4191,7 @@ YY_RULE_SETUP YY_BREAK case 119: YY_RULE_SETUP -#line 1290 "dhcp4_lexer.ll" +#line 1291 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LOGGERS: @@ -4202,7 +4203,7 @@ YY_RULE_SETUP YY_BREAK case 120: YY_RULE_SETUP -#line 1299 "dhcp4_lexer.ll" +#line 1300 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::OUTPUT_OPTIONS: @@ -4214,7 +4215,7 @@ YY_RULE_SETUP YY_BREAK case 121: YY_RULE_SETUP -#line 1308 "dhcp4_lexer.ll" +#line 1309 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LOGGERS: @@ -4226,7 +4227,7 @@ YY_RULE_SETUP YY_BREAK case 122: YY_RULE_SETUP -#line 1317 "dhcp4_lexer.ll" +#line 1318 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::OUTPUT_OPTIONS: @@ -4238,7 +4239,7 @@ YY_RULE_SETUP YY_BREAK case 123: YY_RULE_SETUP -#line 1326 "dhcp4_lexer.ll" +#line 1327 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::OUTPUT_OPTIONS: @@ -4250,7 +4251,7 @@ YY_RULE_SETUP YY_BREAK case 124: YY_RULE_SETUP -#line 1335 "dhcp4_lexer.ll" +#line 1336 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::OUTPUT_OPTIONS: @@ -4262,7 +4263,7 @@ YY_RULE_SETUP YY_BREAK case 125: YY_RULE_SETUP -#line 1344 "dhcp4_lexer.ll" +#line 1345 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::OUTPUT_OPTIONS: @@ -4274,7 +4275,7 @@ YY_RULE_SETUP YY_BREAK case 126: YY_RULE_SETUP -#line 1353 "dhcp4_lexer.ll" +#line 1354 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::LOGGERS: @@ -4286,7 +4287,7 @@ YY_RULE_SETUP YY_BREAK case 127: YY_RULE_SETUP -#line 1362 "dhcp4_lexer.ll" +#line 1363 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4299,7 +4300,7 @@ YY_RULE_SETUP YY_BREAK case 128: YY_RULE_SETUP -#line 1372 "dhcp4_lexer.ll" +#line 1373 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::SUBNET4: @@ -4313,7 +4314,7 @@ YY_RULE_SETUP YY_BREAK case 129: YY_RULE_SETUP -#line 1383 "dhcp4_lexer.ll" +#line 1384 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::SUBNET4: @@ -4328,7 +4329,7 @@ YY_RULE_SETUP YY_BREAK case 130: YY_RULE_SETUP -#line 1395 "dhcp4_lexer.ll" +#line 1396 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::CLIENT_CLASSES: @@ -4340,7 +4341,7 @@ YY_RULE_SETUP YY_BREAK case 131: YY_RULE_SETUP -#line 1404 "dhcp4_lexer.ll" +#line 1405 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::CLIENT_CLASSES: @@ -4352,7 +4353,7 @@ YY_RULE_SETUP YY_BREAK case 132: YY_RULE_SETUP -#line 1413 "dhcp4_lexer.ll" +#line 1414 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::CLIENT_CLASSES: @@ -4364,7 +4365,7 @@ YY_RULE_SETUP YY_BREAK case 133: YY_RULE_SETUP -#line 1422 "dhcp4_lexer.ll" +#line 1423 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4377,7 +4378,7 @@ YY_RULE_SETUP YY_BREAK case 134: YY_RULE_SETUP -#line 1432 "dhcp4_lexer.ll" +#line 1433 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS: @@ -4390,7 +4391,7 @@ YY_RULE_SETUP YY_BREAK case 135: YY_RULE_SETUP -#line 1442 "dhcp4_lexer.ll" +#line 1443 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS: @@ -4403,7 +4404,7 @@ YY_RULE_SETUP YY_BREAK case 136: YY_RULE_SETUP -#line 1452 "dhcp4_lexer.ll" +#line 1453 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS: @@ -4416,7 +4417,7 @@ YY_RULE_SETUP YY_BREAK case 137: YY_RULE_SETUP -#line 1462 "dhcp4_lexer.ll" +#line 1463 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS: @@ -4429,7 +4430,7 @@ YY_RULE_SETUP YY_BREAK case 138: YY_RULE_SETUP -#line 1472 "dhcp4_lexer.ll" +#line 1473 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS: @@ -4442,7 +4443,7 @@ YY_RULE_SETUP YY_BREAK case 139: YY_RULE_SETUP -#line 1482 "dhcp4_lexer.ll" +#line 1483 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::RESERVATIONS: @@ -4454,7 +4455,7 @@ YY_RULE_SETUP YY_BREAK case 140: YY_RULE_SETUP -#line 1491 "dhcp4_lexer.ll" +#line 1492 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::OPTION_DEF: @@ -4467,7 +4468,7 @@ YY_RULE_SETUP YY_BREAK case 141: YY_RULE_SETUP -#line 1501 "dhcp4_lexer.ll" +#line 1502 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::OPTION_DATA: @@ -4479,7 +4480,7 @@ YY_RULE_SETUP YY_BREAK case 142: YY_RULE_SETUP -#line 1510 "dhcp4_lexer.ll" +#line 1511 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::OPTION_DEF: @@ -4491,7 +4492,7 @@ YY_RULE_SETUP YY_BREAK case 143: YY_RULE_SETUP -#line 1519 "dhcp4_lexer.ll" +#line 1520 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::OPTION_DEF: @@ -4503,7 +4504,7 @@ YY_RULE_SETUP YY_BREAK case 144: YY_RULE_SETUP -#line 1528 "dhcp4_lexer.ll" +#line 1529 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::OPTION_DEF: @@ -4515,7 +4516,7 @@ YY_RULE_SETUP YY_BREAK case 145: YY_RULE_SETUP -#line 1537 "dhcp4_lexer.ll" +#line 1538 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::SUBNET4: @@ -4528,7 +4529,7 @@ YY_RULE_SETUP YY_BREAK case 146: YY_RULE_SETUP -#line 1547 "dhcp4_lexer.ll" +#line 1548 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::RELAY: @@ -4541,7 +4542,7 @@ YY_RULE_SETUP YY_BREAK case 147: YY_RULE_SETUP -#line 1557 "dhcp4_lexer.ll" +#line 1558 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::RELAY: @@ -4553,7 +4554,7 @@ YY_RULE_SETUP YY_BREAK case 148: YY_RULE_SETUP -#line 1566 "dhcp4_lexer.ll" +#line 1567 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4565,7 +4566,7 @@ YY_RULE_SETUP YY_BREAK case 149: YY_RULE_SETUP -#line 1576 "dhcp4_lexer.ll" +#line 1577 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::HOOKS_LIBRARIES: @@ -4577,7 +4578,7 @@ YY_RULE_SETUP YY_BREAK case 150: YY_RULE_SETUP -#line 1585 "dhcp4_lexer.ll" +#line 1586 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::HOOKS_LIBRARIES: @@ -4589,7 +4590,7 @@ YY_RULE_SETUP YY_BREAK case 151: YY_RULE_SETUP -#line 1594 "dhcp4_lexer.ll" +#line 1595 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4601,7 +4602,7 @@ YY_RULE_SETUP YY_BREAK case 152: YY_RULE_SETUP -#line 1603 "dhcp4_lexer.ll" +#line 1604 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING: @@ -4613,7 +4614,7 @@ YY_RULE_SETUP YY_BREAK case 153: YY_RULE_SETUP -#line 1612 "dhcp4_lexer.ll" +#line 1613 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING: @@ -4625,7 +4626,7 @@ YY_RULE_SETUP YY_BREAK case 154: YY_RULE_SETUP -#line 1621 "dhcp4_lexer.ll" +#line 1622 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING: @@ -4637,7 +4638,7 @@ YY_RULE_SETUP YY_BREAK case 155: YY_RULE_SETUP -#line 1630 "dhcp4_lexer.ll" +#line 1631 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING: @@ -4649,7 +4650,7 @@ YY_RULE_SETUP YY_BREAK case 156: YY_RULE_SETUP -#line 1639 "dhcp4_lexer.ll" +#line 1640 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING: @@ -4661,7 +4662,7 @@ YY_RULE_SETUP YY_BREAK case 157: YY_RULE_SETUP -#line 1648 "dhcp4_lexer.ll" +#line 1649 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING: @@ -4673,7 +4674,7 @@ YY_RULE_SETUP YY_BREAK case 158: YY_RULE_SETUP -#line 1657 "dhcp4_lexer.ll" +#line 1658 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4685,7 +4686,7 @@ YY_RULE_SETUP YY_BREAK case 159: YY_RULE_SETUP -#line 1666 "dhcp4_lexer.ll" +#line 1667 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4697,7 +4698,7 @@ YY_RULE_SETUP YY_BREAK case 160: YY_RULE_SETUP -#line 1675 "dhcp4_lexer.ll" +#line 1676 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_MULTI_THREADING: @@ -4709,7 +4710,7 @@ YY_RULE_SETUP YY_BREAK case 161: YY_RULE_SETUP -#line 1684 "dhcp4_lexer.ll" +#line 1685 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_MULTI_THREADING: @@ -4721,7 +4722,7 @@ YY_RULE_SETUP YY_BREAK case 162: YY_RULE_SETUP -#line 1693 "dhcp4_lexer.ll" +#line 1694 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_MULTI_THREADING: @@ -4733,7 +4734,7 @@ YY_RULE_SETUP YY_BREAK case 163: YY_RULE_SETUP -#line 1702 "dhcp4_lexer.ll" +#line 1703 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4745,7 +4746,7 @@ YY_RULE_SETUP YY_BREAK case 164: YY_RULE_SETUP -#line 1711 "dhcp4_lexer.ll" +#line 1712 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::CONTROL_SOCKET: @@ -4757,7 +4758,7 @@ YY_RULE_SETUP YY_BREAK case 165: YY_RULE_SETUP -#line 1720 "dhcp4_lexer.ll" +#line 1721 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::CONTROL_SOCKET: @@ -4769,7 +4770,7 @@ YY_RULE_SETUP YY_BREAK case 166: YY_RULE_SETUP -#line 1729 "dhcp4_lexer.ll" +#line 1730 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4781,7 +4782,7 @@ YY_RULE_SETUP YY_BREAK case 167: YY_RULE_SETUP -#line 1738 "dhcp4_lexer.ll" +#line 1739 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_QUEUE_CONTROL: @@ -4793,7 +4794,7 @@ YY_RULE_SETUP YY_BREAK case 168: YY_RULE_SETUP -#line 1747 "dhcp4_lexer.ll" +#line 1748 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_QUEUE_CONTROL: @@ -4805,7 +4806,7 @@ YY_RULE_SETUP YY_BREAK case 169: YY_RULE_SETUP -#line 1756 "dhcp4_lexer.ll" +#line 1757 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_QUEUE_CONTROL: @@ -4817,7 +4818,7 @@ YY_RULE_SETUP YY_BREAK case 170: YY_RULE_SETUP -#line 1765 "dhcp4_lexer.ll" +#line 1766 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -4829,7 +4830,7 @@ YY_RULE_SETUP YY_BREAK case 171: YY_RULE_SETUP -#line 1774 "dhcp4_lexer.ll" +#line 1775 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_DDNS: @@ -4841,7 +4842,7 @@ YY_RULE_SETUP YY_BREAK case 172: YY_RULE_SETUP -#line 1783 "dhcp4_lexer.ll" +#line 1784 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_DDNS: @@ -4853,7 +4854,7 @@ YY_RULE_SETUP YY_BREAK case 173: YY_RULE_SETUP -#line 1792 "dhcp4_lexer.ll" +#line 1793 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_DDNS: @@ -4865,7 +4866,7 @@ YY_RULE_SETUP YY_BREAK case 174: YY_RULE_SETUP -#line 1801 "dhcp4_lexer.ll" +#line 1802 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_DDNS: @@ -4877,7 +4878,7 @@ YY_RULE_SETUP YY_BREAK case 175: YY_RULE_SETUP -#line 1810 "dhcp4_lexer.ll" +#line 1811 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_DDNS: @@ -4889,7 +4890,7 @@ YY_RULE_SETUP YY_BREAK case 176: YY_RULE_SETUP -#line 1819 "dhcp4_lexer.ll" +#line 1820 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_DDNS: @@ -4901,7 +4902,7 @@ YY_RULE_SETUP YY_BREAK case 177: YY_RULE_SETUP -#line 1828 "dhcp4_lexer.ll" +#line 1829 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_DDNS: @@ -4913,7 +4914,7 @@ YY_RULE_SETUP YY_BREAK case 178: YY_RULE_SETUP -#line 1837 "dhcp4_lexer.ll" +#line 1838 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_DDNS: @@ -4925,7 +4926,7 @@ YY_RULE_SETUP YY_BREAK case 179: YY_RULE_SETUP -#line 1846 "dhcp4_lexer.ll" +#line 1847 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_DDNS: @@ -4937,7 +4938,7 @@ YY_RULE_SETUP YY_BREAK case 180: YY_RULE_SETUP -#line 1855 "dhcp4_lexer.ll" +#line 1856 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_DDNS: @@ -4949,7 +4950,7 @@ YY_RULE_SETUP YY_BREAK case 181: YY_RULE_SETUP -#line 1864 "dhcp4_lexer.ll" +#line 1865 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_DDNS: @@ -4961,7 +4962,7 @@ YY_RULE_SETUP YY_BREAK case 182: YY_RULE_SETUP -#line 1873 "dhcp4_lexer.ll" +#line 1874 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_DDNS: @@ -4973,7 +4974,7 @@ YY_RULE_SETUP YY_BREAK case 183: YY_RULE_SETUP -#line 1882 "dhcp4_lexer.ll" +#line 1883 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP_DDNS: @@ -4985,7 +4986,7 @@ YY_RULE_SETUP YY_BREAK case 184: YY_RULE_SETUP -#line 1891 "dhcp4_lexer.ll" +#line 1892 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -5000,7 +5001,7 @@ YY_RULE_SETUP YY_BREAK case 185: YY_RULE_SETUP -#line 1903 "dhcp4_lexer.ll" +#line 1904 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -5015,7 +5016,7 @@ YY_RULE_SETUP YY_BREAK case 186: YY_RULE_SETUP -#line 1915 "dhcp4_lexer.ll" +#line 1916 "dhcp4_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser4Context::NCR_PROTOCOL) { @@ -5028,7 +5029,7 @@ YY_RULE_SETUP YY_BREAK case 187: YY_RULE_SETUP -#line 1925 "dhcp4_lexer.ll" +#line 1926 "dhcp4_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser4Context::NCR_PROTOCOL) { @@ -5041,7 +5042,7 @@ YY_RULE_SETUP YY_BREAK case 188: YY_RULE_SETUP -#line 1935 "dhcp4_lexer.ll" +#line 1936 "dhcp4_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser4Context::NCR_FORMAT) { @@ -5054,7 +5055,7 @@ YY_RULE_SETUP YY_BREAK case 189: YY_RULE_SETUP -#line 1945 "dhcp4_lexer.ll" +#line 1946 "dhcp4_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) { @@ -5067,7 +5068,7 @@ YY_RULE_SETUP YY_BREAK case 190: YY_RULE_SETUP -#line 1955 "dhcp4_lexer.ll" +#line 1956 "dhcp4_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) { @@ -5080,7 +5081,7 @@ YY_RULE_SETUP YY_BREAK case 191: YY_RULE_SETUP -#line 1965 "dhcp4_lexer.ll" +#line 1966 "dhcp4_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) { @@ -5093,7 +5094,7 @@ YY_RULE_SETUP YY_BREAK case 192: YY_RULE_SETUP -#line 1975 "dhcp4_lexer.ll" +#line 1976 "dhcp4_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) { @@ -5106,7 +5107,7 @@ YY_RULE_SETUP YY_BREAK case 193: YY_RULE_SETUP -#line 1985 "dhcp4_lexer.ll" +#line 1986 "dhcp4_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) { @@ -5119,7 +5120,7 @@ YY_RULE_SETUP YY_BREAK case 194: YY_RULE_SETUP -#line 1995 "dhcp4_lexer.ll" +#line 1996 "dhcp4_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) { @@ -5132,7 +5133,7 @@ YY_RULE_SETUP YY_BREAK case 195: YY_RULE_SETUP -#line 2005 "dhcp4_lexer.ll" +#line 2006 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::SUBNET4: @@ -5144,7 +5145,7 @@ YY_RULE_SETUP YY_BREAK case 196: YY_RULE_SETUP -#line 2014 "dhcp4_lexer.ll" +#line 2015 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::SUBNET4: @@ -5156,7 +5157,7 @@ YY_RULE_SETUP YY_BREAK case 197: YY_RULE_SETUP -#line 2023 "dhcp4_lexer.ll" +#line 2024 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::SUBNET4: @@ -5168,7 +5169,7 @@ YY_RULE_SETUP YY_BREAK case 198: YY_RULE_SETUP -#line 2032 "dhcp4_lexer.ll" +#line 2033 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -5180,7 +5181,7 @@ YY_RULE_SETUP YY_BREAK case 199: YY_RULE_SETUP -#line 2041 "dhcp4_lexer.ll" +#line 2042 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -5194,7 +5195,7 @@ YY_RULE_SETUP YY_BREAK case 200: YY_RULE_SETUP -#line 2052 "dhcp4_lexer.ll" +#line 2053 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -5208,7 +5209,7 @@ YY_RULE_SETUP YY_BREAK case 201: YY_RULE_SETUP -#line 2063 "dhcp4_lexer.ll" +#line 2064 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -5224,7 +5225,7 @@ YY_RULE_SETUP YY_BREAK case 202: YY_RULE_SETUP -#line 2076 "dhcp4_lexer.ll" +#line 2077 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -5240,7 +5241,7 @@ YY_RULE_SETUP YY_BREAK case 203: YY_RULE_SETUP -#line 2089 "dhcp4_lexer.ll" +#line 2090 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -5256,7 +5257,7 @@ YY_RULE_SETUP YY_BREAK case 204: YY_RULE_SETUP -#line 2102 "dhcp4_lexer.ll" +#line 2103 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -5268,7 +5269,7 @@ YY_RULE_SETUP YY_BREAK case 205: YY_RULE_SETUP -#line 2111 "dhcp4_lexer.ll" +#line 2112 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -5280,7 +5281,7 @@ YY_RULE_SETUP YY_BREAK case 206: YY_RULE_SETUP -#line 2120 "dhcp4_lexer.ll" +#line 2121 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -5292,7 +5293,7 @@ YY_RULE_SETUP YY_BREAK case 207: YY_RULE_SETUP -#line 2129 "dhcp4_lexer.ll" +#line 2130 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -5304,7 +5305,7 @@ YY_RULE_SETUP YY_BREAK case 208: YY_RULE_SETUP -#line 2138 "dhcp4_lexer.ll" +#line 2139 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::COMPATIBILITY: @@ -5316,7 +5317,7 @@ YY_RULE_SETUP YY_BREAK case 209: YY_RULE_SETUP -#line 2147 "dhcp4_lexer.ll" +#line 2148 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::COMPATIBILITY: @@ -5328,7 +5329,7 @@ YY_RULE_SETUP YY_BREAK case 210: YY_RULE_SETUP -#line 2156 "dhcp4_lexer.ll" +#line 2157 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::COMPATIBILITY: @@ -5340,7 +5341,7 @@ YY_RULE_SETUP YY_BREAK case 211: YY_RULE_SETUP -#line 2165 "dhcp4_lexer.ll" +#line 2166 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::COMPATIBILITY: @@ -5352,7 +5353,7 @@ YY_RULE_SETUP YY_BREAK case 212: YY_RULE_SETUP -#line 2174 "dhcp4_lexer.ll" +#line 2175 "dhcp4_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser4Context::DHCP4: @@ -5367,7 +5368,7 @@ YY_RULE_SETUP YY_BREAK case 213: YY_RULE_SETUP -#line 2186 "dhcp4_lexer.ll" +#line 2187 "dhcp4_lexer.ll" { /* A string has been matched. It contains the actual string and single quotes. We need to get those quotes out of the way and just use its content, e.g. @@ -5472,7 +5473,7 @@ YY_RULE_SETUP case 214: /* rule 214 can match eol */ YY_RULE_SETUP -#line 2287 "dhcp4_lexer.ll" +#line 2288 "dhcp4_lexer.ll" { /* Bad string with a forbidden control character inside */ std::string raw(yytext+1); @@ -5492,7 +5493,7 @@ YY_RULE_SETUP case 215: /* rule 215 can match eol */ YY_RULE_SETUP -#line 2303 "dhcp4_lexer.ll" +#line 2304 "dhcp4_lexer.ll" { /* Bad string with a bad escape inside */ std::string raw(yytext+1); @@ -5544,7 +5545,7 @@ YY_RULE_SETUP YY_BREAK case 216: YY_RULE_SETUP -#line 2352 "dhcp4_lexer.ll" +#line 2353 "dhcp4_lexer.ll" { /* Bad string with an open escape at the end */ std::string raw(yytext+1); @@ -5555,7 +5556,7 @@ YY_RULE_SETUP YY_BREAK case 217: YY_RULE_SETUP -#line 2360 "dhcp4_lexer.ll" +#line 2361 "dhcp4_lexer.ll" { /* Bad string with an open unicode escape at the end */ std::string raw(yytext+1); @@ -5573,37 +5574,37 @@ YY_RULE_SETUP YY_BREAK case 218: YY_RULE_SETUP -#line 2375 "dhcp4_lexer.ll" +#line 2376 "dhcp4_lexer.ll" { return isc::dhcp::Dhcp4Parser::make_LSQUARE_BRACKET(driver.loc_); } YY_BREAK case 219: YY_RULE_SETUP -#line 2376 "dhcp4_lexer.ll" +#line 2377 "dhcp4_lexer.ll" { return isc::dhcp::Dhcp4Parser::make_RSQUARE_BRACKET(driver.loc_); } YY_BREAK case 220: YY_RULE_SETUP -#line 2377 "dhcp4_lexer.ll" +#line 2378 "dhcp4_lexer.ll" { return isc::dhcp::Dhcp4Parser::make_LCURLY_BRACKET(driver.loc_); } YY_BREAK case 221: YY_RULE_SETUP -#line 2378 "dhcp4_lexer.ll" +#line 2379 "dhcp4_lexer.ll" { return isc::dhcp::Dhcp4Parser::make_RCURLY_BRACKET(driver.loc_); } YY_BREAK case 222: YY_RULE_SETUP -#line 2379 "dhcp4_lexer.ll" +#line 2380 "dhcp4_lexer.ll" { return isc::dhcp::Dhcp4Parser::make_COMMA(driver.loc_); } YY_BREAK case 223: YY_RULE_SETUP -#line 2380 "dhcp4_lexer.ll" +#line 2381 "dhcp4_lexer.ll" { return isc::dhcp::Dhcp4Parser::make_COLON(driver.loc_); } YY_BREAK case 224: YY_RULE_SETUP -#line 2382 "dhcp4_lexer.ll" +#line 2383 "dhcp4_lexer.ll" { /* An integer was found. */ std::string tmp(yytext); @@ -5624,7 +5625,7 @@ YY_RULE_SETUP YY_BREAK case 225: YY_RULE_SETUP -#line 2400 "dhcp4_lexer.ll" +#line 2401 "dhcp4_lexer.ll" { /* A floating point was found. */ std::string tmp(yytext); @@ -5640,7 +5641,7 @@ YY_RULE_SETUP YY_BREAK case 226: YY_RULE_SETUP -#line 2413 "dhcp4_lexer.ll" +#line 2414 "dhcp4_lexer.ll" { string tmp(yytext); return isc::dhcp::Dhcp4Parser::make_BOOLEAN(tmp == "true", driver.loc_); @@ -5648,33 +5649,33 @@ YY_RULE_SETUP YY_BREAK case 227: YY_RULE_SETUP -#line 2418 "dhcp4_lexer.ll" +#line 2419 "dhcp4_lexer.ll" { return isc::dhcp::Dhcp4Parser::make_NULL_TYPE(driver.loc_); } YY_BREAK case 228: YY_RULE_SETUP -#line 2422 "dhcp4_lexer.ll" +#line 2423 "dhcp4_lexer.ll" driver.error (driver.loc_, "JSON true reserved keyword is lower case only"); YY_BREAK case 229: YY_RULE_SETUP -#line 2424 "dhcp4_lexer.ll" +#line 2425 "dhcp4_lexer.ll" driver.error (driver.loc_, "JSON false reserved keyword is lower case only"); YY_BREAK case 230: YY_RULE_SETUP -#line 2426 "dhcp4_lexer.ll" +#line 2427 "dhcp4_lexer.ll" driver.error (driver.loc_, "JSON null reserved keyword is lower case only"); YY_BREAK case 231: YY_RULE_SETUP -#line 2428 "dhcp4_lexer.ll" +#line 2429 "dhcp4_lexer.ll" driver.error (driver.loc_, "Invalid character: " + std::string(yytext)); YY_BREAK case YY_STATE_EOF(INITIAL): -#line 2430 "dhcp4_lexer.ll" +#line 2431 "dhcp4_lexer.ll" { if (driver.states_.empty()) { return isc::dhcp::Dhcp4Parser::make_END(driver.loc_); @@ -5700,10 +5701,10 @@ case YY_STATE_EOF(INITIAL): YY_BREAK case 232: YY_RULE_SETUP -#line 2453 "dhcp4_lexer.ll" +#line 2454 "dhcp4_lexer.ll" ECHO; YY_BREAK -#line 5706 "dhcp4_lexer.cc" +#line 5707 "dhcp4_lexer.cc" case YY_END_OF_BUFFER: { @@ -6808,7 +6809,7 @@ void yyfree (void * ptr ) /* %ok-for-header */ -#line 2453 "dhcp4_lexer.ll" +#line 2454 "dhcp4_lexer.ll" using namespace isc::dhcp; diff --git a/src/bin/dhcp4/location.hh b/src/bin/dhcp4/location.hh index 860fbfa0c9..deada10130 100644 --- a/src/bin/dhcp4/location.hh +++ b/src/bin/dhcp4/location.hh @@ -1,3 +1,4 @@ +// Generated 202308031547 // A Bison parser, made by GNU Bison 3.8.2. // Locations for Bison parsers in C++ diff --git a/src/bin/dhcp6/dhcp6_lexer.cc b/src/bin/dhcp6/dhcp6_lexer.cc index 9ae0783f51..df6a70a3c5 100644 --- a/src/bin/dhcp6/dhcp6_lexer.cc +++ b/src/bin/dhcp6/dhcp6_lexer.cc @@ -2153,32 +2153,32 @@ int yy_flex_debug = 1; static const flex_int16_t yy_rule_linenum[236] = { 0, - 148, 150, 152, 157, 158, 163, 164, 165, 177, 180, - 185, 192, 201, 210, 219, 228, 237, 246, 255, 264, - 273, 282, 291, 300, 309, 321, 333, 343, 353, 363, - 373, 383, 392, 402, 412, 422, 432, 441, 450, 459, - 468, 477, 486, 495, 504, 513, 522, 531, 540, 549, - 558, 567, 576, 585, 594, 607, 616, 625, 634, 645, - 656, 667, 678, 690, 701, 712, 723, 734, 745, 756, - 767, 776, 785, 794, 805, 814, 825, 836, 847, 858, - 870, 882, 894, 906, 918, 930, 941, 952, 961, 970, - 979, 990, 1001, 1010, 1019, 1030, 1041, 1052, 1063, 1074, + 149, 151, 153, 158, 159, 164, 165, 166, 178, 181, + 186, 193, 202, 211, 220, 229, 238, 247, 256, 265, + 274, 283, 292, 301, 310, 322, 334, 344, 354, 364, + 374, 384, 393, 403, 413, 423, 433, 442, 451, 460, + 469, 478, 487, 496, 505, 514, 523, 532, 541, 550, + 559, 568, 577, 586, 595, 608, 617, 626, 635, 646, + 657, 668, 679, 691, 702, 713, 724, 735, 746, 757, + 768, 777, 786, 795, 806, 815, 826, 837, 848, 859, + 871, 883, 895, 907, 919, 931, 942, 953, 962, 971, + 980, 991, 1002, 1011, 1020, 1031, 1042, 1053, 1064, 1075, - 1085, 1096, 1107, 1118, 1127, 1136, 1145, 1157, 1168, 1178, - 1189, 1198, 1207, 1222, 1238, 1247, 1256, 1265, 1274, 1283, - 1292, 1301, 1310, 1319, 1328, 1337, 1346, 1370, 1394, 1403, - 1413, 1423, 1432, 1442, 1453, 1462, 1471, 1480, 1489, 1498, - 1509, 1520, 1531, 1541, 1550, 1559, 1568, 1579, 1590, 1601, - 1612, 1623, 1632, 1641, 1650, 1659, 1668, 1677, 1686, 1695, - 1704, 1714, 1726, 1739, 1748, 1757, 1766, 1776, 1786, 1795, - 1806, 1816, 1825, 1835, 1845, 1854, 1863, 1872, 1881, 1891, - 1900, 1909, 1918, 1927, 1936, 1945, 1954, 1963, 1972, 1981, - 1990, 1999, 2008, 2017, 2026, 2035, 2044, 2053, 2062, 2071, + 1086, 1097, 1108, 1119, 1128, 1137, 1146, 1158, 1169, 1179, + 1190, 1199, 1208, 1223, 1239, 1248, 1257, 1266, 1275, 1284, + 1293, 1302, 1311, 1320, 1329, 1338, 1347, 1371, 1395, 1404, + 1414, 1424, 1433, 1443, 1454, 1463, 1472, 1481, 1490, 1499, + 1510, 1521, 1532, 1542, 1551, 1560, 1569, 1580, 1591, 1602, + 1613, 1624, 1633, 1642, 1651, 1660, 1669, 1678, 1687, 1696, + 1705, 1715, 1727, 1740, 1749, 1758, 1767, 1777, 1787, 1796, + 1807, 1817, 1826, 1836, 1846, 1855, 1864, 1873, 1882, 1892, + 1901, 1910, 1919, 1928, 1937, 1946, 1955, 1964, 1973, 1982, + 1991, 2000, 2009, 2018, 2027, 2036, 2045, 2054, 2063, 2072, - 2080, 2089, 2098, 2107, 2116, 2125, 2134, 2143, 2152, 2161, - 2170, 2179, 2188, 2197, 2206, 2215, 2224, 2325, 2341, 2390, - 2398, 2413, 2414, 2415, 2416, 2417, 2418, 2420, 2438, 2451, - 2456, 2460, 2462, 2464, 2466 + 2081, 2090, 2099, 2108, 2117, 2126, 2135, 2144, 2153, 2162, + 2171, 2180, 2189, 2198, 2207, 2216, 2225, 2326, 2342, 2391, + 2399, 2414, 2415, 2416, 2417, 2418, 2419, 2421, 2439, 2452, + 2457, 2461, 2463, 2465, 2467 } ; /* The intent behind this definition is that it'll catch @@ -2203,6 +2203,7 @@ char *yytext; #include #include #include +#include #include #include #include @@ -2232,7 +2233,7 @@ using namespace isc::dhcp; /* To avoid the call to exit... oops! */ #define YY_FATAL_ERROR(msg) isc::dhcp::Parser6Context::fatal(msg) -#line 2235 "dhcp6_lexer.cc" +#line 2236 "dhcp6_lexer.cc" /* noyywrap disables automatic rewinding for the next file to parse. Since we always parse only a single string, there's no need to do any wraps. And using yywrap requires linking with -lfl, which provides the default yywrap @@ -2253,13 +2254,13 @@ using namespace isc::dhcp; can be used during actual token definitions. Note some can match incorrect inputs (e.g., IP addresses) which must be checked. */ /* for errors */ -#line 95 "dhcp6_lexer.ll" +#line 96 "dhcp6_lexer.ll" /* This code run each time a pattern is matched. It updates the location by moving it ahead by yyleng bytes. yyleng specifies the length of the currently matched token. */ #define YY_USER_ACTION driver.loc_.columns(yyleng); -#line 2261 "dhcp6_lexer.cc" #line 2262 "dhcp6_lexer.cc" +#line 2263 "dhcp6_lexer.cc" #define INITIAL 0 #define COMMENT 1 @@ -2541,11 +2542,11 @@ YY_DECL { /* %% [7.0] user's declarations go here */ -#line 101 "dhcp6_lexer.ll" +#line 102 "dhcp6_lexer.ll" -#line 105 "dhcp6_lexer.ll" +#line 106 "dhcp6_lexer.ll" /* This part of the code is copied over to the verbatim to the top of the generated yylex function. Explanation: http://www.gnu.org/software/bison/manual/html_node/Multiple-start_002dsymbols.html */ @@ -2589,7 +2590,7 @@ YY_DECL } -#line 2592 "dhcp6_lexer.cc" +#line 2593 "dhcp6_lexer.cc" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { @@ -2667,17 +2668,17 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 148 "dhcp6_lexer.ll" +#line 149 "dhcp6_lexer.ll" ; YY_BREAK case 2: YY_RULE_SETUP -#line 150 "dhcp6_lexer.ll" +#line 151 "dhcp6_lexer.ll" ; YY_BREAK case 3: YY_RULE_SETUP -#line 152 "dhcp6_lexer.ll" +#line 153 "dhcp6_lexer.ll" { BEGIN(COMMENT); comment_start_line = driver.loc_.end.line;; @@ -2685,33 +2686,33 @@ YY_RULE_SETUP YY_BREAK case 4: YY_RULE_SETUP -#line 157 "dhcp6_lexer.ll" +#line 158 "dhcp6_lexer.ll" BEGIN(INITIAL); YY_BREAK case 5: YY_RULE_SETUP -#line 158 "dhcp6_lexer.ll" +#line 159 "dhcp6_lexer.ll" ; YY_BREAK case YY_STATE_EOF(COMMENT): -#line 159 "dhcp6_lexer.ll" +#line 160 "dhcp6_lexer.ll" { isc_throw(Dhcp6ParseError, "Comment not closed. (/* in line " << comment_start_line); } YY_BREAK case 6: YY_RULE_SETUP -#line 163 "dhcp6_lexer.ll" +#line 164 "dhcp6_lexer.ll" BEGIN(DIR_ENTER); YY_BREAK case 7: YY_RULE_SETUP -#line 164 "dhcp6_lexer.ll" +#line 165 "dhcp6_lexer.ll" BEGIN(DIR_INCLUDE); YY_BREAK case 8: YY_RULE_SETUP -#line 165 "dhcp6_lexer.ll" +#line 166 "dhcp6_lexer.ll" { /* Include directive. */ @@ -2725,19 +2726,19 @@ YY_RULE_SETUP case YY_STATE_EOF(DIR_ENTER): case YY_STATE_EOF(DIR_INCLUDE): case YY_STATE_EOF(DIR_EXIT): -#line 174 "dhcp6_lexer.ll" +#line 175 "dhcp6_lexer.ll" { isc_throw(Dhcp6ParseError, "Directive not closed."); } YY_BREAK case 9: YY_RULE_SETUP -#line 177 "dhcp6_lexer.ll" +#line 178 "dhcp6_lexer.ll" BEGIN(INITIAL); YY_BREAK case 10: YY_RULE_SETUP -#line 180 "dhcp6_lexer.ll" +#line 181 "dhcp6_lexer.ll" { /* Ok, we found a with space. Let's ignore it and update loc variable. */ driver.loc_.step(); @@ -2746,7 +2747,7 @@ YY_RULE_SETUP case 11: /* rule 11 can match eol */ YY_RULE_SETUP -#line 185 "dhcp6_lexer.ll" +#line 186 "dhcp6_lexer.ll" { /* Newline found. Let's update the location and continue. */ driver.loc_.lines(yyleng); @@ -2755,7 +2756,7 @@ YY_RULE_SETUP YY_BREAK case 12: YY_RULE_SETUP -#line 192 "dhcp6_lexer.ll" +#line 193 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_DDNS: @@ -2767,7 +2768,7 @@ YY_RULE_SETUP YY_BREAK case 13: YY_RULE_SETUP -#line 201 "dhcp6_lexer.ll" +#line 202 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_DDNS: @@ -2779,7 +2780,7 @@ YY_RULE_SETUP YY_BREAK case 14: YY_RULE_SETUP -#line 210 "dhcp6_lexer.ll" +#line 211 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_DDNS: @@ -2791,7 +2792,7 @@ YY_RULE_SETUP YY_BREAK case 15: YY_RULE_SETUP -#line 219 "dhcp6_lexer.ll" +#line 220 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_DDNS: @@ -2803,7 +2804,7 @@ YY_RULE_SETUP YY_BREAK case 16: YY_RULE_SETUP -#line 228 "dhcp6_lexer.ll" +#line 229 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_DDNS: @@ -2815,7 +2816,7 @@ YY_RULE_SETUP YY_BREAK case 17: YY_RULE_SETUP -#line 237 "dhcp6_lexer.ll" +#line 238 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_DDNS: @@ -2827,7 +2828,7 @@ YY_RULE_SETUP YY_BREAK case 18: YY_RULE_SETUP -#line 246 "dhcp6_lexer.ll" +#line 247 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_DDNS: @@ -2839,7 +2840,7 @@ YY_RULE_SETUP YY_BREAK case 19: YY_RULE_SETUP -#line 255 "dhcp6_lexer.ll" +#line 256 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_DDNS: @@ -2851,7 +2852,7 @@ YY_RULE_SETUP YY_BREAK case 20: YY_RULE_SETUP -#line 264 "dhcp6_lexer.ll" +#line 265 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_DDNS: @@ -2863,7 +2864,7 @@ YY_RULE_SETUP YY_BREAK case 21: YY_RULE_SETUP -#line 273 "dhcp6_lexer.ll" +#line 274 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_DDNS: @@ -2875,7 +2876,7 @@ YY_RULE_SETUP YY_BREAK case 22: YY_RULE_SETUP -#line 282 "dhcp6_lexer.ll" +#line 283 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_DDNS: @@ -2887,7 +2888,7 @@ YY_RULE_SETUP YY_BREAK case 23: YY_RULE_SETUP -#line 291 "dhcp6_lexer.ll" +#line 292 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_DDNS: @@ -2899,7 +2900,7 @@ YY_RULE_SETUP YY_BREAK case 24: YY_RULE_SETUP -#line 300 "dhcp6_lexer.ll" +#line 301 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_DDNS: @@ -2911,7 +2912,7 @@ YY_RULE_SETUP YY_BREAK case 25: YY_RULE_SETUP -#line 309 "dhcp6_lexer.ll" +#line 310 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -2926,7 +2927,7 @@ YY_RULE_SETUP YY_BREAK case 26: YY_RULE_SETUP -#line 321 "dhcp6_lexer.ll" +#line 322 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -2941,7 +2942,7 @@ YY_RULE_SETUP YY_BREAK case 27: YY_RULE_SETUP -#line 333 "dhcp6_lexer.ll" +#line 334 "dhcp6_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser6Context::NCR_PROTOCOL) { @@ -2954,7 +2955,7 @@ YY_RULE_SETUP YY_BREAK case 28: YY_RULE_SETUP -#line 343 "dhcp6_lexer.ll" +#line 344 "dhcp6_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser6Context::NCR_PROTOCOL) { @@ -2967,7 +2968,7 @@ YY_RULE_SETUP YY_BREAK case 29: YY_RULE_SETUP -#line 353 "dhcp6_lexer.ll" +#line 354 "dhcp6_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser6Context::NCR_FORMAT) { @@ -2980,7 +2981,7 @@ YY_RULE_SETUP YY_BREAK case 30: YY_RULE_SETUP -#line 363 "dhcp6_lexer.ll" +#line 364 "dhcp6_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser6Context::REPLACE_CLIENT_NAME) { @@ -2993,7 +2994,7 @@ YY_RULE_SETUP YY_BREAK case 31: YY_RULE_SETUP -#line 373 "dhcp6_lexer.ll" +#line 374 "dhcp6_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser6Context::REPLACE_CLIENT_NAME) { @@ -3006,7 +3007,7 @@ YY_RULE_SETUP YY_BREAK case 32: YY_RULE_SETUP -#line 383 "dhcp6_lexer.ll" +#line 384 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::REPLACE_CLIENT_NAME: @@ -3018,7 +3019,7 @@ YY_RULE_SETUP YY_BREAK case 33: YY_RULE_SETUP -#line 392 "dhcp6_lexer.ll" +#line 393 "dhcp6_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser6Context::REPLACE_CLIENT_NAME) { @@ -3031,7 +3032,7 @@ YY_RULE_SETUP YY_BREAK case 34: YY_RULE_SETUP -#line 402 "dhcp6_lexer.ll" +#line 403 "dhcp6_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser6Context::REPLACE_CLIENT_NAME) { @@ -3044,7 +3045,7 @@ YY_RULE_SETUP YY_BREAK case 35: YY_RULE_SETUP -#line 412 "dhcp6_lexer.ll" +#line 413 "dhcp6_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser6Context::REPLACE_CLIENT_NAME) { @@ -3057,7 +3058,7 @@ YY_RULE_SETUP YY_BREAK case 36: YY_RULE_SETUP -#line 422 "dhcp6_lexer.ll" +#line 423 "dhcp6_lexer.ll" { /* dhcp-ddns value keywords are case insensitive */ if (driver.ctx_ == isc::dhcp::Parser6Context::REPLACE_CLIENT_NAME) { @@ -3070,7 +3071,7 @@ YY_RULE_SETUP YY_BREAK case 37: YY_RULE_SETUP -#line 432 "dhcp6_lexer.ll" +#line 433 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::CONFIG: @@ -3082,7 +3083,7 @@ YY_RULE_SETUP YY_BREAK case 38: YY_RULE_SETUP -#line 441 "dhcp6_lexer.ll" +#line 442 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3094,7 +3095,7 @@ YY_RULE_SETUP YY_BREAK case 39: YY_RULE_SETUP -#line 450 "dhcp6_lexer.ll" +#line 451 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3106,7 +3107,7 @@ YY_RULE_SETUP YY_BREAK case 40: YY_RULE_SETUP -#line 459 "dhcp6_lexer.ll" +#line 460 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::INTERFACES_CONFIG: @@ -3118,7 +3119,7 @@ YY_RULE_SETUP YY_BREAK case 41: YY_RULE_SETUP -#line 468 "dhcp6_lexer.ll" +#line 469 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::INTERFACES_CONFIG: @@ -3130,7 +3131,7 @@ YY_RULE_SETUP YY_BREAK case 42: YY_RULE_SETUP -#line 477 "dhcp6_lexer.ll" +#line 478 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::INTERFACES_CONFIG: @@ -3142,7 +3143,7 @@ YY_RULE_SETUP YY_BREAK case 43: YY_RULE_SETUP -#line 486 "dhcp6_lexer.ll" +#line 487 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::INTERFACES_CONFIG: @@ -3154,7 +3155,7 @@ YY_RULE_SETUP YY_BREAK case 44: YY_RULE_SETUP -#line 495 "dhcp6_lexer.ll" +#line 496 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::INTERFACES_CONFIG: @@ -3166,7 +3167,7 @@ YY_RULE_SETUP YY_BREAK case 45: YY_RULE_SETUP -#line 504 "dhcp6_lexer.ll" +#line 505 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3178,7 +3179,7 @@ YY_RULE_SETUP YY_BREAK case 46: YY_RULE_SETUP -#line 513 "dhcp6_lexer.ll" +#line 514 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::SANITY_CHECKS: @@ -3190,7 +3191,7 @@ YY_RULE_SETUP YY_BREAK case 47: YY_RULE_SETUP -#line 522 "dhcp6_lexer.ll" +#line 523 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::SANITY_CHECKS: @@ -3202,7 +3203,7 @@ YY_RULE_SETUP YY_BREAK case 48: YY_RULE_SETUP -#line 531 "dhcp6_lexer.ll" +#line 532 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3214,7 +3215,7 @@ YY_RULE_SETUP YY_BREAK case 49: YY_RULE_SETUP -#line 540 "dhcp6_lexer.ll" +#line 541 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3226,7 +3227,7 @@ YY_RULE_SETUP YY_BREAK case 50: YY_RULE_SETUP -#line 549 "dhcp6_lexer.ll" +#line 550 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3238,7 +3239,7 @@ YY_RULE_SETUP YY_BREAK case 51: YY_RULE_SETUP -#line 558 "dhcp6_lexer.ll" +#line 559 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3250,7 +3251,7 @@ YY_RULE_SETUP YY_BREAK case 52: YY_RULE_SETUP -#line 567 "dhcp6_lexer.ll" +#line 568 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::CONFIG_CONTROL: @@ -3262,7 +3263,7 @@ YY_RULE_SETUP YY_BREAK case 53: YY_RULE_SETUP -#line 576 "dhcp6_lexer.ll" +#line 577 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::CONFIG_CONTROL: @@ -3274,7 +3275,7 @@ YY_RULE_SETUP YY_BREAK case 54: YY_RULE_SETUP -#line 585 "dhcp6_lexer.ll" +#line 586 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::HOSTS_DATABASE: @@ -3286,7 +3287,7 @@ YY_RULE_SETUP YY_BREAK case 55: YY_RULE_SETUP -#line 594 "dhcp6_lexer.ll" +#line 595 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3302,7 +3303,7 @@ YY_RULE_SETUP YY_BREAK case 56: YY_RULE_SETUP -#line 607 "dhcp6_lexer.ll" +#line 608 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DATABASE_TYPE: @@ -3314,7 +3315,7 @@ YY_RULE_SETUP YY_BREAK case 57: YY_RULE_SETUP -#line 616 "dhcp6_lexer.ll" +#line 617 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DATABASE_TYPE: @@ -3326,7 +3327,7 @@ YY_RULE_SETUP YY_BREAK case 58: YY_RULE_SETUP -#line 625 "dhcp6_lexer.ll" +#line 626 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DATABASE_TYPE: @@ -3338,7 +3339,7 @@ YY_RULE_SETUP YY_BREAK case 59: YY_RULE_SETUP -#line 634 "dhcp6_lexer.ll" +#line 635 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3352,7 +3353,7 @@ YY_RULE_SETUP YY_BREAK case 60: YY_RULE_SETUP -#line 645 "dhcp6_lexer.ll" +#line 646 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3366,7 +3367,7 @@ YY_RULE_SETUP YY_BREAK case 61: YY_RULE_SETUP -#line 656 "dhcp6_lexer.ll" +#line 657 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3380,7 +3381,7 @@ YY_RULE_SETUP YY_BREAK case 62: YY_RULE_SETUP -#line 667 "dhcp6_lexer.ll" +#line 668 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3394,7 +3395,7 @@ YY_RULE_SETUP YY_BREAK case 63: YY_RULE_SETUP -#line 678 "dhcp6_lexer.ll" +#line 679 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3409,7 +3410,7 @@ YY_RULE_SETUP YY_BREAK case 64: YY_RULE_SETUP -#line 690 "dhcp6_lexer.ll" +#line 691 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3423,7 +3424,7 @@ YY_RULE_SETUP YY_BREAK case 65: YY_RULE_SETUP -#line 701 "dhcp6_lexer.ll" +#line 702 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3437,7 +3438,7 @@ YY_RULE_SETUP YY_BREAK case 66: YY_RULE_SETUP -#line 712 "dhcp6_lexer.ll" +#line 713 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3451,7 +3452,7 @@ YY_RULE_SETUP YY_BREAK case 67: YY_RULE_SETUP -#line 723 "dhcp6_lexer.ll" +#line 724 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3465,7 +3466,7 @@ YY_RULE_SETUP YY_BREAK case 68: YY_RULE_SETUP -#line 734 "dhcp6_lexer.ll" +#line 735 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3479,7 +3480,7 @@ YY_RULE_SETUP YY_BREAK case 69: YY_RULE_SETUP -#line 745 "dhcp6_lexer.ll" +#line 746 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3493,7 +3494,7 @@ YY_RULE_SETUP YY_BREAK case 70: YY_RULE_SETUP -#line 756 "dhcp6_lexer.ll" +#line 757 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3507,7 +3508,7 @@ YY_RULE_SETUP YY_BREAK case 71: YY_RULE_SETUP -#line 767 "dhcp6_lexer.ll" +#line 768 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DATABASE_ON_FAIL: @@ -3519,7 +3520,7 @@ YY_RULE_SETUP YY_BREAK case 72: YY_RULE_SETUP -#line 776 "dhcp6_lexer.ll" +#line 777 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DATABASE_ON_FAIL: @@ -3531,7 +3532,7 @@ YY_RULE_SETUP YY_BREAK case 73: YY_RULE_SETUP -#line 785 "dhcp6_lexer.ll" +#line 786 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DATABASE_ON_FAIL: @@ -3543,7 +3544,7 @@ YY_RULE_SETUP YY_BREAK case 74: YY_RULE_SETUP -#line 794 "dhcp6_lexer.ll" +#line 795 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3557,7 +3558,7 @@ YY_RULE_SETUP YY_BREAK case 75: YY_RULE_SETUP -#line 805 "dhcp6_lexer.ll" +#line 806 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3569,7 +3570,7 @@ YY_RULE_SETUP YY_BREAK case 76: YY_RULE_SETUP -#line 814 "dhcp6_lexer.ll" +#line 815 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3583,7 +3584,7 @@ YY_RULE_SETUP YY_BREAK case 77: YY_RULE_SETUP -#line 825 "dhcp6_lexer.ll" +#line 826 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3597,7 +3598,7 @@ YY_RULE_SETUP YY_BREAK case 78: YY_RULE_SETUP -#line 836 "dhcp6_lexer.ll" +#line 837 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3611,7 +3612,7 @@ YY_RULE_SETUP YY_BREAK case 79: YY_RULE_SETUP -#line 847 "dhcp6_lexer.ll" +#line 848 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -3625,7 +3626,7 @@ YY_RULE_SETUP YY_BREAK case 80: YY_RULE_SETUP -#line 858 "dhcp6_lexer.ll" +#line 859 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3640,7 +3641,7 @@ YY_RULE_SETUP YY_BREAK case 81: YY_RULE_SETUP -#line 870 "dhcp6_lexer.ll" +#line 871 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3655,7 +3656,7 @@ YY_RULE_SETUP YY_BREAK case 82: YY_RULE_SETUP -#line 882 "dhcp6_lexer.ll" +#line 883 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3670,7 +3671,7 @@ YY_RULE_SETUP YY_BREAK case 83: YY_RULE_SETUP -#line 894 "dhcp6_lexer.ll" +#line 895 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3685,7 +3686,7 @@ YY_RULE_SETUP YY_BREAK case 84: YY_RULE_SETUP -#line 906 "dhcp6_lexer.ll" +#line 907 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3700,7 +3701,7 @@ YY_RULE_SETUP YY_BREAK case 85: YY_RULE_SETUP -#line 918 "dhcp6_lexer.ll" +#line 919 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3715,7 +3716,7 @@ YY_RULE_SETUP YY_BREAK case 86: YY_RULE_SETUP -#line 930 "dhcp6_lexer.ll" +#line 931 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3729,7 +3730,7 @@ YY_RULE_SETUP YY_BREAK case 87: YY_RULE_SETUP -#line 941 "dhcp6_lexer.ll" +#line 942 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3743,7 +3744,7 @@ YY_RULE_SETUP YY_BREAK case 88: YY_RULE_SETUP -#line 952 "dhcp6_lexer.ll" +#line 953 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3755,7 +3756,7 @@ YY_RULE_SETUP YY_BREAK case 89: YY_RULE_SETUP -#line 961 "dhcp6_lexer.ll" +#line 962 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3767,7 +3768,7 @@ YY_RULE_SETUP YY_BREAK case 90: YY_RULE_SETUP -#line 970 "dhcp6_lexer.ll" +#line 971 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3779,7 +3780,7 @@ YY_RULE_SETUP YY_BREAK case 91: YY_RULE_SETUP -#line 979 "dhcp6_lexer.ll" +#line 980 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3793,7 +3794,7 @@ YY_RULE_SETUP YY_BREAK case 92: YY_RULE_SETUP -#line 990 "dhcp6_lexer.ll" +#line 991 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3807,7 +3808,7 @@ YY_RULE_SETUP YY_BREAK case 93: YY_RULE_SETUP -#line 1001 "dhcp6_lexer.ll" +#line 1002 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3819,7 +3820,7 @@ YY_RULE_SETUP YY_BREAK case 94: YY_RULE_SETUP -#line 1010 "dhcp6_lexer.ll" +#line 1011 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3831,7 +3832,7 @@ YY_RULE_SETUP YY_BREAK case 95: YY_RULE_SETUP -#line 1019 "dhcp6_lexer.ll" +#line 1020 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3845,7 +3846,7 @@ YY_RULE_SETUP YY_BREAK case 96: YY_RULE_SETUP -#line 1030 "dhcp6_lexer.ll" +#line 1031 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3859,7 +3860,7 @@ YY_RULE_SETUP YY_BREAK case 97: YY_RULE_SETUP -#line 1041 "dhcp6_lexer.ll" +#line 1042 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3873,7 +3874,7 @@ YY_RULE_SETUP YY_BREAK case 98: YY_RULE_SETUP -#line 1052 "dhcp6_lexer.ll" +#line 1053 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3887,7 +3888,7 @@ YY_RULE_SETUP YY_BREAK case 99: YY_RULE_SETUP -#line 1063 "dhcp6_lexer.ll" +#line 1064 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3901,7 +3902,7 @@ YY_RULE_SETUP YY_BREAK case 100: YY_RULE_SETUP -#line 1074 "dhcp6_lexer.ll" +#line 1075 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3915,7 +3916,7 @@ YY_RULE_SETUP YY_BREAK case 101: YY_RULE_SETUP -#line 1085 "dhcp6_lexer.ll" +#line 1086 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3929,7 +3930,7 @@ YY_RULE_SETUP YY_BREAK case 102: YY_RULE_SETUP -#line 1096 "dhcp6_lexer.ll" +#line 1097 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3943,7 +3944,7 @@ YY_RULE_SETUP YY_BREAK case 103: YY_RULE_SETUP -#line 1107 "dhcp6_lexer.ll" +#line 1108 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -3957,7 +3958,7 @@ YY_RULE_SETUP YY_BREAK case 104: YY_RULE_SETUP -#line 1118 "dhcp6_lexer.ll" +#line 1119 "dhcp6_lexer.ll" { if (driver.ctx_ == isc::dhcp::Parser6Context::DDNS_CONFLICT_RESOLUTION_MODE) { return isc::dhcp::Dhcp6Parser::make_CHECK_WITH_DHCID(driver.loc_); @@ -3969,7 +3970,7 @@ YY_RULE_SETUP YY_BREAK case 105: YY_RULE_SETUP -#line 1127 "dhcp6_lexer.ll" +#line 1128 "dhcp6_lexer.ll" { if (driver.ctx_ == isc::dhcp::Parser6Context::DDNS_CONFLICT_RESOLUTION_MODE) { return isc::dhcp::Dhcp6Parser::make_NO_CHECK_WITH_DHCID(driver.loc_); @@ -3981,7 +3982,7 @@ YY_RULE_SETUP YY_BREAK case 106: YY_RULE_SETUP -#line 1136 "dhcp6_lexer.ll" +#line 1137 "dhcp6_lexer.ll" { if (driver.ctx_ == isc::dhcp::Parser6Context::DDNS_CONFLICT_RESOLUTION_MODE) { return isc::dhcp::Dhcp6Parser::make_CHECK_EXISTS_WITH_DHCID(driver.loc_); @@ -3993,7 +3994,7 @@ YY_RULE_SETUP YY_BREAK case 107: YY_RULE_SETUP -#line 1145 "dhcp6_lexer.ll" +#line 1146 "dhcp6_lexer.ll" { if (driver.ctx_ == isc::dhcp::Parser6Context::DDNS_CONFLICT_RESOLUTION_MODE) { return isc::dhcp::Dhcp6Parser::make_NO_CHECK_WITHOUT_DHCID(driver.loc_); @@ -4005,7 +4006,7 @@ YY_RULE_SETUP YY_BREAK case 108: YY_RULE_SETUP -#line 1157 "dhcp6_lexer.ll" +#line 1158 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4019,7 +4020,7 @@ YY_RULE_SETUP YY_BREAK case 109: YY_RULE_SETUP -#line 1168 "dhcp6_lexer.ll" +#line 1169 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4032,7 +4033,7 @@ YY_RULE_SETUP YY_BREAK case 110: YY_RULE_SETUP -#line 1178 "dhcp6_lexer.ll" +#line 1179 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4046,7 +4047,7 @@ YY_RULE_SETUP YY_BREAK case 111: YY_RULE_SETUP -#line 1189 "dhcp6_lexer.ll" +#line 1190 "dhcp6_lexer.ll" { switch (driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4058,7 +4059,7 @@ YY_RULE_SETUP YY_BREAK case 112: YY_RULE_SETUP -#line 1198 "dhcp6_lexer.ll" +#line 1199 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4070,7 +4071,7 @@ YY_RULE_SETUP YY_BREAK case 113: YY_RULE_SETUP -#line 1207 "dhcp6_lexer.ll" +#line 1208 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4088,7 +4089,7 @@ YY_RULE_SETUP YY_BREAK case 114: YY_RULE_SETUP -#line 1222 "dhcp6_lexer.ll" +#line 1223 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LEASE_DATABASE: @@ -4107,7 +4108,7 @@ YY_RULE_SETUP YY_BREAK case 115: YY_RULE_SETUP -#line 1238 "dhcp6_lexer.ll" +#line 1239 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::OPTION_DATA: @@ -4119,7 +4120,7 @@ YY_RULE_SETUP YY_BREAK case 116: YY_RULE_SETUP -#line 1247 "dhcp6_lexer.ll" +#line 1248 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::OPTION_DATA: @@ -4131,7 +4132,7 @@ YY_RULE_SETUP YY_BREAK case 117: YY_RULE_SETUP -#line 1256 "dhcp6_lexer.ll" +#line 1257 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::OPTION_DATA: @@ -4143,7 +4144,7 @@ YY_RULE_SETUP YY_BREAK case 118: YY_RULE_SETUP -#line 1265 "dhcp6_lexer.ll" +#line 1266 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::SUBNET6: @@ -4155,7 +4156,7 @@ YY_RULE_SETUP YY_BREAK case 119: YY_RULE_SETUP -#line 1274 "dhcp6_lexer.ll" +#line 1275 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::SUBNET6: @@ -4167,7 +4168,7 @@ YY_RULE_SETUP YY_BREAK case 120: YY_RULE_SETUP -#line 1283 "dhcp6_lexer.ll" +#line 1284 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::PD_POOLS: @@ -4179,7 +4180,7 @@ YY_RULE_SETUP YY_BREAK case 121: YY_RULE_SETUP -#line 1292 "dhcp6_lexer.ll" +#line 1293 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::PD_POOLS: @@ -4191,7 +4192,7 @@ YY_RULE_SETUP YY_BREAK case 122: YY_RULE_SETUP -#line 1301 "dhcp6_lexer.ll" +#line 1302 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::PD_POOLS: @@ -4203,7 +4204,7 @@ YY_RULE_SETUP YY_BREAK case 123: YY_RULE_SETUP -#line 1310 "dhcp6_lexer.ll" +#line 1311 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::PD_POOLS: @@ -4215,7 +4216,7 @@ YY_RULE_SETUP YY_BREAK case 124: YY_RULE_SETUP -#line 1319 "dhcp6_lexer.ll" +#line 1320 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::PD_POOLS: @@ -4227,7 +4228,7 @@ YY_RULE_SETUP YY_BREAK case 125: YY_RULE_SETUP -#line 1328 "dhcp6_lexer.ll" +#line 1329 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::POOLS: @@ -4239,7 +4240,7 @@ YY_RULE_SETUP YY_BREAK case 126: YY_RULE_SETUP -#line 1337 "dhcp6_lexer.ll" +#line 1338 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::POOLS: @@ -4251,7 +4252,7 @@ YY_RULE_SETUP YY_BREAK case 127: YY_RULE_SETUP -#line 1346 "dhcp6_lexer.ll" +#line 1347 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4278,7 +4279,7 @@ YY_RULE_SETUP YY_BREAK case 128: YY_RULE_SETUP -#line 1370 "dhcp6_lexer.ll" +#line 1371 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4305,7 +4306,7 @@ YY_RULE_SETUP YY_BREAK case 129: YY_RULE_SETUP -#line 1394 "dhcp6_lexer.ll" +#line 1395 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::SUBNET6: @@ -4317,7 +4318,7 @@ YY_RULE_SETUP YY_BREAK case 130: YY_RULE_SETUP -#line 1403 "dhcp6_lexer.ll" +#line 1404 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::SUBNET6: @@ -4330,7 +4331,7 @@ YY_RULE_SETUP YY_BREAK case 131: YY_RULE_SETUP -#line 1413 "dhcp6_lexer.ll" +#line 1414 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::SUBNET6: @@ -4343,7 +4344,7 @@ YY_RULE_SETUP YY_BREAK case 132: YY_RULE_SETUP -#line 1423 "dhcp6_lexer.ll" +#line 1424 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::SUBNET6: @@ -4355,7 +4356,7 @@ YY_RULE_SETUP YY_BREAK case 133: YY_RULE_SETUP -#line 1432 "dhcp6_lexer.ll" +#line 1433 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::SUBNET6: @@ -4368,7 +4369,7 @@ YY_RULE_SETUP YY_BREAK case 134: YY_RULE_SETUP -#line 1442 "dhcp6_lexer.ll" +#line 1443 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4382,7 +4383,7 @@ YY_RULE_SETUP YY_BREAK case 135: YY_RULE_SETUP -#line 1453 "dhcp6_lexer.ll" +#line 1454 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::RESERVATION_MODE: @@ -4394,7 +4395,7 @@ YY_RULE_SETUP YY_BREAK case 136: YY_RULE_SETUP -#line 1462 "dhcp6_lexer.ll" +#line 1463 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::RESERVATION_MODE: @@ -4406,7 +4407,7 @@ YY_RULE_SETUP YY_BREAK case 137: YY_RULE_SETUP -#line 1471 "dhcp6_lexer.ll" +#line 1472 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::RESERVATION_MODE: @@ -4418,7 +4419,7 @@ YY_RULE_SETUP YY_BREAK case 138: YY_RULE_SETUP -#line 1480 "dhcp6_lexer.ll" +#line 1481 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::RESERVATION_MODE: @@ -4430,7 +4431,7 @@ YY_RULE_SETUP YY_BREAK case 139: YY_RULE_SETUP -#line 1489 "dhcp6_lexer.ll" +#line 1490 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::RESERVATION_MODE: @@ -4442,7 +4443,7 @@ YY_RULE_SETUP YY_BREAK case 140: YY_RULE_SETUP -#line 1498 "dhcp6_lexer.ll" +#line 1499 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4456,7 +4457,7 @@ YY_RULE_SETUP YY_BREAK case 141: YY_RULE_SETUP -#line 1509 "dhcp6_lexer.ll" +#line 1510 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4470,7 +4471,7 @@ YY_RULE_SETUP YY_BREAK case 142: YY_RULE_SETUP -#line 1520 "dhcp6_lexer.ll" +#line 1521 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4484,7 +4485,7 @@ YY_RULE_SETUP YY_BREAK case 143: YY_RULE_SETUP -#line 1531 "dhcp6_lexer.ll" +#line 1532 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::OPTION_DEF: @@ -4497,7 +4498,7 @@ YY_RULE_SETUP YY_BREAK case 144: YY_RULE_SETUP -#line 1541 "dhcp6_lexer.ll" +#line 1542 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4509,7 +4510,7 @@ YY_RULE_SETUP YY_BREAK case 145: YY_RULE_SETUP -#line 1550 "dhcp6_lexer.ll" +#line 1551 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4521,7 +4522,7 @@ YY_RULE_SETUP YY_BREAK case 146: YY_RULE_SETUP -#line 1559 "dhcp6_lexer.ll" +#line 1560 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4533,7 +4534,7 @@ YY_RULE_SETUP YY_BREAK case 147: YY_RULE_SETUP -#line 1568 "dhcp6_lexer.ll" +#line 1569 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4547,7 +4548,7 @@ YY_RULE_SETUP YY_BREAK case 148: YY_RULE_SETUP -#line 1579 "dhcp6_lexer.ll" +#line 1580 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4561,7 +4562,7 @@ YY_RULE_SETUP YY_BREAK case 149: YY_RULE_SETUP -#line 1590 "dhcp6_lexer.ll" +#line 1591 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4575,7 +4576,7 @@ YY_RULE_SETUP YY_BREAK case 150: YY_RULE_SETUP -#line 1601 "dhcp6_lexer.ll" +#line 1602 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4589,7 +4590,7 @@ YY_RULE_SETUP YY_BREAK case 151: YY_RULE_SETUP -#line 1612 "dhcp6_lexer.ll" +#line 1613 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4603,7 +4604,7 @@ YY_RULE_SETUP YY_BREAK case 152: YY_RULE_SETUP -#line 1623 "dhcp6_lexer.ll" +#line 1624 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4615,7 +4616,7 @@ YY_RULE_SETUP YY_BREAK case 153: YY_RULE_SETUP -#line 1632 "dhcp6_lexer.ll" +#line 1633 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LOGGERS: @@ -4627,7 +4628,7 @@ YY_RULE_SETUP YY_BREAK case 154: YY_RULE_SETUP -#line 1641 "dhcp6_lexer.ll" +#line 1642 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::OUTPUT_OPTIONS: @@ -4639,7 +4640,7 @@ YY_RULE_SETUP YY_BREAK case 155: YY_RULE_SETUP -#line 1650 "dhcp6_lexer.ll" +#line 1651 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::OUTPUT_OPTIONS: @@ -4651,7 +4652,7 @@ YY_RULE_SETUP YY_BREAK case 156: YY_RULE_SETUP -#line 1659 "dhcp6_lexer.ll" +#line 1660 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::OUTPUT_OPTIONS: @@ -4663,7 +4664,7 @@ YY_RULE_SETUP YY_BREAK case 157: YY_RULE_SETUP -#line 1668 "dhcp6_lexer.ll" +#line 1669 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::OUTPUT_OPTIONS: @@ -4675,7 +4676,7 @@ YY_RULE_SETUP YY_BREAK case 158: YY_RULE_SETUP -#line 1677 "dhcp6_lexer.ll" +#line 1678 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::OUTPUT_OPTIONS: @@ -4687,7 +4688,7 @@ YY_RULE_SETUP YY_BREAK case 159: YY_RULE_SETUP -#line 1686 "dhcp6_lexer.ll" +#line 1687 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LOGGERS: @@ -4699,7 +4700,7 @@ YY_RULE_SETUP YY_BREAK case 160: YY_RULE_SETUP -#line 1695 "dhcp6_lexer.ll" +#line 1696 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::LOGGERS: @@ -4711,7 +4712,7 @@ YY_RULE_SETUP YY_BREAK case 161: YY_RULE_SETUP -#line 1704 "dhcp6_lexer.ll" +#line 1705 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4724,7 +4725,7 @@ YY_RULE_SETUP YY_BREAK case 162: YY_RULE_SETUP -#line 1714 "dhcp6_lexer.ll" +#line 1715 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::SUBNET6: @@ -4739,7 +4740,7 @@ YY_RULE_SETUP YY_BREAK case 163: YY_RULE_SETUP -#line 1726 "dhcp6_lexer.ll" +#line 1727 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::SUBNET6: @@ -4755,7 +4756,7 @@ YY_RULE_SETUP YY_BREAK case 164: YY_RULE_SETUP -#line 1739 "dhcp6_lexer.ll" +#line 1740 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::CLIENT_CLASSES: @@ -4767,7 +4768,7 @@ YY_RULE_SETUP YY_BREAK case 165: YY_RULE_SETUP -#line 1748 "dhcp6_lexer.ll" +#line 1749 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::CLIENT_CLASSES: @@ -4779,7 +4780,7 @@ YY_RULE_SETUP YY_BREAK case 166: YY_RULE_SETUP -#line 1757 "dhcp6_lexer.ll" +#line 1758 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::CLIENT_CLASSES: @@ -4791,7 +4792,7 @@ YY_RULE_SETUP YY_BREAK case 167: YY_RULE_SETUP -#line 1766 "dhcp6_lexer.ll" +#line 1767 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4804,7 +4805,7 @@ YY_RULE_SETUP YY_BREAK case 168: YY_RULE_SETUP -#line 1776 "dhcp6_lexer.ll" +#line 1777 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::RESERVATIONS: @@ -4817,7 +4818,7 @@ YY_RULE_SETUP YY_BREAK case 169: YY_RULE_SETUP -#line 1786 "dhcp6_lexer.ll" +#line 1787 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::RESERVATIONS: @@ -4829,7 +4830,7 @@ YY_RULE_SETUP YY_BREAK case 170: YY_RULE_SETUP -#line 1795 "dhcp6_lexer.ll" +#line 1796 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::MAC_SOURCES: @@ -4843,7 +4844,7 @@ YY_RULE_SETUP YY_BREAK case 171: YY_RULE_SETUP -#line 1806 "dhcp6_lexer.ll" +#line 1807 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::HOST_RESERVATION_IDENTIFIERS: @@ -4856,7 +4857,7 @@ YY_RULE_SETUP YY_BREAK case 172: YY_RULE_SETUP -#line 1816 "dhcp6_lexer.ll" +#line 1817 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::RESERVATIONS: @@ -4868,7 +4869,7 @@ YY_RULE_SETUP YY_BREAK case 173: YY_RULE_SETUP -#line 1825 "dhcp6_lexer.ll" +#line 1826 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::HOST_RESERVATION_IDENTIFIERS: @@ -4881,7 +4882,7 @@ YY_RULE_SETUP YY_BREAK case 174: YY_RULE_SETUP -#line 1835 "dhcp6_lexer.ll" +#line 1836 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::OPTION_DEF: @@ -4894,7 +4895,7 @@ YY_RULE_SETUP YY_BREAK case 175: YY_RULE_SETUP -#line 1845 "dhcp6_lexer.ll" +#line 1846 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::OPTION_DATA: @@ -4906,7 +4907,7 @@ YY_RULE_SETUP YY_BREAK case 176: YY_RULE_SETUP -#line 1854 "dhcp6_lexer.ll" +#line 1855 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::OPTION_DEF: @@ -4918,7 +4919,7 @@ YY_RULE_SETUP YY_BREAK case 177: YY_RULE_SETUP -#line 1863 "dhcp6_lexer.ll" +#line 1864 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::OPTION_DEF: @@ -4930,7 +4931,7 @@ YY_RULE_SETUP YY_BREAK case 178: YY_RULE_SETUP -#line 1872 "dhcp6_lexer.ll" +#line 1873 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::OPTION_DEF: @@ -4942,7 +4943,7 @@ YY_RULE_SETUP YY_BREAK case 179: YY_RULE_SETUP -#line 1881 "dhcp6_lexer.ll" +#line 1882 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::SUBNET6: @@ -4955,7 +4956,7 @@ YY_RULE_SETUP YY_BREAK case 180: YY_RULE_SETUP -#line 1891 "dhcp6_lexer.ll" +#line 1892 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::RELAY: @@ -4967,7 +4968,7 @@ YY_RULE_SETUP YY_BREAK case 181: YY_RULE_SETUP -#line 1900 "dhcp6_lexer.ll" +#line 1901 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -4979,7 +4980,7 @@ YY_RULE_SETUP YY_BREAK case 182: YY_RULE_SETUP -#line 1909 "dhcp6_lexer.ll" +#line 1910 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::HOOKS_LIBRARIES: @@ -4991,7 +4992,7 @@ YY_RULE_SETUP YY_BREAK case 183: YY_RULE_SETUP -#line 1918 "dhcp6_lexer.ll" +#line 1919 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::HOOKS_LIBRARIES: @@ -5003,7 +5004,7 @@ YY_RULE_SETUP YY_BREAK case 184: YY_RULE_SETUP -#line 1927 "dhcp6_lexer.ll" +#line 1928 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -5015,7 +5016,7 @@ YY_RULE_SETUP YY_BREAK case 185: YY_RULE_SETUP -#line 1936 "dhcp6_lexer.ll" +#line 1937 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DUID_TYPE: @@ -5027,7 +5028,7 @@ YY_RULE_SETUP YY_BREAK case 186: YY_RULE_SETUP -#line 1945 "dhcp6_lexer.ll" +#line 1946 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DUID_TYPE: @@ -5039,7 +5040,7 @@ YY_RULE_SETUP YY_BREAK case 187: YY_RULE_SETUP -#line 1954 "dhcp6_lexer.ll" +#line 1955 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DUID_TYPE: @@ -5051,7 +5052,7 @@ YY_RULE_SETUP YY_BREAK case 188: YY_RULE_SETUP -#line 1963 "dhcp6_lexer.ll" +#line 1964 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::SERVER_ID: @@ -5063,7 +5064,7 @@ YY_RULE_SETUP YY_BREAK case 189: YY_RULE_SETUP -#line 1972 "dhcp6_lexer.ll" +#line 1973 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::SERVER_ID: @@ -5075,7 +5076,7 @@ YY_RULE_SETUP YY_BREAK case 190: YY_RULE_SETUP -#line 1981 "dhcp6_lexer.ll" +#line 1982 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::SERVER_ID: @@ -5087,7 +5088,7 @@ YY_RULE_SETUP YY_BREAK case 191: YY_RULE_SETUP -#line 1990 "dhcp6_lexer.ll" +#line 1991 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::SERVER_ID: @@ -5099,7 +5100,7 @@ YY_RULE_SETUP YY_BREAK case 192: YY_RULE_SETUP -#line 1999 "dhcp6_lexer.ll" +#line 2000 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -5111,7 +5112,7 @@ YY_RULE_SETUP YY_BREAK case 193: YY_RULE_SETUP -#line 2008 "dhcp6_lexer.ll" +#line 2009 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::EXPIRED_LEASES_PROCESSING: @@ -5123,7 +5124,7 @@ YY_RULE_SETUP YY_BREAK case 194: YY_RULE_SETUP -#line 2017 "dhcp6_lexer.ll" +#line 2018 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::EXPIRED_LEASES_PROCESSING: @@ -5135,7 +5136,7 @@ YY_RULE_SETUP YY_BREAK case 195: YY_RULE_SETUP -#line 2026 "dhcp6_lexer.ll" +#line 2027 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::EXPIRED_LEASES_PROCESSING: @@ -5147,7 +5148,7 @@ YY_RULE_SETUP YY_BREAK case 196: YY_RULE_SETUP -#line 2035 "dhcp6_lexer.ll" +#line 2036 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::EXPIRED_LEASES_PROCESSING: @@ -5159,7 +5160,7 @@ YY_RULE_SETUP YY_BREAK case 197: YY_RULE_SETUP -#line 2044 "dhcp6_lexer.ll" +#line 2045 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::EXPIRED_LEASES_PROCESSING: @@ -5171,7 +5172,7 @@ YY_RULE_SETUP YY_BREAK case 198: YY_RULE_SETUP -#line 2053 "dhcp6_lexer.ll" +#line 2054 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::EXPIRED_LEASES_PROCESSING: @@ -5183,7 +5184,7 @@ YY_RULE_SETUP YY_BREAK case 199: YY_RULE_SETUP -#line 2062 "dhcp6_lexer.ll" +#line 2063 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -5195,7 +5196,7 @@ YY_RULE_SETUP YY_BREAK case 200: YY_RULE_SETUP -#line 2071 "dhcp6_lexer.ll" +#line 2072 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -5207,7 +5208,7 @@ YY_RULE_SETUP YY_BREAK case 201: YY_RULE_SETUP -#line 2080 "dhcp6_lexer.ll" +#line 2081 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_MULTI_THREADING: @@ -5219,7 +5220,7 @@ YY_RULE_SETUP YY_BREAK case 202: YY_RULE_SETUP -#line 2089 "dhcp6_lexer.ll" +#line 2090 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_MULTI_THREADING: @@ -5231,7 +5232,7 @@ YY_RULE_SETUP YY_BREAK case 203: YY_RULE_SETUP -#line 2098 "dhcp6_lexer.ll" +#line 2099 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_MULTI_THREADING: @@ -5243,7 +5244,7 @@ YY_RULE_SETUP YY_BREAK case 204: YY_RULE_SETUP -#line 2107 "dhcp6_lexer.ll" +#line 2108 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -5255,7 +5256,7 @@ YY_RULE_SETUP YY_BREAK case 205: YY_RULE_SETUP -#line 2116 "dhcp6_lexer.ll" +#line 2117 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::CONTROL_SOCKET: @@ -5267,7 +5268,7 @@ YY_RULE_SETUP YY_BREAK case 206: YY_RULE_SETUP -#line 2125 "dhcp6_lexer.ll" +#line 2126 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::CONTROL_SOCKET: @@ -5279,7 +5280,7 @@ YY_RULE_SETUP YY_BREAK case 207: YY_RULE_SETUP -#line 2134 "dhcp6_lexer.ll" +#line 2135 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -5291,7 +5292,7 @@ YY_RULE_SETUP YY_BREAK case 208: YY_RULE_SETUP -#line 2143 "dhcp6_lexer.ll" +#line 2144 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_QUEUE_CONTROL: @@ -5303,7 +5304,7 @@ YY_RULE_SETUP YY_BREAK case 209: YY_RULE_SETUP -#line 2152 "dhcp6_lexer.ll" +#line 2153 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_QUEUE_CONTROL: @@ -5315,7 +5316,7 @@ YY_RULE_SETUP YY_BREAK case 210: YY_RULE_SETUP -#line 2161 "dhcp6_lexer.ll" +#line 2162 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP_QUEUE_CONTROL: @@ -5327,7 +5328,7 @@ YY_RULE_SETUP YY_BREAK case 211: YY_RULE_SETUP -#line 2170 "dhcp6_lexer.ll" +#line 2171 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -5339,7 +5340,7 @@ YY_RULE_SETUP YY_BREAK case 212: YY_RULE_SETUP -#line 2179 "dhcp6_lexer.ll" +#line 2180 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -5351,7 +5352,7 @@ YY_RULE_SETUP YY_BREAK case 213: YY_RULE_SETUP -#line 2188 "dhcp6_lexer.ll" +#line 2189 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -5363,7 +5364,7 @@ YY_RULE_SETUP YY_BREAK case 214: YY_RULE_SETUP -#line 2197 "dhcp6_lexer.ll" +#line 2198 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -5375,7 +5376,7 @@ YY_RULE_SETUP YY_BREAK case 215: YY_RULE_SETUP -#line 2206 "dhcp6_lexer.ll" +#line 2207 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::DHCP6: @@ -5387,7 +5388,7 @@ YY_RULE_SETUP YY_BREAK case 216: YY_RULE_SETUP -#line 2215 "dhcp6_lexer.ll" +#line 2216 "dhcp6_lexer.ll" { switch(driver.ctx_) { case isc::dhcp::Parser6Context::COMPATIBILITY: @@ -5399,7 +5400,7 @@ YY_RULE_SETUP YY_BREAK case 217: YY_RULE_SETUP -#line 2224 "dhcp6_lexer.ll" +#line 2225 "dhcp6_lexer.ll" { /* A string has been matched. It contains the actual string and single quotes. We need to get those quotes out of the way and just use its content, e.g. @@ -5504,7 +5505,7 @@ YY_RULE_SETUP case 218: /* rule 218 can match eol */ YY_RULE_SETUP -#line 2325 "dhcp6_lexer.ll" +#line 2326 "dhcp6_lexer.ll" { /* Bad string with a forbidden control character inside */ std::string raw(yytext+1); @@ -5524,7 +5525,7 @@ YY_RULE_SETUP case 219: /* rule 219 can match eol */ YY_RULE_SETUP -#line 2341 "dhcp6_lexer.ll" +#line 2342 "dhcp6_lexer.ll" { /* Bad string with a bad escape inside */ std::string raw(yytext+1); @@ -5576,7 +5577,7 @@ YY_RULE_SETUP YY_BREAK case 220: YY_RULE_SETUP -#line 2390 "dhcp6_lexer.ll" +#line 2391 "dhcp6_lexer.ll" { /* Bad string with an open escape at the end */ std::string raw(yytext+1); @@ -5587,7 +5588,7 @@ YY_RULE_SETUP YY_BREAK case 221: YY_RULE_SETUP -#line 2398 "dhcp6_lexer.ll" +#line 2399 "dhcp6_lexer.ll" { /* Bad string with an open unicode escape at the end */ std::string raw(yytext+1); @@ -5605,37 +5606,37 @@ YY_RULE_SETUP YY_BREAK case 222: YY_RULE_SETUP -#line 2413 "dhcp6_lexer.ll" +#line 2414 "dhcp6_lexer.ll" { return isc::dhcp::Dhcp6Parser::make_LSQUARE_BRACKET(driver.loc_); } YY_BREAK case 223: YY_RULE_SETUP -#line 2414 "dhcp6_lexer.ll" +#line 2415 "dhcp6_lexer.ll" { return isc::dhcp::Dhcp6Parser::make_RSQUARE_BRACKET(driver.loc_); } YY_BREAK case 224: YY_RULE_SETUP -#line 2415 "dhcp6_lexer.ll" +#line 2416 "dhcp6_lexer.ll" { return isc::dhcp::Dhcp6Parser::make_LCURLY_BRACKET(driver.loc_); } YY_BREAK case 225: YY_RULE_SETUP -#line 2416 "dhcp6_lexer.ll" +#line 2417 "dhcp6_lexer.ll" { return isc::dhcp::Dhcp6Parser::make_RCURLY_BRACKET(driver.loc_); } YY_BREAK case 226: YY_RULE_SETUP -#line 2417 "dhcp6_lexer.ll" +#line 2418 "dhcp6_lexer.ll" { return isc::dhcp::Dhcp6Parser::make_COMMA(driver.loc_); } YY_BREAK case 227: YY_RULE_SETUP -#line 2418 "dhcp6_lexer.ll" +#line 2419 "dhcp6_lexer.ll" { return isc::dhcp::Dhcp6Parser::make_COLON(driver.loc_); } YY_BREAK case 228: YY_RULE_SETUP -#line 2420 "dhcp6_lexer.ll" +#line 2421 "dhcp6_lexer.ll" { /* An integer was found. */ std::string tmp(yytext); @@ -5656,7 +5657,7 @@ YY_RULE_SETUP YY_BREAK case 229: YY_RULE_SETUP -#line 2438 "dhcp6_lexer.ll" +#line 2439 "dhcp6_lexer.ll" { /* A floating point was found. */ std::string tmp(yytext); @@ -5672,7 +5673,7 @@ YY_RULE_SETUP YY_BREAK case 230: YY_RULE_SETUP -#line 2451 "dhcp6_lexer.ll" +#line 2452 "dhcp6_lexer.ll" { string tmp(yytext); return isc::dhcp::Dhcp6Parser::make_BOOLEAN(tmp == "true", driver.loc_); @@ -5680,33 +5681,33 @@ YY_RULE_SETUP YY_BREAK case 231: YY_RULE_SETUP -#line 2456 "dhcp6_lexer.ll" +#line 2457 "dhcp6_lexer.ll" { return isc::dhcp::Dhcp6Parser::make_NULL_TYPE(driver.loc_); } YY_BREAK case 232: YY_RULE_SETUP -#line 2460 "dhcp6_lexer.ll" +#line 2461 "dhcp6_lexer.ll" driver.error (driver.loc_, "JSON true reserved keyword is lower case only"); YY_BREAK case 233: YY_RULE_SETUP -#line 2462 "dhcp6_lexer.ll" +#line 2463 "dhcp6_lexer.ll" driver.error (driver.loc_, "JSON false reserved keyword is lower case only"); YY_BREAK case 234: YY_RULE_SETUP -#line 2464 "dhcp6_lexer.ll" +#line 2465 "dhcp6_lexer.ll" driver.error (driver.loc_, "JSON null reserved keyword is lower case only"); YY_BREAK case 235: YY_RULE_SETUP -#line 2466 "dhcp6_lexer.ll" +#line 2467 "dhcp6_lexer.ll" driver.error (driver.loc_, "Invalid character: " + std::string(yytext)); YY_BREAK case YY_STATE_EOF(INITIAL): -#line 2468 "dhcp6_lexer.ll" +#line 2469 "dhcp6_lexer.ll" { if (driver.states_.empty()) { return isc::dhcp::Dhcp6Parser::make_END(driver.loc_); @@ -5732,10 +5733,10 @@ case YY_STATE_EOF(INITIAL): YY_BREAK case 236: YY_RULE_SETUP -#line 2491 "dhcp6_lexer.ll" +#line 2492 "dhcp6_lexer.ll" ECHO; YY_BREAK -#line 5738 "dhcp6_lexer.cc" +#line 5739 "dhcp6_lexer.cc" case YY_END_OF_BUFFER: { @@ -6840,7 +6841,7 @@ void yyfree (void * ptr ) /* %ok-for-header */ -#line 2491 "dhcp6_lexer.ll" +#line 2492 "dhcp6_lexer.ll" using namespace isc::dhcp; diff --git a/src/bin/dhcp6/location.hh b/src/bin/dhcp6/location.hh index 4fb140a70e..ff99b8346a 100644 --- a/src/bin/dhcp6/location.hh +++ b/src/bin/dhcp6/location.hh @@ -1,3 +1,4 @@ +// Generated 202308031547 // A Bison parser, made by GNU Bison 3.8.2. // Locations for Bison parsers in C++ diff --git a/src/bin/netconf/location.hh b/src/bin/netconf/location.hh index 842a1114e8..e6c55c84ce 100644 --- a/src/bin/netconf/location.hh +++ b/src/bin/netconf/location.hh @@ -1,3 +1,4 @@ +// Generated 202308031548 // A Bison parser, made by GNU Bison 3.8.2. // Locations for Bison parsers in C++ diff --git a/src/bin/netconf/netconf_lexer.cc b/src/bin/netconf/netconf_lexer.cc index 7e21e12903..4e4511633c 100644 --- a/src/bin/netconf/netconf_lexer.cc +++ b/src/bin/netconf/netconf_lexer.cc @@ -1440,13 +1440,13 @@ int yy_flex_debug = 1; static const flex_int16_t yy_rule_linenum[63] = { 0, - 134, 136, 138, 143, 144, 149, 150, 151, 163, 166, - 171, 178, 187, 199, 211, 221, 231, 241, 250, 259, - 268, 277, 286, 295, 304, 313, 322, 331, 340, 349, - 358, 367, 376, 385, 394, 403, 412, 421, 430, 439, - 448, 457, 466, 475, 576, 592, 641, 649, 664, 665, - 666, 667, 668, 669, 671, 689, 702, 707, 711, 713, - 715, 717 + 135, 137, 139, 144, 145, 150, 151, 152, 164, 167, + 172, 179, 188, 200, 212, 222, 232, 242, 251, 260, + 269, 278, 287, 296, 305, 314, 323, 332, 341, 350, + 359, 368, 377, 386, 395, 404, 413, 422, 431, 440, + 449, 458, 467, 476, 577, 593, 642, 650, 665, 666, + 667, 668, 669, 670, 672, 690, 703, 708, 712, 714, + 716, 718 } ; /* The intent behind this definition is that it'll catch @@ -1458,7 +1458,7 @@ static const flex_int16_t yy_rule_linenum[63] = #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "netconf_lexer.ll" -/* Copyright (C) 2018-2020 Internet Systems Consortium, Inc. ("ISC") +/* Copyright (C) 2018-2023 Internet Systems Consortium, Inc. ("ISC") This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this @@ -1471,6 +1471,7 @@ char *yytext; #include #include #include +#include #include #include #include @@ -1502,7 +1503,7 @@ using isc::netconf::NetconfParser; /* To avoid the call to exit... oops! */ #define YY_FATAL_ERROR(msg) isc::netconf::ParserContext::fatal(msg) -#line 1505 "netconf_lexer.cc" +#line 1506 "netconf_lexer.cc" /* noyywrap disables automatic rewinding for the next file to parse. Since we always parse only a single string, there's no need to do any wraps. And using yywrap requires linking with -lfl, which provides the default yywrap @@ -1523,13 +1524,13 @@ using isc::netconf::NetconfParser; can be used during actual token definitions. Note some can match incorrect inputs (e.g., IP addresses) which must be checked. */ /* for errors */ -#line 97 "netconf_lexer.ll" +#line 98 "netconf_lexer.ll" /* This code run each time a pattern is matched. It updates the location by moving it ahead by yyleng bytes. yyleng specifies the length of the currently matched token. */ #define YY_USER_ACTION driver.loc_.columns(yyleng); -#line 1531 "netconf_lexer.cc" #line 1532 "netconf_lexer.cc" +#line 1533 "netconf_lexer.cc" #define INITIAL 0 #define COMMENT 1 @@ -1811,11 +1812,11 @@ YY_DECL { /* %% [7.0] user's declarations go here */ -#line 103 "netconf_lexer.ll" +#line 104 "netconf_lexer.ll" -#line 107 "netconf_lexer.ll" +#line 108 "netconf_lexer.ll" /* This part of the code is copied over to the verbatim to the top of the generated yylex function. Explanation: http://www.gnu.org/software/bison/manual/html_node/Multiple-start_002dsymbols.html */ @@ -1843,7 +1844,7 @@ YY_DECL } -#line 1846 "netconf_lexer.cc" +#line 1847 "netconf_lexer.cc" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { @@ -1921,17 +1922,17 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 134 "netconf_lexer.ll" +#line 135 "netconf_lexer.ll" ; YY_BREAK case 2: YY_RULE_SETUP -#line 136 "netconf_lexer.ll" +#line 137 "netconf_lexer.ll" ; YY_BREAK case 3: YY_RULE_SETUP -#line 138 "netconf_lexer.ll" +#line 139 "netconf_lexer.ll" { BEGIN(COMMENT); comment_start_line = driver.loc_.end.line;; @@ -1939,33 +1940,33 @@ YY_RULE_SETUP YY_BREAK case 4: YY_RULE_SETUP -#line 143 "netconf_lexer.ll" +#line 144 "netconf_lexer.ll" BEGIN(INITIAL); YY_BREAK case 5: YY_RULE_SETUP -#line 144 "netconf_lexer.ll" +#line 145 "netconf_lexer.ll" ; YY_BREAK case YY_STATE_EOF(COMMENT): -#line 145 "netconf_lexer.ll" +#line 146 "netconf_lexer.ll" { isc_throw(ParseError, "Comment not closed. (/* in line " << comment_start_line); } YY_BREAK case 6: YY_RULE_SETUP -#line 149 "netconf_lexer.ll" +#line 150 "netconf_lexer.ll" BEGIN(DIR_ENTER); YY_BREAK case 7: YY_RULE_SETUP -#line 150 "netconf_lexer.ll" +#line 151 "netconf_lexer.ll" BEGIN(DIR_INCLUDE); YY_BREAK case 8: YY_RULE_SETUP -#line 151 "netconf_lexer.ll" +#line 152 "netconf_lexer.ll" { /* Include directive. */ @@ -1979,19 +1980,19 @@ YY_RULE_SETUP case YY_STATE_EOF(DIR_ENTER): case YY_STATE_EOF(DIR_INCLUDE): case YY_STATE_EOF(DIR_EXIT): -#line 160 "netconf_lexer.ll" +#line 161 "netconf_lexer.ll" { isc_throw(ParseError, "Directive not closed."); } YY_BREAK case 9: YY_RULE_SETUP -#line 163 "netconf_lexer.ll" +#line 164 "netconf_lexer.ll" BEGIN(INITIAL); YY_BREAK case 10: YY_RULE_SETUP -#line 166 "netconf_lexer.ll" +#line 167 "netconf_lexer.ll" { /* Ok, we found a with space. Let's ignore it and update loc variable. */ driver.loc_.step(); @@ -2000,7 +2001,7 @@ YY_RULE_SETUP case 11: /* rule 11 can match eol */ YY_RULE_SETUP -#line 171 "netconf_lexer.ll" +#line 172 "netconf_lexer.ll" { /* Newline found. Let's update the location and continue. */ driver.loc_.lines(yyleng); @@ -2009,7 +2010,7 @@ YY_RULE_SETUP YY_BREAK case 12: YY_RULE_SETUP -#line 178 "netconf_lexer.ll" +#line 179 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::CONFIG: @@ -2021,7 +2022,7 @@ YY_RULE_SETUP YY_BREAK case 13: YY_RULE_SETUP -#line 187 "netconf_lexer.ll" +#line 188 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::NETCONF: @@ -2036,7 +2037,7 @@ YY_RULE_SETUP YY_BREAK case 14: YY_RULE_SETUP -#line 199 "netconf_lexer.ll" +#line 200 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::NETCONF: @@ -2051,7 +2052,7 @@ YY_RULE_SETUP YY_BREAK case 15: YY_RULE_SETUP -#line 211 "netconf_lexer.ll" +#line 212 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::NETCONF: @@ -2064,7 +2065,7 @@ YY_RULE_SETUP YY_BREAK case 16: YY_RULE_SETUP -#line 221 "netconf_lexer.ll" +#line 222 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::NETCONF: @@ -2077,7 +2078,7 @@ YY_RULE_SETUP YY_BREAK case 17: YY_RULE_SETUP -#line 231 "netconf_lexer.ll" +#line 232 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::NETCONF: @@ -2090,7 +2091,7 @@ YY_RULE_SETUP YY_BREAK case 18: YY_RULE_SETUP -#line 241 "netconf_lexer.ll" +#line 242 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::NETCONF: @@ -2102,7 +2103,7 @@ YY_RULE_SETUP YY_BREAK case 19: YY_RULE_SETUP -#line 250 "netconf_lexer.ll" +#line 251 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::MANAGED_SERVERS: @@ -2114,7 +2115,7 @@ YY_RULE_SETUP YY_BREAK case 20: YY_RULE_SETUP -#line 259 "netconf_lexer.ll" +#line 260 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::MANAGED_SERVERS: @@ -2126,7 +2127,7 @@ YY_RULE_SETUP YY_BREAK case 21: YY_RULE_SETUP -#line 268 "netconf_lexer.ll" +#line 269 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::MANAGED_SERVERS: @@ -2138,7 +2139,7 @@ YY_RULE_SETUP YY_BREAK case 22: YY_RULE_SETUP -#line 277 "netconf_lexer.ll" +#line 278 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::MANAGED_SERVERS: @@ -2150,7 +2151,7 @@ YY_RULE_SETUP YY_BREAK case 23: YY_RULE_SETUP -#line 286 "netconf_lexer.ll" +#line 287 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::SERVER: @@ -2162,7 +2163,7 @@ YY_RULE_SETUP YY_BREAK case 24: YY_RULE_SETUP -#line 295 "netconf_lexer.ll" +#line 296 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::SERVER: @@ -2174,7 +2175,7 @@ YY_RULE_SETUP YY_BREAK case 25: YY_RULE_SETUP -#line 304 "netconf_lexer.ll" +#line 305 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::SOCKET_TYPE: @@ -2186,7 +2187,7 @@ YY_RULE_SETUP YY_BREAK case 26: YY_RULE_SETUP -#line 313 "netconf_lexer.ll" +#line 314 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::SOCKET_TYPE: @@ -2198,7 +2199,7 @@ YY_RULE_SETUP YY_BREAK case 27: YY_RULE_SETUP -#line 322 "netconf_lexer.ll" +#line 323 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::SOCKET_TYPE: @@ -2210,7 +2211,7 @@ YY_RULE_SETUP YY_BREAK case 28: YY_RULE_SETUP -#line 331 "netconf_lexer.ll" +#line 332 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::CONTROL_SOCKET: @@ -2222,7 +2223,7 @@ YY_RULE_SETUP YY_BREAK case 29: YY_RULE_SETUP -#line 340 "netconf_lexer.ll" +#line 341 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::CONTROL_SOCKET: @@ -2234,7 +2235,7 @@ YY_RULE_SETUP YY_BREAK case 30: YY_RULE_SETUP -#line 349 "netconf_lexer.ll" +#line 350 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::CONTROL_SOCKET: @@ -2246,7 +2247,7 @@ YY_RULE_SETUP YY_BREAK case 31: YY_RULE_SETUP -#line 358 "netconf_lexer.ll" +#line 359 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::NETCONF: @@ -2258,7 +2259,7 @@ YY_RULE_SETUP YY_BREAK case 32: YY_RULE_SETUP -#line 367 "netconf_lexer.ll" +#line 368 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::HOOKS_LIBRARIES: @@ -2270,7 +2271,7 @@ YY_RULE_SETUP YY_BREAK case 33: YY_RULE_SETUP -#line 376 "netconf_lexer.ll" +#line 377 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::HOOKS_LIBRARIES: @@ -2282,7 +2283,7 @@ YY_RULE_SETUP YY_BREAK case 34: YY_RULE_SETUP -#line 385 "netconf_lexer.ll" +#line 386 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::NETCONF: @@ -2294,7 +2295,7 @@ YY_RULE_SETUP YY_BREAK case 35: YY_RULE_SETUP -#line 394 "netconf_lexer.ll" +#line 395 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::LOGGERS: @@ -2306,7 +2307,7 @@ YY_RULE_SETUP YY_BREAK case 36: YY_RULE_SETUP -#line 403 "netconf_lexer.ll" +#line 404 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::LOGGERS: @@ -2318,7 +2319,7 @@ YY_RULE_SETUP YY_BREAK case 37: YY_RULE_SETUP -#line 412 "netconf_lexer.ll" +#line 413 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::OUTPUT_OPTIONS: @@ -2330,7 +2331,7 @@ YY_RULE_SETUP YY_BREAK case 38: YY_RULE_SETUP -#line 421 "netconf_lexer.ll" +#line 422 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::OUTPUT_OPTIONS: @@ -2342,7 +2343,7 @@ YY_RULE_SETUP YY_BREAK case 39: YY_RULE_SETUP -#line 430 "netconf_lexer.ll" +#line 431 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::OUTPUT_OPTIONS: @@ -2354,7 +2355,7 @@ YY_RULE_SETUP YY_BREAK case 40: YY_RULE_SETUP -#line 439 "netconf_lexer.ll" +#line 440 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::OUTPUT_OPTIONS: @@ -2366,7 +2367,7 @@ YY_RULE_SETUP YY_BREAK case 41: YY_RULE_SETUP -#line 448 "netconf_lexer.ll" +#line 449 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::OUTPUT_OPTIONS: @@ -2378,7 +2379,7 @@ YY_RULE_SETUP YY_BREAK case 42: YY_RULE_SETUP -#line 457 "netconf_lexer.ll" +#line 458 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::LOGGERS: @@ -2390,7 +2391,7 @@ YY_RULE_SETUP YY_BREAK case 43: YY_RULE_SETUP -#line 466 "netconf_lexer.ll" +#line 467 "netconf_lexer.ll" { switch(driver.ctx_) { case ParserContext::LOGGERS: @@ -2402,7 +2403,7 @@ YY_RULE_SETUP YY_BREAK case 44: YY_RULE_SETUP -#line 475 "netconf_lexer.ll" +#line 476 "netconf_lexer.ll" { /* A string has been matched. It contains the actual string and single quotes. We need to get those quotes out of the way and just use its content, e.g. @@ -2507,7 +2508,7 @@ YY_RULE_SETUP case 45: /* rule 45 can match eol */ YY_RULE_SETUP -#line 576 "netconf_lexer.ll" +#line 577 "netconf_lexer.ll" { /* Bad string with a forbidden control character inside */ std::string raw(yytext+1); @@ -2527,7 +2528,7 @@ YY_RULE_SETUP case 46: /* rule 46 can match eol */ YY_RULE_SETUP -#line 592 "netconf_lexer.ll" +#line 593 "netconf_lexer.ll" { /* Bad string with a bad escape inside */ std::string raw(yytext+1); @@ -2579,7 +2580,7 @@ YY_RULE_SETUP YY_BREAK case 47: YY_RULE_SETUP -#line 641 "netconf_lexer.ll" +#line 642 "netconf_lexer.ll" { /* Bad string with an open escape at the end */ std::string raw(yytext+1); @@ -2590,7 +2591,7 @@ YY_RULE_SETUP YY_BREAK case 48: YY_RULE_SETUP -#line 649 "netconf_lexer.ll" +#line 650 "netconf_lexer.ll" { /* Bad string with an open unicode escape at the end */ std::string raw(yytext+1); @@ -2608,37 +2609,37 @@ YY_RULE_SETUP YY_BREAK case 49: YY_RULE_SETUP -#line 664 "netconf_lexer.ll" +#line 665 "netconf_lexer.ll" { return NetconfParser::make_LSQUARE_BRACKET(driver.loc_); } YY_BREAK case 50: YY_RULE_SETUP -#line 665 "netconf_lexer.ll" +#line 666 "netconf_lexer.ll" { return NetconfParser::make_RSQUARE_BRACKET(driver.loc_); } YY_BREAK case 51: YY_RULE_SETUP -#line 666 "netconf_lexer.ll" +#line 667 "netconf_lexer.ll" { return NetconfParser::make_LCURLY_BRACKET(driver.loc_); } YY_BREAK case 52: YY_RULE_SETUP -#line 667 "netconf_lexer.ll" +#line 668 "netconf_lexer.ll" { return NetconfParser::make_RCURLY_BRACKET(driver.loc_); } YY_BREAK case 53: YY_RULE_SETUP -#line 668 "netconf_lexer.ll" +#line 669 "netconf_lexer.ll" { return NetconfParser::make_COMMA(driver.loc_); } YY_BREAK case 54: YY_RULE_SETUP -#line 669 "netconf_lexer.ll" +#line 670 "netconf_lexer.ll" { return NetconfParser::make_COLON(driver.loc_); } YY_BREAK case 55: YY_RULE_SETUP -#line 671 "netconf_lexer.ll" +#line 672 "netconf_lexer.ll" { /* An integer was found. */ std::string tmp(yytext); @@ -2659,7 +2660,7 @@ YY_RULE_SETUP YY_BREAK case 56: YY_RULE_SETUP -#line 689 "netconf_lexer.ll" +#line 690 "netconf_lexer.ll" { /* A floating point was found. */ std::string tmp(yytext); @@ -2675,7 +2676,7 @@ YY_RULE_SETUP YY_BREAK case 57: YY_RULE_SETUP -#line 702 "netconf_lexer.ll" +#line 703 "netconf_lexer.ll" { string tmp(yytext); return NetconfParser::make_BOOLEAN(tmp == "true", driver.loc_); @@ -2683,33 +2684,33 @@ YY_RULE_SETUP YY_BREAK case 58: YY_RULE_SETUP -#line 707 "netconf_lexer.ll" +#line 708 "netconf_lexer.ll" { return NetconfParser::make_NULL_TYPE(driver.loc_); } YY_BREAK case 59: YY_RULE_SETUP -#line 711 "netconf_lexer.ll" +#line 712 "netconf_lexer.ll" driver.error (driver.loc_, "JSON true reserved keyword is lower case only"); YY_BREAK case 60: YY_RULE_SETUP -#line 713 "netconf_lexer.ll" +#line 714 "netconf_lexer.ll" driver.error (driver.loc_, "JSON false reserved keyword is lower case only"); YY_BREAK case 61: YY_RULE_SETUP -#line 715 "netconf_lexer.ll" +#line 716 "netconf_lexer.ll" driver.error (driver.loc_, "JSON null reserved keyword is lower case only"); YY_BREAK case 62: YY_RULE_SETUP -#line 717 "netconf_lexer.ll" +#line 718 "netconf_lexer.ll" driver.error (driver.loc_, "Invalid character: " + std::string(yytext)); YY_BREAK case YY_STATE_EOF(INITIAL): -#line 719 "netconf_lexer.ll" +#line 720 "netconf_lexer.ll" { if (driver.states_.empty()) { return NetconfParser::make_END(driver.loc_); @@ -2735,10 +2736,10 @@ case YY_STATE_EOF(INITIAL): YY_BREAK case 63: YY_RULE_SETUP -#line 742 "netconf_lexer.ll" +#line 743 "netconf_lexer.ll" ECHO; YY_BREAK -#line 2741 "netconf_lexer.cc" +#line 2742 "netconf_lexer.cc" case YY_END_OF_BUFFER: { @@ -3843,7 +3844,7 @@ void yyfree (void * ptr ) /* %ok-for-header */ -#line 742 "netconf_lexer.ll" +#line 743 "netconf_lexer.ll" using namespace isc::dhcp; diff --git a/src/lib/eval/lexer.cc b/src/lib/eval/lexer.cc index 5855ede9a6..ab42b71a86 100644 --- a/src/lib/eval/lexer.cc +++ b/src/lib/eval/lexer.cc @@ -984,13 +984,13 @@ int yy_flex_debug = 1; static const flex_int16_t yy_rule_linenum[63] = { 0, - 106, 111, 117, 127, 133, 151, 175, 189, 190, 191, - 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, - 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, - 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, - 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, - 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, - 242, 243 + 107, 112, 118, 128, 134, 152, 176, 190, 191, 192, + 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, + 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, + 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, + 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, + 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, + 243, 244 } ; /* The intent behind this definition is that it'll catch @@ -1002,7 +1002,7 @@ static const flex_int16_t yy_rule_linenum[63] = #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "lexer.ll" -/* Copyright (C) 2015-2022 Internet Systems Consortium, Inc. ("ISC") +/* Copyright (C) 2015-2023 Internet Systems Consortium, Inc. ("ISC") This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this @@ -1014,6 +1014,7 @@ char *yytext; #include #include +#include #include #include #include @@ -1041,7 +1042,7 @@ namespace { /* To avoid the call to exit... oops! */ #define YY_FATAL_ERROR(msg) isc::eval::EvalContext::fatal(msg) -#line 1044 "lexer.cc" +#line 1045 "lexer.cc" /* noyywrap disables automatic rewinding for the next file to parse. Since we always parse only a single string, there's no need to do any wraps. And using yywrap requires linking with -lfl, which provides the default yywrap @@ -1061,13 +1062,13 @@ namespace { /* These are not token expressions yet, just convenience expressions that can be used during actual token definitions. Note some can match incorrect inputs (e.g., IP addresses) which must be checked. */ -#line 80 "lexer.ll" +#line 81 "lexer.ll" /* This code run each time a pattern is matched. It updates the location by moving it ahead by yyleng bytes. yyleng specifies the length of the currently matched token. */ #define YY_USER_ACTION loc.columns(evalleng); -#line 1069 "lexer.cc" #line 1070 "lexer.cc" +#line 1071 "lexer.cc" #define INITIAL 0 @@ -1345,11 +1346,11 @@ YY_DECL { /* %% [7.0] user's declarations go here */ -#line 86 "lexer.ll" +#line 87 "lexer.ll" -#line 90 "lexer.ll" +#line 91 "lexer.ll" /* Code run each time evallex is called. */ loc.step(); @@ -1366,7 +1367,7 @@ YY_DECL -#line 1369 "lexer.cc" +#line 1370 "lexer.cc" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { @@ -1454,7 +1455,7 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 106 "lexer.ll" +#line 107 "lexer.ll" { /* Ok, we found a with space. Let's ignore it and update loc variable. */ loc.step(); @@ -1463,7 +1464,7 @@ YY_RULE_SETUP case 2: /* rule 2 can match eol */ YY_RULE_SETUP -#line 111 "lexer.ll" +#line 112 "lexer.ll" { /* Newline found. Let's update the location and continue. */ loc.lines(evalleng); @@ -1472,7 +1473,7 @@ YY_RULE_SETUP YY_BREAK case 3: YY_RULE_SETUP -#line 117 "lexer.ll" +#line 118 "lexer.ll" { /* A string has been matched. It contains the actual string and single quotes. We need to get those quotes out of the way and just use its content, e.g. @@ -1485,7 +1486,7 @@ YY_RULE_SETUP YY_BREAK case 4: YY_RULE_SETUP -#line 127 "lexer.ll" +#line 128 "lexer.ll" { /* A hex string has been matched. It contains the '0x' or '0X' header followed by at least one hexadecimal digit. */ @@ -1494,7 +1495,7 @@ YY_RULE_SETUP YY_BREAK case 5: YY_RULE_SETUP -#line 133 "lexer.ll" +#line 134 "lexer.ll" { /* An integer was found. */ std::string tmp(evaltext); @@ -1520,7 +1521,7 @@ YY_LINENO_REWIND_TO(yy_cp - 1); (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 151 "lexer.ll" +#line 152 "lexer.ll" { /* This string specifies option name starting with a letter and further containing letters, digits, hyphens and @@ -1547,7 +1548,7 @@ YY_RULE_SETUP YY_BREAK case 7: YY_RULE_SETUP -#line 175 "lexer.ll" +#line 176 "lexer.ll" { /* IPv4 or IPv6 address */ std::string tmp(evaltext); @@ -1564,289 +1565,289 @@ YY_RULE_SETUP YY_BREAK case 8: YY_RULE_SETUP -#line 189 "lexer.ll" +#line 190 "lexer.ll" return isc::eval::EvalParser::make_EQUAL(loc); YY_BREAK case 9: YY_RULE_SETUP -#line 190 "lexer.ll" +#line 191 "lexer.ll" return isc::eval::EvalParser::make_OPTION(loc); YY_BREAK case 10: YY_RULE_SETUP -#line 191 "lexer.ll" +#line 192 "lexer.ll" return isc::eval::EvalParser::make_RELAY4(loc); YY_BREAK case 11: YY_RULE_SETUP -#line 192 "lexer.ll" +#line 193 "lexer.ll" return isc::eval::EvalParser::make_RELAY6(loc); YY_BREAK case 12: YY_RULE_SETUP -#line 193 "lexer.ll" +#line 194 "lexer.ll" return isc::eval::EvalParser::make_PEERADDR(loc); YY_BREAK case 13: YY_RULE_SETUP -#line 194 "lexer.ll" +#line 195 "lexer.ll" return isc::eval::EvalParser::make_LINKADDR(loc); YY_BREAK case 14: YY_RULE_SETUP -#line 195 "lexer.ll" +#line 196 "lexer.ll" return isc::eval::EvalParser::make_TEXT(loc); YY_BREAK case 15: YY_RULE_SETUP -#line 196 "lexer.ll" +#line 197 "lexer.ll" return isc::eval::EvalParser::make_HEX(loc); YY_BREAK case 16: YY_RULE_SETUP -#line 197 "lexer.ll" +#line 198 "lexer.ll" return isc::eval::EvalParser::make_EXISTS(loc); YY_BREAK case 17: YY_RULE_SETUP -#line 198 "lexer.ll" +#line 199 "lexer.ll" return isc::eval::EvalParser::make_PKT(loc); YY_BREAK case 18: YY_RULE_SETUP -#line 199 "lexer.ll" +#line 200 "lexer.ll" return isc::eval::EvalParser::make_IFACE(loc); YY_BREAK case 19: YY_RULE_SETUP -#line 200 "lexer.ll" +#line 201 "lexer.ll" return isc::eval::EvalParser::make_SRC(loc); YY_BREAK case 20: YY_RULE_SETUP -#line 201 "lexer.ll" +#line 202 "lexer.ll" return isc::eval::EvalParser::make_DST(loc); YY_BREAK case 21: YY_RULE_SETUP -#line 202 "lexer.ll" +#line 203 "lexer.ll" return isc::eval::EvalParser::make_LEN(loc); YY_BREAK case 22: YY_RULE_SETUP -#line 203 "lexer.ll" +#line 204 "lexer.ll" return isc::eval::EvalParser::make_PKT4(loc); YY_BREAK case 23: YY_RULE_SETUP -#line 204 "lexer.ll" +#line 205 "lexer.ll" return isc::eval::EvalParser::make_CHADDR(loc); YY_BREAK case 24: YY_RULE_SETUP -#line 205 "lexer.ll" +#line 206 "lexer.ll" return isc::eval::EvalParser::make_HLEN(loc); YY_BREAK case 25: YY_RULE_SETUP -#line 206 "lexer.ll" +#line 207 "lexer.ll" return isc::eval::EvalParser::make_HTYPE(loc); YY_BREAK case 26: YY_RULE_SETUP -#line 207 "lexer.ll" +#line 208 "lexer.ll" return isc::eval::EvalParser::make_CIADDR(loc); YY_BREAK case 27: YY_RULE_SETUP -#line 208 "lexer.ll" +#line 209 "lexer.ll" return isc::eval::EvalParser::make_GIADDR(loc); YY_BREAK case 28: YY_RULE_SETUP -#line 209 "lexer.ll" +#line 210 "lexer.ll" return isc::eval::EvalParser::make_YIADDR(loc); YY_BREAK case 29: YY_RULE_SETUP -#line 210 "lexer.ll" +#line 211 "lexer.ll" return isc::eval::EvalParser::make_SIADDR(loc); YY_BREAK case 30: YY_RULE_SETUP -#line 211 "lexer.ll" +#line 212 "lexer.ll" return isc::eval::EvalParser::make_PKT6(loc); YY_BREAK case 31: YY_RULE_SETUP -#line 212 "lexer.ll" +#line 213 "lexer.ll" return isc::eval::EvalParser::make_MSGTYPE(loc); YY_BREAK case 32: YY_RULE_SETUP -#line 213 "lexer.ll" +#line 214 "lexer.ll" return isc::eval::EvalParser::make_TRANSID(loc); YY_BREAK case 33: YY_RULE_SETUP -#line 214 "lexer.ll" +#line 215 "lexer.ll" return isc::eval::EvalParser::make_VENDOR(loc); YY_BREAK case 34: YY_RULE_SETUP -#line 215 "lexer.ll" +#line 216 "lexer.ll" return isc::eval::EvalParser::make_VENDOR_CLASS(loc); YY_BREAK case 35: YY_RULE_SETUP -#line 216 "lexer.ll" +#line 217 "lexer.ll" return isc::eval::EvalParser::make_DATA(loc); YY_BREAK case 36: YY_RULE_SETUP -#line 217 "lexer.ll" +#line 218 "lexer.ll" return isc::eval::EvalParser::make_ENTERPRISE(loc); YY_BREAK case 37: YY_RULE_SETUP -#line 218 "lexer.ll" +#line 219 "lexer.ll" return isc::eval::EvalParser::make_SUBSTRING(loc); YY_BREAK case 38: YY_RULE_SETUP -#line 219 "lexer.ll" +#line 220 "lexer.ll" return isc::eval::EvalParser::make_SPLIT(loc); YY_BREAK case 39: YY_RULE_SETUP -#line 220 "lexer.ll" +#line 221 "lexer.ll" return isc::eval::EvalParser::make_ALL(loc); YY_BREAK case 40: YY_RULE_SETUP -#line 221 "lexer.ll" +#line 222 "lexer.ll" return isc::eval::EvalParser::make_CONCAT(loc); YY_BREAK case 41: YY_RULE_SETUP -#line 222 "lexer.ll" +#line 223 "lexer.ll" return isc::eval::EvalParser::make_IFELSE(loc); YY_BREAK case 42: YY_RULE_SETUP -#line 223 "lexer.ll" +#line 224 "lexer.ll" return isc::eval::EvalParser::make_TOHEXSTRING(loc); YY_BREAK case 43: YY_RULE_SETUP -#line 224 "lexer.ll" +#line 225 "lexer.ll" return isc::eval::EvalParser::make_ADDRTOTEXT(loc); YY_BREAK case 44: YY_RULE_SETUP -#line 225 "lexer.ll" +#line 226 "lexer.ll" return isc::eval::EvalParser::make_INT8TOTEXT(loc); YY_BREAK case 45: YY_RULE_SETUP -#line 226 "lexer.ll" +#line 227 "lexer.ll" return isc::eval::EvalParser::make_INT16TOTEXT(loc); YY_BREAK case 46: YY_RULE_SETUP -#line 227 "lexer.ll" +#line 228 "lexer.ll" return isc::eval::EvalParser::make_INT32TOTEXT(loc); YY_BREAK case 47: YY_RULE_SETUP -#line 228 "lexer.ll" +#line 229 "lexer.ll" return isc::eval::EvalParser::make_UINT8TOTEXT(loc); YY_BREAK case 48: YY_RULE_SETUP -#line 229 "lexer.ll" +#line 230 "lexer.ll" return isc::eval::EvalParser::make_UINT16TOTEXT(loc); YY_BREAK case 49: YY_RULE_SETUP -#line 230 "lexer.ll" +#line 231 "lexer.ll" return isc::eval::EvalParser::make_UINT32TOTEXT(loc); YY_BREAK case 50: YY_RULE_SETUP -#line 231 "lexer.ll" +#line 232 "lexer.ll" return isc::eval::EvalParser::make_NOT(loc); YY_BREAK case 51: YY_RULE_SETUP -#line 232 "lexer.ll" +#line 233 "lexer.ll" return isc::eval::EvalParser::make_AND(loc); YY_BREAK case 52: YY_RULE_SETUP -#line 233 "lexer.ll" +#line 234 "lexer.ll" return isc::eval::EvalParser::make_OR(loc); YY_BREAK case 53: YY_RULE_SETUP -#line 234 "lexer.ll" +#line 235 "lexer.ll" return isc::eval::EvalParser::make_MEMBER(loc); YY_BREAK case 54: YY_RULE_SETUP -#line 235 "lexer.ll" +#line 236 "lexer.ll" return isc::eval::EvalParser::make_DOT(loc); YY_BREAK case 55: YY_RULE_SETUP -#line 236 "lexer.ll" +#line 237 "lexer.ll" return isc::eval::EvalParser::make_LPAREN(loc); YY_BREAK case 56: YY_RULE_SETUP -#line 237 "lexer.ll" +#line 238 "lexer.ll" return isc::eval::EvalParser::make_RPAREN(loc); YY_BREAK case 57: YY_RULE_SETUP -#line 238 "lexer.ll" +#line 239 "lexer.ll" return isc::eval::EvalParser::make_LBRACKET(loc); YY_BREAK case 58: YY_RULE_SETUP -#line 239 "lexer.ll" +#line 240 "lexer.ll" return isc::eval::EvalParser::make_RBRACKET(loc); YY_BREAK case 59: YY_RULE_SETUP -#line 240 "lexer.ll" +#line 241 "lexer.ll" return isc::eval::EvalParser::make_COMA(loc); YY_BREAK case 60: YY_RULE_SETUP -#line 241 "lexer.ll" +#line 242 "lexer.ll" return isc::eval::EvalParser::make_ANY(loc); YY_BREAK case 61: YY_RULE_SETUP -#line 242 "lexer.ll" +#line 243 "lexer.ll" return isc::eval::EvalParser::make_PLUS(loc); YY_BREAK case 62: YY_RULE_SETUP -#line 243 "lexer.ll" +#line 244 "lexer.ll" driver.error (loc, "Invalid character: " + std::string(evaltext)); YY_BREAK case YY_STATE_EOF(INITIAL): -#line 244 "lexer.ll" +#line 245 "lexer.ll" return isc::eval::EvalParser::make_END(loc); YY_BREAK case 63: YY_RULE_SETUP -#line 245 "lexer.ll" +#line 246 "lexer.ll" ECHO; YY_BREAK -#line 1849 "lexer.cc" +#line 1850 "lexer.cc" case YY_END_OF_BUFFER: { @@ -2958,7 +2959,7 @@ void yyfree (void * ptr ) /* %ok-for-header */ -#line 245 "lexer.ll" +#line 246 "lexer.ll" using namespace isc::eval; diff --git a/src/lib/eval/location.hh b/src/lib/eval/location.hh index 5bde47985a..b27872d23b 100644 --- a/src/lib/eval/location.hh +++ b/src/lib/eval/location.hh @@ -1,3 +1,4 @@ +// Generated 202308031547 // A Bison parser, made by GNU Bison 3.8.2. // Locations for Bison parsers in C++