On 9/12/18 5:17 AM, Manuel Reiter wrote:

> Bash Version: 4.4
> Patch Level: 12
> Release Status: release
> 
> ++ Description:
> 
> When an if statement is not terminated by a fi, bash's error message is
> not helpful in locating the problem.

This is tough to do in a bison-generated parser. If someone would like to
build the structures required to keep track of which conditional command
the shell is currently parsing, and incorporate that into an error
message, I'd be happy to look at it.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to