gbranden pushed a commit to branch master
in repository groff.

commit 9488857a63c717f14437c40b4121296c65d17bb8
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Jul 5 19:37:08 2026 -0500

    tmac/an.tmac: Trivially refactor.
    
    * tmac/an.tmac (RE): Rename "local" macro `an-RE-problem` to `an*msg`.
---
 ChangeLog    |  5 +++++
 tmac/an.tmac | 12 ++++++------
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e5f3ae1f4..55b87593e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2026-07-05  G. Branden Robinson <[email protected]>
+
+       * tmac/an.tmac (RE): Rename "local" macro `an-RE-problem` to
+       `an*msg`.
+
 2026-07-04  G. Branden Robinson <[email protected]>
 
        * src/roff/groff/groff.cpp (possible_command::build_argv): Use
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 1168f7c76..d9897fcc3 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -1130,14 +1130,14 @@ contains unsupported escape sequence
 .  el         .nr an*RE-requested-level (\\n[an*inset-level] - 1)
 .  ie \\n[.$] \{\
 .    if (\\n[an*RE-requested-level] = \\n[an*inset-level]) \
-.      ds an-RE-problem already at level \\n[an*inset-level]\"
+.      ds an*msg already at level \\n[an*inset-level]\"
 .    if (\\n[an*RE-requested-level] > \\n[an*inset-level]) \
-.      ds an-RE-problem too large\"
+.      ds an*msg too large\"
 .    if (\\n[an*RE-requested-level] < 1) \
-.      ds an-RE-problem too small\"
-.    if d an-RE-problem \
-.      an*style-warn argument """\\$1""" to .\\$0 \\*[an-RE-problem]
-.    rm an-RE-problem
+.      ds an*msg too small\"
+.    if d an*msg \
+.      an*style-warn argument """\\$1""" to .\\$0 \\*[an*msg]
+.    rm an*msg
 .  \}
 .  el .if !(\\n[an*RE-requested-level]) .an*style-warn unbalanced .\\$0
 .  rr an*RE-requested-level

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

Reply via email to