cvs commit: fptools/libraries/Cabal/Distribution
PackageDescription.hs ParseUtils.hs
Krasimir Angelov
krasimir at haskell.org
Wed Mar 16 11:17:47 EST 2005
krasimir 2005/03/16 08:17:47 PST
Modified files:
libraries/Cabal/Distribution PackageDescription.hs
ParseUtils.hs
Log:
Small fixes in the parser/printer. When there is a package description with
executables only then the old implementation of pretty printer was written
to print empty "exposed-modules" field while there isn`t any library. After
that the parser will generate PackageDescription with (Just emptyLibrary)
instead of Nothing. Now exposed-modules field is printed only if
library /= Nothing
Revision Changes Path
1.47 +19 -11 fptools/libraries/Cabal/Distribution/PackageDescription.hs
1.18 +1 -1 fptools/libraries/Cabal/Distribution/ParseUtils.hs
More information about the Cvs-libraries
mailing list