lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Sat, Nov 20, 2010 at 01:08, Luiz Henrique de Figueiredo
<> 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!