diff options
| author | bjorn <bjorn@bringert.net> | 2008-10-20 11:35:05 +0000 |
|---|---|---|
| committer | bjorn <bjorn@bringert.net> | 2008-10-20 11:35:05 +0000 |
| commit | a26290659d2d7799f920d0aae64383e17004abdb (patch) | |
| tree | fdb009690775fe0fd92936a406af315e62005fc3 /src/GF/Compile | |
| parent | 3d92897a944fef8f201b3ced837156b50c415106 (diff) | |
Replace Category with Type in the PGF API. Added readLanguage and showLanguage.
Diffstat (limited to 'src/GF/Compile')
| -rw-r--r-- | src/GF/Compile/GFCCtoJS.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
