URL:
<https://savannah.gnu.org/bugs/?64628>
Summary: [pic] regression, first ".lf" line no longer shows
the filename
Group: GNU roff
Submitter: bjarniig
Submitted: Thu 07 Sep 2023 02:11:23 AM UTC
Category: Preprocessor pic
Severity: 3 - Normal
Item Group: Incorrect behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 07 Sep 2023 02:11:23 AM UTC By: Bjarni Ingi Gislason <bjarniig>
Subject: [pic] regression, first ".lf" line no longer shows the
filename
File src/preproc/pic/troff.cpp.
Bug #64488 (closed).
commit 705be31107334c00f7d963cca5f9e896b91b1022
Date: Sat Jul 29 05:25:03 2023 -0500
When "s" is the same file name as "latest_filename" it has already
been output with an '.lf' line (the first one),
so this time only the line number needs to be output.
So the first "if" should only print the number,
the "else" should print both the number and the file name.
See also bug #64624; use "pic test.pic" using "test.pic" provided in
comment #0.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64628>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/