diff options
author | Michal Terepeta <michal.terepeta@gmail.com> | 2010-01-30 22:44:52 +0100 |
---|---|---|
committer | Michal Terepeta <michal.terepeta@gmail.com> | 2010-01-30 22:44:52 +0100 |
commit | 23ac09baddf9727179422dc53f3068676e1798f4 (patch) | |
tree | 657f12367f7d9a074ad0e55728bf175265be434c | |
parent | 2519e7a2b858b205fe02538dd283d4e2e1ae1054 (diff) | |
download | xmobar-23ac09baddf9727179422dc53f3068676e1798f4.tar.gz xmobar-23ac09baddf9727179422dc53f3068676e1798f4.tar.bz2 |
Partial fix for issue 14.
Ignore-this: 93060e4b19a975843eaab1185af52545
darcs-hash:20100130214452-c9c37-5b222060fbac6ea2f470224da766c6c3577a7c37.gz
-rw-r--r-- | Parsers.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ textParser c = do s <- many1 $ -- accepts only parsers with return type Char. notFollowedBy' :: Parser a -> Parser b -> Parser a notFollowedBy' p e = do x <- p - notFollowedBy (e >> return '*') + notFollowedBy $ try (e >> return '*') return x -- | Parsers a string wrapped in a color specification. |