Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: PATCH: Add jobdirs association to parameter module
- X-seq: zsh-workers 9041
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Sven Wischnowsky" <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: PATCH: Add jobdirs association to parameter module
- Date: Tue, 14 Dec 1999 15:55:16 +0300
- Importance: Normal
- In-reply-to: <199912140926.KAA29080@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
> I agree that it would be nice to have this cleaner so I just tried to
> allow dots in parameter names by simply adding `typtab['.'] |= IIDENT;'
> to inittyptab(). It /seems/ to work, only `$.a.b' doesn't (but
> `${.a.b}' does), haven't found the place where it fails yet -- mainly
> because I haven't really searched for it.
>
I do not think it is a problem. We already have a lot of modifiers that are
valid only inside of ${...} So, we could just as well state, that ${.x.y.z}
refers to object z defined in namespace .x.y.
As long as .x.y.z=foo and typeset .x.y.z work - I think, this restriction is
acceptable.
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author