fix handling of YAP_Blob terms.

This commit is contained in:
Vitor Santos Costa 2011-07-22 04:09:14 -07:00
parent 19f7dd8d58
commit e4a775925b
1 changed files with 9 additions and 0 deletions

View File

@ -884,6 +884,15 @@ writePrimitive(term_t t, write_options *options)
return writeString(t, options);
#endif /* O_STRING */
#if __YAP_PROLOG__
{
number n;
n.type = V_INTEGER;
n.value.i = 0;
return WriteNumber(&n, options);
}
#endif
assert(0);
fail;
}