projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3845c1f
)
Fix SET
author
David Vazquez
<davazp@gmail.com>
Mon, 17 Dec 2012 18:36:04 +0000
(18:36 +0000)
committer
David Vazquez
<davazp@gmail.com>
Mon, 17 Dec 2012 18:36:04 +0000
(18:36 +0000)
lispstrack.lisp
patch
|
blob
|
history
diff --git
a/lispstrack.lisp
b/lispstrack.lisp
index
3b80936
..
c8bb3c5
100644
(file)
--- a/
lispstrack.lisp
+++ b/
lispstrack.lisp
@@
-442,9
+442,11
@@
(concat "(" (ls-compile object env fenv) ")[" (ls-compile key env fenv) "]"))
(define-compilation set (object key value)
- (concat "(" (ls-compile object env fenv) ")[" (ls-compile key env fenv) "]")
- " = " (ls-compile value env fenv))
-
+ (concat "(("
+ (ls-compile object env fenv)
+ ")["
+ (ls-compile key env fenv) "]"
+ " = " (ls-compile value env fenv) ")"))
(defun %compile-defvar (name)