Commit 41c9a047 authored by Tobias Hunger's avatar Tobias Hunger

QmlJS: Fix grammar file

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

Change-Id: Ic065191b93e68d88792fedac9784e4fbeff08d6f
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 886e1a72
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment