summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/BasicStatement.cpp
diff options
context:
space:
mode:
authorJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-31 18:31:03 +0100
committerJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-31 18:31:03 +0100
commit4526de47cfbcc121e7bb09187b1641c060651322 (patch)
tree038979844a1386b555aeb0c4ea68c8efacf2e971 /Sencha-lang/AST/BasicStatement.cpp
parent6296524bec2e2254f816b944ecc8cf28686f1fa8 (diff)
downloadsencha-lang-4526de47cfbcc121e7bb09187b1641c060651322.tar.gz
sencha-lang-4526de47cfbcc121e7bb09187b1641c060651322.tar.bz2
sencha-lang-4526de47cfbcc121e7bb09187b1641c060651322.zip
slsjfl
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();
}