diff --git a/tests/tools/qml-ast2dot/main.cpp b/tests/tools/qml-ast2dot/main.cpp index d3fd23c90e7..a49250709b4 100644 --- a/tests/tools/qml-ast2dot/main.cpp +++ b/tests/tools/qml-ast2dot/main.cpp @@ -232,7 +232,7 @@ protected: // visiting methods: terminal(ast->typeToken); terminal(ast->identifierToken); terminal(ast->colonToken); - nonterminal(ast->expression); + nonterminal(ast->statement); nonterminal(ast->binding); terminal(ast->semicolonToken); return false;