bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #55732] [PATCH] contrib/hdtbl/hdtbl.tmac-u: Avoid a warning about u


From: Bjarni Ingi Gislason
Subject: [bug #55732] [PATCH] contrib/hdtbl/hdtbl.tmac-u: Avoid a warning about undefined macros
Date: Sun, 17 Feb 2019 18:53:37 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

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

                 Summary: [PATCH] contrib/hdtbl/hdtbl.tmac-u: Avoid a warning
about undefined  macros
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Sun 17 Feb 2019 11:53:35 PM UTC
                Category: Macro - others
                Severity: 3 - Normal
              Item Group: Warning/Suspicious behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

>From 92c4114308bbe55420f0f95f96b232cb38445506 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <address@hidden>
Date: Sun, 17 Feb 2019 23:44:39 +0000
Subject: [PATCH] contrib/hdtbl/hdtbl.tmac-u: Avoid a warning about undefined
 macros

  Initialize the string variables "t*held" and "t*kept" to empty before
they are tested with: !""\\*[t*...]" .

Signed-off-by: Bjarni Ingi Gislason <address@hidden>
---
 contrib/hdtbl/hdtbl.tmac-u | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/hdtbl/hdtbl.tmac-u b/contrib/hdtbl/hdtbl.tmac-u
index b57edb89..6b17c19f 100644
--- a/contrib/hdtbl/hdtbl.tmac-u
+++ b/contrib/hdtbl/hdtbl.tmac-u
@@ -80,6 +80,8 @@ along with this program.  If not, see
<http://www.gnu.org/licenses/>.
 .nr t*numb 0 1 \"      held table diversion #
 .
 .ds *#trc*
+.ds t*held
+.ds t*kept
 .
 .
 .\"    *****************************************************************
-- 
2.20.1






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]