]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#151] Regen flex
authorFrancis Dupont <fdupont@isc.org>
Wed, 21 Oct 2020 13:38:13 +0000 (13:38 +0000)
committerFrancis Dupont <fdupont@isc.org>
Thu, 22 Oct 2020 08:55:05 +0000 (10:55 +0200)
src/bin/agent/agent_lexer.cc
src/bin/d2/d2_lexer.cc
src/bin/netconf/netconf_lexer.cc

index ec7e59f1e1fa2e8229ca31313d3d5ab89ff7d2cd..052088d20979ef38cb5f1e7a0ecdbe0c2cb8df04 100644 (file)
@@ -2555,7 +2555,7 @@ YY_RULE_SETUP
     /* Bad string with an open unicode escape at the end */
     std::string raw(yytext+1);
     size_t pos = raw.size() - 1;
-    for (; pos >= 0; --pos) {
+    for (; pos > 0; --pos) {
         char c = raw[pos];
         if (c == 'u') {
             break;
index 788300799214f6a8f92b7ee3c9a66e246452cc5b..95273ab260a890011988101ac1a510a6066f5d7e 100644 (file)
@@ -2267,7 +2267,7 @@ YY_RULE_SETUP
     /* Bad string with an open unicode escape at the end */
     std::string raw(yytext+1);
     size_t pos = raw.size() - 1;
-    for (; pos >= 0; --pos) {
+    for (; pos > 0; --pos) {
         char c = raw[pos];
         if (c == 'u') {
             break;
index 56fce9daa54f5125c2461b948ad81712b38e0999..7e21e129032ee24595aa2535df9fd47ec8787b56 100644 (file)
@@ -2595,7 +2595,7 @@ YY_RULE_SETUP
     /* Bad string with an open unicode escape at the end */
     std::string raw(yytext+1);
     size_t pos = raw.size() - 1;
-    for (; pos >= 0; --pos) {
+    for (; pos > 0; --pos) {
         char c = raw[pos];
         if (c == 'u') {
             break;