From: bdemsky Date: Sun, 3 Apr 2011 04:09:24 +0000 (+0000) Subject: small bug X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=59b28d8bab983949421c1a1d7f96db1eb5743da2;p=IRC.git small bug --- diff --git a/Robust/src/IR/Flat/BuildCode.java b/Robust/src/IR/Flat/BuildCode.java index efdcc0b3..85b1b3f0 100644 --- a/Robust/src/IR/Flat/BuildCode.java +++ b/Robust/src/IR/Flat/BuildCode.java @@ -2906,6 +2906,7 @@ public class BuildCode { output.println(generateTemp(fm, fln.getDst())+"=0;"); else if (fln.getType().getSymbol().equals(TypeUtil.StringClass)) { String str=(String)fln.getValue(); + output.print("{"); output.print("short str"+flncount+"[]={"); for(int i=0;i