[project @ 2001-03-28 11:01:19 by simonmar]
authorsimonmar <unknown>
Wed, 28 Mar 2001 11:01:19 +0000 (11:01 +0000)
committersimonmar <unknown>
Wed, 28 Mar 2001 11:01:19 +0000 (11:01 +0000)
commitf4eba96b198baf4499ca6ccd7242d9daa41337ac
treef1f725a796a65486cd2aecc336bf35cfb9b0aae4
parentf65a77e8c8de24a58e2c8461622a949f18eb0fb3
[project @ 2001-03-28 11:01:19 by simonmar]
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.
ghc/compiler/compMan/CmLink.lhs
ghc/compiler/compMan/CompManager.lhs
ghc/compiler/ghci/InteractiveUI.hs
ghc/compiler/main/DriverFlags.hs
ghc/compiler/main/DriverMkDepend.hs
ghc/compiler/main/DriverPipeline.hs
ghc/compiler/main/DriverState.hs
ghc/compiler/main/Main.hs