bugGNU roff - Bugs: bug #61011, [mom] om.tmac: empty parentheses...

 
 

bug #61011: [mom] om.tmac: empty parentheses cause a warning

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Wed 04 Aug 2021 11:13:57 PM UTC
   
 
Category:  Macro mom Severity:  3 - Normal
Item Group:  Warning/Suspicious behaviour Status:  Fixed
Privacy:  Public Assigned to:  PTPi
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 20 Oct 2021 09:34:20 AM UTC, comment #2: 

groff git updated to mom 2.5 in commit b84ed3b7

Dave <barx>
Group Member
Sat 07 Aug 2021 07:25:17 PM UTC, comment #1: 

The fix will be in the git repo when I upload the next full mom release, hence marking as In Progress.

Peter Schaffter <PTPi>
Group Member
Wed 04 Aug 2021 11:13:57 PM UTC, original submission:  



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.


Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by barx (Posted a comment)
  • -email is unavailable- added by PTPi (Posted a comment)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-10-20 barx Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0
    2021-10-05 PTPi StatusIn Progress Fixed
    2021-08-07 PTPi StatusNone In Progress
    2021-08-07 barx Carbon-CopyRemoved 93119 -
    2021-08-07 barx Assigned toNone PTPi

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code