Unify emptylist of variables if one reads EOF.

This commit is contained in:
Vitor Santos Costa
2009-07-21 00:11:44 -05:00
parent 82b1a6f62a
commit c1024caa53
2 changed files with 4 additions and 1 deletions

View File

@@ -3977,7 +3977,8 @@ static Int
Yap_clean_tokenizer(tokstart, Yap_VarTable, Yap_AnonVarTable);
return Yap_unify(tpos,ARG5) &&
Yap_unify_constant(ARG2, MkAtomTerm (AtomEof));
Yap_unify_constant(ARG2, MkAtomTerm (AtomEof))
&& Yap_unify_constant(ARG4, TermNil);
}
}
}