handle empty sequence of clauses
This commit is contained in:
parent
f6f7f70b7f
commit
bd5771eb59
@ -6241,6 +6241,7 @@ Yap_FollowIndexingCode(PredEntry *ap, yamop *ipc, Term Terms[3], yamop *ap_pc, y
|
||||
LogUpdIndex *cl = ipc->u.Illss.I;
|
||||
PredEntry *ap = cl->ClPred;
|
||||
|
||||
if (!cl) return NULL; /* in case the index is empty */
|
||||
if (ap->LastCallOfPred != LUCALL_EXEC) {
|
||||
/*
|
||||
only increment time stamp if we are working on current time
|
||||
|
Reference in New Issue
Block a user