Parsing: Removed failIfStrict.

This commit is contained in:
John MacFarlane 2012-07-26 22:20:44 -07:00
parent 33fdea67b5
commit 14c911ba06

View file

@ -48,7 +48,6 @@ module Text.Pandoc.Parsing ( (>>~),
withHorizDisplacement,
withRaw,
nullBlock,
failIfStrict,
failUnlessLHS,
escaped,
characterReference,
@ -392,10 +391,6 @@ withRaw parser = do
nullBlock :: Parsec [Char] st Block
nullBlock = anyChar >> return Null
-- | Fail if reader is in strict markdown syntax mode.
failIfStrict :: Parsec [a] ParserState ()
failIfStrict = getOption readerStrict >>= guard . not
-- | Fail unless we're in literate haskell mode.
failUnlessLHS :: Parsec [tok] ParserState ()
failUnlessLHS = getOption readerLiterateHaskell >>= guard