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.636 2008/01/05 20:08:12 grubba Exp $ + || $Id: program.c,v 1.637 2008/01/13 15:49:01 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:4516:    }    if (type) {    copy_pike_type(dummy.type, type);    } else {    copy_pike_type(dummy.type, id->type);    }    dummy.identifier_flags = id->identifier_flags | IDENTIFIER_ALIAS;    dummy.run_time_type = id->run_time_type; /* Not actually used. */    dummy.func.ext_ref.depth = depth;    dummy.func.ext_ref.id = refno; +  dummy.opt_flags = 0;   #ifdef PROFILING    dummy.self_time=0;    dummy.num_calls=0;    dummy.total_time=0;   #endif       ref.id_flags=flags;    ref.identifier_offset=Pike_compiler->new_program->num_identifiers;    ref.inherit_offset=0;   
pike.git/src/program.c:4639: Inside #if defined(PIKE_DEBUG)
   if(Pike_compiler->compiler_pass==2)    Pike_fatal("Internal error: Not allowed to add more identifiers during second compiler pass.\n"    "Added identifier: \"%s\"\n", name->str);   #endif       copy_shared_string(dummy.name, name);    copy_pike_type(dummy.type, type);    dummy.identifier_flags = IDENTIFIER_VARIABLE;    dummy.run_time_type=run_time_type;    dummy.func.offset=offset - Pike_compiler->new_program->inherits[0].storage_offset; +  dummy.opt_flags = 0;   #ifdef PROFILING    dummy.self_time=0;    dummy.num_calls=0;    dummy.total_time=0;   #endif       ref.id_flags=flags;    ref.identifier_offset=Pike_compiler->new_program->num_identifiers;    ref.inherit_offset=0;