QmlJS: Make evaluator understand expression statements.

Reviewed-by: Erik Verbruggen
This commit is contained in:
Christian Kamm
2010-11-23 14:15:50 +01:00
parent 93967104f3
commit 34093064fe
5 changed files with 15 additions and 30 deletions

View File

@@ -450,7 +450,7 @@ bool Evaluate::visit(AST::EmptyStatement *)
bool Evaluate::visit(AST::ExpressionStatement *)
{
return false;
return true;
}
bool Evaluate::visit(AST::IfStatement *)