groff-commit
[Top][All Lists]
Advanced

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

[groff] 03/17: [tbl]: Recast diagnostic message.


From: G. Branden Robinson
Subject: [groff] 03/17: [tbl]: Recast diagnostic message.
Date: Thu, 2 Feb 2023 04:24:36 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 1789b1c693180f8d71c179b34215fc530706277d
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Jan 30 09:09:40 2023 -0600

    [tbl]: Recast diagnostic message.
    
    * src/preproc/tbl/main.cpp (process_format): Recast diagnostic message
      to refer to character by its Unicode name and generalize to accurately
      cover additional circumstance of excess '|' symbols at end of row
      definition.
---
 ChangeLog                | 7 +++++++
 src/preproc/tbl/main.cpp | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 84b470d2d..268dbf7aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-01-30  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * src/preproc/tbl/main.cpp (process_format): Recast diagnostic
+       message to refer to character by its Unicode name and generalize
+       to accurately cover additional circumstance of excess '|'
+       symbols at end of row definition.
+
 2023-01-29  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * doc/ms.ms: Remove redundant initializations.
diff --git a/src/preproc/tbl/main.cpp b/src/preproc/tbl/main.cpp
index a8fa5a3f2..ed831e8bb 100644
--- a/src/preproc/tbl/main.cpp
+++ b/src/preproc/tbl/main.cpp
@@ -1125,7 +1125,7 @@ format *process_format(table_input &in, options *opt,
     } while (success);
     if (list->vline > 2) {
       list->vline = 2;
-      error("more than 2 vertical bars between column descriptors");
+      error("more than 2 vertical lines after column descriptor");
     }
     if (c == '\n' || c == ',') {
       is_first_row = false;



reply via email to

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