groff-commit
[Top][All Lists]
Advanced

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

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


From: G. Branden Robinson
Subject: [groff] 72/127: [mm]: Stop suppressing warnings if `\n[Ref]` true.
Date: Mon, 10 Jul 2023 04:30:54 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit b1e0c1f2d9f8e5619efa0d12a11ef276e31c4801
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]