gbranden pushed a commit to branch master
in repository groff.

commit 752d016edb10e21839e9be5a1c86b978d0d37214
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Oct 16 23:44:50 2020 +1100

    src/preproc/tbl/main.cpp (main): Clarify error.
    
    Clarify fatal diagnostic in generated document by informing the user
    that the program is aborting, and also that it is groff extensions that
    are required rather than GNU troff per se (since Heirloom Doctools troff
    claims groff extension support via the .g register).
---
 src/preproc/tbl/main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/preproc/tbl/main.cpp b/src/preproc/tbl/main.cpp
index 2c2eaa1..f057089 100644
--- a/src/preproc/tbl/main.cpp
+++ b/src/preproc/tbl/main.cpp
@@ -1596,9 +1596,9 @@ int main(int argc, char **argv)
     default:
       assert(0);
     }
-  printf(".if !\\n(.g .ab GNU tbl requires GNU troff.\n"
         ".if !dTS .ds TS\n"
         ".if !dTE .ds TE\n");
+  printf(".if !\\n(.g .ab GNU tbl requires groff extensions; aborting\n"
   if (argc > optind) {
     for (int i = optind; i < argc; i++) 
       if (argv[i][0] == '-' && argv[i][1] == '\0') {

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

Reply via email to