mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-05-19 22:46:03 +02:00
30069: replace empty parens with LPAR()RPAR() in an example.
This commit is contained in:
parent
ae146b0fe2
commit
30c98aa87e
|
@ -1,3 +1,8 @@
|
|||
2011-12-27 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 30069: Doc/Zsh/options.yo: replace empty parens with
|
||||
LPAR()RPAR().
|
||||
|
||||
2011-12-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 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 $
|
||||
*****************************************************
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue