[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/1.0.2-1-4-gb0d6b36

John Goerzen jgoerzen at complete.org
Fri Apr 23 14:58:05 UTC 2010


The following commit has been merged in the master branch:
commit a8c65b514ddf974b8f444b1f05aa058dfa8abab5
Author: John Goerzen <jgoerzen at complete.org>
Date:   Tue Apr 19 07:43:56 2005 +0100

    Fixed braino

diff --git a/MissingH/Debian/ControlParser.hs b/MissingH/Debian/ControlParser.hs
index 47ff15f..86eebda 100644
--- a/MissingH/Debian/ControlParser.hs
+++ b/MissingH/Debian/ControlParser.hs
@@ -55,14 +55,14 @@ entry = do key <- many1 (noneOf ":\r\n")
 
 {- | Main parser for the control file -}
 control :: CharParser [(String, String)]
-control = do many0 header
+control = do many header
              retval <- many entry
              return retval
 
 headerPGP = do string "-----BEGIN PGP"
                manyTill (noneOf "\r\n") eol
                return ()
-blankLine = do many0 (oneOf " \t")
+blankLine = do many (oneOf " \t")
                eol
                return ()
 headerHash = do string "Hash: "

-- 
haskell-testpack



More information about the Pkg-haskell-commits mailing list