gbranden pushed a commit to branch master
in repository groff.

commit e8a2e6fe69e6955e28d15b534cba71547da28183
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Aug 7 03:03:05 2024 -0500

    src/roff/troff/input.cpp: Drop misleading comment.
    
    `cdst` can equal zero if it is _any_ kind of escape sequence, not just a
    special character.
---
 src/roff/troff/input.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index 0d6e4e09a..83bd7ed3d 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -7291,7 +7291,7 @@ static void set_hyphenation_codes()
       break;
     }
     charinfo *cidst = tok.get_char();
-    if (0 == cdst) { // destination character is special
+    if (0 == cdst) {
       if (0 /* nullptr */ == cidst) {
        error("expected ordinary or special character, got %1",
              tok.description());

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

Reply via email to