[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc1) now available
- From: Benoit Germain <bnt.germain@...>
- Date: Tue, 14 Jun 2011 16:39:01 +0200
2011/6/14 Roberto Ierusalimschy <roberto@inf.puc-rio.br>:
>> The changes at http://www.lua.org/work/doc/ state that "break
>> statement may appear in the middle of a block" (but the manual itself
>> doesn't).
>
> Does it not?
>
It doesn't appear in section 8.1. I haven't checked everywhere else.
>> And section 3.3.1 says: "Explicit blocks are also sometimes used to
>> add a return or break statement in the middle of another block".
>>
>> Maybe this should be changed to
>>
>> "Explicit blocks are also sometimes used to add a return statement in
>> the middle of another block".
>
> My copy already reads like this.
I noticed this while reading http://www.lua.org/work/doc/manual.html.
Maybe this one is not up-to-date?
--
Benoit.