outmethodheader.println("#include \"structdefs.h\"");
if (state.DSM)
outmethodheader.println("#include \"dstm.h\"");
- if (state.ABORTREADERS)
+ if (state.ABORTREADERS) {
outmethodheader.println("#include \"abortreaders.h\"");
-
+ outmethodheader.println("#include <setjmp.h>");
+ }
/* Output Structures */
outputStructs(outstructs);
if (state.ABORTREADERS) {
output.println("if (setjmp(trans->aborttrans))");
- output.println(" goto transretry"+faen.getIdentifier()+":");
+ output.println(" goto transretry"+faen.getIdentifier()+";");
}
}