projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99252fa
)
Migrate IF
author
David Vázquez
<davazp@gmail.com>
Sun, 23 Jun 2013 00:12:26 +0000
(
02:12
+0200)
committer
David Vázquez
<davazp@gmail.com>
Sun, 23 Jun 2013 00:12:26 +0000
(
02:12
+0200)
src/compiler.lisp
patch
|
blob
|
history
diff --git
a/src/compiler.lisp
b/src/compiler.lisp
index
09abdeb
..
36eac60
100644
(file)
--- a/
src/compiler.lisp
+++ b/
src/compiler.lisp
@@
-190,10
+190,9
@@
*compilations*))
(define-compilation if (condition true &optional false)
- `(code "(" ,(ls-compile condition) " !== " ,(ls-compile nil)
- " ? " ,(ls-compile true *multiple-value-p*)
- " : " ,(ls-compile false *multiple-value-p*)
- ")"))
+ `(if (!== ,(ls-compile condition) ,(ls-compile nil))
+ ,(ls-compile true *multiple-value-p*)
+ ,(ls-compile false *multiple-value-p*)))
(defvar *ll-keywords* '(&optional &rest &key))