Fix Scope

This commit is contained in:
Markus Hauschild
2013-06-01 02:29:23 +02:00
parent 8423949f42
commit 4c38e6f454
3 changed files with 8 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#include "AST/Scope.h"
#include "AST/ASTVisitor.h"
Scope::Scope(Statement* stmt) : stmt_(stmt) {
Scope::Scope(StatementList *sl) : sl_(sl) {
//
}
@@ -13,6 +13,6 @@ void Scope::accept(ASTVisitor* visitor) {
visitor->visit(this);
}
Statement* Scope::getStmt() {
return stmt_;
StatementList* Scope::getSl() {
return sl_;
}