mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-01 18:30:55 +01:00
zsh-workers/7963
This commit is contained in:
parent
d6ed401f60
commit
3b0bd4cf4a
2 changed files with 79 additions and 49 deletions
|
|
@ -152,7 +152,8 @@ stringsubst(LinkList list, LinkNode node, int ssub)
|
|||
*str++ = '\0';
|
||||
if (endchar == Outpar && str2[1] == '(' && str[-2] == ')') {
|
||||
/* Math substitution of the form $((...)) */
|
||||
str = arithsubst(str2 + 1, &str3, str);
|
||||
str[-2] = '\0';
|
||||
str = arithsubst(str2 + 2, &str3, str);
|
||||
setdata(node, (void *) str3);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue