projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bc11ba
)
Fix bug with funcall precedence
author
David Vázquez
<davazp@gmail.com>
Fri, 28 Jun 2013 20:39:34 +0000
(22:39 +0200)
committer
David Vázquez
<davazp@gmail.com>
Fri, 28 Jun 2013 20:39:34 +0000
(22:39 +0200)
src/compiler-codegen.lisp
patch
|
blob
|
history
diff --git
a/src/compiler-codegen.lisp
b/src/compiler-codegen.lisp
index
166c7f9
..
ee80ead
100644
(file)
--- a/
src/compiler-codegen.lisp
+++ b/
src/compiler-codegen.lisp
@@
-226,8
+226,8
@@
(js-expr (car args))
(js-format ")")))
(js-format "(")
- (when (cdr args)
- (with-operator (12 'left)
+ (let ((*js-operator-precedence* 12))
+ (when (cdr args)
(js-expr (cadr args))
(dolist (operand (cddr args))
(let ((*js-output* t))