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.684 2008/05/03 15:51:50 grubba Exp $ + || $Id: program.c,v 1.685 2008/05/03 15:54:13 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:1569:    i=really_low_find_shared_string_identifier(ident,    p->new_program,    SEE_STATIC|SEE_PRIVATE);    if(i!=-1)    {    if ((p->flags & COMPILATION_FORCE_RESOLVE) &&    (p->compiler_pass == 2) &&    ((p->num_inherits + 1) < p->new_program->num_inherits) &&    (PTR_FROM_INT(p->new_program, i)->inherit_offset >    p->num_inherits)) { -  /* Don't look up symbols inherited later, when looking up -  * inherits... +  /* Don't look up symbols inherited later, since we need to get +  * the same symbol in both passes in the force_resolve mode.    */    continue;    }    return p == Pike_compiler ?    mkidentifiernode(i) :    mkexternalnode(p->new_program, i);    }    }       if((ret=index_modules(ident,