[bug #42675] [troff] \} treated as macro argument
"G. Branden Robinson" <[email protected]> Thu, 11 Jun 2026 18:37:02 -0400 (EDT)
| Newsgroups | gmane.comp.printing.groff.bugs |
|---|---|
| Message-ID | <[email protected]> |
Update of bug #42675 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #21:
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/?42675>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCais4jgAKCRCqLAuaBUf3 TrtEAP9tY/rlSv9TbXu4nrkabFTItM0LONS+pHIpjIdWo+/yXAEAkBpLTJRLCsux 6yZ2wRYww2ue7QNkUpqXGUgBMSw6nQ8= =e9p0 -----END PGP SIGNATURE-----