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.55 2010/02/19 10:15:49 srb Exp $ + || $Id: pike_error.h,v 1.56 2010/09/27 17:05:57 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:224:    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 { \ -  X.func(X.arg); \ +     UNSET_ONERROR(X); \ -  +  X.func(X.arg); \    }while(0)      #if defined(PIKE_DEBUG) && 0   /* Works, but probably not interresting for most people    * /grubba 1998-04-11    */   #define PIKE_ERROR(NAME, TEXT, SP, ARGS) new_error(NAME, TEXT, SP, ARGS, __FILE__, __LINE__)   #else   #define PIKE_ERROR(NAME, TEXT, SP, ARGS) new_error(NAME, TEXT, SP, ARGS, NULL, 0)   #endif /* PIKE_DEBUG */