lua-users home
lua-l archive

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


Good point about {}. I hadn't thought about it in great detail.

But what's wrong with != and // ??

Michael



On Wed, 25 Jan 2006 16:47:56 -0800, Ben Sunshine-Hill wrote
> On 1/25/06, mnewberry <mnewberry@mirametrics.com> wrote:
> > I guess I don't see the problem with {} between the reserved keywords if,
> > else, and end becuase it would seem that the parser would always have a
> > context to work with.
> 
> There isn't necessarily any context, because blocks aren't always
> introduced by if, while, etc. Take the code { a = 1 }. Table
> constructor or block?
> 
> Ben