[bug #68430] [PATCH] [troff] incorrectly handles right braces in macro call arguments
"G. Branden Robinson" <[email protected]> Thu, 11 Jun 2026 18:36:05 -0400 (EDT)
| Newsgroups | gmane.comp.printing.groff.bugs |
|---|---|
| Message-ID | <[email protected]> |
Update of bug #68430 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.25.0
_______________________________________________________
Follow-up Comment #1:
commit 3f6b3328fa0c8b4d7544906ed0630274b8d036da
Author: G. Branden Robinson <[email protected]>
Date: Sun Jun 7 11:31:17 2026 -0500
[groff]: Regression-test Savannah #68430.
* src/roff/groff/tests/handle-right-brace-escape-as-macro-argument.sh:
Do it.
* src/roff/groff/groff.am (groff_TESTS): Run test.
Test fails at this commit.
commit 106f3b48121a369b801fa630e4e4e1d0b7c2a1ff
Author: G. Branden Robinson <[email protected]>
Date: Sun Jun 7 11:34:50 2026 -0500
[troff]: Fix Savannah #68430.
* src/roff/troff/input.cpp (decode_macro_call_arguments): Handle
right-brace escape sequences in macro arguments consistently with past
groffs, and Solaris 10, DWB 3.3, and Heirloom Doctools troffs (but not
_quite_ like Plan 9 troff, whose macro argument handling differs from
all the others).
Fixes <https://savannah.gnu.org/bugs/?68430>. Problem introduced by me
in commit ebf943aa66, 2026-04-20.
Also completes fixing <https://savannah.gnu.org/bugs/?42675>.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68430>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCais4VQAKCRCqLAuaBUf3 TtlIAQCo2gZSH8oNw1aolbFIU0QN7qaP21hfo+CmJStCW4KL1AD/ZzCdWxwIJ2l3 fDkh0zWQLp9LE2DM3JGssIR26XltWQE= =cc4G -----END PGP SIGNATURE-----