gbranden pushed a commit to branch master
in repository groff.

commit cd1b3c14fbf0eef540b9034f88ab521e5cc3658b
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Nov 24 00:40:07 2025 -0600

    [troff]: Adjust wording of `\Z` warning message.
    
    * src/roff/troff/input.cpp (do_zero_width_output): Adjust wording of
      warning diagnostic to describe the escape sequence consistently with
      other messages.
---
 ChangeLog                | 6 ++++++
 src/roff/troff/input.cpp | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index f24194c9c..5b5438bb8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-11-24  G. Branden Robinson <[email protected]>
+
+       * src/roff/troff/input.cpp (do_zero_width_output): Adjust
+       wording of warning diagnostic to describe the escape sequence
+       consistently with other messages.
+
 2025-11-24  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/input.cpp (do_overstrike, do_bracket)
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index 40ad5715e..a4f0a1b33 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -1890,7 +1890,7 @@ static node *do_zero_width_output() // \Z
   else if (want_att_compat
            && !start_token.is_usable_as_delimiter(false,
                  DELIMITER_ATT_STRING_EXPRESSION)) {
-    warning(WARN_DELIM, "zero-width sequence escape sequence"
+    warning(WARN_DELIM, "zero-width output escape sequence"
            " does not accept %1 as a delimiter",
            start_token.description());
     return 0 /* nullptr */;

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

Reply via email to