groff-commit
[Top][All Lists]
Advanced

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

[groff] 05/17: [me]: Recognize `n1` and `n2` as me(7) macros.


From: G. Branden Robinson
Subject: [groff] 05/17: [me]: Recognize `n1` and `n2` as me(7) macros.
Date: Sun, 8 Aug 2021 05:58:33 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit c0196f0099138035bdb85890458738f57444fafe
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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 <g.branden.robinson@gmail.com>
 
+       * src/utils/grog/grog.pl (do_line): Recognize `n1` and `n2` as
+       characteristic me(7) macros.
+
+2021-08-08  G. Branden Robinson <g.branden.robinson@gmail.com>
+
        * tmac/groff_me.7.man: Document GF, IE, IF, IS, and PF macros.
 
 2021-08-08  Dave Kemper <saint.snit@gmail.com>
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';



reply via email to

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