gbranden pushed a commit to branch master
in repository groff.

commit e05e1ccc07c95203c992e563544f0eae0b1fad7c
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Nov 24 18:16:55 2025 -0600

    [troff]: Adjust wording of `do` warning message.
    
    * src/roff/troff/input.cpp (do_request): Adjust wording of warning
      diagnostic to better describe what the `do` request actually does.
---
 ChangeLog                | 6 ++++++
 src/roff/troff/input.cpp | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5b5438bb8..83d3db30b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-11-24  G. Branden Robinson <[email protected]>
+
+       * src/roff/troff/input.cpp (do_request): Adjust wording of
+       warning diagnostic to better describe what the `do` request
+       actually does.
+
 2025-11-24  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/input.cpp (do_zero_width_output): Adjust
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index a4f0a1b33..0e563df2a 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -3277,8 +3277,8 @@ std::stack<bool> want_att_compat_stack;
 void do_request()
 {
   if (!has_arg()) {
-    warning(WARN_MISSING, "compatibility mode interpretation request"
-           " expects a request or macro as argument");
+    warning(WARN_MISSING, "groff syntax interpretation request expects"
+           " a request or macro as argument");
     skip_line();
     return;
   }

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to