Branch: Tag:

1998-01-27

1998-01-27 18:11:35 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

fix for 'parent lost during cloning' problem

Rev: src/program.c:1.56

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: program.c,v 1.55 1998/01/26 19:59:59 hubbe Exp $"); + RCSID("$Id: program.c,v 1.56 1998/01/27 18:11:35 hubbe Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
211:    {    struct identifier *id;    id=ID_FROM_INT(p->new_program, i); + #if 0    if(IDENTIFIER_IS_CONSTANT(id->identifier_flags))    {    ret=mksvaluenode(PROG_FROM_INT(p->new_program, i)->constants+    id->func.offset);    return ret; -  }else{ +  } + #endif    return mkexternalnode(n, i, id);    }    }    } -  } +     return 0;   }