summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-11-19 14:19:40 +0000
committerPeter Stephenson <pws@zsh.org>2015-11-19 14:19:40 +0000
commit5d0859a40113dcb57aba9ee877a0b531b6622584 (patch)
treed8b0b5c080fe65f0ae6539837cbc2bc5fe81ff78
parent59235205c6c8b189b7227f206754aaf485010136 (diff)
downloadzsh-5d0859a40113dcb57aba9ee877a0b531b6622584.tar.gz
zsh-5d0859a40113dcb57aba9ee877a0b531b6622584.tar.xz
zsh-5d0859a40113dcb57aba9ee877a0b531b6622584.zip
unposted: describe separators between values in array assignment
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/params.yo5
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 59b3cc6d2..42deaf073 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-11-19  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* unposted: Doc/Zsh/params.yo: describe separators between
+	values in array assignment.
+
 2015-11-18  Barton E. Schaefer  <schaefer@zsh.org>
 
 	* 37145: Src/lex.c: suppress alias expansion in skipcomm() to
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index eb31286e4..21bb87442 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -99,6 +99,11 @@ the syntax:
 ifzman()
 indent(var(name)tt(+=LPAR())var(value) ...tt(RPAR()))
 
+Within the parentheses on the right hand side of either form of the
+assignment, newlines and semicolons are treated the same as white space,
+separating individual var(value)s.  Any consecutive sequence of such
+characters has the same effect.
+
 Ordinary array parameters may also be explicitly declared with:
 findex(typeset, use of)
 ifzman()