Removed unneeded 'try' in 'parseFromString'.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@928 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
da9271c258
commit
f10ac4359c
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ stringAnyCase (x:xs) = do
|
|||
|
||||
-- | Parse contents of 'str' using 'parser' and return result.
|
||||
parseFromString :: GenParser tok st a -> [tok] -> GenParser tok st a
|
||||
parseFromString parser str = try $ do
|
||||
parseFromString parser str = do
|
||||
oldInput <- getInput
|
||||
setInput str
|
||||
result <- parser
|
||||
|
|
Loading…
Reference in a new issue