Branch: Tag:

2008-01-13

2008-01-13 19:08:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Removed some dead code.
Added some minimal support for wide string identifiers to safe_idname_from_int().

Rev: src/interpret.c:1.384

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: interpret.c,v 1.383 2007/07/01 12:34:41 grubba Exp $ + || $Id: interpret.c,v 1.384 2008/01/13 19:08:30 grubba Exp $   */      #include "global.h"
2714:    id = prog->identifiers + ref->identifier_offset;    if (!id->name)    return "<null identifier->name>"; -  if (!id->name->str) -  return "<null identifier->name->str>"; -  /* FIXME: Wide string identifiers. */ +  if (id->name->size_shift) +  return "<wide identifier->name->str>"; +  /* FIXME: Convert wide string identifiers to narrow strings? */    return id->name->str;   }