[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63218] [eqn] confusing diagnostics with some input characters
From: |
G. Branden Robinson |
Subject: |
[bug #63218] [eqn] confusing diagnostics with some input characters |
Date: |
Sat, 15 Oct 2022 12:30:08 -0400 (EDT) |
Follow-up Comment #1, bug #63218 (project groff):
There, that's better.
$ echo | `printf './build/eqn -dx\032\n'` >/dev/null
./build/eqn: error: invalid delimiter (character code 26) in '-d' option
argument
$ printf '\001 x = x + 1\n' | `printf './build/eqn -d\001\177\n'` > /dev/null
./build/eqn:<standard input>:2: fatal error: unterminated inline equation;
started with a leader character, expecting a delete character
$ echo | `printf './build/eqn -dx\032\n'` >/dev/null
./build/eqn: error: invalid delimiter (character code 26) in '-d' option
argument
Looks like I have an off-by-one error in line number reporting, though,
doubtless due to another pending change.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63218>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/