[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (alpha-rc2) now available
- From: Alexander Gladysh <agladysh@...>
- Date: Sat, 20 Nov 2010 02:46:46 +0300
On Sat, Nov 20, 2010 at 01:08, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> Not sure when the change was made, but I noticed that Lua 5.2.0 allows the following syntax:
>> print
>> (
>> 'foo'
>> )
>> Is that change on purpose? Or accidental?
> On purpose. The introduction on empty statements help this because you
> can now write
> ; (exp)...
> for a statement that starts with an open parenthesis.
At last! A reason to upgrade to 5.2!
Seriously, that's really cool, thanks!
Alexander.