bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64105] [eqn] off-by-one error in line numbering


From: G. Branden Robinson
Subject: [bug #64105] [eqn] off-by-one error in line numbering
Date: Mon, 24 Apr 2023 22:14:26 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64105>

                 Summary: [eqn] off-by-one error in line numbering
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Tue 25 Apr 2023 02:14:24 AM UTC
                Category: Preprocessor eqn
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: Confirmed
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 25 Apr 2023 02:14:24 AM UTC By: G. Branden Robinson <gbranden>
This is a regression from groff 1.22.4.

Input:


$ cat EXPERIMENTS/line-number-when-no-eqn-output.roff
.nf
2=\n(.c
.EQ
delim $$
.EN
6=\n(.c
.pl \n(nlu


groff 1.22.4 output:


$ eqn -Tascii EXPERIMENTS/line-number-when-no-eqn-output.roff | groff -Tascii
2=2
6=6


groff Git HEAD output:


$ ./build/eqn -Tascii EXPERIMENTS/line-number-when-no-eqn-output.roff |
./build/test-groff -Tascii
2=2
6=5


The fix for bug #63299 last Halloween apparently needed more test cases.







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64105>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]