mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-28 16:00:22 +02:00
(process-define-module): Check for #:use-syntax keyword, not the
symbol. Changed references to 'spec' variable to 'interface-args'. There is no 'spec'.
This commit is contained in:
parent
1882a272f7
commit
5a01596b0d
1 changed files with 3 additions and 3 deletions
|
@ -1758,10 +1758,10 @@
|
|||
(unrecognized kws))
|
||||
(let* ((interface-args (cadr kws))
|
||||
(interface (apply resolve-interface interface-args)))
|
||||
(and (eq? (car kws) 'use-syntax)
|
||||
(or (symbol? (car spec))
|
||||
(and (eq? (car kws) #:use-syntax)
|
||||
(or (symbol? (car interface-args))
|
||||
(error "invalid module name for use-syntax"
|
||||
spec))
|
||||
interface-args))
|
||||
(set-module-transformer!
|
||||
module
|
||||
(module-ref interface (car
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue