[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc2) now available
- From: dcharno <dcharno@...>
- Date: Wed, 22 Jun 2011 02:13:49 -0400
On 06/22/2011 12:57 AM, Lorenzo Donati wrote:
On 22/06/2011 0.21, Luiz Henrique de Figueiredo wrote:
Lua 5.2.0 (beta-rc2) is now available at
I see that a constraint has been introduced so that a label cannot be
repeated inside the same function.
I've already argued on the other thread (5.2 beta-rc1) that I'd prefer a
limit "per-block". There I motivated my preference with an use case for
> So if the limit where per-block, it would be possible to reuse common
> labels for common idioms.
I gave up following the other goto thread so I must have missed the "per
function" label constraint. It should really be "per block".
Its ashame. The goto syntax isn't easy on the eyes, but it was powerful
and allowed a reasonable workaround for standard patterns like continue.
But this "per function" limit really blows that; what a pity.