write at higher depth.

This commit is contained in:
Vítor Santos Costa 2011-03-24 15:10:29 +00:00
parent 9aa4adb0dc
commit b0965f60b5

View File

@ -1110,8 +1110,8 @@ Yap_plwrite(Term t, int (*mywrite) (int, wchar_t), int flags, int priority)
wglb.Quote_illegal = flags & Quote_illegal_f;
wglb.Handle_vars = flags & Handle_vars_f;
wglb.Use_portray = flags & Use_portray_f;
wglb.MaxDepth = 3L;
wglb.MaxArgs = 3L;
wglb.MaxDepth = 10L;
wglb.MaxArgs = 10L;
/* notice: we must have ASP well set when using portray, otherwise
we cannot make recursive Prolog calls */
wglb.keep_terms = (flags & (Use_portray_f|To_heap_f));