mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 13:49:17 +02:00
Adding (library X) feature support to chibi-genstatic library expander.
This commit is contained in:
parent
dc5e7e397d
commit
1c112fc008
1 changed files with 1 additions and 0 deletions
|
@ -212,6 +212,7 @@
|
||||||
((and) (every check-cond-expand (cdr x)))
|
((and) (every check-cond-expand (cdr x)))
|
||||||
((or) (any check-cond-expand (cdr x)))
|
((or) (any check-cond-expand (cdr x)))
|
||||||
((not) (not (check-cond-expand (cadr x))))
|
((not) (not (check-cond-expand (cadr x))))
|
||||||
|
((library) (eval `(find-module ',(cadr x)) (%meta-env)))
|
||||||
(else (error "cond-expand: bad feature" x)))
|
(else (error "cond-expand: bad feature" x)))
|
||||||
(memq (identifier->symbol x) *features*)))
|
(memq (identifier->symbol x) *features*)))
|
||||||
(define (extract-module-name file)
|
(define (extract-module-name file)
|
||||||
|
|
Loading…
Add table
Reference in a new issue