|
----- Original Message ----- From: Peter Cawley Date: 6/10/2009 12:45 PM I was in the process of writing your #3 when your mail came in. I think that is the best approach.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.htmlIt 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? Josh |