[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Ambiguous syntax
- From: Sven Olsen <sven2718@...>
- Date: Wed, 12 Dec 2012 06:34:21 -0800
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