fix fix
This commit is contained in:
parent
afc6e64db2
commit
1d84d39b00
@ -1699,7 +1699,8 @@ bool Yap_addclause(Term t, yamop *cp, Term tmode, Term mod, Term *t4ref)
|
|||||||
mode = assertz;
|
mode = assertz;
|
||||||
} else {
|
} else {
|
||||||
Yap_Error(DOMAIN_ERROR_OUT_OF_RANGE, tmode,
|
Yap_Error(DOMAIN_ERROR_OUT_OF_RANGE, tmode,
|
||||||
"compilation mode used to assert") return false;
|
"compilation mode used to assert");
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
if (IsApplTerm(t) && FunctorOfTerm(t) == FunctorAssert)
|
if (IsApplTerm(t) && FunctorOfTerm(t) == FunctorAssert)
|
||||||
tf = ArgOfTerm(1, t);
|
tf = ArgOfTerm(1, t);
|
||||||
|
Reference in New Issue
Block a user