1
Fork 0
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:
Mikael Djurfeldt 2000-07-01 17:01:22 +00:00
parent 80edbc3347
commit a473feada1

View file

@ -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))