Show CmdLineError exceptions as "<command line>: ..."
authorSimon Marlow <simonmar@microsoft.com>
Wed, 23 Jan 2008 16:31:45 +0000 (16:31 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 23 Jan 2008 16:31:45 +0000 (16:31 +0000)
commitdb0591be8928dbe75e8b804f2ae95728a6074b7e
treed34b2d66af41e79036329cb02711b54630046ab2
parentbc81a6a5d88d4e7cfe4489755c2a17e416472788
Show CmdLineError exceptions as "<command line>: ..."
instead of something like "ghc-6.8.2: ...", which causes problems in
the test suite.  In any case, "<command line>" seems a more
appropriate context for these errors, the only question is whether
we're using CmdLineError incorrectly anywhere.
compiler/utils/Panic.lhs