packages feed

hasql-interpolate 0.1.0.0 → 0.1.0.1

raw patch · 4 files changed

+7/−3 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -3,3 +3,7 @@ ## 0.1.0.0 -- YYYY-mm-dd  * First version. Released on an unsuspecting world.++## 0.1.0.1 -- 2021-11-15++* Fixed bug in multiline parser
hasql-interpolate.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               hasql-interpolate-version:            0.1.0.0+version:            0.1.0.1  author: Travis Staton <hello@travisstaton.com> category: Hasql, Database, PostgreSQL
lib/Hasql/Interpolate/Internal/TH.hs view
@@ -161,7 +161,7 @@      multilineCommentEnd = do       void $ takeWhileP (Just "multiline comment") (\c -> c /= '*' && c /= '/')-      (multilineCommentBegin >> multilineCommentEnd) <|> void (chunk "*/")+      (multilineCommentBegin >> multilineCommentEnd) <|> void (chunk "*/") <|> (anySingle >> multilineCommentEnd)      escapedContent name terminal escapeChar escapeParser =       let loop sofar = do
test/Main.hs view
@@ -82,7 +82,7 @@       inputStr =         unlines           [ "content -- trailing comment",-            "hello /* comment */ world",+            "hello /* / comment * */ world",             "/* comment",             "blerg /* nested comment */",             "*/ end"