fix line number after leading comment-only lines

This commit is contained in:
Oswald Buddenhagen
2011-03-07 12:00:14 +01:00
parent 4bf6b02989
commit 2d8967d039

View File

@@ -384,6 +384,8 @@ bool ProFileParser::read(ProFile *pro, const QString &in)
}
}
if (end == cur) { // Line with only a comment (sans whitespace)
if (m_markLine == m_lineNo)
m_markLine++;
// Qmake bizarreness: such lines do not affect line continuations
goto ignore;
}