gbranden pushed a commit to branch master
in repository groff.

commit 752aec1cfb42f7f251a5aa26de0d5631418075fe
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Nov 9 06:50:29 2026 -0600

    src/preproc/tbl/main.cpp: Recast error diagnostic.
    
    * src/preproc/tbl/main.cpp (process format): Recast error diagnostic for
      clarity and to align it with the terminology we employ in tbl(1).
---
 ChangeLog                | 6 ++++++
 src/preproc/tbl/main.cpp | 3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index a7a936008..b36441331 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2026-11-09  G. Branden Robinson <[email protected]>
+
+       * src/preproc/tbl/main.cpp (process format): Recast error
+       diagnostic for clarity and to align it with the terminology we
+       employ in tbl(1).
+
 2026-11-09  G. Branden Robinson <[email protected]>
 
        * src/preproc/tbl/main.cpp (free_input_entry_format_list)
diff --git a/src/preproc/tbl/main.cpp b/src/preproc/tbl/main.cpp
index ca6e62df7..b33d5e736 100644
--- a/src/preproc/tbl/main.cpp
+++ b/src/preproc/tbl/main.cpp
@@ -1317,7 +1317,8 @@ static format *process_format(table_input &in, options 
*opt,
       break;
   }
   if (col >= ncolumns) {
-    error("last row of format is all lines");
+    error("final row definition in table description"
+         " cannot contain only horizontal rules ('-', '_', '=')");
     delete f;
     return 0 /* nullptr */;
   }

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

Reply via email to