projects
/
jscl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug unparsing JS function
[jscl.git]
/
src
/
compiler-codegen.lisp
diff --git
a/src/compiler-codegen.lisp
b/src/compiler-codegen.lisp
index
50f33af
..
105bfcd
100644
(file)
--- a/
src/compiler-codegen.lisp
+++ b/
src/compiler-codegen.lisp
@@
-154,7
+154,7
@@
(js-format ",")
(js-identifier arg)))
(js-format ")")
(js-format ",")
(js-identifier arg)))
(js-format ")")
- (js-stmt `(group ,@body)))
+ (js-stmt `(group ,@body) t))
(defun check-lvalue (x)
(unless (or (symbolp x)
(defun check-lvalue (x)
(unless (or (symbolp x)
@@
-362,9
+362,12
@@
((and (consp form) (eq (car form) 'progn))
(destructuring-bind (&body body) (cdr form)
(cond
((and (consp form) (eq (car form) 'progn))
(destructuring-bind (&body body) (cdr form)
(cond
- ((null body) '(empty))
- ((null (cdr body)) (js-expand-stmt (car body)))
- (t `(group ,@(cdr form))))))
+ ((null body)
+ '(empty))
+ ((null (cdr body))
+ (js-expand-stmt (car body)))
+ (t
+ `(group ,@(cdr form))))))
(t
form)))
(t
form)))