Update of bug #67434 (group groff):
Status: Confirmed => In Progress
_______________________________________________________
Follow-up Comment #10:
Here's a fix.
`groff -m s -m hdtbl doc/ms.ms` doesn't work, but it now fails better,
throwing a bunch of diagnostic messages, exhausting the GNU _troff_ input
stack, and exiting the formatter. And it does so pretty quickly.
$ git diff
diff --git a/contrib/hdtbl/hdtbl.tmac b/contrib/hdtbl/hdtbl.tmac
index af2f224f9..e901a22b2 100644
--- a/contrib/hdtbl/hdtbl.tmac
+++ b/contrib/hdtbl/hdtbl.tmac
@@ -310,6 +310,10 @@ .de TR
.\" else like .TD
.de TH
. ft 1
+. if !\\n[t*#] \{\
+. tm \\n[.F]:\\n[.c]: Table heading (.TH) without preceding table start
(.TBL).
+. return
+. \}
. t*getarg hal \\$@
. if "\\*[hal]"" \
. ds hal c\"
I also see that I missed a spot with respect to bug #52463.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67434>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
