pike.git / src / las.c

version» Context lines:

pike.git/src/las.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: las.c,v 1.219 2000/09/30 23:31:42 per Exp $"); + RCSID("$Id: las.c,v 1.220 2000/10/02 14:16:01 grubba Exp $");      #include "language.h"   #include "interpret.h"   #include "las.h"   #include "array.h"   #include "object.h"   #include "stralloc.h"   #include "dynamic_buffer.h"   #include "lex.h"   #include "pike_types.h"
pike.git/src/las.c:371: Inside #if defined(SHARED_NODES)
  static void add_node(node *n)   {    size_t hval = (n->hash % node_hash.size);      #ifdef PIKE_DEBUG    node *probe = node_hash.table[hval];    while(probe) {    if (probe == n)    {    fprintf(stderr, "add_node(%p == %p): Node already added!\n", probe, n); -  fprintf( stderr, " %d <-> %d\n", hval, (n->hash % node_hash.size) ); +  fprintf( stderr, " %ld <-> %ld\n", +  DO_NOT_WARN((long)hval), +  DO_NOT_WARN((long)(n->hash % node_hash.size)) );    probe = node_hash.table[hval];    while( probe )    {    fprintf(stderr, " %p\n", probe);    probe = probe->next;    }    fatal( "Node already added!\n" );    }    probe = probe->next;    }