[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 08/17: [troff]: Fix Savannah #64937 (del composite char).
From: |
G. Branden Robinson |
Subject: |
[groff] 08/17: [troff]: Fix Savannah #64937 (del composite char). |
Date: |
Thu, 18 Jan 2024 14:27:50 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 2c76a931b81b1e22dd419c7027d3517325c23193
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Jan 17 14:02:28 2024 -0600
[troff]: Fix Savannah #64937 (del composite char).
* src/roff/troff/input.cpp (map_composite_character): Stop throwing
diagnostic message when `composite` request invoked with only one
argument. This has long worked just fine to delete a composite
character mapping. That is something a (rare) user might conceivably
want to do.
Fixes <https://savannah.gnu.org/bugs/?64937>.
---
ChangeLog | 10 ++++++++++
src/roff/troff/input.cpp | 2 --
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index dd2a20d21..e500142e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2024-01-17 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * src/roff/troff/input.cpp (map_composite_character): Stop
+ throwing diagnostic message when `composite` request invoked
+ with only one argument. This has long worked just fine to
+ delete a composite character mapping. That is something a
+ {rare} user might conceivably want to do.
+
+ Fixes <https://savannah.gnu.org/bugs/?64937>.
+
2024-01-17 G. Branden Robinson <g.branden.robinson@gmail.com>
[troff]: Implement new `pcomposite` request.
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index f30022831..0cbec2f4d 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -4150,8 +4150,6 @@ static void map_composite_character()
symbol to = get_name();
if (to.is_null()) {
composite_dictionary.remove(symbol(from_gn));
- warning(WARN_MISSING, "composite character request expects two"
- " arguments");
skip_line();
return;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 08/17: [troff]: Fix Savannah #64937 (del composite char).,
G. Branden Robinson <=