diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-08-06 09:49:05 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-08-06 09:49:05 (GMT) |
commit | e3793ee222fa6c198d11746535fa0636a65d9ac4 (patch) | |
tree | 467fd1c21f98c3d05208a12e9dbb82cb7ea1a6b0 /src | |
parent | 77ea778665cbc5ebb004d229897749025c36fdfb (diff) | |
download | Doxygen-e3793ee222fa6c198d11746535fa0636a65d9ac4.zip Doxygen-e3793ee222fa6c198d11746535fa0636a65d9ac4.tar.gz Doxygen-e3793ee222fa6c198d11746535fa0636a65d9ac4.tar.bz2 |
Simplified code by passing lineNr directly
Diffstat (limited to 'src')
-rw-r--r-- | src/markdown.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp index 6d9663b..78e6a85 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -2731,9 +2731,7 @@ void MarkdownOutlineParser::parseInput(const char *fileName, Protection prot=Public; bool needsEntry = FALSE; int position=0; - int startNewlines=0; - QCString processedDocs = markdown.process(docs,startNewlines); - lineNr += startNewlines; + QCString processedDocs = markdown.process(docs,lineNr); while (p->commentScanner.parseCommentBlock( this, current.get(), |