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

Re: Next zsh release



On Thu, May 19, 2011 at 10:53 AM, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> Hm, in this line,
> push(setmathvar(mvp,c), mvp->lval, 0);
> isn't it undefined whether setmathvar runs first or mvp->lval is evaluated?

Yeah, it is.  That should probably be changed to this, just for safety's sake:

            c = setmathvar(mvp, c);
            push(c, mvp->lval, 0);

..wayne..



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