[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63149] [troff] confusing diagnostic when delete character in input
From: |
G. Branden Robinson |
Subject: |
[bug #63149] [troff] confusing diagnostic when delete character in input |
Date: |
Mon, 3 Oct 2022 22:16:07 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?63149>
Summary: [troff] confusing diagnostic when delete character
in input
Project: GNU troff
Submitter: gbranden
Submitted: Tue 04 Oct 2022 02:16:06 AM UTC
Category: Core
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: Tue 04 Oct 2022 02:16:06 AM UTC By: G. Branden Robinson <gbranden>
Problem observed in groff 1.22.4; probably goes back to the beginning.
$ printf '.af a \177\n' | groff -Tascii
troff: <standard input>:1: bad number register format (got '')
Those empty quotes don't tell us much. In fact, in groff 1.22.4, if you omit
the register format entirely, you get _no_ diagnostic.
$ printf '.af a \n' | groff -Tascii 2>&1 | grep . || echo EMPTY
EMPTY
I propose to add a token type for this.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63149>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #63149] [troff] confusing diagnostic when delete character in input,
G. Branden Robinson <=