fixes for gcc-4.3 (same as stable)

This commit is contained in:
Vítor Santos Costa
2008-11-26 09:56:18 +00:00
parent a64c1138df
commit 58d4442883
9 changed files with 73 additions and 33 deletions

View File

@@ -531,7 +531,7 @@ static Int p_can_unify(void)
static Int p_non_ground(void)
{
#ifdef COROUTINING
Term r;
Term r = TermNil;
if (!non_ground(ARG1, &r))
return(FALSE);
return (Yap_unify(ARG2, r));