complain about unclosed scopes

This commit is contained in:
Oswald Buddenhagen
2010-05-11 12:09:39 +02:00
parent c63453d878
commit a0cc2aec74

View File

@@ -616,7 +616,8 @@ bool ProFileEvaluator::Private::readInternal(ProItem **itp, const QString &in, u
++m_lineNo;
goto freshLine;
}
m_blockstack.clear(); // FIXME: should actually check the state here
if (m_blockstack.size() > 1)
logMessage(format("Missing closing brace(s)."));
return true;
}
if (c != ' ' && c != '\t' && c != '\r')