diff options
| author | Paolo Capriotti <p.capriotti@gmail.com> | 2012-07-19 16:28:45 +0100 | 
|---|---|---|
| committer | Paolo Capriotti <p.capriotti@gmail.com> | 2012-07-19 16:49:32 +0100 | 
| commit | 6e8bc1dca77bbbc5743f63a2e8ea5b1eab0ed80c (patch) | |
| tree | 5f4ad32677af3e2b95e468e5bcab94c38e5d88e1 /src/Haddock/Interface/ParseModuleHeader.hs | |
| parent | 105f31e1b5b1428ae27590893740017327d322ff (diff) | |
| parent | 2a931d32cfdbd20d4da0cff6415a3aaf47823938 (diff) | |
Forward port changes from stable.
Diffstat (limited to 'src/Haddock/Interface/ParseModuleHeader.hs')
| -rw-r--r-- | src/Haddock/Interface/ParseModuleHeader.hs | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/Haddock/Interface/ParseModuleHeader.hs b/src/Haddock/Interface/ParseModuleHeader.hs index 35533d0d..411b6661 100644 --- a/src/Haddock/Interface/ParseModuleHeader.hs +++ b/src/Haddock/Interface/ParseModuleHeader.hs @@ -137,14 +137,14 @@ parseKey key toParse0 =                 (spaces1,cs1) = extractLeadingSpaces cs              in                 (c:spaces1,cs1) -         | True = ([],s) +         | otherwise = ([],s)        extractNextLine :: String -> (String,String)        extractNextLine [] = ([],[])        extractNextLine (c:cs)           | c == '\n' =              ([],cs) -         | True = +         | otherwise =              let                 (line,rest) = extractNextLine cs              in @@ -156,5 +156,5 @@ parseKey key toParse0 =        extractPrefix _ [] = Nothing        extractPrefix (c1:cs1) (c2:cs2)           | toUpper c1 == toUpper c2 = extractPrefix cs1 cs2 -         | True = Nothing +         | otherwise = Nothing | 
