gbranden pushed a commit to branch master
in repository groff.
commit fb52df3b263a8a9da5b0cc3bf04755e2b06935be
Author: G. Branden Robinson <[email protected]>
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 <[email protected]>
+
+ * 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 <[email protected]>
* 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"
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit