summaryrefslogtreecommitdiff
path: root/src/GF/UseGrammar/Custom.hs
diff options
context:
space:
mode:
authoraarne <unknown>2005-09-14 15:26:21 +0000
committeraarne <unknown>2005-09-14 15:26:21 +0000
commite3395efbf18757f16e32035f4259e47aced6da27 (patch)
tree2063c7a4c2625da63b14604385879c85aeb095ff /src/GF/UseGrammar/Custom.hs
parentb109bcaafad0cdcadd38831799346257aae76c17 (diff)
unpar
Diffstat (limited to 'src/GF/UseGrammar/Custom.hs')
-rw-r--r--src/GF/UseGrammar/Custom.hs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/GF/UseGrammar/Custom.hs b/src/GF/UseGrammar/Custom.hs
index e9a72f0f4..19af14984 100644
--- a/src/GF/UseGrammar/Custom.hs
+++ b/src/GF/UseGrammar/Custom.hs
@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
--- > CVS $Date: 2005/09/12 16:10:24 $
--- > CVS $Author: bringert $
--- > CVS $Revision: 1.72 $
+-- > CVS $Date: 2005/09/14 16:26:22 $
+-- > CVS $Author: aarne $
+-- > CVS $Revision: 1.73 $
--
-- A database for customizable GF shell commands.
--
@@ -81,6 +81,7 @@ import qualified GF.Conversion.GFC as Cnv
import qualified GF.Conversion.Types as CnvTypes
import qualified GF.Conversion.Haskell as CnvHaskell
import qualified GF.Conversion.Prolog as CnvProlog
+import GF.Canon.Unparametrize
import GF.Canon.GFC
import qualified GF.Canon.MkGFC as MC
@@ -258,6 +259,8 @@ customGrammarPrinter =
,(strCI "words", unwords . stateGrammarWords)
,(strCI "printnames", C.prPrintnamesGrammar . stateGrammarST)
,(strCI "stat", prStatistics . stateGrammarST)
+ ,(strCI "unpar", prCanon . unparametrizeCanon . stateGrammarST)
+
{- ----
(strCI "gf", prt . st2grammar . stateGrammarST) -- DEFAULT
,(strCI "canon", showCanon "Lang" . stateGrammarST)