[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61011] [mom] om.tmac: empty parentheses cause a warning
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #61011] [mom] om.tmac: empty parentheses cause a warning |
Date: |
Wed, 4 Aug 2021 19:13:58 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
URL:
<https://savannah.gnu.org/bugs/?61011>
Summary: [mom] om.tmac: empty parentheses cause a warning
Project: GNU troff
Submitted by: bjarniig
Submitted on: Wed 04 Aug 2021 11:13:57 PM UTC
Category: Macro - mom
Severity: 3 - Normal
Item Group: Warning/Suspicious behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
troff: backtrace: '/home/bg/git/groff/build/s-tmac/om.tmac':2103: macro 'IL'
troff: backtrace: '/home/bg/git/groff/build/s-tmac/om.tmac':12499: macro
'QUIT_LISTS'
troff: backtrace: '/home/bg/git/groff/build/s-tmac/om.tmac':12043: macro
'LIST'
troff: backtrace: file '../doc/automake.mom':710
troff: ../doc/automake.mom:710: warning: empty parentheses
Line 2103 corresponds to line 3358 in "mom/om.tac".
Code:
. ie '\\$1'' \{\
. br
. in \\n[#L_INDENT]u
. ta \\n[.l]u-\\n[#L_INDENT]u
. \}
. el \{\
. br
. nr #L_INDENT +(\\$1)
. in \\n[#L_INDENT]u
. ta \\n[.l]u-\\n[#L_INDENT]u
. \}
. if \\n[#IN_ITEM] .nr #IN_ITEM_L_INDENT +(\\$1)
The last line needs to be moved into both branches,
to the first with the value "+0" and to the second unchanged.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61011>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #61011] [mom] om.tmac: empty parentheses cause a warning,
Bjarni Ingi Gislason <=