diff options
author | Alexander <ilabdsf@gmail.com> | 2019-01-01 08:41:21 +0300 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-12-31 21:41:21 -0800 |
commit | 792f18a7fa64773f7d8466740f8da5e434c2da4f (patch) | |
tree | b732d46ac8023872e42a0b94e4c05d7e44812c2d /src/Text/Pandoc/Readers/LaTeX | |
parent | ffc2192caffd101666dd6c793631798d7f22878f (diff) | |
download | pandoc-792f18a7fa64773f7d8466740f8da5e434c2da4f.tar.gz |
Remove unused HasHeaderMap (#5175)
It is updated by some readers, but never actually used.
Diffstat (limited to 'src/Text/Pandoc/Readers/LaTeX')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX/Parsing.hs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX/Parsing.hs b/src/Text/Pandoc/Readers/LaTeX/Parsing.hs index c5385bedc..9437c23d9 100644 --- a/src/Text/Pandoc/Readers/LaTeX/Parsing.hs +++ b/src/Text/Pandoc/Readers/LaTeX/Parsing.hs @@ -131,7 +131,6 @@ data LaTeXState = LaTeXState{ sOptions :: ReaderOptions , sQuoteContext :: QuoteContext , sMacros :: M.Map Text Macro , sContainers :: [String] - , sHeaders :: M.Map Inlines String , sLogMessages :: [LogMessage] , sIdentifiers :: Set.Set String , sVerbatimMode :: Bool @@ -153,7 +152,6 @@ defaultLaTeXState = LaTeXState{ sOptions = def , sQuoteContext = NoQuote , sMacros = M.empty , sContainers = [] - , sHeaders = M.empty , sLogMessages = [] , sIdentifiers = Set.empty , sVerbatimMode = False @@ -192,10 +190,6 @@ instance HasIncludeFiles LaTeXState where addIncludeFile f s = s{ sContainers = f : sContainers s } dropLatestIncludeFile s = s { sContainers = drop 1 $ sContainers s } -instance HasHeaderMap LaTeXState where - extractHeaderMap = sHeaders - updateHeaderMap f st = st{ sHeaders = f $ sHeaders st } - instance HasMacros LaTeXState where extractMacros st = sMacros st updateMacros f st = st{ sMacros = f (sMacros st) } |