new script file to run compiler...this one uses options and combines
[IRC.git] / Robust / src / IR / Flat / BuildCode.java
index 40ea96da43a20a60c9b9160e725a3da2a3993b7c..361c5da4db51958722111f15830f912dfc978e08 100644 (file)
@@ -336,6 +336,8 @@ public class BuildCode {
                output.println("  "+arraytype+"_"+ state.getArrayNumber(fd.getType()) +" * "+fd.getSymbol()+";");
            } else if (fd.getType().isClass())
                output.println("  "+fd.getType().getRepairSymbol()+" * "+fd.getSymbol()+";");
+           else if (fd.getType().isFloat())
+               output.println("  int "+fd.getSymbol()+"; /* really float */");
            else 
                output.println("  "+fd.getType().getRepairSymbol()+" "+fd.getSymbol()+";");
        }