From 30c98aa87ed0605f2e7cd254463624c062665cc8 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Wed, 28 Dec 2011 03:20:18 +0000 Subject: 30069: replace empty parens with LPAR()RPAR() in an example. --- ChangeLog | 7 ++++++- Doc/Zsh/options.yo | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 52e672f88..2a9a5adb5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-12-27 Barton E. Schaefer + + * 30069: Doc/Zsh/options.yo: replace empty parens with + LPAR()RPAR(). + 2011-12-21 Peter Stephenson * 30041: Src/subst.c: the offset hack to make @@ -15791,5 +15796,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5548 $ +* $Revision: 1.5549 $ ***************************************************** diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index 68247264f..4bf55fa0c 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -567,12 +567,12 @@ tt(IGNORE_BRACES), this option does not disable brace expansion. For example, with both options unset a function may be defined in the following fashion: -example(args() { echo $# }) +example(args+LPAR()RPAR() { echo $# }) while if either option is set, this does not work and something equivalent to the following is required: -example(args() { echo $#; }) +example(args+LPAR()RPAR() { echo $#; }) ) pindex(KSH_GLOB) -- cgit 1.4.1