mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
zsh-workers/9757
This commit is contained in:
parent
c7f3045009
commit
d5980018d5
1 changed files with 5 additions and 5 deletions
10
Src/subst.c
10
Src/subst.c
|
@ -1766,7 +1766,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub)
|
|||
if (prenum || postnum)
|
||||
x = dopadding(x, prenum, postnum, preone, postone,
|
||||
premul, postmul);
|
||||
if (eval && parsestr(x))
|
||||
if (eval && parse_subst_string(x))
|
||||
return NULL;
|
||||
xlen = strlen(x);
|
||||
for (tn = firstnode(tl);
|
||||
|
@ -1801,7 +1801,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub)
|
|||
if (prenum || postnum)
|
||||
x = dopadding(x, prenum, postnum, preone, postone,
|
||||
premul, postmul);
|
||||
if (eval && parsestr(x))
|
||||
if (eval && parse_subst_string(x))
|
||||
return NULL;
|
||||
xlen = strlen(x);
|
||||
strcatsub(&y, ostr, aptr, x, xlen, NULL, globsubst);
|
||||
|
@ -1816,7 +1816,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub)
|
|||
if (prenum || postnum)
|
||||
x = dopadding(x, prenum, postnum, preone, postone,
|
||||
premul, postmul);
|
||||
if (eval && parsestr(x))
|
||||
if (eval && parse_subst_string(x))
|
||||
return NULL;
|
||||
if (qt && !*x && isarr != 2)
|
||||
y = dupstring(nulstring);
|
||||
|
@ -1832,7 +1832,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub)
|
|||
if (prenum || postnum)
|
||||
x = dopadding(x, prenum, postnum, preone, postone,
|
||||
premul, postmul);
|
||||
if (eval && parsestr(x))
|
||||
if (eval && parse_subst_string(x))
|
||||
return NULL;
|
||||
xlen = strlen(x);
|
||||
*str = strcatsub(&y, aptr, aptr, x, xlen, fstr, globsubst);
|
||||
|
@ -1851,7 +1851,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub)
|
|||
if (prenum || postnum)
|
||||
x = dopadding(x, prenum, postnum, preone, postone,
|
||||
premul, postmul);
|
||||
if (eval && parsestr(x))
|
||||
if (eval && parse_subst_string(x))
|
||||
return NULL;
|
||||
xlen = strlen(x);
|
||||
*str = strcatsub(&y, ostr, aptr, x, xlen, fstr, globsubst);
|
||||
|
|
Loading…
Reference in a new issue