gbranden pushed a commit to branch master
in repository groff.

commit 69b575a4e5bfabd7eaf4fd4fd5debb1640a84082
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Dec 17 16:22:44 2025 -0600

    src/roff/troff/input.cpp: Annotate code.
---
 src/roff/troff/input.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index 99334b9fc..75553ec89 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -2790,6 +2790,7 @@ bool token::operator!=(const token &t)
 // doesn't tokenize it) and accepts a user-specified delimiter.
 static bool is_char_usable_as_delimiter(int c)
 {
+  // Reject all characters that can validly begin a numeric expression.
   switch (c) {
   case '0':
   case '1':

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

Reply via email to