summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-07-12 15:45:21 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-07-12 15:45:21 (GMT)
commite1e135b8a3a75986240e972686bcc5ad3e4f185c (patch)
treef4bedde85f550805dade7a8c1f9ca8d8213379dc /src/commentscan.l
parentb118de2f38cfcb91888db571b5d9fd1a85731cd5 (diff)
downloadDoxygen-e1e135b8a3a75986240e972686bcc5ad3e4f185c.zip
Doxygen-e1e135b8a3a75986240e972686bcc5ad3e4f185c.tar.gz
Doxygen-e1e135b8a3a75986240e972686bcc5ad3e4f185c.tar.bz2
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.
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..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"