Cleaned up Text/Pandoc/CharacterReferences.hs to avoid -Wall warnings.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1289 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
18e44501a7
commit
24c1d71a37
1 changed files with 2 additions and 2 deletions
|
@ -38,9 +38,9 @@ import qualified Data.Map as Map
|
||||||
-- | Parse character entity.
|
-- | Parse character entity.
|
||||||
characterReference :: GenParser Char st Char
|
characterReference :: GenParser Char st Char
|
||||||
characterReference = try $ do
|
characterReference = try $ do
|
||||||
st <- char '&'
|
char '&'
|
||||||
character <- numRef <|> entity
|
character <- numRef <|> entity
|
||||||
end <- char ';'
|
char ';'
|
||||||
return character
|
return character
|
||||||
|
|
||||||
numRef :: GenParser Char st Char
|
numRef :: GenParser Char st Char
|
||||||
|
|
Loading…
Reference in a new issue