projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20cb49e
)
Migrate DUMP-CONS
author
David Vázquez
<davazp@gmail.com>
Sun, 23 Jun 2013 14:09:09 +0000
(16:09 +0200)
committer
David Vázquez
<davazp@gmail.com>
Sun, 23 Jun 2013 14:09:09 +0000
(16:09 +0200)
src/compiler.lisp
patch
|
blob
|
history
diff --git
a/src/compiler.lisp
b/src/compiler.lisp
index
4510427
..
b7437e9
100644
(file)
--- a/
src/compiler.lisp
+++ b/
src/compiler.lisp
@@
-512,12
+512,10
@@
(defun dump-cons (cons)
(let ((head (butlast cons))
(tail (last cons)))
- `(code "QIList("
- ,@(interleave (mapcar (lambda (x) (literal x t)) head) "," t)
- ,(literal (car tail) t)
- ","
- ,(literal (cdr tail) t)
- ")")))
+ `(call |QIList|
+ ,@(mapcar (lambda (x) `(code ,(literal x t))) head)
+ (code ,(literal (car tail) t))
+ (code ,(literal (cdr tail) t)))))
(defun dump-array (array)
(let ((elements (vector-to-list array)))