groff-commit
[Top][All Lists]
Advanced

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

[groff] 06/12: [man]: Fix spurious `CHECKSTYLE` complaint.


From: G. Branden Robinson
Subject: [groff] 06/12: [man]: Fix spurious `CHECKSTYLE` complaint.
Date: Wed, 3 Aug 2022 20:40:42 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 4694c096bdc3cefcabed50aa2707dd85435ff494
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Aug 3 15:39:53 2022 -0500

    [man]: Fix spurious `CHECKSTYLE` complaint.
    
    * tmac/an.tmac (TH): Fix spurious complaint from `CHECKSTYLE` feature
      when a custom manual section title is declared for a standard section
      number.  Thanks to Quentin Monnet for the report.
---
 ChangeLog    | 7 +++++++
 tmac/an.tmac | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 6ba012a5d..b940717c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-08-03  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/an.tmac (TH): Fix spurious complaint from `CHECKSTYLE`
+       feature when a custom manual section title is declared for a
+       standard section number.  Thanks to Quentin Monnet for the
+       report.
+
 2022-07-31  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * tmac/pdfpic.tmac: Finish incomplete string renames.  Continues
diff --git a/tmac/an.tmac b/tmac/an.tmac
index f99213f26..99084db76 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -303,7 +303,7 @@
 .    rm an-msg
 .  \}
 .
-.  if '\\*[an-extra3]'' \{\
+.  if '\\$5\\*[an-extra3]'' \{\
 .    ds an-msg .\\$0 missing fifth argument and second argument '\\$2'\"
 .    as an-msg " not a recognized manual section; specify volume title\"
 .    an-style-warn \\*[an-msg]



reply via email to

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