Deprecate the -#include flag
[ghc-hetmet.git] / compiler / main / HscStats.lhs
index 52e396d..9b5b01c 100644 (file)
@@ -6,17 +6,16 @@
 \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
 import Outputable
 import SrcLoc
-import Char
 import Bag
 import Util
 import RdrName
+
+import Data.Char
 \end{code}
 
 %************************************************************************
@@ -121,7 +120,7 @@ ppSourceStats short (L _ (HsModule _ exports imports ldecls _ _ _))
     sig_info (InlineSig _ _)    = (0,0,0,1)
     sig_info _                  = (0,0,0,0)
 
-    import_info (L _ (ImportDecl _ _ qual as spec))
+    import_info (L _ (ImportDecl _ _ _ qual as spec))
        = add6 (1, qual_info qual, as_info as, 0,0,0) (spec_info spec)
     qual_info False  = 0
     qual_info True   = 1