URL: <https://savannah.gnu.org/bugs/?68931>
Summary: .lf semantic error
Group: GNU roff
Submitter: dougmcilroy
Submitted: Thu 19 Nov 2026 06:28:40 PM UTC
Category: Preprocessor pic
Severity: 3 - Normal
Item Group: Incorrect behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Unlocked
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 19 Nov 2026 06:28:40 PM UTC By: Doug McIlroy <dougmcilroy>
The line numbers are wrong in both diagnostics for the first groff command
below, apparently due to incorrect .lf requests issued by pic. The behavior is
seen in 1.25.0.rc4.
$ cat junk1
.LP
.na
1
2
3
.EN
$ cp junk1 junk2
$ groff -ms -pe junk[12] >/dev/null
s.tmac:junk1:5: error: mismatched .EN (recovering)
s.tmac:junk2:12: error: mismatched .EN (recovering)
$ groff -e -ms junk[12] >/dev/null
s.tmac:junk1:6: error: mismatched .EN (recovering)
s.tmac:junk2:6: error: mismatched .EN (recovering)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68931>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
