From d02c37161070ba72984eb38c2a82d8b1e26ed4f2 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 3 Aug 2025 10:04:33 +0200 Subject: [PATCH] fix --- sh/core/code.awk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sh/core/code.awk b/sh/core/code.awk index 009c91f..e9f9dd0 100644 --- a/sh/core/code.awk +++ b/sh/core/code.awk @@ -216,6 +216,7 @@ function parse(string) { } doc_reset() + # match } # close @@ -233,12 +234,12 @@ function parse_next(string) { constant = "" # variable - if (current_match == "variable") { + } else if (current_match == "variable") { doc_reset() variable = "" # function - if (current_match == "close") { + } else if (current_match == "close") { doc_reset() current_function = ""