[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Patch for continue in 5.1
- From: Linker <linker.m.lin@...>
- Date: Fri, 12 Jun 2009 19:13:00 +0800
I think the tail-call is better then the "continue" key-word!
On 6/11/09, Peter Cawley <firstname.lastname@example.org> wrote:
> As discussed in the future of Lua thread, one way of adding a
> "continue" statement to the language was to allow it in all cases,
> except when it causes initialisation of a variable used in an until
> clause to be skipped. The included patch is provided so that
> discussions on this approach can be enhanced by experience of
> experimenting with the approach.
> Patch against 5.1.4: http://www.corsix.org/luacontinue/continue.patch
> Test cases which should all work:
> Test cases which should not work:
Sent from my mobile device