diff options
author | Bart Schaefer <schaefer@zsh.org> | 2023-02-12 11:57:31 -0800 |
---|---|---|
committer | Bart Schaefer <schaefer@zsh.org> | 2023-02-12 11:57:31 -0800 |
commit | acb15e3cc9af6c5b51e570765e6734e958d32aef (patch) | |
tree | 530ceb89c52f5d1437d76ea1faf305f033a5d259 /Doc/Zsh/grammar.yo | |
parent | 3eed6f70cdfea63cfdc380a4df8382fff38af55d (diff) | |
download | zsh-acb15e3cc9af6c5b51e570765e6734e958d32aef.tar.gz zsh-acb15e3cc9af6c5b51e570765e6734e958d32aef.tar.xz zsh-acb15e3cc9af6c5b51e570765e6734e958d32aef.zip |
51403: Tests and documentation for 51402, clean up some other tests.
Diffstat (limited to 'Doc/Zsh/grammar.yo')
-rw-r--r-- | Doc/Zsh/grammar.yo | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/Zsh/grammar.yo b/Doc/Zsh/grammar.yo index 9af211090..1b834f41a 100644 --- a/Doc/Zsh/grammar.yo +++ b/Doc/Zsh/grammar.yo @@ -187,6 +187,9 @@ Expand the list of var(word)s, and set the parameter var(name) to each of them in turn, executing var(list) each time. If the `tt(in) var(word)' is omitted, use the positional parameters instead of the var(word)s. +If any var(name) has been declared as a named reference, +the corresponding var(word) is treated as the name of a +parameter and var(name) is made a reference to that. The var(term) consists of one or more newline or tt(;) which terminate the var(word)s, and are optional when the |