pike.git / src / error.c

version» Context lines:

pike.git/src/error.c:11:   #include "stralloc.h"   #include "builtin_functions.h"   #include "array.h"   #include "object.h"   #include "main.h"   #include "builtin_functions.h"   #include "backend.h"   #include "operators.h"   #include "module_support.h"    - RCSID("$Id: error.c,v 1.31 1999/03/23 16:26:17 hubbe Exp $"); + RCSID("$Id: error.c,v 1.32 1999/04/02 15:18:05 hubbe Exp $");      #undef ATTRIBUTE   #define ATTRIBUTE(X)      JMP_BUF *recoveries=0;      #ifdef PIKE_DEBUG   void check_recovery_context(void)   {    char foo;
pike.git/src/error.c:367:       ERROR_STRUCT(generic,o)->desc=make_shared_string(buf);    f_backtrace(0);       if(func)    {    push_int(0);    push_int(0);    push_text(func);    -  for (i=-args; i; i++) +  for (i=0;i<args;i++)    push_svalue(base_sp + i);    f_aggregate(args + 3);    f_aggregate(1);    f_add(2);    }       if(sp[-1].type!=T_ARRAY)    fatal("Error failed to generate a backtrace!\n");       ERROR_STRUCT(generic,o)->backtrace=sp[-1].u.array;