URL:
<https://savannah.gnu.org/bugs/?64639>
Summary: [mom] bug #64421 is a mom-bug
Group: GNU roff
Submitter: bjarniig
Submitted: Fri 08 Sep 2023 07:19:29 PM UTC
Category: Macro mom
Severity: 3 - Normal
Item Group: Incorrect behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Fri 08 Sep 2023 07:19:29 PM UTC By: Bjarni Ingi Gislason <bjarniig>
Subject: [mom] bug #64421 is a mom-bug
With test-groff
.\".gcolor white
colour is \n[.m]
Compiled with '-flto' shows
colour is default
instead of
colour is
(that is, the register .m is defined as "" (empty))
-.-
om.tmac defines
.ds default black
which causes it to be output as "black".
and the macro DRH has
. COLOR \\*[$RL_COLOR]
which puts the string, which is either empty (normal default) or has
content, to the output stream.
The macros DRV, DBX and DCL have the same line in their body.
I do not understand why the macro has to be called to put something in
the output stream.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64639>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/