packages feed

ghc-syntax-highlighter 0.0.5.0 → 0.0.6.0

raw patch · 3 files changed

+22/−5 lines, 3 filesdep ~basedep ~ghc-lib-parserPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, ghc-lib-parser

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+## GHC syntax highlighter 0.0.6.0++* Uses `ghc-lib-parser-8.10.x`.+ ## GHC syntax highlighter 0.0.5.0  * Uses `ghc-lib-parser`.
GHC/SyntaxHighlighter.hs view
@@ -31,9 +31,12 @@ import Data.Text (Text) import DynFlags import FastString (mkFastString)+import Fingerprint (fingerprint0) import GHC.LanguageExtensions+import GHC.Version (cProjectVersion) import SrcLoc import StringBuffer+import ToolSettings import qualified Data.Text as T import qualified EnumSet   as ES import qualified Lexer     as L@@ -131,6 +134,16 @@       , extensionFlags = ES.empty       , safeHaskell = Sf_Safe       , language = Just Haskell2010+      , ghcNameVersion = GhcNameVersion+        { ghcNameVersion_programName = "ghc"+        , ghcNameVersion_projectVersion = cProjectVersion+        }+      , fileSettings = FileSettings {}+      , toolSettings = ToolSettings+          { toolSettings_opt_P_fingerprint = fingerprint0+          , toolSettings_pgm_F = ""+          }+      , platformMisc = PlatformMisc {}       }  -- | Haskell lexer.
ghc-syntax-highlighter.cabal view
@@ -1,7 +1,7 @@ name:                 ghc-syntax-highlighter-version:              0.0.5.0+version:              0.0.6.0 cabal-version:        1.18-tested-with:          GHC==8.4.4, GHC==8.6.5, GHC==8.8.1+tested-with:          GHC==8.6.5, GHC==8.8.3, GHC==8.10.1 license:              BSD3 license-file:         LICENSE.md author:               Mark Karpov <markkarpov92@gmail.com>@@ -26,8 +26,8 @@   default:            False  library-  build-depends:      base             >= 4.11 && < 5.0-                    , ghc-lib-parser   == 8.8.1+  build-depends:      base             >= 4.12 && < 5.0+                    , ghc-lib-parser   >= 8.10 && < 8.11                     , text             >= 0.2  && < 1.3   exposed-modules:    GHC.SyntaxHighlighter   if flag(dev)@@ -43,7 +43,7 @@   main-is:            Spec.hs   hs-source-dirs:     tests   type:               exitcode-stdio-1.0-  build-depends:      base             >= 4.11 && < 5.0+  build-depends:      base             >= 4.12 && < 5.0                     , ghc-syntax-highlighter                     , text             >= 0.2  && < 1.3                     , hspec            >= 2.0  && < 3.0