[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62191] [tbl] use of line continuation throws off input line counte
From: |
G. Branden Robinson |
Subject: |
[bug #62191] [tbl] use of line continuation throws off input line counter |
Date: |
Fri, 18 Mar 2022 00:48:05 -0400 (EDT) |
Update of bug #62191 (project groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.23.0
_______________________________________________________
Follow-up Comment #3:
commit 0bbdd18872efc3aeaf028740c98ddc1d68b0524e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Wed Mar 16 19:32:39 2022 +1100
[tbl]: Fix Savannah #62191.
* src/preproc/tbl/main.cpp (table_input::get): Increment input line
counter when encountering an escaped newline; this fixes inaccurate
diagnostics from the formatter at any point in a document after a
line-continued row of table data. Also drop a "perhaps" comment. I
tested the surmise (setting the FSM state to "START"), and it results
in bad formatting.
Fixes <https://savannah.gnu.org/bugs/?62191>. Problem appears to date
back to groff 1.02 (June 1991) at the latest.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62191>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/