mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 04:40:29 +02:00
Handle more JavaScript binary operators
* module/language/javascript.scm (print-binop): Handle `begin' & `instanceof'
This commit is contained in:
parent
d4ef33f6cf
commit
4ef95dd74c
1 changed files with 2 additions and 1 deletions
|
@ -179,7 +179,8 @@
|
|||
((or) (display "||" port))
|
||||
((and) (display "&&" port))
|
||||
((=) (display "==" port))
|
||||
((+ - < <= > >= ===) (format port "~a" op))
|
||||
((begin) (display "," port))
|
||||
((+ - < <= > >= === instanceof) (format port "~a" op))
|
||||
(else
|
||||
(throw 'unprintable-binop op))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue