packages feed

tlex-th 0.2.0.1 → 0.3.0.0

raw patch · 2 files changed

+12/−11 lines, 2 filesdep +enummapset-thdep ~tlexdep ~tlex-corePVP ok

version bump matches the API change (PVP)

Dependencies added: enummapset-th

Dependency ranges changed: tlex, tlex-core

API changes (from Hackage documentation)

Files

src/Language/Lexer/Tlex/Output/TH.hs view
@@ -22,6 +22,7 @@  import qualified Data.Array                        as Array import qualified Data.Bits                         as Bits+import qualified Data.EnumMap.Strict               as EnumMap import qualified Data.IntMap.Strict                as IntMap import qualified GHC.Prim                          as Prim import qualified GHC.ST                            as ST@@ -29,7 +30,6 @@ import qualified Language.Haskell.TH               as TH import qualified Language.Haskell.TH.Syntax        as TH import qualified Language.Lexer.Tlex.Data.Bits     as Bits-import qualified Language.Lexer.Tlex.Data.EnumMap  as EnumMap import qualified Language.Lexer.Tlex.Machine.DFA   as DFA import qualified Language.Lexer.Tlex.Machine.State as MState import           Language.Lexer.Tlex.Runner@@ -51,8 +51,8 @@         do ST.ST \s0# -> case unitSize of             TlexTransStateSize8  -> case Prim.readWord8OffAddr# table# i# s0# of                 (# s1#, r# #) -> case r# of-                    255##   -> (# s1#, -1 #)-                    _       -> (# s1#, Types.I# do Prim.word2Int# r# #)+                    255## -> (# s1#, -1 #)+                    _     -> (# s1#, Types.I# do Prim.word2Int# r# #)             TlexTransStateSize16 -> case Prim.readWord16OffAddr# table# i# s0# of                 (# s1#, r# #) -> case r# of                     65535## -> (# s1#, -1 #)
tlex-th.cabal view
@@ -2,7 +2,7 @@ build-type:          Custom  name:                tlex-th-version:             0.2.0.1+version:             0.3.0.0 license:             Apache-2.0 OR MPL-2.0 license-file:        LICENSE copyright:           (c) 2021 Mizunashi Mana@@ -89,15 +89,16 @@             -dcore-lint      build-depends:-        base                 >= 4.12.0 && < 4.15,+        base                 >= 4.12.0  && < 4.15,          -- project depends-        tlex-core            >= 0.1.0 && < 0.3,-        tlex                 >= 0.1.0 && < 0.3,-        ghc-prim             >= 0.5.3 && < 0.7,-        template-haskell     >= 2.14.0 && < 2.17.0,-        array                >= 0.5.3 && < 0.6,-        containers           >= 0.6.0 && < 0.7,+        tlex-core            >= 0.3.0   && < 0.4,+        tlex                 >= 0.3.0   && < 0.4,+        ghc-prim             >= 0.5.3   && < 0.7,+        template-haskell     >= 2.14.0  && < 2.17.0,+        array                >= 0.5.3   && < 0.6,+        containers           >= 0.6.0   && < 0.7,+        enummapset-th        >= 0.6.0   && < 0.7,      autogen-modules:         Paths_tlex_th