summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimonpj <unknown>2001-03-05 12:18:21 +0000
committersimonpj <unknown>2001-03-05 12:18:21 +0000
commitd14c46d36924cb16b5619c0ba37241324ca1c3bd (patch)
tree92f397f2c078840124e162c8868b85e0abf41c87
parente71eb9f04c7edb2bec5f4eb954f8d9cfa5062be2 (diff)
downloadhaskell-d14c46d36924cb16b5619c0ba37241324ca1c3bd.tar.gz
[project @ 2001-03-05 12:18:21 by simonpj]
Make error message more helpful
-rw-r--r--ghc/compiler/main/Main.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ghc/compiler/main/Main.hs b/ghc/compiler/main/Main.hs
index bfd2087681..1753cd3b7e 100644
--- a/ghc/compiler/main/Main.hs
+++ b/ghc/compiler/main/Main.hs
@@ -1,6 +1,6 @@
{-# OPTIONS -fno-warn-incomplete-patterns #-}
-----------------------------------------------------------------------------
--- $Id: Main.hs,v 1.57 2001/02/28 11:44:39 simonpj Exp $
+-- $Id: Main.hs,v 1.58 2001/03/05 12:18:21 simonpj Exp $
--
-- GHC Driver program
--
@@ -139,7 +139,7 @@ main =
else do am_inplace <- doesFileExist inplace_pkgconfig
if am_inplace
then writeIORef v_Path_package_config inplace_pkgconfig
- else throwDyn (OtherError "can't find package.conf")
+ else throwDyn (OtherError ("Can't find package.conf in " ++ inplace_pkgconfig))
-- set the location of our various files
if am_installed