[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 04/34: tmac/an.tmac: Make code more accessible.
From: |
G. Branden Robinson |
Subject: |
[groff] 04/34: tmac/an.tmac: Make code more accessible. |
Date: |
Thu, 2 Sep 2021 02:48:29 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 5e99268a22a1abd2595a63bef4ecc4dbe0164954
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Aug 23 16:58:31 2021 +1000
tmac/an.tmac: Make code more accessible.
* tmac/an.tmac (IP): Make code more accessible by using a Boolean
operator rather than an arithmetic one (assembly language programmers
are comfortable with the interchangeability of subtraction and
comparison, but not everyone is).
Also fix a misleading comment.
---
ChangeLog | 7 +++++++
tmac/an.tmac | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2472c40..3b8b2da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2021-08-23 G. Branden Robinson <g.branden.robinson@gmail.com>
+ * tmac/an.tmac (IP): Make code more accessible by using a
+ Boolean operator rather than an arithmetic one (assembly
+ language programmers are comfortable with the interchangeability
+ of subtraction and comparison, but not everyone is).
+
+2021-08-23 G. Branden Robinson <g.branden.robinson@gmail.com>
+
groff(7): Document more escapes.
* man/groff.7.man (Escape short reference): Document
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 80ebbae..6d0530f 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -591,7 +591,7 @@
. ns
. \}
. el \{\
-. ie (\\n[.$] - 1) .TP "\\$2"
+. ie (\\n[.$] > 1) .TP "\\$2"
. el .TP
\&\\$1
. \}
@@ -801,7 +801,7 @@
. HTML-IMAGE
..
.
-.\" Mark start of table data after table heading rows (ignored).
+.\" Start another table in the same region (ignored).
.de1 T&
..
.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 04/34: tmac/an.tmac: Make code more accessible.,
G. Branden Robinson <=