aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Parsing.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/Text/Pandoc/Parsing.hs
parent0d4424c21c7d3d6da068a77750db72f61ff0e0cd (diff)
downloadpandoc-335cd5de4d785f09ae1c14e961df8c4137300252.tar.gz
Moved stateTabStop to readerTabStop in ReaderOptions.
Diffstat (limited to 'src/Text/Pandoc/Parsing.hs')
-rw-r--r--src/Text/Pandoc/Parsing.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Parsing.hs b/src/Text/Pandoc/Parsing.hs
index 2d7c4eb81..3d7057936 100644
--- a/src/Text/Pandoc/Parsing.hs
+++ b/src/Text/Pandoc/Parsing.hs
@@ -544,7 +544,6 @@ tableWith headerParser rowParser lineParser footerParser = try $ do
(heads, aligns, indices) <- headerParser
lines' <- rowParser indices `sepEndBy1` lineParser
footerParser
- state <- getState
numColumns <- getOption readerColumns
let widths = if (indices == [])
then replicate (length aligns) 0.0
@@ -696,7 +695,6 @@ data ParserState = ParserState
stateKeys :: KeyTable, -- ^ List of reference keys
stateCitations :: [String], -- ^ List of available citations
stateNotes :: NoteTable, -- ^ List of notes
- stateTabStop :: Int, -- ^ Tab stop
stateStandalone :: Bool, -- ^ Parse bibliographic info?
stateTitle :: [Inline], -- ^ Title of document
stateAuthors :: [[Inline]], -- ^ Authors of document
@@ -729,7 +727,6 @@ defaultParserState =
stateKeys = M.empty,
stateCitations = [],
stateNotes = [],
- stateTabStop = 4,
stateStandalone = False,
stateTitle = [],
stateAuthors = [],