cvs commit: fptools/ghc/compiler/compMan CmStaticInfo.lhs fptools/ghc/compiler/main ParsePkgConf.y Main.hs PackageMaintenance.hs

Simon Marlow simonmar@glass.cse.ogi.edu
Tue, 6 Mar 2001 03:23:46 -0800


simonmar    2001/03/06 03:23:46 PST

  Modified files:
    ghc/compiler/compMan CmStaticInfo.lhs 
    ghc/compiler/main    Main.hs PackageMaintenance.hs 
  Added files:
    ghc/compiler/main    ParsePkgConf.y 
  Log:
  - Add a Happy parser for the package config file.  This is faster and
    compiles to less code than the derived Read instance we had before.
  
  - Add a source_dirs field to the package spec.  This isn't used by
    GHC, because we currently assume all packages are compiled.  It could
    be used by Hugs, though.
  
  - Make unspecified fields of type [String] default to the empty list
    in a package spec.
  
  Revision  Changes    Path
  1.5       +29 -14    fptools/ghc/compiler/compMan/CmStaticInfo.lhs
  1.59      +9 -5      fptools/ghc/compiler/main/Main.hs
  1.7       +3 -1      fptools/ghc/compiler/main/PackageMaintenance.hs