diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2017-09-23 18:17:51 +0100 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2017-09-24 17:33:07 +0100 |
commit | 85b0dd71335c8ee6d4925be6b590cbe643edf196 (patch) | |
tree | 227a562b08a3a8b5a01e1b802533a844d1fa5fbd /Src/Zle/zle_tricky.c | |
parent | 8ddadb8afe819951891f30cfbf5061af56a231e9 (diff) | |
download | zsh-85b0dd71335c8ee6d4925be6b590cbe643edf196.tar.gz zsh-85b0dd71335c8ee6d4925be6b590cbe643edf196.tar.xz zsh-85b0dd71335c8ee6d4925be6b590cbe643edf196.zip |
Updates for ksh array element syntax.
Move detection of key/value pairs down into prefork(). Detect normal array assignment and [key]=val array assignemnt separately. Mark key / value pairs with Marker and pass up flag. Deal with marked triads specially later on.
Diffstat (limited to 'Src/Zle/zle_tricky.c')
-rw-r--r-- | Src/Zle/zle_tricky.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index 5a9cccb6f..caeef7692 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -2268,7 +2268,7 @@ doexpansion(char *s, int lst, int olst, int explincmd) int ng = opts[NULLGLOB]; opts[NULLGLOB] = 1; - globlist(vl, 1); + globlist(vl, PREFORK_NO_UNTOK); opts[NULLGLOB] = ng; } if (errflag) |