mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 19:50:24 +02:00
* boot-9.scm (cond-expand): Reduce feature list to built-in
features.
This commit is contained in:
parent
6851c8a446
commit
1d00af09c7
2 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2001-05-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
|
||||||
|
|
||||||
|
* boot-9.scm (cond-expand): Reduce feature list to built-in
|
||||||
|
features.
|
||||||
|
|
||||||
2001-05-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
|
2001-05-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
|
||||||
|
|
||||||
* boot-9.scm (-1+, return-it, string-character-length, flags):
|
* boot-9.scm (-1+, return-it, string-character-length, flags):
|
||||||
|
|
|
@ -2715,15 +2715,16 @@
|
||||||
;;;
|
;;;
|
||||||
;;; Currently, the following feature identifiers are supported:
|
;;; Currently, the following feature identifiers are supported:
|
||||||
;;;
|
;;;
|
||||||
;;; guile r5rs srfi-0 srfi-2 srfi-6 srfi-8 srfi-9 srfi-10 srfi-11 srfi-13
|
;;; guile r5rs srfi-0 srfi-6
|
||||||
;;; srfi-14 srfi-17 srfi-19
|
|
||||||
;;;
|
;;;
|
||||||
;;; Remember to update the features list when adding more SRFIs.
|
;;; Remember to update the features list when adding more SRFIs.
|
||||||
|
|
||||||
(define-macro (cond-expand clause . clauses)
|
(define-macro (cond-expand clause . clauses)
|
||||||
|
|
||||||
(define features
|
(define features
|
||||||
'(guile r5rs srfi-0 srfi-2 srfi-6 srfi-8 srfi-9 srfi-10 srfi-11 srfi-13
|
;; Adjust the above comment when changing this.
|
||||||
srfi-14 srfi-17 srfi-19))
|
'(guile r5rs srfi-0 srfi-6))
|
||||||
|
|
||||||
(let ((clauses (cons clause clauses))
|
(let ((clauses (cons clause clauses))
|
||||||
(syntax-error (lambda (cl)
|
(syntax-error (lambda (cl)
|
||||||
(error "invalid clause in `cond-expand'" cl))))
|
(error "invalid clause in `cond-expand'" cl))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue