projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add OpenMCL support for #\no-break_space
[clsql.git]
/
sql
/
utils.lisp
diff --git
a/sql/utils.lisp
b/sql/utils.lisp
index 9a554cb7def4837c9de48eafdc26deefd7eaf503..0ead522e403bfff993eb9d4229a73446973f0d43 100644
(file)
--- a/
sql/utils.lisp
+++ b/
sql/utils.lisp
@@
-18,10
+18,16
@@
(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, openmcl,
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
+ ;; CMUCL errors when trying to read #\no-break_space
#+lispworks #\no-break-space
#+lispworks #\no-break-space
- #-lispworks #\no-break_space
+ #+(or (and sbcl sb-unicode) (and allegro ics) (and clisp i18n)
+ (and openmcl openmcl-unicode-strings))
+ #\no-break_space
)
"List of whitespace characters for this lisp implementation.")
)
"List of whitespace characters for this lisp implementation.")