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.767 2009/08/18 15:56:11 grubba Exp $ + || $Id: program.c,v 1.768 2009/08/18 19:55: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:1921:    default:    if ((id >= 100) && (id <= 300)) {    module = "Image";    } else if ((id >= 1000) && (id < 2000)) {    module = "___GTK";    } else if ((id >= 2000) && (id < 3000)) {    module = "___GTK2";    }    break;    } -  if (module) { +  if (module && get_master()) {    /* fprintf(stderr, "%s... ", module); */    push_text(module);    SAFE_APPLY_MASTER("resolv", 1);    pop_stack();       /* Try again... */    for(p=first_program;p;p=p->next)    {    if(id==p->id)    {
pike.git/src/program.c:5791:    my_yyerror("Illegal to redefine 'final' function %S.", name);    }          if(ref.id_flags & ID_INLINE)    {   #ifdef PROGRAM_BUILD_DEBUG    fprintf(stderr, "%.*sidentifier is local\n",    c->compilation_depth, "");   #endif -  +  /* Hide the previous definition, and make a new definition. */ +  Pike_compiler->new_program->identifier_references[i].id_flags |= +  ID_PROTECTED;    goto make_a_new_def;    }       /* Otherwise we alter the existing definition */   #ifdef PROGRAM_BUILD_DEBUG    fprintf(stderr, "%.*saltering the existing definition\n",    c->compilation_depth, "");   #endif       copy_shared_string(fun.name, name);