1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-05 11:01:13 +02:00

37310: effect of disabling typeset reserved word

This commit is contained in:
Peter Stephenson 2015-12-07 09:44:06 +00:00
parent 87670fb011
commit dfd761058e
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2015-12-07 Peter Stephenson <p.stephenson@samsung.com>
* 37310: Doc/Zsh/builtins.yo: effect of disabling typeset
reserved word.
2015-12-06 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 37326: Src/utils.c: comment how counting for multibyte string

View file

@ -1812,7 +1812,10 @@ this means.
Note that each interface to any of the commands my be disabled
separately. For example, `tt(disable -r typeset)' disables the reserved
word interface to tt(typeset), exposing the builtin interface, while
`tt(disable typeset)' disables the builtin.
`tt(disable typeset)' disables the builtin. Note that disabling the
reserved word interface for tt(typeset) may cause problems with the
output of `tt(typeset -p)', which assumes the reserved word interface is
available in order to restore array and associative array values.
If the shell option tt(TYPESET_SILENT) is not set, for each remaining
var(name) that refers to a parameter that is already set, the name and