[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work1) now available
- From: Peter Cawley <lua@...>
- Date: Tue, 12 Jan 2010 12:00:03 +0000
On Tue, Jan 12, 2010 at 8:56 AM, steve donovan
<steve.j.donovan@gmail.com> wrote:
> It's a little tricky. See http://batbytes.com/luafaq/#T1.26
>
> Basically, repeat..until semantics have to change before continue can
> appear. Personally, I'd prefer the second.
See http://lua-users.org/lists/lua-l/2009-06/msg00331.html for a patch
against 5.1.4 which implements the continue statement by imposing the
restriction: the until clause cannot use any locals whose declaration
could have been skipped by a continue statement. For reference,
http://www.corsix.org/luacontinue/continue52.patch is the same patch,
tweaked to apply against 5.2.0-work1, and both patches are available
under the same license as Lua itself.