diff options
author | simonmar <unknown> | 2004-01-08 10:45:33 +0000 |
---|---|---|
committer | simonmar <unknown> | 2004-01-08 10:45:33 +0000 |
commit | c0c05bb3fbfdd1a82bccdcbc34c77a4927c99316 (patch) | |
tree | a5a817c3e48dd8508e510c92510b7478fd26280b /ghc/compiler/compMan | |
parent | 6d015ec9d9bd48285eee36039a9bf3ceb42c7f06 (diff) | |
download | haskell-c0c05bb3fbfdd1a82bccdcbc34c77a4927c99316.tar.gz |
[project @ 2004-01-08 10:45:33 by simonmar]
Fix warning message about missing Main module to refer to take into
account the -main-is flag.
Diffstat (limited to 'ghc/compiler/compMan')
-rw-r--r-- | ghc/compiler/compMan/CompManager.lhs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/compiler/compMan/CompManager.lhs b/ghc/compiler/compMan/CompManager.lhs index cfea2b88a0..c4c1913a6a 100644 --- a/ghc/compiler/compMan/CompManager.lhs +++ b/ghc/compiler/compMan/CompManager.lhs @@ -576,7 +576,7 @@ cmLoadModules cmstate1 mg2unsorted let do_linking = a_root_is_Main || no_hs_main when (ghci_mode == Batch && isJust ofile && not do_linking && verb > 0) $ - hPutStrLn stderr "Warning: output was redirected with -o, but no output will be generated\nbecause there is no Main module." + hPutStrLn stderr ("Warning: output was redirected with -o, but no output will be generated\nbecause there is no " ++ main_mod ++ " module.") -- link everything together linkresult <- link ghci_mode dflags do_linking (hsc_HPT hsc_env3) |