diff options
| author | Bart Schaefer <schaefer@ipost.com> | 2020-12-04 14:46:19 -0800 |
|---|---|---|
| committer | Bart Schaefer <schaefer@ipost.com> | 2021-04-10 14:12:29 -0700 |
| commit | 7a2d6589ba5e088b959657e35fee867d3d72e55b (patch) | |
| tree | e100b0261ac12764902bb1cc1077f108426cf9cd /Src | |
| parent | Partial fix for handling of tied arrays. (diff) | |
| download | zsh-7a2d6589ba5e088b959657e35fee867d3d72e55b.tar zsh-7a2d6589ba5e088b959657e35fee867d3d72e55b.tar.gz zsh-7a2d6589ba5e088b959657e35fee867d3d72e55b.tar.bz2 zsh-7a2d6589ba5e088b959657e35fee867d3d72e55b.tar.lz zsh-7a2d6589ba5e088b959657e35fee867d3d72e55b.tar.xz zsh-7a2d6589ba5e088b959657e35fee867d3d72e55b.tar.zst zsh-7a2d6589ba5e088b959657e35fee867d3d72e55b.zip | |
Unset of a tied local scalar previously left it using tiedarr_gsu
Diffstat (limited to 'Src')
| -rw-r--r-- | Src/params.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/params.c b/Src/params.c index a0d4caf52..1a047d9e0 100644 --- a/Src/params.c +++ b/Src/params.c @@ -3659,6 +3659,8 @@ unsetparam_pm(Param pm, int altflag, int exp) } zsfree(altremove); + if (!(pm->node.flags & PM_SPECIAL)) + pm->gsu.s = &stdscalar_gsu; } /* |
