summaryrefslogtreecommitdiff
path: root/src/GF/Conversion
diff options
context:
space:
mode:
authorpeb <unknown>2005-05-17 10:20:25 +0000
committerpeb <unknown>2005-05-17 10:20:25 +0000
commit9b42aff901a3b14aaaf113098d9640e66fe9e5a2 (patch)
tree9400d0e5fd802a717c7390ad36688af19ce22ca4 /src/GF/Conversion
parentfc11aeef6d389f9d5f02959272c5a8efdebb61b7 (diff)
"Committed_by_peb"
Diffstat (limited to 'src/GF/Conversion')
-rw-r--r--src/GF/Conversion/GFC.hs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/GF/Conversion/GFC.hs b/src/GF/Conversion/GFC.hs
index d0b3ea9d3..a2c2c9c91 100644
--- a/src/GF/Conversion/GFC.hs
+++ b/src/GF/Conversion/GFC.hs
@@ -4,9 +4,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
--- > CVS $Date: 2005/05/13 12:40:19 $
+-- > CVS $Date: 2005/05/17 11:20:25 $
-- > CVS $Author: peb $
--- > CVS $Revision: 1.9 $
+-- > CVS $Revision: 1.10 $
--
-- All conversions from GFC
-----------------------------------------------------------------------------
@@ -34,11 +34,13 @@ import qualified GF.Conversion.MCFGtoCFG as M2C
import GF.Infra.Print
+import GF.System.Tracing
+
----------------------------------------------------------------------
-- * GFC -> MCFG & CFG, using options to decide which conversion is used
gfc2mcfg2cfg :: Options -> (CanonGrammar, Ident) -> (MGrammar, CGrammar)
-gfc2mcfg2cfg opts = \g -> let e = g2e g in (e2m e, e2c e)
+gfc2mcfg2cfg opts = \g -> let e = g2e g in trace2 "Options" (show opts) (e2m e, e2c e)
where e2c = mcfg2cfg
e2m = case getOptVal opts firstCat of
Just cat -> flip removeErasing [identC cat]