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.689 2008/05/08 10:50:19 grubba Exp $ + || $Id: program.c,v 1.690 2008/05/10 20:43:25 mast 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:1398:      void ins_short(int i, void (*func)(char tmp))   {    int e;    unsigned char *p = (unsigned char *)&i;    for(e=0;e<(long)sizeof(i);e++) {    func(p[e]);    }   }    - #ifdef PIKE_DEBUG + #if 0 + /* This check is not possible to do since the identifier is added +  * before checking for duplicates in add_constant. */   static void debug_add_to_identifiers (struct identifier id)   {    if (d_flag) {    int i;    for (i = 0; i < Pike_compiler->new_program->num_identifiers; i++)    if (Pike_compiler->new_program->identifiers[i].name == id.name) {    dump_program_tables (Pike_compiler->new_program, 0);    Pike_fatal ("Adding identifier twice, old at %d.\n", i);    }    }