Skip to content

Commit a87b38e

Browse files
committed
issue #10569 First sentence after defgroup no longer used as brief description
Regression caused by the fixes for #10414 In case of a `\defgroup` we have a new group so we don't need the `\ifile` / \iline`
1 parent 1dcc012 commit a87b38e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/commentscan.l

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,8 +1547,11 @@ STopt [^\n@\\]*
15471547
}
15481548
//if (*yytext=='\n') yyextra->lineNr++;
15491549
//addOutput(yyscanner,'\n');
1550-
addOutput(yyscanner," \\ifile \""+ yyextra->fileName);
1551-
addOutput(yyscanner,"\" \\iline " + QCString().setNum(yyextra->lineNr + extraLineNr) + " \\ilinebr ");
1550+
if ( yyextra->current->groupDocType!=Entry::GROUPDOC_NORMAL)
1551+
{
1552+
addOutput(yyscanner," \\ifile \""+ yyextra->fileName);
1553+
addOutput(yyscanner,"\" \\iline " + QCString().setNum(yyextra->lineNr + extraLineNr) + " \\ilinebr ");
1554+
}
15521555
BEGIN( Comment );
15531556
}
15541557
<GroupDocArg2>. { // title (stored in type)

0 commit comments

Comments
 (0)