pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:4793:    if(inherit.parent) add_ref(inherit.parent);       if(name)    {    if(e==0)    {    copy_shared_string(inherit.name,name);    }    else if(inherit.name)    { -  /* FIXME: Wide string handling. */ -  struct pike_string *s; -  s=begin_shared_string(inherit.name->len + name->len + 2); -  MEMCPY(s->str,name->str,name->len); -  MEMCPY(s->str+name->len,"::",2); -  MEMCPY(s->str+name->len+2,inherit.name->str,inherit.name->len); -  inherit.name=end_shared_string(s); +  add_ref(inherit.name);    } -  else -  { -  inherit.name=0; -  } +     }else{    inherit.name=0;    }    add_to_inherits(inherit);    }       /* This value is used by encode_value() to reverse the inherit operation. */    Pike_compiler->new_program->inherits[inherit_offset].identifier_ref_offset =    Pike_compiler->new_program->num_identifier_references;