[plt-scheme] make/setup-extension broken: missing xform keyword-argument

From: Dimitris Vyzovitis (vyzo at media.mit.edu)
Date: Thu Nov 13 11:05:47 EST 2008

On Thu, 13 Nov 2008, Dimitris Vyzovitis wrote:

> compiler/xform/xform obtained a new required keyword argument (keep-lines?), 
> which breaks make/setup-extension (which does not know such argument and 
> doesn't supply it)

trivial patch (makes the keyword argument in xform optional)

-- vyzo
-------------- next part --------------
Index: collects/compiler/xform.ss
===================================================================
--- collects/compiler/xform.ss	(revision 12422)
+++ collects/compiler/xform.ss	(working copy)
@@ -5,7 +5,7 @@
 
 (provide xform)
 
-(define (xform quiet? src dest header-dirs #:keep-lines? keep-lines?)
+(define (xform quiet? src dest header-dirs #:keep-lines? (keep-lines? #f))
   (let ([exe (current-extension-compiler)]
         [flags (expand-for-compile-variant
                 (current-extension-preprocess-flags))]

Posted on the users mailing list.