cvs commit: fptools/ghc/compiler/main HscMain.lhs CmdLineOpts.lhs ErrUtils.lhs Main.lhs

Simon Marlow simonmar@glass.cse.ogi.edu
Tue, 10 Oct 2000 06:20:38 -0700


simonmar    2000/10/10 06:20:38 PDT

  Modified files:
    ghc/compiler/main    CmdLineOpts.lhs ErrUtils.lhs 
  Added files:
    ghc/compiler/main    HscMain.lhs 
  Removed files:
    ghc/compiler/main    Main.lhs 
  Log:
  Main is now HscMain: this will transform eventually into the
  compiler's entry point.
  
  CmdLineOpts now separates flags into static flags and dynamic flags;
  dynamic flags will be passed around explicitly and can therefore
  change from compilation to compilation.  All the dump flags and a few
  language flags (like -fglasgow-exts) are currently DynFlags.
  
  NOTE: nothing will now compile, for a long while until we get all this
  connected up.  This commit is so that we start pulling in the same
  direction.
  
  Revision  Changes    Path
  1.97      +192 -114  fptools/ghc/compiler/main/CmdLineOpts.lhs
  1.24      +1 -1      fptools/ghc/compiler/main/ErrUtils.lhs