1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-05 23:26:38 +02:00

52878: Fix ${foo:^bar} where bar is an associative array

This commit is contained in:
Mikael Magnusson 2024-04-06 00:19:53 +02:00
parent 49c6978dbb
commit a66e929185
2 changed files with 8 additions and 0 deletions

View File

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

View File

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