diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-09-05 21:13:50 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-09-05 21:13:50 -0700 |
commit | 0534258780d495971bdae995c60002e231fe112a (patch) | |
tree | fc38201c7ed456b202112eedce1850755c6c6e34 /src | |
parent | e26ef34c043404e813b79117860ee44ea45e909e (diff) | |
download | pandoc-0534258780d495971bdae995c60002e231fe112a.tar.gz |
Roff reader: Better support for 'while'.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Readers/Roff.hs | 3 |
1 files changed, 3 insertions, 0 deletions
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 |