gbranden pushed a commit to branch master
in repository groff.

commit 23ee44a4a7a25aab0ca9045cb535a9ba826a294b
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Dec 15 18:54:34 2025 -0600

    src/roff/troff/input.cpp: Clarify comment.
---
 src/roff/troff/input.cpp | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index 980f9dedf..311352860 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -9187,14 +9187,15 @@ void abort_request()
   cleanup_and_exit(EXIT_FAILURE);
 }
 
-// Consume the rest of the input line in copy mode; if, after spaces,
-// the argument starts with a `"`, discard it, letting any immediately
-// subsequent spaces populate the returned string.
+// Consume the rest of the input line in copy mode and return it as a C
+// string; if, after spaces, the argument starts with a `"`, discard it,
+// letting any immediately subsequent spaces populate the returned
+// string.
 //
 // The caller must subsequently call `tok.next()` to advance the input
 // stream pointer.
 //
-// The caller has responsibility for `delete`ing the returned array.
+// The caller has responsibility for `delete`ing the returned buffer.
 char *read_rest_of_line_as_argument()
 {
   int buf_size = 256;

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

Reply via email to