Change order of names in renaming export declaration; now first name
authorChris Hanson <org/chris-hanson/cph>
Wed, 19 Dec 2001 01:54:09 +0000 (01:54 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 19 Dec 2001 01:54:09 +0000 (01:54 +0000)
is always the destination and second is always the source.

v7/src/cref/redpkg.scm

index 3b8d3224d58a15b97611dd9bf60d97fa87a5d3db..7c9f967ac934b9dcae3d406f98265f0727720b84 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: redpkg.scm,v 1.24 2001/12/18 19:09:58 cph Exp $
+$Id: redpkg.scm,v 1.25 2001/12/19 01:54:09 cph Exp $
 
 Copyright (c) 1988-2001 Massachusetts Institute of Technology
 
@@ -560,8 +560,8 @@ USA.
   (for-each (lambda (export)
              (let ((destination (get-package (car export) #t)))
                (for-each (lambda (names)
-                           (link! package (car names)
-                                  destination (cdr names)
+                           (link! package (cdr names)
+                                  destination (car names)
                                   package #t))
                          (cdr export))))
            (package-description/exports description))