lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> This has nothing to do with "index" or "gettable" tag methods.
> It's a sintax problem.
> We cannot have the syntax
> 	"foo".test
> because of ambiguity. The code below
> 	a=b
> 	"foo".test
> is parsed as a=b"foo".test, which is equivalent to
> 	a=b("foo").test

How about using a semicolon?:

  a=b;
  "foo".test

Steve