Branch: Tag:

2010-11-25

2010-11-25 20:33:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Preparations for changing the identifier information for constants.

1445: Inside #if defined(PIKE_DEBUG)
   else if (IDENTIFIER_IS_PIKE_FUNCTION (id->identifier_flags))    fprintf (stderr, " pc: %"PRINTPTRDIFFT"d", id->func.offset);    else if (IDENTIFIER_IS_CONSTANT (id->identifier_flags)) { +  if (id->func.const_info.offset != -1) {    fputs (" value: ", stderr);    safe_print_svalue_compact ( -  stderr, &id_inh->prog->constants[id->func.offset].sval); +  stderr, &id_inh->prog->constants[id->func.const_info.offset].sval); +  } else { +  fputs (" placeholder constant", stderr);    } -  +  }       fputc ('\n', stderr);    id_count++;