QmlJS: Fix grammar file

Do not reintroduce clang warnings when regenerating code from
the grammar file.

Change-Id: Ic065191b93e68d88792fedac9784e4fbeff08d6f
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2013-08-09 11:30:19 +02:00
parent 886e1a72d1
commit 41c9a047b8

View File

@@ -313,7 +313,7 @@ public:
inline DiagnosticMessage diagnosticMessage() const
{
foreach (const DiagnosticMessage &d, diagnostic_messages) {
if (! d.kind == DiagnosticMessage::Warning)
if (d.kind != DiagnosticMessage::Warning)
return d;
}