about summary refs log tree commit diff
diff options
context:
space:
mode:
-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