lua-users home
lua-l archive

Re: Next Version of Lua?

[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<roberto@inf.puc-rio.br> wrote:
Any comment about this?
 http://lua-users.org/lists/lua-l/2005-09/msg00548.html
 
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.

Josh

AltStyle によって変換されたページ (->オリジナル) /