Roff reader: Better support for 'while'.
commit0534258780d495971bdae995c60002e231fe112a
authorJohn MacFarlane <jgm@berkeley.edu>
dateThu 5 Sep 2019, 21:13 (7 years ago)
parente26ef34
src/Text/Pandoc/Readers/Roff.hs+3
@@ -351,6 +351,9 @@ lexMacro = do
351351 "ie" -> lexConditional "ie"
352352 "if" -> lexConditional "if"
353353 "el" -> lexConditional "el"
354+ "while" -> lexConditional "while"
355+ -- this doesn't get the semantics right but
356+ -- avoids parse errors
354357
355358 _ -> do
356359 args <- lexArgs