pike.git / src / interpret_functions.h

version» Context lines:

pike.git/src/interpret_functions.h:1:   /* -  * $Id: interpret_functions.h,v 1.25 2000/07/07 01:24:14 hubbe Exp $ +  * $Id: interpret_functions.h,v 1.26 2000/07/12 12:25:18 grubba Exp $    *    * Opcode definitions for the interpreter.    */      OPCODE0(F_UNDEFINED,"push UNDEFINED")    push_int(0);    Pike_sp[-1].subtype=NUMBER_UNDEFINED;   BREAK;      OPCODE0(F_CONST0, "push 0")
pike.git/src/interpret_functions.h:197:   {    struct inherit *inherit;    struct program *p;    struct object *o;    INT32 i,id=arg1;       inherit=&Pike_fp->context;    o=Pike_fp->current_object;       if(!o) -  error("Current object is destructed\n"); +  error("Parent was lost during cloning.\n");    -  +  if(!(o->prog)) +  error("Attempting to access variable in destructed object\n"); +     while(1)    {    if(inherit->parent_offset)    {    i=o->parent_identifier;    o=o->parent;    arg2+=inherit->parent_offset-1;    }else{    i=inherit->parent_identifier;    o=inherit->parent;