Skip to content

Commit

Permalink
1.0.45.2: A slightly better error message for malformed reader condit…
Browse files Browse the repository at this point in the history
…ional

     * Modified from lp#680173 by Roman Marynchak
  • Loading branch information
jsnell committed Dec 6, 2010
1 parent d7e93ea commit 9cd960d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/code/early-extensions.lisp
Expand Up @@ -963,7 +963,7 @@
;;; If X is a symbol, see whether it is present in *FEATURES*. Also
;;; handle arbitrary combinations of atoms using NOT, AND, OR.
(defun featurep (x)
(etypecase x
(typecase x
(cons
(case (car x)
((:not not)
Expand All @@ -977,7 +977,10 @@
((:or or) (some #'featurep (cdr x)))
(t
(error "unknown operator in feature expression: ~S." x))))
(symbol (not (null (memq x *features*))))))
(symbol (not (null (memq x *features*))))
(t
(error "invalid feature expression: ~S" x))))


;;;; utilities for two-VALUES predicates

Expand Down
2 changes: 1 addition & 1 deletion version.lisp-expr
Expand Up @@ -20,4 +20,4 @@
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
"1.0.45.1"
"1.0.45.2"

0 comments on commit 9cd960d

Please sign in to comment.