pike.git / src / program.c

version» Context lines:

pike.git/src/program.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: program.c,v 1.764 2009/06/22 12:08:51 grubba Exp $ + || $Id: program.c,v 1.765 2009/06/24 17:35:28 grubba Exp $   */      #include "global.h"   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"   #include "pike_types.h"   #include "stralloc.h"   #include "las.h"   #include "lex.h"
pike.git/src/program.c:6996:    loc.o = o;    loc.inherit = INHERIT_FROM_INT(o->prog, fun);    loc.parent_identifier = fun;    find_external_context(&loc, id->func.ext_ref.depth);    fun = id->func.ext_ref.id + loc.inherit->identifier_level;    o = loc.o;    }    if (IDENTIFIER_IS_PIKE_FUNCTION(id->identifier_flags) &&    (id->func.offset != -1))    return low_get_line (p->program + id->func.offset, p, linep); -  if ((ret = get_identifier_line(p, fun, linep))) { +  if ((ret = get_identifier_line(o->prog, fun, linep))) {    add_ref(ret);    return ret;    }    return low_get_program_line(o->prog, linep);    }    *linep = 0;    return NULL;   }      /* Return the file and line where the identifier with reference number