gbranden pushed a commit to branch master
in repository groff.
commit 4694c096bdc3cefcabed50aa2707dd85435ff494
Author: G. Branden Robinson <[email protected]>
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 <[email protected]>
+
+ * 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 <[email protected]>
* 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]
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit