summaryrefslogtreecommitdiff
path: root/src/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-07-25 12:31:16 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-07-25 12:31:16 -0700
commit335cd5de4d785f09ae1c14e961df8c4137300252 (patch)
tree52810f2a87fb89571ad2036cc334bcda4c0c9f6e /src/pandoc.hs
parent0d4424c21c7d3d6da068a77750db72f61ff0e0cd (diff)
Moved stateTabStop to readerTabStop in ReaderOptions.
Diffstat (limited to 'src/pandoc.hs')
-rw-r--r--src/pandoc.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs
index fe7b54f9d..a3c01133c 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -936,8 +936,7 @@ main = do
then "."
else takeDirectory (head sources)
- let startParserState = def{ stateTabStop = tabStop,
- stateLiterateHaskell = "+lhs" `isSuffixOf` readerName' ||
+ let startParserState = def{ stateLiterateHaskell = "+lhs" `isSuffixOf` readerName' ||
lhsExtension sources,
stateStandalone = standalone',
stateCitations = map CSL.refId refs,
@@ -948,6 +947,7 @@ main = do
(laTeXOutput || writerName' == "context"))
, readerParseRaw = parseRaw
, readerColumns = columns
+ , readerTabStop = tabStop
},
stateIndentedCodeClasses = codeBlockClasses,
stateApplyMacros = not laTeXOutput