From 8fa41a130c9472b268a12d4079a89b24d88b15e3 Mon Sep 17 00:00:00 2001
From: Andreas Mohr <and@gmx.li>
Date: Sun, 13 Jan 2019 15:57:30 +0000
Subject: [PATCH] man2hlp.c: 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>
---
src/man2hlp/man2hlp.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/man2hlp/man2hlp.in b/src/man2hlp/man2hlp.in
index f0958304b..83a470729 100644
a
|
b
|
sub handle_command($) |
578 | 578 | { |
579 | 579 | return; |
580 | 580 | } |
| 581 | elsif ($buffer eq ".RE") |
| 582 | { |
| 583 | newline; |
| 584 | } |
581 | 585 | else |
582 | 586 | { |
583 | 587 | # Other commands are ignored |