summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commentscan.l6
-rw-r--r--src/doxygen.cpp1
2 files changed, 6 insertions, 1 deletions
diff --git a/src/commentscan.l b/src/commentscan.l
index ccf71f6..10efef1 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -887,7 +887,11 @@ RCSTAG "$"{ID}":"[^\n$]+"$"
<HtmlComment>"--"[!]?">"{B}* { BEGIN( Comment ); }
<HtmlComment>{DOCNL} {
- if (*yytext=='\n') yyextra->lineNr++;
+ if (*yytext=='\n')
+ {
+ addOutput(yyscanner,*yytext);
+ yyextra->lineNr++;
+ }
}
<HtmlComment>[^\\\n\-]+ { // ignore unimportant characters
}
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 6c8c67a..2468306 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -9837,6 +9837,7 @@ static void escapeAliases()
newValue+=value.mid(p,in-p);
// expand \n's except if \n is part of a built-in command.
if (value.mid(in,5)!="\\note" &&
+ value.mid(in,5)!="\\noop" &&
value.mid(in,5)!="\\name" &&
value.mid(in,10)!="\\namespace" &&
value.mid(in,14)!="\\nosubgrouping"