-fno-code shouldn't be a mode.
authorLemmih <lemmih@gmail.com>
Sat, 18 Mar 2006 17:17:28 +0000 (17:17 +0000)
committerLemmih <lemmih@gmail.com>
Sat, 18 Mar 2006 17:17:28 +0000 (17:17 +0000)
commit4a3042fcc68554ef59966430d2c6f1b70470d222
treec6fa3d75afd0754bcbf47768c40283ca50c740b7
parent3eacdc7faf0d0e87a7201253f9f12c1fb4db7249
-fno-code shouldn't be a mode.

I've removed -fno-code from Main to make it work
equally well with --make and -c.
I've also allowed it not to write hi files unless
-fwrite-iface is given.
ghc/compiler/main/CodeOutput.lhs
ghc/compiler/main/DriverPipeline.hs
ghc/compiler/main/DynFlags.hs
ghc/compiler/main/HscMain.lhs
ghc/compiler/main/Main.hs