lua-users home
lua-l archive

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

On Tue, Jan 12, 2010 at 8:56 AM, steve donovan
<> wrote:
> It's a little tricky. See
> Basically, repeat..until semantics have to change before continue can
> appear. Personally, I'd prefer the second.

See 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, is the same patch,
tweaked to apply against 5.2.0-work1, and both patches are available
under the same license as Lua itself.