summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/ConstantExpression.h
diff options
context:
space:
mode:
authorJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-18 22:41:39 +0100
committerJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-18 22:41:39 +0100
commit736458f1fd5508b48602feae215749d2db73ebc5 (patch)
treedd56f48a1b7e3e8eb171cc6344240b4208e92c33 /Sencha-lang/AST/ConstantExpression.h
parent442d8c640fdde22d9f6bf5d1a729d8e17e2fa407 (diff)
downloadsencha-lang-736458f1fd5508b48602feae215749d2db73ebc5.tar.gz
sencha-lang-736458f1fd5508b48602feae215749d2db73ebc5.tar.bz2
sencha-lang-736458f1fd5508b48602feae215749d2db73ebc5.tar.xz
sencha-lang-736458f1fd5508b48602feae215749d2db73ebc5.zip
This crazy setup compiles. However I encountered some problems with
polymorphism. It probably doesn't work as I thought it would. Not problem at all :).
Diffstat (limited to 'Sencha-lang/AST/ConstantExpression.h')
-rw-r--r--Sencha-lang/AST/ConstantExpression.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sencha-lang/AST/ConstantExpression.h b/Sencha-lang/AST/ConstantExpression.h
index 5529c72..a728efd 100644
--- a/Sencha-lang/AST/ConstantExpression.h
+++ b/Sencha-lang/AST/ConstantExpression.h
@@ -66,7 +66,7 @@ public:
std::string debug();
/** Implements visitor pattern */
- void accept(Visitor * visitor);
+ virtual void accept(Visitor * visitor);
virtual ~ConstantExpression();