projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Conditionalize read of #\no-break_space for non-unicode SBCL and non-ics Allegro.
[clsql.git]
/
sql
/
utils.lisp
diff --git
a/sql/utils.lisp
b/sql/utils.lisp
index 9a554cb7def4837c9de48eafdc26deefd7eaf503..92c96fdd557501cbcf455d8bd730924ab337a7ce 100644
(file)
--- a/
sql/utils.lisp
+++ b/
sql/utils.lisp
@@
-18,10
+18,13
@@
(defvar +whitespace-chars+
'(#\space #\tab #\newline #\return
(defvar +whitespace-chars+
'(#\space #\tab #\newline #\return
- ;; Tested: sbcl, allegrocl, and clisp use #\no-break_space
+ ;; Tested: sbcl
unicode
, allegrocl, and clisp use #\no-break_space
;; lispworks uses #\no-break-space
;; lispworks uses #\no-break-space
+ ;; sbcl non-unicode doesn't support no break space
+ ;; AllegroCL 8-bit strings don't fail on reading #\no-break_space,
+ ;; but can't represent such a character
#+lispworks #\no-break-space
#+lispworks #\no-break-space
- #
-lispworks
#\no-break_space
+ #
+(or (and sbcl sb-unicode) (and allegro ics) clisp)
#\no-break_space
)
"List of whitespace characters for this lisp implementation.")
)
"List of whitespace characters for this lisp implementation.")