Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Errors from latest grammar.yo doc commit



On Oct 1,  3:53pm, Bart Schaefer wrote:
} Subject: Errors from latest grammar.yo doc commit
}
} grammar.yo:364: No macro: func(...)


diff --git a/Doc/Zsh/grammar.yo b/Doc/Zsh/grammar.yo
index eb1edf7..4d04c24 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



Messages sorted by: Reverse Date, Date, Thread, Author