Follow-up Comment #15, bug #67571 (group groff):

Aha!  This appears to be the same as issue as one I was already on the scent
of.


commit 7e9e9260244ed1a551ea9663124841ac7861b97d
Author: G. Branden Robinson <[email protected]>
Date:   Fri Nov 14 16:56:55 2025 -0600

    src/roff/troff/input.cpp: Annotate mystery code.

diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index b1b236e92..01ac6c838 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -10596,6 +10596,8 @@ void get_flags()
     assert(!s.is_null());
     ci->get_flags();
   }
+  // XXX: What purpose does this serve?  Commenting it out breaks no
+  // tests.  So either it's useless or we need another test.  --GBR
   using_character_classes = false;
 }


Evidently it's worse than useless--it causes this bug.

It also causes a hard-to-perceive bug in `tl` request processing, where an
attempt to interpolate a character class as a "title part" results in
undesired code flow.  Harmlessly as far as I can tell, but I noticed it
because I've been adding, yes, even more input-validating diagnostics.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?67571>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to