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.cf7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/GF/JavaScript/JS.cf b/src/GF/JavaScript/JS.cf
index 58233ed74..fe31a2074 100644
--- a/src/GF/JavaScript/JS.cf
+++ b/src/GF/JavaScript/JS.cf
@@ -48,5 +48,8 @@ define eseq1 x xs = ESeq (x:xs);
separator Expr "," ;
coercions Expr 16 ;
-Prop. Property ::= Ident ":" Expr ;
-separator Property "," ; \ No newline at end of file
+Prop. Property ::= PropertyName ":" Expr ;
+separator Property "," ;
+
+IdentPropName. PropertyName ::= Ident ;
+StringPropName. PropertyName ::= String ;