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.53 2009/07/22 12:46:43 grubba Exp $ + || $Id: pike_error.h,v 1.54 2009/08/07 14:05:59 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:210:    Pike_fatal(msg_assert_onerr, \    __FILE__, __LINE__, &(X)); \    } \    }while(0)   #else /* !PIKE_DEBUG */   #define SET_ONERROR(X,Y,Z) \    do{ \    X.func=(error_call)(Y); \    X.arg=(void *)(Z); \    X.frame_pointer = Pike_interpreter.frame_pointer; \ -  if(!Pike_interpreter.recoveries) break; \ +  if(!Pike_interpreter.recoveries) { \ +  X.previous = NULL; \ +  break; \ +  } \    X.previous=Pike_interpreter.recoveries->onerror; \    Pike_interpreter.recoveries->onerror=&X; \    }while(0)      #define UNSET_ONERROR(X) Pike_interpreter.recoveries && (Pike_interpreter.recoveries->onerror=X.previous)      #define ASSERT_ONERROR(X)   #endif /* PIKE_DEBUG */      #define CALL_AND_UNSET_ONERROR(X) do { \