cvs commit: fptools/ghc/compiler/main DriverFlags.hs DriverMkDepend.hs DriverPipeline.hs DriverState.hs Main.hs fptools/ghc/compiler/ghci InteractiveUI.hs fptools/ghc/compiler/compMan CmLink.lhs CompManager.lhs

Simon Marlow simonmar@glass.cse.ogi.edu
Wed, 28 Mar 2001 03:01:20 -0800


simonmar    2001/03/28 03:01:20 PST

  Modified files:
    ghc/compiler/main    DriverFlags.hs DriverMkDepend.hs 
                         DriverPipeline.hs DriverState.hs Main.hs 
    ghc/compiler/ghci    InteractiveUI.hs 
    ghc/compiler/compMan CmLink.lhs CompManager.lhs 
  Log:
  Clean up GHC's error reporting.
  
    - the GhcException type has some more constructors: CmdLineError,
      UserError, and InstallationError.  OtherError has gone.
  
    - most error messages should begin with "<location>:".  When the
      error is on the command-line or in GHC itself, <location> is
      "ghc", for consistency with std Unix semantics.
  
    - GHCi no longer prints a superfluous "ghc: " before certain error
      messages.
  
  Revision  Changes    Path
  1.51      +3 -3      fptools/ghc/compiler/main/DriverFlags.hs
  1.8       +5 -6      fptools/ghc/compiler/main/DriverMkDepend.hs
  1.61      +10 -10    fptools/ghc/compiler/main/DriverPipeline.hs
  1.37      +3 -3      fptools/ghc/compiler/main/DriverState.hs
  1.62      +12 -7     fptools/ghc/compiler/main/Main.hs
  1.59      +13 -13    fptools/ghc/compiler/ghci/InteractiveUI.hs
  1.38      +1 -2      fptools/ghc/compiler/compMan/CmLink.lhs
  1.68      +12 -13    fptools/ghc/compiler/compMan/CompManager.lhs