summaryrefslogtreecommitdiff
path: root/src/GF/UseGrammar/Custom.hs
diff options
context:
space:
mode:
authorbringert <unknown>2005-10-31 15:48:08 +0000
committerbringert <unknown>2005-10-31 15:48:08 +0000
commit94f87d85023fc9b0e759600435e3c85cf31e3bc4 (patch)
tree6cabe12dfa5f46869aff5468d5a4b1a69f2d2c54 /src/GF/UseGrammar/Custom.hs
parent7c78f5e409c711740114385bcf655680c6a6dcef (diff)
Added SRGS XML grammar printer.
Diffstat (limited to 'src/GF/UseGrammar/Custom.hs')
-rw-r--r--src/GF/UseGrammar/Custom.hs10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/GF/UseGrammar/Custom.hs b/src/GF/UseGrammar/Custom.hs
index ee68c9b3c..9887a2371 100644
--- a/src/GF/UseGrammar/Custom.hs
+++ b/src/GF/UseGrammar/Custom.hs
@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
--- > CVS $Date: 2005/10/12 12:38:30 $
--- > CVS $Author: aarne $
--- > CVS $Revision: 1.78 $
+-- > CVS $Date: 2005/10/31 16:48:10 $
+-- > CVS $Author: bringert $
+-- > CVS $Revision: 1.79 $
--
-- A database for customizable GF shell commands.
--
@@ -57,6 +57,7 @@ import GF.Canon.MkGFC
import GF.CF.CFtoSRG
import GF.Speech.PrGSL (gslPrinter)
import GF.Speech.PrJSGF (jsgfPrinter)
+import GF.Speech.PrSRGS (srgsXmlPrinter)
import GF.Speech.PrSLF (slfPrinter,slfGraphvizPrinter,faGraphvizPrinter,regularPrinter)
import GF.Data.Zipper
@@ -242,6 +243,9 @@ customGrammarPrinter =
,(strCI "jsgf", \s -> let opts = stateOptions s
name = cncId s
in jsgfPrinter name opts $ stateCFG s)
+ ,(strCI "srgs_xml", \s -> let opts = stateOptions s
+ name = cncId s
+ in srgsXmlPrinter name opts $ stateCFG s)
,(strCI "slf", \s -> let opts = stateOptions s
name = cncId s
in slfPrinter name opts $ stateCFG s)