[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: parsing bug? (return statement)
- From: Alex Queiroz <asandroq@...>
- Date: Mon, 26 Dec 2005 09:34:09 -0200
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/