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 <jens@mooseyard.com>:

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.)

--Jens



--
Kwon Tai-in
http://www.redwiki.net
PGPkey: http://www.redwiki.net/pubkey