[bug #68511] [troff] `hcode` doesn't work on ordinary characters since commit 994fcce775, 2026-05-24
"G. Branden Robinson" <[email protected]> Sat, 11 Jul 2026 19:27:43 -0400 (EDT)
| Newsgroups | gmane.comp.printing.groff.bugs |
|---|---|
| Message-ID | <[email protected]> |
Update of bug #68511 (group groff):
Summary: Regression: .hcode nonfunctional => [troff] `hcode`
doesn't work on ordinary characters since commit 994fcce775, 2026-05-24
_______________________________________________________
Follow-up Comment #4:
994fcce7752e98e42e8465d874eeff2613cc1415 is the first bad commit
commit 994fcce7752e98e42e8465d874eeff2613cc1415
Author: G. Branden Robinson <[email protected]>
Date: Sun May 24 22:59:16 2026 -0500
[troff]: Refactor `hcode` request handler.
* src/roff/troff/input.cpp (set_hyphenation_codes): Refactor in
preparation for firming-up of the semantics and logic of request
arguments to constitute space-separated lexical tokens, as our
documentation defines "argument". Call `token::skip_spaces()` when
"pumping" the input stream and govern the input-reading loop using
`token::is_newline()` and `token::is_eof()` instead of `has_arg()`.
ChangeLog | 10 ++++++++++
src/roff/troff/input.cpp | 9 +++++----
2 files changed, 15 insertions(+), 4 deletions(-)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68511>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCalLRbwAKCRCqLAuaBUf3 TpUrAPsFRo56CCjwD2n06W0E2ztrjyKsj6Zk7LrWKNckYF7KfwEA9vArdAshUxjq XevPLl9zGiXxypu4JwQeMgKKboegzw4= =F6aI -----END PGP SIGNATURE-----