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.458 2002/11/19 12:31:49 grubba Exp $ + || $Id: program.c,v 1.459 2002/11/22 15:46:14 grubba Exp $   */      #include "global.h" - RCSID("$Id: program.c,v 1.458 2002/11/19 12:31:49 grubba Exp $"); + RCSID("$Id: program.c,v 1.459 2002/11/22 15:46:14 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:4181:    fun.identifier_flags=function_flags;    fun.run_time_type=T_FUNCTION;       if(func)    fun.func = *func;    else    fun.func.offset = -1;       fun.opt_flags = opt_flags;    + #ifdef PIKE_DEBUG +  if (a_flag > 5) { +  fprintf(stderr, +  "Adding new function #%d: '%s'\n" +  " identifier_flags:0x%02x opt_flags:0x%04x\n", +  Pike_compiler->new_program->num_identifiers, +  fun.name->str, +  fun.identifier_flags, fun.opt_flags); +  } + #endif /* PIKE_DEBUG */ +     i=Pike_compiler->new_program->num_identifiers;       debug_add_to_identifiers(fun);       ref.id_flags = flags;    ref.identifier_offset = i;    ref.inherit_offset = 0;       i=Pike_compiler->new_program->num_identifier_references;    add_to_identifier_references(ref);