projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make dph-seq and dph-par wired-in packages
[ghc-hetmet.git]
/
compiler
/
main
/
HscStats.lhs
diff --git
a/compiler/main/HscStats.lhs
b/compiler/main/HscStats.lhs
index
d12831e
..
e717bfe
100644
(file)
--- a/
compiler/main/HscStats.lhs
+++ b/
compiler/main/HscStats.lhs
@@
-6,8
+6,6
@@
\begin{code}
module HscStats ( ppSourceStats ) where
\begin{code}
module HscStats ( ppSourceStats ) where
--- XXX This define is a bit of a hack, and should be done more nicely
-#define FAST_STRING_NOT_NEEDED 1
#include "HsVersions.h"
import HsSyn
#include "HsVersions.h"
import HsSyn
@@
-16,7
+14,6
@@
import SrcLoc
import Char
import Bag
import Util
import Char
import Bag
import Util
-import Pretty ( Doc )
import RdrName
\end{code}
import RdrName
\end{code}
@@
-27,7
+24,7
@@
import RdrName
%************************************************************************
\begin{code}
%************************************************************************
\begin{code}
-ppSourceStats :: Bool -> Located (HsModule RdrName) -> PprStyle -> Doc
+ppSourceStats :: Bool -> Located (HsModule RdrName) -> SDoc
ppSourceStats short (L _ (HsModule _ exports imports ldecls _ _ _))
= (if short then hcat else vcat)
(map pp_val
ppSourceStats short (L _ (HsModule _ exports imports ldecls _ _ _))
= (if short then hcat else vcat)
(map pp_val