From 2b229f69041023f5f473385ee587ef7743850f55 Mon Sep 17 00:00:00 2001 From: albert-github Date: Tue, 30 Aug 2016 14:37:13 +0200 Subject: Code with "extension" unparsed shows line numbers When using a code fragment in "regular" documentation like: @code This is a code fragment @endcode this is shown without line numbers but when using {unparsed} or another unknown extension, so @code{unparsed} This is a code fragment @endcode line numbers were shown. (similar for the markdown fenced block). --- src/fileparser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fileparser.cpp b/src/fileparser.cpp index b54b243..6883622 100644 --- a/src/fileparser.cpp +++ b/src/fileparser.cpp @@ -22,7 +22,7 @@ void FileParser::parseCode(CodeOutputInterface &codeOutIntf, SrcLangExt, // lang bool, // isExampleBlock const char *, // exampleName - FileDef *, // fileDef + FileDef * fileDef, int startLine, int endLine, bool, // inlineFragment @@ -40,8 +40,8 @@ void FileParser::parseCode(CodeOutputInterface &codeOutIntf, int j=i; while (j