projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4521234
)
Temporal change: CODE syntax almost compatible with compiler.lisp
author
David Vázquez
<davazp@gmail.com>
Fri, 21 Jun 2013 02:39:16 +0000
(
04:39
+0200)
committer
David Vázquez
<davazp@gmail.com>
Fri, 21 Jun 2013 02:39:16 +0000
(
04:39
+0200)
src/compiler-codegen.lisp
patch
|
blob
|
history
diff --git
a/src/compiler-codegen.lisp
b/src/compiler-codegen.lisp
index
f3b05cc
..
129f892
100644
(file)
--- a/
src/compiler-codegen.lisp
+++ b/
src/compiler-codegen.lisp
@@
-211,6
+211,8
@@
(let ((op1 (car args))
(op2 (cadr args)))
(case op
+ (code
+ (js-format "~a" (apply #'code args)))
;; Function call
(call
(js-expr (car args))
@@
-371,6
+373,8
@@
(js-expr form)
(js-format ";"))
(case (car form)
+ (code
+ (js-format "~a" (apply #'code (cdr form))))
(empty
(unless (and (consp parent) (eq (car parent) 'group))
(js-format ";")))