summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/VariableExpression.cpp
diff options
context:
space:
mode:
authorJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-28 16:19:47 +0100
committerJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-28 16:19:47 +0100
commit4d3eaee1b6f0ea0c0c9a28f11ce9ba249a0def96 (patch)
tree6b6d54a0f21a5bd06b2ea16d2c50c5ec783328ee /Sencha-lang/AST/VariableExpression.cpp
parent0e6bdecf2a2fe49122cd7a271521746f6de0cfb6 (diff)
downloadsencha-lang-4d3eaee1b6f0ea0c0c9a28f11ce9ba249a0def96.tar.gz
sencha-lang-4d3eaee1b6f0ea0c0c9a28f11ce9ba249a0def96.tar.bz2
sencha-lang-4d3eaee1b6f0ea0c0c9a28f11ce9ba249a0def96.tar.xz
sencha-lang-4d3eaee1b6f0ea0c0c9a28f11ce9ba249a0def96.zip
Refactoring parser methods. Adding more suitable constructors
to make code better.
Diffstat (limited to 'Sencha-lang/AST/VariableExpression.cpp')
-rw-r--r--Sencha-lang/AST/VariableExpression.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sencha-lang/AST/VariableExpression.cpp b/Sencha-lang/AST/VariableExpression.cpp
index 6ebf0dd..fafec2e 100644
--- a/Sencha-lang/AST/VariableExpression.cpp
+++ b/Sencha-lang/AST/VariableExpression.cpp
@@ -7,7 +7,7 @@
#include "VariableExpression.h"
-VariableExpression::VariableExpression(Context * context, std::string name) {
+VariableExpression::VariableExpression(std::string name, Context * context) {
this->name = name;
this->context = context;
this->type = "VariableExpression";