guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 37/99: Fixup binop unparsing


From: Christopher Allan Webber
Subject: [Guile-commits] 37/99: Fixup binop unparsing
Date: Sun, 10 Oct 2021 21:50:52 -0400 (EDT)

cwebber pushed a commit to branch compile-to-js-merge
in repository guile.

commit b631576f13677e7834a9604ee6b664f0ff2acc06
Author: Ian Price <ianprice90@googlemail.com>
AuthorDate: Tue Jun 23 15:52:42 2015 +0100

    Fixup binop unparsing
---
 module/language/javascript.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/language/javascript.scm b/module/language/javascript.scm
index 7486213..741282a 100644
--- a/module/language/javascript.scm
+++ b/module/language/javascript.scm
@@ -85,7 +85,7 @@
     (($ var id exp)
      `(var ,id ,(unparse-js exp)))
     (($ binop op arg1 arg2)
-     `(binop ,op ,arg1 ,arg2))))
+     `(binop ,op ,(unparse-js arg1) ,(unparse-js arg2)))))
 
 (define (print-exp exp port)
   (match exp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]