packages feed

highlighting-kate 0.2.1 → 0.2.3

raw patch · 3 files changed

+12/−5 lines, 3 filesdep ~parsecPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: parsec

API changes (from Hackage documentation)

Files

Text/Highlighting/Kate.hs view
@@ -35,4 +35,4 @@ import Text.Highlighting.Kate.Syntax ( highlightAs, languages, languagesByExtension ) import Text.Highlighting.Kate.Definitions ( SourceLine, LabeledSource ) -highlightingKateVersion = "0.2.1"+highlightingKateVersion = "0.2.3"
Text/Highlighting/Kate/Common.hs view
@@ -28,6 +28,7 @@  normalizeHighlighting :: [LabeledSource] -> [LabeledSource] normalizeHighlighting [] = []+normalizeHighlighting ((_,""):xs) = normalizeHighlighting xs normalizeHighlighting ((a,x):(b,y):xs) | a == b = normalizeHighlighting ((a, x++y):xs) normalizeHighlighting (x:xs) = x : normalizeHighlighting xs 
highlighting-kate.cabal view
@@ -1,5 +1,5 @@ Name:                highlighting-kate-Version:             0.2.1+Version:             0.2.3 Cabal-Version:       >= 1.2 Build-Type:          Simple Category:            Text@@ -108,7 +108,7 @@     Build-Depends:   base >= 3, containers   else     Build-Depends:   base < 3-  Build-Depends:     parsec, pcre-light, xhtml+  Build-Depends:     parsec < 3, pcre-light, xhtml   Exposed-Modules:   Text.Highlighting.Kate                      Text.Highlighting.Kate.Syntax                      Text.Highlighting.Kate.Definitions@@ -169,14 +169,20 @@                      Text.Highlighting.Kate.Syntax.Xslt                      Text.Highlighting.Kate.Syntax.Yacc   Other-Modules:     Text.Highlighting.Kate.Common-  Ghc-Options:       -O2 -W+  Ghc-Options:       -W   Ghc-Prof-Options:  -auto-all+  -- the following line is needed to prevent gcc from consuming huge amounts of+  -- memory on platforms without a native code generator:+  Cc-Options:        -O0  Executable Highlight   Main-Is:          Highlight.hs   Build-Depends:    base, containers, xhtml, filepath-  Ghc-Options:      -O2 -W+  Ghc-Options:      -W   Ghc-Prof-Options: -auto-all+  -- the following line is needed to prevent gcc from consuming huge amounts of+  -- memory on platforms without a native code generator:+  Cc-Options:       -O0    if flag(executable)     Buildable:      True