summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileparser.cpp b/src/fileparser.cpp
index 31434a8..1d78e1e 100644
--- a/src/fileparser.cpp
+++ b/src/fileparser.cpp
@@ -42,7 +42,7 @@ void FileParser::parseCode(CodeOutputInterface &codeOutIntf,
QCString lineStr = input.mid(i,j-i);
codeOutIntf.startCodeLine(showLineNumbers);
if (showLineNumbers) codeOutIntf.writeLineNumber(0,0,0,lineNr);
- codeOutIntf.codify(lineStr);
+ if (!lineStr.isEmpty()) codeOutIntf.codify(lineStr);
codeOutIntf.endCodeLine();
lineNr++;
i=j+1;