Branch: Tag:

2001-06-23

2001-06-23 21:52:10 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

allow programs with pragma_save_parent to be cloned without parent since they unless they really NEED a parent pointer

Rev: src/docode.c:1.122
Rev: src/las.c:1.254
Rev: src/object.c:1.171
Rev: src/program.c:1.333
Rev: src/program.h:1.130

5:   \*/   /**/   #include "global.h" - RCSID("$Id: program.c,v 1.332 2001/06/14 16:12:13 grubba Exp $"); + RCSID("$Id: program.c,v 1.333 2001/06/23 21:52:10 hubbe Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
2358:    return;    }    -  if(p->flags & PROGRAM_USES_PARENT) +  if(p->flags & PROGRAM_NEEDS_PARENT)    {    struct program_state *state=Pike_compiler;