summaryrefslogtreecommitdiffhomepage
path: root/Parsers.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Parsers.hs')
-rw-r--r--Parsers.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parsers.hs b/Parsers.hs
index 78b4f3e..b969c8b 100644
--- a/Parsers.hs
+++ b/Parsers.hs
@@ -147,7 +147,7 @@ parseConfig = runParser parseConf fields "Config" . stripComments
pLowerOnStart = field lowerOnStart "lowerOnStart" $ tillFieldEnd >>= read' "lowerOnStart"
pCommands = field commands "commands" $ readCommands
- tillFieldEnd = many $ noneOf ",} \n\r"
+ tillFieldEnd = many $ noneOf ",}\n\r"
commandsEnd = wrapSkip (string "]") >> oneOf "},"
readCommands = manyTill anyChar (try commandsEnd) >>= read' commandsErr . flip (++) "]"