From 0534258780d495971bdae995c60002e231fe112a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 5 Sep 2019 21:13:50 -0700 Subject: Roff reader: Better support for 'while'. --- src/Text/Pandoc/Readers/Roff.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/Text/Pandoc/Readers/Roff.hs b/src/Text/Pandoc/Readers/Roff.hs index 5ba5a28b9..5381b2a30 100644 --- a/src/Text/Pandoc/Readers/Roff.hs +++ b/src/Text/Pandoc/Readers/Roff.hs @@ -351,6 +351,9 @@ lexMacro = do "ie" -> lexConditional "ie" "if" -> lexConditional "if" "el" -> lexConditional "el" + "while" -> lexConditional "while" + -- this doesn't get the semantics right but + -- avoids parse errors _ -> do args <- lexArgs -- cgit v1.2.3