aboutsummaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-15 15:00:17 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-15 15:00:17 +0100
commit2827570c6a6ec62f880a57d2a7db55e8363d2351 (patch)
tree119f8be02534b3bd3ddfced4cdb538288af08785 /benchmark
parent2235c2a8f78efead12e10f24823b452d86efcb2b (diff)
downloadpandoc-2827570c6a6ec62f880a57d2a7db55e8363d2351.tar.gz
Fixed weigh-pandoc so it compiles again.
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/weigh-pandoc.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmark/weigh-pandoc.hs b/benchmark/weigh-pandoc.hs
index bbb92445a..b4462d747 100644
--- a/benchmark/weigh-pandoc.hs
+++ b/benchmark/weigh-pandoc.hs
@@ -7,7 +7,7 @@ main = do
mainWith $ do
func "Pandoc document" id doc
mapM_
- (\(n,r) -> weighReader doc n (either (error . show) id . runPure . r def{ readerSmart = True }))
+ (\(n,r) -> weighReader doc n (either (error . show) id . runPure . r def{readerExtensions = pandocExtensions}))
[("markdown", readMarkdown)
,("html", readHtml)
,("docbook", readDocBook)
@@ -17,8 +17,8 @@ main = do
mapM_
(\(n,w) -> weighWriter doc n (either (error . show) id . runPure . w def))
[("markdown", writeMarkdown)
- ,("html", writeHtmlString)
- ,("docbook", writeDocbook)
+ ,("html", writeHtml5String)
+ ,("docbook", writeDocbook5)
,("latex", writeLaTeX)
,("commonmark", writeCommonMark)
]