cvs commit: fptools/ghc/compiler/utils Panic.lhs

Simon Marlow simonmar@glass.cse.ogi.edu
Wed, 28 Mar 2001 08:45:35 -0800


simonmar    2001/03/28 08:45:35 PST

  Modified files:
    ghc/compiler/utils   Panic.lhs 
  Log:
  Clean up GHC's error reporting
  
    - the GhcException type has some more constructors: CmdLineError,
      ProgramError, 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.
  
  Revision  Changes    Path
  1.7       +28 -11    fptools/ghc/compiler/utils/Panic.lhs