summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/commentscan.l')
-rw-r--r--src/commentscan.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commentscan.l b/src/commentscan.l
index 665360c..519cc09 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -3361,6 +3361,7 @@ void closeGroup(Entry *e,const char *fileName,int line,bool foundInline)
g_openCount--;
if (g_openCount < 0)
{
+ g_openCount++; // undo an extra non existing specified level
warn(fileName,line,"unbalanced grouping commands");
}
//printf("==> closeGroup(name=%s,sec=%x,file=%s,line=%d) g_autoGroupStack=%d\n",