]> Kevux Git Server - fll/commitdiff
Regression: Incomplete IKI variable expansion when an extra ':' is found.
authorKevin Day <thekevinday@gmail.com>
Wed, 20 Jul 2022 02:49:35 +0000 (21:49 -0500)
committerKevin Day <thekevinday@gmail.com>
Wed, 20 Jul 2022 02:49:35 +0000 (21:49 -0500)
The commit feb9184911c738b66c4181f58527cbfd94cdb25c introduced the use of F_next to restart the outer most loop.

I missed a single case where status should be set to F_next.
The problematic code is setting the status to F_false.

level_0/f_iki/c/iki.c

index 0395899e989768798acd53c9a76af54719e67203..0b0a7e03104542b4c8d1b9523d1b51069a72b433 100644 (file)
@@ -179,7 +179,7 @@ extern "C" {
             quote = buffer->string[range->start];
           }
           else {
-            status = F_false;
+            status = F_next;
           }
 
           break;
@@ -222,8 +222,6 @@ extern "C" {
               break;
             }
 
-
-
             if (buffer->string[range->start] == f_iki_syntax_separator_s.string[0]) {
               separator_found = F_true;
             }