ClassDescriptor cn=(ClassDescriptor)classit.next();
outrepairstructs.println("structure "+cn.getSymbol()+" {");
outrepairstructs.println(" int __type__;");
- if (cn.hasFlags()) {
+ if (state.TASK) {
outrepairstructs.println(" int __flag__;");
outrepairstructs.println(" int __flagptr__;");
}
/* Output class structure */
classdefout.println("struct "+cn.getSafeSymbol()+" {");
classdefout.println(" int type;");
- if (cn.hasFlags()) {
+ if (state.TASK) {
classdefout.println(" int flag;");
classdefout.println(" void * flagptr;");
}