projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ce47de
)
oops. Good fix to empty setq
lisp-implementation
author
David Vázquez
<davazp@gmail.com>
Tue, 11 Jun 2013 16:10:26 +0000
(18:10 +0200)
committer
David Vázquez
<davazp@gmail.com>
Tue, 11 Jun 2013 16:10:26 +0000
(18:10 +0200)
src/compiler.lisp
patch
|
blob
|
history
diff --git
a/src/compiler.lisp
b/src/compiler.lisp
index
c14584f
..
c988050
100644
(file)
--- a/
src/compiler.lisp
+++ b/
src/compiler.lisp
@@
-468,10
+468,11
@@
(define-compilation setq (&rest pairs)
(let ((result ""))
+ (when (null pairs)
+ (return-from setq (ls-compile nil)))
(while t
(cond
((null pairs)
- (setq result (ls-compile nil))
(return))
((null (cdr pairs))
(error "Odd pairs in SETQ"))