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

Re: static vs. dynamic scoping



On 11/10/2010 10:28 AM, Eric Blake wrote:
> provide the 'typeset' special built-in, which is required to obey XBD
> 12.2 (that is, it must honor --), so as to allow implementations to
> support extensions such as 'typeset -a' for declaring array variables
> 
> require that 'typedef' used without options and within a function body
> provide a statically scoped local variable.  Possible require a few
> other commonly implemented 'typedef -X' options, such as 'typedef -p'
> for printing the current set of locally scoped variables (much like
> 'export -p).

'typeset', not 'typedef', throughout that paragraph.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature



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