mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-05-22 12:21:29 +02:00
52878: Fix ${foo:^bar} where bar is an associative array
This commit is contained in:
parent
49c6978dbb
commit
a66e929185
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2024-04-07 Mikael Magnusson <mikachu@gmail.com>
|
||||
|
||||
* 52878: Src/subst.c: Fix ${foo:^bar} where bar is an associative
|
||||
array
|
||||
|
||||
2024-04-01 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 52865: Doc/Zsh/expn.yo, Doc/Zsh/params.yo, Etc/FAQ.yo:
|
||||
|
|
|
@ -3474,6 +3474,9 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int pf_flags,
|
|||
} else {
|
||||
char *sval;
|
||||
zip = getaparam(s);
|
||||
if (!zip) {
|
||||
zip = gethparam(s);
|
||||
}
|
||||
if (!zip) {
|
||||
sval = getsparam(s);
|
||||
if (sval)
|
||||
|
|
Loading…
Reference in a new issue