From 314f147bff04c3b02e0f43b77e4b7a3f1fd9e433 Mon Sep 17 00:00:00 2001 From: meza Date: Tue, 29 Apr 2008 13:05:24 +0000 Subject: JS.cf : Changed the JS grammar to support strings as property names in objects. Changed pretty much all the files in the same folder as well as GFCCToJS.hs and SISR.hs to reflect the changes. --- src/GF/Speech/SISR.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GF/Speech') diff --git a/src/GF/Speech/SISR.hs b/src/GF/Speech/SISR.hs index e7fcdc810..3e68a2e55 100644 --- a/src/GF/Speech/SISR.hs +++ b/src/GF/Speech/SISR.hs @@ -83,5 +83,5 @@ ass = JS.EAssign tree n xs = obj [("name", JS.EStr n), ("args", JS.EArray xs)] -obj ps = JS.EObj [JS.Prop (JS.Ident x) y | (x,y) <- ps] +obj ps = JS.EObj [JS.Prop (JS.StringPropName x) y | (x,y) <- ps] -- cgit v1.2.3