pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:3218:       if (!p) {    if(data->pickyness)    decode_error(data, NULL, "Failed to decode program. Got: %O\n",    Pike_sp - 1);    pop_stack();    push_undefined();    break;    }    +  if ((p->flags & PROGRAM_NEEDS_PARENT)) { +  EDB(2, fprintf(stderr, "%*sKeeping %s to keep parent pointer.\n", +  data->depth, "", +  get_name_of_type(TYPEOF(Pike_sp[-1])))); +  break; +  } +     add_ref(p);    pop_stack();    push_program(p);    break;    }       case 1: /* Old-style encoding. */    {    int d, in;    size_t size=0;