lua-users home
lua-l archive

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


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