Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Builtin strftime and TZ assignments
On Sat, 21 Feb 2015 12:45:46 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> However, I'm hoping someone (PWS?) can explain why the extra pm->level
> bump is necessary to get the parameter to be removed from the environment
> upon endparamscope().
I don't know. Is it necessary? The code in params.c that deals with
locallevel suggests it shouldn't be.
>+ pm->level = locallevel + 1; /* copied from Zle/zle_params.c*/
In zle_params.c the parameter scope isn't supplied, instead it's
supplied by the surrounding code, so this might be caution, historical,
whatever.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author