gbranden pushed a commit to branch master
in repository groff.

commit 5e72c0b0cd9c100b90aead08529259a396f3ca51
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Aug 1 20:02:02 2026 -0500

    [tbl]: Clarify diagnostic messages.
    
    * src/preproc/tbl/main.cpp (process_format): Align terminology with our
      tbl(1) man page.
---
 ChangeLog                | 5 +++++
 src/preproc/tbl/main.cpp | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 10a40f5bd..2d0321cb2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2026-08-01  G. Branden Robinson <[email protected]>
+
+       * src/preproc/tbl/main.cpp (process_format): Clarify diagnostic
+       messages.  Align terminology with our tbl(1) man page.
+
 2026-07-25  Bruno Haible <[email protected]>
 
        [troff]: Fix Savannah #68583.
diff --git a/src/preproc/tbl/main.cpp b/src/preproc/tbl/main.cpp
index a79bbcc0f..730955197 100644
--- a/src/preproc/tbl/main.cpp
+++ b/src/preproc/tbl/main.cpp
@@ -874,7 +874,7 @@ static format *process_format(table_input &in, options *opt,
       default:
        if (c == opt->tab_char)
          break;
-       error("invalid column classifier '%1'", char(c));
+       error("expected column classifier, got '%1'", char(c));
        free_input_entry_format_list(list);
        list = 0 /* nullptr */;
        return 0 /* nullptr */;
@@ -893,7 +893,7 @@ static format *process_format(table_input &in, options *opt,
     if (vrule_count > 2) {
       vrule_count = 2;
       warning("ignoring excess vertical lines at beginning of row"
-             " description");
+             " definition");
     }
     list->vrule_count = vrule_count;
     // Now handle modifiers.

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

Reply via email to