fix extensions extraction from Cabal buildinfo

This commit is contained in:
Bin Jin 2012-03-19 22:52:46 +08:00
parent bf7d79773a
commit 766dc26a33

View File

@ -64,7 +64,7 @@ parseCabalFile file = do
-- SourceDirs, Extensions, and Language -- SourceDirs, Extensions, and Language
extractBuildInfo :: BuildInfo -> ([String],[Extension],Maybe Language) extractBuildInfo :: BuildInfo -> ([String],[Extension],Maybe Language)
extractBuildInfo binfo = (hsSourceDirs binfo extractBuildInfo binfo = (hsSourceDirs binfo
,oldExtensions binfo ,usedExtensions binfo
,defaultLanguage binfo) ,defaultLanguage binfo)
---------------------------------------------------------------- ----------------------------------------------------------------