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

QmlJS: Fix grammar file

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

Change-Id: Ic065191b93e68d88792fedac9784e4fbeff08d6f
Reviewed-by: default avatarTobias Hunger <>
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;
Supports Markdown
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