mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-29 05:21:00 +01:00
41420: "{.." wasn't check for brace expansion properly
This commit is contained in:
parent
050f752ed2
commit
a3b3f00575
3 changed files with 11 additions and 0 deletions
|
|
@ -2194,6 +2194,8 @@ bracechardots(char *str, convchar_t *c1p, convchar_t *c2p)
|
|||
pnext[0] != '.' || pnext[1] != '.')
|
||||
return 0;
|
||||
pnext += 2;
|
||||
if (!*pnext)
|
||||
return 0;
|
||||
if (itok(*pnext)) {
|
||||
if (*pnext == Inbrace)
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue