* optargs.scm (lambda*): Bugfix: Replaced ARGLIST -->
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Thu, 3 Jun 1999 05:02:23 +0000 (05:02 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Thu, 3 Jun 1999 05:02:23 +0000 (05:02 +0000)
non-optional-args.  (Thanks to David Lutterkort.)

ice-9/optargs.scm

index b63f4f6..83951ad 100644 (file)
                                          (error "Too many arguments.")))
                                    '())
                              ,@BODY)))
-          `(lambda (,@ARGLIST . ,(if rest-arg rest-arg '())) 
+          `(lambda (,@non-optional-args . ,(if rest-arg rest-arg '())) 
              ,@BODY))))))