summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoey Pabalinas <joeypabalinas@gmail.com>2018-12-17 00:54:24 -1000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2018-12-17 12:02:43 +0000
commit552ebe6082407b2cd3b9c9434394bad46fc59154 (patch)
tree90521d07b75f19b9769768dd59bd0fd221d01d54 /ChangeLog
parente64bd2ad4c8740477a6fad6ca692b42da9e64f36 (diff)
downloadzsh-552ebe6082407b2cd3b9c9434394bad46fc59154.tar.gz
zsh-552ebe6082407b2cd3b9c9434394bad46fc59154.tar.xz
zsh-552ebe6082407b2cd3b9c9434394bad46fc59154.zip
43904 (plus tweak): zshmisc(1): document term being optional if `in word' is omitted
In code such as:

> hobbes% () { for arg do print -r $arg; done; } 1 2 3
> 1
> 2
> 3

the implicit positional parameters added when the `in word ...'
list is omitted also implicitly append the separator term, making
the above code valid, albeit seemingly violating the syntax listed
in the documentation.

This is related to the various forms of alternative syntax and is
the intended behavior of the parsing code, so correct the minor
contradiction in the for loop documentation.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 976924c04..3c0aabc40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-12-17  Joey Pabalinas  <joeypabalinas@gmail.com>
+
+	* 43904 (plus tweak): Doc/Zsh/grammar.yo: zshmisc(1): document
+	term being optional if `in word' is omitted
+
 2018-12-14  dana  <dana@dana.is>
 
 	* unposted: Completion/Unix/Command/_dig: Fix _arguments syntax