[bug #68510] Regression: cflags honors only the first character parameter

Dave <[email protected]> Sat, 11 Jul 2026 15:47:12 -0400 (EDT)
Newsgroups gmane.comp.printing.groff.bugs
Message-ID <[email protected]>
Update of bug #68510 (group groff):

                 Summary: Regression: cflags no longer works when given both a
character class and a defined character => Regression: cflags honors only the
first character parameter

    _______________________________________________________

Follow-up Comment #2:

Nope, I'm wrong.  It's much simpler than all that.  .cflags is simply ignoring
every character parameter after the first.

$ cat flags
.cflags 32 & % $
.
Foo.&
Bar.%
Baz.$
Bat.
$ groff-1.24 -Tascii flags | head -1; groff-latest -Tascii flags | head -1
Foo.&  Bar.%  Baz.$  Bat.
Foo.&  Bar.% Baz.$ Bat.

Change the order of the characters passed to .cflags, and you'll see that in
git-HEAD groff, whichever one is first is honored, and the rest are not.  In
1.24.0, all are honored.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCalKdwAAKCRCqLAuaBUf3
TsnlAP9kPKQZLeM2Ilb8Tgj4Hac5ror/3II8AD3bRW2fAEUC4AEAyhqs4h/3qpoe
MCuKIkkbwidzM4plvm6q186I4EDkiQI=
=QAKO
-----END PGP SIGNATURE-----