gbranden pushed a commit to branch master in repository groff. commit bc345d1afe5ef0f85bedb8eab7fee4dc2922d84b Author: G. Branden Robinson <g.branden.robin...@gmail.com> AuthorDate: Thu Mar 13 22:57:27 2025 -0500
ChangeLog: Correct erroneous entry. Thanks to Dave Kemper for the discussion in <https://lists.gnu.org/archive/html/groff/2025-03/msg00021.html>. --- ChangeLog | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0e76d5d1b..50f30c000 100644 --- a/ChangeLog +++ b/ChangeLog @@ -280,21 +280,23 @@ 2025-02-21 G. Branden Robinson <g.branden.robin...@gmail.com> - [troff]: Make it possible to retrieve information about a *roff - character without creating it as a side effect. + [troff]: Refactor; make *roff character lookup without + side-effect of creation it more explicit. (This way it's easier + to withdraw GNU troff's own `dictionary` class in the future in + favor of an STL container.) * src/roff/troff/charinfo.h (get_charinfo): * src/roff/troff/token.h (get_char): * src/roff/troff/input.cpp (get_charinfo_by_index): Add new `bool` argument `lookup_only`, defaulting `false`. * src/roff/troff/input.cpp: Use these new facilities. - (report_character_request): Prevent creation of each character - we look up. Improve diagnostics. Report information about - indexed characters (`\N'123'`) more intelligibly. - (remove_character): Prevent creation of each character we - remove. Intelligibly report nonexistence of characters for - which removal is attempted. Throw error when attempt is made to - remove a non-character, like `\~`. + (report_character_request): Explicitly prevent creation of each + character we look up. Improve diagnostics. Report information + about indexed characters (`\N'123'`) more intelligibly. + (remove_character): Explicitly prevent creation of each + character we remove. Intelligibly report nonexistence of + characters for which removal is attempted. Throw error when + attempt is made to remove a non-character, like `\~`. 2025-02-21 G. Branden Robinson <g.branden.robin...@gmail.com> _______________________________________________ groff-commit mailing list groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit