about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2014-10-01 21:31:20 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2014-10-01 21:31:20 -0700
commitc080bd52bc2ad89c151839d256b269651a67e63c (patch)
treeb5faeb163814c1bf4a50084f751d113437852435
parent3aa5544638215bf47f09a611b29b0b0e5e4d5651 (diff)
downloadzsh-c080bd52bc2ad89c151839d256b269651a67e63c.tar.gz
zsh-c080bd52bc2ad89c151839d256b269651a67e63c.tar.xz
zsh-c080bd52bc2ad89c151839d256b269651a67e63c.zip
33319: fix parens in example from 33312
-rw-r--r--ChangeLog4
-rw-r--r--Doc/Zsh/grammar.yo2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2eb41ecc0..8f6e73736 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-01  Barton E. Schaefer  <schaefer@zsh.org>
+
+	* 33319: Doc/Zsh/grammar.yo: fix parens in example from 33312
+
 2014-10-02  Axel Beckert  <abe@deuxchevaux.org>
 
 	* 33284: Mathieu Malaterre: Completion/Unix/Command/_{graphics,
diff --git a/Doc/Zsh/grammar.yo b/Doc/Zsh/grammar.yo
index eb1edf7f8..4d04c2470 100644
--- a/Doc/Zsh/grammar.yo
+++ b/Doc/Zsh/grammar.yo
@@ -356,7 +356,7 @@ forming a globbing pattern in that case.
 In any of the forms above, a redirection may appear outside the
 function body, for example
 
-example(func() { ... } 2>&1)
+example(func+LPAR()RPAR() { ... } 2>&1)
 
 The redirection is stored with the function and applied whenever the
 function is executed.  Any variables in the redirection are expanded