Small changes to allow:
[repair.git] / Repair / RepairCompiler / MCC / IR / SemanticChecker.java
index 108a883..af4aa96 100755 (executable)
@@ -1099,7 +1099,7 @@ public class SemanticChecker {
         dCurrentType = type;
 
         // parse the labels and fields
-        if (!parse_labelsandfields(pn.getChild("lf"))) {
+        if (pn.getChild("lf")!=null && !parse_labelsandfields(pn.getChild("lf"))) {
             ok = false;
         }