pike.git / src / cpp.cmod

version» Context lines:

pike.git/src/cpp.cmod:1681:    mapping_string_insert(this->defines, def->name, Pike_sp-1);    pop_stack();   }      static void simple_add_define(struct cpp *this,    const char *name,    const char *what)   {       struct pike_string *name_str = make_define_name(this, name); -  add_define(this, name_str, make_shared_string(what)); +  struct pike_string *what_str = make_shared_string(what); +  add_define(this, name_str, what_str); +  free_string(what_str);    free_string(name_str);   }      static struct pike_string *recode_string(struct cpp *this, struct pike_string *data)   {    /* Observations:    *    * * At least a prefix of two bytes need to be 7bit in a valid    * Pike program.    *