summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/ContextManager.cpp
diff options
context:
space:
mode:
authorJustyna Ilczuk <justyna.ilczuk@gmail.com>2013-01-13 17:36:38 +0100
committerJustyna Ilczuk <justyna.ilczuk@gmail.com>2013-01-13 17:36:38 +0100
commit058a18c612c6d4f33779058b07ba80b3854f2275 (patch)
tree6fcb75fb0ba30fc6104e83863aa93f3e15375c1e /Sencha-lang/ContextManager.cpp
parent837d4c4bce813919f6713f76c7c24404951751f6 (diff)
downloadsencha-lang-058a18c612c6d4f33779058b07ba80b3854f2275.tar.gz
sencha-lang-058a18c612c6d4f33779058b07ba80b3854f2275.tar.bz2
sencha-lang-058a18c612c6d4f33779058b07ba80b3854f2275.zip
More documentaaaaation.HEADmaster
Diffstat (limited to 'Sencha-lang/ContextManager.cpp')
-rw-r--r--Sencha-lang/ContextManager.cpp8
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();