redefine MAX_DEPTH as MAX_BRANCH_DEPTH to avoid conflits with yap2swi

library
This commit is contained in:
Ricardo Rocha
2009-06-24 20:00:51 +01:00
parent 3397e97732
commit 3ccad9aff2
5 changed files with 5 additions and 5 deletions

View File

@@ -587,7 +587,7 @@ void share_private_nodes(int worker_q) {
#endif /* TABLING */
/* update depth */
if (depth >= MAX_DEPTH)
if (depth >= MAX_BRANCH_DEPTH)
Yap_Error(INTERNAL_ERROR, TermNil, "maximum depth exceded (share_private_nodes)");
or_frame = B->cp_or_fr;
#ifdef TABLING