lua-users home
lua-l archive

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


> > > > > local t = {1 2 3 4}
> > > >
> > > yes, there are ambiguous cases of couse. e.g.
> > > { a = f (g)(h) }
> > 
> > Or { f "hello" }. Is it 1 entry or 2 entries?
> 
> These cases are not ambiguous. Unlike statements, table entries must
> have commas or semicolons between them. (BTW, note that the examples do
> not use the proposed extension, so they would be already ambiguous
> in current Lua.)

I got the message proposing the removal of commas out of order; I
thought the discussion was about the original proposal. Sorry for the
noise.

-- Roberto