summaryrefslogtreecommitdiff
path: root/src/GF/Speech/PrGSL.hs
diff options
context:
space:
mode:
authorbringert <unknown>2005-06-17 11:46:04 +0000
committerbringert <unknown>2005-06-17 11:46:04 +0000
commit05b5ffe5bf03a870f6fe0728ace6c0d8de69b89e (patch)
tree18298275e8397f200013b6aec8ee38bbd93e32b1 /src/GF/Speech/PrGSL.hs
parent30e3a8fd991c7bad3d21b03749d6a8a0e7a7f8e5 (diff)
Added beginnings of ATK SLF generation.
Diffstat (limited to 'src/GF/Speech/PrGSL.hs')
-rw-r--r--src/GF/Speech/PrGSL.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/GF/Speech/PrGSL.hs b/src/GF/Speech/PrGSL.hs
index 14fb4c58e..8ddf0a521 100644
--- a/src/GF/Speech/PrGSL.hs
+++ b/src/GF/Speech/PrGSL.hs
@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
--- > CVS $Date: 2005/04/21 16:23:31 $
+-- > CVS $Date: 2005/06/17 12:46:04 $
-- > CVS $Author: bringert $
--- > CVS $Revision: 1.18 $
+-- > CVS $Revision: 1.19 $
--
-- This module prints a CFG as a Nuance GSL 2.0 grammar.
--
@@ -18,6 +18,7 @@
module GF.Speech.PrGSL (gslPrinter) where
import GF.Speech.SRG
+import GF.Speech.TransformCFG
import GF.Infra.Ident
import GF.Formalism.CFG
@@ -31,7 +32,7 @@ import Data.Char (toUpper,toLower)
gslPrinter :: Ident -- ^ Grammar name
-> Options -> CGrammar -> String
gslPrinter name opts cfg = prGSL srg ""
- where srg = makeSRG name opts cfg
+ where srg = makeSRG name opts (makeNice cfg)
prGSL :: SRG -> ShowS
prGSL (SRG{grammarName=name,startCat=start,origStartCat=origStart,rules=rs})