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
Description: PGP signature
