groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 09/11: [tbl]: Recast recently added diagnostic message.


From: G. Branden Robinson
Subject: [groff] 09/11: [tbl]: Recast recently added diagnostic message.
Date: Tue, 30 Jan 2024 21:28:29 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit e5de2e115371e43d484a3ed4b73768af02ac09b3
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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 <g.branden.robinson@gmail.com>
+
+       * src/preproc/tbl/table.cpp (table::add_entry): Recast recently
+       added diagnostic message.
+
 2024-01-26  Deri James  <deri@chuzzlewit.myzen.co.uk>
 
        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 {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]