URL:
  <https://savannah.gnu.org/bugs/?67770>

                 Summary: [troff]: nested character classes don't work
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Fri 05 Dec 2025 09:49:59 AM UTC
                Category: Core
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 05 Dec 2025 09:49:59 AM UTC By: G. Branden Robinson <gbranden>
...and it looks like they never have.


$ cat ./EXPERIMENTS/nested-character-class.groff
.class [nest1] A
.class [nest2] B\C'[nest1]'
.\"pchar \C'[nest2]'\" infinite loop on groff HEAD
.class [nest3] C\C'[nest2]'
$ ~/groff-1.22.3/bin/groff -ww ./EXPERIMENTS/nested-character-class.groff
./EXPERIMENTS/nested-character-class.groff:4: warning: cyclic nested class
detected while processing character code -1
$ ~/groff-1.22.4/bin/groff -ww ./EXPERIMENTS/nested-character-class.groff
troff: ./EXPERIMENTS/nested-character-class.groff:4: warning: cyclic nested
class detected while processing character code -1
$ ~/groff-1.23.0/bin/groff -ww ./EXPERIMENTS/nested-character-class.groff
troff:./EXPERIMENTS/nested-character-class.groff:4: warning: cyclic nested
class detected while processing character code -1









    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to