cvs commit: fptools/libraries/Cabal/Distribution InstalledPackageInfo.hs PackageDescription.hs ParseUtils.hs

Simon Marlow simonmar at haskell.org
Fri Feb 18 11:53:35 EST 2005


simonmar    2005/02/18 08:53:34 PST

  Modified files:
    libraries/Cabal/Distribution InstalledPackageInfo.hs 
                                 PackageDescription.hs 
                                 ParseUtils.hs 
  Log:
  Clean up parsing & pretty-printing.
  
  Most list fields now have consistent syntax:
  
    - commas are optional
    - each element of the list is either
  	- a sequence of one or more non-space non-comma characters
  	- a quoted string in Haskell 98 lexical syntax
  
  The build-depends field still requires commas, because the elements
  can contain whitespace.
  
  I merged fieldGet/fieldShow in StanzaField into a single field for
  simplicity.
  
  Revision  Changes    Path
  1.17      +15 -12    fptools/libraries/Cabal/Distribution/InstalledPackageInfo.hs
  1.40      +19 -17    fptools/libraries/Cabal/Distribution/PackageDescription.hs
  1.16      +29 -29    fptools/libraries/Cabal/Distribution/ParseUtils.hs


More information about the Cvs-libraries mailing list