Parse blanklines after macro definitions.
This commit is contained in:
parent
6b722d1b45
commit
f870777c36
1 changed files with 1 additions and 1 deletions
|
@ -876,7 +876,7 @@ table = multilineTable False <|> simpleTable True <|>
|
|||
-- | Parse a \newcommand or \renewcommand macro definition.
|
||||
macro :: GenParser Char ParserState Block
|
||||
macro = getState >>= guard . stateApplyMacros >>
|
||||
pMacroDefinition >>= addMacro >> return Null
|
||||
pMacroDefinition >>= addMacro >> blanklines >> return Null
|
||||
|
||||
-- | Add a macro to the list of macros in state.
|
||||
addMacro :: Macro -> GenParser Char ParserState ()
|
||||
|
|
Loading…
Add table
Reference in a new issue