groff-commit
[Top][All Lists]
Advanced

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

[groff] 17/24: src/roff/troff/input.cpp: Clarify comment.


From: G. Branden Robinson
Subject: [groff] 17/24: src/roff/troff/input.cpp: Clarify comment.
Date: Mon, 2 Dec 2024 22:52:30 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 8c86db3d6a8b397e4e16b996e73720bfc277f164
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Dec 2 16:20:38 2024 -0600

    src/roff/troff/input.cpp: Clarify comment.
    
    $ printf '\\l91n+2n\\&*9\n' | DWBHOME=~/dwb ~/dwb/bin/nroff | cat -s
    ***
---
 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 42555c3ed..9a7942627 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -2630,7 +2630,7 @@ bool token::is_usable_as_delimiter(bool report_error)
   switch (type) {
   case TOKEN_CHAR:
     // AT&T troff accepted any character as a delimiter, even perverse
-    // choices like `\l91n+2n\&*`.  See Savannah #66481.
+    // choices in cases like `\l91n+2n\&*9`.  See Savannah #66481.
     if (want_att_compat)
       return true;
     is_valid = is_char_usable_as_delimiter(c);



reply via email to

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