[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Ambiguous syntax
- From: "Peter Loveday" <peter@...>
- Date: Wed, 12 Dec 2012 17:17:53 +1030
This does it in 5.1:
print
("hello")
- Peter
-----Original Message-----
From: Coda Highland
Sent: Wednesday, December 12, 2012 5:10 PM
To: Lua mailing list
Subject: Re: Ambiguous syntax
On Tue, Dec 11, 2012 at 10:00 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
Can someone who understands the matter please explain
why Lua 5.1 sometimes gave the message
ambiguous syntax (function call x new statement)
whereas Lua 5.2 never does?
I think I remember hearing about 5.2 arbitrarily defining a resolution
for the grammatical ambiguity. Do you have an example of code that
triggers this?
/s/ Adam
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2221 / Virus Database: 2634/5452 - Release Date: 12/11/12