pike.git / src / error.h

version» Context lines:

pike.git/src/error.h:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: error.h,v 1.19 1998/07/12 23:41:52 grubba Exp $ +  * $Id: error.h,v 1.20 1998/07/16 20:42:21 grubba Exp $    */   #ifndef ERROR_H   #define ERROR_H      #include "machine.h"      #ifdef HAVE_SETJMP_H   #include <setjmp.h>   #undef HAVE_SETJMP_H   #endif
pike.git/src/error.h:77:    }while(0)      #define UNSET_ONERROR(X) do {\    if(!recoveries) break; \    if(recoveries->onerror != &(X)) { \    if (recoveries->onerror) { \    fatal("UNSET_ONERROR out of sync.\n" \    "Last SET_ONERROR is from %s:%d\n", \    recoveries->onerror->file, recoveries->onerror->line ); \    } else { \ -  fatal("UNSET_ONERROR out of sync.\n"); \ +  fatal("UNSET_ONERROR out of sync. No recoveries left.\n"); \    } \    } \    recoveries->onerror=(X).previous; \    } while(0)   #else   #define SET_ONERROR(X,Y,Z) \    do{ \    if(!recoveries) break; \    X.func=(error_call)(Y); \    X.arg=(void *)(Z); \