Regression on portray_clause/2

Thierry Martinez <[email protected]> Fri, 24 Aug 2012 14:37:32 +0200
Newsgroups gmane.comp.gnu.prolog.bugs
Organization INRIA Paris-Rocquencourt
Message-ID <[email protected]>
Hi,

With GNU Prolog 1.4.1, portray_clause/2 ignores its second argument and
prints the its first argument (supposed to be a stream) as
portray_clause/1 would do.

The culprit seems to be the line 57 of src/BipsPl/pretty.pl which calls
  '$call_c'('Pl_Portray_Clause_2'(SorA, Term, AboveB)),
instead of
  '$call_c'('Pl_Portray_Clause_3'(SorA, Term, AboveB)),

This bug was not present in GNU Prolog 1.4.0.

Best regards,
-- 
Thierry.

_______________________________________________
Bug-prolog mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-prolog
smime.p7s (application/x-pkcs7-signature, 4.1 KB) - not displayed