From 7fa011cd0ef520f3b160d43ff2d2101d4e831233 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Tue, 19 Jul 2022 21:49:35 -0500 Subject: [PATCH] Regression: Incomplete IKI variable expansion when an extra ':' is found. 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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/level_0/f_iki/c/iki.c b/level_0/f_iki/c/iki.c index 0395899..0b0a7e0 100644 --- a/level_0/f_iki/c/iki.c +++ b/level_0/f_iki/c/iki.c @@ -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; } -- 1.8.3.1