pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:4872:    if(delay)    {    debug_malloc_touch(data);    /* We have been delayed */    return;    }      #ifdef PIKE_DEBUG    if (!free_after_error) {    NEW_MAPPING_LOOP (data->decoded->data) { -  if (TYPEOF(k->val) == T_PROGRAM && -  !(k->val.u.program->flags & PROGRAM_FINISHED)) { +  if (TYPEOF(keypair_val(k)) == T_PROGRAM && +  !(keypair_val(k).u.program->flags & PROGRAM_FINISHED)) {    decode_error (data, NULL,    "Got unfinished program <%O> after decode: %O\n", -  &k->ind, &k->val); +  &keypair_ind(k), &keypair_val(k));    }    }    if(data->unfinished_programs)    Pike_fatal("We have unfinished programs left in decode()!\n");    if(data->unfinished_objects)    Pike_fatal("We have unfinished objects left in decode()!\n");    if(data->unfinished_placeholders)    Pike_fatal("We have unfinished placeholders left in decode()!\n");    }   #endif