mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 05:50:26 +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)
|
||||
(loop (cdr kws) reversed-interfaces))
|
||||
((export)
|
||||
(if (not (and (pair? (cdr kws)) (pair? (cddr kws))))
|
||||
(if (not (pair? (cdr kws)))
|
||||
(error "unrecognized defmodule argument" kws))
|
||||
(module-export! module (cadr kws))
|
||||
(loop (cddr kws) reversed-interfaces))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue