lua-users home
lua-l archive

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


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