gbranden pushed a commit to branch master
in repository groff.

commit 7b18d389afd05df1b6626296a55adf9e1ab57c56
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Oct 4 01:24:47 2022 -0500

    [troff]: Improve diagnostic messages.
    
    * src/roff/troff/input.cpp (do_expr_test, do_zero_width): Use better
      terminology in diagnostic messages.
---
 ChangeLog                | 5 +++++
 src/roff/troff/input.cpp | 6 ++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 50e9e4c21..ba93821b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-10-04  G. Branden Robinson <[email protected]>
+
+       * src/roff/troff/input.cpp (do_expr_test, do_zero_width): Use
+       better terminology in diagnostic messages.
+
 2022-10-04  G. Branden Robinson <[email protected]>
 
        [troff]: Fix Savannah #63151.
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index fcf6b26c7..bbcf1d587 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -1558,7 +1558,8 @@ static int do_expr_test()
     tok.next();
     if (tok.is_newline() || tok.is_eof()) {
       warning(WARN_DELIM, "missing closing delimiter in"
-             " expression test escape (got %1)", tok.description());
+             " expression test escape sequence (got %1)",
+             tok.description());
       input_stack::push(make_temp_iterator("\n"));
       break;
     }
@@ -1616,7 +1617,8 @@ static node *do_zero_width()
     if (tok.is_newline() || tok.is_eof()) {
       if (tok != start)
        warning(WARN_DELIM, "missing closing delimiter in"
-               " zero-width escape (got %1)", tok.description());
+               " zero-width escape sequence (got %1)",
+               tok.description());
       // Synthesize an input line ending.
       input_stack::push(make_temp_iterator("\n"));
       break;

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

Reply via email to