[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: gettable hook
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 30 May 2000 11:02:57 -0300 (EST)
>From email@example.com Fri May 26 17:15:59 2000
>From: Steve Dekorte <firstname.lastname@example.org>
>If I place a hook on "index" for strings like this:
>and then do:
> a = "foo"
>The gettableHook is called properly.
>But if I do:
>I get a syntax error.
>Is there any way to get both to work the same?
This has nothing to do with "index" or "gettable" tag methods.
It's a sintax problem.
We cannot have the syntax
because of ambiguity. The code below
is parsed as a=b"foo".test, which is equivalent to