fix lost indices in reconsult

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@937 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2003-11-27 21:47:44 +00:00
parent 90829edc9e
commit 01703de3a0
2 changed files with 66 additions and 59 deletions

View File

@@ -1095,9 +1095,9 @@ addclause(Term t, yamop *cp, int mode, int mod)
}
}
if (compile_mode)
p->PredFlags = pflags | CompiledPredFlag | FastPredFlag;
p->PredFlags = p->PredFlags | CompiledPredFlag | FastPredFlag;
else
p->PredFlags = pflags|CompiledPredFlag;
p->PredFlags = p->PredFlags | CompiledPredFlag;
}
if (p->cs.p_code.FirstClause == NULL) {
if (!(pflags & DynamicPredFlag)) {