pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:3856:    j = prog->num_identifier_references;    while ((j = really_low_find_variant_identifier(name, prog, NULL, j,    SEE_PROTECTED|SEE_PRIVATE)) >= 0) {    struct reference *ref = prog->identifier_references + j;    id = ID_FROM_INT(prog, j);    id_flags |= ref->id_flags;    /* NB: The dispatcher needs the variant references to    * not get overloaded for the ::-operator to work.    */    prog->identifier_references[j].id_flags |= ID_LOCAL; +  { +  struct pike_type * temp = type;    type = or_pike_types(type, id->type, 1); -  +  if (temp) free_type(temp); +  }   #ifdef COMPILER_DEBUG    fprintf(stderr, "type: ");    simple_describe_type(id->type);    fprintf(stderr, "\n");   #endif    }   #ifdef COMPILER_DEBUG    fprintf(stderr, "Dispatcher type: ");    simple_describe_type(type);    fprintf(stderr, "\n");