gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash ChangeLog server/swf_function.cpp


From: strk
Subject: Re: [Gnash-commit] gnash ChangeLog server/swf_function.cpp
Date: Fri, 12 Oct 2007 09:58:53 +0200

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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]