LaTeX reader: Advance source position at end of stream.
This commit is contained in:
parent
e5abee82f2
commit
4debcf7bdc
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ satisfyTok f =
|
|||
| otherwise = Nothing
|
||||
updatePos :: SourcePos -> Tok -> [Tok] -> SourcePos
|
||||
updatePos _spos _ (Tok pos _ _ : _) = pos
|
||||
updatePos spos _ [] = spos
|
||||
updatePos spos _ [] = incSourceColumn spos 1
|
||||
|
||||
doMacros :: PandocMonad m => Int -> LP m ()
|
||||
doMacros n = do
|
||||
|
|
Loading…
Reference in a new issue