bug-bash
[Top][All Lists]
Advanced

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

Re: Bug in syntax checking causes unintended running of a function


From: Chet Ramey
Subject: Re: Bug in syntax checking causes unintended running of a function
Date: Wed, 20 Apr 2016 12:11:10 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

On 4/20/16 8:33 AM, David Maas wrote:
> Incidentally, is it possible that somehow )) is simply interpreted the same
> as } in this situation? It would also explain the perceived behavior.

No.  The parser resynchronizes at newline when performing error recovery.

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



reply via email to

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