From 736458f1fd5508b48602feae215749d2db73ebc5 Mon Sep 17 00:00:00 2001 From: Justyna Ilczuk Date: Tue, 18 Dec 2012 22:41:39 +0100 Subject: [PATCH] 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 :). --- Sencha-lang/.cproject | 2 +- Sencha-lang/AST/ASTNode.h | 4 +- Sencha-lang/AST/BasicExpression.cpp | 4 ++ Sencha-lang/AST/BasicExpression.h | 2 +- Sencha-lang/AST/BasicStatement.h | 2 + Sencha-lang/AST/ConstantExpression.h | 2 +- Sencha-lang/AST/ProgramNode.cpp | 7 ++- Sencha-lang/AST/ProgramNode.h | 1 + Sencha-lang/ASTInspector.cpp | 3 +- Sencha-lang/ASTInspector.h | 2 +- Sencha-lang/Tests/TestASTInspector.cpp | 5 ++- Sencha-lang/Tests/tests.h | 11 ++++- Sencha-lang/Visitor.cpp | 9 ++++ Sencha-lang/Visitor.h | 19 ++++++++- Sencha-lang/main.cpp | 59 ++++++++++++++------------ 15 files changed, 91 insertions(+), 41 deletions(-) diff --git a/Sencha-lang/.cproject b/Sencha-lang/.cproject index a2fe504..7335ba0 100644 --- a/Sencha-lang/.cproject +++ b/Sencha-lang/.cproject @@ -18,7 +18,7 @@ - +