parsers 0.8.1 → 0.8.2
raw patch · 2 files changed
+6/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Text.Parser.Token.Style: scalaCommentStyle :: CommentStyle
Files
- parsers.cabal +1/−1
- src/Text/Parser/Token/Style.hs +5/−0
parsers.cabal view
@@ -1,6 +1,6 @@ name: parsers category: Text, Parsing-version: 0.8.1+version: 0.8.2 license: BSD3 cabal-version: >= 1.10 license-file: LICENSE
src/Text/Parser/Token/Style.hs view
@@ -30,6 +30,7 @@ -- ** Common Comment Styles , emptyCommentStyle , javaCommentStyle+ , scalaCommentStyle , haskellCommentStyle , buildSomeSpaceParser -- * Identifier Styles@@ -92,6 +93,10 @@ -- | Use java-style comments javaCommentStyle :: CommentStyle javaCommentStyle = CommentStyle "/*" "*/" "//" False++-- | Use scala-style comments+scalaCommentStyle :: CommentStyle+scalaCommentStyle = CommentStyle "/*" "*/" "//" True -- | Use haskell-style comments haskellCommentStyle :: CommentStyle