|
But then, this syntax already has a meaning:
local f( val or default ):method()
On Wed, Jul 6, 2011 at 16:32, David Hollander <dhllndr@gmail.com> wrote:But then, this syntax already has a meaning:
> Now let's say I am parsing the following:
> "local success(items, total)"
local f( val or default ):method()
is
local f;
( val or default ):method()
Of course, ( val1, val2 ):method() is syntatically invalid, but it
takes a lookahead parser to know that, and even if you use the simple
form, the ambiguity is still there.
--rb