1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

(process-define-module): In #:use-syntax processing,

change two occurrences of interface-args to (car interface-args).
Fixes a problem with #:use-syntax reported by Bruce Carleton.
This commit is contained in:
Neil Jerram 2008-03-25 21:42:23 +00:00
parent 1b6e621715
commit c0a7be0672
4 changed files with 10 additions and 2 deletions

1
NEWS
View file

@ -28,6 +28,7 @@ Changes in 1.6.9 (since 1.6.8):
** Fixed a segmentation fault which occurred when displaying the ** Fixed a segmentation fault which occurred when displaying the
backtrace of a stack with a promise object (made by `delay') in it. backtrace of a stack with a promise object (made by `delay') in it.
** Fixed MinGW versions of dirname and basename. ** Fixed MinGW versions of dirname and basename.
** Fixed uses of #:use-syntax within (define-module ...) forms.
* Changes to the C interface * Changes to the C interface

1
THANKS
View file

@ -33,6 +33,7 @@ For fixes or providing information which led to a fix:
Christof Boeckler Christof Boeckler
Quetzalcoatl Bradley Quetzalcoatl Bradley
Adrian Bunk Adrian Bunk
Bruce Carleton
Michael Carmack Michael Carmack
George Caswell George Caswell
Albert Chin Albert Chin

View file

@ -1,3 +1,9 @@
2008-03-25 Neil Jerram <neil@ossau.uklinux.net>
* boot-9.scm (process-define-module): In #:use-syntax processing,
change two occurrences of interface-args to (car interface-args).
Fixes a problem with #:use-syntax reported by Bruce Carleton.
2006-12-09 Kevin Ryde <user42@zip.com.au> 2006-12-09 Kevin Ryde <user42@zip.com.au>
* boot-9.scm (top-repl): Remove module-use! of the core `(guile)' * boot-9.scm (top-repl): Remove module-use! of the core `(guile)'

View file

@ -1768,9 +1768,9 @@
(let* ((interface-args (cadr kws)) (let* ((interface-args (cadr kws))
(interface (apply resolve-interface interface-args))) (interface (apply resolve-interface interface-args)))
(and (eq? (car kws) #:use-syntax) (and (eq? (car kws) #:use-syntax)
(or (symbol? (car interface-args)) (or (symbol? (caar interface-args))
(error "invalid module name for use-syntax" (error "invalid module name for use-syntax"
interface-args)) (car interface-args)))
(set-module-transformer! (set-module-transformer!
module module
(module-ref interface (car (module-ref interface (car