lua-users home
lua-l archive

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



I think Lua's grammar allows that code to be read as two statements; it is a very "honest" ambiguity.

Yes, it looks like I am, in fact, exactly wrong about this.  My example is plenty ambiguous -- though I think Peter's isn't?

I'm still curious why the check was taken out in 5.2.  It did seem like a useful feature.

-Sven