From e1e135b8a3a75986240e972686bcc5ad3e4f185c Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 12 Jul 2019 17:45:21 +0200 Subject: regression #7105 Correct counting in case of `\name` In case of the `\name` command it is possible that a group is opened, but this group is not closed (for the `\name`), so the counting should not increase. --- src/commentscan.l | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commentscan.l b/src/commentscan.l index 665360c..364b614 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -3208,6 +3208,7 @@ bool parseCommentBlock(/* in */ ParserInterface *parser, g_memberGroupId==DOX_NOGROUP) // @name section but no group started yet { openGroup(current,yyFileName,yyLineNr); + g_openCount--; } Debug::print(Debug::CommentScan,0,"-----------\nCommentScanner: %s:%d\noutput=[\n" -- cgit v0.12