Branch: Tag:

2005-02-10

2005-02-10 16:23:53 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug when a tag starts a new scope with the same variable
mapping/object as the closest surrounding tag with a scope. Fixes [bug
3875 (#3875)].

Rev: server/etc/modules/RXML.pmod/module.pmod:1.337

2:   //   // Created 1999-07-30 by Martin Stjernholm.   // - // $Id: module.pmod,v 1.336 2004/10/20 14:11:11 mast Exp $ + // $Id: module.pmod,v 1.337 2005/02/10 16:23:53 mast Exp $      // Kludge: Must use "RXML.refs" somewhere for the whole module to be   // loaded correctly.
2339:    }      #define ENTER_SCOPE(ctx, frame) \ -  (frame->vars && frame->vars != ctx->scopes["_"] && \ +  (frame->vars && \ +  (!ctx->hidden[frame] || frame->vars != ctx->scopes["_"]) && \    ctx->enter_scope (frame, frame->vars))   #define LEAVE_SCOPE(ctx, frame) \    (frame->vars && ctx->leave_scope (frame))