groff-commit
[Top][All Lists]
Advanced

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

[groff] 122/122: [tbl]: Add "table" to in-page diagnostic message.


From: G. Branden Robinson
Subject: [groff] 122/122: [tbl]: Add "table" to in-page diagnostic message.
Date: Wed, 11 Nov 2020 02:59:45 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit fb52df3b263a8a9da5b0cc3bf04755e2b06935be
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Nov 11 18:18:41 2020 +1100

    [tbl]: Add "table" to in-page diagnostic message.
    
    * src/preproc/tbl/table.cpp (table::compute_separation_factor): Add word
      "table" to diagnostic message to better cue the user that it is
      produced by roff that has been injected into the document by the
      tbl(1) preprocessor.  The other 3 such possible diagnostic messages
      already do this.  Thanks to Bjarni Ingi Gislason for bringing the
      inconsistency to light.
    
    Fixes <https://savannah.gnu.org/bugs/?59443>.
---
 ChangeLog                 | 11 +++++++++++
 src/preproc/tbl/table.cpp |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index f88db02..bd1b17e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2020-11-11  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * src/preproc/tbl/table.cpp (table::compute_separation_factor):
+       Add word "table" to diagnostic message to better cue the user
+       that it is produced by roff that has been injected into the
+       document by the tbl(1) preprocessor.  The other 3 such possible
+       diagnostic messages already do this.  Thanks to Bjarni Ingi
+       Gislason for bringing the inconsistency to light.
+
+       Fixes <https://savannah.gnu.org/bugs/?59443>.
+
 2020-11-07  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * tmac/groff_mdoc.7.man (Predefined strings): Ensure the table
diff --git a/src/preproc/tbl/table.cpp b/src/preproc/tbl/table.cpp
index 8dbd4bc..4fdc7d6 100644
--- a/src/preproc/tbl/table.cpp
+++ b/src/preproc/tbl/table.cpp
@@ -2205,7 +2205,7 @@ void table::compute_separation_factor()
           ".EN\n"
           "..\n");
     prints(".tmc \\n[.F]: around line \\n[.c]: warning:\n"
-          ".tm1 \" column separation set to zero\n"
+          ".tm1 \" table column separation set to zero\n"
           ".nr " SEPARATION_FACTOR_REG " 0\n");
   }
   prints(".\\}\n"



reply via email to

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