bug-groff
[Top][All Lists]
Advanced

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

[bug #63299] [eqn] reports incorrect line numbers in diagnostics


From: G. Branden Robinson
Subject: [bug #63299] [eqn] reports incorrect line numbers in diagnostics
Date: Mon, 31 Oct 2022 19:58:22 -0400 (EDT)

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

                 Summary: [eqn] reports incorrect line numbers in diagnostics
                 Project: GNU troff
               Submitter: gbranden
               Submitted: Mon 31 Oct 2022 11:58:20 PM UTC
                Category: Preprocessor eqn
                Severity: 3 - Normal
              Item Group: Warning/Suspicious behaviour
                  Status: In Progress
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 31 Oct 2022 11:58:20 PM UTC By: G. Branden Robinson <gbranden>
See in groff 1.22.4.


$ echo .EQ | eqn >/dev/null
eqn:<standard input>:2: fatal error: end of file before .EN


...but there is no "line 2".


$ printf ".EQ\nx\n.EN\n.lf 99\n\200\n" | eqn >/dev/null
eqn:<standard input>:98: invalid input character code '128'


A line number of 98 (after it has been set to 99) is also obviously
incorrect.

Thanks to Alex Colomar for the report.







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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