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.754 2008/09/14 11:16:23 grubba Exp $ + || $Id: program.c,v 1.755 2008/09/14 17:01:18 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:5021:    }       /* Create an alias for the old variable reference, so that we    * can change the compile-time type. */    n2 = define_alias(name, type, flags & ~ID_EXTERN, 0, n);       /* Hide the old variable. */    Pike_compiler->new_program->identifier_references[n].id_flags |=    ID_HIDDEN;    return n2; +  } else if ((IDENTIFIERP(n)->id_flags & (ID_INLINE|ID_INHERITED)) == +  (ID_INLINE|ID_INHERITED)) { +  /* Hide the overloaded inherited symbol. */ +  IDENTIFIERP(n)->id_flags |= ID_HIDDEN;    } -  +  } else if ((IDENTIFIERP(n)->id_flags & (ID_EXTERN|ID_INHERITED)) == +  (ID_EXTERN|ID_INHERITED)) { +  /* Hide the overloaded inherited symbol. */ +  IDENTIFIERP(n)->id_flags |= ID_HIDDEN;    }    }       if (flags & ID_EXTERN) {    run_time_type = PIKE_T_FREE;    } else {    run_time_type=compile_type_to_runtime_type(type);       switch(run_time_type)    {