From b395f6e137231249bb5603c8900ea88a7230d3c1 Mon Sep 17 00:00:00 2001 From: Jan-Elric Neumann Date: Tue, 30 May 2017 19:38:03 +0200 Subject: [PATCH] Fixed return type to make code parsable for ObjectiF --- .../parser/SyntaxTreeGenerator/StatementGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/dhbwstuttgart/parser/SyntaxTreeGenerator/StatementGenerator.java b/src/de/dhbwstuttgart/parser/SyntaxTreeGenerator/StatementGenerator.java index 409b4d4f7..cfcd74c23 100644 --- a/src/de/dhbwstuttgart/parser/SyntaxTreeGenerator/StatementGenerator.java +++ b/src/de/dhbwstuttgart/parser/SyntaxTreeGenerator/StatementGenerator.java @@ -131,7 +131,7 @@ public class StatementGenerator { return new Block(statements, block.getStart()); } - private de.dhbwstuttgart.syntaxtree.statement.Statement convert(Java8Parser.BlockStatementContext statementContext) { + private Statement convert(Java8Parser.BlockStatementContext statementContext) { List ret = new ArrayList<>(); if(statementContext.localVariableDeclarationStatement() != null){ return convert(statementContext.localVariableDeclarationStatement());