summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Sencha-lang/main.cpp')
-rw-r--r--Sencha-lang/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Sencha-lang/main.cpp b/Sencha-lang/main.cpp
index 7a8d031..9130c3f 100644
--- a/Sencha-lang/main.cpp
+++ b/Sencha-lang/main.cpp
@@ -98,13 +98,14 @@ void interactive()
if(level_of_depth == 0) {
parser.interpret();
+ parser.program->execute_last();
+
//cout << parser.report_message << endl;
//cout << parser.error_message << endl;
//cout << parser.show_tokens() << endl;
//cout << "My tree:\n";
//cout << parser.program->debug();
- //cout << parser.context->debug();
- parser.program->execute_last();
+ cout << parser.context->debug();
}
}