Roff reader: Fix problem parsing comments before macro.

This commit is contained in:
John MacFarlane 2019-09-04 10:55:56 -07:00
parent 4967fd4208
commit e7b8728ad2

View file

@ -42,7 +42,6 @@ import Text.Pandoc.Options
import Text.Pandoc.Parsing
import Text.Pandoc.Shared (safeRead, substitute)
import Text.Parsec hiding (tokenPrim)
import qualified Text.Parsec as Parsec
import Text.Pandoc.RoffChar (characterCodes, combiningAccents)
import qualified Data.Sequence as Seq
import qualified Data.Foldable as Foldable
@ -335,7 +334,6 @@ escFont = do
lexComment :: PandocMonad m => RoffLexer m RoffTokens
lexComment = do
try $ string ".\\\""
many Parsec.space
skipMany $ noneOf "\n"
eofline
return mempty