pike.git / src / cpp.cmod

version» Context lines:

pike.git/src/cpp.cmod:1049:    push_int(res);   }      static struct mapping *initial_predefs_mapping(void)   {    struct pike_predef_s *def;    struct mapping *map = allocate_mapping (0);   #ifdef PIKE_DEBUG    if (!use_initial_predefs) Pike_fatal ("Initial predefs has been taken over.\n");   #endif -  for (def = first_predef; def; def = def->next) { -  push_text (def->name); -  push_text (def->value); -  mapping_insert (map, sp - 2, sp - 1); -  pop_n_elems (2); -  } +  for (def = first_predef; def; def = def->next) +  mapping_string_insert_string(map, +  make_shared_string(def->name), +  make_shared_string(def->value));    return map;   }      static p_wchar2 readchar( PCHARP data, ptrdiff_t *pos, struct cpp *this )   {    ptrdiff_t l;    p_wchar2 C;    INC_PCHARP(data,*pos);    switch(parse_esc_seq_pcharp (data, &C, &l))    {