Skip to content

Commit aaef517

Browse files
committed
Minor renaming to avoid shadowing.
1 parent 481ff8a commit aaef517

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Text/Pandoc/Readers/RTF.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ parseRTF = do
207207
bs <- (case toks of
208208
-- if we start with {\rtf1...}, parse that and ignore
209209
-- what follows (which in certain cases can be non-RTF content)
210-
tok@(Tok _ (Grouped (Tok _ (ControlWord "rtf" (Just 1)) : _))) : _
211-
-> foldM processTok mempty [tok]
210+
rtftok@(Tok _ (Grouped (Tok _ (ControlWord "rtf" (Just 1)) : _))) : _
211+
-> foldM processTok mempty [rtftok]
212212
_ -> foldM processTok mempty toks)
213213
>>= emitBlocks
214214
unclosed <- closeContainers

0 commit comments

Comments
 (0)