[project @ 2003-06-05 10:11:22 by simonmar]
authorsimonmar <unknown>
Thu, 5 Jun 2003 10:11:22 +0000 (10:11 +0000)
committersimonmar <unknown>
Thu, 5 Jun 2003 10:11:22 +0000 (10:11 +0000)
commit2ce1b8d7517ca54f4b84a6636a1661a56871856f
tree2645719109802b483dab4f8f96a6a26f87647ab1
parent3a47678a35200aa4e225699428823f050b488f27
[project @ 2003-06-05 10:11:22 by simonmar]
- Fix a couple of bugs in yesterday's pipeline cleanup.

- Do some more tidying: share the code for filename generation between
  the two entry points to HscMain, and also share some of the other
  machinery in the Hsc phase.  This fixes some wibbles (things that
  were done in --make mode but not in one-shot, and vice-versa).

  One thing that works now is that if you say 'ghc -keep-hc-files Foo.hs',
  then it automatically switches to -fvia-C mode to generate the .hc file.
ghc/compiler/main/DriverPhases.hs
ghc/compiler/main/DriverPipeline.hs