more fixes for bignum support in PLStream.

This commit is contained in:
ubu32
2011-02-27 03:40:27 -08:00
parent 3c261305db
commit f2e8f2ac2e
4 changed files with 72 additions and 2 deletions

View File

@@ -1065,6 +1065,9 @@ writeTerm2(term_t t, int prec, write_options *options, bool arg)
}
}
#if __YAP_PROLOG__
t = Yap_CvtTerm(t);
#endif
if ( PL_get_atom(t, &a) )
{ if ( !arg && prec < 1200 && priorityOperator((Module)NULL, a) > 0 )
{ if ( PutOpenBrace(out) &&