[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc1) now available
- From: Florian Weimer <fw@...>
- Date: Tue, 14 Jun 2011 22:45:41 +0200
* Roberto Ierusalimschy:
>> > The reference manual clearly states:
>> >
>> >> A label is visible in the entire block where it is defined (including
>> >> nested blocks, but not nested functions).
>>
>> And I think this is a mistake, both in implementation and in
>> specification.
>
> What is the mistake? What change would you suggest?
Labels should have non-lexical scope, extending across the whole
function, and the same label must not be used twice within the same
function.
- References:
- [ANN] Lua 5.2.0 (beta-rc1) now available, Luiz Henrique de Figueiredo
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Xavier Wang
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Petite Abeille
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, steve donovan
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, David Given
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, steve donovan
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Florian Weimer
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Dirk Laurie
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Florian Weimer
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Roberto Ierusalimschy