summaryrefslogtreecommitdiffstats
path: root/src/pyscanner.l
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-07-28 08:39:27 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-07-28 08:39:27 (GMT)
commitb3fca8f555183bb8a6863558d912e06f9dd2c929 (patch)
treea92b502c69f4406294d4bcb7a6756733ca284a6d /src/pyscanner.l
parentda01797a17b0374c9284cc84afe901753882d726 (diff)
downloadDoxygen-b3fca8f555183bb8a6863558d912e06f9dd2c929.zip
Doxygen-b3fca8f555183bb8a6863558d912e06f9dd2c929.tar.gz
Doxygen-b3fca8f555183bb8a6863558d912e06f9dd2c929.tar.bz2
More minor tweaks
Diffstat (limited to 'src/pyscanner.l')
-rw-r--r--src/pyscanner.l4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l
index 6a80e34..822ea77 100644
--- a/src/pyscanner.l
+++ b/src/pyscanner.l
@@ -1631,9 +1631,7 @@ static void handleCommentBlock(yyscan_t yyscanner,const QCString &doc,bool brief
bool needsEntry;
int lineNr = brief ? yyextra->current->briefLine : yyextra->current->docLine;
Markdown markdown(yyextra->yyFileName,lineNr);
- int startNewlines = 0;
- QCString processedDoc = Config_getBool(MARKDOWN_SUPPORT) ? markdown.process(doc,startNewlines) : doc;
- lineNr += startNewlines;
+ QCString processedDoc = Config_getBool(MARKDOWN_SUPPORT) ? markdown.process(doc,lineNr) : doc;
while (yyextra->commentScanner.parseCommentBlock(
yyextra->thisParser,
(yyextra->docBlockInBody && yyextra->previous) ? yyextra->previous.get() : yyextra->current.get(),