Branch: Tag:

2000-03-09

2000-03-09 20:37:15 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

cloning objects without parants will now give an error if it needs a parent..

Rev: src/docode.c:1.66
Rev: src/object.c:1.93

5:   \*/   /**/   #include "global.h" - RCSID("$Id: docode.c,v 1.65 2000/03/07 21:22:08 hubbe Exp $"); + RCSID("$Id: docode.c,v 1.66 2000/03/09 20:37:15 hubbe Exp $");   #include "las.h"   #include "program.h"   #include "language.h"
1183:    x++;    emit(F_LDA, x);    emit(F_EXTERNAL, n->u.sval.subtype); +  new_program->flags |= PROGRAM_USES_PARENT;    return 1;    }    }