[project @ 2001-03-28 16:51:02 by simonmar]
authorsimonmar <unknown>
Wed, 28 Mar 2001 16:51:03 +0000 (16:51 +0000)
committersimonmar <unknown>
Wed, 28 Mar 2001 16:51:03 +0000 (16:51 +0000)
commitda25d580440a2b6a30eabedff19e7a6970f35991
tree044d2e05e9e854f62f7f265c6d8fa4ebcf3b8a01
parent896b0afee6a8470a39a197365e4e074de3ae4073
[project @ 2001-03-28 16:51:02 by simonmar]
Cleaning up error reporting, 2nd attempt.

  - The UserError name is already bagged by Exception (for
    userErrors).  So we use ProgramError instead, which is
    more appropriate.

  - some previously UserErrors are now CmdLineErrors.  GHCi
    catches CmdLineErrors and prints them without the "ghc: "
    prefix.
ghc/compiler/compMan/CompManager.lhs
ghc/compiler/ghci/InteractiveUI.hs
ghc/compiler/main/DriverMkDepend.hs
ghc/compiler/main/DriverPipeline.hs