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.506 2003/06/06 14:31:11 grubba Exp $ + || $Id: program.c,v 1.507 2003/06/06 14:35:48 grubba Exp $   */      #include "global.h" - RCSID("$Id: program.c,v 1.506 2003/06/06 14:31:11 grubba Exp $"); + RCSID("$Id: program.c,v 1.507 2003/06/06 14:35:48 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:1587: Inside #if defined(PROGRAM_BUILD_DEBUG)
     #ifdef PROGRAM_BUILD_DEBUG    fprintf(stderr, "%.*soverloaded reference %d (id_flags:0x%04x)\n",    compilation_depth, " ", cur_id,    Pike_compiler->new_program->identifier_references[cur_id].id_flags);   #endif       if (!new_is_variable &&    IDENTIFIER_IS_VARIABLE(ID_FROM_INT(Pike_compiler->new_program,    cur_id)->identifier_flags)) { -  // Overloading a variable with a constant or a function. -  // This is generally a bad idea. +  /* Overloading a variable with a constant or a function. +  * This is generally a bad idea. +  */    Pike_compiler->new_program->identifier_references[cur_id].id_flags |=    ID_INLINE|ID_HIDDEN;    yywarning("Attempt to override a non local variable %s%s%swith a non variable.",    (name&&!name->size_shift)?"\"":"",    (name&&!name->size_shift)?name->str:"",    (name&&!name->size_shift)?"\" ":"");    continue;    }       Pike_compiler->new_program->identifier_references[cur_id]=*ref;