[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Ambiguous syntax
- From: Coda Highland <chighland@...>
- Date: Tue, 11 Dec 2012 22:40:57 -0800
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