groff-commit
[Top][All Lists]
Advanced

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

[groff] 72/126: [mm]: Stop suppressing warnings if `\n[Ref]` true.


From: G. Branden Robinson
Subject: [groff] 72/126: [mm]: Stop suppressing warnings if `\n[Ref]` true.
Date: Wed, 5 Jul 2023 17:03:03 -0400 (EDT)

gbranden pushed a commit to branch branden-2023-07-05
in repository groff.

commit d5e2300cbd22d78123a14c854010c9c22d2814fa
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Jul 4 11:08:07 2023 -0500

    [mm]: Stop suppressing warnings if `\n[Ref]` true.
    
    * contrib/mm/m.tmac: Stop suppressing warnings if Boolean register `Ref`
      is true.  Diagnostic output does not interfere with index/reference
      output, the lines of which are prefixed in a way that is not
      confusable with warnings.
---
 contrib/mm/ChangeLog | 7 +++++++
 contrib/mm/m.tmac    | 3 +--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index a2febe13d..492447ab0 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,10 @@
+2023-07-04 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * m.tmac: Stop suppressing warnings if Boolean register `Ref` is
+       true.  Diagnostic output does not interfere with index/reference
+       output, the lines of which are prefixed in a way that is not
+       confusable with warnings.
+
 2023-06-30 G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * m.tmac (IND): Throw error if vertical drawing position is
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 8b77f2a96..f1aac3f64 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -373,10 +373,9 @@ Index              array!index
 .\" for .INITR
 .\"
 .\" Output references to stderr if non-zero
-.ie !r Ref \{\
+.if !r Ref \{\
 .      nr Ref 0
 .\}
-.el .warn 0
 .\"
 .\"---------------------------------------------
 .\" set local variables.



reply via email to

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