summaryrefslogtreecommitdiffstats
path: root/src/markdown.h
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-07-27 10:38:09 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-07-27 10:38:09 (GMT)
commit603b2ada84164c9e740552cec052c01803bee383 (patch)
treecc647b56c6f0598ebef4d3d57d3cfa170ff8dc66 /src/markdown.h
parent483b47ddd8039ba77aacc11d35825489f74b3b47 (diff)
downloadDoxygen-603b2ada84164c9e740552cec052c01803bee383.zip
Doxygen-603b2ada84164c9e740552cec052c01803bee383.tar.gz
Doxygen-603b2ada84164c9e740552cec052c01803bee383.tar.bz2
issue #7923 source line numbers in warnings output by parser are off by 1
Explicit counting of the removed newlines at the beginning of a documenation block (markdown.cpp) so this number can be added to get a better line number in case of warnings.
Diffstat (limited to 'src/markdown.h')
-rw-r--r--src/markdown.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/markdown.h b/src/markdown.h
index 43a17cc..1210967 100644
--- a/src/markdown.h
+++ b/src/markdown.h
@@ -33,7 +33,7 @@ class Markdown
{
public:
Markdown(const char *fileName,int lineNr,int indentLevel=0);
- QCString process(const QCString &input);
+ QCString process(const QCString &input, int &startNewlines);
QCString extractPageTitle(QCString &docs,QCString &id);
void setIndentLevel(int level) { m_indentLevel = level; }