gbranden pushed a commit to branch master
in repository groff.

commit c0196f0099138035bdb85890458738f57444fafe
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Aug 8 01:32:39 2021 +1000

    [me]: Recognize `n1` and `n2` as me(7) macros.
    
    * src/utils/grog/grog.pl (do_line): Recognize `n1` and `n2` as
      characteristic me(7) macros.
---
 ChangeLog              | 5 +++++
 src/utils/grog/grog.pl | 1 +
 2 files changed, 6 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index b7000ff..aad262e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2021-08-08  G. Branden Robinson <[email protected]>
 
+       * src/utils/grog/grog.pl (do_line): Recognize `n1` and `n2` as
+       characteristic me(7) macros.
+
+2021-08-08  G. Branden Robinson <[email protected]>
+
        * tmac/groff_me.7.man: Document GF, IE, IF, IS, and PF macros.
 
 2021-08-08  Dave Kemper <[email protected]>
diff --git a/src/utils/grog/grog.pl b/src/utils/grog/grog.pl
index df5a5c8..e7f6eb0 100644
--- a/src/utils/grog/grog.pl
+++ b/src/utils/grog/grog.pl
@@ -383,6 +383,7 @@ sub do_line {
 
   if ($macro =~ /^(
                   [ilnp]p|
+                  n[12]|
                   sh
                  )$/x) {
     $inferred_main_package = 'e';

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to