From a26290659d2d7799f920d0aae64383e17004abdb Mon Sep 17 00:00:00 2001 From: bjorn Date: Mon, 20 Oct 2008 11:35:05 +0000 Subject: Replace Category with Type in the PGF API. Added readLanguage and showLanguage. --- src/GF/Compile/GFCCtoJS.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GF/Compile') diff --git a/src/GF/Compile/GFCCtoJS.hs b/src/GF/Compile/GFCCtoJS.hs index 12c424844..2c3b762da 100644 --- a/src/GF/Compile/GFCCtoJS.hs +++ b/src/GF/Compile/GFCCtoJS.hs @@ -26,7 +26,7 @@ pgf2js pgf = n = prCId $ absname pgf as = abstract pgf cs = Map.assocs (concretes pgf) - start = M.lookStartCat pgf + start = prCId $ M.lookStartCat pgf grammar = new "GFGrammar" [js_abstract, js_concrete] js_abstract = abstract2js start as js_concrete = JS.EObj $ map (concrete2js start n) cs -- cgit v1.2.3