From 2d8967d039e0ef0ae269bc653afe445d560c8e92 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 7 Mar 2011 12:00:14 +0100 Subject: [PATCH] fix line number after leading comment-only lines --- src/shared/proparser/profileparser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shared/proparser/profileparser.cpp b/src/shared/proparser/profileparser.cpp index eb131ffd456..3b3e700c8c7 100644 --- a/src/shared/proparser/profileparser.cpp +++ b/src/shared/proparser/profileparser.cpp @@ -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; }