Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: PATCH: Add jobdirs association to parameter module



>
> 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