gbranden pushed a commit to branch master
in repository groff.
commit 1bec81032564c39409e5f8012d279a37554a7305
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Sep 2 04:35:26 2024 -0500
[troff]: Clarify `sty` warning diagnostic message.
* src/roff/troff/node.cpp (associate_style_with_font_position): Do it.
---
ChangeLog | 5 +++++
src/roff/troff/node.cpp | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index bb54af3ba..b9c35ffe2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -60,6 +60,11 @@
* src/roff/troff/reg.cpp (define_register, alter_format)
(alias_reg): Add assertions for paranoia's sake.
+2024-09-02 G. Branden Robinson <[email protected]>
+
+ * src/roff/troff/node.cpp (associate_style_with_font_position):
+ Clarify warning diagnostic.
+
2024-09-02 G. Branden Robinson <[email protected]>
* src/roff/troff/input.cpp (define_color, device_request):
diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index cc995b842..84128bb82 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -6294,7 +6294,7 @@ static void associate_style_with_font_position()
else {
if (!has_arg())
warning(WARN_MISSING, "abstract style configuration request"
- " expects a second argument");
+ " expects a style name as second argument");
else {
symbol internal_name = get_name(true /* required */);
if (!internal_name.is_null())
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit