groff-commit
[Top][All Lists]
Advanced

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

[groff] 18/25: src/preproc/tbl/main.cpp: Clarify diagnostic.


From: G. Branden Robinson
Subject: [groff] 18/25: src/preproc/tbl/main.cpp: Clarify diagnostic.
Date: Wed, 2 Mar 2022 05:12:07 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit b9f42e475eb199d3b883b7f1aa4a9883e303b8ec
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Mar 1 20:04:22 2022 +1100

    src/preproc/tbl/main.cpp: Clarify diagnostic.
    
    * src/preproc/tbl/main.cpp (process_format): Update diagnostic to
      recognize that a font mounting position is also an acceptable argument
      to the 'f' column modifier.
---
 ChangeLog                | 6 ++++++
 src/preproc/tbl/main.cpp | 3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 04f40ec2..ffc1236d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-03-01  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * src/preproc/tbl/main.cpp (process_format): Update diagnostic
+       to recognize that a font mounting position is also an acceptable
+       argument to the 'f' column modifier.
+
 2022-02-27  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        Refactor X11 font description generation.  Integrate it with our
diff --git a/src/preproc/tbl/main.cpp b/src/preproc/tbl/main.cpp
index d847f34a..d6f8a987 100644
--- a/src/preproc/tbl/main.cpp
+++ b/src/preproc/tbl/main.cpp
@@ -901,7 +901,8 @@ format *process_format(table_input &in, options *opt,
          c = in.get();
        } while (c == ' ' || c == '\t');
        if (c == EOF) {
-         error("'f' column modifier missing font name");
+         error("'f' column modifier missing font name or mounting"
+               " position");
          break;
        }
        if (c == '(') {



reply via email to

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