[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #64013] [ms] EQ macro ignores second argument if first empty
From: |
G. Branden Robinson |
Subject: |
[bug #64013] [ms] EQ macro ignores second argument if first empty |
Date: |
Mon, 10 Jul 2023 04:58:53 -0400 (EDT) |
Update of bug #64013 (project groff):
Status: Ready for Merge => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.24.0
_______________________________________________________
Follow-up Comment #3:
commit 380386369405245707207dc467dd99d9f9a6d45f
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Fri Apr 7 20:22:46 2023 -0500
[ms]: Fix Savannah #64013.
* tmac/s.tmac (@EQ): Revise argument handling. If there is only one
argument and it is not a recognized alignment, warn and treat it as an
equation label. If there are two arguments but the first is not a
recognized alignment, throw a warning diagnostic (but still use
default alignment with the second argument as label). An explicitly
empty first argument is synonymous with "C".
Fixes <https://savannah.gnu.org/bugs/?64013>.
Also tested with:
.LP
.EQ "" (1)
x + y = z
.EN
.EQ (2) \" expect warning
pq = 0
.EN
.EQ R (3) \" expect warning
ab = 1
.EN
.EQ
E = mc sup 2
.EN
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64013>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #64013] [ms] EQ macro ignores second argument if first empty,
G. Branden Robinson <=