1
0
forked from GitHub/gf-core

Comment out tracing in CanonToGFCC. It produces lots of junk when generating SRGs.

This commit is contained in:
bringert
2007-06-27 15:39:42 +00:00
parent 6bd9a9faaf
commit 0bf61ef626

View File

@@ -175,7 +175,7 @@ canon2canon :: CanonGrammar -> CanonGrammar
canon2canon = recollect . map cl2cl . repartition where
recollect =
M.MGrammar . nubBy (\ (i,_) (j,_) -> i==j) . concatMap M.modules
cl2cl cg = tr $ M.MGrammar $ map c2c $ M.modules cg where
cl2cl cg = {-tr $-} M.MGrammar $ map c2c $ M.modules cg where
c2c (c,m) = case m of
M.ModMod mo@(M.Module _ _ _ _ _ js) ->
(c, M.ModMod $ M.replaceJudgements mo $ mapTree j2j js)