1
0
forked from GitHub/gf-core

Workaround a ghc 6.8.2 bug

This commit is contained in:
bernardy
2007-12-17 10:15:20 +00:00
parent 83159c434b
commit 701c57f25a

View File

@@ -34,6 +34,9 @@ prCFTree (CFTree (fun, (_,trees))) = prCFFun fun ++ prs trees where
prs ts = " " ++ unwords (map ps ts)
ps t@(CFTree (_,(_,[]))) = prCFTree t
ps t = prParenth (prCFTree t)
{-# NOINLINE prCFTree #-}
-- Workaround ghc 6.8.2 bug
prCFRule :: CFRule -> String
prCFRule (fun,(cat,its)) =