[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #60598] tbl reports incorrect line numbers in diagnostics
From: |
G. Branden Robinson |
Subject: |
[bug #60598] tbl reports incorrect line numbers in diagnostics |
Date: |
Thu, 20 Jan 2022 00:17:32 -0500 (EST) |
User-agent: |
Lynx/2.8.9rel.1 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/3.6.7 |
Follow-up Comment #2, bug #60598 (project groff):
Here's a simpler reproducer that doesn't escape any newlines.
The numbers are still badly off.
$ cat -n EXPERIMENTS/wrong-line-number.roff
1 .ll 10n
2 .TS
3 L.
4 12345678901
5 .TE
6 .
7 .TS
8 Lx.
9 12345678901
10 .TE
$ ./build/test-groff -tz EXPERIMENTS/wrong-line-number.roff
EXPERIMENTS/wrong-line-number.roff: around line 9: warning: table wider than
line width
EXPERIMENTS/wrong-line-number.roff: around line 14: warning: table wider than
line width
$ groff -tz EXPERIMENTS/wrong-line-number.roff
warning: file 'EXPERIMENTS/wrong-line-number.roff', around line 9:
table wider than line width
(groff 1.22.4 emits only one diagnostic because of bug #61854.)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60598>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #60598] tbl reports incorrect line numbers in diagnostics,
G. Branden Robinson <=