pike.git / src / error.c

version» Context lines:

pike.git/src/error.c:14:   #include "array.h"   #include "object.h"   #include "main.h"   #include "builtin_functions.h"   #include "backend.h"   #include "operators.h"   #include "module_support.h"   #include "threads.h"   #include "gc.h"    - RCSID("$Id: error.c,v 1.63 2000/09/01 18:41:27 grubba Exp $"); + RCSID("$Id: error.c,v 1.64 2000/12/01 01:14:56 hubbe Exp $");      #undef ATTRIBUTE   #define ATTRIBUTE(X)      /*    * Backtrace handling.    */      struct pike_backtrace   {
pike.git/src/error.c:305:    longjmp(Pike_interpreter.recoveries->recovery,1);   }      PMOD_EXPORT void push_error(char *description)   {    push_text(description);    f_backtrace(0);    f_aggregate(2);   }    - struct svalue throw_value = { PIKE_T_INT }; + PMOD_EXPORT struct svalue throw_value = { PIKE_T_INT };   int throw_severity;   static const char *in_error;      PMOD_EXPORT DECLSPEC(noreturn) void low_error(char *buf) ATTRIBUTE((noreturn))   {    push_error(buf);    free_svalue(& throw_value);    throw_value = *--Pike_sp;    throw_severity = THROW_ERROR;    in_error=0;