diff options
-rw-r--r-- | src/commentscan.l | 6 |
1 files changed, 5 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 } |