Update of bug #68262 (group groff):
Status: None => Rejected
Assigned to: None => gbranden
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
Actually I think it is correct to emit this warning.
The brace escape sequence halts interpretation of a numeric expression in most
or all _troff_s.
Consider the following bog-standard input.
$ printf '.nr a 1+1 2\n.tm \\n+a\n' | solaris10 nroff
4
$ printf '.nr a 1+1 2\n.tm \\n+a\n' | dwb nroff
4
$ printf '.nr a 1+1 2\n.tm \\n+a\n' | 9 nroff
4
$ printf '.nr a 1+1 2\n.tm \\n+a\n' | heirloom nroff
4
$ printf '.nr a 1+1 2\n.tm \\n+a\n' | ~/groff-1.24.1/bin/nroff
4
Replace the space between the register value and the auto-increment amount.
$ printf '.nr a 1+1\}2\n.tm \\n+a\n' | solaris10 nroff
2
$ printf '.nr a 1+1\}2\n.tm \\n+a\n' | dwb nroff
2
$ printf '.nr a 1+1\}2\n.tm \\n+a\n' | 9 nroff
2
$ printf '.nr a 1+1\}2\n.tm \\n+a\n' | heirloom nroff
2
$ printf '.nr a 1+1\}2\n.tm \\n+a\n' | ~/groff-1.24.1/bin/nroff
2
Therefore, we are _behaving_ consistently with other *roffs, and also emitting
a diagnostic to the user to warn them that they've gone astray and might have
foiled their own intentions. That's part of why we have a warning system.
Rejecting.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68262>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
