mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-01 18:30:55 +01:00
zsh-3.1.5-pws-7
This commit is contained in:
parent
7a40d6c258
commit
850fb2e7f9
35 changed files with 1137 additions and 507 deletions
|
|
@ -1500,7 +1500,7 @@ setsparam(char *s, char *val)
|
|||
} else {
|
||||
if (!(v = getvalue(&s, 1)))
|
||||
createparam(t, PM_SCALAR);
|
||||
else if (PM_TYPE(v->pm->flags) == PM_ARRAY &&
|
||||
else if ((PM_TYPE(v->pm->flags) & (PM_ARRAY|PM_HASHED)) &&
|
||||
!(v->pm->flags & (PM_SPECIAL|PM_TIED)) && unset(KSHARRAYS)) {
|
||||
unsetparam(t);
|
||||
createparam(t, PM_SCALAR);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue