diff --git a/src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java b/src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java index a5dcec2b..48a3abe7 100755 --- a/src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java +++ b/src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java @@ -111,7 +111,9 @@ public class StringLiteral extends Literal InstructionFactory _factory = new InstructionFactory(cg, cg.getConstantPool()); - il.append(_factory.ASTORE_1.createNew(this.getString())); + il.append(_factory.ASTORE_1); + il.append(_factory.createNew(string)); + return il; }