summaryrefslogtreecommitdiff
path: root/src/GF/Speech/JSGF.hs
diff options
context:
space:
mode:
authorbjorn <bjorn@bringert.net>2008-09-30 09:32:16 +0000
committerbjorn <bjorn@bringert.net>2008-09-30 09:32:16 +0000
commit41c95825f331b075d1b7697f75485264b78db3b9 (patch)
tree7e402f97486735a14a92da100ef1cbdfc6f74c1b /src/GF/Speech/JSGF.hs
parent8716e48c21a61c8db9cae4a74fc1c3faa9ff085e (diff)
SRG conversion: print CFG when a unknown cat is found in renameCats. Do filtering in ebnf printer.
Diffstat (limited to 'src/GF/Speech/JSGF.hs')
-rw-r--r--src/GF/Speech/JSGF.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Speech/JSGF.hs b/src/GF/Speech/JSGF.hs
index dc9f4170a..171d859a4 100644
--- a/src/GF/Speech/JSGF.hs
+++ b/src/GF/Speech/JSGF.hs
@@ -32,7 +32,7 @@ width = 75
jsgfPrinter :: Maybe SISRFormat
-> PGF
-> CId -> String
-jsgfPrinter sisr pgf cnc = renderStyle st $ prJSGF sisr $ makeSimpleSRG pgf cnc
+jsgfPrinter sisr pgf cnc = renderStyle st $ prJSGF sisr $ makeNonLeftRecursiveSRG pgf cnc
where st = style { lineLength = width }
prJSGF :: Maybe SISRFormat -> SRG -> Doc