From: Thomas Markwalder Date: Thu, 28 Aug 2025 14:55:59 +0000 (-0400) Subject: [#3531] Updated parsers X-Git-Tag: Kea-3.1.2~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=309d9c54ee49e4be69d71e6facea1bbb18765f58;p=thirdparty%2Fkea.git [#3531] Updated parsers modified: src/bin/agent/agent_lexer.cc modified: src/bin/d2/d2_lexer.cc modified: src/bin/dhcp4/dhcp4_lexer.cc modified: src/bin/dhcp6/dhcp6_lexer.cc modified: src/lib/eval/lexer.cc --- diff --git a/src/bin/agent/agent_lexer.cc b/src/bin/agent/agent_lexer.cc index 75f2a9a036..7d49ac15f0 100644 --- a/src/bin/agent/agent_lexer.cc +++ b/src/bin/agent/agent_lexer.cc @@ -1,6 +1,6 @@ -#line 1 "agent_lexer.cc" +#line 2 "agent_lexer.cc" -#line 3 "agent_lexer.cc" +#line 4 "agent_lexer.cc" #define YY_INT_ALIGNED short int @@ -1624,7 +1624,7 @@ using isc::agent::AgentParser; /* To avoid the call to exit... oops! */ #define YY_FATAL_ERROR(msg) isc::agent::ParserContext::fatal(msg) -#line 1627 "agent_lexer.cc" +#line 1628 "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 @@ -1650,8 +1650,8 @@ using isc::agent::AgentParser; 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 1653 "agent_lexer.cc" #line 1654 "agent_lexer.cc" +#line 1655 "agent_lexer.cc" #define INITIAL 0 #define COMMENT 1 @@ -1965,7 +1965,7 @@ YY_DECL } -#line 1968 "agent_lexer.cc" +#line 1969 "agent_lexer.cc" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { @@ -2982,7 +2982,7 @@ YY_RULE_SETUP #line 835 "agent_lexer.ll" ECHO; YY_BREAK -#line 2985 "agent_lexer.cc" +#line 2986 "agent_lexer.cc" case YY_END_OF_BUFFER: { diff --git a/src/bin/d2/d2_lexer.cc b/src/bin/d2/d2_lexer.cc index 92e386daa0..1e56767ffb 100644 --- a/src/bin/d2/d2_lexer.cc +++ b/src/bin/d2/d2_lexer.cc @@ -1,6 +1,6 @@ -#line 1 "d2_lexer.cc" +#line 2 "d2_lexer.cc" -#line 3 "d2_lexer.cc" +#line 4 "d2_lexer.cc" #define YY_INT_ALIGNED short int @@ -1214,7 +1214,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 1217 "d2_lexer.cc" +#line 1218 "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 @@ -1240,8 +1240,8 @@ unsigned int comment_start_line = 0; 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 1243 "d2_lexer.cc" #line 1244 "d2_lexer.cc" +#line 1245 "d2_lexer.cc" #define INITIAL 0 #define COMMENT 1 @@ -1561,7 +1561,7 @@ YY_DECL } -#line 1564 "d2_lexer.cc" +#line 1565 "d2_lexer.cc" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { @@ -2812,7 +2812,7 @@ YY_RULE_SETUP #line 1022 "d2_lexer.ll" ECHO; YY_BREAK -#line 2815 "d2_lexer.cc" +#line 2816 "d2_lexer.cc" case YY_END_OF_BUFFER: { diff --git a/src/bin/dhcp4/dhcp4_lexer.cc b/src/bin/dhcp4/dhcp4_lexer.cc index 7e602585ad..9d7e68689e 100644 --- a/src/bin/dhcp4/dhcp4_lexer.cc +++ b/src/bin/dhcp4/dhcp4_lexer.cc @@ -1,6 +1,6 @@ -#line 1 "dhcp4_lexer.cc" +#line 2 "dhcp4_lexer.cc" -#line 3 "dhcp4_lexer.cc" +#line 4 "dhcp4_lexer.cc" #define YY_INT_ALIGNED short int @@ -2311,7 +2311,7 @@ using namespace isc::dhcp; /* To avoid the call to exit... oops! */ #define YY_FATAL_ERROR(msg) isc::dhcp::Parser4Context::fatal(msg) -#line 2314 "dhcp4_lexer.cc" +#line 2315 "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 @@ -2337,8 +2337,8 @@ using namespace isc::dhcp; 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 2340 "dhcp4_lexer.cc" #line 2341 "dhcp4_lexer.cc" +#line 2342 "dhcp4_lexer.cc" #define INITIAL 0 #define COMMENT 1 @@ -2666,7 +2666,7 @@ YY_DECL } -#line 2669 "dhcp4_lexer.cc" +#line 2670 "dhcp4_lexer.cc" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { @@ -6008,7 +6008,7 @@ YY_RULE_SETUP #line 2642 "dhcp4_lexer.ll" ECHO; YY_BREAK -#line 6011 "dhcp4_lexer.cc" +#line 6012 "dhcp4_lexer.cc" case YY_END_OF_BUFFER: { diff --git a/src/bin/dhcp6/dhcp6_lexer.cc b/src/bin/dhcp6/dhcp6_lexer.cc index db7809eb03..9ef7203870 100644 --- a/src/bin/dhcp6/dhcp6_lexer.cc +++ b/src/bin/dhcp6/dhcp6_lexer.cc @@ -1,6 +1,6 @@ -#line 1 "dhcp6_lexer.cc" +#line 2 "dhcp6_lexer.cc" -#line 3 "dhcp6_lexer.cc" +#line 4 "dhcp6_lexer.cc" #define YY_INT_ALIGNED short int @@ -2284,7 +2284,7 @@ using namespace isc::dhcp; /* To avoid the call to exit... oops! */ #define YY_FATAL_ERROR(msg) isc::dhcp::Parser6Context::fatal(msg) -#line 2287 "dhcp6_lexer.cc" +#line 2288 "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 @@ -2310,8 +2310,8 @@ using namespace isc::dhcp; 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 2313 "dhcp6_lexer.cc" #line 2314 "dhcp6_lexer.cc" +#line 2315 "dhcp6_lexer.cc" #define INITIAL 0 #define COMMENT 1 @@ -2641,7 +2641,7 @@ YY_DECL } -#line 2644 "dhcp6_lexer.cc" +#line 2645 "dhcp6_lexer.cc" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { @@ -6023,7 +6023,7 @@ YY_RULE_SETUP #line 2675 "dhcp6_lexer.ll" ECHO; YY_BREAK -#line 6026 "dhcp6_lexer.cc" +#line 6027 "dhcp6_lexer.cc" case YY_END_OF_BUFFER: { diff --git a/src/lib/eval/lexer.cc b/src/lib/eval/lexer.cc index 729662fa63..6fcdd32c59 100644 --- a/src/lib/eval/lexer.cc +++ b/src/lib/eval/lexer.cc @@ -1,6 +1,6 @@ -#line 1 "lexer.cc" +#line 2 "lexer.cc" -#line 3 "lexer.cc" +#line 4 "lexer.cc" #define YY_INT_ALIGNED short int @@ -1055,7 +1055,7 @@ namespace { /* To avoid the call to exit... oops! */ #define YY_FATAL_ERROR(msg) isc::eval::EvalContext::fatal(msg) -#line 1058 "lexer.cc" +#line 1059 "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 @@ -1080,8 +1080,8 @@ namespace { by moving it ahead by yyleng bytes. yyleng specifies the length of the currently matched token. */ #define YY_USER_ACTION loc.columns(evalleng); -#line 1083 "lexer.cc" #line 1084 "lexer.cc" +#line 1085 "lexer.cc" #define INITIAL 0 @@ -1380,7 +1380,7 @@ YY_DECL -#line 1383 "lexer.cc" +#line 1384 "lexer.cc" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { @@ -1889,7 +1889,7 @@ YY_RULE_SETUP #line 251 "lexer.ll" ECHO; YY_BREAK -#line 1892 "lexer.cc" +#line 1893 "lexer.cc" case YY_END_OF_BUFFER: {