diff --git a/src/de/dhbwstuttgart/parser/SyntaxTreeGenerator/StatementGenerator.java b/src/de/dhbwstuttgart/parser/SyntaxTreeGenerator/StatementGenerator.java index 5310d13be..aaa31f74c 100644 --- a/src/de/dhbwstuttgart/parser/SyntaxTreeGenerator/StatementGenerator.java +++ b/src/de/dhbwstuttgart/parser/SyntaxTreeGenerator/StatementGenerator.java @@ -832,7 +832,7 @@ public class StatementGenerator { }else if(literal.StringLiteral()!=null){ RefType type = new RefType(reg.getName("java.lang.String"),literal.getStart()); return new Literal(type, - literal.StringLiteral().getText(), + literal.StringLiteral().getText().substring(1, literal.StringLiteral().getText().length()-1), literal.getStart()); }else if(literal.NullLiteral() != null){ return new Literal(TypePlaceholder.fresh(literal.getStart()), null,