lua-users home
lua-l archive

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

oh, I see. Thanks for notice.
2005/12/27, Jens Alfke <>:

On 26 Dec '05, at 3:30 AM, redpixel wrote:

> if it exists another statements after "return", the parser raise
> error.

That's a documented feature of the syntax — check the reference
manual and/or the Lua book.

(In any case, a statement after an unconditional 'return' would be
unreachable, so there's no valid reason to have one.)


Kwon Tai-in