aboutsummaryrefslogtreecommitdiff
path: root/csmap.awk
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2023-11-23 16:56:50 +0200
committerSyndamia <kamen@syndamia.com>2023-11-23 16:56:50 +0200
commitc07e928cb8dd3b16b7a96bb34232247058379aa7 (patch)
tree827dabd1172d7b9512243ab1470b3703495b6a39 /csmap.awk
parentf890c89ff6d6fb46e3599afe252b24e1aec5c290 (diff)
downloadcsma-c07e928cb8dd3b16b7a96bb34232247058379aa7.tar
csma-c07e928cb8dd3b16b7a96bb34232247058379aa7.tar.gz
csma-c07e928cb8dd3b16b7a96bb34232247058379aa7.zip
[cmsap] Fixed multiple closing braces on the same line for inner definitions
Diffstat (limited to 'csmap.awk')
-rwxr-xr-xcsmap.awk2
1 files changed, 1 insertions, 1 deletions
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