summaryrefslogtreecommitdiff
path: root/src/GF/JavaScript/JS.cf
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/JavaScript/JS.cf')
-rw-r--r--src/GF/JavaScript/JS.cf4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/GF/JavaScript/JS.cf b/src/GF/JavaScript/JS.cf
index 6f5c7481e..47017ecf7 100644
--- a/src/GF/JavaScript/JS.cf
+++ b/src/GF/JavaScript/JS.cf
@@ -39,6 +39,10 @@ ENull. Expr16 ::= "null" ;
EThis. Expr16 ::= "this" ;
EFun. Expr16 ::= "function" "(" [Ident] ")" "{" [Stmt] "}" ;
+eseq1. Expr16 ::= "(" Expr "," [Expr] ")";
+internal ESeq. Expr16 ::= "(" [Expr] ")" ;
+define eseq1 x xs = ESeq (x:xs);
+
separator Expr "," ;
coercions Expr 16 ;