do not reset cintext before cut

This commit is contained in:
Vitor Santos Costa 2013-02-06 00:16:30 +00:00
parent f873074961
commit b34be4360b
1 changed files with 0 additions and 1 deletions

View File

@ -1788,7 +1788,6 @@ YAP_ExecuteOnCut(PredEntry *pe, CPredicate exec_code, struct cut_c_str *top)
PP = pe;
ctx->control = FRG_CUTTED;
ctx->engine = NULL; //(PL_local_data *)Yap_regp;
ctx->context = NULL;
if (pe->PredFlags & CArgsPredFlag) {
val = execute_cargs_back(pe, exec_code, ctx PASS_REGS);
} else {