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, 3 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index d9ad41c..c1d2ab6 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -7020,7 +7020,9 @@ static void handleCommentBlock(yyscan_t yyscanner,const QCString &doc,bool brief
bool needsEntry=FALSE;
Markdown markdown(yyextra->yyFileName,lineNr);
QCString strippedDoc = stripIndentation(doc);
- QCString processedDoc = Config_getBool(MARKDOWN_SUPPORT) ? markdown.process(strippedDoc) : strippedDoc;
+ int startNewlines = 0;
+ QCString processedDoc = Config_getBool(MARKDOWN_SUPPORT) ? markdown.process(strippedDoc,startNewlines) : strippedDoc;
+ lineNr += startNewlines;
while (yyextra->commentScanner.parseCommentBlock(
yyextra->thisParser,
yyextra->docBlockInBody && yyextra->previous ? yyextra->previous.get() : yyextra->current.get(),