forked from qt-creator/qt-creator
fix line number after leading comment-only lines
This commit is contained in:
@@ -384,6 +384,8 @@ bool ProFileParser::read(ProFile *pro, const QString &in)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (end == cur) { // Line with only a comment (sans whitespace)
|
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
|
// Qmake bizarreness: such lines do not affect line continuations
|
||||||
goto ignore;
|
goto ignore;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user