[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (alpha-rc2) now available
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 19 Nov 2010 20:08:12 -0200
> 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.