diff options
Diffstat (limited to 'Sencha-lang/ContextManager.cpp')
-rw-r--r-- | Sencha-lang/ContextManager.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Sencha-lang/ContextManager.cpp b/Sencha-lang/ContextManager.cpp index 5575862..e042f79 100644 --- a/Sencha-lang/ContextManager.cpp +++ b/Sencha-lang/ContextManager.cpp @@ -18,7 +18,7 @@ ContextManager::~ContextManager() { Context * ContextManager::create_new_context() { - Context * context = new Context("Zdzislaw" + to_string(index)); + Context * context = new Context("abcd" + to_string(index)); index++; contexts[context->name] = context; stack.push(context); @@ -61,12 +61,6 @@ SenchaObject ContextManager::execute_function(std::string name, std::vector<ASTE } -Context * ContextManager::get_context(std::string name) -{ - return contexts[name]; - -} - Context * ContextManager::get_top() { return stack.top(); |