remove trace

This commit is contained in:
kr_angelov
2007-01-11 19:19:46 +00:00
parent 1e6af79046
commit a886f7042b

View File

@@ -37,7 +37,6 @@ import qualified GF.Conversion.MCFGtoCFG as M2C
import GF.Infra.Print
import GF.System.Tracing
import qualified Debug.Trace as D
----------------------------------------------------------------------
-- * GFC -> MCFG & CFG, using options to decide which conversion is used
@@ -47,7 +46,7 @@ convertGFC :: Options -> (CanonGrammar, Ident)
convertGFC opts = \g -> let s = g2s g
e = s2e s
m = e2m e
in D.trace (show ((M.greatestAbstract (fst g),snd g))) $ trace2 "Options" (show opts) (s, (e, (m, e2c e)))
in trace2 "Options" (show opts) (s, (e, (m, e2c e)))
where e2c = M2C.convertGrammar
e2m = case getOptVal opts firstCat of
Just cat -> flip erasing [identC cat]