On Wed, Apr 27, 2011 at 10:33 PM, David Korn <[email protected]> wrote:
> cc: [email protected]
> Subject: Re: [ast-developers] Problems with "typeset -m" to move a  
> function-local variable into a  function-local compound variable array of the 
> calling function...
> --------
>
>> While developing an application we hit a couple of problems with
>> "typeset -m" (=move/rename variable). The basic idea is to create a
>> variable locally and only move it into the (compound) variable array
>> of the caller if certain conditions are met.
>> The following testcase shows the problem:
>> -- snip --
[snip]
> This is fixed for the next update.

Thanks... :-)

> However,  do local output the following:
>
> # do local
> (
>  [9]=(
>  )
> )
>
> I am still investigating why.  However, when it goes to execute
>        typeset -m pos=addvar
> the function do_local_plain scope is not visible.

This is a bug, right ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to