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.484 2003/03/08 17:25:19 grubba Exp $ + || $Id: program.c,v 1.485 2003/03/09 13:10:40 grubba Exp $   */      #include "global.h" - RCSID("$Id: program.c,v 1.484 2003/03/08 17:25:19 grubba Exp $"); + RCSID("$Id: program.c,v 1.485 2003/03/09 13:10:40 grubba Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"   #include "pike_types.h"   #include "stralloc.h"   #include "las.h"   #include "language.h"   #include "lex.h"   #include "pike_macros.h"   #include "fsort.h"
pike.git/src/program.c:5546:    if (!tmp->fun(tmp->data, finish)) ok = 0;    verify_supporters();    }    return ok;   }      int report_compiler_dependency(struct program *p)   {    int ret=0;    struct Supporter *c,*cc; +  +  if (p == Pike_compiler->new_program) { +  /* Depends on self... */ +  return 0; +  }    verify_supporters();    if (force_resolve)    return 0;    for(cc=current_supporter;cc;cc=cc->previous)    {    if(cc->prog &&    !(cc->prog->flags & PROGRAM_PASS_1_DONE))    {    c=cc->depends_on;    if(!c) c=cc->previous;