avoid sideffects from MkBigInt
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1524 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -442,6 +442,7 @@ ParseTerm(int prio, JMPBUFF *FailBuff)
|
||||
mpz_init(new);
|
||||
mpz_neg(new, Yap_BigIntOfTerm(t));
|
||||
t = Yap_MkBigIntTerm(new);
|
||||
mpz_clear(new);
|
||||
}
|
||||
#endif
|
||||
else
|
||||
|
Reference in New Issue
Block a user