pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:1:   /*   || 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"   #include "interpret.h"   #include "object.h"   #include "program.h"   #include "svalue.h"   #include "array.h"   #include "mapping.h"   #include "pike_error.h"
pike.git/src/interpret.c:2707:    prog = inher->prog;    if (!prog)    return "<null inherited prog>";    if (ref->identifier_offset >= prog->num_identifiers)    return "<offset outside inherited prog->identifiers>";    if (!prog->identifiers)    return "<null inherited prog->identifiers>";    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;   }      /*: Prints the Pike backtrace for the interpreter context in the given    *: thread to stderr, without messing in the internals (doesn't even    *: use dynamic_buffer).    *:    *: This function is intended only for convenient use inside a    *: debugger session; it can't be used from inside the code.    */