ugh
This commit is contained in:
parent
cad55bcf71
commit
ed6385a3e7
@ -719,7 +719,7 @@ static Int term_to_atom(USES_REGS1) {
|
||||
at = AtomOfTerm(t2);
|
||||
}
|
||||
ctl = TermNil;
|
||||
return Yap_AtomToTerm(at, ctl) == 0L && Yap_unify(rc, ARG1);
|
||||
return (rc = Yap_AtomToTerm(at, ctl)) && Yap_unify(rc, ARG1);
|
||||
}
|
||||
|
||||
void Yap_InitWriteTPreds(void) {
|
||||
|
Reference in New Issue
Block a user