lua-users home
lua-l archive

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

----- Original Message -----
From: Peter Cawley
Date: 6/10/2009 12:45 PM
On Wed, Jun 10, 2009 at 7:03 PM, Roberto
Ierusalimschy<> wrote:
Any comment about this?
It appears that the options are the following:

3) Have the parser detect if a "continue" statement causes execution
to jump over a local variable declaration, which is then used in the
"until" clause, and throw an error in this case.

If option 3 could be implemented efficiently, then would it be an
acceptable way of doing things?
I was in the process of writing your #3 when your mail came in.  I think that is the best approach.