gbranden pushed a commit to branch master
in repository groff.

commit ba8c7f99d0be94f44992c935f9f08dfc7f95cd88
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Oct 18 13:06:27 2026 -0500

    src/roff/troff/input.cpp: Improve lf diagnostics.
    
    * src/roff/troff/input.cpp (line_file): Report request's function more
      clearly.
---
 src/roff/troff/input.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index c6508f713..206c2804b 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -7242,7 +7242,8 @@ static int get_file_line(const char **filename, int 
*lineno)
 static void line_file() // .lf
 {
   if (!has_arg()) {
-    warning(WARN_MISSING, "line and file name configuration request"
+    warning(WARN_MISSING,
+           "line and file name report configuration request"
            " expects at least one argument");
     skip_line();
     return;
@@ -7255,7 +7256,7 @@ static void line_file() // .lf
        ; // TODO: Add `reported_file_name` to file name set.
       else
        warning(WARN_SYNTAX, "ignoring empty file name argument"
-               " to line and file name configuration request");
+               " to line and file name report configuration request");
       (void) input_stack::set_location(reported_file_name, (n - 1));
       // No skip_line() here; we called read_rest_of_line_as_argument().
       tok.next();

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

Reply via email to