On Fri, Oct 12, 2007 at 07:51:30AM +0000, Zou Lunkai wrote:
> CVSROOT:      /sources/gnash
> Module name:  gnash
> Changes by:   Zou Lunkai <zoulunkai>  07/10/12 07:51:30
> 
> Modified files:
>       .              : ChangeLog 
>       server         : swf_function.cpp 
> 
> Log message:
>       * server/swf_function.cpp: use the caller's environment when the 
> original 
>         target is destroyed.

I belive swf_function should *always* use the caller's environment.
ActionExec, in it's turn, should initialize the scope stack to contain
the target of as_environment for global action code. If this wouldn't
currently work is due to the fact we keep togheter 'with' stack and 'scope' 
stack
resulting in 'scope' stack taking precedence over locals.

--strk;


_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to