projects
/
clsql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9fffc97
)
Conditionalize #\no-break-space for lispworks
author
Kevin Rosenberg
<kevin@rosenberg.net>
Fri, 29 Jan 2010 15:50:33 +0000
(08:50 -0700)
committer
Kevin Rosenberg
<kevin@rosenberg.net>
Fri, 29 Jan 2010 15:50:33 +0000
(08:50 -0700)
sql/expressions.lisp
patch
|
blob
|
history
diff --git
a/sql/expressions.lisp
b/sql/expressions.lisp
index d78e3860ff930bde4ec35c8a859593efa2118404..770bf379a69c1e74ecd9a51e0204d81107e2e6db 100644
(file)
--- a/
sql/expressions.lisp
+++ b/
sql/expressions.lisp
@@
-249,7
+249,12
@@
;; the next loop simply emits each sub-expression with the appropriate number of
;; parens and operators
(flet ((trim (sub)
;; the next loop simply emits each sub-expression with the appropriate number of
;; parens and operators
(flet ((trim (sub)
- (string-trim '(#\space #\newline #\return #\tab #\no-break-space)
+ (string-trim '(#\space #\newline #\return #\tab
+ ;; sbcl, allegrocl, and clisp use #\no-break_space
+ ;; lispworks uses #\no-break-space
+ #-lispworks #\no-break_space
+ #+lispworks #\no-break-space
+ )
(with-output-to-string (*sql-stream*)
(output-sql sub database)))))
(let ((str-subs (loop for sub in sub-expressions
(with-output-to-string (*sql-stream*)
(output-sql sub database)))))
(let ((str-subs (loop for sub in sub-expressions