gbranden pushed a commit to branch master
in repository groff.

commit 22b327670ee623cfe90c893360591237e12bf2ee
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Jul 14 14:08:55 2024 -0500

    [mm]: Fix Savannah #65989 (`SP` diag goof).
    
    * contrib/mm/m.tmac (SP): Remove extraneous parenthesis in argument
      check.
    
    Fixes <https://savannah.gnu.org/bugs/?65989>.  Problem introduced by me
    in commit 5da71ef6ef, 6 July.  Thanks to Bjarni Ingi Gislason for the
    report.
---
 contrib/mm/ChangeLog | 8 ++++++++
 contrib/mm/m.tmac    | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index 231cb6d42..b7baf2a9a 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,11 @@
+2024-07-14  G. Branden Robinson <[email protected]>
+
+       * m.tmac (SP): Remove extraneous parenthesis in argument check.
+
+       Fixes <https://savannah.gnu.org/bugs/?65989>.  Problem
+       introduced by me in commit 5da71ef6ef, 6 July.  Thanks to Bjarni
+       Ingi Gislason for the report.
+
 2024-07-13  G. Branden Robinson <[email protected]>
 
        * m.tmac ([initialization], LI): Unsupport `Limsp` register.
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 5ce303c6e..688d560bb 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -540,7 +540,7 @@ http://savannah.gnu.org/bugs/?group=groff.
 .if !r line*ac\\n[.z] .nr line*ac\\n[.z] 0
 .ie \\n[.$] \{\
 .      if !\B'\\$1' .@error \\$0: argument is not numeric: '\\$1'
-.      if \\$1<0) .@error \\$0: negative motion '\\$1' not supported
+.      if \\$1<0 .@error \\$0: negative motion '\\$1' not supported
 .      nr line*temp (v;\\$1)
 .\}
 .el .nr line*temp 1v

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

Reply via email to