Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: static vs. dynamic scoping
- X-seq: zsh-workers 28406
- From: Eric Blake <eblake@xxxxxxxxxx>
- Subject: Re: static vs. dynamic scoping
- Date: Wed, 10 Nov 2010 10:43:41 -0700
- Cc: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxx, "austin-group-l@xxxxxxxxxxxxx" <austin-group-l@xxxxxxxxxxxxx>
- In-reply-to: <4CDAD633.5020804@xxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
- Organization: Red Hat
- References: <4CD9C64E.8060307@xxxxxxxxxx> <101110085030.ZM6206@xxxxxxxxxxxxxxxxxxxxxx> <4CDAD633.5020804@xxxxxxxxxx>
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