lua-users home
lua-l archive

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

I think the tail-call is better then the "continue" key-word!

On 6/11/09, Peter Cawley <> 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:
> Test cases which should all work:
> Test cases which should not work:

Sent from my mobile device

Linker Lin