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 /NEWS | |
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 'NEWS')
-rw-r--r-- | NEWS | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/NEWS b/NEWS index 796a2c90d..77f13bb3e 100644 --- a/NEWS +++ b/NEWS @@ -4,7 +4,7 @@ CHANGES FROM PREVIOUS VERSIONS OF ZSH Note also the list of incompatibilities in the README file. -Changes from 5.4 to 5.4.3 +Changes from 5.4.2 to 5.5 ------------------------- The effect of the NO_INTERACTIVE_COMMENTS option extends into $(...) and @@ -12,8 +12,17 @@ The effect of the NO_INTERACTIVE_COMMENTS option extends into $(...) and comments were always recognized within command substitutions unless the comment character "#" was disabled via reset of $histchars. -Changes from 5.3.1 to 5.4 -------------------------- +An alternative assignment syntax for indicating indices for arrays +and keys for associative arrays: + +typeset -a array=([1]=first [2]=second) +typeset -A assoc=([key1]=val1 [key2]=val2) + +is allowed for compatibility with other shells. In the case of normal +arrays the new syntax can be mixed with the old. + +Changes from 5.3.1 to 5.4.2 +--------------------------- The 'exec' and 'command' precommand modifiers, and options to them, are now parsed after parameter expansion. Previously, both the modifier and |