simple-config 1.2.1 → 1.2.2
raw patch · 2 files changed
+6/−3 lines, 2 files
Files
- Text/Config/Lib.hs +5/−2
- simple-config.cabal +1/−1
Text/Config/Lib.hs view
@@ -9,10 +9,13 @@ import qualified Data.ByteString.Char8 as BC comment :: Parser ()-comment = () <$ string "--" <* many (noneOf "\n")+comment = () <$ string "--" <* many (noneOf "\r\n") commentLine :: Parser ()-commentLine = () <$ (comment *> newline <|> newline)+commentLine = comment *> nl <|> nl++nl :: Parser ()+nl = () <$ try (string "\r\n") <|> () <$ char '\n' commentLines :: Parser () commentLines = () <$ many commentLine
simple-config.cabal view
@@ -1,5 +1,5 @@ Name: simple-config-Version: 1.2.1+Version: 1.2.2 Synopsis: Simple config file parser generator Description: Simple config file parser generator Homepage: https://github.com/yunomu/simple-config