bugGNU roff - Bugs: bug #63731, [tbl] does not diagnose excessive...

 
 

bug #63731: [tbl] does not diagnose excessive vertical lines at beginning of row definition

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Mon 30 Jan 2023 02:57:19 PM UTC
   
 
Category:  Preprocessor tbl Severity:  3 - Normal
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
   

Thu 02 Feb 2023 09:25:24 AM UTC, comment #1: 


commit f6143389767630cd32ec47bc3072f05143cdbd2c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Mon Jan 30 09:12:36 2023 -0600

    [tbl]: Fix Savannah #63731.

    * src/preproc/tbl/main.cpp (process_format): Throw error diagnostic if
      more than 2 vertical lines are specified at the beginning of a row
      definition.

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


G. Branden Robinson <gbranden>
Group administrator
Mon 30 Jan 2023 02:57:19 PM UTC, original submission:  

Affects groff 1.22.4.

Input:

$ cat EXPERIMENTS/no-diag-on-three-leading-vlines.roff
.TS
L|||.
foo
.TE
.TS
|||L.
foo
.TE
.pl \n(nlu


Output:


$ nroff -t EXPERIMENTS/no-diag-on-three-leading-vlines.roff
tbl:EXPERIMENTS/no-diag-on-three-leading-vlines.roff:2: more than 2 vertical bars between key letters
grotty:<standard input> (EXPERIMENTS/no-diag-on-three-leading-vlines.roff):19: character above first line discarded
grotty:<standard input> (EXPERIMENTS/no-diag-on-three-leading-vlines.roff):23: character above first line discarded
foo │
│foo


(The diagnostics from grotty are bug #63449, resolved in groff Git.)

We should have gotten complaints about both tables, but didn't.

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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-02-02 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2023-01-30 gbranden StatusNone In Progress
        Assigned toNone gbranden
        Planned ReleaseNone 1.23.0

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code