mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-03-01 02:00:36 -08:00
The condition SIMPLE-PROGRAM-ERROR no longer exists.
This commit is contained in:
parent
aa9abe50a8
commit
81babfd3af
1 changed files with 6 additions and 6 deletions
|
|
@ -78,12 +78,12 @@ is used."
|
|||
(if conditions
|
||||
(let ((aux (set-difference conditions '(:external :internal :inherited))))
|
||||
(when aux
|
||||
(error 'simple-program-error
|
||||
:format-control "Clauses ~{~S~} are not allowed."
|
||||
:format-arguments aux)))
|
||||
(error 'simple-program-error
|
||||
:format-control "Must supply at least one of :inherited, :external~
|
||||
or :internal"))
|
||||
(signal-simple-error 'program-error nil "Clauses ~{~S~} are not allowed."
|
||||
(list aux))))
|
||||
(signal-simple-error 'program-error
|
||||
nil
|
||||
"Must supply at least one of :inherited, :external~or :internal"
|
||||
nil))
|
||||
`(let ((,iterator (packages-iterator ,package-list ',conditions t)))
|
||||
(macrolet ((,iterator () (list 'funcall ',iterator)))
|
||||
,@body)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue