[project @ 2002-01-04 11:35:13 by simonmar]
authorsimonmar <unknown>
Fri, 4 Jan 2002 11:35:13 +0000 (11:35 +0000)
committersimonmar <unknown>
Fri, 4 Jan 2002 11:35:13 +0000 (11:35 +0000)
commit4d2d47a58fc4bae0a12fdb37a9460d02cc3ac978
tree61f5ecb351c46c0952bcaf63aeecf39eb88b07ad
parent0479b0cfbb0d8b526693dc6906ca19a585eb264f
[project @ 2002-01-04 11:35:13 by simonmar]
- rename CompManager.cmLoadModule to cmLoadModules and make it take
  a DynFlags argument to be consistent with the rest of the
  CompManager interface.

- split cmLoadModule into two parts: cmDepAnal which takes a list of
  filenames and returns a ModuleGraph, and cmLoadModules which takes
  the ModuleGraph and does the rest.  This lets the consumer know
  whether the dependency analysis step fails before unloading any
  existing modules - i.e. if you :reload and a module is missing, you
  don't lose the modules that are already loaded (bug reported by
  MIchael Weber some time ago).
ghc/compiler/main/Main.hs