diff --git a/src/commentscan.l b/src/commentscan.l index 440ac1124c2..f2dab77cab6 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -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 ); } . { // title (stored in type) @@ -1434,7 +1434,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 ); } {CMD}[<>] {