[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: devel: 'eval' returns 0 upon syntax error

From: Chet Ramey
Subject: Re: devel: 'eval' returns 0 upon syntax error
Date: Sun, 18 Jun 2017 20:22:40 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

On 6/18/17 8:06 PM, Martijn Dekker wrote:
> (eval '(');echo $?

Thanks for the report.  The parse error followed by EOF needs to call
YYABORT when the shell isn't reading input interactively.

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]