diff options
Diffstat (limited to 'src/vhdljjparser.cpp')
-rw-r--r-- | src/vhdljjparser.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/vhdljjparser.cpp b/src/vhdljjparser.cpp index d3adad2..7c83d52 100644 --- a/src/vhdljjparser.cpp +++ b/src/vhdljjparser.cpp @@ -397,17 +397,18 @@ void VHDLOutlineParser::handleCommentBlock(const char *doc1, bool brief) s->current->docLine = p->yyLineNr; } - + Markdown markdown(p->yyFileName,p->iDocLine); - QCString processedDoc = Config_getBool(MARKDOWN_SUPPORT) ? markdown.process(doc) : doc; + int lineNr = p->iDocLine; + QCString processedDoc = Config_getBool(MARKDOWN_SUPPORT) ? markdown.process(doc,lineNr) : doc; while (p->commentScanner.parseCommentBlock( p->thisParser, s->current.get(), processedDoc, // text p->yyFileName, // file - p->iDocLine, // line of block start + lineNr, // line of block start brief, 0, FALSE, |