bugGNU roff - Bugs: bug #62812, [me] doesn't initialize all...

 
 

bug #62812: [me] doesn't initialize all section number registers

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Mon 25 Jul 2022 06:40:17 PM UTC
   
 
Category:  Macro me Severity:  2 - Minor
Item Group:  Warning/Suspicious behaviour Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 30 Jul 2022 06:54:43 PM UTC, comment #1: 


commit 245895d1e023ea13361d96f4932665032383974e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Mon Jul 25 13:43:23 2022 -0500

    tmac/e.tmac: Fix Savannah #62812.

    * tmac/e.tmac: Initialize section number registers. Fixes warnings when
      starting section numbering at a depth greater than 1.

    Fixes <https://savannah.gnu.org/bugs/?62812>.


G. Branden Robinson <gbranden>
Group administrator
Mon 25 Jul 2022 06:40:17 PM UTC, original submission:  

Problem affects groff 1.22.4.  Observed in a Reddit thread.


$ cat EXPERIMENTS/sh-problem.me
.sh 6 "The Joy of Commodore 64"
$ nroff -ww -me EXPERIMENTS/sh-problem.me | cat -s
troff: EXPERIMENTS/sh-problem.me:1: warning: number register '$1' not defined
troff: EXPERIMENTS/sh-problem.me:1: warning: number register '$2' not defined
troff: EXPERIMENTS/sh-problem.me:1: warning: number register '$3' not defined
troff: EXPERIMENTS/sh-problem.me:1: warning: number register '$4' not defined
troff: EXPERIMENTS/sh-problem.me:1: warning: number register '$5' not defined

1.1.1.1.1.1.  The Joy of Commodore 64


G. Branden Robinson <gbranden>
Group administrator

 

(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 gbranden (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-07-30 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code