diff options
author | albert-github <albert.tests@gmail.com> | 2018-02-20 12:09:45 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-02-20 12:09:45 (GMT) |
commit | 1a16a1be6eff7c32795455e47c09b9452f7c3a4e (patch) | |
tree | eec8e1e739bb168dd4bd5f89119164fe63f65bd9 | |
parent | b6f01ff09b17e5c2288f2418ef0a8f074456c357 (diff) | |
download | Doxygen-1a16a1be6eff7c32795455e47c09b9452f7c3a4e.zip Doxygen-1a16a1be6eff7c32795455e47c09b9452f7c3a4e.tar.gz Doxygen-1a16a1be6eff7c32795455e47c09b9452f7c3a4e.tar.bz2 |
Consistent warning messages
Remove second @ from warning message and replace all @ with \ in warnings for comments in comment scanner.
Error showed up in (Lapack v3.8.0):
.../lapack/BLAS/SRC/sdsdot.f:25: warning: reached end of comment while inside a @verbatim block; check for missing @@endverbatim tag!
-rw-r--r-- | src/commentscan.l | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/commentscan.l b/src/commentscan.l index 588d40a..727bbb9 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -1860,10 +1860,10 @@ RCSTAG "$"{ID}":"[^\n$]+"$" addOutput(*yytext); } <FormatBlock><<EOF>> { - QCString endTag = "@end"+blockName; + QCString endTag = "end"+blockName; if (blockName=="startuml") endTag="enduml"; warn(yyFileName,yyLineNr, - "reached end of comment while inside a @%s block; check for missing @%s tag!", + "reached end of comment while inside a \\%s block; check for missing \\%s tag!", blockName.data(),endTag.data() ); yyterminate(); @@ -1944,7 +1944,7 @@ RCSTAG "$"{ID}":"[^\n$]+"$" if (guards.isEmpty()) { warn(yyFileName,yyLineNr, - "found @endif without matching start command"); + "found \\endif without matching start command"); } else { @@ -1962,7 +1962,7 @@ RCSTAG "$"{ID}":"[^\n$]+"$" if (guards.isEmpty()) { warn(yyFileName,yyLineNr, - "found @else without matching start command"); + "found \\else without matching start command"); } else { @@ -1979,7 +1979,7 @@ RCSTAG "$"{ID}":"[^\n$]+"$" if (guards.isEmpty()) { warn(yyFileName,yyLineNr, - "found @elseif without matching start command"); + "found \\elseif without matching start command"); } else { |