From c07e928cb8dd3b16b7a96bb34232247058379aa7 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 23 Nov 2023 16:56:50 +0200 Subject: [cmsap] Fixed multiple closing braces on the same line for inner definitions --- csmap.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csmap.awk b/csmap.awk index 2eae4c3..1889376 100755 --- a/csmap.awk +++ b/csmap.awk @@ -120,7 +120,7 @@ stage1 && depth >= 1 { macros[namevec_At(ind)] = macros[namevec_At(ind)] $0 } - if (depth <= namevec_TopDepth()) { + while (namevec_Length() > 0 && depth <= namevec_TopDepth()) { namevec_Pop() } next -- cgit v1.2.3