src/man2hlp.in: support partly .RE macro.

To get rid of following warning

    man2hlp: Warning: unsupported command .RE in file "../../doc/man/mc.1" on line 4317

support at least 'break' feature for .RE macro

See https://www.gnu.org/software/groff/manual/html_node/Man-usage.html
    The macros RS and RE also cause a break but do not insert vertical space.

Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andreas Mohr 2019-01-13 15:57:30 +00:00 committed by Andrew Borodin
parent 54215184f5
commit 40b2681294

View File

@ -578,6 +578,10 @@ sub handle_command($)
{ {
return; return;
} }
elsif ($buffer eq ".RE")
{
newline;
}
else else
{ {
# Other commands are ignored # Other commands are ignored