lua-users home
lua-l archive

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


Hallo,

On 26/12/05, redpixel <redwiki.net@gmail.com> wrote:
> if it exists another statements after "return", the parser raise error. I'm
> testing in 5.1 beta. but same as 5.1 alpha, 5.02 work5/6. this is simple
> example.
>

     This is not a bug. There is no way the parser can tell whether
what comes after a "return" is another statement or an expression
whose value it must return.

--
-alex
http://www.ventonegro.org/