Skip to content

Commit

Permalink
Merge pull request #10437 from albert-github/feature/issue_10414_page
Browse files Browse the repository at this point in the history
Issue #10414 Report warning with wrong file and wrong line number
  • Loading branch information
doxygen committed Nov 22, 2023
2 parents 9cc1be0 + de8b7f6 commit 4677c16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commentscan.l
Expand Up @@ -1381,7 +1381,7 @@ STopt [^\n@\\]*
//if (*yytext=='\n') yyextra->lineNr++;
//addOutput(yyscanner,'\n');
addOutput(yyscanner," \\ifile \""+ yyextra->fileName);
addOutput(yyscanner,"\" \\ilinebr \\iline " + QCString().setNum(yyextra->lineNr));
addOutput(yyscanner,"\" \\ilinebr \\iline " + QCString().setNum(yyextra->lineNr) + " \\ilinebr ");
BEGIN( Comment );
}
<GroupDocArg2>. { // title (stored in type)
Expand Down Expand Up @@ -1433,6 +1433,8 @@ STopt [^\n@\\]*
unput_string(yytext,yyleng);
//if (*yytext=='\n') yyextra->lineNr++;
//addOutput(yyscanner,'\n');
addOutput(yyscanner," \\ifile \""+ yyextra->fileName);
addOutput(yyscanner,"\" \\ilinebr \\iline " + QCString().setNum(yyextra->lineNr) + " \\ilinebr ");
BEGIN( Comment );
}
<PageDocArg2>{CMD}[<>] {
Expand Down

0 comments on commit 4677c16

Please sign in to comment.