Skip to content

Commit 144de64

Browse files
committed
issue doxygen#11458 Confusing error message if snippet command misses blockmarkers
Corrected by removing 2nd `[` / `]`
1 parent d2de4b5 commit 144de64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commentcnv.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1746,7 +1746,7 @@ static bool readIncludeFile(yyscan_t yyscanner,const QCString &inc,const QCStrin
17461746
int count = incText.contains(blockId.data());
17471747
if (count!=2)
17481748
{
1749-
warn_doc_error(yyextra->fileName,yyextra->lineNr,"block marked with [{}] for \\snippet{{doc}} should appear twice in file {}, found it {:d} times, skipping",
1749+
warn_doc_error(yyextra->fileName,yyextra->lineNr,"block marked with {} for \\snippet{{doc}} should appear twice in file {}, found it {:d} times, skipping",
17501750
blockId,absFileName,count);
17511751
return false;
17521752
}

0 commit comments

Comments
 (0)