diff options
author | Moritz 'Morty' Strübe <moritz.struebe@redheads.de> | 2020-03-21 15:33:06 (GMT) |
---|---|---|
committer | Moritz 'Morty' Strübe <moritz.struebe@redheads.de> | 2020-03-21 20:27:43 (GMT) |
commit | dcd90f9779e3d2608e4c1e9225d1c0e5c12249f9 (patch) | |
tree | 067728e03795aeb6eb95905dd5f706a3ff7c6027 /src/fortranscanner.l | |
parent | 8aead913d6a8285c2949f93147efaec5f7b357d8 (diff) | |
download | Doxygen-dcd90f9779e3d2608e4c1e9225d1c0e5c12249f9.zip Doxygen-dcd90f9779e3d2608e4c1e9225d1c0e5c12249f9.tar.gz Doxygen-dcd90f9779e3d2608e4c1e9225d1c0e5c12249f9.tar.bz2 |
Fix not correctly formatted messages
Diffstat (limited to 'src/fortranscanner.l')
-rw-r--r-- | src/fortranscanner.l | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fortranscanner.l b/src/fortranscanner.l index 95842f0..df4941d 100644 --- a/src/fortranscanner.l +++ b/src/fortranscanner.l @@ -2581,8 +2581,8 @@ static void subrHandleCommentBlock(yyscan_t yyscanner,const QCString &doc,bool b else { // something different specified, give warning and leave error. - warn(yyextra->fileName,yyextra->lineNr, "Routine: " + yyextra->current->name + yyextra->current->args + - " inconsistency between intent attribute and documentation for parameter: " + yyextra->argName); + warn(yyextra->fileName,yyextra->lineNr, "%s", ("Routine: " + yyextra->current->name + yyextra->current->args + + " inconsistency between intent attribute and documentation for parameter: " + yyextra->argName).data()); handleCommentBlock(yyscanner,QCString("\n\n@param ") + directionParam[dir1] + " " + yyextra->argName + " " + loc_doc,brief); } @@ -2605,8 +2605,8 @@ static void subrHandleCommentBlock(yyscan_t yyscanner,const QCString &doc,bool b } else { - warn(yyextra->fileName,yyextra->lineNr, "Routine: " + yyextra->current->name + yyextra->current->args + - " inconsistency between intent attribute and documentation for parameter: " + yyextra->argName); + warn(yyextra->fileName,yyextra->lineNr, "%s", ("Routine: " + yyextra->current->name + yyextra->current->args + + " inconsistency between intent attribute and documentation for parameter: " + yyextra->argName).data()); handleCommentBlock(yyscanner,QCString("\n\n@param ") + directionParam[dir1] + " " + yyextra->argName + " " + loc_doc,brief); } @@ -2627,8 +2627,8 @@ static void subrHandleCommentBlock(yyscan_t yyscanner,const QCString &doc,bool b } else { - warn(yyextra->fileName,yyextra->lineNr, "Routine: " + yyextra->current->name + yyextra->current->args + - " inconsistency between intent attribute and documentation for parameter: " + yyextra->argName); + warn(yyextra->fileName,yyextra->lineNr, "%s", ("Routine: " + yyextra->current->name + yyextra->current->args + + " inconsistency between intent attribute and documentation for parameter: " + yyextra->argName).data()); handleCommentBlock(yyscanner,QCString("\n\n@param ") + directionParam[dir1] + " " + yyextra->argName + " " + loc_doc,brief); } |