gbranden pushed a commit to branch master
in repository groff.

commit d7824cb7bafeb660b74061b57f804c6f2c6b230f
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Nov 23 18:57:42 2025 -0600

    [troff]: Revise `\o` delimiter warning text.
    
    * src/roff/troff/input.cpp (do_overstrike): Revise text of warnings in
      category "delim" thrown when an inauspicious delimiter is selected
      outside of compatibility mode.
---
 ChangeLog                | 1 +
 src/roff/troff/input.cpp | 5 ++---
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 71fdbbad5..3e0af3172 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2025-11-23  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/input.cpp
+       (do_overstrike)
        (do_width)
        (read_size):
        Revise text of warnings in category "delim" thrown when an
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index 966ae4bd0..d8afcbbdf 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -1629,9 +1629,8 @@ node *do_overstrike() // \o
   token start_token;
   start_token.next();
   if (!want_att_compat && !start_token.is_usable_as_delimiter())
-    warning(WARN_DELIM, "interpreting %1 as an escape sequence"
-           " delimiter; it is ambiguous because it can also begin a"
-           " numeric expression", start_token.description());
+    warning(WARN_DELIM, "using %1 as an escape sequence delimiter"
+                       " is deprecated", tok.description());
   else if (want_att_compat
            && !start_token.is_usable_as_delimiter(false,
                  DELIMITER_ATT_STRING_EXPRESSION)) {

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

Reply via email to