if (tokenOut) ret.append(path==null ? ", token" : ", notify " + path.getDestination().getDock());
String s = ret.toString();
s = s.equals("") ? "nop" : s.substring(2);
- if (interruptible) s = "[i] " + s;
+ if (interruptible) s = "[T] " + s;
return super.toString()+s+";";
}
}
/** possible predicate field values */
public enum Predicate {
- Default, FlagA, NotFlagA, FlagB, NotFlagB, FlagC, NotFlagC, IgnoreOLC;
+ Default, FlagA, NotFlagA, FlagB, NotFlagB, FlagC, NotFlagC, IgnoreOLC, OLCZero;
public String toString() {
switch(this) {
case Default: return "";
case NotFlagA: return "!a";
case NotFlagB: return "!b";
case NotFlagC: return "!c";
- case IgnoreOLC: return "+";
+ case IgnoreOLC: return "*";
+ case OLCZero: return "olc=0";
default: throw new Error("unknown predicate " + this);
}
}