git.iko.soy/typeable/pandoc
on master help sign in
Parsing: Added stateMeta' to ParserState.
commitaf786829a0d64e373218f4c84c105796e9663b6f authorJohn MacFarlane <fiddlosopher@gmail.com> dateSun 18 Aug 2013, 16:22 (13 years ago) parent05cc3a5
1 file changed+2
src/Text/Pandoc/Parsing.hs+2
src/Text/Pandoc/Parsing.hs+2
@@ -801,6 +801,7 @@ data ParserState = ParserState
801801 stateNotes :: NoteTable, -- ^ List of notes (raw bodies)
802802 stateNotes' :: NoteTable', -- ^ List of notes (parsed bodies)
803803 stateMeta :: Meta, -- ^ Document metadata
804+ stateMeta' :: F Meta, -- ^ Document metadata
804805 stateHeaderTable :: [HeaderType], -- ^ Ordered list of header types used
805806 stateHeaders :: M.Map Inlines String, -- ^ List of headers and ids (used for implicit ref links)
806807 stateIdentifiers :: [String], -- ^ List of header identifiers used
@@ -834,6 +835,7 @@ defaultParserState =
834835 stateNotes = [],
835836 stateNotes' = [],
836837 stateMeta = nullMeta,
838+ stateMeta' = return nullMeta,
837839 stateHeaderTable = [],
838840 stateHeaders = M.empty,
839841 stateIdentifiers = [],