if (!precheck(pn, "constraints")) {
return false;
}
+ //System.out.println(pn.PPrint(2,true));
boolean ok = true;
ParseNodeVector constraints = pn.getChildren();
} else if (pn.getChild("not") != null) {
/* NOT body */
LogicStatement left = parse_body(pn.getChild("not").getChild("body"));
-
if (left == null) {
return null;
}
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;
}