hscolour 1.20.1 → 1.20.2
raw patch · 3 files changed
+5/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- HsColour.hs +3/−2
- Language/Haskell/HsColour/Anchors.hs +1/−0
- hscolour.cabal +1/−1
HsColour.hs view
@@ -20,7 +20,8 @@ import System.IO (hSetEncoding, utf8) #endif -version = show MAJOR.MINOR+version :: String+version = show MAJOR ++"."++show MINOR optionTable :: [(String,Option)] optionTable = [ ("help", Help)@@ -84,7 +85,7 @@ ioWrapper (HSColour.hscolour output pref anchors partial title) where- writeResult outF s = do if null outF then putStr s+ writeResult outF s = do if null outF then putStrLn s else writeUTF8File (last outF) s exitSuccess fileInteract out ann inFs u
Language/Haskell/HsColour/Anchors.hs view
@@ -140,6 +140,7 @@ context :: [(TokenType, String)] -> [(TokenType, String)] context stream@((Keyglyph,"="):_) = stream context stream@((Keyglyph,"=>"):_) = stream+context stream@((Keyglyph,"⇒"):_) = stream context (_:stream) = context stream context [] = []
hscolour.cabal view
@@ -1,5 +1,5 @@ Name: hscolour-Version: 1.20.1+Version: 1.20.2 Copyright: 2003-2012 Malcolm Wallace; 2006 Bjorn Bringert Maintainer: Malcolm Wallace Author: Malcolm Wallace