gbranden pushed a commit to branch master
in repository groff.

commit e5de2e115371e43d484a3ed4b73768af02ac09b3
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Jan 30 18:30:45 2024 -0600

    [tbl]: Recast recently added diagnostic message.
    
    * src/preproc/tbl/table.cpp (table::add_entry): Do it.
---
 ChangeLog                 | 5 +++++
 src/preproc/tbl/table.cpp | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index bd728cef7..c173c5654 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-01-30  G. Branden Robinson <[email protected]>
+
+       * src/preproc/tbl/table.cpp (table::add_entry): Recast recently
+       added diagnostic message.
+
 2024-01-26  Deri James  <[email protected]>
 
        Changes to satisfy Savannah #65231.
diff --git a/src/preproc/tbl/table.cpp b/src/preproc/tbl/table.cpp
index 3459e9276..9f1268a5c 100644
--- a/src/preproc/tbl/table.cpp
+++ b/src/preproc/tbl/table.cpp
@@ -1583,7 +1583,7 @@ void table::add_entry(int r, int c, const string &str,
   }
   else if (strncmp(s, "\\R", 2) == 0) {
     if (len < 3) {
-      error("'\\R' requires a glyph to repeat");
+      error("an ordinary or special character must follow '\\R'");
       e = new empty_entry(this, f);
     }
     else {

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

Reply via email to