Update of bug #67448 (group groff):

                  Status:               Need Info => Invalid
             Assigned to:                    None => gbranden
             Open/Closed:                    Open => Closed
                 Summary: [tmac] andoc.tmac: add sourcing "an.tmac" earlier to
have  used variables in a defined state => gawk.1 throws warning when groff's
`-wmac` option used

    _______________________________________________________

Follow-up Comment #3:

This is not a bug in _groff_.

Using Arnold Robbins's _gawk_ repository at Git Savannah, I observe the
following.


$ groff -ww -mandoc ../gawk/doc/gawk.1 -z
troff:../gawk/doc/gawk.1:6: warning: name 'lq' not defined
$ head ../gawk/doc/gawk.1
.ds PX \s-1POSIX\s+1
.ds UX \s-1UNIX\s+1
.ds GN \s-1GNU\s+1
.ds AK \s-1AWK\s+1
.ds EP \fIGAWK: Effective AWK Programming\fP
.if !\w@\*(lq@ \{\
.\" Recent-enough groff an.tmac does not seem to be in use,
.\" so define the strings lq and rq.
.       ie \n(.g \{\
.               ds lq \(lq\"


The warning diagnostic is expected behavior when the `-wmac` warning category
is enabled.  Arnold's technique is portable to AT&T _troff_, which
unfortunately did not have a `d` conditional operator.

Closing as invalid.


    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to