keep on fixing Paulo's tests

This commit is contained in:
Vitor Santos Costa
2018-04-20 14:27:26 +01:00
parent 6095fe6e00
commit 11dae5653e
6 changed files with 49 additions and 1006 deletions

View File

@@ -700,7 +700,7 @@ restart_aux:
if (IsNumTerm(t1)) {
Term t2 = Deref(ARG2);
Term t12 = Yap_NumberToListOfAtoms(t1 PASS_REGS);
if (t12) {
if (t12 && t2) {
{
pop_text_stack(l);
return Yap_unify(t12, t2);