From ad0e8643ec4ce546a58d14ef14b7d4d4878d4dcc Mon Sep 17 00:00:00 2001 From: "Fikus, Evelyn (WWI2012D)" Date: Mon, 22 Jun 2015 15:17:59 +0200 Subject: [PATCH] =?UTF-8?q?Update=20StringLiteral;=20Test=20l=C3=A4uft=20a?= =?UTF-8?q?llerdings=20nicht=20durch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java b/src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java index 48a3abe7..4fee0532 100755 --- a/src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java +++ b/src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java @@ -111,8 +111,7 @@ public class StringLiteral extends Literal InstructionFactory _factory = new InstructionFactory(cg, cg.getConstantPool()); - il.append(_factory.ASTORE_1); - il.append(_factory.createNew(string)); + il.append(_factory.ASTORE_1, _factory.createNew(string)); return il;