Re: Ambiguous syntax
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Ambiguous syntax
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2012年12月13日 09:31:37 -0200
> On Wed, Dec 12, 2012 at 4:17 PM, Roberto Ierusalimschy
> <roberto@inf.puc-rio.br> wrote:
> > ;(g or h)() -- always valid in 5.2, not in 5.1
>
> ... except as the first statement of a block in Lua 5.1.
Also after a line ending with semicolon:
a = 1;
;(g or h)() -- valid in 5.2, not in 5.1
-- Roberto