summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/BasicStatement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Sencha-lang/AST/BasicStatement.cpp')
-rw-r--r--Sencha-lang/AST/BasicStatement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sencha-lang/AST/BasicStatement.cpp b/Sencha-lang/AST/BasicStatement.cpp
index 14fe4b2..abd010c 100644
--- a/Sencha-lang/AST/BasicStatement.cpp
+++ b/Sencha-lang/AST/BasicStatement.cpp
@@ -29,7 +29,7 @@ SenchaObject BasicStatement::execute()
{
for(auto it = children.begin(); it!=children.end() -1; it++)
(*it)->execute();
- return children[children.size() -1]->evaluate();
+ return children[children.size() -1]->execute();
}