cvs commit: fptools/ghc/compiler/coreSyn CoreLint.lhs fptools/ghc/compiler/main DriverMkDepend.hs DriverPipeline.hs ErrUtils.lhs GHC.hs Packages.lhs StaticFlags.hs SysTools.lhs

Krasimir Angelov krasimir at haskell.org
Tue Apr 5 05:06:38 EDT 2005


krasimir    2005/04/05 02:06:37 PDT

  Modified files:
    ghc/compiler/coreSyn CoreLint.lhs 
    ghc/compiler/main    DriverMkDepend.hs DriverPipeline.hs 
                         ErrUtils.lhs GHC.hs Packages.lhs 
                         StaticFlags.hs SysTools.lhs 
  Log:
  In many places there was a common pattern
  
  when (verbose >= n) $ putMsg "..."
  
  It is now replaced with
  
  debutTraceMsg dflags n "..."
  
  In few places hPutStrLn stderr or putStrLn was used instead of putMsg in
  the above pattern. They are replaced too. Now putMsg is used only in places
  where the verbosity flag was not checked.
  
  Revision  Changes    Path
  1.91      +1 -1      fptools/ghc/compiler/coreSyn/CoreLint.lhs
  1.47      +2 -3      fptools/ghc/compiler/main/DriverMkDepend.hs
  1.197     +8 -15     fptools/ghc/compiler/main/DriverPipeline.hs
  1.55      +3 -3      fptools/ghc/compiler/main/ErrUtils.lhs
  1.10      +16 -15    fptools/ghc/compiler/main/GHC.hs
  1.34      +3 -5      fptools/ghc/compiler/main/Packages.lhs
  1.3       +0 -1      fptools/ghc/compiler/main/StaticFlags.hs
  1.130     +9 -12     fptools/ghc/compiler/main/SysTools.lhs


More information about the Cvs-ghc mailing list