summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/scanner.l b/src/scanner.l
index c1d2ab6..e63b8a0 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -7020,9 +7020,7 @@ static void handleCommentBlock(yyscan_t yyscanner,const QCString &doc,bool brief
bool needsEntry=FALSE;
Markdown markdown(yyextra->yyFileName,lineNr);
QCString strippedDoc = stripIndentation(doc);
- int startNewlines = 0;
- QCString processedDoc = Config_getBool(MARKDOWN_SUPPORT) ? markdown.process(strippedDoc,startNewlines) : strippedDoc;
- lineNr += startNewlines;
+ QCString processedDoc = Config_getBool(MARKDOWN_SUPPORT) ? markdown.process(strippedDoc,lineNr) : strippedDoc;
while (yyextra->commentScanner.parseCommentBlock(
yyextra->thisParser,
yyextra->docBlockInBody && yyextra->previous ? yyextra->previous.get() : yyextra->current.get(),