pike.git / src / pike_error.h

version» Context lines:

pike.git/src/pike_error.h: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: pike_error.h,v 1.52 2008/12/29 10:55:20 grubba Exp $ + || $Id: pike_error.h,v 1.53 2009/07/22 12:46:43 grubba Exp $   */      #ifndef PIKE_ERROR_H   #define PIKE_ERROR_H      #ifdef CONFIGURE_TEST      #include <stdio.h>      static inline void Pike_fatal (const char *fmt, ...)
pike.git/src/pike_error.h:163:   #ifdef PIKE_DEBUG   #define SET_ONERROR(X,Y,Z) \    do{ \    check_recovery_context(); \    OED_FPRINTF((stderr, "SET_ONERROR(%p, %p, %p) %s:%d\n", \    &(X), (Y), (void *)(Z), __FILE__, __LINE__)); \    X.frame_pointer = Pike_interpreter.frame_pointer; \    X.func=(error_call)(Y); \    DO_IF_DMALLOC( if( X.func == free ) X.func=dmalloc_free); \    X.arg=(void *)(Z); \ -  if(!Pike_interpreter.recoveries) break; \ +  if(!Pike_interpreter.recoveries) { \ +  X.previous = NULL; \ +  break; \ +  } \    X.previous=Pike_interpreter.recoveries->onerror; \    X.file = __FILE__; \    X.line = __LINE__; \    Pike_interpreter.recoveries->onerror=&X; \    }while(0)      PMOD_EXPORT extern const char msg_last_setjmp[];   PMOD_EXPORT extern const char msg_unset_onerr_nosync_1[];   PMOD_EXPORT extern const char msg_unset_onerr_nosync_2[];   #define UNSET_ONERROR(X) do { \