This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Exception on pprint-logical-block without 'out:' (patch incl.)


On 06/11/2017 03:37 PM, Sudarshan S Chawathe wrote:

Evaluating a pprint-logical-block form without the optional 'out'
keyword argument throws an exception.  (See details below.)  It works
fine when that is provided.

Based on a quick look at kawa/lib/kawa/pprint.scm, I suspect the
problem is just a missing (define out-expr #!null) in the
define-syntax-case.  The attached trivial patch seems to do the trick,
but I have not tested carefully.  (I can also submit using gitlab if
you prefer.)

I checked this in. Thanks!
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]