UDI patch: make it work with YAP.

This commit is contained in:
Vitor Santos Costa
2009-02-20 11:42:48 +00:00
parent ad2d073184
commit 94ebb90719
9 changed files with 41 additions and 10 deletions

View File

@@ -778,7 +778,7 @@ Yap_BuildMegaClause(PredEntry *ap)
#ifdef TABLING
|TabledPredFlag
#endif /* TABLING */
) ||
|UDIPredFlag) ||
ap->cs.p_code.FirstClause == NULL ||
ap->cs.p_code.NOfClauses < 16) {
return;