[bug #68510] [troff] cflags honors only the first character parameter since commit 3f0c81a0a7, 2026-05-24
"G. Branden Robinson" <[email protected]> Sat, 11 Jul 2026 21:19:40 -0400 (EDT)
| Newsgroups | gmane.comp.printing.groff.bugs |
|---|---|
| Message-ID | <[email protected]> |
Update of bug #68510 (group groff):
Status: None => In Progress
Assigned to: None => gbranden
Planned Release: None => 1.25.0
Summary: Regression: cflags honors only the first character
parameter => [troff] cflags honors only the first character parameter since
commit 3f0c81a0a7, 2026-05-24
_______________________________________________________
Follow-up Comment #4:
Thanks for the report.
3f0c81a0a7ea7ba59ccbe6382ba1b42861b54a0e is the first bad commit
commit 3f0c81a0a7ea7ba59ccbe6382ba1b42861b54a0e
Author: G. Branden Robinson <[email protected]>
Date: Sun May 24 22:54:37 2026 -0500
[troff]: Refactor `cflags` request handler.
* src/roff/troff/input.cpp (set_character_flags_request): Refactor; use
`token::is_any_character()` instead of `has_arg()` as loop control, in
preparation for firming-up of the semantics and logic of request
arguments to constitute space-separated lexical tokens, as our
documentation defines "argument".
ChangeLog | 8 ++++++++
src/roff/troff/input.cpp | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
With the foundation established in the solution to bug #68511, the fix for
this ticket is a one-liner.
New unit/regression test on the way, too.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68510>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCalLrrAAKCRCqLAuaBUf3 TirEAP9+7b2Qrqu2EnHtTLigwXCe5WVwzC+/Ag9zfWgcRGghrgD+M/5ETA5irFJP hlYmLh+BfSosv4B2KYF8bSSnfBIXpQk= =tQwO -----END PGP SIGNATURE-----