From 41c95825f331b075d1b7697f75485264b78db3b9 Mon Sep 17 00:00:00 2001 From: bjorn Date: Tue, 30 Sep 2008 09:32:16 +0000 Subject: SRG conversion: print CFG when a unknown cat is found in renameCats. Do filtering in ebnf printer. --- src/GF/Speech/JSGF.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GF/Speech/JSGF.hs') 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 -- cgit v1.2.3