mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 06:20:23 +02:00
* boot-9.scm (process-define-module): Bugfix: Only check the CDR
for export args.
This commit is contained in:
parent
80edbc3347
commit
a473feada1
1 changed files with 1 additions and 1 deletions
|
@ -1828,7 +1828,7 @@
|
||||||
(purify-module! module)
|
(purify-module! module)
|
||||||
(loop (cdr kws) reversed-interfaces))
|
(loop (cdr kws) reversed-interfaces))
|
||||||
((export)
|
((export)
|
||||||
(if (not (and (pair? (cdr kws)) (pair? (cddr kws))))
|
(if (not (pair? (cdr kws)))
|
||||||
(error "unrecognized defmodule argument" kws))
|
(error "unrecognized defmodule argument" kws))
|
||||||
(module-export! module (cadr kws))
|
(module-export! module (cadr kws))
|
||||||
(loop (cddr kws) reversed-interfaces))
|
(loop (cddr kws) reversed-interfaces))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue