hpaco-lib 0.28.0.4 → 0.28.0.5
raw patch · 3 files changed
+5/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
Text/HPaco/Readers/Common.hs view
@@ -24,6 +24,7 @@ import Text.Parsec.String hiding (Parser) import Control.Monad.IO.Class import System.IO.Strict+import Data.Char type Parser s a = ParsecT String s IO a @@ -75,8 +76,8 @@ 'b' -> return '\b' 't' -> return '\t' 'u' -> do- ds <- count 4 digit- return . read $ "'\\u" ++ ds ++ "'"+ ds <- count 4 (digit <|> oneOf "abcdef")+ return . chr . read $ "0x" ++ ds otherwise -> return c2 discard :: Parser s a -> Parser s ()
Text/HPaco/Readers/Paco/Expressions.hs view
@@ -108,7 +108,7 @@ opStr <- foldl1 (<|>) $ map (try . string . fst) opMap let Just op = lookup opStr opMap return op- + postfix = try memberAccessPostfix <|> try indexPostfix <|> try functionCallPostfix
hpaco-lib.cabal view
@@ -1,5 +1,5 @@ name: hpaco-lib-version: 0.28.0.4+version: 0.28.0.5 synopsis: Modular template compiler library description: Template compiler library, compiles template code into PHP or Javascript, or interprets it directly.