João Silva patch for yapor copy+tabling

This commit is contained in:
Vitor Santos Costa
2014-03-08 11:50:20 +00:00
parent 233c4ee903
commit 3d0bb05ef0
6 changed files with 56 additions and 29 deletions

View File

@@ -3405,6 +3405,11 @@ Yap_cclause(volatile Term inp_clause, Int NOfArgs, Term mod, volatile Term src)
/* may botch while doing a different module */
/* first, initialise cglobs->cint.CompilerBotch to handle all cases of interruptions */
compiler_struct cglobs;
#ifdef TABLING_INNER_CUTS
PInstr cglobs_cut_mark;
cglobs.cut_mark = &cglobs_cut_mark;
#endif /* TABLING_INNER_CUTS */
/* make sure we know there was no error yet */
LOCAL_ErrorMessage = NULL;