pike.git / src / rbtree.c

version» Context lines:

pike.git/src/rbtree.c:1:   /* An implementation of a threaded red/black balanced binary tree.    *    * Created 2001-04-27 by Martin Stjernholm    * -  * $Id: rbtree.c,v 1.7 2001/05/02 14:50:37 grubba Exp $ +  * $Id: rbtree.c,v 1.8 2001/06/10 14:03:47 grubba Exp $    */      #include "global.h"   #include "constants.h"   #include "builtin_functions.h"   #include "interpret.h"   #include "mapping.h"   #include "pike_error.h"   #include "svalue.h"   #include "rbtree.h"
pike.git/src/rbtree.c:1580: Inside #if defined (PIKE_DEBUG) || defined (TEST_RBTREE)
   }, { /* next is leaf. */    fprintf (stderr, "[%p]", tree->next);    }, { /* next is subtree. */    if (!tree->next) {    fputs ("[Zero subtree!]", stderr);    goto leave_1;    }    }, { /* Pop. */    fputc (')', stderr);    skip_node: +  ;    });    fputc ('\n', stderr);    }    else    fprintf (stderr, "(empty tree)\n");   }      static void debug_rb_fatal (struct rb_node_hdr *tree, const char *fmt, ...)   {    va_list args;